1import{q as d,bT as a,b5 as l,d as u,Q as f}from"./CClqzCiE.js";import{_ as p}from"./BP5IZ2Ul.js";function x(e){return new Promise((s,r)=>{const n=document.createElement("div");document.body.appendChild(n);const c=d(!0),o=()=>{c.value=!1},m=()=>{a(null,n),document.body.removeChild(n)},i=u({setup(){return()=>l(p,{open:c.value,title:e.title,message:e.message,icon:e.icon,confirmText:e.confirmText,cancelText:e.cancelText,confirmButtonVariant:e.confirmButtonVariant,onConfirm:async()=>{try{const t=await e.action();s(t),f(1e3).then(()=>{o()})}catch(t){throw r(t),t}},onClose:()=>{r(new Error("Modal cancelled")),o()},onClosed:m})}});a(l(i),n)})}export{x as c};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.