import{j as t,r}from"./vendor-react-wBh_31cN.js";import{d}from"./index-dNe6i2rS.js";import{a6 as s,aa as i}from"./vendor-icons-BUUmD6ht.js";import{i as u,j as c,k as p,l,I as m,m as f,n as g,o as x,p as v,L as b,q as w,r as h,t as j}from"./vendor-radix-BRyWS4bQ.js";function _({...e}){return t.jsx(u,{"data-slot":"dropdown-menu",...e})}const D=r.forwardRef(({...e},o)=>t.jsx(c,{ref:o,"data-slot":"dropdown-menu-trigger",...e}));D.displayName="DropdownMenuTrigger";function R({className:e,align:o="start",sideOffset:a=4,...n}){return t.jsx(p,{children:t.jsx(l,{"data-slot":"dropdown-menu-content",sideOffset:a,align:o,className:d("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-md duration-100 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 data-[state=closed]:overflow-hidden data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...n})})}function S({className:e,inset:o,variant:a="default",...n}){return t.jsx(m,{"data-slot":"dropdown-menu-item","data-inset":o,"data-variant":a,className:d("group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",e),...n})}function I({...e}){return t.jsx(g,{"data-slot":"dropdown-menu-radio-group",...e})}function k({className:e,children:o,inset:a,...n}){return t.jsxs(x,{"data-slot":"dropdown-menu-radio-item","data-inset":a,className:d("relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[t.jsx("span",{className:"pointer-events-none absolute right-2 flex items-center justify-center","data-slot":"dropdown-menu-radio-item-indicator",children:t.jsx(v,{children:t.jsx(s,{})})}),o]})}function C({className:e,inset:o,...a}){return t.jsx(b,{"data-slot":"dropdown-menu-label","data-inset":o,className:d("px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",e),...a})}function T({className:e,...o}){return t.jsx(f,{"data-slot":"dropdown-menu-separator",className:d("-mx-1 my-1 h-px bg-border",e),...o})}function L({...e}){return t.jsx(w,{"data-slot":"dropdown-menu-sub",...e})}function E({className:e,inset:o,children:a,...n}){return t.jsxs(h,{"data-slot":"dropdown-menu-sub-trigger","data-inset":o,className:d("flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[a,t.jsx(i,{className:"ml-auto"})]})}function G({className:e,...o}){return t.jsx(j,{"data-slot":"dropdown-menu-sub-content",className:d("z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-lg border border-border bg-popover p-1 text-popover-foreground shadow-lg duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",e),...o})}export{_ as D,D as a,R as b,S as c,T as d,I as e,k as f,C as g,L as h,E as i,G as j};
