1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,81140,20783,30030,91918,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function u(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(u(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(u,"isFrame"),e.s(["composeEventHandlers",0,o],81140);var a=e.i(71645),s=Object.defineProperty,c=(e,t)=>s(e,"name",{value:t,configurable:!0});function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function f(...e){return t=>{let n=!1,r=e.map(e=>{let r=l(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():l(e[t],null)}}}}function d(...e){return a.useCallback(f(...e),e)}c(l,"setRef"),c(f,"composeRefs"),c(d,"useComposedRefs"),e.s(["useComposedRefs",0,d],20783);var p=e.i(18050),m=Object.defineProperty,h=(e,t)=>m(e,"name",{value:t,configurable:!0});function v(e,t=[]){let n=[];function r(t,r){let o=a.createContext(r);o.displayName=t+"Context";let i=n.length;n=[...n,r];let u=h(t=>{let{scope:n,children:r,...u}=t,s=n?.[e]?.[i]||o,c=a.useMemo(()=>u,Object.values(u));return(0,p.jsx)(s.Provider,{value:c,children:r})},"Provider");function s(n,u,c={}){let{optional:l=!1}=c,f=u?.[e]?.[i]||o,d=a.useContext(f);if(d)return d;if(void 0!==r)return r;if(!l)throw Error(`\`${n}\` must be used within \`${t}\``)}return u.displayName=t+"Provider",h(s,"useContext"),[u,s]}h(r,"createContext");let o=h(()=>{let t=n.map(e=>a.createContext(e));return h(function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},"useScope")},"createScope");return o.scopeName=e,[r,y(o,...t)]}function y(...e){let t=e[0];if(1===e.length)return t;let n=h(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return h(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}h(function(e,t){let n=a.createContext(t);n.displayName=e+"Context";let r=h(e=>{let{children:t,...r}=e,o=a.useMemo(()=>r,Object.values(r));return(0,p.jsx)(n.Provider,{value:o,children:t})},"Provider");function o(r,i={}){let{optional:u=!1}=i,s=a.useContext(n);if(s)return s;if(void 0!==t)return t;if(!u)throw Error(`\`${r}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",h(o,"useContext"),[r,o]},"createContext"),h(v,"createContextScope"),h(y,"composeContextScopes"),e.s(["createContextScope",0,v],30030);var b=Object.defineProperty,g=(e,t)=>b(e,"name",{value:t,configurable:!0});function E(e){let t=a.forwardRef((t,n)=>{let{children:r,...o}=t,i=null,u=!1,s=[];k(r)&&"function"==typeof A&&(r=A(r._payload)),a.Children.forEach(r,e=>{if(P(e)){u=!0;let t="child"in e.props?e.props.child:e.props.children;k(t)&&"function"==typeof A&&(t=A(t._payload)),i=C(e,t),s.push(i?.props?.children)}else s.push(e)}),i?i=a.cloneElement(i,void 0,s):!u&&1===a.Children.count(r)&&a.isValidElement(r)&&(i=r);let c=i?O(i):void 0,l=d(n,c);if(!i){if(r||0===r)throw Error(u?L(e):M(e));return r}let f=R(o,i.props??{});return i.type!==a.Fragment&&(f.ref=n?l:c),a.cloneElement(i,f)});return t.displayName=`${e}.Slot`,t}g(E,"createSlot");var w=Symbol.for("radix.slottable");function S(e){let t=g(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=w,t}g(S,"createSlottable");var C=g((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function R(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}
1:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function P(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===w}g(R,"mergeProps"),g(O,"getElementRef"),g(P,"isSlottable");var x=Symbol.for("react.lazy");function k(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===x&&"_payload"in e&&N(e._payload)}function N(e){return"object"==typeof e&&null!==e&&"then"in e}g(k,"isLazyComponent"),g(N,"isPromiseLike");var M=g(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),L=g(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),A=a[" use ".trim().toString()];e.s(["createSlot",0,E,"createSlottable",0,S],91918)},75830,e=>{"use strict";var t=e.i(71645),n=e.i(30030),r=e.i(20783),o=e.i(91918),i=e.i(18050),u=Object.defineProperty,a=(e,t)=>u(e,"name",{value:t,configurable:!0});function s(e){let u=e+"CollectionProvider",[s,c]=(0,n.createContextScope)(u),[l,f]=s(u,{collectionRef:{current:null},itemMap:new Map}),d=a(e=>{let{scope:n,children:r}=e,o=t.useRef(null),u=t.useRef(new Map).current;return(0,i.jsx)(l,{scope:n,itemMap:u,collectionRef:o,children:r})},"CollectionProvider");d.displayName=u;let p=e+"CollectionSlot",m=(0,o.createSlot)(p),h=t.forwardRef((e,t)=>{let{scope:n,children:o}=e,u=f(p,n),a=(0,r.useComposedRefs)(t,u.collectionRef);return(0,i.jsx)(m,{ref:a,children:o})});h.displayName=p;let v=e+"CollectionItemSlot",y="data-radix-collection-item",b=(0,o.createSlot)(v),g=t.forwardRef((e,n)=>{let{scope:o,children:u,...a}=e,s=t.useRef(null),c=(0,r.useComposedRefs)(n,s),l=f(v,o);return t.useEffect(()=>(l.itemMap.set(s,{ref:s,...a}),()=>void l.itemMap.delete(s))),(0,i.jsx)(b,{...{[y]:""},ref:c,children:u})});function E(n){let r=f(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return g.displayName=v,a(E,"useCollection"),[{Provider:d,Slot:h,ItemSlot:g},E,c]}a(s,"createCollection");var c=new WeakMap,l=class e extends Map{static{a(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],c.set(this,!0)}set(e,t){return c.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,o=this.has(t),i=this.#e.length,u=p(e),a=u>=0?u:i+u,s=a<0||a>=i?-1:a;if(s===this.size||o&&s===this.size-1||-1===s)return this.set(t,n),this;let c=this.size+ +!o;u<0&&a++;let l=[...this.#e],f=!1;for(let e=a;e<c;e++)if(a===e){let i=l[e];l[e]===t&&(i=l[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{f||l[e-1]!==t||(f=!0);let n=l[f?e:e-1],o=r;r=this.get(n),this.delete(n),this.set(n,o)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=f(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=f(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return f(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(...e){let[t,n]=e,r=0,o=n??this.at(0);for(let n of this)o=0===r&&1===e.length?n:Reflect.apply(t,this,[o,n,r,this]),r++;return o}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let o=this.at(n);r=n===this.size-1&&1===e.length?o:Reflect.apply(t,this,[r,o,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function f(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=d(e,t);return -1===n?void 0:e[n]}function d(e,t){let n=e.length,r=p(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}function p(e){return e!=e||0===e?0:Math.trunc(e)}function m(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function h(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function v(e,t){return e[1].element&&t[1].element?h(e[1].element,t[1].element)?-1:1:0}function y(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type)return void e()})}a(f,"at"),a(d,"toSafeIndex"),a(p,"toSafeInteger"),a(function(e){let u=e+"CollectionProvider",[s,c]=(0,n.createContextScope)(u),[f,d]=s(u,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new l,setItemMap:a(()=>void 0,"setItemMap")}),p=a(({state:e,...t})=>e?(0,i.jsx)(b,{...t,state:e}):(0,i.jsx)(h,{...t}),"CollectionProvider");p.displayName=u;let h=a(e=>{let t=O();return(0,i.jsx)(b,{...e,state:t})},"CollectionInit");h.displayName=u+"Init";let b=a(e=>{let{scope:n,children:o,state:u}=e,a=t.useRef(null),[s,c]=t.useState(null),l=(0,r.useComposedRefs)(a,c),[d,p]=u;return t.useEffect(()=>{if(!s)return;let e=y(()=>{});return e.observe(s,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[s]),(0,i.jsx)(f,{scope:n,itemMap:d,setItemMap:p,collectionRef:l,collectionRefObject:a,collectionElement:s,children:o})},"CollectionProviderImpl");b.displayName=u+"Impl";let g=e+"CollectionSlot",E=(0,o.createSlot)(g),w=t.forwardRef((e,t)=>{let{scope:n,children:o}=e,u=d(g,n),a=(0,r.useComposedRefs)(t,u.collectionRef);return(0,i.jsx)(E,{ref:a,children:o})});w.displayName=g;let S=e+"CollectionItemSlot",C=(0,o.createSlot)(S),R=t.forwardRef((e,n)=>{let{scope:o,children:u,...a}=e,s=t.useRef(null),[c,f]=t.useState(null),p=(0,r.useComposedRefs)(n,s,f),{setItemMap:h}=d(S,o),y=t.useRef(a);m(y.current,a)||(y.current=a);let b=y.current;return t.useEffect(()=>(h(e=>c?e.has(c)?e.set(c,{...b,element:c}).toSorted(v):(e.set(c,{...b,element:c}),e.toSorted(v)):e),()=>{h(e=>c&&e.has(c)?(e.delete(c),new l(e)):e)}),[c,b,h]),(0,i.jsx)(C,{"data-radix-collection-item":"",ref:p,children:u})});function O(){return t.useState(new l)}function P(t){let{itemMap:n}=d(e+"CollectionConsumer",t);return n}return R.displayName=S,a(O,"useInitCollection"),a(P,"useCollection"),[{Provider:p,Slot:w,ItemSlot:R},{createCollectionScope:c,useCollection:P,useInitCollection:O}]},"createCollection"),a(m,"shallowEqual"),a(h,"isElementPreceding"),a(v,"sortByDocumentPosition"),a(y,"getChildListObserver"),e.s(["createCollection",0,s])},26330,48425,30207,e=>{"use strict";var t,n=e.i(71645),r=e.i(81140),o=e.i(74080),i=e.i(91918),u=e.i(18050),a=Object.defineProperty,s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let r=(0,i.createSlot)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(o?r:t,{...i,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}a(c,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,s,"dispatchDiscreteCustomEvent",0,c],48425);var l=e.i(20783);function f(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}(0,Object.defineProperty)(f,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",0,f],30207);var d=Object.defineProperty,p=(e,t)=>d(e,"name",{value:t,configurable:!0}),m="dismissableLayer.update",h=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),v=n.forwardRef(p(function(e,o){let{disableOutsidePointerEvents:i=!1,deferPointerDownOutside:a=!1,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:v,onInteractOutside:y,onDismiss:b,...g}=e,C=n.useContext(h),[R,O]=n.useState(null),P=R?.ownerDocument??globalThis?.document,[,x]=n.useState({}),k=(0,l.useComposedRefs)(o,O),N=Array.from(C.layers),[M]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),L=M?N.indexOf(M):-1,A=R?N.indexOf(R):-1,I=C.layersWithOutsidePointerEventsDisabled.size>0,T=A>=L,j=n.useRef(!1),D=E(e=>{d?.(e),y?.(e),e.defaultPrevented||b?.()},{ownerDocument:P,deferPointerDownOutside:a,isDeferredPointerDownOutsideRef:j,dismissableSurfaces:C.dismissableSurfaces,shouldHandlePointerDownOutside:n.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...C.branches].some(t=>t.contains(e));return T&&!t},[C.branches,T])}),F=w(e=>{if(a&&j.current)return;let t=e.target;![...C.branches].some(e=>e.contains(t))&&(v?.(e),y?.(e),e.defaultPrevented||b?.())},P),_=!!R&&A===N.length-1,W=f(e=>{"Escape"===e.key&&(c?.(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))});return n.useEffect(()=>{if(_)return P.addEventListener("keydown",W,{capture:!0}),()=>P.removeEventListener("keydown",W,{capture:!0})},[P,_,W]),n.useEffect(()=>{if(R)return i&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(t=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(R)),C.layers.add(R),S(),()=>{i&&(C.layersWithOutsidePointerEventsDisabled.delete(R),0===C.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=t))}},[R,P,i,C]),n.useEffect(()=>()=>{R&&(C.layers.delete(R),C.layersWithOutsidePointerEventsDisabled.delete(R),S())},[R,C]),n.useEffect(()=>{let e=p(()=>x({}),"handleUpdate");return document.addEventListener(m,e),()=>document.removeEventListener(m,e)},[]),(0,u.jsx)(s.div,{...g,ref:k,style:{pointerEvents:I?T?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,D.onPointerDownCapture)})},"DismissableLayer")),y=n.forwardRef(p(function(e,t){let r=n.useContext(h),o=n.useRef(null),i=(0,l.useComposedRefs)(t,o);return n.useEffect(()=>{let e=o.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,u.jsx)(s.div,{...e,ref:i})},"DismissableLayerBranch"));function b(){let e=n.useContext(h),[t,r]=n.useState(null);return n.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),r}p(b,"useDismissableLayerSurface");var g=p(()=>!0,"IS_TRUE");function E(e,t){let{ownerDocument:r=globalThis?.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:u,shouldHandlePointerDownOutside:a=g}=t,s=f(e),c=n.useRef(!1),l=n.useRef(!1),d=n.useRef(new Map),m=n.useRef(()=>{});return n.useEffect(()=>{function e(){l.current=!1,i.current=!1,d.current.clear()}function t(){return Array.from(d.current.values()).some(Boolean)}function n(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...u].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{l.current&&m.current()},0)}function f(e){l.current&&d.current.set(e.type,!1)}p(e,"resetOutsideInteraction"),p(t,"isOutsideInteractionIntercepted"),p(n,"handleInteractionCapture"),p(f,"handleInteractionBubble");let h=p(n=>{if(n.target&&!c.current){let u=function(){r.removeEventListener("click",m.current);let n=t();
1e(),n||C("dismissableLayer.pointerDownOutside",s,f,{discrete:!0})};if(p(u,"handleAndDispatchPointerDownOutsideEvent"),!a(n.target)){r.removeEventListener("click",m.current),e(),c.current=!1;return}let f={originalEvent:n};l.current=!0,i.current=o&&0===n.button,d.current.clear(),o&&0===n.button?(r.removeEventListener("click",m.current),m.current=u,r.addEventListener("click",m.current,{once:!0})):u()}else r.removeEventListener("click",m.current),e();c.current=!1},"handlePointerDown"),v=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of v)r.addEventListener(e,n,!0),r.addEventListener(e,f);let y=window.setTimeout(()=>{r.addEventListener("pointerdown",h)},0);return()=>{for(let e of(window.clearTimeout(y),r.removeEventListener("pointerdown",h),r.removeEventListener("click",m.current),v))r.removeEventListener(e,n,!0),r.removeEventListener(e,f)}},[r,s,o,i,u,a]),{onPointerDownCapture:p(()=>c.current=!0,"onPointerDownCapture")}}function w(e,t=globalThis?.document){let r=f(e),o=n.useRef(!1);return n.useEffect(()=>{let e=p(e=>{e.target&&!o.current&&C("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:p(()=>o.current=!0,"onFocusCapture"),onBlurCapture:p(()=>o.current=!1,"onBlurCapture")}}function S(){let e=new CustomEvent(m);document.dispatchEvent(e)}function C(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?c(o,i):o.dispatchEvent(i)}p(E,"usePointerDownOutside"),p(w,"useFocusOutside"),p(S,"dispatchUpdate"),p(C,"handleAndDispatchCustomEvent"),e.s(["Branch",0,y,"DismissableLayer",0,v,"Root",0,v,"useDismissableLayerSurface",0,b],26330)},3536,e=>{"use strict";var t=e.i(71645),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0}),o=0,i=null;function u(){t.useEffect(()=>{i||(i={start:a(),end:a()});let{start:e,end:t}=i;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),o++,()=>{1===o&&(i?.start.remove(),i?.end.remove(),i=null),o=Math.max(0,o-1)}},[])}function a(){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}r(function(e){return u(),e.children},"FocusGuards"),r(u,"useFocusGuards"),r(a,"createFocusGuard"),e.s(["useFocusGuards",0,u])},65491,e=>{"use strict";var t=e.i(71645),n=e.i(20783),r=e.i(48425),o=e.i(30207),i=e.i(18050),u=Object.defineProperty,a=(e,t)=>u(e,"name",{value:t,configurable:!0}),s="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",l={bubbles:!1,cancelable:!0},f=t.forwardRef(a(function(e,u){let{loop:f=!1,trapped:h=!1,onMountAutoFocus:v,onUnmountAutoFocus:y,...E}=e,[w,C]=t.useState(null),R=(0,o.useCallbackRef)(v),O=(0,o.useCallbackRef)(y),P=t.useRef(null),x=(0,n.useComposedRefs)(u,C),k=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(h){let e=function(e){if(k.paused||!w)return;let t=e.target;w.contains(t)?P.current=t:b(P.current,{select:!0})},t=function(e){if(k.paused||!w)return;let t=e.relatedTarget;null!==t&&(w.contains(t)||b(P.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&b(w)};a(e,"handleFocusIn"),a(t,"handleFocusOut"),a(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return w&&r.observe(w,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[h,w,k.paused]),t.useEffect(()=>{if(w){g.add(k);let e=document.activeElement;if(!w.contains(e)){let t=new CustomEvent(s,l);w.addEventListener(s,R),w.dispatchEvent(t),t.defaultPrevented||(d(S(m(w)),{select:!0}),document.activeElement===e&&b(w))}return()=>{w.removeEventListener(s,R),setTimeout(()=>{let t=new CustomEvent(c,l);w.addEventListener(c,O),w.dispatchEvent(t),t.defaultPrevented||b(e??document.body,{select:!0}),w.removeEventListener(c,O),g.remove(k)},0)}}},[w,R,O,k]);let N=t.useCallback(e=>{if(!f&&!h||k.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,o]=p(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),f&&b(o,{select:!0})):(e.preventDefault(),f&&b(r,{select:!0})):n===t&&e.preventDefault()}},[f,h,k.paused]);return(0,i.jsx)(r.Primitive.div,{tabIndex:-1,...E,ref:x,onKeyDown:N})},"FocusScope"));function d(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(b(r,{select:t}),document.activeElement!==n)return}function p(e){let t=m(e);return[h(t,e),h(t.reverse(),e)]}function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a(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},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function h(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):v(r,{upTo:t})))return r}function v(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}function y(e){return e instanceof HTMLInputElement&&"select"in e}function b(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&y(e)&&t&&e.select()}}a(d,"focusFirst"),a(p,"getTabbableEdges"),a(m,"getTabbableCandidates"),a(h,"findVisible"),a(v,"isHidden"),a(y,"isSelectableInput"),a(b,"focus");var g=E();function E(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=w(e,t)).unshift(t)},remove(t){e=w(e,t),e[0]?.resume()}}}function w(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function S(e){return e.filter(e=>"A"!==e.tagName)}a(E,"createFocusScopesStack"),a(w,"arrayRemove"),a(S,"removeLinks"),e.s(["FocusScope",0,f])},10772,e=>{"use strict";var t=e.i(71645),n=e.i(34620),r=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function u(e){let[r,u]=t.useState(o());return(0,n.useLayoutEffect)(()=>{e||u(e=>e??String(i++))},[e]),e||(r?`radix-${r}`:"")}r(u,"name",{value:"useId",configurable:!0}),e.s(["useId",0,u])},74606,96626,69340,e=>{"use strict";var t=e.i(71645),n=e.i(74080),r=e.i(48425),o=e.i(34620),i=e.i(18050),u=Object.defineProperty,a=t.forwardRef(u(function(e,u){let{container:a,...s}=e,[c,l]=t.useState(!1);(0,o.useLayoutEffect)(()=>l(!0),[]);let f=a||c&&globalThis?.document?.body;return f?n.createPortal((0,i.jsx)(r.Primitive.div,{...s,ref:u}),f):null},"name",{value:"Portal",configurable:!0}));e.s(["Portal",0,a],74606);var s=Object.defineProperty,c=(e,t)=>s(e,"name",{value:t,configurable:!0});function l(e,n){return t.useReducer((e,t)=>
1n[e][t]??e,e)}c(l,"useStateMachine");var f=c(e=>{let{present:n,children:r}=e,o=d(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),u=m(o.ref,v(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:u}):null},"Presence");function d(e){let[n,r]=t.useState(),i=t.useRef(null),u=t.useRef(e),a=t.useRef("none"),s=t.useRef(void 0),[f,d]=l(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===f?(a.current=s.current??h(i.current),s.current=void 0):a.current="none"},[f]),(0,o.useLayoutEffect)(()=>{let t=i.current,n=u.current;if(n!==e){let r=a.current,o=h(t);e?(s.current=o,d("MOUNT")):"none"===o||t?.display==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),u.current=e}},[e,d]),(0,o.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=c(r=>{let o=h(i.current).includes(CSS.escape(r.animationName));if(r.target===n&&o&&(d("ANIMATION_END"),!u.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),o=c(e=>{e.target===n&&(a.current=h(i.current))},"handleAnimationStart");return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);i.current=t,s.current=h(t)}else i.current=null;r(e)},[])}}function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function m(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=p(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():p(t[e],null)}}},[])}function h(e){return e?.animationName||"none"}function v(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}c(d,"usePresence"),c(p,"setRef"),c(m,"useStableComposedRefs"),c(h,"getAnimationName"),c(v,"getElementRef"),e.s(["Presence",0,f],96626);var y=Object.defineProperty,b=t[" useEffectEvent ".trim().toString()],g=t[" useInsertionEffect ".trim().toString()];function E(e){if("function"==typeof b)return b(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof g?g(()=>{n.current=e}):(0,o.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}y(E,"name",{value:"useEffectEvent",configurable:!0});var w=Object.defineProperty,S=(e,t)=>w(e,"name",{value:t,configurable:!0}),C=t[" useInsertionEffect ".trim().toString()]||o.useLayoutEffect;function R({prop:e,defaultProp:n,onChange:r=S(()=>{},"onChange"),caller:o}){let[i,u,a]=O({defaultProp:n,onChange:r}),s=void 0!==e,c=s?e:i;return[c,t.useCallback(t=>{if(s){let n=P(t)?t(e):t;n!==e&&a.current?.(n)}else u(t)},[s,e,u,a])]}function O({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),u=t.useRef(n);return C(()=>{u.current=n},[n]),t.useEffect(()=>{i.current!==r&&(u.current?.(r),i.current=r)},[r,i]),[r,o,u]}function P(e){return"function"==typeof e}S(R,"useControllableState"),S(O,"useUncontrolledState"),S(P,"isFunction");var x=Symbol("RADIX:SYNC_STATE");S(function(e,n,r,o){let{prop:i,defaultProp:u,onChange:a,caller:s}=n,c=void 0!==i,l=E(a),f=[{...r,state:u}];o&&f.push(o);let[d,p]=t.useReducer((t,n)=>{if(n.type===x)return{...t,state:n.state};let r=e(t,n);return c&&!Object.is(r.state,t.state)&&l(r.state),r},...f),m=d.state,h=t.useRef(m);t.useEffect(()=>{h.current!==m&&(h.current=m,c||l(m))},[m,h,c]);let v=t.useMemo(()=>void 0!==i?{...d,state:i}:d,[d,i]);return t.useEffect(()=>{c&&!Object.is(i,d.state)&&p({type:x,state:i})},[i,d.state,c]),[v,p]},"useControllableStateReducer"),e.s(["useControllableState",0,R],69340)},34620,e=>{"use strict";var t=e.i(71645),n=globalThis?.document?t.useLayoutEffect:()=>{};
1e.s(["useLayoutEffect",0,n])},59411,e=>{"use strict";var t=e.i(71645),n=e.i(48425),r=e.i(18050),o=Object.defineProperty,i=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"}),u=t.forwardRef(o(function(e,t){return(0,r.jsx)(n.Primitive.span,{...e,ref:t,style:{...i,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}));e.s(["Root",0,u,"VisuallyHidden",0,u])},86312,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},u=function(e,u,a,s){var c=(Array.isArray(e)?e:[e]).map(function(e){if(u.contains(e))return e;var t=i(e);return t&&u.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",u,". Doing nothing"),null)}).filter(function(e){return!!e});r[a]||(r[a]=new WeakMap);var l=r[a],f=[],d=new Set,p=new Set(c),m=function(e){!e||d.has(e)||(d.add(e),m(e.parentNode))};c.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))h(e);else try{var r=e.getAttribute(s),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,u=(l.get(e)||0)+1;t.set(e,i),l.set(e,u),f.push(e),1===i&&o&&n.set(e,!0),1===u&&e.setAttribute(a,"true"),o||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(u),d.clear(),o++,function(){f.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(s),n.delete(e)),o||e.removeAttribute(a)}),--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"))),u(r,o,n,"aria-hidden")):function(){return null}}])},72328,71164,38544,66705,e=>{"use strict";let t={current:null},n={current:!1};e.s(["hasReducedMotionListener",0,n,"prefersReducedMotion",0,t],71164);let r="u">typeof window;function o(){if(n.current=!0,r)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),n=()=>t.current=e.matches;e.addEventListener("change",n),n()}else t.current=!1}e.s(["initPrefersReducedMotion",0,o],38544);var i=e.i(71645);e.s(["useReducedMotion",0,function(){n.current||o();let[e]=(0,i.useState)(t.current);return e}],72328);let u=new Set(["doc","docx","docm","ppt","pps","pot","pptx","pptm","ppsx","ppsm","xls","xlsx","xlsm","xlsb","odt","ods","odp","rtf","epub","csv","pdf"]);function a(e){let t=e.split(/[\\/]/).at(-1)??"",n=t.lastIndexOf(".");return n<=0||n===t.length-1?null:t.slice(n+1).toLowerCase()}function s(e){return(e.split(/[\\/]/).at(-1)??"document").normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-zA-Z0-9._-]+/g,"-").replace(/-+/g,"-").replace(/-+\./g,".").replace(/^[-.]+|[-.]+$/g,"").slice(0,140)||"document"}e.s(["MAX_FILE_BYTES",0,2e8,"createInputPathname",0,function(e,t){return`input
1s/${t}-${s(e)}`},"formatBytes",0,function(e){return e<1e3?`${e} B`:e<1e6?`${(e/1e3).toFixed(1)} KB`:`${(e/1e6).toFixed(e>=1e7?0:1)} MB`},"isFileWithinLimit",0,function(e){return Number.isFinite(e)&&e>0&&e<=2e8},"isSupportedFileName",0,function(e){let t=a(e);return null!==t&&u.has(t)},"markdownDownloadName",0,function(e){let t=s(e),n=a(t),r=n?t.slice(0,-(n.length+1)):t;return`${r||"document"}.md`}],66705)},78583,e=>{"use strict";let t=(0,e.i(75254).default)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],78583)},85369,e=>{"use strict";var t,n,r,o,i,u,a,s=function(){return(s=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 c(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}var l=("function"==typeof SuppressedError&&SuppressedError,e.i(71645)),f="right-scroll-bar-position",d="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?l.useLayoutEffect:l.useEffect,h=new WeakMap,v=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={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 i=function(){var n=t;t=[],n.forEach(e)},u=function(){return Promise.resolve().then(i)};u(),r={push:function(e){t.push(e),u()},filter:function(e){return t=t.filter(e),r}}}}).options=s({async:!0,ssr:!1},t),i),y=function(){},b=l.forwardRef(function(e,t){var n,r,o,i,u=l.useRef(null),a=l.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),f=a[0],d=a[1],b=e.forwardProps,g=e.children,E=e.className,w=e.removeScrollBar,S=e.enabled,C=e.shards,R=e.sideCar,O=e.noRelative,P=e.noIsolation,x=e.inert,k=e.allowPinchZoom,N=e.as,M=e.gapMode,L=c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=(n=[u,t],r=function(e){return n.forEach(function(t){return p(t,e)})},(o=(0,l.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,i=o.facade,m(function(){var e=h.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,o)})}h.set(i,n)},[n]),i),I=s(s({},L),f);return l.createElement(l.Fragment,null,S&&l.createElement(R,{sideCar:v,removeScrollBar:w,shards:C,noRelative:O,noIsolation:P,inert:x,setCallbacks:d,allowPinchZoom:!!k,lockRef:u,gapMode:M}),b?l.cloneElement(l.Children.only(g),s(s({},I),{ref:A})):l.createElement(void 0===N?"div":N,s({},I,{className:E,ref:A}),g))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:d,zeroRight:f};var g=function(e){var t=e.sideCar,n=c(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 l.createElement(r,s({},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=a||("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)}}},w=function(){var e=E();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},S=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},R=function(e){return parseInt(e||"",10)||0},O=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[R(n),R(r),R(o)]},P=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=O(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])}},x=S(),k="data-scroll-locked",N=function(e,t,n,r){var o=e.left,i=e.top,u=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(k,"] {\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(i,"px;\n padding-right: ").concat(u,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n }\n \n .").concat(f," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(d," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n right: 0 ").concat(r,";\n }\n \n .").concat(d," .").concat(d," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(k,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},M=function(){var e=parseInt(document.body.getAttribute(k)||"0",10);return isFinite(e)?e:0},L=function(){l.useEffect(function(){return document.body.setAttribute(k,(M()+1).toString()),function(){var e=M()-1;e<=0?document.body.removeAttribute(k):document.body.setAttribute(k,e.toString())}},[])},A=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=l.useMemo(function(){return P(o)},[o]);return l.createElement(x,{styles:N(i,!t,o,n?"":"!important")})},I=!1;if("u">typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return I=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){I=!1}var j=!!I&&{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])},F=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},_=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,o){var i,u=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=u*r,s=n.target,c=t.contains(s),l=!1,f=a>0,d=0,p=0;do{if(!s)break;var m=W(e,s),h=m[0],v=m[1]-m[2]-u*h;(h||v)&&_(e,s)&&(d+=v,p+=h);var y=s.parentNode;s=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return f&&(o&&1>Math.abs(d)||!o&&a>d)?l=!0:!f&&(o&&1>Math.abs(p)||!o&&-a>p)&&(l=!0),l},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},z=function(e){return[e.deltaX,e.deltaY]},U=function(e){return e&&"current"in e?e.current:e},H=0,V=[];let K=(u=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(H++)[0],i=l.useState(S)[0],u=l.useRef(e);l.useEffect(function(){u.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;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))})([e.lockRef.current],(e.shards||[]).map(U),!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 a=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=$(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],l=e.target,f=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===l.type)return!1;var d=window.getSelection(),p=d&&d.anchorNode;if(p&&(p===l||p.contains(l)))return!1;var m=F(f,l);if(!m)return!0;if(m?o=f:(o="v"===f?"h":"v",m=F(f,l)),!m)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=o),!o)return!0;var h=r.current||o;return B(h,t,e,"h"===h?s:c,!0)},[]),s=l.useCallback(function(e){if(V.length&&V[V.length-1]===i){var n="deltaY"in e?z(e):$(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}
1if(!r){var o=(u.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=l.useCallback(function(e,n,r,o){var i={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(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=l.useCallback(function(e){n.current=$(e),r.current=void 0},[]),d=l.useCallback(function(t){c(t.type,z(t),t.target,a(t,e.lockRef.current))},[]),p=l.useCallback(function(t){c(t.type,$(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return V.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",s,j),document.addEventListener("touchmove",s,j),document.addEventListener("touchstart",f,j),function(){V=V.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,j),document.removeEventListener("touchmove",s,j),document.removeEventListener("touchstart",f,j)}},[]);var m=e.removeScrollBar,h=e.inert;return l.createElement(l.Fragment,null,h?l.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?l.createElement(A,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(u),g);var X=l.forwardRef(function(e,t){return l.createElement(b,s({},e,{ref:t,sideCar:K}))});X.classNames=b.classNames,e.s(["RemoveScroll",0,X],85369)}]);
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.