!function(){"use strict";function e(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}"function"==typeof SuppressedError&&SuppressedError;const t="navaidebug",n=()=>document.cookie.includes(t),r=(e,r)=>{var o;if(n()){const i=(()=>{var e,r;if(n()){const n=null!==(r=null===(e=document.cookie.split("; ").find((e=>e.startsWith(t+"="))))||void 0===e?void 0:e.split("=")[1])&&void 0!==r?r:"";if(""!=n)try{return JSON.parse(n)}catch(e){console.error(e)}}return{}})();return null!==(o=i[e])&&void 0!==o?o:r}return r};var o,i,a,s,l,c,u;!function(e){e.UX="UX",e.UB="UB"}(o||(o={})),function(e){e.PredictStrategies="predictStrategies",e.Logging="logging"}(i||(i={})),function(e){e.Image="image",e.Script="script",e.Link="link",e.Stylesheet="stylesheet"}(a||(a={})),function(e){e.InpScript="inp_script"}(s||(s={})),function(e){e.Pageload="pageload",e.Navigate="navigate",e.Loading="loading"}(l||(l={})),function(e){e.uxData="uxData",e.resourceErrors="resourceErrors"}(c||(c={})),function(e){e.STYLESHEET="stylesheet",e.SCRIPT="script",e.IMAGE="image",e.FONT="font",e.VIDEO="video",e.AUDIO="audio",e.HTML="html",e.UNKNOWN="unknown"}(u||(u={}));const d="IGznbGRRlgTZrDhcBXoGZGvLcNnWkXpC",f=Number("0"),p=Number("1"),g=window.location.href,v=performance.getEntriesByType("navigation")[0],m=Boolean(Number("0"))&&!g.includes("testnitro="),h="NitroPack",w=`${h}:targetUrl`,y=`${h}:visitorJourney`,S=`${h}:visitorId`,E=`${h}:pv`,b=`${h}:NPTelemetryMeta:lastpv`,T="to.getnitropack.com",L="3",O="7",P=Number("%EXPERIMENTAL_PREDICT_STRATEGIES_ENABLED%"),N=Math.round(Date.now()/1e3)+604800,D=Math.round(Date.now()/1e3)+604800,k={UX:`https://${T}/ux?v=${O}`,UB:`https://${T}/ub?v=${L}`};let I=r(i.PredictStrategies,["navigation-ai-i","navigation-ai-h"]);P&&(I=r(i.PredictStrategies,["navigation-ai-h","navigation-ai-j"]));const C=n()&&!r(i.Logging,!1),_=!!(f&&(()=>{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})()<=p),R=(M=I)[Math.floor(Math.random()*M.length)];var M;const A=()=>{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)};let x=document.prerendering||A()>0,j=!x&&v.responseStart-v.requestStart<=5,U=!1;window.addEventListener("pageshow",(e=>{e.persisted&&(x=!1,j=!1,U=!0)}));const B=JSON.parse(atob("WyIuKj9cXD9hZGQtdG8tY2FydD0uKj8iLCIuKj9cdTAwMjZhZGQtdG8tY2FydD0uKj8iLCIuKj9cXD9yZW1vdmVfaXRlbT0uKj8iLCIuKj9cdTAwMjZyZW1vdmVfaXRlbT0uKj8iLCIuKj9cXD9hZGQuKj8iLCIuKj9cdTAwMjZhZGQuKj8iLCIuKj9cXD9yZW1vdmUuKj8iLCIuKj9cdTAwMjZyZW1vdmUuKj8iLCIuKj89cmVtb3ZlLio/IiwiLio/XFw/ZGVsZXRlLio/IiwiLio/XHUwMDI2ZGVsZXRlLio/IiwiLio/ZG93bmxvYWQuKj8iLCIuKj9sb2dvdXQuKj8iLCIuKj9sb2dpbi4qPyIsIi4qP3NpZ25vdXQuKj8iLCIuKj9zaWduaW4uKj8iLCIuKj8vd3AtYWRtaW4uKj8iLCIuKj8vd3AtbG9naW4uKj8iLCIuKj93cG5vbmNlPS4qPyIsIi4qP25vbmNlPS4qPyIsIi4qPy9jaGVja291dC4qPyIsIi4qPy9jYXJ0Lio/IiwiLio/L215LWFjY291bnQuKj8iLCIuKj8vYWNjb3VudC4qPyIsIi4qPy9yZXF1ZXN0LXF1b3RlLyIsIi4qP1xcLmV4ZSIsIi4qP1xcLnppcCIsIi4qP1xcLnJhciIsIi4qP1xcLmRlYiIsIi4qP1xcLnJwbSIsIi4qP1xcLnBrZyIsIi4qP1xcLmRtZyIsIi4qP1xcLnBkZiIsIi4qP1xcLm1zaSIsIi4qP1xcLm1wMyIsIi4qP1xcLmRvYyIsIi4qP1xcLmRvY3giLCIuKj9cXC5wcHQiLCIuKj9cXC54bHMiLCIuKj9cXC54bHN4IiwiLio/XFwub2R0IiwiLio/XFwudHh0IiwiLio/XFwuanBnIiwiLio/XFwuanBlZyIsIi4qP1xcLnBuZyIsIi4qP1xcLndlYnAiLCIuKj9cXC5naWYiLCIuKj9cXC5hdmlmIiwiLio/XFwubXA0IiwiLio/XFwubW92IiwiLio/XFwud212IiwiLio/XFwud2VibSIsIi4qP1xcLmF2aSIsIi4qP1xcLmZsdiIsIi4qP1xcLm1rdiIsIi4qP1xcLm10cyIsIi4qP2xlYXJuZGFzaF9kZWxldGUuKj8iXQ==")),$=e=>{for(let t=0;t<B.length;t++)if(null!==e.match(B[t]))return!0;return!1};let F=!1;window.addEventListener("load",(()=>{F=document.body.classList.contains("admin-bar")||document.body.classList.contains("wp-admin")}),!0);const J=()=>F,H=e=>{const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let n="";for(let r=0;r<e;r++)n+=t.charAt(Math.floor(62*Math.random()));return n};var q,W,V=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},X=function(e){if("loading"===document.readyState)return"loading";var t=V();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"},K=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},G=function(e,t){var n="";try{for(;e&&9!==e.nodeType;){var r=e,o=r.id?"#"+r.id:K(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},z=-1,Y=function(){return z},Q=function(e){addEventListener("pageshow",(function(t){t.persisted&&(z=t.timeStamp,e(t))}),!0)},Z=function(){var e=V();return e&&e.activationStart||0},ee=function(e,t){var n=V(),r="navigate";return Y()>=0?r="back-forward-cache":n&&(document.prerendering||Z()>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:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},te=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){}},ne=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))}},re=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},oe=function(e){document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e()}))},ie=function(e){var t=!1;return function(){t||(e(),t=!0)}},ae=-1,se=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},le=function(e){"hidden"===document.visibilityState&&ae>-1&&(ae="visibilitychange"===e.type?e.timeStamp:0,ue())},ce=function(){addEventListener("visibilitychange",le,!0),addEventListener("prerenderingchange",le,!0)},ue=function(){removeEventListener("visibilitychange",le,!0),removeEventListener("prerenderingchange",le,!0)},de=function(){return ae<0&&(ae=se(),ce(),Q((function(){setTimeout((function(){ae=se(),ce()}),0)}))),{get firstHiddenTime(){return ae}}},fe=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},pe=[1800,3e3],ge=function(e,t){t=t||{},fe((function(){var n,r=de(),o=ee("FCP"),i=te("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTime<r.firstHiddenTime&&(o.value=Math.max(e.startTime-Z(),0),o.entries.push(e),n(!0)))}))}));i&&(n=ne(e,o,pe,t.reportAllChanges),Q((function(r){o=ee("FCP"),n=ne(e,o,pe,t.reportAllChanges),re((function(){o.value=performance.now()-r.timeStamp,n(!0)}))})))}))},ve=[.1,.25],me=0,he=1/0,we=0,ye=function(e){e.forEach((function(e){e.interactionId&&(he=Math.min(he,e.interactionId),we=Math.max(we,e.interactionId),me=we?(we-he)/7+1:0)}))},Se=function(){"interactionCount"in performance||q||(q=te("event",ye,{type:"event",buffered:!0,durationThreshold:0}))},Ee=[],be=new Map,Te=0,Le=function(){return(q?me:performance.interactionCount||0)-Te},Oe=[],Pe=function(e){if(Oe.forEach((function(t){return t(e)})),e.interactionId||"first-input"===e.entryType){var t=Ee[Ee.length-1],n=be.get(e.interactionId);if(n||Ee.length<10||e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};be.set(r.id,r),Ee.push(r)}Ee.sort((function(e,t){return t.latency-e.latency})),Ee.length>10&&Ee.splice(10).forEach((function(e){return be.delete(e.id)}))}}},Ne=function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=ie(e),"hidden"===document.visibilityState?e():(n=t(e),oe(e)),n},De=[200,500],ke=[],Ie=new Map,Ce=[],_e=new WeakMap,Re=-1,Me=function(e){e.forEach((function(e){return ke.push(e)}))},Ae=function(){Ce=Ce.slice(-50);var e=new Set(Ce.concat(Ee.map((function(e){return _e.get(e.entries[0])}))));Ie.forEach((function(t,n){e.has(n)||Ie.delete(n)}));var t=new Set;Ie.forEach((function(e){$e(e.startTime,e.processingEnd).forEach((function(e){t.add(e)}))})),ke=Array.from(t),Re=-1};Oe.push((function(e){for(var t,n=e.startTime+e.duration,r=Ce.length-1;r>=0;r--)if(t=Ce[r],Math.abs(n-t)<=8){var o=Ie.get(t);o.startTime=Math.min(e.startTime,o.startTime),o.processingStart=Math.min(e.processingStart,o.processingStart),o.processingEnd=Math.max(e.processingEnd,o.processingEnd),o.entries.push(e),n=t;break}n!==t&&(Ce.push(n),Ie.set(n,{startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,entries:[e]})),(e.interactionId||"first-input"===e.entryType)&&_e.set(e,n),Re<0&&(Re=Ne(Ae))}));var xe,je,Ue,Be,$e=function(e,t){for(var n,r=[],o=0;n=ke[o];o++)if(!(n.startTime+n.duration<e)){if(n.startTime>t)break;r.push(n)}return r},Fe=[2500,4e3],Je={},He=[800,1800],qe=function e(t){document.prerendering?fe((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},We=function(e,t){t=t||{};var n=ee("TTFB"),r=ne(e,n,He,t.reportAllChanges);qe((function(){var o=V();o&&(n.value=Math.max(o.responseStart-Z(),0),n.entries=[o],r(!0),Q((function(){n=ee("TTFB",0),(r=ne(e,n,He,t.reportAllChanges))(!0)})))}))},Ve={passive:!0,capture:!0},Xe=new Date,Ke=function(e,t){xe||(xe=t,je=e,Ue=new Date,Ye(removeEventListener),Ge())},Ge=function(){if(je>=0&&je<Ue-Xe){var e={entryType:"first-input",name:xe.type,target:xe.target,cancelable:xe.cancelable,startTime:xe.timeStamp,processingStart:xe.timeStamp+je};Be.forEach((function(t){t(e)})),Be=[]}},ze=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(){Ke(e,t),o()},r=function(){o()},o=function(){removeEventListener("pointerup",n,Ve),removeEventListener("pointercancel",r,Ve)};addEventListener("pointerup",n,Ve),addEventListener("pointercancel",r,Ve)}(t,e):Ke(t,e)}},Ye=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,ze,Ve)}))},Qe=[100,300];const Ze=e=>(e=Math.round(e))<0||e>65535?0:e,et=e=>(e=Math.round(e))<0||e>4294967295?0:e,tt=void 0!==window.NPRL,nt=tt?"loadNitro":"load";let rt=null,ot=null,it=null;const at=()=>{rt=Date.now(),window.removeEventListener("NitroStylesLoaded",at,!0)},st=()=>{ot=Date.now(),window.removeEventListener(nt,st,!0)};tt&&window.addEventListener("NitroStylesLoaded",at,!0),window.addEventListener(nt,st,!0),window.addEventListener("scroll",(()=>it=Date.now()),{capture:!0,passive:!0});const lt=()=>St+=1;document.addEventListener("click",lt),document.addEventListener("pointerup",lt);const ct=e=>Number(rt&&Date.now()-rt<e),ut=e=>Number(ot&&Date.now()-ot<e),dt=e=>Number(it&&Date.now()-it<e);let ft=null,pt=null,gt=null,vt=null,mt={sessionEntry:null,unknown:null,afterStyles:null,afterPageLoad:null,afterScroll:null,total:null,raw:null,largestShiftTarget:null},ht=null,wt=null,yt={},St=0,Et=0;const bt=()=>{mt={sessionEntry:null,unknown:null,afterStyles:null,afterPageLoad:null,afterScroll:null,total:null,raw:null,largestShiftTarget:null}},Tt=()=>{const e={};return e.ttfb_crux=null!=ft?Math.round(ft):null,e.lcp_crux=null!=gt?Math.round(gt):null,e.lcp_perf=null!=vt&&et(vt)>0?et(vt):null,e.cls_total=null!=mt.total?Math.round(1e3*mt.total):null,e.cls_raw=null!=mt.raw?mt.raw:null,e.cls_largestShiftTarget=null!=mt.largestShiftTarget?mt.largestShiftTarget:null,e.fid=null!=pt?Math.round(pt):null,e.fcp=null!=wt?Math.round(wt):null,e.inp=null!=ht?Math.round(ht):null,e.inpDetails=Object.keys(yt).length?yt:null,["afterStyles","afterPageLoad","afterScroll","unknown"].forEach((t=>{const n=mt[t];n&&(e[`cls_${t}Delta`]=Math.round(1e3*n))})),Object.keys(e).forEach((t=>{const n=t;null===e[n]&&delete e[n]})),e};!function(e,t){!function(e,t){t=t||{},ge(ie((function(){var n,r=ee("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())},s=te("layout-shift",a);s&&(n=ne(e,r,ve,t.reportAllChanges),oe((function(){a(s.takeRecords()),n(!0)})),Q((function(){o=0,r=ee("CLS",0),n=ne(e,r,ve,t.reportAllChanges),re((function(){return n()}))})),setTimeout(n,0))})))}((function(t){var n=function(e){var t,n={};if(e.entries.length){var r=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(r&&r.sources&&r.sources.length){var o=(t=r.sources).find((function(e){return e.node&&1===e.node.nodeType}))||t[0];o&&(n={largestShiftTarget:G(o.node),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:o,largestShiftEntry:r,loadState:X(r.startTime)})}}return Object.assign(e,{attribution:n})}(t);e(n)}),t)}((e=>{var t,n,r,o,i;e.entries[0]!==mt.sessionEntry&&(bt(),mt.sessionEntry=e.entries[0]),mt.total=e.value,mt.raw=e.value,mt.largestShiftTarget=null===(t=null==e?void 0:e.attribution)||void 0===t?void 0:t.largestShiftTarget;const a=250;1==dt(a)+ut(a)+ct(a)?(dt(a)&&(mt.afterScroll=(null!==(n=mt.afterScroll)&&void 0!==n?n:0)+e.delta),ut(a)&&(mt.afterPageLoad=(null!==(r=mt.afterPageLoad)&&void 0!==r?r:0)+e.delta),ct(a)&&(mt.afterStyles=(null!==(o=mt.afterStyles)&&void 0!==o?o:0)+e.delta)):mt.unknown=(null!==(i=mt.unknown)&&void 0!==i?i:0)+e.delta}),{reportAllChanges:!0}),function(e,t){!function(e,t){t=t||{},fe((function(){var n,r=de(),o=ee("LCP"),i=function(e){t.reportAllChanges||(e=e.slice(-1)),e.forEach((function(e){e.startTime<r.firstHiddenTime&&(o.value=Math.max(e.startTime-Z(),0),o.entries=[e],n())}))},a=te("largest-contentful-paint",i);if(a){n=ne(e,o,Fe,t.reportAllChanges);var s=ie((function(){Je[o.id]||(i(a.takeRecords()),a.disconnect(),Je[o.id]=!0,n(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return Ne(s)}),!0)})),oe(s),Q((function(r){o=ee("LCP"),n=ne(e,o,Fe,t.reportAllChanges),re((function(){o.value=performance.now()-r.timeStamp,Je[o.id]=!0,n(!0)}))}))}}))}((function(t){var n=function(e){var t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){var n=V();if(n){var r=n.activationStart||0,o=e.entries[e.entries.length-1],i=o.url&&performance.getEntriesByType("resource").filter((function(e){return e.name===o.url}))[0],a=Math.max(0,n.responseStart-r),s=Math.max(a,i?(i.requestStart||i.startTime)-r:0),l=Math.max(s,i?i.responseEnd-r:0),c=Math.max(l,o.startTime-r);t={element:G(o.element),timeToFirstByte:a,resourceLoadDelay:s-a,resourceLoadDuration:l-s,elementRenderDelay:c-l,navigationEntry:n,lcpEntry:o},o.url&&(t.url=o.url),i&&(t.lcpResourceEntry=i)}}return Object.assign(e,{attribution:t})}(t);e(n)}),t)}((e=>{window.lcpCruxTimestamp=performance.now(),gt=e.value}),{reportAllChanges:!0}),function(e,t){!function(e,t){t=t||{},fe((function(){var n,r=de(),o=ee("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)},s=te("first-input",a);n=ne(e,o,Qe,t.reportAllChanges),s&&(oe(ie((function(){a(s.takeRecords()),s.disconnect()}))),Q((function(){var r;o=ee("FID"),n=ne(e,o,Qe,t.reportAllChanges),Be=[],je=-1,xe=null,Ye(addEventListener),r=i,Be.push(r),Ge()})))}))}((function(t){var n=function(e){var t=e.entries[0],n={eventTarget:G(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:X(t.startTime)};return Object.assign(e,{attribution:n})}(t);e(n)}),t)}((e=>{pt=e.value})),function(e,t){ge((function(t){var n=function(e){var t={timeToFirstByte:0,firstByteToFCP:e.value,loadState:X(Y())};if(e.entries.length){var n=V(),r=e.entries[e.entries.length-1];if(n){var o=n.activationStart||0,i=Math.max(0,n.responseStart-o);t={timeToFirstByte:i,firstByteToFCP:e.value-i,loadState:X(e.entries[0].startTime),navigationEntry:n,fcpEntry:r}}}return Object.assign(e,{attribution:t})}(t);e(n)}),t)}((e=>{wt=e.value}),{reportAllChanges:!0}),function(e,t){W||(W=te("long-animation-frame",Me)),function(e,t){t=t||{},fe((function(){var n;Se();var r,o=ee("INP"),i=function(e){e.forEach(Pe);var t,n=(t=Math.min(Ee.length-1,Math.floor(Le()/50)),Ee[t]);n&&n.latency!==o.value&&(o.value=n.latency,o.entries=n.entries,r())},a=te("event",i,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=ne(e,o,De,t.reportAllChanges),a&&("PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),oe((function(){i(a.takeRecords()),r(!0)})),Q((function(){Te=0,Ee.length=0,be.clear(),o=ee("INP"),r=ne(e,o,De,t.reportAllChanges)})))}))}((function(t){Ne((function(){var n=function(e){var t=e.entries[0],n=_e.get(t),r=Ie.get(n),o=t.processingStart,i=r.processingEnd,a=r.entries.sort((function(e,t){return e.processingStart-t.processingStart})),s=$e(t.startTime,i),l=e.entries.find((function(e){return e.target})),c=[t.startTime+t.duration,i].concat(s.map((function(e){return e.startTime+e.duration}))),u=Math.max.apply(Math,c),d={interactionTarget:G(l&&l.target),interactionType:t.name.startsWith("key")?"keyboard":"pointer",interactionTime:t.startTime,nextPaintTime:u,processedEventEntries:a,longAnimationFrameEntries:s,inputDelay:o-t.startTime,processingDuration:i-o,presentationDelay:Math.max(u-i,0),loadState:X(t.startTime)};return Object.assign(e,{attribution:d})}(t);e(n)}))}),t)}((e=>{ht=e.value,Et=St,e.attribution&&(yt={value:e.value,eventTarget:e.attribution.interactionTarget,eventType:e.attribution.interactionType,loadState:e.attribution.loadState,startTime:-1,processingStart:-1,processingEnd:-1,duration:-1,eventTime:e.attribution.interactionTime,nextPaintTime:e.attribution.nextPaintTime,inputDelay:e.attribution.inputDelay,processingDuration:e.attribution.processingDuration,presentationDelay:e.attribution.presentationDelay})}),{reportAllChanges:!0}),function(e,t){We((function(t){var n=function(e){var t={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(e.entries.length){var n=e.entries[0],r=n.activationStart||0,o=Math.max((n.workerStart||n.fetchStart)-r,0),i=Math.max(n.domainLookupStart-r,0),a=Math.max(n.connectStart-r,0),s=Math.max(n.connectEnd-r,0);t={waitingDuration:o,cacheDuration:i-o,dnsDuration:a-i,connectionDuration:s-a,requestDuration:e.value-s,navigationEntry:n}}return Object.assign(e,{attribution:t})}(t);e(n)}),t)}((e=>{ft=e.value}),{reportAllChanges:!0});new PerformanceObserver((e=>{window.lcpPerfTimestamp=performance.now();const t=e.getEntries(),n=t[t.length-1];vt=n.renderTime||n.loadTime})).observe({type:"largest-contentful-paint",buffered:!0});let Lt=null;const Ot=()=>{if(Lt)return Lt;let e=g;const t=sessionStorage.getItem(w);if(t){const{url:n,expiration:r}=JSON.parse(t);r<Date.now()?sessionStorage.removeItem(w):e=n}return Lt=e,e},Pt=new EventTarget,Nt=(...e)=>Pt.addEventListener(...e),Dt=(e,t,n={})=>Pt.dispatchEvent(new CustomEvent(e,Object.assign(Object.assign({},n),{detail:t})));let kt={deviceCores:0,deviceMemory:0,devicePerformance:0};const It=`${h}:nitroDeviceSpeed`,Ct=localStorage.getItem(It);if(Ct&&(kt=JSON.parse(Ct)),window.Worker&&!Ct){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=>{kt=e.data,localStorage.setItem(It,JSON.stringify(e.data))},t.postMessage("start")}const _t=()=>{let e=localStorage.getItem(S);return e?e.length>32&&(e=H(32),localStorage.setItem(S,e)):(e=H(32),localStorage.setItem(S,e)),e};let Rt=null;const Mt=()=>{if(Rt)return Rt;const e=localStorage.getItem(y);let t=e?JSON.parse(e):null;if(!t||Date.now()>t.expiration||t.isTestImpactJourney!==_){t={id:H(32),isTestImpactJourney:_,expiration:Date.now()+864e5},localStorage.setItem(y,JSON.stringify(t))}return Rt=t.id,Rt};let At="";const xt=e=>{const t=localStorage.getItem(E),n=JSON.parse(t||"{}");n[e]=n[e]||[];const r=H(32);return n[e].push({id:r,expiration:Date.now()+3e4}),localStorage.setItem(E,JSON.stringify(n)),r},jt=()=>{const e=Ot();let t=(e=>{var t;const n=localStorage.getItem(E),r=null===(t=JSON.parse(n||"{}")[e])||void 0===t?void 0:t.pop();return r&&Date.now()<=r.expiration?r.id:""})(e);return t||(t=xt(e)),(e=>{const t=localStorage.getItem(E),n=JSON.parse(t||"{}");if(n&&n[e]){const t=n[e].pop();t&&(Date.now()>t.expiration&&(n[e]=[]),localStorage.setItem(E,JSON.stringify(n)))}})(e),t};Nt("onBFCRestored",(()=>e(void 0,void 0,void 0,(function*(){const e=Ot();xt(e),At=jt()}))));const Ut=()=>(At||(At=jt()),At);let Bt=null;function $t(e,t,n){throw(n=new TypeError(e)).code=t,n}function Ft(e){$t("Invalid URL: "+e,"ERR_INVALID_URL")}function Jt(e,t,n,r){n='The "name" ',r="argument",e&&(n+='and "value" ',r+="s"),t<++e&&$t(n+r+" must be specified","ERR_MISSING_ARGS")}function Ht(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 qt(e,t){var n,r,o,i,a,s=this,l=[];try{i=!!Symbol.iterator}catch(e){i=!1}if(e)if(e.keys&&e.getAll)e.forEach((function(e,t){u(t,e)}));else if(e.pop)for(r=0;r<e.length;r++)u.apply(0,e[r]);else if("object"==typeof e)for(n in e)c(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),u(n.substring(0,r),n.substring(++r));function c(e,t){for(Jt(1,arguments.length),t=String(t),o=!1,r=l.length;r--;)(a=l[r])[0]==e&&(o?l.splice(r,1):(a[1]=t,o=!0));o||l.push([e,t]),f()}function u(e,t){Jt(1,arguments.length),l.push([e,String(t)]),f()}function d(){for(a="",r=0;r<l.length;r++)a&&(a+="&"),a+=encodeURIComponent(l[r][0])+"="+encodeURIComponent(l[r][1]);return a.replace(/%20/g,"+")}function f(){t&&(t.search=l.length?"?"+d().replace(/=$/,""):"")}return s.append=u,s.delete=function(e){for(Jt(0,arguments.length),r=l.length;r--;)l[r][0]==e&&l.splice(r,1);f()},s.entries=function(){return Ht(l,i)},s.forEach=function(e){for("function"!=typeof e&&$t("Callback must be a function","ERR_INVALID_CALLBACK"),r=0;r<l.length;r++)e(l[r][1],l[r][0])},s.get=function(e){for(Jt(0,arguments.length),r=0;r<l.length;r++)if(l[r][0]==e)return l[r][1];return null},s.getAll=function(e){for(Jt(0,arguments.length),a=[],r=0;r<l.length;r++)l[r][0]==e&&a.push(l[r][1]);return a},s.has=function(e){for(Jt(0,arguments.length),r=0;r<l.length;r++)if(l[r][0]==e)return!0;return!1},s.keys=function(){for(a=[],r=0;r<l.length;r++)a.push(l[r][0]);return Ht(a,i)},s.set=c,s.sort=function(){for(o=[],a=[],r=0;r<l.length;o.push(l[r++][0]));for(o.sort();n=o.shift();)for(r=0;r<l.length;r++)if(l[r][0]==n){a.push(l.splice(r,1).shift());break}l=a,f()},s.toString=d,s.values=function(){for(a=[],r=0;r<l.length;r++)a.push(l[r][1]);return Ht(a,i)},i&&(s[Symbol.iterator]=s.entries),s}function Wt(e,t){var n,r,o=document.createElement("a"),i=document.createElement("a"),a=document.createElement("input"),s=this,l=/(blob|ftp|wss?|https?):/;if(a.type="url",t=String(t||"").trim(),(a.value=t)&&!a.checkValidity())return Ft(t);if(e=String(e).trim(),a.value=e||0,a.checkValidity())i.href=e;else{if(!t)return Ft(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 c(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 qt(i.search,i)))}),a.get=n||function(){return function(e){return o.href=i.href,o.protocol="http:","protocol"==e||"href"==e||l.test(i.protocol)?i[e]:"origin"==e?l.test(i.protocol)?i[e]:"null":o[e]}(e)},a}return r=new qt(i.search,i),s.toString=s.toJSON=i.toString.bind(i),Object.defineProperties(s,{href:c("href"),protocol:c("protocol"),username:c("username"),password:c("password"),hostname:c("hostname"),host:c("host"),port:c("port"),search:c("search"),hash:c("hash"),pathname:c("pathname"),origin:c("origin",1),searchParams:c("searchParams",1,(function(){return r}))})}let Vt=[];const Xt=(e,t,n)=>{Vt.some((t=>t.resourceUrl===e))||Vt.push({resourceUrl:e,type:t,message:n})},Kt=e=>{try{const t=new Wt(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}},Gt=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"}};let zt=0;const Yt=(e,t="")=>{if((()=>{const e=document.cookie.split(";").find((e=>e.trim().startsWith("NITRO_SCRIPT_DEBUG=")));return e?e.split("=")[1]:null})()){zt++;const n=Math.floor(10*Math.random());localStorage.setItem(`${h}:debug:`+(Ut()?`${Ut()}:`:"no_pageview_id")+`${zt}_${n}:`+t,JSON.stringify(e))}};class Qt{constructor(e,t,n,r){this.payload={data:{},metadata:{}},this.namespace=e,this.endpoint=t,this.aggregator=n,this.preprocessor=r,this.isFlushScheduled=!1,this.requestCounter=0,this.pvId=void 0,this.localStorageNamespace=`${h}:${this.namespace.toUpperCase()}`}getLocalStorageKey(e=this.pvId){return e?`${this.localStorageNamespace}:${e}`:null}backupPayloadInLocalStorage(){const e=this.getLocalStorageKey();e&&(C?Yt({pvId:this.pvId,shouldStopLogging:C,namespace:this.namespace},"payload_backup_skipped"):localStorage.setItem(e,JSON.stringify(this.payload)))}clearLocalStorageBackups(e){if(!(e.length<1))for(const t of e){const e=this.getLocalStorageKey(t);e&&localStorage.removeItem(e)}}set(e,t){if(this.aggregator){const n=this.payload.data[e]||void 0;t=this.aggregator(e,n,t)}this.payload.data[e]=t}setFromObject(e){const t=this.aggregator;t?Object.keys(e).forEach((n=>{const r=this.payload.data[n]||void 0;let o=e[n];o=t(n,r,o),this.payload.data[n]=o})):Object.assign(this.payload.data,e)}setMetadata(e,t){this.payload.metadata[e]=t}getLocalStorageEntries(){var e;const t={};for(let n=0;n<localStorage.length;n++){const r=localStorage.key(n);if(r&&r.startsWith("NitroU")){localStorage.removeItem(r);continue}if(!r||r&&!r.startsWith(this.localStorageNamespace))continue;const o=null!==(e=localStorage.key(n))&&void 0!==e?e:"",i=o.split(":");if(3===i.length&&"Aggregated"!==i[1])try{const e=i[2],n=localStorage.getItem(o);if(n){const r=JSON.parse(n);t[e]=r}}catch(e){console.error(`Failed to parse ${o}: ${e}`)}}return t}flush(){return e(this,void 0,void 0,(function*(){if(!(null==this?void 0:this.pvId)||C)return void Yt({pvId:this.pvId,shouldStopLogging:C,namespace:this.namespace},"flush_skipped");this.aggregator&&(this.requestCounter++,this.setMetadata("requestCounter",this.requestCounter)),this.backupPayloadInLocalStorage();let e=this.getLocalStorageEntries();const t=Object.keys(e);if(this.preprocessor&&(e=this.preprocessor(e)),Object.keys(e).length>0){let t={key:d,props:e};t=JSON.stringify(t),navigator.sendBeacon&&navigator.sendBeacon(this.endpoint,t)||(yield fetch(this.endpoint,{body:t,method:"POST",keepalive:!0,headers:{"Content-Type":"application/json"}}))}this.clearLocalStorageBackups(t)}))}flushQuiet(){this.isFlushScheduled||(this.isFlushScheduled=!0,setTimeout((()=>e(this,void 0,void 0,(function*(){yield this.flush(),this.isFlushScheduled=!1}))),1e3))}clearData(){this.payload.data={}}}let Zt=null;const en=["click","touchstart","wheel"],tn=e=>{var t;if(!(e instanceof HTMLIFrameElement))return;const n=e.getBoundingClientRect();if(!(e=>{const t=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth,r=e.top<=t&&e.top+e.height>=0,o=e.left<=n&&e.left+e.width>=0;return r&&o})(n))return;const r={width:n.width,height:n.height,area:n.width*n.height,src:e.src||e.getAttribute("nitro-og-src")||e.getAttribute("nitro-lazy-src"),loadTimestamp:performance.now()};r.area>(null!==(t=null==Zt?void 0:Zt.area)&&void 0!==t?t:0)&&(Zt=Object.assign({},r))},nn=()=>{const e=document.querySelectorAll("iframe");return e.forEach((e=>tn(e))),e},rn=new ResizeObserver((e=>{e.forEach((e=>{tn(e.target)}))}));document.querySelectorAll("iframe").forEach((e=>{rn.observe(e)}));const on=((e,t=300)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})((()=>{const e=nn();rn.disconnect(),e.forEach((e=>{rn.observe(e)}))}),100),an=new MutationObserver(on),sn={childList:!0,subtree:!0,attributes:!1},ln=()=>{an.observe(document.body,sn)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",ln):ln();const cn=()=>{rn.disconnect(),an.disconnect(),en.forEach((e=>{window.removeEventListener(e,cn)}))};en.forEach((e=>{window.addEventListener(e,cn)})),nn();const un=()=>Zt;let dn=null;const fn=()=>{if(dn)return dn;dn={};let e="NONE";(x||j)&&(e="UNKNOWN");const t=sessionStorage.getItem("nitro_prefetched_urls")||"{}",n=JSON.parse(t);if(null!==n){sessionStorage.removeItem("nitro_prefetched_urls");const t=Ot();n[t]&&(e=n[t].initiator),dn.prefetchCount=Object.entries(n).length}return dn.prefetchInitiator=e,dn},pn=function(){return window.NitroPack=window.NitroPack||{},null==window.NitroPack.registeredOptimizers&&(window.NitroPack.registeredOptimizers=[]),window.NitroPack.registeredOptimizers.filter((e=>!!Object.values(s).includes(e)||(console.error(`Unknown page optimizer: ${e}`),!1)))},gn=e=>{var t,n,r,o,i,a,s,l,c,u,d,f,p,g,v,m,h,w,y;const S=Object.keys(e);for(const E of S){const S=null===(r=null===(n=null===(t=e[E])||void 0===t?void 0:t.data)||void 0===n?void 0:n.uxData)||void 0===r?void 0:r.url;if(void 0===S){delete e[E];continue}if(void 0===(null===(i=null===(o=e[E])||void 0===o?void 0:o.metadata)||void 0===i?void 0:i.version)){delete e[E];continue}const b=null===(s=null===(a=e[E])||void 0===a?void 0:a.metadata)||void 0===s?void 0:s.expiration;if(void 0!==b&&b<Date.now()/1e3){delete e[E];continue}const T=null===(u=null===(c=null===(l=e[E])||void 0===l?void 0:l.data)||void 0===c?void 0:c.uxData)||void 0===u?void 0:u.pageOptimizers,L=e[E].data.uxData;"string"==typeof T&&L&&(L.pageOptimizers=JSON.parse(T));const O=null===(f=null===(d=e[E])||void 0===d?void 0:d.data)||void 0===f?void 0:f.resourceErrors;"string"==typeof O&&(e[E].data.resourceErrors=JSON.parse(O));try{if("localhost"===new Wt(S).host){delete e[E];continue}}catch(t){console.error(t,S),delete e[E];continue}if((null===(v=null===(g=null===(p=e[E])||void 0===p?void 0:p.data)||void 0===g?void 0:g.uxData)||void 0===v?void 0:v.cwv)&&(Object.assign(null!==(m=e[E].data.uxData)&&void 0!==m?m:{},null===(w=null===(h=e[E].data)||void 0===h?void 0:h.uxData)||void 0===w?void 0:w.cwv),null===(y=e[E].data.uxData)||void 0===y||delete y.cwv),L){if(L.inpDetailsMap={},L.inpDetails&&Object.keys(L.inpDetails).length>0)for(const[e,t]of Object.entries(L.inpDetails))L.inpDetailsMap[e]=`${t}`;if(L.iframeDetailsMap={},L.iframeDetails&&Object.keys(L.iframeDetails).length>0)for(const[e,t]of Object.entries(L.iframeDetails))L.iframeDetailsMap[e]=`${t}`;L.inpDetails&&0!==Object.keys(L.inpDetails).length||(L.inpDetails=[]),L.iframeDetails||(L.iframeDetails=[]),Array.isArray(L.inpDetails)||(L.inpDetails=vn(L.inpDetails)),Array.isArray(L.iframeDetails)||(L.iframeDetails=vn(L.iframeDetails))}}return e},vn=e=>{const t=[];for(const[n,r]of Object.entries(e||{}))t.push(`${n}:${r}`);return t};let mn=0;const hn=()=>mn;var wn=()=>{const t=o.UX,n=performance.getEntriesByType("navigation")[0],r=Number("1721017298");let i=Math.floor(Date.now()/1e3);Math.abs(i-r)>1200&&(i=r);const s=void 0!==window.scrollY?window.scrollY:0,l=Ze(document.documentElement.clientWidth),u=Ze(document.documentElement.clientHeight),f=Ze(window.screen.width),p=Ze(window.screen.height);let v=0,m=0,h={ttfb:null,navType:"unknown",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};const w=hn();let y=0;const S=new Qt(t,k[t],((e,t,n)=>{if(e===c.resourceErrors)return n;if(e===c.uxData){const e=null!=t?t:{},r=null!=n?n:{},o={};return Object.entries(r).forEach((([t,n])=>{const r=t;o[r]=((e,t,n)=>{var r,o;const i=["ttfb","ttfb_crux","fid","lcp_crux","lcp_perf","lcpCruxTimestamp","lcpPerfTimestamp","cls","cls_total","cls_raw","cls_afterStylesDelta","cls_afterPageLoadDelta","cls_afterScrollDelta","cls_unknownDelta","inp","fcp","clicks","requestCounter","isPageClosed"];if("cwv"===e){const e=t=t||{},r=n,o=new Set([...Object.keys(e),...Object.keys(r)]),a={};for(const t of o)if(i.includes(t)){const n=Number(e[t]||0),o=Number(r[t]||0);a[t]=Math.max(isNaN(n)?0:n,isNaN(o)?0:o)}else"inpDetails"===t?(r.inp||0)>(e.inp||0)&&(a[t]=r[t]):"cls_largestShiftTarget"===t?(r.cls_total||0)>(e.cls_total||0)&&(a[t]=r[t]):void 0!==e[t]?a[t]=e[t]:void 0!==r[t]&&(a[t]=r[t]);return a}if(i.includes(e)){let e=Number(t||0);isNaN(e)&&(e=0);let r=Number(n||0);return isNaN(r)&&(r=0),Math.max(e,r)}if("iframeDetails"===e){const e=n;return t&&(null!==(r=null==t?void 0:t.area)&&void 0!==r?r:0)>=(null!==(o=null==e?void 0:e.area)&&void 0!==o?o:0)?t:n}return["pageOptimizers"].includes(e)?n:void 0!==t?t:n})(r,e[r],n)})),Object.assign(Object.assign({},t),o)}return n}),gn);S.setMetadata("version",O),S.setMetadata("expiration",D);const E=!!window.IS_NITROPACK||pn().length>0,L=window.NitroPack,P=(null==L?void 0:L.coreVersion)&&"na"!==L.coreVersion?L.coreVersion:"na";S.set(c.uxData,{visitorId:_t(),visitorJourneyId:Mt(),urlFinal:g,coreVersion:P,isOptimized:E,pageOptimizers:pn(),isPrerendered:x,isPrefetched:j,isBFRestored:U,timestamp:i,activationStart:A(),isDuplicateTab:!1,scrollPosition:s,isBot:navigator.webdriver||!navigator.languages.length,isNavAIExcluded:$(g),viewportWidth:l,viewportHeight:u,screenWidth:f,screenHeight:p});window.addEventListener("error",(e=>{var t;const n=e.message||"Unknown error",r={IMG:a.Image,SCRIPT:a.Script,LINK:a.Link};let o,i;const s=e.target,l=null===(t=null==s?void 0:s.tagName)||void 0===t?void 0:t.toUpperCase();if(!(l in r))return!0;o=r[l],i=(null==s?void 0:s.src)||(null==s?void 0:s.href),o===a.Link&&"stylesheet"===(null==s?void 0:s.rel)&&(o=a.Stylesheet),setTimeout((()=>{Xt(i,o,n)}),50)}),!0),"undefined"!=typeof PerformanceObserver&&new PerformanceObserver((e=>{(null==e?void 0: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")))&&Kt(e.name)&&Xt(e.name,Gt(Kt(e.name)),`Response status is ${e.responseStatus}`)}))})).observe({type:"resource",buffered:!0}),fn(),Nt("onBackgroundedTabForTwoMinutes",(()=>{sessionStorage.removeItem("nitro_prefetched_urls"),Dt("onReInitNavAILogic")})),Nt("onBFCRestored",(()=>{sessionStorage.removeItem("nitro_prefetched_urls"),Dt("onReInitNavAILogic")}));let N=()=>new Promise((e=>e(h)));"undefined"!=typeof PerformanceObserver&&(N=()=>new Promise((e=>{new PerformanceObserver((t=>{const n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?1e3:0;t.getEntries().forEach((t=>{t instanceof PerformanceNavigationTiming&&setTimeout((()=>{t.loadEventEnd&&t.loadEventEnd>0&&(Object.keys(h).forEach((e=>{const n=t[e];if(void 0!==n){if(("string"==typeof n||"number"==typeof n)&&("string"==typeof(r=n)?!isNaN(parseFloat(r)):isFinite(r))){const t=e;Number(n)>=0&&Number(n)<=4294967295?h[t]=Math.round(Number(n)):h[t]=null}else{h[e]=n}}var r})),h.ttfb=x?0:Math.round(t.responseStart-t.connectEnd),h.navType=t.type||"unknown",h.netRedirectReferrer=document.referrer.length?document.referrer:null,h.netRedirectCount=t.redirectCount,h.timeOrigin=Math.round(performance.timeOrigin),e(h))}),n)}))})).observe({type:"navigation",buffered:!0})})));const I=()=>(h.lastNavDiff=(()=>{const e=localStorage.getItem(b);let t=0;e&&(t=parseInt(e));const n=Date.now();return localStorage.setItem(b,`${n}`),isNaN(t)||0===t?null:Number(((n-t)/1e3).toFixed(1))})(),h),R=()=>{var e,t,n;const r={};return"object"==typeof window.NPTelemetryMetadata&&(r.missReason=(null===(e=window.NPTelemetryMetadata)||void 0===e?void 0:e.missReason)||"",r.pageType=(null===(t=window.NPTelemetryMetadata)||void 0===t?void 0:t.pageType)||"",r.isEligibleForOptimization=Boolean(null===(n=window.NPTelemetryMetadata)||void 0===n?void 0:n.isEligibleForOptimization)||!1),_&&(r.missReason="test-impact"),r},M=t=>e(void 0,void 0,void 0,(function*(){var e,n,r,o,i,a;if(J())return void Yt("UX - getIsWordPressAdmin = true","flushPageHideData");const s=Tt(),l=un(),u=null===(r=null===(n=null===(e=S.payload)||void 0===e?void 0:e.data)||void 0===n?void 0:n.uxData)||void 0===r?void 0:r.iframeDetails,d=l&&l.area>((null==u?void 0:u.area)||0);S.requestCounter>0&&0===Object.keys(s).length&&!d&&0===Vt.length&&(null===(a=null===(i=null===(o=S.payload)||void 0===o?void 0:o.data)||void 0===i?void 0:i.uxData)||void 0===a?void 0:a.predictEndpointRequestedPerfNow)===y?"pagehide"===t&&B():(s.lcpCruxTimestamp=null!=window.lcpCruxTimestamp?Math.round(window.lcpCruxTimestamp):0,s.lcpPerfTimestamp=null!=window.lcpPerfTimestamp?Math.round(window.lcpPerfTimestamp):0,S.set(c.uxData,Object.assign(Object.assign({cwv:s},Et&&{clicks:Et}),{iframeDetails:l,predictEndpointRequestedPerfNow:y})),S.set("resourceErrors",(()=>{const e=[...Vt];return Vt=[],e})()),"pagehide"===t&&S.setMetadata("isPageClosed",!0),ft=null,pt=null,gt=null,vt=null,bt(),ht=null,wt=null,yt={},St=0,"pagehide"===t?yield S.flush():S.flushQuiet())})),B=()=>{if(C)return;const e=Ut(),t=`https://${T}/ping/unalive/${e}`;navigator.sendBeacon&&navigator.sendBeacon(t)||fetch(t,{method:"POST",keepalive:!0})},F=()=>{var e,t,n,r;let o=!1;(null===(n=null===(t=null===(e=null===window||void 0===window?void 0:window.ShopifyAnalytics)||void 0===e?void 0:e.meta)||void 0===t?void 0:t.page)||void 0===n?void 0:n.customerId)&&(o=!0);const i=R();return"logged in"===(null==i?void 0:i.missReason)&&(o=!0),(null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.classList.contains("logged-in"))&&(o=!0),J()&&(o=!0),o},H=()=>e(void 0,void 0,void 0,(function*(){if(J())return;setInterval((()=>Dt("pageHideReady",{trigger:"interval"})),6e3),setInterval((()=>(()=>{if(C)return;const e=Ut(),t=`https://${T}/ping/keepalive/${e}?siteId=${d}`;navigator.sendBeacon&&navigator.sendBeacon(t)||fetch(t,{method:"POST",keepalive:!0})})()),12e4),m=document.querySelectorAll("*").length;const e=Tt();e.lcpCruxTimestamp=null!=window.lcpCruxTimestamp?Math.round(window.lcpCruxTimestamp):0,e.lcpPerfTimestamp=null!=window.lcpPerfTimestamp?Math.round(window.lcpPerfTimestamp):0,h=yield N(),S.pvId=Ut(),S.set(c.uxData,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({url:Ot(),connType:navigator.connection?navigator.connection.effectiveType:"u"},(()=>{const e={},t=n.notRestoredReasons;return null===t?e.bfCacheEligible=1:void 0===t?e.bfCacheEligible=null:t&&(e.bfCacheEligible=t.blocked?0:1,e.bfCacheNotEligibleReason=t.reasons?JSON.stringify(t.reasons):""),e})()),R()),!U&&Object.assign({},fn())),(()=>{const e={};if(!n.serverTiming||!n.serverTiming.length)return e;for(const{name:t,description:r,duration:o}of n.serverTiming)switch(t){case"nitro-ec-status":e.ecStatus=r;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=r}return e})()),{elementsCountDocReady:v,elementsCountPageLoad:m}),I()),{predictStrategy:Bt||(Bt=sessionStorage.getItem("predictStrategyOnPrevPage")||"",sessionStorage.removeItem("predictStrategyOnPrevPage"),Bt)}),kt),{isTestImpactJourney:_,cwv:e,iframeDetails:un(),scriptStartPerfNow:w,predictEndpointRequestedPerfNow:y,isLoggedUser:F()})),S.flushQuiet()})),q=()=>v=document.querySelectorAll("*").length;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",q):q(),Nt("pageLoadReady",(()=>{H()})),Nt("pageHideReady",(e=>M(e.detail.trigger))),Nt("onPredictEndpointRequested",(()=>{0===y&&(y=performance.now())}))};const yn=e=>{var t;return(null==e?void 0:e.href)||(null===(t=null==e?void 0:e.dataset)||void 0===t?void 0:t.nitroHref)},Sn={},En=e=>{var t;return null!==(t=Sn[e])&&void 0!==t?t:"none"},bn=e=>{var t,n,r,o,i,a;const s=Object.keys(e);for(const l of s){let s=null===(n=null===(t=e[l])||void 0===t?void 0:t.data)||void 0===n?void 0:n.events;if(null==s){delete e[l];continue}if(void 0===(null===(o=null===(r=e[l])||void 0===r?void 0:r.metadata)||void 0===o?void 0:o.version)){delete e[l];continue}const c=null===(a=null===(i=e[l])||void 0===i?void 0:i.metadata)||void 0===a?void 0:a.expiration;void 0!==c&&c<Date.now()/1e3&&delete e[l],s=s.filter((e=>{const t=null==e?void 0:e.url;if(void 0===t)return!1;try{if("localhost"===new Wt(t).host)return!1}catch(e){return console.error(e,t),!1}return!0})),0!=s.length?e[l]&&(e[l].data.events=s):delete e[l]}return e};var Tn=()=>{var t;const n=o.UB,r=new Qt(n,k[n],void 0,bn);r.setMetadata("version",L),r.setMetadata("expiration",N);const i=(null===(t=null===navigator||void 0===navigator?void 0:navigator.connection)||void 0===t?void 0:t.effectiveType)||"",a="yes",s="no",c="no_data",u=Ze(document.documentElement.clientWidth),d=Ze(document.documentElement.clientHeight);let f=null,p=null,v=!1,m=!1,h=c,y="none",S=0,E=0,b=null,T=null,O=0,P=0,D=0,I=0,C=0,M=0,A=0;Nt("onPredictedUrls",(e=>{b=e.detail.predictedUrls})),Nt("onPredictResponse",(e=>{T=e.detail.predictResponse,0===A&&(A=performance.now())})),Nt("onHintInsert",(e=>{const t=e.detail.type;"prefetch"===t?S++:"prerender"===t&&E++})),Nt("onBFCRestored",(()=>{x(),v=!1,f=null,p=null})),Nt("onBackgroundedTabForTwoMinutes",(()=>{x()})),Nt("pageLoadReady",(()=>W()));const x=()=>{S=0,E=0},j=()=>!document.body.classList.contains("logged-in")&&-1===document.cookie.indexOf("items_in_cart=1"),U=e=>{if(!e)return!1;const t=e.match(/\.([a-zA-Z0-9]+)(?:\?.*)?$/);return!t||!t[1]||["html","htm","php","asp","aspx","jsp","jspx"].includes(t[1])},B=e=>e.replace(/#.*$/,""),$=e=>{const t=r.payload.data.events||[];t.push(e),r.set("events",t)},F=e=>{var t;const n=Object.keys(null!==(t=null==T?void 0:T.selectors)&&void 0!==t?t:{});return!!e&&n.includes(e)},H=e=>{if(!T)return null;const t=Object.entries(T.selectors);t.sort(((e,t)=>t[1]-e[1]));for(let n=0;n<t.length;n++)if(t[n][0]===e)return n;return null},q=()=>e(void 0,void 0,void 0,(function*(){if(!f||!U(f)||m||J())return;const e=Date.now(),t=_t(),n=Mt();var o;r.pvId=xt(f),$({event:l.Navigate,isNewTab:v,isVisitor:j(),browser_time:e,source_url:g,url:f,selector:p,visitor_id:t,visitorJourneyId:n,connection_type:i,instant_load_predicted:h,speculation_type:y,prerenderInitiator:En(f),prefetch_count:S,prerender_count:E,predictStrategy:R,selectorInPredictResponse:T&&"string"==typeof p&&F(p),clickedSelectorIndex:"string"==typeof p?H(p):null,isTestImpactJourney:_,clickViewportX:O,clickViewportY:P,clickPageY:D,clickPageX:I,clickScreenX:C,clickScreenY:M,viewportWidth:u,viewportHeight:d,navigatePerfNow:performance.now(),predictPerfNow:A}),yield r.flush(),r.clearData(),v?(f=null,p=null,m=!0):(o=f,sessionStorage.setItem(w,JSON.stringify({url:o,expiration:Date.now()+5e3})),sessionStorage.setItem("predictStrategyOnPrevPage",R))})),W=()=>e(void 0,void 0,void 0,(function*(){if(J())return;const e=_t(),t=Mt(),n=Ot();m=!0,f=null,p=null,v=!1,r.pvId=Ut(),$({event:l.Pageload,isVisitor:j(),browser_time:Date.now(),visitor_id:e,visitorJourneyId:t,connection_type:i,isTestImpactJourney:_,url:n,viewportWidth:u,viewportHeight:d}),yield r.flush(),r.clearData()}));document.addEventListener("click",(e=>{const t=(n=e.target)&&n.closest?yn(n)?n:n.closest("a")||n.closest("[data-nitro-href]"):null;var n;if(!t)return;const r=yn(t);if(!r)return;if(f=(e=>{var t;const n=new Wt(e,(null===(t=document.querySelector("base"))||void 0===t?void 0:t.href)||window.location.href),r=n.host!==window.location.host,o=B(n.href)===B(window.location.href),i=n.hash||n.href.endsWith("#");return r||o&&i?null:n.href})(r),!f)return;if(O=e.clientX,P=e.clientY,D=e.pageY,I=e.pageX,C=e.screenX,M=e.screenY,p=(e=>{if(!(e instanceof Element))return"";const t=[];for(;e&&e.nodeType===Node.ELEMENT_NODE&&e!==document.body;){let n=e.nodeName.toLowerCase();if(e.id){n+=`#${e.id}`,t.unshift(n);break}{let t=e,r=1;for(;t=t.previousElementSibling;)t.nodeName.toLowerCase()===e.nodeName.toLowerCase()&&r++;r>1&&(n+=`:nth-of-type(${r})`)}t.unshift(n),e=e.parentElement}return t.join(" > ")})(t),b){const e=b.includes(f);if(h=e?a:s,e){const e=sessionStorage.getItem("nitro_prefetched_urls"),t=e?JSON.parse(e):null,n=t&&t[f];y=n&&n.type}}const o=t.hasAttribute("target")&&"_blank"===t.getAttribute("target");v=e.ctrlKey||e.shiftKey||e.metaKey||e.button&&1===e.button||o,m=!1,q(),v&&(f=null,p=null)})),document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&(null!==f||m||e(void 0,void 0,void 0,(function*(){const e=_t(),t=Mt(),n=Ot(),o=Date.now();U(n)&&!J()&&(r.pvId=Ut(),$({event:l.Loading,isVisitor:j(),browser_time:o,url:n,visitor_id:e,visitorJourneyId:t,connection_type:i,isTestImpactJourney:_}),yield r.flush(),r.clearData())})))}))};const Ln=()=>{wn(),Tn(),window.addEventListener("pagehide",(()=>Dt("pageHideReady",{trigger:"pagehide"})),!0),document.prerendering?document.addEventListener("prerenderingchange",(()=>{"complete"===document.readyState?Dt("pageLoadReady"):window.addEventListener("load",(()=>{Dt("pageLoadReady")}))}),{once:!0}):"complete"===document.readyState?Dt("pageLoadReady"):window.addEventListener("load",(()=>{Dt("pageLoadReady")})),document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&Dt("pageHideReady",{trigger:"visibilitychange"})}),!0),window.addEventListener("pageshow",(e=>{e.persisted&&(Dt("onBFCRestored"),"visible"!==document.visibilityState||x||Dt("pageLoadReady"))}))};var On=()=>{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 Wt((null===(e=document.querySelector("base"))||void 0===e?void 0:e.href)||r).origin;let a=[],s=null,l=null,c=0,u=0,d=["mousemove","click","keydown","touchmove","touchstart"],f=!1,p=!1,g=0,v=!1,h=null,w=JSON.parse(atob("WyIuKj9cXD9hZGQtdG8tY2FydD0uKj8iLCIuKj9cdTAwMjZhZGQtdG8tY2FydD0uKj8iLCIuKj9cXD9yZW1vdmVfaXRlbT0uKj8iLCIuKj9cdTAwMjZyZW1vdmVfaXRlbT0uKj8iLCIuKj9cXD9hZGQuKj8iLCIuKj9cdTAwMjZhZGQuKj8iLCIuKj9cXD9yZW1vdmUuKj8iLCIuKj9cdTAwMjZyZW1vdmUuKj8iLCIuKj89cmVtb3ZlLio/IiwiLio/XFw/ZGVsZXRlLio/IiwiLio/XHUwMDI2ZGVsZXRlLio/IiwiLio/ZG93bmxvYWQuKj8iLCIuKj9sb2dvdXQuKj8iLCIuKj9sb2dpbi4qPyIsIi4qP3NpZ25vdXQuKj8iLCIuKj9zaWduaW4uKj8iLCIuKj8vd3AtYWRtaW4uKj8iLCIuKj8vd3AtbG9naW4uKj8iLCIuKj93cG5vbmNlPS4qPyIsIi4qP25vbmNlPS4qPyIsIi4qPy9jaGVja291dC4qPyIsIi4qPy9jYXJ0Lio/IiwiLio/L215LWFjY291bnQuKj8iLCIuKj8vYWNjb3VudC4qPyIsIi4qPy9yZXF1ZXN0LXF1b3RlLyIsIi4qP1xcLmV4ZSIsIi4qP1xcLnppcCIsIi4qP1xcLnJhciIsIi4qP1xcLmRlYiIsIi4qP1xcLnJwbSIsIi4qP1xcLnBrZyIsIi4qP1xcLmRtZyIsIi4qP1xcLnBkZiIsIi4qP1xcLm1zaSIsIi4qP1xcLm1wMyIsIi4qP1xcLmRvYyIsIi4qP1xcLmRvY3giLCIuKj9cXC5wcHQiLCIuKj9cXC54bHMiLCIuKj9cXC54bHN4IiwiLio/XFwub2R0IiwiLio/XFwudHh0IiwiLio/XFwuanBnIiwiLio/XFwuanBlZyIsIi4qP1xcLnBuZyIsIi4qP1xcLndlYnAiLCIuKj9cXC5naWYiLCIuKj9cXC5hdmlmIiwiLio/XFwubXA0IiwiLio/XFwubW92IiwiLio/XFwud212IiwiLio/XFwud2VibSIsIi4qP1xcLmF2aSIsIi4qP1xcLmZsdiIsIi4qP1xcLm1rdiIsIi4qP1xcLm10cyIsIi4qP2xlYXJuZGFzaF9kZWxldGUuKj8iXQ=="));if("[object Object]"===Object.prototype.toString.call(w)){n.logOther("EXCLUDES_AS_OBJECT",w);let e=[];for(const t in w)e.push(w[t]);w=e}w=w.map((e=>new RegExp(e)));const y=e=>{for(let t=0;t<w.length;t++)if(null!==e.match(w[t]))return!0;return!1};if(m)return void n.logOther("Script execution canceled: Test mode enabled.");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 S=0;function E(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 Wt(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 b(){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()-S>300){if(!b())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),S=performance.now(),n.logPrefetch(e,"prefetch",t),!0;n.logOther("Prefetch skipped: limited connection",e)}else n.logOther("Prefetch skipped: on cooldown",e)};function L(e){let t=document.querySelector("body");for(;e!=t;){if(O(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=>O(t)?(n.logOther("Skipping link: Inside a <nav> element.",e),!1):E(t))),t.length>0)return[t,e];e=e.parentElement}return[[],null]}function O(e){return e&&(null!==e.closest("nav")||"NAV"==e.nodeName)}function P(){f=!0,p&&!v&&D()}function N(){p=!0,f&&!v&&(D()?window.cancelIdleCallback(c):(u++,u>2&&(window.cancelIdleCallback(c),n.logLcpEvent("IDLE_CALLBACK_CANCELLED"))))}function D(){if(null==s)return n.logLcpEvent("doLcpPrefetching_CALLBACK_CALLED_WITHOUT_LCP_ELEMENT"),!1;let e=[];if([e,l]=L(s),0==e.length)return n.logLcpEvent("NO_LINKS_FOUND"),!1;e.length>0&&(T(e[0].href,"LCP",!v),v=!0),I.observe(l,{subtree:!0,childList:!0,attributes:!0}),n.logLcpEvent("MUTATION_OBSERVER_REGISTERED"),window.cancelIdleCallback(c),n.logLcpEvent("IDLE_CALLBACK_CANCELLED")}function k(e){n.logLcpEvent("MUTATION_RESCAN_TRIGGERED",e);let t=L(l)[0];t.length>0&&T(t[0].href,"LCP_MUTATION")}const I=new MutationObserver((function(e){n.logLcpEvent("MUTATION_DETECTED",e),clearTimeout(g),g=setTimeout(k,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),s=e.getEntries().at(-1).element})),t=function(){c=window.requestIdleCallback(N),window.removeEventListener("load",t)};d.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||!E(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||!E(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)}()};const Pn=()=>{mn=performance.now(),(()=>{if(window.NitroPack=window.NitroPack||{},null==window.NitroPack.scriptReady&&(window.NitroPack.scriptReady=!1),null==window.NitroPack.customDebugScript&&(window.NitroPack.customDebugScript=!1),window.NitroPack.customDebugScript)return!1;if(window.NitroPack.scriptReady){let e="Nitro Script";return document.currentScript&&"src"in document.currentScript&&(e=document.currentScript.src),console.warn(`NitroPack: ${e} is already initialized. The execution will be skipped.`),!0}if(window.NitroPack.scriptReady=!0,localStorage.getItem("nitroDebugScript")){console.warn("NitroPack: Debug mode is enabled."),window.NitroPack.customDebugScript=!0;const e=localStorage.getItem("nitroDebugScript")||"() => void 0;";return new Function(e)(),!0}if(localStorage.getItem("nitroDebugScriptUrl")){console.warn("NitroPack: Debug mode is enabled."),window.NitroPack.customDebugScript=!0;const e=localStorage.getItem("nitroDebugScriptUrl");return!!e&&(fetch(e).then((e=>e.text())).then((e=>{new Function(e)()})),!0)}return!1})()||(Ln(),On())};document.prerendering?document.addEventListener("prerenderingchange",(()=>{Pn()}),{once:!0}):Pn()}();
(()=>{if(window.NitroPack=window.NitroPack||{coreVersion:"na",isCounted:!1},!window.NitroPack.isCounted){window.NitroPack.isCounted=!0;let e=()=>{navigator.sendBeacon("https://to.getnitropack.com/p",JSON.stringify({siteId:"IGznbGRRlgTZrDhcBXoGZGvLcNnWkXpC",url:window.location.href,isOptimized:!!window.IS_NITROPACK,coreVersion:"na",missReason:window.NPTelemetryMetadata?.missReason||"",pageType:window.NPTelemetryMetadata?.pageType||"",isEligibleForOptimization:!!window.NPTelemetryMetadata?.isEligibleForOptimization}))};(()=>{let i=()=>new Promise(e=>{"complete"===document.readyState?e():window.addEventListener("load",e)}),t=()=>new Promise(e=>{document.prerendering?document.addEventListener("prerenderingchange",e,{once:!0}):e()}),a=async()=>{await t(),await i(),e()};a()})(),window.addEventListener("pageshow",i=>{if(i.persisted){let t=document.prerendering||self.performance?.getEntriesByType?.("navigation")[0]?.activationStart>0;"visible"!==document.visibilityState||t||e()}})}})();