"use strict";exports.id=1726,exports.ids=[1726],exports.modules={43:(e,t,r)=>{r.d(t,{jH:()=>u});var n=r(43210);r(60687);var o=n.createContext(void 0);function u(e){let t=n.useContext(o);return e||t||"ltr"}},9510:(e,t,r)=>{r.d(t,{N:()=>c});var n=r(43210),o=r(11273),u=r(98599),l=r(8730),i=r(60687);function c(e){let t=e+"CollectionProvider",[r,c]=(0,o.A)(t),[f,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,o=n.useRef(null),u=n.useRef(new Map).current;return(0,i.jsx)(f,{scope:t,itemMap:u,collectionRef:o,children:r})};s.displayName=t;let d=e+"CollectionSlot",m=(0,l.TL)(d),p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=a(d,r),l=(0,u.s)(t,o.collectionRef);return(0,i.jsx)(m,{ref:l,children:n})});p.displayName=d;let v=e+"CollectionItemSlot",w="data-radix-collection-item",y=(0,l.TL)(v),x=n.forwardRef((e,t)=>{let{scope:r,children:o,...l}=e,c=n.useRef(null),f=(0,u.s)(t,c),s=a(v,r);return n.useEffect(()=>(s.itemMap.set(c,{ref:c,...l}),()=>void s.itemMap.delete(c))),(0,i.jsx)(y,{...{[w]:""},ref:f,children:o})});return x.displayName=v,[{Provider:s,Slot:p,ItemSlot:x},function(t){let r=a(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${w}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},c]}var f=new WeakMap;function a(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=s(t),o=n>=0?n:r+n;return o<0||o>=r?-1:o}(e,t);return -1===r?void 0:e[r]}function s(e){return e!=e||0===e?0:Math.trunc(e)}},11273:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(43210),o=r(60687);function u(e,t=[]){let r=[],l=()=>{let t=r.map(e=>n.createContext(e));return function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return l.scopeName=e,[function(t,u){let l=n.createContext(u),i=r.length;r=[...r,u];let c=t=>{let{scope:r,children:u,...c}=t,f=r?.[e]?.[i]||l,a=n.useMemo(()=>c,Object.values(c));return(0,o.jsx)(f.Provider,{value:a,children:u})};return c.displayName=t+"Provider",[c,function(r,o){let c=o?.[e]?.[i]||l,f=n.useContext(c);if(f)return f;if(void 0!==u)return u;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}(l,...t)]}},13495:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(43210);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},14163:(e,t,r)=>{r.d(t,{hO:()=>c,sG:()=>i});var n=r(43210),o=r(51215),u=r(8730),l=r(60687),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,u.TL)(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:o,...u}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(o?r:t,{...u,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function c(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},65551:(e,t,r)=>{r.d(t,{i:()=>i});var n,o=r(43210),u=r(66156),l=(n||(n=r.t(o,2)))[" useInsertionEffect ".trim().toString()]||u.N;function i({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[u,i,c]=function({defaultProp:e,onChange:t}){let[r,n]=o.useState(e),u=o.useRef(r),i=o.useRef(t);return l(()=>{i.current=t},[t]),o.useEffect(()=>{u.current!==r&&(i.current?.(r),u.current=r)},[r,u]),[r,n,i]}({defaultProp:t,onChange:r}),f=void 0!==e,a=f?e:u;{let t=o.useRef(void 0!==e);o.useEffect(()=>{let e=t.current;if(e!==f){let t=f?"controlled":"uncontrolled";console.warn(`${n} 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=f},[f,n])}return[a,o.useCallback(t=>{if(f){let r="function"==typeof t?t(e):t;r!==e&&c.current?.(r)}else i(t)},[f,e,i,c])]}Symbol("RADIX:SYNC_STATE")},66156:(e,t,r)=>{r.d(t,{N:()=>o});var n=r(43210),o=globalThis?.document?n.useLayoutEffect:()=>{}},70569:(e,t,r)=>{r.d(t,{mK:()=>o});var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}},96963:(e,t,r)=>{r.d(t,{B:()=>c});var n,o=r(43210),u=r(66156),l=(n||(n=r.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),i=0;function c(e){let[t,r]=o.useState(l());return(0,u.N)(()=>{e||r(e=>e??String(i++))},[e]),e||(t?`radix-${t}`:"")}}};