UNPKG

nim-web-sdk-ng

Version:

Yunxin IM SDK next generation

15 lines (14 loc) 456 kB
/** * * Version: 10.9.10 * * Git Hash: 030de1cce227d21d595df684cb01842578a9a774 * * Created At: 6/18/2025, 10:09:13 AM * * Target: CHATROOM_BROWSER_SDK.js * */ !function(t,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define(["exports"],a):a((t="undefined"!=typeof globalThis?globalThis:t||self).Chatroom={})}(this,(function(t){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function createCommonjsModule(t){var a={exports:{}};return t(a,a.exports),a.exports}var u,_,check=function(t){return t&&t.Math==Math&&t},h=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof a&&a)||function(){return this}()||Function("return this")(),fails=function(t){try{return!!t()}catch(t){return!0}},E=!fails((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),m=Function.prototype,g=m.apply,I=m.call,T="object"==typeof Reflect&&Reflect.apply||(E?I.bind(g):function(){return I.apply(g,arguments)}),N=Function.prototype,M=N.bind,O=N.call,S=E&&M.bind(O,O),R=E?function(t){return t&&S(t)}:function(t){return t&&function(){return O.apply(t,arguments)}},isCallable=function(t){return"function"==typeof t},C=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),A=Function.prototype.call,b=E?A.bind(A):function(){return A.apply(A,arguments)},L={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,D={f:k&&!L.call({1:2},1)?function propertyIsEnumerable(t){var a=k(this,t);return!!a&&a.enumerable}:L},createPropertyDescriptor=function(t,a){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:a}},V=R({}.toString),w=R("".slice),classofRaw=function(t){return w(V(t),8,-1)},P=Object,x=R("".split),U=fails((function(){return!P("z").propertyIsEnumerable(0)}))?function(t){return"String"==classofRaw(t)?x(t,""):P(t)}:P,isNullOrUndefined=function(t){return null==t},B=TypeError,requireObjectCoercible=function(t){if(isNullOrUndefined(t))throw B("Can't call method on "+t);return t},toIndexedObject=function(t){return U(requireObjectCoercible(t))},G="object"==typeof document&&document.all,H=void 0===G&&void 0!==G?function(t){return"object"==typeof t?null!==t:isCallable(t)||t===G}:function(t){return"object"==typeof t?null!==t:isCallable(t)},Y={},aFunction=function(t){return isCallable(t)?t:void 0},getBuiltIn=function(t,a){return arguments.length<2?aFunction(Y[t])||aFunction(h[t]):Y[t]&&Y[t][a]||h[t]&&h[t][a]},j=R({}.isPrototypeOf),K=getBuiltIn("navigator","userAgent")||"",q=h.process,W=h.Deno,z=q&&q.versions||W&&W.version,$=z&&z.v8;$&&(_=(u=$.split("."))[0]>0&&u[0]<4?1:+(u[0]+u[1])),!_&&K&&(!(u=K.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=K.match(/Chrome\/(\d+)/))&&(_=+u[1]);var X=_,Q=!!Object.getOwnPropertySymbols&&!fails((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&X&&X<41})),J=Q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=Object,ee=J?function(t){return"symbol"==typeof t}:function(t){var a=getBuiltIn("Symbol");return isCallable(a)&&j(a.prototype,Z(t))},te=String,tryToString=function(t){try{return te(t)}catch(t){return"Object"}},re=TypeError,aCallable=function(t){if(isCallable(t))return t;throw re(tryToString(t)+" is not a function")},getMethod=function(t,a){var u=t[a];return isNullOrUndefined(u)?void 0:aCallable(u)},ne=TypeError,oe=Object.defineProperty,ie="__core-js_shared__",ae=h[ie]||function(t,a){try{oe(h,t,{value:a,configurable:!0,writable:!0})}catch(u){h[t]=a}return a}(ie,{}),se=createCommonjsModule((function(t){(t.exports=function(t,a){return ae[t]||(ae[t]=void 0!==a?a:{})})("versions",[]).push({version:"3.25.0",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),ce=Object,toObject=function(t){return ce(requireObjectCoercible(t))},le=R({}.hasOwnProperty),ue=Object.hasOwn||function hasOwn(t,a){return le(toObject(t),a)},de=0,_e=Math.random(),pe=R(1..toString),uid=function(t){return"Symbol("+(void 0===t?"":t)+")_"+pe(++de+_e,36)},he=se("wks"),fe=h.Symbol,Ee=fe&&fe.for,me=J?fe:fe&&fe.withoutSetter||uid,wellKnownSymbol=function(t){if(!ue(he,t)||!Q&&"string"!=typeof he[t]){var a="Symbol."+t;Q&&ue(fe,t)?he[t]=fe[t]:he[t]=J&&Ee?Ee(a):me(a)}return he[t]},ge=TypeError,Ie=wellKnownSymbol("toPrimitive"),toPrimitive=function(t,a){if(!H(t)||ee(t))return t;var u,_=getMethod(t,Ie);if(_){if(void 0===a&&(a="default"),u=b(_,t,a),!H(u)||ee(u))return u;throw ge("Can't convert object to primitive value")}return void 0===a&&(a="number"),function(t,a){var u,_;if("string"===a&&isCallable(u=t.toString)&&!H(_=b(u,t)))return _;if(isCallable(u=t.valueOf)&&!H(_=b(u,t)))return _;if("string"!==a&&isCallable(u=t.toString)&&!H(_=b(u,t)))return _;throw ne("Can't convert object to primitive value")}(t,a)},toPropertyKey=function(t){var a=toPrimitive(t,"string");return ee(a)?a:a+""},ve=h.document,Te=H(ve)&&H(ve.createElement),documentCreateElement=function(t){return Te?ve.createElement(t):{}},Ne=!C&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),Me=Object.getOwnPropertyDescriptor,Oe={f:C?Me:function getOwnPropertyDescriptor(t,a){if(t=toIndexedObject(t),a=toPropertyKey(a),Ne)try{return Me(t,a)}catch(t){}if(ue(t,a))return createPropertyDescriptor(!b(D.f,t,a),t[a])}},Se=/#|\.prototype\./,isForced=function(t,a){var u=Ce[Re(t)];return u==Ae||u!=ye&&(isCallable(a)?fails(a):!!a)},Re=isForced.normalize=function(t){return String(t).replace(Se,".").toLowerCase()},Ce=isForced.data={},ye=isForced.NATIVE="N",Ae=isForced.POLYFILL="P",be=isForced,Le=R(R.bind),functionBindContext=function(t,a){return aCallable(t),void 0===a?t:E?Le(t,a):function(){return t.apply(a,arguments)}},ke=C&&fails((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),De=String,Ve=TypeError,anObject=function(t){if(H(t))return t;throw Ve(De(t)+" is not an object")},we=TypeError,Pe=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Ue="enumerable",Fe="configurable",Be="writable",Ge={f:C?ke?function defineProperty(t,a,u){if(anObject(t),a=toPropertyKey(a),anObject(u),"function"==typeof t&&"prototype"===a&&"value"in u&&Be in u&&!u.writable){var _=xe(t,a);_&&_.writable&&(t[a]=u.value,u={configurable:Fe in u?u.configurable:_.configurable,enumerable:Ue in u?u.enumerable:_.enumerable,writable:!1})}return Pe(t,a,u)}:Pe:function defineProperty(t,a,u){if(anObject(t),a=toPropertyKey(a),anObject(u),Ne)try{return Pe(t,a,u)}catch(t){}if("get"in u||"set"in u)throw we("Accessors not supported");return"value"in u&&(t[a]=u.value),t}},He=C?function(t,a,u){return Ge.f(t,a,createPropertyDescriptor(1,u))}:function(t,a,u){return t[a]=u,t},Ye=Oe.f,wrapConstructor=function(t){var Wrapper=function(a,u,_){if(this instanceof Wrapper){switch(arguments.length){case 0:return new t;case 1:return new t(a);case 2:return new t(a,u)}return new t(a,u,_)}return T(t,this,arguments)};return Wrapper.prototype=t.prototype,Wrapper},_export=function(t,a){var u,_,E,m,g,I,T,N,M=t.target,O=t.global,S=t.stat,C=t.proto,A=O?h:S?h[M]:(h[M]||{}).prototype,b=O?Y:Y[M]||He(Y,M,{})[M],L=b.prototype;for(E in a)u=!be(O?E:M+(S?".":"#")+E,t.forced)&&A&&ue(A,E),g=b[E],u&&(I=t.dontCallGetSet?(N=Ye(A,E))&&N.value:A[E]),m=u&&I?I:a[E],u&&typeof g==typeof m||(T=t.bind&&u?functionBindContext(m,h):t.wrap&&u?wrapConstructor(m):C&&isCallable(m)?R(m):m,(t.sham||m&&m.sham||g&&g.sham)&&He(T,"sham",!0),He(b,E,T),C&&(ue(Y,_=M+"Prototype")||He(Y,_,{}),He(Y[_],E,m),t.real&&L&&!L[E]&&He(L,E,m)))},je=Ge.f;_export({target:"Object",stat:!0,forced:Object.defineProperty!==je,sham:!C},{defineProperty:je});var Ke,qe=createCommonjsModule((function(t){var a=Y.Object,u=t.exports=function defineProperty(t,u,_){return a.defineProperty(t,u,_)};a.defineProperty.sham&&(u.sham=!0)})),We=qe,ze=getDefaultExportFromCjs(createCommonjsModule((function(t){function _defineProperties(t,a){for(var u=0;u<a.length;u++){var _=a[u];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),We(t,_.key,_)}}t.exports=function _createClass(t,a,u){return a&&_defineProperties(t.prototype,a),u&&_defineProperties(t,u),We(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}))),$e=getDefaultExportFromCjs(createCommonjsModule((function(t){t.exports=function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports}))),Xe=Math.ceil,Qe=Math.floor,Je=Math.trunc||function trunc(t){var a=+t;return(a>0?Qe:Xe)(a)},toIntegerOrInfinity=function(t){var a=+t;return a!=a||0===a?0:Je(a)},Ze=Math.max,et=Math.min,toAbsoluteIndex=function(t,a){var u=toIntegerOrInfinity(t);return u<0?Ze(u+a,0):et(u,a)},tt=Math.min,lengthOfArrayLike=function(t){return(a=t.length)>0?tt(toIntegerOrInfinity(a),9007199254740991):0;var a},createMethod$5=function(t){return function(a,u,_){var h,E=toIndexedObject(a),m=lengthOfArrayLike(E),g=toAbsoluteIndex(_,m);if(t&&u!=u){for(;m>g;)if((h=E[g++])!=h)return!0}else for(;m>g;g++)if((t||g in E)&&E[g]===u)return t||g||0;return!t&&-1}},rt={includes:createMethod$5(!0),indexOf:createMethod$5(!1)},nt={},ot=rt.indexOf,it=R([].push),objectKeysInternal=function(t,a){var u,_=toIndexedObject(t),h=0,E=[];for(u in _)!ue(nt,u)&&ue(_,u)&&it(E,u);for(;a.length>h;)ue(_,u=a[h++])&&(~ot(E,u)||it(E,u));return E},at=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],st=Object.keys||function keys(t){return objectKeysInternal(t,at)},ct=C&&!ke?Object.defineProperties:function defineProperties(t,a){anObject(t);for(var u,_=toIndexedObject(a),h=st(a),E=h.length,m=0;E>m;)Ge.f(t,u=h[m++],_[u]);return t},lt={f:ct},ut=getBuiltIn("document","documentElement"),dt=se("keys"),sharedKey=function(t){return dt[t]||(dt[t]=uid(t))},_t=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"<script>"+t+"</"+"script>"},NullProtoObjectViaActiveX=function(t){t.write(scriptTag("")),t.close();var a=t.parentWindow.Object;return t=null,a},NullProtoObject=function(){try{Ke=new ActiveXObject("htmlfile")}catch(t){}var t,a;NullProtoObject="undefined"!=typeof document?document.domain&&Ke?NullProtoObjectViaActiveX(Ke):((a=documentCreateElement("iframe")).style.display="none",ut.appendChild(a),a.src=String("javascript:"),(t=a.contentWindow.document).open(),t.write(scriptTag("document.F=Object")),t.close(),t.F):NullProtoObjectViaActiveX(Ke);for(var u=at.length;u--;)delete NullProtoObject.prototype[at[u]];return NullProtoObject()};nt[_t]=!0;var pt=Object.create||function create(t,a){var u;return null!==t?(EmptyConstructor.prototype=anObject(t),u=new EmptyConstructor,EmptyConstructor.prototype=null,u[_t]=t):u=NullProtoObject(),void 0===a?u:lt.f(u,a)};_export({target:"Object",stat:!0,sham:!C},{create:pt});var ht=Y.Object,ft=function create(t,a){return ht.create(t,a)},Et=String,mt=TypeError,gt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,a=!1,u={};try{(t=R(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(u,[]),a=u instanceof Array}catch(t){}return function setPrototypeOf(u,_){return anObject(u),function(t){if("object"==typeof t||isCallable(t))return t;throw mt("Can't set "+Et(t)+" as a prototype")}(_),a?t(u,_):u.__proto__=_,u}}():void 0);_export({target:"Object",stat:!0},{setPrototypeOf:gt});var It=Y.Object.setPrototypeOf,vt=R([].slice),Tt=Function,Nt=R([].concat),Mt=R([].join),Ot={},construct$8=function(t,a,u){if(!ue(Ot,a)){for(var _=[],h=0;h<a;h++)_[h]="a["+h+"]";Ot[a]=Tt("C,a","return new C("+Mt(_,",")+")")}return Ot[a](t,u)},St=E?Tt.bind:function bind(t){var a=aCallable(this),u=a.prototype,_=vt(arguments,1),h=function bound(){var u=Nt(_,vt(arguments));return this instanceof h?construct$8(a,u.length,u):a.apply(t,u)};return H(u)&&(h.prototype=u),h};_export({target:"Function",proto:!0,forced:Function.bind!==St},{bind:St});var entryVirtual=function(t){return Y[t+"Prototype"]},Rt=entryVirtual("Function").bind,Ct=Function.prototype,bind$1=function(t){var a=t.bind;return t===Ct||j(Ct,t)&&a===Ct.bind?Rt:a},yt=createCommonjsModule((function(t){function _setPrototypeOf(a,u){var _;return t.exports=_setPrototypeOf=It?bind$1(_=It).call(_):function _setPrototypeOf(t,a){return t.__proto__=a,t},t.exports.__esModule=!0,t.exports.default=t.exports,_setPrototypeOf(a,u)}t.exports=_setPrototypeOf,t.exports.__esModule=!0,t.exports.default=t.exports})),At=getDefaultExportFromCjs(createCommonjsModule((function(t){t.exports=function _inheritsLoose(t,a){t.prototype=ft(a.prototype),t.prototype.constructor=t,yt(t,a)},t.exports.__esModule=!0,t.exports.default=t.exports}))),bt=Array.isArray||function isArray(t){return"Array"==classofRaw(t)},Lt=TypeError,doesNotExceedSafeInteger=function(t){if(t>9007199254740991)throw Lt("Maximum allowed index exceeded");return t},createProperty=function(t,a,u){var _=toPropertyKey(a);_ in t?Ge.f(t,_,createPropertyDescriptor(0,u)):t[_]=u},kt={};kt[wellKnownSymbol("toStringTag")]="z";var Dt="[object z]"===String(kt),Vt=wellKnownSymbol("toStringTag"),wt=Object,Pt="Arguments"==classofRaw(function(){return arguments}()),xt=Dt?classofRaw:function(t){var a,u,_;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(u=function(t,a){try{return t[a]}catch(t){}}(a=wt(t),Vt))?u:Pt?classofRaw(a):"Object"==(_=classofRaw(a))&&isCallable(a.callee)?"Arguments":_},Ut=R(Function.toString);isCallable(ae.inspectSource)||(ae.inspectSource=function(t){return Ut(t)});var Ft=ae.inspectSource,noop=function(){},Bt=[],Gt=getBuiltIn("Reflect","construct"),Ht=/^\s*(?:class|function)\b/,Yt=R(Ht.exec),jt=!Ht.exec(noop),Kt=function isConstructor(t){if(!isCallable(t))return!1;try{return Gt(noop,Bt,t),!0}catch(t){return!1}},qt=function isConstructor(t){if(!isCallable(t))return!1;switch(xt(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return jt||!!Yt(Ht,Ft(t))}catch(t){return!0}};qt.sham=!0;var Wt=!Gt||fails((function(){var t;return Kt(Kt.call)||!Kt(Object)||!Kt((function(){t=!0}))||t}))?qt:Kt,zt=wellKnownSymbol("species"),$t=Array,arraySpeciesCreate=function(t,a){return new(function(t){var a;return bt(t)&&(a=t.constructor,(Wt(a)&&(a===$t||bt(a.prototype))||H(a)&&null===(a=a[zt]))&&(a=void 0)),void 0===a?$t:a}(t))(0===a?0:a)},Xt=wellKnownSymbol("species"),arrayMethodHasSpeciesSupport=function(t){return X>=51||!fails((function(){var a=[];return(a.constructor={})[Xt]=function(){return{foo:1}},1!==a[t](Boolean).foo}))},Qt=wellKnownSymbol("isConcatSpreadable"),Jt=X>=51||!fails((function(){var t=[];return t[Qt]=!1,t.concat()[0]!==t})),Zt=arrayMethodHasSpeciesSupport("concat"),isConcatSpreadable=function(t){if(!H(t))return!1;var a=t[Qt];return void 0!==a?!!a:bt(t)};_export({target:"Array",proto:!0,arity:1,forced:!Jt||!Zt},{concat:function concat(t){var a,u,_,h,E,m=toObject(this),g=arraySpeciesCreate(m,0),I=0;for(a=-1,_=arguments.length;a<_;a++)if(isConcatSpreadable(E=-1===a?m:arguments[a]))for(h=lengthOfArrayLike(E),doesNotExceedSafeInteger(I+h),u=0;u<h;u++,I++)u in E&&createProperty(g,I,E[u]);else doesNotExceedSafeInteger(I+1),createProperty(g,I++,E);return g.length=I,g}});var er,tr,rr,nr=String,toString=function(t){if("Symbol"===xt(t))throw TypeError("Cannot convert a Symbol value to a string");return nr(t)},or=at.concat("length","prototype"),ir={f:Object.getOwnPropertyNames||function getOwnPropertyNames(t){return objectKeysInternal(t,or)}},ar=Array,sr=Math.max,arraySliceSimple=function(t,a,u){for(var _=lengthOfArrayLike(t),h=toAbsoluteIndex(a,_),E=toAbsoluteIndex(void 0===u?_:u,_),m=ar(sr(E-h,0)),g=0;h<E;h++,g++)createProperty(m,g,t[h]);return m.length=g,m},cr=ir.f,lr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ur={f:function getOwnPropertyNames(t){return lr&&"Window"==classofRaw(t)?function(t){try{return cr(t)}catch(t){return arraySliceSimple(lr)}}(t):cr(toIndexedObject(t))}},dr={f:Object.getOwnPropertySymbols},defineBuiltIn=function(t,a,u,_){return _&&_.enumerable?t[a]=u:He(t,a,u),t},_r={f:wellKnownSymbol},pr=Ge.f,wellKnownSymbolDefine=function(t){var a=Y.Symbol||(Y.Symbol={});ue(a,t)||pr(a,t,{value:_r.f(t)})},symbolDefineToPrimitive=function(){var t=getBuiltIn("Symbol"),a=t&&t.prototype,u=a&&a.valueOf,_=wellKnownSymbol("toPrimitive");a&&!a[_]&&defineBuiltIn(a,_,(function(t){return b(u,this)}),{arity:1})},hr=Dt?{}.toString:function toString(){return"[object "+xt(this)+"]"},fr=Ge.f,Er=wellKnownSymbol("toStringTag"),setToStringTag=function(t,a,u,_){if(t){var h=u?t:t.prototype;ue(h,Er)||fr(h,Er,{configurable:!0,value:a}),_&&!Dt&&He(h,"toString",hr)}},mr=h.WeakMap,gr=isCallable(mr)&&/native code/.test(String(mr)),Ir="Object already initialized",vr=h.TypeError,Tr=h.WeakMap;if(gr||ae.state){var Nr=ae.state||(ae.state=new Tr),Mr=R(Nr.get),Or=R(Nr.has),Sr=R(Nr.set);er=function(t,a){if(Or(Nr,t))throw vr(Ir);return a.facade=t,Sr(Nr,t,a),a},tr=function(t){return Mr(Nr,t)||{}},rr=function(t){return Or(Nr,t)}}else{var Rr=sharedKey("state");nt[Rr]=!0,er=function(t,a){if(ue(t,Rr))throw vr(Ir);return a.facade=t,He(t,Rr,a),a},tr=function(t){return ue(t,Rr)?t[Rr]:{}},rr=function(t){return ue(t,Rr)}}var Cr={set:er,get:tr,has:rr,enforce:function(t){return rr(t)?tr(t):er(t,{})},getterFor:function(t){return function(a){var u;if(!H(a)||(u=tr(a)).type!==t)throw vr("Incompatible receiver, "+t+" required");return u}}},yr=R([].push),createMethod$4=function(t){var a=1==t,u=2==t,_=3==t,h=4==t,E=6==t,m=7==t,g=5==t||E;return function(I,T,N,M){for(var O,S,R=toObject(I),C=U(R),A=functionBindContext(T,N),b=lengthOfArrayLike(C),L=0,k=M||arraySpeciesCreate,D=a?k(I,b):u||m?k(I,0):void 0;b>L;L++)if((g||L in C)&&(S=A(O=C[L],L,R),t))if(a)D[L]=S;else if(S)switch(t){case 3:return!0;case 5:return O;case 6:return L;case 2:yr(D,O)}else switch(t){case 4:return!1;case 7:yr(D,O)}return E?-1:_||h?h:D}},Ar={forEach:createMethod$4(0),map:createMethod$4(1),filter:createMethod$4(2),some:createMethod$4(3),every:createMethod$4(4),find:createMethod$4(5),findIndex:createMethod$4(6),filterReject:createMethod$4(7)},br=Ar.forEach,Lr=sharedKey("hidden"),kr="Symbol",Dr=Cr.set,Vr=Cr.getterFor(kr),wr=Object.prototype,Pr=h.Symbol,xr=Pr&&Pr.prototype,Ur=h.TypeError,Fr=h.QObject,Br=Oe.f,Gr=Ge.f,Hr=ur.f,Yr=D.f,jr=R([].push),Kr=se("symbols"),qr=se("op-symbols"),Wr=se("wks"),zr=!Fr||!Fr.prototype||!Fr.prototype.findChild,$r=C&&fails((function(){return 7!=pt(Gr({},"a",{get:function(){return Gr(this,"a",{value:7}).a}})).a}))?function(t,a,u){var _=Br(wr,a);_&&delete wr[a],Gr(t,a,u),_&&t!==wr&&Gr(wr,a,_)}:Gr,wrap$1=function(t,a){var u=Kr[t]=pt(xr);return Dr(u,{type:kr,tag:t,description:a}),C||(u.description=a),u},Xr=function defineProperty(t,a,u){t===wr&&Xr(qr,a,u),anObject(t);var _=toPropertyKey(a);return anObject(u),ue(Kr,_)?(u.enumerable?(ue(t,Lr)&&t[Lr][_]&&(t[Lr][_]=!1),u=pt(u,{enumerable:createPropertyDescriptor(0,!1)})):(ue(t,Lr)||Gr(t,Lr,createPropertyDescriptor(1,{})),t[Lr][_]=!0),$r(t,_,u)):Gr(t,_,u)},Qr=function defineProperties(t,a){anObject(t);var u=toIndexedObject(a),_=st(u).concat($getOwnPropertySymbols(u));return br(_,(function(a){C&&!b(Jr,u,a)||Xr(t,a,u[a])})),t},Jr=function propertyIsEnumerable(t){var a=toPropertyKey(t),u=b(Yr,this,a);return!(this===wr&&ue(Kr,a)&&!ue(qr,a))&&(!(u||!ue(this,a)||!ue(Kr,a)||ue(this,Lr)&&this[Lr][a])||u)},Zr=function getOwnPropertyDescriptor(t,a){var u=toIndexedObject(t),_=toPropertyKey(a);if(u!==wr||!ue(Kr,_)||ue(qr,_)){var h=Br(u,_);return!h||!ue(Kr,_)||ue(u,Lr)&&u[Lr][_]||(h.enumerable=!0),h}},en=function getOwnPropertyNames(t){var a=Hr(toIndexedObject(t)),u=[];return br(a,(function(t){ue(Kr,t)||ue(nt,t)||jr(u,t)})),u},$getOwnPropertySymbols=function(t){var a=t===wr,u=Hr(a?qr:toIndexedObject(t)),_=[];return br(u,(function(t){!ue(Kr,t)||a&&!ue(wr,t)||jr(_,Kr[t])})),_};Q||(Pr=function Symbol(){if(j(xr,this))throw Ur("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?toString(arguments[0]):void 0,a=uid(t),setter=function(t){this===wr&&b(setter,qr,t),ue(this,Lr)&&ue(this[Lr],a)&&(this[Lr][a]=!1),$r(this,a,createPropertyDescriptor(1,t))};return C&&zr&&$r(wr,a,{configurable:!0,set:setter}),wrap$1(a,t)},xr=Pr.prototype,defineBuiltIn(xr,"toString",(function toString(){return Vr(this).tag})),defineBuiltIn(Pr,"withoutSetter",(function(t){return wrap$1(uid(t),t)})),D.f=Jr,Ge.f=Xr,lt.f=Qr,Oe.f=Zr,ir.f=ur.f=en,dr.f=$getOwnPropertySymbols,_r.f=function(t){return wrap$1(wellKnownSymbol(t),t)},C&&Gr(xr,"description",{configurable:!0,get:function description(){return Vr(this).description}})),_export({global:!0,constructor:!0,wrap:!0,forced:!Q,sham:!Q},{Symbol:Pr}),br(st(Wr),(function(t){wellKnownSymbolDefine(t)})),_export({target:kr,stat:!0,forced:!Q},{useSetter:function(){zr=!0},useSimple:function(){zr=!1}}),_export({target:"Object",stat:!0,forced:!Q,sham:!C},{create:function create(t,a){return void 0===a?pt(t):Qr(pt(t),a)},defineProperty:Xr,defineProperties:Qr,getOwnPropertyDescriptor:Zr}),_export({target:"Object",stat:!0,forced:!Q},{getOwnPropertyNames:en}),symbolDefineToPrimitive(),setToStringTag(Pr,kr),nt[Lr]=!0;var tn=Q&&!!Symbol.for&&!!Symbol.keyFor,rn=se("string-to-symbol-registry"),nn=se("symbol-to-string-registry");_export({target:"Symbol",stat:!0,forced:!tn},{for:function(t){var a=toString(t);if(ue(rn,a))return rn[a];var u=getBuiltIn("Symbol")(a);return rn[a]=u,nn[u]=a,u}});var an=se("symbol-to-string-registry");_export({target:"Symbol",stat:!0,forced:!tn},{keyFor:function keyFor(t){if(!ee(t))throw TypeError(tryToString(t)+" is not a symbol");if(ue(an,t))return an[t]}});var sn=getBuiltIn("JSON","stringify"),cn=R(/./.exec),ln=R("".charAt),un=R("".charCodeAt),dn=R("".replace),_n=R(1..toString),pn=/[\uD800-\uDFFF]/g,hn=/^[\uD800-\uDBFF]$/,fn=/^[\uDC00-\uDFFF]$/,En=!Q||fails((function(){var t=getBuiltIn("Symbol")();return"[null]"!=sn([t])||"{}"!=sn({a:t})||"{}"!=sn(Object(t))})),mn=fails((function(){return'"\\udf06\\ud834"'!==sn("\udf06\ud834")||'"\\udead"'!==sn("\udead")})),stringifyWithSymbolsFix=function(t,a){var u=vt(arguments),_=a;if((H(a)||void 0!==t)&&!ee(t))return bt(a)||(a=function(t,a){if(isCallable(_)&&(a=b(_,this,t,a)),!ee(a))return a}),u[1]=a,T(sn,null,u)},fixIllFormed=function(t,a,u){var _=ln(u,a-1),h=ln(u,a+1);return cn(hn,t)&&!cn(fn,h)||cn(fn,t)&&!cn(hn,_)?"\\u"+_n(un(t,0),16):t};sn&&_export({target:"JSON",stat:!0,arity:3,forced:En||mn},{stringify:function stringify(t,a,u){var _=vt(arguments),h=T(En?stringifyWithSymbolsFix:sn,null,_);return mn&&"string"==typeof h?dn(h,pn,fixIllFormed):h}});var gn=!Q||fails((function(){dr.f(1)}));_export({target:"Object",stat:!0,forced:gn},{getOwnPropertySymbols:function getOwnPropertySymbols(t){var a=dr.f;return a?a(toObject(t)):[]}}),wellKnownSymbolDefine("asyncIterator"),wellKnownSymbolDefine("hasInstance"),wellKnownSymbolDefine("isConcatSpreadable"),wellKnownSymbolDefine("iterator"),wellKnownSymbolDefine("match"),wellKnownSymbolDefine("matchAll"),wellKnownSymbolDefine("replace"),wellKnownSymbolDefine("search"),wellKnownSymbolDefine("species"),wellKnownSymbolDefine("split"),wellKnownSymbolDefine("toPrimitive"),symbolDefineToPrimitive(),wellKnownSymbolDefine("toStringTag"),setToStringTag(getBuiltIn("Symbol"),"Symbol"),wellKnownSymbolDefine("unscopables"),setToStringTag(h.JSON,"JSON",!0);var In,vn,Tn,Nn=Y.Symbol,Mn={},On=Function.prototype,Sn=C&&Object.getOwnPropertyDescriptor,Rn=ue(On,"name"),Cn={EXISTS:Rn,PROPER:Rn&&"something"===function something(){}.name,CONFIGURABLE:Rn&&(!C||C&&Sn(On,"name").configurable)},yn=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})),An=sharedKey("IE_PROTO"),bn=Object,Ln=bn.prototype,kn=yn?bn.getPrototypeOf:function(t){var a=toObject(t);if(ue(a,An))return a[An];var u=a.constructor;return isCallable(u)&&a instanceof u?u.prototype:a instanceof bn?Ln:null},Dn=wellKnownSymbol("iterator"),Vn=!1;[].keys&&("next"in(Tn=[].keys())?(vn=kn(kn(Tn)))!==Object.prototype&&(In=vn):Vn=!0);var wn=!H(In)||fails((function(){var t={};return In[Dn].call(t)!==t}));In=wn?{}:pt(In),isCallable(In[Dn])||defineBuiltIn(In,Dn,(function(){return this}));var Pn={IteratorPrototype:In,BUGGY_SAFARI_ITERATORS:Vn},xn=Pn.IteratorPrototype,returnThis$1=function(){return this},Un=Cn.PROPER,Fn=Pn.BUGGY_SAFARI_ITERATORS,Bn=wellKnownSymbol("iterator"),Gn="keys",Hn="values",Yn="entries",returnThis=function(){return this},iteratorDefine=function(t,a,u,_,h,E,m){!function(t,a,u,_){var h=a+" Iterator";t.prototype=pt(xn,{next:createPropertyDescriptor(+!_,u)}),setToStringTag(t,h,!1,!0),Mn[h]=returnThis$1}(u,a,_);var g,I,T,getIterationMethod=function(t){if(t===h&&R)return R;if(!Fn&&t in O)return O[t];switch(t){case Gn:return function keys(){return new u(this,t)};case Hn:return function values(){return new u(this,t)};case Yn:return function entries(){return new u(this,t)}}return function(){return new u(this)}},N=a+" Iterator",M=!1,O=t.prototype,S=O[Bn]||O["@@iterator"]||h&&O[h],R=!Fn&&S||getIterationMethod(h),C="Array"==a&&O.entries||S;if(C&&(g=kn(C.call(new t)))!==Object.prototype&&g.next&&(setToStringTag(g,N,!0,!0),Mn[N]=returnThis),Un&&h==Hn&&S&&S.name!==Hn&&(M=!0,R=function values(){return b(S,this)}),h)if(I={values:getIterationMethod(Hn),keys:E?R:getIterationMethod(Gn),entries:getIterationMethod(Yn)},m)for(T in I)(Fn||M||!(T in O))&&defineBuiltIn(O,T,I[T]);else _export({target:a,proto:!0,forced:Fn||M},I);return m&&O[Bn]!==R&&defineBuiltIn(O,Bn,R,{name:h}),Mn[a]=R,I};Ge.f;var jn="Array Iterator",Kn=Cr.set,qn=Cr.getterFor(jn);iteratorDefine(Array,"Array",(function(t,a){Kn(this,{type:jn,target:toIndexedObject(t),index:0,kind:a})}),(function(){var t=qn(this),a=t.target,u=t.kind,_=t.index++;return!a||_>=a.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==u?{value:_,done:!1}:"values"==u?{value:a[_],done:!1}:{value:[_,a[_]],done:!1}}),"values"),Mn.Arguments=Mn.Array;var Wn=wellKnownSymbol("toStringTag");for(var zn in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var $n=h[zn],Xn=$n&&$n.prototype;Xn&&xt(Xn)!==Wn&&He(Xn,Wn,zn),Mn[zn]=Mn.Array}var Qn=Nn;wellKnownSymbolDefine("asyncDispose"),wellKnownSymbolDefine("dispose"),wellKnownSymbolDefine("matcher"),wellKnownSymbolDefine("metadataKey"),wellKnownSymbolDefine("observable"),wellKnownSymbolDefine("metadata"),wellKnownSymbolDefine("patternMatch"),wellKnownSymbolDefine("replaceAll");var Jn=Qn,Zn=R("".charAt),eo=R("".charCodeAt),to=R("".slice),createMethod$3=function(t){return function(a,u){var _,h,E=toString(requireObjectCoercible(a)),m=toIntegerOrInfinity(u),g=E.length;return m<0||m>=g?t?"":void 0:(_=eo(E,m))<55296||_>56319||m+1===g||(h=eo(E,m+1))<56320||h>57343?t?Zn(E,m):_:t?to(E,m,m+2):h-56320+(_-55296<<10)+65536}},ro={codeAt:createMethod$3(!1),charAt:createMethod$3(!0)},no=ro.charAt,oo="String Iterator",io=Cr.set,ao=Cr.getterFor(oo);iteratorDefine(String,"String",(function(t){io(this,{type:oo,string:toString(t),index:0})}),(function next(){var t,a=ao(this),u=a.string,_=a.index;return _>=u.length?{value:void 0,done:!0}:(t=no(u,_),a.index+=t.length,{value:t,done:!1})}));var so=_r.f("iterator"),co=createCommonjsModule((function(t){function _typeof(a){return t.exports=_typeof="function"==typeof Jn&&"symbol"==typeof so?function(t){return typeof t}:function(t){return t&&"function"==typeof Jn&&t.constructor===Jn&&t!==Jn.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,_typeof(a)}t.exports=_typeof,t.exports.__esModule=!0,t.exports.default=t.exports})),lo=fails((function(){kn(1)}));_export({target:"Object",stat:!0,forced:lo,sham:!yn},{getPrototypeOf:function getPrototypeOf(t){return kn(toObject(t))}});var uo=Y.Object.getPrototypeOf,arrayMethodIsStrict=function(t,a){var u=[][t];return!!u&&fails((function(){u.call(null,a||function(){return 1},1)}))},_o=Ar.forEach,po=arrayMethodIsStrict("forEach")?[].forEach:function forEach(t){return _o(this,t,arguments.length>1?arguments[1]:void 0)};_export({target:"Array",proto:!0,forced:[].forEach!=po},{forEach:po});var ho=entryVirtual("Array").forEach,fo=Array.prototype,Eo={DOMTokenList:!0,NodeList:!0},forEach$1=function(t){var a=t.forEach;return t===fo||j(fo,t)&&a===fo.forEach||ue(Eo,xt(t))?ho:a},mo=R([].concat),go=getBuiltIn("Reflect","ownKeys")||function ownKeys(t){var a=ir.f(anObject(t)),u=dr.f;return u?mo(a,u(t)):a},Io=Error,vo=R("".replace),To=String(Io("zxcasd").stack),No=/\n\s*at [^:]*:[^\n]*/,Mo=No.test(To),errorStackClear=function(t,a){if(Mo&&"string"==typeof t&&!Io.prepareStackTrace)for(;a--;)t=vo(t,No,"");return t},installErrorCause=function(t,a){H(a)&&"cause"in a&&He(t,"cause",a.cause)},Oo=wellKnownSymbol("iterator"),So=Array.prototype,isArrayIteratorMethod=function(t){return void 0!==t&&(Mn.Array===t||So[Oo]===t)},Ro=wellKnownSymbol("iterator"),getIteratorMethod$5=function(t){if(!isNullOrUndefined(t))return getMethod(t,Ro)||getMethod(t,"@@iterator")||Mn[xt(t)]},Co=TypeError,getIterator=function(t,a){var u=arguments.length<2?getIteratorMethod$5(t):a;if(aCallable(u))return anObject(b(u,t));throw Co(tryToString(t)+" is not iterable")},iteratorClose=function(t,a,u){var _,h;anObject(t);try{if(!(_=getMethod(t,"return"))){if("throw"===a)throw u;return u}_=b(_,t)}catch(t){h=!0,_=t}if("throw"===a)throw u;if(h)throw _;return anObject(_),u},yo=TypeError,Result=function(t,a){this.stopped=t,this.result=a},Ao=Result.prototype,iterate=function(t,a,u){var _,h,E,m,g,I,T,N=u&&u.that,M=!(!u||!u.AS_ENTRIES),O=!(!u||!u.IS_RECORD),S=!(!u||!u.IS_ITERATOR),R=!(!u||!u.INTERRUPTED),C=functionBindContext(a,N),stop=function(t){return _&&iteratorClose(_,"normal",t),new Result(!0,t)},callFn=function(t){return M?(anObject(t),R?C(t[0],t[1],stop):C(t[0],t[1])):R?C(t,stop):C(t)};if(O)_=t.iterator;else if(S)_=t;else{if(!(h=getIteratorMethod$5(t)))throw yo(tryToString(t)+" is not iterable");if(isArrayIteratorMethod(h)){for(E=0,m=lengthOfArrayLike(t);m>E;E++)if((g=callFn(t[E]))&&j(Ao,g))return g;return new Result(!1)}_=getIterator(t,h)}for(I=O?t.next:_.next;!(T=b(I,_)).done;){try{g=callFn(T.value)}catch(t){iteratorClose(_,"throw",t)}if("object"==typeof g&&g&&j(Ao,g))return g}return new Result(!1)},normalizeStringArgument=function(t,a){return void 0===t?arguments.length<2?"":a:toString(t)},bo=!fails((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",createPropertyDescriptor(1,7)),7!==t.stack)})),Lo=wellKnownSymbol("toStringTag"),ko=Error,Do=[].push,Vo=function AggregateError(t,a){var u,_=arguments.length>2?arguments[2]:void 0,h=j(wo,this);gt?u=gt(ko(),h?kn(this):wo):(u=h?this:pt(wo),He(u,Lo,"Error")),void 0!==a&&He(u,"message",normalizeStringArgument(a)),bo&&He(u,"stack",errorStackClear(u.stack,1)),installErrorCause(u,_);var E=[];return iterate(t,Do,{that:E}),He(u,"errors",E),u};gt?gt(Vo,ko):function(t,a,u){for(var _=go(a),h=Ge.f,E=Oe.f,m=0;m<_.length;m++){var g=_[m];ue(t,g)||u&&ue(u,g)||h(t,g,E(a,g))}}(Vo,ko,{name:!0});var wo=Vo.prototype=pt(ko.prototype,{constructor:createPropertyDescriptor(1,Vo),message:createPropertyDescriptor(1,""),name:createPropertyDescriptor(1,"AggregateError")});_export({global:!0,constructor:!0,arity:2},{AggregateError:Vo});var Po,xo,Uo,Fo,Bo="process"==classofRaw(h.process),Go=wellKnownSymbol("species"),setSpecies=function(t){var a=getBuiltIn(t),u=Ge.f;C&&a&&!a[Go]&&u(a,Go,{configurable:!0,get:function(){return this}})},Ho=TypeError,anInstance=function(t,a){if(j(a,t))return t;throw Ho("Incorrect invocation")},Yo=TypeError,aConstructor=function(t){if(Wt(t))return t;throw Yo(tryToString(t)+" is not a constructor")},jo=wellKnownSymbol("species"),speciesConstructor=function(t,a){var u,_=anObject(t).constructor;return void 0===_||isNullOrUndefined(u=anObject(_)[jo])?a:aConstructor(u)},Ko=TypeError,validateArgumentsLength=function(t,a){if(t<a)throw Ko("Not enough arguments");return t},qo=/(?:ipad|iphone|ipod).*applewebkit/i.test(K),Wo=h.setImmediate,zo=h.clearImmediate,$o=h.process,Xo=h.Dispatch,Qo=h.Function,Jo=h.MessageChannel,Zo=h.String,ei=0,ti={},ri="onreadystatechange";try{Po=h.location}catch(t){}var run=function(t){if(ue(ti,t)){var a=ti[t];delete ti[t],a()}},runner=function(t){return function(){run(t)}},listener=function(t){run(t.data)},post=function(t){h.postMessage(Zo(t),Po.protocol+"//"+Po.host)};Wo&&zo||(Wo=function setImmediate(t){validateArgumentsLength(arguments.length,1);var a=isCallable(t)?t:Qo(t),u=vt(arguments,1);return ti[++ei]=function(){T(a,void 0,u)},xo(ei),ei},zo=function clearImmediate(t){delete ti[t]},Bo?xo=function(t){$o.nextTick(runner(t))}:Xo&&Xo.now?xo=function(t){Xo.now(runner(t))}:Jo&&!qo?(Fo=(Uo=new Jo).port2,Uo.port1.onmessage=listener,xo=functionBindContext(Fo.postMessage,Fo)):h.addEventListener&&isCallable(h.postMessage)&&!h.importScripts&&Po&&"file:"!==Po.protocol&&!fails(post)?(xo=post,h.addEventListener("message",listener,!1)):xo=ri in documentCreateElement("script")?function(t){ut.appendChild(documentCreateElement("script")).onreadystatechange=function(){ut.removeChild(this),run(t)}}:function(t){setTimeout(runner(t),0)});var ni,oi,ii,ai,si,ci,li,ui,di={set:Wo,clear:zo},_i=/ipad|iphone|ipod/i.test(K)&&void 0!==h.Pebble,pi=/web0s(?!.*chrome)/i.test(K),hi=Oe.f,fi=di.set,Ei=h.MutationObserver||h.WebKitMutationObserver,mi=h.document,gi=h.process,Ii=h.Promise,vi=hi(h,"queueMicrotask"),Ti=vi&&vi.value;Ti||(ni=function(){var t,a;for(Bo&&(t=gi.domain)&&t.exit();oi;){a=oi.fn,oi=oi.next;try{a()}catch(t){throw oi?ai():ii=void 0,t}}ii=void 0,t&&t.enter()},qo||Bo||pi||!Ei||!mi?!_i&&Ii&&Ii.resolve?((li=Ii.resolve(void 0)).constructor=Ii,ui=functionBindContext(li.then,li),ai=function(){ui(ni)}):Bo?ai=function(){gi.nextTick(ni)}:(fi=functionBindContext(fi,h),ai=function(){fi(ni)}):(si=!0,ci=mi.createTextNode(""),new Ei(ni).observe(ci,{characterData:!0}),ai=function(){ci.data=si=!si}));var Ni=Ti||function(t){var a={fn:t,next:void 0};ii&&(ii.next=a),oi||(oi=a,ai()),ii=a},perform=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(t){var a={item:t,next:null};this.head?this.tail.next=a:this.head=a,this.tail=a},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var Mi,Oi,Si=Queue,Ri=h.Promise,Ci="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,yi=!Ci&&!Bo&&"object"==typeof window&&"object"==typeof document,Ai=Ri&&Ri.prototype,bi=wellKnownSymbol("species"),Li=!1,ki=isCallable(h.PromiseRejectionEvent),Di=be("Promise",(function(){var t=Ft(Ri),a=t!==String(Ri);if(!a&&66===X)return!0;if(!Ai.catch||!Ai.finally)return!0;if(!X||X<51||!/native code/.test(t)){var u=new Ri((function(t){t(1)})),FakePromise=function(t){t((function(){}),(function(){}))};if((u.constructor={})[bi]=FakePromise,!(Li=u.then((function(){}))instanceof FakePromise))return!0}return!a&&(yi||Ci)&&!ki})),Vi={CONSTRUCTOR:Di,REJECTION_EVENT:ki,SUBCLASSING:Li},wi=TypeError,PromiseCapability=function(t){var a,u;this.promise=new t((function(t,_){if(void 0!==a||void 0!==u)throw wi("Bad Promise constructor");a=t,u=_})),this.resolve=aCallable(a),this.reject=aCallable(u)},Pi={f:function(t){return new PromiseCapability(t)}},xi=di.set,Ui="Promise",Fi=Vi.CONSTRUCTOR,Bi=Vi.REJECTION_EVENT,Gi=Cr.getterFor(Ui),Hi=Cr.set,Yi=Ri&&Ri.prototype,ji=Ri,Ki=Yi,qi=h.TypeError,Wi=h.document,zi=h.process,$i=Pi.f,Xi=$i,Qi=!!(Wi&&Wi.createEvent&&h.dispatchEvent),Ji="unhandledrejection",isThenable=function(t){var a;return!(!H(t)||!isCallable(a=t.then))&&a},callReaction=function(t,a){var u,_,h,E=a.value,m=1==a.state,g=m?t.ok:t.fail,I=t.resolve,T=t.reject,N=t.domain;try{g?(m||(2===a.rejection&&onHandleUnhandled(a),a.rejection=1),!0===g?u=E:(N&&N.enter(),u=g(E),N&&(N.exit(),h=!0)),u===t.promise?T(qi("Promise-chain cycle")):(_=isThenable(u))?b(_,u,I,T):I(u)):T(E)}catch(t){N&&!h&&N.exit(),T(t)}},notify=function(t,a){t.notified||(t.notified=!0,Ni((function(){for(var u,_=t.reactions;u=_.get();)callReaction(u,t);t.notified=!1,a&&!t.rejection&&onUnhandled(t)})))},dispatchEvent=function(t,a,u){var _,E;Qi?((_=Wi.createEvent("Event")).promise=a,_.reason=u,_.initEvent(t,!1,!0),h.dispatchEvent(_)):_={promise:a,reason:u},!Bi&&(E=h["on"+t])?E(_):t===Ji&&function(t,a){var u=h.console;u&&u.error&&(1==arguments.length?u.error(t):u.error(t,a))}("Unhandled promise rejection",u)},onUnhandled=function(t){b(xi,h,(function(){var a,u=t.facade,_=t.value;if(isUnhandled(t)&&(a=perform((function(){Bo?zi.emit("unhandledRejection",_,u):dispatchEvent(Ji,u,_)})),t.rejection=Bo||isUnhandled(t)?2:1,a.error))throw a.value}))},isUnhandled=function(t){return 1!==t.rejection&&!t.parent},onHandleUnhandled=function(t){b(xi,h,(function(){var a=t.facade;Bo?zi.emit("rejectionHandled",a):dispatchEvent("rejectionhandled",a,t.value)}))},bind=function(t,a,u){return function(_){t(a,_,u)}},internalReject=function(t,a,u){t.done||(t.done=!0,u&&(t=u),t.value=a,t.state=2,notify(t,!0))},internalResolve=function(t,a,u){if(!t.done){t.done=!0,u&&(t=u);try{if(t.facade===a)throw qi("Promise can't be resolved itself");var _=isThenable(a);_?Ni((function(){var u={done:!1};try{b(_,a,bind(internalResolve,u,t),bind(internalReject,u,t))}catch(a){internalReject(u,a,t)}})):(t.value=a,t.state=1,notify(t,!1))}catch(a){internalReject({done:!1},a,t)}}};Fi&&(Ki=(ji=function Promise(t){anInstance(this,Ki),aCallable(t),b(Mi,this);var a=Gi(this);try{t(bind(internalResolve,a),bind(internalReject,a))}catch(t){internalReject(a,t)}}).prototype,(Mi=function Promise(t){Hi(this,{type:Ui,done:!1,notified:!1,parent:!1,reactions:new Si,rejection:!1,state:0,value:void 0})}).prototype=defineBuiltIn(Ki,"then",(function then(t,a){var u=Gi(this),_=$i(speciesConstructor(this,ji));return u.parent=!0,_.ok=!isCallable(t)||t,_.fail=isCallable(a)&&a,_.domain=Bo?zi.domain:void 0,0==u.state?u.reactions.add(_):Ni((function(){callReaction(_,u)})),_.promise})),Oi=function(){var t=new Mi,a=Gi(t);this.promise=t,this.resolve=bind(internalResolve,a),this.reject=bind(internalReject,a)},Pi.f=$i=function(t){return t===ji||undefined===t?new Oi(t):Xi(t)}),_export({global:!0,constructor:!0,wrap:!0,forced:Fi},{Promise:ji}),setToStringTag(ji,Ui,!1,!0),setSpecies(Ui);var Zi=wellKnownSymbol("iterator"),ea=!1;try{var ta=0,ra={next:function(){return{done:!!ta++}},return:function(){ea=!0}};ra[Zi]=function(){return this},Array.from(ra,(function(){throw 2}))}catch(t){}var checkCorrectnessOfIteration=function(t,a){if(!a&&!ea)return!1;var u=!1;try{var _={};_[Zi]=function(){return{next:function(){return{done:u=!0}}}},t(_)}catch(t){}return u},na=Vi.CONSTRUCTOR||!checkCorrectnessOfIteration((function(t){Ri.all(t).then(void 0,(function(){}))}));_export({target:"Promise",stat:!0,forced:na},{all:function all(t){var a=this,u=Pi.f(a),_=u.resolve,h=u.reject,E=perform((function(){var u=aCallable(a.resolve),E=[],m=0,g=1;iterate(t,(function(t){var I=m++,T=!1;g++,b(u,a,t).then((function(t){T||(T=!0,E[I]=t,--g||_(E))}),h)})),--g||_(E)}));return E.error&&h(E.value),u.promise}});var oa=Vi.CONSTRUCTOR;Ri&&Ri.prototype,_export({target:"Promise",proto:!0,forced:oa,real:!0},{catch:function(t){return this.then(void 0,t)}}),_export({target:"Promise",stat:!0,forced:na},{race:function race(t){var a=this,u=Pi.f(a),_=u.reject,h=perform((function(){var h=aCallable(a.resolve);iterate(t,(function(t){b(h,a,t).then(u.resolve,_)}))}));return h.error&&_(h.value),u.promise}}),_export({target:"Promise",stat:!0,forced:Vi.CONSTRUCTOR},{reject:function reject(t){var a=Pi.f(this);return b(a.reject,void 0,t),a.promise}});var promiseResolve=function(t,a){if(anObject(t),H(a)&&a.constructor===t)return a;var u=Pi.f(t);return(0,u.resolve)(a),u.promise},ia=Vi.CONSTRUCTOR,aa=getBuiltIn("Promise"),sa=!ia;_export({target:"Promise",stat:!0,forced:!0},{resolve:function resolve(t){return promiseResolve(sa&&this===aa?Ri:this,t)}}),_export({target:"Promise",stat:!0},{allSettled:function allSettled(t){var a=this,u=Pi.f(a),_=u.resolve,h=u.reject,E=perform((function(){var u=aCallable(a.resolve),h=[],E=0,m=1;iterate(t,(function(t){var g=E++,I=!1;m++,b(u,a,t).then((function(t){I||(I=!0,h[g]={status:"fulfilled",value:t},--m||_(h))}),(function(t){I||(I=!0,h[g]={status:"rejected",reason:t},--m||_(h))}))})),--m||_(h)}));return E.error&&h(E.value),u.promise}});var ca="No one promise resolved";_export({target:"Promise",stat:!0},{any:function any(t){var a=this,u=getBuiltIn("AggregateError"),_=Pi.f(a),h=_.resolve,E=_.reject,m=perform((function(){var _=aCallable(a.resolve),m=[],g=0,I=1,T=!1;iterate(t,(function(t){var N=g++,M=!1;I++,b(_,a,t).then((function(t){M||T||(T=!0,h(t))}),(function(t){M||T||(M=!0,m[N]=t,--I||E(new u(m,ca)))}))})),--I||E(new u(m,ca))}));return m.error&&E(m.value),_.promise}});var la=Ri&&Ri.prototype,ua=!!Ri&&fails((function(){la.finally.call({then:function(){}},(function(){}))}));_export({target:"Promise",proto:!0,real:!0,forced:ua},{finally:function(t){var a=speciesConstructor(this,getBuiltIn("Promise")),u=isCallable(t);return this.then(u?function(u){return promiseResolve(a,t()).then((function(){return u}))}:t,u?function(u){return promiseResolve(a,t()).then((function(){throw u}))}:t)}});var da=Y.Promise;_export({target:"Promise",stat:!0,forced:!0},{try:function(t){var a=Pi.f(this),u=perform(t);return(u.error?a.reject:a.resolve)(u.value),a.promise}});var _a=da,pa=R([].reverse),ha=[1,2];_export({target:"Array",proto:!0,forced:String(ha)===String(ha.reverse())},{reverse:function reverse(){return bt(this)&&(this.length=this.length),pa(this)}});var fa=entryVirtual("Array").reverse,Ea=Array.prototype,reverse=function(t){var a=t.reverse;return t===Ea||j(Ea,t)&&a===Ea.reverse?fa:a},ma=arrayMethodHasSpeciesSupport("slice"),ga=wellKnownSymbol("species"),Ia=Array,va=Math.max;_export({target:"Array",proto:!0,forced:!ma},{slice:function slice(t,a){var u,_,h,E=toIndexedObject(this),m=lengthOfArrayLike(E),g=toAbsoluteIndex(t,m),I=toAbsoluteIndex(void 0===a?m:a,m);if(bt(E)&&(u=E.constructor,(Wt(u)&&(u===Ia||bt(u.prototype))||H(u)&&null===(u=u[ga]))&&(u=void 0),u===Ia||void 0===u))return vt(E,g,I);for(_=new(void 0===u?Ia:u)(va(I-g,0)),h=0;g<I;g++,h++)g in E&&createProperty(_,h,E[g]);return _.length=h,_}});var Ta=entryVirtual("Array").slice,Na=Array.prototype,slice=function(t){var a=t.slice;return t===Na||j(Na,t)&&a===Na.slice?Ta:a},Ma=createCommonjsModule((function(t){var a=co.default;function _regeneratorRuntime(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ t.exports=_regeneratorRuntime=function _regeneratorRuntime(){return u},t.exports.__esModule=!0,t.exports.default=t.exports;var u={},_=Object.prototype,h=_.hasOwnProperty,E="function"==typeof Jn?Jn:{},m=E.iterator||"@@iterator",g=E.asyncIterator||"@@asyncIterator",I=E.toStringTag||"@@toStringTag";function define(t,a,u){return We(t,a,{value:u,enumerable:!0,configurable:!0,writable:!0}),t[a]}try{define({},"")}catch(t){define=function define(t,a,u){return t[a]=u}}function wrap(t,a,u,_){var h=a&&a.prototype instanceof Generator?a:Generator,E=ft(h.prototype),m=new Context(_||[]);return E._invoke=function(t,a,u){var _="suspendedStart";return function(h,E){if("executing"===_)throw new Error("Generator is already running");if("completed"===_){if("throw"===h)throw E;return doneResult()}for(u.method=h,u.arg=E;;){var m=u.delegate;if(m){var g=maybeInvokeDelegate(m,u);if(g){if(g===T)continue;return g}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===_)throw _="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&&u.abrupt("return",u.arg);_="executing";var I=tryCatch(t,a,u);if("normal"===I.type){if(_=u.done?"completed":"suspendedYield",I.arg===T)continue;return{value:I.arg,done:u.done}}"throw"===I.type&&(_="completed",u.method="throw",u.arg=I.arg)}}}(t,u,m),E}function tryCatch(t,a,u){try{return{type:"normal",arg:t.call(a,u)}}catch(t){return{type:"throw",arg:t}}}u.wrap=wrap;var T={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var N={};define(N,m,(function(){return this}));var M=uo&&uo(uo(values([])));M&&M!==_&&h.call(M,m)&&(N=M);var O=GeneratorFunctionPrototype.prototype=Generator.prototype=ft(N);function defineIteratorMethods(t){var a;forEach$1(a=["next","throw","return"]).call(a,(function(a){define(t,a,(function(t){return this._invoke(a,t)}))}))}function AsyncIterator(t,u){function invoke(_,E,m,g){var I=tryCatch(t[_],t,E);if("throw"!==I.type){var T=I.arg,N=T.value;return N&&"object"==a(N)&&h.call(N,"__await")?u.resolve(N.__await).then((function(t){invoke("next",t,m,g)}),(function(t){invoke("throw",t,m,g)})):u.resolve(N).then((function(t){T.value=t,m(T)}),(function(t){return invoke("throw",t,m,g)}))}g(I.arg)}var _;this._invoke=function(t,a){function callInvokeWithMethodAndArg(){return new u((function(u,_){invoke(t,a,u,_)}))}return _=_?_.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(t,a){var u=t.iterator[a.method];if(void 0===u){if(a.delegate=null,"throw"===a.method){if(t.iterator.return&&(a.method="return",a.arg=void 0,maybeInvokeDelegate(t,a),"throw"===a.method))return T;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return T}var _=tryCatch(u,t.iterator,a.arg);if("throw"===_.type)return a.method="throw",a.arg=_.arg,a.delegate=null,T;var h=_.arg;return h?h.done?(a[t.resultName]=h.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=void 0),a.delegate=null,T):h:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,T)}function pushTryEntry(t){var a={tryLoc:t[0]};1 in t&&(a.catchLoc=t[1]),2 in t&&(a.finallyLoc=t[2],a.afterLoc=t[3]),this.tryEntries.push(a)}function resetTryEntry(t){var a=t.completion||{};a.type="normal",delete a.arg,t.completion=a}function Context(t){this.tryEntries=[{tryLoc:"root"}],forEach$1(t).call(t,pushTryEntry,this),this.reset(!0)}function values(t){if(t){var a=t[m];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var u=-1,_=function next(){for(;++u<t.length;)if(h.call(t,u))return next.value=t[u],next.done=!1,next;return next.value=void 0,next.done=!0,next};return _.next=_}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(O,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,I,"GeneratorFunction"),u.isGeneratorFunction=function(t){var a="function"==typeof t&&t.constructor;return!!a&&(a===GeneratorFunction||"GeneratorFunction"===(a.displayName||a.name))},u.mark=function(t){return It?It(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,I,"GeneratorFunction")),t.prototype=ft(O),t},u.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,g,(function(){return this})),u.AsyncIterator=AsyncIterator,u.async=function(t,a,_,h,E){void 0===E&&(E=_a);var m=new AsyncIterator(wrap(t,a,_,h),E);return u.isGeneratorFunction(a)?m:m.next().then((function(t){return t.done?t.value:m.next()}))},defineIteratorMethods(O),define(O,I,"Generator"),define(O,m,(function(){return this})),define(O,"toString",(function(){return"[object Generator]"})),u.keys=function(t){var a=[];for(var u in t)a.push(u);return reverse(a).call(a),function next(){for(;a.length;){var u=a.pop();if(u in t)return next.value=u,next.done=!1,next}return next.done=!0,next}},u.values=values,Context.prototype={constructor:Context,reset:function reset(t){var a;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,forEach$1(a=this.tryEntries).call(a,resetTryEntry),!t)for(var u in this)"t"===u.charAt(0)&&h.call(this,u)&&!isNaN(+slice(u).call(u,1))&&(this[u]=void 0)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(t){if(this.done)throw t;var a=this;function handle(u,_){return E.type="throw",E.arg=t,a.next=u,_&&(a.method="next",a.arg=void 0),!!_}for(var u=this.tryEntries.length-1;u>=0;--u){var _=this.tryEntries[u],E=_.completion;if("root"===_.tryLoc)return handle("end");if(_.tryLoc<=this.prev){var m=h.call(_,"catchLoc"),g=h.call(_,"finallyLoc");if(m&&g){if(this.prev<_.catchLoc)return handle(_.catchLoc,!0);if(this.prev<_.finallyLoc)return handle(_.finallyLoc)}else if(m){if(this.prev<_.catchLoc)return handle(_.catchLoc,!0)}else{if(!g)throw new Error("try statement without catch or finally");if(this.prev<_.finallyLoc)return handle(_.finallyLoc)}}}},abrupt:function abrupt(t,a){for(var u=this.tryEntries.length-1;u>=0;--u){var _=this.tryEntries[u];if(_.tryLoc<=this.prev&&h.call(_,"finallyLoc")&&this.prev<_.finallyLoc){var E=_;break}}E&&("break"===t||"continue"===t)&&E.tryLoc<=a&&a<=E.finallyLoc&&(E=null);var m=E?E.completion:{};return m.type=t,m.arg=a,E?(this.method="next",this.next=E.finallyLoc,T):this.complete(m)},complete:function complete(t,a){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return"