chayns-api 1.2.0-1 → 1.2.0-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ /*! For license information please see chayns-api.js.LICENSE.txt */
2
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ChaynsApi=t():e.ChaynsApi=t()}(self,(()=>(()=>{var __webpack_modules__={416:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function _define_property$3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}__webpack_require__.d(__webpack_exports__,{EW:()=>createLink,M8:()=>composeKeyWithSeparator,S5:()=>generateSnapshotFromManifest,ZK:()=>warn,kP:()=>isBrowserEnv,qN:()=>loadScriptNode,vM:()=>getResourceUrl,ve:()=>loadScript,xw:()=>isManifestProvider});var FederationModuleManifest="federation-manifest.json",MANIFEST_EXT=".json",BROWSER_LOG_KEY="FEDERATION_DEBUG",BROWSER_LOG_VALUE="1",NameTransformSymbol={AT:"@",HYPHEN:"-",SLASH:"/"},_obj,NameTransformMap=(_obj={},_define_property$3(_obj,NameTransformSymbol.AT,"scope_"),_define_property$3(_obj,NameTransformSymbol.HYPHEN,"_"),_define_property$3(_obj,NameTransformSymbol.SLASH,"__"),_obj),_obj1,EncodedNameTransformMap=(_obj1={},_define_property$3(_obj1,NameTransformMap[NameTransformSymbol.AT],NameTransformSymbol.AT),_define_property$3(_obj1,NameTransformMap[NameTransformSymbol.HYPHEN],NameTransformSymbol.HYPHEN),_define_property$3(_obj1,NameTransformMap[NameTransformSymbol.SLASH],NameTransformSymbol.SLASH),_obj1),SEPARATOR=":",ManifestFileName="mf-manifest.json",StatsFileName="mf-stats.json",MFModuleType={NPM:"npm",APP:"app"},MODULE_DEVTOOL_IDENTIFIER="__MF_DEVTOOLS_MODULE_INFO__",ContainerPlugin=Object.freeze({__proto__:null}),ContainerReferencePlugin=Object.freeze({__proto__:null}),ModuleFederationPlugin=Object.freeze({__proto__:null}),SharePlugin=Object.freeze({__proto__:null});function isBrowserEnv(){return"undefined"!=typeof window}function isDebugMode(){return"undefined"!=typeof process&&"MISSING_ENV_VAR".FEDERATION_DEBUG?Boolean("MISSING_ENV_VAR".FEDERATION_DEBUG):"undefined"!=typeof FEDERATION_DEBUG&&Boolean(FEDERATION_DEBUG)}var getProcessEnv=function(){return"undefined"!=typeof process?"MISSING_ENV_VAR":{}};function _array_like_to_array$2(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _array_without_holes(e){if(Array.isArray(e))return _array_like_to_array$2(e)}function _class_call_check(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _create_class(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _define_property$2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _iterable_to_array$1(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _non_iterable_spread(){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 _to_consumable_array(e){return _array_without_holes(e)||_iterable_to_array$1(e)||_unsupported_iterable_to_array$2(e)||_non_iterable_spread()}function _unsupported_iterable_to_array$2(e,t){if(e){if("string"==typeof e)return _array_like_to_array$2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_array_like_to_array$2(e,t):void 0}}function safeToString(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}var DEBUG_LOG="[ FEDERATION DEBUG ]";function safeGetLocalStorageItem(){try{if("undefined"!=typeof window&&window.localStorage)return localStorage.getItem(BROWSER_LOG_KEY)===BROWSER_LOG_VALUE}catch(e){return"undefined"!=typeof document}return!1}var Logger=function(){function e(t){_class_call_check(this,e),_define_property$2(this,"enable",!1),_define_property$2(this,"identifier",void 0),this.identifier=t||DEBUG_LOG,(isBrowserEnv()&&safeGetLocalStorageItem()||isDebugMode())&&(this.enable=!0)}return _create_class(e,[{key:"info",value:function(e,t){if(this.enable){var n=safeToString(t)||"";isBrowserEnv()?console.info("%c ".concat(this.identifier,": ").concat(e," ").concat(n),"color:#3300CC"):console.info("%s","".concat(this.identifier,": ").concat(e," ").concat(n?"\n".concat(n):""))}}},{key:"logOriginalInfo",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o;this.enable&&(isBrowserEnv()?(console.info("%c ".concat(this.identifier,": OriginalInfo"),"color:#3300CC"),(r=console).log.apply(r,_to_consumable_array(t))):(console.info("%c ".concat(this.identifier,": OriginalInfo"),"color:#3300CC"),(o=console).log.apply(o,_to_consumable_array(t))))}}]),e}();function _array_like_to_array$1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _array_with_holes$1(e){if(Array.isArray(e))return e}function _iterable_to_array(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _iterable_to_array_limit$1(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}function _non_iterable_rest$1(){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 _sliced_to_array$1(e,t){return _array_with_holes$1(e)||_iterable_to_array_limit$1(e,t)||_unsupported_iterable_to_array$1(e,t)||_non_iterable_rest$1()}function _to_array(e){return _array_with_holes$1(e)||_iterable_to_array(e)||_unsupported_iterable_to_array$1(e)||_non_iterable_rest$1()}function _unsupported_iterable_to_array$1(e,t){if(e){if("string"==typeof e)return _array_like_to_array$1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_array_like_to_array$1(e,t):void 0}}var LOG_CATEGORY="[ Federation Runtime ]",parseEntry=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SEPARATOR,r=e.split(n),o="development"===getProcessEnv().NODE_ENV&&t,i=function(e){return e.startsWith("http")||e.includes(MANIFEST_EXT)};if(r.length>=2){var a=_to_array(r),s=a[0],l=a.slice(1),u=o||l.join(n);return i(u)?{name:s,entry:u}:{name:s,version:u||"*"}}if(1===r.length){var c=_sliced_to_array$1(r,1)[0];return o&&i(o)?{name:c,entry:o}:{name:c,version:o||"*"}}throw"Invalid entry value: ".concat(e)},logger=new Logger,composeKeyWithSeparator=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length?t.reduce((function(e,t){return t?e?"".concat(e).concat(SEPARATOR).concat(t):t:e}),""):""},encodeName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{var r=n?".js":"";return"".concat(t).concat(e.replace(new RegExp("".concat(NameTransformSymbol.AT),"g"),NameTransformMap[NameTransformSymbol.AT]).replace(new RegExp("".concat(NameTransformSymbol.HYPHEN),"g"),NameTransformMap[NameTransformSymbol.HYPHEN]).replace(new RegExp("".concat(NameTransformSymbol.SLASH),"g"),NameTransformMap[NameTransformSymbol.SLASH])).concat(r)}catch(e){throw e}},decodeName=function(e,t,n){try{var r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(new RegExp(t,"g"),"")}return r=r.replace(new RegExp("".concat(NameTransformMap[NameTransformSymbol.AT]),"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.AT]]).replace(new RegExp("".concat(NameTransformMap[NameTransformSymbol.SLASH]),"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.SLASH]]).replace(new RegExp("".concat(NameTransformMap[NameTransformSymbol.HYPHEN]),"g"),EncodedNameTransformMap[NameTransformMap[NameTransformSymbol.HYPHEN]]),n&&(r=r.replace(".js","")),r}catch(e){throw e}},generateExposeFilename=function(e,t){if(!e)return"";var n=e;return"."===n&&(n="default_export"),n.startsWith("./")&&(n=n.replace("./","")),encodeName(n,"__federation_expose_",t)},generateShareFilename=function(e,t){return e?encodeName(e,"__federation_shared_",t):""},getResourceUrl=function(e,t){if("getPublicPath"in e){var n=new Function(e.getPublicPath)();return"".concat(n).concat(t)}return"publicPath"in e?"".concat(e.publicPath).concat(t):(console.warn("Can not get resource url, if in debug mode, please ignore",e,t),"")},assert=function(e,t){e||error(t)},error=function(e){throw new Error("".concat(LOG_CATEGORY,": ").concat(e))},warn=function(e){console.warn("".concat(LOG_CATEGORY,": ").concat(e))};function _define_property$1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _object_spread$1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_define_property$1(e,t,n[t])}))}return e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _object_spread_props(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var simpleJoinRemoteEntry=function(e,t){if(!e)return t;var n=function(e){if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){var t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e}(e);return n?n.endsWith("/")?"".concat(n).concat(t):"".concat(n,"/").concat(t):t};function inferAutoPublicPath(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function generateSnapshotFromManifest(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.remotes,a=void 0===i?{}:i,s=o.overrides,l=void 0===s?{}:s,u=o.version,c=function(){return"publicPath"in e.metaData?"auto"===e.metaData.publicPath&&u?inferAutoPublicPath(u):e.metaData.publicPath:e.metaData.getPublicPath},f=Object.keys(l),d={};Object.keys(a).length||(d=(null===(r=e.remotes)||void 0===r?void 0:r.reduce((function(e,t){var n,r=t.federationContainerName;return n=f.includes(r)?l[r]:"version"in t?t.version:t.entry,e[r]={matchedVersion:n},e}),{}))||{}),Object.keys(a).forEach((function(e){return d[e]={matchedVersion:f.includes(e)?l[e]:a[e]}}));var p=e.metaData,h=p.remoteEntry,m=h.path,v=h.name,g=h.type,y=p.types,b=p.buildInfo.buildVersion,w=p.globalName,E=e.exposes,_={version:u||"",buildVersion:b,globalName:w,remoteEntry:simpleJoinRemoteEntry(m,v),remoteEntryType:g,remoteTypes:simpleJoinRemoteEntry(y.path,y.name),remoteTypesZip:y.zip||"",remoteTypesAPI:y.api||"",remotesInfo:d,shared:null==e?void 0:e.shared.map((function(e){return{assets:e.assets,sharedName:e.name,version:e.version}})),modules:null==E?void 0:E.map((function(e){return{moduleName:e.name,modulePath:e.path,assets:e.assets}}))};if(null===(t=e.metaData)||void 0===t?void 0:t.prefetchInterface){var S=e.metaData.prefetchInterface;_=_object_spread_props(_object_spread$1({},_),{prefetchInterface:S})}if(null===(n=e.metaData)||void 0===n?void 0:n.prefetchEntry){var k=e.metaData.prefetchEntry,x=k.path,T=k.name,I=k.type;_=_object_spread_props(_object_spread$1({},_),{prefetchEntry:simpleJoinRemoteEntry(x,T),prefetchEntryType:I})}return"publicPath"in e.metaData?_object_spread_props(_object_spread$1({},_),{publicPath:c()}):_object_spread_props(_object_spread$1({},_),{getPublicPath:c()})}function isManifestProvider(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(MANIFEST_EXT))}function asyncGeneratorStep$1(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _async_to_generator$1(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){asyncGeneratorStep$1(i,r,o,a,s,"next",e)}function s(e){asyncGeneratorStep$1(i,r,o,a,s,"throw",e)}a(void 0)}))}}function _instanceof(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _ts_generator$1(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function safeWrapper(e,t){return _safeWrapper.apply(this,arguments)}function _safeWrapper(){return(_safeWrapper=_async_to_generator$1((function(e,t){var n;return _ts_generator$1(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e()];case 1:return[2,r.sent()];case 2:return n=r.sent(),!t&&warn(n),[2];case 3:return[2]}}))}))).apply(this,arguments)}function isStaticResourcesEqual(e,t){var n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function createScript(e,t,n,r){for(var o=null,i=!0,a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s],u=l.getAttribute("src");if(u&&isStaticResourcesEqual(u,e)){o=l,i=!1;break}}if(!o&&((o=document.createElement("script")).type="text/javascript",o.src=e,r)){var c=r(e);_instanceof(c,HTMLScriptElement)&&(o=c)}n&&Object.keys(n).forEach((function(e){o&&("async"===e||"defer"===e?o[e]=n[e]:o.setAttribute(e,n[e]))}));var f=function(e,n){if(o&&(o.onerror=null,o.onload=null,safeWrapper((function(){(null==o?void 0:o.parentNode)&&o.parentNode.removeChild(o)})),e)){var r=e(n);return t(),r}t()};return o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),{script:o,needAttach:i}}function createLink(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=null,i=!0,a=document.getElementsByTagName("link"),s=0;s<a.length;s++){var l=a[s],u=l.getAttribute("href"),c=l.getAttribute("ref");if(u&&isStaticResourcesEqual(u,e)&&c===n.ref){o=l,i=!1;break}}if(!o&&((o=document.createElement("link")).setAttribute("href",e),r)){var f=r(e);_instanceof(f,HTMLLinkElement)&&(o=f)}n&&Object.keys(n).forEach((function(e){o&&o.setAttribute(e,n[e])}));var d=function(e,n){if(o&&(o.onerror=null,o.onload=null,safeWrapper((function(){(null==o?void 0:o.parentNode)&&o.parentNode.removeChild(o)})),e)){var r=e(n);return t(),r}t()};return o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),{link:o,needAttach:i}}function loadScript(e,t){var n=t.attrs,r=t.createScriptHook;return new Promise((function(t,o){var i=createScript(e,t,n,r),a=i.script;i.needAttach&&document.getElementsByTagName("head")[0].appendChild(a)}))}function _array_like_to_array(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _array_with_holes(e){if(Array.isArray(e))return e}function asyncGeneratorStep(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _async_to_generator(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){asyncGeneratorStep(i,r,o,a,s,"next",e)}function s(e){asyncGeneratorStep(i,r,o,a,s,"throw",e)}a(void 0)}))}}function _iterable_to_array_limit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}function _non_iterable_rest(){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 _sliced_to_array(e,t){return _array_with_holes(e)||_iterable_to_array_limit(e,t)||_unsupported_iterable_to_array(e,t)||_non_iterable_rest()}function _unsupported_iterable_to_array(e,t){if(e){if("string"==typeof e)return _array_like_to_array(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_array_like_to_array(e,t):void 0}}function _ts_generator(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function importNodeModule(e){if(!e)throw new Error("import specifier is required");return new Function("name","return import(name)")(e).then((function(e){return e.default})).catch((function(t){throw console.error("Error importing module ".concat(e,":"),t),t}))}function createScriptNode(url,cb,attrs,createScriptHook){if(createScriptHook){var hookResult=createScriptHook(url);hookResult&&"object"==typeof hookResult&&"url"in hookResult&&(url=hookResult.url)}var urlObj;try{urlObj=new URL(url)}catch(e){return console.error("Error constructing URL:",e),void cb(new Error("Invalid URL: ".concat(e)))}var getFetch=(_ref=_async_to_generator((function(){var e;return _ts_generator(this,(function(t){switch(t.label){case 0:return"undefined"!=typeof fetch?[3,2]:[4,importNodeModule("node-fetch")];case 1:return[2,(null==(e=t.sent())?void 0:e.default)||e];case 2:return[2,fetch];case 3:return[2]}}))})),function(){return _ref.apply(this,arguments)}),_ref;console.log("fetching",urlObj.href),getFetch().then((function(f){f(urlObj.href).then((function(e){return e.text()})).then(function(){var _ref=_async_to_generator((function(data){var _ref,path,vm,scriptContext,urlDirname,filename,script,exportedInterface,container;return _ts_generator(this,(function(_state){switch(_state.label){case 0:return[4,Promise.all([importNodeModule("path"),importNodeModule("vm")])];case 1:_ref=_sliced_to_array.apply(void 0,[_state.sent(),2]),path=_ref[0],vm=_ref[1],scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname);try{if(script=new vm.Script("(function(exports, module, require, __dirname, __filename) {".concat(data,"\n})"),filename),script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename),exportedInterface=scriptContext.module.exports||scriptContext.exports,attrs&&exportedInterface&&attrs.globalName)return container=exportedInterface[attrs.globalName]||exportedInterface,cb(void 0,container),[2];cb(void 0,exportedInterface)}catch(e){cb(new Error("Script execution error: ".concat(e)))}return[2]}}))}));return function(e){return _ref.apply(this,arguments)}}()).catch((function(e){cb(e)}))}))}function loadScriptNode(e,t){return new Promise((function(n,r){createScriptNode(e,(function(e,o){if(e)r(e);else{var i,a,s=(null==t||null===(i=t.attrs)||void 0===i?void 0:i.globalName)||"__FEDERATION_".concat(null==t||null===(a=t.attrs)||void 0===a?void 0:a.name,":custom__"),l=globalThis[s]=o;n(l)}}),t.attrs,t.createScriptHook)}))}function _define_property(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _object_spread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_define_property(e,t,n[t])}))}return e}function _type_of(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function normalizeOptions(e,t,n){return function(r){if(!1===r)return!1;if(void 0===r)return!!e&&t;if(!0===r)return t;if(r&&"object"==typeof r)return _object_spread({},t,r);throw new Error("Unexpected type for `".concat(n,"`, expect boolean/undefined/object, got: ").concat(void 0===r?"undefined":_type_of(r)))}}},9662:(e,t,n)=>{"use strict";var r=n(614),o=n(6330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},9483:(e,t,n)=>{"use strict";var r=n(4411),o=n(6330),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a constructor")}},6077:(e,t,n)=>{"use strict";var r=n(614),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},1223:(e,t,n)=>{"use strict";var r=n(5112),o=n(30),i=n(3070).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},1530:(e,t,n)=>{"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:(e,t,n)=>{"use strict";var r=n(7976),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},9670:(e,t,n)=>{"use strict";var r=n(111),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},8457:(e,t,n)=>{"use strict";var r=n(9974),o=n(6916),i=n(7908),a=n(3411),s=n(7659),l=n(4411),u=n(6244),c=n(6135),f=n(4121),d=n(1246),p=Array;e.exports=function(e){var t=i(e),n=l(this),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m;v&&(m=r(m,h>2?arguments[2]:void 0));var g,y,b,w,E,_,S=d(t),k=0;if(!S||this===p&&s(S))for(g=u(t),y=n?new this(g):p(g);g>k;k++)_=v?m(t[k],k):t[k],c(y,k,_);else for(E=(w=f(t,S)).next,y=n?new this:[];!(b=o(E,w)).done;k++)_=v?a(w,m,[b.value,k],!0):b.value,c(y,k,_);return y.length=k,y}},1318:(e,t,n)=>{"use strict";var r=n(5656),o=n(1400),i=n(6244),a=function(e){return function(t,n,a){var s,l=r(t),u=i(l),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},1589:(e,t,n)=>{"use strict";var r=n(1400),o=n(6244),i=n(6135),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=o(e),u=r(t,l),c=r(void 0===n?l:n,l),f=a(s(c-u,0)),d=0;u<c;u++,d++)i(f,d,e[u]);return f.length=d,f}},4362:(e,t,n)=>{"use strict";var r=n(1589),o=Math.floor,i=function(e,t){var n=e.length,l=o(n/2);return n<8?a(e,t):s(e,i(r(e,0,l),t),i(r(e,l),t),t)},a=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var o=t.length,i=n.length,a=0,s=0;a<o||s<i;)e[a+s]=a<o&&s<i?r(t[a],n[s])<=0?t[a++]:n[s++]:a<o?t[a++]:n[s++];return e};e.exports=i},3411:(e,t,n)=>{"use strict";var r=n(9670),o=n(9212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},7072:(e,t,n)=>{"use strict";var r=n(5112)("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(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},4326:(e,t,n)=>{"use strict";var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,t,n)=>{"use strict";var r=n(1694),o=n(614),i=n(4326),a=n(5112)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},9920:(e,t,n)=>{"use strict";var r=n(2597),o=n(3887),i=n(1236),a=n(3070);e.exports=function(e,t,n){for(var s=o(t),l=a.f,u=i.f,c=0;c<s.length;c++){var f=s[c];r(e,f)||n&&r(n,f)||l(e,f,u(t,f))}}},8544:(e,t,n)=>{"use strict";var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6178:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},8880:(e,t,n)=>{"use strict";var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,n)=>{"use strict";var r=n(4948),o=n(3070),i=n(9114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},7045:(e,t,n)=>{"use strict";var r=n(6339),o=n(3070);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},8052:(e,t,n)=>{"use strict";var r=n(614),o=n(3070),i=n(6339),a=n(3072);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&i(n,u,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},9190:(e,t,n)=>{"use strict";var r=n(8052);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},3072:(e,t,n)=>{"use strict";var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},9781:(e,t,n)=>{"use strict";var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},317:(e,t,n)=>{"use strict";var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:e=>{"use strict";e.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}},8509:(e,t,n)=>{"use strict";var r=n(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},7871:(e,t,n)=>{"use strict";var r=n(3823),o=n(5268);e.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},3823:e=>{"use strict";e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},5268:(e,t,n)=>{"use strict";var r=n(4326);e.exports="undefined"!=typeof process&&"process"==r(process)},8113:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:(e,t,n)=>{"use strict";var r,o,i=n(7854),a=n(8113),s=i.process,l=i.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(o=(r=c.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]),e.exports=o},748:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,n)=>{"use strict";var r=n(7854),o=n(1236).f,i=n(8880),a=n(8052),s=n(3072),l=n(9920),u=n(4705);e.exports=function(e,t){var n,c,f,d,p,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(p=o(n,c))&&p.value:n[c],!u(m?c:h+(v?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(n,c,d,e)}}},7293:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,n)=>{"use strict";n(4916);var r=n(1470),o=n(8052),i=n(2261),a=n(7293),s=n(5112),l=n(8880),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,n,f){var d=s(e),p=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!h||n){var m=r(/./[d]),v=t(d,""[e],(function(e,t,n,o,a){var s=r(e),l=t.exec;return l===i||l===c.exec?p&&!a?{done:!0,value:m(t,n,o)}:{done:!0,value:s(n,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(c,d,v[1])}f&&l(c[d],"sham",!0)}},2104:(e,t,n)=>{"use strict";var r=n(4374),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},9974:(e,t,n)=>{"use strict";var r=n(1470),o=n(9662),i=n(4374),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,n)=>{"use strict";var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,n)=>{"use strict";var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:(e,t,n)=>{"use strict";var r=n(9781),o=n(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},5668:(e,t,n)=>{"use strict";var r=n(1702),o=n(9662);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},1470:(e,t,n)=>{"use strict";var r=n(4326),o=n(1702);e.exports=function(e){if("Function"===r(e))return o(e)}},1702:(e,t,n)=>{"use strict";var r=n(4374),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},5005:(e,t,n)=>{"use strict";var r=n(7854),o=n(614);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},1246:(e,t,n)=>{"use strict";var r=n(648),o=n(8173),i=n(8554),a=n(7497),s=n(5112)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},4121:(e,t,n)=>{"use strict";var r=n(6916),o=n(9662),i=n(9670),a=n(6330),s=n(1246),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw l(a(e)+" is not iterable")}},8173:(e,t,n)=>{"use strict";var r=n(9662),o=n(8554);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},647:(e,t,n)=>{"use strict";var r=n(1702),o=n(7908),i=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,m=c;return void 0!==f&&(f=o(f),m=u),s(d,m,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,p);case"<":u=f[l(s,1,-1)];break;default:var c=+s;if(0===c)return o;if(c>h){var d=i(c/10);return 0===d?o:d<=h?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):o}u=r[c-1]}return void 0===u?"":u}))}},7854:function(e,t,n){"use strict";var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},2597:(e,t,n)=>{"use strict";var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:e=>{"use strict";e.exports={}},490:(e,t,n)=>{"use strict";var r=n(5005);e.exports=r("document","documentElement")},4664:(e,t,n)=>{"use strict";var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,n)=>{"use strict";var r=n(1702),o=n(7293),i=n(4326),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},2788:(e,t,n)=>{"use strict";var r=n(1702),o=n(614),i=n(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9909:(e,t,n)=>{"use strict";var r,o,i,a=n(4811),s=n(7854),l=n(111),u=n(8880),c=n(2597),f=n(5465),d=n(6200),p=n(3501),h="Object already initialized",m=s.TypeError,v=s.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(e,t){if(g.has(e))throw m(h);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var y=d("state");p[y]=!0,r=function(e,t){if(c(e,y))throw m(h);return t.facade=e,u(e,y,t),t},o=function(e){return c(e,y)?e[y]:{}},i=function(e){return c(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},7659:(e,t,n)=>{"use strict";var r=n(5112),o=n(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},614:(e,t,n)=>{"use strict";var r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:(e,t,n)=>{"use strict";var r=n(1702),o=n(7293),i=n(614),a=n(648),s=n(5005),l=n(2788),u=function(){},c=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(u),m=function(e){if(!i(e))return!1;try{return f(u,c,e),!0}catch(e){return!1}},v=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,l(e))}catch(e){return!0}};v.sham=!0,e.exports=!f||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},4705:(e,t,n)=>{"use strict";var r=n(7293),o=n(614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==c||n!=u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},8554:e=>{"use strict";e.exports=function(e){return null==e}},111:(e,t,n)=>{"use strict";var r=n(614),o=n(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{"use strict";e.exports=!1},2190:(e,t,n)=>{"use strict";var r=n(5005),o=n(614),i=n(7976),a=n(3307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},408:(e,t,n)=>{"use strict";var r=n(9974),o=n(6916),i=n(9670),a=n(6330),s=n(7659),l=n(6244),u=n(7976),c=n(4121),f=n(1246),d=n(9212),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var v,g,y,b,w,E,_,S=n&&n.that,k=!(!n||!n.AS_ENTRIES),x=!(!n||!n.IS_RECORD),T=!(!n||!n.IS_ITERATOR),I=!(!n||!n.INTERRUPTED),O=r(t,S),L=function(e){return v&&d(v,"normal",e),new h(!0,e)},R=function(e){return k?(i(e),I?O(e[0],e[1],L):O(e[0],e[1])):I?O(e,L):O(e)};if(x)v=e.iterator;else if(T)v=e;else{if(!(g=f(e)))throw p(a(e)+" is not iterable");if(s(g)){for(y=0,b=l(e);b>y;y++)if((w=R(e[y]))&&u(m,w))return w;return new h(!1)}v=c(e,g)}for(E=x?e.next:v.next;!(_=o(E,v)).done;){try{w=R(_.value)}catch(e){d(v,"throw",e)}if("object"==typeof w&&w&&u(m,w))return w}return new h(!1)}},9212:(e,t,n)=>{"use strict";var r=n(6916),o=n(9670),i=n(8173);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},3061:(e,t,n)=>{"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),a=n(8003),s=n(7497),l=function(){return this};e.exports=function(e,t,n,u){var c=t+" Iterator";return e.prototype=o(r,{next:i(+!u,n)}),a(e,c,!1,!0),s[c]=l,e}},1656:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),i=n(1913),a=n(6530),s=n(614),l=n(3061),u=n(9518),c=n(7674),f=n(8003),d=n(8880),p=n(8052),h=n(5112),m=n(7497),v=n(3383),g=a.PROPER,y=a.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",S="values",k="entries",x=function(){return this};e.exports=function(e,t,n,a,h,v,T){l(n,t,a);var I,O,L,R=function(e){if(e===h&&$)return $;if(!w&&e in C)return C[e];switch(e){case _:case S:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},N=t+" Iterator",A=!1,C=e.prototype,P=C[E]||C["@@iterator"]||h&&C[h],$=!w&&P||R(h),D="Array"==t&&C.entries||P;if(D&&(I=u(D.call(new e)))!==Object.prototype&&I.next&&(i||u(I)===b||(c?c(I,b):s(I[E])||p(I,E,x)),f(I,N,!0,!0),i&&(m[N]=x)),g&&h==S&&P&&P.name!==S&&(!i&&y?d(C,"name",S):(A=!0,$=function(){return o(P,this)})),h)if(O={values:R(S),keys:v?$:R(_),entries:R(k)},T)for(L in O)(w||A||!(L in C))&&p(C,L,O[L]);else r({target:t,proto:!0,forced:w||A},O);return i&&!T||C[E]===$||p(C,E,$,{name:h}),m[t]=$,O}},3383:(e,t,n)=>{"use strict";var r,o,i,a=n(7293),s=n(614),l=n(111),u=n(30),c=n(9518),f=n(8052),d=n(5112),p=n(1913),h=d("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):m=!0),!l(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=u(r)),s(r[h])||f(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},7497:e=>{"use strict";e.exports={}},6244:(e,t,n)=>{"use strict";var r=n(7466);e.exports=function(e){return r(e.length)}},6339:(e,t,n)=>{"use strict";var r=n(1702),o=n(7293),i=n(614),a=n(2597),s=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),c=n(9909),f=c.enforce,d=c.get,p=String,h=Object.defineProperty,m=r("".slice),v=r("".replace),g=r([].join),y=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(p(t),0,7)&&(t="["+v(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return a(r,"source")||(r.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&d(this).source||u(this)}),"toString")},4758:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},8523:(e,t,n)=>{"use strict";var r=n(9662),o=TypeError,i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw o("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},1574:(e,t,n)=>{"use strict";var r=n(9781),o=n(1702),i=n(6916),a=n(7293),s=n(1956),l=n(5181),u=n(5296),c=n(7908),f=n(8361),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||s(d({},t)).join("")!=o}))?function(e,t){for(var n=c(e),o=arguments.length,a=1,d=l.f,p=u.f;o>a;)for(var m,v=f(arguments[a++]),g=d?h(s(v),d(v)):s(v),y=g.length,b=0;y>b;)m=g[b++],r&&!i(p,v,m)||(n[m]=v[m]);return n}:d},30:(e,t,n)=>{"use strict";var r,o=n(9670),i=n(6048),a=n(748),s=n(3501),l=n(490),u=n(317),c=n(6200),f="prototype",d="script",p=c("IE_PROTO"),h=function(){},m=function(e){return"<"+d+">"+e+"</"+d+">"},v=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;g="undefined"!=typeof document?document.domain&&r?v(r):(t=u("iframe"),n="java"+d+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):v(r);for(var o=a.length;o--;)delete g[f][a[o]];return g()};s[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[f]=o(e),n=new h,h[f]=null,n[p]=e):n=g(),void 0===t?n:i.f(n,t)}},6048:(e,t,n)=>{"use strict";var r=n(9781),o=n(3353),i=n(3070),a=n(9670),s=n(5656),l=n(1956);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),u=o.length,c=0;u>c;)i.f(e,n=o[c++],r[n]);return e}},3070:(e,t,n)=>{"use strict";var r=n(9781),o=n(4664),i=n(3353),a=n(9670),s=n(4948),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=c(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:(e,t,n)=>{"use strict";var r=n(9781),o=n(6916),i=n(5296),a=n(9114),s=n(5656),l=n(4948),u=n(2597),c=n(4664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=l(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},8006:(e,t,n)=>{"use strict";var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},9518:(e,t,n)=>{"use strict";var r=n(2597),o=n(614),i=n(7908),a=n(6200),s=n(8544),l=a("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?c:null}},7976:(e,t,n)=>{"use strict";var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:(e,t,n)=>{"use strict";var r=n(1702),o=n(2597),i=n(5656),a=n(1318).indexOf,s=n(3501),l=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,c=[];for(n in r)!o(s,n)&&o(r,n)&&l(c,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(c,n)||l(c,n));return c}},1956:(e,t,n)=>{"use strict";var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:(e,t,n)=>{"use strict";var r=n(5668),o=n(9670),i=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},2140:(e,t,n)=>{"use strict";var r=n(6916),o=n(614),i=n(111),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},3887:(e,t,n)=>{"use strict";var r=n(5005),o=n(1702),i=n(8006),a=n(5181),s=n(9670),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},2534:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},3702:(e,t,n)=>{"use strict";var r=n(7854),o=n(2492),i=n(614),a=n(4705),s=n(2788),l=n(5112),u=n(7871),c=n(3823),f=n(1913),d=n(7392),p=o&&o.prototype,h=l("species"),m=!1,v=i(r.PromiseRejectionEvent),g=a("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(m=n.then((function(){}))instanceof r))return!0}return!t&&(u||c)&&!v}));e.exports={CONSTRUCTOR:g,REJECTION_EVENT:v,SUBCLASSING:m}},2492:(e,t,n)=>{"use strict";var r=n(7854);e.exports=r.Promise},9478:(e,t,n)=>{"use strict";var r=n(9670),o=n(111),i=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},612:(e,t,n)=>{"use strict";var r=n(2492),o=n(7072),i=n(3702).CONSTRUCTOR;e.exports=i||!o((function(e){r.all(e).then(void 0,(function(){}))}))},7651:(e,t,n)=>{"use strict";var r=n(6916),o=n(9670),i=n(614),a=n(4326),s=n(2261),l=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var u=r(n,e,t);return null!==u&&o(u),u}if("RegExp"===a(e))return r(s,e,t);throw l("RegExp#exec called on incompatible receiver")}},2261:(e,t,n)=>{"use strict";var r,o,i=n(6916),a=n(1702),s=n(1340),l=n(7066),u=n(2999),c=n(2309),f=n(30),d=n(9909).get,p=n(9441),h=n(7168),m=c("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,g=v,y=a("".charAt),b=a("".indexOf),w=a("".replace),E=a("".slice),_=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),S=u.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(_||k||S||p||h)&&(g=function(e){var t,n,r,o,a,u,c,p=this,h=d(p),x=s(e),T=h.raw;if(T)return T.lastIndex=p.lastIndex,t=i(g,T,x),p.lastIndex=T.lastIndex,t;var I=h.groups,O=S&&p.sticky,L=i(l,p),R=p.source,N=0,A=x;if(O&&(L=w(L,"y",""),-1===b(L,"g")&&(L+="g"),A=E(x,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(x,p.lastIndex-1))&&(R="(?: "+R+")",A=" "+A,N++),n=new RegExp("^(?:"+R+")",L)),k&&(n=new RegExp("^"+R+"$(?!\\s)",L)),_&&(r=p.lastIndex),o=i(v,O?n:p,A),O?o?(o.input=E(o.input,N),o[0]=E(o[0],N),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:_&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),k&&o&&o.length>1&&i(m,o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&I)for(o.groups=u=f(null),a=0;a<I.length;a++)u[(c=I[a])[0]]=o[c[1]];return o}),e.exports=g},7066:(e,t,n)=>{"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},2999:(e,t,n)=>{"use strict";var r=n(7293),o=n(7854).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),s=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},9441:(e,t,n)=>{"use strict";var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,n)=>{"use strict";var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:(e,t,n)=>{"use strict";var r=n(8554),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},8003:(e,t,n)=>{"use strict";var r=n(3070).f,o=n(2597),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},6200:(e,t,n)=>{"use strict";var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:(e,t,n)=>{"use strict";var r=n(7854),o=n(3072),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2309:(e,t,n)=>{"use strict";var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:(e,t,n)=>{"use strict";var r=n(9670),o=n(9483),i=n(8554),a=n(5112)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||i(n=r(s)[a])?t:o(n)}},8710:(e,t,n)=>{"use strict";var r=n(1702),o=n(9303),i=n(1340),a=n(4488),s=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(e){return function(t,n){var r,c,f=i(a(t)),d=o(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=l(f,d))<55296||r>56319||d+1===p||(c=l(f,d+1))<56320||c>57343?e?s(f,d):r:e?u(f,d,d+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},3197:(e,t,n)=>{"use strict";var r=n(1702),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",l=RangeError,u=r(a.exec),c=Math.floor,f=String.fromCharCode,d=r("".charCodeAt),p=r([].join),h=r([].push),m=r("".replace),v=r("".split),g=r("".toLowerCase),y=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),r+=36;return c(r+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=d(e,n++);if(o>=55296&&o<=56319&&n<r){var i=d(e,n++);56320==(64512&i)?h(t,((1023&o)<<10)+(1023&i)+65536):(h(t,o),n--)}else h(t,o)}return t}(e);var n,r,i=e.length,a=128,u=0,m=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,f(r));var v=t.length,g=v;for(v&&h(t,"-");g<i;){var w=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<w&&(w=r);var E=g+1;if(w-a>c((o-u)/E))throw l(s);for(u+=(w-a)*E,a=w,n=0;n<e.length;n++){if((r=e[n])<a&&++u>o)throw l(s);if(r==a){for(var _=u,S=36;;){var k=S<=m?1:S>=m+26?26:S-m;if(_<k)break;var x=_-k,T=36-k;h(t,f(y(k+x%T))),_=c(x/T),S+=36}h(t,f(y(_))),m=b(u,E,g==v),u=0,g++}}u++,a++}return p(t,"")};e.exports=function(e){var t,n,r=[],o=v(m(g(e),a,"."),".");for(t=0;t<o.length;t++)n=o[t],h(r,u(i,n)?"xn--"+w(n):n);return p(r,".")}},6293:(e,t,n)=>{"use strict";var r=n(7392),o=n(7293),i=n(7854).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:(e,t,n)=>{"use strict";var r=n(9303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5656:(e,t,n)=>{"use strict";var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:(e,t,n)=>{"use strict";var r=n(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},7466:(e,t,n)=>{"use strict";var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:(e,t,n)=>{"use strict";var r=n(4488),o=Object;e.exports=function(e){return o(r(e))}},7593:(e,t,n)=>{"use strict";var r=n(6916),o=n(111),i=n(2190),a=n(8173),s=n(2140),l=n(5112),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,c);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4948:(e,t,n)=>{"use strict";var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:(e,t,n)=>{"use strict";var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:(e,t,n)=>{"use strict";var r=n(648),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},9711:(e,t,n)=>{"use strict";var r=n(1702),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},5143:(e,t,n)=>{"use strict";var r=n(7293),o=n(5112),i=n(9781),a=n(1913),s=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),a&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"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}))},3307:(e,t,n)=>{"use strict";var r=n(6293);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,n)=>{"use strict";var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},4811:(e,t,n)=>{"use strict";var r=n(7854),o=n(614),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},5112:(e,t,n)=>{"use strict";var r=n(7854),o=n(2309),i=n(2597),a=n(9711),s=n(6293),l=n(3307),u=r.Symbol,c=o("wks"),f=l?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(c[e]=s&&i(u,e)?u[e]:f("Symbol."+e)),c[e]}},6992:(e,t,n)=>{"use strict";var r=n(5656),o=n(1223),i=n(7497),a=n(9909),s=n(3070).f,l=n(1656),u=n(6178),c=n(1913),f=n(9781),d="Array Iterator",p=a.set,h=a.getterFor(d);e.exports=l(Array,"Array",(function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,u(void 0,!0)):u("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!c&&f&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},7922:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916),i=n(9662),a=n(8523),s=n(2534),l=n(408);r({target:"Promise",stat:!0,forced:n(612)},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,c=s((function(){var n=i(t.resolve),a=[],s=0,u=1;l(e,(function(e){var i=s++,l=!1;u++,o(n,t,e).then((function(e){l||(l=!0,a[i]={status:"fulfilled",value:e},--u||r(a))}),(function(e){l||(l=!0,a[i]={status:"rejected",reason:e},--u||r(a))}))})),--u||r(a)}));return c.error&&u(c.value),n.promise}})},7727:(e,t,n)=>{"use strict";var r=n(2109),o=n(1913),i=n(2492),a=n(7293),s=n(5005),l=n(614),u=n(6707),c=n(9478),f=n(8052),d=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),n=l(e);return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),!o&&l(i)){var p=s("Promise").prototype.finally;d.finally!==p&&f(d,"finally",p,{unsafe:!0})}},4916:(e,t,n)=>{"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8783:(e,t,n)=>{"use strict";var r=n(8710).charAt,o=n(1340),i=n(9909),a=n(1656),s=n(6178),l="String Iterator",u=i.set,c=i.getterFor(l);a(String,"String",(function(e){u(this,{type:l,string:o(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?s(void 0,!0):(e=r(n,o),t.index+=e.length,s(e,!1))}))},5306:(e,t,n)=>{"use strict";var r=n(2104),o=n(6916),i=n(1702),a=n(7007),s=n(7293),l=n(9670),u=n(614),c=n(8554),f=n(9303),d=n(7466),p=n(1340),h=n(4488),m=n(1530),v=n(8173),g=n(647),y=n(7651),b=n(5112)("replace"),w=Math.max,E=Math.min,_=i([].concat),S=i([].push),k=i("".indexOf),x=i("".slice),T="$0"==="a".replace(/./,"$0"),I=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,n){var i=I?"$":"$0";return[function(e,n){var r=h(this),i=c(e)?void 0:v(e,b);return i?o(i,e,r,n):o(t,p(r),e,n)},function(e,o){var a=l(this),s=p(e);if("string"==typeof o&&-1===k(o,i)&&-1===k(o,"$<")){var c=n(t,a,s,o);if(c.done)return c.value}var h=u(o);h||(o=p(o));var v=a.global;if(v){var b=a.unicode;a.lastIndex=0}for(var T=[];;){var I=y(a,s);if(null===I)break;if(S(T,I),!v)break;""===p(I[0])&&(a.lastIndex=m(s,d(a.lastIndex),b))}for(var O,L="",R=0,N=0;N<T.length;N++){for(var A=p((I=T[N])[0]),C=w(E(f(I.index),s.length),0),P=[],$=1;$<I.length;$++)S(P,void 0===(O=I[$])?O:String(O));var D=I.groups;if(h){var M=_([A],P,C,s);void 0!==D&&S(M,D);var j=p(r(o,void 0,M))}else j=g(A,s,C,P,D,o);C>=R&&(L+=x(s,R,C)+j,R=C+A.length)}return L+x(s,R)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!T||I)},7314:(e,t,n)=>{"use strict";n(7922)},3948:(e,t,n)=>{"use strict";var r=n(7854),o=n(8324),i=n(8509),a=n(6992),s=n(8880),l=n(5112),u=l("iterator"),c=l("toStringTag"),f=a.values,d=function(e,t){if(e){if(e[u]!==f)try{s(e,u,f)}catch(t){e[u]=f}if(e[c]||s(e,c,t),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var p in o)d(r[p]&&r[p].prototype,p);d(i,"DOMTokenList")},5556:(e,t,n)=>{"use strict";n(6992);var r=n(2109),o=n(7854),i=n(6916),a=n(1702),s=n(9781),l=n(5143),u=n(8052),c=n(7045),f=n(9190),d=n(8003),p=n(3061),h=n(9909),m=n(5787),v=n(614),g=n(2597),y=n(9974),b=n(648),w=n(9670),E=n(111),_=n(1340),S=n(30),k=n(9114),x=n(4121),T=n(1246),I=n(8053),O=n(5112),L=n(4362),R=O("iterator"),N="URLSearchParams",A=N+"Iterator",C=h.set,P=h.getterFor(N),$=h.getterFor(A),D=Object.getOwnPropertyDescriptor,M=function(e){if(!s)return o[e];var t=D(o,e);return t&&t.value},j=M("fetch"),F=M("Request"),U=M("Headers"),z=F&&F.prototype,H=U&&U.prototype,V=o.RegExp,G=o.TypeError,B=o.decodeURIComponent,W=o.encodeURIComponent,q=a("".charAt),Y=a([].join),X=a([].push),Q=a("".replace),K=a([].shift),J=a([].splice),Z=a("".split),ee=a("".slice),te=/\+/g,ne=Array(4),re=function(e){return ne[e-1]||(ne[e-1]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},oe=function(e){try{return B(e)}catch(t){return e}},ie=function(e){var t=Q(e,te," "),n=4;try{return B(t)}catch(e){for(;n;)t=Q(t,re(n--),oe);return t}},ae=/[!'()~]|%20/g,se={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},le=function(e){return se[e]},ue=function(e){return Q(W(e),ae,le)},ce=p((function(e,t){C(this,{type:A,iterator:x(P(e).entries),kind:t})}),"Iterator",(function(){var e=$(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(E(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===q(e,0)?ee(e,1):e:_(e)))};fe.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,a,s,l,u=T(e);if(u)for(n=(t=x(e,u)).next;!(r=i(n,t)).done;){if(a=(o=x(w(r.value))).next,(s=i(a,o)).done||(l=i(a,o)).done||!i(a,o).done)throw G("Expected sequence with length 2");X(this.entries,{key:_(s.value),value:_(l.value)})}else for(var c in e)g(e,c)&&X(this.entries,{key:c,value:_(e[c])})},parseQuery:function(e){if(e)for(var t,n,r=Z(e,"&"),o=0;o<r.length;)(t=r[o++]).length&&(n=Z(t,"="),X(this.entries,{key:ie(K(n)),value:ie(Y(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],X(n,ue(e.key)+"="+ue(e.value));return Y(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var de=function(){m(this,pe);var e=C(this,new fe(arguments.length>0?arguments[0]:void 0));s||(this.size=e.entries.length)},pe=de.prototype;if(f(pe,{append:function(e,t){var n=P(this);I(arguments.length,2),X(n.entries,{key:_(e),value:_(t)}),s||this.length++,n.updateURL()},delete:function(e){for(var t=P(this),n=I(arguments.length,1),r=t.entries,o=_(e),i=n<2?void 0:arguments[1],a=void 0===i?i:_(i),l=0;l<r.length;){var u=r[l];if(u.key!==o||void 0!==a&&u.value!==a)l++;else if(J(r,l,1),void 0!==a)break}s||(this.size=r.length),t.updateURL()},get:function(e){var t=P(this).entries;I(arguments.length,1);for(var n=_(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=P(this).entries;I(arguments.length,1);for(var n=_(e),r=[],o=0;o<t.length;o++)t[o].key===n&&X(r,t[o].value);return r},has:function(e){for(var t=P(this).entries,n=I(arguments.length,1),r=_(e),o=n<2?void 0:arguments[1],i=void 0===o?o:_(o),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var n=P(this);I(arguments.length,1);for(var r,o=n.entries,i=!1,a=_(e),l=_(t),u=0;u<o.length;u++)(r=o[u]).key===a&&(i?J(o,u--,1):(i=!0,r.value=l));i||X(o,{key:a,value:l}),s||(this.size=o.length),n.updateURL()},sort:function(){var e=P(this);L(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=P(this).entries,r=y(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),u(pe,R,pe.entries,{name:"entries"}),u(pe,"toString",(function(){return P(this).serialize()}),{enumerable:!0}),s&&c(pe,"size",{get:function(){return P(this).entries.length},configurable:!0,enumerable:!0}),d(de,N),r({global:!0,constructor:!0,forced:!l},{URLSearchParams:de}),!l&&v(U)){var he=a(H.has),me=a(H.set),ve=function(e){if(E(e)){var t,n=e.body;if(b(n)===N)return t=e.headers?new U(e.headers):new U,he(t,"content-type")||me(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(e,{body:k(0,_(n)),headers:k(0,t)})}return e};if(v(j)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return j(e,arguments.length>1?ve(arguments[1]):{})}}),v(F)){var ge=function(e){return m(this,z),new F(e,arguments.length>1?ve(arguments[1]):{})};z.constructor=ge,ge.prototype=z,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ge})}}e.exports={URLSearchParams:de,getState:P}},1637:(e,t,n)=>{"use strict";n(5556)},8789:(e,t,n)=>{"use strict";n(8783);var r,o=n(2109),i=n(9781),a=n(5143),s=n(7854),l=n(9974),u=n(1702),c=n(8052),f=n(7045),d=n(5787),p=n(2597),h=n(1574),m=n(8457),v=n(1589),g=n(8710).codeAt,y=n(3197),b=n(1340),w=n(8003),E=n(8053),_=n(5556),S=n(9909),k=S.set,x=S.getterFor("URL"),T=_.URLSearchParams,I=_.getState,O=s.URL,L=s.TypeError,R=s.parseInt,N=Math.floor,A=Math.pow,C=u("".charAt),P=u(/./.exec),$=u([].join),D=u(1..toString),M=u([].pop),j=u([].push),F=u("".replace),U=u([].shift),z=u("".split),H=u("".slice),V=u("".toLowerCase),G=u([].unshift),B="Invalid scheme",W="Invalid host",q="Invalid port",Y=/[a-z]/i,X=/[\d+-.a-z]/i,Q=/\d/,K=/^0x/i,J=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)G(t,e%256),e=N(e/256);return $(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=D(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},se={},le=h({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=h({},le,{"#":1,"?":1,"{":1,"}":1}),ce=h({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var n=g(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},pe=function(e,t){var n;return 2==e.length&&P(Y,C(e,0))&&(":"==(n=C(e,1))||!t&&"|"==n)},he=function(e){var t;return e.length>1&&pe(H(e,0,2))&&(2==e.length||"/"===(t=C(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===V(e)},ve={},ge={},ye={},be={},we={},Ee={},_e={},Se={},ke={},xe={},Te={},Ie={},Oe={},Le={},Re={},Ne={},Ae={},Ce={},Pe={},$e={},De={},Me=function(e,t,n){var r,o,i,a=b(e);if(t){if(o=this.parse(a))throw L(o);this.searchParams=null}else{if(void 0!==n&&(r=new Me(n,!0)),o=this.parse(a,null,r))throw L(o);(i=I(new T)).bindURL(this),this.searchParams=i}};Me.prototype={type:"URL",parse:function(e,t,n){var o,i,a,s,l,u=this,c=t||ve,f=0,d="",h=!1,g=!1,y=!1;for(e=b(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=F(e,re,""),e=F(e,oe,"$1")),e=F(e,ie,""),o=m(e);f<=o.length;){switch(i=o[f],c){case ve:if(!i||!P(Y,i)){if(t)return B;c=ye;continue}d+=V(i),c=ge;break;case ge:if(i&&(P(X,i)||"+"==i||"-"==i||"."==i))d+=V(i);else{if(":"!=i){if(t)return B;d="",c=ye,f=0;continue}if(t&&(u.isSpecial()!=p(de,d)||"file"==d&&(u.includesCredentials()||null!==u.port)||"file"==u.scheme&&!u.host))return;if(u.scheme=d,t)return void(u.isSpecial()&&de[u.scheme]==u.port&&(u.port=null));d="","file"==u.scheme?c=Le:u.isSpecial()&&n&&n.scheme==u.scheme?c=be:u.isSpecial()?c=Se:"/"==o[f+1]?(c=we,f++):(u.cannotBeABaseURL=!0,j(u.path,""),c=Pe)}break;case ye:if(!n||n.cannotBeABaseURL&&"#"!=i)return B;if(n.cannotBeABaseURL&&"#"==i){u.scheme=n.scheme,u.path=v(n.path),u.query=n.query,u.fragment="",u.cannotBeABaseURL=!0,c=De;break}c="file"==n.scheme?Le:Ee;continue;case be:if("/"!=i||"/"!=o[f+1]){c=Ee;continue}c=ke,f++;break;case we:if("/"==i){c=xe;break}c=Ce;continue;case Ee:if(u.scheme=n.scheme,i==r)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query;else if("/"==i||"\\"==i&&u.isSpecial())c=_e;else if("?"==i)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query="",c=$e;else{if("#"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.path.length--,c=Ce;continue}u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query,u.fragment="",c=De}break;case _e:if(!u.isSpecial()||"/"!=i&&"\\"!=i){if("/"!=i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,c=Ce;continue}c=xe}else c=ke;break;case Se:if(c=ke,"/"!=i||"/"!=C(d,f+1))continue;f++;break;case ke:if("/"!=i&&"\\"!=i){c=xe;continue}break;case xe:if("@"==i){h&&(d="%40"+d),h=!0,a=m(d);for(var w=0;w<a.length;w++){var E=a[w];if(":"!=E||y){var _=fe(E,ce);y?u.password+=_:u.username+=_}else y=!0}d=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()){if(h&&""==d)return"Invalid authority";f-=m(d).length+1,d="",c=Te}else d+=i;break;case Te:case Ie:if(t&&"file"==u.scheme){c=Ne;continue}if(":"!=i||g){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()){if(u.isSpecial()&&""==d)return W;if(t&&""==d&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(d))return s;if(d="",c=Ae,t)return;continue}"["==i?g=!0:"]"==i&&(g=!1),d+=i}else{if(""==d)return W;if(s=u.parseHost(d))return s;if(d="",c=Oe,t==Ie)return}break;case Oe:if(!P(Q,i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&u.isSpecial()||t){if(""!=d){var S=R(d,10);if(S>65535)return q;u.port=u.isSpecial()&&S===de[u.scheme]?null:S,d=""}if(t)return;c=Ae;continue}return q}d+=i;break;case Le:if(u.scheme="file","/"==i||"\\"==i)c=Re;else{if(!n||"file"!=n.scheme){c=Ce;continue}if(i==r)u.host=n.host,u.path=v(n.path),u.query=n.query;else if("?"==i)u.host=n.host,u.path=v(n.path),u.query="",c=$e;else{if("#"!=i){he($(v(o,f),""))||(u.host=n.host,u.path=v(n.path),u.shortenPath()),c=Ce;continue}u.host=n.host,u.path=v(n.path),u.query=n.query,u.fragment="",c=De}}break;case Re:if("/"==i||"\\"==i){c=Ne;break}n&&"file"==n.scheme&&!he($(v(o,f),""))&&(pe(n.path[0],!0)?j(u.path,n.path[0]):u.host=n.host),c=Ce;continue;case Ne:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!t&&pe(d))c=Ce;else if(""==d){if(u.host="",t)return;c=Ae}else{if(s=u.parseHost(d))return s;if("localhost"==u.host&&(u.host=""),t)return;d="",c=Ae}continue}d+=i;break;case Ae:if(u.isSpecial()){if(c=Ce,"/"!=i&&"\\"!=i)continue}else if(t||"?"!=i)if(t||"#"!=i){if(i!=r&&(c=Ce,"/"!=i))continue}else u.fragment="",c=De;else u.query="",c=$e;break;case Ce:if(i==r||"/"==i||"\\"==i&&u.isSpecial()||!t&&("?"==i||"#"==i)){if(".."===(l=V(l=d))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(u.shortenPath(),"/"==i||"\\"==i&&u.isSpecial()||j(u.path,"")):me(d)?"/"==i||"\\"==i&&u.isSpecial()||j(u.path,""):("file"==u.scheme&&!u.path.length&&pe(d)&&(u.host&&(u.host=""),d=C(d,0)+":"),j(u.path,d)),d="","file"==u.scheme&&(i==r||"?"==i||"#"==i))for(;u.path.length>1&&""===u.path[0];)U(u.path);"?"==i?(u.query="",c=$e):"#"==i&&(u.fragment="",c=De)}else d+=fe(i,ue);break;case Pe:"?"==i?(u.query="",c=$e):"#"==i?(u.fragment="",c=De):i!=r&&(u.path[0]+=fe(i,se));break;case $e:t||"#"!=i?i!=r&&("'"==i&&u.isSpecial()?u.query+="%27":u.query+="#"==i?"%23":fe(i,se)):(u.fragment="",c=De);break;case De:i!=r&&(u.fragment+=fe(i,le))}f++}},parseHost:function(e){var t,n,r;if("["==C(e,0)){if("]"!=C(e,e.length-1))return W;if(t=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,d=function(){return C(e,f)};if(":"==d()){if(":"!=C(e,1))return;f+=2,c=++u}for(;d();){if(8==u)return;if(":"!=d()){for(t=n=0;n<4&&P(ee,d());)t=16*t+R(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,u>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!P(Q,d()))return;for(;P(Q,d());){if(i=R(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}l[u]=256*l[u]+o,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;l[u++]=t}else{if(null!==c)return;f++,c=++u}}if(null!==c)for(a=u-c,u=7;0!=u&&a>0;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l}(H(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=y(e),P(te,e))return W;if(t=function(e){var t,n,r,o,i,a,s,l=z(e,".");if(l.length&&""==l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==C(o,0)&&(i=P(K,o)?16:8,o=H(o,8==i?1:2)),""===o)a=0;else{if(!P(10==i?Z:8==i?J:ee,o))return e;a=R(o,i)}j(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=A(256,5-t))return null}else if(a>255)return null;for(s=M(n),r=0;r<n.length;r++)s+=n[r]*A(256,3-r);return s}(e),null===t)return W;this.host=t}else{if(P(ne,e))return W;for(t="",n=m(e),r=0;r<n.length;r++)t+=fe(n[r],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(de,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&pe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,u=t+":";return null!==o?(u+="//",e.includesCredentials()&&(u+=n+(r?":"+r:"")+"@"),u+=ae(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+$(a,"/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},setHref:function(e){var t=this.parse(e);if(t)throw L(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new je(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=fe(t[n],ce)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=fe(t[n],ce)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ie)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=b(e))?this.port=null:this.parse(e,Oe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+$(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ae))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=b(e))?this.query=null:("?"==C(e,0)&&(e=H(e,1)),this.query="",this.parse(e,$e)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==C(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,De)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var je=function(e){var t=d(this,Fe),n=E(arguments.length,1)>1?arguments[1]:void 0,r=k(t,new Me(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Fe=je.prototype,Ue=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(f(Fe,"href",Ue("serialize","setHref")),f(Fe,"origin",Ue("getOrigin")),f(Fe,"protocol",Ue("getProtocol","setProtocol")),f(Fe,"username",Ue("getUsername","setUsername")),f(Fe,"password",Ue("getPassword","setPassword")),f(Fe,"host",Ue("getHost","setHost")),f(Fe,"hostname",Ue("getHostname","setHostname")),f(Fe,"port",Ue("getPort","setPort")),f(Fe,"pathname",Ue("getPathname","setPathname")),f(Fe,"search",Ue("getSearch","setSearch")),f(Fe,"searchParams",Ue("getSearchParams")),f(Fe,"hash",Ue("getHash","setHash"))),c(Fe,"toJSON",(function(){return x(this).serialize()}),{enumerable:!0}),c(Fe,"toString",(function(){return x(this).serialize()}),{enumerable:!0}),O){var ze=O.createObjectURL,He=O.revokeObjectURL;ze&&c(je,"createObjectURL",l(ze,O)),He&&c(je,"revokeObjectURL",l(He,O))}w(je,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:je})},285:(e,t,n)=>{"use strict";n(8789)},3753:(e,t,n)=>{"use strict";var r=n(2109),o=n(6916);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},4608:e=>{"use strict";var t={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},n=/[&><\u2028\u2029]/g;function r(e){return t[e]}e.exports=function(e){return JSON.stringify(e).replace(n,r)};var o={"\u2028":"\\u2028","\u2029":"\\u2029"},i=/[\u2028\u2029]/g;function a(e){return o[e]}e.exports.sanitize=function(e){return e.replace(i,a)}},3096:(e,t,n)=>{var r="Expected a function",o=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=f||d||Function("return this")(),h=Object.prototype.toString,m=Math.max,v=Math.min,g=function(){return p.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&h.call(e)==i}(e))return o;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?o:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return y(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),function(e,t,n){var o,i,a,s,l,u,c=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(r);function h(t){var n=o,r=i;return o=i=void 0,c=t,s=e.apply(r,n)}function w(e){var n=e-u;return void 0===u||n>=t||n<0||d&&e-c>=a}function E(){var e=g();if(w(e))return _(e);l=setTimeout(E,function(e){var n=t-(e-u);return d?v(n,a-(e-c)):n}(e))}function _(e){return l=void 0,p&&o?h(e):(o=i=void 0,s)}function S(){var e=g(),n=w(e);if(o=arguments,i=this,u=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(E,t),f?h(e):s}(u);if(d)return l=setTimeout(E,t),h(u)}return void 0===l&&(l=setTimeout(E,t)),s}return t=b(t)||0,y(n)&&(f=!!n.leading,a=(d="maxWait"in n)?m(b(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),S.cancel=function(){void 0!==l&&clearTimeout(l),c=0,o=u=i=l=void 0},S.flush=function(){return void 0===l?s:_(g())},S}(e,t,{leading:o,maxWait:t,trailing:i})}},9593:(e,t,n)=>{"use strict";const r=n(320),o=Symbol("max"),i=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),f=Symbol("lruList"),d=Symbol("cache"),p=Symbol("updateAgeOnGet"),h=()=>1,m=(e,t,n)=>{const r=e[d].get(t);if(r){const t=r.value;if(v(e,t)){if(y(e,r),!e[s])return}else n&&(e[p]&&(r.value.now=Date.now()),e[f].unshiftNode(r));return t.value}},v=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[l]&&n>e[l]},g=e=>{if(e[i]>e[o])for(let t=e[f].tail;e[i]>e[o]&&null!==t;){const n=t.prev;y(e,t),t=n}},y=(e,t)=>{if(t){const n=t.value;e[u]&&e[u](n.key,n.value),e[i]-=n.length,e[d].delete(n.key),e[f].removeNode(t)}};class b{constructor(e,t,n,r,o){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=o||0}}const w=(e,t,n,r)=>{let o=n.value;v(e,o)&&(y(e,n),e[s]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};e.exports=class{constructor(e){if("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[o]=e.max||1/0;const t=e.length||h;if(this[a]="function"!=typeof t?h:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,g(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[a]&&(this[a]=e,this[i]=0,this[f].forEach((e=>{e.length=this[a](e.value,e.key),this[i]+=e.length}))),g(this)}get lengthCalculator(){return this[a]}get length(){return this[i]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let n=this[f].tail;null!==n;){const r=n.prev;w(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[f].head;null!==n;){const r=n.next;w(this,e,n,t),n=r}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){this[u]&&this[f]&&this[f].length&&this[f].forEach((e=>this[u](e.key,e.value))),this[d]=new Map,this[f]=new r,this[i]=0}dump(){return this[f].map((e=>!v(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,n){if((n=n||this[l])&&"number"!=typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,s=this[a](t,e);if(this[d].has(e)){if(s>this[o])return y(this,this[d].get(e)),!1;const a=this[d].get(e).value;return this[u]&&(this[c]||this[u](e,a.value)),a.now=r,a.maxAge=n,a.value=t,this[i]+=s-a.length,a.length=s,this.get(e),g(this),!0}const p=new b(e,t,s,r,n);return p.length>this[o]?(this[u]&&this[u](e,t),!1):(this[i]+=p.length,this[f].unshift(p),this[d].set(e,this[f].head),g(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!v(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[f].tail;return e?(y(this,e),e.value):null}del(e){y(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],o=r.e||0;if(0===o)this.set(r.k,r.v);else{const e=o-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[d].forEach(((e,t)=>m(this,t,!1)))}}},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in i=Object(arguments[l]))n.call(i,u)&&(s[u]=i[u]);if(t){a=t(i);for(var c=0;c<a.length;c++)r.call(i,a[c])&&(s[a[c]]=i[a[c]])}}return s}},4448:(e,t,n)=>{"use strict";var r=n(7294),o=n(7418),i=n(4142);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=/^[: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]*$/,p=Object.prototype.hasOwnProperty,h={},m={};function v(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new v(e,2,!1,e,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(e){g[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0===o.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(m,e)||!p.call(h,e)&&(d.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,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(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new v(e,1,!1,e.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(e){g[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var E=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=60103,S=60106,k=60107,x=60108,T=60114,I=60109,O=60110,L=60112,R=60113,N=60120,A=60115,C=60116,P=60121,$=60128,D=60129,M=60130,j=60131;if("function"==typeof Symbol&&Symbol.for){var F=Symbol.for;_=F("react.element"),S=F("react.portal"),k=F("react.fragment"),x=F("react.strict_mode"),T=F("react.profiler"),I=F("react.provider"),O=F("react.context"),L=F("react.forward_ref"),R=F("react.suspense"),N=F("react.suspense_list"),A=F("react.memo"),C=F("react.lazy"),P=F("react.block"),F("react.scope"),$=F("react.opaque.id"),D=F("react.debug_trace_mode"),M=F("react.offscreen"),j=F("react.legacy_hidden")}var U,z="function"==typeof Symbol&&Symbol.iterator;function H(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}function V(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var G=!1;function B(e,t){if(!e||G)return"";G=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{G=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?V(e):""}function W(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return B(e.type,!1);case 11:return B(e.type.render,!1);case 22:return B(e.type._render,!1);case 1:return B(e.type,!0);default:return""}}function q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case T:return"Profiler";case x:return"StrictMode";case R:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case I:return(e._context.displayName||"Context")+".Provider";case L:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case A:return q(e.type);case P:return q(e._render);case C:t=e._payload,e=e._init;try{return q(e(t))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function X(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=X(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=X(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function J(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Y(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&J(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function ue(e,t){var n=Y(t.value),r=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function de(e){switch(e){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 pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?de(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,me,ve=(me=function(e,t){if(e.namespaceURI!==fe.svg||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!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},be=["Webkit","ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Ee(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=we(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ye).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var _e=o({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 Se(e,t){if(t){if(_e[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ke(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){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}}function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,Ie=null,Oe=null;function Le(e){if(e=no(e)){if("function"!=typeof Te)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),Te(e.stateNode,e.type,t))}}function Re(e){Ie?Oe?Oe.push(e):Oe=[e]:Ie=e}function Ne(){if(Ie){var e=Ie,t=Oe;if(Oe=Ie=null,Le(e),t)for(e=0;e<t.length;e++)Le(t[e])}}function Ae(e,t){return e(t)}function Ce(e,t,n,r,o){return e(t,n,r,o)}function Pe(){}var $e=Ae,De=!1,Me=!1;function je(){null===Ie&&null===Oe||(Pe(),Ne())}function Fe(e,t){var n=e.stateNode;if(null===n)return null;var r=oo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ue=!1;if(f)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(me){Ue=!1}function He(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Ve=!1,Ge=null,Be=!1,We=null,qe={onError:function(e){Ve=!0,Ge=e}};function Ye(e,t,n,r,o,i,a,s,l){Ve=!1,Ge=null,He.apply(qe,arguments)}function Xe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ke(e){if(Xe(e)!==e)throw Error(a(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Xe(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){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 Ke(o),e;if(i===r)return Ke(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)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?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Ze(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,ot=!1,it=[],at=null,st=null,lt=null,ut=new Map,ct=new Map,ft=[],dt="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 pt(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ct.delete(t.pointerId)}}function mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=pt(t,n,r,o,i),null!==t&&null!==(t=no(t))&&tt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function vt(e){var t=to(e.target);if(null!==t){var n=Xe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Qe(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=no(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){gt(e)&&n.delete(t)}function bt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=no(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&gt(at)&&(at=null),null!==st&&gt(st)&&(st=null),null!==lt&&gt(lt)&&(lt=null),ut.forEach(yt),ct.forEach(yt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,bt)))}function Et(e){function t(t){return wt(t,e)}if(0<it.length){wt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&wt(at,e),null!==st&&wt(st,e),null!==lt&&wt(lt,e),ut.forEach(t),ct.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)vt(n),null===n.blockedOn&&ft.shift()}function _t(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var St={animationend:_t("Animation","AnimationEnd"),animationiteration:_t("Animation","AnimationIteration"),animationstart:_t("Animation","AnimationStart"),transitionend:_t("Transition","TransitionEnd")},kt={},xt={};function Tt(e){if(kt[e])return kt[e];if(!St[e])return e;var t,n=St[e];for(t in n)if(n.hasOwnProperty(t)&&t in xt)return kt[e]=n[t];return e}f&&(xt=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var It=Tt("animationend"),Ot=Tt("animationiteration"),Lt=Tt("animationstart"),Rt=Tt("transitionend"),Nt=new Map,At=new Map,Ct=["abort","abort",It,"animationEnd",Ot,"animationIteration",Lt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Rt,"transitionEnd","waiting","waiting"];function Pt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),At.set(r,t),Nt.set(r,o),u(o,[r])}}(0,i.unstable_now)();var $t=8;function Dt(e){if(0!=(1&e))return $t=15,1;if(0!=(2&e))return $t=14,2;if(0!=(4&e))return $t=13,4;var t=24&e;return 0!==t?($t=12,t):0!=(32&e)?($t=11,32):0!=(t=192&e)?($t=10,t):0!=(256&e)?($t=9,256):0!=(t=3584&e)?($t=8,t):0!=(4096&e)?($t=7,4096):0!=(t=4186112&e)?($t=6,t):0!=(t=62914560&e)?($t=5,t):67108864&e?($t=4,67108864):0!=(134217728&e)?($t=3,134217728):0!=(t=805306368&e)?($t=2,t):0!=(1073741824&e)?($t=1,1073741824):($t=8,e)}function Mt(e,t){var n=e.pendingLanes;if(0===n)return $t=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==i)r=i,o=$t=15;else if(0!=(i=134217727&n)){var l=i&~a;0!==l?(r=Dt(l),o=$t):0!=(s&=i)&&(r=Dt(s),o=$t)}else 0!=(i=n&~a)?(r=Dt(i),o=$t):0!==s&&(r=Dt(s),o=$t);if(0===r)return 0;if(r=n&((0>(r=31-Vt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Dt(t),o<=$t)return t;$t=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Vt(t)),r|=e[n],t&=~o;return r}function jt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ft(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?Ft(10,t):e;case 10:return 0===(e=Ut(192&~t))?Ft(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&0===(e=Ut(4186112&~t))&&(e=512),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function Ut(e){return e&-e}function zt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ht(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Vt(t)]=n}var Vt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Gt(e)/Bt|0)|0},Gt=Math.log,Bt=Math.LN2,Wt=i.unstable_UserBlockingPriority,qt=i.unstable_runWithPriority,Yt=!0;function Xt(e,t,n,r){De||Pe();var o=Kt,i=De;De=!0;try{Ce(o,e,t,n,r)}finally{(De=i)||je()}}function Qt(e,t,n,r){qt(Wt,Kt.bind(null,e,t,n,r))}function Kt(e,t,n,r){var o;if(Yt)if((o=0==(4&t))&&0<it.length&&-1<dt.indexOf(e))e=pt(null,e,t,n,r),it.push(e);else{var i=Jt(e,t,n,r);if(null===i)o&&ht(e,r);else{if(o){if(-1<dt.indexOf(e))return e=pt(i,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return at=mt(at,e,t,n,r,o),!0;case"dragenter":return st=mt(st,e,t,n,r,o),!0;case"mouseover":return lt=mt(lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ut.set(i,mt(ut.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ct.set(i,mt(ct.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;ht(e,r)}Pr(e,t,r,null,n)}}}function Jt(e,t,n,r){var o=xe(r);if(null!==(o=to(o))){var i=Xe(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Qe(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Pr(e,t,r,o,n),null}var Zt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function sn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?on:an,this.isPropagationStopped=an,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var ln,un,cn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dn=sn(fn),pn=o({},fn,{view:0,detail:0}),hn=sn(pn),mn=o({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cn&&(cn&&"mousemove"===e.type?(ln=e.screenX-cn.screenX,un=e.screenY-cn.screenY):un=ln=0,cn=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:un}}),vn=sn(mn),gn=sn(o({},mn,{dataTransfer:0})),yn=sn(o({},pn,{relatedTarget:0})),bn=sn(o({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=o({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),En=sn(wn),_n=sn(o({},fn,{data:0})),Sn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={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"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function In(){return Tn}var On=o({},pn,{key:function(e){if(e.key){var t=Sn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ln=sn(On),Rn=sn(o({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=sn(o({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),An=sn(o({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Cn=o({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=sn(Cn),$n=[9,13,27,32],Dn=f&&"CompositionEvent"in window,Mn=null;f&&"documentMode"in document&&(Mn=document.documentMode);var jn=f&&"TextEvent"in window&&!Mn,Fn=f&&(!Dn||Mn&&8<Mn&&11>=Mn),Un=String.fromCharCode(32),zn=!1;function Hn(e,t){switch(e){case"keyup":return-1!==$n.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Gn=!1,Bn={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 Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function qn(e,t,n,r){Re(r),0<(t=Dr(t,"onChange")).length&&(n=new dn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Xn=null;function Qn(e){Or(e,0)}function Kn(e){if(K(ro(e)))return e}function Jn(e,t){if("change"===e)return t}var Zn=!1;if(f){var er;if(f){var tr="oninput"in document;if(!tr){var nr=document.createElement("div");nr.setAttribute("oninput","return;"),tr="function"==typeof nr.oninput}er=tr}else er=!1;Zn=er&&(!document.documentMode||9<document.documentMode)}function rr(){Yn&&(Yn.detachEvent("onpropertychange",or),Xn=Yn=null)}function or(e){if("value"===e.propertyName&&Kn(Xn)){var t=[];if(qn(t,Xn,e,xe(e)),e=Qn,De)e(t);else{De=!0;try{Ae(e,t)}finally{De=!1,je()}}}}function ir(e,t,n){"focusin"===e?(rr(),Xn=n,(Yn=t).attachEvent("onpropertychange",or)):"focusout"===e&&rr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Xn)}function sr(e,t){if("click"===e)return Kn(t)}function lr(e,t){if("input"===e||"change"===e)return Kn(t)}var ur="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},cr=Object.prototype.hasOwnProperty;function fr(e,t){if(ur(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!cr.call(t,n[r])||!ur(e[n[r]],t[n[r]]))return!1;return!0}function dr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pr(e,t){var n,r=dr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=dr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mr(){for(var e=window,t=J();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=J((e=t.contentWindow).document)}return t}function vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gr=f&&"documentMode"in document&&11>=document.documentMode,yr=null,br=null,wr=null,Er=!1;function _r(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Er||null==yr||yr!==J(r)||(r="selectionStart"in(r=yr)&&vr(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},wr&&fr(wr,r)||(wr=r,0<(r=Dr(br,"onSelect")).length&&(t=new dn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}Pt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Pt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Pt(Ct,2);for(var Sr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kr=0;kr<Sr.length;kr++)At.set(Sr[kr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Tr=new Set("cancel close invalid load scroll toggle".split(" ").concat(xr));function Ir(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,u){if(Ye.apply(this,arguments),Ve){if(!Ve)throw Error(a(198));var c=Ge;Ve=!1,Ge=null,Be||(Be=!0,We=c)}}(r,t,void 0,e),e.currentTarget=null}function Or(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,s,u),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Ir(o,s,u),i=l}}}if(Be)throw e=We,Be=!1,We=null,e}function Lr(e,t){var n=io(t),r=e+"__bubble";n.has(r)||(Cr(t,e,2,!1),n.add(r))}var Rr="_reactListening"+Math.random().toString(36).slice(2);function Nr(e){e[Rr]||(e[Rr]=!0,s.forEach((function(t){Tr.has(t)||Ar(t,!1,e,null),Ar(t,!0,e,null)})))}function Ar(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Tr.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=io(i),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),Cr(i,e,o,t),a.add(s))}function Cr(e,t,n,r){var o=At.get(t);switch(void 0===o?2:o){case 0:o=Xt;break;case 1:o=Qt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Pr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=to(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Me)return e();Me=!0;try{return $e(e,t,n)}finally{Me=!1,je()}}((function(){var r=i,o=xe(n),a=[];e:{var s=Nt.get(e);if(void 0!==s){var l=dn,u=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":l=Ln;break;case"focusin":u="focus",l=yn;break;case"focusout":u="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=vn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Nn;break;case It:case Ot:case Lt:l=bn;break;case Rt:l=An;break;case"scroll":l=hn;break;case"wheel":l=Pn;break;case"copy":case"cut":case"paste":l=En;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Rn}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&null!=(m=Fe(h,d))&&c.push($r(h,m,p))),f)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!to(u)&&!u[Zr])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?to(u):null)&&(u!==(f=Xe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=vn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Rn,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?s:ro(l),p=null==u?s:ro(u),(s=new c(m,h+"leave",l,n,o)).target=f,s.relatedTarget=p,m=null,to(o)===r&&((c=new c(d,h+"enter",u,n,o)).target=p,c.relatedTarget=f,m=c),f=m,l&&u)e:{for(d=u,h=0,p=c=l;p;p=Mr(p))h++;for(p=0,m=d;m;m=Mr(m))p++;for(;0<h-p;)c=Mr(c),h--;for(;0<p-h;)d=Mr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Mr(c),d=Mr(d)}c=null}else c=null;null!==l&&jr(a,s,l,c,!1),null!==u&&null!==f&&jr(a,f,u,c,!0)}if("select"===(l=(s=r?ro(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Jn;else if(Wn(s))if(Zn)v=lr;else{v=ar;var g=ir}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=sr);switch(v&&(v=v(e,r))?qn(a,v,n,o):(g&&g(e,s,r),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&oe(s,"number",s.value)),g=r?ro(r):window,e){case"focusin":(Wn(g)||"true"===g.contentEditable)&&(yr=g,br=r,wr=null);break;case"focusout":wr=br=yr=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,_r(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":_r(a,n,o)}var y;if(Dn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Gn?Hn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(Gn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Gn&&(y=nn()):(en="value"in(Zt=o)?Zt.value:Zt.textContent,Gn=!0)),0<(g=Dr(r,b)).length&&(b=new _n(b,e,null,n,o),a.push({event:b,listeners:g}),(y||null!==(y=Vn(n)))&&(b.data=y))),(y=jn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(zn=!0,Un);case"textInput":return(e=t.data)===Un&&zn?null:e;default:return null}}(e,n):function(e,t){if(Gn)return"compositionend"===e||!Dn&&Hn(e,t)?(e=nn(),tn=en=Zt=null,Gn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Dr(r,"onBeforeInput")).length&&(o=new _n("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y)}Or(a,t)}))}function $r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Fe(e,n))&&r.unshift($r(e,i,o)),null!=(i=Fe(e,t))&&r.push($r(e,i,o))),e=e.return}return r}function Mr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function jr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Fe(n,i))&&a.unshift($r(n,l,s)):o||null!=(l=Fe(n,i))&&a.push($r(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Fr(){}var Ur=null,zr=null;function Hr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Vr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Gr="function"==typeof setTimeout?setTimeout:void 0,Br="function"==typeof clearTimeout?clearTimeout:void 0;function Wr(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function qr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Xr=0,Qr=Math.random().toString(36).slice(2),Kr="__reactFiber$"+Qr,Jr="__reactProps$"+Qr,Zr="__reactContainer$"+Qr,eo="__reactEvents$"+Qr;function to(e){var t=e[Kr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Zr]||n[Kr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yr(e);null!==e;){if(n=e[Kr])return n;e=Yr(e)}return t}n=(e=n).parentNode}return null}function no(e){return!(e=e[Kr]||e[Zr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ro(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Jr]||null}function io(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],so=-1;function lo(e){return{current:e}}function uo(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function co(e,t){so++,ao[so]=e.current,e.current=t}var fo={},po=lo(fo),ho=lo(!1),mo=fo;function vo(e,t){var n=e.type.contextTypes;if(!n)return fo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function go(e){return null!=e.childContextTypes}function yo(){uo(ho),uo(po)}function bo(e,t,n){if(po.current!==fo)throw Error(a(168));co(po,t),co(ho,n)}function wo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,q(t)||"Unknown",i));return o({},n,r)}function Eo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fo,mo=po.current,co(po,e),co(ho,ho.current),!0}function _o(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=wo(e,t,mo),r.__reactInternalMemoizedMergedChildContext=e,uo(ho),uo(po),co(po,e)):uo(ho),co(ho,n)}var So=null,ko=null,xo=i.unstable_runWithPriority,To=i.unstable_scheduleCallback,Io=i.unstable_cancelCallback,Oo=i.unstable_shouldYield,Lo=i.unstable_requestPaint,Ro=i.unstable_now,No=i.unstable_getCurrentPriorityLevel,Ao=i.unstable_ImmediatePriority,Co=i.unstable_UserBlockingPriority,Po=i.unstable_NormalPriority,$o=i.unstable_LowPriority,Do=i.unstable_IdlePriority,Mo={},jo=void 0!==Lo?Lo:function(){},Fo=null,Uo=null,zo=!1,Ho=Ro(),Vo=1e4>Ho?Ro:function(){return Ro()-Ho};function Go(){switch(No()){case Ao:return 99;case Co:return 98;case Po:return 97;case $o:return 96;case Do:return 95;default:throw Error(a(332))}}function Bo(e){switch(e){case 99:return Ao;case 98:return Co;case 97:return Po;case 96:return $o;case 95:return Do;default:throw Error(a(332))}}function Wo(e,t){return e=Bo(e),xo(e,t)}function qo(e,t,n){return e=Bo(e),To(e,t,n)}function Yo(){if(null!==Uo){var e=Uo;Uo=null,Io(e)}Xo()}function Xo(){if(!zo&&null!==Fo){zo=!0;var e=0;try{var t=Fo;Wo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fo=null}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),To(Ao,Yo),t}finally{zo=!1}}}var Qo=E.ReactCurrentBatchConfig;function Ko(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Jo=lo(null),Zo=null,ei=null,ti=null;function ni(){ti=ei=Zo=null}function ri(e){var t=Jo.current;uo(Jo),e.type._context._currentValue=t}function oi(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ii(e,t){Zo=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Da=!0),e.firstContext=null)}function ai(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Zo)throw Error(a(308));ei=t,Zo.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var si=!1;function li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ci(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fi(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function di(e,t){var n=e.updateQueue,r=e.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=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pi(e,t,n,r){var i=e.updateQueue;si=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var u=l,c=u.next;u.next=null,null===s?a=c:s.next=c,s=u;var f=e.alternate;if(null!==f){var d=(f=f.updateQueue).lastBaseUpdate;d!==s&&(null===d?f.firstBaseUpdate=c:d.next=c,f.lastBaseUpdate=u)}}if(null!==a){for(d=i.baseState,s=0,f=c=u=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==f&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(l=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,l);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(l="function"==typeof(h=m.payload)?h.call(p,d,l):h))break e;d=o({},d,l);break e;case 2:si=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===f?(c=f=p,u=d):f=f.next=p,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===f&&(u=d),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=f,Fs|=s,e.lanes=s,e.memoizedState=d}}function hi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var mi=(new r.Component).refs;function vi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var gi={isMounted:function(e){return!!(e=e._reactInternals)&&Xe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=cl(),o=fl(e),i=ci(r,o);i.payload=t,null!=n&&(i.callback=n),fi(e,i),dl(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=cl(),o=fl(e),i=ci(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),fi(e,i),dl(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cl(),r=fl(e),o=ci(n,r);o.tag=2,null!=t&&(o.callback=t),fi(e,o),dl(e,r,n)}};function yi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&fr(n,r)&&fr(o,i))}function bi(e,t,n){var r=!1,o=fo,i=t.contextType;return"object"==typeof i&&null!==i?i=ai(i):(o=go(t)?mo:po.current,i=(r=null!=(r=t.contextTypes))?vo(e,o):fo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function wi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function Ei(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=mi,li(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ai(i):(i=go(t)?mo:po.current,o.context=vo(e,i)),pi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(vi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&gi.enqueueReplaceState(o,o.state,null),pi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var _i=Array.isArray;function Si(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===mi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function ki(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function xi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Gl(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Yl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Si(e,t,n),r.return=e,r):((r=Bl(n.type,n.key,n.props,null,e.mode,r)).ref=Si(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Wl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Yl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Bl(t.type,t.key,t.props,null,e.mode,n)).ref=Si(e,null,t),n.return=e,n;case S:return(t=Xl(t,e.mode,n)).return=e,t}if(_i(t)||H(t))return(t=Wl(t,e.mode,n,null)).return=e,t;ki(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===o?n.type===k?f(e,t,n.props.children,r,o):u(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null}if(_i(n)||H(n))return null!==o?null:f(e,t,n,r,null);ki(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return e=e.get(null===r.key?n:r.key)||null,r.type===k?f(t,e,r.props.children,o,r.key):u(t,e,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(_i(r)||H(r))return f(t,e=e.get(n)||null,r,o,null);ki(t,r)}return null}function m(o,a,s,l){for(var u=null,c=null,f=a,m=a=0,v=null;null!==f&&m<s.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var g=p(o,f,s[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,f=v}if(m===s.length)return n(o,f),u;if(null===f){for(;m<s.length;m++)null!==(f=d(o,s[m],l))&&(a=i(f,a,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(o,f);m<s.length;m++)null!==(v=h(f,o,m,s[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(o,e)})),u}function v(o,s,l,u){var c=H(l);if("function"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var f=c=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,v),null===f?c=b:f.sibling=b,f=b,m=g}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=d(o,y.value,u))&&(s=i(y,s,v),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(o,m);!y.done;v++,y=l.next())null!==(y=h(m,o,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=i(y,s,v),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(o,e)})),c}return function(e,r,i,l){var u="object"==typeof i&&null!==i&&i.type===k&&null===i.key;u&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case _:e:{for(c=i.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(i.type===k){n(e,u.sibling),(r=o(u,i.props.children)).return=e,e=r;break e}}else if(u.elementType===i.type){n(e,u.sibling),(r=o(u,i.props)).ref=Si(e,u,i),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===k?((r=Wl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Bl(i.type,i.key,i.props,null,e.mode,l)).ref=Si(e,r,i),l.return=e,e=l)}return s(e);case S:e:{for(u=i.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xl(i,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Yl(i,e.mode,l)).return=e,e=r),s(e);if(_i(i))return m(e,r,i,l);if(H(i))return v(e,r,i,l);if(c&&ki(e,i),void 0===i&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,q(e.type)||"Component"))}return n(e,r)}}var Ti=xi(!0),Ii=xi(!1),Oi={},Li=lo(Oi),Ri=lo(Oi),Ni=lo(Oi);function Ai(e){if(e===Oi)throw Error(a(174));return e}function Ci(e,t){switch(co(Ni,t),co(Ri,e),co(Li,Oi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(Li),co(Li,t)}function Pi(){uo(Li),uo(Ri),uo(Ni)}function $i(e){Ai(Ni.current);var t=Ai(Li.current),n=pe(t,e.type);t!==n&&(co(Ri,e),co(Li,n))}function Di(e){Ri.current===e&&(uo(Li),uo(Ri))}var Mi=lo(0);function ji(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fi=null,Ui=null,zi=!1;function Hi(e,t){var n=Hl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Vi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Gi(e){if(zi){var t=Ui;if(t){var n=t;if(!Vi(e,t)){if(!(t=qr(n.nextSibling))||!Vi(e,t))return e.flags=-1025&e.flags|2,zi=!1,void(Fi=e);Hi(Fi,n)}Fi=e,Ui=qr(t.firstChild)}else e.flags=-1025&e.flags|2,zi=!1,Fi=e}}function Bi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fi=e}function Wi(e){if(e!==Fi)return!1;if(!zi)return Bi(e),zi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Vr(t,e.memoizedProps))for(t=Ui;t;)Hi(e,t),t=qr(t.nextSibling);if(Bi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ui=qr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ui=null}}else Ui=Fi?qr(e.stateNode.nextSibling):null;return!0}function qi(){Ui=Fi=null,zi=!1}var Yi=[];function Xi(){for(var e=0;e<Yi.length;e++)Yi[e]._workInProgressVersionPrimary=null;Yi.length=0}var Qi=E.ReactCurrentDispatcher,Ki=E.ReactCurrentBatchConfig,Ji=0,Zi=null,ea=null,ta=null,na=!1,ra=!1;function oa(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function aa(e,t,n,r,o,i){if(Ji=i,Zi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qi.current=null===e||null===e.memoizedState?Aa:Ca,e=n(r,o),ra){i=0;do{if(ra=!1,!(25>i))throw Error(a(301));i+=1,ta=ea=null,t.updateQueue=null,Qi.current=Pa,e=n(r,o)}while(ra)}if(Qi.current=Na,t=null!==ea&&null!==ea.next,Ji=0,ta=ea=Zi=null,na=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Zi.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Zi.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Zi.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Zi.memoizedState=ta=e:ta=ta.next=e}return ta}function ua(e,t){return"function"==typeof t?t(e):t}function ca(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ea,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=s=i=null,u=o;do{var c=u.lane;if((Ji&c)===c)null!==l&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=f,i=r):l=l.next=f,Zi.lanes|=c,Fs|=c}u=u.next}while(null!==u&&u!==o);null===l?i=r:l.next=s,ur(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fa(e){var t=la(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);ur(i,t.memoizedState)||(Da=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function da(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ji&e)===e)&&(t._workInProgressVersionPrimary=r,Yi.push(t))),e)return n(t._source);throw Yi.push(t),Error(a(350))}function pa(e,t,n,r){var o=Ns;if(null===o)throw Error(a(349));var i=t._getVersion,s=i(t._source),l=Qi.current,u=l.useState((function(){return da(o,t,n)})),c=u[1],f=u[0];u=ta;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,m=d.source;d=d.subscribe;var v=Zi;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=i(t._source);if(!ur(s,e)){e=n(t._source),ur(f,e)||(c(e),e=fl(v),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var l=31-Vt(a),u=1<<l;r[l]|=e,a&=~u}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=fl(v);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),ur(h,n)&&ur(m,t)&&ur(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:f}).dispatch=c=Ra.bind(null,Zi,e),u.queue=e,u.baseQueue=null,f=da(o,t,n),u.memoizedState=u.baseState=f),f}function ha(e,t,n){return pa(la(),e,t,n)}function ma(e){var t=sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e}).dispatch=Ra.bind(null,Zi,e),[t.memoizedState,e]}function va(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Zi.updateQueue)?(t={lastEffect:null},Zi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ga(e){return e={current:e},sa().memoizedState=e}function ya(){return la().memoizedState}function ba(e,t,n,r){var o=sa();Zi.flags|=e,o.memoizedState=va(1|t,n,void 0,void 0===r?null:r)}function wa(e,t,n,r){var o=la();r=void 0===r?null:r;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==r&&ia(r,a.deps))return void va(t,n,i,r)}Zi.flags|=e,o.memoizedState=va(1|t,n,i,r)}function Ea(e,t){return ba(516,4,e,t)}function _a(e,t){return wa(516,4,e,t)}function Sa(e,t){return wa(4,2,e,t)}function ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function xa(e,t,n){return n=null!=n?n.concat([e]):null,wa(4,2,ka.bind(null,t,e),n)}function Ta(){}function Ia(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Oa(e,t){var n=la();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ia(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function La(e,t){var n=Go();Wo(98>n?98:n,(function(){e(!0)})),Wo(97<n?97:n,(function(){var n=Ki.transition;Ki.transition=1;try{e(!1),t()}finally{Ki.transition=n}}))}function Ra(e,t,n){var r=cl(),o=fl(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Zi||null!==a&&a===Zi)ra=na=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(i.eagerReducer=a,i.eagerState=l,ur(l,s))return}catch(e){}dl(e,o,r)}}var Na={readContext:ai,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Aa={readContext:ai,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:Ea,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ba(4,2,ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ba(4,2,e,t)},useMemo:function(e,t){var n=sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ra.bind(null,Zi,e),[r.memoizedState,e]},useRef:ga,useState:ma,useDebugValue:Ta,useDeferredValue:function(e){var t=ma(e),n=t[0],r=t[1];return Ea((function(){var t=Ki.transition;Ki.transition=1;try{r(e)}finally{Ki.transition=t}}),[e]),n},useTransition:function(){var e=ma(!1),t=e[0];return ga(e=La.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=sa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},pa(r,e,t,n)},useOpaqueIdentifier:function(){if(zi){var e=!1,t=function(e){return{$$typeof:$,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Xr++).toString(36))),Error(a(355))})),n=ma(t)[1];return 0==(2&Zi.mode)&&(Zi.flags|=516,va(5,(function(){n("r:"+(Xr++).toString(36))}),void 0,null)),t}return ma(t="r:"+(Xr++).toString(36)),t},unstable_isNewReconciler:!1},Ca={readContext:ai,useCallback:Ia,useContext:ai,useEffect:_a,useImperativeHandle:xa,useLayoutEffect:Sa,useMemo:Oa,useReducer:ca,useRef:ya,useState:function(){return ca(ua)},useDebugValue:Ta,useDeferredValue:function(e){var t=ca(ua),n=t[0],r=t[1];return _a((function(){var t=Ki.transition;Ki.transition=1;try{r(e)}finally{Ki.transition=t}}),[e]),n},useTransition:function(){var e=ca(ua)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return ca(ua)[0]},unstable_isNewReconciler:!1},Pa={readContext:ai,useCallback:Ia,useContext:ai,useEffect:_a,useImperativeHandle:xa,useLayoutEffect:Sa,useMemo:Oa,useReducer:fa,useRef:ya,useState:function(){return fa(ua)},useDebugValue:Ta,useDeferredValue:function(e){var t=fa(ua),n=t[0],r=t[1];return _a((function(){var t=Ki.transition;Ki.transition=1;try{r(e)}finally{Ki.transition=t}}),[e]),n},useTransition:function(){var e=fa(ua)[0];return[ya().current,e]},useMutableSource:ha,useOpaqueIdentifier:function(){return fa(ua)[0]},unstable_isNewReconciler:!1},$a=E.ReactCurrentOwner,Da=!1;function Ma(e,t,n,r){t.child=null===e?Ii(t,null,n,r):Ti(t,e.child,n,r)}function ja(e,t,n,r,o){n=n.render;var i=t.ref;return ii(t,o),r=aa(e,t,n,r,i,o),null===e||Da?(t.flags|=1,Ma(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rs(e,t,o))}function Fa(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Vl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Bl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ua(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:fr)(o,r)&&e.ref===t.ref)?rs(e,t,i):(t.flags|=1,(e=Gl(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ua(e,t,n,r,o,i){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(Da=!1,0==(i&o))return t.lanes=e.lanes,rs(e,t,i);0!=(16384&e.flags)&&(Da=!0)}return Va(e,t,n,r,i)}function za(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},wl(0,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},wl(0,e),null;t.memoizedState={baseLanes:0},wl(0,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,wl(0,r);return Ma(e,t,o,n),t.child}function Ha(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Va(e,t,n,r,o){var i=go(n)?mo:po.current;return i=vo(t,i),ii(t,o),n=aa(e,t,n,r,i,o),null===e||Da?(t.flags|=1,Ma(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,rs(e,t,o))}function Ga(e,t,n,r,o){if(go(n)){var i=!0;Eo(t)}else i=!1;if(ii(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),bi(t,n,r),Ei(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;u="object"==typeof u&&null!==u?ai(u):vo(t,u=go(n)?mo:po.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&wi(t,a,r,u),si=!1;var d=t.memoizedState;a.state=d,pi(t,r,a,o),l=t.memoizedState,s!==r||d!==l||ho.current||si?("function"==typeof c&&(vi(t,n,c,r),l=t.memoizedState),(s=si||yi(t,n,s,r,d,l,u))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ui(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ko(t.type,s),a.props=u,f=t.pendingProps,d=a.context,l="object"==typeof(l=n.contextType)&&null!==l?ai(l):vo(t,l=go(n)?mo:po.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==f||d!==l)&&wi(t,a,r,l),si=!1,d=t.memoizedState,a.state=d,pi(t,r,a,o);var h=t.memoizedState;s!==f||d!==h||ho.current||si?("function"==typeof p&&(vi(t,n,p,r),h=t.memoizedState),(u=si||yi(t,n,u,r,d,h,l))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Ba(e,t,n,r,i,o)}function Ba(e,t,n,r,o,i){Ha(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&_o(t,n,!1),rs(e,t,i);r=t.stateNode,$a.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Ti(t,e.child,null,i),t.child=Ti(t,null,s,i)):Ma(e,t,s,i),t.memoizedState=r.state,o&&_o(t,n,!0),t.child}function Wa(e){var t=e.stateNode;t.pendingContext?bo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&bo(0,t.context,!1),Ci(e,t.containerInfo)}var qa,Ya,Xa,Qa,Ka={dehydrated:null,retryLane:0};function Ja(e,t,n){var r,o=t.pendingProps,i=Mi.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),co(Mi,1&i),null===e?(void 0!==o.fallback&&Gi(t),e=o.children,i=o.fallback,a?(e=Za(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ka,e):"number"==typeof o.unstable_expectedLoadTime?(e=Za(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Ka,t.lanes=33554432,e):((n=ql({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=function(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Gl(a,s),null!==e?r=Gl(e,r):(r=Wl(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Ka,o):(n=function(e,t,n,r){var o=e.child;return e=o.sibling,n=Gl(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,o.children,n),t.memoizedState=null,n))}function Za(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=ql(t,o,0,null),n=Wl(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function es(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),oi(e.return,t)}function ts(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function ns(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ma(e,t,r.children,n),0!=(2&(r=Mi.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&es(e,n);else if(19===e.tag)es(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Mi,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ji(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ts(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ji(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ts(t,!0,n,null,i,t.lastEffect);break;case"together":ts(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function rs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Gl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Gl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function os(e,t){if(!zi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function is(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return go(t.type)&&yo(),null;case 3:return Pi(),uo(ho),uo(po),Xi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Wi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Ya(t),null;case 5:Di(t);var i=Ai(Ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Xa(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ai(Li.current),Wi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Kr]=t,r[Jr]=s,n){case"dialog":Lr("cancel",r),Lr("close",r);break;case"iframe":case"object":case"embed":Lr("load",r);break;case"video":case"audio":for(e=0;e<xr.length;e++)Lr(xr[e],r);break;case"source":Lr("error",r);break;case"img":case"image":case"link":Lr("error",r),Lr("load",r);break;case"details":Lr("toggle",r);break;case"input":ee(r,s),Lr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Lr("invalid",r);break;case"textarea":le(r,s),Lr("invalid",r)}for(var u in Se(n,s),e=null,s)s.hasOwnProperty(u)&&(i=s[u],"children"===u?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(u)&&null!=i&&"onScroll"===u&&Lr("scroll",r));switch(n){case"input":Q(r),re(r,s,!0);break;case"textarea":Q(r),ce(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Fr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(u=9===i.nodeType?i:i.ownerDocument,e===fe.html&&(e=de(n)),e===fe.html?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[Kr]=t,e[Jr]=r,qa(e,t,!1,!1),t.stateNode=e,u=ke(n,r),n){case"dialog":Lr("cancel",e),Lr("close",e),i=r;break;case"iframe":case"object":case"embed":Lr("load",e),i=r;break;case"video":case"audio":for(i=0;i<xr.length;i++)Lr(xr[i],e);i=r;break;case"source":Lr("error",e),i=r;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),i=r;break;case"details":Lr("toggle",e),i=r;break;case"input":ee(e,r),i=Z(e,r),Lr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Lr("invalid",e);break;case"textarea":le(e,r),i=se(e,r),Lr("invalid",e);break;default:i=r}Se(n,i);var c=i;for(s in c)if(c.hasOwnProperty(s)){var f=c[s];"style"===s?Ee(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&ve(e,f):"children"===s?"string"==typeof f?("textarea"!==n||""!==f)&&ge(e,f):"number"==typeof f&&ge(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=f&&"onScroll"===s&&Lr("scroll",e):null!=f&&w(e,s,f,u))}switch(n){case"input":Q(e),re(e,r,!1);break;case"textarea":Q(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Y(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Fr)}Hr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Qa(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Ai(Ni.current),Ai(Li.current),Wi(t)?(r=t.stateNode,n=t.memoizedProps,r[Kr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Kr]=t,t.stateNode=r)}return null;case 13:return uo(Mi),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Wi(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Mi.current)?0===Ds&&(Ds=3):(0!==Ds&&3!==Ds||(Ds=4),null===Ns||0==(134217727&Fs)&&0==(134217727&Us)||vl(Ns,Cs))),(r||n)&&(t.flags|=4),null);case 4:return Pi(),Ya(t),null===e&&Nr(t.stateNode.containerInfo),null;case 10:return ri(t),null;case 19:if(uo(Mi),null===(r=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(u=r.rendering))if(s)os(r,!1);else{if(0!==Ds||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(u=ji(e))){for(t.flags|=64,os(r,!1),null!==(s=u.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(u=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=u.childLanes,s.lanes=u.lanes,s.child=u.child,s.memoizedProps=u.memoizedProps,s.memoizedState=u.memoizedState,s.updateQueue=u.updateQueue,s.type=u.type,e=u.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return co(Mi,1&Mi.current|2),t.child}e=e.sibling}null!==r.tail&&Vo()>Gs&&(t.flags|=64,s=!0,os(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=ji(u))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),os(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!zi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Vo()-r.renderingStartTime>Gs&&1073741824!==n&&(t.flags|=64,s=!0,os(r,!1),t.lanes=33554432);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Vo(),n.sibling=null,t=Mi.current,co(Mi,s?1&t|2:1&t),n):null;case 23:case 24:return El(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function as(e){switch(e.tag){case 1:go(e.type)&&yo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Pi(),uo(ho),uo(po),Xi(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Di(e),null;case 13:return uo(Mi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return uo(Mi),null;case 4:return Pi(),null;case 10:return ri(e),null;case 23:case 24:return El(),null;default:return null}}function ss(e,t){try{var n="",r=t;do{n+=W(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ls(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}qa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ya=function(){},Xa=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ai(Li.current);var a,s=null;switch(n){case"input":i=Z(e,i),r=Z(e,r),s=[];break;case"option":i=ie(e,i),r=ie(e,r),s=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),s=[];break;case"textarea":i=se(e,i),r=se(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Fr)}for(f in Se(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var u=i[f];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in r){var c=r[f];if(u=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&c!==u&&(null!=c||null!=u))if("style"===f)if(u){for(a in u)!u.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&u[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(s||(s=[]),s.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(s=s||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(s=s||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Lr("scroll",e),s||u===c||(s=[])):"object"==typeof c&&null!==c&&c.$$typeof===$?c.toString():(s=s||[]).push(f,c))}n&&(s=s||[]).push("style",n);var f=s;(t.updateQueue=f)&&(t.flags|=4)}},Qa=function(e,t,n,r){n!==r&&(t.flags|=4)};var us="function"==typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=ci(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ys||(Ys=!0,Xs=r),ls(0,t)},n}function fs(e,t,n){(n=ci(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ls(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Qs?Qs=new Set([this]):Qs.add(this),ls(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ds="function"==typeof WeakSet?WeakSet:Set;function ps(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){jl(e,t)}else t.current=null}function hs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Ko(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wr(t.stateNode.containerInfo))}throw Error(a(163))}function ms(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&($l(n,e),Pl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ko(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&hi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}hi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Hr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Et(n)))))}throw Error(a(163))}function vs(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=we("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&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}}function gs(e,t){if(ko&&"function"==typeof ko.onCommitFiberUnmount)try{ko.onCommitFiberUnmount(So,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))$l(t,n);else{r=t;try{o()}catch(e){jl(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ps(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){jl(t,e)}break;case 5:ps(t);break;case 4:Ss(e,t)}}function ys(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function bs(e){return 5===e.tag||3===e.tag||4===e.tag}function ws(e){e:{for(var t=e.return;null!==t;){if(bs(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||bs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Es(e,n,t):_s(e,n,t)}function Es(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Fr));else if(4!==r&&null!==(e=e.child))for(Es(e,t,n),e=e.sibling;null!==e;)Es(e,t,n),e=e.sibling}function _s(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(_s(e,t,n),e=e.sibling;null!==e;)_s(e,t,n),e=e.sibling}function Ss(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,u=l;;)if(gs(s,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===l)break e;for(;null===u.sibling;){if(null===u.return||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(s=n,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(gs(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function ks(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),ke(e,o),t=ke(e,r),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?Ee(n,l):"dangerouslySetInnerHTML"===s?ve(n,l):"children"===s?ge(n,l):w(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ue(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Et(n.containerInfo)));case 13:return null!==t.memoizedState&&(Vs=Vo(),vs(t.child,!0)),void xs(t);case 19:return void xs(t);case 23:case 24:return void vs(t,null!==t.memoizedState)}throw Error(a(163))}function xs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ds),t.forEach((function(t){var r=Ul.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ts(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Is=Math.ceil,Os=E.ReactCurrentDispatcher,Ls=E.ReactCurrentOwner,Rs=0,Ns=null,As=null,Cs=0,Ps=0,$s=lo(0),Ds=0,Ms=null,js=0,Fs=0,Us=0,zs=0,Hs=null,Vs=0,Gs=1/0;function Bs(){Gs=Vo()+500}var Ws,qs=null,Ys=!1,Xs=null,Qs=null,Ks=!1,Js=null,Zs=90,el=[],tl=[],nl=null,rl=0,ol=null,il=-1,al=0,sl=0,ll=null,ul=!1;function cl(){return 0!=(48&Rs)?Vo():-1!==il?il:il=Vo()}function fl(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Go()?1:2;if(0===al&&(al=js),0!==Qo.transition){0!==sl&&(sl=null!==Hs?Hs.pendingLanes:0),e=al;var t=4186112&~sl;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Go(),e=Ft(0!=(4&Rs)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),al)}function dl(e,t,n){if(50<rl)throw rl=0,ol=null,Error(a(185));if(null===(e=pl(e,t)))return null;Ht(e,t,n),e===Ns&&(Us|=t,4===Ds&&vl(e,Cs));var r=Go();1===t?0!=(8&Rs)&&0==(48&Rs)?gl(e):(hl(e,n),0===Rs&&(Bs(),Yo())):(0==(4&Rs)||98!==r&&99!==r||(null===nl?nl=new Set([e]):nl.add(e)),hl(e,n)),Hs=e}function pl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Vt(s),u=1<<l,c=i[l];if(-1===c){if(0==(u&r)||0!=(u&o)){c=t,Dt(u);var f=$t;i[l]=10<=f?c+250:6<=f?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);s&=~u}if(r=Mt(e,e===Ns?Cs:0),t=$t,0===r)null!==n&&(n!==Mo&&Io(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Mo&&Io(n)}15===t?(n=gl.bind(null,e),null===Fo?(Fo=[n],Uo=To(Ao,Xo)):Fo.push(n),n=Mo):14===t?n=qo(99,gl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=qo(n,ml.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ml(e){if(il=-1,sl=al=0,0!=(48&Rs))throw Error(a(327));var t=e.callbackNode;if(Cl()&&e.callbackNode!==t)return null;var n=Mt(e,e===Ns?Cs:0);if(0===n)return null;var r=n,o=Rs;Rs|=16;var i=kl();for(Ns===e&&Cs===r||(Bs(),_l(e,r));;)try{Il();break}catch(t){Sl(e,t)}if(ni(),Os.current=i,Rs=o,null!==As?r=0:(Ns=null,Cs=0,r=Ds),0!=(js&Us))_l(e,0);else if(0!==r){if(2===r&&(Rs|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(n=jt(e))&&(r=xl(e,n))),1===r)throw t=Ms,_l(e,0),vl(e,n),hl(e,Vo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Rl(e);break;case 3:if(vl(e,n),(62914560&n)===n&&10<(r=Vs+500-Vo())){if(0!==Mt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){cl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Gr(Rl.bind(null,e),r);break}Rl(e);break;case 4:if(vl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var s=31-Vt(n);i=1<<s,(s=r[s])>o&&(o=s),n&=~i}if(n=o,10<(n=(120>(n=Vo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Is(n/1960))-n)){e.timeoutHandle=Gr(Rl.bind(null,e),n);break}Rl(e);break;default:throw Error(a(329))}}return hl(e,Vo()),e.callbackNode===t?ml.bind(null,e):null}function vl(e,t){for(t&=~zs,t&=~Us,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Vt(t),r=1<<n;e[n]=-1,t&=~r}}function gl(e){if(0!=(48&Rs))throw Error(a(327));if(Cl(),e===Ns&&0!=(e.expiredLanes&Cs)){var t=Cs,n=xl(e,t);0!=(js&Us)&&(n=xl(e,t=Mt(e,t)))}else n=xl(e,t=Mt(e,0));if(0!==e.tag&&2===n&&(Rs|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(t=jt(e))&&(n=xl(e,t))),1===n)throw n=Ms,_l(e,0),vl(e,t),hl(e,Vo()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rl(e),hl(e,Vo()),null}function yl(e,t){var n=Rs;Rs|=1;try{return e(t)}finally{0===(Rs=n)&&(Bs(),Yo())}}function bl(e,t){var n=Rs;Rs&=-2,Rs|=8;try{return e(t)}finally{0===(Rs=n)&&(Bs(),Yo())}}function wl(e,t){co($s,Ps),Ps|=t,js|=t}function El(){Ps=$s.current,uo($s)}function _l(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Br(n)),null!==As)for(n=As.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&yo();break;case 3:Pi(),uo(ho),uo(po),Xi();break;case 5:Di(r);break;case 4:Pi();break;case 13:case 19:uo(Mi);break;case 10:ri(r);break;case 23:case 24:El()}n=n.return}Ns=e,As=Gl(e.current,null),Cs=Ps=js=t,Ds=0,Ms=null,zs=Us=Fs=0}function Sl(e,t){for(;;){var n=As;try{if(ni(),Qi.current=Na,na){for(var r=Zi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}na=!1}if(Ji=0,ta=ea=Zi=null,ra=!1,Ls.current=null,null===n||null===n.return){Ds=1,Ms=t,As=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=Cs,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var u=l;if(0==(2&s.mode)){var c=s.alternate;c?(s.updateQueue=c.updateQueue,s.memoizedState=c.memoizedState,s.lanes=c.lanes):(s.updateQueue=null,s.memoizedState=null)}var f=0!=(1&Mi.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=d.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!f)}}if(p){var v=d.updateQueue;if(null===v){var g=new Set;g.add(u),d.updateQueue=g}else v.add(u);if(0==(2&d.mode)){if(d.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=ci(-1,1);y.tag=2,fi(s,y)}s.lanes|=1;break e}l=void 0,s=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new us,l=new Set,b.set(u,l)):void 0===(l=b.get(u))&&(l=new Set,b.set(u,l)),!l.has(s)){l.add(s);var w=Fl.bind(null,i,u,s);u.then(w,w)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);l=Error((q(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ds&&(Ds=2),l=ss(l,s),d=a;do{switch(d.tag){case 3:i=l,d.flags|=4096,t&=-t,d.lanes|=t,di(d,cs(0,i,t));break e;case 1:i=l;var E=d.type,_=d.stateNode;if(0==(64&d.flags)&&("function"==typeof E.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Qs||!Qs.has(_)))){d.flags|=4096,t&=-t,d.lanes|=t,di(d,fs(d,i,t));break e}}d=d.return}while(null!==d)}Ll(n)}catch(e){t=e,As===n&&null!==n&&(As=n=n.return);continue}break}}function kl(){var e=Os.current;return Os.current=Na,null===e?Na:e}function xl(e,t){var n=Rs;Rs|=16;var r=kl();for(Ns===e&&Cs===t||_l(e,t);;)try{Tl();break}catch(t){Sl(e,t)}if(ni(),Rs=n,Os.current=r,null!==As)throw Error(a(261));return Ns=null,Cs=0,Ds}function Tl(){for(;null!==As;)Ol(As)}function Il(){for(;null!==As&&!Oo();)Ol(As)}function Ol(e){var t=Ws(e.alternate,e,Ps);e.memoizedProps=e.pendingProps,null===t?Ll(e):As=t,Ls.current=null}function Ll(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=is(n,t,Ps)))return void(As=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ps)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=as(t)))return n.flags&=2047,void(As=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(As=t);As=t=e}while(null!==t);0===Ds&&(Ds=5)}function Rl(e){var t=Go();return Wo(99,Nl.bind(null,e,t)),null}function Nl(e,t){do{Cl()}while(null!==Js);if(0!=(48&Rs))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var u=31-Vt(i),c=1<<u;o[u]=0,s[u]=-1,l[u]=-1,i&=~c}if(null!==nl&&0==(24&r)&&nl.has(e)&&nl.delete(e),e===Ns&&(As=Ns=null,Cs=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Rs,Rs|=32,Ls.current=null,Ur=Yt,vr(s=mr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(c=l.getSelection&&l.getSelection())&&0!==c.rangeCount){l=c.anchorNode,i=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{l.nodeType,u.nodeType}catch(e){l=null;break e}var f=0,d=-1,p=-1,h=0,m=0,v=s,g=null;t:for(;;){for(var y;v!==l||0!==i&&3!==v.nodeType||(d=f+i),v!==u||0!==c&&3!==v.nodeType||(p=f+c),3===v.nodeType&&(f+=v.nodeValue.length),null!==(y=v.firstChild);)g=v,v=y;for(;;){if(v===s)break t;if(g===l&&++h===i&&(d=f),g===u&&++m===c&&(p=f),null!==(y=v.nextSibling))break;g=(v=g).parentNode}v=y}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;zr={focusedElem:s,selectionRange:l},Yt=!1,ll=null,ul=!1,qs=r;do{try{Al()}catch(e){if(null===qs)throw Error(a(330));jl(qs,e),qs=qs.nextEffect}}while(null!==qs);ll=null,qs=r;do{try{for(s=e;null!==qs;){var b=qs.flags;if(16&b&&ge(qs.stateNode,""),128&b){var w=qs.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&b){case 2:ws(qs),qs.flags&=-3;break;case 6:ws(qs),qs.flags&=-3,ks(qs.alternate,qs);break;case 1024:qs.flags&=-1025;break;case 1028:qs.flags&=-1025,ks(qs.alternate,qs);break;case 4:ks(qs.alternate,qs);break;case 8:Ss(s,l=qs);var _=l.alternate;ys(l),null!==_&&ys(_)}qs=qs.nextEffect}}catch(e){if(null===qs)throw Error(a(330));jl(qs,e),qs=qs.nextEffect}}while(null!==qs);if(E=zr,w=mr(),b=E.focusedElem,s=E.selectionRange,w!==b&&b&&b.ownerDocument&&hr(b.ownerDocument.documentElement,b)){null!==s&&vr(b)&&(w=s.start,void 0===(E=s.end)&&(E=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(E,b.value.length)):(E=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),l=b.textContent.length,_=Math.min(s.start,l),s=void 0===s.end?_:Math.min(s.end,l),!E.extend&&_>s&&(l=s,s=_,_=l),l=pr(b,_),i=pr(b,s),l&&i&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==i.node||E.focusOffset!==i.offset)&&((w=w.createRange()).setStart(l.node,l.offset),E.removeAllRanges(),_>s?(E.addRange(w),E.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),E.addRange(w))))),w=[];for(E=b;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(E=w[b]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Yt=!!Ur,zr=Ur=null,e.current=n,qs=r;do{try{for(b=e;null!==qs;){var S=qs.flags;if(36&S&&ms(b,qs.alternate,qs),128&S){w=void 0;var k=qs.ref;if(null!==k){var x=qs.stateNode;qs.tag,w=x,"function"==typeof k?k(w):k.current=w}}qs=qs.nextEffect}}catch(e){if(null===qs)throw Error(a(330));jl(qs,e),qs=qs.nextEffect}}while(null!==qs);qs=null,jo(),Rs=o}else e.current=n;if(Ks)Ks=!1,Js=e,Zs=t;else for(qs=r;null!==qs;)t=qs.nextEffect,qs.nextEffect=null,8&qs.flags&&((S=qs).sibling=null,S.stateNode=null),qs=t;if(0===(r=e.pendingLanes)&&(Qs=null),1===r?e===ol?rl++:(rl=0,ol=e):rl=0,n=n.stateNode,ko&&"function"==typeof ko.onCommitFiberRoot)try{ko.onCommitFiberRoot(So,n,void 0,64==(64&n.current.flags))}catch(e){}if(hl(e,Vo()),Ys)throw Ys=!1,e=Xs,Xs=null,e;return 0!=(8&Rs)||Yo(),null}function Al(){for(;null!==qs;){var e=qs.alternate;ul||null===ll||(0!=(8&qs.flags)?Ze(qs,ll)&&(ul=!0):13===qs.tag&&Ts(e,qs)&&Ze(qs,ll)&&(ul=!0));var t=qs.flags;0!=(256&t)&&hs(e,qs),0==(512&t)||Ks||(Ks=!0,qo(97,(function(){return Cl(),null}))),qs=qs.nextEffect}}function Cl(){if(90!==Zs){var e=97<Zs?97:Zs;return Zs=90,Wo(e,Dl)}return!1}function Pl(e,t){el.push(t,e),Ks||(Ks=!0,qo(97,(function(){return Cl(),null})))}function $l(e,t){tl.push(t,e),Ks||(Ks=!0,qo(97,(function(){return Cl(),null})))}function Dl(){if(null===Js)return!1;var e=Js;if(Js=null,0!=(48&Rs))throw Error(a(331));var t=Rs;Rs|=32;var n=tl;tl=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],s=o.destroy;if(o.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===i)throw Error(a(330));jl(i,e)}}for(n=el,el=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(a(330));jl(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Rs=t,Yo(),!0}function Ml(e,t,n){fi(e,t=cs(0,t=ss(n,t),1)),t=cl(),null!==(e=pl(e,1))&&(Ht(e,1,t),hl(e,t))}function jl(e,t){if(3===e.tag)Ml(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ml(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Qs||!Qs.has(r))){var o=fs(n,e=ss(t,e),1);if(fi(n,o),o=cl(),null!==(n=pl(n,1)))Ht(n,1,o),hl(n,o);else if("function"==typeof r.componentDidCatch&&(null===Qs||!Qs.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Fl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=cl(),e.pingedLanes|=e.suspendedLanes&n,Ns===e&&(Cs&n)===n&&(4===Ds||3===Ds&&(62914560&Cs)===Cs&&500>Vo()-Vs?_l(e,0):zs|=n),hl(e,t)}function Ul(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Go()?1:2:(0===al&&(al=js),0===(t=Ut(62914560&~al))&&(t=4194304))),n=cl(),null!==(e=pl(e,t))&&(Ht(e,t,n),hl(e,n))}function zl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hl(e,t,n,r){return new zl(e,t,n,r)}function Vl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Gl(e,t){var n=e.alternate;return null===n?((n=Hl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bl(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Vl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Wl(n.children,o,i,t);case D:s=8,o|=16;break;case x:s=8,o|=1;break;case T:return(e=Hl(12,n,t,8|o)).elementType=T,e.type=T,e.lanes=i,e;case R:return(e=Hl(13,n,t,o)).type=R,e.elementType=R,e.lanes=i,e;case N:return(e=Hl(19,n,t,o)).elementType=N,e.lanes=i,e;case M:return ql(n,o,i,t);case j:return(e=Hl(24,n,t,o)).elementType=j,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case I:s=10;break e;case O:s=9;break e;case L:s=11;break e;case A:s=14;break e;case C:s=16,r=null;break e;case P:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Hl(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Wl(e,t,n,r){return(e=Hl(7,e,r,t)).lanes=n,e}function ql(e,t,n,r){return(e=Hl(23,e,r,t)).elementType=M,e.lanes=n,e}function Yl(e,t,n){return(e=Hl(6,e,null,t)).lanes=n,e}function Xl(e,t,n){return(t=Hl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ql(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=zt(0),this.expirationTimes=zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.mutableSourceEagerHydrationData=null}function Kl(e,t,n,r){var o=t.current,i=cl(),s=fl(o);e:if(n){t:{if(Xe(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(go(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(go(u)){n=wo(n,u,l);break e}}n=l}else n=fo;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fi(o,t),dl(o,s,i),s}function Jl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Zl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function eu(e,t){Zl(e,t),(e=e.alternate)&&Zl(e,t)}function tu(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Ql(e,t,null!=n&&!0===n.hydrate),t=Hl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,li(t),e[Zr]=n.current,Nr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function nu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ru(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=Jl(a);s.call(e)}}Kl(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Jl(a);l.call(e)}}bl((function(){Kl(t,a,e,o)}))}return Jl(a)}function ou(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Ws=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ho.current)Da=!0;else{if(0==(n&r)){switch(Da=!1,t.tag){case 3:Wa(t),qi();break;case 5:$i(t);break;case 1:go(t.type)&&Eo(t);break;case 4:Ci(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;co(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Ja(e,t,n):(co(Mi,1&Mi.current),null!==(t=rs(e,t,n))?t.sibling:null);co(Mi,1&Mi.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return ns(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),co(Mi,Mi.current),r)break;return null;case 23:case 24:return t.lanes=0,za(e,t,n)}return rs(e,t,n)}Da=0!=(16384&e.flags)}else Da=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=vo(t,po.current),ii(t,n),o=aa(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(r)){var i=!0;Eo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,li(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&vi(t,r,s,e),o.updater=gi,t.stateNode=o,o._reactInternals=t,Ei(t,r,e,n),t=Ba(null,t,r,!0,i,n)}else t.tag=0,Ma(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Vl(e)?1:0;if(null!=e){if((e=e.$$typeof)===L)return 11;if(e===A)return 14}return 2}(o),e=Ko(o,e),i){case 0:t=Va(null,t,o,e,n);break e;case 1:t=Ga(null,t,o,e,n);break e;case 11:t=ja(null,t,o,e,n);break e;case 14:t=Fa(null,t,o,Ko(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Va(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ga(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 3:if(Wa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ui(e,t),pi(t,r,null,n),(r=t.memoizedState.element)===o)qi(),t=rs(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Ui=qr(t.stateNode.containerInfo.firstChild),Fi=t,i=zi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Yi.push(i);for(n=Ii(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ma(e,t,r,n),qi();t=t.child}return t;case 5:return $i(t),null===e&&Gi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,Vr(r,o)?s=null:null!==i&&Vr(r,i)&&(t.flags|=16),Ha(e,t),Ma(e,t,s,n),t.child;case 6:return null===e&&Gi(t),null;case 13:return Ja(e,t,n);case 4:return Ci(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ti(t,null,r,n):Ma(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ja(e,t,r,o=t.elementType===r?o:Ko(r,o),n);case 7:return Ma(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ma(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(co(Jo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0==(i=ur(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!ho.current){t=rs(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&i)){1===l.tag&&((c=ci(-1,n&-n)).tag=2,fi(l,c)),l.lanes|=n,null!==(c=l.alternate)&&(c.lanes|=n),oi(l.return,n),u.lanes|=n;break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Ma(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ii(t,n),r=r(o=ai(o,i.unstable_observedBits)),t.flags|=1,Ma(e,t,r,n),t.child;case 14:return i=Ko(o=t.type,t.pendingProps),Fa(e,t,o,i=Ko(o.type,i),r,n);case 15:return Ua(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ko(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,go(r)?(e=!0,Eo(t)):e=!1,ii(t,n),bi(t,r,o),Ei(t,r,o,n),Ba(null,t,r,!0,e,n);case 19:return ns(e,t,n);case 23:case 24:return za(e,t,n)}throw Error(a(156,t.tag))},tu.prototype.render=function(e){Kl(e,this._internalRoot,null,null)},tu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Kl(null,e,null,(function(){t[Zr]=null}))},et=function(e){13===e.tag&&(dl(e,4,cl()),eu(e,4))},tt=function(e){13===e.tag&&(dl(e,67108864,cl()),eu(e,67108864))},nt=function(e){if(13===e.tag){var t=cl(),n=fl(e);dl(e,n,t),eu(e,n)}},rt=function(e,t){return t()},Te=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=oo(r);if(!o)throw Error(a(90));K(r),ne(r,o)}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Ae=yl,Ce=function(e,t,n,r,o){var i=Rs;Rs|=4;try{return Wo(98,e.bind(null,t,n,r,o))}finally{0===(Rs=i)&&(Bs(),Yo())}},Pe=function(){0==(49&Rs)&&(function(){if(null!==nl){var e=nl;nl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hl(e,Vo())}))}Yo()}(),Cl())},$e=function(e,t){var n=Rs;Rs|=2;try{return e(t)}finally{0===(Rs=n)&&(Bs(),Yo())}};var iu={Events:[no,ro,oo,Re,Ne,Cl,{current:!1}]},au={findFiberByHostInstance:to,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},su={bundleType:au.bundleType,version:au.version,rendererPackageName:au.rendererPackageName,rendererConfig:au.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:au.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lu.isDisabled&&lu.supportsFiber)try{So=lu.inject(su),ko=lu}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=iu,t.createPortal=ou,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Rs;if(0!=(48&n))return e(t);Rs|=1;try{if(e)return Wo(99,e.bind(null,t))}finally{Rs=n,Yo()}},t.hydrate=function(e,t,n){if(!nu(t))throw Error(a(200));return ru(null,e,t,!0,n)},t.render=function(e,t,n){if(!nu(t))throw Error(a(200));return ru(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nu(e))throw Error(a(40));return!!e._reactRootContainer&&(bl((function(){ru(null,null,e,!1,(function(){e._reactRootContainer=null,e[Zr]=null}))})),!0)},t.unstable_batchedUpdates=yl,t.unstable_createPortal=function(e,t){return ou(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nu(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ru(e,t,n,!1,r)},t.version="17.0.2"},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(4448)},4203:(e,t)=>{"use strict";var n,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,f=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,v=null,g=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==v){var e=t.unstable_now();b=e+y;try{v(!0,e)?E.postMessage(null):(m=!1,v=null)}catch(e){throw E.postMessage(null),e}}else m=!1},n=function(e){v=e,m||(m=!0,E.postMessage(null))},r=function(e,n){g=d((function(){e(t.unstable_now())}),n)},o=function(){p(g),g=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<x(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function k(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>x(a,n))void 0!==l&&0>x(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>x(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function x(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],I=[],O=1,L=null,R=3,N=!1,A=!1,C=!1;function P(e){for(var t=S(I);null!==t;){if(null===t.callback)k(I);else{if(!(t.startTime<=e))break;k(I),t.sortIndex=t.expirationTime,_(T,t)}t=S(I)}}function $(e){if(C=!1,P(e),!A)if(null!==S(T))A=!0,n(D);else{var t=S(I);null!==t&&r($,t.startTime-e)}}function D(e,n){A=!1,C&&(C=!1,o()),N=!0;var i=R;try{for(P(n),L=S(T);null!==L&&(!(L.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=L.callback;if("function"==typeof a){L.callback=null,R=L.priorityLevel;var s=a(L.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?L.callback=s:L===S(T)&&k(T),P(n)}else k(T);L=S(T)}if(null!==L)var l=!0;else{var u=S(I);null!==u&&r($,u.startTime-n),l=!1}return l}finally{L=null,R=i,N=!1}}var M=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){A||N||(A=!0,n(D))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return S(T)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=M,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?s+a:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:O++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,_(I,e),null===S(T)&&e===S(I)&&(C?o():C=!0,r($,a-s))):(e.sortIndex=l,_(T,e),A||N||(A=!0,n(D))),e},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},4142:(e,t,n)=>{"use strict";e.exports=n(4203)},5251:(e,t,n)=>{"use strict";n(7418);var r=n(7294),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:a.current}}t.jsx=u,t.jsxs=u},2408:(e,t,n)=>{"use strict";var r=n(7418),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),u=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=v.prototype;var b=y.prototype=new g;b.constructor=y,r(b,v.prototype),b.isPureReactComponent=!0;var w={current:null},E=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,r)&&!_.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:w.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var x=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function I(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===r?"."+T(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(x,"$&/")+"/"),I(a,t,n,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(x,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+T(s=e[u],u);l+=I(s,t,n,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=I(s=s.value,t,n,c=r+T(s,u++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return I(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function L(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var R={current:null};function N(){var e=R.current;if(null===e)throw Error(p(321));return e}var A={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error(p(143));return e}},t.Component=v,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)E.call(t,c)&&!_.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="17.0.2"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,d=null,p=3,h=!1,m=!1,v=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function E(e){if(v=!1,w(e),!m)if(null!==r(u))m=!0,C(_);else{var t=r(c);null!==t&&P(E,t.startTime-e)}}function _(e,n){m=!1,v&&(v=!1,y(T),T=-1),h=!0;var i=p;try{for(w(n),d=r(u);null!==d&&(!(d.expirationTime>n)||e&&!L());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var s=a(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?d.callback=s:d===r(u)&&o(u),w(n)}else o(u);d=r(u)}if(null!==d)var l=!0;else{var f=r(c);null!==f&&P(E,f.startTime-n),l=!1}return l}finally{d=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,k=!1,x=null,T=-1,I=5,O=-1;function L(){return!(t.unstable_now()-O<I)}function R(){if(null!==x){var e=t.unstable_now();O=e;var n=!0;try{n=x(!0,e)}finally{n?S():(k=!1,x=null)}}else k=!1}if("function"==typeof b)S=function(){b(R)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,A=N.port2;N.port1.onmessage=R,S=function(){A.postMessage(null)}}else S=function(){g(R,0)};function C(e){x=e,k||(k=!0,S())}function P(e,n){T=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,C(_))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(v?(y(T),T=-1):v=!0,P(E,i-a))):(e.sortIndex=s,n(u,e),m||h||(m=!0,C(_))),e},t.unstable_shouldYield=L,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},2257:(e,t,n)=>{const r=Symbol("SemVer ANY");class o{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new f(e.value,t).test(this.value):""===e.operator?""===e.value||new f(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.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("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=o;const i=n(2893),{safeRe:a,t:s}=n(5765),l=n(7539),u=n(4225),c=n(6376),f=n(6902)},6902:(e,t,n)=>{class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&h)|(this.options.loose&&m))+":"+e,n=o.get(t);if(n)return n;const r=this.options.loose,i=r?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];e=e.replace(i,L(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(u[c.COMPARATORTRIM],f),s("comparator trim",e),e=e.replace(u[c.TILDETRIM],d),s("tilde trim",e),e=e.replace(u[c.CARETTRIM],p),s("caret trim",e);let l=e.split(" ").map((e=>b(e,this.options))).join(" ").split(/\s+/).map((e=>O(e,this.options)));r&&(l=l.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(u[c.COMPARATORLOOSE]))))),s("range list",l);const g=new Map,y=l.map((e=>new a(e,this.options)));for(const e of y){if(v(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const w=[...g.values()];return o.set(t,w),w}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((n=>y(n,t)&&e.set.some((e=>y(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(n(9593))({max:1e3}),i=n(2893),a=n(2257),s=n(4225),l=n(6376),{safeRe:u,t:c,comparatorTrimReplace:f,tildeTrimReplace:d,caretTrimReplace:p}=n(5765),{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:m}=n(3295),v=e=>"<0.0.0-0"===e.value,g=e=>""===e.value,y=(e,t)=>{let n=!0;const r=e.slice();let o=r.pop();for(;n&&r.length;)n=r.every((e=>o.intersects(e,t))),o=r.pop();return n},b=(e,t)=>(s("comp",e,t),e=S(e,t),s("caret",e),e=E(e,t),s("tildes",e),e=x(e,t),s("xrange",e),e=I(e,t),s("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,E=(e,t)=>e.trim().split(/\s+/).map((e=>_(e,t))).join(" "),_=(e,t)=>{const n=t.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(n,((t,n,r,o,i)=>{let a;return s("tilde",e,t,n,r,o,i),w(n)?a="":w(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:w(o)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:i?(s("replaceTilde pr",i),a=`>=${n}.${r}.${o}-${i} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${o} <${n}.${+r+1}.0-0`,s("tilde return",a),a}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{s("caret",e,t);const n=t.loose?u[c.CARETLOOSE]:u[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,o,i,a)=>{let l;return s("caret",e,t,n,o,i,a),w(n)?l="":w(o)?l=`>=${n}.0.0${r} <${+n+1}.0.0-0`:w(i)?l="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(s("no pr"),l="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),s("caret return",l),l}))},x=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>T(e,t))).join(" ")),T=(e,t)=>{e=e.trim();const n=t.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(n,((n,r,o,i,a,l)=>{s("xRange",e,n,r,o,i,a,l);const u=w(o),c=u||w(i),f=c||w(a),d=f;return"="===r&&d&&(r=""),l=t.includePrerelease?"-0":"",u?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&d?(c&&(i=0),a=0,">"===r?(r=">=",c?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",c?o=+o+1:i=+i+1),"<"===r&&(l="-0"),n=`${r+o}.${i}.${a}${l}`):c?n=`>=${o}.0.0${l} <${+o+1}.0.0-0`:f&&(n=`>=${o}.${i}.0${l} <${o}.${+i+1}.0-0`),s("xRange return",n),n}))},I=(e,t)=>(s("replaceStars",e,t),e.trim().replace(u[c.STAR],"")),O=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),L=e=>(t,n,r,o,i,a,s,l,u,c,f,d,p)=>`${n=w(r)?"":w(o)?`>=${r}.0.0${e?"-0":""}`:w(i)?`>=${r}.${o}.0${e?"-0":""}`:a?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=w(u)?"":w(c)?`<${+u+1}.0.0-0`:w(f)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${f}-${d}`:e?`<${u}.${c}.${+f+1}-0`:`<=${l}`}`.trim(),R=(e,t,n)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let n=0;n<e.length;n++)if(s(e[n].semver),e[n].semver!==a.ANY&&e[n].semver.prerelease.length>0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},6376:(e,t,n)=>{const r=n(4225),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=n(3295),{safeRe:a,t:s}=n(5765),l=n(2893),{compareIdentifiers:u}=n(6742);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(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;let t=0;do{const n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}inc(e,t,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,n),this.inc("pre",t,n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,n),this.inc("pre",t,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":{const e=Number(n)?1:0;if(!t&&!1===n)throw new Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},3507:(e,t,n)=>{const r=n(3959);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},7539:(e,t,n)=>{const r=n(8718),o=n(1194),i=n(1312),a=n(5903),s=n(1544),l=n(2056);e.exports=(e,t,n,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,u);case"!=":return o(e,n,u);case">":return i(e,n,u);case">=":return a(e,n,u);case"<":return s(e,n,u);case"<=":return l(e,n,u);default:throw new TypeError(`Invalid operator: ${t}`)}}},9038:(e,t,n)=>{const r=n(6376),o=n(3959),{safeRe:i,t:a}=n(5765);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){const r=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL];let o;for(;(o=r.exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&o.index+o[0].length===n.index+n[0].length||(n=o),r.lastIndex=o.index+o[1].length+o[2].length;r.lastIndex=-1}else n=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);if(null===n)return null;const s=n[2],l=n[3]||"0",u=n[4]||"0",c=t.includePrerelease&&n[5]?`-${n[5]}`:"",f=t.includePrerelease&&n[6]?`+${n[6]}`:"";return o(`${s}.${l}.${u}${c}${f}`,t)}},3773:(e,t,n)=>{const r=n(6376);e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}},7880:(e,t,n)=>{const r=n(6269);e.exports=(e,t)=>r(e,t,!0)},6269:(e,t,n)=>{const r=n(6376);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},2378:(e,t,n)=>{const r=n(3959);e.exports=(e,t)=>{const n=r(e,null,!0),o=r(t,null,!0),i=n.compare(o);if(0===i)return null;const a=i>0,s=a?n:o,l=a?o:n,u=!!s.prerelease.length;if(l.prerelease.length&&!u)return l.patch||l.minor?s.patch?"patch":s.minor?"minor":"major":"major";const c=u?"pre":"";return n.major!==o.major?c+"major":n.minor!==o.minor?c+"minor":n.patch!==o.patch?c+"patch":"prerelease"}},8718:(e,t,n)=>{const r=n(6269);e.exports=(e,t,n)=>0===r(e,t,n)},1312:(e,t,n)=>{const r=n(6269);e.exports=(e,t,n)=>r(e,t,n)>0},5903:(e,t,n)=>{const r=n(6269);e.exports=(e,t,n)=>r(e,t,n)>=0},253:(e,t,n)=>{const r=n(6376);e.exports=(e,t,n,o,i)=>{"string"==typeof n&&(i=o,o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o,i).version}catch(e){return null}}},1544:(e,t,n)=>{const r=n(6269);e.exports=(e,t,n)=>r(e,t,n)<0},2056:(e,t,n)=>{const r=n(6269);e.exports=(e,t,n)=>r(e,t,n)<=0},8679:(e,t,n)=>{const r=n(6376);e.exports=(e,t)=>new r(e,t).major},7789:(e,t,n)=>{const r=n(6376);e.exports=(e,t)=>new r(e,t).minor},1194:(e,t,n)=>{const r=n(6269);e.exports=(e,t,n)=>0!==r(e,t,n)},3959:(e,t,n)=>{const r=n(6376);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},2358:(e,t,n)=>{const r=n(6376);e.exports=(e,t)=>new r(e,t).patch},7559:(e,t,n)=>{const r=n(3959);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},9795:(e,t,n)=>{const r=n(6269);e.exports=(e,t,n)=>r(t,e,n)},3657:(e,t,n)=>{const r=n(3773);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},5712:(e,t,n)=>{const r=n(6902);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},1100:(e,t,n)=>{const r=n(3773);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},6397:(e,t,n)=>{const r=n(3959);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},1249:(e,t,n)=>{const r=n(5765),o=n(3295),i=n(6376),a=n(6742),s=n(3959),l=n(6397),u=n(3507),c=n(253),f=n(2378),d=n(8679),p=n(7789),h=n(2358),m=n(7559),v=n(6269),g=n(9795),y=n(7880),b=n(3773),w=n(1100),E=n(3657),_=n(1312),S=n(1544),k=n(8718),x=n(1194),T=n(5903),I=n(2056),O=n(7539),L=n(9038),R=n(2257),N=n(6902),A=n(5712),C=n(1042),P=n(5775),$=n(1657),D=n(5316),M=n(9042),j=n(6826),F=n(7606),U=n(32),z=n(2937),H=n(7838),V=n(799);e.exports={parse:s,valid:l,clean:u,inc:c,diff:f,major:d,minor:p,patch:h,prerelease:m,compare:v,rcompare:g,compareLoose:y,compareBuild:b,sort:w,rsort:E,gt:_,lt:S,eq:k,neq:x,gte:T,lte:I,cmp:O,coerce:L,Comparator:R,Range:N,satisfies:A,toComparators:C,maxSatisfying:P,minSatisfying:$,minVersion:D,validRange:M,outside:j,gtr:F,ltr:U,intersects:z,simplifyRange:H,subset:V,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}},3295:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},4225:e=>{const t="object"==typeof process&&"MISSING_ENV_VAR".NODE_DEBUG&&/\bsemver\b/i.test("MISSING_ENV_VAR".NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},6742:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),o=t.test(n);return r&&o&&(e=+e,n=+n),e===n?0:r&&!o?-1:o&&!r?1:e<n?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}},2893:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},5765:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=n(3295),a=n(4225),s=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],c=t.t={};let f=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,o]],h=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),o=f++;a(e,o,t),c[e]=o,u[o]=t,s[o]=new RegExp(t,n?"g":void 0),l[o]=new RegExp(r,n?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),h("FULL",`^${u[c.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),h("LOOSE",`^${u[c.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),h("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),h("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),h("COERCE",`${u[c.COERCEPLAIN]}(?:$|[^\\d])`),h("COERCEFULL",u[c.COERCEPLAIN]+`(?:${u[c.PRERELEASE]})?`+`(?:${u[c.BUILD]})?(?:$|[^\\d])`),h("COERCERTL",u[c.COERCE],!0),h("COERCERTLFULL",u[c.COERCEFULL],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},7606:(e,t,n)=>{const r=n(6826);e.exports=(e,t,n)=>r(e,t,">",n)},2937:(e,t,n)=>{const r=n(6902);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n))},32:(e,t,n)=>{const r=n(6826);e.exports=(e,t,n)=>r(e,t,"<",n)},5775:(e,t,n)=>{const r=n(6376),o=n(6902);e.exports=(e,t,n)=>{let i=null,a=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(i&&-1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},1657:(e,t,n)=>{const r=n(6376),o=n(6902);e.exports=(e,t,n)=>{let i=null,a=null,s=null;try{s=new o(t,n)}catch(e){return null}return e.forEach((e=>{s.test(e)&&(i&&1!==a.compare(e)||(i=e,a=new r(i,n)))})),i}},5316:(e,t,n)=>{const r=n(6376),o=n(6902),i=n(1312);e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t<e.set.length;++t){const o=e.set[t];let a=null;o.forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":a&&!i(t,a)||(a=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!a||n&&!i(n,a)||(n=a)}return n&&e.test(n)?n:null}},6826:(e,t,n)=>{const r=n(6376),o=n(2257),{ANY:i}=o,a=n(6902),s=n(5712),l=n(1312),u=n(1544),c=n(2056),f=n(5903);e.exports=(e,t,n,d)=>{let p,h,m,v,g;switch(e=new r(e,d),t=new a(t,d),n){case">":p=l,h=c,m=u,v=">",g=">=";break;case"<":p=u,h=f,m=l,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let n=0;n<t.set.length;++n){const r=t.set[n];let a=null,s=null;if(r.forEach((e=>{e.semver===i&&(e=new o(">=0.0.0")),a=a||e,s=s||e,p(e.semver,a.semver,d)?a=e:m(e.semver,s.semver,d)&&(s=e)})),a.operator===v||a.operator===g)return!1;if((!s.operator||s.operator===v)&&h(e,s.semver))return!1;if(s.operator===g&&m(e,s.semver))return!1}return!0}},7838:(e,t,n)=>{const r=n(5712),o=n(6269);e.exports=(e,t,n)=>{const i=[];let a=null,s=null;const l=e.sort(((e,t)=>o(e,t,n)));for(const e of l)r(e,t,n)?(s=e,a||(a=e)):(s&&i.push([a,s]),s=null,a=null);a&&i.push([a,null]);const u=[];for(const[e,t]of i)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const c=u.join(" || "),f="string"==typeof t.raw?t.raw:String(t);return c.length<f.length?c:t}},799:(e,t,n)=>{const r=n(6902),o=n(2257),{ANY:i}=o,a=n(5712),s=n(6269),l=[new o(">=0.0.0-0")],u=[new o(">=0.0.0")],c=(e,t,n)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=n.includePrerelease?l:u}if(1===t.length&&t[0].semver===i){if(n.includePrerelease)return!0;t=u}const r=new Set;let o,c,p,h,m,v,g;for(const t of e)">"===t.operator||">="===t.operator?o=f(o,t,n):"<"===t.operator||"<="===t.operator?c=d(c,t,n):r.add(t.semver);if(r.size>1)return null;if(o&&c){if(p=s(o.semver,c.semver,n),p>0)return null;if(0===p&&(">="!==o.operator||"<="!==c.operator))return null}for(const e of r){if(o&&!a(e,String(o),n))return null;if(c&&!a(e,String(c),n))return null;for(const r of t)if(!a(e,String(r),n))return!1;return!0}let y=!(!c||n.includePrerelease||!c.semver.prerelease.length)&&c.semver,b=!(!o||n.includePrerelease||!o.semver.prerelease.length)&&o.semver;y&&1===y.prerelease.length&&"<"===c.operator&&0===y.prerelease[0]&&(y=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,o)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if(h=f(o,e,n),h===e&&h!==o)return!1}else if(">="===o.operator&&!a(o.semver,String(e),n))return!1;if(c)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),"<"===e.operator||"<="===e.operator){if(m=d(c,e,n),m===e&&m!==c)return!1}else if("<="===c.operator&&!a(c.semver,String(e),n))return!1;if(!e.operator&&(c||o)&&0!==p)return!1}return!(o&&v&&!c&&0!==p||c&&g&&!o&&0!==p||b||y)},f=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,n)=>{if(!e)return t;const r=s(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},1042:(e,t,n)=>{const r=n(6902);e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},9042:(e,t,n)=>{const r=n(6902);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},2238:function(e,t,n){var r;!function(o,i){"use strict";var a="function",s="undefined",l="object",u="string",c="major",f="model",d="name",p="type",h="vendor",m="version",v="architecture",g="console",y="mobile",b="tablet",w="smarttv",E="wearable",_="embedded",S="Amazon",k="Apple",x="ASUS",T="BlackBerry",I="Browser",O="Chrome",L="Firefox",R="Google",N="Huawei",A="LG",C="Microsoft",P="Motorola",$="Opera",D="Samsung",M="Sharp",j="Sony",F="Xiaomi",U="Zebra",z="Facebook",H="Chromium OS",V="Mac OS",G=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},B=function(e,t){return typeof e===u&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},q=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,500)},Y=function(e,t){for(var n,r,o,s,u,c,f=0;f<t.length&&!u;){var d=t[f],p=t[f+1];for(n=r=0;n<d.length&&!u&&d[n];)if(u=d[n++].exec(e))for(o=0;o<p.length;o++)c=u[++r],typeof(s=p[o])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):i:this[s[0]]=c?s[1].call(this,c,s[2]):i:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):i):this[s]=c||i;f+=2}},X=function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(B(t[n][r],e))return"?"===n?i:n}else if(B(t[n],e))return"?"===n?i:n;return e},Q={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},K={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,m],[/opios[\/ ]+([\w\.]+)/i],[m,[d,$+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[m,[d,$+" GX"]],[/\bopr\/([\w\.]+)/i],[m,[d,$]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[d,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,m],[/\bddg\/([\w\.]+)/i],[m,[d,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[d,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[d,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+I],m],[/\bfocus\/([\w\.]+)/i],[m,[d,L+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[d,$+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[d,$+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[d,"MIUI "+I]],[/fxios\/([-\w\.]+)/i],[m,[d,L]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+I]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 "+I],m],[/samsungbrowser\/([\w\.]+)/i],[m,[d,D+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[d,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,z],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[d,O+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,O+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[d,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[m,X,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[d,L+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[d,m],[/(cobalt)\/([\w\.]+)/i],[d,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,W]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,"",W]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,W]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[h,D],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[h,D],[p,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[h,k],[p,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[h,k],[p,b]],[/(macintosh);/i],[f,[h,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[h,M],[p,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[h,N],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[h,N],[p,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[h,F],[p,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[h,F],[p,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[h,"OPPO"],[p,y]],[/\b(opd2\d{3}a?) bui/i],[f,[h,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[h,"Vivo"],[p,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[f,[h,"Realme"],[p,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[h,P],[p,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[h,P],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[h,A],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[h,A],[p,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[h,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[h,"Nokia"],[p,y]],[/(pixel c)\b/i],[f,[h,R],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[h,R],[p,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[h,j],[p,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[h,j],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[h,"OnePlus"],[p,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[h,S],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[h,S],[p,y]],[/(playbook);[-\w\),; ]+(rim)/i],[f,h,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[h,T],[p,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[h,x],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[h,x],[p,y]],[/(nexus 9)/i],[f,[h,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[f,/_/g," "],[p,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[h,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[h,"Meizu"],[p,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[f,[h,"Ulefone"],[p,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,f,[p,y]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,f,[p,b]],[/(surface duo)/i],[f,[h,C],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[h,"Fairphone"],[p,y]],[/(u304aa)/i],[f,[h,"AT&T"],[p,y]],[/\bsie-(\w*)/i],[f,[h,"Siemens"],[p,y]],[/\b(rct\w+) b/i],[f,[h,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[h,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[h,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[h,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[f,[h,"NuVision"],[p,b]],[/\b(k88) b/i],[f,[h,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[f,[h,"ZTE"],[p,y]],[/\b(gen\d{3}) b.+49h/i],[f,[h,"Swiss"],[p,y]],[/\b(zur\d{3}) b/i],[f,[h,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[f,[h,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],f,[p,b]],[/\b(ns-?\w{0,9}) b/i],[f,[h,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[h,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],f,[p,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],f,[p,y]],[/\b(ph-1) /i],[f,[h,"Essential"],[p,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[h,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[f,[h,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[f,[h,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[f,[h,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[h,f,[p,y]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[h,C],[p,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[h,U],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[h,U],[p,y]],[/smart-tv.+(samsung)/i],[h,[p,w]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[h,D],[p,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,A],[p,w]],[/(apple) ?tv/i],[h,[f,k+" TV"],[p,w]],[/crkey/i],[[f,O+"cast"],[h,R],[p,w]],[/droid.+aft(\w+)( bui|\))/i],[f,[h,S],[p,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[h,M],[p,w]],[/(bravia[\w ]+)( bui|\))/i],[f,[h,j],[p,w]],[/(mitv-\w{5}) bui/i],[f,[h,F],[p,w]],[/Hbbtv.*(technisat) (.*);/i],[h,f,[p,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[h,q],[f,q],[p,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,f,[p,g]],[/droid.+; (shield) bui/i],[f,[h,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[f,[h,j],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[h,C],[p,g]],[/((pebble))app/i],[h,f,[p,E]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[h,k],[p,E]],[/droid.+; (glass) \d/i],[f,[h,R],[p,E]],[/droid.+; (wt63?0{2,3})\)/i],[f,[h,U],[p,E]],[/(quest( \d| pro)?)/i],[f,[h,z],[p,E]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[p,_]],[/(aeobc)\b/i],[f,[h,S],[p,_]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[f,[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,y]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[d,[m,X,Q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,X,Q],[d,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,V],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,m],[/\(bb(10);/i],[m,[d,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[d,L+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[d,O+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,H],m],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,m],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,m]]},J=function(e,t){if(typeof e===l&&(t=e,e=i),!(this instanceof J))return new J(e,t).getResult();var n=typeof o!==s&&o.navigator?o.navigator:i,r=e||(n&&n.userAgent?n.userAgent:""),g=n&&n.userAgentData?n.userAgentData:i,w=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(K,t):K,E=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[d]=i,t[m]=i,Y.call(t,r,w.browser),t[c]=typeof(e=t[m])===u?e.replace(/[^\d\.]/g,"").split(".")[0]:i,E&&n&&n.brave&&typeof n.brave.isBrave==a&&(t[d]="Brave"),t},this.getCPU=function(){var e={};return e[v]=i,Y.call(e,r,w.cpu),e},this.getDevice=function(){var e={};return e[h]=i,e[f]=i,e[p]=i,Y.call(e,r,w.device),E&&!e[p]&&g&&g.mobile&&(e[p]=y),E&&"Macintosh"==e[f]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[f]="iPad",e[p]=b),e},this.getEngine=function(){var e={};return e[d]=i,e[m]=i,Y.call(e,r,w.engine),e},this.getOS=function(){var e={};return e[d]=i,e[m]=i,Y.call(e,r,w.os),E&&!e[d]&&g&&g.platform&&"Unknown"!=g.platform&&(e[d]=g.platform.replace(/chrome os/i,H).replace(/macos/i,V)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>500?q(e,500):e,this},this.setUA(r),this};J.VERSION="1.0.38",J.BROWSER=G([d,m,c]),J.CPU=G([v]),J.DEVICE=G([f,h,p,g,y,w,b,E,_]),J.ENGINE=J.OS=G([d,m]),typeof t!==s?(e.exports&&(t=e.exports=J),t.UAParser=J):n.amdO?(r=function(){return J}.call(t,n,t,e))===i||(e.exports=r):typeof o!==s&&(o.UAParser=J);var Z=typeof o!==s&&(o.jQuery||o.Zepto);if(Z&&!Z.ua){var ee=new J;Z.ua=ee.getResult(),Z.ua.get=function(){return ee.getUA()},Z.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Z.ua[n]=t[n]}}}("object"==typeof window?window:this)},9602:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},320:(e,t,n)=>{"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var n=0,o=arguments.length;n<o;n++)t.push(arguments[n]);return t}function o(e,t,n){var r=t===e.head?new s(n,null,t,e):new s(n,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function i(e,t){e.tail=new s(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new s(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,t,n,r){if(!(this instanceof s))return new s(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}e.exports=r,r.Node=s,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)i(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;null!==n;r++)e.call(t,n.value,r,this),n=n.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;null!==n;r--)e.call(t,n.value,r,this),n=n.prev},r.prototype.get=function(e){for(var t=0,n=this.head;null!==n&&t<e;t++)n=n.next;if(t===e&&null!==n)return n.value},r.prototype.getReverse=function(e){for(var t=0,n=this.tail;null!==n&&t<e;t++)n=n.prev;if(t===e&&null!==n)return n.value},r.prototype.map=function(e,t){t=t||this;for(var n=new r,o=this.head;null!==o;)n.push(e.call(t,o.value,this)),o=o.next;return n},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r,o=this.tail;null!==o;)n.push(e.call(t,o.value,this)),o=o.prev;return n},r.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;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=e(n,r.value,o),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;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=e(n,r.value,o),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&o<e;o++)i=i.next;for(;null!==i&&o<t;o++,i=i.next)n.push(i.value);return n},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)n.push(i.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;null!==i&&r<e;r++)i=i.next;var a=[];for(r=0;i&&r<t;r++)a.push(i.value),i=this.removeNode(i);for(null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev),r=0;r<n.length;r++)i=o(this,i,n[r]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;null!==n;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};try{n(9602)(r)}catch(e){}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.amdO={},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AccessMode:()=>O,AppName:()=>U,BrowserName:()=>z,ChaynsHost:()=>fo,ChaynsProvider:()=>Yt,ColorMode:()=>D,DateType:()=>_,DeviceOs:()=>F,DialogAnimation:()=>W,DialogButtonType:()=>T,DialogHandler:()=>ee,DialogIconType:()=>q,DialogInputType:()=>k,DialogSelectType:()=>x,DialogType:()=>G,Environment:()=>H,FloatingButtonPosition:()=>N,Font:()=>V,Gender:()=>$,HydrationContext:()=>Bo,IconType:()=>P,Language:()=>M,MediaType:()=>B,RuntimeEnviroment:()=>j,ScanQrCodeCameraTypes:()=>R,ScanQrCodeCodeType:()=>L,ScreenSize:()=>I,SharingApp:()=>A,StaticChaynsApi:()=>qo,TappEvent:()=>C,ToastType:()=>S,WaitUntil:()=>Go,addAnonymousAccount:()=>lt,addGeoLocationListener:()=>he,addScrollListener:()=>me,addToolbarChangeListener:()=>ge,addVisibilityChangeListener:()=>ve,addWindowMetricsListener:()=>ye,createDialog:()=>at,customCallbackFunction:()=>be,default:()=>Oi,device:()=>bt,dialog:()=>e,environment:()=>St,getAccessToken:()=>we,getAvailableSharingServices:()=>Ee,getClientDeviceInfo:()=>X,getCurrentPage:()=>ft,getDevice:()=>dt,getDeviceInfo:()=>K,getEnvironment:()=>vt,getGeoLocation:()=>_e,getLanguage:()=>pt,getPage:()=>Po,getPages:()=>mt,getParameters:()=>ht,getScreenSize:()=>Q,getScrollPosition:()=>ke,getSite:()=>ct,getUser:()=>ut,getUserInfo:()=>Se,getWindowMetrics:()=>xe,invokeCall:()=>Te,invokeDialogCall:()=>Ie,isApp:()=>kt,isAppCallSupported:()=>xt,language:()=>wt,loadComponent:()=>lo,loadModule:()=>so,login:()=>Oe,logout:()=>Le,navigateBack:()=>Re,openImage:()=>Ne,openMedia:()=>Ae,openUrl:()=>Ce,openVideo:()=>Pe,pages:()=>_t,parameters:()=>Et,refreshAccessToken:()=>De,refreshData:()=>$e,removeGeoLocationListener:()=>Me,removeScrollListener:()=>Fe,removeToolbarChangeListener:()=>je,removeVisibilityChangeListener:()=>Ue,removeWindowMetricsListener:()=>ze,scrollByY:()=>Ve,scrollToY:()=>Ge,selectPage:()=>He,sendMessageToGroup:()=>Be,sendMessageToPage:()=>We,sendMessageToUser:()=>qe,setAdminMode:()=>Ye,setDisplayTimeout:()=>Xe,setFloatingButton:()=>Qe,setHeight:()=>Ke,setOverlay:()=>st,setRefreshScrollEnabled:()=>Je,setScanQrCode:()=>Ze,setTempDesignSettings:()=>et,setWaitCursor:()=>tt,site:()=>yt,storageGetItem:()=>nt,storageRemoveItem:()=>rt,storageSetItem:()=>ot,useAccessToken:()=>Oo,useCurrentPage:()=>Fo,useCustomData:()=>Uo,useDevice:()=>Lo,useDialogData:()=>Ho,useDialogState:()=>zo,useEnvironment:()=>$o,useFunctions:()=>jo,useGeoLocation:()=>bo,useGeoLocationListener:()=>yo,useIsAdminMode:()=>To,useLanguage:()=>Do,usePage:()=>Co,usePages:()=>Ao,useParameters:()=>No,useScrollListener:()=>_o,useScrollOffsetBottom:()=>xo,useScrollOffsetTop:()=>ko,useScrollPosition:()=>So,useSite:()=>Ro,useUser:()=>Io,useValues:()=>Mo,useWindowMetrics:()=>Eo,useWindowMetricsListener:()=>wo,user:()=>gt,vibrate:()=>it,withCompatMode:()=>go,withHydrationBoundary:()=>Wo});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{_chaynsCallResponder:()=>_i,addDialogDataListener:()=>bi,advancedDate:()=>si,alert:()=>ei,buttonText:()=>Qo,buttonType:()=>Ko,close:()=>pi,confirm:()=>ti,date:()=>ai,dateType:()=>li,dropUpAlert:()=>hi,fileSelect:()=>xi,fileType:()=>ki,iFrame:()=>Ei,input:()=>fi,inputType:()=>di,mediaSelect:()=>Si,removeDialogDataListener:()=>wi,select:()=>oi,selectType:()=>ii,sendData:()=>mi,signature:()=>Ii,toast:()=>Ti}),__webpack_require__(3948);const t=Symbol("Comlink.proxy"),n=Symbol("Comlink.endpoint"),r=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.thrown"),i=e=>"object"==typeof e&&null!==e||"function"==typeof e,a=new Map([["proxy",{canHandle:e=>i(e)&&e[t],serialize(e){const{port1:t,port2:n}=new MessageChannel;return s(e,t),[n,[n]]},deserialize:e=>(e.start(),u(e))}],["throw",{canHandle:e=>i(e)&&o in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function s(e,t=self){t.addEventListener("message",(function n(r){if(!r||!r.data)return;const{id:i,type:a,path:u}=Object.assign({path:[]},r.data),c=(r.data.argumentList||[]).map(g);let f;try{const t=u.slice(0,-1).reduce(((e,t)=>e[t]),e),n=u.reduce(((e,t)=>e[t]),e);switch(a){case"GET":f=n;break;case"SET":t[u.slice(-1)[0]]=g(r.data.value),f=!0;break;case"APPLY":f=n.apply(t,c);break;case"CONSTRUCT":f=h(new n(...c));break;case"ENDPOINT":{const{port1:t,port2:n}=new MessageChannel;s(e,n),f=function(e,t){return p.set(e,t),e}(t,[t])}break;case"RELEASE":f=void 0;break;default:return}}catch(e){f={value:e,[o]:0}}Promise.resolve(f).catch((e=>({value:e,[o]:0}))).then((e=>{const[r,o]=v(e);t.postMessage(Object.assign(Object.assign({},r),{id:i}),o),"RELEASE"===a&&(t.removeEventListener("message",n),l(t))}))})),t.start&&t.start()}function l(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function u(e,t){return f(e,[],t)}function c(e){if(e)throw new Error("Proxy has been released and is not useable")}function f(e,t=[],o=function(){}){let i=!1;const a=new Proxy(o,{get(n,o){if(c(i),o===r)return()=>y(e,{type:"RELEASE",path:t.map((e=>e.toString()))}).then((()=>{l(e),i=!0}));if("then"===o){if(0===t.length)return{then:()=>a};const n=y(e,{type:"GET",path:t.map((e=>e.toString()))}).then(g);return n.then.bind(n)}return f(e,[...t,o])},set(n,r,o){c(i);const[a,s]=v(o);return y(e,{type:"SET",path:[...t,r].map((e=>e.toString())),value:a},s).then(g)},apply(r,o,a){c(i);const s=t[t.length-1];if(s===n)return y(e,{type:"ENDPOINT"}).then(g);if("bind"===s)return f(e,t.slice(0,-1));const[l,u]=d(a);return y(e,{type:"APPLY",path:t.map((e=>e.toString())),argumentList:l},u).then(g)},construct(n,r){c(i);const[o,a]=d(r);return y(e,{type:"CONSTRUCT",path:t.map((e=>e.toString())),argumentList:o},a).then(g)}});return a}function d(e){const t=e.map(v);return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))];var n}const p=new WeakMap;function h(e){return Object.assign(e,{[t]:!0})}function m(e,t=self,n="*"){return{postMessage:(t,r)=>e.postMessage(t,n,r),addEventListener:t.addEventListener.bind(t),removeEventListener:t.removeEventListener.bind(t)}}function v(e){for(const[t,n]of a)if(n.canHandle(e)){const[r,o]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},o]}return[{type:"RAW",value:e},p.get(e)||[]]}function g(e){switch(e.type){case"HANDLER":return a.get(e.name).deserialize(e.value);case"RAW":return e.value}}function y(e,t,n){return new Promise((r=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),r(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)}))}a.set("FUNCTION",{canHandle:e=>e&&"object"==typeof e&&Object.values(e).some((e=>"function"==typeof e)),serialize(e){e._functionKeys=[];const t=[];return Object.entries(e).forEach((([n,r])=>{if("function"==typeof r){const{port1:r,port2:o}=new MessageChannel;e._functionKeys.push(n),s(e[n],r),e[n]=o,t.push(o)}})),[e,t]},deserialize:e=>(e._functionKeys.forEach((t=>{e[t]instanceof MessagePort&&(e[t].start(),e[t]=u(e[t]))})),e)});var b=__webpack_require__(4608),w=__webpack_require__.n(b),E=__webpack_require__(7294);let _=function(e){return e[e.DATE=0]="DATE",e[e.TIME=1]="TIME",e[e.DATE_TIME=2]="DATE_TIME",e}({}),S=function(e){return e[e.NEUTRAL=1]="NEUTRAL",e[e.SUCCESS=2]="SUCCESS",e[e.WARNING=3]="WARNING",e[e.ERROR=4]="ERROR",e}({}),k=function(e){return e.NUMBER="number",e.PASSWORD="password",e.TELEPHONE="tel",e.TEXT="text",e.TEXTAREA="textarea",e}({}),x=function(e){return e[e.DEFAULT=0]="DEFAULT",e[e.ICON=1]="ICON",e[e.IMAGE=2]="IMAGE",e[e.SIMPLE=3]="SIMPLE",e}({}),T=function(e){return e[e.OK=1]="OK",e[e.CANCEL=-1]="CANCEL",e[e.NEGATIVE=0]="NEGATIVE",e}({}),I=function(e){return e[e.XS=0]="XS",e[e.SM=1]="SM",e[e.MD=2]="MD",e[e.LG=3]="LG",e[e.XL=4]="XL",e}({}),O=function(e){return e[e.public=0]="public",e[e.protected=1]="protected",e[e.private=2]="private",e}({}),L=function(e){return e[e.QR=0]="QR",e[e.BARCODE=0]="BARCODE",e[e.ALL=2]="ALL",e}({}),R=function(e){return e[e.AUTO=0]="AUTO",e[e.BACK=1]="BACK",e[e.FRONT=2]="FRONT",e}({}),N=function(e){return e[e.Right=0]="Right",e[e.Center=1]="Center",e[e.Left=2]="Left",e}({}),A=function(e){return e[e.Mail=0]="Mail",e[e.WhatsApp=1]="WhatsApp",e[e.Facebook=2]="Facebook",e[e.FacebookMessenger=3]="FacebookMessenger",e[e.GooglePlus=4]="GooglePlus",e[e.Twitter=5]="Twitter",e}({}),C=function(e){return e[e.OnShow=0]="OnShow",e[e.OnHide=1]="OnHide",e[e.OnRefresh=2]="OnRefresh",e[e.OnOpenCcScanner=3]="OnOpenCcScanner",e[e.OnCloseCcScanner=4]="OnCloseCcScanner",e}({}),P=function(e){return e[e.Font=0]="Font",e[e.Base64=1]="Base64",e[e.Url=2]="Url",e}({}),$=function(e){return e[e.Unknown=0]="Unknown",e[e.male=1]="male",e[e.female=2]="female",e[e.diverse=9]="diverse",e}({}),D=function(e){return e[e.Classic=0]="Classic",e[e.Dark=1]="Dark",e[e.Light=2]="Light",e}({}),M=function(e){return e.Unknown="unknown",e.German="de",e.English="en",e.Dutch="nl",e.French="fr",e.Spanish="es",e.Italian="it",e.Portuguese="pt",e.Turkish="tr",e.Polish="pl",e.Ukrainian="uk",e}({}),j=function(e){return e[e.Unknown=0]="Unknown",e[e.ChaynsDe=1]="ChaynsDe",e[e.ChaynsWeb=2]="ChaynsWeb",e[e.ChaynsRuntime=3]="ChaynsRuntime",e[e.IntercomPlugin=4]="IntercomPlugin",e[e.PagemakerPlugin=5]="PagemakerPlugin",e}({}),F=function(e){return e.Unknown="unknown",e.Android="android",e.IOS="ios",e.Windows="windows",e.MacOs="macos",e.Linux="linux",e}({}),U=function(e){return e[e.Unknown=0]="Unknown",e[e.David=1]="David",e[e.Chayns=2]="Chayns",e[e.Location=3]="Location",e[e.Intercom=4]="Intercom",e[e.ChaynsLauncher=5]="ChaynsLauncher",e[e.TobitChat=6]="TobitChat",e[e.Sidekick=7]="Sidekick",e[e.Team=8]="Team",e}({}),z=function(e){return e.Unknown="unknown",e.Chrome="chrome",e.Safari="safari",e.Firefox="firefox",e.Edge="edge",e}({}),H=function(e){return e[e.Development=0]="Development",e[e.Qa=1]="Qa",e[e.Staging=2]="Staging",e[e.Production=3]="Production",e}({}),V=function(e){return e[e.Unknown=0]="Unknown",e[e.Roboto=1]="Roboto",e[e.OpenSans=2]="OpenSans",e[e.Lato=3]="Lato",e[e.SourceSansPro=4]="SourceSansPro",e[e.Ubuntu=5]="Ubuntu",e[e.Cabin=6]="Cabin",e[e.Merriweather=7]="Merriweather",e[e.NotoSerif=8]="NotoSerif",e[e.PTSerif=9]="PTSerif",e[e.DroidSerif=10]="DroidSerif",e[e.Muli=11]="Muli",e[e.Poppins=12]="Poppins",e[e.RobotoCondensed=13]="RobotoCondensed",e[e.Anton=14]="Anton",e[e.ArchitectsDaughter=15]="ArchitectsDaughter",e[e.DMSerifDisplay=16]="DMSerifDisplay",e[e.Pacifico=17]="Pacifico",e[e.PermanentMarker=18]="PermanentMarker",e[e.Questrial=19]="Questrial",e[e.RobotoSlab=20]="RobotoSlab",e[e.ShadowsIntoLightTwo=21]="ShadowsIntoLightTwo",e[e.WaitingForTheSunrise=22]="WaitingForTheSunrise",e[e.RobotoMedium=23]="RobotoMedium",e[e.TobitHeadline=24]="TobitHeadline",e[e.RobotoBold=25]="RobotoBold",e[e.RobotoRegular=26]="RobotoRegular",e[e.Inter=27]="Inter",e}({}),G=function(e){return e.ALERT="alert",e.CONFIRM="confirm",e.DATE="date",e.FILE_SELECT="fileSelect",e.IFRAME="iframe",e.MODULE="module",e.INPUT="input",e.SELECT="select",e.TOAST="toast",e.SIGNATURE="signature",e}({}),B=function(e){return e.IMAGE="image",e.VIDEO="video",e}({}),W=function(e){return e.CONFETTI="confetti",e}({}),q=function(e){return e.SuccessIcon="%%DialogSuccessIcon%%",e.WarningIcon="%%DialogWarningIcon%%",e.ErrorIcon="%%DialogErrorIcon%%",e}({});var Y=__webpack_require__(2238);const X=()=>({isTouch:navigator.maxTouchPoints>0&&window.matchMedia("(pointer: coarse)").matches}),Q=e=>{let t;return t=e>1200?I.XL:e>993?I.LG:e>769?I.MD:e>556?I.SM:I.XS,t},K=(e,t)=>{var n,r,o,i,a,s,l;const u=new Y.UAParser(e);let c=U.Unknown;const f=/(?:my)?chayns\/(?<version>\d+).*(?<siteId>\d{5}-\d{5})/i.exec(e),d=/\s(?<name>intercom|sidekick|team)\/(?<version>\d+)/i.exec(e);/\sintercom\/\d+/i.test(e)?c=U.TobitChat:/\ssidekick\/\d+/i.test(e)?c=U.Sidekick:/\steam\/\d+/i.test(e)?c=U.Team:"60021-08989"===(null==f||null==(n=f.groups)?void 0:n.siteId)?c=U.Chayns:"77892-10814"===(null==f||null==(r=f.groups)?void 0:r.siteId)?c=U.David:f?c=U.Location:/dface|h96pp|h96max|jabiru|chaynsterminal|wayter|odroidn2p/i.test(e)&&(c=U.ChaynsLauncher);let p=null!=f&&f.groups?Number.parseInt(f.groups.version,10):NaN;null!=d&&null!=(o=d.groups)&&o.version&&(p=Number.parseInt(d.groups.version,10));const h={},m=u.getBrowser();if(h.browser={name:null==m?void 0:m.name,version:null==m?void 0:m.version,majorVersion:Number.parseInt(null!=(i=null==m||null==(a=m.version)?void 0:a.split(".")[0])?i:"0",10)||0,isWebPSupported:t.includes("image/webp")},h.app={name:c,version:null!=f&&f.groups?Number.parseInt(f.groups.version,10):NaN,appVersion:p,callVersion:null!=f&&f.groups?Number.parseInt(f.groups.version,10):NaN},h.imei=void 0,h.engine=u.getEngine(),h.os="Android"===(null==(s=u.getOS())?void 0:s.name)?"Android OS":null==(l=u.getOS())?void 0:l.name,"undefined"!=typeof window)h.screenSize=Q(window.innerWidth),h.isTouch=X().isTouch;else{const t=/mobi/i.test(e)?I.SM:I.XL;h.screenSize=c!==U.Unknown?I.XS:t}return h};__webpack_require__(5306),__webpack_require__(285),__webpack_require__(3753),__webpack_require__(1637);var J=__webpack_require__(3096),Z=__webpack_require__.n(J);let ee=function(){function e(e,t,n,r,o){this.dialogId=void 0,this.isOpen=!1,this.result=void 0,this._open=void 0,this._close=void 0,this._config=void 0,this._dispatchEvent=void 0,this._addDataListener=void 0,this.listeners=[],this._open=t,this._close=n,this._config=e,this._dispatchEvent=r,this._addDataListener=o}var t=e.prototype;return t.open=async function(){if(this.isOpen)throw new Error("cannot open a dialog which is already open");const e=await new Promise((async e=>{this.isOpen=!0,this.dialogId=await this._open(this._config,(t=>{this.isOpen=!1,e(t)})),this._addDataListener(this.dialogId,(e=>{this.listeners.forEach((t=>t(e)))}))}));return this.result=e},t.close=function(e,t){this.isOpen&&(this.isOpen=!1,this._close(this.dialogId,t,e))},t.dispatchEvent=function(e){this.isOpen&&this._dispatchEvent(this.dialogId,e)},t.addDataListener=function(e){this.listeners.push(e)},t.removeDataListener=function(e){const t=this.listeners.findIndex((t=>t===e));t>-1&&this.listeners.splice(t,1)},t.getResult=function(){return this.result},e}();const te=e=>{var t,n,r;if(e=JSON.stringify(e),null!=(t=window.webkit)&&null!=(t=t.messageHandlers)&&t.jsonCall)window.webkit.messageHandlers.jsonCall.postMessage(e);else if(null!=(n=window.chaynsApp)&&n.jsonCall)window.chaynsApp.jsonCall(e);else{if(null==(r=window.chaynsElectron)||!r.jsonCall)throw new Error("jsoncall interface not found");window.chaynsElectron.jsonCall(e)}},ne=async(e,t)=>{var n;const r=null!=(n=t.personId)?n:t.userId;if(!r)throw new Error("Invalid Parameters - You have to provide at least one of these Parameters: userId, personId");const{accessToken:o}=await e.functions.getAccessToken();if(!o)throw new Error("get user info requires a user to be logged in");const i=await fetch(`https://relations.chayns.net/relations/user/findUser?searchString=${r}`,{headers:{authorization:`bearer ${o}`}});if(i.ok){const e=await i.json();return 0===e.length?null:{firstName:e[0].firstName,lastName:e[0].lastName,userId:e[0].userId,personId:e[0].personId,name:e[0].name}}throw new Error(`getUserInfo failed with status ${i.status}`)},re=async(e,t,n)=>{var r;if(!t.text)return Promise.reject(new Error("no text specified"));const o=null==(r=e.values.user)?void 0:r.userId;if(void 0===o)return Promise.reject(new Error("missing sender user id"));const{accessToken:i}=await e.functions.getAccessToken();return i&&i?ae(`/user/${o}/message`,i,{receivers:[{tobitId:n}],message:{images:Array.isArray(t.images)?t.images.map((e=>({url:e}))):[],text:t.text,typeId:1}}):Promise.reject(new Error("send message requires a user to be logged in"))},oe=async(e,t)=>{var n;if(!t.text)return Promise.reject(new Error("no text specified"));const r=null==(n=e.values.user)?void 0:n.userId;if(void 0===r)return Promise.reject(new Error("missing sender user id"));const{accessToken:o}=await e.functions.getAccessToken();if(!o)return Promise.reject(new Error("send message requires a user to be logged in"));const i=Array.isArray(t.images)?t.images.map((e=>({url:e}))):[];return ae(`/user/${r}/message`,o,{receivers:[{locationId:e.values.site.locationId}],message:{images:i,text:t.text,typeId:1}})},ie=async(e,t,n)=>{if(!t.text)return Promise.reject(new Error("no text specified"));const{accessToken:r}=await e.functions.getAccessToken(),{locationId:o}=e.values.site;return r?ae(`/location/${o}/broadcast`,r,{receivers:[{groupId:n}],message:{images:Array.isArray(t.images)?t.images.map((e=>({url:e}))):[],text:t.text,typeId:6}}):Promise.reject(new Error("send message requires a user to be logged in"))};function ae(e,t,n){return fetch(`https://sub54.tobit.com/rest/api${e}`,{method:"POST",headers:{authorization:`bearer ${t}`,"Content-Type":"application/json"},body:JSON.stringify(n)})}const se={};let le=0;const ue=(e,t)=>{const n=++le;se[e]||(se[e]={});const r=0===Object.keys(se[e]).length;return se[e][le]=t,{id:n,shouldInitialize:r}},ce=(e,t)=>(se[e]&&delete se[e][t],0===Object.keys(se[e]).length),fe=(e,t)=>{se[e]&&Object.values(se[e]).forEach((e=>e(t)))};let de=function(e){return e[e.de=1]="de",e[e.en=2]="en",e[e.fr=3]="fr",e[e.it=4]="it",e[e.nl=5]="nl",e[e.es=6]="es",e[e.pt=7]="pt",e[e.tr=8]="tr",e[e.pl=9]="pl",e[e.uk=10]="uk",e}({});const pe={current:void 0},he=(...e)=>{var t;return(t=pe.current.functions).addGeoLocationListener.apply(t,e)},me=(...e)=>{var t;return(t=pe.current.functions).addScrollListener.apply(t,e)},ve=(...e)=>{var t;return(t=pe.current.functions).addVisibilityChangeListener.apply(t,e)},ge=(...e)=>{var t;return(t=pe.current.functions).addToolbarChangeListener.apply(t,e)},ye=(...e)=>{var t;return(t=pe.current.functions).addWindowMetricsListener.apply(t,e)},be=(...e)=>{var t;return(t=pe.current.functions).customCallbackFunction.apply(t,e)},we=(...e)=>{var t;return(t=pe.current.functions).getAccessToken.apply(t,e)},Ee=(...e)=>{var t;return(t=pe.current.functions).getAvailableSharingServices.apply(t,e)},_e=(...e)=>{var t;return(t=pe.current.functions).getGeoLocation.apply(t,e)},Se=(...e)=>{var t;return(t=pe.current.functions).getUserInfo.apply(t,e)},ke=(...e)=>{var t;return(t=pe.current.functions).getScrollPosition.apply(t,e)},xe=(...e)=>{var t;return(t=pe.current.functions).getWindowMetrics.apply(t,e)},Te=(...e)=>{var t;return(t=pe.current.functions).invokeCall.apply(t,e)},Ie=(...e)=>{var t;return(t=pe.current.functions).invokeDialogCall.apply(t,e)},Oe=(...e)=>{var t;return(t=pe.current.functions).login.apply(t,e)},Le=(...e)=>{var t;return(t=pe.current.functions).logout.apply(t,e)},Re=(...e)=>{var t;return(t=pe.current.functions).navigateBack.apply(t,e)},Ne=(...e)=>{var t;return(t=pe.current.functions).openImage.apply(t,e)},Ae=(...e)=>{var t;return(t=pe.current.functions).openMedia.apply(t,e)},Ce=(...e)=>{var t;return(t=pe.current.functions).openUrl.apply(t,e)},Pe=(...e)=>{var t;return(t=pe.current.functions).openVideo.apply(t,e)},$e=(...e)=>{var t;return(t=pe.current.functions).refreshData.apply(t,e)},De=(...e)=>{var t;return(t=pe.current.functions).refreshAccessToken.apply(t,e)},Me=(...e)=>{var t;return(t=pe.current.functions).removeGeoLocationListener.apply(t,e)},je=(...e)=>{var t;return(t=pe.current.functions).removeToolbarChangeListener.apply(t,e)},Fe=(...e)=>{var t;return(t=pe.current.functions).removeScrollListener.apply(t,e)},Ue=(...e)=>{var t;return(t=pe.current.functions).removeVisibilityChangeListener.apply(t,e)},ze=(...e)=>{var t;return(t=pe.current.functions).removeWindowMetricsListener.apply(t,e)},He=(...e)=>{var t;return(t=pe.current.functions).selectPage.apply(t,e)},Ve=(...e)=>{var t;return(t=pe.current.functions).scrollByY.apply(t,e)},Ge=(...e)=>{var t;return(t=pe.current.functions).scrollToY.apply(t,e)},Be=(...e)=>{var t;return(t=pe.current.functions).sendMessageToGroup.apply(t,e)},We=(...e)=>{var t;return(t=pe.current.functions).sendMessageToPage.apply(t,e)},qe=(...e)=>{var t;return(t=pe.current.functions).sendMessageToUser.apply(t,e)},Ye=(...e)=>{var t;return(t=pe.current.functions).setAdminMode.apply(t,e)},Xe=(...e)=>{var t;return(t=pe.current.functions).setDisplayTimeout.apply(t,e)},Qe=(...e)=>{var t;return(t=pe.current.functions).setFloatingButton.apply(t,e)},Ke=(...e)=>{var t;return(t=pe.current.functions).setHeight.apply(t,e)},Je=(...e)=>{var t;return(t=pe.current.functions).setRefreshScrollEnabled.apply(t,e)},Ze=(...e)=>{var t;return(t=pe.current.functions).setScanQrCode.apply(t,e)},et=(...e)=>{var t;return(t=pe.current.functions).setTempDesignSettings.apply(t,e)},tt=(...e)=>{var t;return(t=pe.current.functions).setWaitCursor.apply(t,e)},nt=(...e)=>{var t;return(t=pe.current.functions).storageGetItem.apply(t,e)},rt=(...e)=>{var t;return(t=pe.current.functions).storageRemoveItem.apply(t,e)},ot=(...e)=>{var t;return(t=pe.current.functions).storageSetItem.apply(t,e)},it=(...e)=>{var t;return(t=pe.current.functions).vibrate.apply(t,e)},at=e=>pe.current.functions.createDialog(e),st=(...e)=>{var t;return(t=pe.current.functions).setOverlay.apply(t,e)},lt=()=>pe.current.functions.addAnonymousAccount(),ut=()=>pe.current.values.user,ct=()=>pe.current.values.site,ft=()=>pe.current.values.currentPage,dt=()=>pe.current.values.device,pt=()=>pe.current.values.language,ht=()=>pe.current.values.parameters,mt=()=>pe.current.values.pages,vt=()=>pe.current.values.environment,gt=new Proxy({},{get:(e,t)=>{var n;return console.warn("Deprecated user import"),null==(n=pe.current.values.user)?void 0:n[t]}}),yt=new Proxy({},{get:(e,t)=>{var n;return console.warn("Deprecated site import"),null==(n=pe.current.values.site)?void 0:n[t]}}),bt=new Proxy({},{get:(e,t)=>{var n;return console.warn("Deprecated device import"),null==(n=pe.current.values.device)?void 0:n[t]}}),wt=new Proxy({},{get:(e,t)=>{var n;return console.warn("Deprecated language import"),null==(n=pe.current.values.language)?void 0:n[t]}}),Et=new Proxy({},{get:(e,t)=>{var n;return console.warn("Deprecated parameters import"),null==(n=pe.current.values.parameters)?void 0:n[t]}}),_t=new Proxy({},{get:(e,t)=>{var n;return console.warn("Deprecated pages import"),null==(n=pe.current.values.pages)?void 0:n[t]}}),St=new Proxy({},{get:(e,t)=>{var n;return console.warn("Deprecated environment import"),null==(n=pe.current.values.environment)?void 0:n[t]}}),kt=()=>{var e,t;return(null!=(e=null==(t=dt().app)?void 0:t.name)?e:U.Unknown)!==U.Unknown},xt=({minAndroidVersion:e=1,minIOSVersion:t=1})=>{var n;if(!kt())return!1;const r=dt();return!(null==(n=r.app)||!n.callVersion||isNaN(r.app.callVersion))&&(r.os&&["iOS","Mac OS"].includes(r.os)?r.app.callVersion>=t:"Android OS"===r.os&&r.app.callVersion>=e)};let Tt=0,It=function(){function e(){this.values=null,this.accessToken="",this.counter=0,this.functions={getAccessToken:async()=>({accessToken:this.accessToken}),addGeoLocationListener:async(e,t)=>{const{id:n,shouldInitialize:r}=ue("geoLocationListener",t);return r&&this.appCall(14,{permanent:!0},{callback:e=>{var t,n,r;fe("geoLocationListener",{latitude:e.latitude,longitude:e.longitude,accuracy:null!=(t=e.accuracy)?t:null,speed:e.speed,isAccurate:null!=(n=e.isAccurate)?n:null,code:null!=(r=e.code)?r:null})}}),n},addScrollListener:async(e,t)=>{let n=t;e.throttle&&(n=Z()(t,e.throttle));const{id:r,shouldInitialize:o}=ue("scrollListener",n);return o&&window.addEventListener("scroll",this.scrollListener=()=>{(async()=>{fe("scrollListener",{scrollX:window.scrollX,scrollY:window.scrollY})})()}),r},addVisibilityChangeListener:async e=>{const{id:t,shouldInitialize:n}=ue("visibilityChangeListener",e);return n&&this.appCall(60,{},{callback:e=>{fe("visibilityChangeListener",{isVisible:e.tappEvent===C.OnShow,tappEvent:e.tappEvent})}}),t},addToolbarChangeListener:async e=>{const{id:t,shouldInitialize:n}=ue("toolbarChangeListener",e);return n&&this.appCall(293,{},{callback:e=>{fe("toolbarChangeListener",{isVisible:e.isVisible,toolbarHeight:e.toolbarHeight})}}),t},addWindowMetricsListener:async e=>{const{id:t,shouldInitialize:n}=ue("windowMetricsListener",e);return n&&window.addEventListener("resize",this.resizeListener=()=>{(async()=>{fe("windowMetricsListener",await this.functions.getWindowMetrics())})()}),t},customCallbackFunction:async()=>{this.notImplemented("customCallbackFunction")},getAvailableSharingServices:async()=>{const e=await this.appCall(79);return{availableSharingApps:e.availableSharingApps,availableAndroidApps:e.availableAndroidApps}},getGeoLocation:async()=>{var e,t,n;const r=await this.appCall(14);return{latitude:r.latitude,longitude:r.longitude,speed:r.speed,accuracy:null!=(e=r.accuracy)?e:null,isAccurate:null!=(t=r.isAccurate)?t:null,code:null!=(n=r.code)?n:null}},getUserInfo:async e=>ne(this,e),getScrollPosition:async()=>({scrollX:window.scrollX,scrollY:window.scrollY}),getWindowMetrics:async()=>({bottomBarHeight:0,windowHeight:window.innerHeight,offsetTop:0,pageHeight:window.innerHeight,pageSize:Q(window.innerWidth),pageWidth:window.innerWidth,topBarHeight:0}),invokeCall:async(e,t)=>this.appCall(e.action,e.value,{callback:t}),invokeDialogCall:async(e,t)=>{const n="chaynsApiV5Callback_"+this.counter++;window[n]=({retVal:e})=>{null==t||t(e),delete window[n]};const r={...e,value:{...e.value,callback:n}};te(r)},login:async(e,t,n)=>{const r=await this.appCall(54,e);return{loginState:null==r?void 0:r.loginState}},logout:async()=>{this.appCall(56,void 0,{awaitResult:!1})},navigateBack:async()=>{this.appCall(20,void 0,{awaitResult:!1})},openImage:async e=>{this.appCall(4,{urls:e.items.map((e=>e.url)),items:e.items.map((e=>({url:e.url,title:e.title,description:e.description,preventCache:e.preventCache}))),startIndex:e.startIndex},{awaitResult:!1})},openUrl:async e=>{window.open(e.url)},openVideo:async e=>{this.appCall(15,{url:e.url},{awaitResult:!1})},refreshAccessToken:async()=>{this.appCall(55,void 0,{awaitResult:!1})},refreshData:async e=>{this.notImplemented("refreshData")},removeGeoLocationListener:async e=>{const{shouldRemove:t}=ce("geoLocationListener",e)},removeScrollListener:async e=>{const{shouldRemove:t}=ce("scrollListener",e);t&&this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener),this.scrollListener=null)},removeVisibilityChangeListener:async e=>{const{shouldRemove:t}=ce("visibilityChangeListener",e)},removeToolbarChangeListener:async e=>{const{shouldRemove:t}=ce("toolbarChangeListener",e)},removeWindowMetricsListener:async e=>{ce("windowMetricsListener",e)&&(this.exposedFunctions.removeWindowMetricsListener(e),this.resizeListener&&window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},selectPage:async e=>{var t,n;if(null!=(t=this.values)&&null!=(t=t.site)&&t.id&&e.siteId&&e.siteId!==(null==(n=this.values)||null==(n=n.site)?void 0:n.id)){const t=new URL(`https://chayns.site/${e.siteId}`);return e.id?t.pathname+=`/tapp/${e.id}`:e.path&&(t.pathname+=`/${e.path}`),e.params&&Object.entries(e.params).forEach((([e,n])=>{t.searchParams.set(e,n)})),void this.appCall(9,{url:t.toString(),checkForChaynsSite:!0})}this.appCall(2,{id:e.id,showName:e.showName,position:e.position,params:new URLSearchParams(e.params).toString()||void 0},{awaitResult:!1})},scrollToY:async e=>{window.scrollTo({top:e})},scrollByY:(e,t)=>{window.scrollBy({top:e})},sendMessageToGroup:async(e,t)=>ie(this,t,e),sendMessageToPage:async e=>oe(this,e),sendMessageToUser:async(e,t)=>re(this,t,e),setAdminMode:async()=>{this.notImplemented("setAdminMode")},setDisplayTimeout:async e=>(this.appCall(94,{enabled:e},{awaitResult:!1}),{isEnabled:e}),setFloatingButton:async(e,t)=>{await this.appCall(72,{text:e.text,textSize:e.textSize,badge:e.badge,color:e.color,colorText:e.colorText,icon:e.icon,enabled:e.isEnabled,position:e.position},t)},setHeight:async()=>{this.notImplemented("setOverlay")},setOverlay:async()=>{this.notImplemented("setOverlay")},setRefreshScrollEnabled:async e=>(this.appCall(0,{enabled:e},{awaitResult:!1}),{isEnabled:e}),setScanQrCode:async e=>await this.appCall(34,e),setTempDesignSettings:async()=>{this.notImplemented("setTempDesignSettings")},setWaitCursor:async e=>{this.appCall(1,{enabled:e.isEnabled,text:e.text,timeout:e.timeout,progress:e.progress,progressText:e.progressText,disappearTimeout:e.disappearTimeout},{awaitResult:!1})},storageGetItem:async(e,t)=>{const n=await this.appCall(74,{key:e,accessMode:t});return null==n?void 0:n.object},storageRemoveItem:async(e,t)=>{this.appCall(73,{key:e,accessMode:t},{awaitResult:!1})},storageSetItem:async(e,t,n,r)=>{this.appCall(73,{key:e,object:t,accessMode:n,tappIDs:r},{awaitResult:!1})},vibrate:async e=>{this.appCall(19,e,{awaitResult:!1})},createDialog:e=>new ee(e,this.functions.openDialog,this.functions.closeDialog,this.functions.dispatchEventToDialogClient,this.functions.addDialogClientEventListener),openDialog:async(e,t)=>{const n=Tt++,r=xt({minAndroidVersion:7137,minIOSVersion:6934});return this.appCall(184,{dialogContent:{apiVersion:5,config:e},externalDialogUrl:r?void 0:"https://tapp.chayns-static.space/api/dialog-v2/v1/index.html"},{awaitResult:!0}).then((e=>{t(e)})),n},closeDialog:(e,t,n=-1)=>{const r=this.dialogs.find((t=>t.dialogId===e));r&&r.resolve({buttonType:n,result:t})},dispatchEventToDialogClient:()=>this.notImplemented("dispatchEventToDialogClient"),addDialogClientEventListener:()=>this.notImplemented("addDialogClientEventListener"),addAnonymousAccount:async()=>this.appCall(302)},this.dialogs=[]}var t=e.prototype;return t.mapOldApiToNew=function(e){var t,n,r,o;const{AppInfo:i,AppUser:a,Device:s}=e;this.accessToken=a.TobitAccessToken;const l=new URLSearchParams(location.search),u=new URLSearchParams(location.search.toLowerCase());let c=u.get("tappid"),f=u.get("colormode"),d=i.color;if(f)try{f=Number.parseInt(f,10)}catch{}if(c)try{c=Number.parseInt(c,10)}catch{}let p=i.Language;p||(p=de[Number.parseInt(null==s?void 0:s.LanguageID,10)]||"de"),!d&&u.has("color")&&(d=u.get("color"),d.startsWith("#")||(d=`#${d}`));let h=a.TobitUserID;if("string"==typeof h)try{h=Number.parseInt(h,10)}catch{}return{device:K(navigator.userAgent,"image/webp"),environment:{buildEnvironment:H.Production,runtimeEnvironment:j.Unknown},language:{site:p,translation:null,device:p,active:p},site:{id:i.SiteID,locationId:i.LocationID,url:null==(t=window)?void 0:t.location.href.split("#")[0],layoutDisposition:{contentWide:!1,barOnTop:!1,barWide:!1,coverDetached:!1,coverHidden:!1,coverWide:!1,docked:!1},title:i.Title,colorMode:null!=(n=f)?n:i.colorMode,color:d,domain:i.domain,font:{id:V.Roboto,headlineFont:V.Roboto,dynamicFontSize:!1},dynamicFontSize:!1,locationPersonId:i.LocationPersonId,urlHash:null==(r=window)?void 0:r.location.hash.replace("#","")},parameters:Object.fromEntries(l),user:{firstName:a.FirstName,lastName:a.LastName,gender:$.Unknown,userId:h,personId:a.PersonID,uacGroups:[]},customData:null,isAdminModeActive:a.AdminMode,currentPage:{id:c||(null==(o=i.TappSelected)?void 0:o.TappID),siteId:i.SiteID},pages:i.Tapps.map((e=>({id:e.TappID,icon:"",iconType:P.Font,customUrl:"",isExclusive:e.isExclusiveView,isHiddenFromMenu:e.isHiddenFromMenu,minAge:null,name:e.ShowName,sortId:e.SortUID})))}},t.notImplemented=function(e){console.warn(`call ${e} not implement in app`)},t.appCall=function(e,t={},{callback:n,awaitResult:r=!0}={}){if(r)return new Promise((r=>{const o="chaynsApiV5Callback_"+this.counter++;window[o]=e=>{var t,i;n?n(null!=(i=null==e?void 0:e.retVal)?i:e):delete window[o],r(null!=(t=null==e?void 0:e.retVal)?t:e)},t.callback="window."+o,te({action:e,value:t})}));te({action:e,value:t})},t.init=async function(){this.values=this.mapOldApiToNew(await this.appCall(18)),this.appCall(66,{enabled:!0},{callback:async()=>{this.values=this.mapOldApiToNew(await this.appCall(18)),document.dispatchEvent(new CustomEvent("chayns_api_data",{detail:{type:"user",value:this.values.user}}))},awaitResult:!0}),window.disablev4DesignSettingsChangeListener=!0,this.appCall(254,{enabled:!0},{callback:({colorMode:e})=>{this.values.site={...this.values.site,colorMode:e},document.dispatchEvent(new CustomEvent("chayns_api_data",{detail:{type:"site",value:this.values.site}}))},awaitResult:!0})},t.getSSRData=function(){return null},t.addDataListener=function(e){const t=t=>t.detail&&e(t.detail);return document.addEventListener("chayns_api_data",t),()=>{document.removeEventListener("chayns_api_data",t)}},t.getInitialData=function(){return this.values},e}();const Ot="visibilityChangeListener",Lt=()=>{fe(Ot,{isVisible:!document.hidden})},Rt=e=>{const{id:t,shouldInitialize:n}=ue(Ot,e);return n&&document.addEventListener("visibilitychange",Lt),t},Nt=e=>{ce(Ot,e)&&document.removeEventListener("addVisibilityChangeListener",Lt)};let At=function(){function e(){this.resolve=null,this.exposedFunctions=null,this.resizeListener=null,this.ready=new Promise((e=>{this.resolve=e})),this.values=null,this.functions={addGeoLocationListener:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.addGeoLocationListener(e,t&&h((e=>t(e))))),addScrollListener:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.addScrollListener(e,t&&h((e=>t(e))))),addVisibilityChangeListener:async e=>Rt(e),addToolbarChangeListener:async e=>(this.initialized||await this.ready,this.exposedFunctions.addToolbarChangeListener(e&&h((t=>e(t))))),addWindowMetricsListener:async e=>{this.initialized||await this.ready;const{id:t,shouldInitialize:n}=ue("windowMetricsListener",e);return n&&(this.exposedFunctions.addWindowMetricsListener(h((e=>{fe("windowMetricsListener",e)}))),window.addEventListener("resize",this.resizeListener=()=>{(async()=>{const e=await this.exposedFunctions.getWindowMetrics();fe("windowMetricsListener",e)})()})),t},customCallbackFunction:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.customCallbackFunction(e,t)),getAvailableSharingServices:async()=>(this.initialized||await this.ready,this.exposedFunctions.getAvailableSharingServices()),getAccessToken:async e=>(this.initialized||await this.ready,this.exposedFunctions.getAccessToken(e)),getGeoLocation:async e=>(this.initialized||await this.ready,this.exposedFunctions.getGeoLocation(e)),getUserInfo:async e=>(this.initialized||await this.ready,ne(this,e)),getScrollPosition:async()=>(this.initialized||await this.ready,this.exposedFunctions.getScrollPosition()),getWindowMetrics:async()=>(this.initialized||await this.ready,this.exposedFunctions.getWindowMetrics()),invokeCall:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.invokeCall(e,t&&h((e=>t(e))))),invokeDialogCall:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.invokeDialogCall(e,t&&h((e=>t(e))))),login:async(e,t,n)=>(this.initialized||await this.ready,this.exposedFunctions.login(e,t&&h((e=>t(e))),n&&h((()=>n())))),logout:async()=>(this.initialized||await this.ready,this.exposedFunctions.logout()),navigateBack:async()=>(this.initialized||await this.ready,this.exposedFunctions.navigateBack()),openImage:async e=>(this.initialized||await this.ready,this.exposedFunctions.openImage(e)),openMedia:async e=>(this.initialized||await this.ready,this.exposedFunctions.openMedia(e)),openUrl:async e=>(this.initialized||await this.ready,this.exposedFunctions.openUrl(e)),openVideo:async e=>(this.initialized||await this.ready,this.exposedFunctions.openVideo(e)),refreshAccessToken:async()=>(this.initialized||await this.ready,this.exposedFunctions.refreshAccessToken()),refreshData:async e=>(this.initialized||await this.ready,this.exposedFunctions.refreshData(e)),removeGeoLocationListener:async e=>(this.initialized||await this.ready,this.exposedFunctions.removeGeoLocationListener(e)),removeScrollListener:async e=>(this.initialized||await this.ready,this.exposedFunctions.removeScrollListener(e)),removeVisibilityChangeListener:e=>(Nt(e),Promise.resolve()),removeWindowMetricsListener:async e=>{this.initialized||await this.ready,ce("windowMetricsListener",e)&&(this.exposedFunctions.removeWindowMetricsListener(e),this.resizeListener&&window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},removeToolbarChangeListener:async e=>(this.initialized||await this.ready,this.exposedFunctions.removeToolbarChangeListener(e)),selectPage:async e=>{this.initialized||await this.ready,await this.exposedFunctions.selectPage(e)},scrollToY:async(e,t)=>{this.initialized||await this.ready,await this.exposedFunctions.scrollToY(e,t)},sendMessageToGroup:async(e,t)=>(this.initialized||await this.ready,ie(this,t,e)),sendMessageToPage:async e=>(this.initialized||await this.ready,oe(this,e)),sendMessageToUser:async(e,t)=>(this.initialized||await this.ready,re(this,t,e)),setAdminMode:async e=>(this.initialized||await this.ready,this.exposedFunctions.setAdminMode(e)),setDisplayTimeout:async e=>(this.initialized||await this.ready,this.exposedFunctions.setDisplayTimeout(e)),setFloatingButton:async(e,t)=>{var n;this.initialized||await this.ready,e.items=null!=(n=e.items)?n:[];const r=e.items.map((e=>e.onClick));e.items=e.items.map((e=>({...e,onClick:void 0})));const o=t&&h((e=>{null!=e&&e.item&&r[e.index]?r[e.index]():t()}));return this.exposedFunctions.setFloatingButton(e,o)},setHeight:async e=>(this.initialized||await this.ready,this.exposedFunctions.setHeight(e)),setOverlay:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.setOverlay(e,t&&h((()=>t())))),setRefreshScrollEnabled:async e=>(this.initialized||await this.ready,this.exposedFunctions.setRefreshScrollEnabled(e)),setScanQrCode:async e=>(this.initialized||await this.ready,this.exposedFunctions.setScanQrCode(null!=e?e:{cancel:!1})),setTempDesignSettings:async e=>(this.initialized||await this.ready,this.exposedFunctions.setTempDesignSettings(e)),setWaitCursor:async e=>(this.initialized||await this.ready,this.exposedFunctions.setWaitCursor(e)),storageGetItem:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.storageGetItem(e,t)),storageRemoveItem:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.storageRemoveItem(e,t)),storageSetItem:async(e,t,n,r)=>(this.initialized||await this.ready,this.exposedFunctions.storageSetItem(e,t,n,r)),vibrate:async e=>(this.initialized||await this.ready,this.exposedFunctions.vibrate(e)),scrollByY:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.scrollByY(e,t)),createDialog:e=>new ee(e,this.functions.openDialog,this.exposedFunctions.closeDialog,this.functions.dispatchEventToDialogClient,this.functions.addDialogClientEventListener),closeDialog:async e=>(this.initialized||await this.ready,this.exposedFunctions.closeDialog(e)),openDialog:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.openDialog(e,h(t))),setDialogResult:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.setDialogResult(e,t)),dispatchEventToDialogClient:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.dispatchEventToDialogClient(e,t)),addDialogClientEventListener:async(e,t)=>(this.initialized||await this.ready,this.exposedFunctions.addDialogClientEventListener(e,h(t))),dispatchEventToDialogHost:async e=>(this.initialized||await this.ready,this.exposedFunctions.dispatchEventToDialogHost(e)),addDialogHostEventListener:async e=>{this.initialized||await this.ready;const t="dialogHostEventListener",{id:n,shouldInitialize:r}=ue(t,e);return r&&this.exposedFunctions.addDialogHostEventListener(h((e=>{fe(t,e)}))),n},removeDialogHostEventListener:async e=>{this.initialized||await this.ready,ce("dialogHostEventListener",e)},removeDialogClientEventListener:async()=>{},addAnonymousAccount:async()=>(this.initialized||await this.ready,this.exposedFunctions.addAnonymousAccount())},this.initialized=!1;const e=document.querySelector("#__CHAYNS_DATA__");e&&(this.values=JSON.parse(e.innerHTML))}var t=e.prototype;return t.init=async function(){if(this.initialized)return;const e=u(m(window.parent))[window.name],t=()=>e.addDataListener(h((({type:e,value:t})=>{this.initialized&&(this.values[e]=t),document.dispatchEvent(new CustomEvent("chayns_api_data",{detail:{type:e,value:t}}))})));let n=null;await Promise.race([t(),new Promise((e=>{window.addEventListener("message",n=n=>{"chayns-api-host-ready"===n.data&&t().then(e)})}))]),n&&window.removeEventListener("message",n),this.values=await e.getInitialData(),this.exposedFunctions=e.functions,this.initialized=!0,this.resolve(null),(e=>{document.documentElement.style.overflow="hidden",e(document.body.offsetHeight);let t=0;const n=()=>{const{offsetHeight:n}=document.body;t!==n&&(e(n),t=n)};if(window.ResizeObserver){const e=setInterval(n,200);let t=!0;new window.ResizeObserver(Z()((()=>{n(),t||clearInterval(e),t=!1}),16)).observe(document.body),setTimeout((()=>{clearInterval(e)}),2e3)}else setInterval(n,200)})(this.functions.setHeight)},t.addDataListener=function(e){const t=t=>t.detail&&e(t.detail);return document.addEventListener("chayns_api_data",t),()=>{document.removeEventListener("chayns_api_data",t)}},t.getSSRData=function(){return null},t.getInitialData=function(){return this.values},e}(),Ct=function(){function e(e,t){this.values=void 0,this.functions=void 0,this.values=e,this.functions={},this.functions.addVisibilityChangeListener=async e=>Rt(e),this.functions.removeVisibilityChangeListener=async e=>Nt(e),this.functions.getUserInfo=async e=>ne(this,e),this.functions.sendMessageToGroup=async(e,t)=>ie(this,t,e),this.functions.sendMessageToPage=async e=>oe(this,e),this.functions.sendMessageToUser=async(e,t)=>re(this,t,e),Object.entries(t).forEach((([e,t])=>{this.functions[e]=async(...e)=>t.apply(void 0,e)})),this.functions.createDialog=e=>new ee(e,t.openDialog,t.closeDialog,t.dispatchEventToDialogClient,t.addDialogClientEventListener),this.functions.addWindowMetricsListener=async e=>{const{id:n,shouldInitialize:r}=ue("windowMetrics",e);return r&&t.addWindowMetricsListener((e=>fe("windowMetrics",e))),n},this.functions.removeWindowMetricsListener=async e=>{ce("windowMetrics",e)&&t.removeWindowMetricsListener(e)}}var t=e.prototype;return t.init=async function(){},t.addDataListener=function(e){const t=t=>t.detail&&e(t.detail);return document.addEventListener("chayns_api_data",t),()=>{document.removeEventListener("chayns_api_data",t)}},t.getSSRData=function(){return null},t.getInitialData=function(){return this.values},e}(),Pt=function(){function e(e,t){this.initialData=void 0,this.values=void 0,this.functions=void 0,this.initialData=e,this.values=e,this.functions=t}var t=e.prototype;return t.init=async function(){},t.addDataListener=function(e){const t=t=>t.detail&&e(t.detail);return document.addEventListener("chayns_api_data",t),()=>{document.removeEventListener("chayns_api_data",t)}},t.getSSRData=function(){return this.initialData},t.getInitialData=function(){return this.values},e}();var $t=__webpack_require__(3840),Dt=__webpack_require__(3935);const Mt=Symbol(),jt=Symbol(),Ft="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?E.useEffect:E.useLayoutEffect,Ut=$t.unstable_runWithPriority?e=>{try{(0,$t.unstable_runWithPriority)($t.unstable_NormalPriority,e)}catch(t){if("Not implemented."!==t.message)throw t;e()}}:e=>e();function zt(e){const t=(0,E.createContext)({[Mt]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[jt]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=(0,E.useRef)(e),o=(0,E.useRef)(0),[i,a]=(0,E.useState)(null);i&&(i(e),a(null));const s=(0,E.useRef)();if(!s.current){const e=new Set,t=(t,n)=>{(0,Dt.unstable_batchedUpdates)((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{a((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};s.current={[Mt]:{v:r,n:o,l:e,u:t}}}return Ft((()=>{r.current=e,o.current+=1,Ut((()=>{s.current[Mt].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),(0,E.createElement)(n,{value:s.current},t)}),delete t.Consumer,t}function Ht(e,t){const n=(0,E.useContext)(e)[Mt],{v:{current:r},n:{current:o},l:i}=n,a=t(r),[s,l]=(0,E.useReducer)(((e,n)=>{if(!n)return[r,a];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],a)?e:[r,a];try{if("v"in n){if(Object.is(e[0],n.v))return e;const r=t(n.v);return Object.is(e[1],r)?e:[n.v,r]}}catch(e){}return[...e]}),[r,a]);return Object.is(s[1],a)||l(),Ft((()=>(i.add(l),()=>{i.delete(l)})),[i]),s[1]}const Vt=zt(null),Gt=zt(null);var Bt=__webpack_require__(5893);const Wt="undefined"==typeof window,qt=E.memo((({data:e,renderedByServer:t})=>t?(0,Bt.jsx)("script",{id:"__CHAYNS_DATA__",type:"application/json",dangerouslySetInnerHTML:{__html:w()(e||{})}}):null),(()=>!0)),Yt=({children:e,data:t,functions:n,renderedByServer:r,isModule:o})=>{var i,a,s;const l=(0,E.useRef)(null);if(!l.current){if(o)t&&n?l.current=new Ct(t,n):console.warn("ModuleFederationWrapper requires data and functions");else if(Wt)t&&n?l.current=new Pt(t,n):console.warn("SsrWrapper requires data and functions");else{var u,c;const e=K(navigator.userAgent,"");[U.Chayns,U.ChaynsLauncher,U.Sidekick,U.TobitChat].includes(null!=(u=null==(c=e.app)?void 0:c.name)?u:U.Unknown)&&window.self===window.top?l.current=new It:l.current=new At}pe.current=l.current}const[f,d]=(0,E.useState)(null!=(i=null==(a=l.current)?void 0:a.values)?i:void 0);return(0,E.useEffect)((()=>{(async()=>{await l.current.init(),l.current.addDataListener((({type:e,value:t})=>{d((n=>{if(n)return{...n,[e]:t}}))})),l.current.values&&!o&&d({...l.current.values})})()}),[]),(0,E.useEffect)((()=>{o&&(d(t),t&&(l.current.values=t))}),[t,o]),(0,Bt.jsxs)(Bt.Fragment,{children:[!!f&&(0,Bt.jsx)(Vt.Provider,{value:f,children:(0,Bt.jsx)(Gt.Provider,{value:null==(s=l.current)?void 0:s.functions,children:e})}),(0,Bt.jsx)(qt,{data:f,renderedByServer:r})]})},Xt=(e,t,n)=>{(0,E.useEffect)((()=>{e&&e.dispatchEvent(new CustomEvent("data_update",{detail:{type:t,value:n}}))}),[e,t,n])},Qt=(e,t,n)=>{if(e||!t)return t;let r=t;return n!==H.Qa&&n!==H.Development||(r=r.replace("tapp.chayns-static.space","tapp-dev.chayns-static.space")),n===H.Staging&&(r=r.replace("tapp.chayns-static.space","tapp-staging.chayns-static.space")),r},Kt=({iFrameProps:e,src:t,postForm:n=!1,iFrameRef:r,pages:o,isAdminModeActive:i,site:a,user:l,currentPage:u,functions:c,device:f,language:d,parameters:p,environment:h,customData:v,preventStagingReplacement:g,dialog:y})=>{const b=(0,E.useRef)(),w=(0,E.useRef)(),_=(0,E.useRef)();b.current||(b.current=__webpack_require__.g.document?document.createElement("div"):void 0);const S=e=>{w.current&&(w.current.style.height=`${e}px`)},k={site:a,isAdminModeActive:i,pages:o,currentPage:u,device:f,user:l,language:d,parameters:p,environment:h,customData:v,dialog:y};return _.current=k,(0,E.useEffect)((()=>{(async()=>{if(n){var r;const n=null!=(r=await c.getAccessToken())?r:{};!async function(e,t,n,r){if(await new Promise((e=>{setTimeout(e,10)})),!t||!document.querySelector(`#${r}`))return!1;const o=document.getElementById("accessTokenForm");null!=o&&o.parentElement&&o.parentElement.removeChild(o);const i=document.createElement("form");i.setAttribute("id","accessTokenForm"),i.setAttribute("method","post"),i.setAttribute("action",e),i.setAttribute("target",r);const a=document.createElement("input");a.setAttribute("type","hidden"),a.setAttribute("name","chayns"),a.setAttribute("value",t),i.appendChild(a),document.body.appendChild(i),i.submit()}(Qt(g,t,h.buildEnvironment),JSON.stringify({...k,pages:void 0,...n}),0,e.name)}})()}),[]),(0,E.useEffect)((()=>{var t;if(null!=(t=w.current)&&t.contentWindow){const t={[e.name]:{functions:{...c,setHeight:S},addDataListener:e=>{b.current&&b.current.addEventListener("data_update",(t=>t.detail&&e(t.detail)))},getInitialData:()=>_.current}};return s(t,m(w.current.contentWindow)),w.current.contentWindow.postMessage("chayns-api-host-ready","*"),()=>{delete t[e.name]}}}),[]),Xt(b.current,"isAdminModeActive",i),Xt(b.current,"user",l),Xt(b.current,"site",a),Xt(b.current,"pages",o),Xt(b.current,"language",d),Xt(b.current,"parameters",p),Xt(b.current,"environment",h),Xt(b.current,"customData",v),Xt(b.current,"dialog",y),(0,Bt.jsx)("iframe",{ref:e=>{w.current=e,r&&(r.current=e)},title:" ",...e,src:n?void 0:Qt(g,t,h.buildEnvironment)})};var Jt=__webpack_require__(1249),Zt=__webpack_require__.n(Jt);function en(){return"undefined"!=typeof FEDERATION_BUILD_IDENTIFIER?FEDERATION_BUILD_IDENTIFIER:""}const tn="[ Federation Runtime ]";function nn(e,t){e||rn(t)}function rn(e){if(e instanceof Error)throw e.message=`${tn}: ${e.message}`,e;throw new Error(`${tn}: ${e}`)}function on(e){e instanceof Error?(e.message=`${tn}: ${e.message}`,console.warn(e)):console.warn(`${tn}: ${e}`)}function an(e,t){return-1===e.findIndex((e=>e===t))&&e.push(t),e}function sn(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function ln(e){return void 0!==e.entry}function un(e){return!e.entry.includes(".json")&&e.entry.includes(".js")}function cn(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}function fn(e){return e&&"object"==typeof e}const dn=Object.prototype.toString;function pn(e){return Array.isArray(e)?e:[e]}function hn(){return hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hn.apply(this,arguments)}const mn=(()=>{try{return new Function("return this")()}catch(e){return globalThis}})(),vn=mn;function gn(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function yn(e,t){return Object.hasOwnProperty.call(e,t)}yn(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__")||gn(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const bn=globalThis.__GLOBAL_LOADING_REMOTE_ENTRY__;function wn(e){var t,n,r,o,i,a;yn(e,"__VMOK__")&&!yn(e,"__FEDERATION__")&&gn(e,"__FEDERATION__",e.__VMOK__),yn(e,"__FEDERATION__")||(gn(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),gn(e,"__VMOK__",e.__FEDERATION__)),null!=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__||(t.__GLOBAL_PLUGIN__=[]),null!=(n=e.__FEDERATION__).__INSTANCES__||(n.__INSTANCES__=[]),null!=(r=e.__FEDERATION__).moduleInfo||(r.moduleInfo={}),null!=(o=e.__FEDERATION__).__SHARE__||(o.__SHARE__={}),null!=(i=e.__FEDERATION__).__MANIFEST_LOADING__||(i.__MANIFEST_LOADING__={}),null!=(a=e.__FEDERATION__).__PRELOADED_MAP__||(a.__PRELOADED_MAP__=new Map)}function En(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};{const n=Object.keys(e);for(const r of n){const[n,o]=r.split(":"),i=`${n}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}}throw new Error("key must be string")}wn(globalThis),wn(mn);const _n=()=>mn.__FEDERATION__.moduleInfo,Sn=e=>((e,t)=>{const n=En(t,sn(e)).value;if(n&&!n.version&&"version"in e&&e.version&&(n.version=e.version),n)return n;if("version"in e&&e.version){const{version:t}=e,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["version"]),r=sn(n),o=En(mn.__FEDERATION__.moduleInfo,r).value;if((null==o?void 0:o.version)===t)return o}})(e,mn.__FEDERATION__.moduleInfo),kn=(e,t)=>{const n=sn(e);return mn.__FEDERATION__.moduleInfo[n]=t,mn.__FEDERATION__.moduleInfo},xn=(e,t)=>{const n=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:n,entryExports:globalThis[n]}},Tn=e=>globalThis.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),In="default",On="global",Ln="[0-9A-Za-z-]+",Rn=`(?:\\+(${Ln}(?:\\.${Ln})*))`,Nn="0|[1-9]\\d*",An="[0-9]+",Cn="\\d*[a-zA-Z-][a-zA-Z0-9-]*",Pn=`(?:${An}|${Cn})`,$n=`(?:${Nn}|${Cn})`,Dn=`(?:-(${$n}(?:\\.${$n})*))`,Mn=`${Nn}|x|X|\\*`,jn=`[v=\\s]*(${Mn})(?:\\.(${Mn})(?:\\.(${Mn})(?:${Dn})?${Rn}?)?)?`,Fn=`^\\s*(${jn})\\s+-\\s+(${jn})\\s*$`,Un="((?:<|>)?=?)",zn=`(\\s*)${Un}\\s*([v=\\s]*(${An})\\.(${An})\\.(${An})(?:-?(${Pn}(?:\\.${Pn})*))?${Rn}?|${jn})`,Hn="(?:~>?)",Vn=`(\\s*)${Hn}\\s+`,Gn="(?:\\^)",Bn=`(\\s*)${Gn}\\s+`,Wn="(<|>)?=?\\s*\\*",qn=`^${Gn}${jn}$`,Yn=`^${Hn}${jn}$`,Xn=`^${Un}\\s*${jn}$`,Qn=`^${Un}\\s*(v?(${Nn})\\.(${Nn})\\.(${Nn})${Dn}?${Rn}?)$|^$`,Kn="^\\s*>=\\s*0.0.0\\s*$";function Jn(e){return new RegExp(e)}function Zn(e){return!e||"x"===e.toLowerCase()||"*"===e}function er(...e){return t=>e.reduce(((e,t)=>t(e)),t)}function tr(e){return e.match(Jn(Qn))}function nr(e,t,n,r){const o=`${e}.${t}.${n}`;return r?`${o}-${r}`:o}function rr(e){return e.replace(Jn(Fn),((e,t,n,r,o,i,a,s,l,u,c,f)=>`${t=Zn(n)?"":Zn(r)?`>=${n}.0.0`:Zn(o)?`>=${n}.${r}.0`:`>=${t}`} ${s=Zn(l)?"":Zn(u)?`<${Number(l)+1}.0.0-0`:Zn(c)?`<${l}.${Number(u)+1}.0-0`:f?`<=${l}.${u}.${c}-${f}`:`<=${s}`}`.trim()))}function or(e){return e.replace(Jn(zn),"$1$2$3")}function ir(e){return e.replace(Jn(Vn),"$1~")}function ar(e){return e.replace(Jn(Bn),"$1^")}function sr(e){return e.trim().split(/\s+/).map((e=>e.replace(Jn(qn),((e,t,n,r,o)=>Zn(t)?"":Zn(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:Zn(r)?"0"===t?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`:o?"0"===t?"0"===n?`>=${t}.${n}.${r}-${o} <${t}.${n}.${Number(r)+1}-0`:`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r}-${o} <${Number(t)+1}.0.0-0`:"0"===t?"0"===n?`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`)))).join(" ")}function lr(e){return e.trim().split(/\s+/).map((e=>e.replace(Jn(Yn),((e,t,n,r,o)=>Zn(t)?"":Zn(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:Zn(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:o?`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)))).join(" ")}function ur(e){return e.split(/\s+/).map((e=>e.trim().replace(Jn(Xn),((e,t,n,r,o,i)=>{const a=Zn(n),s=a||Zn(r),l=s||Zn(o);return"="===t&&l&&(t=""),i="",a?">"===t||"<"===t?"<0.0.0-0":"*":t&&l?(s&&(r=0),o=0,">"===t?(t=">=",s?(n=Number(n)+1,r=0,o=0):(r=Number(r)+1,o=0)):"<="===t&&(t="<",s?n=Number(n)+1:r=Number(r)+1),"<"===t&&(i="-0"),`${t+n}.${r}.${o}${i}`):s?`>=${n}.0.0${i} <${Number(n)+1}.0.0-0`:l?`>=${n}.${r}.0${i} <${n}.${Number(r)+1}.0-0`:e})))).join(" ")}function cr(e){return e.trim().replace(Jn(Wn),"")}function fr(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function dr(e,t){return fr(e.major,t.major)||fr(e.minor,t.minor)||fr(e.patch,t.patch)||function(e,t){const{preRelease:n}=e,{preRelease:r}=t;if(void 0===n&&Boolean(r))return 1;if(Boolean(n)&&void 0===r)return-1;if(void 0===n&&void 0===r)return 0;for(let e=0,t=n.length;e<=t;e++){const t=n[e],o=r[e];if(t!==o)return void 0===t&&void 0===o?0:t?o?fr(t,o):-1:1}return 0}(e,t)}function pr(e,t){return e.version===t.version}function hr(e,t){switch(e.operator){case"":case"=":return pr(e,t);case">":return dr(e,t)<0;case">=":return pr(e,t)||dr(e,t)<0;case"<":return dr(e,t)>0;case"<=":return pr(e,t)||dr(e,t)>0;case void 0:return!0;default:return!1}}function mr(e,t){if(!e)return!1;const n=function(e){return er(rr,or,ir,ar)(e.trim()).split(/\s+/).join(" ")}(t),r=n.split(" ").map((e=>function(e){return er(sr,lr,ur,cr)(e)}(e))).join(" "),o=r.split(/\s+/).map((e=>e.trim().replace(Jn(Kn),""))),i=tr(e);if(!i)return!1;const[,a,,s,l,u,c]=i,f={operator:a,version:nr(s,l,u,c),major:s,minor:l,patch:u,preRelease:null==c?void 0:c.split(".")};for(const e of o){const t=tr(e);if(!t)return!1;const[,n,,r,o,i,a]=t;if(!hr({operator:n,version:nr(r,o,i,a),major:r,minor:o,patch:i,preRelease:null==a?void 0:a.split(".")},f))return!1}return!0}function vr(){return vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vr.apply(this,arguments)}function gr(e,t){const n=t.shared||{},r=t.name,o=Object.keys(n).reduce(((e,t)=>{const o=pn(n[t]);return e[t]=e[t]||[],o.forEach((n=>{e[t].push(function(e,t,n){let r;var o,i;return r="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve((()=>{throw new Error(`Can not get shared '${n}'!`)})),vr({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:vr({requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:r,loaded:"lib"in e||void 0,version:null!=(o=e.version)?o:"0",scope:Array.isArray(e.scope)?e.scope:[null!=(i=e.scope)?i:"default"],strategy:e.strategy||"version-first"})}(n,r,t))})),e}),{}),i=vr({},e.shared);return Object.keys(o).forEach((e=>{i[e]?o[e].forEach((t=>{i[e].find((e=>e.version===t.version))||i[e].push(t)})):i[e]=o[e]})),{shared:i,shareInfos:o}}function yr(e,t){const n=e=>{if(!Number.isNaN(Number(e))){const t=e.split(".");let n=e;for(let e=0;e<3-t.length;e++)n+=".0";return n}return e};return!!mr(n(e),`<=${n(t)}`)}const br=(e,t)=>{const n=t||function(e,t){return yr(e,t)};return Object.keys(e).reduce(((e,t)=>e?n(e,t)||"0"===e?t:e:t),0)},wr=e=>Boolean(e.loaded)||"function"==typeof e.lib;function Er(e,t,n){const r=e[t][n];return br(e[t][n],(function(e,t){return!wr(r[e])&&yr(e,t)}))}function _r(e,t,n){const r=e[t][n];return br(e[t][n],(function(e,t){return wr(r[t])?!wr(r[e])||Boolean(yr(e,t)):!wr(r[e])&&yr(e,t)}))}function Sr(e){return"loaded-first"===e?_r:Er}function kr(e,t,n,r){if(!e)return;const{shareConfig:o,scope:i=In,strategy:a}=n,s=Array.isArray(i)?i:[i];for(const i of s)if(o&&e[i]&&e[i][t]){const{requiredVersion:s}=o,l=Sr(a)(e,i,t),u=()=>{if(o.singleton){if("string"==typeof s&&!mr(l,s)){const r=`Version ${l} from ${l&&e[i][t][l].from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${s})`;o.strictVersion?rn(r):on(r)}return e[i][t][l]}if(!1===s||"*"===s)return e[i][t][l];if(mr(l,s))return e[i][t][l];for(const[n,r]of Object.entries(e[i][t]))if(mr(n,s))return r},c={shareScopeMap:e,scope:i,pkgName:t,version:l,GlobalFederation:vn.__FEDERATION__,resolver:u};return(r.emit(c)||c).resolver()}}function xr(){return vn.__FEDERATION__.__SHARE__}function Tr(e){const{pkgName:t,extraOptions:n,shareInfos:r}=e;var o;const i=null!=(o=null==n?void 0:n.resolver)?o:e=>{if(!e)return;const t={};e.forEach((e=>{t[e.version]=e}));const n=br(t,(function(e,n){return!wr(t[e])&&yr(e,n)}));return t[n]};return Object.assign({},i(r[t]),null==n?void 0:n.customShareInfo)}var Ir=__webpack_require__(416);function Or(){return Or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Or.apply(this,arguments)}function Lr(e){const{entry:t,name:n}=e;return(0,Ir.M8)(n,t)}async function Rr({remoteEntryExports:e,remoteInfo:t,createScriptHook:n}){const{entry:r,name:o,type:i,entryGlobalName:a}=t,s=Lr(t);return e||(bn[s]||(bn[s]="esm"===i?async function({entry:e,remoteEntryExports:t}){return new Promise(((n,r)=>{try{t?n(t):new Function("callbacks",`import("${e}").then(callbacks[0]).catch(callbacks[1])`)([n,r])}catch(e){r(e)}}))}({entry:r,remoteEntryExports:e}):async function({name:e,globalName:t,entry:n,createScriptHook:r}){const{entryExports:o}=xn(e,t);return o||("undefined"==typeof document?(0,Ir.qN)(n,{attrs:{name:e,globalName:t},createScriptHook:r}).then((()=>{const{remoteEntryKey:r,entryExports:o}=xn(e,t);return nn(o,`\n Unable to use the ${e}'s '${n}' URL with ${r}'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '${n}' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ${r} cannot be used to get remoteEntry exports in the window object.\n `),o})).catch((e=>e)):(0,Ir.ve)(n,{attrs:{},createScriptHook:r}).then((()=>{const{remoteEntryKey:r,entryExports:o}=xn(e,t);return nn(o,`\n Unable to use the ${e}'s '${n}' URL with ${r}'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '${n}' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ${r} cannot be used to get remoteEntry exports in the window object.\n `),o})).catch((e=>e)))}({name:o,globalName:a,entry:r,createScriptHook:n})),bn[s])}function Nr(e){return Or({},e,{entry:"entry"in e?e.entry:"",type:e.type||On,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||In})}function Ar(){return Ar=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ar.apply(this,arguments)}let Cr=class{async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;const e=await Rr({remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,createScriptHook:e=>{const t=this.host.loaderHook.lifecycle.createScript.emit({url:e});return"undefined"==typeof document||t instanceof HTMLScriptElement?t:void 0}});return nn(e,`remoteEntryExports is undefined \n ${cn(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async get(e,t){const{loadFactory:n=!0}=t||{loadFactory:!0},r=await this.getEntry();if(!this.inited){const e=this.host.shareScopeMap,t=this.remoteInfo.shareScope||"default";e[t]||(e[t]={});const n=e[t],o=[],i={version:this.remoteInfo.version||""};Object.defineProperty(i,"hostId",{value:this.host.options.id||this.host.name,enumerable:!1});const a=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:n,remoteEntryInitOptions:i,initScope:o,remoteInfo:this.remoteInfo,origin:this.host});await r.init(a.shareScope,a.initScope,a.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit(Ar({},a,{remoteEntryExports:r}))}this.lib=r,this.inited=!0;const o=await r.get(e);return nn(o,`${sn(this.remoteInfo)} remote don't export ${e}.`),n?await o():o}constructor({remoteInfo:e,host:t}){this.inited=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}};class Pr{on(e){"function"==typeof e&&this.listeners.add(e)}once(e){const t=this;this.on((function n(...r){return t.remove(n),e.apply(null,r)}))}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach((n=>{t=n(...e)})),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}}class $r extends Pr{emit(...e){let t;const n=Array.from(this.listeners);if(n.length>0){let r=0;const o=t=>!1!==t&&(r<n.length?Promise.resolve(n[r++].apply(null,e)).then(o):t);t=o()}return Promise.resolve(t)}}function Dr(e,t){if(!fn(t))return!1;if(e!==t)for(const n in e)if(!(n in t))return!1;return!0}class Mr extends Pr{emit(e){fn(e)||rn(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const n=t(e);if(!Dr(e,n)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=n}catch(e){on(e),this.onerror(e)}return e}constructor(e){super(),this.onerror=rn,this.type=e}}class jr extends Pr{emit(e){fn(e)||rn(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let n=0;const r=t=>(on(t),this.onerror(t),e),o=i=>{if(Dr(e,i)){if(e=i,n<t.length)try{return Promise.resolve(t[n++](e)).then(o,r)}catch(e){return r(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}constructor(e){super(),this.onerror=rn,this.type=e}}class Fr{applyPlugin(e){var t;nn((t=e,"[object Object]"===dn.call(t)),"Plugin configuration is invalid.");const n=e.name;nn(n,"A name must be provided by the plugin."),this.registerPlugins[n]||(this.registerPlugins[n]=e,Object.keys(this.lifecycle).forEach((t=>{const n=e[t];n&&this.lifecycle[t].on(n)})))}removePlugin(e){nn(e,"A name is required.");const t=this.registerPlugins[e];nn(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach((e=>{"name"!==e&&this.lifecycle[e].remove(t[e])}))}inherit({lifecycle:e,registerPlugins:t}){Object.keys(e).forEach((t=>{nn(!this.lifecycle[t],`The hook "${t}" has a conflict and cannot be inherited.`),this.lifecycle[t]=e[t]})),Object.keys(t).forEach((e=>{nn(!this.registerPlugins[e],`The plugin "${e}" has a conflict and cannot be inherited.`),this.applyPlugin(t[e])}))}constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}}function Ur(){return Ur=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ur.apply(this,arguments)}function zr(e){return Ur({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)}function Hr(e,t,n){const{cssAssets:r,jsAssetsWithoutEntry:o,entryAssets:i}=n;if(t.options.inBrowser){i.forEach((n=>{const{moduleInfo:r}=n,o=t.moduleCache.get(e.name);Rr(o?{remoteInfo:r,remoteEntryExports:o.remoteEntryExports,createScriptHook:e=>{const n=t.loaderHook.lifecycle.createScript.emit({url:e});if(n instanceof HTMLScriptElement)return n}}:{remoteInfo:r,remoteEntryExports:void 0,createScriptHook:e=>{const n=t.loaderHook.lifecycle.createScript.emit({url:e});if(n instanceof HTMLScriptElement)return n}})}));const n=document.createDocumentFragment();r.forEach((e=>{const{link:r,needAttach:o}=(0,Ir.EW)(e,(()=>{}),{rel:"preload",as:"style"},(e=>{const n=t.loaderHook.lifecycle.createLink.emit({url:e});if(n instanceof HTMLLinkElement)return n}));o&&n.appendChild(r)})),o.forEach((e=>{const{link:n,needAttach:r}=(0,Ir.EW)(e,(()=>{}),{rel:"preload",as:"script"},(e=>{const n=t.loaderHook.lifecycle.createLink.emit({url:e});if(n instanceof HTMLLinkElement)return n}));r&&document.head.appendChild(n)})),document.head.appendChild(n)}}function Vr(){return Vr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vr.apply(this,arguments)}function Gr(e,t){"remoteEntry"in t&&t.remoteEntry||rn(`The attribute remoteEntry of ${name} must not be undefined.`);const{remoteEntry:n}=t,r=(0,Ir.vM)(t,n);e.type=t.remoteEntryType,e.entryGlobalName=t.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}function Br(e){const t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function Wr(e,t,n,r,o={},i){const a=sn(t),{value:s}=En(e,a),l=i||s;if(l&&!(0,Ir.xw)(l)&&(n(l,t,r),l.remotesInfo)){const t=Object.keys(l.remotesInfo);for(const r of t){if(o[r])continue;o[r]=!0;const t=Br(r),i=l.remotesInfo[r];Wr(e,{name:t.name,version:i.matchedVersion},n,!1,o,void 0)}}}function qr(e,t,n,r,o){const i=[],a=[],s=[],l=new Set,u=new Set,{options:c}=e,{preloadConfig:f}=t,{depsRemote:d}=f;if(Wr(r,n,((t,n,r)=>{let o;if(r)o=f;else if(Array.isArray(d)){const e=d.find((e=>e.nameOrAlias===n.name||e.nameOrAlias===n.alias));if(!e)return;o=zr(e)}else{if(!0!==d)return;o=f}const l=(0,Ir.vM)(t,"remoteEntry"in t?t.remoteEntry:"");l&&s.push({name:n.name,moduleInfo:{name:n.name,entry:l,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:n.name,shareScope:"",version:"version"in t?t.version:void 0},url:l});let u="modules"in t?t.modules:[];const c=(p=o.exposes)?p.map((e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e)):[];var p,h,m;function v(e){const n=e.map((e=>(0,Ir.vM)(t,e)));return o.filter?n.filter(o.filter):n}if(c.length&&"modules"in t&&(u=null==t||null==(h=t.modules)?void 0:h.reduce(((e,t)=>(-1!==(null==c?void 0:c.indexOf(t.moduleName))&&e.push(t),e)),[])),u){const r=u.length;for(let s=0;s<r;s++){const r=u[s],l=`${n.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===r.moduleName?n.name:l,name:n.name,remoteSnapshot:t,preloadConfig:o,remote:n,origin:e}),m=l,globalThis.__FEDERATION__.__PRELOADED_MAP__.get(m)||("all"===o.resourceCategory?(i.push(...v(r.assets.css.async)),i.push(...v(r.assets.css.sync)),a.push(...v(r.assets.js.async)),a.push(...v(r.assets.js.sync))):(o.resourceCategory="sync")&&(i.push(...v(r.assets.css.sync)),a.push(...v(r.assets.js.sync))),Tn(l))}}}),!0,{},o),o.shared){const t=(t,n)=>{const r=kr(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&"function"==typeof r.lib&&(n.assets.js.sync.forEach((e=>{l.add(e)})),n.assets.css.sync.forEach((e=>{u.add(e)})))};o.shared.forEach((e=>{var n;const r=null==(n=c.shared)?void 0:n[e.sharedName];if(!r)return;const o=e.version?r.find((t=>t.version===e.version)):r;o&&pn(o).forEach((n=>{t(n,e)}))}))}const p=a.filter((e=>!l.has(e)));return{cssAssets:i.filter((e=>!u.has(e))),jsAssetsWithoutEntry:p,entryAssets:s}}function Yr(){return Yr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yr.apply(this,arguments)}class Xr{async loadSnapshot(e){const{options:t}=this.HostInstance,{hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:o}=this.getGlobalRemoteInfo(e),{remoteSnapshot:i,globalSnapshot:a}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:n,remoteSnapshot:r,globalSnapshot:o});return{remoteSnapshot:i,globalSnapshot:a}}async loadRemoteSnapshotInfo(e){const{options:t}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:t,moduleInfo:e});let n=Sn({name:this.HostInstance.options.name,version:this.HostInstance.options.version});var r;n||(n={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},r={[this.HostInstance.options.name]:n},mn.__FEDERATION__.moduleInfo=hn({},mn.__FEDERATION__.moduleInfo,r)),n&&"remotesInfo"in n&&!En(n.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(n.remotesInfo=Yr({},null==n?void 0:n.remotesInfo,{[e.name]:{matchedVersion:"version"in e?e.version:e.entry}}));const{hostGlobalSnapshot:o,remoteSnapshot:i,globalSnapshot:a}=this.getGlobalRemoteInfo(e),{remoteSnapshot:s,globalSnapshot:l}=await this.hooks.lifecycle.loadSnapshot.emit({options:t,moduleInfo:e,hostGlobalSnapshot:o,remoteSnapshot:i,globalSnapshot:a});if(s){if((0,Ir.xw)(s)){const t=await this.getManifestJson(s.remoteEntry,e,{});return{remoteSnapshot:t,globalSnapshot:kn(Yr({},e,{entry:s.remoteEntry}),t)}}{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:s,from:"global"});return{remoteSnapshot:t,globalSnapshot:l}}}if(ln(e)){const t=await this.getManifestJson(e.entry,e,{}),n=kn(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});return{remoteSnapshot:r,globalSnapshot:n}}rn(`\n Cannot get remoteSnapshot with the name: '${e.name}', version: '${e.version}' from __FEDERATION__.moduleInfo. The following reasons may be causing the problem:\n\n 1. The Deploy platform did not deliver the correct data. You can use __FEDERATION__.moduleInfo to check the remoteInfo.\n\n 2. The remote '${e.name}' version '${e.version}' is not released.\n\n The transformed module info: ${JSON.stringify(l)}\n `)}getGlobalRemoteInfo(e){const t=Sn({name:this.HostInstance.options.name,version:this.HostInstance.options.version}),n=t&&"remotesInfo"in t&&t.remotesInfo&&En(t.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:t,globalSnapshot:_n(),remoteSnapshot:Sn({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:_n(),remoteSnapshot:Sn({name:e.name,version:"version"in e?e.version:void 0})}}async getManifestJson(e,t,n){const r=async()=>{let n=this.manifestCache.get(e);if(n)return n;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});return t&&t instanceof Response||(t=await fetch(e,{})),n=await t.json(),nn(n.metaData&&n.exposes&&n.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,n),n}catch(n){rn(`Failed to get manifestJson for ${t.name}. The manifest URL is ${e}. Please ensure that the manifestUrl is accessible.\n \n Error message:\n \n ${n}`)}};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const n=await r(),o=(0,Ir.S5)(n,{version:e}),{remoteSnapshot:i}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:o,manifestUrl:e,from:"manifest"});return i})().then((e=>e))),this.manifestLoading[e]}constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new Fr({beforeLoadRemoteSnapshot:new $r("beforeLoadRemoteSnapshot"),loadSnapshot:new jr("loadGlobalSnapshot"),loadRemoteSnapshot:new jr("loadRemoteSnapshot")}),this.manifestLoading=vn.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}}function Qr(){return Qr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qr.apply(this,arguments)}class Kr{registerShared(e,t){const{shareInfos:n,shared:r}=gr(e,t);return Object.keys(n).forEach((e=>{n[e].forEach((n=>{!kr(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)&&n&&n.lib&&this.setShared({pkgName:e,lib:n.lib,get:n.get,loaded:!0,shared:n,from:t.name})}))})),{shareInfos:n,shared:r}}async loadShare(e,t){const{host:n}=this,r=Tr({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&await Promise.all(r.scope.map((async e=>{await Promise.all(this.initializeSharing(e,r.strategy))})));const o=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:n.options.shared,origin:n}),{shareInfo:i}=o;nn(i,`Cannot find ${e} Share in the ${n.options.name}. Please ensure that the ${e} Share parameters have been injected`);const a=kr(this.shareScopeMap,e,i,this.hooks.lifecycle.resolveShare),s=e=>{e.useIn||(e.useIn=[]),an(e.useIn,n.options.name)};if(a&&a.lib)return s(a),a.lib;if(a&&a.loading&&!a.loaded){const e=await a.loading;return a.loaded=!0,a.lib||(a.lib=e),s(a),e}if(a){const t=(async()=>{const t=await a.get();i.lib=t,i.loaded=!0,s(i);const n=kr(this.shareScopeMap,e,i,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:a,from:n.options.name,lib:null,loading:t}),t}{if(null==t?void 0:t.customShareInfo)return!1;const r=(async()=>{const t=await i.get();i.lib=t,i.loaded=!0,s(i);const n=kr(this.shareScopeMap,e,i,this.hooks.lifecycle.resolveShare);return n&&(n.lib=t,n.loaded=!0),t})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:n.options.name,lib:null,loading:r}),r}}initializeSharing(e=In,t){const{host:n}=this,r=this.shareScopeMap,o=n.options.name;r[e]||(r[e]={});const i=r[e],a=[];return Object.keys(n.options.shared).forEach((t=>{n.options.shared[t].forEach((n=>{n.scope.includes(e)&&((e,t)=>{var n;const{version:r,eager:a}=t;i[e]=i[e]||{};const s=i[e],l=s[r],u=Boolean(l&&(l.eager||(null==(n=l.shareConfig)?void 0:n.eager)));(!l||"loaded-first"!==l.strategy&&!l.loaded&&(Boolean(!a)!==!u?a:o>l.from))&&(s[r]=t)})(t,n)}))})),"version-first"===t&&n.options.remotes.forEach((t=>{t.shareScope===e&&a.push((async t=>{const{module:o}=await n.remoteHandler.getRemoteModuleAndOptions({id:t});if(o.getEntry){const t=await o.getEntry();o.inited||((i=t)&&i.init&&i.init(r[e]),o.inited=!0)}var i})(t.name))})),a}loadShareSync(e,t){const{host:n}=this,r=Tr({pkgName:e,extraOptions:t,shareInfos:n.options.shared});(null==r?void 0:r.scope)&&r.scope.forEach((e=>{this.initializeSharing(e,r.strategy)}));const o=kr(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare),i=e=>{e.useIn||(e.useIn=[]),an(e.useIn,n.options.name)};if(o){if("function"==typeof o.lib)return i(o),o.loaded||(o.loaded=!0,o.from===n.options.name&&(r.loaded=!0)),o.lib;if("function"==typeof o.get){const t=o.get();if(!(t instanceof Promise))return i(o),this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:t,shared:o}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){const t=r.get();if(t instanceof Promise)throw new Error(`\n The loadShareSync function was unable to load ${e}. The ${e} could not be found in ${n.options.name}.\n Possible reasons for failure: \n\n 1. The ${e} share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ${e} share was not registered with the 'lib' attribute.\n\n `);return r.lib=t,this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:r.lib,shared:r}),r.lib}throw new Error(`\n The loadShareSync function was unable to load ${e}. The ${e} could not be found in ${n.options.name}.\n Possible reasons for failure: \n\n 1. The ${e} share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ${e} share was not registered with the 'lib' attribute.\n\n `)}initShareScopeMap(e,t){const{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n})}setShared({pkgName:e,shared:t,from:n,lib:r,loading:o,loaded:i,get:a}){const{version:s,scope:l="default"}=t,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["version","scope"]);(Array.isArray(l)?l:[l]).forEach((t=>{this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),this.shareScopeMap[t][e][s]||(this.shareScopeMap[t][e][s]=Qr({version:s,scope:["default"]},u,{lib:r,loaded:i,loading:o}),a&&(this.shareScopeMap[t][e][s].get=a))}))}_setGlobalShareScopeMap(e){const t=xr(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}constructor(e){this.hooks=new Fr({afterResolve:new jr("afterResolve"),beforeLoadShare:new jr("beforeLoadShare"),loadShare:new $r,resolveShare:new Mr("resolveShare"),initContainerShareScopeMap:new jr("initContainer")}),this.host=e,this.shareScopeMap={},this._setGlobalShareScopeMap(e.options)}}function Jr(){return Jr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jr.apply(this,arguments)}class Zr{formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce(((e,t)=>(this.registerRemote(t,e,{force:!1}),e)),e.remotes)}async loadRemote(e,t){const{host:n}=this;try{const{loadFactory:r=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:a}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:s,remote:l,expose:u,id:c}=a,f=await o.get(u,t),d=await this.hooks.lifecycle.onLoad.emit({id:c,pkgNameOrAlias:s,expose:u,exposeModule:r?f:void 0,exposeModuleFactory:r?void 0:f,remote:l,options:i,moduleInstance:o,origin:n});return"function"==typeof d?d:f}catch(r){const{from:o="runtime"}=t||{from:"runtime"},i=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:o,lifecycle:"onLoad",origin:n});if(!i)throw r;return i}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOptions:e,options:t.options,origin:t});const n=(r=t.options.remotes,e.map((e=>{const t=function(e,t){for(const n of e){if(t===n.name)return n;if(n.alias&&t===n.alias)return n}}(r,e.nameOrAlias);return nn(t,`Unable to preload ${e.nameOrAlias} as it is not included in ${!t&&cn({remoteInfo:t,remotes:r})}`),{remote:t,preloadConfig:zr(e)}})));var r;await Promise.all(n.map((async e=>{const{remote:n}=e,r=Nr(n),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo(n),a=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:n,remoteInfo:r,globalSnapshot:o,remoteSnapshot:i});a&&Hr(r,t,a)})))}registerRemotes(e,t){const{host:n}=this;e.forEach((e=>{this.registerRemote(e,n.options.remotes,{force:null==t?void 0:t.force})}))}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:n}=e;let r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:n,options:t.options,origin:t})}catch(e){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:n,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"}),!r)throw e}const{id:o}=r,i=function(e,t){for(const n of e){const e=t.startsWith(n.name);let r=t.replace(n.name,"");if(e){if(r.startsWith("/"))return r=`.${r}`,{pkgNameOrAlias:n.name,expose:r,remote:n};if(""===r)return{pkgNameOrAlias:n.name,expose:".",remote:n}}const o=n.alias&&t.startsWith(n.alias);let i=n.alias&&t.replace(n.alias,"");if(n.alias&&o){if(i&&i.startsWith("/"))return i=`.${i}`,{pkgNameOrAlias:n.alias,expose:i,remote:n};if(""===i)return{pkgNameOrAlias:n.alias,expose:".",remote:n}}}}(t.options.remotes,o);nn(i,`\n Unable to locate ${o} in ${t.options.name}. Potential reasons for failure include:\n\n 1. ${o} was not included in the 'remotes' parameter of ${t.options.name||"the host"}.\n\n 2. ${o} could not be found in the 'remotes' of ${t.options.name} with either 'name' or 'alias' attributes.\n 3. ${o} is not online, injected, or loaded.\n 4. ${o} cannot be accessed on the expected.\n 5. The 'beforeRequest' hook was provided but did not return the correct 'remoteInfo' when attempting to load ${o}.\n `);const{remote:a}=i,s=Nr(a),l=await t.sharedHandler.hooks.lifecycle.afterResolve.emit(Jr({id:o},i,{options:t.options,origin:t,remoteInfo:s})),{remote:u,expose:c}=l;nn(u&&c,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${o}.`);let f=t.moduleCache.get(u.name);const d={host:t,remoteInfo:s};return f||(f=new Cr(d),t.moduleCache.set(u.name,f)),{module:f,moduleOptions:d,remoteMatchInfo:l}}registerRemote(e,t,n){const r=()=>{if(e.alias){const n=t.find((t=>{var n;return e.alias&&(t.name.startsWith(e.alias)||(null==(n=t.alias)?void 0:n.startsWith(e.alias)))}));nn(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}"entry"in e&&(0,Ir.kP)()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=In),e.type||(e.type=On)},o=t.find((t=>t.name===e.name));if(o){const i=[`The remote "${e.name}" is already registered.`,(null==n?void 0:n.force)?"Hope you have known that OVERRIDE it may have some unexpected errors":'If you want to merge the remote, you can set "force: true".'];(null==n?void 0:n.force)&&(this.removeRemote(o),r(),t.push(e)),(0,Ir.ZK)(i.join(" "))}else r(),t.push(e)}removeRemote(e){const{host:t}=this,{name:n}=e,r=t.options.remotes.findIndex((e=>e.name===n));-1!==r&&t.options.remotes.splice(r,1);const o=t.moduleCache.get(e.name);if(o){const n=o.remoteInfo,r=n.entryGlobalName;globalThis[r]&&delete globalThis[r];const i=Lr(o.remoteInfo);bn[i]&&delete bn[i];let a=n.buildVersion?(0,Ir.M8)(n.name,n.buildVersion):n.name;const s=globalThis.__FEDERATION__.__INSTANCES__.findIndex((e=>n.buildVersion?e.options.id===a:e.name===a));if(-1!==s){const e=globalThis.__FEDERATION__.__INSTANCES__[s];a=e.options.id||a;const t=xr();let r=!0;const o=[];Object.keys(t).forEach((e=>{Object.keys(t[e]).forEach((i=>{Object.keys(t[e][i]).forEach((a=>{Object.keys(t[e][i][a]).forEach((s=>{const l=t[e][i][a][s];l.from===n.name&&(l.loaded||l.loading?(l.useIn=l.useIn.filter((e=>e!==n.name)),l.useIn.length?r=!1:o.push([e,i,a,s])):o.push([e,i,a,s]))}))}))}))})),r&&(e.shareScopeMap={},delete t[a]),o.forEach((([e,n,r,o])=>{var i,a,s;null==(s=t[e])||null==(a=s[n])||null==(i=a[r])||delete i[o]})),globalThis.__FEDERATION__.__INSTANCES__.splice(s,1)}t.moduleCache.delete(e.name)}}constructor(e){this.hooks=new Fr({beforeRequest:new jr("beforeRequest"),onLoad:new $r("onLoad"),handlePreloadModule:new Pr("handlePreloadModule"),errorLoadRemote:new $r("errorLoadRemote"),beforePreloadRemote:new $r,generatePreloadAssets:new $r("generatePreloadAssets"),afterPreloadRemote:new $r}),this.host=e}}function eo(){return eo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eo.apply(this,arguments)}class to{initOptions(e){this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=In,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,n){const r=Nr({name:e,entry:t}),o=new Cr({host:this,remoteInfo:r});return o.remoteEntryExports=n,this.moduleCache.set(e,o),o}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t){this.sharedHandler.initShareScopeMap(e,t)}formatOptions(e,t){const{shared:n}=gr(e,t),{userOptions:r,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:n}),i=this.remoteHandler.formatAndRegisterRemote(o,r),{shared:a}=this.sharedHandler.registerShared(o,r),s=[...o.plugins];r.plugins&&r.plugins.forEach((e=>{s.includes(e)||s.push(e)}));const l=eo({},e,t,{plugins:s,remotes:i,shared:a});return this.hooks.lifecycle.init.emit({origin:this,options:l}),l}registerPlugins(e){const t=function(e,t){const n=mn.__FEDERATION__.__GLOBAL_PLUGIN__;return n.length>0&&n.forEach((t=>{(null==e?void 0:e.find((e=>e.name!==t.name)))&&e.push(t)})),e&&e.length>0&&e.forEach((e=>{t.forEach((t=>{t.applyPlugin(e)}))})),e}(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook]);this.options.plugins=this.options.plugins.reduce(((e,t)=>t?(e&&!e.find((e=>e.name===t.name))&&e.push(t),e):e),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}constructor(e){this.hooks=new Fr({beforeInit:new Mr("beforeInit"),init:new Pr,beforeInitContainer:new jr("beforeInitContainer"),initContainer:new jr("initContainer")}),this.version="0.1.13",this.moduleCache=new Map,this.loaderHook=new Fr({getModuleInfo:new Pr,createScript:new Pr,createLink:new Pr,fetch:new $r("fetch")});const t={id:en(),name:e.name,plugins:[{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:n,expose:r,origin:o,remoteInfo:i}=e;if(!ln(t)||!un(t)){const{remoteSnapshot:a,globalSnapshot:s}=await o.snapshotHandler.loadRemoteSnapshotInfo(t);Gr(i,a);const l={remote:t,preloadConfig:{nameOrAlias:n,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:l,remoteInfo:i,remote:t,remoteSnapshot:a,globalSnapshot:s});return u&&Hr(i,o,u),Vr({},e,{remoteSnapshot:a})}return e}},{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:n,remoteInfo:r,remote:o,globalSnapshot:i,remoteSnapshot:a}=e;return ln(o)&&un(o)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:o.name,url:o.entry,moduleInfo:{name:r.name,entry:o.entry,type:"global",entryGlobalName:"",shareScope:""}}]}:(Gr(r,a),qr(t,n,r,i,a))}}],remotes:[],shared:{},inBrowser:"undefined"!=typeof window};this.name=e.name,this.options=t,this.snapshotHandler=new Xr(this),this.sharedHandler=new Kr(this),this.remoteHandler=new Zr(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...t.plugins,...e.plugins||[]]),this.options=this.formatOptions(t,e)}}let no=null;var ro;!function(e,t=function(){return Boolean("")}()){t&&(globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.1.13")}(to);const oo={},io={},ao={};!function(e){const t=function(e,t){const n=en();return globalThis.__FEDERATION__.__INSTANCES__.find((r=>!(!n||r.options.id!==en())||r.options.name===e&&!r.options.version&&!t||!(r.options.name!==e||!t||r.options.version!==t)))}(e.name,e.version);if(t)return t.initOptions(e),no||(no=t),t;{const t=globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__||to;no=new t(e),function(e){globalThis.__FEDERATION__.__INSTANCES__.push(e)}(no)}}({name:null!=(ro="MISSING_ENV_VAR".__PACKAGE_NAME__)?ro:"",remotes:[],shared:{react:{version:E.version,scope:"default",lib:()=>E},"react-dom":{version:Dt.version,scope:"default",lib:()=>Dt}}});const so=(e,t,n,r=!1)=>{if((oo[e]!==n||r)&&(e in oo&&console.error(`[chayns-api] call registerRemote with force for scope ${e}. url: ${n}`),function(...e){nn(no,"Please call init first"),no.registerRemotes.apply(no,e)}([{name:e,entry:n,alias:e}],{force:e in oo||r}),oo[e]=n,io[e]={},ao[e]={}),!(t in io[e])){const r=function(...e){return nn(no,"Please call init first"),no.loadRemote.apply(no,e)}(`${e}/${t.replace(/^\.\//,"")}`);return r.catch((t=>{console.error("[chayns-api] Failed to load module",e,n,t),oo[e]=""})),r}return io[e][t]},lo=(e,t,n,r=!1,o=!1)=>{if(r&&console.warn("[chayns-api] skipCompatMode-option is deprecated and is set automatically now"),ao[e]||(ao[e]={}),!(t in ao[e])){const r=so(e,t,n,o).then((async t=>{if("function"==typeof t.default)return t;const n=Zt().minVersion(E.version),{requiredVersion:r,environment:o}=t.default,i=await new Promise((e=>{!function(...e){nn(no,"Please call init first"),no.loadShareSync.apply(no,e)}("react",{resolver:t=>(e(t),t[0])})}));return r&&Zt().satisfies(n,r)&&!i.some((({version:t,from:o})=>Zt().gt(t,n)&&Zt().satisfies(t,r)||e===o.split("-").join("_")))&&"production"===o?{default:t.default.Component}:{default:t.default.CompatComponent}}));r.catch((r=>{console.error("[chayns-api] Failed to load component",e,n,r),delete ao[e][t]})),ao[e][t]=E.lazy((()=>r))}return ao[e][t]},uo=({system:e,fallback:t,...n})=>{const r=(0,E.useMemo)((()=>lo(e.scope,e.module,globalThis.window?e.url:e.serverUrl,void 0,e.preventSingleton)),[e.scope,e.module,e.url,e.serverUrl,e.preventSingleton]);return(0,Bt.jsx)(E.Suspense,{fallback:t||"",children:(0,Bt.jsx)(r,{...n})})},co=({system:e,children:t=null,functions:n,pages:r,isAdminModeActive:o,site:i,user:a,currentPage:s,device:l,language:u,parameters:c,customData:f,dialog:d,environment:p,preventStagingReplacement:h})=>{const m={site:i,isAdminModeActive:o,pages:r,currentPage:s,device:l,language:u,parameters:c,customData:f,environment:p};return a&&(m.user=a),d&&(m.dialog=d),(0,Bt.jsxs)(Bt.Fragment,{children:[(0,Bt.jsx)("div",{className:"module-css"}),(0,Bt.jsx)(uo,{system:{scope:e.scope,url:Qt(h,e.url,p.buildEnvironment),serverUrl:Qt(h,e.serverUrl,p.buildEnvironment),module:e.module,preventSingleton:e.preventSingleton},data:m,functions:n,fallback:t,isModule:!0})]})},fo=({type:e,iFrameProps:t,functions:n,src:r,iFrameRef:o,loadingComponent:i,system:a,pages:s,language:l,isAdminModeActive:u,site:c,user:f,currentPage:d,device:p,parameters:h,customData:m,environment:v,preventStagingReplacement:g,dialog:y})=>{const[b,w]=(0,E.useState)("client-module"!==e&&("server-module"!==e||!(null==a||!a.serverUrl)));if((0,E.useEffect)((()=>{b||("function"==typeof E.startTransition?(0,E.startTransition)((()=>{w(!0)})):w(!0))}),[]),!b)return null;switch(e){case"client-iframe":case"server-iframe":return(0,Bt.jsx)(Kt,{iFrameRef:o,iFrameProps:t,pages:s,isAdminModeActive:u,site:c,user:f,device:p,currentPage:d,functions:n,src:r,postForm:"server-iframe"===e,language:l,parameters:h,environment:v,customData:m,preventStagingReplacement:g,dialog:y});case"client-module":case"server-module":return(0,Bt.jsx)(co,{system:a,pages:s,isAdminModeActive:u,site:c,user:f,device:p,currentPage:d,children:i,functions:n,language:l,parameters:h,customData:m,environment:v,preventStagingReplacement:g,dialog:y});default:return null}};function po(e,t){return po=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},po(e,t)}function ho(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,po(e,t)}let mo,vo=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={hasError:!1},n}ho(t,e),t.getDerivedStateFromError=function(){return{hasError:!0}};var n=t.prototype;return n.componentDidCatch=function(e,t){console.error(e,t)},n.render=function(){return this.state.hasError?null:this.props.children},t}(E.Component);try{mo=__webpack_require__(Object(function(){var e=new Error("Cannot find module 'react-dom/client'");throw e.code="MODULE_NOT_FOUND",e}()))}catch(e){}const go=e=>{let t=function(t){function n(e){var n;return(n=t.call(this,e)||this).ref=void 0,n.root=void 0,n.ref=E.createRef(),n}ho(n,t);var r=n.prototype;return r.componentDidMount=function(){var t;const{innerRef:n}=this.props,r=(0,Bt.jsx)(vo,{children:(0,Bt.jsx)(e,{...this.props,ref:n})});"function"==typeof(null==(t=mo)?void 0:t.createRoot)?(this.root=mo.createRoot(this.ref.current),this.root.render(r)):Dt.render(r,this.ref.current)},r.componentDidUpdate=function(){const{innerRef:t}=this.props,n=(0,Bt.jsx)(vo,{children:(0,Bt.jsx)(e,{...this.props,ref:t})});this.root?this.root.render(n):Dt.render(n,this.ref.current)},r.componentWillUnmount=function(){this.root?this.root.unmount():Dt.render((0,Bt.jsx)(Bt.Fragment,{}),this.ref.current)},r.render=function(){return(0,Bt.jsx)("div",{ref:this.ref})},n}(E.PureComponent);return{Component:E.forwardRef(((t,n)=>(0,Bt.jsx)("div",{children:(0,Bt.jsx)(e,{...t,innerRef:n})}))),CompatComponent:E.forwardRef(((e,n)=>(0,Bt.jsx)(t,{...e,innerRef:n}))),requiredVersion:"^16.8 || ^17.0.1 || ^18.0.0",environment:"production",buildEnv:"MISSING_ENV_VAR".BUILD_ENV||"production",appVersion:"MISSING_ENV_VAR".VERSION}},yo=()=>{const e=Ht(Gt,(e=>e.addGeoLocationListener)),t=Ht(Gt,(e=>e.removeGeoLocationListener)),n=(0,E.useRef)();return(0,E.useCallback)(((r,o)=>(n.current=e(r,o),()=>{var e;null==(e=n.current)||e.then(t)})),[])},bo=({enabled:e=!0,timeout:t=0,silent:n=!1}={})=>{const[r,o]=(0,E.useState)(null),i=yo();return(0,E.useEffect)((()=>{if(e)return i({timeout:t,silent:n},o)}),[e,t,i,n]),{value:r}},wo=()=>{const e=Ht(Gt,(e=>e.addWindowMetricsListener)),t=Ht(Gt,(e=>e.removeWindowMetricsListener)),n=(0,E.useRef)();return(0,E.useCallback)((r=>(n.current=e(r),()=>{var e;null==(e=n.current)||e.then(t)})),[])},Eo=({enabled:e=!0}={})=>{const[t,n]=(0,E.useState)({bottomBarHeight:0,offsetTop:0,pageHeight:0,pageWidth:0,topBarHeight:0,windowHeight:0,pageSize:I.XS}),r=wo(),o=Ht(Gt,(e=>e.getWindowMetrics));return(0,E.useEffect)((()=>{if(e)return r((e=>{n(e)}))}),[e,r]),(0,E.useEffect)((()=>{o().then(n)}),[o]),t},_o=()=>{const e=Ht(Gt,(e=>e.addScrollListener)),t=Ht(Gt,(e=>e.removeScrollListener)),n=(0,E.useRef)();return(0,E.useCallback)(((r,o)=>(n.current=e(r,o),()=>{var e;null==(e=n.current)||e.then(t)})),[])},So=({enabled:e=!0,throttle:t=200}={})=>{const[n,r]=(0,E.useState)({scrollY:null,scrollX:null}),o=_o(),i=Ht(Gt,(e=>e.getScrollPosition));return(0,E.useEffect)((()=>{if(e)return o({throttle:t},r)}),[e,t,o]),(0,E.useEffect)((()=>{i().then(r)}),[i]),n},ko=({enabled:e=!0,throttle:t=200}={})=>{const n=So({enabled:e,throttle:t}),{offsetTop:r,topBarHeight:o}=Eo({enabled:e});return"number"==typeof(null==n?void 0:n.scrollY)?Math.max(0,n.scrollY-(r-o)):0},xo=({enabled:e=!0,throttle:t=200}={})=>{const n=So({enabled:e,throttle:t}),{offsetTop:r,windowHeight:o,bottomBarHeight:i}=Eo({enabled:e});return"number"==typeof(null==n?void 0:n.scrollY)?o-Math.max(0,r-n.scrollY+i):0},To=()=>{var e;return null!=(e=Ht(Vt,(e=>null==e?void 0:e.isAdminModeActive)))&&e},Io=()=>Ht(Vt,(e=>(null==e?void 0:e.user)||{})),Oo=e=>{const[t,n]=(0,E.useState)(null),[r,o]=(0,E.useState)(null),i=Ht(Gt,(e=>e.getAccessToken));return(0,E.useEffect)((()=>{null!=e&&e.external?i({external:!0}).then(o):i().then(n)}),[null==e?void 0:e.external,i]),null!=e&&e.external?null==r?void 0:r.accessToken:null==t?void 0:t.accessToken},Lo=()=>Ht(Vt,(e=>null==e?void 0:e.device)),Ro=()=>Ht(Vt,(e=>null==e?void 0:e.site)),No=()=>Ht(Vt,(e=>(null==e?void 0:e.parameters)||[])),Ao=({siteId:e}={siteId:void 0})=>{const t=Ht(Vt,(e=>e.pages));return e&&t.filter((t=>t.siteId===e)),t},Co=({id:e,siteId:t})=>{const n=Ht(Vt,(e=>e.pages));var r;return e&&null!=(r=n.find((n=>n.id===e&&(!t||n.siteId===t))))?r:null},Po=({id:e,siteId:t}={id:null,siteId:null})=>{var n;const{pages:r,currentPage:o}=pe.current.values;var i;return e?null!=(i=r.find((n=>n.id===e&&(!t||n.siteId===t))))?i:null:null!=(n=r.find((e=>e.id===o.id&&e.siteId===o.siteId||!e.siteId)))?n:null},$o=()=>Ht(Vt,(e=>null==e?void 0:e.environment)),Do=()=>Ht(Vt,(e=>null==e?void 0:e.language)),Mo=()=>Ht(Vt,(e=>e||{})),jo=()=>Ht(Gt,(e=>e||{})),Fo=()=>Ht(Vt,(e=>null==e?void 0:e.currentPage)),Uo=()=>Ht(Vt,(e=>null==e?void 0:e.customData)),zo=()=>({setResult:Ht(Gt,(e=>null==e?void 0:e.setDialogResult)),sendData:Ht(Gt,(e=>null==e?void 0:e.dispatchEventToDialogHost)),addDataListener:Ht(Gt,(e=>null==e?void 0:e.addDialogHostEventListener)),isClosingRequested:Ht(Vt,(e=>{var t;return null==e||null==(t=e.dialog)?void 0:t.isClosingRequested}))}),Ho=()=>Ht(Vt,(e=>{var t;return null==e||null==(t=e.dialog)?void 0:t.dialogInput}));__webpack_require__(7727),__webpack_require__(7314);const Vo=async e=>{for(let t=0;t<e.length;t++){const n=e[t];Array.isArray(n)?await Promise.allSettled(n.map((e=>Array.isArray(e)?Vo(e):"function"==typeof e?e():e))):await("function"==typeof n?n():n).catch((()=>{}))}},Go=({tasks:e,children:t,loadingComponent:n})=>{const[r,o]=(0,E.useState)((()=>!e.length)),i=(0,E.useRef)(!1);return i.current||Vo(e).finally((()=>o(!0))),i.current=!0,r?t:n};let Bo;!globalThis.window&&globalThis._hydrationContext?Bo=globalThis._hydrationContext:(Bo=(0,E.createContext)({}),globalThis._hydrationContext=Bo);const Wo=(e,t,n)=>({id:r,children:o})=>{let i;globalThis.window||(i=(0,E.useContext)(Bo));const a=n?n():r;if(!a)throw new Error("hydration boundary was not given a id which is required");const[s]=(0,E.useState)((()=>{if(!globalThis.window&&a in i)return i[a];let e;if(globalThis.window){const t=`__INITIAL_DATA_${a}__`,n=document.getElementById(t);n&&(e=JSON.parse(n.innerHTML))}const n=t(e,a);return globalThis.window||(i[a]=n),n}));return(0,E.useEffect)((()=>{const e=`__INITIAL_DATA_${a}__`,t=document.getElementById(e);t&&t.remove()}),[]),(0,Bt.jsx)(e,{value:s,children:o})},qo=function(){var e,t;let n;this.ready=void 0,this.addDataListener=void 0,this._wrapper=void 0,this.getUser=()=>this._wrapper.values.user,this.getSite=()=>this._wrapper.values.site,this.getCurrentPage=()=>this._wrapper.values.currentPage,this.getDevice=()=>this._wrapper.values.device,this.getLanguage=()=>this._wrapper.values.language,this.getParameters=()=>this._wrapper.values.parameters,this.getPages=()=>this._wrapper.values.pages,this.getEnvironment=()=>this._wrapper.values.environment;const r=K(navigator.userAgent,"");n=[U.Chayns,U.ChaynsLauncher,U.Sidekick,U.TobitChat].includes(null!=(e=null==(t=r.app)?void 0:t.name)?e:U.Unknown)&&window.self===window.top?new It:new At,pe.current=n,this._wrapper=n,this.ready=n.init(),this.addDataListener=n.addDataListener,Object.entries(n.functions).forEach((([e,t])=>{this[e]=t}))};function Yo(e){return new Promise(((t,n)=>{Ie({action:184,value:{dialogContent:e}},(e=>{t(e)}))}))}function Xo(e,t=""){return""!==t?`window._chaynsCallbacks.${t}.${e}`:`window._chaynsCallbacks.${e}`}const Qo={YES:"Ja",NO:"Nein",OK:"OK",CANCEL:"Abbrechen"},Ko={CANCEL:-1,NEGATIVE:0,POSITIVE:1},Jo={ALERT_CONFIRM:178,INPUT:173,SELECT:174,DATE:175,ADVANCED_DATE:176,DROP_UP_ALERT:177,MEDIA_SELECT:179,FILE_SELECT:180,SIGNATURE:181,IFRAME:191};function Zo(e){return e.callback=Xo("chaynsDialog"),e.dialog?(e.dialog.callType=Jo.ALERT_CONFIRM,Yo(e.dialog).then((e=>Promise.resolve(e.selection?e:e.buttonType)))):"unsupported"}function ei(e="",t=""){return Zo({dialog:{title:e,message:t,buttons:[{text:Qo.OK,buttonType:Ko.POSITIVE}]}})}function ti(e="",t="",n={}){return Array.isArray(n)&&(n={buttons:n}),n.buttons&&Array.isArray(n.buttons)||(n.buttons=[{text:Qo.YES,buttonType:Ko.POSITIVE},{text:Qo.NO,buttonType:Ko.NEGATIVE}]),Zo({dialog:{title:e,message:t,buttons:n.buttons,links:n.links,select:n.select}})}function ni(e){return"number"==typeof e&&!isNaN(e)}function ri(e){return"[object Date]"===Object.prototype.toString.call(e)}function oi(e){const t=[];for(let r=0,o=e.list.length;r<o;r++){const o=e.list[r];t.push({name:o.name,value:(n=o.value,null!=n?o.value:o.name),isSelected:!!o.isSelected,icon:o.icon,backgroundColor:o.backgroundColor,className:o.className,url:o.url})}var n;return 0===e.list.length?Promise.reject(new Error("Invalid Parameters")):(e.buttons&&Array.isArray(e.buttons)||(e.buttons=[{text:Qo.OK,buttonType:Ko.POSITIVE},{text:Qo.CANCEL,buttonType:Ko.CANCEL}]),Yo({callType:Jo.SELECT,title:e.title||"",message:e.message||"",buttons:e.buttons,links:e.links,multiselect:!!e.multiselect,quickfind:!!e.quickfind,type:e.type,preventCloseOnClick:!!e.preventCloseOnClick,selectAllButton:e.selectAllButton,list:t}))}const ii={DEFAULT:0,ICON:1};function ai(e={}){let{preSelect:t,minDate:n,maxDate:r,title:o,message:i,minuteInterval:a,autoSelectDate:s}=e,l=e.dateType||li.DATE;const{os:u,app:c}=dt();t=a&&a>1&&"iOS"===u&&c?ci(t,a):ui(t),n=ui(n),r=ui(r);let f=[];return f=[{text:Qo.OK,buttonType:Ko.POSITIVE}],Yo({callType:Jo.DATE,type:l,selectedDate:t,minDate:n,maxDate:r,title:o,message:i,buttons:f,minuteInterval:a,autoSelectDate:s}).then((e=>Promise.resolve(e.selectedDate)))}function si(e={}){let{preSelect:t,minDate:n,maxDate:r,title:o,message:i,minuteInterval:a,buttons:s,multiselect:l,disabledDates:u,textBlocks:c,monthSelect:f,yearSelect:d,interval:p,maxInterval:h,minInterval:m,disabledIntervals:v,disabledWeekDayIntervals:g,getLocalTime:y,autoSelectDate:b}=e,w=e.dateType||li.DATE;n=ui(n),r=ui(r);const{os:E,app:_}=dt();var S;return t||(t={}),Array.isArray(t)?t=t.map((e=>ui(e))):null!==(S=t)&&"object"==typeof S?t.start&&t.end&&(t=a&&a>1&&"iOS"===E&&_?[ci(t.start,a),ci(t.end,a)]:[ui(t.start),ui(t.end)]):t=a&&a>1&&"iOS"===E&&_?ci(t,a):ui(t),Array.isArray(u)&&(u=u.map((e=>ui(e)))),s&&Array.isArray(s)||(s=[{text:Qo.OK,buttonType:Ko.POSITIVE}]),Yo({callType:Jo.ADVANCED_DATE,type:w,selectedDate:Array.isArray(t)?void 0:t,minDate:n,maxDate:r,title:o,message:i,minuteInterval:a,buttons:s,multiselect:l,selectedDates:Array.isArray(t)?t:void 0,disabledDates:u,textBlocks:c,monthSelect:f,yearSelect:d,interval:p,minInterval:m,maxInterval:h,disabledIntervals:v,disabledWeekDayIntervals:g,getLocalTime:y,autoSelectDate:b}).then((e=>Promise.resolve(e)))}const li={DATE:1,TIME:2,DATE_TIME:3};function ui(e){return ni(e)?e:ri(e)?parseInt(e.getTime()/1e3+"",10):void 0}function ci(e=new Date,t){if(!ri(e)){if(!ni(e))return-1;e=new Date(e)}let n=e.getMinutes();return e.setMinutes(n-n%t),e.setSeconds(0),parseInt(e.getTime()/1e3+"",10)}function fi(e={}){return e.buttons&&Array.isArray(e.buttons)||(e.buttons=[{text:Qo.YES,buttonType:Ko.POSITIVE},{text:Qo.NO,buttonType:Ko.NEGATIVE}]),e.formatter&&(e.formatter=e.formatter.toString()),e.callType=Jo.INPUT,Yo(e)}const di={DEFAULT:0,PASSWORD:1,TEXTAREA:2,INPUT:3,NUMBER:4};function pi(){return Ie({action:113,value:{}})}function hi(e={}){return e.callType=Jo.DROP_UP_ALERT,Yo(e)}function mi(e,t){return Ie({action:218,value:{data:e,isApiEvent:t}})}const vi=[],gi=[];function yi(e={}){if(!e.data||!e.data.action&&"string"!=typeof e.data)return;const t=e.data.action?e.data:JSON.parse(e.data.match(/(\{(?:.*)\})/)[0]);if(218===t.action){const{data:e}=t.value;t.value.isApiEvent?gi.forEach((t=>{t(e)})):vi.forEach((t=>{t(e)}))}}function bi(e,t=!1){return 0!==vi.length&&0!==gi.length||window.addEventListener("message",yi),t?gi.push(e):vi.push(e),!0}function wi(e,t=!1){let n;return t?(n=gi.indexOf(e),-1!==n&&gi.splice(n,1)):(n=vi.indexOf(e),-1!==n&&vi.splice(n,1)),0===vi.length&&0===gi.length&&window.removeEventListener("message",yi),-1!==n}function Ei(e={url:""}){e.buttons&&Array.isArray(e.buttons)||(e.buttons=[{text:Qo.YES,buttonType:Ko.POSITIVE},{text:Qo.NO,buttonType:Ko.NEGATIVE}]),e.tappIframeName=window.name,e.callType=Jo.IFRAME;const t=ct();return e.url=`${e.url}${e.url.indexOf("?")>=0?"&":"?"}siteId=${t.id}`,bi(_i,!0),Yo(e)}function _i(e){if(e.call.value.callback){const t=JSON.parse(JSON.stringify(e));Ie(e).then((e=>{mi({result:e,call:t},!0)}))}else Ie(e)}async function Si(e={}){return e.buttons&&Array.isArray(e.buttons)||(e.buttons=[{text:Qo.OK,buttonType:Ko.POSITIVE},{text:Qo.CANCEL,buttonType:Ko.NEGATIVE}]),e.callType=Jo.MEDIA_SELECT,ut()?(e.chaynsToken=(await we()).accessToken,Yo(e)):Oe()}const ki={IMAGE:"image",VIDEO:"video",AUDIO:"audio",DOCUMENT:["application/x-latex","application/x-tex","text/","application/json","application/pdf","application/msword","application/msexcel","application/mspowerpoint","application/vnd.ms-word","application/vnd.ms-excel","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument","application/vnd.oasis.opendocument"]};async function xi(e={}){return e.buttons&&Array.isArray(e.buttons)||(e.buttons=[],(e.multiselect||e.directory)&&e.buttons.push({text:Qo.OK,buttonType:Ko.POSITIVE}),e.buttons.push({text:Qo.CANCEL,buttonType:Ko.NEGATIVE})),e.callType=Jo.FILE_SELECT,ut()?(e.chaynsToken=(await we()).accessToken,Yo(e)):Oe()}function Ti(e={}){return Ie({action:276,value:{callback:Xo("toastCallback"),...e}})}function Ii(e){return e||(e={}),e.buttons&&Array.isArray(e.buttons)||(e.buttons=[],e.buttons.push({text:Qo.OK,buttonType:Ko.POSITIVE}),e.buttons.push({text:Qo.CANCEL,buttonType:Ko.NEGATIVE})),e.callType=Jo.SIGNATURE,Yo(e)}const Oi={buildEnv:"MISSING_ENV_VAR".BUILD_ENV,appVersion:"MISSING_ENV_VAR".VERSION}})(),__webpack_exports__})()));