@volcengine/veplayer 1.9.1 → 1.9.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +713 -56
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/package.json +1 -1
- package/plugin/dash.js +2 -2
- package/plugin/preloader.js +2 -0
- package/plugin/vestrategy.js +1 -1
- package/plugin/vestrategy_h265.js +1 -1
- package/plugin/vestrategy_preload.js +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).__VESTRATEGY_STRATEGY_H265__=e()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||t||Function("return this")(),o=function(t){try{return!!t()}catch(e){return!0}},i=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),a=i,u=Function.prototype,c=u.apply,f=u.call,s="object"==typeof Reflect&&Reflect.apply||(a?f.bind(c):function(){return f.apply(c,arguments)}),l=i,p=Function.prototype,v=p.call,h=l&&p.bind.bind(v,v),d=l?h:function(t){return function(){return v.apply(t,arguments)}},y=d,g=y({}.toString),m=y("".slice),b=function(t){return m(g(t),8,-1)},w=b,S=d,O=function(t){if("Function"===w(t))return S(t)},E="object"==typeof document&&document.all,j={all:E,IS_HTMLDDA:void 0===E&&void 0!==E},T=j.all,_=j.IS_HTMLDDA?function(t){return"function"==typeof t||t===T}:function(t){return"function"==typeof t},x={},A=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),P=i,L=Function.prototype.call,R=P?L.bind(L):function(){return L.apply(L,arguments)},k={},I={}.propertyIsEnumerable,C=Object.getOwnPropertyDescriptor,N=C&&!I.call({1:2},1);k.f=N?function(t){var e=C(this,t);return!!e&&e.enumerable}:I;var M,D,F=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},G=o,B=b,U=Object,V=d("".split),H=G((function(){return!U("z").propertyIsEnumerable(0)}))?function(t){return"String"==B(t)?V(t,""):U(t)}:U,Y=function(t){return null==t},z=Y,K=TypeError,W=function(t){if(z(t))throw K("Can't call method on "+t);return t},J=H,q=W,$=function(t){return J(q(t))},X=_,Q=j.all,Z=j.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:X(t)||t===Q}:function(t){return"object"==typeof t?null!==t:X(t)},tt={},et=tt,rt=n,nt=_,ot=function(t){return nt(t)?t:void 0},it=function(t,e){return arguments.length<2?ot(et[t])||ot(rt[t]):et[t]&&et[t][e]||rt[t]&&rt[t][e]},at=d({}.isPrototypeOf),ut="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ct=n,ft=ut,st=ct.process,lt=ct.Deno,pt=st&&st.versions||lt&<.version,vt=pt&&pt.v8;vt&&(D=(M=vt.split("."))[0]>0&&M[0]<4?1:+(M[0]+M[1])),!D&&ft&&(!(M=ft.match(/Edge\/(\d+)/))||M[1]>=74)&&(M=ft.match(/Chrome\/(\d+)/))&&(D=+M[1]);var ht=D,dt=ht,yt=o,gt=n.String,mt=!!Object.getOwnPropertySymbols&&!yt((function(){var t=Symbol();return!gt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&dt&&dt<41})),bt=mt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,wt=it,St=_,Ot=at,Et=Object,jt=bt?function(t){return"symbol"==typeof t}:function(t){var e=wt("Symbol");return St(e)&&Ot(e.prototype,Et(t))},Tt=String,_t=function(t){try{return Tt(t)}catch(e){return"Object"}},xt=_,At=_t,Pt=TypeError,Lt=function(t){if(xt(t))return t;throw Pt(At(t)+" is not a function")},Rt=Lt,kt=Y,It=function(t,e){var r=t[e];return kt(r)?void 0:Rt(r)},Ct=R,Nt=_,Mt=Z,Dt=TypeError,Ft={exports:{}},Gt=n,Bt=Object.defineProperty,Ut=function(t,e){try{Bt(Gt,t,{value:e,configurable:!0,writable:!0})}catch(r){Gt[t]=e}return e},Vt="__core-js_shared__",Ht=n[Vt]||Ut(Vt,{}),Yt=Ht;(Ft.exports=function(t,e){return Yt[t]||(Yt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var zt=Ft.exports,Kt=W,Wt=Object,Jt=function(t){return Wt(Kt(t))},qt=Jt,$t=d({}.hasOwnProperty),Xt=Object.hasOwn||function(t,e){return $t(qt(t),e)},Qt=d,Zt=0,te=Math.random(),ee=Qt(1..toString),re=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ee(++Zt+te,36)},ne=zt,oe=Xt,ie=re,ae=mt,ue=bt,ce=n.Symbol,fe=ne("wks"),se=ue?ce.for||ce:ce&&ce.withoutSetter||ie,le=function(t){return oe(fe,t)||(fe[t]=ae&&oe(ce,t)?ce[t]:se("Symbol."+t)),fe[t]},pe=R,ve=Z,he=jt,de=It,ye=function(t,e){var r,n;if("string"===e&&Nt(r=t.toString)&&!Mt(n=Ct(r,t)))return n;if(Nt(r=t.valueOf)&&!Mt(n=Ct(r,t)))return n;if("string"!==e&&Nt(r=t.toString)&&!Mt(n=Ct(r,t)))return n;throw Dt("Can't convert object to primitive value")},ge=TypeError,me=le("toPrimitive"),be=function(t,e){if(!ve(t)||he(t))return t;var r,n=de(t,me);if(n){if(void 0===e&&(e="default"),r=pe(n,t,e),!ve(r)||he(r))return r;throw ge("Can't convert object to primitive value")}return void 0===e&&(e="number"),ye(t,e)},we=jt,Se=function(t){var e=be(t,"string");return we(e)?e:e+""},Oe=Z,Ee=n.document,je=Oe(Ee)&&Oe(Ee.createElement),Te=function(t){return je?Ee.createElement(t):{}},_e=Te,xe=!A&&!o((function(){return 7!=Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a})),Ae=A,Pe=R,Le=k,Re=F,ke=$,Ie=Se,Ce=Xt,Ne=xe,Me=Object.getOwnPropertyDescriptor;x.f=Ae?Me:function(t,e){if(t=ke(t),e=Ie(e),Ne)try{return Me(t,e)}catch(r){}if(Ce(t,e))return Re(!Pe(Le.f,t,e),t[e])};var De=o,Fe=_,Ge=/#|\.prototype\./,Be=function(t,e){var r=Ve[Ue(t)];return r==Ye||r!=He&&(Fe(e)?De(e):!!e)},Ue=Be.normalize=function(t){return String(t).replace(Ge,".").toLowerCase()},Ve=Be.data={},He=Be.NATIVE="N",Ye=Be.POLYFILL="P",ze=Be,Ke=Lt,We=i,Je=O(O.bind),qe=function(t,e){return Ke(t),void 0===e?t:We?Je(t,e):function(){return t.apply(e,arguments)}},$e={},Xe=A&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Qe=Z,Ze=String,tr=TypeError,er=function(t){if(Qe(t))return t;throw tr(Ze(t)+" is not an object")},rr=A,nr=xe,or=Xe,ir=er,ar=Se,ur=TypeError,cr=Object.defineProperty,fr=Object.getOwnPropertyDescriptor,sr="enumerable",lr="configurable",pr="writable";$e.f=rr?or?function(t,e,r){if(ir(t),e=ar(e),ir(r),"function"==typeof t&&"prototype"===e&&"value"in r&&pr in r&&!r[pr]){var n=fr(t,e);n&&n[pr]&&(t[e]=r.value,r={configurable:lr in r?r[lr]:n[lr],enumerable:sr in r?r[sr]:n[sr],writable:!1})}return cr(t,e,r)}:cr:function(t,e,r){if(ir(t),e=ar(e),ir(r),nr)try{return cr(t,e,r)}catch(n){}if("get"in r||"set"in r)throw ur("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var vr=$e,hr=F,dr=A?function(t,e,r){return vr.f(t,e,hr(1,r))}:function(t,e,r){return t[e]=r,t},yr=n,gr=s,mr=O,br=_,wr=x.f,Sr=ze,Or=tt,Er=qe,jr=dr,Tr=Xt,_r=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return gr(t,this,arguments)};return e.prototype=t.prototype,e},xr=function(t,e){var r,n,o,i,a,u,c,f,s,l=t.target,p=t.global,v=t.stat,h=t.proto,d=p?yr:v?yr[l]:(yr[l]||{}).prototype,y=p?Or:Or[l]||jr(Or,l,{})[l],g=y.prototype;for(i in e)n=!(r=Sr(p?i:l+(v?".":"#")+i,t.forced))&&d&&Tr(d,i),u=y[i],n&&(c=t.dontCallGetSet?(s=wr(d,i))&&s.value:d[i]),a=n&&c?c:e[i],n&&typeof u==typeof a||(f=t.bind&&n?Er(a,yr):t.wrap&&n?_r(a):h&&br(a)?mr(a):a,(t.sham||a&&a.sham||u&&u.sham)&&jr(f,"sham",!0),jr(y,i,f),h&&(Tr(Or,o=l+"Prototype")||jr(Or,o,{}),jr(Or[o],i,a),t.real&&g&&(r||!g[i])&&jr(g,i,a)))},Ar=b,Pr=Array.isArray||function(t){return"Array"==Ar(t)},Lr=Math.ceil,Rr=Math.floor,kr=Math.trunc||function(t){var e=+t;return(e>0?Rr:Lr)(e)},Ir=function(t){var e=+t;return e!=e||0===e?0:kr(e)},Cr=Ir,Nr=Math.min,Mr=function(t){return t>0?Nr(Cr(t),9007199254740991):0},Dr=function(t){return Mr(t.length)},Fr=TypeError,Gr=function(t){if(t>9007199254740991)throw Fr("Maximum allowed index exceeded");return t},Br=Se,Ur=$e,Vr=F,Hr=function(t,e,r){var n=Br(e);n in t?Ur.f(t,n,Vr(0,r)):t[n]=r},Yr={};Yr[le("toStringTag")]="z";var zr="[object z]"===String(Yr),Kr=zr,Wr=_,Jr=b,qr=le("toStringTag"),$r=Object,Xr="Arguments"==Jr(function(){return arguments}()),Qr=Kr?Jr:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=$r(t),qr))?r:Xr?Jr(e):"Object"==(n=Jr(e))&&Wr(e.callee)?"Arguments":n},Zr=_,tn=Ht,en=d(Function.toString);Zr(tn.inspectSource)||(tn.inspectSource=function(t){return en(t)});var rn=tn.inspectSource,nn=d,on=o,an=_,un=Qr,cn=rn,fn=function(){},sn=[],ln=it("Reflect","construct"),pn=/^\s*(?:class|function)\b/,vn=nn(pn.exec),hn=!pn.exec(fn),dn=function(t){if(!an(t))return!1;try{return ln(fn,sn,t),!0}catch(e){return!1}},yn=function(t){if(!an(t))return!1;switch(un(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return hn||!!vn(pn,cn(t))}catch(e){return!0}};yn.sham=!0;var gn=!ln||on((function(){var t;return dn(dn.call)||!dn(Object)||!dn((function(){t=!0}))||t}))?yn:dn,mn=Pr,bn=gn,wn=Z,Sn=le("species"),On=Array,En=function(t){var e;return mn(t)&&(e=t.constructor,(bn(e)&&(e===On||mn(e.prototype))||wn(e)&&null===(e=e[Sn]))&&(e=void 0)),void 0===e?On:e},jn=function(t,e){return new(En(t))(0===e?0:e)},Tn=o,_n=ht,xn=le("species"),An=function(t){return _n>=51||!Tn((function(){var e=[];return(e.constructor={})[xn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Pn=xr,Ln=o,Rn=Pr,kn=Z,In=Jt,Cn=Dr,Nn=Gr,Mn=Hr,Dn=jn,Fn=An,Gn=ht,Bn=le("isConcatSpreadable"),Un=Gn>=51||!Ln((function(){var t=[];return t[Bn]=!1,t.concat()[0]!==t})),Vn=function(t){if(!kn(t))return!1;var e=t[Bn];return void 0!==e?!!e:Rn(t)};Pn({target:"Array",proto:!0,arity:1,forced:!Un||!Fn("concat")},{concat:function(t){var e,r,n,o,i,a=In(this),u=Dn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Vn(i=-1===e?a:arguments[e]))for(o=Cn(i),Nn(c+o),r=0;r<o;r++,c++)r in i&&Mn(u,c,i[r]);else Nn(c+1),Mn(u,c++,i);return u.length=c,u}});var Hn=Qr,Yn=String,zn=function(t){if("Symbol"===Hn(t))throw TypeError("Cannot convert a Symbol value to a string");return Yn(t)},Kn={},Wn=Ir,Jn=Math.max,qn=Math.min,$n=function(t,e){var r=Wn(t);return r<0?Jn(r+e,0):qn(r,e)},Xn=$,Qn=$n,Zn=Dr,to=function(t){return function(e,r,n){var o,i=Xn(e),a=Zn(i),u=Qn(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},eo={includes:to(!0),indexOf:to(!1)},ro={},no=Xt,oo=$,io=eo.indexOf,ao=ro,uo=d([].push),co=function(t,e){var r,n=oo(t),o=0,i=[];for(r in n)!no(ao,r)&&no(n,r)&&uo(i,r);for(;e.length>o;)no(n,r=e[o++])&&(~io(i,r)||uo(i,r));return i},fo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],so=co,lo=fo,po=Object.keys||function(t){return so(t,lo)},vo=A,ho=Xe,yo=$e,go=er,mo=$,bo=po;Kn.f=vo&&!ho?Object.defineProperties:function(t,e){go(t);for(var r,n=mo(e),o=bo(e),i=o.length,a=0;i>a;)yo.f(t,r=o[a++],n[r]);return t};var wo,So=it("document","documentElement"),Oo=re,Eo=zt("keys"),jo=function(t){return Eo[t]||(Eo[t]=Oo(t))},To=er,_o=Kn,xo=fo,Ao=ro,Po=So,Lo=Te,Ro="prototype",ko="script",Io=jo("IE_PROTO"),Co=function(){},No=function(t){return"<"+ko+">"+t+"</"+ko+">"},Mo=function(t){t.write(No("")),t.close();var e=t.parentWindow.Object;return t=null,e},Do=function(){try{wo=new ActiveXObject("htmlfile")}catch(o){}var t,e,r;Do="undefined"!=typeof document?document.domain&&wo?Mo(wo):(e=Lo("iframe"),r="java"+ko+":",e.style.display="none",Po.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(No("document.F=Object")),t.close(),t.F):Mo(wo);for(var n=xo.length;n--;)delete Do[Ro][xo[n]];return Do()};Ao[Io]=!0;var Fo=Object.create||function(t,e){var r;return null!==t?(Co[Ro]=To(t),r=new Co,Co[Ro]=null,r[Io]=t):r=Do(),void 0===e?r:_o.f(r,e)},Go={},Bo=co,Uo=fo.concat("length","prototype");Go.f=Object.getOwnPropertyNames||function(t){return Bo(t,Uo)};var Vo={},Ho=$n,Yo=Dr,zo=Hr,Ko=Array,Wo=Math.max,Jo=b,qo=$,$o=Go.f,Xo=function(t,e,r){for(var n=Yo(t),o=Ho(e,n),i=Ho(void 0===r?n:r,n),a=Ko(Wo(i-o,0)),u=0;o<i;o++,u++)zo(a,u,t[o]);return a.length=u,a},Qo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Vo.f=function(t){return Qo&&"Window"==Jo(t)?function(t){try{return $o(t)}catch(e){return Xo(Qo)}}(t):$o(qo(t))};var Zo={};Zo.f=Object.getOwnPropertySymbols;var ti=dr,ei=function(t,e,r,n){return n&&n.enumerable?t[e]=r:ti(t,e,r),t},ri=$e,ni=function(t,e,r){return ri.f(t,e,r)},oi={},ii=le;oi.f=ii;var ai,ui,ci,fi=tt,si=Xt,li=oi,pi=$e.f,vi=function(t){var e=fi.Symbol||(fi.Symbol={});si(e,t)||pi(e,t,{value:li.f(t)})},hi=R,di=it,yi=le,gi=ei,mi=function(){var t=di("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=yi("toPrimitive");e&&!e[n]&&gi(e,n,(function(t){return hi(r,this)}),{arity:1})},bi=Qr,wi=zr?{}.toString:function(){return"[object "+bi(this)+"]"},Si=zr,Oi=$e.f,Ei=dr,ji=Xt,Ti=wi,_i=le("toStringTag"),xi=function(t,e,r,n){if(t){var o=r?t:t.prototype;ji(o,_i)||Oi(o,_i,{configurable:!0,value:e}),n&&!Si&&Ei(o,"toString",Ti)}},Ai=_,Pi=n.WeakMap,Li=Ai(Pi)&&/native code/.test(String(Pi)),Ri=n,ki=Z,Ii=dr,Ci=Xt,Ni=Ht,Mi=jo,Di=ro,Fi="Object already initialized",Gi=Ri.TypeError,Bi=Ri.WeakMap;if(Li||Ni.state){var Ui=Ni.state||(Ni.state=new Bi);Ui.get=Ui.get,Ui.has=Ui.has,Ui.set=Ui.set,ai=function(t,e){if(Ui.has(t))throw Gi(Fi);return e.facade=t,Ui.set(t,e),e},ui=function(t){return Ui.get(t)||{}},ci=function(t){return Ui.has(t)}}else{var Vi=Mi("state");Di[Vi]=!0,ai=function(t,e){if(Ci(t,Vi))throw Gi(Fi);return e.facade=t,Ii(t,Vi,e),e},ui=function(t){return Ci(t,Vi)?t[Vi]:{}},ci=function(t){return Ci(t,Vi)}}var Hi={set:ai,get:ui,has:ci,enforce:function(t){return ci(t)?ui(t):ai(t,{})},getterFor:function(t){return function(e){var r;if(!ki(e)||(r=ui(e)).type!==t)throw Gi("Incompatible receiver, "+t+" required");return r}}},Yi=qe,zi=H,Ki=Jt,Wi=Dr,Ji=jn,qi=d([].push),$i=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,s,l){for(var p,v,h=Ki(c),d=zi(h),y=Yi(f,s),g=Wi(d),m=0,b=l||Ji,w=e?b(c,g):r||a?b(c,0):void 0;g>m;m++)if((u||m in d)&&(v=y(p=d[m],m,h),t))if(e)w[m]=v;else if(v)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:qi(w,p)}else switch(t){case 4:return!1;case 7:qi(w,p)}return i?-1:n||o?o:w}},Xi={forEach:$i(0),map:$i(1),filter:$i(2),some:$i(3),every:$i(4),find:$i(5),findIndex:$i(6),filterReject:$i(7)},Qi=xr,Zi=n,ta=R,ea=d,ra=A,na=mt,oa=o,ia=Xt,aa=at,ua=er,ca=$,fa=Se,sa=zn,la=F,pa=Fo,va=po,ha=Go,da=Vo,ya=Zo,ga=x,ma=$e,ba=Kn,wa=k,Sa=ei,Oa=ni,Ea=zt,ja=ro,Ta=re,_a=le,xa=oi,Aa=vi,Pa=mi,La=xi,Ra=Hi,ka=Xi.forEach,Ia=jo("hidden"),Ca="Symbol",Na="prototype",Ma=Ra.set,Da=Ra.getterFor(Ca),Fa=Object[Na],Ga=Zi.Symbol,Ba=Ga&&Ga[Na],Ua=Zi.TypeError,Va=Zi.QObject,Ha=ga.f,Ya=ma.f,za=da.f,Ka=wa.f,Wa=ea([].push),Ja=Ea("symbols"),qa=Ea("op-symbols"),$a=Ea("wks"),Xa=!Va||!Va[Na]||!Va[Na].findChild,Qa=ra&&oa((function(){return 7!=pa(Ya({},"a",{get:function(){return Ya(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Ha(Fa,e);n&&delete Fa[e],Ya(t,e,r),n&&t!==Fa&&Ya(Fa,e,n)}:Ya,Za=function(t,e){var r=Ja[t]=pa(Ba);return Ma(r,{type:Ca,tag:t,description:e}),ra||(r.description=e),r},tu=function(t,e,r){t===Fa&&tu(qa,e,r),ua(t);var n=fa(e);return ua(r),ia(Ja,n)?(r.enumerable?(ia(t,Ia)&&t[Ia][n]&&(t[Ia][n]=!1),r=pa(r,{enumerable:la(0,!1)})):(ia(t,Ia)||Ya(t,Ia,la(1,{})),t[Ia][n]=!0),Qa(t,n,r)):Ya(t,n,r)},eu=function(t,e){ua(t);var r=ca(e),n=va(r).concat(iu(r));return ka(n,(function(e){ra&&!ta(ru,r,e)||tu(t,e,r[e])})),t},ru=function(t){var e=fa(t),r=ta(Ka,this,e);return!(this===Fa&&ia(Ja,e)&&!ia(qa,e))&&(!(r||!ia(this,e)||!ia(Ja,e)||ia(this,Ia)&&this[Ia][e])||r)},nu=function(t,e){var r=ca(t),n=fa(e);if(r!==Fa||!ia(Ja,n)||ia(qa,n)){var o=Ha(r,n);return!o||!ia(Ja,n)||ia(r,Ia)&&r[Ia][n]||(o.enumerable=!0),o}},ou=function(t){var e=za(ca(t)),r=[];return ka(e,(function(t){ia(Ja,t)||ia(ja,t)||Wa(r,t)})),r},iu=function(t){var e=t===Fa,r=za(e?qa:ca(t)),n=[];return ka(r,(function(t){!ia(Ja,t)||e&&!ia(Fa,t)||Wa(n,Ja[t])})),n};na||(Ga=function(){if(aa(Ba,this))throw Ua("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?sa(arguments[0]):void 0,e=Ta(t),r=function(t){this===Fa&&ta(r,qa,t),ia(this,Ia)&&ia(this[Ia],e)&&(this[Ia][e]=!1),Qa(this,e,la(1,t))};return ra&&Xa&&Qa(Fa,e,{configurable:!0,set:r}),Za(e,t)},Sa(Ba=Ga[Na],"toString",(function(){return Da(this).tag})),Sa(Ga,"withoutSetter",(function(t){return Za(Ta(t),t)})),wa.f=ru,ma.f=tu,ba.f=eu,ga.f=nu,ha.f=da.f=ou,ya.f=iu,xa.f=function(t){return Za(_a(t),t)},ra&&Oa(Ba,"description",{configurable:!0,get:function(){return Da(this).description}})),Qi({global:!0,constructor:!0,wrap:!0,forced:!na,sham:!na},{Symbol:Ga}),ka(va($a),(function(t){Aa(t)})),Qi({target:Ca,stat:!0,forced:!na},{useSetter:function(){Xa=!0},useSimple:function(){Xa=!1}}),Qi({target:"Object",stat:!0,forced:!na,sham:!ra},{create:function(t,e){return void 0===e?pa(t):eu(pa(t),e)},defineProperty:tu,defineProperties:eu,getOwnPropertyDescriptor:nu}),Qi({target:"Object",stat:!0,forced:!na},{getOwnPropertyNames:ou}),Pa(),La(Ga,Ca),ja[Ia]=!0;var au=mt&&!!Symbol.for&&!!Symbol.keyFor,uu=xr,cu=it,fu=Xt,su=zn,lu=zt,pu=au,vu=lu("string-to-symbol-registry"),hu=lu("symbol-to-string-registry");uu({target:"Symbol",stat:!0,forced:!pu},{for:function(t){var e=su(t);if(fu(vu,e))return vu[e];var r=cu("Symbol")(e);return vu[e]=r,hu[r]=e,r}});var du=xr,yu=Xt,gu=jt,mu=_t,bu=au,wu=zt("symbol-to-string-registry");du({target:"Symbol",stat:!0,forced:!bu},{keyFor:function(t){if(!gu(t))throw TypeError(mu(t)+" is not a symbol");if(yu(wu,t))return wu[t]}});var Su=d([].slice),Ou=Pr,Eu=_,ju=b,Tu=zn,_u=d([].push),xu=xr,Au=it,Pu=s,Lu=R,Ru=d,ku=o,Iu=_,Cu=jt,Nu=Su,Mu=function(t){if(Eu(t))return t;if(Ou(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?_u(r,o):"number"!=typeof o&&"Number"!=ju(o)&&"String"!=ju(o)||_u(r,Tu(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Ou(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Du=mt,Fu=String,Gu=Au("JSON","stringify"),Bu=Ru(/./.exec),Uu=Ru("".charAt),Vu=Ru("".charCodeAt),Hu=Ru("".replace),Yu=Ru(1..toString),zu=/[\uD800-\uDFFF]/g,Ku=/^[\uD800-\uDBFF]$/,Wu=/^[\uDC00-\uDFFF]$/,Ju=!Du||ku((function(){var t=Au("Symbol")();return"[null]"!=Gu([t])||"{}"!=Gu({a:t})||"{}"!=Gu(Object(t))})),qu=ku((function(){return'"\\udf06\\ud834"'!==Gu("\udf06\ud834")||'"\\udead"'!==Gu("\udead")})),$u=function(t,e){var r=Nu(arguments),n=Mu(e);if(Iu(n)||void 0!==t&&!Cu(t))return r[1]=function(t,e){if(Iu(n)&&(e=Lu(n,this,Fu(t),e)),!Cu(e))return e},Pu(Gu,null,r)},Xu=function(t,e,r){var n=Uu(r,e-1),o=Uu(r,e+1);return Bu(Ku,t)&&!Bu(Wu,o)||Bu(Wu,t)&&!Bu(Ku,n)?"\\u"+Yu(Vu(t,0),16):t};Gu&&xu({target:"JSON",stat:!0,arity:3,forced:Ju||qu},{stringify:function(t,e,r){var n=Nu(arguments),o=Pu(Ju?$u:Gu,null,n);return qu&&"string"==typeof o?Hu(o,zu,Xu):o}});var Qu=Zo,Zu=Jt;xr({target:"Object",stat:!0,forced:!mt||o((function(){Qu.f(1)}))},{getOwnPropertySymbols:function(t){var e=Qu.f;return e?e(Zu(t)):[]}}),vi("asyncIterator"),vi("hasInstance"),vi("isConcatSpreadable"),vi("iterator"),vi("match"),vi("matchAll"),vi("replace"),vi("search"),vi("species"),vi("split");var tc=mi;vi("toPrimitive"),tc();var ec=it,rc=xi;vi("toStringTag"),rc(ec("Symbol"),"Symbol"),vi("unscopables"),xi(n.JSON,"JSON",!0);var nc,oc,ic,ac=tt.Symbol,uc={},cc=A,fc=Xt,sc=Function.prototype,lc=cc&&Object.getOwnPropertyDescriptor,pc=fc(sc,"name"),vc={EXISTS:pc,PROPER:pc&&"something"===function(){}.name,CONFIGURABLE:pc&&(!cc||cc&&lc(sc,"name").configurable)},hc=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),dc=Xt,yc=_,gc=Jt,mc=hc,bc=jo("IE_PROTO"),wc=Object,Sc=wc.prototype,Oc=mc?wc.getPrototypeOf:function(t){var e=gc(t);if(dc(e,bc))return e[bc];var r=e.constructor;return yc(r)&&e instanceof r?r.prototype:e instanceof wc?Sc:null},Ec=o,jc=_,Tc=Z,_c=Fo,xc=Oc,Ac=ei,Pc=le("iterator"),Lc=!1;[].keys&&("next"in(ic=[].keys())?(oc=xc(xc(ic)))!==Object.prototype&&(nc=oc):Lc=!0);var Rc=!Tc(nc)||Ec((function(){var t={};return nc[Pc].call(t)!==t}));jc((nc=Rc?{}:_c(nc))[Pc])||Ac(nc,Pc,(function(){return this}));var kc={IteratorPrototype:nc,BUGGY_SAFARI_ITERATORS:Lc},Ic=kc.IteratorPrototype,Cc=Fo,Nc=F,Mc=xi,Dc=uc,Fc=function(){return this},Gc=d,Bc=Lt,Uc=_,Vc=String,Hc=TypeError,Yc=function(t,e,r){try{return Gc(Bc(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(n){}},zc=er,Kc=function(t){if("object"==typeof t||Uc(t))return t;throw Hc("Can't set "+Vc(t)+" as a prototype")},Wc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Yc(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(n){}return function(r,n){return zc(r),Kc(n),e?t(r,n):r.__proto__=n,r}}():void 0),Jc=xr,qc=R,$c=vc,Xc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Cc(Ic,{next:Nc(+!n,r)}),Mc(t,o,!1,!0),Dc[o]=Fc,t},Qc=Oc,Zc=xi,tf=ei,ef=uc,rf=kc,nf=$c.PROPER,of=rf.BUGGY_SAFARI_ITERATORS,af=le("iterator"),uf="keys",cf="values",ff="entries",sf=function(){return this},lf=function(t,e,r,n,o,i,a){Xc(r,e,n);var u,c,f,s=function(t){if(t===o&&d)return d;if(!of&&t in v)return v[t];switch(t){case uf:case cf:case ff:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,v=t.prototype,h=v[af]||v["@@iterator"]||o&&v[o],d=!of&&h||s(o),y="Array"==e&&v.entries||h;if(y&&(u=Qc(y.call(new t)))!==Object.prototype&&u.next&&(Zc(u,l,!0,!0),ef[l]=sf),nf&&o==cf&&h&&h.name!==cf&&(p=!0,d=function(){return qc(h,this)}),o)if(c={values:s(cf),keys:i?d:s(uf),entries:s(ff)},a)for(f in c)(of||p||!(f in v))&&tf(v,f,c[f]);else Jc({target:e,proto:!0,forced:of||p},c);return a&&v[af]!==d&&tf(v,af,d,{name:o}),ef[e]=d,c},pf=function(t,e){return{value:t,done:e}},vf=$,hf=uc,df=Hi;$e.f;var yf=lf,gf=pf,mf="Array Iterator",bf=df.set,wf=df.getterFor(mf);yf(Array,"Array",(function(t,e){bf(this,{type:mf,target:vf(t),index:0,kind:e})}),(function(){var t=wf(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,gf(void 0,!0)):gf("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),hf.Arguments=hf.Array;var Sf={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Of=n,Ef=Qr,jf=dr,Tf=uc,_f=le("toStringTag");for(var xf in Sf){var Af=Of[xf],Pf=Af&&Af.prototype;Pf&&Ef(Pf)!==_f&&jf(Pf,_f,xf),Tf[xf]=Tf.Array}var Lf=ac,Rf=le,kf=$e.f,If=Rf("metadata"),Cf=Function.prototype;void 0===Cf[If]&&kf(Cf,If,{value:null}),vi("dispose"),vi("metadata");var Nf=Lf;vi("asyncDispose");var Mf=d,Df=it("Symbol"),Ff=Df.keyFor,Gf=Mf(Df.prototype.valueOf),Bf=Df.isRegisteredSymbol||function(t){try{return void 0!==Ff(Gf(t))}catch(e){return!1}};xr({target:"Symbol",stat:!0},{isRegisteredSymbol:Bf});for(var Uf=zt,Vf=it,Hf=d,Yf=jt,zf=le,Kf=Vf("Symbol"),Wf=Kf.isWellKnownSymbol,Jf=Vf("Object","getOwnPropertyNames"),qf=Hf(Kf.prototype.valueOf),$f=Uf("wks"),Xf=0,Qf=Jf(Kf),Zf=Qf.length;Xf<Zf;Xf++)try{var ts=Qf[Xf];Yf(Kf[ts])&&zf(ts)}catch(TC){}var es=function(t){if(Wf&&Wf(t))return!0;try{for(var e=qf(t),r=0,n=Jf($f),o=n.length;r<o;r++)if($f[n[r]]==e)return!0}catch(TC){}return!1};xr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:es}),vi("matcher"),vi("observable"),xr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Bf}),xr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:es}),vi("metadataKey"),vi("patternMatch"),vi("replaceAll");var rs=Nf,ns=e(rs),os=d,is=Ir,as=zn,us=W,cs=os("".charAt),fs=os("".charCodeAt),ss=os("".slice),ls=function(t){return function(e,r){var n,o,i=as(us(e)),a=is(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=fs(i,a))<55296||n>56319||a+1===u||(o=fs(i,a+1))<56320||o>57343?t?cs(i,a):n:t?ss(i,a,a+2):o-56320+(n-55296<<10)+65536}},ps={codeAt:ls(!1),charAt:ls(!0)}.charAt,vs=zn,hs=Hi,ds=lf,ys=pf,gs="String Iterator",ms=hs.set,bs=hs.getterFor(gs);ds(String,"String",(function(t){ms(this,{type:gs,string:vs(t),index:0})}),(function(){var t,e=bs(this),r=e.string,n=e.index;return n>=r.length?ys(void 0,!0):(t=ps(r,n),e.index+=t.length,ys(t,!1))}));var ws=e(oi.f("iterator"));function Ss(t){return(Ss="function"==typeof ns&&"symbol"==typeof ws?function(t){return typeof t}:function(t){return t&&"function"==typeof ns&&t.constructor===ns&&t!==ns.prototype?"symbol":typeof t})(t)}var Os={exports:{}},Es=xr,js=A,Ts=$e.f;Es({target:"Object",stat:!0,forced:Object.defineProperty!==Ts,sham:!js},{defineProperty:Ts});var _s=tt.Object,xs=Os.exports=function(t,e,r){return _s.defineProperty(t,e,r)};_s.defineProperty.sham&&(xs.sham=!0);var As=Os.exports,Ps=e(As);xr({target:"Object",stat:!0,sham:!A},{create:Fo});var Ls=tt.Object,Rs=function(t,e){return Ls.create(t,e)},ks=e(Rs),Is=Jt,Cs=Oc,Ns=hc;xr({target:"Object",stat:!0,forced:o((function(){Cs(1)})),sham:!Ns},{getPrototypeOf:function(t){return Cs(Is(t))}});var Ms=tt.Object.getPrototypeOf,Ds=e(Ms),Fs=o,Gs=Xi.forEach,Bs=function(t,e){var r=[][t];return!!r&&Fs((function(){r.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return Gs(this,t,arguments.length>1?arguments[1]:void 0)};xr({target:"Array",proto:!0,forced:[].forEach!=Bs},{forEach:Bs});var Us=tt,Vs=function(t){return Us[t+"Prototype"]},Hs=Vs("Array").forEach,Ys=Qr,zs=Xt,Ks=at,Ws=Hs,Js=Array.prototype,qs={DOMTokenList:!0,NodeList:!0},$s=function(t){var e=t.forEach;return t===Js||Ks(Js,t)&&e===Js.forEach||zs(qs,Ys(t))?Ws:e},Xs=e($s),Qs=A,Zs=Pr,tl=TypeError,el=Object.getOwnPropertyDescriptor,rl=Qs&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(TC){return TC instanceof TypeError}}()?function(t,e){if(Zs(t)&&!el(t,"length").writable)throw tl("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},nl=Jt,ol=Dr,il=rl,al=Gr;xr({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(TC){return TC instanceof TypeError}}()},{push:function(t){var e=nl(this),r=ol(e),n=arguments.length;al(r+n);for(var o=0;o<n;o++)e[r]=arguments[o],r++;return il(e,r),r}});var ul=Vs("Array").push,cl=at,fl=ul,sl=Array.prototype,ll=e((function(t){var e=t.push;return t===sl||cl(sl,t)&&e===sl.push?fl:e}));xr({target:"Object",stat:!0},{setPrototypeOf:Wc});var pl=tt.Object.setPrototypeOf,vl=e(pl),hl=it,dl=Go,yl=Zo,gl=er,ml=d([].concat),bl=hl("Reflect","ownKeys")||function(t){var e=dl.f(gl(t)),r=yl.f;return r?ml(e,r(t)):e},wl=Xt,Sl=bl,Ol=x,El=$e,jl=Z,Tl=dr,_l=Error,xl=d("".replace),Al=String(_l("zxcasd").stack),Pl=/\n\s*at [^:]*:[^\n]*/,Ll=Pl.test(Al),Rl=F,kl=!o((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Rl(1,7)),7!==t.stack)})),Il=dr,Cl=function(t,e){if(Ll&&"string"==typeof t&&!_l.prepareStackTrace)for(;e--;)t=xl(t,Pl,"");return t},Nl=kl,Ml=Error.captureStackTrace,Dl=uc,Fl=le("iterator"),Gl=Array.prototype,Bl=Qr,Ul=It,Vl=Y,Hl=uc,Yl=le("iterator"),zl=function(t){if(!Vl(t))return Ul(t,Yl)||Ul(t,"@@iterator")||Hl[Bl(t)]},Kl=R,Wl=Lt,Jl=er,ql=_t,$l=zl,Xl=TypeError,Ql=R,Zl=er,tp=It,ep=qe,rp=R,np=er,op=_t,ip=function(t){return void 0!==t&&(Dl.Array===t||Gl[Fl]===t)},ap=Dr,up=at,cp=function(t,e){var r=arguments.length<2?$l(t):e;if(Wl(r))return Jl(Kl(r,t));throw Xl(ql(t)+" is not iterable")},fp=zl,sp=function(t,e,r){var n,o;Zl(t);try{if(!(n=tp(t,"return"))){if("throw"===e)throw r;return r}n=Ql(n,t)}catch(TC){o=!0,n=TC}if("throw"===e)throw r;if(o)throw n;return Zl(n),r},lp=TypeError,pp=function(t,e){this.stopped=t,this.result=e},vp=pp.prototype,hp=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),v=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),d=ep(e,s),y=function(t){return n&&sp(n,"normal",t),new pp(!0,t)},g=function(t){return l?(np(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=fp(t)))throw lp(op(t)+" is not iterable");if(ip(o)){for(i=0,a=ap(t);a>i;i++)if((u=g(t[i]))&&up(vp,u))return u;return new pp(!1)}n=cp(t,o)}for(c=p?t.next:n.next;!(f=rp(c,n)).done;){try{u=g(f.value)}catch(TC){sp(n,"throw",TC)}if("object"==typeof u&&u&&up(vp,u))return u}return new pp(!1)},dp=zn,yp=xr,gp=at,mp=Oc,bp=Wc,wp=function(t,e,r){for(var n=Sl(e),o=El.f,i=Ol.f,a=0;a<n.length;a++){var u=n[a];wl(t,u)||r&&wl(r,u)||o(t,u,i(e,u))}},Sp=Fo,Op=dr,Ep=F,jp=function(t,e){jl(e)&&"cause"in e&&Tl(t,"cause",e.cause)},Tp=function(t,e,r,n){Nl&&(Ml?Ml(t,e):Il(t,"stack",Cl(r,n)))},_p=hp,xp=function(t,e){return void 0===t?arguments.length<2?"":e:dp(t)},Ap=le("toStringTag"),Pp=Error,Lp=[].push,Rp=function(t,e){var r,n=gp(kp,this);bp?r=bp(Pp(),n?mp(this):kp):(r=n?this:Sp(kp),Op(r,Ap,"Error")),void 0!==e&&Op(r,"message",xp(e)),Tp(r,Rp,r.stack,1),arguments.length>2&&jp(r,arguments[2]);var o=[];return _p(t,Lp,{that:o}),Op(r,"errors",o),r};bp?bp(Rp,Pp):wp(Rp,Pp,{name:!0});var kp=Rp.prototype=Sp(Pp.prototype,{constructor:Ep(1,Rp),message:Ep(1,""),name:Ep(1,"AggregateError")});yp({global:!0,constructor:!0,arity:2},{AggregateError:Rp});var Ip,Cp,Np,Mp,Dp="undefined"!=typeof process&&"process"==b(process),Fp=it,Gp=ni,Bp=A,Up=le("species"),Vp=at,Hp=TypeError,Yp=gn,zp=_t,Kp=TypeError,Wp=function(t){if(Yp(t))return t;throw Kp(zp(t)+" is not a constructor")},Jp=er,qp=Wp,$p=Y,Xp=le("species"),Qp=function(t,e){var r,n=Jp(t).constructor;return void 0===n||$p(r=Jp(n)[Xp])?e:qp(r)},Zp=TypeError,tv=/(?:ipad|iphone|ipod).*applewebkit/i.test(ut),ev=n,rv=s,nv=qe,ov=_,iv=Xt,av=o,uv=So,cv=Su,fv=Te,sv=function(t,e){if(t<e)throw Zp("Not enough arguments");return t},lv=tv,pv=Dp,vv=ev.setImmediate,hv=ev.clearImmediate,dv=ev.process,yv=ev.Dispatch,gv=ev.Function,mv=ev.MessageChannel,bv=ev.String,wv=0,Sv={},Ov="onreadystatechange";av((function(){Ip=ev.location}));var Ev=function(t){if(iv(Sv,t)){var e=Sv[t];delete Sv[t],e()}},jv=function(t){return function(){Ev(t)}},Tv=function(t){Ev(t.data)},_v=function(t){ev.postMessage(bv(t),Ip.protocol+"//"+Ip.host)};vv&&hv||(vv=function(t){sv(arguments.length,1);var e=ov(t)?t:gv(t),r=cv(arguments,1);return Sv[++wv]=function(){rv(e,void 0,r)},Cp(wv),wv},hv=function(t){delete Sv[t]},pv?Cp=function(t){dv.nextTick(jv(t))}:yv&&yv.now?Cp=function(t){yv.now(jv(t))}:mv&&!lv?(Mp=(Np=new mv).port2,Np.port1.onmessage=Tv,Cp=nv(Mp.postMessage,Mp)):ev.addEventListener&&ov(ev.postMessage)&&!ev.importScripts&&Ip&&"file:"!==Ip.protocol&&!av(_v)?(Cp=_v,ev.addEventListener("message",Tv,!1)):Cp=Ov in fv("script")?function(t){uv.appendChild(fv("script"))[Ov]=function(){uv.removeChild(this),Ev(t)}}:function(t){setTimeout(jv(t),0)});var xv={set:vv,clear:hv},Av=function(){this.head=null,this.tail=null};Av.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Pv,Lv,Rv,kv,Iv,Cv=Av,Nv=/ipad|iphone|ipod/i.test(ut)&&"undefined"!=typeof Pebble,Mv=/web0s(?!.*chrome)/i.test(ut),Dv=n,Fv=qe,Gv=x.f,Bv=xv.set,Uv=Cv,Vv=tv,Hv=Nv,Yv=Mv,zv=Dp,Kv=Dv.MutationObserver||Dv.WebKitMutationObserver,Wv=Dv.document,Jv=Dv.process,qv=Dv.Promise,$v=Gv(Dv,"queueMicrotask"),Xv=$v&&$v.value;if(!Xv){var Qv=new Uv,Zv=function(){var t,e;for(zv&&(t=Jv.domain)&&t.exit();e=Qv.get();)try{e()}catch(TC){throw Qv.head&&Pv(),TC}t&&t.enter()};Vv||zv||Yv||!Kv||!Wv?!Hv&&qv&&qv.resolve?((kv=qv.resolve(void 0)).constructor=qv,Iv=Fv(kv.then,kv),Pv=function(){Iv(Zv)}):zv?Pv=function(){Jv.nextTick(Zv)}:(Bv=Fv(Bv,Dv),Pv=function(){Bv(Zv)}):(Lv=!0,Rv=Wv.createTextNode(""),new Kv(Zv).observe(Rv,{characterData:!0}),Pv=function(){Rv.data=Lv=!Lv}),Xv=function(t){Qv.head||Pv(),Qv.add(t)}}var th=Xv,eh=function(t){try{return{error:!1,value:t()}}catch(TC){return{error:!0,value:TC}}},rh=n.Promise,nh="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,oh=!nh&&!Dp&&"object"==typeof window&&"object"==typeof document,ih=n,ah=rh,uh=_,ch=ze,fh=rn,sh=le,lh=oh,ph=nh,vh=ht,hh=ah&&ah.prototype,dh=sh("species"),yh=!1,gh=uh(ih.PromiseRejectionEvent),mh={CONSTRUCTOR:ch("Promise",(function(){var t=fh(ah),e=t!==String(ah);if(!e&&66===vh)return!0;if(!hh.catch||!hh.finally)return!0;if(!vh||vh<51||!/native code/.test(t)){var r=new ah((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[dh]=n,!(yh=r.then((function(){}))instanceof n))return!0}return!e&&(lh||ph)&&!gh})),REJECTION_EVENT:gh,SUBCLASSING:yh},bh={},wh=Lt,Sh=TypeError,Oh=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw Sh("Bad Promise constructor");e=t,r=n})),this.resolve=wh(e),this.reject=wh(r)};bh.f=function(t){return new Oh(t)};var Eh,jh,Th=xr,_h=Dp,xh=n,Ah=R,Ph=ei,Lh=xi,Rh=function(t){var e=Fp(t);Bp&&e&&!e[Up]&&Gp(e,Up,{configurable:!0,get:function(){return this}})},kh=Lt,Ih=_,Ch=Z,Nh=function(t,e){if(Vp(e,t))return t;throw Hp("Incorrect invocation")},Mh=Qp,Dh=xv.set,Fh=th,Gh=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(TC){}},Bh=eh,Uh=Cv,Vh=Hi,Hh=rh,Yh=mh,zh=bh,Kh="Promise",Wh=Yh.CONSTRUCTOR,Jh=Yh.REJECTION_EVENT,qh=Vh.getterFor(Kh),$h=Vh.set,Xh=Hh&&Hh.prototype,Qh=Hh,Zh=Xh,td=xh.TypeError,ed=xh.document,rd=xh.process,nd=zh.f,od=nd,id=!!(ed&&ed.createEvent&&xh.dispatchEvent),ad="unhandledrejection",ud=function(t){var e;return!(!Ch(t)||!Ih(e=t.then))&&e},cd=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&vd(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(td("Promise-chain cycle")):(n=ud(r))?Ah(n,r,c,f):c(r)):f(i)}catch(TC){s&&!o&&s.exit(),f(TC)}},fd=function(t,e){t.notified||(t.notified=!0,Fh((function(){for(var r,n=t.reactions;r=n.get();)cd(r,t);t.notified=!1,e&&!t.rejection&&ld(t)})))},sd=function(t,e,r){var n,o;id?((n=ed.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),xh.dispatchEvent(n)):n={promise:e,reason:r},!Jh&&(o=xh["on"+t])?o(n):t===ad&&Gh("Unhandled promise rejection",r)},ld=function(t){Ah(Dh,xh,(function(){var e,r=t.facade,n=t.value;if(pd(t)&&(e=Bh((function(){_h?rd.emit("unhandledRejection",n,r):sd(ad,r,n)})),t.rejection=_h||pd(t)?2:1,e.error))throw e.value}))},pd=function(t){return 1!==t.rejection&&!t.parent},vd=function(t){Ah(Dh,xh,(function(){var e=t.facade;_h?rd.emit("rejectionHandled",e):sd("rejectionhandled",e,t.value)}))},hd=function(t,e,r){return function(n){t(e,n,r)}},dd=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,fd(t,!0))},yd=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw td("Promise can't be resolved itself");var n=ud(e);n?Fh((function(){var r={done:!1};try{Ah(n,e,hd(yd,r,t),hd(dd,r,t))}catch(TC){dd(r,TC,t)}})):(t.value=e,t.state=1,fd(t,!1))}catch(TC){dd({done:!1},TC,t)}}};Wh&&(Zh=(Qh=function(t){Nh(this,Zh),kh(t),Ah(Eh,this);var e=qh(this);try{t(hd(yd,e),hd(dd,e))}catch(TC){dd(e,TC)}}).prototype,(Eh=function(t){$h(this,{type:Kh,done:!1,notified:!1,parent:!1,reactions:new Uh,rejection:!1,state:0,value:void 0})}).prototype=Ph(Zh,"then",(function(t,e){var r=qh(this),n=nd(Mh(this,Qh));return r.parent=!0,n.ok=!Ih(t)||t,n.fail=Ih(e)&&e,n.domain=_h?rd.domain:void 0,0==r.state?r.reactions.add(n):Fh((function(){cd(n,r)})),n.promise})),jh=function(){var t=new Eh,e=qh(t);this.promise=t,this.resolve=hd(yd,e),this.reject=hd(dd,e)},zh.f=nd=function(t){return t===Qh||undefined===t?new jh(t):od(t)}),Th({global:!0,constructor:!0,wrap:!0,forced:Wh},{Promise:Qh}),Lh(Qh,Kh,!1,!0),Rh(Kh);var gd=le("iterator"),md=!1;try{var bd=0,wd={next:function(){return{done:!!bd++}},return:function(){md=!0}};wd[gd]=function(){return this},Array.from(wd,(function(){throw 2}))}catch(TC){}var Sd=rh,Od=mh.CONSTRUCTOR||!function(t,e){if(!e&&!md)return!1;var r=!1;try{var n={};n[gd]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(TC){}return r}((function(t){Sd.all(t).then(void 0,(function(){}))})),Ed=R,jd=Lt,Td=bh,_d=eh,xd=hp;xr({target:"Promise",stat:!0,forced:Od},{all:function(t){var e=this,r=Td.f(e),n=r.resolve,o=r.reject,i=_d((function(){var r=jd(e.resolve),i=[],a=0,u=1;xd(t,(function(t){var c=a++,f=!1;u++,Ed(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var Ad=xr,Pd=mh.CONSTRUCTOR;rh&&rh.prototype,Ad({target:"Promise",proto:!0,forced:Pd,real:!0},{catch:function(t){return this.then(void 0,t)}});var Ld=R,Rd=Lt,kd=bh,Id=eh,Cd=hp;xr({target:"Promise",stat:!0,forced:Od},{race:function(t){var e=this,r=kd.f(e),n=r.reject,o=Id((function(){var o=Rd(e.resolve);Cd(t,(function(t){Ld(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var Nd=R,Md=bh;xr({target:"Promise",stat:!0,forced:mh.CONSTRUCTOR},{reject:function(t){var e=Md.f(this);return Nd(e.reject,void 0,t),e.promise}});var Dd=er,Fd=Z,Gd=bh,Bd=function(t,e){if(Dd(t),Fd(e)&&e.constructor===t)return e;var r=Gd.f(t);return(0,r.resolve)(e),r.promise},Ud=xr,Vd=rh,Hd=mh.CONSTRUCTOR,Yd=Bd,zd=it("Promise"),Kd=!Hd;Ud({target:"Promise",stat:!0,forced:true},{resolve:function(t){return Yd(Kd&&this===zd?Vd:this,t)}});var Wd=R,Jd=Lt,qd=bh,$d=eh,Xd=hp;xr({target:"Promise",stat:!0,forced:Od},{allSettled:function(t){var e=this,r=qd.f(e),n=r.resolve,o=r.reject,i=$d((function(){var r=Jd(e.resolve),o=[],i=0,a=1;Xd(t,(function(t){var u=i++,c=!1;a++,Wd(r,e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var Qd=R,Zd=Lt,ty=it,ey=bh,ry=eh,ny=hp,oy="No one promise resolved";xr({target:"Promise",stat:!0,forced:Od},{any:function(t){var e=this,r=ty("AggregateError"),n=ey.f(e),o=n.resolve,i=n.reject,a=ry((function(){var n=Zd(e.resolve),a=[],u=0,c=1,f=!1;ny(t,(function(t){var s=u++,l=!1;c++,Qd(n,e,t).then((function(t){l||f||(f=!0,o(t))}),(function(t){l||f||(l=!0,a[s]=t,--c||i(new r(a,oy)))}))})),--c||i(new r(a,oy))}));return a.error&&i(a.value),n.promise}});var iy=xr,ay=rh,uy=o,cy=it,fy=_,sy=Qp,ly=Bd,py=ay&&ay.prototype;iy({target:"Promise",proto:!0,real:!0,forced:!!ay&&uy((function(){py.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=sy(this,cy("Promise")),r=fy(t);return this.then(r?function(r){return ly(e,t()).then((function(){return r}))}:t,r?function(r){return ly(e,t()).then((function(){throw r}))}:t)}});var vy=tt.Promise,hy=bh;xr({target:"Promise",stat:!0,forced:!0},{withResolvers:function(){var t=hy.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var dy=bh,yy=eh;xr({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=dy.f(this),r=yy(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var gy=vy,my=e(gy),by=xr,wy=Pr,Sy=d([].reverse),Oy=[1,2];by({target:"Array",proto:!0,forced:String(Oy)===String(Oy.reverse())},{reverse:function(){return wy(this)&&(this.length=this.length),Sy(this)}});var Ey=Vs("Array").reverse,jy=at,Ty=Ey,_y=Array.prototype,xy=function(t){var e=t.reverse;return t===_y||jy(_y,t)&&e===_y.reverse?Ty:e},Ay=e(xy),Py=xr,Ly=Pr,Ry=gn,ky=Z,Iy=$n,Cy=Dr,Ny=$,My=Hr,Dy=le,Fy=Su,Gy=An("slice"),By=Dy("species"),Uy=Array,Vy=Math.max;Py({target:"Array",proto:!0,forced:!Gy},{slice:function(t,e){var r,n,o,i=Ny(this),a=Cy(i),u=Iy(t,a),c=Iy(void 0===e?a:e,a);if(Ly(i)&&(r=i.constructor,(Ry(r)&&(r===Uy||Ly(r.prototype))||ky(r)&&null===(r=r[By]))&&(r=void 0),r===Uy||void 0===r))return Fy(i,u,c);for(n=new(void 0===r?Uy:r)(Vy(c-u,0)),o=0;u<c;u++,o++)u in i&&My(n,o,i[u]);return n.length=o,n}});var Hy=Vs("Array").slice,Yy=at,zy=Hy,Ky=Array.prototype,Wy=function(t){var e=t.slice;return t===Ky||Yy(Ky,t)&&e===Ky.slice?zy:e},Jy=e(Wy);function qy(){qy=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Ps||function(t,e,r){t[e]=r.value},o="function"==typeof ns?ns:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Ps(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(x){c=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=ks(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(x){return{type:"throw",arg:x}}}t.wrap=f;var l={};function p(){}function v(){}function h(){}var d={};c(d,i,(function(){return this}));var y=Ds&&Ds(Ds(T([])));y&&y!==e&&r.call(y,i)&&(d=y);var g=h.prototype=p.prototype=ks(d);function m(t){var e;Xs(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,i,a,u){var c=s(t[n],t,i);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==Ss(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function w(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),l;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function O(t){var e,r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),ll(e=this.tryEntries).call(e,r)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],Xs(t).call(t,O,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return v.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:v,configurable:!0}),v.displayName=c(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return vl?vl(t,h):(t.__proto__=h,c(t,u,"GeneratorFunction")),t.prototype=ks(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=my);var a=new b(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)ll(r).call(r,n);return Ay(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,j.prototype={constructor:j,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Xs(e=this.tryEntries).call(e,E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+Jy(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function $y(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(TC){return void r(TC)}u.done?e(c):my.resolve(c).then(n,o)}function Xy(t){return function(){var e=this,r=arguments;return new my((function(n,o){var i=t.apply(e,r);function a(t){$y(i,n,o,a,u,"next",t)}function u(t){$y(i,n,o,a,u,"throw",t)}a(void 0)}))}}function Qy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Zy=oi.f("toPrimitive"),tg=e(Zy);function eg(t){var e=function(t,e){if("object"!==Ss(t)||null===t)return t;var r=t[tg];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ss(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ss(e)?e:String(e)}function rg(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Ps(t,eg(n.key),n)}}function ng(t,e,r){return e&&rg(t.prototype,e),r&&rg(t,r),Ps(t,"prototype",{writable:!1}),t}var og=d,ig=Lt,ag=Z,ug=Xt,cg=Su,fg=i,sg=Function,lg=og([].concat),pg=og([].join),vg={},hg=fg?sg.bind:function(t){var e=ig(this),r=e.prototype,n=cg(arguments,1),o=function(){var r=lg(n,cg(arguments));return this instanceof o?function(t,e,r){if(!ug(vg,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";vg[e]=sg("C,a","return new C("+pg(n,",")+")")}return vg[e](t,r)}(e,r.length,r):e.apply(t,r)};return ag(r)&&(o.prototype=r),o},dg=hg;xr({target:"Function",proto:!0,forced:Function.bind!==dg},{bind:dg});var yg=Vs("Function").bind,gg=at,mg=yg,bg=Function.prototype,wg=e((function(t){var e=t.bind;return t===bg||gg(bg,t)&&e===bg.bind?mg:e}));function Sg(t,e){var r;return(Sg=vl?wg(r=vl).call(r):function(t,e){return t.__proto__=e,t})(t,e)}function Og(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=ks(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Ps(t,"prototype",{writable:!1}),e&&Sg(t,e)}var Eg=xr,jg=s,Tg=hg,_g=Wp,xg=er,Ag=Z,Pg=Fo,Lg=o,Rg=it("Reflect","construct"),kg=Object.prototype,Ig=[].push,Cg=Lg((function(){function t(){}return!(Rg((function(){}),[],t)instanceof t)})),Ng=!Lg((function(){Rg((function(){}))})),Mg=Cg||Ng;Eg({target:"Reflect",stat:!0,forced:Mg,sham:Mg},{construct:function(t,e){_g(t),xg(e);var r=arguments.length<3?t:_g(arguments[2]);if(Ng&&!Cg)return Rg(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return jg(Ig,n,e),new(jg(Tg,t,n))}var o=r.prototype,i=Pg(Ag(o)?o:kg),a=jg(t,i,e);return Ag(a)?a:i}});var Dg=e(tt.Reflect.construct);function Fg(t){var e;return(Fg=vl?wg(e=Ds).call(e):function(t){return t.__proto__||Ds(t)})(t)}function Gg(){if("undefined"==typeof Reflect||!Dg)return!1;if(Dg.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Dg(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Bg(t,e){if(e&&("object"===Ss(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Ug(t){var e=Gg();return function(){var r,n=Fg(t);if(e){var o=Fg(this).constructor;r=Dg(n,arguments,o)}else r=n.apply(this,arguments);return Bg(this,r)}}var Vg=tt,Hg=s;Vg.JSON||(Vg.JSON={stringify:JSON.stringify});var Yg=function(t,e,r){return Hg(Vg.JSON.stringify,null,arguments)},zg=e(Yg),Kg=Jt,Wg=po;xr({target:"Object",stat:!0,forced:o((function(){Wg(1)}))},{keys:function(t){return Wg(Kg(t))}});var Jg=tt.Object.keys,qg=e(Jg),$g=tt.Object.getOwnPropertySymbols,Xg=e($g),Qg=Xi.filter;xr({target:"Array",proto:!0,forced:!An("filter")},{filter:function(t){return Qg(this,t,arguments.length>1?arguments[1]:void 0)}});var Zg=Vs("Array").filter,tm=at,em=Zg,rm=Array.prototype,nm=function(t){var e=t.filter;return t===rm||tm(rm,t)&&e===rm.filter?em:e},om=e(nm),im={exports:{}},am=xr,um=o,cm=$,fm=x.f,sm=A;am({target:"Object",stat:!0,forced:!sm||um((function(){fm(1)})),sham:!sm},{getOwnPropertyDescriptor:function(t,e){return fm(cm(t),e)}});var lm=tt.Object,pm=im.exports=function(t,e){return lm.getOwnPropertyDescriptor(t,e)};lm.getOwnPropertyDescriptor.sham&&(pm.sham=!0);var vm=im.exports,hm=e(vm),dm=bl,ym=$,gm=x,mm=Hr;xr({target:"Object",stat:!0,sham:!A},{getOwnPropertyDescriptors:function(t){for(var e,r,n=ym(t),o=gm.f,i=dm(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&mm(a,e,r);return a}});var bm=tt.Object.getOwnPropertyDescriptors,wm=e(bm),Sm={exports:{}},Om=xr,Em=A,jm=Kn.f;Om({target:"Object",stat:!0,forced:Object.defineProperties!==jm,sham:!Em},{defineProperties:jm});var Tm=tt.Object,_m=Sm.exports=function(t,e){return Tm.defineProperties(t,e)};Tm.defineProperties.sham&&(_m.sham=!0);var xm=Sm.exports,Am=e(xm);function Pm(t,e,r){return(e=eg(e))in t?Ps(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Lm(t,e){var r=qg(t);if(Xg){var n=Xg(t);e&&(n=om(n).call(n,(function(e){return hm(t,e).enumerable}))),ll(r).apply(r,n)}return r}function Rm(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?Xs(r=Lm(Object(o),!0)).call(r,(function(e){Pm(t,e,o[e])})):wm?Am(t,wm(o)):Xs(n=Lm(Object(o))).call(n,(function(e){Ps(t,e,hm(o,e))}))}return t}var km=e(As),Im=e(gy),Cm="\t\n\v\f\r \u2028\u2029\ufeff",Nm=W,Mm=zn,Dm=Cm,Fm=d("".replace),Gm=RegExp("^["+Dm+"]+"),Bm=RegExp("(^|[^"+Dm+"])["+Dm+"]+$"),Um=function(t){return function(e){var r=Mm(Nm(e));return 1&t&&(r=Fm(r,Gm,"")),2&t&&(r=Fm(r,Bm,"$1")),r}},Vm={start:Um(1),end:Um(2),trim:Um(3)},Hm=vc.PROPER,Ym=o,zm=Cm,Km=Vm.trim;xr({target:"String",proto:!0,forced:function(t){return Ym((function(){return!!zm[t]()||"
"!=="
"[t]()||Hm&&zm[t].name!==t}))}("trim")},{trim:function(){return Km(this)}});var Wm=Vs("String").trim,Jm=at,qm=Wm,$m=String.prototype,Xm=e((function(t){var e=t.trim;return"string"==typeof t||t===$m||Jm($m,t)&&e===$m.trim?qm:e})),Qm=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,Zm=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,tb="OpenGL Engine",eb="Unknow",rb=4318,nb=32902,ob=4098,ib=function(t){return t.CpuDeriver="CpuDeriver",t.Intel="Intel",t.Nvidia="NVIDIA",t.Amd="AMD",t.Apple="Apple",t[t.Unknow=eb]="Unknow",t}(ib||{});function ab(t){return"NVIDIA"===t?rb:"AMD"===t?ob:"Intel"===t?nb:0}function ub(t){var e,r,n,o,i=function(t){var e=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple)/.exec(t);return e?"Radeon"===e[0]?"AMD":"SwiftShader"===e[0]?"CpuDeriver":e[0]:ib.Unknow}(t);return i===ib.Unknow||"CpuDeriver"===i?{vendor:i,vendorId:0,model:eb,backupModel:eb,api:eb}:/^ANGLE/.test(t)?function(t,e){var r,n,o,i,a,u=eb,c=eb,f=eb;return"Intel"!==t&&"NVIDIA"!==t||(r=Qm.exec(e)),"AMD"!==t&&"Apple"!==t||(r=Zm.exec(e)),(null==r?void 0:r[1])&&(null==r?void 0:r[2])&&(u=Xm(n=r[1].replace(/(AMD|NVIDIA)/,"")).call(n),f=Xm(o=r[2]).call(o)),c="Intel"===t?u=Xm(i=u.split(tb)[0]).call(i):Xm(a=u.split(tb)[0]).call(a),{vendor:t,vendorId:ab(t),model:u,backupModel:c,api:f}}(i,t):"Intel"===i?{vendor:i,vendorId:ab(i),model:Xm(n=t.split(tb)[0]).call(n),backupModel:Xm(o=t.split(tb)[0]).call(o),api:eb}:{vendor:i,vendorId:ab(i),model:Xm(e=t.replace(/(AMD|NVIDIA)/,"")).call(e),backupModel:Xm(r=t.split(tb)[0].replace(/(AMD|NVIDIA)/,"")).call(r),api:eb}}var cb=Xi.map;xr({target:"Array",proto:!0,forced:!An("map")},{map:function(t){return cb(this,t,arguments.length>1?arguments[1]:void 0)}});var fb=Vs("Array").map,sb=at,lb=fb,pb=Array.prototype,vb=e((function(t){var e=t.map;return t===pb||sb(pb,t)&&e===pb.map?lb:e})),hb=e(nm),db=n,yb=o,gb=d,mb=zn,bb=Vm.trim,wb=Cm,Sb=db.parseInt,Ob=db.Symbol,Eb=Ob&&Ob.iterator,jb=/^[+-]?0x/i,Tb=gb(jb.exec),_b=8!==Sb(wb+"08")||22!==Sb(wb+"0x16")||Eb&&!yb((function(){Sb(Object(Eb))}))?function(t,e){var r=bb(mb(t));return Sb(r,e>>>0||(Tb(jb,r)?16:10))}:Sb;xr({global:!0,forced:parseInt!=_b},{parseInt:_b});var xb=e(tt.parseInt),Ab=n,Pb=o,Lb=zn,Rb=Vm.trim,kb=Cm,Ib=d("".charAt),Cb=Ab.parseFloat,Nb=Ab.Symbol,Mb=Nb&&Nb.iterator,Db=1/Cb(kb+"-0")!=-1/0||Mb&&!Pb((function(){Cb(Object(Mb))}))?function(t){var e=Rb(Lb(t)),r=Cb(e);return 0===r&&"-"==Ib(e,0)?-0:r}:Cb;xr({global:!0,forced:parseFloat!=Db},{parseFloat:Db});var Fb=e(tt.parseFloat),Gb=xr,Bb=Math.log,Ub=Math.LN2;Gb({target:"Math",stat:!0},{log2:function(t){return Bb(t)/Ub}});var Vb=e(tt.Math.log2),Hb="g_ven";function Yb(t,e){var r,n;e===ib.Intel?r=vb(n=t.split("\n")).call(n,(function(t){return"Intel(R) ".concat(t)})):r=t.split("\n");return vb(r).call(r,(function(t){return t.split("|")}))}function zb(t){return 0===t?0:-1===t?-1:Fb(Vb(t).toFixed(2))}var Kb=[],Wb=[],Jb=[];function qb(){return(qb=Xy(qy().mark((function t(e,r){var n,o,i;return qy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e!==ib.Intel){t.next=4;break}if(!Kb.length){t.next=3;break}return t.abrupt("return",Kb);case 3:n=r.intelPath;case 4:if(e!==ib.Nvidia){t.next=8;break}if(!Wb.length){t.next=7;break}return t.abrupt("return",Wb);case 7:n=r.nvidiaPath;case 8:if(e!==ib.Amd){t.next=12;break}if(!Jb.length){t.next=11;break}return t.abrupt("return",Jb);case 11:n=r.amdPath;case 12:if(n){t.next=14;break}return t.abrupt("return",Im.resolve([]));case 14:return t.prev=14,t.next=17,fetch(n).then((function(t){return t.text()}));case 17:return o=t.sent,i=Yb(o,e),e===ib.Intel&&(Kb=i),e===ib.Nvidia&&(Wb=i),e===ib.Amd&&(Jb=i),t.abrupt("return",i);case 25:t.prev=25,t.t0=t.catch(14);case 27:return t.abrupt("return",[]);case 28:case"end":return t.stop()}}),t,null,[[14,25]])})))).apply(this,arguments)}function $b(t,e){return t?function(t,e){return qb.apply(this,arguments)}(t.vendor,e).then((function(e){return function(t,e){var r=hb(t).call(t,(function(t){return t[0]===e.model}));r.length||(r=hb(t).call(t,(function(t){return t[0]===e.backupModel}))),r.length||e.vendor!==ib.Intel||/^Intel(R)/.test(e.model)||(r=hb(t).call(t,(function(t){return t[0]==="Intel(R) "+e.model})));var n="-1";if(r.length){var o=r[0][1];n="-1"===o?"0":o}return xb(n)}(e,t)})).then(zb):Im.resolve(0)}var Xb=km,Qb="";function Zb(){return Qb||(Qb=function(){try{var t=localStorage.getItem(Hb)||"";if(t)return t;var e,r=document.createElement("canvas").getContext("webgl");if(r)return(t=(e=r.getExtension("WEBGL_debug_renderer_info"))?r.getParameter(e.UNMASKED_RENDERER_WEBGL):"")&&localStorage.setItem(Hb,t),t}catch(n){}return""}())}function tw(t){var e;try{e=ub(t||nw.getGPUVendor())}catch(r){return null}return e}var ew,rw,nw=function(){function t(){Qy(this,t)}return ng(t,null,[{key:"setConfig",value:function(e){t.cfg=e}},{key:"getGPUVendor",value:function(){return Zb()}},{key:"parseVendorAsync",value:function(e){var r=tw(e);if(!r)return Im.resolve(null);if(!t.cfg)throw new Error("need specify config, call setConfig() method");return $b(r,t.cfg).then((function(t){return Rm(Rm({},r||{}),{},{score:t})})).catch((function(){return null}))}}]),t}();function ow(){var t=!1;if("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)return t;if(t=MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"')){var e=tw();t=!!e&&e.vendor!==ib.CpuDeriver}return t}rw=null,function(t,e,r){e in t?Xb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}(nw,"symbol"!==Ss(ew="cfg")?ew+"":ew,rw);var iw=A,aw=d,uw=R,cw=o,fw=po,sw=Zo,lw=k,pw=Jt,vw=H,hw=Object.assign,dw=Object.defineProperty,yw=aw([].concat),gw=!hw||cw((function(){if(iw&&1!==hw({b:1},hw(dw({},"a",{enumerable:!0,get:function(){dw(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=hw({},t)[r]||fw(hw({},e)).join("")!=n}))?function(t,e){for(var r=pw(t),n=arguments.length,o=1,i=sw.f,a=lw.f;n>o;)for(var u,c=vw(arguments[o++]),f=i?yw(fw(c),i(c)):fw(c),s=f.length,l=0;s>l;)u=f[l++],iw&&!uw(a,c,u)||(r[u]=c[u]);return r}:hw,mw=gw;xr({target:"Object",stat:!0,arity:2,forced:Object.assign!==mw},{assign:mw});var bw=e(tt.Object.assign),ww=Vs("Array").concat,Sw=at,Ow=ww,Ew=Array.prototype,jw=e((function(t){var e=t.concat;return t===Ew||Sw(Ew,t)&&e===Ew.concat?Ow:e})),Tw=e(Jg),_w=e($g),xw=e(vm),Aw=e($s),Pw=e(bm),Lw=e(xm),Rw=e(rs),kw=e(Rs),Iw=e(Ms),Cw=e(pl),Nw=e(xy),Mw=e(Wy),Dw=e(Zy);function Fw(t,e){var r=Tw(t);if(_w){var n=_w(t);e&&(n=hb(n).call(n,(function(e){return xw(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gw(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?Aw(r=Fw(Object(o),!0)).call(r,(function(e){Vw(t,e,o[e])})):Pw?Lw(t,Pw(o)):Aw(n=Fw(Object(o))).call(n,(function(e){km(t,e,xw(o,e))}))}return t}function Bw(){Bw=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=km||function(t,e,r){t[e]=r.value},o="function"==typeof Rw?Rw:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return km(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(x){c=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=kw(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(x){return{type:"throw",arg:x}}}t.wrap=f;var l={};function p(){}function v(){}function h(){}var d={};c(d,i,(function(){return this}));var y=Iw&&Iw(Iw(T([])));y&&y!==e&&r.call(y,i)&&(d=y);var g=h.prototype=p.prototype=kw(d);function m(t){var e;Aw(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,i,a,u){var c=s(t[n],t,i);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==Ss(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function w(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),l;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],Aw(t).call(t,O,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return v.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:v,configurable:!0}),v.displayName=c(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Cw?Cw(t,h):(t.__proto__=h,c(t,u,"GeneratorFunction")),t.prototype=kw(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Im);var a=new b(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return Nw(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,j.prototype={constructor:j,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Aw(e=this.tryEntries).call(e,E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+Mw(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function Uw(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(TC){return void r(TC)}u.done?e(c):Im.resolve(c).then(n,o)}function Vw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ss(t)||null===t)return t;var r=t[Dw];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Ss(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Ss(e)?e:String(e)}(e))in t?km(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hw=function(t){return t&&t.Math==Math&&t},Yw=Hw("object"==typeof globalThis&&globalThis)||Hw("object"==typeof window&&window)||Hw("object"==typeof self&&self)||Hw("object"==typeof t&&t)||function(){return this}()||Function("return this")(),zw={},Kw=function(t){try{return!!t()}catch(TC){return!0}},Ww=!Kw((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Jw=!Kw((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),qw=Jw,$w=Function.prototype.call,Xw=qw?$w.bind($w):function(){return $w.apply($w,arguments)},Qw={},Zw={}.propertyIsEnumerable,tS=Object.getOwnPropertyDescriptor,eS=tS&&!Zw.call({1:2},1);Qw.f=eS?function(t){var e=tS(this,t);return!!e&&e.enumerable}:Zw;var rS,nS,oS=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},iS=Jw,aS=Function.prototype,uS=aS.call,cS=iS&&aS.bind.bind(uS,uS),fS=iS?cS:function(t){return function(){return uS.apply(t,arguments)}},sS=fS,lS=sS({}.toString),pS=sS("".slice),vS=function(t){return pS(lS(t),8,-1)},hS=Kw,dS=vS,yS=Object,gS=fS("".split),mS=hS((function(){return!yS("z").propertyIsEnumerable(0)}))?function(t){return"String"==dS(t)?gS(t,""):yS(t)}:yS,bS=function(t){return null==t},wS=bS,SS=TypeError,OS=function(t){if(wS(t))throw SS("Can't call method on "+t);return t},ES=mS,jS=OS,TS=function(t){return ES(jS(t))},_S="object"==typeof document&&document.all,xS={all:_S,IS_HTMLDDA:void 0===_S&&void 0!==_S},AS=xS.all,PS=xS.IS_HTMLDDA?function(t){return"function"==typeof t||t===AS}:function(t){return"function"==typeof t},LS=PS,RS=xS.all,kS=xS.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:LS(t)||t===RS}:function(t){return"object"==typeof t?null!==t:LS(t)},IS=Yw,CS=PS,NS=function(t,e){return arguments.length<2?(r=IS[t],CS(r)?r:void 0):IS[t]&&IS[t][e];var r},MS=fS({}.isPrototypeOf),DS=NS("navigator","userAgent")||"",FS=Yw,GS=DS,BS=FS.process,US=FS.Deno,VS=BS&&BS.versions||US&&US.version,HS=VS&&VS.v8;HS&&(nS=(rS=HS.split("."))[0]>0&&rS[0]<4?1:+(rS[0]+rS[1])),!nS&&GS&&(!(rS=GS.match(/Edge\/(\d+)/))||rS[1]>=74)&&(rS=GS.match(/Chrome\/(\d+)/))&&(nS=+rS[1]);var YS=nS,zS=YS,KS=Kw,WS=!!Object.getOwnPropertySymbols&&!KS((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&zS&&zS<41})),JS=WS&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,qS=NS,$S=PS,XS=MS,QS=Object,ZS=JS?function(t){return"symbol"==typeof t}:function(t){var e=qS("Symbol");return $S(e)&&XS(e.prototype,QS(t))},tO=String,eO=function(t){try{return tO(t)}catch(TC){return"Object"}},rO=PS,nO=eO,oO=TypeError,iO=function(t){if(rO(t))return t;throw oO(nO(t)+" is not a function")},aO=iO,uO=bS,cO=function(t,e){var r=t[e];return uO(r)?void 0:aO(r)},fO=Xw,sO=PS,lO=kS,pO=TypeError,vO={exports:{}},hO=Yw,dO=Object.defineProperty,yO=function(t,e){try{dO(hO,t,{value:e,configurable:!0,writable:!0})}catch(TC){hO[t]=e}return e},gO=yO,mO="__core-js_shared__",bO=Yw[mO]||gO(mO,{}),wO=bO;(vO.exports=function(t,e){return wO[t]||(wO[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var SO=vO.exports,OO=OS,EO=Object,jO=function(t){return EO(OO(t))},TO=jO,_O=fS({}.hasOwnProperty),xO=Object.hasOwn||function(t,e){return _O(TO(t),e)},AO=fS,PO=0,LO=Math.random(),RO=AO(1..toString),kO=function(t){return"Symbol("+(void 0===t?"":t)+")_"+RO(++PO+LO,36)},IO=Yw,CO=xO,NO=kO,MO=WS,DO=JS,FO=SO("wks"),GO=IO.Symbol,BO=GO&&GO.for,UO=DO?GO:GO&&GO.withoutSetter||NO,VO=function(t){if(!CO(FO,t)||!MO&&"string"!=typeof FO[t]){var e="Symbol."+t;MO&&CO(GO,t)?FO[t]=GO[t]:FO[t]=DO&&BO?BO(e):UO(e)}return FO[t]},HO=Xw,YO=kS,zO=ZS,KO=cO,WO=function(t,e){var r,n;if("string"===e&&sO(r=t.toString)&&!lO(n=fO(r,t)))return n;if(sO(r=t.valueOf)&&!lO(n=fO(r,t)))return n;if("string"!==e&&sO(r=t.toString)&&!lO(n=fO(r,t)))return n;throw pO("Can't convert object to primitive value")},JO=TypeError,qO=VO("toPrimitive"),$O=function(t,e){if(!YO(t)||zO(t))return t;var r,n=KO(t,qO);if(n){if(void 0===e&&(e="default"),r=HO(n,t,e),!YO(r)||zO(r))return r;throw JO("Can't convert object to primitive value")}return void 0===e&&(e="number"),WO(t,e)},XO=ZS,QO=function(t){var e=$O(t,"string");return XO(e)?e:e+""},ZO=kS,tE=Yw.document,eE=ZO(tE)&&ZO(tE.createElement),rE=function(t){return eE?tE.createElement(t):{}},nE=rE,oE=!Ww&&!Kw((function(){return 7!=Object.defineProperty(nE("div"),"a",{get:function(){return 7}}).a})),iE=Ww,aE=Xw,uE=Qw,cE=oS,fE=TS,sE=QO,lE=xO,pE=oE,vE=Object.getOwnPropertyDescriptor;zw.f=iE?vE:function(t,e){if(t=fE(t),e=sE(e),pE)try{return vE(t,e)}catch(TC){}if(lE(t,e))return cE(!aE(uE.f,t,e),t[e])};var hE={},dE=Ww&&Kw((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),yE=kS,gE=String,mE=TypeError,bE=function(t){if(yE(t))return t;throw mE(gE(t)+" is not an object")},wE=Ww,SE=oE,OE=dE,EE=bE,jE=QO,TE=TypeError,_E=Object.defineProperty,xE=Object.getOwnPropertyDescriptor,AE="enumerable",PE="configurable",LE="writable";hE.f=wE?OE?function(t,e,r){if(EE(t),e=jE(e),EE(r),"function"==typeof t&&"prototype"===e&&"value"in r&&LE in r&&!r[LE]){var n=xE(t,e);n&&n[LE]&&(t[e]=r.value,r={configurable:PE in r?r[PE]:n[PE],enumerable:AE in r?r[AE]:n[AE],writable:!1})}return _E(t,e,r)}:_E:function(t,e,r){if(EE(t),e=jE(e),EE(r),SE)try{return _E(t,e,r)}catch(TC){}if("get"in r||"set"in r)throw TE("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var RE=hE,kE=oS,IE=Ww?function(t,e,r){return RE.f(t,e,kE(1,r))}:function(t,e,r){return t[e]=r,t},CE={exports:{}},NE=Ww,ME=xO,DE=Function.prototype,FE=NE&&Object.getOwnPropertyDescriptor,GE=ME(DE,"name"),BE={EXISTS:GE,PROPER:GE&&"something"===function(){}.name,CONFIGURABLE:GE&&(!NE||NE&&FE(DE,"name").configurable)},UE=PS,VE=bO,HE=fS(Function.toString);UE(VE.inspectSource)||(VE.inspectSource=function(t){return HE(t)});var YE,zE,KE,WE=VE.inspectSource,JE=PS,qE=Yw.WeakMap,$E=JE(qE)&&/native code/.test(String(qE)),XE=kO,QE=SO("keys"),ZE=function(t){return QE[t]||(QE[t]=XE(t))},tj={},ej=$E,rj=Yw,nj=kS,oj=IE,ij=xO,aj=bO,uj=ZE,cj=tj,fj="Object already initialized",sj=rj.TypeError,lj=rj.WeakMap;if(ej||aj.state){var pj=aj.state||(aj.state=new lj);pj.get=pj.get,pj.has=pj.has,pj.set=pj.set,YE=function(t,e){if(pj.has(t))throw sj(fj);return e.facade=t,pj.set(t,e),e},zE=function(t){return pj.get(t)||{}},KE=function(t){return pj.has(t)}}else{var vj=uj("state");cj[vj]=!0,YE=function(t,e){if(ij(t,vj))throw sj(fj);return e.facade=t,oj(t,vj,e),e},zE=function(t){return ij(t,vj)?t[vj]:{}},KE=function(t){return ij(t,vj)}}var hj={set:YE,get:zE,has:KE,enforce:function(t){return KE(t)?zE(t):YE(t,{})},getterFor:function(t){return function(e){var r;if(!nj(e)||(r=zE(e)).type!==t)throw sj("Incompatible receiver, "+t+" required");return r}}},dj=Kw,yj=PS,gj=xO,mj=Ww,bj=BE.CONFIGURABLE,wj=WE,Sj=hj.enforce,Oj=hj.get,Ej=Object.defineProperty,jj=mj&&!dj((function(){return 8!==Ej((function(){}),"length",{value:8}).length})),Tj=String(String).split("String"),_j=CE.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!gj(t,"name")||bj&&t.name!==e)&&(mj?Ej(t,"name",{value:e,configurable:!0}):t.name=e),jj&&r&&gj(r,"arity")&&t.length!==r.arity&&Ej(t,"length",{value:r.arity});try{r&&gj(r,"constructor")&&r.constructor?mj&&Ej(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(TC){}var n=Sj(t);return gj(n,"source")||(n.source=Tj.join("string"==typeof e?e:"")),t};Function.prototype.toString=_j((function(){return yj(this)&&Oj(this).source||wj(this)}),"toString");var xj=CE.exports,Aj=PS,Pj=hE,Lj=xj,Rj=yO,kj=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(Aj(r)&&Lj(r,i,n),n.global)o?t[e]=r:Rj(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(TC){}o?t[e]=r:Pj.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Ij={},Cj=Math.ceil,Nj=Math.floor,Mj=Math.trunc||function(t){var e=+t;return(e>0?Nj:Cj)(e)},Dj=function(t){var e=+t;return e!=e||0===e?0:Mj(e)},Fj=Dj,Gj=Math.max,Bj=Math.min,Uj=Dj,Vj=Math.min,Hj=function(t){return t>0?Vj(Uj(t),9007199254740991):0},Yj=function(t){return Hj(t.length)},zj=TS,Kj=function(t,e){var r=Fj(t);return r<0?Gj(r+e,0):Bj(r,e)},Wj=Yj,Jj=function(t){return function(e,r,n){var o,i=zj(e),a=Wj(i),u=Kj(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},qj={includes:Jj(!0),indexOf:Jj(!1)},$j=xO,Xj=TS,Qj=qj.indexOf,Zj=tj,tT=fS([].push),eT=function(t,e){var r,n=Xj(t),o=0,i=[];for(r in n)!$j(Zj,r)&&$j(n,r)&&tT(i,r);for(;e.length>o;)$j(n,r=e[o++])&&(~Qj(i,r)||tT(i,r));return i},rT=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],nT=eT,oT=rT.concat("length","prototype");Ij.f=Object.getOwnPropertyNames||function(t){return nT(t,oT)};var iT={};iT.f=Object.getOwnPropertySymbols;var aT=NS,uT=Ij,cT=iT,fT=bE,sT=fS([].concat),lT=aT("Reflect","ownKeys")||function(t){var e=uT.f(fT(t)),r=cT.f;return r?sT(e,r(t)):e},pT=xO,vT=lT,hT=zw,dT=hE,yT=Kw,gT=PS,mT=/#|\.prototype\./,bT=function(t,e){var r=ST[wT(t)];return r==ET||r!=OT&&(gT(e)?yT(e):!!e)},wT=bT.normalize=function(t){return String(t).replace(mT,".").toLowerCase()},ST=bT.data={},OT=bT.NATIVE="N",ET=bT.POLYFILL="P",jT=bT,TT=Yw,_T=zw.f,xT=IE,AT=kj,PT=yO,LT=function(t,e,r){for(var n=vT(e),o=dT.f,i=hT.f,a=0;a<n.length;a++){var u=n[a];pT(t,u)||r&&pT(r,u)||o(t,u,i(e,u))}},RT=jT,kT=function(t,e){var r,n,o,i,a,u=t.target,c=t.global,f=t.stat;if(r=c?TT:f?TT[u]||PT(u,{}):(TT[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=_T(r,n))&&a.value:r[n],!RT(c?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;LT(i,o)}(t.sham||o&&o.sham)&&xT(i,"sham",!0),AT(r,n,i,t)}},IT=eT,CT=rT,NT=Object.keys||function(t){return IT(t,CT)},MT=Ww,DT=fS,FT=Xw,GT=Kw,BT=NT,UT=iT,VT=Qw,HT=jO,YT=mS,zT=Object.assign,KT=Object.defineProperty,WT=DT([].concat),JT=!zT||GT((function(){if(MT&&1!==zT({b:1},zT(KT({},"a",{enumerable:!0,get:function(){KT(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=zT({},t)[r]||BT(zT({},e)).join("")!=n}))?function(t,e){for(var r=HT(t),n=arguments.length,o=1,i=UT.f,a=VT.f;n>o;)for(var u,c=YT(arguments[o++]),f=i?WT(BT(c),i(c)):BT(c),s=f.length,l=0;s>l;)u=f[l++],MT&&!FT(a,c,u)||(r[u]=c[u]);return r}:zT,qT=JT;kT({target:"Object",stat:!0,arity:2,forced:Object.assign!==qT},{assign:qT});var $T={};$T[VO("toStringTag")]="z";var XT="[object z]"===String($T),QT=XT,ZT=PS,t_=vS,e_=VO("toStringTag"),r_=Object,n_="Arguments"==t_(function(){return arguments}()),o_=QT?t_:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(TC){}}(e=r_(t),e_))?r:n_?t_(e):"Object"==(n=t_(e))&&ZT(e.callee)?"Arguments":n},i_=o_,a_=XT?{}.toString:function(){return"[object "+i_(this)+"]"};XT||kj(Object.prototype,"toString",a_,{unsafe:!0});var u_="process"==vS(Yw.process),c_=PS,f_=String,s_=TypeError,l_=fS,p_=bE,v_=function(t){if("object"==typeof t||c_(t))return t;throw s_("Can't set "+f_(t)+" as a prototype")},h_=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=l_(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(TC){}return function(r,n){return p_(r),v_(n),e?t(r,n):r.__proto__=n,r}}():void 0),d_=hE.f,y_=xO,g_=VO("toStringTag"),m_=NS,b_=hE,w_=Ww,S_=VO("species"),O_=MS,E_=TypeError,j_=fS,T_=Kw,__=PS,x_=o_,A_=WE,P_=function(){},L_=[],R_=NS("Reflect","construct"),k_=/^\s*(?:class|function)\b/,I_=j_(k_.exec),C_=!k_.exec(P_),N_=function(t){if(!__(t))return!1;try{return R_(P_,L_,t),!0}catch(TC){return!1}},M_=function(t){if(!__(t))return!1;switch(x_(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return C_||!!I_(k_,A_(t))}catch(TC){return!0}};M_.sham=!0;var D_,F_,G_,B_,U_=!R_||T_((function(){var t;return N_(N_.call)||!N_(Object)||!N_((function(){t=!0}))||t}))?M_:N_,V_=U_,H_=eO,Y_=TypeError,z_=bE,K_=function(t){if(V_(t))return t;throw Y_(H_(t)+" is not a constructor")},W_=bS,J_=VO("species"),q_=function(t,e){var r,n=z_(t).constructor;return void 0===n||W_(r=z_(n)[J_])?e:K_(r)},$_=Jw,X_=Function.prototype,Q_=X_.apply,Z_=X_.call,tx="object"==typeof Reflect&&Reflect.apply||($_?Z_.bind(Q_):function(){return Z_.apply(Q_,arguments)}),ex=vS,rx=fS,nx=function(t){if("Function"===ex(t))return rx(t)},ox=iO,ix=Jw,ax=nx(nx.bind),ux=function(t,e){return ox(t),void 0===e?t:ix?ax(t,e):function(){return t.apply(e,arguments)}},cx=NS("document","documentElement"),fx=fS([].slice),sx=TypeError,lx=/(?:ipad|iphone|ipod).*applewebkit/i.test(DS),px=Yw,vx=tx,hx=ux,dx=PS,yx=xO,gx=Kw,mx=cx,bx=fx,wx=rE,Sx=function(t,e){if(t<e)throw sx("Not enough arguments");return t},Ox=lx,Ex=u_,jx=px.setImmediate,Tx=px.clearImmediate,_x=px.process,xx=px.Dispatch,Ax=px.Function,Px=px.MessageChannel,Lx=px.String,Rx=0,kx={},Ix="onreadystatechange";try{D_=px.location}catch(TC){}var Cx=function(t){if(yx(kx,t)){var e=kx[t];delete kx[t],e()}},Nx=function(t){return function(){Cx(t)}},Mx=function(t){Cx(t.data)},Dx=function(t){px.postMessage(Lx(t),D_.protocol+"//"+D_.host)};jx&&Tx||(jx=function(t){Sx(arguments.length,1);var e=dx(t)?t:Ax(t),r=bx(arguments,1);return kx[++Rx]=function(){vx(e,void 0,r)},F_(Rx),Rx},Tx=function(t){delete kx[t]},Ex?F_=function(t){_x.nextTick(Nx(t))}:xx&&xx.now?F_=function(t){xx.now(Nx(t))}:Px&&!Ox?(B_=(G_=new Px).port2,G_.port1.onmessage=Mx,F_=hx(B_.postMessage,B_)):px.addEventListener&&dx(px.postMessage)&&!px.importScripts&&D_&&"file:"!==D_.protocol&&!gx(Dx)?(F_=Dx,px.addEventListener("message",Mx,!1)):F_=Ix in wx("script")?function(t){mx.appendChild(wx("script"))[Ix]=function(){mx.removeChild(this),Cx(t)}}:function(t){setTimeout(Nx(t),0)});var Fx,Gx,Bx,Ux,Vx,Hx,Yx,zx,Kx={set:jx,clear:Tx},Wx=Yw,Jx=/ipad|iphone|ipod/i.test(DS)&&void 0!==Wx.Pebble,qx=/web0s(?!.*chrome)/i.test(DS),$x=Yw,Xx=ux,Qx=zw.f,Zx=Kx.set,tA=lx,eA=Jx,rA=qx,nA=u_,oA=$x.MutationObserver||$x.WebKitMutationObserver,iA=$x.document,aA=$x.process,uA=$x.Promise,cA=Qx($x,"queueMicrotask"),fA=cA&&cA.value;fA||(Fx=function(){var t,e;for(nA&&(t=aA.domain)&&t.exit();Gx;){e=Gx.fn,Gx=Gx.next;try{e()}catch(TC){throw Gx?Ux():Bx=void 0,TC}}Bx=void 0,t&&t.enter()},tA||nA||rA||!oA||!iA?!eA&&uA&&uA.resolve?((Yx=uA.resolve(void 0)).constructor=uA,zx=Xx(Yx.then,Yx),Ux=function(){zx(Fx)}):nA?Ux=function(){aA.nextTick(Fx)}:(Zx=Xx(Zx,$x),Ux=function(){Zx(Fx)}):(Vx=!0,Hx=iA.createTextNode(""),new oA(Fx).observe(Hx,{characterData:!0}),Ux=function(){Hx.data=Vx=!Vx}));var sA=fA||function(t){var e={fn:t,next:void 0};Bx&&(Bx.next=e),Gx||(Gx=e,Ux()),Bx=e},lA=Yw,pA=function(t){try{return{error:!1,value:t()}}catch(TC){return{error:!0,value:TC}}},vA=function(){this.head=null,this.tail=null};vA.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var hA=vA,dA=Yw.Promise,yA="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,gA=!yA&&!u_&&"object"==typeof window&&"object"==typeof document,mA=Yw,bA=dA,wA=PS,SA=jT,OA=WE,EA=VO,jA=gA,TA=yA,_A=YS;bA&&bA.prototype;var xA=EA("species"),AA=!1,PA=wA(mA.PromiseRejectionEvent),LA={CONSTRUCTOR:SA("Promise",(function(){var t=OA(bA),e=t!==String(bA);if(!e&&66===_A)return!0;if(!_A||_A<51||!/native code/.test(t)){var r=new bA((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[xA]=n,!(AA=r.then((function(){}))instanceof n))return!0}return!e&&(jA||TA)&&!PA})),REJECTION_EVENT:PA,SUBCLASSING:AA},RA={},kA=iO,IA=TypeError,CA=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw IA("Bad Promise constructor");e=t,r=n})),this.resolve=kA(e),this.reject=kA(r)};RA.f=function(t){return new CA(t)};var NA,MA,DA,FA=kT,GA=u_,BA=Yw,UA=Xw,VA=kj,HA=h_,YA=function(t,e,r){t&&!r&&(t=t.prototype),t&&!y_(t,g_)&&d_(t,g_,{configurable:!0,value:e})},zA=function(t){var e=m_(t),r=b_.f;w_&&e&&!e[S_]&&r(e,S_,{configurable:!0,get:function(){return this}})},KA=iO,WA=PS,JA=kS,qA=function(t,e){if(O_(e,t))return t;throw E_("Incorrect invocation")},$A=q_,XA=Kx.set,QA=sA,ZA=function(t,e){var r=lA.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e))},tP=pA,eP=hA,rP=hj,nP=dA,oP=RA,iP="Promise",aP=LA.CONSTRUCTOR,uP=LA.REJECTION_EVENT,cP=LA.SUBCLASSING,fP=rP.getterFor(iP),sP=rP.set,lP=nP&&nP.prototype,pP=nP,vP=lP,hP=BA.TypeError,dP=BA.document,yP=BA.process,gP=oP.f,mP=gP,bP=!!(dP&&dP.createEvent&&BA.dispatchEvent),wP="unhandledrejection",SP=function(t){var e;return!(!JA(t)||!WA(e=t.then))&&e},OP=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&xP(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(hP("Promise-chain cycle")):(n=SP(r))?UA(n,r,c,f):c(r)):f(i)}catch(TC){s&&!o&&s.exit(),f(TC)}},EP=function(t,e){t.notified||(t.notified=!0,QA((function(){for(var r,n=t.reactions;r=n.get();)OP(r,t);t.notified=!1,e&&!t.rejection&&TP(t)})))},jP=function(t,e,r){var n,o;bP?((n=dP.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),BA.dispatchEvent(n)):n={promise:e,reason:r},!uP&&(o=BA["on"+t])?o(n):t===wP&&ZA("Unhandled promise rejection",r)},TP=function(t){UA(XA,BA,(function(){var e,r=t.facade,n=t.value;if(_P(t)&&(e=tP((function(){GA?yP.emit("unhandledRejection",n,r):jP(wP,r,n)})),t.rejection=GA||_P(t)?2:1,e.error))throw e.value}))},_P=function(t){return 1!==t.rejection&&!t.parent},xP=function(t){UA(XA,BA,(function(){var e=t.facade;GA?yP.emit("rejectionHandled",e):jP("rejectionhandled",e,t.value)}))},AP=function(t,e,r){return function(n){t(e,n,r)}},PP=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,EP(t,!0))},LP=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw hP("Promise can't be resolved itself");var n=SP(e);n?QA((function(){var r={done:!1};try{UA(n,e,AP(LP,r,t),AP(PP,r,t))}catch(TC){PP(r,TC,t)}})):(t.value=e,t.state=1,EP(t,!1))}catch(TC){PP({done:!1},TC,t)}}};if(aP&&(vP=(pP=function(t){qA(this,vP),KA(t),UA(NA,this);var e=fP(this);try{t(AP(LP,e),AP(PP,e))}catch(TC){PP(e,TC)}}).prototype,(NA=function(t){sP(this,{type:iP,done:!1,notified:!1,parent:!1,reactions:new eP,rejection:!1,state:0,value:void 0})}).prototype=VA(vP,"then",(function(t,e){var r=fP(this),n=gP($A(this,pP));return r.parent=!0,n.ok=!WA(t)||t,n.fail=WA(e)&&e,n.domain=GA?yP.domain:void 0,0==r.state?r.reactions.add(n):QA((function(){OP(n,r)})),n.promise})),MA=function(){var t=new NA,e=fP(t);this.promise=t,this.resolve=AP(LP,e),this.reject=AP(PP,e)},oP.f=gP=function(t){return t===pP||undefined===t?new MA(t):mP(t)},WA(nP)&&lP!==Object.prototype)){DA=lP.then,cP||VA(lP,"then",(function(t,e){var r=this;return new pP((function(t,e){UA(DA,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete lP.constructor}catch(TC){}HA&&HA(lP,vP)}FA({global:!0,constructor:!0,wrap:!0,forced:aP},{Promise:pP}),YA(pP,iP,!1),zA(iP);var RP={},kP=RP,IP=VO("iterator"),CP=Array.prototype,NP=o_,MP=cO,DP=bS,FP=RP,GP=VO("iterator"),BP=function(t){if(!DP(t))return MP(t,GP)||MP(t,"@@iterator")||FP[NP(t)]},UP=Xw,VP=iO,HP=bE,YP=eO,zP=BP,KP=TypeError,WP=Xw,JP=bE,qP=cO,$P=ux,XP=Xw,QP=bE,ZP=eO,tL=function(t){return void 0!==t&&(kP.Array===t||CP[IP]===t)},eL=Yj,rL=MS,nL=function(t,e){var r=arguments.length<2?zP(t):e;if(VP(r))return HP(UP(r,t));throw KP(YP(t)+" is not iterable")},oL=BP,iL=function(t,e,r){var n,o;JP(t);try{if(!(n=qP(t,"return"))){if("throw"===e)throw r;return r}n=WP(n,t)}catch(TC){o=!0,n=TC}if("throw"===e)throw r;if(o)throw n;return JP(n),r},aL=TypeError,uL=function(t,e){this.stopped=t,this.result=e},cL=uL.prototype,fL=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),v=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),d=$P(e,s),y=function(t){return n&&iL(n,"normal",t),new uL(!0,t)},g=function(t){return l?(QP(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=oL(t)))throw aL(ZP(t)+" is not iterable");if(tL(o)){for(i=0,a=eL(t);a>i;i++)if((u=g(t[i]))&&rL(cL,u))return u;return new uL(!1)}n=nL(t,o)}for(c=p?t.next:n.next;!(f=XP(c,n)).done;){try{u=g(f.value)}catch(TC){iL(n,"throw",TC)}if("object"==typeof u&&u&&rL(cL,u))return u}return new uL(!1)},sL=VO("iterator"),lL=!1;try{var pL=0,vL={next:function(){return{done:!!pL++}},return:function(){lL=!0}};vL[sL]=function(){return this},Array.from(vL,(function(){throw 2}))}catch(TC){}var hL=dA,dL=LA.CONSTRUCTOR||!function(t,e){if(!e&&!lL)return!1;var r=!1;try{var n={};n[sL]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(TC){}return r}((function(t){hL.all(t).then(void 0,(function(){}))})),yL=Xw,gL=iO,mL=RA,bL=pA,wL=fL;kT({target:"Promise",stat:!0,forced:dL},{all:function(t){var e=this,r=mL.f(e),n=r.resolve,o=r.reject,i=bL((function(){var r=gL(e.resolve),i=[],a=0,u=1;wL(t,(function(t){var c=a++,f=!1;u++,yL(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var SL=kT,OL=LA.CONSTRUCTOR,EL=dA,jL=NS,TL=PS,_L=kj,xL=EL&&EL.prototype;if(SL({target:"Promise",proto:!0,forced:OL,real:!0},{catch:function(t){return this.then(void 0,t)}}),TL(EL)){var AL=jL("Promise").prototype.catch;xL.catch!==AL&&_L(xL,"catch",AL,{unsafe:!0})}var PL=Xw,LL=iO,RL=RA,kL=pA,IL=fL;kT({target:"Promise",stat:!0,forced:dL},{race:function(t){var e=this,r=RL.f(e),n=r.reject,o=kL((function(){var o=LL(e.resolve);IL(t,(function(t){PL(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var CL=Xw,NL=RA;kT({target:"Promise",stat:!0,forced:LA.CONSTRUCTOR},{reject:function(t){var e=NL.f(this);return CL(e.reject,void 0,t),e.promise}});var ML=bE,DL=kS,FL=RA,GL=function(t,e){if(ML(t),DL(e)&&e.constructor===t)return e;var r=FL.f(t);return(0,r.resolve)(e),r.promise},BL=kT,UL=LA.CONSTRUCTOR,VL=GL;NS("Promise"),BL({target:"Promise",stat:!0,forced:UL},{resolve:function(t){return VL(this,t)}});var HL=vS,YL=Array.isArray||function(t){return"Array"==HL(t)},zL=TypeError,KL=QO,WL=hE,JL=oS,qL=YL,$L=U_,XL=kS,QL=VO("species"),ZL=Array,tR=function(t){var e;return qL(t)&&(e=t.constructor,($L(e)&&(e===ZL||qL(e.prototype))||XL(e)&&null===(e=e[QL]))&&(e=void 0)),void 0===e?ZL:e},eR=Kw,rR=YS,nR=VO("species"),oR=kT,iR=Kw,aR=YL,uR=kS,cR=jO,fR=Yj,sR=function(t){if(t>9007199254740991)throw zL("Maximum allowed index exceeded");return t},lR=function(t,e,r){var n=KL(e);n in t?WL.f(t,n,JL(0,r)):t[n]=r},pR=function(t,e){return new(tR(t))(0===e?0:e)},vR=function(t){return rR>=51||!eR((function(){var e=[];return(e.constructor={})[nR]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},hR=YS,dR=VO("isConcatSpreadable"),yR=hR>=51||!iR((function(){var t=[];return t[dR]=!1,t.concat()[0]!==t})),gR=vR("concat"),mR=function(t){if(!uR(t))return!1;var e=t[dR];return void 0!==e?!!e:aR(t)};oR({target:"Array",proto:!0,arity:1,forced:!yR||!gR},{concat:function(t){var e,r,n,o,i,a=cR(this),u=pR(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(mR(i=-1===e?a:arguments[e]))for(o=fR(i),sR(c+o),r=0;r<o;r++,c++)r in i&&lR(u,c,i[r]);else sR(c+1),lR(u,c++,i);return u.length=c,u}});var bR=o_,wR=String,SR=bE,OR=Kw,ER=Yw.RegExp,jR=OR((function(){var t=ER("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),TR=jR||OR((function(){return!ER("a","y").sticky})),_R={BROKEN_CARET:jR||OR((function(){var t=ER("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:TR,UNSUPPORTED_Y:jR},xR={},AR=Ww,PR=dE,LR=hE,RR=bE,kR=TS,IR=NT;xR.f=AR&&!PR?Object.defineProperties:function(t,e){RR(t);for(var r,n=kR(e),o=IR(e),i=o.length,a=0;i>a;)LR.f(t,r=o[a++],n[r]);return t};var CR,NR=bE,MR=xR,DR=rT,FR=tj,GR=cx,BR=rE,UR="prototype",VR="script",HR=ZE("IE_PROTO"),YR=function(){},zR=function(t){return"<"+VR+">"+t+"</"+VR+">"},KR=function(t){t.write(zR("")),t.close();var e=t.parentWindow.Object;return t=null,e},WR=function(){try{CR=new ActiveXObject("htmlfile")}catch(TC){}var t,e,r;WR="undefined"!=typeof document?document.domain&&CR?KR(CR):(e=BR("iframe"),r="java"+VR+":",e.style.display="none",GR.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(zR("document.F=Object")),t.close(),t.F):KR(CR);for(var n=DR.length;n--;)delete WR[UR][DR[n]];return WR()};FR[HR]=!0;var JR,qR,$R=Object.create||function(t,e){var r;return null!==t?(YR[UR]=NR(t),r=new YR,YR[UR]=null,r[HR]=t):r=WR(),void 0===e?r:MR.f(r,e)},XR=Kw,QR=Yw.RegExp,ZR=XR((function(){var t=QR(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),tk=Kw,ek=Yw.RegExp,rk=tk((function(){var t=ek("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),nk=Xw,ok=fS,ik=function(t){if("Symbol"===bR(t))throw TypeError("Cannot convert a Symbol value to a string");return wR(t)},ak=function(){var t=SR(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},uk=_R,ck=$R,fk=hj.get,sk=ZR,lk=rk,pk=SO("native-string-replace",String.prototype.replace),vk=RegExp.prototype.exec,hk=vk,dk=ok("".charAt),yk=ok("".indexOf),gk=ok("".replace),mk=ok("".slice),bk=(qR=/b*/g,nk(vk,JR=/a/,"a"),nk(vk,qR,"a"),0!==JR.lastIndex||0!==qR.lastIndex),wk=uk.BROKEN_CARET,Sk=void 0!==/()??/.exec("")[1];(bk||Sk||wk||sk||lk)&&(hk=function(t){var e,r,n,o,i,a,u,c=this,f=fk(c),s=ik(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=nk(hk,l,s),c.lastIndex=l.lastIndex,e;var p=f.groups,v=wk&&c.sticky,h=nk(ak,c),d=c.source,y=0,g=s;if(v&&(h=gk(h,"y",""),-1===yk(h,"g")&&(h+="g"),g=mk(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==dk(s,c.lastIndex-1))&&(d="(?: "+d+")",g=" "+g,y++),r=new RegExp("^(?:"+d+")",h)),Sk&&(r=new RegExp("^"+d+"$(?!\\s)",h)),bk&&(n=c.lastIndex),o=nk(vk,v?r:c,g),v?o?(o.input=mk(o.input,y),o[0]=mk(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:bk&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),Sk&&o&&o.length>1&&nk(pk,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=a=ck(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});kT({target:"RegExp",proto:!0,forced:/./.exec!==hk},{exec:hk});var Ok=kT,Ek=dA,jk=Kw,Tk=NS,_k=PS,xk=q_,Ak=GL,Pk=kj,Lk=Ek&&Ek.prototype;if(Ok({target:"Promise",proto:!0,real:!0,forced:!!Ek&&jk((function(){Lk.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=xk(this,Tk("Promise")),r=_k(t);return this.then(r?function(r){return Ak(e,t()).then((function(){return r}))}:t,r?function(r){return Ak(e,t()).then((function(){throw r}))}:t)}}),_k(Ek)){var Rk=Tk("Promise").prototype.finally;Lk.finally!==Rk&&Pk(Lk,"finally",Rk,{unsafe:!0})}function kk(t){var e=document.createElement("video");return e.style.cssText="width:100px;height:100px;position:absolute;top:0;left:0;z-index:999999;opacity:.01;pointer-events:none;",e.muted=!0,e.autoplay=!1,e.src=t,e}function Ik(t){return Ck.apply(this,arguments)}function Ck(){var t;return t=Bw().mark((function t(e){var r,n,o,i,a,u,c,f,s,l;return Bw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=bw({url:"",minDroppedFramesRate:0,minTotalVideoFrames:0},e),n=r.url,o=r.minDroppedFramesRate,i=r.minTotalVideoFrames,s=new Im((function(t){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1001;t(Gw({status:!1,errCode:e,robustErr:2101===e||2001===e||3e3===e},(arguments.length>1?arguments[1]:void 0)||{}))}!n||0===o&&0===i?e(1e3):(u=function(){var r="";try{if(!a.getVideoPlaybackQuality)return e(2001);var n=a.getVideoPlaybackQuality(),u=n.totalVideoFrames,c=n.droppedVideoFrames,f=c/u,s={droppedFrameRate:f,droppedVideoFrames:c,totalVideoFrames:u};return void((o?f<=o:i&&u>i)?t(Gw({status:!0},s)):e(3e3,s))}catch(l){r=(null==l?void 0:l.message)||l||"empty err msg"}e(2200,{errMsg:r})},c=function(){var t,r,n=null===(r=a)||void 0===r?void 0:r.error;e(2e3,{errMsg:jw(t="".concat(null==n?void 0:n.code,"-")).call(t,null==n?void 0:n.message)})},f=function(){var t=a.play();t&&t.then((function(t){})).catch((function(t){var r=t.message,n=2100;/no supported source/gi.test(r)||/The media resource indicated by the src attribute or assigned media provider object was not suitable/gi.test(r)||/NotSupportedError/gi.test(r)?n=2101:/video-only background media was paused to save power/gi.test(r)?n=2103:(/the user didn't interact with the document first/gi.test(r)||/user denied permission/gi.test(r))&&(n=2102),e(n,{errMsg:r})}))},(a=kk(n)).addEventListener("loadedmetadata",f,!1),a.addEventListener("ended",u,!1),a.addEventListener("error",c,!1),a.load(),document.body.append(a))})),s.finally((function(){a&&(u&&c&&f&&(a.removeEventListener("loadedmetadata",f,!1),a.removeEventListener("ended",u,!1),a.removeEventListener("error",c,!1),u=null,c=null,f=null),document.body.removeChild(a),a=null)})),t.next=5,s;case 5:return l=t.sent,t.abrupt("return",l);case 7:case"end":return t.stop()}}),t)})),Ck=function(){var e=this,r=arguments;return new Im((function(n,o){var i=t.apply(e,r);function a(t){Uw(i,n,o,a,u,"next",t)}function u(t){Uw(i,n,o,a,u,"throw",t)}a(void 0)}))},Ck.apply(this,arguments)}xr({target:"Array",stat:!0},{isArray:Pr});var Nk=e(tt.Array.isArray),Mk=Vs("Array").values,Dk=Qr,Fk=Xt,Gk=at,Bk=Mk,Uk=Array.prototype,Vk={DOMTokenList:!0,NodeList:!0},Hk=e((function(t){var e=t.values;return t===Uk||Gk(Uk,t)&&e===Uk.values||Fk(Vk,Dk(t))?Bk:e})),Yk=eo.includes;xr({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return Yk(this,t,arguments.length>1?arguments[1]:void 0)}});var zk=Vs("Array").includes,Kk=Z,Wk=b,Jk=le("match"),qk=function(t){var e;return Kk(t)&&(void 0!==(e=t[Jk])?!!e:"RegExp"==Wk(t))},$k=TypeError,Xk=le("match"),Qk=xr,Zk=function(t){if(qk(t))throw $k("The method doesn't accept regular expressions");return t},tI=W,eI=zn,rI=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[Xk]=!1,"/./"[t](e)}catch(n){}}return!1},nI=d("".indexOf);Qk({target:"String",proto:!0,forced:!rI("includes")},{includes:function(t){return!!~nI(eI(tI(this)),eI(Zk(t)),arguments.length>1?arguments[1]:void 0)}});var oI,iI=Vs("String").includes,aI=at,uI=zk,cI=iI,fI=Array.prototype,sI=String.prototype,lI=e((function(t){var e=t.includes;return t===fI||aI(fI,t)&&e===fI.includes?uI:"string"==typeof t||t===sI||aI(sI,t)&&e===sI.includes?cI:e})),pI=(Pm(oI={},"=",{validate:function(t,e){var r;return Nk(Hk(t))?lI(r=Hk(t)).call(r,e):Hk(t)===e}}),Pm(oI,"≠",{validate:function(t,e){var r;return Nk(Hk(t))?!lI(r=Hk(t)).call(r,e):Hk(t)!==e}}),Pm(oI,">",{validate:function(t,e){return!Nk(Hk(t))&&"boolean"!=typeof Hk(t)&&e>Hk(t)}}),Pm(oI,"≥",{validate:function(t,e){return!Nk(Hk(t))&&"boolean"!=typeof Hk(t)&&e>=Hk(t)}}),Pm(oI,"<",{validate:function(t,e){return!Nk(Hk(t))&&"boolean"!=typeof Hk(t)&&e<Hk(t)}}),Pm(oI,"≤",{validate:function(t,e){return!Nk(Hk(t))&&"boolean"!=typeof Hk(t)&&e<=Hk(t)}}),oI);function vI(t,e,r){var n;return null==t||Aw(t).call(t,(function(t){var o;if("conditions"in t&&t.conditions)o=vI(t.conditions,e,t.logic);else if("key"in t){var i,a=e[null==t?void 0:t.key];o=null===(i=pI[null==t?void 0:t.op])||void 0===i?void 0:i.validate(t,a)}n=void 0===n?o:"||"===r?n||o:n&&o})),n}function hI(t,e){var r={};if(t)return Aw(t).call(t,(function(t){vI(t.conditions,e,t.logic)&&(r=Rm(Rm({},r),t.config))})),r}var dI=Xt,yI=R,gI=Z,mI=er,bI=function(t){return void 0!==t&&(dI(t,"value")||dI(t,"writable"))},wI=x,SI=Oc;xr({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return mI(e)===i?e[r]:(n=wI.f(e,r))?bI(n)?n.value:void 0===n.get?void 0:yI(n.get,i):gI(o=SI(e))?t(o,r,i):void 0}});var OI=e(tt.Reflect.get);function EI(){var t;"undefined"!=typeof Reflect&&OI?EI=wg(t=OI).call(t):EI=function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Fg(t)););return t}(t,e);if(n){var o=hm(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}};return EI.apply(this,arguments)}function jI(t,e,r){var n;Gg()?jI=wg(n=Dg).call(n):jI=function(t,e,r){var n=[null];ll(n).apply(n,e);var o=new(wg(Function).apply(t,n));return r&&Sg(o,r.prototype),o};return jI.apply(null,arguments)}var TI=n;xr({global:!0,forced:TI.globalThis!==TI},{globalThis:TI});var _I=e(n),xI=_t,AI=TypeError,PI=xr,LI=Jt,RI=$n,kI=Ir,II=Dr,CI=rl,NI=Gr,MI=jn,DI=Hr,FI=function(t,e){if(!delete t[e])throw AI("Cannot delete property "+xI(e)+" of "+xI(t))},GI=An("splice"),BI=Math.max,UI=Math.min;PI({target:"Array",proto:!0,forced:!GI},{splice:function(t,e){var r,n,o,i,a,u,c=LI(this),f=II(c),s=RI(t,f),l=arguments.length;for(0===l?r=n=0:1===l?(r=0,n=f-s):(r=l-2,n=UI(BI(kI(e),0),f-s)),NI(f+r-n),o=MI(c,n),i=0;i<n;i++)(a=s+i)in c&&DI(o,i,c[a]);if(o.length=n,r<n){for(i=s;i<f-n;i++)u=i+r,(a=i+n)in c?c[u]=c[a]:FI(c,u);for(i=f;i>f-n+r;i--)FI(c,i-1)}else if(r>n)for(i=f-n;i>s;i--)u=i+r-1,(a=i+n-1)in c?c[u]=c[a]:FI(c,u);for(i=0;i<r;i++)c[i+s]=arguments[i+2];return CI(c,f-n+r),o}});var VI,HI,YI,zI,KI,WI,JI=Vs("Array").splice,qI=at,$I=JI,XI=Array.prototype,QI=e((function(t){var e=t.splice;return t===XI||qI(XI,t)&&e===XI.splice?$I:e})),ZI=(null===(VI=void 0!==_I?_I:void 0)||void 0===VI?void 0:VI.crypto)||(null===(HI="undefined"!=typeof global?global:void 0)||void 0===HI?void 0:HI.crypto)||(null===(YI="undefined"!=typeof window?window:void 0)||void 0===YI?void 0:YI.crypto)||(null===(zI="undefined"!=typeof self?self:void 0)||void 0===zI?void 0:zI.crypto)||(null===(KI="undefined"!=typeof frames?frames:void 0)||void 0===KI||null===(KI=KI[0])||void 0===KI?void 0:KI.crypto);WI=ZI?function(t){for(var e=[],r=0;r<t;r+=4)e.push(ZI.getRandomValues(new Uint32Array(1))[0]);return new eC(e,t)}:function(t){for(var e,r=[],n=function(t){var e=t,r=987654321,n=4294967295;return function(){var t=((r=36969*(65535&r)+(r>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return t/=4294967296,(t+=.5)*(Math.random()>.5?1:-1)}},o=0;o<t;o+=4){var i=n(4294967296*(e||Math.random()));e=987654071*i(),r.push(4294967296*i()|0)}return new eC(r,t)};var tC=function(){function t(){Qy(this,t)}return ng(t,[{key:"mixIn",value:function(t){return bw(this,t)}},{key:"clone",value:function(){var t=new this.constructor;return bw(t,this),t}}],[{key:"create",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return jI(this,e)}}]),t}(),eC=function(t){Og(r,t);var e=Ug(r);function r(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4*n.length;Qy(this,r),t=e.call(this);var i=n;if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var a=i.byteLength,u=[],c=0;c<a;c+=1)u[c>>>2]|=i[c]<<24-c%4*8;t.words=u,t.sigBytes=a}else t.words=n,t.sigBytes=o;return t}return ng(r,[{key:"toString",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:rC).stringify(this)}},{key:"concat",value:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i+=1){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var u=0;u<o;u+=4)e[n+u>>>2]=r[u>>>2];return this.sigBytes+=o,this}},{key:"clamp",value:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=Math.ceil(e/4)}},{key:"clone",value:function(){var t,e=EI(Fg(r.prototype),"clone",this).call(this);return e.words=Mw(t=this.words).call(t,0),e}}]),r}(tC);Pm(eC,"random",WI);for(var rC={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o+=1){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=xb(t.substr(n,2),16)<<24-n%8*4;return new eC(r,e/2)}},nC=function(t){for(var e=t.length,r=[],n=0;n<e;n+=1)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new eC(r,e)},oC=function(t){return nC(unescape(encodeURIComponent(t)))},iC=function(t){Og(r,t);var e=Ug(r);function r(t){var n;return Qy(this,r),(n=e.call(this)).blockSize=16,n.cfg=bw(new tC,t),n.reset(),n}return ng(r,[{key:"reset",value:function(){EI(Fg(r.prototype),"reset",this).call(this),this._doReset()}},{key:"update",value:function(t){return this._append(t),this._process(),this}},{key:"finalize",value:function(t){return t&&this._append(t),this._doFinalize()}}],[{key:"_createHelper",value:function(t){return function(e,r){return new t(r).finalize(e)}}},{key:"_createHmacHelper",value:function(t){return function(e,r){return new aC(t,r).finalize(e)}}}]),r}(function(t){Og(r,t);var e=Ug(r);function r(){var t;return Qy(this,r),(t=e.call(this))._minBufferSize=0,t}return ng(r,[{key:"reset",value:function(){this._data=new eC,this._nDataBytes=0}},{key:"_append",value:function(t){var e,r=t;"string"==typeof r&&(r=oC(r)),jw(e=this._data).call(e,r),this._nDataBytes+=r.sigBytes}},{key:"_process",value:function(t){var e,r=this._data,n=this.blockSize,o=r.words,i=r.sigBytes,a=i/(4*n),u=(a=t?Math.ceil(a):Math.max((0|a)-this._minBufferSize,0))*n,c=Math.min(4*u,i);if(u){for(var f=0;f<u;f+=n)this._doProcessBlock(o,f);e=QI(o).call(o,0,u),r.sigBytes-=c}return new eC(e,c)}},{key:"clone",value:function(){var t=EI(Fg(r.prototype),"clone",this).call(this);return t._data=this._data.clone(),t}}]),r}(tC)),aC=function(t){Og(r,t);var e=Ug(r);function r(t,n){var o;Qy(this,r),o=e.call(this);var i=new t;o._hasher=i;var a=n;"string"==typeof a&&(a=oC(a));var u=i.blockSize,c=4*u;a.sigBytes>c&&(a=i.finalize(n)),a.clamp();var f=a.clone();o._oKey=f;var s=a.clone();o._iKey=s;for(var l=f.words,p=s.words,v=0;v<u;v+=1)l[v]^=1549556828,p[v]^=909522486;return f.sigBytes=c,s.sigBytes=c,o.reset(),o}return ng(r,[{key:"reset",value:function(){var t=this._hasher;t.reset(),t.update(this._iKey)}},{key:"update",value:function(t){return this._hasher.update(t),this}},{key:"finalize",value:function(t){var e,r=this._hasher,n=r.finalize(t);return r.reset(),r.finalize(jw(e=this._oKey.clone()).call(e,n))}}]),r}(tC),uC=[],cC=0;cC<64;cC+=1)uC[cC]=4294967296*Math.abs(Math.sin(cC+1))|0;var fC=function(t,e,r,n,o,i,a){var u=t+(e&r|~e&n)+o+a;return(u<<i|u>>>32-i)+e},sC=function(t,e,r,n,o,i,a){var u=t+(e&n|r&~n)+o+a;return(u<<i|u>>>32-i)+e},lC=function(t,e,r,n,o,i,a){var u=t+(e^r^n)+o+a;return(u<<i|u>>>32-i)+e},pC=function(t,e,r,n,o,i,a){var u=t+(r^(e|~n))+o+a;return(u<<i|u>>>32-i)+e},vC=function(t){Og(r,t);var e=Ug(r);function r(){return Qy(this,r),e.apply(this,arguments)}return ng(r,[{key:"_doReset",value:function(){this._hash=new eC([1732584193,4023233417,2562383102,271733878])}},{key:"_doProcessBlock",value:function(t,e){for(var r=t,n=0;n<16;n+=1){var o=e+n,i=t[o];r[o]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,u=r[e+0],c=r[e+1],f=r[e+2],s=r[e+3],l=r[e+4],p=r[e+5],v=r[e+6],h=r[e+7],d=r[e+8],y=r[e+9],g=r[e+10],m=r[e+11],b=r[e+12],w=r[e+13],S=r[e+14],O=r[e+15],E=a[0],j=a[1],T=a[2],_=a[3];E=fC(E,j,T,_,u,7,uC[0]),_=fC(_,E,j,T,c,12,uC[1]),T=fC(T,_,E,j,f,17,uC[2]),j=fC(j,T,_,E,s,22,uC[3]),E=fC(E,j,T,_,l,7,uC[4]),_=fC(_,E,j,T,p,12,uC[5]),T=fC(T,_,E,j,v,17,uC[6]),j=fC(j,T,_,E,h,22,uC[7]),E=fC(E,j,T,_,d,7,uC[8]),_=fC(_,E,j,T,y,12,uC[9]),T=fC(T,_,E,j,g,17,uC[10]),j=fC(j,T,_,E,m,22,uC[11]),E=fC(E,j,T,_,b,7,uC[12]),_=fC(_,E,j,T,w,12,uC[13]),T=fC(T,_,E,j,S,17,uC[14]),j=fC(j,T,_,E,O,22,uC[15]),E=sC(E,j,T,_,c,5,uC[16]),_=sC(_,E,j,T,v,9,uC[17]),T=sC(T,_,E,j,m,14,uC[18]),j=sC(j,T,_,E,u,20,uC[19]),E=sC(E,j,T,_,p,5,uC[20]),_=sC(_,E,j,T,g,9,uC[21]),T=sC(T,_,E,j,O,14,uC[22]),j=sC(j,T,_,E,l,20,uC[23]),E=sC(E,j,T,_,y,5,uC[24]),_=sC(_,E,j,T,S,9,uC[25]),T=sC(T,_,E,j,s,14,uC[26]),j=sC(j,T,_,E,d,20,uC[27]),E=sC(E,j,T,_,w,5,uC[28]),_=sC(_,E,j,T,f,9,uC[29]),T=sC(T,_,E,j,h,14,uC[30]),j=sC(j,T,_,E,b,20,uC[31]),E=lC(E,j,T,_,p,4,uC[32]),_=lC(_,E,j,T,d,11,uC[33]),T=lC(T,_,E,j,m,16,uC[34]),j=lC(j,T,_,E,S,23,uC[35]),E=lC(E,j,T,_,c,4,uC[36]),_=lC(_,E,j,T,l,11,uC[37]),T=lC(T,_,E,j,h,16,uC[38]),j=lC(j,T,_,E,g,23,uC[39]),E=lC(E,j,T,_,w,4,uC[40]),_=lC(_,E,j,T,u,11,uC[41]),T=lC(T,_,E,j,s,16,uC[42]),j=lC(j,T,_,E,v,23,uC[43]),E=lC(E,j,T,_,y,4,uC[44]),_=lC(_,E,j,T,b,11,uC[45]),T=lC(T,_,E,j,O,16,uC[46]),j=lC(j,T,_,E,f,23,uC[47]),E=pC(E,j,T,_,u,6,uC[48]),_=pC(_,E,j,T,h,10,uC[49]),T=pC(T,_,E,j,S,15,uC[50]),j=pC(j,T,_,E,p,21,uC[51]),E=pC(E,j,T,_,b,6,uC[52]),_=pC(_,E,j,T,s,10,uC[53]),T=pC(T,_,E,j,g,15,uC[54]),j=pC(j,T,_,E,c,21,uC[55]),E=pC(E,j,T,_,d,6,uC[56]),_=pC(_,E,j,T,O,10,uC[57]),T=pC(T,_,E,j,v,15,uC[58]),j=pC(j,T,_,E,w,21,uC[59]),E=pC(E,j,T,_,l,6,uC[60]),_=pC(_,E,j,T,m,10,uC[61]),T=pC(T,_,E,j,f,15,uC[62]),j=pC(j,T,_,E,y,21,uC[63]),a[0]=a[0]+E|0,a[1]=a[1]+j|0,a[2]=a[2]+T|0,a[3]=a[3]+_|0}},{key:"_doFinalize",value:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32;var o=Math.floor(r/4294967296),i=r;e[15+(n+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e[14+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(e.length+1),this._process();for(var a=this._hash,u=a.words,c=0;c<4;c+=1){var f=u[c];u[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return a}},{key:"clone",value:function(){var t=EI(Fg(r.prototype),"clone",this).call(this);return t._hash=this._hash.clone(),t}}]),r}(iC),hC=iC._createHelper(vC);iC._createHmacHelper(vC);var dC=function(t){return t.VESTRATEGY_H265_DETECT_PLAYBACK="VESTRATEGY_H265_DETECT_PLAYBACK",t.VESTRATEGY_H265_IS_SUPPORT="VESTRATEGY_H265_IS_SUPPORT",t.VESTRATEGY_H265_CAN_PLAY_SMOOTHLY="VESTRATEGY_H265_CAN_PLAY_SMOOTHLY",t}(dC||{}),yC=window.__VESTRATEGY_BASE__.util;function gC(t){return hC([t.url,t.minDroppedFramesRate,t.minTotalVideoFrames,navigator.userAgent.toLowerCase()].join("_")).toString()}var mC=function(){function t(){Qy(this,t),Pm(this,"_detectStatus","init")}var e;return ng(t,[{key:"detect",value:function(t){var e;return ow()&&((e=this.getDetectResult(t,{validateCache:!0}))||"init"!==this._detectStatus||this._detectPlaybackRobustness(t)),e}},{key:"getDetectResult",value:function(t,e){try{var r=yC.getLocalStorage(dC.VESTRATEGY_H265_DETECT_PLAYBACK);if(!r)return;var n=JSON.parse(r);if(null!=e&&e.validateCache){var o;if(t)if(gC(t)!==n.cacheKey)return;if(!1===(null==n||null===(o=n.data)||void 0===o?void 0:o.robustErr))return}return n.data}catch(TC){return}}},{key:"_detectPlaybackRobustness",value:(e=Xy(qy().mark((function t(e){var r,n;return qy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("pending"!==this._detectStatus){t.next=2;break}return t.abrupt("return");case 2:return this._detectStatus="pending",r=gC(e),t.prev=4,t.next=7,Ik(e);case 7:return n=t.sent,yC.setLocalStorage(dC.VESTRATEGY_H265_DETECT_PLAYBACK,zg({data:n,cacheKey:r})),this._detectStatus="end",t.abrupt("return",n);case 13:return t.prev=13,t.t0=t.catch(4),this._detectStatus="end",t.abrupt("return");case 17:case"end":return t.stop()}}),t,this,[[4,13]])}))),function(t){return e.apply(this,arguments)})}]),t}(),bC=new mC,wC=window.__VESTRATEGY_BASE__.BaseStrategy,SC=window.__VESTRATEGY_BASE__.Logger,OC=window.__VESTRATEGY_BASE__.util,EC=new SC("VeStrategy-H265"),jC=function(t){Og(o,t);var e,r,n=Ug(o);function o(){return Qy(this,o),n.apply(this,arguments)}return ng(o,[{key:"getResult",value:function(t){var e,r,n=t.detectResult,o=t.whiteListConfig,i=t.deviceInfo,a=ow();r=null==o||o.enable&&void 0===i?{useH265:!1}:o.enable?hI(o.whiteList,{CPUScore:i.cpuScore,CPUCore:i.cpuCore,GPUScore:i.gpuScore}):{useH265:!0};try{EC.info("H265Result",zg({isHevcApiSupported:a,detectResult:n,whiteListConfig:o,kvResult:r}))}catch(u){}return{isSupported:Boolean(a&&n&&!0!==(null==n?void 0:n.robustErr)),canPlaySmoothly:Boolean((null===(e=r)||void 0===e?void 0:e.useH265)&&(null==n?void 0:n.status))}}},{key:"getRecommendation",value:function(){this.config.detectConfig&&bC.detect(this.config.detectConfig);var t=bC.getDetectResult(),e=this.config.whiteListConfig;this.ctx.featureCenter.getDeviceMarkInfoAsync();var r=this.ctx.featureCenter.getFeatureList(),n=this.getResult({detectResult:t,whiteListConfig:e,deviceInfo:r});return OC.setLocalStorage(dC.VESTRATEGY_H265_IS_SUPPORT,null==n?void 0:n.isSupported),OC.setLocalStorage(dC.VESTRATEGY_H265_CAN_PLAY_SMOOTHLY,null==n?void 0:n.canPlaySmoothly),{result:{enableH265Hardware:(null==n?void 0:n.isSupported)&&(null==n?void 0:n.canPlaySmoothly)}}}}],[{key:"strategyName",get:function(){return"h265"}},{key:"prepareBeforeStarted",value:(r=Xy(qy().mark((function t(e){var r,n;return qy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.ctx.featureCenter.getDeviceMarkInfoAsync(),EC.setLevel(null==e||null===(r=e.ctx.dataCenter.getAppConfig())||void 0===r?void 0:r.logLevel),EC.updateLogger(null==e||null===(n=e.ctx.dataCenter.getAppConfig())||void 0===n?void 0:n.logger),EC.info("PrepareBeforeStarted");case 4:case"end":return t.stop()}}),t)}))),function(t){return r.apply(this,arguments)})},{key:"prepareAfterStarted",value:(e=Xy(qy().mark((function t(e){return qy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.config.detectConfig&&bC.detect(e.config.detectConfig),EC.info("PrepareAfterStarted");case 2:case"end":return t.stop()}}),t)}))),function(t){return e.apply(this,arguments)})}]),o}(wC);return jC}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("@byted/vestrategy-base")):"function"==typeof define&&define.amd?define(["@byted/vestrategy-base"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).__VESTRATEGY_STRATEGY_H265__=e(t.__VESTRATEGY_BASE__)}(this,(function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n=function(t){return t&&t.Math==Math&&t},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||e||Function("return this")(),i=function(t){try{return!!t()}catch(e){return!0}},a=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=a,c=Function.prototype,f=c.apply,s=c.call,l="object"==typeof Reflect&&Reflect.apply||(u?s.bind(f):function(){return s.apply(f,arguments)}),p=a,v=Function.prototype,h=v.call,d=p&&v.bind.bind(h,h),y=p?d:function(t){return function(){return h.apply(t,arguments)}},g=y,m=g({}.toString),b=g("".slice),w=function(t){return b(m(t),8,-1)},S=w,O=y,E=function(t){if("Function"===S(t))return O(t)},j="object"==typeof document&&document.all,T={all:j,IS_HTMLDDA:void 0===j&&void 0!==j},x=T.all,_=T.IS_HTMLDDA?function(t){return"function"==typeof t||t===x}:function(t){return"function"==typeof t},P={},A=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),L=a,R=Function.prototype.call,k=L?R.bind(R):function(){return R.apply(R,arguments)},I={},C={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,M=N&&!C.call({1:2},1);I.f=M?function(t){var e=N(this,t);return!!e&&e.enumerable}:C;var D,F,G=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},B=i,U=w,V=Object,H=y("".split),Y=B((function(){return!V("z").propertyIsEnumerable(0)}))?function(t){return"String"==U(t)?H(t,""):V(t)}:V,z=function(t){return null==t},K=z,W=TypeError,J=function(t){if(K(t))throw W("Can't call method on "+t);return t},q=Y,$=J,X=function(t){return q($(t))},Q=_,Z=T.all,tt=T.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:Q(t)||t===Z}:function(t){return"object"==typeof t?null!==t:Q(t)},et={},rt=et,nt=o,ot=_,it=function(t){return ot(t)?t:void 0},at=function(t,e){return arguments.length<2?it(rt[t])||it(nt[t]):rt[t]&&rt[t][e]||nt[t]&&nt[t][e]},ut=y({}.isPrototypeOf),ct="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ft=o,st=ct,lt=ft.process,pt=ft.Deno,vt=lt&<.versions||pt&&pt.version,ht=vt&&vt.v8;ht&&(F=(D=ht.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!F&&st&&(!(D=st.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=st.match(/Chrome\/(\d+)/))&&(F=+D[1]);var dt=F,yt=dt,gt=i,mt=o.String,bt=!!Object.getOwnPropertySymbols&&!gt((function(){var t=Symbol();return!mt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&yt&&yt<41})),wt=bt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,St=at,Ot=_,Et=ut,jt=Object,Tt=wt?function(t){return"symbol"==typeof t}:function(t){var e=St("Symbol");return Ot(e)&&Et(e.prototype,jt(t))},xt=String,_t=function(t){try{return xt(t)}catch(e){return"Object"}},Pt=_,At=_t,Lt=TypeError,Rt=function(t){if(Pt(t))return t;throw Lt(At(t)+" is not a function")},kt=Rt,It=z,Ct=function(t,e){var r=t[e];return It(r)?void 0:kt(r)},Nt=k,Mt=_,Dt=tt,Ft=TypeError,Gt={exports:{}},Bt=o,Ut=Object.defineProperty,Vt=function(t,e){try{Ut(Bt,t,{value:e,configurable:!0,writable:!0})}catch(r){Bt[t]=e}return e},Ht="__core-js_shared__",Yt=o[Ht]||Vt(Ht,{}),zt=Yt;(Gt.exports=function(t,e){return zt[t]||(zt[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.1",mode:"pure",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Kt=Gt.exports,Wt=J,Jt=Object,qt=function(t){return Jt(Wt(t))},$t=qt,Xt=y({}.hasOwnProperty),Qt=Object.hasOwn||function(t,e){return Xt($t(t),e)},Zt=y,te=0,ee=Math.random(),re=Zt(1..toString),ne=function(t){return"Symbol("+(void 0===t?"":t)+")_"+re(++te+ee,36)},oe=Kt,ie=Qt,ae=ne,ue=bt,ce=wt,fe=o.Symbol,se=oe("wks"),le=ce?fe.for||fe:fe&&fe.withoutSetter||ae,pe=function(t){return ie(se,t)||(se[t]=ue&&ie(fe,t)?fe[t]:le("Symbol."+t)),se[t]},ve=k,he=tt,de=Tt,ye=Ct,ge=function(t,e){var r,n;if("string"===e&&Mt(r=t.toString)&&!Dt(n=Nt(r,t)))return n;if(Mt(r=t.valueOf)&&!Dt(n=Nt(r,t)))return n;if("string"!==e&&Mt(r=t.toString)&&!Dt(n=Nt(r,t)))return n;throw Ft("Can't convert object to primitive value")},me=TypeError,be=pe("toPrimitive"),we=function(t,e){if(!he(t)||de(t))return t;var r,n=ye(t,be);if(n){if(void 0===e&&(e="default"),r=ve(n,t,e),!he(r)||de(r))return r;throw me("Can't convert object to primitive value")}return void 0===e&&(e="number"),ge(t,e)},Se=Tt,Oe=function(t){var e=we(t,"string");return Se(e)?e:e+""},Ee=tt,je=o.document,Te=Ee(je)&&Ee(je.createElement),xe=function(t){return Te?je.createElement(t):{}},_e=xe,Pe=!A&&!i((function(){return 7!=Object.defineProperty(_e("div"),"a",{get:function(){return 7}}).a})),Ae=A,Le=k,Re=I,ke=G,Ie=X,Ce=Oe,Ne=Qt,Me=Pe,De=Object.getOwnPropertyDescriptor;P.f=Ae?De:function(t,e){if(t=Ie(t),e=Ce(e),Me)try{return De(t,e)}catch(r){}if(Ne(t,e))return ke(!Le(Re.f,t,e),t[e])};var Fe=i,Ge=_,Be=/#|\.prototype\./,Ue=function(t,e){var r=He[Ve(t)];return r==ze||r!=Ye&&(Ge(e)?Fe(e):!!e)},Ve=Ue.normalize=function(t){return String(t).replace(Be,".").toLowerCase()},He=Ue.data={},Ye=Ue.NATIVE="N",ze=Ue.POLYFILL="P",Ke=Ue,We=Rt,Je=a,qe=E(E.bind),$e=function(t,e){return We(t),void 0===e?t:Je?qe(t,e):function(){return t.apply(e,arguments)}},Xe={},Qe=A&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ze=tt,tr=String,er=TypeError,rr=function(t){if(Ze(t))return t;throw er(tr(t)+" is not an object")},nr=A,or=Pe,ir=Qe,ar=rr,ur=Oe,cr=TypeError,fr=Object.defineProperty,sr=Object.getOwnPropertyDescriptor,lr="enumerable",pr="configurable",vr="writable";Xe.f=nr?ir?function(t,e,r){if(ar(t),e=ur(e),ar(r),"function"==typeof t&&"prototype"===e&&"value"in r&&vr in r&&!r[vr]){var n=sr(t,e);n&&n[vr]&&(t[e]=r.value,r={configurable:pr in r?r[pr]:n[pr],enumerable:lr in r?r[lr]:n[lr],writable:!1})}return fr(t,e,r)}:fr:function(t,e,r){if(ar(t),e=ur(e),ar(r),or)try{return fr(t,e,r)}catch(n){}if("get"in r||"set"in r)throw cr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var hr=Xe,dr=G,yr=A?function(t,e,r){return hr.f(t,e,dr(1,r))}:function(t,e,r){return t[e]=r,t},gr=o,mr=l,br=E,wr=_,Sr=P.f,Or=Ke,Er=et,jr=$e,Tr=yr,xr=Qt,_r=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return mr(t,this,arguments)};return e.prototype=t.prototype,e},Pr=function(t,e){var r,n,o,i,a,u,c,f,s,l=t.target,p=t.global,v=t.stat,h=t.proto,d=p?gr:v?gr[l]:(gr[l]||{}).prototype,y=p?Er:Er[l]||Tr(Er,l,{})[l],g=y.prototype;for(i in e)n=!(r=Or(p?i:l+(v?".":"#")+i,t.forced))&&d&&xr(d,i),u=y[i],n&&(c=t.dontCallGetSet?(s=Sr(d,i))&&s.value:d[i]),a=n&&c?c:e[i],n&&typeof u==typeof a||(f=t.bind&&n?jr(a,gr):t.wrap&&n?_r(a):h&&wr(a)?br(a):a,(t.sham||a&&a.sham||u&&u.sham)&&Tr(f,"sham",!0),Tr(y,i,f),h&&(xr(Er,o=l+"Prototype")||Tr(Er,o,{}),Tr(Er[o],i,a),t.real&&g&&(r||!g[i])&&Tr(g,i,a)))},Ar=w,Lr=Array.isArray||function(t){return"Array"==Ar(t)},Rr=Math.ceil,kr=Math.floor,Ir=Math.trunc||function(t){var e=+t;return(e>0?kr:Rr)(e)},Cr=function(t){var e=+t;return e!=e||0===e?0:Ir(e)},Nr=Cr,Mr=Math.min,Dr=function(t){return t>0?Mr(Nr(t),9007199254740991):0},Fr=function(t){return Dr(t.length)},Gr=TypeError,Br=function(t){if(t>9007199254740991)throw Gr("Maximum allowed index exceeded");return t},Ur=Oe,Vr=Xe,Hr=G,Yr=function(t,e,r){var n=Ur(e);n in t?Vr.f(t,n,Hr(0,r)):t[n]=r},zr={};zr[pe("toStringTag")]="z";var Kr="[object z]"===String(zr),Wr=Kr,Jr=_,qr=w,$r=pe("toStringTag"),Xr=Object,Qr="Arguments"==qr(function(){return arguments}()),Zr=Wr?qr:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(r){}}(e=Xr(t),$r))?r:Qr?qr(e):"Object"==(n=qr(e))&&Jr(e.callee)?"Arguments":n},tn=_,en=Yt,rn=y(Function.toString);tn(en.inspectSource)||(en.inspectSource=function(t){return rn(t)});var nn=en.inspectSource,on=y,an=i,un=_,cn=Zr,fn=nn,sn=function(){},ln=[],pn=at("Reflect","construct"),vn=/^\s*(?:class|function)\b/,hn=on(vn.exec),dn=!vn.exec(sn),yn=function(t){if(!un(t))return!1;try{return pn(sn,ln,t),!0}catch(e){return!1}},gn=function(t){if(!un(t))return!1;switch(cn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return dn||!!hn(vn,fn(t))}catch(e){return!0}};gn.sham=!0;var mn=!pn||an((function(){var t;return yn(yn.call)||!yn(Object)||!yn((function(){t=!0}))||t}))?gn:yn,bn=Lr,wn=mn,Sn=tt,On=pe("species"),En=Array,jn=function(t){var e;return bn(t)&&(e=t.constructor,(wn(e)&&(e===En||bn(e.prototype))||Sn(e)&&null===(e=e[On]))&&(e=void 0)),void 0===e?En:e},Tn=function(t,e){return new(jn(t))(0===e?0:e)},xn=i,_n=dt,Pn=pe("species"),An=function(t){return _n>=51||!xn((function(){var e=[];return(e.constructor={})[Pn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Ln=Pr,Rn=i,kn=Lr,In=tt,Cn=qt,Nn=Fr,Mn=Br,Dn=Yr,Fn=Tn,Gn=An,Bn=dt,Un=pe("isConcatSpreadable"),Vn=Bn>=51||!Rn((function(){var t=[];return t[Un]=!1,t.concat()[0]!==t})),Hn=function(t){if(!In(t))return!1;var e=t[Un];return void 0!==e?!!e:kn(t)};Ln({target:"Array",proto:!0,arity:1,forced:!Vn||!Gn("concat")},{concat:function(t){var e,r,n,o,i,a=Cn(this),u=Fn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Hn(i=-1===e?a:arguments[e]))for(o=Nn(i),Mn(c+o),r=0;r<o;r++,c++)r in i&&Dn(u,c,i[r]);else Mn(c+1),Dn(u,c++,i);return u.length=c,u}});var Yn=Zr,zn=String,Kn=function(t){if("Symbol"===Yn(t))throw TypeError("Cannot convert a Symbol value to a string");return zn(t)},Wn={},Jn=Cr,qn=Math.max,$n=Math.min,Xn=function(t,e){var r=Jn(t);return r<0?qn(r+e,0):$n(r,e)},Qn=X,Zn=Xn,to=Fr,eo=function(t){return function(e,r,n){var o,i=Qn(e),a=to(i),u=Zn(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},ro={includes:eo(!0),indexOf:eo(!1)},no={},oo=Qt,io=X,ao=ro.indexOf,uo=no,co=y([].push),fo=function(t,e){var r,n=io(t),o=0,i=[];for(r in n)!oo(uo,r)&&oo(n,r)&&co(i,r);for(;e.length>o;)oo(n,r=e[o++])&&(~ao(i,r)||co(i,r));return i},so=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lo=fo,po=so,vo=Object.keys||function(t){return lo(t,po)},ho=A,yo=Qe,go=Xe,mo=rr,bo=X,wo=vo;Wn.f=ho&&!yo?Object.defineProperties:function(t,e){mo(t);for(var r,n=bo(e),o=wo(e),i=o.length,a=0;i>a;)go.f(t,r=o[a++],n[r]);return t};var So,Oo=at("document","documentElement"),Eo=ne,jo=Kt("keys"),To=function(t){return jo[t]||(jo[t]=Eo(t))},xo=rr,_o=Wn,Po=so,Ao=no,Lo=Oo,Ro=xe,ko="prototype",Io="script",Co=To("IE_PROTO"),No=function(){},Mo=function(t){return"<"+Io+">"+t+"</"+Io+">"},Do=function(t){t.write(Mo("")),t.close();var e=t.parentWindow.Object;return t=null,e},Fo=function(){try{So=new ActiveXObject("htmlfile")}catch(o){}var t,e,r;Fo="undefined"!=typeof document?document.domain&&So?Do(So):(e=Ro("iframe"),r="java"+Io+":",e.style.display="none",Lo.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Mo("document.F=Object")),t.close(),t.F):Do(So);for(var n=Po.length;n--;)delete Fo[ko][Po[n]];return Fo()};Ao[Co]=!0;var Go=Object.create||function(t,e){var r;return null!==t?(No[ko]=xo(t),r=new No,No[ko]=null,r[Co]=t):r=Fo(),void 0===e?r:_o.f(r,e)},Bo={},Uo=fo,Vo=so.concat("length","prototype");Bo.f=Object.getOwnPropertyNames||function(t){return Uo(t,Vo)};var Ho={},Yo=Xn,zo=Fr,Ko=Yr,Wo=Array,Jo=Math.max,qo=w,$o=X,Xo=Bo.f,Qo=function(t,e,r){for(var n=zo(t),o=Yo(e,n),i=Yo(void 0===r?n:r,n),a=Wo(Jo(i-o,0)),u=0;o<i;o++,u++)Ko(a,u,t[o]);return a.length=u,a},Zo="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Ho.f=function(t){return Zo&&"Window"==qo(t)?function(t){try{return Xo(t)}catch(e){return Qo(Zo)}}(t):Xo($o(t))};var ti={};ti.f=Object.getOwnPropertySymbols;var ei=yr,ri=function(t,e,r,n){return n&&n.enumerable?t[e]=r:ei(t,e,r),t},ni=Xe,oi=function(t,e,r){return ni.f(t,e,r)},ii={},ai=pe;ii.f=ai;var ui,ci,fi,si=et,li=Qt,pi=ii,vi=Xe.f,hi=function(t){var e=si.Symbol||(si.Symbol={});li(e,t)||vi(e,t,{value:pi.f(t)})},di=k,yi=at,gi=pe,mi=ri,bi=function(){var t=yi("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=gi("toPrimitive");e&&!e[n]&&mi(e,n,(function(t){return di(r,this)}),{arity:1})},wi=Zr,Si=Kr?{}.toString:function(){return"[object "+wi(this)+"]"},Oi=Kr,Ei=Xe.f,ji=yr,Ti=Qt,xi=Si,_i=pe("toStringTag"),Pi=function(t,e,r,n){if(t){var o=r?t:t.prototype;Ti(o,_i)||Ei(o,_i,{configurable:!0,value:e}),n&&!Oi&&ji(o,"toString",xi)}},Ai=_,Li=o.WeakMap,Ri=Ai(Li)&&/native code/.test(String(Li)),ki=o,Ii=tt,Ci=yr,Ni=Qt,Mi=Yt,Di=To,Fi=no,Gi="Object already initialized",Bi=ki.TypeError,Ui=ki.WeakMap;if(Ri||Mi.state){var Vi=Mi.state||(Mi.state=new Ui);Vi.get=Vi.get,Vi.has=Vi.has,Vi.set=Vi.set,ui=function(t,e){if(Vi.has(t))throw Bi(Gi);return e.facade=t,Vi.set(t,e),e},ci=function(t){return Vi.get(t)||{}},fi=function(t){return Vi.has(t)}}else{var Hi=Di("state");Fi[Hi]=!0,ui=function(t,e){if(Ni(t,Hi))throw Bi(Gi);return e.facade=t,Ci(t,Hi,e),e},ci=function(t){return Ni(t,Hi)?t[Hi]:{}},fi=function(t){return Ni(t,Hi)}}var Yi={set:ui,get:ci,has:fi,enforce:function(t){return fi(t)?ci(t):ui(t,{})},getterFor:function(t){return function(e){var r;if(!Ii(e)||(r=ci(e)).type!==t)throw Bi("Incompatible receiver, "+t+" required");return r}}},zi=$e,Ki=Y,Wi=qt,Ji=Fr,qi=Tn,$i=y([].push),Xi=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,u=5==t||i;return function(c,f,s,l){for(var p,v,h=Wi(c),d=Ki(h),y=zi(f,s),g=Ji(d),m=0,b=l||qi,w=e?b(c,g):r||a?b(c,0):void 0;g>m;m++)if((u||m in d)&&(v=y(p=d[m],m,h),t))if(e)w[m]=v;else if(v)switch(t){case 3:return!0;case 5:return p;case 6:return m;case 2:$i(w,p)}else switch(t){case 4:return!1;case 7:$i(w,p)}return i?-1:n||o?o:w}},Qi={forEach:Xi(0),map:Xi(1),filter:Xi(2),some:Xi(3),every:Xi(4),find:Xi(5),findIndex:Xi(6),filterReject:Xi(7)},Zi=Pr,ta=o,ea=k,ra=y,na=A,oa=bt,ia=i,aa=Qt,ua=ut,ca=rr,fa=X,sa=Oe,la=Kn,pa=G,va=Go,ha=vo,da=Bo,ya=Ho,ga=ti,ma=P,ba=Xe,wa=Wn,Sa=I,Oa=ri,Ea=oi,ja=Kt,Ta=no,xa=ne,_a=pe,Pa=ii,Aa=hi,La=bi,Ra=Pi,ka=Yi,Ia=Qi.forEach,Ca=To("hidden"),Na="Symbol",Ma="prototype",Da=ka.set,Fa=ka.getterFor(Na),Ga=Object[Ma],Ba=ta.Symbol,Ua=Ba&&Ba[Ma],Va=ta.TypeError,Ha=ta.QObject,Ya=ma.f,za=ba.f,Ka=ya.f,Wa=Sa.f,Ja=ra([].push),qa=ja("symbols"),$a=ja("op-symbols"),Xa=ja("wks"),Qa=!Ha||!Ha[Ma]||!Ha[Ma].findChild,Za=na&&ia((function(){return 7!=va(za({},"a",{get:function(){return za(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=Ya(Ga,e);n&&delete Ga[e],za(t,e,r),n&&t!==Ga&&za(Ga,e,n)}:za,tu=function(t,e){var r=qa[t]=va(Ua);return Da(r,{type:Na,tag:t,description:e}),na||(r.description=e),r},eu=function(t,e,r){t===Ga&&eu($a,e,r),ca(t);var n=sa(e);return ca(r),aa(qa,n)?(r.enumerable?(aa(t,Ca)&&t[Ca][n]&&(t[Ca][n]=!1),r=va(r,{enumerable:pa(0,!1)})):(aa(t,Ca)||za(t,Ca,pa(1,{})),t[Ca][n]=!0),Za(t,n,r)):za(t,n,r)},ru=function(t,e){ca(t);var r=fa(e),n=ha(r).concat(au(r));return Ia(n,(function(e){na&&!ea(nu,r,e)||eu(t,e,r[e])})),t},nu=function(t){var e=sa(t),r=ea(Wa,this,e);return!(this===Ga&&aa(qa,e)&&!aa($a,e))&&(!(r||!aa(this,e)||!aa(qa,e)||aa(this,Ca)&&this[Ca][e])||r)},ou=function(t,e){var r=fa(t),n=sa(e);if(r!==Ga||!aa(qa,n)||aa($a,n)){var o=Ya(r,n);return!o||!aa(qa,n)||aa(r,Ca)&&r[Ca][n]||(o.enumerable=!0),o}},iu=function(t){var e=Ka(fa(t)),r=[];return Ia(e,(function(t){aa(qa,t)||aa(Ta,t)||Ja(r,t)})),r},au=function(t){var e=t===Ga,r=Ka(e?$a:fa(t)),n=[];return Ia(r,(function(t){!aa(qa,t)||e&&!aa(Ga,t)||Ja(n,qa[t])})),n};oa||(Ba=function(){if(ua(Ua,this))throw Va("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?la(arguments[0]):void 0,e=xa(t),r=function(t){this===Ga&&ea(r,$a,t),aa(this,Ca)&&aa(this[Ca],e)&&(this[Ca][e]=!1),Za(this,e,pa(1,t))};return na&&Qa&&Za(Ga,e,{configurable:!0,set:r}),tu(e,t)},Oa(Ua=Ba[Ma],"toString",(function(){return Fa(this).tag})),Oa(Ba,"withoutSetter",(function(t){return tu(xa(t),t)})),Sa.f=nu,ba.f=eu,wa.f=ru,ma.f=ou,da.f=ya.f=iu,ga.f=au,Pa.f=function(t){return tu(_a(t),t)},na&&Ea(Ua,"description",{configurable:!0,get:function(){return Fa(this).description}})),Zi({global:!0,constructor:!0,wrap:!0,forced:!oa,sham:!oa},{Symbol:Ba}),Ia(ha(Xa),(function(t){Aa(t)})),Zi({target:Na,stat:!0,forced:!oa},{useSetter:function(){Qa=!0},useSimple:function(){Qa=!1}}),Zi({target:"Object",stat:!0,forced:!oa,sham:!na},{create:function(t,e){return void 0===e?va(t):ru(va(t),e)},defineProperty:eu,defineProperties:ru,getOwnPropertyDescriptor:ou}),Zi({target:"Object",stat:!0,forced:!oa},{getOwnPropertyNames:iu}),La(),Ra(Ba,Na),Ta[Ca]=!0;var uu=bt&&!!Symbol.for&&!!Symbol.keyFor,cu=Pr,fu=at,su=Qt,lu=Kn,pu=Kt,vu=uu,hu=pu("string-to-symbol-registry"),du=pu("symbol-to-string-registry");cu({target:"Symbol",stat:!0,forced:!vu},{for:function(t){var e=lu(t);if(su(hu,e))return hu[e];var r=fu("Symbol")(e);return hu[e]=r,du[r]=e,r}});var yu=Pr,gu=Qt,mu=Tt,bu=_t,wu=uu,Su=Kt("symbol-to-string-registry");yu({target:"Symbol",stat:!0,forced:!wu},{keyFor:function(t){if(!mu(t))throw TypeError(bu(t)+" is not a symbol");if(gu(Su,t))return Su[t]}});var Ou=y([].slice),Eu=Lr,ju=_,Tu=w,xu=Kn,_u=y([].push),Pu=Pr,Au=at,Lu=l,Ru=k,ku=y,Iu=i,Cu=_,Nu=Tt,Mu=Ou,Du=function(t){if(ju(t))return t;if(Eu(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?_u(r,o):"number"!=typeof o&&"Number"!=Tu(o)&&"String"!=Tu(o)||_u(r,xu(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Eu(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Fu=bt,Gu=String,Bu=Au("JSON","stringify"),Uu=ku(/./.exec),Vu=ku("".charAt),Hu=ku("".charCodeAt),Yu=ku("".replace),zu=ku(1..toString),Ku=/[\uD800-\uDFFF]/g,Wu=/^[\uD800-\uDBFF]$/,Ju=/^[\uDC00-\uDFFF]$/,qu=!Fu||Iu((function(){var t=Au("Symbol")();return"[null]"!=Bu([t])||"{}"!=Bu({a:t})||"{}"!=Bu(Object(t))})),$u=Iu((function(){return'"\\udf06\\ud834"'!==Bu("\udf06\ud834")||'"\\udead"'!==Bu("\udead")})),Xu=function(t,e){var r=Mu(arguments),n=Du(e);if(Cu(n)||void 0!==t&&!Nu(t))return r[1]=function(t,e){if(Cu(n)&&(e=Ru(n,this,Gu(t),e)),!Nu(e))return e},Lu(Bu,null,r)},Qu=function(t,e,r){var n=Vu(r,e-1),o=Vu(r,e+1);return Uu(Wu,t)&&!Uu(Ju,o)||Uu(Ju,t)&&!Uu(Wu,n)?"\\u"+zu(Hu(t,0),16):t};Bu&&Pu({target:"JSON",stat:!0,arity:3,forced:qu||$u},{stringify:function(t,e,r){var n=Mu(arguments),o=Lu(qu?Xu:Bu,null,n);return $u&&"string"==typeof o?Yu(o,Ku,Qu):o}});var Zu=ti,tc=qt;Pr({target:"Object",stat:!0,forced:!bt||i((function(){Zu.f(1)}))},{getOwnPropertySymbols:function(t){var e=Zu.f;return e?e(tc(t)):[]}}),hi("asyncIterator"),hi("hasInstance"),hi("isConcatSpreadable"),hi("iterator"),hi("match"),hi("matchAll"),hi("replace"),hi("search"),hi("species"),hi("split");var ec=bi;hi("toPrimitive"),ec();var rc=at,nc=Pi;hi("toStringTag"),nc(rc("Symbol"),"Symbol"),hi("unscopables"),Pi(o.JSON,"JSON",!0);var oc,ic,ac,uc=et.Symbol,cc={},fc=A,sc=Qt,lc=Function.prototype,pc=fc&&Object.getOwnPropertyDescriptor,vc=sc(lc,"name"),hc={EXISTS:vc,PROPER:vc&&"something"===function(){}.name,CONFIGURABLE:vc&&(!fc||fc&&pc(lc,"name").configurable)},dc=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yc=Qt,gc=_,mc=qt,bc=dc,wc=To("IE_PROTO"),Sc=Object,Oc=Sc.prototype,Ec=bc?Sc.getPrototypeOf:function(t){var e=mc(t);if(yc(e,wc))return e[wc];var r=e.constructor;return gc(r)&&e instanceof r?r.prototype:e instanceof Sc?Oc:null},jc=i,Tc=_,xc=tt,_c=Go,Pc=Ec,Ac=ri,Lc=pe("iterator"),Rc=!1;[].keys&&("next"in(ac=[].keys())?(ic=Pc(Pc(ac)))!==Object.prototype&&(oc=ic):Rc=!0);var kc=!xc(oc)||jc((function(){var t={};return oc[Lc].call(t)!==t}));Tc((oc=kc?{}:_c(oc))[Lc])||Ac(oc,Lc,(function(){return this}));var Ic={IteratorPrototype:oc,BUGGY_SAFARI_ITERATORS:Rc},Cc=Ic.IteratorPrototype,Nc=Go,Mc=G,Dc=Pi,Fc=cc,Gc=function(){return this},Bc=y,Uc=Rt,Vc=_,Hc=String,Yc=TypeError,zc=function(t,e,r){try{return Bc(Uc(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(n){}},Kc=rr,Wc=function(t){if("object"==typeof t||Vc(t))return t;throw Yc("Can't set "+Hc(t)+" as a prototype")},Jc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=zc(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(n){}return function(r,n){return Kc(r),Wc(n),e?t(r,n):r.__proto__=n,r}}():void 0),qc=Pr,$c=k,Xc=hc,Qc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Nc(Cc,{next:Mc(+!n,r)}),Dc(t,o,!1,!0),Fc[o]=Gc,t},Zc=Ec,tf=Pi,ef=ri,rf=cc,nf=Ic,of=Xc.PROPER,af=nf.BUGGY_SAFARI_ITERATORS,uf=pe("iterator"),cf="keys",ff="values",sf="entries",lf=function(){return this},pf=function(t,e,r,n,o,i,a){Qc(r,e,n);var u,c,f,s=function(t){if(t===o&&d)return d;if(!af&&t in v)return v[t];switch(t){case cf:case ff:case sf:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",p=!1,v=t.prototype,h=v[uf]||v["@@iterator"]||o&&v[o],d=!af&&h||s(o),y="Array"==e&&v.entries||h;if(y&&(u=Zc(y.call(new t)))!==Object.prototype&&u.next&&(tf(u,l,!0,!0),rf[l]=lf),of&&o==ff&&h&&h.name!==ff&&(p=!0,d=function(){return $c(h,this)}),o)if(c={values:s(ff),keys:i?d:s(cf),entries:s(sf)},a)for(f in c)(af||p||!(f in v))&&ef(v,f,c[f]);else qc({target:e,proto:!0,forced:af||p},c);return a&&v[uf]!==d&&ef(v,uf,d,{name:o}),rf[e]=d,c},vf=function(t,e){return{value:t,done:e}},hf=X,df=cc,yf=Yi;Xe.f;var gf=pf,mf=vf,bf="Array Iterator",wf=yf.set,Sf=yf.getterFor(bf);gf(Array,"Array",(function(t,e){wf(this,{type:bf,target:hf(t),index:0,kind:e})}),(function(){var t=Sf(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,mf(void 0,!0)):mf("keys"==r?n:"values"==r?e[n]:[n,e[n]],!1)}),"values"),df.Arguments=df.Array;var Of={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ef=o,jf=Zr,Tf=yr,xf=cc,_f=pe("toStringTag");for(var Pf in Of){var Af=Ef[Pf],Lf=Af&&Af.prototype;Lf&&jf(Lf)!==_f&&Tf(Lf,_f,Pf),xf[Pf]=xf.Array}var Rf=uc,kf=pe,If=Xe.f,Cf=kf("metadata"),Nf=Function.prototype;void 0===Nf[Cf]&&If(Nf,Cf,{value:null}),hi("dispose"),hi("metadata");var Mf=Rf;hi("asyncDispose");var Df=y,Ff=at("Symbol"),Gf=Ff.keyFor,Bf=Df(Ff.prototype.valueOf),Uf=Ff.isRegisteredSymbol||function(t){try{return void 0!==Gf(Bf(t))}catch(e){return!1}};Pr({target:"Symbol",stat:!0},{isRegisteredSymbol:Uf});for(var Vf=Kt,Hf=at,Yf=y,zf=Tt,Kf=pe,Wf=Hf("Symbol"),Jf=Wf.isWellKnownSymbol,qf=Hf("Object","getOwnPropertyNames"),$f=Yf(Wf.prototype.valueOf),Xf=Vf("wks"),Qf=0,Zf=qf(Wf),ts=Zf.length;Qf<ts;Qf++)try{var es=Zf[Qf];zf(Wf[es])&&Kf(es)}catch(VI){}var rs=function(t){if(Jf&&Jf(t))return!0;try{for(var e=$f(t),r=0,n=qf(Xf),o=n.length;r<o;r++)if(Xf[n[r]]==e)return!0}catch(VI){}return!1};Pr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:rs}),hi("matcher"),hi("observable"),Pr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Uf}),Pr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:rs}),hi("metadataKey"),hi("patternMatch"),hi("replaceAll");var ns=Mf,os=r(ns),is=y,as=Cr,us=Kn,cs=J,fs=is("".charAt),ss=is("".charCodeAt),ls=is("".slice),ps=function(t){return function(e,r){var n,o,i=us(cs(e)),a=as(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=ss(i,a))<55296||n>56319||a+1===u||(o=ss(i,a+1))<56320||o>57343?t?fs(i,a):n:t?ls(i,a,a+2):o-56320+(n-55296<<10)+65536}},vs={codeAt:ps(!1),charAt:ps(!0)}.charAt,hs=Kn,ds=Yi,ys=pf,gs=vf,ms="String Iterator",bs=ds.set,ws=ds.getterFor(ms);ys(String,"String",(function(t){bs(this,{type:ms,string:hs(t),index:0})}),(function(){var t,e=ws(this),r=e.string,n=e.index;return n>=r.length?gs(void 0,!0):(t=vs(r,n),e.index+=t.length,gs(t,!1))}));var Ss=r(ii.f("iterator"));function Os(t){return(Os="function"==typeof os&&"symbol"==typeof Ss?function(t){return typeof t}:function(t){return t&&"function"==typeof os&&t.constructor===os&&t!==os.prototype?"symbol":typeof t})(t)}var Es={exports:{}},js=Pr,Ts=A,xs=Xe.f;js({target:"Object",stat:!0,forced:Object.defineProperty!==xs,sham:!Ts},{defineProperty:xs});var _s=et.Object,Ps=Es.exports=function(t,e,r){return _s.defineProperty(t,e,r)};_s.defineProperty.sham&&(Ps.sham=!0);var As=Es.exports,Ls=r(As);Pr({target:"Object",stat:!0,sham:!A},{create:Go});var Rs=et.Object,ks=function(t,e){return Rs.create(t,e)},Is=r(ks),Cs=qt,Ns=Ec,Ms=dc;Pr({target:"Object",stat:!0,forced:i((function(){Ns(1)})),sham:!Ms},{getPrototypeOf:function(t){return Ns(Cs(t))}});var Ds=et.Object.getPrototypeOf,Fs=r(Ds),Gs=i,Bs=Qi.forEach,Us=function(t,e){var r=[][t];return!!r&&Gs((function(){r.call(null,e||function(){return 1},1)}))}("forEach")?[].forEach:function(t){return Bs(this,t,arguments.length>1?arguments[1]:void 0)};Pr({target:"Array",proto:!0,forced:[].forEach!=Us},{forEach:Us});var Vs=et,Hs=function(t){return Vs[t+"Prototype"]},Ys=Hs("Array").forEach,zs=Zr,Ks=Qt,Ws=ut,Js=Ys,qs=Array.prototype,$s={DOMTokenList:!0,NodeList:!0},Xs=function(t){var e=t.forEach;return t===qs||Ws(qs,t)&&e===qs.forEach||Ks($s,zs(t))?Js:e},Qs=r(Xs),Zs=A,tl=Lr,el=TypeError,rl=Object.getOwnPropertyDescriptor,nl=Zs&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(VI){return VI instanceof TypeError}}()?function(t,e){if(tl(t)&&!rl(t,"length").writable)throw el("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},ol=qt,il=Fr,al=nl,ul=Br;Pr({target:"Array",proto:!0,arity:1,forced:i((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(VI){return VI instanceof TypeError}}()},{push:function(t){var e=ol(this),r=il(e),n=arguments.length;ul(r+n);for(var o=0;o<n;o++)e[r]=arguments[o],r++;return al(e,r),r}});var cl=Hs("Array").push,fl=ut,sl=cl,ll=Array.prototype,pl=r((function(t){var e=t.push;return t===ll||fl(ll,t)&&e===ll.push?sl:e}));Pr({target:"Object",stat:!0},{setPrototypeOf:Jc});var vl=et.Object.setPrototypeOf,hl=r(vl),dl=at,yl=Bo,gl=ti,ml=rr,bl=y([].concat),wl=dl("Reflect","ownKeys")||function(t){var e=yl.f(ml(t)),r=gl.f;return r?bl(e,r(t)):e},Sl=Qt,Ol=wl,El=P,jl=Xe,Tl=tt,xl=yr,_l=Error,Pl=y("".replace),Al=String(_l("zxcasd").stack),Ll=/\n\s*at [^:]*:[^\n]*/,Rl=Ll.test(Al),kl=G,Il=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",kl(1,7)),7!==t.stack)})),Cl=yr,Nl=function(t,e){if(Rl&&"string"==typeof t&&!_l.prepareStackTrace)for(;e--;)t=Pl(t,Ll,"");return t},Ml=Il,Dl=Error.captureStackTrace,Fl=cc,Gl=pe("iterator"),Bl=Array.prototype,Ul=Zr,Vl=Ct,Hl=z,Yl=cc,zl=pe("iterator"),Kl=function(t){if(!Hl(t))return Vl(t,zl)||Vl(t,"@@iterator")||Yl[Ul(t)]},Wl=k,Jl=Rt,ql=rr,$l=_t,Xl=Kl,Ql=TypeError,Zl=k,tp=rr,ep=Ct,rp=$e,np=k,op=rr,ip=_t,ap=function(t){return void 0!==t&&(Fl.Array===t||Bl[Gl]===t)},up=Fr,cp=ut,fp=function(t,e){var r=arguments.length<2?Xl(t):e;if(Jl(r))return ql(Wl(r,t));throw Ql($l(t)+" is not iterable")},sp=Kl,lp=function(t,e,r){var n,o;tp(t);try{if(!(n=ep(t,"return"))){if("throw"===e)throw r;return r}n=Zl(n,t)}catch(VI){o=!0,n=VI}if("throw"===e)throw r;if(o)throw n;return tp(n),r},pp=TypeError,vp=function(t,e){this.stopped=t,this.result=e},hp=vp.prototype,dp=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),v=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),d=rp(e,s),y=function(t){return n&&lp(n,"normal",t),new vp(!0,t)},g=function(t){return l?(op(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=sp(t)))throw pp(ip(t)+" is not iterable");if(ap(o)){for(i=0,a=up(t);a>i;i++)if((u=g(t[i]))&&cp(hp,u))return u;return new vp(!1)}n=fp(t,o)}for(c=p?t.next:n.next;!(f=np(c,n)).done;){try{u=g(f.value)}catch(VI){lp(n,"throw",VI)}if("object"==typeof u&&u&&cp(hp,u))return u}return new vp(!1)},yp=Kn,gp=Pr,mp=ut,bp=Ec,wp=Jc,Sp=function(t,e,r){for(var n=Ol(e),o=jl.f,i=El.f,a=0;a<n.length;a++){var u=n[a];Sl(t,u)||r&&Sl(r,u)||o(t,u,i(e,u))}},Op=Go,Ep=yr,jp=G,Tp=function(t,e){Tl(e)&&"cause"in e&&xl(t,"cause",e.cause)},xp=function(t,e,r,n){Ml&&(Dl?Dl(t,e):Cl(t,"stack",Nl(r,n)))},_p=dp,Pp=function(t,e){return void 0===t?arguments.length<2?"":e:yp(t)},Ap=pe("toStringTag"),Lp=Error,Rp=[].push,kp=function(t,e){var r,n=mp(Ip,this);wp?r=wp(Lp(),n?bp(this):Ip):(r=n?this:Op(Ip),Ep(r,Ap,"Error")),void 0!==e&&Ep(r,"message",Pp(e)),xp(r,kp,r.stack,1),arguments.length>2&&Tp(r,arguments[2]);var o=[];return _p(t,Rp,{that:o}),Ep(r,"errors",o),r};wp?wp(kp,Lp):Sp(kp,Lp,{name:!0});var Ip=kp.prototype=Op(Lp.prototype,{constructor:jp(1,kp),message:jp(1,""),name:jp(1,"AggregateError")});gp({global:!0,constructor:!0,arity:2},{AggregateError:kp});var Cp,Np,Mp,Dp,Fp="undefined"!=typeof process&&"process"==w(process),Gp=at,Bp=oi,Up=A,Vp=pe("species"),Hp=ut,Yp=TypeError,zp=mn,Kp=_t,Wp=TypeError,Jp=function(t){if(zp(t))return t;throw Wp(Kp(t)+" is not a constructor")},qp=rr,$p=Jp,Xp=z,Qp=pe("species"),Zp=function(t,e){var r,n=qp(t).constructor;return void 0===n||Xp(r=qp(n)[Qp])?e:$p(r)},tv=TypeError,ev=/(?:ipad|iphone|ipod).*applewebkit/i.test(ct),rv=o,nv=l,ov=$e,iv=_,av=Qt,uv=i,cv=Oo,fv=Ou,sv=xe,lv=function(t,e){if(t<e)throw tv("Not enough arguments");return t},pv=ev,vv=Fp,hv=rv.setImmediate,dv=rv.clearImmediate,yv=rv.process,gv=rv.Dispatch,mv=rv.Function,bv=rv.MessageChannel,wv=rv.String,Sv=0,Ov={},Ev="onreadystatechange";uv((function(){Cp=rv.location}));var jv=function(t){if(av(Ov,t)){var e=Ov[t];delete Ov[t],e()}},Tv=function(t){return function(){jv(t)}},xv=function(t){jv(t.data)},_v=function(t){rv.postMessage(wv(t),Cp.protocol+"//"+Cp.host)};hv&&dv||(hv=function(t){lv(arguments.length,1);var e=iv(t)?t:mv(t),r=fv(arguments,1);return Ov[++Sv]=function(){nv(e,void 0,r)},Np(Sv),Sv},dv=function(t){delete Ov[t]},vv?Np=function(t){yv.nextTick(Tv(t))}:gv&&gv.now?Np=function(t){gv.now(Tv(t))}:bv&&!pv?(Dp=(Mp=new bv).port2,Mp.port1.onmessage=xv,Np=ov(Dp.postMessage,Dp)):rv.addEventListener&&iv(rv.postMessage)&&!rv.importScripts&&Cp&&"file:"!==Cp.protocol&&!uv(_v)?(Np=_v,rv.addEventListener("message",xv,!1)):Np=Ev in sv("script")?function(t){cv.appendChild(sv("script"))[Ev]=function(){cv.removeChild(this),jv(t)}}:function(t){setTimeout(Tv(t),0)});var Pv={set:hv,clear:dv},Av=function(){this.head=null,this.tail=null};Av.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Lv,Rv,kv,Iv,Cv,Nv=Av,Mv=/ipad|iphone|ipod/i.test(ct)&&"undefined"!=typeof Pebble,Dv=/web0s(?!.*chrome)/i.test(ct),Fv=o,Gv=$e,Bv=P.f,Uv=Pv.set,Vv=Nv,Hv=ev,Yv=Mv,zv=Dv,Kv=Fp,Wv=Fv.MutationObserver||Fv.WebKitMutationObserver,Jv=Fv.document,qv=Fv.process,$v=Fv.Promise,Xv=Bv(Fv,"queueMicrotask"),Qv=Xv&&Xv.value;if(!Qv){var Zv=new Vv,th=function(){var t,e;for(Kv&&(t=qv.domain)&&t.exit();e=Zv.get();)try{e()}catch(VI){throw Zv.head&&Lv(),VI}t&&t.enter()};Hv||Kv||zv||!Wv||!Jv?!Yv&&$v&&$v.resolve?((Iv=$v.resolve(void 0)).constructor=$v,Cv=Gv(Iv.then,Iv),Lv=function(){Cv(th)}):Kv?Lv=function(){qv.nextTick(th)}:(Uv=Gv(Uv,Fv),Lv=function(){Uv(th)}):(Rv=!0,kv=Jv.createTextNode(""),new Wv(th).observe(kv,{characterData:!0}),Lv=function(){kv.data=Rv=!Rv}),Qv=function(t){Zv.head||Lv(),Zv.add(t)}}var eh=Qv,rh=function(t){try{return{error:!1,value:t()}}catch(VI){return{error:!0,value:VI}}},nh=o.Promise,oh="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,ih=!oh&&!Fp&&"object"==typeof window&&"object"==typeof document,ah=o,uh=nh,ch=_,fh=Ke,sh=nn,lh=pe,ph=ih,vh=oh,hh=dt,dh=uh&&uh.prototype,yh=lh("species"),gh=!1,mh=ch(ah.PromiseRejectionEvent),bh={CONSTRUCTOR:fh("Promise",(function(){var t=sh(uh),e=t!==String(uh);if(!e&&66===hh)return!0;if(!dh.catch||!dh.finally)return!0;if(!hh||hh<51||!/native code/.test(t)){var r=new uh((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[yh]=n,!(gh=r.then((function(){}))instanceof n))return!0}return!e&&(ph||vh)&&!mh})),REJECTION_EVENT:mh,SUBCLASSING:gh},wh={},Sh=Rt,Oh=TypeError,Eh=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw Oh("Bad Promise constructor");e=t,r=n})),this.resolve=Sh(e),this.reject=Sh(r)};wh.f=function(t){return new Eh(t)};var jh,Th,xh=Pr,_h=Fp,Ph=o,Ah=k,Lh=ri,Rh=Pi,kh=function(t){var e=Gp(t);Up&&e&&!e[Vp]&&Bp(e,Vp,{configurable:!0,get:function(){return this}})},Ih=Rt,Ch=_,Nh=tt,Mh=function(t,e){if(Hp(e,t))return t;throw Yp("Incorrect invocation")},Dh=Zp,Fh=Pv.set,Gh=eh,Bh=function(t,e){try{1==arguments.length?console.error(t):console.error(t,e)}catch(VI){}},Uh=rh,Vh=Nv,Hh=Yi,Yh=nh,zh=bh,Kh=wh,Wh="Promise",Jh=zh.CONSTRUCTOR,qh=zh.REJECTION_EVENT,$h=Hh.getterFor(Wh),Xh=Hh.set,Qh=Yh&&Yh.prototype,Zh=Yh,td=Qh,ed=Ph.TypeError,rd=Ph.document,nd=Ph.process,od=Kh.f,id=od,ad=!!(rd&&rd.createEvent&&Ph.dispatchEvent),ud="unhandledrejection",cd=function(t){var e;return!(!Nh(t)||!Ch(e=t.then))&&e},fd=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&hd(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(ed("Promise-chain cycle")):(n=cd(r))?Ah(n,r,c,f):c(r)):f(i)}catch(VI){s&&!o&&s.exit(),f(VI)}},sd=function(t,e){t.notified||(t.notified=!0,Gh((function(){for(var r,n=t.reactions;r=n.get();)fd(r,t);t.notified=!1,e&&!t.rejection&&pd(t)})))},ld=function(t,e,r){var n,o;ad?((n=rd.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),Ph.dispatchEvent(n)):n={promise:e,reason:r},!qh&&(o=Ph["on"+t])?o(n):t===ud&&Bh("Unhandled promise rejection",r)},pd=function(t){Ah(Fh,Ph,(function(){var e,r=t.facade,n=t.value;if(vd(t)&&(e=Uh((function(){_h?nd.emit("unhandledRejection",n,r):ld(ud,r,n)})),t.rejection=_h||vd(t)?2:1,e.error))throw e.value}))},vd=function(t){return 1!==t.rejection&&!t.parent},hd=function(t){Ah(Fh,Ph,(function(){var e=t.facade;_h?nd.emit("rejectionHandled",e):ld("rejectionhandled",e,t.value)}))},dd=function(t,e,r){return function(n){t(e,n,r)}},yd=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,sd(t,!0))},gd=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw ed("Promise can't be resolved itself");var n=cd(e);n?Gh((function(){var r={done:!1};try{Ah(n,e,dd(gd,r,t),dd(yd,r,t))}catch(VI){yd(r,VI,t)}})):(t.value=e,t.state=1,sd(t,!1))}catch(VI){yd({done:!1},VI,t)}}};Jh&&(td=(Zh=function(t){Mh(this,td),Ih(t),Ah(jh,this);var e=$h(this);try{t(dd(gd,e),dd(yd,e))}catch(VI){yd(e,VI)}}).prototype,(jh=function(t){Xh(this,{type:Wh,done:!1,notified:!1,parent:!1,reactions:new Vh,rejection:!1,state:0,value:void 0})}).prototype=Lh(td,"then",(function(t,e){var r=$h(this),n=od(Dh(this,Zh));return r.parent=!0,n.ok=!Ch(t)||t,n.fail=Ch(e)&&e,n.domain=_h?nd.domain:void 0,0==r.state?r.reactions.add(n):Gh((function(){fd(n,r)})),n.promise})),Th=function(){var t=new jh,e=$h(t);this.promise=t,this.resolve=dd(gd,e),this.reject=dd(yd,e)},Kh.f=od=function(t){return t===Zh||undefined===t?new Th(t):id(t)}),xh({global:!0,constructor:!0,wrap:!0,forced:Jh},{Promise:Zh}),Rh(Zh,Wh,!1,!0),kh(Wh);var md=pe("iterator"),bd=!1;try{var wd=0,Sd={next:function(){return{done:!!wd++}},return:function(){bd=!0}};Sd[md]=function(){return this},Array.from(Sd,(function(){throw 2}))}catch(VI){}var Od=nh,Ed=bh.CONSTRUCTOR||!function(t,e){if(!e&&!bd)return!1;var r=!1;try{var n={};n[md]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(VI){}return r}((function(t){Od.all(t).then(void 0,(function(){}))})),jd=k,Td=Rt,xd=wh,_d=rh,Pd=dp;Pr({target:"Promise",stat:!0,forced:Ed},{all:function(t){var e=this,r=xd.f(e),n=r.resolve,o=r.reject,i=_d((function(){var r=Td(e.resolve),i=[],a=0,u=1;Pd(t,(function(t){var c=a++,f=!1;u++,jd(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var Ad=Pr,Ld=bh.CONSTRUCTOR;nh&&nh.prototype,Ad({target:"Promise",proto:!0,forced:Ld,real:!0},{catch:function(t){return this.then(void 0,t)}});var Rd=k,kd=Rt,Id=wh,Cd=rh,Nd=dp;Pr({target:"Promise",stat:!0,forced:Ed},{race:function(t){var e=this,r=Id.f(e),n=r.reject,o=Cd((function(){var o=kd(e.resolve);Nd(t,(function(t){Rd(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var Md=k,Dd=wh;Pr({target:"Promise",stat:!0,forced:bh.CONSTRUCTOR},{reject:function(t){var e=Dd.f(this);return Md(e.reject,void 0,t),e.promise}});var Fd=rr,Gd=tt,Bd=wh,Ud=function(t,e){if(Fd(t),Gd(e)&&e.constructor===t)return e;var r=Bd.f(t);return(0,r.resolve)(e),r.promise},Vd=Pr,Hd=nh,Yd=bh.CONSTRUCTOR,zd=Ud,Kd=at("Promise"),Wd=!Yd;Vd({target:"Promise",stat:!0,forced:true},{resolve:function(t){return zd(Wd&&this===Kd?Hd:this,t)}});var Jd=k,qd=Rt,$d=wh,Xd=rh,Qd=dp;Pr({target:"Promise",stat:!0,forced:Ed},{allSettled:function(t){var e=this,r=$d.f(e),n=r.resolve,o=r.reject,i=Xd((function(){var r=qd(e.resolve),o=[],i=0,a=1;Qd(t,(function(t){var u=i++,c=!1;a++,Jd(r,e,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),r.promise}});var Zd=k,ty=Rt,ey=at,ry=wh,ny=rh,oy=dp,iy="No one promise resolved";Pr({target:"Promise",stat:!0,forced:Ed},{any:function(t){var e=this,r=ey("AggregateError"),n=ry.f(e),o=n.resolve,i=n.reject,a=ny((function(){var n=ty(e.resolve),a=[],u=0,c=1,f=!1;oy(t,(function(t){var s=u++,l=!1;c++,Zd(n,e,t).then((function(t){l||f||(f=!0,o(t))}),(function(t){l||f||(l=!0,a[s]=t,--c||i(new r(a,iy)))}))})),--c||i(new r(a,iy))}));return a.error&&i(a.value),n.promise}});var ay=Pr,uy=nh,cy=i,fy=at,sy=_,ly=Zp,py=Ud,vy=uy&&uy.prototype;ay({target:"Promise",proto:!0,real:!0,forced:!!uy&&cy((function(){vy.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=ly(this,fy("Promise")),r=sy(t);return this.then(r?function(r){return py(e,t()).then((function(){return r}))}:t,r?function(r){return py(e,t()).then((function(){throw r}))}:t)}});var hy=et.Promise,dy=wh;Pr({target:"Promise",stat:!0,forced:!0},{withResolvers:function(){var t=dy.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});var yy=wh,gy=rh;Pr({target:"Promise",stat:!0,forced:!0},{try:function(t){var e=yy.f(this),r=gy(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var my=hy,by=r(my),wy=Pr,Sy=Lr,Oy=y([].reverse),Ey=[1,2];wy({target:"Array",proto:!0,forced:String(Ey)===String(Ey.reverse())},{reverse:function(){return Sy(this)&&(this.length=this.length),Oy(this)}});var jy=Hs("Array").reverse,Ty=ut,xy=jy,_y=Array.prototype,Py=function(t){var e=t.reverse;return t===_y||Ty(_y,t)&&e===_y.reverse?xy:e},Ay=r(Py),Ly=Pr,Ry=Lr,ky=mn,Iy=tt,Cy=Xn,Ny=Fr,My=X,Dy=Yr,Fy=pe,Gy=Ou,By=An("slice"),Uy=Fy("species"),Vy=Array,Hy=Math.max;Ly({target:"Array",proto:!0,forced:!By},{slice:function(t,e){var r,n,o,i=My(this),a=Ny(i),u=Cy(t,a),c=Cy(void 0===e?a:e,a);if(Ry(i)&&(r=i.constructor,(ky(r)&&(r===Vy||Ry(r.prototype))||Iy(r)&&null===(r=r[Uy]))&&(r=void 0),r===Vy||void 0===r))return Gy(i,u,c);for(n=new(void 0===r?Vy:r)(Hy(c-u,0)),o=0;u<c;u++,o++)u in i&&Dy(n,o,i[u]);return n.length=o,n}});var Yy=Hs("Array").slice,zy=ut,Ky=Yy,Wy=Array.prototype,Jy=function(t){var e=t.slice;return t===Wy||zy(Wy,t)&&e===Wy.slice?Ky:e},qy=r(Jy);function $y(){$y=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Ls||function(t,e,r){t[e]=r.value},o="function"==typeof os?os:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Ls(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(_){c=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Is(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(_){return{type:"throw",arg:_}}}t.wrap=f;var l={};function p(){}function v(){}function h(){}var d={};c(d,i,(function(){return this}));var y=Fs&&Fs(Fs(T([])));y&&y!==e&&r.call(y,i)&&(d=y);var g=h.prototype=p.prototype=Is(d);function m(t){var e;Qs(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,i,a,u){var c=s(t[n],t,i);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==Os(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function w(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),l;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function O(t){var e,r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),pl(e=this.tryEntries).call(e,r)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],Qs(t).call(t,O,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:x}}function x(){return{value:void 0,done:!0}}return v.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:v,configurable:!0}),v.displayName=c(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return hl?hl(t,h):(t.__proto__=h,c(t,u,"GeneratorFunction")),t.prototype=Is(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=by);var a=new b(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)pl(r).call(r,n);return Ay(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,j.prototype={constructor:j,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Qs(e=this.tryEntries).call(e,E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+qy(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function Xy(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(VI){return void r(VI)}u.done?e(c):by.resolve(c).then(n,o)}function Qy(t){return function(){var e=this,r=arguments;return new by((function(n,o){var i=t.apply(e,r);function a(t){Xy(i,n,o,a,u,"next",t)}function u(t){Xy(i,n,o,a,u,"throw",t)}a(void 0)}))}}function Zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var tg=ii.f("toPrimitive"),eg=r(tg);function rg(t){var e=function(t,e){if("object"!==Os(t)||null===t)return t;var r=t[eg];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Os(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Os(e)?e:String(e)}function ng(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Ls(t,rg(n.key),n)}}function og(t,e,r){return e&&ng(t.prototype,e),r&&ng(t,r),Ls(t,"prototype",{writable:!1}),t}var ig=y,ag=Rt,ug=tt,cg=Qt,fg=Ou,sg=a,lg=Function,pg=ig([].concat),vg=ig([].join),hg={},dg=sg?lg.bind:function(t){var e=ag(this),r=e.prototype,n=fg(arguments,1),o=function(){var r=pg(n,fg(arguments));return this instanceof o?function(t,e,r){if(!cg(hg,e)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";hg[e]=lg("C,a","return new C("+vg(n,",")+")")}return hg[e](t,r)}(e,r.length,r):e.apply(t,r)};return ug(r)&&(o.prototype=r),o},yg=dg;Pr({target:"Function",proto:!0,forced:Function.bind!==yg},{bind:yg});var gg=Hs("Function").bind,mg=ut,bg=gg,wg=Function.prototype,Sg=r((function(t){var e=t.bind;return t===wg||mg(wg,t)&&e===wg.bind?bg:e}));function Og(t,e){var r;return(Og=hl?Sg(r=hl).call(r):function(t,e){return t.__proto__=e,t})(t,e)}function Eg(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Is(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Ls(t,"prototype",{writable:!1}),e&&Og(t,e)}var jg=Pr,Tg=l,xg=dg,_g=Jp,Pg=rr,Ag=tt,Lg=Go,Rg=i,kg=at("Reflect","construct"),Ig=Object.prototype,Cg=[].push,Ng=Rg((function(){function t(){}return!(kg((function(){}),[],t)instanceof t)})),Mg=!Rg((function(){kg((function(){}))})),Dg=Ng||Mg;jg({target:"Reflect",stat:!0,forced:Dg,sham:Dg},{construct:function(t,e){_g(t),Pg(e);var r=arguments.length<3?t:_g(arguments[2]);if(Mg&&!Ng)return kg(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return Tg(Cg,n,e),new(Tg(xg,t,n))}var o=r.prototype,i=Lg(Ag(o)?o:Ig),a=Tg(t,i,e);return Ag(a)?a:i}});var Fg=r(et.Reflect.construct);function Gg(t){var e;return(Gg=hl?Sg(e=Fs).call(e):function(t){return t.__proto__||Fs(t)})(t)}function Bg(){if("undefined"==typeof Reflect||!Fg)return!1;if(Fg.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Fg(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Ug(t,e){if(e&&("object"===Os(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Vg(t){var e=Bg();return function(){var r,n=Gg(t);if(e){var o=Gg(this).constructor;r=Fg(n,arguments,o)}else r=n.apply(this,arguments);return Ug(this,r)}}var Hg=et,Yg=l;Hg.JSON||(Hg.JSON={stringify:JSON.stringify});var zg=function(t,e,r){return Yg(Hg.JSON.stringify,null,arguments)},Kg=r(zg),Wg=qt,Jg=vo;Pr({target:"Object",stat:!0,forced:i((function(){Jg(1)}))},{keys:function(t){return Jg(Wg(t))}});var qg=et.Object.keys,$g=r(qg),Xg=et.Object.getOwnPropertySymbols,Qg=r(Xg),Zg=Qi.filter;Pr({target:"Array",proto:!0,forced:!An("filter")},{filter:function(t){return Zg(this,t,arguments.length>1?arguments[1]:void 0)}});var tm=Hs("Array").filter,em=ut,rm=tm,nm=Array.prototype,om=function(t){var e=t.filter;return t===nm||em(nm,t)&&e===nm.filter?rm:e},im=r(om),am={exports:{}},um=Pr,cm=i,fm=X,sm=P.f,lm=A;um({target:"Object",stat:!0,forced:!lm||cm((function(){sm(1)})),sham:!lm},{getOwnPropertyDescriptor:function(t,e){return sm(fm(t),e)}});var pm=et.Object,vm=am.exports=function(t,e){return pm.getOwnPropertyDescriptor(t,e)};pm.getOwnPropertyDescriptor.sham&&(vm.sham=!0);var hm=am.exports,dm=r(hm),ym=wl,gm=X,mm=P,bm=Yr;Pr({target:"Object",stat:!0,sham:!A},{getOwnPropertyDescriptors:function(t){for(var e,r,n=gm(t),o=mm.f,i=ym(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&bm(a,e,r);return a}});var wm=et.Object.getOwnPropertyDescriptors,Sm=r(wm),Om={exports:{}},Em=Pr,jm=A,Tm=Wn.f;Em({target:"Object",stat:!0,forced:Object.defineProperties!==Tm,sham:!jm},{defineProperties:Tm});var xm=et.Object,_m=Om.exports=function(t,e){return xm.defineProperties(t,e)};xm.defineProperties.sham&&(_m.sham=!0);var Pm=Om.exports,Am=r(Pm);function Lm(t,e,r){return(e=rg(e))in t?Ls(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rm(t,e){var r=$g(t);if(Qg){var n=Qg(t);e&&(n=im(n).call(n,(function(e){return dm(t,e).enumerable}))),pl(r).apply(r,n)}return r}function km(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?Qs(r=Rm(Object(o),!0)).call(r,(function(e){Lm(t,e,o[e])})):Sm?Am(t,Sm(o)):Qs(n=Rm(Object(o))).call(n,(function(e){Ls(t,e,dm(o,e))}))}return t}var Im=r(As),Cm=r(my),Nm="\t\n\v\f\r \u2028\u2029\ufeff",Mm=J,Dm=Kn,Fm=Nm,Gm=y("".replace),Bm=RegExp("^["+Fm+"]+"),Um=RegExp("(^|[^"+Fm+"])["+Fm+"]+$"),Vm=function(t){return function(e){var r=Dm(Mm(e));return 1&t&&(r=Gm(r,Bm,"")),2&t&&(r=Gm(r,Um,"$1")),r}},Hm={start:Vm(1),end:Vm(2),trim:Vm(3)},Ym=hc.PROPER,zm=i,Km=Nm,Wm=Hm.trim;Pr({target:"String",proto:!0,forced:function(t){return zm((function(){return!!Km[t]()||"
"!=="
"[t]()||Ym&&Km[t].name!==t}))}("trim")},{trim:function(){return Wm(this)}});var Jm=Hs("String").trim,qm=ut,$m=Jm,Xm=String.prototype,Qm=r((function(t){var e=t.trim;return"string"==typeof t||t===Xm||qm(Xm,t)&&e===Xm.trim?$m:e})),Zm=/ANGLE\s+\((?:[^,]+,\s+)?([^,/]+)?(?:[^,]*)(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,tb=/ANGLE\s+\((?:[^,]+,\s+)?([^,]+)?(?:[,\s]+)(Direct\S+|OpenGL[\d.\s]+)/,eb="OpenGL Engine",rb="Unknow",nb=4318,ob=32902,ib=4098,ab=function(t){return t.CpuDeriver="CpuDeriver",t.Intel="Intel",t.Nvidia="NVIDIA",t.Amd="AMD",t.Apple="Apple",t[t.Unknow=rb]="Unknow",t}(ab||{});function ub(t){return"NVIDIA"===t?nb:"AMD"===t?ib:"Intel"===t?ob:0}function cb(t){var e,r,n,o,i=function(t){var e=/(SwiftShader|Intel|NVIDIA|AMD|Radeon|Apple)/.exec(t);return e?"Radeon"===e[0]?"AMD":"SwiftShader"===e[0]?"CpuDeriver":e[0]:ab.Unknow}(t);return i===ab.Unknow||"CpuDeriver"===i?{vendor:i,vendorId:0,model:rb,backupModel:rb,api:rb}:/^ANGLE/.test(t)?function(t,e){var r,n,o,i,a,u=rb,c=rb,f=rb;return"Intel"!==t&&"NVIDIA"!==t||(r=Zm.exec(e)),"AMD"!==t&&"Apple"!==t||(r=tb.exec(e)),(null==r?void 0:r[1])&&(null==r?void 0:r[2])&&(u=Qm(n=r[1].replace(/(AMD|NVIDIA)/,"")).call(n),f=Qm(o=r[2]).call(o)),c="Intel"===t?u=Qm(i=u.split(eb)[0]).call(i):Qm(a=u.split(eb)[0]).call(a),{vendor:t,vendorId:ub(t),model:u,backupModel:c,api:f}}(i,t):"Intel"===i?{vendor:i,vendorId:ub(i),model:Qm(n=t.split(eb)[0]).call(n),backupModel:Qm(o=t.split(eb)[0]).call(o),api:rb}:{vendor:i,vendorId:ub(i),model:Qm(e=t.replace(/(AMD|NVIDIA)/,"")).call(e),backupModel:Qm(r=t.split(eb)[0].replace(/(AMD|NVIDIA)/,"")).call(r),api:rb}}var fb=Qi.map;Pr({target:"Array",proto:!0,forced:!An("map")},{map:function(t){return fb(this,t,arguments.length>1?arguments[1]:void 0)}});var sb=Hs("Array").map,lb=ut,pb=sb,vb=Array.prototype,hb=r((function(t){var e=t.map;return t===vb||lb(vb,t)&&e===vb.map?pb:e})),db=r(om),yb=o,gb=i,mb=y,bb=Kn,wb=Hm.trim,Sb=Nm,Ob=yb.parseInt,Eb=yb.Symbol,jb=Eb&&Eb.iterator,Tb=/^[+-]?0x/i,xb=mb(Tb.exec),_b=8!==Ob(Sb+"08")||22!==Ob(Sb+"0x16")||jb&&!gb((function(){Ob(Object(jb))}))?function(t,e){var r=wb(bb(t));return Ob(r,e>>>0||(xb(Tb,r)?16:10))}:Ob;Pr({global:!0,forced:parseInt!=_b},{parseInt:_b});var Pb=r(et.parseInt),Ab=o,Lb=i,Rb=Kn,kb=Hm.trim,Ib=Nm,Cb=y("".charAt),Nb=Ab.parseFloat,Mb=Ab.Symbol,Db=Mb&&Mb.iterator,Fb=1/Nb(Ib+"-0")!=-1/0||Db&&!Lb((function(){Nb(Object(Db))}))?function(t){var e=kb(Rb(t)),r=Nb(e);return 0===r&&"-"==Cb(e,0)?-0:r}:Nb;Pr({global:!0,forced:parseFloat!=Fb},{parseFloat:Fb});var Gb=r(et.parseFloat),Bb=Pr,Ub=Math.log,Vb=Math.LN2;Bb({target:"Math",stat:!0},{log2:function(t){return Ub(t)/Vb}});var Hb=r(et.Math.log2),Yb="g_ven";function zb(t,e){var r,n;e===ab.Intel?r=hb(n=t.split("\n")).call(n,(function(t){return"Intel(R) ".concat(t)})):r=t.split("\n");return hb(r).call(r,(function(t){return t.split("|")}))}function Kb(t){return 0===t?0:-1===t?-1:Gb(Hb(t).toFixed(2))}var Wb=[],Jb=[],qb=[];function $b(){return($b=Qy($y().mark((function t(e,r){var n,o,i;return $y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e!==ab.Intel){t.next=4;break}if(!Wb.length){t.next=3;break}return t.abrupt("return",Wb);case 3:n=r.intelPath;case 4:if(e!==ab.Nvidia){t.next=8;break}if(!Jb.length){t.next=7;break}return t.abrupt("return",Jb);case 7:n=r.nvidiaPath;case 8:if(e!==ab.Amd){t.next=12;break}if(!qb.length){t.next=11;break}return t.abrupt("return",qb);case 11:n=r.amdPath;case 12:if(n){t.next=14;break}return t.abrupt("return",Cm.resolve([]));case 14:return t.prev=14,t.next=17,fetch(n).then((function(t){return t.text()}));case 17:return o=t.sent,i=zb(o,e),e===ab.Intel&&(Wb=i),e===ab.Nvidia&&(Jb=i),e===ab.Amd&&(qb=i),t.abrupt("return",i);case 25:t.prev=25,t.t0=t.catch(14);case 27:return t.abrupt("return",[]);case 28:case"end":return t.stop()}}),t,null,[[14,25]])})))).apply(this,arguments)}function Xb(t,e){return t?function(t,e){return $b.apply(this,arguments)}(t.vendor,e).then((function(e){return function(t,e){var r=db(t).call(t,(function(t){return t[0]===e.model}));r.length||(r=db(t).call(t,(function(t){return t[0]===e.backupModel}))),r.length||e.vendor!==ab.Intel||/^Intel(R)/.test(e.model)||(r=db(t).call(t,(function(t){return t[0]==="Intel(R) "+e.model})));var n="-1";if(r.length){var o=r[0][1];n="-1"===o?"0":o}return Pb(n)}(e,t)})).then(Kb):Cm.resolve(0)}var Qb=Im,Zb="";function tw(){return Zb||(Zb=function(){try{var t=localStorage.getItem(Yb)||"";if(t)return t;var e,r=document.createElement("canvas").getContext("webgl");if(r)return(t=(e=r.getExtension("WEBGL_debug_renderer_info"))?r.getParameter(e.UNMASKED_RENDERER_WEBGL):"")&&localStorage.setItem(Yb,t),t}catch(n){}return""}())}function ew(t){var e;try{e=cb(t||ow.getGPUVendor())}catch(r){return null}return e}var rw,nw,ow=function(){function t(){Zy(this,t)}return og(t,null,[{key:"setConfig",value:function(e){t.cfg=e}},{key:"getGPUVendor",value:function(){return tw()}},{key:"parseVendorAsync",value:function(e){var r=ew(e);if(!r)return Cm.resolve(null);if(!t.cfg)throw new Error("need specify config, call setConfig() method");return Xb(r,t.cfg).then((function(t){return km(km({},r||{}),{},{score:t})})).catch((function(){return null}))}}]),t}();function iw(){var t=!1;if("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)return t;if(t=MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"')){var e=ew();t=!!e&&e.vendor!==ab.CpuDeriver}return t}nw=null,function(t,e,r){e in t?Qb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r}(ow,"symbol"!==Os(rw="cfg")?rw+"":rw,nw);var aw=A,uw=y,cw=k,fw=i,sw=vo,lw=ti,pw=I,vw=qt,hw=Y,dw=Object.assign,yw=Object.defineProperty,gw=uw([].concat),mw=!dw||fw((function(){if(aw&&1!==dw({b:1},dw(yw({},"a",{enumerable:!0,get:function(){yw(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=dw({},t)[r]||sw(dw({},e)).join("")!=n}))?function(t,e){for(var r=vw(t),n=arguments.length,o=1,i=lw.f,a=pw.f;n>o;)for(var u,c=hw(arguments[o++]),f=i?gw(sw(c),i(c)):sw(c),s=f.length,l=0;s>l;)u=f[l++],aw&&!cw(a,c,u)||(r[u]=c[u]);return r}:dw,bw=mw;Pr({target:"Object",stat:!0,arity:2,forced:Object.assign!==bw},{assign:bw});var ww=r(et.Object.assign),Sw=Hs("Array").concat,Ow=ut,Ew=Sw,jw=Array.prototype,Tw=r((function(t){var e=t.concat;return t===jw||Ow(jw,t)&&e===jw.concat?Ew:e})),xw=r(qg),_w=r(Xg),Pw=r(hm),Aw=r(Xs),Lw=r(wm),Rw=r(Pm),kw=r(ns),Iw=r(ks),Cw=r(Ds),Nw=r(vl),Mw=r(Py),Dw=r(Jy),Fw=r(tg);function Gw(t,e){var r=xw(t);if(_w){var n=_w(t);e&&(n=db(n).call(n,(function(e){return Pw(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bw(t){for(var e=1;e<arguments.length;e++){var r,n,o=null!=arguments[e]?arguments[e]:{};e%2?Aw(r=Gw(Object(o),!0)).call(r,(function(e){Hw(t,e,o[e])})):Lw?Rw(t,Lw(o)):Aw(n=Gw(Object(o))).call(n,(function(e){Im(t,e,Pw(o,e))}))}return t}function Uw(){Uw=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Im||function(t,e,r){t[e]=r.value},o="function"==typeof kw?kw:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Im(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(_){c=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Iw(i.prototype),u=new j(o||[]);return n(a,"_invoke",{value:w(t,r,u)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(_){return{type:"throw",arg:_}}}t.wrap=f;var l={};function p(){}function v(){}function h(){}var d={};c(d,i,(function(){return this}));var y=Cw&&Cw(Cw(T([])));y&&y!==e&&r.call(y,i)&&(d=y);var g=h.prototype=p.prototype=Iw(d);function m(t){var e;Aw(e=["next","throw","return"]).call(e,(function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,i,a,u){var c=s(t[n],t,i);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==Os(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,u)}),(function(t){o("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return o("throw",t,a,u)}))}u(c.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function w(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=s(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),l;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],Aw(t).call(t,O,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:x}}function x(){return{value:void 0,done:!0}}return v.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:v,configurable:!0}),v.displayName=c(h,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Nw?Nw(t,h):(t.__proto__=h,c(t,u,"GeneratorFunction")),t.prototype=Iw(g),t},t.awrap=function(t){return{__await:t}},m(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,i){void 0===i&&(i=Cm);var a=new b(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},m(g),c(g,u,"Generator"),c(g,i,(function(){return this})),c(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return Mw(r).call(r),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=T,j.prototype={constructor:j,reset:function(t){var e;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,Aw(e=this.tryEntries).call(e,E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+Dw(n).call(n,1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function Vw(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(VI){return void r(VI)}u.done?e(c):Cm.resolve(c).then(n,o)}function Hw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Os(t)||null===t)return t;var r=t[Fw];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==Os(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Os(e)?e:String(e)}(e))in t?Im(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yw=function(t){return t&&t.Math==Math&&t},zw=Yw("object"==typeof globalThis&&globalThis)||Yw("object"==typeof window&&window)||Yw("object"==typeof self&&self)||Yw("object"==typeof e&&e)||function(){return this}()||Function("return this")(),Kw={},Ww=function(t){try{return!!t()}catch(VI){return!0}},Jw=!Ww((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),qw=!Ww((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),$w=qw,Xw=Function.prototype.call,Qw=$w?Xw.bind(Xw):function(){return Xw.apply(Xw,arguments)},Zw={},tS={}.propertyIsEnumerable,eS=Object.getOwnPropertyDescriptor,rS=eS&&!tS.call({1:2},1);Zw.f=rS?function(t){var e=eS(this,t);return!!e&&e.enumerable}:tS;var nS,oS,iS=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},aS=qw,uS=Function.prototype,cS=uS.call,fS=aS&&uS.bind.bind(cS,cS),sS=aS?fS:function(t){return function(){return cS.apply(t,arguments)}},lS=sS,pS=lS({}.toString),vS=lS("".slice),hS=function(t){return vS(pS(t),8,-1)},dS=Ww,yS=hS,gS=Object,mS=sS("".split),bS=dS((function(){return!gS("z").propertyIsEnumerable(0)}))?function(t){return"String"==yS(t)?mS(t,""):gS(t)}:gS,wS=function(t){return null==t},SS=wS,OS=TypeError,ES=function(t){if(SS(t))throw OS("Can't call method on "+t);return t},jS=bS,TS=ES,xS=function(t){return jS(TS(t))},_S="object"==typeof document&&document.all,PS={all:_S,IS_HTMLDDA:void 0===_S&&void 0!==_S},AS=PS.all,LS=PS.IS_HTMLDDA?function(t){return"function"==typeof t||t===AS}:function(t){return"function"==typeof t},RS=LS,kS=PS.all,IS=PS.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:RS(t)||t===kS}:function(t){return"object"==typeof t?null!==t:RS(t)},CS=zw,NS=LS,MS=function(t,e){return arguments.length<2?(r=CS[t],NS(r)?r:void 0):CS[t]&&CS[t][e];var r},DS=sS({}.isPrototypeOf),FS=MS("navigator","userAgent")||"",GS=zw,BS=FS,US=GS.process,VS=GS.Deno,HS=US&&US.versions||VS&&VS.version,YS=HS&&HS.v8;YS&&(oS=(nS=YS.split("."))[0]>0&&nS[0]<4?1:+(nS[0]+nS[1])),!oS&&BS&&(!(nS=BS.match(/Edge\/(\d+)/))||nS[1]>=74)&&(nS=BS.match(/Chrome\/(\d+)/))&&(oS=+nS[1]);var zS=oS,KS=zS,WS=Ww,JS=!!Object.getOwnPropertySymbols&&!WS((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&KS&&KS<41})),qS=JS&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,$S=MS,XS=LS,QS=DS,ZS=Object,tO=qS?function(t){return"symbol"==typeof t}:function(t){var e=$S("Symbol");return XS(e)&&QS(e.prototype,ZS(t))},eO=String,rO=function(t){try{return eO(t)}catch(VI){return"Object"}},nO=LS,oO=rO,iO=TypeError,aO=function(t){if(nO(t))return t;throw iO(oO(t)+" is not a function")},uO=aO,cO=wS,fO=function(t,e){var r=t[e];return cO(r)?void 0:uO(r)},sO=Qw,lO=LS,pO=IS,vO=TypeError,hO={exports:{}},dO=zw,yO=Object.defineProperty,gO=function(t,e){try{yO(dO,t,{value:e,configurable:!0,writable:!0})}catch(VI){dO[t]=e}return e},mO=gO,bO="__core-js_shared__",wO=zw[bO]||mO(bO,{}),SO=wO;(hO.exports=function(t,e){return SO[t]||(SO[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var OO=hO.exports,EO=ES,jO=Object,TO=function(t){return jO(EO(t))},xO=TO,_O=sS({}.hasOwnProperty),PO=Object.hasOwn||function(t,e){return _O(xO(t),e)},AO=sS,LO=0,RO=Math.random(),kO=AO(1..toString),IO=function(t){return"Symbol("+(void 0===t?"":t)+")_"+kO(++LO+RO,36)},CO=zw,NO=PO,MO=IO,DO=JS,FO=qS,GO=OO("wks"),BO=CO.Symbol,UO=BO&&BO.for,VO=FO?BO:BO&&BO.withoutSetter||MO,HO=function(t){if(!NO(GO,t)||!DO&&"string"!=typeof GO[t]){var e="Symbol."+t;DO&&NO(BO,t)?GO[t]=BO[t]:GO[t]=FO&&UO?UO(e):VO(e)}return GO[t]},YO=Qw,zO=IS,KO=tO,WO=fO,JO=function(t,e){var r,n;if("string"===e&&lO(r=t.toString)&&!pO(n=sO(r,t)))return n;if(lO(r=t.valueOf)&&!pO(n=sO(r,t)))return n;if("string"!==e&&lO(r=t.toString)&&!pO(n=sO(r,t)))return n;throw vO("Can't convert object to primitive value")},qO=TypeError,$O=HO("toPrimitive"),XO=function(t,e){if(!zO(t)||KO(t))return t;var r,n=WO(t,$O);if(n){if(void 0===e&&(e="default"),r=YO(n,t,e),!zO(r)||KO(r))return r;throw qO("Can't convert object to primitive value")}return void 0===e&&(e="number"),JO(t,e)},QO=tO,ZO=function(t){var e=XO(t,"string");return QO(e)?e:e+""},tE=IS,eE=zw.document,rE=tE(eE)&&tE(eE.createElement),nE=function(t){return rE?eE.createElement(t):{}},oE=nE,iE=!Jw&&!Ww((function(){return 7!=Object.defineProperty(oE("div"),"a",{get:function(){return 7}}).a})),aE=Jw,uE=Qw,cE=Zw,fE=iS,sE=xS,lE=ZO,pE=PO,vE=iE,hE=Object.getOwnPropertyDescriptor;Kw.f=aE?hE:function(t,e){if(t=sE(t),e=lE(e),vE)try{return hE(t,e)}catch(VI){}if(pE(t,e))return fE(!uE(cE.f,t,e),t[e])};var dE={},yE=Jw&&Ww((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),gE=IS,mE=String,bE=TypeError,wE=function(t){if(gE(t))return t;throw bE(mE(t)+" is not an object")},SE=Jw,OE=iE,EE=yE,jE=wE,TE=ZO,xE=TypeError,_E=Object.defineProperty,PE=Object.getOwnPropertyDescriptor,AE="enumerable",LE="configurable",RE="writable";dE.f=SE?EE?function(t,e,r){if(jE(t),e=TE(e),jE(r),"function"==typeof t&&"prototype"===e&&"value"in r&&RE in r&&!r[RE]){var n=PE(t,e);n&&n[RE]&&(t[e]=r.value,r={configurable:LE in r?r[LE]:n[LE],enumerable:AE in r?r[AE]:n[AE],writable:!1})}return _E(t,e,r)}:_E:function(t,e,r){if(jE(t),e=TE(e),jE(r),OE)try{return _E(t,e,r)}catch(VI){}if("get"in r||"set"in r)throw xE("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var kE=dE,IE=iS,CE=Jw?function(t,e,r){return kE.f(t,e,IE(1,r))}:function(t,e,r){return t[e]=r,t},NE={exports:{}},ME=Jw,DE=PO,FE=Function.prototype,GE=ME&&Object.getOwnPropertyDescriptor,BE=DE(FE,"name"),UE={EXISTS:BE,PROPER:BE&&"something"===function(){}.name,CONFIGURABLE:BE&&(!ME||ME&&GE(FE,"name").configurable)},VE=LS,HE=wO,YE=sS(Function.toString);VE(HE.inspectSource)||(HE.inspectSource=function(t){return YE(t)});var zE,KE,WE,JE=HE.inspectSource,qE=LS,$E=zw.WeakMap,XE=qE($E)&&/native code/.test(String($E)),QE=IO,ZE=OO("keys"),tj=function(t){return ZE[t]||(ZE[t]=QE(t))},ej={},rj=XE,nj=zw,oj=IS,ij=CE,aj=PO,uj=wO,cj=tj,fj=ej,sj="Object already initialized",lj=nj.TypeError,pj=nj.WeakMap;if(rj||uj.state){var vj=uj.state||(uj.state=new pj);vj.get=vj.get,vj.has=vj.has,vj.set=vj.set,zE=function(t,e){if(vj.has(t))throw lj(sj);return e.facade=t,vj.set(t,e),e},KE=function(t){return vj.get(t)||{}},WE=function(t){return vj.has(t)}}else{var hj=cj("state");fj[hj]=!0,zE=function(t,e){if(aj(t,hj))throw lj(sj);return e.facade=t,ij(t,hj,e),e},KE=function(t){return aj(t,hj)?t[hj]:{}},WE=function(t){return aj(t,hj)}}var dj={set:zE,get:KE,has:WE,enforce:function(t){return WE(t)?KE(t):zE(t,{})},getterFor:function(t){return function(e){var r;if(!oj(e)||(r=KE(e)).type!==t)throw lj("Incompatible receiver, "+t+" required");return r}}},yj=Ww,gj=LS,mj=PO,bj=Jw,wj=UE.CONFIGURABLE,Sj=JE,Oj=dj.enforce,Ej=dj.get,jj=Object.defineProperty,Tj=bj&&!yj((function(){return 8!==jj((function(){}),"length",{value:8}).length})),xj=String(String).split("String"),_j=NE.exports=function(t,e,r){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!mj(t,"name")||wj&&t.name!==e)&&(bj?jj(t,"name",{value:e,configurable:!0}):t.name=e),Tj&&r&&mj(r,"arity")&&t.length!==r.arity&&jj(t,"length",{value:r.arity});try{r&&mj(r,"constructor")&&r.constructor?bj&&jj(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(VI){}var n=Oj(t);return mj(n,"source")||(n.source=xj.join("string"==typeof e?e:"")),t};Function.prototype.toString=_j((function(){return gj(this)&&Ej(this).source||Sj(this)}),"toString");var Pj=NE.exports,Aj=LS,Lj=dE,Rj=Pj,kj=gO,Ij=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(Aj(r)&&Rj(r,i,n),n.global)o?t[e]=r:kj(e,r);else{try{n.unsafe?t[e]&&(o=!0):delete t[e]}catch(VI){}o?t[e]=r:Lj.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},Cj={},Nj=Math.ceil,Mj=Math.floor,Dj=Math.trunc||function(t){var e=+t;return(e>0?Mj:Nj)(e)},Fj=function(t){var e=+t;return e!=e||0===e?0:Dj(e)},Gj=Fj,Bj=Math.max,Uj=Math.min,Vj=Fj,Hj=Math.min,Yj=function(t){return t>0?Hj(Vj(t),9007199254740991):0},zj=function(t){return Yj(t.length)},Kj=xS,Wj=function(t,e){var r=Gj(t);return r<0?Bj(r+e,0):Uj(r,e)},Jj=zj,qj=function(t){return function(e,r,n){var o,i=Kj(e),a=Jj(i),u=Wj(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},$j={includes:qj(!0),indexOf:qj(!1)},Xj=PO,Qj=xS,Zj=$j.indexOf,tT=ej,eT=sS([].push),rT=function(t,e){var r,n=Qj(t),o=0,i=[];for(r in n)!Xj(tT,r)&&Xj(n,r)&&eT(i,r);for(;e.length>o;)Xj(n,r=e[o++])&&(~Zj(i,r)||eT(i,r));return i},nT=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oT=rT,iT=nT.concat("length","prototype");Cj.f=Object.getOwnPropertyNames||function(t){return oT(t,iT)};var aT={};aT.f=Object.getOwnPropertySymbols;var uT=MS,cT=Cj,fT=aT,sT=wE,lT=sS([].concat),pT=uT("Reflect","ownKeys")||function(t){var e=cT.f(sT(t)),r=fT.f;return r?lT(e,r(t)):e},vT=PO,hT=pT,dT=Kw,yT=dE,gT=Ww,mT=LS,bT=/#|\.prototype\./,wT=function(t,e){var r=OT[ST(t)];return r==jT||r!=ET&&(mT(e)?gT(e):!!e)},ST=wT.normalize=function(t){return String(t).replace(bT,".").toLowerCase()},OT=wT.data={},ET=wT.NATIVE="N",jT=wT.POLYFILL="P",TT=wT,xT=zw,_T=Kw.f,PT=CE,AT=Ij,LT=gO,RT=function(t,e,r){for(var n=hT(e),o=yT.f,i=dT.f,a=0;a<n.length;a++){var u=n[a];vT(t,u)||r&&vT(r,u)||o(t,u,i(e,u))}},kT=TT,IT=function(t,e){var r,n,o,i,a,u=t.target,c=t.global,f=t.stat;if(r=c?xT:f?xT[u]||LT(u,{}):(xT[u]||{}).prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=_T(r,n))&&a.value:r[n],!kT(c?n:u+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;RT(i,o)}(t.sham||o&&o.sham)&&PT(i,"sham",!0),AT(r,n,i,t)}},CT=rT,NT=nT,MT=Object.keys||function(t){return CT(t,NT)},DT=Jw,FT=sS,GT=Qw,BT=Ww,UT=MT,VT=aT,HT=Zw,YT=TO,zT=bS,KT=Object.assign,WT=Object.defineProperty,JT=FT([].concat),qT=!KT||BT((function(){if(DT&&1!==KT({b:1},KT(WT({},"a",{enumerable:!0,get:function(){WT(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=KT({},t)[r]||UT(KT({},e)).join("")!=n}))?function(t,e){for(var r=YT(t),n=arguments.length,o=1,i=VT.f,a=HT.f;n>o;)for(var u,c=zT(arguments[o++]),f=i?JT(UT(c),i(c)):UT(c),s=f.length,l=0;s>l;)u=f[l++],DT&&!GT(a,c,u)||(r[u]=c[u]);return r}:KT,$T=qT;IT({target:"Object",stat:!0,arity:2,forced:Object.assign!==$T},{assign:$T});var XT={};XT[HO("toStringTag")]="z";var QT="[object z]"===String(XT),ZT=QT,tx=LS,ex=hS,rx=HO("toStringTag"),nx=Object,ox="Arguments"==ex(function(){return arguments}()),ix=ZT?ex:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(VI){}}(e=nx(t),rx))?r:ox?ex(e):"Object"==(n=ex(e))&&tx(e.callee)?"Arguments":n},ax=ix,ux=QT?{}.toString:function(){return"[object "+ax(this)+"]"};QT||Ij(Object.prototype,"toString",ux,{unsafe:!0});var cx="process"==hS(zw.process),fx=LS,sx=String,lx=TypeError,px=sS,vx=wE,hx=function(t){if("object"==typeof t||fx(t))return t;throw lx("Can't set "+sx(t)+" as a prototype")},dx=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=px(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),e=r instanceof Array}catch(VI){}return function(r,n){return vx(r),hx(n),e?t(r,n):r.__proto__=n,r}}():void 0),yx=dE.f,gx=PO,mx=HO("toStringTag"),bx=MS,wx=dE,Sx=Jw,Ox=HO("species"),Ex=DS,jx=TypeError,Tx=sS,xx=Ww,_x=LS,Px=ix,Ax=JE,Lx=function(){},Rx=[],kx=MS("Reflect","construct"),Ix=/^\s*(?:class|function)\b/,Cx=Tx(Ix.exec),Nx=!Ix.exec(Lx),Mx=function(t){if(!_x(t))return!1;try{return kx(Lx,Rx,t),!0}catch(VI){return!1}},Dx=function(t){if(!_x(t))return!1;switch(Px(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Nx||!!Cx(Ix,Ax(t))}catch(VI){return!0}};Dx.sham=!0;var Fx,Gx,Bx,Ux,Vx=!kx||xx((function(){var t;return Mx(Mx.call)||!Mx(Object)||!Mx((function(){t=!0}))||t}))?Dx:Mx,Hx=Vx,Yx=rO,zx=TypeError,Kx=wE,Wx=function(t){if(Hx(t))return t;throw zx(Yx(t)+" is not a constructor")},Jx=wS,qx=HO("species"),$x=function(t,e){var r,n=Kx(t).constructor;return void 0===n||Jx(r=Kx(n)[qx])?e:Wx(r)},Xx=qw,Qx=Function.prototype,Zx=Qx.apply,t_=Qx.call,e_="object"==typeof Reflect&&Reflect.apply||(Xx?t_.bind(Zx):function(){return t_.apply(Zx,arguments)}),r_=hS,n_=sS,o_=function(t){if("Function"===r_(t))return n_(t)},i_=aO,a_=qw,u_=o_(o_.bind),c_=function(t,e){return i_(t),void 0===e?t:a_?u_(t,e):function(){return t.apply(e,arguments)}},f_=MS("document","documentElement"),s_=sS([].slice),l_=TypeError,p_=/(?:ipad|iphone|ipod).*applewebkit/i.test(FS),v_=zw,h_=e_,d_=c_,y_=LS,g_=PO,m_=Ww,b_=f_,w_=s_,S_=nE,O_=function(t,e){if(t<e)throw l_("Not enough arguments");return t},E_=p_,j_=cx,T_=v_.setImmediate,x_=v_.clearImmediate,__=v_.process,P_=v_.Dispatch,A_=v_.Function,L_=v_.MessageChannel,R_=v_.String,k_=0,I_={},C_="onreadystatechange";try{Fx=v_.location}catch(VI){}var N_=function(t){if(g_(I_,t)){var e=I_[t];delete I_[t],e()}},M_=function(t){return function(){N_(t)}},D_=function(t){N_(t.data)},F_=function(t){v_.postMessage(R_(t),Fx.protocol+"//"+Fx.host)};T_&&x_||(T_=function(t){O_(arguments.length,1);var e=y_(t)?t:A_(t),r=w_(arguments,1);return I_[++k_]=function(){h_(e,void 0,r)},Gx(k_),k_},x_=function(t){delete I_[t]},j_?Gx=function(t){__.nextTick(M_(t))}:P_&&P_.now?Gx=function(t){P_.now(M_(t))}:L_&&!E_?(Ux=(Bx=new L_).port2,Bx.port1.onmessage=D_,Gx=d_(Ux.postMessage,Ux)):v_.addEventListener&&y_(v_.postMessage)&&!v_.importScripts&&Fx&&"file:"!==Fx.protocol&&!m_(F_)?(Gx=F_,v_.addEventListener("message",D_,!1)):Gx=C_ in S_("script")?function(t){b_.appendChild(S_("script"))[C_]=function(){b_.removeChild(this),N_(t)}}:function(t){setTimeout(M_(t),0)});var G_,B_,U_,V_,H_,Y_,z_,K_,W_={set:T_,clear:x_},J_=zw,q_=/ipad|iphone|ipod/i.test(FS)&&void 0!==J_.Pebble,$_=/web0s(?!.*chrome)/i.test(FS),X_=zw,Q_=c_,Z_=Kw.f,tP=W_.set,eP=p_,rP=q_,nP=$_,oP=cx,iP=X_.MutationObserver||X_.WebKitMutationObserver,aP=X_.document,uP=X_.process,cP=X_.Promise,fP=Z_(X_,"queueMicrotask"),sP=fP&&fP.value;sP||(G_=function(){var t,e;for(oP&&(t=uP.domain)&&t.exit();B_;){e=B_.fn,B_=B_.next;try{e()}catch(VI){throw B_?V_():U_=void 0,VI}}U_=void 0,t&&t.enter()},eP||oP||nP||!iP||!aP?!rP&&cP&&cP.resolve?((z_=cP.resolve(void 0)).constructor=cP,K_=Q_(z_.then,z_),V_=function(){K_(G_)}):oP?V_=function(){uP.nextTick(G_)}:(tP=Q_(tP,X_),V_=function(){tP(G_)}):(H_=!0,Y_=aP.createTextNode(""),new iP(G_).observe(Y_,{characterData:!0}),V_=function(){Y_.data=H_=!H_}));var lP=sP||function(t){var e={fn:t,next:void 0};U_&&(U_.next=e),B_||(B_=e,V_()),U_=e},pP=zw,vP=function(t){try{return{error:!1,value:t()}}catch(VI){return{error:!0,value:VI}}},hP=function(){this.head=null,this.tail=null};hP.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}};var dP=hP,yP=zw.Promise,gP="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,mP=!gP&&!cx&&"object"==typeof window&&"object"==typeof document,bP=zw,wP=yP,SP=LS,OP=TT,EP=JE,jP=HO,TP=mP,xP=gP,_P=zS;wP&&wP.prototype;var PP=jP("species"),AP=!1,LP=SP(bP.PromiseRejectionEvent),RP={CONSTRUCTOR:OP("Promise",(function(){var t=EP(wP),e=t!==String(wP);if(!e&&66===_P)return!0;if(!_P||_P<51||!/native code/.test(t)){var r=new wP((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[PP]=n,!(AP=r.then((function(){}))instanceof n))return!0}return!e&&(TP||xP)&&!LP})),REJECTION_EVENT:LP,SUBCLASSING:AP},kP={},IP=aO,CP=TypeError,NP=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw CP("Bad Promise constructor");e=t,r=n})),this.resolve=IP(e),this.reject=IP(r)};kP.f=function(t){return new NP(t)};var MP,DP,FP,GP=IT,BP=cx,UP=zw,VP=Qw,HP=Ij,YP=dx,zP=function(t,e,r){t&&!r&&(t=t.prototype),t&&!gx(t,mx)&&yx(t,mx,{configurable:!0,value:e})},KP=function(t){var e=bx(t),r=wx.f;Sx&&e&&!e[Ox]&&r(e,Ox,{configurable:!0,get:function(){return this}})},WP=aO,JP=LS,qP=IS,$P=function(t,e){if(Ex(e,t))return t;throw jx("Incorrect invocation")},XP=$x,QP=W_.set,ZP=lP,tA=function(t,e){var r=pP.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,e))},eA=vP,rA=dP,nA=dj,oA=yP,iA=kP,aA="Promise",uA=RP.CONSTRUCTOR,cA=RP.REJECTION_EVENT,fA=RP.SUBCLASSING,sA=nA.getterFor(aA),lA=nA.set,pA=oA&&oA.prototype,vA=oA,hA=pA,dA=UP.TypeError,yA=UP.document,gA=UP.process,mA=iA.f,bA=mA,wA=!!(yA&&yA.createEvent&&UP.dispatchEvent),SA="unhandledrejection",OA=function(t){var e;return!(!qP(t)||!JP(e=t.then))&&e},EA=function(t,e){var r,n,o,i=e.value,a=1==e.state,u=a?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{u?(a||(2===e.rejection&&PA(e),e.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(dA("Promise-chain cycle")):(n=OA(r))?VP(n,r,c,f):c(r)):f(i)}catch(VI){s&&!o&&s.exit(),f(VI)}},jA=function(t,e){t.notified||(t.notified=!0,ZP((function(){for(var r,n=t.reactions;r=n.get();)EA(r,t);t.notified=!1,e&&!t.rejection&&xA(t)})))},TA=function(t,e,r){var n,o;wA?((n=yA.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),UP.dispatchEvent(n)):n={promise:e,reason:r},!cA&&(o=UP["on"+t])?o(n):t===SA&&tA("Unhandled promise rejection",r)},xA=function(t){VP(QP,UP,(function(){var e,r=t.facade,n=t.value;if(_A(t)&&(e=eA((function(){BP?gA.emit("unhandledRejection",n,r):TA(SA,r,n)})),t.rejection=BP||_A(t)?2:1,e.error))throw e.value}))},_A=function(t){return 1!==t.rejection&&!t.parent},PA=function(t){VP(QP,UP,(function(){var e=t.facade;BP?gA.emit("rejectionHandled",e):TA("rejectionhandled",e,t.value)}))},AA=function(t,e,r){return function(n){t(e,n,r)}},LA=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,jA(t,!0))},RA=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw dA("Promise can't be resolved itself");var n=OA(e);n?ZP((function(){var r={done:!1};try{VP(n,e,AA(RA,r,t),AA(LA,r,t))}catch(VI){LA(r,VI,t)}})):(t.value=e,t.state=1,jA(t,!1))}catch(VI){LA({done:!1},VI,t)}}};if(uA&&(hA=(vA=function(t){$P(this,hA),WP(t),VP(MP,this);var e=sA(this);try{t(AA(RA,e),AA(LA,e))}catch(VI){LA(e,VI)}}).prototype,(MP=function(t){lA(this,{type:aA,done:!1,notified:!1,parent:!1,reactions:new rA,rejection:!1,state:0,value:void 0})}).prototype=HP(hA,"then",(function(t,e){var r=sA(this),n=mA(XP(this,vA));return r.parent=!0,n.ok=!JP(t)||t,n.fail=JP(e)&&e,n.domain=BP?gA.domain:void 0,0==r.state?r.reactions.add(n):ZP((function(){EA(n,r)})),n.promise})),DP=function(){var t=new MP,e=sA(t);this.promise=t,this.resolve=AA(RA,e),this.reject=AA(LA,e)},iA.f=mA=function(t){return t===vA||undefined===t?new DP(t):bA(t)},JP(oA)&&pA!==Object.prototype)){FP=pA.then,fA||HP(pA,"then",(function(t,e){var r=this;return new vA((function(t,e){VP(FP,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete pA.constructor}catch(VI){}YP&&YP(pA,hA)}GP({global:!0,constructor:!0,wrap:!0,forced:uA},{Promise:vA}),zP(vA,aA,!1),KP(aA);var kA={},IA=kA,CA=HO("iterator"),NA=Array.prototype,MA=ix,DA=fO,FA=wS,GA=kA,BA=HO("iterator"),UA=function(t){if(!FA(t))return DA(t,BA)||DA(t,"@@iterator")||GA[MA(t)]},VA=Qw,HA=aO,YA=wE,zA=rO,KA=UA,WA=TypeError,JA=Qw,qA=wE,$A=fO,XA=c_,QA=Qw,ZA=wE,tL=rO,eL=function(t){return void 0!==t&&(IA.Array===t||NA[CA]===t)},rL=zj,nL=DS,oL=function(t,e){var r=arguments.length<2?KA(t):e;if(HA(r))return YA(VA(r,t));throw WA(zA(t)+" is not iterable")},iL=UA,aL=function(t,e,r){var n,o;qA(t);try{if(!(n=$A(t,"return"))){if("throw"===e)throw r;return r}n=JA(n,t)}catch(VI){o=!0,n=VI}if("throw"===e)throw r;if(o)throw n;return qA(n),r},uL=TypeError,cL=function(t,e){this.stopped=t,this.result=e},fL=cL.prototype,sL=function(t,e,r){var n,o,i,a,u,c,f,s=r&&r.that,l=!(!r||!r.AS_ENTRIES),p=!(!r||!r.IS_RECORD),v=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),d=XA(e,s),y=function(t){return n&&aL(n,"normal",t),new cL(!0,t)},g=function(t){return l?(ZA(t),h?d(t[0],t[1],y):d(t[0],t[1])):h?d(t,y):d(t)};if(p)n=t.iterator;else if(v)n=t;else{if(!(o=iL(t)))throw uL(tL(t)+" is not iterable");if(eL(o)){for(i=0,a=rL(t);a>i;i++)if((u=g(t[i]))&&nL(fL,u))return u;return new cL(!1)}n=oL(t,o)}for(c=p?t.next:n.next;!(f=QA(c,n)).done;){try{u=g(f.value)}catch(VI){aL(n,"throw",VI)}if("object"==typeof u&&u&&nL(fL,u))return u}return new cL(!1)},lL=HO("iterator"),pL=!1;try{var vL=0,hL={next:function(){return{done:!!vL++}},return:function(){pL=!0}};hL[lL]=function(){return this},Array.from(hL,(function(){throw 2}))}catch(VI){}var dL=yP,yL=RP.CONSTRUCTOR||!function(t,e){if(!e&&!pL)return!1;var r=!1;try{var n={};n[lL]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(VI){}return r}((function(t){dL.all(t).then(void 0,(function(){}))})),gL=Qw,mL=aO,bL=kP,wL=vP,SL=sL;IT({target:"Promise",stat:!0,forced:yL},{all:function(t){var e=this,r=bL.f(e),n=r.resolve,o=r.reject,i=wL((function(){var r=mL(e.resolve),i=[],a=0,u=1;SL(t,(function(t){var c=a++,f=!1;u++,gL(r,e,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise}});var OL=IT,EL=RP.CONSTRUCTOR,jL=yP,TL=MS,xL=LS,_L=Ij,PL=jL&&jL.prototype;if(OL({target:"Promise",proto:!0,forced:EL,real:!0},{catch:function(t){return this.then(void 0,t)}}),xL(jL)){var AL=TL("Promise").prototype.catch;PL.catch!==AL&&_L(PL,"catch",AL,{unsafe:!0})}var LL=Qw,RL=aO,kL=kP,IL=vP,CL=sL;IT({target:"Promise",stat:!0,forced:yL},{race:function(t){var e=this,r=kL.f(e),n=r.reject,o=IL((function(){var o=RL(e.resolve);CL(t,(function(t){LL(o,e,t).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}});var NL=Qw,ML=kP;IT({target:"Promise",stat:!0,forced:RP.CONSTRUCTOR},{reject:function(t){var e=ML.f(this);return NL(e.reject,void 0,t),e.promise}});var DL=wE,FL=IS,GL=kP,BL=function(t,e){if(DL(t),FL(e)&&e.constructor===t)return e;var r=GL.f(t);return(0,r.resolve)(e),r.promise},UL=IT,VL=RP.CONSTRUCTOR,HL=BL;MS("Promise"),UL({target:"Promise",stat:!0,forced:VL},{resolve:function(t){return HL(this,t)}});var YL=hS,zL=Array.isArray||function(t){return"Array"==YL(t)},KL=TypeError,WL=ZO,JL=dE,qL=iS,$L=zL,XL=Vx,QL=IS,ZL=HO("species"),tR=Array,eR=function(t){var e;return $L(t)&&(e=t.constructor,(XL(e)&&(e===tR||$L(e.prototype))||QL(e)&&null===(e=e[ZL]))&&(e=void 0)),void 0===e?tR:e},rR=Ww,nR=zS,oR=HO("species"),iR=IT,aR=Ww,uR=zL,cR=IS,fR=TO,sR=zj,lR=function(t){if(t>9007199254740991)throw KL("Maximum allowed index exceeded");return t},pR=function(t,e,r){var n=WL(e);n in t?JL.f(t,n,qL(0,r)):t[n]=r},vR=function(t,e){return new(eR(t))(0===e?0:e)},hR=function(t){return nR>=51||!rR((function(){var e=[];return(e.constructor={})[oR]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},dR=zS,yR=HO("isConcatSpreadable"),gR=dR>=51||!aR((function(){var t=[];return t[yR]=!1,t.concat()[0]!==t})),mR=hR("concat"),bR=function(t){if(!cR(t))return!1;var e=t[yR];return void 0!==e?!!e:uR(t)};iR({target:"Array",proto:!0,arity:1,forced:!gR||!mR},{concat:function(t){var e,r,n,o,i,a=fR(this),u=vR(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(bR(i=-1===e?a:arguments[e]))for(o=sR(i),lR(c+o),r=0;r<o;r++,c++)r in i&&pR(u,c,i[r]);else lR(c+1),pR(u,c++,i);return u.length=c,u}});var wR=ix,SR=String,OR=wE,ER=Ww,jR=zw.RegExp,TR=ER((function(){var t=jR("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),xR=TR||ER((function(){return!jR("a","y").sticky})),_R={BROKEN_CARET:TR||ER((function(){var t=jR("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:xR,UNSUPPORTED_Y:TR},PR={},AR=Jw,LR=yE,RR=dE,kR=wE,IR=xS,CR=MT;PR.f=AR&&!LR?Object.defineProperties:function(t,e){kR(t);for(var r,n=IR(e),o=CR(e),i=o.length,a=0;i>a;)RR.f(t,r=o[a++],n[r]);return t};var NR,MR=wE,DR=PR,FR=nT,GR=ej,BR=f_,UR=nE,VR="prototype",HR="script",YR=tj("IE_PROTO"),zR=function(){},KR=function(t){return"<"+HR+">"+t+"</"+HR+">"},WR=function(t){t.write(KR("")),t.close();var e=t.parentWindow.Object;return t=null,e},JR=function(){try{NR=new ActiveXObject("htmlfile")}catch(VI){}var t,e,r;JR="undefined"!=typeof document?document.domain&&NR?WR(NR):(e=UR("iframe"),r="java"+HR+":",e.style.display="none",BR.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(KR("document.F=Object")),t.close(),t.F):WR(NR);for(var n=FR.length;n--;)delete JR[VR][FR[n]];return JR()};GR[YR]=!0;var qR,$R,XR=Object.create||function(t,e){var r;return null!==t?(zR[VR]=MR(t),r=new zR,zR[VR]=null,r[YR]=t):r=JR(),void 0===e?r:DR.f(r,e)},QR=Ww,ZR=zw.RegExp,tk=QR((function(){var t=ZR(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),ek=Ww,rk=zw.RegExp,nk=ek((function(){var t=rk("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),ok=Qw,ik=sS,ak=function(t){if("Symbol"===wR(t))throw TypeError("Cannot convert a Symbol value to a string");return SR(t)},uk=function(){var t=OR(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},ck=_R,fk=XR,sk=dj.get,lk=tk,pk=nk,vk=OO("native-string-replace",String.prototype.replace),hk=RegExp.prototype.exec,dk=hk,yk=ik("".charAt),gk=ik("".indexOf),mk=ik("".replace),bk=ik("".slice),wk=($R=/b*/g,ok(hk,qR=/a/,"a"),ok(hk,$R,"a"),0!==qR.lastIndex||0!==$R.lastIndex),Sk=ck.BROKEN_CARET,Ok=void 0!==/()??/.exec("")[1];(wk||Ok||Sk||lk||pk)&&(dk=function(t){var e,r,n,o,i,a,u,c=this,f=sk(c),s=ak(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=ok(dk,l,s),c.lastIndex=l.lastIndex,e;var p=f.groups,v=Sk&&c.sticky,h=ok(uk,c),d=c.source,y=0,g=s;if(v&&(h=mk(h,"y",""),-1===gk(h,"g")&&(h+="g"),g=bk(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==yk(s,c.lastIndex-1))&&(d="(?: "+d+")",g=" "+g,y++),r=new RegExp("^(?:"+d+")",h)),Ok&&(r=new RegExp("^"+d+"$(?!\\s)",h)),wk&&(n=c.lastIndex),o=ok(hk,v?r:c,g),v?o?(o.input=bk(o.input,y),o[0]=bk(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:wk&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),Ok&&o&&o.length>1&&ok(vk,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&p)for(o.groups=a=fk(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});IT({target:"RegExp",proto:!0,forced:/./.exec!==dk},{exec:dk});var Ek=IT,jk=yP,Tk=Ww,xk=MS,_k=LS,Pk=$x,Ak=BL,Lk=Ij,Rk=jk&&jk.prototype;if(Ek({target:"Promise",proto:!0,real:!0,forced:!!jk&&Tk((function(){Rk.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=Pk(this,xk("Promise")),r=_k(t);return this.then(r?function(r){return Ak(e,t()).then((function(){return r}))}:t,r?function(r){return Ak(e,t()).then((function(){throw r}))}:t)}}),_k(jk)){var kk=xk("Promise").prototype.finally;Rk.finally!==kk&&Lk(Rk,"finally",kk,{unsafe:!0})}function Ik(t){var e=document.createElement("video");return e.style.cssText="width:100px;height:100px;position:absolute;top:0;left:0;z-index:999999;opacity:.01;pointer-events:none;",e.muted=!0,e.autoplay=!1,e.src=t,e}function Ck(t){return Nk.apply(this,arguments)}function Nk(){var t;return t=Uw().mark((function t(e){var r,n,o,i,a,u,c,f,s,l;return Uw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=ww({url:"",minDroppedFramesRate:0,minTotalVideoFrames:0},e),n=r.url,o=r.minDroppedFramesRate,i=r.minTotalVideoFrames,s=new Cm((function(t){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1001;t(Bw({status:!1,errCode:e,robustErr:2101===e||2001===e||3e3===e},(arguments.length>1?arguments[1]:void 0)||{}))}!n||0===o&&0===i?e(1e3):(u=function(){var r="";try{if(!a.getVideoPlaybackQuality)return e(2001);var n=a.getVideoPlaybackQuality(),u=n.totalVideoFrames,c=n.droppedVideoFrames,f=c/u,s={droppedFrameRate:f,droppedVideoFrames:c,totalVideoFrames:u};return void((o?f<=o:i&&u>i)?t(Bw({status:!0},s)):e(3e3,s))}catch(l){r=(null==l?void 0:l.message)||l||"empty err msg"}e(2200,{errMsg:r})},c=function(){var t,r,n=null===(r=a)||void 0===r?void 0:r.error;e(2e3,{errMsg:Tw(t="".concat(null==n?void 0:n.code,"-")).call(t,null==n?void 0:n.message)})},f=function(){var t=a.play();t&&t.then((function(t){})).catch((function(t){var r=t.message,n=2100;/no supported source/gi.test(r)||/The media resource indicated by the src attribute or assigned media provider object was not suitable/gi.test(r)||/NotSupportedError/gi.test(r)?n=2101:/video-only background media was paused to save power/gi.test(r)?n=2103:(/the user didn't interact with the document first/gi.test(r)||/user denied permission/gi.test(r))&&(n=2102),e(n,{errMsg:r})}))},(a=Ik(n)).addEventListener("loadedmetadata",f,!1),a.addEventListener("ended",u,!1),a.addEventListener("error",c,!1),a.load(),document.body.append(a))})),s.finally((function(){a&&(u&&c&&f&&(a.removeEventListener("loadedmetadata",f,!1),a.removeEventListener("ended",u,!1),a.removeEventListener("error",c,!1),u=null,c=null,f=null),document.body.removeChild(a),a=null)})),t.next=5,s;case 5:return l=t.sent,t.abrupt("return",l);case 7:case"end":return t.stop()}}),t)})),Nk=function(){var e=this,r=arguments;return new Cm((function(n,o){var i=t.apply(e,r);function a(t){Vw(i,n,o,a,u,"next",t)}function u(t){Vw(i,n,o,a,u,"throw",t)}a(void 0)}))},Nk.apply(this,arguments)}var Mk=Qt,Dk=k,Fk=tt,Gk=rr,Bk=function(t){return void 0!==t&&(Mk(t,"value")||Mk(t,"writable"))},Uk=P,Vk=Ec;Pr({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return Gk(e)===i?e[r]:(n=Uk.f(e,r))?Bk(n)?n.value:void 0===n.get?void 0:Dk(n.get,i):Fk(o=Vk(e))?t(o,r,i):void 0}});var Hk=r(et.Reflect.get);function Yk(){var t;"undefined"!=typeof Reflect&&Hk?Yk=Sg(t=Hk).call(t):Yk=function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Gg(t)););return t}(t,e);if(n){var o=dm(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}};return Yk.apply(this,arguments)}function zk(t,e,r){var n;Bg()?zk=Sg(n=Fg).call(n):zk=function(t,e,r){var n=[null];pl(n).apply(n,e);var o=new(Sg(Function).apply(t,n));return r&&Og(o,r.prototype),o};return zk.apply(null,arguments)}var Kk=o;Pr({global:!0,forced:Kk.globalThis!==Kk},{globalThis:Kk});var Wk=r(o),Jk=_t,qk=TypeError,$k=Pr,Xk=qt,Qk=Xn,Zk=Cr,tI=Fr,eI=nl,rI=Br,nI=Tn,oI=Yr,iI=function(t,e){if(!delete t[e])throw qk("Cannot delete property "+Jk(e)+" of "+Jk(t))},aI=An("splice"),uI=Math.max,cI=Math.min;$k({target:"Array",proto:!0,forced:!aI},{splice:function(t,e){var r,n,o,i,a,u,c=Xk(this),f=tI(c),s=Qk(t,f),l=arguments.length;for(0===l?r=n=0:1===l?(r=0,n=f-s):(r=l-2,n=cI(uI(Zk(e),0),f-s)),rI(f+r-n),o=nI(c,n),i=0;i<n;i++)(a=s+i)in c&&oI(o,i,c[a]);if(o.length=n,r<n){for(i=s;i<f-n;i++)u=i+r,(a=i+n)in c?c[u]=c[a]:iI(c,u);for(i=f;i>f-n+r;i--)iI(c,i-1)}else if(r>n)for(i=f-n;i>s;i--)u=i+r-1,(a=i+n-1)in c?c[u]=c[a]:iI(c,u);for(i=0;i<r;i++)c[i+s]=arguments[i+2];return eI(c,f-n+r),o}});var fI,sI,lI,pI,vI,hI,dI=Hs("Array").splice,yI=ut,gI=dI,mI=Array.prototype,bI=r((function(t){var e=t.splice;return t===mI||yI(mI,t)&&e===mI.splice?gI:e})),wI=(null===(fI=void 0!==Wk?Wk:void 0)||void 0===fI?void 0:fI.crypto)||(null===(sI="undefined"!=typeof global?global:void 0)||void 0===sI?void 0:sI.crypto)||(null===(lI="undefined"!=typeof window?window:void 0)||void 0===lI?void 0:lI.crypto)||(null===(pI="undefined"!=typeof self?self:void 0)||void 0===pI?void 0:pI.crypto)||(null===(vI="undefined"!=typeof frames?frames:void 0)||void 0===vI||null===(vI=vI[0])||void 0===vI?void 0:vI.crypto);hI=wI?function(t){for(var e=[],r=0;r<t;r+=4)e.push(wI.getRandomValues(new Uint32Array(1))[0]);return new OI(e,t)}:function(t){for(var e,r=[],n=function(t){var e=t,r=987654321,n=4294967295;return function(){var t=((r=36969*(65535&r)+(r>>16)&n)<<16)+(e=18e3*(65535&e)+(e>>16)&n)&n;return t/=4294967296,(t+=.5)*(Math.random()>.5?1:-1)}},o=0;o<t;o+=4){var i=n(4294967296*(e||Math.random()));e=987654071*i(),r.push(4294967296*i()|0)}return new OI(r,t)};var SI=function(){function t(){Zy(this,t)}return og(t,[{key:"mixIn",value:function(t){return ww(this,t)}},{key:"clone",value:function(){var t=new this.constructor;return ww(t,this),t}}],[{key:"create",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return zk(this,e)}}]),t}(),OI=function(t){Eg(r,t);var e=Vg(r);function r(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4*n.length;Zy(this,r),t=e.call(this);var i=n;if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var a=i.byteLength,u=[],c=0;c<a;c+=1)u[c>>>2]|=i[c]<<24-c%4*8;t.words=u,t.sigBytes=a}else t.words=n,t.sigBytes=o;return t}return og(r,[{key:"toString",value:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:EI).stringify(this)}},{key:"concat",value:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i<o;i+=1){var a=r[i>>>2]>>>24-i%4*8&255;e[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var u=0;u<o;u+=4)e[n+u>>>2]=r[u>>>2];return this.sigBytes+=o,this}},{key:"clamp",value:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=Math.ceil(e/4)}},{key:"clone",value:function(){var t,e=Yk(Gg(r.prototype),"clone",this).call(this);return e.words=Dw(t=this.words).call(t,0),e}}]),r}(SI);Lm(OI,"random",hI);for(var EI={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o<r;o+=1){var i=e[o>>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=Pb(t.substr(n,2),16)<<24-n%8*4;return new OI(r,e/2)}},jI=function(t){for(var e=t.length,r=[],n=0;n<e;n+=1)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new OI(r,e)},TI=function(t){return jI(unescape(encodeURIComponent(t)))},xI=function(t){Eg(r,t);var e=Vg(r);function r(t){var n;return Zy(this,r),(n=e.call(this)).blockSize=16,n.cfg=ww(new SI,t),n.reset(),n}return og(r,[{key:"reset",value:function(){Yk(Gg(r.prototype),"reset",this).call(this),this._doReset()}},{key:"update",value:function(t){return this._append(t),this._process(),this}},{key:"finalize",value:function(t){return t&&this._append(t),this._doFinalize()}}],[{key:"_createHelper",value:function(t){return function(e,r){return new t(r).finalize(e)}}},{key:"_createHmacHelper",value:function(t){return function(e,r){return new _I(t,r).finalize(e)}}}]),r}(function(t){Eg(r,t);var e=Vg(r);function r(){var t;return Zy(this,r),(t=e.call(this))._minBufferSize=0,t}return og(r,[{key:"reset",value:function(){this._data=new OI,this._nDataBytes=0}},{key:"_append",value:function(t){var e,r=t;"string"==typeof r&&(r=TI(r)),Tw(e=this._data).call(e,r),this._nDataBytes+=r.sigBytes}},{key:"_process",value:function(t){var e,r=this._data,n=this.blockSize,o=r.words,i=r.sigBytes,a=i/(4*n),u=(a=t?Math.ceil(a):Math.max((0|a)-this._minBufferSize,0))*n,c=Math.min(4*u,i);if(u){for(var f=0;f<u;f+=n)this._doProcessBlock(o,f);e=bI(o).call(o,0,u),r.sigBytes-=c}return new OI(e,c)}},{key:"clone",value:function(){var t=Yk(Gg(r.prototype),"clone",this).call(this);return t._data=this._data.clone(),t}}]),r}(SI)),_I=function(t){Eg(r,t);var e=Vg(r);function r(t,n){var o;Zy(this,r),o=e.call(this);var i=new t;o._hasher=i;var a=n;"string"==typeof a&&(a=TI(a));var u=i.blockSize,c=4*u;a.sigBytes>c&&(a=i.finalize(n)),a.clamp();var f=a.clone();o._oKey=f;var s=a.clone();o._iKey=s;for(var l=f.words,p=s.words,v=0;v<u;v+=1)l[v]^=1549556828,p[v]^=909522486;return f.sigBytes=c,s.sigBytes=c,o.reset(),o}return og(r,[{key:"reset",value:function(){var t=this._hasher;t.reset(),t.update(this._iKey)}},{key:"update",value:function(t){return this._hasher.update(t),this}},{key:"finalize",value:function(t){var e,r=this._hasher,n=r.finalize(t);return r.reset(),r.finalize(Tw(e=this._oKey.clone()).call(e,n))}}]),r}(SI),PI=[],AI=0;AI<64;AI+=1)PI[AI]=4294967296*Math.abs(Math.sin(AI+1))|0;var LI=function(t,e,r,n,o,i,a){var u=t+(e&r|~e&n)+o+a;return(u<<i|u>>>32-i)+e},RI=function(t,e,r,n,o,i,a){var u=t+(e&n|r&~n)+o+a;return(u<<i|u>>>32-i)+e},kI=function(t,e,r,n,o,i,a){var u=t+(e^r^n)+o+a;return(u<<i|u>>>32-i)+e},II=function(t,e,r,n,o,i,a){var u=t+(r^(e|~n))+o+a;return(u<<i|u>>>32-i)+e},CI=function(t){Eg(r,t);var e=Vg(r);function r(){return Zy(this,r),e.apply(this,arguments)}return og(r,[{key:"_doReset",value:function(){this._hash=new OI([1732584193,4023233417,2562383102,271733878])}},{key:"_doProcessBlock",value:function(t,e){for(var r=t,n=0;n<16;n+=1){var o=e+n,i=t[o];r[o]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,u=r[e+0],c=r[e+1],f=r[e+2],s=r[e+3],l=r[e+4],p=r[e+5],v=r[e+6],h=r[e+7],d=r[e+8],y=r[e+9],g=r[e+10],m=r[e+11],b=r[e+12],w=r[e+13],S=r[e+14],O=r[e+15],E=a[0],j=a[1],T=a[2],x=a[3];E=LI(E,j,T,x,u,7,PI[0]),x=LI(x,E,j,T,c,12,PI[1]),T=LI(T,x,E,j,f,17,PI[2]),j=LI(j,T,x,E,s,22,PI[3]),E=LI(E,j,T,x,l,7,PI[4]),x=LI(x,E,j,T,p,12,PI[5]),T=LI(T,x,E,j,v,17,PI[6]),j=LI(j,T,x,E,h,22,PI[7]),E=LI(E,j,T,x,d,7,PI[8]),x=LI(x,E,j,T,y,12,PI[9]),T=LI(T,x,E,j,g,17,PI[10]),j=LI(j,T,x,E,m,22,PI[11]),E=LI(E,j,T,x,b,7,PI[12]),x=LI(x,E,j,T,w,12,PI[13]),T=LI(T,x,E,j,S,17,PI[14]),j=LI(j,T,x,E,O,22,PI[15]),E=RI(E,j,T,x,c,5,PI[16]),x=RI(x,E,j,T,v,9,PI[17]),T=RI(T,x,E,j,m,14,PI[18]),j=RI(j,T,x,E,u,20,PI[19]),E=RI(E,j,T,x,p,5,PI[20]),x=RI(x,E,j,T,g,9,PI[21]),T=RI(T,x,E,j,O,14,PI[22]),j=RI(j,T,x,E,l,20,PI[23]),E=RI(E,j,T,x,y,5,PI[24]),x=RI(x,E,j,T,S,9,PI[25]),T=RI(T,x,E,j,s,14,PI[26]),j=RI(j,T,x,E,d,20,PI[27]),E=RI(E,j,T,x,w,5,PI[28]),x=RI(x,E,j,T,f,9,PI[29]),T=RI(T,x,E,j,h,14,PI[30]),j=RI(j,T,x,E,b,20,PI[31]),E=kI(E,j,T,x,p,4,PI[32]),x=kI(x,E,j,T,d,11,PI[33]),T=kI(T,x,E,j,m,16,PI[34]),j=kI(j,T,x,E,S,23,PI[35]),E=kI(E,j,T,x,c,4,PI[36]),x=kI(x,E,j,T,l,11,PI[37]),T=kI(T,x,E,j,h,16,PI[38]),j=kI(j,T,x,E,g,23,PI[39]),E=kI(E,j,T,x,w,4,PI[40]),x=kI(x,E,j,T,u,11,PI[41]),T=kI(T,x,E,j,s,16,PI[42]),j=kI(j,T,x,E,v,23,PI[43]),E=kI(E,j,T,x,y,4,PI[44]),x=kI(x,E,j,T,b,11,PI[45]),T=kI(T,x,E,j,O,16,PI[46]),j=kI(j,T,x,E,f,23,PI[47]),E=II(E,j,T,x,u,6,PI[48]),x=II(x,E,j,T,h,10,PI[49]),T=II(T,x,E,j,S,15,PI[50]),j=II(j,T,x,E,p,21,PI[51]),E=II(E,j,T,x,b,6,PI[52]),x=II(x,E,j,T,s,10,PI[53]),T=II(T,x,E,j,g,15,PI[54]),j=II(j,T,x,E,c,21,PI[55]),E=II(E,j,T,x,d,6,PI[56]),x=II(x,E,j,T,O,10,PI[57]),T=II(T,x,E,j,v,15,PI[58]),j=II(j,T,x,E,w,21,PI[59]),E=II(E,j,T,x,l,6,PI[60]),x=II(x,E,j,T,m,10,PI[61]),T=II(T,x,E,j,f,15,PI[62]),j=II(j,T,x,E,y,21,PI[63]),a[0]=a[0]+E|0,a[1]=a[1]+j|0,a[2]=a[2]+T|0,a[3]=a[3]+x|0}},{key:"_doFinalize",value:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;e[n>>>5]|=128<<24-n%32;var o=Math.floor(r/4294967296),i=r;e[15+(n+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e[14+(n+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(e.length+1),this._process();for(var a=this._hash,u=a.words,c=0;c<4;c+=1){var f=u[c];u[c]=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)}return a}},{key:"clone",value:function(){var t=Yk(Gg(r.prototype),"clone",this).call(this);return t._hash=this._hash.clone(),t}}]),r}(xI),NI=xI._createHelper(CI);xI._createHmacHelper(CI);var MI=function(t){return t.VESTRATEGY_H265_DETECT_PLAYBACK="VESTRATEGY_H265_DETECT_PLAYBACK",t.VESTRATEGY_H265_IS_SUPPORT="VESTRATEGY_H265_IS_SUPPORT",t.VESTRATEGY_H265_CAN_PLAY_SMOOTHLY="VESTRATEGY_H265_CAN_PLAY_SMOOTHLY",t}(MI||{});function DI(t){return NI([t.url,t.minDroppedFramesRate,t.minTotalVideoFrames,navigator.userAgent.toLowerCase()].join("_")).toString()}var FI=function(){function e(){Zy(this,e),Lm(this,"_detectStatus","init")}var r;return og(e,[{key:"detect",value:function(t){var e;return iw()&&((e=this.getDetectResult(t,{validateCache:!0}))||"init"!==this._detectStatus||this._detectPlaybackRobustness(t)),e}},{key:"getDetectResult",value:function(e,r){try{var n=t.util.getLocalStorage(MI.VESTRATEGY_H265_DETECT_PLAYBACK);if(!n)return;var o=JSON.parse(n);if(null!=r&&r.validateCache){var i;if(e)if(DI(e)!==o.cacheKey)return;if(!1===(null==o||null===(i=o.data)||void 0===i?void 0:i.robustErr))return}return o.data}catch(VI){return}}},{key:"_detectPlaybackRobustness",value:(r=Qy($y().mark((function e(r){var n,o;return $y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("pending"!==this._detectStatus){e.next=2;break}return e.abrupt("return");case 2:return this._detectStatus="pending",n=DI(r),e.prev=4,e.next=7,Ck(r);case 7:return o=e.sent,t.util.setLocalStorage(MI.VESTRATEGY_H265_DETECT_PLAYBACK,Kg({data:o,cacheKey:n})),this._detectStatus="end",e.abrupt("return",o);case 13:return e.prev=13,e.t0=e.catch(4),this._detectStatus="end",e.abrupt("return");case 17:case"end":return e.stop()}}),e,this,[[4,13]])}))),function(t){return r.apply(this,arguments)})}]),e}(),GI=new FI,BI=new t.Logger("VeStrategy-H265"),UI=function(e){Eg(i,e);var r,n,o=Vg(i);function i(){return Zy(this,i),o.apply(this,arguments)}return og(i,[{key:"getResult",value:function(e){var r,n,o=e.detectResult,i=e.whiteListConfig,a=e.deviceInfo,u=iw();n=null==i||i.enable&&void 0===a?{useH265:!1}:i.enable?t.kvMatch.getConfigWithRule(i.whiteList,{CPUScore:a.cpuScore,CPUCore:a.cpuCore,GPUScore:a.gpuScore}):{useH265:!0};try{BI.info("H265Result",Kg({isHevcApiSupported:u,detectResult:o,whiteListConfig:i,kvResult:n}))}catch(c){}return{isSupported:Boolean(u&&o&&!0!==(null==o?void 0:o.robustErr)),canPlaySmoothly:Boolean((null===(r=n)||void 0===r?void 0:r.useH265)&&(null==o?void 0:o.status))}}},{key:"getRecommendation",value:function(){this.config.detectConfig&&GI.detect(this.config.detectConfig);var e=GI.getDetectResult(),r=this.config.whiteListConfig;this.ctx.featureCenter.getDeviceMarkInfoAsync();var n=this.ctx.featureCenter.getFeatureList(),o=this.getResult({detectResult:e,whiteListConfig:r,deviceInfo:n});return t.util.setLocalStorage(MI.VESTRATEGY_H265_IS_SUPPORT,null==o?void 0:o.isSupported),t.util.setLocalStorage(MI.VESTRATEGY_H265_CAN_PLAY_SMOOTHLY,null==o?void 0:o.canPlaySmoothly),{result:{enableH265Hardware:(null==o?void 0:o.isSupported)&&(null==o?void 0:o.canPlaySmoothly)}}}}],[{key:"strategyName",get:function(){return t.StrategyEnums.h265}},{key:"prepareBeforeStarted",value:(n=Qy($y().mark((function t(e){var r;return $y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.ctx.featureCenter.getDeviceMarkInfoAsync(),BI.update(null===(r=e.ctx.dataCenter.getAppConfig())||void 0===r?void 0:r.log),BI.info("PrepareBeforeStarted");case 3:case"end":return t.stop()}}),t)}))),function(t){return n.apply(this,arguments)})},{key:"prepareAfterStarted",value:(r=Qy($y().mark((function t(e){return $y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.config.detectConfig&&GI.detect(e.config.detectConfig),BI.info("PrepareAfterStarted");case 2:case"end":return t.stop()}}),t)}))),function(t){return r.apply(this,arguments)})}]),i}(t.BaseStrategy);return UI}));
|