UNPKG

@asgardeo/auth-spa

Version:

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

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