import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{_ as t}from"./vendor-charts-Bu2lyBKP.js";import{At as n,Dt as r,Ft as i,It as a,Lt as o,Mt as s,Nt as c,Ot as l,Pt as u,Rt as d,jt as f,kt as p}from"./vendor-radix-JY4ncZrD.js";import{o as m}from"./vendor-query-DsWPbQdG.js";import{r as h,t as g}from"./utils-3pnRFmFe.js";import{l as _}from"./switch-C7W2-KEx.js";import{t as v}from"./chevron-right-CR4Skrf3.js";import{t as y}from"./circle-S0-ouLz-.js";var b=h(`EllipsisVertical`,[[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}]]),x=e(t(),1),S=m(),C=u,w=d,T=x.forwardRef(({className:e,inset:t,children:n,...r},i)=>(0,S.jsxs)(o,{ref:i,className:g(`flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent`,t&&`pl-8`,e),...r,children:[n,(0,S.jsx)(v,{className:`ml-auto h-4 w-4`})]}));T.displayName=o.displayName;var E=x.forwardRef(({className:e,...t},n)=>(0,S.jsx)(a,{ref:n,className:g(`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`,e),...t}));E.displayName=a.displayName;var D=x.forwardRef(({className:e,sideOffset:t=4,...n},r)=>(0,S.jsx)(s,{children:(0,S.jsx)(l,{ref:r,sideOffset:t,className:g(`z-50 min-w-[8rem] overflow-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`,e),...n})}));D.displayName=l.displayName;var O=x.forwardRef(({className:e,inset:t,...n},r)=>(0,S.jsx)(p,{ref:r,className:g(`relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground`,t&&`pl-8`,e),...n}));O.displayName=p.displayName;var k=x.forwardRef(({className:e,children:t,checked:i,...a},o)=>(0,S.jsxs)(r,{ref:o,className:g(`relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground`,e),checked:i,...a,children:[(0,S.jsx)(`span`,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,S.jsx)(n,{children:(0,S.jsx)(_,{className:`h-4 w-4`})})}),t]}));k.displayName=r.displayName;var A=x.forwardRef(({className:e,children:t,...r},i)=>(0,S.jsxs)(c,{ref:i,className:g(`relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground`,e),...r,children:[(0,S.jsx)(`span`,{className:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`,children:(0,S.jsx)(n,{children:(0,S.jsx)(y,{className:`h-2 w-2 fill-current`})})}),t]}));A.displayName=c.displayName;var j=x.forwardRef(({className:e,inset:t,...n},r)=>(0,S.jsx)(f,{ref:r,className:g(`px-2 py-1.5 text-sm font-semibold`,t&&`pl-8`,e),...n}));j.displayName=f.displayName;var M=x.forwardRef(({className:e,...t},n)=>(0,S.jsx)(i,{ref:n,className:g(`-mx-1 my-1 h-px bg-muted`,e),...t}));M.displayName=i.displayName;var N=({className:e,...t})=>(0,S.jsx)(`span`,{className:g(`ml-auto text-xs tracking-widest opacity-60`,e),...t});N.displayName=`DropdownMenuShortcut`;export{M as a,j as i,D as n,w as o,O as r,b as s,C as t};