1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,739371,e=>{"use strict";var t=e.i(205945),r=e.i(149149),n=e.i(837083);e.s(["Container",0,e=>{let o,a,l,i,u,c,s,d,f,m,p=(0,r.c)(20);p[0]!==e?({children:o,className:a,paddingX:i,paddingY:u,paddingTop:c,paddingBottom:s,tag:d,...l}=e,p[0]=e,p[1]=o,p[2]=a,p[3]=l,p[4]=i,p[5]=u,p[6]=c,p[7]=s,p[8]=d):(o=p[1],a=p[2],l=p[3],i=p[4],u=p[5],c=p[6],s=p[7],d=p[8]);let b=void 0===d?"div":d,g=void 0!==i&&i?"lg:max-w-344.5 px-6 lg:px-11":"max-w-322.5",h=void 0!==u&&u&&"py-12 lg:py-20",v=void 0!==c&&c&&"pt-12 lg:pt-20",y=void 0!==s&&s&&"pb-12 lg:pb-20";p[9]!==a||p[10]!==g||p[11]!==h||p[12]!==v||p[13]!==y?(f=(0,n.cn)("mx-auto w-full",g,h,v,y,a),p[9]=a,p[10]=g,p[11]=h,p[12]=v,p[13]=y,p[14]=f):f=p[14];let x=f;return b?(p[15]!==b||p[16]!==o||p[17]!==x||p[18]!==l?(m=(0,t.jsx)(b,{className:x,...l,children:o}),p[15]=b,p[16]=o,p[17]=x,p[18]=l,p[19]=m):m=p[19],m):null}])},947032,e=>{"use strict";var t=e.i(205945),r=e.i(149149),n=e.i(294237),o=e.i(837083),a=e.i(945964),l=e.i(181737);let i=(0,n.cva)("rounded-full border",{variants:{variant:{"yellow-700":"bg-yellow-700 text-neutral-light-100 border-yellow-700 font-semibold","green-800":"bg-green-800 text-neutral-light-100 border-green-800 font-semibold","blue-700":"bg-fjord-blue-700 text-neutral-light-100 border-fjord-blue-700 font-semibold","peach-600":"bg-peach-600 text-neutral-light-100 border-peach-600 font-semibold","gray-500":"bg-gray-500 text-neutral-light-100 border-gray-500 font-semibold","green-success":"bg-green-success text-neutral-light-100 border-green-success font-semibold","green-200":"bg-green-200 border-green-200 font-normal text-brand-black","yellow-200":"bg-yellow-200 border-yellow-200 font-normal text-brand-black","purple-300":"bg-purple-300 border-purple-300 font-normal text-brand-black","peach-300":"bg-peach-300 border-peach-300 font-normal text-brand-black","gray-300":"bg-gray-300 border-gray-300 font-normal text-brand-black","teal-200":"bg-teal-200 border-teal-200 font-normal text-brand-black","gradient-secondary":"gradient-secondary border-0 text-brand-black"},size:{medium:"lok-text-body-bold-medium px-3 py-0.75",small:"lok-text-body-bold-small px-2 py-0.75 lg:py-0.5"}},compoundVariants:[{variant:"gradient-secondary",size:"medium",className:"lok-text-body-medium-medium px-5 py-2"}],defaultVariants:{variant:"green-800",size:"medium"}});function u(e){let n,u,c,s,d,f,m,p,b,g=(0,r.c)(18);g[0]!==e?({className:u,variant:p,size:f,name:s,active:n,customColors:c,fontWeight:m,...d}=e,g[0]=e,g[1]=n,g[2]=u,g[3]=c,g[4]=s,g[5]=d,g[6]=f,g[7]=m,g[8]=p):(n=g[1],u=g[2],c=g[3],s=g[4],d=g[5],f=g[6],m=g[7],p=g[8]);let h=void 0===m?"font-normal":m;if(g[9]!==n||g[10]!==u||g[11]!==c||g[12]!==h||g[13]!==s||g[14]!==d||g[15]!==f||g[16]!==p){let e=(0,l.getColorVariant)(c?.borderColor,"border"),r=(0,l.getColorVariant)(c?.backgroundColor,"border"),m=(0,l.getColorVariant)(c?.backgroundColor,"bg"),v=(0,l.getColorVariant)(c?.textColor,"text","brand-black"),y=n?e:r;b=s?(0,t.jsx)("span",{className:(0,o.cn)("whitespace-nowrap h-fit",i({variant:p,size:f,className:u}),c?[m,v,y,h]:void 0),...d,"data-test-id":a.TAG_TEST_IDS.COMPONENT,children:s}):null,g[9]=n,g[10]=u,g[11]=c,g[12]=h,g[13]=s,g[14]=d,g[15]=f,g[16]=p,g[17]=b}else b=g[17];return b}u.displayName="Tag",e.s(["Tag",0,u])},260257,e=>{e.v({active:"MobileMenu-module__OvyhTG__active","hamburger-menu":"MobileMenu-module__OvyhTG__hamburger-menu","hamburger-menu__lines":"MobileMenu-module__OvyhTG__hamburger-menu__lines","menu-link":"MobileMenu-module__OvyhTG__menu-link"})},66431,143493,e=>{"use strict";var t=e.i(205945),r=e.i(149149),n=e.i(665874),o=e.i(300602),a=e.i(837083),l=e.i(945964),i=e.i(260257);e.s(["MobileMenuToggle",0,e=>{let u,c,s,d,f=(0,r.c)(9),{onClick:m,isMobileMenuOpen:p}=e,b=(0,n.useTranslations)("Navbar"),g=p&&i.default.active;return f[0]!==g?(u=(0,a.cn)("lg:hidden",g,i.default["hamburger-menu"]),f[0]=g,f[1]=u):u=f[1],f[2]!==b?(c=b("toggle"),f[2]=b,f[3]=c):c=f[3],f[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("span",{className:i.default["hamburger-menu__lines"]}),f[4]=s):s=f[4],f[5]!==m||f[6]!==u||f[7]!==c?(d=(0,t.jsx)(o.Button,{variant:"primaryLink",size:"none",className:u,onClick:m,"data-test-id":l.NAVBAR_TEST_IDS.MOBILE_MENU_BUTTON,"aria-label":c,children:s}),f[5]=m,f[6]=u,f[7]=c,f[8]=d):d=f[8],d}],66431);var u=e.i(79061);let c="u">typeof navigator&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.userAgent.includes("Mac")&&navigator.maxTouchPoints>1);e.s(["useBodyScrollLock",0,(e,t)=>{let n,o,a=(0,r.c)(4);a[0]!==e||a[1]!==t?(n=()=>
1{if("u"<typeof document||!e||!t)return;if(c){let{scrollY:e,scrollX:t}=window,r=document.body.style.position,n=document.body.style.top,o=document.body.style.left;return document.body.style.position="fixed",document.body.style.top=`${-e}px`,document.body.style.left=`${-t}px`,()=>{let e=-Number.parseInt(document.body.style.top,10),t=-Number.parseInt(document.body.style.left,10);document.body.style.position=r,document.body.style.top=n,document.body.style.left=o,window?.scrollTo(t,e)}}let r=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=r}},o=[e,t],a[0]=e,a[1]=t,a[2]=n,a[3]=o):(n=a[2],o=a[3]),(0,u.useEffect)(n,o)}],143493)},720941,e=>{"use strict";var t=e.i(205945),r=e.i(149149);e.s(["CaretRight",0,e=>{let n,o,a=(0,r.c)(3);return a[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("path",{d:"M7.32756 19.0087C7.49048 19.1716 7.70339 19.2528 7.91673 19.2528C8.13006 19.2528 8.34297 19.1716 8.50589 19.0087L16.4226 11.092C16.748 10.7666 16.748 10.2391 16.4226 9.91366L8.50589 1.99699C8.18047 1.67158 7.65298 1.67158 7.32756 1.99699C7.00214 2.32241 7.00214 2.84991 7.32756 3.17533L14.6551 10.5028L7.32756 17.8303C7.00214 18.1557 7.00214 18.6832 7.32756 19.0087Z",fill:"currentColor"}),a[0]=n):n=a[0],a[1]!==e.className?(o=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"currentColor",className:e.className,children:n}),a[1]=e.className,a[2]=o):o=a[2],o}])},213068,e=>{"use strict";var t=e.i(205945),r=e.i(149149);e.s(["ChevronDown",0,e=>{let n,o,a=(0,r.c)(3);return a[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("path",{d:"M17.3274 5.74699L9.9999 13.0745L2.6724 5.74699C2.34698 5.42158 1.81948 5.42158 1.49406 5.74699C1.16865 6.07241 1.16865 6.59991 1.49406 6.92533L9.41073 14.842C9.57365 15.0049 9.78656 15.0862 9.9999 15.0862C10.2132 15.0862 10.4261 15.0049 10.5891 14.842L18.5057 6.92533C18.8311 6.59991 18.8311 6.07241 18.5057 5.74699C18.1803 5.42158 17.6528 5.42158 17.3274 5.74699Z",fill:"currentColor"}),a[0]=n):n=a[0],a[1]!==e.className?(o=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"currentColor",className:e.className,children:n}),a[1]=e.className,a[2]=o):o=a[2],o}])},859234,e=>{"use strict";var t=e.i(149149),r=e.i(79061),n="u">typeof window;let o=function(e){(0,r.useEffect)(e,[])},a=function(e){var t=(0,r.useRef)(e);t.current=e,o(function(){return function(){return t.current()}})},l=function(e){var t=(0,r.useRef)(0),n=(0,r.useState)(e),o=n[0],l=n[1],i=(0,r.useCallback)(function(e){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){l(e)})},[]);return a(function(){cancelAnimationFrame(t.current)}),[o,i]},i=function(){var e=l(function(){return{x:n?window.pageXOffset:0,y:n?window.pageYOffset:0}}),t=e[0],o=e[1];return(0,r.useEffect)(function(){var e=function(){o(function(e){var t=window.pageXOffset,r=window.pageYOffset;return e.x!==t||e.y!==r?{x:t,y:r}:e})};return e(),!function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}(window,"scroll",e,{capture:!1,passive:!0}),function(){!function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}(window,"scroll",e)}},[]),t};var u=e.i(105717),c=e.i(669769);e.s(["useIsScrolled",0,function(){let e,n,o,a=(0,t.c)(2),l=(0,u.useIsMobile)(),s=i(),[d,f]=(0,r.useState)(!1);a[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{f(!0)},n=[],a[0]=e,a[1]=n):(e=a[0],n=a[1]),(0,r.useEffect)(e,n);e:{if(!d){o=!1;break e}o=l?s.y>0:s.y>c.DESKTOP_SCROLL_THRESHOLD}return o}],859234)},105717,e=>{"use strict";var t=e.i(79061);e.s(["useIsMobile",0,function(){let[e,r]=t.useState(void 0);return t.useEffect(()=>{let e=window?.matchMedia("(max-width: 1023px)"),t=()=>{r(window?.innerWidth<1024)};return e.addEventListener("change",t),r(window?.innerWidth<1024),()=>e.removeEventListener("change",t)},[]),!!e}])},181737,e=>{"use strict";let t={"brand-salmon":{bg:"bg-brand-salmon",text:"text-brand-salmon",border:"border-brand-salmon",from:"from-brand-salmon"},"brand-black":{bg:"bg-brand-black",text:"text-brand-black",border:"border-brand-black",from:"from-brand-black"},"peach-100":{bg:"bg-peach-100",text:"text-peach-100",border:"border-peach-100",from:"from-peach-100"},"peach-200":{bg:"bg-peach-200",text:"text-peach-200",border:"border-peach-200",from:"from-peach-200"},"peach-300":{bg:"bg-peach-300",text:"text-peach-300",border:"border-peach-300",from:"from-peach-300"},"peach-400":{bg:"bg-peach-400",text:"text-peach-400",border:"border-peach-400",from:"from-peach-400"},"peach-500":{bg:"bg-peach-500",text:"text-peach-500",border:"border-peach-500",from:"from-peach-500"},"peach-600":{bg:"bg-peach-600",text:"text-peach-600",border:"border-peach-600",from:"from-peach-600"},"peach-700":{bg:"bg-peach-700",text:"text-peach-700",border:"border-peach-700",from:"from-peach-700"},"peach-800":{bg:"bg-peach-800",text:"text-peach-800",border:"border-peach-800",from:"from-peach-800"},"peach-900":{bg:"bg-peach-900",text:"text-peach-900",border:"border-peach-900",from:"from-peach-900"},"peach-1000":{bg:"bg-peach-1000",text:"text-peach-1000",border:"border-peach-1000",from:"from-peach-1000"},"neutral-light-100":{bg:"bg-neutral-light-100",text:"text-neutral-light-100",border:"border-neutral-light-100",from:"from-neutral-light-100"},"neutral-light-200":{bg:"bg-neutral-light-200",text:"text-neutral-light-200",border:"border-neutral-light-200",from:"from-neutral-light-200"},"neutral-light-300":{bg:"bg-neutral-light-300",text:"text-neutral-light-300",border:"border-neutral-light-300",from:"from-neutral-light-300"},"neutral-light-400":{bg:"bg-neutral-light-400",text:"text-neutral-light-400",border:"border-neutral-light-400",from:"from-neutral-light-400"},"neutral-light-500":{bg:"bg-neutral-light-500",text:"text-neutral-light-500",border:"border-neutral-light-500",from:"from-neutral-light-500"},"neutral-light-600":{bg:"bg-neutral-light-600",text:"text-neutral-light-600",border:"border-neutral-light-600",from:"from-neutral-light-600"},"neutral-light-alpha-100":{bg:"bg-neutral-light-alpha-100",text:"text-neutral-light-alpha-100",border:"border-neutral-light-alpha-100",from:"from-neutral-light-alpha-100"},"neutral-light-alpha-200":{bg:"bg-neutral-light-alpha-200",text:"text-neutral-light-alpha-200",border:"border-neutral-light-alpha-200",from:"from-neutral-light-alpha-200"},"neutral-light-alpha-300":{bg:"bg-neutral-light-alpha-300",text:"text-neutral-light-alpha-300",border:"border-neutral-light-alpha-300",from:"from-neutral-light-alpha-300"},"neutral-light-alpha-400":{bg:"bg-neutral-light-alpha-400",text:"text-neutral-light-alpha-400",border:"border-neutral-light-alpha-400",from:"from-neutral-light-alpha-400"},"neutral-light-alpha-500":{bg:"bg-neutral-light-alpha-500",text:"text-neutral-light-alpha-500",border:"border-neutral-light-alpha-500",from:"from-neutral-light-alpha-500"},"neutral-dark":{bg:"bg-neutral-dark",text:"text-neutral-dark",border:"border-neutral-dark",from:"from-neutral-dark"},"neutral-dark-200":{bg:"bg-neutral-dark-200",text:"text-neutral-dark-200",border:"border-neutral-dark-200",from:"from-neutral-dark-200"},"neutral-dark-300":{bg:"bg-neutral-dark-300",text:"text-neutral-dark-300",border:"border-neutral-dark-300",from:"from-neutral-dark-300"},"neutral-dark-400":{bg:"bg-neutral-dark-400",text:"text-neutral-dark-400",border:"border-neutral-dark-400",from:"from-neutral-dark-400"}
1,"neutral-dark-500":{bg:"bg-neutral-dark-500",text:"text-neutral-dark-500",border:"border-neutral-dark-500",from:"from-neutral-dark-500"},"neutral-dark-600":{bg:"bg-neutral-dark-600",text:"text-neutral-dark-600",border:"border-neutral-dark-600",from:"from-neutral-dark-600"},"neutral-dark-alpha-100":{bg:"bg-neutral-dark-alpha-100",text:"text-neutral-dark-alpha-100",border:"border-neutral-dark-alpha-100",from:"from-neutral-dark-alpha-100"},"neutral-dark-alpha-200":{bg:"bg-neutral-dark-alpha-200",text:"text-neutral-dark-alpha-200",border:"border-neutral-dark-alpha-200",from:"from-neutral-dark-alpha-200"},"neutral-dark-alpha-300":{bg:"bg-neutral-dark-alpha-300",text:"text-neutral-dark-alpha-300",border:"border-neutral-dark-alpha-300",from:"from-neutral-dark-alpha-300"},"neutral-dark-alpha-400":{bg:"bg-neutral-dark-alpha-400",text:"text-neutral-dark-alpha-400",border:"border-neutral-dark-alpha-400",from:"from-neutral-dark-alpha-400"},"neutral-dark-alpha-500":{bg:"bg-neutral-dark-alpha-500",text:"text-neutral-dark-alpha-500",border:"border-neutral-dark-alpha-500",from:"from-neutral-dark-alpha-500"},"lime-200":{bg:"bg-lime-200",text:"text-lime-200",border:"border-lime-200",from:"from-lime-200"},"lime-800":{bg:"bg-lime-800",text:"text-lime-800",border:"border-lime-800",from:"from-lime-800"},"teal-200":{bg:"bg-teal-200",text:"text-teal-200",border:"border-teal-200",from:"from-teal-200"},"teal-800":{bg:"bg-teal-800",text:"text-teal-800",border:"border-teal-800",from:"from-teal-800"},"yellow-200":{bg:"bg-yellow-200",text:"text-yellow-200",border:"border-yellow-200",from:"from-yellow-200"},"yellow-700":{bg:"bg-yellow-700",text:"text-yellow-700",border:"border-yellow-700",from:"from-yellow-700"},"purple-300":{bg:"bg-purple-300",text:"text-purple-300",border:"border-purple-300",from:"from-purple-300"},"purple-800":{bg:"bg-purple-800",text:"text-purple-800",border:"border-purple-800",from:"from-purple-800"},"blue-700":{bg:"bg-fjord-blue-700",text:"text-fjord-blue-700",border:"border-fjord-blue-700",from:"from-fjord-blue-700"},"green-success":{bg:"bg-green-success",text:"text-green-success",border:"border-green-success",from:"from-green-success"}
1,"light-blue":{bg:"bg-light-blue",text:"text-light-blue",border:"border-light-blue",from:"from-light-blue"},"light-peach":{bg:"bg-light-peach",text:"text-light-peach",border:"border-light-peach",from:"from-light-peach"},"light-cream":{bg:"bg-light-cream",text:"text-light-cream",border:"border-light-cream",from:"from-light-cream"},"pale-orange":{bg:"bg-pale-orange",text:"text-pale-orange",border:"border-pale-orange",from:"from-pale-orange"},"light-lavender":{bg:"bg-light-lavender",text:"text-light-lavender",border:"border-light-lavender",from:"from-light-lavender"},transparent:{bg:"bg-transparent",text:"text-transparent",border:"border-transparent",from:"from-transparent"}};e.s(["getColorVariant",0,(e,r,n)=>null==e?n?t[n][r]:"":Object.keys(t).includes(e)?t[e][r]:""])},515201,36864,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}],515201);var t=e.i(79061),r=e.i(205945);e.s(["createContextScope",0,function(e,n=[]){let o=[],a=()=>{let r=o.map(e=>t.createContext(e));return function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return a.scopeName=e,[function(n,a){let l=t.createContext(a);l.displayName=n+"Context";let i=o.length;o=[...o,a];let u=n=>{let{scope:o,children:a,...u}=n,c=o?.[e]?.[i]||l,s=t.useMemo(()=>u,Object.values(u));return(0,r.jsx)(c.Provider,{value:s,children:a})};return u.displayName=n+"Provider",[u,function(r,o){let u=o?.[e]?.[i]||l,c=t.useContext(u);if(c)return c;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return n.scopeName=r.scopeName,n}(a,...n)]}],36864)},345844,e=>{"use strict";var t=e.i(79061),r=0,n=null;function o(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",0,function(){t.useEffect(()=>{n||(n={start:o(),end:o()});let{start:e,end:t}=n;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),r++,()=>{1===r&&(n?.start.remove(),n?.end.remove(),n=null),r=Math.max(0,r-1)}},[])}])},242495,e=>{"use strict";let t;var r=e.i(79061),n=e.i(855855),o=e.i(442462),a=e.i(221609),l=e.i(205945),i="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},s=r.forwardRef((e,t)=>{let{loop:s=!1,trapped:b=!1,onMountAutoFocus:g,onUnmountAutoFocus:h,...v}=e,[y,x]=r.useState(null),w=(0,a.useCallbackRef)(g),E=(0,a.useCallbackRef)(h),k=r.useRef(null),C=(0,n.useComposedRefs)(t,e=>x(e)),S=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(b){let e=function(e){if(S.paused||!y)return;let t=e.target;y.contains(t)?k.current=t:m(k.current,{select:!0})},t=function(e){if(S.paused||!y)return;let t=e.relatedTarget;null!==t&&(y.contains(t)||m(k.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(y)});return y&&r.observe(y,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[b,y,S.paused]),r.useEffect(()=>{if(y){p.add(S);let e=document.activeElement;if(!y.contains(e)){let t=new CustomEvent(i,c);y.addEventListener(i,w),y.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(m(n,{select:t}),document.activeElement!==r)return}(d(y).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(y))}return()=>{y.removeEventListener(i,w),setTimeout(()=>{let t=new CustomEvent(u,c);y.addEventListener(u,E),y.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),y.removeEventListener(u,E),p.remove(S)},0)}}},[y,w,E,S]);let N=r.useCallback(e=>{if(!s&&!b||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){var n;let t,o=e.currentTarget,[a,l]=[f(t=d(n=o),n),f(t.reverse(),n)];a&&l?e.shiftKey||r!==l?e.shiftKey&&r===a&&(e.preventDefault(),s&&m(l,{select:!0})):(e.preventDefault(),s&&m(a,{select:!0})):r===o&&e.preventDefault()}},[s,b,S.paused]);return(0,l.jsx)(o.Primitive.div,{tabIndex:-1,...v,ref:C,onKeyDown:N})});function d(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function f(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function m(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}s.displayName="FocusScope";var p=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=b(t,e)).unshift(e)},remove(e){t=b(t,e),t[0]?.resume()}});function b(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}e.s(["FocusScope",0,s])},631420,e=>{"use strict";var t=e.i(79061),r=e.i(450961),n=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[a,l]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||l(e=>e??String(o++))}
1,[e]),e||(a?`radix-${a}`:"")}])},594715,e=>{"use strict";var t=e.i(79061),r=e.i(450961),n=e=>{var n;let l,i,{present:u,children:c}=e,s=function(e){var n,o;let[l,i]=t.useState(),u=t.useRef(null),c=t.useRef(e),s=t.useRef("none"),[d,f]=(n=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,n));return t.useEffect(()=>{let e=a(u.current);s.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=u.current,r=c.current;if(r!==e){let n=s.current,o=a(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,r.useLayoutEffect)(()=>{if(l){let e,t=l.ownerDocument.defaultView??window,r=r=>{let n=a(u.current).includes(CSS.escape(r.animationName));if(r.target===l&&n&&(f("ANIMATION_END"),!c.current)){let r=l.style.animationFillMode;l.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===l.style.animationFillMode&&(l.style.animationFillMode=r)})}},n=e=>{e.target===l&&(s.current=a(u.current))};return l.addEventListener("animationstart",n),l.addEventListener("animationcancel",r),l.addEventListener("animationend",r),()=>{t.clearTimeout(e),l.removeEventListener("animationstart",n),l.removeEventListener("animationcancel",r),l.removeEventListener("animationend",r)}}f("ANIMATION_END")},[l,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{u.current=e?getComputedStyle(e):null,i(e)},[])}}(u),d="function"==typeof c?c({present:s.isPresent}):t.Children.only(c),f=function(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,n=!1,a=t.map(t=>{let r=o(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<a.length;e++){let r=a[e];"function"==typeof r?r():o(t[e],null)}}},[])}(s.ref,(n=d,(i=(l=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?n.ref:(i=(l=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in l&&l.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof c||s.isPresent?t.cloneElement(d,{ref:f}):null};function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(e){return e?.animationName||"none"}n.displayName="Presence",e.s(["Presence",0,n])},442462,e=>{"use strict";var t=e.i(79061),r=e.i(148325),n=e.i(132602),o=e.i(205945),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let a=(0,n.createSlot)(`Primitive.${r}`),l=t.forwardRef((e,t)=>{let{asChild:n,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(n?a:r,{...l,ref:t})});return l.displayName=`Primitive.${r}`,{...e,[r]:l}},{});e.s(["Primitive",0,a,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}])},135180,764772,657219,e=>{"use strict";var t=e.i(79061),r=e.i(515201),n=e.i(36864),o=e.i(855855),a=e.i(132602),l=e.i(205945);function i(e){let r=e+"CollectionProvider",[i,u]=(0,n.createContextScope)(r),[c,s]=i(r,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,o=t.useRef(null),a=t.useRef(new Map).current;return(0,l.jsx)(c,{scope:r,itemMap:a,collectionRef:o,children:n})};d.displayName=r;let f=e+"CollectionSlot",m=(0,a.createSlot)(f),p=t.forwardRef((e,t)=>{let{scope:r,children:n}=e,a=s(f,r),i=(0,o.useComposedRefs)(t,a.collectionRef);return(0,l.jsx)(m,{ref:i,children:n})});p.displayName=f;let b=e+"CollectionItemSlot",g="data-radix-collection-item",h=(0,a.createSlot)(b),v=t.forwardRef((e,r)=>{let{scope:n,children:a,...i}=e,u=t.useRef(null),c=(0,o.useComposedRefs)(r,u),d=s(b,n);return t.useEffect(()=>(d.itemMap.set(u,{ref:u,...i}),()=>void d.itemMap.delete(u))),(0,l.jsx)(h,{...{[g]:""},ref:c,children:a})});return v.displayName=b,[{Provider:d,Slot:p,ItemSlot:v},function(r){let n=s(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},u]}e.s(["createCollection",0,i],764772);var u=e.i(631420),c=e.i(442462),s=e.i(221609),d=e.i(79425),f=t.createContext(void 0);function m(e){let r=t.useContext(f);return e||r||"ltr"}e.s(["useDirection",0,m],657219);var p="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[h,v,y]=i(g),[x,w]=(0,n.createContextScope)(g,[y]),[E,k]=x(g),C=t.forwardRef((e,t)=>
1(0,l.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(S,{...e,ref:t})})}));C.displayName=g;var S=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:a,orientation:i,loop:u=!1,dir:f,currentTabStopId:h,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:x,onEntryFocus:w,preventScrollOnEntryFocus:k=!1,...C}=e,S=t.useRef(null),N=(0,o.useComposedRefs)(n,S),R=m(f),[_,M]=(0,d.useControllableState)({prop:h,defaultProp:y??null,onChange:x,caller:g}),[A,L]=t.useState(!1),I=(0,s.useCallbackRef)(w),P=v(a),O=t.useRef(!1),[F,j]=t.useState(0);return t.useEffect(()=>{let e=S.current;if(e)return e.addEventListener(p,I),()=>e.removeEventListener(p,I)},[I]),(0,l.jsx)(E,{scope:a,orientation:i,dir:R,loop:u,currentTabStopId:_,onItemFocus:t.useCallback(e=>M(e),[M]),onItemShiftTab:t.useCallback(()=>L(!0),[]),onFocusableItemAdd:t.useCallback(()=>j(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>j(e=>e-1),[]),children:(0,l.jsx)(c.Primitive.div,{tabIndex:A||0===F?-1:0,"data-orientation":i,...C,ref:N,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{O.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!O.current;if(e.target===e.currentTarget&&t&&!A){let t=new CustomEvent(p,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=P().filter(e=>e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),k)}}O.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>L(!1))})})}),N="RovingFocusGroupItem",R=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,focusable:a=!0,active:i=!1,tabStopId:s,children:d,...f}=e,m=(0,u.useId)(),p=s||m,b=k(N,o),g=b.currentTabStopId===p,y=v(o),{onFocusableItemAdd:x,onFocusableItemRemove:w,currentTabStopId:E}=b;return t.useEffect(()=>{if(a)return x(),()=>w()},[a,x,w]),(0,l.jsx)(h.ItemSlot,{scope:o,id:p,focusable:a,active:i,children:(0,l.jsx)(c.Primitive.span,{tabIndex:g?0:-1,"data-orientation":b.orientation,...f,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{a?b.onItemFocus(p):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>b.onItemFocus(p)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void b.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return _[o]}(e,b.orientation,b.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&o.reverse();let a=o.indexOf(e.currentTarget);o=b.loop?(r=o,n=a+1,r.map((e,t)=>r[(n+t)%r.length])):o.slice(a+1)}setTimeout(()=>T(o))}}),children:"function"==typeof d?d({isCurrentTabStop:g,hasTabStop:null!=E}):d})})});R.displayName=N;var _={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",0,R,"Root",0,C,"createRovingFocusGroupScope",0,w],135180)},221609,e=>{"use strict";var t=e.i(79061);e.s(["useCallbackRef",0,function(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}])},79425,e=>{"use strict";var t=e.i(79061),r=e.i(450961);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:o=()=>{},caller:a}){let[l,i,u]=function({defaultProp:e,onChange:r}){let[o,a]=t.useState(e),l=t.useRef(o),i=t.useRef(r);return n(()=>{i.current=r},[r]),t.useEffect(()=>{l.current!==o&&(i.current?.(o),l.current=o)},[o,l]),[o,a,i]}({defaultProp:r,onChange:o}),c=void 0!==e,s=c?e:l;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${a} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,a])}return[s,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else i(t)},[c,e,i,u])]}],79425)},450961,e=>{"use strict";var t=e.i(79061),r=globalThis?.document?t.useLayoutEffect:()=>{};
1e.s(["useLayoutEffect",0,r])},258640,e=>{"use strict";var t=e.i(79061);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},758087,e=>{"use strict";var t=e.i(79061),r=e.i(442462),n=e.i(205945),o=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=t.forwardRef((e,t)=>(0,n.jsx)(r.Primitive.span,{...e,ref:t,style:{...o,...e.style}}));a.displayName="VisuallyHidden",e.s(["Root",0,a])},73772,e=>{"use strict";var t=new WeakMap,r=new WeakMap,n={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},l=function(e,l,i,u){var c=(Array.isArray(e)?e:[e]).map(function(e){if(l.contains(e))return e;var t=a(e);return t&&l.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",l,". Doing nothing"),null)}).filter(function(e){return!!e});n[i]||(n[i]=new WeakMap);var s=n[i],d=[],f=new Set,m=new Set(c),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};c.forEach(p);var b=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))b(e);else try{var n=e.getAttribute(u),o=null!==n&&"false"!==n,a=(t.get(e)||0)+1,l=(s.get(e)||0)+1;t.set(e,a),s.set(e,l),d.push(e),1===a&&o&&r.set(e,!0),1===l&&e.setAttribute(i,"true"),o||e.setAttribute(u,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return b(l),f.clear(),o++,function(){d.forEach(function(e){var n=t.get(e)-1,o=s.get(e)-1;t.set(e,n),s.set(e,o),n||(r.has(e)||e.removeAttribute(u),r.delete(e)),o||e.removeAttribute(i)}),--o||(t=new WeakMap,t=new WeakMap,r=new WeakMap,n={})}};e.s(["hideOthers",0,function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),l(n,o,r,"aria-hidden")):function(){return null}}])},170337,e=>{"use strict";var t,r,n,o,a,l,i,u=e.i(824627),c=e.i(79061),s="right-scroll-bar-position",d="width-before-scroll-bar";function f(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?c.useLayoutEffect:c.useEffect,p=new WeakMap,b=(void 0===t&&(t={}),(void 0===r&&(r=function(e){return e}),n=[],o=!1,a={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var t=r(e,o);return n.push(t),function(){n=n.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var a=function(){var r=t;t=[],r.forEach(e)},l=function(){return Promise.resolve().then(a)};l(),n={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),n}}}}).options=(0,u.__assign)({async:!0,ssr:!1},t),a),g=function(){},h=c.forwardRef(function(e,t){var r,n,o,a,l=c.useRef(null),i=c.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),s=i[0],d=i[1],h=e.forwardProps,v=e.children,y=e.className,x=e.removeScrollBar,w=e.enabled,E=e.shards,k=e.sideCar,C=e.noRelative,S=e.noIsolation,N=e.inert,R=e.allowPinchZoom,_=e.as,T=e.gapMode,M=(0,u.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(r=[l,t],n=function(e){return r.forEach(function(t){return f(t,e)})},(o=(0,c.useState)(function(){return{value:null,callback:n,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=n,a=o.facade,m(function(){var e=p.get(a);if(e){var t=new Set(e),n=new Set(r),o=a.current;t.forEach(function(e){n.has(e)||f(e,null)}),n.forEach(function(e){t.has(e)||f(e,o)})}p.set(a,r)},[r]),a),L=(0,u.__assign)((0,u.__assign)({},M),s);return c.createElement(c.Fragment,null,w&&c.createElement(k,{sideCar:b,removeScrollBar:x,shards:E,noRelative:C,noIsolation:S,inert:N,setCallbacks:d,allowPinchZoom:!!R,lockRef:l,gapMode:T}),h?c.cloneElement(c.Children.only(v),(0,u.__assign)((0,u.__assign)({},L),{ref:A})):c.createElement(void 0===_?"div":_,(0,u.__assign)({},L,{className:y,ref:A}),v))});h.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},h.classNames={fullWidth:d,zeroRight:s};var v=function(e){var t=e.sideCar,r=(0,u.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return c.createElement(n,(0,u.__assign)({},r))};
1v.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,o;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},x=function(){var e=y();return function(t,r){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},w=function(){var e=x();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},k=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[k(r),k(n),k(o)]},S=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return E;var t=C(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},N=w(),R="data-scroll-locked",_=function(e,t,r,n){var o=e.left,a=e.top,l=e.right,i=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(i,"px ").concat(n,";\n }\n body[").concat(R,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(s," {\n right: ").concat(i,"px ").concat(n,";\n }\n \n .").concat(d," {\n margin-right: ").concat(i,"px ").concat(n,";\n }\n \n .").concat(s," .").concat(s," {\n right: 0 ").concat(n,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")},T=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},M=function(){c.useEffect(function(){return document.body.setAttribute(R,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},A=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;M();var a=c.useMemo(function(){return S(o)},[o]);return c.createElement(N,{styles:_(a,!t,o,r?"":"!important")})},L=!1;if("u">typeof window)try{var I=Object.defineProperty({},"passive",{get:function(){return L=!0,!0}});window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){L=!1}var P=!!L&&{passive:!1},O=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},F=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),j(e,n)){var o=D(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},j=function(e,t){return"v"===e?O(t,"overflowY"):O(t,"overflowX")},D=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},W=function(e,t,r,n,o){var a,l=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),i=l*n,u=r.target,c=t.contains(u),s=!1,d=i>0,f=0,m=0;do{if(!u)break;var p=D(e,u),b=p[0],g=p[1]-p[2]-l*b;(b||g)&&j(e,u)&&(f+=g,m+=b);var h=u.parentNode;u=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!c&&u!==document.body||c&&(t.contains(u)||t===u))return d&&(o&&1>Math.abs(f)||!o&&i>f)?s=!0:!d&&(o&&1>Math.abs(m)||!o&&-i>m)&&(s=!0),s},B=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},U=function(e){return[e.deltaX,e.deltaY]},K=function(e){return e&&"current"in e?e.current:e},H=0,$=[];let G=(l=function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),o=c.useState(H++)[0],a=c.useState(w)[0],l=c.useRef(e);c.useEffect(function(){l.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,u.__spreadArray)([e.lockRef.current],(e.shards||[]).map(K),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var i=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,a=B(e),i=r.current,u="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],s=e.target,d=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),m=f&&f.anchorNode;if(m&&(m===s||m.contains(s)))return!1;var p=F(d,s);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=F(d,s)),!p)return!1;if(!n.current&&"changedTouches"in e&&(u||c)&&(n.current=o),!o)return!0;var b=n.current||o;return W(b,t,e,"h"===b?u:c,!0)},[]),s=c.useCallback(function(e){if($.length&&$[$.length-1]===a){var r="deltaY"in e?U(e):B(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var o=(l.current.shards||[]).map(K).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?i(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=c.useCallback(function(e,r,n,o){var a={name:e,delta:r,target:n,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),f=c.useCallback(function(e){r.current=B(e),n.current=void 0},[]),m=c.useCallback(function(t){d(t.type,U(t),t.target,i(t,e.lockRef.current))},[]),p=c.useCallback(function(t){d(t.type,B(t),t.target,i(t,e.lockRef.current))},[]);c.useEffect(function(){return $.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",s,P),document.addEventListener("touchmove",s,P),document.addEventListener("touchstart",f,P),function(){$=$.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,P),document.removeEventListener("touchmove",s,P),document.removeEventListener("touchstart",f,P)}},[]);var b=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,b?c.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},b.useMedium(l),v);var X=c.forwardRef(function(e,t){return c.createElement(h,(0,u.__assign)({},e,{ref:t,sideCar:G}))});X.classNames=h.classNames,e.s(["RemoveScroll",0,X],170337)}]); 2 3//# sourceMappingURL=30sbpr6gus3dk.js.map
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.