Files
webshop/build_temp/.next/static/chunks/09ftf-8ix1ad~.js
2026-06-22 21:12:46 +02:00

1 line
25 KiB
JavaScript

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90571,e=>{"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError,e.s(["__assign",()=>t,"__awaiter",0,function(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function u(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,u)}c((r=r.apply(e,t||[])).next())})},"__rest",0,function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},"__spreadArray",0,function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}])},81140,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}])},30030,e=>{"use strict";var t=e.i(71645),n=e.i(43476);e.s(["createContext",0,function(e,r){let o=t.createContext(r),a=e=>{let{children:r,...a}=e,i=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(o.Provider,{value:i,children:r})};return a.displayName=e+"Provider",[a,function(n){let a=t.useContext(o);if(a)return a;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let o=[],a=()=>{let n=o.map(e=>t.createContext(e));return function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return a.scopeName=e,[function(r,a){let i=t.createContext(a),u=o.length;o=[...o,a];let c=r=>{let{scope:o,children:a,...c}=r,s=o?.[e]?.[u]||i,l=t.useMemo(()=>c,Object.values(c));return(0,n.jsx)(s.Provider,{value:l,children:a})};return c.displayName=r+"Provider",[c,function(n,o){let c=o?.[e]?.[u]||i,s=t.useContext(c);if(s)return s;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${r}\``)}]},function(...e){let n=e[0];if(1===e.length)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])}};return r.scopeName=n.scopeName,r}(a,...r)]}])},69340,34620,96626,e=>{"use strict";var t=e.i(71645),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n],34620),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||n;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:n,onChange:o=()=>{},caller:a}){let[i,u,c]=function({defaultProp:e,onChange:n}){let[o,a]=t.useState(e),i=t.useRef(o),u=t.useRef(n);return r(()=>{u.current=n},[n]),t.useEffect(()=>{i.current!==o&&(u.current?.(o),i.current=o)},[o,i]),[o,a,u]}({defaultProp:n,onChange:o}),s=void 0!==e,l=s?e:i;{let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==s){let t=s?"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.`)}n.current=s},[s,a])}return[l,t.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&c.current?.(n)}else u(t)},[s,e,u,c])]}],69340);var o=e.i(20783),a=e=>{var r;let a,u,{present:c,children:s}=e,l=function(e){var r,o;let[a,u]=t.useState(),c=t.useRef(null),s=t.useRef(e),l=t.useRef("none"),[d,f]=(r=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,r));return t.useEffect(()=>{let e=i(c.current);l.current="mounted"===d?e:"none"},[d]),n(()=>{let t=c.current,n=s.current;if(n!==e){let r=l.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),n(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,n=n=>{let r=i(c.current).includes(CSS.escape(n.animationName));if(n.target===a&&r&&(f("ANIMATION_END"),!s.current)){let n=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=n)})}},r=e=>{e.target===a&&(l.current=i(c.current))};return a.addEventListener("animationstart",r),a.addEventListener("animationcancel",n),a.addEventListener("animationend",n),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",r),a.removeEventListener("animationcancel",n),a.removeEventListener("animationend",n)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{c.current=e?getComputedStyle(e):null,u(e)},[])}}(c),d="function"==typeof s?s({present:l.isPresent}):t.Children.only(s),f=(0,o.useComposedRefs)(l.ref,(r=d,(u=(a=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?r.ref:(u=(a=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof s||l.isPresent?t.cloneElement(d,{ref:f}):null};function i(e){return e?.animationName||"none"}a.displayName="Presence",e.s(["Presence",0,a],96626)},10772,e=>{"use strict";var t=e.i(71645),n=e.i(34620),r=t[" useId ".trim().toString()]||(()=>void 0),o=0;e.s(["useId",0,function(e){let[a,i]=t.useState(r());return(0,n.useLayoutEffect)(()=>{e||i(e=>e??String(o++))},[e]),e||(a?`radix-${a}`:"")}])},30207,e=>{"use strict";var t=e.i(71645);e.s(["useCallbackRef",0,function(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}])},26330,e=>{"use strict";var t,n=e.i(71645),r=e.i(81140),o=e.i(48425),a=e.i(20783),i=e.i(30207),u=e.i(43476),c="dismissableLayer.update",s=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),l=n.forwardRef((e,l)=>{let{disableOutsidePointerEvents:v=!1,onEscapeKeyDown:m,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:y,onDismiss:g,...E}=e,b=n.useContext(s),[w,C]=n.useState(null),S=w?.ownerDocument??globalThis?.document,[,N]=n.useState({}),R=(0,a.useComposedRefs)(l,e=>C(e)),T=Array.from(b.layers),[L]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),_=T.indexOf(L),P=w?T.indexOf(w):-1,M=b.layersWithOutsidePointerEventsDisabled.size>0,O=P>=_,A=function(e,t=globalThis?.document){let r=(0,i.useCallbackRef)(e),o=n.useRef(!1),a=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let n=function(){f("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=n,t.addEventListener("click",a.current,{once:!0})):n()}else t.removeEventListener("click",a.current);o.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...b.branches].some(e=>e.contains(t));O&&!n&&(p?.(e),y?.(e),e.defaultPrevented||g?.())},S),k=function(e,t=globalThis?.document){let r=(0,i.useCallbackRef)(e),o=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!o.current&&f("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(h?.(e),y?.(e),e.defaultPrevented||g?.())},S);return!function(e,t=globalThis?.document){let r=(0,i.useCallbackRef)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{P===b.layers.size-1&&(m?.(e),!e.defaultPrevented&&g&&(e.preventDefault(),g()))},S),n.useEffect(()=>{if(w)return v&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(w)),b.layers.add(w),d(),()=>{v&&1===b.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=t)}},[w,S,v,b]),n.useEffect(()=>()=>{w&&(b.layers.delete(w),b.layersWithOutsidePointerEventsDisabled.delete(w),d())},[w,b]),n.useEffect(()=>{let e=()=>N({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(o.Primitive.div,{...E,ref:R,style:{pointerEvents:M?O?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,k.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,A.onPointerDownCapture)})});function d(){let e=new CustomEvent(c);document.dispatchEvent(e)}function f(e,t,n,{discrete:r}){let a=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?(0,o.dispatchDiscreteCustomEvent)(a,i):a.dispatchEvent(i)}l.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(s),i=n.useRef(null),c=(0,a.useComposedRefs)(t,i);return n.useEffect(()=>{let e=i.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(o.Primitive.div,{...e,ref:c})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,l],26330)},65491,74606,e=>{"use strict";let t;var n=e.i(71645),r=e.i(20783),o=e.i(48425),a=e.i(30207),i=e.i(43476),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},l=n.forwardRef((e,t)=>{let{loop:l=!1,trapped:p=!1,onMountAutoFocus:h,onUnmountAutoFocus:y,...g}=e,[E,b]=n.useState(null),w=(0,a.useCallbackRef)(h),C=(0,a.useCallbackRef)(y),S=n.useRef(null),N=(0,r.useComposedRefs)(t,e=>b(e)),R=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(p){let e=function(e){if(R.paused||!E)return;let t=e.target;E.contains(t)?S.current=t:v(S.current,{select:!0})},t=function(e){if(R.paused||!E)return;let t=e.relatedTarget;null!==t&&(E.contains(t)||v(S.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&v(E)});return E&&n.observe(E,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[p,E,R.paused]),n.useEffect(()=>{if(E){m.add(R);let e=document.activeElement;if(!E.contains(e)){let t=new CustomEvent(u,s);E.addEventListener(u,w),E.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(v(r,{select:t}),document.activeElement!==n)return}(d(E).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(E))}return()=>{E.removeEventListener(u,w),setTimeout(()=>{let t=new CustomEvent(c,s);E.addEventListener(c,C),E.dispatchEvent(t),t.defaultPrevented||v(e??document.body,{select:!0}),E.removeEventListener(c,C),m.remove(R)},0)}}},[E,w,C,R]);let T=n.useCallback(e=>{if(!l&&!p||R.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){var r;let t,o=e.currentTarget,[a,i]=[f(t=d(r=o),r),f(t.reverse(),r)];a&&i?e.shiftKey||n!==i?e.shiftKey&&n===a&&(e.preventDefault(),l&&v(i,{select:!0})):(e.preventDefault(),l&&v(a,{select:!0})):n===o&&e.preventDefault()}},[l,p,R.paused]);return(0,i.jsx)(o.Primitive.div,{tabIndex:-1,...g,ref:N,onKeyDown:T})});function d(e){let t=[],n=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(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(let n 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}(n,{upTo:t}))return n}function v(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}l.displayName="FocusScope";var m=(t=[],{add(e){let n=t[0];e!==n&&n?.pause(),(t=p(t,e)).unshift(e)},remove(e){t=p(t,e),t[0]?.resume()}});function p(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}e.s(["FocusScope",0,l],65491);var h=e.i(74080),y=e.i(34620),g=n.forwardRef((e,t)=>{let{container:r,...a}=e,[u,c]=n.useState(!1);(0,y.useLayoutEffect)(()=>c(!0),[]);let s=r||u&&globalThis?.document?.body;return s?h.default.createPortal((0,i.jsx)(o.Primitive.div,{...a,ref:t}),s):null});g.displayName="Portal",e.s(["Portal",0,g],74606)},3536,e=>{"use strict";var t=e.i(71645),n=0;function r(){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(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??r()),document.body.insertAdjacentElement("beforeend",e[1]??r()),n++,()=>{1===n&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),n--}},[])}])},85369,e=>{"use strict";var t,n,r,o,a,i,u,c=e.i(90571),s=e.i(71645),l="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 v="u">typeof window?s.useLayoutEffect:s.useEffect,m=new WeakMap,p=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],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 r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var a=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}}).options=(0,c.__assign)({async:!0,ssr:!1},t),a),h=function(){},y=s.forwardRef(function(e,t){var n,r,o,a,i=s.useRef(null),u=s.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),l=u[0],d=u[1],y=e.forwardProps,g=e.children,E=e.className,b=e.removeScrollBar,w=e.enabled,C=e.shards,S=e.sideCar,N=e.noRelative,R=e.noIsolation,T=e.inert,L=e.allowPinchZoom,_=e.as,P=e.gapMode,M=(0,c.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=(n=[i,t],r=function(e){return n.forEach(function(t){return f(t,e)})},(o=(0,s.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,v(function(){var e=m.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||f(e,null)}),r.forEach(function(e){t.has(e)||f(e,o)})}m.set(a,n)},[n]),a),A=(0,c.__assign)((0,c.__assign)({},M),l);return s.createElement(s.Fragment,null,w&&s.createElement(S,{sideCar:p,removeScrollBar:b,shards:C,noRelative:N,noIsolation:R,inert:T,setCallbacks:d,allowPinchZoom:!!L,lockRef:i,gapMode:P}),y?s.cloneElement(s.Children.only(g),(0,c.__assign)((0,c.__assign)({},A),{ref:O})):s.createElement(void 0===_?"div":_,(0,c.__assign)({},A,{className:E,ref:O}),g))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:d,zeroRight:l};var g=function(e){var t=e.sideCar,n=(0,c.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return s.createElement(r,(0,c.__assign)({},n))};g.isSideCarExport=!0;var E=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=E();return function(t,n){s.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},S=function(e){return parseInt(e||"",10)||0},N=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[S(n),S(r),S(o)]},R=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=N(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},T=w(),L="data-scroll-locked",_=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(u,"px ").concat(r,";\n }\n body[").concat(L,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(u,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(l," {\n right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(u,"px ").concat(r,";\n }\n \n .").concat(l," .").concat(l," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(L,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n }\n")},P=function(){var e=parseInt(document.body.getAttribute(L)||"0",10);return isFinite(e)?e:0},M=function(){s.useEffect(function(){return document.body.setAttribute(L,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(L):document.body.setAttribute(L,e.toString())}},[])},O=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;M();var a=s.useMemo(function(){return R(o)},[o]);return s.createElement(T,{styles:_(a,!t,o,n?"":"!important")})},A=!1;if("u">typeof window)try{var k=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",k,k),window.removeEventListener("test",k,k)}catch(e){A=!1}var x=!!A&&{passive:!1},D=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},I=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),W(e,r)){var o=F(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},W=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},j=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),u=i*r,c=n.target,s=t.contains(c),l=!1,d=u>0,f=0,v=0;do{if(!c)break;var m=F(e,c),p=m[0],h=m[1]-m[2]-i*p;(p||h)&&W(e,c)&&(f+=h,v+=p);var y=c.parentNode;c=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!s&&c!==document.body||s&&(t.contains(c)||t===c))return d&&(o&&1>Math.abs(f)||!o&&u>f)?l=!0:!d&&(o&&1>Math.abs(v)||!o&&-u>v)&&(l=!0),l},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},B=function(e){return[e.deltaX,e.deltaY]},K=function(e){return e&&"current"in e?e.current:e},$=0,H=[];let X=(i=function(e){var t=s.useRef([]),n=s.useRef([0,0]),r=s.useRef(),o=s.useState($++)[0],a=s.useState(w)[0],i=s.useRef(e);s.useEffect(function(){i.current=e},[e]),s.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,c.__spreadArray)([e.lockRef.current],(e.shards||[]).map(K),!0).filter(Boolean);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 u=s.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,a=U(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-a[0],s="deltaY"in e?e.deltaY:u[1]-a[1],l=e.target,d=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=window.getSelection(),v=f&&f.anchorNode;if(v&&(v===l||v.contains(l)))return!1;var m=I(d,l);if(!m)return!0;if(m?o=d:(o="v"===d?"h":"v",m=I(d,l)),!m)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var p=r.current||o;return j(p,t,e,"h"===p?c:s,!0)},[]),l=s.useCallback(function(e){if(H.length&&H[H.length-1]===a){var n="deltaY"in e?B(e):U(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(K).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?u(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=s.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,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}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),f=s.useCallback(function(e){n.current=U(e),r.current=void 0},[]),v=s.useCallback(function(t){d(t.type,B(t),t.target,u(t,e.lockRef.current))},[]),m=s.useCallback(function(t){d(t.type,U(t),t.target,u(t,e.lockRef.current))},[]);s.useEffect(function(){return H.push(a),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:m}),document.addEventListener("wheel",l,x),document.addEventListener("touchmove",l,x),document.addEventListener("touchstart",f,x),function(){H=H.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,x),document.removeEventListener("touchmove",l,x),document.removeEventListener("touchstart",f,x)}},[]);var p=e.removeScrollBar,h=e.inert;return s.createElement(s.Fragment,null,h?s.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?s.createElement(O,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},p.useMedium(i),g);var Y=s.forwardRef(function(e,t){return s.createElement(y,(0,c.__assign)({},e,{ref:t,sideCar:X}))});Y.classNames=y.classNames,e.s(["RemoveScroll",0,Y],85369)},86312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,a=function(e){return e&&(e.host||a(e.parentNode))},i=function(e,i,u,c){var s=(Array.isArray(e)?e:[e]).map(function(e){if(i.contains(e))return e;var t=a(e);return t&&i.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",i,". Doing nothing"),null)}).filter(function(e){return!!e});r[u]||(r[u]=new WeakMap);var l=r[u],d=[],f=new Set,v=new Set(s),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};s.forEach(m);var p=function(e){!e||v.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var r=e.getAttribute(c),o=null!==r&&"false"!==r,a=(t.get(e)||0)+1,i=(l.get(e)||0)+1;t.set(e,a),l.set(e,i),d.push(e),1===a&&o&&n.set(e,!0),1===i&&e.setAttribute(u,"true"),o||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(i),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=l.get(e)-1;t.set(e,r),l.set(e,o),r||(n.has(e)||e.removeAttribute(c),n.delete(e)),o||e.removeAttribute(u)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),i(r,o,n,"aria-hidden")):function(){return null}}])}]);