UNPKG

@asgardeo/auth-spa

Version:

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

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