UNPKG

rune-sdk

Version:

Build a multiplayer game played by millions! Your game runs inside the Rune app with 10 million installs across [iOS](https://apps.apple.com/app/rune-games-and-voice-chat/id1450358364) and [Android](https://play.google.com/store/apps/details?id=ai.rune.ti

9 lines (8 loc) 3.88 MB
/* Copyright (c) 2024 Rune AI Inc. All rights reserved. This code is proprietary to Rune AI Inc. The code may be used solely for accessing the Service provided by Rune AI Inc. following the Rune AI Inc. Terms of Service ("Terms") accessible at rune.ai/eula. You may not use this code for any use or purpose other than as expressly permitted by the Terms. Restrictions set forth in the Terms include, but is not limited to, that you may not copy, adapt, modify, prepare derivative works based upon, distribute, license, sell, transfer, publicly display, publicly perform, transmit, stream, broadcast, attempt to discover any source code, reverse engineer, decompile, dissemble, or otherwise exploit the code as a whole or any portion of the code. */ !function(){"use strict";function e(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]}})}}))})),Object.freeze(e)}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(e,t,n){if(d())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var A=new(e.bind.apply(e,r));return n&&m(A,n.prototype),A}function o(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,C(r.key),r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=b(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 o,i=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw o}}}}function s(e){var t=d();return function(){var n,r=u(e);if(t){var A=u(this).constructor;n=Reflect.construct(r,arguments,A)}else n=r.apply(this,arguments);return g(this,n)}}function c(e,t,n){return(t=C(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=w(e,t);if(r){var A=Object.getOwnPropertyDescriptor(r,t);return A.get?A.get.call(arguments.length<3?e:n):A.value}},l.apply(null,arguments)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function f(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 d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(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 n(e)}function v(){v=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,A=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.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,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new k(r||[]);return A(i,"_invoke",{value:I(e,n,a)}),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",d="executing",h="completed",p={};function g(){}function m(){}function B(){}var w={};c(w,i,(function(){return this}));var y=Object.getPrototypeOf,E=y&&y(y(S([])));E&&E!==n&&r.call(E,i)&&(w=E);var C=B.prototype=g.prototype=Object.create(w);function Q(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(A,o,i,a){var s=u(e[A],e,o);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,i,a)}),(function(e){n("throw",e,i,a)})):t.resolve(l).then((function(e){c.value=e,i(c)}),(function(e){return n("throw",e,i,a)}))}a(s.arg)}var o;A(this,"_invoke",{value:function(e,r){function A(){return new t((function(t,A){n(e,r,t,A)}))}return o=o?o.then(A,A):A()}})}function I(t,n,r){var A=f;return function(o,i){if(A===d)throw Error("Generator is already running");if(A===h){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=x(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(A===f)throw A=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);A=d;var c=u(t,n,r);if("normal"===c.type){if(A=r.done?h:"suspendedYield",c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(A=h,r.method="throw",r.arg=c.arg)}}}function x(t,n){var r=n.method,A=t.iterator[r];if(A===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=u(A,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function M(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function S(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var A=-1,o=function n(){for(;++A<t.length;)if(r.call(t,A))return n.value=t[A],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return m.prototype=B,A(C,"constructor",{value:B,configurable:!0}),A(B,"constructor",{value:m,configurable:!0}),m.displayName=c(B,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,B):(e.__proto__=B,c(e,s,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},Q(b.prototype),c(b.prototype,a,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,A,o){void 0===o&&(o=Promise);var i=new b(l(e,n,r,A),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},Q(C),c(C,s,"Generator"),c(C,i,(function(){return this})),c(C,"toString",(function(){return"[object Generator]"})),t.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}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function A(r,A){return a.type="throw",a.arg=t,n.next=r,A&&(n.method="next",n.arg=e),!!A}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return A("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return A(i.catchLoc,!0);if(this.prev<i.finallyLoc)return A(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return A(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return A(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var A=this.tryEntries[n];if(A.tryLoc<=this.prev&&r.call(A,"finallyLoc")&&this.prev<A.finallyLoc){var o=A;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(i)},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),D(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;D(n)}return A}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function B(e,t){return function(e){if(Array.isArray(e))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,o,i,a=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);s=!0);}catch(e){c=!0,A=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw A}}return a}}(e,t)||b(e,t)||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 w(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}function y(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function E(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(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 C(e){var t=function(e,t){if("object"!=typeof e||!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:t+""}function Q(e){return Q="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},Q(e)}function b(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}function I(e){var t="function"==typeof Map?new Map:void 0;return I=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;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,n)}function n(){return A(e,arguments,u(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),m(n,e)},I(e)}var x=function(e,t){return x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},x(e,t)};function M(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var D=function(){return D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var A in t=arguments[n])Object.prototype.hasOwnProperty.call(t,A)&&(e[A]=t[A]);return e},D.apply(this,arguments)};function k(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var A=0;for(r=Object.getOwnPropertySymbols(e);A<r.length;A++)t.indexOf(r[A])<0&&Object.prototype.propertyIsEnumerable.call(e,r[A])&&(n[r[A]]=e[r[A]])}return n}function S(e,t,n,r){return new(n||(n=Promise))((function(A,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function a(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?A(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}s((r=r.apply(e,t||[])).next())}))}function F(e,t){var n,r,A,o,i={label:0,sent:function(){if(1&A[0])throw A[1];return A[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(A=2&a[0]?r.return:a[0]?r.throw||((A=r.return)&&A.call(r),0):r.next)&&!(A=A.call(r,a[1])).done)return A;switch(r=0,A&&(a=[2&a[0],A.value]),a[0]){case 0:case 1:A=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(A=i.trys,(A=A.length>0&&A[A.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!A||a[1]>A[0]&&a[1]<A[3])){i.label=a[1];break}if(6===a[0]&&i.label<A[1]){i.label=A[1],A=a;break}if(A&&i.label<A[2]){i.label=A[2],i.ops.push(a);break}A[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=A=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function j(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,A,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){A={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(A)throw A.error}}return i}function T(e,t,n){if(n||2===arguments.length)for(var r,A=0,o=t.length;A<o;A++)!r&&A in t||(r||(r=Array.prototype.slice.call(t,0,A)),r[A]=t[A]);return e.concat(r||Array.prototype.slice.call(t))}function R(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var U="undefined"!=typeof window||"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function P(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var O=function(e){return e&&e.Math==Math&&e},H=O("object"==("undefined"==typeof window?"undefined":Q(window))&&window)||O("object"==("undefined"==typeof window?"undefined":Q(window))&&window)||O("object"==("undefined"==typeof self?"undefined":Q(self))&&self)||O("object"==Q(U)&&U)||function(){return this}()||U||Function("return this")(),z={},L=function(e){try{return!!e()}catch(e){return!0}},G=!L((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),J=!L((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),V=J,W=Function.prototype.call,K=V?W.bind(W):function(){return W.apply(W,arguments)},Z={},X={}.propertyIsEnumerable,q=Object.getOwnPropertyDescriptor,_=q&&!X.call({1:2},1);Z.f=_?function(e){var t=q(this,e);return!!t&&t.enumerable}:X;var $,ee,te=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ne=J,re=Function.prototype,Ae=re.call,oe=ne&&re.bind.bind(Ae,Ae),ie=ne?oe:function(e){return function(){return Ae.apply(e,arguments)}},ae=ie,se=ae({}.toString),ce=ae("".slice),le=function(e){return ce(se(e),8,-1)},ue=L,fe=le,de=Object,he=ie("".split),pe=ue((function(){return!de("z").propertyIsEnumerable(0)}))?function(e){return"String"==fe(e)?he(e,""):de(e)}:de,ge=function(e){return null==e},ve=ge,me=TypeError,Be=function(e){if(ve(e))throw me("Can't call method on "+e);return e},we=pe,ye=Be,Ee=function(e){return we(ye(e))},Ce="object"==("undefined"==typeof document?"undefined":Q(document))&&document.all,Qe={all:Ce,IS_HTMLDDA:void 0===Ce&&void 0!==Ce},be=Qe.all,Ie=Qe.IS_HTMLDDA?function(e){return"function"==typeof e||e===be}:function(e){return"function"==typeof e},xe=Ie,Me=Qe.all,De=Qe.IS_HTMLDDA?function(e){return"object"==Q(e)?null!==e:xe(e)||e===Me}:function(e){return"object"==Q(e)?null!==e:xe(e)},ke=H,Se=Ie,Fe=function(e){return Se(e)?e:void 0},je=function(e,t){return arguments.length<2?Fe(ke[e]):ke[e]&&ke[e][t]},Ne=ie({}.isPrototypeOf),Te="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Re=H,Ue=Te,Ye=Re.process,Pe=Re.Deno,Oe=Ye&&Ye.versions||Pe&&Pe.version,He=Oe&&Oe.v8;He&&(ee=($=He.split("."))[0]>0&&$[0]<4?1:+($[0]+$[1])),!ee&&Ue&&(!($=Ue.match(/Edge\/(\d+)/))||$[1]>=74)&&($=Ue.match(/Chrome\/(\d+)/))&&(ee=+$[1]);var ze=ee,Le=ze,Ge=L,Je=H.String,Ve=!!Object.getOwnPropertySymbols&&!Ge((function(){var e=Symbol();return!Je(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Le&&Le<41})),We=Ve&&!Symbol.sham&&"symbol"==Q(Symbol.iterator),Ke=je,Ze=Ie,Xe=Ne,qe=Object,_e=We?function(e){return"symbol"==Q(e)}:function(e){var t=Ke("Symbol");return Ze(t)&&Xe(t.prototype,qe(e))},$e=String,et=function(e){try{return $e(e)}catch(e){return"Object"}},tt=Ie,nt=et,rt=TypeError,At=function(e){if(tt(e))return e;throw rt(nt(e)+" is not a function")},ot=At,it=ge,at=function(e,t){var n=e[t];return it(n)?void 0:ot(n)},st=K,ct=Ie,lt=De,ut=TypeError,ft=function(e,t){var n,r;if("string"===t&&ct(n=e.toString)&&!lt(r=st(n,e)))return r;if(ct(n=e.valueOf)&&!lt(r=st(n,e)))return r;if("string"!==t&&ct(n=e.toString)&&!lt(r=st(n,e)))return r;throw ut("Can't convert object to primitive value")},dt={exports:{}},ht=H,pt=Object.defineProperty,gt=function(e,t){try{pt(ht,e,{value:t,configurable:!0,writable:!0})}catch(n){ht[e]=t}return t},vt=gt,mt="__core-js_shared__",Bt=H[mt]||vt(mt,{}),wt=Bt;(dt.exports=function(e,t){return wt[e]||(wt[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.31.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"});var yt=Be,Et=Object,Ct=function(e){return Et(yt(e))},Qt=Ct,bt=ie({}.hasOwnProperty),It=Object.hasOwn||function(e,t){return bt(Qt(e),t)},xt=ie,Mt=0,Dt=Math.random(),kt=xt(1..toString),St=function(e){return"Symbol("+(void 0===e?"":e)+")_"+kt(++Mt+Dt,36)},Ft=H,jt=dt.exports,Nt=It,Tt=St,Rt=Ve,Ut=We,Yt=Ft.Symbol,Pt=jt("wks"),Ot=Ut?Yt.for||Yt:Yt&&Yt.withoutSetter||Tt,Ht=function(e){return Nt(Pt,e)||(Pt[e]=Rt&&Nt(Yt,e)?Yt[e]:Ot("Symbol."+e)),Pt[e]},zt=K,Lt=De,Gt=_e,Jt=at,Vt=ft,Wt=TypeError,Kt=Ht("toPrimitive"),Zt=function(e,t){if(!Lt(e)||Gt(e))return e;var n,r=Jt(e,Kt);if(r){if(void 0===t&&(t="default"),n=zt(r,e,t),!Lt(n)||Gt(n))return n;throw Wt("Can't convert object to primitive value")}return void 0===t&&(t="number"),Vt(e,t)},Xt=Zt,qt=_e,_t=function(e){var t=Xt(e,"string");return qt(t)?t:t+""},$t=De,en=H.document,tn=$t(en)&&$t(en.createElement),nn=function(e){return tn?en.createElement(e):{}},rn=nn,An=!G&&!L((function(){return 7!=Object.defineProperty(rn("div"),"a",{get:function(){return 7}}).a})),on=G,an=K,sn=Z,cn=te,ln=Ee,un=_t,fn=It,dn=An,hn=Object.getOwnPropertyDescriptor;z.f=on?hn:function(e,t){if(e=ln(e),t=un(t),dn)try{return hn(e,t)}catch(e){}if(fn(e,t))return cn(!an(sn.f,e,t),e[t])};var pn={},gn=G&&L((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),vn=De,mn=String,Bn=TypeError,wn=function(e){if(vn(e))return e;throw Bn(mn(e)+" is not an object")},yn=G,En=An,Cn=gn,Qn=wn,bn=_t,In=TypeError,xn=Object.defineProperty,Mn=Object.getOwnPropertyDescriptor,Dn="enumerable",kn="configurable",Sn="writable";pn.f=yn?Cn?function(e,t,n){if(Qn(e),t=bn(t),Qn(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Sn in n&&!n.writable){var r=Mn(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:kn in n?n.configurable:r.configurable,enumerable:Dn in n?n.enumerable:r.enumerable,writable:!1})}return xn(e,t,n)}:xn:function(e,t,n){if(Qn(e),t=bn(t),Qn(n),En)try{return xn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw In("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Fn=pn,jn=te,Nn=G?function(e,t,n){return Fn.f(e,t,jn(1,n))}:function(e,t,n){return e[t]=n,e},Tn={exports:{}},Rn=G,Un=It,Yn=Function.prototype,Pn=Rn&&Object.getOwnPropertyDescriptor,On=Un(Yn,"name"),Hn={EXISTS:On,PROPER:On&&"something"===function(){}.name,CONFIGURABLE:On&&(!Rn||Rn&&Pn(Yn,"name").configurable)},zn=Ie,Ln=Bt,Gn=ie(Function.toString);zn(Ln.inspectSource)||(Ln.inspectSource=function(e){return Gn(e)});var Jn,Vn,Wn,Kn=Ln.inspectSource,Zn=Ie,Xn=H.WeakMap,qn=Zn(Xn)&&/native code/.test(String(Xn)),_n=dt.exports,$n=St,er=_n("keys"),tr=function(e){return er[e]||(er[e]=$n(e))},nr={},rr=qn,Ar=H,or=De,ir=Nn,ar=It,sr=Bt,cr=tr,lr=nr,ur="Object already initialized",fr=Ar.TypeError,dr=Ar.WeakMap;if(rr||sr.state){var hr=sr.state||(sr.state=new dr);hr.get=hr.get,hr.has=hr.has,hr.set=hr.set,Jn=function(e,t){if(hr.has(e))throw fr(ur);return t.facade=e,hr.set(e,t),t},Vn=function(e){return hr.get(e)||{}},Wn=function(e){return hr.has(e)}}else{var pr=cr("state");lr[pr]=!0,Jn=function(e,t){if(ar(e,pr))throw fr(ur);return t.facade=e,ir(e,pr,t),t},Vn=function(e){return ar(e,pr)?e[pr]:{}},Wn=function(e){return ar(e,pr)}}var gr={set:Jn,get:Vn,has:Wn,enforce:function(e){return Wn(e)?Vn(e):Jn(e,{})},getterFor:function(e){return function(t){var n;if(!or(t)||(n=Vn(t)).type!==e)throw fr("Incompatible receiver, "+e+" required");return n}}},vr=ie,mr=L,Br=Ie,wr=It,yr=G,Er=Hn.CONFIGURABLE,Cr=Kn,Qr=gr.enforce,br=gr.get,Ir=String,xr=Object.defineProperty,Mr=vr("".slice),Dr=vr("".replace),kr=vr([].join),Sr=yr&&!mr((function(){return 8!==xr((function(){}),"length",{value:8}).length})),Fr=String(String).split("String"),jr=Tn.exports=function(e,t,n){"Symbol("===Mr(Ir(t),0,7)&&(t="["+Dr(Ir(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!wr(e,"name")||Er&&e.name!==t)&&(yr?xr(e,"name",{value:t,configurable:!0}):e.name=t),Sr&&n&&wr(n,"arity")&&e.length!==n.arity&&xr(e,"length",{value:n.arity});try{n&&wr(n,"constructor")&&n.constructor?yr&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=Qr(e);return wr(r,"source")||(r.source=kr(Fr,"string"==typeof t?t:"")),e};Function.prototype.toString=jr((function(){return Br(this)&&br(this).source||Cr(this)}),"toString");var Nr=Ie,Tr=pn,Rr=Tn.exports,Ur=gt,Yr=function(e,t,n,r){r||(r={});var A=r.enumerable,o=void 0!==r.name?r.name:t;if(Nr(n)&&Rr(n,o,r),r.global)A?e[t]=n:Ur(t,n);else{try{r.unsafe?e[t]&&(A=!0):delete e[t]}catch(e){}A?e[t]=n:Tr.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Pr={},Or=Math.ceil,Hr=Math.floor,zr=Math.trunc||function(e){var t=+e;return(t>0?Hr:Or)(t)},Lr=zr,Gr=function(e){var t=+e;return t!=t||0===t?0:Lr(t)},Jr=Gr,Vr=Math.max,Wr=Math.min,Kr=function(e,t){var n=Jr(e);return n<0?Vr(n+t,0):Wr(n,t)},Zr=Gr,Xr=Math.min,qr=function(e){return e>0?Xr(Zr(e),9007199254740991):0},_r=qr,$r=function(e){return _r(e.length)},eA=Ee,tA=Kr,nA=$r,rA=function(e){return function(t,n,r){var A,o=eA(t),i=nA(o),a=tA(r,i);if(e&&n!=n){for(;i>a;)if((A=o[a++])!=A)return!0}else for(;i>a;a++)if((e||a in o)&&o[a]===n)return e||a||0;return!e&&-1}},AA={includes:rA(!0),indexOf:rA(!1)},oA=It,iA=Ee,aA=AA.indexOf,sA=nr,cA=ie([].push),lA=function(e,t){var n,r=iA(e),A=0,o=[];for(n in r)!oA(sA,n)&&oA(r,n)&&cA(o,n);for(;t.length>A;)oA(r,n=t[A++])&&(~aA(o,n)||cA(o,n));return o},uA=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],fA=lA,dA=uA.concat("length","prototype");Pr.f=Object.getOwnPropertyNames||function(e){return fA(e,dA)};var hA={};hA.f=Object.getOwnPropertySymbols;var pA=je,gA=Pr,vA=hA,mA=wn,BA=ie([].concat),wA=pA("Reflect","ownKeys")||function(e){var t=gA.f(mA(e)),n=vA.f;return n?BA(t,n(e)):t},yA=It,EA=wA,CA=z,QA=pn,bA=function(e,t,n){for(var r=EA(t),A=QA.f,o=CA.f,i=0;i<r.length;i++){var a=r[i];yA(e,a)||n&&yA(n,a)||A(e,a,o(t,a))}},IA=L,xA=Ie,MA=/#|\.prototype\./,DA=function(e,t){var n=SA[kA(e)];return n==jA||n!=FA&&(xA(t)?IA(t):!!t)},kA=DA.normalize=function(e){return String(e).replace(MA,".").toLowerCase()},SA=DA.data={},FA=DA.NATIVE="N",jA=DA.POLYFILL="P",NA=DA,TA=H,RA=z.f,UA=Nn,YA=Yr,PA=gt,OA=bA,HA=NA,zA=function(e,t){var n,r,A,o,i,a=e.target,s=e.global,c=e.stat;if(n=s?TA:c?TA[a]||PA(a,{}):(TA[a]||{}).prototype)for(r in t){if(o=t[r],A=e.dontCallGetSet?(i=RA(n,r))&&i.value:n[r],!HA(s?r:a+(c?".":"#")+r,e.forced)&&void 0!==A){if(Q(o)==Q(A))continue;OA(o,A)}(e.sham||A&&A.sham)&&UA(o,"sham",!0),YA(n,r,o,e)}},LA={};LA[Ht("toStringTag")]="z";var GA="[object z]"===String(LA),JA=GA,VA=Ie,WA=le,KA=Ht("toStringTag"),ZA=Object,XA="Arguments"==WA(function(){return arguments}()),qA=JA?WA: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=ZA(e),KA))?n:XA?WA(t):"Object"==(r=WA(t))&&VA(t.callee)?"Arguments":r},_A=qA,$A=String,eo=function(e){if("Symbol"===_A(e))throw TypeError("Cannot convert a Symbol value to a string");return $A(e)},to={},no=lA,ro=uA,Ao=Object.keys||function(e){return no(e,ro)},oo=G,io=gn,ao=pn,so=wn,co=Ee,lo=Ao;to.f=oo&&!io?Object.defineProperties:function(e,t){so(e);for(var n,r=co(t),A=lo(t),o=A.length,i=0;o>i;)ao.f(e,n=A[i++],r[n]);return e};var uo,fo=je("document","documentElement"),ho=wn,po=to,go=uA,vo=nr,mo=fo,Bo=nn,wo=tr("IE_PROTO"),yo=function(){},Eo=function(e){return"<script>"+e+"</"+"script>"},Co=function(e){e.write(Eo("")),e.close();var t=e.parentWindow.Object;return e=null,t},Qo=function(){try{uo=new ActiveXObject("htmlfile")}catch(e){}var e,t;Qo="undefined"!=typeof document?document.domain&&uo?Co(uo):((t=Bo("iframe")).style.display="none",mo.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Eo("document.F=Object")),e.close(),e.F):Co(uo);for(var n=go.length;n--;)delete Qo.prototype[go[n]];return Qo()};vo[wo]=!0;var bo=Object.create||function(e,t){var n;return null!==e?(yo.prototype=ho(e),n=new yo,yo.prototype=null,n[wo]=e):n=Qo(),void 0===t?n:po.f(n,t)},Io={},xo=_t,Mo=pn,Do=te,ko=function(e,t,n){var r=xo(t);r in e?Mo.f(e,r,Do(0,n)):e[r]=n},So=Kr,Fo=$r,jo=ko,No=Array,To=Math.max,Ro=function(e,t,n){for(var r=Fo(e),A=So(t,r),o=So(void 0===n?r:n,r),i=No(To(o-A,0)),a=0;A<o;A++,a++)jo(i,a,e[A]);return i.length=a,i},Uo=le,Yo=Ee,Po=Pr.f,Oo=Ro,Ho="object"==("undefined"==typeof window?"undefined":Q(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Io.f=function(e){return Ho&&"Window"==Uo(e)?function(e){try{return Po(e)}catch(e){return Oo(Ho)}}(e):Po(Yo(e))};var zo=Tn.exports,Lo=pn,Go=function(e,t,n){return n.get&&zo(n.get,t,{getter:!0}),n.set&&zo(n.set,t,{setter:!0}),Lo.f(e,t,n)},Jo={},Vo=Ht;Jo.f=Vo;var Wo=H,Ko=Wo,Zo=It,Xo=Jo,qo=pn.f,_o=function(e){var t=Ko.Symbol||(Ko.Symbol={});Zo(t,e)||qo(t,e,{value:Xo.f(e)})},$o=K,ei=je,ti=Ht,ni=Yr,ri=function(){var e=ei("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,r=ti("toPrimitive");t&&!t[r]&&ni(t,r,(function(e){return $o(n,this)}),{arity:1})},Ai=pn.f,oi=It,ii=Ht("toStringTag"),ai=function(e,t,n){e&&!n&&(e=e.prototype),e&&!oi(e,ii)&&Ai(e,ii,{configurable:!0,value:t})},si=le,ci=ie,li=function(e){if("Function"===si(e))return ci(e)},ui=At,fi=J,di=li(li.bind),hi=function(e,t){return ui(e),void 0===t?e:fi?di(e,t):function(){return e.apply(t,arguments)}},pi=le,gi=Array.isArray||function(e){return"Array"==pi(e)},vi=ie,mi=L,Bi=Ie,wi=qA,yi=Kn,Ei=function(){},Ci=[],Qi=je("Reflect","construct"),bi=/^\s*(?:class|function)\b/,Ii=vi(bi.exec),xi=!bi.exec(Ei),Mi=function(e){if(!Bi(e))return!1;try{return Qi(Ei,Ci,e),!0}catch(e){return!1}},Di=function(e){if(!Bi(e))return!1;switch(wi(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return xi||!!Ii(bi,yi(e))}catch(e){return!0}};Di.sham=!0;var ki=!Qi||mi((function(){var e;return Mi(Mi.call)||!Mi(Object)||!Mi((function(){e=!0}))||e}))?Di:Mi,Si=gi,Fi=ki,ji=De,Ni=Ht("species"),Ti=Array,Ri=function(e){var t;return Si(e)&&(t=e.constructor,(Fi(t)&&(t===Ti||Si(t.prototype))||ji(t)&&null===(t=t[Ni]))&&(t=void 0)),void 0===t?Ti:t},Ui=function(e,t){return new(Ri(e))(0===t?0:t)},Yi=hi,Pi=pe,Oi=Ct,Hi=$r,zi=Ui,Li=ie([].push),Gi=function(e){var t=1==e,n=2==e,r=3==e,A=4==e,o=6==e,i=7==e,a=5==e||o;return function(s,c,l,u){for(var f,d,h=Oi(s),p=Pi(h),g=Yi(c,l),v=Hi(p),m=0,B=u||zi,w=t?B(s,v):n||i?B(s,0):void 0;v>m;m++)if((a||m in p)&&(d=g(f=p[m],m,h),e))if(t)w[m]=d;else if(d)switch(e){case 3:return!0;case 5:return f;case 6:return m;case 2:Li(w,f)}else switch(e){case 4:return!1;case 7:Li(w,f)}return o?-1:r||A?A:w}},Ji={forEach:Gi(0),map:Gi(1),filter:Gi(2),some:Gi(3),every:Gi(4),find:Gi(5),findIndex:Gi(6),filterReject:Gi(7)},Vi=zA,Wi=H,Ki=K,Zi=ie,Xi=G,qi=Ve,_i=L,$i=It,ea=Ne,ta=wn,na=Ee,ra=_t,Aa=eo,oa=te,ia=bo,aa=Ao,sa=Pr,ca=Io,la=hA,ua=z,fa=pn,da=to,ha=Z,pa=Yr,ga=Go,va=dt.exports,ma=nr,Ba=St,wa=Ht,ya=Jo,Ea=_o,Ca=ri,Qa=ai,ba=gr,Ia=Ji.forEach,xa=tr("hidden"),Ma="Symbol",Da=ba.set,ka=ba.getterFor(Ma),Sa=Object.prototype,Fa=Wi.Symbol,ja=Fa&&Fa.prototype,Na=Wi.TypeError,Ta=Wi.QObject,Ra=ua.f,Ua=fa.f,Ya=ca.f,Pa=ha.f,Oa=Zi([].push),Ha=va("symbols"),za=va("op-symbols"),La=va("wks"),Ga=!Ta||!Ta.prototype||!Ta.prototype.findChild,Ja=Xi&&_i((function(){return 7!=ia(Ua({},"a",{get:function(){return Ua(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Ra(Sa,t);r&&delete Sa[t],Ua(e,t,n),r&&e!==Sa&&Ua(Sa,t,r)}:Ua,Va=function(e,t){var n=Ha[e]=ia(ja);return Da(n,{type:Ma,tag:e,description:t}),Xi||(n.description=t),n},Wa=function(e,t,n){e===Sa&&Wa(za,t,n),ta(e);var r=ra(t);return ta(n),$i(Ha,r)?(n.enumerable?($i(e,xa)&&e[xa][r]&&(e[xa][r]=!1),n=ia(n,{enumerable:oa(0,!1)})):($i(e,xa)||Ua(e,xa,oa(1,{})),e[xa][r]=!0),Ja(e,r,n)):Ua(e,r,n)},Ka=function(e,t){ta(e);var n=na(t),r=aa(n).concat(_a(n));return Ia(r,(function(t){Xi&&!Ki(Za,n,t)||Wa(e,t,n[t])})),e},Za=function(e){var t=ra(e),n=Ki(Pa,this,t);return!(this===Sa&&$i(Ha,t)&&!$i(za,t))&&(!(n||!$i(this,t)||!$i(Ha,t)||$i(this,xa)&&this[xa][t])||n)},Xa=function(e,t){var n=na(e),r=ra(t);if(n!==Sa||!$i(Ha,r)||$i(za,r)){var A=Ra(n,r);return!A||!$i(Ha,r)||$i(n,xa)&&n[xa][r]||(A.enumerable=!0),A}},qa=function(e){var t=Ya(na(e)),n=[];return Ia(t,(function(e){$i(Ha,e)||$i(ma,e)||Oa(n,e)})),n},_a=function(e){var t=e===Sa,n=Ya(t?za:na(e)),r=[];return Ia(n,(function(e){!$i(Ha,e)||t&&!$i(Sa,e)||Oa(r,Ha[e])})),r};qi||(Fa=function(){if(ea(ja,this))throw Na("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Aa(arguments[0]):void 0,t=Ba(e),n=function e(n){this===Sa&&Ki(e,za,n),$i(this,xa)&&$i(this[xa],t)&&(this[xa][t]=!1),Ja(this,t,oa(1,n))};return Xi&&Ga&&Ja(Sa,t,{configurable:!0,set:n}),Va(t,e)},pa(ja=Fa.prototype,"toString",(function(){return ka(this).tag})),pa(Fa,"withoutSetter",(function(e){return Va(Ba(e),e)})),ha.f=Za,fa.f=Wa,da.f=Ka,ua.f=Xa,sa.f=ca.f=qa,la.f=_a,ya.f=function(e){return Va(wa(e),e)},Xi&&(ga(ja,"description",{configurable:!0,get:function(){return ka(this).description}}),pa(Sa,"propertyIsEnumerable",Za,{unsafe:!0}))),Vi({global:!0,constructor:!0,wrap:!0,forced:!qi,sham:!qi},{Symbol:Fa}),Ia(aa(La),(function(e){Ea(e)})),Vi({target:Ma,stat:!0,forced:!qi},{useSetter:function(){Ga=!0},useSimple:function(){Ga=!1}}),Vi({target:"Object",stat:!0,forced:!qi,sham:!Xi},{create:function(e,t){return void 0===t?ia(e):Ka(ia(e),t)},defineProperty:Wa,defineProperties:Ka,getOwnPropertyDescriptor:Xa}),Vi({target:"Object",stat:!0,forced:!qi},{getOwnPropertyNames:qa}),Ca(),Qa(Fa,Ma),ma[xa]=!0;var $a=Ve&&!!Symbol.for&&!!Symbol.keyFor,es=zA,ts=je,ns=It,rs=eo,As=dt.exports,os=$a,is=As("string-to-symbol-registry"),as=As("symbol-to-string-registry");es({target:"Symbol",stat:!0,forced:!os},{for:function(e){var t=rs(e);if(ns(is,t))return is[t];var n=ts("Symbol")(t);return is[t]=n,as[n]=t,n}});var ss=zA,cs=It,ls=_e,us=et,fs=$a,ds=(0,dt.exports)("symbol-to-string-registry");ss({target:"Symbol",stat:!0,forced:!fs},{keyFor:function(e){if(!ls(e))throw TypeError(us(e)+" is not a symbol");if(cs(ds,e))return ds[e]}});var hs=J,ps=Function.prototype,gs=ps.apply,vs=ps.call,ms="object"==("undefined"==typeof Reflect?"undefined":Q(Reflect))&&Reflect.apply||(hs?vs.bind(gs):function(){return vs.apply(gs,arguments)}),Bs=ie([].slice),ws=gi,ys=Ie,Es=le,Cs=eo,Qs=ie([].push),bs=zA,Is=je,xs=ms,Ms=K,Ds=ie,ks=L,Ss=Ie,Fs=_e,js=Bs,Ns=function(e){if(ys(e))return e;if(ws(e)){for(var t=e.length,n=[],r=0;r<t;r++){var A=e[r];"string"==typeof A?Qs(n,A):"number"!=typeof A&&"Number"!=Es(A)&&"String"!=Es(A)||Qs(n,Cs(A))}var o=n.length,i=!0;return function(e,t){if(i)return i=!1,t;if(ws(this))return t;for(var r=0;r<o;r++)if(n[r]===e)return t}}},Ts=Ve,Rs=String,Us=Is("JSON","stringify"),Ys=Ds(/./.exec),Ps=Ds("".charAt),Os=Ds("".charCodeAt),Hs=Ds("".replace),zs=Ds(1..toString),Ls=/[\uD800-\uDFFF]/g,Gs=/^[\uD800-\uDBFF]$/,Js=/^[\uDC00-\uDFFF]$/,Vs=!Ts||ks((function(){var e=Is("Symbol")();return"[null]"!=Us([e])||"{}"!=Us({a:e})||"{}"!=Us(Object(e))})),Ws=ks((function(){return'"\\udf06\\ud834"'!==Us("\udf06\ud834")||'"\\udead"'!==Us("\udead")})),Ks=function(e,t){var n=js(arguments),r=Ns(t);if(Ss(r)||void 0!==e&&!Fs(e))return n[1]=function(e,t){if(Ss(r)&&(t=Ms(r,this,Rs(e),t)),!Fs(t))return t},xs(Us,null,n)},Zs=function(e,t,n){var r=Ps(n,t-1),A=Ps(n,t+1);return Ys(Gs,e)&&!Ys(Js,A)||Ys(Js,e)&&!Ys(Gs,r)?"\\u"+zs(Os(e,0),16):e};Us&&bs({target:"JSON",stat:!0,arity:3,forced:Vs||Ws},{stringify:function(e,t,n){var r=js(arguments),A=xs(Vs?Ks:Us,null,r);return Ws&&"string"==typeof A?Hs(A,Ls,Zs):A}});var Xs=hA,qs=Ct;zA({target:"Object",stat:!0,forced:!Ve||L((function(){Xs.f(1)}))},{getOwnPropertySymbols:function(e){var t=Xs.f;return t?t(qs(e)):[]}});var _s=zA,$s=G,ec=ie,tc=It,nc=Ie,rc=Ne,Ac=eo,oc=Go,ic=bA,ac=H.Symbol,sc=ac&&ac.prototype;if($s&&nc(ac)&&(!("description"in sc)||void 0!==ac().description)){var cc={},lc=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:Ac(arguments[0]),t=rc(sc,this)?new ac(e):void 0===e?ac():ac(e);return""===e&&(cc[t]=!0),t};ic(lc,ac),lc.prototype=sc,sc.constructor=lc;var uc="Symbol(test)"==String(ac("test")),fc=ec(sc.valueOf),dc=ec(sc.toString),hc=/^Symbol\((.*)\)[^)]+$/,pc=ec("".replace),gc=ec("".slice);oc(sc,"description",{configurable:!0,get:function(){var e=fc(this);if(tc(cc,e))return"";var t=dc(e),n=uc?gc(t,7,-1):pc(t,hc,"$1");return""===n?void 0:n}}),_s({global:!0,constructor:!0,forced:!0},{Symbol:lc})}_o("asyncIterator"),_o("hasInstance"),_o("isConcatSpreadable"),_o("iterator"),_o("match"),_o("matchAll"),_o("replace"),_o("search"),_o("species"),_o("split");var vc=ri;_o("toPrimitive"),vc();var mc=je,Bc=ai;_o("toStringTag"),Bc(mc("Symbol"),"Symbol"),_o("unscopables");var wc=ie,yc=At,Ec=Ie,Cc=String,Qc=TypeError,bc=function(e){if("object"==Q(e)||Ec(e))return e;throw Qc("Can't set "+Cc(e)+" as a prototype")},Ic=function(e,t,n){try{return wc(yc(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}},xc=wn,Mc=bc,Dc=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 xc(n),Mc(r),t?e(n,r):n.__proto__=r,n}}():void 0),kc=pn.f,Sc=function(e,t,n){n in e||kc(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})},Fc=Ie,jc=De,Nc=Dc,Tc=function(e,t,n){var r,A;return Nc&&Fc(r=t.constructor)&&r!==n&&jc(A=r.prototype)&&A!==n.prototype&&Nc(e,A),e},Rc=eo,Uc=function(e,t){return void 0===e?arguments.length<2?"":t:Rc(e)},Yc=De,Pc=Nn,Oc=function(e,t){Yc(t)&&"cause"in t&&Pc(e,"cause",t.cause)},Hc=Error,zc=ie("".replace),Lc=String(Hc("zxcasd").stack),Gc=/\n\s*at [^:]*:[^\n]*/,Jc=Gc.test(Lc),Vc=function(e,t){if(Jc&&"string"==typeof e&&!Hc.prepareStackTrace)for(;t--;)e=zc(e,Gc,"");return e},Wc=te,Kc=!L((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",Wc(1,7)),7!==e.stack)})),Zc=Nn,Xc=Vc,qc=Kc,_c=Error.captureStackTrace,$c=function(e,t,n,r){qc&&(_c?_c(e,t):Zc(e,"stack",Xc(n,r)))},el=je,tl=It,nl=Nn,rl=Ne,Al=Dc,ol=bA,il=Sc,al=Tc,sl=Uc,cl=Oc,ll=$c,ul=G,fl=function(e,t,n,r){var A="stackTraceLimit",o=r?2:1,i=e.split("."),a=i[i.length-1],s=el.apply(null,i);if(s){var c=s.prototype;if(tl(c,"cause")&&delete c.cause,!n)return s;var l=el("Error"),u=t((function(e,t){var n=sl(r?t:e,void 0),A=r?new s(e):new s;return void 0!==n&&nl(A,"message",n),ll(A,u,A.stack,2),this&&rl(c,this)&&al(A,this,u),arguments.length>o&&cl(A,arguments[o]),A}));u.prototype=c,"Error"!==a?Al?Al(u,l):ol(u,l,{name:!0}):ul&&A in s&&(il(u,s,A),il(u,s,"prepareStackTrace")),ol(u,s);try{c.name!==a&&nl(c,"name",a),c.constructor=u}catch(e){}return u}},dl=zA,hl=ms,pl=fl,gl="WebAssembly",vl=H.WebAssembly,ml=7!==Error("e",{cause:7}).cause,Bl=function(e,t){var n={};n[e]=pl(e,t,ml),dl({global:!0,constructor:!0,arity:1,forced:ml},n)},wl=function(e,t){if(vl&&vl[e]){var n={};n[e]=pl("WebAssembly."+e,t,ml),dl({target:gl,stat:!0,constructor:!0,arity:1,forced:ml},n)}};Bl("Error",(function(e){return function(t){return hl(e,this,arguments)}})),Bl("EvalError",(function(e){return function(t){return hl(e,this,arguments)}})),Bl("RangeError",(function(e){return function(t){return hl(e,this,arguments)}})),Bl("ReferenceError",(function(e){return function(t){return hl(e,this,arguments)}})),Bl("SyntaxError",(function(e){return function(t){return hl(e,this,arguments)}})),Bl("TypeError",(function(e){return function(t){return hl(e,this,arguments)}})),Bl("URIError",(function(e){return function(t){return hl(e,this,arguments)}})),wl("CompileError",(function(e){return function(t){return hl(e,this,arguments)}})),wl("LinkError",(function(e){return function(t){return hl(e,this,arguments)}})),wl("RuntimeError",(function(e){return function(t){return hl(e,this,arguments)}}));var yl=G,El=L,Cl=wn,Ql=bo,bl=Uc,Il=Error.prototype.toString,xl=El((function(){if(yl){var e=Ql(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({})})),Ml=xl?function(){var e=Cl(this),t=bl(e.name,"Error"),n=bl(e.message);return t?n?t+": "+n:t:n}:Il,Dl=Yr,kl=Ml,Sl=Error.prototype;Sl.toString!==kl&&Dl(Sl,"toString",kl);var Fl=!L((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),jl=It,Nl=Ie,Tl=Ct,Rl=Fl,Ul=tr("IE_PROTO"),Yl=Object,Pl=Yl.prototype,Ol=Rl?Yl.getPrototypeOf:function(e){var t=Tl(e);if(jl(t,Ul))return t[Ul];var n=t.constructor;return Nl(n)&&t instanceof n?n.prototype:t instanceof Yl?Pl:null},Hl={},zl=Hl,Ll=Ht("iterator"),Gl=Array.prototype,Jl=function(e){return void 0!==e&&(zl.Array===e||Gl[Ll]===e)},Vl=qA,Wl=at,Kl=ge,Zl=Hl,Xl=Ht("iterator"),ql=function(e){if(!Kl(e))return Wl(e,Xl)||Wl(e,"@@iterator")||Zl[Vl(e)]},_l=K,$l=At,eu=wn,tu=et,nu=ql,ru=TypeError,Au=function(e,t){var n=arguments.length<2?nu(e):t;if($l(n))return eu(_l(n,e));throw ru(tu(e)+" is not iterable")},ou=K,iu=wn,au=at,su=function(e,t,n){var r,A;iu(e);try{if(!(r=au(e,"return"))){if("throw"===t)throw n;return n}r=ou(r,e)}catch(e){A=!0,r=e}if("throw"===t)throw n;if(A)throw r;return iu(r),n},cu=hi,lu=K,uu=wn,fu=et,du=Jl,hu=$r,pu=Ne,gu=Au,vu=ql,mu=su,Bu=TypeError,wu=function(e,t){this.stopped=e,this.result=t},yu=wu.prototype,Eu=function(e,t,n){var r,A,o,i,a,s,c,l=n&&n.that,u=!(!n||!n.AS_ENTRIES),f=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),p=cu(t,l),g=function(e){return r&&mu(r,"normal",e),new wu(!0,e)},v=function(e){return u?(uu(e),h?p(e[0],e[1],g):p(e[0],e[1])):h?p(e,g):p(e)};if(f)r=e.iterator;else if(d)r=e;else{if(!(A=vu(e)))throw Bu(fu(e)+" is not iterable");if(du(A)){for(o=0,i=hu(e);i>o;o++)if((a=v(e[o]))&&pu(yu,a))return a;return new wu(!1)}r=gu(e,A)}for(s=f?e.next:r.next;!(c=lu(s,r)).done;){try{a=v(c.value)}catch(e){mu(r,"throw",e)}if("object"==Q(a)&&a&&pu(yu,a))return a}return new wu(!1)},Cu=zA,Qu=Ne,bu=Ol,Iu=Dc,xu=bA,Mu=bo,Du=Nn,ku=te,Su=Oc,Fu=$c,ju=Eu,Nu=Uc,Tu=Ht("toStringTag"),Ru=Error,Uu=[].push,Yu=function(e,t){var n,r=Qu(Pu,this);Iu?n=Iu(Ru(),r?bu(this):Pu):(n=r?this:Mu(Pu),Du(n,Tu,"Error")),void 0!==t&&Du(n,"message",Nu(t)),Fu(n,Yu,n.stack,1),arguments.length>2&&Su(n,arguments[2]);var A=[];return ju(e,Uu,{that:A}),Du(n,"errors",A),n};Iu?Iu(Yu,Ru):xu(Yu,Ru,{name:!0});var Pu=Yu.prototype=Mu(Ru.prototype,{constructor:ku(1,Yu),message:ku(1,""),name:ku(1,"AggregateError")});Cu({global:!0,constructor:!0,arity:2},{AggregateError:Yu});var Ou=zA,Hu=ms,zu=L,Lu=fl,Gu="AggregateError",Ju=je(Gu),Vu=!zu((function(){return 1!==Ju([1]).errors[0]}))&&zu((function(){return 7!==Ju([1],Gu,{cause:7}).cause}));Ou({global:!0,constructor:!0,arity:2,forced:Vu},{AggregateError:Lu(Gu,(function(e){return function(t,n){return Hu(e,this,arguments)}}),Vu,!0)});var Wu=Ht,Ku=bo,Zu=pn.f,Xu=Wu("unscopables"),qu=Array.prototype;null==qu[Xu]&&Zu(qu,Xu,{configurable:!0,value:Ku(null)});var _u=function(e){qu[Xu][e]=!0},$u=Ct,ef=$r,tf=Gr,nf=_u;zA({target:"Array",proto:!0},{at:function(e){var t=$u(this),n=ef(t),r=tf(e),A=r>=0?r:n+r;return A<0||A>=n?void 0:t[A]}}),nf("at");var rf=TypeError,Af=function(e){if(e>9007199254740991)throw rf("Maximum allowed index exceeded");return e},of=L,af=ze,sf=Ht("species"),cf=function(e){return af>=51||!of((function(){var t=[];return(t.constructor={})[sf]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},lf=zA,uf=L,ff=gi,df=De,hf=Ct,pf=$r,gf=Af,vf=ko,mf=Ui,Bf=cf,wf=ze,yf=Ht("isConcatSpreadable"),Ef=wf>=51||!uf((function(){var e=[];return e[yf]=!1,e.concat()[0]!==e})),Cf=function(e){if(!df(e))return!1;var t=e[yf];return void 0!==t?!!t:ff(e)};lf({target:"Array",proto:!0,arity:1,forced:!Ef||!Bf("concat")},{concat:function(e){var t,n,r,A,o,i=hf(this),a=mf(i,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(Cf(o=-1===t?i:arguments[t]))for(A=pf(o),gf(s+A),n=0;n<A;n++,s++)n in o&&vf(a,s,o[n]);else gf(s+1),vf(a,s++,o);return a.length=s,a}});var Qf=et,bf=TypeError,If=function(e,t){if(!delete e[t])throw bf("Cannot delete property "+Qf(t)+" of "+Qf(e))},xf=Ct,Mf=Kr,Df=$r,kf=If,Sf=Math.min,Ff=[].copyWithin||function(e,t){var n=xf(this),r=Df(n),A=Mf(e,r),o=Mf(t,r),i=arguments.length>2?arguments[2]:void 0,a=Sf((void 0===i?r:Mf(i,r))-o,r-A),s=1;for(o<A&&A<o+a&&(s=-1,o+=a-1,A+=a-1);a-- >0;)o in n?n[A]=n[o]:kf(n,A),A+=s,o+=s;return n},jf=_u;zA({target:"Array",proto:!0},{copyWithin:Ff}),jf("copyWithin");var Nf=L,Tf=function(e,t){var n=[][e];return!!n&&Nf((function(){n.call(null,t||function(){return 1},1)}))},Rf=Ji.every;zA({target:"Array",proto:!0,forced:!Tf("every")},{every:function(e){return Rf(this,e,arguments.length>1?arguments[1]:void 0)}});var Uf=Ct,Yf=Kr,Pf=$r,Of=function(e){for(var t=Uf(this),n=Pf(t),r=arguments.length,A=Yf(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,i=void 0===o?n:Yf(o,n);i>A;)t[A++]=e;return t},Hf=_u;zA({target:"Array",proto:!0},{fill:Of}),Hf("fill");var zf=Ji.filter;zA({target:"Array",proto:!0,forced:!cf("filter")},{filter:function(e){return zf(this,e,arguments.length>1?arguments[1]:void 0)}});var Lf=zA,Gf=Ji.find,Jf=_u,Vf="find",Wf=!0;Vf in[]&&Array(1).find((function(){Wf=!1})),Lf({target:"Array",proto:!0,forced:Wf},{find:function(e){return Gf(this,e,arguments.length>1?arguments[1]:void 0)}}),Jf(Vf);var Kf=zA,Zf=Ji.findIndex,Xf=_u,qf="findIndex",_f=!0;qf in[]&&Array(1).findIndex((function(){_f=!1})),Kf({target:"Array",proto:!0,forced:_f},{findIndex:function(e){return Zf(this,e,arguments.length>1?arguments[1]:void 0)}}),Xf(qf);var $f=hi,ed=pe,td=Ct,nd=$r,rd=function(e){var t=1==e;return function(n,r,A){for(var o,i=td(n),a=ed(i),s=$f(r,A),c=nd(a);c-- >0;)if(s(o=a[c],c,i))switch(e){case 0:return o;case 1:return c}return t?-1:void 0}},Ad={findLast:rd(0),findLastIndex:rd(1)},od=Ad.findLast,id=_u;zA({target:"Array",proto:!0},{findLast:function(e){return od(this,e,arguments.length>1?arguments[1]:void 0)}}),id("findLast");var ad=Ad.findLastIndex,sd=_u;zA({target:"Array",proto:!0},{findLastIndex:function(e){return ad(this,e,arguments.length>1?arguments[1]:void 0)}}),sd("findLastIndex");var cd=gi,ld=$r,ud=Af,fd=hi,dd=function e(t,n,r,A,o,i,a,s){for(var c,l=o,u=0,f=!!a&&fd(a,s);u<A;)u in r&&(c=f?f(r[u],u,n):r[u],i>0&&cd(c)?l=e(t,n,c,ld(c),l,i-1)-1:(ud(l+1),t[l]=c),l++),u++;return l},hd=dd,pd=Ct,gd=$r,vd=Gr,md=Ui;zA({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=pd(this),n=gd(t),r=md(t,0);return r.length=hd(r,t,t,n,0,void 0===e?1:vd(e)),r}});var Bd=dd,wd=At,yd=Ct,Ed=$r,Cd=Ui;zA({target:"Array",proto:!0},{flatMap:function(e){var t,n=yd(this),r=Ed(n);return wd(e),(t=Cd(n,0)).length=Bd(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Qd=Ji.forEach,bd=Tf("forEach")?[].forEach:function(e){return Qd(this,e,arguments.length>1?arguments[1]:void 0)};zA({target:"Array",proto:!0,forced:[].forEach!=bd},{forEach:bd});var Id=wn,xd=su,Md=hi,Dd=K,kd=Ct,Sd=function(e,t,n,r){try{return r?t(Id(n)[0],n[1]):t(n)}catch(t){xd(e,"throw",t)}},Fd=Jl,jd=ki,Nd=$r,Td=ko,Rd=Au,Ud=ql,Yd=Array,Pd=function(e){var t=kd(e),n=jd(this),r=arguments.length,A=r>1?arguments[1]:void 0,o=void 0!==A;o&&(A=Md(A,r>2?arguments[2]:void 0));var i,a,s,c,l,u,f=Ud(t),d=0;if(!f||this===Yd&&Fd(f))for(i=Nd(t),a=n?new this(i):Yd(i);i>d;d++)u=o?A(t[d],d):t[d],Td(a,d,u);else for(l=(c=Rd(t,f)).next,a=n?new this:[];!(s=Dd(l,c)).done;d++)u=o?Sd(c,A,[s.value,d],!0):s.value,Td(a,d,u);return a.length=d,a},Od=Ht("iterator"),Hd=!1;try{var zd=0,Ld={next:function(){return{done:!!zd++}},return:function(){Hd=!0}};Ld[Od]=function(){return this},Array.from(Ld,(function(){throw 2}))}catch(S0t){}var Gd=function(e,t){if(!t&&!Hd)return!1;var n=!1;try{var r={};r[Od]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Jd=Pd;zA({target:"Array",stat:!0,forced:!Gd((function(e){Array.from(e)}))},{from:Jd});var Vd=AA.includes,Wd=_u;zA({target:"Array",proto:!0,forced:L((function(){return!Array(1).includes()}))},{includes:function(e){return Vd(this,e,arguments.length>1?arguments[1]:void 0)}}),Wd("includes");var Kd=zA,Zd=AA.indexOf,Xd=Tf,qd=li([].indexOf),_d=!!qd&&1/qd([1],1,-0)<0;Kd({target:"Array",proto:!0,forced:_d||!Xd("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return _d?qd(this,e,t)||0:Zd(this,e,t)}}),zA({target:"Array",stat:!0},{isArray:gi});var $d,eh,th,nh=L,rh=Ie,Ah=De,oh=Ol,ih=Yr,ah=Ht("iterator"),sh=!1;[].keys&&("next"in(th=[].keys())?(eh=oh(oh(th)))!==Object.prototype&&($d=eh):sh=!0);var ch=!Ah($d)||nh((function(){var e={};return $d[ah].call(e)!==e}));ch&&($d={}),rh($d[ah])||ih($d,ah,(function(){return this}));var lh={IteratorPrototype:$d,BUGGY_SAFARI_ITERATORS:sh},uh=lh.IteratorPrototype,fh=bo,dh=te,hh=ai,ph=Hl,gh=function(){return this},vh=function(e,t,n,r){var A=t+" Iterator";return e.prototype=fh(uh,{next:dh(+!r,n)}),hh(e,A,!1),ph[A]=gh,e},mh=zA,Bh=K,wh=Ie,yh=vh,Eh=Ol,Ch=Dc,Qh=ai,bh=Nn,Ih=Yr,xh=Hl,Mh=Hn.PROPER,Dh=Hn.CONFIGURABLE,kh=lh.IteratorPrototype,Sh=lh.BUGGY_SAFARI_ITERATORS,Fh=Ht("iterator"),jh="keys",Nh="values",Th="entries",Rh=function(){return this},Uh=function(e,t,n,r,A,o,i){yh(n,t,r);var a,s,c,l=function(e){if(e===A&&p)return p;if(!Sh&&e in d)return d[e];switch(e){case jh:case Nh:case Th:return function(){return new n(this,e)}}return function(){return new n(this)}},u=t+" Iterator",f=!1,d=e.prototype,h=d[Fh]||d["@@iterator"]||A&&d[A],p=!