import{V as s,c as d}from"./dav-D-0Zsvk_.chunk.mjs";function m(i,e={},n={},t=()=>{}){typeof n=="function"&&(t=n,n={});let{container:o}=n;"container"in e&&typeof e.container=="string"&&(o??=e.container);const r=(typeof o=="string"&&document.querySelector(o)||document.body).appendChild(document.createElement("div")),c=new s({el:r,name:"VueDialogHelper",render:a=>a(i,{props:{container:null,...e},on:{close:(...p)=>{t(...p.map(l=>d(l))),c.$destroy(),r.remove()}}})});return c}export{m as s};
//# sourceMappingURL=dialog-DpWAQEF7.chunk.mjs.map
