1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"warnOnce",{enumerable:!0,get:function(){return s}});let s=t=>{}},28327,60830,65566,5369,45046,4840,t=>{"use strict";t.i(47167);let e=t=>t;t.s(["noop",0,e],60830),t.s(["invariant",0,e,"warning",0,e],65566),t.s([],5369);let i={skipAnimations:!1,useManualTiming:!1};t.s(["MotionGlobalConfig",0,i],45046);let s=["read","resolveKeyframes","update","preRender","render","postRender"];function o(t,e){let o=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},l=()=>o=!0,a=s.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,s=!1,o=!1,r=new WeakSet,n={delta:0,timestamp:0,isProcessing:!1};function l(e){r.has(e)&&(a.schedule(e),t()),e(n)}let a={schedule:(t,o=!1,n=!1)=>{let l=n&&s?e:i;return o&&r.add(t),l.has(t)||l.add(t),t},cancel:t=>{i.delete(t),r.delete(t)},process:t=>{if(n=t,s){o=!0;return}s=!0,[e,i]=[i,e],e.forEach(l),e.clear(),s=!1,o&&(o=!1,a.process(t))}};return a}(l),t),{}),{read:h,resolveKeyframes:c,update:d,preRender:u,render:p,postRender:m}=a,f=()=>{let s=i.useManualTiming?n.timestamp:performance.now();o=!1,n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1),n.timestamp=s,n.isProcessing=!0,h.process(n),c.process(n),d.process(n),u.process(n),p.process(n),m.process(n),n.isProcessing=!1,o&&e&&(r=!1,t(f))};return{schedule:s.reduce((e,i)=>{let s=a[i];return e[i]=(e,i=!1,l=!1)=>(!o&&(o=!0,r=!0,n.isProcessing||t(f)),s.schedule(e,i,l)),e},{}),cancel:t=>{for(let e=0;e<s.length;e++)a[s[e]].cancel(t)},state:n,steps:a}}t.s(["createRenderBatcher",0,o],4840);let{schedule:r,cancel:n,state:l,steps:a}=o("u">typeof requestAnimationFrame?requestAnimationFrame:e,!0);t.s(["cancelFrame",0,n,"frame",0,r,"frameData",0,l,"frameSteps",0,a],28327)},18566,(t,e,i)=>{e.exports=t.r(76562)},63514,t=>{"use strict";var e=t.i(43476),i="1.3.23";function s(t,e,i){return Math.max(t,Math.min(e,i))}var o=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(t){if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;let i=s(0,this.currentTime/this.duration,1),o=(e=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*o}else if(this.lerp){var i,o,r,n;this.value=(i=this.value,o=this.to,r=60*this.lerp,(1-(n=1-Math.exp(-r*t)))*i+n*o),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,e=!0)}else this.value=this.to,e=!0;e&&this.stop(),this.onUpdate?.(this.value,e)}stop(){this.isRunning=!1}fromTo(t,e,{lerp:i,duration:s,easing:o,onStart:r,onUpdate:n}){this.from=this.value=t,this.to=e,this.lerp=i,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,r?.(),this.onUpdate=n}},r=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(t,e,{autoResize:i=!0,debounce:s=250}={}){this.wrapper=t,this.content=e,i&&(this.debouncedResize=function(t,e){let i;return function(...s){clearTimeout(i),i=setTimeout(()=>{i=void 0,t.apply(this,s)},e)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},n=class{events={};emit(t,...e){let i=this.events[t]||[];for(let t=0,s=i.length;t<s;t++)i[t]?.(...e)}on(t,e){return this.events[t]?this.events[t].push(e):this.events[t]=[e],()=>{this.events[t]=this.events[t]?.filter(t=>e!==t)}}off(t,e){this.events[t]=this.events[t]?.filter(t=>e!==t)}destroy(){this.events={}}};let l=100/6,a={passive:!1};function h(t,e){return 1===t?l:2===t?e:1}var c=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new n;constructor(t,e={wheelMultiplier:1,touchMultiplier:1}){this.element=t,this.options=e,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,a),this.element.addEventListener("touchstart",this.onTouchStart,a),this.element.addEventListener("touchmove",this.onTouchMove,a),this.element.addEventListener("touchend",this.onTouchEnd,a)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,a),this.element.removeEventListener("touchstart",this.onTouchStart,a),this.element.removeEventListener("touchmove",this.onTouchMove,a),this.element.removeEventListener("touchend",this.onTouchEnd,a)}onTouchStart=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})};onTouchMove=t=>{let{clientX:e,clientY:i}=t.targetTouches?t.targetTouches[0]:t,s=-(e-this.touchStart.x)*this.options.touchMultiplier,o=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=e,this.touchStart.y=i,this.lastDelta={x:s,y:o},this.emitter.emit("scroll",{deltaX:s,deltaY:o,event:t})};onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})};onWheel=t=>{let{deltaX:e,deltaY:i,deltaMode:s}=t,o=h(s,this.window.width),r=h(s,this.window.height);e*=o,i*=r,e*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:i,event:t})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let d=t=>Math.min(1,1.001-2**(-10*t));var u=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new o;emitter=new n;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:s=t,smoothWheel:o=!0,syncTouch:n=!1,syncTouchLerp:l=.075,touchInertiaExponent:a=1.7,duration:h,easing:u,lerp:p=.1,infinite:m=!1,orientation:f="vertical",gestureOrientation:v="horizontal"===f?"both":"vertical",touchMultiplier:w=1,wheelMultiplier:g=1,autoResize:S=!0,prevent:b,virtualScroll:y,overscroll:E=!0,autoRaf:T=!1,anchors:L=!1,autoToggle:R=!1,allowNestedScroll:z=!1,__experimental__naiveDimensions:P=!1,naiveDimensions:k=P,stopInertiaOnNavigate:N=!1}={}){window.lenisVersion=i,window.lenis||(window.lenis={}),window.lenis.version=i,"horizontal"===f&&(window.lenis.horizontal=!0),!0===n&&(window.lenis.touch=!0),t&&t!==document.documentElement||(t=window),"number"==typeof h&&"function"!=typeof u?u=d:"function"==typeof u&&"number"!=typeof h&&(h=1),this.options={wrapper:t,content:e,eventsTarget:s,smoothWheel:o,syncTouch:n,syncTouchLerp:l,touchInertiaExponent:a,duration:h,easing:u,lerp:p,infinite:m,gestureOrientation:v,orientation:f,touchMultiplier:w,wheelMultiplier:g,autoResize:S,prevent:b,virtualScroll:y,overscroll:E,autoRaf:T,anchors:L,autoToggle:R,allowNestedScroll:z,naiveDimensions:k,stopInertiaOnNavigate:N},this.dimensions=new r(t,e,{autoResize:S}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=ne
1w c(s,{touchMultiplier:w,wheelMultiplier:g}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(t,e){return this.emitter.on(t,e)}off(t,e){return this.emitter.off(t,e)}onScrollEnd=t=>{t instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||t.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let t=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[t]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=t=>{t.propertyName?.includes("overflow")&&t.target===this.rootElement&&this.checkOverflow()};setScroll(t){this.isHorizontal?this.options.wrapper.scrollTo({left:t,behavior:"instant"}):this.options.wrapper.scrollTo({top:t,behavior:"instant"})}onClick=t=>{let e=t.composedPath().filter(t=>t instanceof HTMLAnchorElement&&t.href).map(t=>new URL(t.href)),i=new URL(window.location.href);if(this.options.anchors){let t=e.find(t=>i.host===t.host&&i.pathname===t.pathname&&t.hash);if(t){let e="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=`#${t.hash.split("#")[1]}`;this.scrollTo(i,e);return}}if(this.options.stopInertiaOnNavigate&&e.some(t=>i.host===t.host&&i.pathname!==t.pathname))return void this.reset()};onPointerDown=t=>{1===t.button&&this.reset()};onVirtualScroll=t=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(t))return;let{deltaX:e,deltaY:i,event:s}=t;if(this.emitter.emit("virtual-scroll",{deltaX:e,deltaY:i,event:s}),s.ctrlKey||s.lenisStopPropagation)return;let o=s.type.includes("touch"),r=s.type.includes("wheel");this.isTouching="touchstart"===s.type||"touchmove"===s.type;let n=0===e&&0===i;if(this.options.syncTouch&&o&&"touchstart"===s.type&&n&&!this.isStopped&&!this.isLocked)return void this.reset();let l="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===e;if(n||l)return;let a=s.composedPath();a=a.slice(0,a.indexOf(this.rootElement));let h=this.options.prevent,c=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if(a.find(t=>t instanceof HTMLElement&&("function"==typeof h&&h?.(t)||t.hasAttribute?.("data-lenis-prevent")||"vertical"===c&&t.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===c&&t.hasAttribute?.("data-lenis-prevent-horizontal")||o&&t.hasAttribute?.("data-lenis-prevent-touch")||r&&t.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(t,{deltaX:e,deltaY:i}))))return;if(this.isStopped||this.isLocked){s.cancelable&&s.preventDefault();return}if(!(this.options.syncTouch&&o||this.options.smoothWheel&&r)){this.isScrolling="native",this.animate.stop(),s.lenisStopPropagation=!0;return}let d=i;"both"===this.options.gestureOrientation?d=Math.abs(i)>Math.abs(e)?i:e:"horizontal"===this.options.gestureOrientation&&(d=e),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&i>0||this.animatedScroll===this.limit&&i<0))&&(s.lenisStopPropagation=!0),s.cancelable&&s.preventDefault();let u=o&&this.options.syncTouch,p=o&&"touchend"===s.type;p&&(d=Math.sign(d)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+d,{programmatic:!1,...u?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit
1()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let t=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-t,this.direction=Math.sign(this.animatedScroll-t),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=t=>{let e=t-(this.time||t);this.time=t,this.animate.advance(.001*e),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(t,{offset:e=0,immediate:i=!1,lock:o=!1,programmatic:r=!0,lerp:n=r?this.options.lerp:void 0,duration:l=r?this.options.duration:void 0,easing:a=r?this.options.easing:void 0,onStart:h,onComplete:c,force:u=!1,userData:p}={}){if((this.isStopped||this.isLocked)&&!u)return;let m=t,f=e;if("string"==typeof m&&["top","left","start","#"].includes(m))m=0;else if("string"==typeof m&&["bottom","right","end"].includes(m))m=this.limit;else{let t=null;if("string"==typeof m?(t=document.querySelector(m))||("#top"===m?m=0:console.warn("Lenis: Target not found",m)):m instanceof HTMLElement&&m?.nodeType&&(t=m),t){if(this.options.wrapper!==window){let t=this.rootElement.getBoundingClientRect();f-=this.isHorizontal?t.left:t.top}let e=t.getBoundingClientRect(),i=getComputedStyle(t),s=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),o=getComputedStyle(this.rootElement),r=this.isHorizontal?Number.parseFloat(o.scrollPaddingLeft):Number.parseFloat(o.scrollPaddingTop);m=(this.isHorizontal?e.left:e.top)+this.animatedScroll-(Number.isNaN(s)?0:s)-(Number.isNaN(r)?0:r)}}if("number"==typeof m){if(m+=f,this.options.infinite){if(r){this.targetScroll=this.animatedScroll=this.scroll;let t=m-this.animatedScroll;t>this.limit/2?m-=this.limit:t<-this.limit/2&&(m+=this.limit)}}else m=s(0,m,this.limit);if(m===this.targetScroll){h?.(this),c?.(this);return}if(this.userData=p??{},i){this.animatedScroll=this.targetScroll=m,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}r||(this.targetScroll=m),"number"==typeof l&&"function"!=typeof a?a=d:"function"==typeof a&&"number"!=typeof l&&(l=1),this.animate.fromTo(this.animatedScroll,m,{duration:l,easing:a,lerp:n,onStart:()=>{o&&(this.isLocked=!0),this.isScrolling="smooth",h?.(this)},onUpdate:(t,e)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=t-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=t,this.setScroll(this.scroll),r&&(this.targetScroll=t),e||this.emit(),e&&(this.reset(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(t,{deltaX:e,deltaY:i}){let s,o,r,n,l,a,h,c,d,u,p,m,f,v,w,g,S=Date.now();t._lenis||(t._lenis={});let b=t._lenis;if(S-(b.time??0)>2e3){b.time=Date.now();let e=window.getComputedStyle(t);if(b.computedStyle=e,s=["auto","overlay","scroll"].includes(e.overflowX),o=["auto","overlay","scroll"].includes(e.overflowY),l=["auto"].includes(e.overscrollBehaviorX),a=["auto"].includes(e.overscrollBehaviorY),b.hasOverflowX=s,b.hasOverflowY=o,!(s||o))return!1;h=t.scrollWidth,c=t.scrollHeight,d=t.clientWidth,u=t.clientHeight,r=h>d,n=c>u,b.isScrollableX=r,b.isScrollableY=n,b.scrollWidth=h,b.scrollHeight=c,b.clientWidth=d,b.clientHeight=u,b.hasOverscrollBehaviorX=l,b.hasOverscrollBehaviorY=a}else r=b.isScrollableX,n=b.isScrollableY,s=b.hasOverflowX,o=b.hasOverflowY,h=b.scrollWidth,c=b.scrollHeight,d=b.clientWidth,u=b.clientHeight,l=b.hasOverscrollBehaviorX,a=b.hasOverscrollBehaviorY;if(!(s&&r||o&&n))return!1;let y=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===y)p=Math.round(t.scrollLeft),m=h-d,f=e,v=s,w=r,g=l;else{if("vertical"!==y)return!1;p=Math.round(t.scrollTop),m=c-u,f=i,v=o,w=n,g=a}return!g&&(p>=m||p<=0)||(f>0?p<m:p>0)&&v&&w}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let t=this.options.wrapper;return this.isHorizontal?t.scrollX??t.scrollLeft:t.scrollY??t.scrollTop}get scroll(){var t;return this.options.infinite?(this.animatedScroll%(t=this.limit)+t)%t:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(t){this._isScrolling!==t&&(this._isScrolling=t,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(t){this._isStopped!==t&&(this._isStopped=t,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(t){this._isLocked!==t&&(this._isLocked=t,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let t="lenis";return this.options.autoToggle&&(t+=" lenis-autoToggle"),this.isStopped&&(t+=" lenis-stopped"),this.isLocked&&(t+=" lenis-locked"),this.isScrolling&&(t+=" lenis-scrolling"),"smooth"===this.isScrolling&&(t+=" lenis-smooth"),t}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(t=>{this.rootElement.classList.add(t)})}cleanUpClassName(){for(let t of Array.from(this.rootElement.classList))("lenis"===t||t.startsWith("lenis-"))&&this.rootElement.classList.remove(t)}},p=t.i(71645),m=t.i(28327),f=t.i(18566);t.s(["SmoothScrollProvider",0,function({children:t}){let i=(0,f.usePathname)(),s=(0,p.useRef)(null);return(0,p.useEffect)(()=>{window.history.scrollRestoration="manual";let t=new u({duration:2.2,easing:t=>1-Math.pow(1-t,4.5),wheelMultiplier:.65,touchMultiplier:1.2,smoothWheel:!0,overscroll:!1});s.current=t;let e=({timestamp:e})=>{t.raf(e)};return m.frame.update(e,!0),()=>{(0,m.cancelFrame)(e),t.destroy(),s.current=null}},[]),(0,p.useEffect)(()=>{s.current?.scrollTo(0,{immediate:!0})},[i]),(0,e.jsx)(e.Fragment,{children:t})}],63514)},27423,t=>{"use strict";var e=t.i(43476),i=t.i(71645);let s=(0,i.createContext)(void 0);t.s(["ThemeProvider",0,function({children:t}){let[o,r]=(0,i.useState)("system");return(0,i.useEffect)(()=>{let t=localStorage.getItem("theme");t&&r(t)},[]),(0,i.useEffect)(()=>{let t=()=>{let t=window.matchMedia("(prefers-color-scheme: dark)").matches,e="system"===o?t?"dark":"light":o;document.documentElement.classList.toggle("dark","dark"===e)};t();let e=window.matchMedia("(prefers-color-scheme: dark)"),i=()=>{"system"===o&&t()};
1return e.addEventListener("change",i),()=>e.removeEventListener("change",i)},[o]),(0,e.jsx)(s.Provider,{value:{theme:o,setTheme:t=>{localStorage.setItem("theme",t),r(t)}},children:t})},"useTheme",0,function(){let t=(0,i.useContext)(s);if(!t)throw Error("useTheme must be used within a ThemeProvider");return t}])},43880,t=>{"use strict";var e=t.i(47167),i=t.i(71645);function s(){return"u">typeof window}function o(){return"production"}function r(){return(s()?window.vam:o())||"production"}function n(){return"production"===r()}function l(){return"development"===r()}t.s(["Analytics",0,function(t){return(0,i.useEffect)(()=>{var e;t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend))},[t.beforeSend]),(0,i.useEffect)(()=>{!function(t={debug:!0}){var e;if(!s())return;!function(t="auto"){if("auto"===t){window.vam=o();return}window.vam=t}(t.mode),window.va||(window.va=function(...t){(window.vaq=window.vaq||[]).push(t)}),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let i=t.scriptSrc?t.scriptSrc:l()?"https://va.vercel-scripts.com/v1/script.debug.js":t.basePath?`${t.basePath}/insights/script.js`:"/_vercel/insights/script.js";if(document.head.querySelector(`script[src*="${i}"]`))return;let r=document.createElement("script");r.src=i,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?`/${t.framework}`:""),r.dataset.sdkv="1.6.1",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint?r.dataset.endpoint=t.endpoint:t.basePath&&(r.dataset.endpoint=`${t.basePath}/insights`),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{let t=l()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${i}. ${t}`)},l()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:t.framework||"react",basePath:t.basePath??function(){if(void 0!==e.default&&void 0!==e.default.env)return e.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==t.route&&{disableAutoTrack:!0},...t})},[]),(0,i.useEffect)(()=>{t.route&&t.path&&function({route:t,path:e}){var i;null==(i=window.va)||i.call(window,"pageview",{route:t,path:e})}({route:t.route,path:t.path})},[t.route,t.path]),null},"track",0,function(t,e,i){var o,r;if(!s()){let t="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(n())console.warn(t);else throw Error(t);return}if(!e){null==(o=window.va)||o.call(window,"event",{name:t,options:i});return}try{let s=function(t,e){if(!t)return;let i=t,s=[];for(let[o,r]of Object.entries(t))"object"==typeof r&&null!==r&&(e.strip?i=function(t,{[t]:e,...i}){return i}(o,i):s.push(o));if(s.length>0&&!e.strip)throw Error(`The following properties are not valid: ${s.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return i}(e,{strip:n()});null==(r=window.va)||r.call(window,"event",{name:t,data:s,options:i})}catch(t){t instanceof Error&&l()&&console.error(t)}}])},57215,t=>{"use strict";var e=t.i(47167),i=t.i(71645),s=t.i(18566);function o(){return false}function r(t){return RegExp(`/${t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function n(t){(0,i.useEffect)(()=>{var e;t.beforeSend&&(null==(e=window.si)||e.call(window,"beforeSend",t.beforeSend))},[t.beforeSend]);let s=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(s.current)t.route&&s.current(t.route);else{let i=function(t={}){var e;if(!("u">typeof window)||null===t.route)return null;window.si||(window.si=function(...t){(window.siq=window.siq||[]).push(t)});let i=t.scriptSrc?t.scriptSrc:o()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":t.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":t.basePath?`${t.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${i}"]`))return null;t.beforeSend&&(null==(e=window.si)||e.call(window,"beforeSend",t.beforeSend));let s=document.createElement("script");return s.src=i,s.defer=!0,s.dataset.sdkn="@vercel/speed-insights"+(t.framework?`/${t.framework}`:""),s.dataset.sdkv="1.3.1",t.sampleRate&&(s.dataset.sampleRate=t.sampleRate.toString()),t.route&&(s.dataset.route=t.route),t.endpoint?s.dataset.endpoint=t.endpoint:t.basePath&&(s.dataset.endpoint=`${t.basePath}/speed-insights/vitals`),t.dsn&&(s.dataset.dsn=t.dsn),o()&&!1===t.debug&&(s.dataset.debug="false"),s.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${i}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(s),{setRoute:t=>{s.dataset.route=t??void 0}}}({framework:t.framework??"react",basePath:t.basePath??function(){if(void 0!==e.default&&void 0!==e.default.env)return e.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...t});i&&(s.current=i.setRoute)}},[t.route]),null}function l(t){let o=(()=>
1{let t=(0,s.useParams)(),e=(0,s.useSearchParams)()||new URLSearchParams,i=(0,s.usePathname)();if(!t)return null;let o=Object.keys(t).length?t:Object.fromEntries(e.entries());if(!i||!o)return i;let n=i;try{let t=Object.entries(o);for(let[e,i]of t)if(!Array.isArray(i)){let t=r(i);t.test(n)&&(n=n.replace(t,`/[${e}]`))}for(let[e,i]of t)if(Array.isArray(i)){let t=r(i.join("/"));t.test(n)&&(n=n.replace(t,`/[...${e}]`))}return n}catch(t){return i}})();return i.default.createElement(n,{route:o,...t,framework:"next",basePath:function(){if(void 0!==e.default&&void 0!==e.default.env)return e.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}t.s(["SpeedInsights",0,function(t){return i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(l,{...t}))}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.