firebase
Version:
Firebase JavaScript library for web and Node.js
1 lines • 1.16 MB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).firebase=t()}(this,(function(){"use strict";!function(e){if(!e.fetch){var t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,s="ArrayBuffer"in e;if(s)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=function(e){return e&&DataView.prototype.isPrototypeOf(e)},c=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};p.prototype.append=function(e,t){e=h(e),t=d(t);var n=this.map[e];this.map[e]=n?n+","+t:t},p.prototype.delete=function(e){delete this.map[h(e)]},p.prototype.get=function(e){return e=h(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(h(e))},p.prototype.set=function(e,t){this.map[h(e)]=d(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},v.call(w.prototype),v.call(T.prototype),T.prototype.clone=function(){return new T(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},T.error=function(){var e=new T(null,{status:0,statusText:""});return e.type="error",e};var l=[301,302,303,307,308];T.redirect=function(e,t){if(-1===l.indexOf(t))throw new RangeError("Invalid status code");return new T(null,{status:t,headers:{location:e}})},e.Headers=p,e.Request=w,e.Response=T,e.fetch=function(e,t){return new Promise((function(n,i){var s=new w(e,t),o=new XMLHttpRequest;o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;n(new T(i,r))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(s.method,s.url,!0),"include"===s.credentials?o.withCredentials=!0:"omit"===s.credentials&&(o.withCredentials=!1),"responseType"in o&&r&&(o.responseType="blob"),s.headers.forEach((function(e,t){o.setRequestHeader(t,e)})),o.send(void 0===s._bodyInit?null:s._bodyInit)}))},e.fetch.polyfill=!0}function h(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function g(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function _(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(r&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(i&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(s&&r&&a(e))this._bodyArrayBuffer=_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!s||!ArrayBuffer.prototype.isPrototypeOf(e)&&!c(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=_(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=g(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?g(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var e=g(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=m(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}function w(e,t){var n=(t=t||{}).body;if(e instanceof w){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=function(e){var t=e.toUpperCase();return u.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function T(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:void 0);var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){var t={exports:{}};return e(t,t.exports),t.exports}var n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")(),i=function(e){try{return!!e()}catch(e){return!0}},s=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,c={f:a&&!o.call({1:2},1)?function(e){var t=a(this,e);return!!t&&t.enumerable}:o},u=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},l={}.toString,h=function(e){return l.call(e).slice(8,-1)},d="".split,f=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==h(e)?d.call(e,""):Object(e)}:Object,p=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},g=function(e){return f(p(e))},m=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!m(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!m(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!m(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},_=function(e){return Object(p(e))},v={}.hasOwnProperty,w=Object.hasOwn||function(e,t){return v.call(_(e),t)},b=r.document,T=m(b)&&m(b.createElement),I=function(e){return T?b.createElement(e):{}},E=!s&&!i((function(){return 7!=Object.defineProperty(I("div"),"a",{get:function(){return 7}}).a})),S=Object.getOwnPropertyDescriptor,k={f:s?S:function(e,t){if(e=g(e),t=y(t,!0),E)try{return S(e,t)}catch(e){}if(w(e,t))return u(!c.f.call(e,t),e[t])}},C=function(e){if(!m(e))throw TypeError(String(e)+" is not an object");return e},R=Object.defineProperty,A={f:s?R:function(e,t,n){if(C(e),t=y(t,!0),C(n),E)try{return R(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},N=s?function(e,t,n){return A.f(e,t,u(1,n))}:function(e,t,n){return e[t]=n,e},P=function(e,t){try{N(r,e,t)}catch(n){r[e]=t}return t},x="__core-js_shared__",D=r[x]||P(x,{}),O=Function.toString;"function"!=typeof D.inspectSource&&(D.inspectSource=function(e){return O.call(e)});var M,L,F,U=D.inspectSource,q=r.WeakMap,j="function"==typeof q&&/native code/.test(U(q)),V=!1,B=t((function(e){(e.exports=function(e,t){return D[e]||(D[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),$=0,W=Math.random(),K=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++$+W).toString(36)},z=B("keys"),H=function(e){return z[e]||(z[e]=K(e))},G={},Q="Object already initialized",Y=r.WeakMap;if(j||D.state){var J=D.state||(D.state=new Y),X=J.get,Z=J.has,ee=J.set;M=function(e,t){if(Z.call(J,e))throw new TypeError(Q);return t.facade=e,ee.call(J,e,t),t},L=function(e){return X.call(J,e)||{}},F=function(e){return Z.call(J,e)}}else{var te=H("state");G[te]=!0,M=function(e,t){if(w(e,te))throw new TypeError(Q);return t.facade=e,N(e,te,t),t},L=function(e){return w(e,te)?e[te]:{}},F=function(e){return w(e,te)}}var ne,re={set:M,get:L,has:F,enforce:function(e){return F(e)?L(e):M(e,{})},getterFor:function(e){return function(t){var n;if(!m(t)||(n=L(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ie=t((function(e){var t=re.get,n=re.enforce,i=String(String).split("String");(e.exports=function(e,t,s,o){var a,c=!!o&&!!o.unsafe,u=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof s&&("string"!=typeof t||w(s,"name")||N(s,"name",t),(a=n(s)).source||(a.source=i.join("string"==typeof t?t:""))),e!==r?(c?!l&&e[t]&&(u=!0):delete e[t],u?e[t]=s:N(e,t,s)):u?e[t]=s:P(t,s)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||U(this)}))})),se=r,oe=function(e){return"function"==typeof e?e:void 0},ae=function(e,t){return arguments.length<2?oe(se[e])||oe(r[e]):se[e]&&se[e][t]||r[e]&&r[e][t]},ce=Math.ceil,ue=Math.floor,le=function(e){return isNaN(e=+e)?0:(e>0?ue:ce)(e)},he=Math.min,de=function(e){return e>0?he(le(e),9007199254740991):0},fe=Math.max,pe=Math.min,ge=function(e){return function(t,n,r){var i,s=g(t),o=de(s.length),a=function(e,t){var n=le(e);return n<0?fe(n+t,0):pe(n,t)}(r,o);if(e&&n!=n){for(;o>a;)if((i=s[a++])!=i)return!0}else for(;o>a;a++)if((e||a in s)&&s[a]===n)return e||a||0;return!e&&-1}},me={includes:ge(!0),indexOf:ge(!1)}.indexOf,ye=function(e,t){var n,r=g(e),i=0,s=[];for(n in r)!w(G,n)&&w(r,n)&&s.push(n);for(;t.length>i;)w(r,n=t[i++])&&(~me(s,n)||s.push(n));return s},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ve=_e.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return ye(e,ve)}},be={f:Object.getOwnPropertySymbols},Te=ae("Reflect","ownKeys")||function(e){var t=we.f(C(e)),n=be.f;return n?t.concat(n(e)):t},Ie=function(e,t){for(var n=Te(t),r=A.f,i=k.f,s=0;s<n.length;s++){var o=n[s];w(e,o)||r(e,o,i(t,o))}},Ee=/#|\.prototype\./,Se=function(e,t){var n=Ce[ke(e)];return n==Ae||n!=Re&&("function"==typeof t?i(t):!!t)},ke=Se.normalize=function(e){return String(e).replace(Ee,".").toLowerCase()},Ce=Se.data={},Re=Se.NATIVE="N",Ae=Se.POLYFILL="P",Ne=Se,Pe=k.f,xe=function(e,t){var n,i,s,o,a,c=e.target,u=e.global,l=e.stat;if(n=u?r:l?r[c]||P(c,{}):(r[c]||{}).prototype)for(i in t){if(o=t[i],s=e.noTargetGet?(a=Pe(n,i))&&a.value:n[i],!Ne(u?i:c+(l?".":"#")+i,e.forced)&&void 0!==s){if(typeof o==typeof s)continue;Ie(o,s)}(e.sham||s&&s.sham)&&N(o,"sham",!0),ie(n,i,o,e)}},De=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Oe=H("IE_PROTO"),Me=Object.prototype,Le=De?Object.getPrototypeOf:function(e){return e=_(e),w(e,Oe)?e[Oe]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Me:null},Fe=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return C(n),function(e){if(!m(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),Ue=Object.keys||function(e){return ye(e,_e)},qe=s?Object.defineProperties:function(e,t){C(e);for(var n,r=Ue(t),i=r.length,s=0;i>s;)A.f(e,n=r[s++],t[n]);return e},je=ae("document","documentElement"),Ve=H("IE_PROTO"),Be=function(){},$e=function(e){return"<script>"+e+"</"+"script>"},We=function(){try{ne=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;We=ne?function(e){e.write($e("")),e.close();var t=e.parentWindow.Object;return e=null,t}(ne):((t=I("iframe")).style.display="none",je.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write($e("document.F=Object")),e.close(),e.F);for(var n=_e.length;n--;)delete We.prototype[_e[n]];return We()};G[Ve]=!0;var Ke,ze,He=Object.create||function(e,t){var n;return null!==e?(Be.prototype=C(e),n=new Be,Be.prototype=null,n[Ve]=e):n=We(),void 0===t?n:qe(n,t)},Ge=ae("navigator","userAgent")||"",Qe=r.process,Ye=Qe&&Qe.versions,Je=Ye&&Ye.v8;Je?ze=(Ke=Je.split("."))[0]<4?1:Ke[0]+Ke[1]:Ge&&(!(Ke=Ge.match(/Edge\/(\d+)/))||Ke[1]>=74)&&(Ke=Ge.match(/Chrome\/(\d+)/))&&(ze=Ke[1]);var Xe=ze&&+ze,Ze=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Xe&&Xe<41})),et=Ze&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,tt=B("wks"),nt=r.Symbol,rt=et?nt:nt&&nt.withoutSetter||K,it=function(e){return w(tt,e)&&(Ze||"string"==typeof tt[e])||(Ze&&w(nt,e)?tt[e]=nt[e]:tt[e]=rt("Symbol."+e)),tt[e]},st={},ot=it("iterator"),at=Array.prototype,ct=function(e){return void 0!==e&&(st.Array===e||at[ot]===e)},ut=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},lt=function(e,t,n){if(ut(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},ht={};ht[it("toStringTag")]="z";var dt="[object z]"===String(ht),ft=it("toStringTag"),pt="Arguments"==h(function(){return arguments}()),gt=dt?h:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),ft))?n:pt?h(t):"Object"==(r=h(t))&&"function"==typeof t.callee?"Arguments":r},mt=it("iterator"),yt=function(e){if(null!=e)return e[mt]||e["@@iterator"]||st[gt(e)]},_t=function(e){var t=e.return;if(void 0!==t)return C(t.call(e)).value},vt=function(e,t){this.stopped=e,this.result=t},wt=function(e,t,n){var r,i,s,o,a,c,u,l=n&&n.that,h=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),p=lt(t,l,1+h+f),g=function(e){return r&&_t(r),new vt(!0,e)},m=function(e){return h?(C(e),f?p(e[0],e[1],g):p(e[0],e[1])):f?p(e,g):p(e)};if(d)r=e;else{if("function"!=typeof(i=yt(e)))throw TypeError("Target is not iterable");if(ct(i)){for(s=0,o=de(e.length);o>s;s++)if((a=m(e[s]))&&a instanceof vt)return a;return new vt(!1)}r=i.call(e)}for(c=r.next;!(u=c.call(r)).done;){try{a=m(u.value)}catch(e){throw _t(r),e}if("object"==typeof a&&a&&a instanceof vt)return a}return new vt(!1)},bt=function(e,t){var n=this;if(!(n instanceof bt))return new bt(e,t);Fe&&(n=Fe(new Error(void 0),Le(n))),void 0!==t&&N(n,"message",String(t));var r=[];return wt(e,r.push,{that:r}),N(n,"errors",r),n};bt.prototype=He(Error.prototype,{constructor:u(5,bt),message:u(5,""),name:u(5,"AggregateError")}),xe({global:!0},{AggregateError:bt});var Tt=dt?{}.toString:function(){return"[object "+gt(this)+"]"};dt||ie(Object.prototype,"toString",Tt,{unsafe:!0});var It=r.Promise,Et=function(e,t,n){for(var r in t)ie(e,r,t[r],n);return e},St=A.f,kt=it("toStringTag"),Ct=function(e,t,n){e&&!w(e=n?e:e.prototype,kt)&&St(e,kt,{configurable:!0,value:t})},Rt=it("species"),At=function(e){var t=ae(e),n=A.f;s&&t&&!t[Rt]&&n(t,Rt,{configurable:!0,get:function(){return this}})},Nt=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},Pt=it("iterator"),xt=!1;try{var Dt=0,Ot={next:function(){return{done:!!Dt++}},return:function(){xt=!0}};Ot[Pt]=function(){return this},Array.from(Ot,(function(){throw 2}))}catch(Nb){}var Mt,Lt,Ft,Ut=function(e,t){if(!t&&!xt)return!1;var n=!1;try{var r={};r[Pt]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},qt=it("species"),jt=function(e,t){var n,r=C(e).constructor;return void 0===r||null==(n=C(r)[qt])?t:ut(n)},Vt=/(?:iphone|ipod|ipad).*applewebkit/i.test(Ge),Bt="process"==h(r.process),$t=r.location,Wt=r.setImmediate,Kt=r.clearImmediate,zt=r.process,Ht=r.MessageChannel,Gt=r.Dispatch,Qt=0,Yt={},Jt="onreadystatechange",Xt=function(e){if(Yt.hasOwnProperty(e)){var t=Yt[e];delete Yt[e],t()}},Zt=function(e){return function(){Xt(e)}},en=function(e){Xt(e.data)},tn=function(e){r.postMessage(e+"",$t.protocol+"//"+$t.host)};Wt&&Kt||(Wt=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Yt[++Qt]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Mt(Qt),Qt},Kt=function(e){delete Yt[e]},Bt?Mt=function(e){zt.nextTick(Zt(e))}:Gt&&Gt.now?Mt=function(e){Gt.now(Zt(e))}:Ht&&!Vt?(Ft=(Lt=new Ht).port2,Lt.port1.onmessage=en,Mt=lt(Ft.postMessage,Ft,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts&&$t&&"file:"!==$t.protocol&&!i(tn)?(Mt=tn,r.addEventListener("message",en,!1)):Mt=Jt in I("script")?function(e){je.appendChild(I("script")).onreadystatechange=function(){je.removeChild(this),Xt(e)}}:function(e){setTimeout(Zt(e),0)});var nn,rn,sn,on,an,cn,un,ln,hn={set:Wt,clear:Kt},dn=/web0s(?!.*chrome)/i.test(Ge),fn=k.f,pn=hn.set,gn=r.MutationObserver||r.WebKitMutationObserver,mn=r.document,yn=r.process,_n=r.Promise,vn=fn(r,"queueMicrotask"),wn=vn&&vn.value;wn||(nn=function(){var e,t;for(Bt&&(e=yn.domain)&&e.exit();rn;){t=rn.fn,rn=rn.next;try{t()}catch(e){throw rn?on():sn=void 0,e}}sn=void 0,e&&e.enter()},Vt||Bt||dn||!gn||!mn?_n&&_n.resolve?((un=_n.resolve(void 0)).constructor=_n,ln=un.then,on=function(){ln.call(un,nn)}):on=Bt?function(){yn.nextTick(nn)}:function(){pn.call(r,nn)}:(an=!0,cn=mn.createTextNode(""),new gn(nn).observe(cn,{characterData:!0}),on=function(){cn.data=an=!an}));var bn,Tn,In,En,Sn=wn||function(e){var t={fn:e,next:void 0};sn&&(sn.next=t),rn||(rn=t,on()),sn=t},kn=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=ut(t),this.reject=ut(n)},Cn={f:function(e){return new kn(e)}},Rn=function(e,t){if(C(e),m(t)&&t.constructor===e)return t;var n=Cn.f(e);return(0,n.resolve)(t),n.promise},An=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Nn="object"==typeof window,Pn=hn.set,xn=it("species"),Dn="Promise",On=re.get,Mn=re.set,Ln=re.getterFor(Dn),Fn=It&&It.prototype,Un=It,qn=Fn,jn=r.TypeError,Vn=r.document,Bn=r.process,$n=Cn.f,Wn=$n,Kn=!!(Vn&&Vn.createEvent&&r.dispatchEvent),zn="function"==typeof PromiseRejectionEvent,Hn="unhandledrejection",Gn=!1,Qn=Ne(Dn,(function(){var e=U(Un)!==String(Un);if(!e&&66===Xe)return!0;if(Xe>=51&&/native code/.test(Un))return!1;var t=new Un((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[xn]=n,!(Gn=t.then((function(){}))instanceof n)||!e&&Nn&&!zn})),Yn=Qn||!Ut((function(e){Un.all(e).catch((function(){}))})),Jn=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},Xn=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Sn((function(){for(var r=e.value,i=1==e.state,s=0;n.length>s;){var o,a,c,u=n[s++],l=i?u.ok:u.fail,h=u.resolve,d=u.reject,f=u.domain;try{l?(i||(2===e.rejection&&nr(e),e.rejection=1),!0===l?o=r:(f&&f.enter(),o=l(r),f&&(f.exit(),c=!0)),o===u.promise?d(jn("Promise-chain cycle")):(a=Jn(o))?a.call(o,h,d):h(o)):d(r)}catch(e){f&&!c&&f.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&er(e)}))}},Zn=function(e,t,n){var i,s;Kn?((i=Vn.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),r.dispatchEvent(i)):i={promise:t,reason:n},!zn&&(s=r["on"+e])?s(i):e===Hn&&function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},er=function(e){Pn.call(r,(function(){var t,n=e.facade,r=e.value;if(tr(e)&&(t=An((function(){Bt?Bn.emit("unhandledRejection",r,n):Zn(Hn,n,r)})),e.rejection=Bt||tr(e)?2:1,t.error))throw t.value}))},tr=function(e){return 1!==e.rejection&&!e.parent},nr=function(e){Pn.call(r,(function(){var t=e.facade;Bt?Bn.emit("rejectionHandled",t):Zn("rejectionhandled",t,e.value)}))},rr=function(e,t,n){return function(r){e(t,r,n)}},ir=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Xn(e,!0))},sr=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw jn("Promise can't be resolved itself");var r=Jn(t);r?Sn((function(){var n={done:!1};try{r.call(t,rr(sr,n,e),rr(ir,n,e))}catch(t){ir(n,t,e)}})):(e.value=t,e.state=1,Xn(e,!1))}catch(t){ir({done:!1},t,e)}}};if(Qn&&(qn=(Un=function(e){Nt(this,Un,Dn),ut(e),bn.call(this);var t=On(this);try{e(rr(sr,t),rr(ir,t))}catch(e){ir(t,e)}}).prototype,(bn=function(e){Mn(this,{type:Dn,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Et(qn,{then:function(e,t){var n=Ln(this),r=$n(jt(this,Un));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Bt?Bn.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Xn(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),Tn=function(){var e=new bn,t=On(e);this.promise=e,this.resolve=rr(sr,t),this.reject=rr(ir,t)},Cn.f=$n=function(e){return e===Un||e===In?new Tn(e):Wn(e)},"function"==typeof It&&Fn!==Object.prototype)){En=Fn.then,Gn||(ie(Fn,"then",(function(e,t){var n=this;return new Un((function(e,t){En.call(n,e,t)})).then(e,t)}),{unsafe:!0}),ie(Fn,"catch",qn.catch,{unsafe:!0}));try{delete Fn.constructor}catch(Nb){}Fe&&Fe(Fn,qn)}xe({global:!0,wrap:!0,forced:Qn},{Promise:Un}),Ct(Un,Dn,!1),At(Dn),In=ae(Dn),xe({target:Dn,stat:!0,forced:Qn},{reject:function(e){var t=$n(this);return t.reject.call(void 0,e),t.promise}}),xe({target:Dn,stat:!0,forced:Qn},{resolve:function(e){return Rn(this,e)}}),xe({target:Dn,stat:!0,forced:Yn},{all:function(e){var t=this,n=$n(t),r=n.resolve,i=n.reject,s=An((function(){var n=ut(t.resolve),s=[],o=0,a=1;wt(e,(function(e){var c=o++,u=!1;s.push(void 0),a++,n.call(t,e).then((function(e){u||(u=!0,s[c]=e,--a||r(s))}),i)})),--a||r(s)}));return s.error&&i(s.value),n.promise},race:function(e){var t=this,n=$n(t),r=n.reject,i=An((function(){var i=ut(t.resolve);wt(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}}),xe({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=Cn.f(t),r=n.resolve,i=n.reject,s=An((function(){var n=ut(t.resolve),i=[],s=0,o=1;wt(e,(function(e){var a=s++,c=!1;i.push(void 0),o++,n.call(t,e).then((function(e){c||(c=!0,i[a]={status:"fulfilled",value:e},--o||r(i))}),(function(e){c||(c=!0,i[a]={status:"rejected",reason:e},--o||r(i))}))})),--o||r(i)}));return s.error&&i(s.value),n.promise}});var or="No one promise resolved";xe({target:"Promise",stat:!0},{any:function(e){var t=this,n=Cn.f(t),r=n.resolve,i=n.reject,s=An((function(){var n=ut(t.resolve),s=[],o=0,a=1,c=!1;wt(e,(function(e){var u=o++,l=!1;s.push(void 0),a++,n.call(t,e).then((function(e){l||c||(c=!0,r(e))}),(function(e){l||c||(l=!0,s[u]=e,--a||i(new(ae("AggregateError"))(s,or)))}))})),--a||i(new(ae("AggregateError"))(s,or))}));return s.error&&i(s.value),n.promise}});var ar=!!It&&i((function(){It.prototype.finally.call({then:function(){}},(function(){}))}));if(xe({target:"Promise",proto:!0,real:!0,forced:ar},{finally:function(e){var t=jt(this,ae("Promise")),n="function"==typeof e;return this.then(n?function(n){return Rn(t,e()).then((function(){return n}))}:e,n?function(n){return Rn(t,e()).then((function(){throw n}))}:e)}}),"function"==typeof It){var cr=ae("Promise").prototype.finally;It.prototype.finally!==cr&&ie(It.prototype,"finally",cr,{unsafe:!0})}var ur,lr,hr,dr=function(e){return function(t,n){var r,i,s=String(p(t)),o=le(n),a=s.length;return o<0||o>=a?e?"":void 0:(r=s.charCodeAt(o))<55296||r>56319||o+1===a||(i=s.charCodeAt(o+1))<56320||i>57343?e?s.charAt(o):r:e?s.slice(o,o+2):i-56320+(r-55296<<10)+65536}},fr={codeAt:dr(!1),charAt:dr(!0)},pr=it("iterator"),gr=!1;[].keys&&("next"in(hr=[].keys())?(lr=Le(Le(hr)))!==Object.prototype&&(ur=lr):gr=!0),(null==ur||i((function(){var e={};return ur[pr].call(e)!==e})))&&(ur={}),w(ur,pr)||N(ur,pr,(function(){return this}));var mr={IteratorPrototype:ur,BUGGY_SAFARI_ITERATORS:gr},yr=mr.IteratorPrototype,_r=function(){return this},vr=mr.IteratorPrototype,wr=mr.BUGGY_SAFARI_ITERATORS,br=it("iterator"),Tr="keys",Ir="values",Er="entries",Sr=function(){return this},kr=function(e,t,n,r,i,s,o){!function(e,t,n){var r=t+" Iterator";e.prototype=He(yr,{next:u(1,n)}),Ct(e,r,!1),st[r]=_r}(n,t,r);var a,c,l,h=function(e){if(e===i&&m)return m;if(!wr&&e in p)return p[e];switch(e){case Tr:case Ir:case Er:return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",f=!1,p=e.prototype,g=p[br]||p["@@iterator"]||i&&p[i],m=!wr&&g||h(i),y="Array"==t&&p.entries||g;if(y&&(a=Le(y.call(new e)),vr!==Object.prototype&&a.next&&(Le(a)!==vr&&(Fe?Fe(a,vr):"function"!=typeof a[br]&&N(a,br,Sr)),Ct(a,d,!0))),i==Ir&&g&&g.name!==Ir&&(f=!0,m=function(){return g.call(this)}),p[br]!==m&&N(p,br,m),st[t]=m,i)if(c={values:h(Ir),keys:s?m:h(Tr),entries:h(Er)},o)for(l in c)(wr||f||!(l in p))&&ie(p,l,c[l]);else xe({target:t,proto:!0,forced:wr||f},c);return c},Cr=fr.charAt,Rr="String Iterator",Ar=re.set,Nr=re.getterFor(Rr);kr(String,"String",(function(e){Ar(this,{type:Rr,string:String(e),index:0})}),(function(){var e,t=Nr(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Cr(n,r),t.index+=e.length,{value:e,done:!1})}));var Pr={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=it("unscopables"),Dr=Array.prototype;null==Dr[xr]&&A.f(Dr,xr,{configurable:!0,value:He(null)});var Or=function(e){Dr[xr][e]=!0},Mr="Array Iterator",Lr=re.set,Fr=re.getterFor(Mr),Ur=kr(Array,"Array",(function(e,t){Lr(this,{type:Mr,target:g(e),index:0,kind:t})}),(function(){var e=Fr(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");st.Arguments=st.Array,Or("keys"),Or("values"),Or("entries");var qr=it("iterator"),jr=it("toStringTag"),Vr=Ur.values;for(var Br in Pr){var $r=r[Br],Wr=$r&&$r.prototype;if(Wr){if(Wr[qr]!==Vr)try{N(Wr,qr,Vr)}catch(Nb){Wr[qr]=Vr}if(Wr[jr]||N(Wr,jr,Br),Pr[Br])for(var Kr in Ur)if(Wr[Kr]!==Ur[Kr])try{N(Wr,Kr,Ur[Kr])}catch(Nb){Wr[Kr]=Ur[Kr]}}}se.Promise,xe({target:"Promise",stat:!0},{try:function(e){var t=Cn.f(this),n=An(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}});var zr=Array.isArray||function(e){return"Array"==h(e)},Hr=it("species"),Gr=function(e,t){var n;return zr(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!zr(n.prototype)?m(n)&&null===(n=n[Hr])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Qr=[].push,Yr=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,s=6==e,o=7==e,a=5==e||s;return function(c,u,l,h){for(var d,p,g=_(c),m=f(g),y=lt(u,l,3),v=de(m.length),w=0,b=h||Gr,T=t?b(c,v):n||o?b(c,0):void 0;v>w;w++)if((a||w in m)&&(p=y(d=m[w],w,g),e))if(t)T[w]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return w;case 2:Qr.call(T,d)}else switch(e){case 4:return!1;case 7:Qr.call(T,d)}return s?-1:r||i?i:T}},Jr={forEach:Yr(0),map:Yr(1),filter:Yr(2),some:Yr(3),every:Yr(4),find:Yr(5),findIndex:Yr(6),filterOut:Yr(7)},Xr=Jr.find,Zr="find",ei=!0;Zr in[]&&Array(1).find((function(){ei=!1})),xe({target:"Array",proto:!0,forced:ei},{find:function(e){return Xr(this,e,arguments.length>1?arguments[1]:void 0)}}),Or(Zr);var ti=Function.call,ni=function(e,t,n){return lt(ti,r[e].prototype[t],n)};ni("Array","find");var ri=Jr.findIndex,ii="findIndex",si=!0;ii in[]&&Array(1).findIndex((function(){si=!1})),xe({target:"Array",proto:!0,forced:si},{findIndex:function(e){return ri(this,e,arguments.length>1?arguments[1]:void 0)}}),Or(ii),ni("Array","findIndex");var oi=function(e,t,n,r){try{return r?t(C(n)[0],n[1]):t(n)}catch(t){throw _t(e),t}},ai=function(e,t,n){var r=y(t);r in e?A.f(e,r,u(0,n)):e[r]=n},ci=!Ut((function(e){Array.from(e)}));xe({target:"Array",stat:!0,forced:ci},{from:function(e){var t,n,r,i,s,o,a=_(e),c="function"==typeof this?this:Array,u=arguments.length,l=u>1?arguments[1]:void 0,h=void 0!==l,d=yt(a),f=0;if(h&&(l=lt(l,u>2?arguments[2]:void 0,2)),null==d||c==Array&&ct(d))for(n=new c(t=de(a.length));t>f;f++)o=h?l(a[f],f):a[f],ai(n,f,o);else for(s=(i=d.call(a)).next,n=new c;!(r=s.call(i)).done;f++)o=h?oi(i,l,[r.value,f],!0):r.value,ai(n,f,o);return n.length=f,n}}),se.Array.from;var ui=Jr.some,li=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))}("some");xe({target:"Array",proto:!0,forced:!li},{some:function(e){return ui(this,e,arguments.length>1?arguments[1]:void 0)}}),ni("Array","some");var hi,di="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,fi=A.f,pi=r.Int8Array,gi=pi&&pi.prototype,mi=r.Uint8ClampedArray,yi=mi&&mi.prototype,_i=pi&&Le(pi),vi=gi&&Le(gi),wi=Object.prototype,bi=(wi.isPrototypeOf,it("toStringTag")),Ti=K("TYPED_ARRAY_TAG"),Ii=di&&!!Fe&&"Opera"!==gt(r.opera),Ei={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Si={BigInt64Array:8,BigUint64Array:8},ki=function(e){if(!m(e))return!1;var t=gt(e);return w(Ei,t)||w(Si,t)};for(hi in Ei)r[hi]||(Ii=!1);if((!Ii||"function"!=typeof _i||_i===Function.prototype)&&(_i=function(){throw TypeError("Incorrect invocation")},Ii))for(hi in Ei)r[hi]&&Fe(r[hi],_i);if((!Ii||!vi||vi===wi)&&(vi=_i.prototype,Ii))for(hi in Ei)r[hi]&&Fe(r[hi].prototype,vi);if(Ii&&Le(yi)!==vi&&Fe(yi,vi),s&&!w(vi,bi))for(hi in!0,fi(vi,bi,{get:function(){return m(this)?this[Ti]:void 0}}),Ei)r[hi]&&N(r[hi],Ti,hi);var Ci=function(e){if(ki(e))return e;throw TypeError("Target is not a typed array")},Ri=function(e,t,n){if(s){if(n)for(var i in Ei){var o=r[i];if(o&&w(o.prototype,e))try{delete o.prototype[e]}catch(e){}}vi[e]&&!n||ie(vi,e,n?t:Ii&&gi[e]||t)}},Ai=it("iterator"),Ni=r.Uint8Array,Pi=Ur.values,xi=Ur.keys,Di=Ur.entries,Oi=Ci,Mi=Ri,Li=Ni&&Ni.prototype[Ai],Fi=!!Li&&("values"==Li.name||null==Li.name),Ui=function(){return Pi.call(Oi(this))};Mi("entries",(function(){return Di.call(Oi(this))})),Mi("keys",(function(){return xi.call(Oi(this))})),Mi("values",Ui,!Fi),Mi(Ai,Ui,!Fi);var qi=Object.assign,ji=Object.defineProperty,Vi=!qi||i((function(){if(s&&1!==qi({b:1},qi(ji({},"a",{enumerable:!0,get:function(){ji(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=qi({},e)[n]||Ue(qi({},t)).join("")!=r}))?function(e,t){for(var n=_(e),r=arguments.length,i=1,o=be.f,a=c.f;r>i;)for(var u,l=f(arguments[i++]),h=o?Ue(l).concat(o(l)):Ue(l),d=h.length,p=0;d>p;)u=h[p++],s&&!a.call(l,u)||(n[u]=l[u]);return n}:qi;xe({target:"Object",stat:!0,forced:Object.assign!==Vi},{assign:Vi}),se.Object.assign;var Bi=c.f,$i=function(e){return function(t){for(var n,r=g(t),i=Ue(r),o=i.length,a=0,c=[];o>a;)n=i[a++],s&&!Bi.call(r,n)||c.push(e?[n,r[n]]:r[n]);return c}},Wi={entries:$i(!0),values:$i(!1)},Ki=Wi.entries;xe({target:"Object",stat:!0},{entries:function(e){return Ki(e)}}),se.Object.entries;var zi=Wi.values;xe({target:"Object",stat:!0},{values:function(e){return zi(e)}}),se.Object.values;var Hi=it("match"),Gi=function(e){if(function(e){var t;return m(e)&&(void 0!==(t=e[Hi])?!!t:"RegExp"==h(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},Qi=it("match"),Yi=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Qi]=!1,"/./"[e](t)}catch(e){}}return!1};xe({target:"String",proto:!0,forced:!Yi("includes")},{includes:function(e){return!!~String(p(this)).indexOf(Gi(e),arguments.length>1?arguments[1]:void 0)}}),ni("String","includes");var Ji,Xi=k.f,Zi="".startsWith,es=Math.min,ts=Yi("startsWith"),ns=!(ts||(Ji=Xi(String.prototype,"startsWith"),!Ji||Ji.writable));xe({target:"String",proto:!0,forced:!ns&&!ts},{startsWith:function(e){var t=String(p(this));Gi(e);var n=de(es(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Zi?Zi.call(t,r,n):t.slice(n,n+r.length)===r}}),ni("String","startsWith");xe({target:"String",proto:!0},{repeat:function(e){var t=String(p(this)),n="",r=le(e);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}}),ni("String","repeat");var rs=it("species"),is=it("isConcatSpreadable"),ss=9007199254740991,os="Maximum allowed index exceeded",as=Xe>=51||!i((function(){var e=[];return e[is]=!1,e.concat()[0]!==e})),cs=function(e){return Xe>=51||!i((function(){var t=[];return(t.constructor={})[rs]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}("concat"),us=function(e){if(!m(e))return!1;var t=e[is];return void 0!==t?!!t:zr(e)};xe({target:"Array",proto:!0,forced:!as||!cs},{concat:function(e){var t,n,r,i,s,o=_(this),a=Gr(o,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(us(s=-1===t?o:arguments[t])){if(c+(i=de(s.length))>ss)throw TypeError(os);for(n=0;n<i;n++,c++)n in s&&ai(a,c,s[n])}else{if(c>=ss)throw TypeError(os);ai(a,c++,s)}return a.length=c,a}});var ls=we.f,hs={}.toString,ds="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fs={f:function(e){return ds&&"[object Window]"==hs.call(e)?function(e){try{return ls(e)}catch(e){return ds.slice()}}(e):ls(g(e))}},ps={f:it},gs=A.f,ms=function(e){var t=se.Symbol||(se.Symbol={});w(t,e)||gs(t,e,{value:ps.f(e)})},ys=Jr.forEach,_s=H("hidden"),vs="Symbol",ws=it("toPrimitive"),bs=re.set,Ts=re.getterFor(vs),Is=Object.prototype,Es=r.Symbol,Ss=ae("JSON","stringify"),ks=k.f,Cs=A.f,Rs=fs.f,As=c.f,Ns=B("symbols"),Ps=B("op-symbols"),xs=B("string-to-symbol-registry"),Ds=B("symbol-to-string-registry"),Os=B("wks"),Ms=r.QObject,Ls=!Ms||!Ms.prototype||!Ms.prototype.findChild,Fs=s&&i((function(){return 7!=He(Cs({},"a",{get:function(){return Cs(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=ks(Is,t);r&&delete Is[t],Cs(e,t,n),r&&e!==Is&&Cs(Is,t,r)}:Cs,Us=function(e,t){var n=Ns[e]=He(Es.prototype);return bs(n,{type:vs,tag:e,description:t}),s||(n.description=t),n},qs=et?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof Es},js=function(e,t,n){e===Is&&js(Ps,t,n),C(e);var r=y(t,!0);return C(n),w(Ns,r)?(n.enumerable?(w(e,_s)&&e[_s][r]&&(e[_s][r]=!1),n=He(n,{enumerable:u(0,!1)})):(w(e,_s)||Cs(e,_s,u(1,{})),e[_s][r]=!0),Fs(e,r,n)):Cs(e,r,n)},Vs=function(e,t){C(e);var n=g(t),r=Ue(n).concat(Ks(n));return ys(r,(function(t){s&&!Bs.call(n,t)||js(e,t,n[t])})),e},Bs=function(e){var t=y(e,!0),n=As.call(this,t);return!(this===Is&&w(Ns,t)&&!w(Ps,t))&&(!(n||!w(this,t)||!w(Ns,t)||w(this,_s)&&this[_s][t])||n)},$s=function(e,t){var n=g(e),r=y(t,!0);if(n!==Is||!w(Ns,r)||w(Ps,r)){var i=ks(n,r);return!i||!w(Ns,r)||w(n,_s)&&n[_s][r]||(i.enumerable=!0),i}},Ws=function(e){var t=Rs(g(e)),n=[];return ys(t,(function(e){w(Ns,e)||w(G,e)||n.push(e)})),n},Ks=function(e){var t=e===Is,n=Rs(t?Ps:g(e)),r=[];return ys(n,(function(e){!w(Ns,e)||t&&!w(Is,e)||r.push(Ns[e])})),r};if(Ze||(ie((Es=function(){if(this instanceof Es)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=K(e),n=function(e){this===Is&&n.call(Ps,e),w(this,_s)&&w(this[_s],t)&&(this[_s][t]=!1),Fs(this,t,u(1,e))};return s&&Ls&&Fs(Is,t,{configurable:!0,set:n}),Us(t,e)}).prototype,"toString",(function(){return Ts(this).tag})),ie(Es,"withoutSetter",(function(e){return Us(K(e),e)})),c.f=Bs,A.f=js,k.f=$s,we.f=fs.f=Ws,be.f=Ks,ps.f=function(e){return Us(it(e),e)},s&&(Cs(Es.prototype,"description",{configurable:!0,get:function(){return Ts(this).description}}),ie(Is,"propertyIsEnumerable",Bs,{unsafe:!0}))),xe({global:!0,wrap:!0,forced:!Ze,sham:!Ze},{Symbol:Es}),ys(Ue(Os),(function(e){ms(e)})),xe({target:vs,stat:!0,forced:!Ze},{for:function(e){var t=String(e);if(w(xs,t))return xs[t];var n=Es(t);return xs[t]=n,Ds[n]=t,n},keyFor:function(e){if(!qs(e))throw TypeError(e+" is not a symbol");if(w(Ds,e))return Ds[e]},useSetter:function(){Ls=!0},useSimple:function(){Ls=!1}}),xe({target:"Object",stat:!0,forced:!Ze,sham:!s},{create:function(e,t){return void 0===t?He(e):Vs(He(e),t)},defineProperty:js,defineProperties:Vs,getOwnPropertyDescriptor:$s}),xe({target:"Object",stat:!0,forced:!Ze},{getOwnPropertyNames:Ws,getOwnPropertySymbols:Ks}),xe({target:"Object",stat:!0,forced:i((function(){be.f(1)}))},{getOwnPropertySymbols:function(e){return be.f(_(e))}}),Ss){var zs=!Ze||i((function(){var e=Es();return"[null]"!=Ss([e])||"{}"!=Ss({a:e})||"{}"!=Ss(Object(e))}));xe({target:"JSON",stat:!0,forced:zs},{stringify:function(e,t,n){for(var r,i=[e],s=1;arguments.length>s;)i.push(arguments[s++]);if(r=t,(m(t)||void 0!==e)&&!qs(e))return zr(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!qs(t))return t}),i[1]=t,Ss.apply(null,i)}})}Es.prototype[ws]||N(Es.prototype,ws,Es.prototype.valueOf),Ct(Es,vs),G[_s]=!0,ms("asyncIterator");var Hs=A.f,Gs=r.Symbol;if(s&&"function"==typeof Gs&&(!("description"in Gs.prototype)||void 0!==Gs().description)){var Qs={},Ys=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof Ys?new Gs(e):void 0===e?Gs():Gs(e);return""===e&&(Qs[t]=!0),t};Ie(Ys,Gs);var Js=Ys.prototype=Gs.prototype;Js.constructor=Ys;var Xs=Js.toString,Zs="Symbol(test)"==String(Gs("test")),eo=/^Symbol\((.*)\)[^)]+$/;Hs(Js,"description",{configurable:!0,get:function(){var e=m(this)?this.valueOf():this,t=Xs.call(e);if(w(Qs,e))return"";var n=Zs?t.slice(7,-1):t.replace(eo,"$1");return""===n?void 0:n}}),xe({global:!0,forced:!0},{Symbol:Ys})}ms("hasInstance"),ms("isConcatSpreadable"),ms("iterator"),ms("match"),ms("matchAll"),ms("replace"),ms("search"),ms("species"),ms("split"),ms("toPrimitive"),ms("toStringTag"),ms("unscopables"),Ct(r.JSON,"JSON",!0),Ct(Math,"Math",!0),xe({global:!0},{Reflect:{}}),Ct(r.Reflect,"Reflect",!0),se.Symbol,ms("asyncDispose"),ms("dispose"),ms("matcher"),ms("metadata"),ms("observable"),ms("patternMatch"),ms("replaceAll"),ps.f("iterator");var to=!i((function(){return Object.isExtensible(Object.preventExtensions({}))})),no=t((function(e){var t=A.f,n=K("meta"),r=0,i=Object.isExtensible||function(){return!0},s=function(e){t(e,n,{value:{objectID:"O"+ ++r,weakData:{}}})},o=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!m(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!w(e,n)){if(!i(e))return"F";if(!t)return"E";s(e)}return e[n].objectID},getWeakData:function(e,t){if(!w(e,n)){if(!i(e))return!0;if(!t)return!1;s(e)}return e[n].weakData},onFreeze:function(e){return to&&o.REQUIRED&&i(e)&&!w(e,n)&&s(e),e}};G[n]=!0})),ro=function(e,t,n){var s=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),a=s?"set":"add",c=r[e],u=c&&c.prototype,l=c,h={},d=function(e){var t=u[e];ie(u,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!m(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return o&&!m(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!m(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(Ne(e,"function"!=typeof c||!(o||u.forEach&&!i((function(){(new c).entries().next()})))))l=n.getConstructor(t,e,s,a),no.REQUIRED=!0;else if(Ne(e,!0)){var f=new l,p=f[a](o?{}:-0,1)!=f,g=i((function(){f.has(1)})),y=Ut((function(e){new c(e)})),_=!o&&i((function(){for(var e=new c,t=5;t--;)e[a](t,t);return!e.has(-0)}));y||((l=t((function(t,n){Nt(t,l,e);var r=function(e,t,n){var r,i;return Fe&&"function"==typeof(r=t.constructor)&&r!==n&&m(i=r.prototype)&&i!==n.prototype&&Fe(e,i),e}(new c,t,l);return null!=n&&wt(n,r[a],{that:r,AS_ENTRIES:s}),r}))).prototype=u,u.constructor=l),(g||_)&&(d("delete"),d("has"),s&&d("get")),(_||p)&&d(a),o&&u.clear&&delete u.clear}return h[e]=l,xe({global:!0,forced:l!=c},h),Ct(l,e),o||n.setStrong(l,e,s),l},io=A.f,so=no.fastKey,oo=re.set,ao=re.getterFor,co={getConstructor:function(e,t,n,r){var i=e((function(e,o){Nt(e,i,t),oo(e,{type:t,index:He(null),first:void 0,last:void 0,size:0}),s||(e.size=0),null!=o&&wt(o,e[r],{that:e,AS_ENTRIES:n})})),o=ao(t),a=function(e,t,n){var r,i,a=o(e),u=c(e,t);return u?u.value=n:(a.last=u={index:i=so(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=u),r&&(r.next=u),s?a.size++:e.size++,"F"!==i&&(a.index[i]=u)),e},c=function(e,t){var n,r=o(e),i=so(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return Et(i.prototype,{clear:function(){for(var e=o(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,s?e.size=0:this.size=0},delete:function(e){var t=this,n=o(t),r=c(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),s?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=o(this),r=lt(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),Et(i.prototype,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return a(this,0===e?0:e,t)}}:{add:function(e){return a(this,e=0===e?0:e,e)}}),s&&io(i.prototype,"size",{get:function(){return o(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=ao(t),s=ao(r);kr(e,t,(function(e,t){oo(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=s(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),At(t)}};ro("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),co),se.Map;var uo=function(e){var t,n,r,i,s=arguments.length,o=s>1?arguments[1]:void 0;return ut(this),(t=void 0!==o)&&ut(o),null==e?new this:(n=[],t?(r=0,i=lt(o,s>2?arguments[2]:void 0,2),wt(e,(function(e){n.push(i(e,r++))}))):wt(e,n.push,{that:n}),new this(n))};xe({target:"Map",stat:!0},{from:uo});var lo=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)};xe({target:"Map",stat:!0},{of:lo});var ho=function(){for(var e,t=C(this),n=ut(t.delete),r=!0,i=0,s=arguments.length;i<s;i++)e=n.call(t,arguments[i]),r=r&&e;return!!r};xe({target:"Map",proto:!0,real:!0,forced:V},{deleteAll:function(){return ho.apply(this,arguments)}});xe({target:"Map",proto:!0,real:!0,forced:V},{emplace:function(e,t){var n=C(this),r=n.has(e)&&"update"in t?t.update(n.get(e),e,n):t.insert(e,n);return n.set(e,r),r}});var fo=function(e){return Map.prototype.entries.call(e)};xe({target:"Map",proto:!0,real:!0,forced:V},{every:function(e){var t=C(this),n=fo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3);return!wt(n,(function(e,n,i){if(!r(n,e,t))return i()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),xe({target:"Map",proto:!0,real:!0,forced:V},{filter:function(e){var t=C(this),n=fo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3),i=new(jt(t,ae("Map"))),s=ut(i.set);return wt(n,(function(e,n){r(n,e,t)&&s.call(i,e,n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),i}}),xe({target:"Map",proto:!0,real:!0,forced:V},{find:function(e){var t=C(this),n=fo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3);return wt(n,(function(e,n,i){if(r(n,e,t))return i(n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),xe({target:"Map",proto:!0,real:!0,forced:V},{findKey:function(e){var t=C(this),n=fo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3);return wt(n,(function(e,n,i){if(r(n,e,t))return i(e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),xe({target:"Map",stat:!0},{groupBy:function(e,t){var n=new this;ut(t);var r=ut(n.has),i=ut(n.get),s=ut(n.set);return wt(e,(function(e){var o=t(e);r.call(n,o)?i.call(n,o).push(e):s.call(n,o,[e])})),n}});xe({target:"Map",proto:!0,real:!0,forced:V},{includes:function(e){return wt(fo(C(this)),(function(t,n,r){if(function(e,t){return e===t||e!=e&&t!=t}(n,e))return r()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),xe({target:"Map",stat:!0},{keyBy:function(e,t){var n=new this;ut(t);var r=ut(n.set);return wt(e,(function(e){r.call(n,t(e),e)})),n}}),xe({target:"Map",proto:!0,real:!0,forced:V},{keyOf:function(e){return wt(fo(C(this)),(function(t,n,r){if(n===e)return r(t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}}),xe({target:"Map",proto:!0,real:!0,forced:V},{mapKeys:function(e){var t=C(this),n=fo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3),i=new(jt(t,ae("Map"))),s=ut(i.set);return wt(n,(function(e,n){s.call(i,r(n,e,t),n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),i}}),xe({target:"Map",proto:!0,real:!0,forced:V},{mapValues:function(e){var t=C(this),n=fo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3),i=new(jt(t,ae("Map"))),s=ut(i.set);return wt(n,(function(e,n){s.call(i,e,r(n,e,t))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),i}}),xe({target:"Map",proto:!0,real:!0,forced:V},{merge:function(e){for(var t=C(this),n=ut(t.set),r=0;r<arguments.length;)wt(arguments[r++],n,{that:t,AS_ENTRIES:!0});return t}}),xe({target:"Map",proto:!0,real:!0,forced:V},{reduce:function(e){var t=C(this),n=fo(t),r=arguments.length<2,i=r?void 0:arguments[1];if(ut(e),wt(n,(function(n,s){r?(r=!1,i=s):i=e(i,s,n,t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),r)throw TypeError("Reduce of empty map with no initial value");return i}}),xe({target:"Map",proto:!0,real:!0,forced:V},{some:function(e){var t=C(this),n=fo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3);return wt(n,(function(e,n,i){if(r(n,e,t))return i()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),xe({target:"Map",proto:!0,real:!0,forced:V},{update:function(e,t){var n=C(this),r=arguments.length;ut(t);var i=n.has(e);if(!i&&r<3)throw TypeError("Updating absent value");var s=i?n.get(e):ut(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(s,e,n)),n}});var po=function(e,t){var n,r=C(this),i=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof i)throw TypeError("At least one callback required");return r.has(e)?(n=r.get(e),"function"==typeof t&&(n=t(n),r.set(e,n))):"function"==typeof i&&(n=i(),r.set(e,n)),n};xe({target:"Map",proto:!0,real:!0,forced:V},{upsert:po}),xe({target:"Map",proto:!0,real:!0,forced:V},{updateOrInsert:po}),ro("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),co),se.Set,xe({target:"Set",stat:!0},{from:uo}),xe({target:"Set",stat:!0},{of:lo});var go=function(){for(var e=C(this),t=ut(e.add),n=0,r=arguments.length;n<r;n++)t.call(e,arguments[n]);return e};xe({target:"Set",proto:!0,real:!0,forced:V},{addAll:function(){return go.apply(this,arguments)}}),xe({target:"Set",proto:!0,real:!0,forced:V},{deleteAll:function(){return ho.apply(this,arguments)}});var mo=function(e){return Set.prototype.values.call(e)};xe({target:"Set",proto:!0,real:!0,forced:V},{every:function(e){var t=C(this),n=mo(t),r=lt(e,arguments.length>1?arguments[1]:void 0,3);return!wt(n,(function(e,n){if(!r(e,e,t))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}}),xe({target:"Set",proto:!0,real:!0,forced:V},{difference:function(e){var t=C(this),n=new(jt(t,ae("Set")))(t),r=ut(n.delete);return wt(e,(function(e){r.call(n,e)})),n}}),xe({target:"Set",proto:!0,real:!0,forced:V},{filter:function(