import{b0 as g,b1 as w,r as n,j as e,b2 as h,b3 as i,b4 as l,b5 as c,b6 as m,b7 as p,w as N,b8 as f,b9 as u,ba as x,k as y,bb as b,bc as v}from"./vendor-laZsiqLO.js";import{c as d}from"./utils-RgT4yCq8.js";const _=g,E=w,j=n.forwardRef(({className:a,inset:t,children:o,...s},r)=>e.jsxs(p,{ref:r,className:d("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",a),...s,children:[o,e.jsx(N,{className:"ml-auto"})]}));j.displayName=p.displayName;const R=n.forwardRef(({className:a,...t},o)=>e.jsx(f,{ref:o,className:d("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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 origin-[--radix-dropdown-menu-content-transform-origin]",a),...t}));R.displayName=f.displayName;const D=n.forwardRef(({className:a,sideOffset:t=4,...o},s)=>e.jsx(h,{children:e.jsx(i,{ref:s,sideOffset:t,className:d("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","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 origin-[--radix-dropdown-menu-content-transform-origin]",a),...o})}));D.displayName=i.displayName;const M=n.forwardRef(({className:a,inset:t,...o},s)=>e.jsx(m,{ref:s,className:d("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",a),...o}));M.displayName=m.displayName;const C=n.forwardRef(({className:a,children:t,checked:o,...s},r)=>e.jsxs(u,{ref:r,className:d("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:o,...s,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(x,{children:e.jsx(y,{className:"h-4 w-4"})})}),t]}));C.displayName=u.displayName;const z=n.forwardRef(({className:a,children:t,...o},s)=>e.jsxs(b,{ref:s,className:d("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(x,{children:e.jsx(v,{className:"h-2 w-2 fill-current"})})}),t]}));z.displayName=b.displayName;const I=n.forwardRef(({className:a,inset:t,...o},s)=>e.jsx(l,{ref:s,className:d("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",a),...o}));I.displayName=l.displayName;const k=n.forwardRef(({className:a,...t},o)=>e.jsx(c,{ref:o,className:d("-mx-1 my-1 h-px bg-muted",a),...t}));k.displayName=c.displayName;export{_ as D,E as a,D as b,M as c,I as d,k as e};
