lizaui 3.0.13 → 3.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@
42
42
 
43
43
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
44
44
 
45
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{if(e){const r=document.getElementById(e)}},[n,e]),null},_i="DialogDescriptionWarning",zi=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${uo(_i).contentName}}.`;return l.useEffect(()=>{var o;const s=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");if(t&&s){const i=document.getElementById(t)}},[r,e,t]),null},fo=Yr,po=Jr,mo=eo,go=to,vo=no,ho=oo,xo=ao,bn=lo;function Oi({...e}){return m.jsxRuntimeExports.jsx(fo,{"data-slot":"dialog",...e})}function ki({...e}){return m.jsxRuntimeExports.jsx(po,{"data-slot":"dialog-trigger",...e})}function yo({...e}){return m.jsxRuntimeExports.jsx(mo,{"data-slot":"dialog-portal",...e})}function Li({...e}){return m.jsxRuntimeExports.jsx(bn,{"data-slot":"dialog-close",...e})}function bo({className:e,...t}){return m.jsxRuntimeExports.jsx(go,{"data-slot":"dialog-overlay",className:ce.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}const $i=l.forwardRef(({className:e,children:t,showCloseButton:n=!0,...r},s)=>m.jsxRuntimeExports.jsx(fs.AnimatePresence,{children:m.jsxRuntimeExports.jsxs(yo,{"data-slot":"dialog-portal",children:[m.jsxRuntimeExports.jsx(bo,{}),m.jsxRuntimeExports.jsxs(vo,{"data-slot":"dialog-content",ref:s,className:ce.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg p-6 shadow-lg duration-200 sm:max-w-lg",e),...r,children:[t,n&&m.jsxRuntimeExports.jsxs(bn,{"data-slot":"dialog-close",className:"cursor-pointer ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[m.jsxRuntimeExports.jsx(Ya,{}),m.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}));function Hi({className:e,...t}){return m.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:ce.cn("flex flex-col gap-2 text-center sm:text-left",e),...t})}function Bi({className:e,...t}){return m.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:ce.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function Fi({className:e,...t}){return m.jsxRuntimeExports.jsx(ho,{"data-slot":"dialog-title",className:ce.cn("text-lg leading-none font-semibold",e),...t})}function Wi({className:e,...t}){return m.jsxRuntimeExports.jsx(xo,{"data-slot":"dialog-description",className:ce.cn("text-muted-foreground text-sm",e),...t})}function wo(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Eo=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"}),Vi="VisuallyHidden",So=l.forwardRef((e,t)=>m.jsxRuntimeExports.jsx(ee.span,{...e,ref:t,style:{...Eo,...e.style}}));So.displayName=Vi;var Ui=So;function Jt(e,[t,n]){return Math.min(n,Math.max(t,e))}var Gi=[" ","Enter","ArrowUp","ArrowDown"],Ki=[" ","Enter"],Fe="Select",[Dt,_t,qi]=Qn(Fe),[Je,ql]=st(Fe,[qi,cn]),zt=cn(),[Xi,Te]=Je(Fe),[Yi,Zi]=Je(Fe),Co=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:s,onOpenChange:o,value:i,defaultValue:a,onValueChange:c,dir:u,name:g,autoComplete:p,disabled:f,required:x,form:b}=e,d=zt(t),[v,h]=l.useState(null),[y,w]=l.useState(null),[C,M]=l.useState(!1),N=er(u),[S,B]=ht({prop:r,defaultProp:s??!1,onChange:o,caller:Fe}),[O,W]=ht({prop:i,defaultProp:a,onChange:c,caller:Fe}),K=l.useRef(null),k=v?b||!!v.closest("form"):!0,[$,X]=l.useState(new Set),q=Array.from($).map(U=>U.props.value).join(";");return m.jsxRuntimeExports.jsx(mr,{...d,children:m.jsxRuntimeExports.jsxs(Xi,{required:x,scope:t,trigger:v,onTriggerChange:h,valueNode:y,onValueNodeChange:w,valueNodeHasChildren:C,onValueNodeHasChildrenChange:M,contentId:Le(),value:O,onValueChange:W,open:S,onOpenChange:B,dir:N,triggerPointerDownPosRef:K,disabled:f,children:[m.jsxRuntimeExports.jsx(Dt.Provider,{scope:t,children:m.jsxRuntimeExports.jsx(Yi,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(U=>{X(Z=>new Set(Z).add(U))},[]),onNativeOptionRemove:l.useCallback(U=>{X(Z=>{const Q=new Set(Z);return Q.delete(U),Q})},[]),children:n})}),k?m.jsxRuntimeExports.jsxs(Xo,{"aria-hidden":!0,required:x,tabIndex:-1,name:g,autoComplete:p,value:O,onChange:U=>W(U.target.value),disabled:f,form:b,children:[O===void 0?m.jsxRuntimeExports.jsx("option",{value:""}):null,Array.from($)]},q):null]})})};Co.displayName=Fe;var Ro="SelectTrigger",Po=l.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...s}=e,o=zt(n),i=Te(Ro,n),a=i.disabled||r,c=re.useComposedRefs(t,i.onTriggerChange),u=_t(n),g=l.useRef("touch"),[p,f,x]=Zo(d=>{const v=u().filter(w=>!w.disabled),h=v.find(w=>w.value===i.value),y=Jo(v,d,h);y!==void 0&&i.onValueChange(y.value)}),b=d=>{a||(i.onOpenChange(!0),x()),d&&(i.triggerPointerDownPosRef.current={x:Math.round(d.pageX),y:Math.round(d.pageY)})};return m.jsxRuntimeExports.jsx(gr,{asChild:!0,...o,children:m.jsxRuntimeExports.jsx(ee.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":Yo(i.value)?"":void 0,...s,ref:c,onClick:ne(s.onClick,d=>{d.currentTarget.focus(),g.current!=="mouse"&&b(d)}),onPointerDown:ne(s.onPointerDown,d=>{g.current=d.pointerType;const v=d.target;v.hasPointerCapture(d.pointerId)&&v.releasePointerCapture(d.pointerId),d.button===0&&d.ctrlKey===!1&&d.pointerType==="mouse"&&(b(d),d.preventDefault())}),onKeyDown:ne(s.onKeyDown,d=>{const v=p.current!=="";!(d.ctrlKey||d.altKey||d.metaKey)&&d.key.length===1&&f(d.key),!(v&&d.key===" ")&&Gi.includes(d.key)&&(b(),d.preventDefault())})})})});Po.displayName=Ro;var jo="SelectValue",Io=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,children:o,placeholder:i="",...a}=e,c=Te(jo,n),{onValueNodeHasChildrenChange:u}=c,g=o!==void 0,p=re.useComposedRefs(t,c.onValueNodeChange);return de(()=>{u(g)},[u,g]),m.jsxRuntimeExports.jsx(ee.span,{...a,ref:p,style:{pointerEvents:"none"},children:Yo(c.value)?m.jsxRuntimeExports.jsx(m.jsxRuntimeExports.Fragment,{children:i}):o})});Io.displayName=jo;var Ji="SelectIcon",No=l.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...s}=e;return m.jsxRuntimeExports.jsx(ee.span,{"aria-hidden":!0,...s,ref:t,children:r||"▼"})});No.displayName=Ji;var Qi="SelectPortal",Ao=e=>m.jsxRuntimeExports.jsx(Rt,{asChild:!0,...e});Ao.displayName=Qi;var We="SelectContent",Mo=l.forwardRef((e,t)=>{const n=Te(We,e.__scopeSelect),[r,s]=l.useState();if(de(()=>{s(new DocumentFragment)},[]),!n.open){const o=r;return o?on.createPortal(m.jsxRuntimeExports.jsx(To,{scope:e.__scopeSelect,children:m.jsxRuntimeExports.jsx(Dt.Slot,{scope:e.__scopeSelect,children:m.jsxRuntimeExports.jsx("div",{children:e.children})})}),o):null}return m.jsxRuntimeExports.jsx(Do,{...e,ref:t})});Mo.displayName=We;var ve=10,[To,De]=Je(We),el="SelectContentImpl",tl=re.createSlot("SelectContent.RemoveScroll"),Do=l.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:o,onPointerDownOutside:i,side:a,sideOffset:c,align:u,alignOffset:g,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:b,hideWhenDetached:d,avoidCollisions:v,...h}=e,y=Te(We,n),[w,C]=l.useState(null),[M,N]=l.useState(null),S=re.useComposedRefs(t,E=>C(E)),[B,O]=l.useState(null),[W,K]=l.useState(null),k=_t(n),[$,X]=l.useState(!1),q=l.useRef(!1);l.useEffect(()=>{if(w)return dn(w)},[w]),an();const U=l.useCallback(E=>{const[j,...L]=k().map(H=>H.ref.current),[z]=L.slice(-1),F=document.activeElement;for(const H of E)if(H===F||(H==null||H.scrollIntoView({block:"nearest"}),H===j&&M&&(M.scrollTop=0),H===z&&M&&(M.scrollTop=M.scrollHeight),H==null||H.focus(),document.activeElement!==F))return},[k,M]),Z=l.useCallback(()=>U([B,w]),[U,B,w]);l.useEffect(()=>{$&&Z()},[$,Z]);const{onOpenChange:Q,triggerPointerDownPosRef:ae}=y;l.useEffect(()=>{if(w){let E={x:0,y:0};const j=z=>{var F,H;E={x:Math.abs(Math.round(z.pageX)-(((F=ae.current)==null?void 0:F.x)??0)),y:Math.abs(Math.round(z.pageY)-(((H=ae.current)==null?void 0:H.y)??0))}},L=z=>{E.x<=10&&E.y<=10?z.preventDefault():w.contains(z.target)||Q(!1),document.removeEventListener("pointermove",j),ae.current=null};return ae.current!==null&&(document.addEventListener("pointermove",j),document.addEventListener("pointerup",L,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",L,{capture:!0})}}},[w,Q,ae]),l.useEffect(()=>{const E=()=>Q(!1);return window.addEventListener("blur",E),window.addEventListener("resize",E),()=>{window.removeEventListener("blur",E),window.removeEventListener("resize",E)}},[Q]);const[pe,oe]=Zo(E=>{const j=k().filter(F=>!F.disabled),L=j.find(F=>F.ref.current===document.activeElement),z=Jo(j,E,L);z&&setTimeout(()=>z.ref.current.focus())}),ue=l.useCallback((E,j,L)=>{const z=!q.current&&!L;(y.value!==void 0&&y.value===j||z)&&(O(E),z&&(q.current=!0))},[y.value]),P=l.useCallback(()=>w==null?void 0:w.focus(),[w]),A=l.useCallback((E,j,L)=>{const z=!q.current&&!L;(y.value!==void 0&&y.value===j||z)&&K(E)},[y.value]),D=r==="popper"?Qt:_o,T=D===Qt?{side:a,sideOffset:c,align:u,alignOffset:g,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:b,hideWhenDetached:d,avoidCollisions:v}:{};return m.jsxRuntimeExports.jsx(To,{scope:n,content:w,viewport:M,onViewportChange:N,itemRefCallback:ue,selectedItem:B,onItemLeave:P,itemTextRefCallback:A,focusSelectedItem:Z,selectedItemText:W,position:r,isPositioned:$,searchRef:pe,children:m.jsxRuntimeExports.jsx(jt,{as:tl,allowPinchZoom:!0,children:m.jsxRuntimeExports.jsx(Ct,{asChild:!0,trapped:y.open,onMountAutoFocus:E=>{E.preventDefault()},onUnmountAutoFocus:ne(s,E=>{var j;(j=y.trigger)==null||j.focus({preventScroll:!0}),E.preventDefault()}),children:m.jsxRuntimeExports.jsx(St,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:E=>E.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:m.jsxRuntimeExports.jsx(D,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:E=>E.preventDefault(),...h,...T,onPlaced:()=>X(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...h.style},onKeyDown:ne(h.onKeyDown,E=>{const j=E.ctrlKey||E.altKey||E.metaKey;if(E.key==="Tab"&&E.preventDefault(),!j&&E.key.length===1&&oe(E.key),["ArrowUp","ArrowDown","Home","End"].includes(E.key)){let z=k().filter(F=>!F.disabled).map(F=>F.ref.current);if(["ArrowUp","End"].includes(E.key)&&(z=z.slice().reverse()),["ArrowUp","ArrowDown"].includes(E.key)){const F=E.target,H=z.indexOf(F);z=z.slice(H+1)}setTimeout(()=>U(z)),E.preventDefault()}})})})})})})});Do.displayName=el;var nl="SelectItemAlignedPosition",_o=l.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...s}=e,o=Te(We,n),i=De(We,n),[a,c]=l.useState(null),[u,g]=l.useState(null),p=re.useComposedRefs(t,S=>g(S)),f=_t(n),x=l.useRef(!1),b=l.useRef(!0),{viewport:d,selectedItem:v,selectedItemText:h,focusSelectedItem:y}=i,w=l.useCallback(()=>{if(o.trigger&&o.valueNode&&a&&u&&d&&v&&h){const S=o.trigger.getBoundingClientRect(),B=u.getBoundingClientRect(),O=o.valueNode.getBoundingClientRect(),W=h.getBoundingClientRect();if(o.dir!=="rtl"){const F=W.left-B.left,H=O.left-F,G=S.left-H,I=S.width+G,_=Math.max(I,B.width),te=window.innerWidth-ve,ie=Jt(H,[ve,Math.max(ve,te-_)]);a.style.minWidth=I+"px",a.style.left=ie+"px"}else{const F=B.right-W.right,H=window.innerWidth-O.right-F,G=window.innerWidth-S.right-H,I=S.width+G,_=Math.max(I,B.width),te=window.innerWidth-ve,ie=Jt(H,[ve,Math.max(ve,te-_)]);a.style.minWidth=I+"px",a.style.right=ie+"px"}const K=f(),k=window.innerHeight-ve*2,$=d.scrollHeight,X=window.getComputedStyle(u),q=parseInt(X.borderTopWidth,10),U=parseInt(X.paddingTop,10),Z=parseInt(X.borderBottomWidth,10),Q=parseInt(X.paddingBottom,10),ae=q+U+$+Q+Z,pe=Math.min(v.offsetHeight*5,ae),oe=window.getComputedStyle(d),ue=parseInt(oe.paddingTop,10),P=parseInt(oe.paddingBottom,10),A=S.top+S.height/2-ve,D=k-A,T=v.offsetHeight/2,E=v.offsetTop+T,j=q+U+E,L=ae-j;if(j<=A){const F=K.length>0&&v===K[K.length-1].ref.current;a.style.bottom="0px";const H=u.clientHeight-d.offsetTop-d.offsetHeight,G=Math.max(D,T+(F?P:0)+H+Z),I=j+G;a.style.height=I+"px"}else{const F=K.length>0&&v===K[0].ref.current;a.style.top="0px";const G=Math.max(A,q+d.offsetTop+(F?ue:0)+T)+L;a.style.height=G+"px",d.scrollTop=j-A+d.offsetTop}a.style.margin=`${ve}px 0`,a.style.minHeight=pe+"px",a.style.maxHeight=k+"px",r==null||r(),requestAnimationFrame(()=>x.current=!0)}},[f,o.trigger,o.valueNode,a,u,d,v,h,o.dir,r]);de(()=>w(),[w]);const[C,M]=l.useState();de(()=>{u&&M(window.getComputedStyle(u).zIndex)},[u]);const N=l.useCallback(S=>{S&&b.current===!0&&(w(),y==null||y(),b.current=!1)},[w,y]);return m.jsxRuntimeExports.jsx(ol,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:x,onScrollButtonChange:N,children:m.jsxRuntimeExports.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:m.jsxRuntimeExports.jsx(ee.div,{...s,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});_o.displayName=nl;var rl="SelectPopperPosition",Qt=l.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:s=ve,...o}=e,i=zt(n);return m.jsxRuntimeExports.jsx(vr,{...i,...o,ref:t,align:r,collisionPadding:s,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Qt.displayName=rl;var[ol,wn]=Je(We,{}),en="SelectViewport",zo=l.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...s}=e,o=De(en,n),i=wn(en,n),a=re.useComposedRefs(t,o.onViewportChange),c=l.useRef(0);return m.jsxRuntimeExports.jsxs(m.jsxRuntimeExports.Fragment,{children:[m.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),m.jsxRuntimeExports.jsx(Dt.Slot,{scope:n,children:m.jsxRuntimeExports.jsx(ee.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:ne(s.onScroll,u=>{const g=u.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:f}=i;if(f!=null&&f.current&&p){const x=Math.abs(c.current-g.scrollTop);if(x>0){const b=window.innerHeight-ve*2,d=parseFloat(p.style.minHeight),v=parseFloat(p.style.height),h=Math.max(d,v);if(h<b){const y=h+x,w=Math.min(b,y),C=y-w;p.style.height=w+"px",p.style.bottom==="0px"&&(g.scrollTop=C>0?C:0,p.style.justifyContent="flex-end")}}}c.current=g.scrollTop})})})]})});zo.displayName=en;var Oo="SelectGroup",[sl,al]=Je(Oo),ko=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=Le();return m.jsxRuntimeExports.jsx(sl,{scope:n,id:s,children:m.jsxRuntimeExports.jsx(ee.div,{role:"group","aria-labelledby":s,...r,ref:t})})});ko.displayName=Oo;var Lo="SelectLabel",$o=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=al(Lo,n);return m.jsxRuntimeExports.jsx(ee.div,{id:s.id,...r,ref:t})});$o.displayName=Lo;var wt="SelectItem",[il,Ho]=Je(wt),Bo=l.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:o,...i}=e,a=Te(wt,n),c=De(wt,n),u=a.value===r,[g,p]=l.useState(o??""),[f,x]=l.useState(!1),b=re.useComposedRefs(t,y=>{var w;return(w=c.itemRefCallback)==null?void 0:w.call(c,y,r,s)}),d=Le(),v=l.useRef("touch"),h=()=>{s||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return m.jsxRuntimeExports.jsx(il,{scope:n,value:r,disabled:s,textId:d,isSelected:u,onItemTextChange:l.useCallback(y=>{p(w=>w||((y==null?void 0:y.textContent)??"").trim())},[]),children:m.jsxRuntimeExports.jsx(Dt.ItemSlot,{scope:n,value:r,disabled:s,textValue:g,children:m.jsxRuntimeExports.jsx(ee.div,{role:"option","aria-labelledby":d,"data-highlighted":f?"":void 0,"aria-selected":u&&f,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...i,ref:b,onFocus:ne(i.onFocus,()=>x(!0)),onBlur:ne(i.onBlur,()=>x(!1)),onClick:ne(i.onClick,()=>{v.current!=="mouse"&&h()}),onPointerUp:ne(i.onPointerUp,()=>{v.current==="mouse"&&h()}),onPointerDown:ne(i.onPointerDown,y=>{v.current=y.pointerType}),onPointerMove:ne(i.onPointerMove,y=>{var w;v.current=y.pointerType,s?(w=c.onItemLeave)==null||w.call(c):v.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ne(i.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=c.onItemLeave)==null||w.call(c))}),onKeyDown:ne(i.onKeyDown,y=>{var C;((C=c.searchRef)==null?void 0:C.current)!==""&&y.key===" "||(Ki.includes(y.key)&&h(),y.key===" "&&y.preventDefault())})})})})});Bo.displayName=wt;var nt="SelectItemText",Fo=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,...o}=e,i=Te(nt,n),a=De(nt,n),c=Ho(nt,n),u=Zi(nt,n),[g,p]=l.useState(null),f=re.useComposedRefs(t,h=>p(h),c.onItemTextChange,h=>{var y;return(y=a.itemTextRefCallback)==null?void 0:y.call(a,h,c.value,c.disabled)}),x=g==null?void 0:g.textContent,b=l.useMemo(()=>m.jsxRuntimeExports.jsx("option",{value:c.value,disabled:c.disabled,children:x},c.value),[c.disabled,c.value,x]),{onNativeOptionAdd:d,onNativeOptionRemove:v}=u;return de(()=>(d(b),()=>v(b)),[d,v,b]),m.jsxRuntimeExports.jsxs(m.jsxRuntimeExports.Fragment,{children:[m.jsxRuntimeExports.jsx(ee.span,{id:c.textId,...o,ref:f}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?on.createPortal(o.children,i.valueNode):null]})});Fo.displayName=nt;var Wo="SelectItemIndicator",Vo=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Ho(Wo,n).isSelected?m.jsxRuntimeExports.jsx(ee.span,{"aria-hidden":!0,...r,ref:t}):null});Vo.displayName=Wo;var tn="SelectScrollUpButton",Uo=l.forwardRef((e,t)=>{const n=De(tn,e.__scopeSelect),r=wn(tn,e.__scopeSelect),[s,o]=l.useState(!1),i=re.useComposedRefs(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollTop>0;o(u)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),s?m.jsxRuntimeExports.jsx(Ko,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});Uo.displayName=tn;var nn="SelectScrollDownButton",Go=l.forwardRef((e,t)=>{const n=De(nn,e.__scopeSelect),r=wn(nn,e.__scopeSelect),[s,o]=l.useState(!1),i=re.useComposedRefs(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollHeight-c.clientHeight,g=Math.ceil(c.scrollTop)<u;o(g)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),s?m.jsxRuntimeExports.jsx(Ko,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});Go.displayName=nn;var Ko=l.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...s}=e,o=De("SelectScrollButton",n),i=l.useRef(null),a=_t(n),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),de(()=>{var g;const u=a().find(p=>p.ref.current===document.activeElement);(g=u==null?void 0:u.ref.current)==null||g.scrollIntoView({block:"nearest"})},[a]),m.jsxRuntimeExports.jsx(ee.div,{"aria-hidden":!0,...s,ref:t,style:{flexShrink:0,...s.style},onPointerDown:ne(s.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:ne(s.onPointerMove,()=>{var u;(u=o.onItemLeave)==null||u.call(o),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:ne(s.onPointerLeave,()=>{c()})})}),ll="SelectSeparator",qo=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return m.jsxRuntimeExports.jsx(ee.div,{"aria-hidden":!0,...r,ref:t})});qo.displayName=ll;var rn="SelectArrow",cl=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=zt(n),o=Te(rn,n),i=De(rn,n);return o.open&&i.position==="popper"?m.jsxRuntimeExports.jsx(hr,{...s,...r,ref:t}):null});cl.displayName=rn;var ul="SelectBubbleInput",Xo=l.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const s=l.useRef(null),o=re.useComposedRefs(r,s),i=wo(t);return l.useEffect(()=>{const a=s.current;if(!a)return;const c=window.HTMLSelectElement.prototype,g=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==t&&g){const p=new Event("change",{bubbles:!0});g.call(a,t),a.dispatchEvent(p)}},[i,t]),m.jsxRuntimeExports.jsx(ee.select,{...n,style:{...Eo,...n.style},ref:o,defaultValue:t})});Xo.displayName=ul;function Yo(e){return e===""||e===void 0}function Zo(e){const t=Me(e),n=l.useRef(""),r=l.useRef(0),s=l.useCallback(i=>{const a=n.current+i;t(a),function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(a)},[t]),o=l.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,s,o]}function Jo(e,t,n){const s=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=dl(e,Math.max(o,0));s.length===1&&(i=i.filter(u=>u!==n));const c=i.find(u=>u.textValue.toLowerCase().startsWith(s.toLowerCase()));return c!==n?c:void 0}function dl(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var fl=Co,pl=Po,ml=Io,gl=No,vl=Ao,hl=Mo,xl=zo,yl=ko,bl=$o,wl=Bo,El=Fo,Sl=Vo,Cl=Uo,Rl=Go,Pl=qo;function jl({...e}){return m.jsxRuntimeExports.jsx(fl,{"data-slot":"select",...e})}function Il({...e}){return m.jsxRuntimeExports.jsx(yl,{"data-slot":"select-group",...e})}function Nl({...e}){return m.jsxRuntimeExports.jsx(ml,{"data-slot":"select-value",...e})}function Al({className:e,size:t="default",children:n,...r}){return m.jsxRuntimeExports.jsxs(pl,{"data-slot":"select-trigger","data-size":t,className:ce.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[n,m.jsxRuntimeExports.jsx(gl,{asChild:!0,children:m.jsxRuntimeExports.jsx(fn,{className:"size-4 opacity-50"})})]})}function Ml({className:e,children:t,position:n="popper",...r}){return m.jsxRuntimeExports.jsx(vl,{children:m.jsxRuntimeExports.jsxs(hl,{"data-slot":"select-content",className:ce.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[m.jsxRuntimeExports.jsx(Qo,{}),m.jsxRuntimeExports.jsx(xl,{className:ce.cn("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),m.jsxRuntimeExports.jsx(es,{})]})})}function Tl({className:e,...t}){return m.jsxRuntimeExports.jsx(bl,{"data-slot":"select-label",className:ce.cn("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function Dl({className:e,children:t,...n}){return m.jsxRuntimeExports.jsxs(wl,{"data-slot":"select-item",className:ce.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[m.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:m.jsxRuntimeExports.jsx(Sl,{children:m.jsxRuntimeExports.jsx(jr,{className:"size-4"})})}),m.jsxRuntimeExports.jsx(El,{children:t})]})}function _l({className:e,...t}){return m.jsxRuntimeExports.jsx(Pl,{"data-slot":"select-separator",className:ce.cn("bg-border pointer-events-none -mx-1 my-1 h-px",e),...t})}function Qo({className:e,...t}){return m.jsxRuntimeExports.jsx(Cl,{"data-slot":"select-scroll-up-button",className:ce.cn("flex cursor-default items-center justify-center py-1",e),...t,children:m.jsxRuntimeExports.jsx(qa,{className:"size-4"})})}function es({className:e,...t}){return m.jsxRuntimeExports.jsx(Rl,{"data-slot":"select-scroll-down-button",className:ce.cn("flex cursor-default items-center justify-center py-1",e),...t,children:m.jsxRuntimeExports.jsx(fn,{className:"size-4"})})}var zl=Object.defineProperty,Ol=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,ts=Object.prototype.hasOwnProperty,ns=Object.prototype.propertyIsEnumerable,Kn=(e,t,n)=>t in e?zl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ll=(e,t)=>{for(var n in t||(t={}))ts.call(t,n)&&Kn(e,n,t[n]);if(Et)for(var n of Et(t))ns.call(t,n)&&Kn(e,n,t[n]);return e},$l=(e,t)=>Ol(e,kl(t)),Hl=(e,t)=>{var n={};for(var r in e)ts.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Et)for(var r of Et(e))t.indexOf(r)<0&&ns.call(e,r)&&(n[r]=e[r]);return n};function Bl(e){let t=setTimeout(e,0),n=setTimeout(e,10),r=setTimeout(e,50);return[t,n,r]}function Fl(e){let t=l.useRef();return l.useEffect(()=>{t.current=e}),t.current}var Wl=18,rs=40,Vl=`${rs}px`,Ul=["[data-lastpass-icon-root]","com-1password-button","[data-dashlanecreated]",'[style$="2147483647 !important;"]'].join(",");function Gl({containerRef:e,inputRef:t,pushPasswordManagerStrategy:n,isFocused:r}){let[s,o]=l.useState(!1),[i,a]=l.useState(!1),[c,u]=l.useState(!1),g=l.useMemo(()=>n==="none"?!1:(n==="increase-width"||n==="experimental-no-flickering")&&s&&i,[s,i,n]),p=l.useCallback(()=>{let f=e.current,x=t.current;if(!f||!x||c||n==="none")return;let b=f,d=b.getBoundingClientRect().left+b.offsetWidth,v=b.getBoundingClientRect().top+b.offsetHeight/2,h=d-Wl,y=v;document.querySelectorAll(Ul).length===0&&document.elementFromPoint(h,y)===f||(o(!0),u(!0))},[e,t,c,n]);return l.useEffect(()=>{let f=e.current;if(!f||n==="none")return;function x(){let d=window.innerWidth-f.getBoundingClientRect().right;a(d>=rs)}x();let b=setInterval(x,1e3);return()=>{clearInterval(b)}},[e,n]),l.useEffect(()=>{let f=r||document.activeElement===t.current;if(n==="none"||!f)return;let x=setTimeout(p,0),b=setTimeout(p,2e3),d=setTimeout(p,5e3),v=setTimeout(()=>{u(!0)},6e3);return()=>{clearTimeout(x),clearTimeout(b),clearTimeout(d),clearTimeout(v)}},[t,r,n,p]),{hasPWMBadge:s,willPushPWMBadge:g,PWM_BADGE_SPACE_WIDTH:Vl}}var os=l.createContext({}),ss=l.forwardRef((e,t)=>{var n=e,{value:r,onChange:s,maxLength:o,textAlign:i="left",pattern:a,placeholder:c,inputMode:u="numeric",onComplete:g,pushPasswordManagerStrategy:p="increase-width",pasteTransformer:f,containerClassName:x,noScriptCSSFallback:b=Kl,render:d,children:v}=n,h=Hl(n,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]),y,w,C,M,N;let[S,B]=l.useState(typeof h.defaultValue=="string"?h.defaultValue:""),O=r??S,W=Fl(O),K=l.useCallback(I=>{s==null||s(I),B(I)},[s]),k=l.useMemo(()=>a?typeof a=="string"?new RegExp(a):a:null,[a]),$=l.useRef(null),X=l.useRef(null),q=l.useRef({value:O,onChange:K,isIOS:typeof window<"u"&&((w=(y=window==null?void 0:window.CSS)==null?void 0:y.supports)==null?void 0:w.call(y,"-webkit-touch-callout","none"))}),U=l.useRef({prev:[(C=$.current)==null?void 0:C.selectionStart,(M=$.current)==null?void 0:M.selectionEnd,(N=$.current)==null?void 0:N.selectionDirection]});l.useImperativeHandle(t,()=>$.current,[]),l.useEffect(()=>{let I=$.current,_=X.current;if(!I||!_)return;q.current.value!==I.value&&q.current.onChange(I.value),U.current.prev=[I.selectionStart,I.selectionEnd,I.selectionDirection];function te(){if(document.activeElement!==I){ue(null),A(null);return}let Y=I.selectionStart,fe=I.selectionEnd,ye=I.selectionDirection,me=I.maxLength,we=I.value,Ee=U.current.prev,Re=-1,Pe=-1,_e;if(we.length!==0&&Y!==null&&fe!==null){let is=Y===fe,ls=Y===we.length&&we.length<me;if(is&&!ls){let ze=Y;if(ze===0)Re=0,Pe=1,_e="forward";else if(ze===me)Re=ze-1,Pe=ze,_e="backward";else if(me>1&&we.length>1){let Ot=0;if(Ee[0]!==null&&Ee[1]!==null){_e=ze<Ee[1]?"backward":"forward";let cs=Ee[0]===Ee[1]&&Ee[0]<me;_e==="backward"&&!cs&&(Ot=-1)}Re=Ot+ze,Pe=Ot+ze+1}}Re!==-1&&Pe!==-1&&Re!==Pe&&$.current.setSelectionRange(Re,Pe,_e)}let En=Re!==-1?Re:Y,Sn=Pe!==-1?Pe:fe,as=_e??ye;ue(En),A(Sn),U.current.prev=[En,Sn,as]}if(document.addEventListener("selectionchange",te,{capture:!0}),te(),document.activeElement===I&&pe(!0),!document.getElementById("input-otp-style")){let Y=document.createElement("style");if(Y.id="input-otp-style",document.head.appendChild(Y),Y.sheet){let fe="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";Qe(Y.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),Qe(Y.sheet,`[data-input-otp]:autofill { ${fe} }`),Qe(Y.sheet,`[data-input-otp]:-webkit-autofill { ${fe} }`),Qe(Y.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),Qe(Y.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let ie=()=>{_&&_.style.setProperty("--root-height",`${I.clientHeight}px`)};ie();let J=new ResizeObserver(ie);return J.observe(I),()=>{document.removeEventListener("selectionchange",te,{capture:!0}),J.disconnect()}},[]);let[Z,Q]=l.useState(!1),[ae,pe]=l.useState(!1),[oe,ue]=l.useState(null),[P,A]=l.useState(null);l.useEffect(()=>{Bl(()=>{var I,_,te,ie;(I=$.current)==null||I.dispatchEvent(new Event("input"));let J=(_=$.current)==null?void 0:_.selectionStart,Y=(te=$.current)==null?void 0:te.selectionEnd,fe=(ie=$.current)==null?void 0:ie.selectionDirection;J!==null&&Y!==null&&(ue(J),A(Y),U.current.prev=[J,Y,fe])})},[O,ae]),l.useEffect(()=>{W!==void 0&&O!==W&&W.length<o&&O.length===o&&(g==null||g(O))},[o,g,W,O]);let D=Gl({containerRef:X,inputRef:$,pushPasswordManagerStrategy:p,isFocused:ae}),T=l.useCallback(I=>{let _=I.currentTarget.value.slice(0,o);if(_.length>0&&k&&!k.test(_)){I.preventDefault();return}typeof W=="string"&&_.length<W.length&&document.dispatchEvent(new Event("selectionchange")),K(_)},[o,K,W,k]),E=l.useCallback(()=>{var I;if($.current){let _=Math.min($.current.value.length,o-1),te=$.current.value.length;(I=$.current)==null||I.setSelectionRange(_,te),ue(_),A(te)}pe(!0)},[o]),j=l.useCallback(I=>{var _,te;let ie=$.current;if(!f&&(!q.current.isIOS||!I.clipboardData||!ie))return;let J=I.clipboardData.getData("text/plain"),Y=f?f(J):J;I.preventDefault();let fe=(_=$.current)==null?void 0:_.selectionStart,ye=(te=$.current)==null?void 0:te.selectionEnd,me=(fe!==ye?O.slice(0,fe)+Y+O.slice(ye):O.slice(0,fe)+Y+O.slice(fe)).slice(0,o);if(me.length>0&&k&&!k.test(me))return;ie.value=me,K(me);let we=Math.min(me.length,o-1),Ee=me.length;ie.setSelectionRange(we,Ee),ue(we),A(Ee)},[o,K,k,O]),L=l.useMemo(()=>({position:"relative",cursor:h.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"}),[h.disabled]),z=l.useMemo(()=>({position:"absolute",inset:0,width:D.willPushPWMBadge?`calc(100% + ${D.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:D.willPushPWMBadge?`inset(0 ${D.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:i,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"}),[D.PWM_BADGE_SPACE_WIDTH,D.willPushPWMBadge,i]),F=l.useMemo(()=>l.createElement("input",$l(Ll({autoComplete:h.autoComplete||"one-time-code"},h),{"data-input-otp":!0,"data-input-otp-placeholder-shown":O.length===0||void 0,"data-input-otp-mss":oe,"data-input-otp-mse":P,inputMode:u,pattern:k==null?void 0:k.source,"aria-placeholder":c,style:z,maxLength:o,value:O,ref:$,onPaste:I=>{var _;j(I),(_=h.onPaste)==null||_.call(h,I)},onChange:T,onMouseOver:I=>{var _;Q(!0),(_=h.onMouseOver)==null||_.call(h,I)},onMouseLeave:I=>{var _;Q(!1),(_=h.onMouseLeave)==null||_.call(h,I)},onFocus:I=>{var _;E(),(_=h.onFocus)==null||_.call(h,I)},onBlur:I=>{var _;pe(!1),(_=h.onBlur)==null||_.call(h,I)}})),[T,E,j,u,z,o,P,oe,h,k==null?void 0:k.source,O]),H=l.useMemo(()=>({slots:Array.from({length:o}).map((I,_)=>{var te;let ie=ae&&oe!==null&&P!==null&&(oe===P&&_===oe||_>=oe&&_<P),J=O[_]!==void 0?O[_]:null,Y=O[0]!==void 0?null:(te=c==null?void 0:c[_])!=null?te:null;return{char:J,placeholderChar:Y,isActive:ie,hasFakeCaret:ie&&J===null}}),isFocused:ae,isHovering:!h.disabled&&Z}),[ae,Z,o,P,oe,h.disabled,O]),G=l.useMemo(()=>d?d(H):l.createElement(os.Provider,{value:H},v),[v,H,d]);return l.createElement(l.Fragment,null,b!==null&&l.createElement("noscript",null,l.createElement("style",null,b)),l.createElement("div",{ref:X,"data-input-otp-container":!0,style:L,className:x},G,l.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},F)))});ss.displayName="Input";function Qe(e,t){try{e.insertRule(t)}catch{}}var Kl=`
45
+ For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{if(e){const r=document.getElementById(e)}},[n,e]),null},_i="DialogDescriptionWarning",zi=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${uo(_i).contentName}}.`;return l.useEffect(()=>{var o;const s=(o=e.current)==null?void 0:o.getAttribute("aria-describedby");if(t&&s){const i=document.getElementById(t)}},[r,e,t]),null},fo=Yr,po=Jr,mo=eo,go=to,vo=no,ho=oo,xo=ao,bn=lo;function Oi({...e}){return m.jsxRuntimeExports.jsx(fo,{"data-slot":"dialog",...e})}function ki({...e}){return m.jsxRuntimeExports.jsx(po,{"data-slot":"dialog-trigger",...e})}function yo({...e}){return m.jsxRuntimeExports.jsx(mo,{"data-slot":"dialog-portal",...e})}function Li({...e}){return m.jsxRuntimeExports.jsx(bn,{"data-slot":"dialog-close",...e})}function bo({className:e,...t}){return m.jsxRuntimeExports.jsx(go,{"data-slot":"dialog-overlay",className:ce.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}const $i=l.forwardRef(({className:e,children:t,showCloseButton:n=!0,...r},s)=>m.jsxRuntimeExports.jsx(fs.AnimatePresence,{children:m.jsxRuntimeExports.jsxs(yo,{"data-slot":"dialog-portal",children:[m.jsxRuntimeExports.jsx(bo,{}),m.jsxRuntimeExports.jsxs(vo,{"data-slot":"dialog-content",ref:s,className:ce.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg p-6 shadow-lg duration-200 sm:max-w-lg",e),...r,children:[t,n&&m.jsxRuntimeExports.jsxs(bn,{"data-slot":"dialog-close",className:"cursor-pointer ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[m.jsxRuntimeExports.jsx(Ya,{}),m.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}));function Hi({className:e,...t}){return m.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:ce.cn("flex flex-col gap-2 text-center sm:text-left",e),...t})}function Bi({className:e,...t}){return m.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:ce.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function Fi({className:e,...t}){return m.jsxRuntimeExports.jsx(ho,{"data-slot":"dialog-title",className:ce.cn("text-lg leading-none font-semibold",e),...t})}function Wi({className:e,...t}){return m.jsxRuntimeExports.jsx(xo,{"data-slot":"dialog-description",className:ce.cn("text-muted-foreground text-sm",e),...t})}function wo(e){const t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Eo=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"}),Vi="VisuallyHidden",So=l.forwardRef((e,t)=>m.jsxRuntimeExports.jsx(ee.span,{...e,ref:t,style:{...Eo,...e.style}}));So.displayName=Vi;var Ui=So;function Jt(e,[t,n]){return Math.min(n,Math.max(t,e))}var Gi=[" ","Enter","ArrowUp","ArrowDown"],Ki=[" ","Enter"],Fe="Select",[Dt,_t,qi]=Qn(Fe),[Je,ql]=st(Fe,[qi,cn]),zt=cn(),[Xi,Te]=Je(Fe),[Yi,Zi]=Je(Fe),Co=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:s,onOpenChange:o,value:i,defaultValue:a,onValueChange:c,dir:u,name:g,autoComplete:p,disabled:f,required:x,form:b}=e,d=zt(t),[v,h]=l.useState(null),[y,w]=l.useState(null),[C,M]=l.useState(!1),N=er(u),[S,B]=ht({prop:r,defaultProp:s??!1,onChange:o,caller:Fe}),[O,W]=ht({prop:i,defaultProp:a,onChange:c,caller:Fe}),K=l.useRef(null),k=v?b||!!v.closest("form"):!0,[$,X]=l.useState(new Set),q=Array.from($).map(U=>U.props.value).join(";");return m.jsxRuntimeExports.jsx(mr,{...d,children:m.jsxRuntimeExports.jsxs(Xi,{required:x,scope:t,trigger:v,onTriggerChange:h,valueNode:y,onValueNodeChange:w,valueNodeHasChildren:C,onValueNodeHasChildrenChange:M,contentId:Le(),value:O,onValueChange:W,open:S,onOpenChange:B,dir:N,triggerPointerDownPosRef:K,disabled:f,children:[m.jsxRuntimeExports.jsx(Dt.Provider,{scope:t,children:m.jsxRuntimeExports.jsx(Yi,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(U=>{X(Z=>new Set(Z).add(U))},[]),onNativeOptionRemove:l.useCallback(U=>{X(Z=>{const Q=new Set(Z);return Q.delete(U),Q})},[]),children:n})}),k?m.jsxRuntimeExports.jsxs(Xo,{"aria-hidden":!0,required:x,tabIndex:-1,name:g,autoComplete:p,value:O,onChange:U=>W(U.target.value),disabled:f,form:b,children:[O===void 0?m.jsxRuntimeExports.jsx("option",{value:""}):null,Array.from($)]},q):null]})})};Co.displayName=Fe;var Ro="SelectTrigger",Po=l.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...s}=e,o=zt(n),i=Te(Ro,n),a=i.disabled||r,c=re.useComposedRefs(t,i.onTriggerChange),u=_t(n),g=l.useRef("touch"),[p,f,x]=Zo(d=>{const v=u().filter(w=>!w.disabled),h=v.find(w=>w.value===i.value),y=Jo(v,d,h);y!==void 0&&i.onValueChange(y.value)}),b=d=>{a||(i.onOpenChange(!0),x()),d&&(i.triggerPointerDownPosRef.current={x:Math.round(d.pageX),y:Math.round(d.pageY)})};return m.jsxRuntimeExports.jsx(gr,{asChild:!0,...o,children:m.jsxRuntimeExports.jsx(ee.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":Yo(i.value)?"":void 0,...s,ref:c,onClick:ne(s.onClick,d=>{d.currentTarget.focus(),g.current!=="mouse"&&b(d)}),onPointerDown:ne(s.onPointerDown,d=>{g.current=d.pointerType;const v=d.target;v.hasPointerCapture(d.pointerId)&&v.releasePointerCapture(d.pointerId),d.button===0&&d.ctrlKey===!1&&d.pointerType==="mouse"&&(b(d),d.preventDefault())}),onKeyDown:ne(s.onKeyDown,d=>{const v=p.current!=="";!(d.ctrlKey||d.altKey||d.metaKey)&&d.key.length===1&&f(d.key),!(v&&d.key===" ")&&Gi.includes(d.key)&&(b(),d.preventDefault())})})})});Po.displayName=Ro;var jo="SelectValue",Io=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,children:o,placeholder:i="",...a}=e,c=Te(jo,n),{onValueNodeHasChildrenChange:u}=c,g=o!==void 0,p=re.useComposedRefs(t,c.onValueNodeChange);return de(()=>{u(g)},[u,g]),m.jsxRuntimeExports.jsx(ee.span,{...a,ref:p,style:{pointerEvents:"none"},children:Yo(c.value)?m.jsxRuntimeExports.jsx(m.jsxRuntimeExports.Fragment,{children:i}):o})});Io.displayName=jo;var Ji="SelectIcon",No=l.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...s}=e;return m.jsxRuntimeExports.jsx(ee.span,{"aria-hidden":!0,...s,ref:t,children:r||"▼"})});No.displayName=Ji;var Qi="SelectPortal",Ao=e=>m.jsxRuntimeExports.jsx(Rt,{asChild:!0,...e});Ao.displayName=Qi;var We="SelectContent",Mo=l.forwardRef((e,t)=>{const n=Te(We,e.__scopeSelect),[r,s]=l.useState();if(de(()=>{s(new DocumentFragment)},[]),!n.open){const o=r;return o?on.createPortal(m.jsxRuntimeExports.jsx(To,{scope:e.__scopeSelect,children:m.jsxRuntimeExports.jsx(Dt.Slot,{scope:e.__scopeSelect,children:m.jsxRuntimeExports.jsx("div",{children:e.children})})}),o):null}return m.jsxRuntimeExports.jsx(Do,{...e,ref:t})});Mo.displayName=We;var ve=10,[To,De]=Je(We),el="SelectContentImpl",tl=re.createSlot("SelectContent.RemoveScroll"),Do=l.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:o,onPointerDownOutside:i,side:a,sideOffset:c,align:u,alignOffset:g,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:b,hideWhenDetached:d,avoidCollisions:v,...h}=e,y=Te(We,n),[w,C]=l.useState(null),[M,N]=l.useState(null),S=re.useComposedRefs(t,E=>C(E)),[B,O]=l.useState(null),[W,K]=l.useState(null),k=_t(n),[$,X]=l.useState(!1),q=l.useRef(!1);l.useEffect(()=>{if(w)return dn(w)},[w]),an();const U=l.useCallback(E=>{const[j,...L]=k().map(H=>H.ref.current),[z]=L.slice(-1),F=document.activeElement;for(const H of E)if(H===F||(H==null||H.scrollIntoView({block:"nearest"}),H===j&&M&&(M.scrollTop=0),H===z&&M&&(M.scrollTop=M.scrollHeight),H==null||H.focus(),document.activeElement!==F))return},[k,M]),Z=l.useCallback(()=>U([B,w]),[U,B,w]);l.useEffect(()=>{$&&Z()},[$,Z]);const{onOpenChange:Q,triggerPointerDownPosRef:ae}=y;l.useEffect(()=>{if(w){let E={x:0,y:0};const j=z=>{var F,H;E={x:Math.abs(Math.round(z.pageX)-(((F=ae.current)==null?void 0:F.x)??0)),y:Math.abs(Math.round(z.pageY)-(((H=ae.current)==null?void 0:H.y)??0))}},L=z=>{E.x<=10&&E.y<=10?z.preventDefault():w.contains(z.target)||Q(!1),document.removeEventListener("pointermove",j),ae.current=null};return ae.current!==null&&(document.addEventListener("pointermove",j),document.addEventListener("pointerup",L,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",L,{capture:!0})}}},[w,Q,ae]),l.useEffect(()=>{const E=()=>Q(!1);return window.addEventListener("blur",E),window.addEventListener("resize",E),()=>{window.removeEventListener("blur",E),window.removeEventListener("resize",E)}},[Q]);const[pe,oe]=Zo(E=>{const j=k().filter(F=>!F.disabled),L=j.find(F=>F.ref.current===document.activeElement),z=Jo(j,E,L);z&&setTimeout(()=>z.ref.current.focus())}),ue=l.useCallback((E,j,L)=>{const z=!q.current&&!L;(y.value!==void 0&&y.value===j||z)&&(O(E),z&&(q.current=!0))},[y.value]),P=l.useCallback(()=>w==null?void 0:w.focus(),[w]),A=l.useCallback((E,j,L)=>{const z=!q.current&&!L;(y.value!==void 0&&y.value===j||z)&&K(E)},[y.value]),D=r==="popper"?Qt:_o,T=D===Qt?{side:a,sideOffset:c,align:u,alignOffset:g,arrowPadding:p,collisionBoundary:f,collisionPadding:x,sticky:b,hideWhenDetached:d,avoidCollisions:v}:{};return m.jsxRuntimeExports.jsx(To,{scope:n,content:w,viewport:M,onViewportChange:N,itemRefCallback:ue,selectedItem:B,onItemLeave:P,itemTextRefCallback:A,focusSelectedItem:Z,selectedItemText:W,position:r,isPositioned:$,searchRef:pe,children:m.jsxRuntimeExports.jsx(jt,{as:tl,allowPinchZoom:!0,children:m.jsxRuntimeExports.jsx(Ct,{asChild:!0,trapped:y.open,onMountAutoFocus:E=>{E.preventDefault()},onUnmountAutoFocus:ne(s,E=>{var j;(j=y.trigger)==null||j.focus({preventScroll:!0}),E.preventDefault()}),children:m.jsxRuntimeExports.jsx(St,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:E=>E.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:m.jsxRuntimeExports.jsx(D,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:E=>E.preventDefault(),...h,...T,onPlaced:()=>X(!0),ref:S,style:{display:"flex",flexDirection:"column",outline:"none",...h.style},onKeyDown:ne(h.onKeyDown,E=>{const j=E.ctrlKey||E.altKey||E.metaKey;if(E.key==="Tab"&&E.preventDefault(),!j&&E.key.length===1&&oe(E.key),["ArrowUp","ArrowDown","Home","End"].includes(E.key)){let z=k().filter(F=>!F.disabled).map(F=>F.ref.current);if(["ArrowUp","End"].includes(E.key)&&(z=z.slice().reverse()),["ArrowUp","ArrowDown"].includes(E.key)){const F=E.target,H=z.indexOf(F);z=z.slice(H+1)}setTimeout(()=>U(z)),E.preventDefault()}})})})})})})});Do.displayName=el;var nl="SelectItemAlignedPosition",_o=l.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...s}=e,o=Te(We,n),i=De(We,n),[a,c]=l.useState(null),[u,g]=l.useState(null),p=re.useComposedRefs(t,S=>g(S)),f=_t(n),x=l.useRef(!1),b=l.useRef(!0),{viewport:d,selectedItem:v,selectedItemText:h,focusSelectedItem:y}=i,w=l.useCallback(()=>{if(o.trigger&&o.valueNode&&a&&u&&d&&v&&h){const S=o.trigger.getBoundingClientRect(),B=u.getBoundingClientRect(),O=o.valueNode.getBoundingClientRect(),W=h.getBoundingClientRect();if(o.dir!=="rtl"){const F=W.left-B.left,H=O.left-F,G=S.left-H,I=S.width+G,_=Math.max(I,B.width),te=window.innerWidth-ve,ie=Jt(H,[ve,Math.max(ve,te-_)]);a.style.minWidth=I+"px",a.style.left=ie+"px"}else{const F=B.right-W.right,H=window.innerWidth-O.right-F,G=window.innerWidth-S.right-H,I=S.width+G,_=Math.max(I,B.width),te=window.innerWidth-ve,ie=Jt(H,[ve,Math.max(ve,te-_)]);a.style.minWidth=I+"px",a.style.right=ie+"px"}const K=f(),k=window.innerHeight-ve*2,$=d.scrollHeight,X=window.getComputedStyle(u),q=parseInt(X.borderTopWidth,10),U=parseInt(X.paddingTop,10),Z=parseInt(X.borderBottomWidth,10),Q=parseInt(X.paddingBottom,10),ae=q+U+$+Q+Z,pe=Math.min(v.offsetHeight*5,ae),oe=window.getComputedStyle(d),ue=parseInt(oe.paddingTop,10),P=parseInt(oe.paddingBottom,10),A=S.top+S.height/2-ve,D=k-A,T=v.offsetHeight/2,E=v.offsetTop+T,j=q+U+E,L=ae-j;if(j<=A){const F=K.length>0&&v===K[K.length-1].ref.current;a.style.bottom="0px";const H=u.clientHeight-d.offsetTop-d.offsetHeight,G=Math.max(D,T+(F?P:0)+H+Z),I=j+G;a.style.height=I+"px"}else{const F=K.length>0&&v===K[0].ref.current;a.style.top="0px";const G=Math.max(A,q+d.offsetTop+(F?ue:0)+T)+L;a.style.height=G+"px",d.scrollTop=j-A+d.offsetTop}a.style.margin=`${ve}px 0`,a.style.minHeight=pe+"px",a.style.maxHeight=k+"px",r==null||r(),requestAnimationFrame(()=>x.current=!0)}},[f,o.trigger,o.valueNode,a,u,d,v,h,o.dir,r]);de(()=>w(),[w]);const[C,M]=l.useState();de(()=>{u&&M(window.getComputedStyle(u).zIndex)},[u]);const N=l.useCallback(S=>{S&&b.current===!0&&(w(),y==null||y(),b.current=!1)},[w,y]);return m.jsxRuntimeExports.jsx(ol,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:x,onScrollButtonChange:N,children:m.jsxRuntimeExports.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:m.jsxRuntimeExports.jsx(ee.div,{...s,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});_o.displayName=nl;var rl="SelectPopperPosition",Qt=l.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:s=ve,...o}=e,i=zt(n);return m.jsxRuntimeExports.jsx(vr,{...i,...o,ref:t,align:r,collisionPadding:s,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Qt.displayName=rl;var[ol,wn]=Je(We,{}),en="SelectViewport",zo=l.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...s}=e,o=De(en,n),i=wn(en,n),a=re.useComposedRefs(t,o.onViewportChange),c=l.useRef(0);return m.jsxRuntimeExports.jsxs(m.jsxRuntimeExports.Fragment,{children:[m.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),m.jsxRuntimeExports.jsx(Dt.Slot,{scope:n,children:m.jsxRuntimeExports.jsx(ee.div,{"data-radix-select-viewport":"",role:"presentation",...s,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...s.style},onScroll:ne(s.onScroll,u=>{const g=u.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:f}=i;if(f!=null&&f.current&&p){const x=Math.abs(c.current-g.scrollTop);if(x>0){const b=window.innerHeight-ve*2,d=parseFloat(p.style.minHeight),v=parseFloat(p.style.height),h=Math.max(d,v);if(h<b){const y=h+x,w=Math.min(b,y),C=y-w;p.style.height=w+"px",p.style.bottom==="0px"&&(g.scrollTop=C>0?C:0,p.style.justifyContent="flex-end")}}}c.current=g.scrollTop})})})]})});zo.displayName=en;var Oo="SelectGroup",[sl,al]=Je(Oo),ko=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=Le();return m.jsxRuntimeExports.jsx(sl,{scope:n,id:s,children:m.jsxRuntimeExports.jsx(ee.div,{role:"group","aria-labelledby":s,...r,ref:t})})});ko.displayName=Oo;var Lo="SelectLabel",$o=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=al(Lo,n);return m.jsxRuntimeExports.jsx(ee.div,{id:s.id,...r,ref:t})});$o.displayName=Lo;var wt="SelectItem",[il,Ho]=Je(wt),Bo=l.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:s=!1,textValue:o,...i}=e,a=Te(wt,n),c=De(wt,n),u=a.value===r,[g,p]=l.useState(o??""),[f,x]=l.useState(!1),b=re.useComposedRefs(t,y=>{var w;return(w=c.itemRefCallback)==null?void 0:w.call(c,y,r,s)}),d=Le(),v=l.useRef("touch"),h=()=>{s||(a.onValueChange(r),a.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return m.jsxRuntimeExports.jsx(il,{scope:n,value:r,disabled:s,textId:d,isSelected:u,onItemTextChange:l.useCallback(y=>{p(w=>w||((y==null?void 0:y.textContent)??"").trim())},[]),children:m.jsxRuntimeExports.jsx(Dt.ItemSlot,{scope:n,value:r,disabled:s,textValue:g,children:m.jsxRuntimeExports.jsx(ee.div,{role:"option","aria-labelledby":d,"data-highlighted":f?"":void 0,"aria-selected":u&&f,"data-state":u?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1,...i,ref:b,onFocus:ne(i.onFocus,()=>x(!0)),onBlur:ne(i.onBlur,()=>x(!1)),onClick:ne(i.onClick,()=>{v.current!=="mouse"&&h()}),onPointerUp:ne(i.onPointerUp,()=>{v.current==="mouse"&&h()}),onPointerDown:ne(i.onPointerDown,y=>{v.current=y.pointerType}),onPointerMove:ne(i.onPointerMove,y=>{var w;v.current=y.pointerType,s?(w=c.onItemLeave)==null||w.call(c):v.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ne(i.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=c.onItemLeave)==null||w.call(c))}),onKeyDown:ne(i.onKeyDown,y=>{var C;((C=c.searchRef)==null?void 0:C.current)!==""&&y.key===" "||(Ki.includes(y.key)&&h(),y.key===" "&&y.preventDefault())})})})})});Bo.displayName=wt;var nt="SelectItemText",Fo=l.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:s,...o}=e,i=Te(nt,n),a=De(nt,n),c=Ho(nt,n),u=Zi(nt,n),[g,p]=l.useState(null),f=re.useComposedRefs(t,h=>p(h),c.onItemTextChange,h=>{var y;return(y=a.itemTextRefCallback)==null?void 0:y.call(a,h,c.value,c.disabled)}),x=g==null?void 0:g.textContent,b=l.useMemo(()=>m.jsxRuntimeExports.jsx("option",{value:c.value,disabled:c.disabled,children:x},c.value),[c.disabled,c.value,x]),{onNativeOptionAdd:d,onNativeOptionRemove:v}=u;return de(()=>(d(b),()=>v(b)),[d,v,b]),m.jsxRuntimeExports.jsxs(m.jsxRuntimeExports.Fragment,{children:[m.jsxRuntimeExports.jsx(ee.span,{id:c.textId,...o,ref:f}),c.isSelected&&i.valueNode&&!i.valueNodeHasChildren?on.createPortal(o.children,i.valueNode):null]})});Fo.displayName=nt;var Wo="SelectItemIndicator",Vo=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return Ho(Wo,n).isSelected?m.jsxRuntimeExports.jsx(ee.span,{"aria-hidden":!0,...r,ref:t}):null});Vo.displayName=Wo;var tn="SelectScrollUpButton",Uo=l.forwardRef((e,t)=>{const n=De(tn,e.__scopeSelect),r=wn(tn,e.__scopeSelect),[s,o]=l.useState(!1),i=re.useComposedRefs(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollTop>0;o(u)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),s?m.jsxRuntimeExports.jsx(Ko,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop-c.offsetHeight)}}):null});Uo.displayName=tn;var nn="SelectScrollDownButton",Go=l.forwardRef((e,t)=>{const n=De(nn,e.__scopeSelect),r=wn(nn,e.__scopeSelect),[s,o]=l.useState(!1),i=re.useComposedRefs(t,r.onScrollButtonChange);return de(()=>{if(n.viewport&&n.isPositioned){let a=function(){const u=c.scrollHeight-c.clientHeight,g=Math.ceil(c.scrollTop)<u;o(g)};const c=n.viewport;return a(),c.addEventListener("scroll",a),()=>c.removeEventListener("scroll",a)}},[n.viewport,n.isPositioned]),s?m.jsxRuntimeExports.jsx(Ko,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:c}=n;a&&c&&(a.scrollTop=a.scrollTop+c.offsetHeight)}}):null});Go.displayName=nn;var Ko=l.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...s}=e,o=De("SelectScrollButton",n),i=l.useRef(null),a=_t(n),c=l.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),de(()=>{var g;const u=a().find(p=>p.ref.current===document.activeElement);(g=u==null?void 0:u.ref.current)==null||g.scrollIntoView({block:"nearest"})},[a]),m.jsxRuntimeExports.jsx(ee.div,{"aria-hidden":!0,...s,ref:t,style:{flexShrink:0,...s.style},onPointerDown:ne(s.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(r,50))}),onPointerMove:ne(s.onPointerMove,()=>{var u;(u=o.onItemLeave)==null||u.call(o),i.current===null&&(i.current=window.setInterval(r,50))}),onPointerLeave:ne(s.onPointerLeave,()=>{c()})})}),ll="SelectSeparator",qo=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return m.jsxRuntimeExports.jsx(ee.div,{"aria-hidden":!0,...r,ref:t})});qo.displayName=ll;var rn="SelectArrow",cl=l.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,s=zt(n),o=Te(rn,n),i=De(rn,n);return o.open&&i.position==="popper"?m.jsxRuntimeExports.jsx(hr,{...s,...r,ref:t}):null});cl.displayName=rn;var ul="SelectBubbleInput",Xo=l.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const s=l.useRef(null),o=re.useComposedRefs(r,s),i=wo(t);return l.useEffect(()=>{const a=s.current;if(!a)return;const c=window.HTMLSelectElement.prototype,g=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==t&&g){const p=new Event("change",{bubbles:!0});g.call(a,t),a.dispatchEvent(p)}},[i,t]),m.jsxRuntimeExports.jsx(ee.select,{...n,style:{...Eo,...n.style},ref:o,defaultValue:t})});Xo.displayName=ul;function Yo(e){return e===""||e===void 0}function Zo(e){const t=Me(e),n=l.useRef(""),r=l.useRef(0),s=l.useCallback(i=>{const a=n.current+i;t(a),function c(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(a)},[t]),o=l.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,s,o]}function Jo(e,t,n){const s=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,o=n?e.indexOf(n):-1;let i=dl(e,Math.max(o,0));s.length===1&&(i=i.filter(u=>u!==n));const c=i.find(u=>u.textValue.toLowerCase().startsWith(s.toLowerCase()));return c!==n?c:void 0}function dl(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var fl=Co,pl=Po,ml=Io,gl=No,vl=Ao,hl=Mo,xl=zo,yl=ko,bl=$o,wl=Bo,El=Fo,Sl=Vo,Cl=Uo,Rl=Go,Pl=qo;function jl({...e}){return m.jsxRuntimeExports.jsx(fl,{"data-slot":"select",...e})}function Il({...e}){return m.jsxRuntimeExports.jsx(yl,{"data-slot":"select-group",...e})}function Nl({...e}){return m.jsxRuntimeExports.jsx(ml,{"data-slot":"select-value",...e})}function Al({className:e,size:t="default",children:n,...r}){return m.jsxRuntimeExports.jsxs(pl,{"data-slot":"select-trigger","data-size":t,className:ce.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[n,m.jsxRuntimeExports.jsx(gl,{asChild:!0,children:m.jsxRuntimeExports.jsx(fn,{className:"size-4 opacity-50"})})]})}function Ml({className:e,children:t,position:n="popper",...r}){return m.jsxRuntimeExports.jsx(vl,{children:m.jsxRuntimeExports.jsxs(hl,{"data-slot":"select-content",className:ce.cn("bg-content1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md shadow-medium",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[m.jsxRuntimeExports.jsx(Qo,{}),m.jsxRuntimeExports.jsx(xl,{className:ce.cn("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),m.jsxRuntimeExports.jsx(es,{})]})})}function Tl({className:e,...t}){return m.jsxRuntimeExports.jsx(bl,{"data-slot":"select-label",className:ce.cn("text-muted-foreground px-2 py-1.5 text-xs",e),...t})}function Dl({className:e,children:t,...n}){return m.jsxRuntimeExports.jsxs(wl,{"data-slot":"select-item",className:ce.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...n,children:[m.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:m.jsxRuntimeExports.jsx(Sl,{children:m.jsxRuntimeExports.jsx(jr,{className:"size-4"})})}),m.jsxRuntimeExports.jsx(El,{children:t})]})}function _l({className:e,...t}){return m.jsxRuntimeExports.jsx(Pl,{"data-slot":"select-separator",className:ce.cn("bg-border pointer-events-none -mx-1 my-1 h-px",e),...t})}function Qo({className:e,...t}){return m.jsxRuntimeExports.jsx(Cl,{"data-slot":"select-scroll-up-button",className:ce.cn("flex cursor-default items-center justify-center py-1",e),...t,children:m.jsxRuntimeExports.jsx(qa,{className:"size-4"})})}function es({className:e,...t}){return m.jsxRuntimeExports.jsx(Rl,{"data-slot":"select-scroll-down-button",className:ce.cn("flex cursor-default items-center justify-center py-1",e),...t,children:m.jsxRuntimeExports.jsx(fn,{className:"size-4"})})}var zl=Object.defineProperty,Ol=Object.defineProperties,kl=Object.getOwnPropertyDescriptors,Et=Object.getOwnPropertySymbols,ts=Object.prototype.hasOwnProperty,ns=Object.prototype.propertyIsEnumerable,Kn=(e,t,n)=>t in e?zl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ll=(e,t)=>{for(var n in t||(t={}))ts.call(t,n)&&Kn(e,n,t[n]);if(Et)for(var n of Et(t))ns.call(t,n)&&Kn(e,n,t[n]);return e},$l=(e,t)=>Ol(e,kl(t)),Hl=(e,t)=>{var n={};for(var r in e)ts.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Et)for(var r of Et(e))t.indexOf(r)<0&&ns.call(e,r)&&(n[r]=e[r]);return n};function Bl(e){let t=setTimeout(e,0),n=setTimeout(e,10),r=setTimeout(e,50);return[t,n,r]}function Fl(e){let t=l.useRef();return l.useEffect(()=>{t.current=e}),t.current}var Wl=18,rs=40,Vl=`${rs}px`,Ul=["[data-lastpass-icon-root]","com-1password-button","[data-dashlanecreated]",'[style$="2147483647 !important;"]'].join(",");function Gl({containerRef:e,inputRef:t,pushPasswordManagerStrategy:n,isFocused:r}){let[s,o]=l.useState(!1),[i,a]=l.useState(!1),[c,u]=l.useState(!1),g=l.useMemo(()=>n==="none"?!1:(n==="increase-width"||n==="experimental-no-flickering")&&s&&i,[s,i,n]),p=l.useCallback(()=>{let f=e.current,x=t.current;if(!f||!x||c||n==="none")return;let b=f,d=b.getBoundingClientRect().left+b.offsetWidth,v=b.getBoundingClientRect().top+b.offsetHeight/2,h=d-Wl,y=v;document.querySelectorAll(Ul).length===0&&document.elementFromPoint(h,y)===f||(o(!0),u(!0))},[e,t,c,n]);return l.useEffect(()=>{let f=e.current;if(!f||n==="none")return;function x(){let d=window.innerWidth-f.getBoundingClientRect().right;a(d>=rs)}x();let b=setInterval(x,1e3);return()=>{clearInterval(b)}},[e,n]),l.useEffect(()=>{let f=r||document.activeElement===t.current;if(n==="none"||!f)return;let x=setTimeout(p,0),b=setTimeout(p,2e3),d=setTimeout(p,5e3),v=setTimeout(()=>{u(!0)},6e3);return()=>{clearTimeout(x),clearTimeout(b),clearTimeout(d),clearTimeout(v)}},[t,r,n,p]),{hasPWMBadge:s,willPushPWMBadge:g,PWM_BADGE_SPACE_WIDTH:Vl}}var os=l.createContext({}),ss=l.forwardRef((e,t)=>{var n=e,{value:r,onChange:s,maxLength:o,textAlign:i="left",pattern:a,placeholder:c,inputMode:u="numeric",onComplete:g,pushPasswordManagerStrategy:p="increase-width",pasteTransformer:f,containerClassName:x,noScriptCSSFallback:b=Kl,render:d,children:v}=n,h=Hl(n,["value","onChange","maxLength","textAlign","pattern","placeholder","inputMode","onComplete","pushPasswordManagerStrategy","pasteTransformer","containerClassName","noScriptCSSFallback","render","children"]),y,w,C,M,N;let[S,B]=l.useState(typeof h.defaultValue=="string"?h.defaultValue:""),O=r??S,W=Fl(O),K=l.useCallback(I=>{s==null||s(I),B(I)},[s]),k=l.useMemo(()=>a?typeof a=="string"?new RegExp(a):a:null,[a]),$=l.useRef(null),X=l.useRef(null),q=l.useRef({value:O,onChange:K,isIOS:typeof window<"u"&&((w=(y=window==null?void 0:window.CSS)==null?void 0:y.supports)==null?void 0:w.call(y,"-webkit-touch-callout","none"))}),U=l.useRef({prev:[(C=$.current)==null?void 0:C.selectionStart,(M=$.current)==null?void 0:M.selectionEnd,(N=$.current)==null?void 0:N.selectionDirection]});l.useImperativeHandle(t,()=>$.current,[]),l.useEffect(()=>{let I=$.current,_=X.current;if(!I||!_)return;q.current.value!==I.value&&q.current.onChange(I.value),U.current.prev=[I.selectionStart,I.selectionEnd,I.selectionDirection];function te(){if(document.activeElement!==I){ue(null),A(null);return}let Y=I.selectionStart,fe=I.selectionEnd,ye=I.selectionDirection,me=I.maxLength,we=I.value,Ee=U.current.prev,Re=-1,Pe=-1,_e;if(we.length!==0&&Y!==null&&fe!==null){let is=Y===fe,ls=Y===we.length&&we.length<me;if(is&&!ls){let ze=Y;if(ze===0)Re=0,Pe=1,_e="forward";else if(ze===me)Re=ze-1,Pe=ze,_e="backward";else if(me>1&&we.length>1){let Ot=0;if(Ee[0]!==null&&Ee[1]!==null){_e=ze<Ee[1]?"backward":"forward";let cs=Ee[0]===Ee[1]&&Ee[0]<me;_e==="backward"&&!cs&&(Ot=-1)}Re=Ot+ze,Pe=Ot+ze+1}}Re!==-1&&Pe!==-1&&Re!==Pe&&$.current.setSelectionRange(Re,Pe,_e)}let En=Re!==-1?Re:Y,Sn=Pe!==-1?Pe:fe,as=_e??ye;ue(En),A(Sn),U.current.prev=[En,Sn,as]}if(document.addEventListener("selectionchange",te,{capture:!0}),te(),document.activeElement===I&&pe(!0),!document.getElementById("input-otp-style")){let Y=document.createElement("style");if(Y.id="input-otp-style",document.head.appendChild(Y),Y.sheet){let fe="background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";Qe(Y.sheet,"[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"),Qe(Y.sheet,`[data-input-otp]:autofill { ${fe} }`),Qe(Y.sheet,`[data-input-otp]:-webkit-autofill { ${fe} }`),Qe(Y.sheet,"@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"),Qe(Y.sheet,"[data-input-otp] + * { pointer-events: all !important; }")}}let ie=()=>{_&&_.style.setProperty("--root-height",`${I.clientHeight}px`)};ie();let J=new ResizeObserver(ie);return J.observe(I),()=>{document.removeEventListener("selectionchange",te,{capture:!0}),J.disconnect()}},[]);let[Z,Q]=l.useState(!1),[ae,pe]=l.useState(!1),[oe,ue]=l.useState(null),[P,A]=l.useState(null);l.useEffect(()=>{Bl(()=>{var I,_,te,ie;(I=$.current)==null||I.dispatchEvent(new Event("input"));let J=(_=$.current)==null?void 0:_.selectionStart,Y=(te=$.current)==null?void 0:te.selectionEnd,fe=(ie=$.current)==null?void 0:ie.selectionDirection;J!==null&&Y!==null&&(ue(J),A(Y),U.current.prev=[J,Y,fe])})},[O,ae]),l.useEffect(()=>{W!==void 0&&O!==W&&W.length<o&&O.length===o&&(g==null||g(O))},[o,g,W,O]);let D=Gl({containerRef:X,inputRef:$,pushPasswordManagerStrategy:p,isFocused:ae}),T=l.useCallback(I=>{let _=I.currentTarget.value.slice(0,o);if(_.length>0&&k&&!k.test(_)){I.preventDefault();return}typeof W=="string"&&_.length<W.length&&document.dispatchEvent(new Event("selectionchange")),K(_)},[o,K,W,k]),E=l.useCallback(()=>{var I;if($.current){let _=Math.min($.current.value.length,o-1),te=$.current.value.length;(I=$.current)==null||I.setSelectionRange(_,te),ue(_),A(te)}pe(!0)},[o]),j=l.useCallback(I=>{var _,te;let ie=$.current;if(!f&&(!q.current.isIOS||!I.clipboardData||!ie))return;let J=I.clipboardData.getData("text/plain"),Y=f?f(J):J;I.preventDefault();let fe=(_=$.current)==null?void 0:_.selectionStart,ye=(te=$.current)==null?void 0:te.selectionEnd,me=(fe!==ye?O.slice(0,fe)+Y+O.slice(ye):O.slice(0,fe)+Y+O.slice(fe)).slice(0,o);if(me.length>0&&k&&!k.test(me))return;ie.value=me,K(me);let we=Math.min(me.length,o-1),Ee=me.length;ie.setSelectionRange(we,Ee),ue(we),A(Ee)},[o,K,k,O]),L=l.useMemo(()=>({position:"relative",cursor:h.disabled?"default":"text",userSelect:"none",WebkitUserSelect:"none",pointerEvents:"none"}),[h.disabled]),z=l.useMemo(()=>({position:"absolute",inset:0,width:D.willPushPWMBadge?`calc(100% + ${D.PWM_BADGE_SPACE_WIDTH})`:"100%",clipPath:D.willPushPWMBadge?`inset(0 ${D.PWM_BADGE_SPACE_WIDTH} 0 0)`:void 0,height:"100%",display:"flex",textAlign:i,opacity:"1",color:"transparent",pointerEvents:"all",background:"transparent",caretColor:"transparent",border:"0 solid transparent",outline:"0 solid transparent",boxShadow:"none",lineHeight:"1",letterSpacing:"-.5em",fontSize:"var(--root-height)",fontFamily:"monospace",fontVariantNumeric:"tabular-nums"}),[D.PWM_BADGE_SPACE_WIDTH,D.willPushPWMBadge,i]),F=l.useMemo(()=>l.createElement("input",$l(Ll({autoComplete:h.autoComplete||"one-time-code"},h),{"data-input-otp":!0,"data-input-otp-placeholder-shown":O.length===0||void 0,"data-input-otp-mss":oe,"data-input-otp-mse":P,inputMode:u,pattern:k==null?void 0:k.source,"aria-placeholder":c,style:z,maxLength:o,value:O,ref:$,onPaste:I=>{var _;j(I),(_=h.onPaste)==null||_.call(h,I)},onChange:T,onMouseOver:I=>{var _;Q(!0),(_=h.onMouseOver)==null||_.call(h,I)},onMouseLeave:I=>{var _;Q(!1),(_=h.onMouseLeave)==null||_.call(h,I)},onFocus:I=>{var _;E(),(_=h.onFocus)==null||_.call(h,I)},onBlur:I=>{var _;pe(!1),(_=h.onBlur)==null||_.call(h,I)}})),[T,E,j,u,z,o,P,oe,h,k==null?void 0:k.source,O]),H=l.useMemo(()=>({slots:Array.from({length:o}).map((I,_)=>{var te;let ie=ae&&oe!==null&&P!==null&&(oe===P&&_===oe||_>=oe&&_<P),J=O[_]!==void 0?O[_]:null,Y=O[0]!==void 0?null:(te=c==null?void 0:c[_])!=null?te:null;return{char:J,placeholderChar:Y,isActive:ie,hasFakeCaret:ie&&J===null}}),isFocused:ae,isHovering:!h.disabled&&Z}),[ae,Z,o,P,oe,h.disabled,O]),G=l.useMemo(()=>d?d(H):l.createElement(os.Provider,{value:H},v),[v,H,d]);return l.createElement(l.Fragment,null,b!==null&&l.createElement("noscript",null,l.createElement("style",null,b)),l.createElement("div",{ref:X,"data-input-otp-container":!0,style:L,className:x},G,l.createElement("div",{style:{position:"absolute",inset:0,pointerEvents:"none"}},F)))});ss.displayName="Input";function Qe(e,t){try{e.insertRule(t)}catch{}}var Kl=`
46
46
  [data-input-otp] {
47
47
  --nojs-bg: white !important;
48
48
  --nojs-fg: black !important;
@@ -62,4 +62,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
62
62
  --nojs-fg: white !important;
63
63
  }
64
64
  }`;exports.Anchor=gr;exports.Arrow=hr;exports.Badge=gs;exports.Check=jr;exports.ChevronDown=fn;exports.Close=bn;exports.Content=vr;exports.Content$1=vo;exports.Description=xo;exports.DismissableLayer=St;exports.FocusScope=Ct;exports.Input=Yn;exports.Lt=ss;exports.Modal=Oi;exports.ModalClose=Li;exports.ModalContent=$i;exports.ModalDescription=Wi;exports.ModalFooter=Bi;exports.ModalHeader=Hi;exports.ModalOverlay=bo;exports.ModalPortal=yo;exports.ModalTitle=Fi;exports.ModalTrigger=ki;exports.Overlay=go;exports.Panel=Nr;exports.PanelGroup=Kr;exports.PanelResizeHandle=qr;exports.Portal=Rt;exports.Portal$1=mo;exports.Presence=at;exports.Primitive=ee;exports.ReactRemoveScroll=jt;exports.Root=fo;exports.Root$1=Ui;exports.Root2=mr;exports.Select=jl;exports.SelectContent=Ml;exports.SelectGroup=Il;exports.SelectItem=Dl;exports.SelectLabel=Tl;exports.SelectScrollDownButton=es;exports.SelectScrollUpButton=Qo;exports.SelectSeparator=_l;exports.SelectTrigger=Al;exports.SelectValue=Nl;exports.Switch=Jn;exports.Title=ho;exports.Trigger=po;exports.WarningProvider=Ti;exports.clamp=Jt;exports.composeEventHandlers=ne;exports.createCollection=Qn;exports.createContextScope=st;exports.createDialogScope=Ri;exports.createLucideIcon=it;exports.createPopperScope=cn;exports.cva=sn;exports.dispatchDiscreteCustomEvent=Zn;exports.hideOthers=dn;exports.jt=os;exports.useCallbackRef=Me;exports.useControllableState=ht;exports.useDirection=er;exports.useFocusGuards=an;exports.useId=Le;exports.useLayoutEffect2=de;exports.usePrevious=wo;
65
- //# sourceMappingURL=index-_sxUNftj.js.map
65
+ //# sourceMappingURL=index-jBeQP53E.js.map