import{r as i,j as s}from"./main.js";import{R as f,P as p,C as l,a as g,T as n,D as d,O as r}from"./index-ZfCd-qu9.js";import{b as o}from"./button-D4VgS8ri.js";import{X as x}from"./x-CArTv3Mk.js";const C=f,u=p,c=i.forwardRef(({className:a,...e},t)=>s.jsx(r,{ref:t,className:o("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",a),...e}));c.displayName=r.displayName;const y=i.forwardRef(({className:a,children:e,...t},m)=>s.jsxs(u,{children:[s.jsx(c,{}),s.jsxs(l,{ref:m,className:o("bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",a),...t,children:[e,s.jsxs(g,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",children:[s.jsx(x,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));y.displayName=l.displayName;const N=({className:a,...e})=>s.jsx("div",{className:o("flex flex-col space-y-1.5 text-center sm:text-left",a),...e});N.displayName="DialogHeader";const j=({className:a,...e})=>s.jsx("div",{className:o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...e});j.displayName="DialogFooter";const D=i.forwardRef(({className:a,...e},t)=>s.jsx(n,{ref:t,className:o("text-lg leading-none font-semibold tracking-tight",a),...e}));D.displayName=n.displayName;const b=i.forwardRef(({className:a,...e},t)=>s.jsx(d,{ref:t,className:o("text-muted-foreground text-sm",a),...e}));b.displayName=d.displayName;export{C as D,y as a,N as b,D as c,j as d,b as e};
