"use strict";(()=>{var pe,V,he;function Re(){pe=Intl.DateTimeFormat().resolvedOptions(),V=pe.timeZone,he=pe.locale}var Te=null;function w(){if(!Te){let e=document.currentScript;Te={src:e.src,framerSiteId:e?e.getAttribute("data-fid"):null,trackNavigation:!(e!=null&&e.hasAttribute("data-no-nt")),cdn:"https://framerusercontent.com/sites/"}}return Te}function x(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function mt(){return`${x()}${x()}-${x()}-${x()}-${x()}-${x()}${x()}${x()}`}var E=class{constructor(t,o){this.event=t;this.data=o}serialize(){return{source:"framer.site",timestamp:Date.now(),data:{type:"track",uuid:mt(),event:this.event,...this.data}}}};var ze=new Set,ve=e=>ze.forEach(({callback:t,on:o})=>o===e&&t()),z=(e,t="lazy")=>ze.add({callback:e,on:t});addEventListener("visibilitychange",()=>{document.hidden&&ve("lazy")});addEventListener("pagehide",()=>ve("lazy"));addEventListener("load",()=>ve("load"));var G,te,O;function gt(e,t,o,r){let i=JSON.stringify(t);try{return window.fetchLater(e,{method:"POST",body:i,signal:r,activateAfter:o?3e3:10*6e4})}catch{return Ie(e,i),{activated:!0}}}function ft(e,t,o){return!1}function Ie(e,t){fetch(e,{method:"POST",body:t})}function pt(e,t){return navigator.sendBeacon(e,t)}function Be(e,t,o=!1){if(!ft(e,t,o)){let r=JSON.stringify(t);pt(e,r)||Ie(e,r)}}var ne=new Set;function _e(){for(let e of ne)e();ne.clear()}var N=window.scheduler,ht=N&&"yield"in N,Tt=N&&"postTask"in N;function I(e=!1){return new Promise(t=>{if(ne.add(t),!document.hidden){requestAnimationFrame(async()=>{let o=()=>{ne.delete(t),t()};e?ht?(await N.yield(),o()):Tt?N.postTask(o):o():setTimeout(o,1)});return}_e()})}z(_e,"lazy");var Oe=w(),vt=new URL(Oe.src),yt=`${vt.origin}/anonymous`;function Ne(e,t=!1){if(!location.protocol.startsWith("http"))return;let o={framerSiteId:Oe.framerSiteId,origin:document.location.origin,pathname:document.location.pathname,search:document.location.search,visitTimeOrigin:performance.timeOrigin};Be(yt,e.map(r=>({...r,data:{...r.data,context:{...o,...r.data.context}}})),t)}function We(e,t){return e==="eager"||t==="eager"?"eager":t??e}var re=new Set,ye=!1;function Se(){if(re.size===0)return;if(!ye){ye=!0,queueMicrotask(Se);return}let e=[];re.forEach(t=>t.forEach(o=>e.push(o.serialize()))),re.clear(),Ne(e),ye=!1}async function k(e,t="lazy"){if(e.length!==0){if(t==="eager"){await I(),Ne(e.map(o=>o.serialize()),!0);return}re.add(e),document.hidden&&Se()}}z(Se,"lazy");var W="__framer_events";function Ue(){window[W]||(window[W]=[]);function e(t){let o,r=t.map(i=>{let[a,n,s]=i;return o=We(o,s),new E(a,n)});k(r,o??"eager")}window[W].length>0&&(e(window[W]),window[W].length=0),window[W].push=(...t)=>(e(t),-1)}var St=w();function Z(e){let t=[new E("published_site_pageview",{referrer:(e==null?void 0:e.initialReferrer)||null,url:location.href,hostname:location.hostname||null,pathname:location.pathname||null,hash:location.hash||null,search:location.search||null,framerSiteId:St.framerSiteId,timezone:V,locale:he})];k(t,"eager")}function $e(){addEventListener("popstate",()=>Z());let e=history.pushState;history.pushState=(...t)=>{e.apply(history,t),Z()}}var oe=class{t;o=0;i=[];u(t){var i;if(t.hadRecentInput)return;let o=this.i[0],r=this.i.at(-1);this.o&&o&&r&&t.startTime-r.startTime<1e3&&t.startTime-o.startTime<5e3?(this.o+=t.value,this.i.push(t)):(this.o=t.value,this.i=[t]),(i=this.t)==null||i.call(this,t)}},q=()=>{let e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},ae=e=>{if(document.readyState==="loading")return"loading";{let t=q();if(t){if(e<t.domInteractive)return"loading";if(t.domContentLoadedEventStart===0||e<t.domContentLoadedEventStart)return"dom-interactive";if(t.domComplete===0||e<t.domComplete)return"dom-content-loaded"}}return"complete"},Et=e=>{let t=e.nodeName;return e.nodeType===1?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},we=e=>{let t="";try{for(;(e==null?void 0:e.nodeType)!==9;){let o=e,r=o.id?"#"+o.id:[Et(o),...Array.from(o.classList).sort()].join(".");if(t.length+r.length>99)return t||r;if(t=t?r+">"+t:r,o.id)break;e=o.parentNode}}catch{}return t},Ee=new WeakMap;function $(e,t){return Ee.get(e)||Ee.set(e,new t),Ee.get(e)}var Ke=-1,et=()=>Ke,j=e=>{addEventListener("pageshow",t=>{t.persisted&&(Ke=t.timeStamp,e(t))},!0)},C=(e,t,o,r)=>{let i,a;return n=>{t.value>=0&&(n||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=((s,l)=>s>l[1]?"poor":s>l[0]?"needs-improvement":"good")(t.value,o),e(t)))}},ke=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},X=()=>{let e=q();return(e==null?void 0:e.activationStart)??0},L=(e,t=-1)=>{let o=q(),r="navigate";return et()>=0?r="back-forward-cache":o&&(document.prerendering||X()>0?r="prerender":document.wasDiscarded?r="restore":o.type&&(r=o.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},H=(e,t,o={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(i=>{Promise.resolve().then(()=>{t(i.getEntries())})});return r.observe({type:e,buffered:!0,...o}),r}}catch{}},Me=e=>{let t=!1;return()=>{t||(e(),t=!0)}},U=-1,He=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,se=e=>{document.visibilityState==="hidden"&&U>-1&&(U=e.type==="visibilitychange"?e.timeStamp:0,bt())},qe=()=>{addEventListener("visibilitychange",se,!0),addEventListener("prerenderingchange",se,!0)},bt=()=>{removeEventListener("visibilitychange",se,!0),removeEventListener("prerenderingchange",se,!0)},tt=()=>{var e;if(U<0){let t=X();U=(document.prerendering||(e=globalThis.performance.getEntriesByType("visibility-state").filter(r=>r.name==="hidden"&&r.startTime>t)[0])==null?void 0:e.startTime)??He(),qe(),j(()=>{setTimeout(()=>{U=He(),qe()})})}return{get firstHiddenTime(){return U}}},le=e=>{document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},je=[1800,3e3],nt=(e,t={})=>{le(()=>{let o=tt(),r,i=L("FCP"),a=H("paint",n=>{for(let s of n)s.name==="first-contentful-paint"&&(a.disconnect(),s.startTime<o.firstHiddenTime&&(i.value=Math.max(s.startTime-X(),0),i.entries.push(s),r(!0)))});a&&(r=C(e,i,je,t.reportAllChanges),j(n=>{i=L("FCP"),r=C(e,i,je,t.reportAllChanges),ke(()=>{i.value=performance.now()-n.timeStamp,r(!0)})}))})},Je=[.1,.25],Ve=e=>e.find(t=>{var o;return((o=t.node)==null?void 0:o.nodeType)===1})||e[0],rt=(e,t={})=>{let o=$(t=Object.assign({},t),oe),r=new WeakMap;o.t=i=>{var a;if((a=i==null?void 0:i.sources)!=null&&a.length){let n=Ve(i.sources);if(n){let s=(t.generateTarget??we)(n.node);r.set(n,s)}}},((i,a={})=>{nt(Me(()=>{let n,s=L("CLS",0),l=$(a,oe),u=c=>{for(let p of c)l.u(p);l.o>s.value&&(s.value=l.o,s.entries=l.i,n())},m=H("layout-shift",u);m&&(n=C(i,s,Je,a.reportAllChanges),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&(u(m.takeRecords()),n(!0))}),j(()=>{l.o=0,s=L("CLS",0),n=C(i,s,Je,a.reportAllChanges),ke(()=>n())}),setTimeout(n))}))})(i=>{let a=(n=>{var l;let s={};if(n.entries.length){let u=n.entries.reduce((m,c)=>m.value>c.value?m:c);if((l=u==null?void 0:u.sources)!=null&&l.length){let m=Ve(u.sources);m&&(s={largestShiftTarget:r.get(m),largestShiftTime:u.startTime,largestShiftValue:u.value,largestShiftSource:m,largestShiftEntry:u,loadState:ae(u.startTime)})}}return Object.assign(n,{attribution:s})})(i);e(a)},t)},it=(e,t={})=>{nt(o=>{let r=(i=>{let a={timeToFirstByte:0,firstByteToFCP:i.value,loadState:ae(et())};if(i.entries.length){let n=q(),s=i.entries.at(-1);if(n){let l=n.activationStart||0,u=Math.max(0,n.responseStart-l);a={timeToFirstByte:u,firstByteToFCP:i.value-u,loadState:ae(i.entries[0].startTime),navigationEntry:n,fcpEntry:s}}}return Object.assign(i,{attribution:a})})(o);e(r)},t)},ot=0,be=1/0,ie=0,Ct=e=>{for(let t of e)t.interactionId&&(be=Math.min(be,t.interactionId),ie=Math.max(ie,t.interactionId),ot=ie?(ie-be)/7+1:0)},Ce,Ge=()=>Ce?ot:performance.interactionCount??0,Lt=()=>{"interactionCount"in performance||Ce||(Ce=H("event",Ct,{type:"event",buffered:!0,durationThreshold:0}))},Qe=0,ce=class{l=[];h=new Map;m;p;v(){Qe=Ge(),this.l.length=0,this.h.clear()}M(){let t=Math.min(this.l.length-1,Math.floor((Ge()-Qe)/50));return this.l[t]}u(t){var i,a;if((i=this.m)==null||i.call(this,t),!t.interactionId&&t.entryType!=="first-input")return;let o=this.l.at(-1),r=this.h.get(t.interactionId);if(r||this.l.length<10||t.duration>o.T){if(r?t.duration>r.T?(r.entries=[t],r.T=t.duration):t.duration===r.T&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],T:t.duration},this.h.set(r.id,r),this.l.push(r)),this.l.sort((n,s)=>s.T-n.T),this.l.length>10){let n=this.l.splice(10);for(let s of n)this.h.delete(s.id)}(a=this.p)==null||a.call(this,r)}}},Le=e=>{let t=globalThis.requestIdleCallback||setTimeout;document.visibilityState==="hidden"?e():(e=Me(e),document.addEventListener("visibilitychange",e,{once:!0}),t(()=>{e(),document.removeEventListener("visibilitychange",e)}))},Ze=[200,500],at=(e,t={})=>{let o=$(t=Object.assign({},t),ce),r=[],i=[],a=0,n=new WeakMap,s=new WeakMap,l=!1,u=()=>{l||(Le(m),l=!0)},m=()=>{let d=o.l.map(T=>n.get(T.entries[0])),g=i.length-50;i=i.filter((T,y)=>y>=g||d.includes(T));let f=new Set;for(let T of i){let y=c(T.startTime,T.processingEnd);for(let S of y)f.add(S)}let h=r.length-1-50;r=r.filter((T,y)=>T.startTime>a&&y>h||f.has(T)),l=!1};o.m=d=>{let g=d.startTime+d.duration,f;a=Math.max(a,d.processingEnd);for(let h=i.length-1;h>=0;h--){let T=i[h];if(Math.abs(g-T.renderTime)<=8){f=T,f.startTime=Math.min(d.startTime,f.startTime),f.processingStart=Math.min(d.processingStart,f.processingStart),f.processingEnd=Math.max(d.processingEnd,f.processingEnd),f.entries.push(d);break}}f||(f={startTime:d.startTime,processingStart:d.processingStart,processingEnd:d.processingEnd,renderTime:g,entries:[d]},i.push(f)),(d.interactionId||d.entryType==="first-input")&&n.set(d,f),u()},o.p=d=>{if(!s.get(d)){let g=(t.generateTarget??we)(d.entries[0].target);s.set(d,g)}};let c=(d,g)=>{let f=[];for(let h of r)if(!(h.startTime+h.duration<d)){if(h.startTime>g)break;f.push(h)}return f},p=d=>{let g=d.entries[0],f=n.get(g),h=g.processingStart,T=Math.max(g.startTime+g.duration,h),y=Math.min(f.processingEnd,T),S=f.entries.sort((v,b)=>v.processingStart-b.processingStart),A=c(g.startTime,y),M=o.h.get(g.interactionId),F={interactionTarget:s.get(M),interactionType:g.name.startsWith("key")?"keyboard":"pointer",interactionTime:g.startTime,nextPaintTime:T,processedEventEntries:S,longAnimationFrameEntries:A,inputDelay:h-g.startTime,processingDuration:y-h,presentationDelay:T-y,loadState:ae(g.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(v=>{var xe;if(!((xe=v.longAnimationFrameEntries)!=null&&xe.length))return;let b=v.interactionTime,R=v.inputDelay,Y=v.processingDuration,D,_,ue=0,J=0,me=0,ge=0;for(let K of v.longAnimationFrameEntries){J=J+K.startTime+K.duration-K.styleAndLayoutStart;for(let P of K.scripts){let Ae=P.startTime+P.duration;if(Ae<b)continue;let ee=Ae-Math.max(b,P.startTime),Fe=P.duration?ee/P.duration*P.forcedStyleAndLayoutDuration:0;ue+=ee-Fe,J+=Fe,ee>ge&&(_=P.startTime<b+R?"input-delay":P.startTime>=b+R+Y?"presentation-delay":"processing-duration",D=P,ge=ee)}}let fe=v.longAnimationFrameEntries.at(-1),De=fe?fe.startTime+fe.duration:0;De>=b+R+Y&&(me=v.nextPaintTime-De),D&&_&&(v.longestScript={entry:D,subpart:_,intersectingDuration:ge}),v.totalScriptDuration=ue,v.totalStyleAndLayoutDuration=J,v.totalPaintDuration=me,v.totalUnattributedDuration=v.nextPaintTime-b-ue-J-me})(F),Object.assign(d,{attribution:F})};H("long-animation-frame",d=>{r=r.concat(d),u()}),((d,g={})=>{globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype&&le(()=>{Lt();let f,h=L("INP"),T=$(g,ce),y=A=>{Le(()=>{for(let F of A)T.u(F);let M=T.M();M&&M.T!==h.value&&(h.value=M.T,h.entries=M.entries,f())})},S=H("event",y,{durationThreshold:g.durationThreshold??40});f=C(d,h,Ze,g.reportAllChanges),S&&(S.observe({type:"first-input",buffered:!0}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&(y(S.takeRecords()),f(!0))}),j(()=>{T.v(),h=L("INP"),f=C(d,h,Ze,g.reportAllChanges)}))})})(d=>{let g=p(d);e(g)},t)},de=class{m;u(t){var o;(o=this.m)==null||o.call(this,t)}},Xe=[2500,4e3],st=(e,t={})=>{let o=$(t=Object.assign({},t),de),r=new WeakMap;o.m=i=>{if(i.element){let a=(t.generateTarget??we)(i.element);r.set(i,a)}},((i,a={})=>{le(()=>{let n=tt(),s,l=L("LCP"),u=$(a,de),m=p=>{a.reportAllChanges||(p=p.slice(-1));for(let d of p)u.u(d),d.startTime<n.firstHiddenTime&&(l.value=Math.max(d.startTime-X(),0),l.entries=[d],s())},c=H("largest-contentful-paint",m);if(c){s=C(i,l,Xe,a.reportAllChanges);let p=Me(()=>{m(c.takeRecords()),c.disconnect(),s(!0)});for(let d of["keydown","click","visibilitychange"])addEventListener(d,()=>Le(p),{capture:!0,once:!0});j(d=>{l=L("LCP"),s=C(i,l,Xe,a.reportAllChanges),ke(()=>{l.value=performance.now()-d.timeStamp,s(!0)})})}})})(i=>{let a=(n=>{let s={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:n.value};if(n.entries.length){let l=q();if(l){let u=l.activationStart||0,m=n.entries.at(-1),c=m.url&&performance.getEntriesByType("resource").filter(f=>f.name===m.url)[0],p=Math.max(0,l.responseStart-u),d=Math.max(p,c?(c.requestStart||c.startTime)-u:0),g=Math.min(n.value,Math.max(d,c?c.responseEnd-u:0));s={target:r.get(m),timeToFirstByte:p,resourceLoadDelay:d-p,resourceLoadDuration:g-d,elementRenderDelay:n.value-g,navigationEntry:l,lcpEntry:m},m.url&&(s.url=m.url),c&&(s.lcpResourceEntry=c)}}return Object.assign(n,{attribution:s})})(i);e(a)},t)},Ye=[800,1800],Pe=e=>{document.prerendering?le(()=>Pe(e)):document.readyState!=="complete"?addEventListener("load",()=>Pe(e),!0):setTimeout(e)},ct=(e,t={})=>{((o,r={})=>{let i=L("TTFB"),a=C(o,i,Ye,r.reportAllChanges);Pe(()=>{let n=q();n&&(i.value=Math.max(n.responseStart-X(),0),i.entries=[n],a(!0),j(()=>{i=L("TTFB",0),a=C(o,i,Ye,r.reportAllChanges),a(!0)}))})})(o=>{let r=(i=>{let a={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(i.entries.length){let n=i.entries[0],s=n.activationStart||0,l=Math.max((n.workerStart||n.fetchStart)-s,0),u=Math.max(n.domainLookupStart-s,0),m=Math.max(n.connectStart-s,0),c=Math.max(n.connectEnd-s,0);a={waitingDuration:l,cacheDuration:u-l,dnsDuration:m-u,connectionDuration:c-m,requestDuration:i.value-c,navigationEntry:n}}return Object.assign(i,{attribution:a})})(o);e(r)},t)};function Pt(e){for(let t in e)if(e[t]!==void 0)return!0;return!1}function B(e){return Pt(e)?e:void 0}function lt(){let e=document.getElementById("main");if(!e)return;let t=new Set;try{let a=n=>t.add(n);st(a),it(a),rt(({value:n,...s})=>{t.add({...s,value:n*1e3})}),at(a),ct(a)}catch{}let o=new Set([...performance.getEntriesByType("mark"),...performance.getEntriesByType("measure")].filter(a=>a.name.startsWith("framer-")));new PerformanceObserver(a=>{a.getEntries().forEach(n=>{n.name.startsWith("framer-")&&o.add(n)})}).observe({entryTypes:["measure","mark"]});let r=e.dataset,i={pageOptimizedAt:r.framerPageOptimizedAt?new Date(r.framerPageOptimizedAt).getTime():null,ssrReleasedAt:r.framerSsrReleasedAt?new Date(r.framerSsrReleasedAt).getTime():null,origin:document.location.origin,pathname:document.location.pathname,search:document.location.search};z(()=>At(i),"load"),z(()=>wt(t,o,i),"lazy")}var dt=!1;function wt(e,t,o){let r=document.getElementById("main");if(!r)return;let i=[];if(dt||(i.push(kt(o,r)),dt=!0),e.size>0&&(i.push(...Dt(e,o)),e.clear()),t.size>0){let a=xt(t);a&&i.push(a),t.clear()}k(i)}function kt({pageOptimizedAt:e,ssrReleasedAt:t,origin:o,pathname:r,search:i},a){var l,u,m,c,p,d;let n=performance.getEntriesByType("navigation")[0],s=document.querySelector("[data-framer-css-ssr-minified]");return new E("published_site_performance",{hydrationDurationMs:null,pageLoadDurationMs:null,domNodes:document.getElementsByTagName("*").length,resourcesCount:performance.getEntriesByType("resource").length,headSize:document.head.innerHTML.length,framerCSSSize:(l=s==null?void 0:s.textContent)==null?void 0:l.length,modulePreloads:document.querySelectorAll(`link[rel="modulepreload"][href^="${w().cdn}"]`).length,hasPageContent:a.dataset["framer-no-content"]===void 0,timeZone:V,pageOptimizedAt:e,ssrReleasedAt:t,devicePixelRatio:window.devicePixelRatio,timeToFirstByteMs:null,navigationTiming:n?{activationStart:n.activationStart,connectEnd:n.connectEnd,connectStart:n.connectStart,criticalCHRestart:n.criticalCHRestart,decodedBodySize:n.decodedBodySize,deliveryType:n.deliveryType,domComplete:n.domComplete,domContentLoadedEventEnd:n.domContentLoadedEventEnd,domContentLoadedEventStart:n.domContentLoadedEventStart,domInteractive:n.domInteractive,domainLookupEnd:n.domainLookupEnd,domainLookupStart:n.domainLookupStart,duration:n.duration,encodedBodySize:n.encodedBodySize,fetchStart:n.fetchStart,firstInterimResponseStart:n.firstInterimResponseStart,loadEventEnd:n.loadEventEnd,loadEventStart:n.loadEventStart,nextHopProtocol:n.nextHopProtocol,redirectCount:n.redirectCount,redirectEnd:n.redirectEnd,redirectStart:n.redirectStart,requestStart:n.requestStart,responseEnd:n.responseEnd,responseStart:n.responseStart,responseStatus:n.responseStatus,secureConnectionStart:n.secureConnectionStart,serverTiming:n.serverTiming?JSON.stringify(n.serverTiming):null,startTime:n.startTime,transferSize:n.transferSize,type:n.type,unloadEventEnd:n.unloadEventEnd,unloadEventStart:n.unloadEventStart,workerStart:n.workerStart}:void 0,connection:B({downlink:(u=navigator.connection)==null?void 0:u.downlink,downlinkMax:(m=navigator.connection)==null?void 0:m.downlinkMax,rtt:(c=navigator.connection)==null?void 0:c.rtt,saveData:(p=navigator.connection)==null?void 0:p.saveData,type:(d=navigator.connection)==null?void 0:d.type}),context:{origin:o,pathname:r,search:i}})}var Mt=0;function Dt(e,{pageOptimizedAt:t,ssrReleasedAt:o,origin:r,pathname:i,search:a}){let n=[];return e.forEach(s=>{e.delete(s);let{name:l,value:u,id:m,attribution:c}=s,p={metric:l,label:m,value:Math.round(u),counter:Mt++,pageOptimizedAt:t,ssrReleasedAt:o,context:{origin:r,pathname:i,search:a},attributionLcp:void 0,attributionCls:void 0,attributionInp:void 0,attributionFcp:void 0,attributionTtfb:void 0};l==="LCP"?p.attributionLcp=B({element:c.target,timeToFirstByte:c.timeToFirstByte,resourceLoadDelay:c.resourceLoadDelay,resourceLoadTime:c.resourceLoadDuration,elementRenderDelay:c.elementRenderDelay,url:c.url}):l==="CLS"?p.attributionCls=B({largestShiftTarget:c.largestShiftTarget,largestShiftTime:c.largestShiftTime,largestShiftValue:c.largestShiftValue,loadState:c.loadState}):l==="INP"?p.attributionInp=B({eventTarget:c.interactionTarget,eventType:c.interactionType,eventTime:c.interactionTime?Math.round(c.interactionTime):void 0,loadState:c.loadState,inputDelay:c.inputDelay,processingDuration:c.processingDuration,presentationDelay:c.presentationDelay,nextPaintTime:c.nextPaintTime,totalScriptDuration:c.totalScriptDuration,totalStyleAndLayoutDuration:c.totalStyleAndLayoutDuration,totalPaintDuration:c.totalPaintDuration,totalUnattributedDuration:c.totalUnattributedDuration,longestScript:JSON.stringify(c.longestScript)}):l==="FCP"?p.attributionFcp=B({timeToFirstByte:c.timeToFirstByte,firstByteToFCP:c.firstByteToFCP,loadState:c.loadState}):l==="TTFB"&&(p.attributionTtfb=B({waitingTime:c.waitingDuration,dnsTime:c.dnsDuration,connectionTime:c.connectionDuration,requestTime:c.requestDuration,cacheDuration:c.cacheDuration})),n.push(new E("published_site_performance_web_vitals",p))}),n}function xt(e){let t=[];if(e.forEach(o=>{e.delete(o);let{name:r,startTime:i,duration:a,detail:n}=o,s={name:r,startTime:i,duration:a,detail:n};t.push(s)}),t.length!==0)return new E("published_site_performance_user_timings",{timings:JSON.stringify(t)})}async function At({origin:e,pathname:t,search:o}){let r=document.getElementById("main");if(!r)return;await I();let i=1/0,a=null,n=null,s=0,l=0,u=0,m=0,c=w().cdn,p=`^${c}[^/]+/`,d=".[^.]+.mjs$",g=new RegExp(`${p}script_main${d}`),f=new RegExp(`${p}framer${d}`),h=new RegExp(`${p}motion${d}`),T=performance.getEntriesByType("resource"),y=T.length;for(let A=0;A<y;A++){let M=T[A],{deliveryType:F,initiatorType:v,transferSize:b,decodedBodySize:R,encodedBodySize:Y,name:D,startTime:_}=M;_>i||!(v==="script"&&D.startsWith(c))||(++u,(F==="cache"||F!==void 0&&b===0)&&++m,s+=Y,l+=R,g.test(D)?i=_:a===null&&f.test(D)?a=R:n===null&&h.test(D)&&(n=R))}await I();let S=performance.getEntriesByType("navigation")[0];k([new E("published_site_performance_load",{pageLoadDurationMs:(S==null?void 0:S.domContentLoadedEventEnd)!==void 0&&S.domContentLoadedEventStart!==void 0?Math.round(S.domContentLoadedEventEnd-S.domContentLoadedEventStart):null,resourcesCount:y,domNodes:document.getElementsByTagName("*").length,headSize:document.head.innerHTML.length,headDomNodes:document.head.getElementsByTagName("*").length,bodySize:document.body.innerHTML.length,bodyDomNodes:document.body.getElementsByTagName("*").length,reactRootSize:r.innerHTML.length,reactRootDomNodes:r.getElementsByTagName("*").length,jsSizeDecoded:l,jsSizeEncoded:s,jsCountCached:m,jsCountTotal:u,mainScriptStartTime:Number.isFinite(i)?i:null,libraryJSSizeDecoded:a,motionJSSizeDecoded:n,context:{origin:e,pathname:t,search:o}})])}function ut(){window.__send_framer_event=(e,t)=>{let o=new E(e,t);k([o],"eager")}}var Ft=w(),Rt=async()=>{if(await I(!0),Re(),Ft.trackNavigation){$e();let e=typeof document.referrer=="string";Z({initialReferrer:e&&document.referrer||null})}lt(),ut(),Ue()};Rt();})();
