You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2 lines
1.8 MiB

/*! For license information please see index.04e43cbac50332817385.bundle.js.LICENSE.txt */
var __webpack_modules__={56073:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(){o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new C(r||[]);return a(i,"_invoke",{value:j(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",y="suspendedYield",v="executing",g="completed",m={};function b(){}function w(){}function A(){}var x={};f(x,c,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(L([])));S&&S!==n&&i.call(S,c)&&(x=S);var O=A.prototype=b.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(o,a,u,c){var s=p(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==r(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function j(e,n,r){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=P(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?g:y,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function P(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=A,a(O,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},k(_.prototype),f(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(h(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(O),f(O,l,"Generator"),f(O,c,(function(){return this})),f(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function i(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function u(t){i(a,r,o,u,c,"next",t)}function c(t){i(a,r,o,u,c,"throw",t)}u(void 0)}))}}function u(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return c(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,f(r.key),r)}}function l(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}Object.defineProperty(e,"__esModule",{value:!0}),e.ResourceManager=void 0;var h,p=n(43430),d=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,"resLists",void 0),l(this,"cacheTree",{}),l(this,"addResourceToCacheTree",(function(t){var e,r=t.getOriginUri(),o=n.cacheTree[r]=null!==(e=n.cacheTree[r])&&void 0!==e?e:{resourceForFetch:t,relatedResources:[]};o.relatedResources.push(t),t.getOrderOfFetch()>o.resourceForFetch.getOrderOfFetch()&&(o.resourceForFetch=t)})),this.resLists=e}return e=t,n=[{key:"createCacheTree",value:function(){for(var t in this.resLists){var e,n=u(this.resLists[t]);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.addResourceToCacheTree(r)}}catch(t){n.e(t)}finally{n.f()}}}},{key:"cacheAllResources",value:(f=a(o().mark((function t(){var e,n,r,i,c,s,l,f,h=this;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n in this.createCacheTree(),e=[],this.cacheTree)r=this.cacheTree[n],i=r.resourceForFetch,c=r.relatedResources,s=function(t,e){return new Promise(function(){var n=a(o().mark((function n(r,i){var a,c,s,l,f,p;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return a=e.map((function(t){return t.key})),c=t.getUri(),s=t.getOriginUri(),n.prev=3,n.next=6,h.cacheResource({uri:c,originUri:s,resouceKeys:a});case 6:if((l=n.sent)!==s){n.next=10;break}return r(),n.abrupt("return");case 10:f=u(e);try{for(f.s();!(p=f.n()).done;)p.value.setCacheUri(l)}catch(t){f.e(t)}finally{f.f()}r(),n.next=18;break;case 15:n.prev=15,n.t0=n.catch(3),i("Can't load resource for [".concat(a.join(", "),"]"));case 18:case"end":return n.stop()}}),n,null,[[3,15]])})));return function(t,e){return n.apply(this,arguments)}}())}(i,c),e.push(s);return t.next=5,Promise.all(e);case 5:l=u(this.resLists);try{for(l.s();!(f=l.n()).done;)f.value.onCacheDone()}catch(t){l.e(t)}finally{l.f()}case 7:case"end":return t.stop()}}),t,this)}))),function(){return f.apply(this,arguments)})},{key:"cacheResource",value:(c=a(o().mark((function t(e){var n,r,i,a,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.uri,r=e.originUri,i=void 0===r?n:r,a=e.resouceKeys,u=void 0===a?["outerResource"]:a,t.next=3,this.createObjectUrlByUri(n,u);case 3:if(null!==(c=t.sent)||n===i){t.next=8;break}return t.next=7,this.createObjectUrlByUri(i,u);case 7:c=t.sent;case 8:if(null===c){t.next=10;break}return t.abrupt("return",c);case 10:return t.abrupt("return",new Promise((function(t,e){var n=new Image;n.onload=function(){return t(i)},n.onerror=function(){return e()},n.src=i})));case 11:case"end":return t.stop()}}),t,this)}))),function(t){return c.apply(this,arguments)})},{key:"createObjectUrlByUri",value:(i=a(o().mark((function t(e,n){var r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw"Resource uri for [".concat(n.join(", "),"] can't be empty string");case 2:return t.prev=2,t.next=5,(0,p.fetchLocalFile)(e);case 5:if(null==(r=t.sent)||!r.ok){t.next=14;break}return t.t0=URL,t.next=10,r.blob();case 10:return t.t1=t.sent,t.abrupt("return",t.t0.createObjectURL.call(t.t0,t.t1));case 14:throw"";case 15:t.next=21;break;case 17:return t.prev=17,t.t2=t.catch(2),console.warn("Error to fetch ".concat(e," for related images [").concat(n.join(", "),"]"),t.t2),t.abrupt("return",null);case 21:case"end":return t.stop()}}),t,null,[[2,17]])}))),function(t,e){return i.apply(this,arguments)})},{key:"revokeCache",value:function(){for(var t in this.cacheTree){var e=this.cacheTree[t],n=e.resourceForFetch,r=e.relatedResources;URL.revokeObjectURL(n.getCacheUri()),r.forEach((function(t){return t.unsetCacheUri()}))}this.cacheTree={}}}],r=[{key:"createInstance",value:function(e){null==h&&(h=new t(e))}},{key:"getInstance",value:function(){return null==h&&t.createInstance([]),h}}],n&&s(e.prototype,n),r&&s(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,r,i,c,f}();e.ResourceManager=d},69647:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.asyncQueue=void 0,e.asyncQueue=new Map},93829:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createNonce=void 0,e.createNonce=function(t){console.log("call createNonce",t),n.nc=t}},53041:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.getApplicationVersion=e.getApplicationBuildVersion=e.getSemverSdkVersion=e.getSdkVersion=e.isDev=e.iosMh=e.isAndroid=e.isWeb=e.isIos=void 0;var r=n(70411),o=n(83605),i=Boolean(window.Android&&window.Android.gameLoaded);e.isAndroid=i;var a=window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.gameLoaded;e.isIos=a;var u=!i&&!a;e.isWeb=u;var c={};e.iosMh=c,a&&(e.iosMh=c=window.webkit.messageHandlers),e.isDev=!1;var s=!1,l=!1,f=function(){try{var t=o.parse(r.gameLaunchConfig.clientConfig.sdkVersion);null!=t&&(s=r.gameLaunchConfig.clientConfig.sdkVersion,l=t)}catch(t){console.error(t)}};e.getSdkVersion=function(){return!1!==s&&!1!==l||f(),s},e.getSemverSdkVersion=function(){return!1!==s&&!1!==l||f(),l};var h=/.*Application\/(\d+)\s\([a-zA-Z.]+\s([0-9.]+)\)/;e.getApplicationBuildVersion=function(){var t=r.gameLaunchConfig.clientConfig.userAgent;if(t){var e=t.match(h);if(e&&e[1])return parseInt(e[1])}return null},e.getApplicationVersion=function(){var t=r.gameLaunchConfig.clientConfig.userAgent;if(t){var e=t.match(h);if(e&&e[2])return e[2]}return null}},16013:function(t,e){var n,r;Object.defineProperty(e,"__esModule",{value:!0}),e.ScreenOrientation=e.PlaceholderType=void 0,function(t){t.TEXT="text",t.IMAGE="image"}(n||(e.PlaceholderType=n={})),function(t){t.PORTRAIT="portrait",t.LANDSCAPE="landscape"}(r||(e.ScreenOrientation=r={}))},70411:function(t,e,n){var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getApiBaseUrl=e.getSessionId=e.getIsDemoMode=e.getGameInstanceId=e.setGameLaunchConfig=e.gameLaunchHandlers=e.gameLaunchConfig=void 0;var o=n(16013),i=n(53041),a=r(n(83605)),u=n(88786),c=n(87185);function s(){return e.gameLaunchConfig.clientConfig.sessionId}e.gameLaunchConfig={},e.gameLaunchHandlers={filterPlaceholders:function(t){return t}},e.setGameLaunchConfig=function(t){var n;for(var r in t)e.gameLaunchConfig[r]=t[r];!function(t){var n=!1;if(i.isAndroid){var r=(0,i.getSemverSdkVersion)();null!=r&&r&&a.default.lte(r,"1.16.2")&&(n=!0)}if(!t&&n&&s()){var o=(0,u.base64url_decode)(s());if(3===o.charCodeAt(0)){var c=21+4*o.charCodeAt(21)+1,l=o.charCodeAt(c);l>0&&e.gameLaunchConfig.clientConfig&&(e.gameLaunchConfig.clientConfig.userId=o.substring(c+1,c+1+l).replace(/\0+$/,""))}}}(null===(n=e.gameLaunchConfig)||void 0===n?void 0:n.clientConfig.userId),function(){var t,n;if(null!==(t=e.gameLaunchConfig)&&void 0!==t&&null!==(t=t.clientConfig)&&void 0!==t&&t.placeholders&&Array.isArray(null===(n=e.gameLaunchConfig)||void 0===n||null===(n=n.clientConfig)||void 0===n?void 0:n.placeholders)){for(var r=e.gameLaunchHandlers.filterPlaceholders(e.gameLaunchConfig.clientConfig.placeholders),i=function(){var t=r[a];t.type===o.PlaceholderType.IMAGE&&(t.originValue=String(t.value),Object.defineProperty(t,"value",{get:function(){return c.staticResourcesImagePlaceholders.getAssetByKey(t.name,"")}}))},a=0;a<r.length;++a)i();e.gameLaunchConfig.clientConfig.placeholders=r}}(),Object.freeze(e.gameLaunchConfig)},e.getGameInstanceId=function(){return e.gameLaunchConfig.gameInstanceId},e.getIsDemoMode=function(){return e.gameLaunchConfig.demoMode},e.getSessionId=s,e.getApiBaseUrl=function(){return e.gameLaunchConfig.clientConfig.apiBaseUrl}},87185:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e,n){return e=u(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,a()?Reflect.construct(e,n||[],u(t).constructor):e.apply(t,n))}function a(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(a=function(){return!!t})()}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,d(r.key),r)}}function h(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function p(t,e,n){return(e=d(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}Object.defineProperty(e,"__esModule",{value:!0}),e.staticResourcesImagePlaceholders=e.StaticResourcesImagePlaceholders=e.getProjectFontFamilyStylesheet=e.getDynamicResourceFont=e.dynamicResourceFonts=e.DynamicResourceFonts=e.SecondaryFontVariants=e.PrimaryFontVariants=e.getDynamicResourceAsset=e.dynamicResourceAssets=e.DynamicResourceAssets=e.DynamicResourceList=e.StaticResourceList=e.ResourceList=e.Resource=void 0;var y=n(70411),v=n(53041),g=n(16013),m=function(){return h((function t(e,n,r,o){l(this,t),p(this,"_key",void 0),p(this,"_uri",void 0),p(this,"_originUri",void 0),p(this,"_orderOfFetch",void 0),p(this,"_cacheUri",""),this._key=e,this._uri=n,this._originUri=r,this._orderOfFetch=o,this._cacheUri=this._uri}),[{key:"key",get:function(){return this._key}},{key:"setCacheUri",value:function(t){this._cacheUri=t}},{key:"getCacheUri",value:function(){return this._cacheUri}},{key:"unsetCacheUri",value:function(){this._cacheUri=this._uri}},{key:"getUri",value:function(){return this._uri}},{key:"getOriginUri",value:function(){return this._originUri}},{key:"getOrderOfFetch",value:function(){return 0}}])}();e.Resource=m;var b=function(){return h((function t(){l(this,t),p(this,"orderOfFetch",0),p(this,"_hashMap",null)}),[{key:"hashMap",get:function(){if(null===this._hashMap){var t,e=this.rawMapGetter();for(var n in this._hashMap={},e)t=e[n],this._hashMap[n]=new m(n,this.prepareSrc(t,n),t,this.orderOfFetch)}return this._hashMap}},{key:"getAssetByKey",value:function(t,e){var n,r=null!==(n=this.hashMap[t])&&void 0!==n?n:null;return null===r?e:r.getCacheUri()}},{key:"rawMapGetter",value:function(){return{}}},{key:"prepareSrc",value:function(t,e){return t}},{key:"onCacheDone",value:function(){}},{key:Symbol.iterator,value:function(){var t=0,e=Object.values(this.hashMap);return{next:function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0,value:null}}}}}])}();e.ResourceList=b;var w=function(t){function e(){var t;l(this,e);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return p(t=i(this,e,[].concat(r)),"orderOfFetch",1),t}return c(e,t),h(e)}(b);e.StaticResourceList=w;var A=function(t){function e(){var t;l(this,e);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return p(t=i(this,e,[].concat(r)),"orderOfFetch",2),t}return c(e,t),h(e,[{key:"prepareSrc",value:function(t,e){return v.isAndroid||v.isIos?"./resources_".concat(y.gameLaunchConfig.gameInstanceId,"/").concat(e):t}}])}(b);e.DynamicResourceList=A;var x,E,S=function(t){function e(){return l(this,e),i(this,e,arguments)}return c(e,t),h(e,[{key:"rawMapGetter",value:function(){var t,e;return null!==(t=null===(e=y.gameLaunchConfig)||void 0===e||null===(e=e.gameResources)||void 0===e?void 0:e.assets)&&void 0!==t?t:{}}}])}(A);e.DynamicResourceAssets=S,e.dynamicResourceAssets=new S,e.getDynamicResourceAsset=function(t,n){return e.dynamicResourceAssets.getAssetByKey(t,n)},function(t){t.NormalNormal="InternalPrimaryFontNormalNormal",t.BoldNormal="InternalPrimaryFontBoldNormal",t.NormalItalic="InternalPrimaryFontNormalItalic",t.BoldItalic="InternalPrimaryFontBoldItalic"}(x||(e.PrimaryFontVariants=x={})),function(t){t.NormalNormal="InternalSecondaryFontNormalNormal",t.BoldNormal="InternalSecondaryFontBoldNormal",t.NormalItalic="InternalSecondaryFontNormalItalic",t.BoldItalic="InternalSecondaryFontBoldItalic"}(E||(e.SecondaryFontVariants=E={}));var O=function(t){function e(){return l(this,e),i(this,e,arguments)}return c(e,t),h(e,[{key:"rawMapGetter",value:function(){var t,e;return null!==(t=null===(e=y.gameLaunchConfig)||void 0===e||null===(e=e.gameResources)||void 0===e?void 0:e.fonts)&&void 0!==t?t:{}}}])}(A);e.DynamicResourceFonts=O,e.dynamicResourceFonts=new O,e.getDynamicResourceFont=function(t){return e.dynamicResourceFonts.getAssetByKey(t,null)};var k=null;e.getProjectFontFamilyStylesheet=function(){if(null!=k)return k;var t="",n="",r="InternalPrimaryFont",o="InternalSecondaryFont",i=(0,e.getDynamicResourceFont)(x.NormalNormal);null!=i&&(t+="\n @font-face {\n font-family: ".concat(r,';\n src: url("').concat(i,'");\n font-weight: normal;\n font-style: normal;\n }\n '));var a=(0,e.getDynamicResourceFont)(x.BoldNormal);null!=a&&(t+="\n @font-face {\n font-family: ".concat(r,';\n src: url("').concat(a,'");\n font-weight: bold;\n font-style: normal;\n }\n '));var u=(0,e.getDynamicResourceFont)(x.NormalItalic);null!=u&&(t+="\n @font-face {\n font-family: ".concat(r,';\n src: url("').concat(u,'");\n font-weight: normal;\n font-style: italic;\n }\n '));var c=(0,e.getDynamicResourceFont)(x.BoldItalic);null!=c&&(t+="\n @font-face {\n font-family: ".concat(r,';\n src: url("').concat(c,'");\n font-weight: bold;\n font-style: italic;\n }\n '));var s=(0,e.getDynamicResourceFont)(E.NormalNormal);null!=s&&(n+="\n @font-face {\n font-family: ".concat(o,';\n src: url("').concat(s,'");\n font-weight: normal;\n font-style: normal;\n }\n '));var l=(0,e.getDynamicResourceFont)(E.BoldNormal);null!=l&&(n+="\n @font-face {\n font-family: ".concat(o,';\n src: url("').concat(l,'");\n font-weight: bold;\n font-style: normal;\n }\n '));var f=(0,e.getDynamicResourceFont)(E.NormalItalic);null!=f&&(n+="\n @font-face {\n font-family: ".concat(o,';\n src: url("').concat(f,'");\n font-weight: normal;\n font-style: italic;\n }\n '));var h=(0,e.getDynamicResourceFont)(E.BoldItalic);null!=h&&(n+="\n @font-face {\n font-family: ".concat(o,';\n src: url("').concat(h,'");\n font-weight: bold;\n font-style: italic;\n }\n '));var p='-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',d={fontsCss:t+n,primaryFontFamily:p,secondaryFontFamily:p};return t.length>0&&(d.primaryFontFamily="".concat(r,", ").concat(p)),n.length>0&&(d.secondaryFontFamily="".concat(o,", ").concat(p)),k=d};var _=function(t){function e(){return l(this,e),i(this,e,arguments)}return c(e,t),h(e,[{key:"rawMapGetter",value:function(){var t,e={},n=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 a,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw a}}}}(y.gameLaunchConfig.clientConfig.placeholders);try{for(n.s();!(t=n.n()).done;){var r,i=t.value;i.type===g.PlaceholderType.IMAGE&&(e[i.name]=null!==(r=i.originValue)&&void 0!==r?r:"")}}catch(t){n.e(t)}finally{n.f()}return e}}])}(w);e.StaticResourcesImagePlaceholders=_,e.staticResourcesImagePlaceholders=new _},88786:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.base64url_decode=void 0,e.base64url_decode=function(t){var e=(t=t.replace(new RegExp("-","g"),"+").replace(new RegExp("_","g"),"/")).length;return t=function(t,e){return void 0===e?t:e.length>=t.length?e:(e+t).substring(0,t.length)}(new Array(e%4).fill("=").join(""),t),window.atob(t)}},39790:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=void 0,e.isFunction=function(t){return!!(t&&t.constructor&&t.call&&t.apply)}},57001:function(t,e){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.isObject=void 0,e.isObject=function(t){return"object"===n(t)&&!Array.isArray(t)&&null!=t}},78393:function(t,e,n){function r(){r=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new C(r||[]);return a(i,"_invoke",{value:j(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",y="suspendedYield",v="executing",g="completed",m={};function b(){}function w(){}function A(){}var x={};f(x,c,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(L([])));S&&S!==n&&i.call(S,c)&&(x=S);var O=A.prototype=b.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(r,a,u,c){var s=p(t[r],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==o(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var r;a(this,"_invoke",{value:function(t,o){function i(){return new e((function(e,r){n(t,o,e,r)}))}return r=r?r.then(i,i):i()}})}function j(e,n,r){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=P(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?g:y,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function P(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(o(e)+" is not iterable")}return w.prototype=A,a(O,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},k(_.prototype),f(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(h(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(O),f(O,l,"Generator"),f(O,c,(function(){return this})),f(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return(e=function(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0}),e.sendIasApiRequest=void 0;var s=n(70411),l=n(41995);function f(){var t;return t=r().mark((function t(e){var n,o;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={status:0,payload:{},error:null,isOk:!1},t.prev=1,t.next=4,fetch((r=e.path,i=void 0,"".concat((i=s.gameLaunchConfig.clientConfig.apiBaseUrl,i.length>0&&"/"===i.substring(i.length-1)&&(i=i.substring(0,i.length-1)),i),"/v2/game/").concat(s.gameLaunchConfig.gameInstanceId,"/").concat(r)),{method:e.method,mode:"cors",cache:"no-cache",credentials:"omit",headers:(a=e.headers,void 0,u(u({},{"Content-Type":"application/json","Auth-Session-Id":s.gameLaunchConfig.clientConfig.sessionId,Authorization:"Bearer ".concat(s.gameLaunchConfig.clientConfig.apiKey),"X-Device-Id":s.gameLaunchConfig.clientConfig.deviceId,"X-User-Id":null!==(c=s.gameLaunchConfig.clientConfig.userId)&&void 0!==c?c:"","X-Request-Id":(0,l.v4)(),"X-User-Agent":s.gameLaunchConfig.clientConfig.userAgent,"X-App-Package-Id":s.gameLaunchConfig.clientConfig.appPackageId}),a)),redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify(e.data)});case 4:return o=t.sent,n.status=o.status,t.next=8,o.json();case 8:n.payload=t.sent,o.status>=200&&o.status<300&&(n.isOk=!0),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),n.error=t.t0;case 15:return t.abrupt("return",n);case 16:case"end":return t.stop()}var r,i,a,c}),t,null,[[1,12]])})),f=function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function u(t){i(a,r,o,u,c,"next",t)}function c(t){i(a,r,o,u,c,"throw",t)}u(void 0)}))},f.apply(this,arguments)}e.sendIasApiRequest=function(t){return f.apply(this,arguments)}},67346:function(t,e,n){e.Ay=e.Jx=e.W1=e.m0=e.aR=e._h=void 0;var r=n(53041);Object.defineProperty(e,"m0",{enumerable:!0,get:function(){return r.isAndroid}}),Object.defineProperty(e,"aR",{enumerable:!0,get:function(){return r.isIos}});var o=n(70411),i=n(87185);Object.defineProperty(e,"Jx",{enumerable:!0,get:function(){return i.StaticResourceList}});var a=n(78393),u=n(7573),c=n(73507);Object.defineProperty(e,"_h",{enumerable:!0,get:function(){return c.closeGameReader}});var s=n(17575),l=n(63314),f=n(5008),h=n(60400),p=n(16013);Object.defineProperty(e,"W1",{enumerable:!0,get:function(){return p.PlaceholderType}});var d=n(43430),y=n(29646),v=n(74694),g=n(11298),m=n(56073),b=n(21251),w=n(75589),A={createSdkApi:c.createSdkApi,closeGameReader:c.closeGameReader,gameLoadedSdkCallback:s.gameLoadedSdkCallback,gameLoadFailedSdkCallback:s.gameLoadFailedSdkCallback,gameLaunchConfig:o.gameLaunchConfig,isIos:r.isIos,isWeb:r.isWeb,isAndroid:r.isAndroid,isDev:r.isDev,getSdkVersion:r.getSdkVersion,getSemverSdkVersion:r.getSemverSdkVersion,gameLocalData:u.gameLocalData,sendIasApiRequest:a.sendIasApiRequest,openUrl:l.openUrl,shareText:f.shareText,shareUrl:f.shareUrl,shareFiles:f.shareFiles,vibrate:h.vibrate,getDynamicResourceAsset:i.getDynamicResourceAsset,getDynamicResourceFont:i.getDynamicResourceFont,getProjectFontFamilyStylesheet:i.getProjectFontFamilyStylesheet,getIsDemoMode:o.getIsDemoMode,getSessionId:o.getSessionId,getApiBaseUrl:o.getApiBaseUrl,ScreenOrientation:p.ScreenOrientation,PlaceholderType:p.PlaceholderType,fetchLocalFile:d.fetchLocalFile,openStory:y.openStory,ResourceManager:m.ResourceManager,dynamicResourceAssets:i.dynamicResourceAssets,dynamicResourceFonts:i.dynamicResourceFonts,staticResourcesImagePlaceholders:i.staticResourcesImagePlaceholders,StaticResourceList:i.StaticResourceList,eventGame:g.eventGame,reloadGameReader:c.reloadGameReader,openFilePicker:b.openFilePicker,FilePickerResultType:w.FilePickerResultType,isFilePickerResultFileList:w.isFilePickerResultFileList,isFilePickerResultLocalFileList:w.isFilePickerResultLocalFileList,isLocalFile:w.isLocalFile,hasFilePickerApi:b.hasFilePickerApi,gameShouldForegroundCallback:s.gameShouldForegroundCallback,gameOnForeground:s.gameOnForeground,getApplicationVersion:r.getApplicationVersion,getApplicationBuildVersion:r.getApplicationBuildVersion,openGameInstance:v.openGameInstance};e.Ay=A},7573:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(){o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new C(r||[]);return a(i,"_invoke",{value:j(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",y="suspendedYield",v="executing",g="completed",m={};function b(){}function w(){}function A(){}var x={};f(x,c,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(L([])));S&&S!==n&&i.call(S,c)&&(x=S);var O=A.prototype=b.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(o,a,u,c){var s=p(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==r(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function j(e,n,r){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=P(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?g:y,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function P(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=A,a(O,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},k(_.prototype),f(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(h(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(O),f(O,l,"Generator"),f(O,c,(function(){return this})),f(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function i(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function u(t){i(a,r,o,u,c,"next",t)}function c(t){i(a,r,o,u,c,"throw",t)}u(void 0)}))}}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}function c(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}function s(t,e,n,r){var o=l(d(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function l(){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=d(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},l.apply(null,arguments)}function f(t){var e="function"==typeof Map?new Map:void 0;return f=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(h())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&p(o,n.prototype),o}(t,arguments,d(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,t)},f(t)}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function p(t,e){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},p(t,e)}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.initLocalData=e.gameLocalData=e.LocalDataMap=void 0;var y=n(41995),v=n(53041),g=n(69647),m=n(70411),b=n(14217),w=(n(78393),function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,o=arguments,n=d(n=e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,h()?Reflect.construct(n,o||[],d(t).constructor):n.apply(t,o));var t,n,o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(e,t),n=e,(o=[{key:"set",value:function(t,n){return s(e,"set",this,3)([t,n]),A&&S(),this}},{key:"delete",value:function(t){var n=s(e,"delete",this,3)([t]);return n&&S(),n}},{key:"clear",value:function(){s(e,"clear",this,3)([]),S()}},{key:"init",value:function(t){var n=this;return t.forEach((function(t){return s(e,"set",n,3)([t[0],t[1]])})),this}}])&&u(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(f(Map)));e.LocalDataMap=w,e.gameLocalData=new w;var A=!1,x=function(){var t=a(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A&&console.warn("Duplicate call of initLocalData. Skipping"),t.t0=e.gameLocalData,t.t1=Object,t.next=5,E();case 5:t.t2=t.sent,t.t3=t.t1.entries.call(t.t1,t.t2),t.t0.init.call(t.t0,t.t3),A=!0;case 9:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e.initLocalData=x;var E=function(){var t=a(o().mark((function t(){var e,n,r,i,a,u;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,m.getGameInstanceId)(),!v.isDev){t.next=7;break}if(!e){t.next=6;break}if(!(n=localStorage.getItem("gameCenter_"+e+"_data"))){t.next=6;break}return t.abrupt("return",JSON.parse(n));case 6:case 16:case 24:return t.abrupt("return",{});case 7:if(console.log("call getGameInstanceLocalData with gameInstanceId: ".concat(e)),null!=e){t.next=11;break}return console.error("Call getGameInstanceLocalData with empty `gameInstanceId`"),t.abrupt("return",{});case 11:if(!v.isAndroid){t.next=19;break}if(!("gameInstanceGetLocalData"in window.Android)){t.next=16;break}if(!(r=window.Android.gameInstanceGetLocalData(e))){t.next=16;break}return t.abrupt("return",JSON.parse(r));case 19:if(!v.isIos){t.next=27;break}if(i=(0,y.v4)(),void 0===window.webkit.messageHandlers.gameInstanceGetLocalData){t.next=24;break}return window.webkit.messageHandlers.gameInstanceGetLocalData.postMessage(JSON.stringify({id:i,gameInstanceId:e,callback:"gameInstanceGetLocalDataCb"})),t.abrupt("return",new Promise((function(t,e){g.asyncQueue.set(i,(function(e){return t(e)}))})));case 27:if(!v.isWeb){t.next=33;break}return a=(0,y.v4)(),u=JSON.stringify({id:a,gameInstanceId:e,callback:"gameInstanceGetLocalDataCb"}),b.webSource.sourceWindow&&b.webSource.sourceWindowOrigin&&b.webSource.sourceWindow.postMessage(["gameInstanceGetLocalData",u],b.webSource.sourceWindowOrigin),setTimeout((function(){window.gameInstanceGetLocalDataCb(a,"{}")}),1e3),t.abrupt("return",new Promise((function(t,e){g.asyncQueue.set(a,(function(e){return t(e)}))})));case 33:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();window.gameInstanceGetLocalDataCb=function(t,e){var n={};try{n=JSON.parse(e)}catch(t){console.error(t,{inputData:e})}finally{g.asyncQueue.has(t)&&(g.asyncQueue.get(t)(n),g.asyncQueue.delete(t))}};var S=function(){var t=a(o().mark((function t(){var n,r,i,a,u=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=!(u.length>0&&void 0!==u[0])||u[0],r=Object.fromEntries(e.gameLocalData),null!=(i=(0,m.getGameInstanceId)())){t.next=7;break}return console.error("Call getGameInstanceLocalData with empty `gameInstanceId`"),t.abrupt("return");case 7:t.next=11;break;case 11:v.isAndroid?"gameInstanceSetLocalData"in window.Android&&window.Android.gameInstanceSetLocalData(i,JSON.stringify(r),n):v.isIos?void 0!==v.iosMh.gameInstanceSetLocalData&&v.iosMh.gameInstanceSetLocalData.postMessage(JSON.stringify({gameInstanceId:i,data:r,sendToServer:n})):v.isWeb&&(a=JSON.stringify({gameInstanceId:i,data:r,sendToServer:n}),b.webSource.sourceWindow&&b.webSource.sourceWindowOrigin&&b.webSource.sourceWindow.postMessage(["gameInstanceSetLocalData",a],b.webSource.sourceWindowOrigin));case 12:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},11298:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.eventGame=void 0;var r=n(53041),o=n(14217);e.eventGame=function(t){var e="eventGame";r.isAndroid?window.Android.event&&window.Android.event(e,JSON.stringify(t)):r.isIos?window.webkit.messageHandlers.event&&window.webkit.messageHandlers.event.postMessage(JSON.stringify({name:e,payload:t})):r.isWeb&&o.webSource.sourceWindow&&o.webSource.sourceWindowOrigin&&o.webSource.sourceWindow.postMessage(["event",e,t],o.webSource.sourceWindowOrigin)}},43430:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}Object.defineProperty(e,"__esModule",{value:!0}),e.fetchLocalFile=void 0;var a,u=n(53041),c=n(83605),s=function(){function t(){var e,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,r=void 0,(n=i(n="_link"))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,this._link=document.createElement("a")}return e=t,r=[{key:"getInstance",value:function(){return null==a&&(a=new t),a}}],(n=[{key:"resolve",value:function(t){return this._link.href=t,this._link.href}}])&&o(e.prototype,n),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,r}();e.fetchLocalFile=function(t,e){if(u.isAndroid){var n=(0,u.getSemverSdkVersion)(),r=!0,o=!0;return null!=n&&n&&(c.gte(n,"1.16.0")&&c.lte(n,"1.16.1")&&(o=!1),c.lt(n,"1.16.2")&&(r=!1)),r?function(t){return"/"!==t.substring(0,1)&&"./"!==t.substring(0,2)||(t=s.getInstance().resolve(t)),fetch(t.replace("file:///","http://file-assets/"))}(t):o?new Promise((function(e,n){var r=new XMLHttpRequest;r.onload=function(){try{e(new Response(r.response,{status:r.status>=200&&r.status<=599?r.status:200}))}catch(t){console.error(t),n(t)}},r.onerror=function(){n(new TypeError("Local request failed"))},r.open("GET",t),r.responseType="arraybuffer",r.send(null)})):(e+="&stamp="+(new Date).getTime())?fetch(e):Promise.resolve(void 0)}return fetch(t)}},75589:function(t,e){var n;Object.defineProperty(e,"__esModule",{value:!0}),e.isFilePickerResultLocalFileList=e.isFilePickerResultFileList=e.FilePickerResultType=e.isLocalFile=void 0,e.isLocalFile=function(t){return void 0!==t.getBlob},function(t){t[t.Unknown=0]="Unknown",t[t.FileList=1]="FileList",t[t.LocalFileList=2]="LocalFileList"}(n||(e.FilePickerResultType=n={})),e.isFilePickerResultFileList=function(t){return t.filePickerResultType===n.FileList},e.isFilePickerResultLocalFileList=function(t){return t.filePickerResultType===n.LocalFileList}},21251:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(){o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new C(r||[]);return a(i,"_invoke",{value:j(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",y="suspendedYield",v="executing",g="completed",m={};function b(){}function w(){}function A(){}var x={};f(x,c,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(L([])));S&&S!==n&&i.call(S,c)&&(x=S);var O=A.prototype=b.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(o,a,u,c){var s=p(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==r(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function j(e,n,r){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=P(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?g:y,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function P(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=A,a(O,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},k(_.prototype),f(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(h(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(O),f(O,l,"Generator"),f(O,c,(function(){return this})),f(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){u(i,r,o,a,c,"next",t)}function c(t){u(i,r,o,a,c,"throw",t)}a(void 0)}))}}function s(t,e,n){return(e=function(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0}),e.hasFilePickerApi=e.openFilePicker=void 0;var l=n(75589),f=n(41995),h=n(69647),p=n(53041),d=s(s({},"en",{dialog_button_not_now:"Not now",dialog_button_settings:"Settings",button_no_gallery_access:"Tap to allow access to your Gallery",dialog_storage_permission_warning:"You need storage access to load photos and videos. Tap Settings > Permissions and turn 'Files and media' on",dialog_photo_permissions_warning:"You need camera access to make photos. Tap Settings > Permissions and turn 'Camera' on",dialog_video_permissions_warning:"You need camera and microphone access to make videos. Tap Settings > Permissions and turn 'Camera' and 'Microphone' on",warns_file_picker_files_limit:"You can select up to 10 files",title_storage_permission_warning:"Allow access to your photos and videos",title_file_limit_warning:"Warning",title_image_max_size_limit:"Max size limit 30 MB",title_video_max_size_limit:"Max size limit 30 MB",title_video_max_duration_limit:"Max. video duration 30 seconds",title_media_format_unsupported:"Media format is not supported",title_camera_button:"Tap for photo, hold for video",ios_gallery_permission_warning_label:"You did not allow the app to access the entire gallery",ios_gallery_permission_warning_manage_button:"Manage",ios_gallery_permission_select_other_files_button:"Change the choice...",ios_gallery_permission_open_settings_button:"Open settings",ios_storage_permission_warning_label:"Allow access to your photos and videos",ios_storage_permission_warning_message:"This allows you to share photos and videos from your library. Go to settings and press «Photo».",ios_recording_permission_warning_label:"Allow access to your camera and microphone",ios_recording_permission_warning_message:"To continue working, access to the camera must be granted. Go to your settings and tap «Camera» and «Microphone».",ios_camera_limits_orientation:"To work with the camera, you need to turn the tablet to the vertical position",ios_camera_limits_multitasking:"To work with the camera, it is necessary to exit SplitView mode",ios_camera_limits_all:"To work with the camera, you need to turn the tablet to a vertical orientation and exit SplitView mode"}),"ru",{dialog_button_not_now:"Не сейчас",dialog_button_settings:"Настройки",button_no_gallery_access:"Нажмите, чтобы разрешить доступ к вашей галерее",dialog_storage_permission_warning:"Вам нужен доступ к хранилищу для загрузки фотографий и видео. Нажмите «Настройки» > «Разрешения» и включите «Файлы и мультимедиа».",dialog_photo_permissions_warning:"Вам нужен доступ к камере, чтобы делать фотографии. Нажмите «Настройки» > «Разрешения» и включите «Камеру».",dialog_video_permissions_warning:"Для создания видео вам потребуется доступ к камере и микрофону. Нажмите «Настройки» > «Разрешения» и включите «Камера» и «Микрофон».",warns_file_picker_files_limit:"Можно выбрать не более 10-ти файлов",title_storage_permission_warning:"Разрешить доступ к вашим фотографиям и видеозаписям",title_file_limit_warning:"Предупреждение",title_image_max_size_limit:"Макс. размер 30 МБ",title_video_max_size_limit:"Макс. размер 30 МБ",title_video_max_duration_limit:"Макс. длительность видео 30 секунд",title_media_format_unsupported:"Формат медиа не поддерживается",title_camera_button:"Нажмите для фото, удерживайте для видео",ios_gallery_permission_warning_label:"Вы не разрешили приложению доступ ко всей галерее",ios_gallery_permission_warning_manage_button:"Управлять",ios_gallery_permission_select_other_files_button:"Изменить выбор...",ios_gallery_permission_open_settings_button:"Открыть настройки",ios_storage_permission_warning_label:"Разрешить доступ к вашим фотографиям и видео",ios_storage_permission_warning_message:"Это позволяет делиться снимками и видео из вашей библиотеки. Зайдите в настройки и нажмите «Фото».",ios_recording_permission_warning_label:"Разрешить доступ к камере и микрофону",ios_recording_permission_warning_message:"Для продолжения работы необходимо получить доступ к камере. Зайдите в настройки и нажмите «Камера» и «Микрофон».",ios_camera_limits_orientation:"Для работы с камерой, необходимо повернуть планшет в вертикальное положение",ios_camera_limits_multitasking:"Для работы с камерой, необходимо выйти из режима SplitView",ios_camera_limits_all:"Для работы с камерой, необходимо повернуть планшет в вертикальное положение и выйти из режима SplitView"}),y={filePickerImageMaxSizeInBytes:31457280,filePickerVideoMaxSizeInBytes:31457280,filePickerVideoMaxLengthInSeconds:30,filePickerFilesLimit:10},v=function(t){return Object.keys(d).includes(t)},g=function(){var t=c(o().mark((function t(e){var n,r,i,u,s,g,b,w;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.accept,r=e.multiple,i=e.resultAsFiles,u=e.lang,s=(0,f.v4)(),g="en",v(u)&&(g=u),b=a(a({},y),{},{messages:d[g]}),w=new Promise((function(t,e){var n=function(e){var n=new Array;e.forEach((function(t){n.push(t())})),Promise.all(n).then((function(e){t({filePickerResultType:l.FilePickerResultType.FileList,files:e})}))};h.asyncQueue.set(s,m()?function(r){if(r&&Array.isArray(r)&&r.length>0){var a=new Array;r.forEach((function(t){var e,n,r=t.path,i=t.type,u=(null===(e=r.split("\\").pop())||void 0===e?void 0:e.split("/").pop())||"image";a.push({path:r,name:u,type:i,width:t.width,height:t.height,poster:t.poster,hasAudio:t.hasAudio,duration:t.duration,getBlob:(n=c(o().mark((function e(){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.fetchPath,e.next=3,fetch(n);case 3:return e.next=5,e.sent.blob();case 5:return r=e.sent,e.abrupt("return",new File([r],u,{type:r.type,lastModified:(new Date).getTime()}));case 7:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})})})),i?n(a.map((function(t){return t.getBlob}))):t({filePickerResultType:l.FilePickerResultType.LocalFileList,files:a})}else e("FilePicker dismiss")}:function(t){if(t&&Array.isArray(t)&&t.length>0){var r=new Array;t.forEach((function(t){r.push(c(o().mark((function e(){var n,r,i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return e.next=4,e.sent.blob();case 4:return r=e.sent,i=(null===(n=t.split("\\").pop())||void 0===n?void 0:n.split("/").pop())||"image",e.abrupt("return",new File([r],i,{type:r.type,lastModified:(new Date).getTime()}));case 7:case"end":return e.stop()}}),e)}))))})),n(r)}else e("FilePicker dismiss")})})),!p.isIos||void 0===p.iosMh.openFilePicker){t.next=11;break}return p.iosMh.openFilePicker.postMessage(JSON.stringify({id:s,accept:n,multiple:r,cb:"sdkCb",config:b})),t.abrupt("return",w);case 11:if(!p.isAndroid||void 0===window.Android.openFilePicker){t.next=16;break}return window.Android.openFilePicker(JSON.stringify({id:s,accept:n,multiple:r,cb:"sdkCb",config:b})),t.abrupt("return",w);case 16:throw new Error("Not implemented");case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();e.openFilePicker=g,e.hasFilePickerApi=function(){var t=!1;return p.isAndroid&&void 0!==window.Android.openFilePicker&&void 0!==window.Android.hasFilePicker&&(t=window.Android.hasFilePicker()),p.isIos&&void 0!==p.iosMh.openFilePicker&&(t=!0),t};var m=function(){var t=!1;return p.isIos&&(t=!0),t}},73507:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=this;function i(){i=function(){return e};var t,e={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new C(r||[]);return a(i,"_invoke",{value:j(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",y="suspendedYield",v="executing",g="completed",m={};function b(){}function w(){}function A(){}var x={};f(x,c,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(L([])));S&&S!==n&&o.call(S,c)&&(x=S);var O=A.prototype=b.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,a,u,c){var s=p(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==r(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var i;a(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,n,r){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=P(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?g:y,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function P(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(o.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return w.prototype=A,a(O,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},k(_.prototype),f(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(h(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(O),f(O,l,"Generator"),f(O,c,(function(){return this})),f(O,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function a(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function u(t){a(i,r,o,u,c,"next",t)}function c(t){a(i,r,o,u,c,"throw",t)}u(void 0)}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.reloadGameReader=e.closeGameReader=e.createSdkApi=void 0;var c,s=n(17575),l=n(7573),f=n(53041),h=n(14217),p=n(39790),d=n(57001),y=n(70411),v=n(69647);e.createSdkApi=function(t){var e=t.mounted,n=t.beforeUnmount,r=t.onSdkCloseGameReaderIntent,a=t.onPause,m=t.onResume,b=t.onBackGesture,w=t.onAudioFocusChange,A=t.filterPlaceholders,x=t.gameShouldForeground;if(c=n,y.gameLaunchHandlers.filterPlaceholders=null!=A?A:y.gameLaunchHandlers.filterPlaceholders,(0,s.createInitGame)(u(i().mark((function t(){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,l.initLocalData)());case 1:case"end":return t.stop()}}),t)}))),e),(0,s.createGameShouldForeground)(null!=x?x:function(){}),window.closeGameReader=function(){return r?r():g(),!0},window.pauseUI=function(){a&&a()},window.resumeUI=function(){m&&m()},window.gameReaderGestureBack=function(){return b&&b(),!0},window.handleAudioFocusChange=function(t){w&&w(t)},window.sdkCb=function(t){try{var e=JSON.parse(t),n=e.id,r=e.response;v.asyncQueue.has(n)&&(v.asyncQueue.get(n)(r),v.asyncQueue.delete(n))}catch(e){console.error(e,{inputData:t})}},f.isWeb){var E=function(t){h.webSource.sourceWindow=t.source,h.webSource.sourceWindowOrigin=t.origin,"null"!==t.origin&&null!=t.origin&&Boolean(t.origin)||(h.webSource.sourceWindowOrigin="*")};window.addEventListener("message",(function(t){var e=t.data;if(Array.isArray(e))switch(e[0]){case"initGame":E(t),(0,p.isFunction)(window.initGame)&&window.initGame(e[1]);break;case"gameShouldForeground":window.gameShouldForeground();break;case"closeGameReader":window.closeGameReader();break;case"shareComplete":if(e[1]){var n=e[1];window.share_complete(n.id,n.isSuccess)}break;case"cb":if(e[1]&&(0,d.isObject)(e[1])){var r=e[1];if("initGame"===r.cb&&E(t),r.cb&&r.plainData)window[r.cb](r.plainData);else if(r.cb&&r.arguments)try{var i=JSON.parse(r.arguments);Array.isArray(i)&&window[r.cb].apply(o,i)}catch(t){console.error(t)}}}}),!1)}};var g=function(t){c&&c();var e=null!=t?t:{},n=null!=(null==t?void 0:t.openUrl)?t.openUrl:null,r=null!=(null==t?void 0:t.openStory)?t.openStory:null,o=null!=(null==t?void 0:t.openGameInstance)?t.openGameInstance:null;if(null!=o&&null!=o.id&&(o.id=String(o.id)),f.isAndroid){var i=JSON.stringify({openUrl:n,openStory:r,openGameInstance:o});window.Android.gameComplete(JSON.stringify(t),JSON.stringify(e),i)}else f.isIos?window.webkit.messageHandlers.gameComplete.postMessage(JSON.stringify({data:t,result:e,openUrl:n,openStory:r,openGameInstance:o})):f.isWeb&&h.webSource.sourceWindow&&h.webSource.sourceWindowOrigin&&h.webSource.sourceWindow.postMessage(["gameComplete",t,e,null,r,o],h.webSource.sourceWindowOrigin)};e.closeGameReader=function(t){g(t)},e.reloadGameReader=function(){f.isAndroid?window.Android.reloadGameReader&&window.Android.reloadGameReader():f.isIos?window.webkit.messageHandlers.reloadGameReader&&window.webkit.messageHandlers.reloadGameReader.postMessage(""):f.isWeb&&h.webSource.sourceWindow&&h.webSource.sourceWindowOrigin&&h.webSource.sourceWindow.postMessage(["reloadGameReader"],h.webSource.sourceWindowOrigin)}},17575:function(__unused_webpack_module,exports,__webpack_require__){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==_typeof(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(_typeof(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function asyncGeneratorStep(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){asyncGeneratorStep(i,r,o,a,u,"next",t)}function u(t){asyncGeneratorStep(i,r,o,a,u,"throw",t)}a(void 0)}))}}function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(n),!0).forEach((function(e){_defineProperty(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _defineProperty(t,e,n){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(t,e){if("object"!=_typeof(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.gameOnForeground=exports.gameShouldForegroundCallback=exports.createGameShouldForeground=exports.gameLoadFailedSdkCallback=exports.gameLoadedSdkCallback=exports.createInitGame=void 0;var isObject_1=__webpack_require__(57001),gameLaunchConfig_1=__webpack_require__(70411),env_1=__webpack_require__(53041),Source_1=__webpack_require__(14217),createNonce_1=__webpack_require__(93829),semver=__webpack_require__(83605),_gameLoadingInfo={loadStarted:!1,loaded:!1,state:"before gameReader API creation",description:"",error:""};null!=window.gameLoadingInfo?window.gameLoadingInfo=_objectSpread(_objectSpread({},window.gameLoadingInfo),_gameLoadingInfo):window.gameLoadingInfo=_gameLoadingInfo;var gameReader=function(){var self=window.gameReader||{};if(self._e=self._e||[],self._e)for(var i=0;i<self._e.length;++i)setTimeout(function(t,e){return function(){try{window.gameLoadingInfo.state="before call gameReaderInit queue",window.gameLoadingInfo.description="index: "+e,t(),window.gameLoadingInfo.state="after call gameReaderInit queue",window.gameLoadingInfo.description="index: "+e}catch(t){window._sendErrorLog&&window._sendErrorLog({src:"gameReaderInit queue",message:t.message,stack:t.stack}),console.error(t)}}}(self._e[i],i));if(window.Android&&null!=window.sessionStorage)try{var _initQueue=JSON.parse(window.sessionStorage.getItem("_initQueue")||"[]");if(Array.isArray(_initQueue))for(var _i=0;_i<_initQueue.length;++_i)setTimeout(function(cb,i){return function(){try{window.gameLoadingInfo.state="before call gameReaderInit sessionStorage queue",window.gameLoadingInfo.description="index: "+i,eval(cb),window.gameLoadingInfo.state="after call gameReaderInit sessionStorage queue",window.gameLoadingInfo.description="index: "+i}catch(t){window._sendErrorLog&&window._sendErrorLog({src:"gameReaderInit sessionStorage queue",message:t.message,stack:t.stack}),console.error(t)}}}(_initQueue[_i],_i));window.sessionStorage.removeItem("_initQueue")}catch(t){console.error(t)}return self.ready=function(t){setTimeout((function(){try{window.gameLoadingInfo.state="before call gameReaderInit ready",window.gameLoadingInfo.description="",t(),window.gameLoadingInfo.state="after call gameReaderInit ready",window.gameLoadingInfo.description=""}catch(t){window._sendErrorLog&&window._sendErrorLog({src:"gameReaderInit ready",message:t.message,stack:t.stack}),console.error(t)}}))},self}();window.gameReader=gameReader;var createInitGame=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};window.initGame=function(){var n=_asyncToGenerator(_regeneratorRuntime().mark((function n(r){var o,i,a,u;return _regeneratorRuntime().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,window.gameLoadingInfo.loadStarted=!0,window.gameLoadingInfo.state="before call initGame",window.gameLoadingInfo.description=JSON.stringify(r),(0,isObject_1.isObject)(r)){n.next=7;break}return console.error("Invalid gameConfig"),n.abrupt("return");case 7:return(0,gameLaunchConfig_1.setGameLaunchConfig)(r),gameLaunchConfig_1.gameLaunchConfig.verbose&&(window.__config=r),null!==(o=gameLaunchConfig_1.gameLaunchConfig)&&void 0!==o&&null!==(o=o.clientConfig)&&void 0!==o&&o.nonce&&(0,createNonce_1.createNonce)(null===(a=gameLaunchConfig_1.gameLaunchConfig)||void 0===a||null===(a=a.clientConfig)||void 0===a?void 0:a.nonce),null!==(i=gameLaunchConfig_1.gameLaunchConfig)&&void 0!==i&&null!==(i=i.clientConfig)&&void 0!==i&&i.dir&&(window.document.documentElement.dir=null===(u=gameLaunchConfig_1.gameLaunchConfig)||void 0===u||null===(u=u.clientConfig)||void 0===u?void 0:u.dir),n.next=13,t();case 13:e(),window.gameLoadingInfo.state="after call initGame",window.gameLoadingInfo.description=JSON.stringify(r),n.next=22;break;case 18:n.prev=18,n.t0=n.catch(0),window._sendErrorLog&&window._sendErrorLog({src:"initGame",message:n.t0.message,stack:n.t0.stack}),console.error(n.t0);case 22:case"end":return n.stop()}}),n,null,[[0,18]])})));return function(t){return n.apply(this,arguments)}}()};exports.createInitGame=createInitGame;var gameLoadedSdkCallback=function(){isSdkSupportGameShouldForegroundCallback()?gameLoadedSdkCallbackInternal():window.gameShouldForeground()};exports.gameLoadedSdkCallback=gameLoadedSdkCallback;var gameLoadedSdkCallbackInternal=function(t){window.gameLoadingInfo.state="before call gameLoadedSdkCallback",window.gameLoadingInfo.description="";try{var e=null==t?void 0:t.showClose;null==e&&(e=!1);var n=null==t?void 0:t.backGesture;null==n&&(n=!0),env_1.isAndroid?void 0!==window.Android.gameLoaded&&(isSdkSupportGameShouldForegroundCallback()?window.Android.gameLoaded():window.Android.gameLoaded(JSON.stringify({showClose:e,backGesture:n}))):env_1.isIos?void 0!==env_1.iosMh.gameLoaded&&(isSdkSupportGameShouldForegroundCallback()?env_1.iosMh.gameLoaded.postMessage(""):env_1.iosMh.gameLoaded.postMessage(JSON.stringify({showClose:e,backGesture:!1}))):env_1.isWeb&&Source_1.webSource.sourceWindow&&Source_1.webSource.sourceWindowOrigin&&(isSdkSupportGameShouldForegroundCallback()?Source_1.webSource.sourceWindow.postMessage(["gameLoaded"],Source_1.webSource.sourceWindowOrigin):Source_1.webSource.sourceWindow.postMessage(["gameLoaded",JSON.stringify({showClose:e,backGesture:n})],Source_1.webSource.sourceWindowOrigin)),window.gameLoadingInfo.state="after call gameLoadedSdkCallback",window.gameLoadingInfo.description="",window.gameLoadingInfo.loaded=!0,isSdkSupportGameShouldForegroundCallback()||gameOnForegroundResolve()}catch(t){window._sendErrorLog&&window._sendErrorLog({src:"gameLoadedSdkCallback",message:t.message,stack:t.stack}),console.error(t)}},_gameLoadingInfoCreated={loadStarted:!1,loaded:!1,state:"gameReader API created",description:"",error:""};null!=window.gameLoadingInfo?window.gameLoadingInfo=_objectSpread(_objectSpread({},window.gameLoadingInfo),_gameLoadingInfoCreated):window.gameLoadingInfo=_gameLoadingInfoCreated;var gameLoadFailedSdkCallback=function(t,e){var n=!1;null!=window.gameLoadingInfo&&null!=window.gameLoadingInfo.loaded&&(n=window.gameLoadingInfo.loaded),n||(null!=window.gameLoadingInfo&&(window.gameLoadingInfo.state="before call gameLoadFailedSdkCallback",window.gameLoadingInfo.description=t),env_1.isAndroid?window.Android.gameLoadFailed&&window.Android.gameLoadFailed(t,e):env_1.isIos?env_1.iosMh.gameLoadFailed&&env_1.iosMh.gameLoadFailed.postMessage(JSON.stringify({reason:t,canTryReload:e})):env_1.isWeb&&null!=Source_1.webSource.sourceWindow&&null!=Source_1.webSource.sourceWindowOrigin&&Source_1.webSource.sourceWindow.postMessage(["gameLoadFailed",t,e],Source_1.webSource.sourceWindowOrigin),gameOnForegroundReject(t))};exports.gameLoadFailedSdkCallback=gameLoadFailedSdkCallback,window.gameLoadFailed=exports.gameLoadFailedSdkCallback;var createGameShouldForeground=function(t){window.gameShouldForeground=t};exports.createGameShouldForeground=createGameShouldForeground;var gameShouldForegroundCallback=function(t){isSdkSupportGameShouldForegroundCallback()?gameShouldForegroundCallbackInternal(t):gameLoadedSdkCallbackInternal(t)};exports.gameShouldForegroundCallback=gameShouldForegroundCallback;var gameShouldForegroundCallbackInternal=function(t){var e=null==t?void 0:t.showClose;null==e&&(e=!1);var n=null==t?void 0:t.backGesture;null==n&&(n=!0),env_1.isAndroid?window.Android.gameShouldForegroundCallback&&window.Android.gameShouldForegroundCallback(JSON.stringify({showClose:e,backGesture:n})):env_1.isIos?env_1.iosMh.gameShouldForegroundCallback&&env_1.iosMh.gameShouldForegroundCallback.postMessage(JSON.stringify({showClose:e,backGesture:!1})):env_1.isWeb&&Source_1.webSource.sourceWindow&&Source_1.webSource.sourceWindowOrigin&&Source_1.webSource.sourceWindow.postMessage(["gameShouldForegroundCallback",JSON.stringify({showClose:e,backGesture:n})],Source_1.webSource.sourceWindowOrigin),gameOnForegroundResolve()},isSdkSupportGameShouldForegroundCallback=function(){if(env_1.isAndroid)return"gameShouldForegroundCallback"in window.Android;if(env_1.isIos)return"gameShouldForegroundCallback"in env_1.iosMh;if(env_1.isWeb){var t=!1,e=(0,env_1.getSemverSdkVersion)();return null!=e&&e&&semver.gte(e,"2.12.0-rc.11")&&(t=!0),t}},gameOnForegroundResolve=function(){},gameOnForegroundReject=function(){};exports.gameOnForeground=new Promise((function(t,e){gameOnForegroundResolve=t,gameOnForegroundReject=e})),exports.gameOnForeground.catch((function(t){console.log("on gameOnForeground reject",t)}))},74694:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.openGameInstance=void 0;var r=n(73507);e.openGameInstance=function(t){(0,r.closeGameReader)({openGameInstance:t})}},29646:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.openStory=void 0;var r=n(73507);e.openStory=function(t){(0,r.closeGameReader)({openStory:t})}},63314:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.openUrl=void 0;var r=n(53041),o=n(14217),i=n(73507);e.openUrl=function(t){var e=t.url,n=t.closeGameReader;r.isAndroid?void 0!==window.Android.openUrl&&window.Android.openUrl(JSON.stringify({url:e})):r.isIos?void 0!==r.iosMh.openUrl&&r.iosMh.openUrl.postMessage(JSON.stringify({url:e})):r.isWeb&&o.webSource.sourceWindow&&o.webSource.sourceWindowOrigin&&o.webSource.sourceWindow.postMessage(["openUrl",JSON.stringify({url:e})],o.webSource.sourceWindowOrigin),n&&(0,i.closeGameReader)()}},5008:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.shareFiles=e.shareUrl=e.shareText=void 0;var r=n(41995),o=n(69647),i=n(53041),a=n(14217);e.shareText=function(t){return u({text:t})},e.shareUrl=function(t){return u({url:t})},e.shareFiles=function(t){return u({files:t})};var u=function(t){return new Promise((function(e,n){var u=(0,r.v4)();o.asyncQueue.set(u,(function(t){e(t)})),i.isAndroid?"share"in window.Android&&window.Android.share(u,JSON.stringify(t)):i.isIos?i.iosMh.share&&i.iosMh.share.postMessage&&i.iosMh.share.postMessage(JSON.stringify({id:u,config:t})):i.isWeb&&(t.files&&Array.isArray(t.files)&&t.files.length,a.webSource.sourceWindow&&a.webSource.sourceWindowOrigin&&a.webSource.sourceWindow.postMessage(["share",u,t],a.webSource.sourceWindowOrigin))}))};window.share_complete=function(t,e){try{o.asyncQueue.has(t)&&(o.asyncQueue.get(t)(e),o.asyncQueue.delete(t))}catch(n){console.error(n,{inputData:{requestId:t,isSuccess:e}})}}},60400:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.vibrate=void 0;var r=n(53041);e.vibrate=function(t,e){var n=["impactLight","impactMedium","impactHeavy","selection","notificationSuccess","notificationWarning","notificationError"],o=[];Array.isArray(t)?0===t.filter(Boolean).length||(o=t):null==t||0==t||o.push(t);var i=o.map((function(t){return parseInt(t)}));if(r.isIos)null!=e&&-1!==n.indexOf(e)||(e=n[0]),window.webkit.messageHandlers.haptic&&window.webkit.messageHandlers.haptic.postMessage&&window.webkit.messageHandlers.haptic.postMessage(JSON.stringify({pattern:o,fallbackStyle:e,enableVibrateFallback:!1}));else if(window.Android&&null!=window.Android.vibrate)try{window.Android.vibrate(i)}catch(t){console.error(t)}else try{navigator.vibrate(i)}catch(t){console.error(t)}}},14217:function(t,e){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function o(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t){var e=function(t){if("object"!=n(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==n(e)?e:e+""}Object.defineProperty(e,"__esModule",{value:!0}),e.webSource=void 0;var a=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o(this,"_sourceWindow",null),o(this,"_sourceWindowOrigin",null)},(e=[{key:"sourceWindowOrigin",get:function(){return null!=window.gameLoadingInfo&&null!=window.gameLoadingInfo.sourceWindowOrigin?window.gameLoadingInfo.sourceWindowOrigin:this._sourceWindowOrigin},set:function(t){this._sourceWindowOrigin=t}},{key:"sourceWindow",get:function(){return null!=window.gameLoadingInfo&&null!=window.gameLoadingInfo.sourceWindow?window.gameLoadingInfo.sourceWindow:this._sourceWindow},set:function(t){this._sourceWindow=t}}])&&r(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();e.webSource=new a},80515:function(t,e,n){var r,o,i,a;function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}a=function(t,e,n,r){var o=function(t,e,n){return{endTime:e,insertTime:n,type:"exponentialRampToValue",value:t}},i=function(t,e,n){return{endTime:e,insertTime:n,type:"linearRampToValue",value:t}},a=function(t,e){return{startTime:e,type:"setValue",value:t}},u=function(t,e,n){return{duration:n,startTime:e,type:"setValueCurve",values:t}},c=function(t,e,n){var r=n.startTime,o=n.target,i=n.timeConstant;return o+(e-o)*Math.exp((r-t)/i)},s=function(t){return"exponentialRampToValue"===t.type},l=function(t){return"linearRampToValue"===t.type},f=function(t){return s(t)||l(t)},h=function(t){return"setValue"===t.type},p=function(t){return"setValueCurve"===t.type},d=function(t,e,n,r){var o=t[e];return void 0===o?r:f(o)||h(o)?o.value:p(o)?o.values[o.values.length-1]:c(n,d(t,e-1,o.startTime,r),o)},y=function(t,e,n,r,o){return void 0===n?[r.insertTime,o]:f(n)?[n.endTime,n.value]:h(n)?[n.startTime,n.value]:p(n)?[n.startTime+n.duration,n.values[n.values.length-1]]:[n.startTime,d(t,e-1,n.startTime,o)]},v=function(t){return"cancelAndHold"===t.type},g=function(t){return"cancelScheduledValues"===t.type},m=function(t){return v(t)||g(t)?t.cancelTime:s(t)||l(t)?t.endTime:t.startTime},b=function(t,e,n,r){var o=r.endTime,i=r.value;return n===i?i:0<n&&0<i||n<0&&i<0?n*Math.pow(i/n,(t-e)/(o-e)):0},w=function(t,e,n,r){return n+(t-e)/(r.endTime-e)*(r.value-n)},A=function(t){return"setTarget"===t.type},x=function(){return r((function t(e){n(this,t),this._automationEvents=[],this._currenTime=0,this._defaultValue=e}),[{key:Symbol.iterator,value:function(){return this._automationEvents[Symbol.iterator]()}},{key:"add",value:function(t){var e=m(t);if(v(t)||g(t)){var n=this._automationEvents.findIndex((function(n){return g(t)&&p(n)?n.startTime+n.duration>=e:m(n)>=e})),r=this._automationEvents[n];if(-1!==n&&(this._automationEvents=this._automationEvents.slice(0,n)),v(t)){var c=this._automationEvents[this._automationEvents.length-1];if(void 0!==r&&f(r)){if(void 0!==c&&A(c))throw new Error("The internal list is malformed.");var h=void 0===c?r.insertTime:p(c)?c.startTime+c.duration:m(c),d=void 0===c?this._defaultValue:p(c)?c.values[c.values.length-1]:c.value,y=s(r)?b(e,h,d,r):w(e,h,d,r),x=s(r)?o(y,e,this._currenTime):i(y,e,this._currenTime);this._automationEvents.push(x)}if(void 0!==c&&A(c)&&this._automationEvents.push(a(this.getValue(e),e)),void 0!==c&&p(c)&&c.startTime+c.duration>e){var E=e-c.startTime,S=(c.values.length-1)/c.duration,O=Math.max(2,1+Math.ceil(E*S)),k=E/(O-1)*S,_=c.values.slice(0,O);if(k<1)for(var j=1;j<O;j+=1){var P=k*j%1;_[j]=c.values[j-1]*(1-P)+c.values[j]*P}this._automationEvents[this._automationEvents.length-1]=u(_,c.startTime,E)}}}else{var I=this._automationEvents.findIndex((function(t){return m(t)>e})),T=-1===I?this._automationEvents[this._automationEvents.length-1]:this._automationEvents[I-1];if(void 0!==T&&p(T)&&m(T)+T.duration>e)return!1;var C=s(t)?o(t.value,t.endTime,this._currenTime):l(t)?i(t.value,e,this._currenTime):t;if(-1===I)this._automationEvents.push(C);else{if(p(t)&&e+t.duration>m(this._automationEvents[I]))return!1;this._automationEvents.splice(I,0,C)}}return!0}},{key:"flush",value:function(t){var e=this._automationEvents.findIndex((function(e){return m(e)>t}));if(e>1){var n=this._automationEvents.slice(e-1),r=n[0];A(r)&&n.unshift(a(d(this._automationEvents,e-2,r.startTime,this._defaultValue),r.startTime)),this._automationEvents=n}}},{key:"getValue",value:function(t){if(0===this._automationEvents.length)return this._defaultValue;var n=this._automationEvents.findIndex((function(e){return m(e)>t})),r=this._automationEvents[n],o=(-1===n?this._automationEvents.length:n)-1,i=this._automationEvents[o];if(void 0!==i&&A(i)&&(void 0===r||!f(r)||r.insertTime>t))return c(t,d(this._automationEvents,o-1,i.startTime,this._defaultValue),i);if(void 0!==i&&h(i)&&(void 0===r||!f(r)))return i.value;if(void 0!==i&&p(i)&&(void 0===r||!f(r)||i.startTime+i.duration>t))return t<i.startTime+i.duration?function(t,e){var n=e.duration,r=e.startTime,o=e.values;return function(t,e){var n=Math.floor(e),r=Math.ceil(e);return n===r?t[n]:(1-(e-n))*t[n]+(1-(r-e))*t[r]}(o,(t-r)/n*(o.length-1))}(t,i):i.values[i.values.length-1];if(void 0!==i&&f(i)&&(void 0===r||!f(r)))return i.value;if(void 0!==r&&s(r)){var a=y(this._automationEvents,o,i,r,this._defaultValue),u=e(a,2),v=u[0],g=u[1];return b(t,v,g,r)}if(void 0!==r&&l(r)){var x=y(this._automationEvents,o,i,r,this._defaultValue),E=e(x,2),S=E[0],O=E[1];return w(t,S,O,r)}return this._defaultValue}}])}();t.AutomationEventList=x,t.createCancelAndHoldAutomationEvent=function(t){return{cancelTime:t,type:"cancelAndHold"}},t.createCancelScheduledValuesAutomationEvent=function(t){return{cancelTime:t,type:"cancelScheduledValues"}},t.createExponentialRampToValueAutomationEvent=function(t,e){return{endTime:e,type:"exponentialRampToValue",value:t}},t.createLinearRampToValueAutomationEvent=function(t,e){return{endTime:e,type:"linearRampToValue",value:t}},t.createSetTargetAutomationEvent=function(t,e,n){return{startTime:e,target:t,timeConstant:n,type:"setTarget"}},t.createSetValueAutomationEvent=a,t.createSetValueCurveAutomationEvent=u},"object"===u(e)?a(e,n(51661),n(99877),n(59477)):(o=[e,n(51661),n(99877),n(59477)],void 0===(i="function"==typeof(r=a)?r.apply(e,o):r)||(t.exports=i))},14018:function(t,e,n){var r=n(8204),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function c(t){return r.isMemo(t)?a:u[t.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=a;var s=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,d=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(d){var o=p(n);o&&o!==d&&t(e,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=c(e),y=c(n),v=0;v<a.length;++v){var g=a[v];if(!(i[g]||r&&r[g]||y&&y[g]||u&&u[g])){var m=h(n,g);try{s(e,g,m)}catch(t){}}}}return e}},72560:function(t,e){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,A=r?Symbol.for("react.scope"):60119;function x(t){if("object"===n(t)&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case f:case h:case a:case c:case u:case d:return t;default:switch(t=t&&t.$$typeof){case l:case p:case g:case v:case s:return t;default:return e}}case i:return e}}}function E(t){return x(t)===h}e.AsyncMode=f,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=s,e.Element=o,e.ForwardRef=p,e.Fragment=a,e.Lazy=g,e.Memo=v,e.Portal=i,e.Profiler=c,e.StrictMode=u,e.Suspense=d,e.isAsyncMode=function(t){return E(t)||x(t)===f},e.isConcurrentMode=E,e.isContextConsumer=function(t){return x(t)===l},e.isContextProvider=function(t){return x(t)===s},e.isElement=function(t){return"object"===n(t)&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return x(t)===p},e.isFragment=function(t){return x(t)===a},e.isLazy=function(t){return x(t)===g},e.isMemo=function(t){return x(t)===v},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===c},e.isStrictMode=function(t){return x(t)===u},e.isSuspense=function(t){return x(t)===d},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===h||t===c||t===u||t===d||t===y||"object"===n(t)&&null!==t&&(t.$$typeof===g||t.$$typeof===v||t.$$typeof===s||t.$$typeof===l||t.$$typeof===p||t.$$typeof===b||t.$$typeof===w||t.$$typeof===A||t.$$typeof===m)},e.typeOf=x},8204:function(t,e,n){t.exports=n(72560)},48964:function(t,e,n){var r;function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}!function(){var o=function(){this.init()};o.prototype={init:function(){var t=this||i;return t._counter=1e3,t._html5AudioPool=[],t.html5PoolSize=10,t._codecs={},t._howls=[],t._muted=!1,t._volume=1,t._canPlayEvent="canplaythrough",t._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,t.masterGain=null,t.noAudio=!1,t.usingWebAudio=!0,t.autoSuspend=!0,t.ctx=null,t.autoUnlock=!0,t._setup(),t},volume:function(t){var e=this||i;if(t=parseFloat(t),e.ctx||p(),void 0!==t&&t>=0&&t<=1){if(e._volume=t,e._muted)return e;e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t,i.ctx.currentTime);for(var n=0;n<e._howls.length;n++)if(!e._howls[n]._webAudio)for(var r=e._howls[n]._getSoundIds(),o=0;o<r.length;o++){var a=e._howls[n]._soundById(r[o]);a&&a._node&&(a._node.volume=a._volume*t)}return e}return e._volume},mute:function(t){var e=this||i;e.ctx||p(),e._muted=t,e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t?0:e._volume,i.ctx.currentTime);for(var n=0;n<e._howls.length;n++)if(!e._howls[n]._webAudio)for(var r=e._howls[n]._getSoundIds(),o=0;o<r.length;o++){var a=e._howls[n]._soundById(r[o]);a&&a._node&&(a._node.muted=!!t||a._muted)}return e},stop:function(){for(var t=this||i,e=0;e<t._howls.length;e++)t._howls[e].stop();return t},unload:function(){for(var t=this||i,e=t._howls.length-1;e>=0;e--)t._howls[e].unload();return t.usingWebAudio&&t.ctx&&void 0!==t.ctx.close&&(t.ctx.close(),t.ctx=null,p()),t},codecs:function(t){return(this||i)._codecs[t.replace(/^x-/,"")]},_setup:function(){var t=this||i;if(t.state=t.ctx&&t.ctx.state||"suspended",t._autoSuspend(),!t.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(t._canPlayEvent="canplay")}catch(e){t.noAudio=!0}else t.noAudio=!0;try{(new Audio).muted&&(t.noAudio=!0)}catch(t){}return t.noAudio||t._setupCodecs(),t},_setupCodecs:function(){var t=this||i,e=null;try{e="undefined"!=typeof Audio?new Audio:null}catch(e){return t}if(!e||"function"!=typeof e.canPlayType)return t;var n=e.canPlayType("audio/mpeg;").replace(/^no$/,""),r=t._navigator?t._navigator.userAgent:"",o=r.match(/OPR\/(\d+)/g),a=o&&parseInt(o[0].split("/")[1],10)<33,u=-1!==r.indexOf("Safari")&&-1===r.indexOf("Chrome"),c=r.match(/Version\/(.*?) /),s=u&&c&&parseInt(c[1],10)<15;return t._codecs={mp3:!(a||!n&&!e.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!n,opus:!!e.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(e.canPlayType('audio/wav; codecs="1"')||e.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!e.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!e.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(e.canPlayType("audio/x-m4b;")||e.canPlayType("audio/m4b;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(e.canPlayType("audio/x-mp4;")||e.canPlayType("audio/mp4;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(s||!e.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(s||!e.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!e.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(e.canPlayType("audio/x-flac;")||e.canPlayType("audio/flac;")).replace(/^no$/,"")},t},_unlockAudio:function(){var t=this||i;if(!t._audioUnlocked&&t.ctx){t._audioUnlocked=!1,t.autoUnlock=!1,t._mobileUnloaded||44100===t.ctx.sampleRate||(t._mobileUnloaded=!0,t.unload()),t._scratchBuffer=t.ctx.createBuffer(1,1,22050);var e=function(n){for(;t._html5AudioPool.length<t.html5PoolSize;)try{var r=new Audio;r._unlocked=!0,t._releaseHtml5Audio(r)}catch(n){t.noAudio=!0;break}for(var o=0;o<t._howls.length;o++)if(!t._howls[o]._webAudio)for(var i=t._howls[o]._getSoundIds(),a=0;a<i.length;a++){var u=t._howls[o]._soundById(i[a]);u&&u._node&&!u._node._unlocked&&(u._node._unlocked=!0,u._node.load())}t._autoResume();var c=t.ctx.createBufferSource();c.buffer=t._scratchBuffer,c.connect(t.ctx.destination),void 0===c.start?c.noteOn(0):c.start(0),"function"==typeof t.ctx.resume&&t.ctx.resume(),c.onended=function(){c.disconnect(0),t._audioUnlocked=!0,document.removeEventListener("touchstart",e,!0),document.removeEventListener("touchend",e,!0),document.removeEventListener("click",e,!0),document.removeEventListener("keydown",e,!0);for(var n=0;n<t._howls.length;n++)t._howls[n]._emit("unlock")}};return document.addEventListener("touchstart",e,!0),document.addEventListener("touchend",e,!0),document.addEventListener("click",e,!0),document.addEventListener("keydown",e,!0),t}},_obtainHtml5Audio:function(){var t=this||i;if(t._html5AudioPool.length)return t._html5AudioPool.pop();var e=(new Audio).play();return e&&"undefined"!=typeof Promise&&(e instanceof Promise||"function"==typeof e.then)&&e.catch((function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")})),new Audio},_releaseHtml5Audio:function(t){var e=this||i;return t._unlocked&&e._html5AudioPool.push(t),e},_autoSuspend:function(){var t=this;if(t.autoSuspend&&t.ctx&&void 0!==t.ctx.suspend&&i.usingWebAudio){for(var e=0;e<t._howls.length;e++)if(t._howls[e]._webAudio)for(var n=0;n<t._howls[e]._sounds.length;n++)if(!t._howls[e]._sounds[n]._paused)return t;return t._suspendTimer&&clearTimeout(t._suspendTimer),t._suspendTimer=setTimeout((function(){if(t.autoSuspend){t._suspendTimer=null,t.state="suspending";var e=function(){t.state="suspended",t._resumeAfterSuspend&&(delete t._resumeAfterSuspend,t._autoResume())};t.ctx.suspend().then(e,e)}}),3e4),t}},_autoResume:function(){var t=this;if(t.ctx&&void 0!==t.ctx.resume&&i.usingWebAudio)return"running"===t.state&&"interrupted"!==t.ctx.state&&t._suspendTimer?(clearTimeout(t._suspendTimer),t._suspendTimer=null):"suspended"===t.state||"running"===t.state&&"interrupted"===t.ctx.state?(t.ctx.resume().then((function(){t.state="running";for(var e=0;e<t._howls.length;e++)t._howls[e]._emit("resume")})),t._suspendTimer&&(clearTimeout(t._suspendTimer),t._suspendTimer=null)):"suspending"===t.state&&(t._resumeAfterSuspend=!0),t}};var i=new o,a=function(t){t.src&&0!==t.src.length?this.init(t):console.error("An array of source files must be passed with any new Howl.")};a.prototype={init:function(t){var e=this;return i.ctx||p(),e._autoplay=t.autoplay||!1,e._format="string"!=typeof t.format?t.format:[t.format],e._html5=t.html5||!1,e._muted=t.mute||!1,e._loop=t.loop||!1,e._pool=t.pool||5,e._preload="boolean"!=typeof t.preload&&"metadata"!==t.preload||t.preload,e._rate=t.rate||1,e._sprite=t.sprite||{},e._src="string"!=typeof t.src?t.src:[t.src],e._volume=void 0!==t.volume?t.volume:1,e._xhr={method:t.xhr&&t.xhr.method?t.xhr.method:"GET",headers:t.xhr&&t.xhr.headers?t.xhr.headers:null,withCredentials:!(!t.xhr||!t.xhr.withCredentials)&&t.xhr.withCredentials},e._duration=0,e._state="unloaded",e._sounds=[],e._endTimers={},e._queue=[],e._playLock=!1,e._onend=t.onend?[{fn:t.onend}]:[],e._onfade=t.onfade?[{fn:t.onfade}]:[],e._onload=t.onload?[{fn:t.onload}]:[],e._onloaderror=t.onloaderror?[{fn:t.onloaderror}]:[],e._onplayerror=t.onplayerror?[{fn:t.onplayerror}]:[],e._onpause=t.onpause?[{fn:t.onpause}]:[],e._onplay=t.onplay?[{fn:t.onplay}]:[],e._onstop=t.onstop?[{fn:t.onstop}]:[],e._onmute=t.onmute?[{fn:t.onmute}]:[],e._onvolume=t.onvolume?[{fn:t.onvolume}]:[],e._onrate=t.onrate?[{fn:t.onrate}]:[],e._onseek=t.onseek?[{fn:t.onseek}]:[],e._onunlock=t.onunlock?[{fn:t.onunlock}]:[],e._onresume=[],e._webAudio=i.usingWebAudio&&!e._html5,void 0!==i.ctx&&i.ctx&&i.autoUnlock&&i._unlockAudio(),i._howls.push(e),e._autoplay&&e._queue.push({event:"play",action:function(){e.play()}}),e._preload&&"none"!==e._preload&&e.load(),e},load:function(){var t=this,e=null;if(i.noAudio)t._emit("loaderror",null,"No audio support.");else{"string"==typeof t._src&&(t._src=[t._src]);for(var n=0;n<t._src.length;n++){var r,o;if(t._format&&t._format[n])r=t._format[n];else{if("string"!=typeof(o=t._src[n])){t._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(r=/^data:audio\/([^;,]+);/i.exec(o))||(r=/\.([^.]+)$/.exec(o.split("?",1)[0])),r&&(r=r[1].toLowerCase())}if(r||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),r&&i.codecs(r)){e=t._src[n];break}}if(e)return t._src=e,t._state="loading","https:"===window.location.protocol&&"http:"===e.slice(0,5)&&(t._html5=!0,t._webAudio=!1),new u(t),t._webAudio&&s(t),t;t._emit("loaderror",null,"No codec support for selected audio sources.")}},play:function(t,e){var n=this,r=null;if("number"==typeof t)r=t,t=null;else{if("string"==typeof t&&"loaded"===n._state&&!n._sprite[t])return null;if(void 0===t&&(t="__default",!n._playLock)){for(var o=0,a=0;a<n._sounds.length;a++)n._sounds[a]._paused&&!n._sounds[a]._ended&&(o++,r=n._sounds[a]._id);1===o?t=null:r=null}}var u=r?n._soundById(r):n._inactiveSound();if(!u)return null;if(r&&!t&&(t=u._sprite||"__default"),"loaded"!==n._state){u._sprite=t,u._ended=!1;var c=u._id;return n._queue.push({event:"play",action:function(){n.play(c)}}),c}if(r&&!u._paused)return e||n._loadQueue("play"),u._id;n._webAudio&&i._autoResume();var s=Math.max(0,u._seek>0?u._seek:n._sprite[t][0]/1e3),l=Math.max(0,(n._sprite[t][0]+n._sprite[t][1])/1e3-s),f=1e3*l/Math.abs(u._rate),h=n._sprite[t][0]/1e3,p=(n._sprite[t][0]+n._sprite[t][1])/1e3;u._sprite=t,u._ended=!1;var d=function(){u._paused=!1,u._seek=s,u._start=h,u._stop=p,u._loop=!(!u._loop&&!n._sprite[t][2])};if(!(s>=p)){var y=u._node;if(n._webAudio){var v=function(){n._playLock=!1,d(),n._refreshBuffer(u);var t=u._muted||n._muted?0:u._volume;y.gain.setValueAtTime(t,i.ctx.currentTime),u._playStart=i.ctx.currentTime,void 0===y.bufferSource.start?u._loop?y.bufferSource.noteGrainOn(0,s,86400):y.bufferSource.noteGrainOn(0,s,l):u._loop?y.bufferSource.start(0,s,86400):y.bufferSource.start(0,s,l),f!==1/0&&(n._endTimers[u._id]=setTimeout(n._ended.bind(n,u),f)),e||setTimeout((function(){n._emit("play",u._id),n._loadQueue()}),0)};"running"===i.state&&"interrupted"!==i.ctx.state?v():(n._playLock=!0,n.once("resume",v),n._clearTimer(u._id))}else{var g=function(){y.currentTime=s,y.muted=u._muted||n._muted||i._muted||y.muted,y.volume=u._volume*i.volume(),y.playbackRate=u._rate;try{var r=y.play();if(r&&"undefined"!=typeof Promise&&(r instanceof Promise||"function"==typeof r.then)?(n._playLock=!0,d(),r.then((function(){n._playLock=!1,y._unlocked=!0,e?n._loadQueue():n._emit("play",u._id)})).catch((function(){n._playLock=!1,n._emit("playerror",u._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),u._ended=!0,u._paused=!0}))):e||(n._playLock=!1,d(),n._emit("play",u._id)),y.playbackRate=u._rate,y.paused)return void n._emit("playerror",u._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==t||u._loop?n._endTimers[u._id]=setTimeout(n._ended.bind(n,u),f):(n._endTimers[u._id]=function(){n._ended(u),y.removeEventListener("ended",n._endTimers[u._id],!1)},y.addEventListener("ended",n._endTimers[u._id],!1))}catch(t){n._emit("playerror",u._id,t)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===y.src&&(y.src=n._src,y.load());var m=window&&window.ejecta||!y.readyState&&i._navigator.isCocoonJS;if(y.readyState>=3||m)g();else{n._playLock=!0,n._state="loading";var b=function(){n._state="loaded",g(),y.removeEventListener(i._canPlayEvent,b,!1)};y.addEventListener(i._canPlayEvent,b,!1),n._clearTimer(u._id)}}return u._id}n._ended(u)},pause:function(t){var e=this;if("loaded"!==e._state||e._playLock)return e._queue.push({event:"pause",action:function(){e.pause(t)}}),e;for(var n=e._getSoundIds(t),r=0;r<n.length;r++){e._clearTimer(n[r]);var o=e._soundById(n[r]);if(o&&!o._paused&&(o._seek=e.seek(n[r]),o._rateSeek=0,o._paused=!0,e._stopFade(n[r]),o._node))if(e._webAudio){if(!o._node.bufferSource)continue;void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),e._cleanBuffer(o._node)}else isNaN(o._node.duration)&&o._node.duration!==1/0||o._node.pause();arguments[1]||e._emit("pause",o?o._id:null)}return e},stop:function(t,e){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(t)}}),n;for(var r=n._getSoundIds(t),o=0;o<r.length;o++){n._clearTimer(r[o]);var i=n._soundById(r[o]);i&&(i._seek=i._start||0,i._rateSeek=0,i._paused=!0,i._ended=!0,n._stopFade(r[o]),i._node&&(n._webAudio?i._node.bufferSource&&(void 0===i._node.bufferSource.stop?i._node.bufferSource.noteOff(0):i._node.bufferSource.stop(0),n._cleanBuffer(i._node)):isNaN(i._node.duration)&&i._node.duration!==1/0||(i._node.currentTime=i._start||0,i._node.pause(),i._node.duration===1/0&&n._clearSound(i._node))),e||n._emit("stop",i._id))}return n},mute:function(t,e){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"mute",action:function(){n.mute(t,e)}}),n;if(void 0===e){if("boolean"!=typeof t)return n._muted;n._muted=t}for(var r=n._getSoundIds(e),o=0;o<r.length;o++){var a=n._soundById(r[o]);a&&(a._muted=t,a._interval&&n._stopFade(a._id),n._webAudio&&a._node?a._node.gain.setValueAtTime(t?0:a._volume,i.ctx.currentTime):a._node&&(a._node.muted=!!i._muted||t),n._emit("mute",a._id))}return n},volume:function(){var t,e,n,r=this,o=arguments;if(0===o.length)return r._volume;if(1===o.length||2===o.length&&void 0===o[1]?r._getSoundIds().indexOf(o[0])>=0?e=parseInt(o[0],10):t=parseFloat(o[0]):o.length>=2&&(t=parseFloat(o[0]),e=parseInt(o[1],10)),!(void 0!==t&&t>=0&&t<=1))return(n=e?r._soundById(e):r._sounds[0])?n._volume:0;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"volume",action:function(){r.volume.apply(r,o)}}),r;void 0===e&&(r._volume=t),e=r._getSoundIds(e);for(var a=0;a<e.length;a++)(n=r._soundById(e[a]))&&(n._volume=t,o[2]||r._stopFade(e[a]),r._webAudio&&n._node&&!n._muted?n._node.gain.setValueAtTime(t,i.ctx.currentTime):n._node&&!n._muted&&(n._node.volume=t*i.volume()),r._emit("volume",n._id));return r},fade:function(t,e,n,r){var o=this;if("loaded"!==o._state||o._playLock)return o._queue.push({event:"fade",action:function(){o.fade(t,e,n,r)}}),o;t=Math.min(Math.max(0,parseFloat(t)),1),e=Math.min(Math.max(0,parseFloat(e)),1),n=parseFloat(n),o.volume(t,r);for(var a=o._getSoundIds(r),u=0;u<a.length;u++){var c=o._soundById(a[u]);if(c){if(r||o._stopFade(a[u]),o._webAudio&&!c._muted){var s=i.ctx.currentTime,l=s+n/1e3;c._volume=t,c._node.gain.setValueAtTime(t,s),c._node.gain.linearRampToValueAtTime(e,l)}o._startFadeInterval(c,t,e,n,a[u],void 0===r)}}return o},_startFadeInterval:function(t,e,n,r,o,i){var a=this,u=e,c=n-e,s=Math.abs(c/.01),l=Math.max(4,s>0?r/s:r),f=Date.now();t._fadeTo=n,t._interval=setInterval((function(){var o=(Date.now()-f)/r;f=Date.now(),u+=c*o,u=Math.round(100*u)/100,u=c<0?Math.max(n,u):Math.min(n,u),a._webAudio?t._volume=u:a.volume(u,t._id,!0),i&&(a._volume=u),(n<e&&u<=n||n>e&&u>=n)&&(clearInterval(t._interval),t._interval=null,t._fadeTo=null,a.volume(n,t._id),a._emit("fade",t._id))}),l)},_stopFade:function(t){var e=this,n=e._soundById(t);return n&&n._interval&&(e._webAudio&&n._node.gain.cancelScheduledValues(i.ctx.currentTime),clearInterval(n._interval),n._interval=null,e.volume(n._fadeTo,t),n._fadeTo=null,e._emit("fade",t)),e},loop:function(){var t,e,n,r=this,o=arguments;if(0===o.length)return r._loop;if(1===o.length){if("boolean"!=typeof o[0])return!!(n=r._soundById(parseInt(o[0],10)))&&n._loop;t=o[0],r._loop=t}else 2===o.length&&(t=o[0],e=parseInt(o[1],10));for(var i=r._getSoundIds(e),a=0;a<i.length;a++)(n=r._soundById(i[a]))&&(n._loop=t,r._webAudio&&n._node&&n._node.bufferSource&&(n._node.bufferSource.loop=t,t&&(n._node.bufferSource.loopStart=n._start||0,n._node.bufferSource.loopEnd=n._stop,r.playing(i[a])&&(r.pause(i[a],!0),r.play(i[a],!0)))));return r},rate:function(){var t,e,n,r=this,o=arguments;if(0===o.length?e=r._sounds[0]._id:1===o.length?r._getSoundIds().indexOf(o[0])>=0?e=parseInt(o[0],10):t=parseFloat(o[0]):2===o.length&&(t=parseFloat(o[0]),e=parseInt(o[1],10)),"number"!=typeof t)return(n=r._soundById(e))?n._rate:r._rate;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"rate",action:function(){r.rate.apply(r,o)}}),r;void 0===e&&(r._rate=t),e=r._getSoundIds(e);for(var a=0;a<e.length;a++)if(n=r._soundById(e[a])){r.playing(e[a])&&(n._rateSeek=r.seek(e[a]),n._playStart=r._webAudio?i.ctx.currentTime:n._playStart),n._rate=t,r._webAudio&&n._node&&n._node.bufferSource?n._node.bufferSource.playbackRate.setValueAtTime(t,i.ctx.currentTime):n._node&&(n._node.playbackRate=t);var u=r.seek(e[a]),c=1e3*((r._sprite[n._sprite][0]+r._sprite[n._sprite][1])/1e3-u)/Math.abs(n._rate);!r._endTimers[e[a]]&&n._paused||(r._clearTimer(e[a]),r._endTimers[e[a]]=setTimeout(r._ended.bind(r,n),c)),r._emit("rate",n._id)}return r},seek:function(){var t,e,n=this,r=arguments;if(0===r.length?n._sounds.length&&(e=n._sounds[0]._id):1===r.length?n._getSoundIds().indexOf(r[0])>=0?e=parseInt(r[0],10):n._sounds.length&&(e=n._sounds[0]._id,t=parseFloat(r[0])):2===r.length&&(t=parseFloat(r[0]),e=parseInt(r[1],10)),void 0===e)return 0;if("number"==typeof t&&("loaded"!==n._state||n._playLock))return n._queue.push({event:"seek",action:function(){n.seek.apply(n,r)}}),n;var o=n._soundById(e);if(o){if(!("number"==typeof t&&t>=0)){if(n._webAudio){var a=n.playing(e)?i.ctx.currentTime-o._playStart:0,u=o._rateSeek?o._rateSeek-o._seek:0;return o._seek+(u+a*Math.abs(o._rate))}return o._node.currentTime}var c=n.playing(e);c&&n.pause(e,!0),o._seek=t,o._ended=!1,n._clearTimer(e),n._webAudio||!o._node||isNaN(o._node.duration)||(o._node.currentTime=t);var s=function(){c&&n.play(e,!0),n._emit("seek",e)};if(c&&!n._webAudio){var l=function(){n._playLock?setTimeout(l,0):s()};setTimeout(l,0)}else s()}return n},playing:function(t){var e=this;if("number"==typeof t){var n=e._soundById(t);return!!n&&!n._paused}for(var r=0;r<e._sounds.length;r++)if(!e._sounds[r]._paused)return!0;return!1},duration:function(t){var e=this,n=e._duration,r=e._soundById(t);return r&&(n=e._sprite[r._sprite][1]/1e3),n},state:function(){return this._state},unload:function(){for(var t=this,e=t._sounds,n=0;n<e.length;n++)e[n]._paused||t.stop(e[n]._id),t._webAudio||(t._clearSound(e[n]._node),e[n]._node.removeEventListener("error",e[n]._errorFn,!1),e[n]._node.removeEventListener(i._canPlayEvent,e[n]._loadFn,!1),e[n]._node.removeEventListener("ended",e[n]._endFn,!1),i._releaseHtml5Audio(e[n]._node)),delete e[n]._node,t._clearTimer(e[n]._id);var r=i._howls.indexOf(t);r>=0&&i._howls.splice(r,1);var o=!0;for(n=0;n<i._howls.length;n++)if(i._howls[n]._src===t._src||t._src.indexOf(i._howls[n]._src)>=0){o=!1;break}return c&&o&&delete c[t._src],i.noAudio=!1,t._state="unloaded",t._sounds=[],t=null,null},on:function(t,e,n,r){var o=this["_on"+t];return"function"==typeof e&&o.push(r?{id:n,fn:e,once:r}:{id:n,fn:e}),this},off:function(t,e,n){var r=this,o=r["_on"+t],i=0;if("number"==typeof e&&(n=e,e=null),e||n)for(i=0;i<o.length;i++){var a=n===o[i].id;if(e===o[i].fn&&a||!e&&a){o.splice(i,1);break}}else if(t)r["_on"+t]=[];else{var u=Object.keys(r);for(i=0;i<u.length;i++)0===u[i].indexOf("_on")&&Array.isArray(r[u[i]])&&(r[u[i]]=[])}return r},once:function(t,e,n){return this.on(t,e,n,1),this},_emit:function(t,e,n){for(var r=this,o=r["_on"+t],i=o.length-1;i>=0;i--)o[i].id&&o[i].id!==e&&"load"!==t||(setTimeout(function(t){t.call(this,e,n)}.bind(r,o[i].fn),0),o[i].once&&r.off(t,o[i].fn,o[i].id));return r._loadQueue(t),r},_loadQueue:function(t){var e=this;if(e._queue.length>0){var n=e._queue[0];n.event===t&&(e._queue.shift(),e._loadQueue()),t||n.action()}return e},_ended:function(t){var e=this,n=t._sprite;if(!e._webAudio&&t._node&&!t._node.paused&&!t._node.ended&&t._node.currentTime<t._stop)return setTimeout(e._ended.bind(e,t),100),e;var r=!(!t._loop&&!e._sprite[n][2]);if(e._emit("end",t._id),!e._webAudio&&r&&e.stop(t._id,!0).play(t._id),e._webAudio&&r){e._emit("play",t._id),t._seek=t._start||0,t._rateSeek=0,t._playStart=i.ctx.currentTime;var o=1e3*(t._stop-t._start)/Math.abs(t._rate);e._endTimers[t._id]=setTimeout(e._ended.bind(e,t),o)}return e._webAudio&&!r&&(t._paused=!0,t._ended=!0,t._seek=t._start||0,t._rateSeek=0,e._clearTimer(t._id),e._cleanBuffer(t._node),i._autoSuspend()),e._webAudio||r||e.stop(t._id,!0),e},_clearTimer:function(t){var e=this;if(e._endTimers[t]){if("function"!=typeof e._endTimers[t])clearTimeout(e._endTimers[t]);else{var n=e._soundById(t);n&&n._node&&n._node.removeEventListener("ended",e._endTimers[t],!1)}delete e._endTimers[t]}return e},_soundById:function(t){for(var e=this,n=0;n<e._sounds.length;n++)if(t===e._sounds[n]._id)return e._sounds[n];return null},_inactiveSound:function(){var t=this;t._drain();for(var e=0;e<t._sounds.length;e++)if(t._sounds[e]._ended)return t._sounds[e].reset();return new u(t)},_drain:function(){var t=this,e=t._pool,n=0,r=0;if(!(t._sounds.length<e)){for(r=0;r<t._sounds.length;r++)t._sounds[r]._ended&&n++;for(r=t._sounds.length-1;r>=0;r--){if(n<=e)return;t._sounds[r]._ended&&(t._webAudio&&t._sounds[r]._node&&t._sounds[r]._node.disconnect(0),t._sounds.splice(r,1),n--)}}},_getSoundIds:function(t){if(void 0===t){for(var e=[],n=0;n<this._sounds.length;n++)e.push(this._sounds[n]._id);return e}return[t]},_refreshBuffer:function(t){return t._node.bufferSource=i.ctx.createBufferSource(),t._node.bufferSource.buffer=c[this._src],t._panner?t._node.bufferSource.connect(t._panner):t._node.bufferSource.connect(t._node),t._node.bufferSource.loop=t._loop,t._loop&&(t._node.bufferSource.loopStart=t._start||0,t._node.bufferSource.loopEnd=t._stop||0),t._node.bufferSource.playbackRate.setValueAtTime(t._rate,i.ctx.currentTime),this},_cleanBuffer:function(t){var e=i._navigator&&i._navigator.vendor.indexOf("Apple")>=0;if(!t.bufferSource)return this;if(i._scratchBuffer&&t.bufferSource&&(t.bufferSource.onended=null,t.bufferSource.disconnect(0),e))try{t.bufferSource.buffer=i._scratchBuffer}catch(t){}return t.bufferSource=null,this},_clearSound:function(t){/MSIE |Trident\//.test(i._navigator&&i._navigator.userAgent)||(t.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var u=function(t){this._parent=t,this.init()};u.prototype={init:function(){var t=this,e=t._parent;return t._muted=e._muted,t._loop=e._loop,t._volume=e._volume,t._rate=e._rate,t._seek=0,t._paused=!0,t._ended=!0,t._sprite="__default",t._id=++i._counter,e._sounds.push(t),t.create(),t},create:function(){var t=this,e=t._parent,n=i._muted||t._muted||t._parent._muted?0:t._volume;return e._webAudio?(t._node=void 0===i.ctx.createGain?i.ctx.createGainNode():i.ctx.createGain(),t._node.gain.setValueAtTime(n,i.ctx.currentTime),t._node.paused=!0,t._node.connect(i.masterGain)):i.noAudio||(t._node=i._obtainHtml5Audio(),t._errorFn=t._errorListener.bind(t),t._node.addEventListener("error",t._errorFn,!1),t._loadFn=t._loadListener.bind(t),t._node.addEventListener(i._canPlayEvent,t._loadFn,!1),t._endFn=t._endListener.bind(t),t._node.addEventListener("ended",t._endFn,!1),t._node.src=e._src,t._node.preload=!0===e._preload?"auto":e._preload,t._node.volume=n*i.volume(),t._node.load()),t},reset:function(){var t=this,e=t._parent;return t._muted=e._muted,t._loop=e._loop,t._volume=e._volume,t._rate=e._rate,t._seek=0,t._rateSeek=0,t._paused=!0,t._ended=!0,t._sprite="__default",t._id=++i._counter,t},_errorListener:function(){var t=this;t._parent._emit("loaderror",t._id,t._node.error?t._node.error.code:0),t._node.removeEventListener("error",t._errorFn,!1)},_loadListener:function(){var t=this,e=t._parent;e._duration=Math.ceil(10*t._node.duration)/10,0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue()),t._node.removeEventListener(i._canPlayEvent,t._loadFn,!1)},_endListener:function(){var t=this,e=t._parent;e._duration===1/0&&(e._duration=Math.ceil(10*t._node.duration)/10,e._sprite.__default[1]===1/0&&(e._sprite.__default[1]=1e3*e._duration),e._ended(t)),t._node.removeEventListener("ended",t._endFn,!1)}};var c={},s=function(t){var e=t._src;if(c[e])return t._duration=c[e].duration,void h(t);if(/^data:[^;]+;base64,/.test(e)){for(var n=atob(e.split(",")[1]),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);f(r.buffer,t)}else{var i=new XMLHttpRequest;i.open(t._xhr.method,e,!0),i.withCredentials=t._xhr.withCredentials,i.responseType="arraybuffer",t._xhr.headers&&Object.keys(t._xhr.headers).forEach((function(e){i.setRequestHeader(e,t._xhr.headers[e])})),i.onload=function(){var e=(i.status+"")[0];"0"===e||"2"===e||"3"===e?f(i.response,t):t._emit("loaderror",null,"Failed loading audio file with status: "+i.status+".")},i.onerror=function(){t._webAudio&&(t._html5=!0,t._webAudio=!1,t._sounds=[],delete c[e],t.load())},l(i)}},l=function(t){try{t.send()}catch(e){t.onerror()}},f=function(t,e){var n=function(){e._emit("loaderror",null,"Decoding audio data failed.")},r=function(t){t&&e._sounds.length>0?(c[e._src]=t,h(e,t)):n()};"undefined"!=typeof Promise&&1===i.ctx.decodeAudioData.length?i.ctx.decodeAudioData(t).then(r).catch(n):i.ctx.decodeAudioData(t,r,n)},h=function(t,e){e&&!t._duration&&(t._duration=e.duration),0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue())},p=function(){if(i.usingWebAudio){try{"undefined"!=typeof AudioContext?i.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?i.ctx=new webkitAudioContext:i.usingWebAudio=!1}catch(t){i.usingWebAudio=!1}i.ctx||(i.usingWebAudio=!1);var t=/iP(hone|od|ad)/.test(i._navigator&&i._navigator.platform),e=i._navigator&&i._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=e?parseInt(e[1],10):null;if(t&&n&&n<9){var r=/safari/.test(i._navigator&&i._navigator.userAgent.toLowerCase());i._navigator&&!r&&(i.usingWebAudio=!1)}i.usingWebAudio&&(i.masterGain=void 0===i.ctx.createGain?i.ctx.createGainNode():i.ctx.createGain(),i.masterGain.gain.setValueAtTime(i._muted?0:i._volume,i.ctx.currentTime),i.masterGain.connect(i.ctx.destination)),i._setup()}};void 0===(r=function(){return{Howler:i,Howl:a}}.apply(e,[]))||(t.exports=r),e.Howler=i,e.Howl=a,void 0!==n.g?(n.g.HowlerGlobal=o,n.g.Howler=i,n.g.Howl=a,n.g.Sound=u):"undefined"!=typeof window&&(window.HowlerGlobal=o,window.Howler=i,window.Howl=a,window.Sound=u)}(),function(){var t;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(t){var e=this;if(!e.ctx||!e.ctx.listener)return e;for(var n=e._howls.length-1;n>=0;n--)e._howls[n].stereo(t);return e},HowlerGlobal.prototype.pos=function(t,e,n){var r=this;return r.ctx&&r.ctx.listener?(e="number"!=typeof e?r._pos[1]:e,n="number"!=typeof n?r._pos[2]:n,"number"!=typeof t?r._pos:(r._pos=[t,e,n],void 0!==r.ctx.listener.positionX?(r.ctx.listener.positionX.setTargetAtTime(r._pos[0],Howler.ctx.currentTime,.1),r.ctx.listener.positionY.setTargetAtTime(r._pos[1],Howler.ctx.currentTime,.1),r.ctx.listener.positionZ.setTargetAtTime(r._pos[2],Howler.ctx.currentTime,.1)):r.ctx.listener.setPosition(r._pos[0],r._pos[1],r._pos[2]),r)):r},HowlerGlobal.prototype.orientation=function(t,e,n,r,o,i){var a=this;if(!a.ctx||!a.ctx.listener)return a;var u=a._orientation;return e="number"!=typeof e?u[1]:e,n="number"!=typeof n?u[2]:n,r="number"!=typeof r?u[3]:r,o="number"!=typeof o?u[4]:o,i="number"!=typeof i?u[5]:i,"number"!=typeof t?u:(a._orientation=[t,e,n,r,o,i],void 0!==a.ctx.listener.forwardX?(a.ctx.listener.forwardX.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.forwardY.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),a.ctx.listener.upX.setTargetAtTime(r,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(o,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(i,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(t,e,n,r,o,i),a)},Howl.prototype.init=(t=Howl.prototype.init,function(e){var n=this;return n._orientation=e.orientation||[1,0,0],n._stereo=e.stereo||null,n._pos=e.pos||null,n._pannerAttr={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:360,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:360,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:0,distanceModel:void 0!==e.distanceModel?e.distanceModel:"inverse",maxDistance:void 0!==e.maxDistance?e.maxDistance:1e4,panningModel:void 0!==e.panningModel?e.panningModel:"HRTF",refDistance:void 0!==e.refDistance?e.refDistance:1,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:1},n._onstereo=e.onstereo?[{fn:e.onstereo}]:[],n._onpos=e.onpos?[{fn:e.onpos}]:[],n._onorientation=e.onorientation?[{fn:e.onorientation}]:[],t.call(this,e)}),Howl.prototype.stereo=function(t,n){var r=this;if(!r._webAudio)return r;if("loaded"!==r._state)return r._queue.push({event:"stereo",action:function(){r.stereo(t,n)}}),r;var o=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===n){if("number"!=typeof t)return r._stereo;r._stereo=t,r._pos=[t,0,0]}for(var i=r._getSoundIds(n),a=0;a<i.length;a++){var u=r._soundById(i[a]);if(u){if("number"!=typeof t)return u._stereo;u._stereo=t,u._pos=[t,0,0],u._node&&(u._pannerAttr.panningModel="equalpower",u._panner&&u._panner.pan||e(u,o),"spatial"===o?void 0!==u._panner.positionX?(u._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),u._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),u._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):u._panner.setPosition(t,0,0):u._panner.pan.setValueAtTime(t,Howler.ctx.currentTime)),r._emit("stereo",u._id)}}return r},Howl.prototype.pos=function(t,n,r,o){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"pos",action:function(){i.pos(t,n,r,o)}}),i;if(n="number"!=typeof n?0:n,r="number"!=typeof r?-.5:r,void 0===o){if("number"!=typeof t)return i._pos;i._pos=[t,n,r]}for(var a=i._getSoundIds(o),u=0;u<a.length;u++){var c=i._soundById(a[u]);if(c){if("number"!=typeof t)return c._pos;c._pos=[t,n,r],c._node&&(c._panner&&!c._panner.pan||e(c,"spatial"),void 0!==c._panner.positionX?(c._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),c._panner.positionY.setValueAtTime(n,Howler.ctx.currentTime),c._panner.positionZ.setValueAtTime(r,Howler.ctx.currentTime)):c._panner.setPosition(t,n,r)),i._emit("pos",c._id)}}return i},Howl.prototype.orientation=function(t,n,r,o){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"orientation",action:function(){i.orientation(t,n,r,o)}}),i;if(n="number"!=typeof n?i._orientation[1]:n,r="number"!=typeof r?i._orientation[2]:r,void 0===o){if("number"!=typeof t)return i._orientation;i._orientation=[t,n,r]}for(var a=i._getSoundIds(o),u=0;u<a.length;u++){var c=i._soundById(a[u]);if(c){if("number"!=typeof t)return c._orientation;c._orientation=[t,n,r],c._node&&(c._panner||(c._pos||(c._pos=i._pos||[0,0,-.5]),e(c,"spatial")),void 0!==c._panner.orientationX?(c._panner.orientationX.setValueAtTime(t,Howler.ctx.currentTime),c._panner.orientationY.setValueAtTime(n,Howler.ctx.currentTime),c._panner.orientationZ.setValueAtTime(r,Howler.ctx.currentTime)):c._panner.setOrientation(t,n,r)),i._emit("orientation",c._id)}}return i},Howl.prototype.pannerAttr=function(){var t,n,r,i=this,a=arguments;if(!i._webAudio)return i;if(0===a.length)return i._pannerAttr;if(1===a.length){if("object"!==o(a[0]))return(r=i._soundById(parseInt(a[0],10)))?r._pannerAttr:i._pannerAttr;t=a[0],void 0===n&&(t.pannerAttr||(t.pannerAttr={coneInnerAngle:t.coneInnerAngle,coneOuterAngle:t.coneOuterAngle,coneOuterGain:t.coneOuterGain,distanceModel:t.distanceModel,maxDistance:t.maxDistance,refDistance:t.refDistance,rolloffFactor:t.rolloffFactor,panningModel:t.panningModel}),i._pannerAttr={coneInnerAngle:void 0!==t.pannerAttr.coneInnerAngle?t.pannerAttr.coneInnerAngle:i._coneInnerAngle,coneOuterAngle:void 0!==t.pannerAttr.coneOuterAngle?t.pannerAttr.coneOuterAngle:i._coneOuterAngle,coneOuterGain:void 0!==t.pannerAttr.coneOuterGain?t.pannerAttr.coneOuterGain:i._coneOuterGain,distanceModel:void 0!==t.pannerAttr.distanceModel?t.pannerAttr.distanceModel:i._distanceModel,maxDistance:void 0!==t.pannerAttr.maxDistance?t.pannerAttr.maxDistance:i._maxDistance,refDistance:void 0!==t.pannerAttr.refDistance?t.pannerAttr.refDistance:i._refDistance,rolloffFactor:void 0!==t.pannerAttr.rolloffFactor?t.pannerAttr.rolloffFactor:i._rolloffFactor,panningModel:void 0!==t.pannerAttr.panningModel?t.pannerAttr.panningModel:i._panningModel})}else 2===a.length&&(t=a[0],n=parseInt(a[1],10));for(var u=i._getSoundIds(n),c=0;c<u.length;c++)if(r=i._soundById(u[c])){var s=r._pannerAttr;s={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:s.coneInnerAngle,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:s.coneOuterAngle,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:s.coneOuterGain,distanceModel:void 0!==t.distanceModel?t.distanceModel:s.distanceModel,maxDistance:void 0!==t.maxDistance?t.maxDistance:s.maxDistance,refDistance:void 0!==t.refDistance?t.refDistance:s.refDistance,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:s.rolloffFactor,panningModel:void 0!==t.panningModel?t.panningModel:s.panningModel};var l=r._panner;l||(r._pos||(r._pos=i._pos||[0,0,-.5]),e(r,"spatial"),l=r._panner),l.coneInnerAngle=s.coneInnerAngle,l.coneOuterAngle=s.coneOuterAngle,l.coneOuterGain=s.coneOuterGain,l.distanceModel=s.distanceModel,l.maxDistance=s.maxDistance,l.refDistance=s.refDistance,l.rolloffFactor=s.rolloffFactor,l.panningModel=s.panningModel}return i},Sound.prototype.init=function(t){return function(){var e=this,n=e._parent;e._orientation=n._orientation,e._stereo=n._stereo,e._pos=n._pos,e._pannerAttr=n._pannerAttr,t.call(this),e._stereo?n.stereo(e._stereo):e._pos&&n.pos(e._pos[0],e._pos[1],e._pos[2],e._id)}}(Sound.prototype.init),Sound.prototype.reset=function(t){return function(){var e=this,n=e._parent;return e._orientation=n._orientation,e._stereo=n._stereo,e._pos=n._pos,e._pannerAttr=n._pannerAttr,e._stereo?n.stereo(e._stereo):e._pos?n.pos(e._pos[0],e._pos[1],e._pos[2],e._id):e._panner&&(e._panner.disconnect(0),e._panner=void 0,n._refreshBuffer(e)),t.call(this)}}(Sound.prototype.reset);var e=function(t,e){"spatial"===(e=e||"spatial")?(t._panner=Howler.ctx.createPanner(),t._panner.coneInnerAngle=t._pannerAttr.coneInnerAngle,t._panner.coneOuterAngle=t._pannerAttr.coneOuterAngle,t._panner.coneOuterGain=t._pannerAttr.coneOuterGain,t._panner.distanceModel=t._pannerAttr.distanceModel,t._panner.maxDistance=t._pannerAttr.maxDistance,t._panner.refDistance=t._pannerAttr.refDistance,t._panner.rolloffFactor=t._pannerAttr.rolloffFactor,t._panner.panningModel=t._pannerAttr.panningModel,void 0!==t._panner.positionX?(t._panner.positionX.setValueAtTime(t._pos[0],Howler.ctx.currentTime),t._panner.positionY.setValueAtTime(t._pos[1],Howler.ctx.currentTime),t._panner.positionZ.setValueAtTime(t._pos[2],Howler.ctx.currentTime)):t._panner.setPosition(t._pos[0],t._pos[1],t._pos[2]),void 0!==t._panner.orientationX?(t._panner.orientationX.setValueAtTime(t._orientation[0],Howler.ctx.currentTime),t._panner.orientationY.setValueAtTime(t._orientation[1],Howler.ctx.currentTime),t._panner.orientationZ.setValueAtTime(t._orientation[2],Howler.ctx.currentTime)):t._panner.setOrientation(t._orientation[0],t._orientation[1],t._orientation[2])):(t._panner=Howler.ctx.createStereoPanner(),t._panner.pan.setValueAtTime(t._stereo,Howler.ctx.currentTime)),t._panner.connect(t._node),t._paused||t._parent.pause(t._id,!0).play(t._id,!0)}}()},19079:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(22732),i=n(68206);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var u=new Set,c={};function s(t,e){l(t,e),l(t+"Capture",e)}function l(t,e){for(c[t]=e,t=0;t<e.length;t++)u.add(e[t])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},y={};function v(t,e,n,r,o,i,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){g[t]=new v(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];g[e]=new v(e,1,!1,t[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){g[t]=new v(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){g[t]=new v(t,2,!1,t,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){g[t]=new v(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){g[t]=new v(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){g[t]=new v(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){g[t]=new v(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){g[t]=new v(t,5,!1,t.toLowerCase(),null,!1,!1)}));var m=/[\-:]([a-z])/g;function b(t){return t[1].toUpperCase()}function w(t,e,n,o){var i=g.hasOwnProperty(e)?g[e]:null;(null!==i?0!==i.type:o||!(2<e.length)||"o"!==e[0]&&"O"!==e[0]||"n"!==e[1]&&"N"!==e[1])&&(function(t,e,n,o){if(null==e||function(t,e,n,o){if(null!==n&&0===n.type)return!1;switch(r(e)){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,o))return!0;if(o)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,o)&&(n=null),o||null===i?function(t){return!!h.call(y,t)||!h.call(d,t)&&(p.test(t)?y[t]=!0:(d[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,o=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,o?t.setAttributeNS(o,e,n):t.setAttribute(e,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(m,b);g[e]=new v(e,1,!1,t,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(m,b);g[e]=new v(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(m,b);g[e]=new v(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){g[t]=new v(t,1,!1,t.toLowerCase(),null,!1,!1)})),g.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){g[t]=new v(t,1,!1,t.toLowerCase(),null,!0,!0)}));var A=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),E=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),j=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),L=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function B(t){return null===t||"object"!==r(t)?null:"function"==typeof(t=M&&t[M]||t["@@iterator"])?t:null}var F,N=Object.assign;function D(t){if(void 0===F)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);F=e&&e[1]||""}return"\n"+F+t}var U=!1;function G(t,e){if(!t||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"===("undefined"==typeof Reflect?"undefined":r(Reflect))&&Reflect.construct){try{Reflect.construct(e,[])}catch(t){var o=t}Reflect.construct(t,[],e)}else{try{e.call()}catch(t){o=t}t.call(e.prototype)}else{try{throw Error()}catch(t){o=t}t()}}catch(e){if(e&&o&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),a=o.stack.split("\n"),u=i.length-1,c=a.length-1;1<=u&&0<=c&&i[u]!==a[c];)c--;for(;1<=u&&0<=c;u--,c--)if(i[u]!==a[c]){if(1!==u||1!==c)do{if(u--,0>--c||i[u]!==a[c]){var s="\n"+i[u].replace(" at new "," at ");return t.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",t.displayName)),s}}while(1<=u&&0<=c);break}}}finally{U=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?D(t):""}function Q(t){switch(t.tag){case 5:return D(t.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return G(t.type,!1);case 11:return G(t.type.render,!1);case 1:return G(t.type,!0);default:return""}}function z(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case S:return"Fragment";case E:return"Portal";case k:return"Profiler";case O:return"StrictMode";case I:return"Suspense";case T:return"SuspenseList"}if("object"===r(t))switch(t.$$typeof){case j:return(t.displayName||"Context")+".Consumer";case _:return(t._context.displayName||"Context")+".Provider";case P:var e=t.render;return(t=t.displayName)||(t=""!==(t=e.displayName||e.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case C:return null!==(e=t.displayName||null)?e:z(t.type)||"Memo";case L:e=t._payload,t=t._init;try{return z(t(e))}catch(t){}}return null}function Y(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=(t=e.render).displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return z(e);case 8:return e===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e}return null}function H(t){switch(r(t)){case"boolean":case"number":case"string":case"undefined":case"object":return t;default:return""}}function V(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function $(t){t._valueTracker||(t._valueTracker=function(t){var e=V(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(t){r=""+t,i.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function W(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=V(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function q(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function J(t,e){var n=e.checked;return N({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function K(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=H(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function X(t,e){null!=(e=e.checked)&&w(t,"checked",e,!1)}function Z(t,e){X(t,e);var n=H(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?et(t,e.type,n):e.hasOwnProperty("defaultValue")&&et(t,e.type,H(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function tt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function et(t,e,n){"number"===e&&q(t.ownerDocument)===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var nt=Array.isArray;function rt(t,e,n,r){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&r&&(t[n].defaultSelected=!0)}else{for(n=""+H(n),e=null,o=0;o<t.length;o++){if(t[o].value===n)return t[o].selected=!0,void(r&&(t[o].defaultSelected=!0));null!==e||t[o].disabled||(e=t[o])}null!==e&&(e.selected=!0)}}function ot(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return N({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function it(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(a(92));if(nt(n)){if(1<n.length)throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:H(n)}}function at(t,e){var n=H(e.value),r=H(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function ut(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}function ct(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function st(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?ct(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var lt,ft,ht=(ft=function(t,e){if("http://www.w3.org/2000/svg"!==t.namespaceURI||"innerHTML"in t)t.innerHTML=e;else{for((lt=lt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=lt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction((function(){return ft(t,e)}))}:ft);function pt(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var dt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},yt=["Webkit","ms","Moz","O"];function vt(t,e,n){return null==e||"boolean"==typeof e||""===e?"":n||"number"!=typeof e||0===e||dt.hasOwnProperty(t)&&dt[t]?(""+e).trim():e+"px"}function gt(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=vt(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,o):t[n]=o}}Object.keys(dt).forEach((function(t){yt.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),dt[e]=dt[t]}))}));var mt=N({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bt(t,e){if(e){if(mt[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!==r(e.dangerouslySetInnerHTML)||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!==r(e.style))throw Error(a(62))}}function wt(t,e){if(-1===t.indexOf("-"))return"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var At=null;function xt(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Et=null,St=null,Ot=null;function kt(t){if(t=Ao(t)){if("function"!=typeof Et)throw Error(a(280));var e=t.stateNode;e&&(e=Eo(e),Et(t.stateNode,t.type,e))}}function _t(t){St?Ot?Ot.push(t):Ot=[t]:St=t}function jt(){if(St){var t=St,e=Ot;if(Ot=St=null,kt(t),e)for(t=0;t<e.length;t++)kt(e[t])}}function Pt(t,e){return t(e)}function It(){}var Tt=!1;function Ct(t,e,n){if(Tt)return t(e,n);Tt=!0;try{return Pt(t,e,n)}finally{Tt=!1,(null!==St||null!==Ot)&&(It(),jt())}}function Lt(t,e){var n=t.stateNode;if(null===n)return null;var o=Eo(n);if(null===o)return null;n=o[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!o;break t;default:t=!1}if(t)return null;if(n&&"function"!=typeof n)throw Error(a(231,e,r(n)));return n}var Rt=!1;if(f)try{var Mt={};Object.defineProperty(Mt,"passive",{get:function(){Rt=!0}}),window.addEventListener("test",Mt,Mt),window.removeEventListener("test",Mt,Mt)}catch(ft){Rt=!1}function Bt(t,e,n,r,o,i,a,u,c){var s=Array.prototype.slice.call(arguments,3);try{e.apply(n,s)}catch(t){this.onError(t)}}var Ft=!1,Nt=null,Dt=!1,Ut=null,Gt={onError:function(t){Ft=!0,Nt=t}};function Qt(t,e,n,r,o,i,a,u,c){Ft=!1,Nt=null,Bt.apply(Gt,arguments)}function zt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{!!(4098&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function Yt(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&null!==(t=t.alternate)&&(e=t.memoizedState),null!==e)return e.dehydrated}return null}function Ht(t){if(zt(t)!==t)throw Error(a(188))}function Vt(t){return null!==(t=function(t){var e=t.alternate;if(!e){if(null===(e=zt(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ht(o),t;if(i===r)return Ht(o),e;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,c=o.child;c;){if(c===n){u=!0,n=o,r=i;break}if(c===r){u=!0,r=o,n=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===n){u=!0,n=i,r=o;break}if(c===r){u=!0,r=i,n=o;break}c=c.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}(t))?$t(t):null}function $t(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var e=$t(t);if(null!==e)return e;t=t.sibling}return null}var Wt=i.unstable_scheduleCallback,qt=i.unstable_cancelCallback,Jt=i.unstable_shouldYield,Kt=i.unstable_requestPaint,Xt=i.unstable_now,Zt=i.unstable_getCurrentPriorityLevel,te=i.unstable_ImmediatePriority,ee=i.unstable_UserBlockingPriority,ne=i.unstable_NormalPriority,re=i.unstable_LowPriority,oe=i.unstable_IdlePriority,ie=null,ae=null,ue=Math.clz32?Math.clz32:function(t){return 0===(t>>>=0)?32:31-(ce(t)/se|0)|0},ce=Math.log,se=Math.LN2,le=64,fe=4194304;function he(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&t;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&t;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function pe(t,e){var n=t.pendingLanes;if(0===n)return 0;var r=0,o=t.suspendedLanes,i=t.pingedLanes,a=268435455&n;if(0!==a){var u=a&~o;0!==u?r=he(u):0!=(i&=a)&&(r=he(i))}else 0!=(a=n&~o)?r=he(a):0!==i&&(r=he(i));if(0===r)return 0;if(0!==e&&e!==r&&!(e&o)&&((o=r&-r)>=(i=e&-e)||16===o&&4194240&i))return e;if(4&r&&(r|=16&n),0!==(e=t.entangledLanes))for(t=t.entanglements,e&=r;0<e;)o=1<<(n=31-ue(e)),r|=t[n],e&=~o;return r}function de(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;default:return-1}}function ye(t){return 0!=(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function ve(){var t=le;return!(4194240&(le<<=1))&&(le=64),t}function ge(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function me(t,e,n){t.pendingLanes|=e,536870912!==e&&(t.suspendedLanes=0,t.pingedLanes=0),(t=t.eventTimes)[e=31-ue(e)]=n}function be(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-ue(n),o=1<<r;o&e|t[r]&e&&(t[r]|=e),n&=~o}}var we=0;function Ae(t){return 1<(t&=-t)?4<t?268435455&t?16:536870912:4:1}var xe,Ee,Se,Oe,ke,_e=!1,je=[],Pe=null,Ie=null,Te=null,Ce=new Map,Le=new Map,Re=[],Me="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Be(t,e){switch(t){case"focusin":case"focusout":Pe=null;break;case"dragenter":case"dragleave":Ie=null;break;case"mouseover":case"mouseout":Te=null;break;case"pointerover":case"pointerout":Ce.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Le.delete(e.pointerId)}}function Fe(t,e,n,r,o,i){return null===t||t.nativeEvent!==i?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==e&&null!==(e=Ao(e))&&Ee(e),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==o&&-1===e.indexOf(o)&&e.push(o),t)}function Ne(t){var e=wo(t.target);if(null!==e){var n=zt(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=Yt(n)))return t.blockedOn=e,void ke(t.priority,(function(){Se(n)}))}else if(3===e&&n.stateNode.current.memoizedState.isDehydrated)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function De(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=Je(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n)return null!==(e=Ao(n))&&Ee(e),t.blockedOn=n,!1;var r=new(n=t.nativeEvent).constructor(n.type,n);At=r,n.target.dispatchEvent(r),At=null,e.shift()}return!0}function Ue(t,e,n){De(t)&&n.delete(e)}function Ge(){_e=!1,null!==Pe&&De(Pe)&&(Pe=null),null!==Ie&&De(Ie)&&(Ie=null),null!==Te&&De(Te)&&(Te=null),Ce.forEach(Ue),Le.forEach(Ue)}function Qe(t,e){t.blockedOn===e&&(t.blockedOn=null,_e||(_e=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ge)))}function ze(t){function e(e){return Qe(e,t)}if(0<je.length){Qe(je[0],t);for(var n=1;n<je.length;n++){var r=je[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==Pe&&Qe(Pe,t),null!==Ie&&Qe(Ie,t),null!==Te&&Qe(Te,t),Ce.forEach(e),Le.forEach(e),n=0;n<Re.length;n++)(r=Re[n]).blockedOn===t&&(r.blockedOn=null);for(;0<Re.length&&null===(n=Re[0]).blockedOn;)Ne(n),null===n.blockedOn&&Re.shift()}var Ye=A.ReactCurrentBatchConfig,He=!0;function Ve(t,e,n,r){var o=we,i=Ye.transition;Ye.transition=null;try{we=1,We(t,e,n,r)}finally{we=o,Ye.transition=i}}function $e(t,e,n,r){var o=we,i=Ye.transition;Ye.transition=null;try{we=4,We(t,e,n,r)}finally{we=o,Ye.transition=i}}function We(t,e,n,r){if(He){var o=Je(t,e,n,r);if(null===o)Hr(t,e,r,qe,n),Be(t,r);else if(function(t,e,n,r,o){switch(e){case"focusin":return Pe=Fe(Pe,t,e,n,r,o),!0;case"dragenter":return Ie=Fe(Ie,t,e,n,r,o),!0;case"mouseover":return Te=Fe(Te,t,e,n,r,o),!0;case"pointerover":var i=o.pointerId;return Ce.set(i,Fe(Ce.get(i)||null,t,e,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Le.set(i,Fe(Le.get(i)||null,t,e,n,r,o)),!0}return!1}(o,t,e,n,r))r.stopPropagation();else if(Be(t,r),4&e&&-1<Me.indexOf(t)){for(;null!==o;){var i=Ao(o);if(null!==i&&xe(i),null===(i=Je(t,e,n,r))&&Hr(t,e,r,qe,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Hr(t,e,r,null,n)}}var qe=null;function Je(t,e,n,r){if(qe=null,null!==(t=wo(t=xt(r))))if(null===(e=zt(t)))t=null;else if(13===(n=e.tag)){if(null!==(t=Yt(e)))return t;t=null}else if(3===n){if(e.stateNode.current.memoizedState.isDehydrated)return 3===e.tag?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return qe=t,null}function Ke(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Zt()){case te:return 1;case ee:return 4;case ne:case re:return 16;case oe:return 536870912;default:return 16}default:return 16}}var Xe=null,Ze=null,tn=null;function en(){if(tn)return tn;var t,e,n=Ze,r=n.length,o="value"in Xe?Xe.value:Xe.textContent,i=o.length;for(t=0;t<r&&n[t]===o[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===o[i-e];e++);return tn=o.slice(t,1<e?1-e:void 0)}function nn(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function rn(){return!0}function on(){return!1}function an(t){function e(e,n,r,o,i){for(var a in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rn:on,this.isPropagationStopped=on,this}return N(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=rn)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){},isPersistent:rn}),e}var un,cn,sn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fn=an(ln),hn=N({},ln,{view:0,detail:0}),pn=an(hn),dn=N({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==sn&&(sn&&"mousemove"===t.type?(un=t.screenX-sn.screenX,cn=t.screenY-sn.screenY):cn=un=0,sn=t),un)},movementY:function(t){return"movementY"in t?t.movementY:cn}}),yn=an(dn),vn=an(N({},dn,{dataTransfer:0})),gn=an(N({},hn,{relatedTarget:0})),mn=an(N({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=N({},ln,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),wn=an(bn),An=an(N({},ln,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function On(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=Sn[t])&&!!e[t]}function kn(){return On}var _n=N({},hn,{key:function(t){if(t.key){var e=xn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=nn(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?En[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(t){return"keypress"===t.type?nn(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?nn(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),jn=an(_n),Pn=an(N({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),In=an(N({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),Tn=an(N({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Cn=N({},dn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Ln=an(Cn),Rn=[9,13,27,32],Mn=f&&"CompositionEvent"in window,Bn=null;f&&"documentMode"in document&&(Bn=document.documentMode);var Fn=f&&"TextEvent"in window&&!Bn,Nn=f&&(!Mn||Bn&&8<Bn&&11>=Bn),Dn=String.fromCharCode(32),Un=!1;function Gn(t,e){switch(t){case"keyup":return-1!==Rn.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qn(t){return"object"===r(t=t.detail)&&"data"in t?t.data:null}var zn=!1,Yn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Yn[t.type]:"textarea"===e}function Vn(t,e,n,r){_t(r),0<(e=$r(e,"onChange")).length&&(n=new fn("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var $n=null,Wn=null;function qn(t){Dr(t,0)}function Jn(t){if(W(xo(t)))return t}function Kn(t,e){if("change"===t)return e}var Xn=!1;if(f){var Zn;if(f){var tr="oninput"in document;if(!tr){var er=document.createElement("div");er.setAttribute("oninput","return;"),tr="function"==typeof er.oninput}Zn=tr}else Zn=!1;Xn=Zn&&(!document.documentMode||9<document.documentMode)}function nr(){$n&&($n.detachEvent("onpropertychange",rr),Wn=$n=null)}function rr(t){if("value"===t.propertyName&&Jn(Wn)){var e=[];Vn(e,Wn,t,xt(t)),Ct(qn,e)}}function or(t,e,n){"focusin"===t?(nr(),Wn=n,($n=e).attachEvent("onpropertychange",rr)):"focusout"===t&&nr()}function ir(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Jn(Wn)}function ar(t,e){if("click"===t)return Jn(e)}function ur(t,e){if("input"===t||"change"===t)return Jn(e)}var cr="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e};function sr(t,e){if(cr(t,e))return!0;if("object"!==r(t)||null===t||"object"!==r(e)||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var i=n[o];if(!h.call(e,i)||!cr(t[i],e[i]))return!1}return!0}function lr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function fr(t,e){var n,r=lr(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=lr(r)}}function hr(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?hr(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function pr(){for(var t=window,e=q();e instanceof t.HTMLIFrameElement;){try{var n="string"==typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;e=q((t=e.contentWindow).document)}return e}function dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}function yr(t){var e=pr(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&hr(n.ownerDocument.documentElement,n)){if(null!==r&&dr(n))if(e=r.start,void 0===(t=r.end)&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if((t=(e=n.ownerDocument||document)&&e.defaultView||window).getSelection){t=t.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!t.extend&&i>r&&(o=r,r=i,i=o),o=fr(n,i);var a=fr(n,r);o&&a&&(1!==t.rangeCount||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)&&((e=e.createRange()).setStart(o.node,o.offset),t.removeAllRanges(),i>r?(t.addRange(e),t.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),t.addRange(e)))}for(e=[],t=n;t=t.parentNode;)1===t.nodeType&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<e.length;n++)(t=e[n]).element.scrollLeft=t.left,t.element.scrollTop=t.top}}var vr=f&&"documentMode"in document&&11>=document.documentMode,gr=null,mr=null,br=null,wr=!1;function Ar(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;wr||null==gr||gr!==q(r)||(r="selectionStart"in(r=gr)&&dr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=$r(mr,"onSelect")).length&&(e=new fn("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=gr)))}function xr(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Er={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Or={};function kr(t){if(Sr[t])return Sr[t];if(!Er[t])return t;var e,n=Er[t];for(e in n)if(n.hasOwnProperty(e)&&e in Or)return Sr[t]=n[e];return t}f&&(Or=document.createElement("div").style,"AnimationEvent"in window||(delete Er.animationend.animation,delete Er.animationiteration.animation,delete Er.animationstart.animation),"TransitionEvent"in window||delete Er.transitionend.transition);var _r=kr("animationend"),jr=kr("animationiteration"),Pr=kr("animationstart"),Ir=kr("transitionend"),Tr=new Map,Cr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(t,e){Tr.set(t,e),s(e,[t])}for(var Rr=0;Rr<Cr.length;Rr++){var Mr=Cr[Rr];Lr(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Lr(_r,"onAnimationEnd"),Lr(jr,"onAnimationIteration"),Lr(Pr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(Ir,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Br="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Br));function Nr(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,function(t,e,n,r,o,i,u,c,s){if(Qt.apply(this,arguments),Ft){if(!Ft)throw Error(a(198));var l=Nt;Ft=!1,Nt=null,Dt||(Dt=!0,Ut=l)}}(r,e,void 0,t),t.currentTarget=null}function Dr(t,e){e=!!(4&e);for(var n=0;n<t.length;n++){var r=t[n],o=r.event;r=r.listeners;t:{var i=void 0;if(e)for(var a=r.length-1;0<=a;a--){var u=r[a],c=u.instance,s=u.currentTarget;if(u=u.listener,c!==i&&o.isPropagationStopped())break t;Nr(o,u,s),i=c}else for(a=0;a<r.length;a++){if(c=(u=r[a]).instance,s=u.currentTarget,u=u.listener,c!==i&&o.isPropagationStopped())break t;Nr(o,u,s),i=c}}}if(Dt)throw t=Ut,Dt=!1,Ut=null,t}function Ur(t,e){var n=e[go];void 0===n&&(n=e[go]=new Set);var r=t+"__bubble";n.has(r)||(Yr(e,t,2,!1),n.add(r))}function Gr(t,e,n){var r=0;e&&(r|=4),Yr(n,t,r,e)}var Qr="_reactListening"+Math.random().toString(36).slice(2);function zr(t){if(!t[Qr]){t[Qr]=!0,u.forEach((function(e){"selectionchange"!==e&&(Fr.has(e)||Gr(e,!1,t),Gr(e,!0,t))}));var e=9===t.nodeType?t:t.ownerDocument;null===e||e[Qr]||(e[Qr]=!0,Gr("selectionchange",!1,e))}}function Yr(t,e,n,r){switch(Ke(e)){case 1:var o=Ve;break;case 4:o=$e;break;default:o=We}n=o.bind(null,e,n,t),o=void 0,!Rt||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(o=!0),r?void 0!==o?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):void 0!==o?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function Hr(t,e,n,r,o){var i=r;if(!(1&e||2&e||null===r))t:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var u=r.stateNode.containerInfo;if(u===o||8===u.nodeType&&u.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var c=a.tag;if((3===c||4===c)&&((c=a.stateNode.containerInfo)===o||8===c.nodeType&&c.parentNode===o))return;a=a.return}for(;null!==u;){if(null===(a=wo(u)))return;if(5===(c=a.tag)||6===c){r=i=a;continue t}u=u.parentNode}}r=r.return}Ct((function(){var r=i,o=xt(n),a=[];t:{var u=Tr.get(t);if(void 0!==u){var c=fn,s=t;switch(t){case"keypress":if(0===nn(n))break t;case"keydown":case"keyup":c=jn;break;case"focusin":s="focus",c=gn;break;case"focusout":s="blur",c=gn;break;case"beforeblur":case"afterblur":c=gn;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=yn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=In;break;case _r:case jr:case Pr:c=mn;break;case Ir:c=Tn;break;case"scroll":c=pn;break;case"wheel":c=Ln;break;case"copy":case"cut":case"paste":c=wn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=Pn}var l=!!(4&e),f=!l&&"scroll"===t,h=l?null!==u?u+"Capture":null:u;l=[];for(var p,d=r;null!==d;){var y=(p=d).stateNode;if(5===p.tag&&null!==y&&(p=y,null!==h&&null!=(y=Lt(d,h))&&l.push(Vr(d,y,p))),f)break;d=d.return}0<l.length&&(u=new c(u,s,null,n,o),a.push({event:u,listeners:l}))}}if(!(7&e)){if(c="mouseout"===t||"pointerout"===t,(!(u="mouseover"===t||"pointerover"===t)||n===At||!(s=n.relatedTarget||n.fromElement)||!wo(s)&&!s[vo])&&(c||u)&&(u=o.window===o?o:(u=o.ownerDocument)?u.defaultView||u.parentWindow:window,c?(c=r,null!==(s=(s=n.relatedTarget||n.toElement)?wo(s):null)&&(s!==(f=zt(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(c=null,s=r),c!==s)){if(l=yn,y="onMouseLeave",h="onMouseEnter",d="mouse","pointerout"!==t&&"pointerover"!==t||(l=Pn,y="onPointerLeave",h="onPointerEnter",d="pointer"),f=null==c?u:xo(c),p=null==s?u:xo(s),(u=new l(y,d+"leave",c,n,o)).target=f,u.relatedTarget=p,y=null,wo(o)===r&&((l=new l(h,d+"enter",s,n,o)).target=p,l.relatedTarget=f,y=l),f=y,c&&s)t:{for(h=s,d=0,p=l=c;p;p=Wr(p))d++;for(p=0,y=h;y;y=Wr(y))p++;for(;0<d-p;)l=Wr(l),d--;for(;0<p-d;)h=Wr(h),p--;for(;d--;){if(l===h||null!==h&&l===h.alternate)break t;l=Wr(l),h=Wr(h)}l=null}else l=null;null!==c&&qr(a,u,c,l,!1),null!==s&&null!==f&&qr(a,f,s,l,!0)}if("select"===(c=(u=r?xo(r):window).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type)var v=Kn;else if(Hn(u))if(Xn)v=ur;else{v=ir;var g=or}else(c=u.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===u.type||"radio"===u.type)&&(v=ar);switch(v&&(v=v(t,r))?Vn(a,v,n,o):(g&&g(t,u,r),"focusout"===t&&(g=u._wrapperState)&&g.controlled&&"number"===u.type&&et(u,"number",u.value)),g=r?xo(r):window,t){case"focusin":(Hn(g)||"true"===g.contentEditable)&&(gr=g,mr=r,br=null);break;case"focusout":br=mr=gr=null;break;case"mousedown":wr=!0;break;case"contextmenu":case"mouseup":case"dragend":wr=!1,Ar(a,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":Ar(a,n,o)}var m;if(Mn)t:{switch(t){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else zn?Gn(t,n)&&(b="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(b="onCompositionStart");b&&(Nn&&"ko"!==n.locale&&(zn||"onCompositionStart"!==b?"onCompositionEnd"===b&&zn&&(m=en()):(Ze="value"in(Xe=o)?Xe.value:Xe.textContent,zn=!0)),0<(g=$r(r,b)).length&&(b=new An(b,t,null,n,o),a.push({event:b,listeners:g}),(m||null!==(m=Qn(n)))&&(b.data=m))),(m=Fn?function(t,e){switch(t){case"compositionend":return Qn(e);case"keypress":return 32!==e.which?null:(Un=!0,Dn);case"textInput":return(t=e.data)===Dn&&Un?null:t;default:return null}}(t,n):function(t,e){if(zn)return"compositionend"===t||!Mn&&Gn(t,e)?(t=en(),tn=Ze=Xe=null,zn=!1,t):null;switch(t){case"paste":default:return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Nn&&"ko"!==e.locale?null:e.data}}(t,n))&&0<(r=$r(r,"onBeforeInput")).length&&(o=new An("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=m)}Dr(a,e)}))}function Vr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function $r(t,e){for(var n=e+"Capture",r=[];null!==t;){var o=t,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Lt(t,n))&&r.unshift(Vr(t,i,o)),null!=(i=Lt(t,e))&&r.push(Vr(t,i,o))),t=t.return}return r}function Wr(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function qr(t,e,n,r,o){for(var i=e._reactName,a=[];null!==n&&n!==r;){var u=n,c=u.alternate,s=u.stateNode;if(null!==c&&c===r)break;5===u.tag&&null!==s&&(u=s,o?null!=(c=Lt(n,i))&&a.unshift(Vr(n,c,u)):o||null!=(c=Lt(n,i))&&a.push(Vr(n,c,u))),n=n.return}0!==a.length&&t.push({event:e,listeners:a})}var Jr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Xr(t){return("string"==typeof t?t:""+t).replace(Jr,"\n").replace(Kr,"")}function Zr(t,e,n){if(e=Xr(e),Xr(t)!==e&&n)throw Error(a(425))}function to(){}var eo=null,no=null;function ro(t,e){return"textarea"===t||"noscript"===t||"string"==typeof e.children||"number"==typeof e.children||"object"===r(e.dangerouslySetInnerHTML)&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var oo="function"==typeof setTimeout?setTimeout:void 0,io="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,uo="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(t){return ao.resolve(null).then(t).catch(co)}:oo;function co(t){setTimeout((function(){throw t}))}function so(t,e){var n=e,r=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return t.removeChild(o),void ze(e);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);ze(e)}function lo(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break;if(8===e){if("$"===(e=t.data)||"$!"===e||"$?"===e)break;if("/$"===e)return null}}return t}function fo(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var ho=Math.random().toString(36).slice(2),po="__reactFiber$"+ho,yo="__reactProps$"+ho,vo="__reactContainer$"+ho,go="__reactEvents$"+ho,mo="__reactListeners$"+ho,bo="__reactHandles$"+ho;function wo(t){var e=t[po];if(e)return e;for(var n=t.parentNode;n;){if(e=n[vo]||n[po]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=fo(t);null!==t;){if(n=t[po])return n;t=fo(t)}return e}n=(t=n).parentNode}return null}function Ao(t){return!(t=t[po]||t[vo])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function xo(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function Eo(t){return t[yo]||null}var So=[],Oo=-1;function ko(t){return{current:t}}function _o(t){0>Oo||(t.current=So[Oo],So[Oo]=null,Oo--)}function jo(t,e){Oo++,So[Oo]=t.current,t.current=e}var Po={},Io=ko(Po),To=ko(!1),Co=Po;function Lo(t,e){var n=t.type.contextTypes;if(!n)return Po;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=e[o];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Ro(t){return null!=t.childContextTypes}function Mo(){_o(To),_o(Io)}function Bo(t,e,n){if(Io.current!==Po)throw Error(a(168));jo(Io,e),jo(To,n)}function Fo(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,Y(t)||"Unknown",o));return N({},n,r)}function No(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Po,Co=Io.current,jo(Io,t),jo(To,To.current),!0}function Do(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Fo(t,e,Co),r.__reactInternalMemoizedMergedChildContext=t,_o(To),_o(Io),jo(Io,t)):_o(To),jo(To,n)}var Uo=null,Go=!1,Qo=!1;function zo(t){null===Uo?Uo=[t]:Uo.push(t)}function Yo(){if(!Qo&&null!==Uo){Qo=!0;var t=0,e=we;try{var n=Uo;for(we=1;t<n.length;t++){var r=n[t];do{r=r(!0)}while(null!==r)}Uo=null,Go=!1}catch(e){throw null!==Uo&&(Uo=Uo.slice(t+1)),Wt(te,Yo),e}finally{we=e,Qo=!1}}return null}var Ho=[],Vo=0,$o=null,Wo=0,qo=[],Jo=0,Ko=null,Xo=1,Zo="";function ti(t,e){Ho[Vo++]=Wo,Ho[Vo++]=$o,$o=t,Wo=e}function ei(t,e,n){qo[Jo++]=Xo,qo[Jo++]=Zo,qo[Jo++]=Ko,Ko=t;var r=Xo;t=Zo;var o=32-ue(r)-1;r&=~(1<<o),n+=1;var i=32-ue(e)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Xo=1<<32-ue(e)+o|n<<o|r,Zo=i+t}else Xo=1<<i|n<<o|r,Zo=t}function ni(t){null!==t.return&&(ti(t,1),ei(t,1,0))}function ri(t){for(;t===$o;)$o=Ho[--Vo],Ho[Vo]=null,Wo=Ho[--Vo],Ho[Vo]=null;for(;t===Ko;)Ko=qo[--Jo],qo[Jo]=null,Zo=qo[--Jo],qo[Jo]=null,Xo=qo[--Jo],qo[Jo]=null}var oi=null,ii=null,ai=!1,ui=null;function ci(t,e){var n=Ls(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,null===(e=t.deletions)?(t.deletions=[n],t.flags|=16):e.push(n)}function si(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,oi=t,ii=lo(e.firstChild),!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,oi=t,ii=null,!0);case 13:return null!==(e=8!==e.nodeType?null:e)&&(n=null!==Ko?{id:Xo,overflow:Zo}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},(n=Ls(18,null,null,0)).stateNode=e,n.return=t,t.child=n,oi=t,ii=null,!0);default:return!1}}function li(t){return!(!(1&t.mode)||128&t.flags)}function fi(t){if(ai){var e=ii;if(e){var n=e;if(!si(t,e)){if(li(t))throw Error(a(418));e=lo(n.nextSibling);var r=oi;e&&si(t,e)?ci(r,n):(t.flags=-4097&t.flags|2,ai=!1,oi=t)}}else{if(li(t))throw Error(a(418));t.flags=-4097&t.flags|2,ai=!1,oi=t}}}function hi(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;oi=t}function pi(t){if(t!==oi)return!1;if(!ai)return hi(t),ai=!0,!1;var e;if((e=3!==t.tag)&&!(e=5!==t.tag)&&(e="head"!==(e=t.type)&&"body"!==e&&!ro(t.type,t.memoizedProps)),e&&(e=ii)){if(li(t))throw di(),Error(a(418));for(;e;)ci(t,e),e=lo(e.nextSibling)}if(hi(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if("/$"===n){if(0===e){ii=lo(t.nextSibling);break t}e--}else"$"!==n&&"$!"!==n&&"$?"!==n||e++}t=t.nextSibling}ii=null}}else ii=oi?lo(t.stateNode.nextSibling):null;return!0}function di(){for(var t=ii;t;)t=lo(t.nextSibling)}function yi(){ii=oi=null,ai=!1}function vi(t){null===ui?ui=[t]:ui.push(t)}var gi=A.ReactCurrentBatchConfig;function mi(t,e){if(t&&t.defaultProps){for(var n in e=N({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}return e}var bi=ko(null),wi=null,Ai=null,xi=null;function Ei(){xi=Ai=wi=null}function Si(t){var e=bi.current;_o(bi),t._currentValue=e}function Oi(t,e,n){for(;null!==t;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,null!==r&&(r.childLanes|=e)):null!==r&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function ki(t,e){wi=t,xi=Ai=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(!!(t.lanes&e)&&(Au=!0),t.firstContext=null)}function _i(t){var e=t._currentValue;if(xi!==t)if(t={context:t,memoizedValue:e,next:null},null===Ai){if(null===wi)throw Error(a(308));Ai=t,wi.dependencies={lanes:0,firstContext:t}}else Ai=Ai.next=t;return e}var ji=null;function Pi(t){null===ji?ji=[t]:ji.push(t)}function Ii(t,e,n,r){var o=e.interleaved;return null===o?(n.next=n,Pi(e)):(n.next=o.next,o.next=n),e.interleaved=n,Ti(t,r)}function Ti(t,e){t.lanes|=e;var n=t.alternate;for(null!==n&&(n.lanes|=e),n=t,t=t.return;null!==t;)t.childLanes|=e,null!==(n=t.alternate)&&(n.childLanes|=e),n=t,t=t.return;return 3===n.tag?n.stateNode:null}var Ci=!1;function Li(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ri(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Mi(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Bi(t,e,n){var r=t.updateQueue;if(null===r)return null;if(r=r.shared,2&Ic){var o=r.pending;return null===o?e.next=e:(e.next=o.next,o.next=e),r.pending=e,Ti(t,n)}return null===(o=r.interleaved)?(e.next=e,Pi(r)):(e.next=o.next,o.next=e),r.interleaved=e,Ti(t,n)}function Fi(t,e,n){if(null!==(e=e.updateQueue)&&(e=e.shared,4194240&n)){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,be(t,n)}}function Ni(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=e:i=i.next=e}else o=i=e;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function Di(t,e,n,r){var o=t.updateQueue;Ci=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var c=u,s=c.next;c.next=null,null===a?i=s:a.next=s,a=c;var l=t.alternate;null!==l&&(u=(l=l.updateQueue).lastBaseUpdate)!==a&&(null===u?l.firstBaseUpdate=s:u.next=s,l.lastBaseUpdate=c)}if(null!==i){var f=o.baseState;for(a=0,l=s=c=null,u=i;;){var h=u.lane,p=u.eventTime;if((r&h)===h){null!==l&&(l=l.next={eventTime:p,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});t:{var d=t,y=u;switch(h=e,p=n,y.tag){case 1:if("function"==typeof(d=y.payload)){f=d.call(p,f,h);break t}f=d;break t;case 3:d.flags=-65537&d.flags|128;case 0:if(null==(h="function"==typeof(d=y.payload)?d.call(p,f,h):d))break t;f=N({},f,h);break t;case 2:Ci=!0}}null!==u.callback&&0!==u.lane&&(t.flags|=64,null===(h=o.effects)?o.effects=[u]:h.push(u))}else p={eventTime:p,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===l?(s=l=p,c=f):l=l.next=p,a|=h;if(null===(u=u.next)){if(null===(u=o.shared.pending))break;u=(h=u).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}if(null===l&&(c=f),o.baseState=c,o.firstBaseUpdate=s,o.lastBaseUpdate=l,null!==(e=o.shared.interleaved)){o=e;do{a|=o.lane,o=o.next}while(o!==e)}else null===i&&(o.shared.lanes=0);Nc|=a,t.lanes=a,t.memoizedState=f}}function Ui(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Gi=(new o.Component).refs;function Qi(t,e,n,r){n=null==(n=n(r,e=t.memoizedState))?e:N({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var zi={isMounted:function(t){return!!(t=t._reactInternals)&&zt(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=ns(),o=rs(t),i=Mi(r,o);i.payload=e,null!=n&&(i.callback=n),null!==(e=Bi(t,i,o))&&(os(e,t,o,r),Fi(e,t,o))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=ns(),o=rs(t),i=Mi(r,o);i.tag=1,i.payload=e,null!=n&&(i.callback=n),null!==(e=Bi(t,i,o))&&(os(e,t,o,r),Fi(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=ns(),r=rs(t),o=Mi(n,r);o.tag=2,null!=e&&(o.callback=e),null!==(e=Bi(t,o,r))&&(os(e,t,r,n),Fi(e,t,r))}};function Yi(t,e,n,r,o,i,a){return"function"==typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,i,a):!(e.prototype&&e.prototype.isPureReactComponent&&sr(n,r)&&sr(o,i))}function Hi(t,e,n){var o=!1,i=Po,a=e.contextType;return"object"===r(a)&&null!==a?a=_i(a):(i=Ro(e)?Co:Io.current,a=(o=null!=(o=e.contextTypes))?Lo(t,i):Po),e=new e(n,a),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=zi,t.stateNode=e,e._reactInternals=t,o&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=a),e}function Vi(t,e,n,r){t=e.state,"function"==typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"==typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&zi.enqueueReplaceState(e,e.state,null)}function $i(t,e,n,o){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=Gi,Li(t);var a=e.contextType;"object"===r(a)&&null!==a?i.context=_i(a):(a=Ro(e)?Co:Io.current,i.context=Lo(t,a)),i.state=t.memoizedState,"function"==typeof(a=e.getDerivedStateFromProps)&&(Qi(t,e,a,n),i.state=t.memoizedState),"function"==typeof e.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(e=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&zi.enqueueReplaceState(i,i.state,null),Di(t,n,i,o),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308)}function Wi(t,e,n){if(null!==(t=n.ref)&&"function"!=typeof t&&"object"!==r(t)){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var o=n.stateNode}if(!o)throw Error(a(147,t));var i=o,u=""+t;return null!==e&&null!==e.ref&&"function"==typeof e.ref&&e.ref._stringRef===u?e.ref:(e=function(t){var e=i.refs;e===Gi&&(e=i.refs={}),null===t?delete e[u]:e[u]=t},e._stringRef=u,e)}if("string"!=typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function qi(t,e){throw t=Object.prototype.toString.call(e),Error(a(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function Ji(t){return(0,t._init)(t._payload)}function Ki(t){function e(e,n){if(t){var r=e.deletions;null===r?(e.deletions=[n],e.flags|=16):r.push(n)}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function o(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Ms(t,e)).index=0,t.sibling=null,t}function u(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags|=2,n):r:(e.flags|=2,n):(e.flags|=1048576,n)}function c(e){return t&&null===e.alternate&&(e.flags|=2),e}function s(t,e,n,r){return null===e||6!==e.tag?((e=Ds(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function l(t,e,n,o){var a=n.type;return a===S?h(t,e,n.props.children,o,n.key):null!==e&&(e.elementType===a||"object"===r(a)&&null!==a&&a.$$typeof===L&&Ji(a)===e.type)?((o=i(e,n.props)).ref=Wi(t,e,n),o.return=t,o):((o=Bs(n.type,n.key,n.props,null,t.mode,o)).ref=Wi(t,e,n),o.return=t,o)}function f(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Us(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function h(t,e,n,r,o){return null===e||7!==e.tag?((e=Fs(n,t.mode,r,o)).return=t,e):((e=i(e,n)).return=t,e)}function p(t,e,n){if("string"==typeof e&&""!==e||"number"==typeof e)return(e=Ds(""+e,t.mode,n)).return=t,e;if("object"===r(e)&&null!==e){switch(e.$$typeof){case x:return(n=Bs(e.type,e.key,e.props,null,t.mode,n)).ref=Wi(t,null,e),n.return=t,n;case E:return(e=Us(e,t.mode,n)).return=t,e;case L:return p(t,(0,e._init)(e._payload),n)}if(nt(e)||B(e))return(e=Fs(e,t.mode,n,null)).return=t,e;qi(t,e)}return null}function d(t,e,n,o){var i=null!==e?e.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(t,e,""+n,o);if("object"===r(n)&&null!==n){switch(n.$$typeof){case x:return n.key===i?l(t,e,n,o):null;case E:return n.key===i?f(t,e,n,o):null;case L:return d(t,e,(i=n._init)(n._payload),o)}if(nt(n)||B(n))return null!==i?null:h(t,e,n,o,null);qi(t,n)}return null}function y(t,e,n,o,i){if("string"==typeof o&&""!==o||"number"==typeof o)return s(e,t=t.get(n)||null,""+o,i);if("object"===r(o)&&null!==o){switch(o.$$typeof){case x:return l(e,t=t.get(null===o.key?n:o.key)||null,o,i);case E:return f(e,t=t.get(null===o.key?n:o.key)||null,o,i);case L:return y(t,e,n,(0,o._init)(o._payload),i)}if(nt(o)||B(o))return h(e,t=t.get(n)||null,o,i,null);qi(e,o)}return null}function v(r,i,a,c){for(var s=null,l=null,f=i,h=i=0,v=null;null!==f&&h<a.length;h++){f.index>h?(v=f,f=null):v=f.sibling;var g=d(r,f,a[h],c);if(null===g){null===f&&(f=v);break}t&&f&&null===g.alternate&&e(r,f),i=u(g,i,h),null===l?s=g:l.sibling=g,l=g,f=v}if(h===a.length)return n(r,f),ai&&ti(r,h),s;if(null===f){for(;h<a.length;h++)null!==(f=p(r,a[h],c))&&(i=u(f,i,h),null===l?s=f:l.sibling=f,l=f);return ai&&ti(r,h),s}for(f=o(r,f);h<a.length;h++)null!==(v=y(f,r,h,a[h],c))&&(t&&null!==v.alternate&&f.delete(null===v.key?h:v.key),i=u(v,i,h),null===l?s=v:l.sibling=v,l=v);return t&&f.forEach((function(t){return e(r,t)})),ai&&ti(r,h),s}function g(r,i,c,s){var l=B(c);if("function"!=typeof l)throw Error(a(150));if(null==(c=l.call(c)))throw Error(a(151));for(var f=l=null,h=i,v=i=0,g=null,m=c.next();null!==h&&!m.done;v++,m=c.next()){h.index>v?(g=h,h=null):g=h.sibling;var b=d(r,h,m.value,s);if(null===b){null===h&&(h=g);break}t&&h&&null===b.alternate&&e(r,h),i=u(b,i,v),null===f?l=b:f.sibling=b,f=b,h=g}if(m.done)return n(r,h),ai&&ti(r,v),l;if(null===h){for(;!m.done;v++,m=c.next())null!==(m=p(r,m.value,s))&&(i=u(m,i,v),null===f?l=m:f.sibling=m,f=m);return ai&&ti(r,v),l}for(h=o(r,h);!m.done;v++,m=c.next())null!==(m=y(h,r,v,m.value,s))&&(t&&null!==m.alternate&&h.delete(null===m.key?v:m.key),i=u(m,i,v),null===f?l=m:f.sibling=m,f=m);return t&&h.forEach((function(t){return e(r,t)})),ai&&ti(r,v),l}return function t(o,a,u,s){if("object"===r(u)&&null!==u&&u.type===S&&null===u.key&&(u=u.props.children),"object"===r(u)&&null!==u){switch(u.$$typeof){case x:t:{for(var l=u.key,f=a;null!==f;){if(f.key===l){if((l=u.type)===S){if(7===f.tag){n(o,f.sibling),(a=i(f,u.props.children)).return=o,o=a;break t}}else if(f.elementType===l||"object"===r(l)&&null!==l&&l.$$typeof===L&&Ji(l)===f.type){n(o,f.sibling),(a=i(f,u.props)).ref=Wi(o,f,u),a.return=o,o=a;break t}n(o,f);break}e(o,f),f=f.sibling}u.type===S?((a=Fs(u.props.children,o.mode,s,u.key)).return=o,o=a):((s=Bs(u.type,u.key,u.props,null,o.mode,s)).ref=Wi(o,a,u),s.return=o,o=s)}return c(o);case E:t:{for(f=u.key;null!==a;){if(a.key===f){if(4===a.tag&&a.stateNode.containerInfo===u.containerInfo&&a.stateNode.implementation===u.implementation){n(o,a.sibling),(a=i(a,u.children||[])).return=o,o=a;break t}n(o,a);break}e(o,a),a=a.sibling}(a=Us(u,o.mode,s)).return=o,o=a}return c(o);case L:return t(o,a,(f=u._init)(u._payload),s)}if(nt(u))return v(o,a,u,s);if(B(u))return g(o,a,u,s);qi(o,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==a&&6===a.tag?(n(o,a.sibling),(a=i(a,u)).return=o,o=a):(n(o,a),(a=Ds(u,o.mode,s)).return=o,o=a),c(o)):n(o,a)}}var Xi=Ki(!0),Zi=Ki(!1),ta={},ea=ko(ta),na=ko(ta),ra=ko(ta);function oa(t){if(t===ta)throw Error(a(174));return t}function ia(t,e){switch(jo(ra,e),jo(na,t),jo(ea,ta),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:st(null,"");break;default:e=st(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}_o(ea),jo(ea,e)}function aa(){_o(ea),_o(na),_o(ra)}function ua(t){oa(ra.current);var e=oa(ea.current),n=st(e,t.type);e!==n&&(jo(na,t),jo(ea,n))}function ca(t){na.current===t&&(_o(ea),_o(na))}var sa=ko(0);function la(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(128&e.flags)return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var fa=[];function ha(){for(var t=0;t<fa.length;t++)fa[t]._workInProgressVersionPrimary=null;fa.length=0}var pa=A.ReactCurrentDispatcher,da=A.ReactCurrentBatchConfig,ya=0,va=null,ga=null,ma=null,ba=!1,wa=!1,Aa=0,xa=0;function Ea(){throw Error(a(321))}function Sa(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!cr(t[n],e[n]))return!1;return!0}function Oa(t,e,n,r,o,i){if(ya=i,va=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,pa.current=null===t||null===t.memoizedState?cu:su,t=n(r,o),wa){i=0;do{if(wa=!1,Aa=0,25<=i)throw Error(a(301));i+=1,ma=ga=null,e.updateQueue=null,pa.current=lu,t=n(r,o)}while(wa)}if(pa.current=uu,e=null!==ga&&null!==ga.next,ya=0,ma=ga=va=null,ba=!1,e)throw Error(a(300));return t}function ka(){var t=0!==Aa;return Aa=0,t}function _a(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ma?va.memoizedState=ma=t:ma=ma.next=t,ma}function ja(){if(null===ga){var t=va.alternate;t=null!==t?t.memoizedState:null}else t=ga.next;var e=null===ma?va.memoizedState:ma.next;if(null!==e)ma=e,ga=t;else{if(null===t)throw Error(a(310));t={memoizedState:(ga=t).memoizedState,baseState:ga.baseState,baseQueue:ga.baseQueue,queue:ga.queue,next:null},null===ma?va.memoizedState=ma=t:ma=ma.next=t}return ma}function Pa(t,e){return"function"==typeof e?e(t):e}function Ia(t){var e=ja(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=ga,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var c=u=null,s=null,l=i;do{var f=l.lane;if((ya&f)===f)null!==s&&(s=s.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:t(r,l.action);else{var h={lane:f,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===s?(c=s=h,u=r):s=s.next=h,va.lanes|=f,Nc|=f}l=l.next}while(null!==l&&l!==i);null===s?u=r:s.next=c,cr(r,e.memoizedState)||(Au=!0),e.memoizedState=r,e.baseState=u,e.baseQueue=s,n.lastRenderedState=r}if(null!==(t=n.interleaved)){o=t;do{i=o.lane,va.lanes|=i,Nc|=i,o=o.next}while(o!==t)}else null===o&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function Ta(t){var e=ja(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,o=n.pending,i=e.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=t(i,u.action),u=u.next}while(u!==o);cr(i,e.memoizedState)||(Au=!0),e.memoizedState=i,null===e.baseQueue&&(e.baseState=i),n.lastRenderedState=i}return[i,r]}function Ca(){}function La(t,e){var n=va,r=ja(),o=e(),i=!cr(r.memoizedState,o);if(i&&(r.memoizedState=o,Au=!0),r=r.queue,Ha(Ba.bind(null,n,r,t),[t]),r.getSnapshot!==e||i||null!==ma&&1&ma.memoizedState.tag){if(n.flags|=2048,Ua(9,Ma.bind(null,n,r,o,e),void 0,null),null===Tc)throw Error(a(349));30&ya||Ra(n,e,o)}return o}function Ra(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},null===(e=va.updateQueue)?(e={lastEffect:null,stores:null},va.updateQueue=e,e.stores=[t]):null===(n=e.stores)?e.stores=[t]:n.push(t)}function Ma(t,e,n,r){e.value=n,e.getSnapshot=r,Fa(e)&&Na(t)}function Ba(t,e,n){return n((function(){Fa(e)&&Na(t)}))}function Fa(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!cr(t,n)}catch(t){return!0}}function Na(t){var e=Ti(t,1);null!==e&&os(e,t,1,-1)}function Da(t){var e=_a();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:t},e.queue=t,t=t.dispatch=ru.bind(null,va,t),[e.memoizedState,t]}function Ua(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=va.updateQueue)?(e={lastEffect:null,stores:null},va.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function Ga(){return ja().memoizedState}function Qa(t,e,n,r){var o=_a();va.flags|=t,o.memoizedState=Ua(1|e,n,void 0,void 0===r?null:r)}function za(t,e,n,r){var o=ja();r=void 0===r?null:r;var i=void 0;if(null!==ga){var a=ga.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Ua(e,n,i,r))}va.flags|=t,o.memoizedState=Ua(1|e,n,i,r)}function Ya(t,e){return Qa(8390656,8,t,e)}function Ha(t,e){return za(2048,8,t,e)}function Va(t,e){return za(4,2,t,e)}function $a(t,e){return za(4,4,t,e)}function Wa(t,e){return"function"==typeof e?(t=t(),e(t),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function qa(t,e,n){return n=null!=n?n.concat([t]):null,za(4,4,Wa.bind(null,e,t),n)}function Ja(){}function Ka(t,e){var n=ja();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&Sa(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Xa(t,e){var n=ja();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&Sa(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Za(t,e,n){return 21&ya?(cr(n,e)||(n=ve(),va.lanes|=n,Nc|=n,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,Au=!0),t.memoizedState=n)}function tu(t,e){var n=we;we=0!==n&&4>n?n:4,t(!0);var r=da.transition;da.transition={};try{t(!1),e()}finally{we=n,da.transition=r}}function eu(){return ja().memoizedState}function nu(t,e,n){var r=rs(t);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ou(t)?iu(e,n):null!==(n=Ii(t,e,n,r))&&(os(n,t,r,ns()),au(n,e,r))}function ru(t,e,n){var r=rs(t),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ou(t))iu(e,o);else{var i=t.alternate;if(0===t.lanes&&(null===i||0===i.lanes)&&null!==(i=e.lastRenderedReducer))try{var a=e.lastRenderedState,u=i(a,n);if(o.hasEagerState=!0,o.eagerState=u,cr(u,a)){var c=e.interleaved;return null===c?(o.next=o,Pi(e)):(o.next=c.next,c.next=o),void(e.interleaved=o)}}catch(t){}null!==(n=Ii(t,e,o,r))&&(os(n,t,r,o=ns()),au(n,e,r))}}function ou(t){var e=t.alternate;return t===va||null!==e&&e===va}function iu(t,e){wa=ba=!0;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function au(t,e,n){if(4194240&n){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,be(t,n)}}var uu={readContext:_i,useCallback:Ea,useContext:Ea,useEffect:Ea,useImperativeHandle:Ea,useInsertionEffect:Ea,useLayoutEffect:Ea,useMemo:Ea,useReducer:Ea,useRef:Ea,useState:Ea,useDebugValue:Ea,useDeferredValue:Ea,useTransition:Ea,useMutableSource:Ea,useSyncExternalStore:Ea,useId:Ea,unstable_isNewReconciler:!1},cu={readContext:_i,useCallback:function(t,e){return _a().memoizedState=[t,void 0===e?null:e],t},useContext:_i,useEffect:Ya,useImperativeHandle:function(t,e,n){return n=null!=n?n.concat([t]):null,Qa(4194308,4,Wa.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Qa(4194308,4,t,e)},useInsertionEffect:function(t,e){return Qa(4,2,t,e)},useMemo:function(t,e){var n=_a();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=_a();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=nu.bind(null,va,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},_a().memoizedState=t},useState:Da,useDebugValue:Ja,useDeferredValue:function(t){return _a().memoizedState=t},useTransition:function(){var t=Da(!1),e=t[0];return t=tu.bind(null,t[1]),_a().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=va,o=_a();if(ai){if(void 0===n)throw Error(a(407));n=n()}else{if(n=e(),null===Tc)throw Error(a(349));30&ya||Ra(r,e,n)}o.memoizedState=n;var i={value:n,getSnapshot:e};return o.queue=i,Ya(Ba.bind(null,r,i,t),[t]),r.flags|=2048,Ua(9,Ma.bind(null,r,i,n,e),void 0,null),n},useId:function(){var t=_a(),e=Tc.identifierPrefix;if(ai){var n=Zo;e=":"+e+"R"+(n=(Xo&~(1<<32-ue(Xo)-1)).toString(32)+n),0<(n=Aa++)&&(e+="H"+n.toString(32)),e+=":"}else e=":"+e+"r"+(n=xa++).toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},su={readContext:_i,useCallback:Ka,useContext:_i,useEffect:Ha,useImperativeHandle:qa,useInsertionEffect:Va,useLayoutEffect:$a,useMemo:Xa,useReducer:Ia,useRef:Ga,useState:function(){return Ia(Pa)},useDebugValue:Ja,useDeferredValue:function(t){return Za(ja(),ga.memoizedState,t)},useTransition:function(){return[Ia(Pa)[0],ja().memoizedState]},useMutableSource:Ca,useSyncExternalStore:La,useId:eu,unstable_isNewReconciler:!1},lu={readContext:_i,useCallback:Ka,useContext:_i,useEffect:Ha,useImperativeHandle:qa,useInsertionEffect:Va,useLayoutEffect:$a,useMemo:Xa,useReducer:Ta,useRef:Ga,useState:function(){return Ta(Pa)},useDebugValue:Ja,useDeferredValue:function(t){var e=ja();return null===ga?e.memoizedState=t:Za(e,ga.memoizedState,t)},useTransition:function(){return[Ta(Pa)[0],ja().memoizedState]},useMutableSource:Ca,useSyncExternalStore:La,useId:eu,unstable_isNewReconciler:!1};function fu(t,e){try{var n="",r=e;do{n+=Q(r),r=r.return}while(r);var o=n}catch(t){o="\nError generating stack: "+t.message+"\n"+t.stack}return{value:t,source:e,stack:o,digest:null}}function hu(t,e,n){return{value:t,source:null,stack:null!=n?n:null,digest:null!=e?e:null}}function pu(t,e){try{console.error(e.value)}catch(t){setTimeout((function(){throw t}))}}var du="function"==typeof WeakMap?WeakMap:Map;function yu(t,e,n){(n=Mi(-1,n)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Vc||(Vc=!0,$c=r),pu(0,e)},n}function vu(t,e,n){(n=Mi(-1,n)).tag=3;var r=t.type.getDerivedStateFromError;if("function"==typeof r){var o=e.value;n.payload=function(){return r(o)},n.callback=function(){pu(0,e)}}var i=t.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){pu(0,e),"function"!=typeof r&&(null===Wc?Wc=new Set([this]):Wc.add(this));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),n}function gu(t,e,n){var r=t.pingCache;if(null===r){r=t.pingCache=new du;var o=new Set;r.set(e,o)}else void 0===(o=r.get(e))&&(o=new Set,r.set(e,o));o.has(n)||(o.add(n),t=_s.bind(null,t,e,n),e.then(t,t))}function mu(t){do{var e;if((e=13===t.tag)&&(e=null===(e=t.memoizedState)||null!==e.dehydrated),e)return t;t=t.return}while(null!==t);return null}function bu(t,e,n,r,o){return 1&t.mode?(t.flags|=65536,t.lanes=o,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((e=Mi(-1,1)).tag=2,Bi(n,e,1))),n.lanes|=1),t)}var wu=A.ReactCurrentOwner,Au=!1;function xu(t,e,n,r){e.child=null===t?Zi(e,null,n,r):Xi(e,t.child,n,r)}function Eu(t,e,n,r,o){n=n.render;var i=e.ref;return ki(e,o),r=Oa(t,e,n,r,i,o),n=ka(),null===t||Au?(ai&&n&&ni(e),e.flags|=1,xu(t,e,r,o),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Vu(t,e,o))}function Su(t,e,n,r,o){if(null===t){var i=n.type;return"function"!=typeof i||Rs(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Bs(n.type,null,r,e,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=i,Ou(t,e,i,r,o))}if(i=t.child,!(t.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(a,r)&&t.ref===e.ref)return Vu(t,e,o)}return e.flags|=1,(t=Ms(i,r)).ref=e.ref,t.return=e,e.child=t}function Ou(t,e,n,r,o){if(null!==t){var i=t.memoizedProps;if(sr(i,r)&&t.ref===e.ref){if(Au=!1,e.pendingProps=r=i,!(t.lanes&o))return e.lanes=t.lanes,Vu(t,e,o);131072&t.flags&&(Au=!0)}}return ju(t,e,n,r,o)}function ku(t,e,n){var r=e.pendingProps,o=r.children,i=null!==t?t.memoizedState:null;if("hidden"===r.mode)if(1&e.mode){if(!(1073741824&n))return t=null!==i?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,jo(Mc,Rc),Rc|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,jo(Mc,Rc),Rc|=r}else e.memoizedState={baseLanes:0,cachePool:null,transitions:null},jo(Mc,Rc),Rc|=n;else null!==i?(r=i.baseLanes|n,e.memoizedState=null):r=n,jo(Mc,Rc),Rc|=r;return xu(t,e,o,n),e.child}function _u(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function ju(t,e,n,r,o){var i=Ro(n)?Co:Io.current;return i=Lo(e,i),ki(e,o),n=Oa(t,e,n,r,i,o),r=ka(),null===t||Au?(ai&&r&&ni(e),e.flags|=1,xu(t,e,n,o),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Vu(t,e,o))}function Pu(t,e,n,o,i){if(Ro(n)){var a=!0;No(e)}else a=!1;if(ki(e,i),null===e.stateNode)Hu(t,e),Hi(e,n,o),$i(e,n,o,i),o=!0;else if(null===t){var u=e.stateNode,c=e.memoizedProps;u.props=c;var s=u.context,l=n.contextType;l="object"===r(l)&&null!==l?_i(l):Lo(e,l=Ro(n)?Co:Io.current);var f=n.getDerivedStateFromProps,h="function"==typeof f||"function"==typeof u.getSnapshotBeforeUpdate;h||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(c!==o||s!==l)&&Vi(e,u,o,l),Ci=!1;var p=e.memoizedState;u.state=p,Di(e,o,u,i),s=e.memoizedState,c!==o||p!==s||To.current||Ci?("function"==typeof f&&(Qi(e,n,f,o),s=e.memoizedState),(c=Ci||Yi(e,n,c,o,p,s,l))?(h||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||("function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"==typeof u.componentDidMount&&(e.flags|=4194308)):("function"==typeof u.componentDidMount&&(e.flags|=4194308),e.memoizedProps=o,e.memoizedState=s),u.props=o,u.state=s,u.context=l,o=c):("function"==typeof u.componentDidMount&&(e.flags|=4194308),o=!1)}else{u=e.stateNode,Ri(t,e),c=e.memoizedProps,l=e.type===e.elementType?c:mi(e.type,c),u.props=l,h=e.pendingProps,p=u.context,s="object"===r(s=n.contextType)&&null!==s?_i(s):Lo(e,s=Ro(n)?Co:Io.current);var d=n.getDerivedStateFromProps;(f="function"==typeof d||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(c!==h||p!==s)&&Vi(e,u,o,s),Ci=!1,p=e.memoizedState,u.state=p,Di(e,o,u,i);var y=e.memoizedState;c!==h||p!==y||To.current||Ci?("function"==typeof d&&(Qi(e,n,d,o),y=e.memoizedState),(l=Ci||Yi(e,n,l,o,p,y,s)||!1)?(f||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(o,y,s),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(o,y,s)),"function"==typeof u.componentDidUpdate&&(e.flags|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(e.flags|=1024)):("function"!=typeof u.componentDidUpdate||c===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||c===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),e.memoizedProps=o,e.memoizedState=y),u.props=o,u.state=y,u.context=s,o=l):("function"!=typeof u.componentDidUpdate||c===t.memoizedProps&&p===t.memoizedState||(e.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||c===t.memoizedProps&&p===t.memoizedState||(e.flags|=1024),o=!1)}return Iu(t,e,n,o,a,i)}function Iu(t,e,n,r,o,i){_u(t,e);var a=!!(128&e.flags);if(!r&&!a)return o&&Do(e,n,!1),Vu(t,e,i);r=e.stateNode,wu.current=e;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return e.flags|=1,null!==t&&a?(e.child=Xi(e,t.child,null,i),e.child=Xi(e,null,u,i)):xu(t,e,u,i),e.memoizedState=r.state,o&&Do(e,n,!0),e.child}function Tu(t){var e=t.stateNode;e.pendingContext?Bo(0,e.pendingContext,e.pendingContext!==e.context):e.context&&Bo(0,e.context,!1),ia(t,e.containerInfo)}function Cu(t,e,n,r,o){return yi(),vi(o),e.flags|=256,xu(t,e,n,r),e.child}var Lu,Ru,Mu,Bu,Fu={dehydrated:null,treeContext:null,retryLane:0};function Nu(t){return{baseLanes:t,cachePool:null,transitions:null}}function Du(t,e,n){var r,o=e.pendingProps,i=sa.current,u=!1,c=!!(128&e.flags);if((r=c)||(r=(null===t||null!==t.memoizedState)&&!!(2&i)),r?(u=!0,e.flags&=-129):null!==t&&null===t.memoizedState||(i|=1),jo(sa,1&i),null===t)return fi(e),null!==(t=e.memoizedState)&&null!==(t=t.dehydrated)?(1&e.mode?"$!"===t.data?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(c=o.children,t=o.fallback,u?(o=e.mode,u=e.child,c={mode:"hidden",children:c},1&o||null===u?u=Ns(c,o,0,null):(u.childLanes=0,u.pendingProps=c),t=Fs(t,o,n,null),u.return=e,t.return=e,u.sibling=t,e.child=u,e.child.memoizedState=Nu(n),e.memoizedState=Fu,t):Uu(e,c));if(null!==(i=t.memoizedState)&&null!==(r=i.dehydrated))return function(t,e,n,r,o,i,u){if(n)return 256&e.flags?(e.flags&=-257,Gu(t,e,u,r=hu(Error(a(422))))):null!==e.memoizedState?(e.child=t.child,e.flags|=128,null):(i=r.fallback,o=e.mode,r=Ns({mode:"visible",children:r.children},o,0,null),(i=Fs(i,o,u,null)).flags|=2,r.return=e,i.return=e,r.sibling=i,e.child=r,1&e.mode&&Xi(e,t.child,null,u),e.child.memoizedState=Nu(u),e.memoizedState=Fu,i);if(!(1&e.mode))return Gu(t,e,u,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var c=r.dgst;return r=c,Gu(t,e,u,r=hu(i=Error(a(419)),r,void 0))}if(c=!!(u&t.childLanes),Au||c){if(null!==(r=Tc)){switch(u&-u){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(r.suspendedLanes|u)?0:o)&&o!==i.retryLane&&(i.retryLane=o,Ti(t,o),os(r,t,o,-1))}return gs(),Gu(t,e,u,r=hu(Error(a(421))))}return"$?"===o.data?(e.flags|=128,e.child=t.child,e=Ps.bind(null,t),o._reactRetry=e,null):(t=i.treeContext,ii=lo(o.nextSibling),oi=e,ai=!0,ui=null,null!==t&&(qo[Jo++]=Xo,qo[Jo++]=Zo,qo[Jo++]=Ko,Xo=t.id,Zo=t.overflow,Ko=e),(e=Uu(e,r.children)).flags|=4096,e)}(t,e,c,o,r,i,n);if(u){u=o.fallback,c=e.mode,r=(i=t.child).sibling;var s={mode:"hidden",children:o.children};return 1&c||e.child===i?(o=Ms(i,s)).subtreeFlags=14680064&i.subtreeFlags:((o=e.child).childLanes=0,o.pendingProps=s,e.deletions=null),null!==r?u=Ms(r,u):(u=Fs(u,c,n,null)).flags|=2,u.return=e,o.return=e,o.sibling=u,e.child=o,o=u,u=e.child,c=null===(c=t.child.memoizedState)?Nu(n):{baseLanes:c.baseLanes|n,cachePool:null,transitions:c.transitions},u.memoizedState=c,u.childLanes=t.childLanes&~n,e.memoizedState=Fu,o}return t=(u=t.child).sibling,o=Ms(u,{mode:"visible",children:o.children}),!(1&e.mode)&&(o.lanes=n),o.return=e,o.sibling=null,null!==t&&(null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=o,e.memoizedState=null,o}function Uu(t,e){return(e=Ns({mode:"visible",children:e},t.mode,0,null)).return=t,t.child=e}function Gu(t,e,n,r){return null!==r&&vi(r),Xi(e,t.child,null,n),(t=Uu(e,e.pendingProps.children)).flags|=2,e.memoizedState=null,t}function Qu(t,e,n){t.lanes|=e;var r=t.alternate;null!==r&&(r.lanes|=e),Oi(t.return,e,n)}function zu(t,e,n,r,o){var i=t.memoizedState;null===i?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Yu(t,e,n){var r=e.pendingProps,o=r.revealOrder,i=r.tail;if(xu(t,e,r.children,n),2&(r=sa.current))r=1&r|2,e.flags|=128;else{if(null!==t&&128&t.flags)t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Qu(t,n,e);else if(19===t.tag)Qu(t,n,e);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(jo(sa,r),1&e.mode)switch(o){case"forwards":for(n=e.child,o=null;null!==n;)null!==(t=n.alternate)&&null===la(t)&&(o=n),n=n.sibling;null===(n=o)?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),zu(e,!1,o,n,i);break;case"backwards":for(n=null,o=e.child,e.child=null;null!==o;){if(null!==(t=o.alternate)&&null===la(t)){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}zu(e,!0,n,null,i);break;case"together":zu(e,!1,null,null,void 0);break;default:e.memoizedState=null}else e.memoizedState=null;return e.child}function Hu(t,e){!(1&e.mode)&&null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Vu(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),Nc|=e.lanes,!(n&e.childLanes))return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Ms(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Ms(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function $u(t,e){if(!ai)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Wu(t){var e=null!==t.alternate&&t.alternate.child===t.child,n=0,r=0;if(e)for(var o=t.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=t,o=o.sibling;else for(o=t.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function qu(t,e,n){var r=e.pendingProps;switch(ri(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wu(e),null;case 1:case 17:return Ro(e.type)&&Mo(),Wu(e),null;case 3:return r=e.stateNode,aa(),_o(To),_o(Io),ha(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||(pi(e)?e.flags|=4:null===t||t.memoizedState.isDehydrated&&!(256&e.flags)||(e.flags|=1024,null!==ui&&(cs(ui),ui=null))),Ru(t,e),Wu(e),null;case 5:ca(e);var o=oa(ra.current);if(n=e.type,null!==t&&null!=e.stateNode)Mu(t,e,n,r,o),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(null===e.stateNode)throw Error(a(166));return Wu(e),null}if(t=oa(ea.current),pi(e)){r=e.stateNode,n=e.type;var i=e.memoizedProps;switch(r[po]=e,r[yo]=i,t=!!(1&e.mode),n){case"dialog":Ur("cancel",r),Ur("close",r);break;case"iframe":case"object":case"embed":Ur("load",r);break;case"video":case"audio":for(o=0;o<Br.length;o++)Ur(Br[o],r);break;case"source":Ur("error",r);break;case"img":case"image":case"link":Ur("error",r),Ur("load",r);break;case"details":Ur("toggle",r);break;case"input":K(r,i),Ur("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ur("invalid",r);break;case"textarea":it(r,i),Ur("invalid",r)}for(var u in bt(n,i),o=null,i)if(i.hasOwnProperty(u)){var s=i[u];"children"===u?"string"==typeof s?r.textContent!==s&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,s,t),o=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(!0!==i.suppressHydrationWarning&&Zr(r.textContent,s,t),o=["children",""+s]):c.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Ur("scroll",r)}switch(n){case"input":$(r),tt(r,i,!0);break;case"textarea":$(r),ut(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=to)}r=o,e.updateQueue=r,null!==r&&(e.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===t&&(t=ct(n)),"http://www.w3.org/1999/xhtml"===t?"script"===n?((t=u.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"==typeof r.is?t=u.createElement(n,{is:r.is}):(t=u.createElement(n),"select"===n&&(u=t,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):t=u.createElementNS(t,n),t[po]=e,t[yo]=r,Lu(t,e,!1,!1),e.stateNode=t;t:{switch(u=wt(n,r),n){case"dialog":Ur("cancel",t),Ur("close",t),o=r;break;case"iframe":case"object":case"embed":Ur("load",t),o=r;break;case"video":case"audio":for(o=0;o<Br.length;o++)Ur(Br[o],t);o=r;break;case"source":Ur("error",t),o=r;break;case"img":case"image":case"link":Ur("error",t),Ur("load",t),o=r;break;case"details":Ur("toggle",t),o=r;break;case"input":K(t,r),o=J(t,r),Ur("invalid",t);break;case"option":default:o=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},o=N({},r,{value:void 0}),Ur("invalid",t);break;case"textarea":it(t,r),o=ot(t,r),Ur("invalid",t)}for(i in bt(n,o),s=o)if(s.hasOwnProperty(i)){var l=s[i];"style"===i?gt(t,l):"dangerouslySetInnerHTML"===i?null!=(l=l?l.__html:void 0)&&ht(t,l):"children"===i?"string"==typeof l?("textarea"!==n||""!==l)&&pt(t,l):"number"==typeof l&&pt(t,""+l):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(c.hasOwnProperty(i)?null!=l&&"onScroll"===i&&Ur("scroll",t):null!=l&&w(t,i,l,u))}switch(n){case"input":$(t),tt(t,r,!1);break;case"textarea":$(t),ut(t);break;case"option":null!=r.value&&t.setAttribute("value",""+H(r.value));break;case"select":t.multiple=!!r.multiple,null!=(i=r.value)?rt(t,!!r.multiple,i,!1):null!=r.defaultValue&&rt(t,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(t.onclick=to)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}}r&&(e.flags|=4)}null!==e.ref&&(e.flags|=512,e.flags|=2097152)}return Wu(e),null;case 6:if(t&&null!=e.stateNode)Bu(t,e,t.memoizedProps,r);else{if("string"!=typeof r&&null===e.stateNode)throw Error(a(166));if(n=oa(ra.current),oa(ea.current),pi(e)){if(r=e.stateNode,n=e.memoizedProps,r[po]=e,(i=r.nodeValue!==n)&&null!==(t=oi))switch(t.tag){case 3:Zr(r.nodeValue,n,!!(1&t.mode));break;case 5:!0!==t.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,!!(1&t.mode))}i&&(e.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=e,e.stateNode=r}return Wu(e),null;case 13:if(_o(sa),r=e.memoizedState,null===t||null!==t.memoizedState&&null!==t.memoizedState.dehydrated){if(ai&&null!==ii&&1&e.mode&&!(128&e.flags))di(),yi(),e.flags|=98560,i=!1;else if(i=pi(e),null!==r&&null!==r.dehydrated){if(null===t){if(!i)throw Error(a(318));if(!(i=null!==(i=e.memoizedState)?i.dehydrated:null))throw Error(a(317));i[po]=e}else yi(),!(128&e.flags)&&(e.memoizedState=null),e.flags|=4;Wu(e),i=!1}else null!==ui&&(cs(ui),ui=null),i=!0;if(!i)return 65536&e.flags?e:null}return 128&e.flags?(e.lanes=n,e):((r=null!==r)!=(null!==t&&null!==t.memoizedState)&&r&&(e.child.flags|=8192,1&e.mode&&(null===t||1&sa.current?0===Bc&&(Bc=3):gs())),null!==e.updateQueue&&(e.flags|=4),Wu(e),null);case 4:return aa(),Ru(t,e),null===t&&zr(e.stateNode.containerInfo),Wu(e),null;case 10:return Si(e.type._context),Wu(e),null;case 19:if(_o(sa),null===(i=e.memoizedState))return Wu(e),null;if(r=!!(128&e.flags),null===(u=i.rendering))if(r)$u(i,!1);else{if(0!==Bc||null!==t&&128&t.flags)for(t=e.child;null!==t;){if(null!==(u=la(t))){for(e.flags|=128,$u(i,!1),null!==(r=u.updateQueue)&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;null!==n;)t=r,(i=n).flags&=14680066,null===(u=i.alternate)?(i.childLanes=0,i.lanes=t,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,t=u.dependencies,i.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return jo(sa,1&sa.current|2),e.child}t=t.sibling}null!==i.tail&&Xt()>Yc&&(e.flags|=128,r=!0,$u(i,!1),e.lanes=4194304)}else{if(!r)if(null!==(t=la(u))){if(e.flags|=128,r=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.flags|=4),$u(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!ai)return Wu(e),null}else 2*Xt()-i.renderingStartTime>Yc&&1073741824!==n&&(e.flags|=128,r=!0,$u(i,!1),e.lanes=4194304);i.isBackwards?(u.sibling=e.child,e.child=u):(null!==(n=i.last)?n.sibling=u:e.child=u,i.last=u)}return null!==i.tail?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Xt(),e.sibling=null,n=sa.current,jo(sa,r?1&n|2:1&n),e):(Wu(e),null);case 22:case 23:return ps(),r=null!==e.memoizedState,null!==t&&null!==t.memoizedState!==r&&(e.flags|=8192),r&&1&e.mode?!!(1073741824&Rc)&&(Wu(e),6&e.subtreeFlags&&(e.flags|=8192)):Wu(e),null;case 24:case 25:return null}throw Error(a(156,e.tag))}function Ju(t,e){switch(ri(e),e.tag){case 1:return Ro(e.type)&&Mo(),65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 3:return aa(),_o(To),_o(Io),ha(),65536&(t=e.flags)&&!(128&t)?(e.flags=-65537&t|128,e):null;case 5:return ca(e),null;case 13:if(_o(sa),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(a(340));yi()}return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 19:return _o(sa),null;case 4:return aa(),null;case 10:return Si(e.type._context),null;case 22:case 23:return ps(),null;default:return null}}Lu=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ru=function(){},Mu=function(t,e,n,r){var o=t.memoizedProps;if(o!==r){t=e.stateNode,oa(ea.current);var i,a=null;switch(n){case"input":o=J(t,o),r=J(t,r),a=[];break;case"select":o=N({},o,{value:void 0}),r=N({},r,{value:void 0}),a=[];break;case"textarea":o=ot(t,o),r=ot(t,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(t.onclick=to)}for(l in bt(n,r),n=null,o)if(!r.hasOwnProperty(l)&&o.hasOwnProperty(l)&&null!=o[l])if("style"===l){var u=o[l];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(c.hasOwnProperty(l)?a||(a=[]):(a=a||[]).push(l,null));for(l in r){var s=r[l];if(u=null!=o?o[l]:void 0,r.hasOwnProperty(l)&&s!==u&&(null!=s||null!=u))if("style"===l)if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(l,n)),n=s;else"dangerouslySetInnerHTML"===l?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(a=a||[]).push(l,s)):"children"===l?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(l,""+s):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(c.hasOwnProperty(l)?(null!=s&&"onScroll"===l&&Ur("scroll",t),a||u===s||(a=[])):(a=a||[]).push(l,s))}n&&(a=a||[]).push("style",n);var l=a;(e.updateQueue=l)&&(e.flags|=4)}},Bu=function(t,e,n,r){n!==r&&(e.flags|=4)};var Ku=!1,Xu=!1,Zu="function"==typeof WeakSet?WeakSet:Set,tc=null;function ec(t,e){var n=t.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){ks(t,e,n)}else n.current=null}function nc(t,e,n){try{n()}catch(n){ks(t,e,n)}}var rc=!1;function oc(t,e,n){var r=e.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&t)===t){var i=o.destroy;o.destroy=void 0,void 0!==i&&nc(e,n,i)}o=o.next}while(o!==r)}}function ic(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function ac(t){var e=t.ref;if(null!==e){var n=t.stateNode;t.tag,t=n,"function"==typeof e?e(t):e.current=t}}function uc(t){var e=t.alternate;null!==e&&(t.alternate=null,uc(e)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(e=t.stateNode)&&(delete e[po],delete e[yo],delete e[go],delete e[mo],delete e[bo]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function cc(t){return 5===t.tag||3===t.tag||4===t.tag}function sc(t){t:for(;;){for(;null===t.sibling;){if(null===t.return||cc(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags)continue t;if(null===t.child||4===t.tag)continue t;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function lc(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!=(n=n._reactRootContainer)||null!==e.onclick||(e.onclick=to));else if(4!==r&&null!==(t=t.child))for(lc(t,e,n),t=t.sibling;null!==t;)lc(t,e,n),t=t.sibling}function fc(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(fc(t,e,n),t=t.sibling;null!==t;)fc(t,e,n),t=t.sibling}var hc=null,pc=!1;function dc(t,e,n){for(n=n.child;null!==n;)yc(t,e,n),n=n.sibling}function yc(t,e,n){if(ae&&"function"==typeof ae.onCommitFiberUnmount)try{ae.onCommitFiberUnmount(ie,n)}catch(t){}switch(n.tag){case 5:Xu||ec(n,e);case 6:var r=hc,o=pc;hc=null,dc(t,e,n),pc=o,null!==(hc=r)&&(pc?(t=hc,n=n.stateNode,8===t.nodeType?t.parentNode.removeChild(n):t.removeChild(n)):hc.removeChild(n.stateNode));break;case 18:null!==hc&&(pc?(t=hc,n=n.stateNode,8===t.nodeType?so(t.parentNode,n):1===t.nodeType&&so(t,n),ze(t)):so(hc,n.stateNode));break;case 4:r=hc,o=pc,hc=n.stateNode.containerInfo,pc=!0,dc(t,e,n),hc=r,pc=o;break;case 0:case 11:case 14:case 15:if(!Xu&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&nc(n,e,a),o=o.next}while(o!==r)}dc(t,e,n);break;case 1:if(!Xu&&(ec(n,e),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(t){ks(n,e,t)}dc(t,e,n);break;case 21:dc(t,e,n);break;case 22:1&n.mode?(Xu=(r=Xu)||null!==n.memoizedState,dc(t,e,n),Xu=r):dc(t,e,n);break;default:dc(t,e,n)}}function vc(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new Zu),e.forEach((function(e){var r=Is.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}function gc(t,e){var n=e.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=t,u=e,c=u;t:for(;null!==c;){switch(c.tag){case 5:hc=c.stateNode,pc=!1;break t;case 3:case 4:hc=c.stateNode.containerInfo,pc=!0;break t}c=c.return}if(null===hc)throw Error(a(160));yc(i,u,o),hc=null,pc=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(t){ks(o,e,t)}}if(12854&e.subtreeFlags)for(e=e.child;null!==e;)mc(e,t),e=e.sibling}function mc(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(gc(e,t),bc(t),4&r){try{oc(3,t,t.return),ic(3,t)}catch(e){ks(t,t.return,e)}try{oc(5,t,t.return)}catch(e){ks(t,t.return,e)}}break;case 1:gc(e,t),bc(t),512&r&&null!==n&&ec(n,n.return);break;case 5:if(gc(e,t),bc(t),512&r&&null!==n&&ec(n,n.return),32&t.flags){var o=t.stateNode;try{pt(o,"")}catch(e){ks(t,t.return,e)}}if(4&r&&null!=(o=t.stateNode)){var i=t.memoizedProps,u=null!==n?n.memoizedProps:i,c=t.type,s=t.updateQueue;if(t.updateQueue=null,null!==s)try{"input"===c&&"radio"===i.type&&null!=i.name&&X(o,i),wt(c,u);var l=wt(c,i);for(u=0;u<s.length;u+=2){var f=s[u],h=s[u+1];"style"===f?gt(o,h):"dangerouslySetInnerHTML"===f?ht(o,h):"children"===f?pt(o,h):w(o,f,h,l)}switch(c){case"input":Z(o,i);break;case"textarea":at(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var d=i.value;null!=d?rt(o,!!i.multiple,d,!1):p!==!!i.multiple&&(null!=i.defaultValue?rt(o,!!i.multiple,i.defaultValue,!0):rt(o,!!i.multiple,i.multiple?[]:"",!1))}o[yo]=i}catch(e){ks(t,t.return,e)}}break;case 6:if(gc(e,t),bc(t),4&r){if(null===t.stateNode)throw Error(a(162));o=t.stateNode,i=t.memoizedProps;try{o.nodeValue=i}catch(e){ks(t,t.return,e)}}break;case 3:if(gc(e,t),bc(t),4&r&&null!==n&&n.memoizedState.isDehydrated)try{ze(e.containerInfo)}catch(e){ks(t,t.return,e)}break;case 4:default:gc(e,t),bc(t);break;case 13:gc(e,t),bc(t),8192&(o=t.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(zc=Xt())),4&r&&vc(t);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&t.mode?(Xu=(l=Xu)||f,gc(e,t),Xu=l):gc(e,t),bc(t),8192&r){if(l=null!==t.memoizedState,(t.stateNode.isHidden=l)&&!f&&1&t.mode)for(tc=t,f=t.child;null!==f;){for(h=tc=f;null!==tc;){switch(d=(p=tc).child,p.tag){case 0:case 11:case 14:case 15:oc(4,p,p.return);break;case 1:ec(p,p.return);var y=p.stateNode;if("function"==typeof y.componentWillUnmount){r=p,n=p.return;try{e=r,y.props=e.memoizedProps,y.state=e.memoizedState,y.componentWillUnmount()}catch(t){ks(r,n,t)}}break;case 5:ec(p,p.return);break;case 22:if(null!==p.memoizedState){Ec(h);continue}}null!==d?(d.return=p,tc=d):Ec(h)}f=f.sibling}t:for(f=null,h=t;;){if(5===h.tag){if(null===f){f=h;try{o=h.stateNode,l?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(c=h.stateNode,u=null!=(s=h.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,c.style.display=vt("display",u))}catch(e){ks(t,t.return,e)}}}else if(6===h.tag){if(null===f)try{h.stateNode.nodeValue=l?"":h.memoizedProps}catch(e){ks(t,t.return,e)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===t)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===t)break t;for(;null===h.sibling;){if(null===h.return||h.return===t)break t;f===h&&(f=null),h=h.return}f===h&&(f=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:gc(e,t),bc(t),4&r&&vc(t);case 21:}}function bc(t){var e=t.flags;if(2&e){try{t:{for(var n=t.return;null!==n;){if(cc(n)){var r=n;break t}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(pt(o,""),r.flags&=-33),fc(t,sc(t),o);break;case 3:case 4:var i=r.stateNode.containerInfo;lc(t,sc(t),i);break;default:throw Error(a(161))}}catch(e){ks(t,t.return,e)}t.flags&=-3}4096&e&&(t.flags&=-4097)}function wc(t,e,n){tc=t,Ac(t,e,n)}function Ac(t,e,n){for(var r=!!(1&t.mode);null!==tc;){var o=tc,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ku;if(!a){var u=o.alternate,c=null!==u&&null!==u.memoizedState||Xu;u=Ku;var s=Xu;if(Ku=a,(Xu=c)&&!s)for(tc=o;null!==tc;)c=(a=tc).child,22===a.tag&&null!==a.memoizedState?Sc(o):null!==c?(c.return=a,tc=c):Sc(o);for(;null!==i;)tc=i,Ac(i,e,n),i=i.sibling;tc=o,Ku=u,Xu=s}xc(t)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,tc=i):xc(t)}}function xc(t){for(;null!==tc;){var e=tc;if(8772&e.flags){var n=e.alternate;try{if(8772&e.flags)switch(e.tag){case 0:case 11:case 15:Xu||ic(5,e);break;case 1:var r=e.stateNode;if(4&e.flags&&!Xu)if(null===n)r.componentDidMount();else{var o=e.elementType===e.type?n.memoizedProps:mi(e.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=e.updateQueue;null!==i&&Ui(e,i,r);break;case 3:var u=e.updateQueue;if(null!==u){if(n=null,null!==e.child)switch(e.child.tag){case 5:case 1:n=e.child.stateNode}Ui(e,u,n)}break;case 5:var c=e.stateNode;if(null===n&&4&e.flags){n=c;var s=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===e.memoizedState){var l=e.alternate;if(null!==l){var f=l.memoizedState;if(null!==f){var h=f.dehydrated;null!==h&&ze(h)}}}break;default:throw Error(a(163))}Xu||512&e.flags&&ac(e)}catch(t){ks(e,e.return,t)}}if(e===t){tc=null;break}if(null!==(n=e.sibling)){n.return=e.return,tc=n;break}tc=e.return}}function Ec(t){for(;null!==tc;){var e=tc;if(e===t){tc=null;break}var n=e.sibling;if(null!==n){n.return=e.return,tc=n;break}tc=e.return}}function Sc(t){for(;null!==tc;){var e=tc;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{ic(4,e)}catch(t){ks(e,n,t)}break;case 1:var r=e.stateNode;if("function"==typeof r.componentDidMount){var o=e.return;try{r.componentDidMount()}catch(t){ks(e,o,t)}}var i=e.return;try{ac(e)}catch(t){ks(e,i,t)}break;case 5:var a=e.return;try{ac(e)}catch(t){ks(e,a,t)}}}catch(t){ks(e,e.return,t)}if(e===t){tc=null;break}var u=e.sibling;if(null!==u){u.return=e.return,tc=u;break}tc=e.return}}var Oc,kc=Math.ceil,_c=A.ReactCurrentDispatcher,jc=A.ReactCurrentOwner,Pc=A.ReactCurrentBatchConfig,Ic=0,Tc=null,Cc=null,Lc=0,Rc=0,Mc=ko(0),Bc=0,Fc=null,Nc=0,Dc=0,Uc=0,Gc=null,Qc=null,zc=0,Yc=1/0,Hc=null,Vc=!1,$c=null,Wc=null,qc=!1,Jc=null,Kc=0,Xc=0,Zc=null,ts=-1,es=0;function ns(){return 6&Ic?Xt():-1!==ts?ts:ts=Xt()}function rs(t){return 1&t.mode?2&Ic&&0!==Lc?Lc&-Lc:null!==gi.transition?(0===es&&(es=ve()),es):0!==(t=we)?t:t=void 0===(t=window.event)?16:Ke(t.type):1}function os(t,e,n,r){if(50<Xc)throw Xc=0,Zc=null,Error(a(185));me(t,n,r),2&Ic&&t===Tc||(t===Tc&&(!(2&Ic)&&(Dc|=n),4===Bc&&ss(t,Lc)),is(t,r),1===n&&0===Ic&&!(1&e.mode)&&(Yc=Xt()+500,Go&&Yo()))}function is(t,e){var n=t.callbackNode;!function(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,o=t.expirationTimes,i=t.pendingLanes;0<i;){var a=31-ue(i),u=1<<a,c=o[a];-1===c?u&n&&!(u&r)||(o[a]=de(u,e)):c<=e&&(t.expiredLanes|=u),i&=~u}}(t,e);var r=pe(t,t===Tc?Lc:0);if(0===r)null!==n&&qt(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(null!=n&&qt(n),1===e)0===t.tag?function(t){Go=!0,zo(t)}(ls.bind(null,t)):zo(ls.bind(null,t)),uo((function(){!(6&Ic)&&Yo()})),n=null;else{switch(Ae(r)){case 1:n=te;break;case 4:n=ee;break;case 16:default:n=ne;break;case 536870912:n=oe}n=Ts(n,as.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function as(t,e){if(ts=-1,es=0,6&Ic)throw Error(a(327));var n=t.callbackNode;if(Ss()&&t.callbackNode!==n)return null;var r=pe(t,t===Tc?Lc:0);if(0===r)return null;if(30&r||r&t.expiredLanes||e)e=ms(t,r);else{e=r;var o=Ic;Ic|=2;var i=vs();for(Tc===t&&Lc===e||(Hc=null,Yc=Xt()+500,ds(t,e));;)try{ws();break}catch(e){ys(t,e)}Ei(),_c.current=i,Ic=o,null!==Cc?e=0:(Tc=null,Lc=0,e=Bc)}if(0!==e){if(2===e&&0!==(o=ye(t))&&(r=o,e=us(t,o)),1===e)throw n=Fc,ds(t,0),ss(t,r),is(t,Xt()),n;if(6===e)ss(t,r);else{if(o=t.current.alternate,!(30&r||function(t){for(var e=t;;){if(16384&e.flags){var n=e.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!cr(i(),o))return!1}catch(t){return!1}}}if(n=e.child,16384&e.subtreeFlags&&null!==n)n.return=e,e=n;else{if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}(o)||(e=ms(t,r),2===e&&(i=ye(t),0!==i&&(r=i,e=us(t,i))),1!==e)))throw n=Fc,ds(t,0),ss(t,r),is(t,Xt()),n;switch(t.finishedWork=o,t.finishedLanes=r,e){case 0:case 1:throw Error(a(345));case 2:case 5:Es(t,Qc,Hc);break;case 3:if(ss(t,r),(130023424&r)===r&&10<(e=zc+500-Xt())){if(0!==pe(t,0))break;if(((o=t.suspendedLanes)&r)!==r){ns(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=oo(Es.bind(null,t,Qc,Hc),e);break}Es(t,Qc,Hc);break;case 4:if(ss(t,r),(4194240&r)===r)break;for(e=t.eventTimes,o=-1;0<r;){var u=31-ue(r);i=1<<u,(u=e[u])>o&&(o=u),r&=~i}if(r=o,10<(r=(120>(r=Xt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kc(r/1960))-r)){t.timeoutHandle=oo(Es.bind(null,t,Qc,Hc),r);break}Es(t,Qc,Hc);break;default:throw Error(a(329))}}}return is(t,Xt()),t.callbackNode===n?as.bind(null,t):null}function us(t,e){var n=Gc;return t.current.memoizedState.isDehydrated&&(ds(t,e).flags|=256),2!==(t=ms(t,e))&&(e=Qc,Qc=n,null!==e&&cs(e)),t}function cs(t){null===Qc?Qc=t:Qc.push.apply(Qc,t)}function ss(t,e){for(e&=~Uc,e&=~Dc,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-ue(e),r=1<<n;t[n]=-1,e&=~r}}function ls(t){if(6&Ic)throw Error(a(327));Ss();var e=pe(t,0);if(!(1&e))return is(t,Xt()),null;var n=ms(t,e);if(0!==t.tag&&2===n){var r=ye(t);0!==r&&(e=r,n=us(t,r))}if(1===n)throw n=Fc,ds(t,0),ss(t,e),is(t,Xt()),n;if(6===n)throw Error(a(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Es(t,Qc,Hc),is(t,Xt()),null}function fs(t,e){var n=Ic;Ic|=1;try{return t(e)}finally{0===(Ic=n)&&(Yc=Xt()+500,Go&&Yo())}}function hs(t){null!==Jc&&0===Jc.tag&&!(6&Ic)&&Ss();var e=Ic;Ic|=1;var n=Pc.transition,r=we;try{if(Pc.transition=null,we=1,t)return t()}finally{we=r,Pc.transition=n,!(6&(Ic=e))&&Yo()}}function ps(){Rc=Mc.current,_o(Mc)}function ds(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,io(n)),null!==Cc)for(n=Cc.return;null!==n;){var r=n;switch(ri(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Mo();break;case 3:aa(),_o(To),_o(Io),ha();break;case 5:ca(r);break;case 4:aa();break;case 13:case 19:_o(sa);break;case 10:Si(r.type._context);break;case 22:case 23:ps()}n=n.return}if(Tc=t,Cc=t=Ms(t.current,null),Lc=Rc=e,Bc=0,Fc=null,Uc=Dc=Nc=0,Qc=Gc=null,null!==ji){for(e=0;e<ji.length;e++)if(null!==(r=(n=ji[e]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}ji=null}return t}function ys(t,e){for(;;){var n=Cc;try{if(Ei(),pa.current=uu,ba){for(var o=va.memoizedState;null!==o;){var i=o.queue;null!==i&&(i.pending=null),o=o.next}ba=!1}if(ya=0,ma=ga=va=null,wa=!1,Aa=0,jc.current=null,null===n||null===n.return){Bc=1,Fc=e,Cc=null;break}t:{var u=t,c=n.return,s=n,l=e;if(e=Lc,s.flags|=32768,null!==l&&"object"===r(l)&&"function"==typeof l.then){var f=l,h=s,p=h.tag;if(!(1&h.mode||0!==p&&11!==p&&15!==p)){var d=h.alternate;d?(h.updateQueue=d.updateQueue,h.memoizedState=d.memoizedState,h.lanes=d.lanes):(h.updateQueue=null,h.memoizedState=null)}var y=mu(c);if(null!==y){y.flags&=-257,bu(y,c,s,0,e),1&y.mode&&gu(u,f,e),l=f;var v=(e=y).updateQueue;if(null===v){var g=new Set;g.add(l),e.updateQueue=g}else v.add(l);break t}if(!(1&e)){gu(u,f,e),gs();break t}l=Error(a(426))}else if(ai&&1&s.mode){var m=mu(c);if(null!==m){!(65536&m.flags)&&(m.flags|=256),bu(m,c,s,0,e),vi(fu(l,s));break t}}u=l=fu(l,s),4!==Bc&&(Bc=2),null===Gc?Gc=[u]:Gc.push(u),u=c;do{switch(u.tag){case 3:u.flags|=65536,e&=-e,u.lanes|=e,Ni(u,yu(0,l,e));break t;case 1:s=l;var b=u.type,w=u.stateNode;if(!(128&u.flags||"function"!=typeof b.getDerivedStateFromError&&(null===w||"function"!=typeof w.componentDidCatch||null!==Wc&&Wc.has(w)))){u.flags|=65536,e&=-e,u.lanes|=e,Ni(u,vu(u,s,e));break t}}u=u.return}while(null!==u)}xs(n)}catch(t){e=t,Cc===n&&null!==n&&(Cc=n=n.return);continue}break}}function vs(){var t=_c.current;return _c.current=uu,null===t?uu:t}function gs(){0!==Bc&&3!==Bc&&2!==Bc||(Bc=4),null===Tc||!(268435455&Nc)&&!(268435455&Dc)||ss(Tc,Lc)}function ms(t,e){var n=Ic;Ic|=2;var r=vs();for(Tc===t&&Lc===e||(Hc=null,ds(t,e));;)try{bs();break}catch(e){ys(t,e)}if(Ei(),Ic=n,_c.current=r,null!==Cc)throw Error(a(261));return Tc=null,Lc=0,Bc}function bs(){for(;null!==Cc;)As(Cc)}function ws(){for(;null!==Cc&&!Jt();)As(Cc)}function As(t){var e=Oc(t.alternate,t,Rc);t.memoizedProps=t.pendingProps,null===e?xs(t):Cc=e,jc.current=null}function xs(t){var e=t;do{var n=e.alternate;if(t=e.return,32768&e.flags){if(null!==(n=Ju(n,e)))return n.flags&=32767,void(Cc=n);if(null===t)return Bc=6,void(Cc=null);t.flags|=32768,t.subtreeFlags=0,t.deletions=null}else if(null!==(n=qu(n,e,Rc)))return void(Cc=n);if(null!==(e=e.sibling))return void(Cc=e);Cc=e=t}while(null!==e);0===Bc&&(Bc=5)}function Es(t,e,n){var r=we,o=Pc.transition;try{Pc.transition=null,we=1,function(t,e,n,r){do{Ss()}while(null!==Jc);if(6&Ic)throw Error(a(327));n=t.finishedWork;var o=t.finishedLanes;if(null===n)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var o=31-ue(n),i=1<<o;e[o]=0,r[o]=-1,t[o]=-1,n&=~i}}(t,i),t===Tc&&(Cc=Tc=null,Lc=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||qc||(qc=!0,Ts(ne,(function(){return Ss(),null}))),i=!!(15990&n.flags),15990&n.subtreeFlags||i){i=Pc.transition,Pc.transition=null;var u=we;we=1;var c=Ic;Ic|=4,jc.current=null,function(t,e){if(eo=He,dr(t=pr())){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{var r=(n=(n=t.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(t){n=null;break t}var u=0,c=-1,s=-1,l=0,f=0,h=t,p=null;e:for(;;){for(var d;h!==n||0!==o&&3!==h.nodeType||(c=u+o),h!==i||0!==r&&3!==h.nodeType||(s=u+r),3===h.nodeType&&(u+=h.nodeValue.length),null!==(d=h.firstChild);)p=h,h=d;for(;;){if(h===t)break e;if(p===n&&++l===o&&(c=u),p===i&&++f===r&&(s=u),null!==(d=h.nextSibling))break;p=(h=p).parentNode}h=d}n=-1===c||-1===s?null:{start:c,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(no={focusedElem:t,selectionRange:n},He=!1,tc=e;null!==tc;)if(t=(e=tc).child,1028&e.subtreeFlags&&null!==t)t.return=e,tc=t;else for(;null!==tc;){e=tc;try{var y=e.alternate;if(1024&e.flags)switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==y){var v=y.memoizedProps,g=y.memoizedState,m=e.stateNode,b=m.getSnapshotBeforeUpdate(e.elementType===e.type?v:mi(e.type,v),g);m.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=e.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(t){ks(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,tc=t;break}tc=e.return}y=rc,rc=!1}(t,n),mc(n,t),yr(no),He=!!eo,no=eo=null,t.current=n,wc(n,t,o),Kt(),Ic=c,we=u,Pc.transition=i}else t.current=n;if(qc&&(qc=!1,Jc=t,Kc=o),0===(i=t.pendingLanes)&&(Wc=null),function(t){if(ae&&"function"==typeof ae.onCommitFiberRoot)try{ae.onCommitFiberRoot(ie,t,void 0,!(128&~t.current.flags))}catch(t){}}(n.stateNode),is(t,Xt()),null!==e)for(r=t.onRecoverableError,n=0;n<e.length;n++)r((o=e[n]).value,{componentStack:o.stack,digest:o.digest});if(Vc)throw Vc=!1,t=$c,$c=null,t;!!(1&Kc)&&0!==t.tag&&Ss(),1&(i=t.pendingLanes)?t===Zc?Xc++:(Xc=0,Zc=t):Xc=0,Yo()}(t,e,n,r)}finally{Pc.transition=o,we=r}return null}function Ss(){if(null!==Jc){var t=Ae(Kc),e=Pc.transition,n=we;try{if(Pc.transition=null,we=16>t?16:t,null===Jc)var r=!1;else{if(t=Jc,Jc=null,Kc=0,6&Ic)throw Error(a(331));var o=Ic;for(Ic|=4,tc=t.current;null!==tc;){var i=tc,u=i.child;if(16&tc.flags){var c=i.deletions;if(null!==c){for(var s=0;s<c.length;s++){var l=c[s];for(tc=l;null!==tc;){var f=tc;switch(f.tag){case 0:case 11:case 15:oc(8,f,i)}var h=f.child;if(null!==h)h.return=f,tc=h;else for(;null!==tc;){var p=(f=tc).sibling,d=f.return;if(uc(f),f===l){tc=null;break}if(null!==p){p.return=d,tc=p;break}tc=d}}}var y=i.alternate;if(null!==y){var v=y.child;if(null!==v){y.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}tc=i}}if(2064&i.subtreeFlags&&null!==u)u.return=i,tc=u;else t:for(;null!==tc;){if(2048&(i=tc).flags)switch(i.tag){case 0:case 11:case 15:oc(9,i,i.return)}var m=i.sibling;if(null!==m){m.return=i.return,tc=m;break t}tc=i.return}}var b=t.current;for(tc=b;null!==tc;){var w=(u=tc).child;if(2064&u.subtreeFlags&&null!==w)w.return=u,tc=w;else t:for(u=b;null!==tc;){if(2048&(c=tc).flags)try{switch(c.tag){case 0:case 11:case 15:ic(9,c)}}catch(t){ks(c,c.return,t)}if(c===u){tc=null;break t}var A=c.sibling;if(null!==A){A.return=c.return,tc=A;break t}tc=c.return}}if(Ic=o,Yo(),ae&&"function"==typeof ae.onPostCommitFiberRoot)try{ae.onPostCommitFiberRoot(ie,t)}catch(t){}r=!0}return r}finally{we=n,Pc.transition=e}}return!1}function Os(t,e,n){t=Bi(t,e=yu(0,e=fu(n,e),1),1),e=ns(),null!==t&&(me(t,1,e),is(t,e))}function ks(t,e,n){if(3===t.tag)Os(t,t,n);else for(;null!==e;){if(3===e.tag){Os(e,t,n);break}if(1===e.tag){var r=e.stateNode;if("function"==typeof e.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Wc||!Wc.has(r))){e=Bi(e,t=vu(e,t=fu(n,t),1),1),t=ns(),null!==e&&(me(e,1,t),is(e,t));break}}e=e.return}}function _s(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),e=ns(),t.pingedLanes|=t.suspendedLanes&n,Tc===t&&(Lc&n)===n&&(4===Bc||3===Bc&&(130023424&Lc)===Lc&&500>Xt()-zc?ds(t,0):Uc|=n),is(t,e)}function js(t,e){0===e&&(1&t.mode?(e=fe,!(130023424&(fe<<=1))&&(fe=4194304)):e=1);var n=ns();null!==(t=Ti(t,e))&&(me(t,e,n),is(t,n))}function Ps(t){var e=t.memoizedState,n=0;null!==e&&(n=e.retryLane),js(t,n)}function Is(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,o=t.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(e),js(t,n)}function Ts(t,e){return Wt(t,e)}function Cs(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ls(t,e,n,r){return new Cs(t,e,n,r)}function Rs(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Ms(t,e){var n=t.alternate;return null===n?((n=Ls(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&t.flags,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Bs(t,e,n,o,i,u){var c=2;if(o=t,"function"==typeof t)Rs(t)&&(c=1);else if("string"==typeof t)c=5;else t:switch(t){case S:return Fs(n.children,i,u,e);case O:c=8,i|=8;break;case k:return(t=Ls(12,n,e,2|i)).elementType=k,t.lanes=u,t;case I:return(t=Ls(13,n,e,i)).elementType=I,t.lanes=u,t;case T:return(t=Ls(19,n,e,i)).elementType=T,t.lanes=u,t;case R:return Ns(n,i,u,e);default:if("object"===r(t)&&null!==t)switch(t.$$typeof){case _:c=10;break t;case j:c=9;break t;case P:c=11;break t;case C:c=14;break t;case L:c=16,o=null;break t}throw Error(a(130,null==t?t:r(t),""))}return(e=Ls(c,n,e,i)).elementType=t,e.type=o,e.lanes=u,e}function Fs(t,e,n,r){return(t=Ls(7,t,r,e)).lanes=n,t}function Ns(t,e,n,r){return(t=Ls(22,t,r,e)).elementType=R,t.lanes=n,t.stateNode={isHidden:!1},t}function Ds(t,e,n){return(t=Ls(6,t,null,e)).lanes=n,t}function Us(t,e,n){return(e=Ls(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Gs(t,e,n,r,o){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ge(0),this.expirationTimes=ge(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ge(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Qs(t,e,n,r,o,i,a,u,c){return t=new Gs(t,e,n,u,c),1===e?(e=1,!0===i&&(e|=8)):e=0,i=Ls(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Li(i),t}function zs(t){if(!t)return Po;t:{if(zt(t=t._reactInternals)!==t||1!==t.tag)throw Error(a(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break t;case 1:if(Ro(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break t}}e=e.return}while(null!==e);throw Error(a(171))}if(1===t.tag){var n=t.type;if(Ro(n))return Fo(t,n,e)}return e}function Ys(t,e,n,r,o,i,a,u,c){return(t=Qs(n,r,!0,t,0,i,0,u,c)).context=zs(null),n=t.current,(i=Mi(r=ns(),o=rs(n))).callback=null!=e?e:null,Bi(n,i,o),t.current.lanes=o,me(t,o,r),is(t,r),t}function Hs(t,e,n,r){var o=e.current,i=ns(),a=rs(o);return n=zs(n),null===e.context?e.context=n:e.pendingContext=n,(e=Mi(i,a)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),null!==(t=Bi(o,e,a))&&(os(t,o,a,i),Fi(t,o,a)),a}function Vs(t){return(t=t.current).child?(t.child.tag,t.child.stateNode):null}function $s(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function Ws(t,e){$s(t,e),(t=t.alternate)&&$s(t,e)}Oc=function(t,e,n){if(null!==t)if(t.memoizedProps!==e.pendingProps||To.current)Au=!0;else{if(!(t.lanes&n||128&e.flags))return Au=!1,function(t,e,n){switch(e.tag){case 3:Tu(e),yi();break;case 5:ua(e);break;case 1:Ro(e.type)&&No(e);break;case 4:ia(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,o=e.memoizedProps.value;jo(bi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=e.memoizedState))return null!==r.dehydrated?(jo(sa,1&sa.current),e.flags|=128,null):n&e.child.childLanes?Du(t,e,n):(jo(sa,1&sa.current),null!==(t=Vu(t,e,n))?t.sibling:null);jo(sa,1&sa.current);break;case 19:if(r=!!(n&e.childLanes),128&t.flags){if(r)return Yu(t,e,n);e.flags|=128}if(null!==(o=e.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),jo(sa,sa.current),r)break;return null;case 22:case 23:return e.lanes=0,ku(t,e,n)}return Vu(t,e,n)}(t,e,n);Au=!!(131072&t.flags)}else Au=!1,ai&&1048576&e.flags&&ei(e,Wo,e.index);switch(e.lanes=0,e.tag){case 2:var o=e.type;Hu(t,e),t=e.pendingProps;var i=Lo(e,Io.current);ki(e,n),i=Oa(null,e,o,t,i,n);var u=ka();return e.flags|=1,"object"===r(i)&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Ro(o)?(u=!0,No(e)):u=!1,e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Li(e),i.updater=zi,e.stateNode=i,i._reactInternals=e,$i(e,o,t,n),e=Iu(null,e,o,!0,u,n)):(e.tag=0,ai&&u&&ni(e),xu(null,e,i,n),e=e.child),e;case 16:o=e.elementType;t:{switch(Hu(t,e),t=e.pendingProps,o=(i=o._init)(o._payload),e.type=o,i=e.tag=function(t){if("function"==typeof t)return Rs(t)?1:0;if(null!=t){if((t=t.$$typeof)===P)return 11;if(t===C)return 14}return 2}(o),t=mi(o,t),i){case 0:e=ju(null,e,o,t,n);break t;case 1:e=Pu(null,e,o,t,n);break t;case 11:e=Eu(null,e,o,t,n);break t;case 14:e=Su(null,e,o,mi(o.type,t),n);break t}throw Error(a(306,o,""))}return e;case 0:return o=e.type,i=e.pendingProps,ju(t,e,o,i=e.elementType===o?i:mi(o,i),n);case 1:return o=e.type,i=e.pendingProps,Pu(t,e,o,i=e.elementType===o?i:mi(o,i),n);case 3:t:{if(Tu(e),null===t)throw Error(a(387));o=e.pendingProps,i=(u=e.memoizedState).element,Ri(t,e),Di(e,o,null,n);var c=e.memoizedState;if(o=c.element,u.isDehydrated){if(u={element:o,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},e.updateQueue.baseState=u,e.memoizedState=u,256&e.flags){e=Cu(t,e,o,n,i=fu(Error(a(423)),e));break t}if(o!==i){e=Cu(t,e,o,n,i=fu(Error(a(424)),e));break t}for(ii=lo(e.stateNode.containerInfo.firstChild),oi=e,ai=!0,ui=null,n=Zi(e,null,o,n),e.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(yi(),o===i){e=Vu(t,e,n);break t}xu(t,e,o,n)}e=e.child}return e;case 5:return ua(e),null===t&&fi(e),o=e.type,i=e.pendingProps,u=null!==t?t.memoizedProps:null,c=i.children,ro(o,i)?c=null:null!==u&&ro(o,u)&&(e.flags|=32),_u(t,e),xu(t,e,c,n),e.child;case 6:return null===t&&fi(e),null;case 13:return Du(t,e,n);case 4:return ia(e,e.stateNode.containerInfo),o=e.pendingProps,null===t?e.child=Xi(e,null,o,n):xu(t,e,o,n),e.child;case 11:return o=e.type,i=e.pendingProps,Eu(t,e,o,i=e.elementType===o?i:mi(o,i),n);case 7:return xu(t,e,e.pendingProps,n),e.child;case 8:case 12:return xu(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(o=e.type._context,i=e.pendingProps,u=e.memoizedProps,c=i.value,jo(bi,o._currentValue),o._currentValue=c,null!==u)if(cr(u.value,c)){if(u.children===i.children&&!To.current){e=Vu(t,e,n);break t}}else for(null!==(u=e.child)&&(u.return=e);null!==u;){var s=u.dependencies;if(null!==s){c=u.child;for(var l=s.firstContext;null!==l;){if(l.context===o){if(1===u.tag){(l=Mi(-1,n&-n)).tag=2;var f=u.updateQueue;if(null!==f){var h=(f=f.shared).pending;null===h?l.next=l:(l.next=h.next,h.next=l),f.pending=l}}u.lanes|=n,null!==(l=u.alternate)&&(l.lanes|=n),Oi(u.return,n,e),s.lanes|=n;break}l=l.next}}else if(10===u.tag)c=u.type===e.type?null:u.child;else if(18===u.tag){if(null===(c=u.return))throw Error(a(341));c.lanes|=n,null!==(s=c.alternate)&&(s.lanes|=n),Oi(c,n,e),c=u.sibling}else c=u.child;if(null!==c)c.return=u;else for(c=u;null!==c;){if(c===e){c=null;break}if(null!==(u=c.sibling)){u.return=c.return,c=u;break}c=c.return}u=c}xu(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,o=e.pendingProps.children,ki(e,n),o=o(i=_i(i)),e.flags|=1,xu(t,e,o,n),e.child;case 14:return i=mi(o=e.type,e.pendingProps),Su(t,e,o,i=mi(o.type,i),n);case 15:return Ou(t,e,e.type,e.pendingProps,n);case 17:return o=e.type,i=e.pendingProps,i=e.elementType===o?i:mi(o,i),Hu(t,e),e.tag=1,Ro(o)?(t=!0,No(e)):t=!1,ki(e,n),Hi(e,o,i),$i(e,o,i,n),Iu(null,e,o,!0,t,n);case 19:return Yu(t,e,n);case 22:return ku(t,e,n)}throw Error(a(156,e.tag))};var qs="function"==typeof reportError?reportError:function(t){console.error(t)};function Js(t){this._internalRoot=t}function Ks(t){this._internalRoot=t}function Xs(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)}function Zs(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function tl(){}function el(t,e,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var u=o;o=function(){var t=Vs(a);u.call(t)}}Hs(e,a,t,o)}else a=function(t,e,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var t=Vs(a);i.call(t)}}var a=Ys(e,r,t,0,null,!1,0,"",tl);return t._reactRootContainer=a,t[vo]=a.current,zr(8===t.nodeType?t.parentNode:t),hs(),a}for(;o=t.lastChild;)t.removeChild(o);if("function"==typeof r){var u=r;r=function(){var t=Vs(c);u.call(t)}}var c=Qs(t,0,!1,null,0,!1,0,"",tl);return t._reactRootContainer=c,t[vo]=c.current,zr(8===t.nodeType?t.parentNode:t),hs((function(){Hs(e,c,n,r)})),c}(n,e,t,o,r);return Vs(a)}Ks.prototype.render=Js.prototype.render=function(t){var e=this._internalRoot;if(null===e)throw Error(a(409));Hs(t,e,null,null)},Ks.prototype.unmount=Js.prototype.unmount=function(){var t=this._internalRoot;if(null!==t){this._internalRoot=null;var e=t.containerInfo;hs((function(){Hs(null,t,null,null)})),e[vo]=null}},Ks.prototype.unstable_scheduleHydration=function(t){if(t){var e=Oe();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Re.length&&0!==e&&e<Re[n].priority;n++);Re.splice(n,0,t),0===n&&Ne(t)}},xe=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=he(e.pendingLanes);0!==n&&(be(e,1|n),is(e,Xt()),!(6&Ic)&&(Yc=Xt()+500,Yo()))}break;case 13:hs((function(){var e=Ti(t,1);if(null!==e){var n=ns();os(e,t,1,n)}})),Ws(t,1)}},Ee=function(t){if(13===t.tag){var e=Ti(t,134217728);null!==e&&os(e,t,134217728,ns()),Ws(t,134217728)}},Se=function(t){if(13===t.tag){var e=rs(t),n=Ti(t,e);null!==n&&os(n,t,e,ns()),Ws(t,e)}},Oe=function(){return we},ke=function(t,e){var n=we;try{return we=t,e()}finally{we=n}},Et=function(t,e,n){switch(e){case"input":if(Z(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var o=Eo(r);if(!o)throw Error(a(90));W(r),Z(r,o)}}}break;case"textarea":at(t,n);break;case"select":null!=(e=n.value)&&rt(t,!!n.multiple,e,!1)}},Pt=fs,It=hs;var nl={usingClientEntryPoint:!1,Events:[Ao,xo,Eo,_t,jt,fs]},rl={findFiberByHostInstance:wo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ol={bundleType:rl.bundleType,version:rl.version,rendererPackageName:rl.rendererPackageName,rendererConfig:rl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=Vt(t))?null:t.stateNode},findFiberByHostInstance:rl.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var il=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!il.isDisabled&&il.supportsFiber)try{ie=il.inject(ol),ae=il}catch(ft){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nl,e.createPortal=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xs(e))throw Error(a(200));return function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}(t,e,null,n)},e.createRoot=function(t,e){if(!Xs(t))throw Error(a(299));var n=!1,r="",o=qs;return null!=e&&(!0===e.unstable_strictMode&&(n=!0),void 0!==e.identifierPrefix&&(r=e.identifierPrefix),void 0!==e.onRecoverableError&&(o=e.onRecoverableError)),e=Qs(t,1,!1,null,0,n,0,r,o),t[vo]=e.current,zr(8===t.nodeType?t.parentNode:t),new Js(e)},e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if("function"==typeof t.render)throw Error(a(188));throw t=Object.keys(t).join(","),Error(a(268,t))}return null===(t=Vt(e))?null:t.stateNode},e.flushSync=function(t){return hs(t)},e.hydrate=function(t,e,n){if(!Zs(e))throw Error(a(200));return el(null,t,e,!0,n)},e.hydrateRoot=function(t,e,n){if(!Xs(t))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",u=qs;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(u=n.onRecoverableError)),e=Ys(e,null,t,1,null!=n?n:null,o,0,i,u),t[vo]=e.current,zr(t),r)for(t=0;t<r.length;t++)o=(o=(n=r[t])._getVersion)(n._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[n,o]:e.mutableSourceEagerHydrationData.push(n,o);return new Ks(e)},e.render=function(t,e,n){if(!Zs(e))throw Error(a(200));return el(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!Zs(t))throw Error(a(40));return!!t._reactRootContainer&&(hs((function(){el(null,null,t,!1,(function(){t._reactRootContainer=null,t[vo]=null}))})),!0)},e.unstable_batchedUpdates=fs,e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Zs(n))throw Error(a(200));if(null==t||void 0===t._reactInternals)throw Error(a(38));return el(t,e,n,!1,r)},e.version="18.2.0-next-9e3b772b8-20220608"},19018:function(t,e,n){var r=n(99793);e.createRoot=r.createRoot,e.hydrateRoot=r.hydrateRoot},99793:function(t,e,n){!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=n(19079)},41749:function(t,e){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var r=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler");Symbol.for("react.provider");var c=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),v=Symbol.for("react.client.reference");e.Hy=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===u||t===a||t===f||t===h||t===y||"object"===n(t)&&null!==t&&(t.$$typeof===d||t.$$typeof===p||t.$$typeof===s||t.$$typeof===c||t.$$typeof===l||t.$$typeof===v||void 0!==t.getModuleId)},e.QP=function(t){if("object"===n(t)&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case i:case u:case a:case f:case h:return t;default:switch(t=t&&t.$$typeof){case s:case l:case d:case p:case c:return t;default:return e}}case o:return e}}}},58663:function(t,e){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}var r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator,y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,g={};function m(t,e,n){this.props=t,this.context=e,this.refs=g,this.updater=n||y}function b(){}function w(t,e,n){this.props=t,this.context=e,this.refs=g,this.updater=n||y}m.prototype.isReactComponent={},m.prototype.setState=function(t,e){if("object"!==n(t)&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},m.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=m.prototype;var A=w.prototype=new b;A.constructor=w,v(A,m.prototype),A.isPureReactComponent=!0;var x=Array.isArray,E=Object.prototype.hasOwnProperty,S={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function k(t,e,n){var o,i={},a=null,u=null;if(null!=e)for(o in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(a=""+e.key),e)E.call(e,o)&&!O.hasOwnProperty(o)&&(i[o]=e[o]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];i.children=s}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:r,type:t,key:a,ref:u,props:i,_owner:S.current}}function _(t){return"object"===n(t)&&null!==t&&t.$$typeof===r}var j=/\/+/g;function P(t,e){return"object"===n(t)&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function I(t,e,i,a,u){var c=n(t);"undefined"!==c&&"boolean"!==c||(t=null);var s=!1;if(null===t)s=!0;else switch(c){case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case r:case o:s=!0}}if(s)return u=u(s=t),t=""===a?"."+P(s,0):a,x(u)?(i="",null!=t&&(i=t.replace(j,"$&/")+"/"),I(u,e,i,"",(function(t){return t}))):null!=u&&(_(u)&&(u=function(t,e){return{$$typeof:r,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(u,i+(!u.key||s&&s.key===u.key?"":(""+u.key).replace(j,"$&/")+"/")+t)),e.push(u)),1;if(s=0,a=""===a?".":a+":",x(t))for(var l=0;l<t.length;l++){var f=a+P(c=t[l],l);s+=I(c,e,i,f,u)}else if(f=function(t){return null===t||"object"!==n(t)?null:"function"==typeof(t=d&&t[d]||t["@@iterator"])?t:null}(t),"function"==typeof f)for(t=f.call(t),l=0;!(c=t.next()).done;)s+=I(c=c.value,e,i,f=a+P(c,l++),u);else if("object"===c)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return s}function T(t,e,n){if(null==t)return t;var r=[],o=0;return I(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function C(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var L={current:null},R={transition:null},M={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:R,ReactCurrentOwner:S};e.Children={map:T,forEach:function(t,e,n){T(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return T(t,(function(){e++})),e},toArray:function(t){return T(t,(function(t){return t}))||[]},only:function(t){if(!_(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=m,e.Fragment=i,e.Profiler=u,e.PureComponent=w,e.StrictMode=a,e.Suspense=f,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,e.cloneElement=function(t,e,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=v({},t.props),i=t.key,a=t.ref,u=t._owner;if(null!=e){if(void 0!==e.ref&&(a=e.ref,u=S.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(s in e)E.call(e,s)&&!O.hasOwnProperty(s)&&(o[s]=void 0===e[s]&&void 0!==c?c[s]:e[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:r,type:t.type,key:i,ref:a,props:o,_owner:u}},e.createContext=function(t){return(t={$$typeof:s,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:t},t.Consumer=t},e.createElement=k,e.createFactory=function(t){var e=k.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:l,render:t}},e.isValidElement=_,e.lazy=function(t){return{$$typeof:p,_payload:{_status:-1,_result:t},_init:C}},e.memo=function(t,e){return{$$typeof:h,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=R.transition;R.transition={};try{t()}finally{R.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return L.current.useCallback(t,e)},e.useContext=function(t){return L.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return L.current.useDeferredValue(t)},e.useEffect=function(t,e){return L.current.useEffect(t,e)},e.useId=function(){return L.current.useId()},e.useImperativeHandle=function(t,e,n){return L.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return L.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return L.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return L.current.useMemo(t,e)},e.useReducer=function(t,e,n){return L.current.useReducer(t,e,n)},e.useRef=function(t){return L.current.useRef(t)},e.useState=function(t){return L.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return L.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return L.current.useTransition()},e.version="18.2.0"},22732:function(t,e,n){t.exports=n(58663)},30124:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=function(t){var e,n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),u=new T(r||[]);return i(a,"_invoke",{value:_(t,n,u)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var p="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function m(){}function b(){}function w(){}var A={};l(A,u,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(C([])));E&&E!==n&&o.call(E,u)&&(A=E);var S=w.prototype=m.prototype=Object.create(A);function O(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(i,a,u,c){var s=h(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"===r(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):e.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function _(t,n,r){var o=p;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=j(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var s=h(t,n,r);if("normal"===s.type){if(o=r.done?v:d,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=v,r.method="throw",r.arg=s.arg)}}}function j(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,j(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function C(t){if(null!=t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(o.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(r(t)+" is not iterable")}return b.prototype=w,i(S,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:b,configurable:!0}),b.displayName=l(w,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},O(k.prototype),l(k.prototype,c,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new k(f(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(S),l(S,s,"Generator"),l(S,u,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=C,T.prototype={constructor:T,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(I),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,o){return u.type="throw",u.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},t}("object"===r(t=n.nmd(t))?t.exports:{});try{regeneratorRuntime=o}catch(t){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},89143:function(t,e){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var n=t.length;t.push(e);t:for(;0<n;){var r=n-1>>>1,o=t[r];if(!(0<a(o,e)))break t;t[r]=e,t[n]=o,n=r}}function o(t){return 0===t.length?null:t[0]}function i(t){if(0===t.length)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,o=t.length,i=o>>>1;r<i;){var u=2*(r+1)-1,c=t[u],s=u+1,l=t[s];if(0>a(c,n))s<o&&0>a(l,c)?(t[r]=l,t[s]=n,r=s):(t[r]=c,t[u]=n,r=u);else{if(!(s<o&&0>a(l,n)))break t;t[r]=l,t[s]=n,r=s}}}return e}function a(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if("object"===("undefined"==typeof performance?"undefined":n(performance))&&"function"==typeof performance.now){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,s=c.now();e.unstable_now=function(){return c.now()-s}}var l=[],f=[],h=1,p=null,d=3,y=!1,v=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function A(t){for(var e=o(f);null!==e;){if(null===e.callback)i(f);else{if(!(e.startTime<=t))break;i(f),e.sortIndex=e.expirationTime,r(l,e)}e=o(f)}}function x(t){if(g=!1,A(t),!v)if(null!==o(l))v=!0,R(E);else{var e=o(f);null!==e&&M(x,e.startTime-t)}}function E(t,n){v=!1,g&&(g=!1,b(_),_=-1),y=!0;var r=d;try{for(A(n),p=o(l);null!==p&&(!(p.expirationTime>n)||t&&!I());){var a=p.callback;if("function"==typeof a){p.callback=null,d=p.priorityLevel;var u=a(p.expirationTime<=n);n=e.unstable_now(),"function"==typeof u?p.callback=u:p===o(l)&&i(l),A(n)}else i(l);p=o(l)}if(null!==p)var c=!0;else{var s=o(f);null!==s&&M(x,s.startTime-n),c=!1}return c}finally{p=null,d=r,y=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,O=!1,k=null,_=-1,j=5,P=-1;function I(){return!(e.unstable_now()-P<j)}function T(){if(null!==k){var t=e.unstable_now();P=t;var n=!0;try{n=k(!0,t)}finally{n?S():(O=!1,k=null)}}else O=!1}if("function"==typeof w)S=function(){w(T)};else if("undefined"!=typeof MessageChannel){var C=new MessageChannel,L=C.port2;C.port1.onmessage=T,S=function(){L.postMessage(null)}}else S=function(){m(T,0)};function R(t){k=t,O||(O=!0,S())}function M(t,n){_=m((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){v||y||(v=!0,R(E))},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return o(l)},e.unstable_next=function(t){switch(d){case 1:case 2:case 3:var e=3;break;default:e=d}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_scheduleCallback=function(t,i,a){var u=e.unstable_now();switch(a="object"===n(a)&&null!==a&&"number"==typeof(a=a.delay)&&0<a?u+a:u,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:c=a+c,sortIndex:-1},a>u?(t.sortIndex=a,r(f,t),null===o(l)&&t===o(f)&&(g?(b(_),_=-1):g=!0,M(x,a-u))):(t.sortIndex=c,r(l,t),v||y||(v=!0,R(E))),t},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(t){var e=d;return function(){var n=d;d=e;try{return t.apply(this,arguments)}finally{d=n}}}},68206:function(t,e,n){t.exports=n(89143)},68800:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}var a=Symbol("SemVer ANY"),u=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=c(n),e instanceof t){if(e.loose===!!n.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),p("comparator",e,n),this.options=n,this.loose=!!n.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}return function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"parse",value:function(t){var e=this.options.loose?l[f.COMPARATORLOOSE]:l[f.COMPARATOR],n=t.match(e);if(!n)throw new TypeError("Invalid comparator: ".concat(t));this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=a}},{key:"toString",value:function(){return this.value}},{key:"test",value:function(t){if(p("Comparator.test",t,this.options.loose),this.semver===a||t===a)return!0;if("string"==typeof t)try{t=new d(t,this.options)}catch(t){return!1}return h(t,this.operator,this.semver,this.options)}},{key:"intersects",value:function(e,n){if(!(e instanceof t))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new y(e.value,n).test(this.value):""===e.operator?""===e.value||new y(this.value,n).test(e.semver):!((n=c(n)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(h(this.semver,"<",e.semver,n)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(h(this.semver,">",e.semver,n)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}],[{key:"ANY",get:function(){return a}}])}();t.exports=u;var c=n(89931),s=n(26518),l=s.safeRe,f=s.t,h=n(18719),p=n(54651),d=n(48708),y=n(69431)},69431:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=i(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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 a,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw a}}}}function i(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}function c(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}var s=function(){function t(e,n){var r=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=f(n),e instanceof t)return e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease?e:new t(e.raw,n);if(e instanceof h)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(t){return r.parseRange(t.trim())})).filter((function(t){return t.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(this.raw));if(this.set.length>1){var i=this.set[0];if(this.set=this.set.filter((function(t){return!S(t[0])})),0===this.set.length)this.set=[i];else if(this.set.length>1){var a,u=o(this.set);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(1===c.length&&O(c[0])){this.set=[c];break}}}catch(t){u.e(t)}finally{u.f()}}}this.format()}return e=t,(n=[{key:"format",value:function(){return this.range=this.set.map((function(t){return t.join(" ").trim()})).join("||").trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(t){var e=this,n=((this.options.includePrerelease&&x)|(this.options.loose&&E))+":"+t,r=l.get(n);if(r)return r;var u=this.options.loose,c=u?v[g.HYPHENRANGELOOSE]:v[g.HYPHENRANGE];t=t.replace(c,F(this.options.includePrerelease)),p("hyphen replace",t),t=t.replace(v[g.COMPARATORTRIM],m),p("comparator trim",t),t=t.replace(v[g.TILDETRIM],b),p("tilde trim",t),t=t.replace(v[g.CARETTRIM],w),p("caret trim",t);var s=t.split(" ").map((function(t){return _(t,e.options)})).join(" ").split(/\s+/).map((function(t){return B(t,e.options)}));u&&(s=s.filter((function(t){return p("loose invalid filter",t,e.options),!!t.match(v[g.COMPARATORLOOSE])}))),p("range list",s);var f,d=new Map,y=s.map((function(t){return new h(t,e.options)})),A=o(y);try{for(A.s();!(f=A.n()).done;){var O=f.value;if(S(O))return[O];d.set(O.value,O)}}catch(t){A.e(t)}finally{A.f()}d.size>1&&d.has("")&&d.delete("");var k,j=function(t){if(Array.isArray(t))return a(t)}(k=d.values())||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(k)||i(k)||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.")}();return l.set(n,j),j}},{key:"intersects",value:function(e,n){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some((function(t){return k(t,n)&&e.set.some((function(e){return k(e,n)&&t.every((function(t){return e.every((function(e){return t.intersects(e,n)}))}))}))}))}},{key:"test",value:function(t){if(!t)return!1;if("string"==typeof t)try{t=new d(t,this.options)}catch(t){return!1}for(var e=0;e<this.set.length;e++)if(N(this.set[e],t,this.options))return!0;return!1}}])&&u(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();t.exports=s;var l=new(n(32293))({max:1e3}),f=n(89931),h=n(68800),p=n(54651),d=n(48708),y=n(26518),v=y.safeRe,g=y.t,m=y.comparatorTrimReplace,b=y.tildeTrimReplace,w=y.caretTrimReplace,A=n(56346),x=A.FLAG_INCLUDE_PRERELEASE,E=A.FLAG_LOOSE,S=function(t){return"<0.0.0-0"===t.value},O=function(t){return""===t.value},k=function(t,e){for(var n=!0,r=t.slice(),o=r.pop();n&&r.length;)n=r.every((function(t){return o.intersects(t,e)})),o=r.pop();return n},_=function(t,e){return p("comp",t,e),t=T(t,e),p("caret",t),t=P(t,e),p("tildes",t),t=L(t,e),p("xrange",t),t=M(t,e),p("stars",t),t},j=function(t){return!t||"x"===t.toLowerCase()||"*"===t},P=function(t,e){return t.trim().split(/\s+/).map((function(t){return I(t,e)})).join(" ")},I=function(t,e){var n=e.loose?v[g.TILDELOOSE]:v[g.TILDE];return t.replace(n,(function(e,n,r,o,i){var a;return p("tilde",t,e,n,r,o,i),j(n)?a="":j(r)?a=">=".concat(n,".0.0 <").concat(+n+1,".0.0-0"):j(o)?a=">=".concat(n,".").concat(r,".0 <").concat(n,".").concat(+r+1,".0-0"):i?(p("replaceTilde pr",i),a=">=".concat(n,".").concat(r,".").concat(o,"-").concat(i," <").concat(n,".").concat(+r+1,".0-0")):a=">=".concat(n,".").concat(r,".").concat(o," <").concat(n,".").concat(+r+1,".0-0"),p("tilde return",a),a}))},T=function(t,e){return t.trim().split(/\s+/).map((function(t){return C(t,e)})).join(" ")},C=function(t,e){p("caret",t,e);var n=e.loose?v[g.CARETLOOSE]:v[g.CARET],r=e.includePrerelease?"-0":"";return t.replace(n,(function(e,n,o,i,a){var u;return p("caret",t,e,n,o,i,a),j(n)?u="":j(o)?u=">=".concat(n,".0.0").concat(r," <").concat(+n+1,".0.0-0"):j(i)?u="0"===n?">=".concat(n,".").concat(o,".0").concat(r," <").concat(n,".").concat(+o+1,".0-0"):">=".concat(n,".").concat(o,".0").concat(r," <").concat(+n+1,".0.0-0"):a?(p("replaceCaret pr",a),u="0"===n?"0"===o?">=".concat(n,".").concat(o,".").concat(i,"-").concat(a," <").concat(n,".").concat(o,".").concat(+i+1,"-0"):">=".concat(n,".").concat(o,".").concat(i,"-").concat(a," <").concat(n,".").concat(+o+1,".0-0"):">=".concat(n,".").concat(o,".").concat(i,"-").concat(a," <").concat(+n+1,".0.0-0")):(p("no pr"),u="0"===n?"0"===o?">=".concat(n,".").concat(o,".").concat(i).concat(r," <").concat(n,".").concat(o,".").concat(+i+1,"-0"):">=".concat(n,".").concat(o,".").concat(i).concat(r," <").concat(n,".").concat(+o+1,".0-0"):">=".concat(n,".").concat(o,".").concat(i," <").concat(+n+1,".0.0-0")),p("caret return",u),u}))},L=function(t,e){return p("replaceXRanges",t,e),t.split(/\s+/).map((function(t){return R(t,e)})).join(" ")},R=function(t,e){t=t.trim();var n=e.loose?v[g.XRANGELOOSE]:v[g.XRANGE];return t.replace(n,(function(n,r,o,i,a,u){p("xRange",t,n,r,o,i,a,u);var c=j(o),s=c||j(i),l=s||j(a),f=l;return"="===r&&f&&(r=""),u=e.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&f?(s&&(i=0),a=0,">"===r?(r=">=",s?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",s?o=+o+1:i=+i+1),"<"===r&&(u="-0"),n="".concat(r+o,".").concat(i,".").concat(a).concat(u)):s?n=">=".concat(o,".0.0").concat(u," <").concat(+o+1,".0.0-0"):l&&(n=">=".concat(o,".").concat(i,".0").concat(u," <").concat(o,".").concat(+i+1,".0-0")),p("xRange return",n),n}))},M=function(t,e){return p("replaceStars",t,e),t.trim().replace(v[g.STAR],"")},B=function(t,e){return p("replaceGTE0",t,e),t.trim().replace(v[e.includePrerelease?g.GTE0PRE:g.GTE0],"")},F=function(t){return function(e,n,r,o,i,a,u,c,s,l,f,h,p){return n=j(r)?"":j(o)?">=".concat(r,".0.0").concat(t?"-0":""):j(i)?">=".concat(r,".").concat(o,".0").concat(t?"-0":""):a?">=".concat(n):">=".concat(n).concat(t?"-0":""),c=j(s)?"":j(l)?"<".concat(+s+1,".0.0-0"):j(f)?"<".concat(s,".").concat(+l+1,".0-0"):h?"<=".concat(s,".").concat(l,".").concat(f,"-").concat(h):t?"<".concat(s,".").concat(l,".").concat(+f+1,"-0"):"<=".concat(c),"".concat(n," ").concat(c).trim()}},N=function(t,e,n){for(var r=0;r<t.length;r++)if(!t[r].test(e))return!1;if(e.prerelease.length&&!n.includePrerelease){for(var o=0;o<t.length;o++)if(p(t[o].semver),t[o].semver!==h.ANY&&t[o].semver.prerelease.length>0){var i=t[o].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}},48708:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}var a=n(54651),u=n(56346),c=u.MAX_LENGTH,s=u.MAX_SAFE_INTEGER,l=n(26518),f=l.safeRe,h=l.t,p=n(89931),d=n(15539).compareIdentifiers,y=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=p(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError('Invalid version. Must be a string. Got type "'.concat(r(e),'".'));if(e.length>c)throw new TypeError("version is longer than ".concat(c," characters"));a("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var o=e.trim().match(n.loose?f[h.LOOSE]:f[h.FULL]);if(!o)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<s)return e}return t})):this.prerelease=[],this.build=o[5]?o[5].split("."):[],this.format()}return e=t,(n=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(e){if(a("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}},{key:"compareMain",value:function(e){return e instanceof t||(e=new t(e,this.options)),d(this.major,e.major)||d(this.minor,e.minor)||d(this.patch,e.patch)}},{key:"comparePre",value:function(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var n=0;do{var r=this.prerelease[n],o=e.prerelease[n];if(a("prerelease compare",n,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return d(r,o)}while(++n)}},{key:"compareBuild",value:function(e){e instanceof t||(e=new t(e,this.options));var n=0;do{var r=this.build[n],o=e.build[n];if(a("prerelease compare",n,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return d(r,o)}while(++n)}},{key:"inc",value:function(t,e,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,n),this.inc("pre",e,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,n),this.inc("pre",e,n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":var r=Number(n)?1:0;if(!e&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[r];else{for(var o=this.prerelease.length;--o>=0;)"number"==typeof this.prerelease[o]&&(this.prerelease[o]++,o=-2);if(-1===o){if(e===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(e){var i=[e,r];!1===n&&(i=[e]),0===d(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break;default:throw new Error("invalid increment argument: ".concat(t))}return this.raw=this.format(),this.build.length&&(this.raw+="+".concat(this.build.join("."))),this}}])&&o(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();t.exports=y},54454:function(t,e,n){var r=n(53904);t.exports=function(t,e){var n=r(t.trim().replace(/^[=v]+/,""),e);return n?n.version:null}},18719:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(56641),i=n(48991),a=n(2668),u=n(94393),c=n(49027),s=n(51456);t.exports=function(t,e,n,l){switch(e){case"===":return"object"===r(t)&&(t=t.version),"object"===r(n)&&(n=n.version),t===n;case"!==":return"object"===r(t)&&(t=t.version),"object"===r(n)&&(n=n.version),t!==n;case"":case"=":case"==":return o(t,n,l);case"!=":return i(t,n,l);case">":return a(t,n,l);case">=":return u(t,n,l);case"<":return c(t,n,l);case"<=":return s(t,n,l);default:throw new TypeError("Invalid operator: ".concat(e))}}},85981:function(t,e,n){var r=n(48708),o=n(53904),i=n(26518),a=i.safeRe,u=i.t;t.exports=function(t,e){if(t instanceof r)return t;if("number"==typeof t&&(t=String(t)),"string"!=typeof t)return null;var n=null;if((e=e||{}).rtl){for(var i;(i=a[u.COERCERTL].exec(t))&&(!n||n.index+n[0].length!==t.length);)n&&i.index+i[0].length===n.index+n[0].length||(n=i),a[u.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;a[u.COERCERTL].lastIndex=-1}else n=t.match(a[u.COERCE]);return null===n?null:o("".concat(n[2],".").concat(n[3]||"0",".").concat(n[4]||"0"),e)}},60509:function(t,e,n){var r=n(48708);t.exports=function(t,e,n){var o=new r(t,n),i=new r(e,n);return o.compare(i)||o.compareBuild(i)}},80227:function(t,e,n){var r=n(73616);t.exports=function(t,e){return r(t,e,!0)}},73616:function(t,e,n){var r=n(48708);t.exports=function(t,e,n){return new r(t,n).compare(new r(e,n))}},21928:function(t,e,n){var r=n(53904);t.exports=function(t,e){var n=r(t,null,!0),o=r(e,null,!0),i=n.compare(o);if(0===i)return null;var a=i>0,u=a?n:o,c=a?o:n,s=!!u.prerelease.length;if(c.prerelease.length&&!s)return c.patch||c.minor?u.patch?"patch":u.minor?"minor":"major":"major";var l=s?"pre":"";return n.major!==o.major?l+"major":n.minor!==o.minor?l+"minor":n.patch!==o.patch?l+"patch":"prerelease"}},56641:function(t,e,n){var r=n(73616);t.exports=function(t,e,n){return 0===r(t,e,n)}},2668:function(t,e,n){var r=n(73616);t.exports=function(t,e,n){return r(t,e,n)>0}},94393:function(t,e,n){var r=n(73616);t.exports=function(t,e,n){return r(t,e,n)>=0}},159:function(t,e,n){var r=n(48708);t.exports=function(t,e,n,o,i){"string"==typeof n&&(i=o,o=n,n=void 0);try{return new r(t instanceof r?t.version:t,n).inc(e,o,i).version}catch(t){return null}}},49027:function(t,e,n){var r=n(73616);t.exports=function(t,e,n){return r(t,e,n)<0}},51456:function(t,e,n){var r=n(73616);t.exports=function(t,e,n){return r(t,e,n)<=0}},22810:function(t,e,n){var r=n(48708);t.exports=function(t,e){return new r(t,e).major}},24190:function(t,e,n){var r=n(48708);t.exports=function(t,e){return new r(t,e).minor}},48991:function(t,e,n){var r=n(73616);t.exports=function(t,e,n){return 0!==r(t,e,n)}},53904:function(t,e,n){var r=n(48708);t.exports=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t instanceof r)return t;try{return new r(t,e)}catch(t){if(!n)return null;throw t}}},43645:function(t,e,n){var r=n(48708);t.exports=function(t,e){return new r(t,e).patch}},78593:function(t,e,n){var r=n(53904);t.exports=function(t,e){var n=r(t,e);return n&&n.prerelease.length?n.prerelease:null}},78946:function(t,e,n){var r=n(73616);t.exports=function(t,e,n){return r(e,t,n)}},31189:function(t,e,n){var r=n(60509);t.exports=function(t,e){return t.sort((function(t,n){return r(n,t,e)}))}},66422:function(t,e,n){var r=n(69431);t.exports=function(t,e,n){try{e=new r(e,n)}catch(t){return!1}return e.test(t)}},37863:function(t,e,n){var r=n(60509);t.exports=function(t,e){return t.sort((function(t,n){return r(t,n,e)}))}},57193:function(t,e,n){var r=n(53904);t.exports=function(t,e){var n=r(t,e);return n?n.version:null}},83605:function(t,e,n){var r=n(26518),o=n(56346),i=n(48708),a=n(15539),u=n(53904),c=n(57193),s=n(54454),l=n(159),f=n(21928),h=n(22810),p=n(24190),d=n(43645),y=n(78593),v=n(73616),g=n(78946),m=n(80227),b=n(60509),w=n(37863),A=n(31189),x=n(2668),E=n(49027),S=n(56641),O=n(48991),k=n(94393),_=n(51456),j=n(18719),P=n(85981),I=n(68800),T=n(69431),C=n(66422),L=n(33967),R=n(15388),M=n(55102),B=n(96829),F=n(55842),N=n(6851),D=n(40003),U=n(87694),G=n(89308),Q=n(24253),z=n(84200);t.exports={parse:u,valid:c,clean:s,inc:l,diff:f,major:h,minor:p,patch:d,prerelease:y,compare:v,rcompare:g,compareLoose:m,compareBuild:b,sort:w,rsort:A,gt:x,lt:E,eq:S,neq:O,gte:k,lte:_,cmp:j,coerce:P,Comparator:I,Range:T,satisfies:C,toComparators:L,maxSatisfying:R,minSatisfying:M,minVersion:B,validRange:F,outside:N,gtr:D,ltr:U,intersects:G,simplifyRange:Q,subset:z,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},56346:function(t){var e=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},54651:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var n="object"===("undefined"==typeof process?"undefined":e(process))&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?function(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=console).error.apply(t,["SEMVER"].concat(n))}:function(){};t.exports=n},15539:function(t){var e=/^[0-9]+$/,n=function(t,n){var r=e.test(t),o=e.test(n);return r&&o&&(t=+t,n=+n),t===n?0:r&&!o?-1:o&&!r?1:t<n?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:function(t,e){return n(e,t)}}},89931:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=function(t){return t?"object"!==e(t)?n:t:r}},26518:function(t,e,n){function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var o=n(56346),i=o.MAX_SAFE_COMPONENT_LENGTH,a=o.MAX_SAFE_BUILD_LENGTH,u=o.MAX_LENGTH,c=n(54651),s=(e=t.exports={}).re=[],l=e.safeRe=[],f=e.src=[],h=e.t={},p=0,d="[a-zA-Z0-9-]",y=[["\\s",1],["\\d",u],[d,a]],v=function(t,e,n){var o=function(t){for(var e=0,n=y;e<n.length;e++){var o=(c=2,function(t){if(Array.isArray(t))return t}(u=n[e])||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(u,c)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(u,c)||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.")}()),i=o[0],a=o[1];t=t.split("".concat(i,"*")).join("".concat(i,"{0,").concat(a,"}")).split("".concat(i,"+")).join("".concat(i,"{1,").concat(a,"}"))}var u,c;return t}(e),i=p++;c(t,i,e),h[t]=i,f[i]=e,s[i]=new RegExp(e,n?"g":void 0),l[i]=new RegExp(o,n?"g":void 0)};v("NUMERICIDENTIFIER","0|[1-9]\\d*"),v("NUMERICIDENTIFIERLOOSE","\\d+"),v("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-]".concat(d,"*")),v("MAINVERSION","(".concat(f[h.NUMERICIDENTIFIER],")\\.")+"(".concat(f[h.NUMERICIDENTIFIER],")\\.")+"(".concat(f[h.NUMERICIDENTIFIER],")")),v("MAINVERSIONLOOSE","(".concat(f[h.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(f[h.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(f[h.NUMERICIDENTIFIERLOOSE],")")),v("PRERELEASEIDENTIFIER","(?:".concat(f[h.NUMERICIDENTIFIER],"|").concat(f[h.NONNUMERICIDENTIFIER],")")),v("PRERELEASEIDENTIFIERLOOSE","(?:".concat(f[h.NUMERICIDENTIFIERLOOSE],"|").concat(f[h.NONNUMERICIDENTIFIER],")")),v("PRERELEASE","(?:-(".concat(f[h.PRERELEASEIDENTIFIER],"(?:\\.").concat(f[h.PRERELEASEIDENTIFIER],")*))")),v("PRERELEASELOOSE","(?:-?(".concat(f[h.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(f[h.PRERELEASEIDENTIFIERLOOSE],")*))")),v("BUILDIDENTIFIER","".concat(d,"+")),v("BUILD","(?:\\+(".concat(f[h.BUILDIDENTIFIER],"(?:\\.").concat(f[h.BUILDIDENTIFIER],")*))")),v("FULLPLAIN","v?".concat(f[h.MAINVERSION]).concat(f[h.PRERELEASE],"?").concat(f[h.BUILD],"?")),v("FULL","^".concat(f[h.FULLPLAIN],"$")),v("LOOSEPLAIN","[v=\\s]*".concat(f[h.MAINVERSIONLOOSE]).concat(f[h.PRERELEASELOOSE],"?").concat(f[h.BUILD],"?")),v("LOOSE","^".concat(f[h.LOOSEPLAIN],"$")),v("GTLT","((?:<|>)?=?)"),v("XRANGEIDENTIFIERLOOSE","".concat(f[h.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),v("XRANGEIDENTIFIER","".concat(f[h.NUMERICIDENTIFIER],"|x|X|\\*")),v("XRANGEPLAIN","[v=\\s]*(".concat(f[h.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(f[h.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(f[h.XRANGEIDENTIFIER],")")+"(?:".concat(f[h.PRERELEASE],")?").concat(f[h.BUILD],"?")+")?)?"),v("XRANGEPLAINLOOSE","[v=\\s]*(".concat(f[h.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(f[h.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(f[h.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(f[h.PRERELEASELOOSE],")?").concat(f[h.BUILD],"?")+")?)?"),v("XRANGE","^".concat(f[h.GTLT],"\\s*").concat(f[h.XRANGEPLAIN],"$")),v("XRANGELOOSE","^".concat(f[h.GTLT],"\\s*").concat(f[h.XRANGEPLAINLOOSE],"$")),v("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(i,"})")+"(?:\\.(\\d{1,".concat(i,"}))?")+"(?:\\.(\\d{1,".concat(i,"}))?")+"(?:$|[^\\d])"),v("COERCERTL",f[h.COERCE],!0),v("LONETILDE","(?:~>?)"),v("TILDETRIM","(\\s*)".concat(f[h.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",v("TILDE","^".concat(f[h.LONETILDE]).concat(f[h.XRANGEPLAIN],"$")),v("TILDELOOSE","^".concat(f[h.LONETILDE]).concat(f[h.XRANGEPLAINLOOSE],"$")),v("LONECARET","(?:\\^)"),v("CARETTRIM","(\\s*)".concat(f[h.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",v("CARET","^".concat(f[h.LONECARET]).concat(f[h.XRANGEPLAIN],"$")),v("CARETLOOSE","^".concat(f[h.LONECARET]).concat(f[h.XRANGEPLAINLOOSE],"$")),v("COMPARATORLOOSE","^".concat(f[h.GTLT],"\\s*(").concat(f[h.LOOSEPLAIN],")$|^$")),v("COMPARATOR","^".concat(f[h.GTLT],"\\s*(").concat(f[h.FULLPLAIN],")$|^$")),v("COMPARATORTRIM","(\\s*)".concat(f[h.GTLT],"\\s*(").concat(f[h.LOOSEPLAIN],"|").concat(f[h.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",v("HYPHENRANGE","^\\s*(".concat(f[h.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(f[h.XRANGEPLAIN],")")+"\\s*$"),v("HYPHENRANGELOOSE","^\\s*(".concat(f[h.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(f[h.XRANGEPLAINLOOSE],")")+"\\s*$"),v("STAR","(<|>)?=?\\s*\\*"),v("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),v("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},32293:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,u(r.key),r)}}function a(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t){var e=function(t){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==r(e)?e:e+""}var c=n(7215),s=Symbol("max"),l=Symbol("length"),f=Symbol("lengthCalculator"),h=Symbol("allowStale"),p=Symbol("maxAge"),d=Symbol("dispose"),y=Symbol("noDisposeOnSet"),v=Symbol("lruList"),g=Symbol("cache"),m=Symbol("updateAgeOnGet"),b=function(){return 1},w=function(){return a((function t(e){if(o(this,t),"number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[s]=e.max||1/0;var n=e.length||b;if(this[f]="function"!=typeof n?b:n,this[h]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[p]=e.maxAge||0,this[d]=e.dispose,this[y]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}),[{key:"max",get:function(){return this[s]},set:function(t){if("number"!=typeof t||t<0)throw new TypeError("max must be a non-negative number");this[s]=t||1/0,E(this)}},{key:"allowStale",get:function(){return this[h]},set:function(t){this[h]=!!t}},{key:"maxAge",get:function(){return this[p]},set:function(t){if("number"!=typeof t)throw new TypeError("maxAge must be a non-negative number");this[p]=t,E(this)}},{key:"lengthCalculator",get:function(){return this[f]},set:function(t){var e=this;"function"!=typeof t&&(t=b),t!==this[f]&&(this[f]=t,this[l]=0,this[v].forEach((function(t){t.length=e[f](t.value,t.key),e[l]+=t.length}))),E(this)}},{key:"length",get:function(){return this[l]}},{key:"itemCount",get:function(){return this[v].length}},{key:"rforEach",value:function(t,e){e=e||this;for(var n=this[v].tail;null!==n;){var r=n.prev;k(this,t,n,e),n=r}}},{key:"forEach",value:function(t,e){e=e||this;for(var n=this[v].head;null!==n;){var r=n.next;k(this,t,n,e),n=r}}},{key:"keys",value:function(){return this[v].toArray().map((function(t){return t.key}))}},{key:"values",value:function(){return this[v].toArray().map((function(t){return t.value}))}},{key:"reset",value:function(){var t=this;this[d]&&this[v]&&this[v].length&&this[v].forEach((function(e){return t[d](e.key,e.value)})),this[g]=new Map,this[v]=new c,this[l]=0}},{key:"dump",value:function(){var t=this;return this[v].map((function(e){return!x(t,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}})).toArray().filter((function(t){return t}))}},{key:"dumpLru",value:function(){return this[v]}},{key:"set",value:function(t,e,n){if((n=n||this[p])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");var r=n?Date.now():0,o=this[f](e,t);if(this[g].has(t)){if(o>this[s])return S(this,this[g].get(t)),!1;var i=this[g].get(t).value;return this[d]&&(this[y]||this[d](t,i.value)),i.now=r,i.maxAge=n,i.value=e,this[l]+=o-i.length,i.length=o,this.get(t),E(this),!0}var a=new O(t,e,o,r,n);return a.length>this[s]?(this[d]&&this[d](t,e),!1):(this[l]+=a.length,this[v].unshift(a),this[g].set(t,this[v].head),E(this),!0)}},{key:"has",value:function(t){if(!this[g].has(t))return!1;var e=this[g].get(t).value;return!x(this,e)}},{key:"get",value:function(t){return A(this,t,!0)}},{key:"peek",value:function(t){return A(this,t,!1)}},{key:"pop",value:function(){var t=this[v].tail;return t?(S(this,t),t.value):null}},{key:"del",value:function(t){S(this,this[g].get(t))}},{key:"load",value:function(t){this.reset();for(var e=Date.now(),n=t.length-1;n>=0;n--){var r=t[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{var i=o-e;i>0&&this.set(r.k,r.v,i)}}}},{key:"prune",value:function(){var t=this;this[g].forEach((function(e,n){return A(t,n,!1)}))}}])}(),A=function(t,e,n){var r=t[g].get(e);if(r){var o=r.value;if(x(t,o)){if(S(t,r),!t[h])return}else n&&(t[m]&&(r.value.now=Date.now()),t[v].unshiftNode(r));return o.value}},x=function(t,e){if(!e||!e.maxAge&&!t[p])return!1;var n=Date.now()-e.now;return e.maxAge?n>e.maxAge:t[p]&&n>t[p]},E=function(t){if(t[l]>t[s])for(var e=t[v].tail;t[l]>t[s]&&null!==e;){var n=e.prev;S(t,e),e=n}},S=function(t,e){if(e){var n=e.value;t[d]&&t[d](n.key,n.value),t[l]-=n.length,t[g].delete(n.key),t[v].removeNode(e)}},O=a((function t(e,n,r,i,a){o(this,t),this.key=e,this.value=n,this.length=r,this.now=i,this.maxAge=a||0})),k=function(t,e,n,r){var o=n.value;x(t,o)&&(S(t,n),t[h]||(o=void 0)),o&&e.call(r,o.value,o.key,t)};t.exports=w},54035:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(){n=function(){return r};var t,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",l=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),u=new C(r||[]);return a(i,"_invoke",{value:j(t,n,u)}),i}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var d="suspendedStart",y="suspendedYield",v="executing",g="completed",m={};function b(){}function w(){}function A(){}var x={};f(x,c,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(L([])));S&&S!==o&&i.call(S,c)&&(x=S);var O=A.prototype=b.prototype=Object.create(x);function k(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,n){function r(o,a,u,c){var s=p(t[o],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==e(f)&&i.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return r("throw",t,u,c)}))}c(s.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function j(e,n,r){var o=d;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=P(u,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=p(e,n,r);if("normal"===s.type){if(o=r.done?g:y,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=g,r.method="throw",r.arg=s.arg)}}}function P(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=p(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(n){if(n||""===n){var r=n[c];if(r)return r.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var o=-1,a=function e(){for(;++o<n.length;)if(i.call(n,o))return e.value=n[o],e.done=!1,e;return e.value=t,e.done=!0,e};return a.next=a}}throw new TypeError(e(n)+" is not iterable")}return w.prototype=A,a(O,"constructor",{value:A,configurable:!0}),a(A,"constructor",{value:w,configurable:!0}),w.displayName=f(A,l,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,A):(t.__proto__=A,f(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},r.awrap=function(t){return{__await:t}},k(_.prototype),f(_.prototype,s,(function(){return this})),r.AsyncIterator=_,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new _(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},k(O),f(O,l,"Generator"),f(O,c,(function(){return this})),f(O,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},r.values=L,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},r}t.exports=function(t){t.prototype[Symbol.iterator]=n().mark((function t(){var e;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.head;case 1:if(!e){t.next=7;break}return t.next=4,e.value;case 4:e=e.next,t.next=1;break;case 7:case"end":return t.stop()}}),t,this)}))}},7215:function(t,e,n){function r(t){var e=this;if(e instanceof r||(e=new r),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach((function(t){e.push(t)}));else if(arguments.length>0)for(var n=0,o=arguments.length;n<o;n++)e.push(arguments[n]);return e}function o(t,e,n){var r=e===t.head?new u(n,null,e,t):new u(n,e,e.next,t);return null===r.next&&(t.tail=r),null===r.prev&&(t.head=r),t.length++,r}function i(t,e){t.tail=new u(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function a(t,e){t.head=new u(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function u(t,e,n,r){if(!(this instanceof u))return new u(t,e,n,r);this.list=r,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}t.exports=r,r.Node=u,r.create=r,r.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,n=t.prev;return e&&(e.prev=n),n&&(n.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=n),t.list.length--,t.next=null,t.prev=null,t.list=null,e},r.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},r.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}},r.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)i(this,arguments[t]);return this.length},r.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)a(this,arguments[t]);return this.length},r.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},r.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},r.prototype.forEach=function(t,e){e=e||this;for(var n=this.head,r=0;null!==n;r++)t.call(e,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(t,e){e=e||this;for(var n=this.tail,r=this.length-1;null!==n;r--)t.call(e,n.value,r,this),n=n.prev},r.prototype.get=function(t){for(var e=0,n=this.head;null!==n&&e<t;e++)n=n.next;if(e===t&&null!==n)return n.value},r.prototype.getReverse=function(t){for(var e=0,n=this.tail;null!==n&&e<t;e++)n=n.prev;if(e===t&&null!==n)return n.value},r.prototype.map=function(t,e){e=e||this;for(var n=new r,o=this.head;null!==o;)n.push(t.call(e,o.value,this)),o=o.next;return n},r.prototype.mapReverse=function(t,e){e=e||this;for(var n=new r,o=this.tail;null!==o;)n.push(t.call(e,o.value,this)),o=o.prev;return n},r.prototype.reduce=function(t,e){var n,r=this.head;if(arguments.length>1)n=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var o=0;null!==r;o++)n=t(n,r.value,o),r=r.next;return n},r.prototype.reduceReverse=function(t,e){var n,r=this.tail;if(arguments.length>1)n=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var o=this.length-1;null!==r;o--)n=t(n,r.value,o),r=r.prev;return n},r.prototype.toArray=function(){for(var t=new Array(this.length),e=0,n=this.head;null!==n;e++)t[e]=n.value,n=n.next;return t},r.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,n=this.tail;null!==n;e++)t[e]=n.value,n=n.prev;return t},r.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var n=new r;if(e<t||e<0)return n;t<0&&(t=0),e>this.length&&(e=this.length);for(var o=0,i=this.head;null!==i&&o<t;o++)i=i.next;for(;null!==i&&o<e;o++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var n=new r;if(e<t||e<0)return n;t<0&&(t=0),e>this.length&&(e=this.length);for(var o=this.length,i=this.tail;null!==i&&o>e;o--)i=i.prev;for(;null!==i&&o>t;o--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(t,e){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,r=this.head;null!==r&&n<t;n++)r=r.next;var i=[];for(n=0;r&&n<e;n++)i.push(r.value),r=this.removeNode(r);for(null===r&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev),n=0;n<(arguments.length<=2?0:arguments.length-2);n++)r=o(this,r,n+2<2||arguments.length<=n+2?void 0:arguments[n+2]);return i},r.prototype.reverse=function(){for(var t=this.head,e=this.tail,n=t;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=e,this.tail=t,this};try{n(54035)(r)}catch(t){}},40003:function(t,e,n){var r=n(6851);t.exports=function(t,e,n){return r(t,e,">",n)}},89308:function(t,e,n){var r=n(69431);t.exports=function(t,e,n){return t=new r(t,n),e=new r(e,n),t.intersects(e,n)}},87694:function(t,e,n){var r=n(6851);t.exports=function(t,e,n){return r(t,e,"<",n)}},15388:function(t,e,n){var r=n(48708),o=n(69431);t.exports=function(t,e,n){var i=null,a=null,u=null;try{u=new o(e,n)}catch(t){return null}return t.forEach((function(t){u.test(t)&&(i&&-1!==a.compare(t)||(a=new r(i=t,n)))})),i}},55102:function(t,e,n){var r=n(48708),o=n(69431);t.exports=function(t,e,n){var i=null,a=null,u=null;try{u=new o(e,n)}catch(t){return null}return t.forEach((function(t){u.test(t)&&(i&&1!==a.compare(t)||(a=new r(i=t,n)))})),i}},96829:function(t,e,n){var r=n(48708),o=n(69431),i=n(2668);t.exports=function(t,e){t=new o(t,e);var n=new r("0.0.0");if(t.test(n))return n;if(n=new r("0.0.0-0"),t.test(n))return n;n=null;for(var a=function(){var e=t.set[u],o=null;e.forEach((function(t){var e=new r(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":o&&!i(e,o)||(o=e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: ".concat(t.operator))}})),!o||n&&!i(n,o)||(n=o)},u=0;u<t.set.length;++u)a();return n&&t.test(n)?n:null}},6851:function(t,e,n){var r=n(48708),o=n(68800),i=o.ANY,a=n(69431),u=n(66422),c=n(2668),s=n(49027),l=n(51456),f=n(94393);t.exports=function(t,e,n,h){var p,d,y,v,g;switch(t=new r(t,h),e=new a(e,h),n){case">":p=c,d=l,y=s,v=">",g=">=";break;case"<":p=s,d=f,y=c,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(u(t,e,h))return!1;for(var m,b=function(){var n=e.set[w],r=null,a=null;return n.forEach((function(t){t.semver===i&&(t=new o(">=0.0.0")),r=r||t,a=a||t,p(t.semver,r.semver,h)?r=t:y(t.semver,a.semver,h)&&(a=t)})),r.operator===v||r.operator===g?{v:!1}:a.operator&&a.operator!==v||!d(t,a.semver)?a.operator===g&&y(t,a.semver)?{v:!1}:void 0:{v:!1}},w=0;w<e.set.length;++w)if(m=b())return m.v;return!0}},24253:function(t,e,n){function r(t,e){if(t){if("string"==typeof t)return o(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var i=n(66422),a=n(73616);t.exports=function(t,e,n){var o,u,c,s=[],l=null,f=null,h=t.sort((function(t,e){return a(t,e,n)})),p=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=r(t))){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw i}}}}(h);try{for(p.s();!(o=p.n()).done;){var d=o.value;i(d,e,n)?(f=d,l||(l=d)):(f&&s.push([l,f]),f=null,l=null)}}catch(t){p.e(t)}finally{p.f()}l&&s.push([l,null]);for(var y=[],v=0,g=s;v<g.length;v++){var m=(u=g[v],c=2,function(t){if(Array.isArray(t))return t}(u)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(u,c)||r(u,c)||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.")}()),b=m[0],w=m[1];b===w?y.push(b):w||b!==h[0]?w?b===h[0]?y.push("<=".concat(w)):y.push("".concat(b," - ").concat(w)):y.push(">=".concat(b)):y.push("*")}var A=y.join(" || "),x="string"==typeof e.raw?e.raw:String(e);return A.length<x.length?A:e}},84200:function(t,e,n){function r(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 a,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw a}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var i=n(69431),a=n(68800),u=a.ANY,c=n(66422),s=n(73616),l=[new a(">=0.0.0-0")],f=[new a(">=0.0.0")],h=function(t,e,n){if(t===e)return!0;if(1===t.length&&t[0].semver===u){if(1===e.length&&e[0].semver===u)return!0;t=n.includePrerelease?l:f}if(1===e.length&&e[0].semver===u){if(n.includePrerelease)return!0;e=f}var o,i,a,h,y=new Set,v=r(t);try{for(v.s();!(a=v.n()).done;){var g=a.value;">"===g.operator||">="===g.operator?o=p(o,g,n):"<"===g.operator||"<="===g.operator?i=d(i,g,n):y.add(g.semver)}}catch(t){v.e(t)}finally{v.f()}if(y.size>1)return null;if(o&&i){if((h=s(o.semver,i.semver,n))>0)return null;if(0===h&&(">="!==o.operator||"<="!==i.operator))return null}var m,b,w,A,x,E=r(y);try{for(E.s();!(m=E.n()).done;){var S=m.value;if(o&&!c(S,String(o),n))return null;if(i&&!c(S,String(i),n))return null;var O,k=r(e);try{for(k.s();!(O=k.n()).done;){var _=O.value;if(!c(S,String(_),n))return!1}}catch(t){k.e(t)}finally{k.f()}return!0}}catch(t){E.e(t)}finally{E.f()}var j=!(!i||n.includePrerelease||!i.semver.prerelease.length)&&i.semver,P=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;j&&1===j.prerelease.length&&"<"===i.operator&&0===j.prerelease[0]&&(j=!1);var I,T=r(e);try{for(T.s();!(I=T.n()).done;){var C=I.value;if(x=x||">"===C.operator||">="===C.operator,A=A||"<"===C.operator||"<="===C.operator,o)if(P&&C.semver.prerelease&&C.semver.prerelease.length&&C.semver.major===P.major&&C.semver.minor===P.minor&&C.semver.patch===P.patch&&(P=!1),">"===C.operator||">="===C.operator){if((b=p(o,C,n))===C&&b!==o)return!1}else if(">="===o.operator&&!c(o.semver,String(C),n))return!1;if(i)if(j&&C.semver.prerelease&&C.semver.prerelease.length&&C.semver.major===j.major&&C.semver.minor===j.minor&&C.semver.patch===j.patch&&(j=!1),"<"===C.operator||"<="===C.operator){if((w=d(i,C,n))===C&&w!==i)return!1}else if("<="===i.operator&&!c(i.semver,String(C),n))return!1;if(!C.operator&&(i||o)&&0!==h)return!1}}catch(t){T.e(t)}finally{T.f()}return!(o&&A&&!i&&0!==h||i&&x&&!o&&0!==h||P||j)},p=function(t,e,n){if(!t)return e;var r=s(t.semver,e.semver,n);return r>0?t:r<0||">"===e.operator&&">="===t.operator?e:t},d=function(t,e,n){if(!t)return e;var r=s(t.semver,e.semver,n);return r<0?t:r>0||"<"===e.operator&&"<="===t.operator?e:t};t.exports=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t===e)return!0;t=new i(t,n),e=new i(e,n);var o,a=!1,u=r(t.set);try{t:for(u.s();!(o=u.n()).done;){var c,s=o.value,l=r(e.set);try{for(l.s();!(c=l.n()).done;){var f=c.value,p=h(s,f,n);if(a=a||null!==p,p)continue t}}catch(t){l.e(t)}finally{l.f()}if(a)return!1}}catch(t){u.e(t)}finally{u.f()}return!0}},33967:function(t,e,n){var r=n(69431);t.exports=function(t,e){return new r(t,e).set.map((function(t){return t.map((function(t){return t.value})).join(" ").trim().split(" ")}))}},55842:function(t,e,n){var r=n(69431);t.exports=function(t,e){try{return new r(t,e).range||"*"}catch(t){return null}}},29057:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(void 0!==i)return!!i;if(t===n)return!0;if("object"!==e(t)||!t||"object"!==e(n)||!n)return!1;var a=Object.keys(t),u=Object.keys(n);if(a.length!==u.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),s=0;s<a.length;s++){var l=a[s];if(!c(l))return!1;var f=t[l],h=n[l];if(!1===(i=r?r.call(o,f,h,l):void 0)||void 0===i&&f!==h)return!1}return!0}},36199:function(t,e,n){var r=n(22732),o="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},i=r.useState,a=r.useEffect,u=r.useLayoutEffect,c=r.useDebugValue;function s(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!o(t,n)}catch(t){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=i({inst:{value:n,getSnapshot:e}}),o=r[0].inst,l=r[1];return u((function(){o.value=n,o.getSnapshot=e,s(o)&&l({inst:o})}),[t,n,e]),a((function(){return s(o)&&l({inst:o}),t((function(){s(o)&&l({inst:o})}))}),[t]),c(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},98050:function(t,e,n){var r=n(22732),o=n(94656),i="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},a=o.useSyncExternalStore,u=r.useRef,c=r.useEffect,s=r.useMemo,l=r.useDebugValue;e.useSyncExternalStoreWithSelector=function(t,e,n,r,o){var f=u(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;f=s((function(){function t(t){if(!c){if(c=!0,a=t,t=r(t),void 0!==o&&h.hasValue){var e=h.value;if(o(e,t))return u=e}return u=t}if(e=u,i(a,t))return e;var n=r(t);return void 0!==o&&o(e,n)?(a=t,e):(a=t,u=n)}var a,u,c=!1,s=void 0===n?null:n;return[function(){return t(e())},null===s?void 0:function(){return t(s())}]}),[e,n,r,o]);var p=a(t,f[0],f[1]);return c((function(){h.hasValue=!0,h.value=p}),[p]),l(p),p}},94656:function(t,e,n){t.exports=n(36199)},66954:function(t,e,n){t.exports=n(98050)},41995:function(t,e,n){n.r(e),n.d(e,{NIL:function(){return O},parse:function(){return f},stringify:function(){return a.A},v1:function(){return s},v3:function(){return w},v4:function(){return A.A},v5:function(){return S},validate:function(){return l.A},version:function(){return k}});var r,o,i=n(15519),a=n(10071),u=0,c=0,s=function(t,e,n){var s=e&&n||0,l=e||new Array(16),f=(t=t||{}).node||r,h=void 0!==t.clockseq?t.clockseq:o;if(null==f||null==h){var p=t.random||(t.rng||i.A)();null==f&&(f=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==h&&(h=o=16383&(p[6]<<8|p[7]))}var d=void 0!==t.msecs?t.msecs:Date.now(),y=void 0!==t.nsecs?t.nsecs:c+1,v=d-u+(y-c)/1e4;if(v<0&&void 0===t.clockseq&&(h=h+1&16383),(v<0||d>u)&&void 0===t.nsecs&&(y=0),y>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=d,c=y,o=h;var g=(1e4*(268435455&(d+=122192928e5))+y)%4294967296;l[s++]=g>>>24&255,l[s++]=g>>>16&255,l[s++]=g>>>8&255,l[s++]=255&g;var m=d/4294967296*1e4&268435455;l[s++]=m>>>8&255,l[s++]=255&m,l[s++]=m>>>24&15|16,l[s++]=m>>>16&255,l[s++]=h>>>8|128,l[s++]=255&h;for(var b=0;b<6;++b)l[s+b]=f[b];return e||(0,a.A)(l)},l=n(45889),f=function(t){if(!(0,l.A)(t))throw TypeError("Invalid UUID");var e,n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n};function h(t,e,n){function r(t,r,o,i){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],n=0;n<t.length;++n)e.push(t.charCodeAt(n));return e}(t)),"string"==typeof r&&(r=f(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var u=new Uint8Array(16+t.length);if(u.set(r),u.set(t,r.length),(u=n(u))[6]=15&u[6]|e,u[8]=63&u[8]|128,o){i=i||0;for(var c=0;c<16;++c)o[i+c]=u[c];return o}return(0,a.A)(u)}try{r.name=t}catch(t){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function p(t){return 14+(t+64>>>9<<4)+1}function d(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function y(t,e,n,r,o,i){return d((a=d(d(e,t),d(r,i)))<<(u=o)|a>>>32-u,n);var a,u}function v(t,e,n,r,o,i,a){return y(e&n|~e&r,t,e,o,i,a)}function g(t,e,n,r,o,i,a){return y(e&r|n&~r,t,e,o,i,a)}function m(t,e,n,r,o,i,a){return y(e^n^r,t,e,o,i,a)}function b(t,e,n,r,o,i,a){return y(n^(e|~r),t,e,o,i,a)}var w=h("v3",48,(function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var n=0;n<e.length;++n)t[n]=e.charCodeAt(n)}return function(t){for(var e=[],n=32*t.length,r="0123456789abcdef",o=0;o<n;o+=8){var i=t[o>>5]>>>o%32&255,a=parseInt(r.charAt(i>>>4&15)+r.charAt(15&i),16);e.push(a)}return e}(function(t,e){t[e>>5]|=128<<e%32,t[p(e)-1]=e;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,a=0;a<t.length;a+=16){var u=n,c=r,s=o,l=i;n=v(n,r,o,i,t[a],7,-680876936),i=v(i,n,r,o,t[a+1],12,-389564586),o=v(o,i,n,r,t[a+2],17,606105819),r=v(r,o,i,n,t[a+3],22,-1044525330),n=v(n,r,o,i,t[a+4],7,-176418897),i=v(i,n,r,o,t[a+5],12,1200080426),o=v(o,i,n,r,t[a+6],17,-1473231341),r=v(r,o,i,n,t[a+7],22,-45705983),n=v(n,r,o,i,t[a+8],7,1770035416),i=v(i,n,r,o,t[a+9],12,-1958414417),o=v(o,i,n,r,t[a+10],17,-42063),r=v(r,o,i,n,t[a+11],22,-1990404162),n=v(n,r,o,i,t[a+12],7,1804603682),i=v(i,n,r,o,t[a+13],12,-40341101),o=v(o,i,n,r,t[a+14],17,-1502002290),n=g(n,r=v(r,o,i,n,t[a+15],22,1236535329),o,i,t[a+1],5,-165796510),i=g(i,n,r,o,t[a+6],9,-1069501632),o=g(o,i,n,r,t[a+11],14,643717713),r=g(r,o,i,n,t[a],20,-373897302),n=g(n,r,o,i,t[a+5],5,-701558691),i=g(i,n,r,o,t[a+10],9,38016083),o=g(o,i,n,r,t[a+15],14,-660478335),r=g(r,o,i,n,t[a+4],20,-405537848),n=g(n,r,o,i,t[a+9],5,568446438),i=g(i,n,r,o,t[a+14],9,-1019803690),o=g(o,i,n,r,t[a+3],14,-187363961),r=g(r,o,i,n,t[a+8],20,1163531501),n=g(n,r,o,i,t[a+13],5,-1444681467),i=g(i,n,r,o,t[a+2],9,-51403784),o=g(o,i,n,r,t[a+7],14,1735328473),n=m(n,r=g(r,o,i,n,t[a+12],20,-1926607734),o,i,t[a+5],4,-378558),i=m(i,n,r,o,t[a+8],11,-2022574463),o=m(o,i,n,r,t[a+11],16,1839030562),r=m(r,o,i,n,t[a+14],23,-35309556),n=m(n,r,o,i,t[a+1],4,-1530992060),i=m(i,n,r,o,t[a+4],11,1272893353),o=m(o,i,n,r,t[a+7],16,-155497632),r=m(r,o,i,n,t[a+10],23,-1094730640),n=m(n,r,o,i,t[a+13],4,681279174),i=m(i,n,r,o,t[a],11,-358537222),o=m(o,i,n,r,t[a+3],16,-722521979),r=m(r,o,i,n,t[a+6],23,76029189),n=m(n,r,o,i,t[a+9],4,-640364487),i=m(i,n,r,o,t[a+12],11,-421815835),o=m(o,i,n,r,t[a+15],16,530742520),n=b(n,r=m(r,o,i,n,t[a+2],23,-995338651),o,i,t[a],6,-198630844),i=b(i,n,r,o,t[a+7],10,1126891415),o=b(o,i,n,r,t[a+14],15,-1416354905),r=b(r,o,i,n,t[a+5],21,-57434055),n=b(n,r,o,i,t[a+12],6,1700485571),i=b(i,n,r,o,t[a+3],10,-1894986606),o=b(o,i,n,r,t[a+10],15,-1051523),r=b(r,o,i,n,t[a+1],21,-2054922799),n=b(n,r,o,i,t[a+8],6,1873313359),i=b(i,n,r,o,t[a+15],10,-30611744),o=b(o,i,n,r,t[a+6],15,-1560198380),r=b(r,o,i,n,t[a+13],21,1309151649),n=b(n,r,o,i,t[a+4],6,-145523070),i=b(i,n,r,o,t[a+11],10,-1120210379),o=b(o,i,n,r,t[a+2],15,718787259),r=b(r,o,i,n,t[a+9],21,-343485551),n=d(n,u),r=d(r,c),o=d(o,s),i=d(i,l)}return[n,r,o,i]}(function(t){if(0===t.length)return[];for(var e=8*t.length,n=new Uint32Array(p(e)),r=0;r<e;r+=8)n[r>>5]|=(255&t[r/8])<<r%32;return n}(t),8*t.length))})),A=n(92722);function x(t,e,n,r){switch(t){case 0:return e&n^~e&r;case 1:case 3:return e^n^r;case 2:return e&n^e&r^n&r}}function E(t,e){return t<<e|t>>>32-e}var S=h("v5",80,(function(t){var e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var r=unescape(encodeURIComponent(t));t=[];for(var o=0;o<r.length;++o)t.push(r.charCodeAt(o))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var i=t.length/4+2,a=Math.ceil(i/16),u=new Array(a),c=0;c<a;++c){for(var s=new Uint32Array(16),l=0;l<16;++l)s[l]=t[64*c+4*l]<<24|t[64*c+4*l+1]<<16|t[64*c+4*l+2]<<8|t[64*c+4*l+3];u[c]=s}u[a-1][14]=8*(t.length-1)/Math.pow(2,32),u[a-1][14]=Math.floor(u[a-1][14]),u[a-1][15]=8*(t.length-1)&4294967295;for(var f=0;f<a;++f){for(var h=new Uint32Array(80),p=0;p<16;++p)h[p]=u[f][p];for(var d=16;d<80;++d)h[d]=E(h[d-3]^h[d-8]^h[d-14]^h[d-16],1);for(var y=n[0],v=n[1],g=n[2],m=n[3],b=n[4],w=0;w<80;++w){var A=Math.floor(w/20),S=E(y,5)+x(A,v,g,m)+b+e[A]+h[w]>>>0;b=m,m=g,g=E(v,30)>>>0,v=y,y=S}n[0]=n[0]+y>>>0,n[1]=n[1]+v>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+m>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),O="00000000-0000-0000-0000-000000000000",k=function(t){if(!(0,l.A)(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}},15519:function(t,e,n){var r;n.d(e,{A:function(){return i}});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},10071:function(t,e,n){for(var r=n(45889),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));e.A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase();if(!(0,r.A)(n))throw TypeError("Stringified UUID is invalid");return n}},92722:function(t,e,n){var r=n(15519),o=n(10071);e.A=function(t,e,n){var i=(t=t||{}).random||(t.rng||r.A)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var a=0;a<16;++a)e[n+a]=i[a];return e}return(0,o.A)(i)}},45889:function(t,e,n){n.d(e,{A:function(){return o}});var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,o=function(t){return"string"==typeof t&&r.test(t)}},57331:function(t){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},99961:function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r},t.exports.__esModule=!0,t.exports.default=t.exports},32481:function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},99877:function(t){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},59477:function(t,e,n){var r=n(23826);function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},60570:function(t){t.exports=function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}},t.exports.__esModule=!0,t.exports.default=t.exports},482:function(t){t.exports=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.")},t.exports.__esModule=!0,t.exports.default=t.exports},51661:function(t,e,n){var r=n(32481),o=n(60570),i=n(51816),a=n(482);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},52663:function(t,e,n){var r=n(8988).default;t.exports=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},23826:function(t,e,n){var r=n(8988).default,o=n(52663);t.exports=function(t){var e=o(t,"string");return"symbol"==r(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},8988:function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},51816:function(t,e,n){var r=n(99961);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},45132:function(t,e,n){n(88445),n(74449),n(44437)},60672:function(t,e,n){var r=n(13779),o=n(37921),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},37934:function(t,e,n){var r=n(51031),o=n(37921),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a constructor")}},48404:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(13779),i=String,a=TypeError;t.exports=function(t){if("object"==r(t)||o(t))return t;throw new a("Can't set "+i(t)+" as a prototype")}},15534:function(t,e,n){var r=n(41528).has;t.exports=function(t){return r(t),t}},66475:function(t,e,n){var r=n(80503),o=n(38626),i=n(33690),a=n(51629),u=n(60672),c=n(18183),s=n(46524),l=n(33545),f=l("asyncDispose"),h=l("dispose"),p=o([].push),d=function(t,e,n){return arguments.length<3&&!c(t)&&(n=u(function(t,e){if("async-dispose"===e){var n=s(t,f);return void 0!==n?n:(n=s(t,h),function(){r(n,this)})}return s(t,h)}(a(t),e))),void 0===n?function(){}:i(n,t)};t.exports=function(t,e,n,r){var o;if(arguments.length<4){if(c(e)&&"sync-dispose"===n)return;o=d(e,n)}else o=d(void 0,n,r);p(t.stack,o)}},30287:function(t,e,n){var r=n(33545),o=n(5682),i=n(49331).f,a=r("unscopables"),u=Array.prototype;void 0===u[a]&&i(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},80555:function(t,e,n){var r=n(46473).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},20253:function(t,e,n){var r=n(14711),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},51629:function(t,e,n){var r=n(90512),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},58713:function(t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},21580:function(t,e,n){var r=n(90960),o=n(97494),i=TypeError;t.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==o(t))throw new i("ArrayBuffer expected");return t.byteLength}},73108:function(t,e,n){var r=n(38626),o=n(21580),i=r(ArrayBuffer.prototype.slice);t.exports=function(t){if(0!==o(t))return!1;try{return i(t,0,0),!1}catch(t){return!0}}},12438:function(t,e,n){var r=n(73969);t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},79114:function(t,e,n){var r=n(38733),o=n(38626),i=n(90960),a=n(86990),u=n(73108),c=n(21580),s=n(74793),l=n(54822),f=r.structuredClone,h=r.ArrayBuffer,p=r.DataView,d=r.TypeError,y=Math.min,v=h.prototype,g=p.prototype,m=o(v.slice),b=i(v,"resizable","get"),w=i(v,"maxByteLength","get"),A=o(g.getInt8),x=o(g.setInt8);t.exports=(l||s)&&function(t,e,n){var r,o=c(t),i=void 0===e?o:a(e),v=!b||!b(t);if(u(t))throw new d("ArrayBuffer is detached");if(l&&(t=f(t,{transfer:[t]}),o===i&&(n||v)))return t;if(o>=i&&(!n||v))r=m(t,0,i);else{var g=n&&!v&&w?{maxByteLength:w(t)}:void 0;r=new h(i,g);for(var E=new p(t),S=new p(r),O=y(i,o),k=0;k<O;k++)x(S,k,A(E,k))}return l||s(t),r}},95206:function(t,e,n){var r,o,i,a=n(58713),u=n(40726),c=n(38733),s=n(13779),l=n(90512),f=n(91875),h=n(53817),p=n(37921),d=n(29797),y=n(42834),v=n(56736),g=n(14711),m=n(43429),b=n(91737),w=n(33545),A=n(82898),x=n(14075),E=x.enforce,S=x.get,O=c.Int8Array,k=O&&O.prototype,_=c.Uint8ClampedArray,j=_&&_.prototype,P=O&&m(O),I=k&&m(k),T=Object.prototype,C=c.TypeError,L=w("toStringTag"),R=A("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",B=a&&!!b&&"Opera"!==h(c.opera),F=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},D={BigInt64Array:8,BigUint64Array:8},U=function(t){var e=m(t);if(l(e)){var n=S(e);return n&&f(n,M)?n[M]:U(e)}},G=function(t){if(!l(t))return!1;var e=h(t);return f(N,e)||f(D,e)};for(r in N)(i=(o=c[r])&&o.prototype)?E(i)[M]=o:B=!1;for(r in D)(i=(o=c[r])&&o.prototype)&&(E(i)[M]=o);if((!B||!s(P)||P===Function.prototype)&&(P=function(){throw new C("Incorrect invocation")},B))for(r in N)c[r]&&b(c[r],P);if((!B||!I||I===T)&&(I=P.prototype,B))for(r in N)c[r]&&b(c[r].prototype,I);if(B&&m(j)!==I&&b(j,I),u&&!f(I,L))for(r in F=!0,v(I,L,{configurable:!0,get:function(){return l(this)?this[R]:void 0}}),N)c[r]&&d(c[r],R,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:B,TYPED_ARRAY_TAG:F&&R,aTypedArray:function(t){if(G(t))return t;throw new C("Target is not a typed array")},aTypedArrayConstructor:function(t){if(s(t)&&(!b||g(P,t)))return t;throw new C(p(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,r){if(u){if(n)for(var o in N){var i=c[o];if(i&&f(i.prototype,t))try{delete i.prototype[t]}catch(n){try{i.prototype[t]=e}catch(t){}}}I[t]&&!n||y(I,t,n?e:B&&k[t]||e,r)}},exportTypedArrayStaticMethod:function(t,e,n){var r,o;if(u){if(b){if(n)for(r in N)if((o=c[r])&&f(o,t))try{delete o[t]}catch(t){}if(P[t]&&!n)return;try{return y(P,t,n?e:B&&P[t]||e)}catch(t){}}for(r in N)!(o=c[r])||o[t]&&!n||y(o,t,e)}},getTypedArrayConstructor:U,isView:function(t){if(!l(t))return!1;var e=h(t);return"DataView"===e||f(N,e)||f(D,e)},isTypedArray:G,TypedArray:P,TypedArrayPrototype:I}},49672:function(t,e,n){var r=n(38733),o=n(38626),i=n(40726),a=n(58713),u=n(71272),c=n(29797),s=n(56736),l=n(99217),f=n(73969),h=n(20253),p=n(98949),d=n(59452),y=n(86990),v=n(24267),g=n(38040),m=n(43429),b=n(91737),w=n(37710).f,A=n(79239),x=n(66361),E=n(86477),S=n(14075),O=u.PROPER,k=u.CONFIGURABLE,_="ArrayBuffer",j="DataView",P="prototype",I="Wrong index",T=S.getterFor(_),C=S.getterFor(j),L=S.set,R=r[_],M=R,B=M&&M[P],F=r[j],N=F&&F[P],D=Object.prototype,U=r.Array,G=r.RangeError,Q=o(A),z=o([].reverse),Y=g.pack,H=g.unpack,V=function(t){return[255&t]},$=function(t){return[255&t,t>>8&255]},W=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},q=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},J=function(t){return Y(v(t),23,4)},K=function(t){return Y(t,52,8)},X=function(t,e,n){s(t[P],e,{configurable:!0,get:function(){return n(this)[e]}})},Z=function(t,e,n,r){var o=C(t),i=y(n),a=!!r;if(i+e>o.byteLength)throw new G(I);var u=o.bytes,c=i+o.byteOffset,s=x(u,c,c+e);return a?s:z(s)},tt=function(t,e,n,r,o,i){var a=C(t),u=y(n),c=r(+o),s=!!i;if(u+e>a.byteLength)throw new G(I);for(var l=a.bytes,f=u+a.byteOffset,h=0;h<e;h++)l[f+h]=c[s?h:e-h-1]};if(a){var et=O&&R.name!==_;if(f((function(){R(1)}))&&f((function(){new R(-1)}))&&!f((function(){return new R,new R(1.5),new R(NaN),1!==R.length||et&&!k})))et&&k&&c(R,"name",_);else{(M=function(t){return h(this,B),new R(y(t))})[P]=B;for(var nt,rt=w(R),ot=0;rt.length>ot;)(nt=rt[ot++])in M||c(M,nt,R[nt]);B.constructor=M}b&&m(N)!==D&&b(N,D);var it=new F(new M(2)),at=o(N.setInt8);it.setInt8(0,2147483648),it.setInt8(1,2147483649),!it.getInt8(0)&&it.getInt8(1)||l(N,{setInt8:function(t,e){at(this,t,e<<24>>24)},setUint8:function(t,e){at(this,t,e<<24>>24)}},{unsafe:!0})}else B=(M=function(t){h(this,B);var e=y(t);L(this,{type:_,bytes:Q(U(e),0),byteLength:e}),i||(this.byteLength=e,this.detached=!1)})[P],N=(F=function(t,e,n){h(this,N),h(t,B);var r=T(t),o=r.byteLength,a=p(e);if(a<0||a>o)throw new G("Wrong offset");if(a+(n=void 0===n?o-a:d(n))>o)throw new G("Wrong length");L(this,{type:j,buffer:t,byteLength:n,byteOffset:a,bytes:r.bytes}),i||(this.buffer=t,this.byteLength=n,this.byteOffset=a)})[P],i&&(X(M,"byteLength",T),X(F,"buffer",C),X(F,"byteLength",C),X(F,"byteOffset",C)),l(N,{getInt8:function(t){return Z(this,1,t)[0]<<24>>24},getUint8:function(t){return Z(this,1,t)[0]},getInt16:function(t){var e=Z(this,2,t,arguments.length>1&&arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Z(this,2,t,arguments.length>1&&arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return q(Z(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return q(Z(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return H(Z(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return H(Z(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,e){tt(this,1,t,V,e)},setUint8:function(t,e){tt(this,1,t,V,e)},setInt16:function(t,e){tt(this,2,t,$,e,arguments.length>2&&arguments[2])},setUint16:function(t,e){tt(this,2,t,$,e,arguments.length>2&&arguments[2])},setInt32:function(t,e){tt(this,4,t,W,e,arguments.length>2&&arguments[2])},setUint32:function(t,e){tt(this,4,t,W,e,arguments.length>2&&arguments[2])},setFloat32:function(t,e){tt(this,4,t,J,e,arguments.length>2&&arguments[2])},setFloat64:function(t,e){tt(this,8,t,K,e,arguments.length>2&&arguments[2])}});E(M,_),E(F,j),t.exports={ArrayBuffer:M,DataView:F}},61351:function(t,e,n){var r=n(63299),o=n(51336),i=n(88360),a=n(28340),u=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n),s=o(t,c),l=o(e,c),f=arguments.length>2?arguments[2]:void 0,h=u((void 0===f?c:o(f,c))-l,c-s),p=1;for(l<s&&s<l+h&&(p=-1,l+=h-1,s+=h-1);h-- >0;)l in n?n[s]=n[l]:a(n,s),s+=p,l+=p;return n}},79239:function(t,e,n){var r=n(63299),o=n(51336),i=n(88360);t.exports=function(t){for(var e=r(this),n=i(e),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>u;)e[u++]=t;return e}},32577:function(t,e,n){var r=n(31131).forEach,o=n(47032)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},54515:function(t,e,n){var r=n(33690),o=n(38626),i=n(63299),a=n(51031),u=n(62264),c=n(56223),s=n(6385),l=n(465),f=n(46524),h=n(87097),p=n(60546),d=n(33545),y=n(40552),v=n(33657).toArray,g=d("asyncIterator"),m=o(p("Array","values")),b=o(m([]).next),w=function(){return new A(this)},A=function(t){this.iterator=m(t)};A.prototype.next=function(){return b(this.iterator)},t.exports=function(t){var e=this,n=arguments.length,o=n>1?arguments[1]:void 0,p=n>2?arguments[2]:void 0;return new(h("Promise"))((function(n){var h=i(t);void 0!==o&&(o=r(o,p));var d=f(h,g),m=d?void 0:l(h)||w,b=a(e)?new e:[],A=d?u(h,d):new y(s(c(h,m)));n(v(A,o,b))}))}},77032:function(t,e,n){var r=n(88360);t.exports=function(t,e,n){for(var o=0,i=arguments.length>2?n:r(e),a=new t(i);i>o;)a[o]=e[o++];return a}},48710:function(t,e,n){var r=n(33690),o=n(80503),i=n(63299),a=n(42029),u=n(65899),c=n(51031),s=n(88360),l=n(43958),f=n(56223),h=n(465),p=Array;t.exports=function(t){var e=i(t),n=c(this),d=arguments.length,y=d>1?arguments[1]:void 0,v=void 0!==y;v&&(y=r(y,d>2?arguments[2]:void 0));var g,m,b,w,A,x,E=h(e),S=0;if(!E||this===p&&u(E))for(g=s(e),m=n?new this(g):p(g);g>S;S++)x=v?y(e[S],S):e[S],l(m,S,x);else for(A=(w=f(e,E)).next,m=n?new this:[];!(b=o(A,w)).done;S++)x=v?a(w,y,[b.value,S],!0):b.value,l(m,S,x);return m.length=S,m}},22350:function(t,e,n){var r=n(33690),o=n(38626),i=n(89441),a=n(63299),u=n(88360),c=n(48130),s=c.Map,l=c.get,f=c.has,h=c.set,p=o([].push);t.exports=function(t){for(var e,n,o=a(this),c=i(o),d=r(t,arguments.length>1?arguments[1]:void 0),y=new s,v=u(c),g=0;v>g;g++)e=d(n=c[g],g,o),f(y,e)?p(l(y,e),n):h(y,e,[n]);return y}},75227:function(t,e,n){var r=n(33690),o=n(38626),i=n(89441),a=n(63299),u=n(97231),c=n(88360),s=n(5682),l=n(77032),f=Array,h=o([].push);t.exports=function(t,e,n,o){for(var p,d,y,v=a(t),g=i(v),m=r(e,n),b=s(null),w=c(g),A=0;w>A;A++)y=g[A],(d=u(m(y,A,v)))in b?h(b[d],y):b[d]=[y];if(o&&(p=o(v))!==f)for(d in b)b[d]=l(p,b[d]);return b}},97139:function(t,e,n){var r=n(1511),o=n(51336),i=n(88360),a=function(t){return function(e,n,a){var u,c=r(e),s=i(c),l=o(a,s);if(t&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},45917:function(t,e,n){var r=n(33690),o=n(89441),i=n(63299),a=n(88360),u=function(t){var e=1===t;return function(n,u,c){for(var s,l=i(n),f=o(l),h=a(f),p=r(u,c);h-- >0;)if(p(s=f[h],h,l))switch(t){case 0:return s;case 1:return h}return e?-1:void 0}};t.exports={findLast:u(0),findLastIndex:u(1)}},31131:function(t,e,n){var r=n(33690),o=n(38626),i=n(89441),a=n(63299),u=n(88360),c=n(40655),s=o([].push),l=function(t){var e=1===t,n=2===t,o=3===t,l=4===t,f=6===t,h=7===t,p=5===t||f;return function(d,y,v,g){for(var m,b,w=a(d),A=i(w),x=u(A),E=r(y,v),S=0,O=g||c,k=e?O(d,x):n||h?O(d,0):void 0;x>S;S++)if((p||S in A)&&(b=E(m=A[S],S,w),t))if(e)k[S]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return S;case 2:s(k,m)}else switch(t){case 4:return!1;case 7:s(k,m)}return f?-1:o||l?l:k}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},35069:function(t,e,n){var r=n(14371),o=n(1511),i=n(98949),a=n(88360),u=n(47032),c=Math.min,s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0,f=u("lastIndexOf"),h=l||!f;t.exports=h?function(t){if(l)return r(s,this,arguments)||0;var e=o(this),n=a(e),u=n-1;for(arguments.length>1&&(u=c(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in e&&e[u]===t)return u||0;return-1}:s},28907:function(t,e,n){var r=n(73969),o=n(33545),i=n(18290),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},47032:function(t,e,n){var r=n(73969);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},65340:function(t,e,n){var r=n(60672),o=n(63299),i=n(89441),a=n(88360),u=TypeError,c=function(t){return function(e,n,c,s){var l=o(e),f=i(l),h=a(l);r(n);var p=t?h-1:0,d=t?-1:1;if(c<2)for(;;){if(p in f){s=f[p],p+=d;break}if(p+=d,t?p<0:h<=p)throw new u("Reduce of empty array with no initial value")}for(;t?p>=0:h>p;p+=d)p in f&&(s=n(s,f[p],p,l));return s}};t.exports={left:c(!1),right:c(!0)}},57681:function(t,e,n){var r=n(40726),o=n(69786),i=TypeError,a=Object.getOwnPropertyDescriptor,u=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},66361:function(t,e,n){var r=n(51336),o=n(88360),i=n(43958),a=Array,u=Math.max;t.exports=function(t,e,n){for(var c=o(t),s=r(e,c),l=r(void 0===n?c:n,c),f=a(u(l-s,0)),h=0;s<l;s++,h++)i(f,h,t[s]);return f.length=h,f}},49786:function(t,e,n){var r=n(38626);t.exports=r([].slice)},274:function(t,e,n){var r=n(66361),o=Math.floor,i=function(t,e){var n=t.length,c=o(n/2);return n<8?a(t,e):u(t,i(r(t,0,c),e),i(r(t,c),e),e)},a=function(t,e){for(var n,r,o=t.length,i=1;i<o;){for(r=i,n=t[i];r&&e(t[r-1],n)>0;)t[r]=t[--r];r!==i++&&(t[r]=n)}return t},u=function(t,e,n,r){for(var o=e.length,i=n.length,a=0,u=0;a<o||u<i;)t[a+u]=a<o&&u<i?r(e[a],n[u])<=0?e[a++]:n[u++]:a<o?e[a++]:n[u++];return t};t.exports=i},43263:function(t,e,n){var r=n(69786),o=n(51031),i=n(90512),a=n(33545)("species"),u=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(o(e)&&(e===u||r(e.prototype))||i(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?u:e}},40655:function(t,e,n){var r=n(43263);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},80314:function(t,e,n){var r=n(88360);t.exports=function(t,e){for(var n=r(t),o=new e(n),i=0;i<n;i++)o[i]=t[n-i-1];return o}},8362:function(t,e,n){var r=n(88360),o=n(98949),i=RangeError;t.exports=function(t,e,n,a){var u=r(t),c=o(n),s=c<0?u+c:c;if(s>=u||s<0)throw new i("Incorrect index");for(var l=new e(u),f=0;f<u;f++)l[f]=f===s?a:t[f];return l}},40552:function(t,e,n){var r=n(80503),o=n(51629),i=n(5682),a=n(46524),u=n(99217),c=n(14075),s=n(87097),l=n(9448),f=n(49591),h=s("Promise"),p="AsyncFromSyncIterator",d=c.set,y=c.getterFor(p),v=function(t,e,n){var r=t.done;h.resolve(t.value).then((function(t){e(f(t,r))}),n)},g=function(t){t.type=p,d(this,t)};g.prototype=u(i(l),{next:function(){var t=y(this);return new h((function(e,n){var i=o(r(t.next,t.iterator));v(i,e,n)}))},return:function(){var t=y(this).iterator;return new h((function(e,n){var i=a(t,"return");if(void 0===i)return e(f(void 0,!0));var u=o(r(i,t));v(u,e,n)}))}}),t.exports=g},80086:function(t,e,n){var r=n(80503),o=n(87097),i=n(46524);t.exports=function(t,e,n,a){try{var u=i(t,"return");if(u)return o("Promise").resolve(r(u,t)).then((function(){e(n)}),(function(t){a(t)}))}catch(t){return a(t)}e(n)}},92501:function(t,e,n){var r=n(80503),o=n(39577),i=n(51629),a=n(5682),u=n(29797),c=n(99217),s=n(33545),l=n(14075),f=n(87097),h=n(46524),p=n(9448),d=n(49591),y=n(93817),v=f("Promise"),g=s("toStringTag"),m="AsyncIteratorHelper",b="WrapForValidAsyncIterator",w=l.set,A=function(t){var e=!t,n=l.getterFor(t?b:m),u=function(t){var r=o((function(){return n(t)})),i=r.error,a=r.value;return i||e&&a.done?{exit:!0,value:i?v.reject(a):v.resolve(d(void 0,!0))}:{exit:!1,value:a}};return c(a(p),{next:function(){var t=u(this),e=t.value;if(t.exit)return e;var n=o((function(){return i(e.nextHandler(v))})),r=n.error,a=n.value;return r&&(e.done=!0),r?v.reject(a):v.resolve(a)},return:function(){var e=u(this),n=e.value;if(e.exit)return n;n.done=!0;var a,c,s=n.iterator,l=o((function(){if(n.inner)try{y(n.inner.iterator,"normal")}catch(t){return y(s,"throw",t)}return h(s,"return")}));return a=c=l.value,l.error?v.reject(c):void 0===a?v.resolve(d(void 0,!0)):(c=(l=o((function(){return r(a,s)}))).value,l.error?v.reject(c):t?v.resolve(c):v.resolve(c).then((function(t){return i(t),d(void 0,!0)})))}})},x=A(!0),E=A(!1);u(E,g,"Async Iterator Helper"),t.exports=function(t,e){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=e?b:m,r.nextHandler=t,r.counter=0,r.done=!1,w(this,r)};return n.prototype=e?x:E,n}},33657:function(t,e,n){var r=n(80503),o=n(60672),i=n(51629),a=n(90512),u=n(80571),c=n(87097),s=n(6385),l=n(80086),f=function(t){var e=0===t,n=1===t,f=2===t,h=3===t;return function(t,p,d){i(t);var y=void 0!==p;!y&&e||o(p);var v=s(t),g=c("Promise"),m=v.iterator,b=v.next,w=0;return new g((function(t,o){var c=function(t){l(m,o,t,o)},s=function(){try{if(y)try{u(w)}catch(t){c(t)}g.resolve(i(r(b,m))).then((function(r){try{if(i(r).done)e?(d.length=w,t(d)):t(!h&&(f||void 0));else{var u=r.value;try{if(y){var v=p(u,w),b=function(r){if(n)s();else if(f)r?s():l(m,t,!1,o);else if(e)try{d[w++]=r,s()}catch(t){c(t)}else r?l(m,t,h||u,o):s()};a(v)?g.resolve(v).then(b,c):b(v)}else d[w++]=u,s()}catch(t){c(t)}}}catch(t){o(t)}}),o)}catch(t){o(t)}};s()}))}};t.exports={toArray:f(0),forEach:f(1),every:f(2),some:f(3),find:f(4)}},77436:function(t,e,n){var r=n(80503),o=n(60672),i=n(51629),a=n(90512),u=n(6385),c=n(92501),s=n(49591),l=n(80086),f=c((function(t){var e=this,n=e.iterator,o=e.mapper;return new t((function(u,c){var f=function(t){e.done=!0,c(t)},h=function(t){l(n,f,t,f)};t.resolve(i(r(e.next,n))).then((function(n){try{if(i(n).done)e.done=!0,u(s(void 0,!0));else{var r=n.value;try{var c=o(r,e.counter++),l=function(t){u(s(t,!1))};a(c)?t.resolve(c).then(l,h):l(c)}catch(t){h(t)}}}catch(t){f(t)}}),f)}))}));t.exports=function(t){return i(this),o(t),new f(u(this),{mapper:t})}},9448:function(t,e,n){var r,o,i=n(38733),a=n(16335),u=n(13779),c=n(5682),s=n(43429),l=n(42834),f=n(33545),h=n(61085),p="USE_FUNCTION_CONSTRUCTOR",d=f("asyncIterator"),y=i.AsyncIterator,v=a.AsyncIteratorPrototype;if(v)r=v;else if(u(y))r=y.prototype;else if(a[p]||i[p])try{o=s(s(s(Function("return async function*(){}()")()))),s(o)===Object.prototype&&(r=o)}catch(t){}r?h&&(r=c(r)):r={},u(r[d])||l(r,d,(function(){return this})),t.exports=r},83644:function(t,e,n){var r=n(80503),o=n(92501);t.exports=o((function(){return r(this.next,this.iterator)}),!0)},20830:function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=e+"+/",r=e+"-_",o=function(t){for(var e={},n=0;n<64;n++)e[t.charAt(n)]=n;return e};t.exports={i2c:n,c2i:o(n),i2cUrl:r,c2iUrl:o(r)}},42029:function(t,e,n){var r=n(51629),o=n(93817);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){o(t,"throw",e)}}},43770:function(t,e,n){var r=n(33545)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!o)return!1}catch(t){return!1}var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},97494:function(t,e,n){var r=n(38626),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},53817:function(t,e,n){var r=n(76970),o=n(13779),i=n(97494),a=n(33545)("toStringTag"),u=Object,c="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=u(t),a))?n:c?i(e):"Object"===(r=i(e))&&o(e.callee)?"Arguments":r}},55252:function(t,e,n){var r=n(5682),o=n(56736),i=n(99217),a=n(33690),u=n(20253),c=n(18183),s=n(6778),l=n(55478),f=n(49591),h=n(49163),p=n(40726),d=n(61441).fastKey,y=n(14075),v=y.set,g=y.getterFor;t.exports={getConstructor:function(t,e,n,l){var f=t((function(t,o){u(t,h),v(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),p||(t.size=0),c(o)||s(o,t[l],{that:t,AS_ENTRIES:n})})),h=f.prototype,y=g(e),m=function(t,e,n){var r,o,i=y(t),a=b(t,e);return a?a.value=n:(i.last=a={index:o=d(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),p?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},b=function(t,e){var n,r=y(t),o=d(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===e)return n};return i(h,{clear:function(){for(var t=y(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,p?t.size=0:this.size=0},delete:function(t){var e=this,n=y(e),r=b(e,t);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),p?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=y(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),i(h,n?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),p&&o(h,"size",{configurable:!0,get:function(){return y(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=g(e),i=g(r);l(t,e,(function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?f("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),h(e)}}},40839:function(t,e,n){var r=n(38626),o=n(99217),i=n(61441).getWeakData,a=n(20253),u=n(51629),c=n(18183),s=n(90512),l=n(6778),f=n(31131),h=n(91875),p=n(14075),d=p.set,y=p.getterFor,v=f.find,g=f.findIndex,m=r([].splice),b=0,w=function(t){return t.frozen||(t.frozen=new A)},A=function(){this.entries=[]},x=function(t,e){return v(t.entries,(function(t){return t[0]===e}))};A.prototype={get:function(t){var e=x(this,t);if(e)return e[1]},has:function(t){return!!x(this,t)},set:function(t,e){var n=x(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,(function(e){return e[0]===t}));return~e&&m(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,n,r){var f=t((function(t,o){a(t,p),d(t,{type:e,id:b++,frozen:void 0}),c(o)||l(o,t[r],{that:t,AS_ENTRIES:n})})),p=f.prototype,v=y(e),g=function(t,e,n){var r=v(t),o=i(u(e),!0);return!0===o?w(r).set(e,n):o[r.id]=n,t};return o(p,{delete:function(t){var e=v(this);if(!s(t))return!1;var n=i(t);return!0===n?w(e).delete(t):n&&h(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!s(t))return!1;var n=i(t);return!0===n?w(e).has(t):n&&h(n,e.id)}}),o(p,n?{get:function(t){var e=v(this);if(s(t)){var n=i(t);return!0===n?w(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),f}}},90510:function(t,e,n){var r=n(83788),o=n(38733),i=n(38626),a=n(43634),u=n(42834),c=n(61441),s=n(6778),l=n(20253),f=n(13779),h=n(18183),p=n(90512),d=n(73969),y=n(43770),v=n(86477),g=n(27429);t.exports=function(t,e,n){var m=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=m?"set":"add",A=o[t],x=A&&A.prototype,E=A,S={},O=function(t){var e=i(x[t]);u(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!p(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!p(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!p(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(a(t,!f(A)||!(b||x.forEach&&!d((function(){(new A).entries().next()})))))E=n.getConstructor(e,t,m,w),c.enable();else if(a(t,!0)){var k=new E,_=k[w](b?{}:-0,1)!==k,j=d((function(){k.has(1)})),P=y((function(t){new A(t)})),I=!b&&d((function(){for(var t=new A,e=5;e--;)t[w](e,e);return!t.has(-0)}));P||((E=e((function(t,e){l(t,x);var n=g(new A,t,E);return h(e)||s(e,n[w],{that:n,AS_ENTRIES:m}),n}))).prototype=x,x.constructor=E),(j||I)&&(O("delete"),O("has"),m&&O("get")),(I||_)&&O(w),b&&x.clear&&delete x.clear}return S[t]=E,r({global:!0,constructor:!0,forced:E!==A},S),v(E,t),b||n.setStrong(E,t,m),E}},126:function(t,e,n){var r=n(91875),o=n(39921),i=n(78569),a=n(49331);t.exports=function(t,e,n){for(var u=o(e),c=a.f,s=i.f,l=0;l<u.length;l++){var f=u[l];r(t,f)||n&&r(n,f)||c(t,f,s(e,f))}}},64898:function(t,e,n){var r=n(33545)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},79673:function(t,e,n){var r=n(73969);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},9930:function(t,e,n){var r=n(38626),o=n(72744),i=n(3373),a=/"/g,u=r("".replace);t.exports=function(t,e,n,r){var c=i(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+u(i(r),a,"&quot;")+'"'),s+">"+c+"</"+e+">"}},49591:function(t){t.exports=function(t,e){return{value:t,done:e}}},29797:function(t,e,n){var r=n(40726),o=n(49331),i=n(89842);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},89842:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},43958:function(t,e,n){var r=n(97231),o=n(49331),i=n(89842);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},76630:function(t,e,n){var r=n(38626),o=n(73969),i=n(15459).start,a=RangeError,u=isFinite,c=Math.abs,s=Date.prototype,l=s.toISOString,f=r(s.getTime),h=r(s.getUTCDate),p=r(s.getUTCFullYear),d=r(s.getUTCHours),y=r(s.getUTCMilliseconds),v=r(s.getUTCMinutes),g=r(s.getUTCMonth),m=r(s.getUTCSeconds);t.exports=o((function(){return"0385-07-25T07:06:39.999Z"!==l.call(new Date(-50000000000001))}))||!o((function(){l.call(new Date(NaN))}))?function(){if(!u(f(this)))throw new a("Invalid time value");var t=this,e=p(t),n=y(t),r=e<0?"-":e>9999?"+":"";return r+i(c(e),r?6:4,0)+"-"+i(g(t)+1,2,0)+"-"+i(h(t),2,0)+"T"+i(d(t),2,0)+":"+i(v(t),2,0)+":"+i(m(t),2,0)+"."+i(n,3,0)+"Z"}:l},97462:function(t,e,n){var r=n(51629),o=n(93348),i=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return o(this,t)}},56736:function(t,e,n){var r=n(32113),o=n(49331);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),o.f(t,e,n)}},42834:function(t,e,n){var r=n(13779),o=n(49331),i=n(32113),a=n(24487);t.exports=function(t,e,n,u){u||(u={});var c=u.enumerable,s=void 0!==u.name?u.name:e;if(r(n)&&i(n,s,u),u.global)c?t[e]=n:a(e,n);else{try{u.unsafe?t[e]&&(c=!0):delete t[e]}catch(t){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},99217:function(t,e,n){var r=n(42834);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},24487:function(t,e,n){var r=n(38733),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},28340:function(t,e,n){var r=n(37921),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw new o("Cannot delete property "+r(e)+" of "+r(t))}},40726:function(t,e,n){var r=n(73969);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},74793:function(t,e,n){var r,o,i,a,u=n(38733),c=n(55220),s=n(54822),l=u.structuredClone,f=u.ArrayBuffer,h=u.MessageChannel,p=!1;if(s)p=function(t){l(t,{transfer:[t]})};else if(f)try{h||(r=c("worker_threads"))&&(h=r.MessageChannel),h&&(o=new h,i=new f(2),a=function(t){o.port1.postMessage(null,[t])},2===i.byteLength&&(a(i),0===i.byteLength&&(p=a)))}catch(t){}t.exports=p},91341:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}var n="object"==("undefined"==typeof document?"undefined":e(document))&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},78721:function(t,e,n){var r=n(38733),o=n(90512),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},80571:function(t){var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},49196:function(t){t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},74034:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},88438:function(t,e,n){var r=n(78721)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},30268:function(t,e,n){var r=n(53190).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},66692:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(60914),i=n(65078);t.exports=!o&&!i&&"object"==("undefined"==typeof window?"undefined":r(window))&&"object"==("undefined"==typeof document?"undefined":r(document))},15389:function(t){t.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},60914:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports="object"==("undefined"==typeof Deno?"undefined":e(Deno))&&Deno&&"object"==e(Deno.version)},67244:function(t,e,n){var r=n(53190);t.exports=/MSIE|Trident/.test(r)},65194:function(t,e,n){var r=n(53190);t.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},74073:function(t,e,n){var r=n(53190);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},65078:function(t,e,n){var r=n(38733),o=n(97494);t.exports="process"===o(r.process)},71527:function(t,e,n){var r=n(53190);t.exports=/web0s(?!.*chrome)/i.test(r)},53190:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},18290:function(t,e,n){var r,o,i=n(38733),a=n(53190),u=i.process,c=i.Deno,s=u&&u.versions||c&&c.version,l=s&&s.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},35598:function(t,e,n){var r=n(53190).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},49245:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},95287:function(t,e,n){var r=n(38626),o=Error,i=r("".replace),a=String(new o("zxcasd").stack),u=/\n\s*at [^:]*:[^\n]*/,c=u.test(a);t.exports=function(t,e){if(c&&"string"==typeof t&&!o.prepareStackTrace)for(;e--;)t=i(t,u,"");return t}},25641:function(t,e,n){var r=n(29797),o=n(95287),i=n(25493),a=Error.captureStackTrace;t.exports=function(t,e,n,u){i&&(a?a(t,e):r(t,"stack",o(n,u)))}},25493:function(t,e,n){var r=n(73969),o=n(89842);t.exports=!r((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},31366:function(t,e,n){var r=n(40726),o=n(73969),i=n(51629),a=n(20969),u=Error.prototype.toString,c=o((function(){if(r){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==u.call(t))return!0}return"2: 1"!==u.call({message:1,name:2})||"Error"!==u.call({})}));t.exports=c?function(){var t=i(this),e=a(t.name,"Error"),n=a(t.message);return e?n?e+": "+n:e:n}:u},83788:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(38733),i=n(78569).f,a=n(29797),u=n(42834),c=n(24487),s=n(126),l=n(43634);t.exports=function(t,e){var n,f,h,p,d,y=t.target,v=t.global,g=t.stat;if(n=v?o:g?o[y]||c(y,{}):(o[y]||{}).prototype)for(f in e){if(p=e[f],h=t.dontCallGetSet?(d=i(n,f))&&d.value:n[f],!l(v?f:y+(g?".":"#")+f,t.forced)&&void 0!==h){if(r(p)==r(h))continue;s(p,h)}(t.sham||h&&h.sham)&&a(p,"sham",!0),u(n,f,p,t)}}},73969:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},78006:function(t,e,n){n(39877);var r=n(56210),o=n(42834),i=n(22793),a=n(73969),u=n(33545),c=n(29797),s=u("species"),l=RegExp.prototype;t.exports=function(t,e,n,f){var h=u(t),p=!a((function(){var e={};return e[h]=function(){return 7},7!==""[t](e)})),d=p&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!p||!d||n){var y=r(/./[h]),v=e(h,""[t],(function(t,e,n,o,a){var u=r(t),c=e.exec;return c===i||c===l.exec?p&&!a?{done:!0,value:y(e,n,o)}:{done:!0,value:u(n,e,o)}:{done:!1}}));o(String.prototype,t,v[0]),o(l,h,v[1])}f&&c(l[h],"sham",!0)}},55689:function(t,e,n){var r=n(69786),o=n(88360),i=n(80571),a=n(33690),u=function(t,e,n,c,s,l,f,h){for(var p,d,y=s,v=0,g=!!f&&a(f,h);v<c;)v in n&&(p=g?g(n[v],v,e):n[v],l>0&&r(p)?(d=o(p),y=u(t,e,p,d,y,l-1)-1):(i(y+1),t[y]=p),y++),v++;return y};t.exports=u},72346:function(t,e,n){var r=n(73969);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},14371:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(65946),i=Function.prototype,a=i.apply,u=i.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":r(Reflect))&&Reflect.apply||(o?u.bind(a):function(){return u.apply(a,arguments)})},33690:function(t,e,n){var r=n(56210),o=n(60672),i=n(65946),a=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},65946:function(t,e,n){var r=n(73969);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},34812:function(t,e,n){var r=n(38626),o=n(60672),i=n(90512),a=n(91875),u=n(49786),c=n(65946),s=Function,l=r([].concat),f=r([].join),h={};t.exports=c?s.bind:function(t){var e=o(this),n=e.prototype,r=u(arguments,1),c=function(){var n=l(r,u(arguments));return this instanceof c?function(t,e,n){if(!a(h,e)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";h[e]=s("C,a","return new C("+f(r,",")+")")}return h[e](t,n)}(e,n.length,n):e.apply(t,n)};return i(n)&&(c.prototype=n),c}},80503:function(t,e,n){var r=n(65946),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},71272:function(t,e,n){var r=n(40726),o=n(91875),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,u=o(i,"name"),c=u&&"something"===function(){}.name,s=u&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:u,PROPER:c,CONFIGURABLE:s}},90960:function(t,e,n){var r=n(38626),o=n(60672);t.exports=function(t,e,n){try{return r(o(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},56210:function(t,e,n){var r=n(97494),o=n(38626);t.exports=function(t){if("Function"===r(t))return o(t)}},38626:function(t,e,n){var r=n(65946),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},28355:function(t,e,n){var r=n(80503),o=n(13779),i=n(51629),a=n(6385),u=n(465),c=n(46524),s=n(33545),l=n(40552),f=s("asyncIterator");t.exports=function(t){var e,n=i(t),s=!0,h=c(n,f);return o(h)||(h=u(n),s=!1),void 0!==h?e=r(h,n):(e=n,s=!0),i(e),a(s?e:new l(a(e)))}},62264:function(t,e,n){var r=n(80503),o=n(40552),i=n(51629),a=n(56223),u=n(6385),c=n(46524),s=n(33545)("asyncIterator");t.exports=function(t,e){var n=arguments.length<2?c(t,s):e;return n?i(r(n,t)):new o(u(a(t)))}},60546:function(t,e,n){var r=n(38733);t.exports=function(t,e){var n=r[t],o=n&&n.prototype;return o&&o[e]}},87097:function(t,e,n){var r=n(38733),o=n(13779);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},6385:function(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},71848:function(t,e,n){var r=n(80503),o=n(51629),i=n(6385),a=n(465);t.exports=function(t,e){e&&"string"==typeof t||o(t);var n=a(t);return i(o(void 0!==n?r(n,t):t))}},465:function(t,e,n){var r=n(53817),o=n(46524),i=n(18183),a=n(76143),u=n(33545)("iterator");t.exports=function(t){if(!i(t))return o(t,u)||o(t,"@@iterator")||a[r(t)]}},56223:function(t,e,n){var r=n(80503),o=n(60672),i=n(51629),a=n(37921),u=n(465),c=TypeError;t.exports=function(t,e){var n=arguments.length<2?u(t):e;if(o(n))return i(r(n,t));throw new c(a(t)+" is not iterable")}},34983:function(t,e,n){var r=n(38626),o=n(69786),i=n(13779),a=n(97494),u=n(3373),c=r([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,n=[],r=0;r<e;r++){var s=t[r];"string"==typeof s?c(n,s):"number"!=typeof s&&"Number"!==a(s)&&"String"!==a(s)||c(n,u(s))}var l=n.length,f=!0;return function(t,e){if(f)return f=!1,e;if(o(this))return e;for(var r=0;r<l;r++)if(n[r]===t)return e}}}},46524:function(t,e,n){var r=n(60672),o=n(18183);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},18531:function(t,e,n){var r=n(60672),o=n(51629),i=n(80503),a=n(98949),u=n(6385),c="Invalid size",s=RangeError,l=TypeError,f=Math.max,h=function(t,e,n,r){this.set=t,this.size=e,this.has=n,this.keys=r};h.prototype={getIterator:function(){return u(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!=e)throw new l(c);var n=a(e);if(n<0)throw new s(c);return new h(t,f(n,0),r(t.has),r(t.keys))}},60124:function(t,e,n){var r=n(38626),o=n(63299),i=Math.floor,a=r("".charAt),u=r("".replace),c=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,f,h){var p=n+t.length,d=r.length,y=l;return void 0!==f&&(f=o(f),y=s),u(h,y,(function(o,u){var s;switch(a(u,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,p);case"<":s=f[c(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>d){var h=i(l/10);return 0===h?o:h<=d?void 0===r[h-1]?a(u,1):r[h-1]+a(u,1):o}s=r[l-1]}return void 0===s?"":s}))}},38733:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=function(t){return t&&t.Math===Math&&t};t.exports=o("object"==("undefined"==typeof globalThis?"undefined":r(globalThis))&&globalThis)||o("object"==("undefined"==typeof window?"undefined":r(window))&&window)||o("object"==("undefined"==typeof self?"undefined":r(self))&&self)||o("object"==(void 0===n.g?"undefined":r(n.g))&&n.g)||o("object"==r(this)&&this)||function(){return this}()||Function("return this")()},91875:function(t,e,n){var r=n(38626),o=n(63299),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},23339:function(t){t.exports={}},59891:function(t){t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},25971:function(t,e,n){var r=n(87097);t.exports=r("document","documentElement")},80975:function(t,e,n){var r=n(40726),o=n(73969),i=n(78721);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},38040:function(t){var e=Array,n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;t.exports={pack:function(t,u,c){var s,l,f,h=e(c),p=8*c-u-1,d=(1<<p)-1,y=d>>1,v=23===u?r(2,-24)-r(2,-77):0,g=t<0||0===t&&1/t<0?1:0,m=0;for((t=n(t))!=t||t===1/0?(l=t!=t?1:0,s=d):(s=o(i(t)/a),t*(f=r(2,-s))<1&&(s--,f*=2),(t+=s+y>=1?v/f:v*r(2,1-y))*f>=2&&(s++,f/=2),s+y>=d?(l=0,s=d):s+y>=1?(l=(t*f-1)*r(2,u),s+=y):(l=t*r(2,y-1)*r(2,u),s=0));u>=8;)h[m++]=255&l,l/=256,u-=8;for(s=s<<u|l,p+=u;p>0;)h[m++]=255&s,s/=256,p-=8;return h[--m]|=128*g,h},unpack:function(t,e){var n,o=t.length,i=8*o-e-1,a=(1<<i)-1,u=a>>1,c=i-7,s=o-1,l=t[s--],f=127&l;for(l>>=7;c>0;)f=256*f+t[s--],c-=8;for(n=f&(1<<-c)-1,f>>=-c,c+=e;c>0;)n=256*n+t[s--],c-=8;if(0===f)f=1-u;else{if(f===a)return n?NaN:l?-1/0:1/0;n+=r(2,e),f-=u}return(l?-1:1)*n*r(2,f-e)}}},89441:function(t,e,n){var r=n(38626),o=n(73969),i=n(97494),a=Object,u=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):a(t)}:a},27429:function(t,e,n){var r=n(13779),o=n(90512),i=n(91737);t.exports=function(t,e,n){var a,u;return i&&r(a=e.constructor)&&a!==n&&o(u=a.prototype)&&u!==n.prototype&&i(t,u),t}},57948:function(t,e,n){var r=n(38626),o=n(13779),i=n(16335),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},5674:function(t,e,n){var r=n(90512),o=n(29797);t.exports=function(t,e){r(e)&&"cause"in e&&o(t,"cause",e.cause)}},61441:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(83788),i=n(38626),a=n(23339),u=n(90512),c=n(91875),s=n(49331).f,l=n(37710),f=n(60284),h=n(46650),p=n(82898),d=n(72346),y=!1,v=p("meta"),g=0,m=function(t){s(t,v,{value:{objectID:"O"+g++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},y=!0;var t=l.f,e=i([].splice),n={};n[v]=1,t(n).length&&(l.f=function(n){for(var r=t(n),o=0,i=r.length;o<i;o++)if(r[o]===v){e(r,o,1);break}return r},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(t,e){if(!u(t))return"symbol"==r(t)?t:("string"==typeof t?"S":"P")+t;if(!c(t,v)){if(!h(t))return"F";if(!e)return"E";m(t)}return t[v].objectID},getWeakData:function(t,e){if(!c(t,v)){if(!h(t))return!0;if(!e)return!1;m(t)}return t[v].weakData},onFreeze:function(t){return d&&y&&h(t)&&!c(t,v)&&m(t),t}};a[v]=!0},14075:function(t,e,n){var r,o,i,a=n(87116),u=n(38733),c=n(90512),s=n(29797),l=n(91875),f=n(16335),h=n(70601),p=n(23339),d="Object already initialized",y=u.TypeError,v=u.WeakMap;if(a||f.state){var g=f.state||(f.state=new v);g.get=g.get,g.has=g.has,g.set=g.set,r=function(t,e){if(g.has(t))throw new y(d);return e.facade=t,g.set(t,e),e},o=function(t){return g.get(t)||{}},i=function(t){return g.has(t)}}else{var m=h("state");p[m]=!0,r=function(t,e){if(l(t,m))throw new y(d);return e.facade=t,s(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw new y("Incompatible receiver, "+t+" required");return n}}}},65899:function(t,e,n){var r=n(33545),o=n(76143),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},69786:function(t,e,n){var r=n(97494);t.exports=Array.isArray||function(t){return"Array"===r(t)}},8365:function(t,e,n){var r=n(53817);t.exports=function(t){var e=r(t);return"BigInt64Array"===e||"BigUint64Array"===e}},13779:function(t,e,n){var r=n(91341),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},51031:function(t,e,n){var r=n(38626),o=n(73969),i=n(13779),a=n(53817),u=n(87097),c=n(57948),s=function(){},l=[],f=u("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=r(h.exec),d=!h.test(s),y=function(t){if(!i(t))return!1;try{return f(s,l,t),!0}catch(t){return!1}},v=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(h,c(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||o((function(){var t;return y(y.call)||!y(Object)||!y((function(){t=!0}))||t}))?v:y},40277:function(t,e,n){var r=n(91875);t.exports=function(t){return void 0!==t&&(r(t,"value")||r(t,"writable"))}},43634:function(t,e,n){var r=n(73969),o=n(13779),i=/#|\.prototype\./,a=function(t,e){var n=c[u(t)];return n===l||n!==s&&(o(e)?r(e):!!e)},u=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},s=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},25857:function(t,e,n){var r=n(90512),o=Math.floor;t.exports=Number.isInteger||function(t){return!r(t)&&isFinite(t)&&o(t)===t}},18183:function(t){t.exports=function(t){return null==t}},90512:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(13779),i=n(91341),a=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==r(t)?null!==t:o(t)||t===a}:function(t){return"object"==r(t)?null!==t:o(t)}},61085:function(t){t.exports=!1},32808:function(t,e,n){var r=n(90512),o=n(14075).get;t.exports=function(t){if(!r(t))return!1;var e=o(t);return!!e&&"RawJSON"===e.type}},11642:function(t,e,n){var r=n(90512),o=n(97494),i=n(33545)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"===o(t))}},52631:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(87097),i=n(13779),a=n(14711),u=n(93910),c=Object;t.exports=u?function(t){return"symbol"==r(t)}:function(t){var e=o("Symbol");return i(e)&&a(e.prototype,c(t))}},73529:function(t,e,n){var r=n(80503);t.exports=function(t,e,n){for(var o,i,a=n?t:t.iterator,u=t.next;!(o=r(u,a)).done;)if(void 0!==(i=e(o.value)))return i}},6778:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(33690),i=n(80503),a=n(51629),u=n(37921),c=n(65899),s=n(88360),l=n(14711),f=n(56223),h=n(465),p=n(93817),d=TypeError,y=function(t,e){this.stopped=t,this.result=e},v=y.prototype;t.exports=function(t,e,n){var g,m,b,w,A,x,E,S=n&&n.that,O=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_RECORD),_=!(!n||!n.IS_ITERATOR),j=!(!n||!n.INTERRUPTED),P=o(e,S),I=function(t){return g&&p(g,"normal",t),new y(!0,t)},T=function(t){return O?(a(t),j?P(t[0],t[1],I):P(t[0],t[1])):j?P(t,I):P(t)};if(k)g=t.iterator;else if(_)g=t;else{if(!(m=h(t)))throw new d(u(t)+" is not iterable");if(c(m)){for(b=0,w=s(t);w>b;b++)if((A=T(t[b]))&&l(v,A))return A;return new y(!1)}g=f(t,m)}for(x=k?t.next:g.next;!(E=i(x,g)).done;){try{A=T(E.value)}catch(t){p(g,"throw",t)}if("object"==r(A)&&A&&l(v,A))return A}return new y(!1)}},93817:function(t,e,n){var r=n(80503),o=n(51629),i=n(46524);t.exports=function(t,e,n){var a,u;o(t);try{if(!(a=i(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){u=!0,a=t}if("throw"===e)throw n;if(u)throw a;return o(a),n}},88808:function(t,e,n){var r=n(54691).IteratorPrototype,o=n(5682),i=n(89842),a=n(86477),u=n(76143),c=function(){return this};t.exports=function(t,e,n,s){var l=e+" Iterator";return t.prototype=o(r,{next:i(+!s,n)}),a(t,l,!1,!0),u[l]=c,t}},75948:function(t,e,n){var r=n(80503),o=n(5682),i=n(29797),a=n(99217),u=n(33545),c=n(14075),s=n(46524),l=n(54691).IteratorPrototype,f=n(49591),h=n(93817),p=u("toStringTag"),d="IteratorHelper",y="WrapForValidIterator",v=c.set,g=function(t){var e=c.getterFor(t?y:d);return a(o(l),{next:function(){var n=e(this);if(t)return n.nextHandler();try{var r=n.done?void 0:n.nextHandler();return f(r,n.done)}catch(t){throw n.done=!0,t}},return:function(){var n=e(this),o=n.iterator;if(n.done=!0,t){var i=s(o,"return");return i?r(i,o):f(void 0,!0)}if(n.inner)try{h(n.inner.iterator,"normal")}catch(t){return h(o,"throw",t)}return h(o,"normal"),f(void 0,!0)}})},m=g(!0),b=g(!1);i(b,p,"Iterator Helper"),t.exports=function(t,e){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=e?y:d,r.nextHandler=t,r.counter=0,r.done=!1,v(this,r)};return n.prototype=e?m:b,n}},55478:function(t,e,n){var r=n(83788),o=n(80503),i=n(61085),a=n(71272),u=n(13779),c=n(88808),s=n(43429),l=n(91737),f=n(86477),h=n(29797),p=n(42834),d=n(33545),y=n(76143),v=n(54691),g=a.PROPER,m=a.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,A=d("iterator"),x="keys",E="values",S="entries",O=function(){return this};t.exports=function(t,e,n,a,d,v,k){c(n,e,a);var _,j,P,I=function(t){if(t===d&&M)return M;if(!w&&t&&t in L)return L[t];switch(t){case x:case E:case S:return function(){return new n(this,t)}}return function(){return new n(this)}},T=e+" Iterator",C=!1,L=t.prototype,R=L[A]||L["@@iterator"]||d&&L[d],M=!w&&R||I(d),B="Array"===e&&L.entries||R;if(B&&(_=s(B.call(new t)))!==Object.prototype&&_.next&&(i||s(_)===b||(l?l(_,b):u(_[A])||p(_,A,O)),f(_,T,!0,!0),i&&(y[T]=O)),g&&d===E&&R&&R.name!==E&&(!i&&m?h(L,"name",E):(C=!0,M=function(){return o(R,this)})),d)if(j={values:I(E),keys:v?M:I(x),entries:I(S)},k)for(P in j)(w||C||!(P in L))&&p(L,P,j[P]);else r({target:e,proto:!0,forced:w||C},j);return i&&!k||L[A]===M||p(L,A,M,{name:d}),y[e]=M,j}},96467:function(t,e,n){var r=n(80503),o=n(60672),i=n(51629),a=n(6385),u=n(75948),c=n(42029),s=u((function(){var t=this.iterator,e=i(r(this.next,t));if(!(this.done=!!e.done))return c(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function(t){return i(this),o(t),new s(a(this),{mapper:t})}},54691:function(t,e,n){var r,o,i,a=n(73969),u=n(13779),c=n(90512),s=n(5682),l=n(43429),f=n(42834),h=n(33545),p=n(61085),d=h("iterator"),y=!1;[].keys&&("next"in(i=[].keys())?(o=l(l(i)))!==Object.prototype&&(r=o):y=!0),!c(r)||a((function(){var t={};return r[d].call(t)!==t}))?r={}:p&&(r=s(r)),u(r[d])||f(r,d,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},76143:function(t){t.exports={}},88360:function(t,e,n){var r=n(59452);t.exports=function(t){return r(t.length)}},32113:function(t,e,n){var r=n(38626),o=n(73969),i=n(13779),a=n(91875),u=n(40726),c=n(71272).CONFIGURABLE,s=n(57948),l=n(14075),f=l.enforce,h=l.get,p=String,d=Object.defineProperty,y=r("".slice),v=r("".replace),g=r([].join),m=u&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===y(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||c&&t.name!==e)&&(u?d(t,"name",{value:e,configurable:!0}):t.name=e),m&&n&&a(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?u&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=f(t);return a(r,"source")||(r.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&h(this).source||s(this)}),"toString")},48130:function(t,e,n){var r=n(38626),o=Map.prototype;t.exports={Map:Map,set:r(o.set),get:r(o.get),has:r(o.has),remove:r(o.delete),proto:o}},97640:function(t){var e=Math.expm1,n=Math.exp;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!==e(-2e-17)?function(t){var e=+t;return 0===e?e:e>-1e-6&&e<1e-6?e+e*e/2:n(e)-1}:e},46546:function(t,e,n){var r=n(70646);t.exports=Math.f16round||function(t){return r(t,.0009765625,65504,6103515625e-14)}},70646:function(t,e,n){var r=n(2252),o=Math.abs,i=2220446049250313e-31,a=1/i;t.exports=function(t,e,n,u){var c=+t,s=o(c),l=r(c);if(s<u)return l*function(t){return t+a-a}(s/u/e)*u*e;var f=(1+e/i)*s,h=f-(f-s);return h>n||h!=h?l*(1/0):l*h}},24267:function(t,e,n){var r=n(70646);t.exports=Math.fround||function(t){return r(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},53482:function(t){var e=Math.log,n=Math.LOG10E;t.exports=Math.log10||function(t){return e(t)*n}},11882:function(t){var e=Math.log;t.exports=Math.log1p||function(t){var n=+t;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)}},2252:function(t){t.exports=Math.sign||function(t){var e=+t;return 0===e||e!=e?e:e<0?-1:1}},17263:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},93313:function(t,e,n){var r,o,i,a,u,c=n(38733),s=n(33690),l=n(78569).f,f=n(98503).set,h=n(17467),p=n(74073),d=n(65194),y=n(71527),v=n(65078),g=c.MutationObserver||c.WebKitMutationObserver,m=c.document,b=c.process,w=c.Promise,A=l(c,"queueMicrotask"),x=A&&A.value;if(!x){var E=new h,S=function(){var t,e;for(v&&(t=b.domain)&&t.exit();e=E.get();)try{e()}catch(t){throw E.head&&r(),t}t&&t.enter()};p||v||y||!g||!m?!d&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,u=s(a.then,a),r=function(){u(S)}):v?r=function(){b.nextTick(S)}:(f=s(f,c),r=function(){f(S)}):(o=!0,i=m.createTextNode(""),new g(S).observe(i,{characterData:!0}),r=function(){i.data=o=!o}),x=function(t){E.head||r(),E.add(t)}}t.exports=x},37173:function(t,e,n){var r=n(73969);t.exports=!r((function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t}))},45149:function(t,e,n){var r=n(60672),o=TypeError,i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new o("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},20969:function(t,e,n){var r=n(3373);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},78191:function(t){var e=RangeError;t.exports=function(t){if(t==t)return t;throw new e("NaN is not allowed")}},29845:function(t,e,n){var r=n(11642),o=TypeError;t.exports=function(t){if(r(t))throw new o("The method doesn't accept regular expressions");return t}},71438:function(t,e,n){var r=n(38733).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},17642:function(t,e,n){var r=n(38733),o=n(73969),i=n(38626),a=n(3373),u=n(62648).trim,c=n(50902),s=i("".charAt),l=r.parseFloat,f=r.Symbol,h=f&&f.iterator,p=1/l(c+"-0")!=-1/0||h&&!o((function(){l(Object(h))}));t.exports=p?function(t){var e=u(a(t)),n=l(e);return 0===n&&"-"===s(e,0)?-0:n}:l},14125:function(t,e,n){var r=n(38733),o=n(73969),i=n(38626),a=n(3373),u=n(62648).trim,c=n(50902),s=r.parseInt,l=r.Symbol,f=l&&l.iterator,h=/^[+-]?0x/i,p=i(h.exec),d=8!==s(c+"08")||22!==s(c+"0x16")||f&&!o((function(){s(Object(f))}));t.exports=d?function(t,e){var n=u(a(t));return s(n,e>>>0||(p(h,n)?16:10))}:s},2471:function(t,e,n){var r=n(40726),o=n(38626),i=n(80503),a=n(73969),u=n(30306),c=n(3747),s=n(4851),l=n(63299),f=n(89441),h=Object.assign,p=Object.defineProperty,d=o([].concat);t.exports=!h||a((function(){if(r&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!==h({},t)[n]||u(h({},e)).join("")!==o}))?function(t,e){for(var n=l(t),o=arguments.length,a=1,h=c.f,p=s.f;o>a;)for(var y,v=f(arguments[a++]),g=h?d(u(v),h(v)):u(v),m=g.length,b=0;m>b;)y=g[b++],r&&!i(p,v,y)||(n[y]=v[y]);return n}:h},5682:function(t,e,n){var r,o=n(51629),i=n(13375),a=n(49245),u=n(23339),c=n(25971),s=n(78721),l=n(70601),f="prototype",h="script",p=l("IE_PROTO"),d=function(){},y=function(t){return"<"+h+">"+t+"</"+h+">"},v=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;g="undefined"!=typeof document?document.domain&&r?v(r):(e=s("iframe"),n="java"+h+":",e.style.display="none",c.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):v(r);for(var o=a.length;o--;)delete g[f][a[o]];return g()};u[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d[f]=o(t),n=new d,d[f]=null,n[p]=t):n=g(),void 0===e?n:i.f(n,e)}},13375:function(t,e,n){var r=n(40726),o=n(1600),i=n(49331),a=n(51629),u=n(1511),c=n(30306);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=u(e),o=c(e),s=o.length,l=0;s>l;)i.f(t,n=o[l++],r[n]);return t}},49331:function(t,e,n){var r=n(40726),o=n(80975),i=n(1600),a=n(51629),u=n(97231),c=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";e.f=r?i?function(t,e,n){if(a(t),e=u(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=l(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:f in n?n[f]:r[f],writable:!1})}return s(t,e,n)}:s:function(t,e,n){if(a(t),e=u(e),a(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},78569:function(t,e,n){var r=n(40726),o=n(80503),i=n(4851),a=n(89842),u=n(1511),c=n(97231),s=n(91875),l=n(80975),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=u(t),e=c(e),l)try{return f(t,e)}catch(t){}if(s(t,e))return a(!o(i.f,t,e),t[e])}},60284:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(97494),i=n(1511),a=n(37710).f,u=n(66361),c="object"==("undefined"==typeof window?"undefined":r(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"===o(t)?function(t){try{return a(t)}catch(t){return u(c)}}(t):a(i(t))}},37710:function(t,e,n){var r=n(23566),o=n(49245).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},3747:function(t,e){e.f=Object.getOwnPropertySymbols},43429:function(t,e,n){var r=n(91875),o=n(13779),i=n(63299),a=n(70601),u=n(79673),c=a("IE_PROTO"),s=Object,l=s.prototype;t.exports=u?s.getPrototypeOf:function(t){var e=i(t);if(r(e,c))return e[c];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof s?l:null}},46650:function(t,e,n){var r=n(73969),o=n(90512),i=n(97494),a=n(12438),u=Object.isExtensible,c=r((function(){u(1)}));t.exports=c||a?function(t){return!!o(t)&&(!a||"ArrayBuffer"!==i(t))&&(!u||u(t))}:u},14711:function(t,e,n){var r=n(38626);t.exports=r({}.isPrototypeOf)},23566:function(t,e,n){var r=n(38626),o=n(91875),i=n(1511),a=n(97139).indexOf,u=n(23339),c=r([].push);t.exports=function(t,e){var n,r=i(t),s=0,l=[];for(n in r)!o(u,n)&&o(r,n)&&c(l,n);for(;e.length>s;)o(r,n=e[s++])&&(~a(l,n)||c(l,n));return l}},30306:function(t,e,n){var r=n(23566),o=n(49245);t.exports=Object.keys||function(t){return r(t,o)}},4851:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},66673:function(t,e,n){var r=n(61085),o=n(38733),i=n(73969),a=n(35598);t.exports=r||!i((function(){if(!(a&&a<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete o[t]}}))},91737:function(t,e,n){var r=n(90960),o=n(51629),i=n(48404);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},52307:function(t,e,n){var r=n(40726),o=n(73969),i=n(38626),a=n(43429),u=n(30306),c=n(1511),s=i(n(4851).f),l=i([].push),f=r&&o((function(){var t=Object.create(null);return t[2]=2,!s(t,2)})),h=function(t){return function(e){for(var n,o=c(e),i=u(o),h=f&&null===a(o),p=i.length,d=0,y=[];p>d;)n=i[d++],r&&!(h?n in o:s(o,n))||l(y,t?[n,o[n]]:o[n]);return y}};t.exports={entries:h(!0),values:h(!1)}},77917:function(t,e,n){var r=n(76970),o=n(53817);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},93348:function(t,e,n){var r=n(80503),o=n(13779),i=n(90512),a=TypeError;t.exports=function(t,e){var n,u;if("string"===e&&o(n=t.toString)&&!i(u=r(n,t)))return u;if(o(n=t.valueOf)&&!i(u=r(n,t)))return u;if("string"!==e&&o(n=t.toString)&&!i(u=r(n,t)))return u;throw new a("Can't convert object to primitive value")}},39921:function(t,e,n){var r=n(87097),o=n(38626),i=n(37710),a=n(3747),u=n(51629),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(u(t)),n=a.f;return n?c(e,n(t)):e}},93386:function(t,e,n){var r=n(38626),o=n(91875),i=SyntaxError,a=parseInt,u=String.fromCharCode,c=r("".charAt),s=r("".slice),l=r(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},h=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;t.exports=function(t,e){for(var n=!0,r="";e<t.length;){var d=c(t,e);if("\\"===d){var y=s(t,e,e+2);if(o(f,y))r+=f[y],e+=2;else{if("\\u"!==y)throw new i('Unknown escape sequence: "'+y+'"');var v=s(t,e+=2,e+4);if(!l(h,v))throw new i("Bad Unicode escape at: "+e);r+=u(a(v,16)),e+=4}}else{if('"'===d){n=!1,e++;break}if(l(p,d))throw new i("Bad control character in string literal at: "+e);r+=d,e++}}if(n)throw new i("Unterminated string at: "+e);return{value:r,end:e}}},44437:function(t,e,n){var r=n(38733);t.exports=r},39577:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},83542:function(t,e,n){var r=n(38733),o=n(15336),i=n(13779),a=n(43634),u=n(57948),c=n(33545),s=n(66692),l=n(60914),f=n(61085),h=n(18290),p=o&&o.prototype,d=c("species"),y=!1,v=i(r.PromiseRejectionEvent),g=a("Promise",(function(){var t=u(o),e=t!==String(o);if(!e&&66===h)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!h||h<51||!/native code/.test(t)){var n=new o((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[d]=r,!(y=n.then((function(){}))instanceof r))return!0}return!e&&(s||l)&&!v}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:v,SUBCLASSING:y}},15336:function(t,e,n){var r=n(38733);t.exports=r.Promise},20916:function(t,e,n){var r=n(51629),o=n(90512),i=n(45149);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},51159:function(t,e,n){var r=n(15336),o=n(43770),i=n(83542).CONSTRUCTOR;t.exports=i||!o((function(t){r.all(t).then(void 0,(function(){}))}))},77574:function(t,e,n){var r=n(49331).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},17467:function(t){var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},29636:function(t,e,n){var r=n(80503),o=n(51629),i=n(13779),a=n(97494),u=n(22793),c=TypeError;t.exports=function(t,e){var n=t.exec;if(i(n)){var s=r(n,t,e);return null!==s&&o(s),s}if("RegExp"===a(t))return r(u,t,e);throw new c("RegExp#exec called on incompatible receiver")}},22793:function(t,e,n){var r,o,i=n(80503),a=n(38626),u=n(3373),c=n(78213),s=n(83859),l=n(37551),f=n(5682),h=n(14075).get,p=n(96693),d=n(25496),y=l("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,g=v,m=a("".charAt),b=a("".indexOf),w=a("".replace),A=a("".slice),x=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),E=s.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(x||S||E||p||d)&&(g=function(t){var e,n,r,o,a,s,l,p=this,d=h(p),O=u(t),k=d.raw;if(k)return k.lastIndex=p.lastIndex,e=i(g,k,O),p.lastIndex=k.lastIndex,e;var _=d.groups,j=E&&p.sticky,P=i(c,p),I=p.source,T=0,C=O;if(j&&(P=w(P,"y",""),-1===b(P,"g")&&(P+="g"),C=A(O,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==m(O,p.lastIndex-1))&&(I="(?: "+I+")",C=" "+C,T++),n=new RegExp("^(?:"+I+")",P)),S&&(n=new RegExp("^"+I+"$(?!\\s)",P)),x&&(r=p.lastIndex),o=i(v,j?n:p,C),j?o?(o.input=A(o.input,T),o[0]=A(o[0],T),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:x&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),S&&o&&o.length>1&&i(y,o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&_)for(o.groups=s=f(null),a=0;a<_.length;a++)s[(l=_[a])[0]]=o[l[1]];return o}),t.exports=g},78213:function(t,e,n){var r=n(51629);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},40992:function(t,e,n){var r=n(80503),o=n(91875),i=n(14711),a=n(78213),u=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in u||o(t,"flags")||!i(u,t)?e:r(a,t)}},83859:function(t,e,n){var r=n(73969),o=n(38733).RegExp,i=r((function(){var t=o("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),u=i||r((function(){var t=o("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:u,MISSED_STICKY:a,UNSUPPORTED_Y:i}},96693:function(t,e,n){var r=n(73969),o=n(38733).RegExp;t.exports=r((function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},25496:function(t,e,n){var r=n(73969),o=n(38733).RegExp;t.exports=r((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},72744:function(t,e,n){var r=n(18183),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},87700:function(t){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},78090:function(t,e,n){var r,o=n(38733),i=n(14371),a=n(13779),u=n(15389),c=n(53190),s=n(49786),l=n(83786),f=o.Function,h=/MSIE .\./.test(c)||u&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));t.exports=function(t,e){var n=e?2:1;return h?function(r,o){var u=l(arguments.length,1)>n,c=a(r)?r:f(r),h=u?s(arguments,n):[],p=u?function(){i(c,this,h)}:c;return e?t(p,o):t(p)}:t}},37728:function(t,e,n){var r=n(41528),o=n(10127),i=r.Set,a=r.add;t.exports=function(t){var e=new i;return o(t,(function(t){a(e,t)})),e}},55214:function(t,e,n){var r=n(15534),o=n(41528),i=n(37728),a=n(17372),u=n(18531),c=n(10127),s=n(73529),l=o.has,f=o.remove;t.exports=function(t){var e=r(this),n=u(t),o=i(e);return a(e)<=n.size?c(e,(function(t){n.includes(t)&&f(o,t)})):s(n.getIterator(),(function(t){l(e,t)&&f(o,t)})),o}},41528:function(t,e,n){var r=n(38626),o=Set.prototype;t.exports={Set:Set,add:r(o.add),has:r(o.has),remove:r(o.delete),proto:o}},43720:function(t,e,n){var r=n(15534),o=n(41528),i=n(17372),a=n(18531),u=n(10127),c=n(73529),s=o.Set,l=o.add,f=o.has;t.exports=function(t){var e=r(this),n=a(t),o=new s;return i(e)>n.size?c(n.getIterator(),(function(t){f(e,t)&&l(o,t)})):u(e,(function(t){n.includes(t)&&l(o,t)})),o}},10963:function(t,e,n){var r=n(15534),o=n(41528).has,i=n(17372),a=n(18531),u=n(10127),c=n(73529),s=n(93817);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<=n.size)return!1!==u(e,(function(t){if(n.includes(t))return!1}),!0);var l=n.getIterator();return!1!==c(l,(function(t){if(o(e,t))return s(l,"normal",!1)}))}},22952:function(t,e,n){var r=n(15534),o=n(17372),i=n(10127),a=n(18531);t.exports=function(t){var e=r(this),n=a(t);return!(o(e)>n.size)&&!1!==i(e,(function(t){if(!n.includes(t))return!1}),!0)}},40241:function(t,e,n){var r=n(15534),o=n(41528).has,i=n(17372),a=n(18531),u=n(73529),c=n(93817);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<n.size)return!1;var s=n.getIterator();return!1!==u(s,(function(t){if(!o(e,t))return c(s,"normal",!1)}))}},10127:function(t,e,n){var r=n(38626),o=n(73529),i=n(41528),a=i.Set,u=i.proto,c=r(u.forEach),s=r(u.keys),l=s(new a).next;t.exports=function(t,e,n){return n?o({iterator:s(t),next:l},e):c(t,e)}},88418:function(t,e,n){var r=n(87097),o=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=r("Set");try{(new e)[t](o(0));try{return(new e)[t](o(-1)),!1}catch(t){return!0}}catch(t){return!1}}},17372:function(t,e,n){var r=n(90960),o=n(41528);t.exports=r(o.proto,"size","get")||function(t){return t.size}},49163:function(t,e,n){var r=n(87097),o=n(56736),i=n(33545),a=n(40726),u=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[u]&&o(e,u,{configurable:!0,get:function(){return this}})}},23076:function(t,e,n){var r=n(15534),o=n(41528),i=n(37728),a=n(18531),u=n(73529),c=o.add,s=o.has,l=o.remove;t.exports=function(t){var e=r(this),n=a(t).getIterator(),o=i(e);return u(n,(function(t){s(e,t)?l(o,t):c(o,t)})),o}},86477:function(t,e,n){var r=n(49331).f,o=n(91875),i=n(33545)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!o(t,i)&&r(t,i,{configurable:!0,value:e})}},64182:function(t,e,n){var r=n(15534),o=n(41528).add,i=n(37728),a=n(18531),u=n(73529);t.exports=function(t){var e=r(this),n=a(t).getIterator(),c=i(e);return u(n,(function(t){o(c,t)})),c}},70601:function(t,e,n){var r=n(37551),o=n(82898),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},16335:function(t,e,n){var r=n(38733),o=n(24487),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},37551:function(t,e,n){var r=n(61085),o=n(16335);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},46443:function(t,e,n){var r=n(51629),o=n(37934),i=n(18183),a=n(33545)("species");t.exports=function(t,e){var n,u=r(t).constructor;return void 0===u||i(n=r(u)[a])?e:o(n)}},75:function(t,e,n){var r=n(73969);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},46473:function(t,e,n){var r=n(38626),o=n(98949),i=n(3373),a=n(72744),u=r("".charAt),c=r("".charCodeAt),s=r("".slice),l=function(t){return function(e,n){var r,l,f=i(a(e)),h=o(n),p=f.length;return h<0||h>=p?t?"":void 0:(r=c(f,h))<55296||r>56319||h+1===p||(l=c(f,h+1))<56320||l>57343?t?u(f,h):r:t?s(f,h,h+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},29085:function(t,e,n){var r=n(53190);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},15459:function(t,e,n){var r=n(38626),o=n(59452),i=n(3373),a=n(90875),u=n(72744),c=r(a),s=r("".slice),l=Math.ceil,f=function(t){return function(e,n,r){var a,f,h=i(u(e)),p=o(n),d=h.length,y=void 0===r?" ":i(r);return p<=d||""===y?h:((f=c(y,l((a=p-d)/y.length))).length>a&&(f=s(f,0,a)),t?h+f:f+h)}};t.exports={start:f(!1),end:f(!0)}},61555:function(t,e,n){var r=n(38626),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",c=RangeError,s=r(a.exec),l=Math.floor,f=String.fromCharCode,h=r("".charCodeAt),p=r([].join),d=r([].push),y=r("".replace),v=r("".split),g=r("".toLowerCase),m=function(t){return t+22+75*(t<26)},b=function(t,e,n){var r=0;for(t=n?l(t/700):t>>1,t+=l(t/e);t>455;)t=l(t/35),r+=36;return l(r+36*t/(t+38))},w=function(t){var e=[];t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=h(t,n++);if(o>=55296&&o<=56319&&n<r){var i=h(t,n++);56320==(64512&i)?d(e,((1023&o)<<10)+(1023&i)+65536):(d(e,o),n--)}else d(e,o)}return e}(t);var n,r,i=t.length,a=128,s=0,y=72;for(n=0;n<t.length;n++)(r=t[n])<128&&d(e,f(r));var v=e.length,g=v;for(v&&d(e,"-");g<i;){var w=o;for(n=0;n<t.length;n++)(r=t[n])>=a&&r<w&&(w=r);var A=g+1;if(w-a>l((o-s)/A))throw new c(u);for(s+=(w-a)*A,a=w,n=0;n<t.length;n++){if((r=t[n])<a&&++s>o)throw new c(u);if(r===a){for(var x=s,E=36;;){var S=E<=y?1:E>=y+26?26:E-y;if(x<S)break;var O=x-S,k=36-S;d(e,f(m(S+O%k))),x=l(O/k),E+=36}d(e,f(m(x))),y=b(s,A,g===v),s=0,g++}}s++,a++}return p(e,"")};t.exports=function(t){var e,n,r=[],o=v(y(g(t),a,"."),".");for(e=0;e<o.length;e++)n=o[e],d(r,s(i,n)?"xn--"+w(n):n);return p(r,".")}},90875:function(t,e,n){var r=n(98949),o=n(3373),i=n(72744),a=RangeError;t.exports=function(t){var e=o(i(this)),n="",u=r(t);if(u<0||u===1/0)throw new a("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(e+=e))1&u&&(n+=e);return n}},40004:function(t,e,n){var r=n(62648).end,o=n(268);t.exports=o("trimEnd")?function(){return r(this)}:"".trimEnd},268:function(t,e,n){var r=n(71272).PROPER,o=n(73969),i=n(50902);t.exports=function(t){return o((function(){return!!i[t]()||"​…᠎"!=="​…᠎"[t]()||r&&i[t].name!==t}))}},35677:function(t,e,n){var r=n(62648).start,o=n(268);t.exports=o("trimStart")?function(){return r(this)}:"".trimStart},62648:function(t,e,n){var r=n(38626),o=n(72744),i=n(3373),a=n(50902),u=r("".replace),c=RegExp("^["+a+"]+"),s=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(t){return function(e){var n=i(o(e));return 1&t&&(n=u(n,c,"")),2&t&&(n=u(n,s,"$1")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},54822:function(t,e,n){var r=n(38733),o=n(73969),i=n(18290),a=n(66692),u=n(60914),c=n(65078),s=r.structuredClone;t.exports=!!s&&!o((function(){if(u&&i>92||c&&i>94||a&&i>97)return!1;var t=new ArrayBuffer(8),e=s(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},79893:function(t,e,n){var r=n(18290),o=n(73969),i=n(38733).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},94232:function(t,e,n){var r=n(80503),o=n(87097),i=n(33545),a=n(42834);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,u=i("toPrimitive");e&&!e[u]&&a(e,u,(function(t){return r(n,this)}),{arity:1})}},21402:function(t,e,n){var r=n(79893);t.exports=r&&!!Symbol.for&&!!Symbol.keyFor},98503:function(t,e,n){var r,o,i,a,u=n(38733),c=n(14371),s=n(33690),l=n(13779),f=n(91875),h=n(73969),p=n(25971),d=n(49786),y=n(78721),v=n(83786),g=n(74073),m=n(65078),b=u.setImmediate,w=u.clearImmediate,A=u.process,x=u.Dispatch,E=u.Function,S=u.MessageChannel,O=u.String,k=0,_={},j="onreadystatechange";h((function(){r=u.location}));var P=function(t){if(f(_,t)){var e=_[t];delete _[t],e()}},I=function(t){return function(){P(t)}},T=function(t){P(t.data)},C=function(t){u.postMessage(O(t),r.protocol+"//"+r.host)};b&&w||(b=function(t){v(arguments.length,1);var e=l(t)?t:E(t),n=d(arguments,1);return _[++k]=function(){c(e,void 0,n)},o(k),k},w=function(t){delete _[t]},m?o=function(t){A.nextTick(I(t))}:x&&x.now?o=function(t){x.now(I(t))}:S&&!g?(a=(i=new S).port2,i.port1.onmessage=T,o=s(a.postMessage,a)):u.addEventListener&&l(u.postMessage)&&!u.importScripts&&r&&"file:"!==r.protocol&&!h(C)?(o=C,u.addEventListener("message",T,!1)):o=j in y("script")?function(t){p.appendChild(y("script"))[j]=function(){p.removeChild(this),P(t)}}:function(t){setTimeout(I(t),0)}),t.exports={set:b,clear:w}},9494:function(t,e,n){var r=n(38626);t.exports=r(1..valueOf)},51336:function(t,e,n){var r=n(98949),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},21052:function(t,e,n){var r=n(28859),o=TypeError;t.exports=function(t){var e=r(t,"number");if("number"==typeof e)throw new o("Can't convert number to bigint");return BigInt(e)}},86990:function(t,e,n){var r=n(98949),o=n(59452),i=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw new i("Wrong length or index");return n}},1511:function(t,e,n){var r=n(89441),o=n(72744);t.exports=function(t){return r(o(t))}},98949:function(t,e,n){var r=n(17263);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},59452:function(t,e,n){var r=n(98949),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},63299:function(t,e,n){var r=n(72744),o=Object;t.exports=function(t){return o(r(t))}},3451:function(t,e,n){var r=n(48572),o=RangeError;t.exports=function(t,e){var n=r(t);if(n%e)throw new o("Wrong offset");return n}},48572:function(t,e,n){var r=n(98949),o=RangeError;t.exports=function(t){var e=r(t);if(e<0)throw new o("The argument can't be less than 0");return e}},28859:function(t,e,n){var r=n(80503),o=n(90512),i=n(52631),a=n(46524),u=n(93348),c=n(33545),s=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=a(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw new s("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},97231:function(t,e,n){var r=n(28859),o=n(52631);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},76970:function(t,e,n){var r={};r[n(33545)("toStringTag")]="z",t.exports="[object z]"===String(r)},3373:function(t,e,n){var r=n(53817),o=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},10785:function(t){var e=Math.round;t.exports=function(t){var n=e(t);return n<0?0:n>255?255:255&n}},55220:function(t,e,n){var r=n(65078);t.exports=function(t){try{if(r)return Function('return require("'+t+'")')()}catch(t){}}},37921:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},58153:function(t,e,n){var r=n(83788),o=n(38733),i=n(80503),a=n(40726),u=n(36275),c=n(95206),s=n(49672),l=n(20253),f=n(89842),h=n(29797),p=n(25857),d=n(59452),y=n(86990),v=n(3451),g=n(10785),m=n(97231),b=n(91875),w=n(53817),A=n(90512),x=n(52631),E=n(5682),S=n(14711),O=n(91737),k=n(37710).f,_=n(4653),j=n(31131).forEach,P=n(49163),I=n(56736),T=n(49331),C=n(78569),L=n(14075),R=n(27429),M=L.get,B=L.set,F=L.enforce,N=T.f,D=C.f,U=o.RangeError,G=s.ArrayBuffer,Q=G.prototype,z=s.DataView,Y=c.NATIVE_ARRAY_BUFFER_VIEWS,H=c.TYPED_ARRAY_TAG,V=c.TypedArray,$=c.TypedArrayPrototype,W=c.aTypedArrayConstructor,q=c.isTypedArray,J="BYTES_PER_ELEMENT",K="Wrong length",X=function(t,e){W(t);for(var n=0,r=e.length,o=new t(r);r>n;)o[n]=e[n++];return o},Z=function(t,e){I(t,e,{configurable:!0,get:function(){return M(this)[e]}})},tt=function(t){var e;return S(Q,t)||"ArrayBuffer"===(e=w(t))||"SharedArrayBuffer"===e},et=function(t,e){return q(t)&&!x(e)&&e in t&&p(+e)&&e>=0},nt=function(t,e){return e=m(e),et(t,e)?f(2,t[e]):D(t,e)},rt=function(t,e,n){return e=m(e),!(et(t,e)&&A(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?N(t,e,n):(t[e]=n.value,t)};a?(Y||(C.f=nt,T.f=rt,Z($,"buffer"),Z($,"byteOffset"),Z($,"byteLength"),Z($,"length")),r({target:"Object",stat:!0,forced:!Y},{getOwnPropertyDescriptor:nt,defineProperty:rt}),t.exports=function(t,e,n){var a=t.match(/\d+/)[0]/8,c=t+(n?"Clamped":"")+"Array",s="get"+t,f="set"+t,p=o[c],m=p,b=m&&m.prototype,w={},x=function(t,e){N(t,e,{get:function(){return function(t,e){var n=M(t);return n.view[s](e*a+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var o=M(t);o.view[f](e*a+o.byteOffset,n?g(r):r,!0)}(this,e,t)},enumerable:!0})};Y?u&&(m=e((function(t,e,n,r){return l(t,b),R(A(e)?tt(e)?void 0!==r?new p(e,v(n,a),r):void 0!==n?new p(e,v(n,a)):new p(e):q(e)?X(m,e):i(_,m,e):new p(y(e)),t,m)})),O&&O(m,V),j(k(p),(function(t){t in m||h(m,t,p[t])})),m.prototype=b):(m=e((function(t,e,n,r){l(t,b);var o,u,c,s=0,f=0;if(A(e)){if(!tt(e))return q(e)?X(m,e):i(_,m,e);o=e,f=v(n,a);var h=e.byteLength;if(void 0===r){if(h%a)throw new U(K);if((u=h-f)<0)throw new U(K)}else if((u=d(r)*a)+f>h)throw new U(K);c=u/a}else c=y(e),o=new G(u=c*a);for(B(t,{buffer:o,byteOffset:f,byteLength:u,length:c,view:new z(o)});s<c;)x(t,s++)})),O&&O(m,V),b=m.prototype=E($)),b.constructor!==m&&h(b,"constructor",m),F(b).TypedArrayConstructor=m,H&&h(b,H,c);var S=m!==p;w[c]=m,r({global:!0,constructor:!0,forced:S,sham:!Y},w),J in m||h(m,J,a),J in b||h(b,J,a),P(c)}):t.exports=function(){}},36275:function(t,e,n){var r=n(38733),o=n(73969),i=n(43770),a=n(95206).NATIVE_ARRAY_BUFFER_VIEWS,u=r.ArrayBuffer,c=r.Int8Array;t.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(t){new c,new c(null),new c(1.5),new c(t)}),!0)||o((function(){return 1!==new c(new u(2),1,void 0).length}))},26919:function(t,e,n){var r=n(77032),o=n(13818);t.exports=function(t,e){return r(o(t),e)}},4653:function(t,e,n){var r=n(33690),o=n(80503),i=n(37934),a=n(63299),u=n(88360),c=n(56223),s=n(465),l=n(65899),f=n(8365),h=n(95206).aTypedArrayConstructor,p=n(21052);t.exports=function(t){var e,n,d,y,v,g,m,b,w=i(this),A=a(t),x=arguments.length,E=x>1?arguments[1]:void 0,S=void 0!==E,O=s(A);if(O&&!l(O))for(b=(m=c(A,O)).next,A=[];!(g=o(b,m)).done;)A.push(g.value);for(S&&x>2&&(E=r(E,arguments[2])),n=u(A),d=new(h(w))(n),y=f(d),e=0;n>e;e++)v=S?E(A[e],e):A[e],d[e]=y?p(v):+v;return d}},13818:function(t,e,n){var r=n(95206),o=n(46443),i=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;t.exports=function(t){return i(o(t,a(t)))}},82898:function(t,e,n){var r=n(38626),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},35138:function(t,e,n){var r=n(73969),o=n(33545),i=n(40726),a=n(61085),u=o("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),n.delete("a",2),n.delete("b",void 0),a&&(!t.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!e.size&&(a||!i)||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},93910:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(79893);t.exports=o&&!Symbol.sham&&"symbol"==r(Symbol.iterator)},1600:function(t,e,n){var r=n(40726),o=n(73969);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},83786:function(t){var e=TypeError;t.exports=function(t,n){if(t<n)throw new e("Not enough arguments");return t}},87116:function(t,e,n){var r=n(38733),o=n(13779),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},3825:function(t,e,n){var r=n(44437),o=n(91875),i=n(43285),a=n(49331).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},43285:function(t,e,n){var r=n(33545);e.f=r},33545:function(t,e,n){var r=n(38733),o=n(37551),i=n(91875),a=n(82898),u=n(79893),c=n(93910),s=r.Symbol,l=o("wks"),f=c?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=u&&i(s,t)?s[t]:f("Symbol."+t)),l[t]}},50902:function(t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},72679:function(t,e,n){var r=n(87097),o=n(91875),i=n(29797),a=n(14711),u=n(91737),c=n(126),s=n(77574),l=n(27429),f=n(20969),h=n(5674),p=n(25641),d=n(40726),y=n(61085);t.exports=function(t,e,n,v){var g="stackTraceLimit",m=v?2:1,b=t.split("."),w=b[b.length-1],A=r.apply(null,b);if(A){var x=A.prototype;if(!y&&o(x,"cause")&&delete x.cause,!n)return A;var E=r("Error"),S=e((function(t,e){var n=f(v?e:t,void 0),r=v?new A(t):new A;return void 0!==n&&i(r,"message",n),p(r,S,r.stack,2),this&&a(x,this)&&l(r,this,S),arguments.length>m&&h(r,arguments[m]),r}));if(S.prototype=x,"Error"!==w?u?u(S,E):c(S,E,{name:!0}):d&&g in A&&(s(S,A,g),s(S,A,"prepareStackTrace")),c(S,A),!y)try{x.name!==w&&i(x,"name",w),x.constructor=S}catch(t){}return S}}},23744:function(t,e,n){var r=n(83788),o=n(87097),i=n(14371),a=n(73969),u=n(72679),c="AggregateError",s=o(c),l=!a((function(){return 1!==s([1]).errors[0]}))&&a((function(){return 7!==s([1],c,{cause:7}).cause}));r({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:u(c,(function(t){return function(e,n){return i(t,this,arguments)}}),l,!0)})},84139:function(t,e,n){var r=n(83788),o=n(14711),i=n(43429),a=n(91737),u=n(126),c=n(5682),s=n(29797),l=n(89842),f=n(5674),h=n(25641),p=n(6778),d=n(20969),y=n(33545)("toStringTag"),v=Error,g=[].push,m=function(t,e){var n,r=o(b,this);a?n=a(new v,r?i(this):b):(n=r?this:c(b),s(n,y,"Error")),void 0!==e&&s(n,"message",d(e)),h(n,m,n.stack,1),arguments.length>2&&f(n,arguments[2]);var u=[];return p(t,g,{that:u}),s(n,"errors",u),n};a?a(m,v):u(m,v,{name:!0});var b=m.prototype=c(v.prototype,{constructor:l(1,m),message:l(1,""),name:l(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:m})},50113:function(t,e,n){n(84139)},92021:function(t,e,n){var r=n(83788),o=n(38733),i=n(49672),a=n(49163),u="ArrayBuffer",c=i[u];r({global:!0,constructor:!0,forced:o[u]!==c},{ArrayBuffer:c}),a(u)},71499:function(t,e,n){var r=n(83788),o=n(95206);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},32287:function(t,e,n){var r=n(83788),o=n(56210),i=n(73969),a=n(49672),u=n(51629),c=n(51336),s=n(59452),l=n(46443),f=a.ArrayBuffer,h=a.DataView,p=h.prototype,d=o(f.prototype.slice),y=o(p.getUint8),v=o(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(d&&void 0===e)return d(u(this),t);for(var n=u(this).byteLength,r=c(t,n),o=c(void 0===e?n:e,n),i=new(l(this,f))(s(o-r)),a=new h(this),p=new h(i),g=0;r<o;)v(p,g++,y(a,r++));return i}})},30593:function(t,e,n){var r=n(83788),o=n(63299),i=n(88360),a=n(98949),u=n(30287);r({target:"Array",proto:!0},{at:function(t){var e=o(this),n=i(e),r=a(t),u=r>=0?r:n+r;return u<0||u>=n?void 0:e[u]}}),u("at")},80800:function(t,e,n){var r=n(83788),o=n(73969),i=n(69786),a=n(90512),u=n(63299),c=n(88360),s=n(80571),l=n(43958),f=n(40655),h=n(28907),p=n(33545),d=n(18290),y=p("isConcatSpreadable"),v=d>=51||!o((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),g=function(t){if(!a(t))return!1;var e=t[y];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,arity:1,forced:!v||!h("concat")},{concat:function(t){var e,n,r,o,i,a=u(this),h=f(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(g(i=-1===e?a:arguments[e]))for(o=c(i),s(p+o),n=0;n<o;n++,p++)n in i&&l(h,p,i[n]);else s(p+1),l(h,p++,i);return h.length=p,h}})},10245:function(t,e,n){var r=n(83788),o=n(61351),i=n(30287);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},21577:function(t,e,n){var r=n(83788),o=n(31131).every;r({target:"Array",proto:!0,forced:!n(47032)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},71957:function(t,e,n){var r=n(83788),o=n(79239),i=n(30287);r({target:"Array",proto:!0},{fill:o}),i("fill")},66598:function(t,e,n){var r=n(83788),o=n(31131).filter;r({target:"Array",proto:!0,forced:!n(28907)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},12270:function(t,e,n){var r=n(83788),o=n(31131).findIndex,i=n(30287),a="findIndex",u=!0;a in[]&&Array(1)[a]((function(){u=!1})),r({target:"Array",proto:!0,forced:u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},85125:function(t,e,n){var r=n(83788),o=n(45917).findLastIndex,i=n(30287);r({target:"Array",proto:!0},{findLastIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findLastIndex")},16020:function(t,e,n){var r=n(83788),o=n(45917).findLast,i=n(30287);r({target:"Array",proto:!0},{findLast:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findLast")},63231:function(t,e,n){var r=n(83788),o=n(31131).find,i=n(30287),a="find",u=!0;a in[]&&Array(1)[a]((function(){u=!1})),r({target:"Array",proto:!0,forced:u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},86608:function(t,e,n){var r=n(83788),o=n(55689),i=n(60672),a=n(63299),u=n(88360),c=n(40655);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=a(this),r=u(n);return i(t),(e=c(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},5067:function(t,e,n){var r=n(83788),o=n(55689),i=n(63299),a=n(88360),u=n(98949),c=n(40655);r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e),r=c(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:u(t)),r}})},28155:function(t,e,n){var r=n(83788),o=n(32577);r({target:"Array",proto:!0,forced:[].forEach!==o},{forEach:o})},91900:function(t,e,n){var r=n(83788),o=n(48710);r({target:"Array",stat:!0,forced:!n(43770)((function(t){Array.from(t)}))},{from:o})},68993:function(t,e,n){var r=n(83788),o=n(97139).includes,i=n(73969),a=n(30287);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},98406:function(t,e,n){var r=n(83788),o=n(56210),i=n(97139).indexOf,a=n(47032),u=o([].indexOf),c=!!u&&1/u([1],1,-0)<0;r({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return c?u(this,t,e)||0:i(this,t,e)}})},29988:function(t,e,n){n(83788)({target:"Array",stat:!0},{isArray:n(69786)})},17722:function(t,e,n){var r=n(1511),o=n(30287),i=n(76143),a=n(14075),u=n(49331).f,c=n(55478),s=n(49591),l=n(61085),f=n(40726),h="Array Iterator",p=a.set,d=a.getterFor(h);t.exports=c(Array,"Array",(function(t,e){p(this,{type:h,target:r(t),index:0,kind:e})}),(function(){var t=d(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,s(void 0,!0);switch(t.kind){case"keys":return s(n,!1);case"values":return s(e[n],!1)}return s([n,e[n]],!1)}),"values");var y=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==y.name)try{u(y,"name",{value:"values"})}catch(t){}},98640:function(t,e,n){var r=n(83788),o=n(38626),i=n(89441),a=n(1511),u=n(47032),c=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!u("join",",")},{join:function(t){return c(a(this),void 0===t?",":t)}})},45723:function(t,e,n){var r=n(83788),o=n(35069);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},12592:function(t,e,n){var r=n(83788),o=n(31131).map;r({target:"Array",proto:!0,forced:!n(28907)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},63657:function(t,e,n){var r=n(83788),o=n(73969),i=n(51031),a=n(43958),u=Array;r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(u.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new(i(this)?this:u)(e);e>t;)a(n,t,arguments[t++]);return n.length=e,n}})},1492:function(t,e,n){var r=n(83788),o=n(63299),i=n(88360),a=n(57681),u=n(80571);r({target:"Array",proto:!0,arity:1,forced:n(73969)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=o(this),n=i(e),r=arguments.length;u(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return a(e,n),n}})},25853:function(t,e,n){var r=n(83788),o=n(65340).right,i=n(47032),a=n(18290);r({target:"Array",proto:!0,forced:!n(65078)&&a>79&&a<83||!i("reduceRight")},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},77246:function(t,e,n){var r=n(83788),o=n(65340).left,i=n(47032),a=n(18290);r({target:"Array",proto:!0,forced:!n(65078)&&a>79&&a<83||!i("reduce")},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},74276:function(t,e,n){var r=n(83788),o=n(38626),i=n(69786),a=o([].reverse),u=[1,2];r({target:"Array",proto:!0,forced:String(u)===String(u.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a(this)}})},90720:function(t,e,n){var r=n(83788),o=n(69786),i=n(51031),a=n(90512),u=n(51336),c=n(88360),s=n(1511),l=n(43958),f=n(33545),h=n(28907),p=n(49786),d=h("slice"),y=f("species"),v=Array,g=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,r,f,h=s(this),d=c(h),m=u(t,d),b=u(void 0===e?d:e,d);if(o(h)&&(n=h.constructor,(i(n)&&(n===v||o(n.prototype))||a(n)&&null===(n=n[y]))&&(n=void 0),n===v||void 0===n))return p(h,m,b);for(r=new(void 0===n?v:n)(g(b-m,0)),f=0;m<b;m++,f++)m in h&&l(r,f,h[m]);return r.length=f,r}})},93740:function(t,e,n){var r=n(83788),o=n(31131).some;r({target:"Array",proto:!0,forced:!n(47032)("some")},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},15928:function(t,e,n){var r=n(83788),o=n(38626),i=n(60672),a=n(63299),u=n(88360),c=n(28340),s=n(3373),l=n(73969),f=n(274),h=n(47032),p=n(30268),d=n(67244),y=n(18290),v=n(35598),g=[],m=o(g.sort),b=o(g.push),w=l((function(){g.sort(void 0)})),A=l((function(){g.sort(null)})),x=h("sort"),E=!l((function(){if(y)return y<70;if(!(p&&p>3)){if(d)return!0;if(v)return v<603;var t,e,n,r,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:e+r,v:n})}for(g.sort((function(t,e){return e.v-t.v})),r=0;r<g.length;r++)e=g[r].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:w||!A||!x||!E},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(E)return void 0===t?m(e):m(e,t);var n,r,o=[],l=u(e);for(r=0;r<l;r++)r in e&&b(o,e[r]);for(f(o,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:s(e)>s(n)?1:-1}}(t)),n=u(o),r=0;r<n;)e[r]=o[r++];for(;r<l;)c(e,r++);return e}})},12140:function(t,e,n){n(49163)("Array")},84936:function(t,e,n){var r=n(83788),o=n(63299),i=n(51336),a=n(98949),u=n(88360),c=n(57681),s=n(80571),l=n(40655),f=n(43958),h=n(28340),p=n(28907)("splice"),d=Math.max,y=Math.min;r({target:"Array",proto:!0,forced:!p},{splice:function(t,e){var n,r,p,v,g,m,b=o(this),w=u(b),A=i(t,w),x=arguments.length;for(0===x?n=r=0:1===x?(n=0,r=w-A):(n=x-2,r=y(d(a(e),0),w-A)),s(w+n-r),p=l(b,r),v=0;v<r;v++)(g=A+v)in b&&f(p,v,b[g]);if(p.length=r,n<r){for(v=A;v<w-r;v++)m=v+n,(g=v+r)in b?b[m]=b[g]:h(b,m);for(v=w;v>w-r+n;v--)h(b,v-1)}else if(n>r)for(v=w-r;v>A;v--)m=v+n-1,(g=v+r-1)in b?b[m]=b[g]:h(b,m);for(v=0;v<n;v++)b[v+A]=arguments[v+2];return c(b,w-r+n),p}})},72924:function(t,e,n){var r=n(83788),o=n(80314),i=n(1511),a=n(30287),u=Array;r({target:"Array",proto:!0},{toReversed:function(){return o(i(this),u)}}),a("toReversed")},21435:function(t,e,n){var r=n(83788),o=n(38626),i=n(60672),a=n(1511),u=n(77032),c=n(60546),s=n(30287),l=Array,f=o(c("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(t){void 0!==t&&i(t);var e=a(this),n=u(l,e);return f(n,t)}}),s("toSorted")},1404:function(t,e,n){var r=n(83788),o=n(30287),i=n(80571),a=n(88360),u=n(51336),c=n(1511),s=n(98949),l=Array,f=Math.max,h=Math.min;r({target:"Array",proto:!0},{toSpliced:function(t,e){var n,r,o,p,d=c(this),y=a(d),v=u(t,y),g=arguments.length,m=0;for(0===g?n=r=0:1===g?(n=0,r=y-v):(n=g-2,r=h(f(s(e),0),y-v)),o=i(y+n-r),p=l(o);m<v;m++)p[m]=d[m];for(;m<v+n;m++)p[m]=arguments[m-v+2];for(;m<o;m++)p[m]=d[m+r-n];return p}}),o("toSpliced")},7987:function(t,e,n){n(30287)("flatMap")},94800:function(t,e,n){n(30287)("flat")},26319:function(t,e,n){var r=n(83788),o=n(63299),i=n(88360),a=n(57681),u=n(28340),c=n(80571);r({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}()},{unshift:function(t){var e=o(this),n=i(e),r=arguments.length;if(r){c(n+r);for(var s=n;s--;){var l=s+r;s in e?e[l]=e[s]:u(e,l)}for(var f=0;f<r;f++)e[f]=arguments[f]}return a(e,n+r)}})},75928:function(t,e,n){var r=n(83788),o=n(8362),i=n(1511),a=Array;r({target:"Array",proto:!0},{with:function(t,e){return o(i(this),a,t,e)}})},64769:function(t,e,n){var r=n(83788),o=n(49672);r({global:!0,constructor:!0,forced:!n(58713)},{DataView:o.DataView})},96891:function(t,e,n){n(64769)},35109:function(t,e,n){var r=n(83788),o=n(38626),i=n(73969)((function(){return 120!==new Date(16e11).getYear()})),a=o(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:i},{getYear:function(){return a(this)-1900}})},4267:function(t,e,n){var r=n(83788),o=n(38626),i=Date,a=o(i.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return a(new i)}})},47289:function(t,e,n){var r=n(83788),o=n(38626),i=n(98949),a=Date.prototype,u=o(a.getTime),c=o(a.setFullYear);r({target:"Date",proto:!0},{setYear:function(t){u(this);var e=i(t);return c(this,e>=0&&e<=99?e+1900:e)}})},18089:function(t,e,n){n(83788)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},32906:function(t,e,n){var r=n(83788),o=n(76630);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},41325:function(t,e,n){var r=n(83788),o=n(73969),i=n(63299),a=n(28859);r({target:"Date",proto:!0,arity:1,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},54762:function(t,e,n){var r=n(91875),o=n(42834),i=n(97462),a=n(33545)("toPrimitive"),u=Date.prototype;r(u,a)||o(u,a,i)},95250:function(t,e,n){var r=n(38626),o=n(42834),i=Date.prototype,a="Invalid Date",u="toString",c=r(i[u]),s=r(i.getTime);String(new Date(NaN))!==a&&o(i,u,(function(){var t=s(this);return t==t?c(this):a}))},4738:function(t,e,n){var r=n(83788),o=n(38733),i=n(14371),a=n(72679),u="WebAssembly",c=o[u],s=7!==new Error("e",{cause:7}).cause,l=function(t,e){var n={};n[t]=a(t,e,s),r({global:!0,constructor:!0,arity:1,forced:s},n)},f=function(t,e){if(c&&c[t]){var n={};n[t]=a(u+"."+t,e,s),r({target:u,stat:!0,constructor:!0,arity:1,forced:s},n)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},72436:function(t,e,n){var r=n(42834),o=n(31366),i=Error.prototype;i.toString!==o&&r(i,"toString",o)},56434:function(t,e,n){var r=n(83788),o=n(38626),i=n(3373),a=o("".charAt),u=o("".charCodeAt),c=o(/./.exec),s=o(1..toString),l=o("".toUpperCase),f=/[\w*+\-./@]/,h=function(t,e){for(var n=s(t,16);n.length<e;)n="0"+n;return n};r({global:!0},{escape:function(t){for(var e,n,r=i(t),o="",s=r.length,p=0;p<s;)e=a(r,p++),c(f,e)?o+=e:o+=(n=u(e,0))<256?"%"+h(n,2):"%u"+l(h(n,4));return o}})},32568:function(t,e,n){var r=n(83788),o=n(34812);r({target:"Function",proto:!0,forced:Function.bind!==o},{bind:o})},10695:function(t,e,n){var r=n(13779),o=n(90512),i=n(49331),a=n(43429),u=n(33545),c=n(32113),s=u("hasInstance"),l=Function.prototype;s in l||i.f(l,s,{value:c((function(t){if(!r(this)||!o(t))return!1;var e=this.prototype;if(!o(e))return t instanceof this;for(;t=a(t);)if(e===t)return!0;return!1}),s)})},11420:function(t,e,n){var r=n(40726),o=n(71272).EXISTS,i=n(38626),a=n(56736),u=Function.prototype,c=i(u.toString),s=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(s.exec);r&&!o&&a(u,"name",{configurable:!0,get:function(){try{return l(s,c(this))[1]}catch(t){return""}}})},92967:function(t,e,n){var r=n(83788),o=n(38733);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},16032:function(t,e,n){var r=n(83788),o=n(87097),i=n(14371),a=n(80503),u=n(38626),c=n(73969),s=n(13779),l=n(52631),f=n(49786),h=n(34983),p=n(79893),d=String,y=o("JSON","stringify"),v=u(/./.exec),g=u("".charAt),m=u("".charCodeAt),b=u("".replace),w=u(1..toString),A=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,S=!p||c((function(){var t=o("Symbol")("stringify detection");return"[null]"!==y([t])||"{}"!==y({a:t})||"{}"!==y(Object(t))})),O=c((function(){return'"\\udf06\\ud834"'!==y("\udf06\ud834")||'"\\udead"'!==y("\udead")})),k=function(t,e){var n=f(arguments),r=h(e);if(s(r)||void 0!==t&&!l(t))return n[1]=function(t,e){if(s(r)&&(e=a(r,this,d(t),e)),!l(e))return e},i(y,null,n)},_=function(t,e,n){var r=g(n,e-1),o=g(n,e+1);return v(x,t)&&!v(E,o)||v(E,t)&&!v(x,r)?"\\u"+w(m(t,0),16):t};y&&r({target:"JSON",stat:!0,arity:3,forced:S||O},{stringify:function(t,e,n){var r=f(arguments),o=i(S?k:y,null,r);return O&&"string"==typeof o?b(o,A,_):o}})},27945:function(t,e,n){var r=n(38733);n(86477)(r.JSON,"JSON",!0)},53389:function(t,e,n){n(90510)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(55252))},35086:function(t,e,n){var r=n(83788),o=n(38626),i=n(60672),a=n(72744),u=n(6778),c=n(48130),s=n(61085),l=c.Map,f=c.has,h=c.get,p=c.set,d=o([].push);r({target:"Map",stat:!0,forced:s},{groupBy:function(t,e){a(t),i(e);var n=new l,r=0;return u(t,(function(t){var o=e(t,r++);f(n,o)?d(h(n,o),t):p(n,o,[t])})),n}})},96975:function(t,e,n){n(53389)},1795:function(t,e,n){var r=n(83788),o=n(11882),i=Math.acosh,a=Math.log,u=Math.sqrt,c=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!==Math.floor(i(Number.MAX_VALUE))||i(1/0)!==1/0},{acosh:function(t){var e=+t;return e<1?NaN:e>94906265.62425156?a(e)+c:o(e-1+u(e-1)*u(e+1))}})},79932:function(t,e,n){var r=n(83788),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){var n=+e;return isFinite(n)&&0!==n?n<0?-t(-n):i(n+a(n*n+1)):n}})},35335:function(t,e,n){var r=n(83788),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){var e=+t;return 0===e?e:i((1+e)/(1-e))/2}})},1042:function(t,e,n){var r=n(83788),o=n(2252),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){var e=+t;return o(e)*a(i(e),1/3)}})},59627:function(t,e,n){var r=n(83788),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){var e=t>>>0;return e?31-o(i(e+.5)*a):32}})},29488:function(t,e,n){var r=n(83788),o=n(97640),i=Math.cosh,a=Math.abs,u=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*u*u))*(u/2)}})},28300:function(t,e,n){var r=n(83788),o=n(97640);r({target:"Math",stat:!0,forced:o!==Math.expm1},{expm1:o})},52175:function(t,e,n){n(83788)({target:"Math",stat:!0},{fround:n(24267)})},38655:function(t,e,n){var r=n(83788),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,u=0,c=arguments.length,s=0;u<c;)s<(n=i(arguments[u++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},75178:function(t,e,n){var r=n(83788),o=n(73969),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!==i(4294967295,5)||2!==i.length}))},{imul:function(t,e){var n=65535,r=+t,o=+e,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},10214:function(t,e,n){n(83788)({target:"Math",stat:!0},{log10:n(53482)})},2790:function(t,e,n){n(83788)({target:"Math",stat:!0},{log1p:n(11882)})},501:function(t,e,n){var r=n(83788),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},93e3:function(t,e,n){n(83788)({target:"Math",stat:!0},{sign:n(2252)})},29587:function(t,e,n){var r=n(83788),o=n(73969),i=n(97640),a=Math.abs,u=Math.exp,c=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!==Math.sinh(-2e-17)}))},{sinh:function(t){var e=+t;return a(e)<1?(i(e)-i(-e))/2:(u(e-1)-u(-e-1))*(c/2)}})},27904:function(t,e,n){var r=n(83788),o=n(97640),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=+t,n=o(e),r=o(-e);return n===1/0?1:r===1/0?-1:(n-r)/(i(e)+i(-e))}})},75770:function(t,e,n){n(86477)(Math,"Math",!0)},18411:function(t,e,n){n(83788)({target:"Math",stat:!0},{trunc:n(17263)})},38870:function(t,e,n){var r=n(83788),o=n(61085),i=n(40726),a=n(38733),u=n(44437),c=n(38626),s=n(43634),l=n(91875),f=n(27429),h=n(14711),p=n(52631),d=n(28859),y=n(73969),v=n(37710).f,g=n(78569).f,m=n(49331).f,b=n(9494),w=n(62648).trim,A="Number",x=a[A],E=u[A],S=x.prototype,O=a.TypeError,k=c("".slice),_=c("".charCodeAt),j=s(A,!x(" 0o1")||!x("0b1")||x("+0x1")),P=function(t){var e,n=arguments.length<1?0:x(function(t){var e=d(t,"number");return"bigint"==typeof e?e:function(t){var e,n,r,o,i,a,u,c,s=d(t,"number");if(p(s))throw new O("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=w(s),43===(e=_(s,0))||45===e){if(88===(n=_(s,2))||120===n)return NaN}else if(48===e){switch(_(s,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=k(s,2)).length,u=0;u<a;u++)if((c=_(i,u))<48||c>o)return NaN;return parseInt(i,r)}return+s}(e)}(t));return h(S,e=this)&&y((function(){b(e)}))?f(Object(n),this,P):n};P.prototype=S,j&&!o&&(S.constructor=P),r({global:!0,constructor:!0,wrap:!0,forced:j},{Number:P});var I=function(t,e){for(var n,r=i?v(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)l(e,n=r[o])&&!l(t,n)&&m(t,n,g(e,n))};o&&E&&I(u[A],E),(j||o)&&I(u[A],x)},9364:function(t,e,n){n(83788)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},23082:function(t,e,n){n(83788)({target:"Number",stat:!0},{isFinite:n(71438)})},72867:function(t,e,n){n(83788)({target:"Number",stat:!0},{isInteger:n(25857)})},97808:function(t,e,n){n(83788)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},8015:function(t,e,n){var r=n(83788),o=n(25857),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},57131:function(t,e,n){n(83788)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},63489:function(t,e,n){n(83788)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},18142:function(t,e,n){var r=n(83788),o=n(17642);r({target:"Number",stat:!0,forced:Number.parseFloat!==o},{parseFloat:o})},4881:function(t,e,n){var r=n(83788),o=n(14125);r({target:"Number",stat:!0,forced:Number.parseInt!==o},{parseInt:o})},6031:function(t,e,n){var r=n(83788),o=n(38626),i=n(98949),a=n(9494),u=n(90875),c=n(53482),s=n(73969),l=RangeError,f=String,h=isFinite,p=Math.abs,d=Math.floor,y=Math.pow,v=Math.round,g=o(1..toExponential),m=o(u),b=o("".slice),w="-6.9000e-11"===g(-69e-12,4)&&"1.25e+0"===g(1.255,2)&&"1.235e+4"===g(12345,3)&&"3e+1"===g(25,0);r({target:"Number",proto:!0,forced:!w||!(s((function(){g(1,1/0)}))&&s((function(){g(1,-1/0)})))||!!s((function(){g(1/0,1/0),g(NaN,1/0)}))},{toExponential:function(t){var e=a(this);if(void 0===t)return g(e);var n=i(t);if(!h(e))return String(e);if(n<0||n>20)throw new l("Incorrect fraction digits");if(w)return g(e,n);var r="",o="",u=0,s="",A="";if(e<0&&(r="-",e=-e),0===e)u=0,o=m("0",n+1);else{var x=c(e);u=d(x);var E=0,S=y(10,u-n);2*e>=(2*(E=v(e/S))+1)*S&&(E+=1),E>=y(10,n+1)&&(E/=10,u+=1),o=f(E)}return 0!==n&&(o=b(o,0,1)+"."+b(o,1)),0===u?(s="+",A="0"):(s=u>0?"+":"-",A=f(p(u))),r+(o+"e")+s+A}})},15482:function(t,e,n){var r=n(83788),o=n(38626),i=n(98949),a=n(9494),u=n(90875),c=n(73969),s=RangeError,l=String,f=Math.floor,h=o(u),p=o("".slice),d=o(1..toFixed),y=function(t,e,n){return 0===e?n:e%2==1?y(t,e-1,n*t):y(t*t,e/2,n)},v=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=f(o/1e7)},g=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=f(r/e),r=r%e*1e7},m=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=l(t[e]);n=""===n?r:n+h("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:c((function(){return"0.000"!==d(8e-5,3)||"1"!==d(.9,0)||"1.25"!==d(1.255,2)||"1000000000000000128"!==d(0xde0b6b3a7640080,0)}))||!c((function(){d({})}))},{toFixed:function(t){var e,n,r,o,u=a(this),c=i(t),f=[0,0,0,0,0,0],d="",b="0";if(c<0||c>20)throw new s("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return l(u);if(u<0&&(d="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*y(2,69,1))-69)<0?u*y(2,-e,1):u/y(2,e,1),n*=4503599627370496,(e=52-e)>0){for(v(f,0,n),r=c;r>=7;)v(f,1e7,0),r-=7;for(v(f,y(10,r,1),0),r=e-1;r>=23;)g(f,1<<23),r-=23;g(f,1<<r),v(f,1,1),g(f,2),b=m(f)}else v(f,0,n),v(f,1<<-e,0),b=m(f)+h("0",c);return c>0?d+((o=b.length)<=c?"0."+h("0",c-o)+b:p(b,0,o-c)+"."+p(b,o-c)):d+b}})},66876:function(t,e,n){var r=n(83788),o=n(38626),i=n(73969),a=n(9494),u=o(1..toPrecision);r({target:"Number",proto:!0,forced:i((function(){return"1"!==u(1,void 0)}))||!i((function(){u({})}))},{toPrecision:function(t){return void 0===t?u(a(this)):u(a(this),t)}})},60191:function(t,e,n){var r=n(83788),o=n(2471);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},10122:function(t,e,n){n(83788)({target:"Object",stat:!0,sham:!n(40726)},{create:n(5682)})},30793:function(t,e,n){var r=n(83788),o=n(40726),i=n(66673),a=n(60672),u=n(63299),c=n(49331);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(t,e){c.f(u(this),t,{get:a(e),enumerable:!0,configurable:!0})}})},40983:function(t,e,n){var r=n(83788),o=n(40726),i=n(13375).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},3147:function(t,e,n){var r=n(83788),o=n(40726),i=n(49331).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!o},{defineProperty:i})},83269:function(t,e,n){var r=n(83788),o=n(40726),i=n(66673),a=n(60672),u=n(63299),c=n(49331);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(t,e){c.f(u(this),t,{set:a(e),enumerable:!0,configurable:!0})}})},40468:function(t,e,n){var r=n(83788),o=n(52307).entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},77265:function(t,e,n){var r=n(83788),o=n(72346),i=n(73969),a=n(90512),u=n(61441).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(t){return c&&a(t)?c(u(t)):t}})},67027:function(t,e,n){var r=n(83788),o=n(6778),i=n(43958);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,(function(t,n){i(e,t,n)}),{AS_ENTRIES:!0}),e}})},2209:function(t,e,n){var r=n(83788),o=n(73969),i=n(1511),a=n(78569).f,u=n(40726);r({target:"Object",stat:!0,forced:!u||o((function(){a(1)})),sham:!u},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},30708:function(t,e,n){var r=n(83788),o=n(40726),i=n(39921),a=n(1511),u=n(78569),c=n(43958);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=u.f,s=i(r),l={},f=0;s.length>f;)void 0!==(n=o(r,e=s[f++]))&&c(l,e,n);return l}})},10998:function(t,e,n){var r=n(83788),o=n(73969),i=n(60284).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},23051:function(t,e,n){var r=n(83788),o=n(79893),i=n(73969),a=n(3747),u=n(63299);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(u(t)):[]}})},17661:function(t,e,n){var r=n(83788),o=n(73969),i=n(63299),a=n(43429),u=n(79673);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!u},{getPrototypeOf:function(t){return a(i(t))}})},13253:function(t,e,n){var r=n(83788),o=n(87097),i=n(38626),a=n(60672),u=n(72744),c=n(97231),s=n(6778),l=o("Object","create"),f=i([].push);r({target:"Object",stat:!0},{groupBy:function(t,e){u(t),a(e);var n=l(null),r=0;return s(t,(function(t){var o=c(e(t,r++));o in n?f(n[o],t):n[o]=[t]})),n}})},56625:function(t,e,n){n(83788)({target:"Object",stat:!0},{hasOwn:n(91875)})},77538:function(t,e,n){var r=n(83788),o=n(46650);r({target:"Object",stat:!0,forced:Object.isExtensible!==o},{isExtensible:o})},49425:function(t,e,n){var r=n(83788),o=n(73969),i=n(90512),a=n(97494),u=n(12438),c=Object.isFrozen;r({target:"Object",stat:!0,forced:u||o((function(){c(1)}))},{isFrozen:function(t){return!i(t)||!(!u||"ArrayBuffer"!==a(t))||!!c&&c(t)}})},38643:function(t,e,n){var r=n(83788),o=n(73969),i=n(90512),a=n(97494),u=n(12438),c=Object.isSealed;r({target:"Object",stat:!0,forced:u||o((function(){c(1)}))},{isSealed:function(t){return!i(t)||!(!u||"ArrayBuffer"!==a(t))||!!c&&c(t)}})},77250:function(t,e,n){n(83788)({target:"Object",stat:!0},{is:n(87700)})},4602:function(t,e,n){var r=n(83788),o=n(63299),i=n(30306);r({target:"Object",stat:!0,forced:n(73969)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},40846:function(t,e,n){var r=n(83788),o=n(40726),i=n(66673),a=n(63299),u=n(97231),c=n(43429),s=n(78569).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(t){var e,n=a(this),r=u(t);do{if(e=s(n,r))return e.get}while(n=c(n))}})},27970:function(t,e,n){var r=n(83788),o=n(40726),i=n(66673),a=n(63299),u=n(97231),c=n(43429),s=n(78569).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(t){var e,n=a(this),r=u(t);do{if(e=s(n,r))return e.set}while(n=c(n))}})},60689:function(t,e,n){var r=n(83788),o=n(90512),i=n(61441).onFreeze,a=n(72346),u=n(73969),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:u((function(){c(1)})),sham:!a},{preventExtensions:function(t){return c&&o(t)?c(i(t)):t}})},87062:function(t,e,n){var r=n(40726),o=n(56736),i=n(90512),a=n(63299),u=n(72744),c=Object.getPrototypeOf,s=Object.setPrototypeOf,l=Object.prototype,f="__proto__";if(r&&c&&s&&!(f in l))try{o(l,f,{configurable:!0,get:function(){return c(a(this))},set:function(t){var e=u(this);(i(t)||null===t)&&i(e)&&s(e,t)}})}catch(t){}},93403:function(t,e,n){var r=n(83788),o=n(90512),i=n(61441).onFreeze,a=n(72346),u=n(73969),c=Object.seal;r({target:"Object",stat:!0,forced:u((function(){c(1)})),sham:!a},{seal:function(t){return c&&o(t)?c(i(t)):t}})},92145:function(t,e,n){n(83788)({target:"Object",stat:!0},{setPrototypeOf:n(91737)})},26885:function(t,e,n){var r=n(76970),o=n(42834),i=n(77917);r||o(Object.prototype,"toString",i,{unsafe:!0})},64764:function(t,e,n){var r=n(83788),o=n(52307).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},49249:function(t,e,n){var r=n(83788),o=n(17642);r({global:!0,forced:parseFloat!==o},{parseFloat:o})},90766:function(t,e,n){var r=n(83788),o=n(14125);r({global:!0,forced:parseInt!==o},{parseInt:o})},58209:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(45149),u=n(39577),c=n(6778);r({target:"Promise",stat:!0,forced:n(51159)},{allSettled:function(t){var e=this,n=a.f(e),r=n.resolve,s=n.reject,l=u((function(){var n=i(e.resolve),a=[],u=0,s=1;c(t,(function(t){var i=u++,c=!1;s++,o(n,e,t).then((function(t){c||(c=!0,a[i]={status:"fulfilled",value:t},--s||r(a))}),(function(t){c||(c=!0,a[i]={status:"rejected",reason:t},--s||r(a))}))})),--s||r(a)}));return l.error&&s(l.value),n.promise}})},22129:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(45149),u=n(39577),c=n(6778);r({target:"Promise",stat:!0,forced:n(51159)},{all:function(t){var e=this,n=a.f(e),r=n.resolve,s=n.reject,l=u((function(){var n=i(e.resolve),a=[],u=0,l=1;c(t,(function(t){var i=u++,c=!1;l++,o(n,e,t).then((function(t){c||(c=!0,a[i]=t,--l||r(a))}),s)})),--l||r(a)}));return l.error&&s(l.value),n.promise}})},51840:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(87097),u=n(45149),c=n(39577),s=n(6778),l=n(51159),f="No one promise resolved";r({target:"Promise",stat:!0,forced:l},{any:function(t){var e=this,n=a("AggregateError"),r=u.f(e),l=r.resolve,h=r.reject,p=c((function(){var r=i(e.resolve),a=[],u=0,c=1,p=!1;s(t,(function(t){var i=u++,s=!1;c++,o(r,e,t).then((function(t){s||p||(p=!0,l(t))}),(function(t){s||p||(s=!0,a[i]=t,--c||h(new n(a,f)))}))})),--c||h(new n(a,f))}));return p.error&&h(p.value),r.promise}})},59649:function(t,e,n){var r=n(83788),o=n(61085),i=n(83542).CONSTRUCTOR,a=n(15336),u=n(87097),c=n(13779),s=n(42834),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&c(a)){var f=u("Promise").prototype.catch;l.catch!==f&&s(l,"catch",f,{unsafe:!0})}},54458:function(t,e,n){var r,o,i,a=n(83788),u=n(61085),c=n(65078),s=n(38733),l=n(80503),f=n(42834),h=n(91737),p=n(86477),d=n(49163),y=n(60672),v=n(13779),g=n(90512),m=n(20253),b=n(46443),w=n(98503).set,A=n(93313),x=n(59891),E=n(39577),S=n(17467),O=n(14075),k=n(15336),_=n(83542),j=n(45149),P="Promise",I=_.CONSTRUCTOR,T=_.REJECTION_EVENT,C=_.SUBCLASSING,L=O.getterFor(P),R=O.set,M=k&&k.prototype,B=k,F=M,N=s.TypeError,D=s.document,U=s.process,G=j.f,Q=G,z=!!(D&&D.createEvent&&s.dispatchEvent),Y="unhandledrejection",H=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},V=function(t,e){var n,r,o,i=e.value,a=1===e.state,u=a?t.ok:t.fail,c=t.resolve,s=t.reject,f=t.domain;try{u?(a||(2===e.rejection&&K(e),e.rejection=1),!0===u?n=i:(f&&f.enter(),n=u(i),f&&(f.exit(),o=!0)),n===t.promise?s(new N("Promise-chain cycle")):(r=H(n))?l(r,n,c,s):c(n)):s(i)}catch(t){f&&!o&&f.exit(),s(t)}},$=function(t,e){t.notified||(t.notified=!0,A((function(){for(var n,r=t.reactions;n=r.get();)V(n,t);t.notified=!1,e&&!t.rejection&&q(t)})))},W=function(t,e,n){var r,o;z?((r=D.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!T&&(o=s["on"+t])?o(r):t===Y&&x("Unhandled promise rejection",n)},q=function(t){l(w,s,(function(){var e,n=t.facade,r=t.value;if(J(t)&&(e=E((function(){c?U.emit("unhandledRejection",r,n):W(Y,n,r)})),t.rejection=c||J(t)?2:1,e.error))throw e.value}))},J=function(t){return 1!==t.rejection&&!t.parent},K=function(t){l(w,s,(function(){var e=t.facade;c?U.emit("rejectionHandled",e):W("rejectionhandled",e,t.value)}))},X=function(t,e,n){return function(r){t(e,r,n)}},Z=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,$(t,!0))},tt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new N("Promise can't be resolved itself");var r=H(e);r?A((function(){var n={done:!1};try{l(r,e,X(tt,n,t),X(Z,n,t))}catch(e){Z(n,e,t)}})):(t.value=e,t.state=1,$(t,!1))}catch(e){Z({done:!1},e,t)}}};if(I&&(F=(B=function(t){m(this,F),y(t),l(r,this);var e=L(this);try{t(X(tt,e),X(Z,e))}catch(t){Z(e,t)}}).prototype,(r=function(t){R(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(F,"then",(function(t,e){var n=L(this),r=G(b(this,B));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=c?U.domain:void 0,0===n.state?n.reactions.add(r):A((function(){V(r,n)})),r.promise})),o=function(){var t=new r,e=L(t);this.promise=t,this.resolve=X(tt,e),this.reject=X(Z,e)},j.f=G=function(t){return t===B||void 0===t?new o(t):Q(t)},!u&&v(k)&&M!==Object.prototype)){i=M.then,C||f(M,"then",(function(t,e){var n=this;return new B((function(t,e){l(i,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete M.constructor}catch(t){}h&&h(M,F)}a({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:B}),p(B,P,!1,!0),d(P)},96405:function(t,e,n){var r=n(83788),o=n(61085),i=n(15336),a=n(73969),u=n(87097),c=n(13779),s=n(46443),l=n(20916),f=n(42834),h=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(this,u("Promise")),n=c(t);return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}}),!o&&c(i)){var p=u("Promise").prototype.finally;h.finally!==p&&f(h,"finally",p,{unsafe:!0})}},28244:function(t,e,n){n(54458),n(22129),n(59649),n(97977),n(18823),n(94902)},97977:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(45149),u=n(39577),c=n(6778);r({target:"Promise",stat:!0,forced:n(51159)},{race:function(t){var e=this,n=a.f(e),r=n.reject,s=u((function(){var a=i(e.resolve);c(t,(function(t){o(a,e,t).then(n.resolve,r)}))}));return s.error&&r(s.value),n.promise}})},18823:function(t,e,n){var r=n(83788),o=n(80503),i=n(45149);r({target:"Promise",stat:!0,forced:n(83542).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return o(e.reject,void 0,t),e.promise}})},94902:function(t,e,n){var r=n(83788),o=n(87097),i=n(61085),a=n(15336),u=n(83542).CONSTRUCTOR,c=n(20916),s=o("Promise"),l=i&&!u;r({target:"Promise",stat:!0,forced:i||u},{resolve:function(t){return c(l&&this===s?a:this,t)}})},11930:function(t,e,n){var r=n(83788),o=n(45149);r({target:"Promise",stat:!0},{withResolvers:function(){var t=o.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}})},81882:function(t,e,n){var r=n(83788),o=n(14371),i=n(60672),a=n(51629);r({target:"Reflect",stat:!0,forced:!n(73969)((function(){Reflect.apply((function(){}))}))},{apply:function(t,e,n){return o(i(t),e,a(n))}})},53591:function(t,e,n){var r=n(83788),o=n(87097),i=n(14371),a=n(34812),u=n(37934),c=n(51629),s=n(90512),l=n(5682),f=n(73969),h=o("Reflect","construct"),p=Object.prototype,d=[].push,y=f((function(){function t(){}return!(h((function(){}),[],t)instanceof t)})),v=!f((function(){h((function(){}))})),g=y||v;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){u(t),c(e);var n=arguments.length<3?t:u(arguments[2]);if(v&&!y)return h(t,e,n);if(t===n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return i(d,r,e),new(i(a,t,r))}var o=n.prototype,f=l(s(o)?o:p),g=i(t,f,e);return s(g)?g:f}})},6797:function(t,e,n){var r=n(83788),o=n(40726),i=n(51629),a=n(97231),u=n(49331);r({target:"Reflect",stat:!0,forced:n(73969)((function(){Reflect.defineProperty(u.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(t,e,n){i(t);var r=a(e);i(n);try{return u.f(t,r,n),!0}catch(t){return!1}}})},13301:function(t,e,n){var r=n(83788),o=n(51629),i=n(78569).f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},21351:function(t,e,n){var r=n(83788),o=n(40726),i=n(51629),a=n(78569);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(t,e){return a.f(i(t),e)}})},96639:function(t,e,n){var r=n(83788),o=n(51629),i=n(43429);r({target:"Reflect",stat:!0,sham:!n(79673)},{getPrototypeOf:function(t){return i(o(t))}})},20178:function(t,e,n){var r=n(83788),o=n(80503),i=n(90512),a=n(51629),u=n(40277),c=n(78569),s=n(43429);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,l,f=arguments.length<3?e:arguments[2];return a(e)===f?e[n]:(r=c.f(e,n))?u(r)?r.value:void 0===r.get?void 0:o(r.get,f):i(l=s(e))?t(l,n,f):void 0}})},77126:function(t,e,n){n(83788)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},25912:function(t,e,n){var r=n(83788),o=n(51629),i=n(46650);r({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),i(t)}})},35367:function(t,e,n){n(83788)({target:"Reflect",stat:!0},{ownKeys:n(39921)})},89139:function(t,e,n){var r=n(83788),o=n(87097),i=n(51629);r({target:"Reflect",stat:!0,sham:!n(72346)},{preventExtensions:function(t){i(t);try{var e=o("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},63035:function(t,e,n){var r=n(83788),o=n(51629),i=n(48404),a=n(91737);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){o(t),i(e);try{return a(t,e),!0}catch(t){return!1}}})},66302:function(t,e,n){var r=n(83788),o=n(80503),i=n(51629),a=n(90512),u=n(40277),c=n(73969),s=n(49331),l=n(78569),f=n(43429),h=n(89842);r({target:"Reflect",stat:!0,forced:c((function(){var t=function(){},e=s.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)}))},{set:function t(e,n,r){var c,p,d,y=arguments.length<4?e:arguments[3],v=l.f(i(e),n);if(!v){if(a(p=f(e)))return t(p,n,r,y);v=h(0)}if(u(v)){if(!1===v.writable||!a(y))return!1;if(c=l.f(y,n)){if(c.get||c.set||!1===c.writable)return!1;c.value=r,s.f(y,n,c)}else s.f(y,n,h(0,r))}else{if(void 0===(d=v.set))return!1;o(d,y,r)}return!0}})},80822:function(t,e,n){var r=n(83788),o=n(38733),i=n(86477);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},22382:function(t,e,n){var r=n(40726),o=n(38733),i=n(38626),a=n(43634),u=n(27429),c=n(29797),s=n(5682),l=n(37710).f,f=n(14711),h=n(11642),p=n(3373),d=n(40992),y=n(83859),v=n(77574),g=n(42834),m=n(73969),b=n(91875),w=n(14075).enforce,A=n(49163),x=n(33545),E=n(96693),S=n(25496),O=x("match"),k=o.RegExp,_=k.prototype,j=o.SyntaxError,P=i(_.exec),I=i("".charAt),T=i("".replace),C=i("".indexOf),L=i("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,B=/a/g,F=new k(M)!==M,N=y.MISSED_STICKY,D=y.UNSUPPORTED_Y;if(a("RegExp",r&&(!F||N||E||S||m((function(){return B[O]=!1,k(M)!==M||k(B)===B||"/a/i"!==String(k(M,"i"))}))))){for(var U=function(t,e){var n,r,o,i,a,l,y=f(_,this),v=h(t),g=void 0===e,m=[],A=t;if(!y&&v&&g&&t.constructor===U)return t;if((v||f(_,t))&&(t=t.source,g&&(e=d(A))),t=void 0===t?"":p(t),e=void 0===e?"":p(e),A=t,E&&"dotAll"in M&&(r=!!e&&C(e,"s")>-1)&&(e=T(e,/s/g,"")),n=e,N&&"sticky"in M&&(o=!!e&&C(e,"y")>-1)&&D&&(e=T(e,/y/g,"")),S&&(i=function(t){for(var e,n=t.length,r=0,o="",i=[],a=s(null),u=!1,c=!1,l=0,f="";r<=n;r++){if("\\"===(e=I(t,r)))e+=I(t,++r);else if("]"===e)u=!1;else if(!u)switch(!0){case"["===e:u=!0;break;case"("===e:P(R,L(t,r+1))&&(r+=2,c=!0),o+=e,l++;continue;case">"===e&&c:if(""===f||b(a,f))throw new j("Invalid capture group name");a[f]=!0,i[i.length]=[f,l],c=!1,f="";continue}c?f+=e:o+=e}return[o,i]}(t),t=i[0],m=i[1]),a=u(k(t,e),y?this:_,U),(r||o||m.length)&&(l=w(a),r&&(l.dotAll=!0,l.raw=U(function(t){for(var e,n=t.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(e=I(t,r))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+I(t,++r);return o}(t),n)),o&&(l.sticky=!0),m.length&&(l.groups=m)),t!==A)try{c(a,"source",""===A?"(?:)":A)}catch(t){}return a},G=l(k),Q=0;G.length>Q;)v(U,k,G[Q++]);_.constructor=U,U.prototype=_,g(o,"RegExp",U,{constructor:!0})}A("RegExp")},30547:function(t,e,n){var r=n(40726),o=n(96693),i=n(97494),a=n(56736),u=n(14075).get,c=RegExp.prototype,s=TypeError;r&&o&&a(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!u(this).dotAll;throw new s("Incompatible receiver, RegExp required")}}})},39877:function(t,e,n){var r=n(83788),o=n(22793);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},41025:function(t,e,n){var r=n(38733),o=n(40726),i=n(56736),a=n(78213),u=n(73969),c=r.RegExp,s=c.prototype;o&&u((function(){var t=!0;try{c(".","d")}catch(e){t=!1}var e={},n="",r=t?"dgimsy":"gimsy",o=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(i.hasIndices="d"),i)o(a,i[a]);return Object.getOwnPropertyDescriptor(s,"flags").get.call(e)!==r||n!==r}))&&i(s,"flags",{configurable:!0,get:a})},15127:function(t,e,n){var r=n(40726),o=n(83859).MISSED_STICKY,i=n(97494),a=n(56736),u=n(14075).get,c=RegExp.prototype,s=TypeError;r&&o&&a(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===i(this))return!!u(this).sticky;throw new s("Incompatible receiver, RegExp required")}}})},63448:function(t,e,n){n(39877);var r,o,i=n(83788),a=n(80503),u=n(13779),c=n(51629),s=n(3373),l=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),f=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=c(this),n=s(t),r=e.exec;if(!u(r))return a(f,e,n);var o=a(r,e,n);return null!==o&&(c(o),!0)}})},58223:function(t,e,n){var r=n(71272).PROPER,o=n(42834),i=n(51629),a=n(3373),u=n(73969),c=n(40992),s="toString",l=RegExp.prototype[s],f=u((function(){return"/a/b"!==l.call({source:"a",flags:"b"})})),h=r&&l.name!==s;(f||h)&&o(RegExp.prototype,s,(function(){var t=i(this);return"/"+a(t.source)+"/"+a(c(t))}),{unsafe:!0})},21307:function(t,e,n){n(90510)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(55252))},51089:function(t,e,n){n(21307)},32061:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},78563:function(t,e,n){var r=n(83788),o=n(38626),i=n(72744),a=n(98949),u=n(3373),c=n(73969),s=o("".charAt);r({target:"String",proto:!0,forced:c((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var e=u(i(this)),n=e.length,r=a(t),o=r>=0?r:n+r;return o<0||o>=n?void 0:s(e,o)}})},64896:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("big")},{big:function(){return o(this,"big","","")}})},34620:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("blink")},{blink:function(){return o(this,"blink","","")}})},75299:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("bold")},{bold:function(){return o(this,"b","","")}})},49082:function(t,e,n){var r=n(83788),o=n(46473).codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},41971:function(t,e,n){var r,o=n(83788),i=n(56210),a=n(78569).f,u=n(59452),c=n(3373),s=n(29845),l=n(72744),f=n(64898),h=n(61085),p=i("".endsWith),d=i("".slice),y=Math.min,v=f("endsWith");o({target:"String",proto:!0,forced:!(!h&&!v&&(r=a(String.prototype,"endsWith"),r&&!r.writable)||v)},{endsWith:function(t){var e=c(l(this));s(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,o=void 0===n?r:y(u(n),r),i=c(t);return p?p(e,i,o):d(e,o-i.length,o)===i}})},27356:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("fixed")},{fixed:function(){return o(this,"tt","","")}})},87086:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},89200:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},30747:function(t,e,n){var r=n(83788),o=n(38626),i=n(51336),a=RangeError,u=String.fromCharCode,c=String.fromCodePoint,s=o([].join);r({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,o=0;r>o;){if(e=+arguments[o++],i(e,1114111)!==e)throw new a(e+" is not a valid code point");n[o]=e<65536?u(e):u(55296+((e-=65536)>>10),e%1024+56320)}return s(n,"")}})},76649:function(t,e,n){var r=n(83788),o=n(38626),i=n(29845),a=n(72744),u=n(3373),c=n(64898),s=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~s(u(a(this)),u(i(t)),arguments.length>1?arguments[1]:void 0)}})},73785:function(t,e,n){var r=n(83788),o=n(38626),i=n(72744),a=n(3373),u=o("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var t=a(i(this)),e=t.length,n=0;n<e;n++){var r=u(t,n);if(55296==(63488&r)&&(r>=56320||++n>=e||56320!=(64512&u(t,n))))return!1}return!0}})},60619:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("italics")},{italics:function(){return o(this,"i","","")}})},15698:function(t,e,n){var r=n(46473).charAt,o=n(3373),i=n(14075),a=n(55478),u=n(49591),c="String Iterator",s=i.set,l=i.getterFor(c);a(String,"String",(function(t){s(this,{type:c,string:o(t),index:0})}),(function(){var t,e=l(this),n=e.string,o=e.index;return o>=n.length?u(void 0,!0):(t=r(n,o),e.index+=t.length,u(t,!1))}))},5364:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("link")},{link:function(t){return o(this,"a","href",t)}})},26457:function(t,e,n){var r=n(83788),o=n(80503),i=n(56210),a=n(88808),u=n(49591),c=n(72744),s=n(59452),l=n(3373),f=n(51629),h=n(18183),p=n(97494),d=n(11642),y=n(40992),v=n(46524),g=n(42834),m=n(73969),b=n(33545),w=n(46443),A=n(80555),x=n(29636),E=n(14075),S=n(61085),O=b("matchAll"),k="RegExp String",_=k+" Iterator",j=E.set,P=E.getterFor(_),I=RegExp.prototype,T=TypeError,C=i("".indexOf),L=i("".matchAll),R=!!L&&!m((function(){L("a",/./)})),M=a((function(t,e,n,r){j(this,{type:_,regexp:t,string:e,global:n,unicode:r,done:!1})}),k,(function(){var t=P(this);if(t.done)return u(void 0,!0);var e=t.regexp,n=t.string,r=x(e,n);return null===r?(t.done=!0,u(void 0,!0)):t.global?(""===l(r[0])&&(e.lastIndex=A(n,s(e.lastIndex),t.unicode)),u(r,!1)):(t.done=!0,u(r,!1))})),B=function(t){var e,n,r,o=f(this),i=l(t),a=w(o,RegExp),u=l(y(o));return e=new a(a===RegExp?o.source:o,u),n=!!~C(u,"g"),r=!!~C(u,"u"),e.lastIndex=s(o.lastIndex),new M(e,i,n,r)};r({target:"String",proto:!0,forced:R},{matchAll:function(t){var e,n,r,i,a=c(this);if(h(t)){if(R)return L(a,t)}else{if(d(t)&&(e=l(c(y(t))),!~C(e,"g")))throw new T("`.matchAll` does not allow non-global regexes");if(R)return L(a,t);if(void 0===(r=v(t,O))&&S&&"RegExp"===p(t)&&(r=B),r)return o(r,t,a)}return n=l(a),i=new RegExp(t,"g"),S?o(B,i,n):i[O](n)}}),S||O in I||g(I,O,B)},53027:function(t,e,n){var r=n(80503),o=n(78006),i=n(51629),a=n(18183),u=n(59452),c=n(3373),s=n(72744),l=n(46524),f=n(80555),h=n(29636);o("match",(function(t,e,n){return[function(e){var n=s(this),o=a(e)?void 0:l(e,t);return o?r(o,e,n):new RegExp(e)[t](c(n))},function(t){var r=i(this),o=c(t),a=n(e,r,o);if(a.done)return a.value;if(!r.global)return h(r,o);var s=r.unicode;r.lastIndex=0;for(var l,p=[],d=0;null!==(l=h(r,o));){var y=c(l[0]);p[d]=y,""===y&&(r.lastIndex=f(o,u(r.lastIndex),s)),d++}return 0===d?null:p}]}))},61671:function(t,e,n){var r=n(83788),o=n(15459).end;r({target:"String",proto:!0,forced:n(29085)},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},84794:function(t,e,n){var r=n(83788),o=n(15459).start;r({target:"String",proto:!0,forced:n(29085)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},14904:function(t,e,n){var r=n(83788),o=n(38626),i=n(1511),a=n(63299),u=n(3373),c=n(88360),s=o([].push),l=o([].join);r({target:"String",stat:!0},{raw:function(t){var e=i(a(t).raw),n=c(e);if(!n)return"";for(var r=arguments.length,o=[],f=0;;){if(s(o,u(e[f++])),f===n)return l(o,"");f<r&&s(o,u(arguments[f]))}}})},51027:function(t,e,n){n(83788)({target:"String",proto:!0},{repeat:n(90875)})},4144:function(t,e,n){var r=n(83788),o=n(80503),i=n(38626),a=n(72744),u=n(13779),c=n(18183),s=n(11642),l=n(3373),f=n(46524),h=n(40992),p=n(60124),d=n(33545),y=n(61085),v=d("replace"),g=TypeError,m=i("".indexOf),b=i("".replace),w=i("".slice),A=Math.max,x=function(t,e,n){return n>t.length?-1:""===e?n:m(t,e,n)};r({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,i,d,E,S,O,k,_,j=a(this),P=0,I=0,T="";if(!c(t)){if((n=s(t))&&(r=l(a(h(t))),!~m(r,"g")))throw new g("`.replaceAll` does not allow non-global regexes");if(i=f(t,v))return o(i,t,j,e);if(y&&n)return b(l(j),t,e)}for(d=l(j),E=l(t),(S=u(e))||(e=l(e)),O=E.length,k=A(1,O),P=x(d,E,0);-1!==P;)_=S?l(e(E,P,d)):p(E,d,P,[],void 0,e),T+=w(d,I,P)+_,I=P+O,P=x(d,E,P+k);return I<d.length&&(T+=w(d,I)),T}})},7678:function(t,e,n){var r=n(14371),o=n(80503),i=n(38626),a=n(78006),u=n(73969),c=n(51629),s=n(13779),l=n(18183),f=n(98949),h=n(59452),p=n(3373),d=n(72744),y=n(80555),v=n(46524),g=n(60124),m=n(29636),b=n(33545)("replace"),w=Math.max,A=Math.min,x=i([].concat),E=i([].push),S=i("".indexOf),O=i("".slice),k="$0"==="a".replace(/./,"$0"),_=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,n){var i=_?"$":"$0";return[function(t,n){var r=d(this),i=l(t)?void 0:v(t,b);return i?o(i,t,r,n):o(e,p(r),t,n)},function(t,o){var a=c(this),u=p(t);if("string"==typeof o&&-1===S(o,i)&&-1===S(o,"$<")){var l=n(e,a,u,o);if(l.done)return l.value}var d=s(o);d||(o=p(o));var v,b=a.global;b&&(v=a.unicode,a.lastIndex=0);for(var k,_=[];null!==(k=m(a,u))&&(E(_,k),b);)""===p(k[0])&&(a.lastIndex=y(u,h(a.lastIndex),v));for(var j,P="",I=0,T=0;T<_.length;T++){for(var C,L=p((k=_[T])[0]),R=w(A(f(k.index),u.length),0),M=[],B=1;B<k.length;B++)E(M,void 0===(j=k[B])?j:String(j));var F=k.groups;if(d){var N=x([L],M,R,u);void 0!==F&&E(N,F),C=p(r(o,void 0,N))}else C=g(L,u,R,M,F,o);R>=I&&(P+=O(u,I,R)+C,I=R+L.length)}return P+O(u,I)}]}),!!u((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||_)},6584:function(t,e,n){var r=n(80503),o=n(78006),i=n(51629),a=n(18183),u=n(72744),c=n(87700),s=n(3373),l=n(46524),f=n(29636);o("search",(function(t,e,n){return[function(e){var n=u(this),o=a(e)?void 0:l(e,t);return o?r(o,e,n):new RegExp(e)[t](s(n))},function(t){var r=i(this),o=s(t),a=n(e,r,o);if(a.done)return a.value;var u=r.lastIndex;c(u,0)||(r.lastIndex=0);var l=f(r,o);return c(r.lastIndex,u)||(r.lastIndex=u),null===l?-1:l.index}]}))},27461:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("small")},{small:function(){return o(this,"small","","")}})},17770:function(t,e,n){var r=n(14371),o=n(80503),i=n(38626),a=n(78006),u=n(51629),c=n(18183),s=n(11642),l=n(72744),f=n(46443),h=n(80555),p=n(59452),d=n(3373),y=n(46524),v=n(66361),g=n(29636),m=n(22793),b=n(83859),w=n(73969),A=b.UNSUPPORTED_Y,x=4294967295,E=Math.min,S=[].push,O=i(/./.exec),k=i(S),_=i("".slice),j=!w((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var i;return i="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=d(l(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===t)return[i];if(!s(t))return o(e,i,t,a);for(var u,c,f,h=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,g=new RegExp(t.source,p+"g");(u=o(m,g,i))&&!((c=g.lastIndex)>y&&(k(h,_(i,y,u.index)),u.length>1&&u.index<i.length&&r(S,h,v(u,1)),f=u[0].length,y=c,h.length>=a));)g.lastIndex===u.index&&g.lastIndex++;return y===i.length?!f&&O(g,"")||k(h,""):k(h,_(i,y)),h.length>a?v(h,0,a):h}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:o(e,this,t,n)}:e,[function(e,n){var r=l(this),a=c(e)?void 0:y(e,t);return a?o(a,e,r,n):o(i,d(r),e,n)},function(t,r){var o=u(this),a=d(t),c=n(i,o,a,r,i!==e);if(c.done)return c.value;var s=f(o,RegExp),l=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(A?"g":"y"),v=new s(A?"^(?:"+o.source+")":o,y),m=void 0===r?x:r>>>0;if(0===m)return[];if(0===a.length)return null===g(v,a)?[a]:[];for(var b=0,w=0,S=[];w<a.length;){v.lastIndex=A?0:w;var O,j=g(v,A?_(a,w):a);if(null===j||(O=E(p(v.lastIndex+(A?w:0)),a.length))===b)w=h(a,w,l);else{if(k(S,_(a,b,w)),S.length===m)return S;for(var P=1;P<=j.length-1;P++)if(k(S,j[P]),S.length===m)return S;w=b=O}}return k(S,_(a,b)),S}]}),!j,A)},71062:function(t,e,n){var r,o=n(83788),i=n(56210),a=n(78569).f,u=n(59452),c=n(3373),s=n(29845),l=n(72744),f=n(64898),h=n(61085),p=i("".startsWith),d=i("".slice),y=Math.min,v=f("startsWith");o({target:"String",proto:!0,forced:!(!h&&!v&&(r=a(String.prototype,"startsWith"),r&&!r.writable)||v)},{startsWith:function(t){var e=c(l(this));s(t);var n=u(y(arguments.length>1?arguments[1]:void 0,e.length)),r=c(t);return p?p(e,r,n):d(e,n,n+r.length)===r}})},78930:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("strike")},{strike:function(){return o(this,"strike","","")}})},50420:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("sub")},{sub:function(){return o(this,"sub","","")}})},14649:function(t,e,n){var r=n(83788),o=n(38626),i=n(72744),a=n(98949),u=n(3373),c=o("".slice),s=Math.max,l=Math.min;r({target:"String",proto:!0,forced:!"".substr||"b"!=="ab".substr(-1)},{substr:function(t,e){var n,r,o=u(i(this)),f=o.length,h=a(t);return h===1/0&&(h=0),h<0&&(h=s(f+h,0)),(n=void 0===e?f:a(e))<=0||n===1/0||h>=(r=l(h+n,f))?"":c(o,h,r)}})},92398:function(t,e,n){var r=n(83788),o=n(9930);r({target:"String",proto:!0,forced:n(75)("sup")},{sup:function(){return o(this,"sup","","")}})},31372:function(t,e,n){var r=n(83788),o=n(80503),i=n(38626),a=n(72744),u=n(3373),c=n(73969),s=Array,l=i("".charAt),f=i("".charCodeAt),h=i([].join),p="".toWellFormed,d=p&&c((function(){return"1"!==o(p,1)}));r({target:"String",proto:!0,forced:d},{toWellFormed:function(){var t=u(a(this));if(d)return o(p,t);for(var e=t.length,n=s(e),r=0;r<e;r++){var i=f(t,r);55296!=(63488&i)?n[r]=l(t,r):i>=56320||r+1>=e||56320!=(64512&f(t,r+1))?n[r]="�":(n[r]=l(t,r),n[++r]=l(t,r))}return h(n,"")}})},84892:function(t,e,n){n(69095);var r=n(83788),o=n(40004);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==o},{trimEnd:o})},52844:function(t,e,n){var r=n(83788),o=n(35677);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==o},{trimLeft:o})},69095:function(t,e,n){var r=n(83788),o=n(40004);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==o},{trimRight:o})},64453:function(t,e,n){n(52844);var r=n(83788),o=n(35677);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==o},{trimStart:o})},62160:function(t,e,n){var r=n(83788),o=n(62648).trim;r({target:"String",proto:!0,forced:n(268)("trim")},{trim:function(){return o(this)}})},84034:function(t,e,n){n(3825)("asyncIterator")},30907:function(t,e,n){var r=n(83788),o=n(38733),i=n(80503),a=n(38626),u=n(61085),c=n(40726),s=n(79893),l=n(73969),f=n(91875),h=n(14711),p=n(51629),d=n(1511),y=n(97231),v=n(3373),g=n(89842),m=n(5682),b=n(30306),w=n(37710),A=n(60284),x=n(3747),E=n(78569),S=n(49331),O=n(13375),k=n(4851),_=n(42834),j=n(56736),P=n(37551),I=n(70601),T=n(23339),C=n(82898),L=n(33545),R=n(43285),M=n(3825),B=n(94232),F=n(86477),N=n(14075),D=n(31131).forEach,U=I("hidden"),G="Symbol",Q="prototype",z=N.set,Y=N.getterFor(G),H=Object[Q],V=o.Symbol,$=V&&V[Q],W=o.RangeError,q=o.TypeError,J=o.QObject,K=E.f,X=S.f,Z=A.f,tt=k.f,et=a([].push),nt=P("symbols"),rt=P("op-symbols"),ot=P("wks"),it=!J||!J[Q]||!J[Q].findChild,at=function(t,e,n){var r=K(H,e);r&&delete H[e],X(t,e,n),r&&t!==H&&X(H,e,r)},ut=c&&l((function(){return 7!==m(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?at:X,ct=function(t,e){var n=nt[t]=m($);return z(n,{type:G,tag:t,description:e}),c||(n.description=e),n},st=function(t,e,n){t===H&&st(rt,e,n),p(t);var r=y(e);return p(n),f(nt,r)?(n.enumerable?(f(t,U)&&t[U][r]&&(t[U][r]=!1),n=m(n,{enumerable:g(0,!1)})):(f(t,U)||X(t,U,g(1,{})),t[U][r]=!0),ut(t,r,n)):X(t,r,n)},lt=function(t,e){p(t);var n=d(e),r=b(n).concat(dt(n));return D(r,(function(e){c&&!i(ft,n,e)||st(t,e,n[e])})),t},ft=function(t){var e=y(t),n=i(tt,this,e);return!(this===H&&f(nt,e)&&!f(rt,e))&&(!(n||!f(this,e)||!f(nt,e)||f(this,U)&&this[U][e])||n)},ht=function(t,e){var n=d(t),r=y(e);if(n!==H||!f(nt,r)||f(rt,r)){var o=K(n,r);return!o||!f(nt,r)||f(n,U)&&n[U][r]||(o.enumerable=!0),o}},pt=function(t){var e=Z(d(t)),n=[];return D(e,(function(t){f(nt,t)||f(T,t)||et(n,t)})),n},dt=function(t){var e=t===H,n=Z(e?rt:d(t)),r=[];return D(n,(function(t){!f(nt,t)||e&&!f(H,t)||et(r,nt[t])})),r};s||(V=function(){if(h($,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=C(t),n=function(t){var r=void 0===this?o:this;r===H&&i(n,rt,t),f(r,U)&&f(r[U],e)&&(r[U][e]=!1);var a=g(1,t);try{ut(r,e,a)}catch(t){if(!(t instanceof W))throw t;at(r,e,a)}};return c&&it&&ut(H,e,{configurable:!0,set:n}),ct(e,t)},_($=V[Q],"toString",(function(){return Y(this).tag})),_(V,"withoutSetter",(function(t){return ct(C(t),t)})),k.f=ft,S.f=st,O.f=lt,E.f=ht,w.f=A.f=pt,x.f=dt,R.f=function(t){return ct(L(t),t)},c&&(j($,"description",{configurable:!0,get:function(){return Y(this).description}}),u||_(H,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:V}),D(b(ot),(function(t){M(t)})),r({target:G,stat:!0,forced:!s},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!s,sham:!c},{create:function(t,e){return void 0===e?m(t):lt(m(t),e)},defineProperty:st,defineProperties:lt,getOwnPropertyDescriptor:ht}),r({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:pt}),B(),F(V,G),T[U]=!0},75717:function(t,e,n){var r=n(83788),o=n(40726),i=n(38733),a=n(38626),u=n(91875),c=n(13779),s=n(14711),l=n(3373),f=n(56736),h=n(126),p=i.Symbol,d=p&&p.prototype;if(o&&c(p)&&(!("description"in d)||void 0!==p().description)){var y={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=s(d,this)?new p(t):void 0===t?p():p(t);return""===t&&(y[e]=!0),e};h(v,p),v.prototype=d,d.constructor=v;var g="Symbol(description detection)"===String(p("description detection")),m=a(d.valueOf),b=a(d.toString),w=/^Symbol\((.*)\)[^)]+$/,A=a("".replace),x=a("".slice);f(d,"description",{configurable:!0,get:function(){var t=m(this);if(u(y,t))return"";var e=b(t),n=g?x(e,7,-1):A(e,w,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},18268:function(t,e,n){var r=n(83788),o=n(87097),i=n(91875),a=n(3373),u=n(37551),c=n(21402),s=u("string-to-symbol-registry"),l=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=a(t);if(i(s,e))return s[e];var n=o("Symbol")(e);return s[e]=n,l[n]=e,n}})},56147:function(t,e,n){n(3825)("hasInstance")},42926:function(t,e,n){n(3825)("isConcatSpreadable")},54325:function(t,e,n){n(3825)("iterator")},78161:function(t,e,n){n(30907),n(18268),n(7870),n(16032),n(23051)},7870:function(t,e,n){var r=n(83788),o=n(91875),i=n(52631),a=n(37921),u=n(37551),c=n(21402),s=u("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(s,t))return s[t]}})},37572:function(t,e,n){n(3825)("matchAll")},12426:function(t,e,n){n(3825)("match")},61295:function(t,e,n){n(3825)("replace")},91603:function(t,e,n){n(3825)("search")},78793:function(t,e,n){n(3825)("species")},63183:function(t,e,n){n(3825)("split")},99878:function(t,e,n){var r=n(3825),o=n(94232);r("toPrimitive"),o()},53751:function(t,e,n){var r=n(87097),o=n(3825),i=n(86477);o("toStringTag"),i(r("Symbol"),"Symbol")},77560:function(t,e,n){n(3825)("unscopables")},29202:function(t,e,n){var r=n(95206),o=n(88360),i=n(98949),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(t){var e=a(this),n=o(e),r=i(t),u=r>=0?r:n+r;return u<0||u>=n?void 0:e[u]}))},69264:function(t,e,n){var r=n(38626),o=n(95206),i=r(n(61351)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(t,e){return i(a(this),t,e,arguments.length>2?arguments[2]:void 0)}))},69028:function(t,e,n){var r=n(95206),o=n(31131).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},454:function(t,e,n){var r=n(95206),o=n(79239),i=n(21052),a=n(53817),u=n(80503),c=n(38626),s=n(73969),l=r.aTypedArray,f=r.exportTypedArrayMethod,h=c("".slice);f("fill",(function(t){var e=arguments.length;l(this);var n="Big"===h(a(this),0,3)?i(t):+t;return u(o,this,n,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),s((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})))},63137:function(t,e,n){var r=n(95206),o=n(31131).filter,i=n(26919),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(t){var e=o(a(this),t,arguments.length>1?arguments[1]:void 0);return i(this,e)}))},11277:function(t,e,n){var r=n(95206),o=n(31131).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},65696:function(t,e,n){var r=n(95206),o=n(45917).findLastIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLastIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},55597:function(t,e,n){var r=n(95206),o=n(45917).findLast,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findLast",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},96220:function(t,e,n){var r=n(95206),o=n(31131).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},41924:function(t,e,n){n(58153)("Float32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},79095:function(t,e,n){n(58153)("Float64",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},56764:function(t,e,n){var r=n(95206),o=n(31131).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(t){o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},20875:function(t,e,n){var r=n(36275);(0,n(95206).exportTypedArrayStaticMethod)("from",n(4653),r)},45554:function(t,e,n){var r=n(95206),o=n(97139).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},19325:function(t,e,n){var r=n(95206),o=n(97139).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},99189:function(t,e,n){n(58153)("Int16",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},61395:function(t,e,n){n(58153)("Int32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},84884:function(t,e,n){n(58153)("Int8",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},58905:function(t,e,n){var r=n(38733),o=n(73969),i=n(38626),a=n(95206),u=n(17722),c=n(33545)("iterator"),s=r.Uint8Array,l=i(u.values),f=i(u.keys),h=i(u.entries),p=a.aTypedArray,d=a.exportTypedArrayMethod,y=s&&s.prototype,v=!o((function(){y[c].call([1])})),g=!!y&&y.values&&y[c]===y.values&&"values"===y.values.name,m=function(){return l(p(this))};d("entries",(function(){return h(p(this))}),v),d("keys",(function(){return f(p(this))}),v),d("values",m,v||!g,{name:"values"}),d(c,m,v||!g,{name:"values"})},31339:function(t,e,n){var r=n(95206),o=n(38626),i=r.aTypedArray,a=r.exportTypedArrayMethod,u=o([].join);a("join",(function(t){return u(i(this),t)}))},93702:function(t,e,n){var r=n(95206),o=n(14371),i=n(35069),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return o(i,a(this),e>1?[t,arguments[1]]:[t])}))},41101:function(t,e,n){var r=n(95206),o=n(31131).map,i=n(13818),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(i(t))(e)}))}))},89350:function(t,e,n){var r=n(95206),o=n(36275),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,n=new(i(this))(e);e>t;)n[t]=arguments[t++];return n}),o)},45414:function(t,e,n){var r=n(95206),o=n(65340).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return o(i(this),t,e,e>1?arguments[1]:void 0)}))},80229:function(t,e,n){var r=n(95206),o=n(65340).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return o(i(this),t,e,e>1?arguments[1]:void 0)}))},76653:function(t,e,n){var r=n(95206),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var t,e=this,n=o(e).length,r=a(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e}))},85803:function(t,e,n){var r=n(38733),o=n(80503),i=n(95206),a=n(88360),u=n(3451),c=n(63299),s=n(73969),l=r.RangeError,f=r.Int8Array,h=f&&f.prototype,p=h&&h.set,d=i.aTypedArray,y=i.exportTypedArrayMethod,v=!s((function(){var t=new Uint8ClampedArray(2);return o(p,t,{length:1,0:3},1),3!==t[1]})),g=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&s((function(){var t=new f(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));y("set",(function(t){d(this);var e=u(arguments.length>1?arguments[1]:void 0,1),n=c(t);if(v)return o(p,this,n,e);var r=this.length,i=a(n),s=0;if(i+e>r)throw new l("Wrong length");for(;s<i;)this[e+s]=n[s++]}),!v||g)},95857:function(t,e,n){var r=n(95206),o=n(13818),i=n(73969),a=n(49786),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(t,e){for(var n=a(u(this),t,e),r=o(this),i=0,c=n.length,s=new r(c);c>i;)s[i]=n[i++];return s}),i((function(){new Int8Array(1).slice()})))},115:function(t,e,n){var r=n(95206),o=n(31131).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},85327:function(t,e,n){var r=n(38733),o=n(56210),i=n(73969),a=n(60672),u=n(274),c=n(95206),s=n(30268),l=n(67244),f=n(18290),h=n(35598),p=c.aTypedArray,d=c.exportTypedArrayMethod,y=r.Uint16Array,v=y&&o(y.prototype.sort),g=!(!v||i((function(){v(new y(2),null)}))&&i((function(){v(new y(2),{})}))),m=!!v&&!i((function(){if(f)return f<74;if(s)return s<67;if(l)return!0;if(h)return h<602;var t,e,n=new y(516),r=Array(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,r[t]=t-2*e+3;for(v(n,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==r[t])return!0}));d("sort",(function(t){return void 0!==t&&a(t),m?v(this,t):u(p(this),function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t))}),!m||g)},64036:function(t,e,n){var r=n(95206),o=n(59452),i=n(51336),a=n(13818),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(t,e){var n=u(this),r=n.length,c=i(t,r);return new(a(n))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===e?r:i(e,r))-c))}))},82895:function(t,e,n){var r=n(38733),o=n(14371),i=n(95206),a=n(73969),u=n(49786),c=r.Int8Array,s=i.aTypedArray,l=i.exportTypedArrayMethod,f=[].toLocaleString,h=!!c&&a((function(){f.call(new c(1))}));l("toLocaleString",(function(){return o(f,h?u(s(this)):s(this),u(arguments))}),a((function(){return[1,2].toLocaleString()!==new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])})))},26041:function(t,e,n){var r=n(80314),o=n(95206),i=o.aTypedArray,a=o.exportTypedArrayMethod,u=o.getTypedArrayConstructor;a("toReversed",(function(){return r(i(this),u(this))}))},76574:function(t,e,n){var r=n(95206),o=n(38626),i=n(60672),a=n(77032),u=r.aTypedArray,c=r.getTypedArrayConstructor,s=r.exportTypedArrayMethod,l=o(r.TypedArrayPrototype.sort);s("toSorted",(function(t){void 0!==t&&i(t);var e=u(this),n=a(c(e),e);return l(n,t)}))},85978:function(t,e,n){var r=n(95206).exportTypedArrayMethod,o=n(73969),i=n(38733),a=n(38626),u=i.Uint8Array,c=u&&u.prototype||{},s=[].toString,l=a([].join);o((function(){s.call({})}))&&(s=function(){return l(this)});var f=c.toString!==s;r("toString",s,f)},1848:function(t,e,n){n(58153)("Uint16",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},16606:function(t,e,n){n(58153)("Uint32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},90543:function(t,e,n){n(58153)("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},17072:function(t,e,n){n(58153)("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},48563:function(t,e,n){var r=n(8362),o=n(95206),i=n(8365),a=n(98949),u=n(21052),c=o.aTypedArray,s=o.getTypedArrayConstructor,l=o.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();l("with",{with:function(t,e){var n=c(this),o=a(t),l=i(n)?u(e):+e;return r(n,s(n),o,l)}}.with,!f)},13537:function(t,e,n){var r=n(83788),o=n(38626),i=n(3373),a=String.fromCharCode,u=o("".charAt),c=o(/./.exec),s=o("".slice),l=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(t){for(var e,n,r=i(t),o="",h=r.length,p=0;p<h;){if("%"===(e=u(r,p++)))if("u"===u(r,p)){if(n=s(r,p+1,p+5),c(f,n)){o+=a(parseInt(n,16)),p+=5;continue}}else if(n=s(r,p,p+2),c(l,n)){o+=a(parseInt(n,16)),p+=2;continue}o+=e}return o}})},67544:function(t,e,n){var r,o=n(72346),i=n(38733),a=n(38626),u=n(99217),c=n(61441),s=n(90510),l=n(40839),f=n(90512),h=n(14075).enforce,p=n(73969),d=n(87116),y=Object,v=Array.isArray,g=y.isExtensible,m=y.isFrozen,b=y.isSealed,w=y.freeze,A=y.seal,x={},E={},S=!i.ActiveXObject&&"ActiveXObject"in i,O=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},k=s("WeakMap",O,l),_=k.prototype,j=a(_.set);if(d)if(S){r=l.getConstructor(O,"WeakMap",!0),c.enable();var P=a(_.delete),I=a(_.has),T=a(_.get);u(_,{delete:function(t){if(f(t)&&!g(t)){var e=h(this);return e.frozen||(e.frozen=new r),P(this,t)||e.frozen.delete(t)}return P(this,t)},has:function(t){if(f(t)&&!g(t)){var e=h(this);return e.frozen||(e.frozen=new r),I(this,t)||e.frozen.has(t)}return I(this,t)},get:function(t){if(f(t)&&!g(t)){var e=h(this);return e.frozen||(e.frozen=new r),I(this,t)?T(this,t):e.frozen.get(t)}return T(this,t)},set:function(t,e){if(f(t)&&!g(t)){var n=h(this);n.frozen||(n.frozen=new r),I(this,t)?j(this,t,e):n.frozen.set(t,e)}else j(this,t,e);return this}})}else o&&p((function(){var t=w([]);return j(new k,t,1),!m(t)}))&&u(_,{set:function(t,e){var n;return v(t)&&(m(t)?n=x:b(t)&&(n=E)),j(this,t,e),n===x&&w(t),n===E&&A(t),this}})},32846:function(t,e,n){n(67544)},62994:function(t,e,n){n(90510)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(40839))},56908:function(t,e,n){n(62994)},64008:function(t,e,n){n(50113)},81650:function(t,e,n){var r=n(40726),o=n(56736),i=n(73108),a=ArrayBuffer.prototype;r&&!("detached"in a)&&o(a,"detached",{configurable:!0,get:function(){return i(this)}})},66387:function(t,e,n){var r=n(83788),o=n(79114);o&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return o(this,arguments.length?arguments[0]:void 0,!1)}})},78667:function(t,e,n){var r=n(83788),o=n(79114);o&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return o(this,arguments.length?arguments[0]:void 0,!0)}})},73018:function(t,e,n){n(30593)},73368:function(t,e,n){n(85125)},39557:function(t,e,n){n(16020)},86662:function(t,e,n){n(83788)({target:"Array",stat:!0},{fromAsync:n(54515)})},80723:function(t,e,n){var r=n(83788),o=n(47032),i=n(30287),a=n(22350);r({target:"Array",proto:!0,name:"groupToMap",forced:n(61085)||!o("groupByToMap")},{groupByToMap:a}),i("groupByToMap")},70060:function(t,e,n){var r=n(83788),o=n(75227),i=n(47032),a=n(30287);r({target:"Array",proto:!0,forced:!i("groupBy")},{groupBy:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("groupBy")},38259:function(t,e,n){var r=n(83788),o=n(30287),i=n(22350);r({target:"Array",proto:!0,forced:n(61085)},{groupToMap:i}),o("groupToMap")},30156:function(t,e,n){var r=n(83788),o=n(75227),i=n(30287);r({target:"Array",proto:!0},{group:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("group")},95185:function(t,e,n){n(72924)},21446:function(t,e,n){n(21435)},49419:function(t,e,n){n(1404)},26139:function(t,e,n){n(75928)},43408:function(t,e,n){var r=n(83788),o=n(40726),i=n(87097),a=n(60672),u=n(20253),c=n(42834),s=n(99217),l=n(56736),f=n(33545),h=n(14075),p=n(66475),d=i("Promise"),y=i("SuppressedError"),v=ReferenceError,g=f("asyncDispose"),m=f("toStringTag"),b="AsyncDisposableStack",w=h.set,A=h.getterFor(b),x="async-dispose",E="disposed",S=function(t){var e=A(t);if(e.state===E)throw new v(b+" already disposed");return e},O=function(){w(u(this,k),{type:b,state:"pending",stack:[]}),o||(this.disposed=!1)},k=O.prototype;s(k,{disposeAsync:function(){var t=this;return new d((function(e,n){var r=A(t);if(r.state===E)return e(void 0);r.state=E,o||(t.disposed=!0);var i,a=r.stack,u=a.length,c=!1,s=function(t){c?i=new y(t,i):(c=!0,i=t),l()},l=function(){if(u){var t=a[--u];a[u]=null;try{d.resolve(t()).then(l,s)}catch(t){s(t)}}else r.stack=null,c?n(i):e(void 0)};l()}))},use:function(t){return p(S(this),t,x),t},adopt:function(t,e){var n=S(this);return a(e),p(n,void 0,x,(function(){return e(t)})),t},defer:function(t){var e=S(this);a(t),p(e,void 0,x,t)},move:function(){var t=S(this),e=new O;return A(e).stack=t.stack,t.stack=[],t.state=E,o||(this.disposed=!0),e}}),o&&l(k,"disposed",{configurable:!0,get:function(){return A(this).state===E}}),c(k,g,k.disposeAsync,{name:"disposeAsync"}),c(k,m,b,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:O})},45421:function(t,e,n){var r=n(80503),o=n(42834),i=n(87097),a=n(46524),u=n(91875),c=n(33545),s=n(9448),l=c("asyncDispose"),f=i("Promise");u(s,l)||o(s,l,(function(){var t=this;return new f((function(e,n){var o=a(t,"return");o?f.resolve(r(o,t)).then((function(){e(void 0)}),n):e(void 0)}))}))},31101:function(t,e,n){var r=n(83788),o=n(20253),i=n(43429),a=n(29797),u=n(91875),c=n(33545),s=n(9448),l=n(61085),f=c("toStringTag"),h=TypeError,p=function(){if(o(this,s),i(this)===s)throw new h("Abstract class AsyncIterator not directly constructable")};p.prototype=s,u(s,f)||a(s,f,"AsyncIterator"),!l&&u(s,"constructor")&&s.constructor!==Object||a(s,"constructor",p),r({global:!0,constructor:!0,forced:l},{AsyncIterator:p})},46140:function(t,e,n){var r=n(83788),o=n(80503),i=n(51629),a=n(6385),u=n(78191),c=n(48572),s=n(92501),l=n(49591),f=n(61085),h=s((function(t){var e=this;return new t((function(n,r){var a=function(t){e.done=!0,r(t)},u=function(){try{t.resolve(i(o(e.next,e.iterator))).then((function(t){try{i(t).done?(e.done=!0,n(l(void 0,!0))):e.remaining?(e.remaining--,u()):n(l(t.value,!1))}catch(t){a(t)}}),a)}catch(t){a(t)}};u()}))}));r({target:"AsyncIterator",proto:!0,real:!0,forced:f},{drop:function(t){i(this);var e=c(u(+t));return new h(a(this),{remaining:e})}})},12674:function(t,e,n){var r=n(83788),o=n(33657).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(t){return o(this,t)}})},81371:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(51629),u=n(90512),c=n(6385),s=n(92501),l=n(49591),f=n(80086),h=n(61085),p=s((function(t){var e=this,n=e.iterator,r=e.predicate;return new t((function(i,c){var s=function(t){e.done=!0,c(t)},h=function(t){f(n,s,t,s)},p=function(){try{t.resolve(a(o(e.next,n))).then((function(n){try{if(a(n).done)e.done=!0,i(l(void 0,!0));else{var o=n.value;try{var c=r(o,e.counter++),f=function(t){t?i(l(o,!1)):p()};u(c)?t.resolve(c).then(f,h):f(c)}catch(t){h(t)}}}catch(t){s(t)}}),s)}catch(t){s(t)}};p()}))}));r({target:"AsyncIterator",proto:!0,real:!0,forced:h},{filter:function(t){return a(this),i(t),new p(c(this),{predicate:t})}})},27974:function(t,e,n){var r=n(83788),o=n(33657).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(t){return o(this,t)}})},78313:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(51629),u=n(90512),c=n(6385),s=n(92501),l=n(49591),f=n(28355),h=n(80086),p=n(61085),d=s((function(t){var e=this,n=e.iterator,r=e.mapper;return new t((function(i,c){var s=function(t){e.done=!0,c(t)},p=function(t){h(n,s,t,s)},d=function(){try{t.resolve(a(o(e.next,n))).then((function(n){try{if(a(n).done)e.done=!0,i(l(void 0,!0));else{var o=n.value;try{var c=r(o,e.counter++),h=function(t){try{e.inner=f(t),y()}catch(t){p(t)}};u(c)?t.resolve(c).then(h,p):h(c)}catch(t){p(t)}}}catch(t){s(t)}}),s)}catch(t){s(t)}},y=function(){var n=e.inner;if(n)try{t.resolve(a(o(n.next,n.iterator))).then((function(t){try{a(t).done?(e.inner=null,d()):i(l(t.value,!1))}catch(t){p(t)}}),p)}catch(t){p(t)}else d()};y()}))}));r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(t){return a(this),i(t),new d(c(this),{mapper:t,inner:null})}})},84670:function(t,e,n){var r=n(83788),o=n(33657).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(t){return o(this,t)}})},83537:function(t,e,n){var r=n(83788),o=n(63299),i=n(14711),a=n(28355),u=n(9448),c=n(83644);r({target:"AsyncIterator",stat:!0,forced:n(61085)},{from:function(t){var e=a("string"==typeof t?o(t):t);return i(u,e.iterator)?e.iterator:new c(e)}})},91739:function(t,e,n){var r=n(83788),o=n(77436);r({target:"AsyncIterator",proto:!0,real:!0,forced:n(61085)},{map:o})},16975:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(51629),u=n(90512),c=n(87097),s=n(6385),l=n(80086),f=c("Promise"),h=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(t){a(this),i(t);var e=s(this),n=e.iterator,r=e.next,c=arguments.length<2,p=c?void 0:arguments[1],d=0;return new f((function(e,i){var s=function(t){l(n,i,t,i)},y=function(){try{f.resolve(a(o(r,n))).then((function(n){try{if(a(n).done)c?i(new h("Reduce of empty iterator with no initial value")):e(p);else{var r=n.value;if(c)c=!1,p=r,y();else try{var o=t(p,r,d),l=function(t){p=t,y()};u(o)?f.resolve(o).then(l,s):l(o)}catch(t){s(t)}}d++}catch(t){i(t)}}),i)}catch(t){i(t)}};y()}))}})},38061:function(t,e,n){var r=n(83788),o=n(33657).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(t){return o(this,t)}})},99162:function(t,e,n){var r=n(83788),o=n(80503),i=n(51629),a=n(6385),u=n(78191),c=n(48572),s=n(92501),l=n(49591),f=n(61085),h=s((function(t){var e,n=this,r=n.iterator;if(!n.remaining--){var a=l(void 0,!0);return n.done=!0,void 0!==(e=r.return)?t.resolve(o(e,r,void 0)).then((function(){return a})):a}return t.resolve(o(n.next,r)).then((function(t){return i(t).done?(n.done=!0,l(void 0,!0)):l(t.value,!1)})).then(null,(function(t){throw n.done=!0,t}))}));r({target:"AsyncIterator",proto:!0,real:!0,forced:f},{take:function(t){i(this);var e=c(u(+t));return new h(a(this),{remaining:e})}})},8580:function(t,e,n){var r=n(83788),o=n(33657).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return o(this,void 0,[])}})},20892:function(t,e,n){var r=n(83788),o=n(38626),i=n(38040).unpack,a=o(DataView.prototype.getUint16);r({target:"DataView",proto:!0},{getFloat16:function(t){var e=a(this,t,arguments.length>1&&arguments[1]);return i([255&e,e>>8&255],10)}})},48976:function(t,e,n){var r=n(83788),o=n(38626),i=n(53817),a=n(86990),u=n(38040).pack,c=n(46546),s=TypeError,l=o(DataView.prototype.setUint16);r({target:"DataView",proto:!0},{setFloat16:function(t,e){if("DataView"!==i(this))throw new s("Incorrect receiver");var n=a(t),r=u(c(e),10,2);return l(this,n,r[1]<<8|r[0],arguments.length>2&&arguments[2])}})},74403:function(t,e,n){var r=n(83788),o=n(40726),i=n(87097),a=n(60672),u=n(20253),c=n(42834),s=n(99217),l=n(56736),f=n(33545),h=n(14075),p=n(66475),d=i("SuppressedError"),y=ReferenceError,v=f("dispose"),g=f("toStringTag"),m="DisposableStack",b=h.set,w=h.getterFor(m),A="sync-dispose",x="disposed",E=function(t){var e=w(t);if(e.state===x)throw new y(m+" already disposed");return e},S=function(){b(u(this,O),{type:m,state:"pending",stack:[]}),o||(this.disposed=!1)},O=S.prototype;s(O,{dispose:function(){var t=w(this);if(t.state!==x){t.state=x,o||(this.disposed=!0);for(var e,n=t.stack,r=n.length,i=!1;r;){var a=n[--r];n[r]=null;try{a()}catch(t){i?e=new d(t,e):(i=!0,e=t)}}if(t.stack=null,i)throw e}},use:function(t){return p(E(this),t,A),t},adopt:function(t,e){var n=E(this);return a(e),p(n,void 0,A,(function(){e(t)})),t},defer:function(t){var e=E(this);a(t),p(e,void 0,A,t)},move:function(){var t=E(this),e=new S;return w(e).stack=t.stack,t.stack=[],t.state=x,o||(this.disposed=!0),e}}),o&&l(O,"disposed",{configurable:!0,get:function(){return w(this).state===x}}),c(O,v,O.dispose,{name:"dispose"}),c(O,g,m,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:S})},96107:function(t,e,n){var r=n(33545),o=n(49331).f,i=r("metadata"),a=Function.prototype;void 0===a[i]&&o(a,i,{value:null})},90410:function(t,e,n){n(92967)},16694:function(t,e,n){var r=n(83788),o=n(38733),i=n(20253),a=n(51629),u=n(13779),c=n(43429),s=n(56736),l=n(43958),f=n(73969),h=n(91875),p=n(33545),d=n(54691).IteratorPrototype,y=n(40726),v=n(61085),g="constructor",m="Iterator",b=p("toStringTag"),w=TypeError,A=o[m],x=v||!u(A)||A.prototype!==d||!f((function(){A({})})),E=function(){if(i(this,d),c(this)===d)throw new w("Abstract class Iterator not directly constructable")},S=function(t,e){y?s(d,t,{configurable:!0,get:function(){return e},set:function(e){if(a(this),this===d)throw new w("You can't redefine this property");h(this,t)?this[t]=e:l(this,t,e)}}):d[t]=e};h(d,b)||S(b,m),!x&&h(d,g)&&d[g]!==Object||S(g,E),E.prototype=d,r({global:!0,constructor:!0,forced:x},{Iterator:E})},92263:function(t,e,n){var r=n(80503),o=n(42834),i=n(46524),a=n(91875),u=n(33545),c=n(54691).IteratorPrototype,s=u("dispose");a(c,s)||o(c,s,(function(){var t=i(this,"return");t&&r(t,this)}))},64681:function(t,e,n){var r=n(83788),o=n(80503),i=n(51629),a=n(6385),u=n(78191),c=n(48572),s=n(75948),l=n(61085),f=s((function(){for(var t,e=this.iterator,n=this.next;this.remaining;)if(this.remaining--,t=i(o(n,e)),this.done=!!t.done)return;if(t=i(o(n,e)),!(this.done=!!t.done))return t.value}));r({target:"Iterator",proto:!0,real:!0,forced:l},{drop:function(t){i(this);var e=c(u(+t));return new f(a(this),{remaining:e})}})},18045:function(t,e,n){var r=n(83788),o=n(6778),i=n(60672),a=n(51629),u=n(6385);r({target:"Iterator",proto:!0,real:!0},{every:function(t){a(this),i(t);var e=u(this),n=0;return!o(e,(function(e,r){if(!t(e,n++))return r()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},33210:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(51629),u=n(6385),c=n(75948),s=n(42029),l=n(61085),f=c((function(){for(var t,e,n=this.iterator,r=this.predicate,i=this.next;;){if(t=a(o(i,n)),this.done=!!t.done)return;if(e=t.value,s(n,r,[e,this.counter++],!0))return e}}));r({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(t){return a(this),i(t),new f(u(this),{predicate:t})}})},89307:function(t,e,n){var r=n(83788),o=n(6778),i=n(60672),a=n(51629),u=n(6385);r({target:"Iterator",proto:!0,real:!0},{find:function(t){a(this),i(t);var e=u(this),n=0;return o(e,(function(e,r){if(t(e,n++))return r(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},23196:function(t,e,n){var r=n(83788),o=n(80503),i=n(60672),a=n(51629),u=n(6385),c=n(71848),s=n(75948),l=n(93817),f=n(61085),h=s((function(){for(var t,e,n=this.iterator,r=this.mapper;;){if(e=this.inner)try{if(!(t=a(o(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){l(n,"throw",t)}if(t=a(o(this.next,n)),this.done=!!t.done)return;try{this.inner=c(r(t.value,this.counter++),!1)}catch(t){l(n,"throw",t)}}}));r({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(t){return a(this),i(t),new h(u(this),{mapper:t,inner:null})}})},34207:function(t,e,n){var r=n(83788),o=n(6778),i=n(60672),a=n(51629),u=n(6385);r({target:"Iterator",proto:!0,real:!0},{forEach:function(t){a(this),i(t);var e=u(this),n=0;o(e,(function(e){t(e,n++)}),{IS_RECORD:!0})}})},20968:function(t,e,n){var r=n(83788),o=n(80503),i=n(63299),a=n(14711),u=n(54691).IteratorPrototype,c=n(75948),s=n(71848),l=n(61085),f=c((function(){return o(this.next,this.iterator)}),!0);r({target:"Iterator",stat:!0,forced:l},{from:function(t){var e=s("string"==typeof t?i(t):t,!0);return a(u,e.iterator)?e.iterator:new f(e)}})},8340:function(t,e,n){var r=n(83788),o=n(96467);r({target:"Iterator",proto:!0,real:!0,forced:n(61085)},{map:o})},83698:function(t,e,n){var r=n(83788),o=n(6778),i=n(60672),a=n(51629),u=n(6385),c=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(t){a(this),i(t);var e=u(this),n=arguments.length<2,r=n?void 0:arguments[1],s=0;if(o(e,(function(e){n?(n=!1,r=e):r=t(r,e,s),s++}),{IS_RECORD:!0}),n)throw new c("Reduce of empty iterator with no initial value");return r}})},53896:function(t,e,n){var r=n(83788),o=n(6778),i=n(60672),a=n(51629),u=n(6385);r({target:"Iterator",proto:!0,real:!0},{some:function(t){a(this),i(t);var e=u(this),n=0;return o(e,(function(e,r){if(t(e,n++))return r()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},21675:function(t,e,n){var r=n(83788),o=n(80503),i=n(51629),a=n(6385),u=n(78191),c=n(48572),s=n(75948),l=n(93817),f=n(61085),h=s((function(){var t=this.iterator;if(!this.remaining--)return this.done=!0,l(t,"normal",void 0);var e=i(o(this.next,t));return(this.done=!!e.done)?void 0:e.value}));r({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(t){i(this);var e=c(u(+t));return new h(a(this),{remaining:e})}})},15889:function(t,e,n){var r=n(83788),o=n(51629),i=n(6778),a=n(6385),u=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var t=[];return i(a(o(this)),u,{that:t,IS_RECORD:!0}),t}})},58500:function(t,e,n){var r=n(83788),o=n(51629),i=n(40552),a=n(83644),u=n(6385);r({target:"Iterator",proto:!0,real:!0,forced:n(61085)},{toAsync:function(){return new a(u(new i(u(o(this)))))}})},69718:function(t,e,n){n(83788)({target:"JSON",stat:!0,forced:!n(37173)},{isRawJSON:n(32808)})},39337:function(t,e,n){var r=n(83788),o=n(40726),i=n(38733),a=n(87097),u=n(38626),c=n(80503),s=n(13779),l=n(90512),f=n(69786),h=n(91875),p=n(3373),d=n(88360),y=n(43958),v=n(73969),g=n(93386),m=n(79893),b=i.JSON,w=i.Number,A=i.SyntaxError,x=b&&b.parse,E=a("Object","keys"),S=Object.getOwnPropertyDescriptor,O=u("".charAt),k=u("".slice),_=u(/./.exec),j=u([].push),P=/^\d$/,I=/^[1-9]$/,T=/^(?:-|\d)$/,C=/^[\t\n\r ]$/,L=function(t,e,n,r){var o,i,a,u,s,p=t[e],y=r&&p===r.value,v=y&&"string"==typeof r.source?{source:r.source}:{};if(l(p)){var g=f(p),m=y?r.nodes:g?[]:{};if(g)for(o=m.length,a=d(p),u=0;u<a;u++)R(p,u,L(p,""+u,n,u<o?m[u]:void 0));else for(i=E(p),a=d(i),u=0;u<a;u++)s=i[u],R(p,s,L(p,s,n,h(m,s)?m[s]:void 0))}return c(n,t,e,p,v)},R=function(t,e,n){if(o){var r=S(t,e);if(r&&!r.configurable)return}void 0===n?delete t[e]:y(t,e,n)},M=function(t,e,n,r){this.value=t,this.end=e,this.source=n,this.nodes=r},B=function(t,e){this.source=t,this.index=e};B.prototype={fork:function(t){return new B(this.source,t)},parse:function(){var t=this.source,e=this.skip(C,this.index),n=this.fork(e),r=O(t,e);if(_(T,r))return n.number();switch(r){case"{":return n.object();case"[":return n.array();case'"':return n.string();case"t":return n.keyword(!0);case"f":return n.keyword(!1);case"n":return n.keyword(null)}throw new A('Unexpected character: "'+r+'" at: '+e)},node:function(t,e,n,r,o){return new M(e,r,t?null:k(this.source,n,r),o)},object:function(){for(var t=this.source,e=this.index+1,n=!1,r={},o={};e<t.length;){if(e=this.until(['"',"}"],e),"}"===O(t,e)&&!n){e++;break}var i=this.fork(e).string(),a=i.value;e=i.end,e=this.until([":"],e)+1,e=this.skip(C,e),i=this.fork(e).parse(),y(o,a,i),y(r,a,i.value),e=this.until([",","}"],i.end);var u=O(t,e);if(","===u)n=!0,e++;else if("}"===u){e++;break}}return this.node(1,r,this.index,e,o)},array:function(){for(var t=this.source,e=this.index+1,n=!1,r=[],o=[];e<t.length;){if(e=this.skip(C,e),"]"===O(t,e)&&!n){e++;break}var i=this.fork(e).parse();if(j(o,i),j(r,i.value),e=this.until([",","]"],i.end),","===O(t,e))n=!0,e++;else if("]"===O(t,e)){e++;break}}return this.node(1,r,this.index,e,o)},string:function(){var t=this.index,e=g(this.source,this.index+1);return this.node(0,e.value,t,e.end)},number:function(){var t=this.source,e=this.index,n=e;if("-"===O(t,n)&&n++,"0"===O(t,n))n++;else{if(!_(I,O(t,n)))throw new A("Failed to parse number at: "+n);n=this.skip(P,++n)}if(!("."===O(t,n)&&(n=this.skip(P,++n)),"e"!==O(t,n)&&"E"!==O(t,n)||(n++,"+"!==O(t,n)&&"-"!==O(t,n)||n++,n!==(n=this.skip(P,n)))))throw new A("Failed to parse number's exponent value at: "+n);return this.node(0,w(k(t,e,n)),e,n)},keyword:function(t){var e=""+t,n=this.index,r=n+e.length;if(k(this.source,n,r)!==e)throw new A("Failed to parse value at: "+n);return this.node(0,t,n,r)},skip:function(t,e){for(var n=this.source;e<n.length&&_(t,O(n,e));e++);return e},until:function(t,e){e=this.skip(C,e);for(var n=O(this.source,e),r=0;r<t.length;r++)if(t[r]===n)return e;throw new A('Unexpected character: "'+n+'" at: '+e)}};var F=v((function(){var t,e="9007199254740993";return x(e,(function(e,n,r){t=r.source})),t!==e})),N=m&&!v((function(){return 1/x("-0 \t")!=-1/0}));r({target:"JSON",stat:!0,forced:F},{parse:function(t,e){return N&&!s(e)?x(t):function(t,e){t=p(t);var n=new B(t,0,""),r=n.parse(),o=r.value,i=n.skip(C,r.end);if(i<t.length)throw new A('Unexpected extra character: "'+O(t,i)+'" after the parsed data at: '+i);return s(e)?L({"":o},"",e,r):o}(t,e)}})},91971:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var o=n(83788),i=n(72346),a=n(37173),u=n(87097),c=n(80503),s=n(38626),l=n(13779),f=n(32808),h=n(3373),p=n(43958),d=n(93386),y=n(34983),v=n(82898),g=n(14075).set,m=String,b=SyntaxError,w=u("JSON","parse"),A=u("JSON","stringify"),x=u("Object","create"),E=u("Object","freeze"),S=s("".charAt),O=s("".slice),k=s(/./.exec),_=s([].push),j=v(),P=j.length,I="Unacceptable as raw JSON",T=/^[\t\n\r ]$/;o({target:"JSON",stat:!0,forced:!a},{rawJSON:function(t){var e=h(t);if(""===e||k(T,S(e,0))||k(T,S(e,e.length-1)))throw new b(I);var n=w(e);if("object"==r(n)&&null!==n)throw new b(I);var o=x(null);return g(o,{type:"RawJSON"}),p(o,"rawJSON",e),i?E(o):o}}),A&&o({target:"JSON",stat:!0,arity:3,forced:!a},{stringify:function(t,e,n){var r=y(e),o=[],i=A(t,(function(t,e){var n=l(r)?c(r,this,m(t),e):e;return f(n)?j+(_(o,n.rawJSON)-1):n}),n);if("string"!=typeof i)return i;for(var a="",u=i.length,s=0;s<u;s++){var h=S(i,s);if('"'===h){var p=d(i,++s).end-1,v=O(i,s,p);a+=O(v,0,P)===j?o[O(v,P)]:'"'+v+'"',s=p}else a+=h}return a}})},25965:function(t,e,n){n(35086)},62231:function(t,e,n){n(83788)({target:"Math",stat:!0},{f16round:n(46546)})},56776:function(t,e,n){n(13253)},11618:function(t,e,n){n(56625)},61504:function(t,e,n){n(58209)},45717:function(t,e,n){n(51840)},95641:function(t,e,n){n(11930)},1081:function(t,e,n){var r=n(83788),o=n(55214);r({target:"Set",proto:!0,real:!0,forced:!n(88418)("difference")},{difference:o})},92247:function(t,e,n){var r=n(83788),o=n(73969),i=n(43720);r({target:"Set",proto:!0,real:!0,forced:!n(88418)("intersection")||o((function(){return"3,2"!==Array.from(new Set([1,2,3]).intersection(new Set([3,2])))}))},{intersection:i})},5034:function(t,e,n){var r=n(83788),o=n(10963);r({target:"Set",proto:!0,real:!0,forced:!n(88418)("isDisjointFrom")},{isDisjointFrom:o})},5463:function(t,e,n){var r=n(83788),o=n(22952);r({target:"Set",proto:!0,real:!0,forced:!n(88418)("isSubsetOf")},{isSubsetOf:o})},57520:function(t,e,n){var r=n(83788),o=n(40241);r({target:"Set",proto:!0,real:!0,forced:!n(88418)("isSupersetOf")},{isSupersetOf:o})},69767:function(t,e,n){var r=n(83788),o=n(23076);r({target:"Set",proto:!0,real:!0,forced:!n(88418)("symmetricDifference")},{symmetricDifference:o})},14763:function(t,e,n){var r=n(83788),o=n(64182);r({target:"Set",proto:!0,real:!0,forced:!n(88418)("union")},{union:o})},36488:function(t,e,n){n(73785)},11558:function(t,e,n){n(26457)},22907:function(t,e,n){n(4144)},91437:function(t,e,n){n(31372)},93801:function(t,e,n){var r=n(83788),o=n(14711),i=n(43429),a=n(91737),u=n(126),c=n(5682),s=n(29797),l=n(89842),f=n(25641),h=n(20969),p=n(33545)("toStringTag"),d=Error,y=function(t,e,n){var r,u=o(v,this);return a?r=a(new d,u?i(this):v):(r=u?this:c(v),s(r,p,"Error")),void 0!==n&&s(r,"message",h(n)),f(r,y,r.stack,1),s(r,"error",t),s(r,"suppressed",e),r};a?a(y,d):u(y,d,{name:!0});var v=y.prototype=c(d.prototype,{constructor:l(1,y),message:l(1,""),name:l(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:y})},80960:function(t,e,n){var r=n(38733),o=n(3825),i=n(49331).f,a=n(78569).f,u=r.Symbol;if(o("asyncDispose"),u){var c=a(u,"asyncDispose");c.enumerable&&c.configurable&&c.writable&&i(u,"asyncDispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},63333:function(t,e,n){var r=n(38733),o=n(3825),i=n(49331).f,a=n(78569).f,u=r.Symbol;if(o("dispose"),u){var c=a(u,"dispose");c.enumerable&&c.configurable&&c.writable&&i(u,"dispose",{value:c.value,enumerable:!1,configurable:!1,writable:!1})}},67459:function(t,e,n){n(3825)("metadata")},9969:function(t,e,n){n(29202)},54805:function(t,e,n){n(65696)},98468:function(t,e,n){n(55597)},78060:function(t,e,n){n(26041)},35787:function(t,e,n){n(76574)},13996:function(t,e,n){var r=n(95206),o=n(88360),i=n(8365),a=n(51336),u=n(21052),c=n(98949),s=n(73969),l=r.aTypedArray,f=r.getTypedArrayConstructor,h=r.exportTypedArrayMethod,p=Math.max,d=Math.min;h("toSpliced",(function(t,e){var n,r,s,h,y,v,g,m=l(this),b=f(m),w=o(m),A=a(t,w),x=arguments.length,E=0;if(0===x)n=r=0;else if(1===x)n=0,r=w-A;else if(r=d(p(c(e),0),w-A),n=x-2){h=new b(n),s=i(h);for(var S=2;S<x;S++)y=arguments[S],h[S-2]=s?u(y):+y}for(g=new b(v=w+n-r);E<A;E++)g[E]=m[E];for(;E<A+n;E++)g[E]=h[E-A];for(;E<v;E++)g[E]=m[E+r-n];return g}),!!s((function(){var t=new Int8Array([1]),e=t.toSpliced(1,0,{valueOf:function(){return t[0]=2,3}});return 2!==e[0]||3!==e[1]})))},72264:function(t,e,n){n(48563)},48539:function(t,e,n){var r=n(83788),o=n(38733),i=n(87097),a=n(38626),u=n(80503),c=n(73969),s=n(3373),l=n(83786),f=n(20830).c2i,h=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,d=/[=]{1,2}$/,y=i("atob"),v=String.fromCharCode,g=a("".charAt),m=a("".replace),b=a(h.exec),w=!!y&&!c((function(){return"hi"!==y("aGk=")})),A=w&&c((function(){return""!==y(" ")})),x=w&&!c((function(){y("a")})),E=w&&!c((function(){y()})),S=w&&1!==y.length;r({global:!0,bind:!0,enumerable:!0,forced:!w||A||x||E||S},{atob:function(t){if(l(arguments.length,1),w&&!A&&!x)return u(y,o,t);var e,n,r,a=m(s(t),p,""),c="",E=0,S=0;if(a.length%4==0&&(a=m(a,d,"")),(e=a.length)%4==1||b(h,a))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;E<e;)n=g(a,E++),r=S%4?64*r+f[n]:f[n],S++%4&&(c+=v(255&r>>(-2*S&6)));return c}})},3609:function(t,e,n){var r=n(83788),o=n(38733),i=n(87097),a=n(38626),u=n(80503),c=n(73969),s=n(3373),l=n(83786),f=n(20830).i2c,h=i("btoa"),p=a("".charAt),d=a("".charCodeAt),y=!!h&&!c((function(){return"aGk="!==h("hi")})),v=y&&!c((function(){h()})),g=y&&c((function(){return"bnVsbA=="!==h(null)})),m=y&&1!==h.length;r({global:!0,bind:!0,enumerable:!0,forced:!y||v||g||m},{btoa:function(t){if(l(arguments.length,1),y)return u(h,o,s(t));for(var e,n,r=s(t),a="",c=0,v=f;p(r,c)||(v="=",c%1);){if((n=d(r,c+=3/4))>255)throw new(i("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");a+=p(v,63&(e=e<<8|n)>>8-c%1*8)}return a}})},24438:function(t,e,n){var r=n(83788),o=n(38733),i=n(98503).clear;r({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},35494:function(t,e,n){var r=n(38733),o=n(74034),i=n(88438),a=n(32577),u=n(29797),c=function(t){if(t&&t.forEach!==a)try{u(t,"forEach",a)}catch(e){t.forEach=a}};for(var s in o)o[s]&&c(r[s]&&r[s].prototype);c(i)},71015:function(t,e,n){var r=n(38733),o=n(74034),i=n(88438),a=n(17722),u=n(29797),c=n(86477),s=n(33545)("iterator"),l=a.values,f=function(t,e){if(t){if(t[s]!==l)try{u(t,s,l)}catch(e){t[s]=l}if(c(t,e,!0),o[e])for(var n in a)if(t[n]!==a[n])try{u(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var h in o)f(r[h]&&r[h].prototype,h);f(i,"DOMTokenList")},11689:function(t,e,n){var r=n(83788),o=n(55220),i=n(87097),a=n(73969),u=n(5682),c=n(89842),s=n(49331).f,l=n(42834),f=n(56736),h=n(91875),p=n(20253),d=n(51629),y=n(31366),v=n(20969),g=n(49196),m=n(95287),b=n(14075),w=n(40726),A=n(61085),x="DOMException",E="DATA_CLONE_ERR",S=i("Error"),O=i(x)||function(){try{(new(i("MessageChannel")||o("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if(t.name===E&&25===t.code)return t.constructor}}(),k=O&&O.prototype,_=S.prototype,j=b.set,P=b.getterFor(x),I="stack"in new S(x),T=function(t){return h(g,t)&&g[t].m?g[t].c:0},C=function(){p(this,L);var t=arguments.length,e=v(t<1?void 0:arguments[0]),n=v(t<2?void 0:arguments[1],"Error"),r=T(n);if(j(this,{type:x,name:n,message:e,code:r}),w||(this.name=n,this.message=e,this.code=r),I){var o=new S(e);o.name=x,s(this,"stack",c(1,m(o.stack,1)))}},L=C.prototype=u(_),R=function(t){return{enumerable:!0,configurable:!0,get:t}},M=function(t){return R((function(){return P(this)[t]}))};w&&(f(L,"code",M("code")),f(L,"message",M("message")),f(L,"name",M("name"))),s(L,"constructor",c(1,C));var B=a((function(){return!(new O instanceof S)})),F=B||a((function(){return _.toString!==y||"2: 1"!==String(new O(1,2))})),N=B||a((function(){return 25!==new O(1,"DataCloneError").code})),D=B||25!==O[E]||25!==k[E],U=A?F||N||D:B;r({global:!0,constructor:!0,forced:U},{DOMException:U?C:O});var G=i(x),Q=G.prototype;for(var z in F&&(A||O===G)&&l(Q,"toString",y),N&&w&&O===G&&f(Q,"code",R((function(){return T(d(this).name)}))),g)if(h(g,z)){var Y=g[z],H=Y.s,V=c(6,Y.c);h(G,H)||s(G,H,V),h(Q,H)||s(Q,H,V)}},87857:function(t,e,n){var r=n(83788),o=n(38733),i=n(87097),a=n(89842),u=n(49331).f,c=n(91875),s=n(20253),l=n(27429),f=n(20969),h=n(49196),p=n(95287),d=n(40726),y=n(61085),v="DOMException",g=i("Error"),m=i(v),b=function(){s(this,w);var t=arguments.length,e=f(t<1?void 0:arguments[0]),n=f(t<2?void 0:arguments[1],"Error"),r=new m(e,n),o=new g(e);return o.name=v,u(r,"stack",a(1,p(o.stack,1))),l(r,this,b),r},w=b.prototype=m.prototype,A="stack"in new g(v),x="stack"in new m(1,2),E=m&&d&&Object.getOwnPropertyDescriptor(o,v),S=!(!E||E.writable&&E.configurable),O=A&&!S&&!x;r({global:!0,constructor:!0,forced:y||O},{DOMException:O?b:m});var k=i(v),_=k.prototype;if(_.constructor!==k)for(var j in y||u(_,"constructor",a(1,k)),h)if(c(h,j)){var P=h[j],I=P.s;c(k,I)||u(k,I,a(6,P.c))}},38765:function(t,e,n){var r=n(87097),o="DOMException";n(86477)(r(o),o)},94158:function(t,e,n){n(24438),n(32975)},4756:function(t,e,n){var r=n(83788),o=n(38733),i=n(93313),a=n(60672),u=n(83786),c=n(65078),s=o.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(t){u(arguments.length,1),a(t);var e=c&&s.domain;i(e?e.bind(t):t)}})},47365:function(t,e,n){var r=n(83788),o=n(38733),i=n(56736),a=n(40726),u=TypeError,c=Object.defineProperty,s=o.self!==o;try{if(a){var l=Object.getOwnPropertyDescriptor(o,"self");!s&&l&&l.get&&l.enumerable||i(o,"self",{get:function(){return o},set:function(t){if(this!==o)throw new u("Illegal invocation");c(o,"self",{value:t,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:s},{self:o})}catch(t){}},32975:function(t,e,n){var r=n(83788),o=n(38733),i=n(98503).set,a=n(78090),u=o.setImmediate?a(i,!1):i;r({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==u},{setImmediate:u})},48177:function(t,e,n){var r=n(83788),o=n(38733),i=n(78090)(o.setInterval,!0);r({global:!0,bind:!0,forced:o.setInterval!==i},{setInterval:i})},95725:function(t,e,n){var r=n(83788),o=n(38733),i=n(78090)(o.setTimeout,!0);r({global:!0,bind:!0,forced:o.setTimeout!==i},{setTimeout:i})},55668:function(t,e,n){var r,o=n(61085),i=n(83788),a=n(38733),u=n(87097),c=n(38626),s=n(73969),l=n(82898),f=n(13779),h=n(51031),p=n(18183),d=n(90512),y=n(52631),v=n(6778),g=n(51629),m=n(53817),b=n(91875),w=n(43958),A=n(29797),x=n(88360),E=n(83786),S=n(40992),O=n(48130),k=n(41528),_=n(10127),j=n(74793),P=n(25493),I=n(54822),T=a.Object,C=a.Array,L=a.Date,R=a.Error,M=a.TypeError,B=a.PerformanceMark,F=u("DOMException"),N=O.Map,D=O.has,U=O.get,G=O.set,Q=k.Set,z=k.add,Y=k.has,H=u("Object","keys"),V=c([].push),$=c((!0).valueOf),W=c(1..valueOf),q=c("".valueOf),J=c(L.prototype.getTime),K=l("structuredClone"),X="DataCloneError",Z="Transferring",tt=function(t){return!s((function(){var e=new a.Set([7]),n=t(e),r=t(T(7));return n===e||!n.has(7)||!d(r)||7!=+r}))&&t},et=function(t,e){return!s((function(){var n=new e,r=t({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof e&&r.a.stack===n.stack)}))},nt=a.structuredClone,rt=o||!et(nt,R)||!et(nt,F)||(r=nt,!!s((function(){var t=r(new a.AggregateError([1],K,{cause:3}));return"AggregateError"!==t.name||1!==t.errors[0]||t.message!==K||3!==t.cause}))),ot=!nt&&tt((function(t){return new B(K,{detail:t}).detail})),it=tt(nt)||ot,at=function(t){throw new F("Uncloneable type: "+t,X)},ut=function(t,e){throw new F((e||"Cloning")+" of "+t+" cannot be properly polyfilled in this engine",X)},ct=function(t,e){return it||ut(e),it(t)},st=function(t,e,n){if(D(e,t))return U(e,t);var r,o,i,u,c,s;if("SharedArrayBuffer"===(n||m(t)))r=it?it(t):t;else{var l=a.DataView;l||f(t.slice)||ut("ArrayBuffer");try{if(f(t.slice)&&!t.resizable)r=t.slice(0);else{o=t.byteLength,i="maxByteLength"in t?{maxByteLength:t.maxByteLength}:void 0,r=new ArrayBuffer(o,i),u=new l(t),c=new l(r);for(s=0;s<o;s++)c.setUint8(s,u.getUint8(s))}}catch(t){throw new F("ArrayBuffer is detached",X)}}return G(e,t,r),r},lt=function(t,e){if(y(t)&&at("Symbol"),!d(t))return t;if(e){if(D(e,t))return U(e,t)}else e=new N;var n,r,o,i,c,s,l,h,p=m(t);switch(p){case"Array":o=C(x(t));break;case"Object":o={};break;case"Map":o=new N;break;case"Set":o=new Q;break;case"RegExp":o=new RegExp(t.source,S(t));break;case"Error":switch(r=t.name){case"AggregateError":o=new(u(r))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":o=new(u(r));break;case"CompileError":case"LinkError":case"RuntimeError":o=new(u("WebAssembly",r));break;default:o=new R}break;case"DOMException":o=new F(t.message,t.name);break;case"ArrayBuffer":case"SharedArrayBuffer":o=st(t,e,p);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":s="DataView"===p?t.byteLength:t.length,o=function(t,e,n,r,o){var i=a[e];return d(i)||ut(e),new i(st(t.buffer,o),n,r)}(t,p,t.byteOffset,s,e);break;case"DOMQuad":try{o=new DOMQuad(lt(t.p1,e),lt(t.p2,e),lt(t.p3,e),lt(t.p4,e))}catch(e){o=ct(t,p)}break;case"File":if(it)try{o=it(t),m(o)!==p&&(o=void 0)}catch(t){}if(!o)try{o=new File([t],t.name,t)}catch(t){}o||ut(p);break;case"FileList":if(i=function(){var t;try{t=new a.DataTransfer}catch(e){try{t=new a.ClipboardEvent("").clipboardData}catch(t){}}return t&&t.items&&t.files?t:null}()){for(c=0,s=x(t);c<s;c++)i.items.add(lt(t[c],e));o=i.files}else o=ct(t,p);break;case"ImageData":try{o=new ImageData(lt(t.data,e),t.width,t.height,{colorSpace:t.colorSpace})}catch(e){o=ct(t,p)}break;default:if(it)o=it(t);else switch(p){case"BigInt":o=T(t.valueOf());break;case"Boolean":o=T($(t));break;case"Number":o=T(W(t));break;case"String":o=T(q(t));break;case"Date":o=new L(J(t));break;case"Blob":try{o=t.slice(0,t.size,t.type)}catch(t){ut(p)}break;case"DOMPoint":case"DOMPointReadOnly":n=a[p];try{o=n.fromPoint?n.fromPoint(t):new n(t.x,t.y,t.z,t.w)}catch(t){ut(p)}break;case"DOMRect":case"DOMRectReadOnly":n=a[p];try{o=n.fromRect?n.fromRect(t):new n(t.x,t.y,t.width,t.height)}catch(t){ut(p)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=a[p];try{o=n.fromMatrix?n.fromMatrix(t):new n(t)}catch(t){ut(p)}break;case"AudioData":case"VideoFrame":f(t.clone)||ut(p);try{o=t.clone()}catch(t){at(p)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":ut(p);default:at(p)}}switch(G(e,t,o),p){case"Array":case"Object":for(l=H(t),c=0,s=x(l);c<s;c++)h=l[c],w(o,h,lt(t[h],e));break;case"Map":t.forEach((function(t,n){G(o,lt(n,e),lt(t,e))}));break;case"Set":t.forEach((function(t){z(o,lt(t,e))}));break;case"Error":A(o,"message",lt(t.message,e)),b(t,"cause")&&A(o,"cause",lt(t.cause,e)),"AggregateError"===r?o.errors=lt(t.errors,e):"SuppressedError"===r&&(o.error=lt(t.error,e),o.suppressed=lt(t.suppressed,e));case"DOMException":P&&A(o,"stack",lt(t.stack,e))}return o};i({global:!0,enumerable:!0,sham:!I,forced:rt},{structuredClone:function(t){var e,n,r=E(arguments.length,1)>1&&!p(arguments[1])?g(arguments[1]):void 0,o=r?r.transfer:void 0;void 0!==o&&(n=function(t,e){if(!d(t))throw new M("Transfer option cannot be converted to a sequence");var n=[];v(t,(function(t){V(n,g(t))}));for(var r,o,i,u,c,s=0,l=x(n),p=new Q;s<l;){if(r=n[s++],"ArrayBuffer"===(o=m(r))?Y(p,r):D(e,r))throw new F("Duplicate transferable",X);if("ArrayBuffer"!==o){if(I)u=nt(r,{transfer:[r]});else switch(o){case"ImageBitmap":i=a.OffscreenCanvas,h(i)||ut(o,Z);try{(c=new i(r.width,r.height)).getContext("bitmaprenderer").transferFromImageBitmap(r),u=c.transferToImageBitmap()}catch(t){}break;case"AudioData":case"VideoFrame":f(r.clone)&&f(r.close)||ut(o,Z);try{u=r.clone(),r.close()}catch(t){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":ut(o,Z)}if(void 0===u)throw new F("This object cannot be transferred: "+o,X);G(e,r,u)}else z(p,r)}return p}(o,e=new N));var i=lt(t,e);return n&&function(t){_(t,(function(t){I?it(t,{transfer:[t]}):f(t.transfer)?t.transfer():j?j(t):ut("ArrayBuffer",Z)}))}(n),i}})},60937:function(t,e,n){n(48177),n(95725)},84400:function(t,e,n){n(17722);var r=n(83788),o=n(38733),i=n(80503),a=n(38626),u=n(40726),c=n(35138),s=n(42834),l=n(56736),f=n(99217),h=n(86477),p=n(88808),d=n(14075),y=n(20253),v=n(13779),g=n(91875),m=n(33690),b=n(53817),w=n(51629),A=n(90512),x=n(3373),E=n(5682),S=n(89842),O=n(56223),k=n(465),_=n(49591),j=n(83786),P=n(33545),I=n(274),T=P("iterator"),C="URLSearchParams",L=C+"Iterator",R=d.set,M=d.getterFor(C),B=d.getterFor(L),F=Object.getOwnPropertyDescriptor,N=function(t){if(!u)return o[t];var e=F(o,t);return e&&e.value},D=N("fetch"),U=N("Request"),G=N("Headers"),Q=U&&U.prototype,z=G&&G.prototype,Y=o.RegExp,H=o.TypeError,V=o.decodeURIComponent,$=o.encodeURIComponent,W=a("".charAt),q=a([].join),J=a([].push),K=a("".replace),X=a([].shift),Z=a([].splice),tt=a("".split),et=a("".slice),nt=/\+/g,rt=Array(4),ot=function(t){return rt[t-1]||(rt[t-1]=Y("((?:%[\\da-f]{2}){"+t+"})","gi"))},it=function(t){try{return V(t)}catch(e){return t}},at=function(t){var e=K(t,nt," "),n=4;try{return V(e)}catch(t){for(;n;)e=K(e,ot(n--),it);return e}},ut=/[!'()~]|%20/g,ct={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},st=function(t){return ct[t]},lt=function(t){return K($(t),ut,st)},ft=p((function(t,e){R(this,{type:L,target:M(t).entries,index:0,kind:e})}),C,(function(){var t=B(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,_(void 0,!0);var r=e[n];switch(t.kind){case"keys":return _(r.key,!1);case"values":return _(r.value,!1)}return _([r.key,r.value],!1)}),!0),ht=function(t){this.entries=[],this.url=null,void 0!==t&&(A(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===W(t,0)?et(t,1):t:x(t)))};ht.prototype={type:C,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,r,o,a,u,c,s=this.entries,l=k(t);if(l)for(n=(e=O(t,l)).next;!(r=i(n,e)).done;){if(a=(o=O(w(r.value))).next,(u=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw new H("Expected sequence with length 2");J(s,{key:x(u.value),value:x(c.value)})}else for(var f in t)g(t,f)&&J(s,{key:f,value:x(t[f])})},parseQuery:function(t){if(t)for(var e,n,r=this.entries,o=tt(t,"&"),i=0;i<o.length;)(e=o[i++]).length&&(n=tt(e,"="),J(r,{key:at(X(n)),value:at(q(n,"="))}))},serialize:function(){for(var t,e=this.entries,n=[],r=0;r<e.length;)t=e[r++],J(n,lt(t.key)+"="+lt(t.value));return q(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pt=function(){y(this,dt);var t=R(this,new ht(arguments.length>0?arguments[0]:void 0));u||(this.size=t.entries.length)},dt=pt.prototype;if(f(dt,{append:function(t,e){var n=M(this);j(arguments.length,2),J(n.entries,{key:x(t),value:x(e)}),u||this.length++,n.updateURL()},delete:function(t){for(var e=M(this),n=j(arguments.length,1),r=e.entries,o=x(t),i=n<2?void 0:arguments[1],a=void 0===i?i:x(i),c=0;c<r.length;){var s=r[c];if(s.key!==o||void 0!==a&&s.value!==a)c++;else if(Z(r,c,1),void 0!==a)break}u||(this.size=r.length),e.updateURL()},get:function(t){var e=M(this).entries;j(arguments.length,1);for(var n=x(t),r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){var e=M(this).entries;j(arguments.length,1);for(var n=x(t),r=[],o=0;o<e.length;o++)e[o].key===n&&J(r,e[o].value);return r},has:function(t){for(var e=M(this).entries,n=j(arguments.length,1),r=x(t),o=n<2?void 0:arguments[1],i=void 0===o?o:x(o),a=0;a<e.length;){var u=e[a++];if(u.key===r&&(void 0===i||u.value===i))return!0}return!1},set:function(t,e){var n=M(this);j(arguments.length,1);for(var r,o=n.entries,i=!1,a=x(t),c=x(e),s=0;s<o.length;s++)(r=o[s]).key===a&&(i?Z(o,s--,1):(i=!0,r.value=c));i||J(o,{key:a,value:c}),u||(this.size=o.length),n.updateURL()},sort:function(){var t=M(this);I(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,n=M(this).entries,r=m(t,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new ft(this,"keys")},values:function(){return new ft(this,"values")},entries:function(){return new ft(this,"entries")}},{enumerable:!0}),s(dt,T,dt.entries,{name:"entries"}),s(dt,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),u&&l(dt,"size",{get:function(){return M(this).entries.length},configurable:!0,enumerable:!0}),h(pt,C),r({global:!0,constructor:!0,forced:!c},{URLSearchParams:pt}),!c&&v(G)){var yt=a(z.has),vt=a(z.set),gt=function(t){if(A(t)){var e,n=t.body;if(b(n)===C)return e=t.headers?new G(t.headers):new G,yt(e,"content-type")||vt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(t,{body:S(0,x(n)),headers:S(0,e)})}return t};if(v(D)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return D(t,arguments.length>1?gt(arguments[1]):{})}}),v(U)){var mt=function(t){return y(this,Q),new U(t,arguments.length>1?gt(arguments[1]):{})};Q.constructor=mt,mt.prototype=Q,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:mt})}}t.exports={URLSearchParams:pt,getState:M}},63233:function(t,e,n){var r=n(42834),o=n(38626),i=n(3373),a=n(83786),u=URLSearchParams,c=u.prototype,s=o(c.append),l=o(c.delete),f=o(c.forEach),h=o([].push),p=new u("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(c,"delete",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return l(this,t);var r=[];f(this,(function(t,e){h(r,{key:e,value:t})})),a(e,1);for(var o,u=i(t),c=i(n),p=0,d=0,y=!1,v=r.length;p<v;)o=r[p++],y||o.key===u?(y=!0,l(this,o.key)):d++;for(;d<v;)(o=r[d++]).key===u&&o.value===c||s(this,o.key,o.value)}),{enumerable:!0,unsafe:!0})},86492:function(t,e,n){var r=n(42834),o=n(38626),i=n(3373),a=n(83786),u=URLSearchParams,c=u.prototype,s=o(c.getAll),l=o(c.has),f=new u("a=1");!f.has("a",2)&&f.has("a",void 0)||r(c,"has",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return l(this,t);var r=s(this,t);a(e,1);for(var o=i(n),u=0;u<r.length;)if(r[u++]===o)return!0;return!1}),{enumerable:!0,unsafe:!0})},73606:function(t,e,n){n(84400)},15079:function(t,e,n){var r=n(40726),o=n(38626),i=n(56736),a=URLSearchParams.prototype,u=o(a.forEach);r&&!("size"in a)&&i(a,"size",{get:function(){var t=0;return u(this,(function(){t++})),t},configurable:!0,enumerable:!0})},88228:function(t,e,n){var r=n(83788),o=n(87097),i=n(73969),a=n(83786),u=n(3373),c=n(35138),s=o("URL");r({target:"URL",stat:!0,forced:!(c&&i((function(){s.canParse()})))},{canParse:function(t){var e=a(arguments.length,1),n=u(t),r=e<2||void 0===arguments[1]?void 0:u(arguments[1]);try{return!!new s(n,r)}catch(t){return!1}}})},27540:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n(15698);var o,i=n(83788),a=n(40726),u=n(35138),c=n(38733),s=n(33690),l=n(38626),f=n(42834),h=n(56736),p=n(20253),d=n(91875),y=n(2471),v=n(48710),g=n(66361),m=n(46473).codeAt,b=n(61555),w=n(3373),A=n(86477),x=n(83786),E=n(84400),S=n(14075),O=S.set,k=S.getterFor("URL"),_=E.URLSearchParams,j=E.getState,P=c.URL,I=c.TypeError,T=c.parseInt,C=Math.floor,L=Math.pow,R=l("".charAt),M=l(/./.exec),B=l([].join),F=l(1..toString),N=l([].pop),D=l([].push),U=l("".replace),G=l([].shift),Q=l("".split),z=l("".slice),Y=l("".toLowerCase),H=l([].unshift),V="Invalid scheme",$="Invalid host",W="Invalid port",q=/[a-z]/i,J=/[\d+-.a-z]/i,K=/\d/,X=/^0x/i,Z=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,nt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,rt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ot=/^[\u0000-\u0020]+/,it=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,at=/[\t\n\r]/g,ut=function(t){var e,n,o,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)H(e,t%256),t=C(t/256);return B(e,".")}if("object"==r(t)){for(e="",o=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),o===n?(e+=n?":":"::",i=!0):(e+=F(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},ct={},st=y({},ct,{" ":1,'"':1,"<":1,">":1,"`":1}),lt=y({},st,{"#":1,"?":1,"{":1,"}":1}),ft=y({},lt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ht=function(t,e){var n=m(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},pt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},dt=function(t,e){var n;return 2===t.length&&M(q,R(t,0))&&(":"===(n=R(t,1))||!e&&"|"===n)},yt=function(t){var e;return t.length>1&&dt(z(t,0,2))&&(2===t.length||"/"===(e=R(t,2))||"\\"===e||"?"===e||"#"===e)},vt=function(t){return"."===t||"%2e"===Y(t)},gt={},mt={},bt={},wt={},At={},xt={},Et={},St={},Ot={},kt={},_t={},jt={},Pt={},It={},Tt={},Ct={},Lt={},Rt={},Mt={},Bt={},Ft={},Nt=function(t,e,n){var r,o,i,a=w(t);if(e){if(o=this.parse(a))throw new I(o);this.searchParams=null}else{if(void 0!==n&&(r=new Nt(n,!0)),o=this.parse(a,null,r))throw new I(o);(i=j(new _)).bindURL(this),this.searchParams=i}};Nt.prototype={type:"URL",parse:function(t,e,n){var r,i,a,u,c,s=this,l=e||gt,f=0,h="",p=!1,y=!1,m=!1;for(t=w(t),e||(s.scheme="",s.username="",s.password="",s.host=null,s.port=null,s.path=[],s.query=null,s.fragment=null,s.cannotBeABaseURL=!1,t=U(t,ot,""),t=U(t,it,"$1")),t=U(t,at,""),r=v(t);f<=r.length;){switch(i=r[f],l){case gt:if(!i||!M(q,i)){if(e)return V;l=bt;continue}h+=Y(i),l=mt;break;case mt:if(i&&(M(J,i)||"+"===i||"-"===i||"."===i))h+=Y(i);else{if(":"!==i){if(e)return V;h="",l=bt,f=0;continue}if(e&&(s.isSpecial()!==d(pt,h)||"file"===h&&(s.includesCredentials()||null!==s.port)||"file"===s.scheme&&!s.host))return;if(s.scheme=h,e)return void(s.isSpecial()&&pt[s.scheme]===s.port&&(s.port=null));h="","file"===s.scheme?l=It:s.isSpecial()&&n&&n.scheme===s.scheme?l=wt:s.isSpecial()?l=St:"/"===r[f+1]?(l=At,f++):(s.cannotBeABaseURL=!0,D(s.path,""),l=Mt)}break;case bt:if(!n||n.cannotBeABaseURL&&"#"!==i)return V;if(n.cannotBeABaseURL&&"#"===i){s.scheme=n.scheme,s.path=g(n.path),s.query=n.query,s.fragment="",s.cannotBeABaseURL=!0,l=Ft;break}l="file"===n.scheme?It:xt;continue;case wt:if("/"!==i||"/"!==r[f+1]){l=xt;continue}l=Ot,f++;break;case At:if("/"===i){l=kt;break}l=Rt;continue;case xt:if(s.scheme=n.scheme,i===o)s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=g(n.path),s.query=n.query;else if("/"===i||"\\"===i&&s.isSpecial())l=Et;else if("?"===i)s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=g(n.path),s.query="",l=Bt;else{if("#"!==i){s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=g(n.path),s.path.length--,l=Rt;continue}s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,s.path=g(n.path),s.query=n.query,s.fragment="",l=Ft}break;case Et:if(!s.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){s.username=n.username,s.password=n.password,s.host=n.host,s.port=n.port,l=Rt;continue}l=kt}else l=Ot;break;case St:if(l=Ot,"/"!==i||"/"!==R(h,f+1))continue;f++;break;case Ot:if("/"!==i&&"\\"!==i){l=kt;continue}break;case kt:if("@"===i){p&&(h="%40"+h),p=!0,a=v(h);for(var b=0;b<a.length;b++){var A=a[b];if(":"!==A||m){var x=ht(A,ft);m?s.password+=x:s.username+=x}else m=!0}h=""}else if(i===o||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()){if(p&&""===h)return"Invalid authority";f-=v(h).length+1,h="",l=_t}else h+=i;break;case _t:case jt:if(e&&"file"===s.scheme){l=Ct;continue}if(":"!==i||y){if(i===o||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()){if(s.isSpecial()&&""===h)return $;if(e&&""===h&&(s.includesCredentials()||null!==s.port))return;if(u=s.parseHost(h))return u;if(h="",l=Lt,e)return;continue}"["===i?y=!0:"]"===i&&(y=!1),h+=i}else{if(""===h)return $;if(u=s.parseHost(h))return u;if(h="",l=Pt,e===jt)return}break;case Pt:if(!M(K,i)){if(i===o||"/"===i||"?"===i||"#"===i||"\\"===i&&s.isSpecial()||e){if(""!==h){var E=T(h,10);if(E>65535)return W;s.port=s.isSpecial()&&E===pt[s.scheme]?null:E,h=""}if(e)return;l=Lt;continue}return W}h+=i;break;case It:if(s.scheme="file","/"===i||"\\"===i)l=Tt;else{if(!n||"file"!==n.scheme){l=Rt;continue}switch(i){case o:s.host=n.host,s.path=g(n.path),s.query=n.query;break;case"?":s.host=n.host,s.path=g(n.path),s.query="",l=Bt;break;case"#":s.host=n.host,s.path=g(n.path),s.query=n.query,s.fragment="",l=Ft;break;default:yt(B(g(r,f),""))||(s.host=n.host,s.path=g(n.path),s.shortenPath()),l=Rt;continue}}break;case Tt:if("/"===i||"\\"===i){l=Ct;break}n&&"file"===n.scheme&&!yt(B(g(r,f),""))&&(dt(n.path[0],!0)?D(s.path,n.path[0]):s.host=n.host),l=Rt;continue;case Ct:if(i===o||"/"===i||"\\"===i||"?"===i||"#"===i){if(!e&&dt(h))l=Rt;else if(""===h){if(s.host="",e)return;l=Lt}else{if(u=s.parseHost(h))return u;if("localhost"===s.host&&(s.host=""),e)return;h="",l=Lt}continue}h+=i;break;case Lt:if(s.isSpecial()){if(l=Rt,"/"!==i&&"\\"!==i)continue}else if(e||"?"!==i)if(e||"#"!==i){if(i!==o&&(l=Rt,"/"!==i))continue}else s.fragment="",l=Ft;else s.query="",l=Bt;break;case Rt:if(i===o||"/"===i||"\\"===i&&s.isSpecial()||!e&&("?"===i||"#"===i)){if(".."===(c=Y(c=h))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(s.shortenPath(),"/"===i||"\\"===i&&s.isSpecial()||D(s.path,"")):vt(h)?"/"===i||"\\"===i&&s.isSpecial()||D(s.path,""):("file"===s.scheme&&!s.path.length&&dt(h)&&(s.host&&(s.host=""),h=R(h,0)+":"),D(s.path,h)),h="","file"===s.scheme&&(i===o||"?"===i||"#"===i))for(;s.path.length>1&&""===s.path[0];)G(s.path);"?"===i?(s.query="",l=Bt):"#"===i&&(s.fragment="",l=Ft)}else h+=ht(i,lt);break;case Mt:"?"===i?(s.query="",l=Bt):"#"===i?(s.fragment="",l=Ft):i!==o&&(s.path[0]+=ht(i,ct));break;case Bt:e||"#"!==i?i!==o&&("'"===i&&s.isSpecial()?s.query+="%27":s.query+="#"===i?"%23":ht(i,ct)):(s.fragment="",l=Ft);break;case Ft:i!==o&&(s.fragment+=ht(i,st))}f++}},parseHost:function(t){var e,n,r;if("["===R(t,0)){if("]"!==R(t,t.length-1))return $;if(e=function(t){var e,n,r,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,h=function(){return R(t,f)};if(":"===h()){if(":"!==R(t,1))return;f+=2,l=++s}for(;h();){if(8===s)return;if(":"!==h()){for(e=n=0;n<4&&M(et,h());)e=16*e+T(h(),16),f++,n++;if("."===h()){if(0===n)return;if(f-=n,s>6)return;for(r=0;h();){if(o=null,r>0){if(!("."===h()&&r<4))return;f++}if(!M(K,h()))return;for(;M(K,h());){if(i=T(h(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;f++}c[s]=256*c[s]+o,2!=++r&&4!==r||s++}if(4!==r)return;break}if(":"===h()){if(f++,!h())return}else if(h())return;c[s++]=e}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!==s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!==s)return;return c}(z(t,1,-1)),!e)return $;this.host=e}else if(this.isSpecial()){if(t=b(t),M(nt,t))return $;if(e=function(t){var e,n,r,o,i,a,u,c=Q(t,".");if(c.length&&""===c[c.length-1]&&c.length--,(e=c.length)>4)return t;for(n=[],r=0;r<e;r++){if(""===(o=c[r]))return t;if(i=10,o.length>1&&"0"===R(o,0)&&(i=M(X,o)?16:8,o=z(o,8===i?1:2)),""===o)a=0;else{if(!M(10===i?tt:8===i?Z:et,o))return t;a=T(o,i)}D(n,a)}for(r=0;r<e;r++)if(a=n[r],r===e-1){if(a>=L(256,5-e))return null}else if(a>255)return null;for(u=N(n),r=0;r<n.length;r++)u+=n[r]*L(256,3-r);return u}(t),null===e)return $;this.host=e}else{if(M(rt,t))return $;for(e="",n=v(t),r=0;r<n.length;r++)e+=ht(n[r],ct);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(pt,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&dt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,u=t.query,c=t.fragment,s=e+":";return null!==o?(s+="//",t.includesCredentials()&&(s+=n+(r?":"+r:"")+"@"),s+=ut(o),null!==i&&(s+=":"+i)):"file"===e&&(s+="//"),s+=t.cannotBeABaseURL?a[0]:a.length?"/"+B(a,"/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},setHref:function(t){var e=this.parse(t);if(e)throw new I(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Dt(t.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+ut(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(w(t)+":",gt)},getUsername:function(){return this.username},setUsername:function(t){var e=v(w(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<e.length;n++)this.username+=ht(e[n],ft)}},getPassword:function(){return this.password},setPassword:function(t){var e=v(w(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<e.length;n++)this.password+=ht(e[n],ft)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ut(t):ut(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,_t)},getHostname:function(){var t=this.host;return null===t?"":ut(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,jt)},getPort:function(){var t=this.port;return null===t?"":w(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=w(t))?this.port=null:this.parse(t,Pt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+B(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Lt))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=w(t))?this.query=null:("?"===R(t,0)&&(t=z(t,1)),this.query="",this.parse(t,Bt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=w(t))?("#"===R(t,0)&&(t=z(t,1)),this.fragment="",this.parse(t,Ft)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Dt=function(t){var e=p(this,Ut),n=x(arguments.length,1)>1?arguments[1]:void 0,r=O(e,new Nt(t,!1,n));a||(e.href=r.serialize(),e.origin=r.getOrigin(),e.protocol=r.getProtocol(),e.username=r.getUsername(),e.password=r.getPassword(),e.host=r.getHost(),e.hostname=r.getHostname(),e.port=r.getPort(),e.pathname=r.getPathname(),e.search=r.getSearch(),e.searchParams=r.getSearchParams(),e.hash=r.getHash())},Ut=Dt.prototype,Gt=function(t,e){return{get:function(){return k(this)[t]()},set:e&&function(t){return k(this)[e](t)},configurable:!0,enumerable:!0}};if(a&&(h(Ut,"href",Gt("serialize","setHref")),h(Ut,"origin",Gt("getOrigin")),h(Ut,"protocol",Gt("getProtocol","setProtocol")),h(Ut,"username",Gt("getUsername","setUsername")),h(Ut,"password",Gt("getPassword","setPassword")),h(Ut,"host",Gt("getHost","setHost")),h(Ut,"hostname",Gt("getHostname","setHostname")),h(Ut,"port",Gt("getPort","setPort")),h(Ut,"pathname",Gt("getPathname","setPathname")),h(Ut,"search",Gt("getSearch","setSearch")),h(Ut,"searchParams",Gt("getSearchParams")),h(Ut,"hash",Gt("getHash","setHash"))),f(Ut,"toJSON",(function(){return k(this).serialize()}),{enumerable:!0}),f(Ut,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),P){var Qt=P.createObjectURL,zt=P.revokeObjectURL;Qt&&f(Dt,"createObjectURL",s(Qt,P)),zt&&f(Dt,"revokeObjectURL",s(zt,P))}A(Dt,"URL"),i({global:!0,constructor:!0,forced:!u,sham:!a},{URL:Dt})},61042:function(t,e,n){n(27540)},72482:function(t,e,n){var r=n(83788),o=n(80503);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},44257:function(t,e,n){n(11618)},65023:function(t,e,n){n(81650),n(78667),n(66387)},12356:function(t,e,n){n(39557),n(73368),n(98468),n(54805)},10784:function(t,e,n){n(86662)},94636:function(t,e,n){n(30156),n(38259)},37287:function(t,e,n){n(70060),n(80723)},97797:function(t,e,n){n(25965),n(56776)},66491:function(t,e,n){n(95185),n(21446),n(49419),n(26139),n(78060),n(35787),n(72264)},98773:function(t,e,n){n(95185),n(21446),n(49419),n(26139),n(78060),n(35787),n(13996),n(72264)},19253:function(t,e,n){n(96107),n(67459)},10016:function(t,e,n){n(93801),n(43408),n(45421),n(74403),n(92263),n(80960),n(63333)},91476:function(t,e,n){n(20892),n(48976),n(62231)},31819:function(t,e,n){n(90410);var r=n(38733);t.exports=r},27695:function(t,e,n){n(16694),n(64681),n(18045),n(33210),n(89307),n(23196),n(34207),n(20968),n(8340),n(83698),n(53896),n(21675),n(15889)},36824:function(t,e,n){n(31101),n(46140),n(12674),n(81371),n(27974),n(78313),n(84670),n(83537),n(91739),n(16975),n(38061),n(99162),n(8580),n(16694),n(64681),n(18045),n(33210),n(89307),n(23196),n(34207),n(20968),n(8340),n(83698),n(53896),n(21675),n(15889),n(58500)},41742:function(t,e,n){n(69718),n(39337),n(91971)},97702:function(t,e,n){n(61504)},28507:function(t,e,n){n(64008),n(45717)},36123:function(t,e,n){n(95641)},35698:function(t,e,n){n(78563),n(73018),n(9969)},99531:function(t,e,n){n(1081),n(92247),n(5034),n(5463),n(57520),n(14763),n(69767)},28842:function(t,e,n){n(11558)},28821:function(t,e,n){n(22907)},23984:function(t,e,n){n(36488),n(91437)},88445:function(t,e,n){n(78161),n(75717),n(84034),n(56147),n(42926),n(54325),n(12426),n(37572),n(61295),n(91603),n(78793),n(63183),n(99878),n(53751),n(77560),n(4738),n(72436),n(50113),n(23744),n(30593),n(80800),n(10245),n(21577),n(71957),n(66598),n(63231),n(12270),n(16020),n(85125),n(5067),n(86608),n(28155),n(91900),n(68993),n(98406),n(29988),n(17722),n(98640),n(45723),n(12592),n(63657),n(1492),n(77246),n(25853),n(74276),n(90720),n(93740),n(15928),n(12140),n(84936),n(72924),n(21435),n(1404),n(94800),n(7987),n(26319),n(75928),n(92021),n(71499),n(32287),n(96891),n(35109),n(4267),n(47289),n(18089),n(32906),n(41325),n(54762),n(95250),n(56434),n(32568),n(10695),n(11420),n(92967),n(16032),n(27945),n(96975),n(35086),n(1795),n(79932),n(35335),n(1042),n(59627),n(29488),n(28300),n(52175),n(38655),n(75178),n(10214),n(2790),n(501),n(93e3),n(29587),n(27904),n(75770),n(18411),n(38870),n(9364),n(23082),n(72867),n(97808),n(8015),n(57131),n(63489),n(18142),n(4881),n(6031),n(15482),n(66876),n(60191),n(10122),n(30793),n(40983),n(3147),n(83269),n(40468),n(77265),n(67027),n(2209),n(30708),n(10998),n(17661),n(13253),n(56625),n(77250),n(77538),n(49425),n(38643),n(4602),n(40846),n(27970),n(60689),n(87062),n(93403),n(92145),n(26885),n(64764),n(49249),n(90766),n(28244),n(58209),n(51840),n(96405),n(11930),n(81882),n(53591),n(6797),n(13301),n(20178),n(21351),n(96639),n(77126),n(25912),n(35367),n(89139),n(66302),n(63035),n(80822),n(22382),n(30547),n(39877),n(41025),n(15127),n(63448),n(58223),n(51089),n(78563),n(49082),n(41971),n(30747),n(76649),n(73785),n(15698),n(53027),n(26457),n(61671),n(84794),n(14904),n(51027),n(7678),n(4144),n(6584),n(17770),n(71062),n(14649),n(31372),n(62160),n(84892),n(64453),n(32061),n(64896),n(34620),n(75299),n(27356),n(87086),n(89200),n(60619),n(5364),n(27461),n(78930),n(50420),n(92398),n(41924),n(79095),n(84884),n(99189),n(61395),n(90543),n(17072),n(1848),n(16606),n(29202),n(69264),n(69028),n(454),n(63137),n(96220),n(11277),n(55597),n(65696),n(56764),n(20875),n(45554),n(19325),n(58905),n(31339),n(93702),n(41101),n(89350),n(80229),n(45414),n(76653),n(85803),n(95857),n(115),n(85327),n(64036),n(82895),n(26041),n(76574),n(85978),n(48563),n(13537),n(32846),n(56908),n(48539),n(3609),n(35494),n(71015),n(11689),n(87857),n(38765),n(94158),n(4756),n(47365),n(55668),n(60937),n(61042),n(88228),n(72482),n(73606),n(63233),n(86492),n(15079),t.exports=n(44437)},74449:function(t,e,n){var r=n(10148);n(65023),n(10784),n(19253),n(10016),n(91476),n(27695),n(41742),n(99531),n(37287),n(94636),n(98773),n(36824),t.exports=r},10148:function(t,e,n){n(44257),n(12356),n(97797),n(66491),n(31819),n(97702),n(28507),n(36123),n(35698),n(28842),n(28821),n(23984);var r=n(44437);t.exports=r},19103:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return t&&"object"===r(t)&&"default"in t?t:{default:t}}function i(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(n){if("default"!==n&&!(n in t)){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}))})),Object.freeze(t)}var a=o(n(1806));function u(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var c={exports:{}};!function(t){var e=function(t,e){return e?"other":1==t?"one":"other"},n=function(t,e){return e?"other":0==t||1==t?"one":"other"},r=function(t,e){return e?"other":t>=0&&t<=1?"one":"other"},o=function(t,e){var n=!String(t).split(".")[1];return e?"other":1==t&&n?"one":"other"},i=function(t,e){return"other"},a=function(t,e){return e?"other":1==t?"one":2==t?"two":"other"};!function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),t.exports=n}(0,{af:e,ak:n,am:r,an:e,ar:function(t,e){var n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:function(t,e){var n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:function(t,e){return e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},asa:e,ast:o,az:function(t,e){var n=String(t).split(".")[0],r=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return e?1==r||2==r||5==r||7==r||8==r||20==o||50==o||70==o||80==o?"one":3==r||4==r||100==i||200==i||300==i||400==i||500==i||600==i||700==i||800==i||900==i?"few":0==n||6==r||40==o||60==o||90==o?"many":"other":1==t?"one":"other"},bal:function(t,e){return 1==t?"one":"other"},be:function(t,e){var n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return e?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":r&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},bem:e,bez:e,bg:e,bho:n,bm:i,bn:function(t,e){return e?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},bo:i,br:function(t,e){var n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2),a=r&&n[0].slice(-6);return e?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=t&&r&&0==a?"many":"other"},brx:e,bs:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=r.slice(-2),c=o.slice(-1),s=o.slice(-2);return e?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&a<=4&&(u<12||u>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},ca:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},ce:e,ceb:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=o.slice(-1);return e?"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"one":"other"},cgg:e,chr:e,ckb:e,cs:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==t&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},cy:function(t,e){return e?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"},da:function(t,e){var n=String(t).split("."),r=n[0],o=Number(n[0])==t;return e||1!=t&&(o||0!=r&&1!=r)?"other":"one"},de:o,doi:r,dsb:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-2),u=o.slice(-2);return e?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"few":"other"},dv:e,dz:i,ee:e,el:e,en:function(t,e){var n=String(t).split("."),r=!n[1],o=Number(n[0])==t,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return e?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"few":"other":1==t&&r?"one":"other"},eo:e,es:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":1==t?"one":0!=r&&0==i&&o?"many":"other"},et:o,eu:e,fa:r,ff:function(t,e){return e?"other":t>=0&&t<2?"one":"other"},fi:o,fil:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=o.slice(-1);return e?1==t?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"one":"other"},fo:e,fr:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?1==t?"one":"other":t>=0&&t<2?"one":0!=r&&0==i&&o?"many":"other"},fur:e,fy:o,ga:function(t,e){var n=String(t).split("."),r=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},gd:function(t,e){var n=String(t).split("."),r=Number(n[0])==t;return e?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"},gl:o,gsw:e,gu:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},guw:n,gv:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return e?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?o?"other":"many":"few"},ha:e,haw:e,he:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==r&&o||0==r&&!o?"one":2==r&&o?"two":"other"},hi:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"},hnj:i,hr:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=r.slice(-2),c=o.slice(-1),s=o.slice(-2);return e?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&a<=4&&(u<12||u>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},hsb:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-2),u=o.slice(-2);return e?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"few":"other"},hu:function(t,e){return e?1==t||5==t?"one":"other":1==t?"one":"other"},hy:function(t,e){return e?1==t?"one":"other":t>=0&&t<2?"one":"other"},ia:o,id:i,ig:i,ii:i,io:o,is:function(t,e){var n=String(t).split("."),r=n[0],o=(n[1]||"").replace(/0+$/,""),i=Number(n[0])==t,a=r.slice(-1),u=r.slice(-2);return e?"other":i&&1==a&&11!=u||o%10==1&&o%100!=11?"one":"other"},it:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},iu:a,ja:i,jbo:i,jgo:e,jmc:e,jv:i,jw:i,ka:function(t,e){var n=String(t).split(".")[0],r=n.slice(-2);return e?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==t?"one":"other"},kab:function(t,e){return e?"other":t>=0&&t<2?"one":"other"},kaj:e,kcg:e,kde:i,kea:i,kk:function(t,e){var n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1);return e?6==o||9==o||r&&0==o&&0!=t?"many":"other":1==t?"one":"other"},kkj:e,kl:e,km:i,kn:r,ko:i,ks:e,ksb:e,ksh:function(t,e){return e?"other":0==t?"zero":1==t?"one":"other"},ku:e,kw:function(t,e){var n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-2),i=r&&n[0].slice(-3),a=r&&n[0].slice(-5),u=r&&n[0].slice(-6);return e?r&&t>=1&&t<=4||o>=1&&o<=4||o>=21&&o<=24||o>=41&&o<=44||o>=61&&o<=64||o>=81&&o<=84?"one":5==t||5==o?"many":"other":0==t?"zero":1==t?"one":2==o||22==o||42==o||62==o||82==o||r&&0==i&&(a>=1e3&&a<=2e4||4e4==a||6e4==a||8e4==a)||0!=t&&1e5==u?"two":3==o||23==o||43==o||63==o||83==o?"few":1==t||1!=o&&21!=o&&41!=o&&61!=o&&81!=o?"other":"many"},ky:e,lag:function(t,e){var n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},lb:e,lg:e,lij:function(t,e){var n=String(t).split("."),r=!n[1],o=Number(n[0])==t;return e?11==t||8==t||o&&t>=80&&t<=89||o&&t>=800&&t<=899?"many":"other":1==t&&r?"one":"other"},lkt:i,ln:n,lo:function(t,e){return e&&1==t?"one":"other"},lt:function(t,e){var n=String(t).split("."),r=n[1]||"",o=Number(n[0])==t,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return e?"other":1==i&&(a<11||a>19)?"one":i>=2&&i<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},lv:function(t,e){var n=String(t).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==t,a=i&&n[0].slice(-1),u=i&&n[0].slice(-2),c=r.slice(-2),s=r.slice(-1);return e?"other":i&&0==a||u>=11&&u<=19||2==o&&c>=11&&c<=19?"zero":1==a&&11!=u||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},mas:e,mg:n,mgo:e,mk:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=r.slice(-2),c=o.slice(-1),s=o.slice(-2);return e?1==a&&11!=u?"one":2==a&&12!=u?"two":7!=a&&8!=a||17==u||18==u?"other":"many":i&&1==a&&11!=u||1==c&&11!=s?"one":"other"},ml:e,mn:e,mo:function(t,e){var n=String(t).split("."),r=!n[1],o=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||1!=t&&o>=1&&o<=19?"few":"other"},mr:function(t,e){return e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other"},ms:function(t,e){return e&&1==t?"one":"other"},mt:function(t,e){var n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":2==t?"two":0==t||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:i,nah:e,naq:a,nb:e,nd:e,ne:function(t,e){var n=String(t).split("."),r=Number(n[0])==t;return e?r&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},nl:o,nn:e,nnh:e,no:e,nqo:i,nr:e,nso:n,ny:e,nyn:e,om:e,or:function(t,e){var n=String(t).split("."),r=Number(n[0])==t;return e?1==t||5==t||r&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"},os:e,osa:i,pa:n,pap:e,pcm:r,pl:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return e?"other":1==t&&o?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&1!=r&&(0==i||1==i)||o&&i>=5&&i<=9||o&&a>=12&&a<=14?"many":"other"},prg:function(t,e){var n=String(t).split("."),r=n[1]||"",o=r.length,i=Number(n[0])==t,a=i&&n[0].slice(-1),u=i&&n[0].slice(-2),c=r.slice(-2),s=r.slice(-1);return e?"other":i&&0==a||u>=11&&u<=19||2==o&&c>=11&&c<=19?"zero":1==a&&11!=u||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},ps:e,pt:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":0==r||1==r?"one":0!=r&&0==i&&o?"many":"other"},pt_PT:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},rm:e,ro:function(t,e){var n=String(t).split("."),r=!n[1],o=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||1!=t&&o>=1&&o<=19?"few":"other"},rof:e,ru:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-1),a=r.slice(-2);return e?"other":o&&1==i&&11!=a?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&a>=11&&a<=14?"many":"other"},rwk:e,sah:i,saq:e,sat:a,sc:function(t,e){var n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},scn:function(t,e){var n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},sd:e,sdh:e,se:a,seh:e,ses:i,sg:i,sh:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=r.slice(-2),c=o.slice(-1),s=o.slice(-2);return e?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&a<=4&&(u<12||u>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},shi:function(t,e){var n=String(t).split("."),r=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":r&&t>=2&&t<=10?"few":"other"},si:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"";return e?"other":0==t||1==t||0==r&&1==o?"one":"other"},sk:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1];return e?"other":1==t&&o?"one":r>=2&&r<=4&&o?"few":o?"other":"many"},sl:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-2);return e?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},sma:a,smi:a,smj:a,smn:a,sms:a,sn:e,so:e,sq:function(t,e){var n=String(t).split("."),r=Number(n[0])==t,o=r&&n[0].slice(-1),i=r&&n[0].slice(-2);return e?1==t?"one":4==o&&14!=i?"many":"other":1==t?"one":"other"},sr:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=r.slice(-2),c=o.slice(-1),s=o.slice(-2);return e?"other":i&&1==a&&11!=u||1==c&&11!=s?"one":i&&a>=2&&a<=4&&(u<12||u>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},ss:e,ssy:e,st:e,su:i,sv:function(t,e){var n=String(t).split("."),r=!n[1],o=Number(n[0])==t,i=o&&n[0].slice(-1),a=o&&n[0].slice(-2);return e?1!=i&&2!=i||11==a||12==a?"other":"one":1==t&&r?"one":"other"},sw:o,syr:e,ta:e,te:e,teo:e,th:i,ti:n,tig:e,tk:function(t,e){var n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-1);return e?6==r||9==r||10==t?"few":"other":1==t?"one":"other"},tl:function(t,e){var n=String(t).split("."),r=n[0],o=n[1]||"",i=!n[1],a=r.slice(-1),u=o.slice(-1);return e?1==t?"one":"other":i&&(1==r||2==r||3==r)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"one":"other"},tn:e,to:i,tpi:i,tr:e,ts:e,tzm:function(t,e){var n=String(t).split("."),r=Number(n[0])==t;return e?"other":0==t||1==t||r&&t>=11&&t<=99?"one":"other"},ug:e,uk:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=Number(n[0])==t,a=i&&n[0].slice(-1),u=i&&n[0].slice(-2),c=r.slice(-1),s=r.slice(-2);return e?3==a&&13!=u?"few":"other":o&&1==c&&11!=s?"one":o&&c>=2&&c<=4&&(s<12||s>14)?"few":o&&0==c||o&&c>=5&&c<=9||o&&s>=11&&s<=14?"many":"other"},und:i,ur:o,uz:e,ve:e,vec:function(t,e){var n=String(t).split("."),r=n[0],o=!n[1],i=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&o?"one":0!=r&&0==i&&o?"many":"other"},vi:function(t,e){return e&&1==t?"one":"other"},vo:e,vun:e,wa:n,wae:e,wo:i,xh:e,xog:e,yi:o,yo:i,yue:i,zh:i,zu:r})}(c);var s=u(c.exports),l=i({__proto__:null,default:s},[c.exports]),f={exports:{}};!function(t){var e="zero",n="one",r="two",o="few",i="many",a="other",u={cardinal:[n,a],ordinal:[a]},c={cardinal:[n,a],ordinal:[n,a]},s={cardinal:[a],ordinal:[a]},l={cardinal:[n,r,a],ordinal:[a]};!function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),t.exports=n}(0,{af:u,ak:u,am:u,an:u,ar:{cardinal:[e,n,r,o,i,a],ordinal:[a]},ars:{cardinal:[e,n,r,o,i,a],ordinal:[a]},as:{cardinal:[n,a],ordinal:[n,r,o,i,a]},asa:u,ast:u,az:{cardinal:[n,a],ordinal:[n,o,i,a]},bal:c,be:{cardinal:[n,o,i,a],ordinal:[o,a]},bem:u,bez:u,bg:u,bho:u,bm:s,bn:{cardinal:[n,a],ordinal:[n,r,o,i,a]},bo:s,br:{cardinal:[n,r,o,i,a],ordinal:[a]},brx:u,bs:{cardinal:[n,o,a],ordinal:[a]},ca:{cardinal:[n,i,a],ordinal:[n,r,o,a]},ce:u,ceb:u,cgg:u,chr:u,ckb:u,cs:{cardinal:[n,o,i,a],ordinal:[a]},cy:{cardinal:[e,n,r,o,i,a],ordinal:[e,n,r,o,i,a]},da:u,de:u,doi:u,dsb:{cardinal:[n,r,o,a],ordinal:[a]},dv:u,dz:s,ee:u,el:u,en:{cardinal:[n,a],ordinal:[n,r,o,a]},eo:u,es:{cardinal:[n,i,a],ordinal:[a]},et:u,eu:u,fa:u,ff:u,fi:u,fil:c,fo:u,fr:{cardinal:[n,i,a],ordinal:[n,a]},fur:u,fy:u,ga:{cardinal:[n,r,o,i,a],ordinal:[n,a]},gd:{cardinal:[n,r,o,a],ordinal:[n,r,o,a]},gl:u,gsw:u,gu:{cardinal:[n,a],ordinal:[n,r,o,i,a]},guw:u,gv:{cardinal:[n,r,o,i,a],ordinal:[a]},ha:u,haw:u,he:l,hi:{cardinal:[n,a],ordinal:[n,r,o,i,a]},hnj:s,hr:{cardinal:[n,o,a],ordinal:[a]},hsb:{cardinal:[n,r,o,a],ordinal:[a]},hu:c,hy:c,ia:u,id:s,ig:s,ii:s,io:u,is:u,it:{cardinal:[n,i,a],ordinal:[i,a]},iu:l,ja:s,jbo:s,jgo:u,jmc:u,jv:s,jw:s,ka:{cardinal:[n,a],ordinal:[n,i,a]},kab:u,kaj:u,kcg:u,kde:s,kea:s,kk:{cardinal:[n,a],ordinal:[i,a]},kkj:u,kl:u,km:s,kn:u,ko:s,ks:u,ksb:u,ksh:{cardinal:[e,n,a],ordinal:[a]},ku:u,kw:{cardinal:[e,n,r,o,i,a],ordinal:[n,i,a]},ky:u,lag:{cardinal:[e,n,a],ordinal:[a]},lb:u,lg:u,lij:{cardinal:[n,a],ordinal:[i,a]},lkt:s,ln:u,lo:{cardinal:[a],ordinal:[n,a]},lt:{cardinal:[n,o,i,a],ordinal:[a]},lv:{cardinal:[e,n,a],ordinal:[a]},mas:u,mg:u,mgo:u,mk:{cardinal:[n,a],ordinal:[n,r,i,a]},ml:u,mn:u,mo:{cardinal:[n,o,a],ordinal:[n,a]},mr:{cardinal:[n,a],ordinal:[n,r,o,a]},ms:{cardinal:[a],ordinal:[n,a]},mt:{cardinal:[n,r,o,i,a],ordinal:[a]},my:s,nah:u,naq:l,nb:u,nd:u,ne:c,nl:u,nn:u,nnh:u,no:u,nqo:s,nr:u,nso:u,ny:u,nyn:u,om:u,or:{cardinal:[n,a],ordinal:[n,r,o,i,a]},os:u,osa:s,pa:u,pap:u,pcm:u,pl:{cardinal:[n,o,i,a],ordinal:[a]},prg:{cardinal:[e,n,a],ordinal:[a]},ps:u,pt:{cardinal:[n,i,a],ordinal:[a]},pt_PT:{cardinal:[n,i,a],ordinal:[a]},rm:u,ro:{cardinal:[n,o,a],ordinal:[n,a]},rof:u,ru:{cardinal:[n,o,i,a],ordinal:[a]},rwk:u,sah:s,saq:u,sat:l,sc:{cardinal:[n,a],ordinal:[i,a]},scn:{cardinal:[n,a],ordinal:[i,a]},sd:u,sdh:u,se:l,seh:u,ses:s,sg:s,sh:{cardinal:[n,o,a],ordinal:[a]},shi:{cardinal:[n,o,a],ordinal:[a]},si:u,sk:{cardinal:[n,o,i,a],ordinal:[a]},sl:{cardinal:[n,r,o,a],ordinal:[a]},sma:l,smi:l,smj:l,smn:l,sms:l,sn:u,so:u,sq:{cardinal:[n,a],ordinal:[n,i,a]},sr:{cardinal:[n,o,a],ordinal:[a]},ss:u,ssy:u,st:u,su:s,sv:c,sw:u,syr:u,ta:u,te:u,teo:u,th:s,ti:u,tig:u,tk:{cardinal:[n,a],ordinal:[o,a]},tl:c,tn:u,to:s,tpi:s,tr:u,ts:u,tzm:u,ug:u,uk:{cardinal:[n,o,i,a],ordinal:[o,a]},und:s,ur:u,uz:u,ve:u,vec:{cardinal:[n,i,a],ordinal:[i,a]},vi:{cardinal:[a],ordinal:[n,a]},vo:u,vun:u,wa:u,wae:u,wo:s,xh:u,xog:u,yi:u,yo:s,yue:s,zh:s,zu:u})}(f);var h=u(f.exports),p=i({__proto__:null,default:h},[f.exports]),d={exports:{}};!function(t){var e,n=function(t,e){return"other"},r=function(t,e){return"other"===t&&"one"===e?"one":"other"},o=function(t,e){return e||"other"};e={af:n,ak:r,am:o,an:n,ar:function(t,e){return"few"===e?"few":"many"===e?"many":"zero"===t&&"one"===e||"zero"===t&&"two"===e?"zero":"other"},as:o,az:o,be:o,bg:n,bn:o,bs:o,ca:n,cs:o,cy:o,da:o,de:o,el:o,en:n,es:n,et:n,eu:n,fa:r,fi:n,fil:o,fr:o,ga:o,gl:o,gsw:o,gu:o,he:n,hi:o,hr:o,hu:o,hy:o,ia:n,id:n,io:n,is:o,it:o,ja:n,ka:function(t,e){return t||"other"},kk:o,km:n,kn:o,ko:n,ky:o,lij:o,lo:n,lt:o,lv:function(t,e){return"one"===e?"one":"other"},mk:n,ml:o,mn:o,mr:o,ms:n,my:n,nb:n,ne:o,nl:o,no:n,or:r,pa:o,pcm:n,pl:o,ps:o,pt:o,ro:function(t,e){return"few"===e||"one"===e?"few":"other"},ru:o,sc:o,scn:o,sd:r,si:function(t,e){return"one"===t&&"one"===e?"one":"other"},sk:o,sl:function(t,e){return"few"===e||"one"===e?"few":"two"===e?"two":"other"},sq:o,sr:o,sv:n,sw:o,ta:o,te:o,th:n,tk:o,tr:o,ug:o,uk:o,ur:n,uz:o,vi:n,yue:n,zh:n,zu:o},Object.defineProperty(e,"__esModule",{value:!0}),t.exports=e}(d);var y=u(d.exports),v=s||l,g=h||p,m=y||i({__proto__:null,default:y},[d.exports]),b=function(t){return"pt-PT"===t?"pt_PT":t},w=a.default(Intl.NumberFormat,(function(t){return v[b(t)]}),(function(t,e){return g[b(t)][e?"ordinal":"cardinal"]}),(function(t){return m[b(t)]}));t.exports=w},51676:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return t&&"object"===r(t)&&"default"in t?t:{default:t}}var i=o(n(19103));if("undefined"==typeof Intl)void 0!==n.g?n.g.Intl={PluralRules:i.default}:"undefined"!=typeof window?window.Intl={PluralRules:i.default}:i.default,i.default.polyfill=!0;else if(Intl.PluralRules&&Intl.PluralRules.prototype.selectRange){var a=["en","es","ru","zh"];Intl.PluralRules.supportedLocalesOf(a).length<a.length&&(Intl.PluralRules=i.default,i.default.polyfill=!0)}else Intl.PluralRules=i.default,i.default.polyfill=!0},1806:function(t,e,n){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===r(i)?i:String(i)),o)}var i}function a(t,e){return function(t,e){return e.get?e.get.call(t):e.value}(t,c(t,e,"get"))}function u(t,e,n){return function(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}(t,c(t,e,"set"),n),n}function c(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}function s(t,e,n){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.set(t,n)}n.r(e),n.d(e,{default:function(){return h}});var l=function(t){if(!t)return[];Array.isArray(t)||(t=[t]);for(var e={},n=0;n<t.length;++n){var r,i=t[n];if(i&&"object"===o(i)&&(i=String(i)),"string"!=typeof i){var a="Locales should be strings, ".concat(JSON.stringify(i)," isn't.");throw new TypeError(a)}var u=i.split("-");if(!u.every((function(t){return/[a-z0-9]+/i.test(t)}))){var c=JSON.stringify(i),s="The locale ".concat(c," is not a structurally valid BCP 47 language tag.");throw new RangeError(s)}var l=u[0].toLowerCase();u[0]=null!==(r={in:"id",iw:"he",ji:"yi"}[l])&&void 0!==r?r:l,e[u.join("-")]=!0}return Object.keys(e)};function f(t){switch(o(t)){case"number":return t;case"bigint":throw new TypeError("Cannot convert a BigInt value to a number");default:return Number(t)}}function h(t,e,n,r){var o=function(t){do{if(e(t))return t;t=t.replace(/-?[^-]*$/,"")}while(t);return null},c=new WeakMap,h=new WeakMap,p=new WeakMap,d=new WeakMap,y=new WeakMap,v=function(){function v(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v),s(this,c,{writable:!0,value:void 0}),s(this,h,{writable:!0,value:void 0}),s(this,p,{writable:!0,value:void 0}),s(this,d,{writable:!0,value:void 0}),s(this,y,{writable:!0,value:void 0}),u(this,c,function(e){for(var n=l(e),r=0;r<n.length;++r){var i=o(n[r]);if(i)return i}var a=(new t).resolvedOptions().locale;return o(a)}(n)),u(this,p,e(a(this,c))),u(this,h,r(a(this,c))),u(this,d,function(t){var e=Object.prototype.hasOwnProperty.call(t,"type")&&t.type;if(!e)return"cardinal";if("cardinal"===e||"ordinal"===e)return e;throw new RangeError("Not a valid plural type: "+JSON.stringify(e))}(i)),u(this,y,new t("en",i))}var g,m,b;return g=v,b=[{key:"supportedLocalesOf",value:function(t){return l(t).filter(o)}}],(m=[{key:"resolvedOptions",value:function(){var t=a(this,y).resolvedOptions(),e=t.minimumIntegerDigits,r=t.minimumFractionDigits,o=t.maximumFractionDigits,i=t.minimumSignificantDigits,u=t.maximumSignificantDigits,s=t.roundingPriority,l={locale:a(this,c),type:a(this,d),minimumIntegerDigits:e,minimumFractionDigits:r,maximumFractionDigits:o};return"number"==typeof i&&(l.minimumSignificantDigits=i,l.maximumSignificantDigits=u),l.pluralCategories=n(a(this,c),"ordinal"===a(this,d)).slice(0),l.roundingPriority=s||"auto",l}},{key:"select",value:function(t){if(!(this instanceof v))throw new TypeError("select() called on incompatible ".concat(this));if("number"!=typeof t&&(t=Number(t)),!isFinite(t))return"other";var e=a(this,y).format(Math.abs(t));return a(this,p).call(this,e,"ordinal"===a(this,d))}},{key:"selectRange",value:function(t,e){if(!(this instanceof v))throw new TypeError("selectRange() called on incompatible ".concat(this));if(void 0===t)throw new TypeError("start is undefined");if(void 0===e)throw new TypeError("end is undefined");var n=f(t),r=f(e);if(!isFinite(n))throw new RangeError("start must be finite");if(!isFinite(r))throw new RangeError("end must be finite");return a(this,h).call(this,this.select(n),this.select(r))}}])&&i(g.prototype,m),b&&i(g,b),Object.defineProperty(g,"prototype",{writable:!1}),v}();return"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(v.prototype,Symbol.toStringTag,{value:"Intl.PluralRules",writable:!1,configurable:!0}),Object.defineProperty(v,"prototype",{writable:!1}),v}}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={id:t,loaded:!1,exports:{}};return __webpack_modules__[t].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=function(t,e){for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},__webpack_require__.p="./",__webpack_require__.nc=void 0;var __webpack_exports__={};!function(){var t={};__webpack_require__.r(t),__webpack_require__.d(t,{Matrix:function(){return Ar},Matrix4:function(){return Po}});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{Vector:function(){return Ir},Vector2:function(){return Ur},Vector3:function(){return qr},Vector4:function(){return Fo}});var n={};function r(t,e){if(t){if("string"==typeof t)return o(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function i(t,e,n){return e=c(e),a(t,u()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function a(t,e){if(e&&("object"==f(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(u=function(){return!!t})()}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,m(r.key),r)}}function g(t,e,n){return e&&v(t.prototype,e),n&&v(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(t){var e=function(t){if("object"!=f(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==f(e)?e:e+""}__webpack_require__.r(n),__webpack_require__.d(n,{BtnClose:function(){return qc},GameBg:function(){return Hc},GameEndBg:function(){return $c},GameErrorBg:function(){return Wc},GameUnavailableBg:function(){return Yc},LoseBg:function(){return Qc},MainBg:function(){return Uc},PandaCoin:function(){return Zc},RuleInfoIcon:function(){return Jc},RulesBg:function(){return zc},SimIcon:function(){return Kc},TariffUnavailableBg:function(){return Vc},TimerIcon:function(){return Xc},WinBg:function(){return Gc}}),__webpack_require__(45132),__webpack_require__(30124),__webpack_require__(51676);var b={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,e){console&&console[t]&&console[t].apply(console,e)}},w=function(){function t(e){y(this,t);var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,n)}return g(t,[{key:"init",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||b,this.options=e,this.debug=e.debug}},{key:"log",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,e,n,r){return r&&!this.debug?null:("string"==typeof t[0]&&(t[0]="".concat(n).concat(this.prefix," ").concat(t[0])),this.logger[e](t))}},{key:"create",value:function(e){return new t(this.logger,p(p({},{prefix:"".concat(this.prefix,":").concat(e,":")}),this.options))}},{key:"clone",value:function(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}}])}(),A=new w,x=function(){return g((function t(){y(this,t),this.observers={}}),[{key:"on",value:function(t,e){var n=this;return t.split(" ").forEach((function(t){n.observers[t]=n.observers[t]||[],n.observers[t].push(e)})),this}},{key:"off",value:function(t,e){this.observers[t]&&(e?this.observers[t]=this.observers[t].filter((function(t){return t!==e})):delete this.observers[t])}},{key:"emit",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.observers[t]&&[].concat(this.observers[t]).forEach((function(t){t.apply(void 0,n)})),this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(e){e.apply(e,[t].concat(n))}))}}])}();function E(){var t,e,n=new Promise((function(n,r){t=n,e=r}));return n.resolve=t,n.reject=e,n}function S(t){return null==t?"":""+t}function O(t,e,n){function r(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}function o(){return!t||"string"==typeof t}for(var i="string"!=typeof e?[].concat(e):e.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!t[a]&&n&&(t[a]=new n),t=Object.prototype.hasOwnProperty.call(t,a)?t[a]:{}}return o()?{}:{obj:t,k:r(i.shift())}}function k(t,e,n){var r=O(t,e,Object);r.obj[r.k]=n}function _(t,e){var n=O(t,e),r=n.obj,o=n.k;if(r)return r[o]}function j(t,e,n){for(var r in e)"__proto__"!==r&&"constructor"!==r&&(r in t?"string"==typeof t[r]||t[r]instanceof String||"string"==typeof e[r]||e[r]instanceof String?n&&(t[r]=e[r]):j(t[r],e[r],n):t[r]=e[r]);return t}function P(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var I={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function T(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,(function(t){return I[t]})):t}var C=[" ",",","?","!",";"];function L(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(t){if(t[e])return t[e];for(var r=e.split(n),o=t,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,u=r.slice(i,i+a).join(n),c=o[u];void 0===c&&r.length>i+a;)a++,c=o[u=r.slice(i,i+a).join(n)];if(void 0===c)return;if(null===c)return null;if(e.endsWith(u)){if("string"==typeof c)return c;if(u&&"string"==typeof c[u])return c[u]}var s=r.slice(i+a).join(n);return s?L(c,s,n):void 0}o=o[r[i]]}return o}}function R(t){return t&&t.indexOf("_")>0?t.replace("_","-"):t}var M=function(t){function e(t){var n;y(this,e);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(n=i(this,e)).data=t||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return s(e,t),g(e,[{key:"addNamespaces",value:function(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}},{key:"removeNamespaces",value:function(t){var e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[t,e];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),t.indexOf(".")>-1&&(a=t.split("."));var u=_(this.data,a);return u||!i||"string"!=typeof n?u:L(this.data&&this.data[t]&&this.data[t][e],n,o)}},{key:"addResource",value:function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=[t,e];n&&(a=a.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(r=e,e=(a=t.split("."))[1]),this.addNamespaces(e),k(this.data,a,r),o.silent||this.emit("added",t,e,n,r)}},{key:"addResources",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(t,e,o,n[o],{silent:!0});r.silent||this.emit("added",t,e,n)}},{key:"addResourceBundle",value:function(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[t,e];t.indexOf(".")>-1&&(r=n,n=e,e=(a=t.split("."))[1]),this.addNamespaces(e);var u=_(this.data,a)||{};r?j(u,n,o):u=p(p({},u),n),k(this.data,a,u),i.silent||this.emit("added",t,e,n)}},{key:"removeResourceBundle",value:function(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}},{key:"hasResourceBundle",value:function(t,e){return void 0!==this.getResource(t,e)}},{key:"getResourceBundle",value:function(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?p(p({},{}),this.getResource(t,e)):this.getResource(t,e)}},{key:"getDataByLanguage",value:function(t){return this.data[t]}},{key:"hasLanguageSomeTranslations",value:function(t){var e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find((function(t){return e[t]&&Object.keys(e[t]).length>0}))}},{key:"toJSON",value:function(){return this.data}}])}(x),B={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,n,r,o){var i=this;return t.forEach((function(t){i.processors[t]&&(e=i.processors[t].process(e,n,r,o))})),e}},F={},N=function(t){function e(t){var n;y(this,e);var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e,n){["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((function(t){e[t]&&(n[t]=e[t])}))}(0,t,n=i(this,e)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=A.create("translator"),n}return s(e,t),g(e,[{key:"changeLanguage",value:function(t){t&&(this.language=t)}},{key:"exists",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;var n=this.resolve(t,e);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(t,e){var n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,o=e.ns||this.options.defaultNS||[],i=n&&t.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||e.keySeparator||this.options.userDefinedNsSeparator||e.nsSeparator||function(t,e,n){e=e||"",n=n||"";var r=C.filter((function(t){return e.indexOf(t)<0&&n.indexOf(t)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(t){return"?"===t?"\\?":t})).join("|"),")")),i=!o.test(t);if(!i){var a=t.indexOf(n);a>0&&!o.test(t.substring(0,a))&&(i=!0)}return i}(t,n,r));if(i&&!a){var u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:o};var c=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),t=c.join(r)}return"string"==typeof o&&(o=[o]),{key:t,namespaces:o}}},{key:"translate",value:function(t,n,r){var o=this;if("object"!==f(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"===f(n)&&(n=p({},n)),n||(n={}),null==t)return"";Array.isArray(t)||(t=[String(t)]);var i=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,u=this.extractFromKey(t[t.length-1],n),c=u.key,s=u.namespaces,l=s[s.length-1],h=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h&&"cimode"===h.toLowerCase()){if(d){var y=n.nsSeparator||this.options.nsSeparator;return i?{res:"".concat(l).concat(y).concat(c),usedKey:c,exactUsedKey:c,usedLng:h,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:"".concat(l).concat(y).concat(c)}return i?{res:c,usedKey:c,exactUsedKey:c,usedLng:h,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:c}var v=this.resolve(t,n),g=v&&v.res,m=v&&v.usedKey||c,b=v&&v.exactUsedKey||c,w=Object.prototype.toString.apply(g),A=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject;if(x&&g&&"string"!=typeof g&&"boolean"!=typeof g&&"number"!=typeof g&&["[object Number]","[object Function]","[object RegExp]"].indexOf(w)<0&&("string"!=typeof A||"[object Array]"!==w)){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,g,p(p({},n),{},{ns:s})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return i?(v.res=E,v.usedParams=this.getUsedParamsDetails(n),v):E}if(a){var S="[object Array]"===w,O=S?[]:{},k=S?b:m;for(var _ in g)if(Object.prototype.hasOwnProperty.call(g,_)){var j="".concat(k).concat(a).concat(_);O[_]=this.translate(j,p(p({},n),{joinArrays:!1,ns:s})),O[_]===j&&(O[_]=g[_])}g=O}}else if(x&&"string"==typeof A&&"[object Array]"===w)(g=g.join(A))&&(g=this.extendTranslation(g,t,n,r));else{var P=!1,I=!1,T=void 0!==n.count&&"string"!=typeof n.count,C=e.hasDefaultValue(n),L=T?this.pluralResolver.getSuffix(h,n.count,n):"",R=n.ordinal&&T?this.pluralResolver.getSuffix(h,n.count,{ordinal:!1}):"",M=n["defaultValue".concat(L)]||n["defaultValue".concat(R)]||n.defaultValue;!this.isValidLookup(g)&&C&&(P=!0,g=M),this.isValidLookup(g)||(I=!0,g=c);var B=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&I?void 0:g,F=C&&M!==g&&this.options.updateMissing;if(I||P||F){if(this.logger.log(F?"updateKey":"missingKey",h,l,c,F?M:g),a){var N=this.resolve(c,p(p({},n),{},{keySeparator:!1}));N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var D=[],U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(var G=0;G<U.length;G++)D.push(U[G]);else"all"===this.options.saveMissingTo?D=this.languageUtils.toResolveHierarchy(n.lng||this.language):D.push(n.lng||this.language);var Q=function(t,e,r){var i=C&&r!==g?r:B;o.options.missingKeyHandler?o.options.missingKeyHandler(t,l,e,i,F,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(t,l,e,i,F,n),o.emit("missingKey",t,l,e,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?D.forEach((function(t){o.pluralResolver.getSuffixes(t,n).forEach((function(e){Q([t],c+e,n["defaultValue".concat(e)]||M)}))})):Q(D,c,M))}g=this.extendTranslation(g,t,n,v,r),I&&g===c&&this.options.appendNamespaceToMissingKey&&(g="".concat(l,":").concat(c)),(I||P)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(l,":").concat(c):c,P?g:void 0):this.options.parseMissingKeyHandler(g))}return i?(v.res=g,v.usedParams=this.getUsedParamsDetails(n),v):g}},{key:"extendTranslation",value:function(t,e,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,p(p({},this.options.interpolation.defaultVariables),n),n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(p(p({},n),{interpolation:p(p({},this.options.interpolation),n.interpolation)}));var a,u="string"==typeof t&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(u){var c=t.match(this.interpolator.nestingRegexp);a=c&&c.length}var s=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(s=p(p({},this.options.interpolation.defaultVariables),s)),t=this.interpolator.interpolate(t,s,n.lng||this.language,n),u){var l=t.match(this.interpolator.nestingRegexp);a<(l&&l.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,(function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(e[0])),null):i.translate.apply(i,r.concat([e]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,h="string"==typeof f?[f]:f;return null!=t&&h&&h.length&&!1!==n.applyPostProcessor&&(t=B.handle(h,t,e,this.options&&this.options.postProcessPassResolved?p({i18nResolved:p(p({},r),{},{usedParams:this.getUsedParamsDetails(n)})},n):n,this)),t}},{key:"resolve",value:function(t){var e,n,r,o,i,a=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof t&&(t=[t]),t.forEach((function(t){if(!a.isValidLookup(e)){var c=a.extractFromKey(t,u),s=c.key;n=s;var l=c.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==u.count&&"string"!=typeof u.count,h=f&&!u.ordinal&&0===u.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==u.context&&("string"==typeof u.context||"number"==typeof u.context)&&""!==u.context,d=u.lngs?u.lngs:a.languageUtils.toResolveHierarchy(u.lng||a.language,u.fallbackLng);l.forEach((function(t){a.isValidLookup(e)||(i=t,!F["".concat(d[0],"-").concat(t)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(F["".concat(d[0],"-").concat(t)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach((function(n){if(!a.isValidLookup(e)){o=n;var i,c=[s];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(c,s,n,t,u);else{var l;f&&(l=a.pluralResolver.getSuffix(n,u.count,u));var d="".concat(a.options.pluralSeparator,"zero"),y="".concat(a.options.pluralSeparator,"ordinal").concat(a.options.pluralSeparator);if(f&&(c.push(s+l),u.ordinal&&0===l.indexOf(y)&&c.push(s+l.replace(y,a.options.pluralSeparator)),h&&c.push(s+d)),p){var v="".concat(s).concat(a.options.contextSeparator).concat(u.context);c.push(v),f&&(c.push(v+l),u.ordinal&&0===l.indexOf(y)&&c.push(v+l.replace(y,a.options.pluralSeparator)),h&&c.push(v+d))}}for(;i=c.pop();)a.isValidLookup(e)||(r=i,e=a.getResource(n,t,i,u))}})))}))}})),{res:e,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}},{key:"getResource",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}},{key:"getUsedParamsDetails",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.replace&&"string"!=typeof t.replace,n=e?t.replace:t;if(e&&void 0!==t.count&&(n.count=t.count),this.options.interpolation.defaultVariables&&(n=p(p({},this.options.interpolation.defaultVariables),n)),!e){n=p({},n);var o,i=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=r(t))){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==e.return||e.return()}finally{if(u)throw i}}}}(["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]);try{for(i.s();!(o=i.n()).done;)delete n[o.value]}catch(t){i.e(t)}finally{i.f()}}return n}}],[{key:"hasDefaultValue",value:function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"defaultValue"===e.substring(0,12)&&void 0!==t[e])return!0;return!1}}])}(x);function D(t){return t.charAt(0).toUpperCase()+t.slice(1)}var U=function(){return g((function t(e){y(this,t),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=A.create("languageUtils")}),[{key:"getScriptPartFromCode",value:function(t){if(!(t=R(t))||t.indexOf("-")<0)return null;var e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!(t=R(t))||t.indexOf("-")<0)return t;var e=t.split("-");return this.formatLanguageCode(e[0])}},{key:"formatLanguageCode",value:function(t){if("string"==typeof t&&t.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],n=t.split("-");return this.options.lowerCaseLng?n=n.map((function(t){return t.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=D(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=D(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=D(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isSupportedCode",value:function(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var e,n=this;return t?(t.forEach((function(t){if(!e){var r=n.formatLanguageCode(t);n.options.supportedLngs&&!n.isSupportedCode(r)||(e=r)}})),!e&&this.options.supportedLngs&&t.forEach((function(t){if(!e){var r=n.getLanguagePartFromCode(t);if(n.isSupportedCode(r))return e=r;e=n.options.supportedLngs.find((function(t){return t===r?t:t.indexOf("-")<0&&r.indexOf("-")<0?void 0:0===t.indexOf(r)?t:void 0}))}})),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e):null}},{key:"getFallbackCodes",value:function(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),"string"==typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;if(!e)return t.default||[];var n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}},{key:"toResolveHierarchy",value:function(t,e){var n=this,r=this.getFallbackCodes(e||this.options.fallbackLng||[],t),o=[],i=function(t){t&&(n.isSupportedCode(t)?o.push(t):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(t)))};return"string"==typeof t&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(t))):"string"==typeof t&&i(this.formatLanguageCode(t)),r.forEach((function(t){o.indexOf(t)<0&&i(n.formatLanguageCode(t))})),o}}])}(),G=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Q={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0==t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)}},z=["v1","v2","v3"],Y=["v4"],H={zero:0,one:1,two:2,few:3,many:4,other:5},V=function(){return g((function t(e){y(this,t);var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=r,this.logger=A.create("pluralResolver"),this.options.compatibilityJSON&&!Y.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(n={},G.forEach((function(t){t.lngs.forEach((function(e){n[e]={numbers:t.nr,plurals:Q[t.fc]}}))})),n)}),[{key:"addRule",value:function(t,e){this.rules[t]=e}},{key:"getRule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(R(t),{type:e.ordinal?"ordinal":"cardinal"})}catch(t){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map((function(t){return"".concat(e).concat(t)}))}},{key:"getSuffixes",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(t,e){return H[t]-H[e]})).map((function(t){return"".concat(e.options.prepend).concat(n.ordinal?"ordinal".concat(e.options.prepend):"").concat(t)})):r.numbers.map((function(r){return e.getSuffix(t,r,n)})):[]}},{key:"getSuffix",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(t,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(n.ordinal?"ordinal".concat(this.options.prepend):"").concat(r.select(e)):this.getSuffixRetroCompatible(r,e):(this.logger.warn("no plural rule found for: ".concat(t)),"")}},{key:"getSuffixRetroCompatible",value:function(t,e){var n=this,r=t.noAbs?t.plurals(e):t.plurals(Math.abs(e)),o=t.numbers[r];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!z.includes(this.options.compatibilityJSON)}}])}();function $(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=function(t,e,n){var r=_(t,n);return void 0!==r?r:_(e,n)}(t,e,n);return!i&&o&&"string"==typeof n&&void 0===(i=L(t,n,r))&&(i=L(e,n,r)),i}var W=function(){return g((function t(){y(this,t);var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=A.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(t){return t},this.init(e)}),[{key:"init",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var e=t.interpolation;this.escape=void 0!==e.escape?e.escape:T,this.escapeValue=void 0===e.escapeValue||e.escapeValue,this.useRawValueToEscape=void 0!==e.useRawValueToEscape&&e.useRawValueToEscape,this.prefix=e.prefix?P(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?P(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?P(e.nestingPrefix):e.nestingPrefixEscaped||P("$t("),this.nestingSuffix=e.nestingSuffix?P(e.nestingSuffix):e.nestingSuffixEscaped||P(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=void 0!==e.alwaysFormat&&e.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(e,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(t,e,n,r){var o,i,a,u=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function s(t){return t.replace(/\$/g,"$$$$")}var l=function(t){if(t.indexOf(u.formatSeparator)<0){var o=$(e,c,t,u.options.keySeparator,u.options.ignoreJSONStructure);return u.alwaysFormat?u.format(o,void 0,n,p(p(p({},r),e),{},{interpolationkey:t})):o}var i=t.split(u.formatSeparator),a=i.shift().trim(),s=i.join(u.formatSeparator).trim();return u.format($(e,c,a,u.options.keySeparator,u.options.ignoreJSONStructure),s,n,p(p(p({},r),e),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,h=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(t){return s(t)}},{regex:this.regexp,safeValue:function(t){return u.escapeValue?s(u.escape(t)):s(t)}}].forEach((function(e){for(a=0;o=e.regex.exec(t);){var n=o[1].trim();if(void 0===(i=l(n)))if("function"==typeof f){var c=f(t,o,r);i="string"==typeof c?c:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(h){i=o[0];continue}u.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(t)),i=""}else"string"==typeof i||u.useRawValueToEscape||(i=S(i));var s=e.safeValue(i);if(t=t.replace(o[0],s),h?(e.regex.lastIndex+=i.length,e.regex.lastIndex-=o[0].length):e.regex.lastIndex=0,++a>=u.maxReplaces)break}})),t}},{key:"nest",value:function(t,e){var n,r,o,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function u(t,e){var n=this.nestingOptionsSeparator;if(t.indexOf(n)<0)return t;var r=t.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);t=r[0];var a=(i=this.interpolate(i,o)).match(/'/g),u=i.match(/"/g);(a&&a.length%2==0&&!u||u.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),e&&(o=p(p({},e),o))}catch(e){return this.logger.warn("failed parsing options string in nesting for key ".concat(t),e),"".concat(t).concat(n).concat(i)}return delete o.defaultValue,t}for(;n=this.nestingRegexp.exec(t);){var c=[];(o=(o=p({},a)).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;var s=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map((function(t){return t.trim()}));n[1]=l.shift(),c=l,s=!0}if((r=e(u.call(this,n[1].trim(),o),o))&&n[0]===t&&"string"!=typeof r)return r;"string"!=typeof r&&(r=S(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(t)),r=""),s&&(r=c.reduce((function(t,e){return i.format(t,e,a.lng,p(p({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),t=t.replace(n[0],r),this.regexp.lastIndex=0}return t}}])}();function q(t){var e={};return function(n,r,o){var i=r+JSON.stringify(o),a=e[i];return a||(a=t(R(r),o),e[i]=a),a(n)}}var J=function(){return g((function t(){y(this,t);var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=A.create("formatter"),this.options=e,this.formats={number:q((function(t,e){var n=new Intl.NumberFormat(t,p({},e));return function(t){return n.format(t)}})),currency:q((function(t,e){var n=new Intl.NumberFormat(t,p(p({},e),{},{style:"currency"}));return function(t){return n.format(t)}})),datetime:q((function(t,e){var n=new Intl.DateTimeFormat(t,p({},e));return function(t){return n.format(t)}})),relativetime:q((function(t,e){var n=new Intl.RelativeTimeFormat(t,p({},e));return function(t){return n.format(t,e.range||"day")}})),list:q((function(t,e){var n=new Intl.ListFormat(t,p({},e));return function(t){return n.format(t)}}))},this.init(e)}),[{key:"init",value:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||","}},{key:"add",value:function(t,e){this.formats[t.toLowerCase().trim()]=e}},{key:"addCached",value:function(t,e){this.formats[t.toLowerCase().trim()]=q(e)}},{key:"format",value:function(t,e,n){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.split(this.formatSeparator).reduce((function(t,e){var a=function(t){var e=t.toLowerCase().trim(),n={};if(t.indexOf("(")>-1){var o=t.split("(");e=o[0].toLowerCase().trim();var i=o[1].substring(0,o[1].length-1);"currency"===e&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===e&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((function(t){if(t){var e=function(t){if(Array.isArray(t))return t}(a=t.split(":"))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(a)||r(a)||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.")}(),o=e[0],i=e.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[o.trim()]||(n[o.trim()]=i),"false"===i&&(n[o.trim()]=!1),"true"===i&&(n[o.trim()]=!0),isNaN(i)||(n[o.trim()]=parseInt(i,10))}var a}))}return{formatName:e,formatOptions:n}}(e),u=a.formatName,c=a.formatOptions;if(o.formats[u]){var s=t;try{var l=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},f=l.locale||l.lng||i.locale||i.lng||n;s=o.formats[u](t,f,p(p(p({},c),i),l))}catch(t){o.logger.warn(t)}return s}return o.logger.warn("there was no format function for ".concat(u)),t}),t);return a}}])}(),K=function(t){function e(t,n,r){var o;y(this,e);var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(o=i(this,e)).backend=t,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=a,o.logger=A.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=a.maxParallelReads||10,o.readingCalls=0,o.maxRetries=a.maxRetries>=0?a.maxRetries:5,o.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,a.backend,a),o}return s(e,t),g(e,[{key:"queueLoad",value:function(t,e,n,r){var o=this,i={},a={},u={},c={};return t.forEach((function(t){var r=!0;e.forEach((function(e){var u="".concat(t,"|").concat(e);!n.reload&&o.store.hasResourceBundle(t,e)?o.state[u]=2:o.state[u]<0||(1===o.state[u]?void 0===a[u]&&(a[u]=!0):(o.state[u]=1,r=!1,void 0===a[u]&&(a[u]=!0),void 0===i[u]&&(i[u]=!0),void 0===c[e]&&(c[e]=!0)))})),r||(u[t]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(u),toLoadNamespaces:Object.keys(c)}}},{key:"loaded",value:function(t,e,n){var r=t.split("|"),o=r[0],i=r[1];e&&this.emit("failedLoading",o,i,e),n&&this.store.addResourceBundle(o,i,n),this.state[t]=e?-1:2;var a={};this.queue.forEach((function(n){!function(t,e,n){var r=O(t,e,Object),o=r.obj,i=r.k;o[i]=o[i]||[],o[i].push(n)}(n.loaded,[o],i),function(t,e){void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)}(n,t),e&&n.errors.push(e),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(t){a[t]||(a[t]={});var e=n.loaded[t];e.length&&e.forEach((function(e){void 0===a[t][e]&&(a[t][e]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(t){return!t.done}))}},{key:"read",value:function(t,e,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:t,ns:e,fcName:n,tried:o,wait:i,callback:a});else{this.readingCalls++;var u=function(u,c){if(r.readingCalls--,r.waitingReads.length>0){var s=r.waitingReads.shift();r.read(s.lng,s.ns,s.fcName,s.tried,s.wait,s.callback)}u&&c&&o<r.maxRetries?setTimeout((function(){r.read.call(r,t,e,n,o+1,2*i,a)}),i):a(u,c)},c=this.backend[n].bind(this.backend);if(2!==c.length)return c(t,e,u);try{var s=c(t,e);s&&"function"==typeof s.then?s.then((function(t){return u(null,t)})).catch(u):u(null,s)}catch(t){u(t)}}}},{key:"prepareLoading",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"==typeof e&&(e=[e]);var i=this.queueLoad(t,e,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(t){n.loadOne(t)}))}},{key:"load",value:function(t,e,n){this.prepareLoading(t,e,{},n)}},{key:"reload",value:function(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}},{key:"loadOne",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&e.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&e.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),e.loaded(t,r,a)}))}},{key:"saveMissing",value:function(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e))this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(e,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){var u=p(p({},i),{},{isUpdate:o}),c=this.backend.create.bind(this.backend);if(c.length<6)try{var s;(s=5===c.length?c(t,e,n,r,u):c(t,e,n,r))&&"function"==typeof s.then?s.then((function(t){return a(null,t)})).catch(a):a(null,s)}catch(t){a(t)}else c(t,e,n,r,a,u)}t&&t[0]&&this.store.addResource(t[0],e,n,r)}}}])}(x);function X(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var e={};if("object"===f(t[1])&&(e=t[1]),"string"==typeof t[1]&&(e.defaultValue=t[1]),"string"==typeof t[2]&&(e.tDescription=t[2]),"object"===f(t[2])||"object"===f(t[3])){var n=t[3]||t[2];Object.keys(n).forEach((function(t){e[t]=n[t]}))}return e},interpolation:{escapeValue:!0,format:function(t,e,n,r){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Z(t){return"string"==typeof t.ns&&(t.ns=[t.ns]),"string"==typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"==typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function tt(){}var et=function(t){function e(){var t;y(this,e);var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if((t=i(this,e)).options=Z(r),t.services={},t.logger=A,t.modules={external:[]},n=t,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((function(t){"function"==typeof n[t]&&(n[t]=n[t].bind(n))})),o&&!t.isInitialized&&!r.isClone){if(!t.options.initImmediate)return t.init(r,o),a(t,t);setTimeout((function(){t.init(r,o)}),0)}return t}return s(e,t),g(e,[{key:"init",value:function(){var t=this,e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof n&&(r=n,n={}),!n.defaultNS&&!1!==n.defaultNS&&n.ns&&("string"==typeof n.ns?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var o=X();function i(t){return t?"function"==typeof t?new t:t:null}if(this.options=p(p(p({},o),this.options),Z(n)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=p(p({},o.interpolation),this.options.interpolation)),void 0!==n.keySeparator&&(this.options.userDefinedKeySeparator=n.keySeparator),void 0!==n.nsSeparator&&(this.options.userDefinedNsSeparator=n.nsSeparator),!this.options.isClone){var a;this.modules.logger?A.init(i(this.modules.logger),this.options):A.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!=typeof Intl&&(a=J);var u=new U(this.options);this.store=new M(this.options.resources,this.options);var c=this.services;c.logger=A,c.resourceStore=this.store,c.languageUtils=u,c.pluralResolver=new V(u,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(c.formatter=i(a),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new W(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new K(i(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(c.languageDetector=i(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=i(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(e){e.init&&e.init(t)}))}if(this.format=this.options.interpolation.format,r||(r=tt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(n){t[n]=function(){var t;return(t=e.store)[n].apply(t,arguments)}})),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(n){t[n]=function(){var t;return(t=e.store)[n].apply(t,arguments),e}}));var l=E(),f=function(){var e=function(e,n){t.isInitialized&&!t.initializedStoreOnce&&t.logger.warn("init: i18next is already initialized. You should call init just once!"),t.isInitialized=!0,t.options.isClone||t.logger.log("initialized",t.options),t.emit("initialized",t.options),l.resolve(n),r(e,n)};if(t.languages&&"v1"!==t.options.compatibilityAPI&&!t.isInitialized)return e(null,t.t.bind(t));t.changeLanguage(t.options.lng,e)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}},{key:"loadResources",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt,r="string"==typeof t?t:this.language;if("function"==typeof t&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();var o=[],i=function(t){t&&"cimode"!==t&&e.services.languageUtils.toResolveHierarchy(t).forEach((function(t){"cimode"!==t&&o.indexOf(t)<0&&o.push(t)}))};r?i(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(t){return i(t)})),this.options.preload&&this.options.preload.forEach((function(t){return i(t)})),this.services.backendConnector.load(o,this.options.ns,(function(t){t||e.resolvedLanguage||!e.language||e.setResolvedLanguage(e.language),n(t)}))}else n(null)}},{key:"reloadResources",value:function(t,e,n){var r=E();return t||(t=this.languages),e||(e=this.options.ns),n||(n=tt),this.services.backendConnector.reload(t,e,(function(t){r.resolve(),n(t)})),r}},{key:"use",value:function(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&B.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}},{key:"setResolvedLanguage",value:function(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(var e=0;e<this.languages.length;e++){var n=this.languages[e];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(t,e){var n=this,r=this;this.isLanguageChangingTo=t;var o=E();this.emit("languageChanging",t);var i=function(t){n.language=t,n.languages=n.services.languageUtils.toResolveHierarchy(t),n.resolvedLanguage=void 0,n.setResolvedLanguage(t)},a=function(a){t||a||!n.services.languageDetector||(a=[]);var u="string"==typeof a?a:n.services.languageUtils.getBestMatchFromCodes(a);u&&(n.language||i(u),n.translator.language||n.translator.changeLanguage(u),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(u)),n.loadResources(u,(function(t){!function(t,a){a?(i(a),n.translator.changeLanguage(a),n.isLanguageChangingTo=void 0,n.emit("languageChanged",a),n.logger.log("languageChanged",a)):n.isLanguageChangingTo=void 0,o.resolve((function(){return r.t.apply(r,arguments)})),e&&e(t,(function(){return r.t.apply(r,arguments)}))}(t,u)}))};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t):a(this.services.languageDetector.detect()),o}},{key:"getFixedT",value:function(t,e,n){var r=this,o=function(t,e){var i;if("object"!==f(e)){for(var a=arguments.length,u=new Array(a>2?a-2:0),c=2;c<a;c++)u[c-2]=arguments[c];i=r.options.overloadTranslationOptionHandler([t,e].concat(u))}else i=p({},e);i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,i.keyPrefix=i.keyPrefix||n||o.keyPrefix;var s,l=r.options.keySeparator||".";return s=i.keyPrefix&&Array.isArray(t)?t.map((function(t){return"".concat(i.keyPrefix).concat(l).concat(t)})):i.keyPrefix?"".concat(i.keyPrefix).concat(l).concat(t):t,r.t(s,i)};return"string"==typeof t?o.lng=t:o.lngs=t,o.ns=e,o.keyPrefix=n,o}},{key:"t",value:function(){var t;return this.translator&&(t=this.translator).translate.apply(t,arguments)}},{key:"exists",value:function(){var t;return this.translator&&(t=this.translator).exists.apply(t,arguments)}},{key:"setDefaultNamespace",value:function(t){this.options.defaultNS=t}},{key:"hasLoadedNamespace",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=n.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(t,n){var r=e.services.backendConnector.state["".concat(t,"|").concat(n)];return-1===r||2===r};if(n.precheck){var u=n.precheck(this,a);if(void 0!==u)return u}return!(!this.hasResourceBundle(r,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(r,t)||o&&!a(i,t)))}},{key:"loadNamespaces",value:function(t,e){var n=this,r=E();return this.options.ns?("string"==typeof t&&(t=[t]),t.forEach((function(t){n.options.ns.indexOf(t)<0&&n.options.ns.push(t)})),this.loadResources((function(t){r.resolve(),e&&e(t)})),r):(e&&e(),Promise.resolve())}},{key:"loadLanguages",value:function(t,e){var n=E();"string"==typeof t&&(t=[t]);var r=this.options.preload||[],o=t.filter((function(t){return r.indexOf(t)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(t){n.resolve(),e&&e(t)})),n):(e&&e(),Promise.resolve())}},{key:"dir",value:function(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";var e=this.services&&this.services.languageUtils||new U(X());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(e.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt,o=n.forkResourceStore;o&&delete n.forkResourceStore;var i=p(p(p({},this.options),n),{isClone:!0}),a=new e(i);return void 0===n.debug&&void 0===n.prefix||(a.logger=a.logger.clone(n)),["store","services","language"].forEach((function(e){a[e]=t[e]})),a.services=p({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},o&&(a.store=new M(this.store.data,i),a.services.resourceStore=a.store),a.translator=new N(a.services,i),a.translator.on("*",(function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];a.emit.apply(a,[t].concat(n))})),a.init(i,r),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}],[{key:"createInstance",value:function(){return new e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}}])}(x),nt=et.createInstance();nt.createInstance=et.createInstance,nt.createInstance,nt.dir,nt.init,nt.loadResources,nt.reloadResources,nt.use,nt.changeLanguage,nt.getFixedT;var rt=nt.t,ot=(nt.exists,nt.setDefaultNamespace,nt.hasLoadedNamespace,nt.loadNamespaces,nt.loadLanguages,__webpack_require__(22732)),it=__webpack_require__(41749),at=__webpack_require__(29057),ut=__webpack_require__.n(at);function ct(t){return ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(t)}var st=function(t){function e(t,r,c,s,h){for(var p,d,y,v,w,x=0,E=0,S=0,O=0,k=0,C=0,R=y=p=0,B=0,F=0,N=0,D=0,U=c.length,G=U-1,Q="",z="",Y="",H="";B<U;){if(d=c.charCodeAt(B),B===G&&0!==E+O+S+x&&(0!==E&&(d=47===E?10:47),O=S=x=0,U++,G++),0===E+O+S+x){if(B===G&&(0<F&&(Q=Q.replace(f,"")),0<Q.trim().length)){switch(d){case 32:case 9:case 59:case 13:case 10:break;default:Q+=c.charAt(B)}d=59}switch(d){case 123:for(p=(Q=Q.trim()).charCodeAt(0),y=1,D=++B;B<U;){switch(d=c.charCodeAt(B)){case 123:y++;break;case 125:y--;break;case 47:switch(d=c.charCodeAt(B+1)){case 42:case 47:t:{for(R=B+1;R<G;++R)switch(c.charCodeAt(R)){case 47:if(42===d&&42===c.charCodeAt(R-1)&&B+2!==R){B=R+1;break t}break;case 10:if(47===d){B=R+1;break t}}B=R}}break;case 91:d++;case 40:d++;case 34:case 39:for(;B++<G&&c.charCodeAt(B)!==d;);}if(0===y)break;B++}if(y=c.substring(D,B),0===p&&(p=(Q=Q.replace(l,"").trim()).charCodeAt(0)),64===p){switch(0<F&&(Q=Q.replace(f,"")),d=Q.charCodeAt(1)){case 100:case 109:case 115:case 45:F=r;break;default:F=T}if(D=(y=e(r,F,y,d,h+1)).length,0<L&&(w=u(3,y,F=n(T,Q,N),r,j,_,D,d,h,s),Q=F.join(""),void 0!==w&&0===(D=(y=w.trim()).length)&&(d=0,y="")),0<D)switch(d){case 115:Q=Q.replace(A,a);case 100:case 109:case 45:y=Q+"{"+y+"}";break;case 107:y=(Q=Q.replace(g,"$1 $2"))+"{"+y+"}",y=1===I||2===I&&i("@"+y,3)?"@-webkit-"+y+"@"+y:"@"+y;break;default:y=Q+y,112===s&&(z+=y,y="")}else y=""}else y=e(r,n(r,Q,N),y,s,h+1);Y+=y,y=N=F=R=p=0,Q="",d=c.charCodeAt(++B);break;case 125:case 59:if(1<(D=(Q=(0<F?Q.replace(f,""):Q).trim()).length))switch(0===R&&(p=Q.charCodeAt(0),45===p||96<p&&123>p)&&(D=(Q=Q.replace(" ",":")).length),0<L&&void 0!==(w=u(1,Q,r,t,j,_,z.length,s,h,s))&&0===(D=(Q=w.trim()).length)&&(Q="\0\0"),p=Q.charCodeAt(0),d=Q.charCodeAt(1),p){case 0:break;case 64:if(105===d||99===d){H+=Q+c.charAt(B);break}default:58!==Q.charCodeAt(D-1)&&(z+=o(Q,p,d,Q.charCodeAt(2)))}N=F=R=p=0,Q="",d=c.charCodeAt(++B)}}switch(d){case 13:case 10:47===E?E=0:0===1+p&&107!==s&&0<Q.length&&(F=1,Q+="\0"),0<L*M&&u(0,Q,r,t,j,_,z.length,s,h,s),_=1,j++;break;case 59:case 125:if(0===E+O+S+x){_++;break}default:switch(_++,v=c.charAt(B),d){case 9:case 32:if(0===O+x+E)switch(k){case 44:case 58:case 9:case 32:v="";break;default:32!==d&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===O+E+x&&(F=N=1,v="\f"+v);break;case 108:if(0===O+E+x+P&&0<R)switch(B-R){case 2:112===k&&58===c.charCodeAt(B-3)&&(P=k);case 8:111===C&&(P=C)}break;case 58:0===O+E+x&&(R=B);break;case 44:0===E+S+O+x&&(F=1,v+="\r");break;case 34:case 39:0===E&&(O=O===d?0:0===O?d:O);break;case 91:0===O+E+S&&x++;break;case 93:0===O+E+S&&x--;break;case 41:0===O+E+x&&S--;break;case 40:0===O+E+x&&(0===p&&(2*k+3*C==533||(p=1)),S++);break;case 64:0===E+S+O+x+R+y&&(y=1);break;case 42:case 47:if(!(0<O+x+S))switch(E){case 0:switch(2*d+3*c.charCodeAt(B+1)){case 235:E=47;break;case 220:D=B,E=42}break;case 42:47===d&&42===k&&D+2!==B&&(33===c.charCodeAt(D+2)&&(z+=c.substring(D,B+1)),v="",E=0)}}0===E&&(Q+=v)}C=k,k=d,B++}if(0<(D=z.length)){if(F=r,0<L&&void 0!==(w=u(2,z,F,t,j,_,D,s,h,s))&&0===(z=w).length)return H+z+Y;if(z=F.join(",")+"{"+z+"}",0!=I*P){switch(2!==I||i(z,2)||(P=0),P){case 111:z=z.replace(b,":-moz-$1")+z;break;case 112:z=z.replace(m,"::-webkit-input-$1")+z.replace(m,"::-moz-$1")+z.replace(m,":-ms-input-$1")+z}P=0}}return H+z+Y}function n(t,e,n){var o=e.trim().split(y);e=o;var i=o.length,a=t.length;switch(a){case 0:case 1:var u=0;for(t=0===a?"":t[0]+" ";u<i;++u)e[u]=r(t,e[u],n).trim();break;default:var c=u=0;for(e=[];u<i;++u)for(var s=0;s<a;++s)e[c++]=r(t[s]+" ",o[u],n).trim()}return e}function r(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(v,"$1"+t.trim());case 58:return t.trim()+e.replace(v,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(v,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function o(t,e,n,r){var a=t+";",u=2*e+3*n+4*r;if(944===u){t=a.indexOf(":",9)+1;var c=a.substring(t,a.length-1).trim();return c=a.substring(0,t).trim()+c+";",1===I||2===I&&i(c,1)?"-webkit-"+c+c:c}if(0===I||2===I&&!i(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(k,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return p.test(a)?a.replace(h,":-webkit-")+a.replace(h,":-moz-")+a:a;case 1e3:switch(e=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(e)){case 226:c=a.replace(w,"tb");break;case 232:c=a.replace(w,"tb-rl");break;case 220:c=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,u=(c=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===O.test(t))return 115===(c=t.substring(t.indexOf(":")+1)).charCodeAt(0)?o(t.replace("stretch","fill-available"),e,n,r).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function i(t,e){var n=t.indexOf(1===e?":":"{"),r=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),R(2!==e?r:r.replace(S,"$1"),n,e)}function a(t,e){var n=o(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(x," or ($1)").substring(4):"("+e+")"}function u(t,e,n,r,o,i,a,u,c,l){for(var f,h=0,p=e;h<L;++h)switch(f=C[h].call(s,t,p,n,r,o,i,a,u,c,l)){case void 0:case!1:case!0:case null:break;default:p=f}if(p!==e)return p}function c(t){return void 0!==(t=t.prefix)&&(R=null,t?"function"!=typeof t?I=1:(I=2,R=t):I=0),c}function s(t,n){var r=t;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<L){var o=u(-1,n,r,r,j,_,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=e(T,r,n,0,0);return 0<L&&void 0!==(o=u(-2,i,r,r,j,_,i.length,0,0,0))&&(i=o),P=0,_=j=1,i}var l=/^\0+/g,f=/[\0\r\f]/g,h=/: */g,p=/zoo|gra/,d=/([,: ])(transform)/g,y=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,A=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,E=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,O=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,_=1,j=1,P=0,I=1,T=[],C=[],L=0,R=null,M=0;return s.use=function t(e){switch(e){case void 0:case null:L=C.length=0;break;default:if("function"==typeof e)C[L++]=e;else if("object"===ct(e))for(var n=0,r=e.length;n<r;++n)t(e[n]);else M=0|!!e}return t},s.set=c,void 0!==t&&c(t),s},lt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function ft(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}var ht=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,pt=ft((function(t){return ht.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91})),dt=__webpack_require__(14018),yt=__webpack_require__.n(dt);function vt(t){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(t)}function gt(){return(gt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var mt=function(t,e){for(var n=[t[0]],r=0,o=e.length;r<o;r+=1)n.push(e[r],t[r+1]);return n},bt=function(t){return null!==t&&"object"==vt(t)&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!(0,it.QP)(t)},wt=Object.freeze([]),At=Object.freeze({});function xt(t){return"function"==typeof t}function Et(t){return t.displayName||t.name||"Component"}function St(t){return t&&"string"==typeof t.styledComponentId}var Ot="undefined"!=typeof process&&void 0!=={}&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",kt="undefined"!=typeof window&&"HTMLElement"in window,_t=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}&&(void 0!=={}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={}.REACT_APP_SC_DISABLE_SPEEDY&&{}.REACT_APP_SC_DISABLE_SPEEDY:void 0!=={}.SC_DISABLE_SPEEDY&&""!=={}.SC_DISABLE_SPEEDY&&"false"!=={}.SC_DISABLE_SPEEDY&&{}.SC_DISABLE_SPEEDY)),jt={};function Pt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var It=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;t>=o;)(o<<=1)<0&&Pt(16,""+t);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(t+1),u=0,c=e.length;u<c;u++)this.tag.insertRule(a,e[u])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n,i=r;i<o;i++)e+=this.tag.getRule(i)+"/*!sc*/\n";return e},t}(),Tt=new Map,Ct=new Map,Lt=1,Rt=function(t){if(Tt.has(t))return Tt.get(t);for(;Ct.has(Lt);)Lt++;var e=Lt++;return Tt.set(t,e),Ct.set(e,t),e},Mt=function(t){return Ct.get(t)},Bt=function(t,e){e>=Lt&&(Lt=e+1),Tt.set(t,e),Ct.set(e,t)},Ft="style["+Ot+'][data-styled-version="5.3.11"]',Nt=new RegExp("^"+Ot+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Dt=function(t,e,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&t.registerName(e,r)},Ut=function(t,e){for(var n=(e.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var u=a.match(Nt);if(u){var c=0|parseInt(u[1],10),s=u[2];0!==c&&(Bt(s,c),Dt(t,s,u[3]),t.getTag().insertRules(c,r)),r.length=0}else r.push(a)}}},Gt=function(){return __webpack_require__.nc},Qt=function(t){var e=document.head,n=t||e,r=document.createElement("style"),o=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(Ot))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(Ot,"active"),r.setAttribute("data-styled-version","5.3.11");var a=Gt();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},zt=function(){function t(t){var e=this.element=Qt(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var o=e[n];if(o.ownerNode===t)return o}Pt(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),Yt=function(){function t(t){var e=this.element=Qt(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),Ht=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),Vt=kt,$t={isServer:!kt,useCSSOMInjection:!_t},Wt=function(){function t(t,e,n){void 0===t&&(t=At),void 0===e&&(e={}),this.options=gt({},$t,{},t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&kt&&Vt&&(Vt=!1,function(t){for(var e=document.querySelectorAll(Ft),n=0,r=e.length;n<r;n++){var o=e[n];o&&"active"!==o.getAttribute(Ot)&&(Ut(t,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}t.registerId=function(t){return Rt(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,n){return void 0===n&&(n=!0),new t(gt({},this.options,{},e),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){return this.tag||(this.tag=(n=(e=this.options).isServer,r=e.useCSSOMInjection,o=e.target,t=n?new Ht(o):r?new zt(o):new Yt(o),new It(t)));var t,e,n,r,o},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(Rt(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(Rt(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(Rt(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r="",o=0;o<n;o++){var i=Mt(o);if(void 0!==i){var a=t.names.get(i),u=e.getGroup(o);if(a&&u&&a.size){var c=Ot+".g"+o+'[id="'+i+'"]',s="";void 0!==a&&a.forEach((function(t){t.length>0&&(s+=t+",")})),r+=""+u+c+'{content:"'+s+'"}/*!sc*/\n'}}}return r}(this)},t}(),qt=/(a)(d)/gi,Jt=function(t){return String.fromCharCode(t+(t>25?39:97))};function Kt(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=Jt(e%52)+n;return(Jt(e%52)+n).replace(qt,"$1-$2")}var Xt=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},Zt=function(t){return Xt(5381,t)};function te(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(xt(n)&&!St(n))return!1}return!0}var ee=Zt("5.3.11"),ne=function(){function t(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&te(t),this.componentId=e,this.baseHash=Xt(ee,e),this.baseStyle=n,Wt.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(t,e,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=we(this.rules,t,e,n).join(""),a=Kt(Xt(this.baseHash,i)>>>0);if(!e.hasNameForId(r,a)){var u=n(i,"."+a,void 0,r);e.insertRules(r,a,u)}o.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,s=Xt(this.baseHash,n.hash),l="",f=0;f<c;f++){var h=this.rules[f];if("string"==typeof h)l+=h;else if(h){var p=we(h,t,e,n),d=Array.isArray(p)?p.join(""):p;s=Xt(s,d+f),l+=d}}if(l){var y=Kt(s>>>0);if(!e.hasNameForId(r,y)){var v=n(l,"."+y,void 0,r);e.insertRules(r,y,v)}o.push(y)}}return o.join(" ")},t}(),re=/^\s*\/\/.*$/gm,oe=[":","[",".","#"];function ie(t){var e,n,r,o,i=void 0===t?At:t,a=i.options,u=void 0===a?At:a,c=i.plugins,s=void 0===c?wt:c,l=new st(u),f=[],h=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,o,i,a,u,c,s,l,f){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return t(r+";"),"";break;case 2:if(0===s)return r+"/*|*/";break;case 3:switch(s){case 102:case 112:return t(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(e)}}}((function(t){f.push(t)})),p=function(t,r,i){return 0===r&&-1!==oe.indexOf(i[n.length])||i.match(o)?t:"."+e};function d(t,i,a,u){void 0===u&&(u="&");var c=t.replace(re,""),s=i&&a?a+" "+i+" { "+c+" }":c;return e=u,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(a||!i?"":i,s)}return l.use([].concat(s,[function(t,e,o){2===t&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,p))},h,function(t){if(-2===t){var e=f;return f=[],e}}])),d.hash=s.length?s.reduce((function(t,e){return e.name||Pt(15),Xt(t,e.name)}),5381).toString():"",d}var ae=ot.createContext(),ue=(ae.Consumer,ot.createContext()),ce=(ue.Consumer,new Wt),se=ie();function le(){return(0,ot.useContext)(ae)||ce}function fe(){return(0,ot.useContext)(ue)||se}function he(t){var e=(0,ot.useState)(t.stylisPlugins),n=e[0],r=e[1],o=le(),i=(0,ot.useMemo)((function(){var e=o;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),a=(0,ot.useMemo)((function(){return ie({options:{prefix:!t.disableVendorPrefixes},plugins:n})}),[t.disableVendorPrefixes,n]);return(0,ot.useEffect)((function(){ut()(n,t.stylisPlugins)||r(t.stylisPlugins)}),[t.stylisPlugins]),ot.createElement(ae.Provider,{value:i},ot.createElement(ue.Provider,{value:a},t.children))}var pe=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=se);var r=n.name+e.hash;t.hasNameForId(n.id,r)||t.insertRules(n.id,r,e(n.rules,r,"@keyframes"))},this.toString=function(){return Pt(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=se),this.name+t.hash},t}(),de=/([A-Z])/,ye=/([A-Z])/g,ve=/^ms-/,ge=function(t){return"-"+t.toLowerCase()};function me(t){return de.test(t)?t.replace(ye,ge).replace(ve,"-ms-"):t}var be=function(t){return null==t||!1===t||""===t};function we(t,e,n,r){if(Array.isArray(t)){for(var o,i=[],a=0,u=t.length;a<u;a+=1)""!==(o=we(t[a],e,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return be(t)?"":St(t)?"."+t.styledComponentId:xt(t)?"function"!=typeof(c=t)||c.prototype&&c.prototype.isReactComponent||!e?t:we(t(e),e,n,r):t instanceof pe?n?(t.inject(n,r),t.getName(r)):t:bt(t)?function t(e,n){var r,o,i=[];for(var a in e)e.hasOwnProperty(a)&&!be(e[a])&&(Array.isArray(e[a])&&e[a].isCss||xt(e[a])?i.push(me(a)+":",e[a],";"):bt(e[a])?i.push.apply(i,t(e[a],a)):i.push(me(a)+": "+(r=a,(null==(o=e[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in lt||r.startsWith("--")?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(t):t.toString();var c}var Ae=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function xe(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return xt(t)||bt(t)?Ae(we(mt(wt,[t].concat(n)))):0===n.length&&1===t.length&&"string"==typeof t[0]?t:Ae(we(mt(t,n)))}new Set;var Ee=function(t,e,n){return void 0===n&&(n=At),t.theme!==n.theme&&t.theme||e||n.theme},Se=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Oe=/(^-|-$)/g;function ke(t){return t.replace(Se,"-").replace(Oe,"")}var _e=function(t){return Kt(Zt(t)>>>0)};function je(t){return"string"==typeof t&&!0}var Pe=function(t){return"function"==typeof t||"object"==vt(t)&&null!==t&&!Array.isArray(t)},Ie=function(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t};function Te(t,e,n){var r=t[n];Pe(e)&&Pe(r)?Ce(r,e):t[n]=e}function Ce(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(Pe(a))for(var u in a)Ie(u)&&Te(t,a[u],u)}return t}var Le=ot.createContext();function Re(t){var e=(0,ot.useContext)(Le),n=(0,ot.useMemo)((function(){return function(t,e){return t?xt(t)?t(e):Array.isArray(t)||"object"!=vt(t)?Pt(8):e?gt({},e,{},t):t:Pt(14)}(t.theme,e)}),[t.theme,e]);return t.children?ot.createElement(Le.Provider,{value:n},t.children):null}Le.Consumer;var Me={};function Be(t,e,n){var r=St(t),o=!je(t),i=e.attrs,a=void 0===i?wt:i,u=e.componentId,c=void 0===u?function(t,e){var n="string"!=typeof t?"sc":ke(t);Me[n]=(Me[n]||0)+1;var r=n+"-"+_e("5.3.11"+n+Me[n]);return e?e+"-"+r:r}(e.displayName,e.parentComponentId):u,s=e.displayName,l=void 0===s?function(t){return je(t)?"styled."+t:"Styled("+Et(t)+")"}(t):s,f=e.displayName&&e.componentId?ke(e.displayName)+"-"+e.componentId:e.componentId||c,h=r&&t.attrs?Array.prototype.concat(t.attrs,a).filter(Boolean):a,p=e.shouldForwardProp;r&&t.shouldForwardProp&&(p=e.shouldForwardProp?function(n,r,o){return t.shouldForwardProp(n,r,o)&&e.shouldForwardProp(n,r,o)}:t.shouldForwardProp);var d,y=new ne(n,f,r?t.componentStyle:void 0),v=y.isStatic&&0===a.length,g=function(t,e){return function(t,e,n,r){var o=t.attrs,i=t.componentStyle,a=t.defaultProps,u=t.foldedComponentIds,c=t.shouldForwardProp,s=t.styledComponentId,l=t.target,f=function(t,e,n){void 0===t&&(t=At);var r=gt({},e,{theme:t}),o={};return n.forEach((function(t){var e,n,i,a=t;for(e in xt(a)&&(a=a(r)),a)r[e]=o[e]="className"===e?(n=o[e],i=a[e],n&&i?n+" "+i:n||i):a[e]})),[r,o]}(Ee(e,(0,ot.useContext)(Le),a)||At,e,o),h=f[0],p=f[1],d=function(t,e,n){var r=le(),o=fe();return e?t.generateAndInjectStyles(At,r,o):t.generateAndInjectStyles(n,r,o)}(i,r,h),y=n,v=p.$as||e.$as||p.as||e.as||l,g=je(v),m=p!==e?gt({},e,{},p):e,b={};for(var w in m)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?b.as=m[w]:(c?c(w,pt,v):!g||pt(w))&&(b[w]=m[w]));return e.style&&p.style!==e.style&&(b.style=gt({},e.style,{},p.style)),b.className=Array.prototype.concat(u,s,d!==s?d:null,e.className,p.className).filter(Boolean).join(" "),b.ref=y,(0,ot.createElement)(v,b)}(d,t,e,v)};return g.displayName=l,(d=ot.forwardRef(g)).attrs=h,d.componentStyle=y,d.displayName=l,d.shouldForwardProp=p,d.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):wt,d.styledComponentId=f,d.target=r?t.target:t,d.withComponent=function(t){var r=e.componentId,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(e,["componentId"]),i=r&&r+"-"+(je(t)?t:ke(Et(t)));return Be(t,gt({},o,{attrs:h,componentId:i}),n)},Object.defineProperty(d,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?Ce({},t.defaultProps,e):e}}),Object.defineProperty(d,"toString",{value:function(){return"."+d.styledComponentId}}),o&&yt()(d,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),d}var Fe=function(t){return function t(e,n,r){if(void 0===r&&(r=At),!(0,it.Hy)(n))return Pt(1,String(n));var o=function(){return e(n,r,xe.apply(void 0,arguments))};return o.withConfig=function(o){return t(e,n,gt({},r,{},o))},o.attrs=function(o){return t(e,n,gt({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Be,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(t){Fe[t]=Fe(t)}));var Ne=function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=te(t),Wt.registerId(this.componentId+1)}var e=t.prototype;return e.createStyles=function(t,e,n,r){var o=r(we(this.rules,e,n,r).join(""),""),i=this.componentId+t;n.insertRules(i,i,o)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,n,r){t>2&&Wt.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)},t}();function De(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=xe.apply(void 0,[t].concat(n)).join(""),i=_e(o);return new pe(i,o)}!function(){var t=function(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var n=Gt();return"<style "+[n&&'nonce="'+n+'"',Ot+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?Pt(2):t._emitSheetCSS()},this.getStyleElement=function(){var e;if(t.sealed)return Pt(2);var n=((e={})[Ot]="",e["data-styled-version"]="5.3.11",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),r=Gt();return r&&(n.nonce=r),[ot.createElement("style",gt({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new Wt({isServer:!0}),this.sealed=!1}.prototype;t.collectStyles=function(t){return this.sealed?Pt(2):ot.createElement(he,{sheet:this.instance},t)},t.interleaveWithNodeStream=function(t){return Pt(3)}}();var Ue=Fe;function Ge(){return Ge=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Ge.apply(null,arguments)}var Qe=__webpack_require__(57331),ze=__webpack_require__.n(Qe),Ye=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function He(t){var e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=t.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(e.name=n[1],(ze()[n[1]]||"/"===t.charAt(t.length-2))&&(e.voidElement=!0),e.name.startsWith("!--"))){var r=t.indexOf("--\x3e");return{type:"comment",comment:-1!==r?t.slice(4,r):""}}for(var o=new RegExp(Ye),i=null;null!==(i=o.exec(t));)if(i[0].trim())if(i[1]){var a=i[1].trim(),u=[a,""];a.indexOf("=")>-1&&(u=a.split("=")),e.attrs[u[0]]=u[1],o.lastIndex--}else i[2]&&(e.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return e}var Ve=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,$e=/^\s*$/,We=Object.create(null);function qe(t,e){switch(e.type){case"text":return t+e.content;case"tag":return t+="<"+e.name+(e.attrs?function(t){var e=[];for(var n in t)e.push(n+'="'+t[n]+'"');return e.length?" "+e.join(" "):""}(e.attrs):"")+(e.voidElement?"/>":">"),e.voidElement?t:t+e.children.reduce(qe,"")+"</"+e.name+">";case"comment":return t+"\x3c!--"+e.comment+"--\x3e"}}var Je={parse:function(t,e){e||(e={}),e.components||(e.components=We);var n,r=[],o=[],i=-1,a=!1;if(0!==t.indexOf("<")){var u=t.indexOf("<");r.push({type:"text",content:-1===u?t:t.substring(0,u)})}return t.replace(Ve,(function(u,c){if(a){if(u!=="</"+n.name+">")return;a=!1}var s,l="/"!==u.charAt(1),f=u.startsWith("\x3c!--"),h=c+u.length,p=t.charAt(h);if(f){var d=He(u);return i<0?(r.push(d),r):((s=o[i]).children.push(d),r)}if(l&&(i++,"tag"===(n=He(u)).type&&e.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!p||"<"===p||n.children.push({type:"text",content:t.slice(h,t.indexOf("<",h))}),0===i&&r.push(n),(s=o[i-1])&&s.children.push(n),o[i]=n),(!l||n.voidElement)&&(i>-1&&(n.voidElement||n.name===u.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==p&&p)){s=-1===i?r:o[i].children;var y=t.indexOf("<",h),v=t.slice(h,-1===y?void 0:y);$e.test(v)&&(v=" "),(y>-1&&i+s.length>=0||" "!==v)&&s.push({type:"text",content:v})}})),r},stringify:function(t){return t.reduce((function(t,e){return t+qe("",e)}),"")}},Ke=Je;function Xe(){if(console&&console.warn){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(t=console).warn.apply(t,n)}}var Ze={};function tn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];"string"==typeof e[0]&&Ze[e[0]]||("string"==typeof e[0]&&(Ze[e[0]]=new Date),Xe.apply(void 0,e))}var en=function(t,e){return function(){if(t.isInitialized)e();else{var n=function(){setTimeout((function(){t.off("initialized",n)}),0),e()};t.on("initialized",n)}}};function nn(t,e,n){t.loadNamespaces(e,en(t,n))}function rn(t,e,n,r){"string"==typeof n&&(n=[n]),n.forEach((function(e){t.options.ns.indexOf(e)<0&&t.options.ns.push(e)})),t.loadLanguages(e,en(t,r))}var on=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,an={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},un=function(t){return an[t]};function cn(t){return cn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cn(t)}function sn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ln(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sn(Object(n),!0).forEach((function(e){fn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function fn(t,e,n){return(e=function(t){var e=function(t){if("object"!=cn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=cn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==cn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hn,pn={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(t){return t.replace(on,un)}};function dn(){return pn}function yn(){return hn}var vn=["format"],gn=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function mn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function bn(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function wn(t){return wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wn(t)}function An(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function xn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?An(Object(n),!0).forEach((function(e){En(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):An(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function En(t,e,n){return(e=function(t){var e=function(t){if("object"!=wn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=wn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==wn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sn(t,e){if(!t)return!1;var n=t.props?t.props.children:t.children;return e?n.length>0:!!n}function On(t){if(!t)return[];var e=t.props?t.props.children:t.children;return t.props&&t.props.i18nIsDynamicList?kn(e):e}function kn(t){return Array.isArray(t)?t:[t]}function _n(t,e){if(!t)return"";var n="",r=kn(t),o=e.transSupportBasicHtmlNodes&&e.transKeepBasicHtmlNodesFor?e.transKeepBasicHtmlNodesFor:[];return r.forEach((function(t,r){if("string"==typeof t)n+="".concat(t);else if((0,ot.isValidElement)(t)){var i=Object.keys(t.props).length,a=o.indexOf(t.type)>-1,u=t.props.children;if(!u&&a&&0===i)n+="<".concat(t.type,"/>");else if(u||a&&0===i)if(t.props.i18nIsDynamicList)n+="<".concat(r,"></").concat(r,">");else if(a&&1===i&&"string"==typeof u)n+="<".concat(t.type,">").concat(u,"</").concat(t.type,">");else{var c=_n(u,e);n+="<".concat(r,">").concat(c,"</").concat(r,">")}else n+="<".concat(r,"></").concat(r,">")}else if(null===t)Xe("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===wn(t)){var s=t.format,l=bn(t,vn),f=Object.keys(l);if(1===f.length){var h=s?"".concat(f[0],", ").concat(s):f[0];n+="{{".concat(h,"}}")}else Xe("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else Xe("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)})),n}function jn(t,e,n,r,o,i){if(""===e)return[];var a=r.transKeepBasicHtmlNodesFor||[],u=e&&new RegExp(a.map((function(t){return"<".concat(t)})).join("|")).test(e);if(!t&&!u&&!i)return[e];var c={};!function t(e){kn(e).forEach((function(e){"string"!=typeof e&&(Sn(e)?t(On(e)):"object"!==wn(e)||(0,ot.isValidElement)(e)||Object.assign(c,e))}))}(t);var s=Ke.parse("<0>".concat(e,"</0>")),l=xn(xn({},c),o);function f(t,e,n){var r=On(t),o=p(r,e.children,n);return function(t){return"[object Array]"===Object.prototype.toString.call(t)&&t.every((function(t){return(0,ot.isValidElement)(t)}))}(r)&&0===o.length||t.props&&t.props.i18nIsDynamicList?r:o}function h(t,e,n,r,o){var i;t.dummy?(t.children=e,n.push((0,ot.cloneElement)(t,{key:r},o?void 0:e))):n.push.apply(n,(i=ot.Children.map([t],(function(t){var n=xn({},t.props);return delete n.i18nIsDynamicList,ot.createElement(t.type,Ge({},n,{key:r,ref:t.ref},o?{}:{children:e}))})),function(t){if(Array.isArray(t))return mn(t)}(i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||function(t,e){if(t){if("string"==typeof t)return mn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mn(t,e):void 0}}(i)||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 p(e,o,c){var s=kn(e);return kn(o).reduce((function(e,o,d){var y,v,g,m=o.children&&o.children[0]&&o.children[0].content&&n.services.interpolator.interpolate(o.children[0].content,l,n.language);if("tag"===o.type){var b=s[parseInt(o.name,10)];1!==c.length||b||(b=c[0][o.name]),b||(b={});var w=0!==Object.keys(o.attrs).length?(y={props:o.attrs},(g=xn({},v=b)).props=Object.assign(y.props,v.props),g):b,A=(0,ot.isValidElement)(w),x=A&&Sn(o,!0)&&!o.voidElement,E=u&&"object"===wn(w)&&w.dummy&&!A,S="object"===wn(t)&&null!==t&&Object.hasOwnProperty.call(t,o.name);if("string"==typeof w){var O=n.services.interpolator.interpolate(w,l,n.language);e.push(O)}else if(Sn(w)||x)h(w,f(w,o,c),e,d);else if(E)h(w,p(s,o.children,c),e,d);else if(Number.isNaN(parseFloat(o.name)))if(S)h(w,f(w,o,c),e,d,o.voidElement);else if(r.transSupportBasicHtmlNodes&&a.indexOf(o.name)>-1)if(o.voidElement)e.push((0,ot.createElement)(o.name,{key:"".concat(o.name,"-").concat(d)}));else{var k=p(s,o.children,c);e.push((0,ot.createElement)(o.name,{key:"".concat(o.name,"-").concat(d)},k))}else if(o.voidElement)e.push("<".concat(o.name," />"));else{var _=p(s,o.children,c);e.push("<".concat(o.name,">").concat(_,"</").concat(o.name,">"))}else if("object"!==wn(w)||A)h(w,m,e,d,1!==o.children.length||!m);else{var j=o.children[0]?m:null;j&&e.push(j)}}else if("text"===o.type){var P=r.transWrapTextNodes,I=i?r.unescape(n.services.interpolator.interpolate(o.content,l,n.language)):n.services.interpolator.interpolate(o.content,l,n.language);P?e.push((0,ot.createElement)(P,{key:"".concat(o.name,"-").concat(d)},I)):e.push(I)}return e}),[])}return On(p([{dummy:!0,children:t||[]}],s,kn(t||[]))[0])}function Pn(t){var e=t.children,n=t.count,r=t.parent,o=t.i18nKey,i=t.context,a=t.tOptions,u=void 0===a?{}:a,c=t.values,s=t.defaults,l=t.components,f=t.ns,h=t.i18n,p=t.t,d=t.shouldUnescape,y=bn(t,gn),v=h||yn();if(!v)return tn("You will need to pass in an i18next instance by using i18nextReactModule"),e;var g=p||v.t.bind(v)||function(t){return t};i&&(u.context=i);var m=xn(xn({},dn()),v.options&&v.options.react),b=f||g.ns||v.options&&v.options.defaultNS;b="string"==typeof b?[b]:b||["translation"];var w=_n(e,m),A=s||w||m.transEmptyNodeValue||o,x=m.hashTransKey,E=o||(x?x(w||A):w||A);v.options&&v.options.interpolation&&v.options.interpolation.defaultVariables&&(c=c&&Object.keys(c).length>0?xn(xn({},c),v.options.interpolation.defaultVariables):xn({},v.options.interpolation.defaultVariables));var S=c?u.interpolation:{interpolation:xn(xn({},u.interpolation),{},{prefix:"#$?",suffix:"?$#"})},O=xn(xn(xn(xn({},u),{},{count:n},c),S),{},{defaultValue:A,ns:b}),k=E?g(E,O):A;l&&Object.keys(l).forEach((function(t){var e=l[t];function n(){return ot.createElement(ot.Fragment,null,e)}"function"==typeof e.type||!e.props||!e.props.children||k.indexOf("".concat(t,"/>"))<0&&k.indexOf("".concat(t," />"))<0||(l[t]=ot.createElement(n,null))}));var _=jn(l||e,k,v,m,O,d),j=void 0!==r?r:m.defaultTransParent;return j?(0,ot.createElement)(j,y,_):_}var In={type:"3rdParty",init:function(t){!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};pn=ln(ln({},pn),t)}(t.options.react),function(t){hn=t}(t)}};function Tn(t){return Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tn(t)}function Cn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ln(r.key),r)}}function Ln(t){var e=function(t){if("object"!=Tn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Tn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Tn(e)?e:e+""}var Rn=(0,ot.createContext)(),Mn=function(){return function(t,e){return e&&Cn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.usedNamespaces={}}),[{key:"addUsedNamespaces",value:function(t){var e=this;t.forEach((function(t){e.usedNamespaces[t]||(e.usedNamespaces[t]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}])}();function Bn(t){return Bn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bn(t)}var Fn=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Nn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Dn(t,e,n){return(e=function(t){var e=function(t){if("object"!=Bn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Bn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Bn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){var e=t.children,n=t.count,r=t.parent,o=t.i18nKey,i=t.context,a=t.tOptions,u=void 0===a?{}:a,c=t.values,s=t.defaults,l=t.components,f=t.ns,h=t.i18n,p=t.t,d=t.shouldUnescape,y=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,Fn),v=(0,ot.useContext)(Rn)||{},g=v.i18n,m=v.defaultNS,b=h||g||yn(),w=p||b&&b.t.bind(b);return Pn(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Nn(Object(n),!0).forEach((function(e){Dn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({children:e,count:n,parent:r,i18nKey:o,context:i,tOptions:u,values:c,defaults:s,components:l,ns:f||w&&w.ns||m||b&&b.options&&b.options.defaultNS,i18n:b,t:p,shouldUnescape:d},y))}function Gn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function zn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qn(Object(n),!0).forEach((function(e){Yn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Yn(t,e,n){return(e=function(t){var e=function(t){if("object"!=Hn(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Hn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Hn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hn(t)}function Vn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.i18n,r=(0,ot.useContext)(Rn)||{},o=r.i18n,i=r.defaultNS,a=n||o||yn();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new Mn),!a){tn("You will need to pass in an i18next instance by using initReactI18next");var u=function(t,e){return"string"==typeof e?e:e&&"object"===Hn(e)&&"string"==typeof e.defaultValue?e.defaultValue:Array.isArray(t)?t[t.length-1]:t},c=[u,{},!1];return c.t=u,c.i18n={},c.ready=!1,c}a.options.react&&void 0!==a.options.react.wait&&tn("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var s=zn(zn(zn({},dn()),a.options.react),e),l=s.useSuspense,f=s.keyPrefix,h=t||i||a.options&&a.options.defaultNS;h="string"==typeof h?[h]:h||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(h);var p=(a.isInitialized||a.initializedStoreOnce)&&h.every((function(t){return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.languages&&e.languages.length?void 0!==e.options.ignoreJSONStructure?e.hasLoadedNamespace(t,{lng:n.lng,precheck:function(e,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!r(e.isLanguageChangingTo,t))return!1}}):function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.languages[0],o=!!e.options&&e.options.fallbackLng,i=e.languages[e.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(t,n){var r=e.services.backendConnector.state["".concat(t,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!a(e.isLanguageChangingTo,t)||!e.hasResourceBundle(r,t)&&e.services.backendConnector.backend&&(!e.options.resources||e.options.partialBundledLanguages)&&(!a(r,t)||o&&!a(i,t)))}(t,e,n):(tn("i18n.languages were undefined or empty",e.languages),!0)}(t,a,s)}));function d(){return a.getFixedT(e.lng||null,"fallback"===s.nsMode?h:h[0],f)}var y=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Gn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gn(t,e):void 0}}(t,e)||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.")}()}((0,ot.useState)(d),2),v=y[0],g=y[1],m=h.join();e.lng&&(m="".concat(e.lng).concat(m));var b,w,A,x=(b=m,A=(0,ot.useRef)(),(0,ot.useEffect)((function(){A.current=b}),[b,w]),A.current),E=(0,ot.useRef)(!0);(0,ot.useEffect)((function(){var t=s.bindI18n,n=s.bindI18nStore;function r(){E.current&&g(d)}return E.current=!0,p||l||(e.lng?rn(a,e.lng,h,(function(){E.current&&g(d)})):nn(a,h,(function(){E.current&&g(d)}))),p&&x&&x!==m&&E.current&&g(d),t&&a&&a.on(t,r),n&&a&&a.store.on(n,r),function(){E.current=!1,t&&a&&t.split(" ").forEach((function(t){return a.off(t,r)})),n&&a&&n.split(" ").forEach((function(t){return a.store.off(t,r)}))}}),[a,m]);var S=(0,ot.useRef)(!0);(0,ot.useEffect)((function(){E.current&&!S.current&&g(d),S.current=!1}),[a,f]);var O=[v,a,p];if(O.t=v,O.i18n=a,O.ready=p,p)return O;if(!p&&!l)return O;throw new Promise((function(t){e.lng?rn(a,e.lng,h,(function(){return t()})):nn(a,h,(function(){return t()}))}))}function $n(t){return $n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$n(t)}function Wn(){Wn=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==$n(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError($n(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function qn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var Jn=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},Kn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,Wn().mark((function e(){var n,r,o,i,a,u;return Wn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.fallbackLng,r=void 0===n?"ru":n,o=Jn(t,["fallbackLng"]),e.next=3,nt.use({name:"mainPostProcess",type:"postProcessor",process:function(t){return t.replace(/[ᵔ⎵⨪↴]/g,(function(t){switch(t){case"ᵔ":return"­";case"⎵":return" ";case"⨪":return"‑";case"↴":return"<br>"}return""}))}}).use(In).init(Object.assign({fallbackLng:r,interpolation:{escapeValue:!1},postProcess:["mainPostProcess"],parseMissingKeyHandler:function(t){return console.warn('No translation found for "'.concat(t,'" key')),""}},o));case 3:nt.services.formatter&&(nt.services.formatter.add("wrpNumber",(function(t){return"<0>".concat(t,"</0>")})),nt.services.formatter.add("fPeriod",(function(t){var e=Math.trunc(.001*(Number(t)||0)),n=e%60,r=Math.trunc(e/60)%60,o=Math.trunc(e/3600),i=function(t){return(t<10?"0":"")+t};return"".concat(i(o),":").concat(i(r),":").concat(i(n))}))),0===(c=nt.options.supportedLngs||[],i=function(t){if(Array.isArray(t))return qn(t)}(c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(c)||function(t,e){if(t){if("string"==typeof t)return qn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qn(t,e):void 0}}(c)||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.")}()).length&&i.push(r),-1===i.indexOf(nt.language)&&(a=i[0],"string"===(u=nt.options.fallbackLng)?a=u:Array.isArray(u)&&u.length>0&&(a=u[0]),nt.changeLanguage(a));case 7:case"end":return e.stop()}var c}),e)})))};function Xn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Zn(t){return Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zn(t)}function tr(){tr=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Zn(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Zn(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}document.createElement("div").style.cssText="\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1000000000;\n\n width: 100%;\n height: 100%;\n";var er,nr=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},rr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.__noClone__)return t;t.__noClone__=!0;var n="function"==typeof t.constructor?new t.constructor:{};for(var r in t)!1!==Object.prototype.hasOwnProperty.call(t,r)&&"__noClone__"!==r&&(t[r]instanceof Object?n[r]=rr(t[r],e):n[r]=t[r]);return delete t.__noClone__,n},or=function(t){return rr(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})},ir=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0},ar=((er=document.createElement("input")).style.position="absolute",er.style.top="0",er.style.left="0",er.style.zIndex="-100",er.style.width="0",er.style.height="0",er.style.opacity="0",er.setAttribute("type","text"),er.setAttribute("autocomplete","off"),document.body.appendChild(er),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,e=Math.random();return 1===e&&(e=0),Math.trunc(e*t)}),ur=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return nr(void 0,void 0,void 0,tr().mark((function e(){return tr().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t<1)){e.next=2;break}return e.abrupt("return",Promise.resolve(!0));case 2:return e.abrupt("return",new Promise((function(e){setTimeout((function(){return e(!0)}),t)})));case 3:case"end":return e.stop()}}),e)})))},cr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500,e=Date.now();return function(){return nr(void 0,void 0,void 0,tr().mark((function n(){var r;return tr().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=Date.now()-e,n.next=3,ur(t-r);case 3:case"end":return n.stop()}}),n)})))}},sr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];"string"==typeof t?(t=t.replace("#",""),n[0]=parseInt(t.slice(0,2),16),n[1]=parseInt(t.slice(2,4),16),n[2]=parseInt(t.slice(4,6),16),t=n):(n[0]=t[0],n[1]=t[1],n[2]=t[2]);var r=e.r,o=void 0===r?.202:r,i=e.g,a=void 0===i?.587:i,u=e.b,c=void 0===u?.114:u,s=e.base,l=void 0===s?255:s;return(o*n[0]+a*n[1]+c*n[2])/l>.5?"#000000":"#FFFFFF"},lr=function(t){return!!t&&Object.getPrototypeOf(t)===Object.prototype},fr=function(t,e,n){var r=null;return{copy:function(o){!function(t){(r=e.createElement("textarea")).value=t,e.body.appendChild(r)}(o),function(){if(r)if(n.userAgent.match(/ipad|iphone/i)){var o=e.createRange();o.selectNodeContents(r);var i=t.getSelection();i&&(i.removeAllRanges(),i.addRange(o)),r.setSelectionRange(0,999999)}else r.select()}(),e.execCommand("copy"),r&&e.body.removeChild(r)}}}(window,document,navigator);function hr(t){return hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hr(t)}function pr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,dr(r.key),r)}}function dr(t){var e=function(t){if("object"!=hr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=hr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==hr(e)?e:e+""}function yr(t){var e="function"==typeof Map?new Map:void 0;return yr=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(vr())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&gr(o,n.prototype),o}(t,arguments,mr(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),gr(n,t)},yr(t)}function vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(vr=function(){return!!t})()}function gr(t,e){return gr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},gr(t,e)}function mr(t){return mr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mr(t)}var br,wr=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=function(t,e,n){return e=mr(e),function(t,e){if(e&&("object"==hr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,vr()?Reflect.construct(e,n||[],mr(t).constructor):e.apply(t,n))}(this,e)).set(n),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&gr(t,e)}(e,t),function(t,e){return e&&pr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"cl",get:function(){return this.clone()}},{key:"setElements",value:function(t){return this}},{key:"clone",value:function(){return this}},{key:"set",value:function(){var t,e=null!==(t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).elements)&&void 0!==t?t:null;return null===e?this.loadIdentity():this.setElements(e),this}},{key:"copy",value:function(){return this.setElements.apply(this,arguments),this}},{key:"toFixed",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return this.forEach((function(n,r){t[r]=+n.toFixed(e)})),this}},{key:"loadIdentity",value:function(){return this.setElements([])}},{key:"multScalar",value:function(){return this}},{key:"clMultScalar",value:function(){var t;return(t=this.clone()).multScalar.apply(t,arguments)}},{key:"inverse",value:function(){return this}},{key:"clInverse",value:function(){return this.clone().inverse()}},{key:"transpose",value:function(){return this}},{key:"getTranspose",value:function(){return this.clone().transpose()}},{key:"mult",value:function(){return this}},{key:"clMult",value:function(){var t;return(t=this.clone()).mult.apply(t,arguments)}},{key:"multFew",value:function(){return this}},{key:"clMultFew",value:function(){var t;return(t=this.clone()).multFew.apply(t,arguments)}}])}(yr(Array)),Ar={is:function(t){return t instanceof br},static:br=wr};function xr(t){return xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xr(t)}function Er(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Sr(r.key),r)}}function Sr(t){var e=function(t){if("object"!=xr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=xr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==xr(e)?e:e+""}function Or(t){var e="function"==typeof Map?new Map:void 0;return Or=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(kr())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&_r(o,n.prototype),o}(t,arguments,jr(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_r(n,t)},Or(t)}function kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(kr=function(){return!!t})()}function _r(t,e){return _r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_r(t,e)}function jr(t){return jr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},jr(t)}var Pr=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=function(t,e,n){return e=jr(e),function(t,e){if(e&&("object"==xr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,kr()?Reflect.construct(e,n||[],jr(t).constructor):e.apply(t,n))}(this,e)).set(n),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_r(t,e)}(e,t),function(t,e){return e&&Er(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"cl",get:function(){return this.clone()}},{key:"clone",value:function(){return this}},{key:"set",value:function(t){return this}},{key:"copy",value:function(t){return this}},{key:"toFixed",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return this.forEach((function(n,r){t[r]=+n.toFixed(e)})),this}},{key:"getLength",value:function(){return 0}},{key:"perp",value:function(){return this}},{key:"getPerp",value:function(){return this.clone().perp()}},{key:"normalize",value:function(){return this}},{key:"getNormalize",value:function(){return this.clone().normalize()}},{key:"multScalar",value:function(t){return this}},{key:"getMultScalar",value:function(t){return this.clone().multScalar(t)}},{key:"trunc",value:function(){return this}},{key:"getTrunc",value:function(){return this.clone().trunc()}},{key:"ceil",value:function(){return this}},{key:"getCeil",value:function(){return this.clone().trunc()}},{key:"round",value:function(){return this}},{key:"getRound",value:function(){return this.clone().round()}},{key:"abs",value:function(){return this}},{key:"getAbs",value:function(){return this.clone().abs()}},{key:"mult",value:function(t){return this}},{key:"getMult",value:function(t){return this.clone().mult(t)}},{key:"divide",value:function(t){return this}},{key:"getDivide",value:function(t){return this.clone().divide(t)}},{key:"dot",value:function(t){return 0}},{key:"crossValue",value:function(t){return 0}},{key:"add",value:function(t){return this}},{key:"getAdd",value:function(t){return this.clone().add(t)}},{key:"diff",value:function(t){return this}},{key:"getDiff",value:function(t){return this.clone().diff(t)}},{key:"moveInDir",value:function(t){return this}},{key:"moveAlongLineInDir",value:function(t,e){return this}},{key:"rotate",value:function(t){return this}},{key:"getRotate",value:function(t){return this.clone().rotate(t)}},{key:"calcAngle",value:function(t){return 0}}])}(Or(Array));Pr.epsilon=1/(2<<22);var Ir=function(){var t=Pr;return{is:function(e){return e instanceof t},static:t}}();function Tr(t){return Tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tr(t)}function Cr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Lr(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lr(t,e):void 0}}(t,e)||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 Lr(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Rr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Mr(r.key),r)}}function Mr(t){var e=function(t){if("object"!=Tr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Tr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Tr(e)?e:e+""}function Br(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Br=function(){return!!t})()}function Fr(t){return Fr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Fr(t)}function Nr(t,e){return Nr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Nr(t,e)}var Dr=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=Fr(e),function(t,e){if(e&&("object"==Tr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Br()?Reflect.construct(e,n||[],Fr(t).constructor):e.apply(t,n))}(this,e,[t])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Nr(t,e)}(e,t),function(t,e){return e&&Rr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"x",get:function(){return this[0]},set:function(t){this[0]=t}},{key:"y",get:function(){return this[1]},set:function(t){this[1]=t}},{key:"clone",value:function(){return new e(this)}},{key:"set",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(t)?(this[0]=t[0]||0,this[1]=t[1]||0):(this[0]=t.x||0,this[1]=t.y||0),this}},{key:"copy",value:function(t){return this[0]=t[0],this[1]=t[1],this}},{key:"setX",value:function(t){return this[0]=t,this}},{key:"setY",value:function(t){return this[1]=t,this}},{key:"getLength",value:function(){return Math.sqrt(this[0]*this[0]+this[1]*this[1])}},{key:"perp",value:function(){var t=this[0];return this[0]=this[1],this[1]=-t,this}},{key:"normalize",value:function(){var t=this.getLength();return t>e.epsilon?(this[0]/=t,this[1]/=t):this[0]=this[1]=0,this}},{key:"multScalar",value:function(t){return this[0]*=t,this[1]*=t,this}},{key:"trunc",value:function(){return this[0]=Math.trunc(this[0]),this[1]=Math.trunc(this[1]),this}},{key:"ceil",value:function(){return this[0]=Math.ceil(this[0]),this[1]=Math.ceil(this[1]),this}},{key:"round",value:function(){return this[0]=Math.round(this[0]),this[1]=Math.round(this[1]),this}},{key:"abs",value:function(){return this[0]=Math.abs(this[0]),this[1]=Math.abs(this[1]),this}},{key:"mult",value:function(t){return this[0]*=t.x,this[1]*=t.y,this}},{key:"divide",value:function(t){return this[0]/=t.x,this[1]/=t.y,this}},{key:"dot",value:function(t){return this[0]*t.x+this[1]*t.y}},{key:"crossValue",value:function(t){return this[0]*t.y-this[1]*t.x}},{key:"add",value:function(t){return this[0]+=t.x,this[1]+=t.y,this}},{key:"diff",value:function(t){return this[0]-=t.x,this[1]-=t.y,this}},{key:"moveInDir",value:function(t){return this.normalize().multScalar(t)}},{key:"moveAlongLineInDir",value:function(t,e){return this.getDiff(t).moveInDir(e).add(this)}},{key:"rotate",value:function(t){var e=this[0],n=this[1];return this[0]=e*Math.cos(t)-n*Math.sin(t),this[1]=e*Math.sin(t)+n*Math.cos(t),this}},{key:"calcAngle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.dot(t)/(this.getLength()*t.getLength()),r=e?Math.sign(this.crossValue(t)||1):1;return Math.acos(Math.max(-1,Math.min(1,n)))*r}}])}(Pr),Ur=function(){var t=Dr,e=function(e){return e instanceof t},n=function(t,e){var n={x:e.x-t.x,y:e.y-t.y};return[n.y,-n.x,-n.y*t.x+n.x*t.y]};return{new:function(n){return e(n)?n.clone():new t(n)},is:e,static:t,getLinesIntersectPoint:function(t,e){return function(t,e){var n=Cr(t,3),r=n[0],o=n[1],i=n[2],a=Cr(e,3),u=a[0],c=a[1],s=a[2],l=r-u,f=o-c,h=i-s,p=(h*c-f*s)/(f*u-l*c),d=-l/f*p-h/f;return Ur.new({x:p,y:d})}(n(t.p1,t.p2),n(e.p1,e.p2))}}}();function Gr(t){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gr(t)}function Qr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,zr(r.key),r)}}function zr(t){var e=function(t){if("object"!=Gr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Gr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Gr(e)?e:e+""}function Yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Yr=function(){return!!t})()}function Hr(){return Hr="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=Vr(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},Hr.apply(null,arguments)}function Vr(t){return Vr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Vr(t)}function $r(t,e){return $r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},$r(t,e)}var Wr=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=Vr(e),function(t,e){if(e&&("object"==Gr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Yr()?Reflect.construct(e,n||[],Vr(t).constructor):e.apply(t,n))}(this,e,[t])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&$r(t,e)}(e,t),function(t,e){return e&&Qr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"z",get:function(){return this[2]},set:function(t){this[2]=t}},{key:"clone",value:function(){return new e(this)}},{key:"set",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(t)?(this[0]=t[0]||0,this[1]=t[1]||0,this[2]=t[2]||0):(this[0]=t.x||0,this[1]=t.y||0,this[2]=t.z||0),this}},{key:"copy",value:function(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this}},{key:"setZ",value:function(t){return this[2]=t,this}},{key:"getLength",value:function(){return Math.sqrt(this[0]*this[0]+this[1]*this[1]+this[2]*this[2])}},{key:"normalize",value:function(){var t=this.getLength();return t>e.epsilon?(this[0]/=t,this[1]/=t,this[2]/=t):this[0]=this[1]=this[2]=0,this}},{key:"multScalar",value:function(t){return this[0]*=t,this[1]*=t,this[2]*=t,this}},{key:"trunc",value:function(){return this[0]=Math.trunc(this[0]),this[1]=Math.trunc(this[1]),this[2]=Math.trunc(this[2]),this}},{key:"ceil",value:function(){return this[0]=Math.ceil(this[0]),this[1]=Math.ceil(this[1]),this[2]=Math.ceil(this[2]),this}},{key:"round",value:function(){return this[0]=Math.round(this[0]),this[1]=Math.round(this[1]),this[2]=Math.round(this[2]),this}},{key:"abs",value:function(){return this[0]=Math.abs(this[0]),this[1]=Math.abs(this[1]),this[2]=Math.abs(this[2]),this}},{key:"mult",value:function(t){return this[0]*=t.x,this[1]*=t.y,this[2]*=t.z,this}},{key:"divide",value:function(t){return this[0]/=t.x,this[1]/=t.y,this[2]/=t.z,this}},{key:"dot",value:function(t){return this[0]*t.x+this[1]*t.y+this[2]*t.z}},{key:"crossValue",value:function(t){switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"z"){case"x":return this[1]*t.z-this[2]*t.y;case"y":return this[2]*t.x-this[0]*t.z}return function(t,e,n){var r=Hr(Vr(t.prototype),"crossValue",n);return"function"==typeof r?function(t){return r.apply(n,t)}:r}(e,0,this)([t])}},{key:"add",value:function(t){return this[0]+=t.x,this[1]+=t.y,this[2]+=t.z,this}},{key:"diff",value:function(t){return this[0]-=t.x,this[1]-=t.y,this[2]-=t.z,this}},{key:"calcAngle",value:function(t){var e=this.dot(t)/(this.getLength()*t.getLength());return Math.acos(Math.max(-1,Math.min(1,e)))}},{key:"rotate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new e([0,0,1]);return Po.new().rotate(n,t).multVector(this)}},{key:"cross",value:function(t){return this.set([this[1]*t.z-this[2]*t.y,this[2]*t.x-this[0]*t.z,this[0]*t.y-this[1]*t.x])}},{key:"getCross",value:function(t){return this.clone().cross(t)}},{key:"multMatrix",value:function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.multVector(this):this.set([this[0]*t[0]+this[1]*t[1]+this[2]*t[2],this[0]*t[4]+this[1]*t[5]+this[2]*t[6],this[0]*t[8]+this[1]*t[9]+this[2]*t[10]]),this}},{key:"getMultMatrix",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.clone().multMatrix(t,e)}},{key:"multMatrixColumn",value:function(t){return this.set([t[0]*this[0]+t[4]*this[1]+t[8]*this[2],t[1]*this[0]+t[5]*this[1]+t[9]*this[2],t[2]*this[0]+t[6]*this[1]+t[10]*this[2]])}},{key:"getMultMatrixColumn",value:function(t){return this.clone().multMatrixColumn(t)}}])}(Dr),qr=function(){var t=Wr,e=function(e){return e instanceof t};return{new:function(n){return e(n)?n.clone():new t(n)},is:e,static:t}}();function Jr(t){return Jr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(t)}function Kr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Xr(r.key),r)}}function Xr(t){var e=function(t){if("object"!=Jr(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Jr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Jr(e)?e:e+""}function Zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Zr=function(){return!!t})()}function to(t){return to=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},to(t)}function eo(t,e){return eo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},eo(t,e)}var no,ro,oo,io,ao,uo,co,so,lo,fo,ho,po,yo,vo,go,mo,bo,wo,Ao,xo,Eo,So,Oo,ko,_o,jo=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=to(e),function(t,e){if(e&&("object"==Jr(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Zr()?Reflect.construct(e,n||[],to(t).constructor):e.apply(t,n))}(this,e,[t])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eo(t,e)}(e,t),function(t,e){return e&&Kr(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"setElements",value:function(t){var e=this,n=t;return e[0]=n[0],e[1]=n[1],e[2]=n[2],e[3]=n[3],e[4]=n[4],e[5]=n[5],e[6]=n[6],e[7]=n[7],e[8]=n[8],e[9]=n[9],e[10]=n[10],e[11]=n[11],e[12]=n[12],e[13]=n[13],e[14]=n[14],e[15]=n[15],this}},{key:"log",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,e="[\n";return e+=" ".concat(+this[0].toFixed(t)," ").concat(+this[1].toFixed(t)," ").concat(+this[2].toFixed(t)," ").concat(+this[3].toFixed(t),"\n"),e+=" ".concat(+this[4].toFixed(t)," ").concat(+this[5].toFixed(t)," ").concat(+this[6].toFixed(t)," ").concat(+this[7].toFixed(t),"\n"),e+=" ".concat(+this[8].toFixed(t)," ").concat(+this[9].toFixed(t)," ").concat(+this[10].toFixed(t)," ").concat(+this[11].toFixed(t),"\n"),e+=" ".concat(+this[12].toFixed(t)," ").concat(+this[13].toFixed(t)," ").concat(+this[14].toFixed(t)," ").concat(+this[15].toFixed(t),"\n"),e+="]",console.log(e),this}},{key:"clone",value:function(){return new e({elements:this})}},{key:"loadIdentity",value:function(){return this.setElements([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}},{key:"multScalar",value:function(t){return this[0]*=t,this[1]*=t,this[2]*=t,this[3]*=t,this[4]*=t,this[5]*=t,this[6]*=t,this[7]*=t,this[8]*=t,this[9]*=t,this[10]*=t,this[11]*=t,this[12]*=t,this[13]*=t,this[14]*=t,this[15]*=t,this}},{key:"transpose",value:function(){return this.setElements([this[0],this[4],this[8],this[12],this[1],this[5],this[9],this[13],this[2],this[6],this[10],this[14],this[3],this[7],this[11],this[15]])}},{key:"mult",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this,o=t;if("boolean"==typeof e?n=e:(r=t,o=e),n){var i=r;r=o,o=i}return this.setElements([r[0]*o[0]+r[4]*o[1]+r[8]*o[2]+r[12]*o[3],r[1]*o[0]+r[5]*o[1]+r[9]*o[2]+r[13]*o[3],r[2]*o[0]+r[6]*o[1]+r[10]*o[2]+r[14]*o[3],r[3]*o[0]+r[7]*o[1]+r[11]*o[2]+r[15]*o[3],r[0]*o[4]+r[4]*o[5]+r[8]*o[6]+r[12]*o[7],r[1]*o[4]+r[5]*o[5]+r[9]*o[6]+r[13]*o[7],r[2]*o[4]+r[6]*o[5]+r[10]*o[6]+r[14]*o[7],r[3]*o[4]+r[7]*o[5]+r[11]*o[6]+r[15]*o[7],r[0]*o[8]+r[4]*o[9]+r[8]*o[10]+r[12]*o[11],r[1]*o[8]+r[5]*o[9]+r[9]*o[10]+r[13]*o[11],r[2]*o[8]+r[6]*o[9]+r[10]*o[10]+r[14]*o[11],r[3]*o[8]+r[7]*o[9]+r[11]*o[10]+r[15]*o[11],r[0]*o[12]+r[4]*o[13]+r[8]*o[14]+r[12]*o[15],r[1]*o[12]+r[5]*o[13]+r[9]*o[14]+r[13]*o[15],r[2]*o[12]+r[6]*o[13]+r[10]*o[14]+r[14]*o[15],r[3]*o[12]+r[7]*o[13]+r[11]*o[14]+r[15]*o[15]])}},{key:"multFew",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new e;return t.forEach((function(t){return r.mult(t)})),this.mult(r,n)}},{key:"multVector",value:function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.multMatrix(this):t.multMatrixColumn(this)}},{key:"setTranslate",value:function(t){return this[12]=t[0],this[13]=t[1],this[14]=t[2],this}},{key:"setTranslateX",value:function(t){return this[12]=t,this}},{key:"setTranslateY",value:function(t){return this[13]=t,this}},{key:"setTranslateZ",value:function(t){return this[14]=t,this}},{key:"translate",value:function(){return this}},{key:"translateX",value:function(){return this}},{key:"translateY",value:function(){return this}},{key:"translateZ",value:function(){return this}},{key:"scale",value:function(){return this}},{key:"scaleX",value:function(){return this}},{key:"scaleY",value:function(){return this}},{key:"scaleZ",value:function(){return this}},{key:"rotate",value:function(){return this}},{key:"rotateX",value:function(){return this}},{key:"rotateY",value:function(){return this}},{key:"rotateZ",value:function(){return this}},{key:"rotateGlobX",value:function(){return this}},{key:"rotateGlobY",value:function(){return this}},{key:"rotateGlobZ",value:function(){return this}}])}(wr),Po=function(){var t=jo,e=function(e){return e instanceof t};return{new:function(n){return e(n)?n.clone():new t(n)},is:e,static:t}}();function Io(t){return Io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Io(t)}function To(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Co(r.key),r)}}function Co(t){var e=function(t){if("object"!=Io(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Io(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Io(e)?e:e+""}function Lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Lo=function(){return!!t})()}function Ro(t){return Ro=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ro(t)}function Mo(t,e){return Mo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Mo(t,e)}jo.prototype.inverse=function(){return uo=this[8]*this[13]-this[12]*this[9],co=this[4]*this[13]-this[12]*this[5],so=this[4]*this[9]-this[8]*this[5],lo=this[0]*this[13]-this[12]*this[1],fo=this[0]*this[9]-this[8]*this[1],ho=this[0]*this[5]-this[4]*this[1],po=this[10]*this[15]-this[14]*this[11],yo=this[6]*this[15]-this[14]*this[7],vo=this[6]*this[11]-this[10]*this[7],go=this[2]*this[15]-this[14]*this[3],mo=this[2]*this[11]-this[10]*this[3],bo=this[2]*this[7]-this[6]*this[3],ro=-(this[6]*uo-this[10]*co+this[14]*so),oo=this[2]*uo-this[10]*lo+this[14]*fo,io=-(this[2]*co-this[6]*lo+this[14]*ho),ao=this[2]*so-this[6]*fo+this[10]*ho,no=1/(this[3]*ro+this[7]*oo+this[11]*io+this[15]*ao),this.setElements([no*(this[5]*po-this[9]*yo+this[13]*vo),-no*(this[1]*po-this[9]*go+this[13]*mo),no*(this[1]*yo-this[5]*go+this[13]*bo),-no*(this[1]*vo-this[5]*mo+this[9]*bo),-no*(this[4]*po-this[8]*yo+this[12]*vo),no*(this[0]*po-this[8]*go+this[4]*mo),-no*(this[0]*yo-this[4]*go+this[12]*bo),no*(this[0]*vo-this[4]*mo+this[8]*bo),no*(this[7]*uo-this[11]*co+this[15]*so),-no*(this[3]*uo-this[11]*lo+this[15]*fo),no*(this[3]*co-this[7]*lo+this[15]*ho),-no*(this[3]*so-this[7]*fo+this[11]*ho),no*ro,no*oo,no*io,no*ao])},jo.prototype.translate=(wo=Po.new(),function(t,e){return wo[12]=t[0]||0,wo[13]=t[1]||0,wo[14]=t[2]||0,this.mult(wo,e)}),jo.prototype.translateX=(Ao=qr.new(),function(t,e){return this.translate(Ao.setX(t),e),this}),jo.prototype.translateY=function(){var t=qr.new();return function(e,n){return this.translate(t.setY(e),n),this}}(),jo.prototype.translateZ=function(){var t=qr.new();return function(e,n){return this.translate(t.setZ(e),n),this}}(),jo.prototype.rotate=function(){var t,e,n,r,o,i,a,u,c,s=Po.new(),l=qr.new(),f=0,h=0,p=0;return function(d,y,v){return l.copy(d).normalize(),t=Math.cos(y),e=Math.sin(y),n=1-t,r=l.x*l.y*n,o=l.x*l.z*n,i=l.y*l.z*n,a=l.x*e,u=l.y*e,c=l.z*e,s[0]=l.x*l.x*n+t,s[1]=r-c,s[2]=o+u,s[3]=0,s[4]=r+c,s[5]=l.y*l.y*n+t,s[6]=i-a,s[7]=0,s[8]=o-u,s[9]=i+a,s[10]=l.z*l.z*n+t,s[11]=0,s[12]=0,s[13]=0,s[14]=0,s[15]=1,f=this[12],h=this[13],p=this[14],this[12]=this[13]=this[14]=0,this.mult(s,this,v),this[12]=f,this[13]=h,this[14]=p,this}}(),jo.prototype.rotateX=(So=Po.new(),function(t,e){return xo=Math.cos(t),Eo=Math.sin(t),this.mult(So.copy([1,0,0,0,0,xo,-Eo,0,0,Eo,xo,0,0,0,0,1]),e)}),jo.prototype.rotateY=function(){var t,e,n=Po.new();return function(r,o){return t=Math.cos(r),e=Math.sin(r),this.mult(n.copy([t,0,-e,0,0,1,0,0,e,0,t,0,0,0,0,1]),o)}}(),jo.prototype.rotateZ=function(){var t,e,n=Po.new();return function(r,o){return t=Math.cos(r),e=Math.sin(r),this.mult(n.copy([t,-e,0,0,e,t,0,0,0,0,1,0,0,0,0,1]),o)}}(),jo.prototype.rotateGlobX=(Oo=qr.new([1,0,0]),function(t,e){return this.rotate(Oo,t,e)}),jo.prototype.rotateGlobY=function(){var t=qr.new([0,1,0]);return function(e,n){return this.rotate(t,e,n)}}(),jo.prototype.rotateGlobZ=function(){var t=qr.new([0,0,1]);return function(e,n){return this.rotate(t,e,n)}}(),jo.prototype.scale=(ko=Po.new(),_o=qr.new(),function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"number"==typeof t?_o.x=_o.y=_o.z=t:_o.set(t),ko[0]=_o[0]||1,ko[5]=_o[1]||1,ko[10]=_o[2]||1,this.mult(ko,e)}),jo.prototype.scaleX=function(){var t=qr.new();return function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.scale(t.setX(e),n),this}}(),jo.prototype.scaleY=function(){var t=qr.new();return function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.scale(t.setY(e),n),this}}(),jo.prototype.scaleZ=function(){var t=qr.new();return function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.scale(t.setY(e),n),this}}(),window.Matrix=t;var Bo=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=Ro(e),function(t,e){if(e&&("object"==Io(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Lo()?Reflect.construct(e,n||[],Ro(t).constructor):e.apply(t,n))}(this,e,[t])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Mo(t,e)}(e,t),function(t,e){return e&&To(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"w",get:function(){return this[3]},set:function(t){this[3]=t}},{key:"clone",value:function(){return new e(this)}},{key:"set",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(t)?(this[0]=t[0]||0,this[1]=t[1]||0,this[2]=t[2]||0,this[3]=t[3]||0):(this[0]=t.x||0,this[1]=t.y||0,this[2]=t.z||0,this[3]=t.w||0),this}},{key:"copy",value:function(t){return this[0]=t[0],this[1]=t[1],this[2]=t[2],this[3]=t[3],this}},{key:"setW",value:function(t){return this[3]=t,this}},{key:"multMatrixColumn",value:function(t){return this.set([t[0]*this[0]+t[4]*this[1]+t[8]*this[2]+t[12]*this[3],t[1]*this[0]+t[5]*this[1]+t[9]*this[2]+t[13]*this[3],t[2]*this[0]+t[6]*this[1]+t[10]*this[2]+t[14]*this[3],t[3]*this[0]+t[7]*this[1]+t[11]*this[2]+t[15]*this[3]])}},{key:"multMatrix",value:function(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.multVector(this):this.set([this[0]*t[0]+this[1]*t[1]+this[2]*t[2]+this[3]*t[3],this[0]*t[4]+this[1]*t[5]+this[2]*t[6]+this[3]*t[7],this[0]*t[8]+this[1]*t[9]+this[2]*t[10]+this[3]*t[11],this[0]*t[12]+this[1]*t[13]+this[2]*t[14]+this[3]*t[15]]),this}}])}(Wr),Fo=function(){var t=Bo,e=function(e){return e instanceof t};return{new:function(n){return e(n)?n.clone():new t(n)},is:e,static:t}}();function No(t){return No="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},No(t)}function Do(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Uo(r.key),r)}}function Uo(t){var e=function(t){if("object"!=No(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=No(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==No(e)?e:e+""}window.Vector=e;var Go=function(){return function(t,e){return e&&Do(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.StMS=1e3,this.MtS=60,this.HtS=3600,this.DtS=86400,this.WtS=604800,this.DtH=24,this.MStS=1/this.StMS,this.StM=1/this.MtS,this.StH=1/this.HtS,this.StD=1/this.DtS,this.StW=1/this.WtS,this.HtD=1/this.DtH,this.monthWeek=4,this.weekDays=7,this.workDays=5,this.maxTimeoutDelay=3*this.WtS*this.StMS,this.locTimeMS=this.getNowLoc(),this.servTimeMS=this.locTimeMS,this.timezone=this.getTimezoneLoc(),this.syncDelay=1/0}),[{key:"getNowLoc",value:function(){return Date.now()}},{key:"getTimezoneLoc",value:function(){return Math.trunc((new Date).getTimezoneOffset()/-this.MtS)}},{key:"setTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.locTimeMS,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locTime,r=void 0===n?this.getNowLoc():n,o=e.timezone,i=void 0===o?this.timezone:o,a=e.syncDelay,u=void 0===a?1/0:a;return this.timezone=i,u>this.syncDelay||(this.servTimeMS=t*this.StMS,this.locTimeMS=r,this.syncDelay=u),this}},{key:"getNow",value:function(){return Math.trunc(.001*this.getNowMS())}},{key:"getNowMS",value:function(){return this.servTimeMS+this.getNowLoc()-this.locTimeMS}}])}(),Qo=new Go,zo=__webpack_require__(48964);function Yo(t){return Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yo(t)}function Ho(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Vo(r.key),r)}}function Vo(t){var e=function(t){if("object"!=Yo(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Yo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Yo(e)?e:e+""}var $o=function(){return function(t,e){return e&&Ho(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}),[{key:"init",value:function(){return this}},{key:"setVolume",value:function(t){return zo.Howler.volume(t),this}},{key:"getVolume",value:function(){return zo.Howler.volume()}},{key:"isAudioContexAvail",value:function(){return"running"==zo.Howler.ctx.state}}])}(),Wo=(new $o,__webpack_require__(67346));function qo(t){return qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qo(t)}function Jo(){Jo=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==qo(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(qo(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Ko(t){return function(t){if(Array.isArray(t))return Xo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Xo(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xo(t,e):void 0}}(t)||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 Xo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var Zo=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))};function ti(t,e){return new Promise((function(n,r){Wo.Ay.fetchLocalFile(t,e).then((function(t){null!=t?t.blob().then((function(t){n(t)})).catch((function(t){r(t)})):r("Empty fetchLocalFile result")})).catch((function(t){r(t)}))}))}function ei(t){return Zo(this,void 0,void 0,Jo().mark((function e(){var n,r;return Jo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ci.push({key:"start fetch media",src:t}),e.next=3,ti(t);case 3:return n=e.sent,ci.push({key:"start fetch media - blob fetched success",src:t}),e.next=7,ni(new File([n],"image",{type:n.type,lastModified:(new Date).getTime()}),!1);case 7:return r=e.sent,ci.push({key:"start fetch media - file created success",src:t}),e.abrupt("return",r);case 10:case"end":return e.stop()}}),e)})))}function ni(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Zo(this,void 0,void 0,Jo().mark((function n(){return Jo().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise((function(n){var r=new FileReader;r.onloadend=function(){if(e){var t=String(r.result).replace("data:","").replace(/^.+,/,"");n(t)}else n(String(r.result))},r.readAsDataURL(t)})));case 1:case"end":return n.stop()}}),n)})))}function ri(t){var e=[];return t.replace(/src:[ ]?url\(([^) ]+)/g,(function(t,n){return e.push(n.replace(/["']/g,"")),t})),e}function oi(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg",t);for(var r in e)n.setAttributeNS(null,r.replace(/[A-Z]/g,(function(t,e,n,r){return"-"+t.toLowerCase()})),e[r]);return n}var ii=function(t,e,n,r){var o=new window.Image;o.setAttribute("decode","async"),r&&(o.setAttribute("crossOrigin",r),o.crossOrigin=r),o.onerror=n,o.onload=function(t){var n=function(){return e(o)};"function"==typeof o.decode?o.decode().then(n,n):setTimeout(n,0)},o.src=t};function ai(t,e,n,r,o){!function(t,e,n,r,o,i,a,u,c){var s;Zo(this,void 0,void 0,Jo().mark((function i(){var l,f,h,p,d;return Jo().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:d=function(){return Zo(this,void 0,void 0,Jo().mark((function o(){var i,s,p,d,y,v,g,m,b,w=this;return Jo().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=t.cloneNode(!0),null!=e&&"string"==typeof e&&e.length>0)for(s=Array.prototype.slice.call(i.querySelectorAll(e)),p=0;p<s.length;p++)(d=s[p])&&d.style&&d.style.setProperty&&d.style.setProperty("display","none");return i.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),f.appendChild(i),y=[],ri(h).forEach((function(t){y.push(new Promise((function(e,n){ei(t).then((function(n){h=h.replace(t,n),e()})).catch((function(t){e()}))})))})),f.querySelectorAll("video").forEach((function(t){var e,n,r=t.getAttribute("poster");if(r){var o=t.className,i=document.createElement("img");i.src=r,i.className=o,null===(e=t.parentNode)||void 0===e||e.appendChild(i)}null===(n=t.parentNode)||void 0===n||n.removeChild(t)})),f.querySelectorAll("img").forEach((function(t){t.crossOrigin="Anonymous",y.push(new Promise((function(e,n){ei(t.src).then((function(n){t.onload=function(n){return t.decode().then((function(){return e()}))},t.onerror=function(t){console.error(t),e()},t.src=n})).catch((function(t){e()}))})))})),o.next=10,Promise.all(y);case 10:(v=oi("style",{})).textContent=h,l.appendChild(v),ci.push({key:"all images fetched success"}),g=(new window.XMLSerializer).serializeToString(l),ci.push({key:"svg converted to xml - success",dataLength:g.length}),m="data:image/svg+xml;base64,"+btoa(encodeURIComponent(g).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(parseInt(e,16))}))),b=function(t,e){return new Promise((function(n){var r=0,o=function(){r<2?(null==e||e.drawImage(t,0,0),++r,window.requestAnimationFrame(o)):n()};window.requestAnimationFrame(o)}))},ii(m,(function(t){return Zo(w,void 0,void 0,Jo().mark((function e(){var o,i,s,l;return Jo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,ci.push({key:"svg base64 img decoded - success",dataLength:g.length}),o=document.createElement("canvas"),!(i=o.getContext("2d"))){e.next=21;break}return o.style.width=n+"px",o.style.height=r+"px",o.width=2*n,o.height=2*r,i.scale(2,2),e.next=12,b(t,i);case 12:return s=o.toDataURL("image/jpeg",null!=a?a:.96),ci.push({key:"canvas convert to dataURL - success",dataURLLength:s.length}),e.next=16,fetch(s);case 16:return e.next=18,e.sent.blob();case 18:l=e.sent,ci.push({key:"canvas blob fetched - success",blobSize:l.size}),u(l);case 21:e.next=27;break;case 23:e.prev=23,e.t0=e.catch(0),ci.push({key:"fail in canvas to img decoder",e:e.t0}),c(e.t0);case 27:case"end":return e.stop()}}),e,null,[[0,23]])})))}),(function(t){ci.push({key:"fail in canvas to img decoder 2",encodingError:t,uri:m}),c("error render svg image: "+t)}),"Anonymous");case 21:case"end":return o.stop()}}),o)})))},l=oi("svg",{width:String(n),height:String(r),style:"background-color: #fff"}),f=oi("foreignObject",{x:0,y:0,width:"100%",height:"100%",fontSize:"".concat(o.fontSize,"px")}),l.appendChild(f),h=(null!==(s=o.outerCss)&&void 0!==s?s:"")+(y=void 0,void 0,y="",v=Ko(window.document.styleSheets).find((function(t){var e,n;return"active"===(null===(n=null===(e=t.ownerNode)||void 0===e?void 0:e.dataset)||void 0===n?void 0:n.styled)})),null!=v&&(y+=Ko(v.rules).map((function(t){return t.cssText})).join("")),y),p=function(t){return"".concat(t*o.fontSize,"px")},h=h.replace(/([+-]?([0-9]*[.])?[0-9]+)rem/g,(function(t,e){return p(e)})),ci.push({key:"svg created",styleLength:h.length}),d();case 9:case"end":return i.stop()}var y,v}),i)})))}(t,e,n.width,n.height,n,0,n.imageQuality,r,o)}function ui(t){return Zo(this,void 0,void 0,Jo().mark((function e(){var n;return Jo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=new Image).src=t,e.next=4,new Promise((function(t){n.onload=function(){0!==n.height&&0!==n.width?t(!0):t(!1)},n.onerror=function(e){t(!1)}}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))}var ci=[];function si(t,e,n){return Zo(this,void 0,void 0,Jo().mark((function r(){return Jo().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return ci=[{key:"start screenshotFromDOMElement",opt:e}],r.abrupt("return",new Promise((function(r,o){null==n&&(n=""),ai(t,n,e,(function(t){return Zo(this,void 0,void 0,Jo().mark((function e(){var n,o;return Jo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ni(new File([t],"image",{type:t.type,lastModified:(new Date).getTime()}));case 2:return e.t0=e.sent,e.t1=t.type,e.t2={file:e.t0,name:"image.jpg",type:e.t1},n=[e.t2],ci.push({key:"Image success",filesArrayLength:n.length,type:n[0].type,base64Length:n[0].file.length}),e.next=9,ui("data:image/jpeg;base64,"+n[0].file);case 9:o=e.sent,ci.push({key:"Image success is valid : ",isValid:o,base64:n[0].file.substring(0,100)}),o||ci.push({key:"Image success is valid fail: ",isValid:o,base64:n[0].file}),r(n);case 13:case"end":return e.stop()}}),e)})))}),(function(t){console.error("Image fail: "+t),ci.push({key:"Image fail",e:t}),o(t)}))})));case 2:case"end":return r.stop()}}),r)})))}function li(t){return li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},li(t)}function fi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,hi(r.key),r)}}function hi(t){var e=function(t){if("object"!=li(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=li(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==li(e)?e:e+""}var pi=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=0,this.y=0,this.set(e,n)}return function(t,e){return e&&fi(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"set",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"object"===li(t)?(this.x=t.x||0,this.y=t.y||0):(this.x=t||0,this.y=e||0),this}},{key:"clone",value:function(){return new t(this.x,this.y)}},{key:"getLength",value:function(){return Math.sqrt(this.x*this.x+this.y*this.y)}},{key:"perp",value:function(){var t=this.x;return this.x=this.y,this.y=-t,this}},{key:"getPerp",value:function(){return this.clone().perp()}},{key:"normalize",value:function(){var t=this.getLength();return this.x/=t,this.y/=t,this}},{key:"getNormalize",value:function(){return this.clone().normalize()}},{key:"multOnScalar",value:function(t){return this.x*=t,this.y*=t,this}},{key:"getMultOnScalar",value:function(t){return this.clone().multOnScalar(t)}},{key:"trunc",value:function(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}},{key:"getTrunc",value:function(){return this.clone().trunc()}},{key:"ceil",value:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}},{key:"getCeil",value:function(){return this.clone().trunc()}},{key:"round",value:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},{key:"getRound",value:function(){return this.clone().round()}},{key:"abs",value:function(){return this.x=Math.abs(this.x),this.y=Math.abs(this.y),this}},{key:"getAbs",value:function(){return this.clone().abs()}},{key:"mult",value:function(t){return this.x*=t.x,this.y*=t.y,this}},{key:"getMult",value:function(t){return this.clone().mult(t)}},{key:"divide",value:function(t){return this.x/=t.x,this.y/=t.y,this}},{key:"getDivide",value:function(t){return this.clone().divide(t)}},{key:"multScalar",value:function(t){return this.x*t.x+this.y*t.y}},{key:"cross",value:function(t){return this.x*t.y-this.y*t.x}},{key:"add",value:function(t){return this.x+=t.x,this.y+=t.y,this}},{key:"getAdd",value:function(t){return this.clone().add(t)}},{key:"diff",value:function(t){return this.x-=t.x,this.y-=t.y,this}},{key:"getDiff",value:function(t){return this.clone().diff(t)}},{key:"moveInDir",value:function(t){return this.normalize().multOnScalar(t)}},{key:"moveAlongLineInDir",value:function(t,e){return this.getDiff(t).moveInDir(e).add(this)}},{key:"rotate",value:function(t){var e=this.x,n=this.y;return this.x=e*Math.cos(t)-n*Math.sin(t),this.y=e*Math.sin(t)+n*Math.cos(t),this}},{key:"getRotate",value:function(t){return this.clone().rotate(t)}},{key:"calcAngle",value:function(t){var e=this.multScalar(t)/(this.getLength()*t.getLength());return Math.acos(Math.max(-1,Math.min(1,e)))*Math.sign(this.cross(t)||1)}}])}(),di=function(){return new pi(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)};function yi(t){return yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yi(t)}function vi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,bi(r.key),r)}}function mi(t,e,n){return e&&gi(t.prototype,e),n&&gi(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function bi(t){var e=function(t){if("object"!=yi(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=yi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==yi(e)?e:e+""}var wi=function(){return mi((function t(e,n){vi(this,t),this.id=e,this.uid=++t.pointerCount,this.coords={startPos:di(0,0),currentPos:di(0,0),previousPos:di(0,0)},Object.assign(this.coords,n)}),[{key:"getId",value:function(){return this.id}},{key:"getUId",value:function(){return this.uid}},{key:"getCurrentDelta",value:function(){return this.coords.currentPos.getDiff(this.coords.previousPos)}},{key:"getDelta",value:function(){return this.coords.currentPos.getDiff(this.coords.startPos)}},{key:"reset",value:function(){var t=this.coords.currentPos;return this.coords.previousPos=t,this.coords.startPos=t,this}}])}();wi.pointerCount=0;var Ai,xi=function(){return mi((function t(){vi(this,t),this.list={},this._length=0}),[{key:"length",get:function(){return this._length}},{key:"add",value:function(t){return this.list[t.getId()]||(this.list[t.getId()]=t,this._length+=1),this}},{key:"remove",value:function(t){return!!this.list[t.getId()]&&(delete this.list[t.getId()],this._length-=1,!0)}},{key:"clear",value:function(){return this.list={},this._length=0,this}},{key:"getPointerById",value:function(t){return this.list[t]||null}},{key:"getFirst",value:function(){for(var t in this.list)return this.list[t]}},{key:"getList",value:function(){return this.list}},{key:"hasMultiPointers",value:function(){return this.length>1}}])}(),Ei=mi((function t(){vi(this,t)})),Si=function(){return mi((function t(e){vi(this,t),this.dists={start:0,current:0,delta:0,deltaPerc:0},this.pointers=e,this.dists.start=this.calcCurrentDist()}),[{key:"getPointers",value:function(){return this.pointers}},{key:"calcStartPos",value:function(){var t=this.pointers[0].coords.startPos,e=this.pointers[1].coords.startPos;return t.getDiff(e)}},{key:"calcCurrentPos",value:function(){var t=this.pointers[0].coords.currentPos,e=this.pointers[1].coords.currentPos;return t.getDiff(e)}},{key:"calcPreviousPos",value:function(){var t=this.pointers[0].coords.previousPos,e=this.pointers[1].coords.previousPos;return t.getDiff(e)}},{key:"calcStartDist",value:function(){return this.calcStartPos().getLength()}},{key:"calcCurrentDist",value:function(){return this.calcCurrentPos().getLength()}},{key:"calcPreviousDist",value:function(){return this.calcPreviousPos().getLength()}},{key:"getDists",value:function(){return this.dists.current=this.calcCurrentDist(),this.dists.delta=this.dists.current-this.dists.start,this.dists.deltaPerc=this.dists.current/this.dists.start,this.dists}},{key:"getScaleVectorDelta",value:function(){var t=this.calcCurrentDist()/this.calcPreviousDist();return di(t,t)}},{key:"getScaleVector",value:function(){var t=this.calcCurrentDist()/this.calcStartDist();return di(t,t)}},{key:"getRotateAngleDelta",value:function(){var t=this.calcPreviousPos(),e=this.calcCurrentPos();return t.calcAngle(e)}},{key:"getRotateAngle",value:function(){var t=this.calcStartPos(),e=this.calcCurrentPos();return t.calcAngle(e)}}])}(),Oi=function(){return mi((function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};vi(this,t),this.eventTrackerState={pointerList:new xi,tapHandler:!1,tapPointersTO:{},dragger:null,pincher:null},this.eventsOptions={threshold:{doubleTap:10,drag:10},delay:{tap:200,longTap:400}},this.enabled=!0,this.eventControllerOptions={handlers:{},maxPointerCount:2},this.onTouchStart=function(t){for(var n=t.changedTouches.length,r=0;r<n;++r){var o=t.changedTouches[r];e.onPointerDown(e.getPointerEventFromTouch(o,t))}},this.onTouchMove=function(t){for(var n=t.changedTouches.length,r=0;r<n;++r){var o=t.changedTouches[r];e.onPointerMove(e.getPointerEventFromTouch(o,t))}},this.onTouchEndTimeStamp=0,this.onTouchEnd=function(t){e.onTouchEndTimeStamp=t.timeStamp;for(var n=t.changedTouches.length,r=0;r<n;++r){var o=t.changedTouches[r];e.onPointerUp(e.getPointerEventFromTouch(o,t))}},this.onTouchCancel=function(t){for(var n in t.changedTouches){var r=t.changedTouches[n];e.onPointerCancel(e.getPointerEventFromTouch(r,t))}},this.onMouseDown=function(t){if(!(t.timeStamp-e.onTouchEndTimeStamp<1e3)&&!1!==e.onPointerDown(e.getPointerEventFromMouse(t.nativeEvent))){var n=function(t){e.onPointerMove(e.getPointerEventFromMouse(t))},r=function(t){e.onPointerUp(e.getPointerEventFromMouse(t)),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",n,!1),document.addEventListener("mouseup",r,!1)}},this.onPointerDown=function(t){var n,r;if(e.eventTrackerState.pointerList.length>e.eventControllerOptions.maxPointerCount-1)return!1;e.eventTrackerState.canceled=!1;var o=e.getCoorVectorFromEvent(t),i=new wi(t.pointerId,{startPos:o,currentPos:o,previousPos:o});return null===(r=(n=e.eventControllerOptions.handlers).onPointerDown)||void 0===r||r.call(n,i,t),e.eventTrackerState.pointerList.add(i),e.eventTrackerState.pointerList.hasMultiPointers()?(e.onPinchStart(t),!0):(e.attachTapHandler(),e.attachLongTapHandler(),!0)},this.onPointerMove=function(t){var n,r,o=e.eventTrackerState.pointerList.getPointerById(t.pointerId);if(o&&!e.eventTrackerState.canceled)if(null===(r=(n=e.eventControllerOptions.handlers).onPointerMove)||void 0===r||r.call(n,o,t),o.coords.previousPos=o.coords.currentPos,o.coords.currentPos=e.getCoorVectorFromEvent(t),e.eventTrackerState.pincher)e.onPinch(t);else if(e.eventTrackerState.dragger)e.onDrag(o,t);else{var i=o.coords.startPos.getDiff(o.coords.currentPos).getLength(),a=e.eventsOptions.threshold.drag,u=.07*window.innerWidth,c=.93*window.innerWidth;(o.coords.startPos.x<u||o.coords.startPos.x>c)&&(a=Math.max(50,a)),i>a&&e.onDragStart(o,t)}},this.onPointerUp=function(t){var n,r,o=e.eventTrackerState.pointerList.getPointerById(t.pointerId);o&&!e.eventTrackerState.canceled&&(null===(r=(n=e.eventControllerOptions.handlers).onPointerUp)||void 0===r||r.call(n,o,t),e.eventTrackerState.pointerList.remove(o),e.detachLongTapHandler(),e.eventTrackerState.pincher?e.onPinchEnd(t):e.eventTrackerState.dragger?e.onDragEnd(o,t):e.eventTrackerState.tapHandler&&e.tapHandler(o,t))},this.onPointerCancel=function(t){var n,r,o=e.eventTrackerState.pointerList.getPointerById(t.pointerId);o&&(null===(r=(n=e.eventControllerOptions.handlers).onPointerCancel)||void 0===r||r.call(n,o,t),e.cancelTracking())},this.onClick=function(t){e.eventTrackerState.tapHandler&&e.clickHandler(t)},this.onContextMenu=function(t){return t.preventDefault()},this.eventControllerOptions=Object.assign(Object.assign({},this.eventControllerOptions),n),this.eventControllerOptions.maxPointerCount>2&&(this.eventControllerOptions.maxPointerCount=2)}),[{key:"getCoorVectorFromEvent",value:function(t){return di(t.pageX,t.pageY)}},{key:"onTap",value:function(t,e){var n,r;null===(r=(n=this.eventControllerOptions.handlers).onTap)||void 0===r||r.call(n,t,e)}},{key:"onImmediateTap",value:function(t,e){var n,r;null===(r=(n=this.eventControllerOptions.handlers).onImmediateTap)||void 0===r||r.call(n,t,e)}},{key:"_onClick",value:function(t){var e,n;null===(n=(e=this.eventControllerOptions.handlers).onClick)||void 0===n||n.call(e,t)}},{key:"onDoubleTap",value:function(t,e){var n,r;this.detachTapHandler(),null===(r=(n=this.eventControllerOptions.handlers).onDoubleTap)||void 0===r||r.call(n,t,e)}},{key:"onLongTap",value:function(t,e){var n,r;this.detachTapHandler(),null===(r=(n=this.eventControllerOptions.handlers).onLongTap)||void 0===r||r.call(n,t,e)}},{key:"onDragStart",value:function(t,e){var n,r;this.detachTapHandler(),this.detachLongTapHandler(),this.eventTrackerState.dragger=new Ei,null===(r=(n=this.eventControllerOptions.handlers).onDragStart)||void 0===r||r.call(n,t,e)}},{key:"onDrag",value:function(t,e){var n,r;null===(r=(n=this.eventControllerOptions.handlers).onDrag)||void 0===r||r.call(n,t,e)}},{key:"onDragEnd",value:function(t,e){var n,r;this.detachDragHandler(),null===(r=(n=this.eventControllerOptions.handlers).onDragEnd)||void 0===r||r.call(n,t,e)}},{key:"onPinchStart",value:function(t){var e,n;this.detachTapHandler(),this.detachLongTapHandler(),this.detachDragHandler();var r,o=this.eventTrackerState.pointerList.getList(),i=[];for(var a in o)if((r=o[a]).coords.startPos=r.coords.currentPos.clone(),r.coords.previousPos=r.coords.currentPos.clone(),i.push(r),i.length>1)break;this.eventTrackerState.pincher=new Si(i),null===(n=(e=this.eventControllerOptions.handlers).onPinchStart)||void 0===n||n.call(e,this.eventTrackerState.pincher,t)}},{key:"onPinch",value:function(t){var e,n;this.eventTrackerState.pincher&&(this.eventTrackerState.pincher.getDists(),null===(n=(e=this.eventControllerOptions.handlers).onPinch)||void 0===n||n.call(e,this.eventTrackerState.pincher,t))}},{key:"onPinchEnd",value:function(t){var e,n;this.eventTrackerState.pincher&&(null===(n=(e=this.eventControllerOptions.handlers).onPinchEnd)||void 0===n||n.call(e,this.eventTrackerState.pincher,t),this.detachPinchHandler(),this.restartDragHandler())}},{key:"getPointerEventFromTouch",value:function(t,e){var n,r=e;return r.ascentInfo=null!==(n=r.ascentInfo)&&void 0!==n?n:{},{pageX:t.pageX,pageY:t.pageY,target:t.target,pointerId:t.identifier,preventDefault:r.preventDefault,stopPropagation:r.stopPropagation,nativeEvent:r,get ascentInfo(){return r.ascentInfo}}}},{key:"getPointerEventFromMouse",value:function(t){var e,n=t;return n.ascentInfo=null!==(e=n.ascentInfo)&&void 0!==e?e:{},{pageX:n.pageX,pageY:n.pageY,target:n.target,pointerId:101,preventDefault:n.preventDefault,stopPropagation:n.stopPropagation,nativeEvent:n,get ascentInfo(){return n.ascentInfo}}}},{key:"tapHandler",value:function(t,e){var n=this;if(this.eventTrackerState.firstTapPointer){var r=this.eventTrackerState.firstTapPointer;if(delete this.eventTrackerState.firstTapPointer,r.coords.startPos.getDiff(t.coords.startPos).getLength()<this.eventsOptions.threshold.doubleTap){var o=this.eventTrackerState.tapPointersTO[t.getUId()];clearTimeout(o),delete this.eventTrackerState.tapPointersTO[t.getUId()],this.onDoubleTap(t,e)}else this.tapHandler(t,e)}else{this.eventTrackerState.firstTapPointer=t;var i=setTimeout((function(){var r;(null===(r=n.eventTrackerState.firstTapPointer)||void 0===r?void 0:r.getUId())===t.getUId()&&delete n.eventTrackerState.firstTapPointer,delete n.eventTrackerState.tapPointersTO[t.getUId()],n.onTap(t,e)}),this.eventsOptions.delay.tap);this.onImmediateTap(t,e),this.eventTrackerState.tapPointersTO[t.getUId()]=i}}},{key:"longTapHandler",value:function(){var t=this;this.eventTrackerState.longTapTO=setTimeout((function(){t.onLongTap()}),this.eventsOptions.delay.longTap)}},{key:"clickHandler",value:function(t){this._onClick(t)}},{key:"attachTapHandler",value:function(){this.eventTrackerState.tapHandler=!0}},{key:"detachTapHandler",value:function(){for(var t in this.eventTrackerState.tapPointersTO)clearTimeout(this.eventTrackerState.tapPointersTO[t]);this.eventTrackerState.tapHandler=!1}},{key:"attachLongTapHandler",value:function(){this.detachLongTapHandler(),this.longTapHandler()}},{key:"detachLongTapHandler",value:function(){clearTimeout(this.eventTrackerState.longTapTO)}},{key:"detachDragHandler",value:function(){this.eventTrackerState.dragger=null}},{key:"restartDragHandler",value:function(){var t=this.eventTrackerState.pointerList.getFirst();t&&(t.coords.startPos=t.coords.previousPos=t.coords.currentPos)}},{key:"detachPinchHandler",value:function(){this.eventTrackerState.pincher=null}},{key:"cancelTracking",value:function(){this.eventTrackerState.canceled=!0,this.eventTrackerState.pointerList.clear(),this.detachTapHandler(),this.detachLongTapHandler(),this.detachDragHandler(),this.detachPinchHandler()}},{key:"getEventHandlers",value:function(){return this.enabled?{onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd,onTouchCancel:this.onTouchCancel,onMouseDown:this.onMouseDown,onClick:this.onClick,onContextMenu:this.onContextMenu}:{}}},{key:"setEventHandlers",value:function(t){return this.eventControllerOptions.handlers=t,this}},{key:"enable",value:function(){return this.enabled=!0,this}},{key:"disable",value:function(){return this.enabled=!1,this}},{key:"setDelay",value:function(t){return Object.assign(this.eventsOptions.delay,t),this}},{key:"setThreshold",value:function(t){return Object.assign(this.eventsOptions.threshold,t),this}},{key:"resetDrag",value:function(t){return t.reset(),this.detachDragHandler(),this}}])}();function ki(t,e,n){return String(t).replace(new RegExp(function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e),"g"),(function(){return n}))}!function(t){t.light="light",t.dark="dark"}(Ai||(Ai={}));var _i=function(t){return{}},ji=Object.assign(Object.assign({},{}),{contrastText:{}}),Pi={bgPrimary:"#000000",textPrimary:"#FFFFFF",button:{primary:{bg:"#FFFFFF",text:"#000000",pressed:{bg:"",text:""}}}},Ii=Object.assign(Object.assign({},Pi),{bgPrimary:"#FFFFFF",textPrimary:"#000000"}),Ti=function(t){var e={width:t.width,height:t.height};return{size:e,ratio:e.width/e.height,ratioInv:e.height/e.width}}({width:540,height:1080}),Ci=Object.assign(Object.assign({},{colors:Pi,rColors:Ii,sizes:{header:{height:0},footer:{height:0}},durations:{slow:1e3,middle:300,fast:100},order:{modal:1e3,toast:1e3},fontSize:{browserCtx:16},viewPort:Ti,modal:{defBlur:5,defZIndex:1e3,overlay:{defOpacity:.8,defColor:"#000000"}}}),{styles:{title:{},title1:{},title2:{}},scheme:ji,sai:{top:0,left:0,right:0,bottom:0}});function Li(t){return Li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Li(t)}function Ri(t){return function(t){if(Array.isArray(t))return Fi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Bi(t)||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 Mi(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||Bi(t,e)||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 Bi(t,e){if(t){if("string"==typeof t)return Fi(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fi(t,e):void 0}}function Fi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Ni(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Di(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ni(Object(n),!0).forEach((function(e){Ui(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ni(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ui(t,e,n){return(e=function(t){var e=function(t){if("object"!=Li(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Li(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Li(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gi(t,e){for(var n in t)e(t[n],n)}function Qi(t,e){t.forEach(e)}function zi(t,e){if(!t)throw Error(e)}function Yi(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.node,n=void 0===e?[]:e,r=t.from,o=t.source,i=t.parent,a=void 0===i?r||o:i,u=t.to,c=t.target,s=t.child,l=void 0===s?u||c:s,f=t.scope,h=void 0===f?{}:f,p=t.meta,d=void 0===p?{}:p,y=t.family,v=void 0===y?{type:"regular"}:y,g=t.regional,m=Ua(a),b=Ua(v.links),w=Ua(v.owners),A=[];Qi(n,(function(t){return t&&ja(A,t)}));var x={id:La(),seq:A,next:Ua(l),meta:d,scope:h,family:{type:v.type||"crosslink",links:b,owners:w}};return Qi(b,(function(t){return ja(sa(t),x)})),Qi(w,(function(t){return ja(la(t),x)})),Qi(m,(function(t){return ja(t.next,x)})),g&&Ma&&Da(ha(Ma),[x]),x}function Hi(t,e,n){var r,o=Pu,i=null,a=pu;if(t.target&&(e=t.params,n=t.defer,r=t.meta,o="page"in t?t.page:o,t.stack&&(i=t.stack),a=ya(t)||a,t=t.target),a&&pu&&a!==pu&&(pu=null),Array.isArray(t))for(var u=0;u<t.length;u++)xu("pure",o,ca(t[u]),i,e[u],a,r);else xu("pure",o,ca(t),i,e,a,r);if(!n||ku){var c,s,l,f,h,p,d={isRoot:ku,currentPage:Pu,scope:pu,isWatch:_u,isPure:ju};ku=0;for(var y=function(){var t=f,e=t.idx,n=t.stack,r=t.type;l=n.node,Pu=h=n.page,pu=ya(n),h?p=h.reg:pu&&(p=pu.reg);var o=!!h,i=!!pu,a={fail:0,scope:l.scope};c=s=0;for(var u=e;u<l.seq.length&&!c;u++){var y=l.seq[u];if(y.order){var v=y.order,g=v.priority,m=v.barrierID,b=m?h?"".concat(h.fullID,"_").concat(m):m:0;if(u!==e||r!==g)return m?Ou.has(b)||(Ou.add(b),Eu(u,n,g,m)):Eu(u,n,g),1;m&&Ou.delete(b)}switch(y.type){case"mov":var w=void 0,A=y.data;switch(A.from){case ua:w=ha(n);break;case"a":case"b":w=n[A.from];break;case"value":w=A.store;break;case"store":if(p&&!p[A.store.id])if(o){var x=Cu(h,A.store.id);n.page=h=x,x?p=x.reg:i?(Mu(pu,A.store,0,1,A.softRead),p=pu.reg):p=void 0}else i&&Mu(pu,A.store,0,1,A.softRead);w=uu(p&&p[A.store.id]||A.store)}switch(A.to){case ua:n.value=w;break;case"a":case"b":n[A.to]=w;break;case"store":Lu(h,pu,l,A.target).current=w}break;case"compute":var E=y.data;if(E.fn){_u="watch"===va(l,"op"),ju=E.pure;var S=E.safe?(0,E.fn)(ha(n),a.scope,n):Bu(a,E.fn,n);E.filter?s=!S:n.value=S,_u=d.isWatch,ju=d.isPure}}c=a.fail||s}if(du&&du(n,a),!c){var O=ha(n),k=ya(n);if(Qi(l.next,(function(t){xu("child",h,t,n,O,k)})),k){va(l,"needFxCounter")&&xu("child",h,k.fxCount,n,O,k),va(l,"storeChange")&&xu("child",h,k.storeChange,n,O,k),va(l,"warnSerialize")&&xu("child",h,k.warnSerializeNode,n,O,k);var _=k.additionalLinks[l.id];_&&Qi(_,(function(t){xu("child",h,t,n,O,k)}))}}};f=Au();)y();ku=d.isRoot,Pu=d.currentPage,pu=ya(d)}}function Vi(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"combine")+"(",n="",r=0;return Gi(t,(function(t){r<25&&(null!=t&&(e+=n,e+=ba(t)?ma(t).fullName:t.toString()),r+=1,n=", ")})),e+")"}function $i(t,e){var n,r,o=t;if(e){var i=ma(e);0===t.length?(n=i.path,r=i.fullName):(n=i.path.concat([t]),r=0===i.fullName.length?t:i.fullName+"/"+t)}else n=0===t.length?[]:[t],r=t;return{shortName:o,fullName:r,path:n}}function Wi(t,e){var n=e?t:t[0];Ya(n);var r=n.or,o=n.and;if(o){var i=e?o:o[0];if(Ga(i)&&"and"in i){var a=Wi(o,e);t=a[0],r=Di(Di({},r),a[1])}else t=o}return[t,r]}function qi(t){var e=Fa();if(e){for(var n=e.handlers[t],r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];if(n)return n.apply(void 0,[e].concat(o))}}function Ji(t,e){var n=Fu({or:e,and:"string"==typeof t?{name:t}:t}),r=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Pa(!va(r,"derived"),"call of derived event","createEvent"),Pa(!ju,"unit call from pure function","operators like sample"),Pu?function(t,e,n,r){var o=Pu,i=null;if(e)for(i=Pu;i&&i.template!==e;)i=da(i);Tu(i);var a=t.create(n,r);return Tu(o),a}(r,o,t,n):r.create(t,n)},o=Fa(),i=Object.assign(r,{graphite:Yi({meta:$u(n.actualOp||"event",r,n),regional:1}),create:function(t){return Hi({target:r,params:t,scope:pu}),t},watch:function(t){return Hu(r,t)},map:function(t){return Wu(r,aa,t,[ou()])},filter:function(t){return Wu(r,"filter",t.fn?t:t.fn,[ou(Ja,1)])},filterMap:function(t){return Wu(r,"filterMap",t,[ou(),nu((function(t){return!za(t)}),1)])},prepend:function(t){var e=Ji("* → "+r.shortName,{parent:da(r)});return qi("eventPrepend",ca(e)),zu(e,r,[ou()],"prepend",t),Vu(r,e),e}});return null!=n&&n.domain&&n.domain.hooks.event(i),ga(i,"id",i.graphite.id),Ba(i.graphite),i}function Ki(t,e,n,r){return Va(n,e,"first argument"),zi(Qa(r),"second argument should be a function"),Pa(!va(t,"derived"),"".concat(e," in derived store"),"".concat(e," in store created via createStore")),Qi(Array.isArray(n)?n:[n],(function(e){t.off(e),pa(t).set(e,Qu(qu(e,t,"on",qa,r)))})),t}function Xi(t,e){var n=Fu(e),r=au(t),o=Ji({named:"updates",derived:1});qi("storeBase",r);var i=r.id,a={subscribers:new Map,updates:o,defaultState:t,stateRef:r,getState:function(){var t,e=r;if(Pu){for(var n=Pu;n&&!n.reg[i];)n=da(n);n&&(t=n)}return!t&&pu&&(Mu(pu,r,1),t=pu),t&&(e=t.reg[i]),uu(e)},setState:function(t){return Hi({target:a,params:t,defer:1,scope:pu})},reset:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Qi(e,(function(t){return Ki(a,".reset",t,(function(){return a.defaultState}))})),a},on:function(t,e){return Ki(a,".on",t,e)},off:function(t){var e=pa(a).get(t);return e&&(e(),pa(a).delete(t)),a},map:function(t,e){var n,o;Ga(t)&&(n=t,t=t.fn),Pa(za(e),"second argument of store.map","updateFilter");var i=a.getState();Fa()?o=null:za(i)||(o=t(i,e));var u=Xi(o,{name:"".concat(a.shortName," → *"),derived:1,and:n}),c=qu(a,u,aa,Wa,t);return cu(fa(u),{type:aa,fn:t,from:r}),fa(u).noInit=1,qi("storeMap",r,c),u},watch:function(t,e){if(!e||!ba(t)){var n=Hu(a,t);return qi("storeWatch",r,t)||t(a.getState()),n}return zi(Qa(e),"second argument should be a function"),t.watch((function(t){return e(a.getState(),t)}))}},u=$u("store",a,n),c=a.defaultConfig.updateFilter;a.graphite=Yi({scope:{state:r,fn:c},node:[nu((function(t,e,n){return n.scope&&!n.scope.reg[r.id]&&(n.b=1),t})),ru(r),nu((function(t,e,n){var r=n.a,o=n.b;return!za(t)&&(t!==r||o)}),1),c&&ou(Wa,1),Za({from:ua,target:r})],child:o,meta:Di(Di({},u),{},{defaultState:t}),regional:1}),ga(a,"id",a.graphite.id),ga(a,"rootStateRefId",i);var s=va(a,"serialize"),l=va(a,"derived"),f="ignore"===s,h=va(a,"sid");return h&&(ga(a,"storeChange",1),r.sid=h),h||f||l||ga(a,"warnSerialize",1),zi(l||!za(t),"current state can't be undefined, use null instead"),Da(a,[o]),null!=n&&n.domain&&n.domain.hooks.store(a),l||(a.reinit=Ji({named:"reinit"}),a.reset(a.reinit)),r.meta=a.graphite.meta,Ba(a.graphite),a}function Zi(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,o,i,a=Mi(Wi(e),2);e=a[0],i=a[1];var u,c,s,l=e[e.length-1];if(Qa(l)?(o=e.slice(0,-1),r=l):o=e,1===o.length){var f=o[0];Aa(f)||(u=f,c=1)}if(!c&&(u=o,r)){s=1;var h=r;r=function(t){return h.apply(void 0,Ri(t))}}return zi(Ga(u),"shape should be an object"),Ju(Array.isArray(u),!s,u,i,r)}function ta(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Fu(Qa(t)?{handler:t}:t,e),r=Ji(Qa(t)?{handler:t}:t,Di(Di({},e),{},{actualOp:"effect"})),o=ca(r);ga(o,"op",r.kind="effect"),r.use=function(t){return zi(Qa(t),".use argument should be a function"),l.scope.handler=t,r},r.use.getCurrent=function(){return l.scope.handler};var i=r.finally=Ji({named:"finally",derived:1}),a=r.done=i.filterMap({named:"done",fn:function(t){var e=t.status,n=t.params,r=t.result;if("done"===e)return{params:n,result:r}}}),u=r.fail=i.filterMap({named:"fail",fn:function(t){var e=t.status,n=t.params,r=t.error;if("fail"===e)return{params:n,error:r}}}),c=r.doneData=a.map({named:"doneData",fn:function(t){return t.result}}),s=r.failData=u.map({named:"failData",fn:function(t){return t.error}}),l=Yi({scope:{handler:r.defaultConfig.handler||function(){return zi(0,"no handler used in ".concat(r.getType()))}},node:[nu((function(t,e,n){var o=e.handler,i=ya(n);if(i){var a=i.handlers.unitMap.get(r)||i.handlers.sidMap[r.sid];a&&(o=a)}return t.handler=o,t}),0,1),nu((function(t,e,n){var r=t.params,o=t.req,a=t.handler,u=t.args,c=void 0===u?[r]:u,s=Xu(n),l=Zu(r,o,1,i,n,s),f=Zu(r,o,0,i,n,s),h=Mi(Ku(a,f,c),2),p=h[0],d=h[1];p&&(Ga(d)&&Qa(d.then)?d.then(l,f):l(d))}),0,1)],meta:{op:"fx",fx:"runner"}});o.scope.runner=l,ja(o.seq,nu((function(t,e,n){var r=e.runner,o=da(n)?{params:t,req:{rs:function(t){},rj:function(t){}}}:t;return n.meta||(n.meta={fxID:Ra()}),Hi({target:r,params:o,defer:1,scope:ya(n),meta:n.meta}),o.params}),0,1)),r.create=function(t){var e=function(){var t={};return t.req=new Promise((function(e,n){t.rs=e,t.rj=n})),t.req.catch((function(){})),t}(),n={params:t,req:e};if(pu&&!_u){var o=pu;e.req.finally((function(){Iu(o)})).catch((function(){}))}return Hi({target:r,params:n,scope:pu}),e.req};var f=r.inFlight=Xi(0,{serialize:"ignore",named:(va(r,"name")||r.graphite.id)+".inFlight"}).on(r,(function(t){return t+1})).on(i,(function(t){return t-1})).map({fn:function(t){return t},named:"inFlight"});ga(i,"needFxCounter","dec"),ga(r,"needFxCounter",1);var h=r.pending=f.map({fn:function(t){return t>0},named:"pending"});return Da(r,[i,a,u,c,s,h,f]),null!=n&&n.domain&&n.domain.hooks.effect(r),r}function ea(t){var e,n,r=Mi(Wi(t,1),2);t=r[0],n=r[1];var o=t,i=o.source,a=o.effect,u=o.mapParams,c=ta(t,n);ga(c,"attached",1);var s,l,f=ca(c).scope.runner,h=nu((function(t,e,n){var r,o,a=t.params,s=t.req,l=t.handler,f=c.finally,h=Xu(n),p=Zu(a,s,0,f,n,h),d=n.a,y=Ea(l),v=1;if(u?(v=(r=Mi(Ku(u,p,[a,d]),2))[0],o=r[1]):o=i&&y?d:a,v){if(!y)return t.args=[d,o],1;Hi({target:l,params:{params:o,req:{rs:Zu(a,s,1,f,n,h),rj:p}},page:n.page,defer:1,meta:n.meta})}}),1,1);i?(Aa(i)?Da(l=i,[c]):(l=Zi(i),Da(c,[l])),s=[ru(fa(l)),h]):s=[h],(e=f.seq).splice.apply(e,[1,0].concat(Ri(s))),c.use(a);var p=da(a);return p&&(Object.assign(ma(c),$i(c.shortName,p)),c.defaultConfig.parent=p),Vu(a,c,"effect"),c}function na(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Mi(Wi(e),2),o=Mi(r[0],2),i=o[0],a=o[1],u=r[1],c={};return Gi(a,(function(t,e){var n=c[e]=Ji(e,{parent:da(i),config:u});i.on(n,t),Vu(i,n)})),c}function ra(t,e){Va(t,"merge","first argument");var n=Ji({name:Vi(t,"merge"),derived:1,and:e});return zu(t,n,[],"merge"),n}function oa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,o,i,a,u=Mi(Wi(e),2),c=Mi(u[0],3),s=c[0],l=c[1],f=c[2],h=u[1],p=1;return za(l)&&Ga(s)&&function(t,e){var n=0;return Qi(ec,(function(r){r in t&&(zi(null!=t[r],nc(e,r)),n=1)})),n}(s,"sample")&&(l=s.clock,f=s.fn,p=!s.greedy,a=s.filter,r=s.target,o=s.name,i=s.sid,s=s.source),rc("sample",l,s,a,r,f,o,h,p,1,0,i)}for(var ia="undefined"!=typeof Symbol&&Symbol.observable||"@@observable",aa="map",ua="stack",ca=function(t){return t.graphite||t},sa=function(t){return t.family.owners},la=function(t){return t.family.links},fa=function(t){return t.stateRef},ha=function(t){return t.value},pa=function(t){return t.subscribers},da=function(t){return t.parent},ya=function(t){return t.scope},va=function(t,e){return ca(t).meta[e]},ga=function(t,e,n){return ca(t).meta[e]=n},ma=function(t){return t.compositeName},ba=function(t){return(Qa(t)||Ga(t))&&"kind"in t},wa=function(t){return function(e){return ba(e)&&e.kind===t}},Aa=wa("store"),xa=wa("event"),Ea=wa("effect"),Sa=wa("domain"),Oa=wa("scope"),ka={__proto__:null,unit:ba,store:Aa,event:xa,effect:Ea,domain:Sa,scope:Oa,attached:function(t){return Ea(t)&&1==va(t,"attached")}},_a=function(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)},ja=function(t,e){return t.push(e)},Pa=function(t,e,n){return!t&&console.error("".concat(e," is deprecated").concat(n?", use ".concat(n," instead"):""))},Ia=function(){var t=0;return function(){return""+ ++t}},Ta=Ia(),Ca=Ia(),La=Ia(),Ra=Ia(),Ma=null,Ba=function(t){},Fa=function(){return Ma&&Ma.template},Na=function(t){return t&&Ma&&Ma.sidRoot&&(t="".concat(Ma.sidRoot,"|").concat(t)),t},Da=function(t,e){var n=ca(t);Qi(e,(function(t){var e=ca(t);"domain"!==n.family.type&&(e.family.type="crosslink"),ja(sa(e),n),ja(la(n),e)}))},Ua=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(Array.isArray(t)?t:[t]).flat().map(ca)},Ga=function(t){return"object"==Li(t)&&null!==t},Qa=function(t){return"function"==typeof t},za=function(t){return void 0===t},Ya=function(t){return zi(Ga(t)||Qa(t),"expect first argument be an object")},Ha=function(t,e,n,r){return zi(!(!Ga(t)&&!Qa(t)||!("family"in t)&&!("graphite"in t)),"".concat(e,": expect ").concat(n," to be a unit (store, event or effect)").concat(r))},Va=function(t,e,n){Array.isArray(t)?Qi(t,(function(t,r){return Ha(t,e,"".concat(r," item of ").concat(n),"")})):Ha(t,e,n," or array of units")},$a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"target";return Qi(Ua(e),(function(e){return Pa(!va(e,"derived"),"".concat(t,': derived unit in "').concat(n,'"'),"createEvent/createStore")}))},Wa=function(t,e,n){return(0,e.fn)(t,n.a)},qa=function(t,e,n){return(0,e.fn)(n.a,t)},Ja=function(t,e){return(0,e.fn)(t)},Ka=function(t,e,n,r){var o={id:Ca(),type:t,data:e};return n&&(o.order={priority:n},r&&(o.order.barrierID=++Xa)),o},Xa=0,Za=function(t){var e=t.from,n=void 0===e?"store":e,r=t.store,o=t.target,i=t.to,a=void 0===i?o?"store":ua:i,u=t.batch,c=t.priority;return Ka("mov",{from:n,store:r,to:a,target:o},c,u)},tu=function(t){var e=t.fn,n=t.batch,r=t.priority,o=t.safe,i=void 0===o?0:o,a=t.filter,u=void 0===a?0:a,c=t.pure;return Ka("compute",{fn:e,safe:i,filter:u,pure:void 0===c?0:c},r,n)},eu=function(t){var e=t.fn;return tu({fn:e,priority:"effect"})},nu=function(t,e,n){return tu({fn:t,safe:1,filter:e,priority:n&&"effect"})},ru=function(t,e,n){return Za({store:t,to:e?ua:"a",priority:n&&"sampler",batch:1})},ou=function(){return tu({fn:arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ja,pure:1,filter:arguments.length>1?arguments[1]:void 0})},iu={mov:Za,compute:tu,filter:function(t){var e=t.fn,n=t.pure;return tu({fn:e,filter:1,pure:n})},run:eu},au=function(t){return{id:Ca(),current:t}},uu=function(t){return t.current},cu=function(t,e){t.before||(t.before=[]),ja(t.before,e)},su=null,lu=function(t,e){return t?e?((t.v.type===e.v.type&&t.v.id>e.v.id||Su(t.v.type)>Su(e.v.type))&&(n=t,t=e,e=n),n=lu(t.r,e),t.r=t.l,t.l=n,t):t:e;var n},fu=[],hu=0;hu<6;)ja(fu,{first:null,last:null,size:0}),hu+=1;var pu,du,yu,vu,gu,mu,bu,wu,Au=function(){for(var t=0;t<6;t++){var e=fu[t];if(e.size>0){if(3===t||4===t){e.size-=1;var n=su.v;return su=lu(su.l,su.r),n}1===e.size&&(e.last=null);var r=e.first;return e.first=r.r,e.size-=1,r.v}}},xu=function(t,e,n,r,o,i,a){return Eu(0,{a:null,b:null,node:n,parent:r,value:o,page:e,scope:i,meta:a},t)},Eu=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=Su(n),i=fu[o],a={v:{idx:t,stack:e,type:n,id:r},l:null,r:null};3===o||4===o?su=lu(su,a):(0===i.size?i.first=a:i.last.r=a,i.last=a),i.size+=1},Su=function(t){switch(t){case"child":return 0;case"pure":return 1;case"read":return 2;case"barrier":return 3;case"sampler":return 4;case"effect":return 5;default:return-1}},Ou=new Set,ku=1,_u=0,ju=0,Pu=null,Iu=function(t){pu=t},Tu=function(t){Pu=t},Cu=function(t,e){if(t){for(;t&&!t.reg[e];)t=da(t);if(t)return t}return null},Lu=function(t,e,n,r,o){var i=Cu(t,r.id);return i?i.reg[r.id]:e?(Mu(e,r,o),e.reg[r.id]):r},Ru=function(t){return t},Mu=function(t,e,n,r,o){var i,a=t.reg;if(!a[e.id]){var u=e.sid,c=null==e||null===(i=e.meta)||void 0===i?void 0:i.serialize,s=t.fromSerialize&&"ignore"!==c&&(null==c?void 0:c.read)||Ru,l={id:e.id,current:e.current,meta:e.meta};if(l.id in t.values.idMap)l.current=t.values.idMap[l.id];else if(u&&u in t.values.sidMap&&!(u in t.sidIdMap))l.current=s(t.values.sidMap[u]);else if(e.before&&!o){var f=0,h=n||!e.noInit||r;Qi(e.before,(function(e){switch(e.type){case aa:var o=e.from;if(o||e.fn){o&&Mu(t,o,n,r);var i=o&&a[o.id].current;h&&(l.current=e.fn?e.fn(i):i)}break;case"field":f||(f=1,l.current=Array.isArray(l.current)?Ri(l.current):Di({},l.current)),Mu(t,e.from,n,r),h&&(l.current[e.field]=a[a[e.from.id].id].current)}}))}u&&(t.sidIdMap[u]=e.id),a[e.id]=l}},Bu=function(t,e,n){try{return e(ha(n),t.scope,n)}catch(e){console.error(e),t.fail=1,t.failReason=e}},Fu=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ga(t)&&(Fu(t.or,e),Gi(t,(function(t,n){za(t)||"or"===n||"and"===n||(e[n]=t)})),Fu(t.and,e)),e},Nu=function(t,e){_a(t.next,e),_a(sa(t),e),_a(la(t),e)},Du=function(t,e,n){var r;t.next.length=0,t.seq.length=0,t.scope=null;for(var o=la(t);r=o.pop();)Nu(r,t),(e||n&&"sample"!==va(t,"op")||"crosslink"===r.family.type)&&Du(r,e,"on"!==va(r,"op")&&n);for(o=sa(t);r=o.pop();)Nu(r,t),n&&"crosslink"===r.family.type&&Du(r,e,"on"!==va(r,"op")&&n)},Uu=function(t){return t.clear()},Gu=function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).deep,n=0;if(t.ownerSet&&t.ownerSet.delete(t),Aa(t))Uu(pa(t));else if(Sa(t)){n=1;var r=t.history;Uu(r.events),Uu(r.effects),Uu(r.stores),Uu(r.domains)}Du(ca(t),!!e,n)},Qu=function(t){var e=function(){return Gu(t)};return e.unsubscribe=e,e},zu=function(t,e,n,r,o){return Yi({node:n,parent:t,child:e,scope:{fn:o},meta:{op:r},family:{owners:[t,e],links:e},regional:1})},Yu=function(t){var e="forward",n=Mi(Wi(t,1),2),r=n[0],o=r.from,i=r.to,a=n[1];return Va(o,e,'"from"'),Va(i,e,'"to"'),$a(e,i,"to"),Qu(Yi({parent:o,child:i,meta:{op:e,config:a},family:{},regional:1}))},Hu=function(t,e){return zi(Qa(e),".watch argument should be a function"),Qu(Yi({scope:{fn:e},node:[eu({fn:Ja})],parent:t,meta:{op:"watch"},family:{owners:t},regional:1}))},Vu=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"event";da(t)&&da(t).hooks[n](e)},$u=function(t,e,n){var r=Fu(n),o="domain"===t,i=Ta(),a=r.sid,u=void 0===a?null:a,c=r.named,s=void 0===c?null:c,l=r.domain,f=void 0===l?null:l,h=r.parent,p=void 0===h?f:h,d=s||r.name||(o?"":i),y=$i(d,p),v={op:e.kind=t,name:e.shortName=d,sid:e.sid=Na(u),named:s,unitId:e.id=i,serialize:r.serialize,derived:r.derived,config:r};if(e.parent=p,e.compositeName=y,e.defaultConfig=r,e.thru=function(t){return Pa(0,"thru","js pipe"),t(e)},e.getType=function(){return y.fullName},!o){e.subscribe=function(t){return Ya(t),e.watch(Qa(t)?t:function(e){return t.next&&t.next(e)})},e[ia]=function(){return e};var g=Fa();g&&(v.nativeTemplate=g)}return v},Wu=function(t,e,n,r){var o;Ga(n)&&(o=n,n=n.fn);var i=Ji({name:"".concat(t.shortName," → *"),derived:1,and:o});return zu(t,i,r,e,n),i},qu=function(t,e,n,r,o){var i=fa(e),a=Za({store:i,to:"a",priority:"read"});n===aa&&(a.data.softRead=1);var u=[a,ou(r)];return qi("storeOnMap",i,u,Aa(t)&&fa(t)),zu(t,e,u,n,o)},Ju=function(t,e,n,r,o){var i=t?function(t){return Ri(t)}:function(t){return Di({},t)},a=t?[]:{},u=i(a),c=au(u),s=au(1);c.type=t?"list":"shape",c.noInit=1,qi("combineBase",c,s);var l=Xi(u,{name:Vi(n),derived:1,and:r}),f=fa(l);f.noInit=1,ga(l,"isCombine",1);var h=ru(c);h.order={priority:"barrier"};var p=Za({store:f,to:"b",priority:"read"});p.data.softRead=1;var d=[nu((function(t,e,n){return n.scope&&!n.scope.reg[c.id]&&(n.c=1),t})),h,Za({store:s,to:"b"}),nu((function(t,n,r){var o=n.key;if(r.c||t!==r.a[o])return e&&r.b&&(r.a=i(r.a)),r.a[o]=t,1}),1),Za({from:"a",target:c}),Za({from:"value",store:0,target:s}),Za({from:"value",store:1,target:s,priority:"barrier",batch:1}),ru(c,1),o&&ou(),p];return Gi(n,(function(t,e){if(!Aa(t))return zi(!ba(t)&&!za(t),"combine expects a store in a field ".concat(e)),void(u[e]=a[e]=t);a[e]=t.defaultState,u[e]=t.getState();var n=zu(t,l,d,"combine",o);n.scope.key=e;var r=fa(t);cu(c,{type:"field",field:e,from:r}),qi("combineField",r,n)})),l.defaultShape=n,cu(f,{type:aa,from:c,fn:o}),Fa()||(l.defaultState=o?f.current=o(u):a),l},Ku=function(t,e,n){try{return[1,t.apply(void 0,Ri(n))]}catch(t){return e(t),[0,null]}},Xu=function(t){var e=ya(t),n={ref:e};return e&&ja(e.activeEffects,n),n},Zu=function(t,e,n,r,o,i){return function(a){i.ref&&_a(i.ref.activeEffects,i),Hi({target:[r,tc],params:[n?{status:"done",params:t,result:a}:{status:"fail",params:t,error:a},{value:a,fn:n?e.rs:e.rj}],defer:1,page:o.page,scope:i.ref,meta:o.meta})}},tc=Yi({node:[eu({fn:function(t){return(0,t.fn)(t.value)}})],meta:{op:"fx",fx:"sidechain"}}),ec=["source","clock","target"],nc=function(t,e){return t+": ".concat(e," should be defined")},rc=function(t,e,n,r,o,i,a,u,c,s,l,f){var h=!!o;zi(!za(n)||!za(e),nc(t,"either source or clock"));var p=0;za(n)?p=1:ba(n)||(n=Zi(n)),za(e)?e=n:(Va(e,t,"clock"),Array.isArray(e)&&(e=ra(e))),p&&(n=e),u||a||(a=n.shortName);var d="none";(l||r)&&(ba(r)?d="unit":(zi(Qa(r),"`filter` should be function or unit"),d="fn")),o?(Va(o,t,"target"),$a(t,o)):"none"===d&&s&&Aa(n)&&Aa(e)?o=Xi(i?i(uu(fa(n)),uu(fa(e))):uu(fa(n)),{name:a,sid:f,or:u}):(o=Ji({name:a,derived:1,or:u}),qi("sampleTarget",ca(o)));var y=au(),v=[];if("unit"===d){var g=Mi(ic(r,o,e,y,t),2),m=g[0],b=g[1];v=[].concat(Ri(oc(b)),Ri(oc(m)))}var w=Mi(ic(n,o,e,y,t),2),A=w[0],x=w[1],E=zu(e,o,[qi("sampleSourceLoader"),Za({from:ua,target:y})].concat(Ri(oc(x)),[ru(A,1,c)],Ri(v),[ru(y),"fn"===d&&ou((function(t,e,n){var o=n.a;return r(t,o)}),1),i&&ou(Wa),qi("sampleSourceUpward",h)]),t,i);return Da(n,[E]),Object.assign(E.meta,u,{joint:1}),o},oc=function(t){return[ru(t),nu((function(t,e,n){return n.a}),1)]},ic=function(t,e,n,r,o){var i=Aa(t),a=i?fa(t):au(),u=au(i);return i||Yi({parent:t,node:[Za({from:ua,target:a}),Za({from:"value",store:1,target:u})],family:{owners:[t,e,n],links:e},meta:{op:o},regional:1}),qi("sampleSource",u,a,r),[a,u]},ac=(yu=Xi(or(Ci)),vu=Ji(),gu=Ji(),mu=Ji(),bu=Ji(),yu.reset(gu),{$theme:yu,$$setTheme:vu,$$setSchemeAppearance:mu,$$setSAI:bu,$$resetTheme:gu}),uc=ac.$theme.getState().fontSize.browserCtx;ac.$theme.watch((function(t){uc=t.fontSize.browserCtx}));var cc,sc,lc=function(){var t=document.createElement("span");t.style.fontSize="".concat(10,"px"),document.body.appendChild(t);var e=10/parseFloat(window.getComputedStyle(t).fontSize);return t.remove(),e}(),fc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["background-color","color"],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ease";return xe(wu||(wu=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n transition-property: ",";\n transition-duration: ","ms;\n transition-timing-function: ",";\n "])),Array.isArray(e)?e.join(", "):e,t,n)},hc=function(t,e){return"string"==typeof t?t:"".concat(function(t){return t/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:uc)}(t,e),"rem")},pc=function(t,e){return"string"==typeof t?t:"".concat(function(t){return t/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:uc)*lc}(t,e),"rem")};function dc(t){return dc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dc(t)}function yc(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var vc,gc=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},mc=["width","height","color","css","pointerEvents"],bc=["replacers"],wc=function(t){var e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(Object.assign({},t.opt),e),r=Ue(t).withConfig({shouldForwardProp:function(t,e){var n=-1!==bc.indexOf(t);return!!n||(n=-1===mc.indexOf(t))&&e(t)}}).attrs({draggable:!1})(cc||(cc=yc(["\n ","\n "])),(function(t){var e,r,o,i,a,u,c,s=t.display,l=void 0===s?"":s,f=t.flexShrink,h=void 0===f?null!==(e=n.flexShrink)&&void 0!==e?e:"":f,p=t.position,d=void 0===p?"":p,y=t.top,v=void 0===y?"":y,g=t.left,m=void 0===g?"":g,b=t.right,w=void 0===b?"":b,A=t.bottom,x=void 0===A?"":A,E=t.zIndex,S=void 0===E?"":E,O=t.width,k=void 0===O?null!==(r=n.width)&&void 0!==r?r:"":O,_=t.height,j=void 0===_?null!==(o=n.height)&&void 0!==o?o:"":_,P=t.float,I=void 0===P?"":P,T=t.margin,C=void 0===T?null!==(i=n.margin)&&void 0!==i?i:null:T,L=t.color,R=void 0===L?null!==(a=n.color)&&void 0!==a?a:"":L,M=t.bgColor,B=void 0===M?null!==(u=n.bgColor)&&void 0!==u?u:"":M,F=t.cursor,N=void 0===F?"":F,D=t.opacity,U=void 0===D?"":D,G=t.transform,Q=void 0===G?"":G,z=t.css,Y=void 0===z?null!==(c=n.css)&&void 0!==c?c:null:z,H=t.pointerEvents,V=void 0===H?"none":H;return xe(sc||(sc=yc(["\n display: ",";\n flex-shrink: ",";\n\n position: ",";\n top: ",";\n left: ",";\n right: ",";\n bottom: ",";\n z-index: ",";\n\n width: ",";\n height: ",";\n color: ",";\n background-color: ",";\n\n float: ",";\n\n margin: ",";\n\n opacity: ",";\n\n transform: ",";\n\n pointer-events: ",";\n\n cursor: ",";\n\n ","\n "])),l,h,d,hc(v),hc(m),hc(w),hc(x),S,hc(k),hc(j),R,B,I,C?C.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "):"",U,Q,V,N,Y)}));return r}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});e.opt=t.opt,e.getInst=function(){return e};var n=e.opt.srcOrigin,r=e.opt.image;return e.cache=function(t,n){e.opt.srcAsImageData||(n[t]=e.opt.srcOrigin)},e.redefineGetters=function(t,o){Object.defineProperty(e.opt,"src",{get:function(){return o.getAssetByKey(t,n)}}),e.opt.getImage=function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&r.src!==e.opt.src&&(r.src=e.opt.src),r}},e.updateCacheDependencies=function(){e.opt.srcAsImageData||e.opt.getImage(!0)},e},Ac=function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{width:-1,height:-1},o=r.svgBox,i=r.svgAsImageData,a=void 0!==i&&i,u=gc(r,["svgBox","svgAsImageData"]),c=u.width,s=u.height,l=new Image,f=Object.assign(Object.assign({srcWidth:c,srcHeight:s,scale:1},u),{src:t,srcOrigin:t,srcAsImageData:a,image:l,getImage:function(){return l},type:"raster"});return"object"===dc(o)?(n=Ec(f,Object.assign({srcWidth:c,srcHeight:s},o)),f.width=o.width,f.height=o.height,f.scale=null!==(e=o.scale)&&void 0!==e?e:f.scale):n=xc(f),n.opt=f,n},xc=function(t){return function(e){var n=e.replacers,r=gc(e,["replacers"]),o=Sc({imgOpt:t,replacers:n});return ot.createElement("img",Object.assign({src:o},r))}},Ec=function(t,e){var n=e.srcWidth,r=e.srcHeight,o=e.width,i=e.height,a=e.x,u=void 0===a?0:a,c=e.y,s=void 0===c?0:c,l=e.scale,f=void 0===l?1:l;return function(e){var a=e.replacers,c=gc(e,["replacers"]),l=Sc({imgOpt:t,replacers:a});return ot.createElement("svg",Object.assign({viewBox:"0 0 ".concat(o," ").concat(i),xmlns:"http://www.w3.org/2000/svg",overflow:"visible"},c),ot.createElement("image",{x:u,y:s,width:n/f,height:r/f,href:l}))}},Sc=function(t){var e=t.imgOpt,n=t.replacers;return(0,ot.useMemo)((function(){return void 0===n?e.src:e.srcOrigin.replace(/%%([A-z0-9]+)%%/g,(function(t,e){var r;return null!==(r=n[e])&&void 0!==r?r:""})).replace(/#/g,"%23")}),[n])},Oc=__webpack_require__.p+"e91f85107150f78b5305.jpg",kc=__webpack_require__.p+"c9ef69de4daecf8fb4e8.jpg",_c=__webpack_require__.p+"505661ef4a58f705208f.jpg",jc=__webpack_require__.p+"ddca47c5e2aff147e4b7.jpg",Pc=__webpack_require__.p+"01a429b4b1866a3e897d.jpg",Ic=__webpack_require__.p+"f636da7d24bf8b43e4e3.jpg",Tc=__webpack_require__.p+"d069d945f78e5d40b20e.jpg",Cc=__webpack_require__.p+"85a8b980d879d38f1cd0.jpg",Lc=__webpack_require__.p+"ac8bce54ef554e9de5c0.jpg",Rc=__webpack_require__.p+"fb2b6ea568c4ad86c79b.svg";function Mc(){return Mc=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Mc.apply(null,arguments)}var Bc=__webpack_require__.p+"8b05c8efd64c747dab96.png",Fc=__webpack_require__.p+"80cd38b27f20cbe1159c.png",Nc=__webpack_require__.p+"76114dd9fe17dfad9510.png",Dc=__webpack_require__.p+"b22418957a3b4e7b02c8.png",Uc=wc(Ac(Oc,{width:540,height:1080})),Gc=wc(Ac(kc,{width:540,height:1080})),Qc=wc(Ac(_c,{width:540,height:1080})),zc=wc(Ac(jc,{width:540,height:1080})),Yc=wc(Ac(Pc,{width:540,height:1080})),Hc=wc(Ac(Ic,{width:540,height:1080})),Vc=wc(Ac(Tc,{width:540,height:1080})),$c=wc(Ac(Cc,{width:540,height:1080})),Wc=wc(Ac(Lc,{width:540,height:1080})),qc=wc(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{width:-1,height:-1,src:""},n=new Image,r=e.src,o={srcWidth:e.width,srcHeight:e.height,width:e.width,height:e.height};return t.opt=Object.assign(Object.assign({},o),{scale:1,src:r,srcOrigin:r,srcAsImageData:!1,image:n,getImage:function(){return n},type:"svg"}),t}((function(t){return ot.createElement("svg",Mc({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),vc||(vc=ot.createElement("path",{d:"M25 7 7 25M7 7l18 18",stroke:"#65707B",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}),{width:32,height:32,src:Rc})),Jc=wc(Ac(Bc,{width:89,height:89})),Kc=wc(Ac(Fc,{width:38,height:28})),Xc=wc(Ac(Nc,{width:34,height:34})),Zc=wc(Ac(Dc,{width:446,height:446}));function ts(t){return ts="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ts(t)}function es(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ns(r.key),r)}}function ns(t){var e=function(t){if("object"!=ts(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ts(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ts(e)?e:e+""}function rs(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(rs=function(){return!!t})()}function os(){return os="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=is(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},os.apply(null,arguments)}function is(t){return is=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},is(t)}function as(t,e){return as=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},as(t,e)}var us,cs,ss,ls,fs,hs=function(t){var e,n=function(e){function n(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),(t=function(t,e,n){return e=is(e),function(t,e){if(e&&("object"==ts(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,rs()?Reflect.construct(e,n||[],is(t).constructor):e.apply(t,n))}(this,n,arguments)).cacheDone=!1,t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&as(t,e)}(n,e),function(t,e){return e&&es(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(n,[{key:"getAssetByKey",value:function(t,e){return this.cacheDone?function(t,e,n){var r=os(is(t.prototype),"getAssetByKey",n);return"function"==typeof r?function(t){return r.apply(n,t)}:r}(n,0,this)([t,e]):(console.warn("Attempting to use static image resources before caching completes"),e)}},{key:"rawMapGetter",value:function(){var e,n={};for(e in t)t[e].cache(e,n);return n}},{key:"onCacheDone",value:function(){var e;for(e in this.cacheDone=!0,t)t[e].updateCacheDependencies()}}])}(Wo.Jx),r=new n;for(e in t)t[e].redefineGetters(e,r);return{Images:t,staticImageResourceAssets:r}}(n),ps=hs.Images,ds=hs.staticImageResourceAssets,ys=ps,vs=(us=Ji(),ss=(cs=Xi({fontSize:16,width:-1,height:-1,aspect:1,remCoeff:1})).map((function(t){return{width:t.width,height:t.height}})),ls=cs.map((function(t){return t.fontSize})),fs=cs.map((function(t){return t.remCoeff})),{defaultFontSize:16,$$setViewPortMetrics:us,$viewPortMetrics:cs,$viewPortSize:ss,$viewPortFontSize:ls,$viewPortRemCoeff:fs});vs.$viewPortMetrics.on(vs.$$setViewPortMetrics,(function(t,e){var n=e.width,r=e.height,o=e.fontSize;return{width:n,height:r,fontSize:o,aspect:n/r,remCoeff:o/vs.defaultFontSize}}));var gs=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ps.getState();return t.path===e.path&&JSON.stringify(t.params)===JSON.stringify(e.params)},ms=gs,bs=function(t){return Promise.reject(t)},ws=function(){return{path:arguments.length>0&&void 0!==arguments[0]?arguments[0]:""}};function As(){As=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==xs(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(xs(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function xs(t){return xs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xs(t)}function Es(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Ss(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Ss(t,e){if(t){if("string"==typeof t)return Os(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Os(t,e):void 0}}function Os(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var ks=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},_s=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},js=Xi({}),Ps=Xi(ws()),Is=Xi(ws()),Ts=Zi(Ps,js,(function(t,e){return e[t.path]})),Cs=Xi([]),Ls=Zi({route:Ps,routeInfo:Ts}),Rs=Xi([]),Ms=Rs.map((function(t){var e;return null!==(e=t[t.length-1])&&void 0!==e?e:ws()})),Bs=ea({effect:ta((function(t){var e=t.path,n=t.params,r=t.method,o=t.routeFrom,i=t.previousRoute,a=t.interceptors,u=t.routesInfo,c=t.executedInterceptorIds,s=void 0===c?[]:c;return ks(void 0,void 0,void 0,As().mark((function t(){var c,l,f,h,p,d,y,v,g,m,b,w,A,x,E,S,O,k,_;return As().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c={path:e,params:n,navigateMethod:r},t.prev=1,!gs(c,o)){t.next=4;break}return t.abrupt("return",bs({type:"SAME_ROUTE",routeTo:c,routeFrom:o,previousRoute:i,method:r}));case 4:t.next=9;break;case 6:return t.prev=6,t.t0=t.catch(1),t.abrupt("return",bs({type:"FAIL_COMPARE_ROUTE_PARAMS",routeTo:c,routeFrom:o,previousRoute:i,method:r}));case 9:l=Es(a),t.prev=10,l.s();case 12:if((f=l.n()).done){t.next=43;break}if(h=f.value,p=h.fn,d=h.routeToPath,y=h.routeFromPath,v=h.id,!(s.length>0&&s.includes(v))){t.next=17;break}return t.abrupt("continue",41);case 17:if(!d||!y||d!==y||c.path!==d&&o.path!==y){t.next=20;break}t.next=27;break;case 20:if(g=h.routeToPath,m=void 0===g?c.path:g,b=h.routeFromPath,w=void 0===b?o.path:b,c.path===m){t.next=25;break}return t.abrupt("continue",41);case 25:if(o.path===w){t.next=27;break}return t.abrupt("continue",41);case 27:return t.next=29,p({routeTo:c,routeFrom:o,previousRoute:i,method:r});case 29:if(!1!==(A=t.sent)){t.next=32;break}return t.abrupt("return",bs({type:"INTERCEPT_CANCEL",routeTo:c,routeFrom:o,previousRoute:i,method:r}));case 32:if("object"!==xs(A)){t.next=41;break}if(!Array.isArray(A)){t.next=38;break}return x=A[0],E=x.method,S=void 0===E?r:E,O=_s(x,["method"]),r=S,c=Object.assign(Object.assign({},O),{navigateMethod:S}),t.abrupt("break",43);case 38:return k=Object.assign(Object.assign({method:r},A),{executedInterceptorIds:[].concat((j=s,function(t){if(Array.isArray(t))return Os(t)}(j)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(j)||Ss(j)||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.")}()),[v])}),Bs(k),t.abrupt("return",bs({type:"INTERCEPT_REDIRECT",redirectRoute:k,routeTo:c,routeFrom:o,previousRoute:i,method:r}));case 41:t.next=12;break;case 43:t.next=48;break;case 45:t.prev=45,t.t1=t.catch(10),l.e(t.t1);case 48:return t.prev=48,l.f(),t.finish(48);case 51:if("---"!==c.path){t.next=53;break}return t.abrupt("return",bs({type:"LAST_ROUTE",routeTo:c,routeFrom:o,previousRoute:i,method:r}));case 53:if(_=u[c.path]){t.next=56;break}return t.abrupt("return",bs({type:"UNKNOWN_ROUTE",routeTo:c,routeFrom:o,previousRoute:i,method:r}));case 56:return t.abrupt("return",{route:c,routeInfo:_,method:r});case 57:case"end":return t.stop()}var j}),t,null,[[1,6],[10,45,48,51]])})))})),source:{routesInfo:js,interceptors:Cs,routeFrom:Ps,previousRoute:Is},mapParams:function(t,e){return Object.assign(Object.assign({},t),e)}}),Fs=ea({effect:ta((function(t){return ks(void 0,void 0,void 0,As().mark((function e(){var n,r;return As().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=null!==(n=t[t.length-2])&&void 0!==n?n:ws("---"),e.abrupt("return",Object.assign(Object.assign({},r),{method:"rollback"}));case 2:case"end":return e.stop()}}),e)})))})),source:Rs}),Ns=Ji(),Ds=Ji(),Us=Ji(),Gs=Ji(),Qs=Ji(),zs=Ji(),Ys=Ji(),Hs=Bs.doneData.map((function(t){return{route:t.route,method:t.method}}));function Vs(t){return Vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vs(t)}function $s(t){return function(t){if(Array.isArray(t))return Ws(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Ws(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ws(t,e):void 0}}(t)||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 Ws(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}js.on(Ds,(function(t,e){return Object.assign(Object.assign({},t),function(t,e,n){return(e=function(t){var e=function(t){if("object"!=Vs(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Vs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Vs(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e.path,e))})).on(Ns,(function(t,e){return Object.assign(Object.assign({},t),e)})),Rs.on(Hs,(function(t,e){var n=e.method,r=void 0===n?"push":n,o=e.route;return"push"===r?[].concat($s(t),[o]):"replace"===r?(t[t.length-1]=o,$s(t)):"clear"===r?[o]:"rollback"===r?(t.splice(-2,2,o),$s(t)):"replace_without_route"===r?[o,t[t.length-1]]:void 0}));var qs=0;Cs.on(Gs,(function(t,e){return[].concat($s(t),[Object.assign({id:++qs},e)])})).on(Qs,(function(t,e){var n=t.filter((function(t){return t.slug!==e}));if(n.length!==t.length)return n}));var Js=oa({clock:Ms,source:Ps,fn:function(t,e){return{route:e,previousRoute:t}}});oa({clock:Js,fn:function(t){return t.previousRoute},target:Is}),oa({clock:Js,fn:function(t){return t.route},target:Ps}),Yu({from:Ps,to:Us}),oa({clock:zs,source:Ps,fn:function(t,e){return[null!=e?e:t]},target:Rs}),Yu({from:Fs.doneData,to:Bs}),oa({clock:Bs.failData,filter:function(t){return"LAST_ROUTE"===t.type},target:Ys}),oa({clock:Bs.failData,filter:function(t){return"UNKNOWN_ROUTE"===t.type},fn:function(){return{path:"/404"}},target:Bs}),Bs.failData.watch((function(t){"FAIL_COMPARE_ROUTE_PARAMS"===t.type&&console.error("Router error:",t)}));var Ks=__webpack_require__(66954),Xs=__webpack_require__(94656);function Zs(t,e){ka.store(t)||el("expect useStore argument to be a store");var n=ot.useCallback((function(n){return function(t,e,n,r){var o=[iu.mov({store:t.stateRef,to:"stack"}),iu.run({fn:function(t){return e(t)}})];if(r&&o.unshift(r),n){var i=Yi({node:o,meta:{watchOp:"store"}}),a=t.graphite.id,u=n.additionalLinks,c=u[a]||[];return u[a]=c,c.push(i),function(){var t=c.indexOf(i);-1!==t&&c.splice(t,1),Gu(i)}}var s=Yi({node:o,parent:[t],family:{owners:t}});return function(){Gu(s)}}(t,n,e)}),[t,e]),r=ot.useCallback((function(){return rl(t,e)}),[t,e]);return nl(n,r,r)}function tl(t,e){return Zs(t,function(t){var e=ot.useContext(ol);return t&&!e&&el("No scope found, consider adding <Provider> to app root"),e}(null==e?void 0:e.forceScope))}var el=function(t){throw Error(t)},nl=("undefined"!=typeof window?ot.useLayoutEffect:ot.useEffect,Xs.useSyncExternalStore),rl=(Ks.useSyncExternalStoreWithSelector,function(t,e){return e?e.getState(t):t.getState()}),ol=ot.createContext(null),il=(ol.Provider,function(){return ot.createElement("div",{style:{textAlign:"center"}},"404 - Route not Found")});Ds({View:il,path:"/404"});var al=function(t){var e,n=t.NotFound,r=void 0===n?il:n,o=ul(),i=o.route,a=o.routeInfo,u=null!==(e=null==a?void 0:a.View)&&void 0!==e?e:r;return ot.createElement(u,Object.assign({route:i},i.params))},ul=function(){return tl(Ls)},cl=__webpack_require__(92722);function sl(t){return sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sl(t)}function ll(){ll=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==sl(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(sl(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function fl(t){return function(t){if(Array.isArray(t))return hl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return hl(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hl(t,e):void 0}}(t)||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 hl(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var pl=ta((function(t){var e=t.callbacks,n=t.requiredCallbacks;Wo.Ay.gameLaunchConfig.demoMode&&e.forEach((function(t){return t()})),n.forEach((function(t){return t()}))})),dl=Ji(),yl=Xi([]).on(dl,(function(t,e){return[].concat(fl(t),[e])})).reset(pl.doneData),vl=Ji(),gl=Xi([]).on(vl,(function(t,e){return[].concat(fl(t),[e])})).reset(pl.doneData),ml=Ji();ml.watch((function(t){var e=t.cb,n=t.required;void 0!==n&&n?vl(e):dl(e)}));var bl,wl,Al=Ji(),xl=Xi({}).on(Al,(function(t,e){var n=e.name,r=e.request;return Object.assign(Object.assign({},t),function(t,e,n){return(e=function(t){var e=function(t){if("object"!=sl(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=sl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==sl(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,r))})),El={$$initFx:ea({effect:pl,source:{callbacks:yl,requiredCallbacks:gl}}),$$registerExecCallback:ml,$$addRequest:Al,createRequest:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var n,r=null!==(n=e.failCount)&&void 0!==n?n:0,o=t();return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return new Promise((function(t,i){var a;setTimeout((function(){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,ll().mark((function a(){var u,c,s;return ll().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(c=null,!(r-- >0)){a.next=6;break}c={error:{code:0,status:404}},a.next=15;break;case 6:return a.prev=6,a.next=9,o.apply(void 0,n);case 9:s=a.sent,a.next=15;break;case 12:a.prev=12,a.t0=a.catch(6),c={error:a.t0};case 15:setTimeout((function(){null!==c?i(c):t(s)}),null!==(u=e.respDelay)&&void 0!==u?u:0);case 16:case"end":return a.stop()}}),a,null,[[6,12]])})))}),null!==(a=e.sendDelay)&&void 0!==a?a:0)}))}}()}},Sl=(wl=0,function(){return 999+ ++wl});!function(t){t[t.outer=0]="outer",t[t.resolve=1]="resolve",t[t.reject=2]="reject",t[t.irrelevant=3]="irrelevant",t[t.unknown=4]="unknown"}(bl||(bl={}));var Ol={resolveCanceled:{name:"Request resolve canceled",message:"Cancel resolving of request by onReqResolve callback",code:0,status:Sl()},rejectCanceled:{name:"Request reject canceled",message:"Cancel reject of response by onReqResolve callback",code:0,status:Sl()},routing:{name:"Incorrect route",message:"Incorrect route while data received",code:0,status:Sl()},respProcessing:{name:"Response processing error",message:"Error while processing the response by the client",code:bl.outer,status:Sl()}};function kl(t){return kl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kl(t)}function _l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,jl(r.key),r)}}function jl(t){var e=function(t){if("object"!=kl(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=kl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==kl(e)?e:e+""}function Pl(t){var e="function"==typeof Map?new Map:void 0;return Pl=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(Il())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&Tl(o,n.prototype),o}(t,arguments,Cl(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Tl(n,t)},Pl(t)}function Il(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Il=function(){return!!t})()}function Tl(t,e){return Tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Tl(t,e)}function Cl(t){return Cl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cl(t)}var Ll=function(t){function e(t){var n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o=e.prototype;return(n=function(t,e,n){return e=Cl(e),function(t,e){if(e&&("object"==kl(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Il()?Reflect.construct(e,n||[],Cl(t).constructor):e.apply(t,n))}(this,e,["".concat(t.message," [code: ").concat(null!==(r=bl[t.code])&&void 0!==r?r:bl.unknown,"]")])).data=t,n.__proto__=o,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Tl(t,e)}(e,t),function(t,e){return e&&_l(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getData",value:function(){return this.data}},{key:"getName",value:function(){return this.getData().name}},{key:"getMessage",value:function(){return this.getData().message}},{key:"getCode",value:function(){return Number(this.getData().code)}},{key:"getStatus",value:function(){return Number(this.getData().status)}},{key:"getReqConfig",value:function(){var t;return null!==(t=this.getData().reqConfig)&&void 0!==t?t:{url:"",method:"GET"}}},{key:"getReqTime",value:function(){var t;return null!==(t=this.getData().reqTime)&&void 0!==t?t:0}},{key:"isInternalError",value:function(){return this.getStatus()>999}},{key:"getInternalErrorInfo",value:function(){return this.getData().internalErrorInfo}}])}(Pl(Error)),Rl=function(t){return new Ll(t)},Ml=function(t){return t instanceof Ll};function Bl(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Nl(r.key),r)}}function Fl(t,e,n){return e&&Bl(t.prototype,e),n&&Bl(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Nl(t){var e=function(t){if("object"!=Gl(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Gl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Gl(e)?e:e+""}function Dl(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Ul(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ul(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Ul(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Gl(t){return Gl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gl(t)}function Ql(){Ql=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Gl(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Gl(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var zl=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},Yl=new Map,Hl=ta((function(t){return zl(void 0,void 0,void 0,Ql().mark((function e(){return Ql().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t);case 1:case"end":return e.stop()}}),e)})))})),Vl=Xi({sessionId:"",apiRoot:"",reqTimeoutDelay:1e4,apiKey:"",apiBaseUrl:"",appPackageId:"",userAgent:"",userId:"",deviceId:""}),$l=Ji();Vl.on($l,(function(t,e){return Object.assign(Object.assign({},t),e)}));var Wl=Xi(0),ql=function(t,e,n){return t(e,Ps.getState(),null!=n?n:null,Jl)},Jl=function(t,e,n){if(e.path&&n){if(null===Gl(n))return!0;if("string"==typeof n)return Kl(t,e,n);if(Array.isArray(n)){var r,o=Dl(n);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(Kl(t,e,i))return!0}}catch(t){o.e(t)}finally{o.f()}return!1}if("object"===Gl(n)){if("routes"in n){var a,u=Dl(n.routes);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(Kl(t,e,c,n.status))return!0}}catch(t){u.e(t)}finally{u.f()}return!1}return Kl(t,e,n)}}return!0},Kl=function(t,e,n,r){return null===n||("string"==typeof n?e.path===n:"object"!==Gl(n)||e.path===n.path&&(!(r=null!=r?r:n.status)||("string"==typeof r?t===r:-1!==r.indexOf(t))))},Xl=function(t,e){var n=e.acceptStatuses,r=e.acceptStatusRange,o=!1;return n?o=-1===n.indexOf(t):r&&(o=!(t>r[0]&&t<r[1])),o},Zl=function(t){var e=t.headers,n=t.method,r=t.data,o={"auth-session-id":Vl.getState().sessionId,Authorization:"Bearer ".concat(Vl.getState().apiKey),accept:"application/json","X-App-Package-Id":Vl.getState().appPackageId,"X-User-Agent":Vl.getState().userAgent,"X-User-Id":Vl.getState().userId,"X-Device-Id":Vl.getState().deviceId,"X-Request-Id":(0,cl.A)()},i={headers:o,method:n};if(["POST","PUT","PATCH"].includes(n.toUpperCase()))try{lr(r)?(o["content-type"]="application/json",i.body=JSON.stringify(r)):i.body=r}catch(t){console.error(t,t.stack)}return e&&(i.headers=Object.assign({},i.headers,e)),i},tf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null===e||ir(e))return t;var n=Object.keys(e).map((function(t){return t+(""===e[t]?"":"="+e[t])})).join("&");return/\?/.test(t)?/\?./.test(t)&&(n="&"+n):n="?"+n,t+n},ef=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return Vl.getState().apiBaseUrl};return zl(void 0,void 0,void 0,Ql().mark((function n(){var r,o,i,a,u,c,s,l,f,h,p;return Ql().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.id,o=t.url,i=t.params,a=t.method,u=t.headers,c=t.data,s=Zl({method:a,headers:u,data:c}),n.prev=2,f="".concat(e().replace(/\/+$/g,""),"/v2/").concat(tf(o,i)),n.next=6,window.fetch(f,s);case 6:return h=n.sent,n.t0=JSON,n.t1=r,n.next=11,h.text();case 11:n.t2=n.sent,n.t3=h.status,n.t4=Object.fromEntries(h.headers),n.t5={requestId:n.t1,data:n.t2,status:n.t3,headers:n.t4},l=n.t0.stringify.call(n.t0,n.t5),n.next=23;break;case 18:n.prev=18,n.t6=n.catch(2),p="Failed to fetch","string"==typeof n.t6?p=n.t6:null!==n.t6&&"object"===Gl(n.t6)&&(p=n.t6.message||p),l=JSON.stringify({requestId:r,data:{},status:405,message:p});case 23:rf(l);case 24:case"end":return n.stop()}}),n,null,[[2,18]])})))},nf=function(t,e,n){return zl(void 0,void 0,void 0,Ql().mark((function r(){var o,i,a,u,c,s,l,f,h,p,d,y,v,g;return Ql().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=e.id,c=e.url,s=e.params,l=e.method,f=e.headers,h=e.data,p=Zl({method:l,headers:f,data:h}),d=200,r.prev=3,r.next=6,t(tf(c,s),p,n);case 6:(v=r.sent).respData?(y=v.respData,d=null!==(o=v.status)&&void 0!==o?o:d):y=v,r.next=15;break;case 10:r.prev=10,r.t0=r.catch(3),g=null!==(i=r.t0)&&void 0!==i?i:{},d=null!==(a=g.status)&&void 0!==a?a:500,y=Object.assign({status:d,code:0,message:"",name:""},g);case 15:rf(JSON.stringify({requestId:u,data:JSON.stringify(y),status:d,headers:{}}));case 16:case"end":return r.stop()}}),r,null,[[3,10]])})))},rf=function(t){try{var e=JSON.parse(t),n=e.requestId,r=e.data,o=e.status,i=e.headers,a={};if("string"==typeof r)try{a=JSON.parse(r)}catch(t){console.error(t,{inputData:r},t.stack)}else a=r;Yl.has(n)&&(Yl.get(n)({data:a,status:parseInt(o),headers:i}),Yl.delete(n))}catch(e){console.error(e,{inputData:t},e.stack)}},of=Fl((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}));of.create=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=ta();return"function"==typeof t&&n.use(t),!0===e&&n.fail.watch((function(t){var e=t.params,r=t.error;return zl(void 0,void 0,void 0,Ql().mark((function t(){var o,i,a,u,c,s,l,f;return Ql().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Ml(r)){t.next=4;break}r=Rl(Object.assign(Object.assign({},Ol.respProcessing),{internalErrorInfo:r})),t.next=10;break;case 4:if(r.getStatus()!==Ol.routing.status){t.next=8;break}return t.abrupt("return");case 8:if(r.getStatus()!==Ol.respProcessing.status||r.getCode()!==bl.irrelevant){t.next=10;break}return t.abrupt("return");case 10:return a=r.getReqConfig(),u=a.onFail,c=void 0===u?function(){return!0}:u,s=a.checkRouting,l=void 0===s?function(t,e,n){return Jl(t,e,n)}:s,t.next=13,c(r,e,r.getReqConfig());case 13:if(!1!==(f=t.sent)){t.next=18;break}return t.abrupt("return");case 18:if(!1!==ql(l,"fail",r.getReqConfig().routing)){t.next=20;break}return t.abrupt("return");case 20:"object"===Gl(f)&&(e=f.allowUndefinedParams?f.params:null!==(o=f.params)&&void 0!==o?o:e,r=null!==(i=f.error)&&void 0!==i?i:r),Hl({$$reqEffect:n,params:e,reqError:r});case 22:case"end":return t.stop()}}),t)})))})),n},of.send=function(t,e){return zl(void 0,void 0,void 0,Ql().mark((function n(){var r,o,i,a,u,c,s,l,f,h,p,d,y,v,g,m,b,w,A,x,E,S,O,k,_,j,P,I,T,C,L,R,M,B,F,N,D,U,G,Q,z,Y,H,V;return Ql().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.params,o=void 0===r?null:r,i=t.url,a=t.method,u=t.headers,c=void 0===u?null:u,s=t.data,l=void 0===s?null:s,f=t.name,h=void 0===f?"":f,p=t.acceptStatuses,d=t.acceptStatusRange,y=void 0===d?[199,300]:d,v=t.minRespDelay,g=void 0===v?0:v,m=t.timeoutDelay,b=void 0===m?Math.max(g,Vl.getState().reqTimeoutDelay):m,w=t.collectionEnvelope,A=void 0===w?null:w,x=t.allowMockRequest,E=void 0===x||x,S=t.getBaseUrl,O=t.onResolve,k=void 0===O?function(){return!0}:O,_=t.onSuccess,j=void 0===_?function(){}:_,P=t.onReject,I=void 0===P?function(){return!0}:P,T=t.checkRouting,C=void 0===T?function(t,e,n){return Jl(t,e,n)}:T,L=t.onSuccessButIrrelevant,R=void 0===L?function(){}:L,M=t.$relevance,B=void 0===M?Wl:M,F=t.relevance,N=void 0===F?B.getState():F,D=t.rejectIrrelevant,U=void 0===D||D,G=(0,cl.A)(),null===o&&(o={}),null!=A&&(o.envelope=A),Q={id:G,url:i,method:a,params:ir(o)?null:o,headers:ir(null!=c?c:{})?null:c,data:l},(z=E&&h&&xl.getState()[h])?nf(z,Q,e):ef(Q,S),Y=Date.now(),V=g>0?cr(g):null,n.abrupt("return",new Promise((function(e,n){var r=!1,o=!1,i=function(t){a.unsubscribe(),clearTimeout(u),t()},a=B.subscribe((function(t){N!==t&&!1!==U&&(o=!0,i((function(){n(Rl(Object.assign(Object.assign({},Ol.respProcessing),{code:bl.irrelevant})))})))})),u=setTimeout((function(){r=!0,i((function(){s(Rl({name:"Request Timeout",message:"Request Timeout",code:0,status:408,reqConfig:Object.assign({},t)}))}))}),b),c=function(n){return zl(void 0,void 0,void 0,Ql().mark((function r(){var i,a,u;return Ql().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n.irrelevant=o,n.time=H-Y,r.prev=2,r.next=5,k(n,t);case 5:if("object"!==Gl(a=r.sent)){r.next=11;break}return r.next=9,s(Rl(Object.assign(Object.assign({},a),{reqConfig:Object.assign({},t)})));case 9:r.next=28;break;case 11:if(!1===a){r.next=27;break}return r.next=14,j(n,t);case 14:if(r.t1=i=r.sent,r.t0=null!==r.t1,!r.t0){r.next=18;break}r.t0=void 0!==i;case 18:if(!r.t0){r.next=22;break}r.t2=i,r.next=23;break;case 22:r.t2=n;case 23:n=r.t2,!1===ql(C,"resolve",t.routing)?s(Rl(Object.assign(Object.assign({},Ol.routing),{reqConfig:Object.assign({},t)})),!0):n.irrelevant?R(n,t):e(n),r.next=28;break;case 27:s(Rl(Object.assign({},Ol.resolveCanceled)),!0);case 28:r.next=34;break;case 30:r.prev=30,r.t3=r.catch(2),u=Rl(Object.assign(Object.assign({},Ol.respProcessing),{code:bl.resolve,internalErrorInfo:r.t3})),s(u,!0);case 34:case"end":return r.stop()}}),r,null,[[2,30]])})))},s=function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return zl(void 0,void 0,void 0,Ql().mark((function i(){return Ql().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(!o){i.next=2;break}return i.abrupt("return");case 2:if(!0!==r){i.next=5;break}return n(e),i.abrupt("return");case 5:return i.prev=5,i.next=8,I(e,t);case 8:!1!==i.sent?!1===ql(C,"reject",t.routing)?n(Rl(Object.assign(Object.assign({},Ol.routing),{reqConfig:Object.assign({},t)}))):n(e):n(Rl(Object.assign({},Ol.rejectCanceled))),i.next=15;break;case 12:i.prev=12,i.t0=i.catch(5),n(Rl(Object.assign(Object.assign({},Ol.respProcessing),{code:bl.reject,internalErrorInfo:e})));case 15:case"end":return i.stop()}}),i,null,[[5,12]])})))};Yl.set(G,(function(e){return zl(void 0,void 0,void 0,Ql().mark((function n(){return Ql().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(H=Date.now(),null===V){n.next=4;break}return n.next=4,V();case 4:if(!r){n.next=6;break}return n.abrupt("return");case 6:i((function(){return zl(void 0,void 0,void 0,Ql().mark((function n(){var r,o;return Ql().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e.status,!Xl(r,{acceptStatuses:p,acceptStatusRange:y})){n.next=8;break}return"string"==typeof(o=e.data)&&(o={name:"Internal error",message:e.data,code:-1,status:r}),n.next=6,s(Rl(Object.assign(Object.assign({},o),{reqConfig:Object.assign({},t)})));case 6:n.next=10;break;case 8:return n.next=10,c(e);case 10:case"end":return n.stop()}}),n)})))}));case 7:case"end":return n.stop()}}),n)})))}))})));case 12:case"end":return n.stop()}}),n)})))},of.createUrl=function(t,e){var n,r=null!=e?e:{},o=r.apiRoot,i=void 0===o?Vl.getState().apiRoot:o,a=r.params,u=void 0===a?{}:a;i&&(t=i+"/"+t);var c=t.split("?");t=c[0].replace(/\/\//g,"/").replace(/^\//,"");var s=[null!==(n=c[1])&&void 0!==n?n:"",Object.keys(u).map((function(t){return t+(""===u[t]?"":"="+u[t])})).join("&")].filter((function(t){return""!==t}));return""+"".concat(t).concat(s.length>0?"?"+s.join("&"):"")},of.createReqError=Rl,of.isReqError=Ml,of.$$updateConfig=$l,of.$$failedFx=Hl;var af=function(){var t=Xi({}),e=t.map((function(t){return!ir(t)})),n=Ji("Key slug"),r=Ji("Key slug"),o=Ji();t.on(n,(function(t,e){if(!t[e])return t[e]=!0,Object.assign({},t)})).on(r,(function(t,e){if(t[e])return delete t[e],Object.assign({},t)})).on(o,(function(t,e){var n,r=e.slug,o=e.toggle,i=null!==(n=t[r])&&void 0!==n&&n;if((o="boolean"==typeof o?o:!i)!==i)return o?t[r]=!0:delete t[r],Object.assign({},t)}));var i={$flagMap:t,$$set:n,$$unset:r,$$toggle:o};return Object.assign(e,i)},uf=function(t){var e=Xi(t),n=Ji(),r=Ji();return e.on(n,(function(t,e){return e})).reset(r),[e,n,r]},cf=function(t){var e=Xi(t),n=Ji(),r=Ji(),o=Ji();e.on(n,(function(t,e){return e})).on(o,(function(t,e){return lr(e)?Object.assign(Object.assign({},t),e):e})).reset(r);var i={$$set:n,$$reset:r,$$assing:o};return Object.assign(e,i)},sf=function(t,e){var n=cf(t),r=Object.assign({},na(n,e));return Object.assign(n,r)};function lf(t){return function(t){if(Array.isArray(t))return ff(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ff(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ff(t,e):void 0}}(t)||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 ff(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var hf=function(){var t=function(t){return t.sort((function(t,e){return e.score-t.score})).forEach((function(t,e){return t.position=e+1,t})),t},e=sf([],{$$cnangeMyScore:function(e,n){return e.find((function(t){return t.me})).score+=n,t(lf(e))},$$setMyScore:function(e,n){return e.find((function(t){return t.me})).score=n,t(lf(e))}}),n=e.map((function(t){return t.find((function(t){return t.me}))}));e.$me=n;var r=cf({playersLimit:100,myStartingScore:0,getScore:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[1,1e3];return e[0]+ar(e[1])},getUsernameGetter:function(t){return function(){return"".concat(nt.t("player")," ")+t}}});return{sortPlayers:t,$mockPlayers:e,$defPlayersSettings:r}}();El.$$registerExecCallback({cb:function(){for(var t=hf.$defPlayersSettings.getState(),e=t.playersLimit,n=t.myStartingScore,r=t.getScore,o=t.getUsernameGetter,i=[],a=0;a<e;a++)i[a]={position:a,score:r(a,[1,1e3]),me:!1,getUsername:o(a)};var u=i[ar(e)];u.me=!0,u.score=n,hf.$mockPlayers.$$set(hf.sortPlayers(i))}});var pf={$$showError:Ji()};function df(t){return df="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},df(t)}function yf(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,vf(r.key),r)}}function vf(t){var e=function(t){if("object"!=df(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=df(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==df(e)?e:e+""}var gf=function(){return function(t,e){return e&&yf(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.StMS=1e3,this.MtS=60,this.HtS=3600,this.DtS=86400,this.WtS=604800,this.DtH=24,this.MStS=1/this.StMS,this.StM=1/this.MtS,this.StH=1/this.HtS,this.StD=1/this.DtS,this.StW=1/this.WtS,this.HtD=1/this.DtH,this.monthWeek=4,this.weekDays=7,this.workDays=5,this.maxTimeoutDelay=3*this.WtS*this.StMS,this.locTimeMS=this.getNowLoc(),this.servTimeMS=this.locTimeMS,this.timezone=this.getTimezoneLoc(),this.syncDelay=1/0}),[{key:"getNowLoc",value:function(){return Date.now()}},{key:"getTimezoneLoc",value:function(){return Math.trunc((new Date).getTimezoneOffset()/-this.MtS)}},{key:"setTime",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.locTimeMS,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locTime,r=void 0===n?this.getNowLoc():n,o=e.timezone,i=void 0===o?this.timezone:o,a=e.syncDelay,u=void 0===a?1/0:a;return this.timezone=i,u>this.syncDelay||(this.servTimeMS=t*this.StMS,this.locTimeMS=r,this.syncDelay=u),this}},{key:"getNow",value:function(){return Math.trunc(.001*this.getNowMS())}},{key:"getNowMS",value:function(){return this.servTimeMS+this.getNowLoc()-this.locTimeMS}}])}(),mf=new gf;function bf(t){return bf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bf(t)}function wf(){wf=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==bf(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(bf(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var Af,xf,Ef,Sf,Of,kf,_f,jf,Pf,If,Tf,Cf,Lf=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},Rf=(Af=cf((function(){})),xf=cf("ru"),Ef=cf(!0),Sf=Ji(),Of=Ji(),kf=Ji(),_f=Ji(),jf=of.create(),Pf=cf({top:0,left:0,right:0,bottom:0}),If=Ji(),Tf=cf(!1),Cf=of.create((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Lf(void 0,void 0,void 0,wf().mark((function e(){var n,r;return wf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="develop/try",e.next=3,of.send({url:of.createUrl("".concat(n),{apiRoot:"game/".concat(Wo.Ay.gameLaunchConfig.gameInstanceId)}),method:"POST",name:n,params:{quantity:t,transactionId:(0,cl.A)()}});case 3:return r=e.sent,e.abrupt("return",r.data.tryAvailable);case 5:case"end":return e.stop()}}),e)})))})),{$closeAppCallback:Af,$region:xf,$canPlay:Ef,$$setLanguage:Sf,$$languageChanged:Of,$$closeApp:kf,$$fetchAppConfig:_f,$$fetchAppConfigFx:jf,$sai:Pf,$$increaseAttemptsFx:Cf,$$appShouldForeground:If,$appForegrounded:Tf}),Mf=__webpack_require__(19018),Bf=__webpack_require__(80515);function Ff(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var Nf=new WeakSet,Df=new WeakMap,Uf=new WeakMap,Gf=new WeakMap,Qf=new WeakMap,zf=new WeakMap,Yf=new WeakMap,Hf=new WeakMap,Vf=new WeakMap,$f=new WeakMap,Wf={construct:function(){return Wf}},qf=/^import(?:(?:[\s]+[\w]+|(?:[\s]+[\w]+[\s]*,)?[\s]*\{[\s]*[\w]+(?:[\s]+as[\s]+[\w]+)?(?:[\s]*,[\s]*[\w]+(?:[\s]+as[\s]+[\w]+)?)*[\s]*}|(?:[\s]+[\w]+[\s]*,)?[\s]*\*[\s]+as[\s]+[\w]+)[\s]+from)?(?:[\s]*)("([^"\\]|\\.)+"|'([^'\\]|\\.)+')(?:[\s]*);?/,Jf=function(t,e){for(var n=[],r=t.replace(/^[\s]+/,""),o=r.match(qf);null!==o;){var i=o[1].slice(1,-1),a=o[0].replace(/([\s]+)?;?$/,"").replace(i,new URL(i,e).toString());n.push(a),o=(r=r.slice(o[0].length).replace(/^[\s]+/,"")).match(qf)}return[n.join(";"),r]};function Kf(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Zf(r.key),r)}}function Xf(t,e,n){return e&&Kf(t.prototype,e),n&&Kf(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Zf(t){var e=function(t){if("object"!=nh(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=nh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==nh(e)?e:e+""}function th(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return eh(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eh(t,e):void 0}}(t,e)||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 eh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function nh(t){return nh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nh(t)}var rh=function(t){if(void 0!==t&&!Array.isArray(t))throw new TypeError("The parameterDescriptors property of given value for processorCtor is not an array.")},oh=function(t){if(!function(t){try{new new Proxy(t,Wf)}catch(t){return!1}return!0}(t))throw new TypeError("The given value for processorCtor should be a constructor.");if(null===t.prototype||"object"!==nh(t.prototype))throw new TypeError("The given value for processorCtor should have a prototype.")},ih=function(t,e){var n=t.get(e);if(void 0===n)throw new Error("A value with the given key could not be found.");return n};function ah(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var uh=function(t,e){var n=Array.from(t).filter(e);if(n.length>1)throw Error("More than one element was found.");if(0===n.length)throw Error("No element was found.");var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ah(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ah(t,e):void 0}}(t,e)||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.")}()}(n,1)[0];return t.delete(r),r},ch=function(t,e,n,r){var o=ih(t,e),i=uh(o,(function(t){return t[0]===n&&t[1]===r}));return 0===o.size&&t.delete(e),i},sh=function(t){return ih(Yf,t)},lh=function(t){if(Nf.has(t))throw new Error("The AudioNode is already stored.");Nf.add(t),sh(t).forEach((function(t){return t(!0)}))},fh=function(t){return"port"in t},hh=function(t){if(!Nf.has(t))throw new Error("The AudioNode is not stored.");Nf.delete(t),sh(t).forEach((function(t){return t(!1)}))},ph=function(t,e){!fh(t)&&e.every((function(t){return 0===t.size}))&&hh(t)};function dh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function yh(t){return yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yh(t)}function vh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function gh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vh(Object(n),!0).forEach((function(e){mh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function mh(t,e,n){return(e=wh(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,wh(r.key),r)}}function wh(t){var e=function(t){if("object"!=yh(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=yh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==yh(e)?e:e+""}function Ah(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ah=function(){return!!t})()}function xh(t){return xh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},xh(t)}function Eh(t,e){return Eh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Eh(t,e)}var Sh={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",fftSize:2048,maxDecibels:-30,minDecibels:-100,smoothingTimeConstant:.8},Oh=function(t,e){return t.context===e};function kh(t){return kh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kh(t)}function _h(){_h=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==kh(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(kh(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function jh(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var Ph=function(t){try{t.copyToChannel(new Float32Array(1),0,-1)}catch(t){return!1}return!0},Ih=function(){return new DOMException("","IndexSizeError")},Th=function(t){var e;t.getChannelData=(e=t.getChannelData,function(n){try{return e.call(t,n)}catch(t){if(12===t.code)throw Ih();throw t}})};function Ch(t){return Ch="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ch(t)}function Lh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Rh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Lh(Object(n),!0).forEach((function(e){Mh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Lh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Mh(t,e,n){return(e=Fh(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Fh(r.key),r)}}function Fh(t){var e=function(t){if("object"!=Ch(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ch(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ch(e)?e:e+""}var Nh={numberOfChannels:1},Dh=-34028234663852886e22,Uh=-Dh,Gh=function(t){return Nf.has(t)};function Qh(t){return Qh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qh(t)}function zh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zh(Object(n),!0).forEach((function(e){Hh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hh(t,e,n){return(e=$h(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,$h(r.key),r)}}function $h(t){var e=function(t){if("object"!=Qh(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Qh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Qh(e)?e:e+""}function Wh(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Wh=function(){return!!t})()}function qh(t){return qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},qh(t)}function Jh(t,e){return Jh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Jh(t,e)}var Kh={buffer:null,channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",loop:!1,loopEnd:0,loopStart:0,playbackRate:1};function Xh(t){return Xh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xh(t)}function Zh(){Zh=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Xh(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Xh(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function tp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function ep(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var np=function(t){return ih(Df,t)},rp=function(t){return ih(Gf,t)};function op(t){return op="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},op(t)}function ip(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ap(r.key),r)}}function ap(t){var e=function(t){if("object"!=op(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=op(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==op(e)?e:e+""}function up(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(up=function(){return!!t})()}function cp(t){return cp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cp(t)}function sp(t,e){return sp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},sp(t,e)}function lp(t){return lp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lp(t)}function fp(){fp=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==lp(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(lp(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function hp(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function pp(t){return function(t){if(Array.isArray(t))return dp(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return dp(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dp(t,e):void 0}}(t)||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 dp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var yp=function(t){return"context"in t},vp=function(t){return yp(t[0])};function gp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var mp=function(t,e,n,r){var o,i=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return gp(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gp(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(t);try{for(i.s();!(o=i.n()).done;)if(n(o.value)){if(r)return!1;throw Error("The set contains at least one similar element.")}}catch(t){i.e(t)}finally{i.f()}return t.add(e),!0};function bp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var wp=function(t,e,n,r){var o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return bp(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bp(t,e):void 0}}(t,e)||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.")}()}(n,2),i=o[0],a=o[1];mp(t,[e,i,a],(function(t){return t[0]===e&&t[1]===i}),r)};function Ap(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var xp=function(t,e,n){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ap(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ap(t,e):void 0}}(t,e)||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.")}()}(e,3),o=r[0],i=r[1],a=r[2],u=t.get(o);void 0===u?t.set(o,new Set([[i,a]])):mp(u,[i,a],(function(t){return t[0]===i}),n)},Ep=function(t){return"inputs"in t},Sp=function(t,e,n,r){if(Ep(e)){var o=e.inputs[r];return t.connect(o,n,0),[o,n,0]}return t.connect(e,n,r),[e,n,r]};function Op(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var kp=function(t,e,n){var r,o=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Op(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Op(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(i[0]===e&&i[1]===n)return t.delete(i),i}}catch(t){o.e(t)}finally{o.f()}return null},_p=function(t,e){if(!sh(t).delete(e))throw new Error("Missing the expected event listener.")},jp=function(t,e,n){var r=ih(t,e),o=uh(r,(function(t){return t[0]===n}));return 0===r.size&&t.delete(e),o},Pp=function(t,e,n,r){Ep(e)?t.disconnect(e.inputs[r],n,0):t.disconnect(e,n,r)},Ip=function(t){return ih(Uf,t)},Tp=function(t){return ih(Qf,t)},Cp=function(t){return Hf.has(t)},Lp=function(t){return!Nf.has(t)},Rp=function(t,e){return new Promise((function(n){if(null!==e)n(!0);else{var r=t.createScriptProcessor(256,1,1),o=t.createGain(),i=t.createBuffer(1,2,44100),a=i.getChannelData(0);a[0]=1,a[1]=1;var u=t.createBufferSource();u.buffer=i,u.loop=!0,u.connect(r).connect(t.destination),u.connect(o),u.disconnect(o),r.onaudioprocess=function(e){var o=e.inputBuffer.getChannelData(0);Array.prototype.some.call(o,(function(t){return 1===t}))?n(!0):n(!1),u.stop(),r.onaudioprocess=null,u.disconnect(r),r.disconnect(t.destination)},u.start()}}))};function Mp(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Bp(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bp(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Bp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var Fp=function(t,e){var n,r=new Map,o=Mp(t);try{for(o.s();!(n=o.n()).done;){var i,a=Mp(n.value);try{for(a.s();!(i=a.n()).done;){var u=i.value,c=r.get(u);r.set(u,void 0===c?1:c+1)}}catch(t){a.e(t)}finally{a.f()}}}catch(t){o.e(t)}finally{o.f()}r.forEach((function(t,n){return e(n,t)}))},Np=function(t){return"context"in t};function Dp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||Gp(t,e)||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 Up(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Gp(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Gp(t,e){if(t){if("string"==typeof t)return Qp(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qp(t,e):void 0}}function Qp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var zp=function(t){var e,n,r=new Map;t.connect=(e=t.connect.bind(t),function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=Np(t)?e(t,n,o):e(t,n),a=r.get(t);return void 0===a?r.set(t,[{input:o,output:n}]):a.every((function(t){return t.input!==o||t.output!==n}))&&a.push({input:o,output:n}),i}),t.disconnect=(n=t.disconnect,function(e,o,i){if(n.apply(t),void 0===e)r.clear();else if("number"==typeof e){var a,u=Up(r);try{for(u.s();!(a=u.n()).done;){var c=Dp(a.value,2),s=c[0],l=c[1].filter((function(t){return t.output!==e}));0===l.length?r.delete(s):r.set(s,l)}}catch(t){u.e(t)}finally{u.f()}}else if(r.has(e))if(void 0===o)r.delete(e);else{var f=r.get(e);if(void 0!==f){var h=f.filter((function(t){return t.output!==o&&(t.input!==i||void 0===i)}));0===h.length?r.delete(e):r.set(e,h)}}var p,d=Up(r);try{var y=function(){var e=Dp(p.value,2),n=e[0];e[1].forEach((function(e){Np(n)?t.connect(n,e.output,e.input):t.connect(n,e.output)}))};for(d.s();!(p=d.n()).done;)y()}catch(t){d.e(t)}finally{d.f()}})};function Yp(t){return Yp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yp(t)}function Hp(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Vp(r.key),r)}}function Vp(t){var e=function(t){if("object"!=Yp(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Yp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Yp(e)?e:e+""}function $p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return($p=function(){return!!t})()}function Wp(t){return Wp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Wp(t)}function qp(t,e){return qp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},qp(t,e)}function Jp(t){return function(t){if(Array.isArray(t))return td(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Zp(t)||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 Kp(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Zp(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Xp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||Zp(t,e)||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 Zp(t,e){if(t){if("string"==typeof t)return td(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?td(t,e):void 0}}function td(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var ed=function(t,e,n,r,o){var i=function(t,e,n,r){var o=np(e),i=o.activeInputs,a=o.passiveInputs,u=kp(i[r],t,n);return null===u?[ch(a,t,n,r)[2],!1]:[u[2],!0]}(t,n,r,o),a=Xp(i,2),u=a[0],c=a[1];if(null!==u&&(_p(t,u),!c||e||Cp(t)||Pp(Ip(t),Ip(n),r,o)),Gh(n)){var s=np(n).activeInputs;ph(n,s)}},nd=function(t,e,n,r){var o=function(t,e,n){var r=rp(e),o=r.activeInputs,i=r.passiveInputs,a=kp(o,t,n);return null===a?[jp(i,t,n)[1],!1]:[a[2],!0]}(t,n,r),i=Xp(o,2),a=i[0],u=i[1];null!==a&&(_p(t,a),!u||e||Cp(t)||Ip(t).disconnect(Tp(n),r))};function rd(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function od(t){return od="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},od(t)}function id(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ad(r.key),r)}}function ad(t){var e=function(t){if("object"!=od(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=od(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==od(e)?e:e+""}var ud=function(){return function(t,e){return e&&id(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._map=new Map(e)}),[{key:"size",get:function(){return this._map.size}},{key:"entries",value:function(){return this._map.entries()}},{key:"forEach",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._map.forEach((function(r,o){return t.call(n,r,o,e)}))}},{key:"get",value:function(t){return this._map.get(t)}},{key:"has",value:function(t){return this._map.has(t)}},{key:"keys",value:function(){return this._map.keys()}},{key:"values",value:function(){return this._map.values()}}])}();function cd(t,e,n,r,o){if("function"==typeof t.copyFromChannel)0===e[n].byteLength&&(e[n]=new Float32Array(128)),t.copyFromChannel(e[n],r,o);else{var i=t.getChannelData(r);if(0===e[n].byteLength)e[n]=i.slice(o,o+128);else{var a=new Float32Array(i.buffer,o*Float32Array.BYTES_PER_ELEMENT,128);e[n].set(a)}}}var sd=function(t,e,n,r,o){"function"==typeof t.copyToChannel?0!==e[n].byteLength&&t.copyToChannel(e[n],r,o):0!==e[n].byteLength&&t.getChannelData(r).set(e[n],o)},ld=function(t,e){for(var n=[],r=0;r<t;r+=1){for(var o=[],i="number"==typeof e?e:e[r],a=0;a<i;a+=1)o.push(new Float32Array(128));n.push(o)}return n},fd=function(t,e){var n=ih($f,t),r=Ip(e);return ih(n,r)};function hd(t){return hd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hd(t)}function pd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||yd(t,e)||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 dd(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=yd(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function yd(t,e){if(t){if("string"==typeof t)return vd(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vd(t,e):void 0}}function vd(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function gd(){gd=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==hd(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(hd(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function md(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function bd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?md(Object(n),!0).forEach((function(e){wd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):md(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function wd(t,e,n){return(e=function(t){var e=function(t){if("object"!=hd(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=hd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==hd(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ad(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function xd(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Ad(i,r,o,a,u,"next",t)}function u(t){Ad(i,r,o,a,u,"throw",t)}a(void 0)}))}}var Ed=function(){var t=xd(gd().mark((function t(e,n,r,o,i,a,u){var c,s,l,f,h,p,d,y,v,g,m;return gd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c=null===n?128*Math.ceil(e.context.length/128):n.length,s=o.channelCount*o.numberOfInputs,l=i.reduce((function(t,e){return t+e}),0),f=0===l?null:r.createBuffer(l,c,r.sampleRate),void 0!==a){t.next=6;break}throw new Error("Missing the processor constructor.");case 6:return h=np(e),t.next=9,fd(r,e);case 9:p=t.sent,d=ld(o.numberOfInputs,o.channelCount),y=ld(o.numberOfOutputs,i),v=Array.from(e.parameters.keys()).reduce((function(t,e){return bd(bd({},t),{},wd({},e,new Float32Array(128)))}),{}),g=gd().mark((function t(c){var l,g,m,b,w,A,x,E,S;return gd().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o.numberOfInputs>0&&null!==n)for(l=0;l<o.numberOfInputs;l+=1)for(g=0;g<o.channelCount;g+=1)cd(n,d[l],g,g,c);for(void 0!==a.parameterDescriptors&&null!==n&&a.parameterDescriptors.forEach((function(t,e){var r=t.name;cd(n,v,r,s+e,c)})),m=0;m<o.numberOfInputs;m+=1)for(b=0;b<i[m];b+=1)0===y[m][b].byteLength&&(y[m][b]=new Float32Array(128));if(t.prev=3,w=d.map((function(t,e){return 0===h.activeInputs[e].size?[]:t})),A=u(c/r.sampleRate,r.sampleRate,(function(){return p.process(w,y,v)})),null!==f)for(x=0,E=0;x<o.numberOfOutputs;x+=1){for(S=0;S<i[x];S+=1)sd(f,y[x],S,E+S,c);E+=i[x]}if(A){t.next=9;break}return t.abrupt("return",0);case 9:t.next=15;break;case 11:return t.prev=11,t.t0=t.catch(3),e.dispatchEvent(new ErrorEvent("processorerror",{colno:t.t0.colno,filename:t.t0.filename,lineno:t.t0.lineno,message:t.t0.message})),t.abrupt("return",0);case 15:case"end":return t.stop()}}),t,null,[[3,11]])})),m=0;case 15:if(!(m<c)){t.next=23;break}return t.delegateYield(g(m),"t0",17);case 17:if(0!==t.t0){t.next=20;break}return t.abrupt("break",23);case 20:m+=128,t.next=15;break;case 23:return t.abrupt("return",f);case 24:case"end":return t.stop()}}),t)})));return function(e,n,r,o,i,a,u){return t.apply(this,arguments)}}();function Sd(t){return Sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sd(t)}function Od(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Od(Object(n),!0).forEach((function(e){_d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Od(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function _d(t,e,n){return(e=Pd(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Pd(r.key),r)}}function Pd(t){var e=function(t){if("object"!=Sd(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Sd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Sd(e)?e:e+""}function Id(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Id=function(){return!!t})()}function Td(t){return Td=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Td(t)}function Cd(t,e){return Cd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Cd(t,e)}function Ld(t){return Ld="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ld(t)}function Rd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Md(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rd(Object(n),!0).forEach((function(e){Bd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Bd(t,e,n){return(e=Nd(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Nd(r.key),r)}}function Nd(t){var e=function(t){if("object"!=Ld(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ld(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ld(e)?e:e+""}function Dd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Dd=function(){return!!t})()}function Ud(t){return Ud=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ud(t)}function Gd(t,e){return Gd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Gd(t,e)}var Qd={Q:1,channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",detune:0,frequency:350,gain:0,type:"lowpass"};function zd(t){return zd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zd(t)}function Yd(){Yd=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==zd(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(zd(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Hd(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Vd(t){return Vd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vd(t)}function $d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$d(Object(n),!0).forEach((function(e){qd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function qd(t,e,n){return(e=Jd(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jd(t){var e=function(t){if("object"!=Vd(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Vd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Vd(e)?e:e+""}function Kd(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Kd=function(){return!!t})()}function Xd(t){return Xd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xd(t)}function Zd(t,e){return Zd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Zd(t,e)}var ty={channelCount:1,channelCountMode:"explicit",channelInterpretation:"speakers",numberOfInputs:6};function ey(t){return ey="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ey(t)}function ny(){ny=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==ey(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(ey(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function ry(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function oy(t){return oy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oy(t)}function iy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ay(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?iy(Object(n),!0).forEach((function(e){uy(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):iy(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function uy(t,e,n){return(e=cy(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cy(t){var e=function(t){if("object"!=oy(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=oy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==oy(e)?e:e+""}function sy(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(sy=function(){return!!t})()}function ly(t){return ly=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ly(t)}function fy(t,e){return fy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},fy(t,e)}var hy={channelCount:6,channelCountMode:"explicit",channelInterpretation:"discrete",numberOfOutputs:6};function py(t){return py="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},py(t)}function dy(){dy=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==py(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(py(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function yy(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function vy(t){return vy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vy(t)}function gy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function my(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?gy(Object(n),!0).forEach((function(e){by(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):gy(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function by(t,e,n){return(e=Ay(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wy(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ay(r.key),r)}}function Ay(t){var e=function(t){if("object"!=vy(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=vy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==vy(e)?e:e+""}function xy(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(xy=function(){return!!t})()}function Ey(t){return Ey=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ey(t)}function Sy(t,e){return Sy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Sy(t,e)}var Oy={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",offset:1};function ky(t){return ky="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ky(t)}function _y(){_y=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==ky(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(ky(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function jy(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Py(t){return Py="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Py(t)}function Iy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ty(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Iy(Object(n),!0).forEach((function(e){Cy(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Iy(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Cy(t,e,n){return(e=Ry(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ly(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ry(r.key),r)}}function Ry(t){var e=function(t){if("object"!=Py(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Py(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Py(e)?e:e+""}function My(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(My=function(){return!!t})()}function By(t){return By=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},By(t)}function Fy(t,e){return Fy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Fy(t,e)}var Ny={buffer:null,channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",disableNormalization:!1};function Dy(t){return Dy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dy(t)}function Uy(){Uy=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Dy(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Dy(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Gy(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var Qy=function(t){var e=new MessageChannel,n=e.port1,r=e.port2;return new Promise((function(e){var o=function(){r.onmessage=null,n.close(),r.close(),e()};r.onmessage=function(){return o()};try{n.postMessage(t,[t])}catch(t){}finally{o()}}))};function zy(t){return zy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zy(t)}function Yy(){Yy=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==zy(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(zy(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Hy(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Vy(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function $y(t){return $y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$y(t)}function Wy(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function qy(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wy(Object(n),!0).forEach((function(e){Jy(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wy(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Jy(t,e,n){return(e=Xy(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ky(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Xy(r.key),r)}}function Xy(t){var e=function(t){if("object"!=$y(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=$y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==$y(e)?e:e+""}function Zy(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Zy=function(){return!!t})()}function tv(t){return tv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},tv(t)}function ev(t,e){return ev=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ev(t,e)}var nv={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",delayTime:0,maxDelayTime:1};function rv(t){return rv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rv(t)}function ov(){ov=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==rv(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(rv(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function iv(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function av(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var uv=function(t,e,n){var r=e[n];if(void 0===r)throw t();return r};function cv(t){return cv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cv(t)}function sv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sv(Object(n),!0).forEach((function(e){fv(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function fv(t,e,n){return(e=pv(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,pv(r.key),r)}}function pv(t){var e=function(t){if("object"!=cv(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=cv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==cv(e)?e:e+""}function dv(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(dv=function(){return!!t})()}function yv(t){return yv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},yv(t)}function vv(t,e){return vv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},vv(t,e)}var gv={attack:.003,channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",knee:30,ratio:12,release:.25,threshold:-24};function mv(t){return mv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mv(t)}function bv(){bv=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==mv(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(mv(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function wv(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Av(t){return Av="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Av(t)}function xv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ev(r.key),r)}}function Ev(t){var e=function(t){if("object"!=Av(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Av(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Av(e)?e:e+""}function Sv(t){return Sv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sv(t)}function Ov(){Ov=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Sv(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Sv(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function kv(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function _v(t){return _v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_v(t)}function jv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jv(Object(n),!0).forEach((function(e){Iv(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Iv(t,e,n){return(e=Cv(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Cv(r.key),r)}}function Cv(t){var e=function(t){if("object"!=_v(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=_v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==_v(e)?e:e+""}function Lv(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Lv=function(){return!!t})()}function Rv(t){return Rv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Rv(t)}function Mv(t,e){return Mv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Mv(t,e)}var Bv={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",gain:1};function Fv(t){return Fv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fv(t)}function Nv(){Nv=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Fv(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Fv(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Dv(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var Uv=function(){return new DOMException("","InvalidStateError")},Gv=function(){return new DOMException("","InvalidAccessError")};function Qv(t){return Qv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qv(t)}function zv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zv(Object(n),!0).forEach((function(e){Hv(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hv(t,e,n){return(e=$v(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,$v(r.key),r)}}function $v(t){var e=function(t){if("object"!=Qv(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Qv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Qv(e)?e:e+""}function Wv(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Wv=function(){return!!t})()}function qv(t){return qv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},qv(t)}function Jv(t,e){return Jv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Jv(t,e)}var Kv={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers"},Xv=function(t,e,n,r,o,i,a,u,c,s,l){for(var f=s.length,h=u,p=0;p<f;p+=1){for(var d=n[0]*s[p],y=1;y<o;y+=1){var v=h-y&c-1;d+=n[y]*i[v],d-=t[y]*a[v]}for(var g=o;g<r;g+=1)d+=n[g]*i[h-g&c-1];for(var m=o;m<e;m+=1)d-=t[m]*a[h-m&c-1];i[h]=s[p],a[h]=d,h=h+1&c-1,l[p]=d}return h};function Zv(t){return Zv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zv(t)}function tg(){tg=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Zv(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Zv(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function eg(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function ng(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){eg(i,r,o,a,u,"next",t)}function u(t){eg(i,r,o,a,u,"throw",t)}a(void 0)}))}}var rg=function(t,e,n,r){var o=n instanceof Float64Array?n:new Float64Array(n),i=r instanceof Float64Array?r:new Float64Array(r),a=o.length,u=i.length,c=Math.min(a,u);if(1!==o[0]){for(var s=0;s<a;s+=1)i[s]/=o[0];for(var l=1;l<u;l+=1)o[l]/=o[0]}for(var f=new Float32Array(32),h=new Float32Array(32),p=e.createBuffer(t.numberOfChannels,t.length,t.sampleRate),d=t.numberOfChannels,y=0;y<d;y+=1){var v=t.getChannelData(y),g=p.getChannelData(y);f.fill(0),h.fill(0),Xv(o,a,i,u,c,f,h,0,32,v,g)}return p};function og(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function ig(t){return ig="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ig(t)}function ag(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ug(r.key),r)}}function ug(t){var e=function(t){if("object"!=ig(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ig(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ig(e)?e:e+""}function cg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(cg=function(){return!!t})()}function sg(t){return sg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},sg(t)}function lg(t,e){return lg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},lg(t,e)}function fg(t){return fg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fg(t)}function hg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pg(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hg(Object(n),!0).forEach((function(e){dg(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hg(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function dg(t,e,n){return(e=vg(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yg(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,vg(r.key),r)}}function vg(t){var e=function(t){if("object"!=fg(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=fg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==fg(e)?e:e+""}function gg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(gg=function(){return!!t})()}function mg(t){return mg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mg(t)}function bg(t,e){return bg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bg(t,e)}var wg={channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers"};function Ag(t){return Ag="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ag(t)}function xg(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Eg(r.key),r)}}function Eg(t){var e=function(t){if("object"!=Ag(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Ag(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ag(e)?e:e+""}function Sg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Sg=function(){return!!t})()}function Og(t){return Og=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Og(t)}function kg(t,e){return kg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},kg(t,e)}function _g(t){return _g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_g(t)}function jg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(jg=function(){return!!t})()}function Pg(t){return Pg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Pg(t)}function Ig(t,e){return Ig=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Ig(t,e)}function Tg(t){return Tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tg(t)}function Cg(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Lg(r.key),r)}}function Lg(t){var e=function(t){if("object"!=Tg(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Tg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Tg(e)?e:e+""}function Rg(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Rg=function(){return!!t})()}function Mg(t){return Mg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Mg(t)}function Bg(t,e){return Bg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Bg(t,e)}var Fg=function(t){var e=new Uint32Array([1179011410,40,1163280727,544501094,16,131073,44100,176400,1048580,1635017060,4,0]);try{var n=t.decodeAudioData(e.buffer,(function(){}));return void 0!==n&&(n.catch((function(){})),!0)}catch(t){}return!1};function Ng(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Dg(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dg(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Dg(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var Ug=function(t,e,n){var r=e[n];void 0!==r&&r!==t[n]&&(t[n]=r)},Gg=function(t,e){Ug(t,e,"channelCount"),Ug(t,e,"channelCountMode"),Ug(t,e,"channelInterpretation")},Qg=function(t){return"function"==typeof t.getFloatTimeDomainData},zg=function(t,e,n){var r=e[n];void 0!==r&&r!==t[n].value&&(t[n].value=r)},Yg=function(t){var e;t.start=(e=t.start,function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;if("number"==typeof o&&o<0||r<0||n<0)throw new RangeError("The parameters can't be negative.");e.call(t,n,r,o)})},Hg=function(t){var e;t.stop=(e=t.stop,function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(n<0)throw new RangeError("The parameter can't be negative.");e.call(t,n)})};function Vg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $g(t,e,n){return(e=function(t){var e=function(t){if("object"!=Wg(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Wg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Wg(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wg(t){return Wg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wg(t)}var qg=function(t,e){return null===t?512:Math.max(512,Math.min(16384,Math.pow(2,Math.round(Math.log2(t*e)))))},Jg=function(t){return new Promise((function(e,n){var r=new MessageChannel,o=r.port1,i=r.port2;o.onmessage=function(t){var n=t.data;o.close(),i.close(),e(n)},o.onmessageerror=function(t){var e=t.data;o.close(),i.close(),n(e)},i.postMessage(t)}))};function Kg(t){return Kg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kg(t)}function Xg(){Xg=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Kg(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Kg(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Zg(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var tm=function(){var t=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Zg(i,r,o,a,u,"next",t)}function u(t){Zg(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Xg().mark((function t(e,n){var r;return Xg().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Jg(n);case 2:return r=t.sent,t.abrupt("return",new e(r));case 4:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}();function em(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?em(Object(n),!0).forEach((function(e){rm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):em(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function rm(t,e,n){return(e=function(t){var e=function(t){if("object"!=om(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=om(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==om(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function om(t){return om="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},om(t)}function im(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var am=function(t,e){var n=t.createBiquadFilter();return Gg(n,e),zg(n,e,"Q"),zg(n,e,"detune"),zg(n,e,"frequency"),zg(n,e,"gain"),Ug(n,e,"type"),n},um=function(t,e){var n,r,o=t.createChannelSplitter(e.numberOfOutputs);return Gg(o,e),r=(n=o).numberOfOutputs,Object.defineProperty(n,"channelCount",{get:function(){return r},set:function(t){if(t!==r)throw Uv()}}),Object.defineProperty(n,"channelCountMode",{get:function(){return"explicit"},set:function(t){if("explicit"!==t)throw Uv()}}),Object.defineProperty(n,"channelInterpretation",{get:function(){return"discrete"},set:function(t){if("discrete"!==t)throw Uv()}}),o},cm=function(t,e){return t.connect=e.connect.bind(e),t.disconnect=e.disconnect.bind(e),t};function sm(t){return sm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sm(t)}var lm=["offset"];function fm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function hm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fm(Object(n),!0).forEach((function(e){pm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function pm(t,e,n){return(e=function(t){var e=function(t){if("object"!=sm(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=sm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==sm(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var dm=function(t,e){var n=t.createDelay(e.maxDelayTime);return Gg(n,e),zg(n,e,"delayTime"),n},ym=function(t,e){var n=t.createGain();return Gg(n,e),zg(n,e,"gain"),n};function vm(t,e){var n=e[0]*e[0]+e[1]*e[1];return[(t[0]*e[0]+t[1]*e[1])/n,(t[1]*e[0]-t[0]*e[1])/n]}function gm(t,e){return[t[0]*e[0]-t[1]*e[1],t[0]*e[1]+t[1]*e[0]]}function mm(t,e){for(var n=[0,0],r=t.length-1;r>=0;r-=1)(n=gm(n,e))[0]+=t[r];return n}function bm(t){return bm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bm(t)}var wm=["coneInnerAngle","coneOuterAngle","coneOuterGain","distanceModel","maxDistance","orientationX","orientationY","orientationZ","panningModel","positionX","positionY","positionZ","refDistance","rolloffFactor"];function Am(t){return function(t){if(Array.isArray(t))return xm(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return xm(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xm(t,e):void 0}}(t)||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 xm(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Em(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Sm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Em(Object(n),!0).forEach((function(e){Om(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Em(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Om(t,e,n){return(e=function(t){var e=function(t){if("object"!=bm(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=bm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==bm(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var km=function(t,e,n,r){return t.createScriptProcessor(e,n,r)},_m=["channelCount","channelCountMode","pan"];function jm(t){return jm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jm(t)}function Pm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Im(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pm(Object(n),!0).forEach((function(e){Tm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Tm(t,e,n){return(e=function(t){var e=function(t){if("object"!=jm(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=jm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==jm(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cm(t){return Cm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cm(t)}var Lm=["curve","oversample"];function Rm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Mm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rm(Object(n),!0).forEach((function(e){Bm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Bm(t,e,n){return(e=function(t){var e=function(t){if("object"!=Cm(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Cm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Cm(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fm=function(){return new DOMException("","NotSupportedError")};function Nm(t){return Nm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nm(t)}function Dm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Um(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Dm(Object(n),!0).forEach((function(e){Gm(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Dm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Gm(t,e,n){return(e=zm(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qm(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,zm(r.key),r)}}function zm(t){var e=function(t){if("object"!=Nm(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Nm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Nm(e)?e:e+""}function Ym(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Ym=function(){return!!t})()}function Hm(t){return Hm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Hm(t)}function Vm(t,e){return Vm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Vm(t,e)}var $m={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",detune:0,frequency:440,periodicWave:void 0,type:"sine"};function Wm(t){return Wm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wm(t)}function qm(){qm=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Wm(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Wm(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Jm(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Km(t){return Km="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Km(t)}function Xm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zm(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xm(Object(n),!0).forEach((function(e){tb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xm(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function tb(t,e,n){return(e=nb(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function eb(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,nb(r.key),r)}}function nb(t){var e=function(t){if("object"!=Km(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Km(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Km(e)?e:e+""}function rb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(rb=function(){return!!t})()}function ob(t){return ob=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ob(t)}function ib(t,e){return ib=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ib(t,e)}var ab={channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",coneInnerAngle:360,coneOuterAngle:360,coneOuterGain:0,distanceModel:"inverse",maxDistance:1e4,orientationX:1,orientationY:0,orientationZ:0,panningModel:"equalpower",positionX:0,positionY:0,positionZ:0,refDistance:1,rolloffFactor:1};function ub(t){return ub="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ub(t)}function cb(){cb=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==ub(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(ub(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function sb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lb(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sb(Object(n),!0).forEach((function(e){fb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function fb(t,e,n){return(e=function(t){var e=function(t){if("object"!=ub(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ub(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ub(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hb(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function pb(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){hb(i,r,o,a,u,"next",t)}function u(t){hb(i,r,o,a,u,"throw",t)}a(void 0)}))}}function db(t){return db="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},db(t)}function yb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function vb(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yb(Object(n),!0).forEach((function(e){gb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function gb(t,e,n){return(e=bb(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mb(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,bb(r.key),r)}}function bb(t){var e=function(t){if("object"!=db(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=db(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==db(e)?e:e+""}var wb={disableNormalization:!1};function Ab(t){return Ab="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ab(t)}function xb(t){return function(t){if(Array.isArray(t))return kb(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Ob(t)||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 Eb(){Eb=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Ab(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Ab(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Sb(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||Ob(t,e)||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 Ob(t,e){if(t){if("string"==typeof t)return kb(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kb(t,e):void 0}}function kb(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function _b(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function jb(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){_b(i,r,o,a,u,"next",t)}function u(t){_b(i,r,o,a,u,"throw",t)}a(void 0)}))}}function Pb(t){return Pb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pb(t)}function Ib(){Ib=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Pb(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Pb(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Tb(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Cb(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cb(t,e):void 0}}(t,e)||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 Cb(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Lb(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Rb(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Lb(i,r,o,a,u,"next",t)}function u(t){Lb(i,r,o,a,u,"throw",t)}a(void 0)}))}}function Mb(t){return Mb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mb(t)}function Bb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Fb(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bb(Object(n),!0).forEach((function(e){Nb(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Nb(t,e,n){return(e=Ub(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Db(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ub(r.key),r)}}function Ub(t){var e=function(t){if("object"!=Mb(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Mb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Mb(e)?e:e+""}function Gb(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Gb=function(){return!!t})()}function Qb(t){return Qb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qb(t)}function zb(t,e){return zb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},zb(t,e)}var Yb={channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers",pan:0};function Hb(t){return Hb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hb(t)}function Vb(){Vb=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Hb(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Hb(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function $b(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Wb(t){return Wb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wb(t)}function qb(){qb=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Wb(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Wb(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Jb(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function Kb(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Jb(i,r,o,a,u,"next",t)}function u(t){Jb(i,r,o,a,u,"throw",t)}a(void 0)}))}}function Xb(t){return Xb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xb(t)}function Zb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tw(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zb(Object(n),!0).forEach((function(e){ew(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zb(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ew(t,e,n){return(e=rw(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nw(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,rw(r.key),r)}}function rw(t){var e=function(t){if("object"!=Xb(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Xb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Xb(e)?e:e+""}function ow(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(ow=function(){return!!t})()}function iw(t){return iw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},iw(t)}function aw(t,e){return aw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},aw(t,e)}var uw={channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",curve:null,oversample:"none"};function cw(t){return cw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cw(t)}function sw(){sw=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==cw(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(cw(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function lw(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var fw=function(t,e,n){return void 0===t.copyFromChannel?t.getChannelData(n)[0]:(t.copyFromChannel(e,n),e[0])},hw=function(t){if(null===t)return!1;var e=t.length;return e%2!=0?0!==t[Math.floor(e/2)]:t[e/2-1]+t[e/2]!==0},pw=function(t,e,n,r){for(var o=t;!o.hasOwnProperty(e);)o=Object.getPrototypeOf(o);var i=Object.getOwnPropertyDescriptor(o,e),a=i.get,u=i.set;Object.defineProperty(t,e,{get:n(a),set:r(u)})};function dw(t){return dw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dw(t)}function yw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function vw(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yw(Object(n),!0).forEach((function(e){gw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function gw(t,e,n){return(e=function(t){var e=function(t){if("object"!=dw(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=dw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==dw(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mw(t){return mw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mw(t)}function bw(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ww(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bw(Object(n),!0).forEach((function(e){Aw(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bw(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Aw(t,e,n){return(e=function(t){var e=function(t){if("object"!=mw(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=mw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==mw(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xw,Ew,Sw,Ow,kw,_w,jw=function(t,e,n){try{t.setValueAtTime(e,n)}catch(r){if(9!==r.code)throw r;jw(t,e,n+1e-7)}},Pw=function(t){var e=t.createOscillator();try{e.start(-1)}catch(t){return t instanceof RangeError}return!1},Iw=function(t){var e=t.createBuffer(1,1,44100),n=t.createBufferSource();n.buffer=e,n.start(),n.stop();try{return n.stop(),!0}catch(t){return!1}},Tw=function(t){var e=t.createOscillator();try{e.stop(-1)}catch(t){return t instanceof RangeError}return!1},Cw=function(t,e){var n=e.createGain();t.connect(n);var r,o,i,a=(r=t.disconnect,function(){r.call(t,n),t.removeEventListener("ended",a)});t.addEventListener("ended",a),cm(t,n),t.stop=(o=t.stop,i=!1,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(i)try{o.call(t,e)}catch(t){n.gain.setValueAtTime(0,e)}else o.call(t,e),i=!0})},Lw=function(t,e){return function(n){var r={value:t};return Object.defineProperties(n,{currentTarget:r,target:r}),"function"==typeof e?e.call(t,n):e.handleEvent.call(t,n)}},Rw=function(t){return function(e,n,r,o){var i=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ff(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ff(t,e):void 0}}(t,e)||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.")}()}(r,3),a=i[0],u=i[1],c=i[2];t(e[u],[n,a,c],(function(t){return t[0]===n&&t[1]===a}),o)}}(mp),Mw=function(t){return function(e,n,r,o){var i=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return dh(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dh(t,e):void 0}}(t,e)||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.")}()}(r,3),a=i[0],u=i[1],c=i[2],s=e.get(a);void 0===s?e.set(a,new Set([[u,n,c]])):t(s,[u,n,c],(function(t){return t[0]===u&&t[1]===n}),o)}}(mp),Bw=function(t){return function(e,n,r,o){return t(e[o],(function(t){return t[0]===n&&t[1]===r}))}}(uh),Fw=new WeakMap,Nw=function(t){return function(e){var n;return null!==(n=t.get(e))&&void 0!==n?n:0}}(Fw),Dw=(xw=new Map,Ew=new WeakMap,function(t,e){var n=Ew.get(t);if(void 0!==n)return n;var r=xw.get(t);if(void 0!==r)return r;try{var o=e();return o instanceof Promise?(xw.set(t,o),o.catch((function(){return!1})).then((function(e){return xw.delete(t),Ew.set(t,e),e}))):(Ew.set(t,o),o)}catch(e){return Ew.set(t,!1),!1}}),Uw="undefined"==typeof window?null:window,Gw=function(t,e){return function(n,r){var o=n.createAnalyser();if(Gg(o,r),!(r.maxDecibels>r.minDecibels))throw e();return Ug(o,r,"fftSize"),Ug(o,r,"maxDecibels"),Ug(o,r,"minDecibels"),Ug(o,r,"smoothingTimeConstant"),t(Qg,(function(){return Qg(o)}))||function(t){t.getFloatTimeDomainData=function(e){var n=new Uint8Array(e.length);t.getByteTimeDomainData(n);for(var r=Math.max(n.length,t.fftSize),o=0;o<r;o+=1)e[o]=.0078125*(n[o]-128);return e}}(o),o}}(Dw,Ih),Qw=function(t){return function(e){var n=t(e);if(null===n.renderer)throw new Error("Missing the renderer of the given AudioNode in the audio graph.");return n.renderer}}(np),zw=function(t,e,n){return function(){var r=jb(Eb().mark((function r(o,i,a){var u;return Eb().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=t(o),r.next=3,Promise.all(u.activeInputs.map((function(t,r){return Array.from(t).map(function(){var t=jb(Eb().mark((function t(u){var c,s,l,f,h,p;return Eb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=Sb(u,2),s=c[0],l=c[1],f=e(s),t.next=4,f.render(s,i);case 4:h=t.sent,p=o.context.destination,n(s)||o===p&&n(o)||h.connect(a,l,r);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())})).reduce((function(t,e){return[].concat(xb(t),xb(e))}),[]));case 3:case"end":return r.stop()}}),r)})));return function(t,e,n){return r.apply(this,arguments)}}()}(np,Qw,Cp),Yw=function(t,e,n){return function(){var r=new WeakMap,o=function(){var o=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){jh(i,r,o,a,u,"next",t)}function u(t){jh(i,r,o,a,u,"throw",t)}a(void 0)}))}}(_h().mark((function o(i,a){var u,c;return _h().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return u=e(i),Oh(u,a)||(c={channelCount:u.channelCount,channelCountMode:u.channelCountMode,channelInterpretation:u.channelInterpretation,fftSize:u.fftSize,maxDecibels:u.maxDecibels,minDecibels:u.minDecibels,smoothingTimeConstant:u.smoothingTimeConstant},u=t(a,c)),r.set(a,u),o.next=6,n(i,a,u);case 6:return o.abrupt("return",u);case 7:case"end":return o.stop()}}),o)})));return function(t,e){return o.apply(this,arguments)}}();return{render:function(t,e){var n=r.get(e);return void 0!==n?Promise.resolve(n):o(t,e)}}}}(Gw,Ip,zw),Hw=(Sw=zf,function(t){var e=Sw.get(t);if(void 0===e)throw Uv();return e}),Vw=function(t){return null===t?null:t.hasOwnProperty("OfflineAudioContext")?t.OfflineAudioContext:t.hasOwnProperty("webkitOfflineAudioContext")?t.webkitOfflineAudioContext:null}(Uw),$w=function(t){return function(e){return null!==t&&e instanceof t}}(Vw),Ww=new WeakMap,qw=function(t){return function(){return function(t,e){return e&&xv(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._nativeEventTarget=e,this._listeners=new WeakMap}),[{key:"addEventListener",value:function(e,n,r){if(null!==n){var o=this._listeners.get(n);void 0===o&&(o=t(this,n),"function"==typeof n&&this._listeners.set(n,o)),this._nativeEventTarget.addEventListener(e,o,r)}}},{key:"dispatchEvent",value:function(t){return this._nativeEventTarget.dispatchEvent(t)}},{key:"removeEventListener",value:function(t,e,n){var r=null===e?void 0:this._listeners.get(e);this._nativeEventTarget.removeEventListener(t,void 0===r?null:r,n)}}])}()}(Lw),Jw=function(t){return null===t?null:t.hasOwnProperty("AudioContext")?t.AudioContext:t.hasOwnProperty("webkitAudioContext")?t.webkitAudioContext:null}(Uw),Kw=function(t){return function(e){return null!==t&&e instanceof t}}(Jw),Xw=function(t){return function(e){return null!==t&&"function"==typeof t.AudioNode&&e instanceof t.AudioNode}}(Uw),Zw=function(t){return function(e){return null!==t&&"function"==typeof t.AudioParam&&e instanceof t.AudioParam}}(Uw),tA=function(t){return null===t?null:t.hasOwnProperty("AudioWorkletNode")?t.AudioWorkletNode:null}(Uw),eA=function(t,e,n,r,o,i,a,u,c,s,l,f,h,p,d,y){return function(s){function v(e,r,o,i){var a;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v),(a=function(t,e,n){return e=Wp(e),function(t,e){if(e&&("object"==Yp(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,$p()?Reflect.construct(e,n||[],Wp(t).constructor):e.apply(t,n))}(this,v,[o]))._context=e,a._nativeAudioNode=o;var u=l(e);return f(u)&&!0!==n(Rp,(function(){return Rp(u,y)}))&&zp(o),Uf.set(a,o),Yf.set(a,new Set),"closed"!==e.state&&r&&lh(a),t(a,i,o),a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qp(t,e)}(v,s),function(t,e){return e&&Hp(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(v,[{key:"channelCount",get:function(){return this._nativeAudioNode.channelCount},set:function(t){this._nativeAudioNode.channelCount=t}},{key:"channelCountMode",get:function(){return this._nativeAudioNode.channelCountMode},set:function(t){this._nativeAudioNode.channelCountMode=t}},{key:"channelInterpretation",get:function(){return this._nativeAudioNode.channelInterpretation},set:function(t){this._nativeAudioNode.channelInterpretation=t}},{key:"context",get:function(){return this._context}},{key:"numberOfInputs",get:function(){return this._nativeAudioNode.numberOfInputs}},{key:"numberOfOutputs",get:function(){return this._nativeAudioNode.numberOfOutputs}},{key:"connect",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n<0||n>=this._nativeAudioNode.numberOfOutputs)throw o();var s=l(this._context),f=d(s);if(h(t)||p(t))throw i();if(yp(t)){var y=Ip(t);try{var v,g=Sp(this._nativeAudioNode,y,n,u),m=Lp(this);(f||m)&&(v=this._nativeAudioNode).disconnect.apply(v,Jp(g)),"closed"!==this.context.state&&!m&&Lp(t)&&lh(t)}catch(t){if(12===t.code)throw i();throw t}if(e(this,t,n,u,f)){var b=c([this],t);Fp(b,r(f))}return t}var w=Tp(t);if("playbackRate"===w.name&&1024===w.maxValue)throw a();try{this._nativeAudioNode.connect(w,n),(f||Lp(this))&&this._nativeAudioNode.disconnect(w,n)}catch(t){if(12===t.code)throw i();throw t}if(function(t,e,n,r){var o=rp(e),i=o.activeInputs,a=o.passiveInputs,u=np(t).outputs,c=sh(t),s=function(o){var u=Ip(t),c=Tp(e);if(o){var s=jp(a,t,n);wp(i,t,s,!1),r||Cp(t)||u.connect(c,n)}else{var l=function(t,e,n){return uh(t,(function(t){return t[0]===e&&t[1]===n}))}(i,t,n);xp(a,l,!1),r||Cp(t)||u.disconnect(c,n)}};return!!mp(u,[e,n],(function(t){return t[0]===e&&t[1]===n}),!0)&&(c.add(s),Gh(t)?wp(i,t,[n,s],!0):xp(a,[t,n,s],!0),!0)}(this,t,n,f)){var A=c([this],t);Fp(A,r(f))}}},{key:"disconnect",value:function(t,e,n){var r,a=l(this._context),s=d(a);if(void 0===t)r=function(t,e){var n,r=np(t),o=[],i=Kp(r.outputs);try{for(i.s();!(n=i.n()).done;){var a=n.value;vp(a)?ed.apply(void 0,[t,e].concat(Jp(a))):nd.apply(void 0,[t,e].concat(Jp(a))),o.push(a[0])}}catch(t){i.e(t)}finally{i.f()}return r.outputs.clear(),o}(this,s);else if("number"==typeof t){if(t<0||t>=this.numberOfOutputs)throw o();r=function(t,e,n){var r,o=np(t),i=[],a=Kp(o.outputs);try{for(a.s();!(r=a.n()).done;){var u=r.value;u[1]===n&&(vp(u)?ed.apply(void 0,[t,e].concat(Jp(u))):nd.apply(void 0,[t,e].concat(Jp(u))),i.push(u[0]),o.outputs.delete(u))}}catch(t){a.e(t)}finally{a.f()}return i}(this,s,t)}else{if(void 0!==e&&(e<0||e>=this.numberOfOutputs))throw o();if(yp(t)&&void 0!==n&&(n<0||n>=t.numberOfInputs))throw o();if(r=function(t,e,n,r,o){var i=np(t);return Array.from(i.outputs).filter((function(t){return!(t[0]!==n||void 0!==r&&t[1]!==r||void 0!==o&&t[2]!==o)})).map((function(n){return vp(n)?ed.apply(void 0,[t,e].concat(Jp(n))):nd.apply(void 0,[t,e].concat(Jp(n))),i.outputs.delete(n),n[0]}))}(this,s,t,e,n),0===r.length)throw i()}var f,h=Kp(r);try{for(h.s();!(f=h.n()).done;){var p=f.value,y=c([this],p);Fp(y,u)}}catch(t){h.e(t)}finally{h.f()}}}])}(s)}((Ow=Df,function(t,e,n){for(var r=[],o=0;o<n.numberOfInputs;o+=1)r.push(new Set);Ow.set(t,{activeInputs:r,outputs:new Set,passiveInputs:new WeakMap,renderer:e})}),function(t,e,n,r,o,i,a,u,c,s,l,f,h){var p=new WeakMap;return function(d,y,v,g,m){var b=i(y),w=b.activeInputs,A=b.passiveInputs,x=i(d).outputs,E=u(d),S=function(i){var u=c(y),s=c(d);if(i){var b=ch(A,d,v,g);t(w,d,b,!1),m||f(d)||n(s,u,v,g),h(y)&&lh(y)}else{var x=r(w,d,v,g);e(A,g,x,!1),m||f(d)||o(s,u,v,g);var E=a(y);if(0===E)l(y)&&ph(y,w);else{var S=p.get(y);void 0!==S&&clearTimeout(S),p.set(y,setTimeout((function(){l(y)&&ph(y,w)}),1e3*E))}}};return!!s(x,[y,v,g],(function(t){return t[0]===y&&t[1]===v&&t[2]===g}),!0)&&(E.add(S),l(d)?t(w,d,[v,g,S],!0):e(A,g,[d,v,S],!0),!0)}}(Rw,Mw,Sp,Bw,Pp,np,Nw,sh,Ip,mp,Gh,Cp,Lp),Dw,function(t,e,n,r,o,i){return function(a){return function(u,c){var s=t.get(u);if(void 0===s){if(!a&&i(u)){var l,f=r(u),h=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return og(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?og(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(n(u).outputs);try{for(h.s();!(l=h.n()).done;){var p=l.value;if(vp(p)){var d=r(p[0]);e(f,d,p[1],p[2])}else{var y=o(p[0]);f.disconnect(y,p[1])}}}catch(t){h.e(t)}finally{h.f()}}t.set(u,c)}else t.set(u,s+c)}}}(Hf,Pp,np,Ip,Tp,Gh),Ih,Gv,Fm,function(t,e,n,r,o,i,a,u){return function(c,s){var l=e.get(c);if(void 0===l)throw new Error("Missing the expected cycle count.");var f=i(c.context),h=u(f);if(l===s){if(e.delete(c),!h&&a(c)){var p,d=r(c),y=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Vy(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vy(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(n(c).outputs);try{for(y.s();!(p=y.n()).done;){var v=p.value;if(vp(v)){var g=r(v[0]);t(d,g,v[1],v[2])}else{var m=o(v[0]);d.connect(m,v[1])}}}catch(t){y.e(t)}finally{y.f()}}}else e.set(c,l-s)}}(Sp,Hf,np,Ip,Tp,Hw,Gh,$w),function(t,e,n){return function r(o,i){var a=yp(i)?i:n(t,i);if(function(t){return"delayTime"in t}(a))return[];if(o[0]===a)return[o];if(o.includes(a))return[];var u=e(a).outputs;return Array.from(u).map((function(t){return r([].concat(function(t){if(Array.isArray(t))return av(t)}(e=o)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return av(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?av(t,e):void 0}}(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.")}(),[a]),t[0]);var e})).reduce((function(t,e){return t.concat(e)}),[])}}(Ww,np,ih),qw,Hw,Kw,Xw,Zw,$w,tA),nA=function(t,e,n,r,o,i){return function(t){function a(t,n){var u;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var c=o(t),s=gh(gh({},Sh),n),l=r(c,s);return(u=function(t,e,n){return e=xh(e),function(t,e){if(e&&("object"==yh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ah()?Reflect.construct(e,n||[],xh(t).constructor):e.apply(t,n))}(this,a,[t,!1,l,i(c)?e():null]))._nativeAnalyserNode=l,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Eh(t,e)}(a,t),function(t,e){return e&&bh(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(a,[{key:"fftSize",get:function(){return this._nativeAnalyserNode.fftSize},set:function(t){this._nativeAnalyserNode.fftSize=t}},{key:"frequencyBinCount",get:function(){return this._nativeAnalyserNode.frequencyBinCount}},{key:"maxDecibels",get:function(){return this._nativeAnalyserNode.maxDecibels},set:function(t){var e=this._nativeAnalyserNode.maxDecibels;if(this._nativeAnalyserNode.maxDecibels=t,!(t>this._nativeAnalyserNode.minDecibels))throw this._nativeAnalyserNode.maxDecibels=e,n()}},{key:"minDecibels",get:function(){return this._nativeAnalyserNode.minDecibels},set:function(t){var e=this._nativeAnalyserNode.minDecibels;if(this._nativeAnalyserNode.minDecibels=t,!(this._nativeAnalyserNode.maxDecibels>t))throw this._nativeAnalyserNode.minDecibels=e,n()}},{key:"smoothingTimeConstant",get:function(){return this._nativeAnalyserNode.smoothingTimeConstant},set:function(t){this._nativeAnalyserNode.smoothingTimeConstant=t}},{key:"getByteFrequencyData",value:function(t){this._nativeAnalyserNode.getByteFrequencyData(t)}},{key:"getByteTimeDomainData",value:function(t){this._nativeAnalyserNode.getByteTimeDomainData(t)}},{key:"getFloatFrequencyData",value:function(t){this._nativeAnalyserNode.getFloatFrequencyData(t)}},{key:"getFloatTimeDomainData",value:function(t){this._nativeAnalyserNode.getFloatTimeDomainData(t)}}])}(t)}(eA,Yw,Ih,Gw,Hw,$w),rA=new WeakSet,oA=function(t){return null===t?null:t.hasOwnProperty("AudioBuffer")?t.AudioBuffer:null}(Uw),iA=(kw=new Uint32Array(1),function(t){return kw[0]=t,kw[0]}),aA=function(t,e){return function(n){n.copyFromChannel=function(r,o){var i=t(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0),a=t(o);if(a>=n.numberOfChannels)throw e();for(var u=n.length,c=n.getChannelData(a),s=r.length,l=i<0?-i:0;l+i<u&&l<s;l+=1)r[l]=c[l+i]},n.copyToChannel=function(r,o){var i=t(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0),a=t(o);if(a>=n.numberOfChannels)throw e();for(var u=n.length,c=n.getChannelData(a),s=r.length,l=i<0?-i:0;l+i<u&&l<s;l+=1)c[l+i]=r[l]}}}(iA,Ih),uA=function(t){return function(e){e.copyFromChannel=function(n){return function(r,o){var i=t(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0),a=t(o);if(i<e.length)return n.call(e,r,a,i)}}(e.copyFromChannel),e.copyToChannel=function(n){return function(r,o){var i=t(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0),a=t(o);if(i<e.length)return n.call(e,r,a,i)}}(e.copyToChannel)}}(iA),cA=function(t,e,n,r,o,i,a,u){var c=null;return function(){function s(l){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),null===o)throw new Error("Missing the native OfflineAudioContext constructor.");var f=Rh(Rh({},Nh),l),h=f.length,p=f.numberOfChannels,d=f.sampleRate;null===c&&(c=new o(1,1,44100));var y=null!==r&&e(i,i)?new r({length:h,numberOfChannels:p,sampleRate:d}):c.createBuffer(p,h,d);if(0===y.numberOfChannels)throw n();return"function"!=typeof y.copyFromChannel?(a(y),Th(y)):e(Ph,(function(){return Ph(y)}))||u(y),t.add(y),y}return function(t,e,n){return n&&Bh(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(s,0,[{key:Symbol.hasInstance,value:function(e){return null!==e&&"object"===Ch(e)&&Object.getPrototypeOf(e)===s.prototype||t.has(e)}}])}()}(rA,Dw,Fm,oA,Vw,function(t){return function(){if(null===t)return!1;try{new t({length:1,sampleRate:44100})}catch(t){return!1}return!0}}(oA),aA,uA),sA=function(t){return function(e,n){var r=t(e,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",gain:0});n.connect(r).connect(e.destination);var o=function(){n.removeEventListener("ended",o),n.disconnect(r),r.disconnect()};n.addEventListener("ended",o)}}(ym),lA=function(t,e,n){return function(){var r=Rb(Ib().mark((function r(o,i,a){var u;return Ib().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return u=e(o),r.next=3,Promise.all(Array.from(u.activeInputs).map(function(){var e=Rb(Ib().mark((function e(r){var o,u,c,s,l;return Ib().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=Tb(r,2),u=o[0],c=o[1],s=t(u),e.next=4,s.render(u,i);case 4:l=e.sent,n(u)||l.connect(a,c);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return r.stop()}}),r)})));return function(t,e,n){return r.apply(this,arguments)}}()}(Qw,rp,Cp),fA=function(t){return function(e,n,r){return t(n,e,r)}}(lA),hA=function(t,e,n,r,o,i,a,u,c,s,l){return function(c,f){var h=c.createBufferSource();return Gg(h,f),zg(h,f,"playbackRate"),Ug(h,f,"buffer"),Ug(h,f,"loop"),Ug(h,f,"loopEnd"),Ug(h,f,"loopStart"),e(n,(function(){return n(c)}))||function(t){var e,n;t.start=(e=t.start,n=!1,function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;if(n)throw Uv();e.call(t,r,o,i),n=!0})}(h),e(r,(function(){return r(c)}))||function(t){var e;t.start=(e=t.start,function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0,i=t.buffer,a=null===i?r:Math.min(i.duration,r);null!==i&&a>i.duration-.5/t.context.sampleRate?e.call(t,n,0,0):e.call(t,n,a,o)})}(h),e(o,(function(){return o(c)}))||s(h,c),e(i,(function(){return i(c)}))||Yg(h),e(a,(function(){return a(c)}))||l(h,c),e(u,(function(){return u(c)}))||Hg(h),t(c,h),h}}(sA,Dw,(function(t){var e=t.createBufferSource();e.start();try{e.start()}catch(t){return!0}return!1}),(function(t){var e=t.createBufferSource(),n=t.createBuffer(1,1,44100);e.buffer=n;try{e.start(0,1)}catch(t){return!1}return!0}),(function(t){var e=t.createBufferSource();e.start();try{e.stop()}catch(t){return!1}return!0}),Pw,Iw,Tw,0,function(t){return function(e,n){var r=n.createBuffer(1,1,44100);null===e.buffer&&(e.buffer=r),t(e,"buffer",(function(t){return function(){var n=t.call(e);return n===r?null:n}}),(function(t){return function(n){return t.call(e,null===n?r:n)}}))}}(pw),Cw),pA=function(t,e){return function(n,r,o){return t(r).replay(o),e(r,n,o)}}(function(t){return function(e){var n=t(e);if(null===n.renderer)throw new Error("Missing the renderer of the given AudioParam in the audio graph.");return n.renderer}}(rp),lA),dA=function(t,e,n,r,o){return function(){var i=new WeakMap,a=null,u=null,c=function(){var c=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){ep(i,r,o,a,u,"next",t)}function u(t){ep(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Zh().mark((function c(s,l){var f,h,p,d;return Zh().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(f=n(s),(h=Oh(f,l))||(p={buffer:f.buffer,channelCount:f.channelCount,channelCountMode:f.channelCountMode,channelInterpretation:f.channelInterpretation,loop:f.loop,loopEnd:f.loopEnd,loopStart:f.loopStart,playbackRate:f.playbackRate.value},f=e(l,p),null!==a&&(d=f).start.apply(d,function(t){if(Array.isArray(t))return tp(t)}(y=a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(y)||function(t,e){if(t){if("string"==typeof t)return tp(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tp(t,e):void 0}}(y)||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.")}()),null!==u&&f.stop(u)),i.set(l,f),h){c.next=9;break}return c.next=7,r(l,s.playbackRate,f.playbackRate);case 7:c.next=11;break;case 9:return c.next=11,t(l,s.playbackRate,f.playbackRate);case 11:return c.next=13,o(s,l,f);case 13:return c.abrupt("return",f);case 14:case"end":return c.stop()}var y}),c)})));return function(t,e){return c.apply(this,arguments)}}();return{set start(t){a=t},set stop(t){u=t},render:function(t,e){var n=i.get(e);return void 0!==n?Promise.resolve(n):c(t,e)}}}}(fA,hA,Ip,pA,zw),yA=function(t,e,n,r,o,i,a,u,c,s,l,f,h){return function(r,p,d){var y=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,v=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,g=d.value,m=new Bf.AutomationEventList(g),b=p?function(t){return{replay:function(e){var n,r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return rd(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rd(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if("exponentialRampToValue"===o.type){var i=o.endTime,a=o.value;e.exponentialRampToValueAtTime(a,i)}else if("linearRampToValue"===o.type){var u=o.endTime,c=o.value;e.linearRampToValueAtTime(c,u)}else if("setTarget"===o.type){var s=o.startTime,l=o.target,f=o.timeConstant;e.setTargetAtTime(l,s,f)}else if("setValue"===o.type){var h=o.startTime,p=o.value;e.setValueAtTime(p,h)}else{if("setValueCurve"!==o.type)throw new Error("Can't apply an unknown automation.");var d=o.duration,y=o.startTime,v=o.values;e.setValueCurveAtTime(v,y,d)}}}catch(t){r.e(t)}finally{r.f()}}}}(m):null,w={get defaultValue(){return g},get maxValue(){return null===y?d.maxValue:y},get minValue(){return null===v?d.minValue:v},get value(){return d.value},set value(t){d.value=t,w.setValueAtTime(t,r.context.currentTime)},cancelAndHoldAtTime:function(t){if("function"==typeof d.cancelAndHoldAtTime)null===b&&m.flush(r.context.currentTime),m.add(o(t)),d.cancelAndHoldAtTime(t);else{var e=Array.from(m).pop();null===b&&m.flush(r.context.currentTime),m.add(o(t));var n=Array.from(m).pop();d.cancelScheduledValues(t),e!==n&&void 0!==n&&("exponentialRampToValue"===n.type?d.exponentialRampToValueAtTime(n.value,n.endTime):"linearRampToValue"===n.type?d.linearRampToValueAtTime(n.value,n.endTime):"setValue"===n.type?d.setValueAtTime(n.value,n.startTime):"setValueCurve"===n.type&&d.setValueCurveAtTime(n.values,n.startTime,n.duration))}return w},cancelScheduledValues:function(t){return null===b&&m.flush(r.context.currentTime),m.add(i(t)),d.cancelScheduledValues(t),w},exponentialRampToValueAtTime:function(t,e){if(0===t)throw new RangeError;if(!Number.isFinite(e)||e<0)throw new RangeError;var n=r.context.currentTime;return null===b&&m.flush(n),0===Array.from(m).length&&(m.add(s(g,n)),d.setValueAtTime(g,n)),m.add(a(t,e)),d.exponentialRampToValueAtTime(t,e),w},linearRampToValueAtTime:function(t,e){var n=r.context.currentTime;return null===b&&m.flush(n),0===Array.from(m).length&&(m.add(s(g,n)),d.setValueAtTime(g,n)),m.add(u(t,e)),d.linearRampToValueAtTime(t,e),w},setTargetAtTime:function(t,e,n){return null===b&&m.flush(r.context.currentTime),m.add(c(t,e,n)),d.setTargetAtTime(t,e,n),w},setValueAtTime:function(t,e){return null===b&&m.flush(r.context.currentTime),m.add(s(t,e)),d.setValueAtTime(t,e),w},setValueCurveAtTime:function(t,e,n){var o=t instanceof Float32Array?t:new Float32Array(t);if(null!==f&&"webkitAudioContext"===f.name){for(var i=e+n,a=r.context.sampleRate,u=Math.ceil(e*a),c=Math.floor(i*a),s=c-u,p=new Float32Array(s),y=0;y<s;y+=1){var v=(o.length-1)/n*((u+y)/a-e),g=Math.floor(v),A=Math.ceil(v);p[y]=g===A?o[g]:(1-(v-g))*o[g]+(1-(A-v))*o[A]}null===b&&m.flush(r.context.currentTime),m.add(l(p,e,n)),d.setValueCurveAtTime(p,e,n);var x=c/a;x<i&&h(w,p[p.length-1],x),h(w,o[o.length-1],i)}else null===b&&m.flush(r.context.currentTime),m.add(l(o,e,n)),d.setValueCurveAtTime(o,e,n);return w}};return n.set(w,d),e.set(w,r),t(w,b),w}}((_w=Gf,function(t,e){_w.set(t,{activeInputs:new Set,passiveInputs:new WeakMap,renderer:e})}),Ww,Qf,0,Bf.createCancelAndHoldAutomationEvent,Bf.createCancelScheduledValuesAutomationEvent,Bf.createExponentialRampToValueAutomationEvent,Bf.createLinearRampToValueAutomationEvent,Bf.createSetTargetAutomationEvent,Bf.createSetValueAutomationEvent,Bf.createSetValueCurveAutomationEvent,Jw,jw),vA=function(t,e,n,r,o,i,a,u){return function(t){function c(t,r){var u;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var s=i(t),l=Yh(Yh({},Kh),r),f=o(s,l),h=a(s),p=h?e():null;return(u=function(t,e,n){return e=qh(e),function(t,e){if(e&&("object"==Qh(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Wh()?Reflect.construct(e,n||[],qh(t).constructor):e.apply(t,n))}(this,c,[t,!1,f,p]))._audioBufferSourceNodeRenderer=p,u._isBufferNullified=!1,u._isBufferSet=null!==l.buffer,u._nativeAudioBufferSourceNode=f,u._onended=null,u._playbackRate=n(u,h,f.playbackRate,Uh,Dh),u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Jh(t,e)}(c,t),function(t,e){return e&&Vh(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(c,[{key:"buffer",get:function(){return this._isBufferNullified?null:this._nativeAudioBufferSourceNode.buffer},set:function(t){if(this._nativeAudioBufferSourceNode.buffer=t,null!==t){if(this._isBufferSet)throw r();this._isBufferSet=!0}}},{key:"loop",get:function(){return this._nativeAudioBufferSourceNode.loop},set:function(t){this._nativeAudioBufferSourceNode.loop=t}},{key:"loopEnd",get:function(){return this._nativeAudioBufferSourceNode.loopEnd},set:function(t){this._nativeAudioBufferSourceNode.loopEnd=t}},{key:"loopStart",get:function(){return this._nativeAudioBufferSourceNode.loopStart},set:function(t){this._nativeAudioBufferSourceNode.loopStart=t}},{key:"onended",get:function(){return this._onended},set:function(t){var e="function"==typeof t?u(this,t):null;this._nativeAudioBufferSourceNode.onended=e;var n=this._nativeAudioBufferSourceNode.onended;this._onended=null!==n&&n===e?t:n}},{key:"playbackRate",get:function(){return this._playbackRate}},{key:"start",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;if(this._nativeAudioBufferSourceNode.start(e,n,r),null!==this._audioBufferSourceNodeRenderer&&(this._audioBufferSourceNodeRenderer.start=void 0===r?[e,n]:[e,n,r]),"closed"!==this.context.state){lh(this);var o=function(){t._nativeAudioBufferSourceNode.removeEventListener("ended",o),Gh(t)&&hh(t)};this._nativeAudioBufferSourceNode.addEventListener("ended",o)}}},{key:"stop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._nativeAudioBufferSourceNode.stop(t),null!==this._audioBufferSourceNodeRenderer&&(this._audioBufferSourceNodeRenderer.stop=t)}}])}(t)}(eA,dA,yA,Uv,hA,Hw,$w,Lw),gA=function(t,e,n,r,o,i,a,u){return function(t){function c(t,n){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var s=i(t),l=a(s),f=o(s,n,l);return(r=function(t,e,n){return e=cp(e),function(t,e){if(e&&("object"==op(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,up()?Reflect.construct(e,n||[],cp(t).constructor):e.apply(t,n))}(this,c,[t,!1,f,l?e(u):null]))._isNodeOfNativeOfflineAudioContext=l,r._nativeAudioDestinationNode=f,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&sp(t,e)}(c,t),function(t,e){return e&&ip(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(c,[{key:"channelCount",get:function(){return this._nativeAudioDestinationNode.channelCount},set:function(t){if(this._isNodeOfNativeOfflineAudioContext)throw r();if(t>this._nativeAudioDestinationNode.maxChannelCount)throw n();this._nativeAudioDestinationNode.channelCount=t}},{key:"channelCountMode",get:function(){return this._nativeAudioDestinationNode.channelCountMode},set:function(t){if(this._isNodeOfNativeOfflineAudioContext)throw r();this._nativeAudioDestinationNode.channelCountMode=t}},{key:"maxChannelCount",get:function(){return this._nativeAudioDestinationNode.maxChannelCount}}])}(t)}(eA,(function(t){var e=new WeakMap,n=function(){var n=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){hp(i,r,o,a,u,"next",t)}function u(t){hp(i,r,o,a,u,"throw",t)}a(void 0)}))}}(fp().mark((function n(r,o){var i;return fp().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i=o.destination,e.set(o,i),n.next=4,t(r,o,i);case 4:return n.abrupt("return",i);case 5:case"end":return n.stop()}}),n)})));return function(t,e){return n.apply(this,arguments)}}();return{render:function(t,r){var o=e.get(r);return void 0!==o?Promise.resolve(o):n(t,r)}}}),Ih,Uv,function(t,e){return function(n,r,o){var i=n.destination;if(i.channelCount!==r)try{i.channelCount=r}catch(t){}o&&"explicit"!==i.channelCountMode&&(i.channelCountMode="explicit"),0===i.maxChannelCount&&Object.defineProperty(i,"maxChannelCount",{value:r});var a=t(n,{channelCount:r,channelCountMode:i.channelCountMode,channelInterpretation:i.channelInterpretation,gain:1});return e(a,"channelCount",(function(t){return function(){return t.call(a)}}),(function(t){return function(e){t.call(a,e);try{i.channelCount=e}catch(t){if(e>i.maxChannelCount)throw t}}})),e(a,"channelCountMode",(function(t){return function(){return t.call(a)}}),(function(t){return function(e){t.call(a,e),i.channelCountMode=e}})),e(a,"channelInterpretation",(function(t){return function(){return t.call(a)}}),(function(t){return function(e){t.call(a,e),i.channelInterpretation=e}})),Object.defineProperty(a,"maxChannelCount",{get:function(){return i.maxChannelCount}}),a.connect(i),a}}(ym,pw),Hw,$w,zw),mA=function(t,e,n,r,o){return function(){var i=new WeakMap,a=function(){var a=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Hd(i,r,o,a,u,"next",t)}function u(t){Hd(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Yd().mark((function a(u,c){var s,l,f;return Yd().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(s=n(u),(l=Oh(s,c))||(f={Q:s.Q.value,channelCount:s.channelCount,channelCountMode:s.channelCountMode,channelInterpretation:s.channelInterpretation,detune:s.detune.value,frequency:s.frequency.value,gain:s.gain.value,type:s.type},s=e(c,f)),i.set(c,s),l){a.next=15;break}return a.next=7,r(c,u.Q,s.Q);case 7:return a.next=9,r(c,u.detune,s.detune);case 9:return a.next=11,r(c,u.frequency,s.frequency);case 11:return a.next=13,r(c,u.gain,s.gain);case 13:a.next=23;break;case 15:return a.next=17,t(c,u.Q,s.Q);case 17:return a.next=19,t(c,u.detune,s.detune);case 19:return a.next=21,t(c,u.frequency,s.frequency);case 21:return a.next=23,t(c,u.gain,s.gain);case 23:return a.next=25,o(u,c,s);case 25:return a.abrupt("return",s);case 26:case"end":return a.stop()}}),a)})));return function(t,e){return a.apply(this,arguments)}}();return{render:function(t,e){var n=i.get(e);return void 0!==n?Promise.resolve(n):a(t,e)}}}}(fA,am,Ip,pA,zw),bA=function(t){return function(e,n){return t.set(e,n)}}(Fw),wA=function(t,e,n,r,o,i,a,u){return function(t){function c(t,r){var s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var l=i(t),f=Md(Md({},Qd),r),h=o(l,f),p=a(l);return(s=function(t,e,n){return e=Ud(e),function(t,e){if(e&&("object"==Ld(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Dd()?Reflect.construct(e,n||[],Ud(t).constructor):e.apply(t,n))}(this,c,[t,!1,h,p?n():null]))._Q=e(s,p,h.Q,Uh,Dh),s._detune=e(s,p,h.detune,1200*Math.log2(Uh),-1200*Math.log2(Uh)),s._frequency=e(s,p,h.frequency,t.sampleRate/2,0),s._gain=e(s,p,h.gain,40*Math.log10(Uh),Dh),s._nativeBiquadFilterNode=h,u(s,1),s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Gd(t,e)}(c,t),function(t,e){return e&&Fd(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(c,[{key:"detune",get:function(){return this._detune}},{key:"frequency",get:function(){return this._frequency}},{key:"gain",get:function(){return this._gain}},{key:"Q",get:function(){return this._Q}},{key:"type",get:function(){return this._nativeBiquadFilterNode.type},set:function(t){this._nativeBiquadFilterNode.type=t}},{key:"getFrequencyResponse",value:function(t,e,n){try{this._nativeBiquadFilterNode.getFrequencyResponse(t,e,n)}catch(t){if(11===t.code)throw r();throw t}if(t.length!==e.length||e.length!==n.length)throw r()}}])}(t)}(eA,yA,mA,Gv,am,Hw,$w,bA),AA=function(t,e){return function(n,r,o){var i,a,u=new Set;return n.connect=(i=n.connect,function(o){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=0===u.size;if(e(o))return i.call(n,o,a,c),t(u,[o,a,c],(function(t){return t[0]===o&&t[1]===a&&t[2]===c}),!0),s&&r(),o;i.call(n,o,a),t(u,[o,a],(function(t){return t[0]===o&&t[1]===a}),!0),s&&r()}),n.disconnect=(a=n.disconnect,function(t,r,i){var c=u.size>0;if(void 0===t)a.apply(n),u.clear();else if("number"==typeof t){a.call(n,t);var s,l=Ng(u);try{for(l.s();!(s=l.n()).done;){var f=s.value;f[1]===t&&u.delete(f)}}catch(t){l.e(t)}finally{l.f()}}else{e(t)?a.call(n,t,r,i):a.call(n,t,r);var h,p=Ng(u);try{for(p.s();!(h=p.n()).done;){var d=h.value;d[0]!==t||void 0!==r&&d[1]!==r||void 0!==i&&d[2]!==i||u.delete(d)}}catch(t){p.e(t)}finally{p.f()}}var y=0===u.size;c&&y&&o()}),n}}(mp,Xw),xA=function(t,e){return function(n,r){r.channelCount=1,r.channelCountMode="explicit",Object.defineProperty(r,"channelCount",{get:function(){return 1},set:function(){throw t()}}),Object.defineProperty(r,"channelCountMode",{get:function(){return"explicit"},set:function(){throw t()}});var o=n.createBufferSource();e(r,(function(){for(var t=r.numberOfInputs,e=0;e<t;e+=1)o.connect(r,0,e)}),(function(){return o.disconnect(r)}))}}(Uv,AA),EA=function(t,e){return function(n,r){var o=n.createChannelMerger(r.numberOfInputs);return null!==t&&"webkitAudioContext"===t.name&&e(n,o),Gg(o,r),o}}(Jw,xA),SA=function(t,e,n){return function(){var r=new WeakMap,o=function(){var o=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){ry(i,r,o,a,u,"next",t)}function u(t){ry(i,r,o,a,u,"throw",t)}a(void 0)}))}}(ny().mark((function o(i,a){var u,c;return ny().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return u=e(i),Oh(u,a)||(c={channelCount:u.channelCount,channelCountMode:u.channelCountMode,channelInterpretation:u.channelInterpretation,numberOfInputs:u.numberOfInputs},u=t(a,c)),r.set(a,u),o.next=6,n(i,a,u);case 6:return o.abrupt("return",u);case 7:case"end":return o.stop()}}),o)})));return function(t,e){return o.apply(this,arguments)}}();return{render:function(t,e){var n=r.get(e);return void 0!==n?Promise.resolve(n):o(t,e)}}}}(EA,Ip,zw),OA=function(t,e,n,r,o){return function(t){function i(t,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var u=r(t),c=Wd(Wd({},ty),a);return function(t,e,n){return e=Xd(e),function(t,e){if(e&&("object"==Vd(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Kd()?Reflect.construct(e,n||[],Xd(t).constructor):e.apply(t,n))}(this,i,[t,!1,n(u,c),o(u)?e():null])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Zd(t,e)}(i,t),function(t){return Object.defineProperty(t,"prototype",{writable:!1}),t}(i)}(t)}(eA,SA,EA,Hw,$w),kA=function(t,e,n){return function(){var r=new WeakMap,o=function(){var o=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){yy(i,r,o,a,u,"next",t)}function u(t){yy(i,r,o,a,u,"throw",t)}a(void 0)}))}}(dy().mark((function o(i,a){var u,c;return dy().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return u=e(i),Oh(u,a)||(c={channelCount:u.channelCount,channelCountMode:u.channelCountMode,channelInterpretation:u.channelInterpretation,numberOfOutputs:u.numberOfOutputs},u=t(a,c)),r.set(a,u),o.next=6,n(i,a,u);case 6:return o.abrupt("return",u);case 7:case"end":return o.stop()}}),o)})));return function(t,e){return o.apply(this,arguments)}}();return{render:function(t,e){var n=r.get(e);return void 0!==n?Promise.resolve(n):o(t,e)}}}}(um,Ip,zw),_A=function(t,e,n,r,o){return function(t){function i(t,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var u=r(t),c=function(t){return vw(vw({},t),{},{channelCount:t.numberOfOutputs})}(ay(ay({},hy),a));return function(t,e,n){return e=ly(e),function(t,e){if(e&&("object"==oy(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,sy()?Reflect.construct(e,n||[],ly(t).constructor):e.apply(t,n))}(this,i,[t,!1,n(u,c),o(u)?e():null])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&fy(t,e)}(i,t),function(t){return Object.defineProperty(t,"prototype",{writable:!1}),t}(i)}(t)}(eA,kA,um,Hw,$w),jA=function(t,e,n,r){return function(o,i){var a=i.offset,u=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(i,lm),c=o.createBuffer(1,2,44100),s=e(o,{buffer:null,channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",loop:!1,loopEnd:0,loopStart:0,playbackRate:1}),l=n(o,hm(hm({},u),{},{gain:a})),f=c.getChannelData(0);f[0]=1,f[1]=1,s.buffer=c,s.loop=!0;var h={get bufferSize(){},get channelCount(){return l.channelCount},set channelCount(t){l.channelCount=t},get channelCountMode(){return l.channelCountMode},set channelCountMode(t){l.channelCountMode=t},get channelInterpretation(){return l.channelInterpretation},set channelInterpretation(t){l.channelInterpretation=t},get context(){return l.context},get inputs(){return[]},get numberOfInputs(){return s.numberOfInputs},get numberOfOutputs(){return l.numberOfOutputs},get offset(){return l.gain},get onended(){return s.onended},set onended(t){s.onended=t},addEventListener:function(){return s.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},dispatchEvent:function(){return s.dispatchEvent(arguments.length<=0?void 0:arguments[0])},removeEventListener:function(){return s.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;s.start.call(s,t)},stop:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;s.stop.call(s,t)}};return t(o,s),r(cm(h,l),(function(){return s.connect(l)}),(function(){return s.disconnect(l)}))}}(sA,hA,ym,AA),PA=function(t,e,n,r,o){return function(i,a){if(void 0===i.createConstantSource)return n(i,a);var u=i.createConstantSource();return Gg(u,a),zg(u,a,"offset"),e(r,(function(){return r(i)}))||Yg(u),e(o,(function(){return o(i)}))||Hg(u),t(i,u),u}}(sA,Dw,jA,Pw,Tw),IA=function(t,e,n,r,o){return function(){var i=new WeakMap,a=null,u=null,c=function(){var c=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){jy(i,r,o,a,u,"next",t)}function u(t){jy(i,r,o,a,u,"throw",t)}a(void 0)}))}}(_y().mark((function c(s,l){var f,h,p;return _y().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(f=n(s),(h=Oh(f,l))||(p={channelCount:f.channelCount,channelCountMode:f.channelCountMode,channelInterpretation:f.channelInterpretation,offset:f.offset.value},f=e(l,p),null!==a&&f.start(a),null!==u&&f.stop(u)),i.set(l,f),h){c.next=9;break}return c.next=7,r(l,s.offset,f.offset);case 7:c.next=11;break;case 9:return c.next=11,t(l,s.offset,f.offset);case 11:return c.next=13,o(s,l,f);case 13:return c.abrupt("return",f);case 14:case"end":return c.stop()}}),c)})));return function(t,e){return c.apply(this,arguments)}}();return{set start(t){a=t},set stop(t){u=t},render:function(t,e){var n=i.get(e);return void 0!==n?Promise.resolve(n):c(t,e)}}}}(fA,PA,Ip,pA,zw),TA=function(t,e,n,r,o,i,a){return function(t){function u(t,a){var c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var s=o(t),l=my(my({},Oy),a),f=r(s,l),h=i(s),p=h?n():null;return(c=function(t,e,n){return e=Ey(e),function(t,e){if(e&&("object"==vy(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,xy()?Reflect.construct(e,n||[],Ey(t).constructor):e.apply(t,n))}(this,u,[t,!1,f,p]))._constantSourceNodeRenderer=p,c._nativeConstantSourceNode=f,c._offset=e(c,h,f.offset,Uh,Dh),c._onended=null,c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Sy(t,e)}(u,t),function(t,e){return e&&wy(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(u,[{key:"offset",get:function(){return this._offset}},{key:"onended",get:function(){return this._onended},set:function(t){var e="function"==typeof t?a(this,t):null;this._nativeConstantSourceNode.onended=e;var n=this._nativeConstantSourceNode.onended;this._onended=null!==n&&n===e?t:n}},{key:"start",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this._nativeConstantSourceNode.start(e),null!==this._constantSourceNodeRenderer&&(this._constantSourceNodeRenderer.start=e),"closed"!==this.context.state){lh(this);var n=function(){t._nativeConstantSourceNode.removeEventListener("ended",n),Gh(t)&&hh(t)};this._nativeConstantSourceNode.addEventListener("ended",n)}}},{key:"stop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._nativeConstantSourceNode.stop(t),null!==this._constantSourceNodeRenderer&&(this._constantSourceNodeRenderer.stop=t)}}])}(t)}(eA,yA,IA,PA,Hw,$w,Lw),CA=function(t,e){return function(n,r){var o=n.createConvolver();if(Gg(o,r),r.disableNormalization===o.normalize&&(o.normalize=!r.disableNormalization),Ug(o,r,"buffer"),r.channelCount>2)throw t();if(e(o,"channelCount",(function(t){return function(){return t.call(o)}}),(function(e){return function(n){if(n>2)throw t();return e.call(o,n)}})),"max"===r.channelCountMode)throw t();return e(o,"channelCountMode",(function(t){return function(){return t.call(o)}}),(function(e){return function(n){if("max"===n)throw t();return e.call(o,n)}})),o}}(Fm,pw),LA=function(t,e,n){return function(){var r=new WeakMap,o=function(){var o=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Gy(i,r,o,a,u,"next",t)}function u(t){Gy(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Uy().mark((function o(i,a){var u,c;return Uy().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(u=e(i),Oh(u,a)||(c={buffer:u.buffer,channelCount:u.channelCount,channelCountMode:u.channelCountMode,channelInterpretation:u.channelInterpretation,disableNormalization:!u.normalize},u=t(a,c)),r.set(a,u),!Ep(u)){o.next=9;break}return o.next=7,n(i,a,u.inputs[0]);case 7:o.next=11;break;case 9:return o.next=11,n(i,a,u);case 11:return o.abrupt("return",u);case 12:case"end":return o.stop()}}),o)})));return function(t,e){return o.apply(this,arguments)}}();return{render:function(t,e){var n=r.get(e);return void 0!==n?Promise.resolve(n):o(t,e)}}}}(CA,Ip,zw),RA=function(t,e,n,r,o,i){return function(t){function a(t,u){var c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var s=r(t),l=Ty(Ty({},Ny),u),f=n(s,l);return(c=function(t,e,n){return e=By(e),function(t,e){if(e&&("object"==Py(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,My()?Reflect.construct(e,n||[],By(t).constructor):e.apply(t,n))}(this,a,[t,!1,f,o(s)?e():null]))._isBufferNullified=!1,c._nativeConvolverNode=f,null!==l.buffer&&i(c,l.buffer.duration),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Fy(t,e)}(a,t),function(t,e){return e&&Ly(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(a,[{key:"buffer",get:function(){return this._isBufferNullified?null:this._nativeConvolverNode.buffer},set:function(t){if(this._nativeConvolverNode.buffer=t,null===t&&null!==this._nativeConvolverNode.buffer){var e=this._nativeConvolverNode.context;this._nativeConvolverNode.buffer=e.createBuffer(1,1,e.sampleRate),this._isBufferNullified=!0,i(this,0)}else this._isBufferNullified=!1,i(this,null===this._nativeConvolverNode.buffer?0:this._nativeConvolverNode.buffer.duration)}},{key:"normalize",get:function(){return this._nativeConvolverNode.normalize},set:function(t){this._nativeConvolverNode.normalize=t}}])}(t)}(eA,LA,CA,Hw,$w,bA),MA=function(t,e,n,r,o){return function(i){var a=new WeakMap,u=function(){var u=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){iv(i,r,o,a,u,"next",t)}function u(t){iv(i,r,o,a,u,"throw",t)}a(void 0)}))}}(ov().mark((function u(c,s){var l,f,h;return ov().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(l=n(c),(f=Oh(l,s))||(h={channelCount:l.channelCount,channelCountMode:l.channelCountMode,channelInterpretation:l.channelInterpretation,delayTime:l.delayTime.value,maxDelayTime:i},l=e(s,h)),a.set(s,l),f){u.next=9;break}return u.next=7,r(s,c.delayTime,l.delayTime);case 7:u.next=11;break;case 9:return u.next=11,t(s,c.delayTime,l.delayTime);case 11:return u.next=13,o(c,s,l);case 13:return u.abrupt("return",l);case 14:case"end":return u.stop()}}),u)})));return function(t,e){return u.apply(this,arguments)}}();return{render:function(t,e){var n=a.get(e);return void 0!==n?Promise.resolve(n):u(t,e)}}}}(fA,dm,Ip,pA,zw),BA=function(t,e,n,r,o,i,a){return function(t){function u(t,c){var s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var l=o(t),f=qy(qy({},nv),c),h=r(l,f),p=i(l);return(s=function(t,e,n){return e=tv(e),function(t,e){if(e&&("object"==$y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Zy()?Reflect.construct(e,n||[],tv(t).constructor):e.apply(t,n))}(this,u,[t,!1,h,p?n(f.maxDelayTime):null]))._delayTime=e(s,p,h.delayTime),a(s,f.maxDelayTime),s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ev(t,e)}(u,t),function(t,e){return e&&Ky(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(u,[{key:"delayTime",get:function(){return this._delayTime}}])}(t)}(eA,yA,MA,dm,Hw,$w,bA),FA=function(t){return function(e,n){var r=e.createDynamicsCompressor();if(Gg(r,n),n.channelCount>2)throw t();if("max"===n.channelCountMode)throw t();return zg(r,n,"attack"),zg(r,n,"knee"),zg(r,n,"ratio"),zg(r,n,"release"),zg(r,n,"threshold"),r}}(Fm),NA=function(t,e,n,r,o){return function(){var i=new WeakMap,a=function(){var a=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){wv(i,r,o,a,u,"next",t)}function u(t){wv(i,r,o,a,u,"throw",t)}a(void 0)}))}}(bv().mark((function a(u,c){var s,l,f;return bv().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(s=n(u),(l=Oh(s,c))||(f={attack:s.attack.value,channelCount:s.channelCount,channelCountMode:s.channelCountMode,channelInterpretation:s.channelInterpretation,knee:s.knee.value,ratio:s.ratio.value,release:s.release.value,threshold:s.threshold.value},s=e(c,f)),i.set(c,s),l){a.next=17;break}return a.next=7,r(c,u.attack,s.attack);case 7:return a.next=9,r(c,u.knee,s.knee);case 9:return a.next=11,r(c,u.ratio,s.ratio);case 11:return a.next=13,r(c,u.release,s.release);case 13:return a.next=15,r(c,u.threshold,s.threshold);case 15:a.next=27;break;case 17:return a.next=19,t(c,u.attack,s.attack);case 19:return a.next=21,t(c,u.knee,s.knee);case 21:return a.next=23,t(c,u.ratio,s.ratio);case 23:return a.next=25,t(c,u.release,s.release);case 25:return a.next=27,t(c,u.threshold,s.threshold);case 27:return a.next=29,o(u,c,s);case 29:return a.abrupt("return",s);case 30:case"end":return a.stop()}}),a)})));return function(t,e){return a.apply(this,arguments)}}();return{render:function(t,e){var n=i.get(e);return void 0!==n?Promise.resolve(n):a(t,e)}}}}(fA,FA,Ip,pA,zw),DA=function(t,e,n,r,o,i,a,u){return function(t){function c(t,o){var s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c);var l=i(t),f=lv(lv({},gv),o),h=r(l,f),p=a(l);return(s=function(t,e,n){return e=yv(e),function(t,e){if(e&&("object"==cv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,dv()?Reflect.construct(e,n||[],yv(t).constructor):e.apply(t,n))}(this,c,[t,!1,h,p?n():null]))._attack=e(s,p,h.attack),s._knee=e(s,p,h.knee),s._nativeDynamicsCompressorNode=h,s._ratio=e(s,p,h.ratio),s._release=e(s,p,h.release),s._threshold=e(s,p,h.threshold),u(s,.006),s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&vv(t,e)}(c,t),function(t,e){return e&&hv(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(c,[{key:"attack",get:function(){return this._attack}},{key:"channelCount",get:function(){return this._nativeDynamicsCompressorNode.channelCount},set:function(t){var e=this._nativeDynamicsCompressorNode.channelCount;if(this._nativeDynamicsCompressorNode.channelCount=t,t>2)throw this._nativeDynamicsCompressorNode.channelCount=e,o()}},{key:"channelCountMode",get:function(){return this._nativeDynamicsCompressorNode.channelCountMode},set:function(t){var e=this._nativeDynamicsCompressorNode.channelCountMode;if(this._nativeDynamicsCompressorNode.channelCountMode=t,"max"===t)throw this._nativeDynamicsCompressorNode.channelCountMode=e,o()}},{key:"knee",get:function(){return this._knee}},{key:"ratio",get:function(){return this._ratio}},{key:"reduction",get:function(){return"number"==typeof this._nativeDynamicsCompressorNode.reduction.value?this._nativeDynamicsCompressorNode.reduction.value:this._nativeDynamicsCompressorNode.reduction}},{key:"release",get:function(){return this._release}},{key:"threshold",get:function(){return this._threshold}}])}(t)}(eA,yA,NA,FA,Fm,Hw,$w,bA),UA=function(t,e,n,r,o){return function(){var i=new WeakMap,a=function(){var a=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Dv(i,r,o,a,u,"next",t)}function u(t){Dv(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Nv().mark((function a(u,c){var s,l,f;return Nv().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(s=n(u),(l=Oh(s,c))||(f={channelCount:s.channelCount,channelCountMode:s.channelCountMode,channelInterpretation:s.channelInterpretation,gain:s.gain.value},s=e(c,f)),i.set(c,s),l){a.next=9;break}return a.next=7,r(c,u.gain,s.gain);case 7:a.next=11;break;case 9:return a.next=11,t(c,u.gain,s.gain);case 11:return a.next=13,o(u,c,s);case 13:return a.abrupt("return",s);case 14:case"end":return a.stop()}}),a)})));return function(t,e){return a.apply(this,arguments)}}();return{render:function(t,e){var n=i.get(e);return void 0!==n?Promise.resolve(n):a(t,e)}}}}(fA,ym,Ip,pA,zw),GA=function(t,e,n,r,o,i){return function(t){function a(t,u){var c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var s=o(t),l=Pv(Pv({},Bv),u),f=r(s,l),h=i(s);return(c=function(t,e,n){return e=Rv(e),function(t,e){if(e&&("object"==_v(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Lv()?Reflect.construct(e,n||[],Rv(t).constructor):e.apply(t,n))}(this,a,[t,!1,f,h?n():null]))._gain=e(c,h,f.gain,Uh,Dh),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Mv(t,e)}(a,t),function(t,e){return e&&Tv(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(a,[{key:"gain",get:function(){return this._gain}}])}(t)}(eA,yA,UA,ym,Hw,$w),QA=function(t,e,n,r){return function(o,i,a){var u=a.channelCount,c=a.channelCountMode,s=a.channelInterpretation,l=a.feedback,f=a.feedforward,h=qg(i,o.sampleRate),p=l instanceof Float64Array?l:new Float64Array(l),d=f instanceof Float64Array?f:new Float64Array(f),y=p.length,v=d.length,g=Math.min(y,v);if(0===y||y>20)throw r();if(0===p[0])throw e();if(0===v||v>20)throw r();if(0===d[0])throw e();if(1!==p[0]){for(var m=0;m<v;m+=1)d[m]/=p[0];for(var b=1;b<y;b+=1)p[b]/=p[0]}var w=n(o,h,u,u);w.channelCount=u,w.channelCountMode=c,w.channelInterpretation=s;for(var A=[],x=[],E=[],S=0;S<u;S+=1){A.push(0);var O=new Float32Array(32),k=new Float32Array(32);O.fill(0),k.fill(0),x.push(O),E.push(k)}w.onaudioprocess=function(t){for(var e=t.inputBuffer,n=t.outputBuffer,r=e.numberOfChannels,o=0;o<r;o+=1){var i=e.getChannelData(o),a=n.getChannelData(o);A[o]=Xv(p,y,d,v,g,x[o],E[o],A[o],32,i,a)}};var _=o.sampleRate/2,j={get bufferSize(){return h},get channelCount(){return w.channelCount},set channelCount(t){w.channelCount=t},get channelCountMode(){return w.channelCountMode},set channelCountMode(t){w.channelCountMode=t},get channelInterpretation(){return w.channelInterpretation},set channelInterpretation(t){w.channelInterpretation=t},get context(){return w.context},get inputs(){return[w]},get numberOfInputs(){return w.numberOfInputs},get numberOfOutputs(){return w.numberOfOutputs},addEventListener:function(){return w.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},dispatchEvent:function(){return w.dispatchEvent(arguments.length<=0?void 0:arguments[0])},getFrequencyResponse:function(e,n,r){if(e.length!==n.length||n.length!==r.length)throw t();for(var o=e.length,i=0;i<o;i+=1){var a=-Math.PI*(e[i]/_),u=[Math.cos(a),Math.sin(a)],c=vm(mm(d,u),mm(p,u));n[i]=Math.sqrt(c[0]*c[0]+c[1]*c[1]),r[i]=Math.atan2(c[1],c[0])}},removeEventListener:function(){return w.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])}};return cm(j,w)}}(Gv,Uv,km,Fm),zA=function(t,e,n,r){return function(o){return t(Fg,(function(){return Fg(o)}))?Promise.resolve(t(r,r)).then((function(t){if(!t){var e=n(o,512,0,1);o.oncomplete=function(){e.onaudioprocess=null,e.disconnect()},e.onaudioprocess=function(){return o.currentTime},e.connect(o.destination)}return o.startRendering()})):new Promise((function(t){var n=e(o,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",gain:0});o.oncomplete=function(e){n.disconnect(),t(e.renderedBuffer)},n.connect(o.destination),o.startRendering()}))}}(Dw,ym,km,function(t,e){return function(){if(null===e)return Promise.resolve(!1);var n=new e(1,1,44100),r=t(n,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",gain:0});return new Promise((function(t){n.oncomplete=function(){r.disconnect(),t(0!==n.currentTime)},n.startRendering()}))}}(ym,Vw)),YA=function(t,e,n,r,o){return function(i,a){var u=new WeakMap,c=null,s=function(){var s=ng(tg().mark((function s(l,f){var h,p,d,y,v;return tg().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(h=null,p=e(l),d=Oh(p,f),void 0===f.createIIRFilter?h=t(f,{buffer:null,channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",loop:!1,loopEnd:0,loopStart:0,playbackRate:1}):d||(p=f.createIIRFilter(a,i)),u.set(f,null===h?p:h),null===h){s.next=17;break}if(null!==c){s.next=11;break}if(null!==n){s.next=9;break}throw new Error("Missing the native OfflineAudioContext constructor.");case 9:y=new n(l.context.destination.channelCount,l.context.length,f.sampleRate),c=ng(tg().mark((function t(){var e;return tg().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r(l,y,y.destination);case 2:return t.next=4,o(y);case 4:return e=t.sent,t.abrupt("return",rg(e,f,i,a));case 6:case"end":return t.stop()}}),t)})))();case 11:return s.next=13,c;case 13:return v=s.sent,h.buffer=v,h.start(0),s.abrupt("return",h);case 17:return s.next=19,r(l,f,p);case 19:return s.abrupt("return",p);case 20:case"end":return s.stop()}}),s)})));return function(t,e){return s.apply(this,arguments)}}();return{render:function(t,e){var n=u.get(e);return void 0!==n?Promise.resolve(n):s(t,e)}}}}(hA,Ip,Vw,zw,zA),HA=function(t){return function(e,n,r){if(void 0===e.createIIRFilter)return t(e,n,r);var o=e.createIIRFilter(r.feedforward,r.feedback);return Gg(o,r),o}}(QA),VA=function(t,e,n,r,o,i){return function(t){function a(t,u){var c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var s=r(t),l=o(s),f=Yv(Yv({},Kv),u),h=e(s,l?null:t.baseLatency,f);return c=function(t,e,n){return e=qv(e),function(t,e){if(e&&("object"==Qv(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Wv()?Reflect.construct(e,n||[],qv(t).constructor):e.apply(t,n))}(this,a,[t,!1,h,l?n(f.feedback,f.feedforward):null]),function(t){var e;t.getFrequencyResponse=(e=t.getFrequencyResponse,function(n,r,o){if(n.length!==r.length||r.length!==o.length)throw Gv();return e.call(t,n,r,o)})}(h),c._nativeIIRFilterNode=h,i(c,1),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Jv(t,e)}(a,t),function(t,e){return e&&Vv(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(a,[{key:"getFrequencyResponse",value:function(t,e,n){return this._nativeIIRFilterNode.getFrequencyResponse(t,e,n)}}])}(t)}(eA,HA,YA,Hw,$w,bA),$A=function(t,e,n,r,o,i,a,u){return function(c,s){var l,f,h,p,d,y,v,g,m,b,w=s.listener,A=void 0===w.forwardX?(l=new Float32Array(1),f=e(s,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"speakers",numberOfInputs:9}),h=a(s),p=!1,d=[0,0,-1,0,1,0],y=[0,0,0],v=function(){if(!p){p=!0;var t=r(s,256,9,0);t.onaudioprocess=function(t){var e=t.inputBuffer,n=[i(e,l,0),i(e,l,1),i(e,l,2),i(e,l,3),i(e,l,4),i(e,l,5)];n.some((function(t,e){return t!==d[e]}))&&(w.setOrientation.apply(w,n),d=n);var r=[i(e,l,6),i(e,l,7),i(e,l,8)];r.some((function(t,e){return t!==y[e]}))&&(w.setPosition.apply(w,r),y=r)},f.connect(t)}},m=function(t){return function(e){e!==y[t]&&(y[t]=e,w.setPosition.apply(w,pp(y)))}},b=function(e,r,i){var a=n(s,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",offset:r});a.connect(f,0,e),a.start(),Object.defineProperty(a.offset,"defaultValue",{get:function(){return r}});var l,p,d,y,g,m,b,w=t({context:c},h,a.offset,Uh,Dh);return u(w,"value",(function(t){return function(){return t.call(w)}}),(function(t){return function(e){try{t.call(w,e)}catch(t){if(9!==t.code)throw t}v(),h&&i(e)}})),w.cancelAndHoldAtTime=(l=w.cancelAndHoldAtTime,h?function(){throw o()}:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=l.apply(w,e);return v(),r}),w.cancelScheduledValues=(p=w.cancelScheduledValues,h?function(){throw o()}:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=p.apply(w,e);return v(),r}),w.exponentialRampToValueAtTime=(d=w.exponentialRampToValueAtTime,h?function(){throw o()}:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=d.apply(w,e);return v(),r}),w.linearRampToValueAtTime=(y=w.linearRampToValueAtTime,h?function(){throw o()}:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=y.apply(w,e);return v(),r}),w.setTargetAtTime=(g=w.setTargetAtTime,h?function(){throw o()}:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=g.apply(w,e);return v(),r}),w.setValueAtTime=(m=w.setValueAtTime,h?function(){throw o()}:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=m.apply(w,e);return v(),r}),w.setValueCurveAtTime=(b=w.setValueCurveAtTime,h?function(){throw o()}:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=b.apply(w,e);return v(),r}),w},{forwardX:b(0,0,(g=function(t){return function(e){e!==d[t]&&(d[t]=e,w.setOrientation.apply(w,pp(d)))}})(0)),forwardY:b(1,0,g(1)),forwardZ:b(2,-1,g(2)),positionX:b(6,0,m(0)),positionY:b(7,0,m(1)),positionZ:b(8,0,m(2)),upX:b(3,0,g(3)),upY:b(4,1,g(4)),upZ:b(5,0,g(5))}):w,x=A.forwardX,E=A.forwardY,S=A.forwardZ,O=A.positionX,k=A.positionY,_=A.positionZ,j=A.upX,P=A.upY,I=A.upZ;return{get forwardX(){return x},get forwardY(){return E},get forwardZ(){return S},get positionX(){return O},get positionY(){return k},get positionZ(){return _},get upX(){return j},get upY(){return P},get upZ(){return I}}}}(yA,EA,PA,km,Fm,fw,$w,pw),WA=new WeakMap,qA=function(t,e,n,r,o,i){return function(n){function a(n,i){var u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(u=function(t,e,n){return e=Mg(e),function(t,e){if(e&&("object"==Tg(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Rg()?Reflect.construct(e,n||[],Mg(t).constructor):e.apply(t,n))}(this,a,[n]))._nativeContext=n,zf.set(u,n),r(n)&&o.set(n,new Set),u._destination=new t(u,i),u._listener=e(u,n),u._onstatechange=null,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Bg(t,e)}(a,n),function(t,e){return e&&Cg(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(a,[{key:"currentTime",get:function(){return this._nativeContext.currentTime}},{key:"destination",get:function(){return this._destination}},{key:"listener",get:function(){return this._listener}},{key:"onstatechange",get:function(){return this._onstatechange},set:function(t){var e="function"==typeof t?i(this,t):null;this._nativeContext.onstatechange=e;var n=this._nativeContext.onstatechange;this._onstatechange=null!==n&&n===e?t:n}},{key:"sampleRate",get:function(){return this._nativeContext.sampleRate}},{key:"state",get:function(){return this._nativeContext.state}}])}(n)}(gA,$A,qw,$w,WA,Lw),JA=function(t,e,n,r,o,i){return function(a,u){var c=a.createOscillator();return Gg(c,u),zg(c,u,"detune"),zg(c,u,"frequency"),void 0!==u.periodicWave?c.setPeriodicWave(u.periodicWave):Ug(c,u,"type"),e(n,(function(){return n(a)}))||Yg(c),e(r,(function(){return r(a)}))||i(c,a),e(o,(function(){return o(a)}))||Hg(c),t(a,c),c}}(sA,Dw,Pw,Iw,Tw,Cw),KA=function(t,e,n,r,o){return function(){var i=new WeakMap,a=null,u=null,c=null,s=function(){var s=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Jm(i,r,o,a,u,"next",t)}function u(t){Jm(i,r,o,a,u,"throw",t)}a(void 0)}))}}(qm().mark((function s(l,f){var h,p,d;return qm().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(h=n(l),(p=Oh(h,f))||(d={channelCount:h.channelCount,channelCountMode:h.channelCountMode,channelInterpretation:h.channelInterpretation,detune:h.detune.value,frequency:h.frequency.value,periodicWave:null===a?void 0:a,type:h.type},h=e(f,d),null!==u&&h.start(u),null!==c&&h.stop(c)),i.set(f,h),p){s.next=11;break}return s.next=7,r(f,l.detune,h.detune);case 7:return s.next=9,r(f,l.frequency,h.frequency);case 9:s.next=15;break;case 11:return s.next=13,t(f,l.detune,h.detune);case 13:return s.next=15,t(f,l.frequency,h.frequency);case 15:return s.next=17,o(l,f,h);case 17:return s.abrupt("return",h);case 18:case"end":return s.stop()}}),s)})));return function(t,e){return s.apply(this,arguments)}}();return{set periodicWave(t){a=t},set start(t){u=t},set stop(t){c=t},render:function(t,e){var n=i.get(e);return void 0!==n?Promise.resolve(n):s(t,e)}}}}(fA,JA,Ip,pA,zw),XA=function(t,e,n,r,o,i,a){return function(t){function u(t,a){var c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var s=o(t),l=Um(Um({},$m),a),f=n(s,l),h=i(s),p=h?r():null,d=t.sampleRate/2;return(c=function(t,e,n){return e=Hm(e),function(t,e){if(e&&("object"==Nm(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ym()?Reflect.construct(e,n||[],Hm(t).constructor):e.apply(t,n))}(this,u,[t,!1,f,p]))._detune=e(c,h,f.detune,153600,-153600),c._frequency=e(c,h,f.frequency,d,-d),c._nativeOscillatorNode=f,c._onended=null,c._oscillatorNodeRenderer=p,null!==c._oscillatorNodeRenderer&&void 0!==l.periodicWave&&(c._oscillatorNodeRenderer.periodicWave=l.periodicWave),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Vm(t,e)}(u,t),function(t,e){return e&&Qm(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(u,[{key:"detune",get:function(){return this._detune}},{key:"frequency",get:function(){return this._frequency}},{key:"onended",get:function(){return this._onended},set:function(t){var e="function"==typeof t?a(this,t):null;this._nativeOscillatorNode.onended=e;var n=this._nativeOscillatorNode.onended;this._onended=null!==n&&n===e?t:n}},{key:"type",get:function(){return this._nativeOscillatorNode.type},set:function(t){this._nativeOscillatorNode.type=t,null!==this._oscillatorNodeRenderer&&(this._oscillatorNodeRenderer.periodicWave=null)}},{key:"setPeriodicWave",value:function(t){this._nativeOscillatorNode.setPeriodicWave(t),null!==this._oscillatorNodeRenderer&&(this._oscillatorNodeRenderer.periodicWave=t)}},{key:"start",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this._nativeOscillatorNode.start(e),null!==this._oscillatorNodeRenderer&&(this._oscillatorNodeRenderer.start=e),"closed"!==this.context.state){lh(this);var n=function(){t._nativeOscillatorNode.removeEventListener("ended",n),Gh(t)&&hh(t)};this._nativeOscillatorNode.addEventListener("ended",n)}}},{key:"stop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._nativeOscillatorNode.stop(t),null!==this._oscillatorNodeRenderer&&(this._oscillatorNodeRenderer.stop=t)}}])}(t)}(eA,yA,JA,KA,Hw,$w,Lw),ZA=function(t){return function(e,n){var r=t(e,{buffer:null,channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",loop:!1,loopEnd:0,loopStart:0,playbackRate:1}),o=e.createBuffer(1,2,44100);return r.buffer=o,r.loop=!0,r.connect(n),r.start(),function(){r.stop(),r.disconnect(n)}}}(hA),tx=function(t,e,n,r,o){return function(i,a){var u=a.curve,c=a.oversample,s=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(a,Lm),l=i.createWaveShaper(),f=i.createWaveShaper();Gg(l,s),Gg(f,s);var h=n(i,Mm(Mm({},s),{},{gain:1})),p=n(i,Mm(Mm({},s),{},{gain:-1})),d=n(i,Mm(Mm({},s),{},{gain:1})),y=n(i,Mm(Mm({},s),{},{gain:-1})),v=null,g=!1,m=null,b={get bufferSize(){},get channelCount(){return l.channelCount},set channelCount(t){h.channelCount=t,p.channelCount=t,l.channelCount=t,d.channelCount=t,f.channelCount=t,y.channelCount=t},get channelCountMode(){return l.channelCountMode},set channelCountMode(t){h.channelCountMode=t,p.channelCountMode=t,l.channelCountMode=t,d.channelCountMode=t,f.channelCountMode=t,y.channelCountMode=t},get channelInterpretation(){return l.channelInterpretation},set channelInterpretation(t){h.channelInterpretation=t,p.channelInterpretation=t,l.channelInterpretation=t,d.channelInterpretation=t,f.channelInterpretation=t,y.channelInterpretation=t},get context(){return l.context},get curve(){return m},set curve(n){if(null!==n&&n.length<2)throw e();if(null===n)l.curve=n,f.curve=n;else{var o=n.length,a=new Float32Array(o+2-o%2),u=new Float32Array(o+2-o%2);a[0]=n[0],u[0]=-n[o-1];for(var c=Math.ceil((o+1)/2),s=(o+1)/2-1,p=1;p<c;p+=1){var d=p/c*s,y=Math.floor(d),b=Math.ceil(d);a[p]=y===b?n[y]:(1-(d-y))*n[y]+(1-(b-d))*n[b],u[p]=y===b?-n[o-1-y]:-(1-(d-y))*n[o-1-y]-(1-(b-d))*n[o-1-b]}a[c]=o%2==1?n[c-1]:(n[c-2]+n[c-1])/2,l.curve=a,f.curve=u}m=n,g&&(r(m)&&null===v?v=t(i,h):null!==v&&(v(),v=null))},get inputs(){return[h]},get numberOfInputs(){return l.numberOfInputs},get numberOfOutputs(){return l.numberOfOutputs},get oversample(){return l.oversample},set oversample(t){l.oversample=t,f.oversample=t},addEventListener:function(){return h.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},dispatchEvent:function(){return h.dispatchEvent(arguments.length<=0?void 0:arguments[0])},removeEventListener:function(){return h.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])}};return null!==u&&(b.curve=u instanceof Float32Array?u:new Float32Array(u)),c!==b.oversample&&(b.oversample=c),o(cm(b,d),(function(){h.connect(l).connect(d),h.connect(p).connect(f).connect(y).connect(d),g=!0,r(m)&&(v=t(i,h))}),(function(){h.disconnect(l),l.disconnect(d),h.disconnect(p),p.disconnect(f),f.disconnect(y),y.disconnect(d),g=!1,null!==v&&(v(),v=null)}))}}(ZA,Uv,ym,hw,AA),ex=function(t,e,n,r,o,i,a){return function(u,c){var s=u.createWaveShaper();if(null!==i&&"webkitAudioContext"===i.name&&void 0===u.createGain().gain.automationRate)return n(u,c);Gg(s,c);var l=null===c.curve||c.curve instanceof Float32Array?c.curve:new Float32Array(c.curve);if(null!==l&&l.length<2)throw e();Ug(s,{curve:l},"curve"),Ug(s,c,"oversample");var f=null,h=!1;return a(s,"curve",(function(t){return function(){return t.call(s)}}),(function(e){return function(n){return e.call(s,n),h&&(r(n)&&null===f?f=t(u,s):r(n)||null===f||(f(),f=null)),n}})),o(s,(function(){h=!0,r(s.curve)&&(f=t(u,s))}),(function(){h=!1,null!==f&&(f(),f=null)}))}}(ZA,Uv,tx,hw,AA,Jw,pw),nx=function(t,e,n,r,o,i,a,u,c,s){return function(l,f){var h=f.coneInnerAngle,p=f.coneOuterAngle,d=f.coneOuterGain,y=f.distanceModel,v=f.maxDistance,g=f.orientationX,m=f.orientationY,b=f.orientationZ,w=f.panningModel,A=f.positionX,x=f.positionY,E=f.positionZ,S=f.refDistance,O=f.rolloffFactor,k=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(f,wm),_=l.createPanner();if(k.channelCount>2)throw a();if("max"===k.channelCountMode)throw a();Gg(_,k);var j={channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete"},P=n(l,Sm(Sm({},j),{},{channelInterpretation:"speakers",numberOfInputs:6})),I=r(l,Sm(Sm({},k),{},{gain:1})),T=r(l,Sm(Sm({},j),{},{gain:1})),C=r(l,Sm(Sm({},j),{},{gain:0})),L=r(l,Sm(Sm({},j),{},{gain:0})),R=r(l,Sm(Sm({},j),{},{gain:0})),M=r(l,Sm(Sm({},j),{},{gain:0})),B=r(l,Sm(Sm({},j),{},{gain:0})),F=o(l,256,6,1),N=i(l,Sm(Sm({},j),{},{curve:new Float32Array([1,1]),oversample:"none"})),D=[g,m,b],U=[A,x,E],G=new Float32Array(1);F.onaudioprocess=function(t){var e=t.inputBuffer,n=[c(e,G,0),c(e,G,1),c(e,G,2)];n.some((function(t,e){return t!==D[e]}))&&(_.setOrientation.apply(_,n),D=n);var r=[c(e,G,3),c(e,G,4),c(e,G,5)];r.some((function(t,e){return t!==U[e]}))&&(_.setPosition.apply(_,r),U=r)},Object.defineProperty(C.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(L.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(R.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(M.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(B.gain,"defaultValue",{get:function(){return 0}});var Q={get bufferSize(){},get channelCount(){return _.channelCount},set channelCount(t){if(t>2)throw a();I.channelCount=t,_.channelCount=t},get channelCountMode(){return _.channelCountMode},set channelCountMode(t){if("max"===t)throw a();I.channelCountMode=t,_.channelCountMode=t},get channelInterpretation(){return _.channelInterpretation},set channelInterpretation(t){I.channelInterpretation=t,_.channelInterpretation=t},get coneInnerAngle(){return _.coneInnerAngle},set coneInnerAngle(t){_.coneInnerAngle=t},get coneOuterAngle(){return _.coneOuterAngle},set coneOuterAngle(t){_.coneOuterAngle=t},get coneOuterGain(){return _.coneOuterGain},set coneOuterGain(t){if(t<0||t>1)throw e();_.coneOuterGain=t},get context(){return _.context},get distanceModel(){return _.distanceModel},set distanceModel(t){_.distanceModel=t},get inputs(){return[I]},get maxDistance(){return _.maxDistance},set maxDistance(t){if(t<0)throw new RangeError;_.maxDistance=t},get numberOfInputs(){return _.numberOfInputs},get numberOfOutputs(){return _.numberOfOutputs},get orientationX(){return T.gain},get orientationY(){return C.gain},get orientationZ(){return L.gain},get panningModel(){return _.panningModel},set panningModel(t){_.panningModel=t},get positionX(){return R.gain},get positionY(){return M.gain},get positionZ(){return B.gain},get refDistance(){return _.refDistance},set refDistance(t){if(t<0)throw new RangeError;_.refDistance=t},get rolloffFactor(){return _.rolloffFactor},set rolloffFactor(t){if(t<0)throw new RangeError;_.rolloffFactor=t},addEventListener:function(){return I.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},dispatchEvent:function(){return I.dispatchEvent(arguments.length<=0?void 0:arguments[0])},removeEventListener:function(){return I.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])}};return h!==Q.coneInnerAngle&&(Q.coneInnerAngle=h),p!==Q.coneOuterAngle&&(Q.coneOuterAngle=p),d!==Q.coneOuterGain&&(Q.coneOuterGain=d),y!==Q.distanceModel&&(Q.distanceModel=y),v!==Q.maxDistance&&(Q.maxDistance=v),g!==Q.orientationX.value&&(Q.orientationX.value=g),m!==Q.orientationY.value&&(Q.orientationY.value=m),b!==Q.orientationZ.value&&(Q.orientationZ.value=b),w!==Q.panningModel&&(Q.panningModel=w),A!==Q.positionX.value&&(Q.positionX.value=A),x!==Q.positionY.value&&(Q.positionY.value=x),E!==Q.positionZ.value&&(Q.positionZ.value=E),S!==Q.refDistance&&(Q.refDistance=S),O!==Q.rolloffFactor&&(Q.rolloffFactor=O),1===D[0]&&0===D[1]&&0===D[2]||_.setOrientation.apply(_,Am(D)),0===U[0]&&0===U[1]&&0===U[2]||_.setPosition.apply(_,Am(U)),s(cm(Q,_),(function(){I.connect(_),t(I,N,0,0),N.connect(T).connect(P,0,0),N.connect(C).connect(P,0,1),N.connect(L).connect(P,0,2),N.connect(R).connect(P,0,3),N.connect(M).connect(P,0,4),N.connect(B).connect(P,0,5),P.connect(F).connect(l.destination)}),(function(){I.disconnect(_),u(I,N,0,0),N.disconnect(T),T.disconnect(P),N.disconnect(C),C.disconnect(P),N.disconnect(L),L.disconnect(P),N.disconnect(R),R.disconnect(P),N.disconnect(M),M.disconnect(P),N.disconnect(B),B.disconnect(P),P.disconnect(F),F.disconnect(l.destination)}))}}(Sp,Uv,EA,ym,km,ex,Fm,Pp,fw,AA),rx=function(t){return function(e,n){var r=e.createPanner();return void 0===r.orientationX?t(e,n):(Gg(r,n),zg(r,n,"orientationX"),zg(r,n,"orientationY"),zg(r,n,"orientationZ"),zg(r,n,"positionX"),zg(r,n,"positionY"),zg(r,n,"positionZ"),Ug(r,n,"coneInnerAngle"),Ug(r,n,"coneOuterAngle"),Ug(r,n,"coneOuterGain"),Ug(r,n,"distanceModel"),Ug(r,n,"maxDistance"),Ug(r,n,"panningModel"),Ug(r,n,"refDistance"),Ug(r,n,"rolloffFactor"),r)}}(nx),ox=function(t,e,n,r,o,i,a,u,c,s){return function(){var l=new WeakMap,f=null,h=function(){var h=pb(cb().mark((function h(p,d){var y,v,g,m,b,w,A,x,E,S,O,k,_,j,P,I,T,C,L,R;return cb().wrap((function(h){for(;;)switch(h.prev=h.next){case 0:if(y=null,v=i(p),g={channelCount:v.channelCount,channelCountMode:v.channelCountMode,channelInterpretation:v.channelInterpretation},m=lb(lb({},g),{},{coneInnerAngle:v.coneInnerAngle,coneOuterAngle:v.coneOuterAngle,coneOuterGain:v.coneOuterGain,distanceModel:v.distanceModel,maxDistance:v.maxDistance,panningModel:v.panningModel,refDistance:v.refDistance,rolloffFactor:v.rolloffFactor}),b=Oh(v,d),"bufferSize"in v?y=r(d,lb(lb({},g),{},{gain:1})):b||(w=lb(lb({},m),{},{orientationX:v.orientationX.value,orientationY:v.orientationY.value,orientationZ:v.orientationZ.value,positionX:v.positionX.value,positionY:v.positionY.value,positionZ:v.positionZ.value}),v=o(d,w)),l.set(d,null===y?v:y),null===y){h.next=31;break}if(null!==f){h.next=15;break}if(null!==a){h.next=11;break}throw new Error("Missing the native OfflineAudioContext constructor.");case 11:A=new a(6,p.context.length,d.sampleRate),(x=e(A,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"speakers",numberOfInputs:6})).connect(A.destination),f=pb(cb().mark((function t(){var e,r;return cb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([p.orientationX,p.orientationY,p.orientationZ,p.positionX,p.positionY,p.positionZ].map(function(){var t=pb(cb().mark((function t(e,r){var o;return cb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=n(A,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",offset:0===r?1:0}),t.next=3,u(A,e,o.offset);case 3:return t.abrupt("return",o);case 4:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()));case 2:for(e=t.sent,r=0;r<6;r+=1)e[r].connect(x,0,r),e[r].start(0);return t.abrupt("return",s(A));case 5:case"end":return t.stop()}}),t)})))();case 15:return h.next=17,f;case 17:return E=h.sent,S=r(d,lb(lb({},g),{},{gain:1})),h.next=21,c(p,d,S);case 21:for(O=[],k=0;k<E.numberOfChannels;k+=1)O.push(E.getChannelData(k));for(_=[O[0][0],O[1][0],O[2][0]],j=[O[3][0],O[4][0],O[5][0]],P=r(d,lb(lb({},g),{},{gain:1})),I=o(d,lb(lb({},m),{},{orientationX:_[0],orientationY:_[1],orientationZ:_[2],positionX:j[0],positionY:j[1],positionZ:j[2]})),S.connect(P).connect(I.inputs[0]),I.connect(y),T=128;T<E.length;T+=128)C=[O[0][T],O[1][T],O[2][T]],L=[O[3][T],O[4][T],O[5][T]],(C.some((function(t,e){return t!==_[e]}))||L.some((function(t,e){return t!==j[e]})))&&(_=C,j=L,R=T/d.sampleRate,P.gain.setValueAtTime(0,R),P=r(d,lb(lb({},g),{},{gain:0})),I=o(d,lb(lb({},m),{},{orientationX:_[0],orientationY:_[1],orientationZ:_[2],positionX:j[0],positionY:j[1],positionZ:j[2]})),P.gain.setValueAtTime(1,R),S.connect(P).connect(I.inputs[0]),I.connect(y));return h.abrupt("return",y);case 31:if(b){h.next=46;break}return h.next=34,u(d,p.orientationX,v.orientationX);case 34:return h.next=36,u(d,p.orientationY,v.orientationY);case 36:return h.next=38,u(d,p.orientationZ,v.orientationZ);case 38:return h.next=40,u(d,p.positionX,v.positionX);case 40:return h.next=42,u(d,p.positionY,v.positionY);case 42:return h.next=44,u(d,p.positionZ,v.positionZ);case 44:h.next=58;break;case 46:return h.next=48,t(d,p.orientationX,v.orientationX);case 48:return h.next=50,t(d,p.orientationY,v.orientationY);case 50:return h.next=52,t(d,p.orientationZ,v.orientationZ);case 52:return h.next=54,t(d,p.positionX,v.positionX);case 54:return h.next=56,t(d,p.positionY,v.positionY);case 56:return h.next=58,t(d,p.positionZ,v.positionZ);case 58:if(!Ep(v)){h.next=63;break}return h.next=61,c(p,d,v.inputs[0]);case 61:h.next=65;break;case 63:return h.next=65,c(p,d,v);case 65:return h.abrupt("return",v);case 66:case"end":return h.stop()}}),h)})));return function(t,e){return h.apply(this,arguments)}}();return{render:function(t,e){var n=l.get(e);return void 0!==n?Promise.resolve(n):h(t,e)}}}}(fA,EA,PA,ym,rx,Ip,Vw,pA,zw,zA),ix=function(t,e,n,r,o,i,a){return function(t){function u(t,c){var s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var l=o(t),f=Zm(Zm({},ab),c),h=n(l,f),p=i(l);return(s=function(t,e,n){return e=ob(e),function(t,e){if(e&&("object"==Km(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,rb()?Reflect.construct(e,n||[],ob(t).constructor):e.apply(t,n))}(this,u,[t,!1,h,p?r():null]))._nativePannerNode=h,s._orientationX=e(s,p,h.orientationX,Uh,Dh),s._orientationY=e(s,p,h.orientationY,Uh,Dh),s._orientationZ=e(s,p,h.orientationZ,Uh,Dh),s._positionX=e(s,p,h.positionX,Uh,Dh),s._positionY=e(s,p,h.positionY,Uh,Dh),s._positionZ=e(s,p,h.positionZ,Uh,Dh),a(s,1),s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ib(t,e)}(u,t),function(t,e){return e&&eb(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(u,[{key:"coneInnerAngle",get:function(){return this._nativePannerNode.coneInnerAngle},set:function(t){this._nativePannerNode.coneInnerAngle=t}},{key:"coneOuterAngle",get:function(){return this._nativePannerNode.coneOuterAngle},set:function(t){this._nativePannerNode.coneOuterAngle=t}},{key:"coneOuterGain",get:function(){return this._nativePannerNode.coneOuterGain},set:function(t){this._nativePannerNode.coneOuterGain=t}},{key:"distanceModel",get:function(){return this._nativePannerNode.distanceModel},set:function(t){this._nativePannerNode.distanceModel=t}},{key:"maxDistance",get:function(){return this._nativePannerNode.maxDistance},set:function(t){this._nativePannerNode.maxDistance=t}},{key:"orientationX",get:function(){return this._orientationX}},{key:"orientationY",get:function(){return this._orientationY}},{key:"orientationZ",get:function(){return this._orientationZ}},{key:"panningModel",get:function(){return this._nativePannerNode.panningModel},set:function(t){this._nativePannerNode.panningModel=t}},{key:"positionX",get:function(){return this._positionX}},{key:"positionY",get:function(){return this._positionY}},{key:"positionZ",get:function(){return this._positionZ}},{key:"refDistance",get:function(){return this._nativePannerNode.refDistance},set:function(t){this._nativePannerNode.refDistance=t}},{key:"rolloffFactor",get:function(){return this._nativePannerNode.rolloffFactor},set:function(t){this._nativePannerNode.rolloffFactor=t}}])}(t)}(eA,yA,rx,ox,Hw,$w,bA),ax=function(t){return function(e,n){var r=n.disableNormalization,o=n.imag,i=n.real,a=o instanceof Float32Array?o:new Float32Array(o),u=i instanceof Float32Array?i:new Float32Array(i),c=e.createPeriodicWave(u,a,{disableNormalization:r});if(Array.from(o).length<2)throw t();return c}}(Ih),ux=function(t,e,n){return function(){function r(o,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);var a=e(o),u=function(t){var e=t.imag,n=t.real;return ww(ww({},t),{},void 0===e?void 0===n?{imag:[0,0],real:[0,0]}:{imag:Array.from(n,(function(){return 0})),real:n}:void 0===n?{imag:e,real:Array.from(e,(function(){return 0}))}:{imag:e,real:n})}(vb(vb({},wb),i)),c=t(a,u);return n.add(c),c}return function(t,e,n){return n&&mb(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(r,0,[{key:Symbol.hasInstance,value:function(t){return null!==t&&"object"===db(t)&&Object.getPrototypeOf(t)===r.prototype||n.has(t)}}])}()}(ax,Hw,new WeakSet),cx=function(t,e,n,r,o,i){var a=16385,u=new Float32Array([1,1]),c=Math.PI/2,s={channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete"},l=Im(Im({},s),{},{oversample:"none"}),f=function(t,i,f,h,p){if(1===i)return function(t,e,o,i){for(var f=new Float32Array(a),h=new Float32Array(a),p=0;p<a;p+=1){var d=p/16384*c;f[p]=Math.cos(d),h[p]=Math.sin(d)}var y=n(t,Im(Im({},s),{},{gain:0})),v=r(t,Im(Im({},l),{},{curve:f})),g=r(t,Im(Im({},l),{},{curve:u})),m=n(t,Im(Im({},s),{},{gain:0})),b=r(t,Im(Im({},l),{},{curve:h}));return{connectGraph:function(){e.connect(y),e.connect(void 0===g.inputs?g:g.inputs[0]),e.connect(m),g.connect(o),o.connect(void 0===v.inputs?v:v.inputs[0]),o.connect(void 0===b.inputs?b:b.inputs[0]),v.connect(y.gain),b.connect(m.gain),y.connect(i,0,0),m.connect(i,0,1)},disconnectGraph:function(){e.disconnect(y),e.disconnect(void 0===g.inputs?g:g.inputs[0]),e.disconnect(m),g.disconnect(o),o.disconnect(void 0===v.inputs?v:v.inputs[0]),o.disconnect(void 0===b.inputs?b:b.inputs[0]),v.disconnect(y.gain),b.disconnect(m.gain),y.disconnect(i,0,0),m.disconnect(i,0,1)}}}(t,f,h,p);if(2===i)return function(t,o,i,f){for(var h=new Float32Array(a),p=new Float32Array(a),d=new Float32Array(a),y=new Float32Array(a),v=Math.floor(8192.5),g=0;g<a;g+=1)if(g>v){var m=(g-v)/(16384-v)*c;h[g]=Math.cos(m),p[g]=Math.sin(m),d[g]=0,y[g]=1}else{var b=g/(16384-v)*c;h[g]=1,p[g]=0,d[g]=Math.cos(b),y[g]=Math.sin(b)}var w=e(t,{channelCount:2,channelCountMode:"explicit",channelInterpretation:"discrete",numberOfOutputs:2}),A=n(t,Im(Im({},s),{},{gain:0})),x=r(t,Im(Im({},l),{},{curve:h})),E=n(t,Im(Im({},s),{},{gain:0})),S=r(t,Im(Im({},l),{},{curve:p})),O=r(t,Im(Im({},l),{},{curve:u})),k=n(t,Im(Im({},s),{},{gain:0})),_=r(t,Im(Im({},l),{},{curve:d})),j=n(t,Im(Im({},s),{},{gain:0})),P=r(t,Im(Im({},l),{},{curve:y}));return{connectGraph:function(){o.connect(w),o.connect(void 0===O.inputs?O:O.inputs[0]),w.connect(A,0),w.connect(E,0),w.connect(k,1),w.connect(j,1),O.connect(i),i.connect(void 0===x.inputs?x:x.inputs[0]),i.connect(void 0===S.inputs?S:S.inputs[0]),i.connect(void 0===_.inputs?_:_.inputs[0]),i.connect(void 0===P.inputs?P:P.inputs[0]),x.connect(A.gain),S.connect(E.gain),_.connect(k.gain),P.connect(j.gain),A.connect(f,0,0),k.connect(f,0,0),E.connect(f,0,1),j.connect(f,0,1)},disconnectGraph:function(){o.disconnect(w),o.disconnect(void 0===O.inputs?O:O.inputs[0]),w.disconnect(A,0),w.disconnect(E,0),w.disconnect(k,1),w.disconnect(j,1),O.disconnect(i),i.disconnect(void 0===x.inputs?x:x.inputs[0]),i.disconnect(void 0===S.inputs?S:S.inputs[0]),i.disconnect(void 0===_.inputs?_:_.inputs[0]),i.disconnect(void 0===P.inputs?P:P.inputs[0]),x.disconnect(A.gain),S.disconnect(E.gain),_.disconnect(k.gain),P.disconnect(j.gain),A.disconnect(f,0,0),k.disconnect(f,0,0),E.disconnect(f,0,1),j.disconnect(f,0,1)}}}(t,f,h,p);throw o()};return function(e,r){var a=r.channelCount,u=r.channelCountMode,c=r.pan,s=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(e.includes(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.includes(n)||{}.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(r,_m);if("max"===u)throw o();var l=t(e,Im(Im({},s),{},{channelCount:1,channelCountMode:u,numberOfInputs:2})),h=n(e,Im(Im({},s),{},{channelCount:a,channelCountMode:u,gain:1})),p=n(e,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",gain:c}),d=f(e,a,h,p,l),y=d.connectGraph,v=d.disconnectGraph;Object.defineProperty(p.gain,"defaultValue",{get:function(){return 0}}),Object.defineProperty(p.gain,"maxValue",{get:function(){return 1}}),Object.defineProperty(p.gain,"minValue",{get:function(){return-1}});var g={get bufferSize(){},get channelCount(){return h.channelCount},set channelCount(t){if(h.channelCount!==t){m&&v();var n=f(e,t,h,p,l);y=n.connectGraph,v=n.disconnectGraph,m&&y()}h.channelCount=t},get channelCountMode(){return h.channelCountMode},set channelCountMode(t){if("clamped-max"===t||"max"===t)throw o();h.channelCountMode=t},get channelInterpretation(){return h.channelInterpretation},set channelInterpretation(t){h.channelInterpretation=t},get context(){return h.context},get inputs(){return[h]},get numberOfInputs(){return h.numberOfInputs},get numberOfOutputs(){return h.numberOfOutputs},get pan(){return p.gain},addEventListener:function(){return h.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},dispatchEvent:function(){return h.dispatchEvent(arguments.length<=0?void 0:arguments[0])},removeEventListener:function(){return h.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])}},m=!1;return i(cm(g,l),(function(){y(),m=!0}),(function(){v(),m=!1}))}}(EA,um,ym,ex,Fm,AA),sx=function(t,e){return function(n,r){var o=r.channelCountMode;if("clamped-max"===o)throw e();if(void 0===n.createStereoPanner)return t(n,r);var i=n.createStereoPanner();return Gg(i,r),zg(i,r,"pan"),Object.defineProperty(i,"channelCountMode",{get:function(){return o},set:function(t){if(t!==o)throw e()}}),i}}(cx,Fm),lx=function(t,e,n,r,o){return function(){var i=new WeakMap,a=function(){var a=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){$b(i,r,o,a,u,"next",t)}function u(t){$b(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Vb().mark((function a(u,c){var s,l,f;return Vb().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(s=n(u),(l=Oh(s,c))||(f={channelCount:s.channelCount,channelCountMode:s.channelCountMode,channelInterpretation:s.channelInterpretation,pan:s.pan.value},s=e(c,f)),i.set(c,s),l){a.next=9;break}return a.next=7,r(c,u.pan,s.pan);case 7:a.next=11;break;case 9:return a.next=11,t(c,u.pan,s.pan);case 11:if(!Ep(s)){a.next=16;break}return a.next=14,o(u,c,s.inputs[0]);case 14:a.next=18;break;case 16:return a.next=18,o(u,c,s);case 18:return a.abrupt("return",s);case 19:case"end":return a.stop()}}),a)})));return function(t,e){return a.apply(this,arguments)}}();return{render:function(t,e){var n=i.get(e);return void 0!==n?Promise.resolve(n):a(t,e)}}}}(fA,sx,Ip,pA,zw),fx=function(t,e,n,r,o,i){return function(t){function a(t,u){var c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var s=o(t),l=Fb(Fb({},Yb),u),f=n(s,l),h=i(s);return(c=function(t,e,n){return e=Qb(e),function(t,e){if(e&&("object"==Mb(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Gb()?Reflect.construct(e,n||[],Qb(t).constructor):e.apply(t,n))}(this,a,[t,!1,f,h?r():null]))._pan=e(c,h,f.pan),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&zb(t,e)}(a,t),function(t,e){return e&&Db(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(a,[{key:"pan",get:function(){return this._pan}}])}(t)}(eA,yA,sx,lx,Hw,$w),hx=function(t,e,n){return function(){var r=new WeakMap,o=function(){var o=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){lw(i,r,o,a,u,"next",t)}function u(t){lw(i,r,o,a,u,"throw",t)}a(void 0)}))}}(sw().mark((function o(i,a){var u,c;return sw().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(u=e(i),Oh(u,a)||(c={channelCount:u.channelCount,channelCountMode:u.channelCountMode,channelInterpretation:u.channelInterpretation,curve:u.curve,oversample:u.oversample},u=t(a,c)),r.set(a,u),!Ep(u)){o.next=9;break}return o.next=7,n(i,a,u.inputs[0]);case 7:o.next=11;break;case 9:return o.next=11,n(i,a,u);case 11:return o.abrupt("return",u);case 12:case"end":return o.stop()}}),o)})));return function(t,e){return o.apply(this,arguments)}}();return{render:function(t,e){var n=r.get(e);return void 0!==n?Promise.resolve(n):o(t,e)}}}}(ex,Ip,zw),px=function(t,e,n,r,o,i,a){return function(t){function u(t,e){var c;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u);var s=o(t),l=tw(tw({},uw),e),f=n(s,l);return(c=function(t,e,n){return e=iw(e),function(t,e){if(e&&("object"==Xb(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ow()?Reflect.construct(e,n||[],iw(t).constructor):e.apply(t,n))}(this,u,[t,!0,f,i(s)?r():null]))._isCurveNullified=!1,c._nativeWaveShaperNode=f,a(c,1),c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&aw(t,e)}(u,t),function(t,e){return e&&nw(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(u,[{key:"curve",get:function(){return this._isCurveNullified?null:this._nativeWaveShaperNode.curve},set:function(t){if(null===t)this._isCurveNullified=!0,this._nativeWaveShaperNode.curve=new Float32Array([0,0]);else{if(t.length<2)throw e();this._isCurveNullified=!1,this._nativeWaveShaperNode.curve=t}}},{key:"oversample",get:function(){return this._nativeWaveShaperNode.oversample},set:function(t){this._nativeWaveShaperNode.oversample=t}}])}(t)}(eA,Uv,ex,hx,Hw,$w,bA),dx=function(t){return null!==t&&t.isSecureContext}(Uw),yx=function(t){return function(e,n,r){Object.defineProperties(t,{currentFrame:{configurable:!0,get:function(){return Math.round(e*n)}},currentTime:{configurable:!0,get:function(){return e}}});try{return r()}finally{null!==t&&(delete t.currentFrame,delete t.currentTime)}}}(Uw),vx=new WeakMap,gx=function(t,e){return function(n){var r=t.get(n);if(void 0!==r)return r;if(null===e)throw new Error("Missing the native OfflineAudioContext constructor.");return r=new e(1,1,44100),t.set(n,r),r}}(vx,Vw),mx=dx?function(t,e,n,r,o,i,a,u,c,s,l,f,h){var p=0;return function(d,y){var v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{credentials:"omit"},g=l.get(d);if(void 0!==g&&g.has(y))return Promise.resolve();var m=s.get(d);if(void 0!==m){var b=m.get(y);if(void 0!==b)return b}var w=i(d),A=void 0===w.audioWorklet?o(y).then((function(t){var e=th(t,2),r=e[0],o=e[1],i=th(Jf(r,o),2),a=i[0],u=i[1],c="".concat(a,";((a,b)=>{(a[b]=a[b]||[]).push((AudioWorkletProcessor,global,registerProcessor,sampleRate,self,window)=>{").concat(u,"\n})})(window,'_AWGS')");return n(c)})).then((function(){var t=h._AWGS.pop();if(void 0===t)throw new SyntaxError;r(w.currentTime,w.sampleRate,(function(){return t(Xf((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)})),void 0,(function(t,n){if(""===t.trim())throw e();var r=Vf.get(w);if(void 0!==r){if(r.has(t))throw e();oh(n),rh(n.parameterDescriptors),r.set(t,n)}else oh(n),rh(n.parameterDescriptors),Vf.set(w,new Map([[t,n]]))}),w.sampleRate,void 0,void 0)}))})):Promise.all([o(y),Promise.resolve(t(f,f))]).then((function(t){var e=th(t,2),n=th(e[0],2),r=n[0],o=n[1],i=e[1],s=p+1;p=s;var l=th(Jf(r,o),2),f=l[0],h=l[1],d=i?"AudioWorkletProcessor":"class extends AudioWorkletProcessor {__b=new WeakSet();constructor(){super();(p=>p.postMessage=(q=>(m,t)=>q.call(p,m,t?t.filter(u=>!this.__b.has(u)):t))(p.postMessage))(this.port)}}",y=i?"":"__c = (a) => a.forEach(e=>this.__b.add(e.buffer));",g=i?"":"i.forEach(this.__c);o.forEach(this.__c);this.__c(Object.values(p));",m="".concat(f,";((AudioWorkletProcessor,registerProcessor)=>{").concat(h,"\n})(").concat(d,",(n,p)=>registerProcessor(n,class extends p{").concat(y,"process(i,o,p){").concat(g,"return super.process(i.map(j=>j.some(k=>k.length===0)?[]:j),o,p)}}));registerProcessor('__sac").concat(s,"',class extends AudioWorkletProcessor{process(){return !1}})"),b=new Blob([m],{type:"application/javascript; charset=utf-8"}),A=URL.createObjectURL(b);return w.audioWorklet.addModule(A,v).then((function(){if(u(w))return w;var t=a(w);return t.audioWorklet.addModule(A,v).then((function(){return t}))})).then((function(t){if(null===c)throw new SyntaxError;try{new c(t,"__sac".concat(s))}catch(t){throw new SyntaxError}})).finally((function(){return URL.revokeObjectURL(A)}))}));return void 0===m?s.set(d,new Map([[y,A]])):m.set(y,A),A.then((function(){var t=l.get(d);void 0===t?l.set(d,new Set([y])):t.add(y)})).finally((function(){var t=s.get(d);void 0!==t&&t.delete(y)})),A}}(Dw,Fm,function(t){return function(e){return new Promise((function(n,r){if(null!==t){var o=t.document.head;if(null===o)r(new SyntaxError);else{var i=t.document.createElement("script"),a=new Blob([e],{type:"application/javascript"}),u=URL.createObjectURL(a),c=t.onerror,s=function(){t.onerror=c,URL.revokeObjectURL(u)};t.onerror=function(e,n,o,i,a){return n===u||n===t.location.href&&1===o&&1===i?(s(),r(a),!1):null!==c?c(e,n,o,i,a):void 0},i.onerror=function(){s(),r(new SyntaxError)},i.onload=function(){s(),n()},i.src=u,i.type="module",o.appendChild(i)}}else r(new SyntaxError)}))}}(Uw),yx,function(){var t=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){kv(i,r,o,a,u,"next",t)}function u(t){kv(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Ov().mark((function t(e){var n;return Ov().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch(e);case 3:if(!(n=t.sent).ok){t.next=10;break}return t.next=7,n.text();case 7:return t.t0=t.sent,t.t1=n.url,t.abrupt("return",[t.t0,t.t1]);case 10:t.next=14;break;case 12:t.prev=12,t.t2=t.catch(0);case 14:throw new DOMException("","AbortError");case 15:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(e){return t.apply(this,arguments)}}(),Hw,gx,$w,tA,new WeakMap,new WeakMap,function(t,e){return Kb(qb().mark((function n(){var r,o,i,a,u,c,s;return qb().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null!==t){n.next=2;break}return n.abrupt("return",!0);case 2:if(null!==e){n.next=4;break}return n.abrupt("return",!1);case 4:return r=new Blob(['class A extends AudioWorkletProcessor{process(i){this.port.postMessage(i,[i[0][0].buffer])}}registerProcessor("a",A)'],{type:"application/javascript; charset=utf-8"}),o=new e(1,128,44100),i=URL.createObjectURL(r),a=!1,u=!1,n.prev=9,n.next=12,o.audioWorklet.addModule(i);case 12:return c=new t(o,"a",{numberOfOutputs:0}),s=o.createOscillator(),c.port.onmessage=function(){return a=!0},c.onprocessorerror=function(){return u=!0},s.connect(c),s.start(0),n.next=20,o.startRendering();case 20:return n.next=22,new Promise((function(t){return setTimeout(t)}));case 22:n.next=26;break;case 24:n.prev=24,n.t0=n.catch(9);case 26:return n.prev=26,URL.revokeObjectURL(i),n.finish(26);case 29:return n.abrupt("return",a&&!u);case 30:case"end":return n.stop()}}),n,null,[[9,24,26,29]])})))}(tA,Vw),Uw):void 0,bx=function(t,e){return function(n){return t(n)||e(n)}}(Kw,$w),wx=function(t,e,n,r,o,i,a,u,c,s,l){return function(n,r){var f=a(n)?n:i(n);if(o.has(r)){var h=new DOMException("","DataCloneError");return Promise.reject(h)}try{o.add(r)}catch(t){}return e(c,(function(){return c(f)}))?f.decodeAudioData(r).then((function(n){return Qy(r).catch((function(){})),e(u,(function(){return u(n)}))||l(n),t.add(n),n})):new Promise((function(e,n){var o=function(){var t=function(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){Hy(i,r,o,a,u,"next",t)}function u(t){Hy(i,r,o,a,u,"throw",t)}a(void 0)}))}}(Yy().mark((function t(){return Yy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Qy(r);case 3:t.next=7;break;case 5:t.prev=5,t.t0=t.catch(0);case 7:case"end":return t.stop()}}),t,null,[[0,5]])})));return function(){return t.apply(this,arguments)}}(),i=function(t){n(t),o()};try{f.decodeAudioData(r,(function(n){"function"!=typeof n.copyFromChannel&&(s(n),Th(n)),t.add(n),o().then((function(){return e(n)}))}),(function(t){i(null===t?new DOMException("","EncodingError"):t)}))}catch(t){i(t)}}))}}(rA,Dw,0,0,new WeakSet,Hw,bx,Ph,Fg,aA,uA),Ax=(function(t,e,n,r,o,i,a,u,c,s,l,f,h,p,d,y,v,g,m,b){}(mx,nA,cA,vA,wA,OA,_A,TA,RA,wx,BA,DA,GA,VA,qA,XA,ix,ux,fx,px),function(t,e,n,r){}(eA,0,Hw,$w),function(t,e,n,r){}(eA,0,Hw,$w),function(t,e,n,r){}(eA,0,Hw,$w),function(t,e){return function(n,r){var o=r.mediaStreamTrack;if("function"==typeof n.createMediaStreamTrackSource)return n.createMediaStreamTrackSource(o);var i=new MediaStream([o]),a=n.createMediaStreamSource(i);if("audio"!==o.kind)throw t();if(e(n))throw new TypeError;return a}}(Uv,$w)),xx=(function(t,e,n){}(eA,Ax,Hw),function(t){return function(e){var n=t.get(e);if(void 0===n)throw new Error("The context has no set of AudioWorkletNodes.");return n}}(WA)),Ex=(function(t){}(xx),function(t){return function(e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=e[arguments.length>2&&void 0!==arguments[2]?arguments[2]:0];if(void 0===o)throw t();return Np(n)?o.connect(n,0,r):o.connect(n,0)}}(Ih)),Sx=function(t){return function(e,n){t(e).delete(n)}}(xx),Ox=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return void 0===n?e.forEach((function(t){return t.disconnect()})):"number"==typeof n?uv(t,e,n).disconnect():Np(n)?void 0===r?e.forEach((function(t){return t.disconnect(n)})):void 0===o?uv(t,e,r).disconnect(n,0):uv(t,e,r).disconnect(n,0,o):void 0===r?e.forEach((function(t){return t.disconnect(n)})):uv(t,e,r).disconnect(n,0)}}(Ih),kx=new WeakMap,_x=function(t,e){return function(n){return e(t,n)}}(kx,ih),jx=function(t,e,n,r,o,i,a,u,c,s,l,f,h){return function(p,d,y,v){if(0===v.numberOfInputs&&0===v.numberOfOutputs)throw c();var g=Array.isArray(v.outputChannelCount)?v.outputChannelCount:Array.from(v.outputChannelCount);if(g.some((function(t){return t<1})))throw c();if(g.length!==v.numberOfOutputs)throw e();if("explicit"!==v.channelCountMode)throw c();var m=v.channelCount*v.numberOfInputs,b=g.reduce((function(t,e){return t+e}),0),w=void 0===y.parameterDescriptors?0:y.parameterDescriptors.length;if(m+w>6||b>6)throw c();for(var A=new MessageChannel,x=[],E=[],S=0;S<v.numberOfInputs;S+=1)x.push(a(p,{channelCount:v.channelCount,channelCountMode:v.channelCountMode,channelInterpretation:v.channelInterpretation,gain:1})),E.push(o(p,{channelCount:v.channelCount,channelCountMode:"explicit",channelInterpretation:"discrete",numberOfOutputs:v.channelCount}));var O=[];if(void 0!==y.parameterDescriptors){var k,_=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return im(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?im(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(y.parameterDescriptors);try{var j=function(){var t=k.value,e=t.defaultValue,n=t.maxValue,r=t.minValue,o=t.name,a=i(p,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",offset:void 0!==v.parameterData[o]?v.parameterData[o]:void 0===e?0:e});Object.defineProperties(a.offset,{defaultValue:{get:function(){return void 0===e?0:e}},maxValue:{get:function(){return void 0===n?Uh:n}},minValue:{get:function(){return void 0===r?Dh:r}}}),O.push(a)};for(_.s();!(k=_.n()).done;)j()}catch(t){_.e(t)}finally{_.f()}}for(var P=r(p,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"speakers",numberOfInputs:Math.max(1,m+w)}),I=qg(d,p.sampleRate),T=u(p,I,m+w,Math.max(1,b)),C=o(p,{channelCount:Math.max(1,b),channelCountMode:"explicit",channelInterpretation:"discrete",numberOfOutputs:Math.max(1,b)}),L=[],R=0;R<v.numberOfOutputs;R+=1)L.push(r(p,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"speakers",numberOfInputs:g[R]}));for(var M=0;M<v.numberOfInputs;M+=1){x[M].connect(E[M]);for(var B=0;B<v.channelCount;B+=1)E[M].connect(P,B,M*v.channelCount+B)}var F=new ud(void 0===y.parameterDescriptors?[]:y.parameterDescriptors.map((function(t,e){var n=t.name,r=O[e];return r.connect(P,0,m+e),r.start(0),[n,r.offset]})));P.connect(T);var N,D,U=v.channelInterpretation,G=null,Q=0===v.numberOfOutputs?[T]:L,z={get bufferSize(){return I},get channelCount(){return v.channelCount},set channelCount(t){throw n()},get channelCountMode(){return v.channelCountMode},set channelCountMode(t){throw n()},get channelInterpretation(){return U},set channelInterpretation(t){for(var e=0,n=x;e<n.length;e++)n[e].channelInterpretation=t;U=t},get context(){return T.context},get inputs(){return x},get numberOfInputs(){return v.numberOfInputs},get numberOfOutputs(){return v.numberOfOutputs},get onprocessorerror(){return G},set onprocessorerror(t){"function"==typeof G&&z.removeEventListener("processorerror",G),"function"==typeof(G="function"==typeof t?t:null)&&z.addEventListener("processorerror",G)},get parameters(){return F},get port(){return A.port2},addEventListener:function(){return T.addEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])},connect:t.bind(null,Q),disconnect:s.bind(null,Q),dispatchEvent:function(){return T.dispatchEvent(arguments.length<=0?void 0:arguments[0])},removeEventListener:function(){return T.removeEventListener(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2])}},Y=new Map;A.port1.addEventListener=(N=A.port1.addEventListener,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if("message"===e[0]){var r="function"==typeof e[1]?e[1]:"object"===om(e[1])&&null!==e[1]&&"function"==typeof e[1].handleEvent?e[1].handleEvent:null;if(null!==r){var o=Y.get(e[1]);void 0!==o?e[1]=o:(e[1]=function(t){l(p.currentTime,p.sampleRate,(function(){return r(t)}))},Y.set(r,e[1]))}}return N.call(A.port1,e[0],e[1],e[2])}),A.port1.removeEventListener=(D=A.port1.removeEventListener,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if("message"===e[0]){var r=Y.get(e[1]);void 0!==r&&(Y.delete(e[1]),e[1]=r)}return D.call(A.port1,e[0],e[1],e[2])});var H=null;Object.defineProperty(A.port1,"onmessage",{get:function(){return H},set:function(t){"function"==typeof H&&A.port1.removeEventListener("message",H),"function"==typeof(H="function"==typeof t?t:null)&&(A.port1.addEventListener("message",H),A.port1.start())}}),y.prototype.port=A.port1;var V=null,$=function(t,e,n,r){var o=$f.get(t);void 0===o&&(o=new WeakMap,$f.set(t,o));var i=tm(n,r);return o.set(e,i),i}(p,z,y,v);$.then((function(t){return V=t}));var W=ld(v.numberOfInputs,v.channelCount),q=ld(v.numberOfOutputs,g),J=void 0===y.parameterDescriptors?[]:y.parameterDescriptors.reduce((function(t,e){var n=e.name;return nm(nm({},t),{},rm({},n,new Float32Array(128)))}),{}),K=!0,X=function(){v.numberOfOutputs>0&&T.disconnect(C);for(var t=0,e=0;t<v.numberOfOutputs;t+=1){for(var n=L[t],r=0;r<g[t];r+=1)C.disconnect(n,e+r,r);e+=g[t]}},Z=new Map;T.onaudioprocess=function(t){var e=t.inputBuffer,n=t.outputBuffer;if(null!==V)for(var r=f(z),o=function(t){for(var o=0;o<v.numberOfInputs;o+=1)for(var i=0;i<v.channelCount;i+=1)cd(e,W[o],i,i,t);void 0!==y.parameterDescriptors&&y.parameterDescriptors.forEach((function(n,r){var o=n.name;cd(e,J,o,m+r,t)}));for(var a=0;a<v.numberOfInputs;a+=1)for(var u=0;u<g[a];u+=1)0===q[a][u].byteLength&&(q[a][u]=new Float32Array(128));try{var c=W.map((function(t,e){if(r[e].size>0)return Z.set(e,I/128),t;var n=Z.get(e);return void 0===n?[]:(t.every((function(t){return t.every((function(t){return 0===t}))}))&&(1===n?Z.delete(e):Z.set(e,n-1)),t)})),s=l(p.currentTime+t/p.sampleRate,p.sampleRate,(function(){return V.process(c,q,J)}));K=s;for(var f=0,h=0;f<v.numberOfOutputs;f+=1){for(var d=0;d<g[f];d+=1)sd(n,q[f],d,h+d,t);h+=g[f]}}catch(t){K=!1,z.dispatchEvent(new ErrorEvent("processorerror",{colno:t.colno,filename:t.filename,lineno:t.lineno,message:t.message}))}if(!K){for(var b=0;b<v.numberOfInputs;b+=1){x[b].disconnect(E[b]);for(var w=0;w<v.channelCount;w+=1)E[t].disconnect(P,w,b*v.channelCount+w)}if(void 0!==y.parameterDescriptors)for(var A=y.parameterDescriptors.length,S=0;S<A;S+=1){var k=O[S];k.disconnect(P,0,m+S),k.stop()}return P.disconnect(T),T.onaudioprocess=null,tt?X():rt(),1}},i=0;i<I&&!o(i);i+=128);};var tt=!1,et=a(p,{channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete",gain:0}),nt=function(){return T.connect(et).connect(p.destination)},rt=function(){T.disconnect(et),et.disconnect()};return nt(),h(z,(function(){if(K){rt(),v.numberOfOutputs>0&&T.connect(C);for(var t=0,e=0;t<v.numberOfOutputs;t+=1){for(var n=L[t],r=0;r<g[t];r+=1)C.connect(n,e+r,r);e+=g[t]}}tt=!0}),(function(){K&&(nt(),X()),tt=!1}))}}(Ex,Ih,Uv,EA,um,PA,ym,km,Fm,Ox,yx,_x,AA);function Px(t){return Px="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Px(t)}function Ix(){Ix=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Px(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Px(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var Tx=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},Cx=window.AudioContext||window.webkitAudioContext,Lx=null,Rx=null,Mx=function(t){return Tx(void 0,void 0,void 0,Ix().mark((function e(){var n,r;return Ix().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Wo.Ay.fetchLocalFile(t);case 2:if(n=e.sent){e.next=5;break}throw new Error("Cannot fetch: "+t);case 5:return e.next=7,n.arrayBuffer();case 7:return r=e.sent,e.next=10,wx(Lx,r);case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}}),e)})))};function Bx(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];"suspended"===Lx.state&&Lx.resume();var n=Lx.createBufferSource();n.buffer=t,n.loop=e,n.connect(Rx),Rx.connect(Lx.destination);try{n.start(),Lx.currentTime}catch(t){console.error("Error with start audio"+t,t.stack)}return n}function Fx(t){return Fx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fx(t)}function Nx(){Nx=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Fx(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Fx(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Dx(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Ux(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Gx(r.key),r)}}function Gx(t){var e=function(t){if("object"!=Fx(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Fx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Fx(e)?e:e+""}var Qx=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},zx=function(){return function(t,e){return e&&Ux(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.tracksBuffer={},this.tracks=[],this.allowBgMusicPlay=!0,this.allSrcLoaded=!1,this.playingSounds={},this.bgTrackSrc=null,this.bgPlaying=!1,this.firstSoundStarted=!1;try{var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Dx(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dx(t,e):void 0}}(t,e)||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.")}()}((n=function(){return Rx.gain.setValueAtTime(0,Lx.currentTime)},r=function(){Rx.gain.setValueAtTime(1,Lx.currentTime),"suspended"===Lx.state&&Lx.resume()},null!=Lx||(Lx=new Cx,Rx=Lx.createGain()),[n,r,Lx]),3);this.mute=e[0],this.unmute=e[1],this.ctx=e[2]}catch(t){console.error(t)}var n,r}),[{key:"init",value:function(t){var e=this,n=t.tracks,r=t.allowBgMusicPlay,o=void 0===r||r;this.tracks=n;var i=!1;return!0===Wo.Ay.gameLocalData.get("muted")&&(i=!0,this.mute&&this.mute()),this.$muted=Xi(i),this.toggleMuted=na(this.$muted,{toggleMuted:function(t){var n=!t;return n?e.mute&&e.mute():(e.unmute&&e.unmute(),e.checkDeviceOtherSoundSources(!0)),e.updateLocalDataMutedFlag(n),n}}).toggleMuted,this.allowBgMusicPlay=o,this}},{key:"updateLocalDataMutedFlag",value:function(t){Wo.Ay.gameLocalData.set("muted",t)}},{key:"loadAllResources",value:function(){return Qx(this,void 0,void 0,Nx().mark((function t(){var e,n=this;return Nx().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.allSrcLoaded){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,e=this.tracks.map((function(t){var e=t.name,n=t.path;return new Promise((function(t){var r;(r=n,Tx(void 0,void 0,void 0,Ix().mark((function t(){return Ix().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Mx(r);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))).then((function(n){return t({buffer:n,name:e})}))}))})),t.next=6,Promise.all(e);case 6:t.sent.forEach((function(t){var e=t.buffer,r=t.name;n.tracksBuffer[r]=e})),this.allSrcLoaded=!0,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(2),console.error(t.t0);case 13:case"end":return t.stop()}}),t,this,[[2,10]])})))}},{key:"play",value:function(t){var e=this;this.allSrcLoaded||Qx(e,void 0,void 0,Nx().mark((function t(){return Nx().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loadAllResources();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));var n=this.tracksBuffer[t];return new Promise((function(r,o){if(n){var i=Bx(n);e.checkDeviceOtherSoundSources(),e.playingSounds[t]=i,i.onended=function(){delete e.playingSounds[t],r()}}else r()}))}},{key:"stop",value:function(t){var e,n=null!==(e=this.playingSounds[t])&&void 0!==e?e:null;return null!==n&&(n.stop(0),!0)}},{key:"playBgSingle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Qx(this,void 0,void 0,Nx().mark((function n(){var r;return Nx().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(this.allowBgMusicPlay){n.next=2;break}return n.abrupt("return");case 2:if(this.allSrcLoaded){n.next=5;break}return n.next=5,this.loadAllResources();case 5:if(this.curBgTrack!==t||!this.bgPlaying||e){n.next=7;break}return n.abrupt("return");case 7:this.stopBgSingle(),this.curBgTrack=t,(r=this.tracksBuffer[t])&&(this.bgTrackSrc=Bx(r,!0),this.bgPlaying=!0,this.checkDeviceOtherSoundSources());case 11:case"end":return n.stop()}}),n,this)})))}},{key:"stopBgSingle",value:function(){if(null!==this.bgTrackSrc)try{this.bgPlaying=!1,this.bgTrackSrc.stop(0)}catch(t){console.error(t)}}},{key:"isBgPlaying",value:function(){return this.bgPlaying}},{key:"playLooped",value:function(t){this.allSrcLoaded||Qx(this,void 0,void 0,Nx().mark((function t(){return Nx().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.loadAllResources();case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)})));var e=this.tracksBuffer[t],n=null;return e&&(n=Bx(e,!0),this.checkDeviceOtherSoundSources()),function(){if(n)try{n.stop(0)}catch(t){console.error(t)}}}},{key:"isMuted",value:function(){return this.$muted?this.$muted.getState():null}},{key:"checkDeviceOtherSoundSources",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!this.firstSoundStarted&&(t||!this.isMuted())&&(this.firstSoundStarted=!0,Wo.Ay.isAndroid&&"pausePlaybackOtherApp"in window.Android&&e)&&window.Android.pausePlaybackOtherApp()}},{key:"pause",value:function(){this.ctx&&"running"===this.ctx.state&&this.ctx.suspend()}},{key:"resume",value:function(){this.ctx&&"suspended"===this.ctx.state&&this.ctx.resume()}},{key:"destructor",value:function(){if(null!==this.bgTrackSrc)try{this.bgTrackSrc.stop(0)}catch(t){console.error(t)}this.ctx&&this.ctx.close()}}])}(),Yx=new zx;function Hx(t){return Hx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hx(t)}function Vx(){Vx=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Hx(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Hx(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function $x(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Wx(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wx(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function Wx(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var qx,Jx,Kx=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},Xx=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},Zx={woff2:"woff2",woff:"woff",ttf:"truetype"},tE=(qx=0,function(t){return t.map((function(t){var e="Font".concat(++qx),n=t.map((function(t){var e=t.sources;return{descriptors:Xx(t,["sources"]),files:e.map((function(t){var e=t.split(".").pop(),n=function(){var t,e=null!==(t=Zx[arguments.length>0&&void 0!==arguments[0]?arguments[0]:""])&&void 0!==t?t:"";return""===e?e:'format("'.concat(e,'")')}(e);return{src:t,extension:e,format:n}}))}}));return{family:e,faces:n}}))}),eE=function(t){return t.map((function(t){return t.faces.map((function(e){var n,r,o,i={"font-family":t.family,src:e.files.map((function(t){var e=t.src,n=t.format;return"url(".concat(e,") ").concat(n)})).join(","),"font-style":null!==(n=e.descriptors.style)&&void 0!==n?n:"","font-weight":null!==(r=e.descriptors.weight)&&void 0!==r?r:""};return"@font-face {".concat((o=i,Object.keys(o).reduce((function(t,e){var n=o[e];return""===n?t:(e=e.split(/(?=[A-Z])/).join("-").toLowerCase(),t+"".concat(e,":").concat(n,";"))}),"")),"}\n")})).join("")})).join("")},nE=(Jx="",{appendCssFonts:function(t){Jx+=t},getCssFonts:function(){return Jx}}).appendCssFonts,rE=function(t){return Kx(void 0,void 0,void 0,Vx().mark((function e(){return Vx().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){var n,r=[],o=$x(t);try{for(o.s();!(n=o.n()).done;){var i,a=$x(n.value.faces);try{for(a.s();!(i=a.n()).done;){var u,c=$x(i.value.files);try{var s=function(){var t=u.value;r.push(new Promise((function(e){Wo.Ay.ResourceManager.getInstance().cacheResource({uri:t.src}).then((function(e){t.src=null!=e?e:t.src})).finally(e)})))};for(c.s();!(u=c.n()).done;)s()}catch(t){c.e(t)}finally{c.f()}}}catch(t){a.e(t)}finally{a.f()}}}catch(t){o.e(t)}finally{o.f()}Promise.all(r).then((function(){return e(t)}))})));case 1:case"end":return e.stop()}}),e)})))},oE=function(t){return Kx(void 0,void 0,void 0,Vx().mark((function e(){var n,r,o;return Vx().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=tE(t),e.next=3,rE(n);case 3:if(r=eE(n),nE(r),!("fonts"in document)){e.next=12;break}return o=[],n.forEach((function(t){t.faces.forEach((function(e){var n=new FontFace(t.family,e.files.map((function(t){var e=t.src,n=t.format;return"url(".concat(e,") ").concat(n)})).join(","),Object.assign({display:"block"},e.descriptors));document.fonts.add(n),o.push(n.load())}))})),e.next=10,Promise.all(o);case 10:e.next=13;break;case 12:iE(r);case 13:case"end":return e.stop()}}),e)})))},iE=function(t){var e="game-font-style",n=document.getElementById(e);null===n&&((n=document.createElement("style")).id=e,document.head.appendChild(n)),n.appendChild(document.createTextNode(t))},aE={$uiPaused:Xi(!1),$$uiPauseTriggered:Ji(),$$uiResumeTriggered:Ji(),$$uiBackTriggered:Ji(),$uiPauseTimer:sf({startTime:0,duration:0},{$$start:function(t){return Object.assign(Object.assign({},t),{startTime:mf.getNow()})},$$stop:function(t){return 0===t.startTime?t:(t.duration+=mf.getNow()-t.startTime,t.startTime=0,Object.assign({},t))}}),$blockUI:af(),$blockBackGesture:af(),$backGestureHandler:cf((function(){Fs()}))};function uE(t){return uE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uE(t)}function cE(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function sE(){sE=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==uE(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(uE(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function lE(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,fE(r.key),r)}}function fE(t){var e=function(t){if("object"!=uE(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=uE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==uE(e)?e:e+""}var hE=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},pE=function(){return function(t,e,n){return e&&lE(t.prototype,e),n&&lE(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.AppUIComponent=e,this.mounted=function(){return hE(n,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.onMountedLog(),t.next=3,this.init();case 3:return t.next=5,this.render();case 5:case"end":return t.stop()}}),t,this)})))},this.unmounted=function(){Wo.Ay.ResourceManager.getInstance().revokeCache(),Yx.destructor()},this.onPause=function(){aE.$$uiPauseTriggered()},this.onResume=function(){aE.$$uiResumeTriggered()},this.onBackGesture=function(){aE.$$uiBackTriggered()},this.onAudioFocusChange=function(){},this.onSdkCloseGameReaderIntent=function(){Wo.Ay.closeGameReader()},this.filterPlaceholders=function(t){return[]},this.gameShouldForeground=function(){Rf.$$appShouldForeground()},this.onRender=function(){Rf.$$fetchAppConfig({first:!0})}}),[{key:"run",value:function(){Wo.Ay.createSdkApi({mounted:this.mounted,beforeUnmount:this.unmounted,onPause:this.onPause,onResume:this.onResume,onBackGesture:this.onBackGesture,onAudioFocusChange:this.onAudioFocusChange,onSdkCloseGameReaderIntent:this.onSdkCloseGameReaderIntent,filterPlaceholders:this.filterPlaceholders,gameShouldForeground:this.gameShouldForeground})}},{key:"onMountedLog",value:function(){console.log("gameLaunchConfig: ",Wo.Ay.gameLaunchConfig),console.log("gameLocalData: ",Wo.Ay.gameLocalData),window.GameCenterApi=Wo.Ay}},{key:"init",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.initConfig();case 2:return t.next=4,this.initViewPort();case 4:return t.next=6,this.initTranslation();case 6:return t.next=8,this.initRegion();case 8:return t.next=10,this.initResources();case 10:return t.next=12,this.initAudio();case 12:return t.next=14,this.initFonts();case 14:return t.next=16,this.initMockRequests();case 16:return t.next=18,this.initRouter();case 18:return t.next=20,this.initOuterDependencies();case 20:case"end":return t.stop()}}),t,this)})))}},{key:"initConfig",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.initRequestConfig();case 2:case"end":return t.stop()}}),t,this)})))}},{key:"initRequestConfig",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e,n,r,o,i,a,u,c,s;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=Wo.Ay.gameLaunchConfig,n=e.clientConfig,r=n.sessionId,o=n.apiKey,i=n.apiBaseUrl,a=n.appPackageId,u=n.userAgent,c=n.userId,s=n.deviceId,of.$$updateConfig({apiRoot:"game/".concat(e.gameInstanceId,"/").concat(e.gameSlug),sessionId:r,apiKey:o,apiBaseUrl:i,appPackageId:a,userAgent:u,userId:c,deviceId:s});case 3:case"end":return t.stop()}}),t)})))}},{key:"initViewPort",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e,n,r;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e=Wo.Ay.gameLaunchConfig.clientConfig).fullScreen&&Rf.$sai.$$set(e.safeAreaInsets),n={width:0,height:0},r=function(){var t,e,r,o,i,a,u,c=document.documentElement,s=Rf.$sai.getState(),l={width:c.clientWidth,height:c.clientHeight-s.top};if(Wo.Ay.isWeb||n.width!==l.width&&n.height!==l.height){n.width=l.width,n.height=l.height;var f=(t=l.height,r=l.width/(e=ac.$theme.getState()).viewPort.size.width,o=t/e.viewPort.size.height,a=(i=e.fontSize.browserCtx)*r,u=i*o,Math.min(a,u));c.style.setProperty("font-size",f+"px"),vs.$$setViewPortMetrics(Object.assign({fontSize:f},l))}},window.onresize=function(){r()},r();case 6:case"end":return t.stop()}}),t)})))}},{key:"initTranslation",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=this,t.next=3,this.defineInitialLang();case 3:return t.t1=t.sent,t.next=6,t.t0.defineDefaultLang.call(t.t0,t.t1);case 6:return e=t.sent,t.next=9,this.initLocale(e);case 9:Rf.$$setLanguage(null!=e?e:"");case 10:case"end":return t.stop()}}),t,this)})))}},{key:"defineInitialLang",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return","ru-RU");case 1:case"end":return t.stop()}}),t)})))}},{key:"defineDefaultLang",value:function(t){var e;return hE(this,void 0,void 0,sE().mark((function n(){return sE().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",null!==(e=Wo.Ay.gameLocalData.get("lang"))&&void 0!==e?e:t);case 1:case"end":return n.stop()}}),n)})))}},{key:"initLocale",value:function(t){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:throw"Error: initLocale method must be implemented in derived class";case 1:case"end":return t.stop()}}),t)})))}},{key:"initRegion",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.defineRegion();case 2:e=t.sent,Rf.$region.$$set(e);case 4:case"end":return t.stop()}}),t,this)})))}},{key:"defineRegion",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return","ru");case 1:case"end":return t.stop()}}),t)})))}},{key:"initAudio",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e,n,r;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.defineAudioInitOpt();case 2:return e=t.sent,n=e.tracks,r=e.allowBgMusicPlay,Yx.init({tracks:n,allowBgMusicPlay:r}),t.next=8,Yx.loadAllResources();case 8:case"end":return t.stop()}}),t,this)})))}},{key:"defineAudioInitOpt",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{tracks:[],allowBgMusicPlay:!1});case 1:case"end":return t.stop()}}),t)})))}},{key:"initFonts",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.defineFontsResources();case 2:return e=t.sent,t.next=5,oE(e);case 5:case"end":return t.stop()}}),t,this)})))}},{key:"defineFontsResources",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:throw"Error: defineFontsResources method must be implemented in derived class";case 1:case"end":return t.stop()}}),t)})))}},{key:"initMockRequests",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,El.$$initFx();case 2:case"end":return t.stop()}}),t)})))}},{key:"initRouter",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:throw"Error: initRouter method must be implemented in derived class";case 1:case"end":return t.stop()}}),t)})))}},{key:"initResources",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.defineStaticResources();case 2:e=t.sent,Wo.Ay.ResourceManager.createInstance([Wo.Ay.dynamicResourceAssets,Wo.Ay.staticResourcesImagePlaceholders].concat(function(t){if(Array.isArray(t))return cE(t)}(n=e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return cE(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cE(t,e):void 0}}(n)||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.")}()));case 4:case"end":return t.stop()}var n}),t,this)})))}},{key:"defineStaticResources",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:throw"Error: defineStaticResources method must be implemented in derived class";case 1:case"end":return t.stop()}}),t)})))}},{key:"initOuterDependencies",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))}},{key:"render",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){var e;return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getRootHTMLElement();case 2:e=t.sent,Mf.createRoot(e).render(ot.createElement(this.AppUIComponent,{callback:this.onRender}));case 4:case"end":return t.stop()}}),t,this)})))}},{key:"getRootHTMLElement",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",document.getElementById("root"));case 1:case"end":return t.stop()}}),t)})))}},{key:"runDevMode",value:function(){}},{key:"getDevGameLaunchConfig",value:function(){}},{key:"getDefaultDevGameLaunchConfig",value:function(){}}],[{key:"cacheResources",value:function(){return hE(this,void 0,void 0,sE().mark((function t(){return sE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Wo.Ay.ResourceManager.getInstance().cacheAllResources();case 3:t.next=9;break;case 5:throw t.prev=5,t.t0=t.catch(0),this.onResourcesCacheFail(t.t0),t.t0;case 9:case"end":return t.stop()}}),t,this,[[0,5]])})))}},{key:"onResourcesCacheFail",value:function(t){var e="";"string"==typeof t&&(e=t),Wo.Ay.gameLoadFailedSdkCallback(e,!1)}}])}();function dE(t){return dE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dE(t)}function yE(){yE=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==dE(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(dE(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var vE,gE,mE=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))};!function(t){t[t.lose=-1]="lose",t[t.idle=0]="idle",t[t.win=1]="win"}(vE||(vE={})),function(t){t[t.default=0]="default",t[t.confirm=1]="confirm",t[t.alert=2]="alert",t[t.toast=3]="toast",t[t.error=4]="error",t[t.pure=5]="pure"}(gE||(gE={}));var bE,wE,AE,xE,EE,SE,OE,kE,_E,jE,PE,IE,TE,CE,LE,RE,ME,BE,FE,NE,DE,UE,GE=(bE=Ji(),wE=Ji(),AE=Ji(),xE=Ji(),EE=Ji(),SE=Ji(),OE=Ji(),kE=Ji(),_E=Ji(),jE=Ji(),PE=Ji(),IE=Ji(),TE=Ji(),CE=Ji(),LE=Ji(),RE=Ji(),ME=Ji(),BE=Ji(),FE=Ji(),NE=Xi([]),DE=sf({},{$$register:function(t,e){var n=e.slug,r=e.fn;return t[n]=r,t},$$show:function(t,e){return t}}),{$$showDialog:bE,$$showConfirm:wE,$$showAlert:AE,$$showToast:xE,$$hideToast:EE,$$showErrorDialog:SE,$$showPureDialog:OE,$$showPushDialog:kE,$$addDialog:_E,$$dialogAdded:jE,$$closeDialogById:PE,$$closeDialogBySlug:IE,$$closeAllDialogs:TE,$$closeDialogs:CE,$$removeDialogById:LE,$$removeDialogBySlug:RE,$$removeDialogs:ME,$$updateDialogState:BE,$$cancelDialog:FE,$dialogs:NE,$registeredDialogs:DE,getTopDialog:function(t){for(var e,n,r=t.length-1,o=null!==(e=t[r])&&void 0!==e?e:null;o;){if(!0===o.ignoreTopStack);else if(!0===o.show)return o;o=null!==(n=t[--r])&&void 0!==n?n:null}return o}}),QE=[],zE=[[{sources:[__webpack_require__.p+"3333a55c4289b6796612.ttf"]},{sources:[__webpack_require__.p+"3473535b7a6bbefd1c75.ttf"],weight:"bold"}]],YE=1e3,HE=Object.assign({},{lang_ru:"Русский",time:"{{val, datetime}}",period:"{{period, fPeriod}}",Number:"{{value, number}}"}),VE={ru:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},HE),{lang:"ru",confirm_exit_title:"Вы уверены, что хотите покинуть игру?",confirm_exit_message:"Вы уверены, что хотите покинуть игру?",confirm_exit_acceptText:"Да",confirm_exit_cancelText:"Остаться",confirm_game_end_title:"Закончить игру",confirm_game_end:"Вы уверены, что хотите завершить игру?",confirm_game_end_acceptText:"Выйти",confirm_game_end_cancelText:"Назад",confirm_text:"Вы точно уверены?",confirm_accept:"Да",confirm_cancel:"Нет",alert_default:"Ошибка!",error_message:"Что-то пошло не так",error_info:"",error_failedEnter:"Не удалось войти в⎵игру",error_home:"На главную",error_repeat:"Попробовать ещё",error_exit:"Выйти"}),{loading:"Загрузка...",rulesBtn:"ПРАВИЛА ИГРЫ",playBtn:"ИГРАТЬ",playMoves:"Ходы",playTime:"Время",playAttempts:"Попытки",playPreview:"Запомни",gameOver:"Игра завершилась",noAttempts:"У вас нет попыток.",nextAttemptPeriod:"Бесплатная попытка будет через⎵",getAttempts:"Получить попытки",desc_timer:"Успейте собрать картинку в ограниченное время",desc_moves:"Соберите картинку за меньшее количество ходов",header_text:"Панда есть большой хомяк",sharing_text:"Смотрите, у t2 есть адвент-календарь, а в нем спрятана Панда, которая раздает ГБ. Пойдем играть со мной — натапаем запас ГБ вместе.",player:"Игрок"}),{mainTitle:"Это Гигапанда",mainContent:"<text>Сегодня она раздает гигабайты↴ — успейте натапать свой.↴ За следующим появлением↴ Гигапанды следите на экранах↴ игры.</text>"}),{faqTitle:"Ответы на ваши вопросы",rulesTitle:"Правила игры",rulesFull:"ПОДРОБНЫЕ УСЛОВИЯ"}),{gameWinTitle:"Ура, вы успели↴ и выиграли 1 ГБ! Следите↴ в адвент-календаре,↴ когда снова появится↴ Гигапанда",gameWinTellFriends:"РАССКАЗАТЬ ДРУЗЬЯМ"}),{gameLoseTitle:"Упс, не успели. Ничего↴ страшного. Следите↴ в адвент-календаре,↴ когда снова появится↴ Гигапанда"}),{gameUnavailableTitle:"Ой, Панда спит!↴ Зайдите в игру↴ позднее"}),{tariffUnavailableTitle:"<text>Ой, игра недоступна↴ для вашего тарифа.↴ Обновите его, если↴ хотите сыграть↴ с Пандой</text>",tariffUnavailableImprove:"ОБНОВИТЬ ТАРИФ"}),{gameEndTitle:"Панда ушла на отдых,↴ успев раздать игрокам↴ все ГБ. Спасибо↴ за вашу активность!",gameEndExitBtn:"БЫЛО ВЕСЕЛО"}),{gameErrorTitle:"Кажется, что-то пошло не так, Зайдите в игру позднее"}),{countdownTitle:"До старта осталось"})},$E=Object.keys(VE),WE=(UE={},$E.forEach((function(t){UE[t]={translation:VE[t]}})),UE);function qE(t){return qE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qE(t)}function JE(){JE=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==qE(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(qE(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var KE,XE=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).lang;return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,JE().mark((function e(){var n;return JE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=null!=t?t:"en",e.next=3,Kn({supportedLngs:$E,lng:n,resources:WE});case 3:case"end":return e.stop()}}),e)})))},ZE={main:{path:"/",getLayoutConfig:function(){return{}}},appLoading:{path:"/appLoading",getLayoutConfig:function(){return{}}},error:{path:"/error",getLayoutConfig:function(){return{}}},story:{path:"/story",getLayoutConfig:function(){return{}}}},tS=function(){var t,e={};for(t in ZE)e[ZE[t].path]=ZE[t];return function(t){var n;return null!==(n=e[t])&&void 0!==n?n:{path:""}}}(),eS=ZE.appLoading,nS=ZE.main,rS=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=xe.apply(void 0,[t].concat(n)),i="sc-global-"+_e(JSON.stringify(o)),a=new Ne(o,i);function u(t){var e=le(),n=fe(),r=(0,ot.useContext)(Le),o=(0,ot.useRef)(e.allocateGSInstance(i)).current;return e.server&&c(o,t,e,r,n),(0,ot.useLayoutEffect)((function(){if(!e.server)return c(o,t,e,r,n),function(){return a.removeStyles(o,e)}}),[o,t,e,r,n]),null}function c(t,e,n,r,o){if(a.isStatic)a.renderStyles(t,jt,n,o);else{var i=gt({},e,{theme:Ee(e,r,u.defaultProps)});a.renderStyles(t,i,n,o)}}return ot.memo(u)}(KE||(KE=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n ","\n\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n outline: none;\n\n font-family: inherit;\n\n user-select: none;\n -webkit-user-select: none;\n -webkit-touch-callout: none;\n -webkit-user-drag: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n }\n\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n html, body, #root {\n height: 100%;\n width: 100%;\n overflow: hidden;\n }\n\n html, body {\n position: fixed;\n }\n\n html {\n transform: translateZ(0);\n }\n\n body {\n font-family: ",", Font1, sans-serif;\n font-size: ",";\n\n color: ",";\n }\n\n input, textarea, [contenteditable] {\n user-select: text;\n }\n\n a {\n text-decoration: none;\n }\n\n li {\n list-style-type: none;\n }\n\n table {\n margin: 0;\n }\n\n ::-webkit-scrollbar {\n display: none;\n }\n"])),(function(t){return t.fonts.fontsCss}),(function(t){return t.fonts.primaryFontFamily}),pc(22),(function(t){return t.theme.colors.textPrimary})),oS=function(){var t=Wo.Ay.getProjectFontFamilyStylesheet();return ot.createElement(rS,{fonts:t})};function iS(t,e){return iS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},iS(t,e)}function aS(t){return aS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},aS(t)}function uS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(uS=function(){return!!t})()}function cS(t){var e="function"==typeof Map?new Map:void 0;return cS=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(uS())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&iS(o,n.prototype),o}(t,arguments,aS(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),iS(n,t)},cS(t)}function sS(t){return sS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sS(t)}var lS=function(t){function e(e){return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+e+" for more information.")||this)}return function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,iS(t,e)}(e,t),e}(cS(Error));function fS(t){return Math.round(255*t)}function hS(t,e,n){return fS(t)+","+fS(e)+","+fS(n)}function pS(t,e,n,r){if(void 0===r&&(r=hS),0===e)return r(n,n,n);var o=(t%360+360)%360/60,i=(1-Math.abs(2*n-1))*e,a=i*(1-Math.abs(o%2-1)),u=0,c=0,s=0;o>=0&&o<1?(u=i,c=a):o>=1&&o<2?(u=a,c=i):o>=2&&o<3?(c=i,s=a):o>=3&&o<4?(c=a,s=i):o>=4&&o<5?(u=a,s=i):o>=5&&o<6&&(u=i,s=a);var l=n-i/2;return r(u+l,c+l,s+l)}var dS={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},yS=/^#[a-fA-F0-9]{6}$/,vS=/^#[a-fA-F0-9]{8}$/,gS=/^#[a-fA-F0-9]{3}$/,mS=/^#[a-fA-F0-9]{4}$/,bS=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,wS=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,AS=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,xS=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;var ES=function(t){return 7===t.length&&t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]?"#"+t[1]+t[3]+t[5]:t};function SS(t){var e=t.toString(16);return 1===e.length?"0"+e:e}function OS(t,e,n){if("number"==typeof t&&"number"==typeof e&&"number"==typeof n)return ES("#"+SS(t)+SS(e)+SS(n));if("object"===sS(t)&&void 0===e&&void 0===n)return ES("#"+SS(t.red)+SS(t.green)+SS(t.blue));throw new lS(6)}function kS(t,e,n,r){if("string"==typeof t&&"number"==typeof e){var o=function(t){if("string"!=typeof t)throw new lS(3);var e=function(t){if("string"!=typeof t)return t;var e=t.toLowerCase();return dS[e]?"#"+dS[e]:t}(t);if(e.match(yS))return{red:parseInt(""+e[1]+e[2],16),green:parseInt(""+e[3]+e[4],16),blue:parseInt(""+e[5]+e[6],16)};if(e.match(vS)){var n=parseFloat((parseInt(""+e[7]+e[8],16)/255).toFixed(2));return{red:parseInt(""+e[1]+e[2],16),green:parseInt(""+e[3]+e[4],16),blue:parseInt(""+e[5]+e[6],16),alpha:n}}if(e.match(gS))return{red:parseInt(""+e[1]+e[1],16),green:parseInt(""+e[2]+e[2],16),blue:parseInt(""+e[3]+e[3],16)};if(e.match(mS)){var r=parseFloat((parseInt(""+e[4]+e[4],16)/255).toFixed(2));return{red:parseInt(""+e[1]+e[1],16),green:parseInt(""+e[2]+e[2],16),blue:parseInt(""+e[3]+e[3],16),alpha:r}}var o=bS.exec(e);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=wS.exec(e.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=AS.exec(e);if(a){var u="rgb("+pS(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",c=bS.exec(u);if(!c)throw new lS(4,e,u);return{red:parseInt(""+c[1],10),green:parseInt(""+c[2],10),blue:parseInt(""+c[3],10)}}var s=xS.exec(e.substring(0,50));if(s){var l="rgb("+pS(parseInt(""+s[1],10),parseInt(""+s[2],10)/100,parseInt(""+s[3],10)/100)+")",f=bS.exec(l);if(!f)throw new lS(4,e,l);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10),alpha:parseFloat(""+s[4])>1?parseFloat(""+s[4])/100:parseFloat(""+s[4])}}throw new lS(5)}(t);return"rgba("+o.red+","+o.green+","+o.blue+","+e+")"}if("number"==typeof t&&"number"==typeof e&&"number"==typeof n&&"number"==typeof r)return r>=1?OS(t,e,n):"rgba("+t+","+e+","+n+","+r+")";if("object"===sS(t)&&void 0===e&&void 0===n&&void 0===r)return t.alpha>=1?OS(t.red,t.green,t.blue):"rgba("+t.red+","+t.green+","+t.blue+","+t.alpha+")";throw new lS(7)}var _S,jS,PS,IS,TS,CS,LS,RS,MS,BS=function(t){return{accent:sr(t.accent),background:sr(t.background),backgroundSecondary:sr(t.background),icons:sr(t.icons),text:sr(t.text)}},FS={accent:"#FF7BAC",background:"#FFFFFF",backgroundSecondary:"#E9E9E9",icons:"#FF7BAC",text:"#000000",buttonBorderRadius:12},NS=Object.assign(Object.assign({},FS),{contrastText:BS(FS)}),DS=Object.assign(Object.assign({},Ci.colors),{bgPrimary:"#0D0D0D",bgDialog:"#FFFFFF",bgToast:"#000000",bgFrame:"#06070F",bgError:kS("#0D0D0D",.75),bgPrize:"#3A3A3A",textPrimary:"#212121",textSecondary:"#FFFFFF",textDialog:"#212121",textFrameBase:"#212121",button:{primary:{bg:"#FFF3DA",text:"#F13E33",pressed:{bg:"",text:""}},secondary:{bg:"#DBE8FB",text:"#4C8BEA",pressed:{bg:"",text:""}},tertiary:{bg:"#F8E800",text:"#212121",pressed:{bg:"",text:""}},danger:{bg:"#FBCAC7",text:"#F13E33",pressed:{bg:"",text:""}}},fillPrimary:"#1B1C1D",fillSecondaryAlpha:"#31313599",accent:"#05C1F5",border:"#23E3E8",transparent:"transparent",error:"#f46666",overlay:"#1B1D1E",white:"#fff",black:"#000",angular:"#23E3E8",green:"#00E1BB",blue:"#3D3BFF",pink1:"#FFC8C6",pink2:"#FCACA9",red:"#F29591",greenDark:"#0E5456"}),US=Object.assign(Object.assign(Object.assign({},Ci.rColors),DS),{text:"#FFF"}),GS=Object.assign(Object.assign(Object.assign({},Ci),{colors:DS,rColors:US}),{scheme:NS}),QS=Object.assign({skin:Ai.light},Object.assign({},GS)),zS=(Object.assign({skin:Ai.dark},Object.assign(Object.assign({},GS),{colors:Object.assign(Object.assign({},GS.colors),{bg:"#111111"})})),QS),YS=Object.assign(Object.assign({},ac),function(t){var e=t.theme;return e=or(e),ac.$theme.defaultState=e,ac.$$resetTheme(),{$theme:ac.$theme,$$setSchemeAppearance:ac.$$setSchemeAppearance}}({theme:zS})),HS=function(t){var e=t.children,n=tl(YS.$theme);return ot.createElement(he,{disableVendorPrefixes:!1,disableCSSOMInjection:!1},ot.createElement(Re,{theme:n},ot.createElement(oS,null),e))},VS=((jS=(_S=cf({})).map((function(t){var e=t.contentToBg,n=void 0===e||e,r=t.showHeader,o=void 0===r||r,i=t.showFooter,a=void 0!==i&&i,u=t.footerContent,c=void 0===u?null:u,s=t.showBtnClose,l=void 0===s||s,f=t.showBtnBack,h=void 0===f?!l:f,p=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["contentToBg","showHeader","showFooter","footerContent","showBtnClose","showBtnBack"]);return Object.assign({contentToBg:n,showHeader:o,showFooter:a,footerContent:c,showBtnBack:h,showBtnClose:l},p)}))).$$set=_S.$$set,jS.$$reset=_S.$$reset,{$layout:jS,$$layoutConfigured:Ji()});function $S(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}De(PS||(PS=$S(["\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n"])));var WS,qS,JS,KS,XS,ZS,tO,eO,nO,rO,oO,iO,aO,uO,cO,sO,lO,fO,hO,pO,dO,yO,vO,gO,mO,bO,wO=De(IS||(IS=$S(["\n to { background-position: -150%; }\n"]))),AO=xe(TS||(TS=$S(["\n border-color: transparent;\n color: transparent;\n text-shadow: none;\n box-shadow: none;\n pointer-events: none;\n cursor: progress;\n\n > *,\n :before,\n :after {\n visibility: hidden;\n pointer-events: none;\n }\n\n"]))),xO=xe(CS||(CS=$S(["\n background: linear-gradient(90deg, #ccca 40%, #fffa, #ccca 60%) -50%/300% 100%;\n\n animation: "," 1s linear infinite;\n\n ","\n"])),wO,AO),EO=xe(LS||(LS=$S(["\n &&&&& {\n ","\n }\n"])),xO);function SO(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}De(RS||(RS=$S(["\n from { opacity: 0; }\n to { opacity: 1; }\n"]))),De(MS||(MS=$S(["\n from { opacity: 1; }\n to { opacity: 0; }\n"]))),function(t){t.solid="solid",t.image="image",t.link="link",t.round="round"}(WS||(WS={})),function(t){t.primary="primary",t.secondary="secondary",t.danger="danger"}(qS||(qS={})),function(t){t.mini="mini",t.small="small",t.big="big",t.autoW="autoW",t.auto="auto",t.default="default"}(JS||(JS={}));var OO,kO,_O,jO,PO=(OO=xe(KS||(KS=SO(['\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n border-radius: inherit;\n\n opacity: 0;\n\n background-color: black;\n\n transition-property: opacity;\n transition-duration: inherit;\n ']))),kO=De(XS||(XS=SO(["\n 0% { opacity: 1; }\n 100% { opacity: 0; }\n "]))),_O=De(ZS||(ZS=SO(["\n 0% { opacity: 0.99999999; }\n 100% { opacity: 0; }\n "]))),jO=xe(tO||(tO=SO(["\n position: absolute;\n top: 0;\n left: 0;\n z-index: 2;\n\n width: 100%;\n height: 100%;\n\n opacity: 0;\n\n ","\n "])),(function(t){var e=t.theme,n=t.updater,r=t.duration,o=void 0===r?e.durations.slow:r;return n>0?xe(eO||(eO=SO(["\n animation-name: ",";\n animation-iteration-count: 1;\n animation-duration: ","ms;\n "])),n%2?kO:_O,o):null})),{buttonPressOverlay:OO,pressed:jO}),IO={mini:xe(nO||(nO=SO(["\n width: ",";\n height: ",";\n\n box-shadow: 0 0 "," 0 rgba(0, 0, 0, 0.25);\n "])),hc(50),hc(50),hc(9)),small:xe(rO||(rO=SO(["\n width: ",";\n height: ",";\n "])),hc(150),hc(60)),big:xe(oO||(oO=SO(["\n width: ",";\n height: ",";\n border-radius: ",";\n font-size: ",";\n font-weight: bold;\n "])),hc(360),hc(60),hc(30),pc(44)),autoW:xe(iO||(iO=SO(["\n width: auto;\n height: ",";\n "])),hc(60)),auto:xe(aO||(aO=SO(["\n width: auto;\n height: auto;\n "]))),default:xe(uO||(uO=SO(["\n width: ",";\n height: ",";\n "])),hc(264),hc(60))},TO=Ue.button.withConfig({shouldForwardProp:function(t,e){return-1===["margin"].indexOf(t)&&e(t)}}).attrs((function(t){return{as:t.useTag}}))(cO||(cO=SO(["\n display: inline-flex;\n align-items: center;\n justify-content: center;\n\n font-size: ",";\n letter-spacing: ",";\n\n border: 0;\n\n user-select: none;\n white-space: nowrap;\n cursor: pointer;\n\n :active {\n transform: scale(0.96);\n }\n\n ","\n\n > * {\n flex-shrink: 0;\n }\n\n ","\n"])),pc(16),"".concat(.0025,"em"),(function(t){var e=t.theme,n=t.variant,r=t.position,o=void 0===r?n===WS.link?"static":"relative":r,i=t.top,a=void 0===i?"":i,u=t.left,c=void 0===u?"":u,s=t.right,l=void 0===s?"":s,f=t.bottom,h=void 0===f?"":f,p=t.zIndex,d=void 0===p?"":p,y=(void 0===t.color&&qS.primary,t.bgColor),v=t.txtColor,g=t.fontSize,m=void 0===g?n===WS.link?"inherit":22:g,b=t.size,w=t.width,A=void 0===w?"":w,x=t.height,E=void 0===x?"":x,S=t.margin,O=t.disabled,k=t.skeleton,_=t.transformOrigin,j=[xe(sO||(sO=SO(["\n position: ",";\n top: ",";\n left: ",";\n right: ",";\n bottom: ",";\n z-index: ",";\n\n margin: ",";\n\n font-size: ",";\n\n transform-origin: ",";\n\n ","\n "])),o,hc(a),hc(c),hc(l),hc(h),d,S?S.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "):"",pc(m),_,fc(e.durations.fast,["transform","opacity"]))];switch(O&&j.push(xe(lO||(lO=SO(["\n transform: none !important;\n cursor: not-allowed;\n\n filter: brightness(0.5);\n "])))),k&&j.push(xe(fO||(fO=SO(["\n filter: none;\n\n ","\n "])),EO)),n){case WS.solid:j.push(xe(hO||(hO=SO(["\n font-size: ",";\n font-weight: 600;\n border-radius: ",";\n font-family: Font1;\n /* "," */\n \n width: ",";\n height: ",";\n /* height: ","; */\n\n padding: ",";\n\n color: ",";\n\n background-color: ",";\n\n transition-property: transform, opacity, color, background-color;\n\n \n background-color: white;\n color: black;\n\n :before {\n ","\n }\n "])),pc(24),hc(e.scheme.buttonBorderRadius),IO[b],hc(435),hc(71),hc(E),hc(21),null!=v?v:e.scheme.contrastText.accent,null!=y?y:e.scheme.accent,PO.buttonPressOverlay)),!1===O&&j.push(xe(pO||(pO=SO(["\n :active {\n :before {\n opacity: 0.2;\n }\n }\n "]))));break;case WS.image:j.push(xe(dO||(dO=SO(["\n width: ",";\n height: ",";\n\n background-color: transparent;\n "])),hc(A),hc(E)));break;case WS.link:var P=null!=v?v:e.colors.textPrimary;j.push(xe(yO||(yO=SO(["\n font-size: ",";\n font-weight: 600;\n /* "," */\n font-family: Font1;\n width: ",";\n height: ",";\n /* height: ","; */\n \n //text-decoration: underline;\n background-color: transparent;\n\n color: ",";\n\n padding: ",";\n border-radius: ",";\n background-color: transparent;\n color: white;\n\n /* :hover {\n text-decoration: none;\n } */\n "])),pc(24),IO[b],hc(A),hc(85),hc(E),P,hc(21),hc(40)));break;case WS.round:j.push(xe(vO||(vO=SO(["\n width: ",";\n height: ",";\n\n border-radius: 100%;\n\n box-shadow: 0 0 "," 0 rgba(0, 0, 0, 0.25);\n\n color: ",";\n\n background-color: ",";\n\n transition-property: transform, opacity, color, background-color;\n\n :before {\n ","\n }\n "])),hc(""===A?50:A),hc(""===E?50:E),hc(9),(function(t){return t.theme.scheme.contrastText.background}),(function(t){return t.theme.scheme.background}),PO.buttonPressOverlay)),!1===O&&j.push(xe(gO||(gO=SO(["\n :active {\n :before {\n opacity: 0.2;\n }\n }\n "]))))}return j}),(function(t){return t.css})),CO=Ue.div.withConfig({displayName:"ButtonLight",componentId:"-1k2iyga"})(mO||(mO=SO(["\n ","\n\n\n display: inherit;\n justify-content: inherit;\n align-items: inherit;\n\n top: ",";\n left: ",";\n\n width: inherit;\n height: inherit;\n\n padding: inherit;\n\n border-width: inherit;\n border-style: inherit;\n border-radius: inherit;\n\n\n ","\n"])),PO.pressed,hc(-2),hc(-2),(function(t){var e=t.theme;return xe(bO||(bO=SO(["\n color: ",";\n background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), ",';\n\n :before,\n :after {\n content: "";\n\n position: inherit;\n top: ',";\n left: ",";\n z-index: -1;\n\n width: inherit;\n height: inherit;\n\n border-radius: inherit;\n }\n\n :before {\n top: ",";\n\n background: inherit;\n }\n :after {\n background: radial-gradient(55.90% 68.13% at 50.00% 50.00%, #FFF 35.47%, rgba(255, 255, 255, 0.00) 100%), ",";\n }\n "])),e.scheme.accent,e.scheme.accent,hc(-1),hc(-1),hc(1),e.scheme.accent)}));function LO(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return RO(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?RO(t,e):void 0}}(t,e)||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 RO(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var MO,BO=ot.forwardRef((function(t,e){var n=t.children,r=t.onClick,o=t.onMouseDown,i=t.routing,a=t.timeout,u=void 0===a?75:a,c=t.blockClickTimeout,s=void 0===c?u+10:c,l=t.variant,f=void 0===l?WS.solid:l,h=t.width,p=void 0===h?"":h,d=t.height,y=void 0===d?"":d,v=t.size,g=void 0===v?f===WS.image?JS.auto:JS.default:v,m=t.fontSize,b=t.color,w=void 0===b?qS.primary:b,A=t.bgColor,x=t.txtColor,E=t.className,S=t.style,O=t.skeleton,k=void 0!==O&&O,_=t.disabled,j=t.css,P=void 0===j?null:j,I=t.transformOrigin,T=t.margin,C=t.useTag,L=t.useClickLight,R=void 0!==L&&L,M=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["children","onClick","onMouseDown","routing","timeout","blockClickTimeout","variant","width","height","size","fontSize","color","bgColor","txtColor","className","style","skeleton","disabled","css","transformOrigin","margin","useTag","useClickLight"]),B=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).resetTimeout,e=void 0===t?0:t,n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xn(t,e):void 0}}(t,e)||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.")}()}((0,ot.useState)(0),2),r=n[0],o=n[1];return(0,ot.useEffect)((function(){if(!(e<=0)){var t=setTimeout((function(){return o(0)}),e);return function(){clearTimeout(t)}}}),[r]),[r,function(){return o((function(t){return t+1}))}]}({resetTimeout:1e3}),F=LO(B,2),N=F[0],D=F[1],U=LO((0,ot.useState)(!1),2),G=U[0],Q=U[1];(0,ot.useEffect)((function(){var t=setTimeout((function(){return Q(!1)}),s);return function(){clearTimeout(t)}}),[G]);var z={onClick:function(t){if(!_&&(D(),t.preventDefault(),!G))if(i){if(u?r&&(Q(!0),setTimeout((function(){return r(t)}),u)):r&&r(t),ms({path:i.path,params:i.params}))return;u?(Q(!0),setTimeout((function(){return Bs(i)}),u)):Bs(i)}else u?r&&(Q(!0),setTimeout((function(){return r(t)}),u)):r&&r(t)},onMouseDown:o,className:E,style:S,skeleton:k,disabled:_=null!=_?_:!!k,variant:f,size:g,width:p,height:y,color:w,bgColor:A,txtColor:x,fontSize:m,css:P,margin:T,transformOrigin:I,useTag:C};return ot.createElement(TO,Object.assign({},z,M,{ref:e}),n,f===FO.variant.solid&&R&&ot.createElement(CO,{updater:N},n))})),FO=BO;FO.variant=WS,FO.size=JS,FO.color=qS,FO.Wrp=TO;var NO;Ue((function(t){var e=t.backHandler,n=void 0===e?function(){return Fs()}:e,r=t.color,o=void 0===r?FO.color.secondary:r,i=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["backHandler","color"]);return ot.createElement(FO,Object.assign({color:o,onClick:function(){n()}},i))})).attrs({variant:FO.variant.round}).withConfig({displayName:"BackButton",componentId:"-16gmazr"})(MO||(MO=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}([""])));var DO,UO,GO=Ue((function(t){var e=t.closeMessage,n=t.closeHandler,r=void 0===n?function(){return $j.$$closeApp(e)}:n,o=t.color,i=void 0===o?FO.color.secondary:o,a=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["closeMessage","closeHandler","color"]);return ot.createElement(FO,Object.assign({color:i,onClick:function(){r()}},a),ot.createElement(ys.BtnClose,null))})).attrs({variant:FO.variant.image}).withConfig({displayName:"CloseButton",componentId:"-1kxdvv6"})(NO||(NO=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}([""])));function QO(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var zO,YO,HO=function(){return ot.createElement(ot.Fragment,null)};function VO(t){return VO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},VO(t)}function $O(){$O=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==VO(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(VO(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function WO(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qO(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qO(t,e):void 0}}(t,e)||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 qO(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}Ue(FO).attrs({variant:FO.variant.image,disableSoundFx:!0,onClick:function(){return GE.$$showPureDialog({slug:"devMenu",content:ot.createElement(HO,null),styles:{modal:xe(UO||(UO=QO(["justify-content: flex-end;"])))}})}}).withConfig({displayName:"DevMenuButton",componentId:"-way63u"})(DO||(DO=QO(["\n position: absolute;\n bottom: ",";\n right: ",";\n z-index: 1000000000;\n\n width: ",";\n height: ",";\n\n box-sizing: content-box;\n\n border-radius: ",";\n padding: ",";\n\n background-color: #e91e63;\n\n background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAVCAYAAAC33pUlAAAACXBIWXMAABCcAAAQnAEmzTo0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAySURBVHgB7dPBDQAwDMJA2snZnDY7RFEePgk2sJI4M3zqNeT+WTMsYA+ibmABexB1Az9BFE7P32BFhgAAAABJRU5ErkJggg==');\n background-size: "," ",";\n background-position: center;\n background-repeat: no-repeat;\n "])),hc(430),hc(5),hc(40),hc(40),hc(40),hc(8),hc(32),hc(24)),Ue(FO).attrs({children:"Fullscreen",size:FO.size.autoW,color:FO.color.secondary,onClick:function(){document.fullscreenElement?document.exitFullscreen&&document.exitFullscreen():document.documentElement.requestFullscreen()}}).withConfig({displayName:"FullScreenButton",componentId:"-2i50cb"})(zO||(zO=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n position: absolute;\n top: ",";\n\n height: ",";\n\n margin: auto;\n"])),hc(16),hc(40)),Ue(FO).attrs({variant:FO.variant.image,disableSoundFx:!0,onClick:function(){return aE.$$uiBackTriggered()}}).withConfig({displayName:"SystemBackButton",componentId:"-ow59v7"})(YO||(YO=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n position: absolute;\n top: ",";\n right: ",";\n z-index: 1000000000;\n\n width: ",";\n height: ",";\n\n box-sizing: content-box;\n\n border-radius: ",";\n padding: ",";\n\n background-color: #e91e63;\n\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADFSURBVHgB7ZfvCcJADMVfnMARbhUn0A1cQScQN9ENdAK7gW7QuoEbxBzc6ZfSltA0X/KDcAQO3rs/JISggJnXsuxLeieiDksh4kmi5T9tMeQiXjlAyWrqxiwuy0MiYWkGTl6fIMGKEA/xELcWpyqO4SJzkXhjXl7SQ27EnhUOOOZSvHMSz5wm9wIr8hPkVvqEzy2cPT9hI5+w+WWuNSBMhIkwMYMJ+7lgxIT9XFDGr41EB0+4fzRLUEJQUAS3Jb3K7Xyg5AvENqpCtJ4O6wAAAABJRU5ErkJggg==);\n background-size: "," ",";\n background-position: center;\n background-repeat: no-repeat;\n "])),hc(300),hc(5),hc(40),hc(40),hc(40),hc(8),hc(40),hc(40));var JO=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},KO=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},XO=WO(uf(""),2),ZO=XO[0],tk=XO[1],ek=WO(uf(0),2),nk=ek[0],rk=ek[1],ok=WO(uf(!1),2),ik=ok[0],ak=ok[1],uk=WO(uf(!1),2),ck=uk[0],sk=uk[1],lk=WO(uf(0),2),fk=lk[0],hk=(lk[1],Ji()),pk=Ji(),dk=Ji(),yk=of.create((function(t){return JO(void 0,void 0,void 0,$O().mark((function e(){var n,r,o;return $O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.allowMockRequest,r="game/start",e.next=4,of.send({url:of.createUrl(r),method:"POST",name:r,data:{},allowMockRequest:n,minRespDelay:300});case 4:return o=e.sent,e.abrupt("return",o.data);case 6:case"end":return e.stop()}}),e)})))})),vk=of.create((function(t){return JO(void 0,void 0,void 0,$O().mark((function e(){var n,r,o,i;return $O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.allowMockRequest,r=KO(t,["allowMockRequest"]),o="game/end",e.next=4,of.send({url:of.createUrl(o),method:"POST",name:o,data:r,allowMockRequest:n,minRespDelay:300},t);case 4:return i=e.sent,e.abrupt("return",i.data);case 6:case"end":return e.stop()}}),e)})))}));function gk(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var mk,bk,wk,Ak,xk,Ek,Sk,Ok,kk,_k,jk,Pk,Ik,Tk,Ck,Lk,Rk,Mk,Bk,Fk=function(){var t=tl(ik),e=Vn().t,n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return gk(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gk(t,e):void 0}}(t,e)||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.")}()}((0,ot.useState)(!1),2),r=n[0],o=n[1];return(0,ot.useEffect)((function(){if(!t){var e=setTimeout((function(){return o(!1)}),500);return function(){clearTimeout(e)}}o(!0)}),[t]),ot.createElement(FO,{width:"100%",variant:WS.solid,skeleton:r,onClick:function(){hk({})}},e("playBtn"))};function Nk(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var Dk,Uk,Gk,Qk,zk,Yk,Hk,Vk,$k,Wk,qk,Jk,Kk,Xk,Zk,t_,e_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},n_=xe(mk||(mk=Nk(["\n ","\n"])),(function(t){var e,n,r=t.display,o=void 0===r?"inline-flex":r,i=t.position,a=void 0===i?"":i,u=t.top,c=void 0===u?"":u,s=t.left,l=void 0===s?"":s,f=t.right,h=void 0===f?"":f,p=t.bottom,d=void 0===p?"":p,y=t.zIndex,v=void 0===y?"":y,g=t.flexDirection,m=void 0===g?"":g,b=t.alignItems,w=void 0===b?"center":b,A=t.justifyContent,x=void 0===A?"center":A,E=t.flexGrow,S=void 0===E?"":E,O=t.flexShrink,k=void 0===O?"":O,_=t.flexBasis,j=void 0===_?"":_,P=t.fontFamily,I=void 0===P?"":P,T=t.width,C=void 0===T?"":T,L=t.height,R=void 0===L?"":L,M=t.minWidth,B=void 0===M?"":M,F=t.minHeight,N=void 0===F?"":F,D=t.maxWidth,U=void 0===D?"":D,G=t.maxHeight,Q=void 0===G?"":G,z=t.margin,Y=void 0===z?"":z,H=t.padding,V=void 0===H?"":H,$=t.borderRadius,W=void 0===$?"":$,q=t.size,J=void 0===q?"":q,K=t.weight,X=void 0===K?"":K,Z=t.lineHeight,tt=void 0===Z?"":Z,et=t.whiteSpace,nt=void 0===et?"":et,rt=t.color,ot=void 0===rt?"":rt,it=t.bgColor,at=void 0===it?"":it,ut=t.textTransform,ct=void 0===ut?"":ut,st=t.align,lt=void 0===st?"":st,ft=t.letterSpacing,ht=void 0===ft?"":ft,pt=t.fontStretch,dt=void 0===pt?"":pt,yt=t.fontStyle,vt=void 0===yt?"":yt,gt=t.skeleton,mt=void 0!==gt&&gt,bt=t.visibility,wt=void 0===bt?"":bt,At=t.rotate,xt=void 0===At?0:At,Et=t.transform,St=void 0===Et?0!==xt?"rotate(".concat(xt,"deg)"):"":Et,Ot=t.css,kt=t.theme;return xe(bk||(bk=Nk(["\n display: ",";\n position: ",";\n top: ",";\n left: ",";\n right: ",";\n bottom: ",";\n z-index: ",";\n\n flex-direction: ",";\n align-items: ",";\n justify-content: ",";\n flex-grow: ",";\n flex-shrink: ",";\n flex-basis: ",";\n\n font-family: ",";\n\n width: ",";\n height: ",";\n min-width: ",";\n min-height: ",";\n max-width: ",";\n max-height: ",";\n\n margin: ",";\n padding: ",";\n\n border-radius: ",";\n\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n white-space: ",";\n color: ",";\n background-color: ",";\n text-transform: ",";\n text-align: ",";\n letter-spacing: ",";\n font-stretch: ",";\n font-style: ",";\n\n visibility: ",";\n\n ",";\n\n transform: ",";\n\n ","\n "])),o,a,hc(c),hc(l),hc(h),hc(d),v,m,w,x,S,k,j,I,hc(C),hc(R),hc(B),hc(N),hc(U),hc(Q),"string"==typeof Y?Y:Y.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "),"string"==typeof V?V:V.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "),"string"==typeof W?W:W.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "),pc(J),X,hc(tt),nt,null!==(e=kt.colors[ot])&&void 0!==e?e:ot,null!==(n=kt.colors[at])&&void 0!==n?n:at,ct,lt,"string"==typeof ht?ht:"".concat(ht/1e3,"em"),"string"==typeof dt?dt:"".concat(dt,"%"),vt,wt,mt?EO:null,St,Ot)})),r_=Ue.span.withConfig({displayName:"Text",componentId:"-auldpb"})(wk||(wk=Nk(["\n ","\n"])),n_),o_=Ue(r_).withConfig({displayName:"Text1",componentId:"-bf40kr"})(Ak||(Ak=Nk(["\n color: white;\n size: 26;\n font-family: Font1;\n"]))),i_=(Ue(r_).attrs((function(t){var e=t.size,n=void 0===e?15:e,r=t.weight;return{as:"sup",size:n,weight:void 0===r?300:r}})).withConfig({displayName:"TextSup",componentId:"-1foximk"})(xk||(xk=Nk([""]))),xe(Ek||(Ek=Nk(["\n ","\n"])),n_)),a_=function(t){var e=t.weight,n=void 0===e?"bold":e,r=t.lineHeight;return{lineHeight:void 0===r?"1":r,weight:n}},u_=Ue.h1.attrs((function(t){var e=t.size,n=void 0===e?36:e,r=e_(t,["size"]);return Object.assign({as:"h1",size:n},a_(r))})).withConfig({displayName:"Title1",componentId:"-3mno4s"})(Sk||(Sk=Nk(["\n color: #3fcbff;\n ","\n font-family: Font1;\n"])),i_),c_=(Ue.h2.attrs((function(t){var e=t.size,n=void 0===e?32:e,r=e_(t,["size"]);return Object.assign({as:"h2",size:n},a_(r))})).withConfig({displayName:"Title2",componentId:"-1rip0qt"})(Ok||(Ok=Nk(["\n ","\n"])),i_),xe(kk||(kk=Nk(["\n ","\n"])),n_)),s_=(Ue.p.attrs({align:"left"}).withConfig({displayName:"P1",componentId:"-2i5ptj"})(_k||(_k=Nk(["\n ","\n"])),c_),Ue.div.withConfig({displayName:"Divider",componentId:"-t1i7"})(jk||(jk=Nk(["\n width: ",";\n height: ",";\n\n margin: ",";\n"])),(function(t){var e=t.width;return hc(void 0===e?"":e)}),(function(t){var e=t.height;return hc(void 0===e?"":e)}),(function(t){var e=t.margin;return e?e.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "):""}))),l_=Ue.div.withConfig({displayName:"FlexBox",componentId:"-15iv7w6"})(Pk||(Pk=Nk(["\n ","\n"])),(function(t){var e=t.display,n=void 0===e?"flex":e,r=t.direction,o=void 0===r?"":r,i=t.justifyContent,a=void 0===i?"center":i,u=t.alignItems,c=void 0===u?"center":u,s=t.wrap,l=void 0===s?"":s,f=t.grow,h=void 0===f?"":f,p=t.basis,d=void 0===p?"":p,y=t.shrink,v=void 0===y?"":y,g=t.shrinkChildren,m=void 0===g?0:g,b=t.position,w=void 0===b?"":b,A=t.top,x=void 0===A?"":A,E=t.left,S=void 0===E?"":E,O=t.right,k=void 0===O?"":O,_=t.bottom,j=void 0===_?"":_,P=t.zIndex,I=void 0===P?"":P,T=t.width,C=void 0===T?"":T,L=t.height,R=void 0===L?"":L,M=t.minWidth,B=void 0===M?"":M,F=t.minHeight,N=void 0===F?"":F,D=t.maxWidth,U=void 0===D?"":D,G=t.maxHeight,Q=void 0===G?"":G,z=t.float,Y=void 0===z?"":z,H=t.margin,V=void 0===H?null:H,$=t.padding,W=void 0===$?null:$,q=t.borderRadius,J=void 0===q?"":q,K=t.color,X=void 0===K?"":K,Z=t.bgColor,tt=void 0===Z?"":Z,et=t.cursor,nt=void 0===et?"":et,rt=t.transform,ot=void 0===rt?"":rt,it=t.skeleton,at=void 0!==it&&it,ut=t.css,ct=void 0===ut?null:ut,st=t.pointerEvents,lt=void 0===st?"":st;return xe(Ik||(Ik=Nk(["\n display: ",";\n flex-direction: ",";\n justify-content: ",";\n align-items: ",";\n flex-wrap: ",";\n flex-grow: ",";\n flex-basis: ",";\n flex-shrink: ",";\n\n position: ",";\n top: ",";\n left: ",";\n right: ",";\n bottom: ",";\n z-index: ",";\n\n width: ",";\n height: ",";\n min-width: ",";\n min-height: ",";\n max-width: ",";\n max-height: ",";\n color: ",";\n background-color: ",";\n\n float: ",";\n\n margin: ",";\n padding: ",";\n\n border-radius: ",";\n\n transform: ",";\n\n ",";\n\n pointer-events: ",";\n\n cursor: ",";\n\n ","\n\n > * {\n flex-shrink: ",";\n }\n "])),n,o,a,c,l,h,d,v,w,hc(x),hc(S),hc(k),hc(j),I,hc(C),hc(R),hc(B),hc(N),hc(U),hc(Q),X,tt,Y,V?V.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "):"",W?W.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "):"","string"==typeof J?J:J.map((function(t){return"string"==typeof t?t:hc(t)})).join(" "),ot,at?EO:null,lt,nt,ct,m)})),f_=(Ue.img.withConfig({displayName:"Image",componentId:"-1qyjewx"})(Tk||(Tk=Nk(["\n width: ",";\n height: ",";\n"])),(function(t){var e=t.sWidth;return hc(e)}),(function(t){var e=t.sHeight;return hc(e)})),Ue.span.withConfig({displayName:"NumWrp",componentId:"-496k66"})(Ck||(Ck=Nk(["\n white-space: nowrap;\n"]))),xe(Lk||(Lk=Nk(["\n -webkit-mask-size: cover;\n -webkit-mask-position: center;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-image: url(",");\n\n mask-size: cover;\n mask-position: center;\n mask-repeat: no-repeat;\n mask-image: url(",");\n"])),(function(t){return t.image}),(function(t){return t.image}))),h_=(Ue.div.withConfig({displayName:"Mask",componentId:"-1a0n21h"})(Rk||(Rk=Nk(["\n ","\n"])),f_),Ue.div.withConfig({displayName:"Glow",componentId:"-g2deq4"})(Mk||(Mk=Nk(['\n width: 100%;\n height: 100%;\n position: absolute;\n overflow: hidden;\n :after {\n content: "";\n position: absolute;\n bottom: 0;\n left: 50%;\n transform: translate3d(-50%, 0, 0);\n width: ',";\n height: ",";\n background: ",";\n filter: blur(",");\n }\n"])),hc(136),hc(23),(function(t){return t.theme.colors.accent}),hc(52)),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%23FFFFFF12",n='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="%233fcbff" stop-opacity="1" /><stop offset="25%" stop-color="%23146d8e" stop-opacity="1" /><stop offset="50%" stop-color="%233fcbff" stop-opacity="1" /><stop offset="75%" stop-color="%23ace8ff" stop-opacity="1" /><stop offset="100%" stop-color="%23146d8e" stop-opacity="1" /> </linearGradient> </defs> <rect x="1.5" y="1.5" height="100%" width="100%" style="width:calc(100% - 3px);height:calc(100% - 3px)" rx="'.concat(t,'" fill="').concat(e,'" stroke="url(%23gradient)" stroke-width="3" /></svg>');return xe(Bk||(Bk=Nk(["\n background: url('","');\n "])),n)});function p_(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}Ue(l_).attrs({direction:"column",justifyContent:"flex-end",borderRadius:[24],width:460}).withConfig({displayName:"FrameBase",componentId:"-16smb1m"})(Dk||(Dk=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n box-shadow: rgba(0, 0, 0, 0.40) 0 "," 0 0 inset;\n\n color: ",";\n\n background-color: ",";\n"])),hc(-3),(function(t){return t.theme.colors.textFrameBase}),(function(t){return t.theme.colors.bgDialog}));var d_=xe(Uk||(Uk=p_(["\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: center;\n\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 0;\n\n width: 100%;\n height: 100%;\n\n object-fit: cover;\n pointer-events: none;\n\n background-color: ",";\n"])),(function(t){var e=t.theme,n=t.bgColor,r=t.color;return n?e.colors[n]:r})),y_=(Ue.div.withConfig({displayName:"Background",componentId:"-56dpmn"})(Gk||(Gk=p_(["\n ","\n"])),d_),Ue.img.withConfig({displayName:"BackgroundImage",componentId:"-axkyvy"})(Qk||(Qk=p_(["\n ","\n"])),d_)),v_=Ue.div.withConfig({displayName:"BackgroundColor",componentId:"-6gli23"})(zk||(zk=p_(["\n ","\n\n top: -5%;\n left: -5%;\n\n width: 110%;\n height: 110%;\n"])),d_),g_=xe(Yk||(Yk=p_(['\n content: "";\n\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 0;\n\n width: 100%;\n height: 100%;\n\n pointer-events: none;\n\n background-color: ',";\n background-image: url(",");\n background-size: ",";\n background-position: center bottom;\n background-repeat: no-repeat;\n\n transform: scale3d(1, 1, 1);\n"])),(function(t){var e,n=t.color,r=void 0===n?"":n,o=t.theme;return""===r?r:null!==(e=o.colors[r])&&void 0!==e?e:r}),(function(t){return t.Img.opt.src}),(function(t){var e=t.Img,n=t.bgWidth,r=void 0===n?e.opt.width:n,o=t.bgHeight,i=void 0===o?e.opt.height:o;return"".concat(hc(r)," ").concat(hc(i))})),m_=(Ue.div.attrs((function(t){var e=t.color;return{color:void 0===e?"":e}})).withConfig({displayName:"BackgroundImageBlur",componentId:"-183kwfv"})(Hk||(Hk=p_(["\n :before {\n display: ",";\n\n ",";\n\n top: -5%;\n left: -5%;\n\n width: 110%;\n height: 110%;\n\n filter: blur(30px);\n\n background-size: auto 100%;\n background-repeat: repeat;\n\n background-color: transparent;\n }\n :after {\n ",";\n }\n"])),(function(t){return""===t.color?"":"none"}),g_,g_),Ue.div.withConfig({displayName:"Container",componentId:"-xas1m9"})(Vk||(Vk=p_(["\n display: flex;\n flex-direction: column;\n\n width: 100%;\n height: 100%;\n"])))),b_=Ue.div.withConfig({displayName:"Header",componentId:"-1nahdtt"})($k||($k=p_(["\n"]))),w_=Ue(l_).attrs({position:"absolute",top:40,zIndex:1001}).withConfig({displayName:"HeaderButtons",componentId:"-c8v5v6"})(Wk||(Wk=p_(["\n "," {\n margin-right: ",";\n }\n\n ",":last-child {\n margin-right: 0;\n }\n"])),FO.Wrp,hc(25),FO.Wrp),A_=Ue.div.withConfig({displayName:"Content",componentId:"-cdeg7w"})(qk||(qk=p_(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n flex-shrink: 0;\n flex-grow: 1;\n\n position: relative;\n z-index: ",";\n\n width: 100%;\n max-height: 100%;\n\n margin: 0 auto;\n\n ",";\n"])),(function(t){var e=t.contentToBg;return void 0!==e&&e?0:2}),(function(t){var e=t.sidePadding,n=void 0===e?30:e;return xe(Jk||(Jk=p_(["\n padding-left: ",";\n padding-right: ",";\n "])),hc(n),hc(n))})),x_=Ue.div.withConfig({displayName:"Footer",componentId:"-9czq5h"})(Kk||(Kk=p_(["\n display: flex;\n align-items: center;\n flex-shrink: 0;\n\n ",";\n\n z-index: 1;\n\n width: 100%;\n height: ",";\n\n margin-bottom: ",";\n\n background-color: ",";\n"])),(function(t){return xe(t.fullScreen?Xk||(Xk=p_(["\n position: absolute;\n bottom: 0;\n left: 0;\n "])):Zk||(Zk=p_(["\n position: relative;\n "])))}),(function(t){var e=t.theme;return hc(e.sizes.footer.height)}),(function(t){var e=t.bottomOffset;return hc(void 0===e?0:e)}),kS("black",.5)),E_=Ue.div.withConfig({displayName:"BlockingOverlay",componentId:"-1qdjwxp"})(t_||(t_=p_(["\n display: ",";\n\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000000000;\n\n width: 100%;\n height: 100%;\n\n background-color: transparent;\n"])),(function(t){return t.isUIBlocked?"block":"none"}));function S_(t){return S_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S_(t)}function O_(t,e,n){return(e=function(t){var e=function(t){if("object"!=S_(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=S_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==S_(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k_=function(){var t,e=tl(Ps),n=(0,ot.useMemo)((function(){var t=function(t){var e=t.Img;return ot.createElement(y_,{src:e.opt.src})};return O_(O_({},ZE.main.path,ot.createElement(t,{Img:ys.MainBg})),ZE.error.path,ot.createElement(t,{Img:ys.GameErrorBg}))}),[]),r=null!==(t=n[e.path])&&void 0!==t?t:ot.createElement(v_,{bgColor:"bgPrimary"});return null===r?null:ot.createElement(ot.Fragment,{key:"bg_".concat(e.path)},r)},__=function(t){var e=t.children,n=tl(VS.$layout),r=n.bgImage,o=n.bgColor,i=n.bgComponent,a=void 0===i?ot.createElement(k_,null):i,u=n.contentSidePadding,c=void 0===u?0:u,s=n.contentToBg,l=n.fullScreen,f=n.showHeader,h=n.showFooter,p=n.footerContent,d=(n.showBtnBack,n.showBtnClose),y=n.closeMessage,v=n.route,g=(n.backHandler,n.closeHandler),m=a;return r?m=ot.createElement(y_,{src:r,bgColor:o}):o&&(m=ot.createElement(v_,{bgColor:o})),ot.createElement(ot.Fragment,null,m,ot.createElement(m_,null,f&&ot.createElement(b_,{fullScreen:l,route:v},ot.createElement(w_,{right:40},!0===d&&ot.createElement(GO,{closeMessage:y,closeHandler:g}))),ot.createElement(A_,{sidePadding:c,contentToBg:s},e),h&&ot.createElement(x_,{fullScreen:l},p)))},j_=function(){var t=tl(aE.$blockUI);return ot.createElement(E_,{isUIBlocked:t})};function P_(t){return P_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P_(t)}!function(){var t=document.createElement("input");t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.zIndex="-100",t.style.width="0",t.style.height="0",t.style.opacity="0"}();var I_,T_,C_,L_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t?function(t,e,n){return(e=function(t){var e=function(t){if("object"!=P_(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=P_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==P_(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},"data-test",t):(console.warn("Call getTestAttr with empty name!"),{})},R_=__webpack_require__(99793);function M_(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function B_(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return F_(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F_(t,e):void 0}}(t,e)||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 F_(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var N_,D_,U_,G_=function(t){var e=t.children,n=t.name,r=t.isVisible,o=t.keyframes,i=void 0===o?{start:{opacity:0},end:{opacity:1}}:o,a=t.immediateFade,u=void 0!==a&&a,c=t.duration,s=void 0===c?300:c,l=t.Wrapper,f=void 0===l?Y_:l,h=t.unmountChildren,p=void 0===h||h,d=t.handlers,y=void 0===d?{}:d,v=t.zIndex,g=t.css,m=t.wrapperRef,b=void 0===m?ot.createRef():m,w=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["children","name","isVisible","keyframes","immediateFade","duration","Wrapper","unmountChildren","handlers","zIndex","css","wrapperRef"]);(u||aE.$uiPaused.getState())&&(s=0);var A=0===s,x=B_((0,ot.useState)(!1),2),E=x[0],S=x[1],O=(0,ot.useRef)({isVisible:r,clearTimeouts:function(){clearTimeout(O.current.readyTO),clearTimeout(O.current.transitionPreparingTO)}}),k=(0,ot.useMemo)((function(){return(!1===E||A)&&(O.current.isVisible=r),O.current.isVisible}),[r,E,A]),_=B_((0,ot.useState)(k),2),j=_[0],P=_[1],I=B_((0,ot.useState)(!1),2),T=I[0],C=I[1],L=B_((0,ot.useState)(A),2),R=L[0],M=L[1],B=function(){var t,e;O.current.clearTimeouts(),C(!1),k?null===(t=null==y?void 0:y.onFadeInEnd)||void 0===t||t.call(y):(null===(e=null==y?void 0:y.onFadeOutEnd)||void 0===e||e.call(y),P(!1))};if((0,ot.useEffect)((function(){A?B():k?(P(!0),C(!0)):!1===R&&B()}),[k,A]),(0,ot.useEffect)((function(){return!0===j&&!1===R&&!1===A?O.current.readyTO=setTimeout((function(){S(!0),M(!0),O.current.transitionPreparingTO=setTimeout((function(){return S(!1)}),50)}),50):(S(!1),M(j)),function(){O.current.clearTimeouts()}}),[j,A]),k&&A);else if(!j&&p)return null;var F,N=Object.keys(i.start);F=A?function(){}:function(t){b.current===t.target&&N[0]===t.propertyName&&B()};var D=Object.assign({ref:b,isVisible:k,isShown:j,isReady:R,isAnimated:T,isOnStart:!1===k||!1===R,keyframes:i,fadePropNames:N,duration:s,zIndex:v,css:g,name:n,onTransitionEnd:F},w);return ot.createElement(f,Object.assign({},D),e)},Q_=ot.memo(G_),z_=(U_=xe(I_||(I_=M_(["\n ","\n "])),(function(t){var e=t.isOnStart,n=t.keyframes,r=t.isShown,o=t.fadePropNames,i=t.duration,a=t.zIndex,u=void 0===a?"":a,c=t.css,s=Object.assign({},e?n.start:n.end);return xe(T_||(T_=M_(["\n --fade-isOnStart: ",";\n\n && {\n display: ",";\n }\n\n ",";\n\n transition-property: ",";\n transition-duration: ",";\n\n z-index: ",";\n\n ","\n "])),e?1:0,!0===r?"":"none",s,o.join(","),"".concat(i,"ms"),u,c)})),{FadeWrapper:Ue.div.withConfig({displayName:"FadeWrapper",componentId:"-m6vt9j"})(C_||(C_=M_(["\n ","\n "])),U_),cssFadeWrapper:U_}),Y_=z_.FadeWrapper;function H_(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var V_,$_,W_,q_,J_,K_=Ue(Y_).withConfig({displayName:"Modal",componentId:"-1pghmck"})(N_||(N_=H_(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: ",";\n\n width: 100%;\n height: 100%;\n\n overflow: auto;\n pointer-events: all;\n\n /* transform: translateZ(0); */\n\n backdrop-filter: blur(","px);\n -webkit-backdrop-filter: blur(","px);\n\n pointer-events: ",";\n\n\n ","\n"])),(function(t){var e=t.theme,n=t.zIndex;return void 0===n?e.modal.defZIndex:n}),(function(t){var e=t.theme,n=t.blur;return void 0===n?e.modal.defBlur:n}),(function(t){var e=t.theme,n=t.blur;return void 0===n?e.modal.defBlur:n}),(function(t){return t.pointerEvents}),(function(t){return t.styles})),X_=Ue.div.withConfig({displayName:"Overlay",componentId:"-d8qell"})(D_||(D_=H_(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n\n opacity: ",";\n\n background: ",";\n\n pointer-events: inherit;\n"])),(function(t){var e=t.theme,n=t.opacity;return void 0===n?e.modal.overlay.defOpacity:n}),(function(t){var e=t.theme,n=t.color;return void 0===n?e.modal.overlay.defColor:n})),Z_=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},tj=(V_=null,function(){return null===V_&&(V_=document.getElementById("modal-layer")),V_}),ej=function(t){var e=t.children;return R_.createPortal(e,tj())},nj=function(){},rj=function(){},oj=function(){},ij=function(t){var e=t.children,n=t.isOpen,r=t.handleClose,o=void 0===r?nj:r,i=t.onShown,a=void 0===i?rj:i,u=t.onDetach,c=void 0===u?oj:u,s=t.useOverlay,l=void 0===s||s,f=t.overlayOpt,h=void 0===f?{}:f,p=t.fadeOpt,d=t.className,y=t.zIndex,v=t.styles;return ot.createElement(ej,null,ot.createElement(uj,Object.assign({},{isOpen:n,onShown:a,onDetach:c,className:d,zIndex:y,styles:v,fadeOpt:p,overlayOpt:h}),l&&ot.createElement(aj,{handleClose:o,overlayOpt:h}),e))},aj=function(t){var e=t.handleClose,n=t.overlayOpt;return ot.createElement(X_,Object.assign({onClick:e},n))},uj=function(t){var e,n=t.children,r=t.isOpen,o=t.onShown,i=t.onDetach,a=t.className,u=t.zIndex,c=t.styles,s=t.fadeOpt,l=void 0===s?{}:s,f=t.overlayOpt,h=l.handlers,p=void 0===h?{}:h,d=p.onFadeInEnd,y=p.onFadeOutEnd,v=Z_(p,["onFadeInEnd","onFadeOutEnd"]),g=Z_(l,["handlers"]),m=Object.assign({isVisible:r,Wrapper:K_,handlers:Object.assign({onFadeInEnd:function(){d&&d(),o()},onFadeOutEnd:function(){y&&y(),i()}},v),className:a,zIndex:u,styles:c,blur:f.blur,pointerEvents:null===(e=f.checkClickPermission&&f.checkClickPermission(r))||void 0===e||e?"":"none"},g);return ot.createElement(Q_,Object.assign({},m),n)};function cj(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var sj,lj,fj,hj,pj,dj,yj,vj,gj,mj=Xi(!1),bj=function(t){var e=t.wrapper,n=void 0===e?{type:"modal"}:e,r=t.message,o=void 0===r?ot.createElement(Un,{i18nKey:"error_message"}):r,i=(t.theme,t.routeBack),a=t.icon,u=t.info,c=void 0===u?ot.createElement(Un,{i18nKey:"error_info"}):u,s=t.$pending,l=t.showExitButton,f=void 0!==l&&l,h=t.exitButtonText,p=void 0===h?rt("error_exit"):h,d=t.exitButtonProps,y=void 0===d?{}:d,v=t.showHomeButton,g=void 0!==v&&v,m=t.homeButtonText,b=void 0===m?rt("error_home"):m,w=t.homeButtonProps,A=void 0===w?{}:w,x=t.buttonText,E=void 0===x?rt("error_repeat"):x,S=t.buttonProps,O=void 0===S?{}:S,k=t.Layout,_=void 0===k?wj:k,j=t.callback,P=tl(null!=s?s:mj);(null==i?void 0:i.path)===ZE.main.path&&(g=!1),y=Object.assign({skeleton:P,onClick:function(){$j.$$closeGameReader()}},y),A=Object.assign({skeleton:P,routing:ZE.main},A),O=Object.assign({skeleton:P},O),j||i?(j&&(O.onClick=j),i&&(O.routing=i)):O.routing=ZE.main,(0,ot.useEffect)((function(){O.routing&&Bs(Object.assign({method:"replace_without_route"},O.routing))}),[]);var I={pending:P,wrapper:n,message:o,icon:a,info:c,showExitButton:f,exitButtonProps:y,exitButtonText:p,showHomeButton:g,homeButtonProps:A,homeButtonText:b,buttonProps:O,buttonText:E};return ot.createElement(_,Object.assign({},I))},wj=function(t){t.pending,t.wrapper,t.message,t.icon,t.info,t.showExitButton,t.exitButtonProps,t.exitButtonText,t.showHomeButton,t.homeButtonProps,t.homeButtonText;var e=t.buttonProps;return t.buttonText,ot.createElement(Aj.Frame,null,ot.createElement(o_,{margin:[0,0,30],size:32,lineHeight:36,weight:700},rt("error_message")),ot.createElement(Aj.Button,Object.assign({variant:WS.solid},e),rt("error_repeat")))},Aj=(sj=Ue(l_).attrs({direction:"column",width:"100%",height:"100%"}).withConfig({displayName:"Frame",componentId:"-1p069bn"})($_||($_=cj([""]))),{ErrorMessage:Ue(o_).attrs({width:"100%",weight:"bold",align:"center"}).withConfig({displayName:"ErrorMessage",componentId:"-18lamcp"})(W_||(W_=cj(["\n opacity: ",";\n "])),(function(t){return t.pending?.5:1})),Frame:sj,ErrorInfo:Ue(o_).attrs({flexDirection:"column",width:"100%",align:"center"}).withConfig({displayName:"ErrorInfo",componentId:"-orfjgs"})(q_||(q_=cj([""]))),Button:Ue(FO).withConfig({displayName:"Button",componentId:"-el4m5y"})(J_||(J_=cj(["\n color: white;\n background-color: #3fcbff;\n width: 100%;\n height: ",";\n font-size: ",";\n line-height: ",";\n font-weight: normal;\n border-radius: ",";\n "])),pc(66),pc(28),pc(36),hc(20))});function xj(t){return xj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xj(t)}function Ej(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function Sj(t,e,n){return(e=function(t){var e=function(t){if("object"!=xj(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=xj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==xj(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Oj,kj=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},_j=function(t){var e=t.children,n=t.id,r=t.show,o=t.canceler,i=void 0===o?0:o,a=t.type,u=void 0===a?gE.default:a,c=t.blocking,s=void 0!==c&&c,l=t.pending,f=void 0!==l&&l,h=t.useOverlay,p=void 0===h||h,d=t.overlayOpt,y=t.fadeOpt,v=t.closeByOverlay,g=void 0===v||v,m=t.onAccept,b=void 0===m?function(){}:m,w=t.onCancel,A=void 0===w?function(){}:w,x=t.onClose,E=void 0===x?function(){}:x,S=t.onShow,O=void 0===S?function(){}:S,k=t.onRemove,_=void 0===k?function(){}:k,j=t.onOverlayClose,P=void 0===j?function(){}:j,I=t.styles,T=void 0===I?{}:I,C=kj(t,["children","id","show","canceler","type","blocking","pending","useOverlay","overlayOpt","fadeOpt","closeByOverlay","onAccept","onCancel","onClose","onShow","onRemove","onOverlayClose","styles"]);(0,ot.useEffect)((function(){i>0&&R()}),[i]),(0,ot.useEffect)((function(){!1===r&&E()}),[r]),(0,ot.useEffect)((function(){return O(),function(){_()}}),[]);var L=function(){return GE.$$closeDialogById(n)},R=function(){s||!1!==A()&&L()},M=jj[u];return ot.createElement(ij,{isOpen:r,handleClose:function(){return g&&void(s||(P(),L()))},useOverlay:p,overlayOpt:d,fadeOpt:y,onDetach:function(){return GE.$$removeDialogById(n)},styles:T.modal},ot.createElement(M,Object.assign({id:n,onAccept:function(){s||!1!==b()&&L()},onCancel:R,blocking:s,pending:f,styles:T},C),e))},jj=Sj(Sj(Sj(Sj(Sj(Sj({},gE.default,(function(t){var e=t.children,n=t.styles,r=void 0===n?{}:n;return ot.createElement(Pj.Dialog,Object.assign({styles:r.dialog},L_("dialog-default")),ot.createElement(Pj.DialogCont,{styles:r.content},e))})),gE.confirm,(function(t){var e=t.children,n=t.title,r=t.onAcceptText,o=t.onCancelText,i=t.blocking,a=void 0!==i&&i,u=t.pending,c=void 0!==u&&u,s=t.styles,l=void 0===s?{}:s,f=t.onAccept,h=t.onCancel,p=Vn().t;return ot.createElement(Pj.Dialog,Object.assign({styles:l.dialog},L_("dialog-confirm")),n&&ot.createElement(Pj.DialogTitle,{styles:l.title},n),ot.createElement(Pj.DialogCont,{styles:l.content},null!=e?e:p("confirm_text")),ot.createElement(Pj.ConfirmBtns,null,ot.createElement(Pj.ConfirmBtn,Object.assign({disabled:a||c,onClick:f},L_("proceed-button")),null!=r?r:p("confirm_accept")),ot.createElement(Pj.ConfirmBtn,Object.assign({type:"cancel",disabled:a||c},L_("cancel-button"),{onClick:h}),null!=o?o:p("confirm_cancel"))))})),gE.alert,(function(t){var e=t.children,n=t.title,r=(t.blocking,t.styles),o=void 0===r?{}:r,i=(t.onCancel,Vn().t);return ot.createElement(Pj.Dialog,Object.assign({styles:o.dialog},L_("dialog-alert")),n&&ot.createElement(Pj.DialogTitle,{styles:o.title},n),ot.createElement(Pj.DialogCont,{styles:o.content},e||i("alert_default")))})),gE.toast,(function(t){var e=t.id,n=t.group,r=t.duration,o=void 0===r?2e3:r,i=t.children,a=t.styles,u=void 0===a?{}:a,c=t.onCancel;return(0,ot.useEffect)((function(){if(GE.$$removeDialogs({types:[gE.toast],group:n,keep:[e]}),!(o<1)){var t=setTimeout((function(){return c()}),o);return function(){clearTimeout(t)}}}),[]),ot.createElement(Pj.DialogToast,Object.assign({styles:u.dialog},L_("dialog-toast")),i)})),gE.error,(function(t){var e=t.payload,n=void 0===e?{}:e,r=(t.styles,t.onCancel),o=function(){var t=kj(n,[]),e=t.callback,o=t.showExitButton,i=void 0!==o&&o,a=t.showHomeButton,u=void 0!==a&&a,c=t.homeButtonProps,s=void 0===c?{}:c;t.callback=function(){null==e||e(),r()};var l=s.onClick;return s.onClick=function(){null==l||l.apply(void 0,arguments),GE.$$closeAllDialogs()},t.showExitButton=i,t.showHomeButton=u,t.homeButtonProps=s,t}();return ot.createElement(Pj.DialogError,Object.assign({styles:[]},L_("dialog-error")),ot.createElement(bj,Object.assign({},o)))})),gE.pure,(function(t){var e=t.children;return ot.createElement(ot.Fragment,null,e)})),Pj=function(){var t=Ue(l_).attrs({direction:"column",position:"relative",width:386,minHeight:150,padding:[50,40],borderRadius:[30]}).withConfig({displayName:"Dialog",componentId:"-189c7oa"})(lj||(lj=Ej(["\n color: ",";\n\n background: ",";\n\n ","\n "])),(function(t){return t.theme.scheme.contrastText.background}),(function(t){return t.theme.scheme.background}),(function(t){return t.styles})),e=Ue(t).attrs({}).withConfig({displayName:"DialogError",componentId:"-1how4d5"})(fj||(fj=Ej(["\n ","\n width: ",";\n ","\n "])),(function(t){return t.styles}),hc(446),h_(40)),n=Ue(l_).attrs({direction:"column",position:"relative"}).withConfig({displayName:"DialogToast",componentId:"-o9lu4q"})(hj||(hj=Ej(["\n max-width: 70%;\n\n padding: ",";\n border-radius: ",";\n\n text-align: center;\n color: ",";\n background-color: ",";\n\n ","\n "])),hc(20),hc(10),(function(t){return t.theme.colors.white}),(function(t){return t.theme.colors.bgToast}),(function(t){return t.styles})),r=Ue(l_).attrs({direction:"column"}).withConfig({displayName:"DialogTitle",componentId:"-1lb39ab"})(pj||(pj=Ej(["\n margin: 0 0 ",";\n\n font-size: ",";\n font-weight: bold;\n\n ","\n "])),hc(12),pc(36),(function(t){return t.styles}));return{Dialog:t,DialogError:e,DialogToast:n,DialogCont:Ue(l_).attrs({direction:"column"}).withConfig({displayName:"DialogCont",componentId:"-tfstm7"})(dj||(dj=Ej(["\n text-align: center;\n\n ","\n "])),(function(t){return t.styles})),DialogTitle:r,ConfirmBtns:Ue(l_).attrs({direction:"row",margin:[50,0,0]}).withConfig({displayName:"ConfirmBtns",componentId:"-48xlg1"})(yj||(yj=Ej([""]))),ConfirmBtn:Ue(FO).attrs((function(t){var e=t.type,n=void 0===e?"accept":e;return{size:FO.size.small,margin:[0,10],color:"accept"===n?FO.color.secondary:FO.color.primary,type:n}})).withConfig({displayName:"ConfirmBtn",componentId:"-1r2vapm"})(vj||(vj=Ej(["\n padding-bottom: ",";\n\n box-shadow: ",";\n\n :first-child {\n margin-left: 0;\n }\n :last-child {\n margin-right: 0;\n }\n "])),hc(3),(function(t){return"accept"===t.type?"0 0 0 ".concat(hc(1.5)," #FFFFFF inset"):""})),CloseBtn:Ue(GO).withConfig({displayName:"CloseBtn",componentId:"-1htqx6j"})(gj||(gj=Ej(["\n position: absolute;\n top: ",";\n right: ",";\n "])),hc(-8),hc(-8))}}(),Ij=function(){var t=tl(GE.$dialogs);return ot.createElement(ot.Fragment,null,t.map((function(t){return ot.createElement(_j,Object.assign({key:t.id},t),t.content)})))},Tj=function(t){var e=t.callback;return ot.createElement(HS,null,ot.createElement(Cj.App,{ref:e},ot.createElement(__,null,ot.createElement(al,null)),ot.createElement(j_,null),ot.createElement(Ij,null),!1))},Cj=function(){var t=Ue.div.withConfig({displayName:"App",componentId:"-wtt89c"})(Oj||(Oj=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n position: absolute;\n top: ",";\n left: 0;\n right: 0;\n bottom: 0;\n "])),(function(t){var e=t.theme;return hc(e.sai.top)}));return{App:t}}();function Lj(t){return Lj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lj(t)}function Rj(){Rj=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==Lj(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(Lj(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function Mj(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Bj(r.key),r)}}function Bj(t){var e=function(t){if("object"!=Lj(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=Lj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Lj(e)?e:e+""}function Fj(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(Fj=function(){return!!t})()}function Nj(t){return Nj=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Nj(t)}function Dj(t,e){return Dj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Dj(t,e)}var Uj=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))},Gj=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=Nj(e),function(t,e){if(e&&("object"==Lj(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Fj()?Reflect.construct(e,n||[],Nj(t).constructor):e.apply(t,n))}(this,e,arguments)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Dj(t,e)}(e,t),function(t,e){return e&&Mj(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"initLocale",value:function(t){return Uj(this,void 0,void 0,Rj().mark((function e(){return Rj().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,XE({lang:t});case 2:case"end":return e.stop()}}),e)})))}},{key:"defineAudioInitOpt",value:function(){return Uj(this,void 0,void 0,Rj().mark((function t(){return Rj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{tracks:QE,allowBgMusicPlay:!0});case 1:case"end":return t.stop()}}),t)})))}},{key:"initRouter",value:function(){return Uj(this,void 0,void 0,Rj().mark((function t(){return Rj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Bs(eS);case 2:case"end":return t.stop()}}),t)})))}},{key:"defineFontsResources",value:function(){return Uj(this,void 0,void 0,Rj().mark((function t(){return Rj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",zE);case 1:case"end":return t.stop()}}),t)})))}},{key:"defineStaticResources",value:function(){return Uj(this,void 0,void 0,Rj().mark((function t(){return Rj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",[ds]);case 1:case"end":return t.stop()}}),t)})))}},{key:"getAppUIComponent",value:function(){return Uj(this,void 0,void 0,Rj().mark((function t(){return Rj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Tj);case 1:case"end":return t.stop()}}),t)})))}},{key:"getDevGameLaunchConfig",value:function(){}}])}(pE),Qj=function(t){return new Gj(t)};function zj(t){return zj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zj(t)}function Yj(){Yj=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==zj(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(zj(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var Hj,Vj,$j=function(){var t=Object.assign(Object.assign({},Rf),function(t){var e=t.showExitDialog,n=t.prepareAppConfigQueryParams,r=void 0===n?function(t){return null}:n,o=t.prepareAppConfigResp,i=void 0===o?function(t){return t}:o;Rf.$closeAppCallback.defaultState=e,Rf.$closeAppCallback.$$set(e);var a=function(t){return Lf(void 0,void 0,void 0,wf().mark((function e(){var n,o,i,a,u,c,s;return wf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.first,o=t.name,i=t.allowMockRequest,a=t.minRespDelay,u=t.onFail,c="config",e.next=4,of.send({url:of.createUrl("".concat(c).concat(n?"?first":"")),method:"GET",name:null!=o?o:c,allowMockRequest:i,onFail:u,minRespDelay:a,params:r(t)},t);case 4:return s=e.sent,mf.setTime(s.data.serverTime,{syncDelay:s.time}),e.abrupt("return",s.data);case 7:case"end":return e.stop()}}),e)})))},u=function(t){return Lf(void 0,void 0,void 0,wf().mark((function e(){var n;return wf().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(t);case 2:return n=e.sent,e.prev=3,e.abrupt("return",i(n));case 7:throw e.prev=7,e.t0=e.catch(3),Rl(Object.assign(Object.assign({},Ol.respProcessing),{reqConfig:{url:"",method:"GET",name:"config"}}));case 10:case"end":return e.stop()}}),e,null,[[3,7]])})))};return Rf.$$fetchAppConfigFx.use(u),{fetchAppConfigReq:a,fetchAppConfigFx:u,$$fetchAppConfig:Rf.$$fetchAppConfig,$$fetchAppConfigFx:Rf.$$fetchAppConfigFx}}({showExitDialog:function(){return GE.$registeredDialogs.$$show({slug:"ExitDialog"})},prepareAppConfigResp:function(t){return t}}));t.$$fetchAppConfigFx.use((function(e){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,Yj().mark((function n(){var r;return Yj().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.fetchAppConfigFx(e);case 2:return r=n.sent,n.abrupt("return",r);case 4:case"end":return n.stop()}}),n)})))}));var e=sf(!0,{$$set:function(t,e){return e}}),n=sf(0,{$$set:function(t,e){return null!=e?e:"infinite"},$$dec:function(t){return"infinite"===t?t:t-1}}),r=n.map((function(t){return"infinite"!==t&&t<1})),o=Ji();return Object.assign(Object.assign({},t),{$canPlay:e,$attempts:n,$noAttempts:r,$$closeGameReader:o})}();function Wj(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var qj,Jj,Kj="ExitDialog",Xj=function(){var t=Vn().t;return ot.createElement(ot.Fragment,null,ot.createElement(o_,{margin:[0,0,30],size:32,lineHeight:36,weight:700},"Вы уверены, ",ot.createElement("br",null),"что хотите покинуть игру?"),ot.createElement(l_,{justifyContent:"space-between"},ot.createElement(Zj.Button,{margin:[0,15,0,0],variant:WS.solid,onClick:function(){Wo._h(),GE.$$closeDialogBySlug(Kj)}},t("confirm_exit_acceptText")),ot.createElement(Zj.Button,{variant:WS.link,onClick:function(){GE.$$closeDialogBySlug(Kj)}},t("confirm_exit_cancelText"))))},Zj={Button:Ue(FO).withConfig({displayName:"Button",componentId:"-1gmw00w"})(Hj||(Hj=Wj(["\n color: white;\n border-color: ",";\n background-color: ",";\n width: ",";\n height: ",";\n font-size: ",";\n line-height: ",";\n border-width: ",";\n border-style: solid;\n border-radius: ",";\n font-weight: normal;\n "])),(function(t){return t.variant===WS.link?"#3FCBFF":"transparent"}),(function(t){return t.variant===WS.solid&&"#3FCBFF"}),hc(160),hc(66),pc(28),pc(36),hc(3),hc(20))};function tP(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}GE.$registeredDialogs.$$register({slug:Kj,fn:function(){GE.$$showDialog({slug:Kj,content:ot.createElement(Xj,null),styles:{dialog:xe(Vj||(Vj=Wj(["\n width: ",";\n /* background-color: #F0FBFF1A !important; */\n ","\n padding: "," "," ",";\n "])),hc(446),h_(37,"%23F0FBFF1A"),hc(30),hc(30),hc(40))}})}});var eP,nP,rP,oP,iP,aP,uP="PendingDialog",cP=function(){return ot.createElement(l_,null,ot.createElement(sP.Spinner,null))},sP=(aP=De(qj||(qj=tP([" \n from {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n \n to {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n "]))),{Spinner:Ue.div.withConfig({displayName:"Spinner",componentId:"-14yiw4i"})(Jj||(Jj=tP(["\n display: inline-block;\n position: absolute;\n top: calc(50% - 2rem / 2);\n left: calc(50% - 2rem / 2);\n width: 2rem;\n height: 2rem;\n border: solid 2px white;\n border-color: transparent white white white;\n border-radius: 50%;\n animation: "," 0.6s infinite linear;\n z-index: 10;\n "])),aP)});function lP(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var fP,hP=function(t){return ot.createElement(pP.ProgressBar,null,ot.createElement(pP.Shadow,null),ot.createElement(pP.ProgressBarIndicator,{value:t.value},ot.createElement(pP.Glow,null)))},pP=function(){var t=Ue.div.withConfig({displayName:"ProgressBar",componentId:"-bfx09m"})(eP||(eP=lP(["\n width: 100%;\n height: ",";\n position: relative;\n display: flex;\n padding: ",";\n ","\n "])),hc(50),hc(10),h_(14)),e=Ue.div.withConfig({displayName:"Glow",componentId:"-nsn3bc"})(nP||(nP=lP(["\n position: absolute;\n right: 0;\n width: ",";\n height: 100%;\n background: linear-gradient(to right, #c7f0ffff, #c7f0ff00);\n filter: blur(",");\n transform: translateZ(0);\n z-index: 3;\n "])),hc(40),hc(30)),n=Ue.div.withConfig({displayName:"Shadow",componentId:"-1cntzy"})(rP||(rP=lP(["\n border-radius: ",";\n position: absolute;\n inset: ",";\n background-color: #1f2229;\n box-shadow: inset 0 "," "," 0 #000;\n z-index: -1;\n "])),hc(40),hc(0),hc(4),hc(9));return Ue.div.withConfig({displayName:"Gradient",componentId:"-tcjo05"})(oP||(oP=lP(["\n /* position: absolute;\n z-index: 1;\n background: linear-gradient(to right, #3fcbff, #d7f4ff);\n border-radius: ",";\n opacity: 0.8;\n inset: 0; */\n "])),hc(40)),{ProgressBar:t,ProgressBarIndicator:Ue.div.withConfig({displayName:"ProgressBarIndicator",componentId:"-w3rg6n"})(iP||(iP=lP(["\n border-radius: ",";\n transition: width 0.3s ease-out;\n width: ","%;\n height: 100%;\n position: relative;\n background: linear-gradient(135deg, #0f5d7a 25%, transparent 25%, transparent 50%, #0f5d7a 50%, #0f5d7a 75%, transparent 75%, transparent 100%),\n linear-gradient(to right, #3fcbff, #d7f4ff);\n background-size:\n "," ",',\n auto;\n background-blend-mode: overlay;\n\n ::after {\n content: "";\n background-color: #daf5ff;\n position: absolute;\n height: ',";\n top: ",";\n left: ",";\n right: ",";\n border-radius: ",";\n z-index: 2;\n }\n "])),hc(40),(function(t){return t.value}),hc(34),hc(34),hc(4),hc(5),hc(10),hc(10),hc(10)),Glow:e,Shadow:n}}();function dP(t){return dP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dP(t)}function yP(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,vP(r.key),r)}}function vP(t){var e=function(t){if("object"!=dP(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=dP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==dP(e)?e:e+""}function gP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(gP=function(){return!!t})()}function mP(t){return mP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mP(t)}function bP(t,e){return bP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bP(t,e)}!function(t){t[t.run=0]="run",t[t.stop=1]="stop"}(fP||(fP={}));var wP,AP,xP=function(t){function e(t){var n,r,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=function(t,e,n){return e=mP(e),function(t,e){if(e&&("object"==dP(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,gP()?Reflect.construct(e,n||[],mP(t).constructor):e.apply(t,n))}(this,e,[t])).state={run:t.run,period:t.period,initialMoment:0,currentMoment:0,formatTime:null!==(r=t.formatTime)&&void 0!==r?r:function(t){return ot.createElement("span",null,(.001*t).toFixed(2))},onTimerEnd:null!==(o=t.onTimerEnd)&&void 0!==o?o:function(){},onTimerTick:null!==(i=t.onTimerTick)&&void 0!==i?i:function(){}},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&bP(t,e)}(e,t),function(t,e,n){return e&&yP(t.prototype,e),n&&yP(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getCurrentMoment",value:function(){return Qo.getNowMS()}},{key:"startTimer",value:function(){if(this.state.run){var t=this.getCurrentMoment();this.setState({initialMoment:t,currentMoment:t}),this.runTimer()}}},{key:"runTimer",value:function(){var t,e=this;this.timerTO=setInterval((function(){return e.tick()}),null!==(t=this.props.tickUpdPeriod)&&void 0!==t?t:1e3)}},{key:"stopTimer",value:function(){clearInterval(Number(this.timerTO))}},{key:"resumeTimer",value:function(){if(this.state.run){var t=this.state,e=t.initialMoment,n=t.currentMoment,r=this.getCurrentMoment();this.setState({initialMoment:r-(n-e),currentMoment:r}),this.runTimer()}}},{key:"tick",value:function(){this.getCurrentPeriod()>0?this.setState({currentMoment:this.getCurrentMoment()}):(this.stopTimer(),this.state.onTimerEnd(this))}},{key:"getCurrentPeriod",value:function(){var t=this.state,e=t.period,n=t.initialMoment,r=t.currentMoment;return Math.max(0,e-(r-n))}},{key:"getDuration",value:function(){return this.state.period-this.getCurrentPeriod()}},{key:"getRest",value:function(){return this.getCurrentPeriod()}},{key:"componentDidMount",value:function(){this.startTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"componentDidUpdate",value:function(t,e){this.state.run!==e.run?this.state.run?this.resumeTimer():this.stopTimer():this.state.onTimerTick(this)}},{key:"render",value:function(){return this.state.formatTime(this.getCurrentPeriod(),this)}}],[{key:"getDerivedStateFromProps",value:function(t,e){return this.derivedProps===t?null:(this.derivedProps=t,t.run!==e.run?{run:t.run}:t.period!==e.period?{period:t.period}:t.formatTime!==e.formatTime||t.onTimerEnd!==e.onTimerEnd||t.onTimerTick!==e.onTimerTick?{formatTime:t.formatTime}:null)}}])}(ot.Component);function EP(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function SP(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var OP,kP,_P=function(t){var e=tl(ck),n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return SP(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?SP(t,e):void 0}}(t,e)||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.")}()}((0,ot.useState)(!1),2),r=n[0],o=n[1];return ot.createElement(jP.Timer,{needTimerAlarm:r},ot.createElement(xP,{run:e,period:t.duration,onTimerEnd:function(){t.onTimerEnd()},onTimerTick:function(t){t.getRest()<1e4&&o(!0),rk(Math.trunc(.001*t.getDuration()))},formatTime:function(t){var e=Math.round(.001*t),n=Math.trunc(e/60),r=e%60,o=(r<10?"0":"")+r;return ot.createElement(ot.Fragment,null,ot.createElement(jP.TimerDigit,{key:"min_0"},0),ot.createElement(jP.TimerDigit,{key:"min_1"},n),ot.createElement(jP.TimerDigit,{key:"divider"},":"),ot.createElement(jP.TimerDigit,{key:"sec_0"},o[0]),ot.createElement(jP.TimerDigit,{key:"sec_1"},o[1]))}}))},jP=function(){var t,e=(t=Ue.span.withConfig({displayName:"TimerDigit",componentId:"-1t07fi1"})(wP||(wP=EP(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: ",";\n "])),hc(24)),{Timer:Ue(o_).withConfig({displayName:"Timer",componentId:"-l196zv"})(AP||(AP=EP(["\n font-size: ",";\n line-height: ",";\n font-weight: 700;\n color: ",";\n line-height: ",";\n transition: color 1s ease-in;\n justify-content: flex-start;\n\n "," {\n :not(:last-child) {\n /* margin-right: ","; */\n }\n }\n "])),pc(26),pc(51),(function(t){return t.needTimerAlarm?"#FF526F":"white"}),pc(51),t,pc(10)),TimerDigit:t});return Object.assign({},e)}(),PP=function(t){var e=tl(fk),n=8*t.total/100,r=(e+n)/(t.total+n)*100;return ot.createElement(l_,{width:"100%",direction:"column"},ot.createElement(l_,{width:"100%",margin:[0,0,20,0]},ot.createElement(l_,null,ot.createElement(ys.SimIcon,{margin:[0,10,0,0]}),ot.createElement(IP.Current,{width:15*e.toString().length,margin:[0,15,0,0],weight:700,size:26,lineHeight:51},e),ot.createElement(o_,{margin:[0,10,0,0],weight:700,size:26,lineHeight:51},"/"),ot.createElement(o_,{margin:[0,10,0,0],weight:700,size:26,lineHeight:51},t.total)),ot.createElement(l_,{margin:[0,0,0,"auto"]},ot.createElement(ys.TimerIcon,{margin:[0,10,0,0]}),ot.createElement(_P,{duration:t.timerDuration,onTimerEnd:t.onTimerEnd}))),ot.createElement(hP,{value:r}))},IP=(kP=Ue(o_).withConfig({displayName:"Current",componentId:"-jgoq99"})(OP||(OP=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n color: #5cd3ff;\n justify-content: flex-start;\n "]))),{Current:kP});function TP(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function CP(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var LP,RP,MP,BP,FP=function(){var t=(0,ot.useRef)(!1),e=(0,ot.useRef)(null),n=function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return TP(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?TP(t,e):void 0}}(t,e)||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.")}()}((0,ot.useState)(!1),2),n=e[0],r=e[1],o=(0,ot.useRef)();(0,ot.useEffect)((function(){return function(){return clearTimeout(o.current)}}),[]);var i=function(t,e){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2))};return{flipTapArea:function(e,a,u,c){if(!n){var s=function(t,e,n,r){return{x:t-n/2,y:e-r/2}}(e,a,u,c),l=function(t,e,n,r){return{rotateX:t/r*2,rotateY:e/n*-1*2}}(s.x,s.y,u,c);(function(e,n){var r=5*i(e,n);t.current.style.setProperty("--x",(-1*n).toString()),t.current.style.setProperty("--y",(-1*e).toString()),t.current.style.setProperty("--angle",r+"deg")})(l.rotateX,l.rotateY),r(!0),o.current=setTimeout((function(){r(!1)}),300)}},isFlipAnimating:n}}(e),r=n.flipTapArea,o=n.isFlipAnimating,i=function(){if(!e.current)throw new Error("You must mount tap registrator area");return e.current.getBoundingClientRect()},a=function(t,e,n){return{x:t-n.x,y:e-n.y}},u=function(t,e,n){s(t,e)&&(r(t,e,n.width,n.height),c(t,e),dk())},c=function(t,n){var r=e.current,o=document.createElement("div");o.classList.add("tap-info"),o.style.left=t+"px",o.style.top=n+"px",o.innerText="+1",o.onanimationend=function(){r.removeChild(o)},r.appendChild(o)},s=function(t,n){var r=Math.max(e.current.clientWidth,e.current.clientHeight)/2;return Math.pow(t-r,2)+Math.pow(n-r,2)<=Math.pow(r,2)};return{isFlipAnimating:o,tapRegistratorRef:e,handleClick:function(e){if(t.current)return e.preventDefault(),void e.stopPropagation();var n=i(),r=a(e.clientX,e.clientY,n),o=r.x,c=r.y;u(o,c,n)},handleTap:function(e){t.current=!0;var n,r=i(),o=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return CP(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?CP(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}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,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(Array.from(e.touches).slice(0,2));try{for(o.s();!(n=o.n()).done;){var c=n.value,s=a(c.clientX,c.clientY,r),l=s.x,f=s.y;u(l,f,r)}}catch(t){o.e(t)}finally{o.f()}}}};function NP(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var DP,UP,GP,QP,zP,YP,HP=function(){var t=FP(),e=t.tapRegistratorRef,n=t.isFlipAnimating,r=t.handleClick,o=t.handleTap;return ot.createElement(VP.TapArea,{isFlipAnimating:n,ref:e,onClick:r,onTouchStart:o},ot.createElement(ys.PandaCoin,null))},VP=(DP=De(LP||(LP=NP([" \n 0% {\n transform: rotate3d(0, 0, 0, 0deg);\n }\n 50% {\n transform: rotate3d(var(--x), var(--y), 0, var(--angle));\n }\n 100% {\n transform: rotate3d(0, 0, 0, 0deg);\n }\n "]))),UP=De(RP||(RP=NP([" \n 0% {\n transform: translate3d(-50%, 0, ",");\n opacity: 0;\n }\n 70% {\n opacity: 1;\n }\n to {\n transform: translate3d(-50%, -",", ",");\n opacity: 0;\n }\n "])),hc(20),hc(300),hc(20)),{TapArea:Ue.div.withConfig({displayName:"TapArea",componentId:"-16ak9jt"})(MP||(MP=NP(["\n perspective: ",";\n position: relative;\n margin-top: ",";\n /* transform: translateZ(-10); */\n\n img {\n ","\n }\n\n .tap-info {\n font-size: ",";\n font-weight: 700;\n font-family: Font1;\n color: white;\n animation-duration: ","s;\n animation-name: ",";\n animation-fill-mode: forwards;\n position: absolute;\n -webkit-font-smoothing: antialiased;\n transform-style: preserve-3d;\n }\n "])),hc(1e3),hc(97),(function(t){return t.isFlipAnimating&&xe(BP||(BP=NP(["\n animation: "," 0.3s ease-in-out;\n "])),DP)}),pc(39),2,UP)}),$P="GameDialog",WP=function(){return ot.createElement(l_,{direction:"column",height:"100%",justifyContent:"flex-start",padding:[133,43,43,43]},ot.createElement(y_,{src:ys.GameBg.opt.src,style:{zIndex:-1}}),ot.createElement(PP,{total:YE,timerDuration:6e4,onTimerEnd:function(){pk()}}),ot.createElement(HP,null))},qP=function(){GE.$$closeDialogBySlug($P)};function JP(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var KP,XP,ZP,tI,eI=function(){var t=tl($j.$attempts),e=Vn().t;return ot.createElement(l_,{direction:"column",height:"100%",justifyContent:"flex-end",padding:[140,43,78,43]},ot.createElement(y_,{src:ys.RulesBg.opt.src,style:{zIndex:-1}}),ot.createElement(rI.RulesContentBox,{margin:[0,0,70,0]},ot.createElement(u_,{margin:[0,0,20,0],align:"center"},e("faqTitle")),ot.createElement(rI.RulesContent,null,ot.createElement("ol",null,ot.createElement(rI.Rule,{as:"li",margin:[0,0,10,0]},"Когда можно играть? ",ot.createElement("br",null),"В дни, когда игра появляется в ленте сторис, — чем раньше, тем лучше. Панда уйдет спать, как только раздаст игрокам все ГБ, выделенные на день. Чтобы узнать, когда Гигапанда появится снова, заходите каждый день в адвент-календарь и открывайте ячейки."),ot.createElement(rI.Rule,{as:"li",margin:[0,0,10,0]},"Как выиграть ГБ? ",ot.createElement("br",null),"Успейте натапать 1000 раз за 1 минуту и заберите подарок себе. Новый день — новый шанс выиграть 1 ГБ. Важно: тапать нужно на зону, ограниченную кругом, в центре которого находится Панда."))),ot.createElement(ys.RuleInfoIcon,{position:"absolute",top:0,left:"50%",transform:"translate3d(-50%, -50%, 0)"})),ot.createElement(l_,{direction:"column",width:"100%"},ot.createElement(FO,{width:"100%",margin:[0,0,20,0],variant:WS.link,onClick:function(){Wo.Ay.openUrl({url:"https://s3.tele2.ru/ds-site/docs/terms/panda-rules.pdf",closeGameReader:!0})}},e("rulesFull")),("infinite"===t||t>0)&&ot.createElement(Fk,null)))},nI=function(){GE.$$showPureDialog({slug:"RulesDialog",content:ot.createElement(eI,null),ignoreBackGesture:!0,closeByOverlay:!1})},rI=(XP=Ue(l_).withConfig({displayName:"RulesContentBox",componentId:"-k1supk"})(GP||(GP=JP(["\n flex-direction: column;\n position: relative;\n font-size: ",";\n /* border-radius: ","; */\n padding: "," "," "," ",";\n min-height: ",";\n flex: 1;\n /* background-color: #ffffff12; */\n ","/*\n border-image: linear-gradient(to right, #3fcbff, #146d8e, #3fcbff, #ace8ff, #146d8e) 1 round;\n clip-path: inset(0 round 20px);\n */\n "])),hc(24),hc(40),hc(60),hc(40),hc(40),hc(40),hc(454),h_(40,"%23ffffff12")),ZP=Ue(o_).withConfig({displayName:"Rule",componentId:"-88osr2"})(QP||(QP=JP(["\n display: list-item;\n "]))),tI=Ue(l_).withConfig({displayName:"RulesContent",componentId:"-afz7hs"})(zP||(zP=JP(["\n overflow: hidden;\n scrollbar-color: #3fcbff #0f5d7a;\n overflow-y: auto;\n scrollbar-width: 10px;\n flex-direction: column;\n align-items: flex-start;\n padding: 0 ",";\n flex: 1;\n\n &::-webkit-scrollbar {\n border-radius: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: ",";\n background-color: #0f5d7a;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: ",";\n background-color: #0f5d7a;\n }\n\n :last-of-type {\n margin-bottom: 0;\n }\n\n "," {\n list-style-type: decimal;\n }\n\n ol {\n max-height: 100%;\n }\n "])),hc(30),hc(20),hc(20),hc(20),ZP),Ue(l_).withConfig({displayName:"ScrollableContentBox",componentId:"-13vpva8"})(YP||(YP=JP([""]))),{RulesContentBox:XP,RulesContent:tI,Rule:ZP}),oI=function(){var t=Vn().t;return ot.createElement(l_,{direction:"column",height:"100%",justifyContent:"flex-end",padding:[0,43,78,43]},ot.createElement(y_,{src:ys.LoseBg.opt.src,style:{zIndex:-1}}),ot.createElement(u_,{size:28,lineHeight:35,color:"white",align:"center",margin:[116,0,"auto",0]},ot.createElement(Un,{i18nKey:"gameLoseTitle"})),ot.createElement(FO,{width:"100%",onClick:function(){nI()}},t("rulesBtn")))},iI=function(){var t=Vn().t;return ot.createElement(l_,{direction:"column",height:"100%",justifyContent:"flex-end",padding:[0,43,78,43]},ot.createElement(y_,{src:ys.WinBg.opt.src,style:{zIndex:-1}}),ot.createElement(u_,{size:28,lineHeight:35,color:"white",align:"center",margin:[116,0,"auto",0]},ot.createElement(Un,{i18nKey:"gameWinTitle"})),ot.createElement(FO,{onClick:function(){Wo.Ay.shareText(t("sharing_text")+" https://tele2.ru/journal/article/gigapanda-in-the-my-tele2-application?utm_source=my_tele2&utm_medium=app&utm_campaign=story_panda")}},t("gameWinTellFriends")))},aI=function(){var t=Vn().t;return ot.createElement(l_,{direction:"column",height:"100%",justifyContent:"flex-end",padding:[0,43,78,43]},ot.createElement(y_,{src:ys.GameUnavailableBg.opt.src,style:{zIndex:-1}}),ot.createElement(u_,{size:32,lineHeight:35,color:"white",align:"center",margin:[116,0,"auto",0]},ot.createElement(Un,{i18nKey:"gameUnavailableTitle"})),ot.createElement(FO,{onClick:function(){nI()}},t("rulesBtn")))},uI="GameEndDialog",cI=function(){var t=Vn().t;return ot.createElement(l_,{direction:"column",height:"100%",justifyContent:"flex-end",padding:[0,43,78,43]},ot.createElement(y_,{src:ys.GameEndBg.opt.src,style:{zIndex:-1}}),ot.createElement(u_,{margin:[100,20,"auto",20],size:28,lineHeight:32,color:"white",align:"center"},ot.createElement(Un,{i18nKey:"gameEndTitle"})),ot.createElement(FO,{width:"100%",variant:WS.solid,onClick:function(){Wo.Ay.closeGameReader(),GE.$$closeDialogBySlug(uI)}},t("gameEndExitBtn")))},sI=function(){var t=Vn().t;return ot.createElement(l_,{direction:"column",height:"100%",justifyContent:"flex-end",padding:[0,43,78,43]},ot.createElement(y_,{src:ys.TariffUnavailableBg.opt.src,style:{zIndex:-1}}),ot.createElement(l_,{direction:"column",margin:[100,0,"auto",0]},ot.createElement(Un,{i18nKey:"tariffUnavailableTitle",components:{text:ot.createElement(u_,{margin:[20,0,0,0],size:28,lineHeight:32,color:"white",align:"center"})}})),ot.createElement(FO,{width:"100%",variant:WS.solid,onClick:function(){Wo.Ay.openUrl({url:"tele2-app://tariffs-cards",closeGameReader:!0})}},t("tariffUnavailableImprove")))};function lI(t){return lI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lI(t)}function fI(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,hI(r.key),r)}}function hI(t){var e=function(t){if("object"!=lI(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=lI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==lI(e)?e:e+""}function pI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(pI=function(){return!!t})()}function dI(t){return dI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},dI(t)}function yI(t,e){return yI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},yI(t,e)}!function(t){t[t.run=0]="run",t[t.stop=1]="stop"}(KP||(KP={}));var vI,gI,mI={formatTime:function(t){return ot.createElement("span",null,(.001*t).toFixed(2))},onTimerEnd:function(){},onTimerTick:function(){}},bI=function(t){function e(t){var n,r,o,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=function(t,e,n){return e=dI(e),function(t,e){if(e&&("object"==lI(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,pI()?Reflect.construct(e,n||[],dI(t).constructor):e.apply(t,n))}(this,e,[t])).state={run:t.run,period:t.period,initialMoment:0,currentMoment:0,formatTime:null!==(r=t.formatTime)&&void 0!==r?r:mI.formatTime,onTimerEnd:null!==(o=t.onTimerEnd)&&void 0!==o?o:mI.onTimerEnd,onTimerTick:null!==(i=t.onTimerTick)&&void 0!==i?i:mI.onTimerTick},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&yI(t,e)}(e,t),function(t,e,n){return e&&fI(t.prototype,e),n&&fI(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getCurrentMoment",value:function(){return mf.getNowMS()}},{key:"startTimer",value:function(){if(this.state.run){var t=this.getCurrentMoment();this.setState({initialMoment:t,currentMoment:t}),this.runTimer()}}},{key:"runTimer",value:function(){var t,e=this;this.timerTO=setInterval((function(){return e.tick()}),null!==(t=this.props.tickUpdPeriod)&&void 0!==t?t:975)}},{key:"stopTimer",value:function(){clearInterval(Number(this.timerTO))}},{key:"resumeTimer",value:function(){if(this.state.run){var t=this.state,e=t.initialMoment,n=t.currentMoment,r=this.getCurrentMoment();this.setState({initialMoment:r-(n-e),currentMoment:r}),this.runTimer()}}},{key:"tick",value:function(){var t=this.getCurrentMoment();this.getCurrentPeriod(t)>0?this.setState({currentMoment:t}):(this.setState({currentMoment:t}),this.stopTimer(),this.state.onTimerEnd(this))}},{key:"getCurrentPeriod",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.currentMoment,e=this.state,n=e.period,r=e.initialMoment;return Math.max(0,n-(t-r))}},{key:"getDuration",value:function(){return this.state.period-this.getCurrentPeriod()}},{key:"getRest",value:function(){return this.getCurrentPeriod()}},{key:"componentDidMount",value:function(){this.startTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"componentDidUpdate",value:function(t,e){this.state.run!==e.run?this.state.run?this.resumeTimer():this.stopTimer():this.state.onTimerTick(this)}},{key:"render",value:function(){return this.state.formatTime(this.getCurrentPeriod(),this)}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n,r,o;return this.derivedProps===t?null:(this.derivedProps=t,t.run!==e.run?{run:t.run}:t.period!==e.period?{period:t.period}:(null!==(n=t.formatTime)&&void 0!==n?n:mI.formatTime)!==e.formatTime?{formatTime:t.formatTime}:(null!==(r=t.onTimerEnd)&&void 0!==r?r:mI.onTimerEnd)!==e.onTimerEnd?{onTimerEnd:t.onTimerEnd}:(null!==(o=t.onTimerTick)&&void 0!==o?o:mI.onTimerTick)!==e.onTimerTick?{onTimerTick:t.onTimerTick}:null)}}])}(ot.Component);function wI(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var AI="GameCountdownDialog",xI=function(t){var e=t.onCountdownEnd,n=void 0===e?function(){}:e,r=Vn().t;return ot.createElement(l_,{direction:"column"},ot.createElement(EI.Title1,{size:32,lineHeight:36,weight:700,margin:[0,0,15,0]},r("countdownTitle")),ot.createElement(bI,{run:!0,period:4e3,onTimerEnd:function(){GE.$$closeDialogBySlug(AI),n()},formatTime:function(t){return ot.createElement(l_,null,ot.createElement(EI.TimerDigit,null,"0"),ot.createElement(EI.TimerDigit,null,"0"),ot.createElement(EI.TimerDigit,null,":"),ot.createElement(EI.TimerDigit,null,"0"),ot.createElement(EI.TimerDigit,null,Math.round(t/1e3)+1))}}))},EI={Title1:Ue(u_).withConfig({displayName:"Title1",componentId:"-7irq23"})(vI||(vI=wI(["\n color: white;\n "]))),TimerDigit:Ue(u_).attrs({size:64,lineHeight:70,weight:700}).withConfig({displayName:"TimerDigit",componentId:"-1f4y00e"})(gI||(gI=wI(["\n color: white;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: ",";\n "])),hc(55))};function SI(t){return SI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},SI(t)}function OI(){OI=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==SI(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(SI(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function kI(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,jI(r.key),r)}}function _I(t,e,n){return e&&kI(t.prototype,e),n&&kI(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function jI(t){var e=function(t){if("object"!=SI(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=SI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==SI(e)?e:e+""}function PI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function II(t,e,n){return e=MI(e),function(t,e){if(e&&("object"==SI(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,LI()?Reflect.construct(e,n||[],MI(t).constructor):e.apply(t,n))}function TI(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&RI(t,e)}function CI(t){var e="function"==typeof Map?new Map:void 0;return CI=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(LI())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&RI(o,n.prototype),o}(t,arguments,MI(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),RI(n,t)},CI(t)}function LI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(LI=function(){return!!t})()}function RI(t,e){return RI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},RI(t,e)}function MI(t){return MI=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},MI(t)}var BI=function(t){function e(){return PI(this,e),II(this,e,arguments)}return TI(e,t),_I(e)}(CI(Error)),FI=function(t){function e(){return PI(this,e),II(this,e,arguments)}return TI(e,t),_I(e)}(CI(Error)),NI=function(t){function e(){return PI(this,e),II(this,e,arguments)}return TI(e,t),_I(e)}(CI(Error)),DI=function(t){function e(){return PI(this,e),II(this,e,arguments)}return TI(e,t),_I(e)}(CI(Error)),UI=function(t){if(t&&0!==t){if(6===t||7===t)throw new BI;throw new NI}},GI=function(t){if(!(t.tryAvailable>0)){if(null!=t.nextFreeTryAt&&t.nextFreeTryAt>0)throw new FI;throw new DI}};function QI(t){return QI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},QI(t)}function zI(){zI=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==QI(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(QI(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}!function(t){var e=t.onFetchAppConfigDone,n=t.onAppConfigInited,r=t.onAppShouldForeground,o=t.onRequestError,i=void 0===o?function(t){return t.errorParams}:o,a=t.initAppConfigSample,u=void 0===a?function(){oa({clock:Rf.$$fetchAppConfig,fn:function(t){return null!=t?t:{}},target:Rf.$$fetchAppConfigFx})}:a;Rf.$$setLanguage.watch((function(t){t=t.split("-")[0],-1!==(nt.options.supportedLngs||[]).indexOf(t)&&(nt.changeLanguage(t),Rf.$$languageChanged(t))})),oa({clock:Rf.$$closeApp,source:Rf.$closeAppCallback,fn:function(t,e){return{closeAppCallback:t,message:e}}}).watch((function(t){(0,t.closeAppCallback)(t.message)})),u(),Rf.$$fetchAppConfigFx.doneData.watch((function(t){var n;Rf.$$setLanguage(null!==(n=t.language)&&void 0!==n?n:""),Rf.$canPlay.$$set(t.canPlay),e&&e(t)}));var c,s,l=Rf.$$fetchAppConfigFx.finally.watch((c=!0,s=function(){Wo.Ay.gameLoadedSdkCallback()},function(t){return mE(void 0,void 0,void 0,yE().mark((function e(){return yE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c&&dispatchEvent(new Event("resize")),"done"!==t.status){e.next=8;break}return l.unsubscribe(),e.next=5,pE.cacheResources();case 5:return e.next=7,f(t.result);case 7:!1===c&&s();case 8:c&&s(),c=!1;case 10:case"end":return e.stop()}}),e)})))})),f=ta((function(t){return mE(void 0,void 0,void 0,yE().mark((function e(){return yE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=3;break}return e.next=3,n(t);case 3:case"end":return e.stop()}}),e)})))})),h=ta((function(t){return mE(void 0,void 0,void 0,yE().mark((function e(){return yE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Rf.$appForegrounded.$$set(!0),!r){e.next=4;break}return e.next=4,r(t);case 4:case"end":return e.stop()}}),e)})))})),p=oa({clock:Rf.$$appShouldForeground,source:Rf.$$fetchAppConfigFx.doneData}).watch((function(t){return mE(void 0,void 0,void 0,yE().mark((function e(){return yE().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p.unsubscribe(),e.next=3,h(t);case 3:case"end":return e.stop()}}),e)})))})),d=oa({clock:Rf.$$appShouldForeground,source:Rf.$$fetchAppConfigFx.finally}).watch((function(){return mE(void 0,void 0,void 0,yE().mark((function t(){return yE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:d.unsubscribe(),setTimeout((function(){return Wo.Ay.gameShouldForegroundCallback()}),50);case 2:case"end":return t.stop()}}),t)})))}));oa({clock:of.$$failedFx.doneData,source:Ps,fn:function(t,e){return Object.assign({route:t},e)}}).watch((function(t){var e,n=t.$$reqEffect,r=t.params,o=t.reqError,a=t.route,u=o.getReqConfig(),c={callback:function(){return n(r)}};if(/test/.test(Wo.Ay.gameLaunchConfig.projectEnv)&&console.error("Request Error: ".concat(u.url," ").concat(u.method),o.getInternalErrorInfo()),of.isReqError(o)){var s=null!==(e=u.name)&&void 0!==e?e:"";if("config"===s){var l=null!=r?r:{},f=l.first;!1===(void 0!==f&&f)||(c={wrapper:{type:"screen"},callback:function(){return n(Object.assign(Object.assign({},l),{minRespDelay:1500}))},$pending:n.pending})}if(null===(c=i({reqName:s,reqError:o,params:r,route:a,$$reqEffect:n,errorParams:c})))return}pf.$$showError(c)})),oa({clock:Rf.$sai,target:ac.$$setSAI})}({onFetchAppConfigDone:function(t){$j.$attempts.$$set(t.tryAvailable),$j.$canPlay.$$set(t.canPlay)},onAppConfigInited:function(t){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,zI().mark((function t(){return zI().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))},onAppShouldForeground:function(t){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,OI().mark((function e(){return OI().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,UI(t.errorCode),GI(t),e.next=5,Bs(Object.assign({},nS));case 5:e.next=13;break;case 7:e.prev=7,e.t0=e.catch(0),e.t0 instanceof BI&&GE.$$showPureDialog({slug:"TariffUnavailableDialog",content:ot.createElement(sI,null),ignoreBackGesture:!0,closeByOverlay:!1}),e.t0 instanceof DI&&GE.$$showPureDialog({slug:uI,content:ot.createElement(cI,null),ignoreBackGesture:!0,closeByOverlay:!1}),e.t0 instanceof FI&&GE.$$showPureDialog({slug:"GameUnavailableDialog",content:ot.createElement(aI,null),ignoreBackGesture:!0,closeByOverlay:!1}),e.t0 instanceof NI&&Bs(ZE.error);case 13:case"end":return e.stop()}}),e,null,[[0,7]])})))},onRequestError:function(t){var e,n=t.reqName,r=t.errorParams;return"config"===n&&null!==r&&"screen"===(null===(e=r.wrapper)||void 0===e?void 0:e.type)&&(r.message=rt("error_failedEnter")),r}}),oa({clock:$j.$$closeGameReader,fn:function(t){return t}}).watch((function(){Wo.Ay.closeGameReader({})}));!function(t){var e=t.genContrastScheme,n=void 0===e?_i:e;ac.$theme.on(ac.$$setTheme,(function(t,e){var n=Object.assign({},e);return n.scheme=t.scheme,n})).on(ac.$$setSchemeAppearance,(function(t,e){var r=Object.assign({},t);return r.scheme=Object.assign(Object.assign({},e),{contrastText:n(e)}),r})).on(ac.$$setSAI,(function(t,e){var n=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(e,[]);return Object.assign(Object.assign({},t),{sai:n})}))}({genContrastScheme:BS});var YI;function HI(t){return function(t){if(Array.isArray(t))return VI(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return VI(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?VI(t,e):void 0}}(t)||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 VI(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}aE.$uiPaused.on(aE.$$uiPauseTriggered,(function(){return!0})).on(aE.$$uiResumeTriggered,(function(){return!1})),aE.$uiPaused.watch((function(t){t?aE.$uiPauseTimer.$$start():aE.$uiPauseTimer.$$stop()})),oa({clock:aE.$blockUI,fn:function(t){return{slug:"isUIBlocked",toggle:t}},target:aE.$blockBackGesture.$$toggle}),oa({clock:aE.$$uiBackTriggered,source:{dialogs:GE.$dialogs,route:Ps,isBackGestureBlocked:aE.$blockBackGesture,backGestureHandler:aE.$backGestureHandler},fn:function(t){var e=t.dialogs,n=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["dialogs"]);return Object.assign({topDialog:GE.getTopDialog(e)},n)}}).watch((function(t){if(Yx.play(-1),!t.isBackGestureBlocked)if(t.topDialog){var e=t.topDialog,n=e.ignoreBackGesture,r=void 0!==n&&n,o=e.onBackGesture,i=void 0===o?function(t){var e=t.id;GE.$$cancelDialog({id:e})}:o;!1===r&&i(t.topDialog)}else t.backGestureHandler()})),YI=!1,aE.$uiPaused.watch((function(t){YI?t?Yx.pause():Yx.resume():YI=!0}));var $I,WI,qI=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};function JI(t){return JI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},JI(t)}function KI(t){return KI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},KI(t)}function XI(){XI=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==KI(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(KI(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}$I=function(t,e){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],u=!0;return e===t.group&&(0!==o.length&&-1===o.indexOf(null!==(n=t.type)&&void 0!==n?n:gE.default)||(u=!1),!1===u&&i.length>0&&-1!==i.indexOf(null!==(r=t.type)&&void 0!==r?r:gE.default)&&(u=!0),!1===u&&a.length>0&&-1!==a.findIndex((function(e){return e===t.id||e===t.slug}))&&(u=!0)),u},WI=0,GE.$dialogs.on(GE.$$addDialog,(function(t,e){return e.slug&&t.find((function(t){return t.slug===e.slug}))?(e.onReAdding&&e.onReAdding(e),t):[].concat(HI(t),[e])})).on(GE.$$closeDialogById,(function(t,e){var n=t.find((function(t){return t.id===e}));return n&&!1!==n.show?(n.show=!1,HI(t)):t})).on(GE.$$closeDialogBySlug,(function(t,e){var n=t.find((function(t){return t.slug===e}));return n&&!1!==n.show?(n.show=!1,HI(t)):t})).on(GE.$$closeAllDialogs,(function(t){var e=t.filter((function(t){return t.show}));return e.length>0?(e.forEach((function(t){t.show=!1})),e):t})).on(GE.$$closeDialogs,(function(t,e){var n=e.group,r=e.types,o=void 0===r?[]:r,i=e.keepTypes,a=void 0===i?[]:i,u=e.keep,c=void 0===u?[]:u,s=!1;return t.forEach((function(t){!1===$I(t,n,o,a,c)&&(t.show=!1,s=!0)})),s?HI(t):t})).on(GE.$$removeDialogs,(function(t,e){var n=e.group,r=e.types,o=void 0===r?[]:r,i=e.keepTypes,a=void 0===i?[]:i,u=e.keep,c=void 0===u?[]:u,s=t.filter((function(t){return $I(t,n,o,a,c)}));return t.length!==s.length?s:t})).on(GE.$$removeDialogById,(function(t,e){var n=t.findIndex((function(t){return t.id===e}));return n<0?t:(t.splice(n,1),HI(t))})).on(GE.$$removeDialogBySlug,(function(t,e){var n=t.findIndex((function(t){return t.slug===e}));return n<0?t:(t.splice(n,1),HI(t))})).on(GE.$$updateDialogState,(function(t,e){var n=e.slug,r=e.state,o=t.find((function(t){return t.slug===n}));return o?(Object.assign(o,r),HI(t)):t})).on(GE.$$cancelDialog,(function(t,e){var n,r=e.slug,o=void 0===r?"":r,i=e.id,a=void 0===i?"":i,u=t.find((function(t){return t.slug&&t.slug===o||t.id===a}));return u?(u.canceler=(null!==(n=u.canceler)&&void 0!==n?n:0)+1,HI(t)):t})),oa({clock:GE.$$showDialog,fn:function(t){return Object.assign(Object.assign({},t),{id:String(++WI),show:!0,type:gE.default})},target:GE.$$addDialog}),oa({clock:GE.$$showConfirm,fn:function(t){return Object.assign(Object.assign({},t),{id:String(++WI),show:!0,type:gE.confirm})},target:GE.$$addDialog}),oa({clock:GE.$$showAlert,fn:function(t){return Object.assign(Object.assign({},t),{id:String(++WI),show:!0,type:gE.alert})},target:GE.$$addDialog}),oa({clock:GE.$$showToast,source:ac.$theme,fn:function(t,e){var n=e.zIndex,r=void 0===n?t.order.toast:n,o=e.overlayOpt,i=qI(e,["zIndex","overlayOpt"]);return Object.assign(Object.assign({zIndex:r,overlayOpt:Object.assign({opacity:0,blur:0,checkClickPermission:function(t){return t}},o)},i),{id:String(++WI),show:!0,type:gE.toast})},target:GE.$$addDialog}),oa({clock:GE.$$hideToast,fn:function(){return{types:[gE.toast]}},target:GE.$$closeDialogs}),oa({clock:GE.$$showErrorDialog,fn:function(t){var e=t.payload,n=qI(t,["payload"]);return Object.assign(Object.assign({payload:Object.assign({showCloseButton:!0},e)},n),{id:String(++WI),show:!0,type:gE.error})},target:GE.$$addDialog}),oa({clock:GE.$$showPureDialog,fn:function(t){return Object.assign(Object.assign({},t),{id:String(++WI),show:!0,type:gE.pure})},target:GE.$$addDialog}),oa({clock:GE.$registeredDialogs.$$show,source:GE.$registeredDialogs,filter:function(t,e){return"function"==typeof t[e.slug]},fn:function(t,e){var n=e.slug,r=e.props;return{fn:t[n],props:r}}}).watch((function(t){(0,t.fn)(t.props)})),oa({clock:VS.$layout,filter:function(t){return!t.showBtnBack},fn:function(){},target:zs}),oa({clock:VS.$$layoutConfigured,filter:function(t){return null!==t},fn:function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},target:VS.$layout.$$set}),VS.$$layoutConfigured({showBtnBack:!1,showBtnSound:!1}),Ps.watch((function(t){$j.$closeAppCallback.$$reset()})),oa({clock:Us,source:{previousRoute:Is},fn:function(t,e){var n,r=t.previousRoute,o=(null!==(n=tS(e.path).getLayoutConfig)&&void 0!==n?n:function(){})({previousRoute:r,route:e});return o&&(o.route=Object.assign({},e)),o},target:VS.$$layoutConfigured}),Ys.watch((function(){$j.$$closeApp()})),function(t){var e=t.routes;oa({clock:pf.$$showError,source:Ps,fn:function(t,e){return{route:t,params:e}}}).watch((function(t){var n,r,o=t.route,i=t.params,a=i.wrapper=null!==(n=i.wrapper)&&void 0!==n?n:{type:"modal"},u=a.filterRoute,c=void 0===u?function(){return!0}:u,s=a.onShow,l=void 0===s?function(){}:s;if(!1!==function(){if(c)if("function"==typeof c){if(!1===c(o))return!1}else if("object"===JI(c)&&o.path!==c.path)return!1;return!0}()){l(i);var f=null!==(r=i.wrapper.params)&&void 0!==r?r:{};"screen"===i.wrapper.type?Bs(Object.assign(Object.assign({},e.error),{params:Object.assign(Object.assign({},i),f)})):GE.$$showErrorDialog(Object.assign({payload:i},f))}}))}({routes:ZE}),ck.reset(hk,vk.pending),fk.on(dk,(function(t){return Math.min(t+1,YE)})).reset(hk),oa({clock:fk,filter:function(t){return t===YE},target:pk}),oa({clock:hk,target:yk}),oa({clock:pk,source:{gameSessionId:ZO,gameDuration:nk,gameScore:fk},fn:function(t){return{gameSessionId:t.gameSessionId,duration:t.gameDuration,score:t.gameScore}},target:vk}),yk.doneData.watch((function(t){tk(t.gameSessionId),GE.$$showPureDialog({slug:$P,content:ot.createElement(WP,null),ignoreBackGesture:!0,closeByOverlay:!1}),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};GE.$$showPureDialog({slug:AI,content:ot.createElement(xI,Object.assign({},t)),ignoreBackGesture:!0,closeByOverlay:!1,overlayOpt:{opacity:.3}})}({onCountdownEnd:function(){sk(!0)}})})),vk.pending.watch((function(t){t?GE.$$showPureDialog({slug:uP,content:ot.createElement(cP,null),ignoreBackGesture:!0,closeByOverlay:!1,overlayOpt:{opacity:.3}}):GE.$$closeDialogBySlug(uP)})),vk.doneData.watch((function(t){var e=t.win;$j.$attempts.$$dec(),e===vE.win?GE.$$showPureDialog({slug:"GameWinDialog",content:ot.createElement(iI,null),ignoreBackGesture:!0,closeByOverlay:!1,fadeOpt:{handlers:{onFadeInEnd:function(){qP()}}}}):GE.$$showPureDialog({slug:"GameLoseDialog",content:ot.createElement(oI,null),ignoreBackGesture:!0,closeByOverlay:!1,fadeOpt:{handlers:{onFadeInEnd:function(){qP()}}}})})),oa({clock:yk.pending,target:ak});function ZI(t){return ZI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ZI(t)}function tT(){tT=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==ZI(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(ZI(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}of.create($j.fetchAppConfigReq),El.$$registerExecCallback({cb:function(){El.$$addRequest({name:"config",request:El.createRequest((function(){return function(){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,XI().mark((function t(){var e;return XI().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={serverTime:Qo.getNow(),canPlay:!0,tryAvailable:1,nextFreeTryAt:32432432,errorCode:null,errorMessage:null},t.abrupt("return",e);case 3:case"end":return t.stop()}}),t)})))}}))})}});var eT,nT=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))};El.$$registerExecCallback({cb:function(){El.$$addRequest({name:"game/start",request:El.createRequest((function(){return function(){return nT(void 0,void 0,void 0,tT().mark((function t(){return tT().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{gameSessionId:"mockGameSessionId_".concat(Qo.getNowMS())});case 1:case"end":return t.stop()}}),t)})))}}))}),El.$$addRequest({name:"game/end",request:El.createRequest((function(){return function(t,e,n){return nT(void 0,void 0,void 0,tT().mark((function t(){return tT().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{win:n.score===YE?1:-1});case 1:case"end":return t.stop()}}),t)})))}}))})}});var rT,oT=function(t){var e=t.children,n=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["children"]);return ot.createElement(iT.Screen,Object.assign({onContextMenu:function(t){return t.preventDefault()}},n),e)},iT=function(){var t=Ue(l_).attrs((function(t){var e=t.direction,n=void 0===e?"column":e,r=t.justifyContent,o=void 0===r?"flex-end":r,i=t.grow;return{direction:n,justifyContent:o,grow:void 0===i?1:i}})).withConfig({displayName:"Screen",componentId:"-e71tvs"})(eT||(eT=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n max-height: 100vh;\n\n text-align: center;\n\n > * {\n flex-shrink: 0;\n }\n "])));return{Screen:t}}();Ds({View:function(){var t=Vn().t;return ot.createElement(oT,{key:"MainScreen",padding:[43,43,108,43],justifyContent:"center"},!1,ot.createElement(u_,{margin:[116,40,15,0],size:38,lineHeight:46,weight:700,color:"#00BFFF"},t("mainTitle")),ot.createElement(l_,{margin:[0,0,"auto",0],direction:"column"},ot.createElement(Un,{i18nKey:"mainContent",components:{text:ot.createElement(o_,{align:"left",weight:400,lineHeight:34,color:"#FFFFFF",margin:[0,0,10,0]})}})),ot.createElement(s_,{margin:[0,0,490,0]}),ot.createElement(l_,{direction:"column",alignItems:"stretch"},ot.createElement(FO,{margin:[0,0,20,0],variant:WS.link,onClick:function(){nI()}},t("rulesBtn")),ot.createElement(Fk,null)))},path:ZE.main.path});var aT,uT=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};Ds({View:function(t){var e=t.wrapper,n=void 0===e?{type:"screen"}:e,r=(uT(t,["wrapper"]),n.type,uT(n,["type"]),Vn().t);return ot.createElement(oT,{key:"ErrorScreen",padding:[43]},ot.createElement(u_,{size:32,lineHeight:45,weight:700,color:"white",align:"center",margin:[73,0,"auto",0]},r("gameErrorTitle")))},path:ZE.error.path}),Ue(l_).attrs({direction:"column",position:"relative",width:386,minHeight:150,margin:["auto",0],padding:[50,40],borderRadius:[30]}).withConfig({displayName:"Cont",componentId:"-1a3h7bo"})(rT||(rT=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n color: ",";\n\n background: ",";\n "])),(function(t){return t.theme.scheme.contrastText.background}),(function(t){return t.theme.scheme.background})),Ds({View:function(){return null},path:ZE.appLoading.path}),function(t){t[t.STATUS_DRAFT=0]="STATUS_DRAFT",t[t.STATUS_ACTIVE=1]="STATUS_ACTIVE",t[t.STATUS_DELETED=2]="STATUS_DELETED",t[t.STATUS_ARCHIVE=3]="STATUS_ARCHIVE",t[t.STATUS_MODERATION=4]="STATUS_MODERATION",t[t.STATUS_APPROVED=5]="STATUS_APPROVED",t[t.STATUS_RETURNED=6]="STATUS_RETURNED",t[t.STATUS_VARIANT=7]="STATUS_VARIANT",t[t.STATUS_VARIANT_DELETED=8]="STATUS_VARIANT_DELETED"}(aT||(aT={}));var cT,sT={"black-gradient":["#000000","linear-gradient(0deg, #c1c1c1, #000)"],"white-gradient":["#ffffff","linear-gradient(180deg, #fff, #ffc800)"],"red-gradient":["#ff1a36","linear-gradient(180deg, #c90174, #eb5c57)"],"yellow-gradient":["#fff000","linear-gradient(0deg, #fbda61, #f76b1c)"],"green-gradient":["#0be361","linear-gradient(0deg, #b4ed50, #429321)"],"violet-gradient":["#b300bc","linear-gradient(180deg, #c90174, #0164fd)"],"blue-gradient":["#0761db","linear-gradient(180deg, #3023ae, #53a0fe 48%, #b4ed50)"],"grey-gradient":["#a8a8a8","linear-gradient(0deg, #e2e2e2, #959595)"]};!function(t){t.UNKNOWN="unknown",t.VIDEO="video",t.IMAGE="image",t.TEXT="text",t.LINK="text-link",t.SWIPEUP="swipe-up",t.COPY="copy",t.SHARE="share",t.BARCODE="barcode"}(cT||(cT={}));var lT,fT=Object.values(cT);!function(t){t.URL="url",t.STORY="story",t.GAME="game",t.CLOSE_GAME="closeGame"}(lT||(lT={}));var hT=function(){return{id:"",type:cT.UNKNOWN,width:"0%",height:"0%",opacity:0,geometry:{x:0,y:0,width:0,height:0}}},pT=function(){return Object.assign(Object.assign({},hT()),{content:"",textSize:1,color:"#000000",lineHeight:1.2,padding:.4,newPadding:!0,align:"center",bold:!1,italic:!1,underline:!1,strikethrough:!1,border:{color:"rgba(0, 0, 0, 0)",radius:0,width:.1},background:{color:"rgba(0, 0, 0, 0)"},secondaryFont:!1})};function dT(t){return dT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dT(t)}function yT(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function vT(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,gT(r.key),r)}}function gT(t){var e=function(t){if("object"!=dT(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=dT(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==dT(e)?e:e+""}var mT,bT=function(){return function(t,e){return e&&vT(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.element=n,this.model=Object.assign(Object.assign({},{x:0,y:0,width:0,height:0}),e)}),[{key:"clone",value:function(){return this.constructor(or(this.getModel()),this.getElement())}},{key:"cloneRef",value:function(){return this.constructor(this.getModel(),this.getElement())}},{key:"getModel",value:function(){return this.model}},{key:"getElement",value:function(){return this.element}},{key:"getId",value:function(){return this.getElement().getId()}},{key:"getX",value:function(){return this.getModel().x}},{key:"getY2",value:function(){return this.getModel().y2}},{key:"getY",value:function(){return this.getModel().y}},{key:"getWidth",value:function(){return this.getModel().width}},{key:"getHeight",value:function(){return this.getModel().height}},{key:"getAngle",value:function(){var t;return null!==(t=this.getModel().angle)&&void 0!==t?t:0}},{key:"setAngle",value:function(t){this.model.angle=t}},{key:"getRect",value:function(){return{x:this.getX(),y:this.getY(),width:this.getWidth(),height:this.getHeight(),angle:this.getAngle()}}},{key:"getViewPosition",value:function(){return""}},{key:"getViewX",value:function(){return this.getX()+"%"}},{key:"getViewX2",value:function(){return""}},{key:"getViewY",value:function(){return this.getY()+"%"}},{key:"getViewY2",value:function(){return""}},{key:"getViewWidth",value:function(){return this.getWidth()+"%"}},{key:"getViewHeight",value:function(){return this.getHeight()+"%"}},{key:"getViewAngle",value:function(){return this.getAngle()+"rad"}},{key:"getViewRect",value:function(){return{position:this.getViewPosition(),top:this.getViewY(),bottom:this.getViewY2(),left:this.getViewX(),right:this.getViewX2(),width:this.getViewWidth(),height:this.getViewHeight(),transform:Math.abs(parseFloat(this.getViewAngle()))>0?"rotate3d(0, 0, 1, ".concat(this.getViewAngle(),")"):void 0}}},{key:"getBorderRadius",value:function(){var t;return(null!==(t=this.getModel().border)&&void 0!==t?t:{radius:0}).radius}},{key:"isRotatable",value:function(){return!0}},{key:"isExpanded",value:function(){var t;return null!==(t=this.getModel().expand)&&void 0!==t&&t}},{key:"getStored",value:function(){return this.getModel().stored}}])}(),wT=function(){var t=bT,e=function(e){return e instanceof t};return[function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(r)?r.clone():new t(r,n)},e]}(),AT=function(t){if(Array.isArray(t))return t}(mT=wT)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(mT)||function(t){if(t){if("string"==typeof t)return yT(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?yT(t,2):void 0}}(mT)||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.")}(),xT=AT[0];function ET(t){return ET="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ET(t)}function ST(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function OT(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,kT(r.key),r)}}function kT(t){var e=function(t){if("object"!=ET(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ET(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ET(e)?e:e+""}AT[1];var _T=function(){return function(t,e,n){return e&&OT(t.prototype,e),n&&OT(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=Object.assign(Object.assign({},hT()),e)}),[{key:"setModel",value:function(t){return this.model=t,this}},{key:"getModel",value:function(){return this.model}},{key:"clone",value:function(){return PT(this.getType(),or(this.getModel()))}},{key:"cloneRef",value:function(){return PT(this.getType()).setModel(this.getModel())}},{key:"getType",value:function(){return this.getModel().type}},{key:"getId",value:function(){return this.getModel().id}},{key:"getGeometry",value:function(){return xT(this,this.getModel().geometry)}},{key:"getAnimation",value:function(){var t;return null!==(t=this.getModel().animation)&&void 0!==t?t:{name:"no",timeout:0}}},{key:"isMedia",value:function(){return!1}},{key:"isTextable",value:function(){return!1}},{key:"elementAdditionalData",get:function(){var t=this.getModel().data;return null!=t?t:{}}}],[{key:"regClass",value:function(t){jT[(t=null!=t?t:this).type]=t}},{key:"getLimitPerSlide",value:function(){return 9999999}}])}();_T.type=cT.UNKNOWN;var jT={},PT=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cT.UNKNOWN,n=arguments.length>1?arguments[1]:void 0;return fT.find((function(t){return t===e}))||(console.warn("Unknown element type"),e=cT.UNKNOWN,n&&(n.type=e)),new(null!==(t=jT[e])&&void 0!==t?t:_T)(n)},IT=function(){var t=_T,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),TT=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return ST(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ST(t,2):void 0}}(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.")}()}(IT);function CT(t){return CT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},CT(t)}function LT(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function RT(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,MT(r.key),r)}}function MT(t){var e=function(t){if("object"!=CT(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=CT(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==CT(e)?e:e+""}function BT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(BT=function(){return!!t})()}function FT(t,e,n,r){var o=NT(DT(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function NT(){return NT="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=DT(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},NT.apply(null,arguments)}function DT(t){return DT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},DT(t)}function UT(t,e){return UT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},UT(t,e)}TT[0],TT[1];var GT=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=function(t,e,n){return e=DT(e),function(t,e){if(e&&("object"==CT(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,BT()?Reflect.construct(e,n||[],DT(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},pT()),n)])).geometry=xT(t,t.getModel().geometry),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&UT(t,e)}(e,t),function(t,e){return e&&RT(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return FT(e,"getModel",this,3)([])}},{key:"clone",value:function(){return FT(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return FT(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return this.geometry}},{key:"getContent",value:function(){return YT(this.getModel().content||"")}},{key:"hasValidContent",value:function(){return!!this.getContent()}},{key:"getColor",value:function(){return this.getModel().color}},{key:"isTransparentElement",get:function(){var t=this.getColor();return"transparent"===t||"rgba(0, 0, 0, 0)"===t||"rgba(0,0,0,0)"===t}},{key:"getBackgroundColor",value:function(){return this.getModel().background.color}},{key:"getTextAlign",value:function(){return this.getModel().align}},{key:"getTextSize",value:function(){return this.getModel().textSize}},{key:"getLineHeight",value:function(){return this.getModel().lineHeight}},{key:"getPadding",value:function(){return this.getModel().padding}},{key:"getBorderRadius",value:function(){return this.getModel().border.radius}},{key:"getBorderWidth",value:function(){return this.getModel().border.width}},{key:"getBorderColor",value:function(){return this.getModel().border.color}},{key:"getFontStyle",value:function(){return{bold:this.getBold(),italic:this.getItalic(),underline:this.getUnderline(),strikethrough:this.getStrikethrough()}}},{key:"getBold",value:function(){return this.getModel().bold}},{key:"getItalic",value:function(){return this.getModel().italic}},{key:"getUnderline",value:function(){return this.getModel().underline}},{key:"getStrikethrough",value:function(){return this.getModel().strikethrough}},{key:"getSecondaryFont",value:function(){return this.getModel().secondaryFont}},{key:"getFontFamily",value:function(){return this.getModel().secondaryFont?Wo.Ay.getProjectFontFamilyStylesheet().secondaryFontFamily:Wo.Ay.getProjectFontFamilyStylesheet().primaryFontFamily}},{key:"setContent",value:function(t){this.getModel().content=t}}])}(_T);GT.type=cT.TEXT,GT.regClass();var QT=function(){var t=GT,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),zT=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return LT(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?LT(t,2):void 0}}(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.")}()}(QT),YT=(zT[0],zT[1],function(t){for(var e=Wo.Ay.gameLaunchConfig.clientConfig.placeholders,n=0;n<e.length;++n){var r=e[n];r.type===Wo.W1.TEXT&&(t=ki(t,"%".concat(r.name,"%"),r.value))}return t}),HT=function(){return Object.assign(Object.assign({},pT()),{autoBottomAlignment:!1,fixedMarginBottom:null,transparentInset:!1})},VT=function(){return Object.assign(Object.assign({},HT()),{linkTarget:"",linkType:lT.URL})};function $T(t){return $T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$T(t)}function WT(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function qT(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,JT(r.key),r)}}function JT(t){var e=function(t){if("object"!=$T(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=$T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==$T(e)?e:e+""}function KT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(KT=function(){return!!t})()}function XT(t,e,n,r){var o=ZT(tC(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function ZT(){return ZT="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=tC(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},ZT.apply(null,arguments)}function tC(t){return tC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},tC(t)}function eC(t,e){return eC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},eC(t,e)}var nC=function(t){function e(t,n){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=function(t,e,n){return e=tC(e),function(t,e){if(e&&("object"==$T(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,KT()?Reflect.construct(e,n||[],tC(t).constructor):e.apply(t,n))}(this,e,[t,n])).element=n,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&eC(t,e)}(e,t),function(t,e){return e&&qT(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return XT(e,"getModel",this,3)([])}},{key:"clone",value:function(){return XT(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return XT(e,"cloneRef",this,3)([])}},{key:"getElement",value:function(){return XT(e,"getElement",this,3)([])}},{key:"getViewRect",value:function(){var t=this.getElement();return t.isTransparentInset()?{top:"0",bottom:"0",left:"0",right:"0",width:"100%",height:"100%",transform:""}:t.isAutoBottomAlignment()?{top:"",left:this.getViewX(),bottom:"calc(((var(--slide-height, 0) - var(--view-height, 0)) * 0.5) + ".concat(t.getFixedMarginBottom(),"px)"),width:this.getViewWidth(),height:this.getViewHeight(),transform:"rotate3d(0, 0, 1, ".concat(this.getViewAngle(),")")}:XT(e,"getViewRect",this,3)([])}}])}(bT),rC=function(){var t=nC,e=function(e){return e instanceof t};return[function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e(r)?r.clone():new t(r,n)},e]}(),oC=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return WT(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?WT(t,2):void 0}}(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.")}()}(rC),iC=oC[0];function aC(t){return aC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},aC(t)}function uC(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function cC(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,sC(r.key),r)}}function sC(t){var e=function(t){if("object"!=aC(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=aC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==aC(e)?e:e+""}function lC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(lC=function(){return!!t})()}function fC(){return fC="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=hC(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},fC.apply(null,arguments)}function hC(t){return hC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hC(t)}function pC(t,e){return pC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pC(t,e)}oC[1];var dC=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=hC(e),function(t,e){if(e&&("object"==aC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,lC()?Reflect.construct(e,n||[],hC(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},HT()),t)])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pC(t,e)}(e,t),function(t,e){return e&&cC(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return function(t,e,n){var r=fC(hC(t.prototype),"getModel",n);return"function"==typeof r?function(t){return r.apply(n,t)}:r}(e,0,this)([])}},{key:"getGeometry",value:function(){return iC(this,this.getModel().geometry)}},{key:"onClick",value:function(){}},{key:"getLink",value:function(){return""}},{key:"getLinkType",value:function(){return lT.URL}},{key:"isAutoBottomAlignment",value:function(){return this.getModel().autoBottomAlignment}},{key:"getFixedMarginBottom",value:function(){var t;return null!==(t=this.getModel().fixedMarginBottom)&&void 0!==t?t:0}},{key:"isTransparentInset",value:function(){var t;return null!==(t=this.getModel().transparentInset)&&void 0!==t&&t}}])}(GT),yC=function(){var t=dC;return[function(e){return e instanceof t}]}(),vC=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!1;!(u=(n=o.call(e)).done)&&(a.push(n.value),1!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return uC(t,1);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?uC(t,1):void 0}}(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.")}()}(yC);function gC(t){return gC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gC(t)}function mC(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function bC(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,wC(r.key),r)}}function wC(t){var e=function(t){if("object"!=gC(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=gC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==gC(e)?e:e+""}function AC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(AC=function(){return!!t})()}function xC(t,e,n,r){var o=EC(SC(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function EC(){return EC="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=SC(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},EC.apply(null,arguments)}function SC(t){return SC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},SC(t)}function OC(t,e){return OC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},OC(t,e)}vC[0];var kC=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=SC(e),function(t,e){if(e&&("object"==gC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,AC()?Reflect.construct(e,n||[],SC(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},VT()),t)])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&OC(t,e)}(e,t),function(t,e){return e&&bC(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return xC(e,"getModel",this,3)([])}},{key:"clone",value:function(){return xC(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return xC(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return xC(e,"getGeometry",this,3)([])}},{key:"onClick",value:function(){this.getLinkType()===lT.STORY?Wo.Ay.openStory({id:this.getLink()}):this.getLinkType()===lT.GAME?Wo.Ay.openGameInstance({id:this.getLink()}):this.getLinkType()===lT.URL?Wo.Ay.openUrl({url:this.getLink(),closeGameReader:!0}):this.getLinkType()===lT.CLOSE_GAME&&Wo.Ay.closeGameReader()}},{key:"getLink",value:function(){var t=this.getModel().linkTargets,e="web";return Wo.Ay.isAndroid&&(e="android"),Wo.Ay.isIos&&(e="ios"),null!=t&&null!=t[e]?t[e]:this.getModel().linkTarget}},{key:"getLinkType",value:function(){return this.getModel().linkType}}])}(dC);kC.type=cT.LINK,kC.regClass();var _C=function(){var t=kC,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),jC=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return mC(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?mC(t,2):void 0}}(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.")}()}(_C);function PC(t){return PC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},PC(t)}function IC(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function TC(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,CC(r.key),r)}}function CC(t){var e=function(t){if("object"!=PC(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=PC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==PC(e)?e:e+""}function LC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(LC=function(){return!!t})()}function RC(t,e,n,r){var o=MC(BC(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function MC(){return MC="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=BC(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},MC.apply(null,arguments)}function BC(t){return BC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},BC(t)}function FC(t,e){return FC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},FC(t,e)}jC[0],jC[1];var NC=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=BC(e),function(t,e){if(e&&("object"==PC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,LC()?Reflect.construct(e,n||[],BC(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},Object.assign(Object.assign({},VT()),{arrowColor:""})),t)])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&FC(t,e)}(e,t),function(t,e){return e&&TC(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return RC(e,"getModel",this,3)([])}},{key:"clone",value:function(){return RC(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return RC(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return RC(e,"getGeometry",this,3)([])}},{key:"getArrowColor",value:function(){return this.getModel().arrowColor}},{key:"onClick",value:function(){this.getLinkType()===lT.STORY?Wo.Ay.openStory({id:this.getLink()}):this.getLinkType()===lT.GAME?Wo.Ay.openGameInstance({id:this.getLink()}):this.getLinkType()===lT.URL?Wo.Ay.openUrl({url:this.getLink(),closeGameReader:!0}):this.getLinkType()===lT.CLOSE_GAME&&Wo.Ay.closeGameReader()}},{key:"getLink",value:function(){var t=this.getModel().linkTargets,e="web";return Wo.m0&&(e="android"),Wo.aR&&(e="ios"),null!=t&&null!=t[e]?t[e]:this.getModel().linkTarget}},{key:"getLinkType",value:function(){return this.getModel().linkType}}])}(kC);NC.type=cT.SWIPEUP,NC.regClass();var DC=function(){var t=NC,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),UC=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return IC(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?IC(t,2):void 0}}(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.")}()}(DC),GC=(UC[0],UC[1],function(){return Object.assign(Object.assign({},hT()),{width:0,height:0,sources:[],resourceKey:""})});function QC(t){return QC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},QC(t)}function zC(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function YC(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,HC(r.key),r)}}function HC(t){var e=function(t){if("object"!=QC(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=QC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==QC(e)?e:e+""}function VC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(VC=function(){return!!t})()}function $C(){return $C="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=WC(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},$C.apply(null,arguments)}function WC(t){return WC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},WC(t)}function qC(t,e){return qC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},qC(t,e)}var JC=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=WC(e),function(t,e){if(e&&("object"==QC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,VC()?Reflect.construct(e,n||[],WC(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},GC()),t)])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qC(t,e)}(e,t),function(t,e){return e&&YC(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getResourceKey",value:function(){return this.getModel().resourceKey}},{key:"getModel",value:function(){return function(t,e,n){var r=$C(WC(t.prototype),"getModel",n);return"function"==typeof r?function(t){return r.apply(n,t)}:r}(e,0,this)([])}},{key:"getWidth",value:function(){return Number(this.getModel().width)}},{key:"getHeight",value:function(){return Number(this.getModel().height)}},{key:"getSrc",value:function(){return this.getResourceKey()}},{key:"getSources",value:function(){return this.getModel().sources}},{key:"getSource",value:function(){var t;return null!==(t=this.getModel().sources[0])&&void 0!==t?t:{path:"",size:0,type:""}}},{key:"getOverlay",value:function(){var t;return null!==(t=this.getModel().overlay)&&void 0!==t?t:{position:"off",color:"black",opacity:0}}},{key:"getOverlayPosition",value:function(){return this.getOverlay().position}},{key:"getOverlayOpacity",value:function(){return this.getOverlay().opacity}},{key:"getBorderRadius",value:function(){return this.getGeometry().getBorderRadius()}},{key:"isMedia",value:function(){return!0}}])}(_T),KC=function(){var t=JC;return[function(e){return e instanceof t}]}(),XC=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!1;!(u=(n=o.call(e)).done)&&(a.push(n.value),1!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return zC(t,1);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?zC(t,1):void 0}}(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.")}()}(KC);function ZC(t){return ZC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ZC(t)}function tL(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function eL(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,nL(r.key),r)}}function nL(t){var e=function(t){if("object"!=ZC(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=ZC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ZC(e)?e:e+""}function rL(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(rL=function(){return!!t})()}function oL(t,e,n,r){var o=iL(aL(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function iL(){return iL="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=aL(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},iL.apply(null,arguments)}function aL(t){return aL=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},aL(t)}function uL(t,e){return uL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},uL(t,e)}XC[0];var cL=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=aL(e),function(t,e){if(e&&("object"==ZC(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,rL()?Reflect.construct(e,n||[],aL(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},Object.assign(Object.assign({},GC()),{path:"",opacity:1,linkTarget:"",linkType:lT.URL})),t)])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&uL(t,e)}(e,t),function(t,e){return e&&eL(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return oL(e,"getModel",this,3)([])}},{key:"clone",value:function(){return oL(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return oL(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return xT(this,this.getModel().geometry)}},{key:"getSrc",value:function(){var t=this;if(this.getModel().usePlaceholder&&this.getModel().placeholder){var n=Wo.Ay.gameLaunchConfig.clientConfig.placeholders.find((function(e){return e.type===Wo.W1.IMAGE&&e.name===t.getModel().placeholder}));if(n)return n.value}return oL(e,"getSrc",this,3)([])}},{key:"getOpacity",value:function(){return this.getModel().opacity}},{key:"getAlt",value:function(){return this.getModel().alt}},{key:"onClick",value:function(){this.getLinkType()===lT.STORY?Wo.Ay.openStory({id:this.getLink()}):this.getLinkType()===lT.GAME?Wo.Ay.openGameInstance({id:this.getLink()}):this.getLinkType()===lT.URL?Wo.Ay.openUrl({url:this.getLink(),closeGameReader:!0}):this.getLinkType()===lT.CLOSE_GAME&&Wo.Ay.closeGameReader()}},{key:"getLink",value:function(){var t=this.getModel().linkTargets,e="web";return Wo.m0&&(e="android"),Wo.aR&&(e="ios"),null!=t&&null!=t[e]?t[e]:this.getModel().linkTarget}},{key:"getLinkType",value:function(){return this.getModel().linkType}}])}(JC);cL.type=cT.IMAGE,cL.regClass();var sL=function(){var t=cL,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),lL=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return tL(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?tL(t,2):void 0}}(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.")}()}(sL);function fL(t){return fL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fL(t)}function hL(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function pL(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,dL(r.key),r)}}function dL(t){var e=function(t){if("object"!=fL(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=fL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==fL(e)?e:e+""}function yL(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(yL=function(){return!!t})()}function vL(t,e,n,r){var o=gL(mL(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function gL(){return gL="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=mL(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},gL.apply(null,arguments)}function mL(t){return mL=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},mL(t)}function bL(t,e){return bL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},bL(t,e)}lL[0],lL[1];var wL=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=mL(e),function(t,e){if(e&&("object"==fL(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,yL()?Reflect.construct(e,n||[],mL(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},Object.assign(Object.assign({},GC()),{duration:0,muted:!0,thumbnail:{path:"",size:0,blurred:""}})),t)])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&bL(t,e)}(e,t),function(t,e){return e&&pL(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return vL(e,"getModel",this,3)([])}},{key:"clone",value:function(){return vL(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return vL(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return xT(this,this.getModel().geometry)}},{key:"getSrc",value:function(){return vL(e,"getSrc",this,3)([])}},{key:"getThumbnailPath",value:function(){var t;return null!==(t=this.getModel().thumbnail.resourceKey)&&void 0!==t?t:""}},{key:"getDuration",value:function(){return this.getModel().duration}},{key:"isMuted",value:function(){return this.getModel().muted}}])}(JC);wL.type=cT.VIDEO,wL.regClass();var AL,xL,EL=function(){var t=wL,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),SL=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return hL(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?hL(t,2):void 0}}(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.")}()}(EL);SL[0],SL[1],function(t){t.TEXT="text",t.PROMOTIONAL_CODE="promocode"}(AL||(AL={})),function(t){t[t.INIT=0]="INIT",t[t.FETCHED=1]="FETCHED",t[t.ERROR=2]="ERROR"}(xL||(xL={}));var OL=function(){return Object.assign(Object.assign({},HT()),{clipboardTarget:"",clipboardType:AL.TEXT,copiedText:"",copyIconVariant:1})};function kL(t){return kL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kL(t)}function _L(){_L=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==kL(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(kL(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function jL(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,PL(r.key),r)}}function PL(t){var e=function(t){if("object"!=kL(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=kL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==kL(e)?e:e+""}var IL=function(){return function(t,e){return e&&jL(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}),[{key:"request",value:function(t){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(this,void 0,void 0,_L().mark((function e(){return _L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Wo.Ay.sendIasApiRequest(t));case 1:case"end":return e.stop()}}),e)})))}}])}();function TL(t){return TL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},TL(t)}function CL(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,LL(r.key),r)}}function LL(t){var e=function(t){if("object"!=TL(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=TL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==TL(e)?e:e+""}var RL,ML=function(){return function(t,e){return e&&CL(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}),[{key:"getByKey",value:function(t){return Wo.Ay.gameLocalData.get(t)}},{key:"setByKey",value:function(t,e){Wo.Ay.gameLocalData.set(t,e)}}])}(),BL=.85,FL=9/16,NL=function(t){var e="";return(/^((blob:)|(data:)|(http[s]:))/.test(t)||""===t)&&(e=t),Wo.Ay.getDynamicResourceAsset(t,e)},DL=null,UL=function(t){DL=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Promise.resolve().then((function(){return t.apply(void 0,n)}))}};!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.DEMO=1]="DEMO",t[t.MOCK=2]="MOCK"}(RL||(RL={}));var GL=function(){return RL.DEFAULT},QL=null,zL=function(t){return t};function YL(t){return YL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YL(t)}function HL(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function VL(){VL=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==YL(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(YL(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}function $L(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,WL(r.key),r)}}function WL(t){var e=function(t){if("object"!=YL(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=YL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==YL(e)?e:e+""}function qL(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(qL=function(){return!!t})()}function JL(t,e,n,r){var o=KL(XL(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function KL(){return KL="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=XL(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},KL.apply(null,arguments)}function XL(t){return XL=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},XL(t)}function ZL(t,e){return ZL=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},ZL(t,e)}var tR=new IL,eR=new ML,nR=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=function(t,e,n){return e=XL(e),function(t,e){if(e&&("object"==YL(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,qL()?Reflect.construct(e,n||[],XL(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},OL()),t)])).apiRequest=tR,n.localStorage=eR,n.processTextViewContent=function(t){return t},n.copyTextContent=n.processTextViewContent(n.getContent()),n.$state=Xi(xL.INIT),n.setState=Ji("setState"),n.$state.on(n.setState,(function(t,e){return e})),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ZL(t,e)}(e,t),function(t,e){return e&&$L(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return JL(e,"getModel",this,3)([])}},{key:"clone",value:function(){return JL(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return JL(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return JL(e,"getGeometry",this,3)([])}},{key:"onClick",value:function(){if(this.isPromotionalCode){switch(this.$state.getState()){case xL.FETCHED:return fr.copy(this.getClipboardTarget()),!0;case xL.ERROR:this.fetchPromotionalCode()}return!1}return fr.copy(this.getClipboardTarget()),!0}},{key:"getClipboardTarget",value:function(){return this.getModel().clipboardTarget}},{key:"getCopiedText",value:function(){var t;return null!==(t=this.elementAdditionalData.copiedText)&&void 0!==t?t:""}},{key:"getCopyIconVariant",value:function(){return this.getModel().copyIconVariant}},{key:"isPromotionalCode",get:function(){return this.getModel().clipboardType===AL.PROMOTIONAL_CODE}},{key:"created",value:function(){this.isPromotionalCode&&this.fetchPromotionalCode()}},{key:"promotionalCodeKey",get:function(){return"_cp_g_".concat(this.getId(),"_pc")}},{key:"promotionalCodeFetchedAtKey",get:function(){return"_cp_g_".concat(this.getId(),"_pc_fetched_at")}},{key:"fetchPromotionalCode",value:function(){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(this,void 0,void 0,VL().mark((function t(){var e,n,r,o,i,a=this;return VL().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(GL()!==RL.MOCK){t.next=3;break}return this.setState(xL.FETCHED),t.abrupt("return");case 3:if(GL()!==RL.DEFAULT){t.next=10;break}if(null==(e=this.localStorage.getByKey(this.promotionalCodeKey))){t.next=10;break}return this.getModel().clipboardTarget=e,this.copyTextContent=this.processTextViewContent(e),this.setState(xL.FETCHED),t.abrupt("return");case 10:this.setState(xL.INIT),n="promotional-code/".concat(this.getClipboardTarget()),r={accept:"application/json","Content-Type":"application/json"},o={},GL()===RL.DEMO&&(o.demoMode=!0),i=this.apiRequest.request(zL({path:n,headers:r,data:o,method:"POST"})),Promise.all([i,new Promise((function(t,e){return setTimeout(t,300)}))]).then((function(t){var e=t[0],n=null,r=!1;200===e.status||201===e.status?(e.payload&&e.payload.code&&(n=e.payload.code),n?(a.getModel().clipboardTarget=n,a.copyTextContent=n,r=!0,a.setState(xL.FETCHED),201===e.status&&a.localStorage.setByKey(a.promotionalCodeFetchedAtKey,Math.round((new Date).getTime()/1e3)),a.localStorage.setByKey(a.promotionalCodeKey,n)):setTimeout((function(){return DL({content:a.elementAdditionalData.msgNoMoreCodes})}))):12163===e.status||12002===e.status?setTimeout((function(){return DL({content:a.elementAdditionalData.msgNetworkError})})):setTimeout((function(){return DL({content:a.elementAdditionalData.msgServiceError})})),r||(a.copyTextContent=a.elementAdditionalData.msgTryAgain,a.setState(xL.ERROR))}));case 17:case"end":return t.stop()}}),t,this)})))}}])}(dC);nR.type=cT.COPY,nR.regClass();var rR=function(){var t=nR,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),oR=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return HL(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?HL(t,2):void 0}}(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.")}()}(rR);function iR(t){return iR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},iR(t)}function aR(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function uR(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,cR(r.key),r)}}function cR(t){var e=function(t){if("object"!=iR(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=iR(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==iR(e)?e:e+""}function sR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(sR=function(){return!!t})()}function lR(t,e,n,r){var o=fR(hR(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function fR(){return fR="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=hR(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},fR.apply(null,arguments)}function hR(t){return hR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},hR(t)}function pR(t,e){return pR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},pR(t,e)}oR[0],oR[1];var dR=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=hR(e),function(t,e){if(e&&("object"==iR(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,sR()?Reflect.construct(e,n||[],hR(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},Object.assign(Object.assign({},VT()),{shareTarget:"",shareTargetFavicon:"",shareType:"url"})),t)])}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&pR(t,e)}(e,t),function(t,e){return e&&uR(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return lR(e,"getModel",this,3)([])}},{key:"clone",value:function(){return lR(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return lR(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return lR(e,"getGeometry",this,3)([])}},{key:"onClick",value:function(){if("url"===this.getShareType())return Wo.Ay.shareText(this.getShareTarget());if("slide"===this.getShareType()){if(null!=QL){var t="[data-element-id='"+this.getId()+"']";return QL(t)}return Promise.resolve(!1)}return Promise.resolve(!0)}},{key:"getShareTarget",value:function(){return this.getModel().shareTarget}},{key:"getShareType",value:function(){return this.getModel().shareType}},{key:"getShareTargetFavicon",value:function(){return this.getModel().shareTargetFavicon}}])}(kC);dR.type=cT.SHARE,dR.regClass();var yR,vR=function(){var t=dR,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),gR=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return aR(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?aR(t,2):void 0}}(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.")}()}(vR);function mR(t){return mR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mR(t)}gR[0],gR[1],function(t){t.PDF417="pdf417",t.QRCODE="qrcode",t.EAN13="ean13"}(yR||(yR={}));var bR=null,wR=0,AR=[],xR={};function ER(t){if(arguments.length){if(!(t instanceof Array)){n=0;for(var e=(t=new Array(+arguments[0])).length;n<e;n++)t[n]=null}}else{for(var n=wR-1;n>=0&&AR[n]!==1/0;n--);if(n<0)throw new Error("array-marker-not-found");t=AR.splice(n+1,wR-1-n),wR=n}return t.b=t,t.o=0,t}function SR(){for(var t=wR-1;t>=0&&AR[t]!==1/0;t-=2)if(AR[t-1]===1/0)throw new Error("dict-malformed-stack");if(t<0)throw new Error("dict-marker-not-found");for(var e=new Map,n=t+1;n<wR;n+=2){var r=AR[n],o=mR(r);if("number"==o||"string"==o)e.set(r,AR[n+1]);else{if(!(r instanceof Uint8Array))throw new Error("dict-not-a-valid-key("+r+")");e.set(kR(r),AR[n+1])}}return wR=t,e}function OR(t){var e=mR(t);if("number"===e)return new Uint8Array(t);"string"!==e&&(t=""+t);for(var n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}function kR(t){return t instanceof Uint8Array?String.fromCharCode.apply(null,t):""+t}function _R(t){return t instanceof Uint8Array?0|String.fromCharCode.apply(null,t).replace(/\0+$/,""):""+t|0}function jR(t,e,n){return function(t,e){if("string"==typeof t&&(t=OR(t)),e instanceof Uint8Array)for(var n=0,r=e.length;n<r;n++)t[n]=e[n];else for(n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return e.length<t.length?t.subarray(0,e.length):t}(t,(~~e).toString(n).toUpperCase())}function PR(t,e){return t instanceof Uint8Array?t[e]:"string"==typeof t?t.charCodeAt(e):t instanceof Array?t.b[t.o+e]:e instanceof Uint8Array?t.get(kR(e)):t.get(e)}function IR(t,e,n){if(t instanceof Uint8Array)t[e]=n;else if(t instanceof Array)t.b[t.o+e]=n;else{if("object"!=mR(t))throw new Error("put-not-writable-"+mR(t));e instanceof Uint8Array?t.set(kR(e),n):t.set(e,n)}}function TR(t,e,n){if(t instanceof Uint8Array)return t.subarray(e,e+n);if(t instanceof Array){var r=new Array(n);return r.b=t.b,r.o=t.o+e,r}return t.substr(e,n)}function CR(t,e,n){if(t instanceof Uint8Array)if("string"==typeof n)for(var r=0,o=n.length;r<o;r++)t[e+r]=n.charCodeAt(r);else for(r=n.length-1;r>=0;r--)t[e+r]=n[r];else{if(!(t instanceof Array))throw new Error("putinterval-not-writable-"+mR(t));var i=t.b,a=e+t.o,u=n.b,c=n.o;for(r=0,o=n.length;r<o;r++)i[a+r]=u[c+r]}}function LR(t){if(null==t)return"nulltype";var e=mR(t);return"number"==e?t%1?"realtype":"integertype":"boolean"==e?"booleantype":"string"==e||t instanceof Uint8Array?"stringtype":"function"==e?"operatortype":t instanceof Array?"arraytype":"dicttype"}function RR(t,e){t instanceof Uint8Array||(t=OR(t));var n=t.length;if(1==e.length)for(var r=1,o=e instanceof Uint8Array?e[0]:e.charCodeAt(0),i=0;i<n&&t[i]!=o;i++);else{for(e instanceof Uint8Array||(e=OR(e)),r=e.length,o=e[0],i=0;i<n&&t[i]!=o;i++);for(;i<n;){for(var a=1;a<r&&t[i+a]===e[a];a++);if(a===r)break;for(i++;i<n&&t[i]!=o;i++);}}i<n?(AR[wR++]=t.subarray(i+r),AR[wR++]=t.subarray(i,i+r),AR[wR++]=t.subarray(0,i),AR[wR++]=!0):(AR[wR++]=t,AR[wR++]=!1)}function MR(t,e){if(t instanceof Uint8Array)for(var n=0,r=t.length;n<r&&(AR[wR++]=t[n],!e||!e());n++);else if(t instanceof Array){var o=t.b;for(n=t.o,r=t.o+t.length;n<r&&(AR[wR++]=o[n],!e||!e());n++);}else if("string"==typeof t)for(n=0,r=t.length;n<r&&(AR[wR++]=t.charCodeAt(n),!e||!e());n++);else if(t instanceof Map){var i=t.keys();for(n=0,r=t.size;n<r;n++){var a=i.next().value;if(AR[wR++]=a,AR[wR++]=t.get(a),e&&e())break}}else for(var a in t)if(AR[wR++]=a,AR[wR++]=t[a],e&&e())break}function BR(){for(;wR>0&&AR[--wR]!==1/0;);}function FR(){for(var t=wR-1;t>=0&&AR[t]!==1/0;t--);return wR-t-1}function NR(t){for(var e=0,n=t.length,r=t.b,o=t.o;e<n;e++)AR[wR++]=r[o+e]}function DR(t){for(var e=0,n=t.length,r=t.b,o=t.o+n-1;e<n;e++)r[o-e]=AR[--wR];AR[wR++]=t}function UR(t,e){if("string"==typeof t&&"string"==typeof e)return t==e;if(t instanceof Uint8Array&&e instanceof Uint8Array){if(t.length!=e.length)return!1;for(var n=0,r=t.length;n<r;n++)if(t[n]!=e[n])return!1;return!0}return t instanceof Uint8Array&&"string"==typeof e||e instanceof Uint8Array&&"string"==typeof t?(t instanceof Uint8Array?t=kR(t):e=kR(e),t==e):t==e}function GR(t,e){return!UR(t,e)}function QR(t,e){return t instanceof Uint8Array&&(t=kR(t)),e instanceof Uint8Array&&(e=kR(e)),t<e}function zR(t,e){return t instanceof Uint8Array&&(t=kR(t)),e instanceof Uint8Array&&(e=kR(e)),t<=e}function YR(t,e){return t instanceof Uint8Array&&(t=kR(t)),e instanceof Uint8Array&&(e=kR(e)),t>e}function HR(t,e){return t instanceof Uint8Array&&(t=kR(t)),e instanceof Uint8Array&&(e=kR(e)),t>=e}function VR(t,e){return"boolean"==typeof t?t&&e:t&e}function $R(t,e){return"boolean"==typeof t?t||e:t|e}function WR(t,e){return"boolean"==typeof t?!t&&e||t&&!e:t^e}function qR(t){return"boolean"==typeof t?!t:~t}var JR,KR=(JR=new Float32Array(1),function(t){return Number.isInteger(t)?t:(JR[0]=t,JR[0])});function XR(){var t=AR[--wR],e=AR[--wR];throw new Error(kR(e)+": "+kR(t))}function ZR(){var t=AR[--wR],e=AR[wR-1],n=e instanceof Map;for(var r in t){var o;if(n){if(!e.has(r))continue;o=e.get(r)}else{if(!e.hasOwnProperty(r))continue;o=e[r]}var i=t[r],a=mR(i);if(null==i||"number"==a){if(!isFinite(+o))throw new Error("bwipp.invalidOptionType: "+r+": not a realtype: "+o);"string"==typeof o&&(o=+o,n?e.set(r,o):e[r]=o)}else if("boolean"==a){if(!0!==o&&!1!==o){if(null==o||(0|o)===o)o=!!o;else if("true"==o)o=!0;else{if("false"!=o)throw new Error("bwipp.invalidOptionType: "+r+": not a booleantype: "+o);o=!1}n?e.set(r,o):e[r]=o}}else if("string"==a||i instanceof Uint8Array)if("number"==typeof o)o=""+o,n?e.set(r,o):e[r]=o;else if("string"!=typeof o&&!(o instanceof Uint8Array))throw new Error("bwipp.invalidOptionType: "+r+": not a stringtype: "+o);t[r]=o}}function tM(t){t.$ctx||(t.$ctx={});var e=Object.getPrototypeOf(xR);Object.setPrototypeOf(t.$ctx,e),Object.setPrototypeOf(xR,t.$ctx)}function eM(){xR=Object.create(xR),tM(eM),xR.fncvals=AR[--wR],xR.barcode=AR[--wR];var t="parse";xR[t]=PR(xR.fncvals,t),delete xR.fncvals[t];var e="parsefnc";xR[e]=PR(xR.fncvals,e),delete xR.fncvals[e];var n="parseonly",r=void 0!==PR(xR.fncvals,n);xR[n]=r,delete xR.fncvals[n];var o="eci",i=void 0!==PR(xR.fncvals,o);if(xR[o]=i,delete xR.fncvals[o],!eM.__225__){xR=Object.create(xR),AR[wR++]=1/0;var a=ER(["NUL","SOH","STX","ETX","EOT","ENQ","ACK","BEL","BS","TAB","LF","VT","FF","CR","","","DLE","DC1","DC2","DC3","DC4","NAK","SYN","ETB","CAN","EM","SUB","ESC","FS","GS","RS","US"]);AR[wR++]=0;for(var u=0,c=a.length;u<c;u++){var s=AR[--wR];AR[wR++]=PR(a,u),AR[wR++]=s,AR[wR++]=KR(s+1)}for(var l in wR--,xR.ctrl=SR(),xR)xR.hasOwnProperty(l)&&(eM.$ctx[l]=xR[l]);eM.__225__=1,xR=Object.getPrototypeOf(xR)}for(xR.msg=ER(xR.barcode.length),xR.j=0,AR[wR++]=xR.barcode;;){RR(AR[--wR],"^");var f=AR[--wR],h=AR[--wR];AR[wR++]=f,AR[wR++]=h.length,AR[wR++]=xR.msg,AR[wR++]=xR.j,AR[wR++]=h,AR[wR++]=1/0;var p=AR[--wR],d=AR[--wR];AR[wR++]=p,MR(d);var y=ER(),v=AR[--wR];if(CR(AR[--wR],v,y),xR.j=KR(AR[--wR]+xR.j),!AR[--wR])break;wR--;for(var g=0;g<1;g++){if(VR(qR(xR.parse),qR(xR.parsefnc))){IR(xR.msg,xR.j,94),xR.j=KR(xR.j+1);break}if(IR(xR.msg,xR.j,94),xR.j=KR(xR.j+1),xR.parse){var m=AR[--wR];if(AR[wR++]=m,m.length>=3){var b=AR[--wR],w=TR(b,0,3),A=xR.ctrl,x=void 0!==PR(A,w);if(AR[wR++]=b,AR[wR++]=A,AR[wR++]=w,x){xR.j=KR(xR.j-1);var E=AR[--wR];IR(xR.msg,xR.j,PR(AR[--wR],E)),xR.j=KR(xR.j+1);var S=AR[--wR];AR[wR++]=TR(S,3,S.length-3);break}wR-=2}var O=AR[--wR];if(AR[wR++]=O,O.length>=2){var k=AR[--wR],_=TR(k,0,2),j=xR.ctrl,P=void 0!==PR(j,_);if(AR[wR++]=k,AR[wR++]=j,AR[wR++]=_,P){xR.j=KR(xR.j-1);var I=AR[--wR];IR(xR.msg,xR.j,PR(AR[--wR],I)),xR.j=KR(xR.j+1);var T=AR[--wR];AR[wR++]=TR(T,2,T.length-2);break}wR-=2}var C=AR[--wR];if(AR[wR++]=C,C.length>=3){var L=AR[--wR],R=TR(L,0,3);AR[wR++]=L,AR[wR++]=!0;for(var M=0,B=R.length;M<B;M++){var F=PR(R,M);(F<48||F>57)&&(wR--,AR[wR++]=!1)}if(AR[--wR]){var N=AR[--wR],D=_R(TR(N,0,3));AR[wR++]=N,AR[wR++]=D,D>255&&(wR-=2,AR[wR++]="bwipp.invalidOrdinal#282",AR[wR++]="Ordinal must be 000 to 255",XR()),xR.j=KR(xR.j-1),IR(xR.msg,xR.j,AR[--wR]),xR.j=KR(xR.j+1);var U=AR[--wR];AR[wR++]=TR(U,3,U.length-3)}}}if($R(xR.parseonly,qR(xR.parsefnc))||94!=PR(xR.msg,KR(xR.j-1)))break;xR.j=KR(xR.j-1);var G=AR[--wR];AR[wR++]=G,G.length<3&&(wR--,AR[wR++]="bwipp.truncatedFNC#301",AR[wR++]="Function character truncated",XR());var Q=AR[--wR];if(AR[wR++]=Q,94==PR(Q,0)){IR(xR.msg,xR.j,94),xR.j=KR(xR.j+1);var z=AR[--wR];AR[wR++]=TR(z,1,z.length-1);break}var Y=AR[--wR];if(AR[wR++]=Y,UR(TR(Y,0,3),"ECI")&&xR.eci){var H=AR[--wR];AR[wR++]=H,H.length<9&&(wR--,AR[wR++]="bwipp.truncatedECI#312",AR[wR++]="ECI truncated",XR());var V=AR[--wR],$=TR(V,3,6);AR[wR++]=V,AR[wR++]=$;for(var W=0,q=$.length;W<q;W++){var J=PR($,W);(J<48||J>57)&&(wR-=2,AR[wR++]="bwipp.invalidECI#318",AR[wR++]="ECI must be 000000 to 999999",XR())}var K=AR[--wR];AR[wR++]=0,MR(K,(function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=10*KR(e-KR(t-48))})),IR(xR.msg,xR.j,~~(AR[--wR]/10)-1e6),xR.j=KR(xR.j+1);var X=AR[--wR];AR[wR++]=TR(X,9,X.length-9);break}var Z=AR[--wR];AR[wR++]=Z,Z.length<4&&(wR--,AR[wR++]="bwipp.truncatedFNC#329",AR[wR++]="Function character truncated",XR());var tt=AR[--wR],et=TR(tt,0,4),nt=void 0!==PR(xR.fncvals,et);if(AR[wR++]=tt,AR[wR++]=et,!nt){var rt=AR[--wR],ot=OR(rt.length+28);CR(ot,28,rt),CR(ot,0,"Unknown function character: ");var it=AR[--wR];AR[wR++]=ot,AR[wR++]=it,wR--;var at=AR[--wR];AR[wR++]="bwipp.unknownFNC#335",AR[wR++]=at,XR()}IR(xR.msg,xR.j,PR(xR.fncvals,AR[--wR])),xR.j=KR(xR.j+1);var ut=AR[--wR];AR[wR++]=TR(ut,4,ut.length-4);break}}if(qR(xR.parseonly))AR[wR++]=TR(xR.msg,0,xR.j);else{AR[wR++]=OR(xR.j);for(var ct=0,st=KR(xR.j-1);ct<=st;ct+=1){var lt=AR[--wR];IR(lt,ct,PR(xR.msg,ct)),AR[wR++]=lt}}xR=Object.getPrototypeOf(xR),xR=Object.getPrototypeOf(xR)}function nM(){if(!xR.bwipjs_dontdraw){(xR=Object.create(xR)).width=1,xR.height=1,xR.bordercolor="unset",xR.barcolor="unset",xR.backgroundcolor="unset",xR.colormap="unset",xR.dotty=!1,xR.inkspread=null,xR.inkspreadh=null,xR.inkspreadv=null,xR.includetext=!1,xR.txt=ER([]),xR.textcolor="unset",xR.textxalign="unset",xR.textyalign="unset",xR.textfont="OCR-B",xR.textsize=10,xR.textxoffset=0,xR.textyoffset=0,xR.textgaps=0,xR.alttext="",xR.showborder=!1,xR.borderleft=0,xR.borderright=0,xR.bordertop=0,xR.borderbottom=0,xR.borderwidth=.25,MR(AR[--wR],(function(){var t=AR[--wR];xR[AR[--wR]]=t})),AR[wR++]=xR.opt,delete xR.opt,AR[wR++]=xR,ZR(),wR--,UR(xR.inkspread,null)&&(xR.inkspread=0),UR(xR.inkspreadh,null)&&(xR.inkspreadh=xR.inkspread),UR(xR.inkspreadv,null)&&(xR.inkspreadv=xR.inkspread),xR.textsize<=0&&(AR[wR++]="bwipp.renmatrixBadTextsize#3937",AR[wR++]="The font size must be greater than zero",XR()),xR.xyget=function(){var t=AR[--wR],e=PR(xR.pixs,KR(AR[--wR]+t*xR.pixx));AR[wR++]=e},xR.cget=function(){var t=AR[--wR],e=PR(xR.cache,KR(AR[--wR]+t*xR.pixx)),n=AR[--wR];AR[wR++]=VR(n,e)},xR.cput=function(){var t=AR[--wR];if(AR[wR++]=t,t%4==0){var e=AR[--wR],n=AR[--wR],r=AR[--wR],o=xR.pixx,i=xR.cache;IR(i,KR(r+n*o),$R(PR(i,KR(r+n*o)),e))}else wR-=3},xR.abcd=function(){AR[wR++]=OR(4),AR[wR++]=0,AR[wR++]=1/0;var t=AR[--wR],e=AR[--wR],n=AR[--wR],r=AR[--wR],o=KR(AR[--wR]+r*xR.pixx);AR[wR++]=n,AR[wR++]=e,AR[wR++]=t,AR[wR++]=o,NR(TR(xR.pixs,o,2));var i=AR[--wR],a=AR[--wR],u=TR(xR.pixs,KR(AR[--wR]+xR.pixx),2);AR[wR++]=a,AR[wR++]=i,NR(u);for(var c=ER(),s=0,l=c.length;s<l;s++){var f=AR[--wR],h=AR[--wR];IR(h,f,KR(PR(c,s)+48)),AR[wR++]=h,AR[wR++]=KR(f+1)}wR--},xR.right=function(){1!=xR.dir&&(AR[wR++]=xR.x,AR[wR++]=xR.y,AR[wR++]=xR.dir,xR.cput(),AR[wR++]=ER([xR.x,xR.y])),xR.x=xR.x+1,xR.dir=1},xR.down=function(){2!=xR.dir&&(AR[wR++]=xR.x,AR[wR++]=xR.y,AR[wR++]=xR.dir,xR.cput(),AR[wR++]=ER([xR.x,xR.y])),xR.y=xR.y+1,xR.dir=2},xR.left=function(){4!=xR.dir&&(AR[wR++]=xR.x,AR[wR++]=xR.y,AR[wR++]=xR.dir,xR.cput(),AR[wR++]=ER([xR.x,xR.y])),xR.x=xR.x-1,xR.dir=4},xR.up=function(){8!=xR.dir&&(AR[wR++]=xR.x,AR[wR++]=xR.y,AR[wR++]=xR.dir,xR.cput(),AR[wR++]=ER([xR.x,xR.y])),xR.y=xR.y-1,xR.dir=8},xR.trace=function(){xR.y=AR[--wR],xR.x=AR[--wR],AR[wR++]="dir",AR[wR++]=KR(xR.x+1),AR[wR++]=KR(xR.y+1),xR.xyget();var t=1==AR[--wR]?8:4;for(xR[AR[--wR]]=t,xR.sx=xR.x,xR.sy=xR.y,xR.sdir=xR.dir,AR[wR++]=1/0;;){AR[wR++]=xR.x,AR[wR++]=xR.y,xR.abcd();for(var e=0;e<1;e++){var n=AR[--wR];if(AR[wR++]=n,UR(n,"0001")||UR(n,"0011")||UR(n,"1011")){wR--,xR.right();break}var r=AR[--wR];if(AR[wR++]=r,UR(r,"0010")||UR(r,"1010")||UR(r,"1110")){wR--,xR.down();break}var o=AR[--wR];if(AR[wR++]=o,UR(o,"1000")||UR(o,"1100")||UR(o,"1101")){wR--,xR.left();break}var i=AR[--wR];if(AR[wR++]=i,UR(i,"0100")||UR(i,"0101")||UR(i,"0111")){wR--,xR.up();break}var a=AR[--wR];if(AR[wR++]=a,UR(a,"1001")){if(2==xR.dir){wR--,xR.left();break}wR--,xR.right();break}if(1==xR.dir){wR--,xR.down();break}wR--,xR.up();break}if(UR(xR.x,xR.sx)&&UR(xR.y,xR.sy)&&xR.dir==xR.sdir)break}DR(ER(FR()));var u=AR[--wR],c=AR[--wR];AR[wR++]=u,AR[wR++]=c,wR--},xR.drawlayer=function(){xR.pixsorig=xR.pixs,xR.pixs=AR[--wR],AR[wR++]=1/0;for(var t=0,e=xR.pixx+2;t<e;t++)AR[wR++]=0;for(var n=0,r=xR.pixx,o=xR.pixs.length-1;r<0?n>=o:n<=o;n+=r)AR[wR++]=0,NR(TR(xR.pixs,n,xR.pixx)),AR[wR++]=0;for(var i=0,a=xR.pixx+2;i<a;i++)AR[wR++]=0;xR.pixs=ER(),xR.pixx=xR.pixx+2,xR.pixy=xR.pixy+2,AR[wR++]=1/0;for(var u=0,c=xR.pixs.length;u<c;u++)AR[wR++]=0;xR.cache=ER(),AR[wR++]=1/0;for(var s=0,l=xR.pixy-2;s<=l;s+=1){xR.j=s;for(var f=0,h=xR.pixx-2;f<=h;f+=1){xR.i=f,AR[wR++]="k",AR[wR++]=xR.i,AR[wR++]=xR.j,xR.abcd();var p=AR[--wR];xR[AR[--wR]]=p,(UR(xR.k,"0001")||UR(xR.k,"1001"))&&(AR[wR++]=8,AR[wR++]=xR.i,AR[wR++]=xR.j,xR.cget(),0==AR[--wR]&&(AR[wR++]=xR.i,AR[wR++]=xR.j,xR.trace())),UR(xR.k,"1110")&&(AR[wR++]=4,AR[wR++]=xR.i,AR[wR++]=xR.j,xR.cget(),0==AR[--wR]&&(AR[wR++]=xR.i,AR[wR++]=xR.j,xR.trace()))}}xR.paths=ER(),xR.pixx=xR.pixx-2,xR.pixy=xR.pixy-2,bR.newpath();for(var d=xR.paths,y=0,v=d.length;y<v;y++){xR.p=PR(d,y),xR.len=xR.p.length,NR(PR(xR.p,xR.len-1)),NR(PR(xR.p,0));for(var g=0,m=xR.len-1;g<=m;g+=1){xR.i=g,NR(PR(xR.p,(xR.i+1)%xR.len));var b=AR[--wR],w=AR[--wR],A=AR[--wR],x=AR[--wR],E=AR[--wR],S=AR[--wR];if(AR[wR++]=x,AR[wR++]=A,AR[wR++]=w,AR[wR++]=b,AR[wR++]=S,AR[wR++]=x,AR[wR++]=xR.inkspreadh,QR(b,E)){var O=AR[--wR],k=AR[--wR];AR[wR++]=KR(k+O)}else{var _=AR[--wR],j=AR[--wR];AR[wR++]=KR(j-_)}var P=AR[--wR],I=AR[--wR],T=AR[--wR],C=AR[--wR],L=AR[--wR];if(AR[wR++]=L,AR[wR++]=P,AR[wR++]=C,AR[wR++]=T,AR[wR++]=L,AR[wR++]=xR.inkspreadv,YR(C,I)){var R=AR[--wR],M=AR[--wR];AR[wR++]=KR(M+R)}else{var B=AR[--wR],F=AR[--wR];AR[wR++]=KR(F-B)}var N=AR[--wR],D=AR[--wR],U=AR[--wR],G=AR[--wR];if(AR[wR++]=U,AR[wR++]=D,AR[wR++]=G,AR[wR++]=KR(xR.pixy-N),0==xR.i){var Q=AR[--wR];bR.moveto(AR[--wR],Q)}else{var z=AR[--wR];bR.lineto(AR[--wR],z)}}bR.closepath(),wR-=4}bR.fill(),xR.pixs=xR.pixsorig},xR.drawlayerdots=function(){xR.pixsorig=xR.pixs,xR.pixs=AR[--wR],bR.newpath();for(var t=0,e=xR.pixs.length-1;t<=e;t+=1)xR.x=t%xR.pixx,xR.y=~~(t/xR.pixx),AR[wR++]=xR.x,AR[wR++]=xR.y,xR.xyget(),1==AR[--wR]&&(bR.moveto(KR(xR.x+.5),KR(xR.pixy-xR.y-.5)),bR.arc(KR(xR.x+.5),KR(xR.pixy-xR.y-.5),KR(.5-xR.inkspread),0,360,1));bR.fill(),xR.pixs=xR.pixsorig},bR.save();var t=bR.currpos();if(bR.translate(t.x,t.y),xR.inkspread=xR.inkspread/2,xR.inkspreadh=xR.inkspreadh/2,xR.inkspreadv=xR.inkspreadv/2,bR.scale(xR.width/xR.pixx*72,xR.height/xR.pixy*72),xR.tl=ER([-KR(xR.borderleft+xR.borderwidth/2),KR(xR.pixy+xR.bordertop+xR.borderwidth/2)]),xR.tr=ER([KR(xR.pixx+xR.borderright+xR.borderwidth/2),KR(xR.pixy+xR.bordertop+xR.borderwidth/2)]),xR.bl=ER([-KR(xR.borderleft+xR.borderwidth/2),-KR(xR.borderbottom+xR.borderwidth/2)]),xR.br=ER([KR(xR.pixx+xR.borderright+xR.borderwidth/2),-KR(xR.borderbottom+xR.borderwidth/2)]),GR(xR.backgroundcolor,"unset")){bR.save(),bR.newpath(),NR(xR.bl);var e=AR[--wR];bR.moveto(AR[--wR],e);for(var n=ER([xR.br,xR.tr,xR.tl]),r=0,o=n.length;r<o;r++){NR(PR(n,r));var i=AR[--wR];bR.lineto(AR[--wR],i)}bR.closepath(),bR.setcolor(xR.backgroundcolor),bR.fill(),bR.restore()}if(xR.showborder){bR.save(),bR.newpath(),NR(xR.bl);var a=AR[--wR];bR.moveto(AR[--wR],a);for(var u=ER([xR.br,xR.tr,xR.tl]),c=0,s=u.length;c<s;c++){NR(PR(u,c));var l=AR[--wR];bR.lineto(AR[--wR],l)}bR.closepath(),GR(xR.bordercolor,"unset")&&bR.setcolor(xR.bordercolor),bR.setlinewidth(KR(xR.borderwidth-2*xR.inkspread)),bR.stroke(),bR.restore()}if(UR(xR.colormap,"unset")){var f=new Map([[1,xR.barcolor]]);xR.colormap=f}for(var h=xR.colormap,p=h.size,d=h.keys(),y=0;y<p;y++){var v=d.next().value,g=h.get(v);AR[wR++]=v,AR[wR++]=g,GR(g,"unset")?bR.setcolor(AR[--wR]):wR--,xR.key=AR[--wR],AR[wR++]=1/0;for(var m=xR.pixs,b=0,w=m.length;b<w;b++){var A=UR(PR(m,b),xR.key)?1:0;AR[wR++]=A}var x=ER();AR[wR++]=x,xR.dotty?xR.drawlayerdots():xR.drawlayer()}if(GR(xR.textcolor,"unset")&&bR.setcolor(xR.textcolor),xR.includetext)if(UR(xR.textxalign,"unset")&&UR(xR.textyalign,"unset")&&UR(xR.alttext,"")){xR.s=0,xR.fn="";for(var E=xR.txt,S=0,O=E.length;S<O;S++){MR(PR(E,S));var k=AR[--wR],_=AR[--wR];if(AR[wR++]=_,AR[wR++]=k,k!=xR.s||GR(_,xR.fn)){var j=AR[--wR];AR[wR++]=j,j<=0&&(wR-=5,AR[wR++]="bwipp.renmatrixFontTooSmall#4177",AR[wR++]="The font size is too small",XR());var P=AR[--wR],I=AR[--wR];xR.s=P,xR.fn=I,bR.selectfont(I,P)}else wR-=2;var T=AR[--wR];bR.moveto(AR[--wR],T),bR.show(AR[--wR],0,0)}}else{if(bR.selectfont(xR.textfont,xR.textsize),UR(xR.alttext,"")){AR[wR++]=1/0;for(var C=xR.txt,L=0,R=C.length;L<R;L++)MR(PR(PR(C,L),0));xR.txt=ER(),xR.tstr=OR(xR.txt.length);for(var M=0,B=xR.txt.length-1;M<=B;M+=1)IR(xR.tstr,M,PR(xR.txt,M))}else xR.tstr=xR.alttext;if(0==xR.tstr.length)AR[wR++]=0;else{bR.save(),bR.newpath(),bR.moveto(0,0),bR.charpath("0",!1);var F=bR.pathbbox();bR.restore(),AR[wR++]=F.ury}xR.textascent=AR[--wR];var N=bR.stringwidth(xR.tstr);xR.textwidth=KR(N.w+(xR.tstr.length-1)*xR.textgaps),xR.textxpos=KR(xR.textxoffset+KR(xR.pixx-xR.textwidth)/2),UR(xR.textxalign,"left")&&(xR.textxpos=xR.textxoffset),UR(xR.textxalign,"right")&&(xR.textxpos=KR(xR.pixx-xR.textxoffset-xR.textwidth)),UR(xR.textxalign,"offleft")&&(xR.textxpos=-KR(xR.textwidth+xR.textxoffset)),UR(xR.textxalign,"offright")&&(xR.textxpos=xR.pixx+xR.textxoffset),UR(xR.textxalign,"justify")&&xR.textwidth<xR.pixx&&(xR.textxpos=0,xR.textgaps=KR(xR.pixx-xR.textwidth)/(xR.tstr.length-1)),xR.textypos=-KR(KR(xR.textyoffset+xR.textascent)+1),UR(xR.textyalign,"above")&&(xR.textypos=xR.textyoffset+xR.pixy+1),UR(xR.textyalign,"center")&&(xR.textypos=KR(xR.textyoffset+KR(xR.pixy-xR.textascent)/2)),bR.moveto(xR.textxpos,xR.textypos),bR.show(xR.tstr,xR.textgaps,0)}bR.restore(),xR=Object.getPrototypeOf(xR)}}function rM(){if((xR=Object.create(xR)).dontdraw=!1,xR.includetext=!1,xR.textfont="OCR-B",xR.textsize=12,xR.textxoffset=0,xR.textyoffset=null,xR.height=.7,AR[wR++]=xR,ZR(),xR.options=AR[--wR],xR.barcode=AR[--wR],UR(xR.textyoffset,null)&&(xR.textyoffset=KR(72*xR.height+1)),tM(rM),5!=xR.barcode.length&&(AR[wR++]="bwipp.ean5badLength#4422",AR[wR++]="EAN-5 add-on must be 5 digits",XR()),MR(xR.barcode,(function(){var t=AR[--wR];(t<48||t>57)&&(AR[wR++]="bwipp.ean5badCharacter#4426",AR[wR++]="EAN-5 add-on must contain only digits",XR())})),!rM.__4446__){for(var t in(xR=Object.create(xR)).encs=ER(["3211","2221","2122","1411","1132","1231","1114","1312","1213","3112","112","11"]),xR.barchars="0123456789",xR.mirrormaps=ER(["11000","10100","10010","10001","01100","00110","00011","01010","01001","00101"]),xR)xR.hasOwnProperty(t)&&(rM.$ctx[t]=xR[t]);rM.__4446__=1,xR=Object.getPrototypeOf(xR)}xR.checksum=0;for(var e=0;e<=4;e+=1)xR.i=e,xR.barchar=KR(PR(xR.barcode,xR.i)-48),xR.i%2==0?xR.checksum=KR(3*xR.barchar+xR.checksum):xR.checksum=KR(9*xR.barchar+xR.checksum);xR.checksum=xR.checksum%10,xR.mirrormap=PR(xR.mirrormaps,xR.checksum),xR.sbs=OR(31),xR.txt=ER(5);for(var n=0;n<=4;n+=1){if(xR.i=n,0==xR.i?CR(xR.sbs,0,PR(xR.encs,10)):CR(xR.sbs,6*(xR.i-1)+7,PR(xR.encs,11)),RR(xR.barchars,TR(xR.barcode,xR.i,1)),wR--,xR.indx=AR[--wR].length,wR-=2,xR.enc=PR(xR.encs,xR.indx),49==PR(xR.mirrormap,xR.i)){xR.enclen=xR.enc.length,xR.revenc=OR(xR.enclen);for(var r=0,o=xR.enclen-1;r<=o;r+=1)xR.j=r,xR.char=PR(xR.enc,xR.j),IR(xR.revenc,xR.enclen-xR.j-1,xR.char);xR.enc=xR.revenc}CR(xR.sbs,6*xR.i+3,xR.enc),IR(xR.txt,xR.i,ER([TR(xR.barcode,xR.i,1),9*(xR.i-1)+10+xR.textxoffset,xR.textyoffset,xR.textfont,xR.textsize]))}AR[wR++]=1/0,AR[wR++]=1/0;for(var i=xR.sbs,a=0,u=i.length;a<u;a++)AR[wR++]=PR(i,a)-48;var c=ER();AR[wR++]=1/0;for(var s=0;s<16;s++)AR[wR++]=xR.height;var l=ER();AR[wR++]=1/0;for(var f=0;f<16;f++)AR[wR++]=0;var h=ER();AR[wR++]="ren",AR[wR++]="renlinear",AR[wR++]="sbs",AR[wR++]=c,AR[wR++]="bhs",AR[wR++]=l,AR[wR++]="bbs",AR[wR++]=h,xR.includetext&&(AR[wR++]="txt",AR[wR++]=xR.txt),AR[wR++]="opt",AR[wR++]=xR.options,AR[wR++]="guardrightpos",AR[wR++]=5,AR[wR++]="guardrightypos",AR[wR++]=KR(xR.textyoffset+4),AR[wR++]="borderleft",AR[wR++]=12,AR[wR++]="borderright",AR[wR++]=5,AR[wR++]="bordertop",AR[wR++]=10;var p=SR();AR[wR++]=p,xR.dontdraw||sM(),xR=Object.getPrototypeOf(xR),xR=Object.getPrototypeOf(xR)}function oM(){if((xR=Object.create(xR)).dontdraw=!1,xR.includetext=!1,xR.textfont="OCR-B",xR.textsize=12,xR.textxoffset=0,xR.textyoffset=null,xR.height=.7,AR[wR++]=xR,ZR(),xR.options=AR[--wR],xR.barcode=AR[--wR],UR(xR.textyoffset,null)&&(xR.textyoffset=KR(72*xR.height+1)),tM(oM),2!=xR.barcode.length&&(AR[wR++]="bwipp.ean2badLength#4567",AR[wR++]="EAN-2 add-on must be 2 digits",XR()),MR(xR.barcode,(function(){var t=AR[--wR];(t<48||t>57)&&(AR[wR++]="bwipp.ean2badCharacter#4571",AR[wR++]="EAN-2 add-on must contain only digits",XR())})),!oM.__4588__){for(var t in(xR=Object.create(xR)).encs=ER(["3211","2221","2122","1411","1132","1231","1114","1312","1213","3112","112","11"]),xR.barchars="0123456789",xR.mirrormaps=ER(["00","01","10","11"]),xR)xR.hasOwnProperty(t)&&(oM.$ctx[t]=xR[t]);oM.__4588__=1,xR=Object.getPrototypeOf(xR)}xR.mirrormap=PR(xR.mirrormaps,_R(TR(xR.barcode,0,2))%4),xR.sbs=OR(13),xR.txt=ER(2);for(var e=0;e<=1;e+=1){if(xR.i=e,0==xR.i?CR(xR.sbs,0,PR(xR.encs,10)):CR(xR.sbs,6*(xR.i-1)+7,PR(xR.encs,11)),RR(xR.barchars,TR(xR.barcode,xR.i,1)),wR--,xR.indx=AR[--wR].length,wR-=2,xR.enc=PR(xR.encs,xR.indx),49==PR(xR.mirrormap,xR.i)){xR.enclen=xR.enc.length,xR.revenc=OR(xR.enclen);for(var n=0,r=xR.enclen-1;n<=r;n+=1)xR.j=n,xR.char=PR(xR.enc,xR.j),IR(xR.revenc,xR.enclen-xR.j-1,xR.char);xR.enc=xR.revenc}CR(xR.sbs,6*xR.i+3,xR.enc),IR(xR.txt,xR.i,ER([TR(xR.barcode,xR.i,1),9*(xR.i-1)+10+xR.textxoffset,xR.textyoffset,xR.textfont,xR.textsize]))}AR[wR++]=1/0,AR[wR++]=1/0;for(var o=xR.sbs,i=0,a=o.length;i<a;i++)AR[wR++]=PR(o,i)-48;var u=ER();AR[wR++]=1/0;for(var c=0;c<12;c++)AR[wR++]=xR.height;var s=ER();AR[wR++]=1/0;for(var l=0;l<12;l++)AR[wR++]=0;var f=ER();AR[wR++]="ren",AR[wR++]="renlinear",AR[wR++]="sbs",AR[wR++]=u,AR[wR++]="bhs",AR[wR++]=s,AR[wR++]="bbs",AR[wR++]=f,xR.includetext&&(AR[wR++]="txt",AR[wR++]=xR.txt),AR[wR++]="opt",AR[wR++]=xR.options,AR[wR++]="guardrightpos",AR[wR++]=5,AR[wR++]="guardrightypos",AR[wR++]=KR(xR.textyoffset+4),AR[wR++]="borderleft",AR[wR++]=12,AR[wR++]="borderright",AR[wR++]=5,AR[wR++]="bordertop",AR[wR++]=10;var h=SR();AR[wR++]=h,xR.dontdraw||sM(),xR=Object.getPrototypeOf(xR),xR=Object.getPrototypeOf(xR)}function iM(){(xR=Object.create(xR)).dontdraw=!1,xR.includetext=!1,xR.textfont="OCR-B",xR.textsize=12,xR.textxoffset=-11,xR.textyoffset=-4,xR.height=1,xR.addongap=12,xR.addontextfont="unset",xR.addontextsize=null,xR.addontextxoffset=null,xR.addontextyoffset=null,AR[wR++]=xR,ZR(),xR.options=AR[--wR],xR.barcode=AR[--wR],tM(iM),RR(xR.barcode," "),AR[--wR]?(xR.barcode=AR[--wR],wR--,xR.addon=AR[--wR]):(wR--,xR.addon=""),12!=xR.barcode.length&&13!=xR.barcode.length&&(AR[wR++]="bwipp.ean13badLength#4711",AR[wR++]="EAN-13 must be 12 or 13 digits",XR()),MR(xR.barcode,(function(){var t=AR[--wR];(t<48||t>57)&&(AR[wR++]="bwipp.ean13badCharacter#4715",AR[wR++]="EAN-13 must contain only digits",XR())})),0!=xR.addon.length&&2!=xR.addon.length&&5!=xR.addon.length&&(AR[wR++]="bwipp.ean13badAddOnLength#4719",AR[wR++]="Add-on for EAN-13 must be 2 or 5 digits",XR()),xR.pad=OR(13),xR.checksum=0;for(var t=0;t<=11;t+=1)xR.i=t,xR.barchar=KR(PR(xR.barcode,xR.i)-48),xR.i%2==0?xR.checksum=KR(xR.barchar+xR.checksum):xR.checksum=KR(3*xR.barchar+xR.checksum);if(xR.checksum=KR(10-xR.checksum%10)%10,13==xR.barcode.length&&PR(xR.barcode,12)!=KR(xR.checksum+48)&&(AR[wR++]="bwipp.ean13badCheckDigit#4737",AR[wR++]="Incorrect EAN-13 check digit provided",XR()),CR(xR.pad,0,xR.barcode),IR(xR.pad,12,KR(xR.checksum+48)),xR.barcode=xR.pad,!iM.__4760__){for(var e in(xR=Object.create(xR)).encs=ER(["3211","2221","2122","1411","1132","1231","1114","1312","1213","3112","111","11111","111"]),xR.barchars="0123456789",xR.mirrormaps=ER(["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"]),xR)xR.hasOwnProperty(e)&&(iM.$ctx[e]=xR[e]);iM.__4760__=1,xR=Object.getPrototypeOf(xR)}xR.sbs=OR(59),xR.txt=ER(13),CR(xR.sbs,0,PR(xR.encs,10)),xR.mirrormap=PR(xR.mirrormaps,PR(xR.barcode,0)-48),IR(xR.txt,0,ER([TR(xR.barcode,0,1),xR.textxoffset,xR.textyoffset,xR.textfont,xR.textsize]));for(var n=1;n<=6;n+=1){if(xR.i=n,RR(xR.barchars,TR(xR.barcode,xR.i,1)),wR--,xR.indx=AR[--wR].length,wR-=2,xR.enc=PR(xR.encs,xR.indx),49==PR(xR.mirrormap,xR.i-1)){xR.enclen=xR.enc.length,xR.revenc=OR(xR.enclen);for(var r=0,o=xR.enclen-1;r<=o;r+=1)xR.j=r,xR.char=PR(xR.enc,xR.j),IR(xR.revenc,xR.enclen-xR.j-1,xR.char);xR.enc=xR.revenc}CR(xR.sbs,4*(xR.i-1)+3,xR.enc),IR(xR.txt,xR.i,ER([TR(xR.barcode,xR.i,1),7*(xR.i-1)+15+xR.textxoffset,xR.textyoffset,xR.textfont,xR.textsize]))}CR(xR.sbs,27,PR(xR.encs,11));for(var i=7;i<=12;i+=1)xR.i=i,RR(xR.barchars,TR(xR.barcode,xR.i,1)),wR--,xR.indx=AR[--wR].length,wR-=2,xR.enc=PR(xR.encs,xR.indx),CR(xR.sbs,4*(xR.i-1)+8,xR.enc),IR(xR.txt,xR.i,ER([TR(xR.barcode,xR.i,1),7*(xR.i-1)+19+xR.textxoffset,xR.textyoffset,xR.textfont,xR.textsize]));CR(xR.sbs,56,PR(xR.encs,12)),AR[wR++]=1/0;for(var a=xR.sbs,u=0,c=a.length;u<c;u++)AR[wR++]=PR(a,u)-48;if(xR.sbs=ER(),xR.includetext){AR[wR++]=1/0,AR[wR++]=xR.height,AR[wR++]=xR.height;for(var s=0;s<12;s++)AR[wR++]=KR(xR.height-.075);AR[wR++]=xR.height,AR[wR++]=xR.height;for(var l=0;l<12;l++)AR[wR++]=KR(xR.height-.075);AR[wR++]=xR.height,AR[wR++]=xR.height,xR.bhs=ER(),AR[wR++]=1/0,AR[wR++]=0,AR[wR++]=0;for(var f=0;f<12;f++)AR[wR++]=.075;AR[wR++]=0,AR[wR++]=0;for(var h=0;h<12;h++)AR[wR++]=.075;AR[wR++]=0,AR[wR++]=0,xR.bbs=ER()}else{AR[wR++]=1/0;for(var p=0;p<30;p++)AR[wR++]=xR.height;xR.bhs=ER(),AR[wR++]=1/0;for(var d=0;d<30;d++)AR[wR++]=0;xR.bbs=ER(),xR.txt=ER([])}if(xR.guardrightypos=0,GR(xR.addon,"")){AR[wR++]=1/0,AR[wR++]="dontdraw",AR[wR++]=!0,AR[wR++]="includetext",AR[wR++]=!0,AR[wR++]="height",AR[wR++]=KR(xR.height-.15),AR[wR++]="textxoffset",GR(xR.addontextxoffset,null)?AR[wR++]=xR.addontextxoffset:AR[wR++]=95+xR.addongap,GR(xR.addontextyoffset,null)&&(AR[wR++]="textyoffset",AR[wR++]=xR.addontextyoffset),AR[wR++]="textsize",GR(xR.addontextsize,null)?AR[wR++]=xR.addontextsize:AR[wR++]=xR.textsize;var y=GR(xR.addontextfont,"unset")?xR.addontextfont:xR.textfont;AR[wR++]="textfont",AR[wR++]=y,xR.addopts=SR(),2==xR.addon.length&&(AR[wR++]=xR.addon,AR[wR++]=xR.addopts,oM()),5==xR.addon.length&&(AR[wR++]=xR.addon,AR[wR++]=xR.addopts,rM()),xR.addcode=AR[--wR],AR[wR++]=1/0,NR(xR.sbs),AR[wR++]=xR.addongap,NR(PR(xR.addcode,"sbs")),xR.sbs=ER(),AR[wR++]=1/0,NR(xR.bhs),MR(PR(xR.addcode,"bhs"),(function(){var t=AR[--wR];AR[wR++]=KR(t-.075)})),xR.bhs=ER(),AR[wR++]=1/0,NR(xR.bbs),MR(PR(xR.addcode,"bbs"),(function(){var t=AR[--wR];AR[wR++]=KR(t+.075)})),xR.bbs=ER(),AR[wR++]=1/0,NR(xR.txt),NR(PR(xR.addcode,"txt")),xR.txt=ER(),xR.guardrightypos=72*xR.height-6}AR[wR++]=1/0,AR[wR++]="ren",AR[wR++]="renlinear",AR[wR++]="sbs",AR[wR++]=xR.sbs,AR[wR++]="bhs",AR[wR++]=xR.bhs,AR[wR++]="bbs",AR[wR++]=xR.bbs,AR[wR++]="txt",AR[wR++]=xR.txt,AR[wR++]="opt",AR[wR++]=xR.options,AR[wR++]="guardrightpos",UR(xR.addon,"")?AR[wR++]=7:AR[wR++]=5,AR[wR++]="guardrightypos",AR[wR++]=xR.guardrightypos,AR[wR++]="borderleft",AR[wR++]=11,AR[wR++]="borderright",UR(xR.addon,"")?AR[wR++]=7:AR[wR++]=5,AR[wR++]="bordertop",AR[wR++]=0,AR[wR++]="borderbottom",AR[wR++]=5;var v=SR();AR[wR++]=v,xR.dontdraw||sM(),xR=Object.getPrototypeOf(xR),xR=Object.getPrototypeOf(xR)}function aM(){(xR=Object.create(xR)).dontdraw=!1,xR.includetext=!1,xR.height=4,AR[wR++]=xR,ZR(),xR.options=AR[--wR],xR.barcode=AR[--wR],(xR.barcode.length<1||xR.barcode.length>8)&&(AR[wR++]="bwipp.pharmacode2BadLength#10413",AR[wR++]="Two-track Pharmacode must be 1 to 6 digits",XR()),MR(xR.barcode,(function(){var t=AR[--wR];(t<48||t>57)&&(AR[wR++]="bwipp.pharmacode2badCharacter#10417",AR[wR++]="Two-track Pharmacode must contain only digits",XR())}));var t=_R(xR.barcode);(t<4||t>64570080)&&(AR[wR++]="bwipp.pharmacode2badValue#10421",AR[wR++]="Two-track Pharmacode value must be between 4 and 64570080",XR()),xR.txt=ER(xR.barcode.length);for(var e=0,n=xR.barcode.length-1;e<=n;e+=1)xR.i=e,IR(xR.txt,xR.i,ER([TR(xR.barcode,xR.i,1),0,0,"",0]));for(xR.encstr=OR(16),xR.sbs=ER(32),xR.bar=1/25.4*xR.height,xR.spc=1/25.4*72,xR.i=15,xR.val=_R(xR.barcode);0!=xR.val;){var r=xR.val%3;xR.val=~~(KR(xR.val-PR(ER([3,1,2]),r))/3),IR(xR.encstr,xR.i,PR(ER([2,0,1]),r)),xR.i=xR.i-1}xR.encstr=TR(xR.encstr,xR.i+1,15-xR.i),xR.bhs=ER(xR.encstr.length),xR.bbs=ER(xR.encstr.length);for(var o=0,i=xR.encstr.length-1;o<=i;o+=1){xR.i=o;var a=PR(xR.encstr,xR.i);IR(xR.bhs,xR.i,xR.bar*PR(ER([1,1,2]),a)),IR(xR.bbs,xR.i,PR(ER([0,xR.bar,0]),a))}AR[wR++]=1/0;var u=xR.bhs,c=xR.bbs;AR[wR++]=1/0;for(var s=0,l=2*xR.encstr.length;s<l;s++)AR[wR++]=xR.spc;var f=ER();AR[wR++]="ren",AR[wR++]="renlinear",AR[wR++]="bhs",AR[wR++]=u,AR[wR++]="bbs",AR[wR++]=c,AR[wR++]="sbs",AR[wR++]=f,AR[wR++]="txt",AR[wR++]=xR.txt,AR[wR++]="textxalign",AR[wR++]="center",AR[wR++]="textyoffset",AR[wR++]=4,AR[wR++]="opt",AR[wR++]=xR.options;var h=SR();AR[wR++]=h,xR.dontdraw||sM(),xR=Object.getPrototypeOf(xR)}function uM(){if((xR=Object.create(xR)).dontdraw=!1,xR.compact=!1,xR.eclevel=-1,xR.columns=0,xR.rows=0,xR.rowmult=3,xR.ccc=!1,xR.raw=!1,xR.parse=!1,xR.parsefnc=!1,AR[wR++]=xR,ZR(),xR.options=AR[--wR],xR.barcode=AR[--wR],UR(xR.barcode,"")&&(AR[wR++]="bwipp.pdf417emptyData#16820",AR[wR++]="The data must not be empty",XR()),-1!=xR.eclevel&&(xR.eclevel<0||xR.eclevel>8)&&(AR[wR++]="bwipp.pdf417InvalidErrorCorrectionLevel#16824",AR[wR++]="Valid error correction levels are 0 to 8",XR()),xR.ccc&&xR.raw&&(AR[wR++]="bwipp.pdf417cccAndRaw#16828",AR[wR++]="Cannot combine ccc and raw",XR()),xR.ccc&&xR.compact&&(AR[wR++]="bwipp.pdf417cccAndCompact#16832",AR[wR++]="Cannot combine ccc and compact",XR()),0!=xR.rows&&(xR.rows<3||xR.rows>90)&&(AR[wR++]="bwipp.pdf417invalidRows#16836",AR[wR++]="There must be between 3 and 90 rows",XR()),0!=xR.columns&&(xR.columns<1||xR.columns>30)&&(AR[wR++]="bwipp.pdf417invalidColumns#16840",AR[wR++]="There must be between 1 and 30 columns",XR()),xR.rowmult<=0&&(AR[wR++]="bwipp.pdf417badRowMult#16844",AR[wR++]="The row multiplier must be greater than zero",XR()),tM(uM),!uM.__16938__){(xR=Object.create(xR)).T=0,xR.N=1,xR.B=2,xR.A=0,xR.L=1,xR.M=2,xR.P=3,xR.tl=-1,xR.nl=-2,xR.bl=-3,xR.bl6=-4,xR.bs=-5,xR.al=-6,xR.ll=-7,xR.ml=-8,xR.pl=-9,xR.as=-10,xR.ps=-11,xR.charmaps=ER([ER(["A","a","0",";"]),ER(["B","b","1","<"]),ER(["C","c","2",">"]),ER(["D","d","3","@"]),ER(["E","e","4","["]),ER(["F","f","5",92]),ER(["G","g","6","]"]),ER(["H","h","7","_"]),ER(["I","i","8","`"]),ER(["J","j","9","~"]),ER(["K","k","&","!"]),ER(["L","l",13,13]),ER(["M","m",9,9]),ER(["N","n",",",","]),ER(["O","o",":",":"]),ER(["P","p","#",10]),ER(["Q","q","-","-"]),ER(["R","r",".","."]),ER(["S","s","$","$"]),ER(["T","t","/","/"]),ER(["U","u","+",'"']),ER(["V","v","%","|"]),ER(["W","w","*","*"]),ER(["X","x","=",40]),ER(["Y","y","^",41]),ER(["Z","z",xR.pl,"?"]),ER([" "," "," ","{"]),ER([xR.ll,xR.as,xR.ll,"}"]),ER([xR.ml,xR.ml,xR.al,"'"]),ER([xR.ps,xR.ps,xR.ps,xR.al])]),xR.charvals=ER([new Map,new Map,new Map,new Map]),xR.alltext=new Map;for(var t=0,e=xR.charmaps.length-1;t<=e;t+=1){xR.i=t,xR.encs=PR(xR.charmaps,xR.i);for(var n=0;n<=3;n+=1){xR.j=n;var r=PR(xR.encs,xR.j);if(AR[wR++]=r,UR(LR(r),"stringtype")){var o=PR(AR[--wR],0);AR[wR++]=o}var i=AR[--wR];IR(PR(xR.charvals,xR.j),i,xR.i),IR(xR.alltext,i,-1)}}for(var a in xR.e=1e4,xR.latlen=ER([ER([0,1,1,2]),ER([2,0,1,2]),ER([1,1,0,1]),ER([1,2,2,0])]),xR.latseq=ER([ER([ER([]),ER([xR.ll]),ER([xR.ml]),ER([xR.ml,xR.pl])]),ER([ER([xR.ml,xR.al]),ER([]),ER([xR.ml]),ER([xR.ml,xR.pl])]),ER([ER([xR.al]),ER([xR.ll]),ER([]),ER([xR.pl])]),ER([ER([xR.al]),ER([xR.al,xR.ll]),ER([xR.al,xR.ml]),ER([])])]),xR.shftlen=ER([ER([xR.e,xR.e,xR.e,1]),ER([1,xR.e,xR.e,1]),ER([xR.e,xR.e,xR.e,1]),ER([xR.e,xR.e,xR.e,xR.e])]),AR[wR++]=1/0,AR[wR++]=xR.tl,AR[wR++]=900,AR[wR++]=xR.bl,AR[wR++]=901,AR[wR++]=xR.bl6,AR[wR++]=924,AR[wR++]=xR.nl,AR[wR++]=902,AR[wR++]=xR.bs,AR[wR++]=913,xR.latchcws=SR(),xR)xR.hasOwnProperty(a)&&(uM.$ctx[a]=xR[a]);uM.__16938__=1,xR=Object.getPrototypeOf(xR)}if(xR.raw){for(xR.datcws=ER(xR.barcode.length),xR.i=0,xR.j=0;!(xR.i>=xR.barcode.length-3)&&94==PR(xR.barcode,xR.i);){var u=TR(xR.barcode,xR.i+1,3);AR[wR++]=u,AR[wR++]=!1;for(var c=0,s=u.length;c<s;c++){var l=PR(u,c);(l<48||l>57)&&(wR--,AR[wR++]=!0)}if(AR[--wR]){wR--;break}xR.cw=_R(AR[--wR]),IR(xR.datcws,xR.j,xR.cw),xR.i=xR.i+4,xR.j=xR.j+1}xR.i!=xR.barcode.length&&(AR[wR++]="bwipp.pdf417badRawFormat#16956",AR[wR++]="raw data must be formatted as ^NNN",XR()),xR.datcws=TR(xR.datcws,0,xR.j)}if(xR.encb=function(){xR.in=AR[--wR],xR.inlen=xR.in.length,xR.out=ER(5*~~(xR.inlen/6)+xR.inlen%6);for(var t=0,e=~~(xR.inlen/6)-1;t<=e;t+=1){xR.k=t,AR[wR++]=1/0,NR(TR(xR.in,6*xR.k,3)),xR.msbs=ER(),AR[wR++]=1/0,NR(xR.msbs);var n=AR[--wR],r=AR[--wR],o=AR[--wR];AR[wR++]=KR(KR(n+256*r)+65536*o);for(var i=0;i<3;i++){var a=AR[--wR];AR[wR++]=a%900,AR[wR++]=~~(a/900)}xR.mscs=ER(),AR[wR++]=1/0,NR(TR(xR.in,6*xR.k+3,3)),xR.lsbs=ER(),AR[wR++]=1/0,NR(xR.lsbs);var u=AR[--wR],c=AR[--wR],s=AR[--wR];AR[wR++]=KR(KR(u+256*c)+65536*s);for(var l=0;l<3;l++){var f=AR[--wR];AR[wR++]=f%900,AR[wR++]=~~(f/900)}xR.lscs=ER();var h=PR(xR.lscs,0),p=PR(xR.mscs,0);IR(xR.out,5*xR.k+4,KR(h+316*p)%900);var d=PR(xR.lscs,1),y=PR(xR.mscs,0),v=PR(xR.mscs,1);IR(xR.out,5*xR.k+3,KR(KR(KR(~~(KR(h+316*p)/900)+d)+641*y)+316*v)%900);var g=PR(xR.lscs,2),m=PR(xR.mscs,0),b=PR(xR.mscs,1),w=PR(xR.mscs,2);IR(xR.out,5*xR.k+2,KR(KR(KR(KR(~~(KR(KR(KR(~~(KR(h+316*p)/900)+d)+641*y)+316*v)/900)+g)+20*m)+641*b)+316*w)%900);var A=PR(xR.lscs,3),x=PR(xR.mscs,1),E=PR(xR.mscs,2);IR(xR.out,5*xR.k+1,KR(KR(KR(~~(KR(KR(KR(KR(~~(KR(KR(KR(~~(KR(h+316*p)/900)+d)+641*y)+316*v)/900)+g)+20*m)+641*b)+316*w)/900)+A)+20*x)+641*E)%900),IR(xR.out,5*xR.k,KR(~~(KR(KR(KR(~~(KR(KR(KR(KR(~~(KR(KR(KR(~~(KR(h+316*p)/900)+d)+641*y)+316*v)/900)+g)+20*m)+641*b)+316*w)/900)+A)+20*x)+641*E)/900)+20*PR(xR.mscs,2))%900)}if(xR.rem=xR.inlen%6,0!=xR.rem){AR[wR++]=xR.out,AR[wR++]=xR.out.length-xR.rem,AR[wR++]=1/0,NR(TR(xR.in,xR.inlen-xR.rem,xR.rem));var S=ER(),O=AR[--wR];CR(AR[--wR],O,S)}AR[wR++]=xR.out},xR.ccc){xR.barlen=xR.barcode.length,xR.datcws=ER(5*~~(xR.barlen/6)+xR.barlen%6+2),IR(xR.datcws,0,920);var f=xR.barlen%6==0?924:901;IR(xR.datcws,1,f),AR[wR++]=xR.datcws,AR[wR++]=2,AR[wR++]=1/0,MR(xR.barcode);var h=ER();AR[wR++]=h,xR.encb();var p=AR[--wR],d=AR[--wR];CR(AR[--wR],d,p)}if(!xR.raw&&!xR.ccc){var y=new Map([["parse",xR.parse],["parsefnc",xR.parsefnc],["eci",!0]]);xR.fncvals=y,AR[wR++]="msg",AR[wR++]=xR.barcode,AR[wR++]=xR.fncvals,eM();var v=AR[--wR];xR[AR[--wR]]=v,xR.msglen=xR.msg.length,AR[wR++]=1/0;for(var g=0,m=xR.msglen;g<m;g++)AR[wR++]=0;AR[wR++]=0,xR.numdigits=ER(),AR[wR++]=1/0;for(var b=0,w=xR.msglen;b<w;b++)AR[wR++]=0;AR[wR++]=0,xR.numtext=ER(),AR[wR++]=1/0;for(var A=0,x=xR.msglen;A<x;A++)AR[wR++]=0;AR[wR++]=0,xR.numbytes=ER(),AR[wR++]=1/0;for(var E=0,S=xR.msglen;E<S;E++)AR[wR++]=0;AR[wR++]=0,xR.iseci=ER();for(var O=xR.msglen-1;O>=0;O-=1){xR.i=O;var k=PR(xR.msg,xR.i);k>=48&&k<=57&&IR(xR.numdigits,xR.i,KR(PR(xR.numdigits,xR.i+1)+1)),void 0!==PR(xR.alltext,PR(xR.msg,xR.i))&&PR(xR.numdigits,xR.i)<13&&IR(xR.numtext,xR.i,KR(PR(xR.numtext,xR.i+1)+1)),PR(xR.msg,xR.i)>=0&&PR(xR.numtext,xR.i)<5&&PR(xR.numdigits,xR.i)<13&&IR(xR.numbytes,xR.i,KR(PR(xR.numbytes,xR.i+1)+1)),IR(xR.iseci,xR.i,PR(xR.msg,xR.i)<=-1e6)}for(xR.numdigits=TR(xR.numdigits,0,xR.msglen),xR.numtext=TR(xR.numtext,0,xR.msglen),xR.numbytes=TR(xR.numbytes,0,xR.msglen),xR.seq=ER([]),xR.seqlen=0,xR.state=xR.T,xR.p=0;xR.p!=xR.msglen;)if(PR(xR.iseci,xR.p)){if(xR.eci=PR(xR.msg,xR.p),AR[wR++]=1/0,NR(xR.seq),AR[wR++]=ER([xR.eci]),xR.seq=ER(),xR.p=xR.p+1,AR[wR++]="seqlen",AR[wR++]=xR.seqlen,xR.eci<=-1810900)AR[wR++]=2;else{var _=xR.eci<=-1000900?3:2;AR[wR++]=_}var j=AR[--wR],P=AR[--wR];xR[AR[--wR]]=KR(P+j)}else if(xR.n=PR(xR.numdigits,xR.p),xR.n>=13||xR.n==xR.msglen&&xR.n>=8){AR[wR++]=1/0,NR(xR.seq),AR[wR++]=xR.nl,AR[wR++]=1/0,NR(TR(xR.msg,xR.p,xR.n));var I=ER();AR[wR++]=I,xR.seq=ER(),xR.state=xR.N,xR.p=KR(xR.p+xR.n),xR.seqlen=KR(xR.seqlen+1+xR.n)}else if(xR.t=PR(xR.numtext,xR.p),xR.t>=5){AR[wR++]=1/0,NR(xR.seq),xR.state!=xR.T&&(AR[wR++]=xR.tl),AR[wR++]=1/0,NR(TR(xR.msg,xR.p,xR.t));var T=ER();AR[wR++]=T,xR.seq=ER(),xR.state=xR.T,xR.p=KR(xR.p+xR.t),xR.seqlen=KR(KR(xR.seqlen+1)+xR.t)}else if(xR.b=PR(xR.numbytes,xR.p),1==xR.b&&xR.state==xR.T)AR[wR++]=1/0,NR(xR.seq),AR[wR++]=xR.bs,AR[wR++]=ER([PR(xR.msg,xR.p)]),xR.seq=ER(),xR.p=KR(xR.p+xR.b),xR.seqlen=KR(xR.seqlen+2);else{AR[wR++]=1/0,NR(xR.seq);var C=xR.b%6!=0?xR.bl:xR.bl6;AR[wR++]=C,AR[wR++]=1/0,NR(TR(xR.msg,xR.p,xR.b));var L=ER();AR[wR++]=L,xR.seq=ER(),xR.state=xR.B,xR.p=KR(xR.p+xR.b),xR.seqlen=KR(KR(xR.seqlen+1)+xR.b)}for(xR.enca=function(){var t=PR(PR(xR.charvals,xR.A),AR[--wR]);AR[wR++]=t},xR.encl=function(){var t=PR(PR(xR.charvals,xR.L),AR[--wR]);AR[wR++]=t},xR.encm=function(){var t=PR(PR(xR.charvals,xR.M),AR[--wR]);AR[wR++]=t},xR.encp=function(){var t=PR(PR(xR.charvals,xR.P),AR[--wR]);AR[wR++]=t},xR.textencfuncs=ER(["enca","encl","encm","encp"]),xR.addtotext=function(){IR(xR.text,xR.l,AR[--wR]),xR.l=xR.l+1},xR.enct=function(){xR.in=AR[--wR],xR.curlen=ER([xR.e,xR.e,xR.e,xR.e]),IR(xR.curlen,xR.submode,0),xR.curseq=ER([ER([]),ER([]),ER([]),ER([])]),MR(xR.in,(function(){for(xR.char=AR[--wR];;){xR.imp=!1;for(var t=ER([xR.A,xR.L,xR.M,xR.P]),e=0,n=t.length;e<n;e++){xR.x=PR(t,e);for(var r=ER([xR.A,xR.L,xR.M,xR.P]),o=0,i=r.length;o<i;o++)if(xR.y=PR(r,o),xR.cost=KR(PR(xR.curlen,xR.x)+PR(PR(xR.latlen,xR.x),xR.y)),xR.cost<PR(xR.curlen,xR.y)){IR(xR.curlen,xR.y,xR.cost),AR[wR++]=xR.curseq,AR[wR++]=xR.y,AR[wR++]=1/0,NR(PR(xR.curseq,xR.x)),NR(PR(PR(xR.latseq,xR.x),xR.y));var a=ER(),u=AR[--wR];IR(AR[--wR],u,a),xR.imp=!0}}if(!xR.imp)break}xR.nxtlen=ER([xR.e,xR.e,xR.e,xR.e]),xR.nxtseq=ER(4);for(var c=ER([xR.A,xR.L,xR.M,xR.P]),s=0,l=c.length;s<l;s++)for(xR.x=PR(c,s);void 0!==PR(PR(xR.charvals,xR.x),xR.char);){if(xR.cost=KR(PR(xR.curlen,xR.x)+1),xR.cost<PR(xR.nxtlen,xR.x)){IR(xR.nxtlen,xR.x,xR.cost),AR[wR++]=xR.nxtseq,AR[wR++]=xR.x,AR[wR++]=1/0,NR(PR(xR.curseq,xR.x)),AR[wR++]=xR.char;var f=ER(),h=AR[--wR];IR(AR[--wR],h,f)}for(var p=ER([xR.A,xR.L,xR.M,xR.P]),d=0,y=p.length;d<y;d++)if(xR.y=PR(p,d),GR(xR.x,xR.y)&&(xR.cost=KR(KR(PR(xR.curlen,xR.y)+PR(PR(xR.shftlen,xR.y),xR.x))+1),xR.cost<PR(xR.nxtlen,xR.y))){IR(xR.nxtlen,xR.y,xR.cost),AR[wR++]=xR.nxtseq,AR[wR++]=xR.y,AR[wR++]=1/0,NR(PR(xR.curseq,xR.y));var v=xR.x==xR.A?xR.as:xR.ps;AR[wR++]=v,AR[wR++]=xR.char;var g=ER(),m=AR[--wR];IR(AR[--wR],m,g)}break}xR.curlen=xR.nxtlen,xR.curseq=xR.nxtseq})),xR.minseq=xR.e;for(var t=ER([xR.A,xR.L,xR.M,xR.P]),e=0,n=t.length;e<n;e++)xR.k=PR(t,e),PR(xR.curlen,xR.k)<xR.minseq&&(xR.minseq=PR(xR.curlen,xR.k),xR.txtseq=PR(xR.curseq,xR.k));for(xR.text=ER(xR.minseq),xR.k=0,xR.l=0;!(xR.k>=xR.txtseq.length)&&(xR.char=PR(xR.txtseq,xR.k),AR[wR++]=xR.char,!0!==xR[PR(xR.textencfuncs,xR.submode)]());)xR.addtotext(),xR.k=xR.k+1,xR.char!=xR.as&&xR.char!=xR.ps||(AR[wR++]=PR(xR.txtseq,xR.k),xR.char==xR.as?xR.enca():xR.encp(),xR.addtotext(),xR.k=xR.k+1),xR.char==xR.al&&(xR.submode=xR.A),xR.char==xR.ll&&(xR.submode=xR.L),xR.char==xR.ml&&(xR.submode=xR.M),xR.char==xR.pl&&(xR.submode=xR.P);if(xR.text.length%2==1){if(xR.submode==xR.P){AR[wR++]="pad",AR[wR++]=xR.al,xR.encp();var r=AR[--wR];xR[AR[--wR]]=r,xR.submode=xR.A}else{xR.nextecitext=!1;for(var o=xR.i+1,i=xR.seq.length-1;o<=i;o+=1){if(xR.ti=o,GR(LR(PR(xR.seq,xR.ti)),"arraytype")){xR.nextecitext=!1;break}if(PR(PR(xR.seq,xR.ti),0)>-1e6)break;xR.nextecitext=!0}if(xR.nextecitext)if(xR.submode==xR.A)if(void 0!==PR(PR(xR.charvals,xR.L),PR(PR(xR.seq,xR.ti),0))){AR[wR++]="pad",AR[wR++]=xR.ll,xR.enca();var a=AR[--wR];xR[AR[--wR]]=a,xR.submode=xR.L}else{AR[wR++]="pad",AR[wR++]=xR.ml,xR.enca();var u=AR[--wR];xR[AR[--wR]]=u,xR.submode=xR.M}else if(xR.submode==xR.M)if(void 0!==PR(PR(xR.charvals,xR.L),PR(PR(xR.seq,xR.ti),0))){AR[wR++]="pad",AR[wR++]=xR.ll,xR.encm();var c=AR[--wR];xR[AR[--wR]]=c,xR.submode=xR.L}else if(void 0!==PR(PR(xR.charvals,xR.P),PR(PR(xR.seq,xR.ti),0))){AR[wR++]="pad",AR[wR++]=xR.pl,xR.encm();var s=AR[--wR];xR[AR[--wR]]=s,xR.submode=xR.P}else{AR[wR++]="pad",AR[wR++]=xR.al,xR.encm();var l=AR[--wR];xR[AR[--wR]]=l,xR.submode=xR.A}else{AR[wR++]="pad",AR[wR++]=xR.ml,xR.encl();var f=AR[--wR];xR[AR[--wR]]=f,xR.submode=xR.M}else{if(AR[wR++]="pad",AR[wR++]=xR.ps,!0===xR[PR(xR.textencfuncs,xR.submode)]())return!0;var h=AR[--wR];xR[AR[--wR]]=h}}AR[wR++]=1/0,NR(xR.text),AR[wR++]=xR.pad,xR.text=ER()}xR.out=ER(~~(xR.text.length/2));for(var p=0,d=xR.out.length-1;p<=d;p+=1)xR.k=p,IR(xR.out,xR.k,KR(30*PR(xR.text,2*xR.k)+PR(xR.text,2*xR.k+1)));AR[wR++]=xR.out},xR.encn=function(){xR.in=AR[--wR],xR.out=ER([]);for(var t=0,e=xR.in.length-1;t<=e;t+=44){xR.k=t,AR[wR++]=1/0;var n=xR.in.length-xR.k;AR[wR++]=1,AR[wR++]=xR.in,AR[wR++]=xR.k,AR[wR++]=n,n>44&&(wR--,AR[wR++]=44);for(var r=AR[--wR],o=AR[--wR],i=TR(AR[--wR],o,r),a=0,u=i.length;a<u;a++)AR[wR++]=KR(PR(i,a)-48);for(xR.gmod=ER(),xR.cwn=ER([]);;){for(xR.dv=900,xR.gmul=ER([]),xR.val=0;0!=xR.gmod.length;)xR.val=KR(10*xR.val+PR(xR.gmod,0)),xR.gmod=TR(xR.gmod,1,xR.gmod.length-1),xR.val<xR.dv?0!=xR.gmul.length&&(AR[wR++]=1/0,NR(xR.gmul),AR[wR++]=0,xR.gmul=ER()):(AR[wR++]=1/0,NR(xR.gmul),AR[wR++]=~~(xR.val/xR.dv),xR.gmul=ER()),xR.val=xR.val%xR.dv;if(xR.dv=xR.val,AR[wR++]=1/0,AR[wR++]=xR.dv,NR(xR.cwn),xR.cwn=ER(),xR.gmod=xR.gmul,0==xR.gmul.length)break}AR[wR++]=1/0,NR(xR.out),NR(xR.cwn),xR.out=ER()}AR[wR++]=xR.out},xR.ence=function(){var t=KR(-PR(AR[--wR],0)-1e6);if(AR[wR++]=t,t<=899){var e=AR[--wR];AR[wR++]=927,AR[wR++]=e,DR(ER(2))}else{var n=AR[--wR];if(AR[wR++]=n,n<=810899){var r=AR[--wR];AR[wR++]=926,AR[wR++]=~~(r/900)-1,AR[wR++]=r%900,DR(ER(3))}else{var o=AR[--wR];if(AR[wR++]=o,o<=811799){var i=AR[--wR];AR[wR++]=925,AR[wR++]=KR(i-810900),DR(ER(2))}else AR[wR++]="bwipp.pdf417badECI#17318",AR[wR++]="PDF417 supports ECIs 000000 to 811799",XR()}}},xR.encfuncs=ER(["enct","encn","encb"]),xR.addtocws=function(){var t=AR[--wR];CR(xR.datcws,xR.j,t),xR.j=t.length+xR.j},xR.state=xR.T,xR.submode=xR.A,xR.datcws=ER(xR.seqlen),xR.i=0,xR.j=0;!(xR.i>=xR.seq.length);){if(xR.chars=PR(xR.seq,xR.i),UR(LR(xR.chars),"arraytype"))if(PR(xR.chars,0)<=-1e6)AR[wR++]=xR.chars,xR.ence(),xR.addtocws();else{if(AR[wR++]=xR.chars,!0===xR[PR(xR.encfuncs,xR.state)]())break;xR.addtocws()}else AR[wR++]=ER([PR(xR.latchcws,xR.chars)]),xR.addtocws(),xR.chars==xR.tl&&(xR.state=xR.T,xR.submode=xR.A),xR.chars==xR.nl&&(xR.state=xR.N),xR.chars!=xR.bl&&xR.chars!=xR.bl6||(xR.state=xR.B),xR.chars==xR.bs&&(xR.i=xR.i+1,AR[wR++]=PR(xR.seq,xR.i),xR.encb(),xR.addtocws());xR.i=xR.i+1}xR.datcws=TR(xR.datcws,0,xR.j)}xR.m=xR.datcws.length,-1==xR.eclevel&&(xR.m<=40&&(xR.eclevel=2),xR.m>=41&&xR.m<=160&&(xR.eclevel=3),xR.m>=161&&xR.m<=320&&(xR.eclevel=4),xR.m>=321&&(xR.eclevel=5)),xR.maxeclevel=~~(Math.log(927-xR.m)/Math.log(2))-1,xR.eclevel>xR.maxeclevel&&(xR.eclevel=xR.maxeclevel),xR.k=~~Math.pow(2,xR.eclevel+1),0==xR.columns&&(xR.columns=~~Math.round(Math.sqrt((xR.m+xR.k)/3))),AR[wR++]="c",xR.columns>=1?AR[wR++]=xR.columns:AR[wR++]=1;var R=AR[--wR];xR[AR[--wR]]=R,xR.r=~~Math.ceil((xR.m+xR.k+1)/xR.columns),xR.r<xR.rows&&xR.rows<=90&&(xR.r=xR.rows),xR.r<3&&(xR.r=3),xR.r>90&&(AR[wR++]="bwipp.pdf417insufficientCapacity#17381",AR[wR++]="Insufficient capacity in the symbol",XR());var M=xR.c,B=xR.r,F=xR.m,N=8,D=~~(Math.log(KR(KR(M*B-1)-F))/Math.log(2))-1;if(~~(Math.log(KR(KR(M*B-1)-F))/Math.log(2))-1>8){var U=N;N=D,D=U}xR.maxeclevel=D,xR.maxeclevel>xR.eclevel&&(xR.eclevel=xR.maxeclevel,xR.k=~~Math.pow(2,xR.eclevel+1)),xR.n=KR(xR.c*xR.r-xR.k),xR.cws=ER(KR(xR.c*xR.r+1)),IR(xR.cws,0,xR.n),CR(xR.cws,1,xR.datcws),AR[wR++]=xR.cws,AR[wR++]=xR.m+1,AR[wR++]=1/0;for(var G=0,Q=KR(KR(xR.n-xR.m)-1);G<Q;G++)AR[wR++]=900;var z=ER(),Y=AR[--wR];CR(AR[--wR],Y,z),AR[wR++]=xR.cws,AR[wR++]=xR.n,AR[wR++]=1/0;for(var H=0,V=xR.k;H<V;H++)AR[wR++]=0;AR[wR++]=0;var $=ER(),W=AR[--wR];if(CR(AR[--wR],W,$),!uM.__17404__){xR=Object.create(xR),AR[wR++]=1/0,AR[wR++]=1;for(var q=0;q<928;q++){var J=AR[--wR];AR[wR++]=J,AR[wR++]=3*J%929}xR.rsalog=ER(),xR.rslog=ER(929);for(var K=1;K<=928;K+=1)IR(xR.rslog,PR(xR.rsalog,K),K);for(var a in xR)xR.hasOwnProperty(a)&&(uM.$ctx[a]=xR[a]);uM.__17404__=1,xR=Object.getPrototypeOf(xR)}xR.rsprod=function(){var t=AR[--wR],e=AR[--wR];if(AR[wR++]=e,AR[wR++]=t,0!=t&&0!=e){var n=PR(xR.rslog,AR[--wR]),r=PR(xR.rsalog,KR(n+PR(xR.rslog,AR[--wR]))%928);AR[wR++]=r}else wR-=2,AR[wR++]=0},AR[wR++]=1/0,AR[wR++]=1;for(var X=0,Z=xR.k;X<Z;X++)AR[wR++]=0;xR.coeffs=ER();for(var tt=1,et=xR.k;tt<=et;tt+=1){xR.i=tt,IR(xR.coeffs,xR.i,PR(xR.coeffs,xR.i-1));for(var nt=xR.i-1;nt>=1;nt-=1){xR.j=nt,AR[wR++]=xR.coeffs,AR[wR++]=xR.j,AR[wR++]=PR(xR.coeffs,xR.j-1),AR[wR++]=PR(xR.coeffs,xR.j),AR[wR++]=PR(xR.rsalog,xR.i),xR.rsprod();var rt=AR[--wR],ot=AR[--wR],it=AR[--wR];IR(AR[--wR],it,KR(ot+rt)%929)}AR[wR++]=xR.coeffs,AR[wR++]=0,AR[wR++]=PR(xR.coeffs,0),AR[wR++]=PR(xR.rsalog,xR.i),xR.rsprod();var at=AR[--wR],ut=AR[--wR];IR(AR[--wR],ut,at)}xR.coeffs=TR(xR.coeffs,0,xR.coeffs.length-1);for(var ct=xR.coeffs.length-1;ct>=0;ct-=2){var st=xR.coeffs;IR(st,ct,KR(929-PR(st,ct)))}for(var lt=0,ft=KR(xR.n-1);lt<=ft;lt+=1){xR.t=KR(PR(xR.cws,lt)+PR(xR.cws,xR.n))%929;for(var ht=0,pt=xR.k-1;ht<=pt;ht+=1)xR.j=ht,IR(xR.cws,KR(xR.n+xR.j),KR(PR(xR.cws,KR(KR(xR.n+xR.j)+1))+KR(929-xR.t*PR(xR.coeffs,xR.k-xR.j-1)%929))%929)}for(var dt=xR.n,yt=KR(xR.n+xR.k);dt<=yt;dt+=1)IR(xR.cws,dt,KR(929-PR(xR.cws,dt))%929);if(xR.cws=TR(xR.cws,0,xR.cws.length-1),void 0!==PR(xR.options,"debugcws")&&(AR[wR++]="bwipp.debugcws#17442",AR[wR++]=xR.cws,XR()),!uM.__17686__){for(var a in(xR=Object.create(xR)).clusters=ER([ER([120256,125680,128380,120032,125560,128318,108736,119920,108640,86080,108592,86048,110016,120560,125820,109792,120440,125758,88256,109680,88160,89536,110320,120700,89312,110200,120638,89200,110140,89840,110460,89720,110398,89980,128506,119520,125304,128190,107712,119408,125244,107616,119352,84032,107568,119324,84e3,107544,83984,108256,119672,125374,85184,108144,119612,85088,108088,119582,85040,108060,85728,108408,119742,85616,108348,85560,108318,85880,108478,85820,85790,107200,119152,125116,107104,119096,125086,83008,107056,119068,82976,107032,82960,82952,83648,107376,119228,83552,107320,119198,83504,107292,83480,83468,83824,107452,83768,107422,83740,83900,106848,118968,125022,82496,106800,118940,82464,106776,118926,82448,106764,82440,106758,82784,106936,119006,82736,106908,82712,106894,82700,82694,106974,82830,82240,106672,118876,82208,106648,118862,82192,106636,82184,106630,82180,82352,82328,82316,82080,118830,106572,106566,82050,117472,124280,127678,103616,117360,124220,103520,117304,124190,75840,103472,75808,104160,117624,124350,76992,104048,117564,76896,103992,76848,76824,77536,104312,117694,77424,104252,77368,77340,77688,104382,77628,77758,121536,126320,128700,121440,126264,128670,111680,121392,126236,111648,121368,126222,111632,121356,103104,117104,124092,112320,103008,117048,124062,112224,121656,126366,93248,74784,102936,117006,93216,112152,93200,75456,103280,117180,93888,75360,103224,117150,93792,112440,121758,93744,75288,93720,75632,103356,94064,75576,103326,94008,112542,93980,75708,94140,75678,94110,121184,126136,128606,111168,121136,126108,111136,121112,126094,111120,121100,111112,111108,102752,116920,123998,111456,102704,116892,91712,74272,121244,116878,91680,74256,102668,91664,111372,102662,74244,74592,102840,116958,92e3,74544,102812,91952,111516,102798,91928,74508,74502,74680,102878,92088,74652,92060,74638,92046,92126,110912,121008,126044,110880,120984,126030,110864,120972,110856,120966,110852,110850,74048,102576,116828,90944,74016,102552,116814,90912,111e3,121038,90896,73992,102534,90888,110982,90884,74160,102620,91056,74136,102606,91032,111054,91020,74118,91014,91100,91086,110752,120920,125998,110736,120908,110728,120902,110724,110722,73888,102488,116782,90528,73872,102476,90512,110796,102470,90504,73860,90500,73858,73944,90584,90572,90566,120876,120870,110658,102444,73800,90312,90308,90306,101056,116080,123580,100960,116024,70720,100912,115996,70688,100888,70672,70664,71360,101232,116156,71264,101176,116126,71216,101148,71192,71180,71536,101308,71480,101278,71452,71612,71582,118112,124600,127838,105024,118064,124572,104992,118040,124558,104976,118028,104968,118022,100704,115896,123486,105312,100656,115868,79424,70176,118172,115854,79392,105240,100620,79376,70152,79368,70496,100792,115934,79712,70448,118238,79664,105372,100750,79640,70412,79628,70584,100830,79800,70556,79772,70542,70622,79838,122176,126640,128860,122144,126616,128846,122128,126604,122120,126598,122116,104768,117936,124508,113472,104736,126684,124494,113440,122264,126670,113424,104712,117894,113416,122246,104706,69952,100528,115804,78656,69920,100504,115790,96064,78624,104856,117966,96032,113560,122318,100486,96016,78600,104838,96008,69890,70064,100572,78768,70040,100558,96176,78744,104910,96152,113614,70022,78726,70108,78812,70094,96220,78798,122016,126552,128814,122e3,126540,121992,126534,121988,121986,104608,117848,124462,113056,104592,126574,113040,122060,117830,113032,104580,113028,104578,113026,69792,100440,115758,78240,69776,100428,95136,78224,104652,100422,95120,113100,69764,95112,78212,69762,78210,69848,100462,78296,69836,95192,78284,69830,95180,78278,69870,95214,121936,126508,121928,126502,121924,121922,104528,117804,112848,104520,117798,112840,121958,112836,104514,112834,69712,100396,78032,69704,100390,94672,78024,104550,94664,112870,69698,94660,78018,94658,78060,94700,94694,126486,121890,117782,104484,104482,69672,77928,94440,69666,77922,99680,68160,99632,68128,99608,115342,68112,99596,68104,99590,68448,99768,115422,68400,99740,68376,99726,68364,68358,68536,99806,68508,68494,68574,101696,116400,123740,101664,116376,101648,116364,101640,116358,101636,67904,99504,115292,72512,67872,116444,115278,72480,101784,116430,72464,67848,99462,72456,101766,67842,68016,99548,72624,67992,99534,72600,101838,72588,67974,68060,72668,68046,72654,118432,124760,127918,118416,124748,118408,124742,118404,118402,101536,116312,105888,101520,116300,105872,118476,116294,105864,101508,105860,101506,105858,67744,99416,72096,67728,116334,80800,72080,101580,99398,80784,105932,67716,80776,72068,67714,72066,67800,99438,72152,67788,80856,72140,67782,80844,72134,67822,72174,80878,126800,128940,126792,128934,126788,126786,118352,124716,122576,126828,124710,122568,126822,122564,118338,122562,101456,116268,105680,101448,116262,114128,105672,118374,114120,122598,101442,114116,105666,114114,67664,99372,71888,67656,99366,80336,71880,101478,97232,80328,105702,67650,97224,114150,71874,97220,67692,71916,67686,80364,71910,97260,80358,97254,126760,128918,126756,126754,118312,124694,122472,126774,122468,118306,122466,101416,116246,105576,101412,113896,105572,101410,113892,105570,113890,67624,99350,71784,101430,80104,71780,67618,96744,80100,71778,96740,80098,96738,71798,96758,126738,122420,122418,105524,113780,113778,71732,79988,96500,96498,66880,66848,98968,66832,66824,66820,66992,66968,66956,66950,67036,67022,1e5,99984,115532,99976,115526,99972,99970,66720,98904,69024,100056,98892,69008,100044,69e3,100038,68996,66690,68994,66776,98926,69080,100078,69068,66758,69062,66798,69102,116560,116552,116548,116546,99920,102096,116588,115494,102088,116582,102084,99906,102082,66640,68816,66632,98854,73168,68808,66628,73160,68804,66626,73156,68802,66668,68844,66662,73196,68838,73190,124840,124836,124834,116520,118632,124854,118628,116514,118626,99880,115478,101992,116534,106216,101988,99874,106212,101986,106210,66600,98838,68712,99894,72936,68708,66594,81384,72932,68706,81380,72930,66614,68726,72950,81398,128980,128978,124820,126900,124818,126898,116500,118580,116498,122740,118578,122738,99860,101940,99858,106100,101938,114420]),ER([128352,129720,125504,128304,129692,125472,128280,129678,125456,128268,125448,128262,125444,125792,128440,129758,120384,125744,128412,120352,125720,128398,120336,125708,120328,125702,120324,120672,125880,128478,110144,120624,125852,110112,120600,125838,110096,120588,110088,120582,110084,110432,120760,125918,89664,110384,120732,89632,110360,120718,89616,110348,89608,110342,89952,110520,120798,89904,110492,89880,110478,89868,90040,110558,90012,89998,125248,128176,129628,125216,128152,129614,125200,128140,125192,128134,125188,125186,119616,125360,128220,119584,125336,128206,119568,125324,119560,125318,119556,119554,108352,119728,125404,108320,119704,125390,108304,119692,108296,119686,108292,108290,85824,108464,119772,85792,108440,119758,85776,108428,85768,108422,85764,85936,108508,85912,108494,85900,85894,85980,85966,125088,128088,129582,125072,128076,125064,128070,125060,125058,119200,125144,128110,119184,125132,119176,125126,119172,119170,107424,119256,125166,107408,119244,107400,119238,107396,107394,83872,107480,119278,83856,107468,83848,107462,83844,83842,83928,107502,83916,83910,83950,125008,128044,125e3,128038,124996,124994,118992,125036,118984,125030,118980,118978,106960,119020,106952,119014,106948,106946,82896,106988,82888,106982,82884,82882,82924,82918,124968,128022,124964,124962,118888,124982,118884,118882,106728,118902,106724,106722,82408,106742,82404,82402,124948,124946,118836,118834,106612,106610,124224,127664,129372,124192,127640,129358,124176,127628,124168,127622,124164,124162,117568,124336,127708,117536,124312,127694,117520,124300,117512,124294,117508,117506,104256,117680,124380,104224,117656,124366,104208,117644,104200,117638,104196,104194,77632,104368,117724,77600,104344,117710,77584,104332,77576,104326,77572,77744,104412,77720,104398,77708,77702,77788,77774,128672,129880,93168,128656,129868,92664,128648,129862,92412,128644,128642,124064,127576,129326,126368,124048,129902,126352,128716,127558,126344,124036,126340,124034,126338,117152,124120,127598,121760,117136,124108,121744,126412,124102,121736,117124,121732,117122,121730,103328,117208,124142,112544,103312,117196,112528,121804,117190,112520,103300,112516,103298,112514,75680,103384,117230,94112,75664,103372,94096,112588,103366,94088,75652,94084,75650,75736,103406,94168,75724,94156,75718,94150,75758,128592,129836,91640,128584,129830,91388,128580,91262,128578,123984,127532,126160,123976,127526,126152,128614,126148,123970,126146,116944,124012,121296,116936,124006,121288,126182,121284,116930,121282,102864,116972,111568,102856,116966,111560,121318,111556,102850,111554,74704,102892,92112,74696,102886,92104,111590,92100,74690,92098,74732,92140,74726,92134,128552,129814,90876,128548,90750,128546,123944,127510,126056,128566,126052,123938,126050,116840,123958,121064,116836,121060,116834,121058,102632,116854,111080,121078,111076,102626,111074,74216,102646,91112,74212,91108,74210,91106,74230,91126,128532,90494,128530,123924,126004,123922,126002,116788,120948,116786,120946,102516,110836,102514,110834,73972,90612,73970,90610,128522,123914,125978,116762,120890,102458,110714,123552,127320,129198,123536,127308,123528,127302,123524,123522,116128,123608,127342,116112,123596,116104,123590,116100,116098,101280,116184,123630,101264,116172,101256,116166,101252,101250,71584,101336,116206,71568,101324,71560,101318,71556,71554,71640,101358,71628,71622,71662,127824,129452,79352,127816,129446,79100,127812,78974,127810,123472,127276,124624,123464,127270,124616,127846,124612,123458,124610,115920,123500,118224,115912,123494,118216,124646,118212,115906,118210,100816,115948,105424,100808,115942,105416,118246,105412,100802,105410,70608,100844,79824,70600,100838,79816,105446,79812,70594,79810,70636,79852,70630,79846,129960,95728,113404,129956,95480,113278,129954,95356,95294,127784,129430,78588,128872,129974,95996,78462,128868,127778,95870,128866,123432,127254,124520,123428,126696,128886,123426,126692,124514,126690,115816,123446,117992,115812,122344,117988,115810,122340,117986,122338,100584,115830,104936,100580,113640,104932,100578,113636,104930,113634,70120,100598,78824,70116,96232,78820,70114,96228,78818,96226,70134,78838,129940,94968,113022,129938,94844,94782,127764,78206,128820,127762,95102,128818,123412,124468,123410,126580,124466,126578,115764,117876,115762,122100,117874,122098,100468,104692,100466,113140,104690,113138,69876,78324,69874,95220,78322,95218,129930,94588,94526,127754,128794,123402,124442,126522,115738,117818,121978,100410,104570,112890,69754,78074,94714,94398,123216,127148,123208,127142,123204,123202,115408,123244,115400,123238,115396,115394,99792,115436,99784,115430,99780,99778,68560,99820,68552,99814,68548,68546,68588,68582,127400,129238,72444,127396,72318,127394,123176,127126,123752,123172,123748,123170,123746,115304,123190,116456,115300,116452,115298,116450,99560,115318,101864,99556,101860,99554,101858,68072,99574,72680,68068,72676,68066,72674,68086,72694,129492,80632,105854,129490,80508,80446,127380,72062,127924,127378,80766,127922,123156,123700,123154,124788,123698,124786,115252,116340,115250,118516,116338,118514,99444,101620,99442,105972,101618,105970,67828,72180,67826,80884,72178,80882,97008,114044,96888,113982,96828,96798,129482,80252,130010,97148,80190,97086,127370,127898,128954,123146,123674,124730,126842,115226,116282,118394,122618,99386,101498,105722,114170,67706,71930,80378,96632,113854,96572,96542,80062,96702,96444,96414,96350,123048,123044,123042,115048,123062,115044,115042,99048,115062,99044,99042,67048,99062,67044,67042,67062,127188,68990,127186,123028,123316,123026,123314,114996,115572,114994,115570,98932,100084,98930,100082,66804,69108,66802,69106,129258,73084,73022,127178,127450,123018,123290,123834,114970,115514,116602,98874,99962,102138,66682,68858,73210,81272,106174,81212,81182,72894,81342,97648,114364,97592,114334,97564,97550,81084,97724,81054,97694,97464,114270,97436,97422,80990,97502,97372,97358,97326,114868,114866,98676,98674,66292,66290,123098,114842,115130,98618,99194,66170,67322,69310,73404,73374,81592,106334,81564,81550,73310,81630,97968,114524,97944,114510,97932,97926,81500,98012,81486,97998,97880,114478,97868,97862,81454,97902,97836,97830,69470,73564,73550,81752,106414,81740,81734,73518,81774,81708,81702]),ER([109536,120312,86976,109040,120060,86496,108792,119934,86256,108668,86136,129744,89056,110072,129736,88560,109820,129732,88312,109694,129730,88188,128464,129772,89592,128456,129766,89340,128452,89214,128450,125904,128492,125896,128486,125892,125890,120784,125932,120776,125926,120772,120770,110544,120812,110536,120806,110532,84928,108016,119548,84448,107768,119422,84208,107644,84088,107582,84028,129640,85488,108284,129636,85240,108158,129634,85116,85054,128232,129654,85756,128228,85630,128226,125416,128246,125412,125410,119784,125430,119780,119778,108520,119798,108516,108514,83424,107256,119166,83184,107132,83064,107070,83004,82974,129588,83704,107390,129586,83580,83518,128116,83838,128114,125172,125170,119284,119282,107508,107506,82672,106876,82552,106814,82492,82462,129562,82812,82750,128058,125050,119034,82296,106686,82236,82206,82366,82108,82078,76736,103920,117500,76256,103672,117374,76016,103548,75896,103486,75836,129384,77296,104188,129380,77048,104062,129378,76924,76862,127720,129398,77564,127716,77438,127714,124392,127734,124388,124386,117736,124406,117732,117730,104424,117750,104420,104418,112096,121592,126334,92608,111856,121468,92384,111736,121406,92272,111676,92216,111646,92188,75232,103160,117118,93664,74992,103036,93424,112252,102974,93304,74812,93244,74782,93214,129332,75512,103294,129908,129330,93944,75388,129906,93820,75326,93758,127604,75646,128756,127602,94078,128754,124148,126452,124146,126450,117236,121844,117234,121842,103412,103410,91584,111344,121212,91360,111224,121150,91248,111164,91192,111134,91164,91150,74480,102780,91888,74360,102718,91768,111422,91708,74270,91678,129306,74620,129850,92028,74558,91966,127546,128634,124026,126202,116986,121338,102906,90848,110968,121022,90736,110908,90680,110878,90652,90638,74104,102590,91e3,74044,90940,74014,90910,74174,91070,90480,110780,90424,110750,90396,90382,73916,90556,73886,90526,90296,110686,90268,90254,73822,90334,90204,90190,71136,101112,116094,70896,100988,70776,100926,70716,70686,129204,71416,101246,129202,71292,71230,127348,71550,127346,123636,123634,116212,116210,101364,101362,79296,105200,118140,79072,105080,118078,78960,105020,78904,104990,78876,78862,70384,100732,79600,70264,100670,79480,105278,79420,70174,79390,129178,70524,129466,79740,70462,79678,127290,127866,123514,124666,115962,118266,100858,113376,122232,126654,95424,113264,122172,95328,113208,122142,95280,113180,95256,113166,95244,78560,104824,117950,95968,78448,104764,95856,113468,104734,95800,78364,95772,78350,95758,70008,100542,78712,69948,96120,78652,69918,96060,78622,96030,70078,78782,96190,94912,113008,122044,94816,112952,122014,94768,112924,94744,112910,94732,94726,78192,104636,95088,78136,104606,95032,113054,95004,78094,94990,69820,78268,69790,95164,78238,95134,94560,112824,121950,94512,112796,94488,112782,94476,94470,78008,104542,94648,77980,94620,77966,94606,69726,78046,94686,94384,112732,94360,112718,94348,94342,77916,94428,77902,94414,94296,112686,94284,94278,77870,94318,94252,94246,68336,99708,68216,99646,68156,68126,68476,68414,127162,123258,115450,99834,72416,101752,116414,72304,101692,72248,101662,72220,72206,67960,99518,72568,67900,72508,67870,72478,68030,72638,80576,105840,118460,80480,105784,118430,80432,105756,80408,105742,80396,80390,72048,101564,80752,71992,101534,80696,71964,80668,71950,80654,67772,72124,67742,80828,72094,80798,114016,122552,126814,96832,113968,122524,96800,113944,122510,96784,113932,96776,113926,96772,80224,105656,118366,97120,80176,105628,97072,114076,105614,97048,80140,97036,80134,97030,71864,101470,80312,71836,97208,80284,71822,97180,80270,97166,67678,71902,80350,97246,96576,113840,122460,96544,113816,122446,96528,113804,96520,113798,96516,96514,80048,105564,96688,80024,105550,96664,113870,96652,80006,96646,71772,80092,71758,96732,80078,96718,96416,113752,122414,96400,113740,96392,113734,96388,96386,79960,105518,96472,79948,96460,79942,96454,71726,79982,96494,96336,113708,96328,113702,96324,96322,79916,96364,79910,96358,96296,113686,96292,96290,79894,96310,66936,99006,66876,66846,67006,68976,100028,68920,99998,68892,68878,66748,69052,66718,69022,73056,102072,116574,73008,102044,72984,102030,72972,72966,68792,99934,73144,68764,73116,68750,73102,66654,68830,73182,81216,106160,118620,81184,106136,118606,81168,106124,81160,106118,81156,81154,72880,101980,81328,72856,101966,81304,106190,81292,72838,81286,68700,72924,68686,81372,72910,81358,114336,122712,126894,114320,122700,114312,122694,114308,114306,81056,106072,118574,97696,81040,106060,97680,114380,106054,97672,81028,97668,81026,97666,72792,101934,81112,72780,97752,81100,72774,97740,81094,97734,68654,72814,81134,97774,114256,122668,114248,122662,114244,114242,80976,106028,97488,80968,106022,97480,114278,97476,80962,97474,72748,81004,72742,97516,80998,97510,114216,122646,114212,114210,80936,106006,97384,80932,97380,80930,97378,72726,80950,97398,114196,114194,80916,97332,80914,97330,66236,66206,67256,99166,67228,67214,66142,67294,69296,100188,69272,100174,69260,69254,67164,69340,67150,69326,73376,102232,116654,73360,102220,73352,102214,73348,73346,69208,100142,73432,102254,73420,69190,73414,67118,69230,73454,106320,118700,106312,118694,106308,106306,73296,102188,81616,106348,102182,81608,73284,81604,73282,81602,69164,73324,69158,81644,73318,81638,122792,126934,122788,122786,106280,118678,114536,106276,114532,106274,114530,73256,102166,81512,73252,98024,81508,73250,98020,81506,98018,69142,73270,81526,98038,122772,122770,106260,114484,106258,114482,73236,81460,73234,97908,81458,97906,122762,106250,114458,73226,81434,97850,66396,66382,67416,99246,67404,67398,66350,67438,69456,100268,69448,100262,69444,69442,67372,69484,67366,69478,102312,116694,102308,102306,69416,100246,73576,102326,73572,69410,73570,67350,69430,73590,118740,118738,102292,106420,102290,106418,69396,73524,69394,81780,73522,81778,118730,102282,106394,69386,73498,81722,66476,66470,67496,99286,67492,67490,66454,67510,100308,100306,67476,69556,67474,69554,116714])]),xR)xR.hasOwnProperty(a)&&(uM.$ctx[a]=xR[a]);uM.__17686__=1,xR=Object.getPrototypeOf(xR)}xR.cwtobits=function(){var t=PR(xR.clusters,AR[--wR]);xR.v=PR(t,AR[--wR]),AR[wR++]=1/0;for(var e=0;e<17;e++)AR[wR++]=0;for(var n=jR(OR(17),xR.v,2),r=0,o=n.length;r<o;r++)AR[wR++]=PR(n,r)-48;var i=ER();AR[wR++]=TR(i,i.length-17,17)},xR.compact?xR.rwid=KR(KR(KR(17*xR.c+17)+17)+1):xR.rwid=KR(KR(KR(KR(17*xR.c+17)+17)+17)+18),xR.pixs=ER(xR.rwid*xR.r*xR.rowmult);for(var vt=0,gt=xR.r-1;vt<=gt;vt+=1){xR.i=vt,xR.i%3==0&&(xR.lcw=30*~~(xR.i/3)+~~((xR.r-1)/3),xR.rcw=KR(KR(30*~~(xR.i/3)+xR.c)-1)),xR.i%3==1&&(xR.lcw=30*~~(xR.i/3)+3*xR.eclevel+(xR.r-1)%3,xR.rcw=30*~~(xR.i/3)+~~((xR.r-1)/3)),xR.i%3==2&&(xR.lcw=KR(KR(30*~~(xR.i/3)+xR.c)-1),xR.rcw=30*~~(xR.i/3)+3*xR.eclevel+(xR.r-1)%3),AR[wR++]=1/0,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=0,AR[wR++]=1,AR[wR++]=0,AR[wR++]=1,AR[wR++]=0,AR[wR++]=1,AR[wR++]=0,AR[wR++]=0,AR[wR++]=0,AR[wR++]=xR.lcw,AR[wR++]=xR.i%3,xR.cwtobits(),NR(AR[--wR]);for(var mt=TR(xR.cws,xR.c*xR.i,xR.c),bt=0,wt=mt.length;bt<wt;bt++)AR[wR++]=PR(mt,bt),AR[wR++]=xR.i%3,xR.cwtobits(),NR(AR[--wR]);xR.compact||(AR[wR++]=xR.rcw,AR[wR++]=xR.i%3,xR.cwtobits(),NR(AR[--wR]),AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=1,AR[wR++]=0,AR[wR++]=1,AR[wR++]=0,AR[wR++]=0,AR[wR++]=0,AR[wR++]=1,AR[wR++]=0,AR[wR++]=1,AR[wR++]=0,AR[wR++]=0),AR[wR++]=1;var At=ER();AR[wR++]=At;for(var xt=0,Et=xR.rowmult-1;xt<=Et;xt+=1){var St=AR[--wR];CR(xR.pixs,(xt+xR.i*xR.rowmult)*xR.rwid,St),AR[wR++]=St}wR--}var Ot=new Map([["ren","renmatrix"],["pixs",xR.pixs],["pixx",xR.rwid],["pixy",xR.r*xR.rowmult],["height",xR.r*xR.rowmult/72],["width",xR.rwid/72],["borderleft",2],["borderright",2],["bordertop",2],["borderbottom",2],["opt",xR.options]]);AR[wR++]=Ot,xR.dontdraw||nM(),xR=Object.getPrototypeOf(xR),xR=Object.getPrototypeOf(xR)}function cM(){if((xR=Object.create(xR)).dontdraw=!1,xR.format="unset",xR.version="unset",xR.eclevel="unset",xR.parse=!1,xR.parsefnc=!1,xR.mask=-1,xR.suppresskanjimode=!0,AR[wR++]=xR,ZR(),xR.options=AR[--wR],xR.barcode=AR[--wR],tM(cM),UR(xR.barcode,"")&&(AR[wR++]="bwipp.qrcodeEmptyData#20121",AR[wR++]="The data must not be empty",XR()),GR(xR.version,"unset")?UR(xR.format,"unset")&&(AR[wR++]="full",UR(TR(xR.version,0,1),"M")&&(wR--,AR[wR++]="micro"),UR(TR(xR.version,0,1),"R")&&(wR--,AR[wR++]="rmqr"),xR.format=AR[--wR]):UR(xR.format,"unset")&&(xR.format="full"),GR(xR.format,"full")&&GR(xR.format,"micro")&&GR(xR.format,"rmqr")&&(AR[wR++]="bwipp.qrcodeInvalidFormat#20137",AR[wR++]="The format must be either full, micro or rmqr",XR()),UR(xR.format,"rmqr")&&UR(xR.version,"unset")&&(AR[wR++]="bwipp.qrcodeRMQRwithoutVersion#20141",AR[wR++]="A version must be provided for RMQR",XR()),UR(xR.eclevel,"unset")){AR[wR++]="eclevel",GR(xR.format,"micro")?AR[wR++]="M":AR[wR++]="L";var t=AR[--wR];xR[AR[--wR]]=t}if(GR(xR.eclevel,"L")&&GR(xR.eclevel,"M")&&GR(xR.eclevel,"Q")&&GR(xR.eclevel,"H")&&(AR[wR++]="bwipp.qrcodeInvalidEClevel#20148",AR[wR++]="Error correction level must be either L, M, Q, or H",XR()),-1!=xR.mask&&UR(xR.format,"rmqr")&&(AR[wR++]="bwipp.qrcodeRMQRmask#20152",AR[wR++]="A mask cannot be supplied for RMQR",XR()),-1!=xR.mask){var e=UR(xR.format,"full")?8:4;(xR.mask<1||xR.mask>e)&&(AR[wR++]="bwipp.qrcodeBadMask#20157",AR[wR++]="An invalid mask was supplied",XR())}xR.fn1=-1;var n=new Map([["parse",xR.parse],["parsefnc",xR.parsefnc],["eci",!0],["FNC1",xR.fn1]]);xR.fncvals=n,AR[wR++]="msg",AR[wR++]=xR.barcode,AR[wR++]=xR.fncvals,eM();var r=AR[--wR];if(xR[AR[--wR]]=r,xR.msglen=xR.msg.length,xR.fnc1first=!1,xR.msglen>0&&PR(xR.msg,0)==xR.fn1){xR.fnc1first=!0,AR[wR++]=1/0;for(var o=TR(xR.msg,1,xR.msglen-1),i=0,a=o.length;i<a;i++){var u=PR(o,i);if(AR[wR++]=u,37==u){var c=AR[--wR];AR[wR++]=c,AR[wR++]=c}}xR.msg=ER(),xR.msglen=xR.msg.length}if(!cM.__20301__){xR=Object.create(xR);var s=ER(["v1to9","v10to26","v27to40","vM1","vM2","vM3","vM4","vR7x43","vR7x59","vR7x77","vR7x99","vR7x139","vR9x43","vR9x59","vR9x77","vR9x99","vR9x139","vR11x27","vR11x43","vR11x59","vR11x77","vR11x99","vR11x139","vR13x27","vR13x43","vR13x59","vR13x77","vR13x99","vR13x139","vR15x43","vR15x59","vR15x77","vR15x99","vR15x139","vR17x43","vR17x59","vR17x77","vR17x99","vR17x139"]);AR[wR++]=0;for(var l=0,f=s.length;l<f;l++){var h=AR[--wR];xR[PR(s,l)]=h,AR[wR++]=KR(h+1)}wR--,xR.N=0,xR.A=1,xR.B=2,xR.K=3,xR.E=4,AR[wR++]=1/0,AR[wR++]=1/0;for(var p=48;p<=57;p+=1)AR[wR++]=p;for(var d=ER(),y=0,v=d.length;y<v;y++)AR[wR++]=PR(d,y),AR[wR++]=-1;xR.Nexcl=SR(),AR[wR++]=1/0,AR[wR++]=1/0,AR[wR++]=32,AR[wR++]=36,AR[wR++]=37,AR[wR++]=42,AR[wR++]=43,AR[wR++]=45,AR[wR++]=46,AR[wR++]=47,AR[wR++]=58;for(var g=65;g<=90;g+=1)AR[wR++]=g;AR[wR++]=xR.fn1;for(var m=ER(),b=0,w=m.length;b<w;b++)AR[wR++]=PR(m,b),AR[wR++]=-1;xR.Aexcl=SR(),AR[wR++]=1/0,AR[wR++]=1/0;for(var A=129;A<=159;A+=1)AR[wR++]=A;for(var x=224;x<=235;x+=1)AR[wR++]=x;for(var E=ER(),S=0,O=E.length;S<O;S++)AR[wR++]=PR(E,S),AR[wR++]=-1;xR.Kexcl=SR(),AR[wR++]=1/0,AR[wR++]=ER(["0001","0010","0100","1000","0111"]),AR[wR++]=ER(["0001","0010","0100","1000","0111"]),AR[wR++]=ER(["0001","0010","0100","1000","0111"]),AR[wR++]=ER(["",-1,-1,-1,-1]),AR[wR++]=ER(["0","1",-1,-1,-1]),AR[wR++]=ER(["00","01","10","11",-1]),AR[wR++]=ER(["000","001","010","011",-1]);for(var k=0;k<32;k++)AR[wR++]=ER(["001","010","011","100","111"]);xR.mids=ER(),xR.cclens=ER([ER([10,9,8,8]),ER([12,11,16,10]),ER([14,13,16,12]),ER([3,-1,-1,-1]),ER([4,3,-1,-1]),ER([5,4,4,3]),ER([6,5,5,4]),ER([4,3,3,2]),ER([5,5,4,3]),ER([6,5,5,4]),ER([7,6,5,5]),ER([7,6,6,5]),ER([5,5,4,3]),ER([6,5,5,4]),ER([7,6,5,5]),ER([7,6,6,5]),ER([8,7,6,6]),ER([4,4,3,2]),ER([6,5,5,4]),ER([7,6,5,5]),ER([7,6,6,5]),ER([8,7,6,6]),ER([8,7,7,6]),ER([5,5,4,3]),ER([6,6,5,5]),ER([7,6,6,5]),ER([7,7,6,6]),ER([8,7,7,6]),ER([8,8,7,7]),ER([7,6,6,5]),ER([7,7,6,5]),ER([8,7,7,6]),ER([8,7,7,6]),ER([9,8,7,7]),ER([7,6,6,5]),ER([8,7,6,6]),ER([8,7,7,6]),ER([8,8,7,6]),ER([9,8,8,7])]),AR[wR++]=1/0;for(var _=0;_<3;_++)AR[wR++]=4;AR[wR++]=3,AR[wR++]=5,AR[wR++]=7,AR[wR++]=9;for(var j=0;j<32;j++)AR[wR++]=3;xR.termlens=ER(),xR.padstrs=ER(["11101100","00010001"]),xR.charmap="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",xR.charvals=new Map;for(var P=0;P<=44;P+=1)IR(xR.charvals,PR(xR.charmap,P),P);for(var I in xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__20301__=1,xR=Object.getPrototypeOf(xR)}xR.tobin=function(){var t=OR(AR[--wR]);AR[wR++]=t;for(var e=0,n=t.length-1;e<=n;e+=1){var r=AR[--wR];IR(r,e,48),AR[wR++]=r}var o=AR[--wR],i=jR(OR(o.length),AR[--wR],2);CR(o,o.length-i.length,i),AR[wR++]=o},xR.encA=function(){for(xR.in=AR[--wR],xR.fnc1first&&(AR[wR++]=1/0,MR(xR.in,(function(){var t=AR[--wR];AR[wR++]=t,t==xR.fn1&&(wR--,AR[wR++]=37)})),xR.in=ER()),xR.out=OR(1+~~(11*xR.in.length/2)),xR.k=0,xR.m=0;xR.k!=xR.in.length;){xR.k<xR.in.length-1?(AR[wR++]=KR(45*PR(xR.charvals,PR(xR.in,xR.k))+PR(xR.charvals,PR(xR.in,xR.k+1))),AR[wR++]=11,xR.tobin(),xR.k=xR.k+2):(AR[wR++]=PR(xR.charvals,PR(xR.in,xR.k)),AR[wR++]=6,xR.tobin(),xR.k=xR.k+1);var t=AR[--wR];CR(xR.out,xR.m,t),xR.m=t.length+xR.m}AR[wR++]=TR(xR.out,0,xR.m)},xR.encN=function(){for(xR.in=AR[--wR],xR.out=OR(1+~~(10*xR.in.length/3)),xR.k=0,xR.m=0;xR.k!=xR.in.length;){if(xR.k<xR.in.length-2){var t=TR(xR.in,xR.k,3);AR[wR++]=0;for(var e=0,n=t.length;e<n;e++){var r=AR[--wR];AR[wR++]=KR(PR(t,e)+KR(10*r-48))}AR[wR++]=10,xR.tobin(),xR.k=xR.k+3}else if(xR.k==xR.in.length-2){var o=TR(xR.in,xR.k,2);AR[wR++]=0;for(var i=0,a=o.length;i<a;i++){var u=AR[--wR];AR[wR++]=KR(PR(o,i)+KR(10*u-48))}AR[wR++]=7,xR.tobin(),xR.k=xR.k+2}else{var c=TR(xR.in,xR.k,1);AR[wR++]=0;for(var s=0,l=c.length;s<l;s++){var f=AR[--wR];AR[wR++]=KR(PR(c,s)+KR(10*f-48))}AR[wR++]=4,xR.tobin(),xR.k=xR.k+1}var h=AR[--wR];CR(xR.out,xR.m,h),xR.m=h.length+xR.m}AR[wR++]=TR(xR.out,0,xR.m)},xR.encB=function(){xR.in=AR[--wR],xR.fnc1first&&(AR[wR++]=1/0,MR(xR.in,(function(){var t=AR[--wR];AR[wR++]=t,t==xR.fn1&&(wR--,AR[wR++]=29)})),xR.in=ER()),xR.out=OR(8*xR.in.length);for(var t=0,e=xR.in.length-1;t<=e;t+=1)xR.k=t,AR[wR++]=_R(PR(xR.in,xR.k)),AR[wR++]=8,xR.tobin(),CR(xR.out,8*xR.k,AR[--wR]);AR[wR++]=xR.out},xR.encK=function(){for(xR.in=AR[--wR],xR.out=OR(13*~~(xR.in.length/2)),xR.k=0,xR.m=0;xR.k!=xR.in.length;){var t=KR(256*PR(xR.in,xR.k)+PR(xR.in,xR.k+1));AR[wR++]=t,AR[wR++]=t<57408?33088:49472;var e=AR[--wR],n=KR(AR[--wR]-e);AR[wR++]=KR(192*(n>>>8)+(255&n)),AR[wR++]=13,xR.tobin();var r=AR[--wR];CR(xR.out,xR.m,r),xR.m=r.length+xR.m,xR.k=xR.k+2}AR[wR++]=xR.out},xR.encE=function(){var t=KR(-PR(AR[--wR],0)-1e6);if(AR[wR++]=t,t<=127)AR[wR++]=8,xR.tobin();else{var e=AR[--wR];if(AR[wR++]=e,e<=16383){var n=AR[--wR];AR[wR++]=KR(n+32768),AR[wR++]=16,xR.tobin()}else{var r=AR[--wR];AR[wR++]=KR(r+12582912),AR[wR++]=24,xR.tobin()}}},xR.encfuncs=ER(["encN","encA","encB","encK","encE"]),xR.addtobits=function(){var t=AR[--wR];CR(xR.bits,xR.j,t),xR.j=t.length+xR.j},AR[wR++]=1/0;for(var T=0,C=xR.msglen;T<C;T++)AR[wR++]=0;AR[wR++]=0,xR.numNs=ER(),AR[wR++]=1/0;for(var L=0,R=xR.msglen;L<R;L++)AR[wR++]=0;AR[wR++]=0,xR.numAs=ER(),AR[wR++]=1/0;for(var M=0,B=xR.msglen;M<B;M++)AR[wR++]=0;AR[wR++]=0,xR.numAorNs=ER(),AR[wR++]=1/0;for(var F=0,N=xR.msglen;F<N;F++)AR[wR++]=0;AR[wR++]=0,xR.numBs=ER(),AR[wR++]=1/0;for(var D=0,U=xR.msglen;D<U;D++)AR[wR++]=0;AR[wR++]=0,xR.numKs=ER(),AR[wR++]=1/0;for(var G=0,Q=xR.msglen;G<Q;G++)AR[wR++]=0;AR[wR++]=9999,xR.nextNs=ER(),AR[wR++]=1/0;for(var z=0,Y=xR.msglen;z<Y;z++)AR[wR++]=0;AR[wR++]=9999,xR.nextBs=ER(),AR[wR++]=1/0;for(var H=0,V=xR.msglen;H<V;H++)AR[wR++]=0;AR[wR++]=9999,xR.nextAs=ER(),AR[wR++]=1/0;for(var $=0,W=xR.msglen;$<W;$++)AR[wR++]=0;AR[wR++]=9999,xR.nextKs=ER(),xR.isECI=ER(xR.msglen);for(var q=xR.msglen-1;q>=0;q-=1){if(xR.i=q,xR.barchar=PR(xR.msg,xR.i),void 0===PR(xR.Kexcl,xR.barchar)||xR.suppresskanjimode)IR(xR.nextKs,xR.i,KR(PR(xR.nextKs,xR.i+1)+1));else{xR.i+1<xR.msglen?AR[wR++]=KR(256*xR.barchar+PR(xR.msg,xR.i+1)):AR[wR++]=0;var J=AR[--wR],K=255&J;(J>=33088&&J<=40956||J>=57408&&J<=60351)&&K>=64&&K<=252&&127!=K?(IR(xR.nextKs,xR.i,0),IR(xR.numKs,xR.i,KR(PR(xR.numKs,xR.i+2)+1))):IR(xR.nextKs,xR.i,KR(PR(xR.nextKs,xR.i+1)+1))}void 0!==PR(xR.Nexcl,xR.barchar)?(IR(xR.nextNs,xR.i,0),IR(xR.numNs,xR.i,KR(PR(xR.numNs,xR.i+1)+1)),IR(xR.numAorNs,xR.i,KR(PR(xR.numAorNs,xR.i+1)+1))):IR(xR.nextNs,xR.i,KR(PR(xR.nextNs,xR.i+1)+1)),void 0!==PR(xR.Aexcl,xR.barchar)?(IR(xR.nextAs,xR.i,0),IR(xR.numAs,xR.i,KR(PR(xR.numAs,xR.i+1)+1)),IR(xR.numAorNs,xR.i,KR(PR(xR.numAorNs,xR.i+1)+1))):IR(xR.nextAs,xR.i,KR(PR(xR.nextAs,xR.i+1)+1)),IR(xR.isECI,xR.i,xR.barchar<=-1e6)}for(var X=0,Z=xR.msglen-1;X<=Z;X+=1)xR.i=X,PR(xR.numKs,xR.i)>0&&(IR(xR.numKs,xR.i+1,0),IR(xR.nextKs,xR.i+1,KR(PR(xR.nextKs,xR.i+1)+1)));for(var tt=xR.msglen-1;tt>=0;tt-=1)xR.i=tt,0==KR(PR(xR.numNs,xR.i)+KR(PR(xR.numAs,xR.i)+PR(xR.numKs,xR.i)))&&qR(PR(xR.isECI,xR.i))?(IR(xR.nextBs,xR.i,0),IR(xR.numBs,xR.i,KR(PR(xR.numBs,xR.i+1)+1))):IR(xR.nextBs,xR.i,KR(PR(xR.nextBs,xR.i+1)+1));if(xR.KbeforeB=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numK,t)&&0==PR(xR.nextBs,KR(2*xR.numK+xR.i))},xR.KbeforeA=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numK,t)&&0==PR(xR.nextAs,KR(2*xR.numK+xR.i))},xR.KbeforeN=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numK,t)&&0==PR(xR.nextNs,KR(2*xR.numK+xR.i))},xR.KbeforeE=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numK,t)&&KR(2*xR.numK+xR.i)==xR.msglen},xR.AbeforeK=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numA,t)&&0==PR(xR.nextKs,KR(xR.numA+xR.i))},xR.AbeforeB=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numA,t)&&0==PR(xR.nextBs,KR(xR.numA+xR.i))},xR.AbeforeN=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numA,t)&&0==PR(xR.nextNs,KR(xR.numA+xR.i))},xR.AbeforeE=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numA,t)&&KR(xR.numA+xR.i)==xR.msglen},xR.NbeforeK=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numN,t)&&0==PR(xR.nextKs,KR(xR.numN+xR.i))},xR.NbeforeB=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numN,t)&&0==PR(xR.nextBs,KR(xR.numN+xR.i))},xR.NbeforeA=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numN,t)&&0==PR(xR.nextAs,KR(xR.numN+xR.i))},xR.NbeforeE=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numN,t)&&KR(xR.numN+xR.i)==xR.msglen},xR.AorNbeforeB=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numAorN,t)&&0==PR(xR.nextBs,KR(xR.numAorN+xR.i))},xR.AorNbeforeE=function(){var t=PR(AR[--wR],xR.ver);AR[wR++]=HR(xR.numAorN,t)&&KR(xR.numAorN+xR.i)==xR.msglen},xR.nextNslt=function(){if(PR(xR.nextNs,xR.i)>=xR.msglen)wR--,AR[wR++]=!0;else{var t=PR(AR[--wR],xR.ver);AR[wR++]=QR(PR(xR.numNs,KR(PR(xR.nextNs,xR.i)+xR.i)),t)}},!cM.__20507__){xR=Object.create(xR),AR[wR++]=1/0,AR[wR++]="full",AR[wR++]=1/0;for(var et=0;et<=9;et+=1)AR[wR++]=jR(OR(2),et,10),AR[wR++]=xR.v1to9;for(var nt=10;nt<=26;nt+=1)AR[wR++]=jR(OR(2),nt,10),AR[wR++]=xR.v10to26;for(var rt=27;rt<=40;rt+=1)AR[wR++]=jR(OR(2),rt,10),AR[wR++]=xR.v27to40;var ot=SR(),it=new Map([["M1",xR.vM1],["M2",xR.vM2],["M3",xR.vM3],["M4",xR.vM4]]),at=new Map([["R7x43",xR.vR7x43],["R7x59",xR.vR7x59],["R7x77",xR.vR7x77],["R7x99",xR.vR7x99],["R7x139",xR.vR7x139],["R9x43",xR.vR9x43],["R9x59",xR.vR9x59],["R9x77",xR.vR9x77],["R9x99",xR.vR9x99],["R9x139",xR.vR9x139],["R11x27",xR.vR11x27],["R11x43",xR.vR11x43],["R11x59",xR.vR11x59],["R11x77",xR.vR11x77],["R11x99",xR.vR11x99],["R11x139",xR.vR11x139],["R13x27",xR.vR13x27],["R13x43",xR.vR13x43],["R13x59",xR.vR13x59],["R13x77",xR.vR13x77],["R13x99",xR.vR13x99],["R13x139",xR.vR13x139],["R15x43",xR.vR15x43],["R15x59",xR.vR15x59],["R15x77",xR.vR15x77],["R15x99",xR.vR15x99],["R15x139",xR.vR15x139],["R17x43",xR.vR17x43],["R17x59",xR.vR17x59],["R17x77",xR.vR17x77],["R17x99",xR.vR17x99],["R17x139",xR.vR17x139]]);for(var I in AR[wR++]=ot,AR[wR++]="micro",AR[wR++]=it,AR[wR++]="rmqr",AR[wR++]=at,xR.versetmap=SR(),xR.versetfull=ER([xR.v1to9,xR.v10to26,xR.v27to40]),xR.versetmicro=ER([xR.vM1,xR.vM2,xR.vM3,xR.vM4]),xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__20507__=1,xR=Object.getPrototypeOf(xR)}if(GR(xR.version,"unset")){var ut=PR(xR.versetmap,xR.format),ct=xR.version,st=void 0!==PR(ut,ct);AR[wR++]=ut,AR[wR++]=ct,st||(wR-=2,UR(xR.format,"full")?(AR[wR++]="bwipp.qrcodeInvalidFullVersion#20513",AR[wR++]="Valid versions for QR Code symbols are 1 to 40",XR()):UR(xR.format,"micro")?(AR[wR++]="bwipp.qrcodeInvalidMicroVersion#20516",AR[wR++]="Valid versions for Micro QR Code symbols are M1 to M4",XR()):(AR[wR++]="bwipp.qrcodeInvalidRMQRversion#20518",AR[wR++]="Invalid version for an RMQR symbol",XR()));var lt=AR[--wR],ft=PR(AR[--wR],lt);AR[wR++]=ft,AR[wR++]=1/0;var ht=AR[--wR],pt=AR[--wR];AR[wR++]=ht,AR[wR++]=pt,xR.verset=ER()}else UR(xR.format,"full")&&(xR.verset=xR.versetfull),UR(xR.format,"micro")&&(xR.verset=xR.versetmicro);AR[wR++]=1/0;for(var dt=0;dt<39;dt++)AR[wR++]=-1;if(xR.msgbits=ER(),xR.e=1e4,!cM.__20561__){for(var I in(xR=Object.create(xR)).mode0forceKB=ER([1,1,1,xR.e,xR.e,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]),xR.mode0forceA=ER([1,1,1,xR.e,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]),xR.mode0forceN=ER([1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]),xR.mode0NbeforeB=ER([4,4,5,xR.e,xR.e,2,3,2,2,3,3,3,2,3,3,3,3,2,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3]),xR.modeBKbeforeB=ER([9,12,13,xR.e,xR.e,4,6,4,5,6,6,6,5,6,6,6,7,4,6,6,6,7,7,5,6,6,7,7,7,6,6,7,7,7,6,7,7,7,8]),xR.modeBKbeforeA=ER([8,10,11,xR.e,xR.e,4,5,4,5,5,6,6,5,5,6,6,6,4,5,6,6,6,6,5,6,6,6,6,7,6,6,6,6,7,6,6,6,7,7]),xR.modeBKbeforeN=ER([8,9,11,xR.e,xR.e,3,5,3,4,5,5,5,4,5,5,5,6,3,5,5,5,6,6,4,5,5,6,6,6,5,5,6,6,7,5,6,6,6,7]),xR.modeBKbeforeE=ER([5,5,6,xR.e,xR.e,2,3,2,3,3,3,3,3,3,3,3,4,2,3,3,3,4,4,3,3,3,4,4,4,3,3,4,4,4,3,4,4,4,4]),xR.modeBAbeforeK=ER([11,12,14,xR.e,xR.e,5,7,5,6,7,8,8,6,7,8,8,8,6,7,8,8,8,8,6,8,8,8,8,9,8,8,8,8,9,8,8,8,9,9]),xR.modeBAbeforeB=ER([11,15,16,xR.e,xR.e,6,7,6,7,7,8,8,7,7,8,8,8,6,7,8,8,8,9,7,8,8,8,9,9,8,8,9,9,9,8,8,9,9,10]),xR.modeBAbeforeN=ER([12,13,15,xR.e,xR.e,6,8,6,7,8,8,8,7,8,8,8,9,6,8,8,8,9,9,7,8,8,9,9,10,8,9,9,9,10,8,9,9,10,10]),xR.modeBAbeforeE=ER([6,7,8,xR.e,xR.e,3,4,3,4,4,4,4,4,4,4,4,5,4,4,4,4,5,5,4,4,4,5,5,5,4,5,5,5,5,4,5,5,5,5]),xR.modeBNbeforeK=ER([6,7,8,xR.e,xR.e,3,4,3,4,4,5,5,4,4,5,5,5,3,4,5,5,5,5,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5]),xR.modeBNbeforeB=ER([6,8,9,xR.e,xR.e,3,4,3,4,4,5,5,4,4,5,5,5,3,4,5,5,5,5,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,6]),xR.modeBNbeforeA=ER([6,7,8,xR.e,xR.e,3,4,3,4,4,5,5,4,4,5,5,5,4,4,5,5,5,5,4,5,5,5,5,5,5,5,5,5,6,5,5,5,5,6]),xR.modeBNbeforeE=ER([3,4,4,xR.e,xR.e,2,3,2,2,3,3,3,2,3,3,3,3,2,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3]),xR.modeANbeforeA=ER([13,15,17,xR.e,5,7,9,7,8,9,9,9,8,9,9,9,11,7,9,9,9,11,11,8,9,9,10,11,11,9,10,11,11,11,9,11,11,11,11]),xR.modeANbeforeB=ER([13,17,18,xR.e,xR.e,7,9,7,8,9,9,9,8,9,9,9,10,7,9,9,9,10,11,8,9,9,9,11,11,9,9,11,11,11,9,10,11,11,11]),xR.modeANbeforeE=ER([7,8,9,xR.e,3,4,5,4,5,5,5,5,5,5,5,5,6,4,5,5,5,6,6,5,5,5,5,6,6,5,5,6,6,6,5,6,6,6,6]),xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__20561__=1,xR=Object.getPrototypeOf(xR)}for(var yt=xR.verset,vt=0,gt=yt.length;vt<gt;vt++){for(xR.ver=PR(yt,vt),xR.mode=-1,xR.seq=ER([]),xR.i=0;!(xR.i>=xR.msglen);){if(xR.numK=PR(xR.numKs,xR.i),xR.numB=PR(xR.numBs,xR.i),xR.numA=PR(xR.numAs,xR.i),xR.numN=PR(xR.numNs,xR.i),xR.numAorN=PR(xR.numAorNs,xR.i),xR.eci=PR(xR.isECI,xR.i),UR(xR.ver,xR.vM1)&&xR.numA>=1){xR.seq=-1;break}if(UR(xR.ver,xR.vM1)&&xR.numB>=1){xR.seq=-1;break}if(UR(xR.ver,xR.vM1)&&xR.numK>=1){xR.seq=-1;break}if(UR(xR.ver,xR.vM1)&&xR.eci){xR.seq=-1;break}if(UR(xR.ver,xR.vM2)&&xR.numB>=1){xR.seq=-1;break}if(UR(xR.ver,xR.vM2)&&xR.numK>=1){xR.seq=-1;break}if(UR(xR.ver,xR.vM2)&&xR.eci){xR.seq=-1;break}if(UR(xR.ver,xR.vM3)&&xR.eci){xR.seq=-1;break}if(UR(xR.ver,xR.vM4)&&xR.eci){xR.seq=-1;break}for(;;){if(xR.eci){AR[wR++]=xR.E;break}if(-1==xR.mode){if(AR[wR++]=xR.mode0forceKB,xR.KbeforeA(),AR[--wR]){AR[wR++]=xR.K;break}if(AR[wR++]=xR.mode0forceKB,xR.KbeforeN(),AR[--wR]){AR[wR++]=xR.K;break}if(AR[wR++]=xR.modeBKbeforeE,xR.KbeforeB(),AR[--wR]){AR[wR++]=xR.K;break}if(AR[wR++]=xR.mode0forceKB,xR.KbeforeE(),AR[--wR]){AR[wR++]=xR.K;break}if(xR.numK>=1){AR[wR++]=xR.B;break}if(AR[wR++]=xR.mode0NbeforeB,xR.NbeforeB(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.mode0forceKB,xR.NbeforeB(),AR[--wR]){AR[wR++]=xR.B;break}if(AR[wR++]=xR.modeANbeforeE,xR.NbeforeA(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.mode0forceN,xR.NbeforeE(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.modeBAbeforeE,xR.AbeforeK(),AR[--wR]){AR[wR++]=xR.A;break}if(AR[wR++]=xR.modeBAbeforeE,xR.AorNbeforeB(),AR[--wR]){AR[wR++]=xR.A;break}if(AR[wR++]=xR.mode0forceA,xR.AorNbeforeE(),AR[--wR]){AR[wR++]=xR.A;break}AR[wR++]=xR.B;break}if(xR.mode==xR.B){if(AR[wR++]=xR.modeBKbeforeB,xR.KbeforeB(),AR[--wR]){AR[wR++]=xR.K;break}if(AR[wR++]=xR.modeBKbeforeA,xR.KbeforeA(),AR[--wR]){AR[wR++]=xR.K;break}if(AR[wR++]=xR.modeBKbeforeN,xR.KbeforeN(),AR[--wR]){AR[wR++]=xR.K;break}if(AR[wR++]=xR.modeBKbeforeE,xR.KbeforeE(),AR[--wR]){AR[wR++]=xR.K;break}if(AR[wR++]=xR.modeBAbeforeK,xR.AbeforeK(),AR[--wR]){AR[wR++]=xR.A;break}if(AR[wR++]=xR.modeBAbeforeB,xR.AbeforeB(),AR[--wR]){AR[wR++]=xR.A;break}if(AR[wR++]=xR.modeBAbeforeN,xR.AbeforeN(),AR[--wR]){AR[wR++]=xR.A;break}if(AR[wR++]=xR.modeBAbeforeE,xR.AbeforeE(),AR[--wR]){AR[wR++]=xR.A;break}if(AR[wR++]=xR.modeBNbeforeK,xR.NbeforeK(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.modeBNbeforeB,xR.NbeforeB(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.modeBNbeforeA,xR.NbeforeA(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.modeBNbeforeE,xR.NbeforeE(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.modeBAbeforeE,xR.AorNbeforeE(),AR[--wR]&&zR(xR.numAorN,PR(xR.modeBAbeforeN,xR.ver))&&(AR[wR++]=xR.modeBNbeforeA,xR.nextNslt(),AR[--wR])){AR[wR++]=xR.A;break}AR[wR++]=xR.B;break}if(xR.mode==xR.A){if(xR.numK>=1){AR[wR++]=xR.K;break}if(xR.numB>=1){AR[wR++]=xR.B;break}if(AR[wR++]=xR.modeANbeforeA,xR.NbeforeA(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.modeANbeforeB,xR.NbeforeB(),AR[--wR]){AR[wR++]=xR.N;break}if(AR[wR++]=xR.modeANbeforeE,xR.NbeforeE(),AR[--wR]){AR[wR++]=xR.N;break}if(xR.numA>=1||xR.numN>=1){AR[wR++]=xR.A;break}AR[wR++]=xR.B;break}if(xR.mode==xR.N){if(xR.numK>=1){AR[wR++]=xR.K;break}if(xR.numB>=1){AR[wR++]=xR.B;break}if(xR.numA>=1){AR[wR++]=xR.A;break}if(xR.numN>=1){AR[wR++]=xR.N;break}AR[wR++]=xR.B;break}if(xR.mode==xR.K){if(xR.numB>=1){AR[wR++]=xR.B;break}if(xR.numA>=1){AR[wR++]=xR.A;break}if(xR.numN>=1){AR[wR++]=xR.N;break}if(xR.numK>=1){AR[wR++]=xR.K;break}AR[wR++]=xR.B;break}}var mt=AR[--wR];AR[wR++]=mt,mt==xR.K&&xR.fnc1first&&(wR--,AR[wR++]=xR.B);var bt=AR[--wR];if(AR[wR++]=bt,bt==xR.mode){wR--;var wt=xR.mode==xR.K?2:1;xR.dat=TR(xR.msg,xR.i,wt),AR[wR++]=1/0,NR(xR.seq),AR[wR++]=1/0;var At=AR[--wR],xt=AR[--wR];AR[wR++]=At,NR(xt),NR(xR.dat);var Et=ER();AR[wR++]=Et,xR.seq=ER()}else xR.mode=AR[--wR],xR.mode==xR.K&&(AR[wR++]=xR.K,AR[wR++]=TR(xR.msg,xR.i,2*xR.numK)),xR.mode==xR.B&&(AR[wR++]=xR.B,AR[wR++]=TR(xR.msg,xR.i,xR.numB)),xR.mode==xR.A&&(AR[wR++]=xR.A,AR[wR++]=TR(xR.msg,xR.i,xR.numA)),xR.mode==xR.N&&(AR[wR++]=xR.N,AR[wR++]=TR(xR.msg,xR.i,xR.numN)),xR.mode==xR.E&&(xR.mode=-1,AR[wR++]=xR.E,AR[wR++]=TR(xR.msg,xR.i,1)),xR.dat=AR[--wR],xR.sw=AR[--wR],AR[wR++]=1/0,NR(xR.seq),AR[wR++]=xR.sw,AR[wR++]=xR.dat,xR.seq=ER();xR.i=xR.i+xR.dat.length}for(;-1!=xR.seq;){xR.bits=OR(23648),xR.j=0,xR.fnc1first&&(QR(xR.ver,xR.vR7x43)?AR[wR++]="0101":AR[wR++]="101",xR.addtobits()),xR.abort=!1;for(var St=0,Ot=xR.seq.length-1;St<=Ot;St+=2){if(xR.i=St,xR.mode=PR(xR.seq,xR.i),AR[wR++]=PR(PR(xR.mids,xR.ver),xR.mode),xR.addtobits(),xR.chars=PR(xR.seq,xR.i+1),AR[wR++]="charslen",AR[wR++]=xR.chars.length,xR.mode==xR.K){var kt=AR[--wR];AR[wR++]=~~(kt/2)}var _t=AR[--wR];if(xR[AR[--wR]]=_t,xR.mode!=xR.E){if(xR.cclen=PR(PR(xR.cclens,xR.ver),xR.mode),xR.charslen>=~~Math.pow(2,xR.cclen)){xR.abort=!0;break}AR[wR++]=xR.charslen,AR[wR++]=xR.cclen,xR.tobin(),xR.addtobits()}if(AR[wR++]=xR.chars,!0===xR[PR(xR.encfuncs,xR.mode)]())break;xR.addtobits()}if(xR.abort)break;xR.bits=TR(xR.bits,0,xR.j),IR(xR.msgbits,xR.ver,xR.bits);break}}if(!cM.__20779__){for(var I in(xR=Object.create(xR)).metrics=ER([ER(["micro","M1",xR.vM1,11,11,98,99,36,ER([2,99,99,99]),ER([1,0,-1,-1,-1,-1,-1,-1])]),ER(["micro","M2",xR.vM2,13,13,98,99,80,ER([5,6,99,99]),ER([1,0,1,0,-1,-1,-1,-1])]),ER(["micro","M3",xR.vM3,15,15,98,99,132,ER([6,8,99,99]),ER([1,0,1,0,-1,-1,-1,-1])]),ER(["micro","M4",xR.vM4,17,17,98,99,192,ER([8,10,14,99]),ER([1,0,1,0,1,0,-1,-1])]),ER(["full","1",xR.v1to9,21,21,98,99,208,ER([7,10,13,17]),ER([1,0,1,0,1,0,1,0])]),ER(["full","2",xR.v1to9,25,25,18,99,359,ER([10,16,22,28]),ER([1,0,1,0,1,0,1,0])]),ER(["full","3",xR.v1to9,29,29,22,99,567,ER([15,26,36,44]),ER([1,0,1,0,2,0,2,0])]),ER(["full","4",xR.v1to9,33,33,26,99,807,ER([20,36,52,64]),ER([1,0,2,0,2,0,4,0])]),ER(["full","5",xR.v1to9,37,37,30,99,1079,ER([26,48,72,88]),ER([1,0,2,0,2,2,2,2])]),ER(["full","6",xR.v1to9,41,41,34,99,1383,ER([36,64,96,112]),ER([2,0,4,0,4,0,4,0])]),ER(["full","7",xR.v1to9,45,45,22,38,1568,ER([40,72,108,130]),ER([2,0,4,0,2,4,4,1])]),ER(["full","8",xR.v1to9,49,49,24,42,1936,ER([48,88,132,156]),ER([2,0,2,2,4,2,4,2])]),ER(["full","9",xR.v1to9,53,53,26,46,2336,ER([60,110,160,192]),ER([2,0,3,2,4,4,4,4])]),ER(["full","10",xR.v10to26,57,57,28,50,2768,ER([72,130,192,224]),ER([2,2,4,1,6,2,6,2])]),ER(["full","11",xR.v10to26,61,61,30,54,3232,ER([80,150,224,264]),ER([4,0,1,4,4,4,3,8])]),ER(["full","12",xR.v10to26,65,65,32,58,3728,ER([96,176,260,308]),ER([2,2,6,2,4,6,7,4])]),ER(["full","13",xR.v10to26,69,69,34,62,4256,ER([104,198,288,352]),ER([4,0,8,1,8,4,12,4])]),ER(["full","14",xR.v10to26,73,73,26,46,4651,ER([120,216,320,384]),ER([3,1,4,5,11,5,11,5])]),ER(["full","15",xR.v10to26,77,77,26,48,5243,ER([132,240,360,432]),ER([5,1,5,5,5,7,11,7])]),ER(["full","16",xR.v10to26,81,81,26,50,5867,ER([144,280,408,480]),ER([5,1,7,3,15,2,3,13])]),ER(["full","17",xR.v10to26,85,85,30,54,6523,ER([168,308,448,532]),ER([1,5,10,1,1,15,2,17])]),ER(["full","18",xR.v10to26,89,89,30,56,7211,ER([180,338,504,588]),ER([5,1,9,4,17,1,2,19])]),ER(["full","19",xR.v10to26,93,93,30,58,7931,ER([196,364,546,650]),ER([3,4,3,11,17,4,9,16])]),ER(["full","20",xR.v10to26,97,97,34,62,8683,ER([224,416,600,700]),ER([3,5,3,13,15,5,15,10])]),ER(["full","21",xR.v10to26,101,101,28,50,9252,ER([224,442,644,750]),ER([4,4,17,0,17,6,19,6])]),ER(["full","22",xR.v10to26,105,105,26,50,10068,ER([252,476,690,816]),ER([2,7,17,0,7,16,34,0])]),ER(["full","23",xR.v10to26,109,109,30,54,10916,ER([270,504,750,900]),ER([4,5,4,14,11,14,16,14])]),ER(["full","24",xR.v10to26,113,113,28,54,11796,ER([300,560,810,960]),ER([6,4,6,14,11,16,30,2])]),ER(["full","25",xR.v10to26,117,117,32,58,12708,ER([312,588,870,1050]),ER([8,4,8,13,7,22,22,13])]),ER(["full","26",xR.v10to26,121,121,30,58,13652,ER([336,644,952,1110]),ER([10,2,19,4,28,6,33,4])]),ER(["full","27",xR.v27to40,125,125,34,62,14628,ER([360,700,1020,1200]),ER([8,4,22,3,8,26,12,28])]),ER(["full","28",xR.v27to40,129,129,26,50,15371,ER([390,728,1050,1260]),ER([3,10,3,23,4,31,11,31])]),ER(["full","29",xR.v27to40,133,133,30,54,16411,ER([420,784,1140,1350]),ER([7,7,21,7,1,37,19,26])]),ER(["full","30",xR.v27to40,137,137,26,52,17483,ER([450,812,1200,1440]),ER([5,10,19,10,15,25,23,25])]),ER(["full","31",xR.v27to40,141,141,30,56,18587,ER([480,868,1290,1530]),ER([13,3,2,29,42,1,23,28])]),ER(["full","32",xR.v27to40,145,145,34,60,19723,ER([510,924,1350,1620]),ER([17,0,10,23,10,35,19,35])]),ER(["full","33",xR.v27to40,149,149,30,58,20891,ER([540,980,1440,1710]),ER([17,1,14,21,29,19,11,46])]),ER(["full","34",xR.v27to40,153,153,34,62,22091,ER([570,1036,1530,1800]),ER([13,6,14,23,44,7,59,1])]),ER(["full","35",xR.v27to40,157,157,30,54,23008,ER([570,1064,1590,1890]),ER([12,7,12,26,39,14,22,41])]),ER(["full","36",xR.v27to40,161,161,24,50,24272,ER([600,1120,1680,1980]),ER([6,14,6,34,46,10,2,64])]),ER(["full","37",xR.v27to40,165,165,28,54,25568,ER([630,1204,1770,2100]),ER([17,4,29,14,49,10,24,46])]),ER(["full","38",xR.v27to40,169,169,32,58,26896,ER([660,1260,1860,2220]),ER([4,18,13,32,48,14,42,32])]),ER(["full","39",xR.v27to40,173,173,26,54,28256,ER([720,1316,1950,2310]),ER([20,4,40,7,43,22,10,67])]),ER(["full","40",xR.v27to40,177,177,30,58,29648,ER([750,1372,2040,2430]),ER([19,6,18,31,34,34,20,61])]),ER(["rmqr","R7x43",xR.vR7x43,7,43,22,99,104,ER([99,7,99,10]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R7x59",xR.vR7x59,7,59,20,40,171,ER([99,9,99,14]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R7x77",xR.vR7x77,7,77,26,52,261,ER([99,12,99,22]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R7x99",xR.vR7x99,7,99,24,50,358,ER([99,16,99,30]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R7x139",xR.vR7x139,7,139,28,56,545,ER([99,24,99,44]),ER([-1,-1,1,0,-1,-1,2,0])]),ER(["rmqr","R9x43",xR.vR9x43,9,43,22,99,170,ER([99,9,99,14]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R9x59",xR.vR9x59,9,59,20,40,267,ER([99,12,99,22]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R9x77",xR.vR9x77,9,77,26,52,393,ER([99,18,99,32]),ER([-1,-1,1,0,-1,-1,1,1])]),ER(["rmqr","R9x99",xR.vR9x99,9,99,24,50,532,ER([99,24,99,44]),ER([-1,-1,1,0,-1,-1,2,0])]),ER(["rmqr","R9x139",xR.vR9x139,9,139,28,56,797,ER([99,36,99,66]),ER([-1,-1,1,1,-1,-1,3,0])]),ER(["rmqr","R11x27",xR.vR11x27,11,27,98,99,122,ER([99,8,99,10]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R11x43",xR.vR11x43,11,43,22,99,249,ER([99,12,99,20]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R11x59",xR.vR11x59,11,59,20,40,376,ER([99,16,99,32]),ER([-1,-1,1,0,-1,-1,1,1])]),ER(["rmqr","R11x77",xR.vR11x77,11,77,26,52,538,ER([99,24,99,44]),ER([-1,-1,1,0,-1,-1,1,1])]),ER(["rmqr","R11x99",xR.vR11x99,11,99,24,50,719,ER([99,32,99,60]),ER([-1,-1,1,1,-1,-1,1,1])]),ER(["rmqr","R11x139",xR.vR11x139,11,139,28,56,1062,ER([99,48,99,90]),ER([-1,-1,2,0,-1,-1,3,0])]),ER(["rmqr","R13x27",xR.vR13x27,13,27,98,99,172,ER([99,9,99,14]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R13x43",xR.vR13x43,13,43,22,99,329,ER([99,14,99,28]),ER([-1,-1,1,0,-1,-1,1,0])]),ER(["rmqr","R13x59",xR.vR13x59,13,59,20,40,486,ER([99,22,99,40]),ER([-1,-1,1,0,-1,-1,2,0])]),ER(["rmqr","R13x77",xR.vR13x77,13,77,26,52,684,ER([99,32,99,56]),ER([-1,-1,1,1,-1,-1,1,1])]),ER(["rmqr","R13x99",xR.vR13x99,13,99,24,50,907,ER([99,40,99,78]),ER([-1,-1,1,1,-1,-1,1,2])]),ER(["rmqr","R13x139",xR.vR13x139,13,139,28,56,1328,ER([99,60,99,112]),ER([-1,-1,2,1,-1,-1,2,2])]),ER(["rmqr","R15x43",xR.vR15x43,15,43,22,99,409,ER([99,18,99,36]),ER([-1,-1,1,0,-1,-1,1,1])]),ER(["rmqr","R15x59",xR.vR15x59,15,59,20,40,596,ER([99,26,99,48]),ER([-1,-1,1,0,-1,-1,2,0])]),ER(["rmqr","R15x77",xR.vR15x77,15,77,26,52,830,ER([99,36,99,72]),ER([-1,-1,1,1,-1,-1,2,1])]),ER(["rmqr","R15x99",xR.vR15x99,15,99,24,50,1095,ER([99,48,99,88]),ER([-1,-1,2,0,-1,-1,4,0])]),ER(["rmqr","R15x139",xR.vR15x139,15,139,28,56,1594,ER([99,72,99,130]),ER([-1,-1,2,1,-1,-1,1,4])]),ER(["rmqr","R17x43",xR.vR17x43,17,43,22,99,489,ER([99,22,99,40]),ER([-1,-1,1,0,-1,-1,1,1])]),ER(["rmqr","R17x59",xR.vR17x59,17,59,20,40,706,ER([99,32,99,60]),ER([-1,-1,2,0,-1,-1,2,0])]),ER(["rmqr","R17x77",xR.vR17x77,17,77,26,52,976,ER([99,44,99,84]),ER([-1,-1,2,0,-1,-1,1,2])]),ER(["rmqr","R17x99",xR.vR17x99,17,99,24,50,1283,ER([99,60,99,104]),ER([-1,-1,2,1,-1,-1,4,0])]),ER(["rmqr","R17x139",xR.vR17x139,17,139,28,56,1860,ER([99,80,99,156]),ER([-1,-1,4,0,-1,-1,2,4])])]),xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__20779__=1,xR=Object.getPrototypeOf(xR)}AR[wR++]="eclval",RR("LMQH",xR.eclevel),wR--;var jt=AR[--wR],Pt=AR[--wR];AR[wR++]=jt.length,AR[wR++]=Pt,wR--;var It=AR[--wR],Tt=AR[--wR];AR[wR++]=It,AR[wR++]=Tt,wR--;var Ct=AR[--wR];xR[AR[--wR]]=Ct;for(var Lt=0,Rt=xR.metrics.length-1;Lt<=Rt;Lt+=1){xR.i=Lt,xR.m=PR(xR.metrics,xR.i),xR.frmt=PR(xR.m,0),xR.vers=PR(xR.m,1),xR.vergrp=PR(xR.m,2),xR.verind=xR.i-44,xR.rows=PR(xR.m,3),xR.cols=PR(xR.m,4),xR.asp2=PR(xR.m,5),xR.asp3=PR(xR.m,6),xR.nmod=PR(xR.m,7),xR.ncws=~~(xR.nmod/8),xR.rbit=xR.nmod%8,xR.lc4b=!1,(UR(xR.vers,"M1")||UR(xR.vers,"M3"))&&(xR.ncws=xR.ncws+1,xR.rbit=0,xR.lc4b=!0),xR.ecws=PR(PR(xR.m,8),xR.eclval),xR.dcws=KR(xR.ncws-xR.ecws);var Mt=xR.lc4b?4:0;if(xR.dmod=KR(8*xR.dcws-Mt),xR.ecb1=PR(PR(xR.m,9),2*xR.eclval),xR.ecb2=PR(PR(xR.m,9),KR(2*xR.eclval+1)),xR.okay=!0,GR(xR.format,xR.frmt)&&(xR.okay=!1),UR(xR.frmt,"micro")&&xR.fnc1first&&(xR.okay=!1),GR(xR.version,"unset")&&GR(xR.version,xR.vers)&&(xR.okay=!1),-1!=xR.ecb1&&-1!=xR.ecb2||(xR.okay=!1),xR.verbits=PR(xR.msgbits,xR.vergrp),(-1==xR.verbits||xR.verbits.length>xR.dmod)&&(xR.okay=!1),xR.term=TR("000000000",0,PR(xR.termlens,xR.vergrp)),xR.okay)break}xR.okay||(AR[wR++]="bwipp.qrcodeNoValidSymbol#20823",AR[wR++]="Maximum length exceeded or invalid content",XR()),xR.format=xR.frmt,xR.version=xR.vers,xR.msgbits=xR.verbits,xR.dcpb=~~(xR.dcws/KR(xR.ecb1+xR.ecb2)),xR.ecpb=~~(xR.ncws/KR(xR.ecb1+xR.ecb2))-xR.dcpb;var Bt=xR.term,Ft=xR.dmod,Nt=xR.msgbits,Dt=xR.term,Ut=Dt.length,Gt=KR(Ft-Nt.length);if(KR(Ft-Nt.length)>Dt.length){var Qt=Ut;Ut=Gt,Gt=Qt}xR.term=TR(Bt,0,Gt);var zt=OR(xR.msgbits.length+xR.term.length);CR(zt,0,xR.msgbits),CR(zt,xR.msgbits.length,xR.term),xR.msgbits=zt,xR.pad=OR(xR.dmod);for(var Yt=0,Ht=xR.pad.length-1;Yt<=Ht;Yt+=1)IR(xR.pad,Yt,48);CR(xR.pad,0,xR.msgbits),xR.padnum=0;for(var Vt=xR.lc4b?5:1,$t=~~(8*Math.ceil(xR.msgbits.length/8)),Wt=KR(xR.dmod-Vt);$t<=Wt;$t+=8)CR(xR.pad,$t,PR(xR.padstrs,xR.padnum)),xR.padnum=(xR.padnum+1)%2;xR.cws=ER(xR.dcws);for(var qt=0,Jt=xR.cws.length-1;qt<=Jt;qt+=1){xR.c=qt,xR.bpcw=8,xR.lc4b&&xR.c==xR.cws.length-1&&(xR.bpcw=4),xR.cwb=TR(xR.pad,8*xR.c,xR.bpcw),xR.cw=0;for(var Kt=0,Xt=xR.bpcw-1;Kt<=Xt;Kt+=1)xR.i=Kt,xR.cw=KR(xR.cw+~~Math.pow(2,xR.bpcw-xR.i-1)*KR(PR(xR.cwb,xR.i)-48));IR(xR.cws,xR.c,xR.cw)}if(xR.lc4b){var Zt=xR.cws,te=xR.cws;IR(Zt,te.length-1,PR(Zt,te.length-1)<<4)}if(void 0!==PR(xR.options,"debugcws")&&(AR[wR++]="bwipp.debugcws#20867",AR[wR++]=xR.cws,XR()),!cM.__20874__){xR=Object.create(xR),AR[wR++]=1/0,AR[wR++]=1;for(var ee=0;ee<255;ee++){var ne=AR[--wR],re=2*ne;if(AR[wR++]=ne,AR[wR++]=re,re>=256){var oe=AR[--wR];AR[wR++]=285^oe}}xR.rsalog=ER(),xR.rslog=ER(256);for(var ie=1;ie<=255;ie+=1)IR(xR.rslog,PR(xR.rsalog,ie),ie);for(var I in xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__20874__=1,xR=Object.getPrototypeOf(xR)}xR.rsprod=function(){var t=AR[--wR],e=AR[--wR];if(AR[wR++]=e,AR[wR++]=t,0!=t&&0!=e){var n=PR(xR.rslog,AR[--wR]),r=PR(xR.rsalog,KR(n+PR(xR.rslog,AR[--wR]))%255);AR[wR++]=r}else wR-=2,AR[wR++]=0},AR[wR++]=1/0,AR[wR++]=1;for(var ae=0,ue=xR.ecpb;ae<ue;ae++)AR[wR++]=0;xR.coeffs=ER();for(var ce=0,se=xR.ecpb-1;ce<=se;ce+=1){xR.i=ce,IR(xR.coeffs,xR.i+1,PR(xR.coeffs,xR.i));for(var le=xR.i;le>=1;le-=1){xR.j=le,AR[wR++]=xR.coeffs,AR[wR++]=xR.j,AR[wR++]=PR(xR.coeffs,xR.j-1),AR[wR++]=PR(xR.coeffs,xR.j),AR[wR++]=PR(xR.rsalog,xR.i),xR.rsprod();var fe=AR[--wR],he=AR[--wR],pe=AR[--wR];IR(AR[--wR],pe,WR(he,fe))}AR[wR++]=xR.coeffs,AR[wR++]=0,AR[wR++]=PR(xR.coeffs,0),AR[wR++]=PR(xR.rsalog,xR.i),xR.rsprod();var de=AR[--wR],ye=AR[--wR];IR(AR[--wR],ye,de)}xR.coeffs=TR(xR.coeffs,0,xR.coeffs.length-1),xR.rscodes=function(){xR.rscws=AR[--wR],xR.rsnd=xR.rscws.length,AR[wR++]=1/0,MR(xR.rscws);for(var t=0,e=xR.ecpb;t<e;t++)AR[wR++]=0;xR.rscws=ER();for(var n=0,r=xR.rsnd-1;n<=r;n+=1){xR.m=n,xR.k=PR(xR.rscws,xR.m);for(var o=0,i=xR.ecpb-1;o<=i;o+=1){xR.j=o,AR[wR++]=xR.rscws,AR[wR++]=xR.m+xR.j+1,AR[wR++]=PR(xR.coeffs,xR.ecpb-xR.j-1),AR[wR++]=xR.k,xR.rsprod();var a=AR[--wR],u=AR[--wR];IR(AR[--wR],u,WR(a,PR(xR.rscws,xR.m+xR.j+1)))}}AR[wR++]=TR(xR.rscws,xR.rsnd,xR.ecpb)},xR.dcwsb=ER(KR(xR.ecb1+xR.ecb2)),xR.ecwsb=ER(KR(xR.ecb1+xR.ecb2));for(var ve=0,ge=KR(xR.ecb1-1);ve<=ge;ve+=1){xR.i=ve,IR(xR.dcwsb,xR.i,TR(xR.cws,xR.i*xR.dcpb,xR.dcpb)),AR[wR++]=xR.ecwsb,AR[wR++]=xR.i,AR[wR++]=PR(xR.dcwsb,xR.i),xR.rscodes();var me=AR[--wR],be=AR[--wR];IR(AR[--wR],be,me)}for(var we=0,Ae=KR(xR.ecb2-1);we<=Ae;we+=1){xR.i=we,IR(xR.dcwsb,KR(xR.ecb1+xR.i),TR(xR.cws,KR(xR.ecb1*xR.dcpb+xR.i*(xR.dcpb+1)),xR.dcpb+1)),AR[wR++]=xR.ecwsb,AR[wR++]=KR(xR.ecb1+xR.i),AR[wR++]=PR(xR.dcwsb,KR(xR.ecb1+xR.i)),xR.rscodes();var xe=AR[--wR],Ee=AR[--wR];IR(AR[--wR],Ee,xe)}xR.cws=ER(xR.ncws),xR.cw=0;for(var Se=0,Oe=xR.dcpb;Se<=Oe;Se+=1){xR.i=Se;for(var ke=0,_e=KR(KR(xR.ecb1+xR.ecb2)-1);ke<=_e;ke+=1)xR.j=ke,xR.i<PR(xR.dcwsb,xR.j).length&&(IR(xR.cws,xR.cw,PR(PR(xR.dcwsb,xR.j),xR.i)),xR.cw=xR.cw+1)}for(var je=0,Pe=xR.ecpb-1;je<=Pe;je+=1){xR.i=je;for(var Ie=0,Te=KR(KR(xR.ecb1+xR.ecb2)-1);Ie<=Te;Ie+=1)xR.j=Ie,IR(xR.cws,xR.cw,PR(PR(xR.ecwsb,xR.j),xR.i)),xR.cw=xR.cw+1}if(xR.rbit>0&&(xR.pad=ER(xR.cws.length+1),CR(xR.pad,0,xR.cws),IR(xR.pad,xR.pad.length-1,0),xR.cws=xR.pad),xR.lc4b){var Ce=xR.cws,Le=xR.dcws;IR(Ce,KR(Le-1),PR(Ce,KR(Le-1))>>>4);for(var Re=KR(xR.dcws-1),Me=xR.ncws-2;Re<=Me;Re+=1)xR.i=Re,IR(xR.cws,xR.i,(15&PR(xR.cws,xR.i))<<4),IR(xR.cws,xR.i,PR(xR.cws,xR.i+1)>>>4&15|PR(xR.cws,xR.i));IR(xR.cws,xR.ncws-1,(15&PR(xR.cws,xR.ncws-1))<<4)}void 0!==PR(xR.options,"debugecc")&&(AR[wR++]="bwipp.debugecc#20969",AR[wR++]=xR.cws,XR()),AR[wR++]=1/0;for(var Be=0,Fe=xR.rows*xR.cols;Be<Fe;Be++)AR[wR++]=-1;if(xR.pixs=ER(),xR.qmv=function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=KR(e+t*xR.cols)},UR(xR.format,"full"))for(var Ne=8,De=KR(xR.cols-9);Ne<=De;Ne+=1){xR.i=Ne,AR[wR++]=xR.pixs,AR[wR++]=xR.i,AR[wR++]=6,xR.qmv();var Ue=AR[--wR];IR(AR[--wR],Ue,(xR.i+1)%2),AR[wR++]=xR.pixs,AR[wR++]=6,AR[wR++]=xR.i,xR.qmv();var Ge=AR[--wR];IR(AR[--wR],Ge,(xR.i+1)%2)}if(UR(xR.format,"micro"))for(var Qe=8,ze=KR(xR.cols-1);Qe<=ze;Qe+=1){xR.i=Qe,AR[wR++]=xR.pixs,AR[wR++]=xR.i,AR[wR++]=0,xR.qmv();var Ye=AR[--wR];IR(AR[--wR],Ye,(xR.i+1)%2),AR[wR++]=xR.pixs,AR[wR++]=0,AR[wR++]=xR.i,xR.qmv();var He=AR[--wR];IR(AR[--wR],He,(xR.i+1)%2)}if(UR(xR.format,"rmqr")){for(var Ve=3,$e=KR(xR.cols-4);Ve<=$e;Ve+=1){xR.i=Ve,AR[wR++]=xR.pixs,AR[wR++]=xR.i,AR[wR++]=0,xR.qmv();var We=AR[--wR];IR(AR[--wR],We,(xR.i+1)%2),AR[wR++]=xR.pixs,AR[wR++]=xR.i,AR[wR++]=KR(xR.rows-1),xR.qmv();var qe=AR[--wR];IR(AR[--wR],qe,(xR.i+1)%2)}for(var Je=3,Ke=KR(xR.rows-4);Je<=Ke;Je+=1){xR.i=Je,AR[wR++]=xR.pixs,AR[wR++]=0,AR[wR++]=xR.i,xR.qmv();var Xe=AR[--wR];IR(AR[--wR],Xe,(xR.i+1)%2),AR[wR++]=xR.pixs,AR[wR++]=KR(xR.cols-1),AR[wR++]=xR.i,xR.qmv();var Ze=AR[--wR];IR(AR[--wR],Ze,(xR.i+1)%2)}for(var tn=KR(xR.asp2-1),en=KR(xR.asp3-xR.asp2),nn=KR(xR.cols-13);en<0?tn>=nn:tn<=nn;tn+=en){xR.i=tn;for(var rn=3,on=KR(xR.rows-4);rn<=on;rn+=1){xR.j=rn,AR[wR++]=xR.pixs,AR[wR++]=xR.i,AR[wR++]=xR.j,xR.qmv();var an=AR[--wR];IR(AR[--wR],an,(xR.j+1)%2)}}}if(!cM.__21058__){(xR=Object.create(xR)).fpat=ER([ER([1,1,1,1,1,1,1,0]),ER([1,0,0,0,0,0,1,0]),ER([1,0,1,1,1,0,1,0]),ER([1,0,1,1,1,0,1,0]),ER([1,0,1,1,1,0,1,0]),ER([1,0,0,0,0,0,1,0]),ER([1,1,1,1,1,1,1,0]),ER([0,0,0,0,0,0,0,0])]),xR.fsubpat=ER([ER([1,1,1,1,1,9,9,9]),ER([1,0,0,0,1,9,9,9]),ER([1,0,1,0,1,9,9,9]),ER([1,0,0,0,1,9,9,9]),ER([1,1,1,1,1,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9])]),xR.fcorpat=ER([ER([1,1,1,9,9,9,9,9]),ER([1,0,9,9,9,9,9,9]),ER([1,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9])]),xR.fnullpat=ER([ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9]),ER([9,9,9,9,9,9,9,9])]);var un=new Map([["full",ER([xR.fpat,xR.fpat,xR.fpat,xR.fnullpat])],["micro",ER([xR.fpat,xR.fnullpat,xR.fnullpat,xR.fnullpat])],["rmqr",ER([xR.fpat,xR.fcorpat,xR.fcorpat,xR.fsubpat])]]);for(var I in xR.fpatmap=un,xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__21058__=1,xR=Object.getPrototypeOf(xR)}xR.fpats=PR(xR.fpatmap,xR.format);for(var cn=0;cn<=7;cn+=1){xR.y=cn;for(var sn=0;sn<=7;sn+=1){if(xR.x=sn,xR.fpb0=PR(PR(PR(xR.fpats,0),xR.y),xR.x),xR.fpb1=PR(PR(PR(xR.fpats,1),xR.y),xR.x),xR.fpb2=PR(PR(PR(xR.fpats,2),xR.y),xR.x),xR.fpb3=PR(PR(PR(xR.fpats,3),xR.y),xR.x),9!=xR.fpb0&&xR.y<xR.rows){AR[wR++]=xR.pixs,AR[wR++]=xR.x,AR[wR++]=xR.y,xR.qmv();var ln=AR[--wR];IR(AR[--wR],ln,xR.fpb0)}if(9!=xR.fpb1){AR[wR++]=xR.pixs,AR[wR++]=KR(KR(xR.cols-xR.x)-1),AR[wR++]=xR.y,xR.qmv();var fn=AR[--wR];IR(AR[--wR],fn,xR.fpb1)}if(9!=xR.fpb2){AR[wR++]=xR.pixs,AR[wR++]=xR.x,AR[wR++]=KR(KR(xR.rows-xR.y)-1),xR.qmv();var hn=AR[--wR];IR(AR[--wR],hn,xR.fpb2)}if(9!=xR.fpb3){AR[wR++]=xR.pixs,AR[wR++]=KR(KR(xR.cols-xR.x)-1),AR[wR++]=KR(KR(xR.rows-xR.y)-1),xR.qmv();var pn=AR[--wR];IR(AR[--wR],pn,xR.fpb3)}}}if(!cM.__21091__){for(var I in(xR=Object.create(xR)).algnpatfull=ER([ER([1,1,1,1,1]),ER([1,0,0,0,1]),ER([1,0,1,0,1]),ER([1,0,0,0,1]),ER([1,1,1,1,1])]),xR.algnpatrmqr=ER([ER([1,1,1,9,9]),ER([1,0,1,9,9]),ER([1,1,1,9,9]),ER([9,9,9,9,9]),ER([9,9,9,9,9])]),xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__21091__=1,xR=Object.getPrototypeOf(xR)}if(xR.putalgnpat=function(){xR.py=AR[--wR],xR.px=AR[--wR];for(var t=0;t<=4;t+=1){xR.pb=t;for(var e=0;e<=4;e+=1)if(xR.pa=e,xR.algnb=PR(PR(xR.algnpat,xR.pb),xR.pa),9!=xR.algnb){AR[wR++]=xR.pixs,AR[wR++]=KR(xR.px+xR.pa),AR[wR++]=KR(xR.py+xR.pb),xR.qmv();var n=AR[--wR];IR(AR[--wR],n,xR.algnb)}}},UR(xR.format,"full")){xR.algnpat=xR.algnpatfull;for(var dn=KR(xR.asp2-2),yn=KR(xR.asp3-xR.asp2),vn=KR(xR.cols-13);yn<0?dn>=vn:dn<=vn;dn+=yn)xR.i=dn,AR[wR++]=xR.i,AR[wR++]=4,xR.putalgnpat(),AR[wR++]=4,AR[wR++]=xR.i,xR.putalgnpat();for(var gn=KR(xR.asp2-2),mn=KR(xR.asp3-xR.asp2),bn=KR(xR.cols-9);mn<0?gn>=bn:gn<=bn;gn+=mn){xR.x=gn;for(var wn=KR(xR.asp2-2),An=KR(xR.asp3-xR.asp2),xn=KR(xR.rows-9);An<0?wn>=xn:wn<=xn;wn+=An)xR.y=wn,AR[wR++]=xR.x,AR[wR++]=xR.y,xR.putalgnpat()}}if(UR(xR.format,"rmqr")){xR.algnpat=xR.algnpatrmqr;for(var En=KR(xR.asp2-2),Sn=KR(xR.asp3-xR.asp2),On=KR(xR.cols-13);Sn<0?En>=On:En<=On;En+=Sn)xR.i=En,AR[wR++]=xR.i,AR[wR++]=0,xR.putalgnpat(),AR[wR++]=xR.i,AR[wR++]=KR(xR.rows-3),xR.putalgnpat()}if(!cM.__21138__){for(var I in(xR=Object.create(xR)).formatmapmicro=ER([ER([ER([1,8])]),ER([ER([2,8])]),ER([ER([3,8])]),ER([ER([4,8])]),ER([ER([5,8])]),ER([ER([6,8])]),ER([ER([7,8])]),ER([ER([8,8])]),ER([ER([8,7])]),ER([ER([8,6])]),ER([ER([8,5])]),ER([ER([8,4])]),ER([ER([8,3])]),ER([ER([8,2])]),ER([ER([8,1])])]),xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__21138__=1,xR=Object.getPrototypeOf(xR)}var kn=new Map([["full",ER([ER([ER([0,8]),ER([8,KR(xR.cols-1)])]),ER([ER([1,8]),ER([8,KR(xR.cols-2)])]),ER([ER([2,8]),ER([8,KR(xR.cols-3)])]),ER([ER([3,8]),ER([8,KR(xR.cols-4)])]),ER([ER([4,8]),ER([8,KR(xR.cols-5)])]),ER([ER([5,8]),ER([8,KR(xR.cols-6)])]),ER([ER([7,8]),ER([8,KR(xR.cols-7)])]),ER([ER([8,8]),ER([KR(xR.cols-8),8])]),ER([ER([8,7]),ER([KR(xR.cols-7),8])]),ER([ER([8,5]),ER([KR(xR.cols-6),8])]),ER([ER([8,4]),ER([KR(xR.cols-5),8])]),ER([ER([8,3]),ER([KR(xR.cols-4),8])]),ER([ER([8,2]),ER([KR(xR.cols-3),8])]),ER([ER([8,1]),ER([KR(xR.cols-2),8])]),ER([ER([8,0]),ER([KR(xR.cols-1),8])])])],["micro",xR.formatmapmicro],["rmqr",ER([ER([ER([11,3]),ER([KR(xR.cols-3),KR(xR.rows-6)])]),ER([ER([11,2]),ER([KR(xR.cols-4),KR(xR.rows-6)])]),ER([ER([11,1]),ER([KR(xR.cols-5),KR(xR.rows-6)])]),ER([ER([10,5]),ER([KR(xR.cols-6),KR(xR.rows-2)])]),ER([ER([10,4]),ER([KR(xR.cols-6),KR(xR.rows-3)])]),ER([ER([10,3]),ER([KR(xR.cols-6),KR(xR.rows-4)])]),ER([ER([10,2]),ER([KR(xR.cols-6),KR(xR.rows-5)])]),ER([ER([10,1]),ER([KR(xR.cols-6),KR(xR.rows-6)])]),ER([ER([9,5]),ER([KR(xR.cols-7),KR(xR.rows-2)])]),ER([ER([9,4]),ER([KR(xR.cols-7),KR(xR.rows-3)])]),ER([ER([9,3]),ER([KR(xR.cols-7),KR(xR.rows-4)])]),ER([ER([9,2]),ER([KR(xR.cols-7),KR(xR.rows-5)])]),ER([ER([9,1]),ER([KR(xR.cols-7),KR(xR.rows-6)])]),ER([ER([8,5]),ER([KR(xR.cols-8),KR(xR.rows-2)])]),ER([ER([8,4]),ER([KR(xR.cols-8),KR(xR.rows-3)])]),ER([ER([8,3]),ER([KR(xR.cols-8),KR(xR.rows-4)])]),ER([ER([8,2]),ER([KR(xR.cols-8),KR(xR.rows-5)])]),ER([ER([8,1]),ER([KR(xR.cols-8),KR(xR.rows-6)])])])]]);xR.formatmap=PR(kn,xR.format),MR(xR.formatmap,(function(){MR(AR[--wR],(function(){MR(AR[--wR]),xR.qmv(),IR(xR.pixs,AR[--wR],1)}))})),UR(xR.format,"full")&&xR.cols>=45?xR.versionmap=ER([ER([ER([KR(xR.cols-9),5]),ER([5,KR(xR.cols-9)])]),ER([ER([KR(xR.cols-10),5]),ER([5,KR(xR.cols-10)])]),ER([ER([KR(xR.cols-11),5]),ER([5,KR(xR.cols-11)])]),ER([ER([KR(xR.cols-9),4]),ER([4,KR(xR.cols-9)])]),ER([ER([KR(xR.cols-10),4]),ER([4,KR(xR.cols-10)])]),ER([ER([KR(xR.cols-11),4]),ER([4,KR(xR.cols-11)])]),ER([ER([KR(xR.cols-9),3]),ER([3,KR(xR.cols-9)])]),ER([ER([KR(xR.cols-10),3]),ER([3,KR(xR.cols-10)])]),ER([ER([KR(xR.cols-11),3]),ER([3,KR(xR.cols-11)])]),ER([ER([KR(xR.cols-9),2]),ER([2,KR(xR.cols-9)])]),ER([ER([KR(xR.cols-10),2]),ER([2,KR(xR.cols-10)])]),ER([ER([KR(xR.cols-11),2]),ER([2,KR(xR.cols-11)])]),ER([ER([KR(xR.cols-9),1]),ER([1,KR(xR.cols-9)])]),ER([ER([KR(xR.cols-10),1]),ER([1,KR(xR.cols-10)])]),ER([ER([KR(xR.cols-11),1]),ER([1,KR(xR.cols-11)])]),ER([ER([KR(xR.cols-9),0]),ER([0,KR(xR.cols-9)])]),ER([ER([KR(xR.cols-10),0]),ER([0,KR(xR.cols-10)])]),ER([ER([KR(xR.cols-11),0]),ER([0,KR(xR.cols-11)])])]):xR.versionmap=ER([]);for(var _n=xR.versionmap,jn=0,Pn=_n.length;jn<Pn;jn++)MR(PR(_n,jn),(function(){MR(AR[--wR]),xR.qmv(),IR(xR.pixs,AR[--wR],0)}));if(UR(xR.format,"full")){AR[wR++]=xR.pixs,AR[wR++]=8,AR[wR++]=KR(xR.rows-8),xR.qmv();var In=AR[--wR];IR(AR[--wR],In,0)}var Tn=ER([function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=KR(e+t)%2},function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=t,AR[wR++]=e,wR--;var n=AR[--wR];AR[wR++]=n%2},function(){wR--;var t=AR[--wR];AR[wR++]=t%3},function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=KR(e+t)%3},function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=(~~(t/2)+~~(e/3))%2},function(){var t=AR[--wR],e=AR[--wR]*t;AR[wR++]=KR(e%2+e%3)},function(){var t=AR[--wR],e=AR[--wR]*t;AR[wR++]=KR(e%2+e%3)%2},function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=KR(e*t%3+KR(e+t)%2)%2}]),Cn=ER([function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=t,AR[wR++]=e,wR--;var n=AR[--wR];AR[wR++]=n%2},function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=(~~(t/2)+~~(e/3))%2},function(){var t=AR[--wR],e=AR[--wR]*t;AR[wR++]=KR(e%2+e%3)%2},function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=KR(e*t%3+KR(e+t)%2)%2}]),Ln=ER([function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=(~~(t/2)+~~(e/3))%2}]),Rn=new Map([["full",Tn],["micro",Cn],["rmqr",Ln]]);xR.maskfuncs=PR(Rn,xR.format),-1!=xR.mask&&(xR.maskfuncs=ER([PR(xR.maskfuncs,xR.mask-1)]),xR.bestmaskval=xR.mask-1),xR.masks=ER(xR.maskfuncs.length);for(var Mn=0,Bn=xR.masks.length-1;Mn<=Bn;Mn+=1){xR.m=Mn,xR.mask=ER(xR.rows*xR.cols);for(var Fn=0,Nn=KR(xR.rows-1);Fn<=Nn;Fn+=1){xR.j=Fn;for(var Dn=0,Un=KR(xR.cols-1);Dn<=Un&&(xR.i=Dn,AR[wR++]=xR.i,AR[wR++]=xR.j,!0!==PR(xR.maskfuncs,xR.m)());Dn+=1){var Gn=AR[--wR];AR[wR++]=0==Gn,AR[wR++]=xR.pixs,AR[wR++]=xR.i,AR[wR++]=xR.j,xR.qmv();var Qn=AR[--wR],zn=PR(AR[--wR],Qn),Yn=AR[--wR]&&-1==zn?1:0;AR[wR++]=Yn,AR[wR++]=xR.mask,AR[wR++]=xR.i,AR[wR++]=xR.j,xR.qmv();var Hn=AR[--wR];IR(AR[--wR],Hn,AR[--wR])}}IR(xR.masks,xR.m,xR.mask)}var Vn=GR(xR.format,"rmqr")?1:2;for(xR.posx=KR(xR.cols-Vn),xR.posy=KR(xR.rows-1),xR.dir=-1,xR.col=1,xR.num=0;!(xR.posx<0);){AR[wR++]=xR.pixs,AR[wR++]=xR.posx,AR[wR++]=xR.posy,xR.qmv();var $n=AR[--wR];if(-1==PR(AR[--wR],$n)){var Wn=PR(xR.cws,~~(xR.num/8)),qn=-(7-xR.num%8);AR[wR++]=1&(qn<0?Wn>>>-qn:Wn<<qn),AR[wR++]=xR.pixs,AR[wR++]=xR.posx,AR[wR++]=xR.posy,xR.qmv();var Jn=AR[--wR];IR(AR[--wR],Jn,AR[--wR]),xR.num=xR.num+1}1==xR.col?(xR.col=0,xR.posx=KR(xR.posx-1)):(xR.col=1,xR.posx=KR(xR.posx+1),xR.posy=KR(xR.posy+xR.dir),(xR.posy<0||xR.posy>=xR.rows)&&(xR.dir=-1*xR.dir,xR.posy=KR(xR.posy+xR.dir),xR.posx=KR(xR.posx-2),UR(xR.format,"full")&&6==xR.posx&&(xR.posx=KR(xR.posx-1))))}xR.evalfulln1n3=function(){xR.scrle=AR[--wR],AR[wR++]="scr1",AR[wR++]=0,MR(xR.scrle,(function(){var t=AR[--wR];if(AR[wR++]=t,t>=5){var e=AR[--wR],n=KR(KR(AR[--wR]+e)-2);AR[wR++]=n,AR[wR++]=n}wR--}));var t=AR[--wR];xR[AR[--wR]]=t,xR.scr3=0;for(var e=3,n=xR.scrle.length-3;e<=n;e+=2)if(xR.j=e,PR(xR.scrle,xR.j)%3==0){xR.fact=~~(PR(xR.scrle,xR.j)/3);for(var r=TR(xR.scrle,xR.j-2,5),o=0,i=r.length;o<i;o++)AR[wR++]=PR(r,o)==xR.fact;var a=AR[--wR],u=AR[--wR],c=AR[--wR];AR[wR++]=VR(u,a),AR[wR++]=c,wR--;var s=AR[--wR],l=AR[--wR];AR[--wR]&&l&&s&&(3==xR.j||xR.j+4>=xR.scrle.length||PR(xR.scrle,xR.j-3)>=4||PR(xR.scrle,xR.j+3)>=4)&&(xR.scr3=xR.scr3+40)}AR[wR++]=xR.scr1,AR[wR++]=xR.scr3},xR.evalfull=function(){xR.sym=AR[--wR],xR.n1=0,xR.n2=0,xR.n3=0,xR.rle=ER(KR(xR.cols+1)),xR.lastpairs=ER(xR.cols),xR.thispairs=ER(xR.cols),xR.colsadd1=KR(xR.cols+1);for(var t=0,e=KR(xR.cols-1);t<=e;t+=1){xR.i=t,AR[wR++]=1/0;var n=xR.cols;AR[wR++]=0,AR[wR++]=0;for(var r=xR.i,o=n,i=KR(n*n-1);o<0?r>=i:r<=i;r+=o){var a=PR(xR.sym,r),u=AR[--wR];if(AR[wR++]=a,UR(u,a)){var c=AR[--wR],s=AR[--wR];AR[wR++]=KR(s+1),AR[wR++]=c}else{var l=AR[--wR];AR[wR++]=1,AR[wR++]=l}}wR--;var f=FR()+2;DR(TR(xR.rle,0,f-2)),xR.evalfulln1n3(),xR.n3=KR(AR[--wR]+xR.n3),xR.n1=KR(AR[--wR]+xR.n1),wR--,xR.symrow=TR(xR.sym,xR.i*xR.cols,xR.cols),AR[wR++]=1/0;var h=xR.symrow;AR[wR++]=0,AR[wR++]=0;for(var p=0,d=h.length;p<d;p++){var y=PR(h,p),v=AR[--wR];if(AR[wR++]=y,UR(v,y)){var g=AR[--wR],m=AR[--wR];AR[wR++]=KR(m+1),AR[wR++]=g}else{var b=AR[--wR];AR[wR++]=1,AR[wR++]=b}}wR--;var w=FR()+2;DR(TR(xR.rle,0,w-2)),xR.evalfulln1n3(),xR.n3=KR(AR[--wR]+xR.n3),xR.n1=KR(AR[--wR]+xR.n1),wR--;var A=xR.thispairs;xR.thispairs=xR.lastpairs,xR.lastpairs=A;var x=1==PR(xR.symrow,0)?0:1,E=xR.symrow;AR[wR++]=x;for(var S=0,O=E.length;S<O;S++){var k=PR(E,S),_=AR[--wR];AR[wR++]=KR(_+k),AR[wR++]=k}if(wR--,DR(xR.thispairs),wR--,xR.i>0){AR[wR++]=1/0,NR(xR.lastpairs),NR(xR.thispairs),AR[wR++]=xR.n2;for(var j=0,P=xR.cols;j<P;j++){var I=AR[--wR],T=AR[--wR];AR[wR++]=I,AR[wR++]=T;var C=AR[wR-1-xR.colsadd1];if(!(3&KR(AR[--wR]+C))){var L=AR[--wR];AR[wR++]=KR(L+3)}}xR.n2=AR[--wR],BR()}}AR[wR++]="dark",AR[wR++]=0,MR(xR.sym,(function(){var t=AR[--wR],e=AR[--wR];AR[wR++]=KR(e+t)}));var R=AR[--wR];xR[AR[--wR]]=R;var M=xR.cols;xR.n4=10*~~(Math.abs(KR(100*xR.dark/(M*M)-50))/5),AR[wR++]=KR(KR(KR(xR.n1+xR.n2)+xR.n3)+xR.n4)},xR.evalmicro=function(){xR.sym=AR[--wR],xR.dkrhs=0,xR.dkbot=0;for(var t=1,e=KR(xR.cols-1);t<=e;t+=1){xR.i=t,AR[wR++]="dkrhs",AR[wR++]=xR.dkrhs,AR[wR++]=xR.sym,AR[wR++]=KR(xR.cols-1),AR[wR++]=xR.i,xR.qmv();var n=AR[--wR],r=PR(AR[--wR],n),o=AR[--wR];xR[AR[--wR]]=KR(o+r),AR[wR++]="dkbot",AR[wR++]=xR.dkbot,AR[wR++]=xR.sym,AR[wR++]=xR.i,AR[wR++]=KR(xR.cols-1),xR.qmv();var i=AR[--wR],a=PR(AR[--wR],i),u=AR[--wR];xR[AR[--wR]]=KR(u+a)}xR.dkrhs<=xR.dkbot?AR[wR++]=-(16*xR.dkrhs+xR.dkbot):AR[wR++]=-(16*xR.dkbot+xR.dkrhs)},xR.bestscore=999999999;for(var Kn=0,Xn=xR.masks.length-1;Kn<=Xn;Kn+=1){xR.m=Kn,xR.masksym=ER(xR.rows*xR.cols);for(var Zn=0,tr=KR(xR.rows*xR.cols-1);Zn<=tr;Zn+=1)xR.i=Zn,IR(xR.masksym,xR.i,WR(PR(xR.pixs,xR.i),PR(PR(xR.masks,xR.m),xR.i)));1!=xR.masks.length?(UR(xR.format,"full")?(AR[wR++]=xR.masksym,xR.evalfull(),xR.score=AR[--wR]):(AR[wR++]=xR.masksym,xR.evalmicro(),xR.score=AR[--wR]),xR.score<xR.bestscore&&(xR.bestsym=xR.masksym,xR.bestmaskval=xR.m,xR.bestscore=xR.score)):xR.bestsym=xR.masksym}if(xR.pixs=xR.bestsym,UR(xR.format,"full")){AR[wR++]=xR.pixs,AR[wR++]=8,AR[wR++]=KR(xR.cols-8),xR.qmv();var er=AR[--wR];IR(AR[--wR],er,1)}if(!cM.__21420__){for(var I in(xR=Object.create(xR)).fmtvalsfull=ER([21522,20773,24188,23371,17913,16590,20375,19104,30660,29427,32170,30877,26159,25368,27713,26998,5769,5054,7399,6608,1890,597,3340,2107,13663,12392,16177,14854,9396,8579,11994,11245]),xR.fmtvalsmicro=ER([17477,16754,20011,19228,21934,20633,24512,23287,26515,25252,28157,26826,30328,29519,31766,31009,1758,1001,3248,2439,5941,4610,7515,6252,9480,8255,12134,10833,13539,12756,16013,15290]),xR.fmtvalsrmqr1=ER([129714,124311,121821,115960,112748,108361,104707,99878,98062,90155,89697,82244,81360,74485,72895,66458,61898,61167,53413,53120,45844,44081,37499,36190,29814,27475,21785,19004,13992,10637,6087,2274,258919,257090,250376,249133,242105,241308,233686,233459,227035,223742,219060,215185,209925,207648,202090,199247,194591,190266,186736,181845,178881,173540,170926,165003,163235,156294,154828,148457,147325,139352,138770,131383]),xR.fmtvalsrmqr2=ER([133755,136542,142100,144433,149669,153472,158154,161519,167879,168162,175784,176525,183577,184892,191606,193363,196867,204326,204908,212809,213981,220408,221874,228759,230591,236442,239056,244469,247393,252228,255758,260139,942,7307,8897,15844,16752,24149,24607,32570,34322,39223,42877,47192,50380,56297,58787,64134,67798,71667,76217,79516,84488,87341,93031,95298,101738,102991,109573,111392,118708,118929,126683,127486]),xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__21420__=1,xR=Object.getPrototypeOf(xR)}if(UR(xR.format,"full")){AR[wR++]="ecid",RR("MLHQ",xR.eclevel),wR--;var nr=AR[--wR],rr=AR[--wR];AR[wR++]=nr.length,AR[wR++]=rr,wR--;var or=AR[--wR],ir=AR[--wR];AR[wR++]=or,AR[wR++]=ir,wR--;var ar=AR[--wR];xR[AR[--wR]]=ar,xR.fmtval=PR(xR.fmtvalsfull,(xR.ecid<<3)+xR.bestmaskval);for(var ur=0,cr=xR.formatmap.length-1;ur<=cr;ur+=1)xR.i=ur,MR(PR(xR.formatmap,xR.i),(function(){var t=AR[--wR];AR[wR++]=xR.pixs,NR(t),xR.qmv();var e=xR.fmtval,n=-(14-xR.i),r=AR[--wR];IR(AR[--wR],r,1&(n<0?e>>>-n:e<<n))}))}if(UR(xR.format,"micro")){xR.symid=PR(PR(ER([ER([0]),ER([1,2]),ER([3,4]),ER([5,6,7])]),~~(KR(xR.cols-11)/2)),xR.eclval),xR.fmtval=PR(xR.fmtvalsmicro,(xR.symid<<2)+xR.bestmaskval);for(var sr=0,lr=xR.formatmap.length-1;sr<=lr;sr+=1){xR.i=sr,AR[wR++]=xR.pixs,NR(PR(PR(xR.formatmap,xR.i),0)),xR.qmv();var fr=xR.fmtval,hr=-(14-xR.i),pr=AR[--wR];IR(AR[--wR],pr,1&(hr<0?fr>>>-hr:fr<<hr))}}if(UR(xR.format,"rmqr")){AR[wR++]="fmtvalu",RR("MH",xR.eclevel),wR--;var dr=AR[--wR],yr=AR[--wR];AR[wR++]=dr.length,AR[wR++]=yr,wR--;var vr=AR[--wR],gr=AR[--wR];AR[wR++]=vr,AR[wR++]=gr,wR--;var mr=AR[--wR];xR[AR[--wR]]=(mr<<5)+xR.verind,xR.fmtval1=PR(xR.fmtvalsrmqr1,xR.fmtvalu),xR.fmtval2=PR(xR.fmtvalsrmqr2,xR.fmtvalu);for(var br=0,wr=xR.formatmap.length-1;br<=wr;br+=1){xR.i=br,AR[wR++]=xR.pixs,NR(PR(PR(xR.formatmap,xR.i),0)),xR.qmv();var Ar=xR.fmtval1,xr=-(17-xR.i),Er=AR[--wR];IR(AR[--wR],Er,1&(xr<0?Ar>>>-xr:Ar<<xr)),AR[wR++]=xR.pixs,NR(PR(PR(xR.formatmap,xR.i),1)),xR.qmv();var Sr=xR.fmtval2,Or=-(17-xR.i),kr=AR[--wR];IR(AR[--wR],kr,1&(Or<0?Sr>>>-Or:Sr<<Or))}}if(!cM.__21459__){for(var I in(xR=Object.create(xR)).vervals=ER([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),xR)xR.hasOwnProperty(I)&&(cM.$ctx[I]=xR[I]);cM.__21459__=1,xR=Object.getPrototypeOf(xR)}if(UR(xR.format,"full")&&xR.cols>=45){xR.verval=PR(xR.vervals,~~(KR(xR.cols-17)/4)-7);for(var _r=0,jr=xR.versionmap.length-1;_r<=jr;_r+=1)xR.i=_r,MR(PR(xR.versionmap,xR.i),(function(){var t=AR[--wR];AR[wR++]=xR.pixs,MR(t),xR.qmv();var e=xR.verval,n=-(17-xR.i),r=AR[--wR];IR(AR[--wR],r,1&(n<0?e>>>-n:e<<n))}))}AR[wR++]=1/0,AR[wR++]="ren",AR[wR++]="renmatrix",AR[wR++]="pixs",AR[wR++]=xR.pixs,AR[wR++]="pixx",AR[wR++]=xR.cols,AR[wR++]="pixy",AR[wR++]=xR.rows,AR[wR++]="height",AR[wR++]=2*xR.rows/72,AR[wR++]="width",AR[wR++]=2*xR.cols/72,AR[wR++]="borderleft",UR(xR.format,"full")?AR[wR++]=4:AR[wR++]=2,AR[wR++]="borderright",UR(xR.format,"full")?AR[wR++]=4:AR[wR++]=2,AR[wR++]="bordertop",UR(xR.format,"full")?AR[wR++]=4:AR[wR++]=2,AR[wR++]="borderbottom",UR(xR.format,"full")?AR[wR++]=4:AR[wR++]=2,AR[wR++]="opt",AR[wR++]=xR.options;var Pr=SR();AR[wR++]=Pr,xR.dontdraw||nM(),xR=Object.getPrototypeOf(xR),xR=Object.getPrototypeOf(xR)}function sM(){if(!xR.bwipjs_dontdraw){(xR=Object.create(xR)).sbs=ER([]),xR.bhs=ER([]),xR.bbs=ER([]),xR.txt=ER([]),xR.barcolor="unset",xR.includetext=!1,xR.textcolor="unset",xR.textxalign="unset",xR.textyalign="unset",xR.textfont="OCR-B",xR.textsize=10,xR.textxoffset=0,xR.textyoffset=0,xR.textgaps=0,xR.alttext="",xR.bordercolor="unset",xR.backgroundcolor="unset",xR.inkspread=0,xR.width=0,xR.barratio=1,xR.spaceratio=1,xR.showborder=!1,xR.showbearer=!1,xR.borderleft=10,xR.borderright=10,xR.bordertop=1,xR.borderbottom=1,xR.borderwidth=.5,xR.guardwhitespace=!1,xR.guardleftpos=0,xR.guardleftypos=0,xR.guardrightpos=0,xR.guardrightypos=0,xR.guardwidth=7,xR.guardheight=7,MR(AR[--wR],(function(){var t=AR[--wR];xR[AR[--wR]]=t})),AR[wR++]=xR.opt,delete xR.opt,AR[wR++]=xR,ZR(),wR--,xR.textsize<=0&&(AR[wR++]="bwipp.renlinearBadTextsize#31902",AR[wR++]="The font size must be greater than zero",XR()),xR.bars=ER(~~((xR.sbs.length+1)/2)),xR.pixx=0,xR.pixy=0;for(var t=0,e=2*~~((xR.sbs.length+1)/2)-2;t<=e;t+=1)xR.i=t,xR.i%2==0?(xR.d=KR(KR(PR(xR.sbs,xR.i)*xR.barratio-xR.barratio)+1),0!=PR(xR.sbs,xR.i)?(xR.h=72*PR(xR.bhs,~~(xR.i/2)),xR.c=KR(xR.d/2+xR.pixx),xR.y=72*PR(xR.bbs,~~(xR.i/2)),xR.w=KR(xR.d-xR.inkspread),IR(xR.bars,~~(xR.i/2),ER([xR.h,xR.c,xR.y,xR.w])),KR(xR.h+xR.y)>xR.pixy&&(xR.pixy=KR(xR.h+xR.y))):IR(xR.bars,~~(xR.i/2),-1)):xR.d=KR(KR(PR(xR.sbs,xR.i)*xR.spaceratio-xR.spaceratio)+1),xR.pixx=KR(xR.pixx+xR.d);bR.save();var n=bR.currpos();if(bR.translate(n.x,n.y),0!=xR.width&&bR.scale(72*xR.width/xR.pixx,1),xR.tl=ER([-KR(xR.borderleft+xR.borderwidth/2),KR(KR(xR.pixy+xR.bordertop)+xR.borderwidth/2)]),xR.tr=ER([KR(KR(xR.pixx+xR.borderright)+xR.borderwidth/2),KR(KR(xR.pixy+xR.bordertop)+xR.borderwidth/2)]),xR.bl=ER([-KR(xR.borderleft+xR.borderwidth/2),-KR(xR.borderbottom+xR.borderwidth/2)]),xR.br=ER([KR(KR(xR.pixx+xR.borderright)+xR.borderwidth/2),-KR(xR.borderbottom+xR.borderwidth/2)]),xR.showbearer){bR.save(),bR.newpath(),NR(xR.bl);var r=AR[--wR];bR.moveto(AR[--wR],r),NR(xR.br);var o=AR[--wR];bR.lineto(AR[--wR],o),NR(xR.tl);var i=AR[--wR];bR.moveto(AR[--wR],i),NR(xR.tr);var a=AR[--wR];bR.lineto(AR[--wR],a),GR(xR.bordercolor,"unset")&&bR.setcolor(xR.bordercolor),bR.setlinewidth(KR(xR.borderwidth-2*xR.inkspread)),bR.stroke(),bR.restore()}else if(xR.showborder){bR.save(),bR.newpath(),NR(xR.bl);var u=AR[--wR];bR.moveto(AR[--wR],u);for(var c=ER([xR.br,xR.tr,xR.tl]),s=0,l=c.length;s<l;s++){NR(PR(c,s));var f=AR[--wR];bR.lineto(AR[--wR],f)}bR.closepath(),GR(xR.bordercolor,"unset")&&bR.setcolor(xR.bordercolor),bR.setlinewidth(xR.borderwidth),bR.stroke(),bR.restore()}bR.save(),GR(xR.barcolor,"unset")&&bR.setcolor(xR.barcolor);for(var h=xR.bars,p=0,d=h.length;p<d;p++){var y=PR(h,p);if(AR[wR++]=y,-1!=y){NR(AR[--wR]),bR.newpath(),bR.setlinewidth(AR[--wR]);var v=AR[--wR];bR.moveto(AR[--wR],v),bR.rlineto(0,AR[--wR]),bR.stroke()}else wR--}if(bR.restore(),GR(xR.textcolor,"unset")&&bR.setcolor(xR.textcolor),xR.includetext)if(UR(xR.textxalign,"unset")&&UR(xR.textyalign,"unset")&&UR(xR.alttext,"")){xR.s=0,xR.fn="";for(var g=xR.txt,m=0,b=g.length;m<b;m++){MR(PR(g,m));var w=AR[--wR],A=AR[--wR];if(AR[wR++]=A,AR[wR++]=w,w!=xR.s||GR(A,xR.fn)){var x=AR[--wR],E=AR[--wR];xR.s=x,xR.fn=E,bR.selectfont(E,x)}else wR-=2;var S=AR[--wR];bR.moveto(AR[--wR],S),bR.show(AR[--wR],0,0)}}else{if(bR.selectfont(xR.textfont,xR.textsize),UR(xR.alttext,"")){AR[wR++]=1/0;for(var O=xR.txt,k=0,_=O.length;k<_;k++)MR(PR(PR(O,k),0));xR.txt=ER(),xR.tstr=OR(xR.txt.length);for(var j=0,P=xR.txt.length-1;j<=P;j+=1)IR(xR.tstr,j,PR(xR.txt,j))}else xR.tstr=xR.alttext;if(0==xR.tstr.length)AR[wR++]=0;else{bR.save(),bR.newpath(),bR.moveto(0,0),bR.charpath("0",!1);var I=bR.pathbbox();bR.restore(),AR[wR++]=I.ury}xR.textascent=AR[--wR];var T=bR.stringwidth(xR.tstr);xR.textwidth=KR(T.w+(xR.tstr.length-1)*xR.textgaps),xR.textxpos=KR(xR.textxoffset+KR(xR.pixx-xR.textwidth)/2),UR(xR.textxalign,"left")&&(xR.textxpos=xR.textxoffset),UR(xR.textxalign,"right")&&(xR.textxpos=KR(KR(xR.pixx-xR.textxoffset)-xR.textwidth)),UR(xR.textxalign,"offleft")&&(xR.textxpos=-KR(xR.textwidth+xR.textxoffset)),UR(xR.textxalign,"offright")&&(xR.textxpos=KR(xR.pixx+xR.textxoffset)),UR(xR.textxalign,"justify")&&xR.textwidth<xR.pixx&&(xR.textxpos=0,xR.textgaps=KR(xR.pixx-xR.textwidth)/(xR.tstr.length-1)),xR.textypos=-KR(KR(xR.textyoffset+xR.textascent)+1),UR(xR.textyalign,"above")&&(xR.textypos=KR(KR(xR.textyoffset+xR.pixy)+1)),UR(xR.textyalign,"center")&&(xR.textypos=KR(xR.textyoffset+KR(xR.pixy-xR.textascent)/2)),bR.moveto(xR.textxpos,xR.textypos),bR.show(xR.tstr,xR.textgaps,0)}xR.guardwhitespace&&(bR.selectfont("OCR-B",2*xR.guardheight),0!=xR.guardleftpos&&(bR.moveto(-xR.guardleftpos-2,KR(KR(xR.guardleftypos-xR.guardheight/2)-1.25)),bR.show("<",0,0)),0!=xR.guardrightpos&&(bR.moveto(KR(KR(KR(xR.guardrightpos+xR.pixx)-xR.guardwidth)+1),KR(KR(xR.guardrightypos-xR.guardheight/2)-1.25)),bR.show(">",0,0))),bR.restore(),xR=Object.getPrototypeOf(xR)}}function lM(t){return lM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lM(t)}function fM(t,e,n){if("string"==typeof e){if(!((r=document.getElementById(e)||document.querySelector(e))instanceof HTMLCanvasElement))throw new Error("bwipjs: `"+e+"`: not a canvas");e=n,n=dM(r)}else if(e instanceof HTMLCanvasElement){var r=e;e=n,n=dM(r)}else if("string"==typeof n){if(!((r=document.getElementById(n)||document.querySelector(n))instanceof HTMLCanvasElement))throw new Error("bwipjs: `"+n+"`: not a canvas");n=dM(r)}else if(n instanceof HTMLCanvasElement)n=dM(n);else if(!n||"object"!=lM(n)||!n.init)throw new Error("bwipjs: not a canvas or drawing object");return function(t,e,n){var r=e.text;if(!r)throw new ReferenceError("bwip-js: bar code text not specified.");(function(t){var e=t.scale||2,n=+t.scaleX||e,r=+t.scaleY||n;if(t.paddingleft=h(t.paddingleft,t.paddingwidth,t.padding,n),t.paddingright=h(t.paddingright,t.paddingwidth,t.padding,n),t.paddingtop=h(t.paddingtop,t.paddingheight,t.padding,r),t.paddingbottom=h(t.paddingbottom,t.paddingheight,t.padding,r),t.backgroundcolor){var o=""+t.backgroundcolor;if(/^[0-9a-fA-F]{8}$/.test(o)){var i=parseInt(o.substr(0,2),16)/255,a=parseInt(o.substr(2,2),16)/255,u=parseInt(o.substr(4,2),16)/255,c=parseInt(o.substr(6,2),16)/255,s=Math.floor((1-i)*(1-c)*255).toString(16),l=Math.floor((1-a)*(1-c)*255).toString(16),f=Math.floor((1-u)*(1-c)*255).toString(16);t.backgroundcolor=(1==s.length?"0":"")+s+(1==l.length?"0":"")+l+(1==f.length?"0":"")+f}else if("#"==o[0]&&(o=o.substr(1)),/^[0-9a-fA-F]{6}$/.test(o))t.backgroundcolor=o;else{if(!/^[0-9a-fA-F]{3}$/.test(o))throw new Error("bwip-js: invalid backgroundcolor: "+t.backgroundcolor);t.backgroundcolor=o[0]+o[0]+o[1]+o[1]+o[2]+o[2]}}return t;function h(t,e,n,r){return null!=t?(t>>>=0)*r>>>0:null!=e?(e>>>=0)*r>>>0:(n>>>=0)*r>>>0||0}})(e),n.setopts&&n.setopts(e);var o=e.scale||2,i=+e.scaleX||o,a=+e.scaleY||i,u=(e.rotate,new pM(n)),c={};for(var s in e)hM[s]||(c[s]=e[s]);return c.alttext&&(c.includetext=!0),+c.height&&t!=aM&&(c.height=c.height/25.4||.5),+c.width&&(c.width=c.width/25.4||0),u.scale(i,a),function(t,e,n,r,o){if("string"!=typeof n)throw new Error("bwipp.typeError: barcode text not a string ("+n+")");if("string"==typeof(r=r||{})){var i=r.split(" ");r={};for(var a=0;a<i.length;a++)if(i[a]){var u=i[a].indexOf("=");-1==u?"!"==i[a][0]?r[i[a].substr(1)]=!1:r[i[a]]=!0:r[i[a].substr(0,u)]=i[a].substr(u+1)}}else if("object"!==mR(r)||r.constructor!==Object)throw new Error("bwipp.typeError: options not an object");if(r.binarytext){if(/[\u0100-\uffff]/.test(n))throw new Error("bwip-js: 16-bit chars not allowed with binarytext")}else/[\u0080-\uffff]/.test(n)&&(n=unescape(encodeURIComponent(n)));var c=new Map;for(var s in r)r.hasOwnProperty(s)&&c.set(s,r[s]);bR=t,AR=[n,c],wR=2,xR={bwipjs_dontdraw:r.dontdraw||o||!1},e(),!wR||AR.splice(0,wR)}(u,t,r,c),u.render()}(t,e,n)}var hM={bcid:1,text:1,scale:1,scaleX:1,scaleY:1,rotate:1,padding:1,paddingwidth:1,paddingheight:1,paddingtop:1,paddingleft:1,paddingright:1,paddingbottom:1,backgroundcolor:1};var pM=function(){var t=Math.floor,e=Math.round,n=Math.ceil,r=Math.min,o=Math.max;function i(t){if(this.constructor!==i)return new i(t);this.gstk=[],this.cmds=[],this.drawing=t,this.reset(),this.minx=this.miny=1/0,this.maxx=this.maxy=-1/0}return i.prototype.reset=function(){this.g_tdx=0,this.g_tdy=0,this.g_tsx=1,this.g_tsy=1,this.g_posx=0,this.g_posy=0,this.g_penw=1,this.g_path=[],this.g_font=null,this.g_rgb=[0,0,0],this.g_clip=!1},i.prototype.save=function(){var t={};for(var e in this)0==e.indexOf("g_")&&(t[e]=n(this[e]));function n(t){if(t instanceof Array){for(var e=[],r=0;r<t.length;r++)e[r]=n(t[r]);return e}if(t instanceof Object){for(var o in e={},t)e[o]=n(t[o]);return e}return t}this.gstk.push(t)},i.prototype.restore=function(){if(!this.gstk.length)throw new Error("grestore: stack underflow");var t=this.gstk.pop(),e=this;for(var n in this.g_clip&&!t.g_clip&&this.cmds.push((function(){e.drawing.unclip()})),t)this[n]=t[n]},i.prototype.currpos=function(){return{x:(this.g_posx-this.g_tdx)/this.g_tsx,y:(this.g_posy-this.g_tdy)/this.g_tsy}},i.prototype.currfont=function(){return this.g_font},i.prototype.translate=function(t,e){this.g_tdx=this.g_tsx*t,this.g_tdy=this.g_tsy*e},i.prototype.scale=function(t,e){this.g_tsx*=t,this.g_tsy*=e;var n=this.drawing.scale(this.g_tsx,this.g_tsy);n&&n[0]&&n[1]&&(this.g_tsx=n[0],this.g_tsy=n[1])},i.prototype.setlinewidth=function(t){this.g_penw=t},i.prototype.selectfont=function(t,e){this.g_font={FontName:this.jsstring(t),FontSize:+e}},i.prototype.getfont=function(){return this.g_font.FontName},i.prototype.jsstring=function(t){return t instanceof Uint8Array?String.fromCharCode.apply(null,t):""+t},i.prototype.setcolor=function(t){if(t instanceof Uint8Array&&(t=this.jsstring(t)),t){if(!/^(?:#?[0-9a-fA-F]{3}(?:[0-9a-fA-F]{3})?|[0-9a-fA-F]{8})$/.test(t))throw new Error("bwip-js: invalid color: "+t);if("#"==t[0]&&(t=t.substr(1)),3==t.length){var n=parseInt(t[0],16),r=parseInt(t[1],16),o=parseInt(t[2],16);this.g_rgb=[n<<4|n,r<<4|r,o<<4|o]}else if(6==t.length)n=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16),this.g_rgb=[n,r,o];else{var i=parseInt(t.substr(0,2),16)/255,a=parseInt(t.substr(2,2),16)/255,u=parseInt(t.substr(4,2),16)/255,c=parseInt(t.substr(6,2),16)/255;n=e((1-i)*(1-c)*255),r=e((1-a)*(1-c)*255),o=e((1-u)*(1-c)*255),this.g_rgb=[n,r,o]}}},i.prototype.setrgbcolor=function(t,e,n){this.g_rgb=[t,e,n]},i.prototype.getRGB=function(){var t=this.g_rgb[0].toString(16),e=this.g_rgb[1].toString(16),n=this.g_rgb[2].toString(16);return"00".substr(t.length)+t+"00".substr(e.length)+e+"00".substr(n.length)+n},i.prototype.newpath=function(){this.g_path=[]},i.prototype.closepath=function(){var t=this.g_path,e=t.length;if(e){for(var n=e-1;n>=0&&"l"==t[n].op;n--);if(++n<e-1){for(var r=[],o=1/0,i=1/0,a=-1/0,u=-1/0,c=n;c<e;c++){var s=t[c];r.push([s.x0,s.y0]),o>s.x0&&(o=s.x0),a<s.x0&&(a=s.x0),i>s.y0&&(i=s.y0),u<s.y0&&(u=s.y0)}s=t[e-1];var l=t[n];s.x1==l.x0&&s.y1==l.y0||(r.push([s.x1,s.y1]),o>s.x1&&(o=s.x1),a<s.x1&&(a=s.x1),i>s.y1&&(i=s.y1),u<s.y1&&(u=s.y1)),t.splice(n,e-n,{op:"p",x0:o,y0:i,x1:a,y1:u,poly:r})}else t.push({op:"c"})}},i.prototype.moveto=function(t,e){this.g_posx=this.g_tdx+this.g_tsx*t,this.g_posy=this.g_tdy+this.g_tsy*e},i.prototype.rmoveto=function(t,e){this.g_posx+=this.g_tsx*t,this.g_posy+=this.g_tsy*e},i.prototype.lineto=function(t,n){var r=e(this.g_posx),o=e(this.g_posy);this.g_posx=this.g_tdx+this.g_tsx*t,this.g_posy=this.g_tdy+this.g_tsy*n;var i=e(this.g_posx),a=e(this.g_posy);this.g_path.push({op:"l",x0:r,y0:o,x1:i,y1:a})},i.prototype.rlineto=function(t,n){var r=e(this.g_posx),o=e(this.g_posy);this.g_posx+=this.g_tsx*t,this.g_posy+=this.g_tsy*n;var i=e(this.g_posx),a=e(this.g_posy);this.g_path.push({op:"l",x0:r,y0:o,x1:i,y1:a})},i.prototype.arc=function(t,e,n,r,o,i){if(r!=o){if(0!=r&&360!=r||0!=o&&360!=o)throw new Error("arc: not a full circle ("+r+","+o+")");t=this.g_tdx+this.g_tsx*t,e=this.g_tdy+this.g_tsy*e;var a=n*this.g_tsx,u=n*this.g_tsy;this.g_path.push({op:"e",x0:t-a,y0:e-u,x1:t+a,y1:e+u,x:t,y:e,rx:a,ry:u,sa:r,ea:o,ccw:i})}},i.prototype.stringwidth=function(t){var e=this.g_tsx,n=this.g_tsy,r=+this.g_font.FontSize||10;t=this.toUCS2(this.jsstring(t));var o=this.drawing.measure(t,this.g_font.FontName,r*e,r*n);return{w:o.width/e,h:(o.ascent+o.descent)/n,a:o.ascent/n,d:o.descent/n}},i.prototype.charpath=function(t,e){var n=this.stringwidth(t);this.rlineto(0,n.a),this.rlineto(n.w,0),this.rlineto(0,-n.h)},i.prototype.pathbbox=function(){if(!this.g_path.length)throw new Error("pathbbox: --nocurrentpoint--");for(var t=this.g_path,e=1/0,n=1/0,r=-1/0,o=-1/0,i=0;i<t.length;i++){var a=t[i];"c"!=a.op&&(a.x0<a.x1?(e>a.x0&&(e=a.x0),r<a.x1&&(r=a.x1)):(e>a.x1&&(e=a.x1),r<a.x0&&(r=a.x0)),a.y0<a.y1?(n>a.y0&&(n=a.y0),o<a.y1&&(o=a.y1)):(n>a.y1&&(n=a.y1),o<a.y0&&(o=a.y0)))}return{llx:(e-this.g_tdx)/this.g_tsx,lly:(n-this.g_tdy)/this.g_tsy,urx:(r-this.g_tdx)/this.g_tsx,ury:(o-this.g_tdy)/this.g_tsy}},i.prototype.transform=function(t){for(var e=this.minx,n=this.maxy,r=0;r<t.length;r++){var o=t[r];o[0]=o[0]-e,o[1]=n-o[1]}},i.prototype.stroke=function(){var e=this.g_tsx,i=this.g_tsy,a=this.g_path,u=this.getRGB();this.g_path=[];for(var c=t(this.g_penw*e+.66),s=t(this.g_penw*i+.66),l=0;l<a.length;l++){var f=a[l];if("l"==f.op){if(f.x0!=f.x1&&f.y0!=f.y1)throw new Error("stroke: --not-orthogonal--");var h=f.x0,p=f.y0,d=f.x1,y=f.y1,v=c/2,g=s/2;if(h>d){var m=h;h=d,d=m}p>y&&(m=p,p=y,y=m),h==d?this.bbox(h-v,p,h+c-v-1,y):this.bbox(h,p-s+g+1,d,y+g)}else{if("p"!=f.op)throw new Error("stroke: --not-a-line--");var b=1/0,w=1/0,A=-1/0,x=-1/0,E=f.poly;if(4!=E.length)throw new Error("stroke: --not-a-rect--");l=0;for(var S=E.length-1;l<E.length;S=l++){var O=E[S][0],k=E[S][1],_=E[l][0],j=E[l][1];if(_!=O&&j!=k)throw new Error("stroke: --not-orthogonal--");_<b&&(b=_),_>A&&(A=_),j<w&&(w=j),j>x&&(x=j)}v=n(c/2),g=n(s/2),this.bbox(b-v,w-g,A+v,x+g)}}var P=this;this.cmds.push((function(){for(var t=n(c/2),e=n(s/2),i=c-t,l=s-e,f=0;f<a.length;f++){var h=a[f];if("l"==h.op){var p=[[h.x0,h.y0],[h.x1,h.y1]];P.transform(p),P.drawing.line(p[0][0],p[0][1],p[1][0],p[1][1],h.x0==h.x1?c:s,u),P.fill(u)}else{p=h.poly,P.transform(p);var d=r(p[0][0],p[2][0]),y=o(p[0][0],p[2][0]),v=r(p[0][1],p[2][1]),g=o(p[0][1],p[2][1]);P.drawing.polygon([[d-t,v-e],[d-t,g+e+1],[y+t+1,g+e+1],[y+t+1,v-e]]),P.drawing.polygon([[d+i,v+l],[d+i,g-l+1],[y-i+1,g-l+1],[y-i+1,v+l]]),P.drawing.fill(u)}}}))},i.prototype.fill=function(){var t=this.g_path,e=this.getRGB();this.g_path=[];for(var n=0;n<t.length;n++){var r=t[n];if("p"==r.op){for(var o=1/0,i=1/0,a=-1/0,u=-1/0,c=r.poly,s=0;s<c.length;s++){var l=c[s][0],f=c[s][1];l<o&&(o=l),l>a&&(a=l),f<i&&(i=f),f>u&&(u=f)}this.bbox(o,i+1,a-1,u)}else{if("e"!=r.op)throw new Error("fill: --not-a-polygon--");this.bbox(r.x-r.rx,r.y-r.ry,r.x+r.rx,r.y+r.ry)}}var h=this;this.cmds.push((function(){for(var n=0;n<t.length;n++){var r=t[n];if("p"==r.op){var o=r.poly;h.transform(o),h.drawing.polygon(o)}else"e"==r.op&&(o=[[r.x,r.y]],h.transform(o),h.drawing.ellipse(o[0][0],o[0][1],r.rx,r.ry,r.ccw))}h.drawing.fill(e)}))},i.prototype.clip=function(){var t=this.g_path;this.g_path=[],this.g_clip=!0;var e=this;this.cmds.push((function(){for(var n=[],r=0;r<t.length;r++){var o=t[r];if("p"!=o.op)throw new Error("clip: only polygon regions supported");var i=o.poly;e.transform(i),n.push(i)}e.drawing.clip(n)}))},i.prototype.maxicode=function(t){var e,n,r,o,i=this.g_tsx,a=this.g_tsy,u=this.getRGB(),c=1.04*i*100,s=c/30|0;c-(30*s-1)>9&&s++,1&(e=s-(r=i/2|0))&&e--;var l=e/2-1,f=(l+1)/2|0,h=(n=(4*a|0)-(o=a/2|0))-2-2*f;this.bbox(0,0,30*s-r,3*a*32+4*a-o);var p=this;this.cmds.push((function(){for(var e=0;e<t.length;e++){var r=t[e],o=r%30;o*=s,o+=1&(d=r/30|0)?s:s/2,d=33-d,d*=3*a,d+=2*a-n/2,d|=0;var c=[[(o|=0)-.5,d--]];d-=f-1,c.push([o-1-l,d--]),d-=h,c.push([o-1-l,d--]),d-=f-1,c.push([o-.5,d++]),d+=f-1,c.push([o+l,d++]),d+=h,c.push([o+l,d++]),p.transform(c),p.drawing.hexagon(c,u)}p.drawing.fill(u),o=14*s+s/2+.01|0;var d=51*a-f/2+.01|0;p.drawing.ellipse(o,d,2.0209*i+.01|0,2.0209*a+.01|0,!0),p.drawing.ellipse(o,d,4.67565*i+.01|0,4.67565*a+.01|0,!1),p.drawing.fill(u),p.drawing.ellipse(o,d,2.1058*3.5*i+.01|0,2.1058*3.5*a+.01|0,!0),p.drawing.ellipse(o,d,10.0254*i+.01|0,10.0254*a+.01|0,!1),p.drawing.fill(u),p.drawing.ellipse(o,d,12.68015*i+.01|0,12.68015*a+.01|0,!0),p.drawing.ellipse(o,d,4.3814*3.5*i+.01|0,4.3814*3.5*a+.01|0,!1),p.drawing.fill(u)}))},i.prototype.toUCS2=function(t){return t.replace(/[\xc0-\xdf][\x80-\xbf]|[\xe0-\xff][\x80-\xbf]{2}/g,(function(t){var e;return e=2==t.length?(31&t.charCodeAt(0))<<6|63&t.charCodeAt(1):(15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2),String.fromCharCode(e)}))},i.prototype.show=function(t,e,n){if(t.length){var r=this.g_tsx,o=this.g_tsy,i=this.g_font.FontName||"OCR-B",a=this.g_font.FontSize||10,u=a*r,c=a*o,s=this.g_posx,l=this.g_posy,f=this.getRGB();t=this.toUCS2(this.jsstring(t)),e=r*e||0;var h=l+(n=o*n||0),p=this.drawing.measure(t,i,u,c),d=p.width+(t.length-1)*e;this.bbox(s,h-p.descent+1,s+d-1,h+p.ascent),this.g_posx+=d;var y=this;y.cmds.push((function(){var n=s-y.minx,r=y.maxy-l;y.drawing.text(n,r,t,f,{name:i,width:u,height:c,dx:e})}))}},i.prototype.bbox=function(e,r,o,i){if(e>o){var a=e;e=o,o=a}r>i&&(a=r,r=i,i=a),e=t(e),r=t(r),o=n(o),i=n(i),this.minx>e&&(this.minx=e),this.maxx<o&&(this.maxx=o),this.miny>r&&(this.miny=r),this.maxy<i&&(this.maxy=i)},i.prototype.render=function(){if(this.minx===1/0)return!1;this.drawing.init(this.maxx-this.minx+1,this.maxy-this.miny+1,this.g_tsx,this.g_tsy);for(var t=0,e=this.cmds.length;t<e;t++)this.cmds[t]();return this.drawing.end()},i}();function dM(t,e){var n;e&&e instanceof HTMLCanvasElement&&(t=e);var r,o=t.getContext("2d",{willReadFrequently:!0}),i=function(){Math.floor;var t,e,n,r,o,i,a,u,c,s,l,f,h=0,p=0,d=0,y=0,v=0,g=0;return{setopts:function(e){t=e},scale:function(e,n){return"swissqrcode"==t.bcid?[e,n]:[0|e||1,0|n||1]},measure:function(t,e,n,r){n|=0,r|=0;for(var o=AM.lookup(e),i=0,a=0,u=0,c=0,s=t.length;c<s;c++){var l=t.charCodeAt(c),f=AM.getglyph(o,l,n,r);a=Math.max(a,f.top),u=Math.max(u,f.height-f.top),i+=c==s-1?f.left+f.width:f.advance}return{width:i,ascent:a,descent:u}},init:function(m,b){var w=t.paddingleft,A=t.paddingright,x=t.paddingtop,E=t.paddingbottom,S=t.rotate||"N";if(m+=w+A,b+=x+E,+t.sizelimit&&+t.sizelimit<m*b)throw new Error("Image size over limit");switch(S){case"R":p=-1,d=1,y=1;break;case"I":h=-1,d=1,v=-1,g=1;break;case"L":p=1,y=-1,g=1;break;default:h=v=1}var O="L"==S||"R"==S;r=O?b:m,o=O?m:b,i=w,a=x,(l=[]).min=1/0,f=null,u=c=s=0;var k=this.image(r,o);e=k.buffer,n=k.ispng?1:0},line:function(t,e,n,r,o,i){if(t|=0,e|=0,n|=0,r|=0,o=Math.round(o)||1,r<e){var a=e;e=r,r=a}n<t&&(a=t,t=n,n=a),u=parseInt(i.substr(0,2),16),c=parseInt(i.substr(2,2),16),s=parseInt(i.substr(4,2),16);var l=o/2|0;t==n?(t=t-o+l,n=n+l-1):(e-=l,r=r+o-l-1);for(var f=e;f<=r;f++)for(var h=t;h<=n;h++)m(h,f,255)},polygon:function(t){for(var e=t.length,n=e-1,r=0;r<e;n=r++)if(t[n][0]==t[r][0]){var o=0|t[n][0],i=0|t[n][1],a=0|t[r][1];if(i>a)for(var u=a+1;u<i;u++)b(o,u);else for(u=i+1;u<a;u++)b(o,u)}else{o=0|t[n][0];var c=0|t[r][0];if(i=0|t[n][1],o<c){var s=t[0==n?e-1:n-1][1],l=t[r==e-1?0:r+1][1];s>i&&b(o,i),l>i&&b(c,i)}else s=t[r==e-1?0:r+1][1],l=t[0==n?e-1:n-1][1],s>i&&b(c,i),l>i&&b(o,i)}},hexagon:function(t,e){var n=0|t[0][0],r=0|t[0][1],o=t[1][1]-t[0][1]|0,i=t[2][1]-t[1][1]-1|0,a=0|t[2][0],l=0|t[4][0];u=parseInt(e.substr(0,2),16),c=parseInt(e.substr(2,2),16),s=parseInt(e.substr(4,2),16),w(n,n+1,r++);for(var f=1;f<o;f++)w(n-2*f,n+1+2*f,r++);for(f=0;f<=i;f++)w(a,l,r++);for(f=o-1;f>=1;f--)w(n-2*f,n+1+2*f,r++);w(n,n+1,r)},ellipse:function(t,e,n,r,o){!function(t,e,n,r){t|=0,e|=0,n|=0,r|=0;var o,i=Math.abs(n-t),a=Math.abs(r-e),u=1&a,c=4*(1-i)*a*a,s=4*(u+1)*i*i,l=c+s+u*i*i,f=[],h=[];f.min=h.min=1/0,t>n&&(t=n,n+=i),e>r&&(e=r),r=(e+=(a+1)/2|0)-u,i*=8*i,u=8*a*a;do{v(h,n,e),y(f,t,e),y(f,t,r),v(h,n,r),(o=2*l)>=c&&(t++,n--,l+=c+=u),o<=s&&(e++,r--,l+=s+=i)}while(t<=n);for(;e-r<a;)v(h,n+1,e),y(f,t-1,e++),y(f,t-1,r),v(h,n+1,r--);for(var p=f.min,d=f.length-1;p<=d;p++)b(f[p],p);for(p=h.min,d=h.length-1;p<=d;p++)b(h[p]+1,p);function y(t,e,n){t.min>n&&(t.min=n);var r=t[n];(null==r||r>e)&&(t[n]=e)}function v(t,e,n){t.min>n&&(t.min=n);var r=t[n];(null==r||r<e)&&(t[n]=e)}}(t-n|0,e-r|0,t+n|0,e+r|0)},fill:function(t){u=parseInt(t.substr(0,2),16),c=parseInt(t.substr(2,2),16),s=parseInt(t.substr(4,2),16),function(){for(var t=l.min,e=l.length-1,n=t;n<=e;n++){var r=l[n];if(r){r.sort((function(t,e){return t-e}));for(var o=!1,i=0,a=0,u=r.length;a<u;a++){var c=r[a];o?w(i,c-1,n):i=c,o=!o}}}}(),(l=[]).min=1/0},clip:function(t){f||((f=[]).min=1/0);var e=l;l=f;for(var n=0,r=t.length;n<r;n++)this.polygon(t[n]);l=e},unclip:function(){f=null},text:function(t,e,n,r,o){t|=0,e|=0,u=parseInt(r.substr(0,2),16),c=parseInt(r.substr(2,2),16),s=parseInt(r.substr(4,2),16);for(var i=AM.lookup(o.name),a=0|o.width,l=0|o.height,f=0|o.dx,h=0;h<n.length;h++){for(var p=n.charCodeAt(h),d=AM.getglyph(i,p,a,l),y=e-d.top,v=d.left,g=d.width,b=d.height,w=d.bytes,A=d.offset,x=0;x<g;x++)for(var E=0;E<b;E++){var S=w[A+E*g+x];S&&m(t+v+x,y+E,S)}t+=d.advance+f}},end:function(){}};function m(t,l,m){if(!f||!function(t,e){var n=f[e];if(!n)return!0;n.sorted||(n.sort((function(t,e){return t-e})),n.sorted=!0);for(var r=!1,o=0,i=n.length;o<i;o++){var a=n[o];if(a>t)return!r;if(a==t)return r;r=!r}return!0}(t,l)){var b=y*(t+=i)+v*(l+=a)+0*(r-1)+g*(o-1),w=4*(b*r+(h*t+p*l+d*(r-1)+0*(o-1)))+(b+1)*n,A=m/255,x=(1-A)*(e[w+3]/255),E=A+x;e[w+0]=(u*A+e[w+0]*x)/E|0,e[w+1]=(c*A+e[w+1]*x)/E|0,e[w+2]=(s*A+e[w+2]*x)/E|0,e[w+3]=255*E|0}}function b(t,e){l.min>e&&(l.min=e),l[e]?l[e].push(t):l[e]=[t]}function w(t,e,n){for(;t<=e;)m(t++,n,255)}}();i.image=function(e,i){return t.width=e,t.height=i,o.setTransform(1,0,0,1,0,0),/^[0-9a-fA-F]{6}$/.test(""+r.backgroundcolor)?(o.fillStyle="#"+r.backgroundcolor,o.fillRect(0,0,e,i)):o.clearRect(0,0,e,i),{buffer:(n=o.getImageData(0,0,e,i)).data,ispng:!1}},i.end=function(){return o.putImageData(n,0,0),t};var a=i.setopts;return i.setopts=function(t){r=t,a&&a.call(i,t)},i}function yM(){var t,e,n,r,o,i,a,u,c=0,s=0,l=0,f=0,h=0,p=0,d="",y="",v=[],g={},m=.55183475;return{setopts:function(e){t=e},scale:function(t,e){n=t,r=e},measure:function(t,e,n,r){n|=0,r|=0;for(var o=AM.lookup(e),i=0,a=0,u=0,c=0,s=t.length;c<s;c++){var l=t.charCodeAt(c),f=AM.getglyph(o,l,n,r);f&&(a=Math.max(a,f.top),u=Math.max(u,f.height-f.top),i+=c==s-1?f.left+f.width:f.advance)}return{width:i,ascent:a,descent:u}},init:function(e,n){var r=t.paddingleft,d=t.paddingright,y=t.paddingtop,v=t.paddingbottom,g=t.rotate||"N";switch(e+=r+d,n+=y+v,g){case"R":s=-1,l=1,f=1;break;case"I":c=-1,l=1,h=-1,p=1;break;case"L":s=1,f=-1,p=1;break;default:c=h=1}var m="L"==g||"R"==g;o=m?n:e,i=m?e:n,a=r,u=y},line:function(t,e,o,i,a,u){if(t|=0,e|=0,o|=0,i|=0,1&(a=Math.round(a)||1)){if(t==o){var c=1&n?-.5:.5;t+=c,o+=c}if(e==i){var s=1&r?-.5:.5;e+=s,i+=s}}t==o?e++:e==i&&t++;var l=a+"#"+u;g[l]||(g[l]='<path stroke="#'+u+'" stroke-width="'+a+'" d="'),g[l]+="M"+b(t,e)+"L"+b(o,i)},polygon:function(t){e||(e='<path d="'),e+="M"+b(t[0][0],t[0][1]);for(var n=1,r=t.length;n<r;n++){var o=t[n];e+="L"+b(o[0],o[1])}e+="Z"},hexagon:function(t,e){this.polygon(t)},ellipse:function(t,n,r,o,i){e||(e='<path d="');var a=r*m,u=o*m;e+="M"+b(t-r,n)+"C"+b(t-r,n-u)+" "+b(t-a,n-o)+" "+b(t,n-o)+"C"+b(t+a,n-o)+" "+b(t+r,n-u)+" "+b(t+r,n)+"C"+b(t+r,n+u)+" "+b(t+a,n+o)+" "+b(t,n+o)+"C"+b(t-a,n+o)+" "+b(t-r,n+u)+" "+b(t-r,n)+"Z"},fill:function(t){e&&(d+=e+'" fill="#'+t+'" fill-rule="evenodd"'+(y?' clip-path="url(#'+y+')"':"")+" />\n",e=null)},clip:function(t){for(var e='<clipPath id="clip'+v.length+'"><path d="',n=0;n<t.length;n++){var r=t[n];e+="M"+b(r[0][0],r[0][1]);for(var o=1,i=r.length;o<i;o++){var a=r[o];e+="L"+b(a[0],a[1])}e+="Z"}e+='" clip-rule="nonzero" /></clipPath>',y="clip"+v.length,v.push(e)},unclip:function(){y=""},text:function(t,e,n,r,o){for(var i=AM.lookup(o.name),a=0|o.width,u=0|o.height,c=0|o.dx,s="",l=0;l<n.length;l++){var f=n.charCodeAt(l),h=AM.getpaths(i,f,a,u);if(h){if(h.length){for(var p=0,y=h.length;p<y;p++){var v=h[p];"M"==v.type||"L"==v.type?s+=v.type+b(v.x+t,e-v.y):"Q"==v.type?s+=v.type+b(v.cx+t,e-v.cy)+" "+b(v.x+t,e-v.y):"C"==v.type&&(s+=v.type+b(v.cx1+t,e-v.cy1)+" "+b(v.cx2+t,e-v.cy2)+" "+b(v.x+t,e-v.y))}s+="Z"}t+=AM.getglyph(i,f,a,u).advance+c}}s&&(d+='<path d="'+s+'" fill="#'+r+'" />\n')},end:function(){var e="";for(var n in g)e+=g[n]+'" />\n';var r=t.backgroundcolor;return'<svg viewBox="0 0 '+o+" "+i+'" xmlns="http://www.w3.org/2000/svg">\n'+(v.length?"<defs>"+v.join("")+"</defs>":"")+(/^[0-9A-Fa-f]{6}$/.test(""+r)?'<rect width="100%" height="100%" fill="#'+r+'" />\n':"")+e+d+"</svg>\n"}};function b(t,e){var n=c*(t+=a)+s*(e+=u)+l*(o-1)+0*(i-1),r=f*t+h*e+0*(o-1)+p*(i-1);return((0|n)==n?n:n.toFixed(2))+" "+((0|r)==r?r:r.toFixed(2))}}var vM,gM,mM,bM,wM,AM=(vM=[],gM={},mM={},wM=0,(bM={}).next=bM,bM.prev=bM,{lookup:function(t){var e=gM[t.toUpperCase()];return void 0===e?1:e},monochrome:function(t){if(t)throw new Error("bwipjs: monochrome fonts not implemented")},getglyph:function(t,e,n,r){e|=0,(!(n=+n)||n<8)&&(n=8),(!(r=+r)||r<8)&&(r=n),((t|=0)<0||t>=vM.length)&&(t=1),(!e||e<32)&&(e=32);var o=t+"c"+e+"w"+n+"h"+r;if(i=mM[o])return i.prev.next=i.next,i.next.prev=i.prev,(u=bM).next.prev=i,i.next=u.next,i.prev=u,u.next=i,i;var i,a=vM[t];if((i=xM.GetGlyph(a,e,n*a.bwipjs_multx/100,r*a.bwipjs_multy/100)||xM.GetGlyph(a,0,n*a.bwipjs_multx/100,r*a.bwipjs_multy/100)).bytes=i.pixels,i.cachekey=o,i.offset=0,wM>250){var u,c=(u=bM).prev;c.prev.next=u,u.prev=c.prev,c.next=c.prev=null,delete mM[c.cachekey]}else wM++;return mM[o]=i,(u=bM).next.prev=i,i.next=u.next,i.prev=u,u.next=i,i},getpaths:function(t,e,n,r){e|=0,(!(n=+n)||n<8)&&(n=8),(!(r=+r)||r<8)&&(r=n),((t|=0)<0||t>=vM.length)&&(t=1),(!e||e<32)&&(e=32);var o=vM[t];return xM.GetPaths(o,e,n*o.bwipjs_multx/100,r*o.bwipjs_multy/100)},loadFont:function(t){var e=100,n=100,r=null;if(2==arguments.length)r=arguments[1];else if(3==arguments.length)e=n=+arguments[1]||100,r=arguments[2];else{if(4!=arguments.length)throw new Error("bwipjs: loadFont: invalid number of arguments");n=+arguments[1]||100,e=+arguments[2]||100,r=arguments[3]}var o=xM.InitFont(function(t){if("string"==typeof t){for(var e=/[^A-Za-z0-9+\/=\s]/.test(t)?t:atob(t),n=e.length,r=new Uint8Array(n),o=0;o<n;o++)r[o]=e.charCodeAt(o);return r}if(t instanceof Uint8Array)return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);throw new ReferenceError("data must be a binary or base64 encoded string or Uint8Array")}(r));o.bwipjs_name=t,o.bwipjs_multx=e,o.bwipjs_multy=n;var i=vM.push(o)-1;return gM[t.toUpperCase()]=i,i}}),xM=function(){var t=Math.floor,e=Math.ceil,n=Math.sqrt,r=Math.abs;function o(t){for(var e=[],n=0;n<t;n++)e.push({});return e}function i(t){return t[t.cursor++]||0}function a(t){return t[t.cursor]}function u(t,e){t.cursor=e>t.length||e<0?t.length:e}function c(t,e){u(t,t.cursor+e)}function s(t,e){for(var n=0,r=0;r<e;r++)n=n<<8|i(t);return n}function l(t,e,n){if(e<0||n<0||e>t.length||n>t.length-e)return{length:0};var r=t.subarray(e,e+n);return r.cursor=0,r}function f(t){var e=t.cursor,n=s(t,2);if(n){var r=i(t);c(t,r*n),c(t,s(t,r)-1)}return l(t,e,t.cursor-e)}function h(t){var e=i(t);return e>=32&&e<=246?e-139:e>=247&&e<=250?256*(e-247)+i(t)+108:e>=251&&e<=254?256*-(e-251)-i(t)-108:28==e?s(t,2):29==e?s(t,4):0}function p(t){if(30==a(t))for(c(t,1);t.cursor<t.length;){var e=i(t);if(!(15&~e)||e>>4==15)break}else h(t)}function d(t,e){for(u(t,0);t.cursor<t.length;){for(var n,r,o=t.cursor;a(t)>=28;)p(t);if(n=t.cursor,12==(r=i(t))&&(r=256|i(t)),r==e)return l(t,o,n-o)}return l(t,0,0)}function y(t,e,n){var r=d(t,e);return r.cursor<r.length&&(n=h(r)),n}function v(t,e){var n,r,o;return u(t,0),n=s(t,2),c(t,e*(r=i(t))),l(t,2+(n+1)*r+(o=s(t,r)),s(t,r)-o)}function g(t){return 32768&t?4294901760|t:t}function m(t,e){return 256*t[e]+t[e+1]}function b(t,e){var n=256*t[e]+t[e+1];return 32768&n?4294901760|n:n}function w(t,e){return(t[e]<<24)+(t[e+1]<<16)+(t[e+2]<<8)+t[e+3]}function A(t,e,n){for(var r=m(t,e+4),o=e+12,i=0;i<r;++i){var a=o+16*i;if(t[a]==n[0]&&t[a+1]==n[1]&&t[a+2]==n[2]&&t[a+3]==n[3])return w(t,a+8)}return 0}function x(t,e){var n=[0,0];if(function(t,e,n,r){for(var o=d(t,18),i=0;i<2&&o.cursor<o.length;i++)r[i]=h(o)}(e,0,0,n),!n[1]||!n[0])return{length:0};var r=y(l(t,n[1],n[0]),19,0);return r?(u(t,n[1]+r),f(t)):{length:0}}function E(t,e){var n=t.data,r=t.index_map,o=m(n,r+0);if(0==o)return e<m(n,r+2)-6?n[r+6+e]:0;if(6==o){var i=m(n,r+6),a=m(n,r+8);return e>=i&&e<i+a?m(n,r+10+2*(e-i)):0}if(2==o)return 0;if(4==o){var u=m(n,r+6)>>1,c=m(n,r+8)>>1,s=m(n,r+10),l=m(n,r+12)>>1,f=r+14,h=f;if(e>65535)return 0;for(e>=m(n,h+2*l)&&(h+=2*l),h-=2;s;)e>m(n,h+2*(c>>=1))&&(h+=2*c),--s;var p,d,y=(h+=2)-f>>>1;return e<(d=m(n,r+14+2*u+2+2*y))?0:0==(p=m(n,r+14+6*u+2+2*y))?e+b(n,r+14+4*u+2+2*y):m(n,p+2*(e-d)+r+14+6*u+2+2*y)}if(12==o||13==o){for(var v=0,g=w(n,r+12);v<g;){var A=v+(g-v>>1),x=w(n,r+16+12*A),E=w(n,r+16+12*A+4);if(e<x)g=A;else{if(!(e>E)){var S=w(n,r+16+12*A+8);return 12==o?S+e-x:S}v=A+1}}return 0}return 0}function S(t,e,n,r,o,i){t.type=e,t.x=n,t.y=r,t.cx=o,t.cy=i}function O(t,e){var n,r;return e>=t.numGlyphs||t.indexToLocFormat>=2?-1:(0==t.indexToLocFormat?(n=t.glyf+2*m(t.data,t.loca+2*e),r=t.glyf+2*m(t.data,t.loca+2*e+2)):(n=t.glyf+w(t.data,t.loca+4*e),r=t.glyf+w(t.data,t.loca+4*e+4)),n==r?-1:n)}function k(t,e,n,r,o,i,a,u,c,s){return r?(n&&S(t[e++],3,c+a>>1,s+u>>1,c,s),S(t[e++],3,o,i,a,u)):n?S(t[e++],3,o,i,c,s):S(t[e++],2,o,i,0,0),e}function _(t,e,n){(e>t.max_x||!t.started)&&(t.max_x=e),(n>t.max_y||!t.started)&&(t.max_y=n),(e<t.min_x||!t.started)&&(t.min_x=e),(n<t.min_y||!t.started)&&(t.min_y=n),t.started=1}function j(t,e,n,r,o,i,a,u){_(t,n,r),4==e&&(_(t,o,i),_(t,a,u));var c={};S(c,e,n,r,o,i),c.cx1=a,c.cy1=u,t.vertices.push(c)}function P(t){t.first_x==t.x&&t.first_y==t.y||j(t,2,t.first_x,t.first_y,0,0,0,0)}function I(t,e,n){P(t),t.first_x=t.x=t.x+e,t.first_y=t.y=t.y+n,j(t,1,t.x,t.y,0,0,0,0)}function T(t,e,n){t.x+=e,t.y+=n,j(t,2,t.x,t.y,0,0,0,0)}function C(t,e,n,r,o,i,a){var u=t.x+e,c=t.y+n,s=u+r,l=c+o;t.x=s+i,t.y=l+a,j(t,4,t.x,t.y,u,c,s,l)}function L(t,e){var n=function(t){return u(t,0),s(t,2)}(t),r=107;return n>=33900?r=32768:n>=1240&&(r=1131),(e+=r)<0||e>=n?{length:0}:v(t,e)}function R(t,e){var n,r,o,a,l,f,h=t.fdselect,p=-1;if(u(h,0),0==(l=i(h)))c(h,e),p=i(h);else if(3==l)for(n=s(h,2),r=s(h,2),f=0;f<n;f++){if(a=i(h),o=s(h,2),e>=r&&e<o){p=a;break}r=o}return x(t.cff,v(t.fontdicts,p))}function M(t,e,n){var o,a,u,l,f,p,d=1,y=0,g=0,m=0,b=0,w=[],A=[],x=t.subrs;for(f=v(t.charstrings,e);f.cursor<f.length;){switch(a=0,l=1,u=i(f)){case 19:case 20:d&&(y+=m/2|0),d=0,c(f,(y+7)/8|0);break;case 1:case 3:case 18:case 23:y+=m/2|0;break;case 21:if(d=0,m<2)return 0;I(n,w[m-2],w[m-1]);break;case 4:if(d=0,m<1)return 0;I(n,0,w[m-1]);break;case 22:if(d=0,m<1)return 0;I(n,w[m-1],0);break;case 5:if(m<2)return 0;for(;a+1<m;a+=2)T(n,w[a],w[a+1]);break;case 7:if(m<1)return 0;for(;!(a>=m||(T(n,0,w[a]),++a>=m));)T(n,w[a],0),a++;break;case 6:if(m<1)return 0;for(;!(a>=m||(T(n,w[a],0),++a>=m));)T(n,0,w[a]),a++;break;case 31:if(m<4)return 0;for(;!(a+3>=m||(C(n,w[a],0,w[a+1],w[a+2],m-a==5?w[a+4]:0,w[a+3]),(a+=4)+3>=m));)C(n,0,w[a],w[a+1],w[a+2],w[a+3],m-a==5?w[a+4]:0),a+=4;break;case 30:if(m<4)return 0;for(;!(a+3>=m||(C(n,0,w[a],w[a+1],w[a+2],w[a+3],m-a==5?w[a+4]:0),(a+=4)+3>=m));)C(n,w[a],0,w[a+1],w[a+2],m-a==5?w[a+4]:0,w[a+3]),a+=4;break;case 8:if(m<6)return 0;for(;a+5<m;a+=6)C(n,w[a],w[a+1],w[a+2],w[a+3],w[a+4],w[a+5]);break;case 24:if(m<8)return 0;for(;a+5<m-2;a+=6)C(n,w[a],w[a+1],w[a+2],w[a+3],w[a+4],w[a+5]);if(a+1>=m)return 0;T(n,w[a],w[a+1]);break;case 25:if(m<8)return 0;for(;a+1<m-6;a+=2)T(n,w[a],w[a+1]);if(a+5>=m)return 0;C(n,w[a],w[a+1],w[a+2],w[a+3],w[a+4],w[a+5]);break;case 26:case 27:if(m<4)return 0;for(p=0,1&m&&(p=w[a],a++);a+3<m;a+=4)27==u?C(n,w[a],p,w[a+1],w[a+2],w[a+3],0):C(n,p,w[a],w[a+1],w[a+2],0,w[a+3]),p=0;break;case 10:b||(t.fdselect.length&&(x=R(t,e)),b=1);case 29:if(m<1)return 0;if(o=0|w[--m],g>=10)return 0;if(A[g++]=f,0==(f=L(10==u?x:t.gsubrs,o)).length)return 0;f.cursor=0,l=0;break;case 11:if(g<=0)return 0;f=A[--g],l=0;break;case 14:return P(n),1;case 12:var E,S,O,k,_,j,M,B,F,N,D,U,G,Q;switch(i(f)){case 34:if(m<7)return 0;E=w[0],S=w[1],B=w[2],O=w[3],k=w[4],_=w[5],j=w[6],C(n,E,0,S,B,O,0),C(n,k,0,_,-B,j,0);break;case 35:if(m<13)return 0;E=w[0],M=w[1],S=w[2],B=w[3],O=w[4],F=w[5],k=w[6],N=w[7],_=w[8],D=w[9],j=w[10],U=w[11],C(n,E,M,S,B,O,F),C(n,k,N,_,D,j,U);break;case 36:if(m<9)return 0;E=w[0],M=w[1],S=w[2],B=w[3],O=w[4],k=w[5],_=w[6],D=w[7],j=w[8],C(n,E,M,S,B,O,0),C(n,k,0,_,D,j,-(M+B+D));break;case 37:if(m<11)return 0;E=w[0],M=w[1],S=w[2],B=w[3],O=w[4],F=w[5],k=w[6],N=w[7],_=w[8],D=w[9],j=U=w[10],Q=M+B+F+N+D,r(G=E+S+O+k+_)>r(Q)?U=-Q:j=-G,C(n,E,M,S,B,O,F),C(n,k,N,_,D,j,U);break;default:return 0}break;default:if(255!=u&&28!=u&&(u<32||u>254))return 0;if(255==u?p=(0|s(f,4))/65536:(c(f,-1),p=h(f)<<16>>16),m>=48)return 0;w[m++]=p,l=0}l&&(m=0)}return 0}function B(e,r){return e.cff.length?function(t,e){var n={started:0,first_x:0,first_y:0,x:0,y:0,min_x:0,max_x:0,min_y:0,max_y:0,vertices:[]};return M(t,e,n)?n.vertices:null}(e,r):function(e,r){var a=e.data,u=O(e,r);if(u<0)return null;var c=[],s=b(a,u);if(s>0){var l,f,h,p,d,y,v,w,A,x=0,E=0,_=0,j=0,P=u+10,I=m(a,u+10+2*s),T=a.subarray(u+10+2*s+2+I),C=0;for(c=o(G=(Q=1+m(a,P+2*s-2))+2*s),f=0,l=0,h=G-Q,Y=0;Y<Q;++Y)0==l?8&(x=T[C++])&&(l=T[C++]):--l,c[h+Y].type=x;for(V=0,Y=0;Y<Q;++Y){if(2&(x=c[h+Y].type)){var L=T[C++];V+=16&x?L:-L}else 16&x||(V+=g(256*T[C]+T[C+1]),C+=2);c[h+Y].x=V}for($=0,Y=0;Y<Q;++Y){if(4&(x=c[h+Y].type)){var R=T[C++];$+=32&x?R:-R}else 32&x||($+=g(256*T[C]+T[C+1]),C+=2);c[h+Y].y=$}var M=0;for(y=v=p=d=w=A=0,Y=0;Y<Q;++Y)x=c[h+Y].type,V=c[h+Y].x,$=c[h+Y].y,f==Y?(0!=Y&&(M=k(c,M,_,j,y,v,w,A,p,d)),(j=!(1&x))?(w=V,A=$,1&c[h+Y+1].type?(y=c[h+Y+1].x,v=c[h+Y+1].y,++Y):(y=V+c[h+Y+1].x>>1,v=$+c[h+Y+1].y>>1)):(y=V,v=$),S(c[M++],1,y,v,0,0),_=0,f=1+m(a,P+2*E),++E):1&x?(_?S(c[M++],3,V,$,p,d):S(c[M++],2,V,$,0,0),_=0):(_&&S(c[M++],3,p+V>>1,d+$>>1,p,d),p=V,d=$,_=1);c.length=k(c,M,_,j,y,v,w,A,p,d)}else if(-1==s)for(var F=1,N=u+10;F;){var D,U=[1,0,0,1,0,0];x=b(a,N),D=b(a,N+=2),N+=2,2&x&&(1&x?(U[4]=b(a,N),N+=2,U[5]=b(a,N),N+=2):(U[4]=i(a),N+=1,U[5]=i(a),N+=1)),8&x?(U[0]=U[3]=b(a,N)/16384,N+=2,U[1]=U[2]=0):64&x?(U[0]=b(a,N)/16384,N+=2,U[1]=U[2]=0,U[3]=b(a,N)/16384,N+=2):128&x&&(U[0]=b(a,N)/16384,N+=2,U[1]=b(a,N)/16384,N+=2,U[2]=b(a,N)/16384,N+=2,U[3]=b(a,N)/16384,N+=2);var G=n(U[0]*U[0]+U[1]*U[1]),Q=n(U[2]*U[2]+U[3]*U[3]),z=B(e,D);if(z.length>0){for(var Y=0,H=z.length;Y<H;++Y){var V,$,W=z[Y];V=W.x,$=W.y,W.x=t(G*(U[0]*V+U[2]*$+U[4])),W.y=t(Q*(U[1]*V+U[3]*$+U[5])),V=W.cx,$=W.cy,W.cx=t(G*(U[0]*V+U[2]*$+U[4])),W.cy=t(Q*(U[1]*V+U[3]*$+U[5]))}c=c.concat(z)}F=32&x}return c}(e,r)}function F(t,e){var n=m(t.data,t.hhea+34);return e<n?{advanceWidth:b(t.data,t.hmtx+4*e),leftSideBearing:b(t.data,t.hmtx+4*e+2)}:{advanceWidth:b(t.data,t.hmtx+4*(n-1)),leftSideBearing:b(t.data,t.hmtx+4*n+2*(e-n))}}function N(n,r,o,i,a,u){var c={};return function(t,e,n){if(t.cff.length)!function(t,e,n){var r={started:0,first_x:0,first_y:0,x:0,y:0,min_x:0,max_x:0,min_y:0,max_y:0,vertices:[]},o=M(t,e,r);n.x0=o?r.min_x:0,n.y0=o?r.min_y:0,n.x1=o?r.max_x:0,n.y1=o?r.max_y:0,o&&r.vertices&&r.vertices.length}(t,e,n);else{var r=O(t,e);if(r<0)return 0;n.x0=b(t.data,r+2),n.y0=b(t.data,r+4),n.x1=b(t.data,r+6),n.y1=b(t.data,r+8)}return 1}(n,r,c)?{x0:t(c.x0*o+a),y0:t(-c.y1*i+u),x1:e(c.x1*o+a),y1:e(-c.y0*i+u)}:{x0:0,y0:0,x1:0,y1:0}}function D(t,e,n){var r=(t.x1-t.x0)/(t.y1-t.y0);return{fdx:r,fdy:0!=r?1/r:0,fx:t.x0+r*(n-t.y0)-(0|e),direction:t.invert?1:-1,sy:t.y0,ey:t.y1,next:0}}function U(t,e,n,r,o,i,a){e|=0,o!=a&&(o>n.ey||a<n.sy||(o<n.sy&&(r+=(i-r)*(n.sy-o)/(a-o),o=n.sy),a>n.ey&&(i+=(i-r)*(n.ey-a)/(a-o),a=n.ey),r<=e&&i<=e?t[e]+=n.direction*(a-o):r>=e+1&&i>=e+1||(t[e]+=n.direction*(a-o)*(1-(r-e+(i-e))/2))))}function G(t,e,n,r,o){for(var i=o+1;r;){if(0==r.fdx)(l=r.fx)<n&&(l>=0?(U(t,l,r,l,o,l,i),U(e,l+1,r,l,o,l,i)):U(e,0,r,l,o,l,i));else{var a,u,c,s,l=r.fx,f=r.fdx,h=l+f,p=r.fdy;if(r.sy>o?(a=l+f*(r.sy-o),c=r.sy):(a=l,c=o),r.ey<i?(u=l+f*(r.ey-o),s=r.ey):(u=h,s=i),a>=0&&u>=0&&a<n&&u<n)if((0|a)==(0|u)){var d=s-c;t[w=0|a]+=r.direction*(1-(a-w+(u-w))/2)*d,e[w+1]+=r.direction*d}else{var y,v,g,m,b;for(a>u&&(y=c=i-(c-o),c=s=i-(s-o),s=y,y=u,u=a,a=y,f=-f,p=-p,y=l,l=h,h=y),E=0|u,v=(1+(A=0|a)-l)*p+o,b=(m=r.direction)*(v-c),t[A]+=b*(1-(a-A+(A+1-A))/2),g=m*p,w=A+1;w<E;++w)t[w]+=b+g/2,b+=g;v+=p*(E-(A+1)),t[E]+=b+m*(1-(E-E+(u-E))/2)*(s-v),e[E+1]+=m*(s-c)}else for(var w=0;w<n;++w){var A,x=o,E=w+1,S=h,O=i,k=(w-l)/f+o,_=(w+1-l)/f+o;l<(A=w)&&S>E?(U(t,w,r,l,x,A,k),U(t,w,r,A,k,E,_),U(t,w,r,E,_,S,O)):S<A&&l>E?(U(t,w,r,l,x,E,_),U(t,w,r,E,_,A,k),U(t,w,r,A,k,S,O)):l<A&&S>A||S<A&&l>A?(U(t,w,r,l,x,A,k),U(t,w,r,A,k,S,O)):l<E&&S>E||S<E&&l>E?(U(t,w,r,l,x,E,_),U(t,w,r,E,_,S,O)):U(t,w,r,l,x,S,O)}}r=r.next}}function Q(t,e,n){for(;n>12;){var r,o,i,a,u=n>>1,c=t[e].y0<t[e+u].y0,s=t[e+u].y0<t[e+n-1].y0;for(c!=s&&(r=t[e+(a=t[e].y0<t[e+n-11].y0==s?0:n-1)],t[e+a]=t[e+u],t[e+u]=r),r=t[e],t[e]=t[e+u],t[e+u]=r,o=1,i=n-1;;){for(;t[e+o].y0<t[e].y0;++o);for(;t[e].y0<t[e+i].y0;--i);if(o>=i)break;r=t[e+o],t[e+o]=t[e+i],t[e+i]=r,++o,--i}i<n-o?(Q(t,e,i),e+=o,n-=o):(Q(t,e+o,n-o),n=i)}}function z(t,e){Q(t,0,e),function(t,e){for(var n=1;n<e;++n){for(var r=t[n],o=n;o>0&&r.y0<t[o-1].y0;)t[o]=t[o-1],--o;n!=o&&(t[o]=r)}}(t,e)}function Y(t,e,n,r,o,i,a,u,c){var s=(e+2*r+i)/4,l=(n+2*o+a)/4,f=(e+i)/2-s,h=(n+a)/2-l;return c>16||(f*f+h*h>u?(Y(t,e,n,(e+r)/2,(n+o)/2,s,l,u,c+1),Y(t,s,l,(r+i)/2,(o+a)/2,i,a,u,c+1)):t.push({x:i,y:a})),1}function H(t,e,r,o,i,a,u,c,s,l,f){var h=o-e,p=i-r,d=a-o,y=u-i,v=c-a,g=s-u,m=c-e,b=s-r,w=n(h*h+p*p)+n(d*d+y*y)+n(v*v+g*g),A=n(m*m+b*b);if(!(f>16))if(w*w-A*A>l){var x=(e+o)/2,E=(r+i)/2,S=(o+a)/2,O=(i+u)/2,k=(a+c)/2,_=(u+s)/2,j=(x+S)/2,P=(E+O)/2,I=(S+k)/2,T=(O+_)/2,C=(j+I)/2,L=(P+T)/2;H(t,e,r,x,E,j,P,C,L,l,f+1),H(t,C,L,I,T,k,_,c,s,l,f+1)}else t.push({x:c,y:s})}function V(t,e,n,i,a,u,c,s,l,f){s|=0,l|=0;var h=[],p=function(t,e,n){for(var r=[],o=e*e,i=-1,a=0,u=0,c=0,s=0,l=t.length;s<l;++s)switch(t[s].type){case 1:i>=0&&(n[i]=r.length-a),++i,a=r.length,u=t[s].x,c=t[s].y,r.push({x:u,y:c});break;case 2:u=t[s].x,c=t[s].y,r.push({x:u,y:c});break;case 3:Y(r,u,c,t[s].cx,t[s].cy,t[s].x,t[s].y,o,0),u=t[s].x,c=t[s].y;break;case 4:H(r,u,c,t[s].cx,t[s].cy,t[s].cx1,t[s].cy1,t[s].x,t[s].y,o,0),u=t[s].x,c=t[s].y}return n[i]=r.length-a,r}(n,e/(i>a?a:i),h);p&&function(t,e,n,i,a,u,c,s,l,f){var h,p,d,y,v,g,m=f?-a:a;for(p=0,d=0;d<n.length;++d)p+=n[d];for(h=o(p+1),p=0,g=0,d=0;d<n.length;++d){var b=g;for(g+=n[d],y=n[d]-1,v=0;v<n[d];y=v++){var w=v,A=y;e[b+y].y!=e[b+v].y&&(h[p].invert=0,(f?e[b+y].y>e[b+v].y:e[b+y].y<e[b+v].y)&&(h[p].invert=1,w=y,A=v),h[p].x0=e[b+w].x*i+u,h[p].y0=1*(e[b+w].y*m+c),h[p].x1=e[b+A].x*i+u,h[p].y1=1*(e[b+A].y*m+c),++p)}}z(h,p),function(t,e,n,o,i,a){i|=0;var u,c=null,s=a|=0,l=0,f=new Float32Array(2*t.w+1),h=f.subarray(t.w),p=0;for(e[n].y0=a+t.h+1;l<t.h;){var d=s+0,y=s+1,v=c;if(f.fill)f.fill(0);else for(var g=0,m=f.length;g<m;g++)f[g]=0;for(;v;)v=(u=v).next,u.ey<=d&&(u.direction=0);for(;e[p].y0<=y;)e[p].y0!=e[p].y1&&((u=D(e[p],i,d)).next=c,c=u),++p;c&&G(f,h,t.w,c,d);for(var b=0,w=0;b<t.w;++b){var A,x;w+=h[b],A=f[b]+w,(x=(A=255*r(A)+.5)>>>0)>255&&(x=255),t.pixels[l*t.stride+b]=x}for(v=c;v;)(u=v).fx+=u.fdx,v=u.next;++s,++l}}(t,h,p,0,s,l)}(t,p,h,i,a,u,c,s,l,f)}return{InitFont:function(t){var e={};if(!function(t,e,n){var r,o,a,s;if(t.data=e,t.fontstart=n,t.cff={length:0},r=A(e,n,[99,109,97,112]),t.loca=A(e,n,[108,111,99,97]),t.head=A(e,n,[104,101,97,100]),t.glyf=A(e,n,[103,108,121,102]),t.hhea=A(e,n,[104,104,101,97]),t.hmtx=A(e,n,[104,109,116,120]),t.kern=A(e,n,[107,101,114,110]),!(r&&t.head&&t.hhea&&t.hmtx))return 0;if(t.glyf){if(!t.loca)return 0}else{var h,p,d,g=2,b=0,E=0,S=0;if(!(d=A(e,n,[67,70,70,32])))return 0;if(t.fontdicts={length:0},t.fdselect={length:0},t.cff=e.subarray(d),t.cff.cursor=0,c(h=t.cff,2),u(h,i(h)),f(h),p=v(f(h),0),f(h),t.gsubrs=f(h),b=y(p,17,b),g=y(p,262,g),E=y(p,292,E),S=y(p,293,S),t.subrs=x(h,p),2!=g)return 0;if(0==b)return 0;if(E){if(!S)return 0;u(h,E),t.fontdicts=f(h),t.fdselect=l(h,S,h.length-S)}u(h,b),t.charstrings=f(h)}for(o=A(e,n,[109,97,120,112]),t.numGlyphs=o?m(e,o+4):65535,s=m(e,r+2),t.index_map=0,a=0;a<s;++a){var O=r+4+8*a;switch(m(e,O)){case 3:switch(m(e,O+2)){case 1:case 10:t.index_map=r+w(e,O+4)}break;case 0:t.index_map=r+w(e,O+4)}}return 0==t.index_map?0:(t.indexToLocFormat=m(e,t.head+50),1)}(e,t,0))return null;var n,r={ascent:b((n=e).data,n.hhea+4),descent:b(n.data,n.hhea+6),linegap:b(n.data,n.hhea+8)};return e.ascent=r.ascent,e.descent=r.descent,e.linegap=r.linegap,e},GetGlyph:function(e,n,r,o){o=o||r;var i=r/e.ascent,a=o/e.ascent,u=E(e,n);if(!u&&n)return null;var c=B(e,u),s=N(e,u,i,a,0,0),l=s.x1-s.x0,f=s.y1-s.y0,h=null;l&&f&&V({pixels:h=new Uint8Array(l*f),w:l,h:f,stride:l},.35,c,i,a,0,0,s.x0,s.y0,1);var p=F(e,u);return{glyph:u,pixels:h,width:l,height:f,top:-s.y0,left:s.x0,advance:t(p.advanceWidth*i)}},GetPaths:function(t,e,n,r){r=r||n;var o=n/t.ascent,i=r/t.ascent,a=E(t,e);if(!a&&e)return null;var u=B(t,a),c=F(t,a),s=0,l=0,f=[];if(u)for(var h=0,p=u.length;h<p;h++){var d,y=u[h];if(1==y.type)d={type:"M",x:y.x*o,y:y.y*i};else if(2==y.type)d={type:"L",x:y.x*o,y:y.y*i};else if(3==y.type)d={type:"Q",x:y.x*o,y:y.y*i,cx:y.cx*o,cy:y.cy*i};else{if(4!=y.type)continue;d={type:"C",x:y.x*o,y:y.y*i,cx1:y.cx*o,cy1:y.cy*i,cx2:y.cx1*o,cy2:y.cy1*i}}d.y>s&&(s=d.y),d.y<l&&(l=d.y),f.push(d)}return f.advance=c.advanceWidth*o,f.ascent=s,f.descent=l,f}}}();function EM(t){return EM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},EM(t)}function SM(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function OM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,kM(r.key),r)}}function kM(t){var e=function(t){if("object"!=EM(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=EM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==EM(e)?e:e+""}function _M(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_M=function(){return!!t})()}function jM(t,e,n,r){var o=PM(IM(1&r?t.prototype:t),e,n);return 2&r&&"function"==typeof o?function(t){return o.apply(n,t)}:o}function PM(){return PM="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=function(t,e){for(;!{}.hasOwnProperty.call(t,e)&&null!==(t=IM(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(arguments.length<3?t:n):o.value}},PM.apply(null,arguments)}function IM(t){return IM=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},IM(t)}function TM(t,e){return TM=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},TM(t,e)}AM.loadFont("OCR-A",100,100,"AAEAAAAPAIAAAwBwRkZUTXxHoksAADPIAAAAHEdERUYAmQAGAAAyIAAAACBHUE9TuP+4/gAAM5gAAAAwR1NVQuq3l/0AADJAAAABWE9TLzKDm4kvAAABeAAAAGBjbWFwO6GiGgAAArgAAAFaZ2FzcP//AAMAADIYAAAACGdseWYfHUemAAAE8AAAKUBoZWFkFeCL3QAAAPwAAAA2aGhlYQcqAgQAAAE0AAAAJGhtdHgagBVHAAAB2AAAAOBsb2NhH+IWRAAABBQAAADabWF4cACxAF0AAAFYAAAAIG5hbWUIp3NfAAAuMAAAAoJwb3N0oJoboAAAMLQAAAFkAAEAAAACAAAhYPsHXw889QALA+gAAAAA2gMjvQAAAADaAyO9AD7/LAJ8BFIAAAAIAAIAAAAAAAAAAQAABFL/LABaAtMAAAAAAnwAAQAAAAAAAAAAAAAAAAAAAAQAAQAAAGwAWgADAAAAAAACAAAAAQABAAAAQAAAAAAAAAACAtMBkAAFAAACigK8AAAAjAKKArwAAAHgADEBAgAAAgAFCQAAAAAAAAAAACMAACoAAAAAAAAAAABQZkVkAEAAICWgAyD/OABaBFIA1AAAAAEAAAAAAjgDDAAAACAAAQLTAAAAAAAAAtMAAALTAAAA9gBJAEkASQBJAEkA3QDdAKwASQBJAKwASQDdAEkASQBJAEkASQBhAEkASQBJAEkASQDdAKwASQBJAEkASQBJAEYASQBJAEkASQBJAEkASQBJAHoASQBJAEkASQBJAEkASQBJAEkASQBJAEkASQBJAEkASABJAEkASQBIAEkAegBJAEkASQBJAEkAYQBJAEkAegB6AEkAegBBAEkASQBJAEkASQBJAEkASQBJAD4ASQBJAEkASQEPAEkASQBxAHEAcQE3AFcA7QBxAQMA1ABxAAAAAwAAAAMAAAAcAAEAAAAAAFQAAwABAAAAHAAEADgAAAAKAAgAAgACAH4kQiUCJaD//wAAACAkQCUCJaD////j3CLbY9rGAAEAAAAAAAAAAAAAAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAADBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaW1xdXl9gYQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAFIApgDoAS4BigGqAdYCAgJKAnQCkAKsAsYC5AMIAzIDYAOcA8gD+gQmBFIEggSuBNwFDAU0BVwFhAXEBhIGPgZwBqgG5AcKBy4HageWB8QH7gggCDoIZgiICMoI8glMCYIJwAnmChAKNAp0Cq4K1gr6CyYLRAtwC5QLrgvODBYMdAysDRANag2eDhYOSA6EDsYO+A8iD2YPmA/yEFgQvBDqETQRbhGgEcwSDhJEEnoSqBLiEwITPBNyE5ITthPeE+wT+hQUFEYUaBSIFKAAAAACAPYAAAGNAwwADwAfAAA3NTQ2OwEyFh0BFAYrASImETQ2OwEyFh0BAxQGIyImJ/YeFTEVHh4VMRUeHhUxFB8ZHhQVHAIzKhUdHRUqFR4eArwUHhwTA/6BFR0dFQAAAAABAEkBqAI7AwwAEwAAEychFQYHBiMiJjUnIwcOASMiJidKAQHyJgsMKBQgKHIqAxwSExwDAsJKSrkvMhoS09YRGBgRAAIASQB/AjsDDAA9AEEAABM0NjsBNSMiJjQ2OwE1NDYyFh0BMzU0NjIWHQEzMhYUBisBFTMyFhUUBisBFRQGIiY9ASMVFAYiJj0BIyImNzM1I0kdFTExFR0dFTEdKh5hHiodMRUeHhUxMRUeHhUxHSoeYR4qHTEVHchhYQFcFB5vHiodeBQeHhR4eBQeHhR4HSoebx4UFR53FR4eFXd3FR4eFXceR28AAAEASQAAAjsDDAAxAAA2NDYzITUhIiY9ATQ2OwE1NDYzMhYdATMyFhQGIyEVITIWHQEUBisBFRQGIyImPQEjIkkdFQFb/qUVHR0VlB4VFB6UFR4eFf6lAVsVHh4VlB4UFR6UFccqHkQeFaoVHXgUHh4UeB0qHkQeFaoVHXcVHh4VdwAAAAMASQAAAjsDDAAPAB8ALwAANzQ3ATYzMhYVFAcBBiMiJhE1NDY7ATIWHQEUBisBIiYBNTQ2OwEyFh0BFAYrASImSQoBjQ4aFR4L/nMOGhUdHRVjFR4eFWMVHQEpHhVjFR4eFWMVHocUCwH+Ex0VEg3+AhMdAhNVFB4eFFUVHh79w1QVHh4VVBUeHgAAAwBJAAACOwK3AC4ANgBBAAA3NTQ/AScmPQE0NjsBMhYdARQPARc3NjMyFhUUDgIHFxYVFAYjIi8BBwYrASImNxQWOwE3JwcRFzc1NCYrASIGFUkRXGANWT5gPlkRfWszDxIVHhAPIQI0Dh4VFw43Sg8RYj5ZZR4UTzhrTlVvHhRgFB6XRRgPT2YPFEU+WVk+RRkOa3IsDB4VDRoOGAI4EBIVHhA7PwxZPhUdMHJCASpbXi4UHh0VAAEA3QFUAaYDDAARAAATETQ2OwEyFhcUBg8BDgEjIibdHhVjFRwCMhoZBRoSFR4BhgFUFB4dFQawVVURFR0AAAABAN0AAAHZAwwAGwAAEzU0PwE2MzIWFRQPAQYdARQfARYVFAYjIi8BJt0rdRAYFR8MdRYWdQodFRgQdSsBJsBFOJYTHhQOEpUdIsAiHZUPEBUeE5Y4AAAAAQCsAAABpgMMABsAADc0PwE2PQE0LwEmNTQ2MzIfARYdARQPAQYjIiasCnUWFnUKHRUYEHUrK3UQGBUdMxAPlR0iwCIdlQ8RFB4TljhFwEU4lhMeAAAAAAEASQBVAjsCtwAzAAA3ND8BJyY1NDYzMh8BNTQ2MzIWHQE3NjMyFhUUDwEXFhUUBiMiLwEVFAYjIiY9AQcGIyImSRGZmREdFRMOcx4VFB5zDRQVHhKZmRIeFRQNcx4UFR5zDhMVHdwYD4ODDxgVHQxikRUdHRWRYgwdFRcQg4MQFxUdDGKRFR0dFZFiDB0AAAEASQCNAjsCfwAdAAASNDY7ATU0NjMyFh0BMzIWFAYrARUUBiMiJj0BIyJJHRWUHhUUHpQVHh4VlB4UFR6UFQFxKh6UFB4eFJQeKh2UFR4eFZQAAAEArAAAAdcBZAAQAAASNDY7ATIWHQEUBiImPQEjIqwdFccVHR0qHpQVARwqHh4V/hUeHhXMAAAAAQBJASkCOwG5AA8AABM1NDYzITIWHQEUBiMhIiZJHRUBjRUeHhX+cxUdAVwqFR4eFSoVHh4AAAABAN0AfwGmATkADwAANzU0NjsBMhYdARQGKwEiJt0eFWMVHh4VYxUeslUVHR0VVRUeHgAAAQBJAAACOwMMAA8AADc0NwE2MzIWFRQHAQYjIiZJBgGNDx0VHgf+cw8dFR0zDQwCpxkeFAwO/VkZHgAAAgBJAAACOwMMAA8AEwAANxE0NjMhMhYVERQGIyEiJjchESFJPCkBKCg9PSj+2Ck8ZQEo/thlAkIpPDwp/b4pPDwpAkIAAAAAAQBJAAACOwMMABwAADc0NjsBESMiJjU0NjsBETM1NDYyFh0BFAYjISImSR0VlJQVHR0V+WIdKh4eFf5zFR0zFB4CQh4VFB79WcwVHh4V/hUeHgAAAQBJAAACOwMMAB4AADMRNDYzITUhIiY1NDYzITIWHQEUBiMhFSEyFhUUBiNJPCkBKP6lFR0dFQFbKD08Kf7YAVoVHh4VAVQpO+8eFRQePCnvKDzvHhQVHgAAAAABAEkAAAI7AwwAKgAANzQ2MyE1NCYrASImNDY7ATI2PQEhIiY1NDYzITIWHQEUBxYdARQGIyEiJkkdFQFbHxTFFR0dFcUVHv6lFR0dFQFbKD0oKD0o/qUVHTMUHrwUHx0qHh4UvB4VFB48Kbw6Kys6vCk8HgAAAAABAGEAAAIiAwwAHQAAExE0NjIWFREzETQ2MzIWFREyFhQGIxUUBiMiJj0BYR4qHcUeFRQeFR0dFR4UFR4A/wHbFB4eFP6KASEVHR0V/t8eKh3MFR4eFcwAAQBJAAACOwMMACIAADc0NjMyHwEzNSERITIWFRQGKwEVMzIWHQEUBisBIi4CJyZJHRUMCFrt/tYBXBUeHhX3xSg9PSjjFCkaLAkeXRUdBCbvAbgeFBUe7j0o7yk8CgsVBA0AAAIASQAAAjsDDAAXABsAADcRNDY7ATIWFRQGIxEhMhYdARQGIyEiJjchNSFJHRUyFR0dFQFbFR4eFf5zFR1kASn+1zMCpxQeHhQVHv69HhX+FR4eR5oAAAABAEkAAAI7AwwAGwAAEzU0NjMhERQPARUUBiMiJj0BND8BNSEOASMiJkkdFQHAErUeFBUeErX+1wMcExUdAq8rFB7+zxcQmucVHh4V/hcQmrUSGB0AAAAAAwBJAAACOwMMABcAGwAfAAA3NTQ2MxE0NjsBMhYVETIWHQEUBiMhIiY3ITUhNzM1I0k7KRwVxxUcKD09KP7XKTtkASn+12RhYWXvKTwBIRUdHRX+3z0o7yk8PCnvZe4AAgBJAAACOwMMABcAGwAAExE0NjMhMhYVERQGKwEiJjU0NjMRISImNyE1IUkdFQGNFR4eFTIVHR0V/qUVHWQBKf7XAdsA/xQeHhT9WRUeHhUUHgFDHkeaAAIA3QB/AaYCjQAPAB8AADc1NDY7ATIWHQEUBisBIiYRNTQ2OwEyFh0BFAYrASIm3R4VYxUeHhVjFR4eFWMVHh4VYxUeslUVHR0VVRUeHgFoVRUeHhVVFR0dAAAAAgCsAAAB1wK3ABAAIAAAEjQ2OwEyFh0BFAYiJj0BIyIDNTQ2OwEyFh0BFAYrASImrB0VxxUdHSoelBUdHRVkFB4eFGQVHQEcKh4eFf4VHh4VzAExVRUdHRVVFR4eAAAAAQBJAFUCOwK3ABYAABM1NDclNjMyFhUUBw0BFhUUBiMiJyUmSRgBjQsPFR4Z/pkBZxkeFQ8L/nMYAXArHQ/pBx0VHBDT0xAcFR0H6Q8AAAACAEkA/wI7AjgACwAXAAASNDYzITIWFAYjISImNDYzITIWFAYjISJJHRUBjRUeHhX+cxUdHRUBjRUeHhX+cxUBHCoeHiod8SoeHiodAAAAAAEASQBVAjsCtwAWAAA3NDctASY1NDYzMhcFFh0BFAcFBiMiJkkYAWj+mBgdFQ8LAY0ZFP5uCw8VHYcdD9PTDx0VHQfpEBwqHQzsBx0AAAAAAgBJAAACOwMMAB4AKAAAEzQ3ATYyHwEWHQEUBwUVFAYiJj0BNDclNScFBiMiJhM0NjIWFRQGIiZJEQEqDyQPYxIS/ugeKh0RARkx/vcPEhUdYx0qHh4qHQHbGA4A/wwMVQ8XVRcQ7z4VHR0VVRkO7yYq4wwe/m0UHh4UFR4eAAACAEkAAAI7AwwALQA4AAA3NTQ2OwEyFhURFBYyNjURNCYrASIGBwYjIiY1NDc2OwEyFhURFAYjIicGIyImNxQWMjY9ASMiBhVJWD1kFB4dKB0uH48ZLQwOHxUdNjdEj0lpWT05Kiw4PVhlHCgdMRQclrc+WB4V/uYUHR0UAcQgLSMXGx4VJDEyakj+PD1ZJydYPhQdHRToHRQAAAACAEYAAAI8AwwAFQAYAAA3Ez4BMhYXExQGIyImLwEjBw4BIyImNzMDRssFGiIcBMofFREaBSffJwUbERUfqqNSMwK1EBQUEP1LFR4UEIaGEBQe8QEWAAAAAwBJAAACOwMMAA4AGAAiAAAzESEyFh0BFAcWHQEUBiMnMzI2PQE0JisBNTMyNj0BNCYrAUkBKFJ4RkZ4UsPDKTw8KcPDKTw8KcMDDHhSJVk+PlklUnhlPSglKTxlPCglKD0AAAEASQAAAjsDDAAlAAATND8BPgE7ATIWFRQGKwEiDwEGFB8BFjsBMhYVFAYrASImJyYnJkkYZRBLLboVHh4Vuh8NZw0NZw0fuhUeHhW6LEkSShwYAYY1MswkLx4UFR4cyxw8HMscHhQVHjAkjT4zAAACAEkAAAI7AwwAGwAoAAA3NDY7AREjIiY1NDY7ATIWHwEWFA8BDgErASImNzMyPwE2NTQvASYrAUkdFTExFR0dFbosSRJmGRllEEstuhUdyCQfDWcODmcNHyQzFB4CQh4VFB4wJMs0ZjTMJC8eRxzLIhgeHMscAAABAEkAAAI7AwwAGQAAMxEhMhYVFAYjIRUzMhYUBisBFSEyFhUUBiNJAb8VHh4V/qaUFB4eFJQBWhUeHhUDDB4UFR7uHiod7x4UFR4AAQBJAAACOwMMABYAADcRITIWFRQGIyEVMzIWFAYrAREUBiImSQG/FR4eFf6m9xUdHRX3HiodMwLZHhQVHpodKh7+ixUeHgAAAQBJAAACOwMMACoAADcRND8BNjsBMhYVFAYrASIPAQYVERQWOwEyNj0BIyImNDY7ARUUBisBIiZJKogtS5UVHh4VlRkPiBUeFMMUH2MVHR0VyFo+wz9YmAEPRTawOh4UFR4Urhwi/vEVHh4VZx0qHsw+WlkAAAAAAQBJAAACOwMMABsAADcRNDYyFhURIRE0NjIWFREUBiImNREhERQGIiZJHSoeASgdKh4eKh3+2B4qHTMCpxQeHhT+3wEhFB4eFP1ZFR4eFQEh/t8VHh4AAAEASQAAAjsDDAAfAAA3NDY7AREjIiY1NDYzITIWFRQGKwERMzIWFRQGIyEiJkkdFZSUFR0dFQGNFR4eFZSUFR4eFf5zFR0zFB4CQh4VFB4eFBUe/b4eFBUeHgAAAQB6AAACCQMMABsAADc1NDYyFh0BFBY7ATI2NRE0NjIWFREUBisBIiZ6HiodHhVfFR4dKh5aPl8+WpeaFR4eFZoVHR4UAkMUHh4U/b0+WVkAAAAAAQBJAAACOwMMAB4AADcRNDYyFh0BATYzMhYVFAcJARYVFAYjIicBFRQGIiZJHSoeATkPEhUeEv6gAWASHhUSD/7HHiodMwKnFB4eFOYBDAweFBgP/tP+0w8XFR4MAQzlFR4eAAEASQAAAjsDDAAOAAAzETQ2MhYVESEyFhUUBiNJHSoeAVoVHh4VAtoUHh4U/YseFBUeAAABAEkAAAI7AwwAGwAANxEzFzczERQGIiY1EQcVFAYjIiY9AScRFAYiJkl+e3p/HiodYh4UFR5hHiodMwLZr6/9JxUeHhUCTowaFR4eFRqK/bQVHh4AAAAAAQBJAAACOwMMABEAADcRMwERNDYyFhURIwERFAYiJkmFAQgdKh6G/vkeKh0zAtn9pgIoFB4eFP0mAlj92xUeHgAAAAACAEkAAAI7AwwAFgApAAATND8BPgEzMhYfARYUDwEOASMiJi8BJjcGFB8BFjMyPwE2NTQvASYjIgdJGGsQPyYnPxBrGRlrED8nJj8QaxhyDQ1sCBIUCGsODmwIExEJAYY1MtcfKSkf1zRmNNcfKSkf1y5zHDwc1hEQ1yIYHhzVEhIAAAACAEkAAAI7AwwADwAZAAA3ESEyFh0BFAYrARUUBiImEzMyNj0BNCYrAUkBWj5aWj71HiodZfUUHx8U9TMC2Vk+tD5a9hUeHgFwHhW0FB4AAAIASQAAAjsDDAAhAEAAADcRND8BNjMyFhURFA4FBxczMhYVFAYrAScHBiMiJjcUOwE3JyY1NDYzMh4DFz4ENRE0JisBBwYVSUbhIC8ySggUDiMOLAUYQRUeHhWGJUsiLTJIZRUIbCUDHhUNFA8IDAIEHw4UCQ0KB+giewEaXj2+Hkky/uYXKSUZIg0kBD0eFBUeXkAeSTIWXF4HCxUeCxoRJAQEGQ0aHBEBGgkMwx4wAAAAAAIASQAAAjsDDAAZACMAADcRITIWHQEUBisBExYVFAYjIicDIxEUBiImEzMyNj0BNCYrAUkBWj5aWz06ywceFR0P6UUeKh1l9RQfHxT1MwLZWj40Plr+pA4LFR4ZAY/+ixUeHgHvHxQ0FR4AAAEASQAAAjsDDAAsAAA3NDYyFhUUFjsBMjUBJj0BNDY7ATIWFRQGIiY1NCYrASIdAgEWFQ4BKwEiJkkdKh4UDvkN/ooXQy75N1EeKh0VDvkMAXQZAkEv+TdQhxUeHhUOFA0B4iAmAy1CUDcVHh4VDRUKAwT+Ih4oL0NQAAABAEkAAAI7AwwAGAAAEzUhFRQGIiY9ASMRFAYjIiY1ESMVFAYiJkkB8h4qHWIeFBUeYR4qHQKFh4cVHh4VIv2MFR4eFQJ0IhUeHgAAAQBJAAACOwMMABsAADcRNDYyFhURFBY7ATI2NRE0NjIWFREUBisBIiZJHSoeHhTDFB8dKh5aPsM+WZcCQxQeHhT9vRUdHhQCQxQeHhT9vT5ZWQAAAQBJAAACOwMMABUAABM1NDYyFh0BGwE1NDYyFh0BAwYjIidJHSoelJQdKh7KDSIjDQIltRQeHhSh/oYBeqEUHh4UtP36ICAAAQBJAAACOwMMACsAADcRNDYyFhURFzM+ATcRNDYzMhYVER4BFzM3ETQ2MhYVEQcGKwEiJwYrASInSR0qHhwpAhQGHhUUHgYUAikdHSoeOQ8dYiASFR5hHg96AmAUHh4U/bswAyYKAUMVHR0V/r0KJgMwAkUUHh4U/aBhGSMjGQABAEkAAAI7AwwAIwAANzQ3EwMmNTQ2MzIXGwE2MzIWFRQHAxMWFRQGIyInCwEGIyImSQa4uAYdFR0Pm5oPHRUeB7i4Bx4VHQ+amw8dFR0zDQwBOgE6DA4UHhn++AEIGR4UDA7+xv7GDgsVHhkBCP74GR4AAAEASQAAAjsDDAAZAAATNTQ2MhYdARc3NTQ2MhYdAQcRFAYjIiY1EUkdKh6Ukx4qHsceFBUeAnNnFB4eFES+vkQUHh4UZ/7+vhUeHhUBQgAAAQBIAAACOwMMABMAADcBISImNTQ2MyEVASEyFhUUBiMhSAFo/ssVHR0VAcD+mAE1FR4eFf5BQAJnHhUUHkD9mR4UFR4AAAAAAgBJAAACOwMMABcAGwAANxE0NjMhMhYVFAYrAREzMhYVFAYjISImNzMRI0kdFQGNFR4eFcbGFR4eFf5zFR1kMDAzAqcUHh4UFR79vh4UFR4eRwJCAAAAAAEASQAAAjsDDAAPAAATNDYzMhcBFhUUBiMiJwEmSR0VHQ8BjQceFR0P/nMGAtoUHhn9WQ4LFR4ZAqcMAAIASQAAAjsDDAAXABsAADc0NjsBESMiJjU0NjMhMhYVERQGIyEiJiUzESNJHRXGxhUdHRUBjRUeHhX+cxUdAV0wMDMUHgJCHhUUHh4U/VkVHh5HAkIAAAABAEgAfwI7AmIAFAAANxM2MzIXExYVFAYjIi8BBwYjIiY1SM0NIB4OyAUeFRsOnZ4OGxUdvgGJGxv+gAwJFR4V7OwVHhUAAAABAEn/mwI7AAAADQAAFzQ2MyEyFhUUBiMhIiZJHRUBjRUeHhX+cxUdMhQeHhQVHh4AAAAAAQB6AagCCQMMABAAABM0NjsBMhcTFhUUBiMiJwEmeh4VYxoOywYeFRAQ/tYSAtoUHhP++gsNFR4MAP8PAAAAAAIASQAAAjsCOAAmADQAADc1NDY7ATIXNC4FKwEiJjQ2OwEyFhcTFAYjIiY1BwYrASImNxQWOwE3NTQmKwEiBhVJWD3BGBQBAQMGCxEMuhUdHRW6PVcCDR8VFB1KCg+VPVhlHBSHax8SwRMdljg+WAcHIQ8cDRAGHSoeVTz+ixUdHhQrB1g+FB0/LBIdHRQAAAIASQAAAjsDDAApAEMAADcRNDYyFh0BNjsBMh4FFxYdARQOBA8BBisBIi4BJxUUBiImNxQfARY7ATI+ATc2PQE0LgEnJisBIg8BBhVJHSoeRENLDRgYDhgHGwE1BA4HGgURESk4Sx02HRceKh1lEVYMFEsOFh4CEg0fARUUSxQMVhEzAqcUHh4U4kADCwUTBRcBLkTOEBsaDxoGDw4kFhcVDxUeHsIXDkoMDB4BDhfODhQaARMMSgsaAAAAAQBJAAACOwI4ACYAADc1NDc+AzsBMhYUBisBIg8BBh0BFB8BFjsBMhYVFAYrASIvASZJNAszITof0xUeHhXTFAxWERFWDBTTFR4eFdM5KVY04HhFLQkxGxkeKh0MSgsaeBcPSQweFBUeJEotAAAAAAIASQAAAjsDDAAtAEgAADc1NDY3Njc2OwEyHgQXNTQ2MhYVERQGIiY9AQ4CKwEiLgcnJjcUHgIXFjsBMj8BNj0BNC8BJisBIg4BBwYVSSonBQMpOEsQHhMeCB8CHSoeHiodFx02HksLExMOEQoRBhMCNGUMDRgEDxFLEg5WEhJWDBRLDhcaBBK1zjA7IAQCJAcHFAYcAecUHh4U/VkVHh4VEBYXFgIGBQoGDgURAitHDBYMEwMMDEoNGHgVEEoMDRoDEBYAAAAAAgBJAAACOwI4ADQAQQAANzU0PgE3NjsBMh4GHwEWHQEUBiMhFRQeAhcWMyEyFhUUBiMhIi4HJyY3ITU0JisBIg4BBwYVSSAaHyk4fQoTFAwUBxQECws1HhX+pgwNGAQPEQEFFR4eFf77CxMTDhEKEQYTAjRlASg8Gn0OFh4CEbXOIzwYGiQCBgQMBBECCgouRHwVHh8MFgwTAwweFBUeAgYFCgYOBRECK8tKGjYMHgEOFwAAAQBhAAACIQMMACQAABI0NjsBNTQ2OwEyFhUUBisBIgYdATMyFhQGKwERFAYiJjURIyJhHRUxaEp5FR0dFXkgLWMUHh4UYx0qHjEVAfAqHiJKaB4UFR4tICIeKh3+YBUeHhUBoAAAAAACAEn/LAI7AjgAQgBZAAA3NTQ+CDc2OwEyHgQXNTQ2MhYVERQOBA8BBisBIiY0NjsBMj4BNzY9AQ4CKwEiLgMvASY3FBY7ATI/ATY9ATQvASYrASIOAQcGFUkDAwsEEAQVAxcBKThLEB4THggfAh0qHgQOBxoFEREpONMVHh4V0w4XHAMSFx42HUsPHxIeBxARNGQ7G0sUDFYSElYMFEsPFxgGEuCjCxYQFAoTBhIDEwEkBwcUBhwBEhUeHhX93BAbGg8aBg8OJB0qHg4aAw4XjRUYFwcGFQUPDi1FGzYMSg4XThUQSgwOGAQSFAAAAAABAEkAAAI6AwwAIAAANxE0NjIWHQE3NjsBMhYXExQGIyImNQMuASsBBxEUBiImSR0qHmAmKzk9VwIMHRUUHg0CGxRHox4qHTMCpxQeHhT3PRhVPP6MFR4dFAFzExxp/skVHh4AAgB6AAACCQM2ABoAKgAANzQ2OwERIyImNDY7ATIWFREzMhYVFAYjISImEzU0NjsBMhYdARQGKwEiJnoeFWNjFR4eFZUUHmIVHh4V/tcVHmMeFTIUHh4UMhUeMxQeAW4dKh4eFf5gHhQVHh4CvCoVHR0VKhUeHgAAAgB6/ywCCQM2AB8ALwAAFzQ2MzIeAjsBMjY1ESMiJjQ2OwEyFhURFAYrASImJxM1NDY7ATIWHQEUBisBIiZ6HhUUGAkZFWIUH5UVHh4VxhUeWT5iOFYI+B4VMRUeHhUxFR5NFR4bHxsdFAIRHSoeHhX9vT5YSjUDLyoVHR0VKhUeHgAAAQBJAAACOwMMAB8AADcRNDYyFhURJTYzMhYVFA8BFxYVFAYjIiclBxUUBiImSR0qHgEIDhIVHhLL/RIdFRMP/vcwHiodMwKnFB4eFP5x4QweFRcPrtgPFxUeDOMqkhUeHgAAAAEAegAAAgkDDAAbAAA3NDY7AREjIiY1NDY7ATIWFREzMhYVFAYjISImeh4VYmIVHh4VlRQeYhUeHhX+1xUeMxQeAkIeFRQeHhT9ix4UFR4eAAAAAAEAQQAAAkICOAAuAAA3ETQ2MzIWFzYzMhc3NjMyFhcTFAYjIiYnAyYrAQcRFAYjIiY1ETQrAQcRFAYiJkEdFRAbBSktPSQWISovSAEPHRUUHgEOAg8GRB4UFR4WCEseKh0zAdIVHhQPIzASG0Iv/m8VHh0UAY8TOv6aFR4eFQGKFkH+oRUeHgABAEkAAAI6AjgAIAAANxE0NjIWHQE3NjsBMhYXExQGIyImNQMuASsBBxEUBiImSR0qHmAmKzk9VwIMHRUUHg0CGxRHox4qHTMB0hUeHhUiPRhVPP6MFR4dFAFzExxp/skVHh4AAgBJAAACOwI4ACYAQAAANzU0PgE3NjsBMh4FFxYdARQOBA8BBisBIi4EJyY3FB4CFxY7ATI+ATc2PQE0JisBIg4BBwYVSSAaHyk4fQ0YGA4YBxsBNQQOBxoFEREpOH0QHRQbCxsENGUMDRgEDxF9DhYeAhI8Gn0OFh4CEbXOIzwYGiQDCwUTBRcBLkTOEBsaDxoGDw4kBwcSCBgDK0cMFgwTAwwMHgEOF84aNgweAQ4XAAAAAgBJ/ywCOwJNACwASgAAFxE0NjIWHQE+CDsBMh4BFx4EHQEUDwEGKwEiLgEnFRQGIiYTFB4CFx4CFxY7ATI/ATY9ATQvASYrASIPAQYVSR0qHgITBhIKEg8TFQsVHTcbGQIwDB0KNVYpORUfNyAVHiodZQoKFQMHGBQJDhUVFAxXERFXDBQVFQ5aDqICvRQeHhQbAhQFEQYNBQcCGBUXAikPJiYXoUQuSiQYHBfYFR0dAZIMFQsSAwcZFAgODEoNGKEYDUsMDlsLFwAAAgBJ/ywCOwI4AC0ASAAANzU0Njc2NzY7ATIeBBc1NDYyFhURFAYiJj0BDgIrASIuBycmNxQeAhcWOwEyPwE2PQE0LwEmKwEiDgEHBhVJKicFAyk4SxAeEx4IHwIdKh4eKh0XHTYeSwsTEw4RChEGEwI0ZQwNGAQPEUsSDlYSElYMFEsOFxoEErXOMDsgBAIkBwcUBhwBEhUeHhX9WRUdHRXlFhcWAgYFCgYOBRECK0cMFgwTAwwMSg0YeBUQSgwNGgMQFgAAAAABAEkAAAI7AjgAHwAANxE0NjIWHQE3NjsBMhYdARQGIiY9ATQmKwEHERQGIiZJHSoedwsSYz1ZHiodHRRRph4qHTMB0hUeHhU7ZghZPRwVHR0VHBQdj/7vFR4eAAEASQAAAjoCOAA0AAA3NDYzMhYXHgE7ATI2NTQnJS4BNTQ3NjsBMhcWFRQGIyImKwEiBhUUFwUeAR0BDgErASInJkkcFRImCQIUBMsYGx3+6yIqJSY11kswCh4VEi0T1g0PEAEWJjUBWj+9ST4TXRUdHQMBCSAWIg14D0MnMyQmPw0RFR4rEgsSBngRTS4CP1k1EAABAEkAAAI7AuIAKgAAEjQ2OwE1NDYyFh0BMzIWFAYrAREUFjsBMj4CMzIWHQEOASsBIiY1ESMiSR0VMR0qHsUVHR0VxRwUZBQZCRkUFR4KVTdkPVgxFQHwKh53FR4eFXceKh3+wxQdGx8bHhUINEtZPQE9AAEASQAAAjsCOAAgAAATNDYzMhYVEx4BOwE3ETQ2MhYVERQGIiY9AQcGKwEiJidJHRUUHg0CGxRHpB0qHh4qHWEmKzk8WAICBRUeHRT+jRQbaAE4FR4eFf4uFR4eFSM+GFU7AAABAEkAAAI7AjgAGgAAEzU0NjIWHQEbATU0NjIWHQEUBwMGKwEiJwMmSR0qHpOVHSoeBacNIT8hDacEAbBVFR4eFUr+rQFTShUeHhVVCgr+gh4eAX4IAAAAAQA+AAACRQI4ACsAABM0NjMyFhcTFzc1NDYzMhYdARc3Ez4BMhYdAQMHDgErASIvAQcGKwEiJi8BPh4VFB0BCiBCHhUUHkIgCgEdKB8LMwUbETEdDzc4Dx0xERsFNAIEFR8dFP7dbHJyFB4eFHJybAEjFB0eFAL+yqoQFBlfXxkUELYAAQBJAAACOwI4ACMAADc0PwEnJjU0NjMyHwE3NjMyFhUUDwEXFhUUBiMiLwEHBiMiJkkKraEMHhUXEJWUEBcVHgyhrQseFRgPn6APGBUdMxMN0MIPERUeE7OzEx4VEQ/C0A4SFR4SwcESHgAAAQBJ/ywCOwI4ACMAABY0NjsBNyMiJwMmPQE0NjIWHQETMxM1NDYyFh0BFAcBBisBIkkdFWdDFSIMlQQdKh6DIIQeKh4F/vwNIogVtyoemR8BUwgMVRUeHhVK/tQBLEoVHh4VVQoK/a4eAAAAAQBJAAACOwI4ABwAADc1NDcBISImNDYzITIWHQEUBwEhMhYVFAYjISImSQ8BYP7bFR0dFQF1FR4Q/qEBPBUeHhX+cxUdMyoXDQFSHSoeHhUqFRD+rx4UFR4eAAABAEkAAAI7AwwAKgAAEjQ2OwEyNj0BNDY7ATIWFRQGKwEVFAcWHQEzMhYVFAYrASImPQE0JisBIkkdFWEWHT0olBUeHhWUJyeUFR4eFZQoPR4VYRUBcSoeHRW8KTweFBUevDksLDm8HhQVHjwpvBQfAAAAAAIBDwAAAXQDDAAIABEAACURMxEUBiMiJhkBNDYzMhYVEQEPZR4UFR4eFRQeMwEh/t8VHh4BmwEhFB4eFP7fAAABAEkAAAI7AwwAKgAANzQ2OwE1NDcmPQEjIiY1NDY7ATIWHQEUFjsBMhYUBisBIgYdARQGKwEiJkkdFZQnJ5QVHR0VlCk8HRViFR4eFWIVHTwplBUdMxQevDksLDm8HhUUHjwpvBQeHiodHxS8KTweAAAAAAEASQGqAjsDCwAmAAATNTQ2MzIWHQEUFjI2PQE0NjIWHQEUBiMiJyY9ATQmIgYdARQGIiZJXTw6WB0oHR0qHlw9PCssHSgcHiodAgVvQVZYPzQUHx8UbxUeHhVvQVUrLj00FB4eFG8VHR0AAAEAcQAAAmMDDAATAAAzETQ2MhYdATMRIREUBiImPQEjEXEdKh5hASweKh1iATEVHh4VzAKn/s8VHh4VzP1ZAAABAHEAAAJjAwwAFQAANxEhETQ2MhYVERQGIiY1ESERFAYiJnEBjR0qHh4qHf7YHiodMwGGASEUHh4U/VkVHh4VASH+3xUeHgABAHEAAAJjAwwAGAAAExE0NjIWFREhETQ2MhYVESMRFAYjIiY1EXEdKh4BKB0qHsceFBUeAVQBhhQeHhT+3wEhFB4eFP56/t8VHh4VASEAAAEBN/+bAZwEUgADAAAFETMRATdlZQS3+0kAAAABAFf/5wJ8AyUAAwAAFxEhEVcCJRkDPvzCAAAAAQDtAAAB5gD6AA8AADc1NDY7ATIWHQEUBisBIibtHRWVFR0dFZUVHTOUFR4eFZQVHh4AAAEAcQAAAmMDDAAeAAATNDcBNjIfARYdARQHBRUUBiImPQE0NyU1JwUGIyImcREBKg8kD2MSEv7oHiodEQEZMf73DxIVHQHbGA4A/wwMVQ8XVRcQ7+cVHh4V/hkO7yYq4wweAAABAQMBqAHRAwwAEwAAATQ2OwEyFhUUBhUDFAYiJjU0NjUBAyAVYxQiATMfKCEBAtoUHhoSAQQB/wAUHhoSAQQBAAAAAAEA1AAAAf8BZAAUAAATNTQ2OwEyFh0BFAYrASImPQEjIibUHRXHFR0dFTIVHWMVHQEHKhUeHhX+FR4eFaEeAAABAHEBVAJjAbkACwAAEjQ2MyEyFhQGIyEicR0VAY0VHh4V/nMVAXEqHh4qHQAAAAAAAA4ArgABAAAAAAAAAFYArgABAAAAAAABAAQBDwABAAAAAAACAAcBJAABAAAAAAADACEBcAABAAAAAAAEAAUBngABAAAAAAAFAAoBugABAAAAAAAGAAQBzwADAAEECQAAAKwAAAADAAEECQABAAgBBQADAAEECQACAA4BFAADAAEECQADAEIBLAADAAEECQAEAAoBkgADAAEECQAFABQBpAADAAEECQAGAAgBxQBNAGEAdAB0AGgAZQB3ACAAUwBrAGEAbABhACAAKAAyADAAMQAxAC0AMQAyACkAOwAgAGIAYQBzAGUAZAAgAG8AbgAgAGMAbwBkAGUAIABiAHkAIABSAGkAYwBoAGEAcgBkACAAQgAuACAAVwBhAGwAZQBzACAAKAAxADkAOAA4AC0AOAA5ACkAIABhAG4AZAAgAFQAbwByACAATABpAGwAbABxAHYAaQBzAHQAAE1hdHRoZXcgU2thbGEgKDIwMTEtMTIpOyBiYXNlZCBvbiBjb2RlIGJ5IFJpY2hhcmQgQi4gV2FsZXMgKDE5ODgtODkpIGFuZCBUb3IgTGlsbHF2aXN0AABPAEMAUgBBAABPQ1JBAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABGAG8AbgB0AEYAbwByAGcAZQAgADIALgAwACAAOgAgAE8AQwBSACAAQQAgADoAIAAyADcALQA5AC0AMgAwADEAMgAARm9udEZvcmdlIDIuMCA6IE9DUiBBIDogMjctOS0yMDEyAABPAEMAUgAgAEEAAE9DUiBBAABWAGUAcgBzAGkAbwBuACAAMgAgAABWZXJzaW9uIDIgAABPAEMAUgBBAABPQ1JBAAAAAAIAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAbAAAAAEAAgADAAQABQAGAAcACAAJALcACwAMAA0ADgAPABAAEQASABMAFAAVABYAFwAYABkAGgAbABwAHQAeAB8AIAAhACIAIwAkACUAJgAnACgAKQAqACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ADoAOwA8AD0APgA/AEAAQQBCALYARABFAEYARwBIAEkASgBLAEwATQBOAE8AUABRAFIAUwBUAFUAVgBXAFgAWQBaAFsAXABdAF4AXwBgAGEBAgEDAQQBBQEGAQcBCAEJAQoBCwd1bmkyNDQwB3VuaTI0NDEHdW5pMjQ0MghTRjExMDAwMAtibGFja3NxdWFyZQpwZXJpb2QuYWx0DHF1ZXN0aW9uLmFsdA9xdW90ZXNpbmdsZS5hbHQJY29tbWEuYWx0Cmh5cGhlbi5hbHQAAAAB//8AAgABAAAADgAAABgAAAAAAAIAAQADAGsAAQAEAAAAAgAAAAEAAAAKAEQAogACREZMVAAObGF0bgAkAAQAAAAA//8ABgAAAAEAAgADAAQABQAEAAAAAP//AAYAAAABAAIAAwAEAAUABmFhbHQAJnNzMDEALHNzMDIAMnNzMDMAOHNzMDQAPnNzMDUARAAAAAEAAAAeAAEAAQAcAAEAAgAaAAEAAwAYAAEABAAWAAEABQAAAQAAAAEBAAABAgAAAQMAAAEEAAYADgAWAB4AJgAuADYAAwAAAAEAMAABAAAAAQBkAAEAAAABAGgAAQAAAAEAbAABAAAAAQBwAAEAAAABAHQAAQAuAAUAEAAWABwAIgAoAAIACgBpAAIADwBqAAIAEABrAAIAEQBnAAIAIgBoAAEABQAKAA8AEAARACIAAQAGAFYAAQABABEAAQAGAEYAAQABACIAAQAGAF8AAQABAAoAAQAGAFsAAQABAA8AAQAGAFsAAQABABAAAQAAAAoALAAuAAJERkxUAA5sYXRuABgABAAAAAD//wAAAAQAAAAA//8AAAAAAAAAAAABAAAAAMw9os8AAAAA1gbbzAAAAADaAyOv"),AM.loadFont("OCR-B",96,100,"AAEAAAAPAIAAAwBwRkZUTXxHn14AADmUAAAAHEdERUYAkwAEAAA4IAAAACBHUE9TuP+4/gAAOWQAAAAwR1NVQnZYZVQAADhAAAABJE9TLzJa+GPlAAABeAAAAGBjbWFwzJGg2QAAA2QAAAFCZ2FzcP//AAMAADgYAAAACGdseWbm+CwyAAAFeAAALwRoZWFkFgqHXQAAAPwAAAA2aGhlYQeFAeAAAAE0AAAAJGhtdHgIFCYVAAAB2AAAAYpsb2NhZAZYlAAABKgAAADObWF4cACtAGkAAAFYAAAAIG5hbWWukZg3AAA0fAAAAnlwb3N0tfQXywAANvgAAAEdAAEAAAACAADO4NltXw889QALA+gAAAAA2gMiKgAAAADaAyIqAA7/GQLWAwsAAAAIAAIAAAAAAAAAAQAABFL+sABaAtMAAP/9AtYAAQAAAAAAAAAAAAAAAAAAAF8AAQAAAGYAZgAFAAAAAAACAAAAAQABAAAAQAAAAAAAAAACAsMBkAAFAAACigK8AAAAjAKKArwAAAHgADEBAgAAAgAFCQAAAAAAAAAAAK8AAABoAAAAAAAAAABQZkVkAEAAIAB+AyD/OABaBFIBUAAAAAEAAAAAAiAC+QAAACAAAQLTAAAAAAAAAtMAAALTAAAC0wD1AtMAdALTAEQCvwA/Ar8APwLTAEQC0wDnAtMA0wLTAIgC0wBEAtMARALTAHIC0wBEAtMAxALTAIACvwA/AskAXgK/AFACvwA/Ar8APwK/AFkCvwA/Ar8APwK/AD8CvwA/AtMA1gLTAG8C0wBBAtMARALTAEEC0wBgAtMARAK/AEUCvwA/Ar8AbwK/AHICvwBtAr8AoAK/AEcCvwBbAr8AeAK/AFACvwBNAr8AWwK/AD8CvwBNAr8AQgK/AFsCvwBBAr8AZwK/AGECvwA/Ar8ATQK/AD4CvwA/Ar8AUwK/AFYCvwBbAtMApQLTAIAC0wBVAtMARALTAEQC0wC2Ar8ATQK/AEoCvwB1Ar8APwK/AE0CvwBhAr8AQgK/AGoCyQCDAskAZwK/AHsCyQDLAr8APwK/AE0CvwA/Ar8ASgK/AD8CvwCaAr8AZwK/AE0CvwBNAr8AQgK/AEECvwBhAr8APwK/AGEC0wBEAQwARABSAnICBgG2AA4AAAAAAAMAAAADAAAAHAABAAAAAAA8AAMAAQAAABwABAAgAAAABAAEAAEAAAB+//8AAAAg////4wABAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALABiAMYBUAG6AkICYgKMArQC8gMaAzoDVgNwA5QEEgQ2BIgE2AUSBVYFngXSBjQGegaoBtwHDAcyB1oHxAhUCIQI2glACXgJrAnaCjQKYgqYCswLAgskC2QLlgvuDB4MgAzODUQNbA2eDcgOEg5ODoAOsg7WDvoPHA9ED2APgg/eECoQaBCyEPgRLBGUEdISAhJOEoASqBLyEygTVhOiE+gUIhSYFN4VGBVGFYYVvBXyFiAWbBaEFs4XDhcmF0QXaheCAAAAAgD1/7wBfQL9AA8AGwAAFzU0NjsBMhYdARQGKwEiJhMRNDYyFhURFAYiJvUbEi4SGxsSLhIbFxskGxomGhcuEhsbEi4SGxsBcgGHExobEv55EhsaAAAAAAIAdAHHAgkC/QASACMAABM1NDY7ATIXFhUwFQ8BDgEjIiYlNTQ2OwEyFxYdAQcOASMiJnQbEh0SDg4BHQIZEhEcASQbEhcRDg4ZBBYREhsB9NwSGw0MDwEC5BAXGxLcExoNDBAE5RAUGwAAAAIARP/4Ai4DAABEAEgAADc0NjsBNyMiJjQ2OwE3PgEzMhcWFQczNzYzMhYdAQcXHgEVFAYrAQczMhYUBisBBw4BIyImPQE3IwcOASMiJyY1NycuATczNyNEGhMVJicSGxoTOygDGRASDQ4liCgNHxIbIwUQFxsSFCUlExobEjopAxoPEhskhykDGRASDQ4mBRIXnoglh/4TGqcaJhqxDhUODhCosSMaEwqcAQMZERIbpxskG7YOFRsSCqK2DxQODRGsAQIaPqcAAwA///sCHwL9AEcAWABfAAA3JjU0NjMyFxYXFhczNScuAScuAjU0NzY/ATU0NjIWHQEXFhcxFhUUBiMiJyYvARUXFhcWFx4BFRQHBg8BFRQGIiY9ASMmJxMGFRQXFhcWFxYXHgIfATUTNzY1NC8BQQIbEhYVFwwYLQUEIS4cGyIWNjZSBBoiGgRpOAkbEhcOITUGBCwcHR8fHjc3UwQaIhoFlSi8YwMECAgFBgwMChwCB1YGZWQHoAUMExodIQYNBNwBChEPDyQ2IkwqKwoBCRMaGxIJAQ5SDA4SGhMsCwHFAQ4MDBYVPytNMDENAQYSGxoTBw1kAcoORQsKCggHBQUGBgUKAQKq/iABFEo8JAIAAAAABQA///gCHwMAAA0AHAAoADcARwAAJSIVFBcWHwEzMjc2NTQHJjU0NzYzMhcWFAcGIyIDIhUUFzsBMjc2NTQHJjU0NzYzMhcWFAcGIyICJjU0NwE2MzIWFRQHAQYjAaIhBQUOAQgRCQl6HyAfNzogICAgOjiuIxgBChEJB3wgISA6Nx8fHx83OycbBgGMDRQSGwb+exAYtTIPDxABAhAPEjKVKDg5KyspKXIqKQKuMikIEA8SMpUoODkrKykqcikp/hQbEw0JAq0MGxIMCv1dFwAAAAADAET/9wIuAwAAQgBOAFwAADc0PwEnJjU0NzYzMhcWFRQHDgEHDgIPARc3NjU0NjIWFRQPARcWFx4BFxYVFAYjIicmJyYnJicmJyYvAQcGKwEuATcUFzMyPwEnBwYHBhMUHwE3Njc2NTQnJiMiRF8EA0Q1NVhKNTQJChQYFxY+BASXBBUcJBs3AgICBwcHAwMbEgYFBgQDBAUCAQUGAQMEPlEGYnVafwYwKAShBRwPEBwwAwRMHiAcGyJozXJUAwRdVVQwMCgmRBsaGyMXGBMuAwPSCDRFExscEnxTAwIFCAgKCQgIEhsCAgEBBQUCAQcIAgICJwFyYnkCFwLhBB0bGwFXOEQEAzYlJx0eDgwAAAEA5wGIAY0C/QASAAATNDY7AR4BFTAVBwMGKwEiJyYn5xsSURAXARUIJCISDQ0BAtATGgIZDwEB/twlCwoRAAABANP/+AHpAwAAGQAAEzU2NzYzMhYVFAcGBwYHFRQXFhUUBiMiJybTA80LDhIbFE4sLQGoFBsSDgvQAXMG8I8IGhMXDjNKS20FvmsOGBMaB4wAAAABAIj/+AGfAwAAGAAANzQ3NjU0LwEmJyY1NDYzMhcWFRQHBiMiJogUqakBBwYGGxIOC9HRCw4SGyUYDm7AwnMBAgwMChIbCJDv7I4HGwAAAAEARACeAi4ChQAqAAATNDc2Mxc1NDYyFh0BNzE2MzIWFRQPARcWFRQGIyIvAQcGIyImNTQ/AScmRA4OEZsbJBuNBggSGyB6UAUaExQMV3AMFBMaCV6MHwG+Eg8OM54TGhsSni4DGxIgCymICwwTGguWlgsbEg0Ofy4MAAABAEQAagIuAo0AGwAAEjQ2OwE1NDYyFh0BMzIWFAYrARUUBiImPQEjIkQbEpsaJhqbEhsbEpsbJBubEgFpJhq3ExobErcbJBu4EhsaE7gAAAEAcv9NAeYAygASAAAXNDcTNjsBMhYdARQHAwYrASImcgWyDBVvEhsN/gwUHBMahgwKAS4MGhMfEwz++w0aAAABAEQBQQIuAbcADwAAEzU0NjMhMhYdARQGIyEiJkQaEwGQExoaE/5wExoBbhwTGhsSHBIbGgAAAAEAxP/7Aa0AtgAPAAA3NTQ2OwEyFh0BFAYrASImxBsSjxIbGxKPEhsoYRIbGhNhExobAAABAID/+AHyAwAAEwAANzQ3MwE+ATMyFhUUByMBDgEjIiaAAwEBGAQYDRIbAwH+6AQYDRIbJQoHAq4MEBsSCgf9UgwQGgAAAAACAD//+AIfAv8AJQBUAAAFIyYnLgEnJicmNTQ2Nz4BNz4CMzIeARceARceARUUDgUDFRQWFxYXHgE7ATI2Nz4BNz4BPQE0JicmJyYnJicmJyYnLgEjIg4CBw4BBw4BATMEOywsNA8QBQUDBgYVEhIySC4tSDITEhUGBgMEDRQmMEbFBQkIEBA4KBUcLA0OEgQFAwEBAQMDBQUICAsMDg8nGBknHhcICAoCAgMIARMSOy8vMC9AOVEvMEEhICYYGCYgIUIvL1I4KEFMOTYkFgGwUi1AJSUXGB8XFhUxHyA0Hy4fJRwdEBEXFw4ODw8ICQoLFB0SESkXFi8AAAABAF7/+wGMAv0AFQAAEiY1ND8BNjsBMhYVERQGIiY1EQcGI3gaDbcNECASGxskG4kNEQIJGxIVCp0LGxL9WBIbGhMCYXULAAABAFAABgILAwAANwAAEiY1NDc2MzIXFhUUBw4BBw4BBw4BBwYHBgcVITIWFAYjISImPQE0NzY3Njc2NzY1NCcmIyIHBiNrGxNbcVs9Pg0NISAgISMmIhgYCwsCASgTGhsS/qoSGwoRLy9EXhkcJSM0Wj4LDwJyGxEZDTw6OV0lIiMsGxsYFxkaGhkgHysFGyQbGxIVTiI8LzAuPyQkKDUhICwIAAEAP//4AhYC/AA3AAA3JjU0NjMyFxYzMjc2NzU0JyYnJiMiJjU0PwEhIiY0NjMhMhYdARQPARcWFxYdAQYHBiMiJyYnJlQVGxIGC0BGTDQ1BCAeLCs1ERoJuP7nEhsaEwFhEhsOoQhVNjUFUE5wHBwcIyMeEBgTGwQdJidKCjMkIw8OGxMSCswbJhobEiQQDrECFjs7WRBtQEADAwcIAAABAD//+wIfAv0AKAAANiY9ATQ3Ez4BMzIWFRQHAzM1NDYyFxYdATMyFhQGKwEVFAcGIiY9ASNaGwXVBBYMEhoFyMMaIg0OOhMaGxI6Dg0iGvWpGhMrCAsBzwsPGxIKCf5GeRIbDg0SeRskG4ESDQ4bEoEAAAIAWf/4AfcC/AAqAC0AABYmNDYzMjc2NTQnJiMiByMiJj0BEz4BMyEyFhQGKwEHMzIXFhUUBwYHBiMSIjN0GxsSyjsSIi1xHyAEEhsOAhkSARwTGhsS8ggTf01OFxgkYL4YAQEIGicacSIfSSU1AxkSAwD/EhgbJBydQUB+NS4vIVoBrQAAAAACAD//+AIfAv0AHwAvAAA3Jic1NDc2Nz4BNzYzMhYVFAcGDwE3NjMyFxYVFAcGIgMGFRQXFjMyNzY1NCcmIyKFQwNFHCgnNjILFBEaC3E1BwsdHm1BQkRE0AYoKilDQikrJyZJRzlBawx9ci80NT85DRsSEQ6ATQoCBkRFdGlCQgFkK0xEKCcoKENOKisAAAABAD//+wIfAvwAHwAAEiY0NjMhMhYVFAcGBwYHBhUUBiImNTQ3Njc2NzY/ASFaGxoTAYYTGjsSNDQWQRoiGkwXNDURGAkC/q8CoRsmGhsSTFkcQUIpeMETGxoU2o0pRUYaKBQHAAAAAAMAP//3Ah8DAAAVACQAQgAAEwYVFBYXHgEXOwE2NzY3PgE1NCcmIhMGFRQXFjsBMjc2NTQvAQMmNTQ/AScmNTQ3NjMyFxYVFAcGDwEXFhUUBgcjIuEmEhUUGxwCAhwODhQUEiYlUimXLSpAFDUmJ5ICrUWOBgZsQD9PTkBAHB0zBgaOdFIqZwKSFCYZJhAPEA4NCAgPECcZJhQU/s9PXjgfHyMjMF9OAv67Olx5YgQEQmtJLzAwMEg7KSghBARieU96BwACAD//+wIfAwAADwAtAAATBhUUFxYzMjc2NTQnJiMiAyY1NDc2MzIXFhUUBwYHBgcGIyImNDc2PwEHBiMixSwqKER3FQoqKUM/bURIRmJlRUYVFSZTeA0PERoOX0QFChogagJ1MENBKShJIShLLC3+tENlaEtLRkZyRzk5QpFvDBomDltuCgIEAAAAAAIA1v/7AZwCEAAPAB8AADc1NDY7ATIWHQEUBisBIiYRNTQ2OwEyFh0BFAYrASIm1hsSbBIbGxJsEhsbEmwSGxoTbBMaKFATGhsSUBIbGgF+UBMaGxJQEhsaAAAAAgBv/1IBswIQABIAIgAAFzQ/ATM2OwEyFhUUBwMGKwEiJhM1NDY7ATIWHQEUBisBIiZvA3wBCR9vEhsBzA4RKxIbexsSbBIbGhNsExqBDAf9GRsSDgP+9Q0aAidQExobElASGxoAAAABAEEARQIuArMAHQAAEy4BJyYnLgE1NDcBMDE2MzIWFRQHDQEWFRQGIyInTwEGAQECAQIOAZkLDhIbDf6hAV8NGxIOCwFcAQUBAgMECAcREAEPCBsSFwnq6g4SEhsIAAACAEQA3QIuAhsACwAXAAA2NDYzITIWFAYjISImNDYzITIWFAYjISJEGxIBkBIbGhP+cBMaGhMBkBMaGxL+cBL3JhobJBv+JhobJBsAAQBBAEUCLgKzABcAAAkBBiMiJjU0Ny0BJjU0NjMyFzAxARYVFAIg/mcLDhIbDQFf/qENGxIOCwGZDgFc/vEIGxISDurqCRcSGwj+8RAREgACAGD/vAH1AwEAOQBLAAATNTQ2NzYzMhcWHQEOAQcGBwYHBhUUBwYiJjU0NzY3Njc2NzY3NjU0JyMiJyYrAgYdARQHBiMiJyYTNTQ2OwEyFh0BFAcGKwEiJyZgPi8vNlA6OQEsHwcUFgkJDg0kGwoKCwwUFQgSEBFTAQUICgQDAW4NDRMSDQ2UGxIuEhsODRIuEg0OAjQMPFsVFTAwWAIxZCMIExQOCwsUDw8dFRoYFw4OFBUKEyIiG0IVAQIOUgkUDw4ODv3MMRUdHRUxFA8PDw8AAAIARP/yAi4DBABKAGUAADc1NDcyHwE3NjMyFxYVERY7ATY3Njc+AT0BNCYnLgEnJicmKwEGBw4BIyInJj0BNjc2NzMyFhcWFx4BHQEUBwYHBiMiLwEHBisBJjcUFxYXHgEXMzI3Njc9AiYnJiMiBwYHDgEVRIgvJwUCDhkSDQ4CHAETDQwEBQMDBQUXEBEbGyMJggsCGRETDQ0MPT9eCTpZGxsREQ0KCiMmNzYdAwQrPQiMWgEBBQQYEwYcEQ8NDRcXHBALCgMEAtIB7wIdAwUYDw8T/vk2AQwNFhUmHZgqPyYlNBcYDAwGVxIYDg8VB1ItLgMqIyM1NXBGfFsxMCInJgQDKAXWGw8QFBUVAREQHQGMARoTFAwMFhQiGAAAAAIARf/1AhoC9gAZABwAABYmPQETPgE7ATIWFxMUBwYjIiYvASMHDgEjEwMzYBufBBgOQg0XA6MODhIPGQMtyywDGQ+9T54LHRUOAp4OFREM/U0TDw8VD8PDDxUCov6qAAMAPwAGAh8C/QAhACsAOQAANiY1ETQ3NjsBMhcWFxYXHgEVFA8BFx4BHQEUBgcGBwYrARMVNzI9ASYnJiMDFRcyPQEmJyYnJicmI1obDQ0TpyQVFR4dFiwyOgQEIicnJCUvLz6nLXqyASspQZaWiAMODRgYGRkkBh0VApIWDw4BAgcIDRxiOVo4BAQeWDACMlkfHwsLAVr1AXwBPh0cATrVAWMLIRUWCwoDBAABAG//8gHwAwsARQAAEyYnNTQ2NzY3Njc2NzMyFxYXFRQHBiMiJyYnJicwMSYrAQYRFR4BFxYXFhceATMyNzY3PgEzMhcWHQEGBwYjIicmJyYnJnYGAQ0QERkYJyQvBTsuLQ0NDRITCQsICQsVHQWBAQQFBAoJDg4tHBwTFgQDGRASDQ0KLS09MiUoGBkREQD/NT8OQGw0MyUkFhYCJiY9ChQPDw0NFRYKEgf+6RIlOiMkGhoXFxoPDxoSFw8PFAo8JiYVFSQkMzMAAAACAHIABgIFAv4AFAAhAAA3JjURNDc2MzIXFhcWFRQHBgcGIyITJxE3Njc2NTQnJicmgA4NDRNmQ0M1RUhGayJLEkUGBmU5OyEgMysVDxUCkxQPDyssTmiFi19eFwcCkQH91AELQUB1UkFAKyQAAAAAAQBtAAYCEwL7ACIAADYmNRE0NzYzITIXFhQGIyEVMzIXFhQHBisBFSEyFxYUBiMhiBsNDRMBTBMNDRsS/uHvEg0ODQ0T7wEfEw0NGxL+tAYdFQKRFQ8ODg8qHdQPDykPDvUODyodAAABAKD/9QICAvoAHgAANyY1ETQ3NjMhMhcWFAYrARUzMhcWFAcGKwERFAcGIq4ODQ0TAQgTDQ0bEtuuEg0ODg0Srg4NJAQPFQKgFA8PDg8qHdQPDygPD/7KFQ8PAAEAR//xAg4DCAA+AAA3Jj0BNDc2NzYzMhcWFxYVFAYjIicmIyIHBgcGFRQXHgEzMj8BNSMiJyY0NjsBMhYVERQHDgEHDgEHBiMiJyZeFxcXLEZeExNYNwsbEhQOK0M+Kh8PEBwSTDUuMgNyEgwNGhGfEhsHCBIREhEQLC5sQivEV2MDYVNUME8DEEgOExQdETYxJD4+SWlYODoUAckODykdHRX+6Q4LDA4ICAYFDk0wAAAAAAEAW//1AgIDBAAdAAAWJjURNDc2MhYVETMRNDc2MhYVERQGIiY1ESMRFAZ2Gw4NJBvzDg0kGxskG/MbCx0VAqoVDw8dFv7lARsVDw8dFv1WFR0dFQEt/tMVHQAAAQB4AAYB5gL6ACMAADcmNDc2OwERIyInJjQ3NjsBMhcWFAcGKwERMzIXFhQHBiMhIoYODQ0TYEwSDQ4NDRPsEw0NDg0STGATDQ0ODRL+7BIVDykPDgIsDw8oDw8PDygPD/3UDg8pDw8AAAAAAQBQ//ABpQMHACMAADYmNTQzMhcWHQEGFRQXFjMyNzY1ETQ2MhYVERQXFBUUBiMiJ4Y2MBMMDQIcGiAeFRcbJBsBZ0EpJyBXN04ODxUKDAQpGhoYGS0CJBUdHRX95wMFBAJMchcAAAABAE3/9QIfAwcAHwAANyY1ETQ2MhYVEQE2MhYUBwMBFhUUBwYjIicBERQHBiJbDhskGwEUDiQbDvwBEw4ODRITDf7VDg0kBA8VAq0VHR0U/ucBOw8dKRD+3P6+ERIVDw8OAVv+yRQPDwAAAAABAFsACwIfAwcAEwAANyY1ETQ2MhYVESEyFxYUBwYjISJpDhskGwE9Ew0NDg0S/pYSGg8UApkUHR0U/ZkPDygPDwAAAAEAP//1Ah8DBAAoAAAWJjURNDY7ATIXFhcbAT4BOwEyFxYVERQGIiY1EQMGBwYjIiYnAxEUBlobGxJNDgwLBE1NAxgOTRINDhskG2wGCwoPDhcEbRsLHRUCqhYdCgsO/uUBGw4VDw8V/VYVHR0UAmv+cxAKChQPAY79lRQdAAAAAQBN//UCEQMIAB8AADcmNRE0NjsBMhYXExE0NjIWFREUBwYrASInAxEUBwYiWw4bEiUMFwXwGyQbDg0SJhwM7w4NJAQPFQKtFR0PDf3JAiMUHR0V/VMVDw8bAjf93xQPDwAAAAIAQv/yAhwDBwAeADkAADYmPQE0PgE3Njc2MzIXFhceAR0BFAYHBgcGIyInJicSBh0BFBYXFhcWMjc2Nz4BNTQmJyYnJiIHBgdkIhEmHRsoJy81LS4eHiEhHR4uLTY1LS4eLBESEREdHkgeHREREhERER0eSh8dEKuLRwM2bWcnJxcYIiE4OItJA0eLOjkjIyMjOQGdYSwELmItLx4fHx4vLWMtMWQtLR0dHh4vAAAAAgBb//UCHwL8ABUAHwAANyY1ETQ3NjsBMhcWFRQHBisBERQGIhMVMzI3NTQnJiNpDg0NE6hoQ0QmPYx7GyQ/e5AFKSdFBA8VAqEVDw85OWxRNVj+6BYdAqP1dAdEGxsAAgBB//UCHwMIACMAQwAANyY9ATQ3Njc2OwEyFxYXHgEVFA8BFxYVFAYjIi8BBwYjIicmEgYdARAzMj8BJyY1NDc2MzIfATc2NTQnJicmIyIHBgdfHh4ZMzFBCDYrKxsbHTACQwocEhYKOAQ1Oz03OTIMhSAeBGAKDQwRFwpRAxQPDyEiLiUbGw3DUYMDgk1BLy8fHzU1gUeMZAJfDxEUHg5SBC4uLwGzTS0D/tgZA4sPEBQPDw52CkFLRjs8KSkWFSUAAAIAZ//1AggC+AAkADEAABYmNRE0NzY7ARYXFhcWFxYHBgcGDwETFhUUBwYjIicDIxEUBwYTFTcyNzY3NjU0JyYjghsNDROfKiMkHx4REQEBICFCBYoFDg0SFgueWw4NG242GhoKCiUiOAsdFQKeFg8OAQoLFRUnJjRfOjobAv77ChEUDw8NAT7+6BUPDwKk9QIaGRwcLDAWFgAAAAEAYf/wAf0DBwBRAAA3Jic1NDYzMhYXFhcWMzI3NjU0JyYnLgEnLgInJicmJyYnJjU0NzY3MzIXFhcWFRQHBiInJicmJyYjIgcGFRQXFhcWFx4BFx4CFRQGBwYjIqU6ChsSERoCBiEfKTAlJAcHDg0WEw45IhoaDxAQDwgHPDxPBkcyNBECDQ0mCwwJCgobMC0jJBUTJBAjIyceHSEXZksSEkkiMk0IFB0YEi0YGCAcOxgUEw4OEQoIHxUQERARFxcdHCNSNTYCJydDCAQUDw4NDhUYChoZGSotGBgUCxITFxcWLUQpVXQOAwAAAQA///UCHwL4ABgAABMmNDc2MyEyFxYUBwYrAREUBwYiJjURIyJNDg0NEwGGEw0NDg0SmA0NIhqYEgKiDyoPDg8PKQ8P/ZQUDw8dFQJsAAABAE3/8gIRAwgAIAAANyY1ETQ2MhYVERQXFjMyNzY1ETQ2MhYVERQHBgcGIicmZRgbJBsyHzc+JCYbJBsYGCw1ojUscDY9AfMVHR0V/g1RJhcmJkEB8xUdHRX+Dj02NiAoKCAAAQA+//UCIAMGABgAADcDNDc2MzIWFxsBPgEzMhcWFQMOASsBIibjpQ4OEg8ZA5iXBhcPEg4OpwMYDkIOGhkCvBQODxUO/YACgA8UDw8T/UQPFRYAAQA///QCHwMFAC8AADcmAzU0NjIXFhcSHwE3NjsBMhcWHwE3NhM0NjMyFh0BAgMOAQcjIi8BBwYrASInJn4xDhskDQ0BCxgDPwsdEQ4LDAQ+AxkKHBIRHA4yAxkQBTQNPj8KIBsRDAwb9AHFAhQbDg8U/r+4GfUhCgsO6xjBATEUHR0TAv5G/wAOFgEw6/giCwsAAAEAU//1AgsDBgAlAAAWJj0BNDcTAyY1NDYzMhcbATYzMhcWFRQHAxMWFRQGIyInCwEGI24bBaCaBRsSFAyJgRMVEg0OBZqgBRsSFQ2NhxIWCx0VAQ8KAUYBMgwOFh0N/u0BBRsPDxUODP7O/roKDxUdDQEj/ukaAAEAVv/0AggC+QAeAAATJjU0NjMyFxsBMz4BMzIXFhUUBxUDERQGIiY1EQMwWwUbEhkPhIQBAxgMEg0OBakaIhqpArAIDxUdG/7rARULEA8PFA8IAf6l/tEUHR0UAS8BWwAAAAABAFsABgICAv4AHgAANyY1NDcBIyInJjQ3NjMhMhcWFRQHASEyFxYUBiMhImkOBQEL4BINDg0NEwEoEg0OBf73AQMTDQ0bEv6zEhUPFA4KAkkPDykPDw8QFA0K/bcPDyodAAAAAQCl//gCHQMAABUAADcRNDYzITIWFAYrAREzMhYUBiMhIialGxIBHhIbGhPx8RIbGxL+4hIbJQKuEhsbJBv9rBskGxsAAAAAAQCA//gB8gMAABQAABM0NjMyFhcBMDMWFRQGIyInATAjJoAbEgwZBAEYAQMbEh4L/ugBAwLTExoQDP1SBwoSGxwCrgcAAAAAAQBV//gBzQMAABUAADY0NjsBESMiJjQ2MyEyFhURFAYjISJVGxLx8RMaGxIBHhIbGxL+4hITJBsCVBskGxsS/VISGwABAEQBdAIuAvsAGAAAEzU0NxM2NzIXEzAxFhUUBiMiLwEHBiMiJkQHzg8QGAnNCBsSEw2pqAwTEhsBoQoOCwErCgEM/swLDhIbDbKyDRoAAAEARP8ZAi7/kAAPAAAXNDYzITIWHQEUBiMhIiY1RBsSAZASGxsS/nASG50TGhsSHRIbGhMAAAAAAQC2AgcBuQMAABIAAAEnJjU0PwE2MzIfAhYUBwYjIgFvqRALDw0XDgoDnwsLDRURAhGODRUQDRIQCQKmDh4NDwAAAAACAE3/7wH6AiAADQA/AAAlIhUUFxYXMzI/ATUjJgcmNTQ3Njc2NzY3PgE7AScmJyYjIgcGIyImNTQ3NjMyFxYVERQGIiY9AQcGIyIjJiMmAVixHRodCFZGAQUr7zQNDBkaHR0pKUQyBgEGGRo5PC4MEBMaEU9TWzU8GyQbCERPAgYFBD/3YCEVFQJ6ATAC1C9FKh8fExMMDQYGBAY/GRonCRoTFg06MjpY/sUSHBoTEwc9AQUAAAAAAgBK//ACHwMFAB4AMgAAFiY1ETQ2MhYdATc2MzIXHgEXFRQHBiMiJyYvARUUBjcVFhcWMzI3Nj0BJicmIyIHBg8BZRsbJBsIQkoYIE9fATo5aBEIRDsIGxsUKysxJSFAAiUlNxsdQCUBDRsTArcSGxoT+QY2CBV/XweBVVMBBzAGDhMa0gExJSUXLYgJQDIzDh9NAQAAAAABAHX/7gHwAhoAKgAANyY1NDc2MzIXFhcWFxUUBiMiJyYjIgcGFRQzMjc2Nz4BMzIWHQEGBwYjIuVwNTVjExQwIyMLGRMfDAw+JRg9bBIPMQsDGRASGg4yNDwwBz7NeElHAwYbGyoLExokIw0fgsoEDCsOFRsSCzckJQAAAgA///ECEwMFAB4AMQAANyY1NDc2NzYzMh8BNTQ2MhYVERQGIiYvAQcGIyInJhMGFRQXFjMyNzY3PQImJyYjImwtLy5RHBhKRggbJBsbJBoBAQc/TxocVUA/IiI9HB5MGRUpKTAoVEpvZkVEFwg1BvgSGxoT/UkUGhoRCgYxBhQBnCxuTzs8DiBQAYUBLyMjAAAAAAIATf/xAhECIAAkAC0AADcmNTQ3NjczMhcWFRQGIyEXFhcWMzI3Njc2MzIWFRQHBiMiJyYTByEnJicmIyJ2KT49ZgZoOjsbEv7EAQclJEMREh4UDBITGy0tPzMmTA8CAQQBCxwcPGNgSmhzTUwCR0dzEhwGSyssAwQVDRoTKxQVDRoBOgcGPBwdAAAAAQBh//MB/QMCACMAABImNDY7ATU0MzIWFAYjIgcGBwYdATMyFhQGKwETFAYiJjUDI3saGxJxzhIbGxIsICAJBHwSGxsSfAYaIhoFcQG7GyQbDt8bJBsPECINNw4bJBv+ZhIcGxMBmgACAEL/QgIGAhsANABJAAA3JjU0NzYzMhcWHwE3PgEzMhYVERUWHQEUBwYjIicmJyMmNTQ2MzIXFhcWMzI3Nj0BBwYjIhMGFRQXFjMyNjc2NzY/AT0BJicjIns5OjlmDwg/MgcBARsREhsBOzxhTjAwFQEDGxIUEBEKFkVbGAoIPlJfCCAfHjocMRISDAsPAStVDUJbR2t4S0sBBikGChEYGxP+UQEJDBdeNzcTEzEHCxMaFRgFCjgXLDsHNwF8L09CLC0UFBMQEBkCVgF3BgAAAQBq//MB9AMFACkAABYmNRE0NjIWHQE3NjMyFxYXFh0BFAYiJjURNCc0Jy4CIyIHBg8BERQGhRsbJBsIOUo4KioPChskGwEEBBAdFTEgHxoBGw0aFAK3ExobEvUHMSMjNyVb/RIcHBIBCxsRERUXGRMhHzMB/tQSHAAAAAIAg//zAZQDBQAQACAAABImNDY7ATIWFREUBiImNREjNiY9ATQ2OwEyFh0BFAYrAZ4bGhO0ExobJBuHeBsbEi0SGxsSLQGoGyQbGhP+SxMaGxIBiNUaEy4TGhoTLhMaAAIAZ/9JAZQDBAAPADQAAAAmPQE0NjsBMhYdARQGKwEDIj0BNDc2MzIXFjMyNzY3NjURIyImNDY7ATIWFREUBwYHBgcGASgbGxItEhsbEi10Xw4PFQQQEAoICD0UCmUSGxoTkhMaERMdHSciAnwaEy4TGhoTLhMa/M0uCREKCwECAQQtFkkBdBskGxsS/lJVJCUbGgYFAAAAAQB7//MCBQMFACEAABYmNRE0NjIWFREzNzM2MzIWFRQPARcWFRQGIyIvASMVFAaWGxskGwq7AQ0REhsOqssMGxIVC9kKGw0aFAK3ExobEv6Asg4cEhQNpOUOERIcDfTUEhsAAAEAy//5AfADBQAYAAA3JjUTNDYzMhYVAxQXFhcWMzIWFAYjIicm9CkGGhMSGwcQES8PQBIbGxJTMC48N28B9RMbGxP+Cj8iJAcCGyQbDQ4AAQA///MCHwIbADIAABYmNRE0NjMyHwE3NjMyHwE3NjMyFhURFAYiJjURJiMiBwYVERQGIiY1ESYjIgcGFREUBlobGxIXDgMEIig4JAMEKTQ2RxskGwIhHxUUGiIaAiAgFRQbDRsTAckTGxUEAxktBQUtTzX+ihIcGxMBbzEvLif+5BIcGxMBbzEwLib+5BIcAAAAAAEATf/zAhECGwAjAAAWJjURNDYyFh0BNzYzMhcWHQEUBiImNRE0JyYjIgcGBxURFAZoGxskGwhDWGUxMRskGxcXPzsoKBgbDRwSAckSGxoSFAc9Q0N3/RIcGxMA/08oKiopOwH+7xIcAAAAAAIAP//wAh8CIAAPABsAADcmNTQ3NjMyFxYVFAcGIyIDBhQXFjI3NjQnJiKAQUFAb2xCQkJBbW4BJycmkiYnJyeQPk96e09PT1B6eU9PAaA2pjU1NTWmNjYAAAAAAgBK/0gCHwIbABUAMwAANxcWMzI3NjU0JyYjIgciIzEGBwYHFQImNRE0NjIWHQE3NjMyFxYXFhUUBwYrASYvARUUBqQBPlQPFWohIUQDBAMDLyUlFUAaGyQbCD5LGSFWLS09PGkRRjoIGssBgAUdlVQ2NwEDJCMvAf4BGxICdRMbGhMLBzQIFkZHb3dNTQQxB7cTGgAAAAACAD//SAITAhsAHAAvAAA3JjU0NzYzMh8BNTQ2MhYVERQGIiY9AQcGIyInJhMGFRQXFjMyNzY3PQImJyYjIm0uryEZSz4IGyQbGiYaCD5OHBtTPT8jIzwZIEIjFygpMSNQRmvmLAg0BwsSGxsT/YsTGhsStgc0BxMBoCiBSzY4DR1VAX0BMiQlAAAAAAEAmv/zAg4CGwAnAAAWJjURNDYzMhYdATc2MzIWFxQGIiYnNCcjIicmIgcGKwEGBwYdARQGtRsbEhMaCDdPPE8BGyQaASMBAgQFBwcGAwE3ICIbDRwSAckSGxkTCwc0TTgTGxoSIggBAgIBCTg3QOUTGwAAAQBn//AB/QIgAFEAADcmNTQ2MzIXFhcWMzI3NjU0JyYnJicuAicuAScmJyYnJjU0NzY7ARYXFhcWFRQGIyImJyYnIyIHBgcGFRQXFhceARcWFxYXFhcWFRQHBgcjImwFGxITEhUJITIwIyYPDgwKFgs5GhkaGRISCQgHBzg4Uh02LC0MAhsSEBkDCEAZGxMUEhQ+Dx8gIhwdDxAREQcHOjxYCYVFCA8TGhUYBBESEyYTDg0EBQYDDwgJCQ8ODg8OFhUZTiUmAxsbLwkDEhsTDiIEAwIODxswEgQHCAsKCQwLEREWFx1SJygCAAABAE3/8wHjAqYAMQAAEiY0NjsBNzQ2MhYVBzMyFhQGKwEHFBUWFx4COwEyNzYzMhYVFAcGIyInJicmPQE3I2gbGxJSARkkGAKWEhsbEpcDAQMEDRsUAhAcGw0SGyMlNCofLxQUA1ABshslG2wUGRsSbBwkHO0aDQwTExENCgobEiAQEQwTLi9MDOsAAAEATf/wAhECGAAoAAA3Jj0BNDYzMhYdARQXFhczMjc2NzERNDYyFhURFAYiJj0BBwYrASYnJlcKGxESHBUVQwU7KCYVGyQbGyQbCEFYBEgwMYEmS/gSHBwS6lwrLQIsKz8BChMbHBL+NxIcGhMSBzsBJyYAAQBC//MCHAIYAB0AABMmNTQ2MzIXEzMTMDU+ATMyFhUUBzEDDgErASImJ0UDGxIfC5EKkQMZDhIbA54DGQ1GDhcEAdsGCRMbH/5eAaIBDBIcEgkG/jYMEhENAAABAEH/8wIeAhgAKAAANwM0NzYzMhYXEzc+ATsBMh8BEz4BMzIXFh0BAw4BKwEiLwEHBisBIiZ4Nw4OEhEZAiorAxcPLCAKKikDGRESDg44AhkRMCAJMTELHTERGhsBzxMNDhcR/qSWDRMglgFcEBgNDRAE/jEQGB+wryAYAAAAAAEAYf/zAf0CGAAjAAAWJjU0PwEnJjU0NjMyHwE3NjMyFhUUDwEXFhUUBiMiLwEHBiN8GwiMgQcbEhcJdXUNExIbB4KMCRsSGAmAgQwUDRwSDg3OxgwOExsMtbUMHBIODMbODg0SHAy/vwwAAAEAP/9JAh8CGAAjAAAWJjU0NjsBMj8BAyY1NDYzMhcbATYzMhYVFAcBMDEGBwYjIidTFBsSEBYHa78GGxITDaicDhQSGwX+zQ0dHSMNDrEZEBMaEMsBVAkNExsM/tcBKQwbEw0K/bccEhMDAAEAYQAEAgUCBwAcAAA2Jj0BNDcBIyImNDYzITIWHQEUBxUBITIWFAYjIXsaDAEU6hIbGhMBKhMaDf7zAQQSGxoT/rYEGxIjDw4BPBomGhoTKBEMAf7KGyQbAAAAAQBE//gCLgMAADQAABI0NjMyNzY9ATQ3Njc2MzIWFAYrASIHBgcGFRQPARcWFRQXFhcWMzIWFAYjIicmNTQnJiMiRBsSVhcRJiE0NmESGxoTIjUdHxEUMQUEMgcIGhd4EhsbEpAtVRYYUBMBaCYbGxQ9CmM1Lg0OGyQbBgYYGkl7JQMFMWE3Hh8RDhskGxsznzsXGAAAAAABAQz/ZAFmAwAACwAABRE0NjIWFREUBiImAQwbJBsaJhpvA0ITGhsS/L4SGxoAAAABAET/+AIuAwAAMwAANjQ2OwEyNzY3NjU0PwEnJjU0JyYnJiMiJjQ2MzIXFhcWFRQXFjsBMhYUBiMiBhUUBwYjIkQbEiE9HyIOCjIEBTENDScVYRMaGxJhNjQhJRIXUgQSGxsSUC9UK5ISEiYaCQkgGUhhMQUDJXs1HyELBxomGg4NLjNlRhUbHCQaLzufMxsAAAAAAQBSAhwCIALNACsAABM1Njc2MzIzFjMWFxYzMjc+ATMyFhUUBxUOASMiIyYjJicmIyIHMQ4BIyImUgonJzACBQQDLj4rICAIAxoPEhsCCkwwAgUEAy4+KiAgCQMZEBIbAlUKMB8fAQUvIicPFRsSAwUBMD8BBDAhJg8VGwAAAAABAnIB9QLWAq8ACwAAATU0NjIWHQEUBiImAnIeKB4eKB4CJ1YVHR4UVhQeHQAAAAABAgYB9QKgAq8ADwAAATQ2MzIfARYVFAYjIi8BJgIGHhQbCTwIHhQTET0HAn0VHQ5fDQ4UHg9eCwAAAAACAbYCVALWAwIACwAXAAABNTQ2MhYdARQGIiY3NTQ2MhYdARQGIiYBth4oHh0qHbweKB4dKh0ChkoVHR4UShQeHRVKFB4eFEoUHh4AAQAO/4cAcgK1AAsAABcRNDYyFhURFAYiJg4eKB4dKh1HAsoUHh4U/TYUHh4AAAAAAAAOAK4AAQAAAAAAAABDAIgAAQAAAAAAAQAEANYAAQAAAAAAAgAHAOsAAQAAAAAAAwApAUcAAQAAAAAABAANAY0AAQAAAAAABQAKAbEAAQAAAAAABgAEAcYAAwABBAkAAACGAAAAAwABBAkAAQAIAMwAAwABBAkAAgAOANsAAwABBAkAAwBSAPMAAwABBAkABAAaAXEAAwABBAkABQAUAZsAAwABBAkABgAIAbwATQBhAHQAdABoAGUAdwAgAFMAawBhAGwAYQAgACgAMgAwADEAMQApADsAIABiAGEAcwBlAGQAIABvAG4AIABjAG8AZABlACAAYgB5ACAATgBvAHIAYgBlAHIAdAAgAFMAYwBoAHcAYQByAHoAIAAoADEAOQA4ADYALAAgADIAMAAxADEAKQAATWF0dGhldyBTa2FsYSAoMjAxMSk7IGJhc2VkIG9uIGNvZGUgYnkgTm9yYmVydCBTY2h3YXJ6ICgxOTg2LCAyMDExKQAATwBDAFIAQgAAT0NSQgAAUgBlAGcAdQBsAGEAcgAAUmVndWxhcgAARgBvAG4AdABGAG8AcgBnAGUAIAAyAC4AMAAgADoAIABPAEMAUgAgAEIAIABSAGUAZwB1AGwAYQByACAAOgAgADIANwAtADkALQAyADAAMQAyAABGb250Rm9yZ2UgMi4wIDogT0NSIEIgUmVndWxhciA6IDI3LTktMjAxMgAATwBDAFIAIABCACAAUgBlAGcAdQBsAGEAcgAAT0NSIEIgUmVndWxhcgAAVgBlAHIAcwBpAG8AbgAgADIAIAAAVmVyc2lvbiAyIAAATwBDAFIAQgAAT0NSQgAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAAAAQACAAMABAAFAAYABwAIAAkAtwALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgAGQAaABsAHAAdAB4AHwAgACEAIgAjACQAJQAmACcAKAApACoAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAOgA7ADwAPQA+AD8AQABBAEIAtgBEAEUARgBHAEgASQBKAEsATABNAE4ATwBQAFEAUgBTAFQAVQBWAFcAWABZAFoAWwBcAF0AXgBfAGAAYQECAQMBBAEFD3F1b3Rlc2luZ2xlLmFsdAlncmF2ZS5hbHQMcXVvdGVkYmwuYWx0B2Jhci5hbHQAAAAAAAAB//8AAgABAAAADgAAABgAAAAAAAIAAQABAGUAAQAEAAAAAgAAAAEAAAAKAEAAjgACREZMVAAObGF0bgAiAAQAAAAA//8ABQAAAAEAAgADAAQABAAAAAD//wAFAAAAAQACAAMABAAFYWFsdAAgc3MwMQAmc3MwMgAsc3MwMwAyc3MwNAA4AAAAAQAAABgAAQABABYAAQACABQAAQADABIAAQAEAAABAAAAAQEAAAECAAABAwAFAAwAFAAcACQALAADAAAAAQAoAAEAAAABAFIAAQAAAAEAVgABAAAAAQBaAAEAAAABAF4AAQAmAAQADgAUABoAIAACAAUAZAACAAoAYgACAEMAYwACAF8AZQABAAQABQAKAEMAXwABAAYAIAABAAEAQwABAAYAXwABAAEABQABAAYAWAABAAEACgABAAYABgABAAEAXwABAAAACgAsAC4AAkRGTFQADmxhdG4AGAAEAAAAAP//AAAABAAAAAD//wAAAAAAAAAAAAEAAAAAzD2izwAAAADWBtqRAAAAANoDIf0=");var CM=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=function(t,e,n){return e=IM(e),function(t,e){if(e&&("object"==EM(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,_M()?Reflect.construct(e,n||[],IM(t).constructor):e.apply(t,n))}(this,e,[Object.assign(Object.assign({},Object.assign(Object.assign({},OL()),{codeType:yR.PDF417,disableCaption:!1,formatterType:"",elementVerticalGap:0,elementPadding:0})),t)])).processTextViewContent=function(t){return n.formatCaptionText(t)},n.copyTextContent=n.processTextViewContent(n.getClipboardTarget()),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&TM(t,e)}(e,t),function(t,e){return e&&OM(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(e,[{key:"getModel",value:function(){return jM(e,"getModel",this,3)([])}},{key:"clone",value:function(){return jM(e,"clone",this,3)([])}},{key:"cloneRef",value:function(){return jM(e,"cloneRef",this,3)([])}},{key:"getGeometry",value:function(){return jM(e,"getGeometry",this,3)([])}},{key:"promotionalCodeKey",get:function(){return"_bc_g_".concat(this.getId(),"_pc")}},{key:"promotionalCodeFetchedAtKey",get:function(){return"_bc_g_".concat(this.getId(),"_pc_fetched_at")}},{key:"getCodeType",value:function(){return this.getModel().codeType}},{key:"getDisableCaption",value:function(){return this.getModel().disableCaption}},{key:"getFormatterType",value:function(){return this.getModel().formatterType}},{key:"getElementVerticalGap",value:function(){return this.getModel().elementVerticalGap}},{key:"getElementPadding",value:function(){return this.getModel().elementPadding}},{key:"getBarcodeAsSvg",value:function(){if(this.isPromotionalCode&&this.$state.getState()===xL.INIT)return"";var t="";try{var e="";switch((this.isPromotionalCode&&this.$state.getState()===xL.FETCHED||!this.isPromotionalCode)&&(e=this.getClipboardTarget()),this.getCodeType()){case yR.QRCODE:t=fM(cM,{bcid:"qrcode",text:e},yM());break;case yR.PDF417:t=function(t,e){return fM(uM,t,e)}({bcid:"pdf417",text:e},yM());break;case yR.EAN13:t=function(t,e){return fM(iM,t,e)}({bcid:"ean13",text:e,height:10},yM())}return t}catch(t){return this.elementAdditionalData.msgBarcodeRenderError&&DL({content:this.elementAdditionalData.msgBarcodeRenderError}),console.error(t),""}}},{key:"formatCaptionText",value:function(t){for(var e,n=String(t),r=null!==(e=this.getFormatterType())&&void 0!==e?e:"",o=[],i=0,a=0;a<r.length;++a)if("#"===r[a]){if(o.push(n[i]),++i>=n.length)break}else o.push(r[a]);var u="".concat(o.join("")).concat(n.slice(i));return null!=u?u:n}},{key:"onClick",value:function(){return!!jM(e,"onClick",this,3)([])&&(this.getCopiedText()&&DL({content:this.getCopiedText()}),!0)}}])}(nR);CM.type=cT.BARCODE,CM.regClass();var LM=function(){var t=CM,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),RM=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return SM(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?SM(t,2):void 0}}(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.")}()}(LM);function MM(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function BM(t){return BM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},BM(t)}function FM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,NM(r.key),r)}}function NM(t){var e=function(t){if("object"!=BM(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=BM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==BM(e)?e:e+""}RM[0],RM[1];var DM=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=Object.assign(Object.assign({},{id:"",elements:[],background:{color:"#fff",gradient:!1},duration:{auto:10,manual:null,disable:!1},nonFinalSlide:!1,screenshotShare:!1}),e)}return function(t,e){return e&&FM(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"getModel",value:function(){return this.model}},{key:"clone",value:function(){return new t(or(this.getModel()))}},{key:"cloneRef",value:function(){return new t(this.getModel())}},{key:"getId",value:function(){return this.getModel().id}},{key:"getElementById",value:function(t){var e;return null!==(e=this.getElements().find((function(e){return e.getId()===t})))&&void 0!==e?e:PT()}},{key:"getElement",value:function(t){return this.getElementById(t.getId())}},{key:"getDuration",value:function(){var t,e=this.getModel().duration;return null!==(t=e.manual)&&void 0!==t?t:e.auto}},{key:"getElementsCount",value:function(){return this.getModel().elements.length}},{key:"getElements",value:function(){return this.getModel().elements.map((function(t){return PT(t.type,t)}))}},{key:"findElementsByType",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cT.UNKNOWN;return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getElements()).filter((function(e){return e.getType()===t}))}},{key:"getBackgroundColor",value:function(){var t,e=this.getModel().background;if(e.gradient){var n=null!==(t=sT[e.color])&&void 0!==t?t:[];return 0===n.length&&(console.warn("Can't find gradient slide color"),n.push(e.color)),n}return[e.color]}},{key:"getBackgroundMediaElement",value:function(){var t=this.getModel().background;if(null!=t.media){var e=t.media;return PT(e.type,e)}return null}},{key:"isEmpty",value:function(){return!this.getId()}},{key:"hasMediaElements",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.getElements().some((function(e){return!t.includes(e.getId())&&e.isMedia()}))}}])}(),UM=function(){var t=DM,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),GM=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return MM(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?MM(t,2):void 0}}(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.")}()}(UM),QM=GM[0];function zM(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function YM(t){return YM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YM(t)}function HM(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,VM(r.key),r)}}function VM(t){var e=function(t){if("object"!=YM(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=YM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==YM(e)?e:e+""}GM[1];var $M=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.model=Object.assign(Object.assign({},{slides:[],cardName:""}),e)}return function(t,e){return e&&HM(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(t,[{key:"getModel",value:function(){return this.model}},{key:"clone",value:function(){return new t(or(this.getModel()))}},{key:"cloneRef",value:function(){return new t(this.getModel())}},{key:"getSlides",value:function(){return this.getModel().slides.map((function(t){return QM(t)}))}},{key:"getSlidesCount",value:function(){return this.getModel().slides.length}},{key:"getSlideByIndex",value:function(t){return this.getSlides()[t]||QM()}},{key:"getSlideById",value:function(t){return this.getSlides().find((function(e){return e.getId()===t}))||QM()}},{key:"getLastSlide",value:function(){var t=this.getModel().slides[this.getSlidesCount()-1];return QM(t)}}])}(),WM=function(){var t=$M,e=function(e){return e instanceof t};return[function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(n)?n.clone():new t(n)},e]}(),qM=function(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,r,o,i,a=[],u=!0,c=!1;try{for(o=(e=e.call(t)).next,!2;!(u=(n=o.call(e)).done)&&(a.push(n.value),2!==a.length);u=!0);}catch(t){c=!0,r=t}finally{try{if(!u&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return a}}(t)||function(t){if(t){if("string"==typeof t)return zM(t,2);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?zM(t,2):void 0}}(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.")}()}(WM),JM=qM[0];qM[1];var KM,XM,ZM,tB,eB,nB,rB,oB,iB,aB,uB,cB,sB,lB,fB,hB,pB,dB,yB,vB,gB,mB,bB,wB,AB,xB,EB=function(t,e){return"string"==typeof t?t:"".concat(function(t){return t/(arguments.length>1&&void 0!==arguments[1]?arguments[1]:16)}(t,e),"rem")},SB=function(t){return"".concat(t,"em")},OB=function(t){return"".concat(t,"px")},kB=function(t){var e=t.children,n=t.element,r=t.onClick,o=t.id;return ot.createElement(_B.Geometry,{id:o,geometry:n.getGeometry(),onClick:r},e)},_B=function(){var t=Ue.div.withConfig({displayName:"Geometry",componentId:"-1x9mmcd"})(KM||(KM=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n position: absolute;\n\n ","\n "])),(function(t){return t.geometry.getViewRect()}));return{Geometry:t}}();function jB(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var PB,IB,TB,CB={no:function(){return null},zoom:function(t){var e=De(XM||(XM=jB(["\n 0% { transform: scale(",") }\n 100% { transform: scale(",") }\n "])),1,1.2);return xe(ZM||(ZM=jB(["\n transform: scale(",");\n animation: "," ","s ","s;\n "])),1.2,e,10,t)},"zoom-out":function(t){var e=De(tB||(tB=jB(["\n 0% { transform: scale(",") }\n 100% { transform: scale(",") }\n "])),1.2,1);return xe(eB||(eB=jB(["\n transform: scale(",");\n animation: "," ","s ","s linear;\n "])),1.2,e,10,t)},"fade-in-up":function(t){var e=De(nB||(nB=jB(["\n 0% { opacity: 0; transform: translateY(100%); }\n 100% { opacity: 1; transform: translateY(0); }\n "])));return xe(rB||(rB=jB(["\n opacity: 1;\n transform: translate(0, 0);\n\n animation: "," ","s ","s linear;\n "])),e,1,t)},"fade-in-down":function(t){var e=De(oB||(oB=jB(["\n 0% { opacity: 0; transform: translateY(-100%); }\n 100% { opacity: 1; transform: translateY(0); }\n "])));return xe(iB||(iB=jB(["\n opacity: 1;\n transform: translate(0, 0);\n\n animation: "," ","s ","s linear;\n "])),e,1,t)},"fade-in-left":function(t){var e=De(aB||(aB=jB(["\n 0% { opacity: 0; transform: translateX(-100%); }\n 100% { opacity: 1; transform: translateX(0); }\n "])));return xe(uB||(uB=jB(["\n opacity: 1;\n transform: translate(0, 0);\n\n animation: "," ","s ","s linear;\n "])),e,1,t)},"fade-in-right":function(t){var e=De(cB||(cB=jB(["\n 0% { opacity: 0; transform: translateX(100%); }\n 100% { opacity: 1; transform: translateX(0); }\n "])));return xe(sB||(sB=jB(["\n opacity: 1;\n transform: translate(0, 0);\n\n animation: "," ","s ","s linear;\n "])),e,1,t)},"focus-in":function(t){var e=De(lB||(lB=jB(["\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n "])));return xe(fB||(fB=jB(["\n opacity: 1;\n\n animation: "," ","s ","s linear;\n "])),e,1,t)},blur:function(){return xe(hB||(hB=jB(["\n filter: blur(5px);\n "])))},"scroll-up":function(t){var e=De(pB||(pB=jB(["\n 0% { transform: scale(1.2) translateY(8%); }\n 100% { transform: scale(1.2) translateY(","%); }\n "])),-8);return xe(dB||(dB=jB(["\n transform: scale(1.2) translateY(","%);\n\n animation: "," ","s ","s linear;\n "])),-8,e,20,t)},"scroll-down":function(t){var e=De(yB||(yB=jB(["\n 0% { transform: scale(1.2) translateY(-8%); }\n 100% { transform: scale(1.2) translateY(","%); }\n "])),8);return xe(vB||(vB=jB(["\n transform: scale(1.2) translateY(","%);\n\n animation: "," ","s ","s linear;\n "])),8,e,20,t)},"scroll-left":function(t){var e=De(gB||(gB=jB(["\n 0% { transform: scale(1.2) translateX(8%); }\n 100% { transform: scale(1.2) translateX(","%); }\n "])),-8);return xe(mB||(mB=jB(["\n transform: scale(1.2) translateX(","%);\n\n animation: "," ","s ","s linear;\n "])),-8,e,20,t)},"scroll-right":function(t){var e=De(bB||(bB=jB(["\n 0% { transform: scale(1.2) translateX(-8%); }\n 100% { transform: scale(1.2) translateX(","%); }\n "])),8);return xe(wB||(wB=jB(["\n transform: scale(1.2) translateX(","%);\n\n animation: "," ","s ","s linear;\n "])),8,e,20,t)},shake:function(t){var e=De(AB||(AB=jB(["\n 0% {transform: translate(1px, 1px) rotate(0deg)}\n 10% {transform: translate(-1px, -2px) rotate(-1deg)}\n 20% {transform: translate(-3px, 0px) rotate(1deg)}\n 30% {transform: translate(3px, 2px) rotate(0deg)}\n 40% {transform: translate(1px, -1px) rotate(1deg)}\n 50% {transform: translate(-1px, 2px) rotate(-1deg)}\n 60%, 70% {transform: translate(-3px, 1px) rotate(0deg)}\n 80% {transform: translate(-1px, -1px) rotate(1deg)}\n 90% {transform: translate(1px, -2px) rotate(-1deg)}\n 100% {transform: translate(1px, 1px) rotate(0deg)}\n "])));return xe(xB||(xB=jB(["\n animation: "," ","s ","s infinite;\n animation-timing-function: steps(1, end);\n "])),e,1,t)}},LB=Ue.div.withConfig({displayName:"Element",componentId:"-1wx41sx"})(PB||(PB=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n ","\n"])),(function(t){var e=t.element.getAnimation(),n=CB[e.name];if("function"==typeof n)return n(e.timeout)}));function RB(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var MB,BB,FB,NB,DB=function(t){var e=t.overlay;return"off"===e.position?null:ot.createElement(UB.OverlayWrp,{opacity:e.opacity},ot.createElement(UB.Overlay,{positionKey:e.position,position:e.position,color:e.color}))},UB=(NB=Ue.div.attrs((function(t){return{style:{opacity:t.opacity}}})).withConfig({displayName:"OverlayWrp",componentId:"-jtzx05"})(IB||(IB=RB(["\n border-radius: inherit;\n "]))),{OverlayWrp:NB,Overlay:Ue.div.attrs((function(t){var e=t.positionKey,n=t.position,r=t.color;return{style:{opacity:e===n?1:0,background:function(){switch(e){case"bottom":return"linear-gradient(0deg, ".concat(r,", transparent)");case"top":return"linear-gradient(180deg, ".concat(r,", transparent)");case"left":return"linear-gradient(90deg, ".concat(r,", transparent)");case"right":return"linear-gradient(270deg, ".concat(r,", transparent)");case"full":return"black"}}()}}})).withConfig({displayName:"Overlay",componentId:"-1g22rhp"})(TB||(TB=RB(["\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n\n overflow: hidden;\n\n border-radius: inherit;\n\n transition: opacity 0.3s;\n "])))});function GB(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var QB,zB,YB,HB,VB=(QB=Ue(LB).withConfig({displayName:"ImageElement",componentId:"-12g3wij"})(MB||(MB=GB(["\n width: 100%;\n height: 100%;\n\n ","\n\n transition: opacity 0.3s;\n "])),(function(t){var e=t.element,n=t.hasLink;return xe(BB||(BB=GB(["\n opacity: ",";\n\n border-radius: ",";\n cursor: ",";\n "])),e.getOpacity(),SB(e.getBorderRadius()),n?"pointer":"default")})),{ImageElement:QB,Image:Ue.img.attrs({decoding:"sync"}).withConfig({displayName:"Image",componentId:"-1cfa86m"})(FB||(FB=GB(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n\n border-radius: inherit;\n "])))});function $B(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function WB(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qB(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qB(t,e):void 0}}(t,e)||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 qB(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var JB,KB,XB,ZB,tF=function(t){var e=t.element,n=(0,ot.useRef)(null),r=WB((0,ot.useState)(!1),2),o=r[0],i=r[1],a=WB((0,ot.useState)(!0),2),u=a[0];a[1],(0,ot.useEffect)((function(){var t;o&&(null===(t=n.current)||void 0===t||t.play())}),[o]),(0,ot.useEffect)((function(){var t;return null===(t=n.current)||void 0===t||t.load(),function(){return i(!1)}}),[]);var c=WB((0,ot.useState)(0),2),s=c[0],l=c[1],f=null;return u&&(f=ot.createElement(eF.Video,{ref:n,element:e,opacity:s,onPlay:function(){return window.requestAnimationFrame((function(){return l(1)}))},onCanPlayThrough:function(){return i(!0)}})),ot.createElement(ot.Fragment,null,f,ot.createElement(eF.Poster,{element:e,opacity:Math.abs(s-1)}))},eF={VideoElement:Ue(LB).withConfig({displayName:"VideoElement",componentId:"-1aruf4x"})(zB||(zB=$B(["\n width: 100%;\n height: 100%;\n position: relative;\n\n border-radius: ",";\n "])),(function(t){var e=t.element;return SB(e.getBorderRadius())})),Video:Ue.video.attrs((function(t){var e=t.element;return{src:NL(e.getSrc()),poster:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3C/svg%3E",playsInline:!0,preload:"auto",active:!0,muted:e.isMuted(),loop:!0,autoPlay:!1}})).withConfig({displayName:"Video",componentId:"-1mvmcj3"})(YB||(YB=$B(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n\n border-radius: inherit;\n\n opacity: ",";\n "])),(function(t){return t.opacity})),Poster:Ue.img.attrs((function(t){var e=t.element;return{src:e.getThumbnailPath()?NL(e.getThumbnailPath()):"",decoding:"sync",fetchPriority:"high",loading:"eager",elementTiming:"Video poster"}})).withConfig({displayName:"Poster",componentId:"-se01sy"})(HB||(HB=$B(["\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n object-fit: cover;\n\n border-radius: inherit;\n\n opacity: ",";\n "])),(function(t){return t.opacity}))};function nF(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var rF,oF,iF,aF,uF=function(t){var e=t.children,n=t.element,r=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}(t,["children","element"]);return ot.createElement(cF.TextElement,Object.assign({element:n},r),ot.createElement(cF.TextContent,{element:n},null!=e?e:n.getContent()))},cF=(rF=Ue(LB).withConfig({displayName:"TextElement",componentId:"-1gs4vs5"})(JB||(JB=nF(["\n border-style: solid;\n\n ","\n "])),(function(t){var e=t.element;return xe(KB||(KB=nF(["\n border-radius: ",";\n border-width: ",";\n border-color: ",";\n background-color: ",";\n "])),SB(e.getBorderRadius()),SB(e.getBorderWidth()),e.getBorderColor(),e.getBackgroundColor())})),oF=Ue.div.withConfig({displayName:"TextContent",componentId:"-usjzfw"})(XB||(XB=nF(["\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n font-kerning: none;\n\n ","\n "])),(function(t){var e=t.element;return xe(ZB||(ZB=nF(["\n padding: ",";\n font-size: ",";\n line-height: ",";\n text-align: ",";\n color: ",";\n font-weight: ",";\n font-style: ",";\n text-decoration: ",";\n font-family: ",";\n "])),SB(e.getPadding()),SB(e.getTextSize()),SB(e.getLineHeight()),e.getTextAlign(),e.getColor(),e.getBold()?"bold":"",e.getItalic()?"italic":"",e.getStrikethrough()?"line-through":e.getUnderline()?"underline":"",e.getFontFamily())})),{TextContent:oF,TextElement:rF});function sF(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}uF.S=cF;var lF,fF,hF=function(t){var e=t.children,n=t.element,r=t.onClick,o=void 0===r?function(){n.onClick()}:r,i=t.childrenBehavior,a=void 0===i?"replace":i,u=t.Element,c=void 0===u?pF.ElementText:u;if(n.isTransparentInset())return ot.createElement(pF.ButtonInsetOverlay,{onClick:o});switch(a){case"replace":return ot.createElement(ot.Fragment,null,null!=e?e:ot.createElement(c,{element:n,onClick:o,"data-element-id":n.getId()}));case"sibling":return ot.createElement(ot.Fragment,null,e,ot.createElement(c,{element:n,onClick:o}));case"forward":return ot.createElement(c,{element:n,onClick:o},e);default:return null}},pF={ElementText:Ue(uF).withConfig({displayName:"ElementText",componentId:"-ksihsx"})(iF||(iF=sF(["\n cursor: pointer;\n "]))),ButtonInsetOverlay:Ue.div.withConfig({displayName:"ButtonInsetOverlay",componentId:"-1rkh5yv"})(aF||(aF=sF(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n width: 100%;\n height: 100%;\n\n cursor: pointer;\n "])))};function dF(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}hF.S=pF;var yF,vF,gF,mF,bF,wF,AF,xF,EF,SF,OF,kF=(yF=De(lF||(lF=dF(["\n 10%, 90% {\n transform: translate3d(0, ",", 0);\n }\n 20%, 80% {\n transform: translate3d(0, ",", 0);\n }\n 30%, 50%, 70% {\n transform: translate3d(0, ",", 0);\n }\n 40%, 60% {\n transform: translate3d(0, ",", 0);\n }\n "])),EB(-1),EB(2),EB(-4),EB(4)),vF=Ue.div.withConfig({displayName:"Arrow",componentId:"-13zmh8x"})(fF||(fF=dF(["\n position: absolute;\n top: ",";\n width: ",";\n height: ",";\n left: calc(50% - ",");\n\n pointer-events: none;\n\n background-color: ",";\n\n -webkit-mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 64 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.70699 23.7663C5.94599 25.4113 3.15399 25.4113 1.39299 23.7663C-0.464006 22.0323 -0.464006 19.1433 1.39299 17.4093L28.843 1.77126C30.604 0.126257 33.396 0.126256 35.157 1.77126L62.607 17.4093C63.506 18.2483 64 19.3723 64 20.5873C64 21.8023 63.506 22.9263 62.607 23.7653C60.846 25.4103 58.054 25.4103 56.293 23.7653L32 11.0763L7.70699 23.7663Z' fill='currentColor'/%3E%3C/svg%3E%0A\");\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 64 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.70699 23.7663C5.94599 25.4113 3.15399 25.4113 1.39299 23.7663C-0.464006 22.0323 -0.464006 19.1433 1.39299 17.4093L28.843 1.77126C30.604 0.126257 33.396 0.126256 35.157 1.77126L62.607 17.4093C63.506 18.2483 64 19.3723 64 20.5873C64 21.8023 63.506 22.9263 62.607 23.7653C60.846 25.4103 58.054 25.4103 56.293 23.7653L32 11.0763L7.70699 23.7663Z' fill='currentColor'/%3E%3C/svg%3E%0A\");\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n\n animation: "," 3s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0s infinite;\n "])),EB(-20),EB(32),EB(12.5),EB(16),(function(t){return t.element.getArrowColor()}),yF),{Arrow:vF});function _F(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function jF(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var PF=function(){var t=De(gF||(gF=_F(["\n to {\n background-position: -150%;\n }\n "]))),e=Ue(hF.S.ElementText).withConfig({displayName:"CopyText",componentId:"-7p6qw0"})(mF||(mF=_F(["\n opacity: ",";\n\n pointer-events: ",";\n\n transition: opacity 0.3s;\n\n ","\n "])),(function(t){return t.copied?0:1}),(function(t){return t.copied?"none":""}),(function(e){if(e.loader)return xe(bF||(bF=_F(["\n background-color: transparent !important;\n background: linear-gradient(90deg, #ccca 40%, #fffa, #ccca 60%) right/300% 100%;\n border-color: transparent !important;\n animation: "," 2s linear infinite;\n cursor: progress !important;\n\n > * {\n opacity: 0 !important;\n pointer-events: none;\n }\n "])),t)})),n=hF.S.ElementText;return{CopyText:e,CopiedTextWrp:Ue.div.withConfig({displayName:"CopiedTextWrp",componentId:"-1h20eop"})(wF||(wF=_F(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n width: 100%;\n height: 100%;\n\n opacity: ",";\n\n pointer-events: ",";\n\n transition: opacity 0.3s;\n\n "," {\n min-width: 100%;\n }\n "])),(function(t){return t.copied?1:0}),(function(t){return t.copied?"":"none"}),n),CopiedText:n,TextContentWrp:Ue.div.withConfig({displayName:"TextContentWrp",componentId:"-oketl1"})(AF||(AF=_F(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n\n gap: 0.4266666667em;\n\n ",";\n "])),(function(t){var e=t.element;return xe(xF||(xF=_F(["\n color: ",";\n "])),e.getColor())})),Icon:Ue.div.withConfig({displayName:"Icon",componentId:"-1fdi4l4"})(EF||(EF=_F(["\n flex-shrink: 0;\n\n height: 1.0666666667em;\n background-color: currentColor;\n\n ","\n "])),(function(t){var e=t.type,n="copy"===e?"\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.56 1.5H10.44C9.27583 1.5 8.49443 1.50121 7.89305 1.55115C7.30962 1.5996 7.03123 1.68605 6.84755 1.78147C6.39094 2.01866 6.01864 2.39096 5.78145 2.84756C5.68603 3.03125 5.59958 3.30964 5.55113 3.89306C5.54819 3.92849 5.54542 3.96454 5.5428 4.00126C4.95974 4.0039 4.46537 4.01207 4.03735 4.03737C4.08566 3.22021 4.19641 2.64492 4.45033 2.1561C4.82983 1.42553 5.42551 0.829848 6.15609 0.450346C7.02304 0 8.16202 0 10.44 0H13.56C15.8379 0 16.9769 0 17.8439 0.450346C18.5745 0.829848 19.1701 1.42553 19.5496 2.1561C20 3.02306 20 4.16204 20 6.44V10.56C20 12.838 20 13.9769 19.5496 14.8439C19.1701 15.5745 18.5745 16.1702 17.8439 16.5497C17.332 16.8156 16.7252 16.9245 15.8451 16.9691C15.9277 16.5549 15.9663 16.0664 15.9843 15.4582C16.026 15.4553 16.0669 15.4522 16.1069 15.4489C16.6903 15.4004 16.9687 15.3139 17.1524 15.2185C17.609 14.9813 17.9813 14.609 18.2185 14.1524C18.3139 13.9688 18.4004 13.6904 18.4488 13.1069C18.4988 12.5056 18.5 11.7242 18.5 10.56V6.44C18.5 5.27584 18.4988 4.49444 18.4488 3.89306C18.4004 3.30964 18.3139 3.03125 18.2185 2.84756C17.9813 2.39096 17.609 2.01866 17.1524 1.78147C16.9687 1.68605 16.6903 1.5996 16.1069 1.55115C15.5055 1.50121 14.7241 1.5 13.56 1.5Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.56 5.5H6.44C5.27584 5.5 4.49444 5.50121 3.89306 5.55115C3.30964 5.5996 3.03125 5.68605 2.84756 5.78147C2.39096 6.01866 2.01866 6.39096 1.78147 6.84756C1.68605 7.03125 1.5996 7.30964 1.55115 7.89306C1.50121 8.49444 1.5 9.27584 1.5 10.44V13.56C1.5 14.7242 1.50121 15.5056 1.55115 16.1069C1.5996 16.6904 1.68605 16.9688 1.78147 17.1524C2.01866 17.609 2.39096 17.9813 2.84756 18.2185C3.03125 18.3139 3.30964 18.4004 3.89306 18.4489C4.49444 18.4988 5.27584 18.5 6.44 18.5H9.56C10.7242 18.5 11.5056 18.4988 12.1069 18.4489C12.6904 18.4004 12.9688 18.3139 13.1524 18.2185C13.609 17.9813 13.9813 17.609 14.2185 17.1524C14.3139 16.9688 14.4004 16.6904 14.4489 16.1069C14.4988 15.5056 14.5 14.7242 14.5 13.56V10.44C14.5 9.27584 14.4988 8.49444 14.4489 7.89306C14.4004 7.30964 14.3139 7.03125 14.2185 6.84756C13.9813 6.39096 13.609 6.01866 13.1524 5.78147C12.9688 5.68605 12.6904 5.5996 12.1069 5.55115C11.5056 5.50121 10.7242 5.5 9.56 5.5ZM0.450346 6.1561C0 7.02306 0 8.16204 0 10.44V13.56C0 15.838 0 16.9769 0.450346 17.8439C0.829848 18.5745 1.42553 19.1702 2.1561 19.5497C3.02306 20 4.16204 20 6.44 20H9.56C11.838 20 12.9769 20 13.8439 19.5497C14.5745 19.1702 15.1702 18.5745 15.5497 17.8439C16 16.9769 16 15.838 16 13.56V10.44C16 8.16204 16 7.02306 15.5497 6.1561C15.1702 5.42553 14.5745 4.82985 13.8439 4.45035C12.9769 4 11.838 4 9.56 4H6.44C4.16204 4 3.02306 4 2.1561 4.45035C1.42553 4.82985 0.829848 5.42553 0.450346 6.1561Z' fill='black'/%3E%3C/svg%3E%0A\"":"\"data:image/svg+xml,%3Csvg width='15' height='20' viewBox='0 0 15 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 10.8571L5.01889 15.0969C5.45853 15.5606 6.21441 15.4987 6.5727 14.9696L14 4' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E%0A\"";return xe(SF||(SF=_F(["\n width: ",";\n\n -webkit-mask-image: url(",");\n -webkit-mask-size: cover;\n mask-image: url(",");\n mask-size: cover;\n "])),"copy"===e?"1.0666666667em":"0.8em",n,n)})),TextContent:Ue.div.withConfig({displayName:"TextContent",componentId:"-qdxktc"})(OF||(OF=_F(["\n flex-grow: 0;\n flex-shrink: 1;\n flex-basis: auto;\n "])))}}();function IF(t){return IF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},IF(t)}function TF(){TF=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==IF(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(IF(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var CF,LF,RF,MF,BF,FF,NF,DF,UF,GF,QF;function zF(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var YF=function(){var t=De(CF||(CF=zF(["\n to {\n background-position: -150%;\n }\n "]))),e=Ue(uF.S.TextElement).withConfig({displayName:"ElementBarcode",componentId:"-1f78ila"})(LF||(LF=zF(["\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n justify-content: end;\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n ",";\n\n ","\n "])),(function(t){var e,n,r=t.element;return xe(RF||(RF=zF(["\n row-gap: ",";\n padding: ",";\n color: ",";\n "])),SB(null!==(e=r.getElementVerticalGap())&&void 0!==e?e:0),SB(null!==(n=r.getElementPadding())&&void 0!==n?n:0),r.getColor())}),(function(e){if(e.loader)return xe(MF||(MF=zF(["\n background-color: transparent !important;\n background: linear-gradient(90deg, #ccca 40%, #fffa, #ccca 60%) right/300% 100%;\n border-color: transparent !important;\n animation: "," 2s linear infinite;\n cursor: progress !important;\n\n > * {\n opacity: 0 !important;\n pointer-events: none;\n }\n "])),t)}));return{TextContentWrp:Ue.div.withConfig({displayName:"TextContentWrp",componentId:"-1cftb0x"})(BF||(BF=zF(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n\n gap: 0.4266666667em;\n ","\n "])),(function(t){var e=t.element;return xe(FF||(FF=zF(["\n padding: ",";\n "])),SB(e.getPadding()))})),Icon:Ue.div.withConfig({displayName:"Icon",componentId:"-jefdcu"})(NF||(NF=zF(["\n flex-shrink: 0;\n\n height: 1.0666666667em;\n background-color: currentColor;\n\n ","\n "])),(function(t){var e=t.type,n="copy"===e?"\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.56 1.5H10.44C9.27583 1.5 8.49443 1.50121 7.89305 1.55115C7.30962 1.5996 7.03123 1.68605 6.84755 1.78147C6.39094 2.01866 6.01864 2.39096 5.78145 2.84756C5.68603 3.03125 5.59958 3.30964 5.55113 3.89306C5.54819 3.92849 5.54542 3.96454 5.5428 4.00126C4.95974 4.0039 4.46537 4.01207 4.03735 4.03737C4.08566 3.22021 4.19641 2.64492 4.45033 2.1561C4.82983 1.42553 5.42551 0.829848 6.15609 0.450346C7.02304 0 8.16202 0 10.44 0H13.56C15.8379 0 16.9769 0 17.8439 0.450346C18.5745 0.829848 19.1701 1.42553 19.5496 2.1561C20 3.02306 20 4.16204 20 6.44V10.56C20 12.838 20 13.9769 19.5496 14.8439C19.1701 15.5745 18.5745 16.1702 17.8439 16.5497C17.332 16.8156 16.7252 16.9245 15.8451 16.9691C15.9277 16.5549 15.9663 16.0664 15.9843 15.4582C16.026 15.4553 16.0669 15.4522 16.1069 15.4489C16.6903 15.4004 16.9687 15.3139 17.1524 15.2185C17.609 14.9813 17.9813 14.609 18.2185 14.1524C18.3139 13.9688 18.4004 13.6904 18.4488 13.1069C18.4988 12.5056 18.5 11.7242 18.5 10.56V6.44C18.5 5.27584 18.4988 4.49444 18.4488 3.89306C18.4004 3.30964 18.3139 3.03125 18.2185 2.84756C17.9813 2.39096 17.609 2.01866 17.1524 1.78147C16.9687 1.68605 16.6903 1.5996 16.1069 1.55115C15.5055 1.50121 14.7241 1.5 13.56 1.5Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.56 5.5H6.44C5.27584 5.5 4.49444 5.50121 3.89306 5.55115C3.30964 5.5996 3.03125 5.68605 2.84756 5.78147C2.39096 6.01866 2.01866 6.39096 1.78147 6.84756C1.68605 7.03125 1.5996 7.30964 1.55115 7.89306C1.50121 8.49444 1.5 9.27584 1.5 10.44V13.56C1.5 14.7242 1.50121 15.5056 1.55115 16.1069C1.5996 16.6904 1.68605 16.9688 1.78147 17.1524C2.01866 17.609 2.39096 17.9813 2.84756 18.2185C3.03125 18.3139 3.30964 18.4004 3.89306 18.4489C4.49444 18.4988 5.27584 18.5 6.44 18.5H9.56C10.7242 18.5 11.5056 18.4988 12.1069 18.4489C12.6904 18.4004 12.9688 18.3139 13.1524 18.2185C13.609 17.9813 13.9813 17.609 14.2185 17.1524C14.3139 16.9688 14.4004 16.6904 14.4489 16.1069C14.4988 15.5056 14.5 14.7242 14.5 13.56V10.44C14.5 9.27584 14.4988 8.49444 14.4489 7.89306C14.4004 7.30964 14.3139 7.03125 14.2185 6.84756C13.9813 6.39096 13.609 6.01866 13.1524 5.78147C12.9688 5.68605 12.6904 5.5996 12.1069 5.55115C11.5056 5.50121 10.7242 5.5 9.56 5.5ZM0.450346 6.1561C0 7.02306 0 8.16204 0 10.44V13.56C0 15.838 0 16.9769 0.450346 17.8439C0.829848 18.5745 1.42553 19.1702 2.1561 19.5497C3.02306 20 4.16204 20 6.44 20H9.56C11.838 20 12.9769 20 13.8439 19.5497C14.5745 19.1702 15.1702 18.5745 15.5497 17.8439C16 16.9769 16 15.838 16 13.56V10.44C16 8.16204 16 7.02306 15.5497 6.1561C15.1702 5.42553 14.5745 4.82985 13.8439 4.45035C12.9769 4 11.838 4 9.56 4H6.44C4.16204 4 3.02306 4 2.1561 4.45035C1.42553 4.82985 0.829848 5.42553 0.450346 6.1561Z' fill='black'/%3E%3C/svg%3E%0A\"":"\"data:image/svg+xml,%3Csvg width='15' height='20' viewBox='0 0 15 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 10.8571L5.01889 15.0969C5.45853 15.5606 6.21441 15.4987 6.5727 14.9696L14 4' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E%0A\"";return xe(DF||(DF=zF(["\n width: ",";\n\n -webkit-mask-image: url(",");\n -webkit-mask-size: cover;\n mask-image: url(",");\n mask-size: cover;\n "])),"copy"===e?"1.0666666667em":"0.8em",n,n)})),TextContent:Ue(uF.S.TextContent).withConfig({displayName:"TextContent",componentId:"-igmjyp"})(UF||(UF=zF(["\n padding: 0;\n "]))),ElementBarcode:e,BarcodeView:Ue.div.withConfig({displayName:"BarcodeView",componentId:"-1dr2lu2"})(GF||(GF=zF(["\n flex-grow: 1;\n position: relative;\n "]))),BarcodeViewInner:Ue.div.withConfig({displayName:"BarcodeViewInner",componentId:"-gt120q"})(QF||(QF=zF(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n\n svg {\n width: 100%;\n height: 100%;\n }\n "])))}}();function HF(t){return HF="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},HF(t)}function VF(t,e,n){return(e=function(t){var e=function(t){if("object"!=HF(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=HF(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==HF(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $F,WF,qF,JF=VF(VF(VF(VF(VF(VF(VF(VF(VF({},cT.UNKNOWN,(function(){return null})),cT.IMAGE,(function(t){var e=t.element,n=Boolean(e.getLink());return ot.createElement(VB.ImageElement,{element:e,onClick:function(){return n&&e.onClick()},hasLink:n},ot.createElement(VB.Image,{src:NL(e.getSrc()),alt:e.getAlt()}),ot.createElement(DB,{overlay:e.getOverlay()}))})),cT.VIDEO,(function(t){var e=t.element;return ot.createElement(eF.VideoElement,{element:e},ot.createElement(tF,{element:e}),ot.createElement(DB,{overlay:e.getOverlay()}))})),cT.TEXT,uF),cT.LINK,(function(t){var e=t.element;return ot.createElement(hF,{element:e})})),cT.SWIPEUP,(function(t){var e=t.element;return ot.createElement(hF,{element:e,childrenBehavior:"sibling"},ot.createElement(kF.Arrow,{element:e}))})),cT.COPY,(function(t){var e=t.element,n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return jF(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jF(t,e):void 0}}(t,e)||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.")}()}((0,ot.useState)(!1),2),r=n[0],o=n[1];ot.useLayoutEffect((function(){e.created()}),[]);var i=tl(e.$state),a=function(){o(e.onClick())},u=ot.createElement(PF.TextContentWrp,{element:e},e.getCopyIconVariant()>0&&ot.createElement(PF.Icon,{type:"copy"}),ot.createElement(PF.TextContent,null,e.copyTextContent)),c=ot.createElement(PF.TextContentWrp,{element:e},e.getCopyIconVariant()>0&&ot.createElement(PF.Icon,{type:"copied"}),ot.createElement(PF.TextContent,null,e.getCopiedText())),s=e.isPromotionalCode&&i===xL.INIT&&!e.isTransparentElement;return ot.createElement(hF,{element:e,onClick:a},ot.createElement(PF.CopyText,{element:e,copied:r,onClick:a,loader:s},u),ot.createElement(PF.CopiedTextWrp,{copied:r},ot.createElement(PF.CopiedText,{element:e,onClick:a},c)))})),cT.SHARE,(function(t){var e=t.element,n=(0,ot.useMemo)((function(){var t=!0;return function(){!1!==t&&(t=!1,function(t,e,n,r){new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,TF().mark((function n(){return TF().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.onClick();case 2:n.sent,t=!0;case 4:case"end":return n.stop()}}),n)}))))}}),[]);return ot.createElement(hF,{element:e,onClick:n,"data-element-id":e.getId()})})),cT.BARCODE,(function(t){var e=t.element;ot.useLayoutEffect((function(){e.created()}),[]);var n=ot.useRef(null);ot.useEffect((function(){if(n.current){var t=n.current.querySelector("svg path");null!=t&&t.setAttribute("fill","currentColor")}}));var r=tl(e.$state),o=function(){e.onClick()},i=ot.createElement(YF.TextContentWrp,{element:e},e.getCopyIconVariant()>0&&ot.createElement(YF.Icon,{type:"copy"}),ot.createElement(YF.TextContent,{element:e},e.copyTextContent)),a=e.isPromotionalCode&&r===xL.INIT&&!e.isTransparentElement;return ot.createElement(hF,{element:e,onClick:o},ot.createElement(YF.ElementBarcode,{element:e,onClick:o,loader:a},ot.createElement(YF.BarcodeView,null,ot.createElement(YF.BarcodeViewInner,{dangerouslySetInnerHTML:{__html:e.getBarcodeAsSvg()},ref:n})),i))})),KF=function(t){var e=t.element,n=t.onClick,r=JF[e.getType()];return ot.createElement(kB,{id:e.getId(),element:e,onClick:n},ot.createElement(r,{element:e}))};function XF(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var ZF,tN=Ue.div.withConfig({displayName:"SlideWrp",componentId:"-1fscizb"})($F||($F=XF(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n\n font-size: inherit;\n\n overflow: hidden;\n"]))),eN=Ue.div.withConfig({displayName:"SlideBackground",componentId:"-v1j20x"})(WF||(WF=XF(["\n position: absolute;\n width: 100%;\n height: 100%;\n overflow: hidden;\n\n ","\n"])),(function(t){return t.slide.getBackgroundColor().map((function(t){return"background: ".concat(t,";")}))})),nN=Ue.div.attrs((function(t){var e=t.size;return{style:{width:OB(e.width),height:OB(e.height),"--slide-width":OB(e.width),"--slide-height":OB(e.height)}}})).withConfig({displayName:"Slide",componentId:"-xpqdji"})(qF||(qF=XF(["\n position: relative;\n\n flex-shrink: 0;\n\n font-size: inherit;\n\n ","\n"])),(function(){return null})),rN=function(t){var e=t.slide,n=t.size,r=t.onElementClick,o=(0,ot.useMemo)((function(){var t=e.getElements(),n=e.getBackgroundMediaElement();return{elements:t,backgroundMediaElement:n,swipeupHandlers:function(){var n,r=e.findElementsByType(cT.SWIPEUP,t);if(0!==r.length)return(n={handlers:{onDragEnd:function(t){var e=t.coords.startPos.y-t.coords.currentPos.y;if(Math.abs(e)>50){var n=r[0];Wo.Ay.openUrl({url:n.getLink(),closeGameReader:!0})}}}},new Oi(n)).getEventHandlers()}()}}),[]),i=o.elements,a=o.backgroundMediaElement,u=o.swipeupHandlers,c=void 0===u?{}:u,s=a?ot.createElement(KF,{onClick:function(){},key:a.getId(),element:a}):null;return ot.createElement(tN,Object.assign({},c),ot.createElement(eN,{slide:e},s),ot.createElement(nN,{slide:e,size:n},i.map((function(t){return ot.createElement(KF,{onClick:function(){return r(t)},key:t.getId(),element:t})}))))};function oN(t){return oN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oN(t)}function iN(){iN=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),u=new I(r||[]);return o(a,"_invoke",{value:k(t,n,u)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function b(){}var w={};s(w,a,(function(){return this}));var A=Object.getPrototypeOf,x=A&&A(A(T([])));x&&x!==n&&r.call(x,a)&&(w=x);var E=b.prototype=g.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,i,a,u){var c=f(t[o],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==oN(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,u)}),(function(t){n("throw",t,a,u)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,u)}))}u(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function k(e,n,r){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=_(u,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=f(e,n,r);if("normal"===s.type){if(o=r.done?y:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=y,r.method="throw",r.arg=s.arg)}}}function _(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,_(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(oN(e)+" is not iterable")}return m.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},S(O.prototype),s(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),s(E,c,"Generator"),s(E,a,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}var aN,uN=function(t){var e=t.story,n=t.viewPortMetrics,r=t.verticalPadding,o=void 0===r?0:r,i=t.showToast,a=t.apiModeGetter,u=t.onElementClick,c=void 0===u?function(){}:u;UL(i),GL=a;var s=(0,ot.useMemo)((function(){var t=n.width,e=n.height,r=n.remCoeff,i=0,a=0;t/e>.5?a=2*(i=t):i=.5*(a=e);var u=i*BL,c=u*(1/FL),s=2*o*(void 0===r?1:r);return(u>t||c+s>e)&&(u>t?c=(u=t)*(1/FL):u=(c=e-s)*FL,a=2*(i=u*(1/BL))),{fontSize:i/20,slideSize:{width:i,height:a},viewSize:{width:t,height:e}}}),[n,o]),l=s.fontSize,f=s.slideSize,h=s.viewSize,p=(0,ot.useRef)(null);QL=function(t){return function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function u(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}c((r=r.apply(t,e||[])).next())}))}(void 0,void 0,void 0,iN().mark((function e(){var n;return iN().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,p.current){e.next=3;break}return e.abrupt("return",!1);case 3:return e.next=5,si(p.current,{width:h.width,height:h.height,fontSize:0},t);case 5:if(n=e.sent){e.next=8;break}return e.abrupt("return",!1);case 8:return e.abrupt("return",Wo.Ay.shareFiles(n));case 11:return e.prev=11,e.t0=e.catch(0),console.error(e.t0,e.t0.stack),e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[0,11]])})))},zL=function(t){return null==t.data&&(t.data={}),t.data.gameInstanceId=Wo.Ay.gameLaunchConfig.gameInstanceId,t.data.cardName=e.getModel().cardName,t};var d=e.getLastSlide();return ot.createElement(cN.Story,{fontSize:l,viewSize:h,ref:p},ot.createElement(rN,{slide:d,size:f,onElementClick:c}))},cN=(aN=Ue.div.attrs((function(t){var e=t.fontSize,n=t.viewSize;return{style:{fontSize:e>0?OB(e):"","--view-width":OB(n.width),"--view-height":OB(n.height)}}})).withConfig({displayName:"Story",componentId:"-105uwep"})(ZF||(ZF=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n "]))),{Story:aN}),sN=function(){return Wo.Ay.getIsDemoMode()?RL.DEMO:RL.DEFAULT};Ds({View:function(t){var e=t.storyModel,n=tl(vs.$viewPortMetrics);return ot.createElement(oT,{key:"StoryScreen",justifyContent:"center"},ot.createElement(uN,{story:JM(e),viewPortMetrics:n,verticalPadding:100,showToast:GE.$$showToast,apiModeGetter:sN}))},path:ZE.story.path}),Qj(Tj).run()}();