1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6861],{826:(e,t,n)=>{n.d(t,{D:()=>r});var r=!1},10797:(e,t,n)=>{n.d(t,{i:()=>m});var r=n(7620),o=n.t(r,2),l=n(826),i=n(77514),u=Object.defineProperty,c=o[" useEffectEvent ".trim().toString()],a=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 a?a(()=>{t.current=e}):(0,i.N)(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}u(s,"name",{value:"useEffectEvent",configurable:!0});var f=Object.defineProperty,d=(e,t)=>f(e,"name",{value:t,configurable:!0}),p=o[" useInsertionEffect ".trim().toString()]||i.N;function m({prop:e,defaultProp:t,onChange:n=d(()=>{},"onChange"),caller:o}){let[i,u,c]=h({defaultProp:t,onChange:n}),a=void 0!==e,s=a?e:i;if(l.D){let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"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=a},[a,o])}return[s,r.useCallback(t=>{if(a){let n=v(t)?t(e):t;n!==e&&c.current?.(n)}else u(t)},[a,e,u,c])]}function h({defaultProp:e,onChange:t}){let[n,o]=r.useState(e),l=r.useRef(n),i=r.useRef(t);return p(()=>{i.current=t},[t]),r.useEffect(()=>{l.current!==n&&(i.current?.(n),l.current=n)},[n,l]),[n,o,i]}function v(e){return"function"==typeof e}d(m,"useControllableState"),d(h,"useUncontrolledState"),d(v,"isFunction");var b=Symbol("RADIX:SYNC_STATE");d(function(e,t,n,o){let{prop:i,defaultProp:u,onChange:c,caller:a}=t,f=void 0!==i,d=s(c);if(l.D){let e=r.useRef(void 0!==i);r.useEffect(()=>{let t=e.current;if(t!==f){let e=f?"controlled":"uncontrolled";console.warn(`${a} 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=f},[f,a])}let p=[{...n,state:u}];o&&p.push(o);let[m,h]=r.useReducer((t,n)=>{if(n.type===b)return{...t,state:n.state};let r=e(t,n);return f&&!Object.is(r.state,t.state)&&d(r.state),r},...p),v=m.state,y=r.useRef(v);r.useEffect(()=>{y.current!==v&&(y.current=v,f||d(v))},[v,y,f]);let g=r.useMemo(()=>void 0!==i?{...m,state:i}:m,[m,i]);return r.useEffect(()=>{f&&!Object.is(i,m.state)&&h({type:b,state:i})},[i,m.state,f]),[g,h]},"useControllableStateReducer")},18107:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(7620),o=n(54568),l=Object.defineProperty,i=(e,t)=>l(e,"name",{value:t,configurable:!0});function u(e,t=[]){let n=[];function l(t,l){let u=r.createContext(l);u.displayName=t+"Context";let c=n.length;n=[...n,l];let a=i(t=>{let{scope:n,children:l,...i}=t,a=n?.[e]?.[c]||u,s=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(a.Provider,{value:s,children:l})},"Provider");function s(n,o,i={}){let{optional:a=!1}=i,f=o?.[e]?.[c]||u,d=r.useContext(f);if(d)return d;if(void 0!==l)return l;if(!a)throw Error(`\`${n}\` must be used within \`${t}\``)}return a.displayName=t+"Provider",i(s,"useContext"),[a,s]}i(l,"createContext");let a=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 a.scopeName=e,[l,c(a,...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 l=i(e=>{let{children:t,...l}=e,i=r.useMemo(()=>l,Object.values(l));return(0,o.jsx)(n.Provider,{value:i,children:t})},"Provider");function u(o,l={}){let{optional:i=!1}=l,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 l.displayName=e+"Provider",i(u,"useContext"),[l,u]},"createContext"),i(u,"createContextScope"),i(c,"composeContextScopes")},46118:(e,t,n)=>{n.d(t,{DX:()=>a,Dc:()=>f,TL:()=>c});var r,o=n(7620),l=n(61715),i=Object.defineProperty,u=(e,t)=>
1i(e,"name",{value:t,configurable:!0});function c(e){let t=o.forwardRef((t,n)=>{let{children:r,...i}=t,u=null,c=!1,a=[];b(r)&&"function"==typeof w&&(r=w(r._payload)),o.Children.forEach(r,e=>{if(h(e)){c=!0;let t="child"in e.props?e.props.child:e.props.children;b(t)&&"function"==typeof w&&(t=w(t._payload)),u=d(e,t),a.push(u?.props?.children)}else a.push(e)}),u?u=o.cloneElement(u,void 0,a):!c&&1===o.Children.count(r)&&o.isValidElement(r)&&(u=r);let s=u?m(u):void 0,f=(0,l.s)(n,s);if(!u){if(r||0===r)throw Error(c?E(e):g(e));return r}let v=p(i,u.props??{});return u.type!==o.Fragment&&(v.ref=n?f:s),o.cloneElement(u,v)});return t.displayName=`${e}.Slot`,t}u(c,"createSlot");var a=c("Slot"),s=Symbol.for("radix.slottable");function f(e){let t=u(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=s,t}u(f,"createSlottable");var d=u((e,t)=>{if("child"in e.props){let t=e.props.child;return o.isValidElement(t)?o.cloneElement(t,void 0,e.props.children(t.props.children)):null}return o.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function p(e,t){let n={...t};for(let r in t){let o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{let t=l(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}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}function h(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}u(p,"mergeProps"),u(m,"getElementRef"),u(h,"isSlottable");var v=Symbol.for("react.lazy");function b(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===v&&"_payload"in e&&y(e._payload)}function y(e){return"object"==typeof e&&null!==e&&"then"in e}u(b,"isLazyComponent"),u(y,"isPromiseLike");var g=u(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),E=u(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),w=(r||(r=n.t(o,2)))[" use ".trim().toString()]},47231:(e,t,n)=>{n.d(t,{mK:()=>i});var r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0}),l=!!("undefined"!=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 u(e){if(!l)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(!l)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),o(u,"getOwnerDocument"),o(function e(t,n=!1){let{activeElement:r}=u(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=u(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),o(c,"isFrame")},60421:(e,t,n)=>{n.d(t,{hO:()=>a,sG:()=>c});var r=n(7620),o=n(97509),l=n(46118),i=n(54568),u=Object.defineProperty,c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,l.TL)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?n:t,{...l,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function a(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}u(a,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0})},61715:(e,t,n)=>{n.d(t,{s:()=>c});var r=n(7620),o=Object.defineProperty,l=(e,t)=>o(e,"name",{value:t,configurable:!0});function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(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():i(e[t],null)}}}}function c(...e){return r.useCallback(u(...e),e)}l(i,"setRef"),l(u,"composeRefs"),l(c,"useComposedRefs")}
1,77514:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(7620),o=globalThis?.document?r.useLayoutEffect:()=>{}}}]);
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.