System.register(["./index-legacy.2ae28dc5.js"],(function(n){"use strict";var t,e,o,l,a,r,c;return{setters:[function(n){t=n.N,e=n.a6,o=n.aX,l=n.aY,a=n.k,r=n.z,c=n.aZ}],execute:function(){var s;n("a",i);var u=t({},{title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1});function i(n){return e?new Promise((function(e,i){var f;s||(f=o({setup:function(){var n=l(),t=n.state,e=n.toggle;return function(){return a(c,r(t,{"onUpdate:show":e}),null)}}}),s=f.instance),s.open(t({},u,n,{callback:function(n){("confirm"===n?e:i)(n)}}))})):Promise.resolve()}n("s",(function(n){return i(t({showCancelButton:!0},n))}))}}}));
