"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("./index.cjs671.js"),me=require("./index.cjs336.js"),Pe=require("./index.cjs531.js"),Ne=require("./index.cjs631.js"),Ce=require("./index.cjs388.js"),Ie=require("./index.cjs391.js"),Se=require("./index.cjs605.js"),ye=require("./index.cjs472.js"),Te=require("./index.cjs527.js"),be=require("./index.cjs672.js"),Oe=require("./index.cjs392.js"),Re=require("./index.cjs421.js"),je=require("./index.cjs505.js"),De=require("./index.cjs673.js"),$e=require("./index.cjs626.js"),we=require("./index.cjs674.js"),ge=require("./index.cjs675.js"),Ue=require("./index.cjs676.js"),Ae=require("./index.cjs338.js"),Le=require("./index.cjs677.js"),He=require("./index.cjs582.js"),ke=require("./index.cjs455.js"),Me=require("./index.cjs457.js"),xe=require("./index.cjs337.js");var K;function Je(){if(K)return z.__exports;K=1;var X=me.__require(),Y=Pe.__require(),d=Ne.__require(),o=Ce.__require(),u=Ie.__require(),R=Se.__require(),j=ye.__require(),Z=Te.__require(),ee=be.__require(),re=Oe.__require(),p=Re.__require(),ie=je.__require(),te=De.__require(),ne=$e.__require(),D=we.__require().set,N=ge.__require(),oe=Ue.__require(),ae=Ae.__require(),ue=Le.__require(),$=He.__require(),q=ke.__require(),C=Me.__require(),w=xe.__require(),E="Promise",g=C.CONSTRUCTOR,se=C.REJECTION_EVENT,ce=C.SUBCLASSING,I=$.getterFor(E),ve=$.set,s=q&&q.prototype,a=q,h=s,U=o.TypeError,S=o.document,y=o.process,T=w.f,le=T,fe=!!(S&&S.createEvent&&o.dispatchEvent),A="unhandledrejection",_e="rejectionhandled",L=0,H=1,de=2,b=1,k=2,m,M,pe,x,J=function(e){var r;return ie(e)&&p(r=e.then)?r:!1},V=function(e,r){var i=r.value,t=r.state===H,n=t?e.ok:e.fail,l=e.resolve,P=e.reject,f=e.domain,_,Q,W;try{n?(t||(r.rejection===k&&Ee(r),r.rejection=b),n===!0?_=i:(f&&f.enter(),_=n(i),f&&(f.exit(),W=!0)),_===e.promise?P(new U("Promise-chain cycle")):(Q=J(_))?u(Q,_,l,P):l(_)):P(i)}catch(he){f&&!W&&f.exit(),P(he)}},B=function(e,r){e.notified||(e.notified=!0,N(function(){for(var i=e.reactions,t;t=i.get();)V(t,e);e.notified=!1,r&&!e.rejection&&qe(e)}))},G=function(e,r,i){var t,n;fe?(t=S.createEvent("Event"),t.promise=r,t.reason=i,t.initEvent(e,!1,!0),o.dispatchEvent(t)):t={promise:r,reason:i},!se&&(n=o["on"+e])?n(t):e===A&&oe("Unhandled promise rejection",i)},qe=function(e){u(D,o,function(){var r=e.facade,i=e.value,t=F(e),n;if(t&&(n=ae(function(){d?y.emit("unhandledRejection",i,r):G(A,r,i)}),e.rejection=d||F(e)?k:b,n.error))throw n.value})},F=function(e){return e.rejection!==b&&!e.parent},Ee=function(e){u(D,o,function(){var r=e.facade;d?y.emit("rejectionHandled",r):G(_e,r,e.value)})},c=function(e,r,i){return function(t){e(r,t,i)}},v=function(e,r,i){e.done||(e.done=!0,i&&(e=i),e.value=r,e.state=de,B(e,!0))},O=function(e,r,i){if(!e.done){e.done=!0,i&&(e=i);try{if(e.facade===r)throw new U("Promise can't be resolved itself");var t=J(r);t?N(function(){var n={done:!1};try{u(t,r,c(O,n,e),c(v,n,e))}catch(l){v(n,l,e)}}):(e.value=r,e.state=H,B(e,!1))}catch(n){v({done:!1},n,e)}}};if(g&&(a=function(r){te(this,h),re(r),u(m,this);var i=I(this);try{r(c(O,i),c(v,i))}catch(t){v(i,t)}},h=a.prototype,m=function(r){ve(this,{type:E,done:!1,notified:!1,parent:!1,reactions:new ue,rejection:!1,state:L,value:void 0})},m.prototype=R(h,"then",function(r,i){var t=I(this),n=T(ne(this,a));return t.parent=!0,n.ok=p(r)?r:!0,n.fail=p(i)&&i,n.domain=d?y.domain:void 0,t.state===L?t.reactions.add(n):N(function(){V(n,t)}),n.promise}),M=function(){var e=new m,r=I(e);this.promise=e,this.resolve=c(O,r),this.reject=c(v,r)},w.f=T=function(e){return e===a||e===pe?new M(e):le(e)},!Y&&p(q)&&s!==Object.prototype)){x=s.then,ce||R(s,"then",function(r,i){var t=this;return new a(function(n,l){u(x,t,n,l)}).then(r,i)},{unsafe:!0});try{delete s.constructor}catch{}j&&j(s,h)}return X({global:!0,constructor:!0,wrap:!0,forced:g},{Promise:a}),Z(a,E,!1,!0),ee(E),z.__exports}exports.__require=Je;
//# sourceMappingURL=index.cjs619.js.map
