!function(){"use strict";var n,e={},r={};function t(n){var o=r[n];if(void 0!==o)return o.exports;var u=r[n]={exports:{}};return e[n].call(u.exports,u,u.exports,t),u.exports}t.m=e,n=[],t.O=function(e,r,o,u){if(!r){var i=1/0;for(a=0;a=u)&&Object.keys(t.O).every((function(n){return t.O[n](r[c])}))?r.splice(c--,1):(f=!1,u0&&n[a-1][2]>u;a--)n[a]=n[a-1];n[a]=[r,o,u]},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,{a:e}),e},t.d=function(n,e){for(var r in e)t.o(e,r)&&!t.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:e[r]})},t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},function(){var n={666:0};t.O.j=function(e){return 0===n[e]};var e=function(e,r){var o,u,i=r[0],f=r[1],c=r[2],l=0;if(i.some((function(e){return 0!==n[e]}))){for(o in f)t.o(f,o)&&(t.m[o]=f[o]);if(c)var a=c(t)}for(e&&e(r);l(await(0,i.AT)(o.yO.CTA),CE2.launchAddon(o.yO.CTA,{mode:o.K0.PREVIEW,addon:t})))),l=t=>{const e=CE2.data.addons.find((e=>{let{id:n}=e;return n===t.id}));if(null!=e&&e.goal_id){const t=CE2.Native.JSON.parse(sessionStorage.getItem(u)||"{}");t[e.goal_id]={id:e.id,goalId:e.goal_id,timestamp:Date.now()},sessionStorage.setItem(u,CE2.Native.JSON.stringify(t))}},h=t=>CE2.Native.JSON.parse(sessionStorage.getItem(u)||"{}")[t.toString()],f=t=>{const e=CE2.Native.JSON.parse(sessionStorage.getItem(u)||"{}");delete e[t],sessionStorage.setItem(u,CE2.Native.JSON.stringify(e))},g=async(t,e)=>{if(t===o.K0.PREVIEW)return d.isPreview()&&await(0,i.AT)(o.yO.CTA),d.load();const{addons:n}=CE2.data;n&&0!==n.filter((t=>{let{type:e}=t;return e===o.yO.CTA})).length&&(d.isPreview()||await p(e))},p=async t=>{await(0,i.wF)(),await(0,i.AT)(o.yO.CTA),C(t),await CE2.launchAddon(o.yO.CTA)};let E=[];const C=t=>{const e=CE2.CTA;for(let t=0,e=E;t{(CE2.virtualTracker||(CE2.virtualTracker=new c.h(t.site,t.session))).setupHandlers(n)})),e.on("notTrigger",(()=>{CE2.virtualTracker&&CE2.virtualTracker.resetHandlers(Object.keys(n))})),e.on("display",(t=>{t&&(async t=>{let{id:e}=t;await(0,i.B7)("crazyegg-cta")&&(0,s.sendCounter)("cta:view",e)})(t)})),e.on("click",(e=>{e&&(t=>{const e=(0,r.ld)("sessionId"),n=CE2.virtualTracker;if(!t||!e)return;l(t);const i=[(0,r.ld)("visitID"),o.Bt.CTA,(0,r.ld)("session").numberVisits(),t.id];(0,s.sendCounter)("cta:click",t.id);const a=n.newEvent(38,{attributes:i});n.sendEventWithStoredData(a)})(e,t.site)}))]},v=async t=>{if("string"!=typeof t)throw new Error("CTA ID must be a string");const e=(CE2.data.addons||[]).find((e=>e.id===t));e?(0,i.HR)(e)?debug(`Addon ${t} is sampled`):(await(0,i.wF)(),await(0,i.AT)(o.yO.CTA),C({site:CE2.site,session:CE2.monitorSession}),CE2.CTA.showCTA(t)):debug(`Addon ${t} is not found`)}},5930:function(t,e,n){"use strict";n.d(e,{Bt:function(){return l},K0:function(){return u},MB:function(){return g},cO:function(){return p},gP:function(){return c},p8:function(){return f},yO:function(){return d}});var i=n(7820),r=n(3753),s=n(5925),o=n(4262),a=n(9330);const c=CE2.ADDON_VERSION||"1.0.108",u={PREVIEW:"preview",TEST_MODE:"testMode",PAGE_CHANGE:"pageChange"},d={SURVEY:"survey",CTA:"cta"},l={SURVEY:1,CTA:2},h=[i,r],f=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};CE2.data.addons=(CE2.data.addons||[]).filter((t=>!1===(0,s.HR)(t)));for(let n=0;n(0,o.sj)({resourceType:t.type,resourceId:t.id},(()=>{var n;return(0,a.vS)(null===(n=t.config.audience)||void 0===n?void 0:n.conditions,e)}))},3459:function(t,e,n){"use strict";n.d(e,{x:function(){return d}});var i=n(598),r=n(419);const s="initiated",o="dataLoaded",a="scriptLoaded",c="dataMissing",u="https://core.crazyegg.com";class d{constructor(t,e){this.type=t,this.key=`ce_${t}_preview`,this.isLoadedByHash=!1,this.currentAddon=null,this.onDisplay=e}isPreview(){return!!this.getHash()||this.isLoadedByHash}isOpenedWindow(){return window.opener}isPlatformOrigin(t){const e=CE2.data,n=e.survey_launch_origins||e.addon_launch_origins||[];return[e.ce_app_url,...n].includes(t)}getHash(){const t=document.location.hash.match(new RegExp(`#ce-${this.type}-(.+)`));if(t&&t[1])return window.sessionStorage&&window.sessionStorage.getItem&&window.sessionStorage.setItem(this.key,t[1]),t[1];if(!window.sessionStorage||!window.sessionStorage.getItem)return null;const e=window.sessionStorage.getItem(this.key);return e||null}load(){const t=this.getHash();if(t)this.loadData(t).catch(console.error).then((t=>{t&&(this.currentAddon=t,this.onDisplay(t))}));else{window.opener&&window.opener.postMessage({status:s},u);const t=e=>{e.source===window.opener&&this.isPlatformOrigin(e.origin)&&e.data&&"object"==typeof e.data&&e.data.token&&(this.isLoadedByHash=!0,this.loadData(e.data.token).then((t=>{t&&t.type!==this.type||(window.sessionStorage&&window.sessionStorage.getItem&&window.sessionStorage.setItem(this.key,e.data.token),e.source.postMessage({status:t?o:c},u),t&&((0,i.NH)(window,`${this.type}Loaded`,(()=>{e.source.postMessage({status:a},u)})),this.currentAddon=t,this.onDisplay(t)))})),window.removeEventListener("message",t))};window.addEventListener("message",t)}}loadData(t){return new Promise(((e,n)=>{const i=CE2.data,s=`${i.survey_preview_dest||i.addon_preview_dest}?token=${t}`;(0,r.get)(s,(t=>{t&&200===t.status&&t.responseText?e(CE2.Native.JSON.parse(t.responseText.trim())):n("Preview addon not found")}))}))}}},7820:function(t,e,n){"use strict";n.r(e),n.d(e,{previewHandler:function(){return c},showFeedbackSurvey:function(){return p},showSurvey:function(){return g},trigger:function(){return u}});var i=n(419),r=n(5925),s=n(3459),o=n(5930),a=n(5985);const c=new s.x("survey",(async t=>(await(0,r.AT)(o.yO.SURVEY),CE2.launchAddon(o.yO.SURVEY,{mode:o.K0.PREVIEW,addon:t})))),u=async(t,e)=>{const{addons:n}=CE2.data;return CE2.w.CE_EXTERNAL_SURVEY?d(t):t===o.K0.PREVIEW?(c.isPreview()&&await(0,r.AT)(o.yO.SURVEY),c.load()):void(n&&0!==n.filter((t=>{let{type:e}=t;return e===o.yO.SURVEY})).length?c.isPreview()||await l(e):(0,r.fF)("[Addons] Nothing to match"))},d=async t=>{if(CE2.w.CE_EXTERNAL_SURVEY_PREVIEW&&"preview"===t)return await(0,r.AT)("survey"),c.load();if("preview"!==t){await(0,r.wF)();const{addons:t}=CE2.data;t.length&&(CE2.state.survey=t[0],await g(t[0].id))}},l=async t=>{await(0,r.wF)(),await(0,r.AT)(o.yO.SURVEY),f(t),await CE2.launchAddon(o.yO.SURVEY)};let h=[];const f=t=>{const e=CE2.Survey;for(let t=0,e=h;t{(CE2.virtualTracker||(CE2.virtualTracker=new a.h(t.site,t.session))).setupHandlers(n)})),e.on("notTrigger",(()=>{CE2.virtualTracker&&CE2.virtualTracker.resetHandlers(Object.keys(n))})),e.on("surveyDisplay",(t=>{let{id:e}=t;(0,i.sendCounter)("survey:view",e)})),e.on("questionDisplay",((t,e)=>{var n;const r=null===(n=t.questions[e])||void 0===n?void 0:n.id;r&&(0,i.sendCounter)("question:view",`${t.id}_${r}`)}))]},g=async t=>{if("string"!=typeof t)throw new Error("Survey ID must be a string");const e=(CE2.data.addons||[]).find((e=>e.id===t));e?(0,r.HR)(e)?(0,r.fF)(`Addon ${t} is sampled`):(await(0,r.wF)(),await(0,r.AT)(o.yO.SURVEY),f({site:CE2.site,session:CE2.monitorSession}),CE2.Survey.showSurvey(t)):(0,r.fF)(`Addon ${t} is not found`)},p=async t=>{if("string"!=typeof t)throw new Error("Survey ID must be a string");await(0,r.wF)(),await(0,r.AT)(o.yO.SURVEY),f({site:CE2.site,session:CE2.monitorSession}),CE2.Survey.showFeedbackSurvey(t)}},5925:function(t,e,n){"use strict";n.d(e,{AT:function(){return d},B7:function(){return l},HR:function(){return f},fF:function(){return i.fF},wF:function(){return c}});var i=n(4991),r=n(5930),s=n(15);n(5985);let o=!1;const a={survey:"Survey",cta:"CTA"},c=()=>new Promise((t=>{CE2.loadTrackingScript((()=>{t()}))})),u=()=>o?Promise.resolve():new Promise((t=>{const e=(()=>{const t=CE2.data,e=`/scripts/addons/${r.gP}/index.js`;return CE2.w.CE_ADDON_HOST?[CE2.w.CE_ADDON_HOST,e].join(""):new CE2.Native.URL(e,t.common_script_url).toString()})();CE2.loadScript(e,(()=>{o=!0,t()}))})),d=async t=>{CE2[a[t]]||(await u(),await CE2.loadAddon(t))},l=async t=>{const e=h(t).filter((t=>!t.sheet));if(0===e.length)return!0;(0,i.fF)(`[Addons] not loaded files: ${e.length}`);const n=e.map((t=>((0,i.fF)(`[Addons] ${t.href}: schedule waiting`),new Promise((e=>{let n,r=!1;t.addEventListener("load",(()=>{r=!0,(0,i.fF)(`[Addons] ${t.href}: loaded`),n&&clearTimeout(n),e("ok")})),n=setTimeout((()=>{!1===r&&((0,i.fF)(`[Addons] ${t.href}: timed out`),e("timed out"))}),5e3)})))));return 0===(await Promise.all(n)).filter((t=>"string"==typeof t&&"timed out"===t)).length},h=t=>{const e=document.getElementsByTagName(t)[0];return e?[...e.shadowRoot.querySelectorAll("link[rel=stylesheet]")]:[]},f=t=>{const{sampling:e,external:n}=(null==t?void 0:t.config)||{};if(!t||"number"!=typeof e||!0===n)return!1;let r=s.D.get("as");if("boolean"!=typeof r){const t=100*Math.random();r=t>e,(0,i.fF)("[Addons] Sampling",{seed:t,sampling:e}),s.D.set("as",r)}return r}},7661:function(t,e,n){"use strict";n.r(e),n.d(e,{ABTest:function(){return a.ZP},ADDON_SCRIPT_VERSION:function(){return c.gP},CE_API:function(){return Q},Emitter:function(){return I.Q},ExitIntent:function(){return Y},FormData:function(){return P.C},Goal:function(){return o.Z},IndexedDB:function(){return S},JSON:function(){return it},NativeURL:function(){return nt},Preview:function(){return c.MB},READY_STATE_PATTERN:function(){return H},URL:function(){return V.Q},VirtualTracker:function(){return L.h},addListener:function(){return i.NH},addTag:function(){return i._U},clearIdentity:function(){return h.KC},click:function(){return i.V4},converted:function(){return X.hy},cookieStorage:function(){return k.D},customEvent:function(){return i._H},debug:function(){return r.fF},debug2:function(){return r.l5},decreaseSessionWorth:function(){return h.Yl},deleteCookie:function(){return i.kT},domReadySetup:function(){return G},each:function(){return i.S6},errorTracking:function(){return b.w},get:function(){return D.get},getCookie:function(){return i.ej},getCookies:function(){return i.$1},getLastFlow:function(){return tt.D7},goalIdString:function(){return X.W7},hasFeature:function(){return O.U6},http:function(){return D},hudMain:function(){return M.MY},identify:function(){return h.yV},ignore:function(){return i.ID},increaseSessionWorth:function(){return h.SV},isBot:function(){return F.Q0},listen:function(){return i.oL},loadHUD:function(){return M.V},matchURL:function(){return x.L},matchesAddon:function(){return c.cO},matchesLegacyOrSegments:function(){return U.sj},matchesSelector:function(){return i.Ku},matchesTrigger:function(){return J.vS},nextGoalConversionValue:function(){return X.JY},notifyError:function(){return W},onDOMReady:function(){return K},pagesTracker:function(){return q.u},parseNumberString:function(){return et.C},promisePool:function(){return R},remoteLog:function(){return $},removeListener:function(){return i.ys},set:function(){return i.t8},setCurrency:function(){return X.NW},setSessionWorth:function(){return h.I_},showCTA:function(){return l.showCTA},showFeedbackSurvey:function(){return u.showFeedbackSurvey},showSurvey:function(){return u.showSurvey},startRecording:function(){return Z.Sy},stopRecording:function(){return Z.kJ},testModeCheck:function(){return i.nR},traceLog:function(){return r.t7},trackSurveyResponse:function(){return _},triggerAddons:function(){return c.p8},userDataMain:function(){return O.IS},userMainTestMode:function(){return O.H},uuid_v1:function(){return T.I},writeCookie:function(){return i.wn}});n(4342);var i=n(598),r=n(4991);"undefined"==typeof CE2&&(globalThis.CE2={}),CE2.userDataToJs=function(){const t=[["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 e=0;e(0,i.N3)(s)}),(0,r.fF)(`[Loading] '${s}' is not native, loading clean prototype`)):Object.defineProperty(CE2.Native,s,{get:()=>CE2.w&&CE2.w[s]?CE2.w[s]:"undefined"!=typeof window?window[s]:n.g[s]})}CE2.getNativeXMLHttpRequest=function(){return new CE2.Native.XMLHttpRequest},"undefined"!=typeof Prototype&&(0,r.fF)("[Loading] WARNING: Prototype.js library detected, it can cause tracking issues"),void 0===CE2.state&&(CE2.state={}),CE2.userData={},CE2.sessionTags=[],CE2.p={},CE2.state.ignoredElements=[],CE2.state.clickCaptors=[],CE2.state.logHistory=[],CE2.state.logHistoryEnabled=!1,CE2.getBox||(CE2.getBox=()=>{}),CE2.loadScript||(CE2.loadScript=function(t,e){const n=document.createElement("script");n.src=t,n.type="text/javascript",n.async=!0,n.onload=()=>{e&&e()},document.head.append(n)}),CE2.loadTrackingScript||(CE2.loadTrackingScript=function(t){return t()}),CE2.loadSessionTrackingScript||(CE2.loadSessionTrackingScript=function(t){return t()}),CE2.w&&!CE2.w.CE_URL_FINGERPRINT&&(CE2.w.CE_URL_FINGERPRINT=function(){const{host:t}=CE2.w.location;let{pathname:e}=CE2.w.location;return e=e.split("/").map((t=>t.replace(/^([\d]+|(.*(\d.*){2}))$/,"*"))).join("/"),`${t.replace(/^(www|m)\./i,"")}${e}`.toLowerCase().replace(/\/$/,"")}),CE2.autoStart=CE2.w&&("undefined"==typeof CE_MANUAL_START||!CE_MANUAL_START),CE2.loadTrackingScript||(CE2.loadTrackingScript=function(t){return t()}),CE2.loadSessionTrackingScript||(CE2.loadSessionTrackingScript=function(t){return t()}),CE2.w&&setTimeout((()=>{CE2.w.CE_API=CE2.CE_API(CE2.w.CE_API)}));var o=n(8786),a=n(5307),c=n(5930),u=n(7820),l=n(3753),h=n(1278);const f="text-entry/email",g=["multi-choice/single","multi-choice/multi","text-entry/short","text-entry/long",f,"rating/stars","rating/numerical","rating/smiley","rating/NPS"],p=["formatVersion","id"],E=["questionId","questionPosition","questionText","questionType","response"],C=(t,e)=>{if(t===e)return!0;if(null==t||null==e)return!1;if(t.length!==e.length)return!1;for(let n=0;n!t.some((t=>0!==t&&!t)),m=(t,e)=>{const n=!t||C(p,Object.keys(t).sort())&&v(Object.values(t)),i=!e.map((t=>C(E,Object.keys(t).sort())&&v(Object.values(t))&&g.includes(t.questionType))).some((t=>!t));return n&&i},w=t=>[t.questionType,t.questionId,t.questionText,t.response,t.questionPosition],y=t=>{var e,n;return(null===(e=CE2.tracker)||void 0===e?void 0:e[t])||(null===(n=CE2.virtualTracker)||void 0===n?void 0:n[t])},_=function(t,e){var n;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t||!e.length)return(0,r.fF)("Survey: invalid arguments");if(!m(i,e))return(0,r.fF)("Survey: Invalid survey or response structure");if(!CE2.virtualTracker)return(0,r.fF)("Survey: do not send responses in preview mode");const s=e.map(w),o=CE2.virtualTracker,a=[y("visitID"),CE2.visitorTracker.getIdentification(),(null==i?void 0:i.id)||"",(null==i?void 0:i.formatVersion)||"",t,null===(n=y("session"))||void 0===n?void 0:n.numberVisits(),s],c=o.newEvent(28,{attributes:a});if(o.sendEventWithStoredData(c),CE2.data.auto_identity&&!CE2.IDENTIFIER){const t=e.find((t=>t.questionType===f&&t.response));(0,h.yV)(null==t?void 0:t.response)}};class S{constructor(t){this.storeName=t,CE2.w&&CE2.w.indexedDB&&(this.dbPromise=this.openDB())}get isAvailable(){return!!CE2.w.indexedDB}async openDB(){return new Promise((t=>{const e=CE2.w.indexedDB.open(this.storeName,1);e.onupgradeneeded=t=>{const e=t.target.result;e.objectStoreNames.contains(this.storeName)||e.createObjectStore(this.storeName,{keyPath:"id"})},e.onsuccess=e=>{const n=e.target.result;t(n)},e.onerror=e=>{var n;(0,r.fF)("error opening database "+(null===(n=e.target)||void 0===n?void 0:n.errorCode)),t()}}))}async readAll(){if(this.dbPromise)return this.dbPromise.then((t=>t?new Promise(((e,n)=>{let i=t.transaction([this.storeName],"readonly");const s=i.objectStore(this.storeName);i=s.getAll(),i.onsuccess=t=>{e(t.target.result)},i.onerror=function(t){(0,r.fF)("error opening database "+t.target.errorCode),n(t.target)}})):[]))}async store(t){if(this.dbPromise)return this.dbPromise.then((e=>{if(e)return new Promise(((n,i)=>{let s=e.transaction([this.storeName],"readwrite");const o=s.objectStore(this.storeName);s.onsuccess=t=>{n(t.target.result)},s.onerror=function(t){(0,r.fF)("error storing records "+t.target.errorCode),i(t.target)},t.forEach((t=>{o.put(t)}))}))}))}async clear(){if(this.dbPromise)return this.dbPromise.then((t=>{if(t)return new Promise(((e,n)=>{let i=t.transaction([this.storeName],"readwrite");const s=i.objectStore(this.storeName);i=s.clear(),i.onsuccess=t=>{e(t.target.result)},i.onerror=function(t){(0,r.fF)("error clearing store "+t.target.errorCode),n(t.target)}}))}))}}var I=n(8032),T=n(2289),k=n(15),b=n(9787);const R=function(t,e,n){return new Promise(((i,r)=>{const s=[],o=[];let a,c=0,u=0;const d=()=>{if(u>=t.length&&!a)return void(a=Promise.all(o).then((()=>{i(s)})).catch((t=>{r(t)})));if(u>=t.length)return;const l=t[u];u+=1;const h=n(l);o.push(h),h.then((t=>{s.push(t),c-=1,d()})).catch((t=>{r(t)})),c+=1,c0;)t.pop().call();j=!0};if(j&&t(),(0,i.oL)(window,"load",t),CE2.d.addEventListener&&(0,i.oL)(CE2.d,"DOMContentLoaded",t),CE2.d.readyState){const e=H;!function n(){e.test(CE2.d.readyState)?t():setTimeout(n,10)}()}},W=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t&&(e&&(t.fingerprint=e),CE2.tracker&&CE2.tracker.notifyError(t))};var q=n(2466),J=n(9330);class Y{constructor(t){this.callback=t||(()=>{}),this.onMouseMove=this.mouseMove.bind(this),this.onScroll=this.scroll.bind(this),this.exited=!1;let e=CE2.clock.getDeviceType();e===A.A.typeMap.desktop?(0,i.NH)(CE2.w,"mousemove",this.onMouseMove):e===A.A.typeMap.phone&&(this.prevScroll=CE2.w.scrollY||CE2.d.documentElement.scrollTop||CE2.d.body.scrollTop,(0,i.NH)(CE2.w,"scroll",this.onScroll))}mouseMove(t){t.clientY<=20&&this.onExit(),this.hoveredElement!==t.target&&clearTimeout(this.hoverTimout),this.hoveredElement=t.target;const e=t.target.closest("a");if(e&&e.href){const t=new URL(e.href,CE2.d.baseURI),n=(0,i.yT)().substr(1);new RegExp(`${n}$`,"i").test(t.hostname)||(this.hoverTimout=setTimeout((()=>{this.onExit()}),100))}}scroll(){const t=CE2.w.scrollY||CE2.d.documentElement.scrollTop||CE2.d.body.scrollTop;this.prevScroll-t>100&&this.onExit(),this.prevScroll=t}onExit(){this.destroy(),this.exited||(this.exited=!0,this.callback())}destroy(){(0,i.ys)(CE2.w,"mousemove",this.onMouseMove),(0,i.ys)(CE2.w,"scroll",this.onScroll),clearTimeout(this.hoverTimout)}}function Q(t){let e;for(CE2.Native.Array.isArray(t)||(t=[]),t.push=function(t){z(t)};e=t.shift();)z(e);return t}function z(t){if("function"==typeof t)try{t()}catch(t){CE2.debug("CE_API error:"),CE2.debug(t)}}var X=n(2309),Z=n(7632),tt=n(1239),et=n(4861);const nt=CE2.Native.URL,it=CE2.Native.JSON},2845:function(t,e,n){"use strict";n.d(e,{MY:function(){return u},V:function(){return d}});var i=n(7661),r=n(419);function s(t){(0,i.debug)(`[CEHUD] ${t}`)}const o=function(){try{if(a())return d(),!0}catch(t){s(t)}return!1},a=function(){return 0===document.location.hash.indexOf("#powerup")||/[^\w-]ce-hud-snapshot=[\d+]+/.test(document.location.hash)},c={startListener(){CE2.w.opener&&CE2.w.addEventListener("message",c.onMessage)},stopListener(t,e){CE2.w.removeEventListener("message",c.onMessage),t.postMessage({hudLaunched:!0},e)},onMessage(t){try{if(s("Received message"),t.source!==CE2.w.opener)return void s("Unexpected source");if(![CE2.data.ce_app_url,...CE2.data.hud.launch_origins].includes(t.origin))return void s("Unexpected source url");const e=t.data;if(!e||"object"!=typeof e)return void s("Unexpected message");if("number"!=typeof e.launcherId)return void s("Unexpected launcherId");sessionStorage.setItem("ce-hud-launch-params",JSON.stringify(e)),c.stopListener(t.source,t.origin),d()}catch(t){s(t)}}},u=function(){if(CE2.data&&CE2.data.hud)try{!function(){try{if(void 0===CE2.w.localStorage)return!1;if(void 0===CE2.w.localStorage.getItem)return!1;const t=Boolean(CE2.w.sessionStorage&&"function"==typeof CE2.w.sessionStorage.getItem&&CE2.w.sessionStorage.getItem("ce-hud-launch-params"));CE2.w.opener&&!a()&&!t||!localStorage.getItem("powerup")||d()}catch(t){return s(t),!1}}(),CE2.w.addEventListener("hashchange",o),o(),c.startListener()}catch(t){s(t)}},d=function(){try{return!CE2.state.loadedHUD&&(function(){function t(t){let e;if("string"==typeof CE2_HUD_SCRIPT_URL)e=CE2_HUD_SCRIPT_URL;else{if(!t)return void s("Unable to determine HUD script URL. No version given.");e=`${CE2.data.hud.script_url}/${t}/index.js`}const n=document.createElement("script");n.src=e,n.defer=!0;const i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}CE2.data.hud.version?t(CE2.data.hud.version):(0,r.get)(`${CE2.data.hud.host}/versions/latest`,(e=>{e.status<200||e.status>=300?s(`Error loading latest HUD version: ${e.status} ${e.statusText}`):t(e.responseText.trim())}))}(),CE2.state.loadedHUD=!0,CE2.w.localStorage.setItem("powerup","true"),!0)}catch(t){return s(t),!1}}},4342:function(){!function(t){var e=t.CE2BH={};function n(){return e.extends=n=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(r[n]=t[n]);return r}}("undefined"==typeof window?self:window)},2218:function(t,e,n){"use strict";n.d(e,{F:function(){return r}});var i=n(9560),r=n.n(i)()},5307:function(t,e,n){"use strict";n.d(e,{JF:function(){return a},gd:function(){return o},n3:function(){return c}});var i=n(8032),r=n(4991);class s extends i.Q{}e.ZP=new s;const o=()=>{const t=document.location.hash.match(new RegExp("#ce-abtest-(.+)"));if(t)return t[1].split(".")},a=()=>!!o(),c=()=>{CE2.loadScript(CE2.data.transformations_script_url,(()=>{(0,r.fF)("[Flows] [Preview] transformations.js chunk is loaded. Run AB test preview"),CE2.initAbTestPreview()}))}},15:function(t,e,n){"use strict";n.d(e,{D:function(){return r}});var i=n(598);const r={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 t,e,n=CE2.getCookie(this.CK);const i={};if(!n)return i;for(n=n.replace(/\\~/g,"\0").split("~"),t=0;e=n[t];t+=2)i[e.replace(/\x00/g,"~")]=n[t+1].replace(/\x00/g,"~");return i},getCookieRawValue(t){const e=[];return(0,i.S6)(t,((t,n)=>{e.push(n.replace("~","\\~")),e.push(t.replace("~","\\~"))})),e.push(this.LAST_COOKIE_WRITE_KEY+"~"+ +new Date),e.join("~")},save(t){this.canSave&&(0,i.wn)(this.CK,this.getCookieRawValue(t),{expiresInDays:this.expiresIn})},get(t){return this.load()[t]},set(t,e){const n=this.load(),i=`${e}`;let r=!1;const s=parseInt(n[this.LAST_COOKIE_WRITE_KEY],10);s&&+new Date-s>this.LAST_COOKIE_WRITE_THRESHOLD&&(r=!0),(n[t]!==i||r)&&(n[t]=i,this.save(n))},del(t){const e=this.load();delete e[t],this.save(e)}}},4991:function(t,e,n){"use strict";n.d(e,{fF:function(){return s},l5:function(){return o},t7:function(){return r}});var i=n(9787);const r=(t,e)=>{s("[Trace]",{type:t,data:e}),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:t,data:CE2BH.extends({version:CE2.VERSION},e)}))},s=(t,e)=>{if(CE2.state.logHistoryEnabled&&CE2.state.logHistory.push(t),!(()=>{const t=CE2.data&&CE2.data.dkey;return!!(t&&CE2.w&&CE2.w.location.href.indexOf(`ced=${t}`)>-1)||"undefined"!=typeof CE_DEBUG&&CE_DEBUG})())return!1;let n;n="string"==typeof t?`CE: ${t}`:t;const r=[n];if(e&&r.push(e),"undefined"!=typeof window){const t=CE2.Native.console;t&&t.log&&t.log(...r)}(t instanceof Error||t instanceof TypeError)&&i.w&&i.w.sendError&&i.w.sendError(t)},o=(t,e)=>{if(!("undefined"!=typeof CE_DEBUG&&CE_DEBUG>=2))return!1;s(t,e)}},3122:function(t,e,n){"use strict";n.d(e,{A:function(){return i},j:function(){return r}});const i={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}},r=function(t){return(CE2.Native.Array.isArray(t)?t:[t]).map((t=>i.typeMap[t])).includes(CE2.clock.getDeviceType())}},4212:function(t,e,n){"use strict";n.d(e,{Xh:function(){return i},pQ:function(){return o},qR:function(){return r}});const i=function(){const t=navigator.userAgent;CE2.opera=CE2.ie=CE2.chrome=CE2.safari=CE2.firefox=!1;let e="unknown";return CE2.w&&CE2.w.opera&&"function"==typeof CE2.w.opera.version?(e="opera",CE2.opera=!0,CE2.operaVersion=parseInt(CE2.w.opera.version(),10)):/\bMSIE\b/.test(t)?(e="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(t)?(e="iphone",CE2.iphone=!0,CE2.webkit=!0,/AppleWebKit/.test(navigator.appVersion)&&(e="safari",CE2.safari=!0)):/\bChrome\b/.test(t)?(e="chrome",CE2.chrome=!0,CE2.webkit=!0):/AppleWebKit/.test(navigator.appVersion)?(e="safari",CE2.safari=!0,CE2.webkit=!0):/Mozilla/i.test(t)&&!/compatible|webkit/i.test(t)&&(e="firefox",CE2.firefox=!0),CE2.webkit&&(CE2.webkitVersion=parseInt(/AppleWebKit\/(\d+)/.exec(t)[1],10)),e}(),r=function(t,e){const{crypto:n}=CE2.w,i="function"==typeof CE2.w.btoa&&CE2.w.btoa;let r,s,o,a="";if(t=t||20,n&&n.getRandomValues){const e=new Uint8Array(t);n.getRandomValues(e),r=CE2.Native.Array.from(e)}else for(r=new CE2.Native.Array(t),s=0;sString.fromCharCode(t))).join(""),i(a).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"");for(s=0;s({events:{},emit(t){let e=this.events[t]||[];for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r{var n;this.events[t]=null===(n=this.events[t])||void 0===n?void 0:n.filter((t=>e!==t))}}});class r{constructor(){this.emitter=i()}on(){return this.emitter.on(...arguments)}once(t,e){const n=this.on(t,(async function(){return n(),e(...arguments)}))}emit(){return this.emitter.emit(...arguments)}}},9787:function(t,e,n){"use strict";n.d(e,{w:function(){return s}});var i=n(4991),r=n(419);const s=function(){const t={};return t.sendError=function(t){try{if(CE2.data&&CE2.data.error_tracking){const e={url:window.location.href,error:t.type,error_name:t.name,filename:t.filename};t.message&&(e.error_description=t.message.toString()),t.error&&t.error.stack&&(e.stack=t.error.stack.toString()),(0,r.send)(`${CE2.data.error_tracking_dest}?u=${encodeURIComponent(CE2.data.uid)}`,CE2.Native.JSON.stringify(e),{sendBeacon:!0})}}catch(t){}},t.listen=function(){if(!CE2.data.error_tracking_dest||!CE2.data||!CE2.data.uid)return;const t=CE2.data.error_tracking_script_url;window.addEventListener("error",(e=>{try{if((0,i.fF)(`Error Tacking: Error Event '${e}'`),!e.filename)return;(0,i.fF)(`Error Tacking: Error filename '${e.filename}'`),e.filename.includes(t)&&this.sendError(e)}catch(t){}}))},t}()},1239:function(t,e,n){"use strict";n.d(e,{D7:function(){return c},Wf:function(){return a},_G:function(){return o},zd:function(){return s}});var i=n(15);const r="flvl",s=(t,e)=>{const n=i.D.get(r)||"";n.includes(t)||i.D.set(r,`${n},${t}:${e}`)},o=()=>{i.D.del(r)},a=()=>(i.D.get(r)||"").split(",").flatMap((t=>{var e,n,i;const[r,s]=t.split(":");return r&&null!==(e=CE2.data.flows)&&void 0!==e&&e[r]?{id:r,name:null===(n=CE2.data.flows)||void 0===n||null===(i=n[r])||void 0===i?void 0:i.name,variantId:s}:[]})),c=()=>{const t=a();return t.length?t[t.length-1]:null}},3142:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});const i={};!function(t){function e(){if(!(this instanceof e))return new e;this.boundary=`------RWWorkerFormDataBoundary${Math.random().toString(36)}`;const t=this.data=[];this.__append=function(e){let n,i=0;if("string"==typeof e)for(n=e.length;i{if(!CE2.V11Tracker)return`event_type=${t}`;if(!c){c={},u=null;for(let t=0,e=Object.keys(CE2.V11Tracker.eventTypes);tu.length)&&(u=n)}}let e=c[t];const n=u.length-e.length;for(let t=0;t{let e="";const n=encodeURIComponent;return(0,s.S6)(t,((t,i)=>{null!=t&&(0,o.A)(`${t}`)&&(e.length&&(e+="&"),e+=`${n(i)}=${n(t)}`)})),e},h=(t,e,n)=>{const i=CE2.getNativeXMLHttpRequest();i.onreadystatechange=function(){4==i.readyState&&e(i)},i.open("GET",t,!0),n&&(i.responseType=n),i.send()},f=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((0,s.nR)())return void a.testModeRequests.push({url:t,data:e,options:n});const o=n.sendBeacon&&CE2.n&&CE2.n.sendBeacon;let c=n.contentType||"text/plain";if(o&&CE2.n&&CE2.n.sendBeacon)CE2.n.sendBeacon(t,e),n.callback&&n.callback();else{if("undefined"==typeof XMLHttpRequest)return void(0,r.fF)("XMLHttpRequest not supported");n.retries||(n.retries=0);const s=CE2.getNativeXMLHttpRequest();s.onreadystatechange=function(){if(n.callback&&4==s.readyState){if((!s.status||429===s.status||s.status>=500&&s.status<600)&&n.retry&&n.retries{f(t,e,n)}),1e3);n.callback(s)}},s.open(n.method||"POST",t),e instanceof i.C&&(e.__endedMultipart||e.__append(`--${e.boundary}--\r\n`),e.__endedMultipart=!0,c=`multipart/form-data; boundary=${e.boundary}`,e=new Uint8Array(e.data)),s.setRequestHeader("Content-type",c),s.send(e)}},g=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};f(t,l(e),CE2BH.extends(n,{contentType:"application/x-www-form-urlencoded"}))},p=(t,e)=>{if(!t||!e)return;const n={metric:t,id:e},i=CE2.data.counters_dest;f(i,CE2.Native.JSON.stringify(n),{contentType:"application/json"})},E=(t,e)=>{try{if(!e.length)return;const n=[];n.push(`u=${encodeURIComponent(t.userId)}`),n.push(`st=${encodeURIComponent(t.siteId)}`),t.snapshotId&&n.push(`s=${encodeURIComponent(t.snapshotId)}`),t.flow&&n.push(`f=${encodeURIComponent(t.flow)}`),t.sessionId&&n.push(`ss=${encodeURIComponent(t.sessionId)}`),t.pageFingerprintMd5&&n.push(`p=${encodeURIComponent(t.pageFingerprintMd5)}`),t.goalId&&n.push(`g=${encodeURIComponent(t.goalId)}`),t.abTestId&&n.push(`ab=${encodeURIComponent(t.abTestId)}`),CE2.data.tracking_key&&n.push(`tk=${encodeURIComponent(CE2.data.tracking_key)}`);const i=[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:{};CE2BH.extends(this.state,CE2BH.extends({},{[p]:null,[E]:null,[C]:null,[v]:null,[m]:null,[w]:null,[y]:null,[S]:0,[I]:0,[T]:0,[k]:0,[b]:null,[R]:null,[D]:null,[N]:null,[A]:null,[O]:{},[$]:[],[x]:(new Date).getDay(),[P]:null,[U]:null,[V]:null,[M]:null,[L]:null,[F]:null,[H]:[],[B]:[],[j]:[]},q.cleanup(t))),this.debug("reset state",this.state)}static cleanup(t){const e={};if(!t)return e;for(let n=0,i=Object.keys(t);n1?e-1:0),i=1;i{t.conditions.forEach(((i,a)=>{if(i.criteria!==e)return!1;const c=function(t,e){const n=t?e.find((e=>e.sync_selectors||e[`selector_for_${t}`])):null;if(!n)return null;if(e.sync_selectors)return Object.values(K).map((t=>e[`selector_for_${t}`])).find((t=>!!t))||null;return n[`selector_for_${t}`]||null}(this.state[w],i.value);if(!c)return!1;const u=n.target||n.srcElement;if(r.matchesSelector(u,c,!0)){if(!function(t,e,n){const i=t.target||t.srcElement;if(e.criteria!==B||"FORM"!==t.type)return!0;for(let t=0,r=e.value;t{t.conditions.forEach(((e,i)=>{e.value.find((t=>t.api===n.api&&(("string"!=typeof t.id||t.id.replace(/^(G|AW)-/,"")===n.id)&&("string"!=typeof t.event||t.event.toLowerCase()===n.type.toLowerCase()))))&&(this.state[e.criteria][i]=!0,o=this.match(t),this.state[e.criteria][i]=!1)}))}}[e])||void 0===i||i.call(this),o}update(t){this.state=CE2BH.extends({},this.state,q.cleanup(t)),this.debug("update state",this.state),this.match()}start(){this.debug("starting"),this.match()}debug(){this.providers.debug(...arguments)}}class J{constructor(t,e){this.state=t,this.providers=e}match(t){if(this.debug("matching segment",t),t.except){const e=this.isMatched(t.except.conditions,t.except.operator);if(this.debug("matching except part: "+(e?"skip segment":"not skip segment")),e)return!1}return this.isMatched(t.conditions,t.operator)}isMatched(t,e){const n=[],i=[],r=t.map(((t,e)=>{const r=this.evaluate(t,e);return r&&n.push(t),r||i.push(t),r}));return d===e?r.every((t=>!0===t)):r.some((t=>!0===t))}evaluate(t,e){var n;if(t.operator&&Array.isArray(t.conditions))return this.isMatched(t.conditions,t.operator);if(!t.value)return!1;const d=this.providers[l];switch(t.criteria){case p:case m:case w:case y:case _:case x:case $:case b:case R:case D:case N:case A:case P:case U:case V:case M:case L:case F:const l=Array.isArray(t.value)?t.value:[t.value];if(t.comparison===i){const e=Array.isArray(this.state[t.criteria])?this.state[t.criteria]:[this.state[t.criteria]];return JSON.stringify(l.sort())===JSON.stringify(e.sort())}const h=l.includes(this.state[t.criteria]);return t.comparison===r?!0===h:!1===h;case k:const{count:f,unit:g}=t.value;let O=f;return g===G&&(O=60*f),t.comparison===c?O<=this.state[t.criteria]:t.comparison===u?O>=this.state[t.criteria]:t.comparison===s?Othis.state[t.criteria];case S:case I:case T:return t.comparison===a?t.value===this.state[t.criteria]:t.comparison===s?t.valuethis.state[t.criteria];case v:case C:case E:const K=t.value.map((e=>d(e,this.state[t.criteria])));return t.comparison===r?K.includes(!0):K.every((t=>!1===t));case H:case B:case j:return!(null===(n=this.state[t.criteria])||void 0===n||!n.length)&&!0===this.state[t.criteria][e]}}debug(){this.providers.debug(...arguments)}}function Y(t){const e=t.filter((t=>"object"!=typeof t)),n=t.filter((t=>"object"==typeof t));console.log("CE: [SegmentTracker]",e.join(" "),...n,"\n")}function Q(){return{[f]:function(){if(window.CE_DEBUG){for(var t=arguments.length,e=new Array(t),n=0;n!1,[h]:function(){for(var t=arguments.length,e=new Array(t),n=0;n(t.resources||[]).find((t=>t.resource_type===e&&String(t.resource_id)===String(n)))));let o=[];for(let t=0;t0}function at(t,e){let{resourceType:n,resourceId:i,eventName:r,event:s}=t;if((0,z.U6)("segment"))return ot({resourceType:n,resourceId:i,eventName:r,event:s});if((0,z.U6)(tt)){const t=ot({resourceType:n,resourceId:i,eventName:r,event:s}),o=e();return t!==o&&(0,Z.t7)(tt,{resourceType:n,resourceId:i,eventName:r,segmentMatched:`${t}`}),o}return e()}},2463:function(t,e,n){"use strict";n.d(e,{A:function(){return r},re:function(){return i}});const i=function(){const t="[\\s\\u00a0\\u2028\\u2029]+";return{whitespace:new RegExp(t,"g"),strip:new RegExp(`^${t}|${t}$`,"g"),href:/\bhref="(.*?)"/i,ipHost:/^([\d\.]+|\[[a-f\d:]+\])$/i}}(),r=(t,e)=>{const n=t.replace(i.strip,"");return e?n.replace(i.whitespace," "):n}},6282:function(t,e,n){"use strict";n.d(e,{Q:function(){return r}});var i=n(598);const r=function(t){if(this.src=t,this.protocol=this.host=this.port=this.path=this.qs=this.hash=this.query=null,t){const e=typeof t;"string"==e?this.initWithString(t):"object"==e&&this.initWithURI(t)}};r.pattern=/^\s*([\S]+?:\/\/)?([^\s\/]+?@)?([^:\/\?\#]+)?(\:\d+)?(\/?[^#\?\s]*)?([\?][^#\s]*)?([#]\S+)?/i,r.prototype={initWithString(t){const e=r.pattern.exec(t),[n,s,o,a,c,u,d,l]=e;var h;s||"/"==t.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((t=>/^([a-zA-Z0-9-]+)$/g.test(t)&&t.length<64&&!t.startsWith("-")&&!t.endsWith("-"))))))?(s&&(this.protocol=s.substr(0,s.indexOf(":"))),this.host=a||null,c&&(this.port=Number(c.substr(1))),u?this.path=(0,i.AK)(u):this.host&&(this.path="/")):this.path=(0,i.AK)((a||"")+(u||"")),d&&(this.qs=(0,i.qg)(d.substr(1)),this.query=d.substr(1)),l&&(this.hash=(0,i.AK)(l.substr(1)))},initWithURI(t){(0,i.S6)(t,(function(t,e){this[e]=t}),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 t=this.query?`?${this.query}`:"";return`${this.getOrigin()}${this.path}${t}`},join(t){const e=new r(this);let{path:n}=this;return"string"==typeof t&&(t=new r(t)),t.isURL()?new r(t):(t.isAbsolute()?n=t.path:n?(n=n.split("/"),n.pop(),n=t.path?n.concat(t.path.split("/")):n,n=n.join("/")):n=this.isURL()?`/${t.path}`:t.path,e.path=n,e.qs=t.qs,e.hash=t.hash,e)},normalize(){if(!this.path)return;let t;CE2.ie&&CE2.ieVersion<9?(t=[],"/"==this.path.charAt(0)&&t.push(""),t=t.concat(this.path.split(/\/+/g)),"/"==this.path.charAt(this.path.length-1)&&t.push("")):t=this.path.split(/\/+/g);let e,n=0;do{if(e=t.length-1,".."==t[n+1])""==t[n]&&0==n?t.splice(n+1,1):(t.splice(n,2),n-=1);else if("."==t[n]){if(0==e)break;t.splice(n,1)}else n++}while(n<=e);this.path=t.join("/")},simplify(t){let e;const n=[];if(e="file"==this.protocol?this:CE2.ie?t?t.join(this):this:(t=t||new r(CE2.d.baseURI)).join(this),e.normalize(),e.host&&n.push(e.host.replace(/^(www|m)\./,"")),null!=e.port&&n.push(`:${e.port}`),"/"==e.path||/^\/(default|home|index)\b[^\/]*$/i.test(e.path)?(e.qs||e.hash)&&n.push("/"):n.push(e.path),e.qs){const t=[];(0,i.S6)(e.qs,((e,n)=>{e&&!/(^sess|^sid$|^phpsessid$|^jsessionid$|^__VIEWSTATE$)/i.test(n)&&t.push(`${encodeURIComponent(n)}=${encodeURIComponent(e)}`)})),t.length&&n.push(`?${t.join("&")}`)}return e.hash&&n.push(`#${e.hash}`),n.join("")},sameOrigin(t){return!!t&&("string"==typeof t&&(t=new r(t)),null==t.host||t.host==this.host&&t.port==this.port&&t.protocol==this.protocol)}}},7969:function(t,e,n){"use strict";n.d(e,{L:function(){return o}});var i=n(598),r=n(6282);const s=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t&&t(e,n)},o=function(t,e,n,o,a,c){const{stringify:u}=CE2.Native.JSON,d=/(default|index)($|\..*)/i;let l,h,f,g,p,E,C,v=!1;if(!t||!e)return!1;if(o&&o.indexOf(CE2.clock.getDeviceType())<0)return s(c,`device=${CE2.clock.getDeviceType()} allowed=${u(o)}`,C),!1;if(/n/.test(n=n||""))return C=t.trim()===e.trim(),s(c,`name=${e} allowed=${t}`,C),C;if(/go/.test(n)){const n=t.split(".");return C=e&&e[n[1]]==n[2],s(c,`googleOptimize=${u(e)} allowed=${u(t)}`,C),C}if(/\*/.test(n))try{let n=t.replace(/[.+^$?{}()|[\]\\]/g,"\\$&");return n=new RegExp(n.replace(/\*/g,"(.*?)"),"i"),C=n.test(e),s(c,`url=${e} allowedwildcard=${t}`,C),C}catch(n){return CE2.debug(n),s(c,`url=${e} allowedwildcard=${t}`),!1}if(/[re]/.test(n))try{return C=RegExp(t,"i").test(e),C||(C=RegExp(t,"i").test(decodeURI(e))),s(c,`url=${e} allowedregex=${t}`,C),C}catch(n){return CE2.debug(n),s(c,`url=${e} allowedregex=${t}`,n),!1}t=new r.Q(t&&t.toLowerCase?t.toLowerCase():t);const m=new r.Q(e.toLowerCase());if(/h/.test(n)&&t.protocol!=m.protocol)return s(c,`protocol=${m.protocol} allowed=${t.protocol}`),!1;const{host:w}=m,y=w.replace(/^(www|m)\./,""),_=t.host,S=t.ihost;if(/w/.test(n)&&w!=_&&w!=S)return s(c,`host=${w} allowed=${S||_}`),!1;const I=_.replace(/^(www|m)\./,""),T=S&&S.replace(/^(www|m)\./,"");if(y!=I&&y!=T)return s(c,`host=${w} allowed=${T||I}`),!1;h=t.path?t.path:"/";const{path:k}=m;if(h!=k){if(/\//.test(n))return s(c,`path=${k} allowed=${h}`),!1;for(f=h.split("/"),l=k.split("/"),p=0,E=Math.max(f.length,l.length);p{if(b[e]!==t)return v=!0,!1})),v)return s(c,`querystring=${u(b)} allowed=${u(R)}`),!1;if(g&&((0,i.S6)(b,((t,e)=>{if(t!=R[e])return v=!0})),v))return s(c,`querystring=${u(b)} allowed=strict|${u(R)}`),!1;const D=t.hash||"",N=m.hash||"";return g=/#/.test(n),(g||D)&&D!=N?(s(c,`hash=${N} allowed=${D}`),!1):(s(c,`url=${e}`,!0),!0)}},598:function(t,e,n){"use strict";n.d(e,{$1:function(){return m},AK:function(){return u},Ad:function(){return R},Av:function(){return C},Eg:function(){return H},ID:function(){return a},Ku:function(){return O},N3:function(){return $},NH:function(){return f},S6:function(){return h},V4:function(){return E},VM:function(){return v},WQ:function(){return b},_H:function(){return U},_U:function(){return d},ak:function(){return B},ar:function(){return _},ej:function(){return w},gk:function(){return A},kT:function(){return T},l1:function(){return N},ld:function(){return V},mT:function(){return D},me:function(){return L},nR:function(){return c},oL:function(){return f},q2:function(){return S},qg:function(){return l},t8:function(){return p},tY:function(){return P},wn:function(){return I},yT:function(){return y},ys:function(){return g}});var i=n(4991),r=n(2463),o=n(7969);const a=t=>{if(!t)return;CE2.state.ignoredElements.push(t);const e=CE2.tracker;e&&e.ignoredElements.push(t)},c=function(){return"undefined"!=typeof CE_TEST_MODE&&CE_TEST_MODE},u=t=>{try{return decodeURIComponent(t)}catch(e){return CE2.w.unescape(t)}},d=t=>{var e;if(CE2.Native.Array.isArray(t))for(let e=0;e{if(null==t||/^\s*$/.test(t))return null;const n={},i=t.replace(/\+/g," ").split(e||"&");let r,s,o=null,a=null,c=null;const d=Object.getOwnPropertyNames(Object.prototype);for(r=0,s=i.length;r{if(!t)return;let i;if("number"==typeof t.length&&"function"==typeof t.concat)for(let r=0,s=t.length;r{t.addEventListener(e,n,!0)},g=(t,e,n)=>{t.removeEventListener(e,n,!0)},p=(t,e)=>{(t=parseInt(t,10))>=1&&t<=5&&(CE2.userData[t]=String(e));const{tracker:n}=CE2;n&&n.sendCustomUserData&&n.sendCustomUserData()},E=function(){const{tracker:t}=CE2;if(t)return t.click(...arguments)},C=t=>null==t.r||(!1!==t.r&&!0!==t.r&&(Math.random()>=1/t.r?((0,i.fF)(`Snapshot ${t.id} not selected due to snapshot sampling: ${t.r}`),t.r=!1):t.r=!0),t.r),v=(t,e,n,i)=>{if(!0===CE2.data.dnt)return!1;if(i&&void 0!==t.external)try{if(!0===t.external.InPrivateFilteringEnabled())return!0}catch(t){}const r=e.doNotTrack||n.doNotTrack||n.msDoNotTrack||t.doNotTrack;return"1"==r||"yes"==r},m=function(){try{return l(document.cookie,/;\s*/g)||{}}catch(t){return{}}},w=function(t){return m()[t]},y=function(){const t=CE2.w;if(!CE2.state._tlDomain){const e=CE2.w.location.hostname;if(r.re.ipHost.test(e)||!/\./.test(e))CE2.state._tlDomain=e;else if(t.CE_COOKIE_DOMAIN&&new RegExp(`(^|\\.)${t.CE_COOKIE_DOMAIN.replace(/\./g,"\\.")}$`,"i").test(e))CE2.state._tlDomain=`.${t.CE_COOKIE_DOMAIN}`;else{let t;const n=e.split(".");for(t=n.length-1;t>=0;t--){const e=`.${n.slice(t).join(".")}`;if(S("_ce.gtld",e)){CE2.state._tlDomain=e;break}}}}return CE2.state._tlDomain},_=()=>new CE2.URL((()=>{let{referrer:t}=CE2.d;try{!t&&CE2.d.location.ancestorOrigins&&([t]=CE2.d.location.ancestorOrigins)}catch(t){(0,i.fF)(t)}return t})()).getDomain(),S=(t,e)=>(I(t,"1",{domain:e}),!!(CE2.d.cookie&&CE2.d.cookie.indexOf&&CE2.d.cookie.indexOf(t)>-1)&&(T(t,{domain:e}),!0)),I=function(t,e,n){n||(n={});const i=encodeURIComponent,r=n.path||"/",s=n.domain||y();let o=null;n.expires?o=n.expires:n.expiresIn?o=new Date((new Date).getTime()+1e3*n.expiresIn):n.expiresInDays&&(o=new Date((new Date).getTime()+86400*n.expiresInDays*1e3)),null==e&&(o=new Date(0),e="");const a=[`${i(t)}=${i(e)}`];a.push(`path=${r}`),CE2.w.parent!==CE2.w&&"https:"===CE2.w.location.protocol?(a.push("SameSite=None"),a.push("Secure")):(a.push("SameSite=Strict"),CE2.data.use_secure_cookies&&a.push("Secure")),s&&a.push(`domain=${s}`),o&&a.push(`expires=${o.toUTCString()}`),CE2.d.cookie=a.join(";")},T=function(t,e){I(t,null,e)},k=t=>{const e=CE2.d.createElement("a");return e.href=`http://${t}/`,e.hostname},b=t=>{let e,n;for(n=0;e=t[n++];)if(i=k(e.name),s=CE2.w.location.hostname,r.re.ipHost.test(i)?i===s:s.toLowerCase().endsWith(i.toLowerCase())||s.toLowerCase().endsWith(`.${i.toLowerCase}`))return e;var i,s},R=t=>{let e,n;if(t&&t.length)for(e=0;n=t[e++];)if((0,o.L)(n.u,CE2.w.location.href,n.o))return!0;return!1},D=function(){if(void 0===CE2.state._inws)try{const t=A((()=>{}),!0);t?(t.terminate(),CE2.state._inws=!0):CE2.state._inws=!1}catch(t){CE2.state._inws=!1}return CE2.state._inws},N=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{return A(t,e)}catch(t){(0,i.fF)(`Inline Worker is not supported: ${t.message}`)}},A=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("undefined"==typeof CE_USER_COMMON_SCRIPT_URL)return void(0,i.fF)("Inline Worker is not supported: CE_USER_SCRIPT_URL not defined");if("undefined"==typeof CE_USER_THIRDPARTY_SCRIPT_URL)return void(0,i.fF)("Inline Worker is not supported: CE_USER_THIRDPARTY_SCRIPT_URL not defined");const n=[],r=["CE_DEBUG","CE_TEST_MODE"];for(let t=0;t(n&&(e+=`,${e} *`),t.matches(e)),$=function(t){if("undefined"==typeof window)return s[t];try{const e="ce_proto_iframe";let n=document.getElementById(e);return n||(n=document.createElement("iframe"),n.id=e,n.title="CrazyEgg Tracking iframe",n.style.display="none",document.documentElement.appendChild(n)),n.contentWindow[t]}catch(e){return(0,i.fF)(e),window[t]}},x=function(t){return!!t&&/\{\s+\[native code\]/.test(Function.prototype.toString.call(t))},P=function(t){let e=Object.getOwnPropertyNames(t);for(let n=0,i=e;n{const{tracker:n}=CE2;n&&n.customEvent&&n.customEvent(t,e)},V=t=>{var e,n;return(null===(e=CE2.tracker)||void 0===e?void 0:e[t])||(null===(n=CE2.virtualTracker)||void 0===n?void 0:n[t])};let M;const L=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;M=t||performance.now()},F=["utm_source","utm_medium","utm_term","utm_content","utm_campaign"],H=()=>{let t,e=!1;const n=[];if(t=new CE2.URL(window.location.href).qs)for(let i=0;i>>((3&n)<<3)&255;return e}}return t}(),r=function(){const t=[];for(let e=0;e<256;++e)t[e]=(e+256).toString(16).substr(1);return function(e,n){let i=n||0;const r=t;return r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]}}(),s=(o=i(),a=[1|o[0],o[1],o[2],o[3],o[4],o[5]],c=16383&(o[6]<<8|o[7]),u=0,d=0,function(t,e,n){var i=e&&n||0,s=e||[],o=void 0!==(t=t||{}).clockseq?t.clockseq:c,l=void 0!==t.msecs?t.msecs:(new Date).getTime(),h=void 0!==t.nsecs?t.nsecs:d+1,f=l-u+(h-d)/1e4;if(f<0&&void 0===t.clockseq&&(o=o+1&16383),(f<0||l>u)&&void 0===t.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=l,d=h,c=o;var g=(1e4*(268435455&(l+=122192928e5))+h)%4294967296;s[i++]=g>>>24&255,s[i++]=g>>>16&255,s[i++]=g>>>8&255,s[i++]=255&g;var p=l/4294967296*1e4&268435455;s[i++]=p>>>8&255,s[i++]=255&p,s[i++]=p>>>24&15|16,s[i++]=p>>>16&255,s[i++]=o>>>8|128,s[i++]=255&o;for(var E=t.node||a,C=0;C<6;++C)s[i+C]=E[C];return e||r(s)});var o,a,c,u,d},4093:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(4212),r=n(419);class s{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,i.qR)(0,1)}newEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.attributes||[];for(let t=0;t0&&void 0!==arguments[0]?arguments[0]:{};return t.userId=CE2.data.uid,t.siteId=this.site.id,t.snapshotId=this.snapshotId,t.sessionId=this.sessionId,t.pageFingerprintMd5=this.pageFingerprintMd5,t}processBuffer(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};do{const e=this.bufferQueue.splice(0,10);(0,r.sendEvents)(this.buildTrackerOptions({sendBeacon:t.sendBeacon}),e)}while(this.bufferQueue.length);t.scheduleTimeout&&(this.bufferQueueTimeout=setTimeout((()=>{this.processBuffer({scheduleTimeout:t.scheduleTimeout,sendBeacon:t.sendBeacon})}),this.bufferTimeoutInterval))}}},3739:function(t,e,n){"use strict";n.d(e,{Q0:function(){return a}});var i=n(7419);function r(){try{if(e=navigator.userAgent,!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))return"userAgent";if(!1===navigator.onLine)return"navigator.onLine";const n=((t=window).innerHeight>=16384||t.innerWidth>=16384)&&"viewport-inner";if(n)return n;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"],r=["webdriver","_phantom","__nightmare","_selenium","callPhantom","callSelenium","_Selenium_IDE_Recorder"];for(let t=0;t0&&void 0!==arguments[0]&&arguments[0];return!(!t&&(0,i.U6)("v11_disable_bot_detection"))&&(!window.__CE_SCRIPT_CHECK&&(!t&&o||(void 0===o&&(o=r()),o=o||s()),o))}},2309:function(t,e,n){"use strict";n.d(e,{JY:function(){return u},NW:function(){return d},VB:function(){return a},Vm:function(){return l},W7:function(){return o},hy:function(){return c}});var i=n(8229);const r={intToStr:{},strToInt:{}},s=[],o=t=>"string"==typeof t?t:r&&r.intToStr?r.intToStr[t]:void 0,a=t=>{"number"==typeof t.nid&&"string"==typeof t.id&&(t.nid in r.intToStr||(r.intToStr[t.nid]=t.id,r.strToInt[t.id]=t.nid))},c=(t,e,n)=>{CE2.tracker&&CE2.tracker.goals||CE2.virtualTracker?h(CE2.tracker||CE2.virtualTracker,t,e,n):s.push([t,e,n])},u=(t,e,n)=>i.N.nextGoalConversionValue(t,e,n),d=t=>i.N.setCurrency(t),l=t=>{let e;for(;e=s.shift();)h(t,...e)},h=(t,e,n,i)=>{const s="number"==typeof(o=e)?o:r&&r.strToInt?r.strToInt[o]:void 0;var o;"number"==typeof s?t.goalConversion(s,n,i||s):t.codeConversion(e,n)}},8229:function(t,e,n){"use strict";n.d(e,{N:function(){return u}});var i=n(8786),r=n(15);const s="gtrk.cnv",o="gtrk.la",a="gtrk.ngv",c="gtrk.c",u={get(t){return r.D.get(t)},set(t,e){return r.D.set(t,e)},del(t){return r.D.del(t)},reset(){this.del(s),this.del(o)},alive(){this.isExpired()&&this.reset(),this.set(o,(+new Date).toString(36))},isExpired(){const t=parseInt(this.get(o),36);return!!t&&new Date-t>18e5},getConvertedIds(){if(this.isExpired())return[];const t=this.get(s);return t?t.split(",").map((t=>parseInt(t,36))).filter((t=>!Number.isNaN(t))):[]},recordConversion(t){if("number"!=typeof t||Number.isNaN(t))return;const e=this.getConvertedIds();e.includes(t)||(i.Z.emit("complete",{goal:{id:t}}),e.push(t),this.set(s,e.map((t=>t.toString(36))).join(",")))},alreadyConverted(t){return this.getConvertedIds().includes(t)},setCurrency(t){this.set(c,t)},getCurrency(){return this.get(c)},nextGoalConversionValue(t,e,n){let i=this.get(a);i=i?CE2.Native.JSON.parse(i):{};const r=i[t]&&i[t].findIndex((t=>t.triggerId==n));r&&!e?delete i[t][r]:r&&e?i[t][r]={value:e,triggerId:n}:e&&(i[t]||(i[t]=[]),i[t].push({value:e,triggerId:n})),this.set(a,CE2.Native.JSON.stringify(i))},getNextGoalConversionValue(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.get(a);n=n?CE2.Native.JSON.parse(n):{};let i=n[t]&&n[t].findIndex((t=>t.triggerId==e)),r=n[t]&&n[t][i];r||(i=n[t]&&n[t].findIndex((t=>!t.triggerId)),r=n[t]&&n[t][i]);const s=this.getCurrency();if(r&&!r.value.currency&&s&&(r.value.currency=s),n[t]&&(delete n[t][i],0===n[t].length&&delete n[t]),this.set(a,CE2.Native.JSON.stringify(n)),r)return r.value}}},4861:function(t,e,n){"use strict";n.d(e,{C:function(){return s},F:function(){return o}});var i=n(9330),r=(n(598),n(4991));function s(t){const e=t.lastIndexOf(","),n=t.lastIndexOf(".");let i,r=t.replace(/[^0-9.,]/g,"");if(e>-1&&n>-1)i=e>n?",":".";else if(e>-1||n>-1){const t=e>-1?",":".",n=r.split(t);2===n.length&&n[1].length<3&&(i=t)}return i?(r=r.replace(new RegExp(`[^0-9\\${i}]`,"g"),""),r=r.replace(new RegExp(`\\${i}`),".")):r=r.replace(/[^0-9]/g,""),parseFloat(r)}class o{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.goals=(t||[]).filter((t=>{if(!t.triggers)return!1;for(let e=0,n=t.triggers;e{const i={worth:s(e.innerText),currency:c};(0,r.fF)("[Goals] Goal target value detected",{goal:n,trigger:o,original:e.innerText,value:i}),i&&t({type:"goalValue",value:i,goal:n,trigger:o})}))}}}}initMutationObserver(){if(this.mutationObserver)return;if(!this.goals.length)return;this.onMutation.bind(this);this.mutationObserver=new MutationObserver(this.onMutation.bind(this)),this.mutationObserver.observe(CE2.d,{subtree:!0,childList:!0,characterData:!0})}onMutation(t){for(let e=0;et)},customSamplingApplies(){if(!this.clock)return!1;const t=CE2.clock.getDate();if(!t)return!1;const e=new Date(1e3*parseInt(this.site.recordingSettings.samplingStartDateUnix,10)),n=new Date(1e3*parseInt(this.site.recordingSettings.samplingEndDateUnix,10)),i=new Date(1e3*parseInt(this.site.recordingSettings.samplingUpdatedAt,10)),r=new Date(1e3*parseInt(this.site.recordingSettings.samplingCompletedAt,10));return!(i&&r&&r>i)&&(e<=t&&t<=n)},customPeriodEnded(){if(!this.clock)return!1;return CE2.clock.getDate()>new Date(1e3*parseInt(this.site.recordingSettings.samplingEndDateUnix,10))},debug(t,e){(0,i.fF)(`[Sessions] ${t}`,e)},_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"}}},3131:function(t,e,n){"use strict";n.d(e,{H:function(){return h}});var i=n(4991),r=n(15),s=n(2289);const o="v11.s",a="v11.fs",c="v11.sla",u="v11.send",d="v11.cs",l="v11nv";class h{constructor(t){var e;(this.id=this.get(o),this.id&&!h.isTheSameSite()&&this.reset("site changed"),t?this.set(a,1):this.del(a),this.id)||(this.id=(0,s.I)(),this.isNew=!0,r.D.set(d,null===(e=CE2.site)||void 0===e?void 0:e.id))}static isTheSameSite(){var t;const e=r.D.get(d);return!e||e==(null===(t=CE2.site)||void 0===t?void 0:t.id)}static exists(){return!!r.D.get(o)}static isFull(){return!!r.D.get(a)}get(t){return r.D.get(t)}set(t,e){return r.D.set(t,e)}del(t){return r.D.del(t)}store(){this.id?this.set(o,this.id):this.del(o),this.isNew=!1}reset(t){this.del(o),this.del(c),this.del(u),this.del(l),this.del(a),this.del(d),this.id=null}alive(){this.isInactive()||this.set(c,+new Date)}isExpired(){return this.isDeleted()?"isDeleted":this.isEnded()?"isEnded":!!this.isInactive()&&"isInactive"}isInactive(){const t=parseInt(this.get(c),10);if(this.id&&t){if(+new Date-t>18e5)return(0,i.fF)("[Sessions] isInactive"),!0}return!1}isEnded(){const t=parseInt(this.get(u),10);if(!isNaN(t))return!!(this.id&&t&&+new Date-t>3e5)||(this.del(u),!1)}isDeleted(){return!this.isNew&&!this.get(o)}numberVisits(){return parseInt(this.get(l),10)||0}setNumberVisits(t){return this.set(l,t)}end(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=parseInt(this.get(u),10);!e&&t?this.set(u,1):e||this.set(u,+new Date)}}},7632:function(t,e,n){"use strict";n.d(e,{DI:function(){return c},Pb:function(){return a},Sy:function(){return s},kJ:function(){return o}});var i=n(598);let r=null;const s=function(t){var e;r=1,null!==(e=CE2.tracker)&&void 0!==e&&e.session||(CE2.recordingSettingChanged=!0),null!=t&&t.tags&&(0,i._U)(t.tags)},o=function(){var t;r=0,null!==(t=CE2.tracker)&&void 0!==t&&t.session&&(CE2.recordingSettingChanged=!0)},a=function(){return 1===r},c=function(){return 0===r}},2638:function(t,e,n){"use strict";n.d(e,{f:function(){return f}});var i=n(598),r=n(419),s=n(3753),o=n(8229),a=n(1239),c=n(4991),u=n(4093),d=n(15);const l="swk";function h(t,e,n){if(isNaN(t))return!1;const i=d.D.get(l);if(!i)return d.D.set(l,[t,e].join("|")),!0;{const[r]=i.split("|");if(n(t,r))return d.D.set(l,[t,e].join("|")),!0}return!1}class f extends u.Z{constructor(){super(...arguments),this.eventHandlers={},this.virtual=!1,this.url=window.location.href,this.setVisitorIDs(),this.setVisitIDs()}setVisitIDs(){this.visitID=this.makeId()}setVisitorIDs(){var t;this.visitor.getId()&&this.visitor.getStoredId()&&this.visitor.getId()!==this.visitor.getStoredId()&&(null===(t=this.resetSessionTracking)||void 0===t||t.call(this));this.visitorID=this.visitor.getId(),this.visitorIdentification=this.visitor.getIdentification()}identify(t){if(!this.session||!t)return;this.visitor.identify(t),this.visitorIdentification=t;const e=[t],n=this.newEvent(17,{attributes:e});this.send(n)}clearIdentity(){this.visitorIdentification=null,this.visitor.clearIdentity()}amountInCents(t){return t&&!isNaN(t)&&Math.round(1e4*parseFloat(t))}increaseSessionWorth(t,e){((t,e)=>h(t,e,((t,e)=>t>e)))(t,e)&&this.setSessionWorth(t,e)}decreaseSessionWorth(t,e){((t,e)=>h(t,e,((t,e)=>t{const i=e[n];void 0!==i&&t.push(String(n),i)})),t}goalConversion(t,e,n){var i;const u=!o.N.alreadyConverted(t),d=(0,s.getConvertedCTA)(t),l=this.visitor.getFirstVisitData(),h=this.goals.find((e=>{let{id:n}=e;return n===t}));let f,g;if(e||(e=o.N.getNextGoalConversionValue(t,n))&&(0,c.fF)("[Goal] Using stored value",{goal:h,triggerId:n,value:e}),!e&&h&&h.triggers){const t=h.triggers.find((t=>t.id==n));t&&t.fixedValue&&(e=t.fixedValue,(0,c.fF)("[Goal] Using fixed value",{goal:h,trigger:t,value:e}))}e&&"object"==typeof e&&e.worth&&!isNaN(e.worth)&&(f=e.currency,g=e.worth,this.increaseSessionWorth(g,f));let p=[CE2.w.location.href,(null==d?void 0:d.goalId)===t?d.id:void 0,(null==d?void 0:d.goalId)===t?null===(i=CE2.data.addons.find((t=>{let{id:e}=t;return e===d.id})))||void 0===i?void 0:i.name:void 0,null==h?void 0:h.name,this.visitorIdentification,t,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,f];(null==d?void 0:d.goalId)===t&&((0,r.sendCounter)("cta:conversion",d.id),(0,s.resetConvertedCTA)(t));const E=(0,a.D7)(),C=[null==E?void 0:E.id,null==E?void 0:E.name,null==E?void 0:E.variantId,(0,a.Wf)().map((t=>{let{id:e}=t;return e}))];if(E){const t=CE2.flows[E.id],e=CE2.flows[E.id].variants[E.variantId];C.push(t.realId),C.push(e.realId)}const v=[this.visitID,n,u,this.session?this.session.numberVisits():"",...p,...C],m=this.newEvent(26,{attributes:v});this.sendImmediatelly(m,{goalId:t}),u&&o.N.recordConversion(t),"function"==typeof CE2.convertedFromFlow&&CE2.goalIdString(t)&&CE2.convertedFromFlow(t),(0,c.fF)("[Goals] Converted",t,e,n)}codeConversion(t,e){this.goals.forEach((n=>{n.triggers.forEach((i=>{const r=i.filter.conditions.filter((t=>"code"===t.criteria));if(0!==r.length)for(let s=0;s1&&void 0!==arguments[1]?arguments[1]:{};(0,r.sendEvents)(this.buildTrackerOptions(e),[t])}sendCustomUserData(){const t=[CE2.userData[1],CE2.userData[2],CE2.userData[3],CE2.userData[4],CE2.userData[5]],e=this.newEvent(18,{attributes:t});this.send(e)}newEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=super.newEvent(t,e),i=this.getUserData();return i.length>0&&n.push(i),n}sendTag(t){if(this.session&&t){const e=[t],n=this.newEvent(19,{attributes:e});this.send(n)}}addTag(t){const e=CE2.Native.Array.isArray(t)?t:[t];for(let t=0;t2&&void 0!==arguments[2]?arguments[2]:window;this.eventsTargets||(this.eventsTargets=new Map);let r=this.eventsTargets.get(n);r||(r=new Map,this.eventsTargets.set(n,r));let s=r.get(t);s||(s={hooks:[]},s.handler=function(){for(let t=0,e=s.hooks;t{"visible"!==document.visibilityState&&this.onPageHide&&this.onPageHide()}))}}},7419:function(t,e,n){"use strict";n.d(e,{U6:function(){return Y},LR:function(){return Q},IS:function(){return J},H:function(){return X}});var i=n(598),r=n(4991),s=n(3739),o=n(419);const a="ce_successful_csp_check";class c{check(t){if(void 0===this.isSuccessful&&(this.isSuccessful=c.get()),void 0!==this.isSuccessful)return void t();const e=[CE2.data.page_states_tracking_url,CE2.data.assets_tracking_url].map((t=>t?new Promise((e=>{(0,o.get)(`${t}/healthcheck`,(t=>{t&&200===t.status&&t.responseText?(t=CE2.Native.JSON.parse(t.responseText.trim()),e("ok"===t.status)):e(!1)}))})):Promise.resolve(!0)));e.push(c.getInlineWorkerPromise()),Promise.all(e).then((e=>{this.isSuccessful=-1===e.findIndex((t=>!1===t)),this.isSuccessful&&c.store(),t()}))}hasIssues(){return!this.isSuccessful}static getInlineWorkerPromise(){return new Promise((t=>{try{const e=(0,i.gk)((t=>{self.postMessage(t.data)}),!1);if(e){const n=setTimeout((()=>{e.terminate(),t(!1)}),500);e.onmessage=i=>{clearTimeout(n),e.terminate(),t("hello"===i.data)},e.postMessage("hello")}else t(!1)}catch(e){t(!1)}}))}static store(){localStorage.setItem(a,+new Date+864e5)}static get(){let t=localStorage.getItem(a);if(t){if(t=parseInt(t,10),t>+new Date)return!0;localStorage.removeItem(a)}}}const u=new c,d=function(){const t="!$%&()*+,-.0123456789;<=>?@[]^_`{|}~",e={};let n;for(n=0;nd[t])),36)},h=function(t){let e="";const n=/(![^:\/a-z])|([^:\/a-z]{2})|(:[^:\/a-z]{3})|(\/[^:\/a-z]{4})/gi,i=String.fromCharCode;let r;for(;null!=(r=n.exec(t));)r[1]||r[2]?e+=i(l(r[0])):r[3]?e+=i(l(r[3].substr(1))):r[4]&&(e+=i(l(r[4].substr(1))));return e};var f=n(3131);var g=n(7969),p=n(2786),E=n(15);const C=function(){const t="v11slnt";function e(){E.D.set(t,+new Date)}function n(){const e=function(){const e=E.D.get(t);if(e)return parseInt(e,10)}();return!!e&&+new Date-e<6e5}return{slow:()=>{if(Y("v11_record_slow_network"))return!1;try{return function(){if(navigator&&navigator.connection&&navigator.connection.downlink){const{downlink:t}=navigator.connection;t<.5&&e()}}(),function(){if(performance&&performance.getEntriesByType){const t=performance.getEntriesByType("resource");if(void 0===t||t.length<=0)return!1;let n,i;for(let e=0;e1e3&&e()}}}(),n()}catch(t){return(0,r.fF)(t),!1}}}};function v(t){if(""!==t&&!/^\s*#.*$/.test(t))return t.replace(/\s*#.*$/,"")}function m(t,e){return e.indexOf("-")>-1?function(t,e){if(-1===t.indexOf("."))return!1;const n=t.split("."),i=v(e);if(!i)return!1;const r=i.split("-");if(!r[0]||!r[1])return!1;const s=r[0].split("."),o=r[1].split(".");for(let t=0;t<4;t++){if(!s[t]||!o[t])return!1;if("*"===s[t]||"*"===o[t])continue;const e=parseInt(n[t],10);if(eparseInt(o[t],10))return!1}return!0}(t,e):e.indexOf(":")>-1?function(t,e){if(-1===t.indexOf(":"))return!1;const n=t.split(":"),i=v(e);if(!i)return!1;const r=i.split(":");for(let t=0;t1&&void 0!==arguments[1]&&arguments[1];T(t,e,n)}},T=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=n?"matched":"rejected";S.push({rule:t,result:i,message:e})};const k=function(t){if(!t.sessionRecording)return void(0,r.fF)("[Sessions] Recordings disabled");if(!(t.recordingSettings&&t.recordingSettings.recordIframes)&&CE2.w.parent!==CE2.w){const t=(0,i.ar)(),e=(0,i.yT)().substr(1);if(t&&t.indexOf(e)>-1)return void(0,r.fF)("[Sessions] Recordings prevented from iframe")}const e=function(t){let e,n;const{rules:i}=t;if(CE2.data.disable_recordings_mobile&&1!==CE2.clock.getDeviceType())return T({disable_recordings_mobile:disable_recordings_mobile,device:CE2.clock.getDeviceType()},"disabled mobile",!1),!1;if(t.pageTargetingEnabled){if((0,y.Pb)())return!0;if(i&&i.length)for(e=0;n=i[e++];)if((0,g.L)(n.u,CE2.w.location.href,n.o,null,null,I(n)))return!0;return!1}return T({},"All pages",!0),!0}(t.recordingSettings),n=t.recordingSettings&&function(t){const{blockedRules:e}=t;return(0,y.DI)()||(0,i.Ad)(e)}(t.recordingSettings),s=(new C).slow()?"slow network":(0,i.mT)()?u.hasIssues()?"site has csp issue":void 0:"inline-workers not supported";if(f.H.exists()&&f.H.isFull()){const e=new f.H(!0);if(s){const t=`[Sessions] Stopped: ${s}`;return e.reset(t),void Q(t)}if(e.isExpired()){const t="[Sessions] Expired";return e.reset(t),void(0,r.fF)(t)}if(n&&(t.recordingSettings.endSessionOnBlockedUrl||(0,y.DI)())){const t="[Sessions] Page blocked and marked to end";return e.reset(t),void Q(t)}if(n){return void Q("[Sessions] Page blocked")}return(0,r.fF)("[Sessions] Continued"),e}if((0,r.fF)("[Sessions] Matching parameters",CE2.w.location.href),(0,r.fF)("[Sessions] Matching target",S),S=[],!e)return void(0,r.fF)("[Sessions] No matches");if((0,r.fF)("[Sessions] Matched",{url:CE2.w.location.href}),n)return void(0,r.fF)("[Sessions] Page blocked");if(s)return void(0,r.fF)(`[Sessions] Won't start: ${s}`);const o=new p.T(t);return o.validRatio()&&o.canRecord()?((0,r.fF)("[Sessions] Sampling accepted, starting new"),new f.H(!0)):((0,r.fF)("[Sessions] Sampling rejected"),!1)},b=function(t,e,n,i,r,s){let o,a,c;if(!t||!t.length)return;const u=CE2.clock.getDateUnix();for(o=0;a=t[o++];)a.e&&(!u||a.e<=u)?N(a,"expired"):n&&!/n/.test(a.o||"")||r&&!/go/.test(a.o||"")?N(a,"not named snapshot"):a.s&&(!u||a.s>u)?(N(a,"pending"),CE2.p[a.id]=a):R(a,e,n,i,r,s)&&(c||(c=a),CE2.scriptCheckMatchingSnapshots||(CE2.scriptCheckMatchingSnapshots=[]),CE2.scriptCheckMatchingSnapshots.indexOf(a.id)<0&&CE2.scriptCheckMatchingSnapshots.push(a.id));return c},R=function(t,e,n,i,r,o){if(void 0===t.isBlocked&&(t.isBlocked=new w(t.ip).blocked(o)),t.isBlocked)return N(t,"IP blocked"),!1;if((0,s.Q0)())return N(t,"bot blocked"),!1;if(i){const e=i==t.vid;return N(t,`variantid=${i} allowed=${t.vid}`,e),e}return!i&&t.vid?(N(t,`variantid=${i} allowed=${t.vid}`),!1):r?(0,g.L)(t.u,r,t.o,t.d,CE2.n.userAgent,D(t)):(0,g.L)(t.u,n||e,t.o,t.d,CE2.n.userAgent,D(t))},D=function(t){return function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N(t,e,n)}},N=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const i=n?"matched":"rejected";_.push({id:t.id,result:i,message:e})},A=function(t,e,n,i,s){(0,r.fF)("[Snapshots] Matching parameters",{pageUrl:e,ceSnapshotName:n,variantId:i,gaData:s});let o=null,a=null,c=null;return i&&(o=b(t,e,n,i,null,CE2.clock.getIP())),s&&(a=b(t,e,n,null,s,CE2.clock.getIP())),c=b(t,e,n,null,null,CE2.clock.getIP()),(0,r.fF)("[Snapshots] Matching targets",_),_=[],o||a||c};var O=n(4212),$=n(2466),x=n(3456);var P=n(2218);const U="_ce.clock_data",V="_ce.clock_event",M=/^[123]$/;function L(){}L.prototype={getData(){return(0,i.ej)(U)},onReady(t){var e;const n=(0,i.ej)(U);if(n){const[e,i,r,s,o,a]=n.split(",");if(!s||s===(0,P.F)(CE2.n.userAgent))return e&&i&&(this.diff=parseInt(e,10),this.ip=i,this.device=r&&M.test(r)?parseInt(r,10):void 0,this.userAgentMd5=s,this.browser=o,this.country=a,this.valid=!0),t&&t(),void CE2.debug("[Loading] Clock loaded from cookie",n);CE2.debug("[Loading] User agent changed, reloading clock")}let s=`${CE2.data.clock_url}?t=${+new Date}&tk=${CE2.data.tracking_key}`;if(null!==(e=CE2.site)&&void 0!==e&&e.id){const t=CE2.w.encodeURIComponent(CE2.w.location.pathname),e=CE2.w.encodeURIComponent(CE2.w.CE_URL_FINGERPRINT()),n=CE2.w.encodeURIComponent(CE2.w.location.href),r=CE2.data.uid,o=`&s=${CE2.site.id}&p=${t}&u=${r}&v=${CE2.visitorTracker.getId()}&f=${e}&ul=${n}`;(0,i.ej)(V)||((0,i.wn)(V,"1",{expiresInDays:1}),s=`${s}${o}`)}(0,o.get)(s,(e=>{const[n,s,o,a,c]=e.responseText.split(","),u=parseInt(n,10);if(u>0){const e=+new Date-u;this.diff=e,this.ip=s,this.device=o&&M.test(o)?parseInt(o,10):void 0,this.browser=a,this.country=c,this.userAgentMd5=(0,P.F)(CE2.n.userAgent),this.valid=!0;const n=[e,s,this.device,this.userAgentMd5,this.browser,this.country].join(",");(0,i.wn)(U,n,{expiresInDays:1}),(0,r.fF)("[Loading] Clock fetch from api",n),t&&t()}else(0,r.fF)("[Loading] Error when fetching clock, stopping")}))},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 t=this.getDate();if(t)return Math.floor(t/1e3)},getDeviceType(){return this.device?this.device:((0,r.fF)("[Loading] Clock didn't know device. Using deviceType() instead."),function(t){const e=t.toLowerCase();let n,i,r=0;if(n=t.indexOf("("),-1==n)return 1;if(n++,-1!=(i=t.indexOf("Android",n))){if(i+=8,t.length>i&&(r=t.charAt(i)))switch(r){case"2":if(-1!=t.indexOf("BNTV",i))return 3;if(-1!=e.indexOf("nook",i))return 3;if(-1!=t.indexOf("Kindle",i))return 3;if(-1!=t.indexOf("Touchpad",i))return 3;break;case"3":return 3;case"4":if(-1!=t.indexOf("Silk",i))return 3}return-1!=e.indexOf("tablet",i)?3:-1!=t.indexOf("Mobi",i)?2:3}if(-1!=(i=t.indexOf("iP",n)))switch(r=t.charAt(i+2),r){case"a":return 3;case"h":case"o":return 2}return-1!=(i=t.indexOf("BlackBerry",n))?-1!=t.indexOf("Tablet",i+10)?3:2:-1!=t.indexOf("Windows Phone",n)||-1!=t.indexOf("BB10",n)||"M"!=t.charAt(0)&&-1!=t.indexOf("Opera Mini",n)?2:1}(CE2.n.userAgent))}};var F=n(2845),H=n(5930),B=n(4093);class j extends B.Z{constructor(){super(...arguments),this.site=CE2.site,this.visitData=this.visitor.getFirstVisitData(),this.bufferTimeoutInterval=6e4,this.processBuffer({scheduleTimeout:!0}),this.setupPageHideHandler()}trigger(){var t,e,n,i,r;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{w:o}=CE2,{flowDetails:a}=s;this.bufferQueue.push(this.newEvent(39,{attributes:[this.visitor.getIdentification(),o.location.href,null===(t=o.CE_URL_FINGERPRINT)||void 0===t?void 0:t.call(o),this.visitData.referrer,this.visitData.utm,this.visitData.landingUrl,this.visitor.isReturning(),null==a||null===(e=a.flow)||void 0===e?void 0:e.name,null==a||null===(n=a.flow)||void 0===n?void 0:n.id,null==a||null===(i=a.variant)||void 0===i?void 0:i.name,null==a||null===(r=a.variant)||void 0===r?void 0:r.id]}))}setupPageHideHandler(){(0,i.oL)(CE2.w,"visibilitychange",(()=>{"visible"!==CE2.d.visibilityState&&this.processBuffer({sendBeacon:!0})}))}}var K=n(5985),G=n(5307),W=n(4262);const q=function(t){if(CE2.data&&CE2.data.samplingData)return t();const e=CE2.getNativeXMLHttpRequest(),n=parseInt(+new Date/36e5,10);e.onreadystatechange=function(){if(4==e.readyState)try{200==e.status&&e.responseText&&(CE2.data.samplingData=CE2.Native.JSON.parse(e.responseText),t())}catch(t){(0,r.fF)("[Loading] Error loading sampling data",t.message)}},e.onerror=function(t){(0,r.fF)("[Loading] Error loading sampling data",t.message)},(0,r.fF)("[Loading] Sampling user data",CE2.data.sampling_data_url),e.open("GET",`${CE2.data.sampling_data_url}?t=${n}`,!0),e.send()},J=function(){(0,i.nR)()?X():CE2.commonScriptForceLoaded?((0,F.MY)(),CE2.clock=new L,CE2.clock.onReady((()=>{(0,H.p8)(H.K0.PREVIEW)}))):CE2.data?q((()=>{z()})):CE2.data||"string"!=typeof CE_USER_DATA_URL?(0,r.fF)("No CE2.data nor CE_USER_DATA_URL found, stopping."):((0,r.fF)(`No CE2.data, loading user data for CE_USER_DATA_URL=${CE_USER_DATA_URL}.`),(0,o.get)(CE_USER_DATA_URL,(t=>{CE2.data=CE2.Native.JSON.parse(t.responseText),CE2.userDataToJs&&CE2.userDataToJs(CE2.data),q((()=>{z()}))})))},Y=function(t){if(!CE2.data||!CE2.data.features)return!1;for(let e=0,n=CE2.data.features;e{t.persisted&&(delete CE2.monitorPagePath,delete CE2.monitorPageUrl)}));const t=function(){if((0,H.p8)(H.K0.PREVIEW,{site:g}),new w(c).blocked(CE2.clock.getIP()))return(0,r.fF)("[Loading] IP Blocked",CE2.clock.getIP()),void(CE2.ipBlocked=!0);CE2.ipBlocked=!1,Y("page-view")&&(CE2.pageViewTracker=new j),"function"==typeof CE2.initFlowTracking?CE2.flowDetails=CE2.initFlowTracking():(0,G.JF)()&&(0,G.n3)(),Z=function(){try{var t,n;const u=CE2.w.location.href,l=CE2.w.location.pathname,h=CE2.flowDetails&&CE2.flowDetails.flow&&CE2.flowDetails.flow.trackByVariant&&CE2.flowDetails.variant.variantId,f="string"==typeof CE_SNAPSHOT_NAME&&CE_SNAPSHOT_NAME.trim(),p=function(t){const e={};if(t&&t.length){const{gaData:n,google_optimize:i}=CE2.w;t.forEach((t=>{if(t&&"go"==t.o){const a=(t.u||"").split(".");if(a[1]){var r,s,o;const t=(null==n||null===(r=n[a[0]])||void 0===r||null===(s=r.experiments)||void 0===s?void 0:s[a[1]])||(null==i||null===(o=i.get)||void 0===o?void 0:o.call(i,a[1]));t&&(e[a[1]]=t)}}}))}return e}(e),E=CE2.clock.getDateUnix();let C=!1,v=CE2.monitorSession,m=CE2.monitorSnapshot,w=m&&m.e&&E>=m.e,y=(CE2.monitorSdat,CE2.monitorGoalIds);if(CE2.monitorPageUrl==u&&CE2.monitorVariantId==h&&CE2.monitorGaData==CE2.Native.JSON.stringify(p)&&CE2.monitorCESnapshotName==f&&!w&&!CE2.recordingSettingChanged)return;var s;if((0,i.me)(),CE2.monitorPagePath!==l&&(C=!0),C)null===(s=CE2.pageViewTracker)||void 0===s||s.trigger({flowDetails:CE2.flowDetails});C&&(0,W.Pl)(),!C||d||CE2.flowPatchApplied||("function"==typeof CE2.initFlowTracking?CE2.flowDetails=CE2.initFlowTracking():(0,G.JF)()&&(0,G.n3)()),CE2.monitorPagePath=l,CE2.monitorPageUrl=u,CE2.monitorVariantId=h,CE2.monitorGaData=CE2.Native.JSON.stringify(p),CE2.monitorCESnapshotName=f,CE2.logHistoryEnabled=!0,C?($.u.pageChanged(),v=k(g),(0,H.p8)(H.K0.PAGE_CHANGE,{site:g,session:v})):CE2.recordingSettingChanged&&(v=k(g)),CE2.recordingSettingChanged=!1,e&&e.length?(m=A(e,u,f,h,p),!m&&f&&(m=A(e,u,null,h,p))):(0,r.fF)("[Snapshots] Nothing to match"),m?((0,r.fF)("[Snapshots] Matched",m),CE2.scriptCheckSelectedSnapshot=m.id):e&&e.length&&(0,r.fF)("[Snapshots] No matches");const _=function(t,e){return t&&e?t.filter((t=>t.site_id===e.id)):((0,r.fF)("[Goals] Nothing to match"),[])}(a,g)||[];if(_.length&&((0,r.fF)("[Goals] Matched",_),y=_.sort().map((t=>t.id)).join(",")),CE2.virtualTracker||(CE2.virtualTracker=new K.h(g,v,_)),Y("v11_session_logs")&&v&&v.isNew||"undefined"!=typeof CE_SESSION_LOG&&CE_SESSION_LOG){var c;const t=((null===(c=CE2.state)||void 0===c?void 0:c.logHistory)||[]).map((t=>`${v.id}: ${t}`));t.length>0&&(0,o.send)(`${CE2.data.v11_tracking_dest}/logs`,t.join("\n"),{sendBeacon:!0})}if(CE2.state&&(CE2.state.logHistoryEnabled=!1,CE2.state.logHistory=[]),d=!1,v===CE2.monitorSession&&m===CE2.monitorSnapshot&&y===CE2.monitorGoalIds&&(null===(t=CE2.state)||void 0===t?void 0:t.survey)===CE2.monitorSurvey&&!C)return;CE2.monitorSession=v,CE2.monitorSnapshot=m,CE2.monitorGoalIds=y,CE2.monitorSurvey=null===(n=CE2.state)||void 0===n?void 0:n.survey,C&&CE2.virtualTracker&&CE2.virtualTracker.update(),v||m||_.length?CE2.loadSessionTrackingScript((()=>{!function(t,e,n,s,o){let a,c;const u={};if(t&&(u.snapshotId=t.id,u.snapshotVersion=t.v),n&&(u.session=n.id||n),o&&(u.goals=o.map((t=>t.id))),t&&(0,i.Av)(t)&&(a=t.id,c=t.v,CE2.testID=a,CE2.testVersion=c),CE2.tracker){if(CE2.tracker.visitor&&(u.visitor=CE2.tracker.visitor.getId()),!CE2.tracker.session||n)return(0,r.fF)("[Loading] Updating Tracker",u),void CE2.tracker.update(a,c,n,s);CE2.resetTracker()}a||n||o?(CE2.tracker=new CE2.V11Tracker(c,CE2.VERSION,a,n,CE2.getCensoredElements(e),e,o),u.visitor=CE2.tracker.visitor.getId(),(0,r.fF)("[Tracker] Starting",u)):(0,r.fF)("[Tracker] Not started",u)}(m,g,v,C,_)})):CE2.tracker&&CE2.resetTracker()}catch(t){(0,r.fF)(t)}},et()};!CE2.data.sites_sampling&&CE2.data.samplingData&&CE2.data.samplingData.sites_sampling&&(CE2.data.sites_sampling=CE2.Native.JSON.parse(h(CE2.data.samplingData.sites_sampling))),u.check((()=>{CE2.clock=new L,CE2.clock.onReady(t)}))}else Q("No site match.")}catch(t){(0,r.fF)(t)}finally{nt()}};CE2.resetTracker=function(){CE2.testID=CE2.testVersion=CE2.scriptCheckMatchingSnapshots=CE2.scriptCheckSelectedSnapshot=null,CE2.tracker&&(CE2.tracker.cleanup(),delete CE2.tracker,(0,r.fF)("[Tracker] Reset"))};const X=function(){CE2.visitorTracker=(0,x.w)(),CE2.visitorTracker.load(),$.u.load(),nt(),CE2.site={id:1,name:(0,i.yT)()};const t=function(){CE2.loadSessionTrackingScript((()=>{(0,r.fF)("[Tracker] Starting Test Mode"),CE2.tracker=new CE2.V11Tracker(12,CE2.VERSION,"testsnapshot",new f.H,!0),CE2.tracker.testMode=!0,(0,H.p8)(H.K0.TEST_MODE,{site:CE2.site,session:CE2.tracker.session})}))};u.check((()=>{CE2.clock=new L,CE2.clock.onReady(t)}))};let Z,tt;const et=function(){(0,r.fF)("[Loading] Starting Monitor"),Z&&!(0,s.Q0)()&&(Z(),tt=setInterval(Z,1e3))},nt=function(){CE2.bh&&(CE2.bh.parentElement.removeChild(CE2.bh),CE2.bh=null)}},5985:function(t,e,n){"use strict";n.d(e,{h:function(){return u},x:function(){return c}});var i=n(598),r=(n(419),n(3131)),s=n(2638),o=n(2309);const a="ce_virtual_tracker_data",c={VISIT:"visit",SESSION_METADATA:"sessionmetadata"};class u extends s.f{constructor(t,e,n){super(...arguments),this.site=t,this.goals=n,e?this.session=e:(this.session=new r.H(!1),this.validateSession()),this.sessionId=this.session.id,this.virtual=!0,this.setupEventHandlers(),this.session.store(),this.processBuffer({scheduleTimeout:!0}),setTimeout((()=>(0,o.Vm)(this)))}validateSession(){!u.hasSessionTracker()&&this.session.isExpired()&&(this.session.reset(),this.session=new r.H(!1),this.sessionId=this.session.id)}update(){this.processBuffer(),this.url=window.location.href,u.hasSessionTracker()||(this.validateSession(),this.setVisitIDs(),this.triggerVisit())}triggerVisit(){this.eventHandlers[c.VISIT]&&this.eventHandlers[c.VISIT].trigger()}resetHandlers(t){for(const e in t)delete this.eventHandlers[e]}setupHandlers(t){for(const e in t)!this.eventHandlers[e]&&Object.values(c).includes(e)&&(this.eventHandlers[e]=new t[e](this));u.hasSessionTracker()||(this.triggerVisit(),this.eventHandlers[c.SESSION_METADATA]&&this.eventHandlers[c.SESSION_METADATA].trigger())}setupEventHandlers(){this.setupPageHideHandler(),this.addEventListener(CE2.opera?"unload":"beforeunload",(0,i.ak)(this,"onUnload")),this.addEventListener("keydown",(0,i.ak)(this,"onActivity")),this.addEventListener("mousemove",(0,i.ak)(this,"onActivity")),this.addEventListener("mousedown",(0,i.ak)(this,"onActivity")),this.addEventListener("scroll",(0,i.ak)(this,"onActivity"))}static hasSessionTracker(){var t;return!(null===(t=CE2.monitorSession)||void 0===t||!t.id)}sendEventWithStoredData(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u.hasSessionTracker()||(this.load(),this.track=!0,this.pushToBuffer()),this.sendImmediatelly(t,e)}send(t){this.session.alive(),u.hasSessionTracker()||(this.load(),this.events.push(t),this.track?this.pushToBuffer():this.store())}store(){localStorage.setItem(a,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:t,e:e,t:n}=CE2.Native.JSON.parse(localStorage.getItem(a)||"{}");this.events=[],this.track=!1,t===this.session.id&&(this.events=e,this.track=!!n)}onActivity(){this.session.alive()}onPageHide(){this.onActivity(),this.processBuffer({sendBeacon:!0})}onUnload(){u.hasSessionTracker()||this.session.end(),this.processBuffer({sendBeacon:!0})}}},3456:function(t,e,n){"use strict";n.d(e,{a:function(){return a},w:function(){return u}});var i=n(598),r=n(4991),s=n(15),o=n(4212);class a{constructor(){CE2BH.defineProperty(this,"RETURNING_MSEC",2592e6),CE2BH.defineProperty(this,"visitorV6Key","_cer.v"),CE2BH.defineProperty(this,"visitorKey","v"),CE2BH.defineProperty(this,"visitorIdentificationKey","vi"),CE2BH.defineProperty(this,"visitorVisitsKeyLegacy","vv"),CE2BH.defineProperty(this,"visitorVisitsKey","vpv"),CE2BH.defineProperty(this,"browserSessionCookie","cebs"),CE2BH.defineProperty(this,"lastVisitAtKey","lva"),CE2BH.defineProperty(this,"isReturningKey","_ce.irv"),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,i.ej)(this.visitorV6Key)&&(this.visitorV6Parts=(0,i.ej)(this.visitorV6Key).split("."))}load(){this.loadVisitorId(),this.loadVisitorIdentification(),this.loadVisitorVisits(),this.loadFirstVisitData()}identify(t){t&&(CE2.IDENTIFIER=this.identification=t,s.D.set(this.visitorIdentificationKey,this.identification))}clearIdentity(){CE2.IDENTIFIER=null,s.D.del(this.visitorIdentificationKey)}del(t){s.D.del(t)}reset(){this.del(this.visitorKey),this.del(this.visitorVisitsKey)}loadVisitorId(){if(this.storedId=s.D.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[t]=this.visitorV6Parts;this.id=t,s.D.set(this.visitorKey,t)}else this.id=(0,o.qR)(),s.D.set(this.visitorKey,this.id)}loadVisitorIdentification(){const t=s.D.get(this.visitorIdentificationKey);CE2.IDENTIFIER?this.identification=CE2.IDENTIFIER:t&&(this.identification=t,CE2.IDENTIFIER=this.identification)}loadVisitorVisits(){const t=!(0,i.ej)(this.browserSessionCookie);t&&(this.isReturning(),localStorage.removeItem(this.firstVisitDataKey)),(0,i.wn)(this.browserSessionCookie,"1"),s.D.get(this.visitorVisitsKey)?this.numVisits=parseInt(s.D.get(this.visitorVisitsKey),10):s.D.get(this.visitorVisitsKeyLegacy)?this.numVisits=1:this.visitorV6Parts&&this.visitorV6Parts[2]&&(this.numVisits=parseInt(this.visitorV6Parts[2],36)),null===this.numVisits?(this.numVisits=0,s.D.set(this.visitorVisitsKey,this.numVisits)):t&&(this.numVisits+=1,s.D.set(this.visitorVisitsKey,this.numVisits))}loadFirstVisitData(){let t=localStorage.getItem(this.firstVisitDataKey);t?this.firstVisitData=CE2.Native.JSON.parse(t):(t={landingUrl:CE2.w.location.href,referrer:CE2.d.referrer,time:Date.now(),utm:(0,i.Eg)(),userData:Object.values(CE2.userData).length>0?[CE2.userData[1],CE2.userData[2],CE2.userData[3],CE2.userData[4],CE2.userData[5]]:[]},this.firstVisitData=t,localStorage.setItem(this.firstVisitDataKey,CE2.Native.JSON.stringify(t)))}isReturning(){return this.returningState()===a.RETURNING_STATE.RETURNING}returningState(){const t=(0,i.ej)(this.isReturningKey);if(t)return(0,r.fF)(`[Visitor] cookie value: ${t}`),t===a.RETURNING_STATE.RETURNING;const e=s.D.get(this.lastVisitAtKey);if(!e)return(0,r.fF)("[Visitor] first visit ever"),s.D.set(this.lastVisitAtKey,Date.now()),(0,i.wn)(this.isReturningKey,a.RETURNING_STATE.NEW),a.RETURNING_STATE.NEW;const n=Date.now()-ec.isReturning(),returningState:()=>c.returningState(),getId:()=>c.id,getIdentification:()=>c.identification,getStoredId:()=>c.storedId,getNumVisits:()=>c.numVisits,getFirstVisitData:()=>c.firstVisitData,load(){c.load()},identify(t){return c.identify(t)},clearIdentity(){c.clearIdentity()}}}},9330:function(t,e,n){"use strict";n.d(e,{pI:function(){return s},vS:function(){return a},wZ:function(){return c}});var i=n(3122),r=n(7969);const s=function(t,e){let{debugCallback:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i="";return t.indexOf("*")>-1&&(i="*"),(0,r.L)(t,e,i,null,null,n)},o=function(t){let{debugCallback:e,operand:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(let i=0,r=t.values;i1&&void 0!==arguments[1]?arguments[1]:{};if(t)for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:{};const n=CE2.w.location.href;return s(t,n,{debugCallback:e})},device(t){return(0,i.j)(t)},referrer(t){let{debugCallback:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=CE2.d.referrer;return n===t&&""===n||s(t,n,{debugCallback:e})}}},9560:function(t,e,n){var i;!function(r){"use strict";function s(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function o(t,e,n,i,r,o){return s((a=s(s(e,t),s(i,o)))<<(c=r)|a>>>32-c,n);var a,c}function a(t,e,n,i,r,s,a){return o(e&n|~e&i,t,e,r,s,a)}function c(t,e,n,i,r,s,a){return o(e&i|n&~i,t,e,r,s,a)}function u(t,e,n,i,r,s,a){return o(e^n^i,t,e,r,s,a)}function d(t,e,n,i,r,s,a){return o(n^(e|~i),t,e,r,s,a)}function l(t,e){var n,i,r,o,l;t[e>>5]|=128<>>9<<4)]=e;var h=1732584193,f=-271733879,g=-1732584194,p=271733878;for(n=0;n>5]>>>e%32&255);return n}function f(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e>5]|=(255&t.charCodeAt(e/8))<>>4&15)+i.charAt(15&e);return r}function p(t){return unescape(encodeURIComponent(t))}function E(t){return function(t){return h(l(f(t),8*t.length))}(p(t))}function C(t,e){return function(t,e){var n,i,r=f(t),s=[],o=[];for(s[15]=o[15]=void 0,r.length>16&&(r=l(r,8*t.length)),n=0;n<16;n+=1)s[n]=909522486^r[n],o[n]=1549556828^r[n];return i=l(s.concat(f(e)),512+8*e.length),h(l(o.concat(i),640))}(p(t),p(e))}function v(t,e,n){return e?n?C(e,t):function(t,e){return g(C(t,e))}(e,t):n?E(t):function(t){return g(E(t))}(t)}void 0===(i=function(){return v}.call(e,n,e,t))||(t.exports=i)}()}},function(t){var e,n=(e=7661,t(t.s=e)),i=CE2="undefined"==typeof CE2?{}:CE2;for(var r in n)i[r]=n[r];n.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})}]);if(CE2.start=function(){CE2.domReadySetup(),CE2.onDOMReady(CE2.userDataMain)},CE2.data&&CE2.data.error_tracking)try{CE2.debug("Starting Error Tracking"),CE2.errorTracking.listen()}catch(t){CE2.debug(t)}CE2.autoStart?CE2.start():CE2.debug("Autostart disabled"),"function"==typeof CE_READY?CE2.onDOMReady(CE_READY):"object"==typeof CE_READY&&CE2.onDOMReady(()=>{CE2.each(CE_READY,t=>{if("function"==typeof t)try{t()}catch(t){CE2.debug("CE2.userMain error:"),CE2.debug(t)}})});