(()=>{"use strict";var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var i=t[e]={exports:{}};return r[e].call(i.exports,i,i.exports,o),i.exports}o.m=r,e=[],o.O=(r,t,n,i)=>{if(!t){var l=1/0;for(s=0;s=i)&&Object.keys(o.O).every((e=>o.O[e](t[u])))?t.splice(u--,1):(a=!1,i0&&e[s-1][2]>i;s--)e[s]=e[s-1];e[s]=[t,n,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={121:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,i,[l,a,u]=t,f=0;if(l.some((r=>0!==e[r]))){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(u)var s=u(o)}for(r&&r(t);f{"use strict";i.d(t,{_o:()=>r,or:()=>o,xf:()=>n});const s="cta_converted",n=e=>CE2.Native.JSON.parse(CE2.Native.sessionStorage.getItem(s)||"{}")[e.toString()],r=e=>{const t=CE2.Native.JSON.parse(CE2.Native.sessionStorage.getItem(s)||"{}");delete t[e],CE2.Native.sessionStorage.setItem(s,CE2.Native.JSON.stringify(t))},o=e=>{const t=CE2.data.addons.find((({id:t})=>t===e.id));if(t?.goal_id){const e=CE2.Native.JSON.parse(CE2.Native.sessionStorage.getItem(s)||"{}");e[t.goal_id]={id:t.id,goalId:t.goal_id,timestamp:Date.now()},CE2.Native.sessionStorage.setItem(s,CE2.Native.JSON.stringify(e))}}},3075:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ABTest:()=>l.Ay,ADDON_SCRIPT_VERSION:()=>h,CE_API:()=>$t,Emitter:()=>Ee.v,ExitIntent:()=>At,FormData:()=>ye.f,Goal:()=>c.A,IndexedDB:()=>ge,JSON:()=>zt,NativeURL:()=>Vt,Preview:()=>te,READY_STATE_PATTERN:()=>$e,URL:()=>Se.j,VirtualTracker:()=>L,addListener:()=>r.ch,addTag:()=>r.Ap,addToCart:()=>Mt,benchmark:()=>o.aE,benchmarkEnabled:()=>o.$J,checkoutCompleted:()=>Lt,clearIdentity:()=>se.SY,click:()=>r.jM,converted:()=>U.H$,cookieStorage:()=>v.i,customEvent:()=>r.ex,debug:()=>o.Yz,debug2:()=>o.cC,debug2Enabled:()=>o.$Q,debugEnabled:()=>o.dK,debugError:()=>Ce.A,decreaseSessionWorth:()=>se.LV,deleteCookie:()=>r.Yj,domReadySetup:()=>Pe,each:()=>r.__,errorTracking:()=>Ce.o,get:()=>u.get,getCookie:()=>r.Ri,getCookies:()=>r.OR,getLastFlow:()=>xt.lD,getSegmentTracker:()=>Q.MH,goalIdString:()=>U.CT,hasFeature:()=>r.jI,http:()=>u,hudMain:()=>Re,identify:()=>se.ls,ignore:()=>r.Xe,increaseSessionWorth:()=>se.vn,isBot:()=>Oe,listen:()=>r.KT,loadHUD:()=>ke,matchURL:()=>_e.$,matchesAddon:()=>ie,matchesLegacyOrSegments:()=>Q.mF,matchesSelector:()=>r.B5,matchesTrigger:()=>X._9,nextGoalConversionValue:()=>U.uw,notifyError:()=>Dt,onDOMReady:()=>Me,pagesTracker:()=>lt,parseNumberString:()=>Ut.s,promisePool:()=>fe,remoteLog:()=>we,removeListener:()=>r.pQ,set:()=>r.hZ,setCurrency:()=>U.MN,setRecordingsSamplingRate:()=>Je,setSessionWorth:()=>se.LG,showCTA:()=>q,showFeedbackSurvey:()=>Y,showSurvey:()=>H,startCheckout:()=>Pt,startRecording:()=>Qe,stopRecording:()=>Xe,testModeCheck:()=>r.ou,traceLog:()=>o.aQ,trackSurveyResponse:()=>he,triggerAddons:()=>ee,userDataMain:()=>Rt,userMainTestMode:()=>Nt,uuid_v1:()=>pe.O,writeCookie:()=>r.o});var s={};i.r(s),i.d(s,{previewHandler:()=>V,showFeedbackSurvey:()=>Y,showSurvey:()=>H,trigger:()=>j});var n={};i.r(n),i.d(n,{previewHandler:()=>K,showCTA:()=>q,trigger:()=>J});i(7022);var r=i(2886),o=i(3380);"undefined"==typeof CE2&&(globalThis.CE2={}),CE2.userDataToJs=function(){const e=[["uid","uid"],["snapshots","snapshots"],["status","status"],["flows","flows"],["sites","sites"],["USER_SCRIPT_VERSION","updated_at"],["__CE_HOST__","ce_app_url"],["COMMON_SCRIPT","common_script_url"],["COMMON_SCRIPT_SECURE","common_script_url"],["TRACKING_SCRIPT","tracking_script_url"],["TRACKING_SCRIPT_SECURE","tracking_script_url"],["AUTH_KEY","hud_auth_key"],["HUD","hud"],["GLOBAL_IP_BLOCK_LIST","global_ip_block_list"],["IS_USING_IP_BLOCKING","is_using_ip_blocking"],["TRACKING_DEST_NEW","v6_tracking_dest"],["TRACKING_DEST_NEW_SECURE","v6_secure_tracking_dest"],["DEST_V11","v11_tracking_dest"],["FT_DEST","flow_tracking_dest"],["PAGE_VIEWS_LIMIT_REACHED","page_views_limit_reached"],["NUMBER_OF_RECORDINGS","recordings_number"],["RECORDINGS_ACTIVATION","recordings_activation"],["ERROR_TRACKING","error_tracking"],["DEST_ERRORS_API","error_tracking_dest"],["DEST_ERRORS_API_DOMAIN","error_tracking_script_url"]];for(let t=0;tCE2.w&&CE2.w[s]&&!(0,r.ib)(CE2.w[s])?(0,r.GE)(s):CE2.w&&CE2.w[s]?CE2.w[s]:"undefined"!=typeof window&&void 0!==window[s]?window[s]:void 0!==i.g&&void 0!==i.g[s]?i.g[s]:(0,r.GE)(s)})}CE2.getNativeXMLHttpRequest=function(){return new CE2.Native.XMLHttpRequest},"undefined"!=typeof Prototype&&(0,o.Yz)("[Loading] WARNING: Prototype.js library detected, it can cause tracking issues"),CE2.sessionTags=[],CE2.p={},CE2.state.ignoredElements=[],CE2.state.clickCaptors=[],CE2.state.logHistory=[],CE2.state.logHistoryEnabled=!1,CE2.state.userData=[],CE2.getBox||(CE2.getBox=()=>{}),CE2.getUserDataTime||(CE2.getUserDataTime=function(){if(window.performance&&performance.getEntriesByType){var e=performance.getEntriesByType("navigation");if(e&&e[0])return"back_forward"===e[0].type?parseInt(+new Date/3e5,10):1}return parseInt(+new Date/36e5,10)}),CE2.loadScript||(CE2.loadScript=function(e,t){const i=document.createElement("script");i.src=e,i.type="text/javascript",i.async=!0,i.onload=()=>{t&&t()},document.head.append(i)}),CE2.loadTrackingScript||(CE2.loadTrackingScript=function(e){return e()}),CE2.loadSessionTrackingScript||(CE2.loadSessionTrackingScript=function(e){return e()}),CE2.w&&!CE2.w.CE_URL_FINGERPRINT&&(CE2.w.CE_URL_FINGERPRINT=function(){const{host:e}=CE2.w.location;let{pathname:t}=CE2.w.location;return t=t.split("/").map((e=>e.replace(/^([\d]+|(.*(\d.*){2}))$/,"*"))).join("/"),`${e.replace(/^(www|m)\./i,"")}${t}`.toLowerCase().replace(/\/$/,"")}),CE2.autoStart=CE2.w&&("undefined"==typeof CE_MANUAL_START||!CE_MANUAL_START),CE2.loadTrackingScript||(CE2.loadTrackingScript=function(e){return e()}),CE2.loadSessionTrackingScript||(CE2.loadSessionTrackingScript=function(e){return e()}),CE2.w&&setTimeout((()=>{CE2.w.CE_API=CE2.CE_API(CE2.w.CE_API)}));var c=i(8856),l=i(2484),u=i(1509);const h=CE2.ADDON_VERSION||"1.0.115",g="preview",E="testMode",p="pageChange",C="survey",f="cta",m=2;var v=i(8e3);let w=!1;const _={survey:"Survey",cta:"CTA"},y=()=>new Promise((e=>{CE2.loadTrackingScript((()=>{e()}))})),S=()=>w?Promise.resolve():new Promise((e=>{const t=(()=>{const{data:e}=CE2,t=`/scripts/addons/${h}/index.js`;return CE2.w.CE_ADDON_HOST?[CE2.w.CE_ADDON_HOST,t].join(""):new CE2.Native.URL(t,e.common_script_url).toString()})();CE2.loadScript(t,(()=>{w=!0,e()}))})),I=async e=>{CE2[_[e]]||(await S(),CE2.loadAddon?await CE2.loadAddon(e):(0,o.Yz)("[Addons] CE2.loadAddon not defined after loading addont script"))},T=async e=>{const t=(e=>{const t=document.getElementsByTagName(e)[0];return t?[...t.shadowRoot.querySelectorAll("link[rel=stylesheet]")]:[]})(e).filter((e=>!e.sheet));if(0===t.length)return!0;(0,o.Yz)(`[Addons] not loaded files: ${t.length}`);const i=t.map((e=>((0,o.Yz)(`[Addons] ${e.href}: schedule waiting`),new Promise((t=>{let i,s=!1;e.addEventListener("load",(()=>{s=!0,(0,o.Yz)(`[Addons] ${e.href}: loaded`),i&&clearTimeout(i),t("ok")})),i=setTimeout((()=>{!1===s&&((0,o.Yz)(`[Addons] ${e.href}: timed out`),t("timed out"))}),5e3)})))));return 0===(await Promise.all(i)).filter((e=>"string"==typeof e&&"timed out"===e)).length},k=e=>{const{sampling:t,external:i}=e?.config||{};if(!e||"number"!=typeof t||!0===i)return!1;let s=v.i.get("as");if("boolean"!=typeof s){const e=100*Math.random();s=e>t,(0,o.Yz)("[Addons] Sampling",{seed:e,sampling:t}),v.i.set("as",s)}return s},b="initiated",N="dataLoaded",R="scriptLoaded",D="dataMissing",A="https://core.crazyegg.com";class O{constructor(e,t){this.type=e,this.key=`ce_${e}_preview`,this.isLoadedByHash=!1,this.currentAddon=null,this.onDisplay=t}isPreview(){return!!this.getHash()||this.isLoadedByHash}isOpenedWindow(){return window.opener}isPlatformOrigin(e){const{data:t}=CE2,i=t.survey_launch_origins||t.addon_launch_origins||[];return[t.ce_app_url,...i].includes(e)}getHash(){const e=CE2.w.location.hash.match(new RegExp(`#ce-${this.type}-(.+)`));if(e&&e[1]){const t=e[1];CE2.Native.sessionStorage&&CE2.Native.sessionStorage.getItem&&CE2.Native.sessionStorage.setItem(this.key,t);const i=t.split(".").slice(2).join(".");return i&&i!==CE2.w.location.hostname&&!CE2.w.location.hostname.endsWith(`.${i}`)?null:t}if(!CE2.Native.sessionStorage||!CE2.Native.sessionStorage.getItem)return null;const t=CE2.Native.sessionStorage.getItem(this.key);return t||null}load(){const e=this.getHash();if(e)this.loadData(e).catch(console.error).then((e=>{e&&(this.currentAddon=e,this.onDisplay(e))}));else{window.opener&&window.opener.postMessage({status:b},A);const e=t=>{t.source===window.opener&&this.isPlatformOrigin(t.origin)&&t.data&&"object"==typeof t.data&&t.data.token&&(this.isLoadedByHash=!0,this.loadData(t.data.token).then((e=>{e&&e.type!==this.type||(CE2.Native.sessionStorage&&CE2.Native.sessionStorage.getItem&&CE2.Native.sessionStorage.setItem(this.key,t.data.token),t.source.postMessage({status:e?N:D},A),e&&((0,r.ch)(window,`${this.type}Loaded`,(()=>{t.source.postMessage({status:R},A)})),this.currentAddon=e,this.onDisplay(e)))})),window.removeEventListener("message",e))};window.addEventListener("message",e)}}loadData(e){return new Promise(((t,i)=>{const{data:s}=CE2,n=`${s.survey_preview_dest||s.addon_preview_dest}?token=${e}&user=${encodeURIComponent(s.uid)}&host=${encodeURIComponent(CE2.w.location.hostname)}`;(0,u.get)(n,(e=>{e&&200===e.status&&e.responseText?t(CE2.Native.JSON.parse(e.responseText.trim())):i(new Error("Preview addon not found"))}))}))}}var $=i(4075),x=i(6832),U=i(3487);const M="ce_virtual_tracker_data",P={VISIT:"visit",SESSION_METADATA:"sessionmetadata"};class L extends x.J{constructor(e){super(e);const{site:t,session:i,goals:s}=e;this.site=t,this.goals=s,i?(this.session=i,(0,o.Yz)("[VirtualTracker] Starting",e)):(this.session=$.T.instance(),this.session||(this.session=$.T.build(!1)),this.validateSession(),(0,o.Yz)("[VirtualTracker] Starting new session",e)),this.sessionId=this.session.id,this.virtual=!0,this.setupEventHandlers(),this.session.store(),this.processBuffer({scheduleTimeout:!0}),setTimeout((()=>(0,U.ur)(this)))}validateSession(){!L.hasSessionTracker()&&this.session.isExpired()&&(this.session.reset("virtual-tracker-session-expired"),this.session=$.T.build(!1),this.sessionId=this.session.id)}update(){this.processBuffer(),this.url=window.location.href,L.hasSessionTracker()||(this.validateSession(),this.setVisitIDs(),this.triggerVisit())}triggerVisit(){this.eventHandlers[P.VISIT]&&this.eventHandlers[P.VISIT].trigger()}resetHandlers(e){for(const t in e)delete this.eventHandlers[t]}setupHandlers(e){for(const t in e)!this.eventHandlers[t]&&Object.values(P).includes(t)&&(this.eventHandlers[t]=new e[t](this));L.hasSessionTracker()||(this.triggerVisit(),this.eventHandlers[P.SESSION_METADATA]&&this.eventHandlers[P.SESSION_METADATA].trigger())}setupEventHandlers(){this.setupPageHideHandler(),this.addEventListener(CE2.opera?"unload":"beforeunload",(0,r.oI)(this,"onUnload")),this.addEventListener("keydown",(0,r.oI)(this,"onActivity")),this.addEventListener("mousemove",(0,r.oI)(this,"onActivity")),this.addEventListener("mousedown",(0,r.oI)(this,"onActivity")),this.addEventListener("scroll",(0,r.oI)(this,"onActivity"))}static hasSessionTracker(){return!!CE2.monitorSession?.id}sendEventWithStoredData(e,t={}){L.hasSessionTracker()||(this.load(),this.track=!0,this.pushToBuffer()),this.sendImmediatelly(e,t)}send(e){this.session.alive(),L.hasSessionTracker()||(this.load(),this.events.push(e),this.track?this.pushToBuffer():this.store())}store(){CE2.Native.localStorage.setItem(M,CE2.Native.JSON.stringify({i:this.session.id,e:this.events,t:this.track}))}sendStoredEvents(){this.load(),this.pushToBuffer()}pushToBuffer(){this.bufferQueue.push(...this.events.splice(0)),this.store()}load(){const{i:e,e:t,t:i}=CE2.Native.JSON.parse(CE2.Native.localStorage.getItem(M)||"{}");this.events=[],this.track=!1,e===this.session.id&&(this.events=t,this.track=!!i)}onActivity(){this.session.alive()}onPageHide(){this.onActivity(),this.processBuffer({sendBeacon:!0})}onUnload(){L.hasSessionTracker()||this.session.end(),this.processBuffer({sendBeacon:!0})}}const V=new O("survey",(async e=>(await I(C),CE2.launchAddon(C,{mode:g,addon:e}))));let z=[];const B=e=>{const{Survey:t}=CE2;for(let e=0,t=z;e{(CE2.virtualTracker||(CE2.virtualTracker=new L({visitId:CE2.visitId,site:e.site,session:e.session}))).setupHandlers(i)})),t.on("notTrigger",(()=>{CE2.virtualTracker&&CE2.virtualTracker.resetHandlers(Object.keys(i))})),t.on("surveyDisplay",(({id:e})=>{(0,u.sendCounter)("survey:view",e)})),t.on("questionDisplay",((e,t)=>{const i=e.questions[t]?.id;i&&(0,u.sendCounter)("question:view",`${e.id}_${i}`)}))]},H=async e=>{if("string"!=typeof e)throw new Error("Survey ID must be a string");const t=(CE2.data.addons||[]).find((t=>t.id===e));t?k(t)?(0,o.Yz)(`Addon ${e} is sampled`):(await y(),await I(C),B({site:CE2.site,session:CE2.monitorSession}),CE2.Survey.showSurvey(e)):(0,o.Yz)(`Addon ${e} is not found`)},Y=async e=>{if("string"!=typeof e)throw new Error("Survey ID must be a string");await y(),await I(C),B({site:CE2.site,session:CE2.monitorSession}),CE2.Survey.showFeedbackSurvey(e)},j=async(e,t)=>{const{addons:i}=CE2.data;return CE2.w.CE_EXTERNAL_SURVEY?(async e=>{if(CE2.w.CE_EXTERNAL_SURVEY_PREVIEW&&"preview"===e)return await I("survey"),V.load();if("preview"!==e){await y();const{addons:e}=CE2.data;e.length&&(CE2.state.survey=e[0],await H(e[0].id))}})(e):e===g?(V.isPreview()&&await I(C),V.load()):void(i&&0!==i.filter((({type:e})=>e===C)).length?V.isPreview()||await(async e=>{await y(),await I(C),B(e),await CE2.launchAddon(C)})(t):(0,o.Yz)("[Addons] Nothing to match"))};var G=i(8481);const K=new O("cta",(async e=>(await I(f),CE2.launchAddon(f,{mode:g,addon:e}))));let F=[];const W=e=>{const{CTA:t}=CE2;for(let e=0,t=F;e{(CE2.virtualTracker||(CE2.virtualTracker=new L({visitId:CE2.getVisitId(),site:e.site,session:e.session}))).setupHandlers(i)})),t.on("notTrigger",(()=>{CE2.virtualTracker&&CE2.virtualTracker.resetHandlers(Object.keys(i))})),t.on("display",(e=>{e&&(async({id:e})=>{await T("crazyegg-cta")&&(0,u.sendCounter)("cta:view",e)})(e)})),t.on("click",(t=>{t&&(e=>{const t=(0,r.IS)("sessionId"),{virtualTracker:i}=CE2;if(!e||!t)return;(0,G.or)(e);const s=[(0,r.IS)("visitID"),m,(0,r.IS)("session").numberVisits(),e.id];(0,u.sendCounter)("cta:click",e.id);const n=i.newEvent(38,{attributes:s});i.sendEventWithStoredData(n)})(t,e.site)}))]},q=async e=>{if("string"!=typeof e)throw new Error("CTA ID must be a string");const t=(CE2.data.addons||[]).find((t=>t.id===e));t?k(t)?(0,o.Yz)(`Addon ${e} is sampled`):(await y(),await I(f),W({site:CE2.site,session:CE2.monitorSession}),CE2.CTA.showCTA(e)):(0,o.Yz)(`Addon ${e} is not found`)},J=async(e,t)=>{if(e===g)return K.isPreview()&&await I(f),K.load();const{addons:i}=CE2.data;i&&0!==i.filter((({type:e})=>e===f)).length&&(K.isPreview()||await(async e=>{await y(),await I(f),W(e),await CE2.launchAddon(f)})(t))};var Q=i(474),X=i(7471);const Z=[s,n],ee=(e,t={})=>{CE2.data.addons=(CE2.data.addons||[]).filter((e=>!1===k(e)));for(let i=0;i(0,Q.mF)({resourceType:e.type,resourceId:e.id},(()=>(0,X._9)(e.config.audience?.conditions,t)));var se=i(715);const ne="text-entry/email",re=["multi-choice/single","multi-choice/multi","text-entry/short","text-entry/long",ne,"rating/stars","rating/numerical","rating/smiley","rating/NPS"],oe=["formatVersion","id"],ae=["questionId","questionPosition","questionText","questionType","response"],ce=(e,t)=>{if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(let i=0;i!e.some((e=>0!==e&&!e)),le=e=>[e.questionType,e.questionId,e.questionText,e.response,e.questionPosition],ue=e=>CE2.tracker?.[e]||CE2.virtualTracker?.[e],he=(e,t,i=null)=>{if(!e||!t.length)return(0,o.Yz)("Survey: invalid arguments");if(!((e,t)=>{const i=!e||ce(oe,Object.keys(e).sort())&&de(Object.values(e)),s=!t.map((e=>ce(ae,Object.keys(e).sort())&&de(Object.values(e))&&re.includes(e.questionType))).some((e=>!e));return i&&s})(i,t))return(0,o.Yz)("Survey: Invalid survey or response structure");if(!CE2.virtualTracker)return(0,o.Yz)("Survey: do not send responses in preview mode");const s=t.map(le),{virtualTracker:n}=CE2,r=[ue("visitID"),CE2.visitorTracker.getIdentification(),i?.id||"",i?.formatVersion||"",e,ue("session")?.numberVisits(),s],a=n.newEvent(28,{attributes:r});if(n.sendEventWithStoredData(a),CE2.data.auto_identity&&!CE2.IDENTIFIER){const e=t.find((e=>e.questionType===ne&&e.response));(0,se.ls)(e?.response)}};class ge{constructor(e){this.storeName=e,CE2.w&&CE2.w.indexedDB&&(this.dbPromise=this.openDB())}get isAvailable(){return!!CE2.w.indexedDB}async openDB(){return new Promise((e=>{const t=CE2.w.indexedDB.open(this.storeName,1);t.onupgradeneeded=e=>{const t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName,{keyPath:"id"})},t.onsuccess=t=>{const i=t.target.result;e(i)},t.onerror=t=>{(0,o.Yz)(`error opening database ${t.target?.errorCode}`),e()}}))}async readAll(){if(this.dbPromise)return this.dbPromise.then((e=>e?new Promise(((t,i)=>{let s=e.transaction([this.storeName],"readonly");const n=s.objectStore(this.storeName);s=n.getAll(),s.onsuccess=e=>{t(e.target.result)},s.onerror=function(e){(0,o.Yz)(`error opening database ${e.target.errorCode}`),i(e.target)}})):[]))}async store(e){if(this.dbPromise)return this.dbPromise.then((t=>{if(t)return new Promise(((i,s)=>{const n=t.transaction([this.storeName],"readwrite"),r=n.objectStore(this.storeName);n.onsuccess=e=>{i(e.target.result)},n.onerror=function(e){(0,o.Yz)(`error storing records ${e.target.errorCode}`),s(e.target)},e.forEach((e=>{r.put(e)}))}))}))}async clear(){if(this.dbPromise)return this.dbPromise.then((e=>{if(e)return new Promise(((t,i)=>{let s=e.transaction([this.storeName],"readwrite");const n=s.objectStore(this.storeName);s=n.clear(),s.onsuccess=e=>{t(e.target.result)},s.onerror=function(e){(0,o.Yz)(`error clearing store ${e.target.errorCode}`),i(e.target)}}))}))}}var Ee=i(3201),pe=i(2759),Ce=i(4808);const fe=function(e,t,i){return new Promise(((s,n)=>{const r=[],o=[];let a,c=0,d=0;const l=()=>{if(d>=e.length&&!a)return void(a=Promise.all(o).then((()=>{s(r)})).catch((e=>{n(e)})));if(d>=e.length)return;const u=e[d];d+=1;const h=i(u);o.push(h),h.then((e=>{r.push(e),c-=1,l()})).catch((e=>{n(e)})),c+=1,c{t.status<200||t.status>=300?Ie(`Error loading latest HUD version: ${t.status} ${t.statusText}`):e(t.responseText.trim())}))}(),CE2.state.loadedHUD=!0,CE2.Native.localStorage.setItem("powerup","true"),!0)}catch(e){return Ie(e),!1}},be=function(){try{if(Te())return ke(),!0}catch(e){Ie(e)}return!1},Ne={startListener(){CE2.w.opener&&CE2.w.addEventListener("message",Ne.onMessage)},stopListener(e,t){CE2.w.removeEventListener("message",Ne.onMessage),e.postMessage({hudLaunched:!0},t)},onMessage(e){try{if(Ie("Received message"),e.source!==CE2.w.opener)return void Ie("Unexpected source");if(![CE2.data.ce_app_url,...CE2.data.hud.launch_origins].includes(e.origin))return void Ie("Unexpected source url");const t=e.data;if(!t||"object"!=typeof t)return void Ie("Unexpected message");if("number"!=typeof t.launcherId)return void Ie("Unexpected launcherId");CE2.Native.sessionStorage.setItem("ce-hud-launch-params",JSON.stringify(t)),Ne.stopListener(e.source,e.origin),ke()}catch(e){Ie(e)}}},Re=function(){if(CE2.data&&CE2.data.hud)try{!function(){try{if(void 0===CE2.Native.localStorage)return!1;if(void 0===CE2.Native.localStorage.getItem)return!1;const e=Boolean(CE2.Native.sessionStorage&&"function"==typeof CE2.Native.sessionStorage.getItem&&CE2.Native.sessionStorage.getItem("ce-hud-launch-params"));return!(CE2.w.opener&&!Te()&&!e||!CE2.Native.localStorage.getItem("powerup")||(ke(),0))}catch(e){return Ie(e),!1}}(),CE2.w.addEventListener("hashchange",be),be(),Ne.startListener()}catch(e){Ie(e)}};function De(){try{if(function(e){return!window.__CE_SCRIPT_CHECK&&(!!/bingpreview|prerender|jorgee|Mediapartners-Google|APIs-Google|phpcrawl|GoogleAdSenseInfeed|Google Page Speed Insights|Google-Ads-Overview|Google-Read-Aloud|Google-Structured-Data-Testing-Tool|Data Theorem|alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo|yandex|phantom|headless|BrandVerity|ruxitsynthetic|Chrome-Lighthouse/i.test(e)||void 0)}(navigator.userAgent))return"userAgent";if(!1===navigator.onLine)return"navigator.onLine";const t=((e=window).innerHeight>=16384||e.innerWidth>=16384)&&"viewport-inner";if(t)return t;if(!navigator.language||navigator.languages&&0===navigator.languages.length)return"language";if(navigator.webdriver)return"webdriver";if(window.jasmine)return"jasmine";const i=["__webdriver_evaluate","__selenium_evaluate","__webdriver_script_function","__webdriver_script_func","__webdriver_script_fn","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__driver_evaluate","__selenium_unwrapped","__fxdriver_unwrapped"],s=["webdriver","_phantom","__nightmare","_selenium","callPhantom","callSelenium","_Selenium_IDE_Recorder"];for(let e=0;e0;)e.pop().call();Ue=!0};if(Ue&&e(),(0,r.KT)(window,"load",e),CE2.d.addEventListener&&(0,r.KT)(CE2.d,"DOMContentLoaded",e),CE2.d.readyState){const t=$e;!function i(){t.test(CE2.d.readyState)?e():setTimeout(i,10)}()}},Le="ce_successful_csp_check";class Ve{load(){return this.loadPromise||(this.loadPromise=new Promise((e=>{if(CE2.benchmark.start("navigation|crazyegg|common|userdatamain|load-csp"),void 0===this.isSuccessful&&(this.isSuccessful=Ve.get()),void 0!==this.isSuccessful)return CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-csp"),void e();const t=[CE2.data.page_states_tracking_url,CE2.data.assets_tracking_url].map((e=>e?new Promise((t=>{(0,u.get)(`${e}/healthcheck`,(e=>{e&&200===e.status&&e.responseText?(e=CE2.Native.JSON.parse(e.responseText.trim()),t("ok"===e.status)):t(!1)}))})):Promise.resolve(!0)));t.push(Ve.getInlineWorkerPromise()),Promise.all(t).then((t=>{this.isSuccessful=-1===t.findIndex((e=>!1===e)),this.isSuccessful&&Ve.store(),CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-csp"),e()}))}))),this.loadPromise}hasIssues(){return!this.isSuccessful}static getInlineWorkerPromise(){return new Promise((e=>{try{const t=(0,r.I3)("crazyegg-csp-check",(e=>{self.postMessage(e.data)}),!1);if(t){const i=setTimeout((()=>{t.terminate(),e(!1)}),500);t.onmessage=s=>{clearTimeout(i),t.terminate(),e("hello"===s.data)},t.postMessage("hello")}else e(!1)}catch(t){e(!1)}}))}static store(){CE2.Native.localStorage.setItem(Le,+new Date+864e5)}static get(){let e=CE2.Native.localStorage.getItem(Le);if(e){if(e=parseInt(e,10),e>+new Date)return!0;CE2.Native.localStorage.removeItem(Le)}}}const ze=new Ve,Be=function(){const e="!$%&()*+,-.0123456789;<=>?@[]^_`{|}~",t={};let i;for(i=0;i<36;i++)t[e.charAt(i)]=i.toString(36);return t}(),He=function(e){return parseInt(e.replace(/./g,(e=>Be[e])),36)},Ye=function(e){let t="";const i=/(![^:\/a-z])|([^:\/a-z]{2})|(:[^:\/a-z]{3})|(\/[^:\/a-z]{4})/gi,s=String.fromCharCode;let n;for(;null!=(n=i.exec(e));)n[1]||n[2]?t+=s(He(n[0])):n[3]?t+=s(He(n[3].substr(1))):n[4]&&(t+=s(He(n[4].substr(1))));return t};var je=i(9880);const Ge=function(){const e="v11slnt";function t(){v.i.set(e,+new Date)}function i(){const t=function(){const t=v.i.get(e);if(t)return parseInt(t,10)}();return!!t&&+new Date-t<6e5}return{slow:()=>{if((0,r.jI)("v11_record_slow_network"))return!1;try{return function(){if(navigator&&navigator.connection&&navigator.connection.downlink){const{downlink:e}=navigator.connection;e<.5&&t()}}(),function(){if(performance&&performance.getEntriesByType){const e=performance.getEntriesByType("resource");if(void 0===e||e.length<=0)return!1;let i,s;for(let t=0;t1e3&&t()}}}(),i()}catch(e){return(0,Ce.A)(e),!1}}}};function Ke(e){if(""!==e&&!/^\s*#.*$/.test(e))return e.replace(/\s*#.*$/,"")}function Fe(e,t){return t.indexOf("-")>-1?function(e,t){if(-1===e.indexOf("."))return!1;const i=e.split("."),s=Ke(t);if(!s)return!1;const n=s.split("-");if(!n[0]||!n[1])return!1;const r=n[0].split("."),o=n[1].split(".");for(let e=0;e<4;e++){if(!r[e]||!o[e])return!1;if("*"===r[e]||"*"===o[e])continue;const t=parseInt(i[e],10);if(tparseInt(o[e],10))return!1}return!0}(e,t):t.indexOf(":")>-1?function(e,t){if(-1===e.indexOf(":"))return!1;const i=e.split(":"),s=Ke(t);if(!s)return!1;const n=s.split(":");for(let e=0;e{it(e,t,i)}},nt=function(e,t,i=!1){const s=i?"matched":"rejected";et.push({id:e.id,result:s,message:t})},rt=function(e){return(t,i=!1)=>{nt(e,t,i)}},ot=function(e){let t,i;const{rules:s}=e;if(CE2.data.disable_recordings_mobile&&1!==CE2.clock.getDeviceType())return it({disable_recordings_mobile:CE2.data.disable_recordings_mobile,device:CE2.clock.getDeviceType()},"disabled mobile",!1),!1;if(e.pageTargetingEnabled){if(1===qe)return!0;if(s&&s.length)for(t=0;i=s[t++];)if((0,_e.$)(i.u,CE2.w.location.href,i.o,null,null,st(i)))return!0;return!1}return it({},"All pages",!0),!0};const at=function(e){if(!e.sessionRecording)return void(0,o.Yz)("[Sessions] Recordings disabled");if(!(e.recordingSettings&&e.recordingSettings.recordIframes)&&CE2.w.parent!==CE2.w){const e=(0,r.Ep)(),t=(0,r.R2)().substr(1);if(e&&e.indexOf(t)>-1)return void(0,o.Yz)("[Sessions] Recordings prevented from iframe")}const t=ot(e.recordingSettings),i=e.recordingSettings&&function(e){const{blockedRules:t}=e;return Ze()||(0,_e.e)(t)}(e.recordingSettings),s=(new Ge).slow()?"slow network":(0,r.Qb)()?ze.hasIssues()?"site has csp issue":void 0:"inline-workers not supported";let n=$.T.instance();if(n&&n.isFull())return s?(n.reset(s),void(0,r.GO)(`[Sessions] Stopped: ${s}`)):n.isExpired()?void n.reset("expired"):i&&(e.recordingSettings.endSessionOnBlockedUrl||Ze())?(n.reset("page-blocked"),void(0,r.GO)("[Sessions] Page blocked and marked to end")):i?void(0,r.GO)("[Sessions] Page blocked"):((0,o.Yz)("[Sessions] Continued"),n);if((0,o.Yz)("[Sessions] Matching parameters",CE2.w.location.href),(0,o.Yz)("[Sessions] Matching target",tt),tt=[],!t)return void(0,o.Yz)("[Sessions] No matches");if((0,o.Yz)("[Sessions] Matched",{url:CE2.w.location.href}),i)return void(0,o.Yz)("[Sessions] Page blocked");if(s)return void(0,o.Yz)(`[Sessions] Won't start: ${s}`);const a=new je.w(e);return a.validRatio()&&a.canRecord()?(n&&!n.isDeleted()?(n.becomeFull(),(0,o.Yz)("[Sessions] Sampling accepted, starting new from virtual")):(n=$.T.build(!0,a.ratio,a._appliedStrategy()),(0,o.Yz)("[Sessions] Sampling accepted, starting new")),n):((0,o.Yz)("[Sessions] Sampling rejected"),!1)},ct=function(e,t,i,s,n,r){if(void 0===e.isBlocked&&(e.isBlocked=new We(e.ip).blocked(r)),e.isBlocked)return nt(e,"IP blocked"),!1;if(Oe())return nt(e,"bot blocked"),!1;if(e.vid){const t=s.includes(e.vid)&&(!CE2.Native.Array.isArray(e.d)||e.d.indexOf(CE2.clock.getDeviceType())>=0);return nt(e,`variantid=${s.join(",")} allowed=${e.vid}`,t),t}return n&&Object.values(n).length&&e.o&&/go/.test(e.o)?(0,_e.$)(e.u,n,e.o,e.d,CE2.n.userAgent,rt(e)):i&&e.o&&/n/.test(e.o)?(0,_e.$)(e.u,i,e.o,e.d,CE2.n.userAgent,rt(e)):(0,_e.$)(e.u,t,e.o,e.d,CE2.n.userAgent,rt(e))},dt="cebsp_";const lt=new class{constructor(){this.numPages=0}load(){this.numPages=(0,r.Ri)(dt),this.numPages=this.numPages?parseInt(this.numPages,10):0}pageChanged(){this.numPages++,(0,r.o)(dt,this.numPages)}getPages(){return this.numPages}};class ut{constructor(){CE2BH.defineProperty(this,"CURRENT_RETURNING_WINDOW_MSEC",18e5),CE2BH.defineProperty(this,"RETURNING_WINDOW_MSEC",2592e6),CE2BH.defineProperty(this,"visitorV6Key","_cer.v"),CE2BH.defineProperty(this,"visitorKey","v"),CE2BH.defineProperty(this,"visitorIdentificationKey","vi"),CE2BH.defineProperty(this,"visitorIsReturningKey","vir"),CE2BH.defineProperty(this,"visitorLastVisitAtKey","lva"),CE2BH.defineProperty(this,"visitorVisitsKeyLegacy","vv"),CE2BH.defineProperty(this,"visitorVisitsKey","vpv"),CE2BH.defineProperty(this,"browserSessionCookie","cebs"),CE2BH.defineProperty(this,"firstVisitDataKey","ce_fvd"),this.id=null,this.identification=void 0,this.storedId=null,this.numVisits=null,this.visitorV6Parts=null,this.firstVisitData=null,(0,r.Ri)(this.visitorV6Key)&&(this.visitorV6Parts=(0,r.Ri)(this.visitorV6Key).split("."))}load(){this.loadVisitorId(),this.loadVisitorIdentification(),this.loadVisitorVisits(),this.loadFirstVisitData()}identify(e){e&&(CE2.IDENTIFIER=this.identification=e,v.i.set(this.visitorIdentificationKey,this.identification))}clearIdentity(){CE2.IDENTIFIER=null,v.i.del(this.visitorIdentificationKey)}del(e){v.i.del(e)}reset(){this.del(this.visitorKey),this.del(this.visitorVisitsKey)}loadVisitorId(){if(this.storedId=v.i.get(this.visitorKey),window.CE_VISITOR_ID)this.id=window.CE_VISITOR_ID,this.storedId&&window.CE_VISITOR_ID!==this.storedId&&this.reset();else if(this.storedId)this.id=this.storedId;else if(this.visitorV6Parts){const[e]=this.visitorV6Parts;this.id=e,v.i.set(this.visitorKey,e)}else this.id=(0,me.M4)(),v.i.set(this.visitorKey,this.id)}loadVisitorIdentification(){const e=v.i.get(this.visitorIdentificationKey);CE2.IDENTIFIER?this.identification=CE2.IDENTIFIER:e&&(this.identification=e,CE2.IDENTIFIER=this.identification)}loadVisitorVisits(){const e=!(0,r.Ri)(this.browserSessionCookie);e&&(this.isReturning(),CE2.Native.localStorage.removeItem(this.firstVisitDataKey)),(0,r.o)(this.browserSessionCookie,"1"),v.i.get(this.visitorVisitsKey)?this.numVisits=parseInt(v.i.get(this.visitorVisitsKey),10):v.i.get(this.visitorVisitsKeyLegacy)?this.numVisits=1:this.visitorV6Parts&&this.visitorV6Parts[2]&&(this.numVisits=parseInt(this.visitorV6Parts[2],36)),null===this.numVisits?(this.numVisits=0,v.i.set(this.visitorVisitsKey,this.numVisits)):e&&(this.numVisits+=1,v.i.set(this.visitorVisitsKey,this.numVisits))}loadFirstVisitData(){let e=CE2.Native.localStorage.getItem(this.firstVisitDataKey);if(e)this.firstVisitData=CE2.Native.JSON.parse(e);else{const{userData:t}=CE2.state;e={landingUrl:CE2.w.location.href,referrer:CE2.d.referrer,time:Date.now(),utm:(0,r.ne)(),userData:Object.values(t).length>0?[t[1],t[2],t[3],t[4],t[5]]:[]},this.firstVisitData=e,CE2.Native.localStorage.setItem(this.firstVisitDataKey,CE2.Native.JSON.stringify(e))}}isReturning(){return this.returningState().state===ut.RETURNING_STATE.RETURNING}returningState(){if(void 0!==this.isReturningCache)return this.isReturningCache;let e=v.i.get(this.visitorIsReturningKey),t=v.i.get(this.visitorLastVisitAtKey),i=!1;e||(e=ut.RETURNING_STATE.NEW,t=Date.now(),CE2.Native.localStorage.removeItem(this.firstVisitDataKey));const s=Date.now()-t;return s>this.CURRENT_RETURNING_WINDOW_MSEC&&(e=ut.RETURNING_STATE.RETURNING,CE2.Native.localStorage.removeItem(this.firstVisitDataKey)),s>this.RETURNING_WINDOW_MSEC&&(e=ut.RETURNING_STATE.NEW,i=!0,CE2.Native.localStorage.removeItem(this.firstVisitDataKey)),(0,o.Yz)(`[Visitor] IsReturning id=${this.id} state=${e} lastVisit=${t} reset=${i}`),t=Date.now(),v.i.set(this.visitorIsReturningKey,e),v.i.set(this.visitorLastVisitAtKey,t),this.isReturningCache={state:e,reset:i},this.isReturningCache}}CE2BH.defineProperty(ut,"RETURNING_STATE",{NEW:"new",RETURNING:"returning"});const ht=new ut,gt=function(){return{isReturning:()=>ht.isReturning(),returningState:()=>ht.returningState(),getId:()=>ht.id,getIdentification:()=>ht.identification,getStoredId:()=>ht.storedId,getNumVisits:()=>ht.numVisits,getFirstVisitData:()=>ht.firstVisitData,load(){ht.load()},identify:e=>ht.identify(e),clearIdentity(){ht.clearIdentity()}}};var Et=i(401);const pt="_ce.clock_data",Ct=",",ft=/^[123]$/;const mt=new class{getData(){return(0,r.Ri)(pt)}load(){if(this.loadPromise)return this.loadPromise;const e=this;return this.loadPromise=new Promise(((t,i)=>{CE2.benchmark.start("navigation|crazyegg|common|userdatamain|load-clock");const s=(0,r.Ri)(pt);if(s){const[i,n,r,o,a,c]=s.split(Ct);if(!o||o===(0,Et.F)(CE2.n.userAgent))return i&&n&&(e.diff=parseInt(i,10),e.ip=n,e.device=r&&ft.test(r)?parseInt(r,10):void 0,e.userAgentMd5=o,e.browser=a,e.country=c,e.valid=!0),CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-clock"),CE2.debug("[Clock] Loaded from cookie",s),void t();CE2.debug("[Clock] User agent changed, reloading")}const n=s=>{const[n,a,c,d,l]=s.responseText.split(Ct),u=parseInt(n,10);if(u>0){const i=+new Date-u;e.diff=i,e.ip=a,e.device=c&&ft.test(c)?parseInt(c,10):void 0,e.browser=d,e.country=l,e.userAgentMd5=(0,Et.F)(CE2.n.userAgent),e.valid=!0;const s=[i,a,e.device,e.userAgentMd5,e.browser,e.country].join(Ct);(0,r.o)(pt,s,{expiresInDays:1}),(0,o.Yz)("[Clock] Fetch from api",s),CE2.benchmark.stop("navigation|crazyegg|common|userdatamain|load-clock"),t()}else(0,o.Yz)("[Clock] Error, stopping"),i()};let a,c,d;if(CE2.site?.id&&!CE2.w.CE_SITE_ID){c=CE2.data.uid,d=CE2.site.id;const e=[(0,me.M4)(0,1),CE2.visitorTracker.getId(),36,CE2.VERSION,+new Date,CE2.tabId],t=CE2.visitorTracker.getFirstVisitData();a=[e,[CE2.getVisitId(),t.landingUrl,t.referrer,(0,r.ne)(t.landingUrl),CE2.w.CE_URL_FINGERPRINT(),CE2.visitorTracker.isReturning()?1:0,CE2.visitorTracker.getNumVisits()]]}(0,r.ou)()?n({responseText:[+new Date,"99.99.99.99",1,"chrome","US"].join(Ct)}):(0,u.sendEvents)({userId:c,siteId:d,context:"Clock",t:+new Date,endpoint:CE2.data.clock_url,callback:n},a?[a]:[])})),this.loadPromise}getIP(){return this.ip}getDiff(){return this.diff}getBrowser(){return this.browser}getCountry(){return this.country}getDate(){if(this.valid)return new Date(+new Date-this.diff)}getDateUnix(){const e=this.getDate();if(e)return Math.floor(e/1e3)}getDeviceType(){return this.device?this.device:((0,o.Yz)("[Clock] Clock didn't know device. Using deviceType() instead."),function(e){const t=e.toLowerCase();let i,s,n=0;if(i=e.indexOf("("),-1==i)return 1;if(i++,-1!=(s=e.indexOf("Android",i))){if(s+=8,e.length>s&&(n=e.charAt(s)))switch(n){case"2":if(-1!=e.indexOf("BNTV",s))return 3;if(-1!=t.indexOf("nook",s))return 3;if(-1!=e.indexOf("Kindle",s))return 3;if(-1!=e.indexOf("Touchpad",s))return 3;break;case"3":return 3;case"4":if(-1!=e.indexOf("Silk",s))return 3}return-1!=t.indexOf("tablet",s)?3:-1!=e.indexOf("Mobi",s)?2:3}if(-1!=(s=e.indexOf("iP",i)))switch(n=e.charAt(s+2),n){case"a":return 3;case"h":case"o":return 2}return-1!=(s=e.indexOf("BlackBerry",i))?-1!=e.indexOf("Tablet",s+10)?3:2:-1!=e.indexOf("Windows Phone",i)||-1!=e.indexOf("BB10",i)||"M"!=e.charAt(0)&&-1!=e.indexOf("Opera Mini",i)?2:1}(CE2.n.userAgent))}};var vt=i(5736);class wt extends vt.A{constructor(...e){super(...e),this.site=CE2.site,this.visitData=this.visitor.getFirstVisitData(),this.bufferTimeoutInterval=6e4,this.processBuffer({scheduleTimeout:!0}),this.setupPageHideHandler()}trigger({flowsMatching:e}){const{w:t}=CE2;let i;e&&([i]=e),this.bufferQueue.push(this.newEvent(39,{attributes:[this.visitor.getIdentification(),t.location.href,t.CE_URL_FINGERPRINT?.(),this.visitData.referrer,this.visitData.utm,this.visitData.landingUrl,this.visitor.isReturning(),i?.flow?.name,i?.flow?.id,i?.variant?.name,i?.variant?.id]}))}setupPageHideHandler(){(0,r.KT)(CE2.w,"visibilitychange",(()=>{"visible"!==CE2.d.visibilityState&&this.processBuffer({sendBeacon:!0})}))}}let _t;CE2.clock=mt,CE2.csp=ze,CE2.eventTypes={VISIT:1,CLICK:2,SCROLL:3,MOUSE_MOVEMENT:4,PAGE_STATE:5,RESIZE:6,SESSION_SCROLL:7,ERROR:8,PAGE_LOAD:9,INACTIVE:10,TYPING:11,CUSTOM:12,PAGE_VISIBILITY:13,DOM_CONTENT_LOADED:14,FIRST_CONTENTFUL_PAINT:15,DOM_INTERACTIVE:16,IDENTIFY:17,CUSTOM_USER_DATA:18,TAG:19,SESSION_RATIO:20,VALID_SESSION:21,END_SESSION:22,ECOMMERCE:23,FORM:24,CUSTOM_PERFORMANCE:25,GOAL_CONVERSION:26,ASSETS:27,SURVEY_RESPONSE:28,EXCESSIVE_SCROLL:29,LONG_TASK:30,FIRST_INPUT_DELAY:31,CUMULATIVE_LAYOUT_SHIFT:32,LARGEST_PAINT:33,QUICKBACK:34,SESSION_WORTH:35,DAILY_VISIT:36,DAILY_VISIT_COUNTER:37,ADDON_CLICK:38,PAGE_VIEW:39,AB_TEST_VIEW:40,AB_TEST_CONVERSION:41},CE2.clickTypes={RAGE:"r",AUTH_BUTTON:"a",NOT_CLICKABLE:"d"},CE2.getVisitId=()=>CE2.visitId,CE2.getSessionId=()=>$.T.currentSessionId();const yt=function(){CE2.bh&&(CE2.bh.parentElement.removeChild(CE2.bh),CE2.bh=null)},St=function(e=!0){return Promise.all([CE2.clock.load(),e?CE2.csp.load():Promise.resolve()])},It=function(e){if(!CE2.data||!CE2.data.features)return!1;for(let t=0,i=CE2.data.features;te.id===CE2.w.CE_SITE_ID))):s&&(CE2.sites=s,CE2.site=t=(0,r.DQ)(s));const d=function(){try{CE2.Native.localStorage.setItem("ce_localstorage_test",""),CE2.Native.localStorage.removeItem("ce_localstorage_test","")}catch(e){return"localStorage not available"}return!!(0,r.uh)("_ce.cch")||"cookies not available"}();if(!0!==d)return void Tt(`Not tracking: can't run - ${d}`);if(CE2.hudMain&&CE2.hudMain(),CE2.bot)return void Tt(`Not tracking: bot detected - ${CE2.bot}`);if((0,r.LB)(CE2.w,CE2.d,CE2.n,CE2.ie))return void Tt("Not tracking: doNotTrack detected.");if(yt(),t){(0,r.ch)(CE2.w,"pageshow",(e=>{e.persisted&&(delete CE2.monitorPagePath,delete CE2.monitorPageUrl)})),!CE2.data.sites_sampling&&CE2.data.samplingData&&CE2.data.samplingData.sites_sampling&&(CE2.data.sites_sampling=CE2.Native.JSON.parse(Ye(CE2.data.samplingData.sites_sampling)));const e=new Map((i||[]).map((e=>[e.id,e])));if(CE2.testID=CE2.testVersion=null,CE2.tabId=(0,me.vU)(),CE2.visitorTracker=gt(),CE2.visitorTracker.load(),lt.load(),await St(!!t.sessionRecording),CE2.benchmark.stop("navigation|crazyegg|common|usermain"),ee(g,{site:t}),new We(a).blocked(CE2.clock.getIP()))return(0,o.Yz)("[Loading] IP Blocked",CE2.clock.getIP()),void(CE2.ipBlocked=!0);CE2.ipBlocked=!1,It("page-view")&&(CE2.pageViewTracker=new wt),"function"==typeof CE2.initFlowTracking?CE2.flowsMatching=await CE2.initFlowTracking():(0,l.bU)()&&(0,l.UE)(),_t=async function(){try{CE2.benchmark.start("navigation|crazyegg|common|monitor");const s=CE2.w.location.href,a=CE2.w.location.pathname,d=CE2.flowsMatching&&CE2.flowsMatching.map((e=>e.flow?.trackByVariant&&e.variant.variantId))||[],h="string"==typeof CE_SNAPSHOT_NAME&&CE_SNAPSHOT_NAME.trim(),g=function(e){const t={};if(e&&e.length){const{gaData:i,google_optimize:s}=CE2.w;e.forEach((e=>{if(e&&"go"==e.o){const n=(e.u||"").split(".");if(n[1]){const e=i?.[n[0]]?.experiments?.[n[1]]||s?.get?.(n[1]);e&&(t[n[1]]=e)}}}))}return t}(i),E=CE2.clock.getDateUnix();let C=!1,f=CE2.monitorSession,m=(CE2.monitorSnapshotIds?CE2.monitorSnapshotIds.split(","):[]).map((t=>e.get(parseInt(t,10))));const v=m.filter((e=>e&&e.e&&E>=e.e)).sort().map((e=>e.id)).join(",");let w=CE2.monitorGoalIds;if(CE2.monitorPageUrl==s&&CE2.monitorVariantIds==CE2.Native.JSON.stringify(d)&&CE2.monitorGaData==CE2.Native.JSON.stringify(g)&&CE2.monitorCESnapshotName==h&&CE2.monitorExpiredSnapshotIds==v&&!CE2.recordingSettingChanged)return;(0,r.Rc)(),CE2.monitorPagePath!==a&&(C=!0),C&&CE2.pageViewTracker?.trigger({flowsMatching:CE2.flowsMatching}),C&&((0,Q.$K)(),CE2.applyVersion?.()),!C||c||CE2.flowPatchApplied||("function"==typeof CE2.initFlowTracking?CE2.flowsMatching=await CE2.initFlowTracking():(0,l.bU)()&&(0,l.UE)()),CE2.monitorPagePath=a,CE2.monitorPageUrl=s,CE2.monitorVariantIds=CE2.Native.JSON.stringify(d),CE2.monitorGaData=CE2.Native.JSON.stringify(g),CE2.monitorCESnapshotName=h,CE2.monitorExpiredSnapshotIds=v,CE2.logHistoryEnabled=!0,C?(lt.pageChanged(),f=at(t),ee(p,{site:t,session:f})):CE2.recordingSettingChanged&&(f=at(t)),CE2.recordingSettingChanged=!1,i&&i.length?m=function(e,t,i,s,n){(0,o.Yz)("[Snapshots] Matching parameters",{pageUrl:t,ceSnapshotName:i,variantIds:s,gaData:n});const r=[],a=new Set(CE2.scriptCheckMatchingSnapshots),c=CE2.clock.getIP();if(!e||!e.length)return;const d=CE2.clock.getDateUnix();let l=null;for(let o=0;od)?(nt(u,"pending"),CE2.p[u.id]=u):ct(u,t,i,s,n,c)&&(null===l&&(l=u.v),u.v===l?r.push(u):nt(u,`incompatible format version (snapshot: ${u.v}, target:${l})`),a.add(u.id))}return a.size>0&&(CE2.scriptCheckMatchingSnapshots=CE2.Native.Array.from(a)),(0,o.Yz)("[Snapshots] Matching targets",et),et=[],r}(i,s,h,d,g):(0,o.Yz)("[Snapshots] Nothing to match"),m.length>0?((0,o.Yz)("[Snapshots] Matched",m),CE2.scriptCheckSelectedSnapshot=m[0].id,CE2.scriptCheckSelectedSnapshots=m.map((e=>e.id))):i&&i.length&&(0,o.Yz)("[Snapshots] No matches");const _=function(e,t){return e&&t?e.filter((e=>e.site_id===t.id)):((0,o.Yz)("[Goals] Nothing to match"),[])}(n,t)||[];if(_.length&&((0,o.Yz)("[Goals] Matched",_),w=_.sort().map((e=>e.id)).join(",")),CE2.virtualTracker||(CE2.virtualTracker=new L({visitId:CE2.getVisitId(),site:t,session:f,goals:_})),It("v11_session_logs")&&f&&f.isNew()||"undefined"!=typeof CE_SESSION_LOG&&CE_SESSION_LOG){const e=(CE2.state?.logHistory||[]).map((e=>`${f.id}: ${e}`));e.length>0&&(0,u.send)(`${CE2.data.v11_tracking_dest}/logs`,e.join("\n"),{sendBeacon:!0})}CE2.state&&(CE2.state.logHistoryEnabled=!1,CE2.state.logHistory=[]),c=!1;const y=m.map((e=>e.id)).sort().join(",");if(f===CE2.monitorSession&&y===CE2.monitorSnapshotIds&&w===CE2.monitorGoalIds&&CE2.state?.survey===CE2.monitorSurvey&&!C)return;CE2.monitorSession=f,CE2.monitorSnapshotIds=y,CE2.monitorGoalIds=w,CE2.monitorSurvey=CE2.state?.survey,C&&CE2.virtualTracker&&CE2.virtualTracker.update(),f||m.length||_.length?CE2.loadSessionTrackingScript((()=>{!function(e,t,i,s,n){const a={};e&&e.length&&(a.snapshots=e.map((e=>({id:e.id,version:e.v})))),i&&(a.session=i.id||i),n&&(a.goals=n.map((e=>e.id)));const c=(e||[]).filter((e=>(0,r._3)(e)));if(c.length&&(CE2.testID=c.map((e=>e.id)),CE2.testVersion=c.map((e=>e.v))),CE2.tracker){if(CE2.tracker.visitor&&(a.visitor=CE2.tracker.visitor.getId()),!CE2.tracker.session||i)return(0,o.Yz)("[Loading] Updating Tracker",a),void CE2.tracker.update(c,i,s);CE2.resetTracker()}c.length||i||n?(CE2.tracker=new CE2.V11Tracker({version:CE2.VERSION,visitId:CE2.getVisitId(),snapshots:c,session:i,censoredElements:CE2.getCensoredElements(t),site:t,goals:n}),a.visitor=CE2.tracker.visitor.getId(),(0,o.Yz)("[Tracker] Starting",a)):(0,o.Yz)("[Tracker] Not started",a)}(m,t,f,C,_)})):CE2.tracker&&CE2.resetTracker(),CE2.benchmark.stop("navigation|crazyegg|common|monitor"),CE2.benchmark.stop("navigation|crazyegg|common"),CE2.benchmark.stop("navigation|crazyegg"),CE2.benchmark.stop("navigation"),CE2.benchmark.autoReport()&&setTimeout((()=>CE2.benchmark.report()),5e3)}catch(e){(0,o.Yz)(e)}},await async function(){(0,o.Yz)("[Loading] Starting Monitor"),_t&&!Oe()&&(await _t(),setInterval(_t,1e3))}()}else Tt("No site match.")}catch(e){(0,o.Yz)(e)}finally{yt()}},Nt=async function(){CE2.visitorTracker=gt(),CE2.visitorTracker.load(),lt.load(),yt(),CE2.site={id:1,name:(0,r.R2)()},await St(),CE2.loadSessionTrackingScript((()=>{(0,o.Yz)("[Tracker] Starting Test Mode"),CE2.tracker=new CE2.V11Tracker({version:CE2.VERSION,visitId:CE2.getVisitId(),snapshots:[{id:"testsnapshot"}],session:$.T.build(),censoredElements:[]}),CE2.tracker.testMode=!0,ee(E,{site:CE2.site,session:CE2.tracker.session})}))},Rt=async function(){CE2.benchmark.start("navigation|crazyegg|common|userdatamain"),CE2.visitId=(0,me.M4)(0,1),CE2.bot=Oe(),(0,r.ou)()?Nt():CE2.commonScriptForceLoaded?(Re(),await St(),ee(g)):CE2.data?kt((()=>{CE2.benchmark.stop("navigation|crazyegg|common|userdatamain"),bt()})):CE2.data||"string"!=typeof CE_USER_DATA_URL?(0,o.Yz)("No CE2.data nor CE_USER_DATA_URL found, stopping."):((0,o.Yz)(`No CE2.data, loading user data for CE_USER_DATA_URL=${CE_USER_DATA_URL}.`),(0,u.get)(CE_USER_DATA_URL,(e=>{CE2.data=CE2.Native.JSON.parse(e.responseText),CE2.userDataToJs&&CE2.userDataToJs(CE2.data),kt((()=>{CE2.benchmark.stop("navigation|crazyegg|common|userdatamain"),bt()}))})))};CE2.resetTracker=function(){CE2.testID=CE2.testVersion=CE2.scriptCheckMatchingSnapshots=CE2.scriptCheckSelectedSnapshot=CE2.scriptCheckSelectedSnapshots=null,CE2.tracker&&(CE2.tracker.cleanup(),delete CE2.tracker,(0,o.Yz)("[Tracker] Reset"))};const Dt=function(e,t=null){e&&(t&&(e.fingerprint=t),CE2.tracker&&CE2.tracker.notifyError(e))};class At{constructor(e){this.callback=e||(()=>{}),this.onMouseMove=this.mouseMove.bind(this),this.onScroll=this.scroll.bind(this),this.exited=!1;const t=CE2.clock.getDeviceType();t===ve.p.typeMap.desktop?(0,r.ch)(CE2.w,"mousemove",this.onMouseMove):t===ve.p.typeMap.phone&&(this.prevScroll=CE2.w.scrollY||CE2.d.documentElement.scrollTop||CE2.d.body.scrollTop,(0,r.ch)(CE2.w,"scroll",this.onScroll))}mouseMove(e){e.clientY<=20&&this.onExit(),this.hoveredElement!==e.target&&clearTimeout(this.hoverTimout),this.hoveredElement=e.target;const t=e.target.closest("a");if(t&&t.href){const e=new URL(t.href,CE2.d.baseURI),i=(0,r.R2)().substr(1);new RegExp(`${i}$`,"i").test(e.hostname)||(this.hoverTimout=setTimeout((()=>{this.onExit()}),100))}}scroll(){const e=CE2.w.scrollY||CE2.d.documentElement.scrollTop||CE2.d.body.scrollTop;this.prevScroll-e>100&&this.onExit(),this.prevScroll=e}onExit(){this.destroy(),this.exited||(this.exited=!0,this.callback())}destroy(){(0,r.pQ)(CE2.w,"mousemove",this.onMouseMove),(0,r.pQ)(CE2.w,"scroll",this.onScroll),clearTimeout(this.hoverTimout)}}function Ot(e){if("function"==typeof e)try{e()}catch(e){(0,o.Yz)("CE_API error:"),(0,Ce.A)(e)}}function $t(e){let t;for(CE2.Native.Array.isArray(e)||(e=[]),e.push=function(e){Ot(e)};t=e.shift();)Ot(t);return e}var xt=i(1807),Ut=i(2080);function Mt(e){CE2.tracker.addToCart(e)}function Pt(){CE2.tracker.startCheckout()}function Lt(e){CE2.tracker.checkoutCompleted(e)}const Vt=CE2.Native.URL,{JSON:zt}=CE2.Native},7022:()=>{!function(e){var t=e.CE2BH={};function i(){return t.extends=i=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(n[i]=e[i]);return n}}("undefined"==typeof window?self:window)},401:(e,t,i)=>{"use strict";i.d(t,{F:()=>n});var s=i(8922);const n=i.n(s)()},2759:(e,t,i)=>{"use strict";i.d(t,{O:()=>r});const s=function(){let e;const t=void 0!==i.g&&(i.g.crypto||i.g.msCrypto);if(t&&t.getRandomValues){const i=new Uint8Array(16);e=function(){return t.getRandomValues(i),i}}if(!e){const t=new CE2.Native.Array(16);e=function(){for(let e,i=0;i<16;i++)3&i||(e=4294967296*Math.random()),t[i]=e>>>((3&i)<<3)&255;return t}}return e}(),n=function(){const e=[];for(let t=0;t<256;++t)e[t]=(t+256).toString(16).substr(1);return function(t,i){let s=i||0;const n=e;return n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+"-"+n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]+n[t[s++]]}}(),r=(o=s(),a=[1|o[0],o[1],o[2],o[3],o[4],o[5]],c=16383&(o[6]<<8|o[7]),d=0,l=0,function(e,t,i){var s=t&&i||0,r=t||[],o=void 0!==(e=e||{}).clockseq?e.clockseq:c,u=void 0!==e.msecs?e.msecs:(new Date).getTime(),h=void 0!==e.nsecs?e.nsecs:l+1,g=u-d+(h-l)/1e4;if(g<0&&void 0===e.clockseq&&(o=o+1&16383),(g<0||u>d)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");d=u,l=h,c=o;var E=(1e4*(268435455&(u+=122192928e5))+h)%4294967296;r[s++]=E>>>24&255,r[s++]=E>>>16&255,r[s++]=E>>>8&255,r[s++]=255&E;var p=u/4294967296*1e4&268435455;r[s++]=p>>>8&255,r[s++]=255&p,r[s++]=p>>>24&15|16,r[s++]=p>>>16&255,r[s++]=o>>>8|128,r[s++]=255&o;for(var C=e.node||a,f=0;f<6;++f)r[s+f]=C[f];return t||n(r)});var o,a,c,d,l},2484:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>o,Fi:()=>a,UE:()=>d,bU:()=>c});var s=i(3201),n=i(3380);class r extends s.v{}const o=new r,a=()=>{const e=document.location.hash.match(/#ce-abtest-(.+)/);if(!e||!e[1])return;const t=e[1].split("."),[i,s,n]=t;return[i,s,n,t.slice(3).join(".")||null]},c=()=>!!a(),d=()=>{CE2.loadScript(CE2.data.transformations_script_url,(()=>{(0,n.Yz)("[Flows] [Preview] transformations.js chunk is loaded. Run AB test preview"),CE2.initAbTestPreview()}))}},8e3:(e,t,i)=>{"use strict";i.d(t,{i:()=>n});var s=i(2886);const n={CK:"_ce.s",LAST_COOKIE_WRITE_KEY:"lcw",LAST_COOKIE_WRITE_THRESHOLD:3e5,saveTimeout:null,canSave:"undefined"==typeof CE_NO_COOKIES||!CE_NO_COOKIES,expiresIn:"number"==typeof CE_COOKIE_EXPIRE_DAYS?CE_COOKIE_EXPIRE_DAYS:365,load(){let e,t,i=CE2.getCookie(this.CK);const s={};if(!i)return s;for(i=i.replace(/\\~/g,"\0").split("~"),e=0;t=i[e];e+=2)s[t.replace(/\x00/g,"~")]=i[e+1].replace(/\x00/g,"~");return s},getCookieRawValue(e){const t=[];return(0,s.__)(e,((e,i)=>{t.push(i.replace("~","\\~")),t.push(e.replace("~","\\~"))})),t.push(`${this.LAST_COOKIE_WRITE_KEY}~${+new Date}`),t.join("~")},save(e){this.canSave&&(0,s.o)(this.CK,this.getCookieRawValue(e),{expiresInDays:this.expiresIn})},get(e){return this.load()[e]},set(e,t){const i=this.load(),s=`${t}`;let n=!1;const r=parseInt(i[this.LAST_COOKIE_WRITE_KEY],10);r&&+new Date-r>this.LAST_COOKIE_WRITE_THRESHOLD&&(n=!0),(i[e]!==s||n)&&(i[e]=s,this.save(i))},del(e){const t=this.load();delete t[e],this.save(t)}}},3380:(e,t,i)=>{"use strict";i.d(t,{$J:()=>d,$Q:()=>r,Yz:()=>a,aE:()=>l,aQ:()=>o,cC:()=>c,dK:()=>n});const s=function(e){if(!CE2.data||!CE2.data.features)return!1;for(let t=0,i=CE2.data.features;t{const e=CE2.data&&CE2.data.dkey;return!!(e&&CE2.w&&CE2.w.location.href.indexOf(`ced=${e}`)>-1)||(!!s("remote-logs")||"undefined"!=typeof CE_DEBUG&&CE_DEBUG)},r=()=>"undefined"!=typeof CE_DEBUG&&CE_DEBUG>=2,o=(e,t)=>{CE2.n.sendBeacon&&CE2.n.sendBeacon(CE2.data.v11_tracking_dest.replace("v11","debug"),CE2.Native.JSON.stringify({siteId:CE2.site?.id,userId:CE2.data.uid,type:e,data:CE2BH.extends({version:CE2.VERSION},t)}))},a=(e,t)=>{if(CE2.state.logHistoryEnabled&&CE2.state.logHistory.push(e),s("remote-logs")){const i=t?CE2.Native.JSON.stringify(t).substring(0,120):"";o("logs",{visitorId:CE2.visitorTracker?.getId(),visitId:CE2.getVisitId&&CE2.getVisitId(),sessionId:CE2.getSessionId&&CE2.getSessionId(),ts:+new Date,msg:e,obj:i})}if(!n())return!1;let i;i="string"==typeof e?`CE: ${e}`:e;const r=[i];if(t&&r.push(t),"undefined"!=typeof window){const{console:e}=CE2.Native;e&&e.log&&e.log(...r)}},c=(e,t)=>{if(!r())return!1;a(e,t)},d=function(){return void 0!==CE2.w.CE_BENCHMARK&&CE2.w.CE_BENCHMARK||(CE2&&CE2.w&&CE2.w.location.href.indexOf("ceb=#{data[:dkey]}"))>-1},l={autoReport:()=>void 0!==CE2.w.CE_BENCHMARK&&CE2.w.CE_BENCHMARK||window.location.href.indexOf("ceb=#{data[:dkey]}")>-1,start:(e,t=[])=>{if(CE2.benchmark.stopped)return;CE2.benchmarks.find((t=>t.name===e))||CE2.benchmarks.push({name:e,tags:t,startedAt:new Date})},stop:e=>{if(CE2.benchmark.stopped)return;const t=CE2.benchmarks.find((t=>t.name===e));t&&!t.diff&&(t.diff=+new Date-+t.startedAt)},report:()=>{const e=["CE: [Benchmark]",""];for(let t=0,i=CE2.benchmarks;t{"use strict";i.d(t,{D:()=>n,p:()=>s});const s={types:{desktop:{name:"desktop",fullName:"Desktop",code:1,display:{width:1280,height:800},viewport:{width:1280,height:800},userAgent:null},phone:{name:"phone",fullName:"Phone",code:2,display:{width:320,height:480},viewport:{width:980,height:1091},userAgent:"Mozilla/5.0 (Android 7.0; Mobile; rv:60.0) Gecko/60.0 Firefox/60.0"},tablet:{name:"tablet",fullName:"Tablet",code:3,display:{width:800,height:1280},viewport:{width:980,height:1568},userAgent:"Mozilla/5.0 (Android 7.0; Tablet; rv:60.0) Gecko/60.0 Firefox/60.0"}},codeMap:{1:"desktop",2:"phone",3:"tablet"},typeMap:{desktop:1,phone:2,tablet:3}},n=function(e){return(CE2.Native.Array.isArray(e)?e:[e]).map((e=>s.typeMap[e])).includes(CE2.clock.getDeviceType())}},7866:(e,t,i)=>{"use strict";i.d(t,{M4:()=>n,T:()=>s,vU:()=>o});const s=function(){const e=navigator.userAgent;CE2.opera=CE2.ie=CE2.chrome=CE2.safari=CE2.firefox=!1;let t="unknown";return CE2.w&&CE2.w.opera&&"function"==typeof CE2.w.opera.version?(t="opera",CE2.opera=!0,CE2.operaVersion=parseInt(CE2.w.opera.version(),10)):/\bMSIE\b/.test(e)?(t="ie",CE2.ie=!0,CE2.ieVersion=parseInt(/MSIE (\d+)\.\d+/.exec(navigator.userAgent)[1],10),CE2.ieQuirksMode="BackCompat"==document.compatMode):/\b(iPhone|iP[ao]d)\b/.test(e)?(t="iphone",CE2.iphone=!0,CE2.webkit=!0,/AppleWebKit/.test(navigator.appVersion)&&(t="safari",CE2.safari=!0)):/\bChrome\b/.test(e)?(t="chrome",CE2.chrome=!0,CE2.webkit=!0):/AppleWebKit/.test(navigator.appVersion)?(t="safari",CE2.safari=!0,CE2.webkit=!0):/Mozilla/i.test(e)&&!/compatible|webkit/i.test(e)&&(t="firefox",CE2.firefox=!0),CE2.webkit&&(CE2.webkitVersion=parseInt(/AppleWebKit\/(\d+)/.exec(e)[1],10)),t}(),n=function(e,t){const{crypto:i}=CE2.w,s="function"==typeof CE2.w.btoa&&CE2.w.btoa;let n,r,o,a="";if(e=e||20,i&&i.getRandomValues){const t=new Uint8Array(e);i.getRandomValues(t),n=CE2.Native.Array.from(t)}else for(n=new CE2.Native.Array(e),r=0;rString.fromCharCode(e))).join(""),s(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"");for(r=0;r{"use strict";i.d(t,{v:()=>n});const s=()=>({events:{},emit(e,...t){const i=this.events[e]||[];for(let e=0,{length:s}=i;e{this.events[e]=this.events[e]?.filter((e=>t!==e))}}});class n{constructor(){this.emitter=s()}on(...e){return this.emitter.on(...e)}once(e,t){const i=this.on(e,(async(...e)=>(i(),t(...e))))}emit(...e){return this.emitter.emit(...e)}}},4808:(e,t,i)=>{"use strict";i.d(t,{A:()=>o,o:()=>r});var s=i(3380),n=i(1509);const r=function(){const e={};return e.sendError=function(e){try{if(CE2.data&&CE2.data.error_tracking){const t={url:window.location.href,error:e.type,error_name:e.name,filename:e.filename};e.message&&(t.error_description=e.message.toString()),e.error&&e.error.stack&&(t.stack=e.error.stack.toString()),(0,n.send)(`${CE2.data.error_tracking_dest}?u=${encodeURIComponent(CE2.data.uid)}`,CE2.Native.JSON.stringify(t),{sendBeacon:!0})}}catch(e){}},e.listen=function(){if(!CE2.data.error_tracking_dest||!CE2.data||!CE2.data.uid)return;const e=CE2.data.error_tracking_script_url;window.addEventListener("error",(t=>{try{if((0,s.Yz)(`Error Tacking: Error Event '${t}'`),!t.filename)return;(0,s.Yz)(`Error Tacking: Error filename '${t.filename}'`),t.filename.includes(e)&&this.sendError(t)}catch(e){}}))},e}(),o=e=>{(e instanceof Error||e instanceof TypeError)&&((0,s.Yz)(e),r&&r.sendError&&r.sendError(e))}},1807:(e,t,i)=>{"use strict";i.d(t,{D8:()=>o,Qj:()=>a,W2:()=>r,lD:()=>c});var s=i(8e3);const n="flvl",r=(e,t)=>{const i=s.i.get(n)||"";i.includes(e)||s.i.set(n,`${i},${e}:${t}`)},o=()=>{s.i.del(n)},a=()=>(s.i.get(n)||"").split(",").flatMap((e=>{const[t,i]=e.split(":");return t&&CE2.data.flows?.[t]?{id:t,name:CE2.data.flows?.[t]?.name,variantId:i}:[]})),c=()=>{const e=a();return e.length?e[e.length-1]:null}},7777:(e,t,i)=>{"use strict";i.d(t,{f:()=>n});const s={};!function(e){function t(){if(!(this instanceof t))return new t;this.boundary=`------RWWorkerFormDataBoundary${Math.random().toString(36)}`;const e=this.data=[];this.__append=function(t){let i,s=0;if("string"==typeof t)for(i=t.length;s{"use strict";i.d(t,{A:()=>r});var s=i(3201);class n extends s.v{}const r=new n},1509:(e,t,i)=>{"use strict";i.r(t),i.d(t,{descriptiveEventType:()=>l,get:()=>u,send:()=>h,sendCounter:()=>E,sendEvents:()=>p,sendForm:()=>g});var s=i(7777),n=i(3380),r=i(2886),o=i(2559);"undefined"==typeof CE2&&(self.CE2={}),void 0===CE2.state&&(CE2.state={});const{state:a}=CE2;let c,d;a.testModeRequests=[];const l=e=>{if(!CE2.eventTypes)return`event_type=${e}`;if(!c){c={},d=null;for(let e=0,t=Object.keys(CE2.eventTypes);ed.length)&&(d=i)}}let t=c[e];const i=d.length-t.length;for(let e=0;e{const s=CE2.getNativeXMLHttpRequest();s.onreadystatechange=function(){4==s.readyState&&t(s)},s.open("GET",e,!0),i&&(s.responseType=i),s.send()},h=(e,t,i={})=>{if((0,r.ou)())return a.testModeRequests.push({url:e,data:t,options:i}),void(i.callback&&i.callback({responseText:""}));const o=i.sendBeacon&&CE2.n&&CE2.n.sendBeacon;let c=i.contentType||"text/plain";if(o&&CE2.n&&CE2.n.sendBeacon)CE2.n.sendBeacon(e,t),i.callback&&i.callback();else{if("undefined"==typeof XMLHttpRequest)return void(0,n.Yz)("XMLHttpRequest not supported");i.retries||(i.retries=0);const r=CE2.getNativeXMLHttpRequest();r.onreadystatechange=function(){if(i.callback&&4==r.readyState){if((!r.status||429===r.status||r.status>=500&&r.status<600)&&i.retry&&i.retries{h(e,t,i)}),1e3);i.callback(r)}},r.open(i.method||"POST",e),t instanceof s.f&&(t.__endedMultipart||t.__append(`--${t.boundary}--\r\n`),t.__endedMultipart=!0,c=`multipart/form-data; boundary=${t.boundary}`,t=new Uint8Array(t.data)),r.setRequestHeader("Content-type",c),r.send(t)}},g=(e,t,i={})=>{h(e,(e=>{let t="";const i=encodeURIComponent;return(0,r.__)(e,((e,s)=>{null!=e&&(0,o.b)(`${e}`)&&(t.length&&(t+="&"),t+=`${i(s)}=${i(e)}`)})),t})(t),CE2BH.extends(i,{contentType:"application/x-www-form-urlencoded"}))},E=(e,t)=>{if(!e||!t)return;const i={metric:e,id:t},s=CE2.data.counters_dest;h(s,CE2.Native.JSON.stringify(i),{contentType:"application/json"})},p=(e,t)=>{try{const i=[];i.push(`u=${encodeURIComponent(e.userId)}`),i.push(`st=${encodeURIComponent(e.siteId)}`),e.snapshotIds&&i.push(`s=${encodeURIComponent(e.snapshotIds.join(","))}`),e.flow&&i.push(`f=${encodeURIComponent(e.flow)}`),e.sessionId&&i.push(`ss=${encodeURIComponent(e.sessionId)}`),e.pageFingerprintMd5&&i.push(`p=${encodeURIComponent(e.pageFingerprintMd5)}`),e.goalId&&i.push(`g=${encodeURIComponent(e.goalId)}`),e.abTestId&&i.push(`ab=${encodeURIComponent(e.abTestId)}`),e.t&&i.push(`t=${e.t}`),CE2.data.tracking_key&&i.push(`tk=${encodeURIComponent(CE2.data.tracking_key)}`);const s=[];for(let i=0;i{"use strict";i.d(t,{MH:()=>ne,mF:()=>oe,$K:()=>ie});const s="all",n="any",r="greater_than",o="less_than",a="equals",c="at_least",d="at_most",l="and",u={matchUrl:"matchUrl",matcher:"matcher",debug:"debug",browserAPI:"browserAPI"},h="new_or_returning",g="referrer",E="landing_page",p="visited_page",C="browser",f="device",m="country",v="os",w="screen_width",_="screen_height",y="pages_viewed",S="duration",I="var1",T="var2",k="var3",b="var4",N="var5",R="profile",D="tags",A="day_of_week",O="utm_source",$="utm_medium",x="utm_campaign",U="utm_term",M="utm_content",P="goal_code",L="click",V="form_submission",z="pixel_event",B={desktop:"desktop",tablet:"tablet",phone:"phone"},H="minutes";const Y=[L,V,z];class j{constructor({state:e,providers:t}){this.providers=t,this.state={},this.reset(e),this.matcher=t.matcher(this.state,t)}reset(e={}){CE2BH.extends(this.state,CE2BH.extends({},{[h]:null,[g]:null,[E]:null,[p]:null,[C]:null,[f]:null,[m]:null,[w]:0,[_]:0,[y]:0,[S]:0,[I]:null,[T]:null,[k]:null,[b]:null,[N]:null,[R]:{},[D]:[],[A]:(new Date).getDay(),[O]:null,[$]:null,[x]:null,[U]:null,[M]:null,[P]:null,[L]:[],[V]:[],[z]:[]},j.cleanup(e))),this.debug("reset state",this.state)}static cleanup(e){const t={};if(!e)return t;for(let i=0,s=Object.keys(e);i{e.conditions.forEach(((o,a)=>{if(o.criteria!==t)return!1;const c=function(e,t){const i=e?t.find((t=>t.sync_selectors||t[`selector_for_${e}`])):null;if(!i)return null;if(t.sync_selectors)return Object.values(B).map((e=>t[`selector_for_${e}`])).find((e=>!!e))||null;return i[`selector_for_${e}`]||null}(this.state[f],o.value);if(!c)return!1;const d=i.target||i.srcElement;if(s.matchesSelector(d,c,!0)){if(!function(e,t,i){const s=e.target||e.srcElement;if(t.criteria!==V||"FORM"!==e.type)return!0;for(let e=0,n=t.value;e{e.conditions.forEach(((t,s)=>{t.value.find((e=>e.api===i.api&&(("string"!=typeof e.id||e.id.replace(/^(G|AW)-/,"")===i.id)&&("string"!=typeof e.event||e.event.toLowerCase()===i.type.toLowerCase()))))&&(this.state[t.criteria][s]=!0,r=this.match(e),this.state[t.criteria][s]=!1)}))}};return a[t]?.call(this),r}update(e){for(let t=0,i=Object.entries(e);t{const n=this.evaluate(e,t);return n&&i.push(e),n||s.push(e),n}));return l===t?n.every((e=>!0===e)):n.some((e=>!0===e))}evaluate(e,t){if(e.operator&&Array.isArray(e.conditions))return this.isMatched(e.conditions,e.operator);if(!e.value)return!1;const i=this.providers[u.matchUrl];switch(e.criteria){case h:case C:case f:case m:case v:case A:case D:case I:case T:case k:case b:case N:case O:case $:case x:case U:case M:case P:const l=Array.isArray(e.value)?e.value:[e.value];if(e.comparison===s){const t=Array.isArray(this.state[e.criteria])?this.state[e.criteria]:[this.state[e.criteria]];return JSON.stringify(l.sort())===JSON.stringify(t.sort())}const u=l.includes(this.state[e.criteria]);return e.comparison===n?!0===u:!1===u;case S:const{count:R,unit:B}=e.value;let Y=R;return B===H&&(Y=60*R),e.comparison===c?Y<=this.state[e.criteria]:e.comparison===d?Y>=this.state[e.criteria]:e.comparison===r?Ythis.state[e.criteria];case w:case _:case y:return e.comparison===a?e.value===this.state[e.criteria]:e.comparison===r?e.valuethis.state[e.criteria];case p:case E:case g:const j=e.value.map((t=>i(t,this.state[e.criteria])));return e.comparison===n?j.includes(!0):j.every((e=>!1===e));case L:case V:case z:return!!this.state[e.criteria]?.length&&!0===this.state[e.criteria][t]}}debug(...e){this.providers.debug(...e)}}function K(e){const t=e.filter((e=>"object"!=typeof e)),i=e.filter((e=>"object"==typeof e));console.log("CE: [SegmentTracker]",t.join(" "),...i,"\n")}function F(){return{[u.debug]:(...e)=>{window.CE_DEBUG&&K(e)},[u.matchUrl]:()=>!1,[u.matcher]:(...e)=>new G(...e),[u.browserAPI]:{matchesSelector(e,t,i){let s=t;return i&&(s+=`,${t} *`),e.matches(s)}}}}var W=i(2886),q=i(6149),J=i(3380);const Q="segment",X="segment-no-op",Z="~";let ee;function te(){const{clock:e}=CE2,{visitorTracker:t}=CE2,i=new URL(window.location.href).searchParams,{landingUrl:s,userData:n,utm:r}=t.getFirstVisitData()||{},o=window.innerWidth||window.screen.availWidth,a=window.innerHeight||window.screen.availHeight;return{device:{1:"desktop",2:"phone",3:"tablet"}[e.getDeviceType()],visited_page:window.location.href,referrer:document.referrer,new_or_returning:t.returningState().state,landing_page:s,screen_width:o,screen_height:a,pages_viewed:0,duration:0,var1:n[0],var2:n[1],var3:n[2],var4:n[3],var5:n[4],profile:{},tags:CE2.sessionTags||[],day_of_week:(new Date).getDay(),utm_source:r?.utm_source,utm_medium:r?.utm_medium,utm_campaign:r.utm_campaign,utm_term:r?.utm_term,utm_content:r?.utm_content,goal_code:i.get("code"),browser:e.getBrowser(),country:e.getCountry()}}function ie(){ee&&ee.reset(te())}function se(){return function({state:e,segments:t,providers:i}){return new j({state:e,segments:t,providers:CE2BH.extends({},F(),i)})}({state:te(),providers:{matchUrl({url:e,flags:t},i){let s=t?t.join():"";return e[0]===Z?(e=e.substring(0),s+="r"):e.includes("*")&&(s+="*"),(0,q.$)(e.toLowerCase(),i,s)},debug(){}}})}function ne(){return ee||(ee=se())}function re({resourceType:e,resourceId:t,eventName:i,event:s}){if(!e||!t)return!1;const n=(CE2.data.segments||[]).filter((i=>(i.resources||[]).find((i=>i.resource_type===e&&String(i.resource_id)===String(t))))),r=[];for(let e=0;e0}function oe({resourceType:e,resourceId:t,eventName:i,event:s},n){if(ne().update({visited_page:window.location.href}),(0,W.jI)(Q))return re({resourceType:e,resourceId:t,eventName:i,event:s});if((0,W.jI)(X)){const r=re({resourceType:e,resourceId:t,eventName:i,event:s}),o=n();return r!==o&&(0,J.aQ)(X,{url:window.location.href,stateUrl:ne().state.visited_page,resourceType:e,resourceId:t,eventName:i,segmentMatched:`${r}`}),o}return n()}},2559:(e,t,i)=>{"use strict";i.d(t,{b:()=>n,re:()=>s});const s=function(){const e="[\\s\\u00a0\\u2028\\u2029]+";return{whitespace:new RegExp(e,"g"),strip:new RegExp(`^${e}|${e}$`,"g"),href:/\bhref="(.*?)"/i,ipHost:/^([\d\.]+|\[[a-f\d:]+\])$/i}}(),n=(e,t)=>{const i=e.replace(s.strip,"");return t?i.replace(s.whitespace," "):i}},8773:(e,t,i)=>{"use strict";i.d(t,{j:()=>n});var s=i(2886);const n=function(e){if(this.src=e,this.protocol=this.host=this.port=this.path=this.qs=this.hash=this.query=null,e){const t=typeof e;"string"==t?this.initWithString(e):"object"==t&&this.initWithURI(e)}};n.pattern=/^\s*([\S]+?:\/\/)?([^\s\/]+?@)?([^:\/\?\#]+)?(\:\d+)?(\/?[^#\?\s]*)?([\?][^#\s]*)?([#]\S+)?/i,n.prototype={initWithString(e){const t=n.pattern.exec(e),[i,r,o,a,c,d,l,u]=t;var h;r||"/"==e.charAt(0)||a&&!("string"!=typeof(h=a)||-1===h.indexOf(".")&&"localhost"!==h||(h=new URL(`http://${h}`).hostname,!/^[a-zA-Z0-9-.]{1,253}\.?$/g.test(h)||(h.endsWith(".")&&(h=h.slice(0,h.length-1)),h.length>253||!h.split(".").every((e=>/^([a-zA-Z0-9-]+)$/g.test(e)&&e.length<64&&!e.startsWith("-")&&!e.endsWith("-"))))))?(r&&(this.protocol=r.substr(0,r.indexOf(":"))),this.host=a||null,c&&(this.port=Number(c.substr(1))),d?this.path=(0,s.x4)(d):this.host&&(this.path="/")):this.path=(0,s.x4)((a||"")+(d||"")),l&&(this.qs=(0,s.q5)(l.substr(1)),this.query=l.substr(1)),u&&(this.hash=(0,s.x4)(u.substr(1)))},initWithURI(e){(0,s.__)(e,(function(e,t){this[t]=e}),this)},isAbsolute(){return this.isURL()||this.path&&"/"==this.path.charAt(0)},isURL(){return this.protocol&&this.host},getDomain(){return this.host&&this.host.replace(/^(www|m)\./,"")},getHost(){return this.host+(this.port?`:${this.port}`:"")},getOrigin(){return`${this.protocol}://${this.getHost()}`},getFullUrl(){const e=this.query?`?${this.query}`:"";return`${this.getOrigin()}${this.path}${e}`},join(e){const t=new n(this);let{path:i}=this;return"string"==typeof e&&(e=new n(e)),e.isURL()?new n(e):(e.isAbsolute()?i=e.path:i?(i=i.split("/"),i.pop(),i=e.path?i.concat(e.path.split("/")):i,i=i.join("/")):i=this.isURL()?`/${e.path}`:e.path,t.path=i,t.qs=e.qs,t.hash=e.hash,t)},normalize(){if(!this.path)return;let e;CE2.ie&&CE2.ieVersion<9?(e=[],"/"==this.path.charAt(0)&&e.push(""),e=e.concat(this.path.split(/\/+/g)),"/"==this.path.charAt(this.path.length-1)&&e.push("")):e=this.path.split(/\/+/g);let t,i=0;do{if(t=e.length-1,".."==e[i+1])""==e[i]&&0==i?e.splice(i+1,1):(e.splice(i,2),i-=1);else if("."==e[i]){if(0==t)break;e.splice(i,1)}else i++}while(i<=t);this.path=e.join("/")},simplify(e){let t;const i=[];if(t="file"==this.protocol?this:CE2.ie?e?e.join(this):this:(e=e||new n(CE2.d.baseURI)).join(this),t.normalize(),t.host&&i.push(t.host.replace(/^(www|m)\./,"")),null!=t.port&&i.push(`:${t.port}`),"/"==t.path||/^\/(default|home|index)\b[^\/]*$/i.test(t.path)?(t.qs||t.hash)&&i.push("/"):i.push(t.path),t.qs){const e=[];(0,s.__)(t.qs,((t,i)=>{t&&!/(^sess|^sid$|^phpsessid$|^jsessionid$|^__VIEWSTATE$)/i.test(i)&&e.push(`${encodeURIComponent(i)}=${encodeURIComponent(t)}`)})),e.length&&i.push(`?${e.join("&")}`)}return t.hash&&i.push(`#${t.hash}`),i.join("")},sameOrigin(e){return!!e&&("string"==typeof e&&(e=new n(e)),null==e.host||e.host==this.host&&e.port==this.port&&e.protocol==this.protocol)}}},6149:(e,t,i)=>{"use strict";i.d(t,{$:()=>a,e:()=>c});var s=i(2886),n=i(8773),r=i(4808);const o=function(e,t,i=!1){e&&e(t,i)},a=function(e,t,i,a,c,d){const{stringify:l}=CE2.Native.JSON,u=/(default|index)($|\..*)/i;let h,g,E,p,C,f,m,v=!1;if(""===e&&""===t)return!0;if(!e||!t)return!1;if(a&&a.indexOf(CE2.clock.getDeviceType())<0)return o(d,`device=${CE2.clock.getDeviceType()} allowed=${l(a)}`,m),!1;if(/n/.test(i=i||""))return m=e.trim()===t.trim(),o(d,`name=${t} allowed=${e}`,m),m;if(/go/.test(i)){const i=e.split(".");return m=t&&t[i[1]]==i[2],o(d,`googleOptimize=${l(t)} allowed=${l(e)}`,m),m}if(/\*/.test(i))try{let i;const s=/^https?:\/\/([^\/]+)\//.exec(e);if(s&&s[1]&&!s[1].includes("*")){const e=new CE2.Native.URL(t);e.hostname.startsWith("www.")?(e.hostname=e.hostname.replace(/^www\./,""),i=e.href):(e.hostname=`www.${e.hostname}`,i=e.href)}let n=e.replace(/[.+^$?{}()|[\]\\]/g,"\\$&");return n=new RegExp(n.replace(/\*/g,"(.*?)"),"i"),m=n.test(t)||i&&n.test(i),o(d,`url=${t} allowedwildcard=${e}`,m),m}catch(i){return(0,r.A)(i),o(d,`url=${t} allowedwildcard=${e}`),!1}if(/[re]/.test(i))try{return m=RegExp(e,"i").test(t),m||(m=RegExp(e,"i").test(decodeURI(t))),o(d,`url=${t} allowedregex=${e}`,m),m}catch(i){return(0,r.A)(i),o(d,`url=${t} allowedregex=${e}`,i),!1}e=new n.j(e&&e.toLowerCase?e.toLowerCase():e);const w=new n.j(t.toLowerCase());if(/h/.test(i)&&e.protocol!=w.protocol)return o(d,`protocol=${w.protocol} allowed=${e.protocol}`),!1;const{host:_}=w,y=_.replace(/^(www|m)\./,""),S=e.host,I=e.ihost;if(/w/.test(i)&&_!=S&&_!=I)return o(d,`host=${_} allowed=${I||S}`),!1;const T=S.replace(/^(www|m)\./,""),k=I&&I.replace(/^(www|m)\./,"");if(y!=T&&y!=k)return o(d,`host=${_} allowed=${k||T}`),!1;g=e.path?e.path:"/";const{path:b}=w;if(g!=b){if(/\//.test(i))return o(d,`path=${b} allowed=${g}`),!1;for(E=g.split("/"),h=b.split("/"),C=0,f=Math.max(E.length,h.length);C{if(N[t]!==e)return v=!0,!1})),v)return o(d,`querystring=${l(N)} allowed=${l(R)}`),!1;if(p&&((0,s.__)(N,((e,t)=>{if(e!=R[t])return v=!0})),v))return o(d,`querystring=${l(N)} allowed=strict|${l(R)}`),!1;const D=e.hash||"",A=w.hash||"";return p=/#/.test(i),(p||D)&&D!=A?(o(d,`hash=${A} allowed=${D}`),!1):(o(d,`url=${t}`,!0),!0)},c=e=>{let t,i;if(e&&e.length)for(t=0;i=e[t++];)if(a(i.u,CE2.w.location.href,i.o))return!0;return!1}},2886:(e,t,i)=>{"use strict";i.d(t,{Ap:()=>l,B5:()=>A,DQ:()=>b,Ep:()=>T,GE:()=>O,GO:()=>H,I3:()=>N,IS:()=>M,Jl:()=>o.O,KT:()=>g,LB:()=>m,OR:()=>v,Qb:()=>R,R2:()=>_,Rc:()=>L,Ri:()=>w,UO:()=>D,Xe:()=>a,Yj:()=>S,_3:()=>f,__:()=>h,ch:()=>g,ex:()=>U,hZ:()=>p,ib:()=>x,jI:()=>Y,jM:()=>C,ne:()=>z,o:()=>y,oI:()=>B,ou:()=>c,pQ:()=>E,q5:()=>u,uh:()=>I,x4:()=>d});var n=i(2559),r=i(3380),o=i(2759);const a=e=>{if(!e)return;CE2.state.ignoredElements.push(e);const{tracker:t}=CE2;t&&t.ignoredElements.push(e)},c=function(){return"undefined"!=typeof CE_TEST_MODE&&CE_TEST_MODE},d=e=>{try{return decodeURIComponent(e)}catch(t){return CE2.w.unescape(e)}},l=e=>{if(CE2.Native.Array.isArray(e))for(let t=0;t{if(null==e||/^\s*$/.test(e))return null;const i={},s=e.replace(/\+/g," ").split(t||"&");let n,r,o=null,a=null,c=null;const l=Object.getOwnPropertyNames(Object.prototype);for(n=0,r=s.length;n{if(!e)return;let s;if("number"==typeof e.length&&"function"==typeof e.concat)for(let n=0,r=e.length;n{e.addEventListener(t,i,!0)},E=(e,t,i)=>{e.removeEventListener(t,i,!0)},p=(e,t)=>{(e=parseInt(e,10))>=1&&e<=5&&(CE2.state.userData[e]=String(t));const{tracker:i}=CE2;i&&i.sendCustomUserData&&i.sendCustomUserData()},C=(...e)=>{const{tracker:t}=CE2;if(t)return t.click(...e)},f=e=>null==e.r||(!1!==e.r&&!0!==e.r&&(Math.random()>=1/e.r?((0,r.Yz)(`Snapshot ${e.id} not selected due to snapshot sampling: ${e.r}`),e.r=!1):e.r=!0),e.r),m=(e,t,i,s)=>{if(!0===CE2.data.dnt)return!1;if(s&&void 0!==e.external)try{if(!0===e.external.InPrivateFilteringEnabled())return!0}catch(e){}const n=t.doNotTrack||i.doNotTrack||i.msDoNotTrack||e.doNotTrack;return"1"==n||"yes"==n},v=function(){try{return u(document.cookie,/;\s*/g)||{}}catch(e){return{}}},w=function(e){return v()[e]},_=function(){const{w:e}=CE2;if(!CE2.state._tlDomain){const t=CE2.w.location.hostname;if(n.re.ipHost.test(t)||!/\./.test(t))CE2.state._tlDomain=t;else if(e.CE_COOKIE_DOMAIN&&new RegExp(`(^|\\.)${e.CE_COOKIE_DOMAIN.replace(/\./g,"\\.")}$`,"i").test(t))CE2.state._tlDomain=`.${e.CE_COOKIE_DOMAIN}`;else if(CE2.site?.cookieDomain)CE2.state._tlDomain=`.${CE2.site.cookieDomain}`;else{let e;const i=t.split(".");for(e=i.length-1;e>=0;e--){const t=`.${i.slice(e).join(".")}`;if(I("_ce.gtld",t)){CE2.state._tlDomain=t;break}}}}return CE2.state._tlDomain},y=function(e,t,i){i||(i={});const s=encodeURIComponent,n=i.path||"/",r=i.domain||_();let o=null;i.expires?o=i.expires:i.expiresIn?o=new Date((new Date).getTime()+1e3*i.expiresIn):i.expiresInDays&&(o=new Date((new Date).getTime()+86400*i.expiresInDays*1e3)),null==t&&(o=new Date(0),t="");const a=[`${s(e)}=${s(t)}`];a.push(`path=${n}`),CE2.w.parent!==CE2.w&&"https:"===CE2.w.location.protocol?(a.push("SameSite=None"),a.push("Secure")):(a.push("SameSite=Strict"),CE2.data&&CE2.data.use_secure_cookies&&a.push("Secure")),r&&a.push(`domain=${r}`),o&&a.push(`expires=${o.toUTCString()}`),CE2.d.cookie=a.join(";")},S=function(e,t){y(e,null,t)},I=(e,t)=>(y(e,"1",{domain:t}),!!(CE2.d.cookie&&CE2.d.cookie.indexOf&&CE2.d.cookie.indexOf(e)>-1)&&(S(e,{domain:t}),!0)),T=()=>new CE2.URL((()=>{let{referrer:e}=CE2.d;try{!e&&CE2.d.location.ancestorOrigins&&([e]=CE2.d.location.ancestorOrigins)}catch(e){(0,r.Yz)("Referer error",e)}return e})()).getDomain(),k=e=>{const t=CE2.d.createElement("a");return t.href=`http://${e}/`,t.hostname},b=e=>{let t,i;for(i=0;t=e[i++];)if(s=k(t.name),r=CE2.w.location.hostname,n.re.ipHost.test(s)?s===r:r.toLowerCase().endsWith(s.toLowerCase())||r.toLowerCase().endsWith(`.${s.toLowerCase}`))return t;var s,r},N=function(e,t,i=!1){if("undefined"==typeof CE_USER_COMMON_SCRIPT_URL)return void(0,r.Yz)("Inline Worker is not supported: CE_USER_SCRIPT_URL not defined");if("undefined"==typeof CE_USER_THIRDPARTY_SCRIPT_URL)return void(0,r.Yz)("Inline Worker is not supported: CE_USER_THIRDPARTY_SCRIPT_URL not defined");const s=[],n=["CE_DEBUG","CE_TEST_MODE"];for(let e=0;e{}),!0);e?(e.terminate(),CE2.state._inws=!0):CE2.state._inws=!1}catch(e){CE2.state._inws=!1}return CE2.state._inws},D=function(e,t,i=!1){try{return N(e,t,i)}catch(e){(0,r.Yz)(`Inline Worker is not supported: ${e.message}`)}},A=(e,t,i)=>(i&&(t+=`,${t} *`),e.matches(t)),O=function(e){if("undefined"==typeof window)return s[e];try{const t="ce_proto_iframe";let i=document.getElementById(t);return i||(i=document.createElement("iframe"),i.id=t,i.title="CrazyEgg Tracking iframe",i.style.display="none",document.documentElement.appendChild(i)),i.contentWindow[e]}catch(t){return(0,r.Yz)("Clean Prototype error",t),window[e]}},$=function(e){return!!e&&/\{\s+\[native code\]/.test(Function.prototype.toString.call(e))},x=function(e){let t=Object.getOwnPropertyNames(e);for(let i=0,s=t;i{const{tracker:i}=CE2;i&&i.customEvent&&i.customEvent(e,t)},M=e=>CE2.tracker?.[e]||CE2.virtualTracker?.[e];let P;const L=(e=null)=>{P=e||performance.now()},V=["utm_source","utm_medium","utm_term","utm_content","utm_campaign"],z=e=>{let t,i=!1;const s=[];if(t=new CE2.URL(e||window.location.href).qs)for(let e=0;e{"use strict";i.d(t,{A:()=>r});var s=i(7866),n=i(1509);class r{constructor(){this.trackURL=CE2.data.v11_tracking_dest,this.visitor=CE2.visitorTracker,this.visitorID=CE2.visitorTracker.getId(),this.bufferQueue=[],this.bufferQueueTimeout,this.bufferTimeoutInterval=2e3}makeId(){return(0,s.M4)(0,1)}newEvent(e,t={}){const i=t.attributes||[];for(let e=0;e{this.processBuffer({scheduleTimeout:e.scheduleTimeout,sendBeacon:e.sendBeacon})}),this.bufferTimeoutInterval))}}},3487:(e,t,i)=>{"use strict";i.d(t,{CT:()=>o,Gw:()=>a,H$:()=>h,MN:()=>d,ur:()=>u,uw:()=>c});var s=i(1789);const n={intToStr:{},strToInt:{}},r=[],o=e=>"string"==typeof e?e:n&&n.intToStr?n.intToStr[e]:void 0,a=e=>{"number"==typeof e.nid&&"string"==typeof e.id&&(e.nid in n.intToStr||(n.intToStr[e.nid]=e.id,n.strToInt[e.id]=e.nid))},c=(e,t,i)=>s.r.nextGoalConversionValue(e,t,i),d=e=>s.r.setCurrency(e),l=(e,t,i,s)=>{const r="number"==typeof(o=t)?o:n&&n.strToInt?n.strToInt[o]:void 0;var o;"number"==typeof r?e.goalConversion(r,i,s||r):e.codeConversion(t,i)},u=e=>{let t;for(;t=r.shift();)l(e,...t)},h=(e,t,i)=>{CE2.tracker&&CE2.tracker.goals||CE2.virtualTracker?l(CE2.tracker||CE2.virtualTracker,e,t,i):r.push([e,t,i])}},1789:(e,t,i)=>{"use strict";i.d(t,{r:()=>d});var s=i(8856),n=i(8e3);const r="gtrk.cnv",o="gtrk.la",a="gtrk.ngv",c="gtrk.c",d={get:e=>n.i.get(e),set:(e,t)=>n.i.set(e,t),del:e=>n.i.del(e),reset(){this.del(r),this.del(o)},alive(){this.isExpired()&&this.reset(),this.set(o,(+new Date).toString(36))},isExpired(){const e=parseInt(this.get(o),36);return!!e&&new Date-e>18e5},getConvertedIds(){if(this.isExpired())return[];const e=this.get(r);return e?e.split(",").map((e=>parseInt(e,36))).filter((e=>!Number.isNaN(Number(e)))):[]},recordConversion(e){if("number"!=typeof e||Number.isNaN(Number(e)))return;const t=this.getConvertedIds();t.includes(e)||(s.A.emit("complete",{goal:{id:e}}),t.push(e),this.set(r,t.map((e=>e.toString(36))).join(",")))},alreadyConverted(e){return this.getConvertedIds().includes(e)},setCurrency(e){this.set(c,e)},getCurrency(){return this.get(c)},nextGoalConversionValue(e,t,i){let s=this.get(a);s=s?CE2.Native.JSON.parse(s):{};const n=s[e]&&s[e].findIndex((e=>e.triggerId==i));n&&!t?s[e][n].splice(n,1):Number.isInteger(n)&&t?s[e][n]={value:t,triggerId:i}:t&&(s[e]||(s[e]=[]),s[e].push({value:t,triggerId:i})),this.set(a,CE2.Native.JSON.stringify(s))},getNextGoalConversionValue(e,t=null){let i=this.get(a);i=i?CE2.Native.JSON.parse(i):{};let s=i[e]&&i[e].findIndex((e=>e.triggerId==t)),n=i[e]&&i[e][s];n||(s=i[e]&&i[e].findIndex((e=>!e.triggerId)),n=i[e]&&i[e][s]);const r=this.getCurrency();if(n&&!n.value.currency&&r&&(n.value.currency=r),i[e]&&(i[e].splice(s,1),0===i[e].length&&delete i[e]),this.set(a,CE2.Native.JSON.stringify(i)),n)return n.value}}},2080:(e,t,i)=>{"use strict";i.d(t,{O:()=>o,s:()=>r});var s=i(7471),n=i(3380);function r(e){if("string"!=typeof e)return NaN;const t=e.lastIndexOf(","),i=e.lastIndexOf(".");let s,n=e.replace(/[^0-9.,]/g,"");if(t>-1&&i>-1)s=t>i?",":".";else if(t>-1||i>-1){const e=t>-1?",":".",i=n.split(e);2===i.length&&i[1].length<3&&(s=e)}return s?(n=n.replace(new RegExp(`[^0-9\\${s}]`,"g"),""),n=n.replace(new RegExp(`\\${s}`),".")):n=n.replace(/[^0-9]/g,""),parseFloat(n)}class o{constructor(e,t=[]){this.goals=(e||[]).filter((e=>{if(!e.triggers)return!1;for(let t=0,i=e.triggers;t{const s=r(t.innerText);if("number"!=typeof s||Number.isNaN(s))return;const a={worth:s,currency:c};(0,n.Yz)("[Goals] Goal target value detected",{goal:i,trigger:o,original:t.innerText,value:a}),a&&e({type:"goalValue",value:a,goal:i,trigger:o})}))}}}}initMutationObserver(){this.mutationObserver||this.goals.length&&(this.mutationObserver=new MutationObserver(this.onMutation.bind(this)),this.mutationObserver.observe(CE2.d,{subtree:!0,childList:!0,characterData:!0}))}onMutation(e){for(let t=0;t{"use strict";function s(){return CE2.tracker?.session?CE2.tracker:CE2.virtualTracker}function n(e){if(!e)return;CE2.IDENTIFIER=e;const t=s();t?t?.identify(e):CE2.visitorTracker&&CE2.visitorTracker.identify(e)}function r(){CE2.IDENTIFIER=null;const e=s();e?e.clearIdentity():CE2.visitorTracker&&CE2.visitorTracker.clearIdentity()}function o(e,t){const i=s();i?.increaseSessionWorth(e,t)}function a(e,t){const i=s();i?.decreaseSessionWorth(e,t)}function c(e,t){const i=s();i?.setSessionWorth(e,t)}i.d(t,{LG:()=>c,LV:()=>a,SY:()=>r,ls:()=>n,vn:()=>o})},9880:(e,t,i)=>{"use strict";i.d(t,{C:()=>o,w:()=>a});var s=i(3380);const n="v11.fhb",r="v11.lhb",o=function(e){if(CE2.data.sites_sampling)for(let t=0,i=CE2.data.sites_sampling;t-1&&(t=!0),t)return this.debug("CE_ENFORCE_RECORDING applied"),this._setAppliedStrategy("enforced"),!0;const s=CE2.state.overridenRecordingSamplingRate;if(s){this.debug(`Sampling Ratio: enforced to ${s}`);const e=100*Math.random()e)},customSamplingApplies(){if(!this.clock)return!1;const e=CE2.clock.getDate();if(!e)return!1;const t=new Date(1e3*parseInt(this.site.recordingSettings.samplingStartDateUnix,10)),i=new Date(1e3*parseInt(this.site.recordingSettings.samplingEndDateUnix,10)),s=new Date(1e3*parseInt(this.site.recordingSettings.samplingUpdatedAt,10)),n=new Date(1e3*parseInt(this.site.recordingSettings.samplingCompletedAt,10));return!(s&&n&&n>s)&&(t<=e&&e<=i)},customPeriodEnded(){if(!this.clock)return!1;return CE2.clock.getDate()>new Date(1e3*parseInt(this.site.recordingSettings.samplingEndDateUnix,10))},debug(e,t){(0,s.Yz)(`[Sessions] ${e}`,t)},_strategy(){return"custom"===this.site.recordingSettings.samplingStrategy?"custom":"consecutive"===this.site.recordingSettings.samplingStrategy?"consecutive":"no_sampling"===this.site.recordingSettings.samplingStrategy?"no_sampling":"uniform"},_key(){return"custom"===this._strategy()||"consecutive"===this._strategy()?btoa(`${this.site.id}|${this.site.recordingSettings.samplingUpdatedAt}`):"all"}}},4075:(e,t,i)=>{"use strict";i.d(t,{T:()=>g});var s=i(3380),n=i(8e3),r=i(2886);const o="v11.s",a="v11.fs",c="v11.sla",d="v11.send",l="v11.cs",u="v11nv",h="v11r";class g{constructor({siteId:e,id:t,isNew:i,isFull:s,ratio:n,strategy:r}){if(void 0===e||void 0===t||void 0===i||void 0===s)throw new Error("Invalid params");this.id=t,this.siteId=e,this.new=i,this.full=s,this.ratio=n,this.strategy=r}static instance(){if(this.session)return this.session;const e=g.currentSiteId();if(e&&e!=CE2.site?.id)return void g.reset("site-changed");const t=g.currentSessionId();if(!t)return;const i=!!g.currentSessionFull(),s=g.getRatio(),n=g.getStrategy();return this.session=new g({siteId:e,id:t,isNew:!1,isFull:i,ratio:s,strategy:n})}static build(e=!0,t=null,i=null){return this.session=new g({siteId:CE2.site?.id,id:(0,r.Jl)(),isNew:!0,isFull:e,ratio:t,strategy:i})}static reset(e){n.i.del(o),n.i.del(c),n.i.del(d),n.i.del(u),n.i.del(a),n.i.del(l),n.i.del(h),(0,s.Yz)("[Sessions] Resetting",{reason:e})}static currentSiteId(){return n.i.get(l)}static currentSessionId(){return n.i.get(o)}static currentSessionFull(){return n.i.get(a)}static getRatio(){const e=n.i.get(h);return e&&parseInt(e.split(",")[0],10)}static getStrategy(){const e=n.i.get(h);return e&&e.split(",")[1]}get(e){return n.i.get(e)}set(e,t){return n.i.set(e,t)}del(e){return n.i.del(e)}store(){this.id?(this.set(l,this.siteId),this.set(o,this.id),this.full&&this.set(a,1)):(this.del(l),this.del(o),this.del(a)),this.ratio&&this.set(h,[this.ratio,this.strategy].join(",")),this.new=!1}reset(e){g.reset(e),this.id=null}alive(){this.isInactive()||this.set(c,+new Date)}isExpired(){return this.isDeleted()?"isDeleted":this.isEnded()?"isEnded":!!this.isInactive()&&"isInactive"}isInactive(){const e=parseInt(this.get(c),10);if(this.id&&e){if(+new Date-e>18e5)return(0,s.Yz)("[Sessions] isInactive"),!0}return!1}isEnded(){const e=parseInt(this.get(d),10);if(!Number.isNaN(Number(e)))return!!(this.id&&e&&+new Date-e>3e5)||(this.del(d),!1)}isDeleted(){return!this.isNew()&&!this.get(o)}isNew(){return this.new}isFull(){return!this.isDeleted()&&!!this.full}becomeFull(){this.full=!0,this.store()}numberVisits(){return parseInt(this.get(u),10)||0}setNumberVisits(e){return this.set(u,e)}end(e=!1){const t=parseInt(this.get(d),10);!t&&e?this.set(d,1):t||this.set(d,+new Date)}}},6832:(e,t,i)=>{"use strict";i.d(t,{J:()=>g});var s=i(2886),n=i(1509),r=i(8481),o=i(1789),a=i(1807),c=i(3380),d=i(5736),l=i(8e3);function u(){const e=l.i.get("swk");if(e){const[t]=e.split("|");return parseFloat(t)||0}return 0}const h=(e,t)=>(l.i.set("swk",[e,t].join("|")),e);class g extends d.A{constructor(e){super(e);const{visitId:t}=e;this.eventHandlers={},this.virtual=!1,this.url=window.location.href,this.setVisitorIDs(),this.setVisitIDs(t)}setVisitIDs(e){CE2.visitId=this.visitID=e||this.makeId()}setVisitorIDs(){this.visitor.getId()&&this.visitor.getStoredId()&&this.visitor.getId()!==this.visitor.getStoredId()&&this.resetSessionTracking?.(),this.visitorID=this.visitor.getId(),this.visitorIdentification=this.visitor.getIdentification()}identify(e){if(!this.session||!e)return;this.visitor.identify(e),this.visitorIdentification=e;const t=[e],i=this.newEvent(17,{attributes:t});this.send(i)}clearIdentity(){this.visitorIdentification=null,this.visitor.clearIdentity()}amountInCents(e){return e&&!Number.isNaN(Number(e))&&Math.round(1e4*parseFloat(e))}increaseSessionWorth(e,t){if(Number.isNaN(Number(e)))return!1;const i=((e,t)=>{const i=u();return h(i+e,t)})(this.amountInCents(e),t);return(0,c.Yz)("[Tracker] Increase session worth",{amount:e,currency:t,finalAmount:i}),this.sendSessionWorth(i,t)}decreaseSessionWorth(e,t){if(Number.isNaN(Number(e)))return!1;const i=((e,t)=>{let i=u()-e;return i<0&&(i=0),h(i,t)})(this.amountInCents(e),t);return(0,c.Yz)("[Tracker] Decrease session worth",{amount:e,currency:t,finalAmount:i}),this.sendSessionWorth(i,t)}setSessionWorth(e,t){if(Number.isNaN(Number(e)))return!1;const i=h(this.amountInCents(e),t);return(0,c.Yz)("[Tracker] Set session worth",{amount:e,currency:t}),this.sendSessionWorth(i,t)}sendSessionWorth(e,t){const i=[this.visitID,e,t&&3===t.length?t.toUpperCase():null,"new"],s=this.newEvent(35,{attributes:i});this.send(s)}getUserData(){const e=[],{userData:t}=CE2.state;return(0,s.__)([1,2,3,4,5],(i=>{const s=t[i];void 0!==s&&e.push(String(i),s)})),e}goalConversion(e,t,i){const s=!o.r.alreadyConverted(e),d=(0,r.xf)(e),l=this.visitor.getFirstVisitData(),u=this.goals.find((({id:t})=>t===e));let h,g;if(t||(t=o.r.getNextGoalConversionValue(e,i))&&(0,c.Yz)("[Goal] Using stored value",{goal:u,triggerId:i,value:t}),!t&&u&&u.triggers){const e=u.triggers.find((e=>e.id==i));e&&e.fixed_value&&(t=e.fixed_value,(0,c.Yz)("[Goal] Using fixed value",{goal:u,trigger:e,value:t}))}t&&"object"==typeof t&&t.worth&&!Number.isNaN(t.worth)&&(h=t.currency,g=t.worth,this.increaseSessionWorth(g,h));const E=[CE2.w.location.href,d?.goalId===e?d.id:void 0,d?.goalId===e?CE2.data.addons.find((({id:e})=>e===d.id))?.name:void 0,u?.name,this.visitorIdentification,e,l.landingUrl,l.referrer,l.time?Date.now()-l.time:null,l.utm,l.userData,CE2.clock.getIP(),CE2.clock.getDeviceType(),this.visitor.isReturning(),g?Math.round(1e4*parseFloat(g)):void 0,h];d?.goalId===e&&((0,n.sendCounter)("cta:conversion",d.id),(0,r._o)(e));const p=(0,a.lD)(),C=[p?.id,p?.name,p?.variantId,(0,a.Qj)().map((({id:e})=>e))];if(p){const e=CE2.flows[p.id],t=CE2.flows[p.id].variants[p.variantId];C.push(e.realId),C.push(t.realId)}const f=[this.visitID,i,s,this.session?this.session.numberVisits():"",...E,...C],m=this.newEvent(26,{attributes:f});this.sendImmediatelly(m,{goalId:e}),s&&o.r.recordConversion(e),"function"==typeof CE2.convertedFromFlow&&CE2.goalIdString(e)&&CE2.convertedFromFlow(e,t),(0,c.Yz)("[Goals] Converted",e,t,i)}codeConversion(e,t){this.goals.forEach((i=>{i.triggers.forEach((s=>{const n=s.filter.conditions.filter((e=>"code"===e.criteria));if(0!==n.length)for(let r=0;r0&&e.find((e=>!!e))){const t=[e[1],e[2],e[3],e[4],e[5]],i=this.newEvent(18,{attributes:t});this.send(i)}}sendTag(e){if(this.session&&e){const t=[e],i=this.newEvent(19,{attributes:t});this.send(i)}}addTag(e){const t=CE2.Native.Array.isArray(e)?e:[e];for(let e=0;e{for(let t=0,i=r.hooks;t{"visible"!==document.visibilityState&&this.onPageHide&&this.onPageHide()}))}}},7471:(e,t,i)=>{"use strict";i.d(t,{DM:()=>o,V4:()=>r,_9:()=>c});var s=i(6677),n=i(6149);const r=(e,t,{debugCallback:i}={})=>{let s="";return e.indexOf("*")>-1&&(s="*"),(0,n.$)(e,t,s,null,null,i)},o={visited_page(e,{debugCallback:t}={}){const i=CE2.w.location.href;return r(e,i,{debugCallback:t})},device:e=>(0,s.D)(e),referrer(e,{debugCallback:t}={}){const i=CE2.d.referrer;return i===e&&""===i||r(e,i,{debugCallback:t})}},a=(e,{debugCallback:t,operand:i}={})=>{for(let s=0,n=e.values;s>16)+(t>>16)+(i>>16)<<16|65535&i}function o(e,t,i,s,n,o){return r((a=r(r(t,e),r(s,o)))<<(c=n)|a>>>32-c,i);var a,c}function a(e,t,i,s,n,r,a){return o(t&i|~t&s,e,t,n,r,a)}function c(e,t,i,s,n,r,a){return o(t&s|i&~s,e,t,n,r,a)}function d(e,t,i,s,n,r,a){return o(t^i^s,e,t,n,r,a)}function l(e,t,i,s,n,r,a){return o(i^(t|~s),e,t,n,r,a)}function u(e,t){var i,s,n,o,u;e[t>>5]|=128<>>9<<4)]=t;var h=1732584193,g=-271733879,E=-1732584194,p=271733878;for(i=0;i>5]>>>t%32&255);return i}function g(e){var t,i=[];for(i[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+s.charAt(15&t);return n}function p(e){return unescape(encodeURIComponent(e))}function C(e){return function(e){return h(u(g(e),8*e.length))}(p(e))}function f(e,t){return function(e,t){var i,s,n=g(e),r=[],o=[];for(r[15]=o[15]=void 0,n.length>16&&(n=u(n,8*e.length)),i=0;i<16;i+=1)r[i]=909522486^n[i],o[i]=1549556828^n[i];return s=u(r.concat(g(t)),512+8*t.length),h(u(o.concat(s),640))}(p(e),p(t))}function m(e,t,i){return t?i?f(t,e):function(e,t){return E(f(e,t))}(t,e):i?C(e):function(e){return E(C(e))}(e)}void 0===(s=function(){return m}.call(t,i,t,e))||(e.exports=s)}()}},e=>{var t,i=(t=3075,e(e.s=t)),s=CE2="undefined"==typeof CE2?{}:CE2;for(var n in i)s[n]=i[n];i.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})}]);if(CE2.benchmark.start("navigation|crazyegg|common"),CE2.benchmark.start("navigation|crazyegg|common|start"),CE2.start=function(){CE2.domReadySetup(),CE2.onDOMReady(()=>{CE2.benchmark.stop("navigation|crazyegg|common|start"),CE2.userDataMain()})},CE2.data&&CE2.data.error_tracking)try{CE2.debug("[Loading] Starting Error Tracking"),CE2.errorTracking.listen()}catch(a){CE2.debug(a)}CE2.autoStart?CE2.start():CE2.debug("[Loading] Autostart disabled"),"function"==typeof CE_READY?CE2.onDOMReady(CE_READY):"object"==typeof CE_READY&&CE2.onDOMReady(()=>{CE2.each(CE_READY,a=>{if("function"==typeof a)try{a()}catch(a){CE2.debug("[Loading] CE2.userMain error:"),CE2.debug(a)}})});