1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7978],{2227:(e,t,n)=>{n.d(t,{n:()=>m});var r=n(12115),o=n(99817),u=n(72331),i=n(16741),a=n(95155),c=Object.defineProperty,l=(e,t)=>c(e,"name",{value:t,configurable:!0}),s="focusScope.autoFocusOnMount",d="focusScope.autoFocusOnUnmount",f={bubbles:!1,cancelable:!0},m=r.forwardRef(l(function(e,t){let{loop:n=!1,trapped:c=!1,onMountAutoFocus:m,onUnmountAutoFocus:y,...b}=e,[g,C]=r.useState(null),S=(0,i.c)(m),O=(0,i.c)(y),P=r.useRef(null),R=(0,o.s)(t,C),L=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(c){let e=function(e){if(L.paused||!g)return;let t=e.target;g.contains(t)?P.current=t:E(P.current,{select:!0})},t=function(e){if(L.paused||!g)return;let t=e.relatedTarget;null!==t&&(g.contains(t)||E(P.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&E(g)};l(e,"handleFocusIn"),l(t,"handleFocusOut"),l(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return g&&r.observe(g,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[c,g,L.paused]),r.useEffect(()=>{if(g){w.add(L);let e=document.activeElement;if(!g.contains(e)){let t=new CustomEvent(s,f);g.addEventListener(s,S),g.dispatchEvent(t),t.defaultPrevented||(v(N(h(g)),{select:!0}),document.activeElement===e&&E(g))}return()=>{g.removeEventListener(s,S),setTimeout(()=>{let t=new CustomEvent(d,f);g.addEventListener(d,O),g.dispatchEvent(t),t.defaultPrevented||E(e??document.body,{select:!0}),g.removeEventListener(d,O),w.remove(L)},0)}}},[g,S,O,L]);let T=r.useCallback(e=>{if(!n&&!c||L.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,u]=p(t);o&&u?e.shiftKey||r!==u?e.shiftKey&&r===o&&(e.preventDefault(),n&&E(u,{select:!0})):(e.preventDefault(),n&&E(o,{select:!0})):r===t&&e.preventDefault()}},[n,c,L.paused]);return(0,a.jsx)(u.sG.div,{tabIndex:-1,...b,ref:R,onKeyDown:T})},"FocusScope"));function v(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(E(r,{select:t}),document.activeElement!==n)return}function p(e){let t=h(e);return[y(t,e),y(t.reverse(),e)]}function h(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:l(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 y(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):b(r,{upTo:t})))return r}function b(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 g(e){return e instanceof HTMLInputElement&&"select"in e}function E(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&g(e)&&t&&e.select()}}l(v,"focusFirst"),l(p,"getTabbableEdges"),l(h,"getTabbableCandidates"),l(y,"findVisible"),l(b,"isHidden"),l(g,"isSelectableInput"),l(E,"focus");var w=C();function C(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),(e=S(e,t)).unshift(t)},remove(t){e=S(e,t),e[0]?.resume()}}}function S(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function N(e){return e.filter(e=>"A"!==e.tagName)}l(C,"createFocusScopesStack"),l(S,"arrayRemove"),l(N,"removeLinks")},5421:(e,t,n)=>{n.d(t,{Cg:()=>u,Cl:()=>r,Tt:()=>o,fX:()=>i});var r=function(){return(r=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 o(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}function u(e,t,n,r){var o,u=arguments.length,i=u<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(u<3?o(i):u>3?o(t,n,i):o(t,n))||i);return u>3&&i&&Object.defineProperty(t,n,i),i}function i(e,t,n){if(n||2==arguments.length)for(var r,o=0,u=t.length;o<u;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))}"function"==typeof SuppressedError&&SuppressedError},8381:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(12115),o=n(95155),u=Object.defineProperty,i=(e,t)=>u(e,"name",{value:t,configurable:!0});function a(e,t=[]){let n=[];function u(t,u){let a=r.createContext(u);a.displayName=t+"Context";let c=n.length;n=[...n,u];let l=i(t=>{let{scope:n,children:u,...i}=t,l=n?.[e]?.[c]||a,s=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(l.Provider,{value:s,children:u})},"Provider");function s(n,o,i={}){let{optional:l=!1}=i,d=o?.[e]?.[c]||a,f=r.useContext(d);if(f)return f;if(void 0!==u)return u;if(!l)throw Error(`\`${n}\` must be used within \`${t}\``)}return l.displayName=t+"Provider",i(s,"useContext"),[l,s]}i(u,"createContext");let l=i(()=>{let t=n.map(e=>r.createContext(e));return i(function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])},"useScope")},"createScope");return l.scopeName=e,[u,c(l,...t)]}function c(...e){let t=e[0];if(1===e.length)return t;let n=i(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return i(function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}i(function(e,t){let n=r.createContext(t);n.displayName=e+"Context";let u=i(e=>{let{children:t,...u}=e,i=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(n.Provider,{value:i,children:t})},"Provider");function a(o,u={}){let{optional:i=!1}=u,c=r.useContext(n);if(c)return c;if(void 0!==t)return t;if(!i)throw Error(`\`${o}\` must be used within \`${e}\``)}return u.displayName=e+"Provider",i(a,"useContext"),[u,a]},"createContext"),i(a,"createContextScope"),i(c,"composeContextScopes")},16741:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(12115);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}(0,Object.defineProperty)(o,"name",{value:"useCallbackRef",configurable:!0})}
1,22954:(e,t,n)=>{n.d(t,{Eq:()=>l});var r=new WeakMap,o=new WeakMap,u={},i=0,a=function(e){return e&&(e.host||a(e.parentNode))},c=function(e,t,n,c){var l=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=a(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});u[n]||(u[n]=new WeakMap);var s=u[n],d=[],f=new Set,m=new Set(l),v=function(e){!e||f.has(e)||(f.add(e),v(e.parentNode))};l.forEach(v);var p=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))p(e);else try{var t=e.getAttribute(c),u=null!==t&&"false"!==t,i=(r.get(e)||0)+1,a=(s.get(e)||0)+1;r.set(e,i),s.set(e,a),d.push(e),1===i&&u&&o.set(e,!0),1===a&&e.setAttribute(n,"true"),u||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return p(t),f.clear(),i++,function(){d.forEach(function(e){var t=r.get(e)-1,u=s.get(e)-1;r.set(e,t),s.set(e,u),t||(o.has(e)||e.removeAttribute(c),o.delete(e)),u||e.removeAttribute(n)}),--i||(r=new WeakMap,r=new WeakMap,o=new WeakMap,u={})}},l=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"))),c(r,o,n,"aria-hidden")):function(){return null}}},34574:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(12115),o=n(47650),u=n(72331),i=n(35428),a=n(95155),c=Object.defineProperty,l=r.forwardRef(c(function(e,t){let{container:n,...c}=e,[l,s]=r.useState(!1);(0,i.N)(()=>s(!0),[]);let d=n||l&&globalThis?.document?.body;return d?o.createPortal((0,a.jsx)(u.sG.div,{...c,ref:t}),d):null},"name",{value:"Portal",configurable:!0}))}
1,35428:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(12115),o=globalThis?.document?r.useLayoutEffect:()=>{}},42525:(e,t,n)=>{n.d(t,{mK:()=>i});var r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0}),u=!!("u">typeof window&&window.document&&window.document.createElement);function i(e,t,{checkForDefaultPrevented:n=!0}={}){return o(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function a(e){if(!u)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function c(e){return"IFRAME"===e.tagName}o(i,"composeEventHandlers"),o(function(e){if(!u)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),o(a,"getOwnerDocument"),o(function e(t,n=!1){let{activeElement:r}=a(t);if(!r?.nodeName)return null;if(c(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=a(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),o(c,"isFrame")},48329:(e,t,n)=>{n.d(t,{Oh:()=>c});var r=n(12115),o=Object.defineProperty,u=(e,t)=>o(e,"name",{value:t,configurable:!0}),i=0,a=null;function c(){r.useEffect(()=>{a||(a={start:l(),end:l()});let{start:e,end:t}=a;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),i++,()=>{1===i&&(a?.start.remove(),a?.end.remove(),a=null),i=Math.max(0,i-1)}},[])}function l(){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}u(function(e){return c(),e.children},"FocusGuards"),u(c,"useFocusGuards"),u(l,"createFocusGuard")},50856:(e,t,n)=>{n.d(t,{D:()=>r});var r=!1},51920:(e,t,n)=>{n.d(t,{i:()=>v});var r=n(12115),o=n.t(r,2),u=n(50856),i=n(35428),a=Object.defineProperty,c=o[" useEffectEvent ".trim().toString()],l=o[" useInsertionEffect ".trim().toString()];function s(e){if("function"==typeof c)return c(e);let t=r.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof l?l(()=>{t.current=e}):(0,i.N)(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}a(s,"name",{value:"useEffectEvent",configurable:!0});var d=Object.defineProperty,f=(e,t)=>d(e,"name",{value:t,configurable:!0}),m=o[" useInsertionEffect ".trim().toString()]||i.N;function v({prop:e,defaultProp:t,onChange:n=f(()=>{},"onChange"),caller:o}){let[i,a,c]=p({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:i;if(u.D){let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${o} 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.`)}t.current=l},[l,o])}return[s,r.useCallback(t=>{if(l){let n=h(t)?t(e):t;n!==e&&c.current?.(n)}else a(t)},[l,e,a,c])]}function p({defaultProp:e,onChange:t}){let[n,o]=r.useState(e),u=r.useRef(n),i=r.useRef(t);return m(()=>{i.current=t},[t]),r.useEffect(()=>{u.current!==n&&(i.current?.(n),u.current=n)},[n,u]),[n,o,i]}function h(e){return"function"==typeof e}f(v,"useControllableState"),f(p,"useUncontrolledState"),f(h,"isFunction");var y=Symbol("RADIX:SYNC_STATE");f(function(e,t,n,o){let{prop:i,defaultProp:a,onChange:c,caller:l}=t,d=void 0!==i,f=s(c);if(u.D){let e=r.useRef(void 0!==i);r.useEffect(()=>{let t=e.current;if(t!==d){let e=d?"controlled":"uncontrolled";console.warn(`${l} is changing from ${t?"controlled":"uncontrolled"} to ${e}. 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.`)}e.current=d},[d,l])}let m=[{...n,state:a}];o&&m.push(o);let[v,p]=r.useReducer((t,n)=>{if(n.type===y)return{...t,state:n.state};let r=e(t,n);return d&&!Object.is(r.state,t.state)&&f(r.state),r},...m),h=v.state,b=r.useRef(h);r.useEffect(()=>{b.current!==h&&(b.current=h,d||f(h))},[h,b,d]);let g=r.useMemo(()=>void 0!==i?{...v,state:i}
1:v,[v,i]);return r.useEffect(()=>{d&&!Object.is(i,v.state)&&p({type:y,state:i})},[i,v.state,d]),[g,p]},"useControllableStateReducer")},60078:(e,t,n)=>{n.d(t,{e0:()=>p,qW:()=>v});var r,o=n(12115),u=n(42525),i=n(72331),a=n(99817),c=n(16741),l=n(95155),s=Object.defineProperty,d=(e,t)=>s(e,"name",{value:t,configurable:!0}),f="dismissableLayer.update",m=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),v=o.forwardRef(d(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:v,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:E,onDismiss:w,...C}=e,S=o.useContext(m),[N,O]=o.useState(null),P=N?.ownerDocument??globalThis?.document,[,R]=o.useState({}),L=(0,a.s)(t,O),T=Array.from(S.layers),[M]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),k=M?T.indexOf(M):-1,A=N?T.indexOf(N):-1,D=S.layersWithOutsidePointerEventsDisabled.size>0,x=A>=k,I=o.useRef(!1),j=y(e=>{p?.(e),E?.(e),e.defaultPrevented||w?.()},{ownerDocument:P,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:I,dismissableSurfaces:S.dismissableSurfaces,shouldHandlePointerDownOutside:o.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...S.branches].some(t=>t.contains(e));return x&&!t},[S.branches,x])}),F=b(e=>{if(s&&I.current)return;let t=e.target;![...S.branches].some(e=>e.contains(t))&&(h?.(e),E?.(e),e.defaultPrevented||w?.())},P),W=!!N&&A===T.length-1,_=(0,c.c)(e=>{"Escape"===e.key&&(v?.(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))});return o.useEffect(()=>{if(W)return P.addEventListener("keydown",_,{capture:!0}),()=>P.removeEventListener("keydown",_,{capture:!0})},[P,W,_]),o.useEffect(()=>{if(N)return n&&(0===S.layersWithOutsidePointerEventsDisabled.size&&(r=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(N)),S.layers.add(N),g(),()=>{n&&(S.layersWithOutsidePointerEventsDisabled.delete(N),0===S.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=r))}},[N,P,n,S]),o.useEffect(()=>()=>{N&&(S.layers.delete(N),S.layersWithOutsidePointerEventsDisabled.delete(N),g())},[N,S]),o.useEffect(()=>{let e=d(()=>R({}),"handleUpdate");return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,l.jsx)(i.sG.div,{...C,ref:L,style:{pointerEvents:D?x?"auto":"none":void 0,...e.style},onFocusCapture:(0,u.mK)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,u.mK)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,u.mK)(e.onPointerDownCapture,j.onPointerDownCapture)})},"DismissableLayer"));function p(){let e=o.useContext(m),[t,n]=o.useState(null);return o.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}d(p,"useDismissableLayerSurface");var h=d(()=>!0,"IS_TRUE");function y(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:u,dismissableSurfaces:i,shouldHandlePointerDownOutside:a=h}=t,l=(0,c.c)(e),s=o.useRef(!1),f=o.useRef(!1),m=o.useRef(new Map),v=o.useRef(()=>{});return o.useEffect(()=>{function e(){f.current=!1,u.current=!1,m.current.clear()}function t(){return Array.from(m.current.values()).some(Boolean)}function o(e){if(!f.current)return;let t=e.target;t instanceof Node&&[...i].some(e=>e.contains(t))||m.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{f.current&&v.current()},0)}function c(e){f.current&&m.current.set(e.type,!1)}d(e,"resetOutsideInteraction"),d(t,"isOutsideInteractionIntercepted"),d(o,"handleInteractionCapture"),d(c,"handleInteractionBubble");let p=d(o=>{if(o.target&&!s.current){let i=function(){n.removeEventListener("click",v.current);let r=t();e(),r||E("dismissableLayer.pointerDownOutside",l,c,{discrete:!0})};if(d(i,"handleAndDispatchPointerDownOutsideEvent"),!a(o.target)){n.removeEventListener("click",v.current),e(),s.current=!1;return}let c={originalEvent:o};f.current=!0,u.current=r&&0===o.button,m.current.clear(),r&&0===o.button?(n.removeEventListener("click",v.current),v.current=i,n.addEventListener("click",v.current,{once:!0})):i()}
1else n.removeEventListener("click",v.current),e();s.current=!1},"handlePointerDown"),h=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of h)n.addEventListener(e,o,!0),n.addEventListener(e,c);let y=window.setTimeout(()=>{n.addEventListener("pointerdown",p)},0);return()=>{for(let e of(window.clearTimeout(y),n.removeEventListener("pointerdown",p),n.removeEventListener("click",v.current),h))n.removeEventListener(e,o,!0),n.removeEventListener(e,c)}},[n,l,r,u,i,a]),{onPointerDownCapture:d(()=>s.current=!0,"onPointerDownCapture")}}function b(e,t=globalThis?.document){let n=(0,c.c)(e),r=o.useRef(!1);return o.useEffect(()=>{let e=d(e=>{e.target&&!r.current&&E("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:d(()=>r.current=!0,"onFocusCapture"),onBlurCapture:d(()=>r.current=!1,"onBlurCapture")}}function g(){let e=new CustomEvent(f);document.dispatchEvent(e)}function E(e,t,n,{discrete:r}){let o=n.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.hO)(o,u):o.dispatchEvent(u)}d(y,"usePointerDownOutside"),d(b,"useFocusOutside"),d(g,"dispatchUpdate"),d(E,"handleAndDispatchCustomEvent")},70805:(e,t,n)=>{n.d(t,{C:()=>c});var r=n(12115),o=n(35428),u=Object.defineProperty,i=(e,t)=>u(e,"name",{value:t,configurable:!0});function a(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}i(a,"useStateMachine");var c=i(e=>{let{present:t,children:n}=e,o=l(t),u="function"==typeof n?n({present:o.isPresent}):r.Children.only(n),i=d(o.ref,m(u));return"function"==typeof n||o.isPresent?r.cloneElement(u,{ref:i}):null},"Presence");function l(e){let[t,n]=r.useState(),u=r.useRef(null),c=r.useRef(e),l=r.useRef("none"),s=r.useRef(void 0),[d,m]=a(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{"mounted"===d?(l.current=s.current??f(u.current),s.current=void 0):l.current="none"},[d]),(0,o.N)(()=>{let t=u.current,n=c.current;if(n!==e){let r=l.current,o=f(t);e?(s.current=o,m("MOUNT")):"none"===o||t?.display==="none"?m("UNMOUNT"):n&&r!==o?m("ANIMATION_OUT"):m("UNMOUNT"),c.current=e}},[e,m]),(0,o.N)(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,r=i(r=>{let o=f(u.current).includes(CSS.escape(r.animationName));if(r.target===t&&o&&(m("ANIMATION_END"),!c.current)){let r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},"handleAnimationEnd"),o=i(e=>{e.target===t&&(l.current=f(u.current))},"handleAnimationStart");return t.addEventListener("animationstart",o),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",o),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{if(e){let t=getComputedStyle(e);u.current=t,s.current=f(t)}else u.current=null;n(e)},[])}}function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function d(...e){let t=r.useRef(e);return t.current=e,r.useCallback(e=>{let n=t.current,r=!1,o=n.map(t=>{let n=s(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let t=o[e];"function"==typeof t?t():s(n[e],null)}}},[])}function f(e){return e?.animationName||"none"}function m(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}i(l,"usePresence"),i(s,"setRef"),i(d,"useStableComposedRefs"),i(f,"getAnimationName"),i(m,"getElementRef")},72331:(e,t,n)=>{n.d(t,{hO:()=>l,sG:()=>c});var r=n(12115),o=n(47650),u=n(85792),i=n(95155),a=Object.defineProperty,c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let n=(0,u.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...u}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?n:t,{...u,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}a(l,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0})},78919:(e,t,n)=>{n.d(t,{A:()=>z});var r,o,u,i,a,c,l,s=n(5421),d=n(12115),f="right-scroll-bar-position",m="width-before-scroll-bar";function v(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var p="u">typeof window?d.useLayoutEffect:d.useEffect,h=new WeakMap,y=(void 0===r&&(r={}),(void 0===o&&(o=function(e){return e}),u=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return u.length?u[u.length-1]:null},useMedium:function(e){var t=o(e,i);return u.push(t),function(){u=u.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;u.length;){var t=u;u=[],t.forEach(e)}u={push:function(t){return e(t)},filter:function(){return u}}},assignMedium:function(e){i=!0;var t=[];if(u.length){var n=u;u=[],n.forEach(e),t=u}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),u={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),u}}}}).options=(0,s.Cl)({async:!0,ssr:!1},r),a),b=function(){},g=d.forwardRef(function(e,t){var n,r,o,u,i=d.useRef(null),a=d.useState({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:b}),c=a[0],l=a[1],f=e.forwardProps,m=e.children,g=e.className,E=e.removeScrollBar,w=e.enabled,C=e.shards,S=e.sideCar,N=e.noRelative,O=e.noIsolation,P=e.inert,R=e.allowPinchZoom,L=e.as,T=e.gapMode,M=(0,s.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=(n=[i,t],r=function(e){return n.forEach(function(t){return v(t,e)})},(o=(0,d.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,u=o.facade,p(function(){var e=h.get(u);if(e){var t=new Set(e),r=new Set(n),o=u.current;t.forEach(function(e){r.has(e)||v(e,null)}),r.forEach(function(e){t.has(e)||v(e,o)})}h.set(u,n)},[n]),u),A=(0,s.Cl)((0,s.Cl)({},M),c);return d.createElement(d.Fragment,null,w&&d.createElement(S,{sideCar:y,removeScrollBar:E,shards:C,noRelative:N,noIsolation:O,inert:P,setCallbacks:l,allowPinchZoom:!!R,lockRef:i,gapMode:T}),f?d.cloneElement(d.Children.only(m),(0,s.Cl)((0,s.Cl)({},A),{ref:k})):d.createElement(void 0===L?"div":L,(0,s.Cl)({},A,{className:g,ref:k}),m))});g.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},g.classNames={fullWidth:m,zeroRight:f};var E=function(e){var t=e.sideCar,n=(0,s.Tt)(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 d.createElement(r,(0,s.Cl)({},n))};E.isSideCarExport=!0;var w=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=l||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,u;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),u=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(u)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},C=function(){var e=w();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},S=function(){var e=C();return function(t){return e(t.styles,t.dynamic),null}},N={left:0,top:0,right:0,gap:0},O=function(e){return parseInt(e||"",10)||0},P=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[O(n),O(r),O(o)]},R=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return N;var t=P(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])}},L=S(),T="data-scroll-locked",M=function(e,t,n,r){var o=e.left,u=e.top,i=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(T,"] {\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(u,"px;\n padding-right: ").concat(i,"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(m," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n right: 0 ").concat(r,";\n }\n \n .").concat(m," .").concat(m," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(T,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},k=function(){var e=parseInt(document.body.getAttribute(T)||"0",10);return isFinite(e)?e:0},A=function(){d.useEffect(function(){return document.body.setAttribute(T,(k()+1).toString()),function(){var e=k()-1;e<=0?document.body.removeAttribute(T):document.body.setAttribute(T,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;A();var u=d.useMemo(function(){return R(o)},[o]);return d.createElement(L,{styles:M(u,!t,o,n?"":"!important")})},x=!1;if("u">typeof window)try{var I=Object.defineProperty({},"passive",{get:function(){return x=!0,!0}});window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){x=!1}var j=!!x&&{passive:!1},F=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])},W=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),_(e,r)){var o=U(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?F(t,"overflowY"):F(t,"overflowX")},U=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 u,i=(u=window.getComputedStyle(t).direction,"h"===e&&"rtl"===u?-1:1),a=i*r,c=n.target,l=t.contains(c),s=!1,d=a>0,f=0,m=0;do{if(!c)break;var v=U(e,c),p=v[0],h=v[1]-v[2]-i*p;(p||h)&&_(e,c)&&(f+=h,m+=p);var y=c.parentNode;c=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&a>f)?s=!0:!d&&(o&&1>Math.abs(m)||!o&&-a>m)&&(s=!0),s},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},K=function(e){return[e.deltaX,e.deltaY]},X=function(e){return e&&"current"in e?e.current:e},G=0,V=[];let Y=(c=function(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),o=d.useState(G++)[0],u=d.useState(S)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,s.fX)([e.lockRef.current],(e.shards||[]).map(X),!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=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var o,u=$(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-u[0],l="deltaY"in e?e.deltaY:a[1]-u[1],s=e.target,d=Math.abs(c)>Math.abs(l)?"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 v=W(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=W(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(c||l)&&(r.current=o),!o)return!0;var p=r.current||o;return B(p,t,e,"h"===p?c:l,!0)},[]),c=d.useCallback(function(e){if(V.length&&V[V.length-1]===u){var n="deltaY"in e?K(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}if(!r){var o=(i.current.shards||[]).map(X).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=d.useCallback(function(e,n,r,o){var u={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(u),setTimeout(function(){t.current=t.current.filter(function(e){return e!==u})},1)},[]),f=d.useCallback(function(e){n.current=$(e),r.current=void 0},[]),m=d.useCallback(function(t){l(t.type,K(t),t.target,a(t,e.lockRef.current))},[]),v=d.useCallback(function(t){l(t.type,$(t),t.target,a(t,e.lockRef.current))},[]);d.useEffect(function(){return V.push(u),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:v}),document.addEventListener("wheel",c,j),document.addEventListener("touchmove",c,j),document.addEventListener("touchstart",f,j),function(){V=V.filter(function(e){return e!==u}),document.removeEventListener("wheel",c,j),document.removeEventListener("touchmove",c,j),document.removeEventListener("touchstart",f,j)}},[]);var p=e.removeScrollBar,h=e.inert;return d.createElement(d.Fragment,null,h?d.createElement(u,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,p?d.createElement(D,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},y.useMedium(c),E);var H=d.forwardRef(function(e,t){return d.createElement(g,(0,s.Cl)({},e,{ref:t,sideCar:Y}))});H.classNames=g.classNames;let z=H},92920:(e,t,n)=>{n.d(t,{c:()=>u});var r=n(5552);function o(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let u=o(0,r.c3);o(0,r.kc)},98313:(e,t,n)=>{n.d(t,{B:()=>l});var r,o=n(12115),u=n(35428),i=Object.defineProperty,a=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),c=0;function l(e){let[t,n]=o.useState(a());return(0,u.N)(()=>{e||n(e=>e??String(c++))},[e]),e||(t?`radix-${t}`:"")}i(l,"name",{value:"useId",configurable:!0})}}]);
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.