!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=170)}([,function(e,t,i){"use strict";function n(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:356;this.key=e,this.ttl=i,this.isSessionOnly=0===this.ttl,this.supportSubdomains=t&&!this.isSessionOnly}function o(e){n.call(this,e)}n.prototype.getKey=function(){return this.key},n.prototype.get=function(){var e=new RegExp("(?:^|; )"+this.key+"=([^;]*)").exec(document.cookie);return e=e?e[1]:null,this.isSessionOnly||(e=this.sync(e)),e},n.prototype.set=function(e,t){var i=new Date,n=this.key+"="+e+"; path=/; ";this.isSessionOnly||(i.setTime(i.getTime()+24*this.ttl*60*60*1e3),n+="expires="+i.toUTCString(),this.supportSubdomains&&(n+=";domain="+hj.url.getMidLevelDomain(window.location.hostname)+";"));document.cookie=n,!t&&d.canUseLocalStorage()&&(this.isSessionOnly||window.localStorage.setItem(this.key,e))},n.prototype.clear=function(){var e=new Date;e.setTime(e.getTime()-1),document.cookie=this.key+"=; path=/; expires="+e.toUTCString()+";",d.canUseLocalStorage()&&!this.isSessionOnly&&window.localStorage.removeItem(this.key)},n.prototype.sync=function(e){if(!d.canUseLocalStorage())return e;var t=window.localStorage.getItem(this.key),i=e;return e?window.localStorage.setItem(this.key,e):t&&!e&&(this.set(t,!0),i=t),i},o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.prototype.exists=function(e){var t=this.get();t=t?t.split(","):[];for(var i=0;i0||(d.items.COOKIE_TEST.set(1),document.cookie&&document.cookie.indexOf(d.items.COOKIE_TEST.getKey())>-1?(d.items.COOKIE_TEST.clear(),!0):void 0)))},"storage._cookieAvailabilityTest"),d={items:{COOKIE_TEST:new n("_hjCookieTest",!1,0),DEBUG_FLAG:new n("hjDebug",!1,0),INCLUDE_IN_SAMPLE:new n("_hjIncludedInSample",!1,0),FEEDBACK_SHOW_MESSAGE:new n("_hjShownFeedbackMessage",!1,1),USER_ATTRIBUTES_HASH:new n("_hjUserAttributesHash"),CACHED_USER_ATTRIBUTES:new n("_hjCachedUserAttributes",!1,0),POLL_DONE:new o("_hjDonePolls"),POLL_MINIMIZED:new o("_hjMinimizedPolls"),SESSION_TOO_LARGE:new n("_hjSessionTooLarge",!0,0),SURVEY_INVITES_CLOSED:new o("_hjClosedSurveyInvites"),HUBSPOT_UTK:new n("hubspotutk"),HJ_ID:new n("_hjid",!0),SESSION_RESUMED:new n("_hjSessionResumed",!0,0)},areCookiesSupported:function(){return a},setCookiesSupported:function(e){a=e},canUseCookies:function(){return null===this.areCookiesSupported()&&this.setCookiesSupported(c()),this.areCookiesSupported()},canUseLocalStorage:hj.tryCatch(function(){if(null!==r)return r;try{localStorage.setItem("_hjLocalStorageTest",1),localStorage.removeItem("_hjLocalStorageTest"),r=!0}catch(e){r=!1}return r},"storage.canUseLocalStorage"),canUseSessionStorage:hj.tryCatch(function(){if(null!==s)return s;try{sessionStorage.setItem("_hjSessionStorageTest",1),sessionStorage.removeItem("_hjSessionStorageTest"),s=!0}catch(e){s=!1}return s},"storage.canUseSessionStorage"),moveToSession:hj.tryCatch(function(e){if(localStorage.getItem(e.getKey())){var t=e.get();e.clear(),localStorage.removeItem(e.getKey()),e.set(t)}},"storage.moveToSession")};hj.storage=d},,function(e,t,i){"use strict";i.d(t,"a",function(){return s});var n=!1,o=!1,a=2,r=!1,s={isRecordingEnabled:function(){return n},setRecordingEnabled:function(e){n=e},isHeatmapEnabled:function(){return o},setHeatmapEnabled:function(e){o=e},getSelectorVersion:function(){return a},setSelectorVersion:function(e){a=e},isAnythingEnabled:function(){return this.isHeatmapEnabled()||this.isRecordingEnabled()},trackSessionResumed:function(){r=!0},isResumedSession:function(){return r}}},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var n={SINGLE_OPEN_ENDED_MULTI_LINE:"single-open-ended-multiple-line",SINGLE_OPEN_ENDED_SINGLE_LINE:"single-open-ended-single-line",EMAIL:"email",SINGLE_CLOSE_ENDED:"single-close-ended",MULTIPLE_CLOSE_ENDED:"multiple-close-ended",YES_NO:"yes-no",RATING_5:"rating-scale-5",RATING_7:"rating-scale-7",NPS:"net-promoter-score"}},function(e,t,i){"use strict";i.d(t,"c",function(){return n}),i.d(t,"d",function(){return o}),i.d(t,"g",function(){return a}),i.d(t,"i",function(){return r}),i.d(t,"a",function(){return s}),i.d(t,"b",function(){return c}),i.d(t,"e",function(){return d}),i.d(t,"h",function(){return l}),i.d(t,"f",function(){return p});var n=hj.tryCatch(function(e){var t=e||navigator.userAgent;return t.indexOf("MSIE ")>0?document.all&&!document.compatMode?5:document.all&&!window.XMLHttpRequest?6:document.all&&!document.querySelector?7:document.all&&!document.addEventListener?8:document.all&&!window.atob?9:10:-1!==t.indexOf("Trident/")?11:-1!==t.indexOf("Edge/")?12:"notIE"},"utils"),o=(hj.tryCatch(function(e){return(e=e||navigator.userAgent).indexOf("Firefox")>-1},"utils"),hj.tryCatch(function(e){return(e=e||navigator.userAgent).indexOf("Safari")>-1&&-1===e.indexOf("Chrome")},"utils")),a=hj.tryCatch(function(e){var t,i,n;for(t=e.length-1;t>0;t-=1)i=Math.floor(Math.random()*(t+1)),n=e[t],e[t]=e[i],e[i]=n;return e},"utils"),r=hj.tryCatch(function(e){return/^(([^<>()[\]\\.,;:\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(e)},"utils"),s=hj.tryCatch(function(){return hj.userDeviceType||(hj.userDeviceType=hj.deviceDetection.getDevice(),"mobile"===hj.userDeviceType&&(hj.userDeviceType="phone")),hj.userDeviceType},"utils"),c=hj.tryCatch(function(){if(!_hjSettings.wsHost){var e=hj.globals.get("userId");_hjSettings.wsHost="ws".concat(function(e){return parseInt(e.slice(-10),16)%11+1}(e),".hotjar.com")}return _hjSettings.wsHost},"utils"),d=function(){},l=function(e,t,i){var n=e.indexOf("#"),o=-1===n?"":e.substr(n);e=-1===n?e:e.substr(0,n);var a=new RegExp("([?&])"+t+"=.*?(&|$)","i"),r=-1!==e.indexOf("?")?"&":"?";return i?e=e.match(a)?e.replace(a,"$1"+t+"="+i+"$2"):e+r+t+"="+i:("?"===(e=e.replace(new RegExp("([?&]?)"+t+"=[^&]*","i"),"")).slice(-1)&&(e=e.slice(0,-1)),-1===e.indexOf("?")&&(e=e.replace(/&/,"?"))),e+o},p=function(e){return function(t){return Boolean(t)&&e(t)}}},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var n=i(3),o=i(7),a=0,r=function(e,t,i){if(n.a.isRecordingEnabled()){var r=Date.now();r-a>o.BEHAVIOR_CONSTANTS.LAST_RECORDING_ACTIVITY_STORE_DEBOUNCE&&(sessionStorage.setItem("_hjRecordingLastActivity",r),a=r)}return hj.eventStream.write(e,t,i)}},function(e,t,i){"use strict";i.r(t),i.d(t,"USER_ACTIONS",function(){return n}),i.d(t,"BEHAVIOR_CONSTANTS",function(){return o}),i.d(t,"LAZY_MODULES",function(){return a}),i.d(t,"FILE_TYPES",function(){return r});var n=Object.freeze({MOUSE_CLICK:"mouse_click",MOUSE_MOVE:"mouse_move",SCROLL:"scroll",VIEWPORT_RESIZE:"viewport_resize",KEY_PRESS:"key_press",SELECT_CHANGE:"select_change",INPUT_CHOICE_CHANGE:"input_choice_change",CLIPBOARD:"clipboard"}),o=Object.freeze({LAST_RECORDING_ACTIVITY_STORE_DEBOUNCE:5e3,MAX_TIME_SINCE_LAST_RECORDING_ACTIVITY_IN_SESSION:12e4}),a={FORM_SELECTOR:{js:"".concat(hj.scriptDomain,"form-selector.cd2679885655887d8a1b.js")},SURVEY_V2:{js:"".concat(hj.scriptDomain,"survey-v2.c65a3cbfab4bc77923f2.js")},HEATMAP_SCREENSHOTTER:{js:"".concat(hj.scriptDomain,"heatmap-screenshotter.66b690e078c8cca11334.js")}},r={SCRIPT:"js",STYLESHEET:"css"}},,,function(e,t,i){"use strict";i.d(t,"c",function(){return n}),i.d(t,"b",function(){return o}),i.d(t,"a",function(){return a});var n=Object.freeze({SCANNING:"SCANNING",FORMS_FOUND:"FORMS_FOUND",NO_FORMS_FOUND:"NO_FORMS_FOUND",SUBMITTED:"SUBMITTED"}),o="_hjFormSelectorTrsToken",a="https://help.hotjar.com/hc/en-us/requests/new?ticket_form_id=360000390113"},function(e,t,i){"use strict";var n,o,a=i(6),r={setup:!1,listen:hj.tryCatch(function(){r.setup||(hj.insertedRules.init(),hj.insertedRules.register(r.send.bind(r,"inserted_rule"),!0),hj.cssBlobs.register(r.send.bind(r,"inserted_rule")),hj.deletedRules.init(),hj.deletedRules.register(r.send.bind(r,"deleted_rule")),r.setup=!0)},"behavior-data.cssRules.listen"),send:hj.tryCatch(function(e,t){t.length&&setTimeout(hj.tryCatch(function(){var i={time:hj.time.getNow(),timestamp:Date.now(),rules:t};hj.debug.emit(e,i),Object(a.a)(e,i,!1)},"behavior-data.cssRules"))},"behavior-data.cssRules.send")},s=i(3),c=hj.tryCatch(function(e,t){var i=hj.hq(e),n=hj.selector(s.a.getSelectorVersion()).get(i);if(n&&t){var o={offset_x:t.pageX,offset_y:t.pageY,selector:n};s.a.isRecordingEnabled()&&(o.time=hj.time.getNow(),o.timestamp=Date.now()),Object(a.a)("mouse_click",o,!1).flush()}},"behavior-data.frameMouseClicks.frameClick"),d={setup:!1,listen:hj.tryCatch(function(){d.setup||(hj.log.debug("Setting up frame mouse click listeners.","events"),d.send(),d.setup=!0)},"behavior-data.frameMouseClicks.listen"),send:hj.tryCatch(function(){if(s.a.isAnythingEnabled()){var e=location.protocol,t=location.hostname,i=location.port,n=e+"//"+t+(i?":"+i:""),o=hj.hq("iframe");o.length&&[].forEach.call(o,function(e){-1!==e.src.indexOf(n)&&hj.hq(e.contentWindow).on("mousedown",function(t){c(e,t)})})}},"behavior-data.frameMouseClicks.send")},l=i(7),p={setup:!1,listen:hj.tryCatch(function(){p.setup||(hj.log.debug("Setting up input choice change listeners.","events"),hj.hq(document).on("change","input[type=checkbox], input[type=radio]",p.send),p.setup=!0)},"behavior-data.inputChoiceChange.listen"),send:hj.tryCatch(function(e){if(s.a.isRecordingEnabled()){var t=hj.hq(e.target),i=hj.selector().get(t),n=t.is(":checked");Object(a.a)(l.USER_ACTIONS.INPUT_CHOICE_CHANGE,{value:n,selector:i,time:hj.time.getNow(),timestamp:Date.now()},!0).flush()}},"behavior-data.inputChoiceChange.send")},h=!1,u=!1,_=[],g={setup:!1,listen:hj.tryCatch(function(){g.setup||(hj.log.debug("Setting up key press listeners.","events"),hj.hq(document).on("input","input",g.update),hj.hq(document).on("blur","input",g.send),hj.hq(document).on("input","textarea",g.update),hj.hq(document).on("blur","textarea",g.send),g.setup=!0)},"behavior-data.keyPress.listen"),update:hj.tryCatch(function(e){var t=hj.hq(e.target),i=t.val();u=u||hj.privacy.isRiskyNotWhitelistedOrSuppressedElement(e.target),_.push({time:hj.time.getNow(),timestamp:Date.now(),selector:hj.selector().get(t),text:i,type:e.target.type,suppression:u?"full":"none"}),h=!0},"behavior-data.keyPress.update"),send:hj.tryCatch(function(){if(s.a.isRecordingEnabled()&&h){if(u){var e=_[0],t=_[_.length-1],i=hj.privacy.getSuppressedText(e.type,t.text),n=Math.floor((t.time-e.time)/Math.max(i.length,1));_=[];for(var o=0;oI&&(I=e,Object(a.a)("scroll_reach",{max_bottom:I},!0))}},"behavior-data.scrollReach.send")},A={setup:!1,listen:hj.tryCatch(function(){A.setup||(hj.log.debug("Setting up select change listeners.","events"),hj.hq(document).on("change","select",A.send),A.setup=!0)},"behavior-data.selectChange.listen"),send:hj.tryCatch(function(e){if(s.a.isRecordingEnabled()){var t=hj.hq(e.target),i=hj.selector().get(t),n=t.val();Object(a.a)(l.USER_ACTIONS.SELECT_CHANGE,{value:n,selector:i,time:hj.time.getNow(),timestamp:Date.now()},!0).flush()}},"behavior-data.selectChange.send")},P={setup:!1,listen:hj.tryCatch(function(){P.setup||(hj.log.debug("Setting up screen size change listeners.","events"),o=hj.ui.getWindowSize(),setInterval(P.checkResize,1e3),P.checkResize(),P.setup=!0)},"behavior-data.viewportResize.listen"),checkResize:hj.tryCatch(function(){var e=hj.ui.getWindowSize();e.width===o.width&&e.height===o.height||(o=e,P.send())},"behavior-data.viewportResize.checkResize"),send:hj.tryCatch(function(){s.a.isRecordingEnabled()&&Object(a.a)(l.USER_ACTIONS.VIEWPORT_RESIZE,{time:hj.time.getNow(),timestamp:Date.now(),w:o.width,h:o.height}).flush()},"behavior-data.viewportResize.send")};i.d(t,"a",function(){return r}),i.d(t,"b",function(){return d}),i.d(t,"c",function(){return p}),i.d(t,"d",function(){return g}),i.d(t,"e",function(){return x}),i.d(t,"f",function(){return j}),i.d(t,"g",function(){return S}),i.d(t,"h",function(){return C}),i.d(t,"i",function(){return T}),i.d(t,"j",function(){return N}),i.d(t,"k",function(){return A}),i.d(t,"l",function(){return P})},,,function(e,t,i){"use strict";i.d(t,"c",function(){return s}),i.d(t,"e",function(){return c}),i.d(t,"d",function(){return l}),i.d(t,"b",function(){return p}),i.d(t,"a",function(){return h});var n=i(1),o=i(4),a=function(e){return(e||"").substr(0,8)},r=function(e,t){return{question:e.text,questionUuid:a(e.uuid),questionSignature:e.questionSignature,answer:t.answerText,comment:t.comment||null}},s=function(e,t){var i=[];return Array.isArray(t)?i=t.map(function(t){return r(e,t)}):i.push(r(e,t)),i},c=function(e,t){var i=function(e,t){var i={utk:n.a.items.HUBSPOT_UTK.get(),response_content:JSON.stringify({version:4,answers:e})};return void 0===hj.widget.pollResponseId?(i.action="create_poll_response",i.poll_index=t):(i.action="update_poll_response",i.poll_response_id=hj.widget.pollResponseId),i}(e,t);hj.request.savePollResponse(i,function(e){e.success&&e.poll_response_id&&(hj.widget.pollResponseId=e.poll_response_id),hj.widget.awaitResponseId&&hj.widget.awaitResponseId()})},d=[o.a.NPS,o.a.RATING_7,o.a.RATING_5],l=function(e,t,i){var n={id:e,questionUuid:a(t.uuid),type:t.type.replace("_","")};i&&d.indexOf(t.type)>-1&&(n.answer=i),hj.event.signal("poll.question",n)},p=function(e){"always"!==e.persist_condition&&n.a.items.POLL_DONE.add(e.id)},h=function(){hj.widget.pollResponseId?hj.request.grantConsent({response_type:"poll_response",response_id:hj.widget.pollResponseId,message:hj.widget.translate("consent")}):hj.widget.awaitResponseId=function(){hj.request.grantConsent({response_type:"poll_response",response_id:hj.widget.pollResponseId,message:hj.widget.translate("consent")})}}},,,,function(e,t,i){"use strict";i.d(t,"a",function(){return s});var n,o=i(1),a=i(66),r=i(178),s={get:function(){if(!n){var e=o.a.items.HJ_ID.get();e||(e=a(),o.a.items.HJ_ID.set(e));var t=hjSiteSettings?hjSiteSettings.site_id:hj.settings.site_id;n=r(t+e,"ded6f544-7265-46bb-ab52-fefac2598466")}return n},getAsNumber:function(){var e=this.get();return(parseInt(e.slice(-10),16)+1)/Math.pow(2,40)},compareRatio:hj.tryCatch(function(e,t){return s.getAsNumber()*(t?100:1)<=e},"identifier.compareRatio")}},function(e,t,i){"use strict";i.d(t,"a",function(){return d});var n=i(3),o=i(6),a=i(51),r=i(11),s=i(52),c=!1,d={autoTagsToProcess:[],tagsToProcess:[],active:!1,start:hj.tryCatch(function(){n.a.setRecordingEnabled(!0),sessionStorage.setItem("_hjRecordingEnabled",!0),sessionStorage.setItem("_hjRecordingLastActivity",Date.now());var e=hj.visitData.property,t=hj.ui.getWindowSize();Object(o.a)({recording_helo:function(){var i=hj.visitData.getPageVisitInfo(e,t,hj.settings.site_id);return Object(s.c)(i)}}).flush(),a.a.enableRecording(),d.active=!0,d.tagsToProcess.length&&(Object(o.a)("tag_recording",d.tagsToProcess,!0).flush(),d.tagsToProcess=[]),d.autoTagsToProcess.length&&(Object(o.a)("autotag_recording",d.autoTagsToProcess,!0).flush(),d.autoTagsToProcess=[]),hj.globals.ready("pageContentUrlMD5",function(){return l(e)}),c||e.ready("pageInfo",function(e){return d.initializeTreeMirror(e)})},"behavior-data.recording.start"),setAndSendPageContent:function(e,t){var i=e.get("pageInfo").urlMD5;hj.globals.ready("userId",function(){return p(t,i)})},reset:function(){hj.globals.set("pageInfo",void 0),hj.globals.set("userId",void 0),hj.globals.set("pageContentUUID",void 0),hj.globals.set("pageContentUrlMD5",void 0),hj.treeMirror.resetMutationListeners(),c=!1},initializeTreeMirror:hj.tryCatch(function(e){hj.treeMirror.mutationObserverAvailable&&hj.treeMirror.getTree(function(t,i){h(e,t,i)},u)},"behavior-data.initializeTreeMirror"),resume:function(){r.i.update(),r.e.trackCoordinatesOnNextClick()}},l=hj.tryCatch(function(e){var t=hj.globals.get("pageContentUrlMD5"),i=hj.globals.get("pageContentUUID"),n=hj.dom.getCSSURLs().map(function(e){return{content_type:2,url:e,url_hash:hj.md5(hj.b64EncodeUnicode(e))}});hj.log.warnIfEmpty(t,"sendReportContent: urlMD5"),hj.log.warnIfEmpty(n,"sendReportContent: webResourceInfos"),hj.log.warnIfEmpty(i,"sendReportContent: pageContentUUID"),hj.log.warnIfEmpty(e,"sendReportContent: property");var o={page_content_url_md5:t,page_content_uuid:i,web_resource_infos:n};hj.eventStream.writeNewFrame({report_content:o},e.key).flush()},"behavior-data.recording.sendReportContent"),p=hj.tryCatch(function(e,t){hj.log.warnIfEmpty(e,"tryStorePageContent: content"),hj.log.warnIfEmpty(t,"tryStorePageContent: urlMD5"),hj.resource.StorePageContentResourceV2.post({site_id:hj.settings.site_id,content:e},hj.tryCatch(function(e){e.content_uuid?hj.globals.set("pageContentUUID",e.content_uuid):hj.log.warn("Expecting res.content_uuid but it was not found!"),hj.globals.set("pageContentUrlMD5",t)},"behavior-data.tryStorePageContent.StorePageContentResourceV2.post"))},"setAndSendPageContent.tryStorePageContent"),h=function(e,t,i){d.setAndSendPageContent(e,JSON.stringify({docType:hj.html.getPageDoctype(),rootId:t,children:i})),c=!0},u=function(e,t,i,n){var a={};(e.length||t.length||i.length||n.length)&&(a.time=hj.time.getNow(),a.timestamp=Date.now(),e.length&&(a.a=e),t.length&&(a.b=t),i.length&&(a.c=i),n.length&&(a.d=n),hj.debug.emit("mutation",a),Object(o.a)("mutation",a,!1))}},,,,,,,,,function(e,t,i){"use strict";i.d(t,"b",function(){return r}),i.d(t,"c",function(){return s}),i.d(t,"d",function(){return c}),i.d(t,"a",function(){return p});var n,o=i(4);function a(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var r=function(e,t){for(var i=t.split(":")[1],n=0;n2&&void 0!==arguments[2]&&arguments[2];if(hj.settings.user_attributes_enabled){var o=r(h.properties,t);if(hj.includedInSample||i){var s=n.a.items.USER_ATTRIBUTES_HASH.get(),d=hj.md5(JSON.stringify(o));n.a.items.USER_ATTRIBUTES_HASH.set(d);var l=s!==d;if(l){var u=h.compare(h.properties,t);a(e,u)}else hj.log.debug("No changed user attributes. Not sending.","user");h.properties=o}else h.cachedProperties=p(h.cachedProperties,e,t),c(h.cachedProperties),hj.log.debug("User is not in sample. Not sending attributes.","user");hj.event.signal("updated-user-attributes")}},"user.set"),get:hj.tryCatch(function(e){var t=h.properties[e];return void 0!==t?t:h.cachedProperties.attributes&&h.cachedProperties.attributes[e]},"user.get"),sendCachedAttributes:hj.tryCatch(function(){hj.settings.user_attributes_enabled&&(h.cachedProperties=d(),h.cachedProperties.userId&&Object.keys(h.cachedProperties.attributes).length>0&&(h.set(h.cachedProperties.userId,h.cachedProperties.attributes,!0),h.cachedProperties=s()))},"user.sendCachedAttributes"),reset:function(){h.properties={}}}},,function(e,t,i){i.p=hj.scriptDomain},,,,,function(e,t,i){"use strict";i.d(t,"a",function(){return a});var n=i(45),o={darkShade:-.1,lightShade:.1,darkerShade:-.2,lighterShade:.2,darkestShade:-.6,lightestShade:.6},a=function(e){var t=Object(n.a)(o,function(t){return hj.widget.changeColorLuminance(e.background,t)});return{position:e.position,skin:e.skin,primaryColor:e.background,secondaryColor:"light"===e.skin?t.darkShade:t.lightShade,alternateColor:"light"===e.skin?t.darkerShade:t.lighterShade,footerTextColor:"light"===e.skin?t.darkestShade:t.lightestShade,footerBorderColor:"light"===e.skin?t.darkerShade:t.darkShade,fontColor:"light"===e.skin?"#111":"#FFF",fontColorNegative:"light"===e.skin?"#FFF":"#111"}}},function(e,t,i){"use strict";i.d(t,"b",function(){return n}),i.d(t,"a",function(){return o});var n=function(e){return Object.keys(e).reduce(function(t,i){return t[i]=e[i],t},{})},o=function(e,t){return Object.keys(e).reduce(function(i,n){return i[n]=t(e[n]),i},{})}},,function(e,t,i){e.exports=i.p+"widget_icons_dark.3a8118.png"},,,,function(e,t,i){"use strict";i.d(t,"a",function(){return l});var n=i(3),o=i(11),a=Object(o.g)("copy"),r=Object(o.g)("cut"),s=Object(o.g)("paste"),c=[o.i,o.d,o.f,o.e,o.k,o.l,o.b,o.c,a,r,o.h,s,o.a],d=[o.f,o.e,o.j,o.b],l={enableRecording:hj.tryCatch(function(){n.a.setRecordingEnabled(!0),c.forEach(function(e){e.listen()}),hj.autotag.start()},"behavior-data.events.enableRecording"),enableHeatmap:hj.tryCatch(function(e){n.a.setHeatmapEnabled(!0),d.forEach(function(e){e.listen()}),n.a.setSelectorVersion(e)},"behavior-data.events.enableHeatmap"),disableHeatmap:hj.tryCatch(function(){n.a.setHeatmapEnabled(!1)},"behavior-data.events.disableHeatmap")}},function(e,t,i){"use strict";i.d(t,"b",function(){return o}),i.d(t,"c",function(){return a}),i.d(t,"a",function(){return r});var n=i(3),o=function(e,t){return{heatmap_id:t,max_bottom:hj.ui.getBottomAsPercentage(),page_visit_info:e,resumed:n.a.isResumedSession()}},a=function(e){return{playback_version:3,script_context_id:hj.scriptContextId,start_time:hj.time.getNow(),start_timestamp:Date.now(),page_visit_info:e,resumed:n.a.isResumedSession()}},r=function(e){return{form_id:e.id,form_event:"form_helo",resumed:n.a.isResumedSession()}}},function(e,t,i){"use strict";i.d(t,"a",function(){return o});var n=i(7),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,n=0,o=!1;function c(){0!==--n||o||t.bind(this)()}function d(){o=!0,i.bind(this)()}Object.keys(e).forEach(function(t){var i=e[t];"string"==typeof i&&(i=[i]),n+=i.length,i.forEach(function(e){a(e,t,c,d)})})},a=function(e,t,i,o){var a;t===n.FILE_TYPES.SCRIPT?(a=document.createElement("script")).src=e:t===n.FILE_TYPES.STYLESHEET&&((a=document.createElement("link")).href=e,a.rel="stylesheet"),a.onload=i,a.onerror=o,document.getElementsByTagName("head")[0].appendChild(a)};function r(){}function s(){var e=this.src||this.href;hj.exceptions.log("Failed to load module: ".concat(e,"."),"loader")}},,function(e,t,i){e.exports=i.p+"font-hotjar_5.c9fb91.woff2"},function(e,t,i){e.exports=i.p+"font-hotjar_5.8598c5.ttf"},function(e,t,i){e.exports=i.p+"font-hotjar_5.6da396.woff"},function(e,t,i){e.exports=i.p+"font-hotjar_5.a6049d.svg"},,,,,,,,function(e,t,i){var n=i(177),o=i(105);e.exports=function(e,t,i){var a=t&&i||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var r=(e=e||{}).random||(e.rng||n)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t)for(var s=0;s<16;++s)t[a+s]=r[s];return t||o(r)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){for(var i=[],n=0;n<256;++n)i[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,o=i;return[o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]]].join("")}},function(e,t,i){e.exports=i.p+"attention@2x.0ae767.png"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,i){i(7),i(39),i(171),i(172),i(173),i(174),i(175),i(176),i(181),i(182),i(189),i(190),i(191),i(37),i(193),i(194),i(195),i(196),i(197),i(219),i(198),i(202),i(203),i(204),i(212),i(213),i(214),i(218)},function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window._hjSettings=window._hjSettings||{},hj.defaults={host:"in.hotjar.com",insightsHost:"insights.hotjar.com",staticHost:"static.hotjar.com",varsHost:"vars.hotjar.com",errorUrl:"https://ba52622b91a54161b30d42dd31ccd293@sentry.hotjar.com/10",identifyEndpoint:"https://identify.hotjar.com",viewCounterEndpoint:"https://vc.hotjar.io/views",viewCounterHitPercentage:.25},hj.host=_hjSettings.host||hj.defaults.host,hj.insightsHost=_hjSettings.insightsHost||hj.defaults.insightsHost,hj.staticHost=_hjSettings.staticHost||hj.defaults.staticHost,hj.varsHost=_hjSettings.varsHost||hj.defaults.varsHost,hj.errorUrl=void 0!==_hjSettings.errorUrl?_hjSettings.errorUrl:hj.defaults.errorUrl,hj.identifyEndpoint=_hjSettings.identifyEndpoint||hj.defaults.identifyEndpoint,hj.viewCounterEndpoint=void 0!==_hjSettings.viewCounterEndpoint?_hjSettings.viewCounterEndpoint:hj.defaults.viewCounterEndpoint,hj.viewCounterHitPercentage=void 0!==_hjSettings.viewCounterHitPercentage?_hjSettings.viewCounterHitPercentage:hj.defaults.viewCounterHitPercentage;hj.ExceptionLogger=function(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null,r=0,s=[],c=/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*/g,d=/\d{1,3}\.\d{1,3}\.\d{1,3}\.(\d{1,3})/g,l=/\d{4,}([-\s]?\d{4,}){2,}/g,p=/password(.*)/g,h=/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/g,u={},_=[],g=null!==e,f=w()?1:.025,m=o.throttleDelay||1e3,b=o.maxErrors||10,y=["scriptversion","module","errorgroup","errormessagegroup","useragent"];function w(){return window.location.search.indexOf("hjErrorLoggerSamplingDisabled=1")>0}function v(){s.filter(function(e){return"unloaded"===e.state}).forEach(function(e){e.check()?x(e):(j(e),k(e))})}function j(e){e.state="loading";var t=document.createElement("script");t.src=e.url,document.getElementsByTagName("head")[0].appendChild(t)}function k(e){var t=setInterval(function(){e.check()&&(clearInterval(t),x(e))},10)}function x(e){e.state="loaded",e.onLoad(),S()&&g&&u.startProcessing()}function S(){return s.every(function(e){return"loaded"===e.state})}function C(e){_.length")).replace(c,"")).replace(l,"123456789012")).replace(p,"<******>")).replace(h,""),e[t]=n)}),e}function N(e,t,i){(void 0!==hj.log?hj.log.debug:function(){})(e,t,i)}return s=[{name:"sentry",check:function(){return void 0!==hj.Sentry},url:hj.scriptDomain+"sentry.16c32a70238bd6dabc22.js",state:"unloaded",onLoad:function(){t=new hj.Sentry.BrowserClient({dsn:e,release:"client-"+window.hjBootstrap.revision,sampleRate:f,integrations:[new hj.Sentry.Integrations.GlobalHandlers({onunhandledrejection:!1,onerror:!1})],beforeSend:function(e){if(T())return I(e)}}),(n=new hj.Sentry.Hub(t)).configureScope(function(e){e.setUser({id:_hjSettings.hjid})})}}],u.sendException=function(e){try{n&&n.withScope(function(t){t.addEventProcessor(function(t){return t.logger=e.module,t}),n.captureException(e.exception)})}catch(e){N("Failed to log exception: "+e,"Exception")}},u.tryCatch=function(e,t){return function(){try{return e.apply(this,arguments)}catch(e){if(/[?&]logErrors/.test(location.search)&&console.error(e),window.__TESTS__)throw e;u.log(e,t||"Generic")}}},u.log=function(e,t){N("Exception occurred in '"+t+"'","Exception",e),C({exception:e,module:t})},u.getQueue=function(){return _},u.startProcessing=function(){u.isProcessing()||(a=setInterval(function(){E(),r>=b&&u.stopProcessing()},m))},u.isProcessing=function(){return null!==a},u.stopProcessing=function(){u.isProcessing()&&(clearInterval(a),a=null)},u},hj.exceptions=new hj.ExceptionLogger(hj.errorUrl),hj.tryCatch=hj.exceptions.tryCatch}()},function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}try{!function(e,t){var n=function(e){return new o(e)};n.isValidSelector=function(e){try{return hj.hq(e),!0}catch(e){return!1}},n.isEmptyObject=function(e){return!Object.keys(e).length},n.isFunction=function(e){return"function"==typeof e},n.isWindow=function(t){return t===e},n.isDocument=function(e,i){return e===(i||t)},n.noop=function(){},n.each=function(e,t){var n,o,a;if("object"===i(e)&&"[object Array]"!==Object.prototype.toString.call(e)){if((o=e[Object.keys(e)[0]])&&void 0!==o.nodeName){for(n in e)if(e.hasOwnProperty(n)&&"length"!==n&&!1===t(n,e[n],e))break}else for(n in e)if(e.hasOwnProperty(n)&&!1===t(n,e[n],e))break}else if(void 0!==e)for(a=0;a=200&&t.status<400?n.isFunction(e.success)&&e.success(t.responseText&&JSON.parse(t.responseText),t):n.isFunction(e.error)&&e.error(t)},t.onerror=function(){n.isFunction(e.error)&&e.error(t)},n.isFunction(e.requestAnnotator)&&e.requestAnnotator(t),"POST"!==e.type&&"PUT"!==e.type||!e.data?t.send():t.send(e.data)},n.get=function(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.onload=function(){i.status>=200&&i.status<400&&t&&t(i.responseText)},i.send()},n.eventHandlers={},n.selector="";var o=function(e){var o,a,r,s=window._hjDocument||t;if(n.selector=e,n.isWindow(e))return this[0]=window,this.length=1,this;if(n.isDocument(e,s))return this[0]=s,this.length=1,this;if("object"===i(e))return this[0]=e,this.length=1,this;if("string"==typeof e&&"<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3)return(o=s.createElement("div")).innerHTML=e,this[0]=o.childNodes[0],this.length=1,this;if("string"==typeof e){isNaN(e.charAt(1))||"."!==e.charAt(0)&&"#"!==e.charAt(0)||(e=e.charAt(0)+"\\3"+e.charAt(1)+" "+e.slice(2));try{a=s.querySelectorAll(e)}catch(e){return this.length=0,this}for(r=0;r0&&(this[0].value=e),void 0===this[0]?void 0:this[0]?this[0].value:""},o.prototype.text=function(e){return void 0===e?this[0].textContent:this[0].textContent=e},o.prototype.each=function(e,t){Array.prototype.forEach.call(this,function(e,i,n){t(i,e,n)})},o.prototype.append=function(e){var o;"object"===i(e)?"body"===n.selector?t.body.appendChild(e.get(0)):this[0].appendChild(e.get(0)):"body"===n.selector?((o=t.createElement("div")).innerHTML=e,t.body.appendChild(o)):((o=t.createElement("div")).innerHTML=e,this[0].appendChild(o))},o.prototype.hasClass=function(e){return this[0].classList?this[0].classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(this[0].className)},o.prototype.addClass=function(e){var t;for(t=0;t=0;o-=1)if(n[o]===e)return!0;return!1}(this[0],e)},o.prototype.remove=function(){var e;for(e=0;e-1&&a.call(h,e)}},Array.isArray(n.eventHandlers[d])?n.eventHandlers[d].push(l):(n.eventHandlers[d]=[],n.eventHandlers[d].push(l)),t.addEventListener(g[c].split(".")[0],l,!0)):("boolean"==typeof o&&!1===o&&(o=function(e){return e.preventDefault(),!1}),Array.isArray(n.eventHandlers.document)?n.eventHandlers.document.push(o):(n.eventHandlers.document=[],n.eventHandlers.document.push(o)),this[0].addEventListener(g[c].split(".")[0],o,r));else if(n.isDocument(this[0]))for(c=0;c-1))return n(this[0]).get(0).nodeName.toLowerCase()===e;if((t=/([A-Za-z]+)\[([A-Za-z-]+)=([A-Za-z]+)]/g.exec(e)).length)return n.each(n(this[0]).get(0).attributes,function(e,i){i.name===t[2]&&i.value===t[3]&&(o=!0)}),n(this[0]).get(0).nodeName.toLowerCase()===t[1]&&o}},o.prototype.css=function(e,t){var n,o;for(o=0;o>>0},e.prototype.nodeId=function(t){var i=t[e.ID_PROP];return i||(i=t[e.ID_PROP]=e.nextId_++),i},e.prototype.set=function(e,t){var i=this.nodeId(e);this.nodes[i]=e,this.values[i]=t},e.prototype.get=function(e){return e=this.nodeId(e),this.values[e]},e.prototype.has=function(e){return this.nodeId(e)in this.nodes},e.prototype.deleteNode=function(e){e=this.nodeId(e),delete this.nodes[e],this.values[e]=void 0},e.prototype.keys=function(){var e,t=[];for(e in this.nodes)this.isIndex(e)&&t.push(this.nodes[e]);return t},e.ID_PROP="__hj_mutation_summary_node_map_id__",e.nextId_=1,e}();(m=a||(a={}))[m.STAYED_OUT=0]="STAYED_OUT",m[m.ENTERED=1]="ENTERED",m[m.STAYED_IN=2]="STAYED_IN",m[m.REPARENTED=3]="REPARENTED",m[m.REORDERED=4]="REORDERED",m[m.EXITED=5]="EXITED";var s=function(){function e(e,t,i,n,o,a,r,s){void 0===t&&(t=!1),void 0===i&&(i=!1),void 0===n&&(n=!1),void 0===o&&(o=null),void 0===a&&(a=!1),void 0===r&&(r=null),void 0===s&&(s=null),this.node=e,this.childList=t,this.attributes=i,this.characterData=n,this.oldParentNode=o,this.added=a,this.attributeOldValues=r,this.characterDataOldValue=s,this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument}return e.prototype.getAttributeOldValue=function(e){if(this.attributeOldValues)return this.isCaseInsensitive&&(e=e.toLowerCase()),this.attributeOldValues[e]},e.prototype.getAttributeNamesMutated=function(){var e=[];if(!this.attributeOldValues)return e;for(var t in this.attributeOldValues)e.push(t);return e},e.prototype.attributeMutated=function(e,t){this.attributes=!0,this.attributeOldValues=this.attributeOldValues||{},e in this.attributeOldValues||(this.attributeOldValues[e]=t)},e.prototype.characterDataMutated=function(e){this.characterData||(this.characterData=!0,this.characterDataOldValue=e)},e.prototype.removedFromParent=function(e){this.childList=!0,this.added||this.oldParentNode?this.added=!1:this.oldParentNode=e},e.prototype.insertedIntoParent=function(){this.added=this.childList=!0},e.prototype.getOldParent=function(){if(this.childList){if(this.oldParentNode)return this.oldParentNode;if(this.added)return null}return this.node.parentNode},e}(),c=function(){this.added=new r,this.removed=new r,this.maybeMoved=new r,this.oldPrevious=new r,this.moved=void 0},d=function(e){function t(t,i){e.call(this),this.rootNode=t,this.wasReachableCache=this.reachableCache=void 0,this.anyCharacterDataChanged=this.anyAttributesChanged=this.anyParentsChanged=!1;for(var n=0;n>>32-o,i)}function p(e,t,i,n,o,a,r){return l(t&i|~t&n,e,t,o,a,r)}function h(e,t,i,n,o,a,r){return l(t&n|i&~n,e,t,o,a,r)}function u(e,t,i,n,o,a,r){return l(t^i^n,e,t,o,a,r)}function _(e,t,i,n,o,a,r){return l(i^(t|~n),e,t,o,a,r)}function g(e){var t,i=[];for(t=0;64>t;t+=4)i[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return i}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.port=443,hj.apiUrlBase="https://"+hj.host+"/api/v1",hj.apiUrlBaseV2="https://"+hj.host+"/api/v2",hj.includedInSample=!1,hj.isPreview=Boolean(_hjSettings.preview),hj.settings={},hj.userDeviceType=null,hj.optOut=!1,hj.windowSize=null,hj.maxRecordingTagLength=50,hj.locationListener=(c="manual",(t={}).setMode=hj.tryCatch(function(t){c=t,e&&clearInterval(e),"automatic_with_fragments"===c?e=setInterval(function(){var e=location.origin+location.pathname+location.search+location.hash;hj.currentUrl&&hj.currentUrl!=e&&hj._init.reinit(e)},200):"automatic"===c&&(e=setInterval(function(){var e=location.origin+location.pathname+location.search;hj.currentUrl&&hj.currentUrl.split("#")[0]!=e&&hj._init.reinit(e)},200))}),t);var f="0123456789abcdef".split("");function m(e){for(var t="",i=0;4>i;i++)t+=f[e>>8*i+4&15]+f[e>>8*i&15];return t}function b(e,t){return e+t&4294967295}hj.encodeAsUtf8=function(e){return unescape(encodeURIComponent(e))},hj.md5=function(e,t){var i="";try{i=function(e){for(var t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),55t;t++)o[t]=0;return o[14]=8*i,d(n,o),n}(hj.encodeAsUtf8(e)))}catch(e){t?i="":hj.exceptions.log(e,"md5")}return i},hj.b64EncodeUnicode=function(e){return btoa(hj.encodeAsUtf8(e))},"5d41402abc4b2a76b9719d911017c592"!=hj.md5("hello")&&(b=function(e,t){var i=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(i>>16)<<16|65535&i}),hj.time=function(){var e={},t=(new Date).getTime();return e.reset=function(){t=(new Date).getTime()},e.getNow=function(){return(new Date).getTime()-t},e}(),hj.debug=function(){var e={on:function(e){_hjSettings.hjdebug=!0,e&&o.a.items.DEBUG_FLAG.set(!0)},off:function(){_hjSettings.hjdebug=!1,o.a.items.DEBUG_FLAG.clear()},emit:function(e,t){"undefined"!=typeof _hjEmitters&&_hjEmitters.includes&&_hjEmitters.includes(e)&&window.postMessage({data:t,message:o.a.items.DEBUG_FLAG.getKey(),type:e},"*")}};return e}(),hj.url=function(){var e={};return e.getParameter=hj.tryCatch(function(e){var t,i,n=[];for(t=new RegExp("[^?&]?"+e.replace(/\[/,"\\[").replace(/]/,"\\]")+"=([^&]+)","g");i=t.exec(location.search);)n.push(hj.url.tryDecodeURIComponent(i[1]));switch(n.length){case 0:return"";case 1:return n[0];default:return n}},"common"),e.tryDecodeURIComponent=hj.tryCatch(function(e){try{return decodeURIComponent(e)}catch(t){return e}},"common"),e.getUrlFromString=hj.tryCatch(function(e){return(e=e||window.location.href).startsWith("http")||(e.startsWith("/")||(e="/"+e),e=location.protocol+"//"+location.hostname+(""!=location.port?":"+location.port:"")+e),e},"common"),e.getMidLevelDomain=hj.tryCatch(function(t){var i=t.lastIndexOf(".");return e._parseDomain(t,i)||t},"common.url.getMidLevelDomain"),e._parseDomain=hj.tryCatch(function(t,i){i=i?i-1:t.length;var n,o=t.lastIndexOf(".",i-1);return o>-1&&(n=t.substring(o),e._checkCookieAccessToDomain(n)||(n=e._parseDomain(t,o))),n},"common.url._parseDomain"),e._checkCookieAccessToDomain=hj.tryCatch(function(e){try{document.cookie="".concat("_hjTLDTest","=1;path=/;domain=").concat(e,";");var t=document.cookie&&document.cookie.indexOf("_hjTLDTest")>-1;return t&&(document.cookie="_hjTLDTest=; domain="+e+"; expires=Tue, 13 Mar 1979 00:00:00 UTC; path=/;"),t}catch(e){return!1}},"common.url._checkCookieAccessToDomain"),e}(),hj.log=function(){var e={},t=!1,i="",n={init:"#6600cc",recording:"#dd0000",heatmap:"#700000",forms:"#a00000",tester:"#00dd00",survey:"#007000",poll:"#00a000",integration:"#2a9072",events:"#ffc000",event:"#ff7000",property:"#ff33cc",deferredpagecontent:"#7c7c7c",websocket:"#0dc0ff",data:"#009bd2",command:"#0079a4",visitdata:"#00668a",dataqueue:"#00445c",targeting:"#00ee00",rendering:"#bd00ea",autotag:"#ff0099"};return e.init=function(){void 0===window.console&&(window.console={debug:function(){},trace:function(){},log:function(){},info:function(){},warn:function(){},error:function(){}})},e.debug=function(o,a,r){var c=a&&n[a.toLowerCase()]||"#333";i!=o&&t&&(console.groupEnd(),t=!1),i=o,_hjSettings.hjdebug&&("object"===s(o)?hj.hq.each(o,function(t,i){e.debug(t+": "+i,a,null)}):(o=a&&"string"==typeof o?a.toUpperCase()+": "+o:o,o="%c"+(new Date).toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")+":%c "+o,r?(t||(console.groupCollapsed(o+":","color: #999;","color: "+c+";"),t=!0),console.log(r)):console.log(o,"color: #999;","color: "+c+";")))},e.info=function(e){console.log("%c"+e,"color: #006EFF")},e.warn=function(e){console.log("%c"+e,"color: #E8910C")},e.error=function(e){console.error("Hotjar error: "+e)},e.warnIfEmpty=function(e,t){if(Array.isArray(e)?0===e.length:hj.hq.isNullOrUndefined(e)){var i=null===e?"null":void 0===e?"undefined":"no value";hj.log.debug("WARNING: [".concat(t,"] a value was expected but ").concat(i," was found!"))}},e}(),hj.loader=function(){var e={},t=[];return e.getModules=hj.tryCatch(function(){return t},"common"),e.registerModule=hj.tryCatch(function(e,i,n){t.push({name:e,module:i,nonTracking:void 0!==n&&n})},"common"),e.loadSettings=hj.tryCatch(function(e){hj.isPreview?hj.tryCatch(e,"Loader")():void 0!==window.hjSiteSettings?hj.tryCatch(e,"Loader")(window.hjSiteSettings):hj.ajax.get("".concat(hj.apiUrlBase,"/client/sites/").concat(hj.settings.site_id),hj.tryCatch(e,"common"))},"common"),e}(),hj.targeting=function(){var e={};function t(t,i){var n;return e.matchOperations[t.match_operation]?(t.rule_type=t.rule_type||t.component,(n=e.matchOperations[t.match_operation](t,i)).error?(hj.exceptions.log({message:'Targeting error - "'+t.match_operation+" - "+n.error,stacktrace:""},"common.targeting.matchPatternWithRule"),!1):("url"!==t.component&&t.negate&&(n=!n),function(e,t,i){var n=i?"Match ":"No Match ";!i||"url"!==e.component&&"device"!==e.component||(n+=e.component+"|"+e.match_operation+"|"+e.pattern+(e.negate?" [NEGATE]":""),hj.log.debug(n,"targeting"));"attribute"!==e.component&&"event"!==e.component||(n+=e.component+"|"+e.name+" ("+e.rule_type+")|"+e.match_operation+"|"+e.pattern+"|compared with: "+t+(e.negate?" [NEGATE]":""),hj.log.debug(n,"targeting"))}(t,i,n),n)):(hj.exceptions.log({message:'Targeting error - "'+t.match_operation+'" match operation does not exist.',stacktrace:""},"common.targeting.matchPatternWithRule"),!1)}function i(e){var i=!1,n=Object(r.a)();return(i=0===e.length||3===e.length||e.some(function(e){return t(e,n)}))?hj.log.debug("Device match found","targeting"):hj.log.debug("No device match found","targeting"),i}function o(e,i){var n,o=!1,a=!1,r=!1;if(0===e.length)return hj.log.debug("No URL targeting rules set","targeting"),!1;for(var s=0;sNumber(e.pattern)}),less_than:u(function(e,t){return Number(t)=n})},e}(),hj.rendering=function(){var e=[],t={},i={};function n(e,t){hj.tryCatch(t,"Rendering")(e)}function o(e,t){hj.widgetDelay.set(function(){hj.tryCatch(t,"Rendering")(e)},1e3*e.display_delay)}function r(t,i,n){var o=hj.hq(document),a=hj.hq(window),r=[];function s(){hj.tryCatch(i,"Rendering")(t),o.off("mousemove."+n),o.off("mouseout."+n)}e.push(n),o.off("mousemove."+n),o.off("mouseout."+n),o.on("mousemove."+n,hj.tryCatch(function(e){r.push({x:e.clientX,y:e.clientY}),r.length>2&&(r[1].x===r[2].x&&r[1].y===r[2].y?r.pop():r.shift())},"Rendering")),o.on("mouseout."+n,hj.tryCatch(function(e){var t,i,n,o,c;e.relatedTarget&&(e.relatedTarget===this||this.compareDocumentPosition(e.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||(t=e.clientY,o=r[1],c=r[0],t|=0,void 0!==o&&(o.y>=c.y||t>0||(c.x===o.x&&s(),i=(c.y-o.y)/(c.x-o.x),(n=-(c.y-i*c.x)/i)>0&&n=.5&&(o.off("scroll."+i),t(e))},"Rendering"))}function d(e){return e=(e=e.replace(/(\b(https?):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,'$1')).replace(/(^|[^\/])(www\.[\S]+(\b|$))/gim,'$1$2')}t.clearAllAbandonEvents=hj.tryCatch(function(){e.forEach(function(e){hj.log.debug("Removing abandon events for "+e,"rendering"),hj.hq(document).off("mousemove."+e),hj.hq(document).off("mouseout."+e)}),e=[]},"common"),t.renderTemplate=hj.tryCatch(function(e,n){var o=i[e];if(!o){var a="var pieces=[],print=function(){pieces.push.apply(pieces,arguments);};with(obj){pieces.push('"+e.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('');";o=new Function("obj",a),i[e]=o}return o(function e(i){var n=Array.isArray(i)?[]:{};for(var o in i){var a;i.hasOwnProperty(o)&&("object"===s(a=i[o])?a instanceof hj.rendering.TrustedString?n[o]=a.value:n[o]=e(a):n[o]="string"==typeof a?d(t.escapeHtml(a)):i[o])}return n}(n))},"common"),t.addToDom=hj.tryCatch(function(e,t){if(!e)throw Error("container id not defined");if(!t)throw Error("cannot append html to container #"+e+", html not defined.");return hj.hq("#"+e).remove(),hj.hq("body").append(t),hj.hq("#"+e+">div")},"common.addToDom"),t.TrustedString=function(e){this.value=e},t.callAccordingToCondition=hj.tryCatch(function(e,t,i){var s={immediate:n,delay:o,abandon:r,scroll:c}[e.display_condition];if(hj.log.debug("Calling active item ("+t+"): "+e.display_condition,"rendering"),!s)throw new Error('Unhandled display condition: "'+e.display_condition+'"');var d=!0;void 0===e.targeting_percentage||hj.isPreview||(d=a.a.compareRatio(e.targeting_percentage,!0)),d?hj.tryCatch(s,"Rendering")(e,i,t):hj.log.debug("Session identifier not in targeting percentage. Widget will not render.","rendering")},"common");var l={"&":"&","<":"<",">":">",'"':""","'":"'"};return t.escapeHtml=function(e){return e.replace(/&(?!(amp|lt|gt|quot|#39);)/g,function(e){return l[e]}).replace(/[<>"']/g,function(e){return l[e]})},t}(),hj.survey=hj.tryCatch(function(){var e={ctrl:void 0,data:void 0,model:{},activeLanguageDirection:"ltr"};return e},"common")(),hj.ui=function(){var e={};return e.getWindowSize=hj.tryCatch(function(){var e=function(){try{return window.self!==window.top}catch(e){return!0}}(),t={width:!e&&window.screen?window.screen.width:document.body.clientWidth,height:!e&&window.screen?window.screen.height:document.body.clientHeight};return{width:window.innerWidth||document.documentElement.clientWidth||t.width,height:window.innerHeight||document.documentElement.clientHeight||t.height}},"common"),e.getDocumentSize=hj.tryCatch(function(){var t,i;if(document&&document.documentElement&&document.documentElement.clientWidth)t=document.documentElement.clientWidth,i=document.documentElement.clientHeight;else{var n=e.getWindowSize();t=n.width,i=n.height}return{width:t,height:i}},"common"),e.getScrollPosition=hj.tryCatch(function(e){return e=e||window,{left:hj.hq(e).scrollLeft(),top:hj.hq(e).scrollTop()}},"common"),e.getBottomAsPercentage=hj.tryCatch(function(){var e=parseInt(1e3*(hj.hq(window).scrollTop()+hj.ui.getWindowSize().height)/hj.hq(document).height(),10);return Math.min(1e3,e)},"common"),e.disableScrolling=hj.tryCatch(function(e){var t=hj.ui.getScrollPosition();hj.hq(document).on("scroll.hotjarDisable resize.hotjarDisable mousewheel.hotjarDisable DOMMouseScroll.hotjarDisable touchmove.hotjarDisable",hj.tryCatch(function(i){i.preventDefault(),window.scrollTo(t.left,t.top),e&&e()},"common"))},"common"),e.enableScrolling=hj.tryCatch(function(){hj.hq(document).off("scroll.hotjarDisable"),hj.hq(document).off("resize.hotjarDisable"),hj.hq(document).off("mousewheel.hotjarDisable"),hj.hq(document).off("DOMMouseScroll.hotjarDisable"),hj.hq(document).off("touchmove.hotjarDisable")},"common"),e}(),hj.dom=function(){var e={getCSSURLs:function(){var e=[],t=document.styleSheets;return hj.log.debug("Getting CSS","dpc","Starting"),t&&t.length>0&&hj.hq.each(t,function(t,i){i.href&&0===i.href.indexOf("http")&&(hj.log.debug("Getting CSS","dpc",i.href),e.push(i.href))}),e}};return e}(),hj.html=function(){var e={};return e.getPageContent=hj.tryCatch(function(e,t){function i(e,t){t=t||document;var i=parseInt(e.split(":")[0]),n=e.substring(e.indexOf(":")+1);return t.querySelectorAll(n)[i]}t=t||[],hj.treeMirror.getMirroredDocument(function(n){var o=hj.insertedRules.getCurrentInsertedRules(),a={};o.forEach(function(e){var o=i(e.parentSelector,n);if(a[e.parentSelector]||(a[e.parentSelector]=""),"LINK"===o.tagName){var r=o.attributes,s=r.href.value.split(location.hostname).pop().replace("/",""),c=n.querySelector(".blob-hash-"+s);if(!c){c=document.createElement("style"),a[e.parentSelector]=a[e.parentSelector]+"/* Originally: 0&&(t=t.substring(0,i)),0!==(t=t.replace(",","")).indexOf("http")&&(t=a+t),e.src=t}}e.removeAttribute("srcset")}}),Array.prototype.slice.call(e.getElementsByTagName("source")).forEach(function(e){e.attributes.srcset&&e.removeAttribute("srcset")}),[].forEach.call(e.querySelectorAll("script"),function(e){e.parentNode.removeChild(e)}),t(hj.html.getPageDoctype()+e.documentElement.outerHTML)}(n,e,t)})},"common"),e.getPageDoctype=hj.tryCatch(function(){return null===document.doctype?"":"\n"},"common"),e}(),hj.features=function(){var e={};return e.getFeatures=hj.tryCatch(function(){return hj.settings.features||[]},"hj.features.getFeatures"),e.hasFeature=hj.tryCatch(function(t){return e.getFeatures().indexOf(t)>-1},"hj.features.hasFeature"),e}(),hj.cssBlobs=function(){var e={},t=[];return e.register=function(e){t.push(e)},e.handleBlobStyles=hj.tryCatch(function(e){var i,n=[];if("link"===e.tagName.toLowerCase()&&"rel"in e.attributes&&"stylesheet"===e.attributes.rel.value&&"href"in e.attributes&&0===e.attributes.href.value.indexOf("blob:")){i=hj.selector().get(hj.hq(e));for(var o=0,a=e.sheet.cssRules.length;o>>((3&t)<<3)&255;return o}}},function(e,t,i){var n=i(179),o=i(180);e.exports=n("v5",80,o)},function(e,t,i){var n=i(105);e.exports=function(e,t,i){var o=function(e,o,a,r){var s=a&&r||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),i=0;i>>32-t}e.exports=function(e){var t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var a=unescape(encodeURIComponent(e));e=new Array(a.length);for(var r=0;r>>0;m=f,f=g,g=o(_,30)>>>0,_=u,u=y}i[0]=i[0]+u>>>0,i[1]=i[1]+_>>>0,i[2]=i[2]+g>>>0,i[3]=i[3]+f>>>0,i[4]=i[4]+m>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},function(e,t){hj.tryCatch(function(){hj.xcom=hj.tryCatch(function(){var e,t={},i=[],n=1,o=2,a=10,r=n,s="https://"+hj.insightsHost+"/x",c=hj.tryCatch(function(){if(r==n){window.addEventListener?window.addEventListener("message",d,!1):window.attachEvent("onmessage",d),r=o;var t=document.createElement("iframe");t.style.position="fixed",t.style.top=-100,t.style.left=-100,t.width=1,t.height=1,t.id="_hjXcomProxyFrame",t.src=s,document.body.appendChild(t),e=document.getElementById("_hjXcomProxyFrame")}},"data");t.send=hj.tryCatch(function(t,n){r==a?e.contentWindow.postMessage({eventId:t,data:n},"*"):(i.push({eventId:t,data:n}),c())});var d=function(e){"knockknock"==e.data.eventId&&(r=a,i.forEach(function(e){t.send(e.eventId,e.data)}),i=[])};return t},"xcom")()},"xcom")()},function(e,t,i){i(183),i(184),i(185),i(186),i(220),i(187),i(188)},function(e,t,i){"use strict";i.r(t);var n=i(18);hj.visitData=hj.tryCatch(function(){var e,t={};return t.getPageVisitInfo=hj.tryCatch(function(e,t,i){var n=e.get("pageInfo"),o=hj.globals.get("acceptLanguage"),a=hj.globals.get("userAgent");hj.hq.isUndefined(o)&&hj.exceptions.log("While sending recording/heatmap_helo event - acceptLanguage is not available in globals, this should never happen","behavior-data"),hj.hq.isUndefined(a)&&hj.exceptions.log("While sending recording/heatmap_helo event - userAgent is not available in globals, this should never happen","behavior-data");var r={script_revision:window.hjBootstrap.revision,accept_language:o||"",user_agent:a||"",page_url:n.url,url_hash:n.urlMD5,window_width:t.width,window_height:t.height,site_id:i},s=document.referrer;return""!==s&&(r.referrer=s),r},"data"),t.trackView=hj.tryCatch(function(){hj.viewCounterEndpoint&&hj.settings.site_id&&Math.random()<=hj.viewCounterHitPercentage&&(hj.log.debug("View counter tracking","visitData"),hj.ajax.postAsPlainText("".concat(hj.viewCounterEndpoint,"/").concat(hj.settings.site_id,"?s=").concat(hj.viewCounterHitPercentage)))},"data"),t.track=hj.tryCatch(function(i){t.property=hj.property.create(),hj.eventStream.setCurrentPageVisitKey(t.property.key),i=i||document.location.href,hj.log.debug("Tracking "+i,"visitData"),t.property.set("pageInfo",{url:i,urlMD5:hj.md5(hj.b64EncodeUnicode(i))}),e({url:i,isVpv:!1})},"data"),t.trackVpv=hj.tryCatch(function(t){t=t||document.location.href,hj.log.debug("Tracking vpv"+t,"visitData"),e({url:t,isVpv:!0})},"data"),e=hj.tryCatch(function(e){if(!hj.isPreview){var t=e.url||document.location.href,i=hj.ui.getWindowSize(),o={window_width:i.width,window_height:i.height,included_in_sample:hj.includedInSample,insert_traffic_log_entry:!0,suppress_location:hj.settings.suppress_location||!1,url:t,r_value:hj.settings.r,is_vpv:e.isVpv},a=hj.apiUrlBaseV2;o.user_id=n.a.get(),hj.log.debug("Sending visit-data request. (Insert Traffic Log Entry: "+o.insert_traffic_log_entry+")","visitData",o),hj.ajax.postAsJSON("".concat(a,"/client/sites/").concat(hj.settings.site_id,"/visit-data?sv=").concat(_hjSettings.hjsv||0),o,hj.tryCatch(function(e){if(e.success){var t=e.user_agent,i=e.accept_language,n=o.user_id;hj.hq.isUndefined(hj.globals.get("isNotBot"))&&hj.globals.set("isNotBot",!0),hj.hq.isUndefined(hj.globals.get("userAgent"))&&(hj.globals.set("userAgent",t),hj.log.warnIfEmpty(t,"visit-data: user-agent")),hj.hq.isUndefined(hj.globals.get("acceptLanguage"))&&(hj.globals.set("acceptLanguage",i),hj.log.warnIfEmpty(i,"visit-data: accept-language")),hj.hq.isUndefined(hj.globals.get("userId"))&&(hj.globals.set("userId",n),hj.log.warnIfEmpty(n,"visit-data: userId"))}},"data"))}},"data"),t},"data")(),hj.pageVisit=hj.visitData},function(e,t,i){"use strict";i.r(t);var n=i(18),o=i(37);hj.request=hj.tryCatch(function(){var e={},t={granted:null,callbacks:[],inProgress:!1},i=n.a.get();function a(e,t,n,a){var r=hj.ui.getWindowSize();n.window_width=n.window_width||r.width,n.window_height=n.window_height||r.height,n.user_id=i,n.url=document.location.href,hj.ajax.postAsJSON("".concat(hj.apiUrlBase,"/client/sites/").concat(hj.settings.site_id,"/").concat(e,"/").concat(t),n,function(e){a&&a(e)}),hj.includedInSample||o.user.sendCachedAttributes()}return e.getConsentGranted=hj.tryCatch(function(e){var n,o="?";null!==t.granted&&e?e(t.granted):(e&&t.callbacks.push(e),t.inProgress||(o+="user_id="+(hj.globals.get("userId")||i),t.inProgress=!0,hj.ajax.get("".concat(hj.apiUrlBase,"/sites/").concat(hj.settings.site_id,"/consent").concat(o),function(e){for(t.granted=e.success&&-1!==e.scopes.indexOf("associate"),t.inProgress=!1;n=t.callbacks.pop();)hj.tryCatch(n,"ConsentData")(t.granted)},function(){for(t.granted=!1,t.inProgress=!1;n=t.callbacks.pop();)hj.tryCatch(n,"ConsentData")(t.granted)})))}),e.grantConsent=hj.tryCatch(function(e,n){var o=hj.globals.get("userId");e.user_id=o||i,e.action="grant_for_response",hj.ajax.postAsJSON("".concat(hj.apiUrlBase,"/sites/").concat(hj.settings.site_id,"/consent/associate"),e,function(e){e.success?t.granted=!0:t.granted=!1,n&&hj.tryCatch(n,"GrantConsent")(t.granted)},function(){t.granted=!1})}),e.saveFeedbackResponse=hj.tryCatch(function(e,t){var i=hj.widget.feedbackData.id;e.action="feedback_widget_response",e.response.hasOwnProperty("emotion")&&hj.event.signal("feedback.sentiment",{emotion:e.response.emotion,id:i}),hj.event.signal("feedback.send",{id:i}),a("feedback",i,e,function(e){hj.tryCatch(t,"Data")(e)})},"data"),e.savePollResponse=hj.tryCatch(function(e,t){var i=hj.widget.pollData.id;"create_poll_response"===e.action&&hj.event.signal("poll.send",{id:i}),a("polls",i,e,function(e){hj.tryCatch(t,"Data")(e)})},"data"),e},"data")()},function(e,t){hj.resource=function(){var e={},t=new RegExp("<.+:(.+)>");function i(e,t){for(var i=[],n=0;n/recordings/content",{post:["POST",["content"]]},!0),e.TokenRestrictedStorage=o("/api/v1/trs/",{put:["PUT",["token","data"]]},!1),e}()},function(e,t){var i;hj.ajax=((i={}).get=hj.tryCatch(function(e,t,i){t=t||hj.hq.noop,i=i||hj.hq.noop,hj.hq.ajax({url:e,success:hj.tryCatch(t,"Data"),error:hj.tryCatch(i,"Data")})},"data"),i.postAsJSON=hj.tryCatch(function(e,t,i,n){i=i||hj.hq.noop,n=n||hj.hq.noop,hj.hq.ajax({url:e,type:"POST",data:JSON.stringify(t),contentType:"application/json; charset=UTF-8",success:hj.tryCatch(i,"Data"),error:hj.tryCatch(n,"Data")})},"data"),i.postAsPlainText=hj.tryCatch(function(e){hj.hq.ajax({url:e,type:"POST",contentType:"text/plain"})},"data"),i.putAsJSON=hj.tryCatch(function(e,t,i,n){i=i||hj.hq.noop,n=n||hj.hq.noop,hj.hq.ajax({url:e,type:"PUT",data:JSON.stringify(t),contentType:"application/json; charset=UTF-8",success:hj.tryCatch(i,"Data"),error:hj.tryCatch(n,"Data")})},"data"),i)},function(e,t,i){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}hj.property=hj.tryCatch(function(){var e={},t=i(66);return e.create=hj.tryCatch(function(){var e={key:t()},i={},o={};return e.ready=hj.tryCatch(function(t,n){n=hj.tryCatch(n,"Data"),o[t]?(hj.log.debug("Property "+t+" is ready. Calling callback() now.","property",n),n(e)):(hj.log.debug("Property "+t+" is not ready. Saving callback().","property",n),i[t]?i[t].push({callback:n,executed:!1}):i[t]=[{callback:n,executed:!1}])},"data"),e.set=hj.tryCatch(function(t,a){hj.log.debug("Setting properties."+t+" to "+a,"property"),o[t]=a,"object"===n(i[t])&&hj.hq.each(i[t],function(i,n){n.executed||(hj.log.debug("Calling "+t+" callback.","property"),n.callback(e),n.executed=!0)})},"data"),e.get=hj.tryCatch(function(e){return o[e]},"data"),e},"data"),hj.globals=e.create(),e},"data")()},function(e,t){hj.event=function(){var e={},t={},i={};function n(e,t,i){e[t]||(e[t]=[]),e[t].push(i)}return e.listen=hj.tryCatch(function(o,a){n(t,o,a),function(t){i[t]&&(i[t].forEach(function(i){e.signal(t,i)}),delete i[t])}(o)},"hj.event.listen"),e.signal=hj.tryCatch(function(e,o,a){t[e]?t[e].forEach(function(e){e(o)}):a?n(i,e,o):i[e]=[o]},"hj.event.signal"),e.clearAllListeners=hj.tryCatch(function(){t=[],i=[]},"data"),e}()},function(e,t){hj.tryCatch(function(){hj.remoteStorage=hj.tryCatch(function(){var e={},t={},i=0,n=!1,o="https://"+hj.varsHost.replace(/:$/,""),a=window.hjBootstrap.varsJar;function r(e){if((e.origin||e.originalEvent.origin)==o)try{var i=JSON.parse(e.data);(0,t[i.messageId])(i),delete t[i.messageId]}catch(e){return null}}function s(e,s){var c;n||(window.addEventListener?window.addEventListener("message",r,!1):window.attachEvent("onmessage",r)),s&&(c=i++,t[c]=s,e.messageId=c),e=JSON.stringify(e),window.hjBootstrap.varsLoaded?a.contentWindow.postMessage(e,o):hj.event.listen("varsLoaded",function(){a.contentWindow.postMessage(e,o)})}return e.get=hj.tryCatch(function(e,t,i){s({action:"_hjGet",key:e,siteId:i||hj.settings.site_id},function(e){t(e.value)})}),e.set=hj.tryCatch(function(e,t,i,n){s({action:"_hjSet",key:e,value:t,expiresMinutes:i||525600,siteId:n||hj.settings.site_id})}),e.remove=hj.tryCatch(function(e,t){s({action:"_hjRemove",key:e,siteId:t||hj.settings.site_id})}),e},"remoteStorage")(),hj.remoteCookieJar=hj.remoteStorage},"remoteStorage")()},function(e,t){hj.tryCatch(function(){var e;hj.loader.registerModule("IntegrationsModule",(e={},hj.integrations=hj.tryCatch(function(){var e={};return e.google_analytics=hj.tryCatch(function(){var e,t,i,n,o,a,r,s,c,d={},l=60,p=!0;return d.setup=hj.tryCatch(function(t){var n=t.hjuid_dimension_index;n&&"string"==typeof n&&n.match("^[1-9][0-9]*$")&&(r="dimension"+n,hj.log.debug("GA - setup complete. Looking for GA module.","integration"),e(),i())}),e=hj.tryCatch(function(){hj.log.debug("GA - waiting for userId.","integration"),hj.globals.ready("userId",t)},"integrations"),t=hj.tryCatch(function(e){var t=e.get("userId");t&&"string"==typeof t&&(t.length<8||(hj.log.debug("GA - got userId.","integration"),c=t.substring(0,8),a()))},"integrations"),i=hj.tryCatch(function(){var e,t;if(!s){if(e=window.GoogleAnalyticsObject,"function"==typeof(t=window[e||"ga"]))return hj.log.debug("GA - found GA module; waiting for tracker.","integration"),void t(n);l<=0?hj.log.debug("GA - has given up looking for GA module.","integration"):(l-=1,setTimeout(i,500))}},"integrations"),n=hj.tryCatch(function(e){o(e,!0)},"integrations"),d.setTracker=hj.tryCatch(function(e){o(e,!1)},"integrations"),o=hj.tryCatch(function(e,t){r&&e&&(s&&t||(s!==e&&(hj.log.debug("GA - got fresh tracker.","integration"),p=!0),s=e,a()))},"integrations"),a=hj.tryCatch(function(){p&&c&&s&&r&&(hj.log.debug("GA - ready to fire.","integration"),p=!1,s.set(r,c),s.send("event","Hotjar","detect_user",c,{nonInteraction:1}),hj.log.debug("GA - successfully sent detect_user event.","integration"))},"integrations"),d},"integrations")(),e.optimizely=function(){var e={},t={},i=window.optimizely;function n(e){"applied"===e.name&&(hj.log.debug("Optimizely - campaign decided; ready to tag experiments.","integration"),o())}function o(){var e,n,o,a,r;hj.log.debug("Optimizely - attempting to tag active experiments.","integration"),hj.log.debug("Optimizely - refreshing active experiment variation map.","integration"),t={},i&&"get"in i&&(a=i.get("state"),r=i.get("data"),a.getActiveExperimentIds().forEach(function(i){n=r.experiments[i].name||i,e=a.getVariationMap()[i],o=e.name||e.id,t[n]=o})),hj("tagRecording",function(){hj.log.debug("Optimizely - looking for tags.","integration");var e=[];for(var i in t)e.push(i+"/"+t[i]);return e.length>0?hj.log.debug("Optimizely - found "+e.length+" tags.","integration",e):hj.log.debug("Optimizely - no tags found.","integration"),e}())}return e.setup=function(){hj.log.debug("Optimizely - listening for campaignDecided event.","integration"),(i=window.optimizely||[]).push({type:"addListener",filter:{name:"campaignDecided"},handler:n}),o()},e}(),e},"integrations")(),e.run=hj.tryCatch(function(){var e=hj.settings.integrations;e&&(e.optimizely&&e.optimizely.tag_recordings&&hj.integrations.optimizely.setup(),e.google_analytics&&hj.integrations.google_analytics.setup(e.google_analytics))}),e),!1)},"integrations")()},function(e,t,i){hj.tryCatch(function(){hj.notification=function(){var e={},t="_hj-f5b2a1eb-9b07_hotjar_notification",n=' ",o='
×
<% if (status) { %>
">
<% } %>
<% if (title) { %> <%= title %> <% } %> <% if (message) { %>
<%= message %> <% } %>
';function a(){hj.hq("#"+t).removeClass(t+"_active"),setTimeout(function(){hj.hq("#"+t).remove()},350)}return e.show=function(e,i,r){r=r||"good";var s=hj.rendering.renderTemplate(n+o,{title:e,message:i,status:r});s?(hj.rendering.addToDom(t,s),hj.hq("."+t+"_close").on("click",a),setTimeout(function(){hj.hq("#"+t).addClass(t+"_active")},1)):hj.log.debug("Notification could not be rendered.","notifications")},e}()},"notifications")()},function(e,t,i){e.exports=i.p+"checkmark@2x.6c5c82.png"},function(e,t){hj.tryCatch(function(){var e=[];hj.selector=function(t){var i={2:{ignoreClassList:["over","hover","active","selected","scrolled"],ignoreBodyClasses:!0,ignoreUUIDClasses:!0,maxClassesAllowed:5,disallowedTagNameCharactersRE:/[^a-zA-Z0-9-_]/g}};return e[t=!t||t<2?2:t]||(e[t]={get:function(e){return function(e,t){var i=/(#|@|&|~|=|>|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,n=t.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}},o=hj.tryCatch(function(e){var t,i,n,o,s,c;if(o=function(e,i){for(n=hj.hq(i),t=0;t"+n+i)},"common"),r=function(e){var o=[];return!(void 0===(e=hj.hq.trim((e||"").replace(/\s\s+/g," ")))||""===e||e.indexOf("yui_")>-1||!isNaN(e.charAt(0)))&&((e=e.replace(i,"\\$1")).split(/\s/g).forEach(function(e){!(o.length=0}(e[0])?hj.log.debug('Command "'+e[0]+'" blocked due to opt-out',"command"):hj.tryCatch(n,"command")(a):hj.log.debug('Unknown command: "'+e[0]+'"',"command"),i.length>0&&hj.tryCatch(s)()}return t.vpv=function(e){var t=e[0];hj.optOut||(hj.includedInSample&&t&&(hj.log.debug('Sending virtual page view for URL "'+location.protocol+"//"+location.hostname+t+'"',"command"),hj.visitData.trackVpv(location.protocol+"//"+location.hostname+t)),hj.visitData.trackView())},t.stateChange=function(e){var t=e?hj.url.getUrlFromString(e[0]):window.location.href;hj.log.debug('Changing state to URL "'+t+'"',"command"),hj.currentUrl&&hj.currentUrl!=t&&hj._init.reinit(t)},t.formSubmitSuccessful=function(){hj.forms.cmdFormSubmitSuccessful()},t.formSubmitFailed=function(){hj.forms.cmdFormSubmitFailed()},t.tagRecording=function(e){e[0]&&hj.behaviorData.tagRecording(e[0])},t.trigger=function(e){e[0]&&hj.event.signal("trigger:"+e[0])},t.identify=function(e){e[1]?n.user.set(e[0],e[1]):null!=e[0]&&"object"===o(e[0])&&n.user.set(null,e[0])},t.gaSetTracker=function(e){e[0]&&hj.integrations.google_analytics.setTracker(e[0])},t._xhr=function(){},t.ready=function(e){e.forEach(function(e){e()})},e.run=function(){hj.command=this},e.activate=function(){a||(a=!0,i.push=function(){var e;for(e=0;e0&&s())},hj.initialVisitDataSent&&e.activate(),e}(),!0)},"command")()},function(e,t){hj.tryCatch(function(){var e;hj.loader.registerModule("DeferredPageContentModule",(e={},hj.sendPageContent=function(e,t,i,n){var o="".concat(hj.apiUrlBase,"/sites/").concat(hj.settings.site_id,"/deferred-page-content/").concat(e),a=hj.url.getParameter("hjDelay"),r=a||1e3;function s(t){setTimeout(hj.tryCatch(function(){(t||e)&&hj.html.getPageContent(function(e){hj.log.warnIfEmpty(e,"sendPageContent.sendNewContent: pageContent"),hj.ajax.postAsJSON(o,{url:location.href,content:e,token:t,scrolled:i},hj.tryCatch(function(e){e.success&&n?n():!1===e.success&&n(e.error)}))})},"dpc.sendNewContent"),r)}t?s(t):hj.globals.ready("isNotBot",hj.tryCatch(function(){hj.ajax.get("".concat(o,"/is-empty"),function(e){e.is_empty&&(hj.log.debug("Deferred page content is empty: "+e.is_empty,"DeferredPageContent"),s())})},"dpc.isNotBot-callback"))},e.run=function(e){hj.hq.each(hj.settings.deferred_page_contents||[],function(t,i){hj.targeting.matchRules(i.targeting,e,function(){return hj.sendPageContent(i.id),!1})})},e),!1)},"deferredpagecontent")()},function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}hj.tryCatch(function(){hj.dataHjSuppressedAttributeHandler=hj.tryCatch(function(){var e={},t=function(e,t){var i,n,o,a,r;[["src","https://"+hj.insightsHost+"/static/app/img/transparent.png"],["style",(i=t,n="https://"+hj.insightsHost+"/static/app/img/suppressed.png",o=(i.meta||{}).style||{},a=o.width,r=o.height,[i.style,'background: url("'+n+'") repeat !important',a?"width: "+a:"",r?"height: "+r:""].filter(function(e){return e})).join(";")]].forEach(function(t){e.setAttribute(t[0],t[1])})};return e.wrapSetAttribute=hj.tryCatch(function(e){return function(n,o,a){return"data-hj-suppressed"===o&&"object"===i(a)?(t(n,a),!0):e(n,o,a)}}),e},"hj.dataHjSuppressedAttributeHandler")()},"hj.dataHjSuppressedAttributeHandler")()},function(e,t){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}hj.tryCatch(function(){var e=function(){var t="*",i=16,n=/\S+/g,o=/\s?background[^;]+;?\s?/g;function a(){return Math.random()<.5?-1:1}function r(e,n){return e=e||i,n=n||t,new Array(e+1).join(n)}var s=hj.tryCatch(function(e){var t={};return e.style&&e.style.width||(t.width=e.offsetWidth+"px"),e.style&&e.style.height||(t.height=e.offsetHeight+"px"),t},"Suppresser.getSuppressedImageSize"),c=hj.tryCatch(function(e){return e&&e.length?e.replace(n,function(e){return r(Math.max(1,e.length+a()))}):r(i+a())},"Suppresser.textHandler"),d=hj.tryCatch(function(e){return hj.settings.anonymize_emails&&(e=e.replace(b,c)),hj.settings.anonymize_digits&&(e=e.replace(h,c)),e=e.replace(g,function(e){return e.replace(h,c)})},"Suppresser.textContentHandler"),l=hj.tryCatch(function(){return r()},"Suppresser.passwordHandler"),p=hj.tryCatch(function(){return r(i,1)},"Suppresser.numberHandler"),u=hj.tryCatch(function(e){var t=e?16:10;return new Date(2839968e5).toISOString().substring(0,t)},"Suppresser.getLocalDateStr"),_=hj.tryCatch(function(){return u(!1)},"Suppresser.dateHandler"),f=hj.tryCatch(function(){return u(!0)},"Suppresser.datetimeHandler"),m=hj.tryCatch(function(){return"00:00"},"Suppresser.timeHandler"),y=hj.tryCatch(function(){return"1979-01"},"Suppresser.monthHandler"),w=hj.tryCatch(function(){return"1979-W1"},"Suppresser.weekHandler"),v=hj.tryCatch(function(e){if(e)return e.replace(o,"")},"Suppresser.imageStyleHandler"),j={full:c,partial:d,textContent:d,password:l,number:p,date:_,datetime:f,"datetime-local":f,time:m,month:y,imgStyle:v,week:w};return{getSuppressedText:function(e,t){return j[e]?j[e](t):c(t)},getSuppressedImageNode:function(t){var i={src:"",meta:{style:s(t)}},n=e.getSuppressedText("imgStyle",t.getAttribute("style"));return n&&(i.style=n),i}}}(),t=["button","reset","submit"],n=hj.tryCatch(function(e){var i=e.tagName.toLowerCase(),n=e.type.toLowerCase();return"input"===i&&t.indexOf(n)>-1},"hj.privacy._isWhitelistedInputType"),o=["default-style","content-type","refresh"],a=function(e){var t=e["http-equiv"]&&e["http-equiv"].value;return!t||o.some(function(e){return!!t.match(e)})},r=hj.tryCatch(function(e){return hj.settings.recording_capture_keystrokes&&(e.attributes&&void 0!==e.attributes["data-hj-whitelist"]||e.className&&e.className.indexOf("data-hj-whitelist")>-1)},"hj.privacy._isUserWhitelisted"),s=["password","email","hidden"],c=hj.tryCatch(function(e){var t=e.tagName.toLowerCase(),i=e.type.toLowerCase();return"input"===t&&s.indexOf(i)>-1},"hj.privacy._isBlacklistedInputType"),d=["address","address1","address2","addressline1","addressline2","cell","cellphone","dateofbirth","dob","email","familyname","firstname","fullname","lastname","mobile","name","phone","postalcode","postcode","surname","tel","telephone","username","zip","zipcode","nationalinsurancenumber","nin","ppsn","security","securitynum","socialsec","socialsecuritynumber","socsec","ssn","adgangskode","authpw","contrasena","contrasenya","contraseña","contrasinal","cyfrinair","fjalëkalim","focalfaire","geslo","hasło","heslo","jelszó","kennwort","kωδικός","kωδικόςπρόσβασης","lozinka","lykilorð","lösenord","motdepasse","parakalw","parola","paroladordine","parole","parool","pasahitza","pass","passord","password","passwort","pw","pwd","pword","pwrd","salasana","sapwd","senha","sifre","slaptažodis","userpw","userpwd","wachtwoord","лозинка","парола","пароль","פּאַראָל","كلمهالسر","पासवर्ड","パスワード","密码","密碼","암호","cc","cccsc","cccvc","cccvv","ccexp","ccexpiry","ccexpmonth","ccexpyear","ccname","ccnum","ccnumber","cctype","creditcard","csc","cvc","cvv","exp","accountnum","accountnumber","bic","iban","ibanaccountnum","ibanaccountnumber","pin","pinno","pinnum","secq","secret","secretq","secretquestion","securityq","securityquestion","sortcode","swift"],l=hj.tryCatch(function(e){return[e.name,e.id].map(function(e){return e.replace(/[\s_-]+/g,"").toLocaleLowerCase()}).some(function(e){return d.indexOf(e)>-1})},"hj.privacy._hasSuppressedNameOrId"),p=/\d+/,h=new RegExp(p.source,"g"),u=hj.tryCatch(function(e){return p.test(e)},"hj.privacy._hasDigitSequence"),_=/([+(]{0,2}\d[-_ ()\/]{0,4}){9,}/,g=new RegExp(_.source,"g"),f=hj.tryCatch(function(e){return _.test(e)},"hj.privacy._hasCCNumOrSSN"),m=/[^@\s]+@[^@\s]+\.[^@\s]+/,b=new RegExp(m.source,"g"),y=hj.tryCatch(function(e){return e.indexOf("@")>-1&&m.test(e)},"hj.privacy._hasEmail"),w=[function(e){return!!hj.settings.anonymize_digits&&u(e)},function(e){return!hj.settings.anonymize_digits&&f(e)},function(e){return!!hj.settings.anonymize_emails&&y(e)}],v=["style","script"],j=hj.tryCatch(function(e){if(e&&e.tagName){var t=e.tagName.toLowerCase();return v.indexOf(t)>-1}},"hj.privacy._isWhitelistedElement"),k=hj.tryCatch(function(e,t){return(!t||!j(t))&&w.some(function(t){return t(e)})},"hj.privacy._shouldSuppressTextContent"),x=hj.tryCatch(function(e){return e.value||e.textContent}),S=[c,l,function(e){return f(x(e))},function(e){return y(x(e))}],C=hj.tryCatch(function(e){return S.some(function(t){return t(e)})},"hj.privacy._shouldSuppressInputOrTextarea"),E=hj.tryCatch(function(e){return"object"===i(e.attributes)&&(void 0!==e.attributes["data-hj-suppress"]||void 0!==e.attributes["data-hj-masked"])||"string"==typeof e.className&&e.className&&e.className.indexOf("data-hj-suppress")>-1},"hj.privacy._isExplicitlySuppressed"),T=hj.tryCatch(function(e){var t=Object.prototype.toString.call(e);return-1!==["[object HTMLDocument]","[object Document]"].indexOf(t)},"hj.privacy._isDocument"),I=hj.tryCatch(function(e){for(;e&&!T(e);){if(E(e))return!0;e=e.parentNode?e.parentNode:null}return!1},"hj.privacy._isSelfOrAncestorSuppressed");hj.privacy=hj.tryCatch(function(){var t={};return t.isRiskyNotWhitelistedOrSuppressedElement=hj.tryCatch(function(e,t){if(void 0===e||!e||void 0===e.tagName)return!1;if(hj.settings.suppress_all)return!0;if(hj.settings.suppress_text)return"IMG"!==e.tagName||!t||"src"!==t.name&&"style"!==t.name||I(e);var i="TEXTAREA"===e.tagName||"INPUT"===e.tagName&&!n(e);return i&&r(e)?C(e):i||I(e)},"hj.privacy.isRiskyNotWhitelistedOrSuppressedElement"),t.isAttributeSuppressable=hj.tryCatch(function(e,t,i,n){var o={INPUT:{attrs:["value"]},TEXTAREA:{attrs:["value"]},A:{attrs:["href"],shouldSuppressAttrValueCheck:function(e){return!!!e.match(/^data:/)}},OPTION:{attrs:["label","value"]},PROGRESS:{attrs:["value"]},OPTGROUP:{attrs:["label"]},IMG:{attrs:["alt"]},DIV:{attrs:["title"]},META:function(e,t,i){switch(e){case"content":return(!i.name||"viewport"!==i.name.value)&&(!i["http-equiv"]||!a(i));case"name":return"viewport"!==t;case"http-equiv":return!a(i);case"charset":return!1;default:return!0}}}[e];return void 0!==o&&("function"==typeof o?o(t,i,n):!(o.attrs.indexOf(t)<0)&&(void 0===o.shouldSuppressAttrValueCheck||o.shouldSuppressAttrValueCheck(i)))},"hj.privacy.isAttributeSuppressable"),t.hasPotentialPIIData=hj.tryCatch(function(e,t){return t=T(t)?null:t,k(e,t)},"hj.privacy.hasPotentialPIIData"),t.getSuppressedText=hj.tryCatch(function(t,i){return e.getSuppressedText(t,i)},"hj.privacy.getSuppressedText"),t.getSuppressedTextNode=hj.tryCatch(function(i,n){var o=i.parentNode||null,a=(n=n||t.isRiskyNotWhitelistedOrSuppressedElement(o))||o&&"textarea"===o.type?"full":"partial";return{content:(n=!j(o)&&(n||t.hasPotentialPIIData(i.textContent,o)))?e.getSuppressedText(a,i.textContent):i.textContent,shouldSuppressNode:n}}),t.getSuppressedNodeAttribute=hj.tryCatch(function(i,n,o){var a=n.value,r=n.name;if("data-hj-suppressed"!==r)return"IMG"!==i.tagName||"src"!==r&&"srcset"!==r&&"style"!==r||(o=t.isRiskyNotWhitelistedOrSuppressedElement(i,n),t.isRiskyNotWhitelistedOrSuppressedElement(i,n)&&(r="data-hj-suppressed",a=e.getSuppressedImageNode(i))),t.isAttributeSuppressable(i.tagName,r,a,i.attributes)&&((o=o||t.isRiskyNotWhitelistedOrSuppressedElement(i))||"META"===i.tagName?a=e.getSuppressedText("full",a):t.hasPotentialPIIData(a)&&(a=e.getSuppressedText("partial",a))),{name:r,value:a,shouldSuppressNode:o}}),t.getSuppressedNode=hj.tryCatch(function(e,i){for(var n={},o=i,a=0;adocument.body.clientWidth||document.body.clientHeight&&s>document.body.clientHeight||(o++,t&&clearInterval(t),t=setTimeout(r,e.time),function(t,i){var n=Math.abs(t-a.x),o=Math.abs(i-a.y);Math.sqrt(Math.pow(n,2)+Math.pow(o,2))>e.distance&&r()}(i.clientX,i.clientY),a.x=i.clientX,a.y=i.clientY,o===e.clicks&&hj.autotag.rageClick())}return i.listen=function(){e=n[hj.deviceDetection.getDevice()],hj.hq(document).on("mousedown.user_behavior_rageclick",s)},i}(),t=function(){var e,t,i={},n={desktop:{time:1e3,directionChanges:4},mobile:{time:1e3,directionChanges:4},tablet:{time:1e3,directionChanges:4}},o=0,a=!1,r=0;function s(){o=0,a=!1}function c(){t&&clearInterval(t),t=setTimeout(s,e.time);var i=hj.hq(window).scrollTop(),n=r-i<0?"down":"up";a&&n!==a&&++o===e.directionChanges&&hj.autotag.wildScroll(),a=n,r=i}return i.listen=function(){e=n[hj.deviceDetection.getDevice()],hj.hq(document).on("scroll.user_behavior_wildscroll",c)},i}(),i=function(){var e,t,i={},n={desktop:{time:100,distance:200,directionChanges:5},mobile:{time:100,distance:200,directionChanges:5},tablet:{time:100,distance:200,directionChanges:5}},o=0,a={x:!1,y:!1},r={x:0,y:0},s={x:0,y:0};function c(){o=0,a.x=!1,a.y=!1}function d(i){var n={x:i.clientX,y:i.clientY},d={x:n.x
<%=legalName%>
',{p:t.widgetAttributePrefix,legalName:i,privacyPolicyUrl:new hj.rendering.TrustedString(n)})),o}),t.enterFullScreen=hj.tryCatch(function(){var e,i;t.isPhoneOrTablet()&&((e=hj.hq("body")).addClass("_hj-f5b2a1eb-9b07_position_fixed"),0===hj.hq("#hotjar-viewport-meta").length&&((i=document.createElement("meta")).id="hotjar-viewport-meta",i.name="viewport",i.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",document.getElementsByTagName("head")[0].appendChild(i)),e.addClass("_hj-f5b2a1eb-9b07_fullscreen_page"))},"common"),t.exitFullScreen=hj.tryCatch(function(){hj.hq("#hotjar-viewport-meta").remove(),hj.hq("body").removeClass("_hj-f5b2a1eb-9b07_fullscreen_page").removeClass("_hj-f5b2a1eb-9b07_position_fixed")},"common"),t.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"),t.isNarrowScreen=hj.tryCatch(function(){return hj.hq(window).width()<768},"common"),t.isPhoneOrTablet=hj.tryCatch(function(){return hj.widget.isVeryNarrowScreen()||"phone"===Object(n.a)()||"tablet"===Object(n.a)()},"common"),t.isShortScreen=hj.tryCatch(function(){return hj.hq(window).height()<400},"common"),t.isVeryNarrowScreen=hj.tryCatch(function(){return hj.hq(window).width()<=450},"common"),t.openWidget=hj.tryCatch(function(){var e=hj.isPreview?0:300;hj.widget.ctrl.removeClass("_hj-f5b2a1eb-9b07_widget_collapsed").addClass("_hj-f5b2a1eb-9b07_widget_open").animate({bottom:"0"},e),o="open"},"common"),t.removeActiveWidget=function(e){e=e||function(){},t.activeWidget?(t.activeWidget.removeCallback(e),delete t.activeWidget):e()},t.runLatestMatchingWidget=function(){var e;r.forEach(function(t){(!e||e.created-1?"rtl":"ltr",hj.widget.isActiveLanguageDirectionRtl="rtl"===hj.widget.activeLanguageDirection},"common"),t.toggleWidget=hj.tryCatch(function(){var e=hj.widget.ctrl.hasClass("_hj-f5b2a1eb-9b07_widget_hidden");e?hj.widget.changeState(null,o):hj.widget.changeState(null,"hidden"),hj.isPreview||hj.widget.setMinimized(!e)},"common"),t.zIndexPositionReset=hj.tryCatch(function(){hj.hq("._hj-f5b2a1eb-9b07_lower_zindex").removeClass("_hj-f5b2a1eb-9b07_lower_zindex")},"common"),t.zIndexPositionTop=hj.tryCatch(function(){var e=hj.hq("*");0===hj.hq("._hj-f5b2a1eb-9b07_lower_zindex").length&&hj.hq.each(e,function(e,t){t.style.zIndex>="2147483640"&&hj.hq(t).addClass("_hj-f5b2a1eb-9b07_lower_zindex")})},"common"),t.commonCSS=' ',t),hj.widgetDelay=function(){var e={},t=null;return e.clear=hj.tryCatch(function(){clearTimeout(t),t=null},"hj.widgetDelay.clear"),e.set=hj.tryCatch(function(i,n){e.clear(),t=setTimeout(i,n)},"hj.widgetDelay.set"),e}()},"widgets")()},function(e,t,i){"use strict";i.r(t);var n=i(1),o=i(5);hj.tryCatch(function(){hj.loader.registerModule("Feedback",function(){var e={},t={granted:null,request:!1},a=['
',hj.widget.commonCSS,'','
\x3c!-- Minimized State --\x3e
<%=hj.widget._("feedback")%>
<% if (widgetStyle.emotion === "default") { %>
<% } %>
<%= feedback.content.initial %> <%= feedback.content.thankyou %>
\x3c!-- Opened State --\x3e
\x3c!-- STEP 1: EMOTION --\x3e

<%= feedback.content.emotion %>

<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("hate")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("dislike")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("neutral")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("like")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("love")%>
<% if (features.selectElement) { %>
<%=hj.widget._("select_the_area")%>
<% } %>
\x3c!-- STEP 2: EMAIL --\x3e

<%= feedback.content.email %>

\x3c!-- STEP 3: THANK YOU AND CONSENT --\x3e

<%= feedback.content.thankyou %>

<%=hj.widget.renderLegal(feedback.showLegal)%>
\x3c!-- FOOTER --\x3e
\x3c!-- PAGE HIGHLIGHTER --\x3e
<%=hj.widget._("select_the_area")%>
\x3c!-- DIMMERS (OVERLAY) + ELEMENT HIGHLIGHTER --\x3e
'].join("");function r(){var e,i={showMinimizedMessageTimer:function(){}},a=hj.isPreview?0:200,r=hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_minimized_message"),s=hj.hq("#"+hj.widget.widgetAttributePrefix+"_action_submit"),d=hj.hq("#"+hj.widget.widgetAttributePrefix+"_action_skip"),l=hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback");i.resetDataValues=hj.tryCatch(function(){return{comment:null,email:null,emotion:null,page_content:null,selectors:hj.widget.feedbackData&&hj.widget.feedbackData.auto_screenshot?["html"]:null,viewport:[]}},"feedback"),i.goToFinalState=hj.tryCatch(function(){t.granted?i.endIncomingFeedback(!0):i.goToState("consent")},"feedback"),i.goToState=hj.tryCatch(function(e,n){n=n||0;var r=a;switch("initialized"===e&&(r=0,e="minimized"),i.currentState=e,0===n?l.attr("data-state",e):setTimeout(function(){l.attr("data-state",e)},n),e){case"minimized":hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").removeClass("fade"),hj.widget.zIndexPositionReset(),hj.widget.exitFullScreen(),i.resetScreenshotState(r),setTimeout(function(){i.resetWidget()},n);break;case"emotion":hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").addClass("fade"),hj.widget.zIndexPositionTop(),i.animateFaces(),t.request=hj.widget.feedbackData.ask_for_consent,hj.isPreview?t.granted=!1:hj.request.getConsentGranted(function(e){t.granted=e}),i.setViewportContent(),hj.event.signal("feedback.show",hj.widget.feedbackData);break;case"comment":if(hj.isPreview)i.animateFaces(),void 0===hj.hq("#"+hj.widget.widgetAttributePrefix+"_state-1").attr("data-emotion-chosen")&&hj.hq("#"+hj.widget.widgetAttributePrefix+"_state-1").attr("data-emotion-chosen",10);(hj.widget.isPhoneOrTablet()||"phone"===hj.widget.feedbackData.previewDevice)&&hj.widget.enterFullScreen(),hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").addClass("fade"),hj.isPreview||"desktop"!==Object(o.a)()||hj.hq("#"+hj.widget.widgetAttributePrefix+"_emotion_comment").focus();break;case"email":hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").addClass("fade"),i.resetScreenshotState(r),s.addClass(hj.widget.widgetAttributePrefix+"_btn_disabled"),hj.isPreview||hj.hq("#"+hj.widget.widgetAttributePrefix+"_email").focus();break;case"consent":hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").addClass("fade")}},"feedback"),i.submitState=hj.tryCatch(function(e,n){switch(e=e||i.currentState){case"emotion":i.data.emotion=n,i.canSendResponse=!0,i.setViewportContent(function(){i.goToState("comment")});break;case"comment":i.data.comment=hj.hq("#"+hj.widget.widgetAttributePrefix+"_emotion_comment").val(),""===i.data.comment&&(i.data.comment=null),i.setViewportContent(function(){!1===hj.widget.feedbackData.content.email?t.request?(i.canSendResponse&&(i.sendFeedbackResponse(),i.canSendResponse=!1),i.goToFinalState()):i.endIncomingFeedback(!0):i.goToState("email")});break;case"email":i.validateCurrentState()&&(i.data.email=hj.hq('[data-bind="email"]').val(),t.request?(i.canSendResponse&&(i.sendFeedbackResponse(),i.canSendResponse=!1),i.goToFinalState()):i.endIncomingFeedback(!0));break;case"consent":i.goToState("minimized",a)}},"feedback"),i.skipCurrentState=hj.tryCatch(function(){"email"===i.currentState&&(t.request?(i.canSendResponse&&(i.sendFeedbackResponse(),i.canSendResponse=!1),i.goToFinalState()):(i.data.email=null,i.endIncomingFeedback(!0)))},"feedback"),i.validateCurrentState=hj.tryCatch(function(){var e=!1,t=hj.hq('[data-bind="comment"]').val(),n=hj.hq('[data-bind="email"]').val();switch(i.currentState){case"comment":t&&(e=!0);break;case"email":n&&Object(o.i)(n)&&(e=!0)}return e},"feedback"),i.startIncomingFeedback=hj.tryCatch(function(){var e=hj.widget.feedbackData.position,t=n.a.items.FEEDBACK_SHOW_MESSAGE.get(),o=hj.isPreview?0:2e3;i.goToState("initialized"),"bottom_left"!==e&&"bottom_right"!==e||t&&!hj.isPreview||(r.attr("data-message","initial"),i.showMinimizedMessageTimer=setTimeout(function(){i.setMinimizedMessageVisibility(!0),hj.isPreview||n.a.items.FEEDBACK_SHOW_MESSAGE.set(!0)},o))},"feedback"),i.endIncomingFeedback=hj.tryCatch(function(e){i.canSendResponse&&i.sendFeedbackResponse(),i.goToState("minimized",a),e&&i.showThankYouMessage()},"feedback"),i.sendFeedbackResponse=hj.tryCatch(function(){var e;e={response:{emotion:parseInt(i.data.emotion,10),message:i.data.comment,email:i.data.email},window_width:i.data.window_width,window_height:i.data.window_height},null!==i.data.selectors&&(e.page_content=i.data.page_content,e.viewport=i.data.viewport,e.selectors=i.data.selectors),hj.isPreview||hj.request.saveFeedbackResponse(e,function(e){i.feedbackResponseId=e.feedback_response_id,i.awaitResponseId&&i.awaitResponseId()})},"feedback"),i.setViewportContent=hj.tryCatch(function(e){var t=hj.hq("body").hasClass(hj.widget.widgetAttributePrefix+"_position_fixed"),n=hj.ui.getScrollPosition(),o=hj.ui.getDocumentSize(),a=n.top,r=n.left,s=a+o.height,c=r+o.width;i.data.window_width&&i.data.window_height||(i.data.window_width=o.width,i.data.window_height=o.height),t||i.data.viewport[0]===a&&i.data.viewport[1]===r&&i.data.viewport[2]===s&&i.data.viewport[3]===c?e&&e():hj.html.getPageContent(function(t){i.data.viewport=[a,r,s,c],i.data.window_width=o.width,i.data.window_height=o.height,i.data.page_content=t,e&&e(t)},["#_hj_feedback_container"])},"feedback"),i.setScreenshotState=hj.tryCatch(function(e){var t=hj.hq("body"),n=hj.hq("#"+hj.widget.widgetAttributePrefix+"_toolset_action_select");if(!hj.isPreview)switch(l.attr("data-screenshot",e),e){case"default":i.data.selectors=i.resetDataValues().selectors,l.removeAttr("data-screenshot"),n.removeClass(hj.widget.widgetAttributePrefix+"_toolset_action_active"),hj.widget.isPhoneOrTablet()&&t.addClass(hj.widget.widgetAttributePrefix+"_position_fixed"),i.cancelElementHighlighting(),hj.ui.enableScrolling();break;case"element":i.resetHighlight(),i.enableElementHighlighting(),hj.ui.enableScrolling(),t.removeClass(hj.widget.widgetAttributePrefix+"_position_fixed");break;case"elementSelected":hj.widget.isPhoneOrTablet()&&i.setViewportContent(function(){t.addClass(hj.widget.widgetAttributePrefix+"_position_fixed")}),hj.isPreview||"desktop"!==Object(o.a)()||hj.hq("#"+hj.widget.widgetAttributePrefix+"_emotion_comment").focus(),i.cancelElementHighlighting(),n.addClass(hj.widget.widgetAttributePrefix+"_toolset_action_active")}},"feedback"),i.enableElementHighlighting=hj.tryCatch(function(){var e={x:0,y:0};function t(e){var t=hj.hq(e)[0];n(e)&&i.highlightElement(t)}function n(e){return!hj.hq(e).hasClass(hj.widget.widgetAttributePrefix+"_feedback_selection_ignore")}hj.hq("html").attr("data-hotjar-cursor-pointer","true"),hj.hq("body").on("mouseover.feedback",hj.tryCatch(function(i){i.stopPropagation(),t(i.target),"desktop"===Object(o.a)()&&(e={x:i.clientX,y:i.clientY})},"feedback")),hj.hq(document).on("scroll.feedback resize.feedback",hj.tryCatch(function(){t(document.elementFromPoint(e.x,e.y))},"feedback")),hj.hq("body").on("mousedown.feedback",hj.tryCatch(function(e){var o,a;e.stopPropagation(),e.preventDefault(),n(e.target)&&(t(e.target),o=e.target,a=hj.hq(o),i.data.selectors=[hj.selector().get(a)],i.setScreenshotState("elementSelected"),hj.ui.disableScrolling(function(){i.highlightElement(a[0])}))},"feedback"),void 0,!0)},"feedback"),i.cancelElementHighlighting=hj.tryCatch(function(){hj.hq("body").off("mouseover.feedback"),hj.hq("body").off("mousedown.feedback",void 0,void 0,!0),hj.hq(document).off("scroll.feedback resize.feedback"),hj.hq("html").removeAttr("data-hotjar-cursor-pointer")},"feedback"),i.resetHighlight=hj.tryCatch(function(){var e={top:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_top"),right:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_right"),bottom:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_bottom"),left:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_left")},t=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_highlighter");hj.hq(e.top).removeAttr("style"),hj.hq(e.right).removeAttr("style"),hj.hq(e.bottom).removeAttr("style"),hj.hq(e.left).removeAttr("style"),hj.hq(t).removeAttr("style")}),i.highlightElement=hj.tryCatch(function(e){var t=e.getBoundingClientRect(),i={top:t.top,left:t.left,width:t.width,height:t.height},n={top:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_top"),right:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_right"),bottom:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_bottom"),left:document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_left")},o=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_highlighter"),a={x:8,y:8},r={top:i.top-a.y,left:i.left-a.x,height:i.height+2*a.y,width:i.width+2*a.x};i.top<0&&(r.height=i.height+i.top+a.y,a.y=0,i.height=i.height+i.top,i.top=1,r.top=1),n.top.style.top="0",n.top.style.right="0",n.top.style.left="0",n.top.style.height=Math.max(0,r.top)+"px",n.right.style.top=r.top+"px",n.right.style.right="0",n.right.style.left=r.left+r.width+"px",n.right.style.bottom="0",n.bottom.style.top=r.top+r.height+"px",n.bottom.style.width=Math.max(0,r.width)+"px",n.bottom.style.left=r.left+"px",n.bottom.style.bottom="0",n.left.style.top=r.top+"px",n.left.style.width=Math.max(0,r.left)+"px",n.left.style.left="0",n.left.style.bottom="0",i.height<0?o.style.top="-400px":(o.style.top=i.top-2-a.y+"px",o.style.left=i.left-2-a.y+"px",o.style.width=i.width-4+2*a.x+"px",o.style.height=i.height-4+2*a.y+"px")},"feedback"),i.showThankYouMessage=hj.tryCatch(function(){var e=hj.isPreview?0:500;hj.widget.feedbackData.content.thankyou&&(r.attr("data-message","thankyou"),i.setMinimizedMessageVisibility(!0),setTimeout(function(){i.wink()},e),hj.isPreview||setTimeout(function(){i.setMinimizedMessageVisibility(!1)},5e3))},"feedback"),i.setMinimizedMessageVisibility=hj.tryCatch(function(e){e?l.attr("data-show-message","true"):(clearTimeout(i.showMinimizedMessageTimer),l.removeAttr("data-show-message"))},"feedback"),i.resetWidget=hj.tryCatch(function(){i.canSendResponse=!1,i.currentState=null,i.data=i.resetDataValues(),hj.widget.enableSubmit(),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_state-1").removeAttr("data-emotion-chosen"),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_toolset_action_select").removeClass(hj.widget.widgetAttributePrefix+"_toolset_action_active"),hj.widget.ctrl.find("[data-emotion-option]").removeClass("fade").removeClass("fadeTransition").removeAttr("data-emotion-active"),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_icon_emotion_star").attr("data-score-state","off"),s.addClass(hj.widget.widgetAttributePrefix+"_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"),i.resetScreenshotState=hj.tryCatch(function(e){l.attr("data-screenshot",""),e?setTimeout(function(){l.removeAttr("data-screenshot")},e):l.removeAttr("data-screenshot"),hj.hq("html").removeAttr("data-hotjar-cursor-pointer"),hj.ui.enableScrolling()},"feedback"),i.selectStarRating=hj.tryCatch(function(e){var t;if(!isNaN(e))for(var i=-1;i<4;i++)t=i+1<=parseInt(e)?"on":"off",hj.hq("."+hj.widget.widgetAttributePrefix+'_icon_emotion_star[data-emotion-score="'+(i+1)+'"]').attr("data-score-state",t)},"feedback"),i.animateFaces=hj.tryCatch(function(){var e=hj.hq("[data-emotion-option]");e.addClass("fadeTransition"),setTimeout(function(){e.addClass("fade")},a),setTimeout(function(){e.removeClass("fadeTransition")},4*a)},"feedback"),i.wink=hj.tryCatch(function(){var e=hj.hq("."+hj.widget.widgetAttributePrefix+"_hotjar_buddy");e.attr("data-emotion-score","wink"),setTimeout(function(){e.attr("data-emotion-score","3")},800)},"feedback"),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_feedback_minimized_message_close").on("click",hj.tryCatch(function(e){e.stopPropagation(),i.setMinimizedMessageVisibility(!1)},"feedback")),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_hotjar_buddy, ."+hj.widget.widgetAttributePrefix+"_feedback_minimized_message, ."+hj.widget.widgetAttributePrefix+"_feedback_minimized_label").on("click",hj.tryCatch(function(){i.goToState("emotion"),i.setMinimizedMessageVisibility(!1)},"feedback")),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_feedback_open_close, #"+hj.widget.widgetAttributePrefix+"_feedback_open_close_phone").on("click",hj.tryCatch(function(){i.endIncomingFeedback()},"feedback")),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_emotion_type_star ."+hj.widget.widgetAttributePrefix+"_emotion_option").on("mouseover",hj.tryCatch(function(e){var t=hj.hq(e.target).find("[data-emotion-score]").attr("data-emotion-score");i.selectStarRating(t)},"feedback")),hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_emotion_content._hj-f5b2a1eb-9b07_emotion_type_star").on("mouseleave",hj.tryCatch(function(){var e=hj.hq("#"+hj.widget.widgetAttributePrefix+"_state-1").attr("data-emotion-chosen");i.selectStarRating(e)},"feedback")),hj.widget.ctrl.find('[data-bind="emotion"]').on("click",hj.tryCatch(function(){var e=hj.hq(this).attr("data-emotion-option");hj.hq("#"+hj.widget.widgetAttributePrefix+"_state-1").attr("data-emotion-chosen",e),hj.hq("[data-emotion-active]").removeAttr("data-emotion-active"),hj.hq("#"+hj.widget.widgetAttributePrefix+'_state-1 [data-emotion-option="'+e+'"]').attr("data-emotion-active","true"),i.selectStarRating(e),i.submitState("emotion",e)},"feedback")),hj.widget.ctrl.find("[data-consent]").on("click",hj.tryCatch(function(){var e="true"===hj.hq(this).attr("data-consent");!hj.isPreview&&e&&(i.feedbackResponseId?hj.request.grantConsent({response_type:"feedback_response",response_id:i.feedbackResponseId,message:hj.widget._("consent")}):i.awaitResponseId=function(){hj.request.grantConsent({response_type:"feedback_response",response_id:i.feedbackResponseId,message:hj.widget._("consent")})}),i.submitState("consent",e)},"feedback")),s.on("click",hj.tryCatch(function(){hj.hq(this).hasClass(hj.widget.widgetAttributePrefix+"_btn_disabled")||i.submitState()},"feedback")),d.on("click",hj.tryCatch(function(){i.skipCurrentState()},"feedback")),hj.widget.ctrl.find('[data-bind="email"]').on("keyup change",hj.tryCatch(function(e){i.validateCurrentState()?hj.widget.enableSubmit():hj.widget.disableSubmit(),13===e.keyCode&&i.submitState()},"feedback")),hj.widget.ctrl.find('[data-bind="comment"]').on("keyup change",hj.tryCatch(function(){i.validateCurrentState()?hj.widget.enableSubmit():hj.widget.disableSubmit()},"feedback")),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_feedback_content_highlighter, #"+hj.widget.widgetAttributePrefix+"_toolset_action_select").on("click",hj.tryCatch(function(){i.setScreenshotState("element")},"feedback")),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_feedback_top_message_select_close span, #"+hj.widget.widgetAttributePrefix+"_feedback_content_highlighter_close").on("click",hj.tryCatch(function(e){i.setScreenshotState("default"),e.stopPropagation()},"feedback")),e=hj.widget.feedbackData.activeStepInPreview,hj.isPreview&&(i.resetWidget(),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_transition").addClass(hj.widget.widgetAttributePrefix+"_transition_duration_0"),"initial"!==e&&e?"thankYou"===e?i.endIncomingFeedback(!0):"email"===e&&!1===hj.widget.feedbackData.content.email?i.goToState("emotion"):"consent"===e?i.goToState("consent"):i.goToState(e):i.startIncomingFeedback()),hj.hq(window).on("resize",hj.tryCatch(function(){c()},"feedback")),hj.tryCatch(c,"feedback")(),hj.isPreview||i.startIncomingFeedback()}function s(){var e=hj.ui.getWindowSize().height>100?Math.round(hj.ui.getWindowSize().height/2):300;hj.log.debug("Rendering feedback widget.","feedback"),hj.widget.setLanguage(hj.widget.feedbackData.language),null==hj.widget.feedbackData.auto_screenshot&&(hj.widget.feedbackData.auto_screenshot=!0),hj.widget.feedbackData.content.comment_footer&&(hj.widget.feedbackData.content.comment_footer_trusted=new hj.rendering.TrustedString(hj.widget.feedbackData.content.comment_footer));var t=hj.rendering.renderTemplate(a,{apiUrlBase:new hj.rendering.TrustedString(hj.apiUrlBase),hjid:_hjSettings.hjid,cta:new hj.rendering.TrustedString(hj.widget.ctaLinks.feedback),p:hj.widget.widgetAttributePrefix,preview:hj.isPreview||!1,features:{selectElement:!(Object(o.d)()&&hj.widget.isPhoneOrTablet())},feedback:{id:hj.widget.feedbackData.id,content:hj.widget.feedbackData.content,effectiveShowBranding:hj.widget.feedbackData.effective_show_branding,language:hj.widget.feedbackData.language,position:hj.widget.feedbackData.position,showLegal:hj.widget.feedbackData.show_legal},widgetStyle:{accentColor:hj.widget.feedbackData.background,accentTextColor:"light"===hj.widget.feedbackData.skin?"#ffffff":"#333333",backgroundColor:"#ffffff",darkGrey:"#333333",disabledColor:"#cccccc",selectionColor:"#ffd902",selectionTextColor:"#3c3c3c",emotion:hj.widget.feedbackData.emotion_style||"default",middlePositionPixels:e}});t?(hj.widget.ctrl=hj.rendering.addToDom("_hj_feedback_container",t),r()):hj.log.debug("Feedback widget #"+hj.widget.feedbackData.id+" could not be rendered.","feedback")}function c(){var e=hj.widget.feedbackData.previewDevice,t=e||Object(o.a)(),i="desktop"===t?"desktop":"touch";hj.widget.ctrl.attr("data-device",t),hj.widget.ctrl.attr("data-viewmode",i)}return e.run=hj.tryCatch(function(t){hj.hq.each(hj.settings.feedback_widgets||[],function(i,n){hj.targeting.matchRules(n.targeting,t,hj.tryCatch(function(){hj.log.debug("Feedback widget #"+n.id+" has matched.","feedback"),!hj.widget.data||hj.widget.data.id===n.id&&"incoming"===hj.widget.data.type?(n.created_epoch_time-=31536e4,hj.widget.addMatchingWidget("incoming",n.id,n.created_epoch_time,function(){hj.widget.feedbackData=n,hj.rendering.callAccordingToCondition(hj.widget.feedbackData,"feedback",hj.tryCatch(s,"feedback"))},e.remove)):hj.log.debug("Another feedback widget is already present.","feedback")},"feedback.run.matchRules-callback"))})},"feedback"),e.remove=hj.tryCatch(function(e){hj.widget.feedbackData?(hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback").length>0&&hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback").parent().remove(),delete hj.widget.feedbackData,hj.hq(window).off("resize"),setTimeout(function(){e()},1)):e()}),hj.isPreview&&(window._hjFeedbackReload=hj.tryCatch(function(e){hj.widget.feedbackData=e,hj.settings.legal_name=e.legal_name,hj.settings.privacy_policy_url=e.privacy_policy_url,hj.tryCatch(s,"feedback")()},"feedback")),e}(),!0)},"feedback")()},function(e,t,i){e.exports=i.p+"emoji_0.152a14.png"},function(e,t,i){e.exports=i.p+"emoji_1.f67f38.png"},function(e,t,i){e.exports=i.p+"emoji_2.8d1753.png"},function(e,t,i){e.exports=i.p+"emoji_3.5b2976.png"},function(e,t,i){e.exports=i.p+"emoji_4.8f3c95.png"},function(e,t,i){e.exports=i.p+"star_on.025592.png"},function(e,t,i){e.exports=i.p+"star_off.bcf9ca.png"},function(e,t,i){"use strict";i.r(t);var n=i(44),o=i(28),a=i(14),r=i(30),s=i(53),c=i(7),d=i(1),l=i(5);hj.tryCatch(function(){hj.loader.registerModule("Polls",function(){var e={},t=[],i={granted:null,request:!1},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" || poll.questions[q].type === "email") { %>
" />
<% } 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 %>
<% } else if (poll.questions[q].type === "rating-scale-5" || poll.questions[q].type === "rating-scale-7") { %>
    <% for (var i = 1; i < (poll.questions[q].scaleCount +1); i++) { %>
  • <%=i%>
  • <% } %>
<%= poll.questions[q].labels[0].text %>
<%= poll.questions[q].labels[1].text %>
<% } %>
<% } %>

<%= poll.thankyou %>

<%=hj.widget.renderLegal(poll.showLegal)%>
',"
"].join("");function h(){i.request=hj.widget.pollData.ask_for_consent;var e=Object(n.a)(hj.widget.pollData),s=hj.rendering.renderTemplate(p,{apiUrlBase:new hj.rendering.TrustedString(hj.apiUrlBase),hjid:hj.settings.site_id,preview:hj.isPreview||!1,poll:{id:hj.widget.pollData.id,effectiveShowBranding:hj.widget.pollData.effective_show_branding,questions:hj.widget.pollData.content.questions,thankyou:hj.widget.pollData.content.thankyou,showLegal:hj.widget.pollData.show_legal},widgetStyle:e,p:hj.widget.widgetAttributePrefix,cta:new hj.rendering.TrustedString(hj.widget.ctaLinks.polls)});s?(hj.widget.ctrl=hj.rendering.addToDom("_hj_poll_container",s),function(){var e;function n(){var e,t,i,n=hj.hq("."+hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active").length,o=!0;if(0===n)o=!1;else for(e=0;e"+_+"").text()),comment:p||null});Object(a.d)(hj.widget.pollData.id,i);break;case"rating-scale-5":case"rating-scale-7":case"net-promoter-score":e=(h=r.find("."+hj.widget.widgetAttributePrefix+"_button_score_active")).attr("data-value"),d=parseInt(e,10),c=Object(o.a)(i.type,d),t.push({question:i.text,questionSignature:s,questionUuid:n,answer:e,comment:null}),Object(a.d)(hj.widget.pollData.id,i,e);break;case"single-open-ended-multiple-line":case"single-open-ended-single-line":case"email":c=null,void 0===(e=r.find("input[name=_hj-f5b2a1eb-9b07_question_"+hj.widget.currentQuestionIndex+"_answer]").val())&&(e=r.find("textarea[name=_hj-f5b2a1eb-9b07_question_"+hj.widget.currentQuestionIndex+"_answer]").val()||""),t.push({question:i.text,questionSignature:s,questionUuid:n,answer:e,comment:null}),Object(a.d)(hj.widget.pollData.id,i);break;default:throw new Error("Unhandled question type: "+i.type)}hj.widget.submitResponseData(c)}},"polls"),hj.widget.submitResponseData=hj.tryCatch(function(e){t&&(hj.isPreview||(Object(a.e)(t,hj.widget.pollIndex),hj.widget.setDone()),hj.widget.goToNextQuestion(e))},"polls"),hj.widget.goToNextQuestion=hj.tryCatch(function(e){var t=hj.widget.pollData.content.questions[hj.widget.currentQuestionIndex];if(function(e){var t=hj.hq(hj.hq("#"+hj.widget.widgetAttributePrefix+"_question_content_"+hj.widget.currentQuestionIndex)[0]);switch(e.type){case"single-close-ended":case"multiple-close-ended":t.find("."+hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active").removeClass(hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active"),t.find("."+hj.widget.widgetAttributePrefix+"_with_comment").find("textarea").val("");break;case"rating-scale-5":case"rating-scale-7":case"net-promoter-score":t.find("."+hj.widget.widgetAttributePrefix+"_button_score_active").removeClass(hj.widget.widgetAttributePrefix+"_button_score_active");break;case"single-open-ended-multiple-line":case"single-open-ended-single-line":case"email":t.find("[name=_hj-f5b2a1eb-9b07_question_"+hj.widget.currentQuestionIndex+"_answer]").val("");break;default:throw new Error("Unhandled question type: "+e.type)}}(t),"thankYou"===t.next)hj.widget.goToQuestion("thankYou");else if("byAnswer"===t.next)hj.widget.goToQuestion(t.nextByAnswer[e]);else if(0==t.next.indexOf("question:"))hj.widget.goToQuestion(t.next);else{if("byOrder"!==t.next&&void 0!==t.next)throw new Error("Unknown question.next value: "+t.next);hj.widget.goToQuestion("byOrder")}},"polls"),hj.widget.goToFinalState=function(){i.request&&!i.granted?hj.widget.changeState(!1,"thankyou_consent"):hj.widget.changeState(!1,"thankyou")},hj.widget.goToQuestion=hj.tryCatch(function(e){var t;switch(e){case"thankYou":return void hj.widget.goToFinalState();case"byOrder":if(hj.widget.pollData.content.questions.length===hj.widget.currentQuestionIndex+1)return void hj.widget.goToFinalState();t=hj.widget.currentQuestionIndex+1;break;default:t=Object(o.b)(hj.widget.pollData.content.questions,e)}hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_question_text_"+hj.widget.currentQuestionIndex).addClass(hj.widget.widgetAttributePrefix+"_hidden"),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_question_content_"+hj.widget.currentQuestionIndex).addClass(hj.widget.widgetAttributePrefix+"_hidden"),hj.widget.currentQuestionIndex=t,hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_question_text_"+hj.widget.currentQuestionIndex).removeClass(hj.widget.widgetAttributePrefix+"_hidden"),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_question_content_"+hj.widget.currentQuestionIndex).removeClass(hj.widget.widgetAttributePrefix+"_hidden"),hj.widget.disableSubmit()},"polls"),hj.widget.setDone=hj.tryCatch(function(){hj.isPreview||Object(a.b)(hj.widget.pollData)},"polls"),hj.widget.setMinimized=hj.tryCatch(function(e){hj.isPreview||Object(r.c)(hj.widget.pollData.id,e)},"polls"),hj.widget.ctrl.on("click.consent",hj.tryCatch(function(){hj.isPreview?i.granted=!1:hj.request.getConsentGranted(function(e){i.granted=e}),hj.hq("#_hj_poll_container>div").off("click.consent")})),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_radio_checkbox textarea").on("click",hj.tryCatch(function(e){e.stopPropagation()},"polls")),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_radio").on("click",hj.tryCatch(function(){var e=hj.hq(this),t=e.find("."+hj.widget.widgetAttributePrefix+"_input_field");hj.hq(hj.hq("#"+hj.widget.widgetAttributePrefix+"_question_content_"+hj.widget.currentQuestionIndex)[0]).find("."+hj.widget.widgetAttributePrefix+"_button_radio_checkbox").removeClass(hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active"),e.addClass(hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active"),t.focus(),n()?hj.widget.enableSubmit():hj.widget.disableSubmit()},"polls")),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_checkbox").on("click",hj.tryCatch(function(){var e=hj.hq(this),t=e.find("."+hj.widget.widgetAttributePrefix+"_input_field");e.toggleClass(hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active"),t.focus(),n()?hj.widget.enableSubmit():hj.widget.disableSubmit()},"polls")),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_score").on("click",hj.tryCatch(function(){var e=hj.hq(this);hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_score").removeClass(hj.widget.widgetAttributePrefix+"_button_score_active"),e.addClass(hj.widget.widgetAttributePrefix+"_button_score_active"),hj.widget.enableSubmit()},"polls")),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_input_field").on("keyup",hj.tryCatch(function(){var e=hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_question_content_"+hj.widget.currentQuestionIndex);("email"===e.attr("_hj_question_type")?Object(l.i)(hj.hq(this).val()):"single-open-ended-multiple-line"===e.attr("_hj_question_type")||"single-open-ended-single-line"===e.attr("_hj_question_type")?hj.hq(this).val().length>0:n())?hj.widget.enableSubmit():hj.widget.disableSubmit()},"polls")),hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_action_submit").on("click",hj.tryCatch(function(){hj.widget.submitResponse()},"polls")),hj.widget.ctrl.find("[data-consent]").on("click",hj.tryCatch(function(){"true"===hj.hq(this).attr("data-consent")&&Object(a.a)(),hj.widget.dismissWidget()},"polls")),hj.hq(window).on("resize",hj.tryCatch(function(){hj.widget.applyPhoneClasses()},"polls")),hj.widget.applyPhoneClasses(),Object(r.a)(hj.widget.pollData.previewDevice)?hj.widget.collapseWidget():hj.widget.openWidget(),Object(r.b)(hj.widget.pollData.id)&&hj.widget.changeState(null,"hidden"),e=hj.widget.pollData.activeStepInPreview,hj.isPreview&&e&&(hj.widget.goToQuestion(e),parseInt(e)&&hj.widget.openWidget()),hj.widget.init()}(),"once"==hj.widget.pollData.persist_condition&&d.a.items.POLL_DONE.add(hj.widget.pollData.id),hj.event.signal("poll.show",hj.widget.pollData)):hj.log.debug("Poll widget #"+hj.widget.pollData.id+" could not be rendered.","polls")}function u(){t=[],delete hj.widget.pollResponseId,hj.widget.pollIndex++,hj.widget.setLanguage(hj.widget.pollData.language),hj.log.debug("Rendering poll widget.","poll"),hj.features.hasFeature("feedback.surveys_v2")?Object(s.a)(c.LAZY_MODULES.SURVEY_V2):h()}function _(e){hj.hq.each(e.content.questions,function(e,t){t.answers&&hj.hq.each(t.answers,function(e,t){t.index=e})})}function g(e){hj.hq.each(e.content.questions,function(e,t){t.randomize_answer_order&&Object(l.g)(t.answers)})}return hj.widget.pollIndex=0,e.run=hj.tryCatch(function(t){hj.hq.each(hj.settings.polls||[],function(i,n){hj.targeting.matchRules(n.targeting,t,hj.tryCatch(function(){hj.log.debug("Poll #"+n.id+" has matched.","poll"),d.a.items.POLL_DONE.exists(n.id)?hj.log.debug("Poll was already submitted.","poll"):hj.widget.addMatchingWidget("poll",n.id,n.created_epoch_time,function(){hj.tryCatch(_,"polls")(n),hj.tryCatch(g,"polls")(n),hj.widget.pollData=n,hj.tryCatch(hj.rendering.callAccordingToCondition,"polls")(hj.widget.pollData,"poll",u)},e.remove)},"polls.run.matchRules-callback"))})},"polls"),e.remove=hj.tryCatch(function(e){hj.widget.pollData?(hj.hq("#_hj_poll_container").length>0?hj.hq("#_hj_poll_container").parent().remove():hj.hq("._hj-widget-container").length>0&&hj.hq("._hj-widget-container").remove(),delete hj.widget.pollData,setTimeout(function(){e()},1)):e()}),hj.isPreview&&(window._hjPollReload=hj.tryCatch(function(e){hj.tryCatch(_,"polls")(e),hj.tryCatch(g,"polls")(e),hj.widget.pollData=e,i.request=e.ask_for_consent,hj.settings.features=e.features,hj.settings.legal_name=e.legal_name,hj.settings.privacy_policy_url=e.privacy_policy_url,hj.tryCatch(u,"polls")()},"polls")),e}(),!0)},"polls")()},function(e,t,i){"use strict";i.r(t);var n=i(1);hj.tryCatch(function(){hj.loader.registerModule("Surveys",function(){var e={},t='
<%= survey.title %>
<%= survey.description %>
<%= survey.button %>
<% if (survey.effectiveShowBranding) { %>
Not using Hotjar yet?
<% } %>
';function o(){hj.log.debug("-- RENDERING SURVEY INVITE --","survey");var e=hj.rendering.renderTemplate(t,{survey:{id:hj.survey.data.id,effectiveShowBranding:hj.survey.data.effective_show_branding,title:hj.survey.data.invite.title,description:hj.survey.data.invite.description,button:hj.survey.data.invite.button,close:hj.survey.data.invite.close,url:new hj.rendering.TrustedString(hj.survey.data.public_url)},p:hj.widget.widgetAttributePrefix,cta:new hj.rendering.TrustedString(hj.widget.ctaLinks.surveys)});e?(hj.survey.ctrl=hj.rendering.addToDom("_hj_survey_invite_container",e),setTimeout(hj.tryCatch(function(){hj.survey.ctrl.addClass("_hj-f5b2a1eb-9b07_survey_show")},"surveys"),0),hj.survey.ctrl.find("._hj-f5b2a1eb-9b07_survey_close, ._hj-f5b2a1eb-9b07_survey_close_link a, #_hj-f5b2a1eb-9b07_survey_invite_overlay").on("click",a),hj.survey.ctrl.find("._hj-f5b2a1eb-9b07_survey_button").on("click",function(){hj.event.signal("survey.open",hj.survey.data),a()}),hj.hq(window).on("resize",hj.tryCatch(function(){r()},"surveys")),hj.tryCatch(r,"surveys")(),hj.event.signal("survey.show",hj.survey.data)):hj.log.debug("Survey #"+hj.survey.data.id+" could not be rendered.","surveys")}function a(){hj.log.debug("-- CLOSING SURVEY INVITE --","survey"),hj.survey.ctrl.hide(),n.a.items.SURVEY_INVITES_CLOSED.add(hj.survey.data.id)}function r(){hj.hq(window).width()<580?hj.survey.ctrl.addClass("_hj-f5b2a1eb-9b07_survey_full"):hj.survey.ctrl.removeClass("_hj-f5b2a1eb-9b07_survey_full")}return e.run=hj.tryCatch(function(t){hj.hq.each(hj.settings.surveys||[],function(i,a){hj.targeting.matchRules(a.targeting,t,hj.tryCatch(function(){hj.log.debug("Survey #"+a.id+" has matched.","survey"),n.a.items.SURVEY_INVITES_CLOSED.exists(a.id)?hj.log.debug("Survey was already viewed.","survey"):hj.widget.addMatchingWidget("survey",a.id,a.created_epoch_time,function(){hj.survey.data=a,hj.rendering.callAccordingToCondition(hj.survey.data,"survey",o)},e.remove)},"surveys.run.matchRules-callback"))})},"surveys"),e.remove=hj.tryCatch(function(e){hj.survey.data?(hj.hq("#_hj_survey_invite_container").length>0&&(hj.survey.ctrl.hide(),hj.hq("#_hj_survey_invite_container").parent().remove()),delete hj.survey.data,setTimeout(function(){e()},1)):e()}),e}(),!0)},"surveys")()},function(e,t,i){"use strict";i.r(t);var n=i(52);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}hj.tryCatch(function(){var e,t,i,a,r,s,c,d,l,p,h,u,_,g,f,m,b,y,w,v,j,k,x,S,C;hj.loader.registerModule("Forms",(e=null,t={},i=null,a=!1,r=[],s=null,c=hj.tryCatch(function(t,i,n,o){var a,r;hj.hq.each(e.field_info,function(e,s){a=-1!==i.indexOf("*")||-1!==i.indexOf(s.field_type),r=-1!==n.indexOf(s.field_type),a&&!r&&d(s).on(t,function(){o(this,s)})})},"forms"),d=hj.tryCatch(function(t){var i,n,o;if("id"===e.selector_type)i=hj.hq("form[id='"+e.selector+"']");else{if("css"!==e.selector_type)throw new Error("Invalid selector_type: "+e.selector_type);o=parseInt(e.selector.split(":",1)),n=e.selector.slice(o.toString().length+1),i=hj.hq(hj.hq(n)[o])}return i.find("*["+t.match_attribute+"='"+t.match_value.replace(/'/g,"\\'")+"']")},"forms"),l=hj.tryCatch(function(t){var i=sessionStorage.getItem("_hjForm"),n=i?JSON.parse(i).id:0;hj.hq.each(hj.settings.forms||[],function(i,n){if(hj.targeting.matchRules(n.targeting,t))return e=n,hj.log.debug("Setting active form to form[id="+e.id+"]","forms"),!1}),!e&&n&&hj.hq.each(hj.settings.forms||[],function(t,i){if(i.id==n)return e=i,hj.log.debug("Setting active form to form[id="+e.id+"]","forms"),!1})},"forms"),p=hj.tryCatch(function(t){if("id"===t.selector_type)return document.getElementById(e.selector);if("css"===t.selector_type){var i=t.selector.split(":",1),n=t.selector.slice(i.length+1);return document.querySelectorAll(n)[i]||null}throw new Error("Invalid selector_type: "+t.selector_type)},"forms"),h=hj.tryCatch(function(e){hj.log.debug("Saving forms using manual tracking: "+JSON.stringify(e),"forms"),sessionStorage.setItem("_hjFormsManualTracking",JSON.stringify(e))},"forms"),u=hj.tryCatch(function(){var e=JSON.parse(sessionStorage.getItem("_hjFormsManualTracking"))||[];return e.length&&hj.log.debug("Getting forms using manual tracking: "+JSON.stringify(e),"forms"),e},"forms"),_=hj.tryCatch(function(e){hj.hq.inArray(e.id,r)||(r.push(e.id),hj.log.debug("Form using manual tracking added: form[id="+e.id+"]","forms"),h(r))},"forms"),g=hj.tryCatch(function(){hj.log.debug("Saving active form: form[id="+e.id+"]","forms"),sessionStorage.setItem("_hjForm",JSON.stringify(e))},"forms"),f=hj.tryCatch(function(){return Boolean(sessionStorage.getItem("_hjForm"))},"forms"),m=hj.tryCatch(function(t){var i=!1;a||(hj.eventStream.write(Object(n.a)(e)),i=!0,a=!0),null!==t&&(hj.eventStream.write(t),i=!0),i&&hj.eventStream.flush()}),b=hj.tryCatch(function(){var e,t=sessionStorage.getItem("_hjForm");sessionStorage.removeItem("_hjForm"),t=JSON.parse(t),e=!p(t)&&hj.targeting.matchRules(t.targeting,document.referrer),y(t,e,!0)},"forms"),y=hj.tryCatch(function(t,i,n){n||_(e),n&&hj.hq.inArray(t.id,r)||(hj.log.warnIfEmpty(t.id,"sendFormSubmissionMessage: form.id"),m({form_id:t.id,form_event:i?"form_submit_successful":"form_submit_failed"}))},"forms"),w=hj.tryCatch(function(){i=new Date},"forms"),v=hj.tryCatch(function(t,n){if(i){var o=hj.hq(t).val();hj.log.warnIfEmpty(e.id,"onGenericElementLeave: activeForm.id"),hj.log.warnIfEmpty(n.id,"onGenericElementLeave: fieldInfo.id"),hj.log.warnIfEmpty(o,"onGenericElementLeave: elementValue"),m({form_id:e.id,form_field_event:{form_field_id:n.id,interaction_time:new Date-i,content_hash:hj.md5(o)}}),i=null}},"forms"),j=hj.tryCatch(function(t,i){var n=hj.hq(t).val();hj.log.warnIfEmpty(e.id,"onRadioElementEnter: activeForm.id"),hj.log.warnIfEmpty(i.id,"onRadioElementEnter: fieldInfo.id"),hj.log.warnIfEmpty(n,"onRadioElementEnter: element"),m({form_id:e.id,form_field_event:{form_field_id:i.id,interaction_time:null,content_hash:hj.md5(n)}})},"forms"),k=hj.tryCatch(function(t,i){var n,o=d(i),a=[];for(n=0;n(n=parseInt(r[o]||0)))return!0;if(it;++t){var n=e.trim(a[t]).match(/[^\.]+/i)[0];i(e(this),n,o)}})}function a(t){e.fn[t+"First"]=function(){var i=e.makeArray(arguments),o=i.shift();return o&&(e.fn[t].apply(this,arguments),n(this,o)),this}}var r=e.fn.jquery.split("."),s=parseInt(r[0]),c=parseInt(r[1]),d=1>s||1==s&&7>c;a("bind"),a("one"),e.fn.delegateFirst=function(){var t=e.makeArray(arguments),i=t[1];return i&&(t.splice(0,2),e.fn.delegate.apply(this,arguments),n(this,i,!0)),this},e.fn.liveFirst=function(){var t=e.makeArray(arguments);return t.unshift(this.selector),e.fn.delegateFirst.apply(e(document),t),this},d||(e.fn.onFirst=function(t,i){var a=e(this),r="string"==typeof i;if(e.fn.on.apply(a,arguments),"object"==o(t))for(type in t)t.hasOwnProperty(type)&&n(a,type,r);else"string"==typeof t&&n(a,t,r);return a})}(jQuery),x(jQuery.fn.jquery,"1.7")?jQuery(i).onFirst("submit",g):x(window.jQuery.fn.jquery,"1.3")&&jQuery(i).liveFirst("submit",g)):hj.hq(i).on("submit",g):hj.log.debug('Could not find form with selector "'+e.selector+'".',"forms")},"forms"),hj.forms=hj.tryCatch(function(){var t={cmdFormSubmitSuccessful:function(){null!==e&&y(e,!0,!1)},cmdFormSubmitFailed:function(){null!==e&&y(e,!1,!1)}};return t},"forms")(),t.run=hj.tryCatch(function(t){var i=f();hj.includedInSample&&(l(t),(e||i)&&(r=u(),hj.log.warnIfEmpty(e.id,"forms.run: activeForm.id"),i?b():e&&S(function(){m(null)})))},"forms"),t))},"forms")()},,,,function(e,t,i){"use strict";i.r(t);var n=i(1),o=i(18),a=i(53),r=i(7),s=i(5),c=i(10),d=function(){var e;!function(){var e=hj.features.hasFeature("forms.selector_widget"),t=sessionStorage.getItem(c.b),i=hj.url.getParameter(c.b);if(e&&(i||t)){if(i){var n=Object(s.h)(window.location.href,c.b,null);history.replaceState&&history.replaceState(null,"",n)}t||sessionStorage.setItem(c.b,i),Object(a.a)(r.LAZY_MODULES.FORM_SELECTOR)}}(),e=Object(s.f)(function(){return Object(a.a)(r.LAZY_MODULES.HEATMAP_SCREENSHOTTER)}),hj.remoteStorage.get("screenshot_retake",function(t){t?(hj.remoteStorage.remove("screenshot_retake"),hj.remoteStorage.set("screenshot_active_retake",t,60),e(t)):hj.remoteStorage.get("screenshot_active_retake",e)})},l=i(51),p=i(19);hj.tryCatch(function(){var e=i(66);void 0===hj.scriptLoaded&&(hj._init=hj.tryCatch(function(){var e={_determineIncludedInSample:function(){var e=hj.url.getParameter("hjIncludeInSample"),t=n.a.items.INCLUDE_IN_SAMPLE.get();if(t)hj.includedInSample="1"===t,hj.log.debug("User is included in sample","init");else switch(e){case"0":hj.includedInSample=!1,hj.log.debug("You have set includedInSample to false.","init");break;case"1":hj.includedInSample=!0,n.a.items.INCLUDE_IN_SAMPLE.set(hj.includedInSample?"1":"0"),hj.log.debug("You have set includedInSample to true.","init");break;default:hj.includedInSample=o.a.compareRatio(hj.settings.r||1),hj.includedInSample&&n.a.items.INCLUDE_IN_SAMPLE.set("1"),hj.log.debug("Included in sample: "+hj.includedInSample,"init",{r:hj.settings.r,user_id:o.a.getAsNumber()})}},_sendVisitData:function(e){var t="".concat(hj.apiUrlBase,"/client/sites/").concat(hjSiteSettings.site_id,"/verify-installation?sv=").concat(_hjSettings.hjsv||0);hj.ajax.postAsJSON(t,{},hj.tryCatch(e,"init._sendVisitData"))},_verifyInstallation:function(){var t,i=hj.url.getParameter("hjVerifyInstall");try{t=sessionStorage.getItem("hjVerifyInstall")}catch(e){}if(i||t){hj.verifyInstall=parseInt(i||t);try{sessionStorage.setItem("hjVerifyInstall",i||t)}catch(e){}if(window.hjBootstrapCalled&&window.hjBootstrapCalled.length>1){var n,o=window.hjBootstrapCalled.filter(function(e,t){return window.hjBootstrapCalled.indexOf(e)===t}),a="You have "+window.hjBootstrapCalled.length+" tracking scripts installed on your site. ",r=2===window.hjBootstrapCalled.length?"script as this":"scripts as these",s=!!window.dataLayer;o.length>1?(n=a+"Please remove the duplicate "+r+" will cause issues.",hj.notification.show("Multiple different Hotjar scripts detected",n,"bad")):s?(n=a+"If you've installed Hotjar through GTM - please remove the duplicate "+r+" will cause issues.",hj.notification.show("Multiple Hotjar scripts detected",n,"bad")):(n=a+"This will not affect data collection, but we do suggest removing redundant scripts.",hj.notification.show("Multiple Hotjar scripts detected",n,"warning"));var c="Passed Site ID: "+hj.verifyInstall+" contains multiple scripts "+window.hjBootstrapCalled.join(", ");hj.exceptions.log({message:c,stacktrace:""})}else if(hj.verifyInstall===hjSiteSettings.site_id)e._sendVisitData(function(e){e.success?hj.xcom.send("scriptActive",[]):hj.exceptions.log({message:"Verify installation endpoint failed",stacktrace:""})}),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");else{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");var d="Passed Site ID: ".concat(hj.verifyInstall," != Configured Site ").concat(hjSiteSettings.site_id);hj.exceptions.log({message:d,stacktrace:""})}}}};return e._browserIsSupported=hj.tryCatch(function(){return!(Object(s.c)()<11)||(hj.log.debug("IE < 11 is not supported.","init"),"1"===hj.url.getParameter("hjVerifyInstallation")&&hj.notification.show("Hotjar installation cannot be verified.","Sorry – your browser is not supported.","bad"),!1)},"init"),e._checkDebug=hj.tryCatch(function(){var e=hj.url.getParameter(n.a.items.DEBUG_FLAG.getKey());e&&("1"===e||"true"===e?hj.debug.on(!0):hj.debug.off()),"true"===n.a.items.DEBUG_FLAG.get()&&hj.debug.on(!1)},"init"),e._canRun=hj.tryCatch(function(){return-1===navigator.userAgent.indexOf("Hotjar")&&(n.a.canUseCookies()?n.a.canUseLocalStorage()?!!n.a.canUseSessionStorage()||(hj.log.debug("sessionStorage is not available","init"),!1):(hj.log.debug("localStorage is not available","init"),!1):(hj.log.debug("Cookies are not enabled"),!1))},"init"),e._configureStateChangeListenMode=function(){var e="manual";hj.settings&&hj.settings.state_change_listen_mode&&(e=hj.settings.state_change_listen_mode),hj.locationListener.setMode(e)},e.run=hj.tryCatch(function(t){hj.currentUrl=t,hj.scriptLoaded=!0,e._browserIsSupported()&&(e._checkDebug(),e._canRun()?hj.remoteStorage.get("_hjOptOut",function(i){e._run(t,i)}):hj._init._verifyInstallation())},"init"),e._run=hj.tryCatch(function(t,i){"true"!==i&&"1"!==navigator.doNotTrack&&"1"!==window.doNotTrack&&"1"!==navigator.msDoNotTrack||(hj.log.debug("Visitor has opted out of tracking.","init"),hj.optOut=!0),n.a.moveToSession(n.a.items.SESSION_TOO_LARGE),hj.loader.loadSettings(function(i){hj.settings=i||{},hj.log.debug("Site settings","init",hj.settings),d(),e._determineIncludedInSample(),e._configureStateChangeListenMode(),e._runPage(t),e._verifyInstallation(),hj.command.activate(),"1"===hj.url.getParameter("hjIncludeInSample")&&hj.notification.show("Hotjar tracking active.","Hotjar tracking is active for your session.","good")})},"init"),e.reinit=hj.tryCatch(function(t,i){hj.currentUrl=t,hj.widgetDelay.clear(),l.a.disableHeatmap(),hj.widget.emptyMatchingWidgets(),i&&(p.a.reset(),hj.eventStream.initializeWS()),e._runPage(t)},"init"),e._runPage=hj.tryCatch(function(e){hj.optOut||(hj.includedInSample&&hj.visitData.track(e),hj.visitData.trackView()),hj.hq.each(hj.loader.getModules(),function(t,i){hj.optOut&&!i.nonTracking||(hj.log.debug("Running module","init",i.name),i.module.run(e))}),hj.widget.runLatestMatchingWidget()},"init"),e},"init")(),hj.hq(document).ready(function(){hj.log.debug("Document is ready. Initializing...","init"),hj.scriptContextId=e(),hj._init.run(location.href)}))},"init")()},function(e,t,i){"use strict";i.r(t);var n=i(7),o=i(3),a=i(6),r=i(51),s=i(52),c={setup:hj.tryCatch(function(e){var t=hj.visitData.property,i=hj.ui.getWindowSize();Object(a.a)({heatmap_helo:function(){var n=hj.visitData.getPageVisitInfo(t,i,hj.settings.site_id);return hj.log.warnIfEmpty(n,"heatmap.setup: pageVisitInfo"),Object(s.b)(n,e.id)}}).flush(),hj.log.warnIfEmpty(e.selector_version,"heatmap.setup: heatmapData.selector_version"),r.a.enableHeatmap(e.selector_version)},"behavior-data.heatmap.setup")},d=i(19),l=i(18),p=i(1);function h(){var e={};return hj.behaviorData={tagRecording:function(e,t){e=e||[];for(var i=[],n=0;n0){var a=JSON.stringify({uuid:o,viewportid:hj.viewport.getId(),site_id:hj.settings.site_id})+"\n";u(i)&&d._ws.updateLastUserActivityTime();for(var r=0;r1){var d=[];t.autotag_recording&&(d=t.autotag_recording.filter(function(e){return"rageclick"===e.name})),d.length>0?a.push(t):(t.clipboard&&o.push(t.clipboard),r.push(i(t)))}var p=c(a,o);return l=p.leftover,e(),[].concat(r,p.sendable)},"data"),c=hj.tryCatch(function(e,t){var n=[],o=[];return hj.hq.each(t,function(t,i){e=e.filter(function(e){if("copy"===i.action||"cut"===i.action)return i.time-e.autotag_recording[0].time>5e3})}),hj.hq.each(e,function(e,t){hj.time.getNow()-t.autotag_recording[0].time<5e3?n.push(t):o.push(i(t))}),{leftover:n,sendable:o}},"data.filterRageClicks"),i=hj.tryCatch(function(e){return hj.hq.each(e,function(t,i){hj.hq.isFunction(i)&&(e[t]=i())}),e.page_visit_key=e.pageVisitKey,delete e.pageVisitKey,"object"===s(e.mutation)&&(e.mutation=o(e.mutation)),e},"data"),o=hj.tryCatch(function(e){var t,i="";if("object"===s(e))return hj.hq.each(e,function(n,o){"object"===s(o.c)&&(hj.hq.each(o.c,function(o,a){"object"===s(a.attributes)&&"string"==typeof a.attributes.style&&(a.attributes.style===t&&a.id===i&&(e[n].c[o]=null),t=a.attributes.style,i=a.id)}),e[n].c=e[n].c.filter(function(e){return e}),e[n].c.length||delete e[n].c),void 0===e[n].a&&void 0===e[n].b&&void 0===e[n].c&&void 0===e[n].d&&(e[n]=null)}),e.filter(function(e){return e})},"data"),d})()}]);