(function(){window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)};window._hjSettings=window._hjSettings||{};hj.defaults={host:"insights.hotjar.com",staticHost:"static.hotjar.com",varsHost:"vars.hotjar.com"};hj.host=_hjSettings.host||hj.defaults.host;hj.staticHost=_hjSettings.staticHost||hj.defaults.staticHost;hj.varsHost=_hjSettings.varsHost||hj.defaults.varsHost;hj.exceptions=function(){function l(){var h=setInterval(function(){if("undefined"!==typeof StackTrace)clearInterval(h), b="loaded",a();else if("loading"!=b){b="loading";var f=document.createElement("script");f.src=c;document.getElementsByTagName("head")[0].appendChild(f)}},10)}function a(h){h&&k.length",url:location.href,useragent:navigator.userAgent};StackTrace.fromError(h, {offline:!0}).then(function(c){var k=a.module;hj.hq.each(c,function(a,h){f+=h.source+"\n";k+=h.functionName});b.errorgroup=hj.md5(k,!0);b.errormessagegroup=hj.md5(h.message?h.message.toString().replace(/\s/g,""):"",!0);b.stacktrace=f;h.cause&&(b.cause=h.cause);g(b)})}function g(a){var h="undefined"!==typeof hj.log?hj.log.debug:function(){},f;h("Exception occurred","Exception",a);try{f={"http:":12080,"https:":12443}[location.protocol],hj.hq.ajax({url:"//graylog.hotjar.com:"+f+"/gelf",type:"POST", data:hj.json.stringify(a)})}catch(b){h("Failed to log exception: "+b,"Exception")}}var h={},c="https://"+hj.staticHost+"/static/vendor/stacktrace.js/1.0.1/stacktrace-with-polyfills.min.js",b="unloaded",k=[],f=10,p=0,q=1E3,n=!1;h.tryCatch=function(a,f){return function(){try{return a.apply(this,arguments)}catch(b){h.log(b,f||"Generic")}}};hj.tryCatch=h.tryCatch;h.log=function(h,f){var c={module:f||"",exception:h};"loaded"==b?a(c):(k.push(c),"unloaded"==b&&l())};h.getQueue=function(){return k};h.getStacktraceJSisLoaded= function(){return"loaded"==b};h.testWithStackTrace=function(){try{"test".push([])}catch(a){hj.exceptions.log(a,"exceptions")}};h.testThrottlingWithStackTrace=function(){for(var a=0;5>a;a++)h.testWithStackTrace()};h.testCallbackWrapper=function(){setTimeout(hj.tryCatch(h.testWithStackTrace,"Exceptions"),1E3)};return h}()})(); try{(function(l,a){var d=function(a){return new g(a)};d.isValidSelector=function(a){try{return hj.hq(a),!0}catch(c){return!1}};d.isEmptyObject=function(a){return Object.keys(a).length?!1:!0};d.isFunction=function(a){return"function"===typeof a};d.isWindow=function(a){return a===window};d.isDocument=function(a){return a===window.document};d.noop=function(){};d.each=function(a,c){var b,k;if("object"===typeof a&&"[object Array]"!==Object.prototype.toString.call(a))if((k=a[Object.keys(a)[0]])&&void 0!== k.nodeName)for(b in a){if(a.hasOwnProperty(b)&&"length"!==b&&!1===c(b,a[b],a))break}else for(b in a){if(a.hasOwnProperty(b)&&!1===c(b,a[b],a))break}else if("undefined"!==typeof a)for(b=0;bc.status?d.isFunction(a.success)&&a.success(c.responseText&&hj.json.parse(c.responseText),c):d.isFunction(a.error)&&a.error(c)};c.onerror=function(){d.isFunction(a.error)&&a.error(c)};d.isFunction(a.requestAnnotator)&&a.requestAnnotator(c);"POST"=== a.type&&a.data?c.send(a.data):c.send()};d.get=function(a,c){var b=new XMLHttpRequest;b.open("GET",a,!0);b.onload=function(){200<=b.status&&400>b.status&&c&&c(b.responseText)};b.send()};d.eventHandlers={};d.selector="";var g=function(h){var c;d.selector=h;if(d.isWindow(h))this[0]=window,this.length=1;else if(d.isDocument(h))this[0]=a,this.length=1;else if("object"===typeof h)this[0]=h,this.length=1;else if("string"===typeof h&&"<"===h.charAt(0)&&">"===h.charAt(h.length-1)&&3<=h.length)c=a.createElement("div"), c.innerHTML=h,this[0]=c.childNodes[0],this.length=1;else if("string"===typeof h){if(!isNaN(h.charAt(1))&&("."===h.charAt(0)||"#"===h.charAt(0)))h=h.charAt(0)+"\\3"+h.charAt(1)+" "+h.slice(2);try{c=a.querySelectorAll(h)}catch(b){return this.length=0,this}for(h=0;h=this[0].offsetWidth&&0>=this[0].offsetHeight);if(":hidden"===a)return 0>= this[0].offsetWidth&&0>=this[0].offsetHeight;if(":checked"===a)return this[0].checked;if(-1>>0};a.prototype.nodeId=function(f){var b=f[a.ID_PROP];b||(b=f[a.ID_PROP]=a.nextId_++);return b};a.prototype.set=function(a,f){var b=this.nodeId(a);this.nodes[b]=a;this.values[b]=f};a.prototype.get=function(a){a=this.nodeId(a);return this.values[a]};a.prototype.has=function(a){return this.nodeId(a)in this.nodes};a.prototype.deleteNode=function(a){a=this.nodeId(a); delete this.nodes[a];this.values[a]=void 0};a.prototype.keys=function(){var a=[],f;for(f in this.nodes)this.isIndex(f)&&a.push(this.nodes[f]);return a};a.ID_PROP="__hj_mutation_summary_node_map_id__";a.nextId_=1;return a}(),g;(function(a){a[a.STAYED_OUT=0]="STAYED_OUT";a[a.ENTERED=1]="ENTERED";a[a.STAYED_IN=2]="STAYED_IN";a[a.REPARENTED=3]="REPARENTED";a[a.REORDERED=4]="REORDERED";a[a.EXITED=5]="EXITED"})(g||(g={}));var h=function(){function a(f,b,c,k,d,n,m,p){"undefined"===typeof b&&(b=!1);"undefined"=== typeof c&&(c=!1);"undefined"===typeof k&&(k=!1);"undefined"===typeof d&&(d=null);"undefined"===typeof n&&(n=!1);"undefined"===typeof m&&(m=null);"undefined"===typeof p&&(p=null);this.node=f;this.childList=b;this.attributes=c;this.characterData=k;this.oldParentNode=d;this.added=n;this.attributeOldValues=m;this.characterDataOldValue=p;this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument}a.prototype.getAttributeOldValue= function(a){if(this.attributeOldValues)return this.isCaseInsensitive&&(a=a.toLowerCase()),this.attributeOldValues[a]};a.prototype.getAttributeNamesMutated=function(){var a=[];if(!this.attributeOldValues)return a;for(var f in this.attributeOldValues)a.push(f);return a};a.prototype.attributeMutated=function(a,f){this.attributes=!0;this.attributeOldValues=this.attributeOldValues||{};a in this.attributeOldValues||(this.attributeOldValues[a]=f)};a.prototype.characterDataMutated=function(a){this.characterData|| (this.characterData=!0,this.characterDataOldValue=a)};a.prototype.removedFromParent=function(a){this.childList=!0;this.added||this.oldParentNode?this.added=!1:this.oldParentNode=a};a.prototype.insertedIntoParent=function(){this.added=this.childList=!0};a.prototype.getOldParent=function(){if(this.childList){if(this.oldParentNode)return this.oldParentNode;if(this.added)return null}return this.node.parentNode};return a}(),c=function(){return function(){this.added=new d;this.removed=new d;this.maybeMoved= new d;this.oldPrevious=new d;this.moved=void 0}}(),b=function(a){function f(b,c){a.call(this);this.rootNode=b;this.wasReachableCache=this.reachableCache=void 0;this.anyCharacterDataChanged=this.anyAttributesChanged=this.anyParentsChanged=!1;for(var k=0;kscreen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.height,screen.width];"undefined"!== typeof d&&a.push(d);screen.availWidth&&screen.availHeight&&(g=this.options.detectScreenOrientation?screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:[screen.availHeight,screen.availWidth]);"undefined"!==typeof g&&a.push(g);return a},timezoneOffsetKey:function(a){a.push((new Date(1979,3,13)).getTimezoneOffset());return a},sessionStorageKey:function(a){this.hasSessionStorage()&&a.push("sessionStorageKey");return a},localStorageKey:function(a){this.hasLocalStorage()&& a.push("localStorageKey");return a},indexedDbKey:function(a){this.hasIndexedDB()&&a.push("indexedDbKey");return a},addBehaviorKey:function(a){document.body&&document.body.addBehavior&&a.push("addBehaviorKey");return a},openDatabaseKey:function(a){window.openDatabase&&a.push("openDatabase");return a},cpuClassKey:function(a){a.push(this.getNavigatorCpuClass());return a},platformKey:function(a){a.push(this.getNavigatorPlatform());return a},doNotTrackKey:function(a){a.push(this.getDoNotTrack());return a}, adBlockKey:function(a){a.push(this.getAdBlock());return a},hasLiedLanguagesKey:function(a){a.push(this.getHasLiedLanguages());return a},hasLiedResolutionKey:function(a){a.push(this.getHasLiedResolution());return a},hasLiedOsKey:function(a){a.push(this.getHasLiedOs());return a},hasLiedBrowserKey:function(a){a.push(this.getHasLiedBrowser());return a},pluginsKey:function(a){this.isIE()||a.push(this.getRegularPluginsString());return a},getRegularPluginsString:function(){var a=[];if("undefined"===typeof navigator.plugins)return"no-plugins"; for(var d=0,g=navigator.plugins.length;dc.name?1:a.name>>16,a[0]&65535,a[1]>>>16,a[1]&65535];d=[d[0]>>>16,d[0]&65535,d[1]>>>16,d[1]&65535];var g=[0,0,0,0];g[3]+=a[3]+d[3];g[2]+=g[3]>>>16;g[3]&=65535;g[2]+=a[2]+d[2];g[1]+=g[2]>>>16;g[2]&= 65535;g[1]+=a[1]+d[1];g[0]+=g[1]>>>16;g[1]&=65535;g[0]+=a[0]+d[0];g[0]&=65535;return[g[0]<<16|g[1],g[2]<<16|g[3]]},x64Multiply:function(a,d){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]&65535];d=[d[0]>>>16,d[0]&65535,d[1]>>>16,d[1]&65535];var g=[0,0,0,0];g[3]+=a[3]*d[3];g[2]+=g[3]>>>16;g[3]&=65535;g[2]+=a[2]*d[3];g[1]+=g[2]>>>16;g[2]&=65535;g[2]+=a[3]*d[2];g[1]+=g[2]>>>16;g[2]&=65535;g[1]+=a[1]*d[3];g[0]+=g[1]>>>16;g[1]&=65535;g[1]+=a[2]*d[2];g[0]+=g[1]>>>16;g[1]&=65535;g[1]+=a[3]*d[1];g[0]+=g[1]>>>16; g[1]&=65535;g[0]+=a[0]*d[3]+a[1]*d[2]+a[2]*d[1]+a[3]*d[0];g[0]&=65535;return[g[0]<<16|g[1],g[2]<<16|g[3]]},x64Rotl:function(a,d){d%=64;if(32===d)return[a[1],a[0]];if(32>d)return[a[0]<>>32-d,a[1]<>>32-d];d-=32;return[a[1]<>>32-d,a[0]<>>32-d]},x64LeftShift:function(a,d){d%=64;return 0===d?a:32>d?[a[0]<>>32-d,a[1]<>>1]);a=this.x64Multiply(a,[4283543511, 3981806797]);a=this.x64Xor(a,[0,a[0]>>>1]);a=this.x64Multiply(a,[3301882366,444984403]);return a=this.x64Xor(a,[0,a[0]>>>1])},x64hash128:function(a,d){a=a||"";d=d||0;for(var g=a.length%16,h=a.length-g,c=[0,d],b=[0,d],k=[0,0],f=[0,0],p=[2277735313,289559509],q=[1291169091,658871167],n=0;n>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+ ("00000000"+(b[0]>>>0).toString(16)).slice(-8)+("00000000"+(b[1]>>>0).toString(16)).slice(-8)}};hj.fingerprinter.VERSION="0.7.1";return hj.fingerprinter},"fingerprinter")(); hj.tryCatch(function(l,a,d){hj.deviceDetection={getDevice:d(l,a)}}("categorizr",this,function(l,a){function d(){for(var a=g.length;a--;)k["is"+g[a]]=b(g[a].toLowerCase())}var g=["Tv","Desktop","Tablet","Mobile"],h=function(a){return a.match(/GoogleTV|SmartTV|Internet.TV|NetCast|NETTV|AppleTV|boxee|Kylo|Roku|DLNADOC|CE\-HTML/i)?"tv":a.match(/Xbox|PLAYSTATION.3|Wii/i)?"tv":a.match(/iPad/i)||a.match(/tablet/i)&&!a.match(/RX-34/i)||a.match(/FOLIO/i)?"tablet":a.match(/Linux/i)&&a.match(/Android/i)&&!a.match(/Fennec|mobi|HTC.Magic|HTCX06HT|Nexus.One|SC-02B|fone.945/i)? "tablet":a.match(/Kindle/i)||a.match(/Mac.OS/i)&&a.match(/Silk/i)?"tablet":a.match(/GT-P10|SC-01C|SHW-M180S|SGH-T849|SCH-I800|SHW-M180L|SPH-P100|SGH-I987|zt180|HTC(.Flyer|\_Flyer)|Sprint.ATP51|ViewPad7|pandigital(sprnova|nova)|Ideos.S7|Dell.Streak.7|Advent.Vega|A101IT|A70BHT|MID7015|Next2|nook/i)||a.match(/MB511/i)&&a.match(/RUTEM/i)?"tablet":a.match(/BOLT|Fennec|Iris|Maemo|Minimo|Mobi|mowser|NetFront|Novarra|Prism|RX-34|Skyfire|Tear|XV6875|XV6975|Google.Wireless.Transcoder/i)?"mobile":a.match(/Opera/i)&& a.match(/Windows.NT.5/i)&&a.match(/HTC|Xda|Mini|Vario|SAMSUNG\-GT\-i8000|SAMSUNG\-SGH\-i9/i)?"mobile":a.match(/Windows.(NT|XP|ME|9)/)&&!a.match(/Phone/i)||a.match(/Win(9|.9|NT)/i)?"desktop":a.match(/Macintosh|PowerPC/i)&&!a.match(/Silk/i)?"desktop":a.match(/Linux/i)&&a.match(/X11/i)?"desktop":a.match(/Solaris|SunOS|BSD/i)?"desktop":a.match(/Bot|Crawler|Spider|Yahoo|ia_archiver|Covario-IDS|findlinks|DataparkSearch|larbin|Mediapartners-Google|NG-Search|Snappy|Teoma|Jeeves|TinEye/i)&&!a.match(/Mobile/i)? "desktop":"mobile"},c=h(a.navigator?a.navigator.userAgent:a.request?a.request.headers["user-agent"]:"No User-Agent Provided"),b=function(a){return c===a},k=function(){var a=[].slice.call(arguments,0);2===a.length&&c===a[0]?(c=a[1],d()):1===a.length&&"string"===typeof a[0]&&(c=a[0],d());return c};k.is=b;k.test=h;d();return k}),"device-detection"); hj.tryCatch(function(){function l(b,f){var p=b[0],q=b[1],n=b[2],m=b[3],p=d(p,q,n,m,f[0],7,-680876936),m=d(m,p,q,n,f[1],12,-389564586),n=d(n,m,p,q,f[2],17,606105819),q=d(q,n,m,p,f[3],22,-1044525330),p=d(p,q,n,m,f[4],7,-176418897),m=d(m,p,q,n,f[5],12,1200080426),n=d(n,m,p,q,f[6],17,-1473231341),q=d(q,n,m,p,f[7],22,-45705983),p=d(p,q,n,m,f[8],7,1770035416),m=d(m,p,q,n,f[9],12,-1958414417),n=d(n,m,p,q,f[10],17,-42063),q=d(q,n,m,p,f[11],22,-1990404162),p=d(p,q,n,m,f[12],7,1804603682),m=d(m,p,q,n,f[13], 12,-40341101),n=d(n,m,p,q,f[14],17,-1502002290),q=d(q,n,m,p,f[15],22,1236535329),p=g(p,q,n,m,f[1],5,-165796510),m=g(m,p,q,n,f[6],9,-1069501632),n=g(n,m,p,q,f[11],14,643717713),q=g(q,n,m,p,f[0],20,-373897302),p=g(p,q,n,m,f[5],5,-701558691),m=g(m,p,q,n,f[10],9,38016083),n=g(n,m,p,q,f[15],14,-660478335),q=g(q,n,m,p,f[4],20,-405537848),p=g(p,q,n,m,f[9],5,568446438),m=g(m,p,q,n,f[14],9,-1019803690),n=g(n,m,p,q,f[3],14,-187363961),q=g(q,n,m,p,f[8],20,1163531501),p=g(p,q,n,m,f[13],5,-1444681467),m=g(m,p, q,n,f[2],9,-51403784),n=g(n,m,p,q,f[7],14,1735328473),q=g(q,n,m,p,f[12],20,-1926607734),p=a(q^n^m,p,q,f[5],4,-378558),m=a(p^q^n,m,p,f[8],11,-2022574463),n=a(m^p^q,n,m,f[11],16,1839030562),q=a(n^m^p,q,n,f[14],23,-35309556),p=a(q^n^m,p,q,f[1],4,-1530992060),m=a(p^q^n,m,p,f[4],11,1272893353),n=a(m^p^q,n,m,f[7],16,-155497632),q=a(n^m^p,q,n,f[10],23,-1094730640),p=a(q^n^m,p,q,f[13],4,681279174),m=a(p^q^n,m,p,f[0],11,-358537222),n=a(m^p^q,n,m,f[3],16,-722521979),q=a(n^m^p,q,n,f[6],23,76029189),p=a(q^n^ m,p,q,f[9],4,-640364487),m=a(p^q^n,m,p,f[12],11,-421815835),n=a(m^p^q,n,m,f[15],16,530742520),q=a(n^m^p,q,n,f[2],23,-995338651),p=h(p,q,n,m,f[0],6,-198630844),m=h(m,p,q,n,f[7],10,1126891415),n=h(n,m,p,q,f[14],15,-1416354905),q=h(q,n,m,p,f[5],21,-57434055),p=h(p,q,n,m,f[12],6,1700485571),m=h(m,p,q,n,f[3],10,-1894986606),n=h(n,m,p,q,f[10],15,-1051523),q=h(q,n,m,p,f[1],21,-2054922799),p=h(p,q,n,m,f[8],6,1873313359),m=h(m,p,q,n,f[15],10,-30611744),n=h(n,m,p,q,f[6],15,-1560198380),q=h(q,n,m,p,f[13],21, 1309151649),p=h(p,q,n,m,f[4],6,-145523070),m=h(m,p,q,n,f[11],10,-1120210379),n=h(n,m,p,q,f[2],15,718787259),q=h(q,n,m,p,f[9],21,-343485551);b[0]=c(p,b[0]);b[1]=c(q,b[1]);b[2]=c(n,b[2]);b[3]=c(m,b[3])}function a(a,b,d,g,n,m){b=c(c(b,a),c(g,m));return c(b<>>32-n,d)}function d(b,f,c,d,n,m,g){return a(f&c|~f&d,b,f,n,m,g)}function g(b,f,c,d,n,m,g){return a(f&d|c&~d,b,f,n,m,g)}function h(b,f,c,d,n,m,g){return a(c^(f|~d),b,f,n,m,g)}function c(a,b){return a+b&4294967295}if("undefined"!==typeof hj.scriptLoaded)window.console= window.console||{warn:function(){}},console.warn("Hotjar Tracking Warning: Multiple Hotjar tracking codes were detected on this page. Tracking will not work as expected."),hj.verifyInstall&&hj.notification.show("Hotjar installation invalid.","It appears you have more than one Hotjar tracking code set up on this page. Hotjar cannot work properly if multiple Hotjar scripts are loaded concurrently. Please make sure you only install the one tracking code provided for this site.","bad");else{window.hj= window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)};window.hj.q=window.hj.q||[];hj.hostname=hj.host.split(":")[0];hj.secure="https:"==location.protocol;hj.port=hj.host.split(":")[1]||(hj.secure?"443":"80");hj.apiUrlBase=location.protocol+"//"+hj.host+"/api/v1";hj.includedInSample=!1;hj.isPreview=Boolean(_hjSettings.preview);hj.placeholderPolyfill=!1!==_hjSettings.hjPlaceholderPolyfill;hj.settings={};hj.userDeviceType=null;hj.optOut=!1;hj.windowSize=null;hj.scriptVersion=16041304; hj.currentDeferredPageContentId=null;hj.locationListener=function(){var a={},b="manual",c;a.setMode=hj.tryCatch(function(a){b=a;c&&clearInterval(c);"automatic_with_fragments"===b?c=setInterval(function(){var a=location.origin+location.pathname+location.search+location.hash;hj.currentUrl&&hj.currentUrl!=a&&hj._init.reinit(a)},200):"automatic"===b&&(c=setInterval(function(){var a=location.origin+location.pathname+location.search;hj.currentUrl&&hj.currentUrl!=a.split("#")[0]&&hj._init.reinit(a)},200))}); return a}();var b="0123456789abcdef".split("");hj.md5=function(a,f){var c="";try{var d=a,n=d.length,m=[1732584193,-271733879,-1732584194,271733878],g;for(g=64;g<=d.length;g+=64){for(var h=m,w=d.substring(g-64,g),u=[],t=void 0,t=0;64>t;t+=4)u[t>>2]=w.charCodeAt(t)+(w.charCodeAt(t+1)<<8)+(w.charCodeAt(t+2)<<16)+(w.charCodeAt(t+3)<<24);l(h,u)}d=d.substring(g-64);h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(g=0;g>2]|=d.charCodeAt(g)<<(g%4<<3);h[g>>2]|=128<<(g%4<<3);if(55g;g++)h[g]=0}h[14]=8*n;l(m,h);for(d=0;dw;w++)h+=b[v>>8*w+4&15]+b[v>>8*w&15];n[g]=h}c=m.join("")}catch(x){f?c="":hj.exceptions.log(x,"md5")}return c};"5d41402abc4b2a76b9719d911017c592"!=hj.md5("hello")&&(c=function(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535});hj.time=function(){var a={},b=(new Date).getTime();a.reset=function(){b=(new Date).getTime()};a.getNow=function(){return(new Date).getTime()-b};return a}();hj.debug= function(){return{on:function(a){_hjSettings.hjdebug=!0;a&&hj.cookie.set("hjDebug",!0)},off:function(){_hjSettings.hjdebug=!1;hj.cookie.set("hjDebug",!1)},emit:function(a,b){"undefined"!==typeof _hjEmitters&&_hjEmitters.includes&&_hjEmitters.includes(a)&&window.postMessage({data:b,message:"hjDebug",type:a},"*")}}}();hj.url=function(){var a={};a.getParameter=hj.tryCatch(function(a){var b,c=[];for(a=RegExp("[^?&]?"+a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]")+"=([^&]+)","g");b=a.exec(location.search);)c.push(hj.url.tryDecodeURIComponent(b[1])); switch(c.length){case 0:return"";case 1:return c[0];default:return c}},"common");a.tryDecodeURIComponent=hj.tryCatch(function(a){try{return decodeURIComponent(a)}catch(b){return a}},"common");a.getUrlFromString=hj.tryCatch(function(a){a=a||window.location.href;a.startsWith("http")||(a.startsWith("/")||(a="/"+a),a=location.protocol+"//"+location.hostname+(""!=location.port?":"+location.port:"")+a);return a},"common");return a}();hj.cookie=function(){var a={};a.get=hj.tryCatch(function(a){return(a= RegExp("(?:^|; )"+a+"=([^;]*)").exec(document.cookie))?a[1]:null},"common");a.set=hj.tryCatch(function(a,b,c){var d=new Date,k=c||365;a=a+"="+b+"; path=/; ";0!==c&&(d.setTime(d.getTime()+864E5*k),a+="expires="+d.toUTCString());document.cookie=a},"common");a.add=hj.tryCatch(function(a,b){var c=hj.cookie.get(a),c=c?c.split(","):[];hj.hq.inArray(b.toString(),c)||(c.push(b),hj.cookie.set(a,c.join(",")))},"common");a.find=hj.tryCatch(function(a,b){var c=hj.cookie.get(a),d,c=c?c.split(","):[];for(d=0;d< c.length;d++)if(b.toString()===c[d])return!0;return!1},"common");return a}();hj.json=function(){var a={};a.parse=hj.tryCatch(function(a){return(JSON.parse||JSON.decode)(a)},"common");a.tryParse=function(b,c){var d=!0;try{var n=a.parse(b);c&&c(n)}catch(m){d=!1}return d};a.stringify=hj.tryCatch(function(a,b,c){var d,m,k;if(void 0!==a)return d=Array.prototype.toJSON,delete Array.prototype.toJSON,m=JSON.stringify||JSON.encode,k='"\u2028"'===m("\u2028")?function(a,b,c){return m(a,b,c).replace(/\u2028|\u2029/g, function(a){return"\\u202"+("\u2028"===a?"8":"9")})}:m,a=k(a,b,c),d&&(Array.prototype.toJSON=d),a},"common");return a}();hj.log=function(){var a={},b=!1,c="",d={init:"#6600cc",recording:"#c00000",heatmap:"#c00000",forms:"#c00000",tester:"#009900",survey:"#009900",poll:"#009900",events:"#ffc000",event:"#ffc000",property:"#ff33cc",deferredpagecontent:"#7c7c7c",websocket:"#0dc0ff",data:"#009bd2",command:"#0079a4",pagevisit:"#00668a",dataqueue:"#00445c",targeting:"#00ee00",rendering:"#bd00ea"};a.init= function(){"undefined"===typeof window.console&&(window.console={debug:function(){},trace:function(){},log:function(){},info:function(){},warn:function(){},error:function(){}})};a.debug=function(g,m,h){var l=!m?"#333":d[m.toLowerCase()]||"#333";c!=g&&b&&(console.groupEnd(),b=!1);c=g;_hjSettings.hjdebug&&("object"===typeof g?hj.hq.each(g,function(b,c){a.debug(b+": "+c,m,null)}):(g=m&&"string"===typeof g?m.toUpperCase()+": "+g:g,g="%c"+(new Date).toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")+ ":%c "+g,h?(b||(console.groupCollapsed(g+":","color: #999;","color: "+l+";"),b=!0),console.log(h)):console.log(g,"color: #999;","color: "+l+";")))};a.info=function(a){console.log("%c"+a,"color: #006EFF")};a.warn=function(a){console.log("%c"+a,"color: #E8910C")};a.error=function(a){console.error("Hotjar error: "+a)};return a}();hj.loader=function(){var a={},b=[];a.getModules=hj.tryCatch(function(){return b},"common");a.registerModule=hj.tryCatch(function(a,c,d){b.push({name:a,module:c,nonTracking:"undefined"!== typeof d?d:!1})},"common");a.loadScripts=hj.tryCatch(function(a,b){function c(d){f+=1;hj.log.debug("Script loaded: "+f+" ("+d+")");f===a.length&&hj.tryCatch(b,"URL")()}var f=0,d={},k;0===a.length&&hj.tryCatch(b,"URL")();for(k=0;k()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(a)},"common");a.deviceType=hj.tryCatch(function(){hj.userDeviceType||(hj.userDeviceType=hj.deviceDetection.getDevice(),"mobile"===hj.userDeviceType&&(hj.userDeviceType="phone"));return hj.userDeviceType},"common");return a}();hj.rendering=function(){function a(b, c){hj.tryCatch(c,"Rendering")(b)}function b(a,c){setTimeout(function(){hj.tryCatch(c,"Rendering")(a)},1E3*a.display_delay)}function c(a,b,d){function f(){hj.tryCatch(b,"Rendering")(a);k.off("mousemove."+d);k.off("mouseout."+d)}var k=hj.hq(document),g=hj.hq(window),m=[];l.push(d);k.off("mousemove."+d);k.off("mouseout."+d);k.on("mousemove."+d,hj.tryCatch(function(a){m.push({x:a.clientX,y:a.clientY});2=a.y)&&(a.x===b.x&&f(),b=(a.y-b.y)/(a.x-b.x),a=a.y-b*a.x,a=-a/b,0$1');c=c.replace(/(^|[^\/])(www\.[\S]+(\b|$))/gim,'$1$2');d[f]=c}}}var m={},h={},l=[];m.clearAllAbandonEvents=hj.tryCatch(function(){l.forEach(function(a){hj.log.debug("Removing abandon events for "+ a,"rendering");hj.hq(document).off("mousemove."+a);hj.hq(document).off("mouseout."+a)});l=[]},"common");m.renderTemplate=hj.tryCatch(function(a,b){var c=h[a];c||(c="var pieces=[],print=function(){pieces.push.apply(pieces,arguments);};with(obj){pieces.push('"+a.replace(/[\r\t\n]/g," ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g,"',$1,'").split("<%").join("');").split("%>").join("pieces.push('")+"');}return pieces.join('');",c=new Function("obj", c),h[a]=c);g(b);return c(b)},"common");m.addToDom=hj.tryCatch(function(a,b){hj.hq("#"+a).remove();hj.hq("body").append(b);return hj.hq("#"+a+">div")},"common");m.TrustedString=function(a){this.value=a};m.callAccordingToCondition=hj.tryCatch(function(g,m,h){var n={immediate:a,delay:b,abandon:c,scroll:d}[g.display_condition];hj.log.debug("Calling active item ("+m+"): "+g.display_condition,"rendering");if(n){var l=!0;"undefined"!==typeof g.targeting_percentage&&!hj.isPreview&&(l=(new hj.fingerprinter).compareRatio(g.targeting_percentage, !0));l&&hj.tryCatch(n,"Rendering")(g,h,m)}else throw Error('Unhandled display condition: "'+g.display_condition+'"');},"common");m.escapeHtml=function(a){var b={"&":"&","<":"<",">":">",'"':""","'":"'"};return String(a).replace(/[&<>"']/g,function(a){return b[a]})};return m}();hj.survey=hj.tryCatch(function(){return{ctrl:void 0,data:void 0,model:{},activeLanguageDirection:"ltr"}},"common")();hj.ui=function(){var a={};a.getWindowSize=hj.tryCatch(function(){return{width:window.innerWidth|| document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}},"common");a.getScrollPosition=hj.tryCatch(function(){return{left:hj.hq(window).scrollLeft(),top:hj.hq(window).scrollTop()}},"common");a.getBottomAsPercentage=hj.tryCatch(function(){return parseInt(1E3*(hj.hq(window).scrollTop()+hj.ui.getWindowSize().height)/hj.hq(document).height(),10)},"common");a.disableScrolling=hj.tryCatch(function(a){var b= hj.ui.getScrollPosition();hj.hq(document).on("scroll.disableScrolling resize.disableScrolling mousewheel.disableScrolling DOMMouseScroll.disableScrolling touchmove.disableScrolling",hj.tryCatch(function(c){c.preventDefault();window.scrollTo(b.left,b.top);a&&a()},"common"))},"common");a.enableScrolling=hj.tryCatch(function(){hj.hq(document).off("scroll.disableScrolling");hj.hq(document).off("resize.disableScrolling");hj.hq(document).off("mousewheel.disableScrolling");hj.hq(document).off("DOMMouseScroll.disableScrolling"); hj.hq(document).off("touchmove.disableScrolling")},"common");return a}();hj.dom=function(){return{getCSSURLs:function(){var a=[],b=document.styleSheets;hj.log.debug("Getting CSS","dpc","Starting");b&&0\n"},"common");return b}();hj.features=function(){var a={};a.getFeatures=hj.tryCatch(function(){return hjSiteSettings.features||[]},"hj.features.getFeatures");a.haveFeature=hj.tryCatch(function(b){return 0<=a.getFeatures().indexOf(b)},"hj.features.haveFeature");return a}()}},"common")(); hj.tryCatch(function(){hj.xcom=hj.tryCatch(function(){var l={},a=[],d=1,g=location.protocol+"//"+hj.host+"/x",h,c=hj.tryCatch(function(){if(1==d){window.addEventListener?window.addEventListener("message",b,!1):window.attachEvent("onmessage",b);d=2;var a=document.createElement("iframe");a.style.position="fixed";a.style.top=-100;a.style.left=-100;a.width=1;a.height=1;a.id="_hjXcomProxyFrame";a.src=g;document.body.appendChild(a);h=document.getElementById("_hjXcomProxyFrame")}},"data");l.send=hj.tryCatch(function(b, f){10==d?h.contentWindow.postMessage({eventId:b,data:f},"*"):(a.push({eventId:b,data:f}),c())});var b=function(b){"knockknock"==b.data.eventId&&(d=10,a.forEach(function(a){l.send(a.eventId,a.data)}),a=[])};return l},"xcom")()},"xcom")(); hj.tryCatch(function(){var l=new hj.fingerprinter;hj.pageVisit=hj.tryCatch(function(){var a,d={},g={},h=!1,c=!1,b=!1;d.setup=hj.tryCatch(function(a){var b=hj.ui.getWindowSize();h=!1;g={window_width:b.width,window_height:b.height,included_in_sample:hj.includedInSample,url:a||document.location.href,fingerprint:l.get()};hj.debug.emit("pageVisit",a||document.location.href);d.property=hj.property.create();hj.eventStream.expectEvents(d.property)},"data");d.requirePageVisitId=hj.tryCatch(function(){!b&& !d.property.get("pageInfo")&&(hj.log.debug("Page Visit ID is required. ","pageVisit"),b=!0,(h||!hj.includedInSample||hj.optOut)&&a())},"data");d.track=hj.tryCatch(function(b){b&&(g.url=b);hj.log.debug("Tracking "+g.url,"pageVisit");c=!0;a()},"data");a=hj.tryCatch(function(){h=!0;if((b||c)&&!hj.isPreview){var a={};Object.keys(g).forEach(function(b){a[b]=g[b]});a.insert_page_visit=b;a.insert_traffic_log_entry=c;hj.log.debug("Sending visit-data request. (Insert Page Visit: "+a.insert_page_visit+" / Insert Traffic Log Entry: "+ a.insert_traffic_log_entry+")","pageVisit",a);var f=d.property;hj.ajax.post(hj.apiUrlBase+"/client/sites/"+hj.settings.site_id+"/visit-data?sv="+(_hjSettings.hjsv||0),a,hj.tryCatch(function(b){b.success&&(b.user_id&&f.set("userId",b.user_id),a.insert_page_visit&&f.set("pageInfo",{pageId:b.page_id,pageVisitId:b.page_visit_id}))},"data"));c=b=!1}},"data");return d},"data")();hj.request=hj.tryCatch(function(){var a={};a.saveFeedbackResponse=hj.tryCatch(function(a){var g=hj.widget.feedbackData.id;hj.pageVisit.requirePageVisitId(); hj.pageVisit.property.ready("pageInfo",function(h){a.action="feedback_widget_response";a.page_visit_id=h.get("pageInfo").pageVisitId;hj.ajax.post(hj.apiUrlBase+"/client/sites/"+hj.settings.site_id+"/feedback/"+g,a)})},"data");a.savePollResponse=hj.tryCatch(function(a,g){var h=hj.widget.pollData.id;hj.pageVisit.requirePageVisitId();hj.pageVisit.property.ready("pageInfo",function(c){a.page_visit_id=c.get("pageInfo").pageVisitId;hj.ajax.post(hj.apiUrlBase+"/client/sites/"+hj.settings.site_id+"/polls/"+ h,a,function(a){a.success&&a.poll_response_id&&hj.tryCatch(g,"Data")(a)})})},"data");a.saveTesterResponse=hj.tryCatch(function(a){var g=hj.widget.testersData.id;hj.pageVisit.requirePageVisitId();hj.pageVisit.property.ready("pageInfo",function(h){a.page_visit_id=h.get("pageInfo").pageVisitId;hj.ajax.post(hj.apiUrlBase+"/client/sites/"+hj.settings.site_id+"/testers/"+g,a)})},"data");return a},"data")();hj.webSocket=hj.tryCatch(function(){var a,d,g,h,c,b={},k=!1,f=!1,p=!1,q=void 0,n=void 0,m=!1,r=null, s="";b.connect=hj.tryCatch(function(){!k&&!f&&(s=(hj.secure?"wss://":"ws://")+g()+"/api/v1/client/ws",h())},"data");b.disconnect=hj.tryCatch(function(){k&&(hj.log.debug("Disconnecting Web Socket.","websocket"),hj.eventStream.flush(),f=k=!1,p=!0,r.close())},"data");b.isConnected=hj.tryCatch(function(){if(k){if(!n||6E5>=(new Date).getTime()-n)return!0;sessionStorage.removeItem("_hjRecordingEnabled");b.close()}return!1},"data");b.send=hj.tryCatch(function(a){n=(new Date).getTime();hj.log.debug("Sending data to Web Socket", "websocket",a);r.send(a)},"data");b.close=hj.tryCatch(function(){hj.log.debug("Closing Web Socket.","websocket");r.close()},"data");h=hj.tryCatch(function(){p?(hj.log.debug("Unload event triggered, don't reconnect"),!1===m&&(m=!0,setTimeout(function(){m=p=!1},1E3))):(f=!0,hj.log.debug("Connecting to Web Socket ["+s+"]","websocket"),r=new WebSocket(s),r.onopen=a,r.onclose=d,window.addEventListener("beforeunload",hj.tryCatch(b.disconnect,"Data"),!1))},"data");c=hj.tryCatch(function(){k&&(hj.log.debug("Pinging Web Socket.", "websocket"),r.send("ping"))},"data");a=hj.tryCatch(function(){hj.log.debug("Web Socket opened.","websocket");q=setInterval(c,3E4);k=!0;f=!1;hj.eventStream.flush()},"data");d=hj.tryCatch(function(a){hj.log.debug("Web Socket closed.","websocket");a.wasClean||hj.log.warn("Websocket close was unclean: "+a.code);k&&(clearInterval(q),k=!1)},"data");g=hj.tryCatch(function(){var a;return hj.host===hj.defaults.host?(a=parseInt(l.get().slice(-10),16)%4+1,"ws"+a+".hotjar.com"):hj.host},"data");return b},"data")(); hj.ajax=function(){var a={};a.get=hj.tryCatch(function(a,g,h){g=g||hj.hq.noop;if("XDomainRequest"in window&&null!==window.XDomainRequest&&10>hj.utils.ieVersion()){var c=new XDomainRequest;c._hjDontCapture=!1===h;c.open("get",a);c.onprogress=function(){};c.onload=function(){hj.tryCatch(g,"Data")(c.responseText&&hj.json.parse(c.responseText))};c.send()}else hj.hq.ajax({url:a,success:hj.tryCatch(g,"Data"),requestAnnotator:function(a){a._hjDontCapture=!1===h}})},"data");a.post=hj.tryCatch(function(a, g,h,c){h=h||hj.hq.noop;if("XDomainRequest"in window&&null!==window.XDomainRequest&&10>hj.utils.ieVersion()){var b=new XDomainRequest;b._hjDontCapture=!1===c;b.open("post",a);b.onprogress=function(){};b.onload=function(){hj.tryCatch(h,"Data")(b.responseText&&hj.json.parse(b.responseText))};b.send(hj.json.stringify(g))}else h=h||hj.hq.noop,hj.hq.ajax({url:a,type:"POST",data:hj.json.stringify(g),contentType:"application/json",success:hj.tryCatch(h,"Data"),requestAnnotator:hj.tryCatch(function(a){a._hjDontCapture= !1===c},"Data")})},"data");return a}();hj.eventStream=hj.tryCatch(function(){var a,d,g,h,c={},b=[],k="",f="",p={},l=void 0;c.expectEvents=hj.tryCatch(function(d){f!=d.key&&(f=d.key,a());d.ready("userId",function(a){k=a.get("userId");c.flush()});d.ready("pageInfo",function(a){var b=a.get("pageInfo").pageVisitId;p[a.key]=b;c.flush()});d.ready("pageContentId",function(a){b.push({pageVisitKey:a.key,report_content:{page_content_id:a.get("pageContentId")}});c.flush()})},"data");c.write=hj.tryCatch(function(a, d,f){var g;if(hj.isPreview)return c;hj.webSocket.connect();if("object"===typeof a)return hj.hq.each(a,function(a,b){c.write(a,b,!0)}),c;g=b.pop();f?g[a]=d:(g[a]=g[a]||[],g[a].push(d));b.push(g);return c},"data");c.flush=hj.tryCatch(function(){var b,f;l&&clearInterval(l);if(hj.webSocket.isConnected()&&""!=k){b=d();f=b.length;if(0 #'+d+", #"+d+' * { font-family: "Open Sans", Helvetica, Arial, sans-serif, Tahoma !important; } #'+d+" { transition-duration: .3s; opacity: 0; transform: scale(.9); } #"+ d+"."+d+"_active { opacity: 1; transform: scale(1); } #"+d+" { background: #263345; border-radius: 2px; position: fixed; z-index: 2147483646; top: 20px; left: 20px; width: 400px; padding: 25px; -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); } #"+ d+" ."+d+"_status { float: left; margin: 0 20px 0 0; border-radius: 50%; width: 50px; height: 50px; -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); } #"+ d+" ."+d+"_status_good { background: url(//<%= hjStaticHost %>/static/client/modules/assets/checkmark@2x.png) no-repeat 52% 53% #3ACC40; background-size: 25px 18px; } #"+d+" ."+d+"_status_bad { background: url(//<%= hjStaticHost %>/static/client/modules/assets/attention@2x.png) no-repeat center center #EA4031; background-size: 6px 30px; } #"+ d+" ."+d+"_status { float: left; } #"+d+" ."+d+"_content { float: left; color: #dedede; font-size: 13px; width: 78%; min-height: 50px; vertical-align: middle; } #"+ d+" ."+d+"_title { color: white; font-size: 16px; font-weight: bold; margin: 0 0 4px 0; display: inline-block } ."+d+"_close { position: absolute; top: 15px; right: 15px; font-size: 22px; color: white; cursor: pointer; line-height: 11px; } _hj-f5b2a1eb-9b07_clear { clear: both; } ", h='
×
<% if (status) { %>
">
<% } %>
<% if (title) { %> <%= title %> <% } %> <% if (message) { %>
<%= message %> <% } %>
'; a.show=function(a,b,k){a=hj.rendering.renderTemplate(g+h,{title:a,message:b,status:k||"good",hjStaticHost:new hj.rendering.TrustedString(hj.staticHost)});hj.rendering.addToDom(d,a);hj.hq("."+d+"_close").on("click",l);setTimeout(function(){hj.hq("#"+d).addClass(d+"_active")},1)};return a}()},"notifications")(); hj.tryCatch(function(){function l(a,g){var h=/(#|@|&|~|=|>|`|'|:|"|!|;|,|\?|\%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,c=g.ignoreUUIDClasses?/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/:{test:function(){return!1}},b=hj.tryCatch(function(a){var b=void 0===a.attr("data-hj-ignore-attributes"),c,d,g,h;g=function(a,b){d=hj.hq(b);for(c=0;c"+d+b)},"common"),f=function(a){var b=[];a=hj.hq.trim((a||"").replace(/\s\s+/g, " "));if("undefined"===typeof a||""===a||-1c&&(c=a,hj.eventStream.write("scroll_reach",{max_bottom:c},!0))}},"behavior-data.scrollReach.send");return a},"behavior-data.scrollReach")();r=hj.tryCatch(function(){var b={},c=!1,d=!1;b.listen=hj.tryCatch(function(){c||(hj.log.debug("Setting up scroll listeners.","events"),hj.hq(window).on("scroll",b.update),setInterval(b.send,100),0!==hj.ui.getScrollPosition().top&&b.update(), c=!0)},"behavior-data.scroll.listen");b.update=hj.tryCatch(function(){d=!0},"behavior-data.scroll.update");b.send=hj.tryCatch(function(){a&&d&&(hj.eventStream.write("scroll",{time:hj.time.getNow(),y:hj.ui.getScrollPosition().top}),d=!1)},"behavior-data.scroll.send");return b},"behavior-data.scroll")();u=hj.tryCatch(function(){var b={},c=!1,d;b.listen=hj.tryCatch(function(){c||(hj.log.debug("Setting up screen size change listeners.","events"),d=hj.ui.getWindowSize(),setInterval(b.checkResize,1E3), b.checkResize(),c=!0)},"behavior-data.viewportResize.listen");b.checkResize=hj.tryCatch(function(){var a=hj.ui.getWindowSize();if(a.width!==d.width||a.height!==d.height)d=a,b.send()},"behavior-data.viewportResize.checkResize");b.send=hj.tryCatch(function(){a&&hj.eventStream.write("viewport_resize",{time:hj.time.getNow(),w:d.width,h:d.height}).flush()},"behavior-data.viewportResize.send");return b},"behavior-data.viewportResize")();h=hj.tryCatch(function(){var b={},c=!1,d=!1,f=!1,g=[];b.listen=hj.tryCatch(function(){c|| (hj.log.debug("Setting up key press listeners.","events"),hj.hq(document).on("input","input",b.update),hj.hq(document).on("blur","input",b.send),hj.hq(document).on("input","textarea",b.update),hj.hq(document).on("blur","textarea",b.send),c=!0)},"behavior-data.keyPress.listen");b.update=hj.tryCatch(function(a){a=hj.hq(a.target);var b=a.val();f|=!1===hj.settings.recording_capture_keystrokes;f|=a.is("input[type=password]");f|=!isNaN(parseInt(b,10))&&12hj.utils.ieVersion()))&&(hj.hq.each(hj.hq("[data-hj-ignore-attributes]"),function(a,b){hj.hq(b).find("*").attr("data-hj-ignore-attributes","")}),hj.hq.each(hj.settings.heatmaps||[],function(a,c){hj.targeting.onMatch(c.targeting,function(){h.setup(c)},b)}),c.active=!1,hj.settings.record&&!(11>hj.utils.ieVersion())))if(a=sessionStorage.getItem("_hjRecordingEnabled")? !0:!1,hj.log.debug("_hjRecordingEnabled is set to "+a,"recordings"),a||"undefined"===typeof hj.settings.record_targeting_rules||!hj.settings.record_targeting_rules.length)c.start();else hj.targeting.onMatch(hj.settings.record_targeting_rules,function(){c.start()},b)},"behavior-data.run");hj.disableHeatmap=g.disableHeatmap;return l}(),!1)},"behavior-data")(); hj.tryCatch(function(){hj.widget=function(){var l={},a="collapsed",d=["ar","fa","he"],g,h=[],c=!1;l.ctrl=void 0;l.data=void 0;l.model={};l.activeLanguageDirection="ltr";l.widgetAttributePrefix="_hj-f5b2a1eb-9b07";l.ctaLinks={feedback:"https://incoming.hotjar.com/signup?utm_source=client&utm_medium=incoming_feedback&utm_campaign=insights",polls:"https://www.hotjar.com/?utm_source=client&utm_medium=poll&utm_campaign=insights",surveys:"https://www.hotjar.com/?utm_source=client&utm_medium=survey&utm_campaign=insights", testers:"https://www.hotjar.com/?utm_source=client&utm_medium=recruiter&utm_campaign=insights"};l.setActiveWidget=function(a){!l.activeWidget||a.type!=l.activeWidget.type||a.id!=l.activeWidget.id?l.removeActiveWidget(function(){a.runCallback();l.activeWidget=a}):a&&(a.runCallback(),l.activeWidget=a)};l.removeActiveWidget=function(a){a=a||function(){};l.activeWidget?(l.activeWidget.removeCallback(a),delete l.activeWidget):a()};l._=function(a){if(!g)throw Error("No active language has been set yet."); return g[a]};l.emptyMatchingWidgets=function(){h=[];hj.rendering.clearAllAbandonEvents();c=!1};l.addMatchingWidget=function(a,d,f,g,l){c?g():h.push({type:a,id:d,created:f,runCallback:g,removeCallback:l})};l.runLatestMatchingWidget=function(){var a;h.forEach(function(c){if(!a||a.createda.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);c=c||0;var d="#",g,h;for(h=0;3>h;h++)g=parseInt(a.substr(2*h,2),16),g=Math.round(Math.min(Math.max(0,g+255*c),255)).toString(16),d+=("00"+g).substr(g.length);return d},"common");l.disableSubmit=hj.tryCatch(function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").addClass("_hj-f5b2a1eb-9b07_btn_disabled")},"common");l.dismissWidget=hj.tryCatch(function(){hj.widget.setDone();hj.widget.ctrl.hide()},"common");l.init=hj.tryCatch(function(){hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_action_toggle_widget").on("click", hj.widget.toggleWidget);hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_action_open_widget").on("click",{state:"open"},hj.widget.changeState);hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_action_dismiss_widget").on("click",hj.widget.dismissWidget)},"common");l.enableSubmit=hj.tryCatch(function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").removeClass("_hj-f5b2a1eb-9b07_btn_disabled")},"common");l.isVeryNarrowScreen=hj.tryCatch(function(){return 450>=hj.hq(window).width()},"common");l.isNarrowScreen= hj.tryCatch(function(){return 768>hj.hq(window).width()},"common");l.isShortScreen=hj.tryCatch(function(){return 400>hj.hq(window).height()},"common");l.commonCSS=' '; return l}()},"widgets")(); hj.tryCatch(function(){hj.loader.registerModule("Feedback",function(){function l(){var a,b={showMinimizedMessageTimer:function(){}},g={comment:null,emotion:null,email:null,page_content:null,selectors:"html",viewport:[]},f=hj.isPreview?0:200,h=hj.hq("#_hj-f5b2a1eb-9b07_feedback_minimized_message"),l=hj.hq("#_hj-f5b2a1eb-9b07_action_submit");a=hj.hq("#_hj-f5b2a1eb-9b07_action_skip");var n=hj.hq("#_hj-f5b2a1eb-9b07_feedback");b.goToState=hj.tryCatch(function(a,c){c=c||0;b.currentState=a;0===c?n.attr("data-state", a):setTimeout(function(){n.attr("data-state",a)},c);switch(a){case "minimized":hj.widget.disableFullScreen();hj.hq("#_hj-f5b2a1eb-9b07_feedback_open").removeClass("fade");b.resetScreenshotState();setTimeout(function(){b.resetWidget()},c);break;case "emotion":hj.widget.enableFullScreen();b.setViewportContent();hj.hq("#_hj-f5b2a1eb-9b07_feedback_open").addClass("fade");b.animateFaces();!hj.isPreview&&hj.widget.isPhoneOrTablet()&&b.showScreenshotLayer();break;case "comment":(hj.widget.isPhoneOrTablet()|| "phone"===hj.widget.feedbackData.previewDevice)&&hj.hq("body").addClass("_hj-f5b2a1eb-9b07_position_fixed");hj.hq("#_hj-f5b2a1eb-9b07_feedback_open").addClass("fade");hj.hq("[data-emotion-option]").addClass("emotion_small");!hj.isPreview&&"desktop"===hj.utils.deviceType()&&(hj.hq("#_hj-f5b2a1eb-9b07_emotion_comment").focus(),b.showScreenshotLayer());break;case "email":hj.hq("#_hj-f5b2a1eb-9b07_feedback_open").addClass("fade"),b.resetScreenshotState(),l.addClass("_hj-f5b2a1eb-9b07_btn_disabled"),hj.isPreview|| hj.hq("#_hj-f5b2a1eb-9b07_email").focus()}},"feedback");b.showScreenshotLayer=hj.tryCatch(function(){b.setScreenshotState("page");setTimeout(function(){hj.hq("#_hj-f5b2a1eb-9b07_feedback_select_hint").addClass("fade")},1E3)},"feedback");b.submitState=hj.tryCatch(function(a){a=a||b.currentState;switch(a){case "emotion":b.data.emotion=hj.hq("#_hj-f5b2a1eb-9b07_state-1").attr("data-chosen-emotion");b.canSendResponse=!0;b.setViewportContent();b.goToState("comment");break;case "comment":b.data.comment= hj.hq("#_hj-f5b2a1eb-9b07_emotion_comment").val();""===b.data.comment&&(b.data.comment=null);b.setViewportContent();!1===hj.widget.feedbackData.content.email?b.endIncomingFeedback(!0):b.goToState("email");break;case "email":b.validateCurrentState()&&(b.data.email=hj.hq('[data-bind="email"]').val(),b.endIncomingFeedback(!0))}},"feedback");b.skipCurrentState=hj.tryCatch(function(){"email"===b.currentState&&(b.data.email=null,b.endIncomingFeedback(!0))},"feedback");b.validateCurrentState=hj.tryCatch(function(){var a= !1,c=hj.hq('[data-bind="comment"]').val(),d=hj.hq('[data-bind="email"]').val();switch(b.currentState){case "comment":c&&(a=!0);break;case "email":d&&hj.utils.validateEmail(d)&&(a=!0)}return a},"feedback");b.startIncomingFeedback=hj.tryCatch(function(){var a=hj.widget.feedbackData.position,c=hj.cookie.get("_hjShownFeedbackMessage"),d=hj.isPreview?0:2E3;b.goToState("minimized");if(("bottom_left"===a||"bottom_right"===a)&&(!c||hj.isPreview))h.attr("data-message","initial"),b.showMinimizedMessageTimer= setTimeout(function(){b.setMinimizedMessageVisibility(!0);hj.isPreview||hj.cookie.set("_hjShownFeedbackMessage",!0,1)},d)},"feedback");b.endIncomingFeedback=hj.tryCatch(function(a){b.canSendResponse&&b.sendFeedbackResponse();b.goToState("minimized",f);a&&b.showThankYouMessage()},"feedback");b.sendFeedbackResponse=hj.tryCatch(function(){var a;a={response:{emotion:parseInt(b.data.emotion,10),message:b.data.comment,email:b.data.email}};null!==b.data.selectors&&(a.page_content=b.data.page_content,a.viewport= b.data.viewport,a.selectors=b.data.selectors);hj.isPreview||hj.request.saveFeedbackResponse(a)},"feedback");b.setViewportContent=hj.tryCatch(function(){var a=hj.hq("body").hasClass("_hj-f5b2a1eb-9b07_position_fixed"),c=hj.ui.getScrollPosition(),d=hj.ui.getWindowSize(),f=c.top,c=c.left,g=f+d.height,d=c+d.width;if(!a&&(b.data.viewport[0]!==f||b.data.viewport[1]!==c||b.data.viewport[2]!==g||b.data.viewport[3]!==d))b.data.page_content=hj.html.getPageContent("#_hj_feedback_container"),b.data.viewport= [f,c,g,d]},"feedback");b.setScreenshotState=hj.tryCatch(function(a){var c=hj.hq("#_hj-f5b2a1eb-9b07_feedback_page_highlight");if(!hj.isPreview)switch(n.attr("data-screenshot",a),a){case "false":b.data.selectors=null;c.addClass("_hj-f5b2a1eb-9b07_feedback_page_highlight_grey");hj.ui.enableScrolling();break;case "page":b.data.selectors=["html"];b.cancelElementHighlighting();c.removeClass("_hj-f5b2a1eb-9b07_feedback_page_highlight_grey");hj.ui.enableScrolling();break;case "element":b.data.selectors= ["html"];b.resetHighlight();b.enableElementHighlighting();hj.ui.enableScrolling();hj.hq("html").attr("data-hotjar-cursor-pointer","true");break;case "elementSelected":b.cancelElementHighlighting()}},"feedback");b.enableElementHighlighting=hj.tryCatch(function(){function a(c){var f=hj.hq(c)[0];d(c)&&b.highlightElement(f)}function c(a,d){b.data.selectors=[hj.selector().get(d)];b.setScreenshotState("elementSelected");hj.ui.disableScrolling(function(){b.highlightElement(hj.hq(a)[0])})}function d(a){return!hj.hq(a).hasClass("_hj-f5b2a1eb-9b07_feedback_selection_ignore")} var f=0,g=0;hj.hq("body *").on("mouseover.feedback",hj.tryCatch(function(b){b.stopPropagation();a(b.target);"desktop"===hj.utils.deviceType()&&(f=b.clientX,g=b.clientY)},"feedback"));hj.hq(document).on("scroll.feedback resize.feedback",hj.tryCatch(function(){a(document.elementFromPoint(f,g))},"feedback"));setTimeout(function(){hj.hq("body *").on("mousedown.feedback",hj.tryCatch(function(b){b.stopPropagation();b.preventDefault();d(b.target)&&(a(b.target),c(b.target,hj.hq(this)))},"feedback"))},0)}, "feedback");b.cancelElementHighlighting=hj.tryCatch(function(){hj.hq("body *").off("mouseover.feedback mousedown.feedback");hj.hq(document).off("scroll.feedback resize.feedback");hj.hq("html").removeAttr("data-hotjar-cursor-pointer")},"feedback");b.resetHighlight=hj.tryCatch(function(){var a=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_top"),b=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_right"),c=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_bottom"), d=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_left"),f=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_highlighter");hj.hq(a).removeAttr("style");hj.hq(b).removeAttr("style");hj.hq(c).removeAttr("style");hj.hq(d).removeAttr("style");hj.hq(f).removeAttr("style")});b.highlightElement=hj.tryCatch(function(a){var b=a.getBoundingClientRect();a=b.top;var c=b.left,d=b.width,b=b.height,f=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_top"),g=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_right"), h=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_bottom"),k=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_dimmer_left"),l=document.getElementById("_hj-f5b2a1eb-9b07_feedback_content_highlighter"),n=8,p=a-n,q=c-8,y=b+2*n,z=d+16;0>a&&(y=b+a+n,n=0,b+=a,p=a=1);f.style.top="0";f.style.right="0";f.style.left="0";f.style.height=Math.max(0,p)+"px";g.style.top=p+"px";g.style.right="0";g.style.left=q+z+"px";g.style.bottom="0";h.style.top=p+y+"px";h.style.width=Math.max(0,z)+ "px";h.style.left=q+"px";h.style.bottom="0";k.style.top=p+"px";k.style.width=Math.max(0,q)+"px";k.style.left="0";k.style.bottom="0";0>b?l.style.top="-400px":(l.style.top=a-2-n+"px",l.style.left=c-2-n+"px",l.style.width=d-4+16+"px",l.style.height=b-4+2*n+"px")},"feedback");b.showThankYouMessage=hj.tryCatch(function(){var a=hj.isPreview?0:500;hj.widget.feedbackData.content.thankyou&&(h.attr("data-message","thankyou"),b.setMinimizedMessageVisibility(!0),setTimeout(function(){b.wink()},a),hj.isPreview|| setTimeout(function(){b.setMinimizedMessageVisibility(!1)},5E3))},"feedback");b.setMinimizedMessageVisibility=hj.tryCatch(function(a){a?n.attr("data-show-message","true"):(clearTimeout(b.showMinimizedMessageTimer),n.removeAttr("data-show-message"))},"feedback");b.resetWidget=hj.tryCatch(function(){b.canSendResponse=!1;b.currentState=null;b.data=g;hj.widget.enableSubmit();hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_state-1").removeAttr("data-chosen-emotion");hj.hq("[data-emotion-option]").removeClass("fade").removeClass("fadeTransition").removeClass("emotion_small"); l.addClass("_hj-f5b2a1eb-9b07_btn_disabled");hj.widget.ctrl.find('[data-bind="comment"]').val("");hj.widget.ctrl.find('[data-bind="email"]').val("");hj.hq("body *").off("mouseover.feedback mousedown.feedback");hj.hq(document).off("scroll.feedback resize.feedback")},"feedback");b.resetScreenshotState=hj.tryCatch(function(){n.attr("data-screenshot","");setTimeout(function(){n.removeAttr("data-screenshot")},f);document.getElementById("_hj-f5b2a1eb-9b07_feedback_screenshot_checkbox").checked=!0;hj.hq("#_hj-f5b2a1eb-9b07_feedback_page_highlight").removeClass("_hj-f5b2a1eb-9b07_feedback_page_highlight_grey"); hj.hq("#_hj-f5b2a1eb-9b07_feedback_select_hint").removeClass("fade");hj.hq("html").removeAttr("data-hotjar-cursor-pointer");hj.ui.enableScrolling()},"feedback");b.animateFaces=hj.tryCatch(function(){var a=hj.hq("[data-emotion-option]");a.addClass("fadeTransition");setTimeout(function(){a.addClass("fade")},f);setTimeout(function(){a.removeClass("fadeTransition")},4*f)},"feedback");b.wink=hj.tryCatch(function(){var a=hj.hq("._hj-f5b2a1eb-9b07_hotjar_buddy");a.attr("data-face","wink");setTimeout(function(){a.attr("data-face", "happy")},800)},"feedback");hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_feedback_minimized_message_close").on("click",hj.tryCatch(function(a){a.stopPropagation();b.setMinimizedMessageVisibility(!1)},"feedback"));hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_hotjar_buddy, ._hj-f5b2a1eb-9b07_feedback_minimized_message, ._hj-f5b2a1eb-9b07_feedback_minimized_label").on("click",hj.tryCatch(function(){b.goToState("emotion");b.setMinimizedMessageVisibility(!1)},"feedback"));hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_feedback_open_close, #_hj-f5b2a1eb-9b07_feedback_open_close_phone").on("click", hj.tryCatch(function(){b.endIncomingFeedback()},"feedback"));hj.widget.ctrl.find('[data-bind="emotion"]').on("click",hj.tryCatch(function(){var a=hj.hq(this).attr("data-emotion-option");hj.hq("#_hj-f5b2a1eb-9b07_state-1").attr("data-chosen-emotion",a);b.submitState("emotion")},"feedback"));l.on("click",hj.tryCatch(function(){hj.hq(this).hasClass("_hj-f5b2a1eb-9b07_btn_disabled")||b.submitState()},"feedback"));a.on("click",hj.tryCatch(function(){b.skipCurrentState()},"feedback"));hj.widget.ctrl.find('[data-bind="email"]').on("keyup change", hj.tryCatch(function(a){b.validateCurrentState()?hj.widget.enableSubmit():hj.widget.disableSubmit();13===a.keyCode&&b.submitState()},"feedback"));hj.widget.ctrl.find('[data-bind="comment"]').on("keyup change",hj.tryCatch(function(){b.validateCurrentState()?hj.widget.enableSubmit():hj.widget.disableSubmit()},"feedback"));hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_feedback_screenshot_checkbox").on("change",hj.tryCatch(function(){hj.hq(this).is(":checked")?b.setScreenshotState("page"):b.setScreenshotState("false")}, "feedback"));hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_feedback_select_hint, #_hj-f5b2a1eb-9b07_feedback_content_highlighter").on("click",hj.tryCatch(function(){b.setScreenshotState("element")},"feedback"));hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_feedback_top_message_select_close span").on("click",hj.tryCatch(function(a){a.stopPropagation();b.setScreenshotState("page")},"feedback"));a=hj.widget.feedbackData.activeStepInPreview;hj.isPreview&&(b.resetWidget(),hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_transition").addClass("_hj-f5b2a1eb-9b07_transition_duration_0"), "initial"===a||!a?b.startIncomingFeedback():"thankYou"===a?b.endIncomingFeedback(!0):"email"===a&&!1===hj.widget.feedbackData.content.email?b.goToState("emotion"):b.goToState(a));hj.hq(window).on("resize",function(){hj.tryCatch(d(),"feedback")});hj.tryCatch(d(),"feedback");hj.isPreview||b.startIncomingFeedback()}function a(){var a=100', hj.widget.commonCSS,'
\x3c!-- Minimized State --\x3e
<%=hj.widget._("feedback")%>
<%= feedback.content.initial %> <%= feedback.content.thankyou %>
\x3c!-- Opened State --\x3e
\x3c!-- STEP 1: EMOTION --\x3e

<%= feedback.content.emotion %>

<%=hj.widget._("hate")%>
<%=hj.widget._("dislike")%>
<%=hj.widget._("neutral")%>
<%=hj.widget._("like")%>
<%=hj.widget._("love")%>
\x3c!-- STEP 2: EMAIL --\x3e

<%= feedback.content.email %>

\x3c!-- FOOTER --\x3e
\x3c!-- PAGE HIGHLIGHTER --\x3e
<%=hj.widget._("select_the_area")%>
\x3c!-- SELECT AN ELEMENT HINT --\x3e

<%=hj.widget._("highlight_element")%>

<%=hj.widget._("highlight_element")%>
\x3c!-- DIMMERS (OVERLAY) + ELEMENT HIGHLIGHTER --\x3e
'].join(""); g.run=hj.tryCatch(function(c){11>hj.utils.ieVersion()||hj.hq.each(hj.settings.feedback_widgets||[],function(b,d){hj.targeting.onMatch(d.targeting,hj.tryCatch(function(){hj.log.debug("Feedback widget #"+d.id+" has matched.","feedback");hj.widget.data&&!(hj.widget.data.id===d.id&&"incoming"===hj.widget.data.type)?hj.log.debug("Another feedback widget is already present.","feedback"):hj.widget.addMatchingWidget("incoming",d.id,0,function(){hj.widget.feedbackData=d;hj.rendering.callAccordingToCondition(hj.widget.feedbackData, "feedback",hj.tryCatch(a,"feedback"))},g.remove)}),c)})},"feedback");g.remove=hj.tryCatch(function(a){hj.widget.feedbackData?(0=h)h=0;else if(8>=h)h=1;else if(10>=h)h=2;else throw Error("Got unexpected NPS answer: "+a);b.push({question:d(c.text),answer:a,comment:null});break;case "single-open-ended-multiple-line":case "single-open-ended-single-line":a= g.find("input[name=_hj-f5b2a1eb-9b07_question_"+hj.widget.currentQuestionIndex+"_answer]").val();h=null;void 0===a&&(a=g.find("textarea[name=_hj-f5b2a1eb-9b07_question_"+hj.widget.currentQuestionIndex+"_answer]").val()||"");b.push({question:d(c.text),answer:a,comment:null});break;default:throw Error("Unhandled question type: "+c.type);}a="undefined"===typeof k[f]?{action:"create_poll_response",utk:hj.cookie.get("hubspotutk"),response_content:hj.json.stringify({version:4,answers:b}),poll_index:f}: {action:"update_poll_response",utk:hj.cookie.get("hubspotutk"),response_content:hj.json.stringify({version:4,answers:b}),poll_response_id:k[f]};b&&(hj.isPreview||(hj.request.savePollResponse(a,function(a){k[a.poll_index]=a.poll_response_id}),hj.widget.setDone()),hj.widget.goToNextQuestion(h))}},"polls");hj.widget.goToNextQuestion=hj.tryCatch(function(a){var b=hj.widget.pollData.content.questions[hj.widget.currentQuestionIndex],c=hj.hq(hj.hq("#_hj-f5b2a1eb-9b07_question_content_"+hj.widget.currentQuestionIndex)[0]); switch(b.type){case "single-close-ended":case "multiple-close-ended":c.find("._hj-f5b2a1eb-9b07_button_radio_checkbox_active").removeClass("_hj-f5b2a1eb-9b07_button_radio_checkbox_active");c.find("._hj-f5b2a1eb-9b07_with_comment").find("textarea").val("");break;case "net-promoter-score":c.find("._hj-f5b2a1eb-9b07_button_score_active").removeClass("_hj-f5b2a1eb-9b07_button_score_active");break;case "single-open-ended-multiple-line":case "single-open-ended-single-line":c.find("[name=_hj-f5b2a1eb-9b07_question_"+ hj.widget.currentQuestionIndex+"_answer]").val("");break;default:throw Error("Unhandled question type: "+b.type);}if("thankYou"===b.next)hj.widget.goToQuestion("thankYou");else if("byAnswer"===b.next)hj.widget.goToQuestion(b.nextByAnswer[a]);else if(0==b.next.indexOf("question:"))hj.widget.goToQuestion(b.next);else if("byOrder"===b.next||"undefined"===typeof b.next)hj.widget.goToQuestion("byOrder");else throw Error("Unknown question.next value: "+b.next);},"polls");hj.widget.goToQuestion=hj.tryCatch(function(a){switch(a){case "thankYou":hj.widget.changeState(!1, "thankyou");return;case "byOrder":if(hj.widget.pollData.content.questions.length===hj.widget.currentQuestionIndex+1){hj.widget.changeState(!1,"thankyou");return}a=hj.widget.currentQuestionIndex+1;break;default:a="string"===typeof a&&-1!==a.indexOf(":")?parseInt(a.split(":")[1],10):a}hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_question_text_"+hj.widget.currentQuestionIndex).addClass("_hj-f5b2a1eb-9b07_hidden");hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_question_content_"+hj.widget.currentQuestionIndex).addClass("_hj-f5b2a1eb-9b07_hidden"); hj.widget.currentQuestionIndex=a;hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_question_text_"+hj.widget.currentQuestionIndex).removeClass("_hj-f5b2a1eb-9b07_hidden");hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_question_content_"+hj.widget.currentQuestionIndex).removeClass("_hj-f5b2a1eb-9b07_hidden");hj.widget.disableSubmit()},"polls");hj.widget.setDone=hj.tryCatch(function(){hj.isPreview||"always"!==hj.widget.pollData.persist_condition&&hj.cookie.add("_hjDonePolls",hj.widget.pollData.id)},"polls");hj.widget.setMinimized= hj.tryCatch(function(){hj.isPreview||hj.cookie.add("_hjMinimizedPolls",hj.widget.pollData.id)},"polls");hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_button_radio_checkbox textarea").on("click",hj.tryCatch(function(a){a.stopPropagation()},"polls"));hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_button_radio").on("click",hj.tryCatch(function(){var b=hj.hq(this),c=b.find("._hj-f5b2a1eb-9b07_input_field");hj.hq(hj.hq("#_hj-f5b2a1eb-9b07_question_content_"+hj.widget.currentQuestionIndex)[0]).find("._hj-f5b2a1eb-9b07_button_radio_checkbox").removeClass("_hj-f5b2a1eb-9b07_button_radio_checkbox_active"); b.addClass("_hj-f5b2a1eb-9b07_button_radio_checkbox_active");c.focus();setTimeout(function(){a()?hj.widget.enableSubmit():hj.widget.disableSubmit()},0)},"polls"));hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_button_checkbox").on("click",hj.tryCatch(function(){var b=hj.hq(this),c=b.find("._hj-f5b2a1eb-9b07_input_field");b.toggleClass("_hj-f5b2a1eb-9b07_button_radio_checkbox_active");c.focus();setTimeout(function(){a()?hj.widget.enableSubmit():hj.widget.disableSubmit()},0)},"polls"));hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_button_score").on("click", hj.tryCatch(function(){var a=hj.hq(this);hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_button_score").removeClass("_hj-f5b2a1eb-9b07_button_score_active");a.addClass("_hj-f5b2a1eb-9b07_button_score_active");hj.widget.enableSubmit()},"polls"));hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_input_field").on("keyup",hj.tryCatch(function(){var b=hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_question_content_"+hj.widget.currentQuestionIndex);("single-open-ended-multiple-line"===b.attr("_hj_question_type")||"single-open-ended-single-line"=== b.attr("_hj_question_type")?0"+a+"").text()}function g(a){hj.hq.each(a.content.questions,function(a,b){b.answers&&hj.hq.each(b.answers, function(a,b){b.index=a})})}function h(a){hj.hq.each(a.content.questions,function(a,b){b.randomize_answer_order&&hj.utils.shuffle(b.answers)})}var c={},b=[],k=[],f=0,p=['
',hj.widget.commonCSS,'

<% for (var q = 0; q < poll.questions.length; q++) { %> <%= poll.questions[q].text %> <% } %>

<% for (var q = 0; q < poll.questions.length; q++) { %>
<% if (poll.questions[q].type === "single-close-ended") { %>
<% for (var i = 0; i < poll.questions[q].answers.length; i++) { %>
<% if (poll.questions[q].answers.length > 1) { %> <%= poll.questions[q].answers[i].text %>
<% } %>
<% } %>
<% } else if (poll.questions[q].type === "multiple-close-ended") { %>
<% for (var i = 0; i < poll.questions[q].answers.length; i++) { %>
<% if (poll.questions[q].answers.length > 1) { %> <%= poll.questions[q].answers[i].text %>
<% } %>
<% } %>
<% } else if (poll.questions[q].type === "single-open-ended-single-line") { %>
" />
<% } else if (poll.questions[q].type === "single-open-ended-multiple-line") { %>
<% } else if (poll.questions[q].type === "net-promoter-score") { %>
    <% for (var i = 0; i < 11; i++) { %>
  • <%=i%>
  • <% } %>
<%= poll.questions[q].labels[0].text %>
<%= poll.questions[q].labels[1].text %>
<% } %>
<% } %>

<%= poll.thankyou %>

'].join(""); c.run=hj.tryCatch(function(b){hj.hq.each(hj.settings.polls||[],function(d,f){hj.targeting.onMatch(f.targeting,function(){hj.log.debug("Poll #"+f.id+" has matched.","poll");hj.cookie.find("_hjDonePolls",f.id)?hj.log.debug("Poll was already submitted.","poll"):hj.widget.addMatchingWidget("poll",f.id,f.created_epoch_time,function(){hj.tryCatch(g,"polls")(f);hj.tryCatch(h,"polls")(f);hj.widget.pollData=f;hj.tryCatch(hj.rendering.callAccordingToCondition,"polls")(hj.widget.pollData,"poll",a)},c.remove)}, b)})},"polls");c.remove=hj.tryCatch(function(a){hj.widget.pollData?(0hj.hq(window).width()?hj.survey.ctrl.addClass("_hj-f5b2a1eb-9b07_survey_full"):hj.survey.ctrl.removeClass("_hj-f5b2a1eb-9b07_survey_full")}var g={},h='
<%= survey.title %>
<%= survey.description %>
<%= survey.button %>
<% if (survey.effectiveShowBranding) { %>
Not using Hotjar yet?
<% } %>
'; g.run=hj.tryCatch(function(a){hj.hq.each(hj.settings.surveys||[],function(b,d){hj.targeting.onMatch(d.targeting,hj.tryCatch(function(){hj.log.debug("Survey #"+d.id+" has matched.","survey");hj.survey.data&&hj.survey.data.id!==d.id?hj.log.debug("Another survey is already present.","survey"):hj.cookie.find("_hjClosedSurveyInvites",d.id)?hj.log.debug("Survey was already viewed.","survey"):hj.widget.addMatchingWidget("survey",d.id,d.created_epoch_time,function(){hj.survey.data=d;hj.rendering.callAccordingToCondition(hj.survey.data, "survey",l)},g.remove)},"surveys"),a)})},"surveys");g.remove=hj.tryCatch(function(a){hj.survey.data?(0',hj.widget.commonCSS,'

<%= testersWidget.invitation %>

<%= testersWidget.description %>

<% if (testersWidget.fields.name) { %> " data-bind /> <% } %>
class="<%=p%>_double_control" <% } %>> <% if (testersWidget.fields.age) { %> " data-bind /> <% } %> <% if (testersWidget.fields.city) { %> " data-bind /> <% } %>
<% if (testersWidget.fields.email) { %> " data-bind /> <% } %> <% if (testersWidget.fields.phone) { %> " data-bind /> <% } %> <% if (testersWidget.fields.sex) { %>
<%= hj.widget._("male")%>
<%= hj.widget._("female")%>
<% } %>

<%= testersWidget.thankyou %>

'].join(""); d.run=hj.tryCatch(function(g){hj.hq.each(hj.settings.testers_widgets||[],function(c,b){hj.targeting.onMatch(b.targeting,function(){hj.log.debug("Tester #"+b.id+" has matched.","tester");hj.cookie.find("_hjDoneTestersWidgets",b.id)?hj.log.debug("Tester was already submitted.","tester"):hj.widget.addMatchingWidget("tester",b.id,b.created_epoch_time,function(){hj.widget.testersData=b;hj.tryCatch(hj.rendering.callAccordingToCondition,"testers")(hj.widget.testersData,"testersWidget",a)},d.remove)},g)})}, "testers");d.remove=hj.tryCatch(function(a){hj.widget.testersData?(hj.widget.ctrl.hide(),0parseInt(d);throw Error("Invalid selector_type: "+l.selector_type);},"forms"),f=hj.tryCatch(function(a){hj.log.debug("Saving forms using manual tracking: "+hj.json.stringify(a),"forms");sessionStorage.setItem("_hjFormsManualTracking",hj.json.stringify(a))}, "forms"),p=hj.tryCatch(function(){var a=hj.json.parse(sessionStorage.getItem("_hjFormsManualTracking"))||[];a.length&&hj.log.debug("Getting forms using manual tracking: "+hj.json.stringify(a),"forms");return a},"forms"),q=hj.tryCatch(function(a){hj.hq.inArray(a.id,g)||(g.push(a.id),hj.log.debug("Form using manual tracking added: form[id="+a.id+"]","forms"),f(g))},"forms"),n=hj.tryCatch(function(){hj.log.debug("Saving active form: form[id="+l.id+"]","forms");sessionStorage.setItem("_hjForm",hj.json.stringify(l))}, "forms"),m=hj.tryCatch(function(){return Boolean(sessionStorage.getItem("_hjForm"))},"forms"),r=hj.tryCatch(function(){var a=sessionStorage.getItem("_hjForm"),b;sessionStorage.removeItem("_hjForm");a=hj.json.parse(a);b=!k(a.selector,a.selector_type)&&hj.targeting.ruleMatches(a.targeting,document.referrer);s(a,b,!0)},"forms"),s=hj.tryCatch(function(a,b,c){c||q(l);if(!c||!hj.hq.inArray(a.id,g))hj.eventStream.write({form_id:a.id,form_event:b?"form_submit_successful":"form_submit_failed"}).flush()},"forms"), w=hj.tryCatch(function(){d=new Date},"forms"),u=hj.tryCatch(function(a,b){d&&(hj.eventStream.write({form_id:l.id,form_field_event:{form_field_id:b.id,interaction_time:new Date-d,content_hash:hj.md5(hj.hq(a).val())}}).flush(),d=null)},"forms"),t=hj.tryCatch(function(a,b){hj.eventStream.write({form_id:l.id,form_field_event:{form_field_id:b.id,interaction_time:null,content_hash:hj.md5(hj.hq(a).val())}}).flush()},"forms"),v=hj.tryCatch(function(a,b){var d=c(b),f=[],g;for(g=0;gh);k+=1)if(gb;++b){var c=a.trim(h[b]).match(/[^\.]+/i)[0];var d=a(this), k=c,c=f,d=g?d.data("events"):a._data(d[0]).events,k=d[k];g?c?d.live.unshift(d.live.pop()):k.unshift(k.pop()):(d=c?k.splice(k.delegateCount-1,1)[0]:k.pop(),k.splice(c?0:k.delegateCount||0,0,d))}})}function c(d){a.fn[d+"First"]=function(){var c=a.makeArray(arguments).shift();return c&&(a.fn[d].apply(this,arguments),b(this,c)),this}}var d=a.fn.jquery.split("."),f=parseInt(d[0]),d=parseInt(d[1]),g=1>f||1==f&&7>d;c("bind");c("one");a.fn.delegateFirst=function(){var c=a.makeArray(arguments),d=c[1];return d&& (c.splice(0,2),a.fn.delegate.apply(this,arguments),b(this,d,!0)),this};a.fn.liveFirst=function(){var b=a.makeArray(arguments);return b.unshift(this.selector),a.fn.delegateFirst.apply(a(document),b),this};g||(a.fn.onFirst=function(c,d){var f=a(this),g="string"==typeof d;if(a.fn.on.apply(f,arguments),"object"==typeof c)for(type in c)c.hasOwnProperty(type)&&b(f,type,g);else"string"==typeof c&&b(f,c,g);return f})}(jQuery),x(window.jQuery.fn.jquery,"1.7"))b.onFirst("submit",n);else x(window.jQuery.fn.jquery, "1.3")&&b.liveFirst("submit",n);else hj.hq(b).on("submit",n);else hj.log.debug('Could not find form with selector "'+l.selector+'".',"forms")},"forms");hj.forms=hj.tryCatch(function(){return{cmdFormSubmitSuccessful:function(){null!==l&&s(l,!0,!1)},cmdFormSubmitFailed:function(){null!==l&&s(l,!1,!1)}}},"forms")();a.run=hj.tryCatch(function(a){var c=m();if(hj.includedInSample&&(b(a),l||c))g=p(),hj.pageVisit.requirePageVisitId(),hj.eventStream.expectEvents(hj.pageVisit.property),hj.eventStream.write({form_id:l.id, form_event:"form_helo"}).flush(),c?r():l&&(h("focus",["*"],["checkbox","radio"],w),h("blur",["*"],["checkbox","radio"],u),h("change",["checkbox"],[],v),h("focus",["radio"],[],t),A())},"forms");return a}())},"forms")(); hj.tryCatch(function(){"undefined"===typeof hj.scriptLoaded&&(hj._init=hj.tryCatch(function(){var l={_determineIncludedInSample:function(){var a=new hj.fingerprinter,d=hj.url.getParameter("hjIncludeInSample"),g=hj.cookie.get("_hjIncludedInSample");if(g)hj.includedInSample="1"===g,hj.log.debug("User is included in sample","init");else switch(d){case "0":hj.includedInSample=!1;hj.log.debug("You have set includedInSample to false.","init");break;case "1":hj.includedInSample=!0;hj.cookie.set("_hjIncludedInSample", hj.includedInSample?"1":"0",0);hj.log.debug("You have set includedInSample to true.","init");break;default:hj.includedInSample=a.compareRatio(hj.settings.r||1),hj.includedInSample&&hj.cookie.set("_hjIncludedInSample","1",0),hj.log.debug("Included in sample: "+hj.includedInSample,"init",{r:hj.settings.r,fingerprintValue:a.getAsNumber()})}},_verifyInstallation:function(){var a=hj.url.getParameter("hjVerifyInstall"),d;try{d=sessionStorage.getItem("hjVerifyInstall")}catch(g){}if(a||d){hj.verifyInstall= parseInt(a||d);try{sessionStorage.setItem("hjVerifyInstall",a||d)}catch(h){}hj.includedInSample||hj.pageVisit.track();hj.verifyInstall===hjSiteSettings.site_id?(hj.notification.show("Hotjar installation verified.","The Hotjar tracking code has been properly installed on this page. Browse your site in this window if you wish to verify installation on any other pages.","good"),hj.xcom.send("scriptActive",[])):hj.notification.show("Hotjar installation invalid.","The tracking code you are trying to verify does not match the one installed on this page. Please make sure you install the correct tracking code provided for this site.", "bad")}}};l._browserIsSupported=hj.tryCatch(function(){return 9>hj.utils.ieVersion()?(hj.log.debug("IE < 9 is not supported.","init"),"1"===hj.url.getParameter("hjVerifyInstallation")&&hj.notification.show("Hotjar installation cannot be verified.","Sorry \u2013 your browser is not supported.","bad"),!1):!0},"init");l._checkDebug=hj.tryCatch(function(){var a=hj.url.getParameter("hjDebug");if(""!==a)if(!0==a)hj.debug.on(!0);else hj.debug.off();if("true"==hj.cookie.get("hjDebug"))hj.debug.on(!1)},"init"); l._canUseCookies=hj.tryCatch(function(){if(!navigator.cookieEnabled||!("cookie"in document))return!1;if(0hj.utils.ieVersion()&&hj.placeholderPolyfill&&d.push("https://"+hj.staticHost+"/static/vendor/placeholders/3.0.2/placeholders.min.js");hj.loader.loadScripts(d,hj.tryCatch(function(){l._runPage(a);l._verifyInstallation();hj.command.activate();"1"===hj.url.getParameter("hjIncludeInSample")&&hj.notification.show("Hotjar tracking active.", "Hotjar tracking is active for your session.","good")},"init.run"))})},"init");l.reinit=hj.tryCatch(function(a){hj.currentUrl=a;hj.disableHeatmap();hj.widget.emptyMatchingWidgets();l._runPage(a)},"init");l._runPage=hj.tryCatch(function(a){hj.pageVisit.setup(a);hj.hq.each(hj.loader.getModules(),function(d,g){if(!hj.optOut||g.nonTracking)hj.log.debug("Running module "+g.name,"init"),g.module.run(a)});hj.widget.runLatestMatchingWidget();hj.includedInSample&&!hj.optOut&&hj.pageVisit.track(a)},"init"); return l},"init")(),hj.hq(document).ready(function(){hj.log.debug("Document is ready. Initializing...","init");hj.scriptContextId=hj.utils.uuid4();hj._init.run(location.href)}))},"init")();