UNPKG

trtc-sdk-v5

Version:
1 lines 834 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TRTC=t()}(this,(function(){function e(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(i){if("default"!==i&&!(i in e)){var r=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,r.get?r:{enumerable:!0,get:function(){return t[i]}})}}))})),Object.freeze(e)}var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r=function(e){return e&&e.Math===Math&&e},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),o={},s=function(e){try{return!!e()}catch(t){return!0}},a=!s((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!s((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),l=c,d=Function.prototype.call,u=l?d.bind(d):function(){return d.apply(d,arguments)},h={},p={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,_=m&&!p.call({1:2},1);h.f=_?function(e){var t=m(this,e);return!!t&&t.enumerable}:p;var f,g,T=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E=c,v=Function.prototype,S=v.call,y=E&&v.bind.bind(S,S),I=E?y:function(e){return function(){return S.apply(e,arguments)}},R=I,A=R({}.toString),C=R("".slice),b=function(e){return C(A(e),8,-1)},k=s,D=b,N=Object,w=I("".split),O=k((function(){return!N("z").propertyIsEnumerable(0)}))?function(e){return"String"===D(e)?w(e,""):N(e)}:N,P=function(e){return null==e},M=P,L=TypeError,x=function(e){if(M(e))throw new L("Can't call method on "+e);return e},V=O,U=x,F=function(e){return V(U(e))},B="object"==typeof document&&document.all,H=void 0===B&&void 0!==B?function(e){return"function"==typeof e||e===B}:function(e){return"function"==typeof e},W=H,G=function(e){return"object"==typeof e?null!==e:W(e)},j=n,J=H,K=function(e,t){return arguments.length<2?(i=j[e],J(i)?i:void 0):j[e]&&j[e][t];var i},q=I({}.isPrototypeOf),Y=n.navigator,z=Y&&Y.userAgent,X=z?String(z):"",Q=n,Z=X,$=Q.process,ee=Q.Deno,te=$&&$.versions||ee&&ee.version,ie=te&&te.v8;ie&&(g=(f=ie.split("."))[0]>0&&f[0]<4?1:+(f[0]+f[1])),!g&&Z&&(!(f=Z.match(/Edge\/(\d+)/))||f[1]>=74)&&(f=Z.match(/Chrome\/(\d+)/))&&(g=+f[1]);var re=g,ne=re,oe=s,se=n.String,ae=!!Object.getOwnPropertySymbols&&!oe((function(){var e=Symbol("symbol detection");return!se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ne&&ne<41})),ce=ae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=K,de=H,ue=q,he=Object,pe=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return de(t)&&ue(t.prototype,he(e))},me=String,_e=function(e){try{return me(e)}catch(t){return"Object"}},fe=H,ge=_e,Te=TypeError,Ee=function(e){if(fe(e))return e;throw new Te(ge(e)+" is not a function")},ve=Ee,Se=P,ye=function(e,t){var i=e[t];return Se(i)?void 0:ve(i)},Ie=u,Re=H,Ae=G,Ce=TypeError,be={exports:{}},ke=n,De=Object.defineProperty,Ne=function(e,t){try{De(ke,e,{value:t,configurable:!0,writable:!0})}catch(i){ke[e]=t}return t},we=n,Oe=Ne,Pe="__core-js_shared__",Me=be.exports=we[Pe]||Oe(Pe,{});(Me.versions||(Me.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Le=be.exports,xe=Le,Ve=function(e,t){return xe[e]||(xe[e]=t||{})},Ue=x,Fe=Object,Be=function(e){return Fe(Ue(e))},He=Be,We=I({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return We(He(e),t)},je=I,Je=0,Ke=Math.random(),qe=je(1..toString),Ye=function(e){return"Symbol("+(void 0===e?"":e)+")_"+qe(++Je+Ke,36)},ze=Ve,Xe=Ge,Qe=Ye,Ze=ae,$e=ce,et=n.Symbol,tt=ze("wks"),it=$e?et.for||et:et&&et.withoutSetter||Qe,rt=function(e){return Xe(tt,e)||(tt[e]=Ze&&Xe(et,e)?et[e]:it("Symbol."+e)),tt[e]},nt=u,ot=G,st=pe,at=ye,ct=function(e,t){var i,r;if("string"===t&&Re(i=e.toString)&&!Ae(r=Ie(i,e)))return r;if(Re(i=e.valueOf)&&!Ae(r=Ie(i,e)))return r;if("string"!==t&&Re(i=e.toString)&&!Ae(r=Ie(i,e)))return r;throw new Ce("Can't convert object to primitive value")},lt=TypeError,dt=rt("toPrimitive"),ut=function(e,t){if(!ot(e)||st(e))return e;var i,r=at(e,dt);if(r){if(void 0===t&&(t="default"),i=nt(r,e,t),!ot(i)||st(i))return i;throw new lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},ht=ut,pt=pe,mt=function(e){var t=ht(e,"string");return pt(t)?t:t+""},_t=G,ft=n.document,gt=_t(ft)&&_t(ft.createElement),Tt=function(e){return gt?ft.createElement(e):{}},Et=Tt,vt=!a&&!s((function(){return 7!==Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a})),St=a,yt=u,It=h,Rt=T,At=F,Ct=mt,bt=Ge,kt=vt,Dt=Object.getOwnPropertyDescriptor;o.f=St?Dt:function(e,t){if(e=At(e),t=Ct(t),kt)try{return Dt(e,t)}catch(i){}if(bt(e,t))return Rt(!yt(It.f,e,t),e[t])};var Nt={},wt=a&&s((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=G,Pt=String,Mt=TypeError,Lt=function(e){if(Ot(e))return e;throw new Mt(Pt(e)+" is not an object")},xt=a,Vt=vt,Ut=wt,Ft=Lt,Bt=mt,Ht=TypeError,Wt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,jt="enumerable",Jt="configurable",Kt="writable";Nt.f=xt?Ut?function(e,t,i){if(Ft(e),t=Bt(t),Ft(i),"function"==typeof e&&"prototype"===t&&"value"in i&&Kt in i&&!i[Kt]){var r=Gt(e,t);r&&r[Kt]&&(e[t]=i.value,i={configurable:Jt in i?i[Jt]:r[Jt],enumerable:jt in i?i[jt]:r[jt],writable:!1})}return Wt(e,t,i)}:Wt:function(e,t,i){if(Ft(e),t=Bt(t),Ft(i),Vt)try{return Wt(e,t,i)}catch(r){}if("get"in i||"set"in i)throw new Ht("Accessors not supported");return"value"in i&&(e[t]=i.value),e};var qt=Nt,Yt=T,zt=a?function(e,t,i){return qt.f(e,t,Yt(1,i))}:function(e,t,i){return e[t]=i,e},Xt={exports:{}},Qt=a,Zt=Ge,$t=Function.prototype,ei=Qt&&Object.getOwnPropertyDescriptor,ti=Zt($t,"name"),ii={EXISTS:ti,PROPER:ti&&"something"===function(){}.name,CONFIGURABLE:ti&&(!Qt||Qt&&ei($t,"name").configurable)},ri=H,ni=Le,oi=I(Function.toString);ri(ni.inspectSource)||(ni.inspectSource=function(e){return oi(e)});var si,ai,ci,li=ni.inspectSource,di=H,ui=n.WeakMap,hi=di(ui)&&/native code/.test(String(ui)),pi=Ye,mi=Ve("keys"),_i=function(e){return mi[e]||(mi[e]=pi(e))},fi={},gi=hi,Ti=n,Ei=G,vi=zt,Si=Ge,yi=Le,Ii=_i,Ri=fi,Ai="Object already initialized",Ci=Ti.TypeError,bi=Ti.WeakMap;if(gi||yi.state){var ki=yi.state||(yi.state=new bi);ki.get=ki.get,ki.has=ki.has,ki.set=ki.set,si=function(e,t){if(ki.has(e))throw new Ci(Ai);return t.facade=e,ki.set(e,t),t},ai=function(e){return ki.get(e)||{}},ci=function(e){return ki.has(e)}}else{var Di=Ii("state");Ri[Di]=!0,si=function(e,t){if(Si(e,Di))throw new Ci(Ai);return t.facade=e,vi(e,Di,t),t},ai=function(e){return Si(e,Di)?e[Di]:{}},ci=function(e){return Si(e,Di)}}var Ni={set:si,get:ai,has:ci,enforce:function(e){return ci(e)?ai(e):si(e,{})},getterFor:function(e){return function(t){var i;if(!Ei(t)||(i=ai(t)).type!==e)throw new Ci("Incompatible receiver, "+e+" required");return i}}},wi=I,Oi=s,Pi=H,Mi=Ge,Li=a,xi=ii.CONFIGURABLE,Vi=li,Ui=Ni.enforce,Fi=Ni.get,Bi=String,Hi=Object.defineProperty,Wi=wi("".slice),Gi=wi("".replace),ji=wi([].join),Ji=Li&&!Oi((function(){return 8!==Hi((function(){}),"length",{value:8}).length})),Ki=String(String).split("String"),qi=Xt.exports=function(e,t,i){"Symbol("===Wi(Bi(t),0,7)&&(t="["+Gi(Bi(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!Mi(e,"name")||xi&&e.name!==t)&&(Li?Hi(e,"name",{value:t,configurable:!0}):e.name=t),Ji&&i&&Mi(i,"arity")&&e.length!==i.arity&&Hi(e,"length",{value:i.arity});try{i&&Mi(i,"constructor")&&i.constructor?Li&&Hi(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(n){}var r=Ui(e);return Mi(r,"source")||(r.source=ji(Ki,"string"==typeof t?t:"")),e};Function.prototype.toString=qi((function(){return Pi(this)&&Fi(this).source||Vi(this)}),"toString");var Yi=Xt.exports,zi=H,Xi=Nt,Qi=Yi,Zi=Ne,$i=function(e,t,i,r){r||(r={});var n=r.enumerable,o=void 0!==r.name?r.name:t;if(zi(i)&&Qi(i,o,r),r.global)n?e[t]=i:Zi(t,i);else{try{r.unsafe?e[t]&&(n=!0):delete e[t]}catch(s){}n?e[t]=i:Xi.f(e,t,{value:i,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},er={},tr=Math.ceil,ir=Math.floor,rr=Math.trunc||function(e){var t=+e;return(t>0?ir:tr)(t)},nr=rr,or=function(e){var t=+e;return t!=t||0===t?0:nr(t)},sr=or,ar=Math.max,cr=Math.min,lr=function(e,t){var i=sr(e);return i<0?ar(i+t,0):cr(i,t)},dr=or,ur=Math.min,hr=function(e){var t=dr(e);return t>0?ur(t,9007199254740991):0},pr=hr,mr=function(e){return pr(e.length)},_r=F,fr=lr,gr=mr,Tr=function(e){return function(t,i,r){var n=_r(t),o=gr(n);if(0===o)return!e&&-1;var s,a=fr(r,o);if(e&&i!=i){for(;o>a;)if((s=n[a++])!=s)return!0}else for(;o>a;a++)if((e||a in n)&&n[a]===i)return e||a||0;return!e&&-1}},Er={includes:Tr(!0),indexOf:Tr(!1)},vr=Ge,Sr=F,yr=Er.indexOf,Ir=fi,Rr=I([].push),Ar=function(e,t){var i,r=Sr(e),n=0,o=[];for(i in r)!vr(Ir,i)&&vr(r,i)&&Rr(o,i);for(;t.length>n;)vr(r,i=t[n++])&&(~yr(o,i)||Rr(o,i));return o},Cr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],br=Ar,kr=Cr.concat("length","prototype");er.f=Object.getOwnPropertyNames||function(e){return br(e,kr)};var Dr={};Dr.f=Object.getOwnPropertySymbols;var Nr=K,wr=er,Or=Dr,Pr=Lt,Mr=I([].concat),Lr=Nr("Reflect","ownKeys")||function(e){var t=wr.f(Pr(e)),i=Or.f;return i?Mr(t,i(e)):t},xr=Ge,Vr=Lr,Ur=o,Fr=Nt,Br=function(e,t,i){for(var r=Vr(t),n=Fr.f,o=Ur.f,s=0;s<r.length;s++){var a=r[s];xr(e,a)||i&&xr(i,a)||n(e,a,o(t,a))}},Hr=s,Wr=H,Gr=/#|\.prototype\./,jr=function(e,t){var i=Kr[Jr(e)];return i===Yr||i!==qr&&(Wr(t)?Hr(t):!!t)},Jr=jr.normalize=function(e){return String(e).replace(Gr,".").toLowerCase()},Kr=jr.data={},qr=jr.NATIVE="N",Yr=jr.POLYFILL="P",zr=jr,Xr=n,Qr=o.f,Zr=zt,$r=$i,en=Ne,tn=Br,rn=zr,nn=function(e,t){var i,r,n,o,s,a=e.target,c=e.global,l=e.stat;if(i=c?Xr:l?Xr[a]||en(a,{}):Xr[a]&&Xr[a].prototype)for(r in t){if(o=t[r],n=e.dontCallGetSet?(s=Qr(i,r))&&s.value:i[r],!rn(c?r:a+(l?".":"#")+r,e.forced)&&void 0!==n){if(typeof o==typeof n)continue;tn(o,n)}(e.sham||n&&n.sham)&&Zr(o,"sham",!0),$r(i,r,o,e)}},on={};on[rt("toStringTag")]="z";var sn="[object z]"===String(on),an=H,cn=b,ln=rt("toStringTag"),dn=Object,un="Arguments"===cn(function(){return arguments}()),hn=sn?cn:function(e){var t,i,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(i){}}(t=dn(e),ln))?i:un?cn(t):"Object"===(r=cn(t))&&an(t.callee)?"Arguments":r},pn=hn,mn=String,_n=function(e){if("Symbol"===pn(e))throw new TypeError("Cannot convert a Symbol value to a string");return mn(e)},fn=Yi,gn=Nt,Tn=function(e,t,i){return i.get&&fn(i.get,t,{getter:!0}),i.set&&fn(i.set,t,{setter:!0}),gn.f(e,t,i)},En=nn,vn=a,Sn=I,yn=Ge,In=H,Rn=q,An=_n,Cn=Tn,bn=Br,kn=n.Symbol,Dn=kn&&kn.prototype;if(vn&&In(kn)&&(!("description"in Dn)||void 0!==kn().description)){var Nn={},wn=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:An(arguments[0]),t=Rn(Dn,this)?new kn(e):void 0===e?kn():kn(e);return""===e&&(Nn[t]=!0),t};bn(wn,kn),wn.prototype=Dn,Dn.constructor=wn;var On="Symbol(description detection)"===String(kn("description detection")),Pn=Sn(Dn.valueOf),Mn=Sn(Dn.toString),Ln=/^Symbol\((.*)\)[^)]+$/,xn=Sn("".replace),Vn=Sn("".slice);Cn(Dn,"description",{configurable:!0,get:function(){var e=Pn(this);if(yn(Nn,e))return"";var t=Mn(e),i=On?Vn(t,7,-1):xn(t,Ln,"$1");return""===i?void 0:i}}),En({global:!0,constructor:!0,forced:!0},{Symbol:wn})}var Un={},Fn=Ar,Bn=Cr,Hn=Object.keys||function(e){return Fn(e,Bn)},Wn=a,Gn=wt,jn=Nt,Jn=Lt,Kn=F,qn=Hn;Un.f=Wn&&!Gn?Object.defineProperties:function(e,t){Jn(e);for(var i,r=Kn(t),n=qn(t),o=n.length,s=0;o>s;)jn.f(e,i=n[s++],r[i]);return e};var Yn,zn=K("document","documentElement"),Xn=Lt,Qn=Un,Zn=Cr,$n=fi,eo=zn,to=Tt,io="prototype",ro="script",no=_i("IE_PROTO"),oo=function(){},so=function(e){return"<"+ro+">"+e+"</"+ro+">"},ao=function(e){e.write(so("")),e.close();var t=e.parentWindow.Object;return e=null,t},co=function(){try{Yn=new ActiveXObject("htmlfile")}catch(n){}var e,t,i;co="undefined"!=typeof document?document.domain&&Yn?ao(Yn):(t=to("iframe"),i="java"+ro+":",t.style.display="none",eo.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(so("document.F=Object")),e.close(),e.F):ao(Yn);for(var r=Zn.length;r--;)delete co[io][Zn[r]];return co()};$n[no]=!0;var lo=Object.create||function(e,t){var i;return null!==e?(oo[io]=Xn(e),i=new oo,oo[io]=null,i[no]=e):i=co(),void 0===t?i:Qn.f(i,t)},uo=rt,ho=lo,po=Nt.f,mo=uo("unscopables"),_o=Array.prototype;void 0===_o[mo]&&po(_o,mo,{configurable:!0,value:ho(null)});var fo=function(e){_o[mo][e]=!0},go=Er.includes,To=fo;nn({target:"Array",proto:!0,forced:s((function(){return!Array(1).includes()}))},{includes:function(e){return go(this,e,arguments.length>1?arguments[1]:void 0)}}),To("includes");var Eo,vo,So,yo={},Io=!s((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Ro=Ge,Ao=H,Co=Be,bo=Io,ko=_i("IE_PROTO"),Do=Object,No=Do.prototype,wo=bo?Do.getPrototypeOf:function(e){var t=Co(e);if(Ro(t,ko))return t[ko];var i=t.constructor;return Ao(i)&&t instanceof i?i.prototype:t instanceof Do?No:null},Oo=s,Po=H,Mo=G,Lo=wo,xo=$i,Vo=rt("iterator"),Uo=!1;[].keys&&("next"in(So=[].keys())?(vo=Lo(Lo(So)))!==Object.prototype&&(Eo=vo):Uo=!0);var Fo=!Mo(Eo)||Oo((function(){var e={};return Eo[Vo].call(e)!==e}));Fo&&(Eo={}),Po(Eo[Vo])||xo(Eo,Vo,(function(){return this}));var Bo={IteratorPrototype:Eo,BUGGY_SAFARI_ITERATORS:Uo},Ho=Nt.f,Wo=Ge,Go=rt("toStringTag"),jo=function(e,t,i){e&&!i&&(e=e.prototype),e&&!Wo(e,Go)&&Ho(e,Go,{configurable:!0,value:t})},Jo=Bo.IteratorPrototype,Ko=lo,qo=T,Yo=jo,zo=yo,Xo=function(){return this},Qo=function(e,t,i,r){var n=t+" Iterator";return e.prototype=Ko(Jo,{next:qo(+!r,i)}),Yo(e,n,!1),zo[n]=Xo,e},Zo=I,$o=Ee,es=G,ts=function(e){return es(e)||null===e},is=String,rs=TypeError,ns=function(e,t,i){try{return Zo($o(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(r){}},os=G,ss=x,as=function(e){if(ts(e))return e;throw new rs("Can't set "+is(e)+" as a prototype")},cs=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=ns(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(r){}return function(i,r){return ss(i),as(r),os(i)?(t?e(i,r):i.__proto__=r,i):i}}():void 0),ls=nn,ds=u,us=H,hs=Qo,ps=wo,ms=cs,_s=jo,fs=zt,gs=$i,Ts=yo,Es=ii.PROPER,vs=ii.CONFIGURABLE,Ss=Bo.IteratorPrototype,ys=Bo.BUGGY_SAFARI_ITERATORS,Is=rt("iterator"),Rs="keys",As="values",Cs="entries",bs=function(){return this},ks=function(e,t,i,r,n,o,s){hs(i,t,r);var a,c,l,d=function(e){if(e===n&&_)return _;if(!ys&&e&&e in p)return p[e];switch(e){case Rs:case As:case Cs:return function(){return new i(this,e)}}return function(){return new i(this)}},u=t+" Iterator",h=!1,p=e.prototype,m=p[Is]||p["@@iterator"]||n&&p[n],_=!ys&&m||d(n),f="Array"===t&&p.entries||m;if(f&&(a=ps(f.call(new e)))!==Object.prototype&&a.next&&(ps(a)!==Ss&&(ms?ms(a,Ss):us(a[Is])||gs(a,Is,bs)),_s(a,u,!0)),Es&&n===As&&m&&m.name!==As&&(vs?fs(p,"name",As):(h=!0,_=function(){return ds(m,this)})),n)if(c={values:d(As),keys:o?_:d(Rs),entries:d(Cs)},s)for(l in c)(ys||h||!(l in p))&&gs(p,l,c[l]);else ls({target:t,proto:!0,forced:ys||h},c);return p[Is]!==_&&gs(p,Is,_,{name:n}),Ts[t]=_,c},Ds=function(e,t){return{value:e,done:t}},Ns=F,ws=fo,Os=yo,Ps=Ni,Ms=Nt.f,Ls=ks,xs=Ds,Vs=a,Us="Array Iterator",Fs=Ps.set,Bs=Ps.getterFor(Us),Hs=Ls(Array,"Array",(function(e,t){Fs(this,{type:Us,target:Ns(e),index:0,kind:t})}),(function(){var e=Bs(this),t=e.target,i=e.index++;if(!t||i>=t.length)return e.target=null,xs(void 0,!0);switch(e.kind){case"keys":return xs(i,!1);case"values":return xs(t[i],!1)}return xs([i,t[i]],!1)}),"values"),Ws=Os.Arguments=Os.Array;if(ws("keys"),ws("values"),ws("entries"),Vs&&"values"!==Ws.name)try{Ms(Ws,"name",{value:"values"})}catch(Sj){}var Gs=Ee,js=Be,Js=O,Ks=mr,qs=TypeError,Ys="Reduce of empty array with no initial value",zs=function(e){return function(t,i,r,n){var o=js(t),s=Js(o),a=Ks(o);if(Gs(i),0===a&&r<2)throw new qs(Ys);var c=e?a-1:0,l=e?-1:1;if(r<2)for(;;){if(c in s){n=s[c],c+=l;break}if(c+=l,e?c<0:a<=c)throw new qs(Ys)}for(;e?c>=0:a>c;c+=l)c in s&&(n=i(n,s[c],c,o));return n}},Xs={left:zs(!1),right:zs(!0)},Qs=s,Zs=function(e,t){var i=[][e];return!!i&&Qs((function(){i.call(null,t||function(){return 1},1)}))},$s=n,ea=X,ta=b,ia=function(e){return ea.slice(0,e.length)===e},ra=ia("Bun/")?"BUN":ia("Cloudflare-Workers")?"CLOUDFLARE":ia("Deno/")?"DENO":ia("Node.js/")?"NODE":$s.Bun&&"string"==typeof Bun.version?"BUN":$s.Deno&&"object"==typeof Deno.version?"DENO":"process"===ta($s.process)?"NODE":$s.window&&$s.document?"BROWSER":"REST",na="NODE"===ra,oa=Xs.left;nn({target:"Array",proto:!0,forced:!na&&re>79&&re<83||!Zs("reduce")},{reduce:function(e){var t=arguments.length;return oa(this,e,t,t>1?arguments[1]:void 0)}});var sa=Xs.right;nn({target:"Array",proto:!0,forced:!na&&re>79&&re<83||!Zs("reduceRight")},{reduceRight:function(e){return sa(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var aa=b,ca=Array.isArray||function(e){return"Array"===aa(e)},la=nn,da=ca,ua=I([].reverse),ha=[1,2];la({target:"Array",proto:!0,forced:String(ha)===String(ha.reverse())},{reverse:function(){return da(this)&&(this.length=this.length),ua(this)}});var pa=_e,ma=TypeError,_a=I([].slice),fa=_a,ga=Math.floor,Ta=function(e,t){var i=e.length;if(i<8)for(var r,n,o=1;o<i;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}else for(var s=ga(i/2),a=Ta(fa(e,0,s),t),c=Ta(fa(e,s),t),l=a.length,d=c.length,u=0,h=0;u<l||h<d;)e[u+h]=u<l&&h<d?t(a[u],c[h])<=0?a[u++]:c[h++]:u<l?a[u++]:c[h++];return e},Ea=Ta,va=X.match(/firefox\/(\d+)/i),Sa=!!va&&+va[1],ya=/MSIE|Trident/.test(X),Ia=X.match(/AppleWebKit\/(\d+)\./),Ra=!!Ia&&+Ia[1],Aa=nn,Ca=I,ba=Ee,ka=Be,Da=mr,Na=function(e,t){if(!delete e[t])throw new ma("Cannot delete property "+pa(t)+" of "+pa(e))},wa=_n,Oa=s,Pa=Ea,Ma=Zs,La=Sa,xa=ya,Va=re,Ua=Ra,Fa=[],Ba=Ca(Fa.sort),Ha=Ca(Fa.push),Wa=Oa((function(){Fa.sort(void 0)})),Ga=Oa((function(){Fa.sort(null)})),ja=Ma("sort"),Ja=!Oa((function(){if(Va)return Va<70;if(!(La&&La>3)){if(xa)return!0;if(Ua)return Ua<603;var e,t,i,r,n="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(r=0;r<47;r++)Fa.push({k:t+r,v:i})}for(Fa.sort((function(e,t){return t.v-e.v})),r=0;r<Fa.length;r++)t=Fa[r].k.charAt(0),n.charAt(n.length-1)!==t&&(n+=t);return"DGBEFHACIJK"!==n}}));Aa({target:"Array",proto:!0,forced:Wa||!Ga||!ja||!Ja},{sort:function(e){void 0!==e&&ba(e);var t=ka(this);if(Ja)return void 0===e?Ba(t):Ba(t,e);var i,r,n=[],o=Da(t);for(r=0;r<o;r++)r in t&&Ha(n,t[r]);for(Pa(n,function(e){return function(t,i){return void 0===i?-1:void 0===t?1:void 0!==e?+e(t,i)||0:wa(t)>wa(i)?1:-1}}(e)),i=Da(n),r=0;r<i;)t[r]=n[r++];for(;r<o;)Na(t,r++);return t}});var Ka="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,qa=$i,Ya=function(e,t,i){for(var r in t)qa(e,r,t[r],i);return e},za=q,Xa=TypeError,Qa=function(e,t){if(za(t,e))return e;throw new Xa("Incorrect invocation")},Za=or,$a=hr,ec=RangeError,tc=function(e){if(void 0===e)return 0;var t=Za(e),i=$a(t);if(t!==i)throw new ec("Wrong length or index");return i},ic=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1},rc=4503599627370496,nc=ic,oc=function(e){return e+rc-rc},sc=Math.abs,ac=function(e,t,i,r){var n=+e,o=sc(n),s=nc(n);if(o<r)return s*oc(o/r/t)*r*t;var a=(1+t/2220446049250313e-31)*o,c=a-(a-o);return c>i||c!=c?Infinity*s:s*c},cc=Math.fround||function(e){return ac(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)},lc=Array,dc=Math.abs,uc=Math.pow,hc=Math.floor,pc=Math.log,mc=Math.LN2,_c={pack:function(e,t,i){var r,n,o,s=lc(i),a=8*i-t-1,c=(1<<a)-1,l=c>>1,d=23===t?uc(2,-24)-uc(2,-77):0,u=e<0||0===e&&1/e<0?1:0,h=0;for((e=dc(e))!=e||Infinity===e?(n=e!=e?1:0,r=c):(r=hc(pc(e)/mc),e*(o=uc(2,-r))<1&&(r--,o*=2),(e+=r+l>=1?d/o:d*uc(2,1-l))*o>=2&&(r++,o/=2),r+l>=c?(n=0,r=c):r+l>=1?(n=(e*o-1)*uc(2,t),r+=l):(n=e*uc(2,l-1)*uc(2,t),r=0));t>=8;)s[h++]=255&n,n/=256,t-=8;for(r=r<<t|n,a+=t;a>0;)s[h++]=255&r,r/=256,a-=8;return s[h-1]|=128*u,s},unpack:function(e,t){var i,r=e.length,n=8*r-t-1,o=(1<<n)-1,s=o>>1,a=n-7,c=r-1,l=e[c--],d=127&l;for(l>>=7;a>0;)d=256*d+e[c--],a-=8;for(i=d&(1<<-a)-1,d>>=-a,a+=t;a>0;)i=256*i+e[c--],a-=8;if(0===d)d=1-s;else{if(d===o)return i?NaN:l?-Infinity:Infinity;i+=uc(2,t),d-=s}return(l?-1:1)*i*uc(2,d-t)}},fc=Be,gc=lr,Tc=mr,Ec=function(e){for(var t=fc(this),i=Tc(t),r=arguments.length,n=gc(r>1?arguments[1]:void 0,i),o=r>2?arguments[2]:void 0,s=void 0===o?i:gc(o,i);s>n;)t[n++]=e;return t},vc=H,Sc=G,yc=cs,Ic=function(e,t,i){var r,n;return yc&&vc(r=t.constructor)&&r!==i&&Sc(n=r.prototype)&&n!==i.prototype&&yc(e,n),e},Rc=n,Ac=I,Cc=a,bc=Ka,kc=zt,Dc=Tn,Nc=Ya,wc=s,Oc=Qa,Pc=or,Mc=hr,Lc=tc,xc=cc,Vc=_c,Uc=wo,Fc=cs,Bc=Ec,Hc=_a,Wc=Ic,Gc=Br,jc=jo,Jc=Ni,Kc=ii.PROPER,qc=ii.CONFIGURABLE,Yc="ArrayBuffer",zc="DataView",Xc="prototype",Qc="Wrong index",Zc=Jc.getterFor(Yc),$c=Jc.getterFor(zc),el=Jc.set,tl=Rc[Yc],il=tl,rl=il&&il[Xc],nl=Rc[zc],ol=nl&&nl[Xc],sl=Object.prototype,al=Rc.Array,cl=Rc.RangeError,ll=Ac(Bc),dl=Ac([].reverse),ul=Vc.pack,hl=Vc.unpack,pl=function(e){return[255&e]},ml=function(e){return[255&e,e>>8&255]},_l=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},fl=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},gl=function(e){return ul(xc(e),23,4)},Tl=function(e){return ul(e,52,8)},El=function(e,t,i){Dc(e[Xc],t,{configurable:!0,get:function(){return i(this)[t]}})},vl=function(e,t,i,r){var n=$c(e),o=Lc(i),s=!!r;if(o+t>n.byteLength)throw new cl(Qc);var a=n.bytes,c=o+n.byteOffset,l=Hc(a,c,c+t);return s?l:dl(l)},Sl=function(e,t,i,r,n,o){var s=$c(e),a=Lc(i),c=r(+n),l=!!o;if(a+t>s.byteLength)throw new cl(Qc);for(var d=s.bytes,u=a+s.byteOffset,h=0;h<t;h++)d[u+h]=c[l?h:t-h-1]};if(bc){var yl=Kc&&tl.name!==Yc;wc((function(){tl(1)}))&&wc((function(){new tl(-1)}))&&!wc((function(){return new tl,new tl(1.5),new tl(NaN),1!==tl.length||yl&&!qc}))?yl&&qc&&kc(tl,"name",Yc):((il=function(e){return Oc(this,rl),Wc(new tl(Lc(e)),this,il)})[Xc]=rl,rl.constructor=il,Gc(il,tl)),Fc&&Uc(ol)!==sl&&Fc(ol,sl);var Il=new nl(new il(2)),Rl=Ac(ol.setInt8);Il.setInt8(0,2147483648),Il.setInt8(1,2147483649),!Il.getInt8(0)&&Il.getInt8(1)||Nc(ol,{setInt8:function(e,t){Rl(this,e,t<<24>>24)},setUint8:function(e,t){Rl(this,e,t<<24>>24)}},{unsafe:!0})}else rl=(il=function(e){Oc(this,rl);var t=Lc(e);el(this,{type:Yc,bytes:ll(al(t),0),byteLength:t}),Cc||(this.byteLength=t,this.detached=!1)})[Xc],ol=(nl=function(e,t,i){Oc(this,ol),Oc(e,rl);var r=Zc(e),n=r.byteLength,o=Pc(t);if(o<0||o>n)throw new cl("Wrong offset");if(o+(i=void 0===i?n-o:Mc(i))>n)throw new cl("Wrong length");el(this,{type:zc,buffer:e,byteLength:i,byteOffset:o,bytes:r.bytes}),Cc||(this.buffer=e,this.byteLength=i,this.byteOffset=o)})[Xc],Cc&&(El(il,"byteLength",Zc),El(nl,"buffer",$c),El(nl,"byteLength",$c),El(nl,"byteOffset",$c)),Nc(ol,{getInt8:function(e){return vl(this,1,e)[0]<<24>>24},getUint8:function(e){return vl(this,1,e)[0]},getInt16:function(e){var t=vl(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=vl(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return fl(vl(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return fl(vl(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return hl(vl(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return hl(vl(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){Sl(this,1,e,pl,t)},setUint8:function(e,t){Sl(this,1,e,pl,t)},setInt16:function(e,t){Sl(this,2,e,ml,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){Sl(this,2,e,ml,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){Sl(this,4,e,_l,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){Sl(this,4,e,_l,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){Sl(this,4,e,gl,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){Sl(this,8,e,Tl,t,arguments.length>2&&arguments[2])}});jc(il,Yc),jc(nl,zc);var Al={ArrayBuffer:il,DataView:nl},Cl=K,bl=Tn,kl=a,Dl=rt("species"),Nl=function(e){var t=Cl(e);kl&&t&&!t[Dl]&&bl(t,Dl,{configurable:!0,get:function(){return this}})},wl=Nl,Ol="ArrayBuffer",Pl=Al[Ol];nn({global:!0,constructor:!0,forced:n[Ol]!==Pl},{ArrayBuffer:Pl}),wl(Ol);var Ml=b,Ll=I,xl=function(e){if("Function"===Ml(e))return Ll(e)},Vl=nn,Ul=xl,Fl=s,Bl=Lt,Hl=lr,Wl=hr,Gl=Al.ArrayBuffer,jl=Al.DataView,Jl=jl.prototype,Kl=Ul(Gl.prototype.slice),ql=Ul(Jl.getUint8),Yl=Ul(Jl.setUint8);Vl({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:Fl((function(){return!new Gl(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(Kl&&void 0===t)return Kl(Bl(this),e);for(var i=Bl(this).byteLength,r=Hl(e,i),n=Hl(void 0===t?i:t,i),o=new Gl(Wl(n-r)),s=new jl(this),a=new jl(o),c=0;r<n;)Yl(a,c++,ql(s,r++));return o}});var zl=I,Xl=s,Ql=H,Zl=hn,$l=li,ed=function(){},td=K("Reflect","construct"),id=/^\s*(?:class|function)\b/,rd=zl(id.exec),nd=!id.test(ed),od=function(e){if(!Ql(e))return!1;try{return td(ed,[],e),!0}catch(Sj){return!1}},sd=function(e){if(!Ql(e))return!1;switch(Zl(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return nd||!!rd(id,$l(e))}catch(Sj){return!0}};sd.sham=!0;var ad,cd,ld,dd,ud=!td||Xl((function(){var e;return od(od.call)||!od(Object)||!od((function(){e=!0}))||e}))?sd:od,hd=ud,pd=_e,md=TypeError,_d=function(e){if(hd(e))return e;throw new md(pd(e)+" is not a constructor")},fd=Lt,gd=_d,Td=P,Ed=rt("species"),vd=function(e,t){var i,r=fd(e).constructor;return void 0===r||Td(i=fd(r)[Ed])?t:gd(i)},Sd=c,yd=Function.prototype,Id=yd.apply,Rd=yd.call,Ad="object"==typeof Reflect&&Reflect.apply||(Sd?Rd.bind(Id):function(){return Rd.apply(Id,arguments)}),Cd=Ee,bd=c,kd=xl(xl.bind),Dd=function(e,t){return Cd(e),void 0===t?e:bd?kd(e,t):function(){return e.apply(t,arguments)}},Nd=TypeError,wd=function(e,t){if(e<t)throw new Nd("Not enough arguments");return e},Od=/(?:ipad|iphone|ipod).*applewebkit/i.test(X),Pd=n,Md=Ad,Ld=Dd,xd=H,Vd=Ge,Ud=s,Fd=zn,Bd=_a,Hd=Tt,Wd=wd,Gd=Od,jd=na,Jd=Pd.setImmediate,Kd=Pd.clearImmediate,qd=Pd.process,Yd=Pd.Dispatch,zd=Pd.Function,Xd=Pd.MessageChannel,Qd=Pd.String,Zd=0,$d={},eu="onreadystatechange";Ud((function(){ad=Pd.location}));var tu=function(e){if(Vd($d,e)){var t=$d[e];delete $d[e],t()}},iu=function(e){return function(){tu(e)}},ru=function(e){tu(e.data)},nu=function(e){Pd.postMessage(Qd(e),ad.protocol+"//"+ad.host)};Jd&&Kd||(Jd=function(e){Wd(arguments.length,1);var t=xd(e)?e:zd(e),i=Bd(arguments,1);return $d[++Zd]=function(){Md(t,void 0,i)},cd(Zd),Zd},Kd=function(e){delete $d[e]},jd?cd=function(e){qd.nextTick(iu(e))}:Yd&&Yd.now?cd=function(e){Yd.now(iu(e))}:Xd&&!Gd?(dd=(ld=new Xd).port2,ld.port1.onmessage=ru,cd=Ld(dd.postMessage,dd)):Pd.addEventListener&&xd(Pd.postMessage)&&!Pd.importScripts&&ad&&"file:"!==ad.protocol&&!Ud(nu)?(cd=nu,Pd.addEventListener("message",ru,!1)):cd=eu in Hd("script")?function(e){Fd.appendChild(Hd("script"))[eu]=function(){Fd.removeChild(this),tu(e)}}:function(e){setTimeout(iu(e),0)});var ou={set:Jd,clear:Kd},su=n,au=a,cu=Object.getOwnPropertyDescriptor,lu=function(e){if(!au)return su[e];var t=cu(su,e);return t&&t.value},du=function(){this.head=null,this.tail=null};du.prototype={add:function(e){var t={item:e,next:null},i=this.tail;i?i.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var uu,hu,pu,mu,_u,fu=du,gu=/ipad|iphone|ipod/i.test(X)&&"undefined"!=typeof Pebble,Tu=/web0s(?!.*chrome)/i.test(X),Eu=n,vu=lu,Su=Dd,yu=ou.set,Iu=fu,Ru=Od,Au=gu,Cu=Tu,bu=na,ku=Eu.MutationObserver||Eu.WebKitMutationObserver,Du=Eu.document,Nu=Eu.process,wu=Eu.Promise,Ou=vu("queueMicrotask");if(!Ou){var Pu=new Iu,Mu=function(){var e,t;for(bu&&(e=Nu.domain)&&e.exit();t=Pu.get();)try{t()}catch(Sj){throw Pu.head&&uu(),Sj}e&&e.enter()};Ru||bu||Cu||!ku||!Du?!Au&&wu&&wu.resolve?((mu=wu.resolve(void 0)).constructor=wu,_u=Su(mu.then,mu),uu=function(){_u(Mu)}):bu?uu=function(){Nu.nextTick(Mu)}:(yu=Su(yu,Eu),uu=function(){yu(Mu)}):(hu=!0,pu=Du.createTextNode(""),new ku(Mu).observe(pu,{characterData:!0}),uu=function(){pu.data=hu=!hu}),Ou=function(e){Pu.head||uu(),Pu.add(e)}}var Lu=Ou,xu=function(e){try{return{error:!1,value:e()}}catch(Sj){return{error:!0,value:Sj}}},Vu=n.Promise,Uu=n,Fu=Vu,Bu=H,Hu=zr,Wu=li,Gu=rt,ju=ra,Ju=re;Fu&&Fu.prototype;var Ku=Gu("species"),qu=!1,Yu=Bu(Uu.PromiseRejectionEvent),zu=Hu("Promise",(function(){var e=Wu(Fu),t=e!==String(Fu);if(!t&&66===Ju)return!0;if(!Ju||Ju<51||!/native code/.test(e)){var i=new Fu((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((i.constructor={})[Ku]=r,!(qu=i.then((function(){}))instanceof r))return!0}return!(t||"BROWSER"!==ju&&"DENO"!==ju||Yu)})),Xu={CONSTRUCTOR:zu,REJECTION_EVENT:Yu,SUBCLASSING:qu},Qu={},Zu=Ee,$u=TypeError,eh=function(e){var t,i;this.promise=new e((function(e,r){if(void 0!==t||void 0!==i)throw new $u("Bad Promise constructor");t=e,i=r})),this.resolve=Zu(t),this.reject=Zu(i)};Qu.f=function(e){return new eh(e)};var th,ih,rh,nh=nn,oh=na,sh=n,ah=u,ch=$i,lh=cs,dh=jo,uh=Nl,hh=Ee,ph=H,mh=G,_h=Qa,fh=vd,gh=ou.set,Th=Lu,Eh=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(Sj){}},vh=xu,Sh=fu,yh=Ni,Ih=Vu,Rh=Qu,Ah="Promise",Ch=Xu.CONSTRUCTOR,bh=Xu.REJECTION_EVENT,kh=Xu.SUBCLASSING,Dh=yh.getterFor(Ah),Nh=yh.set,wh=Ih&&Ih.prototype,Oh=Ih,Ph=wh,Mh=sh.TypeError,Lh=sh.document,xh=sh.process,Vh=Rh.f,Uh=Vh,Fh=!!(Lh&&Lh.createEvent&&sh.dispatchEvent),Bh="unhandledrejection",Hh=function(e){var t;return!(!mh(e)||!ph(t=e.then))&&t},Wh=function(e,t){var i,r,n,o=t.value,s=1===t.state,a=s?e.ok:e.fail,c=e.resolve,l=e.reject,d=e.domain;try{a?(s||(2===t.rejection&&qh(t),t.rejection=1),!0===a?i=o:(d&&d.enter(),i=a(o),d&&(d.exit(),n=!0)),i===e.promise?l(new Mh("Promise-chain cycle")):(r=Hh(i))?ah(r,i,c,l):c(i)):l(o)}catch(Sj){d&&!n&&d.exit(),l(Sj)}},Gh=function(e,t){e.notified||(e.notified=!0,Th((function(){for(var i,r=e.reactions;i=r.get();)Wh(i,e);e.notified=!1,t&&!e.rejection&&Jh(e)})))},jh=function(e,t,i){var r,n;Fh?((r=Lh.createEvent("Event")).promise=t,r.reason=i,r.initEvent(e,!1,!0),sh.dispatchEvent(r)):r={promise:t,reason:i},!bh&&(n=sh["on"+e])?n(r):e===Bh&&Eh("Unhandled promise rejection",i)},Jh=function(e){ah(gh,sh,(function(){var t,i=e.facade,r=e.value;if(Kh(e)&&(t=vh((function(){oh?xh.emit("unhandledRejection",r,i):jh(Bh,i,r)})),e.rejection=oh||Kh(e)?2:1,t.error))throw t.value}))},Kh=function(e){return 1!==e.rejection&&!e.parent},qh=function(e){ah(gh,sh,(function(){var t=e.facade;oh?xh.emit("rejectionHandled",t):jh("rejectionhandled",t,e.value)}))},Yh=function(e,t,i){return function(r){e(t,r,i)}},zh=function(e,t,i){e.done||(e.done=!0,i&&(e=i),e.value=t,e.state=2,Gh(e,!0))},Xh=function(e,t,i){if(!e.done){e.done=!0,i&&(e=i);try{if(e.facade===t)throw new Mh("Promise can't be resolved itself");var r=Hh(t);r?Th((function(){var i={done:!1};try{ah(r,t,Yh(Xh,i,e),Yh(zh,i,e))}catch(Sj){zh(i,Sj,e)}})):(e.value=t,e.state=1,Gh(e,!1))}catch(Sj){zh({done:!1},Sj,e)}}};if(Ch&&(Ph=(Oh=function(e){_h(this,Ph),hh(e),ah(th,this);var t=Dh(this);try{e(Yh(Xh,t),Yh(zh,t))}catch(Sj){zh(t,Sj)}}).prototype,(th=function(e){Nh(this,{type:Ah,done:!1,notified:!1,parent:!1,reactions:new Sh,rejection:!1,state:0,value:null})}).prototype=ch(Ph,"then",(function(e,t){var i=Dh(this),r=Vh(fh(this,Oh));return i.parent=!0,r.ok=!ph(e)||e,r.fail=ph(t)&&t,r.domain=oh?xh.domain:void 0,0===i.state?i.reactions.add(r):Th((function(){Wh(r,i)})),r.promise})),ih=function(){var e=new th,t=Dh(e);this.promise=e,this.resolve=Yh(Xh,t),this.reject=Yh(zh,t)},Rh.f=Vh=function(e){return e===Oh||undefined===e?new ih(e):Uh(e)},ph(Ih)&&wh!==Object.prototype)){rh=wh.then,kh||ch(wh,"then",(function(e,t){var i=this;return new Oh((function(e,t){ah(rh,i,e,t)})).then(e,t)}),{unsafe:!0});try{delete wh.constructor}catch(Sj){}lh&&lh(wh,Ph)}nh({global:!0,constructor:!0,wrap:!0,forced:Ch},{Promise:Oh}),dh(Oh,Ah,!1),uh(Ah);var Qh=yo,Zh=rt("iterator"),$h=Array.prototype,ep=function(e){return void 0!==e&&(Qh.Array===e||$h[Zh]===e)},tp=hn,ip=ye,rp=P,np=yo,op=rt("iterator"),sp=function(e){if(!rp(e))return ip(e,op)||ip(e,"@@iterator")||np[tp(e)]},ap=u,cp=Ee,lp=Lt,dp=_e,up=sp,hp=TypeError,pp=function(e,t){var i=arguments.length<2?up(e):t;if(cp(i))return lp(ap(i,e));throw new hp(dp(e)+" is not iterable")},mp=u,_p=Lt,fp=ye,gp=function(e,t,i){var r,n;_p(e);try{if(!(r=fp(e,"return"))){if("throw"===t)throw i;return i}r=mp(r,e)}catch(Sj){n=!0,r=Sj}if("throw"===t)throw i;if(n)throw r;return _p(r),i},Tp=Dd,Ep=u,vp=Lt,Sp=_e,yp=ep,Ip=mr,Rp=q,Ap=pp,Cp=sp,bp=gp,kp=TypeError,Dp=function(e,t){this.stopped=e,this.result=t},Np=Dp.prototype,wp=function(e,t,i){var r,n,o,s,a,c,l,d=i&&i.that,u=!(!i||!i.AS_ENTRIES),h=!(!i||!i.IS_RECORD),p=!(!i||!i.IS_ITERATOR),m=!(!i||!i.INTERRUPTED),_=Tp(t,d),f=function(e){return r&&bp(r,"normal",e),new Dp(!0,e)},g=function(e){return u?(vp(e),m?_(e[0],e[1],f):_(e[0],e[1])):m?_(e,f):_(e)};if(h)r=e.iterator;else if(p)r=e;else{if(!(n=Cp(e)))throw new kp(Sp(e)+" is not iterable");if(yp(n)){for(o=0,s=Ip(e);s>o;o++)if((a=g(e[o]))&&Rp(Np,a))return a;return new Dp(!1)}r=Ap(e,n)}for(c=h?e.next:r.next;!(l=Ep(c,r)).done;){try{a=g(l.value)}catch(Sj){bp(r,"throw",Sj)}if("object"==typeof a&&a&&Rp(Np,a))return a}return new Dp(!1)},Op=rt("iterator"),Pp=!1;try{var Mp=0,Lp={next:function(){return{done:!!Mp++}},return:function(){Pp=!0}};Lp[Op]=function(){return this},Array.from(Lp,(function(){throw 2}))}catch(Sj){}var xp=function(e,t){try{if(!t&&!Pp)return!1}catch(Sj){return!1}var i=!1;try{var r={};r[Op]=function(){return{next:function(){return{done:i=!0}}}},e(r)}catch(Sj){}return i},Vp=Vu,Up=Xu.CONSTRUCTOR||!xp((function(e){Vp.all(e).then(void 0,(function(){}))})),Fp=u,Bp=Ee,Hp=Qu,Wp=xu,Gp=wp;nn({target:"Promise",stat:!0,forced:Up},{all:function(e){var t=this,i=Hp.f(t),r=i.resolve,n=i.reject,o=Wp((function(){var i=Bp(t.resolve),o=[],s=0,a=1;Gp(e,(function(e){var c=s++,l=!1;a++,Fp(i,t,e).then((function(e){l||(l=!0,o[c]=e,--a||r(o))}),n)})),--a||r(o)}));return o.error&&n(o.value),i.promise}});var jp=nn,Jp=Xu.CONSTRUCTOR,Kp=Vu,qp=K,Yp=H,zp=$i,Xp=Kp&&Kp.prototype;if(jp({target:"Promise",proto:!0,forced:Jp,real:!0},{catch:function(e){return this.then(void 0,e)}}),Yp(Kp)){var Qp=qp("Promise").prototype.catch;Xp.catch!==Qp&&zp(Xp,"catch",Qp,{unsafe:!0})}var Zp=u,$p=Ee,em=Qu,tm=xu,im=wp;nn({target:"Promise",stat:!0,forced:Up},{race:function(e){var t=this,i=em.f(t),r=i.reject,n=tm((function(){var n=$p(t.resolve);im(e,(function(e){Zp(n,t,e).then(i.resolve,r)}))}));return n.error&&r(n.value),i.promise}});var rm=Qu;nn({target:"Promise",stat:!0,forced:Xu.CONSTRUCTOR},{reject:function(e){var t=rm.f(this);return(0,t.reject)(e),t.promise}});var nm=Lt,om=G,sm=Qu,am=function(e,t){if(nm(e),om(t)&&t.constructor===e)return t;var i=sm.f(e);return(0,i.resolve)(t),i.promise},cm=nn,lm=Xu.CONSTRUCTOR,dm=am;K("Promise"),cm({target:"Promise",stat:!0,forced:lm},{resolve:function(e){return dm(this,e)}});var um=nn,hm=Vu,pm=s,mm=K,_m=H,fm=vd,gm=am,Tm=$i,Em=hm&&hm.prototype;if(um({target:"Promise",proto:!0,real:!0,forced:!!hm&&pm((function(){Em.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=fm(this,mm("Promise")),i=_m(e);return this.then(i?function(i){return gm(t,e()).then((function(){return i}))}:e,i?function(i){return gm(t,e()).then((function(){throw i}))}:e)}}),_m(hm)){var vm=mm("Promise").prototype.finally;Em.finally!==vm&&Tm(Em,"finally",vm,{unsafe:!0})}var Sm=G,ym=b,Im=rt("match"),Rm=function(e){var t;return Sm(e)&&(void 0!==(t=e[Im])?!!t:"RegExp"===ym(e))},Am=Lt,Cm=function(){var e=Am(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},bm=u,km=Ge,Dm=q,Nm=Cm,wm=RegExp.prototype,Om=function(e){var t=e.flags;return void 0!==t||"flags"in wm||km(e,"flags")||!Dm(wm,e)?t:bm(Nm,e)},Pm=s,Mm=n.RegExp,Lm=Pm((function(){var e=Mm("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),xm=Lm||Pm((function(){return!Mm("a","y").sticky})),Vm=Lm||Pm((function(){var e=Mm("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),Um={BROKEN_CARET:Vm,MISSED_STICKY:xm,UNSUPPORTED_Y:Lm},Fm=Nt.f,Bm=s,Hm=n.RegExp,Wm=Bm((function(){var e=Hm(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Gm=s,jm=n.RegExp,Jm=Gm((function(){var e=jm("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Km=a,qm=n,Ym=I,zm=zr,Xm=Ic,Qm=zt,Zm=lo,$m=er.f,e_=q,t_=Rm,i_=_n,r_=Om,n_=Um,o_=function(e,t,i){i in e||Fm(e,i,{configurable:!0,get:function(){return t[i]},set:function(e){t[i]=e}})},s_=$i,a_=s,c_=Ge,l_=Ni.enforce,d_=Nl,u_=Wm,h_=Jm,p_=rt("match"),m_=qm.RegExp,__=m_.prototype,f_=qm.SyntaxError,g_=Ym(__.exec),T_=Ym("".charAt),E_=Ym("".replace),v_=Ym("".indexOf),S_=Ym("".slice),y_=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I_=/a/g,R_=/a/g,A_=new m_(I_)!==I_,C_=n_.MISSED_STICKY,b_=n_.UNSUPPORTED_Y,k_=Km&&(!A_||C_||u_||h_||a_((function(){return R_[p_]=!1,m_(I_)!==I_||m_(R_)===R_||"/a/i"!==String(m_(I_,"i"))})));if(zm("RegExp",k_)){for(var D_=function(e,t){var i,r,n,o,s,a,c=e_(__,this),l=t_(e),d=void 0===t,u=[],h=e;if(!c&&l&&d&&e.constructor===D_)return e;if((l||e_(__,e))&&(e=e.source,d&&(t=r_(h))),e=void 0===e?"":i_(e),t=void 0===t?"":i_(t),h=e,u_&&"dotAll"in I_&&(r=!!t&&v_(t,"s")>-1)&&(t=E_(t,/s/g,"")),i=t,C_&&"sticky"in I_&&(n=!!t&&v_(t,"y")>-1)&&b_&&(t=E_(t,/y/g,"")),h_&&(o=function(e){for(var t,i=e.length,r=0,n="",o=[],s=Zm(null),a=!1,c=!1,l=0,d="";r<=i;r++){if("\\"===(t=T_(e,r)))t+=T_(e,++r);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:if(n+=t,"?:"===S_(e,r+1,r+3))continue;g_(y_,S_(e,r+1))&&(r+=2,c=!0),l++;continue;case">"===t&&c:if(""===d||c_(s,d))throw new f_("Invalid capture group name");s[d]=!0,o[o.length]=[d,l],c=!1,d="";continue}c?d+=t:n+=t}return[n,o]}(e),e=o[0],u=o[1]),s=Xm(m_(e,t),c?this:__,D_),(r||n||u.length)&&(a=l_(s),r&&(a.dotAll=!0,a.raw=D_(function(e){for(var t,i=e.length,r=0,n="",o=!1;r<=i;r++)"\\"!==(t=T_(e,r))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),n+=t):n+="[\\s\\S]":n+=t+T_(e,++r);return n}(e),i)),n&&(a.sticky=!0),u.length&&(a.groups=u)),e!==h)try{Qm(s,"source",""===h?"(?:)":h)}catch(Sj){}return s},N_=$m(m_),w_=0;N_.length>w_;)o_(D_,m_,N_[w_++]);__.constructor=D_,D_.prototype=__,s_(qm,"RegExp",D_,{constructor:!0})}d_("RegExp");var O_=u,P_=I,M_=_n,L_=Cm,x_=Um,V_=lo,U_=Ni.get,F_=Wm,B_=Jm,H_=Ve("native-string-replace",String.prototype.replace),W_=RegExp.prototype.exec,G_=W_,j_=P_("".charAt),J_=P_("".indexOf),K_=P_("".replace),q_=P_("".slice),Y_=function(){var e=/a/,t=/b*/g;return O_(W_,e,"a"),O_(W_,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),z_=x_.BROKEN_CARET,X_=void 0!==/()??/.exec("")[1];(Y_||X_||z_||F_||B_)&&(G_=function(e){var t,i,r,n,o,s,a,c=this,l=U_(c),d=M_(e),u=l.raw;if(u)return u.lastIndex=c.lastIndex,t=O_(G_,u,d),c.lastIndex=u.lastIndex,t;var h=l.groups,p=z_&&c.sticky,m=O_(L_,c),_=c.source,f=0,g=d;if(p&&(m=K_(m,"y",""),-1===J_(m,"g")&&(m+="g"),g=q_(d,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==j_(d,c.lastIndex-1))&&(_="(?: "+_+")",g=" "+g,f++),i=new RegExp("^(?:"+_+")",m)),X_&&(i=new RegExp("^"+_+"$(?!\\s)",m)),Y_&&(r=c.lastIndex),n=O_(W_,p?i:c,g),p?n?(n.input=q_(n.input,f),n[0]=q_(n[0],f),n.index=c.lastIndex,c.lastIndex+=n[0].length):c.lastIndex=0:Y_&&n&&(c.lastIndex=c.global?n.index+n[0].length:r),X_&&n&&n.length>1&&O_(H_,n[0],i,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n&&h)for(n.groups=s=V_(null),o=0;o<h.length;o++)s[(a=h[o])[0]]=n[a[1]];return n});var Q_=G_;nn({target:"RegExp",proto:!0,forced:/./.exec!==Q_},{exec:Q_});var Z_=or,$_=_n,ef=x,tf=RangeError,rf=I,nf=hr,of=_n,sf=function(e){var t=$_(ef(this)),i="",r=Z_(e);if(r<0||Infinity===r)throw new tf("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(i+=t);return i},af=x,cf=rf(sf),lf=rf("".slice),df=Math.ceil,uf=function(e){return function(t,i,r){var n,o,s=of(af(t)),a=nf(i),c=s.length,l=void 0===r?" ":of(r);return a<=c||""===l?s:((o=cf(l,df((n=a-c)/l.length))).length>n&&(o=lf(o,0,n)),e?s+o:o+s)}},hf={start:uf(!1),end:uf(!0)},pf=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(X),mf=hf.start;nn({target:"String",proto:!0,forced:pf},{padStart:function(e){return mf(this,e,arguments.length>1?arguments[1]:void 0)}});var _f=u,ff=$i,gf=Q_,Tf=s,Ef=rt,vf=zt,Sf=Ef("species"),yf=RegExp.prototype,If=I,Rf=or,Af=_n,Cf=x,bf=If("".charAt),kf=If("".charCodeAt),Df=If("".slice),Nf=function(e){return function(t,i){var r,n,o=Af(Cf(t)),s=Rf(i),a=o.length;return s<0||s>=a?e?"":void 0:(r=kf(o,s))<55296||r>56319||s+1===a||(n=kf(o,s+1))<56320||n>57343?e?bf(o,s):r:e?Df(o,s,s+2):n-56320+(r-55296<<10)+65536}},wf={codeAt:Nf(!1),charAt:Nf(!0)},Of=wf.charAt,Pf=I,Mf=Be,Lf=Math.floor,xf=Pf("".charAt),Vf=Pf("".replace),Uf=Pf("".slice),Ff=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Bf=/\$([$&'`]|\d{1,2})/g,Hf=function(e,t,i,r,n,o){var s=i+e.length,a=r.length,c=Bf;return void 0!==n&&(n=Mf(n),c=Ff),Vf(o,c,(function(o,c){var l;switch(xf(c,0)){case"$":return"$";case"&":return e;case"`":return Uf(t,0,i);case"'":return Uf(t,s);case"<":l=n[Uf(c,1,-1)];break;default:var d=+c;if(0===d)return o;if(d>a){var u=Lf(d/10);return 0===u?o:u<=a?void 0===r[u-1]?xf(c,1):r[u-1]+xf(c,1):o}l=r[d-1]}return void 0===l?"":l}))},Wf=u,Gf=Lt,jf=H,Jf=b,Kf=Q_,qf=TypeError,Yf=Ad,zf=u,Xf=I,Qf=function(e,t,i,r){var n=Ef(e),o=!Tf((function(){var t={};return t[n]=function(){return 7},7!==""[e](t)})),s=o&&!Tf((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[Sf]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return t=!0,null},i[n](""),!t}));if(!o||!s||i){var a=/./[n],c=t(n,""[e],(function(e,t,i,r,n){var s=t.exec;return s===gf||s===yf.exec?o&&!n?{done:!0,value:_f(a,t,i,r)}:{done:!0,value:_f(e,i,t,r)}:{done:!1}}));ff(String.prototype,e,c[0]),ff(yf,n,c[1])}r&&vf(yf[n],"sham",!0)},Zf=s,$f=Lt,eg=H,tg=P,ig=or,rg=hr,ng=_n,og=x,sg=function(e,t,i){return t+(i?Of(e,t).length:1)},ag=ye,cg=Hf,lg=function(e,t){var i=e.exec;if(jf(i)){var r=Wf(i,e,t);return null!==r&&Gf(r),r}if("RegExp"===Jf(e))return Wf(Kf,e,t);throw new qf("RegExp#exec called on incompatible receiver")},dg=rt("replace"),ug=Math.max,hg=Math.min,pg=Xf([].concat),mg=Xf([].push),_g=Xf("".indexOf),fg=Xf("".slice),gg=function(e){return void 0===e?e:String(e)},Tg="$0"==="a".replace(/./,"$0"),Eg=!!/./[dg]&&""===/./[dg]("a","$0"),vg=!Zf((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));Qf("replace",(function(e,t,i){var r=Eg?"$":"$0";return[function(e,i){var r=og(this),n=tg(e)?void 0:ag(e,dg);return n?zf(n,e,r,i):zf(t,ng(r),e,i)},function(e,n){var o=$f(this),s=ng(e);if("string"==typeof n&&-1===_g(n,r)&&-1===_g(n,"$<")){var a=i(t,o,s,n);if(a.done)return a.value}var c=eg(n);c||(n=ng(n));var l,d=o.global;d&&(l=o.unicode,o.lastIndex=0);for(var u,h=[];null!==(u=lg(o,s))&&(mg(h,u),d);){""===ng(u[0])&&(o.lastIndex=sg(s,rg(o.lastIndex),l))}for(var p="",m=0,_=0;_<h.length;_++){for(var f,g=ng((u=h[_])[0]),T=ug(hg(ig(u.index),s.length),0),E=[],v=1;v<u.length;v++)mg(E,gg(u[v]));var S=u.groups;if(c){var y=pg([g],E,T,s);void 0!==S&&mg(y,S),f=ng(Yf(n,void 0,y))}else f=cg(g,s,T,E,S,n);T>=m&&(p+=fg(s,m,T)+f,m=T+g.length)}return p+fg(s,m)}]}),!vg||!Tg||Eg);var Sg="\t\n\v\f\r                 \u2028\u2029\ufeff",yg=x,Ig=_n,Rg=Sg,Ag=I("".replace),Cg=RegExp("^["+Rg+"]+"),bg=RegExp("(^|[^"+Rg+"])["+Rg+"]+$"),kg=function(e){return function(t){var i=Ig(yg(t));return 1&e&&(i=Ag(i,Cg,"")),2&e&&(i=Ag(i,bg,"$1")),i}},Dg={start:kg(1),end:kg(2),trim:kg(3)},Ng=ii.PROPER,wg=s,Og=Sg,Pg=Dg.trim;nn({target:"String",proto:!0,forced:function(e){return wg((function(){return!!Og[e]()||"​…᠎"!=="​…᠎"[e]()||Ng&&Og[e].name!==e}))}("trim")},{trim:function(){return Pg(this)}});var Mg,Lg,xg,Vg={exports:{}},Ug=Ka,Fg=a,Bg=n,Hg=H,Wg=G,Gg=Ge,jg=hn,Jg=_e,Kg=zt,qg=$i,Yg=Tn,zg=q,Xg=wo,Qg=cs,Zg=rt,$g=Ye,eT=Ni.enforce,tT=Ni.get,iT=Bg.Int8Array,rT=iT&&iT.prototype,nT=Bg.Uint8ClampedArray,oT=nT&&nT.prototype,sT=iT&&Xg(iT),aT=rT&&Xg(rT),cT=Object.prototype,lT=Bg.TypeError,dT=Zg("toStringTag"),uT=$g("TYPED_ARRAY_TAG"),hT="TypedArrayConstructor",pT=Ug&&!!Qg&&"Opera"!==jg(Bg.opera),mT=!1,_T={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},fT={BigInt64Array:8,BigUint64Array:8},gT=function(e){var t=Xg(e);if(Wg(t)){var i=tT(t);return i&&Gg(i,hT)?i[hT]:gT(t)}},TT=function(e){if(!Wg(e))return!1;var t=jg(e);return Gg(_T,t)||Gg(fT,t)};for(Mg in _T)(xg=(Lg=Bg[Mg])&&Lg.prototype)?eT(xg)[hT]=Lg:pT=!1;for(Mg in fT)(xg=(Lg=Bg[Mg])&&Lg.prototype)&&(eT(xg)[hT]=Lg);if((!pT||!Hg(sT)||sT===Function.prototype)&&(sT=function(){throw new lT("Incorrect invocation")},pT))for(Mg in _T)Bg[Mg]&&Qg(Bg[Mg],sT);if((!pT||!aT||aT===cT)&&(aT=sT.prototype,pT))for(Mg in _T)Bg[Mg]&&Qg(Bg[Mg].prototype,aT);if(pT&&Xg(oT)!==aT&&Qg(oT,aT),Fg&&!Gg(aT,dT))for(Mg in mT=!0,Yg(aT,dT,{configurable:!0,get:function(){return Wg(this)?this[uT]:void 0}}),_T)Bg[Mg]&&Kg(Bg[Mg],uT,Mg);var ET={NATIVE_ARRAY_BUFFER_VIEWS:pT,TYPED_ARRAY_TAG:mT&&uT,aTypedArray:function(e){if(TT(e))return e;throw new lT("Target is not a typed array")},aTypedArrayConstructor:function(e){if(Hg(e)&&(!Qg||zg(sT,e)))return e;throw new lT(Jg(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,i,r){if(Fg){if(i)for(var n in _T){var o=Bg[n];if(o&&Gg(o.prototype,e))try{delete o.prototype[e]}catch(Sj){try{o.prototype[e]=t}catch(s){}}}aT[e]&&!i||qg(aT,e,i?t:pT&&rT[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,i){var r,n;if(Fg){if(Qg){if(i)for(r in _T)if((n=Bg[r])&&Gg(n,e))try{delete n[e]}catch(Sj){}if(sT[e]&&!i)return;try{return qg(sT,e,i?t:pT&&sT[e]||t)}catch(Sj){}}for(r in _T)!(n=Bg[r])||n[e]&&!i||qg(n,e,t)}},getTypedArrayConstructor:gT,isView:function(e){if(!Wg(e))return!1;var t=jg(e);return"DataView"===t||Gg(_T,t)||Gg(fT,t)},isTypedArray:TT,TypedArray:sT,TypedArrayPrototype:aT},vT=n,ST=s,yT=xp,IT=ET.NATIVE_ARRAY_BUFFER_VIEWS,RT=vT.ArrayBuffer,AT=vT.Int8Array,CT=!IT||!ST((function(){AT(1)}))||!ST((function(){new AT(-1)}))||!yT((function(e){new AT,new AT(null),new AT(1.5),new AT(e)}),!0)||ST((function(){return 1!==new AT(new RT(2),1,void 0).length})),bT=G,kT=Math.floor,DT=Number.isInteger||function(e){return!bT(e)&&isFinite(e)&&kT(e)===e},NT=or,wT=RangeError,OT=function(e){var t=NT(e);if(t<0)throw new wT("The argument can't be less than 0");return t},PT=RangeError,MT=function(e,t){var i=OT(e);if(i%t)throw new PT("Wrong offset");return i},LT=Math.round,xT=hn,VT=ut,UT=TypeError,FT=function(e){var t=VT(e,"number");if("number"==typeof t)throw new UT("Can't convert number to bigint");return BigInt(t)},BT=Dd,HT=u,WT=_d,GT=Be,jT=mr,JT=pp,KT=sp,qT=ep,YT=function(e){var t=xT(e);return"BigInt64Array"===t||"BigUint64Array"===t},zT=ET.aTypedArrayConstructor,XT=FT,QT=function(e){var t,i,r,n,o,s,a,c,l=WT(this),d=GT(e),u=arguments.length,h=u>1?arguments[1]:void 0,p=void 0!==h,m=KT(d);if(m&&!qT(m))for(c=(a=JT(d,m)).next,d=[];!(s=HT(c,a)).done;)d.push(s.value);for(p&&u>2&&(h=BT(h,arguments[2])),i=jT(d),r=new(zT(l))(i),n=YT(r),t=0;i>t;t++)o=p?h(d[t],t):d[t],r[t]=n?XT(o):+o;return r},ZT=ca,$T=ud,eE=G,tE=rt("species"),iE=Array,rE=function(e){var t;return ZT(e)&&(t=e.constructor,($T(t)&&(t===iE||ZT(t.prototype))||eE(t)&&null===(t=t[tE]))&&(t=void 0)),void 0===t?iE:t},nE=Dd,oE=O,sE=Be,aE=mr,cE=function(e,t){return new(rE(e))(0===t?0:t)},lE=I([].push),dE=function(e){var t=1===e,i=2===e,r=3===e,n=4===e,o=6===e,s=7===e,a=5===e||o;return function(c,l,d,u){for(var h,p,m=sE(c),_=oE(m),f=aE(_),g=nE(l,d),T=0,E=u||cE,v=t?E(c,f):i||s?E(c,0):void 0;f>T;T++)if((a||T in _)&&(p=g(h=_[T],T,m),e))if(t)v[T]=p;else if(p)switch(e){case 3:return!0;case 5:return h;case 6:return T;case 2:lE(v,h)}else switch(e){case 4:return!1;case 7:lE(v,h)}return o?-1:r||n?n:v}},uE={forEach:dE(0),map:dE(1),filter:dE(2),some:dE(3),every:dE(4),find:dE(5),findIndex:dE(6),filterReject:dE(7)},hE=mr,pE=nn,mE=n,_E=u,fE=a,gE=CT,TE=ET,EE=Al,vE=Qa,SE=T,yE=zt,IE=DT,RE=hr,AE=tc,CE=MT,bE=function(e){var t=LT(e);return t<0?0:t>255?255:255&t},kE=mt,DE=Ge,NE=hn,wE=G,OE=pe,PE=lo,ME=q,LE=cs,xE=er.f,VE=QT,UE=uE.forEach,FE=Nl,BE=Tn,HE=Nt,WE=o,GE=function(e,t,i){for(var r=0,n=arguments.length>2?i:hE(t),o=new e(n);n>r;)o[r]=t[r++];return o},jE=Ic,JE=Ni.get,KE=Ni.set,qE=Ni.enforce,YE=HE.f,zE=WE.f,XE=mE.RangeError,QE=EE.ArrayBuffer,ZE=QE.prototype,$E=EE.DataView,ev=TE.NATIVE_ARRAY_BUFFER_VIEWS,tv=TE.TYPED_ARRAY_TAG,iv=TE.TypedArray,rv=TE.TypedArrayPrototype,nv=TE.isTypedArray,ov="BYTES_PER_ELEMENT",sv="Wrong length",av=function(e,t){BE(e,t,{configurable:!0,get:function(){return JE(this)[t]}})},cv=function(e){var t;return ME(ZE,e)||"ArrayBuffer"===(t=NE(e))||"SharedArrayBuffer"===t},lv=function(e,t){return nv(e)&&!OE(t)&&t in e&&IE(+t)&&t>=0},dv=function(e,t){return t=kE(t),lv(e,t)?SE(2,e[t]):zE(e,t)},uv=function(e,t,i){return t=kE(t),!(lv(e,t)&&wE(i)&&DE(i,"value"))||DE(i,"get")||DE(i,"set")||i.configurable||DE(i,"writable")&&!i.writable||DE(i,"enumerable")&&!i.enumerable?YE(e,t,i):(e[t]=i.value,e)};fE?(ev||(WE.f=dv,HE.f=uv,av(rv,"buffer"),av(rv,"byteOffset"),av(rv,"byteLength"),av(rv,"length")),pE({target:"Object",stat:!0,forced:!ev},{getOwnPropertyDescriptor:dv,defineProperty:uv}),Vg.exports=function(e,t,i){var r=e.match(/\d+/)[0]/8,n=e+(i?"Clamped":"")+"Array",o="get"+e,s="set"+e,a=mE[n],c=a,l=c&&c.prototype,d={},u=function(e,t){YE(e,t,{get:function(){return function(e,