UNPKG

nim-web-sdk-ng

Version:

Yunxin IM SDK next generation

13 lines (12 loc) 1.25 MB
/** * * Version: 10.9.10 * * Git Hash: 030de1cce227d21d595df684cb01842578a9a774 * * Created At: 6/18/2025, 10:09:13 AM * * Target: NIM_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).NIM={})}(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,m,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}},g=!fails((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),M=Function.prototype,I=M.apply,S=M.call,T="object"==typeof Reflect&&Reflect.apply||(g?S.bind(I):function(){return S.apply(I,arguments)}),C=Function.prototype,b=C.bind,E=C.call,k=g&&b.bind(E,E),R=g?function(t){return t&&k(t)}:function(t){return t&&function(){return E.apply(t,arguments)}},isCallable=function(t){return"function"==typeof t},A=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),w=Function.prototype.call,N=g?w.bind(w):function(){return w.apply(w,arguments)},x={}.propertyIsEnumerable,O=Object.getOwnPropertyDescriptor,P={f:O&&!x.call({1:2},1)?function propertyIsEnumerable(t){var a=O(this,t);return!!a&&a.enumerable}:x},createPropertyDescriptor=function(t,a){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:a}},L=R({}.toString),V=R("".slice),classofRaw=function(t){return V(L(t),8,-1)},U=Object,D=R("".split),q=fails((function(){return!U("z").propertyIsEnumerable(0)}))?function(t){return"String"==classofRaw(t)?D(t,""):U(t)}:U,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 q(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)},j={},aFunction=function(t){return isCallable(t)?t:void 0},getBuiltIn=function(t,a){return arguments.length<2?aFunction(j[t])||aFunction(h[t]):j[t]&&j[t][a]||h[t]&&h[t][a]},$=R({}.isPrototypeOf),z=getBuiltIn("navigator","userAgent")||"",W=h.process,K=h.Deno,Y=W&&W.versions||K&&K.version,Q=Y&&Y.v8;Q&&(m=(u=Q.split("."))[0]>0&&u[0]<4?1:+(u[0]+u[1])),!m&&z&&(!(u=z.match(/Edge\/(\d+)/))||u[1]>=74)&&(u=z.match(/Chrome\/(\d+)/))&&(m=+u[1]);var J=m,X=!!Object.getOwnPropertySymbols&&!fails((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&J&&J<41})),Z=X&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ee=Object,te=Z?function(t){return"symbol"==typeof t}:function(t){var a=getBuiltIn("Symbol");return isCallable(a)&&$(a.prototype,ee(t))},re=String,tryToString=function(t){try{return re(t)}catch(t){return"Object"}},ne=TypeError,aCallable=function(t){if(isCallable(t))return t;throw ne(tryToString(t)+" is not a function")},getMethod=function(t,a){var u=t[a];return isNullOrUndefined(u)?void 0:aCallable(u)},ae=TypeError,ie=Object.defineProperty,oe="__core-js_shared__",se=h[oe]||function(t,a){try{ie(h,t,{value:a,configurable:!0,writable:!0})}catch(u){h[t]=a}return a}(oe,{}),ce=createCommonjsModule((function(t){(t.exports=function(t,a){return se[t]||(se[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"})})),le=Object,toObject=function(t){return le(requireObjectCoercible(t))},ue=R({}.hasOwnProperty),de=Object.hasOwn||function hasOwn(t,a){return ue(toObject(t),a)},pe=0,me=Math.random(),he=R(1..toString),uid=function(t){return"Symbol("+(void 0===t?"":t)+")_"+he(++pe+me,36)},ge=ce("wks"),ve=h.Symbol,fe=ve&&ve.for,ye=Z?ve:ve&&ve.withoutSetter||uid,wellKnownSymbol=function(t){if(!de(ge,t)||!X&&"string"!=typeof ge[t]){var a="Symbol."+t;X&&de(ve,t)?ge[t]=ve[t]:ge[t]=Z&&fe?fe(a):ye(a)}return ge[t]},Me=TypeError,Ie=wellKnownSymbol("toPrimitive"),toPrimitive=function(t,a){if(!H(t)||te(t))return t;var u,m=getMethod(t,Ie);if(m){if(void 0===a&&(a="default"),u=N(m,t,a),!H(u)||te(u))return u;throw Me("Can't convert object to primitive value")}return void 0===a&&(a="number"),function(t,a){var u,m;if("string"===a&&isCallable(u=t.toString)&&!H(m=N(u,t)))return m;if(isCallable(u=t.valueOf)&&!H(m=N(u,t)))return m;if("string"!==a&&isCallable(u=t.toString)&&!H(m=N(u,t)))return m;throw ae("Can't convert object to primitive value")}(t,a)},toPropertyKey=function(t){var a=toPrimitive(t,"string");return te(a)?a:a+""},_e=h.document,Se=H(_e)&&H(_e.createElement),documentCreateElement=function(t){return Se?_e.createElement(t):{}},Te=!A&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),Ce=Object.getOwnPropertyDescriptor,be={f:A?Ce:function getOwnPropertyDescriptor(t,a){if(t=toIndexedObject(t),a=toPropertyKey(a),Te)try{return Ce(t,a)}catch(t){}if(de(t,a))return createPropertyDescriptor(!N(P.f,t,a),t[a])}},Ee=/#|\.prototype\./,isForced=function(t,a){var u=Re[ke(t)];return u==we||u!=Ae&&(isCallable(a)?fails(a):!!a)},ke=isForced.normalize=function(t){return String(t).replace(Ee,".").toLowerCase()},Re=isForced.data={},Ae=isForced.NATIVE="N",we=isForced.POLYFILL="P",Ne=isForced,xe=R(R.bind),functionBindContext=function(t,a){return aCallable(t),void 0===a?t:g?xe(t,a):function(){return t.apply(a,arguments)}},Oe=A&&fails((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Pe=String,Le=TypeError,anObject=function(t){if(H(t))return t;throw Le(Pe(t)+" is not an object")},Ve=TypeError,Ue=Object.defineProperty,De=Object.getOwnPropertyDescriptor,qe="enumerable",Be="configurable",Fe="writable",Ge={f:A?Oe?function defineProperty(t,a,u){if(anObject(t),a=toPropertyKey(a),anObject(u),"function"==typeof t&&"prototype"===a&&"value"in u&&Fe in u&&!u.writable){var m=De(t,a);m&&m.writable&&(t[a]=u.value,u={configurable:Be in u?u.configurable:m.configurable,enumerable:qe in u?u.enumerable:m.enumerable,writable:!1})}return Ue(t,a,u)}:Ue:function defineProperty(t,a,u){if(anObject(t),a=toPropertyKey(a),anObject(u),Te)try{return Ue(t,a,u)}catch(t){}if("get"in u||"set"in u)throw Ve("Accessors not supported");return"value"in u&&(t[a]=u.value),t}},He=A?function(t,a,u){return Ge.f(t,a,createPropertyDescriptor(1,u))}:function(t,a,u){return t[a]=u,t},je=be.f,wrapConstructor=function(t){var Wrapper=function(a,u,m){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,m)}return T(t,this,arguments)};return Wrapper.prototype=t.prototype,Wrapper},_export=function(t,a){var u,m,g,M,I,S,T,C,b=t.target,E=t.global,k=t.stat,A=t.proto,w=E?h:k?h[b]:(h[b]||{}).prototype,N=E?j:j[b]||He(j,b,{})[b],x=N.prototype;for(g in a)u=!Ne(E?g:b+(k?".":"#")+g,t.forced)&&w&&de(w,g),I=N[g],u&&(S=t.dontCallGetSet?(C=je(w,g))&&C.value:w[g]),M=u&&S?S:a[g],u&&typeof I==typeof M||(T=t.bind&&u?functionBindContext(M,h):t.wrap&&u?wrapConstructor(M):A&&isCallable(M)?R(M):M,(t.sham||M&&M.sham||I&&I.sham)&&He(T,"sham",!0),He(N,g,T),A&&(de(j,m=b+"Prototype")||He(j,m,{}),He(j[m],g,M),t.real&&x&&!x[g]&&He(x,g,M)))},$e=Ge.f;_export({target:"Object",stat:!0,forced:Object.defineProperty!==$e,sham:!A},{defineProperty:$e});var ze,We=createCommonjsModule((function(t){var a=j.Object,u=t.exports=function defineProperty(t,u,m){return a.defineProperty(t,u,m)};a.defineProperty.sham&&(u.sham=!0)})),Ke=We,Ye=getDefaultExportFromCjs(createCommonjsModule((function(t){function _defineProperties(t,a){for(var u=0;u<a.length;u++){var m=a[u];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Ke(t,m.key,m)}}t.exports=function _createClass(t,a,u){return a&&_defineProperties(t.prototype,a),u&&_defineProperties(t,u),Ke(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports}))),Qe=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}))),Je=Math.ceil,Xe=Math.floor,Ze=Math.trunc||function trunc(t){var a=+t;return(a>0?Xe:Je)(a)},toIntegerOrInfinity=function(t){var a=+t;return a!=a||0===a?0:Ze(a)},et=Math.max,tt=Math.min,toAbsoluteIndex=function(t,a){var u=toIntegerOrInfinity(t);return u<0?et(u+a,0):tt(u,a)},rt=Math.min,toLength=function(t){return t>0?rt(toIntegerOrInfinity(t),9007199254740991):0},lengthOfArrayLike=function(t){return toLength(t.length)},createMethod$5=function(t){return function(a,u,m){var h,g=toIndexedObject(a),M=lengthOfArrayLike(g),I=toAbsoluteIndex(m,M);if(t&&u!=u){for(;M>I;)if((h=g[I++])!=h)return!0}else for(;M>I;I++)if((t||I in g)&&g[I]===u)return t||I||0;return!t&&-1}},nt={includes:createMethod$5(!0),indexOf:createMethod$5(!1)},at={},it=nt.indexOf,ot=R([].push),objectKeysInternal=function(t,a){var u,m=toIndexedObject(t),h=0,g=[];for(u in m)!de(at,u)&&de(m,u)&&ot(g,u);for(;a.length>h;)de(m,u=a[h++])&&(~it(g,u)||ot(g,u));return g},st=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ct=Object.keys||function keys(t){return objectKeysInternal(t,st)},lt=A&&!Oe?Object.defineProperties:function defineProperties(t,a){anObject(t);for(var u,m=toIndexedObject(a),h=ct(a),g=h.length,M=0;g>M;)Ge.f(t,u=h[M++],m[u]);return t},ut={f:lt},dt=getBuiltIn("document","documentElement"),pt=ce("keys"),sharedKey=function(t){return pt[t]||(pt[t]=uid(t))},mt=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{ze=new ActiveXObject("htmlfile")}catch(t){}var t,a;NullProtoObject="undefined"!=typeof document?document.domain&&ze?NullProtoObjectViaActiveX(ze):((a=documentCreateElement("iframe")).style.display="none",dt.appendChild(a),a.src=String("javascript:"),(t=a.contentWindow.document).open(),t.write(scriptTag("document.F=Object")),t.close(),t.F):NullProtoObjectViaActiveX(ze);for(var u=st.length;u--;)delete NullProtoObject.prototype[st[u]];return NullProtoObject()};at[mt]=!0;var ht=Object.create||function create(t,a){var u;return null!==t?(EmptyConstructor.prototype=anObject(t),u=new EmptyConstructor,EmptyConstructor.prototype=null,u[mt]=t):u=NullProtoObject(),void 0===a?u:ut.f(u,a)};_export({target:"Object",stat:!0,sham:!A},{create:ht});var gt=j.Object,vt=function create(t,a){return gt.create(t,a)},ft=String,yt=TypeError,Mt=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,m){return anObject(u),function(t){if("object"==typeof t||isCallable(t))return t;throw yt("Can't set "+ft(t)+" as a prototype")}(m),a?t(u,m):u.__proto__=m,u}}():void 0);_export({target:"Object",stat:!0},{setPrototypeOf:Mt});var It=j.Object.setPrototypeOf,_t=R([].slice),St=Function,Tt=R([].concat),Ct=R([].join),bt={},construct$8=function(t,a,u){if(!de(bt,a)){for(var m=[],h=0;h<a;h++)m[h]="a["+h+"]";bt[a]=St("C,a","return new C("+Ct(m,",")+")")}return bt[a](t,u)},Et=g?St.bind:function bind(t){var a=aCallable(this),u=a.prototype,m=_t(arguments,1),h=function bound(){var u=Tt(m,_t(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!==Et},{bind:Et});var entryVirtual=function(t){return j[t+"Prototype"]},kt=entryVirtual("Function").bind,Rt=Function.prototype,bind$1=function(t){var a=t.bind;return t===Rt||$(Rt,t)&&a===Rt.bind?kt:a},At=createCommonjsModule((function(t){function _setPrototypeOf(a,u){var m;return t.exports=_setPrototypeOf=It?bind$1(m=It).call(m):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})),wt=getDefaultExportFromCjs(createCommonjsModule((function(t){t.exports=function _inheritsLoose(t,a){t.prototype=vt(a.prototype),t.prototype.constructor=t,At(t,a)},t.exports.__esModule=!0,t.exports.default=t.exports})));_export({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991});var Nt=9007199254740991,xt={f:Object.getOwnPropertySymbols},Ot=Object.assign,Pt=Object.defineProperty,Lt=R([].concat),Vt=!Ot||fails((function(){if(A&&1!==Ot({b:1},Ot(Pt({},"a",{enumerable:!0,get:function(){Pt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},a={},u=Symbol(),m="abcdefghijklmnopqrst";return t[u]=7,m.split("").forEach((function(t){a[t]=t})),7!=Ot({},t)[u]||ct(Ot({},a)).join("")!=m}))?function assign(t,a){for(var u=toObject(t),m=arguments.length,h=1,g=xt.f,M=P.f;m>h;)for(var I,S=q(arguments[h++]),T=g?Lt(ct(S),g(S)):ct(S),C=T.length,b=0;C>b;)I=T[b++],A&&!N(M,S,I)||(u[I]=S[I]);return u}:Ot;_export({target:"Object",stat:!0,arity:2,forced:Object.assign!==Vt},{assign:Vt});var Ut=j.Object.assign,Dt=fails((function(){ct(1)}));_export({target:"Object",stat:!0,forced:Dt},{keys:function keys(t){return ct(toObject(t))}});var qt,Bt,Ft,Gt=j.Object.keys,Ht={},jt=h.WeakMap,$t=isCallable(jt)&&/native code/.test(String(jt)),zt="Object already initialized",Wt=h.TypeError,Kt=h.WeakMap;if($t||se.state){var Yt=se.state||(se.state=new Kt),Qt=R(Yt.get),Jt=R(Yt.has),Xt=R(Yt.set);qt=function(t,a){if(Jt(Yt,t))throw Wt(zt);return a.facade=t,Xt(Yt,t,a),a},Bt=function(t){return Qt(Yt,t)||{}},Ft=function(t){return Jt(Yt,t)}}else{var Zt=sharedKey("state");at[Zt]=!0,qt=function(t,a){if(de(t,Zt))throw Wt(zt);return a.facade=t,He(t,Zt,a),a},Bt=function(t){return de(t,Zt)?t[Zt]:{}},Ft=function(t){return de(t,Zt)}}var er,tr,rr,nr={set:qt,get:Bt,has:Ft,enforce:function(t){return Ft(t)?Bt(t):qt(t,{})},getterFor:function(t){return function(a){var u;if(!H(a)||(u=Bt(a)).type!==t)throw Wt("Incompatible receiver, "+t+" required");return u}}},ar=Function.prototype,ir=A&&Object.getOwnPropertyDescriptor,or=de(ar,"name"),sr={EXISTS:or,PROPER:or&&"something"===function something(){}.name,CONFIGURABLE:or&&(!A||A&&ir(ar,"name").configurable)},cr=!fails((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})),lr=sharedKey("IE_PROTO"),ur=Object,dr=ur.prototype,pr=cr?ur.getPrototypeOf:function(t){var a=toObject(t);if(de(a,lr))return a[lr];var u=a.constructor;return isCallable(u)&&a instanceof u?u.prototype:a instanceof ur?dr:null},defineBuiltIn=function(t,a,u,m){return m&&m.enumerable?t[a]=u:He(t,a,u),t},mr=wellKnownSymbol("iterator"),hr=!1;[].keys&&("next"in(rr=[].keys())?(tr=pr(pr(rr)))!==Object.prototype&&(er=tr):hr=!0);var gr=!H(er)||fails((function(){var t={};return er[mr].call(t)!==t}));er=gr?{}:ht(er),isCallable(er[mr])||defineBuiltIn(er,mr,(function(){return this}));var vr={IteratorPrototype:er,BUGGY_SAFARI_ITERATORS:hr},fr={};fr[wellKnownSymbol("toStringTag")]="z";var yr="[object z]"===String(fr),Mr=wellKnownSymbol("toStringTag"),Ir=Object,_r="Arguments"==classofRaw(function(){return arguments}()),Sr=yr?classofRaw:function(t){var a,u,m;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(u=function(t,a){try{return t[a]}catch(t){}}(a=Ir(t),Mr))?u:_r?classofRaw(a):"Object"==(m=classofRaw(a))&&isCallable(a.callee)?"Arguments":m},Tr=yr?{}.toString:function toString(){return"[object "+Sr(this)+"]"},Cr=Ge.f,br=wellKnownSymbol("toStringTag"),setToStringTag=function(t,a,u,m){if(t){var h=u?t:t.prototype;de(h,br)||Cr(h,br,{configurable:!0,value:a}),m&&!yr&&He(h,"toString",Tr)}},Er=vr.IteratorPrototype,returnThis$1=function(){return this},kr=sr.PROPER,Rr=vr.BUGGY_SAFARI_ITERATORS,Ar=wellKnownSymbol("iterator"),wr="keys",Nr="values",xr="entries",returnThis=function(){return this},iteratorDefine=function(t,a,u,m,h,g,M){!function(t,a,u,m){var h=a+" Iterator";t.prototype=ht(Er,{next:createPropertyDescriptor(+!m,u)}),setToStringTag(t,h,!1,!0),Ht[h]=returnThis$1}(u,a,m);var I,S,T,getIterationMethod=function(t){if(t===h&&R)return R;if(!Rr&&t in E)return E[t];switch(t){case wr:return function keys(){return new u(this,t)};case Nr:return function values(){return new u(this,t)};case xr:return function entries(){return new u(this,t)}}return function(){return new u(this)}},C=a+" Iterator",b=!1,E=t.prototype,k=E[Ar]||E["@@iterator"]||h&&E[h],R=!Rr&&k||getIterationMethod(h),A="Array"==a&&E.entries||k;if(A&&(I=pr(A.call(new t)))!==Object.prototype&&I.next&&(setToStringTag(I,C,!0,!0),Ht[C]=returnThis),kr&&h==Nr&&k&&k.name!==Nr&&(b=!0,R=function values(){return N(k,this)}),h)if(S={values:getIterationMethod(Nr),keys:g?R:getIterationMethod(wr),entries:getIterationMethod(xr)},M)for(T in S)(Rr||b||!(T in E))&&defineBuiltIn(E,T,S[T]);else _export({target:a,proto:!0,forced:Rr||b},S);return M&&E[Ar]!==R&&defineBuiltIn(E,Ar,R,{name:h}),Ht[a]=R,S};Ge.f;var Or="Array Iterator",Pr=nr.set,Lr=nr.getterFor(Or);iteratorDefine(Array,"Array",(function(t,a){Pr(this,{type:Or,target:toIndexedObject(t),index:0,kind:a})}),(function(){var t=Lr(this),a=t.target,u=t.kind,m=t.index++;return!a||m>=a.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==u?{value:m,done:!1}:"values"==u?{value:a[m],done:!1}:{value:[m,a[m]],done:!1}}),"values"),Ht.Arguments=Ht.Array;var Vr=wellKnownSymbol("toStringTag");for(var Ur 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 Dr=h[Ur],qr=Dr&&Dr.prototype;qr&&Sr(qr)!==Vr&&He(qr,Vr,Ur),Ht[Ur]=Ht.Array}var Br=Array.isArray||function isArray(t){return"Array"==classofRaw(t)},Fr=R(Function.toString);isCallable(se.inspectSource)||(se.inspectSource=function(t){return Fr(t)});var Gr=se.inspectSource,noop=function(){},Hr=[],jr=getBuiltIn("Reflect","construct"),$r=/^\s*(?:class|function)\b/,zr=R($r.exec),Wr=!$r.exec(noop),Kr=function isConstructor(t){if(!isCallable(t))return!1;try{return jr(noop,Hr,t),!0}catch(t){return!1}},Yr=function isConstructor(t){if(!isCallable(t))return!1;switch(Sr(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Wr||!!zr($r,Gr(t))}catch(t){return!0}};Yr.sham=!0;var Qr=!jr||fails((function(){var t;return Kr(Kr.call)||!Kr(Object)||!Kr((function(){t=!0}))||t}))?Yr:Kr,Jr=wellKnownSymbol("species"),Xr=Array,arraySpeciesCreate=function(t,a){return new(function(t){var a;return Br(t)&&(a=t.constructor,(Qr(a)&&(a===Xr||Br(a.prototype))||H(a)&&null===(a=a[Jr]))&&(a=void 0)),void 0===a?Xr:a}(t))(0===a?0:a)},Zr=R([].push),createMethod$4=function(t){var a=1==t,u=2==t,m=3==t,h=4==t,g=6==t,M=7==t,I=5==t||g;return function(S,T,C,b){for(var E,k,R=toObject(S),A=q(R),w=functionBindContext(T,C),N=lengthOfArrayLike(A),x=0,O=b||arraySpeciesCreate,P=a?O(S,N):u||M?O(S,0):void 0;N>x;x++)if((I||x in A)&&(k=w(E=A[x],x,R),t))if(a)P[x]=k;else if(k)switch(t){case 3:return!0;case 5:return E;case 6:return x;case 2:Zr(P,E)}else switch(t){case 4:return!1;case 7:Zr(P,E)}return g?-1:m||h?h:P}},en={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)},arrayMethodIsStrict=function(t,a){var u=[][t];return!!u&&fails((function(){u.call(null,a||function(){return 1},1)}))},tn=en.forEach,rn=arrayMethodIsStrict("forEach")?[].forEach:function forEach(t){return tn(this,t,arguments.length>1?arguments[1]:void 0)};_export({target:"Array",proto:!0,forced:[].forEach!=rn},{forEach:rn});var nn=entryVirtual("Array").forEach,an=Array.prototype,sn={DOMTokenList:!0,NodeList:!0},forEach$1=function(t){var a=t.forEach;return t===an||$(an,t)&&a===an.forEach||de(sn,Sr(t))?nn:a},cn=en.findIndex,ln="findIndex",un=!0;ln in[]&&Array(1).findIndex((function(){un=!1})),_export({target:"Array",proto:!0,forced:un},{findIndex:function findIndex(t){return cn(this,t,arguments.length>1?arguments[1]:void 0)}});var dn=entryVirtual("Array").findIndex,pn=Array.prototype,findIndex$1=function(t){var a=t.findIndex;return t===pn||$(pn,t)&&a===pn.findIndex?dn:a},mn=TypeError,hn=Object.getOwnPropertyDescriptor,gn=A&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}()?function(t,a){if(Br(t)&&!hn(t,"length").writable)throw mn("Cannot set read only .length");return t.length=a}:function(t,a){return t.length=a},vn=TypeError,doesNotExceedSafeInteger=function(t){if(t>9007199254740991)throw vn("Maximum allowed index exceeded");return t},createProperty=function(t,a,u){var m=toPropertyKey(a);m in t?Ge.f(t,m,createPropertyDescriptor(0,u)):t[m]=u},fn=TypeError,deletePropertyOrThrow=function(t,a){if(!delete t[a])throw fn("Cannot delete property "+tryToString(a)+" of "+tryToString(t))},yn=wellKnownSymbol("species"),arrayMethodHasSpeciesSupport=function(t){return J>=51||!fails((function(){var a=[];return(a.constructor={})[yn]=function(){return{foo:1}},1!==a[t](Boolean).foo}))},Mn=arrayMethodHasSpeciesSupport("splice"),In=Math.max,_n=Math.min;_export({target:"Array",proto:!0,forced:!Mn},{splice:function splice(t,a){var u,m,h,g,M,I,S=toObject(this),T=lengthOfArrayLike(S),C=toAbsoluteIndex(t,T),b=arguments.length;for(0===b?u=m=0:1===b?(u=0,m=T-C):(u=b-2,m=_n(In(toIntegerOrInfinity(a),0),T-C)),doesNotExceedSafeInteger(T+u-m),h=arraySpeciesCreate(S,m),g=0;g<m;g++)(M=C+g)in S&&createProperty(h,g,S[M]);if(h.length=m,u<m){for(g=C;g<T-m;g++)I=g+u,(M=g+m)in S?S[I]=S[M]:deletePropertyOrThrow(S,I);for(g=T;g>T-m+u;g--)deletePropertyOrThrow(S,g-1)}else if(u>m)for(g=T-m;g>C;g--)I=g+u-1,(M=g+m-1)in S?S[I]=S[M]:deletePropertyOrThrow(S,I);for(g=0;g<u;g++)S[g+C]=arguments[g+2];return gn(S,T-m+u),h}});var Sn=entryVirtual("Array").splice,Tn=Array.prototype,splice=function(t){var a=t.splice;return t===Tn||$(Tn,t)&&a===Tn.splice?Sn:a},Cn=getBuiltIn("JSON","stringify"),bn=R(/./.exec),En=R("".charAt),kn=R("".charCodeAt),Rn=R("".replace),An=R(1..toString),wn=/[\uD800-\uDFFF]/g,Nn=/^[\uD800-\uDBFF]$/,xn=/^[\uDC00-\uDFFF]$/,On=!X||fails((function(){var t=getBuiltIn("Symbol")();return"[null]"!=Cn([t])||"{}"!=Cn({a:t})||"{}"!=Cn(Object(t))})),Pn=fails((function(){return'"\\udf06\\ud834"'!==Cn("\udf06\ud834")||'"\\udead"'!==Cn("\udead")})),stringifyWithSymbolsFix=function(t,a){var u=_t(arguments),m=a;if((H(a)||void 0!==t)&&!te(t))return Br(a)||(a=function(t,a){if(isCallable(m)&&(a=N(m,this,t,a)),!te(a))return a}),u[1]=a,T(Cn,null,u)},fixIllFormed=function(t,a,u){var m=En(u,a-1),h=En(u,a+1);return bn(Nn,t)&&!bn(xn,h)||bn(xn,t)&&!bn(Nn,m)?"\\u"+An(kn(t,0),16):t};Cn&&_export({target:"JSON",stat:!0,arity:3,forced:On||Pn},{stringify:function stringify(t,a,u){var m=_t(arguments),h=T(On?stringifyWithSymbolsFix:Cn,null,m);return Pn&&"string"==typeof h?Rn(h,wn,fixIllFormed):h}}),j.JSON||(j.JSON={stringify:JSON.stringify});var Ln=function stringify(t,a,u){return T(j.JSON.stringify,null,arguments)},Vn=Ln;_export({target:"Array",stat:!0},{isArray:Br});var Un=j.Array.isArray,Dn=st.concat("length","prototype"),qn={f:Object.getOwnPropertyNames||function getOwnPropertyNames(t){return objectKeysInternal(t,Dn)}},Bn=R([].concat),Fn=getBuiltIn("Reflect","ownKeys")||function ownKeys(t){var a=qn.f(anObject(t)),u=xt.f;return u?Bn(a,u(t)):a},Gn=Error,Hn=R("".replace),jn=String(Gn("zxcasd").stack),$n=/\n\s*at [^:]*:[^\n]*/,zn=$n.test(jn),errorStackClear=function(t,a){if(zn&&"string"==typeof t&&!Gn.prepareStackTrace)for(;a--;)t=Hn(t,$n,"");return t},installErrorCause=function(t,a){H(a)&&"cause"in a&&He(t,"cause",a.cause)},Wn=wellKnownSymbol("iterator"),Kn=Array.prototype,isArrayIteratorMethod=function(t){return void 0!==t&&(Ht.Array===t||Kn[Wn]===t)},Yn=wellKnownSymbol("iterator"),getIteratorMethod$5=function(t){if(!isNullOrUndefined(t))return getMethod(t,Yn)||getMethod(t,"@@iterator")||Ht[Sr(t)]},Qn=TypeError,getIterator=function(t,a){var u=arguments.length<2?getIteratorMethod$5(t):a;if(aCallable(u))return anObject(N(u,t));throw Qn(tryToString(t)+" is not iterable")},iteratorClose=function(t,a,u){var m,h;anObject(t);try{if(!(m=getMethod(t,"return"))){if("throw"===a)throw u;return u}m=N(m,t)}catch(t){h=!0,m=t}if("throw"===a)throw u;if(h)throw m;return anObject(m),u},Jn=TypeError,Result=function(t,a){this.stopped=t,this.result=a},Xn=Result.prototype,iterate=function(t,a,u){var m,h,g,M,I,S,T,C=u&&u.that,b=!(!u||!u.AS_ENTRIES),E=!(!u||!u.IS_RECORD),k=!(!u||!u.IS_ITERATOR),R=!(!u||!u.INTERRUPTED),A=functionBindContext(a,C),stop=function(t){return m&&iteratorClose(m,"normal",t),new Result(!0,t)},callFn=function(t){return b?(anObject(t),R?A(t[0],t[1],stop):A(t[0],t[1])):R?A(t,stop):A(t)};if(E)m=t.iterator;else if(k)m=t;else{if(!(h=getIteratorMethod$5(t)))throw Jn(tryToString(t)+" is not iterable");if(isArrayIteratorMethod(h)){for(g=0,M=lengthOfArrayLike(t);M>g;g++)if((I=callFn(t[g]))&&$(Xn,I))return I;return new Result(!1)}m=getIterator(t,h)}for(S=E?t.next:m.next;!(T=N(S,m)).done;){try{I=callFn(T.value)}catch(t){iteratorClose(m,"throw",t)}if("object"==typeof I&&I&&$(Xn,I))return I}return new Result(!1)},Zn=String,toString=function(t){if("Symbol"===Sr(t))throw TypeError("Cannot convert a Symbol value to a string");return Zn(t)},normalizeStringArgument=function(t,a){return void 0===t?arguments.length<2?"":a:toString(t)},ea=!fails((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",createPropertyDescriptor(1,7)),7!==t.stack)})),ta=wellKnownSymbol("toStringTag"),ra=Error,na=[].push,aa=function AggregateError(t,a){var u,m=arguments.length>2?arguments[2]:void 0,h=$(ia,this);Mt?u=Mt(ra(),h?pr(this):ia):(u=h?this:ht(ia),He(u,ta,"Error")),void 0!==a&&He(u,"message",normalizeStringArgument(a)),ea&&He(u,"stack",errorStackClear(u.stack,1)),installErrorCause(u,m);var g=[];return iterate(t,na,{that:g}),He(u,"errors",g),u};Mt?Mt(aa,ra):function(t,a,u){for(var m=Fn(a),h=Ge.f,g=be.f,M=0;M<m.length;M++){var I=m[M];de(t,I)||u&&de(u,I)||h(t,I,g(a,I))}}(aa,ra,{name:!0});var ia=aa.prototype=ht(ra.prototype,{constructor:createPropertyDescriptor(1,aa),message:createPropertyDescriptor(1,""),name:createPropertyDescriptor(1,"AggregateError")});_export({global:!0,constructor:!0,arity:2},{AggregateError:aa});var oa,sa,ca,la,ua="process"==classofRaw(h.process),da=wellKnownSymbol("species"),setSpecies=function(t){var a=getBuiltIn(t),u=Ge.f;A&&a&&!a[da]&&u(a,da,{configurable:!0,get:function(){return this}})},pa=TypeError,anInstance=function(t,a){if($(a,t))return t;throw pa("Incorrect invocation")},ma=TypeError,aConstructor=function(t){if(Qr(t))return t;throw ma(tryToString(t)+" is not a constructor")},ha=wellKnownSymbol("species"),speciesConstructor=function(t,a){var u,m=anObject(t).constructor;return void 0===m||isNullOrUndefined(u=anObject(m)[ha])?a:aConstructor(u)},ga=TypeError,validateArgumentsLength=function(t,a){if(t<a)throw ga("Not enough arguments");return t},va=/(?:ipad|iphone|ipod).*applewebkit/i.test(z),fa=h.setImmediate,ya=h.clearImmediate,Ma=h.process,Ia=h.Dispatch,_a=h.Function,Sa=h.MessageChannel,Ta=h.String,Ca=0,ba={},Ea="onreadystatechange";try{oa=h.location}catch(t){}var run=function(t){if(de(ba,t)){var a=ba[t];delete ba[t],a()}},runner=function(t){return function(){run(t)}},listener=function(t){run(t.data)},post=function(t){h.postMessage(Ta(t),oa.protocol+"//"+oa.host)};fa&&ya||(fa=function setImmediate(t){validateArgumentsLength(arguments.length,1);var a=isCallable(t)?t:_a(t),u=_t(arguments,1);return ba[++Ca]=function(){T(a,void 0,u)},sa(Ca),Ca},ya=function clearImmediate(t){delete ba[t]},ua?sa=function(t){Ma.nextTick(runner(t))}:Ia&&Ia.now?sa=function(t){Ia.now(runner(t))}:Sa&&!va?(la=(ca=new Sa).port2,ca.port1.onmessage=listener,sa=functionBindContext(la.postMessage,la)):h.addEventListener&&isCallable(h.postMessage)&&!h.importScripts&&oa&&"file:"!==oa.protocol&&!fails(post)?(sa=post,h.addEventListener("message",listener,!1)):sa=Ea in documentCreateElement("script")?function(t){dt.appendChild(documentCreateElement("script")).onreadystatechange=function(){dt.removeChild(this),run(t)}}:function(t){setTimeout(runner(t),0)});var ka,Ra,Aa,wa,Na,xa,Oa,Pa,La={set:fa,clear:ya},Va=/ipad|iphone|ipod/i.test(z)&&void 0!==h.Pebble,Ua=/web0s(?!.*chrome)/i.test(z),Da=be.f,qa=La.set,Ba=h.MutationObserver||h.WebKitMutationObserver,Fa=h.document,Ga=h.process,Ha=h.Promise,ja=Da(h,"queueMicrotask"),$a=ja&&ja.value;$a||(ka=function(){var t,a;for(ua&&(t=Ga.domain)&&t.exit();Ra;){a=Ra.fn,Ra=Ra.next;try{a()}catch(t){throw Ra?wa():Aa=void 0,t}}Aa=void 0,t&&t.enter()},va||ua||Ua||!Ba||!Fa?!Va&&Ha&&Ha.resolve?((Oa=Ha.resolve(void 0)).constructor=Ha,Pa=functionBindContext(Oa.then,Oa),wa=function(){Pa(ka)}):ua?wa=function(){Ga.nextTick(ka)}:(qa=functionBindContext(qa,h),wa=function(){qa(ka)}):(Na=!0,xa=Fa.createTextNode(""),new Ba(ka).observe(xa,{characterData:!0}),wa=function(){xa.data=Na=!Na}));var za=$a||function(t){var a={fn:t,next:void 0};Aa&&(Aa.next=a),Ra||(Ra=a,wa()),Aa=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 Wa,Ka,Ya=Queue,Qa=h.Promise,Ja="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Xa=!Ja&&!ua&&"object"==typeof window&&"object"==typeof document,Za=Qa&&Qa.prototype,ei=wellKnownSymbol("species"),ti=!1,ri=isCallable(h.PromiseRejectionEvent),ni=Ne("Promise",(function(){var t=Gr(Qa),a=t!==String(Qa);if(!a&&66===J)return!0;if(!Za.catch||!Za.finally)return!0;if(!J||J<51||!/native code/.test(t)){var u=new Qa((function(t){t(1)})),FakePromise=function(t){t((function(){}),(function(){}))};if((u.constructor={})[ei]=FakePromise,!(ti=u.then((function(){}))instanceof FakePromise))return!0}return!a&&(Xa||Ja)&&!ri})),ai={CONSTRUCTOR:ni,REJECTION_EVENT:ri,SUBCLASSING:ti},oi=TypeError,PromiseCapability=function(t){var a,u;this.promise=new t((function(t,m){if(void 0!==a||void 0!==u)throw oi("Bad Promise constructor");a=t,u=m})),this.resolve=aCallable(a),this.reject=aCallable(u)},si={f:function(t){return new PromiseCapability(t)}},ci=La.set,li="Promise",ui=ai.CONSTRUCTOR,di=ai.REJECTION_EVENT,pi=nr.getterFor(li),mi=nr.set,hi=Qa&&Qa.prototype,gi=Qa,vi=hi,fi=h.TypeError,yi=h.document,Mi=h.process,Ii=si.f,_i=Ii,Si=!!(yi&&yi.createEvent&&h.dispatchEvent),Ti="unhandledrejection",isThenable=function(t){var a;return!(!H(t)||!isCallable(a=t.then))&&a},callReaction=function(t,a){var u,m,h,g=a.value,M=1==a.state,I=M?t.ok:t.fail,S=t.resolve,T=t.reject,C=t.domain;try{I?(M||(2===a.rejection&&onHandleUnhandled(a),a.rejection=1),!0===I?u=g:(C&&C.enter(),u=I(g),C&&(C.exit(),h=!0)),u===t.promise?T(fi("Promise-chain cycle")):(m=isThenable(u))?N(m,u,S,T):S(u)):T(g)}catch(t){C&&!h&&C.exit(),T(t)}},notify=function(t,a){t.notified||(t.notified=!0,za((function(){for(var u,m=t.reactions;u=m.get();)callReaction(u,t);t.notified=!1,a&&!t.rejection&&onUnhandled(t)})))},dispatchEvent=function(t,a,u){var m,g;Si?((m=yi.createEvent("Event")).promise=a,m.reason=u,m.initEvent(t,!1,!0),h.dispatchEvent(m)):m={promise:a,reason:u},!di&&(g=h["on"+t])?g(m):t===Ti&&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){N(ci,h,(function(){var a,u=t.facade,m=t.value;if(isUnhandled(t)&&(a=perform((function(){ua?Mi.emit("unhandledRejection",m,u):dispatchEvent(Ti,u,m)})),t.rejection=ua||isUnhandled(t)?2:1,a.error))throw a.value}))},isUnhandled=function(t){return 1!==t.rejection&&!t.parent},onHandleUnhandled=function(t){N(ci,h,(function(){var a=t.facade;ua?Mi.emit("rejectionHandled",a):dispatchEvent("rejectionhandled",a,t.value)}))},bind=function(t,a,u){return function(m){t(a,m,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 fi("Promise can't be resolved itself");var m=isThenable(a);m?za((function(){var u={done:!1};try{N(m,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)}}};ui&&(vi=(gi=function Promise(t){anInstance(this,vi),aCallable(t),N(Wa,this);var a=pi(this);try{t(bind(internalResolve,a),bind(internalReject,a))}catch(t){internalReject(a,t)}}).prototype,(Wa=function Promise(t){mi(this,{type:li,done:!1,notified:!1,parent:!1,reactions:new Ya,rejection:!1,state:0,value:void 0})}).prototype=defineBuiltIn(vi,"then",(function then(t,a){var u=pi(this),m=Ii(speciesConstructor(this,gi));return u.parent=!0,m.ok=!isCallable(t)||t,m.fail=isCallable(a)&&a,m.domain=ua?Mi.domain:void 0,0==u.state?u.reactions.add(m):za((function(){callReaction(m,u)})),m.promise})),Ka=function(){var t=new Wa,a=pi(t);this.promise=t,this.resolve=bind(internalResolve,a),this.reject=bind(internalReject,a)},si.f=Ii=function(t){return t===gi||undefined===t?new Ka(t):_i(t)}),_export({global:!0,constructor:!0,wrap:!0,forced:ui},{Promise:gi}),setToStringTag(gi,li,!1,!0),setSpecies(li);var Ci=wellKnownSymbol("iterator"),bi=!1;try{var Ei=0,ki={next:function(){return{done:!!Ei++}},return:function(){bi=!0}};ki[Ci]=function(){return this},Array.from(ki,(function(){throw 2}))}catch(t){}var checkCorrectnessOfIteration=function(t,a){if(!a&&!bi)return!1;var u=!1;try{var m={};m[Ci]=function(){return{next:function(){return{done:u=!0}}}},t(m)}catch(t){}return u},Ri=ai.CONSTRUCTOR||!checkCorrectnessOfIteration((function(t){Qa.all(t).then(void 0,(function(){}))}));_export({target:"Promise",stat:!0,forced:Ri},{all:function all(t){var a=this,u=si.f(a),m=u.resolve,h=u.reject,g=perform((function(){var u=aCallable(a.resolve),g=[],M=0,I=1;iterate(t,(function(t){var S=M++,T=!1;I++,N(u,a,t).then((function(t){T||(T=!0,g[S]=t,--I||m(g))}),h)})),--I||m(g)}));return g.error&&h(g.value),u.promise}});var Ai=ai.CONSTRUCTOR;Qa&&Qa.prototype,_export({target:"Promise",proto:!0,forced:Ai,real:!0},{catch:function(t){return this.then(void 0,t)}}),_export({target:"Promise",stat:!0,forced:Ri},{race:function race(t){var a=this,u=si.f(a),m=u.reject,h=perform((function(){var h=aCallable(a.resolve);iterate(t,(function(t){N(h,a,t).then(u.resolve,m)}))}));return h.error&&m(h.value),u.promise}}),_export({target:"Promise",stat:!0,forced:ai.CONSTRUCTOR},{reject:function reject(t){var a=si.f(this);return N(a.reject,void 0,t),a.promise}});var promiseResolve=function(t,a){if(anObject(t),H(a)&&a.constructor===t)return a;var u=si.f(t);return(0,u.resolve)(a),u.promise},wi=ai.CONSTRUCTOR,Ni=getBuiltIn("Promise"),xi=!wi;_export({target:"Promise",stat:!0,forced:!0},{resolve:function resolve(t){return promiseResolve(xi&&this===Ni?Qa:this,t)}}),_export({target:"Promise",stat:!0},{allSettled:function allSettled(t){var a=this,u=si.f(a),m=u.resolve,h=u.reject,g=perform((function(){var u=aCallable(a.resolve),h=[],g=0,M=1;iterate(t,(function(t){var I=g++,S=!1;M++,N(u,a,t).then((function(t){S||(S=!0,h[I]={status:"fulfilled",value:t},--M||m(h))}),(function(t){S||(S=!0,h[I]={status:"rejected",reason:t},--M||m(h))}))})),--M||m(h)}));return g.error&&h(g.value),u.promise}});var Oi="No one promise resolved";_export({target:"Promise",stat:!0},{any:function any(t){var a=this,u=getBuiltIn("AggregateError"),m=si.f(a),h=m.resolve,g=m.reject,M=perform((function(){var m=aCallable(a.resolve),M=[],I=0,S=1,T=!1;iterate(t,(function(t){var C=I++,b=!1;S++,N(m,a,t).then((function(t){b||T||(T=!0,h(t))}),(function(t){b||T||(b=!0,M[C]=t,--S||g(new u(M,Oi)))}))})),--S||g(new u(M,Oi))}));return M.error&&g(M.value),m.promise}});var Pi=Qa&&Qa.prototype,Li=!!Qa&&fails((function(){Pi.finally.call({then:function(){}},(function(){}))}));_export({target:"Promise",proto:!0,real:!0,forced:Li},{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 Vi=R("".charAt),Ui=R("".charCodeAt),Di=R("".slice),createMethod$3=function(t){return function(a,u){var m,h,g=toString(requireObjectCoercible(a)),M=toIntegerOrInfinity(u),I=g.length;return M<0||M>=I?t?"":void 0:(m=Ui(g,M))<55296||m>56319||M+1===I||(h=Ui(g,M+1))<56320||h>57343?t?Vi(g,M):m:t?Di(g,M,M+2):h-56320+(m-55296<<10)+65536}},qi={codeAt:createMethod$3(!1),charAt:createMethod$3(!0)},Bi=qi.charAt,Fi="String Iterator",Gi=nr.set,Hi=nr.getterFor(Fi);iteratorDefine(String,"String",(function(t){Gi(this,{type:Fi,string:toString(t),index:0})}),(function next(){var t,a=Hi(this),u=a.string,m=a.index;return m>=u.length?{value:void 0,done:!0}:(t=Bi(u,m),a.index+=t.length,{value:t,done:!1})}));var ji=j.Promise;_export({target:"Promise",stat:!0,forced:!0},{try:function(t){var a=si.f(this),u=perform(t);return(u.error?a.reject:a.resolve)(u.value),a.promise}});var $i=ji,zi=P.f,Wi=R(zi),Ki=R([].push),createMethod$2=function(t){return function(a){for(var u,m=toIndexedObject(a),h=ct(m),g=h.length,M=0,I=[];g>M;)u=h[M++],A&&!Wi(m,u)||Ki(I,t?[u,m[u]]:m[u]);return I}},Yi={entries:createMethod$2(!0),values:createMethod$2(!1)},Qi=Yi.values;_export({target:"Object",stat:!0},{values:function values(t){return Qi(t)}});var Ji=j.Object.values,Xi=Date,Zi=R(Xi.prototype.getTime);_export({target:"Date",stat:!0},{now:function now(){return Zi(new Xi)}});var eo=j.Date.now,to=wellKnownSymbol("isConcatSpreadable"),ro=J>=51||!fails((function(){var t=[];return t[to]=!1,t.concat()[0]!==t})),no=arrayMethodHasSpeciesSupport("concat"),isConcatSpreadable=function(t){if(!H(t))return!1;var a=t[to];return void 0!==a?!!a:Br(t)};_export({target:"Array",proto:!0,arity:1,forced:!ro||!no},{concat:function concat(t){var a,u,m,h,g,M=toObject(this),I=arraySpeciesCreate(M,0),S=0;for(a=-1,m=arguments.length;a<m;a++)if(isConcatSpreadable(g=-1===a?M:arguments[a]))for(h=lengthOfArrayLike(g),doesNotExceedSafeInteger(S+h),u=0;u<h;u++,S++)u in g&&createProperty(I,S,g[u]);else doesNotExceedSafeInteger(S+1),createProperty(I,S++,g);return I.length=S,I}});var ao=entryVirtual("Array").concat,io=Array.prototype,concat=function(t){var a=t.concat;return t===io||$(io,t)&&a===io.concat?ao:a},oo=/MSIE .\./.test(z),so=h.Function,wrap$1=function(t){return oo?function(a,u){var m=validateArgumentsLength(arguments.length,1)>2,h=isCallable(a)?a:so(a),g=m?_t(arguments,2):void 0;return t(m?function(){T(h,this,g)}:h,u)}:t},co={setTimeout:wrap$1(h.setTimeout),setInterval:wrap$1(h.setInterval)},lo=co.setInterval;_export({global:!0,bind:!0,forced:h.setInterval!==lo},{setInterval:lo});var uo=co.setTimeout;_export({global:!0,bind:!0,forced:h.setTimeout!==uo},{setTimeout:uo});var po=j.setTimeout,mo=createCommonjsModule((function(t){var a=Object.prototype.hasOwnProperty,u="~";function Events(){}function EE(t,a,u){this.fn=t,this.context=a,this.once=u||!1}function addListener(t,a,m,h,g){if("function"!=typeof m)throw new TypeError("The listener must be a function");var M=new EE(m,h||t,g),I=u?u+a:a;return t._events[I]?t._events[I].fn?t._events[I]=[t._events[I],M]:t._events[I].push(M):(t._events[I]=M,t._eventsCount++),t}function clearEvent(t,a){0==--t._eventsCount?t._events=new Events:delete t._events[a]}function EventEmitter(){this._events=new Events,this._eventsCount=0}Object.create&&(Events.prototype=Object.create(null),(new Events).__proto__||(u=!1)),EventEmitter.prototype.eventNames=function eventNames(){var t,m,h=[];if(0===this._eventsCount)return h;for(m in t=this._events)a.call(t,m)&&h.push(u?m.slice(1):m);return Object.getOwnPropertySymbols?h.concat(Object.getOwnPropertySymbols(t)):h},EventEmitter.prototype.listeners=function listeners(t){var a=u?u+t:t,m=this._events[a];if(!m)return[];if(m.fn)return[m.fn];for(var h=0,g=m.length,M=new Array(g);h<g;h++)M[h]=m[h].fn;return M},EventEmitter.prototype.listenerCount=function listenerCount(t){var a=u?u+t:t,m=this._events[a];return m?m.fn?1:m.length:0},EventEmitter.prototype.emit=function emit(t,a,m,h,g,M){var I=u?u+t:t;if(!this._events[I])return!1;var S,T,C=this._events[I],b=arguments.length;if(C.fn){switch(C.once&&this.removeListener(t,C.fn,void 0,!0),b){case 1:return C.fn.call(C.context),!0;case 2:return C.fn.call(C.context,a),!0;case 3:return C.fn.call(C.context,a,m),!0;case 4:return C.fn.call(C.context,a,m,h),!0;case 5:return C.fn.call(C.context,a,m,h,g),!0;case 6:return C.fn.call(C.context,a,m,h,g,M),!0}for(T=1,S=new Array(b-1);T<b;T++)S[T-1]=arguments[T];C.fn.apply(C.context,S)}else{var E,k=C.length;for(T=0;T<k;T++)switch(C[T].once&&this.removeListener(t,C[T].fn,void 0,!0),b){case 1:C[T].fn.call(C[T].context);break;case 2:C[T].fn.call(C[T].context,a);break;case 3:C[T].fn.call(C[T].context,a,m);break;case 4:C[T].fn.call(C[T].context,a,m,h);break;default:if(!S)for(E=1,S=new Array(b-1);E<b;E++)S[E-1]=arguments[E];C[T].fn.apply(C[T].context,S)}}return!0},EventEmitter.prototype.on=function on(t,a,u){return addListener(this,t,a,u,!1)},EventEmitter.prototype.once=function once(t,a,u){return addListener(this,t,a,u,!0)},EventEmitter.prototype.removeListener=function removeListener(t,a,m,h){var g=u?u+t:t;if(!this._events[g])return this;if(!a)return clearEvent(this,g),this;var M=this._events[g];if(M.fn)M.fn!==a||h&&!M.once||m&&M.context!==m||clearEvent(this,g);else{for(var I=0,S=[],T=M.length;I<T;I++)(M[I].fn!==a||h&&!M[I].once||m&&M[I].context!==m)&&S.push(M[I]);S.length?this._events[g]=1===S.length?S[0]:S:clearEvent(this,g)}return this},EventEmitter.prototype.removeAllListeners=function removeAllListeners(t){var a;return t?(a=u?u+t:t,this._events[a]&&clearEvent(this,a)):(this._events=new Events,this._eventsCount=0),this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.addListener=EventEmitter.prototype.on,EventEmitter.prefixed=u,EventEmitter.EventEmitter=EventEmitter,t.exports=EventEmitter}));_export({global:!0},{globalThis:h});var ho=h,go=Array,vo=Math.max,arraySliceSimple=function(t,a,u){for(var m=lengthOfArrayLike(t),h=toAbsoluteIndex(a,m),g=toAbsoluteIndex(void 0===u?m:u,m),M=go(vo(g-h,0)),I=0;h<g;h++,I++)createProperty(M,I,t[h]);return M.length=I,M},fo=qn.f,yo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Mo={f:function getOwnPropertyNames(t){return yo&&"Window"==classofRaw(t)?function(t){try{return fo(t)}catch(t){return arraySliceSimple(yo)}}(t):fo(toIndexedObject(t))}},Io={f:wellKnownSymbol},_o=Ge.f,wellKnownSymbolDefine=function(t){var a=j.Symbol||(j.Symbol={});de(a,t)||_o(a,t,{value:Io.f(t)})},symbolDefineToPrimitive=function(){var t=getBuiltIn("Symbol"),a=t&&t.prototype,u=a&&a.valueOf,m=wellKnownSymbol("toPrimitive");a&&!a[m]&&defineBuiltIn(a,m,(function(t){return N(u,this)}),{arity:1})},So=en.forEach,To=sharedKey("hidden"),Co="Symbol",bo=nr.set,Eo=nr.getterFor(Co),ko=Object.prototype,Ro=h.Symbol,Ao=Ro&&Ro.prototype,wo=h.TypeError,No=h.QObject,xo=be.f,Oo=Ge.f,Po=Mo.f,Lo=P.f,Vo=R([].push),Uo=ce("symbols"),Do=ce("op-symbols"),qo=ce("wks"),Bo=!No||!No.prototype||!No.prototype.findChild,Fo=A&&fails((function(){return 7!=ht(Oo({},"a",{get:function(){return Oo(this,"a",{value:7}).a}})).a}))?function(t,a,u){var m=xo(ko,a);m&&delete ko[a],Oo(t,a,u),m&&t!==ko&&Oo(ko,a,m)}:Oo,wrap=function(t,a){var u=Uo[t]=ht(Ao);return bo(u,{type:Co,tag:t,description:a}),A||(u.description=a),u},Go=function defineProperty(t,a,u){t===ko&&Go(Do,a,u),anObject(t);var m=toPropertyKey(a);return anObject(u),de(Uo,m)?(u.enumerable?(de(t,To)&&t[To][m]&&(t[To][m]=!1),u=ht(u,{enumerable:createPropertyDescriptor(0,!1)})):(de(t,To)||Oo(t,To,createPropertyDescriptor(1,{})),t[To][m]=!0),Fo(t,m,u)):Oo(t,m,u)},Ho=function defineProperties(t,a){anObject(t);var u=toIndexedObject(a),m=ct(u).concat($getOwnPropertySymbols(u));return So(m,(function(a){A&&!N(jo,u,a)||Go(t,a,u[a])})),t},jo=function propertyIsEnumerable(t){var a=toPropertyKey(t),u=N(Lo,this,a);return!(this===ko&&de(Uo,a)&&!de(Do,a))&&(!(u||!de(this,a)||!de(Uo,a)||de(this,To)&&this[To][a])||u)},$o=function getOwnPropertyDescriptor(t,a){var u=toIndexedObject(t),m=toPropertyKey(a);if(u!==ko||!de(Uo,m)||de(Do,m)){var h=xo(u,m);return!h||!de(Uo,m)||de(u,To)&&u[To][m]||(h.enumerable=!0),h}},zo=function getOwnPropertyNames(t){var a=Po(toIndexedObject(t)),u=[];return So(a,(function(t){de(Uo,t)||de(at,t)||Vo(u,t)})),u},$getOwnPropertySymbols=function(t){var a=t===ko,u=Po(a?Do:toIndexedObject(t)),m=[];return So(u,(function(t){!de(Uo,t)||a&&!de(ko,t)||Vo(m,Uo[t])})),m};X||(Ro=function Symbol(){if($(Ao,this))throw wo("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===ko&&N(setter,Do,t),de(this,To)&&de(this[To],a)&&(this[To][a]=!1),Fo(this,a,createPropertyDescriptor(1,t))};return A&&Bo&&Fo(ko,a,{configurable:!0,set:setter}),wrap(a,t)},Ao=Ro.prototype,defineBuiltIn(Ao,"toString",(function toString(){return Eo(this).tag})),defineBuiltIn(Ro,"withoutSetter",(function(t){return wrap(uid(t),t)})),P.f=jo,Ge.f=Go,ut.f=Ho,be.f=$o,qn.f=Mo.f=zo,xt.f=$getOwnPropertySymbols,Io.f=function(t){return wrap(wellKnownSymbol(t),t)},A&&Oo(Ao,"description",{configurable:!0,get:function description(){return Eo(this).description}})),_export({global:!0,constructor:!0,wrap:!0,forced:!X,sham:!X},{Symbol:Ro}),So(ct(qo),(function(t){wellKnownSymbolDefine(t)})),_export({target:Co,stat:!0,forced:!X},{useSetter:function(){Bo=!0},useSimple:function(){Bo=!1}}),_export({target:"Object",stat:!0,forced:!X,sham:!A},{create:function create(t,a){return void 0===a?ht(t):Ho(ht(t),a)},defineProperty:Go,defineProperties:Ho,getOwnPropertyDescriptor:$o}),_export({target:"Object",stat:!0,forced:!X},{getOwnPropertyNames:zo}),symbolDefineToPrimitive(),setToStringTag(Ro,Co),at[To]=!0;var Wo=X&&!!Symbol.for&&!!Symbol.keyFor,Ko=ce("string-to-symbol-registry"),Yo=ce("symbol-to-string-registry");_export({target:"Symbol",stat:!0,forced:!Wo},{for:function(t){var a=toString(t);if(de(Ko,a))return Ko[a];var u=getBuiltIn("Symbol")(a);return Ko[a]=u,Yo[u]=a,u}});var Qo=ce("symbol-to-string-registry");_export({target:"Symbol",stat:!0,forced:!Wo},{keyFor:function keyFor(t){if(!te(t))throw TypeError(tryToString(t)+" is not a symbol");if(de(Qo,t))return Qo[t]}});var Jo=!X||fails((function(){xt.f(1)}));_export({target:"Object",stat:!0,forced:Jo},{getOwnPropertySymbols:function getOwnPropertySymbols(t){var a=xt.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 Xo=j.Symbol;wellKnownSymbolDefine("asyncDispose"),wellKnownSymbolDefine("dispose"),wellKnownSymbolDefine("matcher"),wellKnownSymbolDefine("metadataKey"),wellKnownSymbolDefine("observable"),wellKnownSymbolDefine("metadata"),wellKnownSymbolDefine("patternMatch"),wellKnownSymbolDefine("replaceAll");var Zo=Xo,es=fails((function(){pr(1)}));_export({target:"Object",stat:!0,forced:es,sham:!cr},{getPrototypeOf:function getPrototypeOf(t){return pr(toObject(t))}});var ts=j.Object.getPrototypeOf,rs=R([].reverse),ns=[1,2];_export({target:"Array",proto:!0,forced:String(ns)===String(ns.reverse())},{reverse:function reverse(){return Br(this)&&(this.length=this.length),rs(this)}});var as=entryVirtual("Array").reverse,is=Array.prototype,reverse$1=function(t){var a=t.reverse;return t===is||$(is,t)&&a===is.reverse?as:a},os=arrayMethodHasSpeciesSupport("slice"),ss=wellKnownSymbol("species"),cs=Array,ls=Math.max;_export({target:"Array",proto:!0,forced:!os},{slice:function slice(t,a){var u,m,h,g=toIndexedObject(this),M=lengthOfArrayLike(g),I=toAbsoluteIndex(t,M),S=toAbsoluteIndex(void 0===a?M:a,M);if(Br(g)&&(u=g.constructor,(Qr(u)&&(u===cs||Br(u.prototype))||H(u)&&null===(u=u[ss]))&&(u=void 0),u===cs||void 0===u))return _t(g,I,S);for(m=new(void 0===u?cs:u)(ls(S-I,0)),h=0;I<S;I++,h++)I in g&&createProperty(m,h,g[I]);return m.length=h,m}});var us=entryVirtual("Array").slice,ds=Array.prototype,slice=function(t){var a=t.slice;return t===ds||$(ds,t)&&a===ds.slice?us:a},ps=Io.f("iterator"),ms=en.find,hs="find",gs=!0;hs in[]&&Array(1).find((function(){gs=!1})),_export({target:"Array",proto:!0,forced:gs},{find:function find(t){return ms(this,t,arguments.length>1?arguments[1]:void 0)}});var vs=entryVirtual("Array").find,fs=Array.prototype,find=function(t){var a=t.find;return t===fs||$(fs,t)&&a===fs.fi