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