@tensorflow/tfjs
Version:
An open-source machine learning framework.
17 lines • 1.47 MB
JavaScript
/**
* @license
* Copyright 2024 Google LLC. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* =============================================================================
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).tf=e.tf||{})}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),e}var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){var t,n;function r(t,n){try{var o=e[t](n),s=o.value,u=s instanceof i;Promise.resolve(u?s.v:s).then((function(n){if(u){var i="return"===t?"return":"next";if(!s.k||n.done)return r(i,n);n=e[i](n).value}a(o.done?"return":"normal",n)}),(function(e){r("throw",e)}))}catch(e){a("throw",e)}}function a(e,a){switch(e){case"return":t.resolve({value:a,done:!0});break;case"throw":t.reject(a);break;default:t.resolve({value:a,done:!1})}(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,a){return new Promise((function(i,o){var s={key:e,arg:a,resolve:i,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,a))}))},"function"!=typeof e.return&&(this.return=void 0)}function i(e,t){this.v=e,this.k=t}function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,a){var i=t&&t.prototype instanceof f?t:f,o=Object.create(i.prototype),s=new T(a||[]);return r(o,"_invoke",{value:w(e,n,s)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var p={};function f(){}function d(){}function v(){}var m={};c(m,i,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(E([])));y&&y!==t&&n.call(y,i)&&(m=y);var b=v.prototype=f.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(r,i,o,s){var u=h(e[r],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(l).then((function(e){c.value=e,o(c)}),(function(e){return a("throw",e,o,s)}))}s(u.arg)}var i;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return C()}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var s=I(o,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=h(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function I(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,I(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var a=h(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,p;var i=a.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function E(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=v,r(b,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:d,configurable:!0}),d.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},x(k.prototype),c(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,a,i){void 0===i&&(i=Promise);var o=new k(l(t,n,r,a),i);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},x(b),c(b,u,"Generator"),c(b,i,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=E,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;S(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t,n,r,a,i,o){try{var s=e[i](o),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,a)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){u(i,r,a,o,s,"next",e)}function s(e){u(i,r,a,o,s,"throw",e)}o(void 0)}))}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,F(r.key),r)}}function p(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t,n){return(t=F(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function y(e,t,n){return y=g()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&m(a,n.prototype),a},y.apply(null,arguments)}function b(e){var t="function"==typeof Map?new Map:void 0;return b=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return y(e,arguments,v(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),m(r,e)},b(e)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return x(e)}function w(e){var t=g();return function(){var n,r=v(e);if(t){var a=v(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return k(this,n)}}function I(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}function N(){return N="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=I(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},N.apply(this,arguments)}function S(e,t){return E(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||A(e,t)||_()}function T(e){return function(e){if(Array.isArray(e))return R(e)}(e)||C(e)||A(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e){if(Array.isArray(e))return e}function C(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function A(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=A(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function F(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}a.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(e){return this._invoke("next",e)},a.prototype.throw=function(e){return this._invoke("throw",e)},a.prototype.return=function(e){return this._invoke("return",e)};var D,M,L=function(e){return e&&e.Math==Math&&e},z=L("object"==("undefined"==typeof globalThis?"undefined":s(globalThis))&&globalThis)||L("object"==("undefined"==typeof window?"undefined":s(window))&&window)||L("object"==("undefined"==typeof self?"undefined":s(self))&&self)||L("object"==s(n)&&n)||function(){return this}()||Function("return this")(),P={},B=function(e){try{return!!e()}catch(e){return!0}},W=!B((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),U=!B((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),V=U,G=Function.prototype.call,j=V?G.bind(G):function(){return G.apply(G,arguments)},H={},q={}.propertyIsEnumerable,K=Object.getOwnPropertyDescriptor,X=K&&!q.call({1:2},1),Y=(H.f=X?function(e){var t=K(this,e);return!!t&&t.enumerable}:q,function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}),J=U,Z=Function.prototype,Q=Z.call,$=J&&Z.bind.bind(Q,Q),ee=J?$:function(e){return function(){return Q.apply(e,arguments)}},te=ee,ne=te({}.toString),re=te("".slice),ae=function(e){return re(ne(e),8,-1)},ie=B,oe=ae,se=Object,ue=ee("".split),ce=ie((function(){return!se("z").propertyIsEnumerable(0)}))?function(e){return"String"==oe(e)?ue(e,""):se(e)}:se,le=function(e){return null==e},he=le,pe=TypeError,fe=function(e){if(he(e))throw pe("Can't call method on "+e);return e},de=ce,ve=fe,me=function(e){return de(ve(e))},ge="object"==("undefined"==typeof document?"undefined":s(document))&&document.all,ye={all:ge,IS_HTMLDDA:void 0===ge&&void 0!==ge},be=ye.all,xe=ye.IS_HTMLDDA?function(e){return"function"==typeof e||e===be}:function(e){return"function"==typeof e},ke=xe,we=ye.all,Ie=ye.IS_HTMLDDA?function(e){return"object"==s(e)?null!==e:ke(e)||e===we}:function(e){return"object"==s(e)?null!==e:ke(e)},Ne=z,Se=xe,Te=function(e){return Se(e)?e:void 0},Ee=function(e,t){return arguments.length<2?Te(Ne[e]):Ne[e]&&Ne[e][t]},Ce=ee({}.isPrototypeOf),Ae="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Re=z,_e=Ae,Oe=Re.process,Fe=Re.Deno,De=Oe&&Oe.versions||Fe&&Fe.version,Me=De&&De.v8;Me&&(M=(D=Me.split("."))[0]>0&&D[0]<4?1:+(D[0]+D[1])),!M&&_e&&(!(D=_e.match(/Edge\/(\d+)/))||D[1]>=74)&&(D=_e.match(/Chrome\/(\d+)/))&&(M=+D[1]);var Le=M,ze=Le,Pe=B,Be=!!Object.getOwnPropertySymbols&&!Pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ze&&ze<41})),We=Be&&!Symbol.sham&&"symbol"==s(Symbol.iterator),Ue=Ee,Ve=xe,Ge=Ce,je=Object,He=We?function(e){return"symbol"==s(e)}:function(e){var t=Ue("Symbol");return Ve(t)&&Ge(t.prototype,je(e))},qe=String,Ke=function(e){try{return qe(e)}catch(e){return"Object"}},Xe=xe,Ye=Ke,Je=TypeError,Ze=function(e){if(Xe(e))return e;throw Je(Ye(e)+" is not a function")},Qe=Ze,$e=le,et=function(e,t){var n=e[t];return $e(n)?void 0:Qe(n)},tt=j,nt=xe,rt=Ie,at=TypeError,it=function(e,t){var n,r;if("string"===t&&nt(n=e.toString)&&!rt(r=tt(n,e)))return r;if(nt(n=e.valueOf)&&!rt(r=tt(n,e)))return r;if("string"!==t&&nt(n=e.toString)&&!rt(r=tt(n,e)))return r;throw at("Can't convert object to primitive value")},ot={exports:{}},st=!1,ut=z,ct=Object.defineProperty,lt=function(e,t){try{ct(ut,e,{value:t,configurable:!0,writable:!0})}catch(n){ut[e]=t}return t},ht=lt,pt="__core-js_shared__",ft=z[pt]||ht(pt,{}),dt=(ot.exports,ft);(ot.exports=function(e,t){return dt[e]||(dt[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var vt=ot.exports,mt=fe,gt=Object,yt=function(e){return gt(mt(e))},bt=yt,xt=ee({}.hasOwnProperty),kt=Object.hasOwn||function(e,t){return xt(bt(e),t)},wt=ee,It=0,Nt=Math.random(),St=wt(1..toString),Tt=function(e){return"Symbol("+(void 0===e?"":e)+")_"+St(++It+Nt,36)},Et=vt,Ct=kt,At=Tt,Rt=Be,_t=We,Ot=z.Symbol,Ft=Et("wks"),Dt=_t?Ot.for||Ot:Ot&&Ot.withoutSetter||At,Mt=function(e){return Ct(Ft,e)||(Ft[e]=Rt&&Ct(Ot,e)?Ot[e]:Dt("Symbol."+e)),Ft[e]},Lt=j,zt=Ie,Pt=He,Bt=et,Wt=it,Ut=TypeError,Vt=Mt("toPrimitive"),Gt=function(e,t){if(!zt(e)||Pt(e))return e;var n,r=Bt(e,Vt);if(r){if(void 0===t&&(t="default"),n=Lt(r,e,t),!zt(n)||Pt(n))return n;throw Ut("Can't convert object to primitive value")}return void 0===t&&(t="number"),Wt(e,t)},jt=Gt,Ht=He,qt=function(e){var t=jt(e,"string");return Ht(t)?t:t+""},Kt=Ie,Xt=z.document,Yt=Kt(Xt)&&Kt(Xt.createElement),Jt=function(e){return Yt?Xt.createElement(e):{}},Zt=Jt,Qt=!W&&!B((function(){return 7!=Object.defineProperty(Zt("div"),"a",{get:function(){return 7}}).a})),$t=W,en=j,tn=H,nn=Y,rn=me,an=qt,on=kt,sn=Qt,un=Object.getOwnPropertyDescriptor,cn=(P.f=$t?un:function(e,t){if(e=rn(e),t=an(t),sn)try{return un(e,t)}catch(e){}if(on(e,t))return nn(!en(tn.f,e,t),e[t])},{}),ln=W&&B((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),hn=Ie,pn=String,fn=TypeError,dn=function(e){if(hn(e))return e;throw fn(pn(e)+" is not an object")},vn=W,mn=Qt,gn=ln,yn=dn,bn=qt,xn=TypeError,kn=Object.defineProperty,wn=Object.getOwnPropertyDescriptor,In="enumerable",Nn="configurable",Sn="writable",Tn=(cn.f=vn?gn?function(e,t,n){if(yn(e),t=bn(t),yn(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Sn in n&&!n.writable){var r=wn(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:Nn in n?n.configurable:r.configurable,enumerable:In in n?n.enumerable:r.enumerable,writable:!1})}return kn(e,t,n)}:kn:function(e,t,n){if(yn(e),t=bn(t),yn(n),mn)try{return kn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw xn("Accessors not supported");return"value"in n&&(e[t]=n.value),e},cn),En=Y,Cn=W?function(e,t,n){return Tn.f(e,t,En(1,n))}:function(e,t,n){return e[t]=n,e},An={exports:{}},Rn=W,_n=kt,On=Function.prototype,Fn=Rn&&Object.getOwnPropertyDescriptor,Dn=_n(On,"name"),Mn={EXISTS:Dn,PROPER:Dn&&"something"===function(){}.name,CONFIGURABLE:Dn&&(!Rn||Rn&&Fn(On,"name").configurable)},Ln=xe,zn=ft,Pn=ee(Function.toString);Ln(zn.inspectSource)||(zn.inspectSource=function(e){return Pn(e)});var Bn,Wn,Un,Vn=zn.inspectSource,Gn=xe,jn=z.WeakMap,Hn=Gn(jn)&&/native code/.test(String(jn)),qn=Tt,Kn=vt("keys"),Xn=function(e){return Kn[e]||(Kn[e]=qn(e))},Yn={},Jn=Hn,Zn=z,Qn=Ie,$n=Cn,er=kt,tr=ft,nr=Xn,rr=Yn,ar="Object already initialized",ir=Zn.TypeError,or=Zn.WeakMap;if(Jn||tr.state){var sr=tr.state||(tr.state=new or);sr.get=sr.get,sr.has=sr.has,sr.set=sr.set,Bn=function(e,t){if(sr.has(e))throw ir(ar);return t.facade=e,sr.set(e,t),t},Wn=function(e){return sr.get(e)||{}},Un=function(e){return sr.has(e)}}else{var ur=nr("state");rr[ur]=!0,Bn=function(e,t){if(er(e,ur))throw ir(ar);return t.facade=e,$n(e,ur,t),t},Wn=function(e){return er(e,ur)?e[ur]:{}},Un=function(e){return er(e,ur)}}var cr={set:Bn,get:Wn,has:Un,enforce:function(e){return Un(e)?Wn(e):Bn(e,{})},getterFor:function(e){return function(t){var n;if(!Qn(t)||(n=Wn(t)).type!==e)throw ir("Incompatible receiver, "+e+" required");return n}}},lr=(An.exports,ee),hr=B,pr=xe,fr=kt,dr=W,vr=Mn.CONFIGURABLE,mr=Vn,gr=cr.enforce,yr=cr.get,br=String,xr=Object.defineProperty,kr=lr("".slice),wr=lr("".replace),Ir=lr([].join),Nr=dr&&!hr((function(){return 8!==xr((function(){}),"length",{value:8}).length})),Sr=String(String).split("String"),Tr=An.exports=function(e,t,n){"Symbol("===kr(br(t),0,7)&&(t="["+wr(br(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!fr(e,"name")||vr&&e.name!==t)&&(dr?xr(e,"name",{value:t,configurable:!0}):e.name=t),Nr&&n&&fr(n,"arity")&&e.length!==n.arity&&xr(e,"length",{value:n.arity});try{n&&fr(n,"constructor")&&n.constructor?dr&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=gr(e);return fr(r,"source")||(r.source=Ir(Sr,"string"==typeof t?t:"")),e};Function.prototype.toString=Tr((function(){return pr(this)&&yr(this).source||mr(this)}),"toString");var Er=An.exports,Cr=xe,Ar=cn,Rr=Er,_r=lt,Or=function(e,t,n,r){r||(r={});var a=r.enumerable,i=void 0!==r.name?r.name:t;if(Cr(n)&&Rr(n,i,r),r.global)a?e[t]=n:_r(t,n);else{try{r.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=n:Ar.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Fr={},Dr=Math.ceil,Mr=Math.floor,Lr=Math.trunc||function(e){var t=+e;return(t>0?Mr:Dr)(t)},zr=Lr,Pr=function(e){var t=+e;return t!=t||0===t?0:zr(t)},Br=Pr,Wr=Math.max,Ur=Math.min,Vr=function(e,t){var n=Br(e);return n<0?Wr(n+t,0):Ur(n,t)},Gr=Pr,jr=Math.min,Hr=function(e){return e>0?jr(Gr(e),9007199254740991):0},qr=Hr,Kr=function(e){return qr(e.length)},Xr=me,Yr=Vr,Jr=Kr,Zr=function(e){return function(t,n,r){var a,i=Xr(t),o=Jr(i),s=Yr(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Qr={includes:Zr(!0),indexOf:Zr(!1)},$r=kt,ea=me,ta=Qr.indexOf,na=Yn,ra=ee([].push),aa=function(e,t){var n,r=ea(e),a=0,i=[];for(n in r)!$r(na,n)&&$r(r,n)&&ra(i,n);for(;t.length>a;)$r(r,n=t[a++])&&(~ta(i,n)||ra(i,n));return i},ia=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oa=aa,sa=ia.concat("length","prototype"),ua=(Fr.f=Object.getOwnPropertyNames||function(e){return oa(e,sa)},{}),ca=(ua.f=Object.getOwnPropertySymbols,Ee),la=Fr,ha=ua,pa=dn,fa=ee([].concat),da=ca("Reflect","ownKeys")||function(e){var t=la.f(pa(e)),n=ha.f;return n?fa(t,n(e)):t},va=kt,ma=da,ga=P,ya=cn,ba=function(e,t,n){for(var r=ma(t),a=ya.f,i=ga.f,o=0;o<r.length;o++){var s=r[o];va(e,s)||n&&va(n,s)||a(e,s,i(t,s))}},xa=B,ka=xe,wa=/#|\.prototype\./,Ia=function(e,t){var n=Sa[Na(e)];return n==Ea||n!=Ta&&(ka(t)?xa(t):!!t)},Na=Ia.normalize=function(e){return String(e).replace(wa,".").toLowerCase()},Sa=Ia.data={},Ta=Ia.NATIVE="N",Ea=Ia.POLYFILL="P",Ca=Ia,Aa=z,Ra=P.f,_a=Cn,Oa=Or,Fa=lt,Da=ba,Ma=Ca,La=function(e,t){var n,r,a,i,o,u=e.target,c=e.global,l=e.stat;if(n=c?Aa:l?Aa[u]||Fa(u,{}):(Aa[u]||{}).prototype)for(r in t){if(i=t[r],a=e.dontCallGetSet?(o=Ra(n,r))&&o.value:n[r],!Ma(c?r:u+(l?".":"#")+r,e.forced)&&void 0!==a){if(s(i)==s(a))continue;Da(i,a)}(e.sham||a&&a.sham)&&_a(i,"sham",!0),Oa(n,r,i,e)}},za={};za[Mt("toStringTag")]="z";var Pa,Ba="[object z]"===String(za),Wa=Ba,Ua=xe,Va=ae,Ga=Mt("toStringTag"),ja=Object,Ha="Arguments"==Va(function(){return arguments}()),qa=Wa?Va: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=ja(e),Ga))?n:Ha?Va(t):"Object"==(r=Va(t))&&Ua(t.callee)?"Arguments":r},Ka=qa,Xa=String,Ya=function(e){if("Symbol"===Ka(e))throw TypeError("Cannot convert a Symbol value to a string");return Xa(e)},Ja={},Za=aa,Qa=ia,$a=Object.keys||function(e){return Za(e,Qa)},ei=W,ti=ln,ni=cn,ri=dn,ai=me,ii=$a,oi=(Ja.f=ei&&!ti?Object.defineProperties:function(e,t){ri(e);for(var n,r=ai(t),a=ii(t),i=a.length,o=0;i>o;)ni.f(e,n=a[o++],r[n]);return e},Ee("document","documentElement")),si=dn,ui=Ja,ci=ia,li=Yn,hi=oi,pi=Jt,fi=Xn("IE_PROTO"),di=function(){},vi=function(e){return"<script>"+e+"</"+"script>"},mi=function(e){e.write(vi("")),e.close();var t=e.parentWindow.Object;return e=null,t},gi=function(){try{Pa=new ActiveXObject("htmlfile")}catch(e){}var e,t;gi="undefined"!=typeof document?document.domain&&Pa?mi(Pa):((t=pi("iframe")).style.display="none",hi.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(vi("document.F=Object")),e.close(),e.F):mi(Pa);for(var n=ci.length;n--;)delete gi.prototype[ci[n]];return gi()};li[fi]=!0;var yi=Object.create||function(e,t){var n;return null!==e?(di.prototype=si(e),n=new di,di.prototype=null,n[fi]=e):n=gi(),void 0===t?n:ui.f(n,t)},bi={},xi=qt,ki=cn,wi=Y,Ii=function(e,t,n){var r=xi(t);r in e?ki.f(e,r,wi(0,n)):e[r]=n},Ni=Vr,Si=Kr,Ti=Ii,Ei=Array,Ci=Math.max,Ai=function(e,t,n){for(var r=Si(e),a=Ni(t,r),i=Ni(void 0===n?r:n,r),o=Ei(Ci(i-a,0)),s=0;a<i;a++,s++)Ti(o,s,e[a]);return o.length=s,o},Ri=ae,_i=me,Oi=Fr.f,Fi=Ai,Di="object"==("undefined"==typeof window?"undefined":s(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Mi=(bi.f=function(e){return Di&&"Window"==Ri(e)?function(e){try{return Oi(e)}catch(e){return Fi(Di)}}(e):Oi(_i(e))},Er),Li=cn,zi=function(e,t,n){return n.get&&Mi(n.get,t,{getter:!0}),n.set&&Mi(n.set,t,{setter:!0}),Li.f(e,t,n)},Pi={},Bi=Mt,Wi=(Pi.f=Bi,z),Ui=Wi,Vi=kt,Gi=Pi,ji=cn.f,Hi=function(e){var t=Ui.Symbol||(Ui.Symbol={});Vi(t,e)||ji(t,e,{value:Gi.f(e)})},qi=j,Ki=Ee,Xi=Mt,Yi=Or,Ji=function(){var e=Ki("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=Xi("toPrimitive");t&&!t[r]&&Yi(t,r,(function(e){return qi(n,this)}),{arity:1})},Zi=cn.f,Qi=kt,$i=Mt("toStringTag"),eo=function(e,t,n){e&&!n&&(e=e.prototype),e&&!Qi(e,$i)&&Zi(e,$i,{configurable:!0,value:t})},to=ae,no=ee,ro=function(e){if("Function"===to(e))return no(e)},ao=Ze,io=U,oo=ro(ro.bind),so=function(e,t){return ao(e),void 0===t?e:io?oo(e,t):function(){return e.apply(t,arguments)}},uo=ae,co=Array.isArray||function(e){return"Array"==uo(e)},lo=ee,ho=B,po=xe,fo=qa,vo=Vn,mo=function(){},go=[],yo=Ee("Reflect","construct"),bo=/^\s*(?:class|function)\b/,xo=lo(bo.exec),ko=!bo.exec(mo),wo=function(e){if(!po(e))return!1;try{return yo(mo,go,e),!0}catch(e){return!1}},Io=function(e){if(!po(e))return!1;switch(fo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ko||!!xo(bo,vo(e))}catch(e){return!0}};Io.sham=!0;var No=!yo||ho((function(){var e;return wo(wo.call)||!wo(Object)||!wo((function(){e=!0}))||e}))?Io:wo,So=co,To=No,Eo=Ie,Co=Mt("species"),Ao=Array,Ro=function(e){var t;return So(e)&&(t=e.constructor,(To(t)&&(t===Ao||So(t.prototype))||Eo(t)&&null===(t=t[Co]))&&(t=void 0)),void 0===t?Ao:t},_o=Ro,Oo=function(e,t){return new(_o(e))(0===t?0:t)},Fo=so,Do=ce,Mo=yt,Lo=Kr,zo=Oo,Po=ee([].push),Bo=function(e){var t=1==e,n=2==e,r=3==e,a=4==e,i=6==e,o=7==e,s=5==e||i;return function(u,c,l,h){for(var p,f,d=Mo(u),v=Do(d),m=Fo(c,l),g=Lo(v),y=0,b=h||zo,x=t?b(u,g):n||o?b(u,0):void 0;g>y;y++)if((s||y in v)&&(f=m(p=v[y],y,d),e))if(t)x[y]=f;else if(f)switch(e){case 3:return!0;case 5:return p;case 6:return y;case 2:Po(x,p)}else switch(e){case 4:return!1;case 7:Po(x,p)}return i?-1:r||a?a:x}},Wo={forEach:Bo(0),map:Bo(1),filter:Bo(2),some:Bo(3),every:Bo(4),find:Bo(5),findIndex:Bo(6),filterReject:Bo(7)},Uo=La,Vo=z,Go=j,jo=ee,Ho=W,qo=Be,Ko=B,Xo=kt,Yo=Ce,Jo=dn,Zo=me,Qo=qt,$o=Ya,es=Y,ts=yi,ns=$a,rs=Fr,as=bi,is=ua,os=P,ss=cn,us=Ja,cs=H,ls=Or,hs=zi,ps=vt,fs=Yn,ds=Tt,vs=Mt,ms=Pi,gs=Hi,ys=Ji,bs=eo,xs=cr,ks=Wo.forEach,ws=Xn("hidden"),Is="Symbol",Ns=xs.set,Ss=xs.getterFor(Is),Ts=Object.prototype,Es=Vo.Symbol,Cs=Es&&Es.prototype,As=Vo.TypeError,Rs=Vo.QObject,_s=os.f,Os=ss.f,Fs=as.f,Ds=cs.f,Ms=jo([].push),Ls=ps("symbols"),zs=ps("op-symbols"),Ps=ps("wks"),Bs=!Rs||!Rs.prototype||!Rs.prototype.findChild,Ws=Ho&&Ko((function(){return 7!=ts(Os({},"a",{get:function(){return Os(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=_s(Ts,t);r&&delete Ts[t],Os(e,t,n),r&&e!==Ts&&Os(Ts,t,r)}:Os,Us=function(e,t){var n=Ls[e]=ts(Cs);return Ns(n,{type:Is,tag:e,description:t}),Ho||(n.description=t),n},Vs=function(e,t,n){e===Ts&&Vs(zs,t,n),Jo(e);var r=Qo(t);return Jo(n),Xo(Ls,r)?(n.enumerable?(Xo(e,ws)&&e[ws][r]&&(e[ws][r]=!1),n=ts(n,{enumerable:es(0,!1)})):(Xo(e,ws)||Os(e,ws,es(1,{})),e[ws][r]=!0),Ws(e,r,n)):Os(e,r,n)},Gs=function(e,t){Jo(e);var n=Zo(t),r=ns(n).concat(Ks(n));return ks(r,(function(t){Ho&&!Go(js,n,t)||Vs(e,t,n[t])})),e},js=function(e){var t=Qo(e),n=Go(Ds,this,t);return!(this===Ts&&Xo(Ls,t)&&!Xo(zs,t))&&(!(n||!Xo(this,t)||!Xo(Ls,t)||Xo(this,ws)&&this[ws][t])||n)},Hs=function(e,t){var n=Zo(e),r=Qo(t);if(n!==Ts||!Xo(Ls,r)||Xo(zs,r)){var a=_s(n,r);return!a||!Xo(Ls,r)||Xo(n,ws)&&n[ws][r]||(a.enumerable=!0),a}},qs=function(e){var t=Fs(Zo(e)),n=[];return ks(t,(function(e){Xo(Ls,e)||Xo(fs,e)||Ms(n,e)})),n},Ks=function(e){var t=e===Ts,n=Fs(t?zs:Zo(e)),r=[];return ks(n,(function(e){!Xo(Ls,e)||t&&!Xo(Ts,e)||Ms(r,Ls[e])})),r};qo||(Es=function(){if(Yo(Cs,this))throw As("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?$o(arguments[0]):void 0,t=ds(e),n=function e(n){this===Ts&&Go(e,zs,n),Xo(this,ws)&&Xo(this[ws],t)&&(this[ws][t]=!1),Ws(this,t,es(1,n))};return Ho&&Bs&&Ws(Ts,t,{configurable:!0,set:n}),Us(t,e)},ls(Cs=Es.prototype,"toString",(function(){return Ss(this).tag})),ls(Es,"withoutSetter",(function(e){return Us(ds(e),e)})),cs.f=js,ss.f=Vs,us.f=Gs,os.f=Hs,rs.f=as.f=qs,is.f=Ks,ms.f=function(e){return Us(vs(e),e)},Ho&&(hs(Cs,"description",{configurable:!0,get:function(){return Ss(this).description}}),ls(Ts,"propertyIsEnumerable",js,{unsafe:!0}))),Uo({global:!0,constructor:!0,wrap:!0,forced:!qo,sham:!qo},{Symbol:Es}),ks(ns(Ps),(function(e){gs(e)})),Uo({target:Is,stat:!0,forced:!qo},{useSetter:function(){Bs=!0},useSimple:function(){Bs=!1}}),Uo({target:"Object",stat:!0,forced:!qo,sham:!Ho},{create:function(e,t){return void 0===t?ts(e):Gs(ts(e),t)},defineProperty:Vs,defineProperties:Gs,getOwnPropertyDescriptor:Hs}),Uo({target:"Object",stat:!0,forced:!qo},{getOwnPropertyNames:qs}),ys(),bs(Es,Is),fs[ws]=!0;var Xs=Be&&!!Symbol.for&&!!Symbol.keyFor,Ys=La,Js=Ee,Zs=kt,Qs=Ya,$s=vt,eu=Xs,tu=$s("string-to-symbol-registry"),nu=$s("symbol-to-string-registry");Ys({target:"Symbol",stat:!0,forced:!eu},{for:function(e){var t=Qs(e);if(Zs(tu,t))return tu[t];var n=Js("Symbol")(t);return tu[t]=n,nu[n]=t,n}});var ru=La,au=kt,iu=He,ou=Ke,su=Xs,uu=vt("symbol-to-string-registry");ru({target:"Symbol",stat:!0,forced:!su},{keyFor:function(e){if(!iu(e))throw TypeError(ou(e)+" is not a symbol");if(au(uu,e))return uu[e]}});var cu=U,lu=Function.prototype,hu=lu.apply,pu=lu.call,fu="object"==("undefined"==typeof Reflect?"undefined":s(Reflect))&&Reflect.apply||(cu?pu.bind(hu):function(){return pu.apply(hu,arguments)}),du=ee([].slice),vu=co,mu=xe,gu=ae,yu=Ya,bu=ee([].push),xu=function(e){if(mu(e))return e;if(vu(e)){for(var t=e.length,n=[],r=0;r<t;r++){var a=e[r];"string"==typeof a?bu(n,a):"number"!=typeof a&&"Number"!=gu(a)&&"String"!=gu(a)||bu(n,yu(a))}var i=n.length,o=!0;return function(e,t){if(o)return o=!1,t;if(vu(this))return t;for(var r=0;r<i;r++)if(n[r]===e)return t}}},ku=La,wu=Ee,Iu=fu,Nu=j,Su=ee,Tu=B,Eu=xe,Cu=He,Au=du,Ru=xu,_u=Be,Ou=String,Fu=wu("JSON","stringify"),Du=Su(/./.exec),Mu=Su("".charAt),Lu=Su("".charCodeAt),zu=Su("".replace),Pu=Su(1..toString),Bu=/[\uD800-\uDFFF]/g,Wu=/^[\uD800-\uDBFF]$/,Uu=/^[\uDC00-\uDFFF]$/,Vu=!_u||Tu((function(){var e=wu("Symbol")();return"[null]"!=Fu([e])||"{}"!=Fu({a:e})||"{}"!=Fu(Object(e))})),Gu=Tu((function(){return'"\\udf06\\ud834"'!==Fu("\udf06\ud834")||'"\\udead"'!==Fu("\udead")})),ju=function(e,t){var n=Au(arguments),r=Ru(t);if(Eu(r)||void 0!==e&&!Cu(e))return n[1]=function(e,t){if(Eu(r)&&(t=Nu(r,this,Ou(e),t)),!Cu(t))return t},Iu(Fu,null,n)},Hu=function(e,t,n){var r=Mu(n,t-1),a=Mu(n,t+1);return Du(Wu,e)&&!Du(Uu,a)||Du(Uu,e)&&!Du(Wu,r)?"\\u"+Pu(Lu(e,0),16):e};Fu&&ku({target:"JSON",stat:!0,arity:3,forced:Vu||Gu},{stringify:function(e,t,n){var r=Au(arguments),a=Iu(Vu?ju:Fu,null,r);return Gu&&"string"==typeof a?zu(a,Bu,Hu):a}});var qu=ua,Ku=yt;La({target:"Object",stat:!0,forced:!Be||B((function(){qu.f(1)}))},{getOwnPropertySymbols:function(e){var t=qu.f;return t?t(Ku(e)):[]}});var Xu=La,Yu=W,Ju=ee,Zu=kt,Qu=xe,$u=Ce,ec=Ya,tc=zi,nc=ba,rc=z.Symbol,ac=rc&&rc.prototype;if(Yu&&Qu(rc)&&(!("description"in ac)||void 0!==rc().description)){var ic={},oc=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:ec(arguments[0]),t=$u(ac,this)?new rc(e):void 0===e?rc():rc(e);return""===e&&(ic[t]=!0),t};nc(oc,rc),oc.prototype=ac,ac.constructor=oc;var sc="Symbol(test)"==String(rc("test")),uc=Ju(ac.valueOf),cc=Ju(ac.toString),lc=/^Symbol\((.*)\)[^)]+$/,hc=Ju("".replace),pc=Ju("".slice);tc(ac,"description",{configurable:!0,get:function(){var e=uc(this);if(Zu(ic,e))return"";var t=cc(e),n=sc?pc(t,7,-1):hc(t,lc,"$1");return""===n?void 0:n}}),Xu({global:!0,constructor:!0,forced:!0},{Symbol:oc})}Hi("asyncIterator"),Hi("hasInstance"),Hi("isConcatSpreadable"),Hi("iterator"),Hi("match"),Hi("matchAll"),Hi("replace"),Hi("search"),Hi("species"),Hi("split");var fc=Ji;Hi("toPrimitive"),fc();var dc=Ee,vc=eo;Hi("toStringTag"),vc(dc("Symbol"),"Symbol"),Hi("unscopables");var mc=ee,gc=Ze,yc=function(e,t,n){try{return mc(gc(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},bc=xe,xc=String,kc=TypeError,wc=function(e){if("object"==s(e)||bc(e))return e;throw kc("Can't set "+xc(e)+" as a prototype")},Ic=yc,Nc=dn,Sc=wc,Tc=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Ic(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Nc(n),Sc(r),t?e(n,r):n.__proto__=r,n}}():void 0),Ec=cn.f,Cc=function(e,t,n){n in e||Ec(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},Ac=xe,Rc=Ie,_c=Tc,Oc=function(e,t,n){var r,a;return _c&&Ac(r=t.constructor)&&r!==n&&Rc(a=r.prototype)&&a!==n.prototype&&_c(e,a),e},Fc=Ya,Dc=function(e,t){return void 0===e?arguments.length<2?"":t:Fc(e)},Mc=Ie,Lc=Cn,zc=function(e,t){Mc(t)&&"cause"in t&&Lc(e,"cause",t.cause)},Pc=Error,Bc=ee("".replace),Wc=String(Pc("zxcasd").stack),Uc=/\n\s*at [^:]*:[^\n]*/,Vc=Uc.test(Wc),Gc=function(e,t){if(Vc&&"string"==typeof e&&!Pc.prepareStackTrace)for(;t--;)e=Bc(e,Uc,"");return e},jc=Y,Hc=!B((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",jc(1,7)),7!==e.stack)})),qc=Cn,Kc=Gc,Xc=Hc,Yc=Error.captureStackTrace,Jc=function(e,t,n,r){Xc&&(Yc?Yc(e,t):qc(e,"stack",Kc(n,r)))},Zc=Ee,Qc=kt,$c=Cn,el=Ce,tl=Tc,nl=ba,rl=Cc,al=Oc,il=Dc,ol=zc,sl=Jc,ul=W,cl=function(e,t,n,r){var a="stackTraceLimit",i=r?2:1,o=e.split("."),s=o[o.length-1],u=Zc.apply(null,o);if(u){var c=u.prototype;if(Qc(c,"cause")&&delete c.cause,!n)return u;var l=Zc("Error"),h=t((function(e,t){var n=il(r?t:e,void 0),a=r?new u(e):new u;return void 0!==n&&$c(a,"message",n),sl(a,h,a.stack,2),this&&el(c,this)&&al(a,this,h),arguments.length>i&&ol(a,arguments[i]),a}));h.prototype=c,"Error"!==s?tl?tl(h,l):nl(h,l,{name:!0}):ul&&a in u&&(rl(h,u,a),rl(h,u,"prepareStackTrace")),nl(h,u);try{c.name!==s&&$c(c,"name",s),c.constructor=h}catch(e){}return h}},ll=La,hl=fu,pl=cl,fl="WebAssembly",dl=z.WebAssembly,vl=7!==Error("e",{cause:7}).cause,ml=function(e,t){var n={};n[e]=pl(e,t,vl),ll({global:!0,constructor:!0,arity:1,forced:vl},n)},gl=function(e,t){if(dl&&dl[e]){var n={};n[e]=pl("WebAssembly."+e,t,vl),ll({target:fl,stat:!0,constructor:!0,arity:1,forced:vl},n)}};ml("Error",(function(e){return function(t){return hl(e,this,arguments)}})),ml("EvalError",(function(e){return function(t){return hl(e,this,arguments)}})),ml("RangeError",(function(e){return function(t){return hl(e,this,arguments)}})),ml("ReferenceError",(function(e){return function(t){return hl(e,this,arguments)}})),ml("SyntaxError",(function(e){return function(t){return hl(e,this,arguments)}})),ml("TypeError",(function(e){return function(t){return hl(e,this,arguments)}})),ml("URIError",(function(e){return function(t){return hl(e,this,arguments)}})),gl("CompileError",(function(e){return function(t){return hl(e,this,arguments)}})),gl("LinkError",(function(e){return function(t){return hl(e,this,arguments)}})),gl("RuntimeError",(function(e){return function(t){return hl(e,this,arguments)}}));var yl=W,bl=B,xl=dn,kl=yi,wl=Dc,Il=Error.prototype.toString,Nl=bl((function(){if(yl){var e=kl(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==Il.call(e))return!0}return"2: 1"!==Il.call({message:1,name:2})||"Error"!==Il.call({})}))?function(){var e=xl(this),t=wl(e.name,"Error"),n=wl(e.message);return t?n?t+": "+n:t:n}:Il,Sl=Or,Tl=Nl,El=Error.prototype;El.toString!==Tl&&Sl(El,"toString",Tl);var Cl=!B((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Al=kt,Rl=xe,_l=yt,Ol=Cl,Fl=Xn("IE_PROTO"),Dl=Object,Ml=Dl.prototype,Ll=Ol?Dl.getPrototypeOf:function(e){var t=_l(e);if(Al(t,Fl))return t[Fl];var n=t.constructor;return Rl(n)&&t instanceof n?n.prototype:t instanceof Dl?Ml:null},zl={},Pl=zl,Bl=Mt("iterator"),Wl=Array.prototype,Ul=function(e){return void 0!==e&&(Pl.Array===e||Wl[Bl]===e)},Vl=qa,Gl=et,jl=le,Hl=zl,ql=Mt("iterator"),Kl=function(e){if(!jl(e))return Gl(e,ql)||Gl(e,"@@iterator")||Hl[Vl(e)]},Xl=j,Yl=Ze,Jl=dn,Zl=Ke,Ql=Kl,$l=TypeError,eh=function(e,t){var n=arguments.length<2?Ql(e):t;if(Yl(n))return Jl(Xl(n,e));throw $l(Zl(e)+" is not iterable")},th=j,nh=dn,rh=et,ah=function(e,t,n){var r,a;nh(e);try{if(!(r=rh(e,"return"))){if("throw"===t)throw n;return n}r=th(r,e)}catch(e){a=!0,r=e}if("throw"===t)throw n;if(a)throw r;return nh(r),n},ih=so,oh=j,sh=dn,uh=Ke,ch=Ul,lh=Kr,hh=Ce,ph=eh,fh=Kl,dh=ah,vh=TypeError,mh=function(e,t){this.stopped=e,this.result=t},gh=mh.prototype,yh=function(e,t,n){var r,a,i,o,u,c,l,h=n&&n.that,p=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),v=!(!n||!n.INTERRUPTED),m=ih(t,h),g=function(e){return r&&dh(r,"normal",e),new mh(!0,e)},y=function(e){return p?(sh(e),v?m(e[0],e[1],g):m(e[0],e[1])):v?m(e,g):m(e)};if(f)r=e.iterator;else if(d)r=e;else{if(!(a=fh(e)))throw vh(uh(e)+" is not iterable");if(ch(a)){for(i=0,o=lh(e);o>i;i++)if((u=y(e[i]))&&hh(gh,u))return u;return new mh(!1)}r=ph(e,a)}for(c=f?e.next:r.next;!(l=oh(c,r)).done;){try{u=y(l.value)}catch(e){dh(r,"throw",e)}if("object"==s(u)&&u&&hh(gh,u))return u}return new mh(!1)},bh=La,xh=Ce,kh=Ll,wh=Tc,Ih=ba,Nh=yi,Sh=Cn,Th=Y,Eh=zc,Ch=Jc,Ah=yh,Rh=Dc,_h=Mt("toStringTag"),Oh=Error,Fh=[].push,Dh=function(e,t){var n,r=xh(Mh,this);wh?n=wh(Oh(),r?kh(this):Mh):(n=r?this:Nh(Mh),Sh(n,_h,"Error")),void 0!==t&&Sh(n,"message",Rh(t)),Ch(n,Dh,n.stack,1),arguments.length>2&&Eh(n,arguments[2]);var a=[];return Ah(e,Fh,{that:a}),Sh(n,"errors",a),n};wh?wh(Dh,Oh):Ih(Dh,Oh,{name:!0});var Mh=Dh.prototype=Nh(Oh.prototype,{constructor:Th(1,Dh),message:Th(1,""),name:Th(1,"AggregateError")});bh({global:!0,constructor:!0,arity:2},{AggregateError:Dh});var Lh=La,zh=fu,Ph=B,Bh=cl,Wh="AggregateError",Uh=Ee(Wh),Vh=!Ph((function(){return 1!==Uh([1]).errors[0]}))&&Ph((function(){return 7!==Uh([1],Wh,{cause:7}).cause}));Lh({global:!0,constructor:!0,arity:2,forced:Vh},{AggregateError:Bh(Wh,(function(e){return function(t,n){return zh(e,this,arguments)}}),Vh,!0)});var Gh=Mt,jh=yi,Hh=cn.f,qh=Gh("unscopables"),Kh=Array.prototype;null==Kh[qh]&&Hh(Kh,qh,{configurable:!0,value:jh(null)});var Xh=function(e){Kh[qh][e]=!0},Yh=yt,Jh=Kr,Zh=Pr,Qh=Xh;La({target:"Array",proto:!0},{at:function(e){var t=Yh(this),n=Jh(t),r=Zh(e),a=r>=0?r:n+r;return a<0||a>=n?void 0:t[a]}}),Qh("at");var $h=TypeError,ep=function(e){if(e>9007199254740991)throw $h("Maximum allowed index exceeded");return e},tp=B,np=Le,rp=Mt("species"),ap=function(e){return np>=51||!tp((function(){var t=[];return(t.constructor={})[rp]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ip=La,op=B,sp=co,up=Ie,cp=yt,lp=Kr,hp=ep,pp=Ii,fp=Oo,dp=ap,vp=Le,mp=Mt("isConcatSpreadable"),gp=vp>=51||!op((function(){var e=[];return e[mp]=!1,e.concat()[0]!==e})),yp=function(e){if(!up(e))return!1;var t=e[mp];return void 0!==t?!!t:sp(e)};ip({target:"Array",proto:!0,arity:1,forced:!gp||!dp("concat")},{concat:function(e){var t,n,r,a,i,o=cp(this),s=fp(o,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(yp(i=-1===t?o:arguments[t]))for(a=lp(i),hp(u+a),n=0;n<a;n++,u++)n in i&&pp(s,u,i[n]);else hp(u+1),pp(s,u++,i);return s.length=u,s}});var bp=Ke,xp=TypeError,kp=function(e,t){if(!delete e[t])throw xp("Cannot delete property "+bp(t)+" of "+bp(e))},wp=yt,Ip=Vr,Np=Kr,Sp=kp,Tp=Math.min,Ep=[].copyWithin||function(e,t){var n=wp(this),r=Np(n),a=Ip(e,r),i=Ip(t,r),o=arguments.length>2?arguments[2]:void 0,s=Tp((void 0===o?r:Ip(o,r))-i,r-a),u=1;for(i<a&&a<i+s&&(u=-1,i+=s-1,a+=s-1);s-- >0;)i in n?n[a]=n[i]:Sp(n,a),a+=u,i+=u;return n},Cp=Xh;La({target:"Array",proto:!0},{copyWithin:Ep}),Cp("copyWithin");var Ap=B,Rp=function(e,t){var n=[][e];return!!n&&Ap((function(){n.call(null,t||function(){return 1},1)}))},_p=Wo.every;La({target:"Array",proto:!0,forced:!Rp("every")},{every:function(e){return _p(this,e,arguments.length>1?arguments[1]:void 0)}});var Op=yt,Fp=Vr,Dp=Kr,Mp=function(e){for(var t=Op(this),n=Dp(t),r=arguments.length,a=Fp(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,o=void 0===i?n:Fp(i,n);o>a;)t[a++]=e;return t},Lp=Xh;La({target:"Array",proto:!0},{fill:Mp}),Lp("fill");var zp=Wo.filter;La({target:"Array",proto:!0,forced:!ap("filter")},{filter:function(e){return zp(this,e,arguments.length>1?arguments[1]:void 0)}});var Pp=La,Bp=Wo.find,Wp=Xh,Up="find",Vp=!0;Up in[]&&Array(1).find((function(){Vp=!1})),Pp({target:"Array",proto:!0,forced:Vp},{find:function(e){return Bp(this,e,arguments.length>1?arguments[1]:void 0)}}),Wp(Up);var Gp=La,jp=Wo.findIndex,Hp=Xh,qp="findIndex",Kp=!0;qp in[]&&Array(1).findIndex((function(){Kp=!1})),Gp({target:"Array",proto:!0,forced:Kp},{findIndex:function(e){return jp(this,e,arguments.length>1?arguments[1]:void 0)}}),Hp(qp);var Xp=so,Yp=ce,Jp=yt,Zp=Kr,Qp=function(e){var t=1==e;return function(n,r,a){for(var i,o=Jp(n),s=Yp(o),u=Xp(r,a),c=Zp(s);c-- >0;)if(u(i=s[c],c,o))switch(e){case 0:return i;case 1:return c}return t?-1:void 0}},$p={findLast:Qp(0),findLastIndex:Qp(1)},ef=$p.findLast,tf=Xh;La({target:"Array",proto:!0},{findLast:function(e){return ef(this,e,arguments.length>1?arguments[1]:void 0)}}),tf("findLast");var nf=$p.findLastIndex,rf=Xh;La({target:"Array",proto:!0},{findLastIndex:function(e){return nf(this,e,arguments.length>1?arguments[1]:void 0)}}),rf("findLastIndex");var af=co,of=Kr,sf=ep,uf=so,cf=function e(t,n,r,a,i,o,s,u){for(var c,l=i,h=0,p=!!s&&uf(s,u);h<a;)h in r&&(c=p?p(r[h],h,n):r[h],o>0&&af(c)?l=e(t,n,c,of(c),l,o-1)-1:(sf(l+1),t[l]=c),l++),h++;return l},lf=cf,hf=yt,pf=Kr,ff=Pr,df=Oo;La({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=hf(this),n=pf(t),r=df(t,0);return r.length=lf(r,t,t,n,0,void 0===e?1:ff(e)),r}});var vf=cf,mf=Ze,gf=yt,yf=Kr,bf=Oo;La({target:"Array",proto:!0},{flatMap:function(e){var t,n=gf(this),r=yf(n);return mf(e),(t=bf(n,0)).length=vf(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var xf=Wo.forEach,kf=Rp("forEach")?[].forEach:function(e){return xf(this,e,arguments.length>1?arguments[1]:void 0)};La({target:"Array",proto:!0,forced:[].forEach!=kf},{forEach:kf});var wf=dn,If=ah,Nf=function(e,t,n,r){try{return r?t(wf(n)[0],n[1]):t(n)}catch(t){If(e,"throw",t)}},Sf=so,Tf=j,Ef=yt,Cf=Nf,Af=Ul,Rf=No,_f=Kr,Of=Ii,Ff=eh,Df=Kl,Mf=Array,Lf=function(e){var t=Ef(e),n=Rf(this),r=arguments.length,a=r>1?arguments[1]:void 0,i=void 0!==a;i&&(a=Sf(a,r>2?arguments[2]:void 0));var o,s,u,c,l,h,p=Df(t),f=0;if(!p||this===Mf&&Af(p))for(o=_f(t),s=n?new this(o):Mf(o);o>f;f++)h=i?a(t[f],f):t[f],Of(s,f,h);else for(l=(c=Ff(t,p)).next,s=n?new this:[];!(u=Tf(l,c)).done;f++)h=i?Cf(c,a,[u.value,f],!0):u.value,Of(s,f,h);return s.length=f,s},zf=Mt("iterator"),Pf=!1;try{var Bf=0,Wf={next:function(){return{done:!!Bf++}},return:function(){Pf=!0}};Wf[zf]=function(){return this},Array.from(Wf,(function(){throw 2}))}catch(e){}var Uf=function(e,t){if(!t&&!Pf)return!1;var n=!1;try{var r={};r[zf]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Vf=Lf;La({target:"Array",stat:!0,forced:!Uf((function(e){Array.from(e)}))},{from:Vf});var Gf=Qr.includes,jf=Xh;La({target:"Array",proto:!0,forced:B((function(){return!Array(1).includes()}))},{includes:function(e){return Gf(this,e,arguments.length>1?arguments[1]:void 0)}}),jf("includes");var Hf=La,qf=Qr.indexOf,Kf=Rp,Xf=ro([].indexOf),Yf=!!Xf&&1/Xf([1],1,-0)<0;Hf({target:"Array",proto:!0,forced:Yf||!Kf("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Yf?Xf(this,e,t)||0:qf(this,e,t)}}),La({target:"Array",stat:!0},{isArray:co});var Jf,Zf,Qf,$f=B,ed=xe,td=Ie,nd=Ll,rd=Or,ad=Mt("iterator"),id=!1;[].keys&&("next"in(Qf=[].keys())?(Zf=nd(nd(Qf)))!==Object.prototype&&(Jf=Zf):id=!0);var od=!td(Jf)||$f((function(){var e={};return Jf[ad].call(e)!==e}));od&&(Jf={}),ed(Jf[ad])||rd(Jf,ad,(function(){return this}));var sd={IteratorPrototype:Jf,BUGGY_SAFARI_ITERATORS:id},ud=sd.IteratorPrototype,cd=yi,ld=Y,hd=eo,pd=zl,fd=function(){return this},dd=function(e,t,n,r){var a=t+" Iterator";return e.prototype=cd(ud,{next:ld(+!r,n)}),hd(e,a,!1,!0),pd[a]=fd,e},vd=La,md=j,gd=xe,yd=dd,bd=Ll,xd=Tc,kd=eo,wd=Cn,Id=Or,Nd=zl,Sd=Mn.PROPER,Td=Mn.CONFIGURABLE,Ed=sd.IteratorPrototype,Cd=sd.BUGGY_SAFARI_ITERATORS,Ad=Mt("iterator"),Rd="keys",_d="values",Od="entries",Fd=function(){return this},Dd=function(e,t,n,r,a,i,o){yd(n,t,r);var s,u,c,l=function(e){if(e===a&&v)return v;if(!Cd&&e in f)return f[e];switch(e){case Rd:case _d:case Od:return function(){return new n(this,e)}}return function(){return new n(this)}},h=t+" Iterator",p=!1,f=e.prototype,d=f[Ad]||f["@@iterator"]||a&&f[a],v=!Cd&&d||l(a),m="Array"==t&&f.entries||d;if(m&&(s=bd(m.call(new e)))!==Object.prototype&&s.next&&(bd(s)!==Ed&&(xd?xd(s,Ed):gd(s[Ad])||Id(s,Ad,Fd)),kd(s,h,!0,!0)),Sd&&a==_d&&d&&d.name!==_d&&(Td?wd(f,"name",_d):(p=!0,v=function(){return md(d,this)})),a)if(u={values:l(_d),keys:i?v:l(Rd),entries:l(Od)},o)for(c in u)(Cd||p||!(c in f))&&Id(f,c,u[c]);else vd({target:t,proto:!0,forced:Cd||p},u);return f[Ad]!==v&&Id(f,Ad,v,{name:a}),Nd[t]=v,u},Md=function(e,t){return{value:e,done:t}},Ld=me,zd=Xh,Pd=zl,Bd=cr,Wd=cn.f,Ud=Dd,Vd=Md,Gd=W,jd="Array Iterator",Hd=Bd.set,qd=Bd.getterFor(jd),Kd=Ud(Array,"Array",(function(e,t){Hd(this,{type:jd,target:Ld(e),index:0,kind:t})}),(function(){var e=qd(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,Vd(void 0,!0)):Vd("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values"),Xd=Pd.Arguments=Pd.Array;if(zd("keys"),zd("values"),zd("entries"),Gd&&"values"!==Xd.name)try{Wd(Xd,"name",{value:"values"})}catch(e){}var Yd=La,Jd=ce,Zd=me,Qd=Rp,$d=ee([].join);Yd({target:"Array",proto:!0,forced:Jd!=Object||!Qd("join",",")},{join:function(e){return $d(Zd(this),void 0===e?",":e)}});var ev=fu,tv=me,nv=Pr,rv=Kr,av=Rp,iv=Math.min,ov=[].lastIndexOf,sv=!!ov&&1/[1].lastIndexOf(1,-0)<0,uv=av("lastIndexOf"),cv=sv||!uv?function(e){if(sv)return ev(ov,this,arguments)||0;var t=tv(this),n=rv(t),r=n-1;for(arguments.length>1&&(r=iv(r,nv(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:ov;La({target:"Array",proto:!0,forced:cv!==[].lastIndexOf},{lastIndexOf:cv});var lv=Wo.map;La({target:"Array",proto:!0,forced:!ap("map")},{map:function(e){return lv(this,e,arguments.length>1?arguments[1]:void 0)}});var hv=No,pv=Ii,fv=Array;La({target:"Array",stat:!0,forced:B((function(){function e(){}return!(fv.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new(hv(this)?this:fv)(t);t>e;)pv(n,e,arguments[e++]);return n.length=t,n}});var dv=W,vv=co,mv=TypeError,gv=Object.getOwnPropertyDescriptor,yv=dv&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(vv(e)&&!gv(e,"length").writable)throw mv("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},bv=yt,xv=Kr,kv=yv,wv=ep;La({target:"Array",proto:!0,arity:1,forced:B((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=bv(this),n=xv(t),r=arguments.length;wv(n+r);for(var a=0;a<r;a++)t[