import{A as e,F as t,I as n,L as r,M as i,N as a,P as o,at as s,et as c,j as l}from"./vendor-ui-CWUk2ulb.js";import{t as u}from"./utils-XFKvwlFT.js";var d=s();function f({...e}){return(0,d.jsx)(l,{"data-slot":`dropdown-menu`,...e})}function p({...t}){return(0,d.jsx)(e,{"data-slot":`dropdown-menu-trigger`,...t})}function m({align:e=`start`,alignOffset:t=0,side:n=`bottom`,sideOffset:r=4,className:s,...c}){return(0,d.jsx)(a,{children:(0,d.jsx)(i,{className:`isolate z-50 outline-none`,align:e,alignOffset:t,side:n,sideOffset:r,children:(0,d.jsx)(o,{"data-slot":`dropdown-menu-content`,className:u(`z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-[var(--miravo-radius-stadium-sm)] bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95`,s),...c})})})}function h({...e}){return(0,d.jsx)(r,{"data-slot":`dropdown-menu-group`,...e})}function g({className:e,inset:t,...r}){return(0,d.jsx)(n,{"data-slot":`dropdown-menu-label`,"data-inset":t,className:u(`px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7`,e),...r})}function _({className:e,inset:n,variant:r=`default`,...i}){return(0,d.jsx)(t,{"data-slot":`dropdown-menu-item`,"data-inset":n,"data-variant":r,className:u(`group/dropdown-menu-item relative flex cursor-pointer items-center gap-1.5 rounded-[var(--miravo-radius-tight)] px-1.5 py-1 text-sm outline-hidden select-none data-[highlighted]:bg-sidebar-accent data-[highlighted]:text-sidebar-accent-foreground not-data-[variant=destructive]:data-[highlighted]:**:text-sidebar-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:data-[highlighted]:bg-destructive/10 data-[variant=destructive]:data-[highlighted]:text-destructive data-[variant=destructive]:data-[highlighted]: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),...i})}function v({className:e,...t}){return(0,d.jsx)(c,{"data-slot":`dropdown-menu-separator`,className:u(`-mx-1 my-1 h-px bg-border`,e),...t})}export{g as a,_ as i,m as n,v as o,h as r,p as s,f as t};