import{a as e}from"./rolldown-runtime-Cyuzqnbw.js";import{a as t,o as n}from"./vendor-motion-COLzAB1Q.js";import{B as r,G as i,H as a,K as o,U as s,V as c,W as l,q as u}from"./vendor-ui-Cuqtliu0.js";import{m as d,p as f}from"./index-DLFWvoW-.js";var p=e(n(),1),m=t(),h=i,g=u,_=l,v=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(s,{ref:n,className:f(`fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t}));v.displayName=s.displayName;var y=p.forwardRef(({className:e,children:t,...n},i)=>(0,m.jsxs)(_,{children:[(0,m.jsx)(v,{}),(0,m.jsxs)(c,{ref:i,className:f(`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg`,e),...n,children:[t,(0,m.jsxs)(r,{className:`absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none`,children:[(0,m.jsx)(d,{className:`h-4 w-4`}),(0,m.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));y.displayName=c.displayName;var b=({className:e,...t})=>(0,m.jsx)(`div`,{className:f(`flex flex-col space-y-1.5 text-center sm:text-left`,e),...t});b.displayName=`DialogHeader`;var x=({className:e,...t})=>(0,m.jsx)(`div`,{className:f(`flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2`,e),...t});x.displayName=`DialogFooter`;var S=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(o,{ref:n,className:f(`text-lg font-semibold leading-none tracking-tight`,e),...t}));S.displayName=o.displayName;var C=p.forwardRef(({className:e,...t},n)=>(0,m.jsx)(a,{ref:n,className:f(`text-sm text-muted-foreground`,e),...t}));C.displayName=a.displayName;export{g as a,S as i,y as n,b as r,h as t};