PageSourceSearch

https://athesports-website-1.onrender.com/_next/static/chunks/2w4iu0tq21dvc.js

js athesports-website-1.onrender.com collected 2026-10-03 11:39:16 UTC 32,112 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94909,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var s={default:function(){return c},getImageProps:function(){return h}};for(var o in s)Object.defineProperty(i,o,{enumerable:!0,get:s[o]});let r=t.r(55682),n=t.r(8927),l=t.r(5500),a=r._(t.r(1948));function h(t){let{props:e}=(0,n.getImgProps)(t,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let c=l.Image},57688,(t,e,i)=>{e.exports=t.r(94909)},33182,t=>{"use strict";let e=null;function i(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}t.s(["SCROLL_TARGET_STORAGE_KEY",0,"athes-scroll-target","scrollToTop",0,function({immediate:t=!1}={}){i()||t?e?e.scrollTo(0,{immediate:!0}):window.scrollTo({top:0,left:0,behavior:"auto"}):e?e.scrollTo(0,{duration:1.2,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t))}):window.scrollTo({top:0,left:0,behavior:"smooth"})},"setLenisInstance",0,function(t){e=t},"smoothScrollToId",0,function(t){let s=document.getElementById(t);s&&(i()?s.scrollIntoView({behavior:"auto"}):e?e.scrollTo(s,{offset:0,duration:1.2,easing:t=>Math.min(1,1.001-Math.pow(2,-10*t))}):s.scrollIntoView({behavior:"smooth"}),window.history.replaceState(null,"",`#${t}`))}])},37662,t=>{"use strict";let e={navigateHeading:"Navigate",questionsHeading:"Questions?",questionsSubtext:"Let us answer any of your questions",email:"[email protected]",ctaLabel:"Book a demo",ctaHref:t.i(45487).BOOK_DEMO_URL,instagramHref:"https://www.instagram.com/atheslacrosse/",instagramLabel:"Athes on Instagram",copyright:"© Athesports 2026",privacyLabel:"Privacy Policy",privacyHref:"/privacy",termsLabel:"Terms & Conditions",termsHref:"/terms"};t.s(["FOOTER_COPY",0,e,"FOOTER_NAV_LINKS",0,[{label:"Home",href:"/"},{label:"Pricing",href:"/#pricing"},{label:"Contact",href:"/contact"},{label:"Log in",href:"https://teampass.athesai.com/login"}]])},18566,(t,e,i)=>{e.exports=t.r(76562)},58604,t=>{"use strict";var e=t.i(43476),i=t.i(33182),s=t.i(37662),o=t.i(22016),r=t.i(18566);let n="text-base font-medium leading-[1.2] tracking-[-0.32px] text-gray-200 transition-opacity hover:opacity-70 md:text-sm md:tracking-[-0.28px]";t.s(["default",0,function(){let t=(0,r.usePathname)(),l=(0,r.useRouter)(),a=e=>{(e.preventDefault(),"/"===t)?(0,i.smoothScrollToId)("pricing"):(sessionStorage.setItem(i.SCROLL_TARGET_STORAGE_KEY,"pricing"),l.push("/"))};return(0,e.jsx)(e.Fragment,{children:s.FOOTER_NAV_LINKS.map(t=>"Pricing"===t.label?(0,e.jsx)("a",{href:"/#pricing",onClick:a,className:n,children:t.label},t.label):(0,e.jsx)(o.default,{href:t.href,className:n,children:t.label},t.label))})}])},27829,t=>{"use strict";var e=t.i(43476);async function i(t){if("u">typeof navigator&&navigator.clipboard?.writeText)try{return await navigator.clipboard.writeText(t),!0}catch{}if("u"<typeof document)return!1;try{let e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="fixed",e.style.top="0",e.style.left="0",e.style.opacity="0",e.style.pointerEvents="none",document.body.appendChild(e),e.focus(),e.select(),e.setSelectionRange(0,t.length);let i=document.execCommand("copy");return document.body.removeChild(e),i}catch{return!1}}var s=t.i(57688),o=t.i(71645);let r="transition-opacity duration-300 ease-[cubic-bezier(0.25,0.1,0.25,1)] motion-reduce:transition-none";t.s(["default",0,function({email:t}){let[n,l]=(0,o.useState)(!1),a=(0,o.useRef)(null);(0,o.useEffect)(()=>()=>{null!==a.current&&window.clearTimeout(a.current)},[]);let h=(0,o.useCallback)(()=>{l(!0),null!==a.current&&window.clearTimeout(a.current),a.current=window.setTimeout(()=>{l(!1),a.current=null},3e3)},[]),c=(0,o.useCallback)(()=>{h(),i(t)},[t,h]);return(0,e.jsx)("button",{type:"button",onClick:c,className:"inline-flex touch-manipulation text-sm font-medium leading-[1.2] tracking-[-0.28px] text-lime-500 fine-hover:opacity-80 [-webkit-tap-highlight-color:transparent]","aria-label":n?"Email copied":`Copy ${t} to clipboard`,children:(0,e.jsxs)("span",{className:"inline-grid [grid-template-areas:'stack']",children:[(0,e.jsxs)("span",{className:["[grid-area:stack] inline-flex h-6 items-center gap-space-075",r,n?"pointer-events-none opacity-0":"opacity-100"].join(" "),"aria-hidden":n,children:[(0,e.jsx)("span",{children:t}),(0,e.jsx)("span",{className:"relative size-6 shrink-0",children:(0,e.jsx)(s.default,{src:"/images/footer/copy-icon.svg",alt:"",fill:!0,className:"object-contain","aria-hidden":!0})})]}),(0,e.jsxs)("span",{className:["[grid-area:stack] inline-flex h-6 items-center gap-space-075",r,n?"opacity-100":"pointer-events-none opacity-0"].join(" "),"aria-hidden":!n,children:[(0,e.jsx)("span",{children:"Email copied"}),(0,e.jsx)("span",{className:"relative size-6 shrink-0",children:(0,e.jsx)(s.default,{src:"/images/footer/check-icon.svg",alt:"",fill:!0,className:"object-contain","aria-hidden":!0})})]})]})})}],27829)},42724,t=>{"use strict";var e=t.i(43476),i=t.i(48978),s=t.i(71645),o=t.i(45487),r=t.i(37662),n=t.i(57688),l=t.i(22016);let a=[{label:"Home",href:"/"},{label:"Contact",href:"/contact"},{label:"Log in",href:"https://teampass.athesai.com/login"}],h="border-solid border-gray-200 bg-white/65 shadow-[0px_0px_24px_0px_rgba(0,0,0,0.12)] backdrop-blur-[12px]";function c({open:t}){return(0,e.jsxs)("span",{className:"relative block h-[17px] w-space-300","aria-hidden":!0,
1children:[(0,e.jsx)("span",{className:["absolute left-0 h-[3px] w-full bg-gray-900 transition-all duration-300 ease-out motion-reduce:transition-none",t?"top-1/2 -translate-y-1/2 rotate-45":"top-0 translate-y-0 rotate-0"].join(" ")}),(0,e.jsx)("span",{className:["absolute left-0 top-1/2 h-[3px] w-full -translate-y-1/2 bg-gray-900 transition-all duration-300 ease-out motion-reduce:transition-none",t?"scale-x-0 opacity-0":"scale-x-100 opacity-100"].join(" ")}),(0,e.jsx)("span",{className:["absolute left-0 h-[3px] w-full bg-gray-900 transition-all duration-300 ease-out motion-reduce:transition-none",t?"bottom-1/2 translate-y-1/2 -rotate-45":"bottom-0 translate-y-0 rotate-0"].join(" ")})]})}t.s(["default",0,function(){let t=function(){let[t,e]=(0,s.useState)(!0),i=(0,s.useRef)(0);return(0,s.useEffect)(()=>{i.current=window.scrollY;let t=()=>{let t=window.scrollY;t<300?e(!0):t>i.current?e(!1):t<i.current&&e(!0),i.current=t};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),t}(),[d,u]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!d)return;let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[d]),(0,e.jsxs)("header",{className:["fixed left-0 right-0 top-0 z-50 px-0 pt-0 transition-transform ease-out md:px-space-600 md:pt-space-250 xl:px-space-800",t?"translate-y-0 delay-50 duration-500":"-translate-y-full delay-50 duration-500"].join(" "),children:[(0,e.jsxs)("nav",{className:["mx-auto hidden w-full max-w-[1000px] items-center justify-center overflow-clip rounded-radius-pill border-[1.5px]",h,"py-[9px] pl-space-400 pr-[11px] md:flex"].join(" "),"aria-label":"Main navigation",children:[(0,e.jsx)("div",{className:"flex min-w-0 flex-1 items-center",children:(0,e.jsx)(l.default,{href:"/",className:"relative block size-[28px] shrink-0",children:(0,e.jsx)(n.default,{src:"/images/logo.svg",alt:"Athesports",fill:!0,className:"object-contain",priority:!0})})}),(0,e.jsx)("div",{className:"flex shrink-0 items-center gap-space-400 text-[15px] font-semibold leading-[1.2] tracking-[-0.28px] text-gray-900",children:a.map(t=>(0,e.jsx)(l.default,{href:t.href,className:"whitespace-nowrap transition-opacity hover:opacity-70",children:t.label},t.label))}),(0,e.jsx)("div",{className:"flex min-w-0 flex-1 flex-col items-end justify-center",children:(0,e.jsx)(i.default,{variant:"primary",size:"s",href:o.BOOK_DEMO_URL,trailingIcon:(0,e.jsx)(i.ButtonArrowIcon,{size:"s",variant:"primary"}),children:"Book a demo"})})]}),(0,e.jsx)("nav",{className:"relative mx-auto flex max-w-[1400px] flex-col md:hidden","aria-label":"Main navigation",children:(0,e.jsxs)("div",{className:["flex flex-col overflow-clip border-solid border-gray-200",d?"border-solid border-gray-200 bg-gray-50 shadow-none backdrop-blur-0":h,!d&&"border-b-[1.5px]",!d&&"transition-[background-color,box-shadow,backdrop-filter] duration-300 ease-out motion-reduce:transition-none"].join(" "),children:[(0,e.jsxs)("div",{className:"flex shrink-0 items-center justify-between py-[10px] pl-space-400 pr-space-150",children:[(0,e.jsx)(l.default,{href:"/",className:"relative block size-[28px] shrink-0",children:(0,e.jsx)(n.default,{src:"/images/logo.svg",alt:"Athesports",fill:!0,className:"object-contain",priority:!0})}),(0,e.jsxs)("div",{className:"flex items-center gap-space-200",children:[(0,e.jsx)(i.default,{variant:"secondary",size:"s",href:o.BOOK_DEMO_URL,className:"!border-transparent !shadow-none fine-hover:!border-transparent data-[touched=true]:!border-transparent",children:"Book a demo"}),(0,e.jsx)("button",{type:"button",className:"flex size-space-500 shrink-0 items-center justify-center","aria-expanded":d,"aria-label":d?"Close menu":"Open menu",onClick:()=>u(t=>!t),children:(0,e.jsx)(c,{open:d})})]})]}),(0,e.jsx)("div",{className:["grid transition-[grid-template-rows] duration-300 ease-out motion-reduce:transition-none",d?"grid-rows-[1fr]":"grid-rows-[0fr]"].join(" "),"aria-hidden":!d,children:(0,e.jsx)("div",{className:"min-h-0 overflow-hidden",children:(0,e.jsx)("div",{className:"px-space-400 pb-space-600 pt-space-600",
1style:{minHeight:"calc(100dvh - 49px)"},children:(0,e.jsxs)("div",{className:"flex flex-col items-start gap-space-400",children:[(0,e.jsx)("ul",{className:"flex flex-col items-start gap-space-400",children:a.map(t=>(0,e.jsx)("li",{children:(0,e.jsx)(l.default,{href:t.href,className:"text-[24px] font-semibold leading-[1.2] tracking-[-0.48px] text-gray-900",onClick:()=>u(!1),children:t.label})},t.label))}),(0,e.jsx)("div",{className:"h-px w-full bg-gray-300","aria-hidden":!0}),(0,e.jsx)("a",{href:r.FOOTER_COPY.instagramHref,target:"_blank",rel:"noopener noreferrer","aria-label":r.FOOTER_COPY.instagramLabel,className:"block size-6 shrink-0 bg-gray-900 transition-opacity fine-hover:opacity-70 [-webkit-mask-image:url(/images/footer/instagram-icon.svg)] [-webkit-mask-position:center] [-webkit-mask-repeat:no-repeat] [-webkit-mask-size:contain] [mask-image:url(/images/footer/instagram-icon.svg)] [mask-position:center] [mask-repeat:no-repeat] [mask-size:contain]"})]})})})})]})})]})}],42724)},58393,t=>{"use strict";var e=t.i(33182),i=t.i(18566),s=t.i(71645);t.s(["default",0,function(){let t=(0,i.usePathname)();return(0,s.useEffect)(()=>{let i="/"===t?sessionStorage.getItem(e.SCROLL_TARGET_STORAGE_KEY):null;if(i){sessionStorage.removeItem(e.SCROLL_TARGET_STORAGE_KEY),requestAnimationFrame(()=>{(0,e.smoothScrollToId)(i)});return}(0,e.scrollToTop)({immediate:!0})},[t]),(0,s.useEffect)(()=>{let t=t=>{let i=t.target.closest("a[href^='#']");if(!(i instanceof HTMLAnchorElement))return;let s=i.getAttribute("href");if(!s||"#"===s)return;let o=s.slice(1);o&&document.getElementById(o)&&(t.preventDefault(),(0,e.smoothScrollToId)(o))};return document.addEventListener("click",t),()=>document.removeEventListener("click",t)},[]),null}])},12693,t=>{"use strict";var e=t.i(43476),i=t.i(33182),s="1.3.25";function o(t,e,i){return Math.max(t,Math.min(e,i))}var r=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=o(0,this.currentTime/this.duration,1),s=(e=i>=1)?1:this.easing(i);this.value=this.from+(this.to-this.from)*s}else if(this.lerp){var i,s,r,n;this.value=(i=this.value,s=this.to,r=60*this.lerp,(1-(n=1-Math.exp(-r*t)))*i+n*s),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}},n=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}}},l=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 a=100/6,h={passive:!1};function c(t,e){return 1===t?a:2===t?e:1}var d=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new l;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,h),this.element.addEventListener("touchstart",this.onTouchStart,h),this.element.addEventListener("touchmove",this.onTouchMove,h),this.element.addEventListener("touchend",this.onTouchEnd,h)}on(t,e){return this.emitter.on(t,e)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,h),this.element.removeEventListener("touchstart",this.onTouchStart,h),this.element.removeEventListener("touchmove",this.onTouchMove,h),this.element.removeEventListener("touchend",this.onTouchEnd,h)}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=c(s,this.window.width),r=c(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 u=t=>Math.min(1,1.001-2**(-10*t));var p=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new r;emitter=new l;dimensions;virtualScroll;constructor({wrapper:t=window,content:e=document.documentElement,eventsTarget:i=t,smoothWheel:o=!0,syncTouch:r=!1,syncTouchLerp:l=.075,touchInertiaExponent:a=1.7,duration:h,easing:c,lerp:p=.1,infinite:m=!1,orientation:f="vertical",gestureOrientation:v="horizontal"===f?"both":"vertical",touchMultiplier:g=1,wheelMultiplier:w=1,autoResize:y=!0,prevent:b,virtualScroll:S,overscroll:x=!0,autoRaf:E=!1,anchors:T=!1,autoToggle:N=!1,allowNestedScroll:L=!1,__experimental__naiveDimensions:k=!1,naiveDimensions:j=k,stopInertiaOnNavigate:z=!1}={}){window.lenisVersion=s,window.lenis||(window.lenis={}),window.lenis.version=s,"horizontal"===f&&(window.lenis.horizontal=!0),!0===r&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),t&&t!==document.documentElement||(t=window),"number"==typeof h&&"function"!=typeof c?c=u:"function"==typeof c&&"number"!=typeof h&&(h=1),this.options={wrapper:t,content:e,eventsTarget:i,smoothWheel:o,syncTouch:r,syncTouchLerp:l,touchInertiaExponent:a,duration:h,easing:c,lerp:p,infinite:m,gestureOrientation:v,orientation:f,touchMultiplier:g,wheelMultiplier:w,autoResize:y,prevent:b,virtualScroll:S,overscroll:x,autoRaf:E,anchors:T,autoToggle:N,allowNestedScroll:L,naiveDimensions:j,stopInertiaOnNavigate:z},this.dimensions=new n(t,e,{autoResize:y}),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 d(i,{touchMultiplier:g,wheelMultiplier:w}),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=decodeURIComponent(t.hash);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()};isTouchOnSelectionHandle(t){let e=window.getSelection();if(!e||e.isCollapsed||0===e.rangeCount)return!1;let i=t.targetTouches[0]??t.changedTouches[0];if(!i)return!1;let s=e.getRangeAt(0).getClientRects();if(0===s.length)return!1;let o=s[0],r=s[s.length-1],n=40>=Math.hypot(i.clientX-o.left,i.clientY-o.top),l=40>=Math.hypot(i.clientX-r.right,i.clientY-r.bottom);return n||l}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");if(o&&this.isIos&&("touchstart"===s.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(s)),this._isDraggingSelection)){"touchend"===s.type&&(this._isDraggingSelection=!1);return}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:s=!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:d=!1,userData:p}={}){if((this.isStopped||this.isLocked)&&!d)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=m.startsWith("#")?document.getElementById(m.slice(1)):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=o(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=u:"function"==typeof a&&"number"!=typeof l&&(l=1),this.animate.fromTo(this.animatedScroll,m,{duration:l,easing:a,lerp:n,onStart:()=>{s&&(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,g,w,y=Date.now();t._lenis||(t._lenis={});let b=t._lenis;if(y-(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 S=Math.abs(e)>=Math.abs(i)?"horizontal":"vertical";if("horizontal"===S)p=Math.round(t.scrollLeft),m=h-d,f=e,v=s,g=r,w=l;else{if("vertical"!==S)return!1;p=Math.round(t.scrollTop),m=c-u,f=i,v=o,g=n,w=a}return!w&&(p>=m||p<=0)||(f>0?p<m:p>0)&&v&&g}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)}},m=t.i(71645);let f=(0,m.createContext)(null),v=new class{listeners=[];constructor(t){this.state=t}set(t){for(let e of(this.state=t,this.listeners))e(this.state)}subscribe(t){return this.listeners=[...this.listeners,t],()=>{this.listeners=this.listeners.filter(e=>e!==t)}}get(){return this.state}}(null),g=(0,m.forwardRef)(({children:t,root:i=!1,options:s={},autoRaf:o=!0,className:r="",...n},l)=>{let a=(0,m.useRef)(null),h=(0,m.useRef)(null),[c,d]=(0,m.useState)(void 0);(0,m.useImperativeHandle)(l,()=>({wrapper:a.current,content:h.current,lenis:c}),[c]),(0,m.useEffect)(()=>{let t=new p({...s,...a.current&&h.current&&{wrapper:a.current,content:h.current},autoRaf:s?.autoRaf??o});return d(t),()=>{t.destroy(),d(void 0)}},[o,JSON.stringify({...s,wrapper:null,content:null})]);let u=(0,m.useRef)([]),g=(0,m.useCallback)((t,e)=>{u.current.push({callback:t,priority:e}),u.current.sort((t,e)=>t.priority-e.priority)},[]),w=(0,m.useCallback)(t=>{u.current=u.current.filter(e=>e.callback!==t)},[]);return((0,m.useEffect)(()=>
1{if(i&&c)return v.set({lenis:c,addCallback:g,removeCallback:w}),()=>v.set(null)},[i,c,g,w]),(0,m.useEffect)(()=>{if(!c)return;let t=t=>{for(let{callback:e}of u.current)e(t)};return c.on("scroll",t),()=>{c.off("scroll",t)}},[c]),t)?(0,e.jsx)(f.Provider,{value:{lenis:c,addCallback:g,removeCallback:w},children:i&&"asChild"!==i?t:(0,e.jsx)("div",{ref:a,className:`${r} ${c?.className??""}`.trim(),...n,children:(0,e.jsx)("div",{ref:h,children:t})})}):null}),w={},y={lerp:.085,wheelMultiplier:.9,touchMultiplier:1,smoothWheel:!0,autoRaf:!0};function b(){let t=function(t=[],e=0){let i=(0,m.useContext)(f),s=function(t){let[e,i]=(0,m.useState)(t.get());return(0,m.useEffect)(()=>t.subscribe(t=>i(t)),[t]),e}(v),{lenis:o,addCallback:r,removeCallback:n}=i??s??w;return(0,m.useEffect)(()=>{},[o,r,n,e,...t,void 0]),o}();return(0,m.useEffect)(()=>((0,i.setLenisInstance)(t??null),()=>(0,i.setLenisInstance)(null)),[t]),null}t.s(["default",0,function({children:t}){let[i,s]=(0,m.useState)(!1);return((0,m.useEffect)(()=>{let t=window.matchMedia("(prefers-reduced-motion: reduce)"),e=()=>s(!t.matches);return e(),t.addEventListener("change",e),()=>t.removeEventListener("change",e)},[]),i)?(0,e.jsxs)(g,{root:!0,options:y,children:[(0,e.jsx)(b,{}),t]}):t}],12693)}]);

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.