import{a2 as e,a3 as a,j as s,a4 as t,a5 as r,a6 as o,a7 as d,a8 as i,a9 as l,aa as n,ab as c,ac as m,ad as p,ae as f,af as x,ag as u}from"./ui-vendor-CJlQk0Tq.js";import{r as N}from"./react-vendor-f6QdChhz.js";import{N as h,ar as y,aq as g,Q as j}from"./index-BzXujQ-F.js";const b=e,w=u,v=a,R=N.forwardRef(({className:e,children:a,...o},d)=>s.jsxs(t,{ref:d,className:h("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...o,children:[a,s.jsx(r,{asChild:!0,children:s.jsx(y,{className:"h-4 w-4 opacity-50"})})]}));R.displayName=t.displayName;const z=N.forwardRef(({className:e,...a},t)=>s.jsx(o,{ref:t,className:h("flex cursor-default items-center justify-center py-2 sticky top-0 bg-gradient-to-b from-popover via-popover to-transparent z-10",e),...a,children:s.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[s.jsx("span",{className:"text-[10px] text-muted-foreground font-medium",children:"More"}),s.jsx(g,{className:"h-5 w-5 text-primary animate-bounce"})]})}));z.displayName=o.displayName;const k=N.forwardRef(({className:e,...a},t)=>s.jsx(d,{ref:t,className:h("flex cursor-default items-center justify-center py-2 sticky bottom-0 bg-gradient-to-t from-popover via-popover to-transparent z-10",e),...a,children:s.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[s.jsx(y,{className:"h-5 w-5 text-primary animate-bounce"}),s.jsx("span",{className:"text-[10px] text-muted-foreground font-medium",children:"More"})]})}));k.displayName=d.displayName;const M=N.forwardRef(({className:e,children:a,position:t="popper",...r},o)=>s.jsx(i,{children:s.jsxs(l,{ref:o,className:h("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover 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","popper"===t&&"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:t,...r,children:[s.jsx(z,{}),s.jsx(n,{className:h("p-1","popper"===t&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),s.jsx(k,{})]})}));M.displayName=l.displayName;const q=N.forwardRef(({className:e,...a},t)=>s.jsx(c,{ref:t,className:h("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...a}));q.displayName=c.displayName;const C=N.forwardRef(({className:e,children:a,...t},r)=>s.jsxs(m,{ref:r,className:h("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(p,{children:s.jsx(j,{className:"h-4 w-4"})})}),s.jsx(f,{children:a})]}));C.displayName=m.displayName;N.forwardRef(({className:e,...a},t)=>s.jsx(x,{ref:t,className:h("-mx-1 my-1 h-px bg-muted",e),...a})).displayName=x.displayName;export{b as S,R as a,v as b,M as c,C as d,w as e,q as f};