import{r as i,j as a}from"./app-C7YxHmQz.js";import{R as p,T as f,P as g,C as n,a as x,b as d,D as l,O as r}from"./index-w2AxdR7H.js";import{c as o}from"./utils-DjqsqOe8.js";import{X as u}from"./x-Dr1RcXTX.js";const C=p,T=f,y=g,c=i.forwardRef(({className:t,...e},s)=>a.jsx(r,{ref:s,className:o("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",t),...e}));c.displayName=r.displayName;const N=i.forwardRef(({className:t,children:e,...s},m)=>a.jsxs(y,{children:[a.jsx(c,{}),a.jsxs(n,{ref:m,className:o("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",t),...s,children:[e,a.jsxs(x,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[a.jsx(u,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));N.displayName=n.displayName;const D=({className:t,...e})=>a.jsx("div",{className:o("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});D.displayName="DialogHeader";const b=i.forwardRef(({className:t,...e},s)=>a.jsx(d,{ref:s,className:o("text-lg font-semibold leading-none tracking-tight",t),...e}));b.displayName=d.displayName;const j=i.forwardRef(({className:t,...e},s)=>a.jsx(l,{ref:s,className:o("text-sm text-muted-foreground",t),...e}));j.displayName=l.displayName;export{C as D,T as a,N as b,D as c,b as d,j as e};
