UNPKG

@asgardeo/auth-spa

Version:

Asgardeo Auth SPA SDK to be used in Single-Page Applications.

1 lines 500 kB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).AsgardeoAuth={})}(this,(function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(i){var l=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,l.get?l:{enumerable:!0,get:function(){return e[i]}})})),t}var n=function(e){return e&&e.Math==Math&&e},o=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")(),c=o,a=function(e){try{return!!e()}catch(e){return!0}},d=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),s=d,r=Function.prototype,u=r.bind,Z=r.call,b=s&&u.bind(Z,Z),h=s?function(e){return e&&b(e)}:function(e){return e&&function(){return Z.apply(e,arguments)}},m=TypeError,p=function(e){if(null==e)throw m("Can't call method on "+e);return e},I=p,g=Object,G=function(e){return g(I(e))},y=G,X=h({}.hasOwnProperty),V=Object.hasOwn||function(e,t){return X(y(e),t)},W={},C={exports:{}},R=o,S=Object.defineProperty,v=function(e,t){try{S(R,e,{value:t,configurable:!0,writable:!0})}catch(i){R[e]=t}return t},f=v,Y="__core-js_shared__",K=o[Y]||f(Y,{}),N=K;(C.exports=function(e,t){return N[e]||(N[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",source:"https://github.com/zloirock/core-js"});var J,k,L=h,U=0,H=Math.random(),T=L(1..toString),F=function(e){return"Symbol("+(void 0===e?"":e)+")_"+T(++U+H,36)},A=function(e){return"function"==typeof e},x=o,B=A,w=function(e){return B(e)?e:void 0},z=function(e,t){return arguments.length<2?w(x[e]):x[e]&&x[e][t]},P=z("navigator","userAgent")||"",Q=o,j=P,M=Q.process,E=Q.Deno,D=M&&M.versions||E&&E.version,O=D&&D.v8;O&&(k=(J=O.split("."))[0]>0&&J[0]<4?1:+(J[0]+J[1])),!k&&j&&(!(J=j.match(/Edge\/(\d+)/))||J[1]>=74)&&(J=j.match(/Chrome\/(\d+)/))&&(k=+J[1]);var _=k,q=_,$=a,ee=!!Object.getOwnPropertySymbols&&!$((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&q&&q<41})),te=ee&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ie=o,le=C.exports,ne=V,oe=F,ce=ee,ae=te,de=le("wks"),se=ie.Symbol,re=se&&se.for,ue=ae?se:se&&se.withoutSetter||oe,Ze=function(e){if(!ne(de,e)||!ce&&"string"!=typeof de[e]){var t="Symbol."+e;ce&&ne(se,e)?de[e]=se[e]:de[e]=ae&&re?re(t):ue(t)}return de[e]},be=Ze;W.f=be;var he={},me=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),pe=A,Ie=function(e){return"object"==typeof e?null!==e:pe(e)},ge=Ie,Ge=o.document,ye=ge(Ge)&&ge(Ge.createElement),Xe=function(e){return ye?Ge.createElement(e):{}},Ve=Xe,We=!me&&!a((function(){return 7!=Object.defineProperty(Ve("div"),"a",{get:function(){return 7}}).a})),Ce=me&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Re=Ie,Se=String,ve=TypeError,fe=function(e){if(Re(e))return e;throw ve(Se(e)+" is not an object")},Ye=d,Ke=Function.prototype.call,Ne=Ye?Ke.bind(Ke):function(){return Ke.apply(Ke,arguments)},Je=h({}.isPrototypeOf),ke=z,Le=A,Ue=Je,He=Object,Te=te?function(e){return"symbol"==typeof e}:function(e){var t=ke("Symbol");return Le(t)&&Ue(t.prototype,He(e))},Fe=String,Ae=function(e){try{return Fe(e)}catch(e){return"Object"}},xe=A,Be=Ae,we=TypeError,ze=function(e){if(xe(e))return e;throw we(Be(e)+" is not a function")},Pe=ze,Qe=function(e,t){var i=e[t];return null==i?void 0:Pe(i)},je=Ne,Me=A,Ee=Ie,De=TypeError,Oe=Ne,_e=Ie,qe=Te,$e=Qe,et=function(e,t){var i,l;if("string"===t&&Me(i=e.toString)&&!Ee(l=je(i,e)))return l;if(Me(i=e.valueOf)&&!Ee(l=je(i,e)))return l;if("string"!==t&&Me(i=e.toString)&&!Ee(l=je(i,e)))return l;throw De("Can't convert object to primitive value")},tt=TypeError,it=Ze("toPrimitive"),lt=function(e,t){if(!_e(e)||qe(e))return e;var i,l=$e(e,it);if(l){if(void 0===t&&(t="default"),i=Oe(l,e,t),!_e(i)||qe(i))return i;throw tt("Can't convert object to primitive value")}return void 0===t&&(t="number"),et(e,t)},nt=lt,ot=Te,ct=function(e){var t=nt(e,"string");return ot(t)?t:t+""},at=me,dt=We,st=Ce,rt=fe,ut=ct,Zt=TypeError,bt=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,mt="enumerable",pt="configurable",It="writable";he.f=at?st?function(e,t,i){if(rt(e),t=ut(t),rt(i),"function"==typeof e&&"prototype"===t&&"value"in i&&It in i&&!i.writable){var l=ht(e,t);l&&l.writable&&(e[t]=i.value,i={configurable:pt in i?i.configurable:l.configurable,enumerable:mt in i?i.enumerable:l.enumerable,writable:!1})}return bt(e,t,i)}:bt:function(e,t,i){if(rt(e),t=ut(t),rt(i),dt)try{return bt(e,t,i)}catch(e){}if("get"in i||"set"in i)throw Zt("Accessors not supported");return"value"in i&&(e[t]=i.value),e};var gt=c,Gt=V,yt=W,Xt=he.f,Vt=function(e){var t=gt.Symbol||(gt.Symbol={});Gt(t,e)||Xt(t,e,{value:yt.f(e)})};Vt("matchAll");var Wt={},Ct={},Rt={}.propertyIsEnumerable,St=Object.getOwnPropertyDescriptor,vt=St&&!Rt.call({1:2},1);Ct.f=vt?function(e){var t=St(this,e);return!!t&&t.enumerable}:Rt;var ft=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Yt=h,Kt=Yt({}.toString),Nt=Yt("".slice),Jt=function(e){return Nt(Kt(e),8,-1)},kt=a,Lt=Jt,Ut=Object,Ht=h("".split),Tt=kt((function(){return!Ut("z").propertyIsEnumerable(0)}))?function(e){return"String"==Lt(e)?Ht(e,""):Ut(e)}:Ut,Ft=Tt,At=p,xt=function(e){return Ft(At(e))},Bt=me,wt=Ne,zt=Ct,Pt=ft,Qt=xt,jt=ct,Mt=V,Et=We,Dt=Object.getOwnPropertyDescriptor;Wt.f=Bt?Dt:function(e,t){if(e=Qt(e),t=jt(t),Et)try{return Dt(e,t)}catch(e){}if(Mt(e,t))return Pt(!wt(zt.f,e,t),e[t])};var Ot=he,_t=ft,qt=me?function(e,t,i){return Ot.f(e,t,_t(1,i))}:function(e,t,i){return e[t]=i,e},$t={exports:{}},ei=me,ti=V,ii=Function.prototype,li=ei&&Object.getOwnPropertyDescriptor,ni=ti(ii,"name"),oi={EXISTS:ni,PROPER:ni&&"something"===function(){}.name,CONFIGURABLE:ni&&(!ei||ei&&li(ii,"name").configurable)},ci=A,ai=K,di=h(Function.toString);ci(ai.inspectSource)||(ai.inspectSource=function(e){return di(e)});var si,ri,ui,Zi=ai.inspectSource,bi=A,hi=Zi,mi=o.WeakMap,pi=bi(mi)&&/native code/.test(hi(mi)),Ii=C.exports,gi=F,Gi=Ii("keys"),yi=function(e){return Gi[e]||(Gi[e]=gi(e))},Xi={},Vi=pi,Wi=o,Ci=h,Ri=Ie,Si=qt,vi=V,fi=K,Yi=yi,Ki=Xi,Ni="Object already initialized",Ji=Wi.TypeError,ki=Wi.WeakMap;if(Vi||fi.state){var Li=fi.state||(fi.state=new ki),Ui=Ci(Li.get),Hi=Ci(Li.has),Ti=Ci(Li.set);si=function(e,t){if(Hi(Li,e))throw new Ji(Ni);return t.facade=e,Ti(Li,e,t),t},ri=function(e){return Ui(Li,e)||{}},ui=function(e){return Hi(Li,e)}}else{var Fi=Yi("state");Ki[Fi]=!0,si=function(e,t){if(vi(e,Fi))throw new Ji(Ni);return t.facade=e,Si(e,Fi,t),t},ri=function(e){return vi(e,Fi)?e[Fi]:{}},ui=function(e){return vi(e,Fi)}}var Ai={set:si,get:ri,has:ui,enforce:function(e){return ui(e)?ri(e):si(e,{})},getterFor:function(e){return function(t){var i;if(!Ri(t)||(i=ri(t)).type!==e)throw Ji("Incompatible receiver, "+e+" required");return i}}},xi=a,Bi=A,wi=V,zi=me,Pi=oi.CONFIGURABLE,Qi=Zi,ji=Ai.enforce,Mi=Ai.get,Ei=Object.defineProperty,Di=zi&&!xi((function(){return 8!==Ei((function(){}),"length",{value:8}).length})),Oi=String(String).split("String"),_i=$t.exports=function(e,t,i){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!wi(e,"name")||Pi&&e.name!==t)&&(zi?Ei(e,"name",{value:t,configurable:!0}):e.name=t),Di&&i&&wi(i,"arity")&&e.length!==i.arity&&Ei(e,"length",{value:i.arity});try{i&&wi(i,"constructor")&&i.constructor?zi&&Ei(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var l=ji(e);return wi(l,"source")||(l.source=Oi.join("string"==typeof t?t:"")),e};Function.prototype.toString=_i((function(){return Bi(this)&&Mi(this).source||Qi(this)}),"toString");var qi=A,$i=he,el=$t.exports,tl=v,il=function(e,t,i,l){l||(l={});var n=l.enumerable,o=void 0!==l.name?l.name:t;if(qi(i)&&el(i,o,l),l.global)n?e[t]=i:tl(t,i);else{try{l.unsafe?e[t]&&(n=!0):delete e[t]}catch(e){}n?e[t]=i:$i.f(e,t,{value:i,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return e},ll={},nl=Math.ceil,ol=Math.floor,cl=Math.trunc||function(e){var t=+e;return(t>0?ol:nl)(t)},al=cl,dl=function(e){var t=+e;return t!=t||0===t?0:al(t)},sl=dl,rl=Math.max,ul=Math.min,Zl=function(e,t){var i=sl(e);return i<0?rl(i+t,0):ul(i,t)},bl=dl,hl=Math.min,ml=function(e){return e>0?hl(bl(e),9007199254740991):0},pl=ml,Il=function(e){return pl(e.length)},gl=xt,Gl=Zl,yl=Il,Xl=function(e){return function(t,i,l){var n,o=gl(t),c=yl(o),a=Gl(l,c);if(e&&i!=i){for(;c>a;)if((n=o[a++])!=n)return!0}else for(;c>a;a++)if((e||a in o)&&o[a]===i)return e||a||0;return!e&&-1}},Vl={includes:Xl(!0),indexOf:Xl(!1)},Wl=V,Cl=xt,Rl=Vl.indexOf,Sl=Xi,vl=h([].push),fl=function(e,t){var i,l=Cl(e),n=0,o=[];for(i in l)!Wl(Sl,i)&&Wl(l,i)&&vl(o,i);for(;t.length>n;)Wl(l,i=t[n++])&&(~Rl(o,i)||vl(o,i));return o},Yl=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Kl=fl,Nl=Yl.concat("length","prototype");ll.f=Object.getOwnPropertyNames||function(e){return Kl(e,Nl)};var Jl={};Jl.f=Object.getOwnPropertySymbols;var kl=z,Ll=ll,Ul=Jl,Hl=fe,Tl=h([].concat),Fl=kl("Reflect","ownKeys")||function(e){var t=Ll.f(Hl(e)),i=Ul.f;return i?Tl(t,i(e)):t},Al=V,xl=Fl,Bl=Wt,wl=he,zl=a,Pl=A,Ql=/#|\.prototype\./,jl=function(e,t){var i=El[Ml(e)];return i==Ol||i!=Dl&&(Pl(t)?zl(t):!!t)},Ml=jl.normalize=function(e){return String(e).replace(Ql,".").toLowerCase()},El=jl.data={},Dl=jl.NATIVE="N",Ol=jl.POLYFILL="P",_l=jl,ql=o,$l=Wt.f,en=qt,tn=il,ln=v,nn=function(e,t,i){for(var l=xl(t),n=wl.f,o=Bl.f,c=0;c<l.length;c++){var a=l[c];Al(e,a)||i&&Al(i,a)||n(e,a,o(t,a))}},on=_l,cn=function(e,t){var i,l,n,o,c,a=e.target,d=e.global,s=e.stat;if(i=d?ql:s?ql[a]||ln(a,{}):(ql[a]||{}).prototype)for(l in t){if(o=t[l],n=e.dontCallGetSet?(c=$l(i,l))&&c.value:i[l],!on(d?l:a+(s?".":"#")+l,e.forced)&&void 0!==n){if(typeof o==typeof n)continue;nn(o,n)}(e.sham||n&&n.sham)&&en(o,"sham",!0),tn(i,l,o,e)}},an={},dn=fl,sn=Yl,rn=Object.keys||function(e){return dn(e,sn)},un=me,Zn=Ce,bn=he,hn=fe,mn=xt,pn=rn;an.f=un&&!Zn?Object.defineProperties:function(e,t){hn(e);for(var i,l=mn(t),n=pn(t),o=n.length,c=0;o>c;)bn.f(e,i=n[c++],l[i]);return e};var In,gn=z("document","documentElement"),Gn=fe,yn=an,Xn=Yl,Vn=Xi,Wn=gn,Cn=Xe,Rn=yi("IE_PROTO"),Sn=function(){},vn=function(e){return"<script>"+e+"</"+"script>"},fn=function(e){e.write(vn("")),e.close();var t=e.parentWindow.Object;return e=null,t},Yn=function(){try{In=new ActiveXObject("htmlfile")}catch(e){}var e,t;Yn="undefined"!=typeof document?document.domain&&In?fn(In):((t=Cn("iframe")).style.display="none",Wn.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(vn("document.F=Object")),e.close(),e.F):fn(In);for(var i=Xn.length;i--;)delete Yn.prototype[Xn[i]];return Yn()};Vn[Rn]=!0;var Kn=Object.create||function(e,t){var i;return null!==e?(Sn.prototype=Gn(e),i=new Sn,Sn.prototype=null,i[Rn]=e):i=Yn(),void 0===t?i:yn.f(i,t)},Nn=Ze,Jn=Kn,kn=he.f,Ln=Nn("unscopables"),Un=Array.prototype;null==Un[Ln]&&kn(Un,Ln,{configurable:!0,value:Jn(null)});var Hn=function(e){Un[Ln][e]=!0},Tn=Vl.includes,Fn=Hn;cn({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return Tn(this,e,arguments.length>1?arguments[1]:void 0)}}),Fn("includes"),Hn("flat"),Hn("flatMap");var An={},xn=ze,Bn=function(e){var t,i;this.promise=new e((function(e,l){if(void 0!==t||void 0!==i)throw TypeError("Bad Promise constructor");t=e,i=l})),this.resolve=xn(t),this.reject=xn(i)};An.f=function(e){return new Bn(e)};var wn=ze,zn=d,Pn=h(h.bind),Qn=function(e,t){return wn(e),void 0===t?e:zn?Pn(e,t):function(){return e.apply(t,arguments)}},jn={},Mn=jn,En=Ze("iterator"),Dn=Array.prototype,On=function(e){return void 0!==e&&(Mn.Array===e||Dn[En]===e)},_n={};_n[Ze("toStringTag")]="z";var qn="[object z]"===String(_n),$n=A,eo=Jt,to=Ze("toStringTag"),io=Object,lo="Arguments"==eo(function(){return arguments}()),no=qn?eo:function(e){var t,i,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=io(e),to))?i:lo?eo(t):"Object"==(l=eo(t))&&$n(t.callee)?"Arguments":l},oo=no,co=Qe,ao=jn,so=Ze("iterator"),ro=function(e){if(null!=e)return co(e,so)||co(e,"@@iterator")||ao[oo(e)]},uo=Ne,Zo=ze,bo=fe,ho=Ae,mo=ro,po=TypeError,Io=function(e,t){var i=arguments.length<2?mo(e):t;if(Zo(i))return bo(uo(i,e));throw po(ho(e)+" is not iterable")},go=Ne,Go=fe,yo=Qe,Xo=function(e,t,i){var l,n;Go(e);try{if(!(l=yo(e,"return"))){if("throw"===t)throw i;return i}l=go(l,e)}catch(e){n=!0,l=e}if("throw"===t)throw i;if(n)throw l;return Go(l),i},Vo=Qn,Wo=Ne,Co=fe,Ro=Ae,So=On,vo=Il,fo=Je,Yo=Io,Ko=ro,No=Xo,Jo=TypeError,ko=function(e,t){this.stopped=e,this.result=t},Lo=ko.prototype,Uo=Ne,Ho=ze,To=An,Fo=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ao=function(e,t,i){var l,n,o,c,a,d,s,r=i&&i.that,u=!(!i||!i.AS_ENTRIES),Z=!(!i||!i.IS_RECORD),b=!(!i||!i.IS_ITERATOR),h=!(!i||!i.INTERRUPTED),m=Vo(t,r),p=function(e){return l&&No(l,"normal",e),new ko(!0,e)},I=function(e){return u?(Co(e),h?m(e[0],e[1],p):m(e[0],e[1])):h?m(e,p):m(e)};if(Z)l=e.iterator;else if(b)l=e;else{if(!(n=Ko(e)))throw Jo(Ro(e)+" is not iterable");if(So(n)){for(o=0,c=vo(e);c>o;o++)if((a=I(e[o]))&&fo(Lo,a))return a;return new ko(!1)}l=Yo(e,n)}for(d=Z?e.next:l.next;!(s=Wo(d,l)).done;){try{a=I(s.value)}catch(e){No(l,"throw",e)}if("object"==typeof a&&a&&fo(Lo,a))return a}return new ko(!1)};cn({target:"Promise",stat:!0},{allSettled:function(e){var t=this,i=To.f(t),l=i.resolve,n=i.reject,o=Fo((function(){var i=Ho(t.resolve),n=[],o=0,c=1;Ao(e,(function(e){var a=o++,d=!1;c++,Uo(i,t,e).then((function(e){d||(d=!0,n[a]={status:"fulfilled",value:e},--c||l(n))}),(function(e){d||(d=!0,n[a]={status:"rejected",reason:e},--c||l(n))}))})),--c||l(n)}));return o.error&&n(o.value),i.promise}});var xo=o.Promise,Bo=h,wo=a,zo=A,Po=no,Qo=Zi,jo=function(){},Mo=[],Eo=z("Reflect","construct"),Do=/^\s*(?:class|function)\b/,Oo=Bo(Do.exec),_o=!Do.exec(jo),qo=function(e){if(!zo(e))return!1;try{return Eo(jo,Mo,e),!0}catch(e){return!1}},$o=function(e){if(!zo(e))return!1;switch(Po(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _o||!!Oo(Do,Qo(e))}catch(e){return!0}};$o.sham=!0;var ec=!Eo||wo((function(){var e;return qo(qo.call)||!qo(Object)||!qo((function(){e=!0}))||e}))?$o:qo,tc=ec,ic=Ae,lc=TypeError,nc=function(e){if(tc(e))return e;throw lc(ic(e)+" is not a constructor")},oc=fe,cc=nc,ac=Ze("species"),dc=function(e,t){var i,l=oc(e).constructor;return void 0===l||null==(i=oc(l)[ac])?t:cc(i)},sc=fe,rc=Ie,uc=An,Zc=cn,bc=xo,hc=a,mc=z,pc=A,Ic=dc,gc=function(e,t){if(sc(e),rc(t)&&t.constructor===e)return t;var i=uc.f(e);return(0,i.resolve)(t),i.promise},Gc=il,yc=bc&&bc.prototype;if(Zc({target:"Promise",proto:!0,real:!0,forced:!!bc&&hc((function(){yc.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=Ic(this,mc("Promise")),i=pc(e);return this.then(i?function(i){return gc(t,e()).then((function(){return i}))}:e,i?function(i){return gc(t,e()).then((function(){throw i}))}:e)}}),pc(bc)){var Xc=mc("Promise").prototype.finally;yc.finally!==Xc&&Gc(yc,"finally",Xc,{unsafe:!0})}var Vc=$t.exports,Wc=he,Cc=function(e,t,i){return i.get&&Vc(i.get,t,{getter:!0}),i.set&&Vc(i.set,t,{setter:!0}),Wc.f(e,t,i)},Rc=fe,Sc=function(){var e=Rc(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},vc=me,fc=Cc,Yc=Sc,Kc=a,Nc=o.RegExp,Jc=Nc.prototype,kc=vc&&Kc((function(){var e=!0;try{Nc(".","d")}catch(t){e=!1}var t={},i="",l=e?"dgimsy":"gimsy",n=function(e,l){Object.defineProperty(t,e,{get:function(){return i+=l,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var c in e&&(o.hasIndices="d"),o)n(c,o[c]);return Object.getOwnPropertyDescriptor(Jc,"flags").get.call(t)!==l||i!==l}));kc&&fc(Jc,"flags",{configurable:!0,get:Yc});var Lc,Uc,Hc,Tc=!a((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Fc=V,Ac=A,xc=G,Bc=Tc,wc=yi("IE_PROTO"),zc=Object,Pc=zc.prototype,Qc=Bc?zc.getPrototypeOf:function(e){var t=xc(e);if(Fc(t,wc))return t[wc];var i=t.constructor;return Ac(i)&&t instanceof i?i.prototype:t instanceof zc?Pc:null},jc=a,Mc=A,Ec=Qc,Dc=il,Oc=Ze("iterator"),_c=!1;[].keys&&("next"in(Hc=[].keys())?(Uc=Ec(Ec(Hc)))!==Object.prototype&&(Lc=Uc):_c=!0);var qc=null==Lc||jc((function(){var e={};return Lc[Oc].call(e)!==e}));qc&&(Lc={}),Mc(Lc[Oc])||Dc(Lc,Oc,(function(){return this}));var $c,ea,ta={IteratorPrototype:Lc,BUGGY_SAFARI_ITERATORS:_c},ia=he.f,la=V,na=Ze("toStringTag"),oa=function(e,t,i){e&&!i&&(e=e.prototype),e&&!la(e,na)&&ia(e,na,{configurable:!0,value:t})},ca=ta.IteratorPrototype,aa=Kn,da=ft,sa=oa,ra=jn,ua=function(){return this},Za=function(e,t,i,l){var n=t+" Iterator";return e.prototype=aa(ca,{next:da(+!l,i)}),sa(e,n,!1),ra[n]=ua,e},ba=no,ha=String,ma=function(e){if("Symbol"===ba(e))throw TypeError("Cannot convert a Symbol value to a string");return ha(e)},pa=Ie,Ia=Jt,ga=Ze("match"),Ga=Ne,ya=V,Xa=Je,Va=Sc,Wa=RegExp.prototype,Ca=h,Ra=dl,Sa=ma,va=p,fa=Ca("".charAt),Ya=Ca("".charCodeAt),Ka=Ca("".slice),Na=function(e){return function(t,i){var l,n,o=Sa(va(t)),c=Ra(i),a=o.length;return c<0||c>=a?e?"":void 0:(l=Ya(o,c))<55296||l>56319||c+1===a||(n=Ya(o,c+1))<56320||n>57343?e?fa(o,c):l:e?Ka(o,c,c+2):n-56320+(l-55296<<10)+65536}},Ja={codeAt:Na(!1),charAt:Na(!0)},ka=Ja.charAt,La=function(e,t,i){return t+(i?ka(e,t).length:1)},Ua=a,Ha=o.RegExp,Ta=Ua((function(){var e=Ha("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Fa=Ta||Ua((function(){return!Ha("a","y").sticky})),Aa={BROKEN_CARET:Ta||Ua((function(){var e=Ha("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Fa,UNSUPPORTED_Y:Ta},xa=a,Ba=o.RegExp,wa=xa((function(){var e=Ba(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),za=a,Pa=o.RegExp,Qa=za((function(){var e=Pa("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),ja=Ne,Ma=h,Ea=ma,Da=Sc,Oa=Aa,_a=C.exports,qa=Kn,$a=Ai.get,ed=wa,td=Qa,id=_a("native-string-replace",String.prototype.replace),ld=RegExp.prototype.exec,nd=ld,od=Ma("".charAt),cd=Ma("".indexOf),ad=Ma("".replace),dd=Ma("".slice),sd=(ea=/b*/g,ja(ld,$c=/a/,"a"),ja(ld,ea,"a"),0!==$c.lastIndex||0!==ea.lastIndex),rd=Oa.BROKEN_CARET,ud=void 0!==/()??/.exec("")[1];(sd||ud||rd||ed||td)&&(nd=function(e){var t,i,l,n,o,c,a,d=this,s=$a(d),r=Ea(e),u=s.raw;if(u)return u.lastIndex=d.lastIndex,t=ja(nd,u,r),d.lastIndex=u.lastIndex,t;var Z=s.groups,b=rd&&d.sticky,h=ja(Da,d),m=d.source,p=0,I=r;if(b&&(h=ad(h,"y",""),-1===cd(h,"g")&&(h+="g"),I=dd(r,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==od(r,d.lastIndex-1))&&(m="(?: "+m+")",I=" "+I,p++),i=new RegExp("^(?:"+m+")",h)),ud&&(i=new RegExp("^"+m+"$(?!\\s)",h)),sd&&(l=d.lastIndex),n=ja(ld,b?i:d,I),b?n?(n.input=dd(n.input,p),n[0]=dd(n[0],p),n.index=d.lastIndex,d.lastIndex+=n[0].length):d.lastIndex=0:sd&&n&&(d.lastIndex=d.global?n.index+n[0].length:l),ud&&n&&n.length>1&&ja(id,n[0],i,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n&&Z)for(n.groups=c=qa(null),o=0;o<Z.length;o++)c[(a=Z[o])[0]]=n[a[1]];return n});var Zd=nd,bd=Ne,hd=fe,md=A,pd=Jt,Id=Zd,gd=TypeError,Gd=function(e,t){var i=e.exec;if(md(i)){var l=bd(i,e,t);return null!==l&&hd(l),l}if("RegExp"===pd(e))return bd(Id,e,t);throw gd("RegExp#exec called on incompatible receiver")},yd=cn,Xd=Ne,Vd=h,Wd=Za,Cd=p,Rd=ml,Sd=ma,vd=fe,fd=function(e){var t;return pa(e)&&(void 0!==(t=e[ga])?!!t:"RegExp"==Ia(e))},Yd=function(e){var t=e.flags;return void 0!==t||"flags"in Wa||ya(e,"flags")||!Xa(Wa,e)?t:Ga(Va,e)},Kd=Qe,Nd=il,Jd=a,kd=dc,Ld=La,Ud=Gd,Hd=Ai,Td=Ze("matchAll"),Fd="RegExp String",Ad="RegExp String Iterator",xd=Hd.set,Bd=Hd.getterFor(Ad),wd=RegExp.prototype,zd=TypeError,Pd=Vd("".indexOf),Qd=Vd("".matchAll),jd=!!Qd&&!Jd((function(){Qd("a",/./)})),Md=Wd((function(e,t,i,l){xd(this,{type:Ad,regexp:e,string:t,global:i,unicode:l,done:!1})}),Fd,(function(){var e=Bd(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,i=e.string,l=Ud(t,i);return null===l?{value:void 0,done:e.done=!0}:e.global?(""===Sd(l[0])&&(t.lastIndex=Ld(i,Rd(t.lastIndex),e.unicode)),{value:l,done:!1}):(e.done=!0,{value:l,done:!1})})),Ed=function(e){var t,i,l,n=vd(this),o=Sd(e),c=kd(n,RegExp),a=Sd(Yd(n));return t=new c(c===RegExp?n.source:n,a),i=!!~Pd(a,"g"),l=!!~Pd(a,"u"),t.lastIndex=Rd(n.lastIndex),new Md(t,o,i,l)};yd({target:"String",proto:!0,forced:jd},{matchAll:function(e){var t,i,l,n=Cd(this);if(null!=e){if(fd(e)&&(t=Sd(Cd(Yd(e))),!~Pd(t,"g")))throw zd("`.matchAll` does not allow non-global regexes");if(jd)return Qd(n,e);if(l=Kd(e,Td))return Xd(l,e,n)}else if(jd)return Qd(n,e);return i=Sd(n),new RegExp(e,"g")[Td](i)}}),Td in wd||Nd(wd,Td,Ed);var Dd=d,Od=Function.prototype,_d=Od.apply,qd=Od.call,$d="object"==typeof Reflect&&Reflect.apply||(Dd?qd.bind(_d):function(){return qd.apply(_d,arguments)});cn({target:"RegExp",proto:!0,forced:/./.exec!==Zd},{exec:Zd});var es=h,ts=il,is=Zd,ls=a,ns=Ze,os=qt,cs=ns("species"),as=RegExp.prototype,ds=h,ss=G,rs=Math.floor,us=ds("".charAt),Zs=ds("".replace),bs=ds("".slice),hs=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ms=/\$([$&'`]|\d{1,2})/g,ps=$d,Is=Ne,gs=h,Gs=function(e,t,i,l){var n=ns(e),o=!ls((function(){var t={};return t[n]=function(){return 7},7!=""[e](t)})),c=o&&!ls((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[cs]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return t=!0,null},i[n](""),!t}));if(!o||!c||i){var a=es(/./[n]),d=t(n,""[e],(function(e,t,i,l,n){var c=es(e),d=t.exec;return d===is||d===as.exec?o&&!n?{done:!0,value:a(t,i,l)}:{done:!0,value:c(i,t,l)}:{done:!1}}));ts(String.prototype,e,d[0]),ts(as,n,d[1])}l&&os(as[n],"sham",!0)},ys=a,Xs=fe,Vs=A,Ws=dl,Cs=ml,Rs=ma,Ss=p,vs=La,fs=Qe,Ys=function(e,t,i,l,n,o){var c=i+e.length,a=l.length,d=ms;return void 0!==n&&(n=ss(n),d=hs),Zs(o,d,(function(o,d){var s;switch(us(d,0)){case"$":return"$";case"&":return e;case"`":return bs(t,0,i);case"'":return bs(t,c);case"<":s=n[bs(d,1,-1)];break;default:var r=+d;if(0===r)return o;if(r>a){var u=rs(r/10);return 0===u?o:u<=a?void 0===l[u-1]?us(d,1):l[u-1]+us(d,1):o}s=l[r-1]}return void 0===s?"":s}))},Ks=Gd,Ns=Ze("replace"),Js=Math.max,ks=Math.min,Ls=gs([].concat),Us=gs([].push),Hs=gs("".indexOf),Ts=gs("".slice),Fs="$0"==="a".replace(/./,"$0"),As=!!/./[Ns]&&""===/./[Ns]("a","$0");Gs("replace",(function(e,t,i){var l=As?"$":"$0";return[function(e,i){var l=Ss(this),n=null==e?void 0:fs(e,Ns);return n?Is(n,e,l,i):Is(t,Rs(l),e,i)},function(e,n){var o=Xs(this),c=Rs(e);if("string"==typeof n&&-1===Hs(n,l)&&-1===Hs(n,"$<")){var a=i(t,o,c,n);if(a.done)return a.value}var d=Vs(n);d||(n=Rs(n));var s=o.global;if(s){var r=o.unicode;o.lastIndex=0}for(var u=[];;){var Z=Ks(o,c);if(null===Z)break;if(Us(u,Z),!s)break;""===Rs(Z[0])&&(o.lastIndex=vs(c,Cs(o.lastIndex),r))}for(var b,h="",m=0,p=0;p<u.length;p++){for(var I=Rs((Z=u[p])[0]),g=Js(ks(Ws(Z.index),c.length),0),G=[],y=1;y<Z.length;y++)Us(G,void 0===(b=Z[y])?b:String(b));var X=Z.groups;if(d){var V=Ls([I],G,g,c);void 0!==X&&Us(V,X);var W=Rs(ps(n,void 0,V))}else W=Ys(I,c,g,G,X,n);g>=m&&(h+=Ts(c,m,g)+W,m=g+I.length)}return h+Ts(c,m)}]}),!!ys((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Fs||As);var xs={exports:{}},Bs=Ze("iterator"),ws=!1;try{var zs=0,Ps={next:function(){return{done:!!zs++}},return:function(){ws=!0}};Ps[Bs]=function(){return this},Array.from(Ps,(function(){throw 2}))}catch(e){}var Qs,js,Ms,Es="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,Ds=A,Os=String,_s=TypeError,qs=h,$s=fe,er=function(e){if("object"==typeof e||Ds(e))return e;throw _s("Can't set "+Os(e)+" as a prototype")},tr=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=qs(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),t=i instanceof Array}catch(e){}return function(i,l){return $s(i),er(l),t?e(i,l):i.__proto__=l,i}}():void 0),ir=Es,lr=me,nr=o,or=A,cr=Ie,ar=V,dr=no,sr=Ae,rr=qt,ur=il,Zr=he.f,br=Je,hr=Qc,mr=tr,pr=Ze,Ir=F,gr=Ai.enforce,Gr=Ai.get,yr=nr.Int8Array,Xr=yr&&yr.prototype,Vr=nr.Uint8ClampedArray,Wr=Vr&&Vr.prototype,Cr=yr&&hr(yr),Rr=Xr&&hr(Xr),Sr=Object.prototype,vr=nr.TypeError,fr=pr("toStringTag"),Yr=Ir("TYPED_ARRAY_TAG"),Kr="TypedArrayConstructor",Nr=ir&&!!mr&&"Opera"!==dr(nr.opera),Jr=!1,kr={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Lr={BigInt64Array:8,BigUint64Array:8},Ur=function(e){var t=hr(e);if(cr(t)){var i=Gr(t);return i&&ar(i,Kr)?i.TypedArrayConstructor:Ur(t)}},Hr=function(e){if(!cr(e))return!1;var t=dr(e);return ar(kr,t)||ar(Lr,t)};for(Qs in kr)(Ms=(js=nr[Qs])&&js.prototype)?gr(Ms).TypedArrayConstructor=js:Nr=!1;for(Qs in Lr)(Ms=(js=nr[Qs])&&js.prototype)&&(gr(Ms).TypedArrayConstructor=js);if((!Nr||!or(Cr)||Cr===Function.prototype)&&(Cr=function(){throw vr("Incorrect invocation")},Nr))for(Qs in kr)nr[Qs]&&mr(nr[Qs],Cr);if((!Nr||!Rr||Rr===Sr)&&(Rr=Cr.prototype,Nr))for(Qs in kr)nr[Qs]&&mr(nr[Qs].prototype,Rr);if(Nr&&hr(Wr)!==Rr&&mr(Wr,Rr),lr&&!ar(Rr,fr))for(Qs in Jr=!0,Zr(Rr,fr,{get:function(){return cr(this)?this[Yr]:void 0}}),kr)nr[Qs]&&rr(nr[Qs],Yr,Qs);var Tr={NATIVE_ARRAY_BUFFER_VIEWS:Nr,TYPED_ARRAY_TAG:Jr&&Yr,aTypedArray:function(e){if(Hr(e))return e;throw vr("Target is not a typed array")},aTypedArrayConstructor:function(e){if(or(e)&&(!mr||br(Cr,e)))return e;throw vr(sr(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,i,l){if(lr){if(i)for(var n in kr){var o=nr[n];if(o&&ar(o.prototype,e))try{delete o.prototype[e]}catch(i){try{o.prototype[e]=t}catch(e){}}}Rr[e]&&!i||ur(Rr,e,i?t:Nr&&Xr[e]||t,l)}},exportTypedArrayStaticMethod:function(e,t,i){var l,n;if(lr){if(mr){if(i)for(l in kr)if((n=nr[l])&&ar(n,e))try{delete n[e]}catch(e){}if(Cr[e]&&!i)return;try{return ur(Cr,e,i?t:Nr&&Cr[e]||t)}catch(e){}}for(l in kr)!(n=nr[l])||n[e]&&!i||ur(n,e,t)}},getTypedArrayConstructor:Ur,isView:function(e){if(!cr(e))return!1;var t=dr(e);return"DataView"===t||ar(kr,t)||ar(Lr,t)},isTypedArray:Hr,TypedArray:Cr,TypedArrayPrototype:Rr},Fr=o,Ar=a,xr=function(e,t){if(!t&&!ws)return!1;var i=!1;try{var l={};l[Bs]=function(){return{next:function(){return{done:i=!0}}}},e(l)}catch(e){}return i},Br=Tr.NATIVE_ARRAY_BUFFER_VIEWS,wr=Fr.ArrayBuffer,zr=Fr.Int8Array,Pr=!Br||!Ar((function(){zr(1)}))||!Ar((function(){new zr(-1)}))||!xr((function(e){new zr,new zr(null),new zr(1.5),new zr(e)}),!0)||Ar((function(){return 1!==new zr(new wr(2),1,void 0).length})),Qr=il,jr=function(e,t,i){for(var l in t)Qr(e,l,t[l],i);return e},Mr=Je,Er=TypeError,Dr=function(e,t){if(Mr(t,e))return e;throw Er("Incorrect invocation")},Or=dl,_r=ml,qr=RangeError,$r=function(e){if(void 0===e)return 0;var t=Or(e),i=_r(t);if(t!==i)throw qr("Wrong length or index");return i},eu=Array,tu=Math.abs,iu=Math.pow,lu=Math.floor,nu=Math.log,ou=Math.LN2,cu={pack:function(e,t,i){var l,n,o,c=eu(i),a=8*i-t-1,d=(1<<a)-1,s=d>>1,r=23===t?iu(2,-24)-iu(2,-77):0,u=e<0||0===e&&1/e<0?1:0,Z=0;for((e=tu(e))!=e||e===1/0?(n=e!=e?1:0,l=d):(l=lu(nu(e)/ou),e*(o=iu(2,-l))<1&&(l--,o*=2),(e+=l+s>=1?r/o:r*iu(2,1-s))*o>=2&&(l++,o/=2),l+s>=d?(n=0,l=d):l+s>=1?(n=(e*o-1)*iu(2,t),l+=s):(n=e*iu(2,s-1)*iu(2,t),l=0));t>=8;)c[Z++]=255&n,n/=256,t-=8;for(l=l<<t|n,a+=t;a>0;)c[Z++]=255&l,l/=256,a-=8;return c[--Z]|=128*u,c},unpack:function(e,t){var i,l=e.length,n=8*l-t-1,o=(1<<n)-1,c=o>>1,a=n-7,d=l-1,s=e[d--],r=127&s;for(s>>=7;a>0;)r=256*r+e[d--],a-=8;for(i=r&(1<<-a)-1,r>>=-a,a+=t;a>0;)i=256*i+e[d--],a-=8;if(0===r)r=1-c;else{if(r===o)return i?NaN:s?-1/0:1/0;i+=iu(2,t),r-=c}return(s?-1:1)*i*iu(2,r-t)}},au=G,du=Zl,su=Il,ru=function(e){for(var t=au(this),i=su(t),l=arguments.length,n=du(l>1?arguments[1]:void 0,i),o=l>2?arguments[2]:void 0,c=void 0===o?i:du(o,i);c>n;)t[n++]=e;return t},uu=ct,Zu=he,bu=ft,hu=function(e,t,i){var l=uu(t);l in e?Zu.f(e,l,bu(0,i)):e[l]=i},mu=Zl,pu=Il,Iu=hu,gu=Array,Gu=Math.max,yu=function(e,t,i){for(var l=pu(e),n=mu(t,l),o=mu(void 0===i?l:i,l),c=gu(Gu(o-n,0)),a=0;n<o;n++,a++)Iu(c,a,e[n]);return c.length=a,c},Xu=o,Vu=h,Wu=me,Cu=Es,Ru=oi,Su=qt,vu=jr,fu=a,Yu=Dr,Ku=dl,Nu=ml,Ju=$r,ku=cu,Lu=Qc,Uu=tr,Hu=ll.f,Tu=he.f,Fu=ru,Au=yu,xu=oa,Bu=Ru.PROPER,wu=Ru.CONFIGURABLE,zu=Ai.get,Pu=Ai.set,Qu="ArrayBuffer",ju="DataView",Mu="Wrong index",Eu=Xu.ArrayBuffer,Du=Eu,Ou=Du&&Du.prototype,_u=Xu.DataView,qu=_u&&_u.prototype,$u=Object.prototype,eZ=Xu.Array,tZ=Xu.RangeError,iZ=Vu(Fu),lZ=Vu([].reverse),nZ=ku.pack,oZ=ku.unpack,cZ=function(e){return[255&e]},aZ=function(e){return[255&e,e>>8&255]},dZ=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},sZ=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},rZ=function(e){return nZ(e,23,4)},uZ=function(e){return nZ(e,52,8)},ZZ=function(e,t){Tu(e.prototype,t,{get:function(){return zu(this)[t]}})},bZ=function(e,t,i,l){var n=Ju(i),o=zu(e);if(n+t>o.byteLength)throw tZ(Mu);var c=zu(o.buffer).bytes,a=n+o.byteOffset,d=Au(c,a,a+t);return l?d:lZ(d)},hZ=function(e,t,i,l,n,o){var c=Ju(i),a=zu(e);if(c+t>a.byteLength)throw tZ(Mu);for(var d=zu(a.buffer).bytes,s=c+a.byteOffset,r=l(+n),u=0;u<t;u++)d[s+u]=r[o?u:t-u-1]};if(Cu){var mZ=Bu&&Eu.name!==Qu;if(fu((function(){Eu(1)}))&&fu((function(){new Eu(-1)}))&&!fu((function(){return new Eu,new Eu(1.5),new Eu(NaN),mZ&&!wu})))mZ&&wu&&Su(Eu,"name",Qu);else{(Du=function(e){return Yu(this,Ou),new Eu(Ju(e))}).prototype=Ou;for(var pZ,IZ=Hu(Eu),gZ=0;IZ.length>gZ;)(pZ=IZ[gZ++])in Du||Su(Du,pZ,Eu[pZ]);Ou.constructor=Du}Uu&&Lu(qu)!==$u&&Uu(qu,$u);var GZ=new _u(new Du(2)),yZ=Vu(qu.setInt8);GZ.setInt8(0,2147483648),GZ.setInt8(1,2147483649),!GZ.getInt8(0)&&GZ.getInt8(1)||vu(qu,{setInt8:function(e,t){yZ(this,e,t<<24>>24)},setUint8:function(e,t){yZ(this,e,t<<24>>24)}},{unsafe:!0})}else Du=function(e){Yu(this,Ou);var t=Ju(e);Pu(this,{bytes:iZ(eZ(t),0),byteLength:t}),Wu||(this.byteLength=t)},Ou=Du.prototype,_u=function(e,t,i){Yu(this,qu),Yu(e,Ou);var l=zu(e).byteLength,n=Ku(t);if(n<0||n>l)throw tZ("Wrong offset");if(n+(i=void 0===i?l-n:Nu(i))>l)throw tZ("Wrong length");Pu(this,{buffer:e,byteLength:i,byteOffset:n}),Wu||(this.buffer=e,this.byteLength=i,this.byteOffset=n)},qu=_u.prototype,Wu&&(ZZ(Du,"byteLength"),ZZ(_u,"buffer"),ZZ(_u,"byteLength"),ZZ(_u,"byteOffset")),vu(qu,{getInt8:function(e){return bZ(this,1,e)[0]<<24>>24},getUint8:function(e){return bZ(this,1,e)[0]},getInt16:function(e){var t=bZ(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=bZ(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return sZ(bZ(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return sZ(bZ(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return oZ(bZ(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return oZ(bZ(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){hZ(this,1,e,cZ,t)},setUint8:function(e,t){hZ(this,1,e,cZ,t)},setInt16:function(e,t){hZ(this,2,e,aZ,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){hZ(this,2,e,aZ,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){hZ(this,4,e,dZ,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){hZ(this,4,e,dZ,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){hZ(this,4,e,rZ,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){hZ(this,8,e,uZ,t,arguments.length>2?arguments[2]:void 0)}});xu(Du,Qu),xu(_u,ju);var XZ={ArrayBuffer:Du,DataView:_u},VZ=Ie,WZ=Math.floor,CZ=Number.isInteger||function(e){return!VZ(e)&&isFinite(e)&&WZ(e)===e},RZ=dl,SZ=RangeError,vZ=function(e){var t=RZ(e);if(t<0)throw SZ("The argument can't be less than 0");return t},fZ=RangeError,YZ=function(e,t){var i=vZ(e);if(i%t)throw fZ("Wrong offset");return i},KZ=Qn,NZ=Ne,JZ=nc,kZ=G,LZ=Il,UZ=Io,HZ=ro,TZ=On,FZ=Tr.aTypedArrayConstructor,AZ=function(e){var t,i,l,n,o,c,a=JZ(this),d=kZ(e),s=arguments.length,r=s>1?arguments[1]:void 0,u=void 0!==r,Z=HZ(d);if(Z&&!TZ(Z))for(c=(o=UZ(d,Z)).next,d=[];!(n=NZ(c,o)).done;)d.push(n.value);for(u&&s>2&&(r=KZ(r,arguments[2])),i=LZ(d),l=new(FZ(a))(i),t=0;i>t;t++)l[t]=u?r(d[t],t):d[t];return l},xZ=Jt,BZ=Array.isArray||function(e){return"Array"==xZ(e)},wZ=ec,zZ=Ie,PZ=Ze("species"),QZ=Array,jZ=function(e){var t;return BZ(e)&&(t=e.constructor,(wZ(t)&&(t===QZ||BZ(t.prototype))||zZ(t)&&null===(t=t[PZ]))&&(t=void 0)),void 0===t?QZ:t},MZ=Qn,EZ=Tt,DZ=G,OZ=Il,_Z=function(e,t){return new(jZ(e))(0===t?0:t)},qZ=h([].push),$Z=function(e){var t=1==e,i=2==e,l=3==e,n=4==e,o=6==e,c=7==e,a=5==e||o;return function(d,s,r,u){for(var Z,b,h=DZ(d),m=EZ(h),p=MZ(s,r),I=OZ(m),g=0,G=u||_Z,y=t?G(d,I):i||c?G(d,0):void 0;I>g;g++)if((a||g in m)&&(b=p(Z=m[g],g,h),e))if(t)y[g]=b;else if(b)switch(e){case 3:return!0;case 5:return Z;case 6:return g;case 2:qZ(y,Z)}else switch(e){case 4:return!1;case 7:qZ(y,Z)}return o?-1:l||n?n:y}},eb={forEach:$Z(0),map:$Z(1),filter:$Z(2),some:$Z(3),every:$Z(4),find:$Z(5),findIndex:$Z(6),filterReject:$Z(7)},tb=z,ib=he,lb=me,nb=Ze("species"),ob=A,cb=Ie,ab=tr,db=cn,sb=o,rb=Ne,ub=me,Zb=Pr,bb=Tr,hb=XZ,mb=Dr,pb=ft,Ib=qt,gb=CZ,Gb=ml,yb=$r,Xb=YZ,Vb=ct,Wb=V,Cb=no,Rb=Ie,Sb=Te,vb=Kn,fb=Je,Yb=tr,Kb=ll.f,Nb=AZ,Jb=eb.forEach,kb=function(e){var t=tb(e),i=ib.f;lb&&t&&!t[nb]&&i(t,nb,{configurable:!0,get:function(){return this}})},Lb=he,Ub=Wt,Hb=function(e,t,i){var l,n;return ab&&ob(l=t.constructor)&&l!==i&&cb(n=l.prototype)&&n!==i.prototype&&ab(e,n),e},Tb=Ai.get,Fb=Ai.set,Ab=Ai.enforce,xb=Lb.f,Bb=Ub.f,wb=Math.round,zb=sb.RangeError,Pb=hb.ArrayBuffer,Qb=Pb.prototype,jb=hb.DataView,Mb=bb.NATIVE_ARRAY_BUFFER_VIEWS,Eb=bb.TYPED_ARRAY_TAG,Db=bb.TypedArray,Ob=bb.TypedArrayPrototype,_b=bb.aTypedArrayConstructor,qb=bb.isTypedArray,$b="BYTES_PER_ELEMENT",eh="Wrong length",th=function(e,t){_b(e);for(var i=0,l=t.length,n=new e(l);l>i;)n[i]=t[i++];return n},ih=function(e,t){xb(e,t,{get:function(){return Tb(this)[t]}})},lh=function(e){var t;return fb(Qb,e)||"ArrayBuffer"==(t=Cb(e))||"SharedArrayBuffer"==t},nh=function(e,t){return qb(e)&&!Sb(t)&&t in e&&gb(+t)&&t>=0},oh=function(e,t){return t=Vb(t),nh(e,t)?pb(2,e[t]):Bb(e,t)},ch=function(e,t,i){return t=Vb(t),!(nh(e,t)&&Rb(i)&&Wb(i,"value"))||Wb(i,"get")||Wb(i,"set")||i.configurable||Wb(i,"writable")&&!i.writable||Wb(i,"enumerable")&&!i.enumerable?xb(e,t,i):(e[t]=i.value,e)};ub?(Mb||(Ub.f=oh,Lb.f=ch,ih(Ob,"buffer"),ih(Ob,"byteOffset"),ih(Ob,"byteLength"),ih(Ob,"length")),db({target:"Object",stat:!0,forced:!Mb},{getOwnPropertyDescriptor:oh,defineProperty:ch}),xs.exports=function(e,t,i){var l=e.match(/\d+$/)[0]/8,n=e+(i?"Clamped":"")+"Array",o="get"+e,c="set"+e,a=sb[n],d=a,s=d&&d.prototype,r={},u=function(e,t){xb(e,t,{get:function(){return function(e,t){var i=Tb(e);return i.view[o](t*l+i.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=Tb(e);i&&(n=(n=wb(n))<0?0:n>255?255:255&n),o.view[c](t*l+o.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};Mb?Zb&&(d=t((function(e,t,i,n){return mb(e,s),Hb(Rb(t)?lh(t)?void 0!==n?new a(t,Xb(i,l),n):void 0!==i?new a(t,Xb(i,l)):new a(t):qb(t)?th(d,t):rb(Nb,d,t):new a(yb(t)),e,d)})),Yb&&Yb(d,Db),Jb(Kb(a),(function(e){e in d||Ib(d,e,a[e])})),d.prototype=s):(d=t((function(e,t,i,n){mb(e,s);var o,c,a,r=0,Z=0;if(Rb(t)){if(!lh(t))return qb(t)?th(d,t):rb(Nb,d,t);o=t,Z=Xb(i,l);var b=t.byteLength;if(void 0===n){if(b%l)throw zb(eh);if((c=b-Z)<0)throw zb(eh)}else if((c=Gb(n)*l)+Z>b)throw zb(eh);a=c/l}else a=yb(t),o=new Pb(c=a*l);for(Fb(e,{buffer:o,byteOffset:Z,byteLength:c,length:a,view:new jb(o)});r<a;)u(e,r++)})),Yb&&Yb(d,Db),s=d.prototype=vb(Ob)),s.constructor!==d&&Ib(s,"constructor",d),Ab(s).TypedArrayConstructor=d,Eb&&Ib(s,Eb,n);var Z=d!=a;r[n]=d,db({global:!0,constructor:!0,forced:Z,sham:!Mb},r),$b in d||Ib(d,$b,l),$b in s||Ib(s,$b,l),kb(n)}):xs.exports=function(){},(0,xs.exports)("Float32",(function(e){return function(t,i,l){return e(this,t,i,l)}})),(0,xs.exports)("Float64",(function(e){return function(t,i,l){return e(this,t,i,l)}})),(0,xs.exports)("Int8",(function(e){return function(t,i,l){return e(this,t,i,l)}})),(0,xs.exports)("Int16",(function(e){return function(t,i,l){return e(this,t,i,l)}})),(0,xs.exports)("Int32",(function(e){return function(t,i,l){return e(this,t,i,l)}})),(0,xs.exports)("Uint8",(function(e){return function(t,i,l){return e(this,t,i,l)}})),(0,xs.exports)("Uint8",(function(e){return function(t,i,l){return e(this,t,i,l)}}),!0),(0,xs.exports)("Uint16",(function(e){return function(t,i,l){return e(this,t,i,l)}})),(0,xs.exports)("Uint32",(function(e){return function(t,i,l){return e(this,t,i,l)}}));var ah=lt,dh=TypeError,sh=ru,rh=function(e){var t=ah(e,"number");if("number"==typeof t)throw dh("Can't convert number to bigint");return BigInt(t)},uh=no,Zh=Ne,bh=a,hh=Tr.aTypedArray,mh=Tr.exportTypedArrayMethod,ph=h("".slice);mh("fill",(function(e){var t=arguments.length;hh(this);var i="Big"===ph(uh(this),0,3)?rh(e):+e;return Zh(sh,this,i,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),bh((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))),(0,Tr.exportTypedArrayStaticMethod)("from",AZ,Pr);var Ih=Tr.aTypedArrayConstructor;(0,Tr.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,i=new(Ih(this))(t);t>e;)i[e]=arguments[e++];return i}),Pr);var gh=o,Gh=Ne,yh=Tr,Xh=Il,Vh=YZ,Wh=G,Ch=a,Rh=gh.RangeError,Sh=gh.Int8Array,vh=Sh&&Sh.prototype,fh=vh&&vh.set,Yh=yh.aTypedArray,Kh=yh.exportTypedArrayMethod,Nh=!Ch((function(){var e=new Uint8ClampedArray(2);return Gh(fh,e,{length:1,0:3},1),3!==e[1]})),Jh=Nh&&yh.NATIVE_ARRAY_BUFFER_VIEWS&&Ch((function(){var e=new Sh(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));Kh("set",(function(e){Yh(this);var t=Vh(arguments.length>1?arguments[1]:void 0,1),i=Wh(e);if(Nh)return Gh(fh,this,i,t);var l=this.length,n=Xh(i),o=0;if(n+t>l)throw Rh("Wrong length");for(;o<n;)this[t+o]=i[o++]}),!Nh||Jh);var kh=yu,Lh=Math.floor,Uh=function(e,t){var i=e.length,l=Lh(i/2);return i<8?Hh(e,t):Th(e,Uh(kh(e,0,l),t),Uh(kh(e,l),t),t)},Hh=function(e,t){for(var i,l,n=e.length,o=1;o<n;){for(l=o,i=e[o];l&&t(e[l-1],i)>0;)e[l]=e[--l];l!==o++&&(e[l]=i)}return e},Th=function(e,t,i,l){for(var n=t.length,o=i.length,c=0,a=0;c<n||a<o;)e[c+a]=c<n&&a<o?l(t[c],i[a])<=0?t[c++]:i[a++]:c<n?t[c++]:i[a++];return e},Fh=Uh,Ah=P.match(/firefox\/(\d+)/i),xh=!!Ah&&+Ah[1],Bh=/MSIE|Trident/.test(P),wh=P.match(/AppleWebKit\/(\d+)\./),zh=!!wh&&+wh[1],Ph=h,Qh=a,jh=ze,Mh=Fh,Eh=xh,Dh=Bh,Oh=_,_h=zh,qh=Tr.aTypedArray,$h=Tr.exportTypedArrayMethod,em=o.Uint16Array,tm=em&&Ph(em.prototype.sort),im=!(!tm||Qh((function(){tm(new em(2),null)}))&&Qh((function(){tm(new em(2),{})}))),lm=!!tm&&!Qh((function(){if(Oh)return Oh<74;if(Eh)return Eh<67;if(Dh)return!0;if(_h)return _h<602;var e,t,i=new em(516),l=Array(516);for(e=0;e<516;e++)t=e%4,i[e]=515-e,l[e]=e-2*t+3;for(tm(i,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(i[e]!==l[e])return!0}));$h("sort",(function(e){return void 0!==e&&jh(e),lm?tm(this,e):Mh(qh(this),function(e){return function(t,i){return void 0!==e?+e(t,i)||0:i!=i?-1:t!=t?1:0===t&&0===i?1/t>0&&1/i<0?1:-1:t>i}}(e))}),!lm||im);var nm=Xe("span").classList,om=nm&&nm.constructor&&nm.constructor.prototype,cm=om===Object.prototype?void 0:om,am=cn,dm=Ne,sm=A,rm=Za,um=Qc,Zm=tr,bm=oa,hm=qt,mm=il,pm=jn,Im=oi.PROPER,gm=oi.CONFIGURABLE,Gm=ta.IteratorPrototype,ym=ta.BUGGY_SAFARI_ITERATORS,Xm=Ze("iterator"),Vm="keys",Wm="values",Cm="entries",Rm=function(){return this},Sm=function(e,t,i,l,n,o,c){rm(i,t,l);var a,d,s,r=function(e){if(e===n&&m)return m;if(!ym&&e in b)return b[e];switch(e){case Vm:case Wm:case Cm:return function(){return new i(this,e)}}return function(){return new i(this)}},u=t+" Iterator",Z=!1,b=e.prototype,h=b[Xm]||b["@@iterator"]||n&&b[n],m=!ym&&h||r(n),p="Array"==t&&b.entries||h;if(p&&(a=um(p.call(new e)))!==Object.prototype&&a.next&&(um(a)!==Gm&&(Zm?Zm(a,Gm):sm(a[Xm])||mm(a,Xm,Rm)),bm(a,u,!0)),Im&&n==Wm&&h&&h.name!==Wm&&(gm?hm(b,"name",Wm):(Z=!0,m=function(){return dm(h,this)})),n)if(d={values:r(Wm),keys:o?m:r(Vm),entries:r(Cm)},c)for(s in d)(ym||Z||!(s in b))&&mm(b,s,d[s]);else am({target:t,proto:!0,forced:ym||Z},d);return b[Xm]!==m&&mm(b,Xm,m,{name:n}),pm[t]=m,d},vm=xt,fm=Hn,Ym=jn,Km=Ai,Nm=he.f,Jm=Sm,km=me,Lm="Array Iterator",Um=Km.set,Hm=Km.getterFor(Lm),Tm=Jm(Array,"Array",(function(e,t){Um(this,{type:Lm,target:vm(e),index:0,kind:t})}),(function(){var e=Hm(this),t=e.target,i=e.kind,l=e.index++;return!t||l>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:l,done:!1}:"values"==i?{value:t[l],done:!1}:{value:[l,t[l]],done:!1}}),"values"),Fm=Ym.Arguments=Ym.Array;if(fm("keys"),fm("values"),fm("entries"),km&&"values"!==Fm.name)try{Nm(Fm,"name",{value:"values"})}catch(e){}var Am=o,xm={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},Bm=cm,wm=Tm,zm=qt,Pm=Ze,Qm=Pm("iterator"),jm=Pm("toStringTag"),Mm=wm.values,Em=function(e,t){if(e){if(e[Qm]!==Mm)try{zm(e,Qm,Mm)}catch(t){e[Qm]=Mm}if(e[jm]||zm(e,jm,t),xm[t])for(var i in wm)if(e[i]!==wm[i])try{zm(e,i,wm[i])}catch(t){e[i]=wm[i]}}};for(var Dm in xm)Em(Am[Dm]&&Am[Dm].prototype,Dm);Em(Bm,"DOMTokenList");var Om,_m,qm,$m,ep=h([].slice),tp=TypeError,ip=function(e,t){if(e<t)throw tp("Not enough arguments");return e},lp=/(?:ipad|iphone|ipod).*applewebkit/i.test(P),np="process"==Jt(o.process),op=o,cp=$d,ap=Qn,dp=A,sp=V,rp=a,up=gn,Zp=ep,bp=Xe,hp=ip,mp=lp,pp=np,Ip=op.setImmediate,gp=op.clearImmediate,Gp=op.process,yp=op.Dispatch,Xp=op.Function,Vp=op.MessageChannel,Wp=op.String,Cp=0,Rp={},Sp="onreadystatechange";try{Om=op.location}catch(e){}var vp=function(e){if(sp(Rp,e)){var t=Rp[e];delete Rp[e],t()}},fp=function(e){return function(){vp(e)}},Yp=function(e){vp(e.data)},Kp=function(e){op.postMessage(Wp(e),Om.protocol+"//"+Om.host)};Ip&&gp||(Ip=function(e){hp(arguments.length,1);var t=dp(e)?e:Xp(e),i=Zp(arguments,1);return Rp[++Cp]=function(){cp(t,void 0,i)},_m(Cp),Cp},gp=function(e){delete Rp[e]},pp?_m=function(e){Gp.nextTick(fp(e))}:yp&&yp.now?_m=function(e){yp.now(fp(e))}:Vp&&!mp?($m=(qm=new Vp).port2,qm.port1.onmessage=Yp,_m=ap($m.postMessage,$m)):op.addEventListener&&dp(op.postMessage)&&!op.importScripts&&Om&&"file:"!==Om.protocol&&!rp(Kp)?(_m=Kp,op.addEventListener("message",Yp,!1)):_m=Sp in bp("script")?function(e){up.appendChild(bp("script")).onreadystatechange=function(){up.removeChild(this),vp(e)}}:function(e){setTimeout(fp(e),0)});var Np={set:Ip,clear:gp},Jp=Np.clear;cn({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==Jp},{clearImmediate:Jp});var kp=Np.set;cn({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==kp},{setImmediate:kp});var Lp=Ja.charAt,Up=ma,Hp=Ai,Tp=Sm,Fp="String Iterator",Ap=Hp.set,xp=Hp.getterFor(Fp);Tp(String,"String",(function(e){Ap(this,{type:Fp,string:Up(e),index:0})}),(function(){var e,t=xp(this),i=t.string,l=t.index;return l>=i.length?{value:void 0,done:!0}:(e=Lp(i,l),t.index+=e.length,{value:e,done:!1})}));var Bp=a,wp=Ze("iterator"),zp=!Bp((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,i="";return e.pathname="c%20d",t.forEach((function(e,l){t.delete("b"),i+=l+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[wp]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==i||"x"!==new URL("http://x",void 0).host})),Pp=me,Qp=h,jp=Ne,Mp=a,Ep=rn,Dp=Jl,Op=Ct,_p=G,qp=Tt,$p=Object.assign,eI=Object.defineProperty,tI=Qp([].concat),iI=!$p||Mp((function(){if(Pp&&1!==$p({b:1},$p(eI({},"a",{enumerable:!0,get:function(){eI(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol(),l="abcdefghijklmnopqrst";return e[i]=7,l.split("").forEach((function(e){t[e]=e})),7!=$p({},e)[i]||Ep($p({},t)).join("")!=l}))?function(e,t){for(var i=_p(e),l=arguments.length,n=1,o=Dp.f,c=Op.f;l>n;)for(var a,d=qp(arguments[n++]),s=o?tI(Ep(d),o(d)):Ep(d),r=s.length,u=0;r>u;)a=s[u++],Pp&&!jp(c,d,a)||(i[a]=d[a]);return i}:$p,lI=fe,nI=Xo,oI=Qn,cI=Ne,aI=G,dI=function(e,t,i,l){try{return l?t(lI(i)[0],i[1]):t(i)}catch(t){nI(e,"throw",t)}},sI=On,rI=ec,uI=Il,ZI=hu,bI=Io,hI=ro,mI=Array,pI=h,II=2147483647,gI=/[^\0-\u007E]/,GI=/[.\u3002\uFF0E\uFF61]/g,yI="Overflow: input needs wider integers to process",XI=RangeError,VI=pI(GI.exec),WI=Math.floor,CI=String.fromCharCode,RI=pI("".charCodeAt),SI=pI([].join),vI=pI([].push),fI=pI("".replace),YI=pI("".split),KI=pI("".toLowerCase),NI=function(e){return e+22+75*(e<26)},JI=function(e,t,i){var l=0;for(e=i?WI(e/700):e>>1,e+=WI(e/t);e>455;)e=WI(e/35),l+=36;return WI(l+36*e/(e+38))},kI=function(e){var t=[];e=function(e){for(var t=[],i=0,l=e.length;i<l;){var n=RI(e,i++);if(n>=55296&&n<=56319&&i<l){var o=RI(e,i++);56320==(64512&o)?vI(t,((1023&n)<<10)+(1023&o)+65536):(vI(t,n),i--)}else vI(t,n)}return t}(e);var i,l,n=e.length,o=128,c=0,a=72;for(i=0;i<e.length;i++)(l=e[i])<128&&vI(t,CI(l));var d=t.length,s=d;for(d&&vI(t,"-");s<n;){var r=II;for(i=0;i<e.length;i++)(l=e[i])>=o&&l<r&&(r=l);var u=s+1;if(r-o>WI((II-c)/u))throw XI(yI);for(c+=(r-o)*u,o=r,i=0;i<e.length;i++){if((l=e[i])<o&&++c>II)throw XI(yI);if(l==o){for(var Z=c,b=36;;){var h=b<=a?1:b>=a+26?26:b-a;if(Z<h)break;var m=Z-h,p=36-h;vI(t,CI(NI(h+m%p))),Z=WI(m/p),b+=36}vI(t,CI(NI(Z))),a=JI(c,u,s==d),c=0,s++}}c++,o++}return SI(t,"")},LI=cn,UI=o,HI=Ne,TI=h,FI=me,AI=zp,xI=il,BI=jr,wI=oa,zI=Za,PI=Ai,QI=Dr,jI=A,MI=V,EI=Qn,DI=no,OI=fe,_I=Ie,qI=ma,$I=Kn,eg=ft,tg=Io,ig=ro,lg=ip,ng=Fh,og=Ze("iterator"),cg="URLSearchParams",ag="URLSearchParamsIterator",dg=PI.set,sg=PI.getterFor(cg),rg=PI.getterFor(ag),ug=Object.getOwnPropertyDescriptor,Zg=function(e){if(!FI)return UI[e];var t=ug(UI,e);return t&&t.value},bg=Zg("fetch"),hg=Zg("Request"),mg=Zg("Headers"),pg=hg&&hg.prototype,Ig=mg&&mg.prototype,gg=UI.RegExp,Gg=UI.TypeError,yg=UI.decodeURIComponent,Xg=UI.encodeURIComponent,Vg=TI("".charAt),Wg=TI([].join),Cg=TI([].push),Rg=TI("".replace),Sg=TI([].shift),vg=TI([].splice),fg=TI("".split),Yg=TI("".slice),Kg=/\+/g,Ng=Array(4),Jg=function(e){return Ng[e-1]||(Ng[e-1]=gg("((?:%[\\da-f]{2}){"+e+"})","gi"))},kg=function(e){try{return yg(e)}catch(t){return e}},Lg=function(e){var t=Rg(e,Kg," "),i=4;try{return yg(t)}catch(e){for(;i;)t=Rg(t,Jg(i--),kg);return t}},Ug=/[!'()~]|%20/g,Hg={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Tg=function(e){return Hg[e]},Fg=function(e){return Rg(Xg(e),Ug,Tg)},Ag=zI((function(e,t){dg(this,{type:ag,iterator:tg(sg(e).entries),kind:t})}),"Iterator",(function(){var e=rg(this),t=e.kind,i=e.iterator.next(),l=i.value;return i.done||(i.value="keys"===t?l.key:"values"===t?l.value:[l.key,l.value]),i}),!0),xg=function(e){this.entries=[],this.url=null,void 0!==e&&(_I(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Vg(e,0)?Yg(e,1):e:qI(e)))};xg.prototype={type:cg,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,i,l,n,o,c,a,d=ig(e);if(d)for(i=(t=tg(e,d)).next;!(l=HI(i,t)).done;){if(o=(n=tg(OI(l.value))).next,(c=HI(o,n)).done||(a=HI(o,n)).done||!HI(o,n).done)throw Gg("Expected sequence with length 2");Cg(this.entries,{key:qI(c.value),value:qI(a.value)})}else for(var s in e)MI(e,s)&&Cg(this.entries,{key:s,value:qI(e[s])})},parseQuery:function(e){if(e)for(var t,i,l=fg(e,"&"),n=0;n<l.length;)(t=l[n++]).length&&(i=fg(t,"="),Cg(this.entries,{key:Lg(Sg(i)),value:Lg(Wg(i,"="))}))},serialize:function(){for(var e,t=this.entries,i=[],l=0;l<t.length;)e=t[l++],Cg(i,Fg(e.key)+"="+Fg(e.value));return Wg(i,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Bg=function(){QI(this,wg);var e=arguments.length>0?arguments[0]:void 0;dg(this,new xg(e))},wg=Bg.prototype;if(BI(wg,{append:function(e,t){lg(arguments.length,2);var i=sg(this);Cg(i.entries,{key:qI(e),value:qI(t)}),i.updateURL()},delete:function(e){lg(arguments.length,1);for(var t=sg(this),i=t.entries,l=qI(e),n=0;n<i.length;)i[n].key===l?vg(i,n,1):n++;t.updateURL()},get:function(e){lg(arguments.length,1);for(var t=sg(this).entries,i=qI(e),l=0;l<t.length;l++)if(t[l].key===i)return t[l].value;return null},getAll:function(e){lg(arguments.length,1);for(var t=sg(this).entries,i=qI(e),l=[],n=0;n<t.length;n++)t[n].key===i&&Cg(l,t[n].value);return l},has:function(e){lg(arguments.length,1);for(var t=sg(this).entries,i=qI(e),l=0;l<t.length;)if(t[l++].key===i)return!0;return!1},set:function(e,t){lg(arguments.length,1);for(var i,l=sg(this),n=l.entries,o=!1,c=qI(e),a=qI(t),d=0;d<n.length;d++)(i=n[d]).key===c&&(o?vg(n,d--,1):(o=!0,i.value=a));o||Cg(n,{key:c,value:a}),l.updateURL()},sort:function(){var e=sg(this);ng(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,i=sg(this).entries,l=EI(e,arguments.length>1?arguments[1]:void 0),n=0;n<i.length;)l((t=i[n++]).value,t.key,this)},keys:function(){return new Ag