PageSourceSearch

https://upsunday.co/_next/static/immutable/chunks/316qzj1fkil81.js

js upsunday.co collected 2026-10-06 02:18:07 UTC 41,844 bytes, 25 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72363,e=>{"use strict";var t=e.i(43476),i=e.i(98454),n=e.i(69844),r=e.i(71645),o=e.i(89970),s=e.i(83495),l=e.i(63872),a=e.i(22428);let c=`
2::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
3::view-transition-group(root){animation:none}
4::view-transition-image-pair(root){isolation:isolate}
5::view-transition-old(root){z-index:1}
6::view-transition-new(root){z-index:2;overflow:hidden;border-radius:${l.TRANSITION.radius}}
7`;e.s(["default",0,function(){let e=(0,r.useRef)(null),d=(0,r.useRef)(null),h=(0,r.useRef)(!1),u=(0,r.useRef)(0),p=(0,i.useRealPathname)(),f=(0,r.useRef)(p),m=(0,r.useCallback)(()=>{if(!h.current)return;h.current=!1;let t=d.current;o.default.to([e.current,t],{autoAlpha:0,duration:.45,ease:"power2.out",delay:.05,overwrite:"auto",onComplete:()=>void o.default.set(t,{yPercent:100})})},[]);return(0,r.useEffect)(()=>l.transitionBus.onCover(()=>{let t=e.current,i=d.current;if(!t||!i)return;h.current=!0;let n=++u.current,{duration:r,scale:s,radius:a}=l.TRANSITION,c=r/1e3;return new Promise(e=>{o.default.killTweensOf([t,i]),o.default.timeline({defaults:{ease:"expo.inOut"}}).set([t,i],{autoAlpha:1}).fromTo(t,{opacity:0},{opacity:.9,duration:c},0).fromTo(i,{yPercent:100,scale:s,borderRadius:a},{yPercent:0,scale:1,duration:c},0).to(i,{borderRadius:0,duration:.4*c,ease:"power2.out"},.5*c).call(e,[],.65*c),window.setTimeout(()=>n===u.current&&m(),4500)})}),[m]),(0,r.useEffect)(()=>{let e=()=>l.transitionBus.cancel();return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,r.useEffect)(()=>{if(f.current===p)return;f.current=p;let e=(0,a.getLenis)();(0,n.navAlreadyScrolled)()||(0,n.poppedRecently)()||(e?e.scrollTo(0,{immediate:!0,force:!0}):window.scrollTo(0,0),window.scrollTo(0,0)),l.transitionBus.transitioning&&queueMicrotask(()=>{s.ScrollTrigger.refresh(),l.transitionBus.settle()}),m()},[p,m]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:c}),(0,t.jsx)("div",{ref:e,"aria-hidden":!0,className:"pointer-events-none invisible fixed inset-0 z-[9998] bg-[#161b21] opacity-0"}),(0,t.jsx)("div",{ref:d,"aria-hidden":!0,className:"pointer-events-none invisible fixed inset-0 z-[9999] bg-paper opacity-0 will-change-transform"})]})}])},47420,e=>{"use strict";var t=e.i(98454),i=e.i(71645),n="1.3.26";function r(e,t,i){return Math.max(e,Math.min(t,i))}var o=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let i=r(0,this.currentTime/this.duration,1),n=(t=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*n}else if(this.lerp){var i,n,o,s;this.value=(i=this.value,n=this.to,o=60*this.lerp,(1-(s=1-Math.exp(-o*e)))*i+s*n),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i,duration:n,easing:r,onStart:o,onUpdate:s}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=n,this.easing=r,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=s}},s=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,t,{autoResize:i=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,i&&(this.debouncedResize=function(e,t){let i;return function(...n){clearTimeout(i),i=setTimeout(()=>{i=void 0,e.apply(this,n)},t)}}(this.resize,n),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}}},l=class{events={};emit(e,...t){let i=this.events[e]||[];for(let e=0,n=i.length;e<n;e++)i[e]?.(...t)}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}};let a=100/6,c={passive:!1};function d(e,t){return 1===e?a:2===e?t:1}var h=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new l;constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,c),this.element.addEventListener("touchstart",this.onTouchStart,c),this.element.addEventListener("touchmove",this.onTouchMove,c),this.element.addEventListener("touchend",this.onTouchEnd,c)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,c),this.element.removeEventListener("touchstart",this.onTouchStart,c),this.element.removeEventListener("touchmove",this.onTouchMove,c),this.element.removeEventListener("touchend",this.onTouchEnd,c)}onTouchStart=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:i}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.options.touchMultiplier,r=-(i-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=i,this.lastDelta={x:n,y:r},this.emitter.emit("scroll",{deltaX:n,deltaY:r,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:i,deltaMode:n}=e,r=d(n,this.window.width),o=d(n,this.window.height);t*=r,i*=o,t*=this.options.wheelMultiplier,i*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:i,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let u=e=>Math.min(1,1.001-2**(-10*e));var p=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;reducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)");
7isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new o;emitter=new l;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:i=e,smoothWheel:r=!0,syncTouch:o=!1,syncTouchLerp:l=.075,touchInertiaExponent:a=1.7,duration:c,easing:d,lerp:p=.1,infinite:f=!1,orientation:m="vertical",gestureOrientation:v="horizontal"===m?"both":"vertical",touchMultiplier:w=1,wheelMultiplier:g=1,autoResize:S=!0,prevent:y,virtualScroll:b,overscroll:E=!0,autoRaf:_=!1,anchors:k=!1,autoToggle:T=!1,allowNestedScroll:x=!1,__experimental__naiveDimensions:R=!1,naiveDimensions:L=R,stopInertiaOnNavigate:A=!1,respectReducedMotion:N=!0}={}){window.lenisVersion=n,window.lenis||(window.lenis={}),window.lenis.version=n,"horizontal"===m&&(window.lenis.horizontal=!0),!0===o&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),e&&e!==document.documentElement||(e=window),"number"==typeof c&&"function"!=typeof d?d=u:"function"==typeof d&&"number"!=typeof c&&(c=1),this.options={wrapper:e,content:t,eventsTarget:i,smoothWheel:r,syncTouch:o,syncTouchLerp:l,touchInertiaExponent:a,duration:c,easing:d,lerp:p,infinite:f,gestureOrientation:v,orientation:m,touchMultiplier:w,wheelMultiplier:g,autoResize:S,prevent:y,virtualScroll:b,overscroll:E,autoRaf:_,anchors:k,autoToggle:T,allowNestedScroll:x,naiveDimensions:L,stopInertiaOnNavigate:A,respectReducedMotion:N},this.dimensions=new s(e,t,{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=new h(i,{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(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().filter(e=>e instanceof HTMLAnchorElement&&e.href).map(e=>new URL(e.href)),i=new URL(window.location.href);if(this.options.anchors){let e=t.find(e=>i.host===e.host&&i.pathname===e.pathname&&e.hash);if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,i=decodeURIComponent(e.hash);this.scrollTo(i,t);return}}if(this.options.stopInertiaOnNavigate&&t.some(e=>i.host===e.host&&i.pathname!==e.pathname))return void this.reset()};onPointerDown=e=>{1===e.button&&this.reset()};isTouchOnSelectionHandle(e){let t=window.getSelection();if(!t||t.isCollapsed||0===t.rangeCount)return!1;let i=e.targetTouches[0]??e.changedTouches[0];if(!i)return!1;let n=t.getRangeAt(0).getClientRects();if(0===n.length)return!1;let r=n[0],o=n[n.length-1],s=40>=Math.hypot(i.clientX-r.left,i.clientY-r.top),l=40>=Math.hypot(i.clientX-o.right,i.clientY-o.bottom);return s||l}onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:i,event:n}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:i,event:n}),n.ctrlKey||n.lenisStopPropagation)return;let r=n.type.includes("touch"),o=n.type.includes("wheel");if(r&&this.isIos&&("touchstart"===n.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(n)),this._isDraggingSelection)){"touchend"===n.type&&(this._isDraggingSelection=!1);return}this.isTouching="touchstart"===n.type||"touchmove"===n.type;let s=0===t&&0===i;if(this.options.syncTouch&&r&&"touchstart"===n.type&&s&&!this.isStopped&&!this.isLocked)return void this.reset();let l="vertical"===this.options.gestureOrientation&&0===i||"horizontal"===this.options.gestureOrientation&&0===t;if(s||l)return;let a=n.composedPath();a=a.slice(0,a.indexOf(this.rootElement));let c=this.options.prevent,d=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if(a.find(e=>e instanceof HTMLElement&&("function"==typeof c&&c?.(e)||e.hasAttribute?.("data-lenis-prevent")||"vertical"===d&&e.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===d&&e.hasAttribute?.("data-lenis-prevent-horizontal")||r&&e.hasAttribute?.("data-lenis-prevent-touch")||o&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(e,{deltaX:t,deltaY:i}
7))))return;if(this.isStopped||this.isLocked){n.cancelable&&n.preventDefault();return}if(!(this.options.syncTouch&&r||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let h=i;"both"===this.options.gestureOrientation?h=Math.abs(i)>Math.abs(t)?i:t:"horizontal"===this.options.gestureOrientation&&(h=t),(!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))&&(n.lenisStopPropagation=!0),n.cancelable&&n.preventDefault();let u=r&&this.options.syncTouch,p=r&&"touchend"===n.type;p&&(h=Math.sign(h)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+h,{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()}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 e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),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=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:i=!1,lock:n=!1,programmatic:o=!0,lerp:s=o?this.options.lerp:void 0,duration:l=o?this.options.duration:void 0,easing:a=o?this.options.easing:void 0,onStart:c,onComplete:d,force:h=!1,userData:p}={}){if(this.prefersReducedMotion&&(o?i=!0:(s=1,l=void 0,a=void 0)),(this.isStopped||this.isLocked)&&!h)return;let f=e,m=t;if("string"==typeof f&&["top","left","start","#"].includes(f))f=0;else if("string"==typeof f&&["bottom","right","end"].includes(f))f=this.limit;else{let e=null;if("string"==typeof f?(e=f.startsWith("#")?document.getElementById(f.slice(1)):document.querySelector(f))||("#top"===f?f=0:console.warn("Lenis: Target not found",f)):f instanceof HTMLElement&&f?.nodeType&&(e=f),e){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();m-=this.isHorizontal?e.left:e.top}let t=e.getBoundingClientRect(),i=getComputedStyle(e),n=this.isHorizontal?Number.parseFloat(i.scrollMarginLeft):Number.parseFloat(i.scrollMarginTop),r=getComputedStyle(this.rootElement),o=this.isHorizontal?Number.parseFloat(r.scrollPaddingLeft):Number.parseFloat(r.scrollPaddingTop);f=(this.isHorizontal?t.left:t.top)+this.animatedScroll-(Number.isNaN(n)?0:n)-(Number.isNaN(o)?0:o)}}if("number"==typeof f){if(f+=m,this.options.infinite){if(o){this.targetScroll=this.animatedScroll=this.scroll;let e=f-this.animatedScroll;e>this.limit/2?f-=this.limit:e<-this.limit/2&&(f+=this.limit)}}else f=r(0,f,this.limit);if(f===this.targetScroll){c?.(this),d?.(this);return}if(this.userData=p??{},i){this.animatedScroll=this.targetScroll=f,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit
7(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}o||(this.targetScroll=f),"number"==typeof l&&"function"!=typeof a?a=u:"function"==typeof a&&"number"!=typeof l&&(l=1),this.animate.fromTo(this.animatedScroll,f,{duration:l,easing:a,lerp:s,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",c?.(this)},onUpdate:(e,t)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),o&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),d?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:t,deltaY:i}){let n,r,o,s,l,a,c,d,h,u,p,f,m,v,w,g,S=Date.now();e._lenis||(e._lenis={});let y=e._lenis;if(S-(y.time??0)>2e3){y.time=Date.now();let t=window.getComputedStyle(e);if(y.computedStyle=t,n=["auto","overlay","scroll"].includes(t.overflowX),r=["auto","overlay","scroll"].includes(t.overflowY),l=["auto"].includes(t.overscrollBehaviorX),a=["auto"].includes(t.overscrollBehaviorY),y.hasOverflowX=n,y.hasOverflowY=r,!(n||r))return!1;c=e.scrollWidth,d=e.scrollHeight,h=e.clientWidth,u=e.clientHeight,o=c>h,s=d>u,y.isScrollableX=o,y.isScrollableY=s,y.scrollWidth=c,y.scrollHeight=d,y.clientWidth=h,y.clientHeight=u,y.hasOverscrollBehaviorX=l,y.hasOverscrollBehaviorY=a}else o=y.isScrollableX,s=y.isScrollableY,n=y.hasOverflowX,r=y.hasOverflowY,c=y.scrollWidth,d=y.scrollHeight,h=y.clientWidth,u=y.clientHeight,l=y.hasOverscrollBehaviorX,a=y.hasOverscrollBehaviorY;if(!(n&&o||r&&s))return!1;let b=Math.abs(t)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===b)p=Math.round(e.scrollLeft),f=c-h,m=t,v=n,w=o,g=l;else{if("vertical"!==b)return!1;p=Math.round(e.scrollTop),f=d-u,m=i,v=r,w=s,g=a}return!g&&(p>=f||p<=0)||(m>0?p<f: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 e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get prefersReducedMotion(){return this.options.respectReducedMotion&&this.reducedMotionMediaQuery.matches}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e=>{this.rootElement.classList.add(e)})}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))("lenis"===e||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e)}},f=e.i(89970),m=e.i(83495),v=e.i(22428),w=e.i(63872),g=e.i(69844);f.gsap.registerPlugin(m.ScrollTrigger),m.ScrollTrigger.config({ignoreMobileResize:!0}),e.s(["default",0,function(){let e=(0,t.useRealPathname)();return(0,i.useEffect)(()=>{let e;if(window.matchMedia("(hover: none) and (pointer: coarse)").matches)return;let t=new p({lerp:.1,syncTouch:!1});(0,v.setLenis)(t),t.on("scroll",m.ScrollTrigger.update);let i=e=>t.raf(1e3*e);f.gsap.ticker.add(i),f.gsap.ticker.lagSmoothing(0);let n=()=>{};return(e=window.__usPL)&&"done"!==e.phase&&(t.stop(),n=function(e,t){let i=window.__usPL;if(!i||"done"===i.phase||"reveal"===e&&"reveal"===i.phase)return t(),()=>{};let n=!0;return i.q[e].push(()=>
7n&&t()),()=>{n=!1}}("done",()=>{t.start(),m.ScrollTrigger.refresh()})),()=>{n(),f.gsap.ticker.remove(i),t.destroy(),(0,v.setLenis)(null)}},[]),(0,i.useEffect)(()=>{let t=(0,v.getLenis)();if((0,g.setLastPath)(e),(0,g.poppedRecently)()){let i=(0,g.savedScroll)(e),n=0,r=requestAnimationFrame(()=>{n=requestAnimationFrame(()=>{t?t.scrollTo(i,{immediate:!0,force:!0}):window.scrollTo(0,i),m.ScrollTrigger.refresh()})});return()=>{cancelAnimationFrame(r),cancelAnimationFrame(n)}}if((0,g.navAlreadyScrolled)()?t?.scrollTo(0,{immediate:!0,force:!0}):t?t.scrollTo(0,{immediate:!0,force:!0}):window.scrollTo(0,0),w.transitionBus.transitioning)return;let i=requestAnimationFrame(()=>m.ScrollTrigger.refresh());return()=>cancelAnimationFrame(i)},[e]),null}],47420)},30746,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(18566),r=e.i(47167);function o(){return"u">typeof window}function s(){return"production"}function l(){return"development"===((o()?window.vam:s())||"production")}function a(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function c(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function d(e){return(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,i.useEffect)(()=>{!function(e={debug:!0},t){var i;if(!o())return;let{beforeSend:n,src:r,dataset:a}=function(e,t){var i,n;let r=e;if(t)try{r={...null==(i=JSON.parse(t))?void 0:i.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=s();return}window.vam=e}(r.mode);let o={sdkn:"@vercel/analytics"+(r.framework?`/${r.framework}`:""),sdkv:"2.0.1"};return r.disableAutoTrack&&(o.disableAutoTrack="1"),r.viewEndpoint&&(o.viewEndpoint=c(r.viewEndpoint)),r.eventEndpoint&&(o.eventEndpoint=c(r.eventEndpoint)),r.sessionEndpoint&&(o.sessionEndpoint=c(r.sessionEndpoint)),l()&&!1===r.debug&&(o.debug="false"),r.dsn&&(o.dsn=r.dsn),r.endpoint?o.endpoint=r.endpoint:r.basePath&&(o.endpoint=c(`${r.basePath}/insights`)),{beforeSend:r.beforeSend,src:(n=r).scriptSrc?c(n.scriptSrc):l()?"https://va.vercel-scripts.com/v1/script.debug.js":n.basePath?c(`${n.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:o}}(e,t);if(window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)}),n&&(null==(i=window.va)||i.call(window,"beforeSend",n)),document.head.querySelector(`script[src*="${r}"]`))return;let d=document.createElement("script");for(let[e,t]of(d.src=r,Object.entries(a)))d.dataset[e]=t;d.defer=!0,d.onerror=()=>{let e=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 ${r}. ${e}`)},document.head.appendChild(d)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,i.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var i;null==(i=window.va)||i.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function h(e){let t,o,s,{route:l,path:c}=(t=(0,n.useParams)(),o=(0,n.useSearchParams)(),s=(0,n.usePathname)(),t?{route:function(e,t){if(!e||!t)return e;let i=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=a(n);e.test(i)&&(i=i.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=a(n.join("/"));e.test(i)&&(i=i.replace(e,`/[...${t}]`))}return i}catch{return e}}(s,Object.keys(t).length?t:Object.fromEntries(o.entries())),path:s}:{route:null,path:s});return i.default.createElement(d,{path:c,route:l,...e,basePath:function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
7(),configString:function(){if(void 0!==r.default&&void 0!==r.default.env)return'{"analytics":{"scriptSrc":"b5c5ed6431e4f583/script.js","viewEndpoint":"b5c5ed6431e4f583/view","eventEndpoint":"b5c5ed6431e4f583/event","sessionEndpoint":"b5c5ed6431e4f583/session"},"speedInsights":{"scriptSrc":"cdc6afb60534a994/script.js","endpoint":"cdc6afb60534a994/vitals"}}'}(),framework:"next"})}function u(e){return i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(h,{...e}))}function p(){return false}function f(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function m(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function v(e){(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!t.current){let i=function(e={},t){var i;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:n,src:r,dataset:o}=function(e,t){var i,n;let r=e;if(t)try{r={...null==(i=JSON.parse(t))?void 0:i.speedInsights,...e}}catch{}let o={sdkn:"@vercel/speed-insights"+(r.framework?`/${r.framework}`:""),sdkv:"2.0.0"};
7return r.sampleRate&&(o.sampleRate=r.sampleRate.toString()),r.route&&(o.route=r.route),p()&&!1===r.debug&&(o.debug="false"),r.dsn&&(o.dsn=r.dsn),r.endpoint?o.endpoint=m(r.endpoint):r.basePath&&(o.endpoint=m(`${r.basePath}/speed-insights/vitals`)),{src:(n=r).scriptSrc?m(n.scriptSrc):p()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":n.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":n.basePath?m(`${n.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:r.beforeSend,dataset:o}}(e,t);if(document.head.querySelector(`script[src*="${r}"]`))return null;n&&(null==(i=window.si)||i.call(window,"beforeSend",n));let s=document.createElement("script");for(let[e,t]of(s.src=r,s.defer=!0,Object.entries(o)))s.dataset[e]=t;return s.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(s),{setRoute:e=>{s.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());i&&(t.current=i.setRoute)}},[e]),(0,i.useEffect)(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}function w(e){let t=(()=>{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,i=(0,n.usePathname)();if(!e)return null;let r=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!i||!r)return i;let o=i;try{let e=Object.entries(r);for(let[t,i]of e)if(!Array.isArray(i)){let e=f(i);e.test(o)&&(o=o.replace(e,`/[${t}]`))}for(let[t,i]of e)if(Array.isArray(i)){let e=f(i.join("/"));e.test(o)&&(o=o.replace(e,`/[...${t}]`))}return o}catch{return i}})();return i.default.createElement(v,{route:t,...e,framework:"next",basePath:function(){if(void 0!==r.default&&void 0!==r.default.env)return r.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
7(),configString:function(){if(void 0!==r.default&&void 0!==r.default.env)return'{"analytics":{"scriptSrc":"b5c5ed6431e4f583/script.js","viewEndpoint":"b5c5ed6431e4f583/view","eventEndpoint":"b5c5ed6431e4f583/event","sessionEndpoint":"b5c5ed6431e4f583/session"},"speedInsights":{"scriptSrc":"cdc6afb60534a994/script.js","endpoint":"cdc6afb60534a994/vitals"}}'}()})}function g(e){return i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(w,{...e}))}let S="G-WY0NM98R6W",y=e=>!!e&&/^\/(c|portal)(\/|$)/.test(e),b=e=>({...e,url:e.url.replace(/\/(c|portal)\/[^/?#]+/,"/$1/[token]")});function E(){let e=window;if(document.getElementById("ga4"))return;let t=document.createElement("script");t.id="ga4",t.async=!0,t.src=`https://www.googletagmanager.com/gtag/js?id=${S}`,document.head.appendChild(t),e.dataLayer=e.dataLayer||[],e.gtag=function(){e.dataLayer.push(arguments)},e.gtag("js",new Date),e.gtag("config",S),e.clarity=e.clarity||Object.assign((...t)=>void(e.clarity.q=e.clarity.q||[]).push(t),{q:[]});let i=document.createElement("script");i.async=!0,i.src="https://www.clarity.ms/tag/x68j14ly7n",document.head.appendChild(i)}e.s(["default",0,function(){let e=y((0,n.usePathname)());return(0,i.useEffect)(()=>{if(e)return;let t=e=>"requestIdleCallback"in window?requestIdleCallback(e,{timeout:4e3}):setTimeout(e,2e3),i=null;try{i=localStorage.getItem("upsunday-cookie-consent")}catch{}"accepted"===i&&t(E);let n=e=>{"accepted"===e.detail&&t(E)};return window.addEventListener("cookie-consent",n),()=>window.removeEventListener("cookie-consent",n)},[e]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{beforeSend:b}),(0,t.jsx)(g,{beforeSend:b})]})},"isPrivatePath",0,y],30746)},78615,e=>{"use strict";var t=e.i(43476),i=e.i(22016),n=e.i(71645),r=e.i(18566),o=e.i(30746);let s="upsunday-cookie-consent";e.s(["default",0,function(){let[e,l]=(0,n.useState)(!1),[a,c]=(0,n.useState)(!1);function d(e){try{localStorage.setItem(s,e)}catch{}window.dispatchEvent(new CustomEvent("cookie-consent",{detail:e})),c(!0),setTimeout(()=>l(!1),450)}(0,n.useEffect)(()=>{let e=null;try{e=localStorage.getItem(s)}catch{}if(e)return;let t=setTimeout(()=>l(!0),1400);return()=>clearTimeout(t)},[]);let h=(0,o.isPrivatePath)((0,r.usePathname)());return!e||h?null:(0,t.jsxs)("div",{role:"dialog","aria-label":"Cookie consent",className:`ck glass ${a?"out":""}`,children:[(0,t.jsxs)("p",{className:"ck-text",children:["We use cookies to understand how the site is used and to improve it. No ad tracking."," ",(0,t.jsx)(i.default,{href:"/cookie-policy",children:"Cookie policy"})]}),(0,t.jsxs)("div",{className:"ck-actions",children:[(0,t.jsx)("button",{type:"button",className:"btn light ck-btn",onClick:()=>d("declined"),children:"Decline"}),(0,t.jsx)("button",{type:"button",className:"btn dark ck-btn",onClick:()=>d("accepted"),children:"Accept"})]}),(0,t.jsx)("style",{children:`
8        /* sizes in rem so the panel scales with the site like the nav (this inline CSS skips PostCSS pxtorem): desktop
9           = px/16 at the 1512 design; phones = the 460 design, so its side and bottom gaps match the nav's 1rem at the top.
10           Centred with auto margins (not translateX) so the in/out animation only moves it vertically. */
11        .ck{position:fixed;left:0;right:0;margin-inline:auto;bottom:calc(1.25rem + env(safe-area-inset-bottom));z-index:90;width:min(47.5rem,calc(100vw - 2.5rem));display:flex;align-items:center;gap:1.5rem;padding:1rem 1rem 1rem 1.5rem;border-radius:1.5rem;background:rgba(255,255,255,.82);font-family:"SF Pro Rounded",ui-rounded,system-ui,sans-serif;animation:ckIn .9s cubic-bezier(.19,1,.22,1)}
12        .ck.out{animation:ckOut .45s ease-in forwards}
13        .ck-text{flex:1;font-weight:500;font-size:0.875rem;line-height:1.45;color:#6e6e73}
14        .ck-text a{color:#1d1d1f;text-decoration:underline;text-underline-offset:0.125rem}
15        .ck-actions{display:flex;gap:0.5rem;flex:none}
16        .ck-btn{height:2.5rem;min-width:6.5rem;font-size:0.875rem}
17        @media (max-width:768px){
18          .ck{bottom:calc(1rem + env(safe-area-inset-bottom));width:calc(100vw - 2 * var(--gutter));flex-direction:column;align-items:stretch;gap:1.125rem;padding:1.375rem;border-radius:1.5rem}
19          .ck-text{font-size:1.0625rem}
20          .ck-actions{gap:0.625rem}
21          .ck-actions .ck-btn{flex:1;height:3.25rem;font-size:1.0625rem}
22        }
23        @keyframes ckIn{from{opacity:0;transform:translateY(1.5rem)}to{opacity:1;transform:none}}
24        @keyframes ckOut{to{opacity:0;transform:translateY(1rem)}}
25      `})]})}])},86760,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(89970),r=e.i(62876),o=e.i(22428),s=e.i(71532);e.s(["default",0,function(){let[e,l]=(0,i.useState)(!1),a=(0,i.useRef)(null);return((0,i.useEffect)(()=>r.reelChannel.on(()=>l(!0)),[]),(0,i.useEffect)(()=>
25{if((0,o.lockScroll)(e,"reel"),!e)return;n.gsap.fromTo(a.current,{clipPath:"circle(0% at 50% 50%)"},{clipPath:"circle(75% at 50% 50%)",duration:1,ease:"expo.inOut"});let t=e=>"Escape"===e.key&&l(!1);return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e]),e)?(0,t.jsxs)("div",{ref:a,className:"fixed inset-0 z-[80] flex items-center justify-center bg-black",role:"dialog","aria-modal":"true","aria-label":"UpSunday reel",children:[(0,t.jsx)("video",{src:"/media/reel.mp4",poster:"/media/reel-poster.webp",autoPlay:!0,controls:!0,playsInline:!0,className:"max-h-full w-full"}),(0,t.jsx)("button",{type:"button",onClick:()=>l(!1),"aria-label":"Close reel",className:"absolute top-5 right-5 flex size-12 items-center justify-center rounded-full bg-white text-ink-2",children:(0,t.jsx)(s.CloseIcon,{})})]}):null}])},63669,e=>{e.v({cal:"BookFlow-module__drAhmG__cal",card:"BookFlow-module__drAhmG__card",check:"BookFlow-module__drAhmG__check",cta:"BookFlow-module__drAhmG__cta",done:"BookFlow-module__drAhmG__done",frame:"BookFlow-module__drAhmG__frame",helper:"BookFlow-module__drAhmG__helper",ready:"BookFlow-module__drAhmG__ready",root:"BookFlow-module__drAhmG__root",sh:"BookFlow-module__drAhmG__sh",show:"BookFlow-module__drAhmG__show",skel:"BookFlow-module__drAhmG__skel",small:"BookFlow-module__drAhmG__small",stage:"BookFlow-module__drAhmG__stage",title:"BookFlow-module__drAhmG__title",veil:"BookFlow-module__drAhmG__veil",x:"BookFlow-module__drAhmG__x"})},60358,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(22428),r=e.i(66065),o=e.i(64592),s=e.i(55718),l=e.i(64725),a=e.i(63669);let c=`${r.site.calendly.url}?embed_domain=upsunday.co&embed_type=Inline&hide_event_type_details=1&hide_landing_page_details=1&hide_gdpr_banner=1&primary_color=1d1d1f&text_color=1d1d1f&background_color=ffffff`;e.s(["default",0,function(){let[e,r]=(0,i.useState)(!1),[d,h]=(0,i.useState)(!1),[u,p]=(0,i.useState)(!1),[f,m]=(0,i.useState)(!1),[v,w]=(0,i.useState)(!1),[g,S]=(0,i.useState)(null),[y,b]=(0,i.useState)(!0),E=(0,i.useRef)(null),[_,k]=(0,i.useState)(0),T=(0,i.useRef)(null),x=(0,i.useRef)(null),R=(0,i.useRef)(null),L=(0,i.useRef)(!1),A=(0,i.useRef)(!1),N=(0,i.useRef)(null),C=(0,i.useRef)(!1),P=(0,i.useRef)(0),z=(0,i.useRef)(null),j=(0,i.useRef)(!1),O=(0,i.useRef)(null),B=(0,i.useRef)(null),I=(e,t=0)=>O.current?.animate(e?[{opacity:0,transform:"translateY(-6px)"},{opacity:1,transform:"none"}]:[{opacity:1,transform:"none"},{opacity:0,transform:"translateY(-6px)"}],{duration:e?500:180,delay:t,easing:e?"cubic-bezier(0.19, 1, 0.22, 1)":"cubic-bezier(0.4, 0, 1, 1)",fill:"both"}),M=()=>{let e=R.current;e&&"hidden"===e.style.visibility&&(e.style.visibility="",e.dataset.landed="",e.addEventListener("pointerleave",()=>delete e.dataset.landed,{once:!0}))},W=()=>{window.clearTimeout(P.current);let e=x.current;T.current&&(T.current.style.opacity="0"),e&&(e.getAnimations({subtree:!0}).forEach(e=>e.cancel()),["background","boxShadow","borderColor","backdropFilter","webkitBackdropFilter","animation"].forEach(t=>e.style[t]=""),e.querySelectorAll("*").forEach(e=>"hidden"===e.style.visibility&&(e.style.visibility=""))),T.current?.firstElementChild?.getAnimations().forEach(e=>e.cancel()),O.current?.getAnimations().forEach(e=>e.cancel()),(0,l.announceModal)(!1),M(),L.current=!1,A.current=!1,N.current=null,h(!1),p(!1),j.current&&(j.current=!1,m(!1),w(!1),b(!0),E.current=null,k(e=>e+1))},F=(0,i.useCallback)(()=>{if(!L.current||A.current)return;A.current=!0,p(!0);let e=x.current,t=R.current,i=T.current,n=i?.firstElementChild,r=e=>n?.animate([{opacity:getComputedStyle(n).opacity},{opacity:0}],{duration:e,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards"});O.current?.getAnimations().forEach(e=>e.cancel()),I(!1);let o=N.current;if(o&&o.running())o.reverse(),r(o.remaining()),o.finished.then(W);else if(e&&t&&i&&0);else{r(260),e?.animate([{opacity:1,filter:"blur(0px)",transform:"none"},{opacity:0,filter:"blur(6px)",transform:"translateY(6px) scale(0.98)"}],{duration:260,easing:"cubic-bezier(0.4, 0, 1, 1)",fill:"forwards"}),P.current=window.setTimeout(W,270);return}P.current=window.setTimeout(W,s.CLOSE_MORPH.duration+400)},[]);(0,i.useEffect)(()=>{let e=e=>{L.current||(L.current=!0,R.current=e.detail?.el??null,C.current=!1,z.current=document.activeElement,(0,l.announceModal)(!0),T.current&&(T.current.style.opacity=""),r(!0),p(!1),h(!0))},t=e=>{let t="object"==typeof e.data?String(e.data?.event??""):"";if(t.startsWith("calendly.")&&(!B.current||e.source===B.current.contentWindow)){if
25(("calendly.event_type_viewed"===t||"calendly.date_and_time_selected"===t)&&w(!0),"calendly.date_and_time_selected"===t&&b(!1),"calendly.page_height"===t){let t=parseInt(String(e.data?.payload?.height??""),10);t>300&&(E.current??=t,b(t===E.current),S(e=>e??t))}"calendly.event_scheduled"===t&&(j.current=!0,m(!0))}},i=e=>{"Escape"===e.key&&L.current&&F()};window.addEventListener(o.BOOK_EVENT,e),window.addEventListener("message",t),window.addEventListener("keydown",i);let n=window.requestIdleCallback,s=()=>r(!0),a=n?(n(s),0):window.setTimeout(s,2500);return()=>{window.removeEventListener(o.BOOK_EVENT,e),window.removeEventListener("message",t),window.removeEventListener("keydown",i),clearTimeout(a),window.clearTimeout(P.current),M()}},[F]),(0,i.useLayoutEffect)(()=>{let e=x.current,t=(R.current,T.current);if(!d||!e||C.current)return;C.current=!0;let i=t?.firstElementChild;i?.getAnimations().forEach(e=>e.cancel()),i?.animate([{opacity:0},{opacity:1}],{duration:450,easing:"cubic-bezier(0.19, 1, 0.22, 1)"}),O.current?.getAnimations().forEach(e=>e.cancel()),I(!0,120),e.animate([{opacity:0,filter:"blur(10px)",transform:"translateY(8px) scale(0.96)"},{opacity:1,filter:"blur(0px)",transform:"none"}],{duration:550,easing:"cubic-bezier(0.19, 1, 0.22, 1)"})},[d]);let $=d&&!u;return((0,i.useEffect)(()=>{if($)return(0,n.lockScroll)(!0,"book"),()=>(0,n.lockScroll)(!1,"book")},[$]),(0,i.useEffect)(()=>{if(!d)return;x.current?.focus({preventScroll:!0});let e=z.current;return()=>{e instanceof HTMLElement&&e.focus({preventScroll:!0})}},[d]),e)?(0,t.jsxs)("div",{ref:T,className:`${a.default.root} ${d?a.default.show:""} ${u?a.default.closing:""}`,"aria-hidden":!d,inert:!d,"data-lenis-prevent":d&&!u?"":void 0,style:u?{pointerEvents:"none"}:void 0,children:[(0,t.jsx)("div",{className:a.default.veil}),(0,t.jsxs)("div",{className:a.default.stage,onClick:e=>e.target===e.currentTarget&&F(),children:[(0,t.jsxs)("div",{ref:x,className:`${a.default.card} ${f?a.default.small:""}`,role:"dialog","aria-modal":"true","aria-label":"Book a call",tabIndex:-1,style:!f&&g?{height:`min(${g+12}px, calc(100vh - 170px))`}:void 0,children:[(0,t.jsxs)("div",{className:a.default.cal,hidden:f,"data-reveal":"text","data-reveal-early":"",children:[!v&&(0,t.jsx)("div",{className:a.default.skel,"aria-hidden":!0,children:Array.from({length:35}).map((e,i)=>(0,t.jsx)("span",{},i))}),(0,t.jsx)("iframe",{ref:B,className:`${a.default.frame} ${v?a.default.ready:""}`,style:y?{transform:"translateY(50px)"}:void 0,src:c,title:"Book a call"},_)]}),f&&(0,t.jsxs)("div",{className:a.default.done,"data-reveal":"text",children:[(0,t.jsx)("span",{className:a.default.check,children:"✓"}),(0,t.jsx)("h2",{className:a.default.title,children:"You're booked."}),(0,t.jsx)("p",{className:a.default.helper,children:"Check your inbox for the calendar invite with a Google Meet link. We're looking forward to it."}),(0,t.jsx)("button",{type:"button",className:a.default.cta,onClick:F,children:"Back to the site"})]})]}),(0,t.jsx)("button",{ref:O,type:"button",className:a.default.x,onClick:F,"aria-label":"Close",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})})})]})]}):null}])}]);

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.