UNPKG

trtc-sdk-v5

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