import{E as e,cT as r,a8 as n,q as c,cV as l,cW as a,dD as t,cX as o,ao as g,cS as i}from"./index-C-dDkA_D.js";const s=s=>{const d=c();return e(i,{children:({onClose:c})=>[e(r,{as:n,colorScheme:"danger",get children(){return d("global.delete")}}),e(l,{get children(){return[e(a,{}),e(t,{get children(){return d("global.delete_confirm",{name:s.name})}}),e(o,{get children(){return e(g,{spacing:"$2",get children(){return[e(n,{onClick:c,colorScheme:"neutral",get children(){return d("global.cancel")}}),e(n,{colorScheme:"danger",get loading(){return s.loading},get onClick(){return s.onClick},get children(){return d("global.confirm")}})]}})}})]}})]})};export{s as D};
