nitroscripts.com
Open in
urlscan Pro
2606:4700:4400::ac40:9af8
Public Scan
URL:
https://nitroscripts.com/rfDNBQqGKJtWiNnVEpCiyKWdpzmevCzZ
Submission: On April 15 via manual from US — Scanned from DE
Submission: On April 15 via manual from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
(async NitroPack=>{if(NitroPack.scriptReady){console.warn("NitroPack: "+(document.currentScript?.src||"Nitro Script")+" is already initialized. The execution will be skipped.");return}if(NitroPack.scriptReady=!0,localStorage.getItem("nitroDebugScript")){console.warn("NitroPack: Debug mode is enabled."),eval(localStorage.getItem("nitroDebugScript"));return}if(localStorage.getItem("nitroDebugScriptUrl")){console.warn("NitroPack: Debug mode is enabled."),await fetch(localStorage.getItem("nitroDebugScriptUrl")).then(t=>t.text()).then(script=>eval(script));return}!function(){"use strict";function e(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}c((r=r.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;const t=JSON.parse(atob("WyIuKj9cXD9hZGRcXC10b1xcLWNhcnRcXD0uKj8iLCIuKj8mYWRkXFwtdG9cXC1jYXJ0XFw9Lio/IiwiLio/XFw/cmVtb3ZlX2l0ZW1cXD0uKj8iLCIuKj8mcmVtb3ZlX2l0ZW1cXD0uKj8iLCIuKj9cXD9hZGQuKj8iLCIuKj8mYWRkLio/IiwiLio/XFw/cmVtb3ZlLio/IiwiLio/JnJlbW92ZS4qPyIsIi4qP1xcPXJlbW92ZS4qPyIsIi4qP1xcP2RlbGV0ZS4qPyIsIi4qPyZkZWxldGUuKj8iLCIuKj9kb3dubG9hZC4qPyIsIi4qP2xvZ291dC4qPyIsIi4qP2xvZ2luLio/IiwiLio/c2lnbm91dC4qPyIsIi4qP3NpZ25pbi4qPyIsIi4qP1xcXC93cFxcLWFkbWluLio/IiwiLio/XFxcL3dwXFwtbG9naW4uKj8iLCIuKj93cG5vbmNlXFw9Lio/IiwiLio/bm9uY2VcXD0uKj8iLCIuKj9cXC5leGUiLCIuKj9cXC56aXAiLCIuKj9cXC5yYXIiLCIuKj9cXC5kZWIiLCIuKj9cXC5ycG0iLCIuKj9cXC5wa2ciLCIuKj9cXC5kbWciLCIuKj9cXC5wZGYiLCIuKj9cXC5tc2kiLCIuKj9cXC5tcDMiLCIuKj9cXC5kb2MiLCIuKj9cXC5kb2N4IiwiLio/XFwucHB0IiwiLio/XFwueGxzIiwiLio/XFwueGxzeCIsIi4qP1xcLm9kdCIsIi4qP1xcLnR4dCIsIi4qP1xcLmpwZyIsIi4qP1xcLmpwZWciLCIuKj9cXC5wbmciLCIuKj9cXC53ZWJwIiwiLio/XFwuZ2lmIiwiLio/XFwuYXZpZiIsIi4qP1xcLm1wNCIsIi4qP1xcLm1vdiIsIi4qP1xcLndtdiIsIi4qP1xcLndlYm0iLCIuKj9cXC5hdmkiLCIuKj9cXC5mbHYiLCIuKj9cXC5ta3YiLCIuKj9cXC5tdHMiXQ==")),n=e=>{for(let n=0;n<t.length;n++)if(null!==e.match(t[n]))return!0;return!1},r="navaidebug",o=()=>document.cookie.includes(r),i=(e,t)=>{var n;if(o()){return null!==(n=(()=>{if(o()){let e=document.cookie.split("; ").find((e=>e.startsWith(r+"="))).split("=")[1];if(""!=e)try{return JSON.parse(e)}catch(e){console.error(e)}}return{}})()[e])&&void 0!==n?n:t}return t},a=Number("0"),l=Number("1"),c=window.location.href,s=performance.getEntriesByType("navigation")[0];Boolean(Number("%TEST_MODE%"))&&c.includes("testnitro=");const d="nitroTargetUrl",u="nitroVisitorJourney",f="nitroVisitorId",p="nitroPv",v="NPTelemetryMeta:lastpv",g="to.getnitropack.com",h={UX:`https://${g}`,UB:`https://${g}/dropoff`},m=i("predictStrategies",["navigation-ai-c","navigation-ai-e"]),y=o()&&!i("logging",!1),w=!!(a&&(()=>{const e=document.cookie.split(";").find((e=>e.trim().startsWith("nitroImpactGroup=")));if(e)return Number(e.split("=")[1]);const t=Math.floor(100*Math.random())+1,n=new Date(Date.now()+864e5).toUTCString();return document.cookie=`nitroImpactGroup=${t}; expires=${n}; domain=${window.location.hostname}; path=/`,t})()<=l),S=(E=m)[Math.floor(Math.random()*E.length)];var E;let T=()=>{var e,t,n;return Math.round((null===(n=null===(t=null===(e=self.performance)||void 0===e?void 0:e.getEntriesByType)||void 0===t?void 0:t.call(e,"navigation")[0])||void 0===n?void 0:n.activationStart)||0)},b=new Promise((e=>{document.prerendering?document.addEventListener("prerenderingchange",(()=>{e(T())})):e(T())})),L=document.prerendering||T()>0,P=new Promise((e=>{if(L){const t=new PerformanceObserver((n=>{for(const r of n.getEntries())return e(r.loadTime>T()),void t.disconnect()}));t.observe({type:"largest-contentful-paint",buffered:!0})}else e(!1)})),C=!L&&s.responseStart-s.requestStart<=5,O=!1;window.addEventListener("pageshow",(e=>{e.persisted&&(L=!1,C=!1,O=!0)}));const N=(I={},A=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},x=function(e){if("loading"===document.readyState)return"loading";var t=A();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},B=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},U=function(e,t){var n="";try{for(;e&&9!==e.nodeType;){var r=e,o=r.id?"#"+r.id:B(r)+(r.classList&&r.classList.value&&r.classList.value.trim()&&r.classList.value.trim().length?"."+r.classList.value.trim().replace(/\s+/g,"."):"");if(n.length+o.length>(t||100)-1)return n||o;if(n=n?o+">"+n:o,r.id)break;e=r.parentNode}}catch(e){}return n},J=-1,F=function(){return J},j=function(e){addEventListener("pageshow",(function(t){t.persisted&&(J=t.timeStamp,e(t))}),!0)},$=function(){var e=A();return e&&e.activationStart||0},V=function(e,t){var n=A(),r="navigate";return F()>=0?r="back-forward-cache":n&&(document.prerendering||$()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},q=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},H=function(e,t,n,r){var o,i;return function(a){t.value>=0&&(a||r)&&((i=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},G=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},K=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},X=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},W=-1,Y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},z=function(e){"hidden"===document.visibilityState&&W>-1&&(W="visibilitychange"===e.type?e.timeStamp:0,Q())},Z=function(){addEventListener("visibilitychange",z,!0),addEventListener("prerenderingchange",z,!0)},Q=function(){removeEventListener("visibilitychange",z,!0),removeEventListener("prerenderingchange",z,!0)},ee=function(){return W<0&&(W=Y(),Z(),j((function(){setTimeout((function(){W=Y(),Z()}),0)}))),{get firstHiddenTime(){return W}}},te=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},ne=[1800,3e3],re=function(e,t){t=t||{},te((function(){var n,r=ee(),o=V("FCP"),i=q("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTime<r.firstHiddenTime&&(o.value=Math.max(e.startTime-$(),0),o.entries.push(e),n(!0)))}))}));i&&(n=H(e,o,ne,t.reportAllChanges),j((function(r){o=V("FCP"),n=H(e,o,ne,t.reportAllChanges),G((function(){o.value=performance.now()-r.timeStamp,n(!0)}))})))}))},oe=[.1,.25],ie={passive:!0,capture:!0},ae=new Date,le=function(e,t){k||(k=t,_=e,R=new Date,de(removeEventListener),ce())},ce=function(){if(_>=0&&_<R-ae){var e={entryType:"first-input",name:k.type,target:k.target,cancelable:k.cancelable,startTime:k.timeStamp,processingStart:k.timeStamp+_};D.forEach((function(t){t(e)})),D=[]}},se=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){le(e,t),o()},r=function(){o()},o=function(){removeEventListener("pointerup",n,ie),removeEventListener("pointercancel",r,ie)};addEventListener("pointerup",n,ie),addEventListener("pointercancel",r,ie)}(t,e):le(t,e)}},de=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,se,ie)}))},ue=[100,300],fe=function(e,t){t=t||{},te((function(){var n,r=ee(),o=V("FID"),i=function(e){e.startTime<r.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),n(!0))},a=function(e){e.forEach(i)},l=q("first-input",a);n=H(e,o,ue,t.reportAllChanges),l&&K(X((function(){a(l.takeRecords()),l.disconnect()}))),l&&j((function(){var r;o=V("FID"),n=H(e,o,ue,t.reportAllChanges),D=[],_=-1,k=null,de(addEventListener),r=i,D.push(r),ce()}))}))},pe=0,ve=1/0,ge=0,he=function(e){e.forEach((function(e){e.interactionId&&(ve=Math.min(ve,e.interactionId),ge=Math.max(ge,e.interactionId),pe=ge?(ge-ve)/7+1:0)}))},me=function(){return M?pe:performance.interactionCount||0},ye=function(){"interactionCount"in performance||M||(M=q("event",he,{type:"event",buffered:!0,durationThreshold:0}))},we=[200,500],Se=0,Ee=function(){return me()-Se},Te=[],be={},Le=function(e){var t=Te[Te.length-1],n=be[e.interactionId];if(n||Te.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};be[r.id]=r,Te.push(r)}Te.sort((function(e,t){return t.latency-e.latency})),Te.splice(10).forEach((function(e){delete be[e.id]}))}},Pe=[2500,4e3],Ce={},Oe=[800,1800],Ne=function e(t){document.prerendering?te((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},Ie=function(e,t){t=t||{};var n=V("TTFB"),r=H(e,n,Oe,t.reportAllChanges);Ne((function(){var o=A();if(o){var i=o.responseStart;if(i<=0||i>performance.now())return;n.value=Math.max(i-$(),0),n.entries=[o],r(!0),j((function(){n=V("TTFB",0),(r=H(e,n,Oe,t.reportAllChanges))(!0)}))}}))},I.CLSThresholds=oe,I.FCPThresholds=ne,I.FIDThresholds=ue,I.INPThresholds=we,I.LCPThresholds=Pe,I.TTFBThresholds=Oe,I.onCLS=function(e,t){!function(e,t){t=t||{},re(X((function(){var n,r=V("CLS",0),o=0,i=[],a=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=i[0],n=i[i.length-1];o&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,i.push(e)):(o=e.value,i=[e])}})),o>r.value&&(r.value=o,r.entries=i,n())},l=q("layout-shift",a);l&&(n=H(e,r,oe,t.reportAllChanges),K((function(){a(l.takeRecords()),n(!0)})),j((function(){o=0,r=V("CLS",0),n=H(e,r,oe,t.reportAllChanges),G((function(){return n()}))})),setTimeout(n,0))})))}((function(t){!function(e){if(e.entries.length){var t=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(t&&t.sources&&t.sources.length){var n=(r=t.sources).find((function(e){return e.node&&1===e.node.nodeType}))||r[0];if(n)return void(e.attribution={largestShiftTarget:U(n.node),largestShiftTime:t.startTime,largestShiftValue:t.value,largestShiftSource:n,largestShiftEntry:t,loadState:x(t.startTime)})}}var r;e.attribution={}}(t),e(t)}),t)},I.onFCP=function(e,t){re((function(t){!function(e){if(e.entries.length){var t=A(),n=e.entries[e.entries.length-1];if(t){var r=t.activationStart||0,o=Math.max(0,t.responseStart-r);return void(e.attribution={timeToFirstByte:o,firstByteToFCP:e.value-o,loadState:x(e.entries[0].startTime),navigationEntry:t,fcpEntry:n})}}e.attribution={timeToFirstByte:0,firstByteToFCP:e.value,loadState:x(F())}}(t),e(t)}),t)},I.onFID=function(e,t){fe((function(t){!function(e){var t=e.entries[0];e.attribution={eventTarget:U(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:x(t.startTime)}}(t),e(t)}),t)},I.onINP=function(e,t){!function(e,t){t=t||{},te((function(){var n;ye();var r,o=V("INP"),i=function(e){e.forEach((function(e){e.interactionId&&Le(e),"first-input"===e.entryType&&!Te.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&Le(e)}));var t,n=(t=Math.min(Te.length-1,Math.floor(Ee()/50)),Te[t]);n&&n.latency!==o.value&&(o.value=n.latency,o.entries=n.entries,r())},a=q("event",i,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=H(e,o,we,t.reportAllChanges),a&&("interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),K((function(){i(a.takeRecords()),o.value<0&&Ee()>0&&(o.value=0,o.entries=[]),r(!0)})),j((function(){Te=[],Se=me(),o=V("INP"),r=H(e,o,we,t.reportAllChanges)})))}))}((function(t){!function(e){if(e.entries.length){var t=e.entries.sort((function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)}))[0];e.attribution={eventTarget:U(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:x(t.startTime)}}else e.attribution={}}(t),e(t)}),t)},I.onLCP=function(e,t){!function(e,t){t=t||{},te((function(){var n,r=ee(),o=V("LCP"),i=function(e){var t=e[e.length-1];t&&t.startTime<r.firstHiddenTime&&(o.value=Math.max(t.startTime-$(),0),o.entries=[t],n())},a=q("largest-contentful-paint",i);if(a){n=H(e,o,Pe,t.reportAllChanges);var l=X((function(){Ce[o.id]||(i(a.takeRecords()),a.disconnect(),Ce[o.id]=!0,n(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return setTimeout(l,0)}),!0)})),K(l),j((function(r){o=V("LCP"),n=H(e,o,Pe,t.reportAllChanges),G((function(){o.value=performance.now()-r.timeStamp,Ce[o.id]=!0,n(!0)}))}))}}))}((function(t){!function(e){if(e.entries.length){var t=A();if(t){var n=t.activationStart||0,r=e.entries[e.entries.length-1],o=r.url&&performance.getEntriesByType("resource").filter((function(e){return e.name===r.url}))[0],i=Math.max(0,t.responseStart-n),a=Math.max(i,o?(o.requestStart||o.startTime)-n:0),l=Math.max(a,o?o.responseEnd-n:0),c=Math.max(l,r?r.startTime-n:0),s={element:U(r.element),timeToFirstByte:i,resourceLoadDelay:a-i,resourceLoadTime:l-a,elementRenderDelay:c-l,navigationEntry:t,lcpEntry:r};return r.url&&(s.url=r.url),o&&(s.lcpResourceEntry=o),void(e.attribution=s)}}e.attribution={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadTime:0,elementRenderDelay:e.value}}(t),e(t)}),t)},I.onTTFB=function(e,t){Ie((function(t){!function(e){if(e.entries.length){var t=e.entries[0],n=t.activationStart||0,r=Math.max(t.domainLookupStart-n,0),o=Math.max(t.connectStart-n,0),i=Math.max(t.requestStart-n,0);e.attribution={waitingTime:r,dnsTime:o-r,connectionTime:i-o,requestTime:e.value-i,navigationEntry:t}}else e.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}}(t),e(t)}),t)},Object.defineProperty(I,"__esModule",{value:!0}),I);var I,k,_,R,D,M,A,x,B,U,J,F,j,$,V,q,H,G,K,X,W,Y,z,Z,Q,ee,te,ne,re,oe,ie,ae,le,ce,se,de,ue,fe,pe,ve,ge,he,me,ye,we,Se,Ee,Te,be,Le,Pe,Ce,Oe,Ne,Ie;const ke="undefined"!=typeof NPRL,_e=ke?"loadNitro":"load";let Re=null,De=null,Me=null;const Ae=()=>{Re=Date.now(),window.removeEventListener("NitroStylesLoaded",Ae,!0)},xe=()=>{De=Date.now(),window.removeEventListener(_e,xe,!0)};ke&&window.addEventListener("NitroStylesLoaded",Ae,!0),window.addEventListener(_e,xe,!0),window.addEventListener("scroll",(()=>Me=Date.now()),{capture:!0,passive:!0});const Be=()=>Xe+=1;document.addEventListener("click",Be),document.addEventListener("pointerup",Be);const Ue=e=>Re&&Date.now()-Re<e,Je=e=>De&&Date.now()-De<e,Fe=e=>Me&&Date.now()-Me<e;let je=null,$e=null,Ve=null,qe={sessionEntry:null,unknown:null,afterStyles:null,afterPageLoad:null,afterScroll:null,total:null,raw:null,largestShiftTarget:null},He=null,Ge=null,Ke={},Xe=0,We=0;const Ye=()=>{qe={sessionEntry:null,unknown:null,afterStyles:null,afterPageLoad:null,afterScroll:null,total:null,raw:null,largestShiftTarget:null}},ze=()=>{let e={};return e["ttfb:crux"]=null!=je?Math.round(je):null,e["lcp:crux"]=null!=Ve?Math.round(Ve):null,e["cls:total"]=null!=qe.total?Math.round(1e3*qe.total):null,e["cls:raw"]=null!=qe.raw?qe.raw:null,e["cls:largestShiftTarget"]=null!=qe.largestShiftTarget?qe.largestShiftTarget:null,e.fid=null!=$e?Math.round($e):null,e.fcp=null!=Ge?Math.round(Ge):null,e.inp=null!=He?Math.round(He):null,e["inp:details"]=Object.keys(Ke).length?Ke:null,["afterStyles","afterPageLoad","afterScroll","unknown"].forEach((t=>{qe[t]&&(e[`cls:${t}Delta`]=Math.round(1e3*qe[t]))})),Object.keys(e).forEach((t=>{null===e[t]&&delete e[t]})),e};N.onCLS((e=>{var t;e.entries[0]!==qe.sessionEntry&&(Ye(),qe.sessionEntry=e.entries[0]),qe.total=e.value,qe.raw=e.value,qe.largestShiftTarget=null===(t=null==e?void 0:e.attribution)||void 0===t?void 0:t.largestShiftTarget;let n=250;1==Fe(n)+Je(n)+Ue(n)?(Fe(n)&&(qe.afterScroll+=e.delta),Je(n)&&(qe.afterPageLoad+=e.delta),Ue(n)&&(qe.afterStyles+=e.delta)):qe.unknown+=e.delta}),{reportAllChanges:!0}),N.onLCP((e=>{Ve=e.value}),{reportAllChanges:!0}),N.onFID((e=>{$e=e.value})),N.onFCP((e=>{Ge=e.value}),{reportAllChanges:!0}),N.onINP((e=>{if(He=e.value,We=Xe,e.attribution){const{eventEntry:t,eventTarget:n,eventType:r,loadState:o}=e.attribution;if(t){const{startTime:i,processingStart:a,processingEnd:l,duration:c}=t;Ke={value:e.value,eventTarget:n,eventType:r,loadState:o,startTime:i,processingStart:a,processingEnd:l,duration:c}}}}),{reportAllChanges:!0}),N.onTTFB((e=>{je=e.value}),{reportAllChanges:!0});const Ze=new Promise((e=>{document.prerendering?document.addEventListener("prerenderingchange",(()=>{e()}),{once:!0}):e()})),Qe=(t,n)=>e(void 0,void 0,void 0,(function*(){yield Ze,sessionStorage.setItem(t,n)})),et=t=>e(void 0,void 0,void 0,(function*(){return yield Ze,sessionStorage.getItem(t)})),tt=t=>e(void 0,void 0,void 0,(function*(){yield Ze,sessionStorage.removeItem(t)}));let nt=null;const rt=()=>e(void 0,void 0,void 0,(function*(){if(nt)return nt;let e=c;const t=yield et(d);if(t){const{url:n,expiration:r}=JSON.parse(t);r<Date.now()?yield tt(d):e=n}return nt=e,e})),ot=new EventTarget,it=(...e)=>ot.addEventListener(...e),at=(e,t,n={})=>ot.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({},n),{detail:t})));let lt={deviceCores:null,deviceMemory:null,devicePerformance:null};if(localStorage.getItem("nitroDeviceSpeed")&&(lt=JSON.parse(localStorage.getItem("nitroDeviceSpeed"))),window.Worker&&!localStorage.getItem("nitroDeviceSpeed")){const e="self.onmessage=e=>{let r=()=>{let e=navigator.hardwareConcurrency||null,r=navigator.deviceMemory||null,n=performance.now();for(let o=0;o<1e5;o++);let l=performance.now(),c=l-n;return{deviceCores:e,deviceMemory:r,devicePerformance:c}},n=r();postMessage(n)};",t=new Worker(URL.createObjectURL(new Blob([e],{type:"application/javascript"})));t.onmessage=e=>{lt=e.data,localStorage.setItem("nitroDeviceSpeed",JSON.stringify(e.data))},t.postMessage("start")}const ct=new Promise((e=>{document.prerendering?document.addEventListener("prerenderingchange",(()=>{e()}),{once:!0}):e()})),st=(t,n)=>e(void 0,void 0,void 0,(function*(){yield ct,localStorage.setItem(t,n)})),dt=t=>e(void 0,void 0,void 0,(function*(){return yield ct,localStorage.getItem(t)})),ut=()=>e(void 0,void 0,void 0,(function*(){let t=yield dt(f);t||(t=Date.now()+(Math.random()+1).toString(36).substring(2),yield st(f,t));var n;return(yield dt("nitroVisitor"))&&(yield(n="nitroVisitor",e(void 0,void 0,void 0,(function*(){yield ct,localStorage.removeItem(n)})))),t}));let ft=null;const pt=()=>e(void 0,void 0,void 0,(function*(){if(ft)return ft;const e=yield dt(u);let t=JSON.parse(e);if(!t||Date.now()>t.expiration||t.isTestImpactJourney!==w){t={id:Date.now()+(Math.random()+1).toString(36).substring(2),isTestImpactJourney:w,expiration:Date.now()+864e5},yield st(u,JSON.stringify(t))}return ft=t.id,ft})),vt=t=>e(void 0,void 0,void 0,(function*(){const e=yield dt(p),n=JSON.parse(e)||{};n[t]=n[t]||[];const r=Date.now()+(Math.random()+1).toString(36).substring(2);return n[t].push({id:r,expiration:Date.now()+3e4}),yield st(p,JSON.stringify(n)),r})),gt=t=>e(void 0,void 0,void 0,(function*(){const e=yield dt(p),n=JSON.parse(e)||{};if(n&&n[t]){const e=n[t].pop();e&&(Date.now()>e.expiration&&(n[t]=[]),yield st(p,JSON.stringify(n)))}})),ht=t=>e(void 0,void 0,void 0,(function*(){var e;const n=yield dt(p),r=null===(e=(JSON.parse(n)||{})[t])||void 0===e?void 0:e.pop();return r&&Date.now()<=r.expiration?r.id:""})),mt=t=>e(void 0,void 0,void 0,(function*(){if(!L){const e=yield rt();let n=yield ht(e);return n||(n=yield vt(e)),yield gt(e),void t(n)}const n=()=>e(void 0,void 0,void 0,(function*(){const e=yield rt();let n=yield ht(e);n||(n=yield vt(e)),yield gt(e),t(n)}));document.prerendering?document.addEventListener("prerenderingchange",n,{once:!0}):n()}));let yt=new Promise(mt);it("onBFCRestored",(()=>e(void 0,void 0,void 0,(function*(){const e=yield rt();vt(e),yt=new Promise(mt)}))));const wt=()=>e(void 0,void 0,void 0,(function*(){return yield yt})),St=!!window.IS_NITROPACK,Et=NitroPack.coreVersion&&"%CORE_VERSION%"!==NitroPack.coreVersion?NitroPack.coreVersion:"na",Tt=()=>btoa(Date.now()+Math.random()),bt=(e,t)=>`Nitro${e.toUpperCase()}:${t}_${Tt()}_${Et}_${navigator.connection?navigator.connection.effectiveType:"u"}${St?"_o":"_u"}${O?"_bfr":L?"_prr":C?"_pre":"_dow"}`;function Lt(e,t,n){throw(n=new TypeError(e)).code=t,n}function Pt(e){Lt("Invalid URL: "+e,"ERR_INVALID_URL")}function Ct(e,t,n,r){n='The "name" ',r="argument",e&&(n+='and "value" ',r+="s"),t<++e&&Lt(n+r+" must be specified","ERR_MISSING_ARGS")}function Ot(e,t){var n=0,r={next:function(){return{value:e[n++],done:n>e.length}}};return t&&(r[Symbol.iterator]=function(){return r}),r}function Nt(e,t){var n,r,o,i,a,l=this,c=[];try{i=!!Symbol.iterator}catch(e){i=!1}if(e)if(e.keys&&e.getAll)e.forEach((function(e,t){d(t,e)}));else if(e.pop)for(r=0;r<e.length;r++)d.apply(0,e[r]);else if("object"==typeof e)for(n in e)s(n,e[n]);else if("string"==typeof e)for("?"==e[0]&&(e=e.substring(1)),o=decodeURIComponent(e).split("&");n=o.shift();)~(r=n.indexOf("="))||(r=n.length),d(n.substring(0,r),n.substring(++r));function s(e,t){for(Ct(1,arguments.length),t=String(t),o=!1,r=c.length;r--;)(a=c[r])[0]==e&&(o?c.splice(r,1):(a[1]=t,o=!0));o||c.push([e,t]),f()}function d(e,t){Ct(1,arguments.length),c.push([e,String(t)]),f()}function u(){for(a="",r=0;r<c.length;r++)a&&(a+="&"),a+=encodeURIComponent(c[r][0])+"="+encodeURIComponent(c[r][1]);return a.replace(/%20/g,"+")}function f(){t&&(t.search=c.length?"?"+u().replace(/=$/,""):"")}return l.append=d,l.delete=function(e){for(Ct(0,arguments.length),r=c.length;r--;)c[r][0]==e&&c.splice(r,1);f()},l.entries=function(){return Ot(c,i)},l.forEach=function(e){for("function"!=typeof e&&Lt("Callback must be a function","ERR_INVALID_CALLBACK"),r=0;r<c.length;r++)e(c[r][1],c[r][0])},l.get=function(e){for(Ct(0,arguments.length),r=0;r<c.length;r++)if(c[r][0]==e)return c[r][1];return null},l.getAll=function(e){for(Ct(0,arguments.length),a=[],r=0;r<c.length;r++)c[r][0]==e&&a.push(c[r][1]);return a},l.has=function(e){for(Ct(0,arguments.length),r=0;r<c.length;r++)if(c[r][0]==e)return!0;return!1},l.keys=function(){for(a=[],r=0;r<c.length;r++)a.push(c[r][0]);return Ot(a,i)},l.set=s,l.sort=function(){for(o=[],a=[],r=0;r<c.length;o.push(c[r++][0]));for(o.sort();n=o.shift();)for(r=0;r<c.length;r++)if(c[r][0]==n){a.push(c.splice(r,1).shift());break}c=a,f()},l.toString=u,l.values=function(){for(a=[],r=0;r<c.length;r++)a.push(c[r][1]);return Ot(a,i)},i&&(l[Symbol.iterator]=l.entries),l}function It(e,t){var n,r,o=document.createElement("a"),i=document.createElement("a"),a=document.createElement("input"),l=this,c=/(blob|ftp|wss?|https?):/;if(a.type="url",t=String(t||"").trim(),(a.value=t)&&!a.checkValidity())return Pt(t);if(e=String(e).trim(),a.value=e||0,a.checkValidity())i.href=e;else{if(!t)return Pt(e);i.href=t,e&&((r=e.match(/^\/+/))&&2==r[0].length?i.href=i.protocol+e:/[?#]/.test(e[0])?i.href+=e:"/"==e[0]||"/"==i.pathname?i.href=i.origin+"/"+e.replace(/^\/+/,""):(n=i.pathname.split("/"),t=e.replace(/^(\.\/)?/,"").split("../"),i.href=i.origin+n.slice(0,Math.max(1,n.length-t.length)).concat(t.pop()).join("/")))}function s(e,t,n,a){return a={enumerable:!0},t||(a.set=function(t){null!=t&&(i[e]=String(t),"href"!=e&&"search"!=e||(r=new Nt(i.search,i)))}),a.get=n||function(){return function(e){return o.href=i.href,o.protocol="http:","protocol"==e||"href"==e||c.test(i.protocol)?i[e]:"origin"==e?c.test(i.protocol)?i[e]:"null":o[e]}(e)},a}return r=new Nt(i.search,i),l.toString=l.toJSON=i.toString.bind(i),Object.defineProperties(l,{href:s("href"),protocol:s("protocol"),username:s("username"),password:s("password"),hostname:s("hostname"),host:s("host"),port:s("port"),search:s("search"),hash:s("hash"),pathname:s("pathname"),origin:s("origin",1),searchParams:s("searchParams",1,(function(){return r}))})}const kt=[];let _t=!1,Rt={},Dt={};const Mt=(e,t="")=>{(()=>{const e=document.cookie.split(";").find((e=>e.trim().startsWith("NITRO_SCRIPT_DEBUG=")));return e?e.split("=")[1]:null})()&&localStorage.setItem("nitroDebug:"+t+"_"+Tt(),JSON.stringify(e))};let At={};Object.keys(h).forEach((e=>{At[e]=!1})),window.addEventListener("load",(()=>{_t=document.body.classList.contains("admin-bar")||document.body.classList.contains("wp-admin")}),!0);const xt=(e,t)=>{if(y)return;if(!Object.keys(t).length)return;const n=h[e],r=new FormData;r.append("key","rfDNBQqGKJtWiNnVEpCiyKWdpzmevCzZ");let o={},i=null;for(let n in t){if(Mt({key:n,value:t[n]},e),t[n].url){if("localhost"===new It(t[n].url).host)continue}o[n]=t[n]}r.append("props",JSON.stringify(o)),i=navigator.sendBeacon&&navigator.sendBeacon(n,r)?Promise.resolve():fetch(n,{body:r,method:"POST",keepalive:!0}),i.then((()=>{kt.forEach((e=>{localStorage.removeItem(e)})),kt.length=0}))},Bt=e=>{let t=[];for(let n=0;n<localStorage.length;n++){const r=localStorage.key(n);if(r&&0===r.indexOf("Nitro"+e+":")&&0!==r.indexOf("Nitro"+e+":Aggregated:")){const e=r.split(":")[1].replace(/_.*?_/,"_"),n=JSON.parse(localStorage.getItem(r));kt.includes(r)||(t[e]=Object.assign(t[e]||{},n),kt.push(r))}}return t},Ut=e=>{if(!window.localStorage)return;const t=Bt(e);Object.keys(t).length&&(xt(e,t),At[e]=!1)},Jt=(e,t,n)=>{var r;if(!Rt[e])throw new Error(`No aggregator set for namespace ${e}`);const o=`Nitro${e}:Aggregated:`;(e=>{for(let t=0;t<localStorage.length;t++){const n=localStorage.key(t);if(n&&0===n.indexOf(e)){const e=JSON.parse(localStorage.getItem(n)).expiration;Date.now()>e&&localStorage.removeItem(n)}}})(o);const i=`${o}${t}`,a=(null===(r=JSON.parse(localStorage.getItem(i)))||void 0===r?void 0:r.data)||{},l=Rt[e](a,n),c={expiration:Date.now()+6048e5,data:l};return localStorage.setItem(i,JSON.stringify(c)),Dt[i]||(Dt[i]=!0,window.addEventListener("pagehide",(()=>{localStorage.removeItem(i),Dt[i]=!1}))),l},Ft=e=>{if(window.localStorage){var t=Bt(e);Object.keys(t).length&&(Object.keys(t).forEach((n=>{let r=n.split("_")[0];t[n]=Jt(e,r,t[n])})),xt(e,t),At[e]=!1)}},jt=(t,n,r)=>e(void 0,void 0,void 0,(function*(){if(0===Object.keys(r).length||_t)return;let e=r.pvId?r.pvId:yield wt();try{let e=new It(r.url||(yield rt()));r.url=e.href.replace(e.hash,e.hash.substring(0,30))}catch(e){return void console.error("Nitropack: failed to parse URL while updating items")}let o=bt(t,e)+n;kt.includes(o)||localStorage.getItem(o)||(yield st(o,JSON.stringify(r)))})),$t=e=>{At[e]||(At[e]=!0,setTimeout((()=>Ft(e)),1e3))};let Vt=null;let qt=[];const Ht=(e,t,n)=>{qt.some((t=>t.resourceUrl===e))||qt.push({resourceUrl:e,type:t,message:n})};function Gt(e){try{let t=new It(e).pathname.split(".");return t.length>1?t.pop():null}catch(e){return console.error("Nitropack: Failed to parse url while getting resource file extension."),null}}const Kt=()=>{const e=[...qt];return qt=[],e};let Xt=new Promise((e=>{e(!1)}));var Wt;(()=>{const t="UX",r=performance.getEntriesByType("navigation")[0],o=["missReason","pageType","isEligibleForOptimization"],i=Number("1713188232");let a=Math.floor(Date.now()/1e3);Math.abs(a-i)>1200&&(a=i);let l=null,s=0,d=0,u=null,f=null,p=0,h={ttfb:null,netNavType:null,netRedirectCount:null,netRedirectReferrer:null,timeOrigin:null,redirectStart:null,redirectEnd:null,workerStart:null,fetchStart:null,domainLookupStart:null,domainLookupEnd:null,connectStart:null,secureConnectionStart:null,connectEnd:null,requestStart:null,firstInterimResponseStart:null,responseStart:null,responseEnd:null,domInteractive:null,domContentLoadedEventStart:null,domContentLoadedEventEnd:null,domComplete:null,loadEventStart:null,loadEventEnd:null,responseStatus:0};window.addEventListener("error",(e=>{var t,n;const r=e.message||"Unknown error",o={IMG:"image",SCRIPT:"script",LINK:"link"};let i,a;if(!((null===(n=null===(t=e.target)||void 0===t?void 0:t.tagName)||void 0===n?void 0:n.toUpperCase())in o))return!0;i=o[e.target.tagName.toUpperCase()],a=e.target.src||e.target.href,"LINK"===i&&"stylesheet"===e.target.rel&&(i="stylesheet"),setTimeout((()=>{Ht(a,i,r)}),50)}),!0),"undefined"!=typeof PerformanceObserver&&new PerformanceObserver((e=>{null==e||e.getEntries().forEach((e=>{var t,n;((null===(t=e.responseStatus)||void 0===t?void 0:t.toString().startsWith("4"))||(null===(n=e.responseStatus)||void 0===n?void 0:n.toString().startsWith("5")))&&Gt(e.name)&&Ht(e.name,function(e){switch(e){case"js":case"ts":return"script";case"css":return"stylesheet";case"webp":case"png":case"jpg":case"jpeg":case"gif":case"svg":case"bmp":case"ico":return"image";case"woff":case"woff2":case"ttf":return"font";default:return"unknown"}}(Gt(e.name)),`Response status is ${e.responseStatus}`)}))})).observe({type:"resource",buffered:!0}),((e,t)=>{"function"==typeof t&&(Rt[e]=t)})(t,(function(e,t){const n=["ttfb","ttfb:crux","fid","lcp:crux","cls","cls:total","cls:raw","cls:afterStylesDelta","cls:afterPageLoadDelta","cls:afterScrollDelta","cls:unknownDelta","inp","fcp","clicks","requestCounter","isPageClosed"];let r={};const o=new Set([...Object.keys(e),...Object.keys(t)]);for(let i of o)n.includes(i)?r[i]=Math.max(e[i]||0,t[i]||0):"inp:details"===i?(t.inp||0)>(e.inp||0)&&(r[i]=t[i]):"cls:largestShiftTarget"===i?(t["cls:total"]||0)>(e["cls:total"]||0)&&(r[i]=t[i]):"resourceErrors"===i?r[i]=t[i]:void 0!==e[i]?r[i]=e[i]:void 0!==t[i]&&(r[i]=t[i]);return r}));it("onBackgroundedTabForTwoMinutes",(()=>e(void 0,void 0,void 0,(function*(){yield tt("nitro_prefetched_urls"),at("onReInitNavAILogic")})))),it("onBFCRestored",(()=>e(void 0,void 0,void 0,(function*(){yield tt("nitro_prefetched_urls"),at("onReInitNavAILogic")}))));let m=()=>new Promise((e=>e(h)));"undefined"!=typeof PerformanceObserver&&(m=()=>new Promise((e=>{new PerformanceObserver((t=>{const n={navigate:0,reload:1,back_forward:2,prerender:3},r=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?1e3:0;t.getEntries().forEach((t=>{setTimeout((()=>{t.loadEventEnd>0&&(Object.keys(h).forEach((e=>{var n;void 0!==t[e]&&(h[e]=(n=t[e],!isNaN(parseFloat(n))&&isFinite(n)?Math.round(t[e]):t[e]))})),h.ttfb=L?0:Math.round(t.responseStart-t.connectEnd),h.netNavType=n[t.type]||-1,h.netRedirectReferrer=document.referrer.length?document.referrer:null,h.netRedirectCount=t.redirectCount,h.timeOrigin=Math.round(performance.timeOrigin),e(h))}),r)}))})).observe({type:"navigation",buffered:!0})})));const S=()=>e(void 0,void 0,void 0,(function*(){return jt(t,":visitorId",{visitorId:yield ut()})})),E=()=>e(void 0,void 0,void 0,(function*(){return jt(t,":visitorJourneyId",{visitorJourneyId:yield pt()})})),T=e=>jt(t,":cwv",e),N=()=>e(void 0,void 0,void 0,(function*(){return jt(t,":pagePrefetches",O?{}:yield e(void 0,void 0,void 0,(function*(){let e={},t="NONE";(L||C)&&(t="UNKNOWN");let n=yield et("nitro_prefetched_urls"),r=JSON.parse(n);if(null!==r){yield tt("nitro_prefetched_urls");const n=yield rt();r[n]&&(t=r[n].initiator),e.prefetchCount=Object.entries(r).length}return e.prefetchInitiator=t,e})))})),I=()=>{p++,jt(t,":requestCounter",{requestCounter:p})},k=()=>{let e=(()=>{if(window.localStorage){const e=parseInt(localStorage.getItem(v)),t=Date.now();return localStorage.setItem(v,t),isNaN(e)||0===e?-1:Number(((t-e)/1e3).toFixed(1))}return null})();Object.assign(h,{lastNavDiff:e}),jt(t,":net",h)},_=()=>{let e={};const n=r.notRestoredReasons;null===n?e.bfCacheEligible=1:void 0===n?e.bfCacheEligible=-1:n&&(e.bfCacheEligible=n.blocked?0:1,e.bfCacheNotEligibleReason=n.reasons?JSON.stringify(n.reasons):""),jt(t,":backForwardCache",e)},R=()=>{let e={};"object"==typeof window.NPTelemetryMetadata&&(Object.keys(window.NPTelemetryMetadata).forEach((e=>{o.includes(e)||delete window.NPTelemetryMetadata[e]})),e=window.NPTelemetryMetadata),w&&(e.missReason="test-impact"),jt(t,":metadata",{metaData:e})},D=()=>e(void 0,void 0,void 0,(function*(){const n=yield e(void 0,void 0,void 0,(function*(){return Vt||(Vt=(yield et("predictStrategyOnPrevPage"))||"",yield tt("predictStrategyOnPrevPage"),Vt)}));jt(t,":predictStrategy",{predictStrategy:n})})),M=()=>{if(!r.serverTiming||!r.serverTiming.length)return;let e={};for(const{name:t,description:n,duration:o}of r.serverTiming)switch(t){case"nitro-ec-status":e.ecStatus=n;break;case"nitro-ec-read-config":e.ecReadConfigDuration=o;break;case"nitro-ec-read-cache":e.ecReadCacheDuration=o;break;case"nitro-ec-country":e.ecCountry=n}jt(t,":edgeCache",e)},A=e=>{let n=ze();"complete"!==document.readyState||Object.keys(n).length||0!==qt.length?Promise.all([T(n),We&&jt(t,":clicks",{clicks:We}),S(),E(),I(),jt(t,":resourceErrors",{resourceErrors:Kt()}),jt(t,":isPageClosed",{isPageClosed:"pagehide"===e})]).then((()=>{je=null,$e=null,Ve=null,Ye(),He=null,Ge=null,Ke={},Xe=0,"pagehide"===e?Ft(t):$t(t)})):"pagehide"===e&&x()};window.addEventListener("scroll",(()=>l=window.scrollY||window.pageYOffset),{capture:!0,passive:!0});const x=()=>e(void 0,void 0,void 0,(function*(){if(y)return;const e=yield wt(),t=`https://${g}/ping/unalive/${e}`;navigator.sendBeacon&&navigator.sendBeacon(t)||fetch(t,{method:"POST",keepalive:!0})})),B=()=>e(void 0,void 0,void 0,(function*(){setInterval((()=>at("pageHideReady",{trigger:"interval"})),5e3),setInterval((()=>e(void 0,void 0,void 0,(function*(){if(y)return;const e=yield wt(),t=`https://${g}/ping/keepalive/${e}`;navigator.sendBeacon&&navigator.sendBeacon(t)||fetch(t,{method:"POST",keepalive:!0})}))),12e4),d=yield e(void 0,void 0,void 0,(function*(){return document.querySelectorAll("*").length})),u=yield e(void 0,void 0,void 0,(function*(){return`${document.documentElement.clientWidth}x${document.documentElement.clientHeight}`})),f=`${window.screen.width}x${window.screen.height}`;let r=ze();h=yield m(),Promise.all([e(void 0,void 0,void 0,(function*(){return jt(t,":pageview",{pv:1,timestamp:a,isPrerenderUnfinished:yield P,activationStart:yield b,isDuplicateTab:yield Xt})})),_(),S(),E(),R(),N(),M(),jt(t,":elementsCount",{elementsCountDocReady:s,elementsCountPageLoad:d}),jt(t,":scrollPosition",{scrollPosition:l}),jt(t,":viewportSize",{viewportSize:u}),jt(t,":screenSize",{screenSize:f}),jt(t,":isHeadlessBrowser",{isHeadlessBrowser:navigator.webdriver||!navigator.languages.length}),k(),D(),jt(t,":deviceSpeed",lt),jt(t,":isNavAIExcluded",{isNavAIExcluded:n(c)}),jt(t,":isTestImpactJourney",{isTestImpactJourney:w}),T(r),I()]).then((()=>{$t(t)}))})),U=()=>s=document.querySelectorAll("*").length;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",U):U(),it("pageLoadReady",(()=>B())),it("pageHideReady",(e=>A(e.detail.trigger)))})(),(()=>{const t="UB",n=navigator.connection&&navigator.connection.effectiveType?navigator.connection.effectiveType:"",r="yes",o="no";let i=0,a=null,l=null,s=!1,u=!1,f="no_data",p="none",v=0,g=0,h=null,m=null,y=0,E=0,T=0,b=0,L=0,P=0;it("onPredictedUrls",(e=>{h=e.detail.predictedUrls})),it("onPredictResponse",(e=>{m=e.detail.predictResponse})),it("onHintInsert",(e=>{const t=e.detail.type;"prefetch"===t?v++:"prerender"===t&&g++})),it("onBFCRestored",(()=>{C(),s=!1,a=null,l=null,i=0,_()})),it("onBackgroundedTabForTwoMinutes",(()=>{C()})),it("pageLoadReady",(()=>_()));const C=()=>{v=0,g=0},O=()=>!document.body.classList.contains("logged-in")&&-1===document.cookie.indexOf("items_in_cart=1"),N=e=>{const t=e.match(/\.([a-zA-Z0-9]+)(?:\?.*)?$/);return!t||!t[1]||["html","htm","php","asp","aspx","jsp","jspx"].includes(t[1])},I=e=>e.replace(/#.*$/,""),k=()=>e(void 0,void 0,void 0,(function*(){if(!N(a)||u)return;const r=yield ut(),o=yield pt(),h=yield vt(a),C=Date.now();var I;jt(t,":navigate",{event:"navigate",isNewTab:s,isVisitor:O(),t:C,wait_time:Math.round(C-i),source_url:c,url:a,selector:l,visitor_id:r,visitorJourneyId:o,ct:n,pvId:h,instant_load_predicted:f,speculation_type:p,prefetch_count:v,prerender_count:g,predictStrategy:S,inPredictResponse:m&&(I=a,Object.keys(m.urls).includes(I))?1:0,isTestImpactJourney:w,clickViewportX:y,clickViewportY:E,clickPageY:T,clickPageX:b,clickScreenX:L,clickScreenY:P}).then((()=>Ut(t))),s?(a=null,l=null,i=0,u=!0):(yield(t=>e(void 0,void 0,void 0,(function*(){return yield Qe(d,JSON.stringify({url:t,expiration:Date.now()+5e3}))})))(a),yield e(void 0,void 0,void 0,(function*(){yield Qe("predictStrategyOnPrevPage",S)})))})),_=()=>e(void 0,void 0,void 0,(function*(){const e=yield ut(),r=yield pt();u=!0,a=null,l=null,s=!1,jt(t,":pageload",{event:"pageload",isVisitor:O(),t:Date.now(),visitor_id:e,visitorJourneyId:r,ct:n,isTestImpactJourney:w}).then((()=>(e=>{At[e]||(At[e]=!0,setTimeout((()=>Ut(e)),1e3))})(t)))}));document.addEventListener("click",(t=>e(void 0,void 0,void 0,(function*(){var e,n;let c=null===(n=null===(e=t.target)||void 0===e?void 0:e.closest)||void 0===n?void 0:n.call(e,"a");if(!c||!c.hasAttribute("href"))return;if(a=(e=>{var t;const n=new It(e,(null===(t=document.querySelector("base"))||void 0===t?void 0:t.href)||window.location.href),r=n.host!==window.location.host,o=I(n.href)===I(window.location.href),i=n.hash||n.href.endsWith("#");return r||o&&i?null:n.href})(c.getAttribute("href")),!a)return;if(y=t.clientX,E=t.clientY,T=t.pageY,b=t.pageX,L=t.screenX,P=t.screenY,l=(e=>{let t=[];for(;e.nodeType===Node.ELEMENT_NODE;){let n=e.nodeName.toLowerCase();if(e.id){n+="#"+e.id,t.unshift(n);break}{let t=1,r=e.previousElementSibling;for(;r;)r.nodeName.toLowerCase()==n&&t++,r=r.previousElementSibling;1!=t&&(n+=`:nth-of-type(${t})`)}t.unshift(n),e=e.parentNode}return t.join(" > ")})(c),h){const e=h.includes(a);if(f=e?r:o,e){const e=yield et("nitro_prefetched_urls"),t=JSON.parse(e),n=t&&t[a];p=n&&n.type}}const d=c.hasAttribute("target")&&"_blank"===c.getAttribute("target");s=t.ctrlKey||t.shiftKey||t.metaKey||t.button&&1===t.button||d,i=Date.now(),u=!1,k(),s&&(a=null,l=null,i=0)})))),document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&(null!==a||u||e(void 0,void 0,void 0,(function*(){const e=yield ut(),r=yield pt(),o=yield rt(),i=Date.now();N(o)&&jt(t,":loading",{event:"loading",isVisitor:O(),t:i,url:o,visitor_id:e,visitorJourneyId:r,ct:n,isTestImpactJourney:w}).then((()=>Ut(t)))})))}))})(),function(e){e.Regular="Regular",e.PrerenderComplete="PrerenderComplete",e.PrerenderPartial="PrerenderPartial",e.BFCache="BFCache"}(Wt||(Wt={}));var Yt=Wt;window.addEventListener("pagehide",(()=>at("pageHideReady",{trigger:"pagehide"})),!0),document.prerendering?document.addEventListener("prerenderingchange",(()=>{"complete"===document.readyState?at("pageLoadReady",{loadType:Yt.PrerenderComplete}):window.addEventListener("load",(()=>{at("pageLoadReady",{loadType:Yt.PrerenderPartial})}))}),{once:!0}):"complete"===document.readyState?at("pageLoadReady",{loadType:Yt.Regular}):window.addEventListener("load",(()=>{at("pageLoadReady",{loadType:Yt.Regular})})),document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&at("pageHideReady",{trigger:"visibilitychange"})}),!0),window.addEventListener("pageshow",(e=>{e.persisted&&(at("onBFCRestored"),"visible"!==document.visibilityState||L||at("pageLoadReady",{loadType:Yt.BFCache}))})),(()=>{var e;let t=document.cookie.includes("9d63262f59cd9b3378f01392c"),n={initNP_PPL:function(){void 0===window.NP_PPL&&(window.NP_PPL={prefetches:[],lcpEvents:[],other:[]})},logPrefetch:function(e,n,r){let o=JSON.parse(window.sessionStorage.getItem("nitro_prefetched_urls"));null===o&&(o={}),void 0===o[e]&&(o[e]={type:n,initiator:r},window.sessionStorage.setItem("nitro_prefetched_urls",JSON.stringify(o))),t&&window.NP_PPL.prefetches.push({url:e,type:n,initiator:r,timestamp:performance.now()})},logLcpEvent:function(e,n=null){t&&window.NP_PPL.lcpEvents.push({message:e,data:n,timestamp:performance.now()})},logOther:function(e,n=null){t&&window.NP_PPL.other.push({message:e,data:n,timestamp:performance.now()})}};t&&n.initNP_PPL();const r=window.location.href,o=document.createElement("link"),i=new It((null===(e=document.querySelector("base"))||void 0===e?void 0:e.href)||r).origin;let a=[],l=null,c=null,s=0,d=0,u=["mousemove","click","keydown","touchmove","touchstart"],f=!1,p=!1,v=0,g=!1,h=null,m=JSON.parse(atob("WyIuKj9cXD9hZGRcXC10b1xcLWNhcnRcXD0uKj8iLCIuKj8mYWRkXFwtdG9cXC1jYXJ0XFw9Lio/IiwiLio/XFw/cmVtb3ZlX2l0ZW1cXD0uKj8iLCIuKj8mcmVtb3ZlX2l0ZW1cXD0uKj8iLCIuKj9cXD9hZGQuKj8iLCIuKj8mYWRkLio/IiwiLio/XFw/cmVtb3ZlLio/IiwiLio/JnJlbW92ZS4qPyIsIi4qP1xcPXJlbW92ZS4qPyIsIi4qP1xcP2RlbGV0ZS4qPyIsIi4qPyZkZWxldGUuKj8iLCIuKj9kb3dubG9hZC4qPyIsIi4qP2xvZ291dC4qPyIsIi4qP2xvZ2luLio/IiwiLio/c2lnbm91dC4qPyIsIi4qP3NpZ25pbi4qPyIsIi4qP1xcXC93cFxcLWFkbWluLio/IiwiLio/XFxcL3dwXFwtbG9naW4uKj8iLCIuKj93cG5vbmNlXFw9Lio/IiwiLio/bm9uY2VcXD0uKj8iLCIuKj9cXC5leGUiLCIuKj9cXC56aXAiLCIuKj9cXC5yYXIiLCIuKj9cXC5kZWIiLCIuKj9cXC5ycG0iLCIuKj9cXC5wa2ciLCIuKj9cXC5kbWciLCIuKj9cXC5wZGYiLCIuKj9cXC5tc2kiLCIuKj9cXC5tcDMiLCIuKj9cXC5kb2MiLCIuKj9cXC5kb2N4IiwiLio/XFwucHB0IiwiLio/XFwueGxzIiwiLio/XFwueGxzeCIsIi4qP1xcLm9kdCIsIi4qP1xcLnR4dCIsIi4qP1xcLmpwZyIsIi4qP1xcLmpwZWciLCIuKj9cXC5wbmciLCIuKj9cXC53ZWJwIiwiLio/XFwuZ2lmIiwiLio/XFwuYXZpZiIsIi4qP1xcLm1wNCIsIi4qP1xcLm1vdiIsIi4qP1xcLndtdiIsIi4qP1xcLndlYm0iLCIuKj9cXC5hdmkiLCIuKj9cXC5mbHYiLCIuKj9cXC5ta3YiLCIuKj9cXC5tdHMiXQ=="));if("[object Object]"===Object.prototype.toString.call(m)){n.logOther("EXCLUDES_AS_OBJECT",m);let e=[];for(const t in m)e.push(m[t]);m=e}m=m.map((e=>new RegExp(e)));const y=e=>{for(let t=0;t<m.length;t++)if(null!==e.match(m[t]))return!0;return!1};if(y(r))return void n.logOther("Script execution canceled: Current URL is excluded.",r);if(!(o.relList&&o.relList.supports&&o.relList.supports("prefetch")))return;let w=0;function S(e){if(!e)return n.logOther("Link Not Prefetchable: empty link element.",e),!1;if(!e.href)return n.logOther("Link Not Prefetchable: empty href attribute.",e),!1;let t=e.href,r=null;try{r=new It(t)}catch(t){return n.logOther("Link Not Prefetchable: "+t,e),!1}const o=r.origin,a=r.protocol;return["http:","https:"].includes(a)?"http:"==a&&"https:"==location.protocol?(n.logOther("Link Not Prefetchable: URL is HTTP but the current page is HTTPS.",e),!1):"#"==r.href.charAt(0)||r.hash&&r.pathname+r.search==location.pathname+location.search?(n.logOther("Link Not Prefetchable: URL is the current location but with a hash.",r),!1):o!==i?(n.logOther("Link Not Prefetchable: Different domain.",e),!1):!y(t)||(n.logOther("Link Not Prefetchable: Excluded URL "+t+".",{link:e}),!1):(n.logOther("Link Not Prefetchable: missing protocol in the URL.",e),!1)}function E(){return null!==h||(h=function(){let e=navigator.connection;return!!e&&!!e.saveData&&(n.logOther("Data Saving Mode detected."),!0)}()),h}window.requestIdleCallback||(window.requestIdleCallback=function(e,t={}){var n=t.timeout||1,r=performance.now();return setTimeout((function(){e({get didTimeout(){return!t.timeout&&performance.now()-r-1>n},timeRemaining:function(){return Math.max(0,performance.now()-r+1)}})}),1)}),window.cancelIdleCallback||(window.cancelIdleCallback=function(e){clearTimeout(e)});let T=function(e,t="",r=!1){if(a.indexOf(e)>-1)n.logOther("Prefetch skipped: URL is already prefetched.",e);else if(a.length>15)n.logOther("Prefetch skipped: Maximum prefetches threshold reached.");else if(r||performance.now()-w>300){if(!E())return function(e){const t=document.createElement("link");t.rel="prefetch",t.setAttribute("nitro-exclude",!0),t.type="text/html",t.href=e,document.head.appendChild(t)}(e),a.push(e),w=performance.now(),n.logPrefetch(e,"prefetch",t),!0;n.logOther("Prefetch skipped: limited connection",e)}else n.logOther("Prefetch skipped: on cooldown",e)};function b(e){let t=document.querySelector("body");for(;e!=t;){if(L(e)){e=e.parentElement,n.logOther("Skipping LCP container level: Inside a <nav> element.",e);continue}let t=Array.from(e.querySelectorAll("a"));if(n.logOther("filtering links...",t),t=t.filter((t=>L(t)?(n.logOther("Skipping link: Inside a <nav> element.",e),!1):S(t))),t.length>0)return[t,e];e=e.parentElement}return[[],null]}function L(e){return e&&(null!==e.closest("nav")||"NAV"==e.nodeName)}function P(){f=!0,p&&!g&&O()}function C(){p=!0,f&&!g&&(O()?window.cancelIdleCallback(s):(d++,d>2&&(window.cancelIdleCallback(s),n.logLcpEvent("IDLE_CALLBACK_CANCELLED"))))}function O(){if(null==l)return n.logLcpEvent("doLcpPrefetching_CALLBACK_CALLED_WITHOUT_LCP_ELEMENT"),!1;let e=[];if([e,c]=b(l),0==e.length)return n.logLcpEvent("NO_LINKS_FOUND"),!1;e.length>0&&(T(e[0].href,"LCP",!g),g=!0),I.observe(c,{subtree:!0,childList:!0,attributes:!0}),n.logLcpEvent("MUTATION_OBSERVER_REGISTERED"),window.cancelIdleCallback(s),n.logLcpEvent("IDLE_CALLBACK_CANCELLED")}function N(e){n.logLcpEvent("MUTATION_RESCAN_TRIGGERED",e);let t=b(c)[0];t.length>0&&T(t[0].href,"LCP_MUTATION")}const I=new MutationObserver((function(e){n.logLcpEvent("MUTATION_DETECTED",e),clearTimeout(v),v=setTimeout(N,500,e)}));navigator.connection&&(navigator.connection.onchange=function(){h=null,n.logOther("Connection changed",{effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,downlink:navigator.connection.downlink,saveData:navigator.connection.saveData})}),function(){if(!PerformanceObserver.supportedEntryTypes.includes("largest-contentful-paint"))return void n.logLcpEvent("PerformanceObserver does not support LCP events in this browser.");let e=new PerformanceObserver((e=>{n.logLcpEvent("LCP_DETECTED",e.getEntries().at(-1).element),l=e.getEntries().at(-1).element})),t=function(){s=window.requestIdleCallback(C),window.removeEventListener("load",t)};u.forEach((e=>{window.addEventListener(e,P,{once:!0})})),e.observe({type:"largest-contentful-paint",buffered:!0}),window.addEventListener("load",t)}(),function(){let e,t=performance.now();const r={capture:!0,passive:!0};function o(t){t.relatedTarget&&t.target.closest("a")==t.relatedTarget.closest("a")||e&&(clearTimeout(e),e=void 0)}document.addEventListener("touchstart",(function(e){t=performance.now();const n=e.target.closest("a");if(!n||!S(n))return;T(n.href,"TOUCH")}),r),document.addEventListener("mouseover",(function(r){if(n.logOther("mouseoverListener() called",r),performance.now()-t<1111)return;const i=r.target.closest("a");if(!i||!S(i))return;i.addEventListener("mouseout",o,{passive:!0}),e=setTimeout((function(){n.logOther("mouseoverTimer CALLBACK called",r),T(i.href,"HOVER"),e=void 0}),85)}),r)}()})()}(); })(window.NitroPack = window.NitroPack || {});