/*! For license information please see modules.abdef350bc65bc59cb61.js.LICENSE.txt */ !function(){var e={4788:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r=Object.freeze({IDENTIFY_USER:"identify_user",AUTOTAG_RECORDING:"autotag_recording",TAG_RECORDING:"tag_recording",HEATMAP_HELO:"heatmap_helo",RECORDING_HELO:"recording_helo",REPORT_USER_ID:"report_user_id",MUTATION:"mutation",MOUSE_CLICK:"mouse_click",INPUT_CHOICE_CHANGE:"input_choice_change",KEY_PRESS:"key_press",MOUSE_MOVE:"mouse_move",RELATIVE_MOUSE_MOVE:"relative_mouse_move",CLIPBOARD:"clipboard",PAGE_VISIBILITY:"page_visibility",SCROLL_REACH:"scroll_reach",SCROLL:"scroll",SELECT_CHANGE:"select_change",VIEWPORT_RESIZE:"viewport_resize",SCRIPT_PERFORMANCE:"script_performance",REPORT_CONTENT:"report_content",INSERTED_RULE:"inserted_rule",DELETED_RULE:"deleted_rule"})},6939:function(e,t,n){"use strict";n.d(t,{f:function(){return f},W:function(){return g}});const r=Object.freeze({LIVE:"LIVE",REVIEW_WEBAPP:"REVIEW_WEBAPP",REVIEW:"REVIEW",STAGING:"STAGING",DEV:"DEV",DEV_OLD:"DEV_OLD"}),o=(()=>{const e=document.location.host.match(/^(insights-webapp|surveys-webapp|insights|surveys)-(.*?)((?:\.[^.]+)?(?:\.hotjarians\.net)|(?:\.[^.]+)?(?:\.eks\.hotjar\.com))$/);return e&&{component:e[1],reviewId:e[2],domain:e[3],reviewUrlSuffix:e[2]+e[3]}})()?.reviewUrlSuffix,i=Object.freeze({[r.LIVE]:{INSIGHTS:"insights.hotjar.com",SURVEYS:"surveys.hotjar.com"},[r.REVIEW]:{INSIGHTS:`insights-${o}`,SURVEYS:`surveys-${o}`},[r.REVIEW_WEBAPP]:{INSIGHTS:`insights-webapp-${o}`,SURVEYS:`surveys-webapp-${o}`},[r.STAGING]:{INSIGHTS:"insights-staging.hotjar.com",SURVEYS:"surveys-staging.hotjar.com"},[r.DEV]:{INSIGHTS:"local.hotjar.com:8443",SURVEYS:"surveys.local.hotjar.com:8443"},[r.DEV_OLD]:{INSIGHTS:"local.hotjar.com",SURVEYS:"surveys.local.hotjar.com"}}),a=e=>(t,n)=>t===i[e][n],s=a(r.DEV),c=a(r.DEV_OLD),u=a(r.LIVE),l=a(r.REVIEW_WEBAPP),h=a(r.REVIEW),d=a(r.STAGING),f=(e,t)=>{if(t)return`https://${t}/${e}`;const n=((e="INSIGHTS",t=document.location.host)=>u(t,e)?r.LIVE:s(t,e)?r.DEV:c(t,e)?r.DEV_OLD:l(t,e)?r.REVIEW_WEBAPP:h(t,e)?r.REVIEW:d(t,e)?r.STAGING:r.LIVE)();return`https://${i[n].SURVEYS}/${e}`},g=(e=document.location.href)=>{const t=[i[r.LIVE].SURVEYS,i[r.REVIEW_WEBAPP].SURVEYS,i[r.REVIEW].SURVEYS,i[r.STAGING].SURVEYS,i[r.DEV].SURVEYS,i[r.DEV_OLD].SURVEYS],n=document.createElement("a");return n.href=e,t.indexOf(n.hostname)>=0}},7183:function(e,t,n){"use strict";n.d(t,{E$:function(){return u},R0:function(){return a},Ym:function(){return s},fb:function(){return l},jS:function(){return c},oO:function(){return i},vH:function(){return o},vO:function(){return r}}),Object.freeze({LAST_RECORDING_ACTIVITY_STORE_DEBOUNCE:5e3,MAX_TIME_SINCE_LAST_RECORDING_ACTIVITY_IN_SESSION:12e4});var r=window.hjLazyModules,o={SCRIPT:"js",STYLESHEET:"css"},i=(Object.freeze({id:null,selector_version:2}),60),a=60*i,s=24*a,c=365*s,u=i/2,l=5},4359:function(e,t,n){"use strict";n.r(t),n.d(t,{exceptionLogger:function(){return u},initErrorLogging:function(){return l}});var r=n(7183);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},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t0?1:.002,y=(null==e?void 0:e.throttleDelay)||1e3,j=(null==e?void 0:e.maxErrors)||10,b=["event_id","stacktrace","release","useragent","User-Agent","logger","scriptversion","module","errorgroup","errormessagegroup"],w=/[?&]logErrors/.test(location.search);function S(e){return hj.hq.each(e,(function(t,n){n&&"object"===o(n)?S(n):n&&"string"==typeof n&&-1==b.indexOf(t)&&(n=(n=(n=(n=n.replace(h,"")).replace(l,"")).replace(d,"123456789012")).replace(f,"<******>"),e[t]=n)})),e}function _(){return u.every((function(e){return"loaded"===e.state}))}function E(e){e.state="loaded",e.onLoad(),_()&&v&&g.startProcessing&&g.startProcessing()}return u=[{name:"sentry",check:function(){return void 0!==hj.Sentry},url:"".concat(hj.scriptDomain).concat(null===(t=r.vO.SENTRY)||void 0===t?void 0:t.js),state:"unloaded",onLoad:function(){var e=new hj.Sentry.BrowserClient({dsn:hj.errorUrl,environment:hj.environmentID,release:"insights-client-script-"+window.hjBootstrap.revision,sampleRate:m,defaultIntegrations:!1,integrations:[],beforeSend:function(e){if(!/.*Google.*/.test(window.navigator.userAgent))return S(e)}});(i=new hj.Sentry.Hub(e)).setUser({id:_hjSettings.hjid}),i.getScope().addEventProcessor(c)}}],g.sendException=function(e){try{i.captureException(e.exception,{tags:{logger:e.module}})}catch(e){n("Failed to log exception: "+e,"Exception")}},g.tryCatch=function(e,t){return function(){try{return e.apply(this,arguments)}catch(e){if(w&&console.error(e),window.__TESTS__)throw e;g.log&&g.log(e,t)}}},g.log=function(e,t){var r;n("Exception occurred in '"+t+"'","Exception",e),r={exception:e,module:t},p.length=j&&g.stopProcessing&&g.stopProcessing()}),y))},g.isProcessing=function(){return null!==a},g.stopProcessing=function(){g.isProcessing&&g.isProcessing()&&a&&(clearInterval(a),a=null)},g};function l(){window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)},window._hjSettings=window._hjSettings||{},hj.defaults={host:"in.hotjar.com",environment:"live",environmentID:"live",insightsHost:"insights.hotjar.com",insightsApiHost:"insights.hotjar.com",staticHost:"static.hotjar.com",varsHost:"vars.hotjar.com",surveysHost:"surveys.hotjar.com",errorUrl:"https://1f207eb734724d2698fcacdeae569a24@sentry-proxy.hotjar.com/1803150",identifyEndpoint:"https://identify.hotjar.com",viewCounterEndpoint:"https://vc.hotjar.io/sessions",viewCounterHitPercentage:.25,surveyImpressionsEndpoint:"https://surveystats.hotjar.io/hit"},hj.host=_hjSettings.host||hj.defaults.host,hj.insightsHost=_hjSettings.insightsHost||hj.defaults.insightsHost,hj.insightsApiHost=_hjSettings.insightsApiHost||hj.defaults.insightsApiHost,hj.staticHost=_hjSettings.staticHost||hj.defaults.staticHost,hj.varsHost=_hjSettings.varsHost||hj.defaults.varsHost,hj.surveysHost=_hjSettings.surveysHost||hj.defaults.surveysHost,hj.errorUrl=void 0!==_hjSettings.errorUrl?_hjSettings.errorUrl:hj.defaults.errorUrl,hj.environment=_hjSettings.environment||hj.defaults.environment,hj.environmentID=_hjSettings.environmentID||hj.defaults.environmentID,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.surveyImpressionsEndpoint=void 0!==_hjSettings.surveyImpressionsEndpoint?_hjSettings.surveyImpressionsEndpoint:hj.defaults.surveyImpressionsEndpoint,hj.exceptions=u(),hj.tryCatch=hj.exceptions.tryCatch}},6484:function(){hj.tryCatch((function(){hj.xcom=hj.tryCatch((function(){var e,t={},n=[],r=1,o="https://"+hj.insightsHost+"/x",i="_hjXcomProxyFrame",a=hj.tryCatch((function(){if(1==r){window.addEventListener?window.addEventListener("message",s,!1):window.attachEvent("onmessage",s),r=2;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=i,t.src=o,document.body.appendChild(t),e=document.getElementById(i)}}),"data");t.send=hj.tryCatch((function(t,o){10==r?e.contentWindow.postMessage({eventId:t,data:o},"*"):(n.push({eventId:t,data:o}),a())}));var s=function(e){"knockknock"==e.data.eventId&&(r=10,n.forEach((function(e){t.send(e.eventId,e.data)})),n=[])};return t}),"xcom")()}),"xcom")()},4871:function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n"))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||o(t)||r(),d=h[0],f=h.slice(1).join(">");u(l)[0]&&Array.from(u(l)).forEach((function(e){Array.from(e.assignedElements({flatten:!0})).forEach((function(e){e.matches(d)&&(f?c.push({host:e.shadowRoot||e,selector:f}):s.push(e))}))})),Array.from(l.children).filter((function(e){return e.matches(d)})).forEach((function(e){f?c.push({host:e.shadowRoot||e,selector:f}):s.push(e)}))};c.length>0;)l();return s},f=function(e){var t,n,r="data-hj-ignore-attributes";if(void 0!==e.attr(r))return!0;if(document.body.hasAttribute(r))return!0;for(var o=null!==(t=null===(n=e.get(0))||void 0===n?void 0:n.parentElement)&&void 0!==t?t:null;null!==o&&o!==document.body;){if(o.hasAttribute(r))return!0;o=o.parentElement}return!1};function g(t,i){var s=/(#|@|&|~|=|<|>|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,u=/(\s|#|@|&|~|=|<|>|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,g=i.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}},p=hj.tryCatch((function(t){var s,u,l,g,p,j,b,w,S,_=function(t,i){var s,u,l,h;if(c[i]){var f=c[i];for(p=0;p(.*)$"),"i"),v=(l=i.match(g),h=4,a(l)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(l,h)||o(l,h)||r()),m=v[1],y=v[3];hj.hq.each(hj.hq(m.replace(e,"").replace(n,"")),(function(e,t){b=Array.from(b).concat(d(t.shadowRoot,y))}))}for(c[i]=b,p=0;p"+a+r)}return v(t.parent(),">"+a+r)}),"common"),m=function(e){var t=[];return!(void 0===(e=hj.hq.trim((e||"").replace(/\s\s+/g," ")))||""===e||e.indexOf("yui_")>-1)&&((e=e.replace(s,"\\$1")).split(/\s/g).forEach((function(e){!(t.length-1||w(e))&&(e=e.replace(u,"\\$1"),e=b(e),j(e))},j=function(e){if(!e)return e;var t=e.charAt(0);return/\d/.test(t)?"\\3"+t+" "+e.slice(1):e},b=function(e){if(!e||"-"!==e.charAt(0))return e;var t=e.charAt(0),n=e.charAt(1);return/\d/.test(n)?t+"\\3"+n+" "+e.slice(2):e},w=function(e){return 1===e.length&&"-"===e},S=function(e){var t=[];return!(void 0===(e=hj.hq.trim((e||"").replace(/\s\s+/g," ")))||""===e||e.indexOf("yui_")>-1||w(e))&&((e=e.replace(s,"\\$1")).split(/\s/g).forEach((function(e){!(t.length=0}(e[0])?hj.tryCatch(r,"command")(o):hj.log.debug('Command "'+e[0]+'" blocked due to opt-out',"command"):hj.log.debug('Unknown command: "'+e[0]+'"',"command"),n.length>0&&hj.tryCatch(c)()}function u(e){e[0]&&hj.event.signal("trigger:"+e[0])}function l(e){if(e[0]&&Array.isArray(e[0])){var t=hj.privacy.getTagsWithoutPII(e[0]);hj.behaviorData.tagRecording(t)}else hj.log.error("tagRecording was called with an invalid argument. Please provide an array of tags. For example: hj('tagRecording', ['tag1', 'tag2']).\n\nRead more here: https://help.hotjar.com/hc/en-us/articles/115011819488-How-to-Tag-your-Hotjar-Recordings")}return t.vpv=function(){},t.stateChange=function(e){var t=window.location.href;e&&e.length>=1&&e[0]&&(t=hj.url.getUrlFromString(e[0])),hj.log.debug('Changing state to URL "'+t+'"',"command"),hj.currentUrl&&hj.currentUrl!=t&&hj._init.reinit(t)},t.tagRecording=function(e){l(e)},t.trigger=function(e){u(e)},t.identify=function(e){if(e[1]){var t=e[0];t=!t&&0!==t||"null"===t||"undefined"===t?null:String(t),r.userAttributes.set(t,e[1])}else null!=e[0]&&"object"===i(e[0])&&r.userAttributes.set(null,e[0])},t.event=function(e){u(e),l([[e[0]]])},t.session_event=function(e){o.sessionEvents.set(e[0])},t.gaSetTracker=function(e){e[0]&&hj.integrations.google_analytics.sendHotjarUserId.setTracker(e[0])},t._xhr=function(){},t.ready=function(e){e.forEach((function(e){e()}))},e.run=function(){hj.command=this},e.activate=function(){s||(s=!0,Object.defineProperty(n,"push",{writable:!0,value:function(){for(var e=0;e0&&c())},hj.initialVisitDataSent&&e.activate(),e}(),!0)}),"command")()},5239:function(e,t,n){"use strict";n.r(t);var r=n(2323),o=n(7183);hj.tryCatch((function(){hj.feedback=function(){var e={loaded:!1};function t(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.loaded&&!t||(e.loaded=!0,hj.widget.setLanguage(hj.widget.feedbackData.language),hj.features.hasFeature("feedback.widgetV2")?(0,r.H)(o.vO.PREACT_INCOMING_FEEDBACK):(0,r.H)(o.vO.INCOMING_FEEDBACK))}function n(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e.loaded&&!t||(e.loaded=!0,hj.widget.setLanguage(hj.widget.embeddedFeedbackWidgets[0].language),(0,r.H)(o.vO.PREACT_INCOMING_FEEDBACK))}function i(n){var r=(hj.settings.feedback_widgets||[]).filter((function(e){var t=e.display_type;return"button"===(void 0===t?"button":t)}));hj.hq.each(r,(function(r,o){hj.targeting.matchRules(o.targeting,n,hj.tryCatch((function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];hj.log.debug("Feedback widget #"+o.id+" has matched.","feedback"),!hj.widget.data||hj.widget.data.id===o.id&&"incoming"===hj.widget.data.type?(o.created_epoch_time-=31536e4,hj.widget.addMatchingWidget("incoming",o.id,o.created_epoch_time,o.targeting_percentage,(function(){hj.widget.feedbackData=o,hj.tryCatch(t,"feedback-button-load")(n)}),e.remove)):hj.log.debug("Another feedback widget is already present.","feedback")}),"feedback.run.matchRules-callback"))}))}function a(e){var t=(hj.settings.feedback_widgets||[]).filter((function(e){return"inline"===e.display_type})).filter((function(t){return hj.targeting.matchRules(t.targeting,e,(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];void 0!==hj.widget.embeddedFeedbackWidgets&&(hj.widget.embeddedFeedbackWidgets.push(t),hj.tryCatch(n,"feedback-embeddable-load")(e))}))}));hj.widget.embeddedFeedbackWidgets=t,t.length>0&&hj.tryCatch(n,"feedback-embeddable-load")()}return e.run=hj.tryCatch((function(t){e.loaded=!1,hj.tryCatch(i,"feedback-button")(t),hj.tryCatch(a,"feedback-embeddable")(t)}),"feedback"),e.remove=hj.tryCatch((function(e){hj.widget.feedbackData?(hj.hq("#_hj_feedback_container").length>0&&hj.hq("#_hj_feedback_container").parent().remove(),delete hj.widget.feedbackData,hj.hq(window).off("resize"),setTimeout((function(){e()}),1)):e()})),hj.isPreview&&(window._hjFeedbackReload=hj.tryCatch((function(e,n){hj.widget.feedbackData=e,hj.settings.legal_name=e.legal_name,hj.settings.privacy_policy_url=e.privacy_policy_url,n&&(hj.settings.features=n),hj.tryCatch(t,"feedback")(!0)}),"feedback")),e},hj.loader.registerModule("Feedback",hj.feedback(),!0)}),"feedback")()},5743:function(e,t,n){"use strict";n.r(t);var r=n(4788),o=n(6939),i=n(7473),a=n(728),s=n(4575),c=n(4967),u=n(7993),l=n(6226),h=n(3572),d=n(2471),f=n(4544);hj.tryCatch((function(){return hj.loader.registerModule("BehaviorData",(e={},hj.behaviorData={tagRecording:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e=e||[];for(var o=[],i=h.y.get("autoTagsToProcess"),s=h.y.get("tagsToProcess"),c=0;c0&&void 0!==arguments[0]?arguments[0]:hj.hq.noop;(0,s.U)("behavior-data.runRecordings")&&(u.t.items.SESSION_RESUMED.get()&&i.l.trackSessionResumed(),function(e){if(h.y.set("active",!1),hj.settings.record){var t=void 0===hj.settings.record_targeting_rules||!hj.settings.record_targeting_rules.length;i.l.setRecordingEnabled(d.Q.get("session.recordingEnabled"));var n=i.l.isRecordingEnabled();hj.log.debug("_hjRecordingEnabled is set to "+n,"recordings"),t||n?(n||(0,f.IU)({recordingEnabled:!0}),c.N.start()):hj.targeting.matchRules(hj.settings.record_targeting_rules,e,hj.tryCatch((function(){(0,f.IU)({recordingEnabled:!0}),c.N.start()}),"behavior-data.maybeStartRecordings")),u.t.items.SESSION_RESUMED.get()&&(u.t.items.SESSION_RESUMED.clear(),c.N.resume())}}(e))},e),!1);var e}),"behavior-data")()},728:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r=function(e,t,n){return hj.eventStream.write(e,t,n)}},4967:function(e,t,n){"use strict";n.d(t,{N:function(){return X}});var r,o,i=n(4788),a=n(7473),s=n(728),c=n(6226),u={setup:!1,listen:hj.tryCatch((function(e){u.setup?e&&u.send(i.s.INSERTED_RULE,hj.insertedRules.getCurrentInsertedRules()):(hj.insertedRules.init(),hj.insertedRules.register(u.send.bind(u,i.s.INSERTED_RULE),!0),hj.cssBlobs.register(u.send.bind(u,i.s.INSERTED_RULE)),hj.deletedRules.init(),hj.deletedRules.register(u.send.bind(u,i.s.DELETED_RULE)),u.setup=!0)}),"behavior-data.cssRules.listen"),send:hj.tryCatch((function(e,t){t.length&&setTimeout(hj.tryCatch((function(){var n={time:hj.time.getNow(),timestamp:c.f_.now(),rules:t};hj.debug.emit(e,n),(0,s.N)(e,n,!1)}),"behavior-data.cssRules"))}),"behavior-data.cssRules.send")},l=hj.tryCatch((function(e,t){var n=hj.hq(e),r=hj.selector(a.l.getSelectorVersion()).get(n);if(r&&t){var o={offset_x:t.pageX,offset_y:t.pageY,selector:r};a.l.isRecordingEnabled()&&(o.time=hj.time.getNow(),o.timestamp=c.f_.now()),(0,s.N)(i.s.MOUSE_CLICK,o,!1).flush()}}),"behavior-data.frameMouseClicks.frameClick"),h={setup:!1,listen:hj.tryCatch((function(){h.setup||(hj.log.debug("Setting up frame mouse click listeners.","events"),h.send(),h.setup=!0)}),"behavior-data.frameMouseClicks.listen"),send:hj.tryCatch((function(){if(a.l.isRecordingEnabled()){var e=location.origin,t=hj.hq("iframe");t.length&&[].forEach.call(t,(function(t){if(t.src&&-1!==t.src.indexOf(e))try{var n=t.contentWindow;hj.hq(n).on("mousedown",(function(e){l(t,e)}))}catch(e){}}))}}),"behavior-data.frameMouseClicks.send")},d={setup:!1,listen:hj.tryCatch((function(){d.setup||(hj.log.debug("Setting up input choice change listeners.","events"),hj.hq(document).on("change","input[type=checkbox], input[type=radio]",d.send),d.setup=!0)}),"behavior-data.inputChoiceChange.listen"),send:hj.tryCatch((function(e){if("INPUT"===e.target.tagName&&("checkbox"===e.target.type||"radio"===e.target.type)&&a.l.isRecordingEnabled()){var t=hj.hq(e.target),n=hj.selector().get(t),r=t.is(":checked");(0,s.N)(i.s.INPUT_CHOICE_CHANGE,{value:r,selector:n,time:hj.time.getNow(),timestamp:c.f_.now()},!0).flush()}}),"behavior-data.inputChoiceChange.send")},f=!1,g=!1,p=[],v={setup:!1,listen:hj.tryCatch((function(){v.setup||(hj.log.debug("Setting up key press listeners.","events"),hj.hq(document).on("input","input",v.update),hj.hq(document).on("blur","input",v.send),hj.hq(document).on("input","textarea",v.update),hj.hq(document).on("blur","textarea",v.send),v.setup=!0)}),"behavior-data.keyPress.listen"),update:hj.tryCatch((function(e){var t=hj.hq(e.target),n=t.val();g=g||hj.privacy.isRiskyNotAllowlistedOrSuppressedElement(e.target),p.push({time:hj.time.getNow(),timestamp:c.f_.now(),selector:hj.selector().get(t),text:n,type:e.target.type,suppression:g?"full":"none"}),f=!0}),"behavior-data.keyPress.update"),send:hj.tryCatch((function(){if(a.l.isRecordingEnabled()&&f){if(g){var e=p[0],t=p[p.length-1],n=hj.privacy.getSuppressedText(e.type,t.text),r=Math.floor((t.time-e.time)/Math.max(n.length,1));p=[];for(var o=0;oA&&(A=e,(0,s.N)(i.s.SCROLL_REACH,{time:hj.time.getNow(),timestamp:c.f_.now(),max_bottom:A},!0))}}),"behavior-data.scrollReach.send")},P={setup:!1,listen:hj.tryCatch((function(){P.setup||(hj.log.debug("Setting up select change listeners.","events"),hj.hq(document).on("change","select",P.send),P.setup=!0)}),"behavior-data.selectChange.listen"),send:hj.tryCatch((function(e){if("SELECT"===e.target.tagName&&a.l.isRecordingEnabled()){var t=hj.hq(e.target),n=hj.selector().get(t),r=t.val();(0,s.N)(i.s.SELECT_CHANGE,{value:r,selector:n,time:hj.time.getNow(),timestamp:c.f_.now()},!0).flush()}}),"behavior-data.selectChange.send")},x={setup:!1,listen:hj.tryCatch((function(){x.setup||(hj.log.debug("Setting up screen size change listeners.","events"),o=hj.ui.getWindowSize(),setInterval(x.checkResize,1e3),x.checkResize(),x.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,x.send())}),"behavior-data.viewportResize.checkResize"),send:hj.tryCatch((function(){a.l.isRecordingEnabled()&&(0,s.N)(i.s.VIEWPORT_RESIZE,{time:hj.time.getNow(),timestamp:c.f_.now(),w:o.width,h:o.height}).flush()}),"behavior-data.viewportResize.send")},D={setup:!1,listen:hj.tryCatch((function(){D.setup||(hj.adoptedStyleSheets.init(),hj.adoptedStyleSheets.register(D.send.bind(D,"adopted_style_sheets"),!0),D.setup=!0)}),"behavior-data.adoptedStyleSheets.listen"),send:hj.tryCatch((function(e,t){t&&setTimeout(hj.tryCatch((function(){var n={time:hj.time.getNow(),timestamp:c.f_.now(),parentSelector:t.parentSelector,sheets:t.sheets,nodeId:t.nodeId};hj.debug.emit(e,n),(0,s.N)(e,n,!1)}),"behavior-data.adoptedStyleSheets"))}),"behavior-data.adoptedStyleSheets.send")},M=I("copy"),U=I("cut"),L=I("paste"),H=[D,M,u,U,h,d,v,O,_,N,L,R,k,P,x],q={enableRecording:hj.tryCatch((function(e){a.l.setRecordingEnabled(!0),H.forEach((function(t){t.listen(e)})),hj.autotag.start()}),"behavior-data.events.enableRecording")},V=n(6597),W=n(6569),z=n(7993),B=n(2471),F=n(3572);function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var K=!1,J=(0,W.tU)((function(e,t,n,r,o){(0,s.N)(Y({},i.s.RECORDING_HELO,(function(){return function(e,t,n){return{playback_version:3,script_context_id:hj.scriptContextId,start_time:t,start_timestamp:n,page_visit_info:e,resumed:a.l.isResumedSession(),first_seen:a.l.isFirstSeen()}}(hj.visitData.getPageVisitInfo(t,hj.settings.site_id),n,r)}))).flush(),hj.eventStream.reportPageContent(e),(0,s.N)(i.s.SCROLL_REACH,{max_bottom:hj.ui.getBottomAsPercentage()},!0),o?q.enableRecording():F.y.on("pageInfo",(function(e,t){X.initializeTreeMirror(e.urlMD5),q.enableRecording(z.t.items.SESSION_RESUMED.get()),t()}))})),X={isTreeMirrorInitialized:function(){return K},start:hj.tryCatch((function(){a.l.setRecordingEnabled(!0),F.y.set("active",!0);var e=hj.ui.getWindowSize(),t=hj.time.getNow(),n=c.f_.now(),r=F.y.get("pageVisitKey");J(r,r,e,t,n,this.isTreeMirrorInitialized());var o=F.y.get("tagsToProcess");o.length&&((0,s.N)(i.s.TAG_RECORDING,o,!0).flush(),F.y.set("tagsToProcess",[]));var u=F.y.get("autoTagsToProcess");u.length&&((0,s.N)(i.s.AUTOTAG_RECORDING,u,!0).flush(),F.y.set("autoTagsToProcess",[])),hj.settings.user_attributes_enabled&&V.userAttributes.flush()}),"behavior-data.recording.start"),setAndSendPageContent:function(e,t){var n=B.Q.get("sessionAccepted");B.Q.on("sessionAccepted",(function(){return hj.eventStream.storePageContent(t,e)}),!n)},reset:function(){F.y.reset({pageVisitKey:void 0,pageInfo:void 0,pageContent:void 0,tagsToProcess:[],autoTagsToProcess:[],active:!1}),hj.eventStream.clearPageContent(),hj.treeMirror.resetMutationListeners(),K=!1},initializeTreeMirror:hj.tryCatch((function(e){hj.treeMirror.mutationObserverAvailable&&hj.treeMirror.getTree($.bind(null,e),Z)}),"behavior-data.initializeTreeMirror"),resume:function(){R.update(),O.trackCoordinatesOnNextClick()}},$=function(e,t){X.setAndSendPageContent(e,JSON.stringify(function(e){for(var t=1;tt}));e.length!==n.length&&window.localStorage.setItem(o,JSON.stringify(n));var a=sessionStorage.getItem(r);a&&n.some((function(e){return e.id===a}))&&window.sessionStorage.removeItem(r)}}}(),null==(t=window.sessionStorage.getItem(r))&&(t=(0,l.v4)(),window.sessionStorage.setItem(r,t)),function(){if(i.t.canUseLocalStorage()){var e=u.f_.now()+216e5,n=s();n.push({id:t,expireTimestamp:e}),window.localStorage.setItem(o,JSON.stringify(n))}}()):t=(0,l.v4)()),t}),"hj.viewport.getId"),n.isPageVisitStale=hj.tryCatch((function(){if(!i.t.canUseLocalStorage())return!1;if(!t)return!1;var n=window.localStorage.getItem(o),r="".concat(t,"-").concat(e,"-").concat(n);return null!=a[r]||(n?null==n.match(new RegExp(t))?a[r]=!1:a[r]=null===n.match(new RegExp('{[^}]*id":"'.concat(t,'"[^}]*"pageVisitKey":"').concat(e,'"}'))):a[r]=!1),a[r]}),"hj.viewport.isPageVisitStale"),n.setPageVisitForViewport=hj.tryCatch((function(n){if(e=n,i.t.canUseLocalStorage())if(t){var r=s();if(0!==r.length){var a=r.findIndex((function(e){return e.id===t}));-1!==a&&(r[a]=d(d({},r[a]),{},{pageVisitKey:n}),window.localStorage.setItem(o,JSON.stringify(r)))}}else hj.exceptions.log(new Error("Viewport ID was not correctly initialized (viewportId: ".concat(t,", pageVisitKey: ").concat(n,")")),"hj.viewport")}),"hj.viewport.setPageVisitForViewport"),window.addEventListener("pagehide",(function(){!function(){if(i.t.canUseLocalStorage()){var e=s();if(0!==e.length){var n=e.filter((function(e){return e.id!==t}));0===n.length?window.localStorage.removeItem(o):window.localStorage.setItem(o,JSON.stringify(n))}}}()})),n};function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>0}),"NodeMap.isIndex"),this.nodeId=hj.tryCatch((function(t){var n=t[e.ID_PROP];return n||(n=t[e.ID_PROP]=e.nextId_++),n}),"NodeMap.nodeId"),this.set=hj.tryCatch((function(e,n){var r=t.nodeId(e);t.nodes[r]=e,t.values[r]=n}),"NodeMap.set"),this.get=hj.tryCatch((function(e){var n=t.nodeId(e);return t.values[n]}),"NodeMap.get"),this.has=hj.tryCatch((function(e){return t.nodeId(e)in t.nodes}),"NodeMap.has"),this.deleteNode=hj.tryCatch((function(e){var n=t.nodeId(e);delete t.nodes[n],delete t.values[n]}),"NodeMap.deleteNode"),this.keys=hj.tryCatch((function(){var e=[];for(var n in t.nodes)t.isIndex(n)&&e.push(t.nodes[n]);return e}),"NodeMap.keys"),this.getValues=hj.tryCatch((function(){var e=[];for(var n in t.values)t.isIndex(n)&&e.push(t.values[n]);return e}),"NodeMap.getValues"),this.nodes=[],this.values=[]};S.ID_PROP="__hj_mutation_summary_node_map_id__",S.nextId_=1,function(e){e[e.STAYED_OUT=0]="STAYED_OUT",e[e.ENTERED=1]="ENTERED",e[e.STAYED_IN=2]="STAYED_IN",e[e.REPARENTED=3]="REPARENTED",e[e.REORDERED=4]="REORDERED",e[e.EXITED=5]="EXITED"}(b||(b={}));var _=function e(t){var n=this;j(this,e),this.getAttributeOldValue=hj.tryCatch((function(e){if(n.attributeOldValues)return n.isCaseInsensitive&&(e=e.toLowerCase()),n.attributeOldValues[e]}),"NodeChange.getAttributeOldValue"),this.getAttributeNamesMutated=hj.tryCatch((function(){var e=[];if(!n.attributeOldValues)return e;for(var t in n.attributeOldValues)e.push(t);return e}),"NodeChange.getAttributeNamesMutated"),this.attributeMutated=hj.tryCatch((function(e,t){n.attributes=!0,n.attributeOldValues=n.attributeOldValues||{},e in n.attributeOldValues||(n.attributeOldValues[e]=t)}),"NodeChange.attributeMutated"),this.characterDataMutated=hj.tryCatch((function(e){n.characterData||(n.characterData=!0,n.characterDataOldValue=e)}),"NodeChange.characterDataMutated"),this.removedFromParent=hj.tryCatch((function(e){n.childList=!0,n.added||n.oldParentNode?n.added=!1:n.oldParentNode=e}),"NodeChange.removedFromParent"),this.insertedIntoParent=hj.tryCatch((function(){n.childList=!0,n.added=!0}),"NodeChange.insertedIntoParent"),this.getOldParent=hj.tryCatch((function(){if(n.childList){if(n.oldParentNode)return n.oldParentNode;if(n.added)return null}return n.node.parentNode}),"NodeChange.getOldParent"),this.childList=!1,this.attributes=!1,this.characterData=!1,this.added=!1,this.oldParentNode=null,this.characterDataOldValue=null,this.attributeOldValues=null,this.node=t,this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument},E=function e(){j(this,e),this.added=new S,this.removed=new S,this.maybeMoved=new S,this.oldPrevious=new S},C=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r,o,i=y(t);if(n){var a=y(this).constructor;e=Reflect.construct(i,arguments,a)}else e=i.apply(this,arguments);return r=this,!(o=e)||"object"!==v(o)&&"function"!=typeof o?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r):o});function o(e,t){var n;return j(this,o),(n=r.call(this)).getChange=hj.tryCatch((function(e){var t=n.get(e);if(t)return t;var r=new _(e);return n.set(e,r),r}),"TreeChanges.getChange"),n.getOldParent=hj.tryCatch((function(e){var t=n.get(e);return t?t.getOldParent():e.parentNode}),"TreeChanges.getOldParent"),n.getIsReachable=hj.tryCatch((function(e){if(e===n.rootNode)return!0;if(!e)return!1;if(n.reachableCache.get(e))return!0;var t=n.getIsReachable(e.parentNode);return n.reachableCache.set(e,t),t}),"TreeChanges.getIsReachable"),n.getWasReachable=hj.tryCatch((function(e){if(e===n.rootNode)return!0;if(!e)return!1;if(n.wasReachableCache.get(e))return!0;var t=n.getOldParent(e);if(t===e)return!1;var r=n.getWasReachable(t);return n.wasReachableCache.set(e,r),r}),"TreeChanges.getWasReachable"),n.reachabilityChange=hj.tryCatch((function(e){var t=n.getIsReachable(e),r=n.getWasReachable(e);return t?r?b.STAYED_IN:b.ENTERED:r?b.EXITED:b.STAYED_OUT}),"TreeChanges.reachabilityChange"),n.anyParentsChanged=!1,n.anyAttributesChanged=!1,n.anyCharacterDataChanged=!1,n.rootNode=e,n.wasReachableCache=new S,n.reachableCache=new S,t.forEach((function(e){w(e)?(n.anyParentsChanged=!0,e.removedNodes.forEach((function(t){return n.getChange(t).removedFromParent(e.target)})),e.addedNodes.forEach((function(e){return n.getChange(e).insertedIntoParent()}))):function(e){return"attributes"===e.type}(e)?(n.anyAttributesChanged=!0,n.getChange(e.target).attributeMutated(e.attributeName,e.oldValue)):function(e){return"characterData"===e.type}(e)&&(n.anyCharacterDataChanged=!0,n.getChange(e.target).characterDataMutated(e.oldValue))})),n}return o}(S),O=function e(t,n,r){var o=this;j(this,e),this.processMutations=hj.tryCatch((function(){(o.treeChanges.anyParentsChanged||o.treeChanges.anyAttributesChanged)&&o.treeChanges.keys().forEach((function(e){return o.visitNode(e)}))}),"MutationProjection.processMutations"),this.visitNode=hj.tryCatch((function(e,t){if(!o.visited.has(e)){o.visited.set(e,!0);var n=o.treeChanges.get(e),r=t;if((n&&n.childList||!r)&&(r=o.treeChanges.reachabilityChange(e)),r!==b.STAYED_OUT){if(r===b.ENTERED)o.entered.push(e);else if(r===b.EXITED)o.exited.push(e),o.ensureHasOldPreviousSiblingIfNeeded(e);else if(r===b.STAYED_IN){var i=b.STAYED_IN;n&&n.childList&&(n.oldParentNode!==e.parentNode?(i=b.REPARENTED,o.ensureHasOldPreviousSiblingIfNeeded(e)):o.wasReordered(e)&&(i=b.REORDERED)),o.stayedIn.set(e,i)}if(r!==b.STAYED_IN)for(var a=e.firstChild;a;a=a.nextSibling)o.visitNode(a,r)}}}),"MutationProjection.visitNode"),this.ensureHasOldPreviousSiblingIfNeeded=hj.tryCatch((function(e){if(o.calcOldPreviousSibling){o.processChildlistChanges();var t=e.parentNode,n=o.treeChanges.get(e);if(n&&n.oldParentNode&&(t=n.oldParentNode),t){var r=o.childListChangeMap,i=r.get(t);i||(i=new E,r.set(t,i)),!i.oldPrevious.has(e)&&e.previousSibling&&i.oldPrevious.set(e,e.previousSibling)}}}),"MutationProjection.ensureHasOldPreviousSiblingIfNeeded"),this.getChanged=hj.tryCatch((function(e){o.entered.forEach((function(t){return e.added.push(t)})),o.stayedIn.keys().forEach((function(t){var n=o.stayedIn.get(t);n===b.REPARENTED?e.reparented.push(t):n===b.REORDERED&&e.reordered.push(t)})),o.exited.forEach((function(t){return e.removed.push(t)})),e.attributeChanged=o.attributeChangedNodes(),e.characterDataChanged=o.getCharacterDataChanged()}),"MutationProjection.getChanged"),this.attributeChangedNodes=hj.tryCatch((function(){if(!o.treeChanges.anyAttributesChanged)return{};var e={};return o.treeChanges.keys().forEach((function(t){var n=o.treeChanges.get(t);if(n.attributes&&b.STAYED_IN===o.treeChanges.reachabilityChange(t)){var r=t;n.getAttributeNamesMutated().forEach((function(t){if(n.getAttributeOldValue(t)!==r.getAttribute(t)){var o=t;e[o]=[].concat(function(e){if(Array.isArray(e))return p(e)}(i=e[o]||[])||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[r])}var i}))}})),e}),"MutationProjection.attributeChangedNodes"),this.getCharacterDataChanged=hj.tryCatch((function(){if(!o.treeChanges.anyCharacterDataChanged)return[];var e=o.treeChanges.keys(),t=[];return e.forEach((function(e){if(b.STAYED_IN===o.treeChanges.reachabilityChange(e)){var n=o.treeChanges.get(e);n.characterData&&e.textContent!=n.characterDataOldValue&&t.push(e)}})),t}),"MutationProjection.getCharacterDataChanged"),this.getChildlistChange=hj.tryCatch((function(e){var t=o.childListChangeMap,n=t.get(e);return n||(n=new E,t.set(e,n)),n}),"MutationProjection.getChildlistChange"),this.processChildlistChanges=hj.tryCatch((function(){o.childListChangeMap||(o.childListChangeMap=new S,o.mutations.forEach((function(e){if(w(e)&&(o.treeChanges.reachabilityChange(e.target)===b.STAYED_IN||o.calcOldPreviousSibling)){var t=o.getChildlistChange(e.target),n=e.previousSibling;e.removedNodes.forEach((function(e){r(e,n),t.added.has(e)?t.added.deleteNode(e):(t.removed.set(e,!0),t.maybeMoved.deleteNode(e)),n=e})),r(e.nextSibling,n),e.addedNodes.forEach((function(e){t.removed.has(e)?(t.removed.deleteNode(e),t.maybeMoved.set(e,!0)):t.added.set(e,!0)}))}function r(e,n){!e||t.oldPrevious.has(e)||t.added.has(e)||t.maybeMoved.has(e)||n&&(t.added.has(n)||t.maybeMoved.has(n))||t.oldPrevious.set(e,n)}})))}),"MutationProjection.processChildlistChanges"),this.wasReordered=hj.tryCatch((function(e){if(!o.treeChanges.anyParentsChanged)return!1;o.processChildlistChanges();var t=e.parentNode,n=o.treeChanges.get(e);if(n&&n.oldParentNode&&(t=n.oldParentNode),!t)return!1;var r=o.childListChangeMap.get(t);if(!r)return!1;if(r.moved)return r.moved.get(e);r.moved=new S;var i=new S;function a(e){var t=r,n=t.moved;if(!e)return!1;if(!t.maybeMoved.has(e))return!1;var o=n.get(e);return void 0!==o||(i.has(e)?o=!0:(i.set(e,!0),o=function(e){var t=r;if(u.has(e))return u.get(e);for(var n=e.previousSibling;n&&(t.added.has(n)||a(n));)n=n.previousSibling;return u.set(e,n),n}(e)!==c(e)),i.has(e)?(i.deleteNode(e),n.set(e,o)):o=n.get(e)),o}var s=new S;function c(e){var t=r,n=s.get(e);if(void 0!==n)return n;for(var o=t.oldPrevious.get(e);o&&(t.removed.has(o)||a(o));)o=c(o);return void 0===o&&(o=e.previousSibling),s.set(e,o),o}var u=new S;return r.maybeMoved.keys().forEach(a),r.moved.get(e)}),"MutationProjection.wasReordered"),this.entered=[],this.exited=[],this.stayedIn=new S,this.visited=new S,this.rootNode=t,this.mutations=n,this.calcOldPreviousSibling=r,this.treeChanges=new C(t,n),this.processMutations()},I=function e(t){j(this,e),this.added=[],this.removed=[],this.reparented=[],this.reordered=[],this.valueChanged=[],this.attributeChanged={},this.characterDataChanged=[],t.getChanged(this)},N=function e(t){var n=this;j(this,e),this.validateOptions=hj.tryCatch((function(e){var t={callback:!0,rootNode:!0,oldPreviousSibling:!0};for(var n in e)if(!(n in t))throw Error("Invalid option: "+n);if("function"!=typeof e.callback)throw Error("Invalid options: callback is required and must be a function");return{callback:e.callback,rootNode:e.rootNode||document,oldPreviousSibling:!!e.oldPreviousSibling}}),"MutationSummary.validateOptions"),this.changesToReport=hj.tryCatch((function(e){return!!e.added.length||(!!e.removed.length||(!!e.reordered.length||(!!e.reparented.length||(!!e.valueChanged.length||(!!e.characterDataChanged.length||!(!e.attributeChanged||!Object.keys(e.attributeChanged).some((function(t){var n,r;return!!(null===(n=e.attributeChanged)||void 0===n||null===(r=n[t])||void 0===r?void 0:r.length)}))))))))}),"MutationSummary.changesToReport"),this.observerCallback=hj.tryCatch((function(e){if(e&&e.length){var t=new O(n.root,e,n.options.oldPreviousSibling),r=new I(t);n.changesToReport(r)&&n.callback(r)}}),"MutationSummary.observerCallback"),this.reconnect=hj.tryCatch((function(){var e;if(n.connected)throw Error("Already connected");null===(e=n.observer)||void 0===e||e.observe(n.root,{childList:!0,subtree:!0,attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0}),n.connected=!0}),"MutationSummary.reconnect"),this.disconnect=hj.tryCatch((function(){var e;null===(e=n.observer)||void 0===e||e.disconnect(),n.connected=!1}),"MutationSummary.disconnect");var r=void 0!==window.WebKitMutationObserver?window.WebKitMutationObserver:window.MutationObserver;this.connected=!1,this.options=this.validateOptions(t),this.root=this.options.rootNode,this.callback=this.options.callback,void 0!==r&&(this.observer=new r((function(e){return n.observerCallback(e)})),this.reconnect())};function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t0?(0,c.oL)(t.adoptedStyleSheets,t):null;return function(e){var t=e.target,n=e.task,r=e.onFinish,o=e.config,i=void 0===o?{maxIterations:5,maxTaskTime:250}:o,a=[],s=0,c=u.f_.now(),l=t.firstChild,h=[];!function e(){if(l){a.push(n(l)),l=l.nextSibling;var t=u.f_.now()-c;t>=i.maxTaskTime&&s1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;if(null==e)return null;var i=o.knownNodes.get(e);if(i&&!n)return{id:i};var a=null!=i?i:o.rememberNode(e),s=P(e)?e.shadowRoot||o.shadowRoots.get(e):void 0,u=function(e){var t,n,r,o,i=e.node,a=e.shouldSuppressNode,s={};switch(i.nodeType){case Node.DOCUMENT_TYPE_NODE:t=i,s.name=""===t.name?"html":t.name,s.publicId=t.publicId,s.systemId=t.systemId;break;case Node.COMMENT_NODE:case Node.TEXT_NODE:o=hj.metrics.time(),n=hj.privacy.getSuppressedTextNode(i,a),hj.metrics.timeIncr("task-execution-time",{tag:{task:"node-suppression"},start:o}),a=n.shouldSuppressNode,s.textContent=n.content;break;case Node.ELEMENT_NODE:o=hj.metrics.time(),r=hj.privacy.getSuppressedNode(i,a),hj.metrics.timeIncr("task-execution-time",{tag:{task:"node-suppression"},start:o}),a=r.shouldSuppressNode,s.tagName=r.node.tagName,s.attributes=r.node.attributes,!s.attributes["data-hj-suppressed"]&&"IMG"===s.tagName&&i.currentSrc&&(s.attributes.src=i.currentSrc),"http://www.w3.org/1999/xhtml"!==(null==i?void 0:i.namespaceURI)&&(s.namespaceURI=i.namespaceURI)}return{properties:s,shouldSuppressNode:a}}({node:e,shouldSuppressNode:r}),l=u.properties,h=u.shouldSuppressNode,d=R(R({nodeType:e.nodeType,id:a},function(e){var t=e.shadowRoot,n=e.getNextId,r={};if(!t)return r;if(r.hasShadowRoot=!0,r.isSyntheticShadow=!!t.synthetic,t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0){var o=t.adoptedStyleSheets.reduce((function(e,r){for(var o=[],i=0;i2&&void 0!==arguments[2]&&arguments[2],i=!1;if(null===e)return null;var a=r.idMap[e.id];if(a&&!o)return a;var s=null!==(n=r.root.ownerDocument)&&void 0!==n?n:r.root;switch(e.nodeType){case Node.COMMENT_NODE:a=s.createComment(e.textContent);break;case Node.TEXT_NODE:a=s.createTextNode(e.textContent);break;case Node.DOCUMENT_TYPE_NODE:a=s.implementation.createDocumentType(e.name,e.publicId,e.systemId);break;case Node.ELEMENT_NODE:try{a=s.createElement(e.tagName)}catch(e){var c=e instanceof Error?e.message:"unknown";a=s.createComment('hj.treeMirror.deserializeNode.error: "'+c+'"'),i=!0;break}Object.keys(e.attributes).forEach((function(t){try{var n=e.attributes;r.delegate&&r.delegate.setAttribute&&r.delegate.setAttribute(a,t,n[t])||a.setAttribute(t,n[t])}catch(e){}}))}if(!a)throw"Could not create node of type: "+e.nodeType;return r.idMap[e.id]=a,t&&t.appendChild(a),e.childNodes&&!i&&e.childNodes.forEach((function(e){r.deserializeNode(e,a,o)})),a}),"TreeMirrorHost.deserializeNode"),this.root=t,this.delegate=n,this.idMap={}},q=null,V=hj.tryCatch((function(e){var t;q||(q=new H(document.cloneNode(),{setAttribute:(t=function(e,t,n){e.setAttribute(t,n)},function(e,n,r){return"data-hj-suppressed"===n&&"object"==typeof r?(function(e,t,n){const r="https://"+(n||hj.insightsHost)+"/static/app/img/transparent.png",o=function(e,t){const n="https://"+(t||hj.insightsHost)+"/static/app/img/suppressed.png",r=(e.meta||{}).style||{},o=r.width,i=r.height;return[e.style,'background: url("'+n+'") repeat !important',o?"width: "+o:"",i?"height: "+i:""].filter((function(e){return e}))}(t,n);[["src",r],["style",o.join(";")]].forEach((function(t){e.setAttribute(t[0],t[1])}))}(e,r,undefined),!0):t(e,n,r)})})),L.getTree((function(t){var n=t.rootId,r=t.children;return e(q.deserializeDocument(n,r,!0))}))}),"TreeMirrorHost.getMirroredDocument");function W(e){return W="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},W(e)}hj.tryCatch((function(){if(void 0!==hj.scriptLoaded)return window.console=window.console||{warn:function(){}},console.warn("Hotjar Tracking Warning: Multiple Hotjar tracking codes were detected on this page. Tracking will not work as expected."),hj.verifyInstall?void(0,r.c)("Hotjar installation invalid.","It appears you have more than one Hotjar tracking code set up on this page. Hotjar cannot work properly if multiple Hotjar scripts are loaded concurrently. Please make sure you only install the one tracking code provided for this site.","bad"):void 0;var e,t,n;function u(e,t){var n=h(n=e[0],i=e[1],o=e[2],r=e[3],t[0],7,-680876936),r=h(r,n,i,o,t[1],12,-389564586),o=h(o,r,n,i,t[2],17,606105819),i=h(i,o,r,n,t[3],22,-1044525330);n=h(n,i,o,r,t[4],7,-176418897),r=h(r,n,i,o,t[5],12,1200080426),o=h(o,r,n,i,t[6],17,-1473231341),i=h(i,o,r,n,t[7],22,-45705983),n=h(n,i,o,r,t[8],7,1770035416),r=h(r,n,i,o,t[9],12,-1958414417),o=h(o,r,n,i,t[10],17,-42063),i=h(i,o,r,n,t[11],22,-1990404162),n=h(n,i,o,r,t[12],7,1804603682),r=h(r,n,i,o,t[13],12,-40341101),o=h(o,r,n,i,t[14],17,-1502002290),n=d(n,i=h(i,o,r,n,t[15],22,1236535329),o,r,t[1],5,-165796510),r=d(r,n,i,o,t[6],9,-1069501632),o=d(o,r,n,i,t[11],14,643717713),i=d(i,o,r,n,t[0],20,-373897302),n=d(n,i,o,r,t[5],5,-701558691),r=d(r,n,i,o,t[10],9,38016083),o=d(o,r,n,i,t[15],14,-660478335),i=d(i,o,r,n,t[4],20,-405537848),n=d(n,i,o,r,t[9],5,568446438),r=d(r,n,i,o,t[14],9,-1019803690),o=d(o,r,n,i,t[3],14,-187363961),i=d(i,o,r,n,t[8],20,1163531501),n=d(n,i,o,r,t[13],5,-1444681467),r=d(r,n,i,o,t[2],9,-51403784),o=d(o,r,n,i,t[7],14,1735328473),n=f(n,i=d(i,o,r,n,t[12],20,-1926607734),o,r,t[5],4,-378558),r=f(r,n,i,o,t[8],11,-2022574463),o=f(o,r,n,i,t[11],16,1839030562),i=f(i,o,r,n,t[14],23,-35309556),n=f(n,i,o,r,t[1],4,-1530992060),r=f(r,n,i,o,t[4],11,1272893353),o=f(o,r,n,i,t[7],16,-155497632),i=f(i,o,r,n,t[10],23,-1094730640),n=f(n,i,o,r,t[13],4,681279174),r=f(r,n,i,o,t[0],11,-358537222),o=f(o,r,n,i,t[3],16,-722521979),i=f(i,o,r,n,t[6],23,76029189),n=f(n,i,o,r,t[9],4,-640364487),r=f(r,n,i,o,t[12],11,-421815835),o=f(o,r,n,i,t[15],16,530742520),n=p(n,i=f(i,o,r,n,t[2],23,-995338651),o,r,t[0],6,-198630844),r=p(r,n,i,o,t[7],10,1126891415),o=p(o,r,n,i,t[14],15,-1416354905),i=p(i,o,r,n,t[5],21,-57434055),n=p(n,i,o,r,t[12],6,1700485571),r=p(r,n,i,o,t[3],10,-1894986606),o=p(o,r,n,i,t[10],15,-1051523),i=p(i,o,r,n,t[1],21,-2054922799),n=p(n,i,o,r,t[8],6,1873313359),r=p(r,n,i,o,t[15],10,-30611744),o=p(o,r,n,i,t[6],15,-1560198380),i=p(i,o,r,n,t[13],21,1309151649),n=p(n,i,o,r,t[4],6,-145523070),r=p(r,n,i,o,t[11],10,-1120210379),o=p(o,r,n,i,t[2],15,718787259),i=p(i,o,r,n,t[9],21,-343485551),e[0]=b(n,e[0]),e[1]=b(i,e[1]),e[2]=b(o,e[2]),e[3]=b(r,e[3])}function l(e,t,n,r,o,i){return t=b(b(t,e),b(r,i)),b(t<>>32-o,n)}function h(e,t,n,r,o,i,a){return l(t&n|~t&r,e,t,o,i,a)}function d(e,t,n,r,o,i,a){return l(t&r|n&~r,e,t,o,i,a)}function f(e,t,n,r,o,i,a){return l(t^n^r,e,t,o,i,a)}function p(e,t,n,r,o,i,a){return l(n^(t|~r),e,t,o,i,a)}function v(e){var t,n=[];for(t=0;64>t;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}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.isPreview=Boolean(_hjSettings.preview),hj.userDeviceType=null,hj.optOut=!1,hj.windowSize=null,hj.maxRecordingTagLength=250,hj.settings=hj.isPreview?{}:window.hjSiteSettings,hj.locationListener=(n="manual",(t={}).setMode=hj.tryCatch((function(t){n=t,e&&clearInterval(e),"automatic_with_fragments"===n?e=setInterval((function(){var e=""===location.hash&&location.href.indexOf("#")>-1?"#":location.hash,t="".concat(location.origin).concat(location.pathname).concat(location.search).concat(e);hj.currentUrl&&hj.currentUrl!=t&&hj._init.reinit(t)}),200):"automatic"===n&&(e=setInterval((function(){var e="".concat(location.origin).concat(location.pathname).concat(location.search);hj.currentUrl&&hj.currentUrl.split("#")[0]!=e&&hj._init.reinit(e)}),200))})),t);var m,y="0123456789abcdef".split("");function j(e){for(var t="",n=0;4>n;n++)t+=y[e>>8*n+4&15]+y[e>>8*n&15];return t}function b(e,t){return e+t&4294967295}hj.encodeAsUtf8=o.IU,hj.decodeAsUtf8=o.VJ,hj.md5=function(e,t){var n="";try{n=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*n,u(r,o),r}(hj.encodeAsUtf8(e)))}catch(e){t?n="":hj.exceptions.log(e,"md5")}return n},hj.b64EncodeUnicode=o.GT,hj.b64DecodeUnicode=o.Di,hj.isParsableJSON=function(e){try{var t=JSON.parse(e);if(t&&"object"===W(t))return!0}catch(e){}return!1},"5d41402abc4b2a76b9719d911017c592"!=hj.md5("hello")&&(b=function(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}),hj.time=(m=(new Date).getTime(),{reset:function(){m=(new Date).getTime()},getNow:function(){return(new Date).getTime()-m}}),hj.debug={isOn:function(){return _hjSettings.hjdebug},on:function(e){_hjSettings.hjdebug=!0,e&&i.t.items.DEBUG_FLAG.set(!0)},off:function(){_hjSettings.hjdebug=!1,i.t.items.DEBUG_FLAG.clear()},emit:function(e,t){"undefined"!=typeof _hjEmitters&&_hjEmitters.includes&&_hjEmitters.includes(e)&&window.postMessage({data:t,message:i.t.items.DEBUG_FLAG.getKey(),type:e},"*")}},hj.url=a,hj.log=function(){var e=!1,t="",n={},r={autotag:"#ff0099",command:"#0079a4",cookies:"#5a2c22",data:"#009bd2",event:"#ff7000",events:"#ffc000",exception:"#e63946",heatmap:"#700000",init:"#6600cc",integration:"#2a9072",poll:"#00a000",property:"#ff33cc",recording:"#dd0000",rendering:"#bd00ea",sampling:"#efb0a1",survey:"#007000",targeting:"#00ee00",visitdata:"#00668a",websocket:"#0dc0ff"};return n.init=function(){void 0===window.console&&(window.console={debug:function(){},trace:function(){},log:function(){},info:function(){},warn:function(){},error:function(){}})},n.debug=function(o,i,a){var s=i&&r[i.toLowerCase()]||"#2a9d8f";t!=o&&e&&(console.groupEnd(),e=!1),t=o,hj.debug.isOn()&&("object"===W(o)?hj.hq.each(o,(function(e,t){n.debug(e+": "+t,i,null)})):(o=i&&"string"==typeof o?i.toUpperCase()+": "+o:o,o="%c"+(new Date).toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")+":%c "+o,a?(e||(console.groupCollapsed(o+":","color: #999;","color: "+s+";"),e=!0),console.log(a)):console.log(o,"color: #999;","color: "+s+";")))},n.info=function(e){console.log("%c"+e,"color: #006EFF")},n.warn=function(e){console.log("%c"+e,"color: #E8910C")},n.error=function(e){console.error("Hotjar error: "+e)},n.warnIfEmpty=function(e,t){if(Array.isArray(e)?0===e.length:hj.hq.isNullOrUndefined(e)){var n=null===e?"null":void 0===e?"undefined":"no value";hj.log.debug("WARNING: [".concat(t,"] a value was expected but ").concat(n," was found!"))}},n}(),hj.loader=function(){var e={},t=[];return e.getModules=hj.tryCatch((function(){return t}),"common"),e.registerModule=hj.tryCatch((function(e,n,r){t.push({name:e,module:n,nonTracking:void 0!==r&&r})}),"common"),e}(),hj.targeting=function(){var e={};function t(t,n){var r;if(!e.matchOperations[t.match_operation])return hj.exceptions.log(new Error('Targeting error - "'.concat(t.match_operation,'" match operation does not exist.')),"common.targeting.matchPatternWithRule"),!1;t.rule_type=t.rule_type||t.component;var o=function(e,t){return!t||"date"!==e.rule_type||"less_than"!==e.match_operation&&"greater_than"!==e.match_operation?t:(new Date(t).valueOf()/1e3).toFixed(0)}(t,n);return(r=e.matchOperations[t.match_operation](t,o)).error?(hj.exceptions.log(new Error("Targeting error - ".concat(t.match_operation," - ").concat(r.error)),"common.targeting.matchPatternWithRule"),!1):("url"!==t.component&&t.negate&&(r=!r),function(e,t,n){var r=n?"Match ":"No Match ";!n||"url"!==e.component&&"device"!==e.component||(r+=e.component+"|"+e.match_operation+"|"+e.pattern+(e.negate?" [NEGATE]":""),hj.log.debug(r,"targeting")),"attribute"!==e.component&&"event"!==e.component||(r+=e.component+"|"+e.name+" ("+e.rule_type+")|"+e.match_operation+"|"+e.pattern+"|compared with: "+t+(e.negate?" [NEGATE]":""),hj.log.debug(r,"targeting"))}(t,n,r),r)}function n(e){var n,r=(0,c.vO)();return(n=0===e.length||3===e.length||e.some((function(e){return t(e,r)})))?hj.log.debug("Device match found","targeting"):hj.log.debug("No device match found","targeting"),n}function r(e,n){var r,o=!1,i=!1,a=!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:f((function(e,t){return Number(t)=r}))},e}(),hj.rendering=function(){var e={},t=[];function n(e,t){hj.tryCatch(t,"Rendering")(e)}function r(e,t){hj.widgetDelay.set((function(){hj.tryCatch(t,"Rendering")(e)}),1e3*e.display_delay)}function o(e,n,r){var o=hj.hq(document),i=hj.hq(window),a=[];function s(){hj.tryCatch(n,"Rendering")(e),o.off("mousemove."+r),o.off("mouseout."+r)}t.push(r),o.off("mousemove."+r),o.off("mouseout."+r),o.on("mousemove."+r,hj.tryCatch((function(e){a.push({x:e.clientX,y:e.clientY}),a.length>2&&(a[1].x===a[2].x&&a[1].y===a[2].y?a.pop():a.shift())}),"Rendering")),o.on("mouseout."+r,hj.tryCatch((function(e){e.relatedTarget&&(e.relatedTarget===this||this.compareDocumentPosition(e.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||function(e){var t=a[1],n=a[0];if(e|=0,void 0!==t&&!(t.y>=n.y||e>0)){n.x===t.x&&s();var r=(n.y-t.y)/(n.x-t.x),o=-(n.y-r*n.x)/r;o>0&&o=.5&&(o.off("scroll."+n),t(e))}),"Rendering"))}return e.clearAllAbandonEvents=hj.tryCatch((function(){t.forEach((function(e){hj.log.debug("Removing abandon events for "+e,"rendering"),hj.hq(document).off("mousemove."+e),hj.hq(document).off("mouseout."+e)})),t=[]}),"common"),e.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"),e.TrustedString=function(e){this.value=e},e.callAccordingToCondition=hj.tryCatch((function(e,t,a){var s={immediate:n,delay:r,abandon:o,scroll:i}["inline"===e.display_type?"immediate":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+'"');hj.tryCatch(s,"Rendering")(e,a,t)}),"common"),e}(),hj.survey=hj.tryCatch((function(){return{ctrl:void 0,data:void 0,model:{},activeLanguageDirection:"ltr"}}),"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,n;if(document&&document.documentElement&&document.documentElement.clientWidth)t=document.documentElement.clientWidth,n=document.documentElement.clientHeight;else{var r=e.getWindowSize();t=r.width,n=r.height}return{width:t,height:n}}),"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(n){n.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={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,n){n.href&&0===n.href.indexOf("http")&&(hj.log.debug("Getting CSS","dpc",n.href),e.push(n.href))})),e}},hj.html=function(){var e={};return e.getPageContent=hj.tryCatch((function(e,t){function n(e,t){t=t||document;var n=parseInt(e.split(":")[0]),r=e.substring(e.indexOf(":")+1);return t.querySelectorAll(r)[n]}t=t||[],V((function(r){var o=hj.insertedRules.getCurrentInsertedRules(),i={};o.forEach((function(e){var o=n(e.parentSelector,r);if(i[e.parentSelector]||(i[e.parentSelector]=""),"LINK"===o.tagName){var a=o.attributes,s=a.href.value.split(location.hostname).pop().replace("/",""),c=r.querySelector(".blob-hash-"+s);if(!c){c=document.createElement("style"),i[e.parentSelector]=i[e.parentSelector]+"/* Originally: 0&&(t=t.substring(0,n)),0!==(t=t.replace(",","")).indexOf("http")&&(t=i+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)}(r,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){var n;try{var r=window.localStorage.getItem("HJ_OVERRIDE_FEATURE:".concat(t));n="true"===r||"1"===r}catch(e){n=!1}return e.getFeatures().indexOf(t)>-1||n}),"hj.features.hasFeature"),e}(),hj.viewport=hj.tryCatch(g,"common")(),hj.MutationSummary=N,hj.treeMirror=L,hj.resizeListeners=function(){var e={},t={};return e.remove=hj.tryCatch((function(e){var n="survey_".concat(e);"function"==typeof t[n]&&window.removeEventListener("resize",t[n])}),"hj.resizeHandlers.setHandler"),e.add=hj.tryCatch((function(n,r){var o="survey_".concat(r);e.remove(r),t[o]=n,window.addEventListener("resize",n)}),"hj.resizeHandlers.setHandler"),e}(),hj.experimentation={getVariant:function(e,t,n){return hj.tryCatch((function(){var r;if(!(Array.isArray(t)&&Array.isArray(n)&&t.length&&n.length&&t.length===n.length))throw new Error("Options and probability split must be arrays of equal length.");if(n.reduce((function(e,t){return e+t}))<.99)throw new Error("Probability splits should add up to at least 0.99.");(null===(r=window.hjSiteSettings.experimentation)||void 0===r?void 0:r.variants)||(window.hjSiteSettings.experimentation={variants:{}});var o=window.hjSiteSettings.experimentation.variants[e];if(!o){for(var i,a=Math.random(),s=0,c=0;c<=n.length-1;c++){var u=s+n[c];if(a<=u){i=t[c];break}s=u}window.hjSiteSettings.experimentation.variants[e]=o=i}return o}),"hj.experimentation.getVariant")()}}}),"common")()},6421:function(e,t,n){"use strict";n.r(t);var r=n(6569);hj.tryCatch((function(){hj.adoptedStyleSheets=function(){var e={},t=[],n=null,o=null,i=!1;function a(e){t.forEach((function(t){t(e)}))}function s(e){return hj.selector().get(hj.hq(e))}return e.init=function(){i||(void 0!==window.ShadowRoot&&(n=Object.getOwnPropertyDescriptor(ShadowRoot.prototype,"adoptedStyleSheets"))&&Object.defineProperty(ShadowRoot.prototype,"adoptedStyleSheets",{set:function(){n.set.apply(this,arguments);var e=arguments[0],t=this.host,o={sheets:(0,r.oL)(e,t)};if(t instanceof Node&&document.contains(t))o.parentSelector=s(t),o.nodeId=hj.treeMirror.getNodeId(t),a(o);else{var i=this;hj.treeMirror.onTreeMirrorUpdate((function(){var e=i.host;o.parentSelector=s(e),o.nodeId=hj.treeMirror.getNodeId(e),a(o)}))}}}),void 0!==window.document.adoptedStyleSheets&&(o=Object.getOwnPropertyDescriptor(Document.prototype,"adoptedStyleSheets"))&&Object.defineProperty(Document.prototype,"adoptedStyleSheets",{set:function(){o.set.apply(this,arguments);var e=arguments[0],t={sheets:(0,r.oL)(e,this)};t.nodeId=hj.treeMirror.getNodeId(this),t.parentSelector=null,t.isOnDocument=!0,a(t)}}),i=!0)},e.register=function(e){t.push(e)},e.destroy=function(){n&&(Object.defineProperty(ShadowRoot.prototype,"adoptedStyleSheets",n),n=null,i=!1),o&&(Object.defineProperty(Document.prototype,"adoptedStyleSheets",o),o=null,i=!1),t.length=0},e}()}),"hj.adoptedStyleSheets")()},4004:function(){hj.tryCatch((function(){var e,t;hj.cssBlobs=(t=[],(e={}).register=function(e){t.push(e)},e.handleBlobStyles=hj.tryCatch((function(e){var n=[];"link"===e.tagName.toLowerCase()&&"rel"in e.attributes&&"stylesheet"===e.attributes.rel.value&&"href"in e.attributes&&0===e.attributes.href.value.indexOf("blob:")&&setTimeout((function(){for(var r=hj.selector().get(hj.hq(e)),o=hj.treeMirror.getNodeId(e),i=0,a=e.sheet.cssRules.length;i4&&void 0!==arguments[4]?arguments[4]:{contentType:"json"};n=n||hj.hq.noop,r=r||hj.hq.noop;var i=(null==o?void 0:o.query)?"".concat(e,"?").concat(o.query):e;return hj.hq.ajax({url:i,type:"POST",data:"json"===(null==o?void 0:o.contentType)?hj.hq.stringify(t):t,contentType:"text/plain; charset=UTF-8",success:hj.tryCatch(n,"Data"),error:hj.tryCatch(r,"Data")})}function i(e,t,n,r){n=n||hj.hq.noop,r=r||hj.hq.noop,hj.hq.ajax({url:e,type:"PUT",data:hj.hq.stringify(t),contentType:"text/plain; charset=UTF-8",success:hj.tryCatch(n,"Data"),error:hj.tryCatch(r,"Data")})}n.r(t),n.d(t,{get:function(){return r},post:function(){return o},putAsJSON:function(){return i}}),hj.ajax={get:r,post:o,putAsJSON:i}},8485:function(e,t,n){"use strict";n.d(t,{K:function(){return r}});var r=(0,n(9189).M)({eventsRetrySuccess:!1,initMessageQueued:!1},"event-stream")},9097:function(e,t,n){"use strict";n.r(t),n.d(t,{eventStream:function(){return N}}),n(9719),n(3531);var r=n(4788);const o=Object.freeze({MOUSE_CLICK:r.s.MOUSE_CLICK,MOUSE_MOVE:r.s.MOUSE_MOVE,SCROLL:r.s.SCROLL,VIEWPORT_RESIZE:r.s.VIEWPORT_RESIZE,KEY_PRESS:r.s.KEY_PRESS,SELECT_CHANGE:r.s.SELECT_CHANGE,INPUT_CHOICE_CHANGE:r.s.INPUT_CHOICE_CHANGE,CLIPBOARD:r.s.CLIPBOARD});var i=n(6226);function a(e){return"".concat(parseFloat(e/1048576).toFixed(2))}var s=n(7993),c=n(2471),u=n(3572);function l(e){return l="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},l(e)}var h=hj.tryCatch((function(e){var t,n,h,d,f,g={},p="",v=void 0,m=null,y=!1,j=i.f_.now(),b=!1;g.events=[],g.storePageContent=function(t,n){hj.log.warnIfEmpty(t,"tryStorePageContent: content"),hj.log.warnIfEmpty(n,"tryStorePageContent: urlMD5"),e.storePageContent(t,(function(e){var t=e.content_uuid;t?(y=!0,u.y.set("pageContent",{uuid:t,md5:n})):hj.log.warn("Expecting res.content_uuid but it was not found!")}),(function(e){if(413===e.status){var n=a(t.length);g.write("content_size_too_large",{size:n,source:"page_visit",timestamp:i.f_.now()},!1)}}))},g.reportPageContent=function(e){f=u.y.on("pageContent",(function(t){var n=t.uuid,o=t.md5,i=hj.dom.getCSSURLs().map((function(e){return{content_type:2,url:e,url_hash:hj.md5(hj.b64EncodeUnicode(e))}}));hj.log.warnIfEmpty(e,"sendReportContent: pageVisitKey"),hj.log.warnIfEmpty(n,"sendReportContent: uuid"),hj.log.warnIfEmpty(o,"sendReportContent: md5"),hj.log.warnIfEmpty(i,"sendReportContent: webResourceInfos");var a,s,c,u={page_content_url_md5:o,page_content_uuid:n,web_resource_infos:i,content_submitted:y};g.writeNewFrame((a={},s=r.s.REPORT_CONTENT,c=u,s in a?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,a),e).flush(),y=!1}))},g.clearPageContent=function(){f(),u.y.set("pageContent",void 0)},g.setCurrentPageVisitKey=hj.tryCatch((function(e){p!==e&&(p=e,t()),g.flush()}),"data"),g.writeNewFrame=hj.tryCatch((function(e,n){return t(n),g.write(e),t(),g})),g.write=hj.tryCatch((function(e,t,n){var r;if(hj.isPreview)return g;if("object"===l(e))return hj.hq.each(e,(function(e,t){g.write(e,t,!0)})),g;var o=e,a=S(o);if(!a&&b)return g;if(!a&&E())return C(),g;a&&(m=i.f_.now()),a&&b&&O();var s=null!==(r=g.events.pop())&&void 0!==r?r:w(p);return n?s[o]=t:(s[o]=s[o]||[],s[o].push(t)),g.events.push(s),g}),"data"),g.flush=hj.tryCatch((function(){var n=c.Q.get("user.id"),r=c.Q.get("sessionAccepted");if(v&&clearInterval(v),!r||!n)return t();var o=_(),i=o.length;if(i>0)for(var a=0;a1){var c=[];e.autotag_recording&&(c=e.autotag_recording.filter((function(e){return"rageclick"===e.name}))),c.length>0?i.push(e):(e.clipboard&&o.push(e.clipboard),a.push(n(e)))}var u=d(i,o);return g.events=u.leftover,t(),[].concat(a,u.sendable)}),"data");d=hj.tryCatch((function(e,t){var r=[],o=[];return hj.hq.each(t,(function(t,n){e=e.filter((function(e){if("copy"===n.action||"cut"===n.action)return n.time-e.autotag_recording[0].time>5e3}))})),hj.hq.each(e,(function(e,t){hj.time.getNow()-t.autotag_recording[0].time<5e3?r.push(t):o.push(n(t))})),{leftover:r,sendable:o}}),"data.filterRageClicks"),n=hj.tryCatch((function(e){return hj.hq.each(e,(function(t,n){hj.hq.isFunction(n)&&(e[t]=n())})),e.page_visit_key=e.pageVisitKey,delete e.pageVisitKey,e.viewport_id=hj.viewport.getId(),"object"===l(e.mutation)&&(e.mutation=h(e.mutation)),e}),"data"),h=hj.tryCatch((function(e){var t,n="";if("object"===l(e))return hj.hq.each(e,(function(r,o){"object"===l(o.c)&&(hj.hq.each(o.c,(function(o,i){"object"===l(i.attributes)&&"string"==typeof i.attributes.style&&(i.attributes.style===t&&i.id===n&&(e[r].c[o]=null),t=i.attributes.style,n=i.id)})),e[r].c=e[r].c.filter((function(e){return e})),e[r].c.length||delete e[r].c),void 0===e[r].a&&void 0===e[r].b&&void 0===e[r].c&&void 0===e[r].d&&(e[r]=null)})),e.filter((function(e){return e}))}),"data");var E=function(){var e,t=null!==(e=m)&&void 0!==e?e:j;return i.f_.now()-t>18e5},C=function(){hj.store.recording.set("active",!1),hj.store.session.set("session",null),s.t.items.HJ_SESSION.clear(),b=!0},O=function(){b=!1,s.t.items.SESSION_RESUMED.set(!0),hj._init.reinit(window.location.href,!0)};return g})),d=n(4544),f=n(6569),g=n(1627),p=n(7183),v=n(8485),m={maxRetries:5,delay:3e3,firstAttemptDelay:0,baseExponent:2};function y(e){var t=this;if(!e)throw new Error("HotjarWebSocket requires a flush callback");this._connected=!1,this._connecting=!1,this._isReconnecting=!1,this._closedPermanently=!1,this.sessionTimedOutDueToInactivity=!1,this._finished=!1,this._pingInterval=3e4,this._pingIntervalId=void 0,this._sessionInactiveInterval=18e5,this._lastUserActivityTime=(new i.f_).getTime(),this._unloadTimeoutStarted=!1,this._ws=null,this._wsUrl="",this._flush=e,this._msgPrefix="{}\n",this._clearPings=function(){clearInterval(t._pingIntervalId)},this._closeConnection=function(){t._connected=!1,t._connecting=!1,t._isReconnecting=!1,t._closedPermanently=!0}}y.prototype.connect=hj.tryCatch((function(){if(this._sessionIsDisabled())return!1;if(!this._connected&&!this._connecting&&!this._isReconnecting){this._connecting=!0;var e=_hjSettings.wsMockUrl||"wss://".concat((0,f.LL)(),"/api/v2/client/ws");this._wsUrl="".concat(e,"?v=").concat(p.fb);try{this._createAndConnect()}catch(e){hj.log.debug("The Web Socket connection was refused. \n ".concat(e))}}return!0}),"data.HotjarWebSocket.connect"),y.prototype.updateLastUserActivityTime=hj.tryCatch((function(){this._lastUserActivityTime=(new i.f_).getTime()}),"data.HotjarWebSocket.updateLastUserActivityTime"),y.prototype.disconnect=hj.tryCatch((function(){this._connected&&(hj.log.debug("Disconnecting Web Socket.","websocket"),this._flush(),this.close())}),"data.HotjarWebSocket.disconnect"),y.prototype.isConnected=hj.tryCatch((function(){return!!this._connected&&((new i.f_).getTime()-this._lastUserActivityTime<=this._sessionInactiveInterval||(hj.store.recording.set("active",!1),hj.store.session.set("session",null),s.t.items.HJ_SESSION.clear(),this.close(),this.sessionTimedOutDueToInactivity=!0,!1))}),"data.HotjarWebSocket.isConnected"),y.prototype.send=hj.tryCatch((function(e){this._sessionIsDisabled()||(hj.log.debug("Sending data to Web Socket","websocket",e),this._ws.send(e))}),"data.HotjarWebSocket.send"),y.prototype.close=hj.tryCatch((function(){hj.log.debug("Closing Web Socket.","websocket"),this._connected=!1,this._connecting=!1,this._finished=!0,this._ws.close()}),"data.HotjarWebSocket.close"),y.prototype.getBufferedAmount=hj.tryCatch((function(){return this._ws.bufferedAmount}),"data.HotjarWebSocket.getBufferedAmount"),y.prototype._sessionIsDisabled=hj.tryCatch((function(){return this._closedPermanently||this.sessionTimedOutDueToInactivity||"1"===s.t.items.SESSION_REJECTED.get()}),"data.HotjarWebSocket._sessionIsDisabled"),y.prototype._ping=hj.tryCatch((function(){this._connected&&(hj.log.debug("Pinging Web Socket","websocket"),this._ws.send(this._msgPrefix+"ping"))}),"data.HotjarWebSocket._ping"),y.prototype._createAndConnect=hj.tryCatch((function(){var e=this;if(e._finished)hj.log.debug("Unload event triggered, don't reconnect"),!1===e._unloadTimeoutStarted&&(e._unloadTimeoutStarted=!0,setTimeout((function(){e._finished=!1,e._unloadTimeoutStarted=!1}),1e3));else{hj.log.debug("Connecting to Web Socket ["+e._wsUrl+"]","websocket");var t=function(n,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{o=new WebSocket(e._wsUrl)}catch(e){return void hj.log.debug("Web socket connection ".concat(i?"retry":""," error. \n ").concat(e))}return o.onopen=function(t){if(n(o),e._onOpen.call(e,t),i){v.K.set("eventsRetrySuccess",!0),0===o.bufferedAmount&&e._ping.call(e);var a=i.reason,s=i.extraTags;hj.metrics.timeEnd("time-to-reconnect",{tag:{reason:a},start:r,extraTags:s})}},o.onmessage=function(t){e._onMessage.call(e,t)},o.onclose=function(r){e._clearPings(),e._connected=!1,hj.log.debug("Web Socket closed.","websocket");var o={message:r.reason,code:r.code,wasClean:r.wasClean};if(hj.metrics.count("session-interruption",{tag:{reason:"websocket-close"},extraTags:o}),r.wasClean&&1012!=r.code)4e3==r.code&&console.warn("Hotjar Tracking Code is out of date and this session will not be captured anymore. Please reload the page to update your Tracking Code."),e._closeConnection();else if(hj.log.warn("Websocket close was unclean: "+r.code),!e._isReconnecting){var i={reason:r.wasClean?"service-restart":"unclean-close",extraTags:o};e._isReconnecting=!0,e._connecting=!0,function(n,r){var o=hj.metrics.time();(0,g.TL)((function(){return t(n,o,r)}),(function(){return e._closeConnection()}),m)}(n,i)}},o.onerror=function(t){hj.log.debug("onError was called.","websocket",t),v.K.set("eventsRetrySuccess",!1),e._connected&&(e._clearPings(),e._connected=!1)},o};e._ws=t((function(t){e._ws=t})),window.addEventListener("beforeunload",e.disconnect,!1)}}),"data.HotjarWebSocket._createAndConnect"),y.prototype._onOpen=hj.tryCatch((function(){hj.log.debug("Web Socket opened.","websocket"),this._pingIntervalId=setInterval(this._ping.bind(this),this._pingInterval),this._connected=!0,this._connecting=!1,this._isReconnecting=!1,this._flush()}),"data.HotjarWebSocket._onOpen"),y.prototype._onMessage=hj.tryCatch((function(e){var t;try{t=JSON.parse(e.data)}catch(t){throw hj.log.warn("Could not parse websocket message: "+e.data),t}switch(t.type){case"SESSION_TOO_LARGE":hj.log.warn("Session became too large. Will stop sending websocket data."),s.t.items.SESSION_REJECTED.set("1"),this.disconnect();break;case"SESSION_RATE_LIMITED":hj.log.warn("Session was rate limited. Will stop sending websocket data."),hj.metrics.count("session-rejection",{tag:{reason:"rate-limited"}}),s.t.items.SESSION_REJECTED.set("1"),this.disconnect();break;case"SESSION_ACCEPTED":hj.log.debug("Session accepted."),hj.store.session.set("sessionAccepted",!0);break;default:hj.log.warn("Received unknown websocket message: "+e.data)}}),"data.HotjarWebSocket._onMessage");var j=n(6246);function b(e){return b="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},b(e)}var w=hj.tryCatch((function(e){var t,n,l,h,f,g,p="",m=void 0,w=!1,S=Object.create({events:[],storePageContent:function(t,n,r){hj.log.warnIfEmpty(t,"tryStorePageContent: content"),hj.log.warnIfEmpty(n,"tryStorePageContent: urlMD5");var o=t.length,s=function(r){var s=r.success,c=r.compressed,l=r.time;s&&l&&hj.metrics.timeEnd("pc-compression-time",{tag:{task:"process-chunks"},total:l}),e.storePageContent(s?c:t,(function(e,r){if(207===(null==r?void 0:r.status)&&"gzip error"===e[1])return hj.metrics.distr("compression-malformed",{task:"gzip",value:o,extraTags:{compressedLength:c.length}}),S.storePageContent(t,n,!0);var i=e.content_uuid;i?(w=!0,u.y.set("pageContent",{uuid:i,md5:n}),s&&o&&hj.metrics.distr("compression-ratio",{task:"page-content",value:parseFloat(Number(o/c.length).toFixed(1))})):hj.log.warn("Expecting res.content_uuid but it was not found!")}),(function(e){if(413===e.status){var t=a(o);S.write("content_size_too_large",{size:t,source:"page_visit",timestamp:i.f_.now()},!1)}}),{query:s?"gzip=1":void 0})};r?s({success:!1}):function(e,t){var n,r,o,i,a=function(e){try{e&&hj.metrics.count("session-exception",{tag:{module:"compression"},extraTags:{message:e.message,name:e.name}}),t({success:!1})}catch(e){}};try{if(!function(){try{return"CompressionStream"in window}catch(e){return!1}}())return a();(n=new ReadableStream({start:function(t){t.enqueue(e),t.close()}}).pipeThrough(new TextEncoderStream).pipeThrough(new CompressionStream("gzip")),r=n.getReader(),o=[],i=hj.metrics.timeWatcher(),r.read().then((function e(t){var n=t.done,a=t.value;if(i.start(),n){var s=o.reduce((function(e,t){return e+t.length}),0),c=new Uint8Array(s),u=0;return o.forEach((function(e){c.set(e,u),u+=e.length})),{time:i.end(),compressed:c}}return o.push(a),i.incr(),r.read().then(e)}))).then((function(e){var n=e.time,r=e.compressed;t({success:!0,compressed:r,time:n})})).catch(a)}catch(e){a(e)}}(t,s)},reportPageContent:function(e){w=!1,g=u.y.on("pageContent",(function(t){var n=t.uuid,o=t.md5,i=hj.dom.getCSSURLs().map((function(e){return{content_type:2,url:e,url_hash:hj.md5(hj.b64EncodeUnicode(e))}}));hj.log.warnIfEmpty(e,"sendReportContent: pageVisitKey"),hj.log.warnIfEmpty(n,"sendReportContent: uuid"),hj.log.warnIfEmpty(o,"sendReportContent: md5"),hj.log.warnIfEmpty(i,"sendReportContent: webResourceInfos");var a,s,c,u={page_content_url_md5:o,page_content_uuid:n,web_resource_infos:i,content_submitted:w};S.writeNewFrame((a={},s=r.s.REPORT_CONTENT,c=u,s in a?Object.defineProperty(a,s,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[s]=c,a),e).flush()}))},clearPageContent:function(){g(),u.y.set("pageContent",void 0)},setCurrentPageVisitKey:hj.tryCatch((function(e){p!==e&&(p=e,t()),S.flush()}),"data"),writeNewFrame:hj.tryCatch((function(e,n){return t(n),S.write(e),t(),S})),write:hj.tryCatch((function(e,t,n,r){var o;if(hj.isPreview)return S;if("object"===b(e))return hj.hq.each(e,(function(e,t){S.write(e,t,!0,r)})),S;var i=e;if(!r&&!S._ws.connect()){if(!S._ws.sessionTimedOutDueToInactivity||!E(i))return S;s.t.items.SESSION_RESUMED.set(!0),S._ws=new y(S.flush),hj._init.reinit(window.location.href,!0),S._ws.connect()}var a=null!==(o=S.events.pop())&&void 0!==o?o:_(p);return n?a[i]=t:(a[i]=a[i]||[],a[i].push(t)),S.events.push(a),S}),"data"),queueEndSignal:hj.tryCatch((function(){hj.log.debug("Should send end signal to Web Socket with the next flush","websocket"),S.shouldSendEndSignal=!0}),"data"),sendEndSignal:hj.tryCatch((function(){hj.log.debug("Sending end signal to Web Socket","websocket"),S._ws.send(S._ws._msgPrefix+"end_signal"),S._ws.close(),s.t.items.HJ_SESSION.clear(),S.shouldSendEndSignal=!1}),"data"),sendInitMessage:hj.tryCatch((function(){hj.log.debug("Sending init message to Web Socket","websocket"),v.K.set("initMessageQueued",!1),S._ws.send(S._ws._msgPrefix+"init")}),"data"),flush:hj.tryCatch((function(){var e,r,o=(0,j.bN)(),s=c.Q.get("sessionAccepted");if(m&&clearInterval(m),s||(c.Q.on("sessionAccepted",S.flush,!0),t()),S._ws.isConnected()&&o){var u,l={sid:(0,d.MQ)(),uuid:o,viewportid:null===(u=hj.viewport)||void 0===u?void 0:u.getId(),site_id:hjSiteSettings.site_id,timestamp:i.f_.now(),beta:(0,d.qi)()};if(S._ws._msgPrefix=hj.hq.stringify(l)+"\n",v.K.get("initMessageQueued")&&S.sendInitMessage(),S.shouldSendEndSignal)return S.sendEndSignal();if(s){if((r=(e=n()).length)>0){C(e)&&S._ws.updateLastUserActivityTime();for(var h=0;h1){var s=[];e.autotag_recording&&(s=e.autotag_recording.filter((function(e){return"rageclick"===e.name}))),s.length>0?o.push(e):(e.clipboard&&r.push(e.clipboard),i.push(l(e)))}var c=f(o,r);return S.events=c.leftover,t(),[].concat(i,c.sendable)}),"data"),f=hj.tryCatch((function(e,t){var n=[],r=[];return hj.hq.each(t,(function(t,n){e=e.filter((function(e){if("copy"===n.action||"cut"===n.action)return n.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):r.push(l(t))})),{leftover:n,sendable:r}}),"data.filterRageClicks"),l=hj.tryCatch((function(e){var t;return hj.hq.each(e,(function(t,n){hj.hq.isFunction(n)&&(e[t]=n())})),e.page_visit_key=e.pageVisitKey,delete e.pageVisitKey,e.viewport_id=null===(t=hj.viewport)||void 0===t?void 0:t.getId(),"object"===b(e.mutation)&&(e.mutation=h(e.mutation)),e}),"data"),h=hj.tryCatch((function(e){var t,n="";if("object"===b(e))return hj.hq.each(e,(function(r,o){"object"===b(o.c)&&(hj.hq.each(o.c,(function(o,i){i&&null!==i.attributes&&"object"===b(i.attributes)&&"string"==typeof i.attributes.style&&(i.attributes.style===t&&i.id===n&&(e[r].c[o]=null),t=i.attributes.style,n=i.id)})),e[r].c=e[r].c.filter((function(e){return e})),e[r].c.length||delete e[r].c),void 0===e[r].a&&void 0===e[r].b&&void 0===e[r].c&&void 0===e[r].d&&(e[r]=null)})),e.filter((function(e){return e}))}),"data"),S})),S=n(907);function _(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:3;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.viewport=t,this.siteId=n,this.maxRetries=r}var t,n;return t=e,(n=[{key:"storePageContent",value:function(e,t,n){return R.post(e,t,n,{contentType:"text"})}},{key:"send",value:function(e,t){var n=(_hjSettings.eventsHost||(_hjSettings.eventsHost="https://events.hotjar.io"),_hjSettings.eventsHost+"/"),r={uuid:t,viewportid:this.viewport.getId(),site_id:this.siteId},o=hj.hq.stringify(r)+"\n"+hj.hq.stringify(e),i=!1;!function e(){return(0,O.post)(n,o,(function(e){hj.log.debug("Events sent successfully to host","events",e),i=!1,v.K.set("eventsRetrySuccess",!0)}),(function(){hj.log.debug("Events failed to send to host, retrying","events"),v.K.set("eventsRetrySuccess",!1),i||(i=!0,(0,g.TL)(e,null,T))}),{contentType:"text"})}()}}])&&I(t.prototype,n),e}();N=hj.features.hasFeature("ingestion.http")?h(new A(hj.viewport,hj.settings.site_id)):w(new C),hj.eventStream=N},3545:function(){hj.event=function(){var e={},t={},n={};function r(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}return e.listen=hj.tryCatch((function(o,i){r(t,o,i),function(t){n[t]&&(n[t].forEach((function(n){e.signal(t,n)})),delete n[t])}(o)}),"hj.event.listen"),e.removeListener=hj.tryCatch((function(e,n){var r=t[e];if(r){var o=r.indexOf(n);-1!==o&&r.splice(o,1)}}),"hj.event.removeListener"),e.signal=hj.tryCatch((function(e,o,i){t[e]?t[e].forEach((function(e){e(o)})):i?r(n,e,o):n[e]=[o]}),"hj.event.signal"),e.clearAllListeners=hj.tryCatch((function(){t=[],n=[]}),"data"),e}()},5050:function(e,t,n){"use strict";n.r(t);var r=n(6597),o=n(6985),i=n(6246);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"https://ask.hotjar.io/";return{v1:"".concat(e,"api/v1"),v2:"".concat(e,"api/v2")}}(_hjSettings.askUrl);n(5484),n(8282),function(){try{hj.request=function(){var e={},t={granted:null,callbacks:[],inProgress:!1},n=function(){return(0,i.bN)(!0)||""},c=[],u=!1;function l(e,t,n,r){c.push([e,t,n,r]),u||function e(){if(0!==c.length){u=!0;var t=(s=c.shift(),l=4,function(e){if(Array.isArray(e))return e}(s)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(s,l)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(s,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=t[0],r=t[1],o=t[2],i=t[3];hj.ajax.post(n,r,(function(t){try{o&&o(t)}finally{e()}}),(function(t){try{i&&i(t)}finally{e()}}))}else u=!1;var s,l}()}function h(e,t,o,i){var a=hj.ui.getWindowSize();o.window_width=o.window_width||a.width,o.window_height=o.window_height||a.height,o.user_id=t?n():void 0,o.url=document.location.href,r.userAttributes.flush((function(t,n,a){t?o.identify_user_id=r.userAttributes.get("user_id")||null:(o.identify_user_id=n,o.identify_attributes=a),l(e,o,(function(e){i&&i(e)}))}))}return e.getConsentGranted=hj.tryCatch((function(e){var r,o="?";null!==t.granted&&e?e(t.granted):(e&&t.callbacks.push(e),t.inProgress||(o+="user_id="+n(),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;r=t.callbacks.pop();)hj.tryCatch(r,"ConsentData")(t.granted)}),(function(){for(t.granted=!1,t.inProgress=!1;r=t.callbacks.pop();)hj.tryCatch(r,"ConsentData")(t.granted)}))))}),"hj.request.getConsentGranted"),e.grantConsent=hj.tryCatch((function(e,r){e.user_id=n(),e.action="grant_for_response",l("".concat(hj.apiUrlBase,"/sites/").concat(hj.settings.site_id,"/consent/associate"),e,(function(e){t.granted=!!e.success,r&&hj.tryCatch(r,"GrantConsent")(t.granted)}),(function(){t.granted=!1}))}),"hj.request.getConsent"),e.saveFeedbackResponse=hj.tryCatch((function(e,t,n,r){e.action="feedback_widget_response",hj.event.signal("feedback.send",{id:t}),h("".concat(s.v1,"/client/sites/").concat(hj.settings.site_id,"/feedback/").concat(t),n,e,(function(n){var o;if(hj.tryCatch(r,"Data")(n),"number"==typeof(null===(o=e.response)||void 0===o?void 0:o.emotion)){var i={emotion:e.response.emotion,id:t,response_id:n.feedback_response_id};hj.event.signal("feedback.sentiment",i)}}))}),"data"),e.savePollResponse=hj.tryCatch((function(e,t,n,r){var i=hj.widget.pollsResponsesUUID[e];n.action="create_or_update_poll_response";var a=o.sessionEvents.get();a&&(n.events=hj.hq.stringify(a)),h("".concat(s.v2,"/client/sites/").concat(hj.settings.site_id,"/poll/").concat(e,"/response/").concat(i),t,n,(function(t){t.is_new_response&&hj.event.signal("poll.send",{id:e,response_id:t.poll_response_id}),null==r||r(t)}))}),"data"),e.completePollResponse=hj.tryCatch((function(e,t){var n=hj.widget.pollsResponsesUUID[e];l("".concat(s.v2,"/client/sites/").concat(hj.settings.site_id,"/poll/").concat(e,"/response/").concat(n),{action:"finish_poll_response",completion_time_from_engagement_ms:t.fromEngagement,completion_time_from_render_ms:t.fromRender})}),"data"),e}()}catch(e){hj.exceptions.log(e,"hj.request")}}(),n(907),n(5610),n(9097),n(3545)},907:function(e,t,n){"use strict";n.r(t),n.d(t,{Resource:function(){return a}});var r,o=n(5610),i=new RegExp("<.+:(.+)>");function a(e,t,n){var r={},o=function(){for(var t=e.split("/"),n=[],r=0;r",{put:["PUT",["token","data"]]}),r)},5484:function(e,t,n){"use strict";n.r(t);var r=n(3572),o=n(2471);hj.store={session:o.Q,recording:r.y}},9189:function(e,t,n){"use strict";function r(e){return r="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},r(e)}n.d(t,{M:function(){return o}});var o=function(e,t){var n=Object.assign(Object.create({}),e),o=Object.create({}),i=function(e){return!(null==e||"object"===r(e)&&0===Object.keys(e).length)},a={get:function(e){try{if(Object.prototype.hasOwnProperty.call(n,e))return n[e];var o=e.split(".");if(o.length>1){var i=o[1],a=n[o[0]];return i&&a&&"object"===r(a)?a[i]:void 0}return}catch(e){hj.exceptions.log(e,"hj.store.".concat(t))}},set:function(e,s){try{if(Object.prototype.hasOwnProperty.call(n,e))n[e]=s,s&&"object"===r(s)&&Object.keys(s).forEach((function(t){var n="".concat(String(e),".").concat(t),r=o[n];if(r&&s){var c=s[t];i(c)&&r.forEach((function(e){e(c,a.off(n,e))}))}}));else{var c=e.split(".");if(c.length>1){var u=c[0],l=n[u],h=c[1];h&&l&&"object"===r(l)&&(l[h]=s);var d,f=a.get(u);i(f)&&(null===(d=o[u])||void 0===d||d.forEach((function(e){e(f,a.off(u,e))})))}}var g;i(s)&&(null===(g=o[e])||void 0===g||g.forEach((function(t){t(s,a.off(e,t))})))}catch(e){hj.exceptions.log(e,"hj.store.".concat(t))}},on:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(null===(n=o[e])||void 0===n?void 0:n.push(t))||(o[e]=[t]);var s=a.get(e);return i(s)&&!r&&t(s,a.off(e,t)),a.off(e,t)},off:function(e,t){return function(){var n;o[e]=null===(n=o[e])||void 0===n?void 0:n.filter((function(e){return e!==t}))}},remove:function(e){delete n[e],delete o[e]},reset:function(e){n=Object.assign(Object.create({}),e),o=Object.create({})}};return Object.create(a)}},8282:function(e,t,n){"use strict";n.r(t);var r=n(3572),o=n(7993),i=n(4122);hj.visitData=hj.tryCatch((function(){var e={};return e.getPageVisitInfo=hj.tryCatch((function(e,t){var n=r.y.get("pageInfo"),o=navigator.userAgent,i=navigator.language,a={script_revision:window.hjBootstrap.revision,user_agent:o||"",accept_language:i||"",page_url:(null==n?void 0:n.url)||"",url_hash:(null==n?void 0:n.urlMD5)||"",window_width:e.width,window_height:e.height,site_id:t},s=document.referrer;return""!==s&&(a.referrer=s),a}),"data"),e.track=hj.tryCatch((function(e){var t=(0,i.v4)();hj.eventStream.setCurrentPageVisitKey(t),e=e||document.location.href,hj.log.debug("Tracking: ".concat(e),"visitData"),r.y.set("pageVisitKey",t),r.y.set("pageInfo",{url:e,urlMD5:hj.md5(hj.b64EncodeUnicode(e))})}),"data"),e.trackView=hj.tryCatch((function(){if(null===o.t.items.ABSOLUTE_SESSION_IN_PROGRESS.get({resetExpiry:!0})){hj.log.debug("viewcounter: Determining if we should track this session...","visitData");var e=Math.random(),t=hj.viewCounterEndpoint&&hj.settings.site_id&&e<=hj.viewCounterHitPercentage,n="s=".concat(hj.viewCounterHitPercentage,"&r=").concat(e),r="".concat(hj.viewCounterEndpoint,"/").concat(hj.settings.site_id,"?").concat(n);t?(o.t.items.ABSOLUTE_SESSION_IN_PROGRESS.set(1,!0),hj.ajax.get(r),hj.log.debug("viewcounter: This session was tracked.","visitData",{mathRandomResult:e,viewCounterHitPercentage:hj.viewCounterHitPercentage})):(o.t.items.ABSOLUTE_SESSION_IN_PROGRESS.set(0,!0),hj.log.debug("viewcounter: This session will NOT be tracked.","visitData",{mathRandomResult:e,viewCounterHitPercentage:hj.viewCounterHitPercentage}))}else hj.log.debug("viewcounter: Session already checked. Skipping shouldTrackSession check.","visitData")}),"data"),e}),"data")(),hj.pageVisit=hj.visitData},8692:function(e,t,n){"use strict";n.d(t,{Di:function(){return s},GT:function(){return a},IU:function(){return o},VJ:function(){return i}});var r=n(6226);function o(e){return(0,r.m2)((0,r.Lz)(e))}function i(e){return(0,r.eC)((0,r.qe)(e))}function a(e){return(0,r.UP)(o(e))}function s(e){return i((0,r.aF)(e))}},2456:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),a=1;a0&&void 0!==arguments[0]||(0,i.U)(45887),Math.floor(1e8*Math.random())}()),e.title="_hjSafeContext",e.tabIndex=-1,e.setAttribute("aria-hidden","true"),e.src="about:blank",e.style.setProperty("display","none","important"),e.style.setProperty("width","1px","important"),e.style.setProperty("height","1px","important"),e.style.setProperty("opacity","0","important"),e.style.setProperty("pointer-events","none","important"),document.body.appendChild(e),e}}();if(!n)return a("Unable to access an IFrame context, using default property."),e;r=n}var o=("function"==typeof e?e.name:t)||t;return o?r.contentWindow?r.contentWindow[o]||(a("Unable to access property with name [".concat(o,"] from an IFrame context")),e):(a("Unable to access contentWindow property"),e):(a("Unable to name property or missing fallbackName"),e)}catch(t){return a("An unexpected error occurred".concat(t instanceof Error?": ".concat(t.message):"",". Using default constructor")),e}}},5885:function(e,t,n){"use strict";n.d(t,{Ib:function(){return i},Jo:function(){return u},Wr:function(){return c}});var r=n(6226),o=n(7183),i=4*o.R0*1e3,a=o.R0/2*1e3,s=function(e,t){return hj.metrics.count("session-exception",{tag:{module:"session-expiry"},extraTags:{errorMessage:hj.metrics.getErrorMessage(e),errorId:t}})},c=function(e){try{var t;if(!(null===(t=hj.store)||void 0===t?void 0:t.session))return!0;var n=hj.store.session.get("session.created");if("number"==typeof n&&r.f_.now()+a>n+i){var o=i-(r.f_.now()-n);o<0&&(o=0),setTimeout((function(){try{e(),hj.store.session.set("session",null),hj.eventStream.close(),hj.metrics.count("session-interruption",{tag:{reason:"too-long"}})}catch(e){s(e,"clear-cookie")}}),o)}return"number"==typeof n&&r.f_.now()>=n+i}catch(e){return s(e,"check-cookie"),!0}},u=function(e){return!(hj.store&&hj.store.session&&null!==hj.store.session.get("session")||(e(),0))}},2471:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var r=(0,n(9189).M)({sessionAccepted:!1,session:null,user:{}},"session")},4544:function(e,t,n){"use strict";n.d(t,{IU:function(){return j},MQ:function(){return m},oc:function(){return b},qi:function(){return y}});var r=n(4575),o=n(7993),i=n(6226),a=n(5885),s=n(2471),c=n(5674),u=n(1627);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t-1)){var t,n,i,a,c,l=d(),f={id:null!==(n=null==(t=u(u(u({},l),(c=r.t.items.HJ_ID.get())?{id:(0,s.Nm)(hjSiteSettings.site_id+c),existing:!0}:null),{},{existing:!!l}))?void 0:t.id)&&void 0!==n?n:(0,s.Nm)((0,s.DO)()),created:null!==(i=null==t?void 0:t.created)&&void 0!==i?i:o.f_.now(),existing:null!==(a=null==t?void 0:t.existing)&&void 0!==a&&a};return function(e){h.set(e)}(f),f}},g=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=i.Q.get("user.id")||(null===(e=d())||void 0===e?void 0:e.id);if(n)return n;if(t){var r=f();return null==r?void 0:r.id}},p=function(){if((0,s.ij)()){var e,t,n,r=i.Q.get("user")||d();(null===(e=r)||void 0===e?void 0:e.id)||(r=f()),(null===(t=r)||void 0===t?void 0:t.id)?i.Q.set("user",r):hj.log.warnIfEmpty(null===(n=r)||void 0===n?void 0:n.id,"user agent check: userId")}}},5674:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(8692),o=function(e){var t=e.storageAccessor,n=e.serializer,o=e.deserializer;return{get:function(){var e=t.get();if(!e)return null===e?null:void 0;try{return o((0,r.Di)(e))}catch(e){hj.metrics.count("session-exception",{tag:{module:"deserialize-cookie"},extraTags:{errorMessage:hj.metrics.getErrorMessage(e),cookieKey:t.getKey()}})}},set:function(e){t.set((0,r.GT)(n(e)))},getKey:function(){return t.getKey()}}}},1613:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){return e+=t}}},1627:function(e,t,n){"use strict";n.d(t,{DO:function(){return a},Nm:function(){return s},TL:function(){return i},ij:function(){return l},qC:function(){return c},vB:function(){return u}});var r=n(8485),o=n(4122);function i(e,t,n){!function o(i){if(i>0&&e(),i>=n.maxRetries)t&&t();else{var a=0===i&&n.firstAttemptDelay?n.firstAttemptDelay:n.delay*Math.pow(n.baseExponent||3,i);setTimeout((function(){!0!==r.K.get("eventsRetrySuccess")&&o(i+1)}),a)}}(0)}var a=function(){return(0,o.v4)()},s=function(e){return(0,o.v5)(e,"ded6f544-7265-46bb-ab52-fefac2598466")},c=function(e){return JSON.stringify(e)},u=function(e){return JSON.parse(e)},l=function(){var e;return null===(e=window.navigator)||void 0===e?void 0:e.userAgent}},3690:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var r=function(e,t){return e.substring(0,t.length)===t}},3531:function(){function e(t){return e="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(t)}try{!function(t,n){var r=function(e){return new o(e)};r.isValidSelector=function(e){try{return hj.hq(e),!0}catch(e){return!1}},r.isEmptyObject=function(e){return!Object.keys(e).length},r.isFunction=function(e){return"function"==typeof e},r.isWindow=function(e){return e===t},r.isDocument=function(e,t){return e===(t||n)},r.noop=function(){},r.stringify=function(e){if(void 0===Array.prototype.toJSON)return JSON.stringify(e);var t=Array.prototype.toJSON;delete Array.prototype.toJSON;try{return JSON.stringify(e)}finally{Array.prototype.toJSON=t}},r.each=function(t,n){var r,o,i;if("object"===e(t)&&"[object Array]"!==Object.prototype.toString.call(t)){if((o=t[Object.keys(t)[0]])&&void 0!==o.nodeName){for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&"length"!==r&&!1===n(r,t[r],t))break}else for(r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&!1===n(r,t[r],t))break}else if(void 0!==t)for(i=0;i=200&&t.status<400?r.isFunction(e.success)&&e.success(t.responseText&&JSON.parse(t.responseText),t):r.isFunction(e.error)&&e.error(t)},t.onerror=function(){r.isFunction(e.error)&&e.error(t)},t.ontimeout=function(){r.isFunction(e.timeout)&&e.timeout(t)},r.isFunction(e.requestAnnotator)&&e.requestAnnotator(t),"POST"!==e.type&&"PUT"!==e.type||!e.data?t.send():t.send(e.data)},r.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.timeout=15e3,n.onload=function(){n.status>=200&&n.status<400&&t&&t(n.responseText)},n.send()},r.eventHandlers={},r.selector="";var o=function(t){var o,i,a,s=window._hjDocument||n;if(r.selector=t,r.isWindow(t))return this[0]=window,this.length=1,this;if(r.isDocument(t,s))return this[0]=s,this.length=1,this;if("object"===e(t))return this[0]=t,this.length=1,this;if("string"==typeof t&&"<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3)return(o=s.createElement("div")).innerHTML=t,this[0]=o.childNodes[0],this.length=1,this;if("string"==typeof t){isNaN(t.charAt(1))||"."!==t.charAt(0)&&"#"!==t.charAt(0)||(t=t.charAt(0)+"\\3"+t.charAt(1)+" "+t.slice(2));try{i=s.querySelectorAll(t)}catch(e){return this.length=0,this}for(a=0;a0&&(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,n,r){t(n,e,r)}))},o.prototype.append=function(t){var o;"object"===e(t)?"body"===r.selector?n.body.appendChild(t.get(0)):this[0].appendChild(t.get(0)):"body"===r.selector?((o=n.createElement("div")).innerHTML=t,n.body.appendChild(o)):((o=n.createElement("div")).innerHTML=t,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(r[o]===e)return!0;return!1}(this[0],e)},o.prototype.remove=function(){var e;for(e=0;e-1&&i.call(d,e)}},Array.isArray(r.eventHandlers[u])||(r.eventHandlers[u]=[]),r.eventHandlers[u].push(l),n.addEventListener(p[c].split(".")[0],l,!0)):("boolean"==typeof o&&!1===o&&(o=function(e){return e.preventDefault(),!1}),Array.isArray(r.eventHandlers.document)||(r.eventHandlers.document=[]),r.eventHandlers.document.push(o),this[0].addEventListener(p[c].split(".")[0],o,a));else if(r.isDocument(this[0]))for(c=0;c-1))return r(this[0]).get(0).nodeName.toLowerCase()===t;if((n=/([A-Za-z]+)\[([A-Za-z-]+)=([A-Za-z]+)]/g.exec(t)).length)return r.each(r(this[0]).get(0).attributes,(function(e,t){t.name===n[2]&&t.value===n[3]&&(o=!0)})),r(this[0]).get(0).nodeName.toLowerCase()===n[1]&&o}},o.prototype.css=function(t,n){var r,o;for(o=0;o1){var a,s=window.hjBootstrapCalled.filter((function(e,t){return window.hjBootstrapCalled.indexOf(e)===t})),c="You have "+window.hjBootstrapCalled.length+" tracking scripts installed on your site. ",u=2===window.hjBootstrapCalled.length?"script as this":"scripts as these",l=!!window.dataLayer;s.length>1?(a=c+"Please remove the duplicate "+u+" will cause issues.",(0,r.c)({title:"Multiple different Hotjar scripts detected",message:a,status:"bad"}),e._reportVerificationResults(o,"multiple_codes",{expected:String(hj.verifyInstall),actual:s,gtm:!1})):l?(a=c+"If you've installed Hotjar through GTM - please remove the duplicate "+u+" will cause issues.",e._reportVerificationResults(o,"multiple_codes",{expected:String(hj.verifyInstall),actual:s,gtm:!0}),(0,r.c)({title:"Multiple Hotjar scripts detected",message:a,status:"bad"})):hj.verifyInstall===hj.settings.site_id?(a=c+"This will not affect data collection, but we do suggest removing redundant scripts.",e._reportVerificationResults(o,"warning",{expected:String(hj.verifyInstall),reason:"multiple scripts"}),(0,r.c)({title:"Multiple Hotjar scripts detected",message:a,status:"warning"})):i();var h="Passed Site ID: "+hj.verifyInstall+" contains multiple scripts "+window.hjBootstrapCalled.join(", ");hj.exceptions.log(new Error(h),"init._verifyInstallation")}else hj.verifyInstall===hj.settings.site_id?(e._sendVerifyInstallation((function(e){e.success||hj.exceptions.log(new Error("Verify installation endpoint failed"),"init._verifyInstallation")})),(0,r.c)({title:"Hotjar installation verified",message:"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.",status:"good"}),e._reportVerificationResults(o,"ok")):i()}}};return e._browserIsSupported=hj.tryCatch((function(){return!((0,w.HY)()<11&&(hj.log.debug("IE < 11 is not supported.","init"),"1"===hj.url.getParameter("hjVerifyInstallation")&&(0,r.c)({title:"Hotjar installation cannot be verified.",message:"Sorry – your browser is not supported.",status:"bad"}),1))}),"init"),e._checkDebug=hj.tryCatch((function(){var e=hj.url.getParameter(j.t.items.DEBUG_FLAG.getKey());e&&("1"===e||"true"===e?hj.debug.on(!0):hj.debug.off()),"true"===j.t.items.DEBUG_FLAG.get()&&hj.debug.on(!1)}),"init"),e._checkEndSignal=hj.tryCatch((function(){"1"===hj.url.getParameter("hjEndSignal")&&hj.eventStream.queueEndSignal()}),"init"),e._canRun=hj.tryCatch((function(){return!(-1!==navigator.userAgent.indexOf("Hotjar")||(j.t.canUseCookies()?j.t.canUseLocalStorage()?!j.t.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._queueInitMessage=function(){hj.features.hasFeature("wsky.session_rate_limiting")&&A.K.set("initMessageQueued",!0)},e.run=hj.tryCatch((function(t){hj.currentUrl=t,hj.scriptLoaded=!0,e._browserIsSupported()&&(e._checkDebug(),e._checkEndSignal(),e._canRun()?e._run(t):hj._init._verifyInstallation())}),"init"),e._run=hj.tryCatch((function(t){if("1"!==navigator.doNotTrack&&"1"!==window.doNotTrack&&"1"!==navigator.msDoNotTrack||(hj.log.debug("Visitor has opted out of tracking.","init"),hj.optOut=!0),hj.log.debug("Site settings","init",hj.settings),function(e){R.f.set(e)}(hj.currentUrl),function(){if(hj.features.hasFeature("heatmap.continuous.manual_retaker")){var e="https://".concat(hj.insightsHost);if(d(document.referrer+"",e)&&window.opener&&window.opener.postMessage){window.addEventListener("message",(function(t){if(d(t.origin,e)&&t.data&&"retaker_start"===t.data.type){var n;if(h)return;sessionStorage.setItem("_hjRetakerMode",t.data.mode),sessionStorage.setItem("_hjRetakerStrings",JSON.stringify(null!==(n=t.data.strings)&&void 0!==n?n:"{}")),(0,i.H)(a.vO.HEATMAP_RETAKER),h=!0}}));try{t()}catch(e){window.addEventListener("load",(function(){t()}))}window.addEventListener("popstate",(function(){n()})),window.addEventListener("hashchange",(function(){n()}))}}function t(){window.opener.postMessage({type:l,origin:window.location.origin},e)}function n(){document.getElementById(u)||(h=!1,t())}}(),hj.settings.site_id){hj.isIncludedInSample=y.U;var n=(0,m.pZ)();n&&!n.existing&&p.l.setFirstSeen(),b.userAttributes.init(),T.init(),e._configureStateChangeListenMode(),e._queueInitMessage(),e._runPage(t),!hj.features.hasFeature("wsky.session_rate_limiting")&&hj.store.session.get("user.id")&&hj.store.session.set("sessionAccepted",!0),e._verifyInstallationAuto(),e._verifyInstallation(),hj.command.activate(),"1"===hj.url.getParameter("hjIncludeInSample")&&(0,r.c)({title:"Hotjar tracking active.",message:"Hotjar tracking is active for your session.",status:"good"})}else hj.log.warn("Script execution for halted due to no site id: ".concat(window.location.href),"init")}),"init"),e.reinit=hj.tryCatch((function(t,n){hj.currentUrl=t,hj.widget.emptyMatchingWidgets(),hj.metrics.reset(),n&&(j.t.items.HAS_CACHED_USER_ATTRIBUTES.clear(),j.t.localStorage.USER_ATTRIBUTES.clear(),g.N.reset()),e._runPage(t)}),"init"),e._runPage=hj.tryCatch((function(e){(0,v.oc)(),hj.optOut||((0,y.U)("init._runPage")&&!(0,o.W)(e)&&(hj.visitData.track(e),(0,m.Iv)()),hj.visitData.trackView()),hj.hq.each(hj.loader.getModules(),(function(t,n){hj.optOut&&!n.nonTracking||(hj.log.debug("Running module","init",n.name),n.module.run(e))})),hj.widget.runLatestMatchingWidget(),hj.widget.runInlineEmbeddedWidgets()}),"init"),e}),"init")(),hj.hq(document).ready((function(){hj.log.debug("Document is ready. Initializing...","init"),hj.scriptContextId=(0,s.v4)(),hj._init.run(location.href),(hj.metrics.getConfig("browser").inLab||hj.metrics.getState("isMetricsEnabled"))&&(0,i.H)(a.vO.BROWSER_PERF)})))}),"init")()},6395:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1})).reduce((function(e,t){return o(o({},e),{},i({},t[0],t[1]))}),{});return t.t?{event:t.t,category:t.ec||"",action:t.ea||"",label:t.el||"",value:t.ev||""}:{}}(e.get("hitPayload"));"event"===n.event&&l("ga",n)}))}))}function u(e,t){!t||!t.length||t.length<2||"event"!==t[0]||l(e,{action:t[1],category:t[2]&&t[2].event_category||"",label:t[2]&&t[2].event_label||"",value:t[2]&&t[2].value||""})}function l(e,t){if(!function(e){return"detect_user"===e.action&&"Hotjar"===e.category}(t)){var n=function(e){return"GA_"+[e.action,e.category,e.label,e.value].filter((function(e){return 0===e||Boolean(e)})).join("-")}(t),r=function(e){return"GA_"+e.action}(t);hj.log.debug("intercepting ".concat(e,": ")+JSON.stringify(t)),hj("event",n),n!==r&&hj("event",r),hj.event.signal("int.ga",t)}}function h(e,t){return function(n,r){hj.log.debug("[".concat(e,"] ").concat(n),t,r)}}function d(e,t,n,r,o){var i=1;if(void 0!==o&&hj.log.debug("Retry iteration ".concat(i," of ").concat(o)),e())return t(!0);var a=setInterval((function(){return i++,e()?(clearInterval(a),t(!0)):i>=r?(clearInterval(a),t(!1)):void 0}),n)}function f(e){return e&&"string"==typeof e?e.replace(/[\W_]+/g,"-"):""}n.r(t);var g,p,v=(0,n(9189).M)({gaClientSent:!1,gtagClientSent:!1,dataLayerSent:!1},"integrations"),m=h("ga.forward_events","integration"),y=hj.tryCatch((function(){var e=s(),t="function"==typeof window.gtag;d((function(){return void 0!==window.dataLayer&&void 0!==window.dataLayer.length}),(function(e){if(e)return m("Intercepting dataLayer"),function(){var e=window.dataLayer;if(!0!==e._hj){e.forEach((function(e){u("dataLayer",e)}));var t=e.push;e.push=function(){t.apply(e,arguments),u("dataLayer",arguments[0])},e._hj=!0}}(),void(v.get("dataLayerSent")||(hj.metrics.count("ga-version",{tag:{version:"datalayer"}}),v.set("dataLayerSent",!0)));var n;t&&(m("Intercepting gtag"),n=window.gtag,window.gtag=function(){var e=Array.prototype.slice.call(arguments);n.apply(null,e),u("gtag",e)},v.get("gtagClientSent")||(hj.metrics.count("ga-version",{tag:{version:"gtag"}}),v.set("gtagClientSent",!0)))}),3e3,5),e&&(m("Intercepting ga"),c(),v.get("gaClientSent")||(hj.metrics.count("ga-version",{tag:{version:"ga"}}),v.set("gaClientSent",!0)))}),"ga.forward_events"),j={setup:y},b=h("ga.send_hjuid"),w=60,S=!0,_=hj.tryCatch((function(){hj.store.session.on("user.id",(function(e){"string"!=typeof e||e.length<8?b("invalid userid: '".concat(e,"'")):(b("got userId"),p=e.substring(0,8),O())})),E()}),"integrations.googleAnalytics"),E=hj.tryCatch((function(){if(!g){if(s()){v.get("gaClientSent")||(hj.metrics.count("ga-version",{tag:{version:"ga"}}),v.set("gaClientSent",!0));var e=window[window.GoogleAnalyticsObject||"ga"];return b("`ga` variable is available, waiting for tracker."),void e((function(e){C(e,!0)}))}w<=0?b("given up looking for GA module"):(w-=1,setTimeout(E,500))}}),"integrations"),C=hj.tryCatch((function(e,t){e&&(g&&t||(g!==e&&(b("got fresh tracker"),S=!0),g=e,O()))}),"integrations"),O=hj.tryCatch((function(){S&&p&&g&&(S=!1,g.send("event","Hotjar","detect_user",p,{nonInteraction:1}),b("successfully sent detect_user event"))}),"integrations"),I={setup:_,setTracker:hj.tryCatch((function(e){C(e,!1)}),"integrations.googleAnalytics")},N=h("ga.send_hjuid_gtag"),T=hj.tryCatch((function(){var e=window.dataLayer;function t(){var t;N("calling gtag(".concat((t=arguments,Array.from(t).map((function(e){return JSON.stringify(e)}))),")")),e.push(arguments)}void 0!==e?(v.get("datalayerSent")||(hj.metrics.count("ga-version",{tag:{version:"datalayer"}}),v.set("datalayerSent",!0)),v.get("gtagClientSent")||(hj.metrics.count("ga-version",{tag:{version:"gtag"}}),v.set("gtagClientSent",!0)),hj.store.session.on("user.id",(function(e){if(e&&"string"==typeof e&&!(e.length<8)){var n=e.substring(0,8);t("set","user_properties",{hjuid:n}),t("event","detect_user",{event_category:"Hotjar",event_label:n,non_interaction:!0})}}))):N("`dataLayer` is undefined")}),"ga.send_hjuid_gtag"),R={setup:T},A={},k=window.optimizely;function P(e){"applied"===e.name&&(hj.log.debug("Optimizely - campaign decided; ready to tag experiments.","integration"),x())}function x(){var e,t,n,r,o;hj.log.debug("Optimizely - attempting to tag active experiments.","integration"),hj.log.debug("Optimizely - refreshing active experiment variation map.","integration"),A={},k&&"get"in k&&(r=k.get("state"),o=k.get("data"),r.getActiveExperimentIds().forEach((function(i){t=o.experiments[i].name||i,e=r.getVariationMap()[i],n=e.name||e.id,A[t]=n})));var i=function(){hj.log.debug("Optimizely - looking for tags.","integration");var e=[];for(var t in A)hj.event.signal("exp.opt",{experimentId:t,variantId:A[t]}),e.push(t+"/"+A[t]);return e.length>0?hj.log.debug("Optimizely - found "+e.length+" tags.","integration",e):hj.log.debug("Optimizely - no tags found.","integration"),e}();i.forEach((function(e){hj("event",e)}))}var D={setup:hj.tryCatch((function(){void 0!==k&&"function"==typeof k.push&&"function"==typeof k.get&&void 0!==k.get("state")&&void 0!==k.get("data")?(hj.log.debug("Optimizely - listening for campaignDecided event.","integration"),(k=window.optimizely||[]).push({type:"addListener",filter:{name:"campaignDecided"},handler:P}),x()):hj.log.debug("`window.optimizely` is not ready","integration")}),"optimizely.setup")},M=n(7993),U=function(){return null!==M.t.items.HUBSPOT_UTK.get()},L=h("hubspot","integrations"),H={setup:hj.tryCatch((function(){L("HubSpot setup started"),d(U,(function(e){if(e){var t=M.t.items.HUBSPOT_UTK.get();L("HubSpot UTK found: ".concat(t)),hj.event.signal("int.hubspot",{utk:t})}else L("HubSpot UTK cookie not found")}),5e3,5)}),"hubspot.setup")},q={setup:hj.tryCatch((function(){void 0!==window.ub&&void 0!==window.ub.page&&void 0!==window.ub.page.variantId?(hj.log.debug("Unbounce experiment in page '".concat(window.ub.page.name,"' is on variant '").concat(window.ub.page.variantId,"'"),"integration",window.ub),hj.event.signal("exp.ub",{experimentId:window.ub.page.name,variantId:window.ub.page.variantId}),hj("event","".concat(f(window.ub.page.name),"-variant-").concat(window.ub.page.variantId))):hj.log.debug("Unbounce experiment not found","integration")}),"unbounce.setup")},V=h("mixpanel.send_events"),W=function(){return void 0!==window.mixpanel&&void 0!==window.mixpanel.set_config},z={setup:hj.tryCatch((function(){d(W,(function(e){e?(V("Registering mixpanel hook"),window.mixpanel.set_config({hooks:{before_send_events:function(e){var t=f(e.event);return V("sending mixpanel payload: ".concat(e.event)),hj("event","MP_".concat(t)),hj.event.signal("int.mp",{event:t}),e}}})):V("mixpanel global object not found or set_config not ready")}),3e3,5)}),"mixpanel.setup")},B=h("ab-tasty","integration");function F(){return void 0!==window.ABTasty&&void 0!==window.ABTasty.hitServiceNotifierSubscribe}var G={setup:hj.tryCatch((function(){function e(e){if("CAMPAIGN"===e.type&&e.data&&e.data.caname&&e.data.vaname){var t=e.data,n=t.caname,r=t.vaname;B("AB Tasty campaign '".concat(n,"' is on variant '").concat(r,"'"),e),hj.event.signal("exp.abt",{experimentId:n,variantId:r},!0);var o=f("".concat(n,"-").concat(r));hj("event",o),B("Sending event '".concat(o,"'"))}else B("Invalid AB Tasty event",e)}d(F,(function(t){t?(B("AB Tasty global object found"),window.ABTasty.hitServiceNotifierSubscribe(e,"CAMPAIGN",{withHitHistory:!0})):B("AB Tasty global object not found")}),2e3,10)}),"abTasty.setup")},Y=h("kissmetrics","integration"),K=function(){return void 0!==window.KM&&void 0!==window.KM.i},J={setup:hj.tryCatch((function(){d(K,(function(e){if(e){var t=window.KM.i();Y("Kissmetrics User ID found: ".concat(t)),hj("identify",null,{kissmetrics_id:t})}}),5e3,5)}),"kissmetrics.setup")};hj.tryCatch((function(){hj.loader.registerModule("IntegrationsModule",(hj.integrations=hj.tryCatch((function(){return{optimizely:D,google_analytics:{forwardEvents:j,sendHotjarUserId:I,sendHotjarUserIdGtag:R},hubspot:H,unbounce:q,mixpanel:z,abTasty:G,kissmetrics:J}}),"integrations")(),{run:hj.tryCatch((function(){var e=hj.settings.integrations;e&&(e.optimizely&&e.optimizely.tag_recordings&&hj.integrations.optimizely.setup(),e.google_analytics&&(e.google_analytics.tag_sessions&&hj.integrations.google_analytics.forwardEvents.setup(),e.google_analytics.send_hotjar_id&&(hj.integrations.google_analytics.sendHotjarUserId.setup(),hj.integrations.google_analytics.sendHotjarUserIdGtag.setup())),e.unbounce&&e.unbounce.tag_recordings&&hj.integrations.unbounce.setup(),e.mixpanel&&e.mixpanel.send_events&&hj.integrations.mixpanel.setup(),e.hubspot&&e.hubspot.enabled&&e.hubspot.send_recordings&&hj.integrations.hubspot.setup(),e.abtasty&&e.abtasty.tag_recordings&&hj.integrations.abTasty.setup(),e.kissmetrics&&e.kissmetrics.send_user_id&&hj.integrations.kissmetrics.setup())}))}),!1)}),"integrations")()},628:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r,o,i=((o=function(){return r()}).test=r=function(){var e;if(!navigator)return"No User-Agent Provided";if(null===(e=navigator.userAgentData)||void 0===e?void 0:e.mobile)return"mobile";var t=function(e){return navigator.userAgent.match(e)};return t(/GoogleTV|SmartTV|Internet.TV|NetCast|NETTV|AppleTV|boxee|Kylo|Roku|DLNADOC|CE\-HTML/i)||t(/Xbox|PLAYSTATION.3|Wii/i)?"tv":t(/iPad/i)||t(/tablet/i)&&!t(/RX-34/i)||t(/FOLIO/i)||t(/Linux/i)&&t(/Android/i)&&!t(/Fennec|mobi|HTC.Magic|HTCX06HT|Nexus.One|SC-02B|fone.945|Chromebook/i)||t(/Kindle/i)||t(/Mac.OS/i)&&t(/Silk/i)||t(/GT-P10|SC-01C|SHW-M180S|SGH-T849|SCH-I800|SHW-M180L|SPH-P100|SGH-I987|zt180|HTC(.Flyer|\_Flyer)|Sprint.ATP51|ViewPad7|pandigital(sprnova|nova)|Ideos.S7|Dell.Streak.7|Advent.Vega|A101IT|A70BHT|MID7015|Next2|nook/i)||t(/MB511/i)&&t(/RUTEM/i)?"tablet":t(/BOLT|Fennec|Iris|Maemo|Minimo|Mobi|mowser|NetFront|Novarra|Prism|RX-34|Skyfire|Tear|XV6875|XV6975|Google.Wireless.Transcoder/i)||t(/Opera/i)&&t(/Windows.NT.5/i)&&t(/HTC|Xda|Mini|Vario|SAMSUNG\-GT\-i8000|SAMSUNG\-SGH\-i9/i)?"mobile":t(/Windows.(NT|XP|ME|9)/)&&!t(/Phone/i)||t(/Win(9|.9|NT)/i)||t(/Macintosh|PowerPC/i)&&!t(/Silk/i)||t(/Linux/i)&&t(/X11/i)||t(/Solaris|SunOS|BSD/i)||t(/Bot|Crawler|Spider|Yahoo|ia_archiver|Covario-IDS|findlinks|DataparkSearch|larbin|Mediapartners-Google|NG-Search|Snappy|Teoma|Jeeves|TinEye/i)&&!t(/Mobile/i)||t(/\b(CrOS|Chromebook)\b/i)?"desktop":"mobile"},o)},4575:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var r,o=n(7993),i=Math.random(),a=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";if(void 0!==r)return hj.log.debug("[".concat(e,"] Included in session/CC sample (already set)? ").concat(r),"sampling",{rec_value:hj.settings.rec_value,includedInSessionSample:r,mathRandomResult:i}),r;if(0===hj.settings.rec_value)return o.t.items.INCLUDE_IN_SESSION_SAMPLE.set("0"),hj.log.debug("[".concat(e,"] rec_value has gone to 0, removing from sample."),"sampling",{rec_value:hj.settings.rec_value,includedInSessionSample:r}),r=!1;if(!hj.settings.continuous_capture_enabled)return hj.log.debug("[".concat(e,"] Included in session/CC sample (setting check)? ").concat(r),"sampling",{"hj.settings.continuous_capture_enabled":hj.settings.continuous_capture_enabled}),r=!1;var t=o.t.items.INCLUDE_IN_SESSION_SAMPLE.get({resetExpiry:!0}),n="1"==t;if(hj.log.debug("[".concat(e,"] Included in session/CC sample (from cookie)? ").concat(n),"sampling",{cookie_value:t}),t)return r=n;switch(hj.url.getParameter("hjIncludeInSessionSample")){case"0":return r=!1,hj.log.debug("You have set includedInSessionSample to false.","sampling"),r;case"1":return r=!0,o.t.items.INCLUDE_IN_SESSION_SAMPLE.set(r?"1":"0"),hj.log.debug("You have set includedInSessionSample to true.","sampling"),r}return(r=1===hj.settings.rec_value||void 0!==hj.settings.rec_value&&null!==hj.settings.rec_value&&(i||1)<=hj.settings.rec_value)?o.t.items.INCLUDE_IN_SESSION_SAMPLE.set("1"):o.t.items.INCLUDE_IN_SESSION_SAMPLE.set("0"),hj.log.debug("[".concat(e,"] Included in session/CC sample? ").concat(r),"sampling",{rec_value:hj.settings.rec_value,mathRandomResult:i}),r}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown")}},4122:function(e,t,n){"use strict";n.d(t,{v4:function(){return u},v5:function(){return c}});var r=n(1183),o=n(9183),i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),a=new Array(16),s=i?void 0:function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),a[t]=e>>>((3&t)<<3)&255;return a},c=r.Z,u=function(e,t,n){return s&&((e=e||{}).rng=s),(0,o.Z)(e,t,n)}},2323:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(7183),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,r=0,o=!1;function c(){0!=--r||o||t.bind(this)()}function u(){o=!0,n.bind(this)()}Object.keys(e).forEach((function(t){var n=e[t];"string"==typeof n&&(n=[n]),r+=n.length,n.forEach((function(e){i(e,t,c,u)}))}))},i=function(e,t,n,o){var i;t===r.vH.SCRIPT?(i=document.createElement("script")).src="".concat(hj.scriptDomain).concat(e):t===r.vH.STYLESHEET&&((i=document.createElement("link")).href="".concat(hj.scriptDomain).concat(e),i.rel="stylesheet"),i.onload=n,i.onerror=o,document.getElementsByTagName("head")[0].appendChild(i)};function a(){}function s(){var e=this.src||this.href;hj.exceptions.log(new Error("Failed to load module: ".concat(e,".")),"loader")}},8579:function(e,t,n){"use strict";n.d(t,{P:function(){return l}});var r=n(6366),o=n(7993),i=n(7183),a=n(6934),s=n(6226),c=function(e,t){if(!e)return null;var n=new s.f_((new s.f_).getTime()+1e3*e);if(t){var r=new s.f_;r.setHours(23),r.setMinutes(59),r.setSeconds(59),r.setMilliseconds(999),n.setTime(Math.min(n,r))}return n},u=function(e){var t={sameSite:"None",secure:!0};if(e){var n=window.location.hostname;t.domain=(0,a.getMidLevelDomain)(n)}return t};function l(e){var t=this,n=e.key,o=e.supportSubdomains,a=void 0!==o&&o,s=e.ttlSeconds,c=void 0===s?i.jS:s,l=e.shouldSync,h=void 0===l||l,d=e.keepAliveSeconds,f=void 0===d?0:d,g=e.shouldExtendExpiryOnActivity,p=void 0!==g&&g,v=e.shouldExpireAtMidnight,m=void 0!==v&&v,y=e.checkExpiry;this.key=n,this.ttlSeconds=c,this.shouldSync=h,this.keepAliveSeconds=f,this.shouldExpireAtMidnight=m,this.hasExceededCookieMaxDuration=!1,this.isSessionOnly=0===this.ttlSeconds,this.supportSubdomains=a,this.ttlSeconds>0&&(this.activeRefreshTimerId=null,this.keepAliveSeconds>0&&setInterval((function(){return t.refreshExpiryWithThrottling(y)}),1e3*f),p&&(document.addEventListener("click",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("mousemove",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("keypress",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("scroll",(function(){return t.refreshExpiryWithThrottling(y)}),!1),document.addEventListener("visibilitychange",(function(){return t.refreshExpiryWithThrottling(y)}),!1))),this.cookie=r.Z.withAttributes(u(a))}l.prototype.getKey=function(){return this.key},l.prototype.get=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).resetExpiry,t=void 0!==e&&e;try{var n=this.cookie.get(this.key)||null;if(!this.isSessionOnly&&this.shouldSync&&(n=this.sync(n)),t&&this.ttlSeconds&&n){var r=c(this.ttlSeconds,this.shouldExpireAtMidnight);this.cookie.set(this.key,n,{expires:r})}return n}catch(e){return hj.log.debug("Cookie Error: ".concat(e.message),"cookies"),void hj.metrics.count("session-rejection",{tag:{reason:"cookies"},extraTags:{cookie:this.key,message:e.message}})}},l.prototype._setCookie=function(e){var t=c(this.ttlSeconds,this.shouldExpireAtMidnight);this.cookie.set(this.key,e,{expires:t})},l.prototype._setLocalStorage=function(e){o.t.canUseLocalStorage()&&window.localStorage.setItem(this.key,e)},l.prototype._getLocalStorage=function(){if(o.t.canUseLocalStorage())return window.localStorage.getItem(this.key)},l.prototype._removeLocalStorage=function(){o.t.canUseLocalStorage()&&window.localStorage.removeItem(this.key)},l.prototype.set=function(e,t){this._setCookie(e),!t&&this.shouldSync&&(this.isSessionOnly||this._setLocalStorage(e))},l.prototype.setEncoded=function(e,t){e!==decodeURIComponent(e)&&(e=decodeURIComponent(e)),this._setCookie(e);var n=encodeURIComponent(e);!t&&this.shouldSync&&(this.isSessionOnly||this._setLocalStorage(n))},l.prototype.clear=function(){this.cookie.remove(this.key),this.isSessionOnly||this._removeLocalStorage()},l.prototype.sync=function(e){if(!o.t.canUseLocalStorage()||!this.shouldSync)return e;var t=this._getLocalStorage(),n=e;return e?this._setLocalStorage(e):t&&!e&&(this.set(t,!0),n=t),n},l.prototype.refreshExpiryWithThrottling=function(e){var t=this;this.activeRefreshTimerId||this.hasExceededCookieMaxDuration||(this.activeRefreshTimerId=setTimeout((function(){t.hasExceededCookieMaxDuration=e&&e(t.clear.bind(t)),t.hasExceededCookieMaxDuration||t.get({resetExpiry:!0}),t.activeRefreshTimerId=null}),1e3*i.E$))}},8301:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(8579),o=n(7993);function i(e){r.P.call(this,e)}i.prototype=Object.create(r.P.prototype),i.prototype.constructor=i,i.prototype.exists=function(e){var t=this.get();t=t?t.split(","):[];for(var n=0;n0&&l?u.uuid===o&&(hj.log.debug("Offsite poll #"+u.id+" has matched with the embedded UUID "+o,"poll"),c=!0,t.addEmbedded(u,n)):!i&&h&&hj.targeting.matchRules(u.targeting,e,hj.tryCatch((function(){hj.log.debug("Poll #"+u.id+" has matched.","poll"),s.t.items.POLL_DONE.exists(u.id)&&"always"!==u.persist_condition?hj.log.debug("Poll was already submitted.","poll"):hj.widget.addMatchingWidget("poll",u.id,u.created_epoch_time,u.targeting_percentage,(function(){return t.add(u)}),(function(e){return t.remove(e,u.id)}),u.display_type===a.a.INLINE_EMBEDDED)}),"polls.run.matchRules-callback"))})),i&&!c&&(hj.hq(document).trigger("hj-embedded-survey-mismatch"),hj.widgetDelay.clear(),hj.widget.emptyMatchingWidgets(),hj.log.debug("Could not match the embedded UUID.","poll"))}),"polls"),hj.isPreview&&(window._hjPollReload=hj.tryCatch((function(e,t){hj.widget.pollsData=hj.widget.pollsData||{};var n=f(e);hj.widget.pollsData[e.id]=n,hj.settings.legal_name=e.legal_name,hj.settings.privacy_policy_url=e.privacy_policy_url,t&&(hj.settings.features=t),hj.tryCatch((function(){d(n)}),n,"polls")()}),"polls")),t},hj.loader.registerModule("Polls",hj.polls(),!0)}),"polls")()},9443:function(e,t,n){"use strict";n.r(t);var r=["button","reset","submit"],o=["password","email","hidden"],i=["default-style","content-type","refresh"],a=["style","script"],s=["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"],c=n(2990),u=/\d+/,l=new RegExp(u.source,"g"),h=/[^@\s]+@[^@\s]+\.[^@\s]+/,d=new RegExp(h.source,"g"),f=/([+(]{0,2}\d[-_ ()/]{0,4}){9,}/,g=new RegExp(f.source,"g"),p=function(){return Math.random()<.5?-1:1},v=hj.tryCatch((function(e){return e&&e.parentNode?"#document-fragment"===e.parentNode.nodeName?e.parentNode.host:e.parentNode:null}),"hj.privacy.getParentNode"),m=hj.tryCatch((function(e){var t=Object.prototype.toString.call(e);return-1!==["[object HTMLDocument]","[object Document]"].indexOf(t)}),"hj.privacy._isDocument"),y=hj.tryCatch((function(e){return f.test(e)}),"hj.privacy._hasCCNumOrSSN"),j=hj.tryCatch((function(e){return e.indexOf("@")>-1&&h.test(e)}),"hj.privacy._hasEmail"),b=hj.tryCatch((function(e){return u.test(e)}),"hj.privacy._hasDigitSequence"),w=/(?:\d{1,3}\.){3}\d{1,3}/,S=/(?:[A-F0-9]{1,4}:){7}[A-F0-9]{1,4}/,_=hj.tryCatch((function(e){return w.test(e)||S.test(e)}),"hj.privacy._hasIPAddress"),E=hj.tryCatch((function(e){return e.value||e.textContent}),"hj.privacy._getTextFromElement"),C=hj.tryCatch((function(e){if(e&&"string"==typeof e)return Boolean(e.match(/^\s*data:(image\/[a-z]+|application\/octet-stream);base64,([A-Za-z0-9+/=])+\s*$/))}),"hj.privacy._isBase64Value"),O=/\S+/g,I=/\s?background[^;]+;?\s?/g,N=hj.tryCatch((function(e,t){return new Array((e||16)+1).join(t||"*")}),"Suppresser.createReplacementStr"),T=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"),R=hj.tryCatch((function(e){return e&&e.length?e.replace(O,(function(e){return N(Math.max(1,e.length+p()))})):N(16+p())}),"Suppresser.textContentHandler"),A=hj.tryCatch((function(e){var t=e;return t&&t.length&&(hj.settings.anonymize_emails&&(t=t.replace(d,R)),hj.settings.anonymize_digits&&t&&t.length&&(t=t.replace(l,R)),t=t.replace(g,(function(e){return e.replace(l,R)}))),t}),"Suppresser.textContentHandler"),k=hj.tryCatch((function(e){var t=e?16:10;return new Date(2839968e5).toISOString().substring(0,t)}),"Suppresser.getLocalDateStr"),P=hj.tryCatch((function(e){if(e)return e.replace(I,"")}),"Suppresser.imageStyleHandler"),x={text:R,full:R,partial:A,textContent:A,imgStyle:P,password:function(){return N()},number:function(){return N(16,"1")},date:function(){return k(!1)},datetime:function(){return k(!0)},"datetime-local":function(){return k(!0)},time:function(){return"00:00"},month:function(){return"1979-01"},week:function(){return"1979-W1"}},D={getSuppressedText:function(e,t){var n=x[e];return n?n(t):R(t)},getSuppressedImageNode:function(e){var t={src:"",meta:{style:T(e)}},n=P(e.getAttribute("style"));return n&&(t.style=n),t},textHandler:R};function M(e){return M="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},M(e)}var U=hj.tryCatch((function(e){var t=e.tagName.toLowerCase(),n=e.type.toLowerCase();return"input"===t&&o.indexOf(n)>-1}),"hj.privacy._isSupressedInputType"),L=hj.tryCatch((function(e){var t=e.tagName.toLowerCase(),n=e.type.toLowerCase();return"input"===t&&r.indexOf(n)>-1}),"hj.privacy._isAllowlistedInputType"),H=hj.tryCatch((function(e){if(e&&e.tagName){var t=e.tagName.toLowerCase();return a.indexOf(t)>-1}}),"hj.privacy._isAllowlistedElement"),q=hj.tryCatch((function(e){var t=e&&e["http-equiv"]&&e["http-equiv"].value;return!t||i.some((function(e){return!!t.match(e)}))}),"hj.privacy._isValidHttpEquiv"),V=hj.tryCatch((function(e){return[e.name,e.id].map((function(e){return e.replace(/[\s_-]+/g,"").toLocaleLowerCase()})).some((function(e){return s.indexOf(e)>-1}))}),"hj.privacy._hasSuppressedNameOrId"),W=hj.tryCatch((function(e){return"object"===M(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"),z=hj.tryCatch((function(e){for(;e&&!m(e);){if(W(e))return!0;e=v(e)}return!1}),"hj.privacy._isSelfOrAncestorSuppressed"),B=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||e.attributes&&void 0!==e.attributes["data-hj-allow"]||e.className&&e.className.indexOf("data-hj-allow")>-1)}),"hj.privacy._isUserAllowlisted"),F=[U,V,function(e){return y(E(e))},function(e){return j(E(e))}],G=hj.tryCatch((function(e){return F.some((function(t){return t(e)}))}),"hj.privacy._shouldSuppressInputOrTextarea"),Y=[function(e){return!(!e||!hj.settings.anonymize_digits)&&b(e)},function(e){return!(!e||hj.settings.anonymize_digits)&&y(e)},function(e){return!(!e||!hj.settings.anonymize_emails)&&"string"==typeof e&&j(e)}],K=hj.tryCatch((function(e,t){return(!t||!H(t))&&Y.some((function(t){return t(e)}))}),"hj.privacy._shouldSuppressTextContent"),J={isRiskyNotAllowlistedOrSuppressedElement:hj.tryCatch((function(e,t){if(void 0===e||!e||void 0===e.tagName)return!1;if(c.f.get()||hj.settings.suppress_all)return!0;if(hj.settings.suppress_text)return"IMG"!==e.tagName||!t||"src"!==t.name&&"style"!==t.name&&"srcset"!==t.name||z(e);var n="TEXTAREA"===e.tagName||"INPUT"===e.tagName&&!L(e);return n&&B(e)?G(e):n||z(e)}),"hj.privacy.isRiskyNotAllowlistedOrSuppressedElement"),isAttributeSuppressable:hj.tryCatch((function(e,t,n,r){var o={INPUT:{attrs:["value","placeholder"]},TEXTAREA:{attrs:["value","placeholder"]},A:{attrs:["href"],shouldSuppressAttrValueCheck:function(e){return!(e&&e.match(/^data:/))}},OPTION:{attrs:["label","value"]},PROGRESS:{attrs:["value"]},OPTGROUP:{attrs:["label"]},IMG:{attrs:["alt"]},DIV:{attrs:["title"]},SPAN:{attrs:["title"]},P:{attrs:["title"]},META:function(e,t,n){switch(e){case"content":return!(n&&n.name&&"viewport"===n.name.value||n&&n["http-equiv"]&&q(n));case"name":return"viewport"!==t;case"http-equiv":return!q(n);case"charset":return!1;default:return!0}}}[e];return void 0!==o&&("function"==typeof o?o(t,n,r):!(o.attrs.indexOf(t)<0)&&(void 0===o.shouldSuppressAttrValueCheck||o.shouldSuppressAttrValueCheck(n)))}),"hj.privacy.isAttributeSuppressable"),hasPotentialPIIData:hj.tryCatch((function(e,t){var n=!t||m(t)?null:t;return K(e,n)}),"hj.privacy.hasPotentialPIIData"),getSuppressedText:hj.tryCatch((function(e,t){return D.getSuppressedText(e,t)}),"hj.privacy.getSuppressedText"),getSuppressedTextNode:hj.tryCatch((function(e,t){var n=e.parentNode||null,r=t||J.isRiskyNotAllowlistedOrSuppressedElement(n),o=r||n&&"textarea"===n.type?"full":"partial";return{content:(r=!H(n)&&!!e.textContent&&!C(e.textContent)&&(r||J.hasPotentialPIIData(e.textContent,n)))?D.getSuppressedText(o,e.textContent):e.textContent,shouldSuppressNode:Boolean(r),suppressionType:r?o:"none"}}),"hj.privacy.getSuppressedTextNode"),getSuppressedNodeAttribute:hj.tryCatch((function(e,t,n){var r=t.value,o=t.name,i=n;if("data-hj-suppressed"!==o)return"IMG"!==e.tagName||"src"!==o&&"srcset"!==o&&"style"!==o||(i=J.isRiskyNotAllowlistedOrSuppressedElement(e,t),J.isRiskyNotAllowlistedOrSuppressedElement(e,t)&&(o="data-hj-suppressed",r=D.getSuppressedImageNode(e))),!C(r)&&J.isAttributeSuppressable(e.tagName,o,r,e.attributes)&&((i=i||J.isRiskyNotAllowlistedOrSuppressedElement(e))||"META"===e.tagName?r=D.getSuppressedText("full",r):J.hasPotentialPIIData(r)&&(r=D.getSuppressedText("partial",r))),{name:o,value:r,shouldSuppressNode:i}}),"hj.privacy.getSuppressedTextNode"),getSuppressedNode:hj.tryCatch((function(e,t){for(var n={},r=t,o=0;o0)return!0;if(f.items.COOKIE_TEST.set("1"),"1"===f.items.COOKIE_TEST.get())return f.items.COOKIE_TEST.clear(),!0}catch(e){return hj.metrics.count("session-rejection",{tag:{reason:"cookies"}}),!1}}()),this.areCookiesSupported()},canUseLocalStorage:hj.tryCatch((function(){if(null!==l)return l;try{localStorage.setItem("_hjLocalStorageTest",1),localStorage.removeItem("_hjLocalStorageTest"),l=!0}catch(e){l=!1}return l}),"storage.canUseLocalStorage"),canUseSessionStorage:hj.tryCatch((function(){if(null!==h)return h;try{sessionStorage.setItem("_hjSessionStorageTest",1),sessionStorage.removeItem("_hjSessionStorageTest"),h=!0}catch(e){h=!1}return h}),"storage.canUseSessionStorage")};hj.storage=f},5986:function(e,t,n){"use strict";n.r(t);var r=n(7993),o=n(2323),i=n(7183),a=Object.freeze({MODAL:"_hj-modal",FOOTER:"_hj-footer",SURVEY_INVITES:"_hj_survey_invite_container",HEATMAP_RETAKER:"_hj-heatmap-retaker",ADMIN_WIDGET:"_hj_admin_widget",INCOMING_FEEDBACK:"_hj_feedback_container",NOTICATION:"_hj-notification"}),s=(Object.freeze({RETAKER:"_hjRetakerTrsToken",TARGETING:"_hjRetakerTargeting"}),n(1161)),c=n(6939);hj.tryCatch((function(){hj.loader.registerModule("Surveys",function(){var e={};function t(e){return e.display_type===s.a.EXTERNAL?(0,c.f)(e.uuid,hj.surveysHost):e.public_url}return e.run=hj.tryCatch((function(n){if(!(0,c.W)(n)){var a=(hj.settings.polls||[]).filter((function(e){return e.invite_enabled&&e.display_type===s.a.EXTERNAL})),u=(hj.settings.surveys||[]).concat(a);hj.hq.each(u||[],(function(a,s){hj.targeting.matchRules(s.targeting,n,hj.tryCatch((function(){hj.log.debug("Survey #"+s.id+" has matched.","survey"),r.t.items.SURVEY_INVITES_CLOSED.exists(s.id)?hj.log.debug("Survey was already viewed.","survey"):hj.widget.addMatchingWidget("survey",s.id,s.created_epoch_time,s.targeting_percentage,(function(){hj.survey.data=s,hj.rendering.callAccordingToCondition(hj.survey.data,"survey",hj.tryCatch((function(){var e;e=hj.survey.data,hj.widget.surveyInvitationData={id:e.id,effectiveShowBranding:e.effective_show_branding,title:e.invite.title,description:e.invite.description,button:e.invite.button,close:e.invite.close,url:t(e)},(0,o.H)(i.vO.SURVEY_INVITATION)}),"polls"))}),e.remove)}),"surveys.run.matchRules-callback"))}))}}),"surveys"),e.remove=hj.tryCatch((function(e){hj.survey.data?(hj.hq(".".concat(a.SURVEY_INVITES)).length>0&&hj.hq(".".concat(a.SURVEY_INVITES)).remove(),delete hj.survey.data,setTimeout((function(){e()}),1)):e()})),e}(),!0)}),"surveys")()},6934:function(e,t,n){"use strict";n.r(t),n.d(t,{getMidLevelDomain:function(){return u},getParameter:function(){return i},getUrlFromString:function(){return s},tryDecodeURIComponent:function(){return a}});var r=n(6366),o=n(3690);function i(e){var t,n,r=[];for(t=new RegExp("[^?&]?"+e.replace(/\[/,"\\[").replace(/]/,"\\]")+"=([^&]+)","g");n=t.exec(location.search);)r.push(a(n[1]));switch(r.length){case 0:return"";case 1:return r[0];default:return r}}function a(e){try{return decodeURIComponent(e)}catch(t){return e}}function s(e){return(0,o.N)(e,"http")||((0,o.N)(e,"/")||(e="/"+e),e=location.protocol+"//"+location.hostname+(""!=location.port?":"+location.port:"")+e),e}var c={};function u(e){if(!c[e]){var t,n=e.lastIndexOf(".");t=l(e,n),c[e]=t||e}return c[e]}function l(e,t){t=t?t-1:e.length;var n,r=e.lastIndexOf(".",t-1);return r>-1&&(function(e){try{var t={domain:e};d.set(h,e,t);var n=d.get(h);return n&&d.remove(h,t),n}catch(e){return!1}}(n=e.substring(r))||(n=l(e,r))),n}var h="_hjTLDTest",d=r.Z.withAttributes({sameSite:"None",secure:!0})},6597:function(e,t,n){"use strict";n.r(t),n.d(t,{userAttributes:function(){return l}});var r=n(4788),o=n(728),i=n(7473),a=n(6226),s=n(6246),c=n(7993),u=n(6569),l={id:void 0,attributes:{},init:hj.tryCatch((function(){if(hj.settings.user_attributes_enabled){var e=g();e&&(l.id=e.userId,l.attributes=e.attributes)}}),"userAttributes.init"),reset:hj.tryCatch((function(){l.id=void 0,l.attributes={},p()}),"userAttributes.reset"),set:hj.tryCatch((function(e,t){hj.settings.user_attributes_enabled?(void 0!==l.id&&null!==l.id&&l.id!==e&&(hj.log.debug("User ID changed, resetting all attributes before continuing.","userAttributes"),l.reset()),l.id=e,l.attributes=(0,u.PM)(l.attributes,t),f({attributes:l.attributes,userId:l.id}),hj.event.signal("user-attributes-set"),i.l.isRecordingEnabled()?l.flush():hj.log.debug("No recording in progress. Not sending.","userAttributes")):hj.log.debug("User attributes not enabled. Doing nothing.","userAttributes")}),"userAttributes.set"),flush:hj.tryCatch((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hj.hq.noop;if(void 0!==l.id||Object.keys(l.attributes).length){var t=c.t.items.USER_ATTRIBUTES_HASH.get({resetExpiry:!0}),n=hj.md5(JSON.stringify({allAttributes:l.attributes,userId:l.id}));if(t===n)return e(null,l.id,l.attributes),void hj.log.debug("No changed user attributes. Not sending.","userAttributes");c.t.items.USER_ATTRIBUTES_HASH.set(n),hj.debug.isOn()&&h(l.id,l.attributes),d(l.id,l.attributes),e(null,l.id,l.attributes)}else e(Error("no_user"))}),"userAttributes.flush"),get:hj.tryCatch((function(e){return"user_id"===e?l.id:l.attributes[e]}),"userAttributes.get")},h=function(e,t){hj.ajax.post("".concat(hj.identifyEndpoint,"/sites/").concat(hj.settings.site_id,"/users/").concat((0,s.bN)(!0),"/validate"),{user_id:e,attributes:t},hj.tryCatch((function(e){e.errors&&Object.keys(e.errors).length>0?hj.log.debug("User validation API call PARTIALLY successful (some errors).","userAttributes",e):hj.log.debug("User validation API call successful.","userAttributes",e)}),"userAttributes"),hj.tryCatch((function(e){hj.log.debug("User Attributes validation API call failed.","userAttributes",e.responseText&&JSON.parse(e.responseText)||"unknown_failure")}),"userAttributes"))},d=function(e,t){if(i.l.isRecordingEnabled()){var n={hj_id:(0,s.bN)(!0),user_id:e,attributes:t,time:hj.time.getNow(),timestamp:a.f_.now()};(0,o.N)(r.s.IDENTIFY_USER,n,!0).flush(),hj.log.debug("User attributes sent up websocket.","userAttributes",n)}},f=function(e){var t=hj.b64EncodeUnicode(JSON.stringify(e));c.t.localStorage.USER_ATTRIBUTES.set(t),c.t.items.HAS_CACHED_USER_ATTRIBUTES.set("true",!0)},g=function(){var e="true"===c.t.items.HAS_CACHED_USER_ATTRIBUTES.get()?c.t.localStorage.USER_ATTRIBUTES.get():void 0;if(e)try{var t=hj.isParsableJSON(e)?e:hj.b64DecodeUnicode(e);return JSON.parse(t)}catch(e){return}},p=function(){c.t.items.HAS_CACHED_USER_ATTRIBUTES.clear(),c.t.localStorage.USER_ATTRIBUTES.clear()}},347:function(e,t,n){"use strict";n.r(t);var r=n(628),o=n(7473),i=n(6569);hj.tryCatch((function(){var e,t,n,a,s;hj.loader.registerModule("UserBehavior",(e={},t=!1,n=function(){var e,t,n={},i={desktop:{time:600,distance:200,clicks:6},mobile:{time:600,distance:200,clicks:6},tablet:{time:600,distance:200,clicks:6},tv:{time:600,distance:200,clicks:6}},a={x:null,y:null,pageX:null,pageY:null},s=0;function c(){s=0,a.x=null,a.y=null,a.pageX=null,a.pageY=null}function u(n){var r,i,u,l,h;if(r=n.clientX,i=n.clientY,u=n.pageX,l=n.pageY,h=a.pageX&&a.pageX!==u||a.pageY&&a.pageY!==l,!(document.documentElement.clientWidth&&r>document.documentElement.clientWidth||document.documentElement.clientHeight&&i>document.documentElement.clientHeight||h||(s++,t&&clearInterval(t),t=setTimeout(c,e.time),function(t,n){var r=Math.abs(t-a.x),o=Math.abs(n-a.y);Math.sqrt(Math.pow(r,2)+Math.pow(o,2))>e.distance&&c()}(n.clientX,n.clientY),a.x=n.clientX,a.y=n.clientY,a.pageX=n.pageX,a.pageY=n.pageY,s!==e.clicks))){var d=null;hj.tryCatch((function(){var e,t,r=(null==n||null===(e=n.composedPath)||void 0===e||null===(t=e.call(n))||void 0===t?void 0:t.length)?n.composedPath()[0]:n.target,i=hj.selector(o.l.getSelectorVersion()).get(hj.hq(r));if(r&&"pageX"in n&&"pageY"in n&&void 0!==i){var a=hj.hq(r).offset(),s=n.pageX-a.left,c=n.pageY-a.top;d={selector:i,pageX:n.pageX,pageY:n.pageY,offsetX:s,offsetY:c}}}),"user-behaviour.rageClick.onClick")(),hj.autotag.rageClick(d)}}return n.listen=function(){e=i[(0,r.K)()],hj.hq(document).on("mousedown.user_behavior_rageclick",u)},n}(),a=function(){var e,t={},n=[];function r(){var e=[],t=Array.prototype.filter.call(hj.hq("form"),(function(t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:null)},e.formInteract=function(){o(["forminteract"],arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)},e.rageClick=function(){o(["rageclick"],arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)},e.start=hj.tryCatch((function(){var e,o,i;hj.features.hasFeature("settings.billing_v2")&&!t&&(n.listen(),a.listen(),s.listen(),e=function(e,t){return t.replace(".e:",".E:").replace(".v:",".V:").replace(".c:",".C:")},o=function(e,t){return"string"==typeof t?t.replace(/\.|:/g,"_"):t},i={"poll.show":r("poll.show",[{},{id:"id"}]),"poll.send":r("poll.send",[{},{id:"id",r_id:"response_id"}]),"poll.question":r("poll.q",[{t:"type"},{t:"type",a:"answer"},{t:"type",id:"id"},{qid:"questionUuid",id:"id"},{a:"answer",qid:"questionUuid",id:"id"},{t:"type",a:"answer",id:"id"}],(function(e,t){return"type"!==e?t:{"rating-scale-5":"rating5","rating-scale-7":"rating7","net-promoter-score":"nps","single-close-ended":"singleClose","multiple-close-ended":"multiClose","single-open-ended-multiple-line":"singleOpenMulti","single-open-ended-single-line":"singleOpenSingle"}[t]||t})),"feedback.show":r("feedback.show",[{},{id:"id"}]),"feedback.send":r("feedback.send",[{},{id:"id"}]),"feedback.sentiment":r("feedback.sentiment",[{e:"emotion"},{e:"emotion",id:"id",r_id:"response_id"}]),"survey.show":r("survey.show",[{},{id:"id"}]),"survey.open":r("survey.open",[{},{id:"id"}]),"exp.go":r("exp.go",[{e:"experimentId",c:"containerId"},{e:"experimentId",v:"variantId",c:"containerId"}],e),"exp.opt":r("exp.opt",[{e:"experimentId"},{e:"experimentId",v:"variantId"}],e),"exp.ub":r("exp.ub",[{e:"experimentId"},{e:"experimentId",v:"variantId"}],e),"exp.abt":r("exp.abt",[{e:"experimentId"},{e:"experimentId",v:"variantId"}],e),"int.ga":r("int.ga",[{a:"action"},{a:"action",c:"category"},{a:"action",c:"category",l:"label"},{a:"action",c:"category",l:"label",v:"value"}],o),"int.mp":r("int.mp",[{event:"event"}],o),"int.hubspot":r("int.hubspot",[{utk:"utk"}])},Object.keys(i).forEach((function(e){hj.event.listen(e,i[e])})),t=!0)}),"user-behavior.autotag.start"),e}),"user-behavior.autotag")(),e.run=Function.prototype,e),!1)}),"user-behavior")()},6569:function(e,t,n){"use strict";n.d(t,{HY:function(){return i},IH:function(){return u},LL:function(){return c},PM:function(){return h},TV:function(){return a},YN:function(){return d},m$:function(){return g},oL:function(){return f},tU:function(){return l},vO:function(){return s}});var r,o=n(628),i=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"),a=(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"),hj.tryCatch((function(e){return e=e||navigator.userAgent,/\b(Safari|iPad|iPhone|iPod)\b/.test(e)&&/WebKit/.test(e)&&!/Edge/.test(e)&&void 0===window.MSStream}),"utils"),hj.tryCatch((function(e){var t,n,r;for(t=e.length-1;t>0;t-=1)n=Math.floor(Math.random()*(t+1)),r=e[t],e[t]=e[n],e[n]=r;return e}),"utils")),s=(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"),hj.tryCatch((function(){return hj.userDeviceType||(hj.userDeviceType=(0,o.K)(),"mobile"===hj.userDeviceType&&(hj.userDeviceType="phone")),hj.userDeviceType}),"utils")),c=hj.tryCatch((function(){return _hjSettings.wsHost||(_hjSettings.wsHost="ws.hotjar.com"),_hjSettings.wsHost}),"utils.get-ws-server"),u=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),o=0;o1?r-1:0),i=1;i0&&(hj.log.debug("Removing previously shown widget from DOM","widgets"),hj.hq(e).remove())}),"widgets"),t.disableSubmit=hj.tryCatch((function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").addClass("_hj-f5b2a1eb-9b07_btn_disabled")}),"common"),t.emptyMatchingWidgets=function(){o=[],s=[],c.forEach((function(e){e.disconnect()})),c=[],hj.rendering.clearAllAbandonEvents(),u=!1},t.enableSubmit=hj.tryCatch((function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").removeClass("_hj-f5b2a1eb-9b07_btn_disabled")}),"common"),t.renderLegal=hj.tryCatch((function(e){var n=hj.settings.legal_name||"",r=hj.settings.privacy_policy_url||"",o="";return e&&""!==n&&""!==r&&(o=hj.rendering.renderTemplate('',{p:t.widgetAttributePrefix,legalName:n,privacyPolicyUrl:new hj.rendering.TrustedString(r)})),o})),t.enterFullScreen=hj.tryCatch((function(){var e,n;t.isPhoneOrTablet()&&((e=hj.hq("body")).addClass("_hj-f5b2a1eb-9b07_position_fixed"),0===hj.hq("#hotjar-viewport-meta").length&&((n=document.createElement("meta")).id="hotjar-viewport-meta",n.name="viewport",n.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",document.getElementsByTagName("head")[0].appendChild(n)),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.isPhoneOrTablet=hj.tryCatch((function(){return hj.widget.isVeryNarrowScreen()||"phone"===(0,r.vO)()||"tablet"===(0,r.vO)()}),"common"),t.isVeryNarrowScreen=hj.tryCatch((function(){return hj.hq(window).width()<=450}),"common"),t.removeActiveWidget=function(e){hj.widgetDelay.clear(),e=e||function(){},t.activeWidget?(t.activeWidget.removeCallback&&t.activeWidget.removeCallback(e),delete t.activeWidget):e()},t.runLatestMatchingWidget=function(){var e;o.forEach((function(t){(!e||e.created-1?"rtl":"ltr",hj.widget.isActiveLanguageDirectionRtl="rtl"===hj.widget.activeLanguageDirection}),"common"),t.registerObserverForInlineWidget=function(e){c.push(e)},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(n,r){e.clear(),t=setTimeout(n,r)}),"hj.widgetDelay.set"),e}()}),"widgets")()},1161:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var r=Object.freeze({POPOVER:"popover",FULL_SCREEN:"full_screen",EXTERNAL:"external_link",BUTTON:"button",INLINE_EMBEDDED:"inline"})},484:function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(2444)],void 0===(i="function"==typeof(r=function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=n.match(/ (\(.+\)$)/);n=r?n.replace(r[0],""):n;var o=this.extractLocation(r?r[1]:n),i=r&&n||void 0,a=["eval",""].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:i,fileName:a,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)}}})?r.apply(t,o):r)||(e.exports=i)}()},5687:function(e){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var o={key:t,value:e[t]},i={key:r,value:e[r]};return n(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,r.Z)(n))throw TypeError("Stringified UUID is invalid");return n}},9183:function(e,t,n){"use strict";var r=n(6684),o=n(254);t.Z=function(e,t,n){var i=(e=e||{}).random||(e.rng||r.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=i[a];return t}return(0,o.Z)(i)}},1183:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(254),o=n(9010);function i(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function a(e,t){return e<>>32-t}var s=function(e,t,n){function s(e,t,n,s){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}(t)),16!==t.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var c=new Uint8Array(16+e.length);if(c.set(t),c.set(e,t.length),(c=function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var o=0;o>>0;w=b,b=j,j=a(y,30)>>>0,y=m,m=E}n[0]=n[0]+m>>>0,n[1]=n[1]+y>>>0,n[2]=n[2]+j>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+w>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}(c))[6]=15&c[6]|80,c[8]=63&c[8]|128,n){s=s||0;for(var u=0;u<16;++u)n[s+u]=c[u];return n}return(0,r.Z)(c)}try{s.name="v5"}catch(e){}return s.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",s.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",s}()},9010:function(e,t,n){"use strict";var r=n(6262);t.Z=function(e){return"string"==typeof e&&r.Z.test(e)}},6366:function(e,t){"use strict";function n(e){for(var t=1;t-1&&!e;)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){n.p=hj.scriptDomain;var e=hj.metrics.time();(0,n(4359).initErrorLogging)(),n(3531),n(9719),n(6484),n(5050),n(6395),n(6597),n(6985),n(4871),n(3949),n(9443),n(5743),n(1713),n(347),n(6804),n(5239),n(4124),n(5986),n(5035),hj.metrics.timeEnd("resource-blocking-time",{tag:{resource:"modules-js"},start:e,type:"lab"})}()}();