UNPKG

@auth0/auth0-spa-js

Version:

Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE

1 lines 68.3 kB
!function(t){"function"==typeof define&&define.amd?define(t):t()}(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function e(t,r){return t(r={exports:{}},r.exports),r.exports}var n=e(function(r){!function(){var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t,r){return t(r={exports:{}},r.exports),r.exports}var o,i,a,u="object",c=function(t){return t&&t.Math==Math&&t},f=c(typeof globalThis==u&&globalThis)||c(typeof window==u&&window)||c(typeof self==u&&self)||c(typeof r==u&&r)||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},l=!s(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),p={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,d={f:h&&!p.call({1:2},1)?function(t){var r=h(this,t);return!!r&&r.enumerable}:p},g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},v={}.toString,y=function(t){return v.call(t).slice(8,-1)},b="".split,m=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==y(t)?b.call(t,""):Object(t)}:Object,w=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},S=function(t){return m(w(t))},A=function(t){return"object"==typeof t?null!==t:"function"==typeof t},x=function(t,r){if(!A(t))return t;var e,n;if(r&&"function"==typeof(e=t.toString)&&!A(n=e.call(t)))return n;if("function"==typeof(e=t.valueOf)&&!A(n=e.call(t)))return n;if(!r&&"function"==typeof(e=t.toString)&&!A(n=e.call(t)))return n;throw TypeError("Can't convert object to primitive value")},O={}.hasOwnProperty,E=function(t,r){return O.call(t,r)},M=f.document,P=A(M)&&A(M.createElement),j=function(t){return P?M.createElement(t):{}},T=!l&&!s(function(){return 7!=Object.defineProperty(j("div"),"a",{get:function(){return 7}}).a}),R=Object.getOwnPropertyDescriptor,_={f:l?R:function(t,r){if(t=S(t),r=x(r,!0),T)try{return R(t,r)}catch(t){}if(E(t,r))return g(!d.f.call(t,r),t[r])}},I=function(t){if(!A(t))throw TypeError(String(t)+" is not an object");return t},F=Object.defineProperty,L={f:l?F:function(t,r,e){if(I(t),r=x(r,!0),I(e),T)try{return F(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},k=l?function(t,r,e){return L.f(t,r,g(1,e))}:function(t,r,e){return t[r]=e,t},C=function(t,r){try{k(f,t,r)}catch(e){f[t]=r}return r},N=n(function(t){var r=f["__core-js_shared__"]||C("__core-js_shared__",{});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.1.3",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),D=N("native-function-to-string",Function.toString),U=f.WeakMap,W="function"==typeof U&&/native code/.test(D.call(U)),z=0,B=Math.random(),V=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++z+B).toString(36))},G=N("keys"),Y=function(t){return G[t]||(G[t]=V(t))},q={},H=f.WeakMap;if(W){var K=new H,Q=K.get,X=K.has,J=K.set;o=function(t,r){return J.call(K,t,r),r},i=function(t){return Q.call(K,t)||{}},a=function(t){return X.call(K,t)}}else{var $=Y("state");q[$]=!0,o=function(t,r){return k(t,$,r),r},i=function(t){return E(t,$)?t[$]:{}},a=function(t){return E(t,$)}}var Z={set:o,get:i,has:a,enforce:function(t){return a(t)?i(t):o(t,{})},getterFor:function(t){return function(r){var e;if(!A(r)||(e=i(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},tt=n(function(t){var r=Z.get,e=Z.enforce,n=String(D).split("toString");N("inspectSource",function(t){return D.call(t)}),(t.exports=function(t,r,o,i){var a=!!i&&!!i.unsafe,u=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof r||E(o,"name")||k(o,"name",r),e(o).source=n.join("string"==typeof r?r:"")),t!==f?(a?!c&&t[r]&&(u=!0):delete t[r],u?t[r]=o:k(t,r,o)):u?t[r]=o:C(r,o)})(Function.prototype,"toString",function(){return"function"==typeof this&&r(this).source||D.call(this)})}),rt=Math.ceil,et=Math.floor,nt=function(t){return isNaN(t=+t)?0:(t>0?et:rt)(t)},ot=Math.min,it=function(t){return t>0?ot(nt(t),9007199254740991):0},at=Math.max,ut=Math.min,ct=function(t,r){var e=nt(t);return e<0?at(e+r,0):ut(e,r)},ft=function(t){return function(r,e,n){var o,i=S(r),a=it(i.length),u=ct(n,a);if(t&&e!=e){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},st=ft(!1),lt=function(t,r){var e,n=S(t),o=0,i=[];for(e in n)!E(q,e)&&E(n,e)&&i.push(e);for(;r.length>o;)E(n,e=r[o++])&&(~st(i,e)||i.push(e));return i},pt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ht=pt.concat("length","prototype"),dt={f:Object.getOwnPropertyNames||function(t){return lt(t,ht)}},gt={f:Object.getOwnPropertySymbols},vt=f.Reflect,yt=vt&&vt.ownKeys||function(t){var r=dt.f(I(t)),e=gt.f;return e?r.concat(e(t)):r},bt=function(t,r){for(var e=yt(r),n=L.f,o=_.f,i=0;i<e.length;i++){var a=e[i];E(t,a)||n(t,a,o(r,a))}},mt=/#|\.prototype\./,wt=function(t,r){var e=At[St(t)];return e==Ot||e!=xt&&("function"==typeof r?s(r):!!r)},St=wt.normalize=function(t){return String(t).replace(mt,".").toLowerCase()},At=wt.data={},xt=wt.NATIVE="N",Ot=wt.POLYFILL="P",Et=wt,Mt=_.f,Pt=function(t,r){var e,n,o,i,a,u=t.target,c=t.global,s=t.stat;if(e=c?f:s?f[u]||C(u,{}):(f[u]||{}).prototype)for(n in r){if(i=r[n],o=t.noTargetGet?(a=Mt(e,n))&&a.value:e[n],!Et(c?n:u+(s?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;bt(i,o)}(t.sham||o&&o.sham)&&k(i,"sham",!0),tt(e,n,i,t)}},jt=!s(function(){return Object.isExtensible(Object.preventExtensions({}))}),Tt=n(function(t){var r=L.f,e=V("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){r(t,e,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,r){if(!A(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!E(t,e)){if(!o(t))return"F";if(!r)return"E";i(t)}return t[e].objectID},getWeakData:function(t,r){if(!E(t,e)){if(!o(t))return!0;if(!r)return!1;i(t)}return t[e].weakData},onFreeze:function(t){return jt&&a.REQUIRED&&o(t)&&!E(t,e)&&i(t),t}};q[e]=!0}),Rt=(Tt.REQUIRED,Tt.fastKey,Tt.getWeakData,Tt.onFreeze,!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})),_t=f.Symbol,It=N("wks"),Ft=function(t){return It[t]||(It[t]=Rt&&_t[t]||(Rt?_t:V)("Symbol."+t))},Lt={},kt=Ft("iterator"),Ct=Array.prototype,Nt=function(t){return void 0!==t&&(Lt.Array===t||Ct[kt]===t)},Dt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ut=function(t,r,e){if(Dt(t),void 0===r)return t;switch(e){case 0:return function(){return t.call(r)};case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}},Wt=Ft("toStringTag"),zt="Arguments"==y(function(){return arguments}()),Bt=function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),Wt))?e:zt?y(r):"Object"==(n=y(r))&&"function"==typeof r.callee?"Arguments":n},Vt=Ft("iterator"),Gt=function(t){if(null!=t)return t[Vt]||t["@@iterator"]||Lt[Bt(t)]},Yt=function(t,r,e,n){try{return n?r(I(e)[0],e[1]):r(e)}catch(r){var o=t.return;throw void 0!==o&&I(o.call(t)),r}},qt=n(function(t){var r={};(t.exports=function(t,e,n,o,i){var a,u,c,f,s,l=Ut(e,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=Gt(t)))throw TypeError("Target is not iterable");if(Nt(u)){for(c=0,f=it(t.length);f>c;c++)if((o?l(I(s=t[c])[0],s[1]):l(t[c]))===r)return r;return}a=u.call(t)}for(;!(s=a.next()).done;)if(Yt(a,l,s.value,o)===r)return r}).BREAK=r}),Ht=function(t,r,e){if(!(t instanceof r))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t},Kt=Ft("iterator"),Qt=!1;try{var Xt=0;({next:function(){return{done:!!Xt++}},return:function(){Qt=!0}})[Kt]=function(){return this}}catch(t){}var Jt=function(t,r){if(!r&&!Qt)return!1;var e=!1;try{var n={};n[Kt]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(t){}return e},$t=L.f,Zt=Ft("toStringTag"),tr=function(t,r,e){t&&!E(t=e?t:t.prototype,Zt)&&$t(t,Zt,{configurable:!0,value:r})},rr=function(t,r){if(I(t),!A(r)&&null!==r)throw TypeError("Can't set "+String(r)+" as a prototype")},er=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return rr(e,n),r?t.call(e,n):e.__proto__=n,e}}():void 0),nr=function(t,r,e){var n,o=r.constructor;return o!==e&&"function"==typeof o&&(n=o.prototype)!==e.prototype&&A(n)&&er&&er(t,n),t},or=function(t,r,e,n,o){var i=f[t],a=i&&i.prototype,u=i,c=n?"set":"add",l={},p=function(t){var r=a[t];tt(a,t,"add"==t?function(t){return r.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!A(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!A(t)?void 0:r.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!A(t))&&r.call(this,0===t?0:t)}:function(t,e){return r.call(this,0===t?0:t,e),this})};if(Et(t,"function"!=typeof i||!(o||a.forEach&&!s(function(){(new i).entries().next()}))))u=e.getConstructor(r,t,n,c),Tt.REQUIRED=!0;else if(Et(t,!0)){var h=new u,d=h[c](o?{}:-0,1)!=h,g=s(function(){h.has(1)}),v=Jt(function(t){new i(t)}),y=!o&&s(function(){for(var t=new i,r=5;r--;)t[c](r,r);return!t.has(-0)});v||((u=r(function(r,e){Ht(r,u,t);var o=nr(new i,r,u);return null!=e&&qt(e,o[c],o,n),o})).prototype=a,a.constructor=u),(g||y)&&(p("delete"),p("has"),n&&p("get")),(y||d)&&p(c),o&&a.clear&&delete a.clear}return l[t]=u,Pt({global:!0,forced:u!=i},l),tr(u,t),o||e.setStrong(u,t,n),u},ir=Object.keys||function(t){return lt(t,pt)},ar=l?Object.defineProperties:function(t,r){I(t);for(var e,n=ir(r),o=n.length,i=0;o>i;)L.f(t,e=n[i++],r[e]);return t},ur=f.document,cr=ur&&ur.documentElement,fr=Y("IE_PROTO"),sr=function(){},lr=function(){var t,r=j("iframe"),e=pt.length;for(r.style.display="none",cr.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),lr=t.F;e--;)delete lr.prototype[pt[e]];return lr()},pr=Object.create||function(t,r){var e;return null!==t?(sr.prototype=I(t),e=new sr,sr.prototype=null,e[fr]=t):e=lr(),void 0===r?e:ar(e,r)};q[fr]=!0;var hr,dr,gr,vr=function(t,r,e){for(var n in r)tt(t,n,r[n],e);return t},yr=function(t){return Object(w(t))},br=!s(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),mr=Y("IE_PROTO"),wr=Object.prototype,Sr=br?Object.getPrototypeOf:function(t){return t=yr(t),E(t,mr)?t[mr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?wr:null},Ar=Ft("iterator"),xr=!1;[].keys&&("next"in(gr=[].keys())?(dr=Sr(Sr(gr)))!==Object.prototype&&(hr=dr):xr=!0),null==hr&&(hr={}),E(hr,Ar)||k(hr,Ar,function(){return this});var Or={IteratorPrototype:hr,BUGGY_SAFARI_ITERATORS:xr},Er=Or.IteratorPrototype,Mr=function(){return this},Pr=function(t,r,e){var n=r+" Iterator";return t.prototype=pr(Er,{next:g(1,e)}),tr(t,n,!1),Lt[n]=Mr,t},jr=Or.IteratorPrototype,Tr=Or.BUGGY_SAFARI_ITERATORS,Rr=Ft("iterator"),_r=function(){return this},Ir=function(t,r,e,n,o,i,a){Pr(e,r,n);var u,c,f,s=function(t){if(t===o&&g)return g;if(!Tr&&t in h)return h[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},l=r+" Iterator",p=!1,h=t.prototype,d=h[Rr]||h["@@iterator"]||o&&h[o],g=!Tr&&d||s(o),v="Array"==r&&h.entries||d;if(v&&(u=Sr(v.call(new t)),jr!==Object.prototype&&u.next&&(Sr(u)!==jr&&(er?er(u,jr):"function"!=typeof u[Rr]&&k(u,Rr,_r)),tr(u,l,!0))),"values"==o&&d&&"values"!==d.name&&(p=!0,g=function(){return d.call(this)}),h[Rr]!==g&&k(h,Rr,g),Lt[r]=g,o)if(c={values:s("values"),keys:i?g:s("keys"),entries:s("entries")},a)for(f in c)!Tr&&!p&&f in h||tt(h,f,c[f]);else Pt({target:r,proto:!0,forced:Tr||p},c);return c},Fr=f,Lr=function(t){return"function"==typeof t?t:void 0},kr=function(t,r){return arguments.length<2?Lr(Fr[t])||Lr(f[t]):Fr[t]&&Fr[t][r]||f[t]&&f[t][r]},Cr=Ft("species"),Nr=function(t){var r=kr(t),e=L.f;l&&r&&!r[Cr]&&e(r,Cr,{configurable:!0,get:function(){return this}})},Dr=L.f,Ur=Tt.fastKey,Wr=Z.set,zr=Z.getterFor,Br={getConstructor:function(t,r,e,n){var o=t(function(t,i){Ht(t,o,r),Wr(t,{type:r,index:pr(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=i&&qt(i,t[n],t,e)}),i=zr(r),a=function(t,r,e){var n,o,a=i(t),c=u(t,r);return c?c.value=e:(a.last=c={index:o=Ur(r,!0),key:r,value:e,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=c),n&&(n.next=c),l?a.size++:t.size++,"F"!==o&&(a.index[o]=c)),t},u=function(t,r){var e,n=i(t),o=Ur(r);if("F"!==o)return n.index[o];for(e=n.first;e;e=e.next)if(e.key==r)return e};return vr(o.prototype,{clear:function(){for(var t=i(this),r=t.index,e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),delete r[e.index],e=e.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var r=i(this),e=u(this,t);if(e){var n=e.next,o=e.previous;delete r.index[e.index],e.removed=!0,o&&(o.next=n),n&&(n.previous=o),r.first==e&&(r.first=n),r.last==e&&(r.last=o),l?r.size--:this.size--}return!!e},forEach:function(t){for(var r,e=i(this),n=Ut(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.next:e.first;)for(n(r.value,r.key,this);r&&r.removed;)r=r.previous},has:function(t){return!!u(this,t)}}),vr(o.prototype,e?{get:function(t){var r=u(this,t);return r&&r.value},set:function(t,r){return a(this,0===t?0:t,r)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),l&&Dr(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,r,e){var n=r+" Iterator",o=zr(r),i=zr(n);Ir(t,r,function(t,r){Wr(this,{type:n,target:t,state:o(t),kind:r,last:void 0})},function(){for(var t=i(this),r=t.kind,e=t.last;e&&e.removed;)e=e.previous;return t.target&&(t.last=e=e?e.next:t.state.first)?"keys"==r?{value:e.key,done:!1}:"values"==r?{value:e.value,done:!1}:{value:[e.key,e.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},e?"entries":"values",!e,!0),Nr(r)}},Vr=(or("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},Br,!0),{});Vr[Ft("toStringTag")]="z";var Gr="[object z]"!==String(Vr)?function(){return"[object "+Bt(this)+"]"}:Vr.toString,Yr=Object.prototype;Gr!==Yr.toString&&tt(Yr,"toString",Gr,{unsafe:!0});var qr=function(t,r,e){var n,o,i=String(w(t)),a=nt(r),u=i.length;return a<0||a>=u?e?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):n:e?i.slice(a,a+2):o-56320+(n-55296<<10)+65536},Hr=Z.set,Kr=Z.getterFor("String Iterator");Ir(String,"String",function(t){Hr(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,r=Kr(this),e=r.string,n=r.index;return n>=e.length?{value:void 0,done:!0}:(t=qr(e,n,!0),r.index+=t.length,{value:t,done:!1})});var Qr={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},Xr=Ft("unscopables"),Jr=Array.prototype;null==Jr[Xr]&&k(Jr,Xr,pr(null));var $r=function(t){Jr[Xr][t]=!0},Zr=Z.set,te=Z.getterFor("Array Iterator"),re=Ir(Array,"Array",function(t,r){Zr(this,{type:"Array Iterator",target:S(t),index:0,kind:r})},function(){var t=te(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:n,done:!1}:"values"==e?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}},"values");Lt.Arguments=Lt.Array,$r("keys"),$r("values"),$r("entries");var ee=Ft("iterator"),ne=Ft("toStringTag"),oe=re.values;for(var ie in Qr){var ae=f[ie],ue=ae&&ae.prototype;if(ue){if(ue[ee]!==oe)try{k(ue,ee,oe)}catch(t){ue[ee]=oe}if(ue[ne]||k(ue,ne,ie),Qr[ie])for(var ce in re)if(ue[ce]!==re[ce])try{k(ue,ce,re[ce])}catch(t){ue[ce]=re[ce]}}}Fr.Map;var fe=Array.isArray||function(t){return"Array"==y(t)},se=Ft("species"),le=function(t,r){var e;return fe(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!fe(e.prototype)?A(e)&&null===(e=e[se])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===r?0:r)},pe=function(t,r){var e=1==t,n=2==t,o=3==t,i=4==t,a=6==t,u=5==t||a,c=r||le;return function(r,f,s){for(var l,p,h=yr(r),d=m(h),g=Ut(f,s,3),v=it(d.length),y=0,b=e?c(r,v):n?c(r,0):void 0;v>y;y++)if((u||y in d)&&(p=g(l=d[y],y,h),t))if(e)b[y]=p;else if(p)switch(t){case 3:return!0;case 5:return l;case 6:return y;case 2:b.push(l)}else if(i)return!1;return a?-1:o||i?i:b}},he=Tt.getWeakData,de=Z.set,ge=Z.getterFor,ve=pe(5),ye=pe(6),be=0,me=function(t){return t.frozen||(t.frozen=new we)},we=function(){this.entries=[]},Se=function(t,r){return ve(t.entries,function(t){return t[0]===r})};we.prototype={get:function(t){var r=Se(this,t);if(r)return r[1]},has:function(t){return!!Se(this,t)},set:function(t,r){var e=Se(this,t);e?e[1]=r:this.entries.push([t,r])},delete:function(t){var r=ye(this.entries,function(r){return r[0]===t});return~r&&this.entries.splice(r,1),!!~r}};var Ae={getConstructor:function(t,r,e,n){var o=t(function(t,i){Ht(t,o,r),de(t,{type:r,id:be++,frozen:void 0}),null!=i&&qt(i,t[n],t,e)}),i=ge(r),a=function(t,r,e){var n=i(t),o=he(I(r),!0);return!0===o?me(n).set(r,e):o[n.id]=e,t};return vr(o.prototype,{delete:function(t){var r=i(this);if(!A(t))return!1;var e=he(t);return!0===e?me(r).delete(t):e&&E(e,r.id)&&delete e[r.id]},has:function(t){var r=i(this);if(!A(t))return!1;var e=he(t);return!0===e?me(r).has(t):e&&E(e,r.id)}}),vr(o.prototype,e?{get:function(t){var r=i(this);if(A(t)){var e=he(t);return!0===e?me(r).get(t):e?e[r.id]:void 0}},set:function(t,r){return a(this,t,r)}}:{add:function(t){return a(this,t,!0)}}),o}};n(function(t){var r,e=Z.enforce,n=!f.ActiveXObject&&"ActiveXObject"in f,o=Object.isExtensible,i=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},a=t.exports=or("WeakMap",i,Ae,!0,!0);if(W&&n){r=Ae.getConstructor(i,"WeakMap",!0),Tt.REQUIRED=!0;var u=a.prototype,c=u.delete,s=u.has,l=u.get,p=u.set;vr(u,{delete:function(t){if(A(t)&&!o(t)){var n=e(this);return n.frozen||(n.frozen=new r),c.call(this,t)||n.frozen.delete(t)}return c.call(this,t)},has:function(t){if(A(t)&&!o(t)){var n=e(this);return n.frozen||(n.frozen=new r),s.call(this,t)||n.frozen.has(t)}return s.call(this,t)},get:function(t){if(A(t)&&!o(t)){var n=e(this);return n.frozen||(n.frozen=new r),s.call(this,t)?l.call(this,t):n.frozen.get(t)}return l.call(this,t)},set:function(t,n){if(A(t)&&!o(t)){var i=e(this);i.frozen||(i.frozen=new r),s.call(this,t)?p.call(this,t,n):i.frozen.set(t,n)}else p.call(this,t,n);return this}})}}),Fr.WeakMap,or("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},Br),Fr.Set;or("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},Ae,!1,!0);Fr.WeakSet;e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})}));var xe=pe(5),Oe=!0;"find"in[]&&Array(1).find(function(){Oe=!1}),Pt({target:"Array",proto:!0,forced:Oe},{find:function(t){return xe(this,t,arguments.length>1?arguments[1]:void 0)}}),$r("find");var Ee,Me=Function.call,Pe=function(t,r,e){return Ut(Me,f[t].prototype[r],e)},je=(Pe("Array","find"),L.f),Te=f.DataView,Re=Te&&Te.prototype,_e=f.Int8Array,Ie=_e&&_e.prototype,Fe=f.Uint8ClampedArray,Le=Fe&&Fe.prototype,ke=_e&&Sr(_e),Ce=Ie&&Sr(Ie),Ne=Object.prototype,De=Ne.isPrototypeOf,Ue=Ft("toStringTag"),We=V("TYPED_ARRAY_TAG"),ze=!(!f.ArrayBuffer||!f.DataView),Be=ze&&!!er,Ve=!1,Ge={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ye=function(t){return A(t)&&E(Ge,Bt(t))};for(Ee in Ge)f[Ee]||(Be=!1);if((!Be||"function"!=typeof ke||ke===Function.prototype)&&(ke=function(){throw TypeError("Incorrect invocation")},Be))for(Ee in Ge)f[Ee]&&er(f[Ee],ke);if((!Be||!Ce||Ce===Ne)&&(Ce=ke.prototype,Be))for(Ee in Ge)f[Ee]&&er(f[Ee].prototype,Ce);if(Be&&Sr(Le)!==Ce&&er(Le,Ce),l&&!E(Ce,Ue))for(Ee in Ve=!0,je(Ce,Ue,{get:function(){return A(this)?this[We]:void 0}}),Ge)f[Ee]&&k(f[Ee],We,Ee);ze&&er&&Sr(Re)!==Ne&&er(Re,Ne);var qe={NATIVE_ARRAY_BUFFER:ze,NATIVE_ARRAY_BUFFER_VIEWS:Be,TYPED_ARRAY_TAG:Ve&&We,aTypedArray:function(t){if(Ye(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(er){if(De.call(ke,t))return t}else for(var r in Ge)if(E(Ge,Ee)){var e=f[r];if(e&&(t===e||De.call(e,t)))return t}throw TypeError("Target is not a typed array constructor")},exportProto:function(t,r,e){if(l){if(e)for(var n in Ge){var o=f[n];o&&E(o.prototype,t)&&delete o.prototype[t]}Ce[t]&&!e||tt(Ce,t,e?r:Be&&Ie[t]||r)}},exportStatic:function(t,r,e){var n,o;if(l){if(er){if(e)for(n in Ge)(o=f[n])&&E(o,t)&&delete o[t];if(ke[t]&&!e)return;try{return tt(ke,t,e?r:Be&&_e[t]||r)}catch(t){}}for(n in Ge)!(o=f[n])||o[t]&&!e||tt(o,t,r)}},isView:function(t){var r=Bt(t);return"DataView"===r||E(Ge,r)},isTypedArray:Ye,TypedArray:ke,TypedArrayPrototype:Ce},He=pe(5),Ke=qe.aTypedArray;qe.exportProto("find",function(t){return He(Ke(this),t,arguments.length>1?arguments[1]:void 0)});var Qe=pe(6),Xe=!0;"findIndex"in[]&&Array(1).findIndex(function(){Xe=!1}),Pt({target:"Array",proto:!0,forced:Xe},{findIndex:function(t){return Qe(this,t,arguments.length>1?arguments[1]:void 0)}}),$r("findIndex");Pe("Array","findIndex");var Je=pe(6),$e=qe.aTypedArray;qe.exportProto("findIndex",function(t){return Je($e(this),t,arguments.length>1?arguments[1]:void 0)});var Ze=function(t){for(var r=yr(this),e=it(r.length),n=arguments.length,o=ct(n>1?arguments[1]:void 0,e),i=n>2?arguments[2]:void 0,a=void 0===i?e:ct(i,e);a>o;)r[o++]=t;return r};Pt({target:"Array",proto:!0},{fill:Ze}),$r("fill");Pe("Array","fill");var tn=qe.aTypedArray;qe.exportProto("fill",function(t){return Ze.apply(tn(this),arguments)});var rn=[].copyWithin||function(t,r){var e=yr(this),n=it(e.length),o=ct(t,n),i=ct(r,n),a=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===a?n:ct(a,n))-i,n-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in e?e[o]=e[i]:delete e[o],o+=c,i+=c;return e};Pt({target:"Array",proto:!0},{copyWithin:rn}),$r("copyWithin");Pe("Array","copyWithin");var en=qe.aTypedArray;qe.exportProto("copyWithin",function(t,r){return rn.call(en(this),t,r,arguments.length>2?arguments[2]:void 0)});var nn=function(t,r,e){var n=x(r);n in t?L.f(t,n,g(0,e)):t[n]=e},on=!Jt(function(t){});Pt({target:"Array",stat:!0,forced:on},{from:function(t){var r,e,n,o,i=yr(t),a="function"==typeof this?this:Array,u=arguments.length,c=u>1?arguments[1]:void 0,f=void 0!==c,s=0,l=Gt(i);if(f&&(c=Ut(c,u>2?arguments[2]:void 0,2)),null==l||a==Array&&Nt(l))for(e=new a(r=it(i.length));r>s;s++)nn(e,s,f?c(i[s],s):i[s]);else for(o=l.call(i),e=new a;!(n=o.next()).done;s++)nn(e,s,f?Yt(o,c,[n.value,s],!0):n.value);return e.length=s,e}});Fr.Array.from;var an=qe.NATIVE_ARRAY_BUFFER_VIEWS,un=f.ArrayBuffer,cn=f.Int8Array,fn=!an||!s(function(){cn(1)})||!s(function(){new cn(-1)})||!Jt(function(t){new cn,new cn(null),new cn(1.5),new cn(t)},!0)||s(function(){return 1!==new cn(new un(2),1,void 0).length}),sn=qe.aTypedArrayConstructor,ln=function(t){var r,e,n,o,i,a=yr(t),u=arguments.length,c=u>1?arguments[1]:void 0,f=void 0!==c,s=Gt(a);if(null!=s&&!Nt(s))for(i=s.call(a),a=[];!(o=i.next()).done;)a.push(o.value);for(f&&u>2&&(c=Ut(c,arguments[2],2)),e=it(a.length),n=new(sn(this))(e),r=0;e>r;r++)n[r]=f?c(a[r],r):a[r];return n};qe.exportStatic("from",ln,fn);var pn=s(function(){function t(){}return!(Array.of.call(t)instanceof t)});Pt({target:"Array",stat:!0,forced:pn},{of:function(){for(var t=0,r=arguments.length,e=new("function"==typeof this?this:Array)(r);r>t;)nn(e,t,arguments[t++]);return e.length=r,e}});Fr.Array.of;var hn=qe.aTypedArrayConstructor;qe.exportStatic("of",function(){for(var t=0,r=arguments.length,e=new(hn(this))(r);r>t;)e[t]=arguments[t++];return e},fn);var dn=L.f,gn=Function.prototype,vn=gn.toString,yn=/^\s*function ([^ (]*)/;!l||"name"in gn||dn(gn,"name",{configurable:!0,get:function(){try{return vn.call(this).match(yn)[1]}catch(t){return""}}});var bn=Math.floor,mn=Math.log,wn=Math.LOG2E;Pt({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-bn(mn(t+.5)*wn):32}});Fr.Math.clz32;var Sn=Math.imul,An=s(function(){return-5!=Sn(4294967295,5)||2!=Sn.length});Pt({target:"Math",stat:!0,forced:An},{imul:function(t,r){var e=+t,n=+r,o=65535&e,i=65535&n;return 0|o*i+((65535&e>>>16)*i+o*(65535&n>>>16)<<16>>>0)}});Fr.Math.imul;var xn=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1};Pt({target:"Math",stat:!0},{sign:xn});Fr.Math.sign;var On=Math.log,En=Math.LOG10E;Pt({target:"Math",stat:!0},{log10:function(t){return On(t)*En}});Fr.Math.log10;var Mn=Math.log,Pn=Math.LN2;Pt({target:"Math",stat:!0},{log2:function(t){return Mn(t)/Pn}});Fr.Math.log2;var jn=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)};Pt({target:"Math",stat:!0},{log1p:jn});Fr.Math.log1p;var Tn=Math.expm1,Rn=!Tn||Tn(10)>22025.465794806718||Tn(10)<22025.465794806718||-2e-17!=Tn(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:Tn;Pt({target:"Math",stat:!0,forced:Rn!=Math.expm1},{expm1:Rn});Fr.Math.expm1;var _n=Math.cosh,In=Math.abs,Fn=Math.E;Pt({target:"Math",stat:!0,forced:!_n||_n(710)===1/0},{cosh:function(t){var r=Rn(In(t)-1)+1;return(r+1/(r*Fn*Fn))*(Fn/2)}});Fr.Math.cosh;var Ln=Math.abs,kn=Math.exp,Cn=Math.E,Nn=s(function(){return-2e-17!=Math.sinh(-2e-17)});Pt({target:"Math",stat:!0,forced:Nn},{sinh:function(t){return Ln(t=+t)<1?(Rn(t)-Rn(-t))/2:(kn(t-1)-kn(-t-1))*(Cn/2)}});Fr.Math.sinh;var Dn=Math.exp;Pt({target:"Math",stat:!0},{tanh:function(t){var r=Rn(t=+t),e=Rn(-t);return r==1/0?1:e==1/0?-1:(r-e)/(Dn(t)+Dn(-t))}});Fr.Math.tanh;var Un=Math.acosh,Wn=Math.log,zn=Math.sqrt,Bn=Math.LN2,Vn=!Un||710!=Math.floor(Un(Number.MAX_VALUE))||Un(1/0)!=1/0;Pt({target:"Math",stat:!0,forced:Vn},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Wn(t)+Bn:jn(t-1+zn(t-1)*zn(t+1))}});Fr.Math.acosh;var Gn=Math.asinh,Yn=Math.log,qn=Math.sqrt;Pt({target:"Math",stat:!0,forced:!(Gn&&1/Gn(0)>0)},{asinh:function t(r){return isFinite(r=+r)&&0!=r?r<0?-t(-r):Yn(r+qn(r*r+1)):r}});Fr.Math.asinh;var Hn=Math.atanh,Kn=Math.log;Pt({target:"Math",stat:!0,forced:!(Hn&&1/Hn(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:Kn((1+t)/(1-t))/2}});Fr.Math.atanh;var Qn=Math.abs,Xn=Math.sqrt;Pt({target:"Math",stat:!0},{hypot:function(t,r){for(var e,n,o=0,i=0,a=arguments.length,u=0;i<a;)u<(e=Qn(arguments[i++]))?(o=o*(n=u/e)*n+1,u=e):o+=e>0?(n=e/u)*n:e;return u===1/0?1/0:u*Xn(o)}});Fr.Math.hypot;var Jn=Math.ceil,$n=Math.floor;Pt({target:"Math",stat:!0},{trunc:function(t){return(t>0?$n:Jn)(t)}});Fr.Math.trunc;var Zn=Math.pow,to=Zn(2,-52),ro=Zn(2,-23),eo=Zn(2,127)*(2-ro),no=Zn(2,-126),oo=Math.fround||function(t){var r,e,n=Math.abs(t),o=xn(t);return n<no?o*(n/no/ro+1/to-1/to)*no*ro:(e=(r=(1+ro/to)*n)-(r-n))>eo||e!=e?o*(1/0):o*e};Pt({target:"Math",stat:!0},{fround:oo});Fr.Math.fround;var io=Math.abs,ao=Math.pow;Pt({target:"Math",stat:!0},{cbrt:function(t){return xn(t=+t)*ao(io(t),1/3)}});Fr.Math.cbrt;Pt({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var uo=f.isFinite,co=Number.isFinite||function(t){return"number"==typeof t&&uo(t)};Pt({target:"Number",stat:!0},{isFinite:co});Fr.Number.isFinite;var fo=Math.floor,so=function(t){return!A(t)&&isFinite(t)&&fo(t)===t};Pt({target:"Number",stat:!0},{isInteger:so});Fr.Number.isInteger;Pt({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});Fr.Number.isNaN;var lo=Math.abs;Pt({target:"Number",stat:!0},{isSafeInteger:function(t){return so(t)&&lo(t)<=9007199254740991}});Fr.Number.isSafeInteger;Pt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Pt({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991});var po="\t\n\v\f\r                 \u2028\u2029\ufeff",ho="["+po+"]",go=RegExp("^"+ho+ho+"*"),vo=RegExp(ho+ho+"*$"),yo=function(t,r){return t=String(w(t)),1&r&&(t=t.replace(go,"")),2&r&&(t=t.replace(vo,"")),t},bo=f.parseFloat,mo=1/bo(po+"-0")!=-1/0?function(t){var r=yo(String(t),3),e=bo(r);return 0===e&&"-"==r.charAt(0)?-0:e}:bo;Pt({target:"Number",stat:!0,forced:Number.parseFloat!=mo},{parseFloat:mo});Fr.Number.parseFloat;var wo=f.parseInt,So=/^[+-]?0[Xx]/,Ao=8!==wo(po+"08")||22!==wo(po+"0x16")?function(t,r){var e=yo(String(t),3);return wo(e,r>>>0||(So.test(e)?16:10))}:wo;Pt({target:"Number",stat:!0,forced:Number.parseInt!=Ao},{parseInt:Ao});Fr.Number.parseInt;var xo=Object.assign,Oo=!xo||s(function(){var t={},r={},e=Symbol();return t[e]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),7!=xo({},t)[e]||"abcdefghijklmnopqrst"!=ir(xo({},r)).join("")})?function(t,r){for(var e=yr(t),n=arguments.length,o=1,i=gt.f,a=d.f;n>o;)for(var u,c=m(arguments[o++]),f=i?ir(c).concat(i(c)):ir(c),s=f.length,p=0;s>p;)u=f[p++],l&&!a.call(c,u)||(e[u]=c[u]);return e}:xo;Pt({target:"Object",stat:!0,forced:Object.assign!==Oo},{assign:Oo});Fr.Object.assign;var Eo={f:Ft},Mo=L.f,Po=function(t){var r=Fr.Symbol||(Fr.Symbol={});E(r,t)||Mo(r,t,{value:Eo.f(t)})},jo=dt.f,To={}.toString,Ro="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_o={f:function(t){return Ro&&"[object Window]"==To.call(t)?function(t){try{return jo(t)}catch(t){return Ro.slice()}}(t):jo(S(t))}},Io=Y("hidden"),Fo=Z.set,Lo=Z.getterFor("Symbol"),ko=_.f,Co=L.f,No=_o.f,Do=f.Symbol,Uo=f.JSON,Wo=Uo&&Uo.stringify,zo=Ft("toPrimitive"),Bo=d.f,Vo=N("symbol-registry"),Go=N("symbols"),Yo=N("op-symbols"),qo=N("wks"),Ho=Object.prototype,Ko=f.QObject,Qo=!Ko||!Ko.prototype||!Ko.prototype.findChild,Xo=l&&s(function(){return 7!=pr(Co({},"a",{get:function(){return Co(this,"a",{value:7}).a}})).a})?function(t,r,e){var n=ko(Ho,r);n&&delete Ho[r],Co(t,r,e),n&&t!==Ho&&Co(Ho,r,n)}:Co,Jo=function(t,r){var e=Go[t]=pr(Do.prototype);return Fo(e,{type:"Symbol",tag:t,description:r}),l||(e.description=r),e},$o=Rt&&"symbol"==typeof Do.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Do},Zo=function(t,r,e){return t===Ho&&Zo(Yo,r,e),I(t),r=x(r,!0),I(e),E(Go,r)?(e.enumerable?(E(t,Io)&&t[Io][r]&&(t[Io][r]=!1),e=pr(e,{enumerable:g(0,!1)})):(E(t,Io)||Co(t,Io,g(1,{})),t[Io][r]=!0),Xo(t,r,e)):Co(t,r,e)},ti=function(t,r){I(t);for(var e,n=function(t){var r=ir(t),e=gt.f;if(e)for(var n,o=e(t),i=d.f,a=0;o.length>a;)i.call(t,n=o[a++])&&r.push(n);return r}(r=S(r)),o=0,i=n.length;i>o;)Zo(t,e=n[o++],r[e]);return t},ri=function(t){var r=Bo.call(this,t=x(t,!0));return!(this===Ho&&E(Go,t)&&!E(Yo,t))&&(!(r||!E(this,t)||!E(Go,t)||E(this,Io)&&this[Io][t])||r)},ei=function(t,r){if(t=S(t),r=x(r,!0),t!==Ho||!E(Go,r)||E(Yo,r)){var e=ko(t,r);return!e||!E(Go,r)||E(t,Io)&&t[Io][r]||(e.enumerable=!0),e}},ni=function(t){for(var r,e=No(S(t)),n=[],o=0;e.length>o;)E(Go,r=e[o++])||E(q,r)||n.push(r);return n},oi=function(t){for(var r,e=t===Ho,n=No(e?Yo:S(t)),o=[],i=0;n.length>i;)!E(Go,r=n[i++])||e&&!E(Ho,r)||o.push(Go[r]);return o};Rt||(tt((Do=function(){if(this instanceof Do)throw TypeError("Symbol is not a constructor");var t=void 0===arguments[0]?void 0:String(arguments[0]),r=V(t),e=function(t){this===Ho&&e.call(Yo,t),E(this,Io)&&E(this[Io],r)&&(this[Io][r]=!1),Xo(this,r,g(1,t))};return l&&Qo&&Xo(Ho,r,{configurable:!0,set:e}),Jo(r,t)}).prototype,"toString",function(){return Lo(this).tag}),d.f=ri,L.f=Zo,_.f=ei,dt.f=_o.f=ni,gt.f=oi,l&&(Co(Do.prototype,"description",{configurable:!0,get:function(){return Lo(this).description}}),tt(Ho,"propertyIsEnumerable",ri,{unsafe:!0})),Eo.f=function(t){return Jo(Ft(t),t)}),Pt({global:!0,wrap:!0,forced:!Rt,sham:!Rt},{Symbol:Do});for(var ii=ir(qo),ai=0;ii.length>ai;)Po(ii[ai++]);Pt({target:"Symbol",stat:!0,forced:!Rt},{for:function(t){return E(Vo,t+="")?Vo[t]:Vo[t]=Do(t)},keyFor:function(t){if(!$o(t))throw TypeError(t+" is not a symbol");for(var r in Vo)if(Vo[r]===t)return r},useSetter:function(){Qo=!0},useSimple:function(){Qo=!1}}),Pt({target:"Object",stat:!0,forced:!Rt,sham:!l},{create:function(t,r){return void 0===r?pr(t):ti(pr(t),r)},defineProperty:Zo,defineProperties:ti,getOwnPropertyDescriptor:ei}),Pt({target:"Object",stat:!0,forced:!Rt},{getOwnPropertyNames:ni,getOwnPropertySymbols:oi}),Pt({target:"Object",stat:!0,forced:s(function(){gt.f(1)})},{getOwnPropertySymbols:function(t){return gt.f(yr(t))}}),Uo&&Pt({target:"JSON",stat:!0,forced:!Rt||s(function(){var t=Do();return"[null]"!=Wo([t])||"{}"!=Wo({a:t})||"{}"!=Wo(Object(t))})},{stringify:function(t){for(var r,e,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(e=r=n[1],(A(r)||void 0!==t)&&!$o(t))return fe(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!$o(r))return r}),n[1]=r,Wo.apply(Uo,n)}}),Do.prototype[zo]||k(Do.prototype,zo,Do.prototype.valueOf),tr(Do,"Symbol"),q[Io]=!0;Fr.Object.getOwnPropertySymbols;var ui=Object.is||function(t,r){return t===r?0!==t||1/t==1/r:t!=t&&r!=r};Pt({target:"Object",stat:!0},{is:ui});Fr.Object.is;Pt({target:"Object",stat:!0},{setPrototypeOf:er});Fr.Object.setPrototypeOf;var ci=function(){var t=I(this),r="";return t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.unicode&&(r+="u"),t.sticky&&(r+="y"),r};l&&"g"!=/./g.flags&&L.f(RegExp.prototype,"flags",{configurable:!0,get:ci});var fi=Ft("match"),si=function(t){var r;return A(t)&&(void 0!==(r=t[fi])?!!r:"RegExp"==y(t))},li=L.f,pi=dt.f,hi=Ft("match"),di=f.RegExp,gi=di.prototype,vi=/a/g,yi=/a/g,bi=new di(vi)!==vi;if(Et("RegExp",l&&(!bi||s(function(){return yi[hi]=!1,di(vi)!=vi||di(yi)==yi||"/a/i"!=di(vi,"i")})))){for(var mi=function(t,r){var e=this instanceof mi,n=si(t),o=void 0===r;return!e&&n&&t.constructor===mi&&o?t:nr(bi?new di(n&&!o?t.source:t,r):di((n=t instanceof mi)?t.source:t,n&&o?ci.call(t):r),e?this:gi,mi)},wi=function(t){t in mi||li(mi,t,{configurable:!0,get:function(){return di[t]},set:function(r){di[t]=r}})},Si=pi(di),Ai=0;Ai<Si.length;)wi(Si[Ai++]);gi.constructor=mi,mi.prototype=gi,tt(f,"RegExp",mi)}Nr("RegExp"),Pt({target:"String",proto:!0},{codePointAt:function(t){return qr(this,t)}});Pe("String","codePointAt");var xi=function(t,r,e){if(si(r))throw TypeError("String.prototype."+e+" doesn't accept regex");return String(w(t))},Oi=Ft("match"),Ei=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[Oi]=!1,"/./"[t](r)}catch(t){}}return!1};Pt({target:"String",proto:!0,forced:!Ei("includes")},{includes:function(t){return!!~xi(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}});Pe("String","includes");var Mi="".endsWith,Pi=Math.min;Pt({target:"String",proto:!0,forced:!Ei("endsWith")},{endsWith:function(t){var r=xi(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,n=it(r.length),o=void 0===e?n:Pi(it(e),n),i=String(t);return Mi?Mi.call(r,i,o):r.slice(o-i.length,o)===i}});Pe("String","endsWith");var ji="".repeat||function(t){var r=String(w(this)),e="",n=nt(t);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(r+=r))1&n&&(e+=r);return e};Pt({target:"String",proto:!0},{repeat:ji});Pe("String","repeat");var Ti="".startsWith;Pt({target:"String",proto:!0,forced:!Ei("startsWith")},{startsWith:function(t){var r=xi(this,t,"startsWith"),e=it(Math.min(arguments.length>1?arguments[1]:void 0,r.length)),n=String(t);return Ti?Ti.call(r,n,e):r.slice(e,e+n.length)===n}});Pe("String","startsWith");var Ri=/"/g,_i=function(t,r,e,n){var o=String(w(t)),i="<"+r;return""!==e&&(i+=" "+e+'="'+String(n).replace(Ri,"&quot;")+'"'),i+">"+o+"</"+r+">"},Ii=function(t){return s(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})};Pt({target:"String",proto:!0,forced:Ii("anchor")},{anchor:function(t){return _i(this,"a","name",t)}});Pe("String","anchor");Pt({target:"String",proto:!0,forced:Ii("blink")},{blink:function(){return _i(this,"blink","","")}});Pe("String","blink");Pt({target:"String",proto:!0,forced:Ii("bold")},{bold:function(){return _i(this,"b","","")}});Pe("String","bold");Pt({target:"String",proto:!0,forced:Ii("fixed")},{fixed:function(){return _i(this,"tt","","")}});Pe("String","fixed");Pt({target:"String",proto:!0,forced:Ii("fontcolor")},{fontcolor:function(t){return _i(this,"font","color",t)}});Pe("String","fontcolor");Pt({target:"String",proto:!0,forced:Ii("fontsize")},{fontsize:function(t){return _i(this,"font","size",t)}});Pe("String","fontsize");Pt({target:"String",proto:!0,forced:Ii("italics")},{italics:function(){return _i(this,"i","","")}});Pe("String","italics");Pt({target:"String",proto:!0,forced:Ii("link")},{link:function(t){return _i(this,"a","href",t)}});Pe("String","link");Pt({target:"String",proto:!0,forced:Ii("small")},{small:function(){return _i(this,"small","","")}});Pe("String","small");Pt({target:"String",proto:!0,forced:Ii("strike")},{strike:function(){return _i(this,"strike","","")}});Pe("String","strike");Pt({target:"String",proto:!0,forced:Ii("sub")},{sub:function(){return _i(this,"sub","","")}});Pe("String","sub");Pt({target:"String",proto:!0,forced:Ii("sup")},{sup:function(){return _i(this,"sup","","")}});Pe("String","sup");var Fi=String.fromCharCode,Li=String.fromCodePoint,ki=!!Li&&1!=Li.length;Pt({target:"String",stat:!0,forced:ki},{fromCodePoint:function(t){for(var r,e=[],n=arguments.length,o=0;n>o;){if(r=+arguments[o++],ct(r,1114111)!==r)throw RangeError(r+" is not a valid code point");e.push(r<65536?Fi(r):Fi(55296+((r-=65536)>>10),r%1024+56320))}return e.join("")}});Fr.String.fromCodePoint;Pt({target:"String",stat:!0},{raw:function(t){for(var r=S(t.raw),e=it(r.length),n=arguments.length,o=[],i=0;e>i;)o.push(String(r[i++])),i<n&&o.push(String(arguments[i]));return o.join("")}});Fr.String.raw;e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})})),Po("iterator");Eo.f("iterator"),Pe("Array","values"),Pe("Array","entries"),Pe("Array","keys"),Pe("Array","values");var Ci=Ft("iterator"),Ni=f.Uint8Array,Di=re.values,Ui=re.keys,Wi=re.entries,zi=qe.aTypedArray,Bi=qe.exportProto,Vi=Ni&&Ni.prototype[Ci],Gi=!!Vi&&("values"==Vi.name||null==Vi.name),Yi=function(){return Di.call(zi(this))};Bi("entries",function(){return Wi.call(zi(this))}),Bi("keys",function(){return Ui.call(zi(this))}),Bi("values",Yi,!Gi),Bi(Ci,Yi,!Gi),e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})}));var qi,Hi,Ki,Qi=Ft("species"),Xi=function(t,r){var e,n=I(t).constructor;return void 0===n||null==(e=I(n)[Qi])?r:Dt(e)},Ji=f.location,$i=f.setImmediate,Zi=f.clearImmediate,ta=f.process,ra=f.MessageChannel,ea=f.Dispatch,na=0,oa={},ia=function(t){if(oa.hasOwnProperty(t)){var r=oa[t];delete oa[t],r()}},aa=function(t){return function(){ia(t)}},ua=function(t){ia(t.data)},ca=function(t){f.postMessage(t+"",Ji.protocol+"//"+Ji.host)};$i&&Zi||($i=function(t){for(var r=[],e=1;arguments.length>e;)r.push(arguments[e++]);return oa[++na]=function(){("function"==typeof t?t:Function(t)).apply(void 0,r)},qi(na),na},Zi=function(t){delete oa[t]},"process"==y(ta)?qi=function(t){ta.nextTick(aa(t))}:ea&&ea.now?qi=function(t){ea.now(aa(t))}:ra?(Ki=(Hi=new ra).port2,Hi.port1.onmessage=ua,qi=Ut(Ki.postMessage,Ki,1)):!f.addEventListener||"function"!=typeof postMessage||f.importScripts||s(ca)?qi="onreadystatechange"in j("script")?function(t){cr.appendChild(j("script")).onreadystatechange=function(){cr.removeChild(this),ia(t)}}:function(t){setTimeout(aa(t),0)}:(qi=ca,f.addEventListener("message",ua,!1)));var fa,sa,la,pa,ha,da,ga,va={set:$i,clear:Zi},ya=f.navigator,ba=ya&&ya.userAgent||"",ma=_.f,wa=va.set,Sa=f.MutationObserver||f.WebKitMutationObserver,Aa=f.process,xa=f.Promise,Oa="process"==y(Aa),Ea=ma(f,"queueMicrotask"),Ma=Ea&&Ea.value;Ma||(fa=function(){var t,r;for(Oa&&(t=Aa.domain)&&t.exit();sa;){r=sa.fn,sa=sa.next;try{r()}catch(t){throw sa?pa():la=void 0,t}}la=void 0,t&&t.enter()},Oa?pa=function(){Aa.nextTick(fa)}:Sa&&!/(iphone|ipod|ipad).*applewebkit/i.test(ba)?(ha=!0,da=document.createTextNode(""),new Sa(fa).observe(da,{characterData:!0}),pa=function(){da.data=ha=!ha}):xa&&xa.resolve?(ga=xa.resolve(void 0),pa=function(){ga.then(fa)}):pa=function(){wa.call(f,fa)});var Pa,ja,Ta,Ra=Ma||function(t){var r={fn:t,next:void 0};la&&(la.next=r),sa||(sa=r,pa()),la=r},_a=function(t){var r,e;this.promise=new t(function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n}),this.resolve=Dt(r),this.reject=Dt(e)},Ia={f:function(t){return new _a(t)}},Fa=function(t,r){if(I(t),A(r)&&r.constructor===t)return r;var e=Ia.f(t);return(0,e.resolve)(r),e.promise},La=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},ka=va.set,Ca=Ft("species"),Na="Promise",Da=Z.get,Ua=Z.set,Wa=Z.getterFor(Na),za=f.Promise,Ba=f.TypeError,Va=f.document,Ga=f.process,Ya=f.fetch,qa=Ga&&Ga.versions,Ha=qa&&qa.v8||"",Ka=Ia.f,Qa=Ka,Xa="process"==y(Ga),Ja=!!(Va&&Va.createEvent&&f.dispatchEvent),$a=Et(Na,function(){var t=za.resolve(1),r=function(){},e=(t.constructor={})[Ca]=function(t){t(r,r)};return!((Xa||"function"==typeof PromiseRejectionEvent)&&t.then(r)instanceof e&&0!==Ha.indexOf("6.6")&&-1===ba.indexOf("Chrome/66"))}),Za=$a||!Jt(function(t){za.all(t).catch(function(){})}),tu=function(t){var r;return!(!A(t)||"function"!=typeof(r=t.then))&&r},ru=function(t,r,e){if(!r.notified){r.notified=!0;var n=r.reactions;Ra(function(){for(var o=r.value,i=1==r.state,a=0,u=function(e){var n,a,u,c=i?e.ok:e.fail,f=e.resolve,s=e.reject,l=e.domain;try{c?(i||(2===r.rejection&&iu(t,r),r.rejection=1),!0===c?n=o:(l&&l.enter(),n=c(o),l&&(l.exit(),u=!0)),n===e.promise?s(Ba("Promise-chain cycle")):(a=tu(n))?a.call(n,f,s):f(n)):s(o)}catch(t){l&&!u&&l.exit(),s(t)}};n.length>a;)u(n[a++]);r.reactions=[],r.notified=!1,e&&!r.rejection&&nu(t,r)})}},eu=function(t,r,e){var n,o;Ja?((n=Va.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:r,reason:e},(o=f["on"+t])?o(n):"unhandledrejection"===t&&function(t,r){var e=f.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,r))}("Unhandled promise rejection",e)},nu=function(t,r){ka.call(f,function(){var e,n=r.value;if(ou(r)&&(e=La(function(){Xa?Ga.emit("unhandledRejection",n,t):eu("unhandledrejection",t,n)}),r.rejection=Xa||ou(r)?2:1,e.error))throw e.value})},ou=function(t){return 1!==t.rejection&&!t.parent},iu=function(t,r){ka.call(f,function(){Xa?Ga.emit("rejectionHandled",t):eu("rejectionhandled",t,r.value)})},au=function(t,r,e,n){return function(o){t(r,e,o,n)}},uu=function(t,r,e,n){r.done||(r.done=!0,n&&(r=n),r.value=e,r.state=2,ru(t,r,!0))},cu=function(t,r,e,n){if(!r.done){r.done=!0,n&&(r=n);try{if(t===e)throw Ba("Promise can't be resolved itself");var o=tu(e);o?Ra(function(){var n={done:!1};try{o.call(e,au(cu,t,n,r),au(uu,t,n,r))}catch(e){uu(t,n,e,r)}}):(r.value=e,r.state=1,ru(t,r,!1))}catch(e){uu(t,{done:!1},e,r)}}};$a&&(za=function(t){Ht(this,za,Na),Dt(t),Pa.call(this);var r=Da(this);try{t(au(cu,this,r),au(uu,this,r))}catch(t){uu(this,r,t)}},(Pa=function(t){Ua(this,{type:Na,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=vr(za.prototype,{then:function(t,r){var e=Wa(this),n=Ka(Xi(this,za));return n.ok="function"!=typeof t||t,n.fail="function"==typeof r&&r,n.domain=Xa?Ga.domain:void 0,e.parent=!0,e.reactions.push(n),0!=e.state&&ru(this,e,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),ja=function(){var t=new Pa,r=Da(t);this.promise=t,this.resolve=au(cu,t,r),this.reject=au(uu,t,r)},Ia.f=Ka=function(t){return t===za||t===Ta?new ja(t):Qa(t)},"function"==typeof Ya&&Pt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Fa(za,Ya.apply(f,arguments))}})),Pt({global:!0,wrap:!0,forced:$a},{Promise:za}),tr(za,Na,!1),Nr(Na),Ta=Fr.Promise,Pt({target:Na,stat:!0,forced:$a},{reject:function(t){var r=Ka(this);return r.reject.call(void 0,t),r.promise}}),Pt({target:Na,stat:!0,forced:$a},{resolve:function(t){return Fa(this,t)}}),Pt({target:Na,stat:!0,forced:Za},{all:function(t){var r=this,e=Ka(r),n=e.resolve,o=e.reject,i=La(function(){var e=Dt(r.resolve),i=[],a=0,u=1;qt(t,function(t){var c=a++,f=!1;i.push(void 0),u++,e.call(r,t).then(function(t){f||(f=!0,i[c]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),e.promise},race:function(t){var r=this,e=Ka(r),n=e.reject,o=La(function(){var o=Dt(r.resolve);qt(t,function(t){o.call(r,t).then(e.resolve,n)})});return o.error&&n(o.value),e.promise}}),Pt({target:"Promise",proto:!0,real:!0},{finally:function(t){var r=Xi(this,kr("Promise")),e="function"==typeof t;return this.then(e?function(e){return Fa(r,t()).then(function(){return e})}:t,e?function(e){return Fa(r,t()).then(function(){throw e})}:t)}});Fr.Promise;e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})}));var fu=(f.Reflect||{}).apply,su=Function.apply,lu=!s(function(){fu(function(){})});Pt({target:"Reflect",stat:!0,forced:lu},{apply:function(t,r,e){return Dt(t),I(e),fu?fu(t,r,e):su.call(t,r,e)}});Fr.Reflect.apply;var pu=[].slice,hu={},du=function(t,r,e){if(!(r in hu)){for(var n=[],o=0;o<r;o++)n[o]="a["+o+"]";hu[r]=Function("C,a","return new C("+n.join(",")+")")}return hu[r](t,e)},gu=Function.bind||function(t){var r=Dt(this),e=pu.call(arguments,1),n=function(){var o=e.concat(pu.call(arguments));return this instanceof n?du(r,o.length,o):r.apply(t,o)};return A(r.prototype)&&(n.prototype=r.prototype),n},vu=(f.Reflect||{}).construct,yu=s(function(){function t(){}return!(vu(function(){},[],t)instanceof t)}),bu=!s(function(){vu(function(){})}),mu=yu||bu;Pt({target:"Reflect",stat:!0,forced:mu,sham:mu},{construct:function(t,r){Dt(t),I(r);var e=arguments.length<3?t:Dt(arguments[2]);if(bu&&!yu)return vu(t,r,e);if(t==e){switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3])}var n=[null];return n.push.apply(n,r),new(gu.apply(t,n))}var o=e.prototype,i=pr(A(o)?o:Object.prototype),a=Function.apply.call(t,i,r);return A(a)?a:i}});Fr.Reflect.construct;var wu=s(function(){Reflect.defineProperty(L.f({},1,{value:1}),1,{value:2})});Pt({target:"Reflect",stat:!0,forced:wu,sham:!l},{defineProperty:function(t,r,e){I(t),r=x(r,!0),I(e);try{return L.f(t,r,e),!0}catch(t){return!1}}});Fr.Reflect.defineProperty;var Su=_.f;Pt({target:"Reflect",stat:!0},{deleteProperty:function(t,r){var e=Su(I(t),r);return!(e&&!e.configurable)&&delete t[r]}});Fr.Reflect.deleteProperty;Pt({target:"Reflect",stat:!0},{get:function t(r,e){var n,o,i=arguments.length<3?r:arguments[2];return I(r)===i?r[e]:(n=_.f(r,e))?E(n,"value")?n.value:void 0===n.get?void 0:n.get.call(i):A(o=Sr(r))?t(o,e,i):void 0}});Fr.Reflect.get;Pt({target:"Reflect",stat:!0,sham:!l},{getOwnPropertyDescriptor:function(t,r){return _.f(I(t),r)}});Fr.Reflect.getOwnPropertyDescriptor;Pt({target:"Reflect",stat:!0,sham:!br},{getPrototypeOf:function(t){return Sr(I(t))}});Fr.Reflect.getPrototypeOf;Pt({target:"Reflect",stat:!0},{has:function(t,r){return r in t}});Fr.Reflect.has;var Au=Object.isExtensible;Pt({target:"Reflect",stat:!0},{isExtensible:function(t){return I(t),!Au||Au(t)}});Fr.Reflect.isExtensible;Pt({target:"Reflect",stat:!0},{ownKeys:yt});Fr.Reflect.ownKeys;Pt({target:"Reflect",stat:!0,sham:!jt},{preventExtensions:function(t){I(t);try{var r=kr("Object","preventExtensions");return r&&r(t),!0}catch(t){return!1}}});Fr.Reflect.preventExtensions;Pt({target:"Reflect",stat:!0},{set:function t(r,e,n){var o,i,a=arguments.length<4?r:arguments[3],u=_.f(I(r),e);if(!u){if(A(i=Sr(r)))return t(i,e,n,a);u=g(0)}if(E(u,"value")){if(!1===u.writable||!A(a))return!1;if(o=_.f(a,e)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,L.f(a,e,o)}else L.f(a,e,g(0,n));return!0}return void 0!==u.set&&(u.set.call(a,n),!0)}});Fr.Reflect.set;er&&Pt({target:"Reflect",stat:!0},{setPrototypeOf:function(t,r){rr(t,r);try{return er(t,r),!0}catch(t){return!1}}});Fr.Reflect.setPrototypeOf;e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})}));var xu=ft(!0);Pt({target:"Array",proto:!0},{includes:function(t){return xu(this,t,arguments.length>1?arguments[1]:void 0)}}),$r("includes");Pe("Array","includes");var Ou=qe.aTypedArray,Eu=ft(!0);qe.exportProto("includes",function(t){return Eu(Ou(this),t,arguments.length>1?arguments[1]:void 0)}),e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})}));var Mu=d.f,Pu=function(t,r){for(var e,n=S(t),o=ir(n),i=o.length,a=0,u=[];i>a;)e=o[a++],l&&!Mu.call(n,e)||u.push(r?[e,n[e]]:n[e]);return u};Pt({target:"Object",stat:!0},{values:function(t){return Pu(t)}});Fr.Object.values;Pt({target:"Object",stat:!0},{entries:function(t){return Pu(t,!0)}});Fr.Object.entries;Pt({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(t){for(var r,e,n=S(t),o=_.f,i=yt(n),a={},u=0;i.length>u;)void 0!==(e=o(n,r=i[u++]))&&nn(a,r,e);return a}});Fr.Object.getOwnPropertyDescriptors;e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})}));var ju=function(t,r,e,n){var o,i,a=String(w(t)),u=a.length,c=void 0===e?" ":String(e),f=it(r);return f<=u||""==c?a:(o=f-u,(i=ji.call(c,Math.ceil(o/c.length))).length>o&&(i=i.slice(0,o)),n?i+a:a+i)},Tu=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(ba);Pt({target:"String",proto:!0,forced:Tu},{padStart:function(t){return ju(this,t,arguments.length>1?arguments[1]:void 0,!0)}});Pe("String","padStart");Pt({target:"String",proto:!0,forced:Tu},{padEnd:function(t){return ju(this,t,arguments.length>1?arguments[1]:void 0,!1)}});Pe("String","padEnd");e(n(function(t,r){Object.defineProperty(r,"__esModule",{value:!0})}));var Ru=function(t){if(void 0===t)