import{D as e,cP as c,K as n,o as a,cR as l,cS as g,dy as i,cT as d,aw as s,cO as u}from"./index-CNZMR1GT.js";const m=o=>{const r=a();return e(u,{children:({onClose:t})=>[e(c,{as:n,colorScheme:"danger",get children(){return r("global.delete")}}),e(l,{get children(){return[e(g,{}),e(i,{get children(){return r("global.delete_confirm",{name:o.name})}}),e(d,{get children(){return e(s,{spacing:"$2",get children(){return[e(n,{onClick:t,colorScheme:"neutral",get children(){return r("global.cancel")}}),e(n,{colorScheme:"danger",get loading(){return o.loading},get onClick(){return o.onClick},get children(){return r("global.confirm")}})]}})}})]}})]})};export{m as D};
