import{j as e}from"./vendor-react-yWUy5XPk.js";import{D as m}from"./index-CYK_b1Uz.js";import{b as o}from"./vendor-icons-DJFb1Tiw.js";function j({open:t,onClose:s,onConfirm:a,title:i,description:c,confirmLabel:l="Confirm",cancelLabel:x="Cancel",variant:n="destructive",isLoading:r=!1}){const d=()=>{r||a()};return e.jsx(m,{open:t,onClose:s,title:i,onConfirm:d,confirmLabel:r?"Processing...":l,onCancel:s,showCancel:!0,children:e.jsx("div",{className:"space-y-4 py-4",children:e.jsxs("div",{className:"flex items-start gap-4",children:[n==="destructive"&&e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-destructive/10 dark:bg-destructive/20",children:e.jsx(o,{className:"h-5 w-5 text-destructive dark:text-destructive"})})}),e.jsx("div",{className:"flex-1",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:c})})]})})})}export{j as C};