import{j as o,r as s,W as f,X as M,Z as k,w as n}from"./index-C-gKvEDq.js";import{D as $,a as u,c as A,b as I,d as z,e as L,f as H,g as G,h as Q}from"./separator-Cnu0xg_i.js";var D="AlertDialog",[V]=k(D,[A]),i=A(),x=e=>{const{__scopeAlertDialog:a,...t}=e,r=i(a);return o.jsx($,{...r,...t,modal:!0})};x.displayName=D;var W="AlertDialogTrigger",X=s.forwardRef((e,a)=>{const{__scopeAlertDialog:t,...r}=e,l=i(t);return o.jsx(Q,{...l,...r,ref:a})});X.displayName=W;var Y="AlertDialogPortal",m=e=>{const{__scopeAlertDialog:a,...t}=e,r=i(a);return o.jsx(I,{...r,...t})};m.displayName=Y;var Z="AlertDialogOverlay",v=s.forwardRef((e,a)=>{const{__scopeAlertDialog:t,...r}=e,l=i(t);return o.jsx(G,{...l,...r,ref:a})});v.displayName=Z;var N="AlertDialogContent",[q,B]=V(N),y=s.forwardRef((e,a)=>{const{__scopeAlertDialog:t,children:r,...l}=e,d=i(t),p=s.useRef(null),F=f(a,p),g=s.useRef(null);return o.jsx(q,{scope:t,cancelRef:g,children:o.jsx(z,{role:"alertdialog",...d,...l,ref:F,onOpenAutoFocus:M(l.onOpenAutoFocus,c=>{c.preventDefault(),g.current?.focus({preventScroll:!0})}),onPointerDownOutside:c=>c.preventDefault(),onInteractOutside:c=>c.preventDefault(),children:r})})});y.displayName=N;var J="AlertDialogTitle",b=s.forwardRef((e,a)=>{const{__scopeAlertDialog:t,...r}=e,l=i(t);return o.jsx(L,{...l,...r,ref:a})});b.displayName=J;var K="AlertDialogDescription",_=s.forwardRef((e,a)=>{const{__scopeAlertDialog:t,...r}=e,l=i(t);return o.jsx(H,{...l,...r,ref:a})});_.displayName=K;var U="AlertDialogAction",R=s.forwardRef((e,a)=>{const{__scopeAlertDialog:t,...r}=e,l=i(t);return o.jsx(u,{...l,...r,ref:a})});R.displayName=U;var j="AlertDialogCancel",C=s.forwardRef((e,a)=>{const{__scopeAlertDialog:t,...r}=e,{cancelRef:l}=B(j,t),d=i(t),p=f(a,l);return o.jsx(u,{...d,...r,ref:p})});C.displayName=j;var ee=x,ae=m,w=v,E=y,P=R,T=C,O=b,S=_;const ge=ee,te=ae,h=s.forwardRef(({className:e,...a},t)=>o.jsx(w,{className:n("fixed inset-0 z-50 bg-black/90 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...a,ref:t}));h.displayName=w.displayName;const oe=s.forwardRef(({className:e,...a},t)=>o.jsxs(te,{children:[o.jsx(h,{}),o.jsx(E,{ref:t,className:n("fixed left-[50%] top-[50%] z-50 grid w-[400px] translate-x-[-50%] translate-y-[-50%] gap-0 bg-[#FFFFFF] p-0 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%]","rounded-[8px] shadow-[0px_8px_16px_0px_rgba(28,32,44,0.5)]",e),...a})]}));oe.displayName=E.displayName;const re=({className:e,...a})=>o.jsx("div",{className:n("flex items-center justify-between h-[70px] px-5 py-5 border-b border-gray-200",e),...a});re.displayName="AlertDialogHeader";const se=({className:e,...a})=>o.jsx("div",{className:n("flex items-center justify-start h-[92px] px-5 py-6 gap-3 border-t border-gray-200",e),...a});se.displayName="AlertDialogFooter";const le=s.forwardRef(({className:e,...a},t)=>o.jsx(O,{ref:t,className:n("text-lg font-bold text-foreground",e),...a}));le.displayName=O.displayName;const ie=s.forwardRef(({className:e,...a},t)=>o.jsx(S,{ref:t,className:n("text-sm text-muted-foreground text-center px-5 py-8 min-h-[112px] flex items-center justify-center",e),...a}));ie.displayName=S.displayName;const ne=s.forwardRef(({className:e,...a},t)=>o.jsx(P,{ref:t,className:n("inline-flex items-center justify-center rounded-[52px] text-base font-bold h-[44px] px-5 text-white bg-[#51A196] hover:bg-[#51A196]/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 transition-colors","font-['Quicksand'] leading-6 tracking-[-0.01em]",e),...a}));ne.displayName=P.displayName;const ce=s.forwardRef(({className:e,...a},t)=>o.jsx(T,{ref:t,className:n("inline-flex items-center justify-center rounded-[52px] text-base font-bold h-[44px] px-5 bg-background dark:bg-card border border-foreground dark:border-border hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 transition-colors","font-['Quicksand'] leading-6 tracking-[-0.01em]",e),...a}));ce.displayName=T.displayName;export{ge as A,T as C,oe as a,re as b,le as c,ie as d,se as e,ne as f,ce as g};
