mobx-view-model-devtools 0.0.5 → 0.0.7

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.
Files changed (4) hide show
  1. package/index.cjs +1 -1
  2. package/index.global.js +1 -11338
  3. package/index.js +35922 -4516
  4. package/package.json +1 -2
package/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--font-weight-semibold:600;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static_g5P-G{position:static}.blur_9rZ6A{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.vmButton_Xr1Q6{z-index:99;width:calc(var(--spacing)*9);height:calc(var(--spacing)*9);cursor:pointer;border-radius:var(--radius-lg);font-family:var(--font-mono);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));position:fixed}.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}:is(.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]).opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=top-left].opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-left].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-right].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6>img{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);position:absolute}.vmButton_Xr1Q6>div{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:#00000057;position:absolute}.vmButton_Xr1Q6>span{pointer-events:none;top:calc(var(--spacing)*-1);left:calc(var(--spacing)*-1);border-radius:var(--radius-lg);padding:calc(var(--spacing)*.5);--tw-leading:1;--tw-font-weight:var(--font-weight-semibold);font-size:12px;line-height:1;font-weight:var(--font-weight-semibold);color:#2aff0a;background-color:#005c26cf;display:flex;position:absolute}.vmButton_Xr1Q6.opened_gewqL{pointer-events:none}.vmPopup_Q4l4j{z-index:99;border-radius:var(--radius-lg);width:520px;height:calc(100vh - 24px);position:fixed}.vmPopup_Q4l4j>header button{width:28px;padding:6px}.vmPopup_Q4l4j[data-position=top-right],.vmPopup_Q4l4j[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmContent_VAE7p{color:#ccc;font-family:var(--font-mono);background-color:#1e1e1e;overflow:auto}.vmContent_VAE7p>header{height:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*2);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);justify-content:space-between;align-items:center;display:flex}.vmContent_VAE7p *{font-family:var(--font-mono)}.vmContentTree_BB36O{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*2);flex-direction:column;display:flex}.vmTreeItem_t-7jc{flex-direction:column;display:flex}.vmTreeItem_t-7jc.line_Xgaua{top:calc(22px + 22px*var(--level,0));background:#1e1e1e;position:sticky}.vmTreeItem_t-7jc>header{z-index:1;cursor:pointer;align-items:center;gap:calc(var(--spacing)*1);text-overflow:ellipsis;white-space:nowrap;background-color:#1e1e1e;margin-block:auto;display:flex;overflow:hidden}.vmTreeItem_t-7jc>header>label{background:#0f6013;border-radius:4px;padding:0 4px}.vmTreeItem_t-7jc>header>span{color:#5ab65e;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.vmTreeItem_t-7jc:not([data-fitted=true])>header{opacity:.6}.vmContentFilters_No1QW{z-index:99;background:#1e1e1e;width:100%;padding:0 8px;position:sticky;top:0}.vmContentFilters_No1QW input{background:#343434;border-radius:4px;outline:0;width:100%;padding:3px 4px;font-size:14px}.propertyMeta_XxYHc{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyMeta_XxYHc.small_Ipy6s{font-size:10px;line-height:15px}.propertyValue_s9qHJ{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyValue_s9qHJ:has(+.property-name_2-sJi){margin-right:calc(var(--spacing)*1)}.line_Xgaua{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono);white-space:pre;height:22px;z-index:calc((var(--level,0) + 1)*10000 + (var(--order,0)));padding-left:calc(10px + (var(--level)*14px));background:#1e1e1e;flex-direction:row;align-items:center;font-size:14px;display:flex;position:relative;overflow:hidden}.line_Xgaua:has(>.expandButton_EObqt.expanded_uFpb7){top:calc(22px + 22px*(var(--level,0) + 1));position:sticky}.property_eoWZv[data-fitted=false]{opacity:.5}.property_eoWZv.instance_B-kEn>.propertyValue_s9qHJ{color:#ba82be}:is(.property_eoWZv.primitive_5yfCy.boolean_TwUVp,.property_eoWZv.primitive_5yfCy.number_AVdzm,.property_eoWZv.primitive_5yfCy.object_kn8wQ,.property_eoWZv.primitive_5yfCy.undefined_SMcns,.property_eoWZv.primitive_5yfCy.bigint_ZrO3O,.property_eoWZv.primitive_5yfCy.symbol_9GN4U)>.propertyValue_s9qHJ{color:#5999cd}.property_eoWZv.primitive_5yfCy.string_m1Kkx>.propertyValue_s9qHJ{color:#af7249}.expandButton_EObqt{color:#a0a0a0;cursor:pointer;width:16px;height:16px;font-weight:700;opacity:1!important}.expandButton_EObqt.expanded_uFpb7{color:#b8b8b8;transform:rotate(90deg)}.expandButton_EObqt.disabled_IDojS{opacity:.35!important}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- "use strict";var e,t,n=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),s=e=>{throw TypeError(e)},a=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>r(e,"name",{value:t,configurable:!0}),c=["class","method","getter","setter","accessor","field","value","get","set"],u=e=>void 0!==e&&"function"!=typeof e?s("Function expected"):e,d=(e,t,n,r,o)=>({kind:c[e],name:t,metadata:r,addInitializer:e=>n._?s("Already initialized"):o.push(u(e||null))}),p=(e,t)=>a(t,i("metadata"),e[3]),f=(e,t,n)=>a(e,"symbol"!=typeof t?t+"":t,n),h=(e,t,n)=>t.has(e)||s("Cannot "+n),m=(e,t)=>Object(t)!==t?s('Cannot use the "in" operator on this value'):e.has(t),v=(e,t,n)=>(h(e,t,"read from private field"),n?n.call(e):t.get(e)),b=(e,t,n,r)=>(h(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),g=(e,t,n)=>(h(e,t,"access private method"),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),_=require("react/jsx-runtime"),w=require("react-dom");var E="production"!==process.env.NODE_ENV?{0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"}:{};function O(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("production"!==process.env.NODE_ENV){var o="string"==typeof e?e:E[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var x={};function N(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:x}var k=Object.assign,S=Object.getOwnPropertyDescriptor,A=Object.defineProperty,C=Object.prototype,T=[];Object.freeze(T);var V={};Object.freeze(V);var M="undefined"!=typeof Proxy,D=Object.toString();function j(){M||O("production"!==process.env.NODE_ENV?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function P(e){"production"!==process.env.NODE_ENV&&Ut.verifyProxies&&O("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function R(){return++Ut.mobxGuid}function I(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var L=function(){};function B(e){return"function"==typeof e}function U(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function z(e){return null!==e&&"object"==typeof e}function F(e){if(!z(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===D}function G(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function H(e,t,n){A(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function q(e,t,n){A(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function K(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return z(e)&&!0===e[n]}}function W(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function $(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var X=void 0!==Object.getOwnPropertySymbols;var Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:X?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function J(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function Z(e){return null===e?null:"object"==typeof e?""+e:e}function Q(e,t){return C.hasOwnProperty.call(e,t)}var ee=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach(function(n){t[n]=S(e,n)}),t};function te(e,t){return!!(e&t)}function ne(e,t,n){return n?e|=t:e&=~t,e}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oe(e,t,n){return t&&function(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,ce(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ie(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return re(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},se.apply(null,arguments)}function ae(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,le(e,t)}function le(e,t){return(le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ce(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}var ue=Symbol("mobx-stored-annotations");function de(e){return Object.assign(function(t,n){if(fe(n))return e.decorate_20223_(t,n);pe(t,n,e)},e)}function pe(e,t,n){(Q(e,ue)||H(e,ue,se({},e[ue])),"production"!==process.env.NODE_ENV&&Oe(n)&&!Q(e[ue],t))&&O("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if("production"!==process.env.NODE_ENV&&!Oe(t)&&Q(e[ue],n)){var r=e.constructor.name+".prototype."+n.toString(),o=e[ue][n].annotationType_;O("Cannot apply '@"+t.annotationType_+"' to '"+r+"':\nThe field is already decorated with '@"+o+"'.\nRe-decorating fields is not allowed.\nUse '@override' decorator for methods overridden by subclass.")}}(e,n,t),Oe(n)||(e[ue][t]=n)}function fe(e){return"object"==typeof e&&"string"==typeof e.kind}function he(e,t){"production"===process.env.NODE_ENV||t.includes(e.kind)||O("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var me=Symbol("mobx administration"),ve=function(){function e(e){void 0===e&&(e="production"!==process.env.NODE_ENV?"Atom@"+R():"Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=_t.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return Kt(this)},t.reportChanged=function(){Ht(),Wt(this),qt()},t.toString=function(){return this.name_},oe(e,[{key:"isBeingObserved",get:function(){return te(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=ne(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return te(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=ne(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return te(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=ne(this.flags_,e.diffValueMask_,1===t)}}])}();ve.isBeingObservedMask_=1,ve.isPendingUnobservationMask_=2,ve.diffValueMask_=4;var be=K("Atom",ve);function ge(e,t,n){void 0===t&&(t=L),void 0===n&&(n=L);var r,o=new ve(e);return t!==L&&kn(On,o,t,r),n!==L&&Nn(o,n),o}var ye={structural:function(e,t){return Gr(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function _e(e,t,n){return Ln(e)?e:Array.isArray(e)?it.array(e,{name:n}):F(e)?it.object(e,void 0,{name:n}):W(e)?it.map(e,{name:n}):$(e)?it.set(e,{name:n}):"function"!=typeof e||yn(e)||In(e)?e:G(e)?Pn(e):bn(n,e)}function we(e){return e}var Ee="override";function Oe(e){return e.annotationType_===Ee}function xe(e,t){return{annotationType_:e,options_:t,make_:Ne,extend_:ke,decorate_20223_:Se}}function Ne(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(yn(n.value))return 1;var i=Ae(e,this,t,n,!1);return A(r,t,i),2}function ke(e,t,n,r){var o=Ae(e,this,t,n);return e.defineProperty_(t,o,r)}function Se(e,t){"production"!==process.env.NODE_ENV&&he(t,["method","field"]);var n,r=t.kind,o=t.name,i=t.addInitializer,s=this,a=function(e){var t,n,r,i;return ht(null!=(t=null==(n=s.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=s.options_)?void 0:i.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return yn(n)||(n=a(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(yn(e)||(e=a(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void O("Cannot apply '"+s.annotationType_+"' to '"+String(o)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function Ae(e,t,n,r,o){var i,s,a,l,c,u,d;void 0===o&&(o=Ut.safeDescriptors),function(e,t,n,r){var o=t.annotationType_,i=r.value;"production"===process.env.NODE_ENV||B(i)||O("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a function value.")}(e,t,n,r);var p,f=r.value;null!=(i=t.options_)&&i.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_));return{value:ht(null!=(s=null==(a=t.options_)?void 0:a.name)?s:n.toString(),f,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function Ce(e,t){return{annotationType_:e,options_:t,make_:Te,extend_:Ve,decorate_20223_:Me}}function Te(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!Q(e.target_,t)||!In(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(In(n.value))return 1;var i=De(e,this,t,n,!1,!1);return A(r,t,i),2}function Ve(e,t,n,r){var o,i=De(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function Me(e,t){var n;"production"!==process.env.NODE_ENV&&he(t,["method"]);var r=t.name,o=t.addInitializer;return In(e)||(e=Pn(e)),null!=(n=this.options_)&&n.bound&&o(function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t}),e}function De(e,t,n,r,o,i){void 0===i&&(i=Ut.safeDescriptors),function(e,t,n,r){var o=t.annotationType_,i=r.value;"production"===process.env.NODE_ENV||B(i)||O("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a generator function value.")}(e,t,n,r);var s,a=r.value;(In(a)||(a=Pn(a)),o)&&((a=a.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0);return{value:a,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function je(e,t){return{annotationType_:e,options_:t,make_:Pe,extend_:Re,decorate_20223_:Ie}}function Pe(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Re(e,t,n,r){return function(e,t,n,r){var o=t.annotationType_,i=r.get;"production"===process.env.NODE_ENV||i||O("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on getter(+setter) properties.")}(e,this,t,n),e.defineComputedProperty_(t,se({},this.options_,{get:n.get,set:n.set}),r)}function Ie(e,t){"production"!==process.env.NODE_ENV&&he(t,["getter"]);var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=_r(this)[me],o=se({},n.options_,{get:e,context:this});o.name||(o.name="production"!==process.env.NODE_ENV?t.name_+"."+r.toString():"ObservableObject."+r.toString()),t.values_.set(r,new yt(o))}),function(){return this[me].getObservablePropValue_(r)}}function Le(e,t){return{annotationType_:e,options_:t,make_:Be,extend_:Ue,decorate_20223_:ze}}function Be(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ue(e,t,n,r){var o,i;return function(e,t,n,r){var o=t.annotationType_;"production"===process.env.NODE_ENV||"value"in r||O("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' cannot be used on getter/setter properties")}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:_e,r)}function ze(e,t){if("production"!==process.env.NODE_ENV){if("field"===t.kind)throw O("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");he(t,["accessor"])}var n=this,r=t.kind,o=t.name,i=new WeakSet;function s(e,t){var r,s,a=_r(e)[me],l=new gt(t,null!=(r=null==(s=n.options_)?void 0:s.enhancer)?r:_e,"production"!==process.env.NODE_ENV?a.name_+"."+o.toString():"ObservableObject."+o.toString(),!1);a.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||s(this,e.get.call(this)),this[me].getObservablePropValue_(o)},set:function(e){return i.has(this)||s(this,e),this[me].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||s(this,e),e}}}var Fe="true",Ge=He();function He(e){return{annotationType_:Fe,options_:e,make_:qe,extend_:Ke,decorate_20223_:We}}function qe(e,t,n,r){var o,i,s,a;if(n.get)return ct.make_(e,t,n,r);if(n.set){var l=yn(n.set)?n.set:ht(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!Ut.safeDescriptors||e.isPlainObject_,set:l})?0:2:(A(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return G(n.value)?(null!=(a=this.options_)&&a.autoBind?Pn.bound:Pn).make_(e,t,n,r):(null!=(s=this.options_)&&s.autoBind?bn.bound:bn).make_(e,t,n,r);var c,u=!1===(null==(o=this.options_)?void 0:o.deep)?it.ref:it;"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_));return u.make_(e,t,n,r)}function Ke(e,t,n,r){var o,i,s;if(n.get)return ct.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!Ut.safeDescriptors||e.isPlainObject_,set:ht(t.toString(),n.set)},r);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(s=e.proxy_)?s:e.target_));return(!1===(null==(i=this.options_)?void 0:i.deep)?it.ref:it).extend_(e,t,n,r)}function We(e,t){O("'"+this.annotationType_+"' cannot be used as a decorator")}var $e={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Xe(e){return e||$e}Object.freeze($e);var Ye=Le("observable"),Je=Le("observable.ref",{enhancer:we}),Ze=Le("observable.shallow",{enhancer:function(e,t,n){return null==e||Or(e)||sr(e)||dr(e)||mr(e)?e:Array.isArray(e)?it.array(e,{name:n,deep:!1}):F(e)?it.object(e,void 0,{name:n,deep:!1}):W(e)?it.map(e,{name:n,deep:!1}):$(e)?it.set(e,{name:n,deep:!1}):void("production"!==process.env.NODE_ENV&&O("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets"))}}),Qe=Le("observable.struct",{enhancer:function(e,t){return"production"!==process.env.NODE_ENV&&Ln(e)&&O("observable.struct should not be used with observable values"),Gr(e,t)?t:e}}),et=de(Ye);function tt(e){return!0===e.deep?_e:!1===e.deep?we:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:_e;var t,n,r}function nt(e,t,n){return fe(t)?Ye.decorate_20223_(e,t):U(t)?void pe(e,t,Ye):Ln(e)?e:F(e)?it.object(e,t,n):Array.isArray(e)?it.array(e,t):W(e)?it.map(e,t):$(e)?it.set(e,t):"object"==typeof e&&null!==e?e:it.box(e,t)}k(nt,et);var rt,ot,it=k(nt,{box:function(e,t){var n=Xe(t);return new gt(e,tt(n),n.name,!0,n.equals)},array:function(e,t){var n=Xe(t);return(!1===Ut.useProxies||!1===n.proxy?Rr:Qn)(e,tt(n),n.name)},map:function(e,t){var n=Xe(t);return new ur(e,tt(n),n.name)},set:function(e,t){var n=Xe(t);return new hr(e,tt(n),n.name)},object:function(e,t,n){return Ur(function(){return function(e,t,n,r){"production"!==process.env.NODE_ENV&&(arguments.length>4&&O("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&O("'extendObservable' expects an object as first argument"),dr(e)&&O("'extendObservable' should not be used on maps, use map.merge instead"),F(t)||O("'extendObservable' only accepts plain objects as second argument"),(Ln(t)||Ln(n))&&O("Extending an object with another observable (object) is not supported"));var o=ee(t);return Ur(function(){var t=_r(e,r)[me];Y(o).forEach(function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))})}),e}(!1===Ut.useProxies||!1===(null==n?void 0:n.proxy)?_r({},n):function(e,t){var n,r;return j(),e=_r(e,t),null!=(r=(n=e[me]).proxy_)?r:n.proxy_=new Proxy(e,zn)}({},n),e,t)})},ref:de(Je),shallow:de(Ze),deep:et,struct:de(Qe)}),st="computed",at=je(st),lt=je("computed.struct",{equals:ye.structural}),ct=function(e,t){if(fe(t))return at.decorate_20223_(e,t);if(U(t))return pe(e,t,at);if(F(e))return de(je(st,e));"production"!==process.env.NODE_ENV&&(B(e)||O("First argument to `computed` should be an expression."),B(t)&&O("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=F(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new yt(n)};Object.assign(ct,at),ct.struct=de(lt);var ut=0,dt=1,pt=null!=(rt=null==(ot=S(function(){},"name"))?void 0:ot.configurable)&&rt,ft={value:"action",configurable:!0,writable:!1,enumerable:!1};function ht(e,t,n,r){function o(){return mt(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),"production"!==process.env.NODE_ENV&&(B(t)||O("`action` can only be invoked on functions"),"string"==typeof e&&e||O("actions should have valid names, got: '"+e+"'")),o.isMobxAction=!0,o.toString=function(){return t.toString()},pt&&(ft.value=e,A(o,"name",ft)),o}function mt(e,t,n,r,o){var i=function(e,t,n,r){var o="production"!==process.env.NODE_ENV&&nn()&&!!e,i=0;if("production"!==process.env.NODE_ENV&&o){i=Date.now();var s=r?Array.from(r):T;on({type:ln,name:e,object:n,arguments:s})}var a=Ut.trackingDerivation,l=!t||!a;Ht();var c=Ut.allowStateChanges;l&&(Mt(),c=vt(!0));var u=jt(!0),d={runAsAction_:l,prevDerivation_:a,prevAllowStateChanges_:c,prevAllowStateReads_:u,notifySpy_:o,startTime_:i,actionId_:dt++,parentActionId_:ut};return ut=d.actionId_,d}(e,t,r,o);try{return n.apply(r,o)}catch(s){throw i.error_=s,s}finally{!function(e){ut!==e.actionId_&&O(30);ut=e.parentActionId_,void 0!==e.error_&&(Ut.suppressReactionErrors=!0);bt(e.prevAllowStateChanges_),Pt(e.prevAllowStateReads_),qt(),e.runAsAction_&&Dt(e.prevDerivation_);"production"!==process.env.NODE_ENV&&e.notifySpy_&&an({time:Date.now()-e.startTime_});Ut.suppressReactionErrors=!1}(i)}}function vt(e){var t=Ut.allowStateChanges;return Ut.allowStateChanges=e,t}function bt(e){Ut.allowStateChanges=e}var gt=function(e){function t(t,n,r,o,i){var s,a;(void 0===r&&(r="production"!==process.env.NODE_ENV?"ObservableValue@"+R():"ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=ye.default),(s=e.call(this,r)||this).enhancer=void 0,s.name_=void 0,s.equals=void 0,s.hasUnreportedChange_=!1,s.interceptors_=void 0,s.changeListeners_=void 0,s.value_=void 0,s.dehancer=void 0,s.enhancer=n,s.name_=r,s.equals=i,s.value_=n(t,void 0,r),"production"!==process.env.NODE_ENV&&o&&nn())&&rn({type:"create",object:s,observableKind:"value",debugObjectName:s.name_,newValue:""+(null==(a=s.value_)?void 0:a.toString())});return s}ae(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){var t=this.value_;if((e=this.prepareNewValue_(e))!==Ut.UNCHANGED){var n=nn();"production"!==process.env.NODE_ENV&&n&&on({type:Yn,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),"production"!==process.env.NODE_ENV&&n&&an()}},n.prepareNewValue_=function(e){if(At(this),Fn(this)){var t=Hn(this,{object:this,type:Yn,newValue:e});if(!t)return Ut.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Ut.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),qn(this)&&Wn(this,{type:Yn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return Gn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Yn,newValue:this.value_,oldValue:void 0}),Kn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return Z(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(ve),yt=function(){function e(e){this.dependenciesState_=_t.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=_t.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Nt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Et.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||O(31),this.derivation=e.get,this.name_=e.name||("production"!==process.env.NODE_ENV?"ComputedValue@"+R():"ComputedValue"),e.set&&(this.setter_=ht("production"!==process.env.NODE_ENV?this.name_+"-setter":"ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ye.structural:ye.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==_t.UP_TO_DATE_)return;e.lowestObserverState_=_t.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===_t.UP_TO_DATE_&&(e.dependenciesState_=_t.POSSIBLY_STALE_,e.onBecomeStale_())})}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&O(32,this.name_,this.derivation),0!==Ut.inBatch||0!==this.observers_.size||this.keepAlive_){if(Kt(this),St(this)){var e=Ut.trackingContext;this.keepAlive_&&!e&&(Ut.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===_t.STALE_)return;e.lowestObserverState_=_t.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===_t.POSSIBLY_STALE_?(t.dependenciesState_=_t.STALE_,"production"!==process.env.NODE_ENV&&t.isTracing_!==Et.NONE&&$t(t,e)):t.dependenciesState_===_t.UP_TO_DATE_&&(e.lowestObserverState_=_t.UP_TO_DATE_)})}(this),Ut.trackingContext=e}}else St(this)&&(this.warnAboutUntrackedRead_(),Ht(),this.value_=this.computeValue_(!1),qt());var t=this.value_;if(kt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&O(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else O(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===_t.NOT_TRACKING_,n=this.computeValue_(!0),r=t||kt(e)||kt(n)||!this.equals_(e,n);return r&&(this.value_=n,"production"!==process.env.NODE_ENV&&nn()&&rn({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:e,newValue:n})),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=vt(!1);if(e)t=Ct(this,this.derivation,this.scope_);else if(!0===Ut.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new Nt(r)}return bt(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(Tt(this),this.value_=void 0,"production"!==process.env.NODE_ENV&&this.isTracing_!==Et.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,i;void 0===t&&(t=V);"production"!==process.env.NODE_ENV&&(B(e)||O("Autorun expects a function as first argument"),yn(e)&&O("Autorun does not accept actions since actions are untrackable"));var s,a=null!=(n=null==(r=t)?void 0:r.name)?n:"production"!==process.env.NODE_ENV?e.name||"Autorun@"+R():"Autorun";if(t.scheduler||t.delay){var l=wn(t),c=!1;s=new Yt(a,function(){c||(c=!0,l(function(){c=!1,s.isDisposed||s.track(u)}))},t.onError,t.requiresObservable)}else s=new Yt(a,function(){this.track(u)},t.onError,t.requiresObservable);function u(){e(s)}null!=(o=t)&&null!=(o=o.signal)&&o.aborted||s.schedule_();return s.getDisposer_(null==(i=t)?void 0:i.signal)}(function(){var i=n.get();if(!r||t){var s=Mt();e({observableKind:"computed",debugObjectName:n.name_,type:Yn,object:n,newValue:i,oldValue:o}),Dt(s)}r=!1,o=i})},t.warnAboutUntrackedRead_=function(){"production"!==process.env.NODE_ENV&&(this.isTracing_!==Et.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),("boolean"==typeof this.requiresReaction_?this.requiresReaction_:Ut.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return Z(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},oe(e,[{key:"isComputing",get:function(){return te(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=ne(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return te(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=ne(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return te(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=ne(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return te(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=ne(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return te(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=ne(this.flags_,e.diffValueMask_,1===t)}}])}();yt.isComputingMask_=1,yt.isRunningSetterMask_=2,yt.isBeingObservedMask_=4,yt.isPendingUnobservationMask_=8,yt.diffValueMask_=16;var _t,wt,Et,Ot,xt=K("ComputedValue",yt);(wt=_t||(_t={}))[wt.NOT_TRACKING_=-1]="NOT_TRACKING_",wt[wt.UP_TO_DATE_=0]="UP_TO_DATE_",wt[wt.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",wt[wt.STALE_=2]="STALE_",(Ot=Et||(Et={}))[Ot.NONE=0]="NONE",Ot[Ot.LOG=1]="LOG",Ot[Ot.BREAK=2]="BREAK";var Nt=function(e){this.cause=void 0,this.cause=e};function kt(e){return e instanceof Nt}function St(e){switch(e.dependenciesState_){case _t.UP_TO_DATE_:return!1;case _t.NOT_TRACKING_:case _t.STALE_:return!0;case _t.POSSIBLY_STALE_:for(var t=jt(!0),n=Mt(),r=e.observing_,o=r.length,i=0;i<o;i++){var s=r[i];if(xt(s)){if(Ut.disableErrorBoundaries)s.get();else try{s.get()}catch(a){return Dt(n),Pt(t),!0}if(e.dependenciesState_===_t.STALE_)return Dt(n),Pt(t),!0}}return Rt(e),Dt(n),Pt(t),!1}}function At(e){if("production"!==process.env.NODE_ENV){var t=e.observers_.size>0;Ut.allowStateChanges||!t&&"always"!==Ut.enforceActions||console.warn("[MobX] "+(Ut.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function Ct(e,t,n){var r=jt(!0);Rt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Ut.runId;var o,i=Ut.trackingDerivation;if(Ut.trackingDerivation=e,Ut.inBatch++,!0===Ut.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(s){o=new Nt(s)}return Ut.inBatch--,Ut.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=_t.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,s=0;s<i;s++){var a=n[s];0===a.diffValue&&(a.diffValue=1,o!==s&&(n[o]=a),o++),a.dependenciesState_>r&&(r=a.dependenciesState_)}n.length=o,e.newObserving_=null,i=t.length;for(;i--;){var l=t[i];0===l.diffValue&&Ft(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,zt(c,e))}r!==_t.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),function(e){if("production"===process.env.NODE_ENV)return;if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:Ut.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),Pt(r),o}function Tt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Ft(t[n],e);e.dependenciesState_=_t.NOT_TRACKING_}function Vt(e){var t=Mt();try{return e()}finally{Dt(t)}}function Mt(){var e=Ut.trackingDerivation;return Ut.trackingDerivation=null,e}function Dt(e){Ut.trackingDerivation=e}function jt(e){var t=Ut.allowStateReads;return Ut.allowStateReads=e,t}function Pt(e){Ut.allowStateReads=e}function Rt(e){if(e.dependenciesState_!==_t.UP_TO_DATE_){e.dependenciesState_=_t.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=_t.UP_TO_DATE_}}var It=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Lt=!0,Bt=!1,Ut=function(){var e=N();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Lt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new It).version&&(Lt=!1),Lt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new It):(setTimeout(function(){Bt||O(35)},1),new It)}();function zt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Ft(e,t){e.observers_.delete(t),0===e.observers_.size&&Gt(e)}function Gt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ut.pendingUnobservations.push(e))}function Ht(){Ut.inBatch++}function qt(){if(0===--Ut.inBatch){Qt();for(var e=Ut.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof yt&&n.suspend_())}Ut.pendingUnobservations=[]}}function Kt(e){!function(e){"production"!==process.env.NODE_ENV&&!Ut.allowStateReads&&Ut.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=Ut.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Ut.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Ut.inBatch>0&&Gt(e),!1)}function Wt(e){e.lowestObserverState_!==_t.STALE_&&(e.lowestObserverState_=_t.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===_t.UP_TO_DATE_&&("production"!==process.env.NODE_ENV&&t.isTracing_!==Et.NONE&&$t(t,e),t.onBecomeStale_()),t.dependenciesState_=_t.STALE_}))}function $t(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===Et.BREAK){var n=[];Xt(Cn(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name_+"'\n\nYou are entering this break point because derivation '"+e.name_+"' is being traced and '"+t.name_+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof yt?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Xt(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+"\t".repeat(n-1)+e.name),e.dependencies&&e.dependencies.forEach(function(e){return Xt(e,t,n+1)}))}var Yt=function(){function e(e,t,n,r){void 0===e&&(e="production"!==process.env.NODE_ENV?"Reaction@"+R():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=_t.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Et.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,Ut.pendingReactions.push(this),Qt())},t.runReaction_=function(){if(!this.isDisposed){Ht(),this.isScheduled=!1;var e=Ut.trackingContext;if(Ut.trackingContext=this,St(this)){this.isTrackPending=!0;try{this.onInvalidate_(),"production"!==process.env.NODE_ENV&&this.isTrackPending&&nn()&&rn({name:this.name_,type:"scheduled-reaction"})}catch(t){this.reportExceptionInDerivation_(t)}}Ut.trackingContext=e,qt()}},t.track=function(e){if(!this.isDisposed){Ht();var t,n=nn();"production"!==process.env.NODE_ENV&&n&&(t=Date.now(),on({name:this.name_,type:"reaction"})),this.isRunning=!0;var r=Ut.trackingContext;Ut.trackingContext=this;var o=Ct(this,e,void 0);Ut.trackingContext=r,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Tt(this),kt(o)&&this.reportExceptionInDerivation_(o.cause),"production"!==process.env.NODE_ENV&&n&&an({time:Date.now()-t}),qt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Ut.disableErrorBoundaries)throw e;var n="production"!==process.env.NODE_ENV?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";Ut.suppressReactionErrors?"production"!==process.env.NODE_ENV&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),"production"!==process.env.NODE_ENV&&nn()&&rn({type:"error",name:this.name_,message:n,error:""+e}),Ut.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(Ht(),Tt(this),qt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[me]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){if("production"===process.env.NODE_ENV)return;for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"boolean"==typeof n[n.length-1]&&(e=n.pop());var o=function(e){switch(e.length){case 0:return Ut.trackingDerivation;case 1:return Ir(e[0]);case 2:return Ir(e[0],e[1])}}(n);if(!o)return O("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===Et.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled");o.isTracing_=e?Et.BREAK:Et.LOG}(this,e)},oe(e,[{key:"isDisposed",get:function(){return te(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=ne(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return te(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=ne(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return te(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=ne(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return te(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=ne(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return te(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=ne(this.flags_,e.diffValueMask_,1===t)}}])}();Yt.isDisposedMask_=1,Yt.isScheduledMask_=2,Yt.isTrackPendingMask_=4,Yt.isRunningMask_=8,Yt.diffValueMask_=16;var Jt=100,Zt=function(e){return e()};function Qt(){Ut.inBatch>0||Ut.isRunningReactions||Zt(en)}function en(){Ut.isRunningReactions=!0;for(var e=Ut.pendingReactions,t=0;e.length>0;){++t===Jt&&(console.error("production"!==process.env.NODE_ENV?"Reaction doesn't converge to a stable state after "+Jt+" iterations. Probably there is a cycle in the reactive function: "+e[0]:"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}Ut.isRunningReactions=!1}var tn=K("Reaction",Yt);function nn(){return"production"!==process.env.NODE_ENV&&!!Ut.spyListeners.length}function rn(e){if("production"!==process.env.NODE_ENV&&Ut.spyListeners.length)for(var t=Ut.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function on(e){"production"!==process.env.NODE_ENV&&rn(se({},e,{spyReportStart:!0}))}var sn={type:"report-end",spyReportEnd:!0};function an(e){"production"!==process.env.NODE_ENV&&rn(e?se({},e,{type:"report-end",spyReportEnd:!0}):sn)}var ln="action",cn="autoAction",un="<unnamed action>",dn=xe(ln),pn=xe("action.bound",{bound:!0}),fn=xe(cn,{autoAction:!0}),hn=xe("autoAction.bound",{autoAction:!0,bound:!0});function mn(e){return function(t,n){return B(t)?ht(t.name||un,t,e):B(n)?ht(t,n,e):fe(n)?(e?fn:dn).decorate_20223_(t,n):U(n)?pe(t,n,e?fn:dn):U(t)?de(xe(e?cn:ln,{name:t,autoAction:e})):void("production"!==process.env.NODE_ENV&&O("Invalid arguments for `action`"))}}var vn=mn(!1);Object.assign(vn,dn);var bn=mn(!0);function gn(e){return mt(e.name||un,!1,e,this,void 0)}function yn(e){return B(e)&&!0===e.isMobxAction}Object.assign(bn,fn),vn.bound=de(pn),bn.bound=de(hn);var _n=function(e){return e()};function wn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:_n}function En(e,t,n){var r,o,i;void 0===n&&(n=V),"production"!==process.env.NODE_ENV&&(B(e)&&B(t)||O("First and second argument to reaction should be functions"),F(n)||O("Third argument of reactions should be an object"));var s,a,l,c=null!=(r=n.name)?r:"production"!==process.env.NODE_ENV?"Reaction@"+R():"Reaction",u=vn(c,n.onError?(s=n.onError,a=t,function(){try{return a.apply(this,arguments)}catch(e){s.call(this,e)}}):t),d=!n.scheduler&&!n.delay,p=wn(n),f=!0,h=!1,m=n.compareStructural?ye.structural:n.equals||ye.default,v=new Yt(c,function(){f||d?b():h||(h=!0,p(b))},n.onError,n.requiresObservable);function b(){if(h=!1,!v.isDisposed){var t=!1,r=l;v.track(function(){var n=function(e,t){var n=vt(e);try{return t()}finally{bt(n)}}(!1,function(){return e(v)});t=f||!m(l,n),l=n}),(f&&n.fireImmediately||!f&&t)&&u(l,r,v),f=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||v.schedule_(),v.getDisposer_(null==(i=n)?void 0:i.signal)}var On="onBO",xn="onBUO";function Nn(e,t,n){return kn(xn,e,t,n)}function kn(e,t,n,r){var o=Ir(t),i=B(r)?r:n,s=e+"L";return o[s]?o[s].add(i):o[s]=new Set([i]),function(){var e=o[s];e&&(e.delete(i),0===e.size&&delete o[s])}}var Sn="always";function An(e){!0===e.isolateGlobalState&&function(){if((Ut.pendingReactions.length||Ut.inBatch||Ut.isRunningReactions)&&O(36),Bt=!0,Lt){var e=N();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Ut=new It}}();var t,n,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(Ut.useProxies=r===Sn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(Ut.verifyProxies=!0),void 0!==o){var i=o===Sn?Sn:"observed"===o;Ut.enforceActions=i,Ut.allowStateChanges=!0!==i&&i!==Sn}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(Ut[t]=!!e[t])}),Ut.allowStateReads=!Ut.observableRequiresReaction,"production"!==process.env.NODE_ENV&&!0===Ut.disableErrorBoundaries&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),e.reactionScheduler&&(t=e.reactionScheduler,n=Zt,Zt=function(e){return t(function(){return n(e)})})}function Cn(e,t){return Tn(Ir(e,t))}function Tn(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Tn)),n}var Vn=0;function Mn(){this.message="FLOW_CANCELLED"}Mn.prototype=Object.create(Error.prototype);var Dn=Ce("flow"),jn=Ce("flow.bound",{bound:!0}),Pn=Object.assign(function(e,t){if(fe(t))return Dn.decorate_20223_(e,t);if(U(t))return pe(e,t,Dn);"production"!==process.env.NODE_ENV&&1!==arguments.length&&O("Flow expects single argument with generator function");var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Vn,i=vn(r+" - runid: "+o+" - init",n).apply(this,t),s=void 0,a=new Promise(function(t,n){var a=0;function l(e){var t;s=void 0;try{t=vn(r+" - runid: "+o+" - yield "+a++,i.next).call(i,e)}catch(l){return n(l)}u(t)}function c(e){var t;s=void 0;try{t=vn(r+" - runid: "+o+" - yield "+a++,i.throw).call(i,e)}catch(l){return n(l)}u(t)}function u(e){if(!B(null==e?void 0:e.then))return e.done?t(e.value):(s=Promise.resolve(e.value)).then(l,c);e.then(u,n)}e=n,l(void 0)});return a.cancel=vn(r+" - runid: "+o+" - cancel",function(){try{s&&Rn(s);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(L,L),Rn(n),e(new Mn)}catch(r){e(r)}}),a};return o.isMobXFlow=!0,o},Dn);function Rn(e){B(e.cancel)&&e.cancel()}function In(e){return!0===(null==e?void 0:e.isMobXFlow)}function Ln(e){return"production"!==process.env.NODE_ENV&&1!==arguments.length&&O("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e){return!!e&&(Or(e)||!!e[me]||be(e)||tn(e)||xt(e))}(e)}function Bn(e,t){void 0===t&&(t=void 0),Ht();try{return e.apply(t)}finally{qt()}}function Un(e){return e[me]}Pn.bound=de(jn);var zn={has:function(e,t){return"production"!==process.env.NODE_ENV&&Ut.trackingDerivation&&P("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),Un(e).has_(t)},get:function(e,t){return Un(e).get_(t)},set:function(e,t,n){var r;return!!U(t)&&("production"===process.env.NODE_ENV||Un(e).values_.has(t)||P("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(r=Un(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return"production"!==process.env.NODE_ENV&&P("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!U(t)&&(null==(n=Un(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return"production"!==process.env.NODE_ENV&&P("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(r=Un(e).defineProperty_(t,n))||r},ownKeys:function(e){return"production"!==process.env.NODE_ENV&&Ut.trackingDerivation&&P("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),Un(e).ownKeys_()},preventExtensions:function(e){O(13)}};function Fn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Gn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),I(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Hn(e,t){var n=Mt();try{for(var r=[].concat(e.interceptors_||[]),o=0,i=r.length;o<i&&((t=r[o](t))&&!t.type&&O(14),t);o++);return t}finally{Dt(n)}}function qn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Kn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),I(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Wn(e,t){var n=Mt(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);Dt(n)}}function $n(e,t,n){return Ur(function(){var r=_r(e,n)[me];"production"!==process.env.NODE_ENV&&t&&e[ue]&&O("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),null!=t||(t=function(e){return Q(e,ue)||H(e,ue,se({},e[ue])),e[ue]}(e)),Y(t).forEach(function(e){return r.make_(e,t[e])})}),e}var Xn="splice",Yn="update",Jn={get:function(e,t){var n=e[me];return t===me?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?Q(er,t)?er[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[me];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){O(15)}},Zn=function(){function e(e,t,n,r){void 0===e&&(e="production"!==process.env.NODE_ENV?"ObservableArray@"+R():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new ve(e),this.enhancer_=function(n,r){return t(n,r,"production"!==process.env.NODE_ENV?e+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return Gn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Kn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&O("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&O(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Pr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;At(this.atom_);var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=T),Fn(this)){var i=Hn(this,{object:this.proxy_,type:Xn,index:e,removedCount:t,added:n});if(!i)return T;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_||"production"!==process.env.NODE_ENV){var s=n.length-t;this.updateArrayLength_(o,s)}var a=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,a),this.dehanceValues_(a)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var s=0;s<n.length;s++)this.values_[e+s]=n[s];for(var a=0;a<i.length;a++)this.values_[e+n.length+a]=i[a];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&nn(),o=qn(this),i=o||r?{observableKind:"array",object:this.proxy_,type:Yn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;"production"!==process.env.NODE_ENV&&r&&on(i),this.atom_.reportChanged(),o&&Wn(this,i),"production"!==process.env.NODE_ENV&&r&&an()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&nn(),o=qn(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Xn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;"production"!==process.env.NODE_ENV&&r&&on(i),this.atom_.reportChanged(),o&&Wn(this,i),"production"!==process.env.NODE_ENV&&r&&an()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("production"!==process.env.NODE_ENV?"[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&O(17,e,n.length),e<n.length){At(this.atom_);var r=n[e];if(Fn(this)){var o=Hn(this,{type:Yn,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var i=new Array(e+1-n.length),s=0;s<i.length-1;s++)i[s]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},e}();function Qn(e,t,n,r){return void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableArray@"+R():"ObservableArray"),void 0===r&&(r=!1),j(),Ur(function(){var o=new Zn(n,t,r,!1);q(o.values_,me,o);var i=new Proxy(o.values_,Jn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i})}var er={clear:function(){return this.splice(0)},replace:function(e){var t=this[me];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=this[me];switch(arguments.length){case 0:return[];case 1:return i.spliceWithArray_(e);case 2:return i.spliceWithArray_(e,t)}return i.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[me].spliceWithArray_(e,t,n)},push:function(){for(var e=this[me],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[me].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[me],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return Ut.trackingDerivation&&O(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Ut.trackingDerivation&&O(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[me],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function tr(e,t){"function"==typeof Array.prototype[e]&&(er[e]=t(e))}function nr(e){return function(){var t=this[me];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function rr(e){return function(t,n){var r=this,o=this[me];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e](function(e,o){return t.call(n,e,o,r)})}}function or(e){return function(){var t=this,n=this[me];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}tr("at",nr),tr("concat",nr),tr("flat",nr),tr("includes",nr),tr("indexOf",nr),tr("join",nr),tr("lastIndexOf",nr),tr("slice",nr),tr("toString",nr),tr("toLocaleString",nr),tr("toSorted",nr),tr("toSpliced",nr),tr("with",nr),tr("every",rr),tr("filter",rr),tr("find",rr),tr("findIndex",rr),tr("findLast",rr),tr("findLastIndex",rr),tr("flatMap",rr),tr("forEach",rr),tr("map",rr),tr("some",rr),tr("toReversed",rr),tr("reduce",or),tr("reduceRight",or);var ir=K("ObservableArrayAdministration",Zn);function sr(e){return z(e)&&ir(e[me])}var ar={},lr="add",cr="delete",ur=function(){function e(e,t,n){var r=this;void 0===t&&(t=_e),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableMap@"+R():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[me]=ar,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,B(Map)||O(18),Ur(function(){r.keysAtom_=ge("production"!==process.env.NODE_ENV?r.name_+".keys()":"ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Ut.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new gt(this.has_(e),we,"production"!==process.env.NODE_ENV?this.name_+"."+J(e)+"?":"ObservableMap.key?",!1);this.hasMap_.set(e,r),Nn(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Fn(this)){var r=Hn(this,{type:n?Yn:lr,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((At(this.keysAtom_),Fn(this))&&!Hn(this,{type:cr,object:this,name:e}))return!1;if(this.has_(e)){var n=nn(),r=qn(this),o=r||n?{observableKind:"map",debugObjectName:this.name_,type:cr,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return"production"!==process.env.NODE_ENV&&n&&on(o),Bn(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),r&&Wn(this,o),"production"!==process.env.NODE_ENV&&n&&an(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Ut.UNCHANGED){var r=nn(),o=qn(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:Yn,object:this,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&on(i),n.setNewValue_(t),o&&Wn(this,i),"production"!==process.env.NODE_ENV&&r&&an()}},t.addValue_=function(e,t){var n=this;At(this.keysAtom_),Bn(function(){var r,o=new gt(t,n.enhancer_,"production"!==process.env.NODE_ENV?n.name_+"."+J(e):"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=nn(),o=qn(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:lr,object:this,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&on(i),o&&Wn(this,i),"production"!==process.env.NODE_ENV&&r&&an()},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return pr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return pr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=ie(this);!(n=r()).done;){var o=n.value,i=o[0],s=o[1];e.call(t,s,i,this)}},t.merge=function(e){var t=this;return dr(e)&&(e=new Map(e)),Bn(function(){var n,r,o;F(e)?function(e){var t=Object.keys(e);if(!X)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return C.propertyIsEnumerable.call(e,t)})):t}(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):W(e)?(n=e,r=Object.getPrototypeOf(n),o=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(o)&&O(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&O(20,e)}),this},t.clear=function(){var e=this;Bn(function(){Vt(function(){for(var t,n=ie(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return Bn(function(){for(var n,r=function(e){if(W(e)||dr(e))return e;if(Array.isArray(e))return new Map(e);if(F(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return O(21,e)}(e),o=new Map,i=!1,s=ie(t.data_.keys());!(n=s()).done;){var a=n.value;if(!r.has(a))if(t.delete(a))i=!0;else{var l=t.data_.get(a);o.set(a,l)}}for(var c,u=ie(r.entries());!(c=u()).done;){var d=c.value,p=d[0],f=d[1],h=t.data_.has(p);if(t.set(p,f),t.data_.has(p)){var m=t.data_.get(p);o.set(p,m),h||(i=!0)}}if(!i)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),b=o.keys(),g=v.next(),y=b.next();!g.done;){if(g.value!==y.value){t.keysAtom_.reportChanged();break}g=v.next(),y=b.next()}t.data_=o}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&O("`observe` doesn't support fireImmediately=true in combination with maps."),Kn(this,e)},t.intercept_=function(e){return Gn(this,e)},oe(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),dr=K("ObservableMap",ur);function pr(e){return e[Symbol.toStringTag]="MapIterator",Wr(e)}var fr={},hr=function(){function e(e,t,n){var r=this;void 0===t&&(t=_e),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableSet@"+R():"ObservableSet"),this.name_=void 0,this[me]=fr,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,B(Set)||O(22),this.enhancer_=function(e,r){return t(e,r,n)},Ur(function(){r.atom_=ge(r.name_),e&&r.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Bn(function(){Vt(function(){for(var t,n=ie(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=ie(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(At(this.atom_),Fn(this)){var n=Hn(this,{type:lr,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){Bn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r="production"!==process.env.NODE_ENV&&nn(),o=qn(this),i=o||r?{observableKind:"set",debugObjectName:this.name_,type:lr,object:this,newValue:e}:null;r&&"production"!==process.env.NODE_ENV&&on(i),o&&Wn(this,i),r&&"production"!==process.env.NODE_ENV&&an()}return this},t.delete=function(e){var t=this;if(Fn(this)&&!Hn(this,{type:cr,object:this,oldValue:e}))return!1;if(this.has(e)){var n="production"!==process.env.NODE_ENV&&nn(),r=qn(this),o=r||n?{observableKind:"set",debugObjectName:this.name_,type:cr,object:this,oldValue:e}:null;return n&&"production"!==process.env.NODE_ENV&&on(o),Bn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&Wn(this,o),n&&"production"!==process.env.NODE_ENV&&an(),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return vr({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return vr({next:function(){var n=t.next(),r=n.value,o=n.done;return o?{value:void 0,done:o}:{value:e.dehanceValue_(r),done:o}}})},t.intersection=function(e){return $(e)&&!mr(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return $(e)&&!mr(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return $(e)&&!mr(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return $(e)&&!mr(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return mr(e)&&(e=new Set(e)),Bn(function(){Array.isArray(e)||$(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&O("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&O("`observe` doesn't support fireImmediately=true in combination with sets."),Kn(this,e)},t.intercept_=function(e){return Gn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},oe(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),mr=K("ObservableSet",hr);function vr(e){return e[Symbol.toStringTag]="SetIterator",Wr(e)}var br=Object.create(null),gr="remove",yr=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=Ge),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new ve("production"!==process.env.NODE_ENV?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=F(this.target_),"production"===process.env.NODE_ENV||Xr(this.defaultAnnotation_)||O("defaultAnnotation must be valid annotation"),"production"!==process.env.NODE_ENV&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof yt)return n.set(t),!0;if(Fn(this)){var r=Hn(this,{type:Yn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==Ut.UNCHANGED){var o=qn(this),i="production"!==process.env.NODE_ENV&&nn(),s=o||i?{type:Yn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&i&&on(s),n.setNewValue_(t),o&&Wn(this,s),"production"!==process.env.NODE_ENV&&i&&an()}return!0},t.get_=function(e){return Ut.trackingDerivation&&!Q(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),Q(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!Ut.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new gt(e in this.target_,we,"production"!==process.env.NODE_ENV?this.name_+"."+J(e)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(Nr(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[ue])&&n[e])return;O(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==C;){var o=S(r,e);if(o){var i=t.make_(this,e,o,r);if(0===i)return;if(1===i)break}r=Object.getPrototypeOf(r)}xr(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);Nr(this,n,e);var o=n.extend_(this,e,t,r);return o&&xr(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),At(this.keysAtom_);try{Ht();var r=this.delete_(e);if(!r)return r;if(Fn(this)){var o=Hn(this,{object:this.proxy_||this.target_,name:e,type:lr,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=se({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else A(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{qt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),At(this.keysAtom_);try{Ht();var o=this.delete_(e);if(!o)return o;if(Fn(this)){var i=Hn(this,{object:this.proxy_||this.target_,name:e,type:lr,newValue:t});if(!i)return null;t=i.newValue}var s=Er(e),a={configurable:!Ut.safeDescriptors||this.isPlainObject_,enumerable:!0,get:s.get,set:s.set};if(r){if(!Reflect.defineProperty(this.target_,e,a))return!1}else A(this.target_,e,a);var l=new gt(t,n,"production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{qt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),At(this.keysAtom_);try{Ht();var r=this.delete_(e);if(!r)return r;if(Fn(this))if(!Hn(this,{object:this.proxy_||this.target_,name:e,type:lr,newValue:void 0}))return null;t.name||(t.name="production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Er(e),i={configurable:!Ut.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else A(this.target_,e,i);this.values_.set(e,new yt(t)),this.notifyPropertyAddition_(e,void 0)}finally{qt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),At(this.keysAtom_),!Q(this.target_,e))return!0;if(Fn(this)&&!Hn(this,{object:this.proxy_||this.target_,name:e,type:gr}))return null;try{var n;Ht();var r,o=qn(this),i="production"!==process.env.NODE_ENV&&nn(),s=this.values_.get(e),a=void 0;if(!s&&(o||i))a=null==(r=S(this.target_,e))?void 0:r.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if("production"!==process.env.NODE_ENV&&delete this.appliedAnnotations_[e],s&&(this.values_.delete(e),s instanceof gt&&(a=s.value_),Wt(s)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||i){var l={type:gr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};"production"!==process.env.NODE_ENV&&i&&on(l),o&&Wn(this,l),"production"!==process.env.NODE_ENV&&i&&an()}}finally{qt()}return!0},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&O("`observe` doesn't support the fire immediately property for observable objects."),Kn(this,e)},t.intercept_=function(e){return Gn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=qn(this),o="production"!==process.env.NODE_ENV&&nn();if(r||o){var i=r||o?{type:lr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&on(i),r&&Wn(this,i),"production"!==process.env.NODE_ENV&&o&&an()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),Y(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function _r(e,t){var n;if("production"!==process.env.NODE_ENV&&t&&Or(e)&&O("Options can't be provided for already observable objects."),Q(e,me))return"production"===process.env.NODE_ENV||Lr(e)instanceof yr||O("Cannot convert '"+Br(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;"production"===process.env.NODE_ENV||Object.isExtensible(e)||O("Cannot make the designated object observable; it is not extensible");var r=null!=(n=null==t?void 0:t.name)?n:"production"!==process.env.NODE_ENV?(F(e)?"ObservableObject":e.constructor.name)+"@"+R():"ObservableObject",o=new yr(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:He(e):void 0}(t));return H(e,me,o),e}var wr=K("ObservableObjectAdministration",yr);function Er(e){return br[e]||(br[e]={get:function(){return this[me].getObservablePropValue_(e)},set:function(t){return this[me].setObservablePropValue_(e,t)}})}function Or(e){return!!z(e)&&wr(e[me])}function xr(e,t,n){var r;"production"!==process.env.NODE_ENV&&(e.appliedAnnotations_[n]=t),null==(r=e.target_[ue])||delete r[n]}function Nr(e,t,n){if("production"===process.env.NODE_ENV||Xr(t)||O("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),"production"!==process.env.NODE_ENV&&!Oe(t)&&Q(e.appliedAnnotations_,n)){var r=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;O("Cannot apply '"+t.annotationType_+"' to '"+r+"':\nThe field is already annotated with '"+o+"'.\nRe-annotating fields is not allowed.\nUse 'override' annotation for methods overridden by subclass.")}}var kr,Sr,Ar=Dr(0),Cr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Tr=0,Vr=function(){};kr=Vr,Sr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(kr.prototype,Sr):void 0!==kr.prototype.__proto__?kr.prototype.__proto__=Sr:kr.prototype=Sr;var Mr=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="production"!==process.env.NODE_ENV?"ObservableArray@"+R():"ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,Ur(function(){var e=new Zn(r,n,o,!0);e.proxy_=i,q(i,me,e),t&&t.length&&i.spliceWithArray(0,0,t),Cr&&Object.defineProperty(i,"0",Ar)}),i}ae(t,e);var n=t.prototype;return n.concat=function(){this[me].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return sr(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return Wr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},oe(t,[{key:"length",get:function(){return this[me].getArrayLength_()},set:function(e){this[me].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Vr);function Dr(e){return{enumerable:!1,configurable:!0,get:function(){return this[me].get_(e)},set:function(t){this[me].set_(e,t)}}}function jr(e){A(Mr.prototype,""+e,Dr(e))}function Pr(e){if(e>Tr){for(var t=Tr;t<e+100;t++)jr(t);Tr=e}}function Rr(e,t,n){return new Mr(e,t,n)}function Ir(e,t){if("object"==typeof e&&null!==e){if(sr(e))return void 0!==t&&O(23),e[me].atom_;if(mr(e))return e.atom_;if(dr(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||O(25,t,Br(e)),n}if(Or(e)){if(!t)return O(26);var r=e[me].values_.get(t);return r||O(27,t,Br(e)),r}if(be(e)||xt(e)||tn(e))return e}else if(B(e)&&tn(e[me]))return e[me];O(28)}function Lr(e,t){return e||O(29),be(e)||xt(e)||tn(e)||dr(e)||mr(e)?e:e[me]?e[me]:void O(24,e)}function Br(e,t){var n;if(void 0!==t)n=Ir(e,t);else{if(yn(e))return e.name;n=Or(e)||dr(e)||mr(e)?Lr(e):Ir(e)}return n.name_}function Ur(e){var t=Mt(),n=vt(!0);Ht();try{return e()}finally{qt(),bt(n),Dt(t)}}Object.entries(er).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&H(Mr.prototype,t,n)}),Pr(1e3);var zr,Fr=C.toString;function Gr(e,t,n){return void 0===n&&(n=-1),Hr(e,t,n)}function Hr(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var s=Fr.call(e);if(s!==Fr.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0===+e?1/+e==1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=qr(e),t=qr(t);var a="[object Array]"===s;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(B(l)&&l instanceof l&&B(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return o[u]===t;if(r.push(e),o.push(t),a){if((u=e.length)!==t.length)return!1;for(;u--;)if(!Hr(e[u],t[u],n-1,r,o))return!1}else{var d=Object.keys(e),p=d.length;if(Object.keys(t).length!==p)return!1;for(var f=0;f<p;f++){var h=d[f];if(!Q(t,h)||!Hr(e[h],t[h],n-1,r,o))return!1}}return r.pop(),o.pop(),!0}function qr(e){return sr(e)?e.slice():W(e)||dr(e)||$(e)||mr(e)?Array.from(e.entries()):e}var Kr=(null==(zr=N().Iterator)?void 0:zr.prototype)||{};function Wr(e){return e[Symbol.iterator]=$r,Object.assign(Object.create(Kr),e)}function $r(){return this}function Xr(e){return e instanceof Object&&"string"==typeof e.annotationType_&&B(e.make_)&&B(e.extend_)}if(["Symbol","Map","Set"].forEach(function(e){void 0===N()[e]&&O("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return"production"===process.env.NODE_ENV?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(Ut.spyListeners.push(e),I(function(){Ut.spyListeners=Ut.spyListeners.filter(function(t){return t!==e})}))},extras:{getDebugName:Br},$mobx:me}),!y.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!$n)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function Yr(e){e()}function Jr(e){return Cn(e)}var Zr,Qr=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),eo=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Qr)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),to={exports:{}},no={};var ro,oo,io={};var so,ao,lo=(oo||(oo=1,"production"===process.env.NODE_ENV?to.exports=function(){if(Zr)return no;Zr=1;var e=y,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,o=e.useLayoutEffect,i=e.useDebugValue;function s(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(o){return!0}}var a="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var a=t(),l=n({inst:{value:a,getSnapshot:t}}),c=l[0].inst,u=l[1];return o(function(){c.value=a,c.getSnapshot=t,s(c)&&u({inst:c})},[e,a,t]),r(function(){return s(c)&&u({inst:c}),e(function(){s(c)&&u({inst:c})})},[e]),i(a),a};return no.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:a,no}():to.exports=(ro||(ro=1,"production"!==process.env.NODE_ENV&&function(){function e(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(o){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=y,n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useState,o=t.useEffect,i=t.useLayoutEffect,s=t.useDebugValue,a=!1,l=!1,c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(c,u){a||void 0===t.startTransition||(a=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var d=u();if(!l){var p=u();n(d,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l=!0)}var f=(p=r({inst:{value:d,getSnapshot:u}}))[0].inst,h=p[1];return i(function(){f.value=d,f.getSnapshot=u,e(f)&&h({inst:f})},[c,d,u]),o(function(){return e(f)&&h({inst:f}),c(function(){e(f)&&h({inst:f})})},[c]),s(d),d};io.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:c,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),io)),to.exports);function co(e){e.reaction=new Yt("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}var uo=!0,po="function"==typeof Symbol&&Symbol.for,fo=null!==(ao=null===(so=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===so?void 0:so.configurable)&&void 0!==ao&&ao,ho=po?Symbol.for("react.forward_ref"):"function"==typeof y.forwardRef&&y.forwardRef(function(e){return null}).$$typeof,mo=po?Symbol.for("react.memo"):"function"==typeof y.memo&&y.memo(function(e){return null}).$$typeof;function vo(e,t){if(process.env.NODE_ENV,mo&&e.$$typeof===mo)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=!1,r=e,o=e.displayName||e.name;if(ho&&e.$$typeof===ho&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var i,s,a=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=y.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return eo.unregister(r),r.onStoreChange=e,r.reaction||(co(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var o,i,s=n.current;if(s.reaction||(co(s),eo.register(n,s,s)),y.useDebugValue(s.reaction,Jr),lo.useSyncExternalStore(s.subscribe,s.getSnapshot,s.getSnapshot),s.reaction.track(function(){try{o=e()}catch(t){i=t}}),i)throw i;return o}(function(){return r(e,t)},o)};return a.displayName=e.displayName,fo&&Object.defineProperty(a,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(a.contextTypes=e.contextTypes,"production"!==process.env.NODE_ENV&&uo&&(uo=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),n&&(a=y.forwardRef(a)),a=y.memo(a),i=e,s=a,Object.keys(i).forEach(function(e){go[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(i,e))}),"production"!==process.env.NODE_ENV&&Object.defineProperty(a,"contextTypes",{set:function(){var e,t;throw new Error("[mobx-react-lite] `".concat(this.displayName||(null===(e=this.type)||void 0===e?void 0:e.displayName)||(null===(t=this.type)||void 0===t?void 0:t.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),a}var bo,go={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};process.env.NODE_ENV,(bo=w.unstable_batchedUpdates)||(bo=Yr,"production"!==process.env.NODE_ENV&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),An({reactionScheduler:bo}),eo.finalizeAllImmediately;const yo=(e,t=0)=>{const n=t=>(o.value=e?.(t)??t,o.value),r=()=>n(++o.counter),o=r;return o.increment=r,o.decrement=()=>n(--o.counter),o.reset=()=>{o.counter=t,o.value=e?.(t)??t},o.reset(),o},_o="null",wo="undefined",Eo="nan",Oo="[object Object]",xo="[object Array]",No="[object String]",ko="[object Number]",So="[object Boolean]",Ao="[object Function]",Co="[object AsyncFunction]",To="[object RegExp]",Vo="[object Symbol]",Mo="infinite",Do="element";const jo=(...e)=>t=>e.includes(function(e){if(void 0===e)return wo;if(null===e)return _o;if(e&&(1===e.nodeType||9===e.nodeType))return Do;const t=Object.prototype.toString.call(e);if(t===ko){if(Number.isNaN(e))return Eo;if(!Number.isFinite(e))return Mo}return t}(t)),Po=jo(_o),Ro=jo(wo),Io=jo(Oo),Lo=jo(xo),Bo=jo(No),Uo=jo(ko),zo=jo(So),Fo=jo(Ao,Co),Go=jo(To),Ho=jo(Do),qo=jo(Eo),Ko=jo(Mo),Wo=jo(Vo),$o=Object.freeze(Object.defineProperty({__proto__:null,isArray:Lo,isBoolean:zo,isDefined:e=>null!=e,isElement:Ho,isFunction:Fo,isInfinite:Ko,isNaN:qo,isNull:Po,isNumber:Uo,isObject:Io,isRegExp:Go,isString:Bo,isSymbol:Wo,isUndefined:Ro},Symbol.toStringTag,{value:"Module"})),Xo=e=>{const t=e?.comparer??ye.default,n=e=>{const r=e??null;t(n.current,r)||gn(()=>{n.current=r,n.listeners.forEach(e=>{e(n.current)})})};return n.listeners=new Set(e?.onChange?[e.onChange]:[]),(e?.onSet||e?.onUnset)&&n.listeners.add(t=>{t?e.onSet?.(t):e.onUnset?.()}),n.current=e?.initial??null,n.meta=e?.meta??{},$n(n,{current:it.ref,meta:it}),n},Yo=(e,t)=>{if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(e.constructor!==t.constructor)return!1;const n=Array.isArray(e);if(n!==Array.isArray(t))return!1;if(n){const n=e,r=t;if(n.length!==r.length)return!1;for(const[e,t]of n.entries())if(t!==r[e])return!1;return!0}if(e instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp)return e.toString()===t.toString();const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;const i=t;for(const s of r)if(!Object.hasOwn(i,s)||e[s]!==i[s])return!1;return!0},{entries:Jo,setPrototypeOf:Zo,isFrozen:Qo,getPrototypeOf:ei,getOwnPropertyDescriptor:ti}=Object;let{freeze:ni,seal:ri,create:oi}=Object,{apply:ii,construct:si}="undefined"!=typeof Reflect&&Reflect;ni||(ni=function(e){return e}),ri||(ri=function(e){return e}),ii||(ii=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),si||(si=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const ai=Ei(Array.prototype.forEach),li=Ei(Array.prototype.lastIndexOf),ci=Ei(Array.prototype.pop),ui=Ei(Array.prototype.push),di=Ei(Array.prototype.splice),pi=Ei(String.prototype.toLowerCase),fi=Ei(String.prototype.toString),hi=Ei(String.prototype.match),mi=Ei(String.prototype.replace),vi=Ei(String.prototype.indexOf),bi=Ei(String.prototype.trim),gi=Ei(Object.prototype.hasOwnProperty),yi=Ei(RegExp.prototype.test),_i=(wi=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return si(wi,t)});var wi;function Ei(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return ii(e,t,r)}}function Oi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pi;Zo&&Zo(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(Qo(t)||(t[r]=e),o=e)}e[o]=!0}return e}function xi(e){for(let t=0;t<e.length;t++){gi(e,t)||(e[t]=null)}return e}function Ni(e){const t=oi(null);for(const[n,r]of Jo(e)){gi(e,n)&&(Array.isArray(r)?t[n]=xi(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Ni(r):t[n]=r)}return t}function ki(e,t){for(;null!==e;){const n=ti(e,t);if(n){if(n.get)return Ei(n.get);if("function"==typeof n.value)return Ei(n.value)}e=ei(e)}return function(){return null}}const Si=ni(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Ai=ni(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ci=ni(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ti=ni(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Vi=ni(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Mi=ni(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Di=ni(["#text"]),ji=ni(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Pi=ni(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ri=ni(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ii=ni(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Li=ri(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Bi=ri(/<%[\w\W]*|[\w\W]*%>/gm),Ui=ri(/\$\{[\w\W]*/gm),zi=ri(/^data-[\-\w.\u00B7-\uFFFF]+$/),Fi=ri(/^aria-[\-\w]+$/),Gi=ri(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Hi=ri(/^(?:\w+script|data):/i),qi=ri(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ki=ri(/^html$/i),Wi=ri(/^[a-z][.\w]*(-[.\w]+)+$/i);var $i=Object.freeze({__proto__:null,ARIA_ATTR:Fi,ATTR_WHITESPACE:qi,CUSTOM_ELEMENT:Wi,DATA_ATTR:zi,DOCTYPE_NAME:Ki,ERB_EXPR:Bi,IS_ALLOWED_URI:Gi,IS_SCRIPT_OR_DATA:Hi,MUSTACHE_EXPR:Li,TMPLIT_EXPR:Ui});const Xi=1,Yi=3,Ji=7,Zi=8,Qi=9;!function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||t.document.nodeType!==Qi||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const o=r,i=o.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:f,trustedTypes:h}=t,m=c.prototype,v=ki(m,"cloneNode"),b=ki(m,"remove"),g=ki(m,"nextSibling"),y=ki(m,"childNodes"),_=ki(m,"parentNode");if("function"==typeof a){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,E="";const{implementation:O,createNodeIterator:x,createDocumentFragment:N,getElementsByTagName:k}=r,{importNode:S}=o;let A={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Jo&&"function"==typeof _&&O&&void 0!==O.createHTMLDocument;const{MUSTACHE_EXPR:C,ERB_EXPR:T,TMPLIT_EXPR:V,DATA_ATTR:M,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:P,CUSTOM_ELEMENT:R}=$i;let{IS_ALLOWED_URI:I}=$i,L=null;const B=Oi({},[...Si,...Ai,...Ci,...Vi,...Di]);let U=null;const z=Oi({},[...ji,...Pi,...Ri,...Ii]);let F=Object.seal(oi(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),G=null,H=null;const q=Object.seal(oi(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let K=!0,W=!0,$=!1,X=!0,Y=!1,J=!0,Z=!1,Q=!1,ee=!1,te=!1,ne=!1,re=!1,oe=!0,ie=!1,se=!0,ae=!1,le={},ce=null;const ue=Oi({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const pe=Oi({},["audio","video","img","source","image","track"]);let fe=null;const he=Oi({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",be="http://www.w3.org/1999/xhtml";let ge=be,ye=!1,_e=null;const we=Oi({},[me,ve,be],fi);let Ee=Oi({},["mi","mo","mn","ms","mtext"]),Oe=Oi({},["annotation-xml"]);const xe=Oi({},["title","style","font","a","script"]);let Ne=null;const ke=["application/xhtml+xml","text/html"];let Se=null,Ae=null;const Ce=r.createElement("form"),Te=function(e){return e instanceof RegExp||e instanceof Function},Ve=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ae||Ae!==e){if(e&&"object"==typeof e||(e={}),e=Ni(e),Ne=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Se="application/xhtml+xml"===Ne?fi:pi,L=gi(e,"ALLOWED_TAGS")?Oi({},e.ALLOWED_TAGS,Se):B,U=gi(e,"ALLOWED_ATTR")?Oi({},e.ALLOWED_ATTR,Se):z,_e=gi(e,"ALLOWED_NAMESPACES")?Oi({},e.ALLOWED_NAMESPACES,fi):we,fe=gi(e,"ADD_URI_SAFE_ATTR")?Oi(Ni(he),e.ADD_URI_SAFE_ATTR,Se):he,de=gi(e,"ADD_DATA_URI_TAGS")?Oi(Ni(pe),e.ADD_DATA_URI_TAGS,Se):pe,ce=gi(e,"FORBID_CONTENTS")?Oi({},e.FORBID_CONTENTS,Se):ue,G=gi(e,"FORBID_TAGS")?Oi({},e.FORBID_TAGS,Se):Ni({}),H=gi(e,"FORBID_ATTR")?Oi({},e.FORBID_ATTR,Se):Ni({}),le=!!gi(e,"USE_PROFILES")&&e.USE_PROFILES,K=!1!==e.ALLOW_ARIA_ATTR,W=!1!==e.ALLOW_DATA_ATTR,$=e.ALLOW_UNKNOWN_PROTOCOLS||!1,X=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Y=e.SAFE_FOR_TEMPLATES||!1,J=!1!==e.SAFE_FOR_XML,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ie=e.SANITIZE_NAMED_PROPS||!1,se=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,I=e.ALLOWED_URI_REGEXP||Gi,ge=e.NAMESPACE||be,Ee=e.MATHML_TEXT_INTEGRATION_POINTS||Ee,Oe=e.HTML_INTEGRATION_POINTS||Oe,F=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(F.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(F.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(F.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Y&&(W=!1),ne&&(te=!0),le&&(L=Oi({},Di),U=[],!0===le.html&&(Oi(L,Si),Oi(U,ji)),!0===le.svg&&(Oi(L,Ai),Oi(U,Pi),Oi(U,Ii)),!0===le.svgFilters&&(Oi(L,Ci),Oi(U,Pi),Oi(U,Ii)),!0===le.mathMl&&(Oi(L,Vi),Oi(U,Ri),Oi(U,Ii))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?q.tagCheck=e.ADD_TAGS:(L===B&&(L=Ni(L)),Oi(L,e.ADD_TAGS,Se))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?q.attributeCheck=e.ADD_ATTR:(U===z&&(U=Ni(U)),Oi(U,e.ADD_ATTR,Se))),e.ADD_URI_SAFE_ATTR&&Oi(fe,e.ADD_URI_SAFE_ATTR,Se),e.FORBID_CONTENTS&&(ce===ue&&(ce=Ni(ce)),Oi(ce,e.FORBID_CONTENTS,Se)),se&&(L["#text"]=!0),Z&&Oi(L,["html","head","body"]),L.table&&(Oi(L,["tbody"]),delete G.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _i('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _i('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,E=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(h,i)),null!==w&&"string"==typeof E&&(E=w.createHTML(""));ni&&ni(e),Ae=e}},Me=Oi({},[...Ai,...Ci,...Ti]),De=Oi({},[...Vi,...Mi]),je=function(e){ui(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){b(e)}},Pe=function(e,t){try{ui(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){ui(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{je(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},Re=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=hi(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ne&&ge===be&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=w?w.createHTML(e):e;if(ge===be)try{t=(new f).parseFromString(o,Ne)}catch(s){}if(!t||!t.documentElement){t=O.createDocument(ge,"template",null);try{t.documentElement.innerHTML=ye?E:o}catch(s){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ge===be?k.call(t,Z?"html":"body")[0]:Z?t.documentElement:i},Ie=function(e){return x.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Le=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Be=function(e){return"function"==typeof l&&e instanceof l};function Ue(e,t,r){ai(e,e=>{e.call(n,t,r,Ae)})}const ze=function(e){let t=null;if(Ue(A.beforeSanitizeElements,e,null),Le(e))return je(e),!0;const r=Se(e.nodeName);if(Ue(A.uponSanitizeElement,e,{tagName:r,allowedTags:L}),J&&e.hasChildNodes()&&!Be(e.firstElementChild)&&yi(/<[/\w!]/g,e.innerHTML)&&yi(/<[/\w!]/g,e.textContent))return je(e),!0;if(e.nodeType===Ji)return je(e),!0;if(J&&e.nodeType===Zi&&yi(/<[/\w]/g,e.data))return je(e),!0;if(!(q.tagCheck instanceof Function&&q.tagCheck(r))&&(!L[r]||G[r])){if(!G[r]&&Ge(r)){if(F.tagNameCheck instanceof RegExp&&yi(F.tagNameCheck,r))return!1;if(F.tagNameCheck instanceof Function&&F.tagNameCheck(r))return!1}if(se&&!ce[r]){const t=_(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=v(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,g(e))}}}return je(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:ge,tagName:"template"});const n=pi(e.tagName),r=pi(t.tagName);return!!_e[e.namespaceURI]&&(e.namespaceURI===ve?t.namespaceURI===be?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||Ee[r]):Boolean(Me[n]):e.namespaceURI===me?t.namespaceURI===be?"math"===n:t.namespaceURI===ve?"math"===n&&Oe[r]:Boolean(De[n]):e.namespaceURI===be?!(t.namespaceURI===ve&&!Oe[r])&&!(t.namespaceURI===me&&!Ee[r])&&!De[n]&&(xe[n]||!Me[n]):!("application/xhtml+xml"!==Ne||!_e[e.namespaceURI]))}(e)?(je(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!yi(/<\/no(script|embed|frames)/i,e.innerHTML)?(Y&&e.nodeType===Yi&&(t=e.textContent,ai([C,T,V],e=>{t=mi(t,e," ")}),e.textContent!==t&&(ui(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ue(A.afterSanitizeElements,e,null),!1):(je(e),!0)},Fe=function(e,t,n){if(oe&&("id"===t||"name"===t)&&(n in r||n in Ce))return!1;if(W&&!H[t]&&yi(M,t));else if(K&&yi(D,t));else if(q.attributeCheck instanceof Function&&q.attributeCheck(t,e));else if(!U[t]||H[t]){if(!(Ge(e)&&(F.tagNameCheck instanceof RegExp&&yi(F.tagNameCheck,e)||F.tagNameCheck instanceof Function&&F.tagNameCheck(e))&&(F.attributeNameCheck instanceof RegExp&&yi(F.attributeNameCheck,t)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(t,e))||"is"===t&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&yi(F.tagNameCheck,n)||F.tagNameCheck instanceof Function&&F.tagNameCheck(n))))return!1}else if(fe[t]);else if(yi(I,mi(n,P,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==vi(n,"data:")||!de[e]){if($&&!yi(j,mi(n,P,"")));else if(n)return!1}else;return!0},Ge=function(e){return"annotation-xml"!==e&&hi(e,R)},He=function(e){Ue(A.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Le(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let o=t.length;for(;o--;){const s=t[o],{name:a,namespaceURI:l,value:c}=s,u=Se(a),d=c;let p="value"===a?d:bi(d);if(r.attrName=u,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,Ue(A.uponSanitizeAttribute,e,r),p=r.attrValue,!ie||"id"!==u&&"name"!==u||(Pe(a,e),p="user-content-"+p),J&&yi(/((--!?|])>)|<\/(style|title|textarea)/i,p)){Pe(a,e);continue}if("attributename"===u&&hi(p,"href")){Pe(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Pe(a,e);continue}if(!X&&yi(/\/>/i,p)){Pe(a,e);continue}Y&&ai([C,T,V],e=>{p=mi(p,e," ")});const f=Se(e.nodeName);if(Fe(f,u,p)){if(w&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(l);else switch(h.getAttributeType(f,u)){case"TrustedHTML":p=w.createHTML(p);break;case"TrustedScriptURL":p=w.createScriptURL(p)}if(p!==d)try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),Le(e)?je(e):ci(n.removed)}catch(i){Pe(a,e)}}else Pe(a,e)}Ue(A.afterSanitizeAttributes,e,null)},qe=function e(t){let n=null;const r=Ie(t);for(Ue(A.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Ue(A.uponSanitizeShadowNode,n,null),ze(n),He(n),n.content instanceof s&&e(n.content);Ue(A.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Be(e)){if("function"!=typeof e.toString)throw _i("toString is not a function");if("string"!=typeof(e=e.toString()))throw _i("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Q||Ve(t),n.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=Se(e.nodeName);if(!L[t]||G[t])throw _i("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Re("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===Xi&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!te&&!Y&&!Z&&-1===e.indexOf("<"))return w&&re?w.createHTML(e):e;if(r=Re(e),!r)return te?null:re?E:""}r&&ee&&je(r.firstChild);const u=Ie(ae?e:r);for(;a=u.nextNode();)ze(a),He(a),a.content instanceof s&&qe(a.content);if(ae)return e;if(te){if(ne)for(c=N.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(U.shadowroot||U.shadowrootmode)&&(c=S.call(o,c,!0)),c}let d=Z?r.outerHTML:r.innerHTML;return Z&&L["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&yi(Ki,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Y&&ai([C,T,V],e=>{d=mi(d,e," ")}),w&&re?w.createHTML(d):d},n.setConfig=function(){Ve(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Q=!0},n.clearConfig=function(){Ae=null,Q=!1},n.isValidAttribute=function(e,t,n){Ae||Ve({});const r=Se(e),o=Se(t);return Fe(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&ui(A[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=li(A[e],t);return-1===n?void 0:di(A[e],n,1)[0]}return ci(A[e])},n.removeHooks=function(e){A[e]=[]},n.removeAllHooks=function(){A={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const es=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()},ts=y.createContext(null),ns=y.createContext(null),rs=ts.Provider,os=yo(e=>e.toString(16)),is=(...e)=>{const t={...ss,startViewTransitions:structuredClone(ss.startViewTransitions)};return e.forEach(e=>{if(!e)return;const{startViewTransitions:n,comparePayload:r,observable:o,generateId:i,...s}=e;if(i&&(t.generateId=i),n){const e="boolean"==typeof n?{mount:n,payloadChange:n,unmount:n}:n;Object.assign(t.startViewTransitions,e)}o?.viewModels&&Object.assign(t.observable.viewModels,o.viewModels||{}),o?.viewModelStores&&Object.assign(t.observable.viewModelStores,o.viewModelStores||{}),null!=r&&(t.comparePayload=r),Object.assign(t,s)}),t},ss=(e=>{const t=(()=>{{let e;return{get:()=>e,set:t=>(e=t,t)}}})();return t.get()||t.set(e)})({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:e=>{if(!e.generateId){const t=os(),n=yo(e=>e.toString().padStart(5,"0"));e.generateId=()=>`${t}_${n().toString().padStart(5,"0")}`}if("production"===process.env.NODE_ENV)return e.generateId();{const t=e.VM?.name??"";return t?`${t}_${e.generateId()}`:e.generateId()}},factory:e=>new(0,e.VM)({...e,vmConfig:is(e.vmConfig)})}),as=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),$n(e)):$n(e,Object.fromEntries(t))})(e,t,n.useDecorators)},ls="undefined"==typeof window?y.useEffect:y.useLayoutEffect;let cs=null;cs="production"===process.env.NODE_ENV?e=>{const t=y.useRef(null);return t.current||(t.current=e()),t.current}:e=>y.useMemo(e,[]);const us=cs;function ds(e,t,n){return e.prototype.payloadChanged?ps(e,t,n):fs(e,t)}const ps=(e,t,n)=>{const r=y.useContext(ns),o=y.useContext(ts),i=n?.ctx??{},s=us(()=>{const s=r?.generateViewModelId({...n,ctx:i,VM:e,parentViewModelId:o?.id??null})??n?.id??ss.generateId(i),a=r?r.get(s):null;if(a)return a;{const a={...n,vmConfig:n?.vmConfig,id:s,parentViewModelId:o?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:o,ctx:i};r?.processCreateConfig(a);const l=n?.factory?.(a)??r?.createViewModel(a)??ss.factory(a);return l.willMount(),r?.markToBeAttached(l),l}});return ls(()=>r?(r.attach(s),()=>{r.detach(s.id)}):(s.mount(),()=>{s.willUnmount(),s.unmount()}),[s]),s.setPayload(t??{}),s},fs=(e,t)=>{const n=y.useContext(ns),r=y.useContext(ts),o=us(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in o&&y.useLayoutEffect(()=>{o.setPayload(t)},[t]),ls(()=>n?(n.attach(o),()=>{n.detach(o.id)}):(o.mount?.(),()=>{o.unmount?.()}),[o]),o},hs=e=>{const t=y.useContext(ns),n=y.useContext(ts);let r;if(t?.get(e),"production"!==process.env.NODE_ENV&&(r=y.useRef()),"production"===process.env.NODE_ENV||t||console.warn("Warning #1: ViewModelStore not found.\n","Unable to get access to view model by id or class name without using ViewModelStore\n","Last active view model will be returned.\n","More info: https://js2me.github.io/mobx-view-model/warnings/1"),!n){if("production"!==process.env.NODE_ENV)throw new Error('Error #1: Active ViewModel not found.\nThis happened because "vmLookup" for hook "useViewModel" is not provided and hook trying to lookup active view model using ActiveViewModelContext which works only with using "withViewModel" HOC.\nPlease provide "vmLookup" (first argument for "useViewModel" hook) or use "withViewModel" HOC.\nMore info: https://js2me.github.io/mobx-view-model/errors/1');throw new Error("Error #1: https://js2me.github.io/mobx-view-model/errors/1")}return"production"!==process.env.NODE_ENV&&(r.current=n),n};vo(({model:e,config:t,payload:n,children:r})=>{const o=ds(e,n,t);return o.isMounted?"function"==typeof r?r(o):_.jsx(_.Fragment,{children:r}):null});const ms=ns.Provider;function vs(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return gs(e,{...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}},t)}{const n=t??{},r={...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}};return t=>gs(e,r,t)}}const bs=Symbol.for("react.memo"),gs=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??ss.processViewComponent,o=t.vmConfig?.wrapViewsInObserver??ss.wrapViewsInObserver;let i=r?.(n,e,t)??n;o&&i&&i.$$typeof!==bs&&(i=vo(i));const s=t.reactHook,a=t.getPayload,l=t.fallback??ss.fallbackComponent;let c=(n,r)=>{const o=y.useContext(ns);s?.(n,t.ctx,o,r);const{payload:c,...u}=n,d=a?.(n)??c;t.forwardRef&&!("forwardedRef"in u)&&(u.forwardedRef=r);const p=ds(e,d,{...t,props:u});return(!o||o.isAbleToRenderView(p.id))&&!1!==p.isMounted?_.jsx(rs,{value:p,children:i&&_.jsx(i,{...u,model:p})}):l&&_.jsx(l,{...n,payload:d})};return t.forwardRef&&(c=y.forwardRef(c)),c=vo(c),"production"!==process.env.NODE_ENV&&(c.displayName=`ConnectedViewModel(${e.name}->Component)`),t.component=c,c},ys=[["_isMounted",it.ref],["_isUnmounting",it.ref],["isMounted",ct],["isUnmounting",ct],["parentViewModel",ct],["mount",vn.bound],["didMount",vn],["unmount",vn.bound],["didUnmount",vn],["willUnmount",vn],["setPayload",vn]];class _s{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=is(e.vmConfig),this._payload=e.payload,this.props=e.props??{},this.abortController=new AbortController,this.unmountSignal=this.abortController.signal,"strict"===this.vmConfig.comparePayload?this.isPayloadEqual=ye.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=Yo:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...ys];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",it[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",ct.struct]):t.push(["payload",ct({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),as(this,t,this.vmConfig.observable.viewModels)}abortController;unmountSignal;id;_isMounted=!1;_isUnmounting=!1;_payload;vmConfig;isPayloadEqual;props;get payload(){return this._payload}get viewModels(){return"production"===process.env.NODE_ENV||this.vmParams.viewModels||console.error("Error #3: No access to ViewModelStore.\nThis happened because [viewModels] param is not provided during to creating instance ViewModelBase.\nMore info: https://js2me.github.io/mobx-view-model/errors/3"),this.vmParams.viewModels}get isMounted(){return this._isMounted}get isUnmounting(){return this._isUnmounting}willUnmount(){this._isUnmounting=!0}willMount(){}mount(){this.vmConfig.onMount?.(this),es(()=>{gn(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),es(()=>{gn(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),gn(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||es(()=>{gn(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class ws{constructor(e){this.config=e,this.viewModels=it.map([],{deep:!1}),this.linkedComponentVMClasses=it.map([],{deep:!1}),this.viewModelIdsByClasses=it.map([],{deep:!0}),this.instanceAttachedCount=it.map([],{deep:!1}),this.mountingViews=it.set([],{deep:!1}),this.unmountingViews=it.set([],{deep:!1}),this.vmConfig=is(e?.vmConfig),this.viewModelsTempHeap=new Map,as(this,[["mountedViewsCount",ct],["mount",vn],["unmount",vn],["attachVMConstructor",vn],["attach",vn],["detach",vn],["linkComponents",vn],["unlinkComponents",vn]],this.vmConfig.observable.viewModelStores)}viewModels;linkedComponentVMClasses;viewModelIdsByClasses;instanceAttachedCount;viewModelsTempHeap;mountingViews;unmountingViews;vmConfig;get mountedViewsCount(){return[...this.instanceAttachedCount.values()].reduce((e,t)=>e+t,0)}processCreateConfig(e){this.linkComponents(e.VM,e.component,e.ctx?.externalComponent)}createViewModel(e){const t=e.VM,n=is(this.vmConfig,e.vmConfig),r={...e,vmConfig:n};return n.factory?n.factory(r):new t(r)}generateViewModelId(e){return e.id?e.id:this.vmConfig.generateId(e.ctx)}linkComponents(e,...t){t.forEach(t=>{t&&!this.linkedComponentVMClasses.has(t)&&this.linkedComponentVMClasses.set(t,e)})}unlinkComponents(...e){e.forEach(e=>{e&&this.linkedComponentVMClasses.has(e)&&this.linkedComponentVMClasses.delete(e)})}getIds(e){if(!e)return[];if("string"==typeof e)return[e];const t=this.linkedComponentVMClasses.get(e)||e;return this.viewModelIdsByClasses.get(t)||[]}getId(e){const t=this.getIds(e);return 0===t.length?null:("production"!==process.env.NODE_ENV&&t.length>1&&console.warn("Found more than 1 view model with the same identifier. Last instance will been returned"),t.at(-1))}has(e){const t=this.getId(e);return!!t&&this.viewModels.has(t)}get(e){const t=this.getId(e);if(!t)return null;return this.viewModels.get(t)??this.viewModelsTempHeap.get(t)??null}getOrCreateVmId(e){return e.id||(e.id=this.vmConfig.generateId({VM:e.constructor})),e.id}getAll(e){return this.getIds(e).map(e=>this.viewModels.get(e))}async mount(e){const t=this.getOrCreateVmId(e);this.mountingViews.add(t),await(e.mount?.()),gn(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),gn(()=>{this.unmountingViews.delete(t)})}attachVMConstructor(e){const t=this.getOrCreateVmId(e),n=e.constructor;if(this.viewModelIdsByClasses.has(n)){const e=this.viewModelIdsByClasses.get(n);e.includes(t)||e.push(t)}else this.viewModelIdsByClasses.set(n,[t])}dettachVMConstructor(e){const t=e.constructor;if(this.viewModelIdsByClasses.has(t)){const n=this.viewModelIdsByClasses.get(t).filter(t=>t!==e.id);n.length>0?this.viewModelIdsByClasses.set(t,n):this.viewModelIdsByClasses.delete(t)}}markToBeAttached(e){const t=this.getOrCreateVmId(e);this.viewModelsTempHeap.set(t,e),"attachViewModelStore"in e&&e.attachViewModelStore(this),this.attachVMConstructor(e)}async attach(e){const t=this.getOrCreateVmId(e),n=this.instanceAttachedCount.get(t)??0;this.instanceAttachedCount.set(t,n+1),this.viewModels.has(t)||(this.viewModels.set(t,e),this.attachVMConstructor(e),await this.mount(e),this.viewModelsTempHeap.delete(t))}async detach(e){const t=this.instanceAttachedCount.get(e)??0;this.viewModelsTempHeap.delete(e);const n=this.viewModels.get(e);if(!n)return;const r=t-1;this.instanceAttachedCount.set(e,r),r<=0&&("willUnmount"in n&&n.willUnmount(),this.instanceAttachedCount.delete(e),this.viewModels.delete(e),this.dettachVMConstructor(n),await this.unmount(n))}isAbleToRenderView(e){const t=this.mountingViews.has(e),n=this.viewModels.has(e);return!!e&&n&&!t}clean(){this.viewModels.clear(),this.linkedComponentVMClasses.clear(),this.viewModelIdsByClasses.clear(),this.instanceAttachedCount.clear(),this.mountingViews.clear(),this.unmountingViews.clear(),this.viewModelsTempHeap.clear()}}class Es extends _s{}var Os,xs={};var Ns=function(){if(Os)return xs;Os=1;var e=w;if("production"===process.env.NODE_ENV)xs.createRoot=e.createRoot,xs.hydrateRoot=e.hydrateRoot;else{var t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;xs.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},xs.hydrateRoot=function(n,r,o){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,o)}finally{t.usingClientEntryPoint=!1}}}return xs}();function ks(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ks(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Ss=e=>{const t=Vs(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),As(n,t)||Ts(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},As=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?As(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},Cs=/^\[(.+)\]$/,Ts=e=>{if(Cs.test(e)){const t=Cs.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Vs=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)Ms(n[o],r,o,t);return r},Ms=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:Ds(t,e)).classGroupId=n)}if("function"==typeof e)return js(e)?void Ms(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{Ms(o,Ds(t,e),n,r)})})},Ds=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},js=e=>e.isThemeGetter,Ps=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},Rs=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let l=0;l<e.length;l++){let s=e[l];if(0===r&&0===o){if(":"===s){t.push(e.slice(i,l)),i=l+1;continue}if("/"===s){n=l;continue}}"["===s?r++:"]"===s?r--:"("===s?o++:")"===s&&o--}const s=0===t.length?e:e.substring(i),a=Is(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},Is=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Ls=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},Bs=/\s+/;function Us(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=zs(e))&&(r&&(r+=" "),r+=t);return r}const zs=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=zs(e[r]))&&(n&&(n+=" "),n+=t);return n};function Fs(e,...t){let n,r,o,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Ps(e.cacheSize),parseClassName:Rs(e),sortModifiers:Ls(e),...Ss(e)}))(l),r=n.cache.get,o=n.cache.set,i=s,s(a)};function s(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(Bs);let l="";for(let c=a.length-1;c>=0;c-=1){const e=a[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let h=!!f,m=r(h?p.substring(0,f):p);if(!m){if(!h){l=e+(l.length>0?" "+l:l);continue}if(m=r(p),!m){l=e+(l.length>0?" "+l:l);continue}h=!1}const v=i(u).join(":"),b=d?v+"!":v,g=b+m;if(s.includes(g))continue;s.push(g);const y=o(m,h);for(let n=0;n<y.length;++n){const e=y[n];s.push(b+e)}l=e+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(Us.apply(null,arguments))}}const Gs=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Hs=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qs=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ks=/^\d+\/\d+$/,Ws=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$s=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ys=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Js=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Zs=e=>Ks.test(e),Qs=e=>!!e&&!Number.isNaN(Number(e)),ea=e=>!!e&&Number.isInteger(Number(e)),ta=e=>e.endsWith("%")&&Qs(e.slice(0,-1)),na=e=>Ws.test(e),ra=()=>!0,oa=e=>$s.test(e)&&!Xs.test(e),ia=()=>!1,sa=e=>Ys.test(e),aa=e=>Js.test(e),la=e=>!ua(e)&&!va(e),ca=e=>Oa(e,Sa,ia),ua=e=>Hs.test(e),da=e=>Oa(e,Aa,oa),pa=e=>Oa(e,Ca,Qs),fa=e=>Oa(e,Na,ia),ha=e=>Oa(e,ka,aa),ma=e=>Oa(e,Va,sa),va=e=>qs.test(e),ba=e=>xa(e,Aa),ga=e=>xa(e,Ta),ya=e=>xa(e,Na),_a=e=>xa(e,Sa),wa=e=>xa(e,ka),Ea=e=>xa(e,Va,!0),Oa=(e,t,n)=>{const r=Hs.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},xa=(e,t,n=!1)=>{const r=qs.exec(e);return!!r&&(r[1]?t(r[1]):n)},Na=e=>"position"===e||"percentage"===e,ka=e=>"image"===e||"url"===e,Sa=e=>"length"===e||"size"===e||"bg-size"===e,Aa=e=>"length"===e,Ca=e=>"number"===e,Ta=e=>"family-name"===e,Va=e=>"shadow"===e,Ma=Fs(()=>{const e=Gs("color"),t=Gs("font"),n=Gs("text"),r=Gs("font-weight"),o=Gs("tracking"),i=Gs("leading"),s=Gs("breakpoint"),a=Gs("container"),l=Gs("spacing"),c=Gs("radius"),u=Gs("shadow"),d=Gs("inset-shadow"),p=Gs("text-shadow"),f=Gs("drop-shadow"),h=Gs("blur"),m=Gs("perspective"),v=Gs("aspect"),b=Gs("ease"),g=Gs("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",va,ua],_=()=>[va,ua,l],w=()=>[Zs,"full","auto",..._()],E=()=>[ea,"none","subgrid",va,ua],O=()=>["auto",{span:["full",ea,va,ua]},ea,va,ua],x=()=>[ea,"auto",va,ua],N=()=>["auto","min","max","fr",va,ua],k=()=>["auto",..._()],S=()=>[Zs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],A=()=>[e,va,ua],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ya,fa,{position:[va,ua]}],T=()=>["auto","cover","contain",_a,ca,{size:[va,ua]}],V=()=>[ta,ba,da],M=()=>["","none","full",c,va,ua],D=()=>["",Qs,ba,da],j=()=>[Qs,ta,ya,fa],P=()=>["","none",h,va,ua],R=()=>["none",Qs,va,ua],I=()=>["none",Qs,va,ua],L=()=>[Qs,va,ua],B=()=>[Zs,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[na],breakpoint:[na],color:[ra],container:[na],"drop-shadow":[na],ease:["in","out","in-out"],font:[la],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[na],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[na],shadow:[na],spacing:["px",Qs],text:[na],"text-shadow":[na],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Zs,ua,va,v]}],container:["container"],columns:[{columns:[Qs,ua,va,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[ea,"auto",va,ua]}],basis:[{basis:[Zs,"full","auto",a,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Qs,Zs,"auto","initial","none",ua]}],grow:[{grow:["",Qs,va,ua]}],shrink:[{shrink:["",Qs,va,ua]}],order:[{order:[ea,"first","last","none",va,ua]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[a,"screen",...S()]}],"min-w":[{"min-w":[a,"screen","none",...S()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,ba,da]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,va,pa]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ta,ua]}],"font-family":[{font:[ga,ua,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,va,ua]}],"line-clamp":[{"line-clamp":[Qs,"none",va,pa]}],leading:[{leading:[i,..._()]}],"list-image":[{"list-image":["none",va,ua]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",va,ua]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:A()}],"text-color":[{text:A()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Qs,"from-font","auto",va,da]}],"text-decoration-color":[{decoration:A()}],"underline-offset":[{"underline-offset":[Qs,"auto",va,ua]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",va,ua]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",va,ua]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:C()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ea,va,ua],radial:["",va,ua],conic:[ea,va,ua]},wa,ha]}],"bg-color":[{bg:A()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:A()}],"gradient-via":[{via:A()}],"gradient-to":[{to:A()}],rounded:[{rounded:M()}],"rounded-s":[{"rounded-s":M()}],"rounded-e":[{"rounded-e":M()}],"rounded-t":[{"rounded-t":M()}],"rounded-r":[{"rounded-r":M()}],"rounded-b":[{"rounded-b":M()}],"rounded-l":[{"rounded-l":M()}],"rounded-ss":[{"rounded-ss":M()}],"rounded-se":[{"rounded-se":M()}],"rounded-ee":[{"rounded-ee":M()}],"rounded-es":[{"rounded-es":M()}],"rounded-tl":[{"rounded-tl":M()}],"rounded-tr":[{"rounded-tr":M()}],"rounded-br":[{"rounded-br":M()}],"rounded-bl":[{"rounded-bl":M()}],"border-w":[{border:D()}],"border-w-x":[{"border-x":D()}],"border-w-y":[{"border-y":D()}],"border-w-s":[{"border-s":D()}],"border-w-e":[{"border-e":D()}],"border-w-t":[{"border-t":D()}],"border-w-r":[{"border-r":D()}],"border-w-b":[{"border-b":D()}],"border-w-l":[{"border-l":D()}],"divide-x":[{"divide-x":D()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":D()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:A()}],"border-color-x":[{"border-x":A()}],"border-color-y":[{"border-y":A()}],"border-color-s":[{"border-s":A()}],"border-color-e":[{"border-e":A()}],"border-color-t":[{"border-t":A()}],"border-color-r":[{"border-r":A()}],"border-color-b":[{"border-b":A()}],"border-color-l":[{"border-l":A()}],"divide-color":[{divide:A()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Qs,va,ua]}],"outline-w":[{outline:["",Qs,ba,da]}],"outline-color":[{outline:A()}],shadow:[{shadow:["","none",u,Ea,ma]}],"shadow-color":[{shadow:A()}],"inset-shadow":[{"inset-shadow":["none",d,Ea,ma]}],"inset-shadow-color":[{"inset-shadow":A()}],"ring-w":[{ring:D()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:A()}],"ring-offset-w":[{"ring-offset":[Qs,da]}],"ring-offset-color":[{"ring-offset":A()}],"inset-ring-w":[{"inset-ring":D()}],"inset-ring-color":[{"inset-ring":A()}],"text-shadow":[{"text-shadow":["none",p,Ea,ma]}],"text-shadow-color":[{"text-shadow":A()}],opacity:[{opacity:[Qs,va,ua]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Qs]}],"mask-image-linear-from-pos":[{"mask-linear-from":j()}],"mask-image-linear-to-pos":[{"mask-linear-to":j()}],"mask-image-linear-from-color":[{"mask-linear-from":A()}],"mask-image-linear-to-color":[{"mask-linear-to":A()}],"mask-image-t-from-pos":[{"mask-t-from":j()}],"mask-image-t-to-pos":[{"mask-t-to":j()}],"mask-image-t-from-color":[{"mask-t-from":A()}],"mask-image-t-to-color":[{"mask-t-to":A()}],"mask-image-r-from-pos":[{"mask-r-from":j()}],"mask-image-r-to-pos":[{"mask-r-to":j()}],"mask-image-r-from-color":[{"mask-r-from":A()}],"mask-image-r-to-color":[{"mask-r-to":A()}],"mask-image-b-from-pos":[{"mask-b-from":j()}],"mask-image-b-to-pos":[{"mask-b-to":j()}],"mask-image-b-from-color":[{"mask-b-from":A()}],"mask-image-b-to-color":[{"mask-b-to":A()}],"mask-image-l-from-pos":[{"mask-l-from":j()}],"mask-image-l-to-pos":[{"mask-l-to":j()}],"mask-image-l-from-color":[{"mask-l-from":A()}],"mask-image-l-to-color":[{"mask-l-to":A()}],"mask-image-x-from-pos":[{"mask-x-from":j()}],"mask-image-x-to-pos":[{"mask-x-to":j()}],"mask-image-x-from-color":[{"mask-x-from":A()}],"mask-image-x-to-color":[{"mask-x-to":A()}],"mask-image-y-from-pos":[{"mask-y-from":j()}],"mask-image-y-to-pos":[{"mask-y-to":j()}],"mask-image-y-from-color":[{"mask-y-from":A()}],"mask-image-y-to-color":[{"mask-y-to":A()}],"mask-image-radial":[{"mask-radial":[va,ua]}],"mask-image-radial-from-pos":[{"mask-radial-from":j()}],"mask-image-radial-to-pos":[{"mask-radial-to":j()}],"mask-image-radial-from-color":[{"mask-radial-from":A()}],"mask-image-radial-to-color":[{"mask-radial-to":A()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Qs]}],"mask-image-conic-from-pos":[{"mask-conic-from":j()}],"mask-image-conic-to-pos":[{"mask-conic-to":j()}],"mask-image-conic-from-color":[{"mask-conic-from":A()}],"mask-image-conic-to-color":[{"mask-conic-to":A()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:C()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",va,ua]}],filter:[{filter:["","none",va,ua]}],blur:[{blur:P()}],brightness:[{brightness:[Qs,va,ua]}],contrast:[{contrast:[Qs,va,ua]}],"drop-shadow":[{"drop-shadow":["","none",f,Ea,ma]}],"drop-shadow-color":[{"drop-shadow":A()}],grayscale:[{grayscale:["",Qs,va,ua]}],"hue-rotate":[{"hue-rotate":[Qs,va,ua]}],invert:[{invert:["",Qs,va,ua]}],saturate:[{saturate:[Qs,va,ua]}],sepia:[{sepia:["",Qs,va,ua]}],"backdrop-filter":[{"backdrop-filter":["","none",va,ua]}],"backdrop-blur":[{"backdrop-blur":P()}],"backdrop-brightness":[{"backdrop-brightness":[Qs,va,ua]}],"backdrop-contrast":[{"backdrop-contrast":[Qs,va,ua]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Qs,va,ua]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Qs,va,ua]}],"backdrop-invert":[{"backdrop-invert":["",Qs,va,ua]}],"backdrop-opacity":[{"backdrop-opacity":[Qs,va,ua]}],"backdrop-saturate":[{"backdrop-saturate":[Qs,va,ua]}],"backdrop-sepia":[{"backdrop-sepia":["",Qs,va,ua]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",va,ua]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Qs,"initial",va,ua]}],ease:[{ease:["linear","initial",b,va,ua]}],delay:[{delay:[Qs,va,ua]}],animate:[{animate:["none",g,va,ua]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,va,ua]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:R()}],"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{"rotate-z":R()}],scale:[{scale:I()}],"scale-x":[{"scale-x":I()}],"scale-y":[{"scale-y":I()}],"scale-z":[{"scale-z":I()}],"scale-3d":["scale-3d"],skew:[{skew:L()}],"skew-x":[{"skew-x":L()}],"skew-y":[{"skew-y":L()}],transform:[{transform:[va,ua,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:B()}],"translate-x":[{"translate-x":B()}],"translate-y":[{"translate-y":B()}],"translate-z":[{"translate-z":B()}],"translate-none":["translate-none"],accent:[{accent:A()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:A()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",va,ua]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",va,ua]}],fill:[{fill:["none",...A()]}],"stroke-w":[{stroke:[Qs,ba,da,pa]}],stroke:[{stroke:["none",...A()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),Da=(...e)=>Ma(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ks(e))&&(r&&(r+=" "),r+=t);return r}(...e)),ja={static:"static_g5P-G",blur:"blur_9rZ6A",vmButton:"vmButton_Xr1Q6",opened:"opened_gewqL",vmPopup:"vmPopup_Q4l4j",vmContent:"vmContent_VAE7p",vmContentTree:"vmContentTree_BB36O",vmTreeItem:"vmTreeItem_t-7jc",line:"line_Xgaua",vmContentFilters:"vmContentFilters_No1QW",propertyMeta:"propertyMeta_XxYHc",small:"small_Ipy6s",propertyValue:"propertyValue_s9qHJ","property-name":"property-name_2-sJi",propertyName:"property-name_2-sJi",expandButton:"expandButton_EObqt",expanded:"expanded_uFpb7",property:"property_eoWZv",instance:"instance_B-kEn",primitive:"primitive_5yfCy",boolean:"boolean_TwUVp",number:"number_AVdzm",object:"object_kn8wQ",undefined:"undefined_SMcns",bigint:"bigint_ZrO3O",symbol:"symbol_9GN4U",string:"string_m1Kkx",disabled:"disabled_IDojS"},Pa=vo(()=>{const e=hs();return _.jsxs("button",{className:Da(ja.vmButton,{[ja.opened]:e.devtools.isOpened},e.devtools.config.buttonClassName),"data-position":`${e.devtools.config.position}`,ref:e.devtools.buttonRef,onClick:e.devtools.handleToggleOpen,children:[_.jsx("img",{src:e.devtools.logoUrl}),_.jsx("div",{}),_.jsx("span",{children:e.devtools.allVms.length})]})}),Ra=null,{min:Ia,max:La,abs:Ba,floor:Ua}=Math,za=(e,t,n)=>Ia(n,La(t,e)),Fa=e=>[...e].sort((e,t)=>e-t),Ga="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},Ha=()=>{let e;return[new Promise(t=>{e=t}),e]},qa=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},Ka=(e,t,n)=>{const r=n?"unshift":"push";for(let o=0;o<t;o++)e[r](-1);return e},Wa=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},$a=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=Ia(t,e.i),r},Xa=(e,t)=>{if(!e.l)return 0;if(e.i>=t)return e.u[t];e.i<0&&(e.u[0]=0,e.i=0);let n=e.i,r=e.u[n];for(;n<t;)r+=Wa(e,n),e.u[++n]=r;return e.i=t,r},Ya=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const o=Ua((n+r)/2);if(Xa(e,o)<=t){if(Xa(e,o+1)>t)return o;n=o+1}else r=o-1}return za(n,0,e.l-1)},Ja=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:Ia(t-1,e.i),e.l=t,r>0?(Ka(e.u,r),Ka(e.t,r,n),e.o*r):(e.u.splice(r),(n?e.t.splice(0,-r):e.t.splice(r)).reduce((t,n)=>t-(-1===n?e.o:n),0))},Za="undefined"!=typeof window,Qa=()=>document.documentElement,el=qa(()=>!!Za&&"rtl"===getComputedStyle(Qa()).direction),tl=qa(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),nl=qa(()=>"scrollBehavior"in Qa().style),rl=setTimeout,ol=(e,t)=>t&&el()?-e:e,il=(e,t)=>{let n,r,o=Ha();const i=t?"scrollLeft":"scrollTop",s=t?"overflowX":"overflowY",[a,l]=((e,t,n)=>{let r;return[async(o,i)=>{if(!(await t()))return;r&&r();const s=()=>{const[t,n]=Ha();return r=()=>{n(!1)},e.p()&&rl(r,150),[t,e.B(2,()=>{n(!0)})]};if(i&&nl())e.J(8,o()),Ga(async()=>{for(;;){let t=!0;for(let[o,i]=e.S();o<=i;o++)if(e.k(o)){t=!1;break}if(t)break;const[n,r]=s();try{if(!(await n))return}finally{r()}}e.J(7),n(o(),i)});else for(;;){const[t,r]=s();try{if(e.J(7),n(o()),!(await t))return}finally{r()}}},()=>{r&&r()}]})(e,()=>o[0],(e,r)=>{e=ol(e,t),r?n.scrollTo({[t?"left":"top"]:e,behavior:"smooth"}):n[i]=e});return{P(a){n=a,r=((e,t,n,r,o)=>{const i=Date.now;let s=0,a=!1,l=!1,c=!1,u=!1;const d=(()=>{let t;const n=()=>{t!=Ra&&clearTimeout(t)},r=()=>{n(),t=rl(()=>{t=Ra,(()=>{if(a||l)return a=!1,void d();c=!1,e.J(2)})()},150)};return r.A=n,r})(),p=()=>{s=i(),c&&(u=!0),e.J(1,r()),d()},f=t=>{if(a||!e.H()||t.ctrlKey)return;const r=i()-s;150>r&&50<r&&(n?t.deltaX:t.deltaY)&&(a=!0)},h=()=>{l=!0,c=u=!1},m=()=>{l=!1,tl()&&(c=!0)};return t.addEventListener("scroll",p),t.addEventListener("wheel",f,{passive:!0}),t.addEventListener("touchstart",h,{passive:!0}),t.addEventListener("touchend",m,{passive:!0}),{L:()=>{t.removeEventListener("scroll",p),t.removeEventListener("wheel",f),t.removeEventListener("touchstart",h),t.removeEventListener("touchend",m),d.A()},D:()=>{const[t,i]=e.O();t&&(o(ol(t,n),i,u),u=!1,i&&e.p()>e.h()&&e.J(1,r()))}}})(e,a,t,()=>ol(a[i],t),(t,n,r)=>{if(r){const e=a.style,t=e[s];e[s]="hidden",rl(()=>{e[s]=t})}a[i]=e.C()+t,n&&l()}),o[1](!0)},v(){r&&r.L(),o[1](!1),o=Ha()},V(e){a(()=>e)},X(t){t+=e.C(),a(()=>t)},Y(t,{align:n,smooth:r,offset:o=0}={}){if(t=za(t,0,e.M()-1),"nearest"===n){const r=e.R(t),o=e.C();if(r<o)n="start";else{if(!(r+e.T(t)>o+e.p()))return;n="end"}}a(()=>o+e.W()+e.R(t)+("end"===n?e.T(t)-e.p():"center"===n?(e.T(t)-e.p())/2:0),r)},j:()=>{r&&r.D()}}},sl=(e,t)=>{let n;const r=t?"width":"height",o=new WeakMap,i=(e=>{let t;return{q(n){(t||(t=new((e=>e.defaultView)((e=>e.ownerDocument)(n)).ResizeObserver)(e))).observe(n)},G(e){t.unobserve(e)},L(){t&&t.disconnect()}}})(t=>{const i=[];for(const{target:s,contentRect:a}of t)if(s.offsetParent)if(s===n)e.J(4,a[r]);else{const e=o.get(s);e!=Ra&&i.push([e,a[r]])}i.length&&e.J(3,i)});return{U(e){i.q(n=e)},F:(e,t)=>(o.set(e,t),i.q(e),()=>{o.delete(e),i.G(e)}),v:i.L}},al=Za?y.useLayoutEffect:y.useEffect,ll="current",cl=(e,t)=>{if(Array.isArray(e))for(const n of e)cl(n,t);else null==e||"boolean"==typeof e||t.push(e)},ul=e=>{const t=y.useRef(e);return al(()=>{t[ll]=e},[e]),t},dl=y.memo(({Z:e,ee:t,te:n,oe:r,ne:o,re:i,ie:s,se:a})=>{const l=y.useRef(null);al(()=>t(l[ll],n),[n]);const c=y.useMemo(()=>{const e={contain:"layout style",position:o&&a?void 0:"absolute",[s?"height":"width"]:"100%",[s?"top":"left"]:0,[s?el()?"right":"left":"top"]:r,visibility:!o||a?"visible":"hidden"};return s&&(e.display="inline-flex"),e},[r,o,a,s]);return _.jsx(i,"string"==typeof i?{ref:l,style:c,children:e}:{ref:l,style:c,index:n,children:e})}),pl=y.forwardRef(({children:e,data:t,bufferSize:n,itemSize:r,shift:o,horizontal:i,keepMounted:s,cache:a,startMargin:l=0,ssrCount:c,as:u="div",item:d="div",scrollRef:p,onScroll:f,onScrollEnd:h},m)=>{const[v,b]=((e,t)=>y.useMemo(()=>{if("function"==typeof e)return[n=>e(t[n],n),t.length];const n=(e=>{const t=[];return cl(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),g=y.useRef(null),E=y.useRef(!!c),O=ul(f),x=ul(h),[N,k,S,A]=(e=>{const t=y.useRef(null);return t[ll]||(t[ll]=e())})(()=>{const e=!!i,t=((e,t=40,n=0,r,o=!1)=>{let i=!!n,s=1,a=0,l=0,c=0,u=0,d=0,p=0,f=0,h=0,m=Ra,v=[0,i?La(n-1,0):-1],b=0;const g=(A=e,C=t,{o:(T=r)?T[1]:C,t:T&&T[0]?Ka(T[0].slice(0,Ia(A,T[0].length)),La(0,A-T[0].length)):Ka([],A),l:A,i:-1,u:Ka([],A+1)}),y=new Set,_=()=>c-l,w=()=>_()+d+u,E=(e,t)=>((e,t,n,r)=>{if(r=Ia(r,e.l-1),Xa(e,r)<=t){const o=Ya(e,n,r);return[Ya(e,t,r,o),o]}{const o=Ya(e,t,void 0,r);return[o,Ya(e,n,o)]}})(g,e,t,v[0]),O=()=>Xa(g,g.l),x=e=>Xa(g,e)-d,N=e=>Wa(g,e),k=(e,t=-1)=>g.t[e]===t,S=e=>{e&&(tl()&&0!==f||m&&1===h?d+=e:u+=e)};var A,C,T;return{v:()=>{y.clear()},m:()=>s,_:()=>(e=>[e.t.slice(),e.o])(g),S:(e=200)=>{if(!a||i)return v;let t,n;if(p)[t,n]=v;else{let r=La(0,w()),i=r+a;o||(e=La(0,e),1!==f&&(r-=e),2!==f&&(i+=e)),[t,n]=v=E(La(0,r),La(0,i)),m&&(t=Ia(t,m[0]),n=La(n,m[1]))}return[La(t,0),Ia(n,g.l-1)]},$:()=>Ya(g,w()),I:()=>Ya(g,w()+a),k:k,R:x,T:N,M:()=>g.l,C:()=>c,H:()=>0!==f,p:()=>a,W:()=>l,h:O,O:()=>(p=u,u=0,[p,2===h]),B:(e,t)=>{const n=[e,t];return y.add(n),()=>{y.delete(n)}},J:(e,t)=>{let n,r,v=0;switch(e){case 1:{if(t===c&&0===h)break;const e=p;p=0;const n=t-c,o=Ba(n);e&&o<Ba(e)+1||0!==h||(f=n<0?2:1),i&&(i=!1),c=t,v=4;const s=_();s>=-a&&s<=O()&&(v+=1,r=o>a);break}case 2:v=8,0!==f&&(n=!0,v+=1),f=0,h=0,m=Ra;break;case 3:{const e=t.filter(([e,t])=>!k(e,t));if(!e.length)break;S(e.reduce((e,[t,n])=>((2===h||(m&&1===h?t<m[0]:x(t+(0===f&&0===h?1:0))<_()))&&(e+=n-N(t)),e),0));for(const[t,n]of e){const e=N(t),r=$a(g,t,n);o&&(b+=r?n:n-e)}o&&a&&b>a&&(S(((e,t)=>{let n=0;const r=[];e.t.forEach((e,o)=>{-1!==e&&(r.push(e),o<t&&n++)}),e.i=-1;const o=Fa(r),i=o.length,s=i/2|0,a=i%2==0?(o[s-1]+o[s])/2:o[s],l=e.o;return((e.o=a)-l)*La(t-n,0)})(g,Ya(g,w()))),o=!1),v=3,r=!0;break}case 4:a!==t&&(a||(r=!0),a=t,v=3);break;case 5:t[1]?(S(Ja(g,t[0],!0)),h=2,v=1):(Ja(g,t[0]),v=1);break;case 6:l=t;break;case 7:h=1;break;case 8:m=E(t,t+a),v=1}v&&(s=1+(2147483647&s),n&&d&&(u+=d,d=0),y.forEach(([e,t])=>{v&e&&t(r)}))}}})(b,r,c,a,!r);return[t,sl(t,e),il(t,e),e]});b!==N.M()&&N.J(5,[b,o]),l!==N.W()&&N.J(6,l);const[C,T]=y.useReducer(N.m,void 0,N.m),V=N.H(),M=N.h(),D=[],j=e=>{const t=v(e);return _.jsx(dl,{ee:k.F,te:e,oe:N.R(e),ne:N.k(e),re:d,Z:t,ie:A,se:E[ll]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(al(()=>{E[ll]=!1,N.B(1,e=>{e?w.flushSync(T):T()}),N.B(4,()=>{O[ll]&&O[ll](N.C())}),N.B(8,()=>{x[ll]&&x[ll]()});const e=e=>{k.U(e),S.P(e)};return p?Ga(()=>{p[ll]&&e(p[ll])}):e(g[ll].parentElement),()=>{N.v(),k.v(),S.v()}},[]),al(()=>{S.j()},[C]),y.useImperativeHandle(m,()=>({get cache(){return N._()},get scrollOffset(){return N.C()},get scrollSize(){return La((e=N).h(),e.p());var e},get viewportSize(){return N.p()},findStartIndex:N.$,findEndIndex:N.I,getItemOffset:N.R,getItemSize:N.T,scrollToIndex:S.Y,scrollTo:S.V,scrollBy:S.X}),[]),s){const e=new Set(s);for(let[t,r]=N.S(n);t<=r;t++)e.add(t);Fa([...e]).forEach(e=>{D.push(j(e))})}else for(let[y,_]=N.S(n);y<=_;y++)D.push(j(y));return _.jsx(u,{ref:g,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:A?M:"100%",height:A?"100%":M,pointerEvents:V?"none":void 0},children:D})}),fl=({expandable:e,expanded:t,onClick:n,disabled:r})=>_.jsx("span",{onClick:n,className:Da(ja.expandButton,{[ja.expandable]:e,[ja.expanded]:t,[ja.disabled]:r}),children:e&&_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:_.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0","clip-rule":"evenodd"})})}),hl=vo(e=>{const{name:t,value:n}=e,r=hs(),o=r.isPathExpanded(e.path),i=Object.keys(n),s=i.length>0;return _.jsxs(_.Fragment,{children:[_.jsxs("div",{className:Da(ja.line,ja.property,ja.array),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[_.jsx(fl,{expandable:n.length>0,expanded:o}),_.jsx("span",{className:ja.propertyName,children:t}),_.jsx("span",{className:ja.propertyMeta,children:": "}),_.jsx("span",{className:ja.propertyValue,children:s?"[...]":"[]"})]}),o&&_.jsx("div",{className:ja.propertyExpandedContent,children:i.map((t,r)=>y.createElement(El,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))})]})}),ml=vo(e=>{const{name:t,value:n,valueType:r}=e,o=Array.from({length:n.length},(e,t)=>`arg${t+1}`);return _.jsxs("div",{className:Da(ja.line,ja.property,ja.function),title:String(n),style:{"--level":e.level,"--order":e.order},"data-fitted":e.isFitted,children:[_.jsx(fl,{}),r.includes("Async")&&_.jsx("span",{className:Da(ja.propertyMeta,ja.small),children:"async "}),_.jsx("span",{className:ja.propertyName,children:t}),_.jsx("span",{className:ja.propertyMeta,children:`(${o.join(", ")})`})]})}),vl=new Set(["constructor"]),bl=new Set([globalThis.Object.prototype,globalThis.Function.prototype,globalThis.Array.prototype,globalThis.String.prototype,globalThis.Number.prototype,globalThis.Boolean.prototype,globalThis.Symbol.prototype,globalThis.Date.prototype,globalThis.RegExp.prototype,globalThis.Error.prototype,globalThis.Map.prototype,globalThis.Set.prototype,globalThis.WeakMap.prototype,globalThis.WeakSet.prototype,globalThis.ArrayBuffer.prototype,globalThis.DataView.prototype,globalThis.Float32Array.prototype,globalThis.Float64Array.prototype,globalThis.Int8Array.prototype,globalThis.Int16Array.prototype,globalThis.Int32Array.prototype,globalThis.Uint8Array.prototype,globalThis.Uint8ClampedArray.prototype,globalThis.Uint16Array.prototype,globalThis.Uint32Array.prototype,globalThis.BigInt64Array.prototype,globalThis.BigUint64Array.prototype,globalThis.Promise.prototype,globalThis.Iterator.prototype]);function gl(e){const t=new Set(Object.keys(e));let n=Object.getPrototypeOf(e);for(;n&&n!==globalThis.Object.prototype;){const e=Object.getOwnPropertyDescriptors(n);for(const n in e)vl.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(bl.has(r))break;n=r}return Array.from(t)}const yl=vo(e=>{const{name:t,value:n}=e,r=hs(),o=r.isPathExpanded(e.path),i=n.constructor.name,s=gl(n);return _.jsxs(_.Fragment,{children:[_.jsxs("div",{className:Da(ja.line,ja.property,ja.instance),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[_.jsx(fl,{expandable:!0,expanded:o}),_.jsx("span",{className:ja.propertyName,children:t}),_.jsx("span",{className:ja.propertyMeta,children:": "}),_.jsx("span",{className:ja.propertyValue,children:`${i}`})]}),o&&s.map((t,r)=>y.createElement(El,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))]})}),_l=vo(e=>{const{name:t,value:n}=e,r=hs(),o=r.isPathExpanded(e.path),i=gl(n),s=i.length>0;return _.jsxs(_.Fragment,{children:[_.jsxs("div",{className:Da(ja.line,ja.property,ja.object),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[_.jsx(fl,{expandable:s,expanded:o}),_.jsx("span",{className:ja.propertyName,children:t}),_.jsx("span",{className:ja.propertyMeta,children:": "}),_.jsx("span",{className:ja.propertyValue,children:s?"{...}":"{}"})]}),o&&i.map((t,r)=>y.createElement(El,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))]})}),wl=vo(e=>{const{name:t,value:n}=e,r=typeof n;return _.jsxs("div",{className:Da(ja.line,ja.property,ja.primitive,ja[r]),style:{"--level":e.level,"--order":e.order},"data-fitted":e.isFitted,title:String(n),children:[_.jsx(fl,{}),_.jsx("span",{className:ja.propertyName,children:t}),_.jsx("span",{className:ja.propertyMeta,children:": "}),_.jsx("span",{className:ja.propertyValue,children:"symbol"===r?"Symbol":"string"===r?`"${n}"`:`${n}`})]})}),El=vo(e=>{const{value:t}=e,n=Object.prototype.toString.call(t),r={...e,value:t,valueType:n};return Array.isArray(t)?_.jsx(hl,{...r}):$o.isObject(t)&&t.constructor?.name&&"Object"!==t.constructor.name?_.jsx(yl,{...r}):$o.isFunction(t)?_.jsx(ml,{...r}):$o.isObject(t)?_.jsx(_l,{...r}):n.startsWith("[object ")&&t&&"object"==typeof t&&"constructor"in t?_.jsx(yl,{...r}):_.jsx(wl,{...r})}),Ol=vs(class extends Es{devtools=this.payload.devtools;constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1},viewModelStores:{useDecorators:!1}}}}),$n(this,{handleExpandPropertyClick:vn,handleVmItemHeaderClick:vn})}isPathExpanded(e){return this.devtools.checkIsPathExpanded(this.payload.vmItem,e)}handleExpandPropertyClick(e){this.devtools.handleExpandPropertyClick(this.payload.vmItem,e)}handleVmItemHeaderClick(e){this.devtools.handleVmItemHeaderClick(e)}},({model:e})=>{const t=e.payload.vmItem,n=e.devtools.isExpanded(t),r=e.devtools.getVMFittedInfo(t);return _.jsxs(_.Fragment,{children:[_.jsx("div",{className:Da(ja.line,ja.vmTreeItem),"data-fitted":r.isFittedByName||r.isFittedById,style:{"--level":t.depth},children:_.jsxs("header",{onClick:()=>e.handleVmItemHeaderClick(t),children:[_.jsx(fl,{expandable:t.children.length>0,expanded:n,disabled:e.devtools.isAllVmsExpandedByDefault}),_.jsx("label",{title:t.displayName,children:t.displayName}),_.jsx("span",{title:t.vm.id,children:t.vm.id})]})}),t.properties.map((n,r)=>_.jsx(El,{vmItem:t,name:n,order:r,value:t.vm[n],isFitted:e.devtools.checkIsPropertyFitted(t,n),level:t.depth,path:n},n)),n&&t.children.map(t=>_.jsx(Ol,{payload:{vmItem:t,devtools:e.devtools}},t.key))]})}),xl=vo(({className:e,headerContent:t,...n})=>{const r=hs();return _.jsxs("div",{...n,className:Da(ja.vmContent,e),ref:r.devtools.containerRef,children:[_.jsxs("header",{children:[_.jsx("span",{children:"mobx-view-model devtools"}),t]}),_.jsx("div",{className:ja.vmContentFilters,children:_.jsx("input",{value:r.devtools.search,ref:r.devtools.inputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name",onChange:r.devtools.handleSearchChange})}),_.jsx("div",{className:ja.vmContentTree,children:_.jsx(pl,{children:r.devtools.vmTree.map(e=>_.jsx(Ol,{payload:{vmItem:e,devtools:r.devtools}},e.key))})})]})}),Nl=vo(()=>{const e=hs();return _.jsx(xl,{className:ja.vmPopup,"data-position":`${e.devtools.config.position}`,headerContent:_.jsx("button",{onClick:e.devtools.handleToggleOpen,children:_.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:_.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06","clip-rule":"evenodd"})})})})}),kl=vs(class extends _s{devtools=this.payload.devtools},({model:e})=>_.jsx(ms,{value:e.devtools.vmStore,children:_.jsxs(rs,{value:e,children:[_.jsx(Pa,{}),e.devtools.isOpened&&"popup"===e.devtools.displayType&&_.jsx(Nl,{})]})}));class Sl extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const Al=(e,...t)=>"function"==typeof e?e(...t):e;let Cl=class{constructor(e){if(this.config=e,this.abortController=new Sl(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),it.ref(this,"isActivated"),ct.struct(this,"actions"),vn.bound(this,"handleKeyboardClick"),$n(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new Sl;En(()=>e.current,e=>{e?(globalThis.document?.activeElement===e&&this.activate(),e.addEventListener("focus",this.activate,{signal:t.signal}),e.addEventListener("blur",this.deactivate,{signal:t.signal})):(t.abort(),t=new Sl(this.abortController.signal))},{fireImmediately:!0,signal:this.abortController.signal})}globalThis.addEventListener("keydown",this.handleKeyboardClick,{signal:this.abortController.signal}),"keyclick"===e.activateStrategy?.type&&(globalThis.addEventListener("click",this.activate,{signal:this.abortController.signal}),globalThis.addEventListener("mousemove",this.activate,{signal:this.abortController.signal}))}abortController;activateStrategy;isActivated;get actions(){return Al(this.config.actions)??[]}activate=()=>{this.isActivated||(this.isActivated=!0,this.config.onActivate?.())};deactivate=()=>{this.isActivated&&(this.isActivated=!1,this.config.onDeactivate?.())};handleKeyboardClick(e){if(this.config.onKeyClick?.(e),"keyclick"===this.activateStrategy.type&&this.activate(),this.isActivated)for(const t of this.actions){if(!Al(t.disabled))for(const n of t.shortcuts){if(n.split("+").every(t=>this.checkShortcut(e,t)))return void gn(()=>{t.action(e)})}}}checkShortcut(e,t){return!("Shift"!==t||!e.shiftKey)||(!("Ctrl"!==t||!e.ctrlKey)||(!("Alt"!==t||!e.altKey)||t===e.key))}destroy(){this.abortController.abort()}};class Tl extends Cl{constructor(e){super({actions:[{shortcuts:["Ctrl+Shift+F12"],action:()=>{e.handleToggleOpen()}},{shortcuts:["Ctrl+ArrowLeft"],action:()=>{e.isAllVmsExpandedByDefault=!1}},{shortcuts:["Ctrl+ArrowRight"],action:()=>{e.isAllVmsExpandedByDefault=!0}},{shortcuts:["Ctrl+ArrowDown"],action:()=>{requestAnimationFrame(()=>{e.containerRef.current.scrollTop+=200})}},{shortcuts:["Ctrl+ArrowUp"],action:()=>{requestAnimationFrame(()=>{e.containerRef.current.scrollTop-=200})}}]})}}const Vl=(e,t)=>{const n=t.split(".");let r=e;for(const o of n){if(!(o in r))return!1;r=r[o]}return!0},Ml=()=>{const e=Xo({meta:{focused:!1},onSet:t=>{document.activeElement===t&&gn(()=>{e.meta.focused=!0}),t.addEventListener("focus",vn(()=>{e.meta.focused=!0})),t.addEventListener("blur",vn(()=>{e.meta.focused=!1}))}});return e};e=[ct];const Dl=class e{constructor(e){((e,t,n,r)=>{for(var o=0,i=e[t>>1],s=i&&i.length;o<s;o++)1&t?i[o].call(n):r=i[o].call(n,r)})(t,5,this),f(this,"isOpened"),f(this,"displayType"),f(this,"vmStore"),f(this,"projectVmStore"),f(this,"isAllVmsExpandedByDefault"),f(this,"expandedVmItemsPaths"),f(this,"logoUrl"),f(this,"inputRef"),f(this,"containerRef"),f(this,"buttonRef"),f(this,"keyboardHandler"),f(this,"search"),f(this,"expandedVmsSet"),f(this,"handleSearchChange",e=>{this.search=e.target.value}),f(this,"handleToggleOpen",()=>{this.isOpened=!this.isOpened}),this.config=e,this.isOpened=!!this.config.defaultIsOpened,this.search="",this.displayType="popup",this.vmStore=new ws,this.projectVmStore=this.config.viewModels,this.expandedVmsSet=it.set(),this.isAllVmsExpandedByDefault=!0,this.expandedVmItemsPaths=it.set(),this.logoUrl="https://js2me.github.io/mobx-view-model/logo.png",this.inputRef=Ml(),this.containerRef=Ml(),this.buttonRef=Xo(),this.keyboardHandler=new Tl(this),$n(this,{isOpened:it.ref,isAllVmsExpandedByDefault:it,search:it.ref,handleToggleOpen:vn,handleExpandPropertyClick:vn,allVms:ct.struct,vmMap:ct.struct,isInSearch:ct,vmTree:ct.struct,rootVms:ct.struct,handleSearchChange:vn})}get vmMap(){return this.getViewModelsMap()}get allVms(){return[...this.vmMap.values()].filter(e=>!Es.isPrototypeOf(e.constructor))}get rootVms(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel})}get formattedSearch(){return this.search.toLowerCase().trim()}get vmTree(){const e=[],t=[],n=(t,r)=>{const o=e.find(e=>e.vm===t);if(o)return o;const i=this.getVmParams(t),s=i?.parentViewModel||null,a=t.constructor.name,l={parent:s?n(s,r-1):null,vm:t,displayName:a,children:[],depth:r,key:`${a}-${t.id}-${r}`,properties:gl(t)};e.push(l);const c=this.allVms.filter(e=>{const n=this.getVmParams(e);return n?.parentViewModel&&n.parentViewModel===t}).map(e=>n(e,r+1)).filter(e=>Boolean(e));return l.children.push(...c),l};return this.rootVms.forEach(e=>{const r=n(e,0);r&&t.push(r)}),t}get isInSearch(){return!!this.search.toLowerCase().trim()}get searchCache(){return this.formattedSearch,new Map}getVMFittedInfo(e){if(!this.isInSearch)return{isFitted:!0,isFittedByName:!0,fittedProperties:[]};if(this.searchCache.has(e.key))return this.searchCache.get(e.key);let t=!1;const n=[];let r=e.displayName.toLowerCase().trim().includes(this.formattedSearch),o=Vl(e.vm,this.search);o||"."!==this.search.at(-1)||(o=Vl(e.vm,this.search.slice(0,-1)));let i=this.formattedSearch;if(!o&&this.search.split(".")[0].toLowerCase()===e.displayName.toLowerCase()){const t=this.search.split(".").slice(1).join(".");t?o=Vl(e.vm,t):(o=!0,r=!0),i=t.toLowerCase().trim()}e.properties.forEach(e=>{let s=!1;if(r)s=!0;else{const t=e.toLowerCase().trim();(t.includes(i)||"."!==i&&`.${t}`.includes(i))&&(s=!0)}if(o){i.split(".")[0]===e&&(s=!0)}t||(t=s),s&&n.push(e)});const s=!!e.vm.id&&e.vm.id.includes(this.formattedSearch),a=r||s||t||o;return this.searchCache.set(e.key,{isFitted:a,isFittedById:s,isFittedByName:r,isFittedByPropertyPath:o,fittedProperties:n}),this.searchCache.get(e.key)}checkIsPropertyFitted(e,t){return!this.isInSearch||this.getVMFittedInfo(e).fittedProperties.includes(t)}isExpanded(e){return this.expandedVmsSet.has(e.key)||this.isInSearch||this.isAllVmsExpandedByDefault}checkIsPathExpanded(e,t){const n=this.getVMFittedInfo(e),r=(t.startsWith(".")?t.slice(1):t).split(".")[0];return r&&n.fittedProperties.includes(r),this.expandedVmItemsPaths.has(`${e.key}%%%${t}`)}handleExpandPropertyClick(e,t){const n=`${e.key}%%%${t}`;this.expandedVmItemsPaths.has(n)?this.expandedVmItemsPaths.delete(n):this.expandedVmItemsPaths.add(n)}handleVmItemHeaderClick(e){this.isExpanded(e)?this.expandedVmsSet.delete(e.key):this.expandedVmsSet.add(e.key)}getVmParams(e){return"vmParams"in e?e.vmParams:null}getViewModelsMap(){const e=this.config.viewModels??this.projectVmStore;return e?.viewModels??new Map}render(){const e=this.config.containerId??"view-model-devtools";let t=document.querySelector(`#${e}`);t||(t=document.createElement("div"),t.style="display: contents;",t.id=e,document.body.appendChild(t));Ns.createRoot(t).render(y.createElement(kl,{payload:{devtools:this}}))}static connect(t){new e(t)}};var jl;jl=null,((e,t,n,i,a,f)=>{var h,y,_,w,E,O=7&t,x=!!(8&t),N=!!(16&t),k=O>3?e.length+1:O?x?1:2:0,S=c[O+5],A=O>3&&(e[k-1]=[]),C=e[k]||(e[k]=[]),T=O&&(!N&&!x&&(a=a.prototype),O<5&&(O>3||!N)&&o(O<4?a:{get[n](){return v(this,f)},set[n](e){return b(this,f,e)}},n));O?N&&O<4&&l(f,(O>2?"set ":O>1?"get ":"")+n):l(a,n);for(var V=i.length-1;V>=0;V--)w=d(O,n,_={},e[3],C),O&&(w.static=x,w.private=N,E=w.access={has:N?e=>m(a,e):e=>n in e},3^O&&(E.get=N?e=>(1^O?v:g)(e,a,4^O?f:T.get):e=>e[n]),O>2&&(E.set=N?(e,t)=>b(e,a,t,4^O?f:T.set):(e,t)=>e[n]=t)),y=(0,i[V])(O?O<4?N?f:T[S]:O>4?void 0:{get:T.get,set:T.set}:a,w),_._=1,4^O||void 0===y?u(y)&&(O>4?A.unshift(y):O?N?f=y:T[S]=y:a=y):"object"!=typeof y||null===y?s("Object expected"):(u(h=y.get)&&(T.get=h),u(h=y.set)&&(T.set=h),u(h=y.init)&&A.unshift(h));O||p(e,a),T&&r(a,n,T)})(t=[,,,n(jl?.[i("metadata")]??null)],2,"searchCache",e,Dl),p(t,Dl);let Pl=Dl;exports.ViewModelDevtools=Pl;
2
+ "use strict";var e,t,n=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),i=e=>{throw TypeError(e)},l=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,s=(e,t)=>r(e,"name",{value:t,configurable:!0}),u=["class","method","getter","setter","accessor","field","value","get","set"],c=e=>void 0!==e&&"function"!=typeof e?i("Function expected"):e,d=(e,t,n,r,o)=>({kind:u[e],name:t,metadata:r,addInitializer:e=>n._?i("Already initialized"):o.push(c(e||null))}),f=(e,t)=>l(t,a("metadata"),e[3]),p=(e,t,n)=>l(e,"symbol"!=typeof t?t+"":t,n),h=(e,t,n)=>t.has(e)||i("Cannot "+n),m=(e,t)=>Object(t)!==t?i('Cannot use the "in" operator on this value'):e.has(t),v=(e,t,n)=>(h(e,t,"read from private field"),n?n.call(e):t.get(e)),g=(e,t,n,r)=>(h(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),y=(e,t,n)=>(h(e,t,"access private method"),n);function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var w,_={exports:{}},k={};function S(){if(w)return k;w=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function m(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function v(){}function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var y=g.prototype=new v;y.constructor=g,p(y,m.prototype),y.isPureReactComponent=!0;var b=Array.isArray,_=Object.prototype.hasOwnProperty,S={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function E(t,n,r){var o,a={},i=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)_.call(n,o)&&!x.hasOwnProperty(o)&&(a[o]=n[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:e,type:t,key:i,ref:l,props:a,_owner:S.current}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function O(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 N(n,r,o,a,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return i=i(s=n),n=""===a?"."+O(s,0):a,b(i)?(o="",null!=n&&(o=n.replace(T,"$&/")+"/"),N(i,r,o,"",function(e){return e})):null!=i&&(C(i)&&(i=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+n)),r.push(i)),1;if(s=0,a=""===a?".":a+":",b(n))for(var u=0;u<n.length;u++){var c=a+O(l=n[u],u);s+=N(l,r,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=N(l=l.value,r,o,c=a+O(l,u++),i);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function R(e,t,n){if(null==e)return e;var r=[],o=0;return N(e,r,"","",function(e){return t.call(n,e,o++)}),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},M={transition:null},L={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:M,ReactCurrentOwner:S};function I(){throw Error("act(...) is not supported in production builds of React.")}return k.Children={map:R,forEach:function(e,t,n){R(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return R(e,function(){t++}),t},toArray:function(e){return R(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},k.Component=m,k.Fragment=n,k.Profiler=o,k.PureComponent=g,k.StrictMode=r,k.Suspense=s,k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,k.act=I,k.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),a=t.key,i=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,l=S.current),void 0!==n.key&&(a=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)_.call(n,u)&&!x.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:a,ref:i,props:o,_owner:l}},k.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},k.createElement=E,k.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},k.createRef=function(){return{current:null}},k.forwardRef=function(e){return{$$typeof:l,render:e}},k.isValidElement=C,k.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:P}},k.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},k.startTransition=function(e){var t=M.transition;M.transition={};try{e()}finally{M.transition=t}},k.unstable_act=I,k.useCallback=function(e,t){return D.current.useCallback(e,t)},k.useContext=function(e){return D.current.useContext(e)},k.useDebugValue=function(){},k.useDeferredValue=function(e){return D.current.useDeferredValue(e)},k.useEffect=function(e,t){return D.current.useEffect(e,t)},k.useId=function(){return D.current.useId()},k.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},k.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},k.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},k.useMemo=function(e,t){return D.current.useMemo(e,t)},k.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},k.useRef=function(e){return D.current.useRef(e)},k.useState=function(e){return D.current.useState(e)},k.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},k.useTransition=function(){return D.current.useTransition()},k.version="18.3.1",k}var x,E,C={exports:{}};function T(){return x||(x=1,e=C,t=C.exports,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.iterator;function v(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}var g={current:null},y={transition:null},b={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},_={},k=null;function S(e){k=e}_.setExtraStackFrame=function(e){k=e},_.getCurrentStack=null,_.getStackAddendum=function(){var e="";k&&(e+=k);var t=_.getCurrentStack;return t&&(e+=t()||""),e};var x={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:y,ReactCurrentOwner:w};function E(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];T("warn",e,n)}function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];T("error",e,n)}function T(e,t,n){var r=x.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map(function(e){return String(e)});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}x.ReactDebugCurrentFrame=_,x.ReactCurrentActQueue=b;var O={};function N(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;O[o]||(C("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),O[o]=!0)}var R={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){N(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){N(e,"replaceState")},enqueueSetState:function(e,t,n,r){N(e,"setState")}},P=Object.assign,D={};function M(e,t,n){this.props=e,this.context=t,this.refs=D,this.updater=n||R}Object.freeze(D),M.prototype.isReactComponent={},M.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},M.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var L={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},I=function(e,t){Object.defineProperty(M.prototype,e,{get:function(){E("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var A in L)L.hasOwnProperty(A)&&I(A,L[A]);function z(){}function j(e,t,n){this.props=e,this.context=t,this.refs=D,this.updater=n||R}z.prototype=M.prototype;var V=j.prototype=new z;V.constructor=j,P(V,M.prototype),V.isPureReactComponent=!0;var U=Array.isArray;function F(e){return U(e)}function B(e){return""+e}function W(e){if(function(e){try{return B(e),!1}catch(t){return!0}}(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),B(e)}function H(e){return e.displayName||"Context"}function $(e){if(null==e)return null;if("number"==typeof e.tag&&C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return H(e)+".Consumer";case l:return H(e._context)+".Provider";case u:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:$(e.type)||"Memo";case p:var n=e,h=n._payload,m=n._init;try{return $(m(h))}catch(v){return null}}return null}var q,K,Y,G=Object.prototype.hasOwnProperty,Q={key:!0,ref:!0,__self:!0,__source:!0};function X(e){if(G.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function J(e){if(G.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}Y={};var Z=function(e,t,r,o,a,i,l){var s={$$typeof:n,type:e,key:t,ref:r,props:l,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function ee(e,t,n){var r,o={},a=null,i=null,l=null,s=null;if(null!=t)for(r in X(t)&&(i=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=$(w.current.type);Y[t]||(C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),Y[t]=!0)}}(t)),J(t)&&(W(t.key),a=""+t.key),l=void 0===t.__self?null:t.__self,s=void 0===t.__source?null:t.__source,t)G.call(t,r)&&!Q.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(u>1){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];Object.freeze&&Object.freeze(c),o.children=c}if(e&&e.defaultProps){var f=e.defaultProps;for(r in f)void 0===o[r]&&(o[r]=f[r])}if(a||i){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var n=function(){q||(q=!0,C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,p),i&&function(e,t){var n=function(){K||(K=!0,C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(o,p)}return Z(e,a,i,l,s,w.current,o)}function te(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,o,a=P({},e.props),i=e.key,l=e.ref,s=e._self,u=e._source,c=e._owner;if(null!=t)for(r in X(t)&&(l=t.ref,c=w.current),J(t)&&(W(t.key),i=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)G.call(t,r)&&!Q.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==o?a[r]=o[r]:a[r]=t[r]);var d=arguments.length-2;if(1===d)a.children=n;else if(d>1){for(var f=Array(d),p=0;p<d;p++)f[p]=arguments[p+2];a.children=f}return Z(e.type,i,l,s,u,c,a)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var re,oe=!1,ae=/\/+/g;function ie(e){return e.replace(ae,"$&/")}function le(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(W(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function se(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s,u,c,d=!1;if(null===e)d=!0;else switch(l){case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case n:case r:d=!0}}if(d){var f=e,p=i(f),h=""===a?"."+le(f,0):a;if(F(p)){var m="";null!=h&&(m=ie(h)+"/"),se(p,t,m,"",function(e){return e})}else null!=p&&(ne(p)&&(!p.key||f&&f.key===p.key||W(p.key),s=p,u=o+(!p.key||f&&f.key===p.key?"":ie(""+p.key)+"/")+h,p=Z(s.type,u,s.ref,s._self,s._source,s._owner,s.props)),t.push(p));return 1}var g=0,y=""===a?".":a+":";if(F(e))for(var b=0;b<e.length;b++)g+=se(c=e[b],t,o,y+le(c,b),i);else{var w=v(e);if("function"==typeof w){var _=e;w===_.entries&&(oe||E("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),oe=!0);for(var k,S=w.call(_),x=0;!(k=S.next()).done;)g+=se(c=k.value,t,o,y+le(c,x++),i)}else if("object"===l){var C=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}}return g}function ue(e,t,n){if(null==e)return e;var r=[],o=0;return se(e,r,"","",function(e){return t.call(n,e,o++)}),r}function ce(e){if(-1===e._status){var t=(0,e._result)();if(t.then(function(t){if(0===e._status||-1===e._status){var n=e;n._status=1,n._result=t}},function(t){if(0===e._status||-1===e._status){var n=e;n._status=2,n._result=t}}),-1===e._status){var n=e;n._status=0,n._result=t}}if(1===e._status){var r=e._result;return void 0===r&&C("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||C("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function de(e){return"string"==typeof e||"function"==typeof e||e===o||e===i||e===a||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===re||void 0!==e.getModuleId)}function fe(){var e=g.current;return null===e&&C("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}re=Symbol.for("react.module.reference");var pe,he,me,ve,ge,ye,be,we=0;function _e(){}_e.__reactDisabledLog=!0;var ke,Se=x.ReactCurrentDispatcher;function xe(e,t,n){if(void 0===ke)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);ke=r&&r[1]||""}return"\n"+ke+e}var Ee,Ce=!1,Te="function"==typeof WeakMap?WeakMap:Map;function Oe(e,t){if(!e||Ce)return"";var n,r=Ee.get(e);if(void 0!==r)return r;Ce=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Se.current,Se.current=null,function(){if(0===we){pe=console.log,he=console.info,me=console.warn,ve=console.error,ge=console.group,ye=console.groupCollapsed,be=console.groupEnd;var e={configurable:!0,enumerable:!0,value:_e,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}we++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(h){n=h}Reflect.construct(e,[],i)}else{try{i.call()}catch(h){n=h}e.call(i.prototype)}}else{try{throw Error()}catch(h){n=h}e()}}catch(m){if(m&&n&&"string"==typeof m.stack){for(var l=m.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;u>=1&&c>=0&&l[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var d="\n"+l[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&Ee.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{Ce=!1,Se.current=o,function(){if(0===--we){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:pe}),info:P({},e,{value:he}),warn:P({},e,{value:me}),error:P({},e,{value:ve}),group:P({},e,{value:ge}),groupCollapsed:P({},e,{value:ye}),groupEnd:P({},e,{value:be})})}we<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",p=f?xe(f):"";return"function"==typeof e&&Ee.set(e,p),p}function Ne(e,t,n){if(null==e)return"";if("function"==typeof e)return Oe(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return xe(e);switch(e){case c:return xe("Suspense");case d:return xe("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return Oe(e.render,!1);case f:return Ne(e.type,t,n);case p:var o=e,a=o._payload,i=o._init;try{return Ne(i(a),t,n)}catch(l){}}return""}Ee=new Te;var Re,Pe={},De=x.ReactDebugCurrentFrame;function Me(e){if(e){var t=e._owner,n=Ne(e.type,e._source,t?t.type:null);De.setExtraStackFrame(n)}else De.setExtraStackFrame(null)}function Le(e){if(e){var t=e._owner;S(Ne(e.type,e._source,t?t.type:null))}else S(null)}function Ie(){if(w.current){var e=$(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Re=!1;var Ae={};function ze(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=Ie();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!Ae[n]){Ae[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+$(e._owner.type)+"."),Le(e),C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),Le(null)}}}function je(e,t){if("object"==typeof e)if(F(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&ze(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var o=v(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ne(a.value)&&ze(a.value,t)}}function Ve(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==f)return;t=n.propTypes}if(t){var r=$(n);!function(e,t,n,r,o){var a=Function.call.bind(G);for(var i in e)if(a(e,i)){var l=void 0;try{if("function"!=typeof e[i]){var s=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){l=u}!l||l instanceof Error||(Me(o),C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof l),Me(null)),l instanceof Error&&!(l.message in Pe)&&(Pe[l.message]=!0,Me(o),C("Failed %s type: %s",n,l.message),Me(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Re||(Re=!0,C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$(n)||"Unknown"));"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ue(e,t,r){var a,i,l=de(e);if(!l){var s="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var u,c=null!=(a=t)&&void 0!==(i=a.__source)?"\n\nCheck your code at "+i.fileName.replace(/^.*[\\\/]/,"")+":"+i.lineNumber+".":"";s+=c||Ie(),null===e?u="null":F(e)?u="array":void 0!==e&&e.$$typeof===n?(u="<"+($(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,C("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,s)}var d=ee.apply(this,arguments);if(null==d)return d;if(l)for(var f=2;f<arguments.length;f++)je(arguments[f],e);return e===o?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){Le(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Le(null);break}}null!==e.ref&&(Le(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),Le(null))}(d):Ve(d),d}var Fe=!1,Be=!1,We=null,He=0,$e=!1;function qe(e){var t=He;He++,null===b.current&&(b.current=[]);var n,r=b.isBatchingLegacy;try{if(b.isBatchingLegacy=!0,n=e(),!r&&b.didScheduleLegacyUpdate){var o=b.current;null!==o&&(b.didScheduleLegacyUpdate=!1,Qe(o))}}catch(c){throw Ke(t),c}finally{b.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var a=n,i=!1,l={then:function(e,n){i=!0,a.then(function(r){Ke(t),0===He?Ye(r,e,n):e(r)},function(e){Ke(t),n(e)})}};return $e||"undefined"==typeof Promise||Promise.resolve().then(function(){}).then(function(){i||($e=!0,C("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),l}var s=n;if(Ke(t),0===He){var u=b.current;return null!==u&&(Qe(u),b.current=null),{then:function(e,t){null===b.current?(b.current=[],Ye(s,e,t)):e(s)}}}return{then:function(e,t){e(s)}}}function Ke(e){e!==He-1&&C("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),He=e}function Ye(t,n,r){var o=b.current;if(null!==o)try{Qe(o),function(t){if(null===We)try{var n=("require"+Math.random()).slice(0,7);We=(e&&e[n]).call(e,"timers").setImmediate}catch(r){We=function(e){!1===Be&&(Be=!0,"undefined"==typeof MessageChannel&&C("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}We(t)}(function(){0===o.length?(b.current=null,n(t)):Ye(t,n,r)})}catch(a){r(a)}else n(t)}var Ge=!1;function Qe(e){if(!Ge){Ge=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(r){throw e=e.slice(t+1),r}finally{Ge=!1}}}var Xe=Ue,Je=function(e,t,n){for(var r=te.apply(this,arguments),o=2;o<arguments.length;o++)je(arguments[o],r.type);return Ve(r),r},Ze=function(e){var t=Ue.bind(null,e);return t.type=e,Fe||(Fe=!0,E("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return E("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},et={map:ue,forEach:function(e,t,n){ue(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ue(e,function(){t++}),t},toArray:function(e){return ue(e,function(e){return e})||[]},only:function(e){if(!ne(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=et,t.Component=M,t.Fragment=o,t.Profiler=i,t.PureComponent=j,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x,t.act=qe,t.cloneElement=Je,t.createContext=function(e){var t={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:l,_context:t};var n=!1,r=!1,o=!1,a={$$typeof:s,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return r||(r=!0,C("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,C("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(E("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=Xe,t.createFactory=Ze,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===f?C("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?C("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&C("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||C("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:u,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=ne,t.lazy=function(e){var t,n,r={$$typeof:p,_payload:{_status:-1,_result:e},_init:ce};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){C("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){C("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){de(e)||C("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:f,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=y.transition;y.transition={};var r=y.transition;y.transition._updatedFibers=new Set;try{e()}finally{y.transition=n,null===n&&r._updatedFibers&&(r._updatedFibers.size>10&&E("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear())}},t.unstable_act=qe,t.useCallback=function(e,t){return fe().useCallback(e,t)},t.useContext=function(e){var t=fe();if(void 0!==e._context){var n=e._context;n.Consumer===e?C("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&C("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return fe().useDebugValue(e,t)},t.useDeferredValue=function(e){return fe().useDeferredValue(e)},t.useEffect=function(e,t){return fe().useEffect(e,t)},t.useId=function(){return fe().useId()},t.useImperativeHandle=function(e,t,n){return fe().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return fe().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return fe().useLayoutEffect(e,t)},t.useMemo=function(e,t){return fe().useMemo(e,t)},t.useReducer=function(e,t,n){return fe().useReducer(e,t,n)},t.useRef=function(e){return fe().useRef(e)},t.useState=function(e){return fe().useState(e)},t.useSyncExternalStore=function(e,t,n){return fe().useSyncExternalStore(e,t,n)},t.useTransition=function(){return fe().useTransition()},t.version="18.3.1","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),C.exports;var e,t}function O(){return E||(E=1,"production"===process.env.NODE_ENV?_.exports=S():_.exports=T()),_.exports}var N=O();const R=b(N);var P,D={exports:{}},M={};var L,I,A={};function z(){return L||(L=1,"production"!==process.env.NODE_ENV&&function(){var e=O(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h=Symbol.iterator;var m=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];!function(e,t,n){var r=m.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map(function(e){return String(e)});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}("error",e,n)}var g;function y(e){return e.displayName||"Context"}function b(e){if(null==e)return null;if("number"==typeof e.tag&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case c:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return y(e)+".Consumer";case i:return y(e._context)+".Provider";case s:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case d:var t=e.displayName||null;return null!==t?t:b(e.type)||"Memo";case f:var p=e,h=p._payload,m=p._init;try{return b(m(h))}catch(g){return null}}return null}g=Symbol.for("react.module.reference");var w,_,k,S,x,E,C,T=Object.assign,N=0;function R(){}R.__reactDisabledLog=!0;var P,D=m.ReactCurrentDispatcher;function M(e,t,n){if(void 0===P)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);P=r&&r[1]||""}return"\n"+P+e}var L,I=!1,z="function"==typeof WeakMap?WeakMap:Map;function j(e,t){if(!e||I)return"";var n,r=L.get(e);if(void 0!==r)return r;I=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=D.current,D.current=null,function(){if(0===N){w=console.log,_=console.info,k=console.warn,S=console.error,x=console.group,E=console.groupCollapsed,C=console.groupEnd;var e={configurable:!0,enumerable:!0,value:R,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}N++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(h){n=h}Reflect.construct(e,[],i)}else{try{i.call()}catch(h){n=h}e.call(i.prototype)}}else{try{throw Error()}catch(h){n=h}e()}}catch(m){if(m&&n&&"string"==typeof m.stack){for(var l=m.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;u>=1&&c>=0&&l[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var d="\n"+l[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&L.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{I=!1,D.current=o,function(){if(0===--N){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:w}),info:T({},e,{value:_}),warn:T({},e,{value:k}),error:T({},e,{value:S}),group:T({},e,{value:x}),groupCollapsed:T({},e,{value:E}),groupEnd:T({},e,{value:C})})}N<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",p=f?M(f):"";return"function"==typeof e&&L.set(e,p),p}function V(e,t,n){if(null==e)return"";if("function"==typeof e)return j(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return M(e);switch(e){case u:return M("Suspense");case c:return M("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case s:return j(e.render,!1);case d:return V(e.type,t,n);case f:var o=e,a=o._payload,i=o._init;try{return V(i(a),t,n)}catch(l){}}return""}L=new z;var U=Object.prototype.hasOwnProperty,F={},B=m.ReactDebugCurrentFrame;function W(e){if(e){var t=e._owner,n=V(e.type,e._source,t?t.type:null);B.setExtraStackFrame(n)}else B.setExtraStackFrame(null)}var H=Array.isArray;function $(e){return H(e)}function q(e){return""+e}function K(e){if(function(e){try{return q(e),!1}catch(t){return!0}}(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),q(e)}var Y,G,Q=m.ReactCurrentOwner,X={key:!0,ref:!0,__self:!0,__source:!0};function J(e,n,r,o,a){var i,l={},s=null,u=null;for(i in void 0!==r&&(K(r),s=""+r),function(e){if(U.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(K(n.key),s=""+n.key),function(e){if(U.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(n)&&(u=n.ref,function(e){"string"==typeof e.ref&&Q.current}(n)),n)U.call(n,i)&&!X.hasOwnProperty(i)&&(l[i]=n[i]);if(e&&e.defaultProps){var c=e.defaultProps;for(i in c)void 0===l[i]&&(l[i]=c[i])}if(s||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var n=function(){Y||(Y=!0,v("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(l,d),u&&function(e,t){var n=function(){G||(G=!0,v("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}(l,d)}return function(e,n,r,o,a,i,l){var s={$$typeof:t,type:e,key:n,ref:r,props:l,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,u,a,o,Q.current,l)}var Z,ee=m.ReactCurrentOwner,te=m.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,n=V(e.type,e._source,t?t.type:null);te.setExtraStackFrame(n)}else te.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function oe(){if(ee.current){var e=b(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Z=!1;var ae={};function ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=oe();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!ae[n]){ae[n]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+b(e._owner.type)+"."),ne(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ne(null)}}}function le(e,t){if("object"==typeof e)if($(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&ie(r,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)re(a.value)&&ie(a.value,t)}}function se(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==s&&n.$$typeof!==d)return;t=n.propTypes}if(t){var r=b(n);!function(e,t,n,r,o){var a=Function.call.bind(U);for(var i in e)if(a(e,i)){var l=void 0;try{if("function"!=typeof e[i]){var s=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){l=u}!l||l instanceof Error||(W(o),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof l),W(null)),l instanceof Error&&!(l.message in F)&&(F[l.message]=!0,W(o),v("Failed %s type: %s",n,l.message),W(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Z){Z=!0,v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ue={};function ce(e,n,h,m,y,w){var _=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===a||e===o||e===u||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===i||e.$$typeof===l||e.$$typeof===s||e.$$typeof===g||void 0!==e.getModuleId)}(e);if(!_){var k="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(k+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var S;k+=oe(),null===e?S="null":$(e)?S="array":void 0!==e&&e.$$typeof===t?(S="<"+(b(e.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,k)}var x=J(e,n,h,y,w);if(null==x)return x;if(_){var E=n.children;if(void 0!==E)if(m)if($(E)){for(var C=0;C<E.length;C++)le(E[C],e);Object.freeze&&Object.freeze(E)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else le(E,e)}if(U.call(n,"key")){var T=b(e),O=Object.keys(n).filter(function(e){return"key"!==e}),N=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!ue[T+N])v('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',N,T,O.length>0?"{"+O.join(": ..., ")+": ...}":"{}",T),ue[T+N]=!0}return e===r?function(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ne(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ne(null);break}}null!==e.ref&&(ne(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(x):se(x),x}var de=function(e,t,n){return ce(e,t,n,!1)},fe=function(e,t,n){return ce(e,t,n,!0)};A.Fragment=r,A.jsx=de,A.jsxs=fe}()),A}var j=(I||(I=1,"production"===process.env.NODE_ENV?D.exports=function(){if(P)return M;P=1;var e=O(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,i){var l,s={},u=null,c=null;for(l in void 0!==i&&(u=""+i),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!a.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return M.Fragment=n,M.jsx=i,M.jsxs=i,M}():D.exports=z()),D.exports),V="production"!==process.env.NODE_ENV?{0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"}:{};function U(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("production"!==process.env.NODE_ENV){var o="string"==typeof e?e:V[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var F={};function B(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:F}var W=Object.assign,H=Object.getOwnPropertyDescriptor,$=Object.defineProperty,q=Object.prototype,K=[];Object.freeze(K);var Y={};Object.freeze(Y);var G="undefined"!=typeof Proxy,Q=Object.toString();function X(){G||U("production"!==process.env.NODE_ENV?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function J(e){"production"!==process.env.NODE_ENV&&rn.verifyProxies&&U("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function Z(){return++rn.mobxGuid}function ee(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var te=function(){};function ne(e){return"function"==typeof e}function re(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function oe(e){return null!==e&&"object"==typeof e}function ae(e){if(!oe(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===Q}function ie(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function le(e,t,n){$(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function se(e,t,n){$(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function ue(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return oe(e)&&!0===e[n]}}function ce(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function de(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var fe=void 0!==Object.getOwnPropertySymbols;var pe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:fe?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function he(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function me(e){return null===e?null:"object"==typeof e?""+e:e}function ve(e,t){return q.hasOwnProperty.call(e,t)}var ge=Object.getOwnPropertyDescriptors||function(e){var t={};return pe(e).forEach(function(n){t[n]=H(e,n)}),t};function ye(e,t){return!!(e&t)}function be(e,t,n){return n?e|=t:e&=~t,e}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function _e(e,t,n){return t&&function(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,Ce(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function ke(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return we(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?we(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Se.apply(null,arguments)}function xe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ee(e,t)}function Ee(e,t){return(Ee=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}var Te=Symbol("mobx-stored-annotations");function Oe(e){return Object.assign(function(t,n){if(Re(n))return e.decorate_20223_(t,n);Ne(t,n,e)},e)}function Ne(e,t,n){(ve(e,Te)||le(e,Te,Se({},e[Te])),"production"!==process.env.NODE_ENV&&Ue(n)&&!ve(e[Te],t))&&U("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if("production"!==process.env.NODE_ENV&&!Ue(t)&&ve(e[Te],n)){var r=e.constructor.name+".prototype."+n.toString(),o=e[Te][n].annotationType_;U("Cannot apply '@"+t.annotationType_+"' to '"+r+"':\nThe field is already decorated with '@"+o+"'.\nRe-decorating fields is not allowed.\nUse '@override' decorator for methods overridden by subclass.")}}(e,n,t),Ue(n)||(e[Te][t]=n)}function Re(e){return"object"==typeof e&&"string"==typeof e.kind}function Pe(e,t){"production"===process.env.NODE_ENV||t.includes(e.kind)||U("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var De=Symbol("mobx administration"),Me=function(){function e(e){void 0===e&&(e="production"!==process.env.NODE_ENV?"Atom@"+Z():"Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=zt.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return cn(this)},t.reportChanged=function(){sn(),dn(this),un()},t.toString=function(){return this.name_},_e(e,[{key:"isBeingObserved",get:function(){return ye(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=be(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return ye(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=be(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return ye(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=be(this.flags_,e.diffValueMask_,1===t)}}])}();Me.isBeingObservedMask_=1,Me.isPendingUnobservationMask_=2,Me.diffValueMask_=4;var Le=ue("Atom",Me);function Ie(e,t,n){void 0===t&&(t=te),void 0===n&&(n=te);var r,o=new Me(e);return t!==te&&Wn(Un,o,t,r),n!==te&&Bn(o,n),o}var Ae={structural:function(e,t){return io(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function ze(e,t,n){return tr(e)?e:Array.isArray(e)?kt.array(e,{name:n}):ae(e)?kt.object(e,void 0,{name:n}):ce(e)?kt.map(e,{name:n}):de(e)?kt.set(e,{name:n}):"function"!=typeof e||An(e)||er(e)?e:ie(e)?Jn(e):Ln(n,e)}function je(e){return e}var Ve="override";function Ue(e){return e.annotationType_===Ve}function Fe(e,t){return{annotationType_:e,options_:t,make_:Be,extend_:We,decorate_20223_:He}}function Be(e,t,n,r){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(An(n.value))return 1;var a=$e(e,this,t,n,!1);return $(r,t,a),2}function We(e,t,n,r){var o=$e(e,this,t,n);return e.defineProperty_(t,o,r)}function He(e,t){"production"!==process.env.NODE_ENV&&Pe(t,["method","field"]);var n,r=t.kind,o=t.name,a=t.addInitializer,i=this,l=function(e){var t,n,r,a;return Pt(null!=(t=null==(n=i.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(a=i.options_)?void 0:a.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return An(n)||(n=l(n)),null!=(t=i.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(An(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&a(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void U("Cannot apply '"+i.annotationType_+"' to '"+String(o)+"' (kind: "+r+"):\n'"+i.annotationType_+"' can only be used on properties with a function value.")}function $e(e,t,n,r,o){var a,i,l,s,u,c,d;void 0===o&&(o=rn.safeDescriptors),function(e,t,n,r){var o=t.annotationType_,a=r.value;"production"===process.env.NODE_ENV||ne(a)||U("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a function value.")}(e,t,n,r);var f,p=r.value;null!=(a=t.options_)&&a.bound&&(p=p.bind(null!=(f=e.proxy_)?f:e.target_));return{value:Pt(null!=(i=null==(l=t.options_)?void 0:l.name)?i:n.toString(),p,null!=(s=null==(u=t.options_)?void 0:u.autoAction)&&s,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function qe(e,t){return{annotationType_:e,options_:t,make_:Ke,extend_:Ye,decorate_20223_:Ge}}function Ke(e,t,n,r){var o;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!ve(e.target_,t)||!er(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(er(n.value))return 1;var a=Qe(e,this,t,n,!1,!1);return $(r,t,a),2}function Ye(e,t,n,r){var o,a=Qe(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,a,r)}function Ge(e,t){var n;"production"!==process.env.NODE_ENV&&Pe(t,["method"]);var r=t.name,o=t.addInitializer;return er(e)||(e=Jn(e)),null!=(n=this.options_)&&n.bound&&o(function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t}),e}function Qe(e,t,n,r,o,a){void 0===a&&(a=rn.safeDescriptors),function(e,t,n,r){var o=t.annotationType_,a=r.value;"production"===process.env.NODE_ENV||ne(a)||U("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a generator function value.")}(e,t,n,r);var i,l=r.value;(er(l)||(l=Jn(l)),o)&&((l=l.bind(null!=(i=e.proxy_)?i:e.target_)).isMobXFlow=!0);return{value:l,configurable:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function Xe(e,t){return{annotationType_:e,options_:t,make_:Je,extend_:Ze,decorate_20223_:et}}function Je(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ze(e,t,n,r){return function(e,t,n,r){var o=t.annotationType_,a=r.get;"production"===process.env.NODE_ENV||a||U("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on getter(+setter) properties.")}(e,this,t,n),e.defineComputedProperty_(t,Se({},this.options_,{get:n.get,set:n.set}),r)}function et(e,t){"production"!==process.env.NODE_ENV&&Pe(t,["getter"]);var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=zr(this)[De],o=Se({},n.options_,{get:e,context:this});o.name||(o.name="production"!==process.env.NODE_ENV?t.name_+"."+r.toString():"ObservableObject."+r.toString()),t.values_.set(r,new At(o))}),function(){return this[De].getObservablePropValue_(r)}}function tt(e,t){return{annotationType_:e,options_:t,make_:nt,extend_:rt,decorate_20223_:ot}}function nt(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function rt(e,t,n,r){var o,a;return function(e,t,n,r){var o=t.annotationType_;"production"===process.env.NODE_ENV||"value"in r||U("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' cannot be used on getter/setter properties")}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(a=this.options_)?void 0:a.enhancer)?o:ze,r)}function ot(e,t){if("production"!==process.env.NODE_ENV){if("field"===t.kind)throw U("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");Pe(t,["accessor"])}var n=this,r=t.kind,o=t.name,a=new WeakSet;function i(e,t){var r,i,l=zr(e)[De],s=new It(t,null!=(r=null==(i=n.options_)?void 0:i.enhancer)?r:ze,"production"!==process.env.NODE_ENV?l.name_+"."+o.toString():"ObservableObject."+o.toString(),!1);l.values_.set(o,s),a.add(e)}if("accessor"==r)return{get:function(){return a.has(this)||i(this,e.get.call(this)),this[De].getObservablePropValue_(o)},set:function(e){return a.has(this)||i(this,e),this[De].setObservablePropValue_(o,e)},init:function(e){return a.has(this)||i(this,e),e}}}var at="true",it=lt();function lt(e){return{annotationType_:at,options_:e,make_:st,extend_:ut,decorate_20223_:ct}}function st(e,t,n,r){var o,a,i,l;if(n.get)return Ct.make_(e,t,n,r);if(n.set){var s=An(n.set)?n.set:Pt(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!rn.safeDescriptors||e.isPlainObject_,set:s})?0:2:($(r,t,{configurable:!0,set:s}),2)}if(r!==e.target_&&"function"==typeof n.value)return ie(n.value)?(null!=(l=this.options_)&&l.autoBind?Jn.bound:Jn).make_(e,t,n,r):(null!=(i=this.options_)&&i.autoBind?Ln.bound:Ln).make_(e,t,n,r);var u,c=!1===(null==(o=this.options_)?void 0:o.deep)?kt.ref:kt;"function"==typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return c.make_(e,t,n,r)}function ut(e,t,n,r){var o,a,i;if(n.get)return Ct.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!rn.safeDescriptors||e.isPlainObject_,set:Pt(t.toString(),n.set)},r);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(i=e.proxy_)?i:e.target_));return(!1===(null==(a=this.options_)?void 0:a.deep)?kt.ref:kt).extend_(e,t,n,r)}function ct(e,t){U("'"+this.annotationType_+"' cannot be used as a decorator")}var dt={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function ft(e){return e||dt}Object.freeze(dt);var pt=tt("observable"),ht=tt("observable.ref",{enhancer:je}),mt=tt("observable.shallow",{enhancer:function(e,t,n){return null==e||Ur(e)||Sr(e)||Or(e)||Dr(e)?e:Array.isArray(e)?kt.array(e,{name:n,deep:!1}):ae(e)?kt.object(e,void 0,{name:n,deep:!1}):ce(e)?kt.map(e,{name:n,deep:!1}):de(e)?kt.set(e,{name:n,deep:!1}):void("production"!==process.env.NODE_ENV&&U("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets"))}}),vt=tt("observable.struct",{enhancer:function(e,t){return"production"!==process.env.NODE_ENV&&tr(e)&&U("observable.struct should not be used with observable values"),io(e,t)?t:e}}),gt=Oe(pt);function yt(e){return!0===e.deep?ze:!1===e.deep?je:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:ze;var t,n,r}function bt(e,t,n){return Re(t)?pt.decorate_20223_(e,t):re(t)?void Ne(e,t,pt):tr(e)?e:ae(e)?kt.object(e,t,n):Array.isArray(e)?kt.array(e,t):ce(e)?kt.map(e,t):de(e)?kt.set(e,t):"object"==typeof e&&null!==e?e:kt.box(e,t)}W(bt,gt);var wt,_t,kt=W(bt,{box:function(e,t){var n=ft(t);return new It(e,yt(n),n.name,!0,n.equals)},array:function(e,t){var n=ft(t);return(!1===rn.useProxies||!1===n.proxy?Zr:vr)(e,yt(n),n.name)},map:function(e,t){var n=ft(t);return new Tr(e,yt(n),n.name)},set:function(e,t){var n=ft(t);return new Pr(e,yt(n),n.name)},object:function(e,t,n){return ro(function(){return function(e,t,n,r){"production"!==process.env.NODE_ENV&&(arguments.length>4&&U("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&U("'extendObservable' expects an object as first argument"),Or(e)&&U("'extendObservable' should not be used on maps, use map.merge instead"),ae(t)||U("'extendObservable' only accepts plain objects as second argument"),(tr(t)||tr(n))&&U("Extending an object with another observable (object) is not supported"));var o=ge(t);return ro(function(){var t=zr(e,r)[De];pe(o).forEach(function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))})}),e}(!1===rn.useProxies||!1===(null==n?void 0:n.proxy)?zr({},n):function(e,t){var n,r;return X(),e=zr(e,t),null!=(r=(n=e[De]).proxy_)?r:n.proxy_=new Proxy(e,or)}({},n),e,t)})},ref:Oe(ht),shallow:Oe(mt),deep:gt,struct:Oe(vt)}),St="computed",xt=Xe(St),Et=Xe("computed.struct",{equals:Ae.structural}),Ct=function(e,t){if(Re(t))return xt.decorate_20223_(e,t);if(re(t))return Ne(e,t,xt);if(ae(e))return Oe(Xe(St,e));"production"!==process.env.NODE_ENV&&(ne(e)||U("First argument to `computed` should be an expression."),ne(t)&&U("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=ae(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new At(n)};Object.assign(Ct,xt),Ct.struct=Oe(Et);var Tt=0,Ot=1,Nt=null!=(wt=null==(_t=H(function(){},"name"))?void 0:_t.configurable)&&wt,Rt={value:"action",configurable:!0,writable:!1,enumerable:!1};function Pt(e,t,n,r){function o(){return Dt(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),"production"!==process.env.NODE_ENV&&(ne(t)||U("`action` can only be invoked on functions"),"string"==typeof e&&e||U("actions should have valid names, got: '"+e+"'")),o.isMobxAction=!0,o.toString=function(){return t.toString()},Nt&&(Rt.value=e,$(o,"name",Rt)),o}function Dt(e,t,n,r,o){var a=function(e,t,n,r){var o="production"!==process.env.NODE_ENV&&wn()&&!!e,a=0;if("production"!==process.env.NODE_ENV&&o){a=Date.now();var i=r?Array.from(r):K;kn({type:En,name:e,object:n,arguments:i})}var l=rn.trackingDerivation,s=!t||!l;sn();var u=rn.allowStateChanges;s&&(Gt(),u=Mt(!0));var c=Xt(!0),d={runAsAction_:s,prevDerivation_:l,prevAllowStateChanges_:u,prevAllowStateReads_:c,notifySpy_:o,startTime_:a,actionId_:Ot++,parentActionId_:Tt};return Tt=d.actionId_,d}(e,t,r,o);try{return n.apply(r,o)}catch(i){throw a.error_=i,i}finally{!function(e){Tt!==e.actionId_&&U(30);Tt=e.parentActionId_,void 0!==e.error_&&(rn.suppressReactionErrors=!0);Lt(e.prevAllowStateChanges_),Jt(e.prevAllowStateReads_),un(),e.runAsAction_&&Qt(e.prevDerivation_);"production"!==process.env.NODE_ENV&&e.notifySpy_&&xn({time:Date.now()-e.startTime_});rn.suppressReactionErrors=!1}(a)}}function Mt(e){var t=rn.allowStateChanges;return rn.allowStateChanges=e,t}function Lt(e){rn.allowStateChanges=e}var It=function(e){function t(t,n,r,o,a){var i,l;(void 0===r&&(r="production"!==process.env.NODE_ENV?"ObservableValue@"+Z():"ObservableValue"),void 0===o&&(o=!0),void 0===a&&(a=Ae.default),(i=e.call(this,r)||this).enhancer=void 0,i.name_=void 0,i.equals=void 0,i.hasUnreportedChange_=!1,i.interceptors_=void 0,i.changeListeners_=void 0,i.value_=void 0,i.dehancer=void 0,i.enhancer=n,i.name_=r,i.equals=a,i.value_=n(t,void 0,r),"production"!==process.env.NODE_ENV&&o&&wn())&&_n({type:"create",object:i,observableKind:"value",debugObjectName:i.name_,newValue:""+(null==(l=i.value_)?void 0:l.toString())});return i}xe(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){var t=this.value_;if((e=this.prepareNewValue_(e))!==rn.UNCHANGED){var n=wn();"production"!==process.env.NODE_ENV&&n&&kn({type:pr,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),"production"!==process.env.NODE_ENV&&n&&xn()}},n.prepareNewValue_=function(e){if($t(this),ar(this)){var t=lr(this,{object:this,type:pr,newValue:e});if(!t)return rn.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?rn.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),sr(this)&&cr(this,{type:pr,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return ir(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:pr,newValue:this.value_,oldValue:void 0}),ur(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return me(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Me),At=function(){function e(e){this.dependenciesState_=zt.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=zt.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Bt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Vt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||U(31),this.derivation=e.get,this.name_=e.name||("production"!==process.env.NODE_ENV?"ComputedValue@"+Z():"ComputedValue"),e.set&&(this.setter_=Pt("production"!==process.env.NODE_ENV?this.name_+"-setter":"ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Ae.structural:Ae.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==zt.UP_TO_DATE_)return;e.lowestObserverState_=zt.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===zt.UP_TO_DATE_&&(e.dependenciesState_=zt.POSSIBLY_STALE_,e.onBecomeStale_())})}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&U(32,this.name_,this.derivation),0!==rn.inBatch||0!==this.observers_.size||this.keepAlive_){if(cn(this),Ht(this)){var e=rn.trackingContext;this.keepAlive_&&!e&&(rn.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===zt.STALE_)return;e.lowestObserverState_=zt.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===zt.POSSIBLY_STALE_?(t.dependenciesState_=zt.STALE_,"production"!==process.env.NODE_ENV&&t.isTracing_!==Vt.NONE&&fn(t,e)):t.dependenciesState_===zt.UP_TO_DATE_&&(e.lowestObserverState_=zt.UP_TO_DATE_)})}(this),rn.trackingContext=e}}else Ht(this)&&(this.warnAboutUntrackedRead_(),sn(),this.value_=this.computeValue_(!1),un());var t=this.value_;if(Wt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&U(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else U(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===zt.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Wt(e)||Wt(n)||!this.equals_(e,n);return r&&(this.value_=n,"production"!==process.env.NODE_ENV&&wn()&&_n({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:e,newValue:n})),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=Mt(!1);if(e)t=qt(this,this.derivation,this.scope_);else if(!0===rn.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new Bt(r)}return Lt(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(Kt(this),this.value_=void 0,"production"!==process.env.NODE_ENV&&this.isTracing_!==Vt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(e,t){var n=this,r=!0,o=void 0;return function(e,t){var n,r,o,a;void 0===t&&(t=Y);"production"!==process.env.NODE_ENV&&(ne(e)||U("Autorun expects a function as first argument"),An(e)&&U("Autorun does not accept actions since actions are untrackable"));var i,l=null!=(n=null==(r=t)?void 0:r.name)?n:"production"!==process.env.NODE_ENV?e.name||"Autorun@"+Z():"Autorun";if(t.scheduler||t.delay){var s=jn(t),u=!1;i=new hn(l,function(){u||(u=!0,s(function(){u=!1,i.isDisposed||i.track(c)}))},t.onError,t.requiresObservable)}else i=new hn(l,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(i)}null!=(o=t)&&null!=(o=o.signal)&&o.aborted||i.schedule_();return i.getDisposer_(null==(a=t)?void 0:a.signal)}(function(){var a=n.get();if(!r||t){var i=Gt();e({observableKind:"computed",debugObjectName:n.name_,type:pr,object:n,newValue:a,oldValue:o}),Qt(i)}r=!1,o=a})},t.warnAboutUntrackedRead_=function(){"production"!==process.env.NODE_ENV&&(this.isTracing_!==Vt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),("boolean"==typeof this.requiresReaction_?this.requiresReaction_:rn.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return me(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},_e(e,[{key:"isComputing",get:function(){return ye(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=be(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return ye(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=be(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return ye(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=be(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return ye(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=be(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return ye(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=be(this.flags_,e.diffValueMask_,1===t)}}])}();At.isComputingMask_=1,At.isRunningSetterMask_=2,At.isBeingObservedMask_=4,At.isPendingUnobservationMask_=8,At.diffValueMask_=16;var zt,jt,Vt,Ut,Ft=ue("ComputedValue",At);(jt=zt||(zt={}))[jt.NOT_TRACKING_=-1]="NOT_TRACKING_",jt[jt.UP_TO_DATE_=0]="UP_TO_DATE_",jt[jt.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",jt[jt.STALE_=2]="STALE_",(Ut=Vt||(Vt={}))[Ut.NONE=0]="NONE",Ut[Ut.LOG=1]="LOG",Ut[Ut.BREAK=2]="BREAK";var Bt=function(e){this.cause=void 0,this.cause=e};function Wt(e){return e instanceof Bt}function Ht(e){switch(e.dependenciesState_){case zt.UP_TO_DATE_:return!1;case zt.NOT_TRACKING_:case zt.STALE_:return!0;case zt.POSSIBLY_STALE_:for(var t=Xt(!0),n=Gt(),r=e.observing_,o=r.length,a=0;a<o;a++){var i=r[a];if(Ft(i)){if(rn.disableErrorBoundaries)i.get();else try{i.get()}catch(l){return Qt(n),Jt(t),!0}if(e.dependenciesState_===zt.STALE_)return Qt(n),Jt(t),!0}}return Zt(e),Qt(n),Jt(t),!1}}function $t(e){if("production"!==process.env.NODE_ENV){var t=e.observers_.size>0;rn.allowStateChanges||!t&&"always"!==rn.enforceActions||console.warn("[MobX] "+(rn.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function qt(e,t,n){var r=Xt(!0);Zt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++rn.runId;var o,a=rn.trackingDerivation;if(rn.trackingDerivation=e,rn.inBatch++,!0===rn.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(i){o=new Bt(i)}return rn.inBatch--,rn.trackingDerivation=a,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=zt.UP_TO_DATE_,o=0,a=e.unboundDepsCount_,i=0;i<a;i++){var l=n[i];0===l.diffValue&&(l.diffValue=1,o!==i&&(n[o]=l),o++),l.dependenciesState_>r&&(r=l.dependenciesState_)}n.length=o,e.newObserving_=null,a=t.length;for(;a--;){var s=t[a];0===s.diffValue&&an(s,e),s.diffValue=0}for(;o--;){var u=n[o];1===u.diffValue&&(u.diffValue=0,on(u,e))}r!==zt.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),function(e){if("production"===process.env.NODE_ENV)return;if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:rn.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),Jt(r),o}function Kt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)an(t[n],e);e.dependenciesState_=zt.NOT_TRACKING_}function Yt(e){var t=Gt();try{return e()}finally{Qt(t)}}function Gt(){var e=rn.trackingDerivation;return rn.trackingDerivation=null,e}function Qt(e){rn.trackingDerivation=e}function Xt(e){var t=rn.allowStateReads;return rn.allowStateReads=e,t}function Jt(e){rn.allowStateReads=e}function Zt(e){if(e.dependenciesState_!==zt.UP_TO_DATE_){e.dependenciesState_=zt.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=zt.UP_TO_DATE_}}var en=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},tn=!0,nn=!1,rn=function(){var e=B();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(tn=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new en).version&&(tn=!1),tn?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new en):(setTimeout(function(){nn||U(35)},1),new en)}();function on(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function an(e,t){e.observers_.delete(t),0===e.observers_.size&&ln(e)}function ln(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,rn.pendingUnobservations.push(e))}function sn(){rn.inBatch++}function un(){if(0===--rn.inBatch){gn();for(var e=rn.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof At&&n.suspend_())}rn.pendingUnobservations=[]}}function cn(e){!function(e){"production"!==process.env.NODE_ENV&&!rn.allowStateReads&&rn.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=rn.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&rn.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&rn.inBatch>0&&ln(e),!1)}function dn(e){e.lowestObserverState_!==zt.STALE_&&(e.lowestObserverState_=zt.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===zt.UP_TO_DATE_&&("production"!==process.env.NODE_ENV&&t.isTracing_!==Vt.NONE&&fn(t,e),t.onBecomeStale_()),t.dependenciesState_=zt.STALE_}))}function fn(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===Vt.BREAK){var n=[];pn(qn(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name_+"'\n\nYou are entering this break point because derivation '"+e.name_+"' is being traced and '"+t.name_+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof At?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function pn(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+"\t".repeat(n-1)+e.name),e.dependencies&&e.dependencies.forEach(function(e){return pn(e,t,n+1)}))}var hn=function(){function e(e,t,n,r){void 0===e&&(e="production"!==process.env.NODE_ENV?"Reaction@"+Z():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=zt.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Vt.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled||(this.isScheduled=!0,rn.pendingReactions.push(this),gn())},t.runReaction_=function(){if(!this.isDisposed){sn(),this.isScheduled=!1;var e=rn.trackingContext;if(rn.trackingContext=this,Ht(this)){this.isTrackPending=!0;try{this.onInvalidate_(),"production"!==process.env.NODE_ENV&&this.isTrackPending&&wn()&&_n({name:this.name_,type:"scheduled-reaction"})}catch(t){this.reportExceptionInDerivation_(t)}}rn.trackingContext=e,un()}},t.track=function(e){if(!this.isDisposed){sn();var t,n=wn();"production"!==process.env.NODE_ENV&&n&&(t=Date.now(),kn({name:this.name_,type:"reaction"})),this.isRunning=!0;var r=rn.trackingContext;rn.trackingContext=this;var o=qt(this,e,void 0);rn.trackingContext=r,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&Kt(this),Wt(o)&&this.reportExceptionInDerivation_(o.cause),"production"!==process.env.NODE_ENV&&n&&xn({time:Date.now()-t}),un()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(rn.disableErrorBoundaries)throw e;var n="production"!==process.env.NODE_ENV?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";rn.suppressReactionErrors?"production"!==process.env.NODE_ENV&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),"production"!==process.env.NODE_ENV&&wn()&&_n({type:"error",name:this.name_,message:n,error:""+e}),rn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(sn(),Kt(this),un()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[De]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){if("production"===process.env.NODE_ENV)return;for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"boolean"==typeof n[n.length-1]&&(e=n.pop());var o=function(e){switch(e.length){case 0:return rn.trackingDerivation;case 1:return eo(e[0]);case 2:return eo(e[0],e[1])}}(n);if(!o)return U("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===Vt.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled");o.isTracing_=e?Vt.BREAK:Vt.LOG}(this,e)},_e(e,[{key:"isDisposed",get:function(){return ye(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=be(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return ye(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=be(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return ye(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=be(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return ye(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=be(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return ye(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=be(this.flags_,e.diffValueMask_,1===t)}}])}();hn.isDisposedMask_=1,hn.isScheduledMask_=2,hn.isTrackPendingMask_=4,hn.isRunningMask_=8,hn.diffValueMask_=16;var mn=100,vn=function(e){return e()};function gn(){rn.inBatch>0||rn.isRunningReactions||vn(yn)}function yn(){rn.isRunningReactions=!0;for(var e=rn.pendingReactions,t=0;e.length>0;){++t===mn&&(console.error("production"!==process.env.NODE_ENV?"Reaction doesn't converge to a stable state after "+mn+" iterations. Probably there is a cycle in the reactive function: "+e[0]:"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}rn.isRunningReactions=!1}var bn=ue("Reaction",hn);function wn(){return"production"!==process.env.NODE_ENV&&!!rn.spyListeners.length}function _n(e){if("production"!==process.env.NODE_ENV&&rn.spyListeners.length)for(var t=rn.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function kn(e){"production"!==process.env.NODE_ENV&&_n(Se({},e,{spyReportStart:!0}))}var Sn={type:"report-end",spyReportEnd:!0};function xn(e){"production"!==process.env.NODE_ENV&&_n(e?Se({},e,{type:"report-end",spyReportEnd:!0}):Sn)}var En="action",Cn="autoAction",Tn="<unnamed action>",On=Fe(En),Nn=Fe("action.bound",{bound:!0}),Rn=Fe(Cn,{autoAction:!0}),Pn=Fe("autoAction.bound",{autoAction:!0,bound:!0});function Dn(e){return function(t,n){return ne(t)?Pt(t.name||Tn,t,e):ne(n)?Pt(t,n,e):Re(n)?(e?Rn:On).decorate_20223_(t,n):re(n)?Ne(t,n,e?Rn:On):re(t)?Oe(Fe(e?Cn:En,{name:t,autoAction:e})):void("production"!==process.env.NODE_ENV&&U("Invalid arguments for `action`"))}}var Mn=Dn(!1);Object.assign(Mn,On);var Ln=Dn(!0);function In(e){return Dt(e.name||Tn,!1,e,this,void 0)}function An(e){return ne(e)&&!0===e.isMobxAction}Object.assign(Ln,Rn),Mn.bound=Oe(Nn),Ln.bound=Oe(Pn);var zn=function(e){return e()};function jn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:zn}function Vn(e,t,n){var r,o,a;void 0===n&&(n=Y),"production"!==process.env.NODE_ENV&&(ne(e)&&ne(t)||U("First and second argument to reaction should be functions"),ae(n)||U("Third argument of reactions should be an object"));var i,l,s,u=null!=(r=n.name)?r:"production"!==process.env.NODE_ENV?"Reaction@"+Z():"Reaction",c=Mn(u,n.onError?(i=n.onError,l=t,function(){try{return l.apply(this,arguments)}catch(e){i.call(this,e)}}):t),d=!n.scheduler&&!n.delay,f=jn(n),p=!0,h=!1,m=n.compareStructural?Ae.structural:n.equals||Ae.default,v=new hn(u,function(){p||d?g():h||(h=!0,f(g))},n.onError,n.requiresObservable);function g(){if(h=!1,!v.isDisposed){var t=!1,r=s;v.track(function(){var n=function(e,t){var n=Mt(e);try{return t()}finally{Lt(n)}}(!1,function(){return e(v)});t=p||!m(s,n),s=n}),(p&&n.fireImmediately||!p&&t)&&c(s,r,v),p=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||v.schedule_(),v.getDisposer_(null==(a=n)?void 0:a.signal)}var Un="onBO",Fn="onBUO";function Bn(e,t,n){return Wn(Fn,e,t,n)}function Wn(e,t,n,r){var o=eo(t),a=ne(r)?r:n,i=e+"L";return o[i]?o[i].add(a):o[i]=new Set([a]),function(){var e=o[i];e&&(e.delete(a),0===e.size&&delete o[i])}}var Hn="always";function $n(e){!0===e.isolateGlobalState&&function(){if((rn.pendingReactions.length||rn.inBatch||rn.isRunningReactions)&&U(36),nn=!0,tn){var e=B();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),rn=new en}}();var t,n,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(rn.useProxies=r===Hn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(rn.verifyProxies=!0),void 0!==o){var a=o===Hn?Hn:"observed"===o;rn.enforceActions=a,rn.allowStateChanges=!0!==a&&a!==Hn}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(rn[t]=!!e[t])}),rn.allowStateReads=!rn.observableRequiresReaction,"production"!==process.env.NODE_ENV&&!0===rn.disableErrorBoundaries&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),e.reactionScheduler&&(t=e.reactionScheduler,n=vn,vn=function(e){return t(function(){return n(e)})})}function qn(e,t){return Kn(eo(e,t))}function Kn(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Kn)),n}var Yn=0;function Gn(){this.message="FLOW_CANCELLED"}Gn.prototype=Object.create(Error.prototype);var Qn=qe("flow"),Xn=qe("flow.bound",{bound:!0}),Jn=Object.assign(function(e,t){if(Re(t))return Qn.decorate_20223_(e,t);if(re(t))return Ne(e,t,Qn);"production"!==process.env.NODE_ENV&&1!==arguments.length&&U("Flow expects single argument with generator function");var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Yn,a=Mn(r+" - runid: "+o+" - init",n).apply(this,t),i=void 0,l=new Promise(function(t,n){var l=0;function s(e){var t;i=void 0;try{t=Mn(r+" - runid: "+o+" - yield "+l++,a.next).call(a,e)}catch(s){return n(s)}c(t)}function u(e){var t;i=void 0;try{t=Mn(r+" - runid: "+o+" - yield "+l++,a.throw).call(a,e)}catch(s){return n(s)}c(t)}function c(e){if(!ne(null==e?void 0:e.then))return e.done?t(e.value):(i=Promise.resolve(e.value)).then(s,u);e.then(c,n)}e=n,s(void 0)});return l.cancel=Mn(r+" - runid: "+o+" - cancel",function(){try{i&&Zn(i);var t=a.return(void 0),n=Promise.resolve(t.value);n.then(te,te),Zn(n),e(new Gn)}catch(r){e(r)}}),l};return o.isMobXFlow=!0,o},Qn);function Zn(e){ne(e.cancel)&&e.cancel()}function er(e){return!0===(null==e?void 0:e.isMobXFlow)}function tr(e){return"production"!==process.env.NODE_ENV&&1!==arguments.length&&U("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e){return!!e&&(Ur(e)||!!e[De]||Le(e)||bn(e)||Ft(e))}(e)}function nr(e,t){void 0===t&&(t=void 0),sn();try{return e.apply(t)}finally{un()}}function rr(e){return e[De]}Jn.bound=Oe(Xn);var or={has:function(e,t){return"production"!==process.env.NODE_ENV&&rn.trackingDerivation&&J("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),rr(e).has_(t)},get:function(e,t){return rr(e).get_(t)},set:function(e,t,n){var r;return!!re(t)&&("production"===process.env.NODE_ENV||rr(e).values_.has(t)||J("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(r=rr(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return"production"!==process.env.NODE_ENV&&J("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!re(t)&&(null==(n=rr(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return"production"!==process.env.NODE_ENV&&J("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(r=rr(e).defineProperty_(t,n))||r},ownKeys:function(e){return"production"!==process.env.NODE_ENV&&rn.trackingDerivation&&J("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),rr(e).ownKeys_()},preventExtensions:function(e){U(13)}};function ar(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function ir(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),ee(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function lr(e,t){var n=Gt();try{for(var r=[].concat(e.interceptors_||[]),o=0,a=r.length;o<a&&((t=r[o](t))&&!t.type&&U(14),t);o++);return t}finally{Qt(n)}}function sr(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function ur(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),ee(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function cr(e,t){var n=Gt(),r=e.changeListeners_;if(r){for(var o=0,a=(r=r.slice()).length;o<a;o++)r[o](t);Qt(n)}}function dr(e,t,n){return ro(function(){var r=zr(e,n)[De];"production"!==process.env.NODE_ENV&&t&&e[Te]&&U("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),null!=t||(t=function(e){return ve(e,Te)||le(e,Te,Se({},e[Te])),e[Te]}(e)),pe(t).forEach(function(e){return r.make_(e,t[e])})}),e}var fr="splice",pr="update",hr={get:function(e,t){var n=e[De];return t===De?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?ve(gr,t)?gr[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[De];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){U(15)}},mr=function(){function e(e,t,n,r){void 0===e&&(e="production"!==process.env.NODE_ENV?"ObservableArray@"+Z():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new Me(e),this.enhancer_=function(n,r){return t(n,r,"production"!==process.env.NODE_ENV?e+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return ir(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),ur(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&U("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r<e-t;r++)n[r]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&U(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Jr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;$t(this.atom_);var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=K),ar(this)){var a=lr(this,{object:this.proxy_,type:fr,index:e,removedCount:t,added:n});if(!a)return K;t=a.removedCount,n=a.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_||"production"!==process.env.NODE_ENV){var i=n.length-t;this.updateArrayLength_(o,i)}var l=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,l),this.dehanceValues_(l)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),a=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var i=0;i<n.length;i++)this.values_[e+i]=n[i];for(var l=0;l<a.length;l++)this.values_[e+n.length+l]=a[l];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&wn(),o=sr(this),a=o||r?{observableKind:"array",object:this.proxy_,type:pr,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;"production"!==process.env.NODE_ENV&&r&&kn(a),this.atom_.reportChanged(),o&&cr(this,a),"production"!==process.env.NODE_ENV&&r&&xn()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&wn(),o=sr(this),a=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:fr,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;"production"!==process.env.NODE_ENV&&r&&kn(a),this.atom_.reportChanged(),o&&cr(this,a),"production"!==process.env.NODE_ENV&&r&&xn()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("production"!==process.env.NODE_ENV?"[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&U(17,e,n.length),e<n.length){$t(this.atom_);var r=n[e];if(ar(this)){var o=lr(this,{type:pr,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var a=new Array(e+1-n.length),i=0;i<a.length-1;i++)a[i]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function vr(e,t,n,r){return void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableArray@"+Z():"ObservableArray"),void 0===r&&(r=!1),X(),ro(function(){var o=new mr(n,t,r,!1);se(o.values_,De,o);var a=new Proxy(o.values_,hr);return o.proxy_=a,e&&e.length&&o.spliceWithArray_(0,0,e),a})}var gr={clear:function(){return this.splice(0)},replace:function(e){var t=this[De];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=this[De];switch(arguments.length){case 0:return[];case 1:return a.spliceWithArray_(e);case 2:return a.spliceWithArray_(e,t)}return a.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[De].spliceWithArray_(e,t,n)},push:function(){for(var e=this[De],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[De].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[De],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return rn.trackingDerivation&&U(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){rn.trackingDerivation&&U(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[De],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function yr(e,t){"function"==typeof Array.prototype[e]&&(gr[e]=t(e))}function br(e){return function(){var t=this[De];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function wr(e){return function(t,n){var r=this,o=this[De];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e](function(e,o){return t.call(n,e,o,r)})}}function _r(e){return function(){var t=this,n=this[De];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,r){return o(e,n,r,t)},r[e].apply(r,arguments)}}yr("at",br),yr("concat",br),yr("flat",br),yr("includes",br),yr("indexOf",br),yr("join",br),yr("lastIndexOf",br),yr("slice",br),yr("toString",br),yr("toLocaleString",br),yr("toSorted",br),yr("toSpliced",br),yr("with",br),yr("every",wr),yr("filter",wr),yr("find",wr),yr("findIndex",wr),yr("findLast",wr),yr("findLastIndex",wr),yr("flatMap",wr),yr("forEach",wr),yr("map",wr),yr("some",wr),yr("toReversed",wr),yr("reduce",_r),yr("reduceRight",_r);var kr=ue("ObservableArrayAdministration",mr);function Sr(e){return oe(e)&&kr(e[De])}var xr={},Er="add",Cr="delete",Tr=function(){function e(e,t,n){var r=this;void 0===t&&(t=ze),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableMap@"+Z():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[De]=xr,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,ne(Map)||U(18),ro(function(){r.keysAtom_=Ie("production"!==process.env.NODE_ENV?r.name_+".keys()":"ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!rn.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new It(this.has_(e),je,"production"!==process.env.NODE_ENV?this.name_+"."+he(e)+"?":"ObservableMap.key?",!1);this.hasMap_.set(e,r),Bn(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(ar(this)){var r=lr(this,{type:n?pr:Er,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(($t(this.keysAtom_),ar(this))&&!lr(this,{type:Cr,object:this,name:e}))return!1;if(this.has_(e)){var n=wn(),r=sr(this),o=r||n?{observableKind:"map",debugObjectName:this.name_,type:Cr,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return"production"!==process.env.NODE_ENV&&n&&kn(o),nr(function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)}),r&&cr(this,o),"production"!==process.env.NODE_ENV&&n&&xn(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==rn.UNCHANGED){var r=wn(),o=sr(this),a=o||r?{observableKind:"map",debugObjectName:this.name_,type:pr,object:this,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&kn(a),n.setNewValue_(t),o&&cr(this,a),"production"!==process.env.NODE_ENV&&r&&xn()}},t.addValue_=function(e,t){var n=this;$t(this.keysAtom_),nr(function(){var r,o=new It(t,n.enhancer_,"production"!==process.env.NODE_ENV?n.name_+"."+he(e):"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=wn(),o=sr(this),a=o||r?{observableKind:"map",debugObjectName:this.name_,type:Er,object:this,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&kn(a),o&&cr(this,a),"production"!==process.env.NODE_ENV&&r&&xn()},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Nr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return Nr({next:function(){var n=t.next(),r=n.done,o=n.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=ke(this);!(n=r()).done;){var o=n.value,a=o[0],i=o[1];e.call(t,i,a,this)}},t.merge=function(e){var t=this;return Or(e)&&(e=new Map(e)),nr(function(){var n,r,o;ae(e)?function(e){var t=Object.keys(e);if(!fe)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return q.propertyIsEnumerable.call(e,t)})):t}(e).forEach(function(n){return t.set(n,e[n])}):Array.isArray(e)?e.forEach(function(e){var n=e[0],r=e[1];return t.set(n,r)}):ce(e)?(n=e,r=Object.getPrototypeOf(n),o=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(o)&&U(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&U(20,e)}),this},t.clear=function(){var e=this;nr(function(){Yt(function(){for(var t,n=ke(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return nr(function(){for(var n,r=function(e){if(ce(e)||Or(e))return e;if(Array.isArray(e))return new Map(e);if(ae(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return U(21,e)}(e),o=new Map,a=!1,i=ke(t.data_.keys());!(n=i()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))a=!0;else{var s=t.data_.get(l);o.set(l,s)}}for(var u,c=ke(r.entries());!(u=c()).done;){var d=u.value,f=d[0],p=d[1],h=t.data_.has(f);if(t.set(f,p),t.data_.has(f)){var m=t.data_.get(f);o.set(f,m),h||(a=!0)}}if(!a)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),g=o.keys(),y=v.next(),b=g.next();!y.done;){if(y.value!==b.value){t.keysAtom_.reportChanged();break}y=v.next(),b=g.next()}t.data_=o}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&U("`observe` doesn't support fireImmediately=true in combination with maps."),ur(this,e)},t.intercept_=function(e){return ir(this,e)},_e(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Or=ue("ObservableMap",Tr);function Nr(e){return e[Symbol.toStringTag]="MapIterator",co(e)}var Rr={},Pr=function(){function e(e,t,n){var r=this;void 0===t&&(t=ze),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableSet@"+Z():"ObservableSet"),this.name_=void 0,this[De]=Rr,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,ne(Set)||U(22),this.enhancer_=function(e,r){return t(e,r,n)},ro(function(){r.atom_=Ie(r.name_),e&&r.replace(e)})}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;nr(function(){Yt(function(){for(var t,n=ke(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=ke(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if($t(this.atom_),ar(this)){var n=lr(this,{type:Er,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){nr(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r="production"!==process.env.NODE_ENV&&wn(),o=sr(this),a=o||r?{observableKind:"set",debugObjectName:this.name_,type:Er,object:this,newValue:e}:null;r&&"production"!==process.env.NODE_ENV&&kn(a),o&&cr(this,a),r&&"production"!==process.env.NODE_ENV&&xn()}return this},t.delete=function(e){var t=this;if(ar(this)&&!lr(this,{type:Cr,object:this,oldValue:e}))return!1;if(this.has(e)){var n="production"!==process.env.NODE_ENV&&wn(),r=sr(this),o=r||n?{observableKind:"set",debugObjectName:this.name_,type:Cr,object:this,oldValue:e}:null;return n&&"production"!==process.env.NODE_ENV&&kn(o),nr(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&cr(this,o),n&&"production"!==process.env.NODE_ENV&&xn(),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=this.values();return Mr({next:function(){var t=e.next(),n=t.value,r=t.done;return r?{value:void 0,done:r}:{value:[n,n],done:r}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=this.data_.values();return Mr({next:function(){var n=t.next(),r=n.value,o=n.done;return o?{value:void 0,done:o}:{value:e.dehanceValue_(r),done:o}}})},t.intersection=function(e){return de(e)&&!Dr(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return de(e)&&!Dr(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return de(e)&&!Dr(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return de(e)&&!Dr(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Dr(e)&&(e=new Set(e)),nr(function(){Array.isArray(e)||de(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&U("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&U("`observe` doesn't support fireImmediately=true in combination with sets."),ur(this,e)},t.intercept_=function(e){return ir(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},_e(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Dr=ue("ObservableSet",Pr);function Mr(e){return e[Symbol.toStringTag]="SetIterator",co(e)}var Lr=Object.create(null),Ir="remove",Ar=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=it),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=r,this.keysAtom_=new Me("production"!==process.env.NODE_ENV?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=ae(this.target_),"production"===process.env.NODE_ENV||po(this.defaultAnnotation_)||U("defaultAnnotation must be valid annotation"),"production"!==process.env.NODE_ENV&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof At)return n.set(t),!0;if(ar(this)){var r=lr(this,{type:pr,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==rn.UNCHANGED){var o=sr(this),a="production"!==process.env.NODE_ENV&&wn(),i=o||a?{type:pr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&kn(i),n.setNewValue_(t),o&&cr(this,i),"production"!==process.env.NODE_ENV&&a&&xn()}return!0},t.get_=function(e){return rn.trackingDerivation&&!ve(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),ve(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!rn.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new It(e in this.target_,je,"production"!==process.env.NODE_ENV?this.name_+"."+he(e)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(Br(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[Te])&&n[e])return;U(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==q;){var o=H(r,e);if(o){var a=t.make_(this,e,o,r);if(0===a)return;if(1===a)break}r=Object.getPrototypeOf(r)}Fr(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);Br(this,n,e);var o=n.extend_(this,e,t,r);return o&&Fr(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),$t(this.keysAtom_);try{sn();var r=this.delete_(e);if(!r)return r;if(ar(this)){var o=lr(this,{object:this.proxy_||this.target_,name:e,type:Er,newValue:t.value});if(!o)return null;var a=o.newValue;t.value!==a&&(t=Se({},t,{value:a}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else $(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{un()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),$t(this.keysAtom_);try{sn();var o=this.delete_(e);if(!o)return o;if(ar(this)){var a=lr(this,{object:this.proxy_||this.target_,name:e,type:Er,newValue:t});if(!a)return null;t=a.newValue}var i=Vr(e),l={configurable:!rn.safeDescriptors||this.isPlainObject_,enumerable:!0,get:i.get,set:i.set};if(r){if(!Reflect.defineProperty(this.target_,e,l))return!1}else $(this.target_,e,l);var s=new It(t,n,"production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key",!1);this.values_.set(e,s),this.notifyPropertyAddition_(e,s.value_)}finally{un()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),$t(this.keysAtom_);try{sn();var r=this.delete_(e);if(!r)return r;if(ar(this))if(!lr(this,{object:this.proxy_||this.target_,name:e,type:Er,newValue:void 0}))return null;t.name||(t.name="production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Vr(e),a={configurable:!rn.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,a))return!1}else $(this.target_,e,a);this.values_.set(e,new At(t)),this.notifyPropertyAddition_(e,void 0)}finally{un()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),$t(this.keysAtom_),!ve(this.target_,e))return!0;if(ar(this)&&!lr(this,{object:this.proxy_||this.target_,name:e,type:Ir}))return null;try{var n;sn();var r,o=sr(this),a="production"!==process.env.NODE_ENV&&wn(),i=this.values_.get(e),l=void 0;if(!i&&(o||a))l=null==(r=H(this.target_,e))?void 0:r.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if("production"!==process.env.NODE_ENV&&delete this.appliedAnnotations_[e],i&&(this.values_.delete(e),i instanceof It&&(l=i.value_),dn(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||a){var s={type:Ir,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:l,name:e};"production"!==process.env.NODE_ENV&&a&&kn(s),o&&cr(this,s),"production"!==process.env.NODE_ENV&&a&&xn()}}finally{un()}return!0},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&U("`observe` doesn't support the fire immediately property for observable objects."),ur(this,e)},t.intercept_=function(e){return ir(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=sr(this),o="production"!==process.env.NODE_ENV&&wn();if(r||o){var a=r||o?{type:Er,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&kn(a),r&&cr(this,a),"production"!==process.env.NODE_ENV&&o&&xn()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),pe(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function zr(e,t){var n;if("production"!==process.env.NODE_ENV&&t&&Ur(e)&&U("Options can't be provided for already observable objects."),ve(e,De))return"production"===process.env.NODE_ENV||to(e)instanceof Ar||U("Cannot convert '"+no(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;"production"===process.env.NODE_ENV||Object.isExtensible(e)||U("Cannot make the designated object observable; it is not extensible");var r=null!=(n=null==t?void 0:t.name)?n:"production"!==process.env.NODE_ENV?(ae(e)?"ObservableObject":e.constructor.name)+"@"+Z():"ObservableObject",o=new Ar(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:lt(e):void 0}(t));return le(e,De,o),e}var jr=ue("ObservableObjectAdministration",Ar);function Vr(e){return Lr[e]||(Lr[e]={get:function(){return this[De].getObservablePropValue_(e)},set:function(t){return this[De].setObservablePropValue_(e,t)}})}function Ur(e){return!!oe(e)&&jr(e[De])}function Fr(e,t,n){var r;"production"!==process.env.NODE_ENV&&(e.appliedAnnotations_[n]=t),null==(r=e.target_[Te])||delete r[n]}function Br(e,t,n){if("production"===process.env.NODE_ENV||po(t)||U("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),"production"!==process.env.NODE_ENV&&!Ue(t)&&ve(e.appliedAnnotations_,n)){var r=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;U("Cannot apply '"+t.annotationType_+"' to '"+r+"':\nThe field is already annotated with '"+o+"'.\nRe-annotating fields is not allowed.\nUse 'override' annotation for methods overridden by subclass.")}}var Wr,Hr,$r=Qr(0),qr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Kr=0,Yr=function(){};Wr=Yr,Hr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Wr.prototype,Hr):void 0!==Wr.prototype.__proto__?Wr.prototype.__proto__=Hr:Wr.prototype=Hr;var Gr=function(e){function t(t,n,r,o){var a;return void 0===r&&(r="production"!==process.env.NODE_ENV?"ObservableArray@"+Z():"ObservableArray"),void 0===o&&(o=!1),a=e.call(this)||this,ro(function(){var e=new mr(r,n,o,!0);e.proxy_=a,se(a,De,e),t&&t.length&&a.spliceWithArray(0,0,t),qr&&Object.defineProperty(a,"0",$r)}),a}xe(t,e);var n=t.prototype;return n.concat=function(){this[De].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return Sr(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return co({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},_e(t,[{key:"length",get:function(){return this[De].getArrayLength_()},set:function(e){this[De].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Yr);function Qr(e){return{enumerable:!1,configurable:!0,get:function(){return this[De].get_(e)},set:function(t){this[De].set_(e,t)}}}function Xr(e){$(Gr.prototype,""+e,Qr(e))}function Jr(e){if(e>Kr){for(var t=Kr;t<e+100;t++)Xr(t);Kr=e}}function Zr(e,t,n){return new Gr(e,t,n)}function eo(e,t){if("object"==typeof e&&null!==e){if(Sr(e))return void 0!==t&&U(23),e[De].atom_;if(Dr(e))return e.atom_;if(Or(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||U(25,t,no(e)),n}if(Ur(e)){if(!t)return U(26);var r=e[De].values_.get(t);return r||U(27,t,no(e)),r}if(Le(e)||Ft(e)||bn(e))return e}else if(ne(e)&&bn(e[De]))return e[De];U(28)}function to(e,t){return e||U(29),Le(e)||Ft(e)||bn(e)||Or(e)||Dr(e)?e:e[De]?e[De]:void U(24,e)}function no(e,t){var n;if(void 0!==t)n=eo(e,t);else{if(An(e))return e.name;n=Ur(e)||Or(e)||Dr(e)?to(e):eo(e)}return n.name_}function ro(e){var t=Gt(),n=Mt(!0);sn();try{return e()}finally{un(),Lt(n),Qt(t)}}Object.entries(gr).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&le(Gr.prototype,t,n)}),Jr(1e3);var oo,ao=q.toString;function io(e,t,n){return void 0===n&&(n=-1),lo(e,t,n)}function lo(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var a=typeof e;if("function"!==a&&"object"!==a&&"object"!=typeof t)return!1;var i=ao.call(e);if(i!==ao.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0===+e?1/+e==1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=so(e),t=so(t);var l="[object Array]"===i;if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,u=t.constructor;if(s!==u&&!(ne(s)&&s instanceof s&&ne(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return o[c]===t;if(r.push(e),o.push(t),l){if((c=e.length)!==t.length)return!1;for(;c--;)if(!lo(e[c],t[c],n-1,r,o))return!1}else{var d=Object.keys(e),f=d.length;if(Object.keys(t).length!==f)return!1;for(var p=0;p<f;p++){var h=d[p];if(!ve(t,h)||!lo(e[h],t[h],n-1,r,o))return!1}}return r.pop(),o.pop(),!0}function so(e){return Sr(e)?e.slice():ce(e)||Or(e)||de(e)||Dr(e)?Array.from(e.entries()):e}var uo=(null==(oo=B().Iterator)?void 0:oo.prototype)||{};function co(e){return e[Symbol.iterator]=fo,Object.assign(Object.create(uo),e)}function fo(){return this}function po(e){return e instanceof Object&&"string"==typeof e.annotationType_&&ne(e.make_)&&ne(e.extend_)}if(["Symbol","Map","Set"].forEach(function(e){void 0===B()[e]&&U("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return"production"===process.env.NODE_ENV?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(rn.spyListeners.push(e),ee(function(){rn.spyListeners=rn.spyListeners.filter(function(t){return t!==e})}))},extras:{getDebugName:no},$mobx:De}),!N.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!dr)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var ho,mo={exports:{}},vo={},go={exports:{}},yo={};var bo,wo,_o,ko={};function So(){return bo||(bo=1,e=ko,"production"!==process.env.NODE_ENV&&function(){function t(e,t){var n=e.length;e.push(t),function(e,t,n){for(var r=n;r>0;){var a=r-1>>>1,i=e[a];if(!(o(i,t)>0))return;e[a]=t,e[r]=i,r=a}}(e,t,n)}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){for(var r=n,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(o(s,t)<0)u<a&&o(c,s)<0?(e[r]=c,e[u]=t,r=u):(e[r]=s,e[l]=t,r=l);else{if(!(u<a&&o(c,t)<0))return;e[r]=c,e[u]=t,r=u}}}(e,n,0)),t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error),"object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))return;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function w(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,D(_);else{var t=n(u);null!==t&&M(w,t.startTime-e)}}function _(t,o){h=!1,m&&(m=!1,L()),p=!0;var a=f;try{return function(t,o){var a=o;for(b(a),d=n(s);null!==d&&(!(d.expirationTime>a)||t&&!T());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=a);a=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(a)}else r(s);d=n(s)}if(null!==d)return!0;var c=n(u);return null!==c&&M(w,c.startTime-a),!1}(t,o)}finally{d=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k=!1,S=null,x=-1,E=5,C=-1;function T(){return!(e.unstable_now()-C<E)}var O,N=function(){if(null!==S){var t=e.unstable_now();C=t;var n=!0;try{n=S(!0,t)}finally{n?O():(k=!1,S=null)}}else k=!1};if("function"==typeof y)O=function(){y(N)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,P=R.port2;R.port1.onmessage=N,O=function(){P.postMessage(null)}}else O=function(){v(N,0)};function D(e){S=e,k||(k=!0,O())}function M(t,n){x=v(function(){t(e.unstable_now())},n)}function L(){g(x),x=-1}var I=function(){};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,D(_))},e.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=e>0?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){var t;switch(f){case 1:case 2:case 3:t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=I,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i,l,d=e.unstable_now();if("object"==typeof a&&null!==a){var f=a.delay;i="number"==typeof f&&f>0?d+f:d}else i=d;switch(r){case 1:l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}var v=i+l,g={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:v,sortIndex:-1};return i>d?(g.sortIndex=i,t(u,g),null===n(s)&&g===n(u)&&(m?L():m=!0,M(w,i-d))):(g.sortIndex=v,t(s,g),h||p||(h=!0,D(_))),g},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ko;var e}function xo(){return wo||(wo=1,"production"===process.env.NODE_ENV?go.exports=(ho||(ho=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(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,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(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;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function w(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,D(_);else{var t=n(u);null!==t&&M(w,t.startTime-e)}}function _(t,o){h=!1,m&&(m=!1,g(E),E=-1),p=!0;var a=f;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!O());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&M(w,v.startTime-o),c=!1}return c}finally{d=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,x=null,E=-1,C=5,T=-1;function O(){return!(e.unstable_now()-T<C)}function N(){if(null!==x){var t=e.unstable_now();T=t;var n=!0;try{n=x(!0,t)}finally{n?k():(S=!1,x=null)}}else S=!1}if("function"==typeof y)k=function(){y(N)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,P=R.port2;R.port1.onmessage=N,k=function(){P.postMessage(null)}}else k=function(){v(N,0)};function D(e){x=e,S||(S=!0,k())}function M(t,n){E=v(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,D(_))},e.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"):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){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 r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(u,r),null===n(s)&&r===n(u)&&(m?(g(E),E=-1):m=!0,M(w,a-i))):(r.sortIndex=l,t(s,r),h||p||(h=!0,D(_))),r},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(yo)),yo):go.exports=So()),go.exports}function Eo(){if(_o)return vo;_o=1;var e=O(),t=xo();function n(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 r=new Set,o={};function a(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=Object.prototype.hasOwnProperty,u=/^[: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]*$/,c={},d={};function f(e,t,n,r,o,a,i){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=a,this.removeEmptyString=i}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){p[e]=new f(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];p[t]=new f(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){p[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){p[e]=new f(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){p[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){p[e]=new f(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){p[e]=new f(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){p[e]=new f(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){p[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function v(e,t,n,r){var o=p.hasOwnProperty(t)?p[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!!s.call(d,e)||!s.call(c,e)&&(u.test(e)?d[e]=!0:(c[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(h,m);p[t]=new f(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(h,m);p[t]=new f(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(h,m);p[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)}),p.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)});var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),x=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),D=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=D&&e[D]||e["@@iterator"])?e:null}var L,I=Object.assign;function A(e){if(void 0===L)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var z=!1;function j(e,t){if(!e||z)return"";z=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"==typeof u.stack){for(var o=u.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?A(e):""}function V(e){switch(e.tag){case 5:return A(e.type);case 16:return A("Lazy");case 13:return A("Suspense");case 19:return A("SuspenseList");case 0:case 2:case 15:return e=j(e.type,!1);case 11:return e=j(e.type.render,!1);case 1:return e=j(e.type,!0);default:return""}}function U(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 w:return"Fragment";case b:return"Portal";case k:return"Profiler";case _:return"StrictMode";case C:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case x:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case E:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function F(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function B(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function H(e){e._valueTracker||(e._valueTracker=function(e){var t=W(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function q(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 K(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=B(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 G(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function Q(e,t){G(e,t);var n=B(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")?J(e,t.type,n):t.hasOwnProperty("defaultValue")&&J(e,t.type,B(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function X(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 J(e,t,n){"number"===t&&q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Z=Array.isArray;function ee(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=""+B(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 te(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ne(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(Z(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:B(r)}}function re(e,t){var n=B(t.value),r=B(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 oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ae(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 ie(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ae(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var le,se,ue=(se=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((le=le||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=le.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 se(e,t)})}:se);function ce(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 de={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"];function pe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||de.hasOwnProperty(e)&&de[e]?(""+t).trim():t+"px"}function he(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=pe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(de).forEach(function(e){fe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),de[t]=de[e]})});var me=I({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 ve(e,t){if(t){if(me[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ge(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}}var ye=null;function be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,_e=null,ke=null;function Se(e){if(e=bo(e)){if("function"!=typeof we)throw Error(n(280));var t=e.stateNode;t&&(t=ko(t),we(e.stateNode,e.type,t))}}function xe(e){_e?ke?ke.push(e):ke=[e]:_e=e}function Ee(){if(_e){var e=_e,t=ke;if(ke=_e=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Ce(e,t){return e(t)}function Te(){}var Oe=!1;function Ne(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Ce(e,t,n)}finally{Oe=!1,(null!==_e||null!==ke)&&(Te(),Ee())}}function Re(e,t){var r=e.stateNode;if(null===r)return null;var o=ko(r);if(null===o)return null;r=o[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":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Pe=!1;if(l)try{var De={};Object.defineProperty(De,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(se){Pe=!1}function Me(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Le=!1,Ie=null,Ae=!1,ze=null,je={onError:function(e){Le=!0,Ie=e}};function Ve(e,t,n,r,o,a,i,l,s){Le=!1,Ie=null,Me.apply(je,arguments)}function Ue(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Fe(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 Be(e){if(Ue(e)!==e)throw Error(n(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(o=a.return)){r=o;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return Be(a),e;if(i===o)return Be(a),t;i=i.sibling}throw Error(n(188))}if(r.return!==o.return)r=a,o=i;else{for(var l=!1,s=a.child;s;){if(s===r){l=!0,r=a,o=i;break}if(s===o){l=!0,o=a,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,o=a;break}if(s===o){l=!0,o=i,r=a;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e))?He(e):null}function He(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=He(e);if(null!==t)return t;e=e.sibling}return null}var $e=t.unstable_scheduleCallback,qe=t.unstable_cancelCallback,Ke=t.unstable_shouldYield,Ye=t.unstable_requestPaint,Ge=t.unstable_now,Qe=t.unstable_getCurrentPriorityLevel,Xe=t.unstable_ImmediatePriority,Je=t.unstable_UserBlockingPriority,Ze=t.unstable_NormalPriority,et=t.unstable_LowPriority,tt=t.unstable_IdlePriority,nt=null,rt=null;var ot=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(at(e)/it|0)|0},at=Math.log,it=Math.LN2;var lt=64,st=4194304;function ut(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ct(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=ut(l):0!==(a&=i)&&(r=ut(a))}else 0!==(i=n&~o)?r=ut(i):0!==a&&(r=ut(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&4194240&a))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-ot(t)),r|=e[n],t&=~o;return r}function dt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ft(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function pt(){var e=lt;return!(4194240&(lt<<=1))&&(lt=64),e}function ht(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function mt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var gt=0;function yt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var bt,wt,_t,kt,St,xt=!1,Et=[],Ct=null,Tt=null,Ot=null,Nt=new Map,Rt=new Map,Pt=[],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 Mt(e,t){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Lt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=bo(t))&&wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function It(e){var t=yo(e.target);if(null!==t){var n=Ue(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Fe(n)))return e.blockedOn=t,void St(e.priority,function(){_t(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function At(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bo(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ye=r,n.target.dispatchEvent(r),ye=null,t.shift()}return!0}function zt(e,t,n){At(e)&&n.delete(t)}function jt(){xt=!1,null!==Ct&&At(Ct)&&(Ct=null),null!==Tt&&At(Tt)&&(Tt=null),null!==Ot&&At(Ot)&&(Ot=null),Nt.forEach(zt),Rt.forEach(zt)}function Vt(e,n){e.blockedOn===n&&(e.blockedOn=null,xt||(xt=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,jt)))}function Ut(e){function t(t){return Vt(t,e)}if(0<Et.length){Vt(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ct&&Vt(Ct,e),null!==Tt&&Vt(Tt,e),null!==Ot&&Vt(Ot,e),Nt.forEach(t),Rt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)It(n),null===n.blockedOn&&Pt.shift()}var Ft=g.ReactCurrentBatchConfig,Bt=!0;function Wt(e,t,n,r){var o=gt,a=Ft.transition;Ft.transition=null;try{gt=1,$t(e,t,n,r)}finally{gt=o,Ft.transition=a}}function Ht(e,t,n,r){var o=gt,a=Ft.transition;Ft.transition=null;try{gt=4,$t(e,t,n,r)}finally{gt=o,Ft.transition=a}}function $t(e,t,n,r){if(Bt){var o=Kt(e,t,n,r);if(null===o)Br(e,t,r,qt,n),Mt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Ct=Lt(Ct,e,t,n,r,o),!0;case"dragenter":return Tt=Lt(Tt,e,t,n,r,o),!0;case"mouseover":return Ot=Lt(Ot,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Nt.set(a,Lt(Nt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Rt.set(a,Lt(Rt.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Dt.indexOf(e)){for(;null!==o;){var a=bo(o);if(null!==a&&bt(a),null===(a=Kt(e,t,n,r))&&Br(e,t,r,qt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Br(e,t,r,null,n)}}var qt=null;function Kt(e,t,n,r){if(qt=null,null!==(e=yo(e=be(r))))if(null===(t=Ue(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Fe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return qt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qe()){case Xe:return 1;case Je:return 4;case Ze:case et:return 16;case tt:return 536870912;default:return 16}default:return 16}}var Gt=null,Qt=null,Xt=null;function Jt(){if(Xt)return Xt;var e,t,n=Qt,r=n.length,o="value"in Gt?Gt.value:Gt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Xt=o.slice(e,1<t?1-t:void 0)}function Zt(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 en(){return!0}function tn(){return!1}function nn(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?en:tn,this.isPropagationStopped=tn,this}return I(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=en)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=en)},persist:function(){},isPersistent:en}),t}var rn,on,an,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sn=nn(ln),un=I({},ln,{view:0,detail:0}),cn=nn(un),dn=I({},un,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,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!==an&&(an&&"mousemove"===e.type?(rn=e.screenX-an.screenX,on=e.screenY-an.screenY):on=rn=0,an=e),rn)},movementY:function(e){return"movementY"in e?e.movementY:on}}),fn=nn(dn),pn=nn(I({},dn,{dataTransfer:0})),hn=nn(I({},un,{relatedTarget:0})),mn=nn(I({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=I({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gn=nn(vn),yn=nn(I({},ln,{data:0})),bn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={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"},_n={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function Sn(){return kn}var xn=I({},un,{key:function(e){if(e.key){var t=bn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Zt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?Zt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Zt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),En=nn(xn),Cn=nn(I({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=nn(I({},un,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),On=nn(I({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),Nn=I({},dn,{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}),Rn=nn(Nn),Pn=[9,13,27,32],Dn=l&&"CompositionEvent"in window,Mn=null;l&&"documentMode"in document&&(Mn=document.documentMode);var Ln=l&&"TextEvent"in window&&!Mn,In=l&&(!Dn||Mn&&8<Mn&&11>=Mn),An=String.fromCharCode(32),zn=!1;function jn(e,t){switch(e){case"keyup":return-1!==Pn.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 Un=!1;var Fn={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 Bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fn[e.type]:"textarea"===t}function Wn(e,t,n,r){xe(r),0<(t=Hr(t,"onChange")).length&&(n=new sn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hn=null,$n=null;function qn(e){Ar(e,0)}function Kn(e){if($(wo(e)))return e}function Yn(e,t){if("change"===e)return t}var Gn=!1;if(l){var Qn;if(l){var Xn="oninput"in document;if(!Xn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Xn="function"==typeof Jn.oninput}Qn=Xn}else Qn=!1;Gn=Qn&&(!document.documentMode||9<document.documentMode)}function Zn(){Hn&&(Hn.detachEvent("onpropertychange",er),$n=Hn=null)}function er(e){if("value"===e.propertyName&&Kn($n)){var t=[];Wn(t,$n,e,be(e)),Ne(qn,t)}}function tr(e,t,n){"focusin"===e?(Zn(),$n=n,(Hn=t).attachEvent("onpropertychange",er)):"focusout"===e&&Zn()}function nr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn($n)}function rr(e,t){if("click"===e)return Kn(t)}function or(e,t){if("input"===e||"change"===e)return Kn(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ir(e,t){if(ar(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++){var o=n[r];if(!s.call(t,o)||!ar(e[o],t[o]))return!1}return!0}function lr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sr(e,t){var n,r=lr(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=lr(r)}}function ur(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ur(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function cr(){for(var e=window,t=q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=q((e=t.contentWindow).document)}return t}function dr(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)}function fr(e){var t=cr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ur(n.ownerDocument.documentElement,n)){if(null!==r&&dr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=sr(n,a);var i=sr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var pr=l&&"documentMode"in document&&11>=document.documentMode,hr=null,mr=null,vr=null,gr=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;gr||null==hr||hr!==q(r)||("selectionStart"in(r=hr)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ir(vr,r)||(vr=r,0<(r=Hr(mr,"onSelect")).length&&(t=new sn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}function br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:br("Animation","AnimationEnd"),animationiteration:br("Animation","AnimationIteration"),animationstart:br("Animation","AnimationStart"),transitionend:br("Transition","TransitionEnd")},_r={},kr={};function Sr(e){if(_r[e])return _r[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return _r[e]=n[t];return e}l&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var xr=Sr("animationend"),Er=Sr("animationiteration"),Cr=Sr("animationstart"),Tr=Sr("transitionend"),Or=new Map,Nr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,t){Or.set(e,t),a(t,[e])}for(var Pr=0;Pr<Nr.length;Pr++){var Dr=Nr[Pr];Rr(Dr.toLowerCase(),"on"+(Dr[0].toUpperCase()+Dr.slice(1)))}Rr(xr,"onAnimationEnd"),Rr(Er,"onAnimationIteration"),Rr(Cr,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(Tr,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Ir(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,a,i,l,s,u){if(Ve.apply(this,arguments),Le){if(!Le)throw Error(n(198));var c=Ie;Le=!1,Ie=null,Ae||(Ae=!0,ze=c)}}(o,t,void 0,e),e.currentTarget=null}function Ar(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Ir(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Ir(o,l,u),a=s}}}if(Ae)throw e=ze,Ae=!1,ze=null,e}function zr(e,t){var n=t[ho];void 0===n&&(n=t[ho]=new Set);var r=e+"__bubble";n.has(r)||(Fr(t,e,2,!1),n.add(r))}function jr(e,t,n){var r=0;t&&(r|=4),Fr(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function Ur(e){if(!e[Vr]){e[Vr]=!0,r.forEach(function(t){"selectionchange"!==t&&(Lr.has(t)||jr(t,!1,e),jr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,jr("selectionchange",!1,t))}}function Fr(e,t,n,r){switch(Yt(t)){case 1:var o=Wt;break;case 4:o=Ht;break;default:o=$t}n=o.bind(null,t,n,e),o=void 0,!Pe||"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 Br(e,t,n,r,o){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=yo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}Ne(function(){var r=a,o=be(n),i=[];e:{var l=Or.get(e);if(void 0!==l){var s=sn,u=e;switch(e){case"keypress":if(0===Zt(n))break e;case"keydown":case"keyup":s=En;break;case"focusin":u="focus",s=hn;break;case"focusout":u="blur",s=hn;break;case"beforeblur":case"afterblur":s=hn;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":s=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Tn;break;case xr:case Er:case Cr:s=mn;break;case Tr:s=On;break;case"scroll":s=cn;break;case"wheel":s=Rn;break;case"copy":case"cut":case"paste":s=gn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Cn}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Re(h,f))&&c.push(Wr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ye||!(u=n.relatedTarget||n.fromElement)||!yo(u)&&!u[po])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yo(u):null)&&(u!==(d=Ue(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=fn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Cn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==u?l:wo(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,yo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=$r(p))h++;for(p=0,m=f;m;m=$r(m))p++;for(;0<h-p;)c=$r(c),h--;for(;0<p-h;)f=$r(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=$r(c),f=$r(f)}c=null}else c=null;null!==s&&qr(i,l,s,c,!1),null!==u&&null!==d&&qr(i,d,u,c,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Yn;else if(Bn(l))if(Gn)v=or;else{v=nr;var g=tr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=rr);switch(v&&(v=v(e,r))?Wn(i,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&J(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(Bn(g)||"true"===g.contentEditable)&&(hr=g,mr=r,vr=null);break;case"focusout":vr=mr=hr=null;break;case"mousedown":gr=!0;break;case"contextmenu":case"mouseup":case"dragend":gr=!1,yr(i,n,o);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":yr(i,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 Un?jn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Un||"onCompositionStart"!==b?"onCompositionEnd"===b&&Un&&(y=Jt()):(Qt="value"in(Gt=o)?Gt.value:Gt.textContent,Un=!0)),0<(g=Hr(r,b)).length&&(b=new yn(b,e,null,n,o),i.push({event:b,listeners:g}),y?b.data=y:null!==(y=Vn(n))&&(b.data=y))),(y=Ln?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(zn=!0,An);case"textInput":return(e=t.data)===An&&zn?null:e;default:return null}}(e,n):function(e,t){if(Un)return"compositionend"===e||!Dn&&jn(e,t)?(e=Jt(),Xt=Qt=Gt=null,Un=!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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Hr(r,"onBeforeInput")).length&&(o=new yn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Ar(i,t)})}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Hr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Re(e,n))&&r.unshift(Wr(e,a,o)),null!=(a=Re(e,t))&&r.push(Wr(e,a,o))),e=e.return}return r}function $r(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function qr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Re(n,a))&&i.unshift(Wr(n,s,l)):o||null!=(s=Re(n,a))&&i.push(Wr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Gr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Qr(e,t,r){if(t=Gr(t),Gr(e)!==t&&r)throw Error(n(425))}function Xr(){}var Jr=null,Zr=null;function eo(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var to="function"==typeof setTimeout?setTimeout:void 0,no="function"==typeof clearTimeout?clearTimeout:void 0,ro="function"==typeof Promise?Promise:void 0,oo="function"==typeof queueMicrotask?queueMicrotask:void 0!==ro?function(e){return ro.resolve(null).then(e).catch(ao)}:to;function ao(e){setTimeout(function(){throw e})}function io(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ut(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ut(t)}function lo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function so(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 uo=Math.random().toString(36).slice(2),co="__reactFiber$"+uo,fo="__reactProps$"+uo,po="__reactContainer$"+uo,ho="__reactEvents$"+uo,mo="__reactListeners$"+uo,go="__reactHandles$"+uo;function yo(e){var t=e[co];if(t)return t;for(var n=e.parentNode;n;){if(t=n[po]||n[co]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=so(e);null!==e;){if(n=e[co])return n;e=so(e)}return t}n=(e=n).parentNode}return null}function bo(e){return!(e=e[co]||e[po])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function ko(e){return e[fo]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function To(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function Oo(e,t){Eo++,So[Eo]=e.current,e.current=t}var No={},Ro=Co(No),Po=Co(!1),Do=No;function Mo(e,t){var n=e.type.contextTypes;if(!n)return No;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Lo(e){return null!=(e=e.childContextTypes)}function Io(){To(Po),To(Ro)}function Ao(e,t,r){if(Ro.current!==No)throw Error(n(168));Oo(Ro,t),Oo(Po,r)}function zo(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var a in o=o.getChildContext())if(!(a in t))throw Error(n(108,F(e)||"Unknown",a));return I({},r,o)}function jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||No,Do=Ro.current,Oo(Ro,e),Oo(Po,Po.current),!0}function Vo(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=zo(e,t,Do),o.__reactInternalMemoizedMergedChildContext=e,To(Po),To(Ro),Oo(Ro,e)):To(Po),Oo(Po,r)}var Uo=null,Fo=!1,Bo=!1;function Wo(e){null===Uo?Uo=[e]:Uo.push(e)}function Ho(){if(!Bo&&null!==Uo){Bo=!0;var e=0,t=gt;try{var n=Uo;for(gt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Uo=null,Fo=!1}catch(o){throw null!==Uo&&(Uo=Uo.slice(e+1)),$e(Xe,Ho),o}finally{gt=t,Bo=!1}}return null}var $o=[],qo=0,Ko=null,Yo=0,Go=[],Qo=0,Xo=null,Jo=1,Zo="";function ea(e,t){$o[qo++]=Yo,$o[qo++]=Ko,Ko=e,Yo=t}function ta(e,t,n){Go[Qo++]=Jo,Go[Qo++]=Zo,Go[Qo++]=Xo,Xo=e;var r=Jo;e=Zo;var o=32-ot(r)-1;r&=~(1<<o),n+=1;var a=32-ot(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Jo=1<<32-ot(t)+o|n<<o|r,Zo=a+e}else Jo=1<<a|n<<o|r,Zo=e}function na(e){null!==e.return&&(ea(e,1),ta(e,1,0))}function ra(e){for(;e===Ko;)Ko=$o[--qo],$o[qo]=null,Yo=$o[--qo],$o[qo]=null;for(;e===Xo;)Xo=Go[--Qo],Go[Qo]=null,Zo=Go[--Qo],Go[Qo]=null,Jo=Go[--Qo],Go[Qo]=null}var oa=null,aa=null,ia=!1,la=null;function sa(e,t){var n=Du(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ua(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,oa=e,aa=lo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oa=e,aa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Jo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Du(18,null,null,0)).stateNode=t,n.return=e,e.child=n,oa=e,aa=null,!0);default:return!1}}function ca(e){return!(!(1&e.mode)||128&e.flags)}function da(e){if(ia){var t=aa;if(t){var r=t;if(!ua(e,t)){if(ca(e))throw Error(n(418));t=lo(r.nextSibling);var o=oa;t&&ua(e,t)?sa(o,r):(e.flags=-4097&e.flags|2,ia=!1,oa=e)}}else{if(ca(e))throw Error(n(418));e.flags=-4097&e.flags|2,ia=!1,oa=e}}}function fa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oa=e}function pa(e){if(e!==oa)return!1;if(!ia)return fa(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!eo(e.type,e.memoizedProps)),t&&(t=aa)){if(ca(e))throw ha(),Error(n(418));for(;t;)sa(e,t),t=lo(t.nextSibling)}if(fa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){aa=lo(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}aa=null}}else aa=oa?lo(e.stateNode.nextSibling):null;return!0}function ha(){for(var e=aa;e;)e=lo(e.nextSibling)}function ma(){aa=oa=null,ia=!1}function va(e){null===la?la=[e]:la.push(e)}var ga=g.ReactCurrentBatchConfig;function ya(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var a=o,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=a.refs;null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function ba(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function wa(e){return(0,e._init)(e._payload)}function _a(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(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 a(e,t){return(e=Lu(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):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=ju(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===R&&wa(o)===t.type)?((r=a(t,n.props)).ref=ya(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=ya(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=Vu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Au(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=ju(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case y:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=ya(e,null,t),n.return=e,n;case b:return(t=Vu(t,e.mode,n)).return=e,t;case R:return f(e,(0,t._init)(t._payload),n)}if(Z(t)||M(t))return(t=Au(t,e.mode,n,null)).return=e,t;ba(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===o?u(e,t,n,r):null;case b:return n.key===o?c(e,t,n,r):null;case R:return p(e,t,(o=n._init)(n._payload),r)}if(Z(n)||M(n))return null!==o?null:d(e,t,n,r,null);ba(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case b:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case R:return h(e,t,n,(0,r._init)(r._payload),o)}if(Z(r)||M(r))return d(t,e=e.get(n)||null,r,o,null);ba(t,r)}return null}return function s(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===w&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case y:e:{for(var v=d.key,g=c;null!==g;){if(g.key===v){if((v=d.type)===w){if(7===g.tag){r(u,g.sibling),(c=a(g,d.props.children)).return=u,u=c;break e}}else if(g.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===R&&wa(v)===g.type){r(u,g.sibling),(c=a(g,d.props)).ref=ya(u,g,d),c.return=u,u=c;break e}r(u,g);break}t(u,g),g=g.sibling}d.type===w?((c=Au(d.props.children,u.mode,m,d.key)).return=u,u=c):((m=Iu(d.type,d.key,d.props,null,u.mode,m)).ref=ya(u,c,d),m.return=u,u=m)}return l(u);case b:e:{for(g=d.key;null!==c;){if(c.key===g){if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){r(u,c.sibling),(c=a(c,d.children||[])).return=u,u=c;break e}r(u,c);break}t(u,c),c=c.sibling}(c=Vu(d,u.mode,m)).return=u,u=c}return l(u);case R:return s(u,c,(g=d._init)(d._payload),m)}if(Z(d))return function(n,a,l,s){for(var u=null,c=null,d=a,m=a=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(n,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(n,d),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return r(n,d),ia&&ea(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(n,l[m],s))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return ia&&ea(n,m),u}for(d=o(n,d);m<l.length;m++)null!==(v=h(d,n,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach(function(e){return t(n,e)}),ia&&ea(n,m),u}(u,c,d,m);if(M(d))return function(a,l,s,u){var c=M(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(a,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),l=i(b,l,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return r(a,m),ia&&ea(a,v),c;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(a,y.value,u))&&(l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return ia&&ea(a,v),c}for(m=o(a,m);!y.done;v++,y=s.next())null!==(y=h(m,a,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(a,e)}),ia&&ea(a,v),c}(u,c,d,m);ba(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d?(d=""+d,null!==c&&6===c.tag?(r(u,c.sibling),(c=a(c,d)).return=u,u=c):(r(u,c),(c=ju(d,u.mode,m)).return=u,u=c),l(u)):r(u,c)}}var ka=_a(!0),Sa=_a(!1),xa=Co(null),Ea=null,Ca=null,Ta=null;function Oa(){Ta=Ca=Ea=null}function Na(e){var t=xa.current;To(xa),e._currentValue=t}function Ra(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pa(e,t){Ea=e,Ta=Ca=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Da(e){var t=e._currentValue;if(Ta!==e)if(e={context:e,memoizedValue:t,next:null},null===Ca){if(null===Ea)throw Error(n(308));Ca=e,Ea.dependencies={lanes:0,firstContext:e}}else Ca=Ca.next=e;return t}var Ma=null;function La(e){null===Ma?Ma=[e]:Ma.push(e)}function Ia(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,La(t)):(n.next=o.next,o.next=n),t.interleaved=n,Aa(e,r)}function Aa(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}var za=!1;function ja(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Va(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 Ua(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ns){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Aa(e,n)}return null===(o=r.interleaved)?(t.next=t,La(r)):(t.next=o.next,o.next=t),r.interleaved=t,Aa(e,n)}function Ba(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Wa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ha(e,t,n,r){var o=e.updateQueue;za=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=I({},d,f);break e;case 2:za=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);zs|=i,e.lanes=i,e.memoizedState=d}}function $a(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],a=o.callback;if(null!==a){if(o.callback=null,o=r,"function"!=typeof a)throw Error(n(191,a));a.call(o)}}}var qa={},Ka=Co(qa),Ya=Co(qa),Ga=Co(qa);function Qa(e){if(e===qa)throw Error(n(174));return e}function Xa(e,t){switch(Oo(Ga,t),Oo(Ya,e),Oo(Ka,qa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ie(null,"");break;default:t=ie(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}To(Ka),Oo(Ka,t)}function Ja(){To(Ka),To(Ya),To(Ga)}function Za(e){Qa(Ga.current);var t=Qa(Ka.current),n=ie(t,e.type);t!==n&&(Oo(Ya,e),Oo(Ka,n))}function ei(e){Ya.current===e&&(To(Ka),To(Ya))}var ti=Co(0);function ni(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(128&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 ri=[];function oi(){for(var e=0;e<ri.length;e++)ri[e]._workInProgressVersionPrimary=null;ri.length=0}var ai=g.ReactCurrentDispatcher,ii=g.ReactCurrentBatchConfig,li=0,si=null,ui=null,ci=null,di=!1,fi=!1,pi=0,hi=0;function mi(){throw Error(n(321))}function vi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function gi(e,t,r,o,a,i){if(li=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ai.current=null===e||null===e.memoizedState?el:tl,e=r(o,a),fi){i=0;do{if(fi=!1,pi=0,25<=i)throw Error(n(301));i+=1,ci=ui=null,t.updateQueue=null,ai.current=nl,e=r(o,a)}while(fi)}if(ai.current=Zi,t=null!==ui&&null!==ui.next,li=0,ci=ui=si=null,di=!1,t)throw Error(n(300));return e}function yi(){var e=0!==pi;return pi=0,e}function bi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ci?si.memoizedState=ci=e:ci=ci.next=e,ci}function wi(){if(null===ui){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=ui.next;var t=null===ci?si.memoizedState:ci.next;if(null!==t)ci=t,ui=e;else{if(null===e)throw Error(n(310));e={memoizedState:(ui=e).memoizedState,baseState:ui.baseState,baseQueue:ui.baseQueue,queue:ui.queue,next:null},null===ci?si.memoizedState=ci=e:ci=ci.next=e}return ci}function _i(e,t){return"function"==typeof t?t(e):t}function ki(e){var t=wi(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=ui,a=o.baseQueue,i=r.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}o.baseQueue=a=i,r.pending=null}if(null!==a){i=a.next,o=o.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((li&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=o):u=u.next=f,si.lanes|=d,zs|=d}c=c.next}while(null!==c&&c!==i);null===u?l=o:u.next=s,ar(o,t.memoizedState)||(wl=!0),t.memoizedState=o,t.baseState=l,t.baseQueue=u,r.lastRenderedState=o}if(null!==(e=r.interleaved)){a=e;do{i=a.lane,si.lanes|=i,zs|=i,a=a.next}while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Si(e){var t=wi(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,a=r.pending,i=t.memoizedState;if(null!==a){r.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);ar(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,o]}function xi(){}function Ei(e,t){var r=si,o=wi(),a=t(),i=!ar(o.memoizedState,a);if(i&&(o.memoizedState=a,wl=!0),o=o.queue,zi(Oi.bind(null,r,o,e),[e]),o.getSnapshot!==t||i||null!==ci&&1&ci.memoizedState.tag){if(r.flags|=2048,Di(9,Ti.bind(null,r,o,a,t),void 0,null),null===Rs)throw Error(n(349));30&li||Ci(r,t,a)}return a}function Ci(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ti(e,t,n,r){t.value=n,t.getSnapshot=r,Ni(t)&&Ri(e)}function Oi(e,t,n){return n(function(){Ni(t)&&Ri(e)})}function Ni(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ar(e,n)}catch(r){return!0}}function Ri(e){var t=Aa(e,1);null!==t&&ru(t,e,1,-1)}function Pi(e){var t=bi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:e},t.queue=e,e=e.dispatch=Gi.bind(null,si,e),[t.memoizedState,e]}function Di(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.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 Mi(){return wi().memoizedState}function Li(e,t,n,r){var o=bi();si.flags|=e,o.memoizedState=Di(1|t,n,void 0,void 0===r?null:r)}function Ii(e,t,n,r){var o=wi();r=void 0===r?null:r;var a=void 0;if(null!==ui){var i=ui.memoizedState;if(a=i.destroy,null!==r&&vi(r,i.deps))return void(o.memoizedState=Di(t,n,a,r))}si.flags|=e,o.memoizedState=Di(1|t,n,a,r)}function Ai(e,t){return Li(8390656,8,e,t)}function zi(e,t){return Ii(2048,8,e,t)}function ji(e,t){return Ii(4,2,e,t)}function Vi(e,t){return Ii(4,4,e,t)}function Ui(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 Fi(e,t,n){return n=null!=n?n.concat([e]):null,Ii(4,4,Ui.bind(null,t,e),n)}function Bi(){}function Wi(e,t){var n=wi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&vi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Hi(e,t){var n=wi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&vi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function $i(e,t,n){return 21&li?(ar(n,t)||(n=pt(),si.lanes|=n,zs|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n)}function qi(e,t){var n=gt;gt=0!==n&&4>n?n:4,e(!0);var r=ii.transition;ii.transition={};try{e(!1),t()}finally{gt=n,ii.transition=r}}function Ki(){return wi().memoizedState}function Yi(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qi(e))Xi(t,n);else if(null!==(n=Ia(e,t,n,r))){ru(n,e,r,tu()),Ji(n,t,r)}}function Gi(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qi(e))Xi(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,ar(l,i)){var s=t.interleaved;return null===s?(o.next=o,La(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(u){}null!==(n=Ia(e,t,o,r))&&(ru(n,e,r,o=tu()),Ji(n,t,r))}}function Qi(e){var t=e.alternate;return e===si||null!==t&&t===si}function Xi(e,t){fi=di=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ji(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Zi={readContext:Da,useCallback:mi,useContext:mi,useEffect:mi,useImperativeHandle:mi,useInsertionEffect:mi,useLayoutEffect:mi,useMemo:mi,useReducer:mi,useRef:mi,useState:mi,useDebugValue:mi,useDeferredValue:mi,useTransition:mi,useMutableSource:mi,useSyncExternalStore:mi,useId:mi,unstable_isNewReconciler:!1},el={readContext:Da,useCallback:function(e,t){return bi().memoizedState=[e,void 0===t?null:t],e},useContext:Da,useEffect:Ai,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Li(4194308,4,Ui.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Li(4194308,4,e,t)},useInsertionEffect:function(e,t){return Li(4,2,e,t)},useMemo:function(e,t){var n=bi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Yi.bind(null,si,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},bi().memoizedState=e},useState:Pi,useDebugValue:Bi,useDeferredValue:function(e){return bi().memoizedState=e},useTransition:function(){var e=Pi(!1),t=e[0];return e=qi.bind(null,e[1]),bi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=si,a=bi();if(ia){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Rs)throw Error(n(349));30&li||Ci(o,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,Ai(Oi.bind(null,o,i,e),[e]),o.flags|=2048,Di(9,Ti.bind(null,o,i,r,t),void 0,null),r},useId:function(){var e=bi(),t=Rs.identifierPrefix;if(ia){var n=Zo;t=":"+t+"R"+(n=(Jo&~(1<<32-ot(Jo)-1)).toString(32)+n),0<(n=pi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=hi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},tl={readContext:Da,useCallback:Wi,useContext:Da,useEffect:zi,useImperativeHandle:Fi,useInsertionEffect:ji,useLayoutEffect:Vi,useMemo:Hi,useReducer:ki,useRef:Mi,useState:function(){return ki(_i)},useDebugValue:Bi,useDeferredValue:function(e){return $i(wi(),ui.memoizedState,e)},useTransition:function(){return[ki(_i)[0],wi().memoizedState]},useMutableSource:xi,useSyncExternalStore:Ei,useId:Ki,unstable_isNewReconciler:!1},nl={readContext:Da,useCallback:Wi,useContext:Da,useEffect:zi,useImperativeHandle:Fi,useInsertionEffect:ji,useLayoutEffect:Vi,useMemo:Hi,useReducer:Si,useRef:Mi,useState:function(){return Si(_i)},useDebugValue:Bi,useDeferredValue:function(e){var t=wi();return null===ui?t.memoizedState=e:$i(t,ui.memoizedState,e)},useTransition:function(){return[Si(_i)[0],wi().memoizedState]},useMutableSource:xi,useSyncExternalStore:Ei,useId:Ki,unstable_isNewReconciler:!1};function rl(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function ol(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var al={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Ua(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Fa(e,a,o))&&(ru(t,e,o,r),Ba(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Ua(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Fa(e,a,o))&&(ru(t,e,o,r),Ba(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Ua(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Fa(e,o,r))&&(ru(t,e,r,n),Ba(t,e,r))}};function il(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!ir(n,r)||!ir(o,a))}function ll(e,t,n){var r=!1,o=No,a=t.contextType;return"object"==typeof a&&null!==a?a=Da(a):(o=Lo(t)?Do:Ro.current,a=(r=null!=(r=t.contextTypes))?Mo(e,o):No),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=al,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function sl(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&&al.enqueueReplaceState(t,t.state,null)}function ul(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},ja(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Da(a):(a=Lo(t)?Do:Ro.current,o.context=Mo(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ol(e,t,a,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&&al.enqueueReplaceState(o,o.state,null),Ha(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function cl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var o=n}catch(a){o="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var pl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Ua(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$s||($s=!0,qs=r),fl(0,t)},n}function ml(e,t,n){(n=Ua(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Cu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ua(-1,1)).tag=2,Fa(n,t,1))),n.lanes|=1),e)}var bl=g.ReactCurrentOwner,wl=!1;function _l(e,t,n,r){t.child=null===e?Sa(t,null,n,r):ka(t,e.child,n,r)}function kl(e,t,n,r,o){n=n.render;var a=t.ref;return Pa(t,o),r=gi(e,t,n,r,a,o),n=yi(),null===e||wl?(ia&&n&&na(t),t.flags|=1,_l(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$l(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Mu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,xl(e,t,a,r,o))}if(a=e.child,0===(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:ir)(i,r)&&e.ref===t.ref)return $l(e,t,o)}return t.flags|=1,(e=Lu(a,r)).ref=t.ref,e.return=t,t.child=e}function xl(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(ir(a,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=a,0===(e.lanes&o))return t.lanes=e.lanes,$l(e,t,o);131072&e.flags&&(wl=!0)}}return Tl(e,t,n,r,o)}function El(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oo(Ls,Ms),Ms|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Oo(Ls,Ms),Ms|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oo(Ls,Ms),Ms|=n;else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Oo(Ls,Ms),Ms|=r;return _l(e,t,o,n),t.child}function Cl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Tl(e,t,n,r,o){var a=Lo(n)?Do:Ro.current;return a=Mo(t,a),Pa(t,o),n=gi(e,t,n,r,a,o),r=yi(),null===e||wl?(ia&&r&&na(t),t.flags|=1,_l(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$l(e,t,o))}function Ol(e,t,n,r,o){if(Lo(n)){var a=!0;jo(t)}else a=!1;if(Pa(t,o),null===t.stateNode)Hl(e,t),ll(t,n,r),ul(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Da(u):u=Mo(t,u=Lo(n)?Do:Ro.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&sl(t,i,r,u),za=!1;var f=t.memoizedState;i.state=f,Ha(t,r,i,o),s=t.memoizedState,l!==r||f!==s||Po.current||za?("function"==typeof c&&(ol(t,n,c,r),s=t.memoizedState),(l=za||il(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Va(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:rl(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Da(s):s=Mo(t,s=Lo(n)?Do:Ro.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&sl(t,i,r,s),za=!1,f=t.memoizedState,i.state=f,Ha(t,r,i,o);var h=t.memoizedState;l!==d||f!==h||Po.current||za?("function"==typeof p&&(ol(t,n,p,r),h=t.memoizedState),(u=za||il(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Nl(e,t,n,r,a,o)}function Nl(e,t,n,r,o,a){Cl(e,t);var i=!!(128&t.flags);if(!r&&!i)return o&&Vo(t,n,!1),$l(e,t,a);r=t.stateNode,bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=ka(t,e.child,null,a),t.child=ka(t,null,l,a)):_l(e,t,l,a),t.memoizedState=r.state,o&&Vo(t,n,!0),t.child}function Rl(e){var t=e.stateNode;t.pendingContext?Ao(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ao(0,t.context,!1),Xa(e,t.containerInfo)}function Pl(e,t,n,r,o){return ma(),va(o),t.flags|=256,_l(e,t,n,r),t.child}var Dl,Ml,Ll,Il,Al={dehydrated:null,treeContext:null,retryLane:0};function zl(e){return{baseLanes:e,cachePool:null,transitions:null}}function jl(e,t,r){var o,a=t.pendingProps,i=ti.current,l=!1,s=!!(128&t.flags);if((o=s)||(o=(null===e||null!==e.memoizedState)&&!!(2&i)),o?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Oo(ti,1&i),null===e)return da(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},1&a||null===l?l=zu(s,a,0,null):(l.childLanes=0,l.pendingProps=s),e=Au(e,a,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=zl(r),t.memoizedState=Al,e):Vl(t,s));if(null!==(i=e.memoizedState)&&null!==(o=i.dehydrated))return function(e,t,r,o,a,i,l){if(r)return 256&t.flags?(t.flags&=-257,Ul(e,t,l,o=dl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=o.fallback,a=t.mode,o=zu({mode:"visible",children:o.children},a,0,null),(i=Au(i,a,l,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,1&t.mode&&ka(t,e.child,null,l),t.child.memoizedState=zl(l),t.memoizedState=Al,i);if(!(1&t.mode))return Ul(e,t,l,null);if("$!"===a.data){if(o=a.nextSibling&&a.nextSibling.dataset)var s=o.dgst;return o=s,Ul(e,t,l,o=dl(i=Error(n(419)),o,void 0))}if(s=0!==(l&e.childLanes),wl||s){if(null!==(o=Rs)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(o.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Aa(e,a),ru(o,e,a,-1))}return vu(),Ul(e,t,l,o=dl(Error(n(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ou.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,aa=lo(a.nextSibling),oa=t,ia=!0,la=null,null!==e&&(Go[Qo++]=Jo,Go[Qo++]=Zo,Go[Qo++]=Xo,Jo=e.id,Zo=e.overflow,Xo=t),t=Vl(t,o.children),t.flags|=4096,t)}(e,t,s,a,o,i,r);if(l){l=a.fallback,s=t.mode,o=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 1&s||t.child===i?(a=Lu(i,u)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null),null!==o?l=Lu(o,l):(l=Au(l,s,r,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?zl(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Al,a}return e=(l=e.child).sibling,a=Lu(l,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function Vl(e,t){return(t=zu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ul(e,t,n,r){return null!==r&&va(r),ka(t,e.child,null,n),(e=Vl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ra(e.return,t,n)}function Bl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Wl(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(_l(e,t,r.children,n),2&(r=ti.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fl(e,n,t);else if(19===e.tag)Fl(e,n,t);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(Oo(ti,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ni(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ni(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bl(t,!0,n,null,a);break;case"together":Bl(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Hl(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $l(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),zs|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Lu(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Lu(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function ql(e,t){if(!ia)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 Kl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yl(e,t,r){var a=t.pendingProps;switch(ra(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return Lo(t.type)&&Io(),Kl(t),null;case 3:return a=t.stateNode,Ja(),To(Po),To(Ro),oi(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==la&&(lu(la),la=null))),Ml(e,t),Kl(t),null;case 5:ei(t);var i=Qa(Ga.current);if(r=t.type,null!==e&&null!=t.stateNode)Ll(e,t,r,a,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(null===t.stateNode)throw Error(n(166));return Kl(t),null}if(e=Qa(Ka.current),pa(t)){a=t.stateNode,r=t.type;var l=t.memoizedProps;switch(a[co]=t,a[fo]=l,e=!!(1&t.mode),r){case"dialog":zr("cancel",a),zr("close",a);break;case"iframe":case"object":case"embed":zr("load",a);break;case"video":case"audio":for(i=0;i<Mr.length;i++)zr(Mr[i],a);break;case"source":zr("error",a);break;case"img":case"image":case"link":zr("error",a),zr("load",a);break;case"details":zr("toggle",a);break;case"input":Y(a,l),zr("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!l.multiple},zr("invalid",a);break;case"textarea":ne(a,l),zr("invalid",a)}for(var s in ve(r,l),i=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?a.textContent!==u&&(!0!==l.suppressHydrationWarning&&Qr(a.textContent,u,e),i=["children",u]):"number"==typeof u&&a.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Qr(a.textContent,u,e),i=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&zr("scroll",a)}switch(r){case"input":H(a),X(a,l,!0);break;case"textarea":H(a),oe(a);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(a.onclick=Xr)}a=i,t.updateQueue=a,null!==a&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ae(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=s.createElement(r,{is:a.is}):(e=s.createElement(r),"select"===r&&(s=e,a.multiple?s.multiple=!0:a.size&&(s.size=a.size))):e=s.createElementNS(e,r),e[co]=t,e[fo]=a,Dl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ge(r,a),r){case"dialog":zr("cancel",e),zr("close",e),i=a;break;case"iframe":case"object":case"embed":zr("load",e),i=a;break;case"video":case"audio":for(i=0;i<Mr.length;i++)zr(Mr[i],e);i=a;break;case"source":zr("error",e),i=a;break;case"img":case"image":case"link":zr("error",e),zr("load",e),i=a;break;case"details":zr("toggle",e),i=a;break;case"input":Y(e,a),i=K(e,a),zr("invalid",e);break;case"option":default:i=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=I({},a,{value:void 0}),zr("invalid",e);break;case"textarea":ne(e,a),i=te(e,a),zr("invalid",e)}for(l in ve(r,i),u=i)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?he(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&ue(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&ce(e,c):"number"==typeof c&&ce(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(o.hasOwnProperty(l)?null!=c&&"onScroll"===l&&zr("scroll",e):null!=c&&v(e,l,c,s))}switch(r){case"input":H(e),X(e,a,!1);break;case"textarea":H(e),oe(e);break;case"option":null!=a.value&&e.setAttribute("value",""+B(a.value));break;case"select":e.multiple=!!a.multiple,null!=(l=a.value)?ee(e,!!a.multiple,l,!1):null!=a.defaultValue&&ee(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Xr)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)Il(e,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(n(166));if(r=Qa(Ga.current),Qa(Ka.current),pa(t)){if(a=t.stateNode,r=t.memoizedProps,a[co]=t,(l=a.nodeValue!==r)&&null!==(e=oa))switch(e.tag){case 3:Qr(a.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Qr(a.nodeValue,r,!!(1&e.mode))}l&&(t.flags|=4)}else(a=(9===r.nodeType?r:r.ownerDocument).createTextNode(a))[co]=t,t.stateNode=a}return Kl(t),null;case 13:if(To(ti),a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==aa&&1&t.mode&&!(128&t.flags))ha(),ma(),t.flags|=98560,l=!1;else if(l=pa(t),null!==a&&null!==a.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[co]=t}else ma(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),l=!1}else null!==la&&(lu(la),la=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((a=null!==a)!==(null!==e&&null!==e.memoizedState)&&a&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ti.current?0===Is&&(Is=3):vu())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return Ja(),Ml(e,t),null===e&&Ur(t.stateNode.containerInfo),Kl(t),null;case 10:return Na(t.type._context),Kl(t),null;case 19:if(To(ti),null===(l=t.memoizedState))return Kl(t),null;if(a=!!(128&t.flags),null===(s=l.rendering))if(a)ql(l,!1);else{if(0!==Is||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=ni(e))){for(t.flags|=128,ql(l,!1),null!==(a=s.updateQueue)&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=r,r=t.child;null!==r;)e=a,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Oo(ti,1&ti.current|2),t.child}e=e.sibling}null!==l.tail&&Ge()>Ws&&(t.flags|=128,a=!0,ql(l,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=ni(s))){if(t.flags|=128,a=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),ql(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!ia)return Kl(t),null}else 2*Ge()-l.renderingStartTime>Ws&&1073741824!==r&&(t.flags|=128,a=!0,ql(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ge(),t.sibling=null,r=ti.current,Oo(ti,a?1&r|2:1&r),t):(Kl(t),null);case 22:case 23:return fu(),a=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==a&&(t.flags|=8192),a&&1&t.mode?!!(1073741824&Ms)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Gl(e,t){switch(ra(t),t.tag){case 1:return Lo(t.type)&&Io(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ja(),To(Po),To(Ro),oi(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ei(t),null;case 13:if(To(ti),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));ma()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return To(ti),null;case 4:return Ja(),null;case 10:return Na(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Dl=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}},Ml=function(){},Ll=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,Qa(Ka.current);var i,l=null;switch(n){case"input":a=K(e,a),r=K(e,r),l=[];break;case"select":a=I({},a,{value:void 0}),r=I({},r,{value:void 0}),l=[];break;case"textarea":a=te(e,a),r=te(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Xr)}for(c in ve(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Xl=!1,Jl="function"==typeof WeakSet?WeakSet:Set,Zl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Eu(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Eu(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&ts(t,n,a)}o=o.next}while(o!==r)}}function os(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[co],delete t[fo],delete t[ho],delete t[mo],delete t[go])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,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=Xr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,fs=!1;function ps(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(rt&&"function"==typeof rt.onCommitFiberUnmount)try{rt.onCommitFiberUnmount(nt,n)}catch(l){}switch(n.tag){case 5:Xl||es(n,t);case 6:var r=ds,o=fs;ds=null,ps(e,t,n),fs=o,null!==(ds=r)&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(fs?(e=ds,n=n.stateNode,8===e.nodeType?io(e.parentNode,n):1===e.nodeType&&io(e,n),Ut(e)):io(ds,n.stateNode));break;case 4:r=ds,o=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=o;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(2&a||4&a)&&ts(n,t,i),o=o.next}while(o!==r)}ps(e,t,n);break;case 1:if(!Xl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Eu(n,t,l)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,ps(e,t,n),Xl=r):ps(e,t,n);break;default:ps(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach(function(t){var r=Nu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function vs(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,fs=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,fs=!0;break e}s=s.return}if(null===ds)throw Error(n(160));hs(i,l,a),ds=null,fs=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(c){Eu(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&o){try{rs(3,e,e.return),os(3,e)}catch(g){Eu(e,e.return,g)}try{rs(5,e,e.return)}catch(g){Eu(e,e.return,g)}}break;case 1:vs(t,e),ys(e),512&o&&null!==r&&es(r,r.return);break;case 5:if(vs(t,e),ys(e),512&o&&null!==r&&es(r,r.return),32&e.flags){var a=e.stateNode;try{ce(a,"")}catch(g){Eu(e,e.return,g)}}if(4&o&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==r?r.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&G(a,i),ge(s,l);var c=ge(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?he(a,f):"dangerouslySetInnerHTML"===d?ue(a,f):"children"===d?ce(a,f):v(a,d,f,c)}switch(s){case"input":Q(a,i);break;case"textarea":re(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ee(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ee(a,!!i.multiple,i.defaultValue,!0):ee(a,!!i.multiple,i.multiple?[]:"",!1))}a[fo]=i}catch(g){Eu(e,e.return,g)}}break;case 6:if(vs(t,e),ys(e),4&o){if(null===e.stateNode)throw Error(n(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(g){Eu(e,e.return,g)}}break;case 3:if(vs(t,e),ys(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(g){Eu(e,e.return,g)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Bs=Ge())),4&o&&ms(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Xl=(c=Xl)||d,vs(t,e),Xl=c):vs(t,e),ys(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Zl=e,d=e.child;null!==d;){for(f=Zl=d;null!==Zl;){switch(h=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:rs(4,p,p.return);break;case 1:es(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){o=p,r=p.return;try{t=o,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){Eu(o,r,g)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){ks(f);continue}}null!==h?(h.return=p,Zl=h):ks(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=pe("display",l))}catch(g){Eu(e,e.return,g)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(g){Eu(e,e.return,g)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vs(t,e),ys(e),4&o&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ls(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var a=o.stateNode;32&o.flags&&(ce(a,""),o.flags&=-33),cs(e,ss(e),a);break;case 3:case 4:var i=o.stateNode.containerInfo;us(e,ss(e),i);break;default:throw Error(n(161))}}catch(l){Eu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Zl=e,ws(e)}function ws(e,t,n){for(var r=!!(1&e.mode);null!==Zl;){var o=Zl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Ql;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Xl;l=Ql;var u=Xl;if(Ql=i,(Xl=s)&&!u)for(Zl=o;null!==Zl;)s=(i=Zl).child,22===i.tag&&null!==i.memoizedState?Ss(o):null!==s?(s.return=i,Zl=s):Ss(o);for(;null!==a;)Zl=a,ws(a),a=a.sibling;Zl=o,Ql=l,Xl=u}_s(e)}else 8772&o.subtreeFlags&&null!==a?(a.return=o,Zl=a):_s(e)}}function _s(e){for(;null!==Zl;){var t=Zl;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Xl||os(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Xl)if(null===r)o.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:rl(t.type,r.memoizedProps);o.componentDidUpdate(a,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&$a(t,i,o);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}$a(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ut(f)}}}break;default:throw Error(n(163))}Xl||512&t.flags&&as(t)}catch(p){Eu(t,t.return,p)}}if(t===e){Zl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zl=r;break}Zl=t.return}}function ks(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function Ss(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(s){Eu(t,n,s)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(s){Eu(t,o,s)}}var a=t.return;try{as(t)}catch(s){Eu(t,a,s)}break;case 5:var i=t.return;try{as(t)}catch(s){Eu(t,i,s)}}}catch(s){Eu(t,t.return,s)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var xs,Es=Math.ceil,Cs=g.ReactCurrentDispatcher,Ts=g.ReactCurrentOwner,Os=g.ReactCurrentBatchConfig,Ns=0,Rs=null,Ps=null,Ds=0,Ms=0,Ls=Co(0),Is=0,As=null,zs=0,js=0,Vs=0,Us=null,Fs=null,Bs=0,Ws=1/0,Hs=null,$s=!1,qs=null,Ks=null,Ys=!1,Gs=null,Qs=0,Xs=0,Js=null,Zs=-1,eu=0;function tu(){return 6&Ns?Ge():-1!==Zs?Zs:Zs=Ge()}function nu(e){return 1&e.mode?2&Ns&&0!==Ds?Ds&-Ds:null!==ga.transition?(0===eu&&(eu=pt()),eu):0!==(e=gt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function ru(e,t,r,o){if(50<Xs)throw Xs=0,Js=null,Error(n(185));mt(e,r,o),2&Ns&&e===Rs||(e===Rs&&(!(2&Ns)&&(js|=r),4===Is&&su(e,Ds)),ou(e,o),1===r&&0===Ns&&!(1&t.mode)&&(Ws=Ge()+500,Fo&&Ho()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-ot(a),l=1<<i,s=o[i];-1===s?0!==(l&n)&&0===(l&r)||(o[i]=dt(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=ct(e,e===Rs?Ds:0);if(0===r)null!==n&&qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&qe(n),1===t)0===e.tag?function(e){Fo=!0,Wo(e)}(uu.bind(null,e)):Wo(uu.bind(null,e)),oo(function(){!(6&Ns)&&Ho()}),n=null;else{switch(yt(r)){case 1:n=Xe;break;case 4:n=Je;break;case 16:default:n=Ze;break;case 536870912:n=tt}n=Ru(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Zs=-1,eu=0,6&Ns)throw Error(n(327));var r=e.callbackNode;if(Su()&&e.callbackNode!==r)return null;var o=ct(e,e===Rs?Ds:0);if(0===o)return null;if(30&o||0!==(o&e.expiredLanes)||t)t=gu(e,o);else{t=o;var a=Ns;Ns|=2;var i=mu();for(Rs===e&&Ds===t||(Hs=null,Ws=Ge()+500,pu(e,t));;)try{bu();break}catch(s){hu(e,s)}Oa(),Cs.current=i,Ns=a,null!==Ps?t=0:(Rs=null,Ds=0,t=Is)}if(0!==t){if(2===t&&(0!==(a=ft(e))&&(o=a,t=iu(e,a))),1===t)throw r=As,pu(e,0),su(e,o),ou(e,Ge()),r;if(6===t)su(e,o);else{if(a=e.current.alternate,!(30&o||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!ar(a(),o))return!1}catch(l){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=gu(e,o),2===t&&(i=ft(e),0!==i&&(o=i,t=iu(e,i))),1!==t)))throw r=As,pu(e,0),su(e,o),ou(e,Ge()),r;switch(e.finishedWork=a,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:ku(e,Fs,Hs);break;case 3:if(su(e,o),(130023424&o)===o&&10<(t=Bs+500-Ge())){if(0!==ct(e,0))break;if(((a=e.suspendedLanes)&o)!==o){tu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=to(ku.bind(null,e,Fs,Hs),t);break}ku(e,Fs,Hs);break;case 4:if(su(e,o),(4194240&o)===o)break;for(t=e.eventTimes,a=-1;0<o;){var l=31-ot(o);i=1<<l,(l=t[l])>a&&(a=l),o&=~i}if(o=a,10<(o=(120>(o=Ge()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Es(o/1960))-o)){e.timeoutHandle=to(ku.bind(null,e,Fs,Hs),o);break}ku(e,Fs,Hs);break;default:throw Error(n(329))}}}return ou(e,Ge()),e.callbackNode===r?au.bind(null,e):null}function iu(e,t){var n=Us;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Fs,Fs=n,null!==t&&lu(t)),e}function lu(e){null===Fs?Fs=e:Fs.push.apply(Fs,e)}function su(e,t){for(t&=~Vs,t&=~js,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(6&Ns)throw Error(n(327));Su();var t=ct(e,0);if(!(1&t))return ou(e,Ge()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var o=ft(e);0!==o&&(t=o,r=iu(e,o))}if(1===r)throw r=As,pu(e,0),su(e,t),ou(e,Ge()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Fs,Hs),ou(e,Ge()),null}function cu(e,t){var n=Ns;Ns|=1;try{return e(t)}finally{0===(Ns=n)&&(Ws=Ge()+500,Fo&&Ho())}}function du(e){null!==Gs&&0===Gs.tag&&!(6&Ns)&&Su();var t=Ns;Ns|=1;var n=Os.transition,r=gt;try{if(Os.transition=null,gt=1,e)return e()}finally{gt=r,Os.transition=n,!(6&(Ns=t))&&Ho()}}function fu(){Ms=Ls.current,To(Ls)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,no(n)),null!==Ps)for(n=Ps.return;null!==n;){var r=n;switch(ra(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Io();break;case 3:Ja(),To(Po),To(Ro),oi();break;case 5:ei(r);break;case 4:Ja();break;case 13:case 19:To(ti);break;case 10:Na(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Rs=e,Ps=e=Lu(e.current,null),Ds=Ms=t,Is=0,As=null,Vs=js=zs=0,Fs=Us=null,null!==Ma){for(t=0;t<Ma.length;t++)if(null!==(r=(n=Ma[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Ma=null}return e}function hu(e,t){for(;;){var r=Ps;try{if(Oa(),ai.current=Zi,di){for(var o=si.memoizedState;null!==o;){var a=o.queue;null!==a&&(a.pending=null),o=o.next}di=!1}if(li=0,ci=ui=si=null,fi=!1,pi=0,Ts.current=null,null===r||null===r.return){Is=1,As=t,Ps=null;break}e:{var i=e,l=r.return,s=r,u=t;if(t=Ds,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(!(1&t)){vl(i,c,t),vu();break e}u=Error(n(426))}else if(ia&&1&s.mode){var g=gl(l);if(null!==g){!(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),va(cl(u,s));break e}}i=u=cl(u,s),4!==Is&&(Is=2),null===Us?Us=[i]:Us.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Wa(i,hl(0,u,t));break e;case 1:s=u;var y=i.type,b=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Ks&&Ks.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Wa(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}_u(r)}catch(w){t=w,Ps===r&&null!==r&&(Ps=r=r.return);continue}break}}function mu(){var e=Cs.current;return Cs.current=Zi,null===e?Zi:e}function vu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===Rs||!(268435455&zs)&&!(268435455&js)||su(Rs,Ds)}function gu(e,t){var r=Ns;Ns|=2;var o=mu();for(Rs===e&&Ds===t||(Hs=null,pu(e,t));;)try{yu();break}catch(a){hu(e,a)}if(Oa(),Ns=r,Cs.current=o,null!==Ps)throw Error(n(261));return Rs=null,Ds=0,Is}function yu(){for(;null!==Ps;)wu(Ps)}function bu(){for(;null!==Ps&&!Ke();)wu(Ps)}function wu(e){var t=xs(e.alternate,e,Ms);e.memoizedProps=e.pendingProps,null===t?_u(e):Ps=t,Ts.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Gl(n,t)))return n.flags&=32767,void(Ps=n);if(null===e)return Is=6,void(Ps=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Yl(n,t,Ms)))return void(Ps=n);if(null!==(t=t.sibling))return void(Ps=t);Ps=t=e}while(null!==t);0===Is&&(Is=5)}function ku(e,t,r){var o=gt,a=Os.transition;try{Os.transition=null,gt=1,function(e,t,r,o){do{Su()}while(null!==Gs);if(6&Ns)throw Error(n(327));r=e.finishedWork;var a=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-ot(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Rs&&(Ps=Rs=null,Ds=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Ys||(Ys=!0,Ru(Ze,function(){return Su(),null})),i=!!(15990&r.flags),!!(15990&r.subtreeFlags)||i){i=Os.transition,Os.transition=null;var l=gt;gt=1;var s=Ns;Ns|=4,Ts.current=null,function(e,t){if(Jr=Bt,dr(e=cr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var a=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{r.nodeType,i.nodeType}catch(_){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==o&&3!==f.nodeType||(u=l+o),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===a&&(s=l),p===i&&++d===o&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Zr={focusedElem:e,selectionRange:r},Bt=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:rl(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(n(163))}}catch(_){Eu(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=ns,ns=!1}(e,r),gs(r,e),fr(Zr),Bt=!!Jr,Zr=Jr=null,e.current=r,bs(r),Ye(),Ns=s,gt=l,Os.transition=i}else e.current=r;if(Ys&&(Ys=!1,Gs=e,Qs=a),i=e.pendingLanes,0===i&&(Ks=null),function(e){if(rt&&"function"==typeof rt.onCommitFiberRoot)try{rt.onCommitFiberRoot(nt,e,void 0,!(128&~e.current.flags))}catch(t){}}(r.stateNode),ou(e,Ge()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)a=t[r],o(a.value,{componentStack:a.stack,digest:a.digest});if($s)throw $s=!1,e=qs,qs=null,e;!!(1&Qs)&&0!==e.tag&&Su(),i=e.pendingLanes,1&i?e===Js?Xs++:(Xs=0,Js=e):Xs=0,Ho()}(e,t,r,o)}finally{Os.transition=a,gt=o}return null}function Su(){if(null!==Gs){var e=yt(Qs),t=Os.transition,r=gt;try{if(Os.transition=null,gt=16>e?16:e,null===Gs)var o=!1;else{if(e=Gs,Gs=null,Qs=0,6&Ns)throw Error(n(331));var a=Ns;for(Ns|=4,Zl=e.current;null!==Zl;){var i=Zl,l=i.child;if(16&Zl.flags){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var f=d.child;if(null!==f)f.return=d,Zl=f;else for(;null!==Zl;){var p=(d=Zl).sibling,h=d.return;if(is(d),d===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var m=i.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Zl=i}}if(2064&i.subtreeFlags&&null!==l)l.return=i,Zl=l;else e:for(;null!==Zl;){if(2048&(i=Zl).flags)switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Zl=y;break e}Zl=i.return}}var b=e.current;for(Zl=b;null!==Zl;){var w=(l=Zl).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,Zl=w;else e:for(l=b;null!==Zl;){if(2048&(s=Zl).flags)try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(k){Eu(s,s.return,k)}if(s===l){Zl=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Zl=_;break e}Zl=s.return}}if(Ns=a,Ho(),rt&&"function"==typeof rt.onPostCommitFiberRoot)try{rt.onPostCommitFiberRoot(nt,e)}catch(k){}o=!0}return o}finally{gt=r,Os.transition=t}}return!1}function xu(e,t,n){e=Fa(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(mt(e,1,t),ou(e,t))}function Eu(e,t,n){if(3===e.tag)xu(e,e,n);else for(;null!==t;){if(3===t.tag){xu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=Fa(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(mt(t,1,e),ou(t,e));break}}t=t.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Rs===e&&(Ds&n)===n&&(4===Is||3===Is&&(130023424&Ds)===Ds&&500>Ge()-Bs?pu(e,0):Vs|=n),ou(e,t)}function Tu(e,t){0===t&&(1&e.mode?(t=st,!(130023424&(st<<=1))&&(st=4194304)):t=1);var n=tu();null!==(e=Aa(e,t))&&(mt(e,t,n),ou(e,n))}function Ou(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tu(e,n)}function Nu(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),Tu(e,r)}function Ru(e,t){return $e(e,t)}function Pu(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Du(e,t,n,r){return new Pu(e,t,n,r)}function Mu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Lu(e,t){var n=e.alternate;return null===n?((n=Du(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.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,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 Iu(e,t,r,o,a,i){var l=2;if(o=e,"function"==typeof e)Mu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case w:return Au(r.children,a,i,t);case _:l=8,a|=8;break;case k:return(e=Du(12,r,t,2|a)).elementType=k,e.lanes=i,e;case C:return(e=Du(13,r,t,a)).elementType=C,e.lanes=i,e;case T:return(e=Du(19,r,t,a)).elementType=T,e.lanes=i,e;case P:return zu(r,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:l=10;break e;case x:l=9;break e;case E:l=11;break e;case N:l=14;break e;case R:l=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Du(l,r,t,a)).elementType=e,t.type=o,t.lanes=i,t}function Au(e,t,n,r){return(e=Du(7,e,r,t)).lanes=n,e}function zu(e,t,n,r){return(e=Du(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function ju(e,t,n){return(e=Du(6,e,null,t)).lanes=n,e}function Vu(e,t,n){return(t=Du(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fu(e,t,n,r,o,a,i,l,s){return e=new Uu(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Du(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ja(a),e}function Bu(e){if(!e)return No;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Lo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Lo(r))return zo(e,r,t)}return t}function Wu(e,t,n,r,o,a,i,l,s){return(e=Fu(n,r,!0,e,0,a,0,l,s)).context=Bu(null),n=e.current,(a=Ua(r=tu(),o=nu(n))).callback=null!=t?t:null,Fa(n,a,o),e.current.lanes=o,mt(e,o,r),ou(e,r),e}function Hu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=Bu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ua(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Fa(o,t,i))&&(ru(e,o,i,a),Ba(e,o,i)),i}function $u(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){qu(e,t),(e=e.alternate)&&qu(e,t)}xs=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Po.current)wl=!0;else{if(0===(e.lanes&r)&&!(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Rl(t),ma();break;case 5:Za(t);break;case 1:Lo(t.type)&&jo(t);break;case 4:Xa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Oo(xa,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oo(ti,1&ti.current),t.flags|=128,null):0!==(n&t.child.childLanes)?jl(e,t,n):(Oo(ti,1&ti.current),null!==(e=$l(e,t,n))?e.sibling:null);Oo(ti,1&ti.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Wl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Oo(ti,ti.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return $l(e,t,n)}(e,t,r);wl=!!(131072&e.flags)}else wl=!1,ia&&1048576&t.flags&&ta(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Hl(e,t),e=t.pendingProps;var a=Mo(t,Ro.current);Pa(t,r),a=gi(null,t,o,e,a,r);var i=yi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lo(o)?(i=!0,jo(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,ja(t),a.updater=al,t.stateNode=a,a._reactInternals=t,ul(t,o,e,r),t=Nl(null,t,o,!0,i,r)):(t.tag=0,ia&&i&&na(t),_l(null,t,a,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Mu(e)?1:0;if(null!=e){if((e=e.$$typeof)===E)return 11;if(e===N)return 14}return 2}(o),e=rl(o,e),a){case 0:t=Tl(null,t,o,e,r);break e;case 1:t=Ol(null,t,o,e,r);break e;case 11:t=kl(null,t,o,e,r);break e;case 14:t=Sl(null,t,o,rl(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,a=t.pendingProps,Tl(e,t,o,a=t.elementType===o?a:rl(o,a),r);case 1:return o=t.type,a=t.pendingProps,Ol(e,t,o,a=t.elementType===o?a:rl(o,a),r);case 3:e:{if(Rl(t),null===e)throw Error(n(387));o=t.pendingProps,a=(i=t.memoizedState).element,Va(e,t),Ha(t,o,null,r);var l=t.memoizedState;if(o=l.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Pl(e,t,o,r,a=cl(Error(n(423)),t));break e}if(o!==a){t=Pl(e,t,o,r,a=cl(Error(n(424)),t));break e}for(aa=lo(t.stateNode.containerInfo.firstChild),oa=t,ia=!0,la=null,r=Sa(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(ma(),o===a){t=$l(e,t,r);break e}_l(e,t,o,r)}t=t.child}return t;case 5:return Za(t),null===e&&da(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,eo(o,a)?l=null:null!==i&&eo(o,i)&&(t.flags|=32),Cl(e,t),_l(e,t,l,r),t.child;case 6:return null===e&&da(t),null;case 13:return jl(e,t,r);case 4:return Xa(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=ka(t,null,o,r):_l(e,t,o,r),t.child;case 11:return o=t.type,a=t.pendingProps,kl(e,t,o,a=t.elementType===o?a:rl(o,a),r);case 7:return _l(e,t,t.pendingProps,r),t.child;case 8:case 12:return _l(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Oo(xa,o._currentValue),o._currentValue=l,null!==i)if(ar(i.value,l)){if(i.children===a.children&&!Po.current){t=$l(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===o){if(1===i.tag){(u=Ua(-1,r&-r)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=r,null!==(u=i.alternate)&&(u.lanes|=r),Ra(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Ra(l,r,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}_l(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,o=t.pendingProps.children,Pa(t,r),o=o(a=Da(a)),t.flags|=1,_l(e,t,o,r),t.child;case 14:return a=rl(o=t.type,t.pendingProps),Sl(e,t,o,a=rl(o.type,a),r);case 15:return xl(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:rl(o,a),Hl(e,t),t.tag=1,Lo(o)?(e=!0,jo(t)):e=!1,Pa(t,r),ll(t,o,a),ul(t,o,a,r),Nl(null,t,o,!0,e,r);case 19:return Wl(e,t,r);case 22:return El(e,t,r)}throw Error(n(156,t.tag))};var Yu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Qu(e){this._internalRoot=e}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=$u(i);l.call(e)}}Hu(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=$u(i);a.call(e)}}var i=Wu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=i,e[po]=i.current,Ur(8===e.nodeType?e.parentNode:e),du(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=$u(s);l.call(e)}}var s=Fu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[po]=s.current,Ur(8===e.nodeType?e.parentNode:e),du(function(){Hu(t,s,n,r)}),s}(n,t,e,o,r);return $u(i)}Qu.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Hu(e,t,null,null)},Qu.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du(function(){Hu(null,e,null,null)}),t[po]=null}},Qu.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&It(e)}},bt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ut(t.pendingLanes);0!==n&&(vt(t,1|n),ou(t,Ge()),!(6&Ns)&&(Ws=Ge()+500,Ho()))}break;case 13:du(function(){var t=Aa(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}}),Ku(e,1)}},wt=function(e){if(13===e.tag){var t=Aa(e,134217728);if(null!==t)ru(t,e,134217728,tu());Ku(e,134217728)}},_t=function(e){if(13===e.tag){var t=nu(e),n=Aa(e,t);if(null!==n)ru(n,e,t,tu());Ku(e,t)}},kt=function(){return gt},St=function(e,t){var n=gt;try{return gt=e,t()}finally{gt=n}},we=function(e,t,r){switch(t){case"input":if(Q(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var a=ko(o);if(!a)throw Error(n(90));$(o),Q(o,a)}}}break;case"textarea":re(e,r);break;case"select":null!=(t=r.value)&&ee(e,!!r.multiple,t,!1)}},Ce=cu,Te=du;var tc={usingClientEntryPoint:!1,Events:[bo,wo,ko,xe,Ee,cu]},nc={findFiberByHostInstance:yo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{nt=oc.inject(rc),rt=oc}catch(se){}}return vo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,vo.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:b,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},vo.createRoot=function(e,t){if(!Xu(e))throw Error(n(299));var r=!1,o="",a=Yu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Fu(e,1,!1,null,0,r,0,o,a),e[po]=t.current,Ur(8===e.nodeType?e.parentNode:e),new Gu(t)},vo.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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=We(t))?null:e.stateNode},vo.flushSync=function(e){return du(e)},vo.hydrate=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!0,r)},vo.hydrateRoot=function(e,t,r){if(!Xu(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,a=!1,i="",l=Yu;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Wu(t,null,e,1,null!=r?r:null,a,0,i,l),e[po]=t.current,Ur(e),o)for(e=0;e<o.length;e++)a=(a=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new Qu(t)},vo.render=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!1,r)},vo.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(n(40));return!!e._reactRootContainer&&(du(function(){ec(null,null,e,!1,function(){e._reactRootContainer=null,e[po]=null})}),!0)},vo.unstable_batchedUpdates=cu,vo.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Ju(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return ec(e,t,r,!1,o)},vo.version="18.3.1-next-f1338f8080-20240426",vo}var Co,To,Oo={};function No(){return Co||(Co=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=O(),t=xo(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function o(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("warn",e,n)}}function a(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("error",e,n)}}function i(e,t,r){var o=n.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var a=r.map(function(e){return String(e)});a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}var l=10,s=11,u=12,c=13,d=14,f=15,p=17,h=18,m=19,v=21,g=22,y=23,b=!1,w=!1,_=new Set,k={},S={};function x(e,t){E(e,t),E(e+"Capture",t)}function E(e,t){k[e]&&a("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),k[e]=t;var n=e.toLowerCase();S[n]=e,"onDoubleClick"===e&&(S.ondblclick=e);for(var r=0;r<t.length;r++)_.add(t[r])}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),T=Object.prototype.hasOwnProperty;function N(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function R(e){try{return P(e),!1}catch(t){return!0}}function P(e){return""+e}function D(e,t){if(R(e))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,N(e)),P(e)}function M(e){if(R(e))return a("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",N(e)),P(e)}var L=":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",I=L+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",A=new RegExp("^["+L+"]["+I+"]*$"),z={},j={};function V(e){return!!T.call(j,e)||!T.call(z,e)&&(A.test(e)?(j[e]=!0,!0):(z[e]=!0,a("Invalid attribute name: `%s`",e),!1))}function U(e,t,n){return null!==t?0===t.type:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function F(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return"data-"!==o&&"aria-"!==o;default:return!1}}function B(e,t,n,r){if(null==t)return!0;if(F(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)||t<1}return!1}function W(e){return $.hasOwnProperty(e)?$[e]:null}function H(e,t,n,r,o,a,i){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=a,this.removeEmptyString=i}var $={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){$[e]=new H(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];$[t]=new H(t,1,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$[e]=new H(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$[e]=new H(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"].forEach(function(e){$[e]=new H(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$[e]=new H(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$[e]=new H(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$[e]=new H(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$[e]=new H(e,5,!1,e.toLowerCase(),null,!1,!1)});var q=/[\-\:]([a-z])/g,K=function(e){return e[1].toUpperCase()};["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"].forEach(function(e){var t=e.replace(q,K);$[t]=new H(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(q,K);$[t]=new H(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(q,K);$[t]=new H(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$[e]=new H(e,1,!1,e.toLowerCase(),null,!1,!1)});$.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$[e]=new H(e,1,!1,e.toLowerCase(),null,!0,!0)});var Y=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,G=!1;function Q(e){!G&&Y.test(e)&&(G=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function X(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];D(n,t),r.sanitizeURL&&Q(""+n);var o=r.attributeName,a=null;if(4===r.type){if(e.hasAttribute(o)){var i=e.getAttribute(o);return""===i||(B(t,n,r,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(o)){if(B(t,n,r,!1))return e.getAttribute(o);if(3===r.type)return n;a=e.getAttribute(o)}return B(t,n,r,!1)?null===a?n:a:a===""+n?n:a}function J(e,t,n,r){if(V(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var o=e.getAttribute(t);return D(n,t),o===""+n?n:o}}function Z(e,t,n,r){var o=W(t);if(!U(t,o,r))if(B(t,n,o,r)&&(n=null),r||null===o){if(V(t)){var a=t;null===n?e.removeAttribute(a):(D(n,t),e.setAttribute(a,""+n))}}else if(o.mustUseProperty){var i=o.propertyName;if(null===n){var l=o.type;e[i]=3!==l&&""}else e[i]=n}else{var s=o.attributeName,u=o.attributeNamespace;if(null===n)e.removeAttribute(s);else{var c,d=o.type;3===d||4===d&&!0===n?c="":(D(n,s),c=""+n,o.sanitizeURL&&Q(c.toString())),u?e.setAttributeNS(u,s,c):e.setAttribute(s,c)}}}var ee=Symbol.for("react.element"),te=Symbol.for("react.portal"),ne=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),oe=Symbol.for("react.profiler"),ae=Symbol.for("react.provider"),ie=Symbol.for("react.context"),le=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),ue=Symbol.for("react.suspense_list"),ce=Symbol.for("react.memo"),de=Symbol.for("react.lazy"),fe=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),pe=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator);function he(e){if(null===e||"object"!=typeof e)return null;var t=pe&&e[pe]||e["@@iterator"];return"function"==typeof t?t:null}var me,ve,ge,ye,be,we,_e,ke=Object.assign,Se=0;function xe(){}xe.__reactDisabledLog=!0;var Ee,Ce=n.ReactCurrentDispatcher;function Te(e,t,n){if(void 0===Ee)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Ee=r&&r[1]||""}return"\n"+Ee+e}var Oe,Ne=!1,Re="function"==typeof WeakMap?WeakMap:Map;function Pe(e,t){if(!e||Ne)return"";var n,r=Oe.get(e);if(void 0!==r)return r;Ne=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Ce.current,Ce.current=null,function(){if(0===Se){me=console.log,ve=console.info,ge=console.warn,ye=console.error,be=console.group,we=console.groupCollapsed,_e=console.groupEnd;var e={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Se++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(m){n=m}Reflect.construct(e,[],l)}else{try{l.call()}catch(m){n=m}e.call(l.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(v){if(v&&n&&"string"==typeof v.stack){for(var s=v.stack.split("\n"),u=n.stack.split("\n"),c=s.length-1,d=u.length-1;c>=1&&d>=0&&s[c]!==u[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==u[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==u[d]){var f="\n"+s[c].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&Oe.set(e,f),f}}while(c>=1&&d>=0);break}}}finally{Ne=!1,Ce.current=o,function(){if(0===--Se){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ke({},e,{value:me}),info:ke({},e,{value:ve}),warn:ke({},e,{value:ge}),error:ke({},e,{value:ye}),group:ke({},e,{value:be}),groupCollapsed:ke({},e,{value:we}),groupEnd:ke({},e,{value:_e})})}Se<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?Te(p):"";return"function"==typeof e&&Oe.set(e,h),h}function De(e,t,n){return Pe(e,!1)}function Me(e,t,n){if(null==e)return"";if("function"==typeof e)return Pe(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return Te(e);switch(e){case se:return Te("Suspense");case ue:return Te("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case le:return De(e.render);case ce:return Me(e.type,t,n);case de:var o=e,a=o._payload,i=o._init;try{return Me(i(a),t,n)}catch(l){}}return""}function Le(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return Te(e.type);case 16:return Te("Lazy");case c:return Te("Suspense");case m:return Te("SuspenseList");case 0:case 2:case f:return De(e.type);case s:return De(e.type.render);case 1:return function(e){return Pe(e,!0)}(e.type);default:return""}}function Ie(e){try{var t="",n=e;do{t+=Le(n),n=n.return}while(n);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}function Ae(e){return e.displayName||"Context"}function ze(e){if(null==e)return null;if("number"==typeof e.tag&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case se:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ie:return Ae(e)+".Consumer";case ae:return Ae(e._context)+".Provider";case le:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case ce:var t=e.displayName||null;return null!==t?t:ze(e.type)||"Memo";case de:var n=e,r=n._payload,o=n._init;try{return ze(o(r))}catch(i){return null}}return null}function je(e){return e.displayName||"Context"}function Ve(e){var t,n,r,o,a=e.tag,i=e.type;switch(a){case 24:return"Cache";case 9:return je(i)+".Consumer";case l:return je(i._context)+".Provider";case 18:return"DehydratedFragment";case s:return t=i,n=i.render,r="ForwardRef",o=n.displayName||n.name||"",t.displayName||(""!==o?r+"("+o+")":r);case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ze(i);case 8:return i===re?"StrictMode":"Mode";case g:return"Offscreen";case u:return"Profiler";case v:return"Scope";case c:return"Suspense";case m:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case p:case 2:case d:case f:if("function"==typeof i)return i.displayName||i.name||null;if("string"==typeof i)return i}return null}Oe=new Re;var Ue=n.ReactDebugCurrentFrame,Fe=null,Be=!1;function We(){if(null===Fe)return null;var e=Fe._debugOwner;return null!=e?Ve(e):null}function He(){return null===Fe?"":Ie(Fe)}function $e(){Ue.getCurrentStack=null,Fe=null,Be=!1}function qe(e){Ue.getCurrentStack=null===e?null:He,Fe=e,Be=!1}function Ke(e){Be=e}function Ye(e){return""+e}function Ge(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return M(e),e;default:return""}}var Qe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Xe(e,t){Qe[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Je(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ze(e){return e._valueTracker}function et(e){Ze(e)||(e._valueTracker=function(e){var t=Je(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);M(e[t]);var r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){M(e),r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var i={getValue:function(){return r},setValue:function(e){M(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return i}}(e))}function tt(e){if(!e)return!1;var t=Ze(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=Je(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}function nt(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}}var rt=!1,ot=!1,at=!1,it=!1;function lt(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function st(e,t){var n=e,r=t.checked;return ke({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function ut(e,t){Xe(0,t),void 0===t.checked||void 0===t.defaultChecked||ot||(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",We()||"A component",t.type),ot=!0),void 0===t.value||void 0===t.defaultValue||rt||(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",We()||"A component",t.type),rt=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Ge(null!=t.value?t.value:r),controlled:lt(t)}}function ct(e,t){var n=e,r=t.checked;null!=r&&Z(n,"checked",r,!1)}function dt(e,t){var n=e,r=lt(t);n._wrapperState.controlled||!r||it||(a("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),it=!0),!n._wrapperState.controlled||r||at||(a("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),at=!0),ct(e,t);var o=Ge(t.value),i=t.type;if(null!=o)"number"===i?(0===o&&""===n.value||n.value!=o)&&(n.value=Ye(o)):n.value!==Ye(o)&&(n.value=Ye(o));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");t.hasOwnProperty("value")?ht(n,t.type,o):t.hasOwnProperty("defaultValue")&&ht(n,t.type,Ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function ft(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(("submit"===o||"reset"===o)&&(void 0===t.value||null===t.value))return;var a=Ye(r._wrapperState.initialValue);n||a!==r.value&&(r.value=a),r.defaultValue=a}var i=r.name;""!==i&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==i&&(r.name=i)}function pt(e,t){var n=e;dt(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;D(n,"name");for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),a=0;a<o.length;a++){var i=o[a];if(i!==e&&i.form===e.form){var l=ec(i);if(!l)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");tt(i),dt(i,l)}}}}(n,t)}function ht(e,t,n){"number"===t&&nt(e.ownerDocument)===e||(null==n?e.defaultValue=Ye(e._wrapperState.initialValue):e.defaultValue!==Ye(n)&&(e.defaultValue=Ye(n)))}var mt=!1,vt=!1,gt=!1;function yt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(vt||(vt=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):null!=n.dangerouslySetInnerHTML&&(gt||(gt=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||mt||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),mt=!0)}var bt,wt=Array.isArray;function _t(e){return wt(e)}function kt(){var e=We();return e?"\n\nCheck the render method of `"+e+"`.":""}bt=!1;var St=["value","defaultValue"];function xt(e,t,n,r){var o=e.options;if(t){for(var a=n,i={},l=0;l<a.length;l++)i["$"+a[l]]=!0;for(var s=0;s<o.length;s++){var u=i.hasOwnProperty("$"+o[s].value);o[s].selected!==u&&(o[s].selected=u),u&&r&&(o[s].defaultSelected=!0)}}else{for(var c=Ye(Ge(n)),d=null,f=0;f<o.length;f++){if(o[f].value===c)return o[f].selected=!0,void(r&&(o[f].defaultSelected=!0));null!==d||o[f].disabled||(d=o[f])}null!==d&&(d.selected=!0)}}function Et(e,t){return ke({},t,{value:void 0})}function Ct(e,t){var n=e;!function(e){Xe(0,e);for(var t=0;t<St.length;t++){var n=St[t];if(null!=e[n]){var r=_t(e[n]);e.multiple&&!r?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,kt()):!e.multiple&&r&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,kt())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||bt||(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),bt=!0)}var Tt=!1;function Ot(e,t){var n=e;if(null!=t.dangerouslySetInnerHTML)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return ke({},t,{value:void 0,defaultValue:void 0,children:Ye(n._wrapperState.initialValue)})}function Nt(e,t){var n=e;Xe(0,t),void 0===t.value||void 0===t.defaultValue||Tt||(a("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",We()||"A component"),Tt=!0);var r=t.value;if(null==r){var o=t.children,i=t.defaultValue;if(null!=o){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(_t(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}i=o}null==i&&(i=""),r=i}n._wrapperState={initialValue:Ge(r)}}function Rt(e,t){var n=e,r=Ge(t.value),o=Ge(t.defaultValue);if(null!=r){var a=Ye(r);a!==n.value&&(n.value=a),null==t.defaultValue&&n.defaultValue!==a&&(n.defaultValue=a)}null!=o&&(n.defaultValue=Ye(o))}function Pt(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var Dt="http://www.w3.org/1999/xhtml",Mt="http://www.w3.org/2000/svg";function Lt(e){switch(e){case"svg":return Mt;case"math":return"http://www.w3.org/1998/Math/MathML";default:return Dt}}function It(e,t){return null==e||e===Dt?Lt(t):e===Mt&&"foreignObject"===t?Dt:e}var At,zt,jt=(zt=function(e,t){if(e.namespaceURI!==Mt||"innerHTML"in e)e.innerHTML=t;else{(At=At||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=At.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return zt(e,t,n,r)})}:zt),Vt=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t},Ut={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Ft={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var Bt=["Webkit","ms","Moz","O"];function Wt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ft.hasOwnProperty(e)&&Ft[e]?(function(e,t){if(R(e))a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,N(e)),P(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(Ft).forEach(function(e){Bt.forEach(function(t){Ft[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=Ft[e]})});var Ht=/([A-Z])/g,$t=/^ms-/;function qt(e){return e.replace(Ht,"-$1").toLowerCase().replace($t,"-ms-")}var Kt=/^(?:webkit|moz|o)[A-Z]/,Yt=/^-ms-/,Gt=/-(.)/g,Qt=/;\s*$/,Xt={},Jt={},Zt=!1,en=!1,tn=function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,a("Unsupported style property %s. Did you mean %s?",e,e.replace(Yt,"ms-").replace(Gt,function(e,t){return t.toUpperCase()})))},nn=function(e,t){e.indexOf("-")>-1?tn(e):Kt.test(e)?function(e){Xt.hasOwnProperty(e)&&Xt[e]||(Xt[e]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Qt.test(t)&&function(e,t){Jt.hasOwnProperty(t)&&Jt[t]||(Jt[t]=!0,a('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Qt,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e){Zt||(Zt=!0,a("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e){en||(en=!0,a("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function rn(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o){var a=0===r.indexOf("--");t+=n+(a?r:qt(r))+":",t+=Wt(r,o,a),n=";"}}return t||null}function on(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||nn(r,t[r]);var a=Wt(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,a):n[r]=a}}function an(e){return null==e||"boolean"==typeof e||""===e}function ln(e){var t={};for(var n in e)for(var r=Ut[n]||[n],o=0;o<r.length;o++)t[r[o]]=n;return t}var sn=ke({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 un(e,t){if(t){if(sn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function cn(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}}var dn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},fn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},pn={},hn=new RegExp("^(aria)-["+I+"]*$"),mn=new RegExp("^(aria)[A-Z]["+I+"]*$");function vn(e,t){if(T.call(pn,t)&&pn[t])return!0;if(mn.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=fn.hasOwnProperty(n)?n:null;if(null==r)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),pn[t]=!0,!0;if(t!==r)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),pn[t]=!0,!0}if(hn.test(t)){var o=t.toLowerCase(),i=fn.hasOwnProperty(o)?o:null;if(null==i)return pn[t]=!0,!1;if(t!==i)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),pn[t]=!0,!0}return!0}function gn(e,t){cn(e,t)||function(e,t){var n=[];for(var r in t)vn(0,r)||n.push(r);var o=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e):n.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e)}(e,t)}var yn=!1;var bn,wn={},_n=/^on./,kn=/^on[^A-Z]/,Sn=new RegExp("^(aria)-["+I+"]*$"),xn=new RegExp("^(aria)[A-Z]["+I+"]*$");bn=function(e,t,n,r){if(T.call(wn,t)&&wn[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),wn[t]=!0,!0;if(null!=r){var i=r.registrationNameDependencies,l=r.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var s=l.hasOwnProperty(o)?l[o]:null;if(null!=s)return a("Invalid event handler property `%s`. Did you mean `%s`?",t,s),wn[t]=!0,!0;if(_n.test(t))return a("Unknown event handler property `%s`. It will be ignored.",t),wn[t]=!0,!0}else if(_n.test(t))return kn.test(t)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),wn[t]=!0,!0;if(Sn.test(t)||xn.test(t))return!0;if("innerhtml"===o)return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),wn[t]=!0,!0;if("aria"===o)return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),wn[t]=!0,!0;if("is"===o&&null!=n&&"string"!=typeof n)return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),wn[t]=!0,!0;if("number"==typeof n&&isNaN(n))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),wn[t]=!0,!0;var u=W(t),c=null!==u&&0===u.type;if(dn.hasOwnProperty(o)){var d=dn[o];if(d!==t)return a("Invalid DOM property `%s`. Did you mean `%s`?",t,d),wn[t]=!0,!0}else if(!c&&t!==o)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),wn[t]=!0,!0;return"boolean"==typeof n&&F(t,n,u,!1)?(n?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),wn[t]=!0,!0):!!c||(F(t,n,u,!1)?(wn[t]=!0,!1):("false"!==n&&"true"!==n||null===u||3!==u.type||(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),wn[t]=!0),!0))};function En(e,t,n){cn(e,t)||function(e,t,n){var r=[];for(var o in t)bn(0,o,t[o],n)||r.push(o);var i=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e):r.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e)}(e,t,n)}var Cn=null;function Tn(e){null!==Cn&&a("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Cn=e}function On(){null===Cn&&a("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Cn=null}function Nn(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Rn=null,Pn=null,Dn=null;function Mn(e){var t=Ju(e);if(t){if("function"!=typeof Rn)throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=ec(n);Rn(t.stateNode,t.type,r)}}}function Ln(e){Pn?Dn?Dn.push(e):Dn=[e]:Pn=e}function In(){if(Pn){var e=Pn,t=Dn;if(Pn=null,Dn=null,Mn(e),t)for(var n=0;n<t.length;n++)Mn(t[n])}}var An=function(e,t){return e(t)},zn=function(){},jn=!1;function Vn(){(null!==Pn||null!==Dn)&&(zn(),In())}function Un(e,t,n){if(jn)return e(t,n);jn=!0;try{return An(e,t,n)}finally{jn=!1,Vn()}}function Fn(e,t){var n=e.stateNode;if(null===n)return null;var r=ec(n);if(null===r)return null;var o=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,r))return null;if(o&&"function"!=typeof o)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var Bn=!1;if(C)try{var Wn={};Object.defineProperty(Wn,"passive",{get:function(){Bn=!0}}),window.addEventListener("test",Wn,Wn),window.removeEventListener("test",Wn,Wn)}catch(i_){Bn=!1}function Hn(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var $n=Hn;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var qn=document.createElement("react");$n=function(e,t,n,r,o,a,i,l,s){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var u=document.createEvent("Event"),c=!1,d=!0,f=window.event,p=Object.getOwnPropertyDescriptor(window,"event");function h(){qn.removeEventListener(_,g,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=f)}var m,v=Array.prototype.slice.call(arguments,3);function g(){c=!0,h(),t.apply(n,v),d=!1}var y=!1,b=!1;function w(e){if(m=e.error,y=!0,null===m&&0===e.colno&&0===e.lineno&&(b=!0),e.defaultPrevented&&null!=m&&"object"==typeof m)try{m._suppressLogging=!0}catch(t){}}var _="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",w),qn.addEventListener(_,g,!1),u.initEvent(_,!1,!1),qn.dispatchEvent(u),p&&Object.defineProperty(window,"event",p),c&&d&&(y?b&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(m)),window.removeEventListener("error",w),!c)return h(),Hn.apply(this,arguments)}}var Kn=$n,Yn=!1,Gn=null,Qn=!1,Xn=null,Jn={onError:function(e){Yn=!0,Gn=e}};function Zn(e,t,n,r,o,a,i,l,s){Yn=!1,Gn=null,Kn.apply(Jn,arguments)}function er(){if(Yn){var e=Gn;return Yn=!1,Gn=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function tr(e){return e._reactInternals}var nr=16,rr=128,or=256,ar=512,ir=1024,lr=2048,sr=4096,ur=8192,cr=16384,dr=32768,fr=65536,pr=131072,hr=1048576,mr=2097152,vr=4194304,gr=16777216,yr=33554432,br=1028,wr=12854,_r=8772,kr=2064,Sr=14680064,xr=n.ReactCurrentOwner;function Er(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{4098&(t=r).flags&&(n=t.return),r=t.return}while(r)}return 3===t.tag?n:null}function Cr(e){if(e.tag===c){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function Tr(e){return 3===e.tag?e.stateNode.containerInfo:null}function Or(e){if(Er(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Nr(e){var t=e.alternate;if(!t){var n=Er(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){var l=a.return;if(null!==l){r=o=l;continue}break}if(a.child===i.child){for(var s=a.child;s;){if(s===r)return Or(a),e;if(s===o)return Or(a),t;s=s.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=a,o=i;else{for(var u=!1,c=a.child;c;){if(c===r){u=!0,r=a,o=i;break}if(c===o){u=!0,o=a,r=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===r){u=!0,r=i,o=a;break}if(c===o){u=!0,o=i,r=a;break}c=c.sibling}if(!u)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==r.tag)throw new Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function Rr(e){var t=Nr(e);return null!==t?Pr(t):null}function Pr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=Pr(t);if(null!==n)return n;t=t.sibling}return null}function Dr(e){var t=Nr(e);return null!==t?Mr(t):null}function Mr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){if(4!==t.tag){var n=Mr(t);if(null!==n)return n}t=t.sibling}return null}var Lr=t.unstable_scheduleCallback,Ir=t.unstable_cancelCallback,Ar=t.unstable_shouldYield,zr=t.unstable_requestPaint,jr=t.unstable_now,Vr=t.unstable_getCurrentPriorityLevel,Ur=t.unstable_ImmediatePriority,Fr=t.unstable_UserBlockingPriority,Br=t.unstable_NormalPriority,Wr=t.unstable_LowPriority,Hr=t.unstable_IdlePriority,$r=t.unstable_yieldValue,qr=t.unstable_setDisableYieldValue,Kr=null,Yr=null,Gr=null,Qr=!1,Xr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Jr(e){if("function"==typeof $r&&(qr(e),r=e),Yr&&"function"==typeof Yr.setStrictMode)try{Yr.setStrictMode(Kr,e)}catch(t){Qr||(Qr=!0,a("React instrumentation encountered an error: %s",t))}}function Zr(e){Gr=e}function eo(){for(var e=new Map,t=1,n=0;n<ko;n++){var r=na(t);e.set(t,r),t*=2}return e}function to(){null!==Gr&&"function"==typeof Gr.markCommitStopped&&Gr.markCommitStopped()}function no(e){null!==Gr&&"function"==typeof Gr.markComponentRenderStarted&&Gr.markComponentRenderStarted(e)}function ro(){null!==Gr&&"function"==typeof Gr.markComponentRenderStopped&&Gr.markComponentRenderStopped()}function oo(e){null!==Gr&&"function"==typeof Gr.markComponentPassiveEffectMountStarted&&Gr.markComponentPassiveEffectMountStarted(e)}function ao(){null!==Gr&&"function"==typeof Gr.markComponentPassiveEffectMountStopped&&Gr.markComponentPassiveEffectMountStopped()}function io(e){null!==Gr&&"function"==typeof Gr.markComponentPassiveEffectUnmountStarted&&Gr.markComponentPassiveEffectUnmountStarted(e)}function lo(){null!==Gr&&"function"==typeof Gr.markComponentPassiveEffectUnmountStopped&&Gr.markComponentPassiveEffectUnmountStopped()}function so(e){null!==Gr&&"function"==typeof Gr.markComponentLayoutEffectMountStarted&&Gr.markComponentLayoutEffectMountStarted(e)}function uo(){null!==Gr&&"function"==typeof Gr.markComponentLayoutEffectMountStopped&&Gr.markComponentLayoutEffectMountStopped()}function co(e){null!==Gr&&"function"==typeof Gr.markComponentLayoutEffectUnmountStarted&&Gr.markComponentLayoutEffectUnmountStarted(e)}function fo(){null!==Gr&&"function"==typeof Gr.markComponentLayoutEffectUnmountStopped&&Gr.markComponentLayoutEffectUnmountStopped()}function po(e,t,n){null!==Gr&&"function"==typeof Gr.markComponentErrored&&Gr.markComponentErrored(e,t,n)}function ho(e,t,n){null!==Gr&&"function"==typeof Gr.markComponentSuspended&&Gr.markComponentSuspended(e,t,n)}function mo(e){null!==Gr&&"function"==typeof Gr.markRenderStarted&&Gr.markRenderStarted(e)}function vo(){null!==Gr&&"function"==typeof Gr.markRenderStopped&&Gr.markRenderStopped()}function go(e,t){null!==Gr&&"function"==typeof Gr.markStateUpdateScheduled&&Gr.markStateUpdateScheduled(e,t)}var yo=16,bo=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(wo(t)/_o|0)|0},wo=Math.log,_o=Math.LN2;var ko=31,So=1,Eo=2,Co=4,To=8,No=16,Ro=32,Po=4194240,Do=1024,Mo=2048,Lo=4096,Io=8192,Ao=16384,zo=32768,jo=65536,Vo=131072,Uo=262144,Fo=524288,Bo=1048576,Wo=2097152,Ho=130023424,$o=4194304,qo=8388608,Ko=16777216,Yo=33554432,Go=67108864,Qo=$o,Xo=134217728,Jo=268435455,Zo=268435456,ea=536870912,ta=1073741824;function na(e){return e&So?"Sync":e&Eo?"InputContinuousHydration":e&Co?"InputContinuous":e&To?"DefaultHydration":e&No?"Default":e&Ro?"TransitionHydration":e&Po?"Transition":e&Ho?"Retry":e&Xo?"SelectiveHydration":e&Zo?"IdleHydration":e&ea?"Idle":e&ta?"Offscreen":void 0}var ra=-1,oa=64,aa=$o;function ia(e){switch(ma(e)){case So:return So;case Eo:return Eo;case Co:return Co;case To:return To;case No:return No;case Ro:return Ro;case 64:case 128:case 256:case 512:case Do:case Mo:case Lo:case Io:case Ao:case zo:case jo:case Vo:case Uo:case Fo:case Bo:case Wo:return e&Po;case $o:case qo:case Ko:case Yo:case Go:return e&Ho;case Xo:return Xo;case Zo:return Zo;case ea:return ea;case ta:return ta;default:return a("Should have found matching lanes. This is a bug in React."),e}}function la(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=n&Jo;if(0!==i){var l=i&~o;if(0!==l)r=ia(l);else{var s=i&a;0!==s&&(r=ia(s))}}else{var u=n&~o;0!==u?r=ia(u):0!==a&&(r=ia(a))}if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)){var c=ma(r),d=ma(t);if(c>=d||c===No&&0!==(d&Po))return t}0!==(r&Co)&&(r|=n&No);var f=e.entangledLanes;if(0!==f)for(var p=e.entanglements,h=r&f;h>0;){var m=ga(h),v=1<<m;r|=p[m],h&=~v}return r}function sa(e,t){switch(e){case So:case Eo:case Co:return t+250;case To:case No:case Ro:case 64:case 128:case 256:case 512:case Do:case Mo:case Lo:case Io:case Ao:case zo:case jo:case Vo:case Uo:case Fo:case Bo:case Wo:return t+5e3;case $o:case qo:case Ko:case Yo:case Go:case Xo:case Zo:case ea:case ta:return ra;default:return a("Should have found matching lanes. This is a bug in React."),ra}}function ua(e){var t=e.pendingLanes&~ta;return 0!==t?t:t&ta?ta:0}function ca(e){return 0!==(e&Jo)}function da(e){return(e&Ho)===e}function fa(e,t){return 0!==(t&(Eo|Co|To|No))}function pa(e){return 0!==(e&Po)}function ha(){var e=oa;return 0===((oa<<=1)&Po)&&(oa=64),e}function ma(e){return e&-e}function va(e){return ma(e)}function ga(e){return 31-bo(e)}function ya(e){return ga(e)}function ba(e,t){return 0!==(e&t)}function wa(e,t){return(e&t)===t}function _a(e,t){return e|t}function ka(e,t){return e&~t}function Sa(e,t){return e&t}function xa(e){for(var t=[],n=0;n<ko;n++)t.push(e);return t}function Ea(e,t,n){e.pendingLanes|=t,t!==ea&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[ya(t)]=n}function Ca(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function Ta(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,o=n;o;){var a=ga(o),i=1<<a;i&t|r[a]&t&&(r[a]|=t),o&=~i}}function Oa(e,t,n){if(Xr)for(var r=e.pendingUpdatersLaneMap;n>0;){var o=ya(n),a=1<<o;r[o].add(t),n&=~a}}function Na(e,t){if(Xr)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var o=ya(t),a=1<<o,i=n[o];i.size>0&&(i.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),i.clear()),t&=~a}}var Ra,Pa,Da,Ma,La,Ia=So,Aa=Co,za=No,ja=ea,Va=0;function Ua(){return Va}function Fa(e){Va=e}function Ba(e,t){return 0!==e&&e<t}function Wa(e){var t=ma(e);return Ba(Ia,t)?Ba(Aa,t)?ca(t)?za:ja:Aa:Ia}function Ha(e){return e.current.memoizedState.isDehydrated}function $a(e){Ra(e)}var qa=!1,Ka=[],Ya=null,Ga=null,Qa=null,Xa=new Map,Ja=new Map,Za=[],ei=["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"];function ti(e,t){switch(e){case"focusin":case"focusout":Ya=null;break;case"dragenter":case"dragleave":Ga=null;break;case"mouseover":case"mouseout":Qa=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Xa.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;Ja.delete(r)}}function ni(e,t,n,r,o,a){if(null===e||e.nativeEvent!==a){var i=function(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]}}(t,n,r,o,a);if(null!==t){var l=Ju(t);null!==l&&Pa(l)}return i}e.eventSystemFlags|=r;var s=e.targetContainers;return null!==o&&-1===s.indexOf(o)&&s.push(o),e}function ri(e){var t=Xu(e.target);if(null!==t){var n=Er(t);if(null!==n){var r=n.tag;if(r===c){var o=Cr(n);if(null!==o)return e.blockedOn=o,void La(e.priority,function(){Da(n)})}else if(3===r){if(Ha(n.stateNode))return void(e.blockedOn=Tr(n))}}}e.blockedOn=null}function oi(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],r=vi(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(null!==r){var o=Ju(r);return null!==o&&Pa(o),e.blockedOn=r,!1}var a=e.nativeEvent,i=new a.constructor(a.type,a);Tn(i),a.target.dispatchEvent(i),On(),t.shift()}return!0}function ai(e,t,n){oi(e)&&n.delete(t)}function ii(){qa=!1,null!==Ya&&oi(Ya)&&(Ya=null),null!==Ga&&oi(Ga)&&(Ga=null),null!==Qa&&oi(Qa)&&(Qa=null),Xa.forEach(ai),Ja.forEach(ai)}function li(e,n){e.blockedOn===n&&(e.blockedOn=null,qa||(qa=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,ii)))}function si(e){if(Ka.length>0){li(Ka[0],e);for(var t=1;t<Ka.length;t++){var n=Ka[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Ya&&li(Ya,e),null!==Ga&&li(Ga,e),null!==Qa&&li(Qa,e);var r=function(t){return li(t,e)};Xa.forEach(r),Ja.forEach(r);for(var o=0;o<Za.length;o++){var a=Za[o];a.blockedOn===e&&(a.blockedOn=null)}for(;Za.length>0;){var i=Za[0];if(null!==i.blockedOn)break;ri(i),null===i.blockedOn&&Za.shift()}}var ui=n.ReactCurrentBatchConfig,ci=!0;function di(e){ci=!!e}function fi(e,t,n,r){var o=Ua(),a=ui.transition;ui.transition=null;try{Fa(Ia),hi(e,t,n,r)}finally{Fa(o),ui.transition=a}}function pi(e,t,n,r){var o=Ua(),a=ui.transition;ui.transition=null;try{Fa(Aa),hi(e,t,n,r)}finally{Fa(o),ui.transition=a}}function hi(e,t,n,r){ci&&function(e,t,n,r){var o=vi(e,t,n,r);if(null===o)return ks(e,t,r,mi,n),void ti(e,r);if(function(e,t,n,r,o){switch(t){case"focusin":return Ya=ni(Ya,e,t,n,r,o),!0;case"dragenter":return Ga=ni(Ga,e,t,n,r,o),!0;case"mouseover":return Qa=ni(Qa,e,t,n,r,o),!0;case"pointerover":var a=o,i=a.pointerId;return Xa.set(i,ni(Xa.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":var l=o,s=l.pointerId;return Ja.set(s,ni(Ja.get(s)||null,e,t,n,r,l)),!0}return!1}(o,e,t,n,r))return void r.stopPropagation();if(ti(e,r),4&t&&function(e){return ei.indexOf(e)>-1}(e)){for(;null!==o;){var a=Ju(o);null!==a&&$a(a);var i=vi(e,t,n,r);if(null===i&&ks(e,t,r,mi,n),i===o)break;o=i}return void(null!==o&&r.stopPropagation())}ks(e,t,r,null,n)}(e,t,n,r)}var mi=null;function vi(e,t,n,r){mi=null;var o=Xu(Nn(r));if(null!==o){var a=Er(o);if(null===a)o=null;else{var i=a.tag;if(i===c){var l=Cr(a);if(null!==l)return l;o=null}else if(3===i){if(Ha(a.stateNode))return Tr(a);o=null}else a!==o&&(o=null)}}return mi=o,null}function gi(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Ia;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Aa;case"message":switch(Vr()){case Ur:return Ia;case Fr:return Aa;case Br:case Wr:return za;case Hr:return ja;default:return za}default:return za}}var yi=null,bi=null,wi=null;function _i(){if(wi)return wi;var e,t,n=bi,r=n.length,o=ki(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var l=t>1?1-t:void 0;return wi=o.slice(e,l)}function ki(){return"value"in yi?yi.value:yi.textContent}function Si(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function xi(){return!0}function Ei(){return!1}function Ci(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var l=e[i];this[i]=l?l(o):o[i]}var s=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=s?xi:Ei,this.isPropagationStopped=Ei,this}return ke(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=xi)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=xi)},persist:function(){},isPersistent:xi}),t}var Ti,Oi,Ni,Ri={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pi=Ci(Ri),Di=ke({},Ri,{view:0,detail:0}),Mi=Ci(Di);var Li=ke({},Di,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qi,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:(function(e){e!==Ni&&(Ni&&"mousemove"===e.type?(Ti=e.screenX-Ni.screenX,Oi=e.screenY-Ni.screenY):(Ti=0,Oi=0),Ni=e)}(e),Ti)},movementY:function(e){return"movementY"in e?e.movementY:Oi}}),Ii=Ci(Li),Ai=Ci(ke({},Li,{dataTransfer:0})),zi=Ci(ke({},Di,{relatedTarget:0})),ji=Ci(ke({},Ri,{animationName:0,elapsedTime:0,pseudoElement:0})),Vi=Ci(ke({},Ri,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ui=Ci(ke({},Ri,{data:0})),Fi=Ui,Bi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wi={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"};var Hi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $i(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Hi[e];return!!n&&!!t[n]}function qi(e){return $i}var Ki=Ci(ke({},Di,{key:function(e){if(e.key){var t=Bi[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=Si(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?Wi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qi,charCode:function(e){return"keypress"===e.type?Si(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Si(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Yi=Ci(ke({},Li,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Gi=Ci(ke({},Di,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qi})),Qi=Ci(ke({},Ri,{propertyName:0,elapsedTime:0,pseudoElement:0})),Xi=Ci(ke({},Li,{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})),Ji=[9,13,27,32],Zi=229,el=C&&"CompositionEvent"in window,tl=null;C&&"documentMode"in document&&(tl=document.documentMode);var nl=C&&"TextEvent"in window&&!tl,rl=C&&(!el||tl&&tl>8&&tl<=11),ol=32,al=String.fromCharCode(ol);var il=!1;function ll(e,t){switch(e){case"keyup":return-1!==Ji.indexOf(t.keyCode);case"keydown":return t.keyCode!==Zi;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sl(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function ul(e){return"ko"===e.locale}var cl=!1;function dl(e,t,n,r,o){var a,i;if(el?a=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):cl?ll(t,r)&&(a="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===Zi}(t,r)&&(a="onCompositionStart"),!a)return null;rl&&!ul(r)&&(cl||"onCompositionStart"!==a?"onCompositionEnd"===a&&cl&&(i=_i()):cl=function(e){return yi=e,bi=ki(),!0}(o));var l=xs(n,a);if(l.length>0){var s=new Ui(a,t,null,r,o);if(e.push({event:s,listeners:l}),i)s.data=i;else{var u=sl(r);null!==u&&(s.data=u)}}}function fl(e,t){if(cl){if("compositionend"===e||!el&&ll(e,t)){var n=_i();return yi=null,bi=null,wi=null,cl=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return rl&&!ul(t)?null:t.data}}function pl(e,t,n,r,o){var a;if(!(a=nl?function(e,t){switch(e){case"compositionend":return sl(t);case"keypress":return t.which!==ol?null:(il=!0,al);case"textInput":var n=t.data;return n===al&&il?null:n;default:return null}}(t,r):fl(t,r)))return null;var i=xs(n,"onBeforeInput");if(i.length>0){var l=new Fi("onBeforeInput","beforeinput",null,r,o);e.push({event:l,listeners:i}),l.data=a}}var hl={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 ml(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!hl[e.type]:"textarea"===t}function vl(e,t,n,r){Ln(r);var o=xs(t,"onChange");if(o.length>0){var a=new Pi("onChange","change",null,n,r);e.push({event:a,listeners:o})}}var gl=null,yl=null;function bl(e){ms(e,0)}function wl(e){if(tt(Zu(e)))return e}function _l(e,t){if("change"===e)return t}var kl=!1;function Sl(){gl&&(gl.detachEvent("onpropertychange",xl),gl=null,yl=null)}function xl(e){"value"===e.propertyName&&wl(yl)&&function(e){var t=[];vl(t,yl,e,Nn(e)),Un(bl,t)}(e)}function El(e,t,n){"focusin"===e?(Sl(),function(e,t){yl=t,(gl=e).attachEvent("onpropertychange",xl)}(t,n)):"focusout"===e&&Sl()}function Cl(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return wl(yl)}function Tl(e,t){if("click"===e)return wl(t)}function Ol(e,t){if("input"===e||"change"===e)return wl(t)}function Nl(e,t,n,r,o,a,i){var l,s,u,c,d,f,p=n?Zu(n):window;if("select"===(c=(u=p).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?l=_l:ml(p)?kl?l=Ol:(l=Cl,s=El):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(l=Tl),l){var h=l(t,n);if(h)return void vl(e,h,r,o)}s&&s(t,p,n),"focusout"===t&&(f=(d=p)._wrapperState)&&f.controlled&&"number"===d.type&&ht(d,"number",d.value)}function Rl(e,t,n,r,o,a,i){var l="mouseover"===t||"pointerover"===t,s="mouseout"===t||"pointerout"===t;if(l&&r!==Cn){var u=r.relatedTarget||r.fromElement;if(u&&(Xu(u)||Qu(u)))return}if(s||l){var c,d,f;if(o.window===o)c=o;else{var p=o.ownerDocument;c=p?p.defaultView||p.parentWindow:window}if(s){var h=r.relatedTarget||r.toElement;if(d=n,null!==(f=h?Xu(h):null))(f!==Er(f)||5!==f.tag&&6!==f.tag)&&(f=null)}else d=null,f=n;if(d!==f){var m=Ii,v="onMouseLeave",g="onMouseEnter",y="mouse";"pointerout"!==t&&"pointerover"!==t||(m=Yi,v="onPointerLeave",g="onPointerEnter",y="pointer");var b=null==d?c:Zu(d),w=null==f?c:Zu(f),_=new m(v,y+"leave",d,r,o);_.target=b,_.relatedTarget=w;var k=null;if(Xu(o)===n){var S=new m(g,y+"enter",f,r,o);S.target=w,S.relatedTarget=b,k=S}!function(e,t,n,r,o){var a=r&&o?function(e,t){for(var n=e,r=t,o=0,a=n;a;a=Es(a))o++;for(var i=0,l=r;l;l=Es(l))i++;for(;o-i>0;)n=Es(n),o--;for(;i-o>0;)r=Es(r),i--;var s=o;for(;s--;){if(n===r||null!==r&&n===r.alternate)return n;n=Es(n),r=Es(r)}return null}(r,o):null;null!==r&&Cs(e,t,r,a,!1);null!==o&&null!==n&&Cs(e,n,o,a,!0)}(e,_,k,d,f)}}}C&&(kl=function(e){if(!C)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var Pl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Dl(e,t){if(Pl(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(var o=0;o<n.length;o++){var a=n[o];if(!T.call(t,a)||!Pl(e[a],t[a]))return!1}return!0}function Ml(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ll(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Il(e,t){for(var n=Ml(e),r=0,o=0;n;){if(3===n.nodeType){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=Ml(Ll(n))}}function Al(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{o.nodeType,i.nodeType}catch(i_){return null}return function(e,t,n,r,o){var a=0,i=-1,l=-1,s=0,u=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&3!==c.nodeType||(i=a+n),c!==r||0!==o&&3!==c.nodeType||(l=a+o),3===c.nodeType&&(a+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++s===n&&(i=a),d===r&&++u===o&&(l=a),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}if(-1===i||-1===l)return null;return{start:i,end:l}}(e,o,a,i,l)}function zl(e){return e&&3===e.nodeType}function jl(e,t){return!(!e||!t)&&(e===t||!zl(e)&&(zl(t)?jl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Vl(e){return e&&e.ownerDocument&&jl(e.ownerDocument.documentElement,e)}function Ul(e){try{return"string"==typeof e.contentWindow.location.href}catch(t){return!1}}function Fl(){for(var e=window,t=nt();t instanceof e.HTMLIFrameElement;){if(!Ul(t))return t;t=nt((e=t.contentWindow).document)}return t}function Bl(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)}function Wl(e){var t=Fl(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Vl(n)){null!==r&&Bl(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),l=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>l){var s=l;l=i,i=s}var u=Il(e,i),c=Il(e,l);if(u&&c){if(1===o.rangeCount&&o.anchorNode===u.node&&o.anchorOffset===u.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),o.removeAllRanges(),i>l?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],a=n;a=a.parentNode;)1===a.nodeType&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<o.length;i++){var l=o[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function Hl(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Al(e))||{start:0,end:0}}var $l=C&&"documentMode"in document&&document.documentMode<=11;var ql=null,Kl=null,Yl=null,Gl=!1;function Ql(e,t,n){var r,o=(r=n).window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!Gl&&null!=ql&&ql===nt(o)){var a=function(e){if("selectionStart"in e&&Bl(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(ql);if(!Yl||!Dl(Yl,a)){Yl=a;var i=xs(Kl,"onSelect");if(i.length>0){var l=new Pi("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=ql}}}}function Xl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Jl={animationend:Xl("Animation","AnimationEnd"),animationiteration:Xl("Animation","AnimationIteration"),animationstart:Xl("Animation","AnimationStart"),transitionend:Xl("Transition","TransitionEnd")},Zl={},es={};function ts(e){if(Zl[e])return Zl[e];if(!Jl[e])return e;var t=Jl[e];for(var n in t)if(t.hasOwnProperty(n)&&n in es)return Zl[e]=t[n];return e}C&&(es=document.createElement("div").style,"AnimationEvent"in window||(delete Jl.animationend.animation,delete Jl.animationiteration.animation,delete Jl.animationstart.animation),"TransitionEvent"in window||delete Jl.transitionend.transition);var ns=ts("animationend"),rs=ts("animationiteration"),os=ts("animationstart"),as=ts("transitionend"),is=new Map,ls=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function ss(e,t){is.set(e,t),x(t,[e])}function us(e,t,n,r,o,a,i){var l=is.get(t);if(void 0!==l){var s=Pi,u=t;switch(t){case"keypress":if(0===Si(r))return;case"keydown":case"keyup":s=Ki;break;case"focusin":u="focus",s=zi;break;case"focusout":u="blur",s=zi;break;case"beforeblur":case"afterblur":s=zi;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Ii;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Ai;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Gi;break;case ns:case rs:case os:s=ji;break;case as:s=Qi;break;case"scroll":s=Mi;break;case"wheel":s=Xi;break;case"copy":case"cut":case"paste":s=Vi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Yi}var c=!!(4&a),d=!c&&"scroll"===t,f=function(e,t,n,r,o){var a=null!==t?t+"Capture":null,i=r?a:t,l=[],s=e,u=null;for(;null!==s;){var c=s,d=c.stateNode;if(5===c.tag&&null!==d&&(u=d,null!==i)){var f=Fn(s,i);null!=f&&l.push(Ss(s,f,u))}if(o)break;s=s.return}return l}(n,l,r.type,c,d);if(f.length>0){var p=new s(l,u,null,r,o);e.push({event:p,listeners:f})}}}function cs(e,t,n,r,o,a,i){us(e,t,n,r,o,a),!(7&a)&&(Rl(e,t,n,r,o),Nl(e,t,n,r,o),function(e,t,n,r,o){var a=n?Zu(n):window;switch(t){case"focusin":(ml(a)||"true"===a.contentEditable)&&(ql=a,Kl=n,Yl=null);break;case"focusout":ql=null,Kl=null,Yl=null;break;case"mousedown":Gl=!0;break;case"contextmenu":case"mouseup":case"dragend":Gl=!1,Ql(e,r,o);break;case"selectionchange":if($l)break;case"keydown":case"keyup":Ql(e,r,o)}}(e,t,n,r,o),function(e,t,n,r,o){dl(e,t,n,r,o),pl(e,t,n,r,o)}(e,t,n,r,o))}!function(){for(var e=0;e<ls.length;e++){var t=ls[e];ss(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}ss(ns,"onAnimationEnd"),ss(rs,"onAnimationIteration"),ss(os,"onAnimationStart"),ss("dblclick","onDoubleClick"),ss("focusin","onFocus"),ss("focusout","onBlur"),ss(as,"onTransitionEnd")}(),E("onMouseEnter",["mouseout","mouseover"]),E("onMouseLeave",["mouseout","mouseover"]),E("onPointerEnter",["pointerout","pointerover"]),E("onPointerLeave",["pointerout","pointerover"]),x("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),x("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),x("onBeforeInput",["compositionend","keypress","textInput","paste"]),x("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),x("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),x("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var ds=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],fs=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ds));function ps(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(Zn.apply(this,arguments),Yn){var u=er();Qn||(Qn=!0,Xn=u)}}(r,t,void 0,e),e.currentTarget=null}function hs(e,t,n){var r;if(n)for(var o=t.length-1;o>=0;o--){var a=t[o],i=a.instance,l=a.currentTarget,s=a.listener;if(i!==r&&e.isPropagationStopped())return;ps(e,s,l),r=i}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;ps(e,p,f),r=d}}function ms(e,t){for(var n=!!(4&t),r=0;r<e.length;r++){var o=e[r];hs(o.event,o.listeners,n)}!function(){if(Qn){var e=Xn;throw Qn=!1,Xn=null,e}}()}function vs(e,t){fs.has(e)||a('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[Hu];void 0===t&&(t=e[Hu]=new Set);return t}(t),r=function(e){return e+"__bubble"}(e);n.has(r)||(ws(t,e,2,!1),n.add(r))}function gs(e,t,n){fs.has(e)&&!t&&a('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),ws(n,e,r,t)}var ys="_reactListening"+Math.random().toString(36).slice(2);function bs(e){if(!e[ys]){e[ys]=!0,_.forEach(function(t){"selectionchange"!==t&&(fs.has(t)||gs(t,!1,e),gs(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null!==t&&(t[ys]||(t[ys]=!0,gs("selectionchange",!1,t)))}}function ws(e,t,n,r,o){var a=function(e,t,n){var r;switch(gi(t)){case Ia:r=fi;break;case Aa:r=pi;break;default:r=hi}return r.bind(null,t,n,e)}(e,t,n),i=void 0;Bn&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),r?void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,a):void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,a)}function _s(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function ks(e,t,n,r,o){var a=r;if(!(1&t||2&t)){var i=o;if(null!==r){var l=r;e:for(;;){if(null===l)return;var s=l.tag;if(3===s||4===s){var u=l.stateNode.containerInfo;if(_s(u,i))break;if(4===s)for(var c=l.return;null!==c;){var d=c.tag;if(3===d||4===d)if(_s(c.stateNode.containerInfo,i))return;c=c.return}for(;null!==u;){var f=Xu(u);if(null===f)return;var p=f.tag;if(5===p||6===p){l=a=f;continue e}u=u.parentNode}}l=l.return}}}Un(function(){return function(e,t,n,r){var o=[];cs(o,e,r,n,Nn(n),t),ms(o,t)}(e,t,n,a)})}function Ss(e,t,n){return{instance:e,listener:t,currentTarget:n}}function xs(e,t){for(var n=t+"Capture",r=[],o=e;null!==o;){var a=o,i=a.stateNode;if(5===a.tag&&null!==i){var l=i,s=Fn(o,n);null!=s&&r.unshift(Ss(o,s,l));var u=Fn(o,t);null!=u&&r.push(Ss(o,u,l))}o=o.return}return r}function Es(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Cs(e,t,n,r,o){for(var a=t._reactName,i=[],l=n;null!==l&&l!==r;){var s=l,u=s.alternate,c=s.stateNode,d=s.tag;if(null!==u&&u===r)break;if(5===d&&null!==c){var f=c;if(o){var p=Fn(l,a);null!=p&&i.unshift(Ss(l,p,f))}else if(!o){var h=Fn(l,a);null!=h&&i.push(Ss(l,h,f))}}l=l.return}0!==i.length&&e.push({event:t,listeners:i})}var Ts,Os,Ns,Rs,Ps,Ds,Ms,Ls=!1,Is="dangerouslySetInnerHTML",As="suppressContentEditableWarning",zs="suppressHydrationWarning",js="autoFocus",Vs="children",Us="style",Fs="__html";Ts={dialog:!0,webview:!0},Os=function(e,t){gn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||yn||(yn=!0,"select"===e&&t.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),En(e,t,{registrationNameDependencies:k,possibleRegistrationNames:S})},Ds=C&&!document.documentMode,Ns=function(e,t,n){if(!Ls){var r=Hs(n),o=Hs(t);o!==r&&(Ls=!0,a("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Rs=function(e){if(!Ls){Ls=!0;var t=[];e.forEach(function(e){t.push(e)}),a("Extra attributes from the server: %s",t)}},Ps=function(e,t){!1===t?a("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):a("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Ms=function(e,t){var n=e.namespaceURI===Dt?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Bs=/\r\n?/g,Ws=/\u0000|\uFFFD/g;function Hs(e){return function(e){if(R(e))a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",N(e)),P(e)}(e),("string"==typeof e?e:""+e).replace(Bs,"\n").replace(Ws,"")}function $s(e,t,n,r){var o=Hs(t),i=Hs(e);if(i!==o&&(r&&(Ls||(Ls=!0,a('Text content did not match. Server: "%s" Client: "%s"',i,o))),n))throw new Error("Text content does not match server-rendered HTML.")}function qs(e){return 9===e.nodeType?e:e.ownerDocument}function Ks(){}function Ys(e){e.onclick=Ks}function Gs(e,t,n,r){var o,a=cn(t,n);switch(Os(t,n),t){case"dialog":vs("cancel",e),vs("close",e),o=n;break;case"iframe":case"object":case"embed":vs("load",e),o=n;break;case"video":case"audio":for(var i=0;i<ds.length;i++)vs(ds[i],e);o=n;break;case"source":vs("error",e),o=n;break;case"img":case"image":case"link":vs("error",e),vs("load",e),o=n;break;case"details":vs("toggle",e),o=n;break;case"input":ut(e,n),o=st(e,n),vs("invalid",e);break;case"option":yt(0,n),o=n;break;case"select":Ct(e,n),o=Et(0,n),vs("invalid",e);break;case"textarea":Nt(e,n),o=Ot(e,n),vs("invalid",e);break;default:o=n}switch(un(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===Us)i&&Object.freeze(i),on(t,i);else if(a===Is){var l=i?i[Fs]:void 0;null!=l&&jt(t,l)}else a===Vs?"string"==typeof i?("textarea"!==e||""!==i)&&Vt(t,i):"number"==typeof i&&Vt(t,""+i):a===As||a===zs||a===js||(k.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&Ps(a,i),"onScroll"===a&&vs("scroll",t)):null!=i&&Z(t,a,i,o))}}(t,e,0,o,a),t){case"input":et(e),ft(e,n,!1);break;case"textarea":et(e),Pt(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Ye(Ge(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?xt(n,!!t.multiple,r,!1):null!=t.defaultValue&&xt(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Ys(e)}}function Qs(e,t,n,r,o){Os(t,r);var i,l,s,u,c=null;switch(t){case"input":i=st(e,n),l=st(e,r),c=[];break;case"select":i=Et(0,n),l=Et(0,r),c=[];break;case"textarea":i=Ot(e,n),l=Ot(e,r),c=[];break;default:l=r,"function"!=typeof(i=n).onClick&&"function"==typeof l.onClick&&Ys(e)}un(t,l);var d=null;for(s in i)if(!l.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if(s===Us){var f=i[s];for(u in f)f.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else s===Is||s===Vs||s===As||s===zs||s===js||(k.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in l){var p=l[s],h=null!=i?i[s]:void 0;if(l.hasOwnProperty(s)&&p!==h&&(null!=p||null!=h))if(s===Us)if(p&&Object.freeze(p),h){for(u in h)!h.hasOwnProperty(u)||p&&p.hasOwnProperty(u)||(d||(d={}),d[u]="");for(u in p)p.hasOwnProperty(u)&&h[u]!==p[u]&&(d||(d={}),d[u]=p[u])}else d||(c||(c=[]),c.push(s,d)),d=p;else if(s===Is){var m=p?p[Fs]:void 0,v=h?h[Fs]:void 0;null!=m&&v!==m&&(c=c||[]).push(s,m)}else s===Vs?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(s,""+p):s===As||s===zs||(k.hasOwnProperty(s)?(null!=p&&("function"!=typeof p&&Ps(s,p),"onScroll"===s&&vs("scroll",e)),c||h===p||(c=[])):(c=c||[]).push(s,p))}return d&&(!function(e,t){if(t){var n=ln(e),r=ln(t),o={};for(var i in n){var l=n[i],s=r[i];if(s&&l!==s){var u=l+","+s;if(o[u])continue;o[u]=!0,a("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",an(e[l])?"Removing":"Updating",l,s)}}}}(d,l[Us]),(c=c||[]).push(Us,d)),c}function Xs(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&ct(e,o);cn(n,r);switch(function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===Us?on(e,i):a===Is?jt(e,i):a===Vs?Vt(e,i):Z(e,a,i,r)}}(e,t,0,cn(n,o)),n){case"input":dt(e,o);break;case"textarea":Rt(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?xt(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?xt(n,!!t.multiple,t.defaultValue,!0):xt(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function Js(e){var t=e.toLowerCase();return dn.hasOwnProperty(t)&&dn[t]||null}function Zs(e,t){Ls||(Ls=!0,a("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function eu(e,t){Ls||(Ls=!0,a('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function tu(e,t,n){Ls||(Ls=!0,a("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function nu(e,t){""!==t&&(Ls||(Ls=!0,a('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var ru,ou,au=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],iu=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],lu=iu.concat(["button"]),su=["dd","dt","li","option","optgroup","p","rp","rt"],uu={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ou=function(e,t){var n=ke({},e||uu),r={tag:t};return-1!==iu.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==lu.indexOf(t)&&(n.pTagInButtonScope=null),-1!==au.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=r),n};var cu={};ru=function(e,t,n){var r=(n=n||uu).current,o=r&&r.tag;null!=t&&(null!=e&&a("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===su.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,l=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=i||l;if(s){var u=s.tag,c=!!i+"|"+e+"|"+u;if(!cu[c]){cu[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",i){var p="";"table"===u&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),a("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,f,p)}else a("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var du="suppressHydrationWarning",fu="$",pu="/$",hu="$?",mu="$!",vu=null,gu=null;function yu(e){var t;vu=ci,t=Fl(),gu={focusedElem:t,selectionRange:Bl(t)?Hl(t):null};return di(!1),null}function bu(e,t,n,r,o){var i=r;if(ru(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var l=""+t.children,s=ou(i.ancestorInfo,e);ru(null,l,s)}var u=function(e,t,n,r){var o,i,l=qs(n),s=r;if(s===Dt&&(s=Lt(e)),s===Dt){if((o=cn(e,t))||e===e.toLowerCase()||a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=l.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;i=u.removeChild(c)}else if("string"==typeof t.is)i=l.createElement(e,{is:t.is});else if(i=l.createElement(e),"select"===e){var d=i;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else i=l.createElementNS(s,e);return s===Dt&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||T.call(Ts,e)||(Ts[e]=!0,a("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return Ku(o,u),tc(u,t),u}function wu(e,t){e.appendChild(t)}function _u(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function ku(e,t,n,r){ru(null,e,n.ancestorInfo);var o=function(e,t){return qs(t).createTextNode(e)}(e,t);return Ku(r,o),o}var Su="function"==typeof setTimeout?setTimeout:void 0,xu="function"==typeof clearTimeout?clearTimeout:void 0,Eu="function"==typeof Promise?Promise:void 0,Cu="function"==typeof queueMicrotask?queueMicrotask:void 0!==Eu?function(e){return Eu.resolve(null).then(e).catch(Tu)}:Su;function Tu(e){setTimeout(function(){throw e})}function Ou(e){Vt(e,"")}function Nu(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType){var a=o.data;if(a===pu){if(0===r)return e.removeChild(o),void si(t);r--}else a!==fu&&a!==hu&&a!==mu||r++}n=o}while(n);si(t)}function Ru(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Pu(e){e.nodeValue=""}function Du(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Wt("display",r)}function Mu(e,t){e.nodeValue=t}function Lu(e){return e.data===hu}function Iu(e){return e.data===mu}function Au(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){var n=e.data;if(n===fu||n===mu||n===hu)break;if(n===pu)return null}}return e}function zu(e){return Au(e.nextSibling)}function ju(e,t,n,r,o,a,i){return Ku(a,e),tc(e,n),function(e,t,n,r,o,a,i){var l,s;switch(l=cn(t,n),Os(t,n),t){case"dialog":vs("cancel",e),vs("close",e);break;case"iframe":case"object":case"embed":vs("load",e);break;case"video":case"audio":for(var u=0;u<ds.length;u++)vs(ds[u],e);break;case"source":vs("error",e);break;case"img":case"image":case"link":vs("error",e),vs("load",e);break;case"details":vs("toggle",e);break;case"input":ut(e,n),vs("invalid",e);break;case"option":yt(0,n);break;case"select":Ct(e,n),vs("invalid",e);break;case"textarea":Nt(e,n),vs("invalid",e)}un(t,n),s=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:s.add(c[d].name)}var f=null;for(var p in n)if(n.hasOwnProperty(p)){var h=n[p];if(p===Vs)"string"==typeof h?e.textContent!==h&&(!0!==n[zs]&&$s(e.textContent,h,a,i),f=[Vs,h]):"number"==typeof h&&e.textContent!==""+h&&(!0!==n[zs]&&$s(e.textContent,h,a,i),f=[Vs,""+h]);else if(k.hasOwnProperty(p))null!=h&&("function"!=typeof h&&Ps(p,h),"onScroll"===p&&vs("scroll",e));else if(i&&"boolean"==typeof l){var m=void 0,v=W(p);if(!0===n[zs]);else if(p===As||p===zs||"value"===p||"checked"===p||"selected"===p);else if(p===Is){var g=e.innerHTML,y=h?h[Fs]:void 0;if(null!=y){var b=Ms(e,y);b!==g&&Ns(p,g,b)}}else if(p===Us){if(s.delete(p),Ds){var w=rn(h);w!==(m=e.getAttribute("style"))&&Ns(p,m,w)}}else if(l)s.delete(p.toLowerCase()),h!==(m=J(e,p,h))&&Ns(p,m,h);else if(!U(p,v,l)&&!B(p,h,v,l)){var _=!1;if(null!==v)s.delete(v.attributeName),m=X(e,p,h,v);else{var S=r;if(S===Dt&&(S=Lt(t)),S===Dt)s.delete(p.toLowerCase());else{var x=Js(p);null!==x&&x!==p&&(_=!0,s.delete(x)),s.delete(p)}m=J(e,p,h)}h===m||_||Ns(p,m,h)}}}switch(i&&s.size>0&&!0!==n[zs]&&Rs(s),t){case"input":et(e),ft(e,n,!0);break;case"textarea":et(e),Pt(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Ys(e)}return f}(e,t,n,o.namespace,0,!!(1&a.mode),i)}function Vu(e){for(var t=e.previousSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===fu||r===mu||r===hu){if(0===n)return t;n--}else r===pu&&n++}t=t.previousSibling}return null}var Uu=Math.random().toString(36).slice(2),Fu="__reactFiber$"+Uu,Bu="__reactProps$"+Uu,Wu="__reactContainer$"+Uu,Hu="__reactEvents$"+Uu,$u="__reactListeners$"+Uu,qu="__reactHandles$"+Uu;function Ku(e,t){t[Fu]=e}function Yu(e,t){t[Wu]=e}function Gu(e){e[Wu]=null}function Qu(e){return!!e[Wu]}function Xu(e){var t=e[Fu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Wu]||n[Fu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=Vu(e);null!==o;){var a=o[Fu];if(a)return a;o=Vu(o)}return t}n=(e=n).parentNode}return null}function Ju(e){var t=e[Fu]||e[Wu];return t&&(5===t.tag||6===t.tag||t.tag===c||3===t.tag)?t:null}function Zu(e){if(5===e.tag||6===e.tag)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function ec(e){return e[Bu]||null}function tc(e,t){e[Bu]=t}var nc={},rc=n.ReactDebugCurrentFrame;function oc(e){if(e){var t=e._owner,n=Me(e.type,e._source,t?t.type:null);rc.setExtraStackFrame(n)}else rc.setExtraStackFrame(null)}function ac(e,t,n,r,o){var i=Function.call.bind(T);for(var l in e)if(i(e,l)){var s=void 0;try{if("function"!=typeof e[l]){var u=Error((r||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=e[l](t,l,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){s=c}!s||s instanceof Error||(oc(o),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,l,typeof s),oc(null)),s instanceof Error&&!(s.message in nc)&&(nc[s.message]=!0,oc(o),a("Failed %s type: %s",n,s.message),oc(null))}}var ic,lc=[];ic=[];var sc,uc=-1;function cc(e){return{current:e}}function dc(e,t){uc<0?a("Unexpected pop."):(t!==ic[uc]&&a("Unexpected Fiber popped."),e.current=lc[uc],lc[uc]=null,ic[uc]=null,uc--)}function fc(e,t,n){uc++,lc[uc]=e.current,ic[uc]=n,e.current=t}sc={};var pc={};Object.freeze(pc);var hc=cc(pc),mc=cc(!1),vc=pc;function gc(e,t,n){return n&&_c(t)?vc:hc.current}function yc(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function bc(e,t){var n=e.type.contextTypes;if(!n)return pc;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var a in n)o[a]=t[a];return ac(n,o,"context",Ve(e)||"Unknown"),r&&yc(e,t,o),o}function wc(){return mc.current}function _c(e){var t=e.childContextTypes;return null!=t}function kc(e){dc(mc,e),dc(hc,e)}function Sc(e){dc(mc,e),dc(hc,e)}function xc(e,t,n){if(hc.current!==pc)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");fc(hc,t,e),fc(mc,n,e)}function Ec(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var i=Ve(e)||"Unknown";return sc[i]||(sc[i]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var l=r.getChildContext();for(var s in l)if(!(s in o))throw new Error((Ve(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return ac(o,l,"child context",Ve(e)||"Unknown"),ke({},n,l)}function Cc(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||pc;return vc=hc.current,fc(hc,n,e),fc(mc,mc.current,e),!0}function Tc(e,t,n){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=Ec(e,t,vc);r.__reactInternalMemoizedMergedChildContext=o,dc(mc,e),dc(hc,e),fc(hc,o,e),fc(mc,n,e)}else dc(mc,e),fc(mc,n,e)}function Oc(e){if(!function(e){return Er(e)===e}(e)||1!==e.tag)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case 3:return t.stateNode.context;case 1:if(_c(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var Nc=null,Rc=!1,Pc=!1;function Dc(e){null===Nc?Nc=[e]:Nc.push(e)}function Mc(){Rc&&Lc()}function Lc(){if(!Pc&&null!==Nc){Pc=!0;var e=0,t=Ua();try{var n=Nc;for(Fa(Ia);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}Nc=null,Rc=!1}catch(o){throw null!==Nc&&(Nc=Nc.slice(e+1)),Lr(Ur,Lc),o}finally{Fa(t),Pc=!1}}return null}var Ic=[],Ac=0,zc=null,jc=0,Vc=[],Uc=0,Fc=null,Bc=1,Wc="";function Hc(){var e=Wc;return(Bc&~function(e){return 1<<Yc(e)-1}(Bc)).toString(32)+e}function $c(e,t){Qc(),Ic[Ac++]=jc,Ic[Ac++]=zc,zc=e,jc=t}function qc(e,t,n){Qc(),Vc[Uc++]=Bc,Vc[Uc++]=Wc,Vc[Uc++]=Fc,Fc=e;var r=Bc,o=Wc,a=Yc(r)-1,i=r&~(1<<a),l=n+1,s=Yc(t)+a;if(s>30){var u=a-a%5,c=(i&(1<<u)-1).toString(32),d=i>>u,f=a-u,p=Yc(t)+f;Bc=1<<p|(l<<f|d),Wc=c+o}else{Bc=1<<s|(l<<a|i),Wc=o}}function Kc(e){if(Qc(),null!==e.return){$c(e,1),qc(e,1,0)}}function Yc(e){return 32-bo(e)}function Gc(e){for(;e===zc;)zc=Ic[--Ac],Ic[Ac]=null,jc=Ic[--Ac],Ic[Ac]=null;for(;e===Fc;)Fc=Vc[--Uc],Vc[Uc]=null,Wc=Vc[--Uc],Vc[Uc]=null,Bc=Vc[--Uc],Vc[Uc]=null}function Qc(){_d()||a("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Xc=null,Jc=null,Zc=!1,ed=!1,td=null;function nd(){ed=!0}function rd(e){var t=e.stateNode.containerInfo;return Jc=Au(t.firstChild),Xc=e,Zc=!0,td=null,ed=!1,!0}function od(e,t,n){var r,o;return Jc=Au(t.nextSibling),Xc=e,Zc=!0,td=null,ed=!1,null!==n&&(r=e,o=n,Qc(),Vc[Uc++]=Bc,Vc[Uc++]=Wc,Vc[Uc++]=Fc,Bc=o.id,Wc=o.overflow,Fc=r),!0}function ad(e,t){switch(e.tag){case 3:!function(e,t){1===t.nodeType?Zs(e,t):8===t.nodeType||eu(e,t)}(e.stateNode.containerInfo,t);break;case 5:var n=!!(1&e.mode);!function(e,t,n,r,o){(o||!0!==t[du])&&(1===r.nodeType?Zs(n,r):8===r.nodeType||eu(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case c:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(1===t.nodeType?Zs(n,t):8===t.nodeType||eu(n,t))}(r.dehydrated,t)}}function id(e,t){ad(e,t);var n,r=((n=Qb(5,null,null,0)).elementType="DELETED",n);r.stateNode=t,r.return=e;var o=e.deletions;null===o?(e.deletions=[r],e.flags|=nr):o.push(r)}function ld(e,t){if(!ed)switch(e.tag){case 3:var n=e.stateNode.containerInfo;switch(t.tag){case 5:var r=t.type;t.pendingProps,function(e,t){tu(e,t)}(n,r);break;case 6:!function(e,t){nu(e,t)}(n,t.pendingProps)}break;case 5:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case 5:var i=t.type;t.pendingProps;!function(e,t,n,r,o,a){(a||!0!==t[du])&&tu(n,r)}(0,o,a,i,0,!!(1&e.mode));break;case 6:!function(e,t,n,r,o){(o||!0!==t[du])&&nu(n,r)}(0,o,a,t.pendingProps,!!(1&e.mode))}break;case c:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case 5:var s=t.type;t.pendingProps,function(e,t){var n=e.parentNode;null!==n&&tu(n,t)}(l,s);break;case 6:!function(e,t){var n=e.parentNode;null!==n&&nu(n,t)}(l,t.pendingProps)}break;default:return}}function sd(e,t){t.flags=-4097&t.flags|2,ld(e,t)}function ud(e,t){switch(e.tag){case 5:var n=e.type;e.pendingProps;var r=function(e,t){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,Xc=e,Jc=Au(r.firstChild),!0);case 6:var o=function(e,t){return""===t||3!==e.nodeType?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,Xc=e,Jc=null,!0);case c:var a=function(e){return 8!==e.nodeType?null:e}(t);if(null!==a){var i={dehydrated:a,treeContext:(Qc(),null!==Fc?{id:Bc,overflow:Wc}:null),retryLane:ta};e.memoizedState=i;var l=function(e){var t=Qb(h,null,null,0);return t.stateNode=e,t}(a);return l.return=e,e.child=l,Xc=e,Jc=null,!0}return!1;default:return!1}}function cd(e){return!!(1&e.mode)&&0===(e.flags&rr)}function dd(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function fd(e){if(Zc){var t=Jc;if(!t)return cd(e)&&(ld(Xc,e),dd()),sd(Xc,e),Zc=!1,void(Xc=e);var n=t;if(!ud(e,t)){cd(e)&&(ld(Xc,e),dd()),t=zu(n);var r=Xc;if(!t||!ud(e,t))return sd(Xc,e),Zc=!1,void(Xc=e);id(r,n)}}}function pd(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return Ku(n,e),n.mode,function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Xc;if(null!==o)switch(o.tag){case 3:o.stateNode.containerInfo;!function(e,t,n,r){$s(t.nodeValue,n,r,!0)}(0,t,n,!!(1&o.mode));break;case 5:o.type;var a=o.memoizedProps;o.stateNode;!function(e,t,n,r,o,a){!0!==t[du]&&$s(r.nodeValue,o,a,!0)}(0,a,0,t,n,!!(1&o.mode))}}return r}function hd(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){Ku(t,e)}(n,e)}function md(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===pu){if(0===n)return zu(t);n--}else r!==fu&&r!==mu&&r!==hu||n++}t=t.nextSibling}return null}(n)}function vd(e){for(var t=e.return;null!==t&&5!==t.tag&&3!==t.tag&&t.tag!==c;)t=t.return;Xc=t}function gd(e){if(e!==Xc)return!1;if(!Zc)return vd(e),Zc=!0,!1;if(3!==e.tag&&(5!==e.tag||"head"!==(n=e.type)&&"body"!==n&&!_u(e.type,e.memoizedProps))){var t=Jc;if(t)if(cd(e))yd(e),dd();else for(;t;)id(e,t),t=zu(t)}var n;return vd(e),Jc=e.tag===c?md(e):Xc?zu(e.stateNode):null,!0}function yd(e){for(var t=Jc;t;)ad(e,t),t=zu(t)}function bd(){Xc=null,Jc=null,Zc=!1,ed=!1}function wd(){null!==td&&(Ky(td),td=null)}function _d(){return Zc}function kd(e){null===td?td=[e]:td.push(e)}var Sd=n.ReactCurrentBatchConfig;var xd={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ed=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},Cd=[],Td=[],Od=[],Nd=[],Rd=[],Pd=[],Dd=new Set;xd.recordUnsafeLifecycleWarnings=function(e,t){Dd.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Cd.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&Td.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Od.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Nd.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Rd.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&Pd.push(e))},xd.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Cd.length>0&&(Cd.forEach(function(t){e.add(Ve(t)||"Component"),Dd.add(t.type)}),Cd=[]);var t=new Set;Td.length>0&&(Td.forEach(function(e){t.add(Ve(e)||"Component"),Dd.add(e.type)}),Td=[]);var n=new Set;Od.length>0&&(Od.forEach(function(e){n.add(Ve(e)||"Component"),Dd.add(e.type)}),Od=[]);var r=new Set;Nd.length>0&&(Nd.forEach(function(e){r.add(Ve(e)||"Component"),Dd.add(e.type)}),Nd=[]);var i=new Set;Rd.length>0&&(Rd.forEach(function(e){i.add(Ve(e)||"Component"),Dd.add(e.type)}),Rd=[]);var l=new Set;(Pd.length>0&&(Pd.forEach(function(e){l.add(Ve(e)||"Component"),Dd.add(e.type)}),Pd=[]),t.size>0)&&a("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",Ed(t));r.size>0&&a("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",Ed(r));l.size>0&&a("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",Ed(l));e.size>0&&o("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ed(e));n.size>0&&o("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ed(n));i.size>0&&o("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",Ed(i))};var Md,Ld,Id,Ad,zd,jd=new Map,Vd=new Set;xd.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)8&n.mode&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Vd.has(e.type)){var r=jd.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],jd.set(n,r)),r.push(e))}}else a("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},xd.flushLegacyContextWarning=function(){jd.forEach(function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach(function(e){r.add(Ve(e)||"Component"),Vd.add(e.type)});var o=Ed(r);try{qe(n),a("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)}finally{$e()}}})},xd.discardPendingWarnings=function(){Cd=[],Td=[],Od=[],Nd=[],Rd=[],Pd=[],jd=new Map};var Ud;function Fd(e,t,n){var r,o=n.ref;if(null!==o&&"function"!=typeof o&&"object"!=typeof o){if(e.mode,!(n._owner&&n._self&&n._owner.stateNode!==n._self||n._owner&&1!==n._owner.tag)&&("function"!=typeof n.type||(r=n.type).prototype&&r.prototype.isReactComponent)&&n._owner){var i=Ve(e)||"Component";Id[i]||(a('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',i,o),Id[i]=!0)}if(n._owner){var l,s=n._owner;if(s){var u=s;if(1!==u.tag)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");l=u.stateNode}if(!l)throw new Error("Missing owner for string ref "+o+". This error is likely caused by a bug in React. Please file an issue.");var c=l;!function(e,t){if(R(e))a("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,N(e)),P(e)}(o,"ref");var d=""+o;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===d)return t.ref;var f=function(e){var t=c.refs;null===e?delete t[d]:t[d]=e};return f._stringRef=d,f}if("string"!=typeof o)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+o+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return o}function Bd(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Wd(e){var t=Ve(e)||"Component";zd[t]||(zd[t]=!0,a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Hd(e){var t=e._payload;return(0,e._init)(t)}function $d(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=nr):r.push(n)}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function o(e,t){var n=Jb(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return t.flags|=hr,n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.flags|=2,n):a}return t.flags|=2,n}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){if(null===t||6!==t.tag){var a=ow(n,e.mode,r);return a.return=e,a}var i=o(t,n);return i.return=e,i}function u(e,t,n,r){var a=n.type;if(a===ne)return d(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===a||Fb(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===de&&Hd(a)===t.type)){var i=o(t,n.props);return i.ref=Fd(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var l=tw(n,e.mode,r);return l.ref=Fd(e,t,n),l.return=e,l}function c(e,t,n,r){if(null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var a=aw(n,e.mode,r);return a.return=e,a}var i=o(t,n.children||[]);return i.return=e,i}function d(e,t,n,r,a){if(null===t||7!==t.tag){var i=nw(n,e.mode,r,a);return i.return=e,i}var l=o(t,n);return l.return=e,l}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=ow(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:var o=tw(t,e.mode,n);return o.ref=Fd(e,null,t),o.return=e,o;case te:var a=aw(t,e.mode,n);return a.return=e,a;case de:var i=t._payload;return f(e,(0,t._init)(i),n)}if(_t(t)||he(t)){var l=nw(t,e.mode,n,null);return l.return=e,l}Bd(0,t)}return"function"==typeof t&&Wd(e),null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?u(e,t,n,r):null;case te:return n.key===o?c(e,t,n,r):null;case de:var a=n._payload;return p(e,t,(0,n._init)(a),r)}if(_t(n)||he(n))return null!==o?null:d(e,t,n,r,null);Bd(0,n)}return"function"==typeof n&&Wd(e),null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return u(t,e.get(null===r.key?n:r.key)||null,r,o);case te:return c(t,e.get(null===r.key?n:r.key)||null,r,o);case de:var a=r._payload;return h(e,t,n,(0,r._init)(a),o)}if(_t(r)||he(r))return d(t,e.get(n)||null,r,o,null);Bd(0,r)}return"function"==typeof r&&Wd(t),null}function m(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case ee:case te:Ud(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}a("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case de:var o=e._payload;m((0,e._init)(o),t,n)}return t}return function s(u,c,d,v){if("object"==typeof d&&null!==d&&d.type===ne&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case ee:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){var u=a.type;if(u===ne){if(7===s.tag){n(e,s.sibling);var c=o(s,a.props.children);return c.return=e,c._debugSource=a._source,c._debugOwner=a._owner,c}}else if(s.elementType===u||Fb(s,a)||"object"==typeof u&&null!==u&&u.$$typeof===de&&Hd(u)===s.type){n(e,s.sibling);var d=o(s,a.props);return d.ref=Fd(e,s,a),d.return=e,d._debugSource=a._source,d._debugOwner=a._owner,d}n(e,s);break}t(e,s),s=s.sibling}if(a.type===ne){var f=nw(a.props.children,e.mode,i,a.key);return f.return=e,f}var p=tw(a,e.mode,i);return p.ref=Fd(e,r,a),p.return=e,p}(u,c,d,v));case te:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){if(4===s.tag&&s.stateNode.containerInfo===a.containerInfo&&s.stateNode.implementation===a.implementation){n(e,s.sibling);var u=o(s,a.children||[]);return u.return=e,u}n(e,s);break}t(e,s),s=s.sibling}var c=aw(a,e.mode,i);return c.return=e,c}(u,c,d,v));case de:var g=d._payload;return s(u,c,(0,d._init)(g),v)}if(_t(d))return function(o,a,l,s){for(var u=null,c=0;c<l.length;c++)u=m(l[c],u,o);for(var d=null,v=null,g=a,y=0,b=0,w=null;null!==g&&b<l.length;b++){g.index>b?(w=g,g=null):w=g.sibling;var _=p(o,g,l[b],s);if(null===_){null===g&&(g=w);break}e&&g&&null===_.alternate&&t(o,g),y=i(_,y,b),null===v?d=_:v.sibling=_,v=_,g=w}if(b===l.length)return n(o,g),_d()&&$c(o,b),d;if(null===g){for(;b<l.length;b++){var k=f(o,l[b],s);null!==k&&(y=i(k,y,b),null===v?d=k:v.sibling=k,v=k)}return _d()&&$c(o,b),d}for(var S=r(0,g);b<l.length;b++){var x=h(S,o,b,l[b],s);null!==x&&(e&&null!==x.alternate&&S.delete(null===x.key?b:x.key),y=i(x,y,b),null===v?d=x:v.sibling=x,v=x)}return e&&S.forEach(function(e){return t(o,e)}),_d()&&$c(o,b),d}(u,c,d,v);if(he(d))return function(o,l,s,u){var c=he(s);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(Ld||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Ld=!0),s.entries===c&&(Md||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Md=!0);var d=c.call(s);if(d)for(var v=null,g=d.next();!g.done;g=d.next())v=m(g.value,v,o);var y=c.call(s);if(null==y)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,_=l,k=0,S=0,x=null,E=y.next();null!==_&&!E.done;S++,E=y.next()){_.index>S?(x=_,_=null):x=_.sibling;var C=p(o,_,E.value,u);if(null===C){null===_&&(_=x);break}e&&_&&null===C.alternate&&t(o,_),k=i(C,k,S),null===w?b=C:w.sibling=C,w=C,_=x}if(E.done)return n(o,_),_d()&&$c(o,S),b;if(null===_){for(;!E.done;S++,E=y.next()){var T=f(o,E.value,u);null!==T&&(k=i(T,k,S),null===w?b=T:w.sibling=T,w=T)}return _d()&&$c(o,S),b}for(var O=r(0,_);!E.done;S++,E=y.next()){var N=h(O,o,S,E.value,u);null!==N&&(e&&null!==N.alternate&&O.delete(null===N.key?S:N.key),k=i(N,k,S),null===w?b=N:w.sibling=N,w=N)}return e&&O.forEach(function(e){return t(o,e)}),_d()&&$c(o,S),b}(u,c,d,v);Bd(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?l(function(e,t,r,a){if(null!==t&&6===t.tag){n(e,t.sibling);var i=o(t,r);return i.return=e,i}n(e,t);var l=ow(r,e.mode,a);return l.return=e,l}(u,c,""+d,v)):("function"==typeof d&&Wd(u),n(u,c))}}Md=!1,Ld=!1,Id={},Ad={},zd={},Ud=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=Ve(t)||"Component";Ad[n]||(Ad[n]=!0,a('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var qd=$d(!0),Kd=$d(!1);function Yd(e,t){for(var n=e.child;null!==n;)Zb(n,t),n=n.sibling}var Gd,Qd=cc(null);Gd={};var Xd=null,Jd=null,Zd=null,ef=!1;function tf(){Xd=null,Jd=null,Zd=null,ef=!1}function nf(){ef=!0}function rf(){ef=!1}function of(e,t,n){fc(Qd,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Gd&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Gd}function af(e,t){var n=Qd.current;dc(Qd,t),e._currentValue=n}function lf(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(wa(r.childLanes,t)?null===o||wa(o.childLanes,t)||(o.childLanes=_a(o.childLanes,t)):(r.childLanes=_a(r.childLanes,t),null!==o&&(o.childLanes=_a(o.childLanes,t))),r===n)break;r=r.return}r!==n&&a("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function sf(e,t,n){!function(e,t,n){var r=e.child;null!==r&&(r.return=e);for(;null!==r;){var o=void 0,a=r.dependencies;if(null!==a){o=r.child;for(var i=a.firstContext;null!==i;){if(i.context===t){if(1===r.tag){var s=va(n),u=xf(ra,s);u.tag=wf;var c=r.updateQueue;if(null===c);else{var d=c.shared,f=d.pending;null===f?u.next=u:(u.next=f.next,f.next=u),d.pending=u}}r.lanes=_a(r.lanes,n);var p=r.alternate;null!==p&&(p.lanes=_a(p.lanes,n)),lf(r.return,n,e),a.lanes=_a(a.lanes,n);break}i=i.next}}else if(r.tag===l)o=r.type===e.type?null:r.child;else if(r.tag===h){var m=r.return;if(null===m)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes=_a(m.lanes,n);var v=m.alternate;null!==v&&(v.lanes=_a(v.lanes,n)),lf(m,n,e),o=r.sibling}else o=r.child;if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var g=o.sibling;if(null!==g){g.return=o.return,o=g;break}o=o.return}r=o}}(e,t,n)}function uf(e,t){Xd=e,Jd=null,Zd=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(ba(n.lanes,t)&&yv(),n.firstContext=null))}function cf(e){ef&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Zd===e);else{var n={context:e,memoizedValue:t,next:null};if(null===Jd){if(null===Xd)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Jd=n,Xd.dependencies={lanes:0,firstContext:n}}else Jd=Jd.next=n}return t}var df=null;function ff(e){null===df?df=[e]:df.push(e)}function pf(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ff(t)):(n.next=o.next,o.next=n),t.interleaved=n,vf(e,r)}function hf(e,t){return vf(e,t)}var mf=vf;function vf(e,t){e.lanes=_a(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=_a(n.lanes,t)),null===n&&4098&e.flags&&Cb(e);for(var r=e,o=e.return;null!==o;)o.childLanes=_a(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=_a(n.childLanes,t):4098&o.flags&&Cb(e),r=o,o=o.return;return 3===r.tag?r.stateNode:null}var gf,yf,bf=0,wf=2,_f=!1;function kf(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};e.updateQueue=t}function Sf(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=o}}function xf(e,t){return{eventTime:e,lane:t,tag:bf,payload:null,callback:null,next:null}}function Ef(e,t,n){var r=e.updateQueue;if(null===r)return null;var o=r.shared;if(yf!==o||gf||(a("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),gf=!0),(ey&$g)!==Hg){var i=o.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),o.pending=t,mf(e,n)}return function(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,ff(t)):(n.next=o.next,o.next=n),t.interleaved=n,vf(e,r)}(e,o,t,n)}function Cf(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(pa(n)){var a=o.lanes,i=_a(a=Sa(a,e.pendingLanes),n);o.lanes=i,Ta(e,i)}}}function Tf(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var a=null,i=null,l=n.firstBaseUpdate;if(null!==l){var s=l;do{var u={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};null===i?a=i=u:(i.next=u,i=u),s=s.next}while(null!==s);null===i?a=i=t:(i.next=t,i=t)}else a=i=t;return n={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:o.shared,effects:o.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function Of(e,t,n,r,o,a){switch(n.tag){case 1:var i=n.payload;if("function"==typeof i){nf();var l=i.call(a,r,o);if(8&e.mode){Jr(!0);try{i.call(a,r,o)}finally{Jr(!1)}}return rf(),l}return i;case 3:e.flags=-65537&e.flags|rr;case bf:var s,u=n.payload;if("function"==typeof u){if(nf(),s=u.call(a,r,o),8&e.mode){Jr(!0);try{u.call(a,r,o)}finally{Jr(!1)}}rf()}else s=u;return null==s?r:ke({},r,s);case wf:return _f=!0,r}return r}function Nf(e,t,n,r){var o=e.updateQueue;_f=!1,yf=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==i&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=s)}}if(null!==a){for(var p=o.baseState,h=0,m=null,v=null,g=null,y=a;;){var b=y.lane,w=y.eventTime;if(wa(r,b)){if(null!==g){var _={eventTime:w,lane:0,tag:y.tag,payload:y.payload,callback:y.callback,next:null};g=g.next=_}if(p=Of(e,0,y,p,t,n),null!==y.callback&&0!==y.lane){e.flags|=64;var k=o.effects;null===k?o.effects=[y]:k.push(y)}}else{var S={eventTime:w,lane:b,tag:y.tag,payload:y.payload,callback:y.callback,next:null};null===g?(v=g=S,m=p):g=g.next=S,h=_a(h,b)}if(null===(y=y.next)){if(null===(l=o.shared.pending))break;var x=l,E=x.next;x.next=null,y=E,o.lastBaseUpdate=x,o.shared.pending=null}}null===g&&(m=p),o.baseState=m,o.firstBaseUpdate=v,o.lastBaseUpdate=g;var C=o.shared.interleaved;if(null!==C){var T=C;do{h=_a(h,T.lane),T=T.next}while(T!==C)}else null===a&&(o.shared.lanes=0);ab(h),e.lanes=h,e.memoizedState=p}yf=null}function Rf(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Pf(){_f=!1}function Df(){return _f}function Mf(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,Rf(i,n))}}gf=!1,yf=null;var Lf={},If=cc(Lf),Af=cc(Lf),zf=cc(Lf);function jf(e){if(e===Lf)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Vf(){return jf(zf.current)}function Uf(e,t){fc(zf,t,e),fc(Af,e,e),fc(If,Lf,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case 9:case 11:t=9===r?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:It(null,"");break;default:var a=8===r?e.parentNode:e;n=It(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:ou(null,i)}}(t);dc(If,e),fc(If,n,e)}function Ff(e){dc(If,e),dc(Af,e),dc(zf,e)}function Bf(){return jf(If.current)}function Wf(e){jf(zf.current);var t,n,r,o=jf(If.current),a=(t=o,n=e.type,{namespace:It((r=t).namespace,n),ancestorInfo:ou(r.ancestorInfo,n)});o!==a&&(fc(Af,e,e),fc(If,a,e))}function Hf(e){Af.current===e&&(dc(If,e),dc(Af,e))}var $f=cc(0);function qf(e,t){return 0!==(e&t)}function Kf(e){return 1&e}function Yf(e,t){return 1&e|t}function Gf(e,t){fc($f,t,e)}function Qf(e){dc($f,e)}function Xf(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function Jf(e){for(var t=e;null!==t;){if(t.tag===c){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||Lu(r)||Iu(r))return t}}else if(t.tag===m&&void 0!==t.memoizedProps.revealOrder){if(0!==(t.flags&rr))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 Zf=[];function ep(){for(var e=0;e<Zf.length;e++){Zf[e]._workInProgressVersionPrimary=null}Zf.length=0}function tp(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var np,rp,op=n.ReactCurrentDispatcher,ap=n.ReactCurrentBatchConfig;np=new Set;var ip=0,lp=null,sp=null,up=null,cp=!1,dp=!1,fp=0,pp=0,hp=null,mp=null,vp=-1,gp=!1;function yp(){var e=hp;null===mp?mp=[e]:mp.push(e)}function bp(){var e=hp;null!==mp&&(vp++,mp[vp]!==e&&function(e){var t=Ve(lp);if(!np.has(t)&&(np.add(t),null!==mp)){for(var n="",r=30,o=0;o<=vp;o++){for(var i=mp[o],l=o===vp?e:i,s=o+1+". "+i;s.length<r;)s+=" ";n+=s+=l+"\n"}a("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function wp(e){null==e||_t(e)||a("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",hp,typeof e)}function _p(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function kp(e,t){if(gp)return!1;if(null===t)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",hp),!1;e.length!==t.length&&a("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",hp,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Pl(e[n],t[n]))return!1;return!0}function Sp(e,t,n,r,o,i){ip=i,lp=t,mp=null!==e?e._debugHookTypes:null,vp=-1,gp=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=0,null!==e&&null!==e.memoizedState?op.current=Nh:op.current=null!==mp?Oh:Th;var l=n(r,o);if(dp){var s=0;do{if(dp=!1,fp=0,s>=25)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,gp=!1,sp=null,up=null,t.updateQueue=null,vp=-1,op.current=Rh,l=n(r,o)}while(dp)}op.current=Ch,t._debugHookTypes=mp;var u=null!==sp&&null!==sp.next;if(ip=0,lp=null,sp=null,up=null,hp=null,mp=null,vp=-1,null!==e&&(e.flags&Sr)!==(t.flags&Sr)&&1&e.mode&&a("Internal React error: Expected static flag was missing. Please notify the React team."),cp=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function xp(){var e=0!==fp;return fp=0,e}function Ep(e,t,n){t.updateQueue=e.updateQueue,0!==(t.mode&yo)?t.flags&=-50333701:t.flags&=-2053,e.lanes=ka(e.lanes,n)}function Cp(){if(op.current=Ch,cp){for(var e=lp.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}cp=!1}ip=0,lp=null,sp=null,up=null,mp=null,vp=-1,hp=null,gh=!1,dp=!1,fp=0}function Tp(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===up?lp.memoizedState=up=e:up=up.next=e,up}function Op(){var e,t;if(null===sp){var n=lp.alternate;e=null!==n?n.memoizedState:null}else e=sp.next;if(null!==(t=null===up?lp.memoizedState:up.next))t=(up=t).next,sp=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(sp=e).memoizedState,baseState:sp.baseState,baseQueue:sp.baseQueue,queue:sp.queue,next:null};null===up?lp.memoizedState=up=r:up=up.next=r}return up}function Np(e,t){return"function"==typeof t?t(e):t}function Rp(e,t,n){var r,o=Tp();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=a;var i=a.dispatch=wh.bind(null,lp,a);return[o.memoizedState,i]}function Pp(e,t,n){var r=Op(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var i=sp,l=i.baseQueue,s=o.pending;if(null!==s){if(null!==l){var u=l.next,c=s.next;l.next=c,s.next=u}i.baseQueue!==l&&a("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=s,o.pending=null}if(null!==l){var d=l.next,f=i.baseState,p=null,h=null,m=null,v=d;do{var g=v.lane;if(wa(ip,g)){if(null!==m){var y={lane:0,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};m=m.next=y}if(v.hasEagerState)f=v.eagerState;else f=e(f,v.action)}else{var b={lane:g,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};null===m?(h=m=b,p=f):m=m.next=b,lp.lanes=_a(lp.lanes,g),ab(g)}v=v.next}while(null!==v&&v!==d);null===m?p=f:m.next=h,Pl(f,r.memoizedState)||yv(),r.memoizedState=f,r.baseState=p,r.baseQueue=m,o.lastRenderedState=f}var w=o.interleaved;if(null!==w){var _=w;do{var k=_.lane;lp.lanes=_a(lp.lanes,k),ab(k),_=_.next}while(_!==w)}else null===l&&(o.lanes=0);var S=o.dispatch;return[r.memoizedState,S]}function Dp(e,t,n){var r=Op(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,l=r.memoizedState;if(null!==i){o.pending=null;var s=i.next,u=s;do{l=e(l,u.action),u=u.next}while(u!==s);Pl(l,r.memoizedState)||yv(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),o.lastRenderedState=l}return[l,a]}function Mp(e,t,n){var r,o=lp,i=Tp();if(_d()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),rp||r!==n()&&(a("The result of getServerSnapshot should be cached to avoid an infinite loop"),rp=!0)}else{if(r=t(),!rp){var l=t();Pl(r,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),rp=!0)}var s=Vy();if(null===s)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");fa(0,ip)||Ip(o,t,r)}i.memoizedState=r;var u={value:r,getSnapshot:t};return i.queue=u,Yp(zp.bind(null,o,u,e),[e]),o.flags|=lr,Wp(9,Ap.bind(null,o,u,r,t),void 0,null),r}function Lp(e,t,n){var r=lp,o=Op(),i=t();if(!rp){var l=t();Pl(i,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),rp=!0)}var s=o.memoizedState,u=!Pl(s,i);u&&(o.memoizedState=i,yv());var c=o.queue;if(Gp(zp.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==up&&1&up.memoizedState.tag){r.flags|=lr,Wp(9,Ap.bind(null,r,c,i,t),void 0,null);var d=Vy();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");fa(0,ip)||Ip(r,t,i)}return i}function Ip(e,t,n){e.flags|=cr;var r={getSnapshot:t,value:n},o=lp.updateQueue;if(null===o)o={lastEffect:null,stores:null},lp.updateQueue=o,o.stores=[r];else{var a=o.stores;null===a?o.stores=[r]:a.push(r)}}function Ap(e,t,n,r){t.value=n,t.getSnapshot=r,jp(t)&&Vp(e)}function zp(e,t,n){return n(function(){jp(t)&&Vp(e)})}function jp(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!Pl(n,r)}catch(o){return!0}}function Vp(e){var t=hf(e,So);null!==t&&Wy(t,e,So,ra)}function Up(e){var t=Tp();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Np,lastRenderedState:e};t.queue=n;var r=n.dispatch=_h.bind(null,lp,n);return[t.memoizedState,r]}function Fp(e){return Pp(Np)}function Bp(e){return Dp(Np)}function Wp(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=lp.updateQueue;if(null===a)a={lastEffect:null,stores:null},lp.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var l=i.next;i.next=o,o.next=l,a.lastEffect=o}}return o}function Hp(e){var t={current:e};return Tp().memoizedState=t,t}function $p(e){return Op().memoizedState}function qp(e,t,n,r){var o=Tp(),a=void 0===r?null:r;lp.flags|=e,o.memoizedState=Wp(1|t,n,void 0,a)}function Kp(e,t,n,r){var o=Op(),a=void 0===r?null:r,i=void 0;if(null!==sp){var l=sp.memoizedState;if(i=l.destroy,null!==a)if(kp(a,l.deps))return void(o.memoizedState=Wp(t,n,i,a))}lp.flags|=e,o.memoizedState=Wp(1|t,n,i,a)}function Yp(e,t){return 0!==(lp.mode&yo)?qp(41945088,8,e,t):qp(8390656,8,e,t)}function Gp(e,t){return Kp(lr,8,e,t)}function Qp(e,t){return qp(4,2,e,t)}function Xp(e,t){return Kp(4,2,e,t)}function Jp(e,t){var n=4;return n|=vr,0!==(lp.mode&yo)&&(n|=gr),qp(n,4,e,t)}function Zp(e,t){return Kp(4,4,e,t)}function eh(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||a("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var i=e();return o.current=i,function(){o.current=null}}}function th(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null,o=4;return o|=vr,0!==(lp.mode&yo)&&(o|=gr),qp(o,4,eh.bind(null,t,e),r)}function nh(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return Kp(4,4,eh.bind(null,t,e),r)}function rh(e,t){}var oh=rh;function ah(e,t){var n=void 0===t?null:t;return Tp().memoizedState=[e,n],e}function ih(e,t){var n=Op(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&kp(r,o[1])))return o[0];return n.memoizedState=[e,r],e}function lh(e,t){var n=Tp(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function sh(e,t){var n=Op(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&kp(r,o[1])))return o[0];var a=e();return n.memoizedState=[a,r],a}function uh(e){return Tp().memoizedState=e,e}function ch(e){return fh(Op(),sp.memoizedState,e)}function dh(e){var t=Op();return null===sp?(t.memoizedState=e,e):fh(t,sp.memoizedState,e)}function fh(e,t,n){if(!(0===(ip&(So|Co|No)))){if(!Pl(n,t)){var r=ha();lp.lanes=_a(lp.lanes,r),ab(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,yv()),e.memoizedState=n,n}function ph(e,t,n){var r,a,i=Ua();Fa((a=Aa,0!==(r=i)&&r<a?r:a)),e(!0);var l=ap.transition;ap.transition={};var s=ap.transition;ap.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Fa(i),ap.transition=l,null===l&&s._updatedFibers)s._updatedFibers.size>10&&o("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear()}}function hh(){var e=Up(!1),t=e[0],n=e[1],r=ph.bind(null,n);return Tp().memoizedState=r,[t,r]}function mh(){return[Fp()[0],Op().memoizedState]}function vh(){return[Bp()[0],Op().memoizedState]}var gh=!1;function yh(){var e,t=Tp(),n=Vy().identifierPrefix;if(_d()){e=":"+n+"R"+Hc();var r=fp++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(pp++).toString(32)+":"}return t.memoizedState=e,e}function bh(){return Op().memoizedState}function wh(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Fy(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kh(e))Sh(t,o);else{var i=pf(e,t,o,r);if(null!==i)Wy(i,e,r,Uy()),xh(i,t,r)}Eh(e,r)}function _h(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=Fy(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kh(e))Sh(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)){var l=t.lastRenderedReducer;if(null!==l){var s;s=op.current,op.current=Dh;try{var u=t.lastRenderedState,c=l(u,n);if(o.hasEagerState=!0,o.eagerState=c,Pl(c,u))return void function(e,t,n){var r=t.interleaved;null===r?(n.next=n,ff(t)):(n.next=r.next,r.next=n),t.interleaved=n}(0,t,o)}catch(f){}finally{op.current=s}}}var d=pf(e,t,o,r);if(null!==d)Wy(d,e,r,Uy()),xh(d,t,r)}Eh(e,r)}function kh(e){var t=e.alternate;return e===lp||null!==t&&t===lp}function Sh(e,t){dp=cp=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xh(e,t,n){if(pa(n)){var r=t.lanes,o=_a(r=Sa(r,e.pendingLanes),n);t.lanes=o,Ta(e,o)}}function Eh(e,t,n){go(e,t)}var Ch={readContext:cf,useCallback:_p,useContext:_p,useEffect:_p,useImperativeHandle:_p,useInsertionEffect:_p,useLayoutEffect:_p,useMemo:_p,useReducer:_p,useRef:_p,useState:_p,useDebugValue:_p,useDeferredValue:_p,useTransition:_p,useMutableSource:_p,useSyncExternalStore:_p,useId:_p,unstable_isNewReconciler:b},Th=null,Oh=null,Nh=null,Rh=null,Ph=null,Dh=null,Mh=null,Lh=function(){a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Ih=function(){a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Th={readContext:function(e){return cf(e)},useCallback:function(e,t){return hp="useCallback",yp(),wp(t),ah(e,t)},useContext:function(e){return hp="useContext",yp(),cf(e)},useEffect:function(e,t){return hp="useEffect",yp(),wp(t),Yp(e,t)},useImperativeHandle:function(e,t,n){return hp="useImperativeHandle",yp(),wp(n),th(e,t,n)},useInsertionEffect:function(e,t){return hp="useInsertionEffect",yp(),wp(t),Qp(e,t)},useLayoutEffect:function(e,t){return hp="useLayoutEffect",yp(),wp(t),Jp(e,t)},useMemo:function(e,t){hp="useMemo",yp(),wp(t);var n=op.current;op.current=Ph;try{return lh(e,t)}finally{op.current=n}},useReducer:function(e,t,n){hp="useReducer",yp();var r=op.current;op.current=Ph;try{return Rp(e,t,n)}finally{op.current=r}},useRef:function(e){return hp="useRef",yp(),Hp(e)},useState:function(e){hp="useState",yp();var t=op.current;op.current=Ph;try{return Up(e)}finally{op.current=t}},useDebugValue:function(e,t){hp="useDebugValue",yp()},useDeferredValue:function(e){return hp="useDeferredValue",yp(),uh(e)},useTransition:function(){return hp="useTransition",yp(),hh()},useMutableSource:function(e,t,n){hp="useMutableSource",yp()},useSyncExternalStore:function(e,t,n){return hp="useSyncExternalStore",yp(),Mp(e,t,n)},useId:function(){return hp="useId",yp(),yh()},unstable_isNewReconciler:b},Oh={readContext:function(e){return cf(e)},useCallback:function(e,t){return hp="useCallback",bp(),ah(e,t)},useContext:function(e){return hp="useContext",bp(),cf(e)},useEffect:function(e,t){return hp="useEffect",bp(),Yp(e,t)},useImperativeHandle:function(e,t,n){return hp="useImperativeHandle",bp(),th(e,t,n)},useInsertionEffect:function(e,t){return hp="useInsertionEffect",bp(),Qp(e,t)},useLayoutEffect:function(e,t){return hp="useLayoutEffect",bp(),Jp(e,t)},useMemo:function(e,t){hp="useMemo",bp();var n=op.current;op.current=Ph;try{return lh(e,t)}finally{op.current=n}},useReducer:function(e,t,n){hp="useReducer",bp();var r=op.current;op.current=Ph;try{return Rp(e,t,n)}finally{op.current=r}},useRef:function(e){return hp="useRef",bp(),Hp(e)},useState:function(e){hp="useState",bp();var t=op.current;op.current=Ph;try{return Up(e)}finally{op.current=t}},useDebugValue:function(e,t){hp="useDebugValue",bp()},useDeferredValue:function(e){return hp="useDeferredValue",bp(),uh(e)},useTransition:function(){return hp="useTransition",bp(),hh()},useMutableSource:function(e,t,n){hp="useMutableSource",bp()},useSyncExternalStore:function(e,t,n){return hp="useSyncExternalStore",bp(),Mp(e,t,n)},useId:function(){return hp="useId",bp(),yh()},unstable_isNewReconciler:b},Nh={readContext:function(e){return cf(e)},useCallback:function(e,t){return hp="useCallback",bp(),ih(e,t)},useContext:function(e){return hp="useContext",bp(),cf(e)},useEffect:function(e,t){return hp="useEffect",bp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return hp="useImperativeHandle",bp(),nh(e,t,n)},useInsertionEffect:function(e,t){return hp="useInsertionEffect",bp(),Xp(e,t)},useLayoutEffect:function(e,t){return hp="useLayoutEffect",bp(),Zp(e,t)},useMemo:function(e,t){hp="useMemo",bp();var n=op.current;op.current=Dh;try{return sh(e,t)}finally{op.current=n}},useReducer:function(e,t,n){hp="useReducer",bp();var r=op.current;op.current=Dh;try{return Pp(e)}finally{op.current=r}},useRef:function(e){return hp="useRef",bp(),$p()},useState:function(e){hp="useState",bp();var t=op.current;op.current=Dh;try{return Fp()}finally{op.current=t}},useDebugValue:function(e,t){return hp="useDebugValue",bp(),oh()},useDeferredValue:function(e){return hp="useDeferredValue",bp(),ch(e)},useTransition:function(){return hp="useTransition",bp(),mh()},useMutableSource:function(e,t,n){hp="useMutableSource",bp()},useSyncExternalStore:function(e,t,n){return hp="useSyncExternalStore",bp(),Lp(e,t)},useId:function(){return hp="useId",bp(),bh()},unstable_isNewReconciler:b},Rh={readContext:function(e){return cf(e)},useCallback:function(e,t){return hp="useCallback",bp(),ih(e,t)},useContext:function(e){return hp="useContext",bp(),cf(e)},useEffect:function(e,t){return hp="useEffect",bp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return hp="useImperativeHandle",bp(),nh(e,t,n)},useInsertionEffect:function(e,t){return hp="useInsertionEffect",bp(),Xp(e,t)},useLayoutEffect:function(e,t){return hp="useLayoutEffect",bp(),Zp(e,t)},useMemo:function(e,t){hp="useMemo",bp();var n=op.current;op.current=Mh;try{return sh(e,t)}finally{op.current=n}},useReducer:function(e,t,n){hp="useReducer",bp();var r=op.current;op.current=Mh;try{return Dp(e)}finally{op.current=r}},useRef:function(e){return hp="useRef",bp(),$p()},useState:function(e){hp="useState",bp();var t=op.current;op.current=Mh;try{return Bp()}finally{op.current=t}},useDebugValue:function(e,t){return hp="useDebugValue",bp(),oh()},useDeferredValue:function(e){return hp="useDeferredValue",bp(),dh(e)},useTransition:function(){return hp="useTransition",bp(),vh()},useMutableSource:function(e,t,n){hp="useMutableSource",bp()},useSyncExternalStore:function(e,t,n){return hp="useSyncExternalStore",bp(),Lp(e,t)},useId:function(){return hp="useId",bp(),bh()},unstable_isNewReconciler:b},Ph={readContext:function(e){return Lh(),cf(e)},useCallback:function(e,t){return hp="useCallback",Ih(),yp(),ah(e,t)},useContext:function(e){return hp="useContext",Ih(),yp(),cf(e)},useEffect:function(e,t){return hp="useEffect",Ih(),yp(),Yp(e,t)},useImperativeHandle:function(e,t,n){return hp="useImperativeHandle",Ih(),yp(),th(e,t,n)},useInsertionEffect:function(e,t){return hp="useInsertionEffect",Ih(),yp(),Qp(e,t)},useLayoutEffect:function(e,t){return hp="useLayoutEffect",Ih(),yp(),Jp(e,t)},useMemo:function(e,t){hp="useMemo",Ih(),yp();var n=op.current;op.current=Ph;try{return lh(e,t)}finally{op.current=n}},useReducer:function(e,t,n){hp="useReducer",Ih(),yp();var r=op.current;op.current=Ph;try{return Rp(e,t,n)}finally{op.current=r}},useRef:function(e){return hp="useRef",Ih(),yp(),Hp(e)},useState:function(e){hp="useState",Ih(),yp();var t=op.current;op.current=Ph;try{return Up(e)}finally{op.current=t}},useDebugValue:function(e,t){hp="useDebugValue",Ih(),yp()},useDeferredValue:function(e){return hp="useDeferredValue",Ih(),yp(),uh(e)},useTransition:function(){return hp="useTransition",Ih(),yp(),hh()},useMutableSource:function(e,t,n){hp="useMutableSource",Ih(),yp()},useSyncExternalStore:function(e,t,n){return hp="useSyncExternalStore",Ih(),yp(),Mp(e,t,n)},useId:function(){return hp="useId",Ih(),yp(),yh()},unstable_isNewReconciler:b},Dh={readContext:function(e){return Lh(),cf(e)},useCallback:function(e,t){return hp="useCallback",Ih(),bp(),ih(e,t)},useContext:function(e){return hp="useContext",Ih(),bp(),cf(e)},useEffect:function(e,t){return hp="useEffect",Ih(),bp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return hp="useImperativeHandle",Ih(),bp(),nh(e,t,n)},useInsertionEffect:function(e,t){return hp="useInsertionEffect",Ih(),bp(),Xp(e,t)},useLayoutEffect:function(e,t){return hp="useLayoutEffect",Ih(),bp(),Zp(e,t)},useMemo:function(e,t){hp="useMemo",Ih(),bp();var n=op.current;op.current=Dh;try{return sh(e,t)}finally{op.current=n}},useReducer:function(e,t,n){hp="useReducer",Ih(),bp();var r=op.current;op.current=Dh;try{return Pp(e)}finally{op.current=r}},useRef:function(e){return hp="useRef",Ih(),bp(),$p()},useState:function(e){hp="useState",Ih(),bp();var t=op.current;op.current=Dh;try{return Fp()}finally{op.current=t}},useDebugValue:function(e,t){return hp="useDebugValue",Ih(),bp(),oh()},useDeferredValue:function(e){return hp="useDeferredValue",Ih(),bp(),ch(e)},useTransition:function(){return hp="useTransition",Ih(),bp(),mh()},useMutableSource:function(e,t,n){hp="useMutableSource",Ih(),bp()},useSyncExternalStore:function(e,t,n){return hp="useSyncExternalStore",Ih(),bp(),Lp(e,t)},useId:function(){return hp="useId",Ih(),bp(),bh()},unstable_isNewReconciler:b},Mh={readContext:function(e){return Lh(),cf(e)},useCallback:function(e,t){return hp="useCallback",Ih(),bp(),ih(e,t)},useContext:function(e){return hp="useContext",Ih(),bp(),cf(e)},useEffect:function(e,t){return hp="useEffect",Ih(),bp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return hp="useImperativeHandle",Ih(),bp(),nh(e,t,n)},useInsertionEffect:function(e,t){return hp="useInsertionEffect",Ih(),bp(),Xp(e,t)},useLayoutEffect:function(e,t){return hp="useLayoutEffect",Ih(),bp(),Zp(e,t)},useMemo:function(e,t){hp="useMemo",Ih(),bp();var n=op.current;op.current=Dh;try{return sh(e,t)}finally{op.current=n}},useReducer:function(e,t,n){hp="useReducer",Ih(),bp();var r=op.current;op.current=Dh;try{return Dp(e)}finally{op.current=r}},useRef:function(e){return hp="useRef",Ih(),bp(),$p()},useState:function(e){hp="useState",Ih(),bp();var t=op.current;op.current=Dh;try{return Bp()}finally{op.current=t}},useDebugValue:function(e,t){return hp="useDebugValue",Ih(),bp(),oh()},useDeferredValue:function(e){return hp="useDeferredValue",Ih(),bp(),dh(e)},useTransition:function(){return hp="useTransition",Ih(),bp(),vh()},useMutableSource:function(e,t,n){hp="useMutableSource",Ih(),bp()},useSyncExternalStore:function(e,t,n){return hp="useSyncExternalStore",Ih(),bp(),Lp(e,t)},useId:function(){return hp="useId",Ih(),bp(),bh()},unstable_isNewReconciler:b};var Ah=t.unstable_now,zh=0,jh=-1,Vh=-1,Uh=-1,Fh=!1,Bh=!1;function Wh(){return Fh}function Hh(){return zh}function $h(){zh=Ah()}function qh(e){Vh=Ah(),e.actualStartTime<0&&(e.actualStartTime=Ah())}function Kh(e){Vh=-1}function Yh(e,t){if(Vh>=0){var n=Ah()-Vh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Vh=-1}}function Gh(e){if(jh>=0){var t=Ah()-jh;jh=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:return void(n.stateNode.effectDuration+=t);case u:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Qh(e){if(Uh>=0){var t=Ah()-Uh;Uh=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t));case u:var o=n.stateNode;return void(null!==o&&(o.passiveEffectDuration+=t))}n=n.return}}}function Xh(){jh=Ah()}function Jh(){Uh=Ah()}function Zh(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function em(e,t){if(e&&e.defaultProps){var n=ke({},t),r=e.defaultProps;for(var o in r)void 0===n[o]&&(n[o]=r[o]);return n}return t}var tm,nm,rm,om,am,im,lm,sm,um,cm,dm,fm={};tm=new Set,nm=new Set,rm=new Set,om=new Set,sm=new Set,am=new Set,um=new Set,cm=new Set,dm=new Set;var pm=new Set;function hm(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(8&e.mode){Jr(!0);try{a=n(r,o)}finally{Jr(!1)}}im(t,a);var i=null==a?o:ke({},o,a);(e.memoizedState=i,0===e.lanes)&&(e.updateQueue.baseState=i)}lm=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;pm.has(n)||(pm.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},im=function(e,t){if(void 0===t){var n=ze(e)||"Component";am.has(n)||(am.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(fm,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(fm);var mm={isMounted:function(e){var t=xr.current;if(null!==t&&1===t.tag){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||a("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ve(n)||"A component"),r._warnedAboutRefsInRender=!0}var o=tr(e);return!!o&&Er(o)===o},enqueueSetState:function(e,t,n){var r=tr(e),o=Uy(),a=Fy(r),i=xf(o,a);i.payload=t,null!=n&&(lm(n,"setState"),i.callback=n);var l=Ef(r,i,a);null!==l&&(Wy(l,r,a,o),Cf(l,r,a)),go(r,a)},enqueueReplaceState:function(e,t,n){var r=tr(e),o=Uy(),a=Fy(r),i=xf(o,a);i.tag=1,i.payload=t,null!=n&&(lm(n,"replaceState"),i.callback=n);var l=Ef(r,i,a);null!==l&&(Wy(l,r,a,o),Cf(l,r,a)),go(r,a)},enqueueForceUpdate:function(e,t){var n=tr(e),r=Uy(),o=Fy(n),a=xf(r,o);a.tag=wf,null!=t&&(lm(t,"forceUpdate"),a.callback=t);var i=Ef(n,a,o);null!==i&&(Wy(i,n,o,r),Cf(i,n,o)),function(e,t){null!==Gr&&"function"==typeof Gr.markForceUpdateScheduled&&Gr.markForceUpdateScheduled(e,t)}(n,o)}};function vm(e,t,n,r,o,i,l){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var u=s.shouldComponentUpdate(r,i,l);if(8&e.mode){Jr(!0);try{u=s.shouldComponentUpdate(r,i,l)}finally{Jr(!1)}}return void 0===u&&a("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ze(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!Dl(n,r)||!Dl(o,i))}function gm(e,t){var n;t.updater=mm,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=fm}function ym(e,t,n){var r=!1,o=pc,i=pc,l=t.contextType;if("contextType"in t&&(!(null===l||void 0!==l&&l.$$typeof===ie&&void 0===l._context)&&!cm.has(t))){cm.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===ae?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ze(t)||"Component",s)}if("object"==typeof l&&null!==l)i=cf(l);else{o=gc(0,t,!0);var u=t.contextTypes;i=(r=null!=u)?bc(e,o):pc}var c=new t(n,i);if(8&e.mode){Jr(!0);try{c=new t(n,i)}finally{Jr(!1)}}var d=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(gm(e,c),"function"==typeof t.getDerivedStateFromProps&&null===d){var f=ze(t)||"Component";nm.has(f)||(nm.add(f),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",f,null===c.state?"null":"undefined",f))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,h=null,m=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?h="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(h="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==p||null!==h||null!==m){var v=ze(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";om.has(v)||(om.add(v),a("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",v,g,null!==p?"\n "+p:"",null!==h?"\n "+h:"",null!==m?"\n "+m:""))}}return r&&yc(e,o,i),c}function bm(e,t,n,r){var o=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o){var i=Ve(e)||"Component";tm.has(i)||(tm.add(i),a("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),mm.enqueueReplaceState(t,t.state,null)}}function wm(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=ze(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),r.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),!t.childContextTypes||dm.has(t)||8&e.mode||(dm.add(t),a("%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead\n\n.Learn more about this warning here: https://reactjs.org/link/legacy-context",o)),!t.contextTypes||dm.has(t)||8&e.mode||(dm.add(t),a("%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)),r.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!um.has(t)&&(um.add(t),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ze(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof r.componentWillRecieveProps&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var i=r.props!==n;void 0!==r.props&&i&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),r.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||rm.has(t)||(rm.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ze(t))),"function"==typeof r.getDerivedStateFromProps&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var l=r.state;l&&("object"!=typeof l||_t(l))&&a("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}(e,t,n);var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},kf(e);var i=t.contextType;if("object"==typeof i&&null!==i)o.context=cf(i);else{var l=gc(0,t,!0);o.context=bc(e,l)}if(o.state===n){var s=ze(t)||"Component";sm.has(s)||(sm.add(s),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}8&e.mode&&xd.recordLegacyContextWarning(e,o),xd.recordUnsafeLifecycleWarnings(e,o),o.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(hm(e,t,u,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(!function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ve(e)||"Component"),mm.enqueueReplaceState(t,t.state,null))}(e,o),Nf(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=4;c|=vr,0!==(e.mode&yo)&&(c|=gr),e.flags|=c}}function _m(e,t){return{value:e,source:t,stack:Ie(t),digest:null}}function km(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Sm(e,t){try{0;var n=t.value,r=t.source,o=t.stack,a=null!==o?o:"";if(null!=n&&n._suppressLogging){if(1===e.tag)return;console.error(n)}var i=r?Ve(r):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+a+"\n\n"+(3===e.tag?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(Ve(e)||"Anonymous")+".");console.error(l)}catch(i_){setTimeout(function(){throw i_})}}var xm="function"==typeof WeakMap?WeakMap:Map;function Em(e,t,n){var r=xf(ra,n);r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){mb(o),Sm(e,t)},r}function Cm(e,t,n){var r=xf(ra,n);r.tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var i=t.value;r.payload=function(){return o(i)},r.callback=function(){Bb(e),Sm(e,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(r.callback=function(){var n;Bb(e),Sm(e,t),"function"!=typeof o&&(n=this,null===ky?ky=new Set([n]):ky.add(n));var r=t.value,i=t.stack;this.componentDidCatch(r,{componentStack:null!==i?i:""}),"function"!=typeof o&&(ba(e.lanes,So)||a("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ve(e)||"Unknown"))}),r}function Tm(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new xm,r=new Set,o.set(t,r)):void 0===(r=o.get(t))&&(r=new Set,o.set(t,r)),!r.has(n)){r.add(n);var a=yb.bind(null,e,t,n);Xr&&Nb(e,n),t.then(a,a)}}function Om(e){var t=e;do{if(t.tag===c&&Xf(t))return t;t=t.return}while(null!==t);return null}function Nm(e,t,n,r,o){if(!(1&e.mode)){if(e===t)e.flags|=fr;else{if(e.flags|=rr,n.flags|=pr,n.flags&=-52805,1===n.tag)if(null===n.alternate)n.tag=p;else{var a=xf(ra,So);a.tag=wf,Ef(n,a,So)}n.lanes=_a(n.lanes,So)}return e}return e.flags|=fr,e.lanes=o,e}function Rm(e,t,n,r,o){if(n.flags|=dr,Xr&&Nb(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r;!function(e){var t=e.tag;if(!(1&e.mode||0!==t&&t!==s&&t!==f)){var n=e.alternate;n?(e.updateQueue=n.updateQueue,e.memoizedState=n.memoizedState,e.lanes=n.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),_d()&&1&n.mode&&nd();var i=Om(t);if(null!==i)return i.flags&=-257,Nm(i,t,n,0,o),1&i.mode&&Tm(e,a,o),void function(e,t,n){var r=e.updateQueue;if(null===r){var o=new Set;o.add(n),e.updateQueue=o}else r.add(n)}(i,0,a);if(0===(o&So))return Tm(e,a,o),void ib();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(_d()&&1&n.mode){nd();var l=Om(t);if(null!==l)return 0===(l.flags&fr)&&(l.flags|=or),Nm(l,t,n,0,o),void kd(_m(r,n))}!function(e){iy!==Xg&&(iy=Gg);null===dy?dy=[e]:dy.push(e)}(r=_m(r,n));var u=t;do{switch(u.tag){case 3:var c=r;u.flags|=fr;var d=va(o);return u.lanes=_a(u.lanes,d),void Tf(u,Em(u,c,d));case 1:var p=r,h=u.type,m=u.stateNode;if(0===(u.flags&rr)&&("function"==typeof h.getDerivedStateFromError||null!==m&&"function"==typeof m.componentDidCatch&&!hb(m))){u.flags|=fr;var v=va(o);return u.lanes=_a(u.lanes,v),void Tf(u,Cm(u,p,v))}}u=u.return}while(null!==u)}var Pm,Dm,Mm,Lm,Im,Am,zm,jm,Vm,Um=n.ReactCurrentOwner,Fm=!1;function Bm(e,t,n,r){t.child=null===e?Kd(t,null,n,r):qd(t,e.child,n,r)}function Wm(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&ac(a,r,"prop",ze(n))}var i,l,s=n.render,u=t.ref;if(uf(t,o),no(t),Um.current=t,Ke(!0),i=Sp(e,t,s,r,u,o),l=xp(),8&t.mode){Jr(!0);try{i=Sp(e,t,s,r,u,o),l=xp()}finally{Jr(!1)}}return Ke(!1),ro(),null===e||Fm?(_d()&&l&&Kc(t),t.flags|=1,Bm(e,t,i,o),t.child):(Ep(e,t,o),wv(e,t,o))}function Hm(e,t,n,r,o){if(null===e){var i=n.type;if(function(e){return"function"==typeof e&&!Xb(e)&&void 0===e.defaultProps}(i)&&null===n.compare&&void 0===n.defaultProps){var l;return l=jb(i),t.tag=f,t.type=l,ev(t,i),$m(e,t,l,r,o)}var s=i.propTypes;if(s&&ac(s,r,"prop",ze(i)),void 0!==n.defaultProps){var u=ze(i)||"Unknown";Vm[u]||(a("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Vm[u]=!0)}var c=ew(n.type,null,r,t,t.mode,o);return c.ref=t.ref,c.return=t,t.child=c,c}var d=n.type,p=d.propTypes;p&&ac(p,r,"prop",ze(d));var h=e.child;if(!_v(e,o)){var m=h.memoizedProps,v=n.compare;if((v=null!==v?v:Dl)(m,r)&&e.ref===t.ref)return wv(e,t,o)}t.flags|=1;var g=Jb(h,r);return g.ref=t.ref,g.return=t,t.child=g,g}function $m(e,t,n,r,o){if(t.type!==t.elementType){var a=t.elementType;if(a.$$typeof===de){var i=a,l=i._payload,s=i._init;try{a=s(l)}catch(d){a=null}var u=a&&a.propTypes;u&&ac(u,r,"prop",ze(a))}}if(null!==e){var c=e.memoizedProps;if(Dl(c,r)&&e.ref===t.ref&&t.type===e.type){if(Fm=!1,t.pendingProps=r=c,!_v(e,o))return t.lanes=e.lanes,wv(e,t,o);0!==(e.flags&pr)&&(Fm=!0)}}return Ym(e,t,n,r,o)}function qm(e,t,n){var r,o=t.pendingProps,a=o.children,i=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(1&t.mode){if(!ba(n,ta)){var l;if(null!==i)l=_a(i.baseLanes,n);else l=n;t.lanes=t.childLanes=ta;var s={baseLanes:l,cachePool:null,transitions:null};return t.memoizedState=s,t.updateQueue=null,Zy(t,l),null}var u={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=u,Zy(t,null!==i?i.baseLanes:n)}else{var c={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=c,Zy(t,n)}else null!==i?(r=_a(i.baseLanes,n),t.memoizedState=null):r=n,Zy(t,r);return Bm(e,t,a,n),t.child}function Km(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=ar,t.flags|=mr)}function Ym(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&ac(a,r,"prop",ze(n))}var i,l,s;if(i=bc(t,gc(0,n,!0)),uf(t,o),no(t),Um.current=t,Ke(!0),l=Sp(e,t,n,r,i,o),s=xp(),8&t.mode){Jr(!0);try{l=Sp(e,t,n,r,i,o),s=xp()}finally{Jr(!1)}}return Ke(!1),ro(),null===e||Fm?(_d()&&s&&Kc(t),t.flags|=1,Bm(e,t,l,o),t.child):(Ep(e,t,o),wv(e,t,o))}function Gm(e,t,n,r,o){switch(_w(t)){case!1:var i=t.stateNode,l=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,l,null);break;case!0:t.flags|=rr,t.flags|=fr;var s=new Error("Simulated error coming from DevTools"),u=va(o);t.lanes=_a(t.lanes,u),Tf(t,Cm(t,_m(s,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&ac(c,r,"prop",ze(n))}var d,f;_c(n)?(d=!0,Cc(t)):d=!1,uf(t,o),null===t.stateNode?(bv(e,t),ym(t,n,r),wm(t,n,r,o),f=!0):f=null===e?function(e,t,n,r){var o=e.stateNode,a=e.memoizedProps;o.props=a;var i=o.context,l=t.contextType,s=pc;s="object"==typeof l&&null!==l?cf(l):bc(e,gc(0,t,!0));var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===n&&i===s||bm(e,o,n,s),Pf();var d=e.memoizedState,f=o.state=d;if(Nf(e,n,o,r),f=e.memoizedState,a===n&&d===f&&!wc()&&!Df()){if("function"==typeof o.componentDidMount){var p=4;p|=vr,0!==(e.mode&yo)&&(p|=gr),e.flags|=p}return!1}"function"==typeof u&&(hm(e,t,u,n),f=e.memoizedState);var h=Df()||vm(e,t,a,n,d,f,s);if(h){if(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount){var m=4;m|=vr,0!==(e.mode&yo)&&(m|=gr),e.flags|=m}}else{if("function"==typeof o.componentDidMount){var v=4;v|=vr,0!==(e.mode&yo)&&(v|=gr),e.flags|=v}e.memoizedProps=n,e.memoizedState=f}return o.props=n,o.state=f,o.context=s,h}(t,n,r,o):function(e,t,n,r,o){var a=t.stateNode;Sf(e,t);var i=t.memoizedProps,l=t.type===t.elementType?i:em(t.type,i);a.props=l;var s=t.pendingProps,u=a.context,c=n.contextType,d=pc;d="object"==typeof c&&null!==c?cf(c):bc(t,gc(0,n,!0));var f=n.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===s&&u===d||bm(t,a,r,d),Pf();var h=t.memoizedState,m=a.state=h;if(Nf(t,r,a,o),m=t.memoizedState,i===s&&h===m&&!wc()&&!Df())return"function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=ir)),!1;"function"==typeof f&&(hm(t,n,f,r),m=t.memoizedState);var v=Df()||vm(t,n,l,r,h,m,d)||w;return v?(p||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,m,d),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,m,d)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=ir)):("function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=ir)),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=d,v}(e,t,n,r,o);var p=Qm(e,t,n,f,d,o),h=t.stateNode;return f&&h.props!==r&&(Am||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ve(t)||"a component"),Am=!0),p}function Qm(e,t,n,r,o,a){Km(e,t);var i=0!==(t.flags&rr);if(!r&&!i)return o&&Tc(t,n,!1),wv(e,t,a);var l,s=t.stateNode;if(Um.current=t,i&&"function"!=typeof n.getDerivedStateFromError)l=null,Kh();else{if(no(t),Ke(!0),l=s.render(),8&t.mode){Jr(!0);try{s.render()}finally{Jr(!1)}}Ke(!1),ro()}return t.flags|=1,null!==e&&i?function(e,t,n,r){t.child=qd(t,e.child,null,r),t.child=qd(t,null,n,r)}(e,t,l,a):Bm(e,t,l,a),t.memoizedState=s.state,o&&Tc(t,n,!0),t.child}function Xm(e){var t=e.stateNode;t.pendingContext?xc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xc(e,t.context,!1),Uf(e,t.containerInfo)}function Jm(e,t,n,r,o){return bd(),kd(o),t.flags|=or,Bm(e,t,n,r),t.child}function Zm(e,t,n,r){bv(e,t);var o=t.pendingProps,a=n,i=a._payload,l=(0,a._init)(i);t.type=l;var u=t.tag=function(e){if("function"==typeof e)return Xb(e)?1:0;if(null!=e){var t=e.$$typeof;if(t===le)return s;if(t===ce)return d}return 2}(l),c=em(l,o);switch(u){case 0:return ev(t,l),t.type=l=jb(l),Ym(null,t,l,c,r);case 1:return t.type=l=Vb(l),Gm(null,t,l,c,r);case s:return t.type=l=Ub(l),Wm(null,t,l,c,r);case d:if(t.type!==t.elementType){var f=l.propTypes;f&&ac(f,c,"prop",ze(l))}return Hm(null,t,l,em(l.type,c),r)}var p="";throw null!==l&&"object"==typeof l&&l.$$typeof===de&&(p=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+p)}function ev(e,t){if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=We();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",i=e._debugSource;i&&(o=i.fileName+":"+i.lineNumber),Im[o]||(Im[o]=!0,a("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if(void 0!==t.defaultProps){var l=ze(t)||"Unknown";Vm[l]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",l),Vm[l]=!0)}if("function"==typeof t.getDerivedStateFromProps){var s=ze(t)||"Unknown";Lm[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Lm[s]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=ze(t)||"Unknown";Mm[u]||(a("%s: Function components do not support contextType.",u),Mm[u]=!0)}}Pm={},Dm={},Mm={},Lm={},Im={},Am=!1,zm={},jm={},Vm={};var tv={dehydrated:null,treeContext:null,retryLane:0};function nv(e){return{baseLanes:e,cachePool:null,transitions:null}}function rv(e,t,n){var r=t.pendingProps;kw(t)&&(t.flags|=rr);var o=$f.current,i=!1,l=0!==(t.flags&rr);if(l||function(e,t){return(null===t||null!==t.memoizedState)&&qf(e,2)}(o,e)?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o=o|1),Gf(t,o=Kf(o)),null===e){fd(t);var s=t.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u)return function(e,t){1&e.mode?Iu(t)?e.lanes=To:e.lanes=ta:(a("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=So);return null}(t,u)}var c=r.children,d=r.fallback;if(i){var f=function(e,t,n,r){var o,a,i=e.mode,l=e.child,s={mode:"hidden",children:t};1&i||null===l?(o=av(s,i),a=nw(n,i,r,null)):((o=l).childLanes=0,o.pendingProps=s,2&e.mode&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),a=nw(n,i,r,null));return o.return=e,a.return=e,o.sibling=a,e.child=o,a}(t,c,d,n);return t.child.memoizedState=nv(n),t.memoizedState=tv,f}return ov(t,c)}var p=e.memoizedState;if(null!==p){var h=p.dehydrated;if(null!==h)return function(e,t,n,r,o,i,l){if(n){if(t.flags&or)return t.flags&=-257,lv(e,t,l,km(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=rr,null;var s=function(e,t,n,r,o){var a=t.mode,i={mode:"visible",children:n},l=av(i,a),s=nw(r,a,o,null);s.flags|=2,l.return=t,s.return=t,l.sibling=s,t.child=l,!(1&t.mode)||qd(t,e.child,null,o);return s}(e,t,r.children,r.fallback,l);return t.child.memoizedState=nv(l),t.memoizedState=tv,s}if(Zc&&a("We should not be hydrating here. This is a bug in React. Please file a bug."),!(1&t.mode))return lv(e,t,l,null);if(Iu(o)){var u,c,d,f=function(e){var t,n,r,o=e.nextSibling&&e.nextSibling.dataset;return o&&(t=o.dgst,n=o.msg,r=o.stck),{message:n,digest:t,stack:r}}(o);return u=f.digest,c=f.message,d=f.stack,lv(e,t,l,km(c?new Error(c):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),u,d))}var p=ba(l,e.childLanes);if(Fm||p){var h=Vy();if(null!==h){var m=function(e,t){var n;switch(ma(t)){case Co:n=Eo;break;case No:n=To;break;case 64:case 128:case 256:case 512:case Do:case Mo:case Lo:case Io:case Ao:case zo:case jo:case Vo:case Uo:case Fo:case Bo:case Wo:case $o:case qo:case Ko:case Yo:case Go:n=Ro;break;case ea:n=Zo;break;default:n=0}return 0!==(n&(e.suspendedLanes|t))?0:n}(h,l);if(0!==m&&m!==i.retryLane){i.retryLane=m;var v=ra;hf(e,m),Wy(h,e,m,v)}}return ib(),lv(e,t,l,km(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(Lu(o)){t.flags|=rr,t.child=e.child;var g=wb.bind(null,e);return b=g,o._reactRetry=b,null}od(t,o,i.treeContext);var y=ov(t,r.children);return y.flags|=sr,y;var b}(e,t,l,r,h,p,n)}if(i){var m=r.fallback,v=function(e,t,n,r,o){var a,i,l=t.mode,s=e.child,u=s.sibling,c={mode:"hidden",children:n};if(1&l||t.child===s)(a=iv(s,c)).subtreeFlags=s.subtreeFlags&Sr;else{(a=t.child).childLanes=0,a.pendingProps=c,2&t.mode&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=s.selfBaseDuration,a.treeBaseDuration=s.treeBaseDuration),t.deletions=null}null!==u?i=Jb(u,r):(i=nw(r,l,o,null)).flags|=2;return i.return=t,a.return=t,a.sibling=i,t.child=a,i}(e,t,r.children,m,n),g=t.child,y=e.child.memoizedState;return g.memoizedState=null===y?nv(n):function(e,t){return{baseLanes:_a(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(y,n),g.childLanes=function(e,t){return ka(e.childLanes,t)}(e,n),t.memoizedState=tv,v}var b=function(e,t,n,r){var o=e.child,a=o.sibling,i=iv(o,{mode:"visible",children:n});1&t.mode||(i.lanes=r);if(i.return=t,i.sibling=null,null!==a){var l=t.deletions;null===l?(t.deletions=[a],t.flags|=nr):l.push(a)}return t.child=i,i}(e,t,r.children,n);return t.memoizedState=null,b}function ov(e,t,n){var r=av({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function av(e,t,n){return rw(e,t,0,null)}function iv(e,t){return Jb(e,t)}function lv(e,t,n,r){null!==r&&kd(r),qd(t,e.child,null,n);var o=ov(t,t.pendingProps.children);return o.flags|=2,t.memoizedState=null,o}function sv(e,t,n){e.lanes=_a(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=_a(r.lanes,t)),lf(e.return,t,n)}function uv(e,t){var n=_t(e),r=!n&&"function"==typeof he(e);if(n||r){var o=n?"array":"iterable";return a("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function cv(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function dv(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail,l=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!zm[e])if(zm[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":a('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":a('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:a('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else a('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||jm[e]||("collapsed"!==e&&"hidden"!==e?(jm[e]=!0,a('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(jm[e]=!0,a('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(_t(e)){for(var n=0;n<e.length;n++)if(!uv(e[n],n))return}else{var r=he(e);if("function"==typeof r){var o=r.call(e);if(o)for(var i=o.next(),l=0;!i.done;i=o.next()){if(!uv(i.value,l))return;l++}}else a('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(l,o),Bm(e,t,l,n);var s=$f.current;qf(s,2)?(s=Yf(s,2),t.flags|=rr):(null!==e&&0!==(e.flags&rr)&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===c)null!==r.memoizedState&&sv(r,n,e);else if(r.tag===m)sv(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),s=Kf(s));if(Gf(t,s),1&t.mode)switch(o){case"forwards":var u,d=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Jf(r)&&(n=t),t=t.sibling}return n}(t.child);null===d?(u=t.child,t.child=null):(u=d.sibling,d.sibling=null),cv(t,!1,u,d,i);break;case"backwards":var f=null,p=t.child;for(t.child=null;null!==p;){var h=p.alternate;if(null!==h&&null===Jf(h)){t.child=p;break}var v=p.sibling;p.sibling=f,f=p,p=v}cv(t,!0,f,null,i);break;case"together":cv(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}var fv=!1;var pv,hv,mv,vv,gv=!1;function yv(){Fm=!0}function bv(e,t){1&t.mode||null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function wv(e,t,n){return null!==e&&(t.dependencies=e.dependencies),Kh(),ab(t.lanes),ba(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=Jb(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=Jb(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function _v(e,t){return!!ba(e.lanes,t)}function kv(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.deletions;return null===a?(r.deletions=[e],r.flags|=nr):a.push(e),n.flags|=2,n}(e,t,ew(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||wc()||t.type!==e.type)Fm=!0;else{if(!_v(e,n)&&0===(t.flags&rr))return Fm=!1,function(e,t,n){switch(t.tag){case 3:Xm(t),t.stateNode,bd();break;case 5:Wf(t);break;case 1:_c(t.type)&&Cc(t);break;case 4:Uf(t,t.stateNode.containerInfo);break;case l:var r=t.memoizedProps.value;of(t,t.type._context,r);break;case u:ba(n,t.childLanes)&&(t.flags|=4);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case c:var a=t.memoizedState;if(null!==a){if(null!==a.dehydrated)return Gf(t,Kf($f.current)),t.flags|=rr,null;if(ba(n,t.child.childLanes))return rv(e,t,n);Gf(t,Kf($f.current));var i=wv(e,t,n);return null!==i?i.sibling:null}Gf(t,Kf($f.current));break;case m:var s=0!==(e.flags&rr),d=ba(n,t.childLanes);if(s){if(d)return dv(e,t,n);t.flags|=rr}var f=t.memoizedState;if(null!==f&&(f.rendering=null,f.tail=null,f.lastEffect=null),Gf(t,$f.current),d)break;return null;case g:case y:return t.lanes=0,qm(e,t,n)}return wv(e,t,n)}(e,t,n);Fm=0!==(e.flags&pr)}else if(Fm=!1,_d()&&function(e){return Qc(),0!==(e.flags&hr)}(t)){var r=t.index;qc(t,(Qc(),jc),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){bv(e,t);var o,i,l,s=t.pendingProps;if(o=bc(t,gc(0,n,!1)),uf(t,r),no(t),n.prototype&&"function"==typeof n.prototype.render){var u=ze(n)||"Unknown";Pm[u]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),Pm[u]=!0)}if(8&t.mode&&xd.recordLegacyContextWarning(t,null),Ke(!0),Um.current=t,i=Sp(null,t,n,s,o,r),l=xp(),Ke(!1),ro(),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var c=ze(n)||"Unknown";Dm[c]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),Dm[c]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var d=ze(n)||"Unknown";Dm[d]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",d,d,d),Dm[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var f=!1;return _c(n)?(f=!0,Cc(t)):f=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,kf(t),gm(t,i),wm(t,n,s,r),Qm(null,t,n,!0,f,r)}if(t.tag=0,8&t.mode){Jr(!0);try{i=Sp(null,t,n,s,o,r),l=xp()}finally{Jr(!1)}}return _d()&&l&&Kc(t),Bm(null,t,i,r),ev(t,n),t.child}(e,t,t.type,n);case 16:return Zm(e,t,t.elementType,n);case 0:var o=t.type,i=t.pendingProps;return Ym(e,t,o,t.elementType===o?i:em(o,i),n);case 1:var h=t.type,b=t.pendingProps;return Gm(e,t,h,t.elementType===h?b:em(h,b),n);case 3:return function(e,t,n){if(Xm(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,o=t.memoizedState,a=o.element;Sf(e,t),Nf(t,r,null,n);var i=t.memoizedState;t.stateNode;var l=i.element;if(o.isDehydrated){var s={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=s,t.memoizedState=s,t.flags&or)return Jm(e,t,l,n,_m(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(l!==a)return Jm(e,t,l,n,_m(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));rd(t);var u=Kd(t,null,l,n);t.child=u;for(var c=u;c;)c.flags=-3&c.flags|sr,c=c.sibling}else{if(bd(),l===a)return wv(e,t,n);Bm(e,t,l,n)}return t.child}(e,t,n);case 5:return function(e,t,n){Wf(t),null===e&&fd(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return _u(r,o)?i=null:null!==a&&_u(r,a)&&(t.flags|=32),Km(e,t),Bm(e,t,i,n),t.child}(e,t,n);case 6:return function(e,t){return null===e&&fd(t),null}(e,t);case c:return rv(e,t,n);case 4:return function(e,t,n){Uf(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=qd(t,null,r,n):Bm(e,t,r,n),t.child}(e,t,n);case s:var w=t.type,_=t.pendingProps;return Wm(e,t,w,t.elementType===w?_:em(w,_),n);case 7:return function(e,t,n){return Bm(e,t,t.pendingProps,n),t.child}(e,t,n);case 8:return function(e,t,n){return Bm(e,t,t.pendingProps.children,n),t.child}(e,t,n);case u:return function(e,t,n){t.flags|=4;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,Bm(e,t,t.pendingProps.children,n),t.child}(e,t,n);case l:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value;"value"in o||fv||(fv=!0,a("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&ac(s,o,"prop","Context.Provider"),of(t,r,l),null!==i){var u=i.value;if(Pl(u,l)){if(i.children===o.children&&!wc())return wv(e,t,n)}else sf(t,r,n)}return Bm(e,t,o.children,n),t.child}(e,t,n);case 9:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(gv||(gv=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps.children;"function"!=typeof o&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),uf(t,n);var i,l=cf(r);return no(t),Um.current=t,Ke(!0),i=o(l),Ke(!1),ro(),t.flags|=1,Bm(e,t,i,n),t.child}(e,t,n);case d:var k=t.type,S=em(k,t.pendingProps);if(t.type!==t.elementType){var x=k.propTypes;x&&ac(x,S,"prop",ze(k))}return Hm(e,t,k,S=em(k.type,S),n);case f:return $m(e,t,t.type,t.pendingProps,n);case p:var E=t.type,C=t.pendingProps;return function(e,t,n,r,o){var a;return bv(e,t),t.tag=1,_c(n)?(a=!0,Cc(t)):a=!1,uf(t,o),ym(t,n,r),wm(t,n,r,o),Qm(null,t,n,!0,a,o)}(e,t,E,t.elementType===E?C:em(E,C),n);case m:return dv(e,t,n);case v:break;case g:return qm(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Sv(e){e.flags|=4}function xv(e){e.flags|=ar,e.flags|=mr}function Ev(e,t){if(!_d())switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Cv(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t){if(2&e.mode){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n=_a(n,_a(a.lanes,a.childLanes)),r|=a.subtreeFlags&Sr,r|=a.flags&Sr,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(var i=e.child;null!==i;)n=_a(n,_a(i.lanes,i.childLanes)),r|=i.subtreeFlags&Sr,r|=i.flags&Sr,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if(2&e.mode){for(var l=e.actualDuration,s=e.selfBaseDuration,u=e.child;null!==u;)n=_a(n,_a(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,l+=u.actualDuration,s+=u.treeBaseDuration,u=u.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(var c=e.child;null!==c;)n=_a(n,_a(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function Tv(e,t,n){if(Zc&&null!==Jc&&1&t.mode&&0===(t.flags&rr))return yd(t),bd(),t.flags|=98560,!1;var r=gd(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(hd(t),Cv(t),2&t.mode)if(null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(bd(),0===(t.flags&rr)&&(t.memoizedState=null),t.flags|=4,Cv(t),2&t.mode&&null!==n){var a=t.child;null!==a&&(t.treeBaseDuration-=a.treeBaseDuration)}return!1}return wd(),!0}function Ov(e,t,n){var r=t.pendingProps;switch(Gc(t),t.tag){case 2:case 16:case f:case 0:case s:case 7:case 8:case u:case 9:case d:return Cv(t),null;case 1:return _c(t.type)&&kc(t),Cv(t),null;case 3:var o=t.stateNode;if(Ff(t),Sc(t),ep(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)if(gd(t))Sv(t);else if(null!==e)e.memoizedState.isDehydrated&&0===(t.flags&or)||(t.flags|=ir,wd());return hv(e,t),Cv(t),null;case 5:Hf(t);var a=Vf(),i=t.type;if(null!==e&&null!=t.stateNode)mv(e,t,i,r,a),e.ref!==t.ref&&xv(t);else{if(!r){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Cv(t),null}var h=Bf();if(gd(t))(function(e,t,n){var r=e.stateNode,o=!ed,a=ju(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=a,null!==a})(t,0,h)&&Sv(t);else{var b=bu(i,r,a,h,t);pv(b,t,!1,!1),t.stateNode=b,function(e,t,n){switch(Gs(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(b,i,r)&&Sv(t)}null!==t.ref&&xv(t)}return Cv(t),null;case 6:var w=r;if(e&&null!=t.stateNode){var _=e.memoizedProps;vv(e,t,_,w)}else{if("string"!=typeof w&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var k=Vf(),S=Bf();gd(t)?pd(t)&&Sv(t):t.stateNode=ku(w,k,S,t)}return Cv(t),null;case c:Qf(t);var x=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Tv(e,t,x))return t.flags&fr?t:null;if(0!==(t.flags&rr))return t.lanes=n,2&t.mode&&Zh(t),t;var E=null!==x;if(E!==(null!==e&&null!==e.memoizedState))if(E)if(t.child.flags|=ur,1&t.mode)null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!0)||qf($f.current,1)?iy===Kg&&(iy=Qg):ib();if(null!==t.updateQueue&&(t.flags|=4),Cv(t),2&t.mode&&E){var C=t.child;null!==C&&(t.treeBaseDuration-=C.treeBaseDuration)}return null;case 4:return Ff(t),hv(e,t),null===e&&bs(t.stateNode.containerInfo),Cv(t),null;case l:return af(t.type._context,t),Cv(t),null;case p:return _c(t.type)&&kc(t),Cv(t),null;case m:Qf(t);var T=t.memoizedState;if(null===T)return Cv(t),null;var O=0!==(t.flags&rr),N=T.rendering;if(null===N)if(O)Ev(T,!1);else{if(!(iy===Kg&&(null===e||0===(e.flags&rr))))for(var R=t.child;null!==R;){var P=Jf(R);if(null!==P){O=!0,t.flags|=rr,Ev(T,!1);var D=P.updateQueue;return null!==D&&(t.updateQueue=D,t.flags|=4),t.subtreeFlags=0,Yd(t,n),Gf(t,Yf($f.current,2)),t.child}R=R.sibling}null!==T.tail&&jr()>by()&&(t.flags|=rr,O=!0,Ev(T,!1),t.lanes=Qo)}else{if(!O){var M=Jf(N);if(null!==M){t.flags|=rr,O=!0;var L=M.updateQueue;if(null!==L&&(t.updateQueue=L,t.flags|=4),Ev(T,!0),null===T.tail&&"hidden"===T.tailMode&&!N.alternate&&!_d())return Cv(t),null}else 2*jr()-T.renderingStartTime>by()&&n!==ta&&(t.flags|=rr,O=!0,Ev(T,!1),t.lanes=Qo)}if(T.isBackwards)N.sibling=t.child,t.child=N;else{var I=T.last;null!==I?I.sibling=N:t.child=N,T.last=N}}if(null!==T.tail){var A=T.tail;T.rendering=A,T.tail=A.sibling,T.renderingStartTime=jr(),A.sibling=null;var z=$f.current;return Gf(t,z=O?Yf(z,2):Kf(z)),A}return Cv(t),null;case v:break;case g:case y:eb(t);var j=null!==t.memoizedState;if(null!==e)null!==e.memoizedState!==j&&(t.flags|=ur);return j&&1&t.mode?ba(oy,ta)&&(Cv(t),6&t.subtreeFlags&&(t.flags|=ur)):Cv(t),null;case 24:case 25:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Nv(e,t,n){switch(Gc(t),t.tag){case 1:_c(t.type)&&kc(t);var r=t.flags;return r&fr?(t.flags=-65537&r|rr,2&t.mode&&Zh(t),t):null;case 3:t.stateNode,Ff(t),Sc(t),ep();var o=t.flags;return 0!==(o&fr)&&0===(o&rr)?(t.flags=-65537&o|rr,t):null;case 5:return Hf(t),null;case c:Qf(t);var a=t.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");bd()}var i=t.flags;return i&fr?(t.flags=-65537&i|rr,2&t.mode&&Zh(t),t):null;case m:return Qf(t),null;case 4:return Ff(t),null;case l:return af(t.type._context,t),null;case g:case y:return eb(t),null;default:return null}}function Rv(e,t,n){switch(Gc(t),t.tag){case 1:var r=t.type.childContextTypes;null!=r&&kc(t);break;case 3:t.stateNode,Ff(t),Sc(t),ep();break;case 5:Hf(t);break;case 4:Ff(t);break;case c:case m:Qf(t);break;case l:af(t.type._context,t);break;case g:case y:eb(t)}}pv=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag||6===o.tag)wu(e,o.stateNode);else if(4===o.tag);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)return;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},hv=function(e,t){},mv=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i=function(e,t,n,r,o,a){var i=a;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var l=""+r.children,s=ou(i.ancestorInfo,t);ru(null,l,s)}return Qs(e,t,n,r)}(t.stateNode,n,a,r,0,Bf());t.updateQueue=i,i&&Sv(t)}},vv=function(e,t,n,r){n!==r&&Sv(t)};var Pv=null;Pv=new Set;var Dv=!1,Mv=!1,Lv="function"==typeof WeakSet?WeakSet:Set,Iv=null,Av=null,zv=null;var jv=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{Xh(),t.componentWillUnmount()}finally{Gh(e)}else t.componentWillUnmount()};function Vv(e,t){try{Gv(4,e)}catch(n){gb(e,t,n)}}function Uv(e,t,n){try{jv(e,n)}catch(r){gb(e,t,r)}}function Fv(e,t){try{Zv(e)}catch(n){gb(e,t,n)}}function Bv(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(2&e.mode)try{Xh(),r=n(null)}finally{Gh(e)}else r=n(null)}catch(o){gb(e,t,o)}"function"==typeof r&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else n.current=null}function Wv(e,t,n){try{n()}catch(r){gb(e,t,r)}}var Hv=!1;function $v(e,t){yu(e.containerInfo),Iv=t,function(){for(;null!==Iv;){var e=Iv,t=e.child;0!==(e.subtreeFlags&br)&&null!==t?(t.return=e,Iv=t):qv()}}();var n=Hv;return Hv=!1,n}function qv(){for(;null!==Iv;){var e=Iv;qe(e);try{Kv(e)}catch(n){gb(e,e.return,n)}$e();var t=e.sibling;if(null!==t)return t.return=e.return,void(Iv=t);Iv=e.return}}function Kv(e){var t,n=e.alternate;if(0!==(e.flags&ir)){switch(qe(e),e.tag){case 0:case s:case f:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode;e.type!==e.elementType||Am||(i.props!==e.memoizedProps&&a("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(e)||"instance"),i.state!==e.memoizedState&&a("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(e)||"instance"));var l=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:em(e.type,r),o),u=Pv;void 0!==l||u.has(e.type)||(u.add(e.type),a("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ve(e))),i.__reactInternalSnapshotBeforeUpdate=l}break;case 3:var c=e.stateNode;1===(t=c.containerInfo).nodeType?t.textContent="":9===t.nodeType&&t.documentElement&&t.removeChild(t.documentElement);break;case 5:case 6:case 4:case p:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}$e()}}function Yv(e,t,n){var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var a=o.next,i=a;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,void 0!==l&&(8&e?io(t):4&e&&co(t),2&e&&Lb(!0),Wv(t,n,l),2&e&&Lb(!1),8&e?lo():4&e&&fo())}i=i.next}while(i!==a)}}function Gv(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,i=o;do{if((i.tag&e)===e){8&e?oo(t):4&e&&so(t);var l=i.create;2&e&&Lb(!0),i.destroy=l(),2&e&&Lb(!1),8&e?ao():4&e&&uo();var s=i.destroy;if(void 0!==s&&"function"!=typeof s){var u=void 0;a("%s must not return anything besides a function, which is used for clean-up.%s",u=4&i.tag?"useLayoutEffect":2&i.tag?"useInsertionEffect":"useEffect",null===s?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof s.then?"\n\nIt looks like you wrote "+u+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+u+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+s)}}i=i.next}while(i!==o)}}function Qv(e,t){if(4&t.flags&&t.tag===u){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,a=r.onPostCommit,i=Hh(),l=null===t.alternate?"mount":"update";Wh()&&(l="nested-update"),"function"==typeof a&&a(o,l,n,i);var s=t.return;e:for(;null!==s;){switch(s.tag){case 3:s.stateNode.passiveEffectDuration+=n;break e;case u:s.stateNode.passiveEffectDuration+=n;break e}s=s.return}}}function Xv(e,t,n,r){if(0!==(n.flags&_r))switch(n.tag){case 0:case s:case f:if(!Mv)if(2&n.mode)try{Xh(),Gv(5,n)}finally{Gh(n)}else Gv(5,n);break;case 1:var o=n.stateNode;if(4&n.flags&&!Mv)if(null===t)if(n.type!==n.elementType||Am||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(n)||"instance")),2&n.mode)try{Xh(),o.componentDidMount()}finally{Gh(n)}else o.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:em(n.type,t.memoizedProps),l=t.memoizedState;if(n.type!==n.elementType||Am||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(n)||"instance")),2&n.mode)try{Xh(),o.componentDidUpdate(i,l,o.__reactInternalSnapshotBeforeUpdate)}finally{Gh(n)}else o.componentDidUpdate(i,l,o.__reactInternalSnapshotBeforeUpdate)}var d=n.updateQueue;null!==d&&(n.type!==n.elementType||Am||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Ve(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Ve(n)||"instance")),Mf(0,d,o));break;case 3:var h=n.updateQueue;if(null!==h){var b=null;if(null!==n.child)switch(n.child.tag){case 5:case 1:b=n.child.stateNode}Mf(0,h,b)}break;case 5:var w=n.stateNode;if(null===t&&4&n.flags)!function(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(w,n.type,n.memoizedProps);break;case 6:case 4:break;case u:var _=n.memoizedProps,k=_.onCommit,S=_.onRender,x=n.stateNode.effectDuration,E=Hh(),C=null===t?"mount":"update";Wh()&&(C="nested-update"),"function"==typeof S&&S(n.memoizedProps.id,C,n.actualDuration,n.treeBaseDuration,n.actualStartTime,E),"function"==typeof k&&k(n.memoizedProps.id,C,x,E),O=n,Cy.push(O),Sy||(Sy=!0,Pb(Br,function(){return pb(),null}));var T=n.return;e:for(;null!==T;){switch(T.tag){case 3:T.stateNode.effectDuration+=x;break e;case u:T.stateNode.effectDuration+=x;break e}T=T.return}break;case c:!function(e,t){var n=t.memoizedState;if(null===n){var r=t.alternate;if(null!==r){var o=r.memoizedState;if(null!==o){var a=o.dehydrated;null!==a&&function(e){si(e)}(a)}}}}(0,n);break;case m:case p:case v:case g:case y:case 25:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var O;Mv||n.flags&ar&&Zv(n)}function Jv(e){switch(e.tag){case 0:case s:case f:if(2&e.mode)try{Xh(),Vv(e,e.return)}finally{Gh(e)}else Vv(e,e.return);break;case 1:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(r){gb(e,t,r)}}(e,e.return,t),Fv(e,e.return);break;case 5:Fv(e,e.return)}}function Zv(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,n=r,"function"==typeof t){var o;if(2&e.mode)try{Xh(),o=t(n)}finally{Gh(e)}else o=t(n);"function"==typeof o&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else t.hasOwnProperty("current")||a("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ve(e)),t.current=n}}function eg(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,eg(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag){var r=e.stateNode;null!==r&&(delete(t=r)[Fu],delete t[Bu],delete t[Hu],delete t[$u],delete t[qu])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function tg(e){return 5===e.tag||3===e.tag||4===e.tag}function ng(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||tg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&t.tag!==h;){if(2&t.flags)continue e;if(null===t.child||4===t.tag)continue e;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function rg(e){var t=function(e){for(var t=e.return;null!==t;){if(tg(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case 5:var n=t.stateNode;32&t.flags&&(Ou(n),t.flags&=-33),ag(e,ng(e),n);break;case 3:case 4:var r=t.stateNode.containerInfo;og(e,ng(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function og(e,t,n){var r=e.tag;if(5===r||6===r){var o=e.stateNode;t?function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,o,t):function(e,t){var n;8===e.nodeType?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Ys(n)}(n,o)}else if(4===r);else{var a=e.child;if(null!==a){og(a,t,n);for(var i=a.sibling;null!==i;)og(i,t,n),i=i.sibling}}}function ag(e,t,n){var r=e.tag;if(5===r||6===r){var o=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,o,t):function(e,t){e.appendChild(t)}(n,o)}else if(4===r);else{var a=e.child;if(null!==a){ag(a,t,n);for(var i=a.sibling;null!==i;)ag(i,t,n),i=i.sibling}}}var ig=null,lg=!1;function sg(e,t,n){var r,o,a=t;e:for(;null!==a;){switch(a.tag){case 5:ig=a.stateNode,lg=!1;break e;case 3:case 4:ig=a.stateNode.containerInfo,lg=!0;break e}a=a.return}if(null===ig)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");cg(e,t,n),ig=null,lg=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function ug(e,t,n){for(var r=n.child;null!==r;)cg(e,t,r),r=r.sibling}function cg(e,t,n){switch(function(e){if(Yr&&"function"==typeof Yr.onCommitFiberUnmount)try{Yr.onCommitFiberUnmount(Kr,e)}catch(t){Qr||(Qr=!0,a("React instrumentation encountered an error: %s",t))}}(n),n.tag){case 5:Mv||Bv(n,t);case 6:var r=ig,o=lg;return ig=null,ug(e,t,n),lg=o,void(null!==(ig=r)&&(lg?(S=ig,x=n.stateNode,8===S.nodeType?S.parentNode.removeChild(x):S.removeChild(x)):function(e,t){e.removeChild(t)}(ig,n.stateNode)));case h:return void(null!==ig&&(lg?function(e,t){8===e.nodeType?Nu(e.parentNode,t):1===e.nodeType&&Nu(e,t),si(e)}(ig,n.stateNode):Nu(ig,n.stateNode)));case 4:var i=ig,l=lg;return ig=n.stateNode.containerInfo,lg=!0,ug(e,t,n),ig=i,void(lg=l);case 0:case s:case d:case f:if(!Mv){var u=n.updateQueue;if(null!==u){var c=u.lastEffect;if(null!==c){var p=c.next,m=p;do{var y=m,b=y.destroy,w=y.tag;void 0!==b&&(2&w?Wv(n,t,b):4&w&&(co(n),2&n.mode?(Xh(),Wv(n,t,b),Gh(n)):Wv(n,t,b),fo())),m=m.next}while(m!==p)}}}return void ug(e,t,n);case 1:if(!Mv){Bv(n,t);var _=n.stateNode;"function"==typeof _.componentWillUnmount&&Uv(n,t,_)}return void ug(e,t,n);case v:return void ug(e,t,n);case g:if(1&n.mode){var k=Mv;Mv=k||null!==n.memoizedState,ug(e,t,n),Mv=k}else ug(e,t,n);break;default:return void ug(e,t,n)}var S,x}function dg(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Lv),t.forEach(function(t){var r=_b.bind(null,e,t);if(!n.has(t)){if(n.add(t),Xr){if(null===Av||null===zv)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Nb(zv,Av)}t.then(r,r)}})}}function fg(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{sg(e,t,a)}catch(s){gb(a,t,s)}}var i=Fe;if(t.subtreeFlags&wr)for(var l=t.child;null!==l;)qe(l),pg(l,e),l=l.sibling;qe(i)}function pg(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case s:case d:case f:if(fg(t,e),hg(e),4&o){try{Yv(3,e,e.return),Gv(3,e)}catch(R){gb(e,e.return,R)}if(2&e.mode){try{Xh(),Yv(5,e,e.return)}catch(R){gb(e,e.return,R)}Gh(e)}else try{Yv(5,e,e.return)}catch(R){gb(e,e.return,R)}}return;case 1:return fg(t,e),hg(e),void(o&ar&&null!==r&&Bv(r,r.return));case 5:if(fg(t,e),hg(e),o&ar&&null!==r&&Bv(r,r.return),32&e.flags){var a=e.stateNode;try{Ou(a)}catch(R){gb(e,e.return,R)}}if(4&o){var i=e.stateNode;if(null!=i){var l=e.memoizedProps,u=null!==r?r.memoizedProps:l,p=e.type,h=e.updateQueue;if(e.updateQueue=null,null!==h)try{!function(e,t,n,r,o){Xs(e,t,n,r,o),tc(e,o)}(i,h,p,u,l)}catch(R){gb(e,e.return,R)}}}return;case 6:if(fg(t,e),hg(e),4&o){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var b=e.stateNode,w=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(b,0,w)}catch(R){gb(e,e.return,R)}}return;case 3:if(fg(t,e),hg(e),4&o)if(null!==r)if(r.memoizedState.isDehydrated)try{si(t.containerInfo)}catch(R){gb(e,e.return,R)}return;case 4:return fg(t,e),void hg(e);case c:fg(t,e),hg(e);var _=e.child;if(_.flags&ur){var k=_.stateNode,S=null!==_.memoizedState;if(k.isHidden=S,S)null!==_.alternate&&null!==_.alternate.memoizedState||(py=jr())}if(4&o){try{!function(e){e.memoizedState}(e)}catch(R){gb(e,e.return,R)}dg(e)}return;case g:var x=null!==r&&null!==r.memoizedState;if(1&e.mode){var E=Mv;Mv=E||x,fg(t,e),Mv=E}else fg(t,e);if(hg(e),o&ur){var C=e.stateNode,T=null!==e.memoizedState,O=e;if(C.isHidden=T,T&&!x&&1&O.mode){Iv=O;for(var N=O.child;null!==N;)Iv=N,yg(N),N=N.sibling}!function(e,t){for(var n=null,r=e;;){if(5===r.tag){if(null===n){n=r;try{var o=r.stateNode;t?Ru(o):Du(r.stateNode,r.memoizedProps)}catch(R){gb(e,e.return,R)}}}else if(6===r.tag){if(null===n)try{var a=r.stateNode;t?Pu(a):Mu(a,r.memoizedProps)}catch(R){gb(e,e.return,R)}}else if((r.tag!==g&&r.tag!==y||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(O,T)}return;case m:return fg(t,e),hg(e),void(4&o&&dg(e));case v:return;default:return fg(t,e),void hg(e)}}function hg(e){var t=e.flags;if(2&t){try{rg(e)}catch(n){gb(e,e.return,n)}e.flags&=-3}t&sr&&(e.flags&=-4097)}function mg(e,t,n){Av=n,zv=t,Iv=e,vg(e,t,n),Av=null,zv=null}function vg(e,t,n){for(var r=!!(1&e.mode);null!==Iv;){var o=Iv,a=o.child;if(o.tag===g&&r){var i=null!==o.memoizedState||Dv;if(i){gg(e,t,n);continue}var l=o.alternate,s=null!==l&&null!==l.memoizedState,u=Dv,c=Mv;Dv=i,(Mv=s||Mv)&&!c&&(Iv=o,wg(o));for(var d=a;null!==d;)Iv=d,vg(d,t,n),d=d.sibling;Iv=o,Dv=u,Mv=c,gg(e,t,n)}else 0!==(o.subtreeFlags&_r)&&null!==a?(a.return=o,Iv=a):gg(e,t,n)}}function gg(e,t,n){for(;null!==Iv;){var r=Iv;if(0!==(r.flags&_r)){var o=r.alternate;qe(r);try{Xv(0,o,r)}catch(i){gb(r,r.return,i)}$e()}if(r===e)return void(Iv=null);var a=r.sibling;if(null!==a)return a.return=r.return,void(Iv=a);Iv=r.return}}function yg(e){for(;null!==Iv;){var t=Iv,n=t.child;switch(t.tag){case 0:case s:case d:case f:if(2&t.mode)try{Xh(),Yv(4,t,t.return)}finally{Gh(t)}else Yv(4,t,t.return);break;case 1:Bv(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&Uv(t,t.return,r);break;case 5:Bv(t,t.return);break;case g:if(null!==t.memoizedState){bg(e);continue}}null!==n?(n.return=t,Iv=n):bg(e)}}function bg(e){for(;null!==Iv;){var t=Iv;if(t===e)return void(Iv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Iv=n);Iv=t.return}}function wg(e){for(;null!==Iv;){var t=Iv,n=t.child;if(t.tag===g)if(null!==t.memoizedState){_g(e);continue}null!==n?(n.return=t,Iv=n):_g(e)}}function _g(e){for(;null!==Iv;){var t=Iv;qe(t);try{Jv(t)}catch(r){gb(t,t.return,r)}if($e(),t===e)return void(Iv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Iv=n);Iv=t.return}}function kg(e,t,n,r){Iv=t,function(e,t,n,r){for(;null!==Iv;){var o=Iv,a=o.child;0!==(o.subtreeFlags&kr)&&null!==a?(a.return=o,Iv=a):Sg(e,t,n,r)}}(t,e,n,r)}function Sg(e,t,n,r){for(;null!==Iv;){var o=Iv;if(0!==(o.flags&lr)){qe(o);try{xg(t,o,n,r)}catch(i){gb(o,o.return,i)}$e()}if(o===e)return void(Iv=null);var a=o.sibling;if(null!==a)return a.return=o.return,void(Iv=a);Iv=o.return}}function xg(e,t,n,r){switch(t.tag){case 0:case s:case f:if(2&t.mode){Jh();try{Gv(9,t)}finally{Qh(t)}}else Gv(9,t)}}function Eg(e){Iv=e,function(){for(;null!==Iv;){var e=Iv,t=e.child;if(0!==(Iv.flags&nr)){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];Iv=o,Og(o,e)}var a=e.alternate;if(null!==a){var i=a.child;if(null!==i){a.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}Iv=e}}0!==(e.subtreeFlags&kr)&&null!==t?(t.return=e,Iv=t):Cg()}}()}function Cg(){for(;null!==Iv;){var e=Iv;0!==(e.flags&lr)&&(qe(e),Tg(e),$e());var t=e.sibling;if(null!==t)return t.return=e.return,void(Iv=t);Iv=e.return}}function Tg(e){switch(e.tag){case 0:case s:case f:2&e.mode?(Jh(),Yv(9,e,e.return),Qh(e)):Yv(9,e,e.return)}}function Og(e,t){for(;null!==Iv;){var n=Iv;qe(n),Rg(n,t),$e();var r=n.child;null!==r?(r.return=n,Iv=r):Ng(e)}}function Ng(e){for(;null!==Iv;){var t=Iv,n=t.sibling,r=t.return;if(eg(t),t===e)return void(Iv=null);if(null!==n)return n.return=r,void(Iv=n);Iv=r}}function Rg(e,t){switch(e.tag){case 0:case s:case f:2&e.mode?(Jh(),Yv(8,e,t),Qh(e)):Yv(8,e,t)}}function Pg(e){switch(e.tag){case 0:case s:case f:try{Gv(5,e)}catch(n){gb(e,e.return,n)}break;case 1:var t=e.stateNode;try{t.componentDidMount()}catch(n){gb(e,e.return,n)}}}function Dg(e){switch(e.tag){case 0:case s:case f:try{Gv(9,e)}catch(t){gb(e,e.return,t)}}}function Mg(e){switch(e.tag){case 0:case s:case f:try{Yv(5,e,e.return)}catch(n){gb(e,e.return,n)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Uv(e,e.return,t)}}function Lg(e){switch(e.tag){case 0:case s:case f:try{Yv(9,e,e.return)}catch(t){gb(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Ig=Symbol.for;Ig("selector.component"),Ig("selector.has_pseudo_class"),Ig("selector.role"),Ig("selector.test_id"),Ig("selector.text")}var Ag=[];var zg=n.ReactCurrentActQueue;function jg(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===zg.current||a("The current testing environment is not configured to support act(...)"),e}var Vg=Math.ceil,Ug=n.ReactCurrentDispatcher,Fg=n.ReactCurrentOwner,Bg=n.ReactCurrentBatchConfig,Wg=n.ReactCurrentActQueue,Hg=0,$g=2,qg=4,Kg=0,Yg=1,Gg=2,Qg=3,Xg=4,Jg=5,Zg=6,ey=Hg,ty=null,ny=null,ry=0,oy=0,ay=cc(0),iy=Kg,ly=null,sy=0,uy=0,cy=0,dy=null,fy=null,py=0,hy=500,my=1/0,vy=500,gy=null;function yy(){my=jr()+vy}function by(){return my}var wy=!1,_y=null,ky=null,Sy=!1,xy=null,Ey=0,Cy=[],Ty=null,Oy=50,Ny=0,Ry=null,Py=!1,Dy=!1,My=50,Ly=0,Iy=null,Ay=ra,zy=0,jy=!1;function Vy(){return ty}function Uy(){return(ey&($g|qg))!==Hg?jr():Ay!==ra?Ay:Ay=jr()}function Fy(e){if(!(1&e.mode))return So;if((ey&$g)!==Hg&&0!==ry)return va(ry);if(null!==Sd.transition){if(null!==Bg.transition){var t=Bg.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return 0===zy&&(zy=ha()),zy}var n,r=Ua();return 0!==r?r:void 0===(n=window.event)?za:gi(n.type)}function By(e){var t;return 1&e.mode?(t=aa,!((aa<<=1)&Ho)&&(aa=$o),t):So}function Wy(e,t,n,r){!function(){if(Ny>Oy)throw Ny=0,Ry=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Ly>My&&(Ly=0,Iy=null,a("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),jy&&a("useInsertionEffect must not schedule updates."),Py&&(Dy=!0),Ea(e,n,r),0!==(ey&$g)&&e===ty?function(e){if(Be&&!gh)switch(e.tag){case 0:case s:case f:var t=ny&&Ve(ny)||"Unknown",n=t;if(!Tb.has(n))Tb.add(n),a("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",Ve(e)||"Unknown",t,t);break;case 1:Ob||(a("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Ob=!0)}}(t):(Xr&&Oa(e,t,n),function(e){if(1&e.mode){if(!jg())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(ey!==Hg)return;if(0!==e.tag&&e.tag!==s&&e.tag!==f)return}var t;if(null===Wg.current){var n=Fe;try{qe(e),a("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",Ve(e))}finally{n?qe(e):$e()}}}(t),e===ty&&((ey&$g)===Hg&&(uy=_a(uy,n)),iy===Xg&&Yy(e,ry)),Hy(e,r),n!==So||ey!==Hg||1&t.mode||Wg.isBatchingLegacy||(yy(),Mc()))}function Hy(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=n;i>0;){var l=ga(i),s=1<<l,u=a[l];u===ra?0!==(s&r)&&0===(s&o)||(a[l]=sa(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=la(e,e===ty?ry:0);if(0===r)return null!==n&&Db(n),e.callbackNode=null,void(e.callbackPriority=0);var o=ma(r),i=e.callbackPriority;if(i!==o||null!==Wg.current&&n!==Rb){var l,s;if(null!=n&&Db(n),o===So)0===e.tag?(null!==Wg.isBatchingLegacy&&(Wg.didScheduleLegacyUpdate=!0),s=Gy.bind(null,e),Rc=!0,Dc(s)):Dc(Gy.bind(null,e)),null!==Wg.current?Wg.current.push(Lc):Cu(function(){(ey&($g|qg))===Hg&&Lc()}),l=null;else{var u;switch(Wa(r)){case Ia:u=Ur;break;case Aa:u=Fr;break;case za:u=Br;break;case ja:u=Hr;break;default:u=Br}l=Pb(u,$y.bind(null,e))}e.callbackPriority=o,e.callbackNode=l}else null==n&&i!==So&&a("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function $y(e,t){if(Fh=!1,Bh=!1,Ay=ra,zy=0,(ey&($g|qg))!==Hg)throw new Error("Should not already be working.");var n=e.callbackNode;if(pb()&&e.callbackNode!==n)return null;var r=la(e,e===ty?ry:0);if(0===r)return null;var o=!fa(0,r)&&!function(e,t){return 0!==(t&e.expiredLanes)}(e,r)&&!t,a=o?function(e,t){var n=ey;ey|=$g;var r=rb();if(ty!==e||ry!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(Nb(e,ry),o.clear()),Na(e,t)}gy=null,yy(),tb(e,t)}mo(t);for(;;)try{ub();break}catch(a){nb(e,a)}return tf(),ob(r),ey=n,null!==ny?(null!==Gr&&"function"==typeof Gr.markRenderYielded&&Gr.markRenderYielded(),Kg):(vo(),ty=null,ry=0,iy)}(e,r):lb(e,r);if(a!==Kg){if(a===Gg){var i=ua(e);0!==i&&(r=i,a=qy(e,i))}if(a===Yg){var l=ly;throw tb(e,0),Yy(e,r),Hy(e,jr()),l}if(a===Zg)Yy(e,r);else{var s=!fa(0,r),u=e.current.alternate;if(s&&!function(e){var t=e;for(;;){if(t.flags&cr){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.getSnapshot,l=a.value;try{if(!Pl(i(),l))return!1}catch(u){return!1}}}}var s=t.child;if(t.subtreeFlags&cr&&null!==s)s.return=t,t=s;else{if(t===e)return!0;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(u)){if((a=lb(e,r))===Gg){var c=ua(e);0!==c&&(r=c,a=qy(e,c))}if(a===Yg){var d=ly;throw tb(e,0),Yy(e,r),Hy(e,jr()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case Kg:case Yg:throw new Error("Root did not complete. This is a bug in React.");case Gg:fb(e,fy,gy);break;case Qg:if(Yy(e,n),da(n)&&!Mb()){var r=py+hy-jr();if(r>10){if(0!==la(e,0))break;var o=e.suspendedLanes;if(!wa(o,n)){Uy(),Ca(e,o);break}e.timeoutHandle=Su(fb.bind(null,e,fy,gy),r);break}}fb(e,fy,gy);break;case Xg:if(Yy(e,n),function(e){return(e&Po)===e}(n))break;if(!Mb()){var a=function(e,t){for(var n=e.eventTimes,r=ra;t>0;){var o=ga(t),a=1<<o,i=n[o];i>r&&(r=i),t&=~a}return r}(e,n),i=a,l=jr()-i,s=((u=l)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*Vg(u/1960))-l;if(s>10){e.timeoutHandle=Su(fb.bind(null,e,fy,gy),s);break}}fb(e,fy,gy);break;case Jg:fb(e,fy,gy);break;default:throw new Error("Unknown root exit status.")}var u}(e,a,r)}}return Hy(e,jr()),e.callbackNode===n?$y.bind(null,e):null}function qy(e,t){var n=dy;Ha(e)&&(tb(e,t).flags|=or,a("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=lb(e,t);if(r!==Gg){var o=fy;fy=n,null!==o&&Ky(o)}return r}function Ky(e){null===fy?fy=e:fy.push.apply(fy,e)}function Yy(e,t){t=ka(t,cy),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=ga(r),a=1<<o;n[o]=ra,r&=~a}}(e,t=ka(t,uy))}function Gy(e){if(Fh=Bh,Bh=!1,(ey&($g|qg))!==Hg)throw new Error("Should not already be working.");pb();var t=la(e,0);if(!ba(t,So))return Hy(e,jr()),null;var n=lb(e,t);if(0!==e.tag&&n===Gg){var r=ua(e);0!==r&&(t=r,n=qy(e,r))}if(n===Yg){var o=ly;throw tb(e,0),Yy(e,t),Hy(e,jr()),o}if(n===Zg)throw new Error("Root did not complete. This is a bug in React.");var a=e.current.alternate;return e.finishedWork=a,e.finishedLanes=t,fb(e,fy,gy),Hy(e,jr()),null}function Qy(e,t){var n=ey;ey|=1;try{return e(t)}finally{(ey=n)!==Hg||Wg.isBatchingLegacy||(yy(),Mc())}}function Xy(e){null!==xy&&0===xy.tag&&(ey&($g|qg))===Hg&&pb();var t=ey;ey|=1;var n=Bg.transition,r=Ua();try{return Bg.transition=null,Fa(Ia),e?e():void 0}finally{Fa(r),Bg.transition=n,((ey=t)&($g|qg))===Hg&&Lc()}}function Jy(){return(ey&($g|qg))!==Hg}function Zy(e,t){fc(ay,oy,e),oy=_a(oy,t)}function eb(e){oy=ay.current,dc(ay,e)}function tb(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xu(n)),null!==ny)for(var r=ny.return;null!==r;){r.alternate;Rv(0,r),r=r.return}ty=e;var o=Jb(e.current,null);return ny=o,ry=oy=t,iy=Kg,ly=null,sy=0,uy=0,cy=0,dy=null,fy=null,function(){if(null!==df){for(var e=0;e<df.length;e++){var t=df[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var a=o.next;o.next=r,n.next=a}t.pending=n}}df=null}}(),xd.discardPendingWarnings(),o}function nb(e,t){for(;;){var n=ny;try{if(tf(),Cp(),$e(),Fg.current=null,null===n||null===n.return)return iy=Yg,ly=t,void(ny=null);2&n.mode&&Yh(n,!0),ro(),null!==t&&"object"==typeof t&&"function"==typeof t.then?ho(n,t,ry):po(n,t,ry),Rm(e,n.return,n,t,ry),db(n)}catch(r){t=r,ny===n&&null!==n?(n=n.return,ny=n):n=ny;continue}return}}function rb(){var e=Ug.current;return Ug.current=Ch,null===e?Ch:e}function ob(e){Ug.current=e}function ab(e){sy=_a(e,sy)}function ib(){iy!==Kg&&iy!==Qg&&iy!==Gg||(iy=Xg),null!==ty&&(ca(sy)||ca(uy))&&Yy(ty,ry)}function lb(e,t){var n=ey;ey|=$g;var r=rb();if(ty!==e||ry!==t){if(Xr){var o=e.memoizedUpdaters;o.size>0&&(Nb(e,ry),o.clear()),Na(e,t)}gy=null,tb(e,t)}for(mo(t);;)try{sb();break}catch(a){nb(e,a)}if(tf(),ey=n,ob(r),null!==ny)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return vo(),ty=null,ry=0,iy}function sb(){for(;null!==ny;)cb(ny)}function ub(){for(;null!==ny&&!Ar();)cb(ny)}function cb(e){var t,n=e.alternate;qe(e),2&e.mode?(qh(e),t=xb(n,e,oy),Yh(e,!0)):t=xb(n,e,oy),$e(),e.memoizedProps=e.pendingProps,null===t?db(e):ny=t,Fg.current=null}function db(e){var t=e;do{var n=t.alternate,r=t.return;if(0===(t.flags&dr)){qe(t);var o=void 0;if(2&t.mode?(qh(t),o=Ov(n,t,oy),Yh(t,!1)):o=Ov(n,t,oy),$e(),null!==o)return void(ny=o)}else{var a=Nv(0,t);if(null!==a)return a.flags&=32767,void(ny=a);if(2&t.mode){Yh(t,!1);for(var i=t.actualDuration,l=t.child;null!==l;)i+=l.actualDuration,l=l.sibling;t.actualDuration=i}if(null===r)return iy=Zg,void(ny=null);r.flags|=dr,r.subtreeFlags=0,r.deletions=null}var s=t.sibling;if(null!==s)return void(ny=s);ny=t=r}while(null!==t);iy===Kg&&(iy=Jg)}function fb(e,t,n){var r=Ua(),o=Bg.transition;try{Bg.transition=null,Fa(Ia),function(e,t,n,r){do{pb()}while(null!==xy);if(function(){xd.flushLegacyContextWarning(),xd.flushPendingUnsafeLifecycleWarnings()}(),(ey&($g|qg))!==Hg)throw new Error("Should not already be working.");var o=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Gr&&"function"==typeof Gr.markCommitStarted&&Gr.markCommitStarted(e)}(i),null===o)return to(),null;0===i&&a("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=0;var l=_a(o.lanes,o.childLanes);(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var r=e.entanglements,o=e.eventTimes,a=e.expirationTimes,i=n;i>0;){var l=ga(i),s=1<<l;r[l]=0,o[l]=ra,a[l]=ra,i&=~s}})(e,l),e===ty&&(ty=null,ny=null,ry=0);0===(o.subtreeFlags&kr)&&0===(o.flags&kr)||Sy||(Sy=!0,Ty=n,Pb(Br,function(){return pb(),null}));var s=!!(15990&o.subtreeFlags),u=!!(15990&o.flags);if(s||u){var c=Bg.transition;Bg.transition=null;var d=Ua();Fa(Ia);var f=ey;ey|=qg,Fg.current=null,$v(e,o),$h(),function(e,t,n){Av=n,zv=e,qe(t),pg(t,e),qe(t),Av=null,zv=null}(e,o,i),e.containerInfo,Wl(gu),di(vu),vu=null,gu=null,e.current=o,function(e){null!==Gr&&"function"==typeof Gr.markLayoutEffectsStarted&&Gr.markLayoutEffectsStarted(e)}(i),mg(o,e,i),null!==Gr&&"function"==typeof Gr.markLayoutEffectsStopped&&Gr.markLayoutEffectsStopped(),zr(),ey=f,Fa(d),Bg.transition=c}else e.current=o,$h();var p=Sy;Sy?(Sy=!1,xy=e,Ey=i):(Ly=0,Iy=null);l=e.pendingLanes,0===l&&(ky=null);p||kb(e.current,!1);(function(e,t){if(Yr&&"function"==typeof Yr.onCommitFiberRoot)try{var n,r=(e.current.flags&rr)===rr;switch(t){case Ia:n=Ur;break;case Aa:n=Fr;break;case za:n=Br;break;case ja:n=Hr;break;default:n=Br}Yr.onCommitFiberRoot(Kr,e,n,r)}catch(o){Qr||(Qr=!0,a("React instrumentation encountered an error: %s",o))}})(o.stateNode,r),Xr&&e.memoizedUpdaters.clear();if(function(){Ag.forEach(function(e){return e()})}(),Hy(e,jr()),null!==t)for(var h=e.onRecoverableError,m=0;m<t.length;m++){var v=t[m],g=v.stack,y=v.digest;h(v.value,{componentStack:g,digest:y})}if(wy){wy=!1;var b=_y;throw _y=null,b}ba(Ey,So)&&0!==e.tag&&pb();l=e.pendingLanes,ba(l,So)?(Bh=!0,e===Ry?Ny++:(Ny=0,Ry=e)):Ny=0;Lc(),to()}(e,t,n,r)}finally{Bg.transition=o,Fa(r)}return null}function pb(){if(null!==xy){var e=Wa(Ey),t=(o=za)>(i=e)?o:i,n=Bg.transition,r=Ua();try{return Bg.transition=null,Fa(t),function(){if(null===xy)return!1;var e=Ty;Ty=null;var t=xy,n=Ey;if(xy=null,Ey=0,(ey&($g|qg))!==Hg)throw new Error("Cannot flush passive effects while already rendering.");Py=!0,Dy=!1,function(e){null!==Gr&&"function"==typeof Gr.markPassiveEffectsStarted&&Gr.markPassiveEffectsStarted(e)}(n);var r=ey;ey|=qg,Eg(t.current),kg(t,t.current,n,e);var o=Cy;Cy=[];for(var i=0;i<o.length;i++){Qv(0,o[i])}void(null!==Gr&&"function"==typeof Gr.markPassiveEffectsStopped&&Gr.markPassiveEffectsStopped()),kb(t.current,!0),ey=r,Lc(),Dy?t===Iy?Ly++:(Ly=0,Iy=t):Ly=0;Py=!1,Dy=!1,function(e){if(Yr&&"function"==typeof Yr.onPostCommitFiberRoot)try{Yr.onPostCommitFiberRoot(Kr,e)}catch(t){Qr||(Qr=!0,a("React instrumentation encountered an error: %s",t))}}(t);var l=t.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{Fa(r),Bg.transition=n}}var o,i;return!1}function hb(e){return null!==ky&&ky.has(e)}var mb=function(e){wy||(wy=!0,_y=e)};function vb(e,t,n){var r=Ef(e,Em(e,_m(n,t),So),So),o=Uy();null!==r&&(Ea(r,So,o),Hy(r,o))}function gb(e,t,n){var r;if(r=n,Zn(null,function(){throw r}),er(),Lb(!1),3!==e.tag){var o=null;for(o=t;null!==o;){if(3===o.tag)return void vb(o,e,n);if(1===o.tag){var i=o.type,l=o.stateNode;if("function"==typeof i.getDerivedStateFromError||"function"==typeof l.componentDidCatch&&!hb(l)){var s=Ef(o,Cm(o,_m(n,e),So),So),u=Uy();return void(null!==s&&(Ea(s,So,u),Hy(s,u)))}}o=o.return}a("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else vb(e,e,n)}function yb(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var o=Uy();Ca(e,n),function(e){0!==e.tag&&jg()&&null===Wg.current&&a("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),ty===e&&wa(ry,n)&&(iy===Xg||iy===Qg&&da(ry)&&jr()-py<hy?tb(e,0):cy=_a(cy,n)),Hy(e,o)}function bb(e,t){0===t&&(t=By(e));var n=Uy(),r=hf(e,t);null!==r&&(Ea(r,t,n),Hy(r,n))}function wb(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),bb(e,n)}function _b(e,t){var n,r=0;switch(e.tag){case c:n=e.stateNode;var o=e.memoizedState;null!==o&&(r=o.retryLane);break;case m:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),bb(e,r)}function kb(e,t){qe(e),Sb(e,gr,Mg),t&&Sb(e,yr,Lg),Sb(e,gr,Pg),t&&Sb(e,yr,Dg),$e()}function Sb(e,t,n){for(var r=e,o=null;null!==r;){var a=r.subtreeFlags&t;r!==o&&null!==r.child&&0!==a?r=r.child:(0!==(r.flags&t)&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var xb,Eb=null;function Cb(e){if((ey&$g)===Hg&&1&e.mode){var t=e.tag;if(2===t||3===t||1===t||0===t||t===s||t===d||t===f){var n=Ve(e)||"ReactComponent";if(null!==Eb){if(Eb.has(n))return;Eb.add(n)}else Eb=new Set([n]);var r=Fe;try{qe(e),a("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?qe(e):$e()}}}}xb=function(e,t,n){var r=iw(null,t);try{return kv(e,t,n)}catch(a){if(ed||null!==a&&"object"==typeof a&&"function"==typeof a.then)throw a;if(tf(),Cp(),Rv(0,t),iw(t,r),2&t.mode&&qh(t),Zn(null,kv,null,e,t,n),Yn){var o=er();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof a&&null!==a&&!a._suppressLogging&&(a._suppressLogging=!0)}throw a}};var Tb,Ob=!1;function Nb(e,t){Xr&&e.memoizedUpdaters.forEach(function(n){Oa(e,n,t)})}Tb=new Set;var Rb={};function Pb(e,t){var n=Wg.current;return null!==n?(n.push(t),Rb):Lr(e,t)}function Db(e){if(e!==Rb)return Ir(e)}function Mb(){return null!==Wg.current}function Lb(e){jy=e}var Ib=null,Ab=null,zb=function(e){Ib=e};function jb(e){if(null===Ib)return e;var t=Ib(e);return void 0===t?e:t.current}function Vb(e){return jb(e)}function Ub(e){if(null===Ib)return e;var t=Ib(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=jb(e.render);if(e.render!==n){var r={$$typeof:le,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Fb(e,t){if(null===Ib)return!1;var n=e.elementType,r=t.type,o=!1,a="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(o=!0);break;case 0:("function"==typeof r||a===de)&&(o=!0);break;case s:(a===le||a===de)&&(o=!0);break;case d:case f:(a===ce||a===de)&&(o=!0);break;default:return!1}if(o){var i=Ib(n);if(void 0!==i&&i===Ib(r))return!0}return!1}function Bb(e){null!==Ib&&"function"==typeof WeakSet&&(null===Ab&&(Ab=new WeakSet),Ab.add(e))}var Wb=function(e,t){if(null!==Ib){var n=t.staleFamilies,r=t.updatedFamilies;pb(),Xy(function(){$b(e.current,r,n)})}},Hb=function(e,t){e.context===pc&&(pb(),Xy(function(){vw(t,e,null,null)}))};function $b(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,l=e.type,u=null;switch(i){case 0:case f:case 1:u=l;break;case s:u=l.render}if(null===Ib)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==u){var p=Ib(u);void 0!==p&&(n.has(p)?d=!0:t.has(p)&&(1===i?d=!0:c=!0))}if(null!==Ab&&(Ab.has(e)||null!==r&&Ab.has(r))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var h=hf(e,So);null!==h&&Wy(h,e,So,ra)}null===o||d||$b(o,t,n),null!==a&&$b(a,t,n)}var qb,Kb=function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return Yb(e.current,r,n),n};function Yb(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,l=null;switch(a){case 0:case f:case 1:l=i;break;case s:l=i.render}var u=!1;null!==l&&t.has(l)&&(u=!0),u?function(e,t){var n=function(e,t){var n=e,r=!1;for(;;){if(5===n.tag)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(n)return;var r=e;for(;;){switch(r.tag){case 5:return void t.add(r.stateNode);case 4:case 3:return void t.add(r.stateNode.containerInfo)}if(null===r.return)throw new Error("Expected to reach root first.");r=r.return}}(e,n):null!==r&&Yb(r,t,n),null!==o&&Yb(o,t,n)}qb=!1;try{Object.preventExtensions({})}catch(i_){qb=!0}function Gb(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=0,this.subtreeFlags=0,this.deletions=null,this.lanes=0,this.childLanes=0,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,qb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var Qb=function(e,t,n,r){return new Gb(e,t,n,r)};function Xb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function Jb(e,t){var n=e.alternate;null===n?((n=Qb(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&Sr,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 2:case 0:case f:n.type=jb(e.type);break;case 1:n.type=Vb(e.type);break;case s:n.type=Ub(e.type)}return n}function Zb(e,t){e.flags&=14680066;var n=e.alternate;if(null===n)e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function ew(e,t,n,r,o,i){var f=2,p=e;if("function"==typeof e)Xb(e)?(f=1,p=Vb(p)):p=jb(p);else if("string"==typeof e)f=5;else e:switch(e){case ne:return nw(n.children,o,i,t);case re:f=8,1&(o|=8)&&(o|=yo);break;case oe:return function(e,t,n,r){"string"!=typeof e.id&&a('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=Qb(u,e,r,2|t);return o.elementType=oe,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,i,t);case se:return function(e,t,n,r){var o=Qb(c,e,r,t);return o.elementType=se,o.lanes=n,o}(n,o,i,t);case ue:return function(e,t,n,r){var o=Qb(m,e,r,t);return o.elementType=ue,o.lanes=n,o}(n,o,i,t);case fe:return rw(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ae:f=l;break e;case ie:f=9;break e;case le:f=s,p=Ub(p);break e;case ce:f=d;break e;case de:f=16,p=null;break e}var h="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var v=r?Ve(r):null;throw v&&(h+="\n\nCheck the render method of `"+v+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+h)}var g=Qb(f,n,t,o);return g.elementType=e,g.type=p,g.lanes=i,g._debugOwner=r,g}function tw(e,t,n){var r;r=e._owner;var o=ew(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function nw(e,t,n,r){var o=Qb(7,e,r,t);return o.lanes=n,o}function rw(e,t,n,r){var o=Qb(g,e,r,t);o.elementType=fe,o.lanes=n;return o.stateNode={isHidden:!1},o}function ow(e,t,n){var r=Qb(6,e,null,t);return r.lanes=n,r}function aw(e,t,n){var r=null!==e.children?e.children:[],o=Qb(4,r,e.key,t);return o.lanes=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function iw(e,t){return null===e&&(e=Qb(2,null,null,0)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function lw(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=-1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=xa(0),this.expirationTimes=xa(ra),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=xa(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var a=this.pendingUpdatersLaneMap=[],i=0;i<ko;i++)a.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function sw(e,t,n,r,o,a,i,l,s,u){var c=new lw(e,t,n,l,s),d=function(e,t){var n;return 1===e?(n=1,!0===t&&(n|=8,n|=yo)):n=0,Xr&&(n|=2),Qb(3,null,null,n)}(t,a);c.current=d,d.stateNode=c;var f={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return d.memoizedState=f,kf(d),c}var uw,cw,dw="18.3.1";function fw(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(e){if(R(e))a("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",N(e)),P(e)}(r),{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function pw(e){if(!e)return pc;var t=tr(e),n=Oc(t);if(1===t.tag){var r=t.type;if(_c(r))return Ec(t,r,n)}return n}function hw(e,t,n,r,o,a,i,l){return sw(e,t,!1,null,0,r,0,a,i)}function mw(e,t,n,r,o,a,i,l,s,u){var c=sw(n,r,!0,e,0,a,0,l,s);c.context=pw(null);var d=c.current,f=Uy(),p=Fy(d),h=xf(f,p);return h.callback=null!=t?t:null,Ef(d,h,p),function(e,t,n){e.current.lanes=t,Ea(e,t,n),Hy(e,n)}(c,p,f),c}function vw(e,t,n,r){!function(e,t){if(Yr&&"function"==typeof Yr.onScheduleFiberRoot)try{Yr.onScheduleFiberRoot(Kr,e,t)}catch(n){Qr||(Qr=!0,a("React instrumentation encountered an error: %s",n))}}(t,e);var o=t.current,i=Uy(),l=Fy(o);!function(e){null!==Gr&&"function"==typeof Gr.markRenderScheduled&&Gr.markRenderScheduled(e)}(l);var s=pw(n);null===t.context?t.context=s:t.pendingContext=s,Be&&null!==Fe&&!uw&&(uw=!0,a("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Ve(Fe)||"Unknown"));var u=xf(i,l);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&a("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=Ef(o,u,l);return null!==c&&(Wy(c,o,l,i),Cf(c,o,l)),l}function gw(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function yw(e,t){var n,r,o=e.memoizedState;null!==o&&null!==o.dehydrated&&(o.retryLane=(n=o.retryLane,r=t,0!==n&&n<r?n:r))}function bw(e,t){yw(e,t);var n=e.alternate;n&&yw(n,t)}function ww(e){var t=Dr(e);return null===t?null:t.stateNode}uw=!1,cw={};var _w=function(e){return null};var kw=function(e){return!1};var Sw,xw,Ew,Cw,Tw,Ow,Nw,Rw,Pw,Dw=function(e,t,n){var r=t[n],o=_t(e)?e.slice():ke({},e);return n+1===t.length?(_t(o)?o.splice(r,1):delete o[r],o):(o[r]=Dw(e[r],t,n+1),o)},Mw=function(e,t){return Dw(e,t,0)},Lw=function(e,t,n,r){var o=t[r],a=_t(e)?e.slice():ke({},e);r+1===t.length?(a[n[r]]=a[o],_t(a)?a.splice(o,1):delete a[o]):a[o]=Lw(e[o],t,n,r+1);return a},Iw=function(e,t,n){if(t.length===n.length){for(var r=0;r<n.length-1;r++)if(t[r]!==n[r])return void o("copyWithRename() expects paths to be the same except for the deepest key");return Lw(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Aw=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],a=_t(e)?e.slice():ke({},e);return a[o]=Aw(e[o],t,n+1,r),a},zw=function(e,t,n){return Aw(e,t,0,n)},jw=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Vw(e){var t=Rr(e);return null===t?null:t.stateNode}function Uw(e){return null}function Fw(){return Fe}Sw=function(e,t,n,r){var o=jw(e,t);if(null!==o){var a=zw(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=ke({},e.memoizedProps);var i=hf(e,So);null!==i&&Wy(i,e,So,ra)}},xw=function(e,t,n){var r=jw(e,t);if(null!==r){var o=Mw(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=ke({},e.memoizedProps);var a=hf(e,So);null!==a&&Wy(a,e,So,ra)}},Ew=function(e,t,n,r){var o=jw(e,t);if(null!==o){var a=Iw(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=ke({},e.memoizedProps);var i=hf(e,So);null!==i&&Wy(i,e,So,ra)}},Cw=function(e,t,n){e.pendingProps=zw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=hf(e,So);null!==r&&Wy(r,e,So,ra)},Tw=function(e,t){e.pendingProps=Mw(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=hf(e,So);null!==n&&Wy(n,e,So,ra)},Ow=function(e,t,n){e.pendingProps=Iw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=hf(e,So);null!==r&&Wy(r,e,So,ra)},Nw=function(e){var t=hf(e,So);null!==t&&Wy(t,e,So,ra)},Rw=function(e){_w=e},Pw=function(e){kw=e};var Bw="function"==typeof reportError?reportError:function(e){console.error(e)};function Ww(e){this._internalRoot=e}function Hw(e){this._internalRoot=e}function $w(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function qw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Kw(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Qu(e)&&(e._reactRootContainer?a("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):a("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}Hw.prototype.render=Ww.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?a("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):$w(arguments[1])?a("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&a("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=ww(t.current);r&&r.parentNode!==n&&a("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}vw(e,t,null,null)},Hw.prototype.unmount=Ww.prototype.unmount=function(){"function"==typeof arguments[0]&&a("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;Jy()&&a("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Xy(function(){vw(null,e,null,null)}),Gu(t)}},Hw.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Ma(),n={blockedOn:null,target:e,priority:t},r=0;r<Za.length&&Ba(t,Za[r].priority);r++);Za.splice(r,0,n),0===r&&ri(n)}(e)};var Yw,Gw=n.ReactCurrentOwner;function Qw(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function Xw(){}function Jw(e,t,n,r,o){Yw(n),function(e,t){null!==e&&"function"!=typeof e&&a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var i,l=n._reactRootContainer;if(l){if("function"==typeof o){var s=o;o=function(){var e=gw(i);s.call(e)}}vw(t,i=l,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=gw(i);a.call(e)}}var i=mw(t,r,e,0,0,!1,0,"",Xw);return e._reactRootContainer=i,Yu(i.current,e),bs(8===e.nodeType?e.parentNode:e),Xy(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var s=r;r=function(){var e=gw(u);s.call(e)}}var u=hw(e,0,0,!1,0,"",Xw);return e._reactRootContainer=u,Yu(u.current,e),bs(8===e.nodeType?e.parentNode:e),Xy(function(){vw(t,u,n,r)}),u}(n,t,e,o,r);return gw(i)}Yw=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=ww(e._reactRootContainer.current);t&&t.parentNode!==e&&a("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=Qw(e);!(!r||!Ju(r))&&!n&&a("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};var Zw=!1;var e_=!1;Ra=function(e){switch(e.tag){case 3:var t=e.stateNode;if(Ha(t)){var n=function(e){return ia(e.pendingLanes)}(t);!function(e,t){0!==t&&(Ta(e,_a(t,So)),Hy(e,jr()),(ey&($g|qg))===Hg&&(yy(),Lc()))}(t,n)}break;case c:Xy(function(){var t=hf(e,So);if(null!==t){var n=Uy();Wy(t,e,So,n)}}),bw(e,So)}},function(e){Pa=e}(function(e){if(e.tag===c){var t=Xo,n=hf(e,t);if(null!==n)Wy(n,e,t,Uy());bw(e,t)}}),function(e){Da=e}(function(e){if(e.tag===c){var t=Fy(e),n=hf(e,t);if(null!==n)Wy(n,e,t,Uy());bw(e,t)}}),function(e){Ma=e}(Ua),function(e){La=e}(function(e,t){var n=Va;try{return Va=e,t()}finally{Va=n}}),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||a("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Rn=function(e,t,n){switch(t){case"input":return void pt(e,n);case"textarea":return void function(e,t){Rt(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&xt(n,!!t.multiple,r,!1)}(e,n)}},An=Qy,zn=Xy;var t_,n_,r_,o_={usingClientEntryPoint:!1,Events:[Ju,Zu,ec,Ln,In,Qy]};if(!(n_=(t_={findFiberByHostInstance:Xu,bundleType:1,version:dw,rendererPackageName:"react-dom"}).findFiberByHostInstance,r_=n.ReactCurrentDispatcher,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return a("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{e=ke({},e,{getLaneLabelMap:eo,injectProfilingHooks:Zr}),Kr=t.inject(e),Yr=t}catch(n){a("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}({bundleType:t_.bundleType,version:t_.version,rendererPackageName:t_.rendererPackageName,rendererConfig:t_.rendererConfig,overrideHookState:Sw,overrideHookStateDeletePath:xw,overrideHookStateRenamePath:Ew,overrideProps:Cw,overridePropsDeletePath:Tw,overridePropsRenamePath:Ow,setErrorHandler:Rw,setSuspenseHandler:Pw,scheduleUpdate:Nw,currentDispatcherRef:r_,findHostInstanceByFiber:Vw,findFiberByHostInstance:n_||Uw,findHostInstancesForRefresh:Kb,scheduleRefresh:Wb,scheduleRoot:Hb,setRefreshHandler:zb,getCurrentFiber:Fw,reconcilerVersion:dw}))&&C&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var a_=window.location.protocol;/^(https?|file):$/.test(a_)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===a_?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}Oo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o_,Oo.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!$w(t))throw new Error("Target container is not a DOM element.");return fw(e,t,null,n)},Oo.createRoot=function(e,t){return o_.usingClientEntryPoint||a('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!$w(e))throw new Error("createRoot(...): Target container is not a DOM element.");Kw(e);var n=!1,r="",i=Bw;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===ee&&a("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var l=hw(e,1,0,n,0,r,i);return Yu(l.current,e),bs(8===e.nodeType?e.parentNode:e),new Ww(l)}(e,t)},Oo.findDOMNode=function(e){Zw||(Zw=!0,a("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=Gw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||a("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ze(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:1===e.nodeType?e:function(e,t){var n=tr(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var o=Rr(n);if(null===o)return null;if(8&o.mode){var i=Ve(n)||"Component";if(!cw[i]){cw[i]=!0;var l=Fe;try{qe(o),8&n.mode?a("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):a("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?qe(l):$e()}}}return o.stateNode}(e,"findDOMNode")},Oo.flushSync=function(e){return Jy()&&a("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),Xy(e)},Oo.hydrate=function(e,t,n){if(a("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!qw(t))throw new Error("Target container is not a DOM element.");return Qu(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),Jw(null,e,t,!0,n)},Oo.hydrateRoot=function(e,t,n){return o_.usingClientEntryPoint||a('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!$w(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Kw(e),void 0===t&&a("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Bw;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError));var s=mw(t,null,e,1,0,o,0,i,l);if(Yu(s.current,e),bs(e),r)for(var u=0;u<r.length;u++)tp(s,r[u]);return new Hw(s)}(e,t,n)},Oo.render=function(e,t,n){if(a("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!qw(t))throw new Error("Target container is not a DOM element.");return Qu(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),Jw(null,e,t,!1,n)},Oo.unmountComponentAtNode=function(e){if(e_||(e_=!0,a("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!qw(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Qu(e)&&void 0===e._reactRootContainer&&a("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=Qw(e);return t&&!Ju(t)&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),Xy(function(){Jw(null,null,e,!1,function(){e._reactRootContainer=null,Gu(e)})}),!0}var n=Qw(e),r=!(!n||!Ju(n)),o=1===e.nodeType&&qw(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},Oo.unstable_batchedUpdates=Qy,Oo.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(a("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!qw(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return Jw(e,t,n,!1,r)}(e,t,n,r)},Oo.version=dw,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Oo}function Ro(){if(To)return mo.exports;return To=1,"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),mo.exports=Eo()):mo.exports=No(),mo.exports}var Po=Ro();function Do(e){e()}function Mo(e){return qn(e)}var Lo,Io=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach(function(r,o){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(o))}),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),Ao=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Io)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),zo={exports:{}},jo={};var Vo,Uo,Fo={};var Bo,Wo,Ho=(Uo||(Uo=1,"production"===process.env.NODE_ENV?zo.exports=function(){if(Lo)return jo;Lo=1;var e=O(),t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,o=e.useLayoutEffect,a=e.useDebugValue;function i(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(o){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var l=t(),s=n({inst:{value:l,getSnapshot:t}}),u=s[0].inst,c=s[1];return o(function(){u.value=l,u.getSnapshot=t,i(u)&&c({inst:u})},[e,l,t]),r(function(){return i(u)&&c({inst:u}),e(function(){i(u)&&c({inst:u})})},[e]),a(l),l};return jo.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:l,jo}():zo.exports=(Vo||(Vo=1,"production"!==process.env.NODE_ENV&&function(){function e(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(o){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=O(),n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useState,o=t.useEffect,a=t.useLayoutEffect,i=t.useDebugValue,l=!1,s=!1,u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(u,c){l||void 0===t.startTransition||(l=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var d=c();if(!s){var f=c();n(d,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),s=!0)}var p=(f=r({inst:{value:d,getSnapshot:c}}))[0].inst,h=f[1];return a(function(){p.value=d,p.getSnapshot=c,e(p)&&h({inst:p})},[u,d,c]),o(function(){return e(p)&&h({inst:p}),u(function(){e(p)&&h({inst:p})})},[u]),i(d),d};Fo.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:u,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Fo)),zo.exports);function $o(e){e.reaction=new hn("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}var qo=!0,Ko="function"==typeof Symbol&&Symbol.for,Yo=null!==(Wo=null===(Bo=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===Bo?void 0:Bo.configurable)&&void 0!==Wo&&Wo,Go=Ko?Symbol.for("react.forward_ref"):"function"==typeof N.forwardRef&&N.forwardRef(function(e){return null}).$$typeof,Qo=Ko?Symbol.for("react.memo"):"function"==typeof N.memo&&N.memo(function(e){return null}).$$typeof;function Xo(e,t){if(process.env.NODE_ENV,Qo&&e.$$typeof===Qo)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var n=!1,r=e,o=e.displayName||e.name;if(Go&&e.$$typeof===Go&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var a,i,l=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=R.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Ao.unregister(r),r.onStoreChange=e,r.reaction||($o(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var o,a,i=n.current;if(i.reaction||($o(i),Ao.register(n,i,i)),R.useDebugValue(i.reaction,Mo),Ho.useSyncExternalStore(i.subscribe,i.getSnapshot,i.getSnapshot),i.reaction.track(function(){try{o=e()}catch(t){a=t}}),a)throw a;return o}(function(){return r(e,t)},o)};return l.displayName=e.displayName,Yo&&Object.defineProperty(l,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(l.contextTypes=e.contextTypes,"production"!==process.env.NODE_ENV&&qo&&(qo=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),n&&(l=N.forwardRef(l)),l=N.memo(l),a=e,i=l,Object.keys(a).forEach(function(e){Zo[e]||Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(a,e))}),"production"!==process.env.NODE_ENV&&Object.defineProperty(l,"contextTypes",{set:function(){var e,t;throw new Error("[mobx-react-lite] `".concat(this.displayName||(null===(e=this.type)||void 0===e?void 0:e.displayName)||(null===(t=this.type)||void 0===t?void 0:t.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),l}var Jo,Zo={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};process.env.NODE_ENV,(Jo=Po.unstable_batchedUpdates)||(Jo=Do,"production"!==process.env.NODE_ENV&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),$n({reactionScheduler:Jo}),Ao.finalizeAllImmediately;const ea=(e,t=0)=>{const n=t=>(o.value=e?.(t)??t,o.value),r=()=>n(++o.counter),o=r;return o.increment=r,o.decrement=()=>n(--o.counter),o.reset=()=>{o.counter=t,o.value=e?.(t)??t},o.reset(),o},ta="null",na="undefined",ra="nan",oa="[object Object]",aa="[object Array]",ia="[object String]",la="[object Number]",sa="[object Boolean]",ua="[object Function]",ca="[object AsyncFunction]",da="[object RegExp]",fa="[object Symbol]",pa="infinite",ha="element";const ma=(...e)=>t=>e.includes(function(e){if(void 0===e)return na;if(null===e)return ta;if(e&&(1===e.nodeType||9===e.nodeType))return ha;const t=Object.prototype.toString.call(e);if(t===la){if(Number.isNaN(e))return ra;if(!Number.isFinite(e))return pa}return t}(t)),va=ma(ta),ga=ma(na),ya=ma(oa),ba=ma(aa),wa=ma(ia),_a=ma(la),ka=ma(sa),Sa=ma(ua,ca),xa=ma(da),Ea=ma(ha),Ca=ma(ra),Ta=ma(pa),Oa=ma(fa),Na=Object.freeze(Object.defineProperty({__proto__:null,isArray:ba,isBoolean:ka,isDefined:e=>null!=e,isElement:Ea,isFunction:Sa,isInfinite:Ta,isNaN:Ca,isNull:va,isNumber:_a,isObject:ya,isRegExp:xa,isString:wa,isSymbol:Oa,isUndefined:ga},Symbol.toStringTag,{value:"Module"})),Ra=e=>{const t=e?.comparer??Ae.default,n=e=>{const r=e??null;t(n.current,r)||In(()=>{n.current=r,n.listeners.forEach(e=>{e(n.current)})})};return n.listeners=new Set(e?.onChange?[e.onChange]:[]),(e?.onSet||e?.onUnset)&&n.listeners.add(t=>{t?e.onSet?.(t):e.onUnset?.()}),n.current=e?.initial??null,n.meta=e?.meta??{},dr(n,{current:kt.ref,meta:kt}),n},Pa=(e,t)=>{if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(e.constructor!==t.constructor)return!1;const n=Array.isArray(e);if(n!==Array.isArray(t))return!1;if(n){const n=e,r=t;if(n.length!==r.length)return!1;for(const[e,t]of n.entries())if(t!==r[e])return!1;return!0}if(e instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp)return e.toString()===t.toString();const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;const a=t;for(const i of r)if(!Object.hasOwn(a,i)||e[i]!==a[i])return!1;return!0},{entries:Da,setPrototypeOf:Ma,isFrozen:La,getPrototypeOf:Ia,getOwnPropertyDescriptor:Aa}=Object;let{freeze:za,seal:ja,create:Va}=Object,{apply:Ua,construct:Fa}="undefined"!=typeof Reflect&&Reflect;za||(za=function(e){return e}),ja||(ja=function(e){return e}),Ua||(Ua=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return e.apply(t,r)}),Fa||(Fa=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const Ba=ri(Array.prototype.forEach),Wa=ri(Array.prototype.lastIndexOf),Ha=ri(Array.prototype.pop),$a=ri(Array.prototype.push),qa=ri(Array.prototype.splice),Ka=ri(String.prototype.toLowerCase),Ya=ri(String.prototype.toString),Ga=ri(String.prototype.match),Qa=ri(String.prototype.replace),Xa=ri(String.prototype.indexOf),Ja=ri(String.prototype.trim),Za=ri(Object.prototype.hasOwnProperty),ei=ri(RegExp.prototype.test),ti=(ni=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Fa(ni,t)});var ni;function ri(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Ua(e,t,r)}}function oi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ka;Ma&&Ma(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(La(t)||(t[r]=e),o=e)}e[o]=!0}return e}function ai(e){for(let t=0;t<e.length;t++){Za(e,t)||(e[t]=null)}return e}function ii(e){const t=Va(null);for(const[n,r]of Da(e)){Za(e,n)&&(Array.isArray(r)?t[n]=ai(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=ii(r):t[n]=r)}return t}function li(e,t){for(;null!==e;){const n=Aa(e,t);if(n){if(n.get)return ri(n.get);if("function"==typeof n.value)return ri(n.value)}e=Ia(e)}return function(){return null}}const si=za(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ui=za(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ci=za(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),di=za(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),fi=za(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),pi=za(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),hi=za(["#text"]),mi=za(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),vi=za(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),gi=za(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),yi=za(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),bi=ja(/\{\{[\w\W]*|[\w\W]*\}\}/gm),wi=ja(/<%[\w\W]*|[\w\W]*%>/gm),_i=ja(/\$\{[\w\W]*/gm),ki=ja(/^data-[\-\w.\u00B7-\uFFFF]+$/),Si=ja(/^aria-[\-\w]+$/),xi=ja(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ei=ja(/^(?:\w+script|data):/i),Ci=ja(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ti=ja(/^html$/i),Oi=ja(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ni=Object.freeze({__proto__:null,ARIA_ATTR:Si,ATTR_WHITESPACE:Ci,CUSTOM_ELEMENT:Oi,DATA_ATTR:ki,DOCTYPE_NAME:Ti,ERB_EXPR:wi,IS_ALLOWED_URI:xi,IS_SCRIPT_OR_DATA:Ei,MUSTACHE_EXPR:bi,TMPLIT_EXPR:_i});const Ri=1,Pi=3,Di=7,Mi=8,Li=9;!function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||t.document.nodeType!==Li||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const o=r,a=o.currentScript,{DocumentFragment:i,HTMLTemplateElement:l,Node:s,Element:u,NodeFilter:c,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:h}=t,m=u.prototype,v=li(m,"cloneNode"),g=li(m,"remove"),y=li(m,"nextSibling"),b=li(m,"childNodes"),w=li(m,"parentNode");if("function"==typeof l){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let _,k="";const{implementation:S,createNodeIterator:x,createDocumentFragment:E,getElementsByTagName:C}=r,{importNode:T}=o;let O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Da&&"function"==typeof w&&S&&void 0!==S.createHTMLDocument;const{MUSTACHE_EXPR:N,ERB_EXPR:R,TMPLIT_EXPR:P,DATA_ATTR:D,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:A}=Ni;let{IS_ALLOWED_URI:z}=Ni,j=null;const V=oi({},[...si,...ui,...ci,...fi,...hi]);let U=null;const F=oi({},[...mi,...vi,...gi,...yi]);let B=Object.seal(Va(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,H=null;const $=Object.seal(Va(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let q=!0,K=!0,Y=!1,G=!0,Q=!1,X=!0,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!1,oe=!0,ae=!1,ie=!0,le=!1,se={},ue=null;const ce=oi({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const fe=oi({},["audio","video","img","source","image","track"]);let pe=null;const he=oi({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let ye=ge,be=!1,we=null;const _e=oi({},[me,ve,ge],Ya);let ke=oi({},["mi","mo","mn","ms","mtext"]),Se=oi({},["annotation-xml"]);const xe=oi({},["title","style","font","a","script"]);let Ee=null;const Ce=["application/xhtml+xml","text/html"];let Te=null,Oe=null;const Ne=r.createElement("form"),Re=function(e){return e instanceof RegExp||e instanceof Function},Pe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Oe||Oe!==e){if(e&&"object"==typeof e||(e={}),e=ii(e),Ee=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Te="application/xhtml+xml"===Ee?Ya:Ka,j=Za(e,"ALLOWED_TAGS")?oi({},e.ALLOWED_TAGS,Te):V,U=Za(e,"ALLOWED_ATTR")?oi({},e.ALLOWED_ATTR,Te):F,we=Za(e,"ALLOWED_NAMESPACES")?oi({},e.ALLOWED_NAMESPACES,Ya):_e,pe=Za(e,"ADD_URI_SAFE_ATTR")?oi(ii(he),e.ADD_URI_SAFE_ATTR,Te):he,de=Za(e,"ADD_DATA_URI_TAGS")?oi(ii(fe),e.ADD_DATA_URI_TAGS,Te):fe,ue=Za(e,"FORBID_CONTENTS")?oi({},e.FORBID_CONTENTS,Te):ce,W=Za(e,"FORBID_TAGS")?oi({},e.FORBID_TAGS,Te):ii({}),H=Za(e,"FORBID_ATTR")?oi({},e.FORBID_ATTR,Te):ii({}),se=!!Za(e,"USE_PROFILES")&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,K=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,G=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Q=e.SAFE_FOR_TEMPLATES||!1,X=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,ie=!1!==e.KEEP_CONTENT,le=e.IN_PLACE||!1,z=e.ALLOWED_URI_REGEXP||xi,ye=e.NAMESPACE||ge,ke=e.MATHML_TEXT_INTEGRATION_POINTS||ke,Se=e.HTML_INTEGRATION_POINTS||Se,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Re(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Re(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(B.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Q&&(K=!1),ne&&(te=!0),se&&(j=oi({},hi),U=[],!0===se.html&&(oi(j,si),oi(U,mi)),!0===se.svg&&(oi(j,ui),oi(U,vi),oi(U,yi)),!0===se.svgFilters&&(oi(j,ci),oi(U,vi),oi(U,yi)),!0===se.mathMl&&(oi(j,fi),oi(U,gi),oi(U,yi))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?$.tagCheck=e.ADD_TAGS:(j===V&&(j=ii(j)),oi(j,e.ADD_TAGS,Te))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?$.attributeCheck=e.ADD_ATTR:(U===F&&(U=ii(U)),oi(U,e.ADD_ATTR,Te))),e.ADD_URI_SAFE_ATTR&&oi(pe,e.ADD_URI_SAFE_ATTR,Te),e.FORBID_CONTENTS&&(ue===ce&&(ue=ii(ue)),oi(ue,e.FORBID_CONTENTS,Te)),ie&&(j["#text"]=!0),J&&oi(j,["html","head","body"]),j.table&&(oi(j,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ti('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,k=_.createHTML("")}else void 0===_&&(_=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(a){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(h,a)),null!==_&&"string"==typeof k&&(k=_.createHTML(""));za&&za(e),Oe=e}},De=oi({},[...ui,...ci,...di]),Me=oi({},[...fi,...pi]),Le=function(e){$a(n.removed,{element:e});try{w(e).removeChild(e)}catch(t){g(e)}},Ie=function(e,t){try{$a(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){$a(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Le(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},Ae=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=Ga(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ee&&ye===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=_?_.createHTML(e):e;if(ye===ge)try{t=(new p).parseFromString(o,Ee)}catch(i){}if(!t||!t.documentElement){t=S.createDocument(ye,"template",null);try{t.documentElement.innerHTML=be?k:o}catch(i){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),ye===ge?C.call(t,J?"html":"body")[0]:J?t.documentElement:a},ze=function(e){return x.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},je=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Ve=function(e){return"function"==typeof s&&e instanceof s};function Ue(e,t,r){Ba(e,e=>{e.call(n,t,r,Oe)})}const Fe=function(e){let t=null;if(Ue(O.beforeSanitizeElements,e,null),je(e))return Le(e),!0;const r=Te(e.nodeName);if(Ue(O.uponSanitizeElement,e,{tagName:r,allowedTags:j}),X&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&ei(/<[/\w!]/g,e.innerHTML)&&ei(/<[/\w!]/g,e.textContent))return Le(e),!0;if(e.nodeType===Di)return Le(e),!0;if(X&&e.nodeType===Mi&&ei(/<[/\w]/g,e.data))return Le(e),!0;if(!($.tagCheck instanceof Function&&$.tagCheck(r))&&(!j[r]||W[r])){if(!W[r]&&We(r)){if(B.tagNameCheck instanceof RegExp&&ei(B.tagNameCheck,r))return!1;if(B.tagNameCheck instanceof Function&&B.tagNameCheck(r))return!1}if(ie&&!ue[r]){const t=w(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=v(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,y(e))}}}return Le(e),!0}return e instanceof u&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=Ka(e.tagName),r=Ka(t.tagName);return!!we[e.namespaceURI]&&(e.namespaceURI===ve?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||ke[r]):Boolean(De[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===ve?"math"===n&&Se[r]:Boolean(Me[n]):e.namespaceURI===ge?!(t.namespaceURI===ve&&!Se[r])&&!(t.namespaceURI===me&&!ke[r])&&!Me[n]&&(xe[n]||!De[n]):!("application/xhtml+xml"!==Ee||!we[e.namespaceURI]))}(e)?(Le(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!ei(/<\/no(script|embed|frames)/i,e.innerHTML)?(Q&&e.nodeType===Pi&&(t=e.textContent,Ba([N,R,P],e=>{t=Qa(t,e," ")}),e.textContent!==t&&($a(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ue(O.afterSanitizeElements,e,null),!1):(Le(e),!0)},Be=function(e,t,n){if(oe&&("id"===t||"name"===t)&&(n in r||n in Ne))return!1;if(K&&!H[t]&&ei(D,t));else if(q&&ei(M,t));else if($.attributeCheck instanceof Function&&$.attributeCheck(t,e));else if(!U[t]||H[t]){if(!(We(e)&&(B.tagNameCheck instanceof RegExp&&ei(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&ei(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t,e))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&ei(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(pe[t]);else if(ei(z,Qa(n,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Xa(n,"data:")||!de[e]){if(Y&&!ei(L,Qa(n,I,"")));else if(n)return!1}else;return!0},We=function(e){return"annotation-xml"!==e&&Ga(e,A)},He=function(e){Ue(O.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||je(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:l,namespaceURI:s,value:u}=i,c=Te(l),d=u;let f="value"===l?d:Ja(d);if(r.attrName=c,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,Ue(O.uponSanitizeAttribute,e,r),f=r.attrValue,!ae||"id"!==c&&"name"!==c||(Ie(l,e),f="user-content-"+f),X&&ei(/((--!?|])>)|<\/(style|title|textarea)/i,f)){Ie(l,e);continue}if("attributename"===c&&Ga(f,"href")){Ie(l,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ie(l,e);continue}if(!G&&ei(/\/>/i,f)){Ie(l,e);continue}Q&&Ba([N,R,P],e=>{f=Qa(f,e," ")});const p=Te(e.nodeName);if(Be(p,c,f)){if(_&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(s);else switch(h.getAttributeType(p,c)){case"TrustedHTML":f=_.createHTML(f);break;case"TrustedScriptURL":f=_.createScriptURL(f)}if(f!==d)try{s?e.setAttributeNS(s,l,f):e.setAttribute(l,f),je(e)?Le(e):Ha(n.removed)}catch(a){Ie(l,e)}}else Ie(l,e)}Ue(O.afterSanitizeAttributes,e,null)},$e=function e(t){let n=null;const r=ze(t);for(Ue(O.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Ue(O.uponSanitizeShadowNode,n,null),Fe(n),He(n),n.content instanceof i&&e(n.content);Ue(O.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,a=null,l=null,u=null;if(be=!e,be&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ve(e)){if("function"!=typeof e.toString)throw ti("toString is not a function");if("string"!=typeof(e=e.toString()))throw ti("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Pe(t),n.removed=[],"string"==typeof e&&(le=!1),le){if(e.nodeName){const t=Te(e.nodeName);if(!j[t]||W[t])throw ti("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)r=Ae("\x3c!----\x3e"),a=r.ownerDocument.importNode(e,!0),a.nodeType===Ri&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!te&&!Q&&!J&&-1===e.indexOf("<"))return _&&re?_.createHTML(e):e;if(r=Ae(e),!r)return te?null:re?k:""}r&&ee&&Le(r.firstChild);const c=ze(le?e:r);for(;l=c.nextNode();)Fe(l),He(l),l.content instanceof i&&$e(l.content);if(le)return e;if(te){if(ne)for(u=E.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(U.shadowroot||U.shadowrootmode)&&(u=T.call(o,u,!0)),u}let d=J?r.outerHTML:r.innerHTML;return J&&j["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&ei(Ti,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Q&&Ba([N,R,P],e=>{d=Qa(d,e," ")}),_&&re?_.createHTML(d):d},n.setConfig=function(){Pe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){Oe=null,Z=!1},n.isValidAttribute=function(e,t,n){Oe||Pe({});const r=Te(e),o=Te(t);return Be(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&$a(O[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Wa(O[e],t);return-1===n?void 0:qa(O[e],n,1)[0]}return Ha(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const Ii=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()},Ai=N.createContext(null),zi=N.createContext(null),ji=Ai.Provider,Vi=ea(e=>e.toString(16)),Ui=(...e)=>{const t={...Fi,startViewTransitions:structuredClone(Fi.startViewTransitions)};return e.forEach(e=>{if(!e)return;const{startViewTransitions:n,comparePayload:r,observable:o,generateId:a,...i}=e;if(a&&(t.generateId=a),n){const e="boolean"==typeof n?{mount:n,payloadChange:n,unmount:n}:n;Object.assign(t.startViewTransitions,e)}o?.viewModels&&Object.assign(t.observable.viewModels,o.viewModels||{}),o?.viewModelStores&&Object.assign(t.observable.viewModelStores,o.viewModelStores||{}),null!=r&&(t.comparePayload=r),Object.assign(t,i)}),t},Fi=(e=>{const t=(()=>{{let e;return{get:()=>e,set:t=>(e=t,t)}}})();return t.get()||t.set(e)})({comparePayload:!1,payloadComputed:"struct",payloadObservable:"ref",wrapViewsInObserver:!0,startViewTransitions:{mount:!1,payloadChange:!1,unmount:!1},observable:{viewModels:{useDecorators:!0},viewModelStores:{useDecorators:!0}},generateId:e=>{if(!e.generateId){const t=Vi(),n=ea(e=>e.toString().padStart(5,"0"));e.generateId=()=>`${t}_${n().toString().padStart(5,"0")}`}if("production"===process.env.NODE_ENV)return e.generateId();{const t=e.VM?.name??"";return t?`${t}_${e.generateId()}`:e.generateId()}},factory:e=>new(0,e.VM)({...e,vmConfig:Ui(e.vmConfig)})}),Bi=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),dr(e)):dr(e,Object.fromEntries(t))})(e,t,n.useDecorators)},Wi="undefined"==typeof window?N.useEffect:N.useLayoutEffect;let Hi=null;Hi="production"===process.env.NODE_ENV?e=>{const t=N.useRef(null);return t.current||(t.current=e()),t.current}:e=>N.useMemo(e,[]);const $i=Hi;function qi(e,t,n){return e.prototype.payloadChanged?Ki(e,t,n):Yi(e,t)}const Ki=(e,t,n)=>{const r=N.useContext(zi),o=N.useContext(Ai),a=n?.ctx??{},i=$i(()=>{const i=r?.generateViewModelId({...n,ctx:a,VM:e,parentViewModelId:o?.id??null})??n?.id??Fi.generateId(a),l=r?r.get(i):null;if(l)return l;{const l={...n,vmConfig:n?.vmConfig,id:i,parentViewModelId:o?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:o,ctx:a};r?.processCreateConfig(l);const s=n?.factory?.(l)??r?.createViewModel(l)??Fi.factory(l);return s.willMount(),r?.markToBeAttached(s),s}});return Wi(()=>r?(r.attach(i),()=>{r.detach(i.id)}):(i.mount(),()=>{i.willUnmount(),i.unmount()}),[i]),i.setPayload(t??{}),i},Yi=(e,t)=>{const n=N.useContext(zi),r=N.useContext(Ai),o=$i(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in o&&N.useLayoutEffect(()=>{o.setPayload(t)},[t]),Wi(()=>n?(n.attach(o),()=>{n.detach(o.id)}):(o.mount?.(),()=>{o.unmount?.()}),[o]),o},Gi=e=>{const t=N.useContext(zi),n=N.useContext(Ai);let r;if(t?.get(e),"production"!==process.env.NODE_ENV&&(r=N.useRef()),"production"===process.env.NODE_ENV||t||console.warn("Warning #1: ViewModelStore not found.\n","Unable to get access to view model by id or class name without using ViewModelStore\n","Last active view model will be returned.\n","More info: https://js2me.github.io/mobx-view-model/warnings/1"),!n){if("production"!==process.env.NODE_ENV)throw new Error('Error #1: Active ViewModel not found.\nThis happened because "vmLookup" for hook "useViewModel" is not provided and hook trying to lookup active view model using ActiveViewModelContext which works only with using "withViewModel" HOC.\nPlease provide "vmLookup" (first argument for "useViewModel" hook) or use "withViewModel" HOC.\nMore info: https://js2me.github.io/mobx-view-model/errors/1');throw new Error("Error #1: https://js2me.github.io/mobx-view-model/errors/1")}return"production"!==process.env.NODE_ENV&&(r.current=n),n};Xo(({model:e,config:t,payload:n,children:r})=>{const o=qi(e,n,t);return o.isMounted?"function"==typeof r?r(o):j.jsx(j.Fragment,{children:r}):null});const Qi=zi.Provider;function Xi(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return Zi(e,{...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}},t)}{const n=t??{},r={...n,ctx:{VM:e,generateId:n.generateId,...n.ctx}};return t=>Zi(e,r,t)}}const Ji=Symbol.for("react.memo"),Zi=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??Fi.processViewComponent,o=t.vmConfig?.wrapViewsInObserver??Fi.wrapViewsInObserver;let a=r?.(n,e,t)??n;o&&a&&a.$$typeof!==Ji&&(a=Xo(a));const i=t.reactHook,l=t.getPayload,s=t.fallback??Fi.fallbackComponent;let u=(n,r)=>{const o=N.useContext(zi);i?.(n,t.ctx,o,r);const{payload:u,...c}=n,d=l?.(n)??u;t.forwardRef&&!("forwardedRef"in c)&&(c.forwardedRef=r);const f=qi(e,d,{...t,props:c});return(!o||o.isAbleToRenderView(f.id))&&!1!==f.isMounted?j.jsx(ji,{value:f,children:a&&j.jsx(a,{...c,model:f})}):s&&j.jsx(s,{...n,payload:d})};return t.forwardRef&&(u=N.forwardRef(u)),u=Xo(u),"production"!==process.env.NODE_ENV&&(u.displayName=`ConnectedViewModel(${e.name}->Component)`),t.component=u,u},el=[["_isMounted",kt.ref],["_isUnmounting",kt.ref],["isMounted",Ct],["isUnmounting",Ct],["parentViewModel",Ct],["mount",Mn.bound],["didMount",Mn],["unmount",Mn.bound],["didUnmount",Mn],["willUnmount",Mn],["setPayload",Mn]];class tl{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=Ui(e.vmConfig),this._payload=e.payload,this.props=e.props??{},this.abortController=new AbortController,this.unmountSignal=this.abortController.signal,"strict"===this.vmConfig.comparePayload?this.isPayloadEqual=Ae.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=Pa:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...el];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",kt[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",Ct.struct]):t.push(["payload",Ct({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),Bi(this,t,this.vmConfig.observable.viewModels)}abortController;unmountSignal;id;_isMounted=!1;_isUnmounting=!1;_payload;vmConfig;isPayloadEqual;props;get payload(){return this._payload}get viewModels(){return"production"===process.env.NODE_ENV||this.vmParams.viewModels||console.error("Error #3: No access to ViewModelStore.\nThis happened because [viewModels] param is not provided during to creating instance ViewModelBase.\nMore info: https://js2me.github.io/mobx-view-model/errors/3"),this.vmParams.viewModels}get isMounted(){return this._isMounted}get isUnmounting(){return this._isUnmounting}willUnmount(){this._isUnmounting=!0}willMount(){}mount(){this.vmConfig.onMount?.(this),Ii(()=>{In(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),Ii(()=>{In(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),In(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||Ii(()=>{In(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class nl{constructor(e){this.config=e,this.viewModels=kt.map([],{deep:!1}),this.linkedComponentVMClasses=kt.map([],{deep:!1}),this.viewModelIdsByClasses=kt.map([],{deep:!0}),this.instanceAttachedCount=kt.map([],{deep:!1}),this.mountingViews=kt.set([],{deep:!1}),this.unmountingViews=kt.set([],{deep:!1}),this.vmConfig=Ui(e?.vmConfig),this.viewModelsTempHeap=new Map,Bi(this,[["mountedViewsCount",Ct],["mount",Mn],["unmount",Mn],["attachVMConstructor",Mn],["attach",Mn],["detach",Mn],["linkComponents",Mn],["unlinkComponents",Mn]],this.vmConfig.observable.viewModelStores)}viewModels;linkedComponentVMClasses;viewModelIdsByClasses;instanceAttachedCount;viewModelsTempHeap;mountingViews;unmountingViews;vmConfig;get mountedViewsCount(){return[...this.instanceAttachedCount.values()].reduce((e,t)=>e+t,0)}processCreateConfig(e){this.linkComponents(e.VM,e.component,e.ctx?.externalComponent)}createViewModel(e){const t=e.VM,n=Ui(this.vmConfig,e.vmConfig),r={...e,vmConfig:n};return n.factory?n.factory(r):new t(r)}generateViewModelId(e){return e.id?e.id:this.vmConfig.generateId(e.ctx)}linkComponents(e,...t){t.forEach(t=>{t&&!this.linkedComponentVMClasses.has(t)&&this.linkedComponentVMClasses.set(t,e)})}unlinkComponents(...e){e.forEach(e=>{e&&this.linkedComponentVMClasses.has(e)&&this.linkedComponentVMClasses.delete(e)})}getIds(e){if(!e)return[];if("string"==typeof e)return[e];const t=this.linkedComponentVMClasses.get(e)||e;return this.viewModelIdsByClasses.get(t)||[]}getId(e){const t=this.getIds(e);return 0===t.length?null:("production"!==process.env.NODE_ENV&&t.length>1&&console.warn("Found more than 1 view model with the same identifier. Last instance will been returned"),t.at(-1))}has(e){const t=this.getId(e);return!!t&&this.viewModels.has(t)}get(e){const t=this.getId(e);if(!t)return null;return this.viewModels.get(t)??this.viewModelsTempHeap.get(t)??null}getOrCreateVmId(e){return e.id||(e.id=this.vmConfig.generateId({VM:e.constructor})),e.id}getAll(e){return this.getIds(e).map(e=>this.viewModels.get(e))}async mount(e){const t=this.getOrCreateVmId(e);this.mountingViews.add(t),await(e.mount?.()),In(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),In(()=>{this.unmountingViews.delete(t)})}attachVMConstructor(e){const t=this.getOrCreateVmId(e),n=e.constructor;if(this.viewModelIdsByClasses.has(n)){const e=this.viewModelIdsByClasses.get(n);e.includes(t)||e.push(t)}else this.viewModelIdsByClasses.set(n,[t])}dettachVMConstructor(e){const t=e.constructor;if(this.viewModelIdsByClasses.has(t)){const n=this.viewModelIdsByClasses.get(t).filter(t=>t!==e.id);n.length>0?this.viewModelIdsByClasses.set(t,n):this.viewModelIdsByClasses.delete(t)}}markToBeAttached(e){const t=this.getOrCreateVmId(e);this.viewModelsTempHeap.set(t,e),"attachViewModelStore"in e&&e.attachViewModelStore(this),this.attachVMConstructor(e)}async attach(e){const t=this.getOrCreateVmId(e),n=this.instanceAttachedCount.get(t)??0;this.instanceAttachedCount.set(t,n+1),this.viewModels.has(t)||(this.viewModels.set(t,e),this.attachVMConstructor(e),await this.mount(e),this.viewModelsTempHeap.delete(t))}async detach(e){const t=this.instanceAttachedCount.get(e)??0;this.viewModelsTempHeap.delete(e);const n=this.viewModels.get(e);if(!n)return;const r=t-1;this.instanceAttachedCount.set(e,r),r<=0&&("willUnmount"in n&&n.willUnmount(),this.instanceAttachedCount.delete(e),this.viewModels.delete(e),this.dettachVMConstructor(n),await this.unmount(n))}isAbleToRenderView(e){const t=this.mountingViews.has(e),n=this.viewModels.has(e);return!!e&&n&&!t}clean(){this.viewModels.clear(),this.linkedComponentVMClasses.clear(),this.viewModelIdsByClasses.clear(),this.instanceAttachedCount.clear(),this.mountingViews.clear(),this.unmountingViews.clear(),this.viewModelsTempHeap.clear()}}class rl extends tl{}var ol,al={};var il=function(){if(ol)return al;ol=1;var e=Ro();if("production"===process.env.NODE_ENV)al.createRoot=e.createRoot,al.hydrateRoot=e.hydrateRoot;else{var t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;al.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},al.hydrateRoot=function(n,r,o){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,o)}finally{t.usingClientEntryPoint=!1}}}return al}();function ll(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=ll(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const sl=e=>{const t=fl(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),ul(n,t)||dl(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},ul=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ul(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},cl=/^\[(.+)\]$/,dl=e=>{if(cl.test(e)){const t=cl.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},fl=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)pl(n[o],r,o,t);return r},pl=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:hl(t,e)).classGroupId=n)}if("function"==typeof e)return ml(e)?void pl(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{pl(o,hl(t,e),n,r)})})},hl=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},ml=e=>e.isThemeGetter,vl=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},gl=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,a=0;for(let s=0;s<e.length;s++){let i=e[s];if(0===r&&0===o){if(":"===i){t.push(e.slice(a,s)),a=s+1;continue}if("/"===i){n=s;continue}}"["===i?r++:"]"===i?r--:"("===i?o++:")"===i&&o--}const i=0===t.length?e:e.substring(a),l=yl(i);return{modifiers:t,hasImportantModifier:l!==i,baseClassName:l,maybePostfixModifierPosition:n&&n>a?n-a:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},yl=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,bl=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},wl=/\s+/;function _l(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=kl(e))&&(r&&(r+=" "),r+=t);return r}const kl=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=kl(e[r]))&&(n&&(n+=" "),n+=t);return n};function Sl(e,...t){let n,r,o,a=function(l){const s=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:vl(e.cacheSize),parseClassName:gl(e),sortModifiers:bl(e),...sl(e)}))(s),r=n.cache.get,o=n.cache.set,a=i,i(l)};function i(e){const t=r(e);if(t)return t;const a=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],l=e.trim().split(wl);let s="";for(let u=l.length-1;u>=0;u-=1){const e=l[u],{isExternal:t,modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(e);if(t){s=e+(s.length>0?" "+s:s);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=e+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=e+(s.length>0?" "+s:s);continue}h=!1}const v=a(c).join(":"),g=d?v+"!":v,y=g+m;if(i.includes(y))continue;i.push(y);const b=o(m,h);for(let n=0;n<b.length;++n){const e=b[n];i.push(g+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return o(e,a),a}return function(){return a(_l.apply(null,arguments))}}const xl=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},El=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Cl=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Tl=/^\d+\/\d+$/,Ol=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Nl=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Pl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ml=e=>Tl.test(e),Ll=e=>!!e&&!Number.isNaN(Number(e)),Il=e=>!!e&&Number.isInteger(Number(e)),Al=e=>e.endsWith("%")&&Ll(e.slice(0,-1)),zl=e=>Ol.test(e),jl=()=>!0,Vl=e=>Nl.test(e)&&!Rl.test(e),Ul=()=>!1,Fl=e=>Pl.test(e),Bl=e=>Dl.test(e),Wl=e=>!$l(e)&&!Xl(e),Hl=e=>os(e,ss,Ul),$l=e=>El.test(e),ql=e=>os(e,us,Vl),Kl=e=>os(e,cs,Ll),Yl=e=>os(e,is,Ul),Gl=e=>os(e,ls,Bl),Ql=e=>os(e,fs,Fl),Xl=e=>Cl.test(e),Jl=e=>as(e,us),Zl=e=>as(e,ds),es=e=>as(e,is),ts=e=>as(e,ss),ns=e=>as(e,ls),rs=e=>as(e,fs,!0),os=(e,t,n)=>{const r=El.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},as=(e,t,n=!1)=>{const r=Cl.exec(e);return!!r&&(r[1]?t(r[1]):n)},is=e=>"position"===e||"percentage"===e,ls=e=>"image"===e||"url"===e,ss=e=>"length"===e||"size"===e||"bg-size"===e,us=e=>"length"===e,cs=e=>"number"===e,ds=e=>"family-name"===e,fs=e=>"shadow"===e,ps=Sl(()=>{const e=xl("color"),t=xl("font"),n=xl("text"),r=xl("font-weight"),o=xl("tracking"),a=xl("leading"),i=xl("breakpoint"),l=xl("container"),s=xl("spacing"),u=xl("radius"),c=xl("shadow"),d=xl("inset-shadow"),f=xl("text-shadow"),p=xl("drop-shadow"),h=xl("blur"),m=xl("perspective"),v=xl("aspect"),g=xl("ease"),y=xl("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Xl,$l],w=()=>[Xl,$l,s],_=()=>[Ml,"full","auto",...w()],k=()=>[Il,"none","subgrid",Xl,$l],S=()=>["auto",{span:["full",Il,Xl,$l]},Il,Xl,$l],x=()=>[Il,"auto",Xl,$l],E=()=>["auto","min","max","fr",Xl,$l],C=()=>["auto",...w()],T=()=>[Ml,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],O=()=>[e,Xl,$l],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",es,Yl,{position:[Xl,$l]}],R=()=>["auto","cover","contain",ts,Hl,{size:[Xl,$l]}],P=()=>[Al,Jl,ql],D=()=>["","none","full",u,Xl,$l],M=()=>["",Ll,Jl,ql],L=()=>[Ll,Al,es,Yl],I=()=>["","none",h,Xl,$l],A=()=>["none",Ll,Xl,$l],z=()=>["none",Ll,Xl,$l],j=()=>[Ll,Xl,$l],V=()=>[Ml,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[zl],breakpoint:[zl],color:[jl],container:[zl],"drop-shadow":[zl],ease:["in","out","in-out"],font:[Wl],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[zl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[zl],shadow:[zl],spacing:["px",Ll],text:[zl],"text-shadow":[zl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ml,$l,Xl,v]}],container:["container"],columns:[{columns:[Ll,$l,Xl,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{start:_()}],end:[{end:_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[Il,"auto",Xl,$l]}],basis:[{basis:[Ml,"full","auto",l,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ll,Ml,"auto","initial","none",$l]}],grow:[{grow:["",Ll,Xl,$l]}],shrink:[{shrink:["",Ll,Xl,$l]}],order:[{order:[Il,"first","last","none",Xl,$l]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:T()}],w:[{w:[l,"screen",...T()]}],"min-w":[{"min-w":[l,"screen","none",...T()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",n,Jl,ql]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Xl,Kl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Al,$l]}],"font-family":[{font:[Zl,$l,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Xl,$l]}],"line-clamp":[{"line-clamp":[Ll,"none",Xl,Kl]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",Xl,$l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Xl,$l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Ll,"from-font","auto",Xl,ql]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[Ll,"auto",Xl,$l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Xl,$l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Xl,$l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Il,Xl,$l],radial:["",Xl,$l],conic:[Il,Xl,$l]},ns,Gl]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:P()}],"gradient-via-pos":[{via:P()}],"gradient-to-pos":[{to:P()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:M()}],"border-w-x":[{"border-x":M()}],"border-w-y":[{"border-y":M()}],"border-w-s":[{"border-s":M()}],"border-w-e":[{"border-e":M()}],"border-w-t":[{"border-t":M()}],"border-w-r":[{"border-r":M()}],"border-w-b":[{"border-b":M()}],"border-w-l":[{"border-l":M()}],"divide-x":[{"divide-x":M()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":M()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Ll,Xl,$l]}],"outline-w":[{outline:["",Ll,Jl,ql]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,rs,Ql]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,rs,Ql]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[Ll,ql]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":M()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",f,rs,Ql]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[Ll,Xl,$l]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ll]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[Xl,$l]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Ll]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Xl,$l]}],filter:[{filter:["","none",Xl,$l]}],blur:[{blur:I()}],brightness:[{brightness:[Ll,Xl,$l]}],contrast:[{contrast:[Ll,Xl,$l]}],"drop-shadow":[{"drop-shadow":["","none",p,rs,Ql]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",Ll,Xl,$l]}],"hue-rotate":[{"hue-rotate":[Ll,Xl,$l]}],invert:[{invert:["",Ll,Xl,$l]}],saturate:[{saturate:[Ll,Xl,$l]}],sepia:[{sepia:["",Ll,Xl,$l]}],"backdrop-filter":[{"backdrop-filter":["","none",Xl,$l]}],"backdrop-blur":[{"backdrop-blur":I()}],"backdrop-brightness":[{"backdrop-brightness":[Ll,Xl,$l]}],"backdrop-contrast":[{"backdrop-contrast":[Ll,Xl,$l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ll,Xl,$l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ll,Xl,$l]}],"backdrop-invert":[{"backdrop-invert":["",Ll,Xl,$l]}],"backdrop-opacity":[{"backdrop-opacity":[Ll,Xl,$l]}],"backdrop-saturate":[{"backdrop-saturate":[Ll,Xl,$l]}],"backdrop-sepia":[{"backdrop-sepia":["",Ll,Xl,$l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Xl,$l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ll,"initial",Xl,$l]}],ease:[{ease:["linear","initial",g,Xl,$l]}],delay:[{delay:[Ll,Xl,$l]}],animate:[{animate:["none",y,Xl,$l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,Xl,$l]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:A()}],"rotate-x":[{"rotate-x":A()}],"rotate-y":[{"rotate-y":A()}],"rotate-z":[{"rotate-z":A()}],scale:[{scale:z()}],"scale-x":[{"scale-x":z()}],"scale-y":[{"scale-y":z()}],"scale-z":[{"scale-z":z()}],"scale-3d":["scale-3d"],skew:[{skew:j()}],"skew-x":[{"skew-x":j()}],"skew-y":[{"skew-y":j()}],transform:[{transform:[Xl,$l,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:V()}],"translate-x":[{"translate-x":V()}],"translate-y":[{"translate-y":V()}],"translate-z":[{"translate-z":V()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Xl,$l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Xl,$l]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[Ll,Jl,ql,Kl]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),hs=(...e)=>ps(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ll(e))&&(r&&(r+=" "),r+=t);return r}(...e)),ms={static:"static_g5P-G",blur:"blur_9rZ6A",vmButton:"vmButton_Xr1Q6",opened:"opened_gewqL",vmPopup:"vmPopup_Q4l4j",vmContent:"vmContent_VAE7p",vmContentTree:"vmContentTree_BB36O",vmTreeItem:"vmTreeItem_t-7jc",line:"line_Xgaua",vmContentFilters:"vmContentFilters_No1QW",propertyMeta:"propertyMeta_XxYHc",small:"small_Ipy6s",propertyValue:"propertyValue_s9qHJ","property-name":"property-name_2-sJi",propertyName:"property-name_2-sJi",expandButton:"expandButton_EObqt",expanded:"expanded_uFpb7",property:"property_eoWZv",instance:"instance_B-kEn",primitive:"primitive_5yfCy",boolean:"boolean_TwUVp",number:"number_AVdzm",object:"object_kn8wQ",undefined:"undefined_SMcns",bigint:"bigint_ZrO3O",symbol:"symbol_9GN4U",string:"string_m1Kkx",disabled:"disabled_IDojS"},vs=Xo(()=>{const e=Gi();return j.jsxs("button",{className:hs(ms.vmButton,{[ms.opened]:e.devtools.isOpened},e.devtools.config.buttonClassName),"data-position":`${e.devtools.config.position}`,ref:e.devtools.buttonRef,onClick:e.devtools.handleToggleOpen,children:[j.jsx("img",{src:e.devtools.logoUrl}),j.jsx("div",{}),j.jsx("span",{children:e.devtools.allVms.length})]})}),gs=null,{min:ys,max:bs,abs:ws,floor:_s}=Math,ks=(e,t,n)=>ys(n,bs(t,e)),Ss=e=>[...e].sort((e,t)=>e-t),xs="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},Es=()=>{let e;return[new Promise(t=>{e=t}),e]},Cs=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},Ts=(e,t,n)=>{const r=n?"unshift":"push";for(let o=0;o<t;o++)e[r](-1);return e},Os=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},Ns=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=ys(t,e.i),r},Rs=(e,t)=>{if(!e.l)return 0;if(e.i>=t)return e.u[t];e.i<0&&(e.u[0]=0,e.i=0);let n=e.i,r=e.u[n];for(;n<t;)r+=Os(e,n),e.u[++n]=r;return e.i=t,r},Ps=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const o=_s((n+r)/2);if(Rs(e,o)<=t){if(Rs(e,o+1)>t)return o;n=o+1}else r=o-1}return ks(n,0,e.l-1)},Ds=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:ys(t-1,e.i),e.l=t,r>0?(Ts(e.u,r),Ts(e.t,r,n),e.o*r):(e.u.splice(r),(n?e.t.splice(0,-r):e.t.splice(r)).reduce((t,n)=>t-(-1===n?e.o:n),0))},Ms="undefined"!=typeof window,Ls=()=>document.documentElement,Is=Cs(()=>!!Ms&&"rtl"===getComputedStyle(Ls()).direction),As=Cs(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),zs=Cs(()=>"scrollBehavior"in Ls().style),js=setTimeout,Vs=(e,t)=>t&&Is()?-e:e,Us=(e,t)=>{let n,r,o=Es();const a=t?"scrollLeft":"scrollTop",i=t?"overflowX":"overflowY",[l,s]=((e,t,n)=>{let r;return[async(o,a)=>{if(!(await t()))return;r&&r();const i=()=>{const[t,n]=Es();return r=()=>{n(!1)},e.p()&&js(r,150),[t,e.B(2,()=>{n(!0)})]};if(a&&zs())e.J(8,o()),xs(async()=>{for(;;){let t=!0;for(let[o,a]=e.S();o<=a;o++)if(e.k(o)){t=!1;break}if(t)break;const[n,r]=i();try{if(!(await n))return}finally{r()}}e.J(7),n(o(),a)});else for(;;){const[t,r]=i();try{if(e.J(7),n(o()),!(await t))return}finally{r()}}},()=>{r&&r()}]})(e,()=>o[0],(e,r)=>{e=Vs(e,t),r?n.scrollTo({[t?"left":"top"]:e,behavior:"smooth"}):n[a]=e});return{P(l){n=l,r=((e,t,n,r,o)=>{const a=Date.now;let i=0,l=!1,s=!1,u=!1,c=!1;const d=(()=>{let t;const n=()=>{t!=gs&&clearTimeout(t)},r=()=>{n(),t=js(()=>{t=gs,(()=>{if(l||s)return l=!1,void d();u=!1,e.J(2)})()},150)};return r.A=n,r})(),f=()=>{i=a(),u&&(c=!0),e.J(1,r()),d()},p=t=>{if(l||!e.H()||t.ctrlKey)return;const r=a()-i;150>r&&50<r&&(n?t.deltaX:t.deltaY)&&(l=!0)},h=()=>{s=!0,u=c=!1},m=()=>{s=!1,As()&&(u=!0)};return t.addEventListener("scroll",f),t.addEventListener("wheel",p,{passive:!0}),t.addEventListener("touchstart",h,{passive:!0}),t.addEventListener("touchend",m,{passive:!0}),{L:()=>{t.removeEventListener("scroll",f),t.removeEventListener("wheel",p),t.removeEventListener("touchstart",h),t.removeEventListener("touchend",m),d.A()},D:()=>{const[t,a]=e.O();t&&(o(Vs(t,n),a,c),c=!1,a&&e.p()>e.h()&&e.J(1,r()))}}})(e,l,t,()=>Vs(l[a],t),(t,n,r)=>{if(r){const e=l.style,t=e[i];e[i]="hidden",js(()=>{e[i]=t})}l[a]=e.C()+t,n&&s()}),o[1](!0)},v(){r&&r.L(),o[1](!1),o=Es()},V(e){l(()=>e)},X(t){t+=e.C(),l(()=>t)},Y(t,{align:n,smooth:r,offset:o=0}={}){if(t=ks(t,0,e.M()-1),"nearest"===n){const r=e.R(t),o=e.C();if(r<o)n="start";else{if(!(r+e.T(t)>o+e.p()))return;n="end"}}l(()=>o+e.W()+e.R(t)+("end"===n?e.T(t)-e.p():"center"===n?(e.T(t)-e.p())/2:0),r)},j:()=>{r&&r.D()}}},Fs=(e,t)=>{let n;const r=t?"width":"height",o=new WeakMap,a=(e=>{let t;return{q(n){(t||(t=new((e=>e.defaultView)((e=>e.ownerDocument)(n)).ResizeObserver)(e))).observe(n)},G(e){t.unobserve(e)},L(){t&&t.disconnect()}}})(t=>{const a=[];for(const{target:i,contentRect:l}of t)if(i.offsetParent)if(i===n)e.J(4,l[r]);else{const e=o.get(i);e!=gs&&a.push([e,l[r]])}a.length&&e.J(3,a)});return{U(e){a.q(n=e)},F:(e,t)=>(o.set(e,t),a.q(e),()=>{o.delete(e),a.G(e)}),v:a.L}},Bs=Ms?N.useLayoutEffect:N.useEffect,Ws="current",Hs=(e,t)=>{if(Array.isArray(e))for(const n of e)Hs(n,t);else null==e||"boolean"==typeof e||t.push(e)},$s=e=>{const t=N.useRef(e);return Bs(()=>{t[Ws]=e},[e]),t},qs=N.memo(({Z:e,ee:t,te:n,oe:r,ne:o,re:a,ie:i,se:l})=>{const s=N.useRef(null);Bs(()=>t(s[Ws],n),[n]);const u=N.useMemo(()=>{const e={contain:"layout style",position:o&&l?void 0:"absolute",[i?"height":"width"]:"100%",[i?"top":"left"]:0,[i?Is()?"right":"left":"top"]:r,visibility:!o||l?"visible":"hidden"};return i&&(e.display="inline-flex"),e},[r,o,l,i]);return j.jsx(a,"string"==typeof a?{ref:s,style:u,children:e}:{ref:s,style:u,index:n,children:e})}),Ks=N.forwardRef(({children:e,data:t,bufferSize:n,itemSize:r,shift:o,horizontal:a,keepMounted:i,cache:l,startMargin:s=0,ssrCount:u,as:c="div",item:d="div",scrollRef:f,onScroll:p,onScrollEnd:h},m)=>{const[v,g]=((e,t)=>N.useMemo(()=>{if("function"==typeof e)return[n=>e(t[n],n),t.length];const n=(e=>{const t=[];return Hs(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),y=N.useRef(null),b=N.useRef(!!u),w=$s(p),_=$s(h),[k,S,x,E]=(e=>{const t=N.useRef(null);return t[Ws]||(t[Ws]=e())})(()=>{const e=!!a,t=((e,t=40,n=0,r,o=!1)=>{let a=!!n,i=1,l=0,s=0,u=0,c=0,d=0,f=0,p=0,h=0,m=gs,v=[0,a?bs(n-1,0):-1],g=0;const y=(O=e,N=t,{o:(R=r)?R[1]:N,t:R&&R[0]?Ts(R[0].slice(0,ys(O,R[0].length)),bs(0,O-R[0].length)):Ts([],O),l:O,i:-1,u:Ts([],O+1)}),b=new Set,w=()=>u-s,_=()=>w()+d+c,k=(e,t)=>((e,t,n,r)=>{if(r=ys(r,e.l-1),Rs(e,r)<=t){const o=Ps(e,n,r);return[Ps(e,t,r,o),o]}{const o=Ps(e,t,void 0,r);return[o,Ps(e,n,o)]}})(y,e,t,v[0]),S=()=>Rs(y,y.l),x=e=>Rs(y,e)-d,E=e=>Os(y,e),C=(e,t=-1)=>y.t[e]===t,T=e=>{e&&(As()&&0!==p||m&&1===h?d+=e:c+=e)};var O,N,R;return{v:()=>{b.clear()},m:()=>i,_:()=>(e=>[e.t.slice(),e.o])(y),S:(e=200)=>{if(!l||a)return v;let t,n;if(f)[t,n]=v;else{let r=bs(0,_()),a=r+l;o||(e=bs(0,e),1!==p&&(r-=e),2!==p&&(a+=e)),[t,n]=v=k(bs(0,r),bs(0,a)),m&&(t=ys(t,m[0]),n=bs(n,m[1]))}return[bs(t,0),ys(n,y.l-1)]},$:()=>Ps(y,_()),I:()=>Ps(y,_()+l),k:C,R:x,T:E,M:()=>y.l,C:()=>u,H:()=>0!==p,p:()=>l,W:()=>s,h:S,O:()=>(f=c,c=0,[f,2===h]),B:(e,t)=>{const n=[e,t];return b.add(n),()=>{b.delete(n)}},J:(e,t)=>{let n,r,v=0;switch(e){case 1:{if(t===u&&0===h)break;const e=f;f=0;const n=t-u,o=ws(n);e&&o<ws(e)+1||0!==h||(p=n<0?2:1),a&&(a=!1),u=t,v=4;const i=w();i>=-l&&i<=S()&&(v+=1,r=o>l);break}case 2:v=8,0!==p&&(n=!0,v+=1),p=0,h=0,m=gs;break;case 3:{const e=t.filter(([e,t])=>!C(e,t));if(!e.length)break;T(e.reduce((e,[t,n])=>((2===h||(m&&1===h?t<m[0]:x(t+(0===p&&0===h?1:0))<w()))&&(e+=n-E(t)),e),0));for(const[t,n]of e){const e=E(t),r=Ns(y,t,n);o&&(g+=r?n:n-e)}o&&l&&g>l&&(T(((e,t)=>{let n=0;const r=[];e.t.forEach((e,o)=>{-1!==e&&(r.push(e),o<t&&n++)}),e.i=-1;const o=Ss(r),a=o.length,i=a/2|0,l=a%2==0?(o[i-1]+o[i])/2:o[i],s=e.o;return((e.o=l)-s)*bs(t-n,0)})(y,Ps(y,_()))),o=!1),v=3,r=!0;break}case 4:l!==t&&(l||(r=!0),l=t,v=3);break;case 5:t[1]?(T(Ds(y,t[0],!0)),h=2,v=1):(Ds(y,t[0]),v=1);break;case 6:s=t;break;case 7:h=1;break;case 8:m=k(t,t+l),v=1}v&&(i=1+(2147483647&i),n&&d&&(c+=d,d=0),b.forEach(([e,t])=>{v&e&&t(r)}))}}})(g,r,u,l,!r);return[t,Fs(t,e),Us(t,e),e]});g!==k.M()&&k.J(5,[g,o]),s!==k.W()&&k.J(6,s);const[C,T]=N.useReducer(k.m,void 0,k.m),O=k.H(),R=k.h(),P=[],D=e=>{const t=v(e);return j.jsx(qs,{ee:S.F,te:e,oe:k.R(e),ne:k.k(e),re:d,Z:t,ie:E,se:b[Ws]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(Bs(()=>{b[Ws]=!1,k.B(1,e=>{e?Po.flushSync(T):T()}),k.B(4,()=>{w[Ws]&&w[Ws](k.C())}),k.B(8,()=>{_[Ws]&&_[Ws]()});const e=e=>{S.U(e),x.P(e)};return f?xs(()=>{f[Ws]&&e(f[Ws])}):e(y[Ws].parentElement),()=>{k.v(),S.v(),x.v()}},[]),Bs(()=>{x.j()},[C]),N.useImperativeHandle(m,()=>({get cache(){return k._()},get scrollOffset(){return k.C()},get scrollSize(){return bs((e=k).h(),e.p());var e},get viewportSize(){return k.p()},findStartIndex:k.$,findEndIndex:k.I,getItemOffset:k.R,getItemSize:k.T,scrollToIndex:x.Y,scrollTo:x.V,scrollBy:x.X}),[]),i){const e=new Set(i);for(let[t,r]=k.S(n);t<=r;t++)e.add(t);Ss([...e]).forEach(e=>{P.push(D(e))})}else for(let[N,M]=k.S(n);N<=M;N++)P.push(D(N));return j.jsx(c,{ref:y,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:E?R:"100%",height:E?"100%":R,pointerEvents:O?"none":void 0},children:P})}),Ys=({expandable:e,expanded:t,onClick:n,disabled:r})=>j.jsx("span",{onClick:n,className:hs(ms.expandButton,{[ms.expandable]:e,[ms.expanded]:t,[ms.disabled]:r}),children:e&&j.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:j.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0","clip-rule":"evenodd"})})}),Gs=Xo(e=>{const{name:t,value:n}=e,r=Gi(),o=r.isPathExpanded(e.path),a=Object.keys(n),i=a.length>0;return j.jsxs(j.Fragment,{children:[j.jsxs("div",{className:hs(ms.line,ms.property,ms.array),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[j.jsx(Ys,{expandable:n.length>0,expanded:o}),j.jsx("span",{className:ms.propertyName,children:t}),j.jsx("span",{className:ms.propertyMeta,children:": "}),j.jsx("span",{className:ms.propertyValue,children:i?"[...]":"[]"})]}),o&&j.jsx("div",{className:ms.propertyExpandedContent,children:a.map((t,r)=>N.createElement(ru,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))})]})}),Qs=Xo(e=>{const{name:t,value:n,valueType:r}=e,o=Array.from({length:n.length},(e,t)=>`arg${t+1}`);return j.jsxs("div",{className:hs(ms.line,ms.property,ms.function),title:String(n),style:{"--level":e.level,"--order":e.order},"data-fitted":e.isFitted,children:[j.jsx(Ys,{}),r.includes("Async")&&j.jsx("span",{className:hs(ms.propertyMeta,ms.small),children:"async "}),j.jsx("span",{className:ms.propertyName,children:t}),j.jsx("span",{className:ms.propertyMeta,children:`(${o.join(", ")})`})]})}),Xs=new Set(["constructor"]),Js=new Set([globalThis.Object.prototype,globalThis.Function.prototype,globalThis.Array.prototype,globalThis.String.prototype,globalThis.Number.prototype,globalThis.Boolean.prototype,globalThis.Symbol.prototype,globalThis.Date.prototype,globalThis.RegExp.prototype,globalThis.Error.prototype,globalThis.Map.prototype,globalThis.Set.prototype,globalThis.WeakMap.prototype,globalThis.WeakSet.prototype,globalThis.ArrayBuffer.prototype,globalThis.DataView.prototype,globalThis.Float32Array.prototype,globalThis.Float64Array.prototype,globalThis.Int8Array.prototype,globalThis.Int16Array.prototype,globalThis.Int32Array.prototype,globalThis.Uint8Array.prototype,globalThis.Uint8ClampedArray.prototype,globalThis.Uint16Array.prototype,globalThis.Uint32Array.prototype,globalThis.BigInt64Array.prototype,globalThis.BigUint64Array.prototype,globalThis.Promise.prototype,globalThis.Iterator.prototype]);function Zs(e){const t=new Set(Object.keys(e));let n=Object.getPrototypeOf(e);for(;n&&n!==globalThis.Object.prototype;){const e=Object.getOwnPropertyDescriptors(n);for(const n in e)Xs.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(Js.has(r))break;n=r}return Array.from(t)}const eu=Xo(e=>{const{name:t,value:n}=e,r=Gi(),o=r.isPathExpanded(e.path),a=n.constructor.name,i=Zs(n);return j.jsxs(j.Fragment,{children:[j.jsxs("div",{className:hs(ms.line,ms.property,ms.instance),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[j.jsx(Ys,{expandable:!0,expanded:o}),j.jsx("span",{className:ms.propertyName,children:t}),j.jsx("span",{className:ms.propertyMeta,children:": "}),j.jsx("span",{className:ms.propertyValue,children:`${a}`})]}),o&&i.map((t,r)=>N.createElement(ru,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))]})}),tu=Xo(e=>{const{name:t,value:n}=e,r=Gi(),o=r.isPathExpanded(e.path),a=Zs(n),i=a.length>0;return j.jsxs(j.Fragment,{children:[j.jsxs("div",{className:hs(ms.line,ms.property,ms.object),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[j.jsx(Ys,{expandable:i,expanded:o}),j.jsx("span",{className:ms.propertyName,children:t}),j.jsx("span",{className:ms.propertyMeta,children:": "}),j.jsx("span",{className:ms.propertyValue,children:i?"{...}":"{}"})]}),o&&a.map((t,r)=>N.createElement(ru,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))]})}),nu=Xo(e=>{const{name:t,value:n}=e,r=typeof n;return j.jsxs("div",{className:hs(ms.line,ms.property,ms.primitive,ms[r]),style:{"--level":e.level,"--order":e.order},"data-fitted":e.isFitted,title:String(n),children:[j.jsx(Ys,{}),j.jsx("span",{className:ms.propertyName,children:t}),j.jsx("span",{className:ms.propertyMeta,children:": "}),j.jsx("span",{className:ms.propertyValue,children:"symbol"===r?"Symbol":"string"===r?`"${n}"`:`${n}`})]})}),ru=Xo(e=>{const{value:t}=e,n=Object.prototype.toString.call(t),r={...e,value:t,valueType:n};return Array.isArray(t)?j.jsx(Gs,{...r}):Na.isObject(t)&&t.constructor?.name&&"Object"!==t.constructor.name?j.jsx(eu,{...r}):Na.isFunction(t)?j.jsx(Qs,{...r}):Na.isObject(t)?j.jsx(tu,{...r}):n.startsWith("[object ")&&t&&"object"==typeof t&&"constructor"in t?j.jsx(eu,{...r}):j.jsx(nu,{...r})}),ou=Xi(class extends rl{devtools=this.payload.devtools;constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1},viewModelStores:{useDecorators:!1}}}}),dr(this,{handleExpandPropertyClick:Mn,handleVmItemHeaderClick:Mn})}isPathExpanded(e){return this.devtools.checkIsPathExpanded(this.payload.vmItem,e)}handleExpandPropertyClick(e){this.devtools.handleExpandPropertyClick(this.payload.vmItem,e)}handleVmItemHeaderClick(e){this.devtools.handleVmItemHeaderClick(e)}},({model:e})=>{const t=e.payload.vmItem,n=e.devtools.isExpanded(t),r=e.devtools.getVMFittedInfo(t);return j.jsxs(j.Fragment,{children:[j.jsx("div",{className:hs(ms.line,ms.vmTreeItem),"data-fitted":r.isFittedByName||r.isFittedById,style:{"--level":t.depth},children:j.jsxs("header",{onClick:()=>e.handleVmItemHeaderClick(t),children:[j.jsx(Ys,{expandable:t.children.length>0,expanded:n,disabled:e.devtools.isAllVmsExpandedByDefault}),j.jsx("label",{title:t.displayName,children:t.displayName}),j.jsx("span",{title:t.vm.id,children:t.vm.id})]})}),t.properties.map((n,r)=>j.jsx(ru,{vmItem:t,name:n,order:r,value:t.vm[n],isFitted:e.devtools.checkIsPropertyFitted(t,n),level:t.depth,path:n},n)),n&&t.children.map(t=>j.jsx(ou,{payload:{vmItem:t,devtools:e.devtools}},t.key))]})}),au=Xo(({className:e,headerContent:t,...n})=>{const r=Gi();return j.jsxs("div",{...n,className:hs(ms.vmContent,e),ref:r.devtools.containerRef,children:[j.jsxs("header",{children:[j.jsx("span",{children:"mobx-view-model devtools"}),t]}),j.jsx("div",{className:ms.vmContentFilters,children:j.jsx("input",{value:r.devtools.search,ref:r.devtools.inputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name",onChange:r.devtools.handleSearchChange})}),j.jsx("div",{className:ms.vmContentTree,children:j.jsx(Ks,{children:r.devtools.vmTree.map(e=>j.jsx(ou,{payload:{vmItem:e,devtools:r.devtools}},e.key))})})]})}),iu=Xo(()=>{const e=Gi();return j.jsx(au,{className:ms.vmPopup,"data-position":`${e.devtools.config.position}`,headerContent:j.jsx("button",{onClick:e.devtools.handleToggleOpen,children:j.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:j.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06","clip-rule":"evenodd"})})})})}),lu=Xi(class extends tl{devtools=this.payload.devtools},({model:e})=>j.jsx(Qi,{value:e.devtools.vmStore,children:j.jsxs(ji,{value:e,children:[j.jsx(vs,{}),e.devtools.isOpened&&"popup"===e.devtools.displayType&&j.jsx(iu,{})]})}));class su extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const uu=(e,...t)=>"function"==typeof e?e(...t):e;let cu=class{constructor(e){if(this.config=e,this.abortController=new su(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),kt.ref(this,"isActivated"),Ct.struct(this,"actions"),Mn.bound(this,"handleKeyboardClick"),dr(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new su;Vn(()=>e.current,e=>{e?(globalThis.document?.activeElement===e&&this.activate(),e.addEventListener("focus",this.activate,{signal:t.signal}),e.addEventListener("blur",this.deactivate,{signal:t.signal})):(t.abort(),t=new su(this.abortController.signal))},{fireImmediately:!0,signal:this.abortController.signal})}globalThis.addEventListener("keydown",this.handleKeyboardClick,{signal:this.abortController.signal}),"keyclick"===e.activateStrategy?.type&&(globalThis.addEventListener("click",this.activate,{signal:this.abortController.signal}),globalThis.addEventListener("mousemove",this.activate,{signal:this.abortController.signal}))}abortController;activateStrategy;isActivated;get actions(){return uu(this.config.actions)??[]}activate=()=>{this.isActivated||(this.isActivated=!0,this.config.onActivate?.())};deactivate=()=>{this.isActivated&&(this.isActivated=!1,this.config.onDeactivate?.())};handleKeyboardClick(e){if(this.config.onKeyClick?.(e),"keyclick"===this.activateStrategy.type&&this.activate(),this.isActivated)for(const t of this.actions){if(!uu(t.disabled))for(const n of t.shortcuts){if(n.split("+").every(t=>this.checkShortcut(e,t)))return void In(()=>{t.action(e)})}}}checkShortcut(e,t){return!("Shift"!==t||!e.shiftKey)||(!("Ctrl"!==t||!e.ctrlKey)||(!("Alt"!==t||!e.altKey)||t===e.key))}destroy(){this.abortController.abort()}};class du extends cu{constructor(e){super({actions:[{shortcuts:["Ctrl+Shift+F12"],action:()=>{e.handleToggleOpen()}},{shortcuts:["Ctrl+ArrowLeft"],action:()=>{e.isAllVmsExpandedByDefault=!1}},{shortcuts:["Ctrl+ArrowRight"],action:()=>{e.isAllVmsExpandedByDefault=!0}},{shortcuts:["Ctrl+ArrowDown"],action:()=>{requestAnimationFrame(()=>{e.containerRef.current.scrollTop+=200})}},{shortcuts:["Ctrl+ArrowUp"],action:()=>{requestAnimationFrame(()=>{e.containerRef.current.scrollTop-=200})}}]})}}const fu=(e,t)=>{const n=t.split(".");let r=e;for(const o of n){if(!(o in r))return!1;r=r[o]}return!0},pu=()=>{const e=Ra({meta:{focused:!1},onSet:t=>{document.activeElement===t&&In(()=>{e.meta.focused=!0}),t.addEventListener("focus",Mn(()=>{e.meta.focused=!0})),t.addEventListener("blur",Mn(()=>{e.meta.focused=!1}))}});return e};e=[Ct];const hu=class e{constructor(e){((e,t,n,r)=>{for(var o=0,a=e[t>>1],i=a&&a.length;o<i;o++)1&t?a[o].call(n):r=a[o].call(n,r)})(t,5,this),p(this,"isOpened"),p(this,"displayType"),p(this,"vmStore"),p(this,"projectVmStore"),p(this,"isAllVmsExpandedByDefault"),p(this,"expandedVmItemsPaths"),p(this,"logoUrl"),p(this,"inputRef"),p(this,"containerRef"),p(this,"buttonRef"),p(this,"keyboardHandler"),p(this,"search"),p(this,"expandedVmsSet"),p(this,"handleSearchChange",e=>{this.search=e.target.value}),p(this,"handleToggleOpen",()=>{this.isOpened=!this.isOpened}),this.config=e,this.isOpened=!!this.config.defaultIsOpened,this.search="",this.displayType="popup",this.vmStore=new nl,this.projectVmStore=this.config.viewModels,this.expandedVmsSet=kt.set(),this.isAllVmsExpandedByDefault=!0,this.expandedVmItemsPaths=kt.set(),this.logoUrl="https://js2me.github.io/mobx-view-model/logo.png",this.inputRef=pu(),this.containerRef=pu(),this.buttonRef=Ra(),this.keyboardHandler=new du(this),dr(this,{isOpened:kt.ref,isAllVmsExpandedByDefault:kt,search:kt.ref,handleToggleOpen:Mn,handleExpandPropertyClick:Mn,allVms:Ct.struct,vmMap:Ct.struct,isInSearch:Ct,vmTree:Ct.struct,rootVms:Ct.struct,handleSearchChange:Mn}),this.render()}get vmMap(){return this.getViewModelsMap()}get allVms(){return[...this.vmMap.values()].filter(e=>!rl.isPrototypeOf(e.constructor))}get rootVms(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel})}get formattedSearch(){return this.search.toLowerCase().trim()}get vmTree(){const e=[],t=[],n=(t,r)=>{const o=e.find(e=>e.vm===t);if(o)return o;const a=this.getVmParams(t),i=a?.parentViewModel||null,l=t.constructor.name,s={parent:i?n(i,r-1):null,vm:t,displayName:l,children:[],depth:r,key:`${l}-${t.id}-${r}`,properties:Zs(t)};e.push(s);const u=this.allVms.filter(e=>{const n=this.getVmParams(e);return n?.parentViewModel&&n.parentViewModel===t}).map(e=>n(e,r+1)).filter(e=>Boolean(e));return s.children.push(...u),s};return this.rootVms.forEach(e=>{const r=n(e,0);r&&t.push(r)}),t}get isInSearch(){return!!this.search.toLowerCase().trim()}get searchCache(){return this.formattedSearch,new Map}getVMFittedInfo(e){if(!this.isInSearch)return{isFitted:!0,isFittedByName:!0,fittedProperties:[]};if(this.searchCache.has(e.key))return this.searchCache.get(e.key);let t=!1;const n=[];let r=e.displayName.toLowerCase().trim().includes(this.formattedSearch),o=fu(e.vm,this.search);o||"."!==this.search.at(-1)||(o=fu(e.vm,this.search.slice(0,-1)));let a=this.formattedSearch;if(!o&&this.search.split(".")[0].toLowerCase()===e.displayName.toLowerCase()){const t=this.search.split(".").slice(1).join(".");t?o=fu(e.vm,t):(o=!0,r=!0),a=t.toLowerCase().trim()}e.properties.forEach(e=>{let i=!1;if(r)i=!0;else{const t=e.toLowerCase().trim();(t.includes(a)||"."!==a&&`.${t}`.includes(a))&&(i=!0)}if(o){a.split(".")[0]===e&&(i=!0)}t||(t=i),i&&n.push(e)});const i=!!e.vm.id&&e.vm.id.includes(this.formattedSearch),l=r||i||t||o;return this.searchCache.set(e.key,{isFitted:l,isFittedById:i,isFittedByName:r,isFittedByPropertyPath:o,fittedProperties:n}),this.searchCache.get(e.key)}checkIsPropertyFitted(e,t){return!this.isInSearch||this.getVMFittedInfo(e).fittedProperties.includes(t)}isExpanded(e){return this.expandedVmsSet.has(e.key)||this.isInSearch||this.isAllVmsExpandedByDefault}checkIsPathExpanded(e,t){const n=this.getVMFittedInfo(e),r=(t.startsWith(".")?t.slice(1):t).split(".")[0];return r&&n.fittedProperties.includes(r),this.expandedVmItemsPaths.has(`${e.key}%%%${t}`)}handleExpandPropertyClick(e,t){const n=`${e.key}%%%${t}`;this.expandedVmItemsPaths.has(n)?this.expandedVmItemsPaths.delete(n):this.expandedVmItemsPaths.add(n)}handleVmItemHeaderClick(e){this.isExpanded(e)?this.expandedVmsSet.delete(e.key):this.expandedVmsSet.add(e.key)}getVmParams(e){return"vmParams"in e?e.vmParams:null}getViewModelsMap(){const e=this.config.viewModels??this.projectVmStore;return e?.viewModels??new Map}render(){const e=this.config.containerId??"view-model-devtools";let t=document.querySelector(`#${e}`);t||(t=document.createElement("div"),t.style="display: contents;",t.id=e,document.body.appendChild(t));il.createRoot(t).render(N.createElement(lu,{payload:{devtools:this}}))}static connect(t){new e(t)}};var mu;mu=null,((e,t,n,a,l,p)=>{var h,b,w,_,k,S=7&t,x=!!(8&t),E=!!(16&t),C=S>3?e.length+1:S?x?1:2:0,T=u[S+5],O=S>3&&(e[C-1]=[]),N=e[C]||(e[C]=[]),R=S&&(!E&&!x&&(l=l.prototype),S<5&&(S>3||!E)&&o(S<4?l:{get[n](){return v(this,p)},set[n](e){return g(this,p,e)}},n));S?E&&S<4&&s(p,(S>2?"set ":S>1?"get ":"")+n):s(l,n);for(var P=a.length-1;P>=0;P--)_=d(S,n,w={},e[3],N),S&&(_.static=x,_.private=E,k=_.access={has:E?e=>m(l,e):e=>n in e},3^S&&(k.get=E?e=>(1^S?v:y)(e,l,4^S?p:R.get):e=>e[n]),S>2&&(k.set=E?(e,t)=>g(e,l,t,4^S?p:R.set):(e,t)=>e[n]=t)),b=(0,a[P])(S?S<4?E?p:R[T]:S>4?void 0:{get:R.get,set:R.set}:l,_),w._=1,4^S||void 0===b?c(b)&&(S>4?O.unshift(b):S?E?p=b:R[T]=b:l=b):"object"!=typeof b||null===b?i("Object expected"):(c(h=b.get)&&(R.get=h),c(h=b.set)&&(R.set=h),c(h=b.init)&&O.unshift(h));S||f(e,l),R&&r(l,n,R)})(t=[,,,n(mu?.[a("metadata")]??null)],2,"searchCache",e,hu),f(t,hu);let vu=hu;exports.ViewModelDevtools=vu;