import{K as o}from"./main-5345dc77.js";const a=()=>import("./c.030afec5.js"),i=(i,l,n)=>new Promise(c=>{const m=l.cancel,r=l.confirm;o(i,"show-dialog",{dialogTag:"dialog-box",dialogImport:a,dialogParams:{...l,...n,cancel:()=>{c(!(null==n||!n.prompt)&&null),m&&m()},confirm:o=>{c(null==n||!n.prompt||o),r&&r(o)}}})}),l=(o,a)=>i(o,a),n=(o,a)=>i(o,a,{confirmation:!0});export{l as a,n as s};
