on-popup-reopen-965edd2a.js 335 B

1
  1. import{U as a,j as n}from"./index-f8f67ba0.js";import{W as e,w as r}from"./index-b63c6ed2.js";function c(s,{args:t=[],done:o,canceled:i,error:p}){if(s){const f=s.apply(null,t);a(f)?f.then(l=>{l?o():i&&i()}).catch(p||n):f?o():i&&i()}else o()}const u=Symbol();function h(s){const t=e(u,null);t&&r(t,o=>{o&&s()})}export{u as P,c,h as o};