mobx-view-model-devtools 0.0.26 → 0.0.28

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.
package/auto.global.js CHANGED
@@ -1,2 +1 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.vmButton_esipO{position:fixed;z-index:999999;width:36px;height:36px;border-radius:8px;transition:all .15s ease-in-out;cursor:pointer;-webkit-user-select:none;user-select:none}.vmButton_esipO.dragging_kUMCE{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.vmButton_esipO.opened_NYAFW{opacity:0!important;pointer-events:none}.vmButton_esipO[data-position=top-right]{top:12px;right:12px}.vmButton_esipO[data-position=top-left]{top:12px;left:12px}.vmButton_esipO[data-position=bottom-left]{bottom:12px;left:12px}.vmButton_esipO[data-position=bottom-right]{bottom:12px;right:12px}.vmButton_esipO>img{pointer-events:none;position:absolute;inset:0;border-radius:8px}.vmButton_esipO>div{transition:all .15s ease-in-out;position:absolute;inset:0;border-radius:8px;border:2px solid #00000057}.vmButton_esipO>span{left:-4px;top:-4px;pointer-events:none;position:absolute;display:flex;border-radius:8px;background:#005c26cf;padding:2px;font-weight:600;font-size:12px;line-height:12px;color:#2aff0a}.vmButton_esipO:not(.isConnected_eObxX){filter:grayscale(1)}.iconToggleButton_R48wm{display:flex;align-items:center;gap:2px;position:relative;height:20px;outline:none;border-radius:4px;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.activePosition_IXsRn{position:absolute;height:16px;width:16px;padding:1px;box-sizing:content-box!important;background:var(--vmd-control-active-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));border-radius:4px;transition:all 149ms ease;transform:translate(calc(20px * var(--index)))}.option_a5IcR{padding:1px;z-index:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;transition:all 149ms ease;color:var(--vmd-control-inactive-color)}.option_a5IcR.active_6QS-2{color:var(--vmd-control-active-color)}.option_a5IcR>svg{width:14px;height:14px}:root{--vmd-base-blur: 2px;--vmd-bg: #0c0a19e6;--vmd-overlay-bg: #0e1227bd;--vmd-base-color: #ccc;--vmd-control-active-bg: #e6e6e682;--vmd-control-active-color: #181818;--vmd-control-active-text-input-color: var(--vmd-base-color);--vmd-control-active-text-input-placeholder-color: #a3a3a3;--vmd-control-inactive-color: #8b8b8b;--vmd-control-border: #5b5468a6;--vmd-control-bg: transparent;--vmd-control-blur: 2px;--vmd-bg-transparent: #1f1c2600;--vmd-content-bg: transparent;--vmd-content-highlight-bg: #ffffff0a;--vmd-scrollbar-track-size: 8px;--vmd-scrollbar-bg-base: #81818170;--vmd-scrollbar-bg-active: #818181;--vmd-property-meta-color: #616161;--vmd-primary-bg: #0f6013;--vmd-primary-color: #5ab65e;--vmd-secondary-bg: #6b6902;--vmd-header-height: 60px}.root_Xsw1F{display:contents;box-sizing:border-box}.root_Xsw1F *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;box-sizing:border-box}.root_Xsw1F button{outline:none;background:transparent;border:0;cursor:pointer;margin:0;padding-block:0;padding-inline:0;color:var(--vmd-base-color)}.hierarchyButton_h3FD7{width:18px;height:18px;padding:2px;border-radius:6px}.hierarchyButton_h3FD7.active_4JTx5{background:#f0f0f01f}.treeItemHeader_9gR6Q{display:flex;align-items:center;gap:4px;margin:auto 0;cursor:pointer;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItemLabel_eiMgP{padding:0 4px;border-radius:4px}.treeItemMetaText_cmfX0{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItem_sRXPA{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;height:22px;display:flex;flex-direction:row;align-items:center;padding-left:calc(8px + (var(--level) * 20px));position:sticky;top:calc(var(--vmd-header-height) + var(--vmd-control-panel-height));z-index:1}.treeItem_sRXPA:hover{background:var(--vmd-content-highlight-bg)}.treeItem_sRXPA:not([data-fitted=true])>header{opacity:.6}.vmTreeItem_t-7jc .treeItemLabel_eiMgP{background:var(--vmd-primary-bg)}.vmTreeItem_t-7jc .treeItemMetaText_cmfX0{color:var(--vmd-primary-color)}.extraTreeItem_z3KA1 .treeItemLabel_eiMgP{background:var(--vmd-secondary-bg)}.expandButton_B24E3{color:#a0a0a0;opacity:1!important;width:16px;height:16px;font-weight:700;cursor:pointer}.expandButton_B24E3.expanded_8-pD6{color:#b8b8b8;transform:rotate(90deg)}.expandButton_B24E3.disabled_MBq1Q{opacity:.35!important}.vmContent_TIK57[data-simplebar]{position:relative;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;color:var(--vmd-base-color);background:var(--vmd-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));display:flex;flex-direction:column;overflow:auto;overflow-y:auto;scrollbar-width:thin;overflow-anchor:none}.vmContent_TIK57[data-simplebar] .simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.vmContent_TIK57[data-simplebar] .simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.vmContent_TIK57[data-simplebar] .simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper::-webkit-scrollbar,.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.vmContent_TIK57[data-simplebar] .simplebar-content:after,.vmContent_TIK57[data-simplebar] .simplebar-content:before{content:" ";display:table}.vmContent_TIK57[data-simplebar] .simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.vmContent_TIK57[data-simplebar] .simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}.vmContent_TIK57[data-simplebar].simplebar-dragging,.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{position:absolute;content:"";background:var(--vmd-scrollbar-bg-base);border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-vertical{top:0;width:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{inset:2px}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal{left:0;height:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.vmContentHeader_M1JNM{display:flex;flex-direction:column;height:var(--vmd-header-height);flex:none;padding:0 8px;position:sticky;top:0;z-index:1}.vmContentHeaderLogo_FRJDO{width:16px;margin-right:6px}.vmContentHeaderTitle_lYmde{display:flex;justify-content:space-between;align-items:center;flex:none;font-weight:600;z-index:1}.vmContentHeaderTitleText_RlIFH{font-size:16px;margin-right:auto}.vmContentControlPanel_CgUN9{width:100%;height:var(--vmd-control-panel-height);padding-bottom:4px;flex:none;display:flex;flex-direction:row;z-index:1;gap:4px;overflow:hidden;padding-right:6px}.vmContentControlPanel_CgUN9:has(.vmContentInput_29GM1 input:focus)>.vmContentControlPanelActions_lONbA{margin-left:-106px}.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center;gap:6px;transition:all .15s ease}.hiearchyToggleButton_0FTG-{display:flex}.vmContentInput_29GM1{display:flex;position:relative;flex:1;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.vmContentInput_29GM1>svg{position:absolute;width:16px;inset:50% 0;transform:translate(6px,-50%);pointer-events:none;opacity:.7}.vmContentInput_29GM1>input{background:var(--vmd-control-bg);border:1px solid var(--vmd-control-border);color:var(--vmd-control-active-text-input-color);border-radius:4px;outline:0;width:100%;padding:3px 26px;font-size:14px;text-overflow:ellipsis}.vmContentInput_29GM1>input::placeholder{color:var(--vmd-control-active-text-input-placeholder-color)}.vmContentInput_29GM1>button{position:absolute;right:6px;width:16px;transform:translate(4px,-50%);top:50%;opacity:.6;display:none}.vmContentInput_29GM1.filled_6JZa0>svg{opacity:.9}.vmContentInput_29GM1.filled_6JZa0>button{display:block}.vmContentVirtualized_lia62{flex:1}.vmContentVirtualized_lia62>div>div{height:22px}.gradientBlur_-y-re{position:absolute;top:0;left:0;width:100%;height:calc(100% + 6px);pointer-events:none;background:linear-gradient(to bottom,var(--vmd-overlay-bg) 0%,rgba(0,0,0,0) 100%)}.gradientBlur_-y-re:before{content:"";position:absolute;inset:0;background:transparent;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);-webkit-mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%);mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%)}.property_sD8FG{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;background:var(--vmd-content-bg);height:22px;display:flex;flex-direction:row;align-items:center;position:relative;color:var(--vmd-property-meta-color);padding-left:calc(0px + 28px + (var(--level) * 15px))}.property_sD8FG:hover{background:var(--vmd-content-highlight-bg)}.property_sD8FG.expandable_np03F{cursor:pointer}.property_sD8FG[data-fitted=false]{opacity:.5}.property_sD8FG.instance_jv3IW{--value-color: rgb(190 113 195)}.property_sD8FG.primitive_v6LAV.boolean_Z6znK,.property_sD8FG.primitive_v6LAV.number_U9H45,.property_sD8FG.primitive_v6LAV.object_bHf4I,.property_sD8FG.primitive_v6LAV.bigint_HkgX8,.property_sD8FG.primitive_v6LAV.symbol_oKSwT{--value-color: rgb(89, 153, 205)}.property_sD8FG.primitive_v6LAV.undefined_6CapW,.property_sD8FG.primitive_v6LAV.null_lugoL{--value-color: #499098}.primitive_v6LAV.string_87vm1{--value-color: #af7249}.propertyName_KicXG{color:#ccc}.propertyMeta_Ia9ce{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g{color:var(--value-color, var(--vmd-property-meta-color));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g:has(+.propertyName_KicXG){margin-right:4px}.propertyOperations_fT6Ez{position:absolute;right:12px;display:flex;align-items:center;opacity:0}.property_sD8FG:hover>.propertyOperations_fT6Ez{opacity:1}.vmPopup_0hkGL{position:fixed!important;z-index:999999;width:520px;border-radius:8px;height:calc(100vh - 24px);width:calc(100vw - 34px);max-width:520px;box-shadow:0 5px 20px #0006}.vmPopup_0hkGL[data-position=top-right]{top:12px;right:12px}.vmPopup_0hkGL[data-position=top-left]{top:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-left]{bottom:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-right]{bottom:12px;right:12px}.closePopupButton_igv9j{width:28px;height:28px;padding:6px;border:0;background:transparent;color:var(--vmd-base-color);display:flex;align-items:center;justify-content:center}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- !function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t,n,r={exports:{}},o={exports:{}};function i(){return t||(t=1,e=o,n=o.exports,function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=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},x={},_=null;function k(e){_=e}x.setExtraStackFrame=function(e){_=e},x.getCurrentStack=null,x.getStackAddendum=function(){var e="";_&&(e+=_);var t=x.getCurrentStack;return t&&(e+=t()||""),e};var S={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=S.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)}S.ReactDebugCurrentFrame=x,S.ReactCurrentActQueue=b;var O={};function R(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 N={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){R(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){R(e,"replaceState")},enqueueSetState:function(e,t,n,r){R(e,"setState")}},P=Object.assign,A={};function j(e,t,n){this.props=e,this.context=t,this.refs=A,this.updater=n||N}Object.freeze(A),j.prototype.isReactComponent={},j.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")},j.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var M={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)."]},D=function(e,t){Object.defineProperty(j.prototype,e,{get:function(){E("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var L in M)M.hasOwnProperty(L)&&D(L,M[L]);function I(){}function z(e,t,n){this.props=e,this.context=t,this.refs=A,this.updater=n||N}I.prototype=j.prototype;var V=z.prototype=new I;V.constructor=z,P(V,j.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 a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return H(e)+".Consumer";case s: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 Y,q,K,G=Object.prototype.hasOwnProperty,X={key:!0,ref:!0,__self:!0,__source:!0};function Q(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}K={};var Z=function(e,n,r,o,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ee(e,t,n){var r,o={},i=null,a=null,s=null,l=null;if(null!=t)for(r in Q(t)&&(a=t.ref,function(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=$(w.current.type);K[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),K[t]=!0)}}(t)),J(t)&&(W(t.key),i=""+t.key),s=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)G.call(t,r)&&!X.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(i||a){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&function(e,t){var n=function(){Y||(Y=!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),a&&function(e,t){var n=function(){q||(q=!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,i,a,s,l,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,i=P({},e.props),a=e.key,s=e.ref,l=e._self,u=e._source,c=e._owner;if(null!=t)for(r in Q(t)&&(s=t.ref,c=w.current),J(t)&&(W(t.key),a=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)G.call(t,r)&&!X.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==o?i[r]=o[r]:i[r]=t[r]);var d=arguments.length-2;if(1===d)i.children=n;else if(d>1){for(var f=Array(d),p=0;p<d;p++)f[p]=arguments[p+2];i.children=f}return Z(e.type,a,s,l,u,c,i)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var re,oe=!1,ie=/\/+/g;function ae(e){return e.replace(ie,"$&/")}function se(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 le(e,n,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c,d=!1;if(null===e)d=!0;else switch(s){case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case t:case r:d=!0}}if(d){var f=e,p=a(f),h=""===i?"."+se(f,0):i;if(F(p)){var m="";null!=h&&(m=ae(h)+"/"),le(p,n,m,"",function(e){return e})}else null!=p&&(ne(p)&&(!p.key||f&&f.key===p.key||W(p.key),l=p,u=o+(!p.key||f&&f.key===p.key?"":ae(""+p.key)+"/")+h,p=Z(l.type,u,l.ref,l._self,l._source,l._owner,l.props)),n.push(p));return 1}var g=0,y=""===i?".":i+":";if(F(e))for(var b=0;b<e.length;b++)g+=le(c=e[b],n,o,y+se(c,b),a);else{var w=v(e);if("function"==typeof w){var x=e;w===x.entries&&(oe||E("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),oe=!0);for(var _,k=w.call(x),S=0;!(_=k.next()).done;)g+=le(c=_.value,n,o,y+se(c,S++),a)}else if("object"===s){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 le(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===a||e===i||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||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 xe(){}xe.__reactDisabledLog=!0;var _e,ke=S.ReactCurrentDispatcher;function Se(e,t,n){if(void 0===_e)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);_e=r&&r[1]||""}return"\n"+_e+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,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=ke.current,ke.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:xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}we++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(h){n=h}Reflect.construct(e,[],a)}else{try{a.call()}catch(h){n=h}e.call(a.prototype)}}else{try{throw Error()}catch(h){n=h}e()}}catch(m){if(m&&n&&"string"==typeof m.stack){for(var s=m.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[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,ke.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=i}var f=e?e.displayName||e.name:"",p=f?Se(f):"";return"function"==typeof e&&Ee.set(e,p),p}function Re(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 Se(e);switch(e){case c:return Se("Suspense");case d:return Se("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return Oe(e.render,!1);case f:return Re(e.type,t,n);case p:var o=e,i=o._payload,a=o._init;try{return Re(a(i),t,n)}catch(s){}}return""}Ee=new Te;var Ne,Pe={},Ae=S.ReactDebugCurrentFrame;function je(e){if(e){var t=e._owner,n=Re(e.type,e._source,t?t.type:null);Ae.setExtraStackFrame(n)}else Ae.setExtraStackFrame(null)}function Me(e){if(e){var t=e._owner;k(Re(e.type,e._source,t?t.type:null))}else k(null)}function De(){if(w.current){var e=$(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Ne=!1;var Le={};function Ie(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=De();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(!Le[n]){Le[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+$(e._owner.type)+"."),Me(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),Me(null)}}}function ze(e,t){if("object"==typeof e)if(F(e))for(var n=0;n<e.length;n++){var r=e[n];ne(r)&&Ie(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 i,a=o.call(e);!(i=a.next()).done;)ne(i.value)&&Ie(i.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 i=Function.call.bind(G);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(je(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,a,typeof s),je(null)),s instanceof Error&&!(s.message in Pe)&&(Pe[s.message]=!0,je(o),C("Failed %s type: %s",n,s.message),je(null))}}(t,e.props,"prop",r,e)}else void 0===n.PropTypes||Ne||(Ne=!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,n,r){var i,a,s=de(e);if(!s){var l="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(l+=" 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!=(i=n)&&void 0!==(a=i.__source)?"\n\nCheck your code at "+a.fileName.replace(/^.*[\\\/]/,"")+":"+a.lineNumber+".":"";l+=c||De(),null===e?u="null":F(e)?u="array":void 0!==e&&e.$$typeof===t?(u="<"+($(e.type)||"Unknown")+" />",l=" 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,l)}var d=ee.apply(this,arguments);if(null==d)return d;if(s)for(var f=2;f<arguments.length;f++)ze(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){Me(e),C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Me(null);break}}null!==e.ref&&(Me(e),C("Invalid attribute `ref` supplied to `React.Fragment`."),Me(null))}(d):Ve(d),d}var Fe=!1,Be=!1,We=null,He=0,$e=!1;function Ye(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,Xe(o))}}catch(c){throw qe(t),c}finally{b.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var i=n,a=!1,s={then:function(e,n){a=!0,i.then(function(r){qe(t),0===He?Ke(r,e,n):e(r)},function(e){qe(t),n(e)})}};return $e||"undefined"==typeof Promise||Promise.resolve().then(function(){}).then(function(){a||($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 () => ...);"))}),s}var l=n;if(qe(t),0===He){var u=b.current;return null!==u&&(Xe(u),b.current=null),{then:function(e,t){null===b.current?(b.current=[],Ke(l,e,t)):e(l)}}}return{then:function(e,t){e(l)}}}function qe(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 Ke(t,n,r){var o=b.current;if(null!==o)try{Xe(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)):Ke(t,n,r)})}catch(i){r(i)}else n(t)}var Ge=!1;function Xe(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 Qe=Ue,Je=function(e,t,n){for(var r=te.apply(this,arguments),o=2;o<arguments.length;o++)ze(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}};n.Children=et,n.Component=j,n.Fragment=o,n.Profiler=a,n.PureComponent=z,n.StrictMode=i,n.Suspense=c,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S,n.act=Ye,n.cloneElement=Je,n.createContext=function(e){var t={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:s,_context:t};var n=!1,r=!1,o=!1,i={$$typeof:l,_context:t};return Object.defineProperties(i,{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=i,t._currentRenderer=null,t._currentRenderer2=null,t},n.createElement=Qe,n.createFactory=Ze,n.createRef=function(){var e={current:null};return Object.seal(e),e},n.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},n.isValidElement=ne,n.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},n.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},n.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())}},n.unstable_act=Ye,n.useCallback=function(e,t){return fe().useCallback(e,t)},n.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)},n.useDebugValue=function(e,t){return fe().useDebugValue(e,t)},n.useDeferredValue=function(e){return fe().useDeferredValue(e)},n.useEffect=function(e,t){return fe().useEffect(e,t)},n.useId=function(){return fe().useId()},n.useImperativeHandle=function(e,t,n){return fe().useImperativeHandle(e,t,n)},n.useInsertionEffect=function(e,t){return fe().useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return fe().useLayoutEffect(e,t)},n.useMemo=function(e,t){return fe().useMemo(e,t)},n.useReducer=function(e,t,n){return fe().useReducer(e,t,n)},n.useRef=function(e){return fe().useRef(e)},n.useState=function(e){return fe().useState(e)},n.useSyncExternalStore=function(e,t,n){return fe().useSyncExternalStore(e,t,n)},n.useTransition=function(){return fe().useTransition()},n.version="18.3.1","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),o.exports;var e,n}function a(){return n||(n=1,r.exports=i()),r.exports}var s=a();const l=e(s);var u,c,d={exports:{}},f={};function p(){return u||(u=1,function(){var e=a(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.iterator;var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(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=g.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 b;function w(e){return e.displayName||"Context"}function x(e){if(null==e)return null;if("number"==typeof e.tag&&y("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 i:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return w(e)+".Consumer";case s:return w(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 p:var t=e.displayName||null;return null!==t?t:x(e.type)||"Memo";case h:var a=e,f=a._payload,m=a._init;try{return x(m(f))}catch(v){return null}}return null}b=Symbol.for("react.module.reference");var _,k,S,E,C,T,O,R=Object.assign,N=0;function P(){}P.__reactDisabledLog=!0;var A,j=g.ReactCurrentDispatcher;function M(e,t,n){if(void 0===A)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);A=r&&r[1]||""}return"\n"+A+e}var D,L=!1,I="function"==typeof WeakMap?WeakMap:Map;function z(e,t){if(!e||L)return"";var n,r=D.get(e);if(void 0!==r)return r;L=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=j.current,j.current=null,function(){if(0===N){_=console.log,k=console.info,S=console.warn,E=console.error,C=console.group,T=console.groupCollapsed,O=console.groupEnd;var e={configurable:!0,enumerable:!0,value:P,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}N++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(h){n=h}Reflect.construct(e,[],a)}else{try{a.call()}catch(h){n=h}e.call(a.prototype)}}else{try{throw Error()}catch(h){n=h}e()}}catch(m){if(m&&n&&"string"==typeof m.stack){for(var s=m.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&D.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{L=!1,j.current=o,function(){if(0===--N){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:_}),info:R({},e,{value:k}),warn:R({},e,{value:S}),error:R({},e,{value:E}),group:R({},e,{value:C}),groupCollapsed:R({},e,{value:T}),groupEnd:R({},e,{value:O})})}N<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var f=e?e.displayName||e.name:"",p=f?M(f):"";return"function"==typeof e&&D.set(e,p),p}function V(e,t,n){if(null==e)return"";if("function"==typeof e)return z(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return M(e);switch(e){case c:return M("Suspense");case d:return M("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return z(e.render,!1);case p:return V(e.type,t,n);case h:var o=e,i=o._payload,a=o._init;try{return V(a(i),t,n)}catch(s){}}return""}D=new I;var U=Object.prototype.hasOwnProperty,F={},B=g.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 Y(e){return""+e}function q(e){if(function(e){try{return Y(e),!1}catch(t){return!0}}(e))return y("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)),Y(e)}var K,G,X=g.ReactCurrentOwner,Q={key:!0,ref:!0,__self:!0,__source:!0};function J(e,n,r,o,i){var a,s={},l=null,u=null;for(a in void 0!==r&&(q(r),l=""+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)&&(q(n.key),l=""+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&&X.current}(n)),n)U.call(n,a)&&!Q.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){K||(K=!0,y("%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})}(s,d),u&&function(e,t){var n=function(){G||(G=!0,y("%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})}(s,d)}return function(e,n,r,o,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,o,X.current,s)}var Z,ee=g.ReactCurrentOwner,te=g.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=x(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Z=!1;var ie={};function ae(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(!ie[n]){ie[n]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+x(e._owner.type)+"."),ne(e),y('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 se(e,t){if("object"==typeof e)if($(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&ae(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=v&&e[v]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)re(i.value)&&ae(i.value,t)}}function le(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!==p)return;t=n.propTypes}if(t){var r=x(n);!function(e,t,n,r,o){var i=Function.call.bind(U);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(W(o),y("%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,a,typeof s),W(null)),s instanceof Error&&!(s.message in F)&&(F[s.message]=!0,W(o),y("Failed %s type: %s",n,s.message),W(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Z){Z=!0,y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",x(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ue={};function ce(e,n,a,f,v,g){var w=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===i||e===o||e===c||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===b||void 0!==e.getModuleId)}(e);if(!w){var _="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(_+=" 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 k;_+=oe(),null===e?k="null":$(e)?k="array":void 0!==e&&e.$$typeof===t?(k="<"+(x(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):k=typeof e,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k,_)}var S=J(e,n,a,v,g);if(null==S)return S;if(w){var E=n.children;if(void 0!==E)if(f)if($(E)){for(var C=0;C<E.length;C++)se(E[C],e);Object.freeze&&Object.freeze(E)}else y("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 se(E,e)}if(U.call(n,"key")){var T=x(e),O=Object.keys(n).filter(function(e){return"key"!==e}),R=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!ue[T+R])y('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} />',R,T,O.length>0?"{"+O.join(": ..., ")+": ...}":"{}",T),ue[T+R]=!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),y("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),y("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(S):le(S),S}var de=function(e,t,n){return ce(e,t,n,!1)},fe=function(e,t,n){return ce(e,t,n,!0)};f.Fragment=r,f.jsx=de,f.jsxs=fe}()),f}var h=(c||(c=1,d.exports=p()),d.exports),m={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 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];var o="string"==typeof e?e:m[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}var g={};function y(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:g}var b=Object.assign,w=Object.getOwnPropertyDescriptor,x=Object.defineProperty,_=Object.prototype,k=[];Object.freeze(k);var S={};Object.freeze(S);var E="undefined"!=typeof Proxy,C=Object.toString();function T(){E||v("`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`")}function O(e){Mt.verifyProxies&&v("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++Mt.mobxGuid}function N(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var P=function(){};function A(e){return"function"==typeof e}function j(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function M(e){return null!==e&&"object"==typeof e}function D(e){if(!M(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()===C}function L(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function I(e,t,n){x(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function z(e,t,n){x(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function V(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return M(e)&&!0===e[n]}}function U(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var B=void 0!==Object.getOwnPropertySymbols;var W="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:B?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function H(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function $(e){return null===e?null:"object"==typeof e?""+e:e}function Y(e,t){return _.hasOwnProperty.call(e,t)}var q=Object.getOwnPropertyDescriptors||function(e){var t={};return W(e).forEach(function(n){t[n]=w(e,n)}),t};function K(e,t){return!!(e&t)}function G(e,t,n){return n?e|=t:e&=~t,e}function X(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 Q(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,ne(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function J(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 X(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)?X(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 Z(){return Z=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},Z.apply(null,arguments)}function ee(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,te(e,t)}function te(e,t){return(te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ne(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 re=Symbol("mobx-stored-annotations");function oe(e){return Object.assign(function(t,n){if(ae(n))return e.decorate_20223_(t,n);ie(t,n,e)},e)}function ie(e,t,n){(Y(e,re)||I(e,re,Z({},e[re])),ve(n)&&!Y(e[re],t))&&v("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if(!ve(t)&&Y(e[re],n)){var r=e.constructor.name+".prototype."+n.toString(),o=e[re][n].annotationType_;v("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),ve(n)||(e[re][t]=n)}function ae(e){return"object"==typeof e&&"string"==typeof e.kind}function se(e,t){t.includes(e.kind)||v("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var le=Symbol("mobx administration"),ue=function(){function e(e){void 0===e&&(e="Atom@"+R()),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=ht.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 Ut(this)},t.reportChanged=function(){zt(),Ft(this),Vt()},t.toString=function(){return this.name_},Q(e,[{key:"isBeingObserved",get:function(){return K(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=G(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return K(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=G(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return K(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=G(this.flags_,e.diffValueMask_,1===t)}}])}();ue.isBeingObservedMask_=1,ue.isPendingUnobservationMask_=2,ue.diffValueMask_=4;var ce=V("Atom",ue);function de(e,t,n){void 0===t&&(t=P),void 0===n&&(n=P);var r,o=new ue(e);return t!==P&&xn(yn,o,t,r),n!==P&&wn(o,n),o}var fe={structural:function(e,t){return zr(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 pe(e,t,n){return jn(e)?e:Array.isArray(e)?Ze.array(e,{name:n}):D(e)?Ze.object(e,void 0,{name:n}):U(e)?Ze.map(e,{name:n}):F(e)?Ze.set(e,{name:n}):"function"!=typeof e||pn(e)||An(e)?e:L(e)?Nn(e):dn(n,e)}function he(e){return e}var me="override";function ve(e){return e.annotationType_===me}function ge(e,t){return{annotationType_:e,options_:t,make_:ye,extend_:be,decorate_20223_:we}}function ye(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(pn(n.value))return 1;var i=xe(e,this,t,n,!1);return x(r,t,i),2}function be(e,t,n,r){var o=xe(e,this,t,n);return e.defineProperty_(t,o,r)}function we(e,t){se(t,["method","field"]);var n,r=t.kind,o=t.name,i=t.addInitializer,a=this,s=function(e){var t,n,r,i;return lt(null!=(t=null==(n=a.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=a.options_)?void 0:i.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return pn(n)||(n=s(n)),null!=(t=a.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(pn(e)||(e=s(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 v("Cannot apply '"+a.annotationType_+"' to '"+String(o)+"' (kind: "+r+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}function xe(e,t,n,r,o){var i,a,s,l,u,c,d;void 0===o&&(o=Mt.safeDescriptors),function(e,t,n,r){var o=t.annotationType_;A(r.value)||v("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!=(i=t.options_)&&i.bound&&(p=p.bind(null!=(f=e.proxy_)?f:e.target_));return{value:lt(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),p,null!=(l=null==(u=t.options_)?void 0:u.autoAction)&&l,null!=(c=t.options_)&&c.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function _e(e,t){return{annotationType_:e,options_:t,make_:ke,extend_:Se,decorate_20223_:Ee}}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&&(!Y(e.target_,t)||!An(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(An(n.value))return 1;var i=Ce(e,this,t,n,!1,!1);return x(r,t,i),2}function Se(e,t,n,r){var o,i=Ce(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function Ee(e,t){var n;se(t,["method"]);var r=t.name,o=t.addInitializer;return An(e)||(e=Nn(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 Ce(e,t,n,r,o,i){void 0===i&&(i=Mt.safeDescriptors),function(e,t,n,r){var o=t.annotationType_;A(r.value)||v("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 a,s=r.value;(An(s)||(s=Nn(s)),o)&&((s=s.bind(null!=(a=e.proxy_)?a:e.target_)).isMobXFlow=!0);return{value:s,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function Te(e,t){return{annotationType_:e,options_:t,make_:Oe,extend_:Re,decorate_20223_:Ne}}function Oe(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_;r.get||v("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,Z({},this.options_,{get:n.get,set:n.set}),r)}function Ne(e,t){se(t,["getter"]);var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=mr(this)[le],o=Z({},n.options_,{get:e,context:this});o.name||(o.name=t.name_+"."+r.toString()),t.values_.set(r,new pt(o))}),function(){return this[le].getObservablePropValue_(r)}}function Pe(e,t){return{annotationType_:e,options_:t,make_:Ae,extend_:je,decorate_20223_:Me}}function Ae(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function je(e,t,n,r){var o,i;return function(e,t,n,r){var o=t.annotationType_;"value"in r||v("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:pe,r)}function Me(e,t){if("field"===t.kind)throw v("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");se(t,["accessor"]);var n=this,r=t.kind,o=t.name,i=new WeakSet;function a(e,t){var r,a,s=mr(e)[le],l=new ft(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:pe,s.name_+"."+o.toString(),!1);s.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||a(this,e.get.call(this)),this[le].getObservablePropValue_(o)},set:function(e){return i.has(this)||a(this,e),this[le].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||a(this,e),e}}}var De="true",Le=Ie();function Ie(e){return{annotationType_:De,options_:e,make_:ze,extend_:Ve,decorate_20223_:Ue}}function ze(e,t,n,r){var o,i,a,s;if(n.get)return rt.make_(e,t,n,r);if(n.set){var l=pn(n.set)?n.set:lt(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!Mt.safeDescriptors||e.isPlainObject_,set:l})?0:2:(x(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return L(n.value)?(null!=(s=this.options_)&&s.autoBind?Nn.bound:Nn).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?dn.bound:dn).make_(e,t,n,r);var u,c=!1===(null==(o=this.options_)?void 0:o.deep)?Ze.ref:Ze;"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return c.make_(e,t,n,r)}function Ve(e,t,n,r){var o,i,a;if(n.get)return rt.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!Mt.safeDescriptors||e.isPlainObject_,set:lt(t.toString(),n.set)},r);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_));return(!1===(null==(i=this.options_)?void 0:i.deep)?Ze.ref:Ze).extend_(e,t,n,r)}function Ue(e,t){v("'"+this.annotationType_+"' cannot be used as a decorator")}var Fe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Be(e){return e||Fe}Object.freeze(Fe);var We=Pe("observable"),He=Pe("observable.ref",{enhancer:he}),$e=Pe("observable.shallow",{enhancer:function(e,t,n){return null==e||yr(e)||tr(e)||ar(e)||cr(e)?e:Array.isArray(e)?Ze.array(e,{name:n,deep:!1}):D(e)?Ze.object(e,void 0,{name:n,deep:!1}):U(e)?Ze.map(e,{name:n,deep:!1}):F(e)?Ze.set(e,{name:n,deep:!1}):void v("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets")}}),Ye=Pe("observable.struct",{enhancer:function(e,t){return jn(e)&&v("observable.struct should not be used with observable values"),zr(e,t)?t:e}}),qe=oe(We);function Ke(e){return!0===e.deep?pe:!1===e.deep?he:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:pe;var t,n,r}function Ge(e,t,n){return ae(t)?We.decorate_20223_(e,t):j(t)?void ie(e,t,We):jn(e)?e:D(e)?Ze.object(e,t,n):Array.isArray(e)?Ze.array(e,t):U(e)?Ze.map(e,t):F(e)?Ze.set(e,t):"object"==typeof e&&null!==e?e:Ze.box(e,t)}b(Ge,qe);var Xe,Qe,Je={box:function(e,t){var n=Be(t);return new ft(e,Ke(n),n.name,!0,n.equals)},array:function(e,t){var n=Be(t);return(!1===Mt.useProxies||!1===n.proxy?Pr:Kn)(e,Ke(n),n.name)},map:function(e,t){var n=Be(t);return new ir(e,Ke(n),n.name)},set:function(e,t){var n=Be(t);return new ur(e,Ke(n),n.name)},object:function(e,t,n){return Dr(function(){return function(e,t,n,r){arguments.length>4&&v("'extendObservable' expected 2-4 arguments");"object"!=typeof e&&v("'extendObservable' expects an object as first argument");ar(e)&&v("'extendObservable' should not be used on maps, use map.merge instead");D(t)||v("'extendObservable' only accepts plain objects as second argument");(jn(t)||jn(n))&&v("Extending an object with another observable (object) is not supported");var o=q(t);return Dr(function(){var t=mr(e,r)[le];W(o).forEach(function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))})}),e}(!1===Mt.useProxies||!1===(null==n?void 0:n.proxy)?mr({},n):function(e,t){var n,r;return T(),e=mr(e,t),null!=(r=(n=e[le]).proxy_)?r:n.proxy_=new Proxy(e,Ln)}({},n),e,t)})},ref:oe(He),shallow:oe($e),deep:qe,struct:oe(Ye)},Ze=b(Ge,Je),et="computed",tt=Te(et),nt=Te("computed.struct",{equals:fe.structural}),rt=function(e,t){if(ae(t))return tt.decorate_20223_(e,t);if(j(t))return ie(e,t,tt);if(D(e))return oe(Te(et,e));A(e)||v("First argument to `computed` should be an expression."),A(t)&&v("A setter as second argument is no longer supported, use `{ set: fn }` option instead");var n=D(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new pt(n)};Object.assign(rt,tt),rt.struct=oe(nt);var ot=0,it=1,at=null!=(Xe=null==(Qe=w(function(){},"name"))?void 0:Qe.configurable)&&Xe,st={value:"action",configurable:!0,writable:!1,enumerable:!1};function lt(e,t,n,r){function o(){return ut(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),A(t)||v("`action` can only be invoked on functions"),"string"==typeof e&&e||v("actions should have valid names, got: '"+e+"'"),o.isMobxAction=!0,o.toString=function(){return t.toString()},at&&(st.value=e,x(o,"name",st)),o}function ut(e,t,n,r,o){var i=function(e,t,n,r){var o=Xt()&&!!e,i=0;if(o){i=Date.now();var a=r?Array.from(r):k;Jt({type:tn,name:e,object:n,arguments:a})}var s=Mt.trackingDerivation,l=!t||!s;zt();var u=Mt.allowStateChanges;l&&(Ct(),u=ct(!0));var c=Ot(!0),d={runAsAction_:l,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:c,notifySpy_:o,startTime_:i,actionId_:it++,parentActionId_:ot};return ot=d.actionId_,d}(e,t,r,o);try{return n.apply(r,o)}catch(a){throw i.error_=a,a}finally{!function(e){ot!==e.actionId_&&v(30);ot=e.parentActionId_,void 0!==e.error_&&(Mt.suppressReactionErrors=!0);dt(e.prevAllowStateChanges_),Rt(e.prevAllowStateReads_),Vt(),e.runAsAction_&&Tt(e.prevDerivation_);e.notifySpy_&&en({time:Date.now()-e.startTime_});Mt.suppressReactionErrors=!1}(i)}}function ct(e){var t=Mt.allowStateChanges;return Mt.allowStateChanges=e,t}function dt(e){Mt.allowStateChanges=e}var ft=function(e){function t(t,n,r,o,i){var a,s;(void 0===r&&(r="ObservableValue@"+R()),void 0===o&&(o=!0),void 0===i&&(i=fe.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=i,a.value_=n(t,void 0,r),o&&Xt())&&Qt({type:"create",object:a,observableKind:"value",debugObjectName:a.name_,newValue:""+(null==(s=a.value_)?void 0:s.toString())});return a}ee(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))!==Mt.UNCHANGED){var n=Xt();n&&Jt({type:$n,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),n&&en()}},n.prepareNewValue_=function(e){if(_t(this),In(this)){var t=Vn(this,{object:this,type:$n,newValue:e});if(!t)return Mt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Mt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Un(this)&&Bn(this,{type:$n,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return zn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:$n,newValue:this.value_,oldValue:void 0}),Fn(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 $(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(ue),pt=function(){function e(e){this.dependenciesState_=ht.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ht.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||v(31),this.derivation=e.get,this.name_=e.name||"ComputedValue@"+R(),e.set&&(this.setter_=lt(this.name_+"-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?fe.structural:fe.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_!==ht.UP_TO_DATE_)return;e.lowestObserverState_=ht.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===ht.UP_TO_DATE_&&(e.dependenciesState_=ht.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&&v(32,this.name_,this.derivation),0!==Mt.inBatch||0!==this.observers_.size||this.keepAlive_){if(Ut(this),xt(this)){var e=Mt.trackingContext;this.keepAlive_&&!e&&(Mt.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===ht.STALE_)return;e.lowestObserverState_=ht.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===ht.POSSIBLY_STALE_?(t.dependenciesState_=ht.STALE_,t.isTracing_!==vt.NONE&&Bt(t,e)):t.dependenciesState_===ht.UP_TO_DATE_&&(e.lowestObserverState_=ht.UP_TO_DATE_)})}(this),Mt.trackingContext=e}}else xt(this)&&(this.warnAboutUntrackedRead_(),zt(),this.value_=this.computeValue_(!1),Vt());var t=this.value_;if(wt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&v(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else v(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===ht.NOT_TRACKING_,n=this.computeValue_(!0),r=t||wt(e)||wt(n)||!this.equals_(e,n);return r&&(this.value_=n,Xt()&&Qt({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=ct(!1);if(e)t=kt(this,this.derivation,this.scope_);else if(!0===Mt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new bt(r)}return dt(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(St(this),this.value_=void 0,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 hn(function(){var i=n.get();if(!r||t){var a=Ct();e({observableKind:"computed",debugObjectName:n.name_,type:$n,object:n,newValue:i,oldValue:o}),Tt(a)}r=!1,o=i})},t.warnAboutUntrackedRead_=function(){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_:Mt.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 $(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},Q(e,[{key:"isComputing",get:function(){return K(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=G(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return K(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=G(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return K(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=G(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return K(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=G(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return K(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=G(this.flags_,e.diffValueMask_,1===t)}}])}();pt.isComputingMask_=1,pt.isRunningSetterMask_=2,pt.isBeingObservedMask_=4,pt.isPendingUnobservationMask_=8,pt.diffValueMask_=16;var ht,mt,vt,gt,yt=V("ComputedValue",pt);(mt=ht||(ht={}))[mt.NOT_TRACKING_=-1]="NOT_TRACKING_",mt[mt.UP_TO_DATE_=0]="UP_TO_DATE_",mt[mt.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",mt[mt.STALE_=2]="STALE_",(gt=vt||(vt={}))[gt.NONE=0]="NONE",gt[gt.LOG=1]="LOG",gt[gt.BREAK=2]="BREAK";var bt=function(e){this.cause=void 0,this.cause=e};function wt(e){return e instanceof bt}function xt(e){switch(e.dependenciesState_){case ht.UP_TO_DATE_:return!1;case ht.NOT_TRACKING_:case ht.STALE_:return!0;case ht.POSSIBLY_STALE_:for(var t=Ot(!0),n=Ct(),r=e.observing_,o=r.length,i=0;i<o;i++){var a=r[i];if(yt(a)){if(Mt.disableErrorBoundaries)a.get();else try{a.get()}catch(s){return Tt(n),Rt(t),!0}if(e.dependenciesState_===ht.STALE_)return Tt(n),Rt(t),!0}}return Nt(e),Tt(n),Rt(t),!1}}function _t(e){var t=e.observers_.size>0;Mt.allowStateChanges||!t&&"always"!==Mt.enforceActions||console.warn("[MobX] "+(Mt.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 kt(e,t,n){var r=Ot(!0);Nt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Mt.runId;var o,i=Mt.trackingDerivation;if(Mt.trackingDerivation=e,Mt.inBatch++,!0===Mt.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(a){o=new bt(a)}return Mt.inBatch--,Mt.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=ht.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,a=0;a<i;a++){var s=n[a];0===s.diffValue&&(s.diffValue=1,o!==a&&(n[o]=s),o++),s.dependenciesState_>r&&(r=s.dependenciesState_)}n.length=o,e.newObserving_=null,i=t.length;for(;i--;){var l=t[i];0===l.diffValue&&Lt(l,e),l.diffValue=0}for(;o--;){var u=n[o];1===u.diffValue&&(u.diffValue=0,Dt(u,e))}r!==ht.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),function(e){if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:Mt.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),Rt(r),o}function St(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Lt(t[n],e);e.dependenciesState_=ht.NOT_TRACKING_}function Et(e){var t=Ct();try{return e()}finally{Tt(t)}}function Ct(){var e=Mt.trackingDerivation;return Mt.trackingDerivation=null,e}function Tt(e){Mt.trackingDerivation=e}function Ot(e){var t=Mt.allowStateReads;return Mt.allowStateReads=e,t}function Rt(e){Mt.allowStateReads=e}function Nt(e){if(e.dependenciesState_!==ht.UP_TO_DATE_){e.dependenciesState_=ht.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=ht.UP_TO_DATE_}}var Pt=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},At=!0,jt=!1,Mt=function(){var e=y();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(At=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Pt).version&&(At=!1),At?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Pt):(setTimeout(function(){jt||v(35)},1),new Pt)}();function Dt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Lt(e,t){e.observers_.delete(t),0===e.observers_.size&&It(e)}function It(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Mt.pendingUnobservations.push(e))}function zt(){Mt.inBatch++}function Vt(){if(0===--Mt.inBatch){qt();for(var e=Mt.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 pt&&n.suspend_())}Mt.pendingUnobservations=[]}}function Ut(e){!function(e){!Mt.allowStateReads&&Mt.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=Mt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Mt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Mt.inBatch>0&&It(e),!1)}function Ft(e){e.lowestObserverState_!==ht.STALE_&&(e.lowestObserverState_=ht.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===ht.UP_TO_DATE_&&(t.isTracing_!==vt.NONE&&Bt(t,e),t.onBecomeStale_()),t.dependenciesState_=ht.STALE_}))}function Bt(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===vt.BREAK){var n=[];Wt(Sn(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 pt?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function Wt(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 Wt(e,t,n+1)}))}var Ht=function(){function e(e,t,n,r){void 0===e&&(e="Reaction@"+R()),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=ht.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,Mt.pendingReactions.push(this),qt())},t.runReaction_=function(){if(!this.isDisposed){zt(),this.isScheduled=!1;var e=Mt.trackingContext;if(Mt.trackingContext=this,xt(this)){this.isTrackPending=!0;try{this.onInvalidate_(),this.isTrackPending&&Xt()&&Qt({name:this.name_,type:"scheduled-reaction"})}catch(t){this.reportExceptionInDerivation_(t)}}Mt.trackingContext=e,Vt()}},t.track=function(e){if(!this.isDisposed){zt();var t,n=Xt();n&&(t=Date.now(),Jt({name:this.name_,type:"reaction"})),this.isRunning=!0;var r=Mt.trackingContext;Mt.trackingContext=this;var o=kt(this,e,void 0);Mt.trackingContext=r,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&St(this),wt(o)&&this.reportExceptionInDerivation_(o.cause),n&&en({time:Date.now()-t}),Vt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Mt.disableErrorBoundaries)throw e;var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Mt.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),Xt()&&Qt({type:"error",name:this.name_,message:n,error:""+e}),Mt.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(zt(),St(this),Vt()))},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[le]=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(){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 Mt.trackingDerivation;case 1:return Ar(e[0]);case 2:return Ar(e[0],e[1])}}(n);if(!o)return v("'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)},Q(e,[{key:"isDisposed",get:function(){return K(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=G(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return K(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=G(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return K(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=G(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return K(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=G(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return K(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=G(this.flags_,e.diffValueMask_,1===t)}}])}();Ht.isDisposedMask_=1,Ht.isScheduledMask_=2,Ht.isTrackPendingMask_=4,Ht.isRunningMask_=8,Ht.diffValueMask_=16;var $t=100,Yt=function(e){return e()};function qt(){Mt.inBatch>0||Mt.isRunningReactions||Yt(Kt)}function Kt(){Mt.isRunningReactions=!0;for(var e=Mt.pendingReactions,t=0;e.length>0;){++t===$t&&(console.error("Reaction doesn't converge to a stable state after "+$t+" iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}Mt.isRunningReactions=!1}var Gt=V("Reaction",Ht);function Xt(){return!!Mt.spyListeners.length}function Qt(e){if(Mt.spyListeners.length)for(var t=Mt.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function Jt(e){Qt(Z({},e,{spyReportStart:!0}))}var Zt={type:"report-end",spyReportEnd:!0};function en(e){Qt(e?Z({},e,{type:"report-end",spyReportEnd:!0}):Zt)}var tn="action",nn="autoAction",rn="<unnamed action>",on=ge(tn),an=ge("action.bound",{bound:!0}),sn=ge(nn,{autoAction:!0}),ln=ge("autoAction.bound",{autoAction:!0,bound:!0});function un(e){return function(t,n){return A(t)?lt(t.name||rn,t,e):A(n)?lt(t,n,e):ae(n)?(e?sn:on).decorate_20223_(t,n):j(n)?ie(t,n,e?sn:on):j(t)?oe(ge(e?nn:tn,{name:t,autoAction:e})):void v("Invalid arguments for `action`")}}var cn=un(!1);Object.assign(cn,on);var dn=un(!0);function fn(e){return ut(e.name||rn,!1,e,this,void 0)}function pn(e){return A(e)&&!0===e.isMobxAction}function hn(e,t){var n,r,o,i;void 0===t&&(t=S),A(e)||v("Autorun expects a function as first argument"),pn(e)&&v("Autorun does not accept actions since actions are untrackable");var a,s=null!=(n=null==(r=t)?void 0:r.name)?n:e.name||"Autorun@"+R();if(!t.scheduler&&!t.delay)a=new Ht(s,function(){this.track(c)},t.onError,t.requiresObservable);else{var l=vn(t),u=!1;a=new Ht(s,function(){u||(u=!0,l(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}function c(){e(a)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_(),a.getDisposer_(null==(i=t)?void 0:i.signal)}Object.assign(dn,sn),cn.bound=oe(an),dn.bound=oe(ln);var mn=function(e){return e()};function vn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:mn}function gn(e,t,n){var r,o,i;void 0===n&&(n=S),A(e)&&A(t)||v("First and second argument to reaction should be functions"),D(n)||v("Third argument of reactions should be an object");var a,s,l,u=null!=(r=n.name)?r:"Reaction@"+R(),c=cn(u,n.onError?(a=n.onError,s=t,function(){try{return s.apply(this,arguments)}catch(e){a.call(this,e)}}):t),d=!n.scheduler&&!n.delay,f=vn(n),p=!0,h=!1,m=n.compareStructural?fe.structural:n.equals||fe.default,g=new Ht(u,function(){p||d?y():h||(h=!0,f(y))},n.onError,n.requiresObservable);function y(){if(h=!1,!g.isDisposed){var t=!1,r=l;g.track(function(){var n=function(e,t){var n=ct(e);try{return t()}finally{dt(n)}}(!1,function(){return e(g)});t=p||!m(l,n),l=n}),(p&&n.fireImmediately||!p&&t)&&c(l,r,g),p=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||g.schedule_(),g.getDisposer_(null==(i=n)?void 0:i.signal)}var yn="onBO",bn="onBUO";function wn(e,t,n){return xn(bn,e,t,n)}function xn(e,t,n,r){var o=Ar(t),i=A(r)?r:n,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var _n="always";function kn(e){!0===e.isolateGlobalState&&function(){if((Mt.pendingReactions.length||Mt.inBatch||Mt.isRunningReactions)&&v(36),jt=!0,At){var e=y();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Mt=new Pt}}();var t,n,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(Mt.useProxies=r===_n||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(Mt.verifyProxies=!0),void 0!==o){var i=o===_n?_n:"observed"===o;Mt.enforceActions=i,Mt.allowStateChanges=!0!==i&&i!==_n}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(Mt[t]=!!e[t])}),Mt.allowStateReads=!Mt.observableRequiresReaction,!0===Mt.disableErrorBoundaries&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),e.reactionScheduler&&(t=e.reactionScheduler,n=Yt,Yt=function(e){return t(function(){return n(e)})})}function Sn(e,t){return En(Ar(e,t))}function En(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(En)),n}var Cn=0;function Tn(){this.message="FLOW_CANCELLED"}Tn.prototype=Object.create(Error.prototype);var On=_e("flow"),Rn=_e("flow.bound",{bound:!0}),Nn=Object.assign(function(e,t){if(ae(t))return On.decorate_20223_(e,t);if(j(t))return ie(e,t,On);1!==arguments.length&&v("Flow expects single argument with generator function");var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++Cn,i=cn(r+" - runid: "+o+" - init",n).apply(this,t),a=void 0,s=new Promise(function(t,n){var s=0;function l(e){var t;a=void 0;try{t=cn(r+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(l){return n(l)}c(t)}function u(e){var t;a=void 0;try{t=cn(r+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(l){return n(l)}c(t)}function c(e){if(!A(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(l,u);e.then(c,n)}e=n,l(void 0)});return s.cancel=cn(r+" - runid: "+o+" - cancel",function(){try{a&&Pn(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(P,P),Pn(n),e(new Tn)}catch(r){e(r)}}),s};return o.isMobXFlow=!0,o},On);function Pn(e){A(e.cancel)&&e.cancel()}function An(e){return!0===(null==e?void 0:e.isMobXFlow)}function jn(e){return 1!==arguments.length&&v("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e){return!!e&&(yr(e)||!!e[le]||ce(e)||Gt(e)||yt(e))}(e)}function Mn(e,t){void 0===t&&(t=void 0),zt();try{return e.apply(t)}finally{Vt()}}function Dn(e){return e[le]}Nn.bound=oe(Rn);var Ln={has:function(e,t){return Mt.trackingDerivation&&O("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),Dn(e).has_(t)},get:function(e,t){return Dn(e).get_(t)},set:function(e,t,n){var r;return!!j(t)&&(Dn(e).values_.has(t)||O("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(r=Dn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return O("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!j(t)&&(null==(n=Dn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return O("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(r=Dn(e).defineProperty_(t,n))||r},ownKeys:function(e){return Mt.trackingDerivation&&O("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),Dn(e).ownKeys_()},preventExtensions:function(e){v(13)}};function In(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function zn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),N(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Vn(e,t){var n=Ct();try{for(var r=[].concat(e.interceptors_||[]),o=0,i=r.length;o<i&&((t=r[o](t))&&!t.type&&v(14),t);o++);return t}finally{Tt(n)}}function Un(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Fn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),N(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function Bn(e,t){var n=Ct(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);Tt(n)}}function Wn(e,t,n){return Dr(function(){var r=mr(e,n)[le];t&&e[re]&&v("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),null!=t||(t=function(e){return Y(e,re)||I(e,re,Z({},e[re])),e[re]}(e)),W(t).forEach(function(e){return r.make_(e,t[e])})}),e}var Hn="splice",$n="update",Yn={get:function(e,t){var n=e[le];return t===le?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?Y(Gn,t)?Gn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[le];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){v(15)}},qn=function(){function e(e,t,n,r){void 0===e&&(e="ObservableArray@"+R()),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 ue(e),this.enhancer_=function(n,r){return t(n,r,e+"[..]")}}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 zn(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}),Fn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&v("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_&&v(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Nr(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),In(this)){var i=Vn(this,{object:this.proxy_,type:Hn,index:e,removedCount:t,added:n});if(!i)return k;t=i.removedCount,n=i.added}n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_;var a=n.length-t;this.updateArrayLength_(o,a);var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},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 a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var s=0;s<i.length;s++)this.values_[e+n.length+s]=i[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&Xt(),o=Un(this),i=o||r?{observableKind:"array",object:this.proxy_,type:$n,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;r&&Jt(i),this.atom_.reportChanged(),o&&Bn(this,i),r&&en()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&Xt(),o=Un(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Hn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&Jt(i),this.atom_.reportChanged(),o&&Bn(this,i),r&&en()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[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")},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&v(17,e,n.length),e<n.length){_t(this.atom_);var r=n[e];if(In(this)){var o=Vn(this,{type:$n,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),a=0;a<i.length-1;a++)i[a]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},e}();function Kn(e,t,n,r){return void 0===n&&(n="ObservableArray@"+R()),void 0===r&&(r=!1),T(),Dr(function(){var o=new qn(n,t,r,!1);z(o.values_,le,o);var i=new Proxy(o.values_,Yn);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i})}var Gn={clear:function(){return this.splice(0)},replace:function(e){var t=this[le];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[le];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[le].spliceWithArray_(e,t,n)},push:function(){for(var e=this[le],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[le].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[le],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 Mt.trackingDerivation&&v(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Mt.trackingDerivation&&v(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[le],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Xn(e,t){"function"==typeof Array.prototype[e]&&(Gn[e]=t(e))}function Qn(e){return function(){var t=this[le];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Jn(e){return function(t,n){var r=this,o=this[le];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e](function(e,o){return t.call(n,e,o,r)})}}function Zn(e){return function(){var t=this,n=this[le];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)}}Xn("at",Qn),Xn("concat",Qn),Xn("flat",Qn),Xn("includes",Qn),Xn("indexOf",Qn),Xn("join",Qn),Xn("lastIndexOf",Qn),Xn("slice",Qn),Xn("toString",Qn),Xn("toLocaleString",Qn),Xn("toSorted",Qn),Xn("toSpliced",Qn),Xn("with",Qn),Xn("every",Jn),Xn("filter",Jn),Xn("find",Jn),Xn("findIndex",Jn),Xn("findLast",Jn),Xn("findLastIndex",Jn),Xn("flatMap",Jn),Xn("forEach",Jn),Xn("map",Jn),Xn("some",Jn),Xn("toReversed",Jn),Xn("reduce",Zn),Xn("reduceRight",Zn);var er=V("ObservableArrayAdministration",qn);function tr(e){return M(e)&&er(e[le])}var nr={},rr="add",or="delete",ir=function(){function e(e,t,n){var r=this;void 0===t&&(t=pe),void 0===n&&(n="ObservableMap@"+R()),this.enhancer_=void 0,this.name_=void 0,this[le]=nr,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,A(Map)||v(18),Dr(function(){r.keysAtom_=de(r.name_+".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(!Mt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new ft(this.has_(e),he,this.name_+"."+H(e)+"?",!1);this.hasMap_.set(e,r),wn(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(In(this)){var r=Vn(this,{type:n?$n:rr,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_),In(this))&&!Vn(this,{type:or,object:this,name:e}))return!1;if(this.has_(e)){var n=Xt(),r=Un(this),o=r||n?{observableKind:"map",debugObjectName:this.name_,type:or,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return n&&Jt(o),Mn(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&&Bn(this,o),n&&en(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Mt.UNCHANGED){var r=Xt(),o=Un(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:$n,object:this,oldValue:n.value_,name:e,newValue:t}:null;r&&Jt(i),n.setNewValue_(t),o&&Bn(this,i),r&&en()}},t.addValue_=function(e,t){var n=this;_t(this.keysAtom_),Mn(function(){var r,o=new ft(t,n.enhancer_,n.name_+"."+H(e),!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=Xt(),o=Un(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:rr,object:this,name:e,newValue:t}:null;r&&Jt(i),o&&Bn(this,i),r&&en()},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 sr({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 sr({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=J(this);!(n=r()).done;){var o=n.value,i=o[0],a=o[1];e.call(t,a,i,this)}},t.merge=function(e){var t=this;return ar(e)&&(e=new Map(e)),Mn(function(){var n,r,o;D(e)?function(e){var t=Object.keys(e);if(!B)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return _.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)}):U(e)?(n=e,r=Object.getPrototypeOf(n),o=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(o)&&v(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&v(20,e)}),this},t.clear=function(){var e=this;Mn(function(){Et(function(){for(var t,n=J(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return Mn(function(){for(var n,r=function(e){if(U(e)||ar(e))return e;if(Array.isArray(e))return new Map(e);if(D(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return v(21,e)}(e),o=new Map,i=!1,a=J(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))i=!0;else{var l=t.data_.get(s);o.set(s,l)}}for(var u,c=J(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||(i=!0)}}if(!i)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),y=o.keys(),b=g.next(),w=y.next();!b.done;){if(b.value!==w.value){t.keysAtom_.reportChanged();break}b=g.next(),w=y.next()}t.data_=o}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return!0===t&&v("`observe` doesn't support fireImmediately=true in combination with maps."),Fn(this,e)},t.intercept_=function(e){return zn(this,e)},Q(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),ar=V("ObservableMap",ir);function sr(e){return e[Symbol.toStringTag]="MapIterator",Br(e)}var lr={},ur=function(){function e(e,t,n){var r=this;void 0===t&&(t=pe),void 0===n&&(n="ObservableSet@"+R()),this.name_=void 0,this[le]=lr,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,A(Set)||v(22),this.enhancer_=function(e,r){return t(e,r,n)},Dr(function(){r.atom_=de(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;Mn(function(){Et(function(){for(var t,n=J(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=J(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_),In(this)){var n=Vn(this,{type:rr,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){Mn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=Xt(),o=Un(this),i=o||r?{observableKind:"set",debugObjectName:this.name_,type:rr,object:this,newValue:e}:null;r&&Jt(i),o&&Bn(this,i),r&&en()}return this},t.delete=function(e){var t=this;if(In(this)&&!Vn(this,{type:or,object:this,oldValue:e}))return!1;if(this.has(e)){var n=Xt(),r=Un(this),o=r||n?{observableKind:"set",debugObjectName:this.name_,type:or,object:this,oldValue:e}:null;return n&&Jt(o),Mn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&Bn(this,o),n&&en(),!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 dr({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 dr({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 F(e)&&!cr(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return F(e)&&!cr(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return F(e)&&!cr(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 F(e)&&!cr(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return cr(e)&&(e=new Set(e)),Mn(function(){Array.isArray(e)||F(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&v("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return!0===t&&v("`observe` doesn't support fireImmediately=true in combination with sets."),Fn(this,e)},t.intercept_=function(e){return zn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},Q(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),cr=V("ObservableSet",ur);function dr(e){return e[Symbol.toStringTag]="SetIterator",Br(e)}var fr=Object.create(null),pr="remove",hr=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=Le),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 ue(this.name_+".keys"),this.isPlainObject_=D(this.target_),Hr(this.defaultAnnotation_)||v("defaultAnnotation must be valid annotation"),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 pt)return n.set(t),!0;if(In(this)){var r=Vn(this,{type:$n,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==Mt.UNCHANGED){var o=Un(this),i=Xt(),a=o||i?{type:$n,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;i&&Jt(a),n.setNewValue_(t),o&&Bn(this,a),i&&en()}return!0},t.get_=function(e){return Mt.trackingDerivation&&!Y(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),Y(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(!Mt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new ft(e in this.target_,he,this.name_+"."+H(e)+"?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(wr(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[re])&&n[e])return;v(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==_;){var o=w(r,e);if(o){var i=t.make_(this,e,o,r);if(0===i)return;if(1===i)break}r=Object.getPrototypeOf(r)}br(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);wr(this,n,e);var o=n.extend_(this,e,t,r);return o&&br(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),_t(this.keysAtom_);try{zt();var r=this.delete_(e);if(!r)return r;if(In(this)){var o=Vn(this,{object:this.proxy_||this.target_,name:e,type:rr,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=Z({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else x(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Vt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),_t(this.keysAtom_);try{zt();var o=this.delete_(e);if(!o)return o;if(In(this)){var i=Vn(this,{object:this.proxy_||this.target_,name:e,type:rr,newValue:t});if(!i)return null;t=i.newValue}var a=gr(e),s={configurable:!Mt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else x(this.target_,e,s);var l=new ft(t,n,this.name_+"."+e.toString(),!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{Vt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),_t(this.keysAtom_);try{zt();var r=this.delete_(e);if(!r)return r;if(In(this))if(!Vn(this,{object:this.proxy_||this.target_,name:e,type:rr,newValue:void 0}))return null;t.name||(t.name=this.name_+"."+e.toString()),t.context=this.proxy_||this.target_;var o=gr(e),i={configurable:!Mt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else x(this.target_,e,i);this.values_.set(e,new pt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Vt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),_t(this.keysAtom_),!Y(this.target_,e))return!0;if(In(this)&&!Vn(this,{object:this.proxy_||this.target_,name:e,type:pr}))return null;try{var n;zt();var r,o=Un(this),i=Xt(),a=this.values_.get(e),s=void 0;if(!a&&(o||i))s=null==(r=w(this.target_,e))?void 0:r.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(delete this.appliedAnnotations_[e],a&&(this.values_.delete(e),a instanceof ft&&(s=a.value_),Ft(a)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||i){var l={type:pr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&Jt(l),o&&Bn(this,l),i&&en()}}finally{Vt()}return!0},t.observe_=function(e,t){return!0===t&&v("`observe` doesn't support the fire immediately property for observable objects."),Fn(this,e)},t.intercept_=function(e){return zn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=Un(this),o=Xt();if(r||o){var i=r||o?{type:rr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&Jt(i),r&&Bn(this,i),o&&en()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),W(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function mr(e,t){var n;if(t&&yr(e)&&v("Options can't be provided for already observable objects."),Y(e,le))return jr(e)instanceof hr||v("Cannot convert '"+Mr(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;Object.isExtensible(e)||v("Cannot make the designated object observable; it is not extensible");var r=null!=(n=null==t?void 0:t.name)?n:(D(e)?"ObservableObject":e.constructor.name)+"@"+R(),o=new hr(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Ie(e):void 0}(t));return I(e,le,o),e}var vr=V("ObservableObjectAdministration",hr);function gr(e){return fr[e]||(fr[e]={get:function(){return this[le].getObservablePropValue_(e)},set:function(t){return this[le].setObservablePropValue_(e,t)}})}function yr(e){return!!M(e)&&vr(e[le])}function br(e,t,n){var r;e.appliedAnnotations_[n]=t,null==(r=e.target_[re])||delete r[n]}function wr(e,t,n){if(Hr(t)||v("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),!ve(t)&&Y(e.appliedAnnotations_,n)){var r=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;v("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 xr,_r,kr=Or(0),Sr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Er=0,Cr=function(){};xr=Cr,_r=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(xr.prototype,_r):void 0!==xr.prototype.__proto__?xr.prototype.__proto__=_r:xr.prototype=_r;var Tr=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="ObservableArray@"+R()),void 0===o&&(o=!1),i=e.call(this)||this,Dr(function(){var e=new qn(r,n,o,!0);e.proxy_=i,z(i,le,e),t&&t.length&&i.spliceWithArray(0,0,t),Sr&&Object.defineProperty(i,"0",kr)}),i}ee(t,e);var n=t.prototype;return n.concat=function(){this[le].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 tr(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return Br({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},Q(t,[{key:"length",get:function(){return this[le].getArrayLength_()},set:function(e){this[le].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(Cr);function Or(e){return{enumerable:!1,configurable:!0,get:function(){return this[le].get_(e)},set:function(t){this[le].set_(e,t)}}}function Rr(e){x(Tr.prototype,""+e,Or(e))}function Nr(e){if(e>Er){for(var t=Er;t<e+100;t++)Rr(t);Er=e}}function Pr(e,t,n){return new Tr(e,t,n)}function Ar(e,t){if("object"==typeof e&&null!==e){if(tr(e))return void 0!==t&&v(23),e[le].atom_;if(cr(e))return e.atom_;if(ar(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||v(25,t,Mr(e)),n}if(yr(e)){if(!t)return v(26);var r=e[le].values_.get(t);return r||v(27,t,Mr(e)),r}if(ce(e)||yt(e)||Gt(e))return e}else if(A(e)&&Gt(e[le]))return e[le];v(28)}function jr(e,t){return e||v(29),ce(e)||yt(e)||Gt(e)||ar(e)||cr(e)?e:e[le]?e[le]:void v(24,e)}function Mr(e,t){var n;if(void 0!==t)n=Ar(e,t);else{if(pn(e))return e.name;n=yr(e)||ar(e)||cr(e)?jr(e):Ar(e)}return n.name_}function Dr(e){var t=Ct(),n=ct(!0);zt();try{return e()}finally{Vt(),dt(n),Tt(t)}}Object.entries(Gn).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&I(Tr.prototype,t,n)}),Nr(1e3);var Lr,Ir=_.toString;function zr(e,t,n){return void 0===n&&(n=-1),Vr(e,t,n)}function Vr(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 a=Ir.call(e);if(a!==Ir.call(t))return!1;switch(a){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=Ur(e),t=Ur(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,u=t.constructor;if(l!==u&&!(A(l)&&l instanceof l&&A(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),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!Vr(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(!Y(t,h)||!Vr(e[h],t[h],n-1,r,o))return!1}}return r.pop(),o.pop(),!0}function Ur(e){return tr(e)?e.slice():U(e)||ar(e)||F(e)||cr(e)?Array.from(e.entries()):e}var Fr=(null==(Lr=y().Iterator)?void 0:Lr.prototype)||{};function Br(e){return e[Symbol.iterator]=Wr,Object.assign(Object.create(Fr),e)}function Wr(){return this}function Hr(e){return e instanceof Object&&"string"==typeof e.annotationType_&&A(e.make_)&&A(e.extend_)}if(["Symbol","Map","Set"].forEach(function(e){void 0===y()[e]&&v("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return Mt.spyListeners.push(e),N(function(){Mt.spyListeners=Mt.spyListeners.filter(function(t){return t!==e})})},extras:{getDebugName:Mr},$mobx:le}),!s.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!Wn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var $r,Yr,qr,Kr,Gr={exports:{}},Xr={},Qr={exports:{}},Jr={};function Zr(){return $r||($r=1,e=Jr,function(){function t(e,t){var n=e.length;e.push(t),function(e,t,n){for(var r=n;r>0;){var i=r-1>>>1,a=e[i];if(!(o(a,t)>0))return;e[i]=t,e[r]=a,r=i}}(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,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(o(l,t)<0)u<i&&o(c,l)<0?(e[r]=c,e[u]=t,r=u):(e[r]=l,e[s]=t,r=s);else{if(!(u<i&&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 i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],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(l,o)}o=n(u)}}function w(e){if(m=!1,b(e),!h)if(null!==n(l))h=!0,A(x);else{var t=n(u);null!==t&&j(w,t.startTime-e)}}function x(t,o){h=!1,m&&(m=!1,M()),p=!0;var i=f;try{return function(t,o){var i=o;for(b(i),d=n(l);null!==d&&(!(d.expirationTime>i)||t&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=i);i=e.unstable_now(),"function"==typeof s?d.callback=s:d===n(l)&&r(l),b(i)}else r(l);d=n(l)}if(null!==d)return!0;var c=n(u);return null!==c&&j(w,c.startTime-i),!1}(t,o)}finally{d=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var _=!1,k=null,S=-1,E=5,C=-1;function T(){return!(e.unstable_now()-C<E)}var O,R=function(){if(null!==k){var t=e.unstable_now();C=t;var n=!0;try{n=k(!0,t)}finally{n?O():(_=!1,k=null)}}else _=!1};if("function"==typeof y)O=function(){y(R)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=R,O=function(){P.postMessage(null)}}else O=function(){v(R,0)};function A(e){k=e,_||(_=!0,O())}function j(t,n){S=v(function(){t(e.unstable_now())},n)}function M(){g(S),S=-1}var D=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,A(x))},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(l)},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=D,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,i){var a,s,d=e.unstable_now();if("object"==typeof i&&null!==i){var f=i.delay;a="number"==typeof f&&f>0?d+f:d}else a=d;switch(r){case 1:s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}var v=a+s,g={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:v,sortIndex:-1};return a>d?(g.sortIndex=a,t(u,g),null===n(l)&&g===n(u)&&(m?M():m=!0,j(w,a-d))):(g.sortIndex=v,t(l,g),h||p||(h=!0,A(x))),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)}()),Jr;var e}function eo(){return qr||(qr=1,function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=a(),t=(Yr||(Yr=1,Qr.exports=Zr()),Qr.exports),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];s("warn",e,n)}}function i(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];s("error",e,n)}}function s(e,t,r){var o=n.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var i=r.map(function(e){return String(e)});i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}var l=10,u=11,c=12,d=13,f=14,p=15,h=17,m=18,v=19,g=21,y=22,b=23,w=!1,x=!1,_=new Set,k={},S={};function E(e,t){C(e,t),C(e+"Capture",t)}function C(e,t){k[e]&&i("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 T=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),O=Object.prototype.hasOwnProperty;function R(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function N(e){try{return P(e),!1}catch(t){return!0}}function P(e){return""+e}function A(e,t){if(N(e))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,R(e)),P(e)}function j(e){if(N(e))return i("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.",R(e)),P(e)}var M=":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",D=M+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",L=new RegExp("^["+M+"]["+D+"]*$"),I={},z={};function V(e){return!!O.call(z,e)||!O.call(I,e)&&(L.test(e)?(z[e]=!0,!0):(I[e]=!0,i("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,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var $={};["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 Y=/[\-\:]([a-z])/g,q=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(Y,q);$[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(Y,q);$[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(Y,q);$[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 K=/^[\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 X(e){!G&&K.test(e)&&(G=!0,i("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 Q(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];A(n,t),r.sanitizeURL&&X(""+n);var o=r.attributeName,i=null;if(4===r.type){if(e.hasAttribute(o)){var a=e.getAttribute(o);return""===a||(B(t,n,r,!1)?a:a===""+n?n:a)}}else if(e.hasAttribute(o)){if(B(t,n,r,!1))return e.getAttribute(o);if(3===r.type)return n;i=e.getAttribute(o)}return B(t,n,r,!1)?null===i?n:i:i===""+n?n:i}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 A(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 i=t;null===n?e.removeAttribute(i):(A(n,t),e.setAttribute(i,""+n))}}else if(o.mustUseProperty){var a=o.propertyName;if(null===n){var s=o.type;e[a]=3!==s&&""}else e[a]=n}else{var l=o.attributeName,u=o.attributeNamespace;if(null===n)e.removeAttribute(l);else{var c,d=o.type;3===d||4===d&&!0===n?c="":(A(n,l),c=""+n,o.sanitizeURL&&X(c.toString())),u?e.setAttributeNS(u,l,c):e.setAttribute(l,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"),ie=Symbol.for("react.provider"),ae=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),le=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,xe,_e=Object.assign,ke=0;function Se(){}Se.__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,Re=!1,Ne="function"==typeof WeakMap?WeakMap:Map;function Pe(e,t){if(!e||Re)return"";var n,r=Oe.get(e);if(void 0!==r)return r;Re=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Ce.current,Ce.current=null,function(){if(0===ke){me=console.log,ve=console.info,ge=console.warn,ye=console.error,be=console.group,we=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ke++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(m){n=m}Reflect.construct(e,[],s)}else{try{s.call()}catch(m){n=m}e.call(s.prototype)}}else{try{throw Error()}catch(m){n=m}e()}}catch(v){if(v&&n&&"string"==typeof v.stack){for(var l=v.stack.split("\n"),u=n.stack.split("\n"),c=l.length-1,d=u.length-1;c>=1&&d>=0&&l[c]!==u[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==u[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==u[d]){var f="\n"+l[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{Re=!1,Ce.current=o,function(){if(0===--ke){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:_e({},e,{value:me}),info:_e({},e,{value:ve}),warn:_e({},e,{value:ge}),error:_e({},e,{value:ye}),group:_e({},e,{value:be}),groupCollapsed:_e({},e,{value:we}),groupEnd:_e({},e,{value:xe})})}ke<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",h=p?Te(p):"";return"function"==typeof e&&Oe.set(e,h),h}function Ae(e,t,n){return Pe(e,!1)}function je(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 le:return Te("Suspense");case ue:return Te("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case se:return Ae(e.render);case ce:return je(e.type,t,n);case de:var o=e,i=o._payload,a=o._init;try{return je(a(i),t,n)}catch(s){}}return""}function Me(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return Te(e.type);case 16:return Te("Lazy");case d:return Te("Suspense");case v:return Te("SuspenseList");case 0:case 2:case p:return Ae(e.type);case u:return Ae(e.type.render);case 1:return function(e){return Pe(e,!0)}(e.type);default:return""}}function De(e){try{var t="",n=e;do{t+=Me(n),n=n.return}while(n);return t}catch(r){return"\nError generating stack: "+r.message+"\n"+r.stack}}function Le(e){return e.displayName||"Context"}function Ie(e){if(null==e)return null;if("number"==typeof e.tag&&i("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 le:return"Suspense";case ue:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return Le(e)+".Consumer";case ie:return Le(e._context)+".Provider";case se: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:Ie(e.type)||"Memo";case de:var n=e,r=n._payload,o=n._init;try{return Ie(o(r))}catch(a){return null}}return null}function ze(e){return e.displayName||"Context"}function Ve(e){var t,n,r,o,i=e.tag,a=e.type;switch(i){case 24:return"Cache";case 9:return ze(a)+".Consumer";case l:return ze(a._context)+".Provider";case 18:return"DehydratedFragment";case u:return t=a,n=a.render,r="ForwardRef",o=n.displayName||n.name||"",t.displayName||(""!==o?r+"("+o+")":r);case 7:return"Fragment";case 5:return a;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ie(a);case 8:return a===re?"StrictMode":"Mode";case y:return"Offscreen";case c:return"Profiler";case g:return"Scope";case d:return"Suspense";case v:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case h:case 2:case f:case p:if("function"==typeof a)return a.displayName||a.name||null;if("string"==typeof a)return a}return null}Oe=new Ne;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?"":De(Fe)}function $e(){Ue.getCurrentStack=null,Fe=null,Be=!1}function Ye(e){Ue.getCurrentStack=null===e?null:He,Fe=e,Be=!1}function qe(e){Be=e}function Ke(e){return""+e}function Ge(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return j(e),e;default:return""}}var Xe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Qe(e,t){Xe[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||i("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||i("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);j(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,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){j(e),r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var a={getValue:function(){return r},setValue:function(e){j(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return a}}(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,it=!1,at=!1;function st(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function lt(e,t){var n=e,r=t.checked;return _e({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function ut(e,t){Qe(0,t),void 0===t.checked||void 0===t.defaultChecked||ot||(i("%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||(i("%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:st(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=st(t);n._wrapperState.controlled||!r||at||(i("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"),at=!0),!n._wrapperState.controlled||r||it||(i("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"),it=!0),ct(e,t);var o=Ge(t.value),a=t.type;if(null!=o)"number"===a?(0===o&&""===n.value||n.value!=o)&&(n.value=Ke(o)):n.value!==Ke(o)&&(n.value=Ke(o));else if("submit"===a||"reset"===a)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 i=Ke(r._wrapperState.initialValue);n||i!==r.value&&(r.value=i),r.defaultValue=i}var a=r.name;""!==a&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==a&&(r.name=a)}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;A(n,"name");for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i<o.length;i++){var a=o[i];if(a!==e&&a.form===e.form){var s=nc(a);if(!s)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");tt(a),dt(a,s)}}}}(n,t)}function ht(e,t,n){"number"===t&&nt(e.ownerDocument)===e||(null==n?e.defaultValue=Ke(e._wrapperState.initialValue):e.defaultValue!==Ke(n)&&(e.defaultValue=Ke(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,i("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,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||mt||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),mt=!0)}var bt,wt=Array.isArray;function xt(e){return wt(e)}function _t(){var e=We();return e?"\n\nCheck the render method of `"+e+"`.":""}bt=!1;var kt=["value","defaultValue"];function St(e,t,n,r){var o=e.options;if(t){for(var i=n,a={},s=0;s<i.length;s++)a["$"+i[s]]=!0;for(var l=0;l<o.length;l++){var u=a.hasOwnProperty("$"+o[l].value);o[l].selected!==u&&(o[l].selected=u),u&&r&&(o[l].defaultSelected=!0)}}else{for(var c=Ke(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 _e({},t,{value:void 0})}function Ct(e,t){var n=e;!function(e){Qe(0,e);for(var t=0;t<kt.length;t++){var n=kt[t];if(null!=e[n]){var r=xt(e[n]);e.multiple&&!r?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,_t()):!e.multiple&&r&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,_t())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||bt||(i("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 _e({},t,{value:void 0,defaultValue:void 0,children:Ke(n._wrapperState.initialValue)})}function Rt(e,t){var n=e;Qe(0,t),void 0===t.value||void 0===t.defaultValue||Tt||(i("%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,a=t.defaultValue;if(null!=o){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=a)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(xt(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}a=o}null==a&&(a=""),r=a}n._wrapperState={initialValue:Ge(r)}}function Nt(e,t){var n=e,r=Ge(t.value),o=Ge(t.defaultValue);if(null!=r){var i=Ke(r);i!==n.value&&(n.value=i),null==t.defaultValue&&n.defaultValue!==i&&(n.defaultValue=i)}null!=o&&(n.defaultValue=Ke(o))}function Pt(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var At="http://www.w3.org/1999/xhtml",jt="http://www.w3.org/2000/svg";function Mt(e){switch(e){case"svg":return jt;case"math":return"http://www.w3.org/1998/Math/MathML";default:return At}}function Dt(e,t){return null==e||e===At?Mt(t):e===jt&&"foreignObject"===t?At:e}var Lt,It,zt=(It=function(e,t){if(e.namespaceURI!==jt||"innerHTML"in e)e.innerHTML=t;else{(Lt=Lt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=Lt.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 It(e,t,n,r)})}:It),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(N(e))i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,R(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 Yt(e){return e.replace(Ht,"-$1").toLowerCase().replace($t,"-ms-")}var qt=/^(?:webkit|moz|o)[A-Z]/,Kt=/^-ms-/,Gt=/-(.)/g,Xt=/;\s*$/,Qt={},Jt={},Zt=!1,en=!1,tn=function(e){Qt.hasOwnProperty(e)&&Qt[e]||(Qt[e]=!0,i("Unsupported style property %s. Did you mean %s?",e,e.replace(Kt,"ms-").replace(Gt,function(e,t){return t.toUpperCase()})))},nn=function(e,t){e.indexOf("-")>-1?tn(e):qt.test(e)?function(e){Qt.hasOwnProperty(e)&&Qt[e]||(Qt[e]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Xt.test(t)&&function(e,t){Jt.hasOwnProperty(t)&&Jt[t]||(Jt[t]=!0,i('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Xt,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e){Zt||(Zt=!0,i("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e){en||(en=!0,i("`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 i=0===r.indexOf("--");t+=n+(i?r:Yt(r))+":",t+=Wt(r,o,i),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 i=Wt(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,i):n[r]=i}}function an(e){return null==e||"boolean"==typeof e||""===e}function sn(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 ln=_e({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(ln[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&&i("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)-["+D+"]*$"),mn=new RegExp("^(aria)[A-Z]["+D+"]*$");function vn(e,t){if(O.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 i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),pn[t]=!0,!0;if(t!==r)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),pn[t]=!0,!0}if(hn.test(t)){var o=t.toLowerCase(),a=fn.hasOwnProperty(o)?o:null;if(null==a)return pn[t]=!0,!1;if(t!==a)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,a),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?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e):n.length>1&&i("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={},xn=/^on./,_n=/^on[^A-Z]/,kn=new RegExp("^(aria)-["+D+"]*$"),Sn=new RegExp("^(aria)[A-Z]["+D+"]*$");bn=function(e,t,n,r){if(O.call(wn,t)&&wn[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return i("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 a=r.registrationNameDependencies,s=r.possibleRegistrationNames;if(a.hasOwnProperty(t))return!0;var l=s.hasOwnProperty(o)?s[o]:null;if(null!=l)return i("Invalid event handler property `%s`. Did you mean `%s`?",t,l),wn[t]=!0,!0;if(xn.test(t))return i("Unknown event handler property `%s`. It will be ignored.",t),wn[t]=!0,!0}else if(xn.test(t))return _n.test(t)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),wn[t]=!0,!0;if(kn.test(t)||Sn.test(t))return!0;if("innerhtml"===o)return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),wn[t]=!0,!0;if("aria"===o)return i("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 i("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 i("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 i("Invalid DOM property `%s`. Did you mean `%s`?",t,d),wn[t]=!0,!0}else if(!c&&t!==o)return i("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?i('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):i('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||(i("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 a=r.map(function(e){return"`"+e+"`"}).join(", ");1===r.length?i("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 ",a,e):r.length>1&&i("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 ",a,e)}(e,t,n)}var Cn=null;function Tn(e){null!==Cn&&i("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&&i("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 Rn(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Nn=null,Pn=null,An=null;function jn(e){var t=ec(e);if(t){if("function"!=typeof Nn)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=nc(n);Nn(t.stateNode,t.type,r)}}}function Mn(e){Pn?An?An.push(e):An=[e]:Pn=e}function Dn(){if(Pn){var e=Pn,t=An;if(Pn=null,An=null,jn(e),t)for(var n=0;n<t.length;n++)jn(t[n])}}var Ln=function(e,t){return e(t)},In=function(){},zn=!1;function Vn(){(null!==Pn||null!==An)&&(In(),Dn())}function Un(e,t,n){if(zn)return e(t,n);zn=!0;try{return Ln(e,t,n)}finally{zn=!1,Vn()}}function Fn(e,t){var n=e.stateNode;if(null===n)return null;var r=nc(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(T)try{var Wn={};Object.defineProperty(Wn,"passive",{get:function(){Bn=!0}}),window.addEventListener("test",Wn,Wn),window.removeEventListener("test",Wn,Wn)}catch(lx){Bn=!1}function Hn(e,t,n,r,o,i,a,s,l){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 Yn=document.createElement("react");$n=function(e,t,n,r,o,i,a,s,l){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(){Yn.removeEventListener(x,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 x="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",w),Yn.addEventListener(x,g,!1),u.initEvent(x,!1,!1),Yn.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 qn=$n,Kn=!1,Gn=null,Xn=!1,Qn=null,Jn={onError:function(e){Kn=!0,Gn=e}};function Zn(e,t,n,r,o,i,a,s,l){Kn=!1,Gn=null,qn.apply(Jn,arguments)}function er(){if(Kn){var e=Gn;return Kn=!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,ir=512,ar=1024,sr=2048,lr=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,xr=8772,_r=2064,kr=14680064,Sr=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===d){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 Rr(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 i=r.return;if(null===i)break;var a=i.alternate;if(null===a){var s=i.return;if(null!==s){r=o=s;continue}break}if(i.child===a.child){for(var l=i.child;l;){if(l===r)return Or(i),e;if(l===o)return Or(i),t;l=l.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=i,o=a;else{for(var u=!1,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){for(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)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 Nr(e){var t=Rr(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 Ar(e){var t=Rr(e);return null!==t?jr(t):null}function jr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){if(4!==t.tag){var n=jr(t);if(null!==n)return n}t=t.sibling}return null}var Mr=t.unstable_scheduleCallback,Dr=t.unstable_cancelCallback,Lr=t.unstable_shouldYield,Ir=t.unstable_requestPaint,zr=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,Gr=null,Jr=null,eo=!1,to="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function no(e){if("function"==typeof $r&&(qr(e),r=e),Gr&&"function"==typeof Gr.setStrictMode)try{Gr.setStrictMode(Kr,e)}catch(t){eo||(eo=!0,i("React instrumentation encountered an error: %s",t))}}function ro(e){Jr=e}function oo(){for(var e=new Map,t=1,n=0;n<Co;n++){var r=oi(t);e.set(t,r),t*=2}return e}function io(){null!==Jr&&"function"==typeof Jr.markCommitStopped&&Jr.markCommitStopped()}function ao(e){null!==Jr&&"function"==typeof Jr.markComponentRenderStarted&&Jr.markComponentRenderStarted(e)}function so(){null!==Jr&&"function"==typeof Jr.markComponentRenderStopped&&Jr.markComponentRenderStopped()}function lo(e){null!==Jr&&"function"==typeof Jr.markComponentPassiveEffectMountStarted&&Jr.markComponentPassiveEffectMountStarted(e)}function uo(){null!==Jr&&"function"==typeof Jr.markComponentPassiveEffectMountStopped&&Jr.markComponentPassiveEffectMountStopped()}function co(e){null!==Jr&&"function"==typeof Jr.markComponentPassiveEffectUnmountStarted&&Jr.markComponentPassiveEffectUnmountStarted(e)}function fo(){null!==Jr&&"function"==typeof Jr.markComponentPassiveEffectUnmountStopped&&Jr.markComponentPassiveEffectUnmountStopped()}function po(e){null!==Jr&&"function"==typeof Jr.markComponentLayoutEffectMountStarted&&Jr.markComponentLayoutEffectMountStarted(e)}function ho(){null!==Jr&&"function"==typeof Jr.markComponentLayoutEffectMountStopped&&Jr.markComponentLayoutEffectMountStopped()}function mo(e){null!==Jr&&"function"==typeof Jr.markComponentLayoutEffectUnmountStarted&&Jr.markComponentLayoutEffectUnmountStarted(e)}function vo(){null!==Jr&&"function"==typeof Jr.markComponentLayoutEffectUnmountStopped&&Jr.markComponentLayoutEffectUnmountStopped()}function go(e,t,n){null!==Jr&&"function"==typeof Jr.markComponentErrored&&Jr.markComponentErrored(e,t,n)}function yo(e,t,n){null!==Jr&&"function"==typeof Jr.markComponentSuspended&&Jr.markComponentSuspended(e,t,n)}function bo(e){null!==Jr&&"function"==typeof Jr.markRenderStarted&&Jr.markRenderStarted(e)}function wo(){null!==Jr&&"function"==typeof Jr.markRenderStopped&&Jr.markRenderStopped()}function xo(e,t){null!==Jr&&"function"==typeof Jr.markStateUpdateScheduled&&Jr.markStateUpdateScheduled(e,t)}var _o=16,ko=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(So(t)/Eo|0)|0},So=Math.log,Eo=Math.LN2;var Co=31,To=1,Oo=2,Ro=4,No=8,Po=16,Ao=32,jo=4194240,Mo=1024,Do=2048,Lo=4096,Io=8192,zo=16384,Vo=32768,Uo=65536,Fo=131072,Bo=262144,Wo=524288,Ho=1048576,$o=2097152,Yo=130023424,qo=4194304,Ko=8388608,Go=16777216,Xo=33554432,Qo=67108864,Jo=qo,Zo=134217728,ei=268435455,ti=268435456,ni=536870912,ri=1073741824;function oi(e){return e&To?"Sync":e&Oo?"InputContinuousHydration":e&Ro?"InputContinuous":e&No?"DefaultHydration":e&Po?"Default":e&Ao?"TransitionHydration":e&jo?"Transition":e&Yo?"Retry":e&Zo?"SelectiveHydration":e&ti?"IdleHydration":e&ni?"Idle":e&ri?"Offscreen":void 0}var ii=-1,ai=64,si=qo;function li(e){switch(gi(e)){case To:return To;case Oo:return Oo;case Ro:return Ro;case No:return No;case Po:return Po;case Ao:return Ao;case 64:case 128:case 256:case 512:case Mo:case Do:case Lo:case Io:case zo:case Vo:case Uo:case Fo:case Bo:case Wo:case Ho:case $o:return e&jo;case qo:case Ko:case Go:case Xo:case Qo:return e&Yo;case Zo:return Zo;case ti:return ti;case ni:return ni;case ri:return ri;default:return i("Should have found matching lanes. This is a bug in React."),e}}function ui(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&ei;if(0!==a){var s=a&~o;if(0!==s)r=li(s);else{var l=a&i;0!==l&&(r=li(l))}}else{var u=n&~o;0!==u?r=li(u):0!==i&&(r=li(i))}if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)){var c=gi(r),d=gi(t);if(c>=d||c===Po&&0!==(d&jo))return t}0!==(r&Ro)&&(r|=n&Po);var f=e.entangledLanes;if(0!==f)for(var p=e.entanglements,h=r&f;h>0;){var m=bi(h),v=1<<m;r|=p[m],h&=~v}return r}function ci(e,t){switch(e){case To:case Oo:case Ro:return t+250;case No:case Po:case Ao:case 64:case 128:case 256:case 512:case Mo:case Do:case Lo:case Io:case zo:case Vo:case Uo:case Fo:case Bo:case Wo:case Ho:case $o:return t+5e3;case qo:case Ko:case Go:case Xo:case Qo:case Zo:case ti:case ni:case ri:return ii;default:return i("Should have found matching lanes. This is a bug in React."),ii}}function di(e){var t=e.pendingLanes&~ri;return 0!==t?t:t&ri?ri:0}function fi(e){return 0!==(e&ei)}function pi(e){return(e&Yo)===e}function hi(e,t){return 0!==(t&(Oo|Ro|No|Po))}function mi(e){return 0!==(e&jo)}function vi(){var e=ai;return 0===((ai<<=1)&jo)&&(ai=64),e}function gi(e){return e&-e}function yi(e){return gi(e)}function bi(e){return 31-ko(e)}function wi(e){return bi(e)}function xi(e,t){return 0!==(e&t)}function _i(e,t){return(e&t)===t}function ki(e,t){return e|t}function Si(e,t){return e&~t}function Ei(e,t){return e&t}function Ci(e){for(var t=[],n=0;n<Co;n++)t.push(e);return t}function Ti(e,t,n){e.pendingLanes|=t,t!==ni&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[wi(t)]=n}function Oi(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function Ri(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,o=n;o;){var i=bi(o),a=1<<i;a&t|r[i]&t&&(r[i]|=t),o&=~a}}function Ni(e,t,n){if(to)for(var r=e.pendingUpdatersLaneMap;n>0;){var o=wi(n),i=1<<o;r[o].add(t),n&=~i}}function Pi(e,t){if(to)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var o=wi(t),i=1<<o,a=n[o];a.size>0&&(a.forEach(function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)}),a.clear()),t&=~i}}var Ai,ji,Mi,Di,Li,Ii=To,zi=Ro,Vi=Po,Ui=ni,Fi=0;function Bi(){return Fi}function Wi(e){Fi=e}function Hi(e,t){return 0!==e&&e<t}function $i(e){var t=gi(e);return Hi(Ii,t)?Hi(zi,t)?fi(t)?Vi:Ui:zi:Ii}function Yi(e){return e.current.memoizedState.isDehydrated}function qi(e){Ai(e)}var Ki=!1,Gi=[],Xi=null,Qi=null,Ji=null,Zi=new Map,ea=new Map,ta=[],na=["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 ra(e,t){switch(e){case"focusin":case"focusout":Xi=null;break;case"dragenter":case"dragleave":Qi=null;break;case"mouseover":case"mouseout":Ji=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Zi.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;ea.delete(r)}}function oa(e,t,n,r,o,i){if(null===e||e.nativeEvent!==i){var a=function(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]}}(t,n,r,o,i);if(null!==t){var s=ec(t);null!==s&&ji(s)}return a}e.eventSystemFlags|=r;var l=e.targetContainers;return null!==o&&-1===l.indexOf(o)&&l.push(o),e}function ia(e){var t=Zu(e.target);if(null!==t){var n=Er(t);if(null!==n){var r=n.tag;if(r===d){var o=Cr(n);if(null!==o)return e.blockedOn=o,void Li(e.priority,function(){Mi(n)})}else if(3===r){if(Yi(n.stateNode))return void(e.blockedOn=Tr(n))}}}e.blockedOn=null}function aa(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;t.length>0;){var n=t[0],r=ya(e.domEventName,e.eventSystemFlags,n,e.nativeEvent);if(null!==r){var o=ec(r);return null!==o&&ji(o),e.blockedOn=r,!1}var i=e.nativeEvent,a=new i.constructor(i.type,i);Tn(a),i.target.dispatchEvent(a),On(),t.shift()}return!0}function sa(e,t,n){aa(e)&&n.delete(t)}function la(){Ki=!1,null!==Xi&&aa(Xi)&&(Xi=null),null!==Qi&&aa(Qi)&&(Qi=null),null!==Ji&&aa(Ji)&&(Ji=null),Zi.forEach(sa),ea.forEach(sa)}function ua(e,n){e.blockedOn===n&&(e.blockedOn=null,Ki||(Ki=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,la)))}function ca(e){if(Gi.length>0){ua(Gi[0],e);for(var t=1;t<Gi.length;t++){var n=Gi[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Xi&&ua(Xi,e),null!==Qi&&ua(Qi,e),null!==Ji&&ua(Ji,e);var r=function(t){return ua(t,e)};Zi.forEach(r),ea.forEach(r);for(var o=0;o<ta.length;o++){var i=ta[o];i.blockedOn===e&&(i.blockedOn=null)}for(;ta.length>0;){var a=ta[0];if(null!==a.blockedOn)break;ia(a),null===a.blockedOn&&ta.shift()}}var da=n.ReactCurrentBatchConfig,fa=!0;function pa(e){fa=!!e}function ha(e,t,n,r){var o=Bi(),i=da.transition;da.transition=null;try{Wi(Ii),va(e,t,n,r)}finally{Wi(o),da.transition=i}}function ma(e,t,n,r){var o=Bi(),i=da.transition;da.transition=null;try{Wi(zi),va(e,t,n,r)}finally{Wi(o),da.transition=i}}function va(e,t,n,r){fa&&function(e,t,n,r){var o=ya(e,t,n,r);if(null===o)return Sl(e,t,r,ga,n),void ra(e,r);if(function(e,t,n,r,o){switch(t){case"focusin":return Xi=oa(Xi,e,t,n,r,o),!0;case"dragenter":return Qi=oa(Qi,e,t,n,r,o),!0;case"mouseover":return Ji=oa(Ji,e,t,n,r,o),!0;case"pointerover":var i=o,a=i.pointerId;return Zi.set(a,oa(Zi.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":var s=o,l=s.pointerId;return ea.set(l,oa(ea.get(l)||null,e,t,n,r,s)),!0}return!1}(o,e,t,n,r))return void r.stopPropagation();if(ra(e,r),4&t&&function(e){return na.indexOf(e)>-1}(e)){for(;null!==o;){var i=ec(o);null!==i&&qi(i);var a=ya(e,t,n,r);if(null===a&&Sl(e,t,r,ga,n),a===o)break;o=a}return void(null!==o&&r.stopPropagation())}Sl(e,t,r,null,n)}(e,t,n,r)}var ga=null;function ya(e,t,n,r){ga=null;var o=Zu(Rn(r));if(null!==o){var i=Er(o);if(null===i)o=null;else{var a=i.tag;if(a===d){var s=Cr(i);if(null!==s)return s;o=null}else if(3===a){if(Yi(i.stateNode))return Tr(i);o=null}else i!==o&&(o=null)}}return ga=o,null}function ba(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 Ii;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 zi;case"message":switch(Vr()){case Ur:return Ii;case Fr:return zi;case Br:case Wr:return Vi;case Hr:return Ui;default:return Vi}default:return Vi}}var wa=null,xa=null,_a=null;function ka(){if(_a)return _a;var e,t,n=xa,r=n.length,o=Sa(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);var s=t>1?1-t:void 0;return _a=o.slice(e,s)}function Sa(){return"value"in wa?wa.value:wa.textContent}function Ea(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 Ca(){return!0}function Ta(){return!1}function Oa(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)if(e.hasOwnProperty(a)){var s=e[a];this[a]=s?s(o):o[a]}var l=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=l?Ca:Ta,this.isPropagationStopped=Ta,this}return _e(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=Ca)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Ca)},persist:function(){},isPersistent:Ca}),t}var Ra,Na,Pa,Aa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ja=Oa(Aa),Ma=_e({},Aa,{view:0,detail:0}),Da=Oa(Ma);var La=_e({},Ma,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ka,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!==Pa&&(Pa&&"mousemove"===e.type?(Ra=e.screenX-Pa.screenX,Na=e.screenY-Pa.screenY):(Ra=0,Na=0),Pa=e)}(e),Ra)},movementY:function(e){return"movementY"in e?e.movementY:Na}}),Ia=Oa(La),za=Oa(_e({},La,{dataTransfer:0})),Va=Oa(_e({},Ma,{relatedTarget:0})),Ua=Oa(_e({},Aa,{animationName:0,elapsedTime:0,pseudoElement:0})),Fa=Oa(_e({},Aa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ba=Oa(_e({},Aa,{data:0})),Wa=Ba,Ha={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$a={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 Ya={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qa(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Ya[e];return!!n&&!!t[n]}function Ka(e){return qa}var Ga=Oa(_e({},Ma,{key:function(e){if(e.key){var t=Ha[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=Ea(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?$a[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ka,charCode:function(e){return"keypress"===e.type?Ea(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ea(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Xa=Oa(_e({},La,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Qa=Oa(_e({},Ma,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ka})),Ja=Oa(_e({},Aa,{propertyName:0,elapsedTime:0,pseudoElement:0})),Za=Oa(_e({},La,{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})),es=[9,13,27,32],ts=229,ns=T&&"CompositionEvent"in window,rs=null;T&&"documentMode"in document&&(rs=document.documentMode);var os=T&&"TextEvent"in window&&!rs,is=T&&(!ns||rs&&rs>8&&rs<=11),as=32,ss=String.fromCharCode(as);var ls=!1;function us(e,t){switch(e){case"keyup":return-1!==es.indexOf(t.keyCode);case"keydown":return t.keyCode!==ts;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cs(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function ds(e){return"ko"===e.locale}var fs=!1;function ps(e,t,n,r,o){var i,a;if(ns?i=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):fs?us(t,r)&&(i="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===ts}(t,r)&&(i="onCompositionStart"),!i)return null;is&&!ds(r)&&(fs||"onCompositionStart"!==i?"onCompositionEnd"===i&&fs&&(a=ka()):fs=function(e){return wa=e,xa=Sa(),!0}(o));var s=Cl(n,i);if(s.length>0){var l=new Ba(i,t,null,r,o);if(e.push({event:l,listeners:s}),a)l.data=a;else{var u=cs(r);null!==u&&(l.data=u)}}}function hs(e,t){if(fs){if("compositionend"===e||!ns&&us(e,t)){var n=ka();return wa=null,xa=null,_a=null,fs=!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 is&&!ds(t)?null:t.data}}function ms(e,t,n,r,o){var i;if(!(i=os?function(e,t){switch(e){case"compositionend":return cs(t);case"keypress":return t.which!==as?null:(ls=!0,ss);case"textInput":var n=t.data;return n===ss&&ls?null:n;default:return null}}(t,r):hs(t,r)))return null;var a=Cl(n,"onBeforeInput");if(a.length>0){var s=new Wa("onBeforeInput","beforeinput",null,r,o);e.push({event:s,listeners:a}),s.data=i}}var vs={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 gs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!vs[e.type]:"textarea"===t}function ys(e,t,n,r){Mn(r);var o=Cl(t,"onChange");if(o.length>0){var i=new ja("onChange","change",null,n,r);e.push({event:i,listeners:o})}}var bs=null,ws=null;function xs(e){gl(e,0)}function _s(e){if(tt(tc(e)))return e}function ks(e,t){if("change"===e)return t}var Ss=!1;function Es(){bs&&(bs.detachEvent("onpropertychange",Cs),bs=null,ws=null)}function Cs(e){"value"===e.propertyName&&_s(ws)&&function(e){var t=[];ys(t,ws,e,Rn(e)),Un(xs,t)}(e)}function Ts(e,t,n){"focusin"===e?(Es(),function(e,t){ws=t,(bs=e).attachEvent("onpropertychange",Cs)}(t,n)):"focusout"===e&&Es()}function Os(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return _s(ws)}function Rs(e,t){if("click"===e)return _s(t)}function Ns(e,t){if("input"===e||"change"===e)return _s(t)}function Ps(e,t,n,r,o,i,a){var s,l,u,c,d,f,p=n?tc(n):window;if("select"===(c=(u=p).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?s=ks:gs(p)?Ss?s=Ns:(s=Os,l=Ts):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(s=Rs),s){var h=s(t,n);if(h)return void ys(e,h,r,o)}l&&l(t,p,n),"focusout"===t&&(f=(d=p)._wrapperState)&&f.controlled&&"number"===d.type&&ht(d,"number",d.value)}function As(e,t,n,r,o,i,a){var s="mouseover"===t||"pointerover"===t,l="mouseout"===t||"pointerout"===t;if(s&&r!==Cn){var u=r.relatedTarget||r.fromElement;if(u&&(Zu(u)||Ju(u)))return}if(l||s){var c,d,f;if(o.window===o)c=o;else{var p=o.ownerDocument;c=p?p.defaultView||p.parentWindow:window}if(l){var h=r.relatedTarget||r.toElement;if(d=n,null!==(f=h?Zu(h):null))(f!==Er(f)||5!==f.tag&&6!==f.tag)&&(f=null)}else d=null,f=n;if(d!==f){var m=Ia,v="onMouseLeave",g="onMouseEnter",y="mouse";"pointerout"!==t&&"pointerover"!==t||(m=Xa,v="onPointerLeave",g="onPointerEnter",y="pointer");var b=null==d?c:tc(d),w=null==f?c:tc(f),x=new m(v,y+"leave",d,r,o);x.target=b,x.relatedTarget=w;var _=null;if(Zu(o)===n){var k=new m(g,y+"enter",f,r,o);k.target=w,k.relatedTarget=b,_=k}!function(e,t,n,r,o){var i=r&&o?function(e,t){for(var n=e,r=t,o=0,i=n;i;i=Tl(i))o++;for(var a=0,s=r;s;s=Tl(s))a++;for(;o-a>0;)n=Tl(n),o--;for(;a-o>0;)r=Tl(r),a--;var l=o;for(;l--;){if(n===r||null!==r&&n===r.alternate)return n;n=Tl(n),r=Tl(r)}return null}(r,o):null;null!==r&&Ol(e,t,r,i,!1);null!==o&&null!==n&&Ol(e,n,o,i,!0)}(e,x,_,d,f)}}}T&&(Ss=function(e){if(!T)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 js="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ms(e,t){if(js(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 i=n[o];if(!O.call(t,i)||!js(e[i],t[i]))return!1}return!0}function Ds(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ls(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Is(e,t){for(var n=Ds(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=Ds(Ls(n))}}function zs(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,i=r.anchorOffset,a=r.focusNode,s=r.focusOffset;try{o.nodeType,a.nodeType}catch(lx){return null}return function(e,t,n,r,o){var i=0,a=-1,s=-1,l=0,u=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&3!==c.nodeType||(a=i+n),c!==r||0!==o&&3!==c.nodeType||(s=i+o),3===c.nodeType&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++l===n&&(a=i),d===r&&++u===o&&(s=i),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}if(-1===a||-1===s)return null;return{start:a,end:s}}(e,o,i,a,s)}function Vs(e){return e&&3===e.nodeType}function Us(e,t){return!(!e||!t)&&(e===t||!Vs(e)&&(Vs(t)?Us(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Fs(e){return e&&e.ownerDocument&&Us(e.ownerDocument.documentElement,e)}function Bs(e){try{return"string"==typeof e.contentWindow.location.href}catch(t){return!1}}function Ws(){for(var e=window,t=nt();t instanceof e.HTMLIFrameElement;){if(!Bs(t))return t;t=nt((e=t.contentWindow).document)}return t}function Hs(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 $s(e){var t=Ws(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&Fs(n)){null!==r&&Hs(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(),i=e.textContent.length,a=Math.min(t.start,i),s=void 0===t.end?a:Math.min(t.end,i);if(!o.extend&&a>s){var l=s;s=a,a=l}var u=Is(e,a),c=Is(e,s);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(),a>s?(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=[],i=n;i=i.parentNode;)1===i.nodeType&&o.push({element:i,left:i.scrollLeft,top:i.scrollTop});"function"==typeof n.focus&&n.focus();for(var a=0;a<o.length;a++){var s=o[a];s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}}function Ys(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:zs(e))||{start:0,end:0}}var qs=T&&"documentMode"in document&&document.documentMode<=11;var Ks=null,Gs=null,Xs=null,Qs=!1;function Js(e,t,n){var r,o=(r=n).window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!Qs&&null!=Ks&&Ks===nt(o)){var i=function(e){if("selectionStart"in e&&Hs(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}}(Ks);if(!Xs||!Ms(Xs,i)){Xs=i;var a=Cl(Gs,"onSelect");if(a.length>0){var s=new ja("onSelect","select",null,t,n);e.push({event:s,listeners:a}),s.target=Ks}}}}function Zs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var el={animationend:Zs("Animation","AnimationEnd"),animationiteration:Zs("Animation","AnimationIteration"),animationstart:Zs("Animation","AnimationStart"),transitionend:Zs("Transition","TransitionEnd")},tl={},nl={};function rl(e){if(tl[e])return tl[e];if(!el[e])return e;var t=el[e];for(var n in t)if(t.hasOwnProperty(n)&&n in nl)return tl[e]=t[n];return e}T&&(nl=document.createElement("div").style,"AnimationEvent"in window||(delete el.animationend.animation,delete el.animationiteration.animation,delete el.animationstart.animation),"TransitionEvent"in window||delete el.transitionend.transition);var ol=rl("animationend"),il=rl("animationiteration"),al=rl("animationstart"),sl=rl("transitionend"),ll=new Map,ul=["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 cl(e,t){ll.set(e,t),E(t,[e])}function dl(e,t,n,r,o,i,a){var s=ll.get(t);if(void 0!==s){var l=ja,u=t;switch(t){case"keypress":if(0===Ea(r))return;case"keydown":case"keyup":l=Ga;break;case"focusin":u="focus",l=Va;break;case"focusout":u="blur",l=Va;break;case"beforeblur":case"afterblur":l=Va;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=Ia;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=za;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Qa;break;case ol:case il:case al:l=Ua;break;case sl:l=Ja;break;case"scroll":l=Da;break;case"wheel":l=Za;break;case"copy":case"cut":case"paste":l=Fa;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Xa}var c=!!(4&i),d=!c&&"scroll"===t,f=function(e,t,n,r,o){var i=null!==t?t+"Capture":null,a=r?i:t,s=[],l=e,u=null;for(;null!==l;){var c=l,d=c.stateNode;if(5===c.tag&&null!==d&&(u=d,null!==a)){var f=Fn(l,a);null!=f&&s.push(El(l,f,u))}if(o)break;l=l.return}return s}(n,s,r.type,c,d);if(f.length>0){var p=new l(s,u,null,r,o);e.push({event:p,listeners:f})}}}function fl(e,t,n,r,o,i,a){dl(e,t,n,r,o,i),!(7&i)&&(As(e,t,n,r,o),Ps(e,t,n,r,o),function(e,t,n,r,o){var i=n?tc(n):window;switch(t){case"focusin":(gs(i)||"true"===i.contentEditable)&&(Ks=i,Gs=n,Xs=null);break;case"focusout":Ks=null,Gs=null,Xs=null;break;case"mousedown":Qs=!0;break;case"contextmenu":case"mouseup":case"dragend":Qs=!1,Js(e,r,o);break;case"selectionchange":if(qs)break;case"keydown":case"keyup":Js(e,r,o)}}(e,t,n,r,o),function(e,t,n,r,o){ps(e,t,n,r,o),ms(e,t,n,r,o)}(e,t,n,r,o))}!function(){for(var e=0;e<ul.length;e++){var t=ul[e];cl(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}cl(ol,"onAnimationEnd"),cl(il,"onAnimationIteration"),cl(al,"onAnimationStart"),cl("dblclick","onDoubleClick"),cl("focusin","onFocus"),cl("focusout","onBlur"),cl(sl,"onTransitionEnd")}(),C("onMouseEnter",["mouseout","mouseover"]),C("onMouseLeave",["mouseout","mouseover"]),C("onPointerEnter",["pointerout","pointerover"]),C("onPointerLeave",["pointerout","pointerover"]),E("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),E("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),E("onBeforeInput",["compositionend","keypress","textInput","paste"]),E("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),E("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),E("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var pl=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],hl=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(pl));function ml(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,s,l){if(Zn.apply(this,arguments),Kn){var u=er();Xn||(Xn=!0,Qn=u)}}(r,t,void 0,e),e.currentTarget=null}function vl(e,t,n){var r;if(n)for(var o=t.length-1;o>=0;o--){var i=t[o],a=i.instance,s=i.currentTarget,l=i.listener;if(a!==r&&e.isPropagationStopped())return;ml(e,l,s),r=a}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;ml(e,p,f),r=d}}function gl(e,t){for(var n=!!(4&t),r=0;r<e.length;r++){var o=e[r];vl(o.event,o.listeners,n)}!function(){if(Xn){var e=Qn;throw Xn=!1,Qn=null,e}}()}function yl(e,t){hl.has(e)||i('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[Yu];void 0===t&&(t=e[Yu]=new Set);return t}(t),r=function(e){return e+"__bubble"}(e);n.has(r)||(_l(t,e,2,!1),n.add(r))}function bl(e,t,n){hl.has(e)&&!t&&i('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),_l(n,e,r,t)}var wl="_reactListening"+Math.random().toString(36).slice(2);function xl(e){if(!e[wl]){e[wl]=!0,_.forEach(function(t){"selectionchange"!==t&&(hl.has(t)||bl(t,!1,e),bl(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null!==t&&(t[wl]||(t[wl]=!0,bl("selectionchange",!1,t)))}}function _l(e,t,n,r,o){var i=function(e,t,n){var r;switch(ba(t)){case Ii:r=ha;break;case zi:r=ma;break;default:r=va}return r.bind(null,t,n,e)}(e,t,n),a=void 0;Bn&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0)),r?void 0!==a?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,i,a):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,i):void 0!==a?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,i,a):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,i)}function kl(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function Sl(e,t,n,r,o){var i=r;if(!(1&t||2&t)){var a=o;if(null!==r){var s=r;e:for(;;){if(null===s)return;var l=s.tag;if(3===l||4===l){var u=s.stateNode.containerInfo;if(kl(u,a))break;if(4===l)for(var c=s.return;null!==c;){var d=c.tag;if(3===d||4===d)if(kl(c.stateNode.containerInfo,a))return;c=c.return}for(;null!==u;){var f=Zu(u);if(null===f)return;var p=f.tag;if(5===p||6===p){s=i=f;continue e}u=u.parentNode}}s=s.return}}}Un(function(){return function(e,t,n,r){var o=[];fl(o,e,r,n,Rn(n),t),gl(o,t)}(e,t,n,i)})}function El(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cl(e,t){for(var n=t+"Capture",r=[],o=e;null!==o;){var i=o,a=i.stateNode;if(5===i.tag&&null!==a){var s=a,l=Fn(o,n);null!=l&&r.unshift(El(o,l,s));var u=Fn(o,t);null!=u&&r.push(El(o,u,s))}o=o.return}return r}function Tl(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ol(e,t,n,r,o){for(var i=t._reactName,a=[],s=n;null!==s&&s!==r;){var l=s,u=l.alternate,c=l.stateNode,d=l.tag;if(null!==u&&u===r)break;if(5===d&&null!==c){var f=c;if(o){var p=Fn(s,i);null!=p&&a.unshift(El(s,p,f))}else if(!o){var h=Fn(s,i);null!=h&&a.push(El(s,h,f))}}s=s.return}0!==a.length&&e.push({event:t,listeners:a})}var Rl,Nl,Pl,Al,jl,Ml,Dl,Ll=!1,Il="dangerouslySetInnerHTML",zl="suppressContentEditableWarning",Vl="suppressHydrationWarning",Ul="autoFocus",Fl="children",Bl="style",Wl="__html";Rl={dialog:!0,webview:!0},Nl=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?i("`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):i("`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})},Ml=T&&!document.documentMode,Pl=function(e,t,n){if(!Ll){var r=Yl(n),o=Yl(t);o!==r&&(Ll=!0,i("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},Al=function(e){if(!Ll){Ll=!0;var t=[];e.forEach(function(e){t.push(e)}),i("Extra attributes from the server: %s",t)}},jl=function(e,t){!1===t?i("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):i("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Dl=function(e,t){var n=e.namespaceURI===At?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Hl=/\r\n?/g,$l=/\u0000|\uFFFD/g;function Yl(e){return function(e){if(N(e))i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",R(e)),P(e)}(e),("string"==typeof e?e:""+e).replace(Hl,"\n").replace($l,"")}function ql(e,t,n,r){var o=Yl(t),a=Yl(e);if(a!==o&&(r&&(Ll||(Ll=!0,i('Text content did not match. Server: "%s" Client: "%s"',a,o))),n))throw new Error("Text content does not match server-rendered HTML.")}function Kl(e){return 9===e.nodeType?e:e.ownerDocument}function Gl(){}function Xl(e){e.onclick=Gl}function Ql(e,t,n,r){var o,i=cn(t,n);switch(Nl(t,n),t){case"dialog":yl("cancel",e),yl("close",e),o=n;break;case"iframe":case"object":case"embed":yl("load",e),o=n;break;case"video":case"audio":for(var a=0;a<pl.length;a++)yl(pl[a],e);o=n;break;case"source":yl("error",e),o=n;break;case"img":case"image":case"link":yl("error",e),yl("load",e),o=n;break;case"details":yl("toggle",e),o=n;break;case"input":ut(e,n),o=lt(e,n),yl("invalid",e);break;case"option":yt(0,n),o=n;break;case"select":Ct(e,n),o=Et(0,n),yl("invalid",e);break;case"textarea":Rt(e,n),o=Ot(e,n),yl("invalid",e);break;default:o=n}switch(un(t,o),function(e,t,n,r,o){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];if(i===Bl)a&&Object.freeze(a),on(t,a);else if(i===Il){var s=a?a[Wl]:void 0;null!=s&&zt(t,s)}else i===Fl?"string"==typeof a?("textarea"!==e||""!==a)&&Vt(t,a):"number"==typeof a&&Vt(t,""+a):i===zl||i===Vl||i===Ul||(k.hasOwnProperty(i)?null!=a&&("function"!=typeof a&&jl(i,a),"onScroll"===i&&yl("scroll",t)):null!=a&&Z(t,i,a,o))}}(t,e,0,o,i),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",Ke(Ge(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?St(n,!!t.multiple,r,!1):null!=t.defaultValue&&St(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Xl(e)}}function Jl(e,t,n,r,o){Nl(t,r);var a,s,l,u,c=null;switch(t){case"input":a=lt(e,n),s=lt(e,r),c=[];break;case"select":a=Et(0,n),s=Et(0,r),c=[];break;case"textarea":a=Ot(e,n),s=Ot(e,r),c=[];break;default:s=r,"function"!=typeof(a=n).onClick&&"function"==typeof s.onClick&&Xl(e)}un(t,s);var d=null;for(l in a)if(!s.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if(l===Bl){var f=a[l];for(u in f)f.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else l===Il||l===Fl||l===zl||l===Vl||l===Ul||(k.hasOwnProperty(l)?c||(c=[]):(c=c||[]).push(l,null));for(l in s){var p=s[l],h=null!=a?a[l]:void 0;if(s.hasOwnProperty(l)&&p!==h&&(null!=p||null!=h))if(l===Bl)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(l,d)),d=p;else if(l===Il){var m=p?p[Wl]:void 0,v=h?h[Wl]:void 0;null!=m&&v!==m&&(c=c||[]).push(l,m)}else l===Fl?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(l,""+p):l===zl||l===Vl||(k.hasOwnProperty(l)?(null!=p&&("function"!=typeof p&&jl(l,p),"onScroll"===l&&yl("scroll",e)),c||h===p||(c=[])):(c=c||[]).push(l,p))}return d&&(!function(e,t){if(t){var n=sn(e),r=sn(t),o={};for(var a in n){var s=n[a],l=r[a];if(l&&s!==l){var u=s+","+l;if(o[u])continue;o[u]=!0,i("%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[s])?"Removing":"Updating",s,l)}}}}(d,s[Bl]),(c=c||[]).push(Bl,d)),c}function Zl(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 i=t[o],a=t[o+1];i===Bl?on(e,a):i===Il?zt(e,a):i===Fl?Vt(e,a):Z(e,i,a,r)}}(e,t,0,cn(n,o)),n){case"input":dt(e,o);break;case"textarea":Nt(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?St(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?St(n,!!t.multiple,t.defaultValue,!0):St(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function eu(e){var t=e.toLowerCase();return dn.hasOwnProperty(t)&&dn[t]||null}function tu(e,t){Ll||(Ll=!0,i("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function nu(e,t){Ll||(Ll=!0,i('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function ru(e,t,n){Ll||(Ll=!0,i("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function ou(e,t){""!==t&&(Ll||(Ll=!0,i('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var iu,au,su=["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"],lu=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],uu=lu.concat(["button"]),cu=["dd","dt","li","option","optgroup","p","rp","rt"],du={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};au=function(e,t){var n=_e({},e||du),r={tag:t};return-1!==lu.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==uu.indexOf(t)&&(n.pTagInButtonScope=null),-1!==su.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 fu={};iu=function(e,t,n){var r=(n=n||du).current,o=r&&r.tag;null!=t&&(null!=e&&i("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var a=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===cu.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,s=a?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),l=a||s;if(l){var u=l.tag,c=!!a+"|"+e+"|"+u;if(!fu[c]){fu[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+">",a){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."),i("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,f,p)}else i("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var pu="suppressHydrationWarning",hu="$",mu="/$",vu="$?",gu="$!",yu=null,bu=null;function wu(e){var t;yu=fa,t=Ws(),bu={focusedElem:t,selectionRange:Hs(t)?Ys(t):null};return pa(!1),null}function xu(e,t,n,r,o){var a=r;if(iu(e,null,a.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var s=""+t.children,l=au(a.ancestorInfo,e);iu(null,s,l)}var u=function(e,t,n,r){var o,a,s=Kl(n),l=r;if(l===At&&(l=Mt(e)),l===At){if((o=cn(e,t))||e===e.toLowerCase()||i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=s.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;a=u.removeChild(c)}else if("string"==typeof t.is)a=s.createElement(e,{is:t.is});else if(a=s.createElement(e),"select"===e){var d=a;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else a=s.createElementNS(l,e);return l===At&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(a)||O.call(Rl,e)||(Rl[e]=!0,i("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),a}(e,t,n,a.namespace);return Gu(o,u),rc(u,t),u}function _u(e,t){e.appendChild(t)}function ku(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 Su(e,t,n,r){iu(null,e,n.ancestorInfo);var o=function(e,t){return Kl(t).createTextNode(e)}(e,t);return Gu(r,o),o}var Eu="function"==typeof setTimeout?setTimeout:void 0,Cu="function"==typeof clearTimeout?clearTimeout:void 0,Tu="function"==typeof Promise?Promise:void 0,Ou="function"==typeof queueMicrotask?queueMicrotask:void 0!==Tu?function(e){return Tu.resolve(null).then(e).catch(Ru)}:Eu;function Ru(e){setTimeout(function(){throw e})}function Nu(e){Vt(e,"")}function Pu(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType){var i=o.data;if(i===mu){if(0===r)return e.removeChild(o),void ca(t);r--}else i!==hu&&i!==vu&&i!==gu||r++}n=o}while(n);ca(t)}function Au(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function ju(e){e.nodeValue=""}function Mu(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Wt("display",r)}function Du(e,t){e.nodeValue=t}function Lu(e){return e.data===vu}function Iu(e){return e.data===gu}function zu(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===hu||n===gu||n===vu)break;if(n===mu)return null}}return e}function Vu(e){return zu(e.nextSibling)}function Uu(e,t,n,r,o,i,a){return Gu(i,e),rc(e,n),function(e,t,n,r,o,i,a){var s,l;switch(s=cn(t,n),Nl(t,n),t){case"dialog":yl("cancel",e),yl("close",e);break;case"iframe":case"object":case"embed":yl("load",e);break;case"video":case"audio":for(var u=0;u<pl.length;u++)yl(pl[u],e);break;case"source":yl("error",e);break;case"img":case"image":case"link":yl("error",e),yl("load",e);break;case"details":yl("toggle",e);break;case"input":ut(e,n),yl("invalid",e);break;case"option":yt(0,n);break;case"select":Ct(e,n),yl("invalid",e);break;case"textarea":Rt(e,n),yl("invalid",e)}un(t,n),l=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:l.add(c[d].name)}var f=null;for(var p in n)if(n.hasOwnProperty(p)){var h=n[p];if(p===Fl)"string"==typeof h?e.textContent!==h&&(!0!==n[Vl]&&ql(e.textContent,h,i,a),f=[Fl,h]):"number"==typeof h&&e.textContent!==""+h&&(!0!==n[Vl]&&ql(e.textContent,h,i,a),f=[Fl,""+h]);else if(k.hasOwnProperty(p))null!=h&&("function"!=typeof h&&jl(p,h),"onScroll"===p&&yl("scroll",e));else if(a&&"boolean"==typeof s){var m=void 0,v=W(p);if(!0===n[Vl]);else if(p===zl||p===Vl||"value"===p||"checked"===p||"selected"===p);else if(p===Il){var g=e.innerHTML,y=h?h[Wl]:void 0;if(null!=y){var b=Dl(e,y);b!==g&&Pl(p,g,b)}}else if(p===Bl){if(l.delete(p),Ml){var w=rn(h);w!==(m=e.getAttribute("style"))&&Pl(p,m,w)}}else if(s)l.delete(p.toLowerCase()),h!==(m=J(e,p,h))&&Pl(p,m,h);else if(!U(p,v,s)&&!B(p,h,v,s)){var x=!1;if(null!==v)l.delete(v.attributeName),m=Q(e,p,h,v);else{var _=r;if(_===At&&(_=Mt(t)),_===At)l.delete(p.toLowerCase());else{var S=eu(p);null!==S&&S!==p&&(x=!0,l.delete(S)),l.delete(p)}m=J(e,p,h)}h===m||x||Pl(p,m,h)}}}switch(a&&l.size>0&&!0!==n[Vl]&&Al(l),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&&Xl(e)}return f}(e,t,n,o.namespace,0,!!(1&i.mode),a)}function Fu(e){for(var t=e.previousSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===hu||r===gu||r===vu){if(0===n)return t;n--}else r===mu&&n++}t=t.previousSibling}return null}var Bu=Math.random().toString(36).slice(2),Wu="__reactFiber$"+Bu,Hu="__reactProps$"+Bu,$u="__reactContainer$"+Bu,Yu="__reactEvents$"+Bu,qu="__reactListeners$"+Bu,Ku="__reactHandles$"+Bu;function Gu(e,t){t[Wu]=e}function Xu(e,t){t[$u]=e}function Qu(e){e[$u]=null}function Ju(e){return!!e[$u]}function Zu(e){var t=e[Wu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$u]||n[Wu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=Fu(e);null!==o;){var i=o[Wu];if(i)return i;o=Fu(o)}return t}n=(e=n).parentNode}return null}function ec(e){var t=e[Wu]||e[$u];return t&&(5===t.tag||6===t.tag||t.tag===d||3===t.tag)?t:null}function tc(e){if(5===e.tag||6===e.tag)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function nc(e){return e[Hu]||null}function rc(e,t){e[Hu]=t}var oc={},ic=n.ReactDebugCurrentFrame;function ac(e){if(e){var t=e._owner,n=je(e.type,e._source,t?t.type:null);ic.setExtraStackFrame(n)}else ic.setExtraStackFrame(null)}function sc(e,t,n,r,o){var a=Function.call.bind(O);for(var s in e)if(a(e,s)){var l=void 0;try{if("function"!=typeof e[s]){var u=Error((r||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}l=e[s](t,s,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(c){l=c}!l||l instanceof Error||(ac(o),i("%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,s,typeof l),ac(null)),l instanceof Error&&!(l.message in oc)&&(oc[l.message]=!0,ac(o),i("Failed %s type: %s",n,l.message),ac(null))}}var lc,uc=[];lc=[];var cc,dc=-1;function fc(e){return{current:e}}function pc(e,t){dc<0?i("Unexpected pop."):(t!==lc[dc]&&i("Unexpected Fiber popped."),e.current=uc[dc],uc[dc]=null,lc[dc]=null,dc--)}function hc(e,t,n){dc++,uc[dc]=e.current,lc[dc]=n,e.current=t}cc={};var mc={};Object.freeze(mc);var vc=fc(mc),gc=fc(!1),yc=mc;function bc(e,t,n){return n&&kc(t)?yc:vc.current}function wc(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function xc(e,t){var n=e.type.contextTypes;if(!n)return mc;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var i in n)o[i]=t[i];return sc(n,o,"context",Ve(e)||"Unknown"),r&&wc(e,t,o),o}function _c(){return gc.current}function kc(e){var t=e.childContextTypes;return null!=t}function Sc(e){pc(gc,e),pc(vc,e)}function Ec(e){pc(gc,e),pc(vc,e)}function Cc(e,t,n){if(vc.current!==mc)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");hc(vc,t,e),hc(gc,n,e)}function Tc(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var a=Ve(e)||"Unknown";return cc[a]||(cc[a]=!0,i("%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.",a,a)),n}var s=r.getChildContext();for(var l in s)if(!(l in o))throw new Error((Ve(e)||"Unknown")+'.getChildContext(): key "'+l+'" is not defined in childContextTypes.');return sc(o,s,"child context",Ve(e)||"Unknown"),_e({},n,s)}function Oc(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||mc;return yc=vc.current,hc(vc,n,e),hc(gc,gc.current,e),!0}function Rc(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=Tc(e,t,yc);r.__reactInternalMemoizedMergedChildContext=o,pc(gc,e),pc(vc,e),hc(vc,o,e),hc(gc,n,e)}else pc(gc,e),hc(gc,n,e)}function Nc(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(kc(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 Pc=null,Ac=!1,jc=!1;function Mc(e){null===Pc?Pc=[e]:Pc.push(e)}function Dc(){Ac&&Lc()}function Lc(){if(!jc&&null!==Pc){jc=!0;var e=0,t=Bi();try{var n=Pc;for(Wi(Ii);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}Pc=null,Ac=!1}catch(o){throw null!==Pc&&(Pc=Pc.slice(e+1)),Mr(Ur,Lc),o}finally{Wi(t),jc=!1}}return null}var Ic=[],zc=0,Vc=null,Uc=0,Fc=[],Bc=0,Wc=null,Hc=1,$c="";function Yc(){var e=$c;return(Hc&~function(e){return 1<<Xc(e)-1}(Hc)).toString(32)+e}function qc(e,t){Jc(),Ic[zc++]=Uc,Ic[zc++]=Vc,Vc=e,Uc=t}function Kc(e,t,n){Jc(),Fc[Bc++]=Hc,Fc[Bc++]=$c,Fc[Bc++]=Wc,Wc=e;var r=Hc,o=$c,i=Xc(r)-1,a=r&~(1<<i),s=n+1,l=Xc(t)+i;if(l>30){var u=i-i%5,c=(a&(1<<u)-1).toString(32),d=a>>u,f=i-u,p=Xc(t)+f;Hc=1<<p|(s<<f|d),$c=c+o}else{Hc=1<<l|(s<<i|a),$c=o}}function Gc(e){if(Jc(),null!==e.return){qc(e,1),Kc(e,1,0)}}function Xc(e){return 32-ko(e)}function Qc(e){for(;e===Vc;)Vc=Ic[--zc],Ic[zc]=null,Uc=Ic[--zc],Ic[zc]=null;for(;e===Wc;)Wc=Fc[--Bc],Fc[Bc]=null,$c=Fc[--Bc],Fc[Bc]=null,Hc=Fc[--Bc],Fc[Bc]=null}function Jc(){kd()||i("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Zc=null,ed=null,td=!1,nd=!1,rd=null;function od(){nd=!0}function id(e){var t=e.stateNode.containerInfo;return ed=zu(t.firstChild),Zc=e,td=!0,rd=null,nd=!1,!0}function ad(e,t,n){var r,o;return ed=zu(t.nextSibling),Zc=e,td=!0,rd=null,nd=!1,null!==n&&(r=e,o=n,Jc(),Fc[Bc++]=Hc,Fc[Bc++]=$c,Fc[Bc++]=Wc,Hc=o.id,$c=o.overflow,Wc=r),!0}function sd(e,t){switch(e.tag){case 3:!function(e,t){1===t.nodeType?tu(e,t):8===t.nodeType||nu(e,t)}(e.stateNode.containerInfo,t);break;case 5:var n=!!(1&e.mode);!function(e,t,n,r,o){(o||!0!==t[pu])&&(1===r.nodeType?tu(n,r):8===r.nodeType||nu(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case d:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(1===t.nodeType?tu(n,t):8===t.nodeType||nu(n,t))}(r.dehydrated,t)}}function ld(e,t){sd(e,t);var n,r=((n=Jb(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 ud(e,t){if(!nd)switch(e.tag){case 3:var n=e.stateNode.containerInfo;switch(t.tag){case 5:var r=t.type;t.pendingProps,function(e,t){ru(e,t)}(n,r);break;case 6:!function(e,t){ou(e,t)}(n,t.pendingProps)}break;case 5:e.type;var o=e.memoizedProps,i=e.stateNode;switch(t.tag){case 5:var a=t.type;t.pendingProps;!function(e,t,n,r,o,i){(i||!0!==t[pu])&&ru(n,r)}(0,o,i,a,0,!!(1&e.mode));break;case 6:!function(e,t,n,r,o){(o||!0!==t[pu])&&ou(n,r)}(0,o,i,t.pendingProps,!!(1&e.mode))}break;case d:var s=e.memoizedState.dehydrated;if(null!==s)switch(t.tag){case 5:var l=t.type;t.pendingProps,function(e,t){var n=e.parentNode;null!==n&&ru(n,t)}(s,l);break;case 6:!function(e,t){var n=e.parentNode;null!==n&&ou(n,t)}(s,t.pendingProps)}break;default:return}}function cd(e,t){t.flags=-4097&t.flags|2,ud(e,t)}function dd(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,Zc=e,ed=zu(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,Zc=e,ed=null,!0);case d:var i=function(e){return 8!==e.nodeType?null:e}(t);if(null!==i){var a={dehydrated:i,treeContext:(Jc(),null!==Wc?{id:Hc,overflow:$c}:null),retryLane:ri};e.memoizedState=a;var s=function(e){var t=Jb(m,null,null,0);return t.stateNode=e,t}(i);return s.return=e,e.child=s,Zc=e,ed=null,!0}return!1;default:return!1}}function fd(e){return!!(1&e.mode)&&0===(e.flags&rr)}function pd(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function hd(e){if(td){var t=ed;if(!t)return fd(e)&&(ud(Zc,e),pd()),cd(Zc,e),td=!1,void(Zc=e);var n=t;if(!dd(e,t)){fd(e)&&(ud(Zc,e),pd()),t=Vu(n);var r=Zc;if(!t||!dd(e,t))return cd(Zc,e),td=!1,void(Zc=e);ld(r,n)}}}function md(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n){return Gu(n,e),n.mode,function(e,t){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Zc;if(null!==o)switch(o.tag){case 3:o.stateNode.containerInfo;!function(e,t,n,r){ql(t.nodeValue,n,r,!0)}(0,t,n,!!(1&o.mode));break;case 5:o.type;var i=o.memoizedProps;o.stateNode;!function(e,t,n,r,o,i){!0!==t[pu]&&ql(r.nodeValue,o,i,!0)}(0,i,0,t,n,!!(1&o.mode))}}return r}function vd(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){Gu(t,e)}(n,e)}function gd(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===mu){if(0===n)return Vu(t);n--}else r!==hu&&r!==gu&&r!==vu||n++}t=t.nextSibling}return null}(n)}function yd(e){for(var t=e.return;null!==t&&5!==t.tag&&3!==t.tag&&t.tag!==d;)t=t.return;Zc=t}function bd(e){if(e!==Zc)return!1;if(!td)return yd(e),td=!0,!1;if(3!==e.tag&&(5!==e.tag||"head"!==(n=e.type)&&"body"!==n&&!ku(e.type,e.memoizedProps))){var t=ed;if(t)if(fd(e))wd(e),pd();else for(;t;)ld(e,t),t=Vu(t)}var n;return yd(e),ed=e.tag===d?gd(e):Zc?Vu(e.stateNode):null,!0}function wd(e){for(var t=ed;t;)sd(e,t),t=Vu(t)}function xd(){Zc=null,ed=null,td=!1,nd=!1}function _d(){null!==rd&&(Gy(rd),rd=null)}function kd(){return td}function Sd(e){null===rd?rd=[e]:rd.push(e)}var Ed=n.ReactCurrentBatchConfig;var Cd={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Td=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")},Od=[],Rd=[],Nd=[],Pd=[],Ad=[],jd=[],Md=new Set;Cd.recordUnsafeLifecycleWarnings=function(e,t){Md.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&Od.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&Rd.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Nd.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Pd.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Ad.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&jd.push(e))},Cd.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Od.length>0&&(Od.forEach(function(t){e.add(Ve(t)||"Component"),Md.add(t.type)}),Od=[]);var t=new Set;Rd.length>0&&(Rd.forEach(function(e){t.add(Ve(e)||"Component"),Md.add(e.type)}),Rd=[]);var n=new Set;Nd.length>0&&(Nd.forEach(function(e){n.add(Ve(e)||"Component"),Md.add(e.type)}),Nd=[]);var r=new Set;Pd.length>0&&(Pd.forEach(function(e){r.add(Ve(e)||"Component"),Md.add(e.type)}),Pd=[]);var a=new Set;Ad.length>0&&(Ad.forEach(function(e){a.add(Ve(e)||"Component"),Md.add(e.type)}),Ad=[]);var s=new Set;(jd.length>0&&(jd.forEach(function(e){s.add(Ve(e)||"Component"),Md.add(e.type)}),jd=[]),t.size>0)&&i("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",Td(t));r.size>0&&i("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",Td(r));s.size>0&&i("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",Td(s));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",Td(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",Td(n));a.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",Td(a))};var Dd,Ld,Id,zd,Vd,Ud=new Map,Fd=new Set;Cd.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(!Fd.has(e.type)){var r=Ud.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],Ud.set(n,r)),r.push(e))}}else i("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.")},Cd.flushLegacyContextWarning=function(){Ud.forEach(function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach(function(e){r.add(Ve(e)||"Component"),Fd.add(e.type)});var o=Td(r);try{Ye(n),i("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()}}})},Cd.discardPendingWarnings=function(){Od=[],Rd=[],Nd=[],Pd=[],Ad=[],jd=[],Ud=new Map};var Bd;function Wd(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 a=Ve(e)||"Component";Id[a]||(i('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',a,o),Id[a]=!0)}if(n._owner){var s,l=n._owner;if(l){var u=l;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");s=u.stateNode}if(!s)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=s;!function(e,t){if(N(e))i("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,R(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 Hd(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 $d(e){var t=Ve(e)||"Component";Vd[t]||(Vd[t]=!0,i("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 Yd(e){var t=e._payload;return(0,e._init)(t)}function qd(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=ew(e,t);return n.index=0,n.sibling=null,n}function a(t,n,r){if(t.index=r,!e)return t.flags|=hr,n;var o=t.alternate;if(null!==o){var i=o.index;return i<n?(t.flags|=2,n):i}return t.flags|=2,n}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){if(null===t||6!==t.tag){var i=aw(n,e.mode,r);return i.return=e,i}var a=o(t,n);return a.return=e,a}function u(e,t,n,r){var i=n.type;if(i===ne)return d(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===i||Wb(t,n)||"object"==typeof i&&null!==i&&i.$$typeof===de&&Yd(i)===t.type)){var a=o(t,n.props);return a.ref=Wd(e,t,n),a.return=e,a._debugSource=n._source,a._debugOwner=n._owner,a}var s=rw(n,e.mode,r);return s.ref=Wd(e,t,n),s.return=e,s}function c(e,t,n,r){if(null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var i=sw(n,e.mode,r);return i.return=e,i}var a=o(t,n.children||[]);return a.return=e,a}function d(e,t,n,r,i){if(null===t||7!==t.tag){var a=ow(n,e.mode,r,i);return a.return=e,a}var s=o(t,n);return s.return=e,s}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=aw(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:var o=rw(t,e.mode,n);return o.ref=Wd(e,null,t),o.return=e,o;case te:var i=sw(t,e.mode,n);return i.return=e,i;case de:var a=t._payload;return f(e,(0,t._init)(a),n)}if(xt(t)||he(t)){var s=ow(t,e.mode,n,null);return s.return=e,s}Hd(0,t)}return"function"==typeof t&&$d(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:l(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 i=n._payload;return p(e,t,(0,n._init)(i),r)}if(xt(n)||he(n))return null!==o?null:d(e,t,n,r,null);Hd(0,n)}return"function"==typeof n&&$d(e),null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(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 i=r._payload;return h(e,t,n,(0,r._init)(i),o)}if(xt(r)||he(r))return d(t,e.get(n)||null,r,o,null);Hd(0,r)}return"function"==typeof r&&$d(t),null}function m(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case ee:case te:Bd(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}i("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 l(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 s(function(e,r,i,a){for(var s=i.key,l=r;null!==l;){if(l.key===s){var u=i.type;if(u===ne){if(7===l.tag){n(e,l.sibling);var c=o(l,i.props.children);return c.return=e,c._debugSource=i._source,c._debugOwner=i._owner,c}}else if(l.elementType===u||Wb(l,i)||"object"==typeof u&&null!==u&&u.$$typeof===de&&Yd(u)===l.type){n(e,l.sibling);var d=o(l,i.props);return d.ref=Wd(e,l,i),d.return=e,d._debugSource=i._source,d._debugOwner=i._owner,d}n(e,l);break}t(e,l),l=l.sibling}if(i.type===ne){var f=ow(i.props.children,e.mode,a,i.key);return f.return=e,f}var p=rw(i,e.mode,a);return p.ref=Wd(e,r,i),p.return=e,p}(u,c,d,v));case te:return s(function(e,r,i,a){for(var s=i.key,l=r;null!==l;){if(l.key===s){if(4===l.tag&&l.stateNode.containerInfo===i.containerInfo&&l.stateNode.implementation===i.implementation){n(e,l.sibling);var u=o(l,i.children||[]);return u.return=e,u}n(e,l);break}t(e,l),l=l.sibling}var c=sw(i,e.mode,a);return c.return=e,c}(u,c,d,v));case de:var g=d._payload;return l(u,c,(0,d._init)(g),v)}if(xt(d))return function(o,i,s,l){for(var u=null,c=0;c<s.length;c++)u=m(s[c],u,o);for(var d=null,v=null,g=i,y=0,b=0,w=null;null!==g&&b<s.length;b++){g.index>b?(w=g,g=null):w=g.sibling;var x=p(o,g,s[b],l);if(null===x){null===g&&(g=w);break}e&&g&&null===x.alternate&&t(o,g),y=a(x,y,b),null===v?d=x:v.sibling=x,v=x,g=w}if(b===s.length)return n(o,g),kd()&&qc(o,b),d;if(null===g){for(;b<s.length;b++){var _=f(o,s[b],l);null!==_&&(y=a(_,y,b),null===v?d=_:v.sibling=_,v=_)}return kd()&&qc(o,b),d}for(var k=r(0,g);b<s.length;b++){var S=h(k,o,b,s[b],l);null!==S&&(e&&null!==S.alternate&&k.delete(null===S.key?b:S.key),y=a(S,y,b),null===v?d=S:v.sibling=S,v=S)}return e&&k.forEach(function(e){return t(o,e)}),kd()&&qc(o,b),d}(u,c,d,v);if(he(d))return function(o,s,l,u){var c=he(l);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"===l[Symbol.toStringTag]&&(Ld||i("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),l.entries===c&&(Dd||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Dd=!0);var d=c.call(l);if(d)for(var v=null,g=d.next();!g.done;g=d.next())v=m(g.value,v,o);var y=c.call(l);if(null==y)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,x=s,_=0,k=0,S=null,E=y.next();null!==x&&!E.done;k++,E=y.next()){x.index>k?(S=x,x=null):S=x.sibling;var C=p(o,x,E.value,u);if(null===C){null===x&&(x=S);break}e&&x&&null===C.alternate&&t(o,x),_=a(C,_,k),null===w?b=C:w.sibling=C,w=C,x=S}if(E.done)return n(o,x),kd()&&qc(o,k),b;if(null===x){for(;!E.done;k++,E=y.next()){var T=f(o,E.value,u);null!==T&&(_=a(T,_,k),null===w?b=T:w.sibling=T,w=T)}return kd()&&qc(o,k),b}for(var O=r(0,x);!E.done;k++,E=y.next()){var R=h(O,o,k,E.value,u);null!==R&&(e&&null!==R.alternate&&O.delete(null===R.key?k:R.key),_=a(R,_,k),null===w?b=R:w.sibling=R,w=R)}return e&&O.forEach(function(e){return t(o,e)}),kd()&&qc(o,k),b}(u,c,d,v);Hd(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?s(function(e,t,r,i){if(null!==t&&6===t.tag){n(e,t.sibling);var a=o(t,r);return a.return=e,a}n(e,t);var s=aw(r,e.mode,i);return s.return=e,s}(u,c,""+d,v)):("function"==typeof d&&$d(u),n(u,c))}}Dd=!1,Ld=!1,Id={},zd={},Vd={},Bd=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";zd[n]||(zd[n]=!0,i('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Kd=qd(!0),Gd=qd(!1);function Xd(e,t){for(var n=e.child;null!==n;)tw(n,t),n=n.sibling}var Qd,Jd=fc(null);Qd={};var Zd=null,ef=null,tf=null,nf=!1;function rf(){Zd=null,ef=null,tf=null,nf=!1}function of(){nf=!0}function af(){nf=!1}function sf(e,t,n){hc(Jd,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Qd&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Qd}function lf(e,t){var n=Jd.current;pc(Jd,t),e._currentValue=n}function uf(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(_i(r.childLanes,t)?null===o||_i(o.childLanes,t)||(o.childLanes=ki(o.childLanes,t)):(r.childLanes=ki(r.childLanes,t),null!==o&&(o.childLanes=ki(o.childLanes,t))),r===n)break;r=r.return}r!==n&&i("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 cf(e,t,n){!function(e,t,n){var r=e.child;null!==r&&(r.return=e);for(;null!==r;){var o=void 0,i=r.dependencies;if(null!==i){o=r.child;for(var a=i.firstContext;null!==a;){if(a.context===t){if(1===r.tag){var s=yi(n),u=Cf(ii,s);u.tag=_f;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=ki(r.lanes,n);var p=r.alternate;null!==p&&(p.lanes=ki(p.lanes,n)),uf(r.return,n,e),i.lanes=ki(i.lanes,n);break}a=a.next}}else if(r.tag===l)o=r.type===e.type?null:r.child;else if(r.tag===m){var h=r.return;if(null===h)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");h.lanes=ki(h.lanes,n);var v=h.alternate;null!==v&&(v.lanes=ki(v.lanes,n)),uf(h,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 df(e,t){Zd=e,ef=null,tf=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(xi(n.lanes,t)&&wv(),n.firstContext=null))}function ff(e){nf&&i("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(tf===e);else{var n={context:e,memoizedValue:t,next:null};if(null===ef){if(null===Zd)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().");ef=n,Zd.dependencies={lanes:0,firstContext:n}}else ef=ef.next=n}return t}var pf=null;function hf(e){null===pf?pf=[e]:pf.push(e)}function mf(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,hf(t)):(n.next=o.next,o.next=n),t.interleaved=n,yf(e,r)}function vf(e,t){return yf(e,t)}var gf=yf;function yf(e,t){e.lanes=ki(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=ki(n.lanes,t)),null===n&&4098&e.flags&&Ob(e);for(var r=e,o=e.return;null!==o;)o.childLanes=ki(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=ki(n.childLanes,t):4098&o.flags&&Ob(e),r=o,o=o.return;return 3===r.tag?r.stateNode:null}var bf,wf,xf=0,_f=2,kf=!1;function Sf(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};e.updateQueue=t}function Ef(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 Cf(e,t){return{eventTime:e,lane:t,tag:xf,payload:null,callback:null,next:null}}function Tf(e,t,n){var r=e.updateQueue;if(null===r)return null;var o=r.shared;if(wf!==o||bf||(i("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."),bf=!0),(ny&qg)!==Yg){var a=o.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),o.pending=t,gf(e,n)}return function(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,hf(t)):(n.next=o.next,o.next=n),t.interleaved=n,yf(e,r)}(e,o,t,n)}function Of(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(mi(n)){var i=o.lanes,a=ki(i=Ei(i,e.pendingLanes),n);o.lanes=a,Ri(e,a)}}}function Rf(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var i=null,a=null,s=n.firstBaseUpdate;if(null!==s){var l=s;do{var u={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};null===a?i=a=u:(a.next=u,a=u),l=l.next}while(null!==l);null===a?i=a=t:(a.next=t,a=t)}else i=a=t;return n={baseState:o.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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 Nf(e,t,n,r,o,i){switch(n.tag){case 1:var a=n.payload;if("function"==typeof a){of();var s=a.call(i,r,o);if(8&e.mode){no(!0);try{a.call(i,r,o)}finally{no(!1)}}return af(),s}return a;case 3:e.flags=-65537&e.flags|rr;case xf:var l,u=n.payload;if("function"==typeof u){if(of(),l=u.call(i,r,o),8&e.mode){no(!0);try{u.call(i,r,o)}finally{no(!1)}}af()}else l=u;return null==l?r:_e({},r,l);case _f:return kf=!0,r}return r}function Pf(e,t,n,r){var o=e.updateQueue;kf=!1,wf=o.shared;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==a&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=l)}}if(null!==i){for(var p=o.baseState,h=0,m=null,v=null,g=null,y=i;;){var b=y.lane,w=y.eventTime;if(_i(r,b)){if(null!==g){var x={eventTime:w,lane:0,tag:y.tag,payload:y.payload,callback:y.callback,next:null};g=g.next=x}if(p=Nf(e,0,y,p,t,n),null!==y.callback&&0!==y.lane){e.flags|=64;var _=o.effects;null===_?o.effects=[y]:_.push(y)}}else{var k={eventTime:w,lane:b,tag:y.tag,payload:y.payload,callback:y.callback,next:null};null===g?(v=g=k,m=p):g=g.next=k,h=ki(h,b)}if(null===(y=y.next)){if(null===(s=o.shared.pending))break;var S=s,E=S.next;S.next=null,y=E,o.lastBaseUpdate=S,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=ki(h,T.lane),T=T.next}while(T!==C)}else null===i&&(o.shared.lanes=0);sb(h),e.lanes=h,e.memoizedState=p}wf=null}function Af(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function jf(){kf=!1}function Mf(){return kf}function Df(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var i=r[o],a=i.callback;null!==a&&(i.callback=null,Af(a,n))}}bf=!1,wf=null;var Lf={},If=fc(Lf),zf=fc(Lf),Vf=fc(Lf);function Uf(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 Ff(){return Uf(Vf.current)}function Bf(e,t){hc(Vf,t,e),hc(zf,e,e),hc(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:Dt(null,"");break;default:var i=8===r?e.parentNode:e;n=Dt(i.namespaceURI||null,t=i.tagName)}var a=t.toLowerCase();return{namespace:n,ancestorInfo:au(null,a)}}(t);pc(If,e),hc(If,n,e)}function Wf(e){pc(If,e),pc(zf,e),pc(Vf,e)}function Hf(){return Uf(If.current)}function $f(e){Uf(Vf.current);var t,n,r,o=Uf(If.current),i=(t=o,n=e.type,{namespace:Dt((r=t).namespace,n),ancestorInfo:au(r.ancestorInfo,n)});o!==i&&(hc(zf,e,e),hc(If,i,e))}function Yf(e){zf.current===e&&(pc(If,e),pc(zf,e))}var qf=fc(0);function Kf(e,t){return 0!==(e&t)}function Gf(e){return 1&e}function Xf(e,t){return 1&e|t}function Qf(e,t){hc(qf,t,e)}function Jf(e){pc(qf,e)}function Zf(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function ep(e){for(var t=e;null!==t;){if(t.tag===d){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||Lu(r)||Iu(r))return t}}else if(t.tag===v&&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 tp=[];function np(){for(var e=0;e<tp.length;e++){tp[e]._workInProgressVersionPrimary=null}tp.length=0}function rp(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var op,ip,ap=n.ReactCurrentDispatcher,sp=n.ReactCurrentBatchConfig;op=new Set;var lp=0,up=null,cp=null,dp=null,fp=!1,pp=!1,hp=0,mp=0,vp=null,gp=null,yp=-1,bp=!1;function wp(){var e=vp;null===gp?gp=[e]:gp.push(e)}function xp(){var e=vp;null!==gp&&(yp++,gp[yp]!==e&&function(e){var t=Ve(up);if(!op.has(t)&&(op.add(t),null!==gp)){for(var n="",r=30,o=0;o<=yp;o++){for(var a=gp[o],s=o===yp?e:a,l=o+1+". "+a;l.length<r;)l+=" ";n+=l+=s+"\n"}i("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 _p(e){null==e||xt(e)||i("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",vp,typeof e)}function kp(){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 Sp(e,t){if(bp)return!1;if(null===t)return i("%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.",vp),!1;e.length!==t.length&&i("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",vp,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!js(e[n],t[n]))return!1;return!0}function Ep(e,t,n,r,o,a){lp=a,up=t,gp=null!==e?e._debugHookTypes:null,yp=-1,bp=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=0,null!==e&&null!==e.memoizedState?ap.current=Ph:ap.current=null!==gp?Nh:Rh;var s=n(r,o);if(pp){var l=0;do{if(pp=!1,hp=0,l>=25)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");l+=1,bp=!1,cp=null,dp=null,t.updateQueue=null,yp=-1,ap.current=Ah,s=n(r,o)}while(pp)}ap.current=Oh,t._debugHookTypes=gp;var u=null!==cp&&null!==cp.next;if(lp=0,up=null,cp=null,dp=null,vp=null,gp=null,yp=-1,null!==e&&(e.flags&kr)!==(t.flags&kr)&&1&e.mode&&i("Internal React error: Expected static flag was missing. Please notify the React team."),fp=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return s}function Cp(){var e=0!==hp;return hp=0,e}function Tp(e,t,n){t.updateQueue=e.updateQueue,0!==(t.mode&_o)?t.flags&=-50333701:t.flags&=-2053,e.lanes=Si(e.lanes,n)}function Op(){if(ap.current=Oh,fp){for(var e=up.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}fp=!1}lp=0,up=null,cp=null,dp=null,gp=null,yp=-1,vp=null,bh=!1,pp=!1,hp=0}function Rp(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===dp?up.memoizedState=dp=e:dp=dp.next=e,dp}function Np(){var e,t;if(null===cp){var n=up.alternate;e=null!==n?n.memoizedState:null}else e=cp.next;if(null!==(t=null===dp?up.memoizedState:dp.next))t=(dp=t).next,cp=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(cp=e).memoizedState,baseState:cp.baseState,baseQueue:cp.baseQueue,queue:cp.queue,next:null};null===dp?up.memoizedState=dp=r:dp=dp.next=r}return dp}function Pp(e,t){return"function"==typeof t?t(e):t}function Ap(e,t,n){var r,o=Rp();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=i;var a=i.dispatch=_h.bind(null,up,i);return[o.memoizedState,a]}function jp(e,t,n){var r=Np(),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=cp,s=a.baseQueue,l=o.pending;if(null!==l){if(null!==s){var u=s.next,c=l.next;s.next=c,l.next=u}a.baseQueue!==s&&i("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),a.baseQueue=s=l,o.pending=null}if(null!==s){var d=s.next,f=a.baseState,p=null,h=null,m=null,v=d;do{var g=v.lane;if(_i(lp,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,up.lanes=ki(up.lanes,g),sb(g)}v=v.next}while(null!==v&&v!==d);null===m?p=f:m.next=h,js(f,r.memoizedState)||wv(),r.memoizedState=f,r.baseState=p,r.baseQueue=m,o.lastRenderedState=f}var w=o.interleaved;if(null!==w){var x=w;do{var _=x.lane;up.lanes=ki(up.lanes,_),sb(_),x=x.next}while(x!==w)}else null===s&&(o.lanes=0);var k=o.dispatch;return[r.memoizedState,k]}function Mp(e,t,n){var r=Np(),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=o.dispatch,a=o.pending,s=r.memoizedState;if(null!==a){o.pending=null;var l=a.next,u=l;do{s=e(s,u.action),u=u.next}while(u!==l);js(s,r.memoizedState)||wv(),r.memoizedState=s,null===r.baseQueue&&(r.baseState=s),o.lastRenderedState=s}return[s,i]}function Dp(e,t,n){var r,o=up,a=Rp();if(kd()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),ip||r!==n()&&(i("The result of getServerSnapshot should be cached to avoid an infinite loop"),ip=!0)}else{if(r=t(),!ip){var s=t();js(r,s)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var l=Fy();if(null===l)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hi(0,lp)||Ip(o,t,r)}a.memoizedState=r;var u={value:r,getSnapshot:t};return a.queue=u,Xp(Vp.bind(null,o,u,e),[e]),o.flags|=sr,$p(9,zp.bind(null,o,u,r,t),void 0,null),r}function Lp(e,t,n){var r=up,o=Np(),a=t();if(!ip){var s=t();js(a,s)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),ip=!0)}var l=o.memoizedState,u=!js(l,a);u&&(o.memoizedState=a,wv());var c=o.queue;if(Qp(Vp.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==dp&&1&dp.memoizedState.tag){r.flags|=sr,$p(9,zp.bind(null,r,c,a,t),void 0,null);var d=Fy();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hi(0,lp)||Ip(r,t,a)}return a}function Ip(e,t,n){e.flags|=cr;var r={getSnapshot:t,value:n},o=up.updateQueue;if(null===o)o={lastEffect:null,stores:null},up.updateQueue=o,o.stores=[r];else{var i=o.stores;null===i?o.stores=[r]:i.push(r)}}function zp(e,t,n,r){t.value=n,t.getSnapshot=r,Up(t)&&Fp(e)}function Vp(e,t,n){return n(function(){Up(t)&&Fp(e)})}function Up(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!js(n,r)}catch(o){return!0}}function Fp(e){var t=vf(e,To);null!==t&&$y(t,e,To,ii)}function Bp(e){var t=Rp();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pp,lastRenderedState:e};t.queue=n;var r=n.dispatch=kh.bind(null,up,n);return[t.memoizedState,r]}function Wp(e){return jp(Pp)}function Hp(e){return Mp(Pp)}function $p(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},i=up.updateQueue;if(null===i)i={lastEffect:null,stores:null},up.updateQueue=i,i.lastEffect=o.next=o;else{var a=i.lastEffect;if(null===a)i.lastEffect=o.next=o;else{var s=a.next;a.next=o,o.next=s,i.lastEffect=o}}return o}function Yp(e){var t={current:e};return Rp().memoizedState=t,t}function qp(e){return Np().memoizedState}function Kp(e,t,n,r){var o=Rp(),i=void 0===r?null:r;up.flags|=e,o.memoizedState=$p(1|t,n,void 0,i)}function Gp(e,t,n,r){var o=Np(),i=void 0===r?null:r,a=void 0;if(null!==cp){var s=cp.memoizedState;if(a=s.destroy,null!==i)if(Sp(i,s.deps))return void(o.memoizedState=$p(t,n,a,i))}up.flags|=e,o.memoizedState=$p(1|t,n,a,i)}function Xp(e,t){return 0!==(up.mode&_o)?Kp(41945088,8,e,t):Kp(8390656,8,e,t)}function Qp(e,t){return Gp(sr,8,e,t)}function Jp(e,t){return Kp(4,2,e,t)}function Zp(e,t){return Gp(4,2,e,t)}function eh(e,t){var n=4;return n|=vr,0!==(up.mode&_o)&&(n|=gr),Kp(n,4,e,t)}function th(e,t){return Gp(4,4,e,t)}function nh(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")||i("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 a=e();return o.current=a,function(){o.current=null}}}function rh(e,t,n){"function"!=typeof t&&i("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!==(up.mode&_o)&&(o|=gr),Kp(o,4,nh.bind(null,t,e),r)}function oh(e,t,n){"function"!=typeof t&&i("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 Gp(4,4,nh.bind(null,t,e),r)}function ih(e,t){}var ah=ih;function sh(e,t){var n=void 0===t?null:t;return Rp().memoizedState=[e,n],e}function lh(e,t){var n=Np(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&Sp(r,o[1])))return o[0];return n.memoizedState=[e,r],e}function uh(e,t){var n=Rp(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function ch(e,t){var n=Np(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&Sp(r,o[1])))return o[0];var i=e();return n.memoizedState=[i,r],i}function dh(e){return Rp().memoizedState=e,e}function fh(e){return hh(Np(),cp.memoizedState,e)}function ph(e){var t=Np();return null===cp?(t.memoizedState=e,e):hh(t,cp.memoizedState,e)}function hh(e,t,n){if(!(0===(lp&(To|Ro|Po)))){if(!js(n,t)){var r=vi();up.lanes=ki(up.lanes,r),sb(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,wv()),e.memoizedState=n,n}function mh(e,t,n){var r,i,a=Bi();Wi((i=zi,0!==(r=a)&&r<i?r:i)),e(!0);var s=sp.transition;sp.transition={};var l=sp.transition;sp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Wi(a),sp.transition=s,null===s&&l._updatedFibers)l._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."),l._updatedFibers.clear()}}function vh(){var e=Bp(!1),t=e[0],n=e[1],r=mh.bind(null,n);return Rp().memoizedState=r,[t,r]}function gh(){return[Wp()[0],Np().memoizedState]}function yh(){return[Hp()[0],Np().memoizedState]}var bh=!1;function wh(){var e,t=Rp(),n=Fy().identifierPrefix;if(kd()){e=":"+n+"R"+Yc();var r=hp++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(mp++).toString(32)+":"}return t.memoizedState=e,e}function xh(){return Np().memoizedState}function _h(e,t,n){"function"==typeof arguments[3]&&i("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=Wy(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Sh(e))Eh(t,o);else{var a=mf(e,t,o,r);if(null!==a)$y(a,e,r,By()),Ch(a,t,r)}Th(e,r)}function kh(e,t,n){"function"==typeof arguments[3]&&i("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=Wy(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Sh(e))Eh(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)){var s=t.lastRenderedReducer;if(null!==s){var l;l=ap.current,ap.current=Mh;try{var u=t.lastRenderedState,c=s(u,n);if(o.hasEagerState=!0,o.eagerState=c,js(c,u))return void function(e,t,n){var r=t.interleaved;null===r?(n.next=n,hf(t)):(n.next=r.next,r.next=n),t.interleaved=n}(0,t,o)}catch(f){}finally{ap.current=l}}}var d=mf(e,t,o,r);if(null!==d)$y(d,e,r,By()),Ch(d,t,r)}Th(e,r)}function Sh(e){var t=e.alternate;return e===up||null!==t&&t===up}function Eh(e,t){pp=fp=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ch(e,t,n){if(mi(n)){var r=t.lanes,o=ki(r=Ei(r,e.pendingLanes),n);t.lanes=o,Ri(e,o)}}function Th(e,t,n){xo(e,t)}var Oh={readContext:ff,useCallback:kp,useContext:kp,useEffect:kp,useImperativeHandle:kp,useInsertionEffect:kp,useLayoutEffect:kp,useMemo:kp,useReducer:kp,useRef:kp,useState:kp,useDebugValue:kp,useDeferredValue:kp,useTransition:kp,useMutableSource:kp,useSyncExternalStore:kp,useId:kp,unstable_isNewReconciler:w},Rh=null,Nh=null,Ph=null,Ah=null,jh=null,Mh=null,Dh=null,Lh=function(){i("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(){i("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")};Rh={readContext:function(e){return ff(e)},useCallback:function(e,t){return vp="useCallback",wp(),_p(t),sh(e,t)},useContext:function(e){return vp="useContext",wp(),ff(e)},useEffect:function(e,t){return vp="useEffect",wp(),_p(t),Xp(e,t)},useImperativeHandle:function(e,t,n){return vp="useImperativeHandle",wp(),_p(n),rh(e,t,n)},useInsertionEffect:function(e,t){return vp="useInsertionEffect",wp(),_p(t),Jp(e,t)},useLayoutEffect:function(e,t){return vp="useLayoutEffect",wp(),_p(t),eh(e,t)},useMemo:function(e,t){vp="useMemo",wp(),_p(t);var n=ap.current;ap.current=jh;try{return uh(e,t)}finally{ap.current=n}},useReducer:function(e,t,n){vp="useReducer",wp();var r=ap.current;ap.current=jh;try{return Ap(e,t,n)}finally{ap.current=r}},useRef:function(e){return vp="useRef",wp(),Yp(e)},useState:function(e){vp="useState",wp();var t=ap.current;ap.current=jh;try{return Bp(e)}finally{ap.current=t}},useDebugValue:function(e,t){vp="useDebugValue",wp()},useDeferredValue:function(e){return vp="useDeferredValue",wp(),dh(e)},useTransition:function(){return vp="useTransition",wp(),vh()},useMutableSource:function(e,t,n){vp="useMutableSource",wp()},useSyncExternalStore:function(e,t,n){return vp="useSyncExternalStore",wp(),Dp(e,t,n)},useId:function(){return vp="useId",wp(),wh()},unstable_isNewReconciler:w},Nh={readContext:function(e){return ff(e)},useCallback:function(e,t){return vp="useCallback",xp(),sh(e,t)},useContext:function(e){return vp="useContext",xp(),ff(e)},useEffect:function(e,t){return vp="useEffect",xp(),Xp(e,t)},useImperativeHandle:function(e,t,n){return vp="useImperativeHandle",xp(),rh(e,t,n)},useInsertionEffect:function(e,t){return vp="useInsertionEffect",xp(),Jp(e,t)},useLayoutEffect:function(e,t){return vp="useLayoutEffect",xp(),eh(e,t)},useMemo:function(e,t){vp="useMemo",xp();var n=ap.current;ap.current=jh;try{return uh(e,t)}finally{ap.current=n}},useReducer:function(e,t,n){vp="useReducer",xp();var r=ap.current;ap.current=jh;try{return Ap(e,t,n)}finally{ap.current=r}},useRef:function(e){return vp="useRef",xp(),Yp(e)},useState:function(e){vp="useState",xp();var t=ap.current;ap.current=jh;try{return Bp(e)}finally{ap.current=t}},useDebugValue:function(e,t){vp="useDebugValue",xp()},useDeferredValue:function(e){return vp="useDeferredValue",xp(),dh(e)},useTransition:function(){return vp="useTransition",xp(),vh()},useMutableSource:function(e,t,n){vp="useMutableSource",xp()},useSyncExternalStore:function(e,t,n){return vp="useSyncExternalStore",xp(),Dp(e,t,n)},useId:function(){return vp="useId",xp(),wh()},unstable_isNewReconciler:w},Ph={readContext:function(e){return ff(e)},useCallback:function(e,t){return vp="useCallback",xp(),lh(e,t)},useContext:function(e){return vp="useContext",xp(),ff(e)},useEffect:function(e,t){return vp="useEffect",xp(),Qp(e,t)},useImperativeHandle:function(e,t,n){return vp="useImperativeHandle",xp(),oh(e,t,n)},useInsertionEffect:function(e,t){return vp="useInsertionEffect",xp(),Zp(e,t)},useLayoutEffect:function(e,t){return vp="useLayoutEffect",xp(),th(e,t)},useMemo:function(e,t){vp="useMemo",xp();var n=ap.current;ap.current=Mh;try{return ch(e,t)}finally{ap.current=n}},useReducer:function(e,t,n){vp="useReducer",xp();var r=ap.current;ap.current=Mh;try{return jp(e)}finally{ap.current=r}},useRef:function(e){return vp="useRef",xp(),qp()},useState:function(e){vp="useState",xp();var t=ap.current;ap.current=Mh;try{return Wp()}finally{ap.current=t}},useDebugValue:function(e,t){return vp="useDebugValue",xp(),ah()},useDeferredValue:function(e){return vp="useDeferredValue",xp(),fh(e)},useTransition:function(){return vp="useTransition",xp(),gh()},useMutableSource:function(e,t,n){vp="useMutableSource",xp()},useSyncExternalStore:function(e,t,n){return vp="useSyncExternalStore",xp(),Lp(e,t)},useId:function(){return vp="useId",xp(),xh()},unstable_isNewReconciler:w},Ah={readContext:function(e){return ff(e)},useCallback:function(e,t){return vp="useCallback",xp(),lh(e,t)},useContext:function(e){return vp="useContext",xp(),ff(e)},useEffect:function(e,t){return vp="useEffect",xp(),Qp(e,t)},useImperativeHandle:function(e,t,n){return vp="useImperativeHandle",xp(),oh(e,t,n)},useInsertionEffect:function(e,t){return vp="useInsertionEffect",xp(),Zp(e,t)},useLayoutEffect:function(e,t){return vp="useLayoutEffect",xp(),th(e,t)},useMemo:function(e,t){vp="useMemo",xp();var n=ap.current;ap.current=Dh;try{return ch(e,t)}finally{ap.current=n}},useReducer:function(e,t,n){vp="useReducer",xp();var r=ap.current;ap.current=Dh;try{return Mp(e)}finally{ap.current=r}},useRef:function(e){return vp="useRef",xp(),qp()},useState:function(e){vp="useState",xp();var t=ap.current;ap.current=Dh;try{return Hp()}finally{ap.current=t}},useDebugValue:function(e,t){return vp="useDebugValue",xp(),ah()},useDeferredValue:function(e){return vp="useDeferredValue",xp(),ph(e)},useTransition:function(){return vp="useTransition",xp(),yh()},useMutableSource:function(e,t,n){vp="useMutableSource",xp()},useSyncExternalStore:function(e,t,n){return vp="useSyncExternalStore",xp(),Lp(e,t)},useId:function(){return vp="useId",xp(),xh()},unstable_isNewReconciler:w},jh={readContext:function(e){return Lh(),ff(e)},useCallback:function(e,t){return vp="useCallback",Ih(),wp(),sh(e,t)},useContext:function(e){return vp="useContext",Ih(),wp(),ff(e)},useEffect:function(e,t){return vp="useEffect",Ih(),wp(),Xp(e,t)},useImperativeHandle:function(e,t,n){return vp="useImperativeHandle",Ih(),wp(),rh(e,t,n)},useInsertionEffect:function(e,t){return vp="useInsertionEffect",Ih(),wp(),Jp(e,t)},useLayoutEffect:function(e,t){return vp="useLayoutEffect",Ih(),wp(),eh(e,t)},useMemo:function(e,t){vp="useMemo",Ih(),wp();var n=ap.current;ap.current=jh;try{return uh(e,t)}finally{ap.current=n}},useReducer:function(e,t,n){vp="useReducer",Ih(),wp();var r=ap.current;ap.current=jh;try{return Ap(e,t,n)}finally{ap.current=r}},useRef:function(e){return vp="useRef",Ih(),wp(),Yp(e)},useState:function(e){vp="useState",Ih(),wp();var t=ap.current;ap.current=jh;try{return Bp(e)}finally{ap.current=t}},useDebugValue:function(e,t){vp="useDebugValue",Ih(),wp()},useDeferredValue:function(e){return vp="useDeferredValue",Ih(),wp(),dh(e)},useTransition:function(){return vp="useTransition",Ih(),wp(),vh()},useMutableSource:function(e,t,n){vp="useMutableSource",Ih(),wp()},useSyncExternalStore:function(e,t,n){return vp="useSyncExternalStore",Ih(),wp(),Dp(e,t,n)},useId:function(){return vp="useId",Ih(),wp(),wh()},unstable_isNewReconciler:w},Mh={readContext:function(e){return Lh(),ff(e)},useCallback:function(e,t){return vp="useCallback",Ih(),xp(),lh(e,t)},useContext:function(e){return vp="useContext",Ih(),xp(),ff(e)},useEffect:function(e,t){return vp="useEffect",Ih(),xp(),Qp(e,t)},useImperativeHandle:function(e,t,n){return vp="useImperativeHandle",Ih(),xp(),oh(e,t,n)},useInsertionEffect:function(e,t){return vp="useInsertionEffect",Ih(),xp(),Zp(e,t)},useLayoutEffect:function(e,t){return vp="useLayoutEffect",Ih(),xp(),th(e,t)},useMemo:function(e,t){vp="useMemo",Ih(),xp();var n=ap.current;ap.current=Mh;try{return ch(e,t)}finally{ap.current=n}},useReducer:function(e,t,n){vp="useReducer",Ih(),xp();var r=ap.current;ap.current=Mh;try{return jp(e)}finally{ap.current=r}},useRef:function(e){return vp="useRef",Ih(),xp(),qp()},useState:function(e){vp="useState",Ih(),xp();var t=ap.current;ap.current=Mh;try{return Wp()}finally{ap.current=t}},useDebugValue:function(e,t){return vp="useDebugValue",Ih(),xp(),ah()},useDeferredValue:function(e){return vp="useDeferredValue",Ih(),xp(),fh(e)},useTransition:function(){return vp="useTransition",Ih(),xp(),gh()},useMutableSource:function(e,t,n){vp="useMutableSource",Ih(),xp()},useSyncExternalStore:function(e,t,n){return vp="useSyncExternalStore",Ih(),xp(),Lp(e,t)},useId:function(){return vp="useId",Ih(),xp(),xh()},unstable_isNewReconciler:w},Dh={readContext:function(e){return Lh(),ff(e)},useCallback:function(e,t){return vp="useCallback",Ih(),xp(),lh(e,t)},useContext:function(e){return vp="useContext",Ih(),xp(),ff(e)},useEffect:function(e,t){return vp="useEffect",Ih(),xp(),Qp(e,t)},useImperativeHandle:function(e,t,n){return vp="useImperativeHandle",Ih(),xp(),oh(e,t,n)},useInsertionEffect:function(e,t){return vp="useInsertionEffect",Ih(),xp(),Zp(e,t)},useLayoutEffect:function(e,t){return vp="useLayoutEffect",Ih(),xp(),th(e,t)},useMemo:function(e,t){vp="useMemo",Ih(),xp();var n=ap.current;ap.current=Mh;try{return ch(e,t)}finally{ap.current=n}},useReducer:function(e,t,n){vp="useReducer",Ih(),xp();var r=ap.current;ap.current=Mh;try{return Mp(e)}finally{ap.current=r}},useRef:function(e){return vp="useRef",Ih(),xp(),qp()},useState:function(e){vp="useState",Ih(),xp();var t=ap.current;ap.current=Mh;try{return Hp()}finally{ap.current=t}},useDebugValue:function(e,t){return vp="useDebugValue",Ih(),xp(),ah()},useDeferredValue:function(e){return vp="useDeferredValue",Ih(),xp(),ph(e)},useTransition:function(){return vp="useTransition",Ih(),xp(),yh()},useMutableSource:function(e,t,n){vp="useMutableSource",Ih(),xp()},useSyncExternalStore:function(e,t,n){return vp="useSyncExternalStore",Ih(),xp(),Lp(e,t)},useId:function(){return vp="useId",Ih(),xp(),xh()},unstable_isNewReconciler:w};var zh=t.unstable_now,Vh=0,Uh=-1,Fh=-1,Bh=-1,Wh=!1,Hh=!1;function $h(){return Wh}function Yh(){return Vh}function qh(){Vh=zh()}function Kh(e){Fh=zh(),e.actualStartTime<0&&(e.actualStartTime=zh())}function Gh(e){Fh=-1}function Xh(e,t){if(Fh>=0){var n=zh()-Fh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Fh=-1}}function Qh(e){if(Uh>=0){var t=zh()-Uh;Uh=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:return void(n.stateNode.effectDuration+=t);case c:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Jh(e){if(Bh>=0){var t=zh()-Bh;Bh=-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 c:var o=n.stateNode;return void(null!==o&&(o.passiveEffectDuration+=t))}n=n.return}}}function Zh(){Uh=zh()}function em(){Bh=zh()}function tm(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function nm(e,t){if(e&&e.defaultProps){var n=_e({},t),r=e.defaultProps;for(var o in r)void 0===n[o]&&(n[o]=r[o]);return n}return t}var rm,om,im,am,sm,lm,um,cm,dm,fm,pm,hm={};rm=new Set,om=new Set,im=new Set,am=new Set,cm=new Set,sm=new Set,dm=new Set,fm=new Set,pm=new Set;var mm=new Set;function vm(e,t,n,r){var o=e.memoizedState,i=n(r,o);if(8&e.mode){no(!0);try{i=n(r,o)}finally{no(!1)}}lm(t,i);var a=null==i?o:_e({},o,i);(e.memoizedState=a,0===e.lanes)&&(e.updateQueue.baseState=a)}um=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;mm.has(n)||(mm.add(n),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},lm=function(e,t){if(void 0===t){var n=Ie(e)||"Component";sm.has(n)||(sm.add(n),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(hm,"_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(hm);var gm={isMounted:function(e){var t=Sr.current;if(null!==t&&1===t.tag){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||i("%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=By(),i=Wy(r),a=Cf(o,i);a.payload=t,null!=n&&(um(n,"setState"),a.callback=n);var s=Tf(r,a,i);null!==s&&($y(s,r,i,o),Of(s,r,i)),xo(r,i)},enqueueReplaceState:function(e,t,n){var r=tr(e),o=By(),i=Wy(r),a=Cf(o,i);a.tag=1,a.payload=t,null!=n&&(um(n,"replaceState"),a.callback=n);var s=Tf(r,a,i);null!==s&&($y(s,r,i,o),Of(s,r,i)),xo(r,i)},enqueueForceUpdate:function(e,t){var n=tr(e),r=By(),o=Wy(n),i=Cf(r,o);i.tag=_f,null!=t&&(um(t,"forceUpdate"),i.callback=t);var a=Tf(n,i,o);null!==a&&($y(a,n,o,r),Of(a,n,o)),function(e,t){null!==Jr&&"function"==typeof Jr.markForceUpdateScheduled&&Jr.markForceUpdateScheduled(e,t)}(n,o)}};function ym(e,t,n,r,o,a,s){var l=e.stateNode;if("function"==typeof l.shouldComponentUpdate){var u=l.shouldComponentUpdate(r,a,s);if(8&e.mode){no(!0);try{u=l.shouldComponentUpdate(r,a,s)}finally{no(!1)}}return void 0===u&&i("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ie(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!Ms(n,r)||!Ms(o,a))}function bm(e,t){var n;t.updater=gm,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=hm}function wm(e,t,n){var r=!1,o=mc,a=mc,s=t.contextType;if("contextType"in t&&(!(null===s||void 0!==s&&s.$$typeof===ae&&void 0===s._context)&&!fm.has(t))){fm.add(t);var l="";l=void 0===s?" 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 s?" However, it is set to a "+typeof s+".":s.$$typeof===ie?" Did you accidentally pass the Context.Provider instead?":void 0!==s._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ie(t)||"Component",l)}if("object"==typeof s&&null!==s)a=ff(s);else{o=bc(0,t,!0);var u=t.contextTypes;a=(r=null!=u)?xc(e,o):mc}var c=new t(n,a);if(8&e.mode){no(!0);try{c=new t(n,a)}finally{no(!1)}}var d=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(bm(e,c),"function"==typeof t.getDerivedStateFromProps&&null===d){var f=Ie(t)||"Component";om.has(f)||(om.add(f),i("`%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=Ie(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";am.has(v)||(am.add(v),i("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&&wc(e,o,a),c}function xm(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 a=Ve(e)||"Component";rm.has(a)||(rm.add(a),i("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),gm.enqueueReplaceState(t,t.state,null)}}function _m(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=Ie(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):i("%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||i("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&&i("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&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),!t.childContextTypes||pm.has(t)||8&e.mode||(pm.add(t),i("%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||pm.has(t)||8&e.mode||(pm.add(t),i("%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&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!dm.has(t)&&(dm.add(t),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&i("%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&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ie(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&i("%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&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var a=r.props!==n;void 0!==r.props&&a&&i("%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&&i("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||im.has(t)||(im.add(t),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ie(t))),"function"==typeof r.getDerivedStateFromProps&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var s=r.state;s&&("object"!=typeof s||xt(s))&&i("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&i("%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={},Sf(e);var a=t.contextType;if("object"==typeof a&&null!==a)o.context=ff(a);else{var s=bc(0,t,!0);o.context=xc(e,s)}if(o.state===n){var l=Ie(t)||"Component";cm.has(l)||(cm.add(l),i("%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.",l))}8&e.mode&&Cd.recordLegacyContextWarning(e,o),Cd.recordUnsafeLifecycleWarnings(e,o),o.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(vm(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&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ve(e)||"Component"),gm.enqueueReplaceState(t,t.state,null))}(e,o),Pf(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=4;c|=vr,0!==(e.mode&_o)&&(c|=gr),e.flags|=c}}function km(e,t){return{value:e,source:t,stack:De(t),digest:null}}function Sm(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Em(e,t){try{0;var n=t.value,r=t.source,o=t.stack,i=null!==o?o:"";if(null!=n&&n._suppressLogging){if(1===e.tag)return;console.error(n)}var a=r?Ve(r):null,s=(a?"The above error occurred in the <"+a+"> component:":"The above error occurred in one of your React components:")+"\n"+i+"\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(s)}catch(lx){setTimeout(function(){throw lx})}}var Cm="function"==typeof WeakMap?WeakMap:Map;function Tm(e,t,n){var r=Cf(ii,n);r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){gb(o),Em(e,t)},r}function Om(e,t,n){var r=Cf(ii,n);r.tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var a=t.value;r.payload=function(){return o(a)},r.callback=function(){Hb(e),Em(e,t)}}var s=e.stateNode;return null!==s&&"function"==typeof s.componentDidCatch&&(r.callback=function(){var n;Hb(e),Em(e,t),"function"!=typeof o&&(n=this,null===Sy?Sy=new Set([n]):Sy.add(n));var r=t.value,a=t.stack;this.componentDidCatch(r,{componentStack:null!==a?a:""}),"function"!=typeof o&&(xi(e.lanes,To)||i("%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 Rm(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new Cm,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 i=wb.bind(null,e,t,n);to&&Pb(e,n),t.then(i,i)}}function Nm(e){var t=e;do{if(t.tag===d&&Zf(t))return t;t=t.return}while(null!==t);return null}function Pm(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=h;else{var i=Cf(ii,To);i.tag=_f,Tf(n,i,To)}n.lanes=ki(n.lanes,To)}return e}return e.flags|=fr,e.lanes=o,e}function Am(e,t,n,r,o){if(n.flags|=dr,to&&Pb(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var i=r;!function(e){var t=e.tag;if(!(1&e.mode||0!==t&&t!==u&&t!==p)){var n=e.alternate;n?(e.updateQueue=n.updateQueue,e.memoizedState=n.memoizedState,e.lanes=n.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),kd()&&1&n.mode&&od();var a=Nm(t);if(null!==a)return a.flags&=-257,Pm(a,t,n,0,o),1&a.mode&&Rm(e,i,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)}(a,0,i);if(0===(o&To))return Rm(e,i,o),void lb();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(kd()&&1&n.mode){od();var s=Nm(t);if(null!==s)return 0===(s.flags&fr)&&(s.flags|=or),Pm(s,t,n,0,o),void Sd(km(r,n))}!function(e){ly!==Zg&&(ly=Qg);null===py?py=[e]:py.push(e)}(r=km(r,n));var l=t;do{switch(l.tag){case 3:var c=r;l.flags|=fr;var d=yi(o);return l.lanes=ki(l.lanes,d),void Rf(l,Tm(l,c,d));case 1:var f=r,h=l.type,m=l.stateNode;if(0===(l.flags&rr)&&("function"==typeof h.getDerivedStateFromError||null!==m&&"function"==typeof m.componentDidCatch&&!vb(m))){l.flags|=fr;var v=yi(o);return l.lanes=ki(l.lanes,v),void Rf(l,Om(l,f,v))}}l=l.return}while(null!==l)}var jm,Mm,Dm,Lm,Im,zm,Vm,Um,Fm,Bm=n.ReactCurrentOwner,Wm=!1;function Hm(e,t,n,r){t.child=null===e?Gd(t,null,n,r):Kd(t,e.child,n,r)}function $m(e,t,n,r,o){if(t.type!==t.elementType){var i=n.propTypes;i&&sc(i,r,"prop",Ie(n))}var a,s,l=n.render,u=t.ref;if(df(t,o),ao(t),Bm.current=t,qe(!0),a=Ep(e,t,l,r,u,o),s=Cp(),8&t.mode){no(!0);try{a=Ep(e,t,l,r,u,o),s=Cp()}finally{no(!1)}}return qe(!1),so(),null===e||Wm?(kd()&&s&&Gc(t),t.flags|=1,Hm(e,t,a,o),t.child):(Tp(e,t,o),_v(e,t,o))}function Ym(e,t,n,r,o){if(null===e){var a=n.type;if(function(e){return"function"==typeof e&&!Zb(e)&&void 0===e.defaultProps}(a)&&null===n.compare&&void 0===n.defaultProps){var s;return s=Ub(a),t.tag=p,t.type=s,nv(t,a),qm(e,t,s,r,o)}var l=a.propTypes;if(l&&sc(l,r,"prop",Ie(a)),void 0!==n.defaultProps){var u=Ie(a)||"Unknown";Fm[u]||(i("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",u),Fm[u]=!0)}var c=nw(n.type,null,r,t,t.mode,o);return c.ref=t.ref,c.return=t,t.child=c,c}var d=n.type,f=d.propTypes;f&&sc(f,r,"prop",Ie(d));var h=e.child;if(!kv(e,o)){var m=h.memoizedProps,v=n.compare;if((v=null!==v?v:Ms)(m,r)&&e.ref===t.ref)return _v(e,t,o)}t.flags|=1;var g=ew(h,r);return g.ref=t.ref,g.return=t,t.child=g,g}function qm(e,t,n,r,o){if(t.type!==t.elementType){var i=t.elementType;if(i.$$typeof===de){var a=i,s=a._payload,l=a._init;try{i=l(s)}catch(d){i=null}var u=i&&i.propTypes;u&&sc(u,r,"prop",Ie(i))}}if(null!==e){var c=e.memoizedProps;if(Ms(c,r)&&e.ref===t.ref&&t.type===e.type){if(Wm=!1,t.pendingProps=r=c,!kv(e,o))return t.lanes=e.lanes,_v(e,t,o);0!==(e.flags&pr)&&(Wm=!0)}}return Xm(e,t,n,r,o)}function Km(e,t,n){var r,o=t.pendingProps,i=o.children,a=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(1&t.mode){if(!xi(n,ri)){var s;if(null!==a)s=ki(a.baseLanes,n);else s=n;t.lanes=t.childLanes=ri;var l={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=l,t.updateQueue=null,tb(t,s),null}var u={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=u,tb(t,null!==a?a.baseLanes:n)}else{var c={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=c,tb(t,n)}else null!==a?(r=ki(a.baseLanes,n),t.memoizedState=null):r=n,tb(t,r);return Hm(e,t,i,n),t.child}function Gm(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=ir,t.flags|=mr)}function Xm(e,t,n,r,o){if(t.type!==t.elementType){var i=n.propTypes;i&&sc(i,r,"prop",Ie(n))}var a,s,l;if(a=xc(t,bc(0,n,!0)),df(t,o),ao(t),Bm.current=t,qe(!0),s=Ep(e,t,n,r,a,o),l=Cp(),8&t.mode){no(!0);try{s=Ep(e,t,n,r,a,o),l=Cp()}finally{no(!1)}}return qe(!1),so(),null===e||Wm?(kd()&&l&&Gc(t),t.flags|=1,Hm(e,t,s,o),t.child):(Tp(e,t,o),_v(e,t,o))}function Qm(e,t,n,r,o){switch(kw(t)){case!1:var a=t.stateNode,s=new(0,t.type)(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,s,null);break;case!0:t.flags|=rr,t.flags|=fr;var l=new Error("Simulated error coming from DevTools"),u=yi(o);t.lanes=ki(t.lanes,u),Rf(t,Om(t,km(l,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&sc(c,r,"prop",Ie(n))}var d,f;kc(n)?(d=!0,Oc(t)):d=!1,df(t,o),null===t.stateNode?(xv(e,t),wm(t,n,r),_m(t,n,r,o),f=!0):f=null===e?function(e,t,n,r){var o=e.stateNode,i=e.memoizedProps;o.props=i;var a=o.context,s=t.contextType,l=mc;l="object"==typeof s&&null!==s?ff(s):xc(e,bc(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||i===n&&a===l||xm(e,o,n,l),jf();var d=e.memoizedState,f=o.state=d;if(Pf(e,n,o,r),f=e.memoizedState,i===n&&d===f&&!_c()&&!Mf()){if("function"==typeof o.componentDidMount){var p=4;p|=vr,0!==(e.mode&_o)&&(p|=gr),e.flags|=p}return!1}"function"==typeof u&&(vm(e,t,u,n),f=e.memoizedState);var h=Mf()||ym(e,t,i,n,d,f,l);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&_o)&&(m|=gr),e.flags|=m}}else{if("function"==typeof o.componentDidMount){var v=4;v|=vr,0!==(e.mode&_o)&&(v|=gr),e.flags|=v}e.memoizedProps=n,e.memoizedState=f}return o.props=n,o.state=f,o.context=l,h}(t,n,r,o):function(e,t,n,r,o){var i=t.stateNode;Ef(e,t);var a=t.memoizedProps,s=t.type===t.elementType?a:nm(t.type,a);i.props=s;var l=t.pendingProps,u=i.context,c=n.contextType,d=mc;d="object"==typeof c&&null!==c?ff(c):xc(t,bc(0,n,!0));var f=n.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate;p||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||a===l&&u===d||xm(t,i,r,d),jf();var h=t.memoizedState,m=i.state=h;if(Pf(t,r,i,o),m=t.memoizedState,a===l&&h===m&&!_c()&&!Mf())return"function"==typeof i.componentDidUpdate&&(a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof i.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&h===e.memoizedState||(t.flags|=ar)),!1;"function"==typeof f&&(vm(t,n,f,r),m=t.memoizedState);var v=Mf()||ym(t,n,s,r,h,m,d)||x;return v?(p||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,d),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,d)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=ar)):("function"==typeof i.componentDidUpdate&&(a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof i.getSnapshotBeforeUpdate&&(a===e.memoizedProps&&h===e.memoizedState||(t.flags|=ar)),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=d,v}(e,t,n,r,o);var p=Jm(e,t,n,f,d,o),h=t.stateNode;return f&&h.props!==r&&(zm||i("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"),zm=!0),p}function Jm(e,t,n,r,o,i){Gm(e,t);var a=0!==(t.flags&rr);if(!r&&!a)return o&&Rc(t,n,!1),_v(e,t,i);var s,l=t.stateNode;if(Bm.current=t,a&&"function"!=typeof n.getDerivedStateFromError)s=null,Gh();else{if(ao(t),qe(!0),s=l.render(),8&t.mode){no(!0);try{l.render()}finally{no(!1)}}qe(!1),so()}return t.flags|=1,null!==e&&a?function(e,t,n,r){t.child=Kd(t,e.child,null,r),t.child=Kd(t,null,n,r)}(e,t,s,i):Hm(e,t,s,i),t.memoizedState=l.state,o&&Rc(t,n,!0),t.child}function Zm(e){var t=e.stateNode;t.pendingContext?Cc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Cc(e,t.context,!1),Bf(e,t.containerInfo)}function ev(e,t,n,r,o){return xd(),Sd(o),t.flags|=or,Hm(e,t,n,r),t.child}function tv(e,t,n,r){xv(e,t);var o=t.pendingProps,i=n,a=i._payload,s=(0,i._init)(a);t.type=s;var l=t.tag=function(e){if("function"==typeof e)return Zb(e)?1:0;if(null!=e){var t=e.$$typeof;if(t===se)return u;if(t===ce)return f}return 2}(s),c=nm(s,o);switch(l){case 0:return nv(t,s),t.type=s=Ub(s),Xm(null,t,s,c,r);case 1:return t.type=s=Fb(s),Qm(null,t,s,c,r);case u:return t.type=s=Bb(s),$m(null,t,s,c,r);case f:if(t.type!==t.elementType){var d=s.propTypes;d&&sc(d,c,"prop",Ie(s))}return Ym(null,t,s,nm(s.type,c),r)}var p="";throw null!==s&&"object"==typeof s&&s.$$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: "+s+". Lazy element type must resolve to a class or function."+p)}function nv(e,t){if(t&&t.childContextTypes&&i("%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||"",a=e._debugSource;a&&(o=a.fileName+":"+a.lineNumber),Im[o]||(Im[o]=!0,i("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 s=Ie(t)||"Unknown";Fm[s]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",s),Fm[s]=!0)}if("function"==typeof t.getDerivedStateFromProps){var l=Ie(t)||"Unknown";Lm[l]||(i("%s: Function components do not support getDerivedStateFromProps.",l),Lm[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var u=Ie(t)||"Unknown";Dm[u]||(i("%s: Function components do not support contextType.",u),Dm[u]=!0)}}jm={},Mm={},Dm={},Lm={},Im={},zm=!1,Vm={},Um={},Fm={};var rv={dehydrated:null,treeContext:null,retryLane:0};function ov(e){return{baseLanes:e,cachePool:null,transitions:null}}function iv(e,t,n){var r=t.pendingProps;Sw(t)&&(t.flags|=rr);var o=qf.current,a=!1,s=0!==(t.flags&rr);if(s||function(e,t){return(null===t||null!==t.memoizedState)&&Kf(e,2)}(o,e)?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o=o|1),Qf(t,o=Gf(o)),null===e){hd(t);var l=t.memoizedState;if(null!==l){var u=l.dehydrated;if(null!==u)return function(e,t){1&e.mode?Iu(t)?e.lanes=No:e.lanes=ri:(i("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=To);return null}(t,u)}var c=r.children,d=r.fallback;if(a){var f=function(e,t,n,r){var o,i,a=e.mode,s=e.child,l={mode:"hidden",children:t};1&a||null===s?(o=sv(l,a),i=ow(n,a,r,null)):((o=s).childLanes=0,o.pendingProps=l,2&e.mode&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),i=ow(n,a,r,null));return o.return=e,i.return=e,o.sibling=i,e.child=o,i}(t,c,d,n);return t.child.memoizedState=ov(n),t.memoizedState=rv,f}return av(t,c)}var p=e.memoizedState;if(null!==p){var h=p.dehydrated;if(null!==h)return function(e,t,n,r,o,a,s){if(n){if(t.flags&or)return t.flags&=-257,uv(e,t,s,Sm(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 l=function(e,t,n,r,o){var i=t.mode,a={mode:"visible",children:n},s=sv(a,i),l=ow(r,i,o,null);l.flags|=2,s.return=t,l.return=t,s.sibling=l,t.child=s,!(1&t.mode)||Kd(t,e.child,null,o);return l}(e,t,r.children,r.fallback,s);return t.child.memoizedState=ov(s),t.memoizedState=rv,l}if(td&&i("We should not be hydrating here. This is a bug in React. Please file a bug."),!(1&t.mode))return uv(e,t,s,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,uv(e,t,s,Sm(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=xi(s,e.childLanes);if(Wm||p){var h=Fy();if(null!==h){var m=function(e,t){var n;switch(gi(t)){case Ro:n=Oo;break;case Po:n=No;break;case 64:case 128:case 256:case 512:case Mo:case Do:case Lo:case Io:case zo:case Vo:case Uo:case Fo:case Bo:case Wo:case Ho:case $o:case qo:case Ko:case Go:case Xo:case Qo:n=Ao;break;case ni:n=ti;break;default:n=0}return 0!==(n&(e.suspendedLanes|t))?0:n}(h,s);if(0!==m&&m!==a.retryLane){a.retryLane=m;var v=ii;vf(e,m),$y(h,e,m,v)}}return lb(),uv(e,t,s,Sm(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=_b.bind(null,e);return b=g,o._reactRetry=b,null}ad(t,o,a.treeContext);var y=av(t,r.children);return y.flags|=lr,y;var b}(e,t,s,r,h,p,n)}if(a){var m=r.fallback,v=function(e,t,n,r,o){var i,a,s=t.mode,l=e.child,u=l.sibling,c={mode:"hidden",children:n};if(1&s||t.child===l)(i=lv(l,c)).subtreeFlags=l.subtreeFlags&kr;else{(i=t.child).childLanes=0,i.pendingProps=c,2&t.mode&&(i.actualDuration=0,i.actualStartTime=-1,i.selfBaseDuration=l.selfBaseDuration,i.treeBaseDuration=l.treeBaseDuration),t.deletions=null}null!==u?a=ew(u,r):(a=ow(r,s,o,null)).flags|=2;return a.return=t,i.return=t,i.sibling=a,t.child=i,a}(e,t,r.children,m,n),g=t.child,y=e.child.memoizedState;return g.memoizedState=null===y?ov(n):function(e,t){return{baseLanes:ki(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(y,n),g.childLanes=function(e,t){return Si(e.childLanes,t)}(e,n),t.memoizedState=rv,v}var b=function(e,t,n,r){var o=e.child,i=o.sibling,a=lv(o,{mode:"visible",children:n});1&t.mode||(a.lanes=r);if(a.return=t,a.sibling=null,null!==i){var s=t.deletions;null===s?(t.deletions=[i],t.flags|=nr):s.push(i)}return t.child=a,a}(e,t,r.children,n);return t.memoizedState=null,b}function av(e,t,n){var r=sv({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function sv(e,t,n){return iw(e,t,0,null)}function lv(e,t){return ew(e,t)}function uv(e,t,n,r){null!==r&&Sd(r),Kd(t,e.child,null,n);var o=av(t,t.pendingProps.children);return o.flags|=2,t.memoizedState=null,o}function cv(e,t,n){e.lanes=ki(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=ki(r.lanes,t)),uf(e.return,t,n)}function dv(e,t){var n=xt(e),r=!n&&"function"==typeof he(e);if(n||r){var o=n?"array":"iterable";return i("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 fv(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function pv(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail,s=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Vm[e])if(Vm[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":i('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":i('"%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:i('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else i('%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||Um[e]||("collapsed"!==e&&"hidden"!==e?(Um[e]=!0,i('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Um[e]=!0,i('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(a,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(xt(e)){for(var n=0;n<e.length;n++)if(!dv(e[n],n))return}else{var r=he(e);if("function"==typeof r){var o=r.call(e);if(o)for(var a=o.next(),s=0;!a.done;a=o.next()){if(!dv(a.value,s))return;s++}}else i('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)}}(s,o),Hm(e,t,s,n);var l=qf.current;Kf(l,2)?(l=Xf(l,2),t.flags|=rr):(null!==e&&0!==(e.flags&rr)&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===d)null!==r.memoizedState&&cv(r,n,e);else if(r.tag===v)cv(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),l=Gf(l));if(Qf(t,l),1&t.mode)switch(o){case"forwards":var u,c=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===ep(r)&&(n=t),t=t.sibling}return n}(t.child);null===c?(u=t.child,t.child=null):(u=c.sibling,c.sibling=null),fv(t,!1,u,c,a);break;case"backwards":var f=null,p=t.child;for(t.child=null;null!==p;){var h=p.alternate;if(null!==h&&null===ep(h)){t.child=p;break}var m=p.sibling;p.sibling=f,f=p,p=m}fv(t,!0,f,null,a);break;case"together":fv(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}var hv=!1;var mv,vv,gv,yv,bv=!1;function wv(){Wm=!0}function xv(e,t){1&t.mode||null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function _v(e,t,n){return null!==e&&(t.dependencies=e.dependencies),Gh(),sb(t.lanes),xi(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=ew(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=ew(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function kv(e,t){return!!xi(e.lanes,t)}function Sv(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 i=r.deletions;return null===i?(r.deletions=[e],r.flags|=nr):i.push(e),n.flags|=2,n}(e,t,nw(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||_c()||t.type!==e.type)Wm=!0;else{if(!kv(e,n)&&0===(t.flags&rr))return Wm=!1,function(e,t,n){switch(t.tag){case 3:Zm(t),t.stateNode,xd();break;case 5:$f(t);break;case 1:kc(t.type)&&Oc(t);break;case 4:Bf(t,t.stateNode.containerInfo);break;case l:var r=t.memoizedProps.value;sf(t,t.type._context,r);break;case c:xi(n,t.childLanes)&&(t.flags|=4);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case d:var i=t.memoizedState;if(null!==i){if(null!==i.dehydrated)return Qf(t,Gf(qf.current)),t.flags|=rr,null;if(xi(n,t.child.childLanes))return iv(e,t,n);Qf(t,Gf(qf.current));var a=_v(e,t,n);return null!==a?a.sibling:null}Qf(t,Gf(qf.current));break;case v:var s=0!==(e.flags&rr),u=xi(n,t.childLanes);if(s){if(u)return pv(e,t,n);t.flags|=rr}var f=t.memoizedState;if(null!==f&&(f.rendering=null,f.tail=null,f.lastEffect=null),Qf(t,qf.current),u)break;return null;case y:case b:return t.lanes=0,Km(e,t,n)}return _v(e,t,n)}(e,t,n);Wm=0!==(e.flags&pr)}else if(Wm=!1,kd()&&function(e){return Jc(),0!==(e.flags&hr)}(t)){var r=t.index;Kc(t,(Jc(),Uc),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){xv(e,t);var o,a,s,l=t.pendingProps;if(o=xc(t,bc(0,n,!1)),df(t,r),ao(t),n.prototype&&"function"==typeof n.prototype.render){var u=Ie(n)||"Unknown";jm[u]||(i("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),jm[u]=!0)}if(8&t.mode&&Cd.recordLegacyContextWarning(t,null),qe(!0),Bm.current=t,a=Ep(null,t,n,l,o,r),s=Cp(),qe(!1),so(),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){var c=Ie(n)||"Unknown";Mm[c]||(i("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),Mm[c]=!0)}if("object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){var d=Ie(n)||"Unknown";Mm[d]||(i("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),Mm[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var f=!1;return kc(n)?(f=!0,Oc(t)):f=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Sf(t),bm(t,a),_m(t,n,l,r),Jm(null,t,n,!0,f,r)}if(t.tag=0,8&t.mode){no(!0);try{a=Ep(null,t,n,l,o,r),s=Cp()}finally{no(!1)}}return kd()&&s&&Gc(t),Hm(null,t,a,r),nv(t,n),t.child}(e,t,t.type,n);case 16:return tv(e,t,t.elementType,n);case 0:var o=t.type,a=t.pendingProps;return Xm(e,t,o,t.elementType===o?a:nm(o,a),n);case 1:var s=t.type,m=t.pendingProps;return Qm(e,t,s,t.elementType===s?m:nm(s,m),n);case 3:return function(e,t,n){if(Zm(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,o=t.memoizedState,i=o.element;Ef(e,t),Pf(t,r,null,n);var a=t.memoizedState;t.stateNode;var s=a.element;if(o.isDehydrated){var l={element:s,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions};if(t.updateQueue.baseState=l,t.memoizedState=l,t.flags&or)return ev(e,t,s,n,km(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(s!==i)return ev(e,t,s,n,km(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));id(t);var u=Gd(t,null,s,n);t.child=u;for(var c=u;c;)c.flags=-3&c.flags|lr,c=c.sibling}else{if(xd(),s===i)return _v(e,t,n);Hm(e,t,s,n)}return t.child}(e,t,n);case 5:return function(e,t,n){$f(t),null===e&&hd(t);var r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children;return ku(r,o)?a=null:null!==i&&ku(r,i)&&(t.flags|=32),Gm(e,t),Hm(e,t,a,n),t.child}(e,t,n);case 6:return function(e,t){return null===e&&hd(t),null}(e,t);case d:return iv(e,t,n);case 4:return function(e,t,n){Bf(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Kd(t,null,r,n):Hm(e,t,r,n),t.child}(e,t,n);case u:var w=t.type,x=t.pendingProps;return $m(e,t,w,t.elementType===w?x:nm(w,x),n);case 7:return function(e,t,n){return Hm(e,t,t.pendingProps,n),t.child}(e,t,n);case 8:return function(e,t,n){return Hm(e,t,t.pendingProps.children,n),t.child}(e,t,n);case c:return function(e,t,n){t.flags|=4;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,Hm(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,a=t.memoizedProps,s=o.value;"value"in o||hv||(hv=!0,i("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var l=t.type.propTypes;if(l&&sc(l,o,"prop","Context.Provider"),sf(t,r,s),null!==a){var u=a.value;if(js(u,s)){if(a.children===o.children&&!_c())return _v(e,t,n)}else cf(t,r,n)}return Hm(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&&(bv||(bv=!0,i("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&&i("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."),df(t,n);var a,s=ff(r);return ao(t),Bm.current=t,qe(!0),a=o(s),qe(!1),so(),t.flags|=1,Hm(e,t,a,n),t.child}(e,t,n);case f:var _=t.type,k=nm(_,t.pendingProps);if(t.type!==t.elementType){var S=_.propTypes;S&&sc(S,k,"prop",Ie(_))}return Ym(e,t,_,k=nm(_.type,k),n);case p:return qm(e,t,t.type,t.pendingProps,n);case h:var E=t.type,C=t.pendingProps;return function(e,t,n,r,o){var i;return xv(e,t),t.tag=1,kc(n)?(i=!0,Oc(t)):i=!1,df(t,o),wm(t,n,r),_m(t,n,r,o),Jm(null,t,n,!0,i,o)}(e,t,E,t.elementType===E?C:nm(E,C),n);case v:return pv(e,t,n);case g:break;case y:return Km(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 Ev(e){e.flags|=4}function Cv(e){e.flags|=ir,e.flags|=mr}function Tv(e,t){if(!kd())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,i=null;null!==o;)null!==o.alternate&&(i=o),o=o.sibling;null===i?t||null===e.tail?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Ov(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,i=e.child;null!==i;)n=ki(n,ki(i.lanes,i.childLanes)),r|=i.subtreeFlags&kr,r|=i.flags&kr,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(var a=e.child;null!==a;)n=ki(n,ki(a.lanes,a.childLanes)),r|=a.subtreeFlags&kr,r|=a.flags&kr,a.return=e,a=a.sibling;e.subtreeFlags|=r}else{if(2&e.mode){for(var s=e.actualDuration,l=e.selfBaseDuration,u=e.child;null!==u;)n=ki(n,ki(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,s+=u.actualDuration,l+=u.treeBaseDuration,u=u.sibling;e.actualDuration=s,e.treeBaseDuration=l}else for(var c=e.child;null!==c;)n=ki(n,ki(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 Rv(e,t,n){if(td&&null!==ed&&1&t.mode&&0===(t.flags&rr))return wd(t),xd(),t.flags|=98560,!1;var r=bd(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(vd(t),Ov(t),2&t.mode)if(null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(xd(),0===(t.flags&rr)&&(t.memoizedState=null),t.flags|=4,Ov(t),2&t.mode&&null!==n){var i=t.child;null!==i&&(t.treeBaseDuration-=i.treeBaseDuration)}return!1}return _d(),!0}function Nv(e,t,n){var r=t.pendingProps;switch(Qc(t),t.tag){case 2:case 16:case p:case 0:case u:case 7:case 8:case c:case 9:case f:return Ov(t),null;case 1:return kc(t.type)&&Sc(t),Ov(t),null;case 3:var o=t.stateNode;if(Wf(t),Ec(t),np(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)if(bd(t))Ev(t);else if(null!==e)e.memoizedState.isDehydrated&&0===(t.flags&or)||(t.flags|=ar,_d());return vv(e,t),Ov(t),null;case 5:Yf(t);var i=Ff(),a=t.type;if(null!==e&&null!=t.stateNode)gv(e,t,a,r,i),e.ref!==t.ref&&Cv(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 Ov(t),null}var s=Hf();if(bd(t))(function(e,t,n){var r=e.stateNode,o=!nd,i=Uu(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=i,null!==i})(t,0,s)&&Ev(t);else{var m=xu(a,r,i,s,t);mv(m,t,!1,!1),t.stateNode=m,function(e,t,n){switch(Ql(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(m,a,r)&&Ev(t)}null!==t.ref&&Cv(t)}return Ov(t),null;case 6:var w=r;if(e&&null!=t.stateNode){var x=e.memoizedProps;yv(e,t,x,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 _=Ff(),k=Hf();bd(t)?md(t)&&Ev(t):t.stateNode=Su(w,_,k,t)}return Ov(t),null;case d:Jf(t);var S=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Rv(e,t,S))return t.flags&fr?t:null;if(0!==(t.flags&rr))return t.lanes=n,2&t.mode&&tm(t),t;var E=null!==S;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)||Kf(qf.current,1)?ly===Gg&&(ly=Jg):lb();if(null!==t.updateQueue&&(t.flags|=4),Ov(t),2&t.mode&&E){var C=t.child;null!==C&&(t.treeBaseDuration-=C.treeBaseDuration)}return null;case 4:return Wf(t),vv(e,t),null===e&&xl(t.stateNode.containerInfo),Ov(t),null;case l:return lf(t.type._context,t),Ov(t),null;case h:return kc(t.type)&&Sc(t),Ov(t),null;case v:Jf(t);var T=t.memoizedState;if(null===T)return Ov(t),null;var O=0!==(t.flags&rr),R=T.rendering;if(null===R)if(O)Tv(T,!1);else{if(!(ly===Gg&&(null===e||0===(e.flags&rr))))for(var N=t.child;null!==N;){var P=ep(N);if(null!==P){O=!0,t.flags|=rr,Tv(T,!1);var A=P.updateQueue;return null!==A&&(t.updateQueue=A,t.flags|=4),t.subtreeFlags=0,Xd(t,n),Qf(t,Xf(qf.current,2)),t.child}N=N.sibling}null!==T.tail&&zr()>xy()&&(t.flags|=rr,O=!0,Tv(T,!1),t.lanes=Jo)}else{if(!O){var j=ep(R);if(null!==j){t.flags|=rr,O=!0;var M=j.updateQueue;if(null!==M&&(t.updateQueue=M,t.flags|=4),Tv(T,!0),null===T.tail&&"hidden"===T.tailMode&&!R.alternate&&!kd())return Ov(t),null}else 2*zr()-T.renderingStartTime>xy()&&n!==ri&&(t.flags|=rr,O=!0,Tv(T,!1),t.lanes=Jo)}if(T.isBackwards)R.sibling=t.child,t.child=R;else{var D=T.last;null!==D?D.sibling=R:t.child=R,T.last=R}}if(null!==T.tail){var L=T.tail;T.rendering=L,T.tail=L.sibling,T.renderingStartTime=zr(),L.sibling=null;var I=qf.current;return Qf(t,I=O?Xf(I,2):Gf(I)),L}return Ov(t),null;case g:break;case y:case b:nb(t);var z=null!==t.memoizedState;if(null!==e)null!==e.memoizedState!==z&&(t.flags|=ur);return z&&1&t.mode?xi(ay,ri)&&(Ov(t),6&t.subtreeFlags&&(t.flags|=ur)):Ov(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 Pv(e,t,n){switch(Qc(t),t.tag){case 1:kc(t.type)&&Sc(t);var r=t.flags;return r&fr?(t.flags=-65537&r|rr,2&t.mode&&tm(t),t):null;case 3:t.stateNode,Wf(t),Ec(t),np();var o=t.flags;return 0!==(o&fr)&&0===(o&rr)?(t.flags=-65537&o|rr,t):null;case 5:return Yf(t),null;case d:Jf(t);var i=t.memoizedState;if(null!==i&&null!==i.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.");xd()}var a=t.flags;return a&fr?(t.flags=-65537&a|rr,2&t.mode&&tm(t),t):null;case v:return Jf(t),null;case 4:return Wf(t),null;case l:return lf(t.type._context,t),null;case y:case b:return nb(t),null;default:return null}}function Av(e,t,n){switch(Qc(t),t.tag){case 1:var r=t.type.childContextTypes;null!=r&&Sc(t);break;case 3:t.stateNode,Wf(t),Ec(t),np();break;case 5:Yf(t);break;case 4:Wf(t);break;case d:case v:Jf(t);break;case l:lf(t.type._context,t);break;case y:case b:nb(t)}}mv=function(e,t,n,r){for(var o=t.child;null!==o;){if(5===o.tag||6===o.tag)_u(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}},vv=function(e,t){},gv=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var a=function(e,t,n,r,o,i){var a=i;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var s=""+r.children,l=au(a.ancestorInfo,t);iu(null,s,l)}return Jl(e,t,n,r)}(t.stateNode,n,i,r,0,Hf());t.updateQueue=a,a&&Ev(t)}},yv=function(e,t,n,r){n!==r&&Ev(t)};var jv=null;jv=new Set;var Mv=!1,Dv=!1,Lv="function"==typeof WeakSet?WeakSet:Set,Iv=null,zv=null,Vv=null;var Uv=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{Zh(),t.componentWillUnmount()}finally{Qh(e)}else t.componentWillUnmount()};function Fv(e,t){try{Qv(4,e)}catch(n){bb(e,t,n)}}function Bv(e,t,n){try{Uv(e,n)}catch(r){bb(e,t,r)}}function Wv(e,t){try{tg(e)}catch(n){bb(e,t,n)}}function Hv(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(2&e.mode)try{Zh(),r=n(null)}finally{Qh(e)}else r=n(null)}catch(o){bb(e,t,o)}"function"==typeof r&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else n.current=null}function $v(e,t,n){try{n()}catch(r){bb(e,t,r)}}var Yv=!1;function qv(e,t){wu(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):Kv()}}();var n=Yv;return Yv=!1,n}function Kv(){for(;null!==Iv;){var e=Iv;Ye(e);try{Gv(e)}catch(n){bb(e,e.return,n)}$e();var t=e.sibling;if(null!==t)return t.return=e.return,void(Iv=t);Iv=e.return}}function Gv(e){var t,n=e.alternate;if(0!==(e.flags&ar)){switch(Ye(e),e.tag){case 0:case u:case p:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,a=e.stateNode;e.type!==e.elementType||zm||(a.props!==e.memoizedProps&&i("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"),a.state!==e.memoizedState&&i("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 s=a.getSnapshotBeforeUpdate(e.elementType===e.type?r:nm(e.type,r),o),l=jv;void 0!==s||l.has(e.type)||(l.add(e.type),i("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ve(e))),a.__reactInternalSnapshotBeforeUpdate=s}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 h: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 Xv(e,t,n){var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,a=i;do{if((a.tag&e)===e){var s=a.destroy;a.destroy=void 0,void 0!==s&&(8&e?co(t):4&e&&mo(t),2&e&&Lb(!0),$v(t,n,s),2&e&&Lb(!1),8&e?fo():4&e&&vo())}a=a.next}while(a!==i)}}function Qv(e,t){var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next,a=o;do{if((a.tag&e)===e){8&e?lo(t):4&e&&po(t);var s=a.create;2&e&&Lb(!0),a.destroy=s(),2&e&&Lb(!1),8&e?uo():4&e&&ho();var l=a.destroy;if(void 0!==l&&"function"!=typeof l){var u=void 0;i("%s must not return anything besides a function, which is used for clean-up.%s",u=4&a.tag?"useLayoutEffect":2&a.tag?"useInsertionEffect":"useEffect",null===l?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof l.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: "+l)}}a=a.next}while(a!==o)}}function Jv(e,t){if(4&t.flags&&t.tag===c){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,i=r.onPostCommit,a=Yh(),s=null===t.alternate?"mount":"update";$h()&&(s="nested-update"),"function"==typeof i&&i(o,s,n,a);var l=t.return;e:for(;null!==l;){switch(l.tag){case 3:l.stateNode.passiveEffectDuration+=n;break e;case c:l.stateNode.passiveEffectDuration+=n;break e}l=l.return}}}function Zv(e,t,n,r){if(0!==(n.flags&xr))switch(n.tag){case 0:case u:case p:if(!Dv)if(2&n.mode)try{Zh(),Qv(5,n)}finally{Qh(n)}else Qv(5,n);break;case 1:var o=n.stateNode;if(4&n.flags&&!Dv)if(null===t)if(n.type!==n.elementType||zm||(o.props!==n.memoizedProps&&i("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&&i("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{Zh(),o.componentDidMount()}finally{Qh(n)}else o.componentDidMount();else{var a=n.elementType===n.type?t.memoizedProps:nm(n.type,t.memoizedProps),s=t.memoizedState;if(n.type!==n.elementType||zm||(o.props!==n.memoizedProps&&i("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&&i("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{Zh(),o.componentDidUpdate(a,s,o.__reactInternalSnapshotBeforeUpdate)}finally{Qh(n)}else o.componentDidUpdate(a,s,o.__reactInternalSnapshotBeforeUpdate)}var l=n.updateQueue;null!==l&&(n.type!==n.elementType||zm||(o.props!==n.memoizedProps&&i("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&&i("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")),Df(0,l,o));break;case 3:var f=n.updateQueue;if(null!==f){var m=null;if(null!==n.child)switch(n.child.tag){case 5:case 1:m=n.child.stateNode}Df(0,f,m)}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 c:var x=n.memoizedProps,_=x.onCommit,k=x.onRender,S=n.stateNode.effectDuration,E=Yh(),C=null===t?"mount":"update";$h()&&(C="nested-update"),"function"==typeof k&&k(n.memoizedProps.id,C,n.actualDuration,n.treeBaseDuration,n.actualStartTime,E),"function"==typeof _&&_(n.memoizedProps.id,C,S,E),O=n,Oy.push(O),Ey||(Ey=!0,jb(Br,function(){return mb(),null}));var T=n.return;e:for(;null!==T;){switch(T.tag){case 3:T.stateNode.effectDuration+=S;break e;case c:T.stateNode.effectDuration+=S;break e}T=T.return}break;case d:!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 i=o.dehydrated;null!==i&&function(e){ca(e)}(i)}}}}(0,n);break;case v:case h:case g:case y:case b: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;Dv||n.flags&ir&&tg(n)}function eg(e){switch(e.tag){case 0:case u:case p:if(2&e.mode)try{Zh(),Fv(e,e.return)}finally{Qh(e)}else Fv(e,e.return);break;case 1:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(r){bb(e,t,r)}}(e,e.return,t),Wv(e,e.return);break;case 5:Wv(e,e.return)}}function tg(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{Zh(),o=t(n)}finally{Qh(e)}else o=t(n);"function"==typeof o&&i("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ve(e))}else t.hasOwnProperty("current")||i("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ve(e)),t.current=n}}function ng(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,ng(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag){var r=e.stateNode;null!==r&&(delete(t=r)[Wu],delete t[Hu],delete t[Yu],delete t[qu],delete t[Ku])}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 rg(e){return 5===e.tag||3===e.tag||4===e.tag}function og(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||rg(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&t.tag!==m;){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 ig(e){var t=function(e){for(var t=e.return;null!==t;){if(rg(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&&(Nu(n),t.flags&=-33),sg(e,og(e),n);break;case 3:case 4:var r=t.stateNode.containerInfo;ag(e,og(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 ag(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&&Xl(n)}(n,o)}else if(4===r);else{var i=e.child;if(null!==i){ag(i,t,n);for(var a=i.sibling;null!==a;)ag(a,t,n),a=a.sibling}}}function sg(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 i=e.child;if(null!==i){sg(i,t,n);for(var a=i.sibling;null!==a;)sg(a,t,n),a=a.sibling}}}var lg=null,ug=!1;function cg(e,t,n){var r,o,i=t;e:for(;null!==i;){switch(i.tag){case 5:lg=i.stateNode,ug=!1;break e;case 3:case 4:lg=i.stateNode.containerInfo,ug=!0;break e}i=i.return}if(null===lg)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");fg(e,t,n),lg=null,ug=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function dg(e,t,n){for(var r=n.child;null!==r;)fg(e,t,r),r=r.sibling}function fg(e,t,n){switch(function(e){if(Gr&&"function"==typeof Gr.onCommitFiberUnmount)try{Gr.onCommitFiberUnmount(Kr,e)}catch(t){eo||(eo=!0,i("React instrumentation encountered an error: %s",t))}}(n),n.tag){case 5:Dv||Hv(n,t);case 6:var r=lg,o=ug;return lg=null,dg(e,t,n),ug=o,void(null!==(lg=r)&&(ug?(k=lg,S=n.stateNode,8===k.nodeType?k.parentNode.removeChild(S):k.removeChild(S)):function(e,t){e.removeChild(t)}(lg,n.stateNode)));case m:return void(null!==lg&&(ug?function(e,t){8===e.nodeType?Pu(e.parentNode,t):1===e.nodeType&&Pu(e,t),ca(e)}(lg,n.stateNode):Pu(lg,n.stateNode)));case 4:var a=lg,s=ug;return lg=n.stateNode.containerInfo,ug=!0,dg(e,t,n),lg=a,void(ug=s);case 0:case u:case f:case p:if(!Dv){var l=n.updateQueue;if(null!==l){var c=l.lastEffect;if(null!==c){var d=c.next,h=d;do{var v=h,b=v.destroy,w=v.tag;void 0!==b&&(2&w?$v(n,t,b):4&w&&(mo(n),2&n.mode?(Zh(),$v(n,t,b),Qh(n)):$v(n,t,b),vo())),h=h.next}while(h!==d)}}}return void dg(e,t,n);case 1:if(!Dv){Hv(n,t);var x=n.stateNode;"function"==typeof x.componentWillUnmount&&Bv(n,t,x)}return void dg(e,t,n);case g:return void dg(e,t,n);case y:if(1&n.mode){var _=Dv;Dv=_||null!==n.memoizedState,dg(e,t,n),Dv=_}else dg(e,t,n);break;default:return void dg(e,t,n)}var k,S}function pg(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=kb.bind(null,e,t);if(!n.has(t)){if(n.add(t),to){if(null===zv||null===Vv)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Pb(Vv,zv)}t.then(r,r)}})}}function hg(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var i=r[o];try{cg(e,t,i)}catch(l){bb(i,t,l)}}var a=Fe;if(t.subtreeFlags&wr)for(var s=t.child;null!==s;)Ye(s),mg(s,e),s=s.sibling;Ye(a)}function mg(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case u:case f:case p:if(hg(t,e),vg(e),4&o){try{Xv(3,e,e.return),Qv(3,e)}catch(N){bb(e,e.return,N)}if(2&e.mode){try{Zh(),Xv(5,e,e.return)}catch(N){bb(e,e.return,N)}Qh(e)}else try{Xv(5,e,e.return)}catch(N){bb(e,e.return,N)}}return;case 1:return hg(t,e),vg(e),void(o&ir&&null!==r&&Hv(r,r.return));case 5:if(hg(t,e),vg(e),o&ir&&null!==r&&Hv(r,r.return),32&e.flags){var i=e.stateNode;try{Nu(i)}catch(N){bb(e,e.return,N)}}if(4&o){var a=e.stateNode;if(null!=a){var s=e.memoizedProps,l=null!==r?r.memoizedProps:s,c=e.type,h=e.updateQueue;if(e.updateQueue=null,null!==h)try{!function(e,t,n,r,o){Zl(e,t,n,r,o),rc(e,o)}(a,h,c,l,s)}catch(N){bb(e,e.return,N)}}}return;case 6:if(hg(t,e),vg(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 m=e.stateNode,w=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(m,0,w)}catch(N){bb(e,e.return,N)}}return;case 3:if(hg(t,e),vg(e),4&o)if(null!==r)if(r.memoizedState.isDehydrated)try{ca(t.containerInfo)}catch(N){bb(e,e.return,N)}return;case 4:return hg(t,e),void vg(e);case d:hg(t,e),vg(e);var x=e.child;if(x.flags&ur){var _=x.stateNode,k=null!==x.memoizedState;if(_.isHidden=k,k)null!==x.alternate&&null!==x.alternate.memoizedState||(my=zr())}if(4&o){try{!function(e){e.memoizedState}(e)}catch(N){bb(e,e.return,N)}pg(e)}return;case y:var S=null!==r&&null!==r.memoizedState;if(1&e.mode){var E=Dv;Dv=E||S,hg(t,e),Dv=E}else hg(t,e);if(vg(e),o&ur){var C=e.stateNode,T=null!==e.memoizedState,O=e;if(C.isHidden=T,T&&!S&&1&O.mode){Iv=O;for(var R=O.child;null!==R;)Iv=R,wg(R),R=R.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?Au(o):Mu(r.stateNode,r.memoizedProps)}catch(N){bb(e,e.return,N)}}}else if(6===r.tag){if(null===n)try{var i=r.stateNode;t?ju(i):Du(i,r.memoizedProps)}catch(N){bb(e,e.return,N)}}else if((r.tag!==y&&r.tag!==b||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 v:return hg(t,e),vg(e),void(4&o&&pg(e));case g:return;default:return hg(t,e),void vg(e)}}function vg(e){var t=e.flags;if(2&t){try{ig(e)}catch(n){bb(e,e.return,n)}e.flags&=-3}t&lr&&(e.flags&=-4097)}function gg(e,t,n){zv=n,Vv=t,Iv=e,yg(e,t,n),zv=null,Vv=null}function yg(e,t,n){for(var r=!!(1&e.mode);null!==Iv;){var o=Iv,i=o.child;if(o.tag===y&&r){var a=null!==o.memoizedState||Mv;if(a){bg(e,t,n);continue}var s=o.alternate,l=null!==s&&null!==s.memoizedState,u=Mv,c=Dv;Mv=a,(Dv=l||Dv)&&!c&&(Iv=o,_g(o));for(var d=i;null!==d;)Iv=d,yg(d,t,n),d=d.sibling;Iv=o,Mv=u,Dv=c,bg(e,t,n)}else 0!==(o.subtreeFlags&xr)&&null!==i?(i.return=o,Iv=i):bg(e,t,n)}}function bg(e,t,n){for(;null!==Iv;){var r=Iv;if(0!==(r.flags&xr)){var o=r.alternate;Ye(r);try{Zv(0,o,r)}catch(a){bb(r,r.return,a)}$e()}if(r===e)return void(Iv=null);var i=r.sibling;if(null!==i)return i.return=r.return,void(Iv=i);Iv=r.return}}function wg(e){for(;null!==Iv;){var t=Iv,n=t.child;switch(t.tag){case 0:case u:case f:case p:if(2&t.mode)try{Zh(),Xv(4,t,t.return)}finally{Qh(t)}else Xv(4,t,t.return);break;case 1:Hv(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&Bv(t,t.return,r);break;case 5:Hv(t,t.return);break;case y:if(null!==t.memoizedState){xg(e);continue}}null!==n?(n.return=t,Iv=n):xg(e)}}function xg(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 _g(e){for(;null!==Iv;){var t=Iv,n=t.child;if(t.tag===y)if(null!==t.memoizedState){kg(e);continue}null!==n?(n.return=t,Iv=n):kg(e)}}function kg(e){for(;null!==Iv;){var t=Iv;Ye(t);try{eg(t)}catch(r){bb(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 Sg(e,t,n,r){Iv=t,function(e,t,n,r){for(;null!==Iv;){var o=Iv,i=o.child;0!==(o.subtreeFlags&_r)&&null!==i?(i.return=o,Iv=i):Eg(e,t,n,r)}}(t,e,n,r)}function Eg(e,t,n,r){for(;null!==Iv;){var o=Iv;if(0!==(o.flags&sr)){Ye(o);try{Cg(t,o,n,r)}catch(a){bb(o,o.return,a)}$e()}if(o===e)return void(Iv=null);var i=o.sibling;if(null!==i)return i.return=o.return,void(Iv=i);Iv=o.return}}function Cg(e,t,n,r){switch(t.tag){case 0:case u:case p:if(2&t.mode){em();try{Qv(9,t)}finally{Jh(t)}}else Qv(9,t)}}function Tg(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,Ng(o,e)}var i=e.alternate;if(null!==i){var a=i.child;if(null!==a){i.child=null;do{var s=a.sibling;a.sibling=null,a=s}while(null!==a)}}Iv=e}}0!==(e.subtreeFlags&_r)&&null!==t?(t.return=e,Iv=t):Og()}}()}function Og(){for(;null!==Iv;){var e=Iv;0!==(e.flags&sr)&&(Ye(e),Rg(e),$e());var t=e.sibling;if(null!==t)return t.return=e.return,void(Iv=t);Iv=e.return}}function Rg(e){switch(e.tag){case 0:case u:case p:2&e.mode?(em(),Xv(9,e,e.return),Jh(e)):Xv(9,e,e.return)}}function Ng(e,t){for(;null!==Iv;){var n=Iv;Ye(n),Ag(n,t),$e();var r=n.child;null!==r?(r.return=n,Iv=r):Pg(e)}}function Pg(e){for(;null!==Iv;){var t=Iv,n=t.sibling,r=t.return;if(ng(t),t===e)return void(Iv=null);if(null!==n)return n.return=r,void(Iv=n);Iv=r}}function Ag(e,t){switch(e.tag){case 0:case u:case p:2&e.mode?(em(),Xv(8,e,t),Jh(e)):Xv(8,e,t)}}function jg(e){switch(e.tag){case 0:case u:case p:try{Qv(5,e)}catch(n){bb(e,e.return,n)}break;case 1:var t=e.stateNode;try{t.componentDidMount()}catch(n){bb(e,e.return,n)}}}function Mg(e){switch(e.tag){case 0:case u:case p:try{Qv(9,e)}catch(t){bb(e,e.return,t)}}}function Dg(e){switch(e.tag){case 0:case u:case p:try{Xv(5,e,e.return)}catch(n){bb(e,e.return,n)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Bv(e,e.return,t)}}function Lg(e){switch(e.tag){case 0:case u:case p:try{Xv(9,e,e.return)}catch(t){bb(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 zg=[];var Vg=n.ReactCurrentActQueue;function Ug(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===Vg.current||i("The current testing environment is not configured to support act(...)"),e}var Fg=Math.ceil,Bg=n.ReactCurrentDispatcher,Wg=n.ReactCurrentOwner,Hg=n.ReactCurrentBatchConfig,$g=n.ReactCurrentActQueue,Yg=0,qg=2,Kg=4,Gg=0,Xg=1,Qg=2,Jg=3,Zg=4,ey=5,ty=6,ny=Yg,ry=null,oy=null,iy=0,ay=0,sy=fc(0),ly=Gg,uy=null,cy=0,dy=0,fy=0,py=null,hy=null,my=0,vy=500,gy=1/0,yy=500,by=null;function wy(){gy=zr()+yy}function xy(){return gy}var _y=!1,ky=null,Sy=null,Ey=!1,Cy=null,Ty=0,Oy=[],Ry=null,Ny=50,Py=0,Ay=null,jy=!1,My=!1,Dy=50,Ly=0,Iy=null,zy=ii,Vy=0,Uy=!1;function Fy(){return ry}function By(){return(ny&(qg|Kg))!==Yg?zr():zy!==ii?zy:zy=zr()}function Wy(e){if(!(1&e.mode))return To;if((ny&qg)!==Yg&&0!==iy)return yi(iy);if(null!==Ed.transition){if(null!==Hg.transition){var t=Hg.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return 0===Vy&&(Vy=vi()),Vy}var n,r=Bi();return 0!==r?r:void 0===(n=window.event)?Vi:ba(n.type)}function Hy(e){var t;return 1&e.mode?(t=si,!((si<<=1)&Yo)&&(si=qo),t):To}function $y(e,t,n,r){!function(){if(Py>Ny)throw Py=0,Ay=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>Dy&&(Ly=0,Iy=null,i("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."))}(),Uy&&i("useInsertionEffect must not schedule updates."),jy&&(My=!0),Ti(e,n,r),0!==(ny&qg)&&e===ry?function(e){if(Be&&!bh)switch(e.tag){case 0:case u:case p:var t=oy&&Ve(oy)||"Unknown",n=t;if(!Rb.has(n))Rb.add(n),i("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:Nb||(i("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Nb=!0)}}(t):(to&&Ni(e,t,n),function(e){if(1&e.mode){if(!Ug())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(ny!==Yg)return;if(0!==e.tag&&e.tag!==u&&e.tag!==p)return}var t;if(null===$g.current){var n=Fe;try{Ye(e),i("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?Ye(e):$e()}}}(t),e===ry&&((ny&qg)===Yg&&(dy=ki(dy,n)),ly===Zg&&Xy(e,iy)),Yy(e,r),n!==To||ny!==Yg||1&t.mode||$g.isBatchingLegacy||(wy(),Dc()))}function Yy(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=n;a>0;){var s=bi(a),l=1<<s,u=i[s];u===ii?0!==(l&r)&&0===(l&o)||(i[s]=ci(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=ui(e,e===ry?iy:0);if(0===r)return null!==n&&Mb(n),e.callbackNode=null,void(e.callbackPriority=0);var o=gi(r),a=e.callbackPriority;if(a!==o||null!==$g.current&&n!==Ab){var s,l;if(null!=n&&Mb(n),o===To)0===e.tag?(null!==$g.isBatchingLegacy&&($g.didScheduleLegacyUpdate=!0),l=Qy.bind(null,e),Ac=!0,Mc(l)):Mc(Qy.bind(null,e)),null!==$g.current?$g.current.push(Lc):Ou(function(){(ny&(qg|Kg))===Yg&&Lc()}),s=null;else{var u;switch($i(r)){case Ii:u=Ur;break;case zi:u=Fr;break;case Vi:u=Br;break;case Ui:u=Hr;break;default:u=Br}s=jb(u,qy.bind(null,e))}e.callbackPriority=o,e.callbackNode=s}else null==n&&a!==To&&i("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function qy(e,t){if(Wh=!1,Hh=!1,zy=ii,Vy=0,(ny&(qg|Kg))!==Yg)throw new Error("Should not already be working.");var n=e.callbackNode;if(mb()&&e.callbackNode!==n)return null;var r=ui(e,e===ry?iy:0);if(0===r)return null;var o=!hi(0,r)&&!function(e,t){return 0!==(t&e.expiredLanes)}(e,r)&&!t,i=o?function(e,t){var n=ny;ny|=qg;var r=ib();if(ry!==e||iy!==t){if(to){var o=e.memoizedUpdaters;o.size>0&&(Pb(e,iy),o.clear()),Pi(e,t)}by=null,wy(),rb(e,t)}bo(t);for(;;)try{db();break}catch(i){ob(e,i)}return rf(),ab(r),ny=n,null!==oy?(null!==Jr&&"function"==typeof Jr.markRenderYielded&&Jr.markRenderYielded(),Gg):(wo(),ry=null,iy=0,ly)}(e,r):ub(e,r);if(i!==Gg){if(i===Qg){var a=di(e);0!==a&&(r=a,i=Ky(e,a))}if(i===Xg){var s=uy;throw rb(e,0),Xy(e,r),Yy(e,zr()),s}if(i===ty)Xy(e,r);else{var l=!hi(0,r),u=e.current.alternate;if(l&&!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 i=r[o],a=i.getSnapshot,s=i.value;try{if(!js(a(),s))return!1}catch(u){return!1}}}}var l=t.child;if(t.subtreeFlags&cr&&null!==l)l.return=t,t=l;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((i=ub(e,r))===Qg){var c=di(e);0!==c&&(r=c,i=Ky(e,c))}if(i===Xg){var d=uy;throw rb(e,0),Xy(e,r),Yy(e,zr()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case Gg:case Xg:throw new Error("Root did not complete. This is a bug in React.");case Qg:hb(e,hy,by);break;case Jg:if(Xy(e,n),pi(n)&&!Db()){var r=my+vy-zr();if(r>10){if(0!==ui(e,0))break;var o=e.suspendedLanes;if(!_i(o,n)){By(),Oi(e,o);break}e.timeoutHandle=Eu(hb.bind(null,e,hy,by),r);break}}hb(e,hy,by);break;case Zg:if(Xy(e,n),function(e){return(e&jo)===e}(n))break;if(!Db()){var i=function(e,t){for(var n=e.eventTimes,r=ii;t>0;){var o=bi(t),i=1<<o,a=n[o];a>r&&(r=a),t&=~i}return r}(e,n),a=i,s=zr()-a,l=((u=s)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*Fg(u/1960))-s;if(l>10){e.timeoutHandle=Eu(hb.bind(null,e,hy,by),l);break}}hb(e,hy,by);break;case ey:hb(e,hy,by);break;default:throw new Error("Unknown root exit status.")}var u}(e,i,r)}}return Yy(e,zr()),e.callbackNode===n?qy.bind(null,e):null}function Ky(e,t){var n=py;Yi(e)&&(rb(e,t).flags|=or,i("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=ub(e,t);if(r!==Qg){var o=hy;hy=n,null!==o&&Gy(o)}return r}function Gy(e){null===hy?hy=e:hy.push.apply(hy,e)}function Xy(e,t){t=Si(t,fy),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=bi(r),i=1<<o;n[o]=ii,r&=~i}}(e,t=Si(t,dy))}function Qy(e){if(Wh=Hh,Hh=!1,(ny&(qg|Kg))!==Yg)throw new Error("Should not already be working.");mb();var t=ui(e,0);if(!xi(t,To))return Yy(e,zr()),null;var n=ub(e,t);if(0!==e.tag&&n===Qg){var r=di(e);0!==r&&(t=r,n=Ky(e,r))}if(n===Xg){var o=uy;throw rb(e,0),Xy(e,t),Yy(e,zr()),o}if(n===ty)throw new Error("Root did not complete. This is a bug in React.");var i=e.current.alternate;return e.finishedWork=i,e.finishedLanes=t,hb(e,hy,by),Yy(e,zr()),null}function Jy(e,t){var n=ny;ny|=1;try{return e(t)}finally{(ny=n)!==Yg||$g.isBatchingLegacy||(wy(),Dc())}}function Zy(e){null!==Cy&&0===Cy.tag&&(ny&(qg|Kg))===Yg&&mb();var t=ny;ny|=1;var n=Hg.transition,r=Bi();try{return Hg.transition=null,Wi(Ii),e?e():void 0}finally{Wi(r),Hg.transition=n,((ny=t)&(qg|Kg))===Yg&&Lc()}}function eb(){return(ny&(qg|Kg))!==Yg}function tb(e,t){hc(sy,ay,e),ay=ki(ay,t)}function nb(e){ay=sy.current,pc(sy,e)}function rb(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Cu(n)),null!==oy)for(var r=oy.return;null!==r;){r.alternate;Av(0,r),r=r.return}ry=e;var o=ew(e.current,null);return oy=o,iy=ay=t,ly=Gg,uy=null,cy=0,dy=0,fy=0,py=null,hy=null,function(){if(null!==pf){for(var e=0;e<pf.length;e++){var t=pf[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var i=o.next;o.next=r,n.next=i}t.pending=n}}pf=null}}(),Cd.discardPendingWarnings(),o}function ob(e,t){for(;;){var n=oy;try{if(rf(),Op(),$e(),Wg.current=null,null===n||null===n.return)return ly=Xg,uy=t,void(oy=null);2&n.mode&&Xh(n,!0),so(),null!==t&&"object"==typeof t&&"function"==typeof t.then?yo(n,t,iy):go(n,t,iy),Am(e,n.return,n,t,iy),pb(n)}catch(r){t=r,oy===n&&null!==n?(n=n.return,oy=n):n=oy;continue}return}}function ib(){var e=Bg.current;return Bg.current=Oh,null===e?Oh:e}function ab(e){Bg.current=e}function sb(e){cy=ki(e,cy)}function lb(){ly!==Gg&&ly!==Jg&&ly!==Qg||(ly=Zg),null!==ry&&(fi(cy)||fi(dy))&&Xy(ry,iy)}function ub(e,t){var n=ny;ny|=qg;var r=ib();if(ry!==e||iy!==t){if(to){var o=e.memoizedUpdaters;o.size>0&&(Pb(e,iy),o.clear()),Pi(e,t)}by=null,rb(e,t)}for(bo(t);;)try{cb();break}catch(i){ob(e,i)}if(rf(),ny=n,ab(r),null!==oy)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return wo(),ry=null,iy=0,ly}function cb(){for(;null!==oy;)fb(oy)}function db(){for(;null!==oy&&!Lr();)fb(oy)}function fb(e){var t,n=e.alternate;Ye(e),2&e.mode?(Kh(e),t=Cb(n,e,ay),Xh(e,!0)):t=Cb(n,e,ay),$e(),e.memoizedProps=e.pendingProps,null===t?pb(e):oy=t,Wg.current=null}function pb(e){var t=e;do{var n=t.alternate,r=t.return;if(0===(t.flags&dr)){Ye(t);var o=void 0;if(2&t.mode?(Kh(t),o=Nv(n,t,ay),Xh(t,!1)):o=Nv(n,t,ay),$e(),null!==o)return void(oy=o)}else{var i=Pv(0,t);if(null!==i)return i.flags&=32767,void(oy=i);if(2&t.mode){Xh(t,!1);for(var a=t.actualDuration,s=t.child;null!==s;)a+=s.actualDuration,s=s.sibling;t.actualDuration=a}if(null===r)return ly=ty,void(oy=null);r.flags|=dr,r.subtreeFlags=0,r.deletions=null}var l=t.sibling;if(null!==l)return void(oy=l);oy=t=r}while(null!==t);ly===Gg&&(ly=ey)}function hb(e,t,n){var r=Bi(),o=Hg.transition;try{Hg.transition=null,Wi(Ii),function(e,t,n,r){do{mb()}while(null!==Cy);if(function(){Cd.flushLegacyContextWarning(),Cd.flushPendingUnsafeLifecycleWarnings()}(),(ny&(qg|Kg))!==Yg)throw new Error("Should not already be working.");var o=e.finishedWork,a=e.finishedLanes;if(function(e){null!==Jr&&"function"==typeof Jr.markCommitStarted&&Jr.markCommitStarted(e)}(a),null===o)return io(),null;0===a&&i("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 s=ki(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,i=e.expirationTimes,a=n;a>0;){var s=bi(a),l=1<<s;r[s]=0,o[s]=ii,i[s]=ii,a&=~l}})(e,s),e===ry&&(ry=null,oy=null,iy=0);0===(o.subtreeFlags&_r)&&0===(o.flags&_r)||Ey||(Ey=!0,Ry=n,jb(Br,function(){return mb(),null}));var l=!!(15990&o.subtreeFlags),u=!!(15990&o.flags);if(l||u){var c=Hg.transition;Hg.transition=null;var d=Bi();Wi(Ii);var f=ny;ny|=Kg,Wg.current=null,qv(e,o),qh(),function(e,t,n){zv=n,Vv=e,Ye(t),mg(t,e),Ye(t),zv=null,Vv=null}(e,o,a),e.containerInfo,$s(bu),pa(yu),yu=null,bu=null,e.current=o,function(e){null!==Jr&&"function"==typeof Jr.markLayoutEffectsStarted&&Jr.markLayoutEffectsStarted(e)}(a),gg(o,e,a),null!==Jr&&"function"==typeof Jr.markLayoutEffectsStopped&&Jr.markLayoutEffectsStopped(),Ir(),ny=f,Wi(d),Hg.transition=c}else e.current=o,qh();var p=Ey;Ey?(Ey=!1,Cy=e,Ty=a):(Ly=0,Iy=null);s=e.pendingLanes,0===s&&(Sy=null);p||Sb(e.current,!1);(function(e,t){if(Gr&&"function"==typeof Gr.onCommitFiberRoot)try{var n,r=(e.current.flags&rr)===rr;switch(t){case Ii:n=Ur;break;case zi:n=Fr;break;case Vi:n=Br;break;case Ui:n=Hr;break;default:n=Br}Gr.onCommitFiberRoot(Kr,e,n,r)}catch(o){eo||(eo=!0,i("React instrumentation encountered an error: %s",o))}})(o.stateNode,r),to&&e.memoizedUpdaters.clear();if(function(){zg.forEach(function(e){return e()})}(),Yy(e,zr()),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(_y){_y=!1;var b=ky;throw ky=null,b}xi(Ty,To)&&0!==e.tag&&mb();s=e.pendingLanes,xi(s,To)?(Hh=!0,e===Ay?Py++:(Py=0,Ay=e)):Py=0;Lc(),io()}(e,t,n,r)}finally{Hg.transition=o,Wi(r)}return null}function mb(){if(null!==Cy){var e=$i(Ty),t=(o=Vi)>(a=e)?o:a,n=Hg.transition,r=Bi();try{return Hg.transition=null,Wi(t),function(){if(null===Cy)return!1;var e=Ry;Ry=null;var t=Cy,n=Ty;if(Cy=null,Ty=0,(ny&(qg|Kg))!==Yg)throw new Error("Cannot flush passive effects while already rendering.");jy=!0,My=!1,function(e){null!==Jr&&"function"==typeof Jr.markPassiveEffectsStarted&&Jr.markPassiveEffectsStarted(e)}(n);var r=ny;ny|=Kg,Tg(t.current),Sg(t,t.current,n,e);var o=Oy;Oy=[];for(var a=0;a<o.length;a++){Jv(0,o[a])}void(null!==Jr&&"function"==typeof Jr.markPassiveEffectsStopped&&Jr.markPassiveEffectsStopped()),Sb(t.current,!0),ny=r,Lc(),My?t===Iy?Ly++:(Ly=0,Iy=t):Ly=0;jy=!1,My=!1,function(e){if(Gr&&"function"==typeof Gr.onPostCommitFiberRoot)try{Gr.onPostCommitFiberRoot(Kr,e)}catch(t){eo||(eo=!0,i("React instrumentation encountered an error: %s",t))}}(t);var s=t.current.stateNode;return s.effectDuration=0,s.passiveEffectDuration=0,!0}()}finally{Wi(r),Hg.transition=n}}var o,a;return!1}function vb(e){return null!==Sy&&Sy.has(e)}var gb=function(e){_y||(_y=!0,ky=e)};function yb(e,t,n){var r=Tf(e,Tm(e,km(n,t),To),To),o=By();null!==r&&(Ti(r,To,o),Yy(r,o))}function bb(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 yb(o,e,n);if(1===o.tag){var a=o.type,s=o.stateNode;if("function"==typeof a.getDerivedStateFromError||"function"==typeof s.componentDidCatch&&!vb(s)){var l=Tf(o,Om(o,km(n,e),To),To),u=By();return void(null!==l&&(Ti(l,To,u),Yy(l,u)))}}o=o.return}i("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 yb(e,e,n)}function wb(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var o=By();Oi(e,n),function(e){0!==e.tag&&Ug()&&null===$g.current&&i("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),ry===e&&_i(iy,n)&&(ly===Zg||ly===Jg&&pi(iy)&&zr()-my<vy?rb(e,0):fy=ki(fy,n)),Yy(e,o)}function xb(e,t){0===t&&(t=Hy(e));var n=By(),r=vf(e,t);null!==r&&(Ti(r,t,n),Yy(r,n))}function _b(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xb(e,n)}function kb(e,t){var n,r=0;switch(e.tag){case d:n=e.stateNode;var o=e.memoizedState;null!==o&&(r=o.retryLane);break;case v: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),xb(e,r)}function Sb(e,t){Ye(e),Eb(e,gr,Dg),t&&Eb(e,yr,Lg),Eb(e,gr,jg),t&&Eb(e,yr,Mg),$e()}function Eb(e,t,n){for(var r=e,o=null;null!==r;){var i=r.subtreeFlags&t;r!==o&&null!==r.child&&0!==i?r=r.child:(0!==(r.flags&t)&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var Cb,Tb=null;function Ob(e){if((ny&qg)===Yg&&1&e.mode){var t=e.tag;if(2===t||3===t||1===t||0===t||t===u||t===f||t===p){var n=Ve(e)||"ReactComponent";if(null!==Tb){if(Tb.has(n))return;Tb.add(n)}else Tb=new Set([n]);var r=Fe;try{Ye(e),i("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?Ye(e):$e()}}}}Cb=function(e,t,n){var r=lw(null,t);try{return Sv(e,t,n)}catch(i){if(nd||null!==i&&"object"==typeof i&&"function"==typeof i.then)throw i;if(rf(),Op(),Av(0,t),lw(t,r),2&t.mode&&Kh(t),Zn(null,Sv,null,e,t,n),Kn){var o=er();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof i&&null!==i&&!i._suppressLogging&&(i._suppressLogging=!0)}throw i}};var Rb,Nb=!1;function Pb(e,t){to&&e.memoizedUpdaters.forEach(function(n){Ni(e,n,t)})}Rb=new Set;var Ab={};function jb(e,t){var n=$g.current;return null!==n?(n.push(t),Ab):Mr(e,t)}function Mb(e){if(e!==Ab)return Dr(e)}function Db(){return null!==$g.current}function Lb(e){Uy=e}var Ib=null,zb=null,Vb=function(e){Ib=e};function Ub(e){if(null===Ib)return e;var t=Ib(e);return void 0===t?e:t.current}function Fb(e){return Ub(e)}function Bb(e){if(null===Ib)return e;var t=Ib(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Ub(e.render);if(e.render!==n){var r={$$typeof:se,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function Wb(e,t){if(null===Ib)return!1;var n=e.elementType,r=t.type,o=!1,i="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(o=!0);break;case 0:("function"==typeof r||i===de)&&(o=!0);break;case u:(i===se||i===de)&&(o=!0);break;case f:case p:(i===ce||i===de)&&(o=!0);break;default:return!1}if(o){var a=Ib(n);if(void 0!==a&&a===Ib(r))return!0}return!1}function Hb(e){null!==Ib&&"function"==typeof WeakSet&&(null===zb&&(zb=new WeakSet),zb.add(e))}var $b=function(e,t){if(null!==Ib){var n=t.staleFamilies,r=t.updatedFamilies;mb(),Zy(function(){qb(e.current,r,n)})}},Yb=function(e,t){e.context===mc&&(mb(),Zy(function(){yw(t,e,null,null)}))};function qb(e,t,n){var r=e.alternate,o=e.child,i=e.sibling,a=e.tag,s=e.type,l=null;switch(a){case 0:case p:case 1:l=s;break;case u:l=s.render}if(null===Ib)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==l){var f=Ib(l);void 0!==f&&(n.has(f)?d=!0:t.has(f)&&(1===a?d=!0:c=!0))}if(null!==zb&&(zb.has(e)||null!==r&&zb.has(r))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var h=vf(e,To);null!==h&&$y(h,e,To,ii)}null===o||d||qb(o,t,n),null!==i&&qb(i,t,n)}var Kb,Gb=function(e,t){var n=new Set,r=new Set(t.map(function(e){return e.current}));return Xb(e.current,r,n),n};function Xb(e,t,n){var r=e.child,o=e.sibling,i=e.tag,a=e.type,s=null;switch(i){case 0:case p:case 1:s=a;break;case u:s=a.render}var l=!1;null!==s&&t.has(s)&&(l=!0),l?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&&Xb(r,t,n),null!==o&&Xb(o,t,n)}Kb=!1;try{Object.preventExtensions({})}catch(lx){Kb=!0}function Qb(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,Kb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var Jb=function(e,t,n,r){return new Qb(e,t,n,r)};function Zb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function ew(e,t){var n=e.alternate;null===n?((n=Jb(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&kr,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 p:n.type=Ub(e.type);break;case 1:n.type=Fb(e.type);break;case u:n.type=Bb(e.type)}return n}function tw(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 nw(e,t,n,r,o,a){var s=2,p=e;if("function"==typeof e)Zb(e)?(s=1,p=Fb(p)):p=Ub(p);else if("string"==typeof e)s=5;else e:switch(e){case ne:return ow(n.children,o,a,t);case re:s=8,1&(o|=8)&&(o|=_o);break;case oe:return function(e,t,n,r){"string"!=typeof e.id&&i('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=Jb(c,e,r,2|t);return o.elementType=oe,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,a,t);case le:return function(e,t,n,r){var o=Jb(d,e,r,t);return o.elementType=le,o.lanes=n,o}(n,o,a,t);case ue:return function(e,t,n,r){var o=Jb(v,e,r,t);return o.elementType=ue,o.lanes=n,o}(n,o,a,t);case fe:return iw(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ie:s=l;break e;case ae:s=9;break e;case se:s=u,p=Bb(p);break e;case ce:s=f;break e;case de:s=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 m=r?Ve(r):null;throw m&&(h+="\n\nCheck the render method of `"+m+"`."),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=Jb(s,n,t,o);return g.elementType=e,g.type=p,g.lanes=a,g._debugOwner=r,g}function rw(e,t,n){var r;r=e._owner;var o=nw(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function ow(e,t,n,r){var o=Jb(7,e,r,t);return o.lanes=n,o}function iw(e,t,n,r){var o=Jb(y,e,r,t);o.elementType=fe,o.lanes=n;return o.stateNode={isHidden:!1},o}function aw(e,t,n){var r=Jb(6,e,null,t);return r.lanes=n,r}function sw(e,t,n){var r=null!==e.children?e.children:[],o=Jb(4,r,e.key,t);return o.lanes=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function lw(e,t){return null===e&&(e=Jb(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 uw(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=Ci(0),this.expirationTimes=Ci(ii),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=Ci(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var i=this.pendingUpdatersLaneMap=[],a=0;a<Co;a++)i.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function cw(e,t,n,r,o,i,a,s,l,u){var c=new uw(e,t,n,s,l),d=function(e,t){var n;return 1===e?(n=1,!0===t&&(n|=8,n|=_o)):n=0,to&&(n|=2),Jb(3,null,null,n)}(t,i);c.current=d,d.stateNode=c;var f={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return d.memoizedState=f,Sf(d),c}var dw,fw,pw="18.3.1";function hw(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(e){if(N(e))i("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",R(e)),P(e)}(r),{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function mw(e){if(!e)return mc;var t=tr(e),n=Nc(t);if(1===t.tag){var r=t.type;if(kc(r))return Tc(t,r,n)}return n}function vw(e,t,n,r,o,i,a,s){return cw(e,t,!1,null,0,r,0,i,a)}function gw(e,t,n,r,o,i,a,s,l,u){var c=cw(n,r,!0,e,0,i,0,s,l);c.context=mw(null);var d=c.current,f=By(),p=Wy(d),h=Cf(f,p);return h.callback=null!=t?t:null,Tf(d,h,p),function(e,t,n){e.current.lanes=t,Ti(e,t,n),Yy(e,n)}(c,p,f),c}function yw(e,t,n,r){!function(e,t){if(Gr&&"function"==typeof Gr.onScheduleFiberRoot)try{Gr.onScheduleFiberRoot(Kr,e,t)}catch(n){eo||(eo=!0,i("React instrumentation encountered an error: %s",n))}}(t,e);var o=t.current,a=By(),s=Wy(o);!function(e){null!==Jr&&"function"==typeof Jr.markRenderScheduled&&Jr.markRenderScheduled(e)}(s);var l=mw(n);null===t.context?t.context=l:t.pendingContext=l,Be&&null!==Fe&&!dw&&(dw=!0,i("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=Cf(a,s);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&i("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=Tf(o,u,s);return null!==c&&($y(c,o,s,a),Of(c,o,s)),s}function bw(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function ww(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 xw(e,t){ww(e,t);var n=e.alternate;n&&ww(n,t)}function _w(e){var t=Ar(e);return null===t?null:t.stateNode}dw=!1,fw={};var kw=function(e){return null};var Sw=function(e){return!1};var Ew,Cw,Tw,Ow,Rw,Nw,Pw,Aw,jw,Mw=function(e,t,n){var r=t[n],o=xt(e)?e.slice():_e({},e);return n+1===t.length?(xt(o)?o.splice(r,1):delete o[r],o):(o[r]=Mw(e[r],t,n+1),o)},Dw=function(e,t){return Mw(e,t,0)},Lw=function(e,t,n,r){var o=t[r],i=xt(e)?e.slice():_e({},e);r+1===t.length?(i[n[r]]=i[o],xt(i)?i.splice(o,1):delete i[o]):i[o]=Lw(e[o],t,n,r+1);return i},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")},zw=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],i=xt(e)?e.slice():_e({},e);return i[o]=zw(e[o],t,n+1,r),i},Vw=function(e,t,n){return zw(e,t,0,n)},Uw=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Fw(e){var t=Nr(e);return null===t?null:t.stateNode}function Bw(e){return null}function Ww(){return Fe}Ew=function(e,t,n,r){var o=Uw(e,t);if(null!==o){var i=Vw(o.memoizedState,n,r);o.memoizedState=i,o.baseState=i,e.memoizedProps=_e({},e.memoizedProps);var a=vf(e,To);null!==a&&$y(a,e,To,ii)}},Cw=function(e,t,n){var r=Uw(e,t);if(null!==r){var o=Dw(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=_e({},e.memoizedProps);var i=vf(e,To);null!==i&&$y(i,e,To,ii)}},Tw=function(e,t,n,r){var o=Uw(e,t);if(null!==o){var i=Iw(o.memoizedState,n,r);o.memoizedState=i,o.baseState=i,e.memoizedProps=_e({},e.memoizedProps);var a=vf(e,To);null!==a&&$y(a,e,To,ii)}},Ow=function(e,t,n){e.pendingProps=Vw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=vf(e,To);null!==r&&$y(r,e,To,ii)},Rw=function(e,t){e.pendingProps=Dw(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=vf(e,To);null!==n&&$y(n,e,To,ii)},Nw=function(e,t,n){e.pendingProps=Iw(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=vf(e,To);null!==r&&$y(r,e,To,ii)},Pw=function(e){var t=vf(e,To);null!==t&&$y(t,e,To,ii)},Aw=function(e){kw=e},jw=function(e){Sw=e};var Hw="function"==typeof reportError?reportError:function(e){console.error(e)};function $w(e){this._internalRoot=e}function Yw(e){this._internalRoot=e}function qw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Kw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gw(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&i("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."),Ju(e)&&(e._reactRootContainer?i("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):i("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."))}Yw.prototype.render=$w.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?i("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):qw(arguments[1])?i("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]&&i("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=_w(t.current);r&&r.parentNode!==n&&i("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.")}yw(e,t,null,null)},Yw.prototype.unmount=$w.prototype.unmount=function(){"function"==typeof arguments[0]&&i("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;eb()&&i("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."),Zy(function(){yw(null,e,null,null)}),Qu(t)}},Yw.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Di(),n={blockedOn:null,target:e,priority:t},r=0;r<ta.length&&Hi(t,ta[r].priority);r++);ta.splice(r,0,n),0===r&&ia(n)}(e)};var Xw,Qw=n.ReactCurrentOwner;function Jw(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function Zw(){}function ex(e,t,n,r,o){Xw(n),function(e,t){null!==e&&"function"!=typeof e&&i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var a,s=n._reactRootContainer;if(s){if("function"==typeof o){var l=o;o=function(){var e=bw(a);l.call(e)}}yw(t,a=s,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=bw(a);i.call(e)}}var a=gw(t,r,e,0,0,!1,0,"",Zw);return e._reactRootContainer=a,Xu(a.current,e),xl(8===e.nodeType?e.parentNode:e),Zy(),a}for(var s;s=e.lastChild;)e.removeChild(s);if("function"==typeof r){var l=r;r=function(){var e=bw(u);l.call(e)}}var u=vw(e,0,0,!1,0,"",Zw);return e._reactRootContainer=u,Xu(u.current,e),xl(8===e.nodeType?e.parentNode:e),Zy(function(){yw(t,u,n,r)}),u}(n,t,e,o,r);return bw(a)}Xw=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=_w(e._reactRootContainer.current);t&&t.parentNode!==e&&i("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=Jw(e);!(!r||!ec(r))&&!n&&i("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()&&i("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 tx=!1;var nx=!1;Ai=function(e){switch(e.tag){case 3:var t=e.stateNode;if(Yi(t)){var n=function(e){return li(e.pendingLanes)}(t);!function(e,t){0!==t&&(Ri(e,ki(t,To)),Yy(e,zr()),(ny&(qg|Kg))===Yg&&(wy(),Lc()))}(t,n)}break;case d:Zy(function(){var t=vf(e,To);if(null!==t){var n=By();$y(t,e,To,n)}}),xw(e,To)}},function(e){ji=e}(function(e){if(e.tag===d){var t=Zo,n=vf(e,t);if(null!==n)$y(n,e,t,By());xw(e,t)}}),function(e){Mi=e}(function(e){if(e.tag===d){var t=Wy(e),n=vf(e,t);if(null!==n)$y(n,e,t,By());xw(e,t)}}),function(e){Di=e}(Bi),function(e){Li=e}(function(e,t){var n=Fi;try{return Fi=e,t()}finally{Fi=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||i("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"),Nn=function(e,t,n){switch(t){case"input":return void pt(e,n);case"textarea":return void function(e,t){Nt(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&St(n,!!t.multiple,r,!1)}(e,n)}},Ln=Jy,In=Zy;var rx,ox,ix,ax={usingClientEntryPoint:!1,Events:[ec,tc,nc,Mn,Dn,Jy]};if(!(ox=(rx={findFiberByHostInstance:Zu,bundleType:1,version:pw,rendererPackageName:"react-dom"}).findFiberByHostInstance,ix=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 i("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=_e({},e,{getLaneLabelMap:oo,injectProfilingHooks:ro}),Kr=t.inject(e),Gr=t}catch(n){i("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}({bundleType:rx.bundleType,version:rx.version,rendererPackageName:rx.rendererPackageName,rendererConfig:rx.rendererConfig,overrideHookState:Ew,overrideHookStateDeletePath:Cw,overrideHookStateRenamePath:Tw,overrideProps:Ow,overridePropsDeletePath:Rw,overridePropsRenamePath:Nw,setErrorHandler:Aw,setSuspenseHandler:jw,scheduleUpdate:Pw,currentDispatcherRef:ix,findHostInstanceByFiber:Fw,findFiberByHostInstance:ox||Bw,findHostInstancesForRefresh:Gb,scheduleRefresh:$b,scheduleRoot:Yb,setRefreshHandler:Vb,getCurrentFiber:Ww,reconcilerVersion:pw}))&&T&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var sx=window.location.protocol;/^(https?|file):$/.test(sx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===sx?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}Xr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ax,Xr.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!qw(t))throw new Error("Target container is not a DOM element.");return hw(e,t,null,n)},Xr.createRoot=function(e,t){return ax.usingClientEntryPoint||i('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!qw(e))throw new Error("createRoot(...): Target container is not a DOM element.");Gw(e);var n=!1,r="",a=Hw;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===ee&&i("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&&(a=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var s=vw(e,1,0,n,0,r,a);return Xu(s.current,e),xl(8===e.nodeType?e.parentNode:e),new $w(s)}(e,t)},Xr.findDOMNode=function(e){tx||(tx=!0,i("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=Qw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||i("%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.",Ie(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=Nr(n);if(null===o)return null;if(8&o.mode){var a=Ve(n)||"Component";if(!fw[a]){fw[a]=!0;var s=Fe;try{Ye(o),8&n.mode?i("%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,a):i("%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,a)}finally{s?Ye(s):$e()}}}return o.stateNode}(e,"findDOMNode")},Xr.flushSync=function(e){return eb()&&i("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."),Zy(e)},Xr.hydrate=function(e,t,n){if(i("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"),!Kw(t))throw new Error("Target container is not a DOM element.");return Ju(t)&&void 0===t._reactRootContainer&&i("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)?"),ex(null,e,t,!0,n)},Xr.hydrateRoot=function(e,t,n){return ax.usingClientEntryPoint||i('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(!qw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Gw(e),void 0===t&&i("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Hw;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError));var l=gw(t,null,e,1,0,o,0,a,s);if(Xu(l.current,e),xl(e),r)for(var u=0;u<r.length;u++)rp(l,r[u]);return new Yw(l)}(e,t,n)},Xr.render=function(e,t,n){if(i("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"),!Kw(t))throw new Error("Target container is not a DOM element.");return Ju(t)&&void 0===t._reactRootContainer&&i("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)?"),ex(null,e,t,!1,n)},Xr.unmountComponentAtNode=function(e){if(nx||(nx=!0,i("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")),!Kw(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Ju(e)&&void 0===e._reactRootContainer&&i("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=Jw(e);return t&&!ec(t)&&i("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),Zy(function(){ex(null,null,e,!1,function(){e._reactRootContainer=null,Qu(e)})}),!0}var n=Jw(e),r=!(!n||!ec(n)),o=1===e.nodeType&&Kw(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&i("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},Xr.unstable_batchedUpdates=Jy,Xr.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(i("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"),!Kw(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 ex(e,t,n,!1,r)}(e,t,n,r)},Xr.version=pw,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Xr}function to(){return Kr||(Kr=1,Gr.exports=eo()),Gr.exports}var no=to();function ro(e){e()}function oo(e){return Sn(e)}var io,ao,so=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}(),lo=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:so)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),uo={exports:{}},co={};var fo,po,ho=(ao||(ao=1,uo.exports=(io||(io=1,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=a(),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,l=!1,u=!1,c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(a,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(!u){var f=c();n(d,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var p=(f=r({inst:{value:d,getSnapshot:c}}))[0].inst,h=f[1];return i(function(){p.value=d,p.getSnapshot=c,e(p)&&h({inst:p})},[a,d,c]),o(function(){return e(p)&&h({inst:p}),a(function(){e(p)&&h({inst:p})})},[a]),s(d),d};co.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())}()),co)),uo.exports);function mo(e){e.reaction=new Ht("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}var vo=!0,go="function"==typeof Symbol&&Symbol.for,yo=null!==(po=null===(fo=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===fo?void 0:fo.configurable)&&void 0!==po&&po,bo=go?Symbol.for("react.forward_ref"):"function"==typeof s.forwardRef&&s.forwardRef(function(e){return null}).$$typeof,wo=go?Symbol.for("react.memo"):"function"==typeof s.memo&&s.memo(function(e){return null}).$$typeof;function xo(e,t){if(wo&&e.$$typeof===wo)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(bo&&e.$$typeof===bo&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var i,a,u=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=l.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return lo.unregister(r),r.onStoreChange=e,r.reaction||(mo(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,a=n.current;if(a.reaction||(mo(a),lo.register(n,a,a)),l.useDebugValue(a.reaction,oo),ho.useSyncExternalStore(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track(function(){try{o=e()}catch(t){i=t}}),i)throw i;return o}(function(){return r(e,t)},o)};return u.displayName=e.displayName,yo&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes,vo&&(vo=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),n&&(u=s.forwardRef(u)),u=s.memo(u),i=e,a=u,Object.keys(i).forEach(function(e){ko[e]||Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(i,e))}),Object.defineProperty(u,"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`."))}}),u}var _o,ko={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(_o=no.unstable_batchedUpdates)||(_o=ro,console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),kn({reactionScheduler:_o}),lo.finalizeAllImmediately;const So=(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},Eo="null",Co="undefined",To="nan",Oo="[object Object]",Ro="[object Array]",No="[object String]",Po="[object Number]",Ao="[object Boolean]",jo="[object Function]",Mo="[object AsyncFunction]",Do="[object RegExp]",Lo="[object Symbol]",Io="infinite",zo="element";const Vo=(...e)=>t=>e.includes(function(e){if(void 0===e)return Co;if(null===e)return Eo;if(e&&(1===e.nodeType||9===e.nodeType))return zo;const t=Object.prototype.toString.call(e);if(t===Po){if(Number.isNaN(e))return To;if(!Number.isFinite(e))return Io}return t}(t)),Uo=Vo(Eo),Fo=Vo(Co),Bo=Vo(Oo),Wo=Vo(Ro),Ho=Vo(No),$o=Vo(Po),Yo=Vo(Ao),qo=Vo(jo,Mo),Ko=Vo(Do),Go=Vo(zo),Xo=Vo(To),Qo=Vo(Io),Jo=Vo(Lo),Zo=Object.freeze(Object.defineProperty({__proto__:null,isArray:Wo,isBoolean:Yo,isDefined:e=>null!=e,isElement:Go,isFunction:qo,isInfinite:Qo,isNaN:Xo,isNull:Uo,isNumber:$o,isObject:Bo,isRegExp:Ko,isString:Ho,isSymbol:Jo,isUndefined:Fo},Symbol.toStringTag,{value:"Module"})),ei=e=>{let t;const n=e?.comparer??fe.default,r=e=>{const o=e??null;n(r.current,o)||fn(()=>{t=r.current??void 0,r.current=o,r.listeners.forEach(e=>{e(r.current,t)}),null===r.current&&void 0!==t&&(t=void 0)})};return r.listeners=new Set(e?.onChange?[e.onChange]:[]),(e?.onSet||e?.onUnset)&&r.listeners.add((t,n)=>{t?e.onSet?.(t,n):e.onUnset?.(n)}),r.current=e?.initial??null,r.meta=e?.meta??{},Wn(r,{current:Ze.ref,meta:Ze}),r},ti=(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 a of r)if(!Object.hasOwn(i,a)||e[a]!==i[a])return!1;return!0},{entries:ni,setPrototypeOf:ri,isFrozen:oi,getPrototypeOf:ii,getOwnPropertyDescriptor:ai}=Object;let{freeze:si,seal:li,create:ui}=Object,{apply:ci,construct:di}="undefined"!=typeof Reflect&&Reflect;si||(si=function(e){return e}),li||(li=function(e){return e}),ci||(ci=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)}),di||(di=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 fi=Ti(Array.prototype.forEach),pi=Ti(Array.prototype.lastIndexOf),hi=Ti(Array.prototype.pop),mi=Ti(Array.prototype.push),vi=Ti(Array.prototype.splice),gi=Ti(String.prototype.toLowerCase),yi=Ti(String.prototype.toString),bi=Ti(String.prototype.match),wi=Ti(String.prototype.replace),xi=Ti(String.prototype.indexOf),_i=Ti(String.prototype.trim),ki=Ti(Object.prototype.hasOwnProperty),Si=Ti(RegExp.prototype.test),Ei=(Ci=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return di(Ci,t)});var Ci;function Ti(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 ci(e,t,r)}}function Oi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gi;ri&&ri(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(oi(t)||(t[r]=e),o=e)}e[o]=!0}return e}function Ri(e){for(let t=0;t<e.length;t++){ki(e,t)||(e[t]=null)}return e}function Ni(e){const t=ui(null);for(const[n,r]of ni(e)){ki(e,n)&&(Array.isArray(r)?t[n]=Ri(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Ni(r):t[n]=r)}return t}function Pi(e,t){for(;null!==e;){const n=ai(e,t);if(n){if(n.get)return Ti(n.get);if("function"==typeof n.value)return Ti(n.value)}e=ii(e)}return function(){return null}}const Ai=si(["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"]),ji=si(["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"]),Mi=si(["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=si(["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"]),Li=si(["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"]),Ii=si(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),zi=si(["#text"]),Vi=si(["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"]),Ui=si(["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"]),Fi=si(["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"]),Bi=si(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Wi=li(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Hi=li(/<%[\w\W]*|[\w\W]*%>/gm),$i=li(/\$\{[\w\W]*/gm),Yi=li(/^data-[\-\w.\u00B7-\uFFFF]+$/),qi=li(/^aria-[\-\w]+$/),Ki=li(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Gi=li(/^(?:\w+script|data):/i),Xi=li(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qi=li(/^html$/i),Ji=li(/^[a-z][.\w]*(-[.\w]+)+$/i);var Zi=Object.freeze({__proto__:null,ARIA_ATTR:qi,ATTR_WHITESPACE:Xi,CUSTOM_ELEMENT:Ji,DATA_ATTR:Yi,DOCTYPE_NAME:Qi,ERB_EXPR:Hi,IS_ALLOWED_URI:Ki,IS_SCRIPT_OR_DATA:Gi,MUSTACHE_EXPR:Wi,TMPLIT_EXPR:$i});const ea=1,ta=3,na=7,ra=8,oa=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!==oa||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const o=r,i=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:u,NodeFilter:c,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:h}=t,m=u.prototype,v=Pi(m,"cloneNode"),g=Pi(m,"remove"),y=Pi(m,"nextSibling"),b=Pi(m,"childNodes"),w=Pi(m,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let x,_="";const{implementation:k,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:C}=r,{importNode:T}=o;let O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof ni&&"function"==typeof w&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:R,ERB_EXPR:N,TMPLIT_EXPR:P,DATA_ATTR:A,ARIA_ATTR:j,IS_SCRIPT_OR_DATA:M,ATTR_WHITESPACE:D,CUSTOM_ELEMENT:L}=Zi;let{IS_ALLOWED_URI:I}=Zi,z=null;const V=Oi({},[...Ai,...ji,...Mi,...Li,...zi]);let U=null;const F=Oi({},[...Vi,...Ui,...Fi,...Bi]);let B=Object.seal(ui(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(ui(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Y=!0,q=!0,K=!1,G=!0,X=!1,Q=!0,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!1,oe=!0,ie=!1,ae=!0,se=!1,le={},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 xe=Oi({},[me,ve,ge],yi);let _e=Oi({},["mi","mo","mn","ms","mtext"]),ke=Oi({},["annotation-xml"]);const Se=Oi({},["title","style","font","a","script"]);let Ee=null;const Ce=["application/xhtml+xml","text/html"];let Te=null,Oe=null;const Re=r.createElement("form"),Ne=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=Ni(e),Ee=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Te="application/xhtml+xml"===Ee?yi:gi,z=ki(e,"ALLOWED_TAGS")?Oi({},e.ALLOWED_TAGS,Te):V,U=ki(e,"ALLOWED_ATTR")?Oi({},e.ALLOWED_ATTR,Te):F,we=ki(e,"ALLOWED_NAMESPACES")?Oi({},e.ALLOWED_NAMESPACES,yi):xe,pe=ki(e,"ADD_URI_SAFE_ATTR")?Oi(Ni(he),e.ADD_URI_SAFE_ATTR,Te):he,de=ki(e,"ADD_DATA_URI_TAGS")?Oi(Ni(fe),e.ADD_DATA_URI_TAGS,Te):fe,ue=ki(e,"FORBID_CONTENTS")?Oi({},e.FORBID_CONTENTS,Te):ce,W=ki(e,"FORBID_TAGS")?Oi({},e.FORBID_TAGS,Te):Ni({}),H=ki(e,"FORBID_ATTR")?Oi({},e.FORBID_ATTR,Te):Ni({}),le=!!ki(e,"USE_PROFILES")&&e.USE_PROFILES,Y=!1!==e.ALLOW_ARIA_ATTR,q=!1!==e.ALLOW_DATA_ATTR,K=e.ALLOW_UNKNOWN_PROTOCOLS||!1,G=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Q=!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,ie=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,I=e.ALLOWED_URI_REGEXP||Ki,ye=e.NAMESPACE||ge,_e=e.MATHML_TEXT_INTEGRATION_POINTS||_e,ke=e.HTML_INTEGRATION_POINTS||ke,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ne(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ne(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),X&&(q=!1),ne&&(te=!0),le&&(z=Oi({},zi),U=[],!0===le.html&&(Oi(z,Ai),Oi(U,Vi)),!0===le.svg&&(Oi(z,ji),Oi(U,Ui),Oi(U,Bi)),!0===le.svgFilters&&(Oi(z,Mi),Oi(U,Ui),Oi(U,Bi)),!0===le.mathMl&&(Oi(z,Li),Oi(U,Fi),Oi(U,Bi))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?$.tagCheck=e.ADD_TAGS:(z===V&&(z=Ni(z)),Oi(z,e.ADD_TAGS,Te))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?$.attributeCheck=e.ADD_ATTR:(U===F&&(U=Ni(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=Ni(ue)),Oi(ue,e.FORBID_CONTENTS,Te)),ae&&(z["#text"]=!0),J&&Oi(z,["html","head","body"]),z.table&&(Oi(z,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Ei('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Ei('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=e.TRUSTED_TYPES_POLICY,_=x.createHTML("")}else void 0===x&&(x=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!==x&&"string"==typeof _&&(_=x.createHTML(""));si&&si(e),Oe=e}},Ae=Oi({},[...ji,...Mi,...Di]),je=Oi({},[...Li,...Ii]),Me=function(e){mi(n.removed,{element:e});try{w(e).removeChild(e)}catch(t){g(e)}},De=function(e,t){try{mi(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){mi(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Me(t)}catch(r){}else try{t.setAttribute(e,"")}catch(r){}},Le=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=bi(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=x?x.createHTML(e):e;if(ye===ge)try{t=(new p).parseFromString(o,Ee)}catch(a){}if(!t||!t.documentElement){t=k.createDocument(ye,"template",null);try{t.documentElement.innerHTML=be?_:o}catch(a){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ye===ge?C.call(t,J?"html":"body")[0]:J?t.documentElement:i},Ie=function(e){return S.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},ze=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 l&&e instanceof l};function Ue(e,t,r){fi(e,e=>{e.call(n,t,r,Oe)})}const Fe=function(e){let t=null;if(Ue(O.beforeSanitizeElements,e,null),ze(e))return Me(e),!0;const r=Te(e.nodeName);if(Ue(O.uponSanitizeElement,e,{tagName:r,allowedTags:z}),Q&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&Si(/<[/\w!]/g,e.innerHTML)&&Si(/<[/\w!]/g,e.textContent))return Me(e),!0;if(e.nodeType===na)return Me(e),!0;if(Q&&e.nodeType===ra&&Si(/<[/\w]/g,e.data))return Me(e),!0;if(!($.tagCheck instanceof Function&&$.tagCheck(r))&&(!z[r]||W[r])){if(!W[r]&&We(r)){if(B.tagNameCheck instanceof RegExp&&Si(B.tagNameCheck,r))return!1;if(B.tagNameCheck instanceof Function&&B.tagNameCheck(r))return!1}if(ae&&!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 Me(e),!0}return e instanceof u&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=gi(e.tagName),r=gi(t.tagName);return!!we[e.namespaceURI]&&(e.namespaceURI===ve?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||_e[r]):Boolean(Ae[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===ve?"math"===n&&ke[r]:Boolean(je[n]):e.namespaceURI===ge?!(t.namespaceURI===ve&&!ke[r])&&!(t.namespaceURI===me&&!_e[r])&&!je[n]&&(Se[n]||!Ae[n]):!("application/xhtml+xml"!==Ee||!we[e.namespaceURI]))}(e)?(Me(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Si(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===ta&&(t=e.textContent,fi([R,N,P],e=>{t=wi(t,e," ")}),e.textContent!==t&&(mi(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ue(O.afterSanitizeElements,e,null),!1):(Me(e),!0)},Be=function(e,t,n){if(oe&&("id"===t||"name"===t)&&(n in r||n in Re))return!1;if(q&&!H[t]&&Si(A,t));else if(Y&&Si(j,t));else if($.attributeCheck instanceof Function&&$.attributeCheck(t,e));else if(!U[t]||H[t]){if(!(We(e)&&(B.tagNameCheck instanceof RegExp&&Si(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&Si(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t,e))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&Si(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(pe[t]);else if(Si(I,wi(n,D,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==xi(n,"data:")||!de[e]){if(K&&!Si(M,wi(n,D,"")));else if(n)return!1}else;return!0},We=function(e){return"annotation-xml"!==e&&bi(e,L)},He=function(e){Ue(O.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ze(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U,forceKeepAttr:void 0};let o=t.length;for(;o--;){const a=t[o],{name:s,namespaceURI:l,value:u}=a,c=Te(s),d=u;let f="value"===s?d:_i(d);if(r.attrName=c,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,Ue(O.uponSanitizeAttribute,e,r),f=r.attrValue,!ie||"id"!==c&&"name"!==c||(De(s,e),f="user-content-"+f),Q&&Si(/((--!?|])>)|<\/(style|title|textarea)/i,f)){De(s,e);continue}if("attributename"===c&&bi(f,"href")){De(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){De(s,e);continue}if(!G&&Si(/\/>/i,f)){De(s,e);continue}X&&fi([R,N,P],e=>{f=wi(f,e," ")});const p=Te(e.nodeName);if(Be(p,c,f)){if(x&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(l);else switch(h.getAttributeType(p,c)){case"TrustedHTML":f=x.createHTML(f);break;case"TrustedScriptURL":f=x.createScriptURL(f)}if(f!==d)try{l?e.setAttributeNS(l,s,f):e.setAttribute(s,f),ze(e)?Me(e):hi(n.removed)}catch(i){De(s,e)}}else De(s,e)}Ue(O.afterSanitizeAttributes,e,null)},$e=function e(t){let n=null;const r=Ie(t);for(Ue(O.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Ue(O.uponSanitizeShadowNode,n,null),Fe(n),He(n),n.content instanceof a&&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,i=null,s=null,u=null;if(be=!e,be&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ve(e)){if("function"!=typeof e.toString)throw Ei("toString is not a function");if("string"!=typeof(e=e.toString()))throw Ei("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Pe(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Te(e.nodeName);if(!z[t]||W[t])throw Ei("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Le("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===ea&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!te&&!X&&!J&&-1===e.indexOf("<"))return x&&re?x.createHTML(e):e;if(r=Le(e),!r)return te?null:re?_:""}r&&ee&&Me(r.firstChild);const c=Ie(se?e:r);for(;s=c.nextNode();)Fe(s),He(s),s.content instanceof a&&$e(s.content);if(se)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&&z["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Si(Qi,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&fi([R,N,P],e=>{d=wi(d,e," ")}),x&&re?x.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&&mi(O[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=pi(O[e],t);return-1===n?void 0:vi(O[e],n,1)[0]}return hi(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const ia=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()},aa=s.createContext(null),sa=s.createContext(null),la=aa.Provider,ua=So(e=>e.toString(16)),ca=(...e)=>{const t={...da,startViewTransitions:structuredClone(da.startViewTransitions),observable:{viewModels:{...da.observable.viewModels},viewModelStores:{...da.observable.viewModelStores}}};return e.forEach(e=>{if(!e)return;const{startViewTransitions:n,comparePayload:r,observable:o,generateId:i,...a}=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,a)}),t},da=((e,t)=>{const n=(e=>{if(null==e){let e;return{get:()=>e,set:t=>(e=t,t)}}const t=globalThis;return{get:()=>t[e],set:n=>(t[e]=n,n)}})(t);return n.get()||n.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=ua(),n=So(e=>e.toString().padStart(5,"0"));e.generateId=()=>`${t}_${n().toString().padStart(5,"0")}`}{const t=e.VM?.name??"";return t?`${t}_${e.generateId()}`:e.generateId()}},factory:e=>new(0,e.VM)({...e,vmConfig:ca(e.vmConfig)}),hooks:{storeCreate:(()=>{const e=(...t)=>{e.subs.forEach(e=>{e(...t)})};return e.subs=[],e.unsub=t=>{e.subs=e.subs.filter(e=>e!==t)},e.sub=t=>(e.subs.push(t),()=>e.unsub(t)),e})()}},Symbol.for("VIEW_MODELS_CONFIG")),fa=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),Wn(e)):Wn(e,Object.fromEntries(t))})(e,t,n.useDecorators)},pa="undefined"==typeof window?s.useEffect:s.useLayoutEffect;let ha=null;ha=e=>s.useMemo(e,[]);const ma=ha;function va(e,t,n){return e.prototype.payloadChanged?ga(e,t,n):ya(e,t)}const ga=(e,t,n)=>{const r=s.useContext(sa),o=s.useContext(aa),i=n?.ctx??{},a=ma(()=>{const a=r?.generateViewModelId({...n,ctx:i,VM:e,parentViewModelId:o?.id??null})??n?.id??da.generateId(i),s=r?r.get(a):null;if(s)return s;{const s={...n,vmConfig:n?.vmConfig,id:a,parentViewModelId:o?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:o,ctx:i};r?.processCreateConfig(s);const l=n?.factory?.(s)??r?.createViewModel(s)??da.factory(s);return l.willMount(),r?.markToBeAttached(l),l}});return pa(()=>r?(r.attach(a),()=>{r.detach(a.id)}):(a.mount(),()=>{a.willUnmount(),a.unmount()}),[a]),a.setPayload(t??{}),a},ya=(e,t)=>{const n=s.useContext(sa),r=s.useContext(aa),o=ma(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in o&&s.useLayoutEffect(()=>{o.setPayload(t)},[t]),pa(()=>n?(n.attach(o),()=>{n.detach(o.id)}):(o.mount?.(),()=>{o.unmount?.()}),[o]),o},ba=e=>{const t=s.useContext(sa),n=s.useContext(aa);let r;if(t?.get(e),r=s.useRef(),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)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');return r.current=n,n};xo(({model:e,config:t,payload:n,children:r})=>{const o=va(e,n,t);return o.isMounted?"function"==typeof r?r(o):h.jsx(h.Fragment,{children:r}):null});const wa=sa.Provider;function xa(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return ka(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=>ka(e,r,t)}}const _a=Symbol.for("react.memo"),ka=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??da.processViewComponent,o=t.vmConfig?.wrapViewsInObserver??da.wrapViewsInObserver;let i=r?.(n,e,t)??n;o&&i&&i.$$typeof!==_a&&(i=xo(i));const a=t.reactHook,l=t.getPayload,u=t.fallback??da.fallbackComponent;let c=(n,r)=>{const o=s.useContext(sa);a?.(n,t.ctx,o,r);const{payload:c,...d}=n,f=l?.(n)??c;t.forwardRef&&!("forwardedRef"in d)&&(d.forwardedRef=r);const p=va(e,f,{...t,props:d});return(!o||o.isAbleToRenderView(p.id))&&!1!==p.isMounted?h.jsx(la,{value:p,children:i&&h.jsx(i,{...d,model:p})}):u&&h.jsx(u,{...n,payload:f})};return t.forwardRef&&(c=s.forwardRef(c)),c=xo(c),c.displayName=`ConnectedViewModel(${e.name}->Component)`,t.component=c,c},Sa=[["_isMounted",Ze.ref],["_isUnmounting",Ze.ref],["isMounted",rt],["isUnmounting",rt],["parentViewModel",rt],["mount",cn.bound],["didMount",cn],["unmount",cn.bound],["didUnmount",cn],["willUnmount",cn],["setPayload",cn]];class Ea{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=ca(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=fe.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=ti:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...Sa];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",Ze[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",rt.struct]):t.push(["payload",rt({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),fa(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 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),ia(()=>{fn(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),ia(()=>{fn(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),fn(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||ia(()=>{fn(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class Ca{constructor(e){this.config=e,this.viewModels=Ze.map([],{deep:!1}),this.linkedComponentVMClasses=Ze.map([],{deep:!1}),this.viewModelIdsByClasses=Ze.map([],{deep:!0}),this.instanceAttachedCount=Ze.map([],{deep:!1}),this.mountingViews=Ze.set([],{deep:!1}),this.unmountingViews=Ze.set([],{deep:!1}),this.vmConfig=ca(e?.vmConfig),this.viewModelsTempHeap=new Map,fa(this,[["mountedViewsCount",rt],["mount",cn],["unmount",cn],["attachVMConstructor",cn],["attach",cn],["detach",cn],["linkComponents",cn],["unlinkComponents",cn]],this.vmConfig.observable.viewModelStores),this.vmConfig.hooks.storeCreate(this)}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=ca(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:(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?.()),fn(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),fn(()=>{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 Ta extends Ea{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}class Oa extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const Ra=(e,...t)=>"function"==typeof e?e(...t):e;var Na="object"==typeof global&&global&&global.Object===Object&&global,Pa="object"==typeof self&&self&&self.Object===Object&&self,Aa=Na||Pa||Function("return this")(),ja=Aa.Symbol,Ma=Object.prototype,Da=Ma.hasOwnProperty,La=Ma.toString,Ia=ja?ja.toStringTag:void 0;var za=Object.prototype.toString;var Va=ja?ja.toStringTag:void 0;function Ua(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Va&&Va in Object(e)?function(e){var t=Da.call(e,Ia),n=e[Ia];try{e[Ia]=void 0;var r=!0}catch(i){}var o=La.call(e);return r&&(t?e[Ia]=n:delete e[Ia]),o}(e):function(e){return za.call(e)}(e)}var Fa=/\s/;var Ba=/^\s+/;function Wa(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Fa.test(e.charAt(t)););return t}(e)+1).replace(Ba,""):e}function Ha(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var $a=/^[-+]0x[0-9a-f]+$/i,Ya=/^0b[01]+$/i,qa=/^0o[0-7]+$/i,Ka=parseInt;function Ga(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==Ua(e)}(e))return NaN;if(Ha(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ha(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Wa(e);var n=Ya.test(e);return n||qa.test(e)?Ka(e.slice(2),n?2:8):$a.test(e)?NaN:+e}var Xa=function(){return Aa.Date.now()},Qa=Math.max,Ja=Math.min;function Za(e,t,n){var r,o,i,a,s,l,u=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,u=t,a=e.apply(i,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-u>=i}function m(){var e=Xa();if(h(e))return v(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?Ja(n,i-(e-u)):n}(e))}function v(e){return s=void 0,f&&r?p(e):(r=o=void 0,a)}function g(){var e=Xa(),n=h(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(m,t),c?p(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(m,t),p(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=Ga(t)||0,Ha(n)&&(c=!!n.leading,i=(d="maxWait"in n)?Qa(Ga(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=o=s=void 0},g.flush=function(){return void 0===s?a:v(Xa())},g}let es=class{constructor(e){if(this.config=e,this.abortController=new Oa(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),Ze.ref(this,"isActivated"),Ze.ref(this,"localActions"),rt.struct(this,"actions"),cn.bound(this,"handleKeyboardClick"),cn.bound(this,"setActions"),Wn(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new Oa;gn(()=>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 Oa(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;localActions;isActivated;get actions(){const e=this.localActions??this.config.actions;return Ra(e)??[]}setActions(e){this.localActions=e}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(let t=0;t<this.actions.length;t++){const n=this.actions[t];if(!Ra(n.disabled))for(let t=0;t<n.shortcuts.length;t++){if(n.shortcuts[t].split("+").every(t=>this.checkKey(e,t)))return void fn(()=>{n.action(e)})}}}checkKey(e,t){return!("Shift"!==t||!e.shiftKey)||(!("Ctrl"!==t&&"Control"!==t||!e.ctrlKey)||(!("Alt"!==t||!e.altKey)||(!("Windows"!==t&&"Meta"!==t&&"Command"!==t&&"⌘"!==t&&"Win"!==t||!e.metaKey)||(t===e.key||t===e.code))))}destroy(){this.abortController.abort()}};class ts{constructor(e){this.config=e,this.abortController=new Oa(e?.abortSignal),this.abortSignal=this.abortController.signal,Wn(this)}abortController;abortSignal;getStorage(e){return"session"===(e.type??this.config?.type)?globalThis.sessionStorage:globalThis.localStorage}createKey(e){if(this.config?.createKey)return this.config.createKey(e);const t=e.prefix??this.config?.prefix??"",n=e.namespace??this.config?.namespace;return`${t?`${t}/`:""}${n?`${n}/`:""}${e.key}`}get(e){const t=this.createKey(e),n=this.getStorage(e).getItem(t);let r=null;if("string"==typeof n)try{r=JSON.parse(n)}catch{r=null}else r=n;return r??e.fallback??null}formatValue(e){return JSON.stringify(e)}set(e){const t=this.createKey(e);this.getStorage(e).setItem(t,e.format?e.format(e.value):this.formatValue(e.value))}syncProperty(e,t,n){const r=n?.key??t,o=n&&"fallback"in n?n.fallback:e[t];fn(()=>{e[t]=this.get({...n,key:r,fallback:o})??e[t]});const i=hn(()=>{const o=e[t];this.set({...n,key:r,value:o})},{signal:this.abortSignal});return this.abortSignal.addEventListener("abort",i),()=>{this.abortSignal.removeEventListener("abort",i),i()}}destroy(){this.abortController.abort()}}var ns,rs={};var os,is,as=function(){if(ns)return rs;ns=1;var e=to(),t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return rs.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},rs.hydrateRoot=function(n,r,o){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,o)}finally{t.usingClientEntryPoint=!1}},rs}(),ss={exports:{}},ls={};function us(){return os||(os=1,function(){var e=a(),t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=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;var v=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(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=v.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 y;function b(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&g("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 i:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return b(e)+".Consumer";case s:return b(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:w(e.type)||"Memo";case p:var a=e,h=a._payload,m=a._init;try{return w(m(h))}catch(v){return null}}return null}y=Symbol.for("react.module.reference");var x,_,k,S,E,C,T,O=Object.assign,R=0;function N(){}N.__reactDisabledLog=!0;var P,A=v.ReactCurrentDispatcher;function j(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 M,D=!1,L="function"==typeof WeakMap?WeakMap:Map;function I(e,t){if(!e||D)return"";var n,r=M.get(e);if(void 0!==r)return r;D=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=A.current,A.current=null,function(){if(0===R){x=console.log,_=console.info,k=console.warn,S=console.error,E=console.group,C=console.groupCollapsed,T=console.groupEnd;var e={configurable:!0,enumerable:!0,value:N,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}R++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(h){n=h}Reflect.construct(e,[],a)}else{try{a.call()}catch(h){n=h}e.call(a.prototype)}}else{try{throw Error()}catch(h){n=h}e()}}catch(m){if(m&&n&&"string"==typeof m.stack){for(var s=m.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,c=l.length-1;u>=1&&c>=0&&s[u]!==l[c];)c--;for(;u>=1&&c>=0;u--,c--)if(s[u]!==l[c]){if(1!==u||1!==c)do{if(u--,--c<0||s[u]!==l[c]){var d="\n"+s[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&M.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{D=!1,A.current=o,function(){if(0===--R){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:x}),info:O({},e,{value:_}),warn:O({},e,{value:k}),error:O({},e,{value:S}),group:O({},e,{value:E}),groupCollapsed:O({},e,{value:C}),groupEnd:O({},e,{value:T})})}R<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var f=e?e.displayName||e.name:"",p=f?j(f):"";return"function"==typeof e&&M.set(e,p),p}function z(e,t,n){if(null==e)return"";if("function"==typeof e)return I(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return j(e);switch(e){case c:return j("Suspense");case d:return j("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return I(e.render,!1);case f:return z(e.type,t,n);case p:var o=e,i=o._payload,a=o._init;try{return z(a(i),t,n)}catch(s){}}return""}M=new L;var V=Object.prototype.hasOwnProperty,U={},F=v.ReactDebugCurrentFrame;function B(e){if(e){var t=e._owner,n=z(e.type,e._source,t?t.type:null);F.setExtraStackFrame(n)}else F.setExtraStackFrame(null)}var W=Array.isArray;function H(e){return W(e)}function $(e){return""+e}function Y(e){if(function(e){try{return $(e),!1}catch(t){return!0}}(e))return g("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)),$(e)}var q,K,G,X=v.ReactCurrentOwner,Q={key:!0,ref:!0,__self:!0,__source:!0};G={};function J(e,n,r,o,i){var a,s={},l=null,u=null;for(a in void 0!==r&&(Y(r),l=""+r),function(e){if(V.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(Y(n.key),l=""+n.key),function(e){if(V.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,t){if("string"==typeof e.ref&&X.current&&t&&X.current.stateNode!==t){var n=w(X.current.type);G[n]||(g('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',w(X.current.type),e.ref),G[n]=!0)}}(n,i)),n)V.call(n,a)&&!Q.hasOwnProperty(a)&&(s[a]=n[a]);if(e&&e.defaultProps){var c=e.defaultProps;for(a in c)void 0===s[a]&&(s[a]=c[a])}if(l||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;l&&function(e,t){var n=function(){q||(q=!0,g("%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})}(s,d),u&&function(e,t){var n=function(){K||(K=!0,g("%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})}(s,d)}return function(e,n,r,o,i,a,s){var l={$$typeof:t,type:e,key:n,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l}(e,l,u,i,o,X.current,s)}var Z,ee=v.ReactCurrentOwner,te=v.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,n=z(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=w(ee.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Z=!1;var ie={};function ae(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(!ie[n]){ie[n]=!0;var r="";e&&e._owner&&e._owner!==ee.current&&(r=" It was passed a child from "+w(e._owner.type)+"."),ne(e),g('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 se(e,t){if("object"==typeof e)if(H(e))for(var n=0;n<e.length;n++){var r=e[n];re(r)&&ae(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=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)re(i.value)&&ae(i.value,t)}}function le(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=w(n);!function(e,t,n,r,o){var i=Function.call.bind(V);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+n+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){s=u}!s||s instanceof Error||(B(o),g("%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,a,typeof s),B(null)),s instanceof Error&&!(s.message in U)&&(U[s.message]=!0,B(o),g("Failed %s type: %s",n,s.message),B(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Z){Z=!0,g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}var ue={};var ce=function(e,n,a,m,v,b){var x=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===i||e===o||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===y||void 0!==e.getModuleId)}(e);if(!x){var _="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(_+=" 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 k,S=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(v);_+=S||oe(),null===e?k="null":H(e)?k="array":void 0!==e&&e.$$typeof===t?(k="<"+(w(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):k=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k,_)}var E=J(e,n,a,v,b);if(null==E)return E;if(x){var C=n.children;if(void 0!==C)if(m)if(H(C)){for(var T=0;T<C.length;T++)se(C[T],e);Object.freeze&&Object.freeze(C)}else g("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 se(C,e)}if(V.call(n,"key")){var O=w(e),R=Object.keys(n).filter(function(e){return"key"!==e}),N=R.length>0?"{key: someKey, "+R.join(": ..., ")+": ...}":"{key: someKey}";if(!ue[O+N])g('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,O,R.length>0?"{"+R.join(": ..., ")+": ...}":"{}",O),ue[O+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),g("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),g("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(E):le(E),E};ls.Fragment=r,ls.jsxDEV=ce}()),ls}var cs=(is||(is=1,ss.exports=us()),ss.exports);function ds(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=ds(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const fs=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(),ps(n,t)||ms(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},ps=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ps(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},hs=/^\[(.+)\]$/,ms=e=>{if(hs.test(e)){const t=hs.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)gs(n[o],r,o,t);return r},gs=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:ys(t,e)).classGroupId=n)}if("function"==typeof e)return bs(e)?void gs(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{gs(o,ys(t,e),n,r)})})},ys=(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},bs=e=>e.isThemeGetter,ws=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)}}},xs=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 a=e[l];if(0===r&&0===o){if(":"===a){t.push(e.slice(i,l)),i=l+1;continue}if("/"===a){n=l;continue}}"["===a?r++:"]"===a?r--:"("===a?o++:")"===a&&o--}const a=0===t.length?e:e.substring(i),s=_s(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,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},_s=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,ks=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}},Ss=/\s+/;function Es(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Cs(e))&&(r&&(r+=" "),r+=t);return r}const Cs=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Cs(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ts(e,...t){let n,r,o,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:ws(e.cacheSize),parseClassName:xs(e),sortModifiers:ks(e),...fs(e)}))(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(Ss);let l="";for(let u=s.length-1;u>=0;u-=1){const e=s[u],{isExternal:t,modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){l=e+(l.length>0?" "+l:l);continue}if(m=r(f),!m){l=e+(l.length>0?" "+l:l);continue}h=!1}const v=i(c).join(":"),g=d?v+"!":v,y=g+m;if(a.includes(y))continue;a.push(y);const b=o(m,h);for(let n=0;n<b.length;++n){const e=b[n];a.push(g+e)}l=e+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(Es.apply(null,arguments))}}const Os=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Rs=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ns=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ps=/^\d+\/\d+$/,As=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,js=/\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$/,Ms=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ds=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ls=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Is=e=>Ps.test(e),zs=e=>!!e&&!Number.isNaN(Number(e)),Vs=e=>!!e&&Number.isInteger(Number(e)),Us=e=>e.endsWith("%")&&zs(e.slice(0,-1)),Fs=e=>As.test(e),Bs=()=>!0,Ws=e=>js.test(e)&&!Ms.test(e),Hs=()=>!1,$s=e=>Ds.test(e),Ys=e=>Ls.test(e),qs=e=>!Gs(e)&&!tl(e),Ks=e=>ll(e,fl,Hs),Gs=e=>Rs.test(e),Xs=e=>ll(e,pl,Ws),Qs=e=>ll(e,hl,zs),Js=e=>ll(e,cl,Hs),Zs=e=>ll(e,dl,Ys),el=e=>ll(e,vl,$s),tl=e=>Ns.test(e),nl=e=>ul(e,pl),rl=e=>ul(e,ml),ol=e=>ul(e,cl),il=e=>ul(e,fl),al=e=>ul(e,dl),sl=e=>ul(e,vl,!0),ll=(e,t,n)=>{const r=Rs.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},ul=(e,t,n=!1)=>{const r=Ns.exec(e);return!!r&&(r[1]?t(r[1]):n)},cl=e=>"position"===e||"percentage"===e,dl=e=>"image"===e||"url"===e,fl=e=>"length"===e||"size"===e||"bg-size"===e,pl=e=>"length"===e,hl=e=>"number"===e,ml=e=>"family-name"===e,vl=e=>"shadow"===e,gl=Ts(()=>{const e=Os("color"),t=Os("font"),n=Os("text"),r=Os("font-weight"),o=Os("tracking"),i=Os("leading"),a=Os("breakpoint"),s=Os("container"),l=Os("spacing"),u=Os("radius"),c=Os("shadow"),d=Os("inset-shadow"),f=Os("text-shadow"),p=Os("drop-shadow"),h=Os("blur"),m=Os("perspective"),v=Os("aspect"),g=Os("ease"),y=Os("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",tl,Gs],w=()=>[tl,Gs,l],x=()=>[Is,"full","auto",...w()],_=()=>[Vs,"none","subgrid",tl,Gs],k=()=>["auto",{span:["full",Vs,tl,Gs]},Vs,tl,Gs],S=()=>[Vs,"auto",tl,Gs],E=()=>["auto","min","max","fr",tl,Gs],C=()=>["auto",...w()],T=()=>[Is,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],O=()=>[e,tl,Gs],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ol,Js,{position:[tl,Gs]}],N=()=>["auto","cover","contain",il,Ks,{size:[tl,Gs]}],P=()=>[Us,nl,Xs],A=()=>["","none","full",u,tl,Gs],j=()=>["",zs,nl,Xs],M=()=>[zs,Us,ol,Js],D=()=>["","none",h,tl,Gs],L=()=>["none",zs,tl,Gs],I=()=>["none",zs,tl,Gs],z=()=>[zs,tl,Gs],V=()=>[Is,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Fs],breakpoint:[Fs],color:[Bs],container:[Fs],"drop-shadow":[Fs],ease:["in","out","in-out"],font:[qs],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Fs],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Fs],shadow:[Fs],spacing:["px",zs],text:[Fs],"text-shadow":[Fs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Is,Gs,tl,v]}],container:["container"],columns:[{columns:[zs,Gs,tl,s]}],"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:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{start:x()}],end:[{end:x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[Vs,"auto",tl,Gs]}],basis:[{basis:[Is,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[zs,Is,"auto","initial","none",Gs]}],grow:[{grow:["",zs,tl,Gs]}],shrink:[{shrink:["",zs,tl,Gs]}],order:[{order:[Vs,"first","last","none",tl,Gs]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"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:[s,"screen",...T()]}],"min-w":[{"min-w":[s,"screen","none",...T()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...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,nl,Xs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,tl,Qs]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Us,Gs]}],"font-family":[{font:[rl,Gs,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,tl,Gs]}],"line-clamp":[{"line-clamp":[zs,"none",tl,Qs]}],leading:[{leading:[i,...w()]}],"list-image":[{"list-image":["none",tl,Gs]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",tl,Gs]}],"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:[zs,"from-font","auto",tl,Xs]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[zs,"auto",tl,Gs]}],"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",tl,Gs]}],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",tl,Gs]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:N()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Vs,tl,Gs],radial:["",tl,Gs],conic:[Vs,tl,Gs]},al,Zs]}],"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:A()}],"rounded-s":[{"rounded-s":A()}],"rounded-e":[{"rounded-e":A()}],"rounded-t":[{"rounded-t":A()}],"rounded-r":[{"rounded-r":A()}],"rounded-b":[{"rounded-b":A()}],"rounded-l":[{"rounded-l":A()}],"rounded-ss":[{"rounded-ss":A()}],"rounded-se":[{"rounded-se":A()}],"rounded-ee":[{"rounded-ee":A()}],"rounded-es":[{"rounded-es":A()}],"rounded-tl":[{"rounded-tl":A()}],"rounded-tr":[{"rounded-tr":A()}],"rounded-br":[{"rounded-br":A()}],"rounded-bl":[{"rounded-bl":A()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"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":[zs,tl,Gs]}],"outline-w":[{outline:["",zs,nl,Xs]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,sl,el]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,sl,el]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[zs,Xs]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",f,sl,el]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[zs,tl,Gs]}],"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":[zs]}],"mask-image-linear-from-pos":[{"mask-linear-from":M()}],"mask-image-linear-to-pos":[{"mask-linear-to":M()}],"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":M()}],"mask-image-t-to-pos":[{"mask-t-to":M()}],"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":M()}],"mask-image-r-to-pos":[{"mask-r-to":M()}],"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":M()}],"mask-image-b-to-pos":[{"mask-b-to":M()}],"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":M()}],"mask-image-l-to-pos":[{"mask-l-to":M()}],"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":M()}],"mask-image-x-to-pos":[{"mask-x-to":M()}],"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":M()}],"mask-image-y-to-pos":[{"mask-y-to":M()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[tl,Gs]}],"mask-image-radial-from-pos":[{"mask-radial-from":M()}],"mask-image-radial-to-pos":[{"mask-radial-to":M()}],"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":[zs]}],"mask-image-conic-from-pos":[{"mask-conic-from":M()}],"mask-image-conic-to-pos":[{"mask-conic-to":M()}],"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:R()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:N()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",tl,Gs]}],filter:[{filter:["","none",tl,Gs]}],blur:[{blur:D()}],brightness:[{brightness:[zs,tl,Gs]}],contrast:[{contrast:[zs,tl,Gs]}],"drop-shadow":[{"drop-shadow":["","none",p,sl,el]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",zs,tl,Gs]}],"hue-rotate":[{"hue-rotate":[zs,tl,Gs]}],invert:[{invert:["",zs,tl,Gs]}],saturate:[{saturate:[zs,tl,Gs]}],sepia:[{sepia:["",zs,tl,Gs]}],"backdrop-filter":[{"backdrop-filter":["","none",tl,Gs]}],"backdrop-blur":[{"backdrop-blur":D()}],"backdrop-brightness":[{"backdrop-brightness":[zs,tl,Gs]}],"backdrop-contrast":[{"backdrop-contrast":[zs,tl,Gs]}],"backdrop-grayscale":[{"backdrop-grayscale":["",zs,tl,Gs]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[zs,tl,Gs]}],"backdrop-invert":[{"backdrop-invert":["",zs,tl,Gs]}],"backdrop-opacity":[{"backdrop-opacity":[zs,tl,Gs]}],"backdrop-saturate":[{"backdrop-saturate":[zs,tl,Gs]}],"backdrop-sepia":[{"backdrop-sepia":["",zs,tl,Gs]}],"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",tl,Gs]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[zs,"initial",tl,Gs]}],ease:[{ease:["linear","initial",g,tl,Gs]}],delay:[{delay:[zs,tl,Gs]}],animate:[{animate:["none",y,tl,Gs]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,tl,Gs]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:I()}],"scale-x":[{"scale-x":I()}],"scale-y":[{"scale-y":I()}],"scale-z":[{"scale-z":I()}],"scale-3d":["scale-3d"],skew:[{skew:z()}],"skew-x":[{"skew-x":z()}],"skew-y":[{"skew-y":z()}],transform:[{transform:[tl,Gs,"","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",tl,Gs]}],"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",tl,Gs]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[zs,nl,Xs,Qs]}],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"]}}),yl=(...e)=>gl(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=ds(e))&&(r&&(r+=" "),r+=t);return r}(...e)),bl="vmButton_esipO",wl="dragging_kUMCE",xl="opened_NYAFW",_l="isConnected_eObxX";const kl=xa(class extends Ea{devtools=this.parentViewModel.devtools;storage=new ts({namespace:"mobx-view-model-devtools",prefix:"devtools-button",type:"local"});ref=ei({onSet:e=>{const t={isDragging:!1,offsetX:0,offsetY:0,hasMoved:!1,startX:0,startY:0},n=this.storage.get({key:"left"}),r=this.storage.get({key:"top"});n&&r&&(e.style.left=`${n}`,e.style.top=`${r}`);const{width:o,height:i}=e.getBoundingClientRect();e.addEventListener("mousedown",n=>{t.isDragging=!0,t.hasMoved=!1;const r=e.getBoundingClientRect();t.offsetX=r.left-n.clientX,t.offsetY=r.top-n.clientY,t.startX=r.left,t.startY=r.top,e.classList.add(wl)});e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()}),document.addEventListener("mousemove",n=>{if(!t.isDragging)return;let r=n.clientX+t.offsetX,a=n.clientY+t.offsetY;const s=window.innerWidth-o-12,l=window.innerHeight-i-12;r<12&&(r=12),a<12&&(a=12),r>s&&(r=s),a>l&&(a=l),e.style.left=`${r}px`,e.style.top=`${a}px`,r===t.startX&&a===t.startY||(t.hasMoved=!0)}),document.addEventListener("mouseup",()=>{t.isDragging=!1,e.classList.remove(wl),this.position!==this.devtools.position&&fn(()=>{this.devtools.position=this.position,this.storage.set({key:"left",value:e.style.left}),this.storage.set({key:"top",value:e.style.top})})})}});handleClick=()=>{this.devtools.isPopupOpened?this.devtools.hidePopup():this.devtools.showPopup()};get position(){const e=this.ref.current?.getBoundingClientRect(),t=window.innerWidth/2,n=window.innerHeight/2,r=(e?.left??0)<t,o=(e?.top??0)<n;return o&&r?"top-left":o&&!r?"top-right":!o&&r?"bottom-left":"bottom-right"}},({model:e})=>cs.jsxDEV("button",{className:yl(bl,{[xl]:e.devtools.isPopupOpened,[_l]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[cs.jsxDEV("img",{src:e.devtools.logoUrl},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:22,columnNumber:9},void 0),cs.jsxDEV("div",{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:23,columnNumber:9},void 0),cs.jsxDEV("span",{children:e.devtools.allVms.length},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:24,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",lineNumber:10,columnNumber:7},void 0)),Sl=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 13.28a.75.75 0 0 0 1.06 0l2-2a.75.75 0 1 0-1.06-1.06l-.72.72V3.25a.75.75 0 0 0-1.5 0v7.69l-.72-.72a.75.75 0 1 0-1.06 1.06zM7.75 12a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5zm0-3.25a.75.75 0 0 1 0-1.5h5.5a.75.75 0 0 1 0 1.5zm0-4.75a.75.75 0 0 1 0-1.5h2.5a.75.75 0 0 1 0 1.5z",clipRule:"evenodd"})),El=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 3.25a.75.75 0 0 1 .75-.75h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 3.25M3 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 3 8m3.75 4a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Cl=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 2.72a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1-1.06 1.06l-.72-.72v7.69a.75.75 0 0 1-1.5 0V5.06l-.72.72A.75.75 0 0 1 .22 4.72zM7.75 4a.75.75 0 0 1 0-1.5h7.5a.75.75 0 0 1 0 1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 4.75a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Tl=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"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",clipRule:"evenodd"})),Ol=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5M11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3zM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5",clipRule:"evenodd"})),Rl=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 13.5v-3A.5.5 0 0 1 8 10h.672a.5.5 0 0 1 .353.146l.414.415.44.439H13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5M6 13H4.5a3 3 0 0 1-3-3V1.25a.75.75 0 0 1 1.5 0V2a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V5H4.5A3 3 0 0 1 3 4.599V10a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm1.5-8.75V5.5A.5.5 0 0 0 8 6h5a.5.5 0 0 0 .5-.5v-2A.5.5 0 0 0 13 3H9.879l-.44-.44-.414-.414A.5.5 0 0 0 8.672 2H8a.5.5 0 0 0-.5.5z",clipRule:"evenodd"})),Nl=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})),Pl=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",clipRule:"evenodd"})),Al=e=>s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),s.createElement("path",{fill:"currentColor",fillRule:"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",clipRule:"evenodd"})),jl=null,{min:Ml,max:Dl,abs:Ll,floor:Il}=Math,zl=(e,t,n)=>Ml(n,Dl(t,e)),Vl=e=>[...e].sort((e,t)=>e-t),Ul="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},Fl=()=>{let e;return[new Promise(t=>{e=t}),e]},Bl=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},Wl=(e,t,n)=>{const r=n?"unshift":"push";for(let o=0;o<t;o++)e[r](-1);return e},Hl=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},$l=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=Ml(t,e.i),r},Yl=(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+=Hl(e,n),e.u[++n]=r;return e.i=t,r},ql=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const o=Il((n+r)/2);if(Yl(e,o)<=t){if(Yl(e,o+1)>t)return o;n=o+1}else r=o-1}return zl(n,0,e.l-1)},Kl=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:Ml(t-1,e.i),e.l=t,r>0?(Wl(e.u,r),Wl(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))},Gl="undefined"!=typeof window,Xl=()=>document.documentElement,Ql=Bl(()=>!!Gl&&"rtl"===getComputedStyle(Xl()).direction),Jl=Bl(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),Zl=Bl(()=>"scrollBehavior"in Xl().style),eu=setTimeout,tu=(e,t)=>t&&Ql()?-e:e,nu=(e,t)=>{let n,r,o=Fl();const i=t?"scrollLeft":"scrollTop",a=t?"overflowX":"overflowY",[s,l]=((e,t,n)=>{let r;return[async(o,i)=>{if(!(await t()))return;r&&r();const a=()=>{const[t,n]=Fl();return r=()=>{n(!1)},e.p()&&eu(r,150),[t,e.B(2,()=>{n(!0)})]};if(i&&Zl())e.J(8,o()),Ul(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]=a();try{if(!(await n))return}finally{r()}}e.J(7),n(o(),i)});else for(;;){const[t,r]=a();try{if(e.J(7),n(o()),!(await t))return}finally{r()}}},()=>{r&&r()}]})(e,()=>o[0],(e,r)=>{e=tu(e,t),r?n.scrollTo({[t?"left":"top"]:e,behavior:"smooth"}):n[i]=e});return{P(s){n=s,r=((e,t,n,r,o)=>{const i=Date.now;let a=0,s=!1,l=!1,u=!1,c=!1;const d=(()=>{let t;const n=()=>{t!=jl&&clearTimeout(t)},r=()=>{n(),t=eu(()=>{t=jl,(()=>{if(s||l)return s=!1,void d();u=!1,e.J(2)})()},150)};return r.A=n,r})(),f=()=>{a=i(),u&&(c=!0),e.J(1,r()),d()},p=t=>{if(s||!e.H()||t.ctrlKey)return;const r=i()-a;150>r&&50<r&&(n?t.deltaX:t.deltaY)&&(s=!0)},h=()=>{l=!0,u=c=!1},m=()=>{l=!1,Jl()&&(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,i]=e.O();t&&(o(tu(t,n),i,c),c=!1,i&&e.p()>e.h()&&e.J(1,r()))}}})(e,s,t,()=>tu(s[i],t),(t,n,r)=>{if(r){const e=s.style,t=e[a];e[a]="hidden",eu(()=>{e[a]=t})}s[i]=e.C()+t,n&&l()}),o[1](!0)},v(){r&&r.L(),o[1](!1),o=Fl()},V(e){s(()=>e)},X(t){t+=e.C(),s(()=>t)},Y(t,{align:n,smooth:r,offset:o=0}={}){if(t=zl(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"}}s(()=>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()}}},ru=(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:a,contentRect:s}of t)if(a.offsetParent)if(a===n)e.J(4,s[r]);else{const e=o.get(a);e!=jl&&i.push([e,s[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}},ou=Gl?s.useLayoutEffect:s.useEffect,iu="current",au=(e,t)=>{if(Array.isArray(e))for(const n of e)au(n,t);else null==e||"boolean"==typeof e||t.push(e)},su=e=>{const t=s.useRef(e);return ou(()=>{t[iu]=e},[e]),t},lu=s.memo(({Z:e,ee:t,te:n,oe:r,ne:o,re:i,ie:a,se:l})=>{const u=s.useRef(null);ou(()=>t(u[iu],n),[n]);const c=s.useMemo(()=>{const e={contain:"layout style",position:o&&l?void 0:"absolute",[a?"height":"width"]:"100%",[a?"top":"left"]:0,[a?Ql()?"right":"left":"top"]:r,visibility:!o||l?void 0:"hidden"};return a&&(e.display="inline-flex"),e},[r,o,l,a]);return h.jsx(i,"string"==typeof i?{ref:u,style:c,children:e}:{ref:u,style:c,index:n,children:e})}),uu=s.forwardRef(({children:e,data:t,bufferSize:n,itemSize:r,shift:o,horizontal:i,keepMounted:a,cache:l,startMargin:u=0,ssrCount:c,as:d="div",item:f="div",scrollRef:p,onScroll:m,onScrollEnd:v},g)=>{const[y,b]=((e,t)=>s.useMemo(()=>{if("function"==typeof e)return[n=>e(t[n],n),t.length];const n=(e=>{const t=[];return au(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),w=s.useRef(null),x=s.useRef(!!c),_=su(m),k=su(v),[S,E,C,T]=(e=>{const t=s.useRef(null);return t[iu]||(t[iu]=e())})(()=>{const e=!!i,t=((e,t=40,n=0,r,o=!1)=>{let i=!!n,a=1,s=0,l=0,u=0,c=0,d=0,f=0,p=0,h=0,m=jl,v=[0,i?Dl(n-1,0):-1],g=0;const y=(O=e,R=t,{o:(N=r)?N[1]:R,t:N&&N[0]?Wl(N[0].slice(0,Ml(O,N[0].length)),Dl(0,O-N[0].length)):Wl([],O),l:O,i:-1,u:Wl([],O+1)}),b=new Set,w=()=>u-l,x=()=>w()+d+c,_=(e,t)=>((e,t,n,r)=>{if(r=Ml(r,e.l-1),Yl(e,r)<=t){const o=ql(e,n,r);return[ql(e,t,r,o),o]}{const o=ql(e,t,void 0,r);return[o,ql(e,n,o)]}})(y,e,t,v[0]),k=()=>Yl(y,y.l),S=e=>Yl(y,e)-d,E=e=>Hl(y,e),C=(e,t=-1)=>y.t[e]===t,T=e=>{e&&(Jl()&&0!==p||m&&1===h?d+=e:c+=e)};var O,R,N;return{v:()=>{b.clear()},m:()=>a,_:()=>(e=>[e.t.slice(),e.o])(y),S:(e=200)=>{if(!s||i)return v;let t,n;if(f)[t,n]=v;else{let r=Dl(0,x()),i=r+s;o||(e=Dl(0,e),1!==p&&(r-=e),2!==p&&(i+=e)),[t,n]=v=_(Dl(0,r),Dl(0,i)),m&&(t=Ml(t,m[0]),n=Dl(n,m[1]))}return[Dl(t,0),Ml(n,y.l-1)]},$:()=>ql(y,x()),I:()=>ql(y,x()+s),k:C,R:S,T:E,M:()=>y.l,C:()=>u,H:()=>0!==p,p:()=>s,W:()=>l,h:k,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=Ll(n);e&&o<Ll(e)+1||0!==h||(p=n<0?2:1),i&&(i=!1),u=t,v=4;const a=w();a>=-s&&a<=k()&&(v+=1,r=o>s);break}case 2:v=8,0!==p&&(n=!0,v+=1),p=0,h=0,m=jl;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]:S(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=$l(y,t,n);o&&(g+=r?n:n-e)}o&&s&&g>s&&(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=Vl(r),i=o.length,a=i/2|0,s=i%2==0?(o[a-1]+o[a])/2:o[a],l=e.o;return((e.o=s)-l)*Dl(t-n,0)})(y,ql(y,x()))),o=!1),v=3,r=!0;break}case 4:s!==t&&(s||(r=!0),s=t,v=3);break;case 5:t[1]?(T(Kl(y,t[0],!0)),h=2,v=1):(Kl(y,t[0]),v=1);break;case 6:l=t;break;case 7:h=1;break;case 8:m=_(t,t+s),v=1}v&&(a=1+(2147483647&a),n&&d&&(c+=d,d=0),b.forEach(([e,t])=>{v&e&&t(r)}))}}})(b,r,c,l,!r);return[t,ru(t,e),nu(t,e),e]});b!==S.M()&&S.J(5,[b,o]),u!==S.W()&&S.J(6,u);const[O,R]=s.useReducer(S.m,void 0,S.m),N=S.H(),P=S.h(),A=[],j=e=>{const t=y(e);return h.jsx(lu,{ee:E.F,te:e,oe:S.R(e),ne:S.k(e),re:f,Z:t,ie:T,se:x[iu]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(ou(()=>{x[iu]=!1,S.B(1,e=>{e?no.flushSync(R):R()}),S.B(4,()=>{_[iu]&&_[iu](S.C())}),S.B(8,()=>{k[iu]&&k[iu]()});const e=e=>{E.U(e),C.P(e)};return p?Ul(()=>{p[iu]&&e(p[iu])}):e(w[iu].parentElement),()=>{S.v(),E.v(),C.v()}},[]),ou(()=>{C.j()},[O]),s.useImperativeHandle(g,()=>({get cache(){return S._()},get scrollOffset(){return S.C()},get scrollSize(){return Dl((e=S).h(),e.p());var e},get viewportSize(){return S.p()},findStartIndex:S.$,findEndIndex:S.I,getItemOffset:S.R,getItemSize:S.T,scrollToIndex:C.Y,scrollTo:C.V,scrollBy:C.X}),[]),a){const e=new Set(a);for(let[t,r]=S.S(n);t<=r;t++)e.add(t);Vl([...e]).forEach(e=>{A.push(j(e))})}else for(let[s,h]=S.S(n);s<=h;s++)A.push(j(s));return h.jsx(d,{ref:w,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:T?P:"100%",height:T?"100%":P,pointerEvents:N?"none":void 0},children:A})});class cu{constructor(e,t,n,r,o){this.devtools=e,this.key=t,this._data=n,this.getChildren=r,this.cache=o??e.anyCache,this.expandKey=`${t}/expand-key`,rt(this,"isExpanded"),rt(this,"isFitted"),rt(this,"totalChildCount"),rt(this,"depthLine"),rt(this,"depth"),rt(this,"stringifiedData"),rt.struct(this,"operations"),rt.struct(this,"children"),rt.struct(this,"expandedChildren"),rt.struct(this,"expandedChildrenWithSelf"),rt(this,"data"),rt(this,"isExpandable"),cn(this,"expand"),cn(this,"collapse"),Wn(this)}cache;get isExpanded(){return!0===this.cache.get(this.expandKey)}get children(){return this.getChildren?.(this)??[]}get isExpandable(){return this.children.length>0}expand(){this.isExpandable&&this.cache.set(this.expandKey,!0)}collapse(){this.cache.set(this.expandKey,!1)}toggleExpand(){this.isExpanded?this.collapse():this.expand()}get expandedChildren(){if(!this.isExpanded)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return e}get expandedChildrenWithSelf(){return[this,...this.expandedChildren]}get data(){return this._data}get isFitted(){return!0}get depthLine(){return String().padEnd(this.depth,"-")}get stringifiedData(){return String(this.data)}get operations(){return[]}expandKey}const du=new Set(["constructor"]),fu=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 pu(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)du.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(fu.has(r))break;n=r}return Array.from(t)}class hu extends cu{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}class mu extends cu{constructor(e,t,n,r){const o=t.constructor.name;super(e,`${o}-${t.id}`,t,void 0,new Map),this.allVms=n,this.parent=r,this.displayName=o,this.searchData={name:o.toLowerCase().trim(),id:(t.id||"").toLowerCase().trim()},rt.struct(this,"childVMListItems"),rt.struct(this,"propertyListItems"),Wn(this),Et(()=>{this.expand()})}get childVMListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return t?.parentViewModel&&t.parentViewModel===this.data}).map(e=>new mu(this.devtools,e,this.allVms,this))}get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n,r;return e.segments[1]?(n=this.searchData.id===t,r=this.searchData.name===t):(n=this.searchData.id.startsWith(t),r=this.searchData.name.startsWith(t)),r||n}get propertyListItems(){let e=pu(this.data);return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>vu.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems,...this.childVMListItems]}getVmParams(e){return"vmParams"in e?e.vmParams:null}get depth(){return this.parent&&"tree"===this.devtools.presentationMode?this.parent.depth+1:0}searchData;displayName}class vu extends cu{constructor(e,t,n,r,o){super(e,vu.createKey(o,t),void 0),this.property=t,this.path=n,this.order=r,this.parent=o,rt(this,"type"),rt(this,"searchData"),rt(this,"propertyClosingTag"),rt(this,"dataType"),rt(this,"stringifiedDataType"),rt(this,"extraContent"),Ze.ref(this,"failedStringify"),Wn(this)}get data(){return this.property&&this.parent.data[this.property]}get dataType(){return typeof this.data}get stringifiedDataType(){return Object.prototype.toString.call(this.data)}get type(){return Array.isArray(this.data)?"array":Zo.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":Zo.isFunction(this.data)?"function":Zo.isObject(this.data)?"object":this.stringifiedDataType.startsWith("[object ")&&this.data&&"object"==typeof this.data&&"constructor"in this.data?"instance":"primitive"}get children(){let e=[];if("array"===this.type)e=Object.keys(this.data).map((e,t)=>vu.create(this.devtools,e,`${this.path}.${e}`,t,this)),e.push(vu.create(this.devtools,"length",`${this.path}.length`,e.length,this));else if("function"===this.type)e=Object.keys(this.data).map((e,t)=>vu.create(this.devtools,e,`${this.path}.${e}`,t,this));else if("instance"===this.type||"object"===this.type)return pu(this.data).map((e,t)=>vu.create(this.devtools,e,`${this.path}.${e}`,t,this));return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>{const n=String(e.property),r=String(t.property);return"asc"===this.devtools.sortPropertiesBy?n.localeCompare(r):r.localeCompare(n)})),e}get isFitted(){const{searchEngine:e}=this.devtools;return!e.isActive||!this.property||e.segments.some(e=>e.startsWith(this.property))}get extraContent(){if(this.isExpanded)return null;if(this.parent.isExpanded){if(this.parent instanceof mu)return",";if(this.parent instanceof vu)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new hu(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new hu(this.devtools,`${this.key}/closing-tag`,"}",this.depth);default:return null}}get expandedChildren(){if(!this.isExpanded||!this.isExpandable)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return this.propertyClosingTag&&e.push(this.propertyClosingTag),e}get depth(){return this.parent.depth+1}get searchData(){return{property:this.property?.toLowerCase()||""}}failedStringify=!1;get isCopiable(){return"instance"!==this.type&&!this.failedStringify}get stringifiedData(){switch(this.type){case"object":case"array":try{return JSON.stringify(this.data,null,2)}catch(e){return fn(()=>{this.failedStringify=!0}),super.stringifiedData}default:switch(this.dataType){case"symbol":return`Symbol(${Symbol.keyFor(this.data)||""})`;case"string":return`"${super.stringifiedData}"`}return super.stringifiedData}}get operations(){return this.isCopiable?[{title:"Copy",icon:Ol,action:()=>navigator.clipboard.writeText(this.stringifiedData)}]:[]}static createKey(e,t){return`${e.key}-${t}`}static create(e,t,n,r,o){const i=o.cache??e.anyCache,a=`${vu.createKey(o,t)}/list-item`;let s=i.get(a);return s||(s=new vu(e,t,n,r,o),i.set(a,s)),s}}class gu extends cu{get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n;return n=e.segments[1]?this.searchData.name===t:this.searchData.name.startsWith(t),n}get propertyListItems(){let e=Object.keys(this.data||{});return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>vu.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems]}get depth(){return 0}searchData;displayName;constructor(e,t){const n="Extras";super(e,`extra$$$-${n}-`,t,void 0,new Map),this.displayName=n,this.searchData={name:n.toLowerCase().trim()},rt.struct(this,"propertyListItems"),Wn(this),Et(()=>{this.expand()})}}const yu="iconToggleButton_R48wm",bu="activePosition_IXsRn",wu="option_a5IcR",xu="active_6QS-2",_u=({value:e,options:t,className:n,onUpdate:r})=>{const o=[];let i;return t.forEach((n,a)=>{const{icon:s,value:l}=n,u=e===l;u&&(i=a),o.push(cs.jsxDEV("div",{className:yl(wu,{[xu]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].value)},children:cs.jsxDEV(s,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:40,columnNumber:9},void 0)},a,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:29,columnNumber:7},void 0))}),cs.jsxDEV("button",{className:yl(yu,n),children:[cs.jsxDEV("div",{className:bu,style:{"--index":i}},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:47,columnNumber:7},void 0),o]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:46,columnNumber:5},void 0)},ku="root_Xsw1F",Su="treeItemHeader_9gR6Q",Eu="treeItemLabel_eiMgP",Cu="treeItemMetaText_cmfX0",Tu="treeItem_sRXPA",Ou="vmTreeItem_t-7jc",Ru="extraTreeItem_z3KA1",Nu={expandButton:"expandButton_B24E3",expanded:"expanded_8-pD6",disabled:"disabled_MBq1Q",vmContent:"vmContent_TIK57",vmContentHeader:"vmContentHeader_M1JNM",vmContentHeaderLogo:"vmContentHeaderLogo_FRJDO",vmContentHeaderTitle:"vmContentHeaderTitle_lYmde",vmContentHeaderTitleText:"vmContentHeaderTitleText_RlIFH",vmContentControlPanel:"vmContentControlPanel_CgUN9",vmContentInput:"vmContentInput_29GM1",vmContentControlPanelActions:"vmContentControlPanelActions_lONbA",filled:"filled_6JZa0",vmContentVirtualized:"vmContentVirtualized_lia62",gradientBlur:"gradientBlur_-y-re"},Pu=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:o})=>cs.jsxDEV("span",{onClick:n,className:yl(Nu.expandButton,{[Nu.expandable]:e,[Nu.expanded]:t,[Nu.disabled]:r}),children:(e||o)&&cs.jsxDEV(Tl,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/expand-button.tsx",lineNumber:27,columnNumber:42},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/expand-button.tsx",lineNumber:19,columnNumber:5},void 0),Au=xo(({item:e})=>cs.jsxDEV("div",{className:yl(Tu,Ru),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:cs.jsxDEV("header",{className:Su,children:[cs.jsxDEV(Pu,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.isExpandable,expanded:e.isExpanded},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:18,columnNumber:11},void 0),cs.jsxDEV("label",{className:Eu,title:e.displayName,children:e.displayName},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:23,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:17,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/extra-list-item-render/index.tsx",lineNumber:11,columnNumber:7},void 0)),ju={property:"property_sD8FG",expandable:"expandable_np03F",instance:"instance_jv3IW",primitive:"primitive_v6LAV",boolean:"boolean_Z6znK",number:"number_U9H45",object:"object_bHf4I",bigint:"bigint_HkgX8",symbol:"symbol_oKSwT",undefined:"undefined_6CapW",null:"null_lugoL",string:"string_87vm1",propertyName:"propertyName_KicXG",propertyMeta:"propertyMeta_Ia9ce",propertyValue:"propertyValue_fYO2g",propertyOperations:"propertyOperations_fT6Ez"},Mu=xo(({item:e})=>cs.jsxDEV("div",{className:yl(ju.property,ju.primitive),style:{"--level":e.depth},"data-fitted":e.isFitted,title:e.stringifiedData,"data-depth":e.depthLine,children:e.content},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/meta-list-item-render.tsx",lineNumber:10,columnNumber:7},void 0)),Du=xo(({item:e})=>cs.jsxDEV(cs.Fragment,{children:[void 0===e.property?null:cs.jsxDEV(cs.Fragment,{children:[cs.jsxDEV("span",{className:ju.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:11,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:10,columnNumber:11},void 0),cs.jsxDEV("span",{className:ju.propertyValue,children:e.isExpanded?"[":e.isExpandable?"[...]":"[]"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:15,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/array.tsx",lineNumber:8,columnNumber:7},void 0)),Lu=xo(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return cs.jsxDEV(cs.Fragment,{children:[cs.jsxDEV("span",{className:ju.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/function.tsx",lineNumber:14,columnNumber:9},void 0),`(${t.join(", ")})`]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/function.tsx",lineNumber:13,columnNumber:7},void 0)}),Iu=xo(({item:e})=>{const t=e.data.constructor.name;return cs.jsxDEV(cs.Fragment,{children:[void 0===e.property?null:cs.jsxDEV(cs.Fragment,{children:[cs.jsxDEV("span",{className:ju.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:14,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:13,columnNumber:11},void 0),cs.jsxDEV("span",{className:ju.propertyValue,children:`${t}`},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:18,columnNumber:9},void 0),e.isExpanded&&cs.jsxDEV(cs.Fragment,{children:[" ","{"]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:19,columnNumber:29},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/instance.tsx",lineNumber:11,columnNumber:7},void 0)}),zu=xo(({item:e})=>cs.jsxDEV(cs.Fragment,{children:[void 0===e.property?null:cs.jsxDEV(cs.Fragment,{children:[cs.jsxDEV("span",{className:ju.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:11,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:10,columnNumber:11},void 0),cs.jsxDEV("span",{className:ju.propertyValue,children:e.isExpanded?"{":e.isExpandable?"{...}":"{}"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:15,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/object.tsx",lineNumber:8,columnNumber:7},void 0)),Vu=xo(({item:e})=>cs.jsxDEV(cs.Fragment,{children:[void 0===e.property?null:cs.jsxDEV(cs.Fragment,{children:[cs.jsxDEV("span",{className:ju.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:11,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:10,columnNumber:11},void 0),cs.jsxDEV("span",{className:ju.propertyValue,children:e.stringifiedData},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:15,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/primitive.tsx",lineNumber:8,columnNumber:7},void 0)),Uu=xo(e=>{const{item:t}=e;let n=null;switch(e.item.type){case"array":n=cs.jsxDEV(Du,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:25,columnNumber:19},void 0);break;case"function":n=cs.jsxDEV(Lu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:29,columnNumber:19},void 0);break;case"instance":n=cs.jsxDEV(Iu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:33,columnNumber:19},void 0);break;case"object":n=cs.jsxDEV(zu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:37,columnNumber:19},void 0);break;case"primitive":n=cs.jsxDEV(Vu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:41,columnNumber:19},void 0)}return cs.jsxDEV("div",{className:yl(ju.property,ju[t.type],ju[t.dataType],{[ju.null]:null===t.data,[ju.expandable]:t.isExpandable,[ju.expanded]:t.isExpanded}),style:{"--level":t.depth,"--order":t.order},"data-fitted":t.isFitted,title:t.stringifiedData,onClick:e=>t.devtools.handlePropertyClick(t,e),"data-depth":t.depthLine,children:[n,t.extraContent,t.operations.length>0&&cs.jsxDEV("div",{className:ju.propertyOperations,children:t.operations.map(e=>cs.jsxDEV("button",{title:e.title,className:ju.propertyOperation,onClick:t=>{t.stopPropagation(),e.action()},children:cs.jsxDEV(e.icon,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:75,columnNumber:17},void 0)},e.title,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:66,columnNumber:15},void 0))},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:64,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/property-list-item-render/index.tsx",lineNumber:47,columnNumber:7},void 0)}),Fu=xo(({item:e})=>cs.jsxDEV("div",{className:yl(Tu,Ou),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:cs.jsxDEV("header",{className:Su,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[cs.jsxDEV(Pu,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.devtools.isExpandable(e),expanded:e.isExpanded},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:20,columnNumber:9},void 0),cs.jsxDEV("label",{className:Eu,title:e.displayName,children:e.displayName},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:25,columnNumber:9},void 0),cs.jsxDEV("span",{className:Cu,title:e.data.id,children:e.data.id},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:28,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:16,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/list-items/vm-list-item-render/index.tsx",lineNumber:10,columnNumber:5},void 0)),Bu=xo(({className:e,headerContent:t,...n})=>{const r=ba();return cs.jsxDEV("div",{...n,className:yl(Nu.vmContent,e),ref:r.contentRef,children:[cs.jsxDEV("header",{className:Nu.vmContentHeader,children:[cs.jsxDEV("div",{className:Nu.gradientBlur},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:45,columnNumber:11},void 0),cs.jsxDEV("div",{className:Nu.vmContentHeaderTitle,children:[cs.jsxDEV("img",{className:Nu.vmContentHeaderLogo,src:r.devtools.logoUrl},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:47,columnNumber:13},void 0),cs.jsxDEV("span",{className:Nu.vmContentHeaderTitleText,children:"mobx-view-model devtools"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:51,columnNumber:13},void 0),t]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:46,columnNumber:11},void 0),cs.jsxDEV("div",{className:Nu.vmContentControlPanel,children:[cs.jsxDEV("div",{className:Nu.vmContentControlPanelActions,children:[cs.jsxDEV(_u,{onUpdate:r.devtools.handleChangePresentationMode,options:[{value:"tree",icon:Rl},{value:"list",icon:Nl}],value:r.devtools.presentationMode},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:58,columnNumber:15},void 0),cs.jsxDEV(_u,{onUpdate:r.devtools.handleSortPropertiesChange,options:[{value:"none",icon:El},{value:"asc",icon:Sl},{value:"desc",icon:Cl}],value:r.devtools.sortPropertiesBy},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:72,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:57,columnNumber:13},void 0),cs.jsxDEV("div",{className:`${Nu.vmContentInput} ${r.devtools.searchEngine.isActive&&Nu.filled}`,children:[cs.jsxDEV(Pl,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:94,columnNumber:15},void 0),cs.jsxDEV("input",{ref:r.devtools.searchEngine.searchInputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:95,columnNumber:15},void 0),cs.jsxDEV("button",{onClick:r.devtools.searchEngine.resetSearch,children:cs.jsxDEV(Al,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:101,columnNumber:17},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:100,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:91,columnNumber:13},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:56,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:44,columnNumber:9},void 0),cs.jsxDEV("div",{className:Nu.vmContentVirtualized,children:cs.jsxDEV(uu,{ref:r.devtools.scrollListRef,itemSize:22,data:r.devtools.listItems,keepMounted:[0],children:e=>e instanceof mu?cs.jsxDEV(Fu,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:115,columnNumber:24},void 0):e instanceof gu?cs.jsxDEV(Au,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:119,columnNumber:19},void 0):e instanceof vu?cs.jsxDEV(Uu,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:124,columnNumber:19},void 0):e instanceof hu?cs.jsxDEV(Mu,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:132,columnNumber:19},void 0):cs.jsxDEV(cs.Fragment,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:136,columnNumber:22},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:107,columnNumber:11},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:106,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:39,columnNumber:7},void 0)}),Wu="vmPopup_0hkGL",Hu="closePopupButton_igv9j",$u=xo(()=>{const e=ba();return cs.jsxDEV(Bu,{className:Wu,"data-position":e.devtools.position,headerContent:cs.jsxDEV("button",{className:Hu,onClick:e.devtools.hidePopup,children:cs.jsxDEV(Al,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",lineNumber:20,columnNumber:11},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",lineNumber:16,columnNumber:9},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-popup/index.tsx",lineNumber:12,columnNumber:5},void 0)});var Yu=function(){return Yu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Yu.apply(this,arguments)};function qu(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Ku(e){return e&&e.ownerDocument?e.ownerDocument:document}var Gu=function(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[r]=!0;break;case"false":e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})};function Xu(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function Qu(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function Ju(e){return".".concat(e.split(" ").join("."))}var Zu=!("undefined"==typeof window||!window.document||!window.document.createElement),ec=Object.freeze({__proto__:null,addClasses:Xu,canUseDOM:Zu,classNamesToQuery:Ju,getElementDocument:Ku,getElementWindow:qu,getOptions:Gu,removeClasses:Qu}),tc=null,nc=null;function rc(){if(null===tc){if("undefined"==typeof document)return tc=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),tc=n}return tc}Zu&&window.addEventListener("resize",function(){nc!==window.devicePixelRatio&&(nc=window.devicePixelRatio,tc=null)});var oc=qu,ic=Ku,ac=Gu,sc=Xu,lc=Qu,uc=Ju,cc=function(){function e(t,n){void 0===n&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=oc(r.el);r.scrollXTicking||(e.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(e.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,sc(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){lc(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(sc(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){lc(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,n;r.axis.x.track.el&&r.axis.y.track.el&&r.axis.x.scrollbar.el&&r.axis.y.scrollbar.el&&(r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,"x"):r.onTrackClick(e,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,"y"):r.onTrackClick(e,"y")))))},this.drag=function(t){var n,o,i,a,s,l,u,c,d,f,p;if(r.draggedAxis&&r.contentWrapperEl){var h=r.axis[r.draggedAxis].track,m=null!==(o=null===(n=h.rect)||void 0===n?void 0:n[r.axis[r.draggedAxis].sizeAttr])&&void 0!==o?o:0,v=r.axis[r.draggedAxis].scrollbar,g=null!==(a=null===(i=r.contentWrapperEl)||void 0===i?void 0:i[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==a?a:0,y=parseInt(null!==(l=null===(s=r.elStyles)||void 0===s?void 0:s[r.axis[r.draggedAxis].sizeAttr])&&void 0!==l?l:"0px",10);t.preventDefault(),t.stopPropagation();var b=("y"===r.draggedAxis?t.pageY:t.pageX)-(null!==(c=null===(u=h.rect)||void 0===u?void 0:u[r.axis[r.draggedAxis].offsetAttr])&&void 0!==c?c:0)-r.axis[r.draggedAxis].dragOffset,w=(b="x"===r.draggedAxis&&r.isRtl?(null!==(f=null===(d=h.rect)||void 0===d?void 0:d[r.axis[r.draggedAxis].sizeAttr])&&void 0!==f?f:0)-v.size-b:b)/(m-v.size)*(g-y);"x"===r.draggedAxis&&r.isRtl&&(w=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-w:w),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){r.isDragging=!1;var t=ic(r.el),n=oc(r.el);e.preventDefault(),e.stopPropagation(),lc(r.el,r.classNames.dragging),r.onStopScrolling(),t.removeEventListener("mousemove",r.drag,!0),t.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout(function(){t.removeEventListener("click",r.preventClick,!0),t.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=Yu(Yu({},e.defaultOptions),n),this.classNames=Yu(Yu({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Ha(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Za(e,t,{leading:r,maxWait:t,trailing:o})}(this._onMouseMove,64),this.onWindowResize=Za(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Za(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Za(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=null==n?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var o=e.getOffset(n),i=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==i.left,isScrollingToNegative:i.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:rc()}catch(e){return rc()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=ic(e),r=oc(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){Zu&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(uc(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(uc(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(uc(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(uc(this.classNames.offset)),this.maskEl=this.el.querySelector(uc(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,uc(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(uc(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(uc(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(uc(this.classNames.track)).concat(uc(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(uc(this.classNames.track)).concat(uc(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(uc(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(uc(this.classNames.scrollbar)))||null,this.options.autoHide||(sc(this.axis.x.scrollbar.el,this.classNames.visible),sc(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=oc(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var r=!1,o=n.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){r&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=oc(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var s=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||l,"px"):"auto",this.placeholderEl.style.height="".concat(s,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&l>t,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>o-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>u-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(e){var t,n;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var r,o=this.contentEl[this.axis[e].scrollSizeAttr],i=null!==(n=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==n?n:0,a=i/o;return r=Math.max(~~(a*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(r=Math.min(r,this.options.scrollbarMaxSize)),r},e.prototype.positionScrollbar=function(t){var n,r,o;void 0===t&&(t="y");var i=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&i.el&&this.elStyles){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],s=(null===(n=this.axis[t].track.el)||void 0===n?void 0:n[this.axis[t].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[t].sizeAttr],10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];u="x"===t&&this.isRtl&&(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollOriginAtZero)?-u:u,"x"===t&&this.isRtl&&(u=(null===(o=e.getRtlHelpers())||void 0===o?void 0:o.isScrollingToNegative)?u:-u);var c=u/(a-l),d=~~((s-i.size)*c);d="x"===t&&this.isRtl?-d+(s-i.size):d,i.el.style.transform="x"===t?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;t&&n&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(sc(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.isDragging||this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(lc(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),sc(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?sc(t.scrollbar.el,this.classNames.hover):lc(t.scrollbar.el,this.classNames.hover)):(lc(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),lc(this.axis[e].track.el,this.classNames.hover),lc(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var n;void 0===t&&(t="y"),this.isDragging=!0;var r=ic(this.el),o=oc(this.el),i=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-((null===(n=i.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])||0),this.draggedAxis=t,sc(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n,r,o,i,a=this;void 0===t&&(t="y");var s=this.axis[t];if(this.options.clickOnTrack&&s.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var l=oc(this.el);this.axis[t].scrollbar.rect=s.scrollbar.el.getBoundingClientRect();var u=null!==(r=null===(n=this.axis[t].scrollbar.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])&&void 0!==r?r:0,c=parseInt(null!==(i=null===(o=this.elStyles)||void 0===o?void 0:o[this.axis[t].sizeAttr])&&void 0!==i?i:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],f=("y"===t?this.mouseY-u:this.mouseX-u)<0?-1:1,p=-1===f?d-c:d+c,h=function(){a.contentWrapperEl&&(-1===f?d>p&&(d-=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(h)):d<p&&(d+=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,l.requestAnimationFrame(h)))};h()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=oc(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=ac,e.helpers=ec,e}(),dc=function(e,t){return(dc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};var fc=cc.helpers,pc=fc.getOptions,hc=fc.addClasses,mc=fc.canUseDOM,vc=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=e.apply(this,n)||this;return t.instances.set(n[0],o),o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}dc(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){"init"===e.getAttribute("data-simplebar")||t.instances.has(e)||new t(e,pc(e.attributes))})},t.removeObserver=function(){var e;null===(e=t.globalObserver)||void 0===e||e.disconnect()},t.prototype.initDOM=function(){var e,t,n,r=this;if(!Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(r.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),hc(this.wrapperEl,this.classNames.wrapper),hc(this.contentWrapperEl,this.classNames.contentWrapper),hc(this.offsetEl,this.classNames.offset),hc(this.maskEl,this.classNames.mask),hc(this.contentEl,this.classNames.contentEl),hc(this.placeholderEl,this.classNames.placeholder),hc(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),hc(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),null===(e=this.contentWrapperEl)||void 0===e||e.setAttribute("tabindex",this.options.tabIndex.toString()),null===(t=this.contentWrapperEl)||void 0===t||t.setAttribute("role","region"),null===(n=this.contentWrapperEl)||void 0===n||n.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var o=document.createElement("div"),i=document.createElement("div");hc(o,this.classNames.track),hc(i,this.classNames.scrollbar),o.appendChild(i),this.axis.x.track.el=o.cloneNode(!0),hc(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),hc(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}cc.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){cc.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,pc(e.attributes)):e.querySelectorAll("[data-simplebar]").forEach(function(e){"init"!==e.getAttribute("data-simplebar")&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,pc(e.attributes))}))}),e.removedNodes.forEach(function(e){var n;1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount()):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){var n;!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount())}))})})},t.instances=new WeakMap,t}(cc);mc&&vc.initHtmlApi();const gc=xa(class extends Ta{devtools=this.payload.devtools;contentRef=ei({meta:{scrollbar:null},onSet(e){const t=new vc(e);this.meta={scrollbar:t}}})},({model:e})=>cs.jsxDEV(wa,{value:e.devtools.vmStore,children:cs.jsxDEV(la,{value:e,children:[cs.jsxDEV(kl,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:14,columnNumber:9},void 0),e.devtools.isPopupOpened&&"popup"===e.devtools.displayType&&cs.jsxDEV($u,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:16,columnNumber:53},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:13,columnNumber:7},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-client/index.tsx",lineNumber:12,columnNumber:5},void 0));class yc extends es{constructor(e){super({actions:[{shortcuts:["Ctrl+F12"],action:()=>{e.isPopupOpened?e.hidePopup():e.showPopup()}},{shortcuts:["Escape"],action:()=>{e.hidePopup()}},{shortcuts:["Ctrl+ArrowLeft"],action:()=>{e.collapseAllVms()}},{shortcuts:["Ctrl+ArrowRight"],action:()=>{e.expandAllVMs()}},{shortcuts:["Tab"],action:t=>{e.searchEngine.searchInputRef.meta.focused&&t.preventDefault()}},{shortcuts:["Ctrl+ArrowDown","PageDown"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset+400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}},{shortcuts:["Ctrl+ArrowUp","PageUp"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset-400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}}]})}}class bc extends Ca{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}class wc{searchInputRef;fittedVmIds=new Set;rawSearchText;formattedSearchText;searchTextUpdateTimeout;segments=[];get isActive(){return!!this.formattedSearchText}setSearchText(e){if(this.rawSearchText=e,this.formattedSearchText=e.toLowerCase().trim(),this.segments.length=0,!this.formattedSearchText)return;let t=!0;for(let n=0;n<e.length;){const r=e[n];if(0===n&&"."===r){n++;continue}if(" "===r){n++;continue}if("."===r){t=!0,n++;continue}t&&(this.segments.push(""),t=!1);const o=this.segments.length-1;this.segments[o]+=r.toLowerCase(),n++}}resetSearch=()=>{clearTimeout(this.searchTextUpdateTimeout),this.setSearchText(""),this.searchInputRef.current&&(this.searchInputRef.current.value="")};constructor(){this.setSearchText(""),this.searchInputRef=(e=>{const t=()=>{fn(()=>{n.meta.focused=document.activeElement===n.current})},n=ei({meta:{focused:!1},onSet:(n,r)=>{t(),n.addEventListener("focus",t,!0),n.addEventListener("blur",t,!0),e?.onSet?.(n,r)},onUnset:n=>{e?.onUnset?.(n),n?.removeEventListener("focus",t,!0),n?.removeEventListener("blur",t,!0)}});return n})({onSet:e=>{this.rawSearchText&&e.value!==this.rawSearchText&&(e.value=this.rawSearchText),e.addEventListener("input",()=>{clearTimeout(this.searchTextUpdateTimeout),this.searchTextUpdateTimeout=setTimeout(()=>{this.setSearchText(e.value)},100)})}}),Wn(this,{rawSearchText:Ze.ref,formattedSearchText:Ze.ref,isActive:rt,segments:Ze,setSearchText:cn.bound})}}class xc{constructor(e){this.config=e,this.isPopupOpened=this.storage.get({key:"isPopupOpened"})??!!this.config.defaultIsOpened,this.displayType="popup",this.position=this.storage.get({key:"position"})??this.config.position??"top-right",this.vmStore=new bc,this.setExtras(this.config.extras),this.setStore(this.config.viewModels),this.presentationMode=this.storage.get({key:"presentationMode"})??"tree",this.sortPropertiesBy=this.storage.get({key:"sortPropertiesBy"})??"none",this.expandedVmItemsPaths=Ze.set(),this.logoUrl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAACTFBMVEUvEQFCGQIuEQFAGALpZhjoZhlgJANAGALrZhiAMAR1KwNKHAJXIAM4FQFsKgWUNgL09PYvEQCgPARoJwNRHgL////U0dCoSRGSPgzFTQljKwl5MggjDQHm5ORWsU2JNATWWBC4SQxsMQysQAX6+vra2NbMUQtRJQxWLgu/SAXf3t62tLOyr6zCbTecSxmyQQLIxcDAvbqbmZaVeWeKc2WgRBB/OhCMOQu4QwPt7e/DuLCYz5NoOB2tqqdsaGVhW1NagUJtTjtkYCe8XyaRRRiHRRTi29XKyMfr0cG2p5yag3JfVElMR0GfcjBVMx/KWRnoYxXdXhRzQBB0OA3n6OrOzM2npKPLq5frs5TUpo2umounkHp3cm6mgWqBbGB8aVZzYVBXnktWT0eYY0BYZzOGazGmWi3IYid1QSOxTxZYSBQ6IBFFJA6lPAP/8uvR2s3qybbSwLW8q6G3nYigm4B8fHvxonW9kXWSjGhrgl5vZlpZqk+ZdE5cjE16fkzuh0q9eUetcUKAWEBpdj90bjg/PDfteDRZdTGwaS6sYCljVCl2TCflbCJZYSKlVSJfRh/dZB2OWR1nRhFfNRHO48zo1crjwamuv5SfqpSXtpGro4bEm4SMhoGFu3yQlHqFf3l5tHKtjHCFe2ageWLSimBnYFuue1hYlk1uikCCYT5XijqRWjdNPTLRcS5VVCC7WB3WYBtsTRYmHBNYPxLA3bzwv6LVsZ+4tJyQxYqHqHvVlnJzn2uegF39l1t1oEiKjzyAdjpeRDShaClCLR/JXT/FAAAABnRSTlP7uLgrtivDuZKUAAAElElEQVQ4yyWURXsbMRRFpyRF0vCM2a6ZmWPXYWqwTVKGMDRNUmZmZmZmZub+scrp3bzN+e65q8dMmQwBwqwKnLZTNrsVDW/Y8P3AgRJPKcK8ykHIMZOmMJMgAYAlimCwGQRsHdHpayOv2tsN4wJmIZTMEiSTGMgRQoCC/B5ZAYIu/fylIthsBlkAHCeZKaNChuE4yKkA2w2IAKtdhyNpWY76ZUwkFZkIUFmeNTPU6vUadSMOOg2htNWURRhRkwQBr9OlHXQNYTipbVHZ6tX5JiPGKgsgUBQWUgckMDX/woIFC+uwzEhcWz43J6ANVgEC+dpIrcJyEp8+MeR4k4hpz696PyTIdBMZ+jAv0RBqGXPUZkw1YT0AEtCFw/3NiVgiVbWMR5hCJnnZs5uB+PoeB4pk9OFaoM9adTVDXeXzGm7+9fI8AIwEsiwBV12BYIWZmCL6DIBGozGt8+6vCLmbOp8e0vF0uMKzrH7hnHii3GyGpgjiOcLr9QDubwlaFj3d9oD6GcIqQM1enVO25FobqD1x2IQIp/KAjPUtabCs7e/fHR7hGQAUDqKN4rz9fb/XrJrf76gzcuqexsY91xJaS2Pq7oNdNVaGZ4kElaWituXNaF50b3p8uoN451m02y6VaS1rkksXbwybGMJBSMBSSy5YPtqUs6zbse816HHn8jsuB91zGpNNi2/vyjAsYGmSWm080VblFj9WV589eylnSR7ZnHDnGrvvbNq2K8JgwALCJhtCFVsKjnwgftLnexsKxE4uHyiPB9ZV79s3uHuYwbSKA3e1oeYWn3GxO17lW34kblnke7F5SVCb8lUf6aibxSgYEAhS2mDfs1GuKqa98WLghltb5Tv+dX1obtdY5YBD384gpAIWbmkI9TR7Ve+awMrNe1eK1Hbw1voQbTr46PSrEsaOAVak+7F8d/OYz5sMiJc/uzQXB45Xfpo719L0tvrn85ISxmYFkFe7YmXdPaNecHSueO6cRrzV++TJDFF0rVt+pvVYEbIDs0RS2rKKLW2s0bgoJ7o077ZunT59hkajuXKm82XJBKRAs5R0l/VVnOWNxscB0eW63jt9AnJd6ch6JiCnwkJzyhJqqSjwDkdHXnSt3P7wPyQuNgkTkB1jOryrPth8v+Do7Oz8Vl+/6eD2CZ1LXKsXxtsp5EQAQph0B8vLl2FTpq7u6NEzxysfFiHRchsjq392CQN4IJkLa93xJd0Zkykbqct0vK6urOwtNlmWYgVFKQQh6yvsnl8fu0OLsD4dOXF6cO/eyu2910WNuGDnvfApqlPUwoYFq2bWr97D026driZ8uHVw8NeORz8uipoVK1wrdhZ1oHDvy8KF8zfqMUZpnW54uKbm8KFDf1pbWy+cn0lThFSWEG/WaOQF2SrbnbJ9Fo3H4xnJoKzDaNJTG90kQcIKCAAcLaVxGuz0B/k9HpssOJ0I20uKEGOGHCsIPAAoGnU6x52lfkPU7zfMNsjRUsFqmIAmmzmJIISBCpAgO6OCMC7T47H5BdqP2ikzlb5DxswBjAAhvFX2+2UrRgIyHDtwzGMoFexFZto/HbAJBdFwHOYAAAAASUVORK5CYII=",this.scrollContentRef=ei(),this.scrollListRef=ei(),this.keyboardHandler=new yc(this),this.searchEngine=new wc,Wn(this,{position:Ze.ref,isPopupOpened:Ze.ref,projectVmStore:Ze.ref,presentationMode:Ze.ref,sortPropertiesBy:Ze.ref,extras:Ze.ref,setStore:cn.bound,setExtras:cn.bound,showPopup:cn.bound,hidePopup:cn.bound,handleChangePresentationMode:cn.bound,handleSortPropertiesChange:cn.bound,handleExpandVmPropertyClick:cn.bound,expandAllVMs:cn.bound,collapseAllVms:cn.bound,handleExpandExtraPropertyClick:cn.bound,isActive:rt,rootVmListItems:rt.struct,extraListItems:rt.struct}),this.render()}isPopupOpened;displayType;vmStore;projectVmStore;extras;expandedVmItemsPaths;logoUrl;scrollContentRef;keyboardHandler;searchEngine;presentationMode;sortPropertiesBy;position;scrollListRef;storage=new ts({namespace:"mobx-view-model-devtools",type:"session"});anyCache=Ze.map();autoscrollTimeout;get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!Ta.isPrototypeOf(e.constructor))}get rootVmListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new mu(this,e,this.allVms))}get extraListItems(){return this.extras?[new gu(this,this.extras)]:[]}get listItems(){return[...this.rootVmListItems.flatMap(e=>e.expandedChildrenWithSelf),...this.extraListItems.flatMap(e=>e.expandedChildrenWithSelf)]}get isActive(){return!!this.projectVmStore||Object.keys(this.extras||{}).length>0}get containerId(){return this.config.containerId??"view-model-devtools"}isExpanded(e){return e.isExpanded||this.searchEngine.isActive}checkIsExtraPathExpanded(e){const t=`__EXTRA__%%%${e}`;return this.expandedVmItemsPaths.has(t)}handleExpandVmPropertyClick(e,t){const n=`${e.key}%%%${t}`;this.expandedVmItemsPaths.has(n)?this.expandedVmItemsPaths.delete(n):this.expandedVmItemsPaths.add(n)}handlePropertyClick(e,t){e.toggleExpand()}handleExpandExtraPropertyClick(e){const t=`__EXTRA__%%%${e}`;this.expandedVmItemsPaths.has(t)?this.expandedVmItemsPaths.delete(t):this.expandedVmItemsPaths.add(t)}handleVmItemHeaderClick(e){e.toggleExpand()}isExpandable(e){return e.isExpandable&&"list"!==this.presentationMode}getVmParams(e){return"vmParams"in e?e.vmParams:null}setStore(e){this.projectVmStore=e}setExtras(e){this.extras=e}handleChangePresentationMode=e=>{this.presentationMode="list"===e?"list":"tree",this.expandedVmItemsPaths.clear()};handleSortPropertiesChange=e=>{this.sortPropertiesBy=e};expandAllVMs(){}collapseAllVms(){}showPopup(){this.isPopupOpened=!0,this.expandAllVMs()}hidePopup(){this.isPopupOpened=!1}init(){this.isInitialized||(this.isInitialized=!0,gn(()=>this.searchEngine.formattedSearchText,()=>{clearTimeout(this.autoscrollTimeout),this.autoscrollTimeout=setTimeout(()=>{if(!this.isActive)return void this.scrollListRef.current?.scrollTo(0);let e=0,t=0;document.querySelectorAll(`#${this.containerId} [data-fitted]`).forEach((n,r)=>{"true"===n.dataset.fitted&&n.dataset.depth&&n.dataset.depth.length>=t&&(t=n.dataset.depth.length,e=this.scrollListRef.current?.getItemOffset(r)??0)}),this.scrollListRef.current?.scrollTo(e)},200)}),this.storage.syncProperty(this,"isPopupOpened"),this.storage.syncProperty(this,"sortPropertiesBy"),this.storage.syncProperty(this,"presentationMode"),this.storage.syncProperty(this,"position"))}isInitialized=!1;render(){let e=document.querySelector(`#${this.containerId}`);if(!e)if(e=document.createElement("div"),e.className=ku,e.id=this.containerId,document.body){document.body.appendChild(e);as.createRoot(e).render(s.createElement(gc,{payload:{devtools:this}}))}else document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e);as.createRoot(e).render(s.createElement(gc,{payload:{devtools:this}}))});this.init()}static _instance=null;static define(e){return xc._instance||(xc._instance=new xc(e??{})),xc._instance}static connect(e,t){const n=xc.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=xc.define();return t.setStore(e),t}static connectExtras(e){const t=xc.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:xc}),xc.define({position:"top-right",defaultIsOpened:!0}),xc.connectExtras(window),da.hooks.storeCreate.sub(e=>{bc!==e.constructor&&xc.connect(e)})});
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.vmButton_esipO{position:fixed;z-index:999999;width:36px;height:36px;border-radius:8px;transition:all .15s ease-in-out;cursor:pointer;-webkit-user-select:none;user-select:none}.vmButton_esipO.dragging_kUMCE{transition:none;cursor:grabbing;opacity:.8;z-index:1000}.vmButton_esipO.opened_NYAFW{opacity:0!important;pointer-events:none}.vmButton_esipO[data-position=top-right]{top:12px;right:12px}.vmButton_esipO[data-position=top-left]{top:12px;left:12px}.vmButton_esipO[data-position=bottom-left]{bottom:12px;left:12px}.vmButton_esipO[data-position=bottom-right]{bottom:12px;right:12px}.vmButton_esipO>img{pointer-events:none;position:absolute;inset:0;border-radius:8px}.vmButton_esipO>div{transition:all .15s ease-in-out;position:absolute;inset:0;border-radius:8px;border:2px solid #00000057}.vmButton_esipO>span{left:-4px;top:-4px;pointer-events:none;position:absolute;display:flex;border-radius:8px;background:#005c26cf;padding:2px;font-weight:600;font-size:12px;line-height:12px;color:#2aff0a}.vmButton_esipO:not(.isConnected_eObxX){filter:grayscale(1)}.iconToggleButton_R48wm{display:flex;align-items:center;gap:2px;position:relative;height:20px;outline:none;border-radius:4px;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.activePosition_IXsRn{position:absolute;height:16px;width:16px;padding:1px;box-sizing:content-box!important;background:var(--vmd-control-active-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));border-radius:4px;transition:all 149ms ease;transform:translate(calc(20px * var(--index)))}.option_a5IcR{padding:1px;z-index:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;transition:all 149ms ease;color:var(--vmd-control-inactive-color)}.option_a5IcR.active_6QS-2{color:var(--vmd-control-active-color)}.option_a5IcR>svg{width:14px;height:14px}:root{--vmd-base-blur: 2px;--vmd-bg: #0c0a19e6;--vmd-overlay-bg: #0e1227bd;--vmd-base-color: #ccc;--vmd-control-active-bg: #e6e6e682;--vmd-control-active-color: #181818;--vmd-control-active-text-input-color: var(--vmd-base-color);--vmd-control-active-text-input-placeholder-color: #a3a3a3;--vmd-control-inactive-color: #8b8b8b;--vmd-control-border: #5b5468a6;--vmd-control-bg: transparent;--vmd-control-blur: 2px;--vmd-bg-transparent: #1f1c2600;--vmd-content-bg: transparent;--vmd-content-highlight-bg: #ffffff0a;--vmd-scrollbar-track-size: 8px;--vmd-scrollbar-bg-base: #81818170;--vmd-scrollbar-bg-active: #818181;--vmd-property-meta-color: #616161;--vmd-primary-bg: #0f6013;--vmd-primary-color: #5ab65e;--vmd-secondary-bg: #6b6902;--vmd-header-height: 60px}.root_Xsw1F{display:contents;box-sizing:border-box}.root_Xsw1F *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:14px;box-sizing:border-box}.root_Xsw1F button{outline:none;background:transparent;border:0;cursor:pointer;margin:0;padding-block:0;padding-inline:0;color:var(--vmd-base-color)}.hierarchyButton_h3FD7{width:18px;height:18px;padding:2px;border-radius:6px}.hierarchyButton_h3FD7.active_4JTx5{background:#f0f0f01f}.treeItemHeader_9gR6Q{display:flex;align-items:center;gap:4px;margin:auto 0;cursor:pointer;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItemLabel_eiMgP{padding:0 4px;border-radius:4px}.treeItemMetaText_cmfX0{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.treeItem_sRXPA{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;height:22px;display:flex;flex-direction:row;align-items:center;padding-left:calc(8px + (var(--level) * 20px));position:sticky;top:calc(var(--vmd-header-height) + var(--vmd-control-panel-height));z-index:1}.treeItem_sRXPA:hover{background:var(--vmd-content-highlight-bg)}.treeItem_sRXPA:not([data-fitted=true])>header{opacity:.6}.vmTreeItem_t-7jc .treeItemLabel_eiMgP{background:var(--vmd-primary-bg)}.vmTreeItem_t-7jc .treeItemMetaText_cmfX0{color:var(--vmd-primary-color)}.extraTreeItem_z3KA1 .treeItemLabel_eiMgP{background:var(--vmd-secondary-bg)}.expandButton_B24E3{color:#a0a0a0;opacity:1!important;width:16px;height:16px;font-weight:700;cursor:pointer}.expandButton_B24E3.expanded_8-pD6{color:#b8b8b8;transform:rotate(90deg)}.expandButton_B24E3.disabled_MBq1Q{opacity:.35!important}.vmContent_TIK57[data-simplebar]{position:relative;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;color:var(--vmd-base-color);background:var(--vmd-bg);-webkit-backdrop-filter:blur(var(--vmd-base-blur));backdrop-filter:blur(var(--vmd-base-blur));display:flex;flex-direction:column;overflow:auto;overflow-y:auto;scrollbar-width:thin;overflow-anchor:none}.vmContent_TIK57[data-simplebar] .simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.vmContent_TIK57[data-simplebar] .simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.vmContent_TIK57[data-simplebar] .simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.vmContent_TIK57[data-simplebar] .simplebar-content-wrapper::-webkit-scrollbar,.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.vmContent_TIK57[data-simplebar] .simplebar-content:after,.vmContent_TIK57[data-simplebar] .simplebar-content:before{content:" ";display:table}.vmContent_TIK57[data-simplebar] .simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.vmContent_TIK57[data-simplebar] .simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.vmContent_TIK57[data-simplebar] .simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}.vmContent_TIK57[data-simplebar].simplebar-dragging,.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.vmContent_TIK57[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{position:absolute;content:"";background:var(--vmd-scrollbar-bg-base);border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-vertical{top:0;width:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-scrollbar:before{inset:2px}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal{left:0;height:var(--vmd-scrollbar-track-size)}.vmContent_TIK57[data-simplebar] .simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.vmContent_TIK57[data-simplebar] .simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.vmContent_TIK57[data-simplebar] .simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.vmContentHeader_M1JNM{display:flex;flex-direction:column;height:var(--vmd-header-height);flex:none;padding:0 8px;position:sticky;top:0;z-index:1}.vmContentHeaderLogo_FRJDO{width:16px;margin-right:6px}.vmContentHeaderTitle_lYmde{display:flex;justify-content:space-between;align-items:center;flex:none;font-weight:600;z-index:1}.vmContentHeaderTitleText_RlIFH{font-size:16px;margin-right:auto}.vmContentControlPanel_CgUN9{width:100%;height:var(--vmd-control-panel-height);padding-bottom:4px;flex:none;display:flex;flex-direction:row;z-index:1;gap:4px;overflow:hidden;padding-right:6px}.vmContentControlPanel_CgUN9:has(.vmContentInput_29GM1 input:focus)>.vmContentControlPanelActions_lONbA{margin-left:-106px}.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center;gap:6px;transition:all .15s ease}.hiearchyToggleButton_0FTG-{display:flex}.vmContentInput_29GM1{display:flex;position:relative;flex:1;-webkit-backdrop-filter:blur(var(--vmd-control-blur));backdrop-filter:blur(var(--vmd-control-blur))}.vmContentInput_29GM1>svg{position:absolute;width:16px;inset:50% 0;transform:translate(6px,-50%);pointer-events:none;opacity:.7}.vmContentInput_29GM1>input{background:var(--vmd-control-bg);border:1px solid var(--vmd-control-border);color:var(--vmd-control-active-text-input-color);border-radius:4px;outline:0;width:100%;padding:3px 26px;font-size:14px;text-overflow:ellipsis}.vmContentInput_29GM1>input::placeholder{color:var(--vmd-control-active-text-input-placeholder-color)}.vmContentInput_29GM1>button{position:absolute;right:6px;width:16px;transform:translate(4px,-50%);top:50%;opacity:.6;display:none}.vmContentInput_29GM1.filled_6JZa0>svg{opacity:.9}.vmContentInput_29GM1.filled_6JZa0>button{display:block}.vmContentVirtualized_lia62{flex:1}.vmContentVirtualized_lia62>div>div{height:22px}.gradientBlur_-y-re{position:absolute;top:0;left:0;width:100%;height:calc(100% + 6px);pointer-events:none;background:linear-gradient(to bottom,var(--vmd-overlay-bg) 0%,rgba(0,0,0,0) 100%)}.gradientBlur_-y-re:before{content:"";position:absolute;inset:0;background:transparent;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);-webkit-mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%);mask:linear-gradient(to bottom,var(--vmd-overlay-bg) 50%,rgba(0,0,0,0) 100%)}.property_sD8FG{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:pre;background:var(--vmd-content-bg);height:22px;display:flex;flex-direction:row;align-items:center;position:relative;color:var(--vmd-property-meta-color);padding-left:calc(0px + 28px + (var(--level) * 15px))}.property_sD8FG:hover{background:var(--vmd-content-highlight-bg)}.property_sD8FG.expandable_np03F{cursor:pointer}.property_sD8FG[data-fitted=false]{opacity:.5}.property_sD8FG.instance_jv3IW{--value-color: rgb(190 113 195)}.property_sD8FG.primitive_v6LAV.boolean_Z6znK,.property_sD8FG.primitive_v6LAV.number_U9H45,.property_sD8FG.primitive_v6LAV.object_bHf4I,.property_sD8FG.primitive_v6LAV.bigint_HkgX8,.property_sD8FG.primitive_v6LAV.symbol_oKSwT{--value-color: rgb(89, 153, 205)}.property_sD8FG.primitive_v6LAV.undefined_6CapW,.property_sD8FG.primitive_v6LAV.null_lugoL{--value-color: #499098}.primitive_v6LAV.string_87vm1{--value-color: #af7249}.propertyName_KicXG{color:#ccc}.propertyMeta_Ia9ce{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g{color:var(--value-color, var(--vmd-property-meta-color));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_fYO2g:has(+.propertyName_KicXG){margin-right:4px}.propertyOperations_fT6Ez{position:absolute;right:12px;display:flex;align-items:center;opacity:0}.property_sD8FG:hover>.propertyOperations_fT6Ez{opacity:1}.vmPopup_0hkGL{position:fixed!important;z-index:999999;width:520px;border-radius:8px;height:calc(100vh - 24px);width:calc(100vw - 34px);max-width:520px;box-shadow:0 5px 20px #0006}.vmPopup_0hkGL[data-position=top-right]{top:12px;right:12px}.vmPopup_0hkGL[data-position=top-left]{top:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-left]{bottom:12px;left:12px}.vmPopup_0hkGL[data-position=bottom-right]{bottom:12px;right:12px}.closePopupButton_igv9j{width:28px;height:28px;padding:6px;border:0;background:transparent;color:var(--vmd-base-color);display:flex;align-items:center;justify-content:center}')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";var e,t,n={exports:{}},r={};function i(){return t||(t=1,n.exports=function(){if(e)return r;e=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=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.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var w=y.prototype=new b;w.constructor=y,m(w,g.prototype),w.isPureReactComponent=!0;var _=Array.isArray,x=Object.prototype.hasOwnProperty,k={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,n,r){var i,o={},a=null,l=null;if(null!=n)for(i in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)x.call(n,i)&&!S.hasOwnProperty(i)&&(o[i]=n[i]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in s=e.defaultProps)void 0===o[i]&&(o[i]=s[i]);return{$$typeof:t,type:e,key:a,ref:l,props:o,_owner:k.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var O=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(e,r,i,o,a){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case t:case n:s=!0}}if(s)return a=a(s=e),e=""===o?"."+T(s,0):o,_(a)?(i="",null!=e&&(i=e.replace(O,"$&/")+"/"),A(a,r,i,"",function(e){return e})):null!=a&&(C(a)&&(a=function(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+e)),r.push(a)),1;if(s=0,o=""===o?".":o+":",_(e))for(var u=0;u<e.length;u++){var c=o+T(l=e[u],u);s+=A(l,r,i,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=A(l=l.value,r,i,c=o+T(l,u++),a);else if("object"===l)throw r=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function M(e,t,n){if(null==e)return e;var r=[],i=0;return A(e,r,"","",function(e){return t.call(n,e,i++)}),r}function N(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 P={current:null},L={transition:null},R={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:L,ReactCurrentOwner:k};function z(){throw Error("act(...) is not supported in production builds of React.")}return r.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(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}},r.Component=g,r.Fragment=i,r.Profiler=a,r.PureComponent=y,r.StrictMode=o,r.Suspense=c,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,r.act=z,r.cloneElement=function(e,n,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,l=e._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=k.current),void 0!==n.key&&(o=""+n.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in n)x.call(n,u)&&!S.hasOwnProperty(u)&&(i[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];i.children=s}return{$$typeof:t,type:e.type,key:o,ref:a,props:i,_owner:l}},r.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},r.createElement=E,r.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:u,render:e}},r.isValidElement=C,r.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},r.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},r.unstable_act=z,r.useCallback=function(e,t){return P.current.useCallback(e,t)},r.useContext=function(e){return P.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return P.current.useDeferredValue(e)},r.useEffect=function(e,t){return P.current.useEffect(e,t)},r.useId=function(){return P.current.useId()},r.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},r.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return P.current.useMemo(e,t)},r.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},r.useRef=function(e){return P.current.useRef(e)},r.useState=function(e){return P.current.useState(e)},r.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},r.useTransition=function(){return P.current.useTransition()},r.version="18.3.1",r}()),n.exports}var o=i();const a=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(o);var l,s,u={exports:{}},c={},d=(s||(s=1,u.exports=function(){if(l)return c;l=1;var e=i(),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 s(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 c.Fragment=n,c.jsx=s,c.jsxs=s,c}()),u.exports);function f(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];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 p={};function h(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:p}var m=Object.assign,v=Object.getOwnPropertyDescriptor,g=Object.defineProperty,b=Object.prototype,y=[];Object.freeze(y);var w={};Object.freeze(w);var _="undefined"!=typeof Proxy,x=Object.toString();function k(){_||f("Proxy not available")}function S(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var E=function(){};function C(e){return"function"==typeof e}function O(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function T(e){return null!==e&&"object"==typeof e}function A(e){if(!T(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()===x}function M(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function N(e,t,n){g(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function P(e,t,n){g(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function L(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return T(e)&&!0===e[n]}}function R(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function z(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var I=void 0!==Object.getOwnPropertySymbols,j="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:I?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function D(e){return null===e?null:"object"==typeof e?""+e:e}function V(e,t){return b.hasOwnProperty.call(e,t)}var F=Object.getOwnPropertyDescriptors||function(e){var t={};return j(e).forEach(function(n){t[n]=v(e,n)}),t};function B(e,t){return!!(e&t)}function U(e,t,n){return n?e|=t:e&=~t,e}function W(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 H(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,Y(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function K(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 W(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)?W(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 G(){return G=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},G.apply(null,arguments)}function $(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,q(e,t)}function q(e,t){return(q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}var X=Symbol("mobx-stored-annotations");function Q(e){return Object.assign(function(t,n){if(Z(n))return e.decorate_20223_(t,n);J(t,n,e)},e)}function J(e,t,n){V(e,X)||N(e,X,G({},e[X])),function(e){return e.annotationType_===le}(n)||(e[X][t]=n)}function Z(e){return"object"==typeof e&&"string"==typeof e.kind}var ee=Symbol("mobx administration"),te=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=it.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 At(this)},t.reportChanged=function(){Ot(),Mt(this),Tt()},t.toString=function(){return this.name_},H(e,[{key:"isBeingObserved",get:function(){return B(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=U(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return B(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=U(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return B(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();te.isBeingObservedMask_=1,te.isPendingUnobservationMask_=2,te.diffValueMask_=4;var ne=L("Atom",te);function re(e,t,n){void 0===t&&(t=E),void 0===n&&(n=E);var r=new te(e);return t!==E&&tn(Jt,r,t,undefined),n!==E&&en(r,n),r}var ie={structural:function(e,t){return mr(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 oe(e,t,n){return fn(e)?e:Array.isArray(e)?We.array(e,{name:n}):A(e)?We.object(e,void 0,{name:n}):R(e)?We.map(e,{name:n}):z(e)?We.set(e,{name:n}):"function"!=typeof e||$t(e)||dn(e)?e:M(e)?un(e):Kt(n,e)}function ae(e){return e}var le="override";function se(e,t){return{annotationType_:e,options_:t,make_:ue,extend_:ce,decorate_20223_:de}}function ue(e,t,n,r){var i;if(null!=(i=this.options_)&&i.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($t(n.value))return 1;var o=fe(e,this,t,n,!1);return g(r,t,o),2}function ce(e,t,n,r){var i=fe(e,this,t,n);return e.defineProperty_(t,i,r)}function de(e,t){var n,r=t.kind,i=t.name,o=t.addInitializer,a=this,l=function(e){var t,n,r,o;return Je(null!=(t=null==(n=a.options_)?void 0:n.name)?t:i.toString(),e,null!=(r=null==(o=a.options_)?void 0:o.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return $t(n)||(n=l(n)),null!=(t=a.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?($t(e)||(e=l(e)),null!=(n=this.options_)&&n.bound&&o(function(){var e=this,t=e[i].bind(e);t.isMobxAction=!0,e[i]=t}),e):void f("Cannot apply '"+a.annotationType_+"' to '"+String(i)+"' (kind: "+r+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}function fe(e,t,n,r,i){var o,a,l,s,u,c,d,f;void 0===i&&(i=kt.safeDescriptors),f=r,t.annotationType_,f.value;var p,h=r.value;return null!=(o=t.options_)&&o.bound&&(h=h.bind(null!=(p=e.proxy_)?p:e.target_)),{value:Je(null!=(a=null==(l=t.options_)?void 0:l.name)?a:n.toString(),h,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:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function pe(e,t){return{annotationType_:e,options_:t,make_:he,extend_:me,decorate_20223_:ve}}function he(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!V(e.target_,t)||!dn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(dn(n.value))return 1;var o=ge(e,this,t,n,!1,!1);return g(r,t,o),2}function me(e,t,n,r){var i,o=ge(e,this,t,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function ve(e,t){var n,r=t.name,i=t.addInitializer;return dn(e)||(e=un(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this,t=e[r].bind(e);t.isMobXFlow=!0,e[r]=t}),e}function ge(e,t,n,r,i,o){var a;void 0===o&&(o=kt.safeDescriptors),a=r,t.annotationType_,a.value;var l,s=r.value;return dn(s)||(s=un(s)),i&&((s=s.bind(null!=(l=e.proxy_)?l:e.target_)).isMobXFlow=!0),{value:s,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function be(e,t){return{annotationType_:e,options_:t,make_:ye,extend_:we,decorate_20223_:_e}}function ye(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function we(e,t,n,r){var i;return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,G({},this.options_,{get:n.get,set:n.set}),r)}function _e(e,t){var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=qn(this)[ee],i=G({},n.options_,{get:e,context:this});i.name||(i.name="ObservableObject."+r.toString()),t.values_.set(r,new rt(i))}),function(){return this[ee].getObservablePropValue_(r)}}function xe(e,t){return{annotationType_:e,options_:t,make_:ke,extend_:Se,decorate_20223_:Ee}}function ke(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Se(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:oe,r)}function Ee(e,t){var n=this,r=t.kind,i=t.name,o=new WeakSet;function a(e,t){var r,a,l=qn(e)[ee],s=new nt(t,null!=(r=null==(a=n.options_)?void 0:a.enhancer)?r:oe,"ObservableObject."+i.toString(),!1);l.values_.set(i,s),o.add(e)}if("accessor"==r)return{get:function(){return o.has(this)||a(this,e.get.call(this)),this[ee].getObservablePropValue_(i)},set:function(e){return o.has(this)||a(this,e),this[ee].setObservablePropValue_(i,e)},init:function(e){return o.has(this)||a(this,e),e}}}var Ce="true",Oe=Te();function Te(e){return{annotationType_:Ce,options_:e,make_:Ae,extend_:Me,decorate_20223_:Ne}}function Ae(e,t,n,r){var i,o,a,l;if(n.get)return $e.make_(e,t,n,r);if(n.set){var s=$t(n.set)?n.set:Je(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!kt.safeDescriptors||e.isPlainObject_,set:s})?0:2:(g(r,t,{configurable:!0,set:s}),2)}if(r!==e.target_&&"function"==typeof n.value)return M(n.value)?(null!=(l=this.options_)&&l.autoBind?un.bound:un).make_(e,t,n,r):(null!=(a=this.options_)&&a.autoBind?Kt.bound:Kt).make_(e,t,n,r);var u,c=!1===(null==(i=this.options_)?void 0:i.deep)?We.ref:We;return"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_)),c.make_(e,t,n,r)}function Me(e,t,n,r){var i,o,a;return n.get?$e.extend_(e,t,n,r):n.set?e.defineProperty_(t,{configurable:!kt.safeDescriptors||e.isPlainObject_,set:Je(t.toString(),n.set)},r):("function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?We.ref:We).extend_(e,t,n,r))}function Ne(e,t){f("'"+this.annotationType_+"' cannot be used as a decorator")}var Pe={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Le(e){return e||Pe}Object.freeze(Pe);var Re=xe("observable"),ze=xe("observable.ref",{enhancer:ae}),Ie=xe("observable.shallow",{enhancer:function(e,t,n){return null==e||Qn(e)||Rn(e)||Vn(e)||Wn(e)?e:Array.isArray(e)?We.array(e,{name:n,deep:!1}):A(e)?We.object(e,void 0,{name:n,deep:!1}):R(e)?We.map(e,{name:n,deep:!1}):z(e)?We.set(e,{name:n,deep:!1}):void 0}}),je=xe("observable.struct",{enhancer:function(e,t){return mr(e,t)?t:e}}),De=Q(Re);function Ve(e){return!0===e.deep?oe:!1===e.deep?ae:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:oe;var t,n,r}function Fe(e,t,n){return Z(t)?Re.decorate_20223_(e,t):O(t)?void J(e,t,Re):fn(e)?e:A(e)?We.object(e,t,n):Array.isArray(e)?We.array(e,t):R(e)?We.map(e,t):z(e)?We.set(e,t):"object"==typeof e&&null!==e?e:We.box(e,t)}m(Fe,De);var Be,Ue,We=m(Fe,{box:function(e,t){var n=Le(t);return new nt(e,Ve(n),n.name,!0,n.equals)},array:function(e,t){var n=Le(t);return(!1===kt.useProxies||!1===n.proxy?ur:On)(e,Ve(n),n.name)},map:function(e,t){var n=Le(t);return new Dn(e,Ve(n),n.name)},set:function(e,t){var n=Le(t);return new Un(e,Ve(n),n.name)},object:function(e,t,n){return fr(function(){return function(e,t,n){var r=F(t);return fr(function(){var t=qn(e,undefined)[ee];j(r).forEach(function(e){t.extend_(e,r[e],!n||!(e in n)||n[e])})}),e}(!1===kt.useProxies||!1===(null==n?void 0:n.proxy)?qn({},n):function(e,t){var n,r;return k(),null!=(r=(n=(e=qn(e,t))[ee]).proxy_)?r:n.proxy_=new Proxy(e,mn)}({},n),e,t)})},ref:Q(ze),shallow:Q(Ie),deep:De,struct:Q(je)}),He="computed",Ke=be(He),Ge=be("computed.struct",{equals:ie.structural}),$e=function(e,t){if(Z(t))return Ke.decorate_20223_(e,t);if(O(t))return J(e,t,Ke);if(A(e))return Q(be(He,e));var n=A(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new rt(n)};Object.assign($e,Ke),$e.struct=Q(Ge);var qe=0,Ye=1,Xe=null!=(Be=null==(Ue=v(function(){},"name"))?void 0:Ue.configurable)&&Be,Qe={value:"action",configurable:!0,writable:!1,enumerable:!1};function Je(e,t,n,r){function i(){return Ze(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,i.toString=function(){return t.toString()},Xe&&(Qe.value=e,g(i,"name",Qe)),i}function Ze(e,t,n,r,i){var o=function(e,t){var n=kt.trackingDerivation,r=!t||!n;Ot();var i=kt.allowStateChanges;r&&(mt(),i=et(!0));var o={runAsAction_:r,prevDerivation_:n,prevAllowStateChanges_:i,prevAllowStateReads_:gt(!0),notifySpy_:!1,startTime_:0,actionId_:Ye++,parentActionId_:qe};return qe=o.actionId_,o}(0,t);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{!function(e){qe!==e.actionId_&&f(30),qe=e.parentActionId_,void 0!==e.error_&&(kt.suppressReactionErrors=!0),tt(e.prevAllowStateChanges_),bt(e.prevAllowStateReads_),Tt(),e.runAsAction_&&vt(e.prevDerivation_),kt.suppressReactionErrors=!1}(o)}}function et(e){var t=kt.allowStateChanges;return kt.allowStateChanges=e,t}function tt(e){kt.allowStateChanges=e}var nt=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=ie.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}$(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==kt.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(vn(this)){var t=bn(this,{object:this,type:Sn,newValue:e});if(!t)return kt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?kt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),yn(this)&&_n(this,{type:Sn,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:Sn,newValue:this.value_,oldValue:void 0}),wn(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 D(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(te),rt=function(){function e(e){this.dependenciesState_=it.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=it.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new ut(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=at.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||f(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Je("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ie.structural:ie.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){e.lowestObserverState_===it.UP_TO_DATE_&&(e.lowestObserverState_=it.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===it.UP_TO_DATE_&&(e.dependenciesState_=it.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&&f(32,this.name_,this.derivation),0!==kt.inBatch||0!==this.observers_.size||this.keepAlive_){if(At(this),dt(this)){var e=kt.trackingContext;this.keepAlive_&&!e&&(kt.trackingContext=this),this.trackAndCompute()&&function(e){e.lowestObserverState_!==it.STALE_&&(e.lowestObserverState_=it.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===it.POSSIBLY_STALE_?t.dependenciesState_=it.STALE_:t.dependenciesState_===it.UP_TO_DATE_&&(e.lowestObserverState_=it.UP_TO_DATE_)}))}(this),kt.trackingContext=e}}else dt(this)&&(this.warnAboutUntrackedRead_(),Ot(),this.value_=this.computeValue_(!1),Tt());var t=this.value_;if(ct(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&f(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else f(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===it.NOT_TRACKING_,n=this.computeValue_(!0),r=t||ct(e)||ct(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing=!0;var t,n=et(!1);if(e)t=ft(this,this.derivation,this.scope_);else if(!0===kt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new ut(e)}return tt(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(pt(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return qt(function(){var o=n.get();if(!r||t){var a=mt();e({observableKind:"computed",debugObjectName:n.name_,type:Sn,object:n,newValue:o,oldValue:i}),vt(a)}r=!1,i=o})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return D(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},H(e,[{key:"isComputing",get:function(){return B(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=U(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return B(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=U(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return B(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=U(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return B(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=U(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return B(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();rt.isComputingMask_=1,rt.isRunningSetterMask_=2,rt.isBeingObservedMask_=4,rt.isPendingUnobservationMask_=8,rt.diffValueMask_=16;var it,ot,at,lt,st=L("ComputedValue",rt);(ot=it||(it={}))[ot.NOT_TRACKING_=-1]="NOT_TRACKING_",ot[ot.UP_TO_DATE_=0]="UP_TO_DATE_",ot[ot.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",ot[ot.STALE_=2]="STALE_",(lt=at||(at={}))[lt.NONE=0]="NONE",lt[lt.LOG=1]="LOG",lt[lt.BREAK=2]="BREAK";var ut=function(e){this.cause=void 0,this.cause=e};function ct(e){return e instanceof ut}function dt(e){switch(e.dependenciesState_){case it.UP_TO_DATE_:return!1;case it.NOT_TRACKING_:case it.STALE_:return!0;case it.POSSIBLY_STALE_:for(var t=gt(!0),n=mt(),r=e.observing_,i=r.length,o=0;o<i;o++){var a=r[o];if(st(a)){if(kt.disableErrorBoundaries)a.get();else try{a.get()}catch(e){return vt(n),bt(t),!0}if(e.dependenciesState_===it.STALE_)return vt(n),bt(t),!0}}return yt(e),vt(n),bt(t),!1}}function ft(e,t,n){var r=gt(!0);yt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++kt.runId;var i,o=kt.trackingDerivation;if(kt.trackingDerivation=e,kt.inBatch++,!0===kt.disableErrorBoundaries)i=t.call(n);else try{i=t.call(n)}catch(e){i=new ut(e)}return kt.inBatch--,kt.trackingDerivation=o,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=it.UP_TO_DATE_,i=0,o=e.unboundDepsCount_,a=0;a<o;a++){var l=n[a];0===l.diffValue&&(l.diffValue=1,i!==a&&(n[i]=l),i++),l.dependenciesState_>r&&(r=l.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var s=t[o];0===s.diffValue&&Et(s,e),s.diffValue=0}for(;i--;){var u=n[i];1===u.diffValue&&(u.diffValue=0,St(u,e))}r!==it.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),bt(r),i}function pt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Et(t[n],e);e.dependenciesState_=it.NOT_TRACKING_}function ht(e){var t=mt();try{return e()}finally{vt(t)}}function mt(){var e=kt.trackingDerivation;return kt.trackingDerivation=null,e}function vt(e){kt.trackingDerivation=e}function gt(e){var t=kt.allowStateReads;return kt.allowStateReads=e,t}function bt(e){kt.allowStateReads=e}function yt(e){if(e.dependenciesState_!==it.UP_TO_DATE_){e.dependenciesState_=it.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=it.UP_TO_DATE_}}var wt=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},_t=!0,xt=!1,kt=function(){var e=h();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(_t=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new wt).version&&(_t=!1),_t?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new wt):(setTimeout(function(){xt||f(35)},1),new wt)}();function St(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Et(e,t){e.observers_.delete(t),0===e.observers_.size&&Ct(e)}function Ct(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,kt.pendingUnobservations.push(e))}function Ot(){kt.inBatch++}function Tt(){if(0===--kt.inBatch){Rt();for(var e=kt.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 rt&&n.suspend_())}kt.pendingUnobservations=[]}}function At(e){var t=kt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&kt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&kt.inBatch>0&&Ct(e),!1)}function Mt(e){e.lowestObserverState_!==it.STALE_&&(e.lowestObserverState_=it.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===it.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=it.STALE_}))}var Nt=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=it.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=at.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,kt.pendingReactions.push(this),Rt())},t.runReaction_=function(){if(!this.isDisposed){Ot(),this.isScheduled=!1;var e=kt.trackingContext;if(kt.trackingContext=this,dt(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}kt.trackingContext=e,Tt()}},t.track=function(e){if(!this.isDisposed){Ot(),this.isRunning=!0;var t=kt.trackingContext;kt.trackingContext=this;var n=ft(this,e,void 0);kt.trackingContext=t,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&pt(this),ct(n)&&this.reportExceptionInDerivation_(n.cause),Tt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(kt.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";kt.suppressReactionErrors||console.error(n,e),kt.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(Ot(),pt(this),Tt()))},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[ee]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){},H(e,[{key:"isDisposed",get:function(){return B(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=U(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return B(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=U(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return B(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=U(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return B(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=U(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return B(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=U(this.flags_,e.diffValueMask_,1===t)}}])}();Nt.isDisposedMask_=1,Nt.isScheduledMask_=2,Nt.isTrackPendingMask_=4,Nt.isRunningMask_=8,Nt.diffValueMask_=16;var Pt=100,Lt=function(e){return e()};function Rt(){kt.inBatch>0||kt.isRunningReactions||Lt(zt)}function zt(){kt.isRunningReactions=!0;for(var e=kt.pendingReactions,t=0;e.length>0;){++t===Pt&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r<i;r++)n[r].runReaction_()}kt.isRunningReactions=!1}var It=L("Reaction",Nt),jt="action",Dt="autoAction",Vt=se(jt),Ft=se("action.bound",{bound:!0}),Bt=se(Dt,{autoAction:!0}),Ut=se("autoAction.bound",{autoAction:!0,bound:!0});function Wt(e){return function(t,n){return C(t)?Je(t.name||"<unnamed action>",t,e):C(n)?Je(t,n,e):Z(n)?(e?Bt:Vt).decorate_20223_(t,n):O(n)?J(t,n,e?Bt:Vt):O(t)?Q(se(e?Dt:jt,{name:t,autoAction:e})):void 0}}var Ht=Wt(!1);Object.assign(Ht,Vt);var Kt=Wt(!0);function Gt(e){return Ze(e.name,!1,e,this,void 0)}function $t(e){return C(e)&&!0===e.isMobxAction}function qt(e,t){var n,r,i,o;void 0===t&&(t=w);var a,l=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var s=Xt(t),u=!1;a=new Nt(l,function(){u||(u=!0,s(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}else a=new Nt(l,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(a)}return null!=(i=t)&&null!=(i=i.signal)&&i.aborted||a.schedule_(),a.getDisposer_(null==(o=t)?void 0:o.signal)}Object.assign(Kt,Bt),Ht.bound=Q(Ft),Kt.bound=Q(Ut);var Yt=function(e){return e()};function Xt(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Yt}function Qt(e,t,n){var r,i,o;void 0===n&&(n=w);var a,l,s,u=null!=(r=n.name)?r:"Reaction",c=Ht(u,n.onError?(a=n.onError,l=t,function(){try{return l.apply(this,arguments)}catch(e){a.call(this,e)}}):t),d=!n.scheduler&&!n.delay,f=Xt(n),p=!0,h=!1,m=n.compareStructural?ie.structural:n.equals||ie.default,v=new Nt(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=et(!1);try{return t()}finally{tt(n)}}(0,function(){return e(v)});t=p||!m(s,n),s=n}),(p&&n.fireImmediately||!p&&t)&&c(s,r,v),p=!1}}return null!=(i=n)&&null!=(i=i.signal)&&i.aborted||v.schedule_(),v.getDisposer_(null==(o=n)?void 0:o.signal)}var Jt="onBO",Zt="onBUO";function en(e,t,n){return tn(Zt,e,t,n)}function tn(e,t,n,r){var i=cr(t),o=C(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var nn="always";function rn(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(rn)),n}var on=0;function an(){this.message="FLOW_CANCELLED"}an.prototype=Object.create(Error.prototype);var ln=pe("flow"),sn=pe("flow.bound",{bound:!0}),un=Object.assign(function(e,t){if(Z(t))return ln.decorate_20223_(e,t);if(O(t))return J(e,t,ln);var n=e,r=n.name||"<unnamed flow>",i=function(){var e,t=arguments,i=++on,o=Ht(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,l=new Promise(function(t,n){var l=0;function s(e){var t;a=void 0;try{t=Ht(r+" - runid: "+i+" - yield "+l++,o.next).call(o,e)}catch(e){return n(e)}c(t)}function u(e){var t;a=void 0;try{t=Ht(r+" - runid: "+i+" - yield "+l++,o.throw).call(o,e)}catch(e){return n(e)}c(t)}function c(e){if(!C(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(s,u);e.then(c,n)}e=n,s(void 0)});return l.cancel=Ht(r+" - runid: "+i+" - cancel",function(){try{a&&cn(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(E,E),cn(n),e(new an)}catch(t){e(t)}}),l};return i.isMobXFlow=!0,i},ln);function cn(e){C(e.cancel)&&e.cancel()}function dn(e){return!0===(null==e?void 0:e.isMobXFlow)}function fn(e){return function(e){return!!e&&(Qn(e)||!!e[ee]||ne(e)||It(e)||st(e))}(e)}function pn(e,t){void 0===t&&(t=void 0),Ot();try{return e.apply(t)}finally{Tt()}}function hn(e){return e[ee]}un.bound=Q(sn);var mn={has:function(e,t){return hn(e).has_(t)},get:function(e,t){return hn(e).get_(t)},set:function(e,t,n){var r;return!!O(t)&&(null==(r=hn(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!O(t)&&(null==(n=hn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=hn(e).defineProperty_(t,n))||r},ownKeys:function(e){return hn(e).ownKeys_()},preventExtensions:function(e){f(13)}};function vn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function gn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),S(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function bn(e,t){var n=mt();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i<o&&((t=r[i](t))&&!t.type&&f(14),t);i++);return t}finally{vt(n)}}function yn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function wn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),S(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function _n(e,t){var n=mt(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i<o;i++)r[i](t);vt(n)}}function xn(e,t,n){return fr(function(){var r=qn(e,n)[ee];null!=t||(t=function(e){return V(e,X)||N(e,X,G({},e[X])),e[X]}(e)),j(t).forEach(function(e){return r.make_(e,t[e])})}),e}var kn="splice",Sn="update",En={get:function(e,t){var n=e[ee];return t===ee?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?V(Tn,t)?Tn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[ee];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){f(15)}},Cn=function(){function e(e,t,n,r){void 0===e&&(e="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 te(e),this.enhancer_=function(e,n){return t(e,n,"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}),wn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&f("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_&&f(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&sr(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:null==t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=y),vn(this)){var o=bn(this,{object:this.proxy_,type:kn,index:e,removedCount:t,added:n});if(!o)return y;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}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 i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a<n.length;a++)this.values_[e+a]=n[a];for(var l=0;l<o.length;l++)this.values_[e+n.length+l]=o[l];return i},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&!1,i=yn(this),o=i||r?{observableKind:"array",object:this.proxy_,type:Sn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;this.atom_.reportChanged(),i&&_n(this,o)},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&!1,i=yn(this),o=i||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:kn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;this.atom_.reportChanged(),i&&_n(this,o)},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&f(17,e,n.length),e<n.length){this.atom_;var r=n[e];if(vn(this)){var i=bn(this,{type:Sn,object:this.proxy_,index:e,newValue:t});if(!i)return;t=i.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var o=new Array(e+1-n.length),a=0;a<o.length-1;a++)o[a]=void 0;o[o.length-1]=t,this.spliceWithArray_(n.length,0,o)}},e}();function On(e,t,n,r){return void 0===n&&(n="ObservableArray"),void 0===r&&(r=!1),k(),fr(function(){var i=new Cn(n,t,r,!1);P(i.values_,ee,i);var o=new Proxy(i.values_,En);return i.proxy_=o,e&&e.length&&i.spliceWithArray_(0,0,e),o})}var Tn={clear:function(){return this.splice(0)},replace:function(e){var t=this[ee];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),i=2;i<n;i++)r[i-2]=arguments[i];var o=this[ee];switch(arguments.length){case 0:return[];case 1:return o.spliceWithArray_(e);case 2:return o.spliceWithArray_(e,t)}return o.spliceWithArray_(e,t,r)},spliceWithArray:function(e,t,n){return this[ee].spliceWithArray_(e,t,n)},push:function(){for(var e=this[ee],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[ee].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[ee],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 kt.trackingDerivation&&f(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){kt.trackingDerivation&&f(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[ee],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function An(e,t){"function"==typeof Array.prototype[e]&&(Tn[e]=t(e))}function Mn(e){return function(){var t=this[ee];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Nn(e){return function(t,n){var r=this,i=this[ee];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e](function(e,i){return t.call(n,e,i,r)})}}function Pn(e){return function(){var t=this,n=this[ee];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}An("at",Mn),An("concat",Mn),An("flat",Mn),An("includes",Mn),An("indexOf",Mn),An("join",Mn),An("lastIndexOf",Mn),An("slice",Mn),An("toString",Mn),An("toLocaleString",Mn),An("toSorted",Mn),An("toSpliced",Mn),An("with",Mn),An("every",Nn),An("filter",Nn),An("find",Nn),An("findIndex",Nn),An("findLast",Nn),An("findLastIndex",Nn),An("flatMap",Nn),An("forEach",Nn),An("map",Nn),An("some",Nn),An("toReversed",Nn),An("reduce",Pn),An("reduceRight",Pn);var Ln=L("ObservableArrayAdministration",Cn);function Rn(e){return T(e)&&Ln(e[ee])}var zn={},In="add",jn="delete",Dn=function(){function e(e,t,n){var r=this;void 0===t&&(t=oe),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[ee]=zn,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,C(Map)||f(18),fr(function(){r.keysAtom_=re("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(!kt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new nt(this.has_(e),ae,"ObservableMap.key?",!1);this.hasMap_.set(e,r),en(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(vn(this)){var r=bn(this,{type:n?Sn:In,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(this.keysAtom_,vn(this)&&!bn(this,{type:jn,object:this,name:e}))return!1;if(this.has_(e)){var n=yn(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:jn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return pn(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)}),n&&_n(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==kt.UNCHANGED){var r=yn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Sn,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&_n(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,pn(function(){var r,i=new nt(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=yn(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:In,object:this,name:e,newValue:t}:null;r&&_n(this,i)},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 Fn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Fn({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=K(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return Vn(e)&&(e=new Map(e)),pn(function(){var n,r,i;A(e)?function(e){var t=Object.keys(e);if(!I)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return b.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)}):R(e)?(n=e,r=Object.getPrototypeOf(n),i=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(i)&&f(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&f(20,e)}),this},t.clear=function(){var e=this;pn(function(){ht(function(){for(var t,n=K(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return pn(function(){for(var n,r=function(e){if(R(e)||Vn(e))return e;if(Array.isArray(e))return new Map(e);if(A(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return f(21,e)}(e),i=new Map,o=!1,a=K(t.data_.keys());!(n=a()).done;){var l=n.value;if(!r.has(l))if(t.delete(l))o=!0;else{var s=t.data_.get(l);i.set(l,s)}}for(var u,c=K(r.entries());!(u=c()).done;){var d=u.value,p=d[0],h=d[1],m=t.data_.has(p);if(t.set(p,h),t.data_.has(p)){var v=t.data_.get(p);i.set(p,v),m||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),b=i.keys(),y=g.next(),w=b.next();!y.done;){if(y.value!==w.value){t.keysAtom_.reportChanged();break}y=g.next(),w=b.next()}t.data_=i}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},H(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Vn=L("ObservableMap",Dn);function Fn(e){return e[Symbol.toStringTag]="MapIterator",yr(e)}var Bn={},Un=function(){function e(e,t,n){var r=this;void 0===t&&(t=oe),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[ee]=Bn,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,C(Set)||f(22),this.enhancer_=function(e,r){return t(e,r,n)},fr(function(){r.atom_=re(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;pn(function(){ht(function(){for(var t,n=K(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=K(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,vn(this)){var n=bn(this,{type:In,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){pn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=yn(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:In,object:this,newValue:e}:null;r&&_n(this,i)}return this},t.delete=function(e){var t=this;if(vn(this)&&!bn(this,{type:jn,object:this,oldValue:e}))return!1;if(this.has(e)){var n=yn(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:jn,object:this,oldValue:e}:null;return pn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),n&&_n(this,r),!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 Hn({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 Hn({next:function(){var n=t.next(),r=n.value,i=n.done;return i?{value:void 0,done:i}:{value:e.dehanceValue_(r),done:i}}})},t.intersection=function(e){return z(e)&&!Wn(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return z(e)&&!Wn(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return z(e)&&!Wn(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 z(e)&&!Wn(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return Wn(e)&&(e=new Set(e)),pn(function(){Array.isArray(e)||z(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&f("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return wn(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()},H(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Wn=L("ObservableSet",Un);function Hn(e){return e[Symbol.toStringTag]="SetIterator",yr(e)}var Kn=Object.create(null),Gn="remove",$n=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=Oe),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 te("ObservableObject.keys"),this.isPlainObject_=A(this.target_)}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 rt)return n.set(t),!0;if(vn(this)){var r=bn(this,{type:Sn,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==kt.UNCHANGED){var i=yn(this),o=i?{type:Sn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),i&&_n(this,o)}return!0},t.get_=function(e){return kt.trackingDerivation&&!V(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),V(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(!kt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new nt(e in this.target_,ae,"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(!(e in this.target_)){var n;if(null!=(n=this.target_[X])&&n[e])return;f(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==b;){var i=v(r,e);if(i){var o=t.make_(this,e,i,r);if(0===o)return;if(1===o)break}r=Object.getPrototypeOf(r)}Jn(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);var i=n.extend_(this,e,t,r);return i&&Jn(this,n,e),i},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ot();var r=this.delete_(e);if(!r)return r;if(vn(this)){var i=bn(this,{object:this.proxy_||this.target_,name:e,type:In,newValue:t.value});if(!i)return null;var o=i.newValue;t.value!==o&&(t=G({},t,{value:o}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else g(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Tt()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),this.keysAtom_;try{Ot();var i=this.delete_(e);if(!i)return i;if(vn(this)){var o=bn(this,{object:this.proxy_||this.target_,name:e,type:In,newValue:t});if(!o)return null;t=o.newValue}var a=Xn(e),l={configurable:!kt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,l))return!1}else g(this.target_,e,l);var s=new nt(t,n,"ObservableObject.key",!1);this.values_.set(e,s),this.notifyPropertyAddition_(e,s.value_)}finally{Tt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),this.keysAtom_;try{Ot();var r=this.delete_(e);if(!r)return r;if(vn(this)&&!bn(this,{object:this.proxy_||this.target_,name:e,type:In,newValue:void 0}))return null;t.name||(t.name="ObservableObject.key"),t.context=this.proxy_||this.target_;var i=Xn(e),o={configurable:!kt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:i.get,set:i.set};if(n){if(!Reflect.defineProperty(this.target_,e,o))return!1}else g(this.target_,e,o);this.values_.set(e,new rt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Tt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),this.keysAtom_,!V(this.target_,e))return!0;if(vn(this)&&!bn(this,{object:this.proxy_||this.target_,name:e,type:Gn}))return null;try{var n;Ot();var r,i=yn(this),o=this.values_.get(e),a=void 0;if(!o&&i&&(a=null==(r=v(this.target_,e))?void 0:r.value),t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(o&&(this.values_.delete(e),o instanceof nt&&(a=o.value_),Mt(o)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),i){var l={type:Gn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};i&&_n(this,l)}}finally{Tt()}return!0},t.observe_=function(e,t){return wn(this,e)},t.intercept_=function(e){return gn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=yn(this);if(r){var i=r?{type:In,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;r&&_n(this,i)}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),j(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function qn(e,t){var n;if(V(e,ee))return e;var r=null!=(n=null==t?void 0:t.name)?n:"ObservableObject",i=new $n(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Te(e):void 0}(t));return N(e,ee,i),e}var Yn=L("ObservableObjectAdministration",$n);function Xn(e){return Kn[e]||(Kn[e]={get:function(){return this[ee].getObservablePropValue_(e)},set:function(t){return this[ee].setObservablePropValue_(e,t)}})}function Qn(e){return!!T(e)&&Yn(e[ee])}function Jn(e,t,n){var r;null==(r=e.target_[X])||delete r[n]}var Zn,er,tr=ar(0),nr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),rr=0,ir=function(){};Zn=ir,er=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Zn.prototype,er):void 0!==Zn.prototype.__proto__?Zn.prototype.__proto__=er:Zn.prototype=er;var or=function(e){function t(t,n,r,i){var o;return void 0===r&&(r="ObservableArray"),void 0===i&&(i=!1),o=e.call(this)||this,fr(function(){var e=new Cn(r,n,i,!0);e.proxy_=o,P(o,ee,e),t&&t.length&&o.spliceWithArray(0,0,t),nr&&Object.defineProperty(o,"0",tr)}),o}$(t,e);var n=t.prototype;return n.concat=function(){this[ee].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 Rn(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return yr({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},H(t,[{key:"length",get:function(){return this[ee].getArrayLength_()},set:function(e){this[ee].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(ir);function ar(e){return{enumerable:!1,configurable:!0,get:function(){return this[ee].get_(e)},set:function(t){this[ee].set_(e,t)}}}function lr(e){g(or.prototype,""+e,ar(e))}function sr(e){if(e>rr){for(var t=rr;t<e+100;t++)lr(t);rr=e}}function ur(e,t,n){return new or(e,t,n)}function cr(e,t){if("object"==typeof e&&null!==e){if(Rn(e))return void 0!==t&&f(23),e[ee].atom_;if(Wn(e))return e.atom_;if(Vn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||f(25,t,dr(e)),n}if(Qn(e)){if(!t)return f(26);var r=e[ee].values_.get(t);return r||f(27,t,dr(e)),r}if(ne(e)||st(e)||It(e))return e}else if(C(e)&&It(e[ee]))return e[ee];f(28)}function dr(e,t){var n;if(void 0!==t)n=cr(e,t);else{if($t(e))return e.name;n=Qn(e)||Vn(e)||Wn(e)?function(e){return e||f(29),ne(e)||st(e)||It(e)||Vn(e)||Wn(e)?e:e[ee]?e[ee]:void f(24,e)}(e):cr(e)}return n.name_}function fr(e){var t=mt(),n=et(!0);Ot();try{return e()}finally{Tt(),tt(n),vt(t)}}Object.entries(Tn).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&N(or.prototype,t,n)}),sr(1e3);var pr,hr=b.toString;function mr(e,t,n){return void 0===n&&(n=-1),vr(e,t,n)}function vr(e,t,n,r,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;if("function"!==o&&"object"!==o&&"object"!=typeof t)return!1;var a=hr.call(e);if(a!==hr.call(t))return!1;switch(a){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=gr(e),t=gr(t);var l="[object Array]"===a;if(!l){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,u=t.constructor;if(s!==u&&!(C(s)&&s instanceof s&&C(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),l){if((c=e.length)!==t.length)return!1;for(;c--;)if(!vr(e[c],t[c],n-1,r,i))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(!V(t,h)||!vr(e[h],t[h],n-1,r,i))return!1}}return r.pop(),i.pop(),!0}function gr(e){return Rn(e)?e.slice():R(e)||Vn(e)||z(e)||Wn(e)?Array.from(e.entries()):e}var br=(null==(pr=h().Iterator)?void 0:pr.prototype)||{};function yr(e){return e[Symbol.iterator]=wr,Object.assign(Object.create(br),e)}function wr(){return this}if(["Symbol","Map","Set"].forEach(function(e){void 0===h()[e]&&f("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:dr},$mobx:ee}),!o.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!xn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var _r,xr,kr,Sr,Er={exports:{}},Cr={},Or={exports:{}},Tr={};function Ar(){return xr||(xr=1,Or.exports=(_r||(_r=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function 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,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.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,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var i=n(u);null!==i;){if(null===i.callback)r(u);else{if(!(i.startTime<=e))break;r(u),i.sortIndex=i.expirationTime,t(s,i)}i=n(u)}}function w(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,P(_);else{var t=n(u);null!==t&&L(w,t.startTime-e)}}function _(t,i){h=!1,m&&(m=!1,g(E),E=-1),p=!0;var o=f;try{for(y(i),d=n(s);null!==d&&(!(d.expirationTime>i)||t&&!T());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var l=a(d.expirationTime<=i);i=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(i)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&L(w,v.startTime-i),c=!1}return c}finally{d=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,k=!1,S=null,E=-1,C=5,O=-1;function T(){return!(e.unstable_now()-O<C)}function A(){if(null!==S){var t=e.unstable_now();O=t;var n=!0;try{n=S(!0,t)}finally{n?x():(k=!1,S=null)}}else k=!1}if("function"==typeof b)x=function(){b(A)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,N=M.port2;M.port1.onmessage=A,x=function(){N.postMessage(null)}}else x=function(){v(A,0)};function P(e){S=e,k||(k=!0,x())}function L(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,P(_))},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,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,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:i,priorityLevel:r,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>a?(r.sortIndex=o,t(u,r),null===n(s)&&r===n(u)&&(m?(g(E),E=-1):m=!0,L(w,o-a))):(r.sortIndex=l,t(s,r),h||p||(h=!0,P(_))),r},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}}}}(Tr)),Tr)),Or.exports}function Mr(){if(kr)return Cr;kr=1;var e=i(),t=Ar();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){l(e,t),l(e+"Capture",t)}function l(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,c=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},f={};function p(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){h[e]=new p(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];h[t]=new p(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){h[e]=new p(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){h[e]=new p(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){h[e]=new p(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){h[e]=new p(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){h[e]=new p(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){h[e]=new p(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){h[e]=new p(e,5,!1,e.toLowerCase(),null,!1,!1)});var m=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function g(e,t,n,r){var i=h.hasOwnProperty(t)?h[t]:null;(null!==i?0!==i.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,i,r)&&(n=null),r||null===i?function(e){return!!u.call(f,e)||!u.call(d,e)&&(c.test(e)?f[e]=!0:(d[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!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(m,v);h[t]=new p(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(m,v);h[t]=new p(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(m,v);h[t]=new p(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){h[e]=new p(e,1,!1,e.toLowerCase(),null,!1,!1)}),h.xlinkHref=new p("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){h[e]=new p(e,1,!1,e.toLowerCase(),null,!0,!0)});var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),w=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),E=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),P=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var R,z=Object.assign;function I(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var j=!1;function D(e,t){if(!e||j)return"";j=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(1!==a||1!==l)do{if(a--,0>--l||i[a]!==o[l]){var s="\n"+i[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?I(e):""}function V(e){switch(e.tag){case 5:return I(e.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return D(e.type,!1);case 11:return D(e.type.render,!1);case 1:return D(e.type,!0);default:return""}}function F(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 _:return"Fragment";case w:return"Portal";case k:return"Profiler";case x:return"StrictMode";case O:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case E:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return F(e(t))}catch(e){}}return null}function B(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 F(t);case 8:return t===x?"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 U(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(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 $(e,t){var n=t.checked;return z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(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 Y(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=U(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,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(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&&G(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 i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+U(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function te(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return z({},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:U(r)}}function re(e,t){var n=U(t.value),r=U(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 ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(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 ae(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(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("--"),i=pe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}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=z({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 be=null;function ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,_e=null,xe=null;function ke(e){if(e=wi(e)){if("function"!=typeof we)throw Error(n(280));var t=e.stateNode;t&&(t=xi(t),we(e.stateNode,e.type,t))}}function Se(e){_e?xe?xe.push(e):xe=[e]:_e=e}function Ee(){if(_e){var e=_e,t=xe;if(xe=_e=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Ce(e,t){return e(t)}function Oe(){}var Te=!1;function Ae(e,t,n){if(Te)return e(t,n);Te=!0;try{return Ce(e,t,n)}finally{Te=!1,(null!==_e||null!==xe)&&(Oe(),Ee())}}function Me(e,t){var r=e.stateNode;if(null===r)return null;var i=xi(r);if(null===i)return null;r=i[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":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Ne=!1;if(s)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(se){Ne=!1}function Le(e,t,n,r,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Re=!1,ze=null,Ie=!1,je=null,De={onError:function(e){Re=!0,ze=e}};function Ve(e,t,n,r,i,o,a,l,s){Re=!1,ze=null,Le.apply(De,arguments)}function Fe(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 Be(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 Ue(e){if(Fe(e)!==e)throw Error(n(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,i=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(i=o.return)){r=i;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Ue(o),e;if(a===i)return Ue(o),t;a=a.sibling}throw Error(n(188))}if(r.return!==i.return)r=o,i=a;else{for(var l=!1,s=o.child;s;){if(s===r){l=!0,r=o,i=a;break}if(s===i){l=!0,i=o,r=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===r){l=!0,r=a,i=o;break}if(s===i){l=!0,i=a,r=o;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==i)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 Ke=t.unstable_scheduleCallback,Ge=t.unstable_cancelCallback,$e=t.unstable_shouldYield,qe=t.unstable_requestPaint,Ye=t.unstable_now,Xe=t.unstable_getCurrentPriorityLevel,Qe=t.unstable_ImmediatePriority,Je=t.unstable_UserBlockingPriority,Ze=t.unstable_NormalPriority,et=t.unstable_LowPriority,tt=t.unstable_IdlePriority,nt=null,rt=null,it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(ot(e)/at|0)|0},ot=Math.log,at=Math.LN2,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,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~i;0!==l?r=ut(l):0!==(o&=a)&&(r=ut(o))}else 0!==(a=n&~i)?r=ut(a):0!==o&&(r=ut(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-it(t)),r|=e[n],t&=~i;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-it(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var gt=0;function bt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var yt,wt,_t,xt,kt,St=!1,Et=[],Ct=null,Ot=null,Tt=null,At=new Map,Mt=new Map,Nt=[],Pt="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 Lt(e,t){switch(e){case"focusin":case"focusout":Ct=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Rt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&null!==(t=wi(t))&&wt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function zt(e){var t=yi(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Be(n)))return e.blockedOn=t,void kt(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 It(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=$t(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=wi(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function jt(e,t,n){It(e)&&n.delete(t)}function Dt(){St=!1,null!==Ct&&It(Ct)&&(Ct=null),null!==Ot&&It(Ot)&&(Ot=null),null!==Tt&&It(Tt)&&(Tt=null),At.forEach(jt),Mt.forEach(jt)}function Vt(e,n){e.blockedOn===n&&(e.blockedOn=null,St||(St=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Dt)))}function Ft(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!==Ot&&Vt(Ot,e),null!==Tt&&Vt(Tt,e),At.forEach(t),Mt.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)zt(n),null===n.blockedOn&&Nt.shift()}var Bt=b.ReactCurrentBatchConfig,Ut=!0;function Wt(e,t,n,r){var i=gt,o=Bt.transition;Bt.transition=null;try{gt=1,Kt(e,t,n,r)}finally{gt=i,Bt.transition=o}}function Ht(e,t,n,r){var i=gt,o=Bt.transition;Bt.transition=null;try{gt=4,Kt(e,t,n,r)}finally{gt=i,Bt.transition=o}}function Kt(e,t,n,r){if(Ut){var i=$t(e,t,n,r);if(null===i)Kr(e,t,r,Gt,n),Lt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ct=Rt(Ct,e,t,n,r,i),!0;case"dragenter":return Ot=Rt(Ot,e,t,n,r,i),!0;case"mouseover":return Tt=Rt(Tt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return At.set(o,Rt(At.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Mt.set(o,Rt(Mt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Lt(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==i;){var o=wi(i);if(null!==o&&yt(o),null===(o=$t(e,t,n,r))&&Kr(e,t,r,Gt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Kr(e,t,r,null,n)}}var Gt=null;function $t(e,t,n,r){if(Gt=null,null!==(e=yi(e=ye(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Be(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 Gt=e,null}function qt(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(Xe()){case Qe:return 1;case Je:return 4;case Ze:case et:return 16;case tt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Qt=null;function Jt(){if(Qt)return Qt;var e,t,n=Xt,r=n.length,i="value"in Yt?Yt.value:Yt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Qt=i.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,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?en:tn,this.isPropagationStopped=tn,this}return z(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=z({},ln,{view:0,detail:0}),cn=nn(un),dn=z({},un,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,button:0,buttons:0,relatedTarget:function(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(z({},dn,{dataTransfer:0})),hn=nn(z({},un,{relatedTarget:0})),mn=nn(z({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=z({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gn=nn(vn),bn=nn(z({},ln,{data:0})),yn={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 xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=_n[e])&&!!t[e]}function kn(){return xn}var Sn=z({},un,{key:function(e){if(e.key){var t=yn[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:kn,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(Sn),Cn=nn(z({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=nn(z({},un,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),Tn=nn(z({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),An=z({},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}),Mn=nn(An),Nn=[9,13,27,32],Pn=s&&"CompositionEvent"in window,Ln=null;s&&"documentMode"in document&&(Ln=document.documentMode);var Rn=s&&"TextEvent"in window&&!Ln,zn=s&&(!Pn||Ln&&8<Ln&&11>=Ln),In=String.fromCharCode(32),jn=!1;function Dn(e,t){switch(e){case"keyup":return-1!==Nn.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 Fn=!1,Bn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function Wn(e,t,n,r){Se(r),0<(t=$r(t,"onChange")).length&&(n=new sn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Hn=null,Kn=null;function Gn(e){Vr(e,0)}function $n(e){if(K(_i(e)))return e}function qn(e,t){if("change"===e)return t}var Yn=!1;if(s){var Xn;if(s){var Qn="oninput"in document;if(!Qn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Qn="function"==typeof Jn.oninput}Xn=Qn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function Zn(){Hn&&(Hn.detachEvent("onpropertychange",er),Kn=Hn=null)}function er(e){if("value"===e.propertyName&&$n(Kn)){var t=[];Wn(t,Kn,e,ye(e)),Ae(Gn,t)}}function tr(e,t,n){"focusin"===e?(Zn(),Kn=n,(Hn=t).attachEvent("onpropertychange",er)):"focusout"===e&&Zn()}function nr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return $n(Kn)}function rr(e,t){if("click"===e)return $n(t)}function ir(e,t){if("input"===e||"change"===e)return $n(t)}var or="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ar(e,t){if(or(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 i=n[r];if(!u.call(t,i)||!or(e[i],t[i]))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=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((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 i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=sr(n,o);var a=sr(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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=s&&"documentMode"in document&&11>=document.documentMode,hr=null,mr=null,vr=null,gr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;gr||null==hr||hr!==G(r)||(r="selectionStart"in(r=hr)&&dr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ar(vr,r)||(vr=r,0<(r=$r(mr,"onSelect")).length&&(t=new sn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}function yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:yr("Animation","AnimationEnd"),animationiteration:yr("Animation","AnimationIteration"),animationstart:yr("Animation","AnimationStart"),transitionend:yr("Transition","TransitionEnd")},_r={},xr={};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 xr)return _r[e]=n[t];return e}s&&(xr=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 Er=Sr("animationend"),Or=Sr("animationiteration"),Tr=Sr("animationstart"),Mr=Sr("transitionend"),Nr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Lr(e,t){Nr.set(e,t),a(t,[e])}for(var Rr=0;Rr<Pr.length;Rr++){var zr=Pr[Rr];Lr(zr.toLowerCase(),"on"+(zr[0].toUpperCase()+zr.slice(1)))}Lr(Er,"onAnimationEnd"),Lr(Or,"onAnimationIteration"),Lr(Tr,"onAnimationStart"),Lr("dblclick","onDoubleClick"),Lr("focusin","onFocus"),Lr("focusout","onBlur"),Lr(Mr,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("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 Ir="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(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Dr(e,t,r){var i=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,i,o,a,l,s,u){if(Ve.apply(this,arguments),Re){if(!Re)throw Error(n(198));var c=ze;Re=!1,ze=null,Ie||(Ie=!0,je=c)}}(i,t,void 0,e),e.currentTarget=null}function Vr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;Dr(i,l,u),o=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;Dr(i,l,u),o=s}}}if(Ie)throw e=je,Ie=!1,je=null,e}function Fr(e,t){var n=t[vi];void 0===n&&(n=t[vi]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Br(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Ur]){e[Ur]=!0,r.forEach(function(t){"selectionchange"!==t&&(jr.has(t)||Br(t,!1,e),Br(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,Br("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(qt(t)){case 1:var i=Wt;break;case 4:i=Ht;break;default:i=Kt}n=i.bind(null,t,n,e),i=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Kr(e,t,n,r,i){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===i||8===l.nodeType&&l.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===i||8===s.nodeType&&s.parentNode===i))return;a=a.return}for(;null!==l;){if(null===(a=yi(l)))return;if(5===(s=a.tag)||6===s){r=o=a;continue e}l=l.parentNode}}r=r.return}Ae(function(){var r=o,i=ye(n),a=[];e:{var l=Nr.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=On;break;case Er:case Or:case Tr:s=mn;break;case Mr:s=Tn;break;case"scroll":s=cn;break;case"wheel":s=Mn;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=Me(h,f))&&c.push(Gr(h,m,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,i),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===be||!(u=n.relatedTarget||n.fromElement)||!yi(u)&&!u[mi])&&(s||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?yi(u):null)&&(u!==(d=Fe(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:_i(s),p=null==u?l:_i(u),(l=new c(m,h+"leave",s,n,i)).target=d,l.relatedTarget=p,m=null,yi(i)===r&&((c=new c(f,h+"enter",u,n,i)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=qr(p))h++;for(p=0,m=f;m;m=qr(m))p++;for(;0<h-p;)c=qr(c),h--;for(;0<p-h;)f=qr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=qr(c),f=qr(f)}c=null}else c=null;null!==s&&Yr(a,l,s,c,!1),null!==u&&null!==d&&Yr(a,d,u,c,!0)}if("select"===(s=(l=r?_i(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=qn;else if(Un(l))if(Yn)v=ir;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(a,v,n,i):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&J(l,"number",l.value)),g=r?_i(r):window,e){case"focusin":(Un(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,br(a,n,i);break;case"selectionchange":if(pr)break;case"keydown":case"keyup":br(a,n,i)}var b;if(Pn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Fn?Dn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(zn&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Fn&&(b=Jt()):(Xt="value"in(Yt=i)?Yt.value:Yt.textContent,Fn=!0)),0<(g=$r(r,y)).length&&(y=new bn(y,e,null,n,i),a.push({event:y,listeners:g}),(b||null!==(b=Vn(n)))&&(y.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(jn=!0,In);case"textInput":return(e=t.data)===In&&jn?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!Pn&&Dn(e,t)?(e=Jt(),Qt=Xt=Yt=null,Fn=!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 zn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=$r(r,"onBeforeInput")).length&&(i=new bn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=b)}Vr(a,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function $r(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Me(e,n))&&r.unshift(Gr(e,o,i)),null!=(o=Me(e,t))&&r.push(Gr(e,o,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,i){for(var o=t._reactName,a=[];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,i?null!=(s=Me(n,o))&&a.unshift(Gr(n,s,l)):i||null!=(s=Me(n,o))&&a.push(Gr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Jr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Qr,"")}function Zr(e,t,r){if(t=Jr(t),Jr(e)!==t&&r)throw Error(n(425))}function ei(){}var ti=null,ni=null;function ri(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 ii="function"==typeof setTimeout?setTimeout:void 0,oi="function"==typeof clearTimeout?clearTimeout:void 0,ai="function"==typeof Promise?Promise:void 0,li="function"==typeof queueMicrotask?queueMicrotask:void 0!==ai?function(e){return ai.resolve(null).then(e).catch(si)}:ii;function si(e){setTimeout(function(){throw e})}function ui(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ft(t)}function ci(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 di(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 fi=Math.random().toString(36).slice(2),pi="__reactFiber$"+fi,hi="__reactProps$"+fi,mi="__reactContainer$"+fi,vi="__reactEvents$"+fi,gi="__reactListeners$"+fi,bi="__reactHandles$"+fi;function yi(e){var t=e[pi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mi]||n[pi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=di(e);null!==e;){if(n=e[pi])return n;e=di(e)}return t}n=(e=n).parentNode}return null}function wi(e){return!(e=e[pi]||e[mi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function _i(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function xi(e){return e[hi]||null}var ki=[],Si=-1;function Ei(e){return{current:e}}function Ci(e){0>Si||(e.current=ki[Si],ki[Si]=null,Si--)}function Oi(e,t){Si++,ki[Si]=e.current,e.current=t}var Ti={},Ai=Ei(Ti),Mi=Ei(!1),Ni=Ti;function Pi(e,t){var n=e.type.contextTypes;if(!n)return Ti;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Li(e){return null!=e.childContextTypes}function Ri(){Ci(Mi),Ci(Ai)}function zi(e,t,r){if(Ai.current!==Ti)throw Error(n(168));Oi(Ai,t),Oi(Mi,r)}function Ii(e,t,r){var i=e.stateNode;if(t=t.childContextTypes,"function"!=typeof i.getChildContext)return r;for(var o in i=i.getChildContext())if(!(o in t))throw Error(n(108,B(e)||"Unknown",o));return z({},r,i)}function ji(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ti,Ni=Ai.current,Oi(Ai,e),Oi(Mi,Mi.current),!0}function Di(e,t,r){var i=e.stateNode;if(!i)throw Error(n(169));r?(e=Ii(e,t,Ni),i.__reactInternalMemoizedMergedChildContext=e,Ci(Mi),Ci(Ai),Oi(Ai,e)):Ci(Mi),Oi(Mi,r)}var Vi=null,Fi=!1,Bi=!1;function Ui(e){null===Vi?Vi=[e]:Vi.push(e)}function Wi(){if(!Bi&&null!==Vi){Bi=!0;var e=0,t=gt;try{var n=Vi;for(gt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Vi=null,Fi=!1}catch(t){throw null!==Vi&&(Vi=Vi.slice(e+1)),Ke(Qe,Wi),t}finally{gt=t,Bi=!1}}return null}var Hi=[],Ki=0,Gi=null,$i=0,qi=[],Yi=0,Xi=null,Qi=1,Ji="";function Zi(e,t){Hi[Ki++]=$i,Hi[Ki++]=Gi,Gi=e,$i=t}function eo(e,t,n){qi[Yi++]=Qi,qi[Yi++]=Ji,qi[Yi++]=Xi,Xi=e;var r=Qi;e=Ji;var i=32-it(r)-1;r&=~(1<<i),n+=1;var o=32-it(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Qi=1<<32-it(t)+i|n<<i|r,Ji=o+e}else Qi=1<<o|n<<i|r,Ji=e}function to(e){null!==e.return&&(Zi(e,1),eo(e,1,0))}function no(e){for(;e===Gi;)Gi=Hi[--Ki],Hi[Ki]=null,$i=Hi[--Ki],Hi[Ki]=null;for(;e===Xi;)Xi=qi[--Yi],qi[Yi]=null,Ji=qi[--Yi],qi[Yi]=null,Qi=qi[--Yi],qi[Yi]=null}var ro=null,io=null,oo=!1,ao=null;function lo(e,t){var n=Pu(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 so(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,ro=e,io=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ro=e,io=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xi?{id:Qi,overflow:Ji}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ro=e,io=null,!0);default:return!1}}function uo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(oo){var t=io;if(t){var r=t;if(!so(e,t)){if(uo(e))throw Error(n(418));t=ci(r.nextSibling);var i=ro;t&&so(e,t)?lo(i,r):(e.flags=-4097&e.flags|2,oo=!1,ro=e)}}else{if(uo(e))throw Error(n(418));e.flags=-4097&e.flags|2,oo=!1,ro=e}}}function fo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ro=e}function po(e){if(e!==ro)return!1;if(!oo)return fo(e),oo=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ri(e.type,e.memoizedProps)),t&&(t=io)){if(uo(e))throw ho(),Error(n(418));for(;t;)lo(e,t),t=ci(t.nextSibling)}if(fo(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){io=ci(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}io=null}}else io=ro?ci(e.stateNode.nextSibling):null;return!0}function ho(){for(var e=io;e;)e=ci(e.nextSibling)}function mo(){io=ro=null,oo=!1}function vo(e){null===ao?ao=[e]:ao.push(e)}var go=b.ReactCurrentBatchConfig;function bo(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 i=r.stateNode}if(!i)throw Error(n(147,e));var o=i,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function yo(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function wo(e){return(0,e._init)(e._payload)}function _o(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 i(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function a(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=Du(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===_?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===M&&wo(i)===t.type)?((r=o(t,n.props)).ref=bo(e,t,n),r.return=e,r):((r=zu(n.type,n.key,n.props,null,e.mode,r)).ref=bo(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=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Du(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case y:return(n=zu(t.type,t.key,t.props,null,e.mode,n)).ref=bo(e,null,t),n.return=e,n;case w:return(t=Vu(t,e.mode,n)).return=e,t;case M:return f(e,(0,t._init)(t._payload),n)}if(Z(t)||L(t))return(t=Iu(t,e.mode,n,null)).return=e,t;yo(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===i?u(e,t,n,r):null;case w:return n.key===i?c(e,t,n,r):null;case M:return p(e,t,(i=n._init)(n._payload),r)}if(Z(n)||L(n))return null!==i?null:d(e,t,n,r,null);yo(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,i);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,i);case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case M:return h(e,t,n,(0,r._init)(r._payload),i)}if(Z(r)||L(r))return d(t,e=e.get(n)||null,r,i,null);yo(t,r)}return null}return function s(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===_&&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)===_){if(7===g.tag){r(u,g.sibling),(c=o(g,d.props.children)).return=u,u=c;break e}}else if(g.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===M&&wo(v)===g.type){r(u,g.sibling),(c=o(g,d.props)).ref=bo(u,g,d),c.return=u,u=c;break e}r(u,g);break}t(u,g),g=g.sibling}d.type===_?((c=Iu(d.props.children,u.mode,m,d.key)).return=u,u=c):((m=zu(d.type,d.key,d.props,null,u.mode,m)).ref=bo(u,c,d),m.return=u,u=m)}return l(u);case w: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=o(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 M:return s(u,c,(g=d._init)(d._payload),m)}if(Z(d))return function(n,o,l,s){for(var u=null,c=null,d=o,m=o=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),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return r(n,d),oo&&Zi(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(n,l[m],s))&&(o=a(d,o,m),null===c?u=d:c.sibling=d,c=d);return oo&&Zi(n,m),u}for(d=i(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),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach(function(e){return t(n,e)}),oo&&Zi(n,m),u}(u,c,d,m);if(L(d))return function(o,l,s,u){var c=L(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,b=s.next();null!==m&&!b.done;v++,b=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var y=p(o,m,b.value,u);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),l=a(y,l,v),null===d?c=y:d.sibling=y,d=y,m=g}if(b.done)return r(o,m),oo&&Zi(o,v),c;if(null===m){for(;!b.done;v++,b=s.next())null!==(b=f(o,b.value,u))&&(l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return oo&&Zi(o,v),c}for(m=i(o,m);!b.done;v++,b=s.next())null!==(b=h(m,o,v,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?v:b.key),l=a(b,l,v),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach(function(e){return t(o,e)}),oo&&Zi(o,v),c}(u,c,d,m);yo(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d?(d=""+d,null!==c&&6===c.tag?(r(u,c.sibling),(c=o(c,d)).return=u,u=c):(r(u,c),(c=Du(d,u.mode,m)).return=u,u=c),l(u)):r(u,c)}}var xo=_o(!0),ko=_o(!1),So=Ei(null),Eo=null,Co=null,Oo=null;function To(){Oo=Co=Eo=null}function Ao(e){var t=So.current;Ci(So),e._currentValue=t}function Mo(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 No(e,t){Eo=e,Oo=Co=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Po(e){var t=e._currentValue;if(Oo!==e)if(e={context:e,memoizedValue:t,next:null},null===Co){if(null===Eo)throw Error(n(308));Co=e,Eo.dependencies={lanes:0,firstContext:e}}else Co=Co.next=e;return t}var Lo=null;function Ro(e){null===Lo?Lo=[e]:Lo.push(e)}function zo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Ro(t)):(n.next=i.next,i.next=n),t.interleaved=n,Io(e,r)}function Io(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 jo=!1;function Do(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vo(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 Fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&As){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Io(e,n)}return null===(i=r.interleaved)?(t.next=t,Ro(r)):(t.next=i.next,i.next=t),r.interleaved=t,Io(e,n)}function Uo(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 Wo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ho(e,t,n,r){var i=e.updateQueue;jo=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?o=u:a.next=u,a=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=i.baseState;for(a=0,c=u=s=null,l=o;;){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=z({},d,f);break e;case 2:jo=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=i.effects)?i.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,a|=f;if(null===(l=l.next)){if(null===(l=i.shared.pending))break;l=(f=l).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===c&&(s=d),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);js|=a,e.lanes=a,e.memoizedState=d}}function Ko(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(null!==o){if(i.callback=null,i=r,"function"!=typeof o)throw Error(n(191,o));o.call(i)}}}var Go={},$o=Ei(Go),qo=Ei(Go),Yo=Ei(Go);function Xo(e){if(e===Go)throw Error(n(174));return e}function Qo(e,t){switch(Oi(Yo,t),Oi(qo,e),Oi($o,Go),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ae(null,"");break;default:t=ae(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ci($o),Oi($o,t)}function Jo(){Ci($o),Ci(qo),Ci(Yo)}function Zo(e){Xo(Yo.current);var t=Xo($o.current),n=ae(t,e.type);t!==n&&(Oi(qo,e),Oi($o,n))}function ea(e){qo.current===e&&(Ci($o),Ci(qo))}var ta=Ei(0);function na(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 ra=[];function ia(){for(var e=0;e<ra.length;e++)ra[e]._workInProgressVersionPrimary=null;ra.length=0}var oa=b.ReactCurrentDispatcher,aa=b.ReactCurrentBatchConfig,la=0,sa=null,ua=null,ca=null,da=!1,fa=!1,pa=0,ha=0;function ma(){throw Error(n(321))}function va(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function ga(e,t,r,i,o,a){if(la=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oa.current=null===e||null===e.memoizedState?el:tl,e=r(i,o),fa){a=0;do{if(fa=!1,pa=0,25<=a)throw Error(n(301));a+=1,ca=ua=null,t.updateQueue=null,oa.current=nl,e=r(i,o)}while(fa)}if(oa.current=Za,t=null!==ua&&null!==ua.next,la=0,ca=ua=sa=null,da=!1,t)throw Error(n(300));return e}function ba(){var e=0!==pa;return pa=0,e}function ya(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function wa(){if(null===ua){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=ua.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,ua=e;else{if(null===e)throw Error(n(310));e={memoizedState:(ua=e).memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function _a(e,t){return"function"==typeof t?t(e):t}function xa(e){var t=wa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var i=ua,o=i.baseQueue,a=r.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}i.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,i=i.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((la&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:e(i,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=i):u=u.next=f,sa.lanes|=d,js|=d}c=c.next}while(null!==c&&c!==a);null===u?l=i:u.next=s,or(i,t.memoizedState)||(wl=!0),t.memoizedState=i,t.baseState=l,t.baseQueue=u,r.lastRenderedState=i}if(null!==(e=r.interleaved)){o=e;do{a=o.lane,sa.lanes|=a,js|=a,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function ka(e){var t=wa(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var i=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);or(a,t.memoizedState)||(wl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,i]}function Sa(){}function Ea(e,t){var r=sa,i=wa(),o=t(),a=!or(i.memoizedState,o);if(a&&(i.memoizedState=o,wl=!0),i=i.queue,ja(Ta.bind(null,r,i,e),[e]),i.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(r.flags|=2048,Pa(9,Oa.bind(null,r,i,o,t),void 0,null),null===Ms)throw Error(n(349));30&la||Ca(r,t,o)}return o}function Ca(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Aa(t)&&Ma(e)}function Ta(e,t,n){return n(function(){Aa(t)&&Ma(e)})}function Aa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch(e){return!0}}function Ma(e){var t=Io(e,1);null!==t&&ru(t,e,1,-1)}function Na(e){var t=ya();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_a,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Pa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.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 La(){return wa().memoizedState}function Ra(e,t,n,r){var i=ya();sa.flags|=e,i.memoizedState=Pa(1|t,n,void 0,void 0===r?null:r)}function za(e,t,n,r){var i=wa();r=void 0===r?null:r;var o=void 0;if(null!==ua){var a=ua.memoizedState;if(o=a.destroy,null!==r&&va(r,a.deps))return void(i.memoizedState=Pa(t,n,o,r))}sa.flags|=e,i.memoizedState=Pa(1|t,n,o,r)}function Ia(e,t){return Ra(8390656,8,e,t)}function ja(e,t){return za(2048,8,e,t)}function Da(e,t){return za(4,2,e,t)}function Va(e,t){return za(4,4,e,t)}function Fa(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 Ba(e,t,n){return n=null!=n?n.concat([e]):null,za(4,4,Fa.bind(null,t,e),n)}function Ua(){}function Wa(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&va(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ha(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&va(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ka(e,t,n){return 21&la?(or(n,t)||(n=pt(),sa.lanes|=n,js|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n)}function Ga(e,t){var n=gt;gt=0!==n&&4>n?n:4,e(!0);var r=aa.transition;aa.transition={};try{e(!1),t()}finally{gt=n,aa.transition=r}}function $a(){return wa().memoizedState}function qa(e,t,n){var r=nu(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Xa(e)?Qa(t,n):null!==(n=zo(e,t,n,r))&&(ru(n,e,r,tu()),Ja(n,t,r))}function Ya(e,t,n){var r=nu(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xa(e))Qa(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,or(l,a)){var s=t.interleaved;return null===s?(i.next=i,Ro(t)):(i.next=s.next,s.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=zo(e,t,i,r))&&(ru(n,e,r,i=tu()),Ja(n,t,r))}}function Xa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Qa(e,t){fa=da=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ja(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Za={readContext:Po,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useInsertionEffect:ma,useLayoutEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useMutableSource:ma,useSyncExternalStore:ma,useId:ma,unstable_isNewReconciler:!1},el={readContext:Po,useCallback:function(e,t){return ya().memoizedState=[e,void 0===t?null:t],e},useContext:Po,useEffect:Ia,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ra(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=ya();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ya();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=qa.bind(null,sa,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ya().memoizedState=e},useState:Na,useDebugValue:Ua,useDeferredValue:function(e){return ya().memoizedState=e},useTransition:function(){var e=Na(!1),t=e[0];return e=Ga.bind(null,e[1]),ya().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var i=sa,o=ya();if(oo){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Ms)throw Error(n(349));30&la||Ca(i,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Ia(Ta.bind(null,i,a,e),[e]),i.flags|=2048,Pa(9,Oa.bind(null,i,a,r,t),void 0,null),r},useId:function(){var e=ya(),t=Ms.identifierPrefix;if(oo){var n=Ji;t=":"+t+"R"+(n=(Qi&~(1<<32-it(Qi)-1)).toString(32)+n),0<(n=pa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},tl={readContext:Po,useCallback:Wa,useContext:Po,useEffect:ja,useImperativeHandle:Ba,useInsertionEffect:Da,useLayoutEffect:Va,useMemo:Ha,useReducer:xa,useRef:La,useState:function(){return xa(_a)},useDebugValue:Ua,useDeferredValue:function(e){return Ka(wa(),ua.memoizedState,e)},useTransition:function(){return[xa(_a)[0],wa().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Ea,useId:$a,unstable_isNewReconciler:!1},nl={readContext:Po,useCallback:Wa,useContext:Po,useEffect:ja,useImperativeHandle:Ba,useInsertionEffect:Da,useLayoutEffect:Va,useMemo:Ha,useReducer:ka,useRef:La,useState:function(){return ka(_a)},useDebugValue:Ua,useDeferredValue:function(e){var t=wa();return null===ua?t.memoizedState=e:Ka(t,ua.memoizedState,e)},useTransition:function(){return[ka(_a)[0],wa().memoizedState]},useMutableSource:Sa,useSyncExternalStore:Ea,useId:$a,unstable_isNewReconciler:!1};function rl(e,t){if(e&&e.defaultProps){for(var n in t=z({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function il(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:z({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var ol={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Fo(r,i);o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(ru(t,e,i,r),Uo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),i=nu(e),o=Fo(r,i);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Bo(e,o,i))&&(ru(t,e,i,r),Uo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),i=Fo(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Bo(e,i,r))&&(ru(t,e,r,n),Uo(t,e,r))}};function al(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&ar(n,r)&&ar(i,o))}function ll(e,t,n){var r=!1,i=Ti,o=t.contextType;return"object"==typeof o&&null!==o?o=Po(o):(i=Li(t)?Ni:Ai.current,o=(r=null!=(r=t.contextTypes))?Pi(e,i):Ti),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ol,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),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&&ol.enqueueReplaceState(t,t.state,null)}function ul(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Do(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=Po(o):(o=Li(t)?Ni:Ai.current,i.context=Pi(e,o)),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(il(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ol.enqueueReplaceState(i,i.state,null),Ho(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,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(e){setTimeout(function(){throw e})}}var pl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Fo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Gs=r),fl(0,t)},n}function ml(e,t,n){(n=Fo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===$s?$s=new Set([this]):$s.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 i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.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 bl(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,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=Fo(-1,1)).tag=2,Bo(n,t,1))),n.lanes|=1),e)}var yl=b.ReactCurrentOwner,wl=!1;function _l(e,t,n,r){t.child=null===e?ko(t,null,n,r):xo(t,e.child,n,r)}function xl(e,t,n,r,i){n=n.render;var o=t.ref;return No(t,i),r=ga(e,t,n,r,o,i),n=ba(),null===e||wl?(oo&&n&&to(t),t.flags|=1,_l(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kl(e,t,i))}function kl(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Lu(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zu(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sl(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ar)(a,r)&&e.ref===t.ref)return Kl(e,t,i)}return t.flags|=1,(e=Ru(o,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ar(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,Kl(e,t,i);131072&e.flags&&(wl=!0)}}return Ol(e,t,n,r,i)}function El(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oi(Rs,Ls),Ls|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Oi(Rs,Ls),Ls|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oi(Rs,Ls),Ls|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Oi(Rs,Ls),Ls|=r;return _l(e,t,i,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 Ol(e,t,n,r,i){var o=Li(n)?Ni:Ai.current;return o=Pi(t,o),No(t,i),n=ga(e,t,n,r,o,i),r=ba(),null===e||wl?(oo&&r&&to(t),t.flags|=1,_l(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Kl(e,t,i))}function Tl(e,t,n,r,i){if(Li(n)){var o=!0;ji(t)}else o=!1;if(No(t,i),null===t.stateNode)Hl(e,t),ll(t,n,r),ul(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;u="object"==typeof u&&null!==u?Po(u):Pi(t,u=Li(n)?Ni:Ai.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&sl(t,a,r,u),jo=!1;var f=t.memoizedState;a.state=f,Ho(t,r,a,i),s=t.memoizedState,l!==r||f!==s||Mi.current||jo?("function"==typeof c&&(il(t,n,c,r),s=t.memoizedState),(l=jo||al(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Vo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:rl(t.type,l),a.props=u,d=t.pendingProps,f=a.context,s="object"==typeof(s=n.contextType)&&null!==s?Po(s):Pi(t,s=Li(n)?Ni:Ai.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&sl(t,a,r,s),jo=!1,f=t.memoizedState,a.state=f,Ho(t,r,a,i);var h=t.memoizedState;l!==d||f!==h||Mi.current||jo?("function"==typeof p&&(il(t,n,p,r),h=t.memoizedState),(u=jo||al(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Al(e,t,n,r,o,i)}function Al(e,t,n,r,i,o){Cl(e,t);var a=!!(128&t.flags);if(!r&&!a)return i&&Di(t,n,!1),Kl(e,t,o);r=t.stateNode,yl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=xo(t,e.child,null,o),t.child=xo(t,null,l,o)):_l(e,t,l,o),t.memoizedState=r.state,i&&Di(t,n,!0),t.child}function Ml(e){var t=e.stateNode;t.pendingContext?zi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&zi(0,t.context,!1),Qo(e,t.containerInfo)}function Nl(e,t,n,r,i){return mo(),vo(i),t.flags|=256,_l(e,t,n,r),t.child}var Pl,Ll,Rl,zl,Il={dehydrated:null,treeContext:null,retryLane:0};function jl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dl(e,t,r){var i,o=t.pendingProps,a=ta.current,l=!1,s=!!(128&t.flags);if((i=s)||(i=(null===e||null!==e.memoizedState)&&!!(2&a)),i?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Oi(ta,1&a),null===e)return co(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=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},1&o||null===l?l=ju(s,o,0,null):(l.childLanes=0,l.pendingProps=s),e=Iu(e,o,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=jl(r),t.memoizedState=Il,e):Vl(t,s));if(null!==(a=e.memoizedState)&&null!==(i=a.dehydrated))return function(e,t,r,i,o,a,l){if(r)return 256&t.flags?(t.flags&=-257,Fl(e,t,l,i=dl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=i.fallback,o=t.mode,i=ju({mode:"visible",children:i.children},o,0,null),(a=Iu(a,o,l,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,1&t.mode&&xo(t,e.child,null,l),t.child.memoizedState=jl(l),t.memoizedState=Il,a);if(!(1&t.mode))return Fl(e,t,l,null);if("$!"===o.data){if(i=o.nextSibling&&o.nextSibling.dataset)var s=i.dgst;return i=s,Fl(e,t,l,i=dl(a=Error(n(419)),i,void 0))}if(s=0!==(l&e.childLanes),wl||s){if(null!==(i=Ms)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(i.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Io(e,o),ru(i,e,o,-1))}return vu(),Fl(e,t,l,i=dl(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Tu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,io=ci(o.nextSibling),ro=t,oo=!0,ao=null,null!==e&&(qi[Yi++]=Qi,qi[Yi++]=Ji,qi[Yi++]=Xi,Qi=e.id,Ji=e.overflow,Xi=t),(t=Vl(t,i.children)).flags|=4096,t)}(e,t,s,o,i,a,r);if(l){l=o.fallback,s=t.mode,i=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 1&s||t.child===a?(o=Ru(a,u)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==i?l=Ru(i,l):(l=Iu(l,s,r,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?jl(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Ru(l,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Vl(e,t){return(t=ju({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fl(e,t,n,r){return null!==r&&vo(r),xo(t,e.child,null,n),(e=Vl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Mo(e.return,t,n)}function Ul(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Wl(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_l(e,t,r.children,n),2&(r=ta.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&&Bl(e,n,t);else if(19===e.tag)Bl(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(Oi(ta,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===na(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ul(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===na(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ul(t,!0,n,null,o);break;case"together":Ul(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 Kl(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),js|=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=Ru(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Ru(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Gl(e,t){if(!oo)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 $l(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ql(e,t,r){var i=t.pendingProps;switch(no(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $l(t),null;case 1:case 17:return Li(t.type)&&Ri(),$l(t),null;case 3:return i=t.stateNode,Jo(),Ci(Mi),Ci(Ai),ia(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==e&&null!==e.child||(po(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ao&&(lu(ao),ao=null))),Ll(e,t),$l(t),null;case 5:ea(t);var a=Xo(Yo.current);if(r=t.type,null!==e&&null!=t.stateNode)Rl(e,t,r,i,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(null===t.stateNode)throw Error(n(166));return $l(t),null}if(e=Xo($o.current),po(t)){i=t.stateNode,r=t.type;var l=t.memoizedProps;switch(i[pi]=t,i[hi]=l,e=!!(1&t.mode),r){case"dialog":Fr("cancel",i),Fr("close",i);break;case"iframe":case"object":case"embed":Fr("load",i);break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],i);break;case"source":Fr("error",i);break;case"img":case"image":case"link":Fr("error",i),Fr("load",i);break;case"details":Fr("toggle",i);break;case"input":q(i,l),Fr("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",i);break;case"textarea":ne(i,l),Fr("invalid",i)}for(var s in ve(r,l),a=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?i.textContent!==u&&(!0!==l.suppressHydrationWarning&&Zr(i.textContent,u,e),a=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Zr(i.textContent,u,e),a=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",i)}switch(r){case"input":H(i),Q(i,l,!0);break;case"textarea":H(i),ie(i);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(i.onclick=ei)}i=a,t.updateQueue=i,null!==i&&(t.flags|=4)}else{s=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof i.is?e=s.createElement(r,{is:i.is}):(e=s.createElement(r),"select"===r&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,r),e[pi]=t,e[hi]=i,Pl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ge(r,i),r){case"dialog":Fr("cancel",e),Fr("close",e),a=i;break;case"iframe":case"object":case"embed":Fr("load",e),a=i;break;case"video":case"audio":for(a=0;a<Ir.length;a++)Fr(Ir[a],e);a=i;break;case"source":Fr("error",e),a=i;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),a=i;break;case"details":Fr("toggle",e),a=i;break;case"input":q(e,i),a=$(e,i),Fr("invalid",e);break;case"option":default:a=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},a=z({},i,{value:void 0}),Fr("invalid",e);break;case"textarea":ne(e,i),a=te(e,i),Fr("invalid",e)}for(l in ve(r,a),u=a)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&&Fr("scroll",e):null!=c&&g(e,l,c,s))}switch(r){case"input":H(e),Q(e,i,!1);break;case"textarea":H(e),ie(e);break;case"option":null!=i.value&&e.setAttribute("value",""+U(i.value));break;case"select":e.multiple=!!i.multiple,null!=(l=i.value)?ee(e,!!i.multiple,l,!1):null!=i.defaultValue&&ee(e,!!i.multiple,i.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=ei)}switch(r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $l(t),null;case 6:if(e&&null!=t.stateNode)zl(e,t,e.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(n(166));if(r=Xo(Yo.current),Xo($o.current),po(t)){if(i=t.stateNode,r=t.memoizedProps,i[pi]=t,(l=i.nodeValue!==r)&&null!==(e=ro))switch(e.tag){case 3:Zr(i.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zr(i.nodeValue,r,!!(1&e.mode))}l&&(t.flags|=4)}else(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[pi]=t,t.stateNode=i}return $l(t),null;case 13:if(Ci(ta),i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oo&&null!==io&&1&t.mode&&!(128&t.flags))ho(),mo(),t.flags|=98560,l=!1;else if(l=po(t),null!==i&&null!==i.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[pi]=t}else mo(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$l(t),l=!1}else null!==ao&&(lu(ao),ao=null),l=!0;if(!l)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((i=null!==i)!=(null!==e&&null!==e.memoizedState)&&i&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ta.current?0===zs&&(zs=3):vu())),null!==t.updateQueue&&(t.flags|=4),$l(t),null);case 4:return Jo(),Ll(e,t),null===e&&Wr(t.stateNode.containerInfo),$l(t),null;case 10:return Ao(t.type._context),$l(t),null;case 19:if(Ci(ta),null===(l=t.memoizedState))return $l(t),null;if(i=!!(128&t.flags),null===(s=l.rendering))if(i)Gl(l,!1);else{if(0!==zs||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=na(e))){for(t.flags|=128,Gl(l,!1),null!==(i=s.updateQueue)&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=r,r=t.child;null!==r;)e=i,(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 Oi(ta,1&ta.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Ws&&(t.flags|=128,i=!0,Gl(l,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=na(s))){if(t.flags|=128,i=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Gl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!oo)return $l(t),null}else 2*Ye()-l.renderingStartTime>Ws&&1073741824!==r&&(t.flags|=128,i=!0,Gl(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=Ye(),t.sibling=null,r=ta.current,Oi(ta,i?1&r|2:1&r),t):($l(t),null);case 22:case 23:return fu(),i=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==i&&(t.flags|=8192),i&&1&t.mode?!!(1073741824&Ls)&&($l(t),6&t.subtreeFlags&&(t.flags|=8192)):$l(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Yl(e,t){switch(no(t),t.tag){case 1:return Li(t.type)&&Ri(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Jo(),Ci(Mi),Ci(Ai),ia(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ea(t),null;case 13:if(Ci(ta),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ci(ta),null;case 4:return Jo(),null;case 10:return Ao(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Pl=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}},Ll=function(){},Rl=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Xo($o.current);var a,l=null;switch(n){case"input":i=$(e,i),r=$(e,r),l=[];break;case"select":i=z({},i,{value:void 0}),r=z({},r,{value:void 0}),l=[];break;case"textarea":i=te(e,i),r=te(e,r),l=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=ei)}for(c in ve(n,r),n=null,i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&null!=i[c])if("style"===c){var s=i[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}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!=i?i[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(n||(n={}),n[a]=u[a])}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&&Fr("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)}},zl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Ql=!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(n){Eu(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Eu(e,t,n)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&ts(t,n,o)}i=i.next}while(i!==r)}}function is(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 os(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 as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[pi],delete t[hi],delete t[vi],delete t[gi],delete t[bi]),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=ei));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(e){}switch(n.tag){case 5:Ql||es(n,t);case 6:var r=ds,i=fs;ds=null,ps(e,t,n),fs=i,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?ui(e.parentNode,n):1===e.nodeType&&ui(e,n),Ft(e)):ui(ds,n.stateNode));break;case 4:r=ds,i=fs,ds=n.stateNode.containerInfo,fs=!0,ps(e,t,n),ds=r,fs=i;break;case 0:case 11:case 14:case 15:if(!Ql&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(2&o||4&o)&&ts(n,t,a),i=i.next}while(i!==r)}ps(e,t,n);break;case 1:if(!Ql&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Eu(n,t,e)}ps(e,t,n);break;case 21:ps(e,t,n);break;case 22:1&n.mode?(Ql=(r=Ql)||null!==n.memoizedState,ps(e,t,n),Ql=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=Au.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 i=0;i<r.length;i++){var o=r[i];try{var a=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(a,l,o),ds=null,fs=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Eu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),bs(e),4&i){try{rs(3,e,e.return),is(3,e)}catch(t){Eu(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Eu(e,e.return,t)}}break;case 1:vs(t,e),bs(e),512&i&&null!==r&&es(r,r.return);break;case 5:if(vs(t,e),bs(e),512&i&&null!==r&&es(r,r.return),32&e.flags){var o=e.stateNode;try{ce(o,"")}catch(t){Eu(e,e.return,t)}}if(4&i&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==r?r.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&Y(o,a),ge(s,l);var c=ge(s,a);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?he(o,f):"dangerouslySetInnerHTML"===d?ue(o,f):"children"===d?ce(o,f):g(o,d,f,c)}switch(s){case"input":X(o,a);break;case"textarea":re(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ee(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ee(o,!!a.multiple,a.defaultValue,!0):ee(o,!!a.multiple,a.multiple?[]:"",!1))}o[hi]=a}catch(t){Eu(e,e.return,t)}}break;case 6:if(vs(t,e),bs(e),4&i){if(null===e.stateNode)throw Error(n(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Eu(e,e.return,t)}}break;case 3:if(vs(t,e),bs(e),4&i&&null!==r&&r.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(t){Eu(e,e.return,t)}break;case 4:default:vs(t,e),bs(e);break;case 13:vs(t,e),bs(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Us=Ye())),4&i&&ms(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Ql=(c=Ql)||d,vs(t,e),Ql=c):vs(t,e),bs(e),8192&i){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){i=p,r=p.return;try{t=i,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Eu(i,r,e)}}break;case 5:es(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==h?(h.return=p,Zl=h):xs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=pe("display",l))}catch(t){Eu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Eu(e,e.return,t)}}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),bs(e),4&i&&ms(e);case 21:}}function bs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ls(r)){var i=r;break e}r=r.return}throw Error(n(160))}switch(i.tag){case 5:var o=i.stateNode;32&i.flags&&(ce(o,""),i.flags&=-33),cs(e,ss(e),o);break;case 3:case 4:var a=i.stateNode.containerInfo;us(e,ss(e),a);break;default:throw Error(n(161))}}catch(t){Eu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ys(e,t,n){Zl=e,ws(e)}function ws(e,t,n){for(var r=!!(1&e.mode);null!==Zl;){var i=Zl,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||Xl;if(!a){var l=i.alternate,s=null!==l&&null!==l.memoizedState||Ql;l=Xl;var u=Ql;if(Xl=a,(Ql=s)&&!u)for(Zl=i;null!==Zl;)s=(a=Zl).child,22===a.tag&&null!==a.memoizedState?ks(i):null!==s?(s.return=a,Zl=s):ks(i);for(;null!==o;)Zl=o,ws(o),o=o.sibling;Zl=i,Xl=l,Ql=u}_s(e)}else 8772&i.subtreeFlags&&null!==o?(o.return=i,Zl=o):_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:Ql||is(5,t);break;case 1:var i=t.stateNode;if(4&t.flags&&!Ql)if(null===r)i.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:rl(t.type,r.memoizedProps);i.componentDidUpdate(o,r.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Ko(t,a,i);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}Ko(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&&Ft(f)}}}break;default:throw Error(n(163))}Ql||512&t.flags&&os(t)}catch(e){Eu(t,t.return,e)}}if(t===e){Zl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zl=r;break}Zl=t.return}}function xs(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 ks(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{is(4,t)}catch(e){Eu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Eu(t,i,e)}}var o=t.return;try{os(t)}catch(e){Eu(t,o,e)}break;case 5:var a=t.return;try{os(t)}catch(e){Eu(t,a,e)}}}catch(e){Eu(t,t.return,e)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Ss,Es=Math.ceil,Cs=b.ReactCurrentDispatcher,Os=b.ReactCurrentOwner,Ts=b.ReactCurrentBatchConfig,As=0,Ms=null,Ns=null,Ps=0,Ls=0,Rs=Ei(0),zs=0,Is=null,js=0,Ds=0,Vs=0,Fs=null,Bs=null,Us=0,Ws=1/0,Hs=null,Ks=!1,Gs=null,$s=null,qs=!1,Ys=null,Xs=0,Qs=0,Js=null,Zs=-1,eu=0;function tu(){return 6&As?Ye():-1!==Zs?Zs:Zs=Ye()}function nu(e){return 1&e.mode?2&As&&0!==Ps?Ps&-Ps:null!==go.transition?(0===eu&&(eu=pt()),eu):0!==(e=gt)?e:e=void 0===(e=window.event)?16:qt(e.type):1}function ru(e,t,r,i){if(50<Qs)throw Qs=0,Js=null,Error(n(185));mt(e,r,i),2&As&&e===Ms||(e===Ms&&(!(2&As)&&(Ds|=r),4===zs&&su(e,Ps)),iu(e,i),1===r&&0===As&&!(1&t.mode)&&(Ws=Ye()+500,Fi&&Wi()))}function iu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-it(o),l=1<<a,s=i[a];-1===s?0!==(l&n)&&0===(l&r)||(i[a]=dt(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ct(e,e===Ms?Ps:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Fi=!0,Ui(e)}(uu.bind(null,e)):Ui(uu.bind(null,e)),li(function(){!(6&As)&&Wi()}),n=null;else{switch(bt(r)){case 1:n=Qe;break;case 4:n=Je;break;case 16:default:n=Ze;break;case 536870912:n=tt}n=Mu(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Zs=-1,eu=0,6&As)throw Error(n(327));var r=e.callbackNode;if(ku()&&e.callbackNode!==r)return null;var i=ct(e,e===Ms?Ps:0);if(0===i)return null;if(30&i||0!==(i&e.expiredLanes)||t)t=gu(e,i);else{t=i;var o=As;As|=2;var a=mu();for(Ms===e&&Ps===t||(Hs=null,Ws=Ye()+500,pu(e,t));;)try{yu();break}catch(t){hu(e,t)}To(),Cs.current=a,As=o,null!==Ns?t=0:(Ms=null,Ps=0,t=zs)}if(0!==t){if(2===t&&0!==(o=ft(e))&&(i=o,t=au(e,o)),1===t)throw r=Is,pu(e,0),su(e,i),iu(e,Ye()),r;if(6===t)su(e,i);else{if(o=e.current.alternate,!(30&i||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 i=n[r],o=i.getSnapshot;i=i.value;try{if(!or(o(),i))return!1}catch(e){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}(o)||(t=gu(e,i),2===t&&(a=ft(e),0!==a&&(i=a,t=au(e,a))),1!==t)))throw r=Is,pu(e,0),su(e,i),iu(e,Ye()),r;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(n(345));case 2:case 5:xu(e,Bs,Hs);break;case 3:if(su(e,i),(130023424&i)===i&&10<(t=Us+500-Ye())){if(0!==ct(e,0))break;if(((o=e.suspendedLanes)&i)!==i){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ii(xu.bind(null,e,Bs,Hs),t);break}xu(e,Bs,Hs);break;case 4:if(su(e,i),(4194240&i)===i)break;for(t=e.eventTimes,o=-1;0<i;){var l=31-it(i);a=1<<l,(l=t[l])>o&&(o=l),i&=~a}if(i=o,10<(i=(120>(i=Ye()-i)?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Es(i/1960))-i)){e.timeoutHandle=ii(xu.bind(null,e,Bs,Hs),i);break}xu(e,Bs,Hs);break;default:throw Error(n(329))}}}return iu(e,Ye()),e.callbackNode===r?ou.bind(null,e):null}function au(e,t){var n=Fs;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&lu(t)),e}function lu(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function su(e,t){for(t&=~Vs,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(6&As)throw Error(n(327));ku();var t=ct(e,0);if(!(1&t))return iu(e,Ye()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var i=ft(e);0!==i&&(t=i,r=au(e,i))}if(1===r)throw r=Is,pu(e,0),su(e,t),iu(e,Ye()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Bs,Hs),iu(e,Ye()),null}function cu(e,t){var n=As;As|=1;try{return e(t)}finally{0===(As=n)&&(Ws=Ye()+500,Fi&&Wi())}}function du(e){null!==Ys&&0===Ys.tag&&!(6&As)&&ku();var t=As;As|=1;var n=Ts.transition,r=gt;try{if(Ts.transition=null,gt=1,e)return e()}finally{gt=r,Ts.transition=n,!(6&(As=t))&&Wi()}}function fu(){Ls=Rs.current,Ci(Rs)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oi(n)),null!==Ns)for(n=Ns.return;null!==n;){var r=n;switch(no(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ri();break;case 3:Jo(),Ci(Mi),Ci(Ai),ia();break;case 5:ea(r);break;case 4:Jo();break;case 13:case 19:Ci(ta);break;case 10:Ao(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Ms=e,Ns=e=Ru(e.current,null),Ps=Ls=t,zs=0,Is=null,Vs=Ds=js=0,Bs=Fs=null,null!==Lo){for(t=0;t<Lo.length;t++)if(null!==(r=(n=Lo[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}Lo=null}return e}function hu(e,t){for(;;){var r=Ns;try{if(To(),oa.current=Za,da){for(var i=sa.memoizedState;null!==i;){var o=i.queue;null!==o&&(o.pending=null),i=i.next}da=!1}if(la=0,ca=ua=sa=null,fa=!1,pa=0,Os.current=null,null===r||null===r.return){zs=1,Is=t,Ns=null;break}e:{var a=e,l=r.return,s=r,u=t;if(t=Ps,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,bl(h,l,s,0,t),1&h.mode&&vl(a,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(a,c,t),vu();break e}u=Error(n(426))}else if(oo&&1&s.mode){var g=gl(l);if(null!==g){!(65536&g.flags)&&(g.flags|=256),bl(g,l,s,0,t),vo(cl(u,s));break e}}a=u=cl(u,s),4!==zs&&(zs=2),null===Fs?Fs=[a]:Fs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,hl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==$s&&$s.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Wo(a,ml(a,s,t));break e}}a=a.return}while(null!==a)}_u(r)}catch(e){t=e,Ns===r&&null!==r&&(Ns=r=r.return);continue}break}}function mu(){var e=Cs.current;return Cs.current=Za,null===e?Za:e}function vu(){0!==zs&&3!==zs&&2!==zs||(zs=4),null===Ms||!(268435455&js)&&!(268435455&Ds)||su(Ms,Ps)}function gu(e,t){var r=As;As|=2;var i=mu();for(Ms===e&&Ps===t||(Hs=null,pu(e,t));;)try{bu();break}catch(t){hu(e,t)}if(To(),As=r,Cs.current=i,null!==Ns)throw Error(n(261));return Ms=null,Ps=0,zs}function bu(){for(;null!==Ns;)wu(Ns)}function yu(){for(;null!==Ns&&!$e();)wu(Ns)}function wu(e){var t=Ss(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,null===t?_u(e):Ns=t,Os.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Yl(n,t)))return n.flags&=32767,void(Ns=n);if(null===e)return zs=6,void(Ns=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=ql(n,t,Ls)))return void(Ns=n);if(null!==(t=t.sibling))return void(Ns=t);Ns=t=e}while(null!==t);0===zs&&(zs=5)}function xu(e,t,r){var i=gt,o=Ts.transition;try{Ts.transition=null,gt=1,function(e,t,r,i){do{ku()}while(null!==Ys);if(6&As)throw Error(n(327));r=e.finishedWork;var o=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 a=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 i=31-it(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===Ms&&(Ns=Ms=null,Ps=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||qs||(qs=!0,Mu(Ze,function(){return ku(),null})),a=!!(15990&r.flags),15990&r.subtreeFlags||a){a=Ts.transition,Ts.transition=null;var l=gt;gt=1;var s=As;As|=4,Os.current=null,function(e,t){if(ti=Ut,dr(e=cr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(i&&0!==i.rangeCount){r=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{r.nodeType,a.nodeType}catch(e){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!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==i&&3!==f.nodeType||(u=l+i),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===o&&(s=l),p===a&&++d===i&&(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(ni={focusedElem:e,selectionRange:r},Ut=!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,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?v:rl(t.type,v),g);b.__reactInternalSnapshotBeforeUpdate=y}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(e){Eu(t,t.return,e)}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(ni),Ut=!!ti,ni=ti=null,e.current=r,ys(r),qe(),As=s,gt=l,Ts.transition=a}else e.current=r;if(qs&&(qs=!1,Ys=e,Xs=o),0===(a=e.pendingLanes)&&($s=null),function(e){if(rt&&"function"==typeof rt.onCommitFiberRoot)try{rt.onCommitFiberRoot(nt,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),iu(e,Ye()),null!==t)for(i=e.onRecoverableError,r=0;r<t.length;r++)i((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Ks)throw Ks=!1,e=Gs,Gs=null,e;!!(1&Xs)&&0!==e.tag&&ku(),1&(a=e.pendingLanes)?e===Js?Qs++:(Qs=0,Js=e):Qs=0,Wi()}(e,t,r,i)}finally{Ts.transition=o,gt=i}return null}function ku(){if(null!==Ys){var e=bt(Xs),t=Ts.transition,r=gt;try{if(Ts.transition=null,gt=16>e?16:e,null===Ys)var i=!1;else{if(e=Ys,Ys=null,Xs=0,6&As)throw Error(n(331));var o=As;for(As|=4,Zl=e.current;null!==Zl;){var a=Zl,l=a.child;if(16&Zl.flags){var s=a.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,a)}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(as(d),d===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var m=a.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=a}}if(2064&a.subtreeFlags&&null!==l)l.return=a,Zl=l;else e:for(;null!==Zl;){if(2048&(a=Zl).flags)switch(a.tag){case 0:case 11:case 15:rs(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Zl=b;break e}Zl=a.return}}var y=e.current;for(Zl=y;null!==Zl;){var w=(l=Zl).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,Zl=w;else e:for(l=y;null!==Zl;){if(2048&(s=Zl).flags)try{switch(s.tag){case 0:case 11:case 15:is(9,s)}}catch(e){Eu(s,s.return,e)}if(s===l){Zl=null;break e}var _=s.sibling;if(null!==_){_.return=s.return,Zl=_;break e}Zl=s.return}}if(As=o,Wi(),rt&&"function"==typeof rt.onPostCommitFiberRoot)try{rt.onPostCommitFiberRoot(nt,e)}catch(e){}i=!0}return i}finally{gt=r,Ts.transition=t}}return!1}function Su(e,t,n){e=Bo(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(mt(e,1,t),iu(e,t))}function Eu(e,t,n){if(3===e.tag)Su(e,e,n);else for(;null!==t;){if(3===t.tag){Su(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$s||!$s.has(r))){t=Bo(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(mt(t,1,e),iu(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,Ms===e&&(Ps&n)===n&&(4===zs||3===zs&&(130023424&Ps)===Ps&&500>Ye()-Us?pu(e,0):Vs|=n),iu(e,t)}function Ou(e,t){0===t&&(1&e.mode?(t=st,!(130023424&(st<<=1))&&(st=4194304)):t=1);var n=tu();null!==(e=Io(e,t))&&(mt(e,t,n),iu(e,n))}function Tu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ou(e,n)}function Au(e,t){var r=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(n(314))}null!==i&&i.delete(t),Ou(e,r)}function Mu(e,t){return Ke(e,t)}function Nu(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 Pu(e,t,n,r){return new Nu(e,t,n,r)}function Lu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Pu(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 zu(e,t,r,i,o,a){var l=2;if(i=e,"function"==typeof e)Lu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case _:return Iu(r.children,o,a,t);case x:l=8,o|=8;break;case k:return(e=Pu(12,r,t,2|o)).elementType=k,e.lanes=a,e;case O:return(e=Pu(13,r,t,o)).elementType=O,e.lanes=a,e;case T:return(e=Pu(19,r,t,o)).elementType=T,e.lanes=a,e;case N:return ju(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:l=10;break e;case E:l=9;break e;case C:l=11;break e;case A:l=14;break e;case M:l=16,i=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Pu(l,r,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Iu(e,t,n,r){return(e=Pu(7,e,r,t)).lanes=n,e}function ju(e,t,n,r){return(e=Pu(22,e,r,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function Du(e,t,n){return(e=Pu(6,e,null,t)).lanes=n,e}function Vu(e,t,n){return(t=Pu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n,r,i){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=i,this.mutableSourceEagerHydrationData=null}function Bu(e,t,n,r,i,o,a,l,s){return e=new Fu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Pu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Do(o),e}function Uu(e){if(!e)return Ti;e:{if(Fe(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(Li(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(Li(r))return Ii(e,r,t)}return t}function Wu(e,t,n,r,i,o,a,l,s){return(e=Bu(n,r,!0,e,0,o,0,l,s)).context=Uu(null),n=e.current,(o=Fo(r=tu(),i=nu(n))).callback=null!=t?t:null,Bo(n,o,i),e.current.lanes=i,mt(e,i,r),iu(e,r),e}function Hu(e,t,n,r){var i=t.current,o=tu(),a=nu(i);return n=Uu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fo(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Bo(i,t,a))&&(ru(e,i,a,o),Uo(e,i,a)),a}function Ku(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $u(e,t){Gu(e,t),(e=e.alternate)&&Gu(e,t)}Ss=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Mi.current)wl=!0;else{if(0===(e.lanes&r)&&!(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Ml(t),mo();break;case 5:Zo(t);break;case 1:Li(t.type)&&ji(t);break;case 4:Qo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Oi(So,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oi(ta,1&ta.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Dl(e,t,n):(Oi(ta,1&ta.current),null!==(e=Kl(e,t,n))?e.sibling:null);Oi(ta,1&ta.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!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Oi(ta,ta.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return Kl(e,t,n)}(e,t,r);wl=!!(131072&e.flags)}else wl=!1,oo&&1048576&t.flags&&eo(t,$i,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Hl(e,t),e=t.pendingProps;var o=Pi(t,Ai.current);No(t,r),o=ga(null,t,i,e,o,r);var a=ba();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Li(i)?(a=!0,ji(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Do(t),o.updater=ol,t.stateNode=o,o._reactInternals=t,ul(t,i,e,r),t=Al(null,t,i,!0,a,r)):(t.tag=0,oo&&a&&to(t),_l(null,t,o,r),t=t.child),t;case 16:i=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,i=(o=i._init)(i._payload),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Lu(e)?1:0;if(null!=e){if((e=e.$$typeof)===C)return 11;if(e===A)return 14}return 2}(i),e=rl(i,e),o){case 0:t=Ol(null,t,i,e,r);break e;case 1:t=Tl(null,t,i,e,r);break e;case 11:t=xl(null,t,i,e,r);break e;case 14:t=kl(null,t,i,rl(i.type,e),r);break e}throw Error(n(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,Ol(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 1:return i=t.type,o=t.pendingProps,Tl(e,t,i,o=t.elementType===i?o:rl(i,o),r);case 3:e:{if(Ml(t),null===e)throw Error(n(387));i=t.pendingProps,o=(a=t.memoizedState).element,Vo(e,t),Ho(t,i,null,r);var l=t.memoizedState;if(i=l.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Nl(e,t,i,r,o=cl(Error(n(423)),t));break e}if(i!==o){t=Nl(e,t,i,r,o=cl(Error(n(424)),t));break e}for(io=ci(t.stateNode.containerInfo.firstChild),ro=t,oo=!0,ao=null,r=ko(t,null,i,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(mo(),i===o){t=Kl(e,t,r);break e}_l(e,t,i,r)}t=t.child}return t;case 5:return Zo(t),null===e&&co(t),i=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,ri(i,o)?l=null:null!==a&&ri(i,a)&&(t.flags|=32),Cl(e,t),_l(e,t,l,r),t.child;case 6:return null===e&&co(t),null;case 13:return Dl(e,t,r);case 4:return Qo(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=xo(t,null,i,r):_l(e,t,i,r),t.child;case 11:return i=t.type,o=t.pendingProps,xl(e,t,i,o=t.elementType===i?o:rl(i,o),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(i=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,Oi(So,i._currentValue),i._currentValue=l,null!==a)if(or(a.value,l)){if(a.children===o.children&&!Mi.current){t=Kl(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===i){if(1===a.tag){(u=Fo(-1,r&-r)).tag=2;var c=a.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}}a.lanes|=r,null!==(u=a.alternate)&&(u.lanes|=r),Mo(a.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Mo(l,r,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}_l(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,No(t,r),i=i(o=Po(o)),t.flags|=1,_l(e,t,i,r),t.child;case 14:return o=rl(i=t.type,t.pendingProps),kl(e,t,i,o=rl(i.type,o),r);case 15:return Sl(e,t,t.type,t.pendingProps,r);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:rl(i,o),Hl(e,t),t.tag=1,Li(i)?(e=!0,ji(t)):e=!1,No(t,r),ll(t,i,o),ul(t,i,o,r),Al(null,t,i,!0,e,r);case 19:return Wl(e,t,r);case 22:return El(e,t,r)}throw Error(n(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Qu(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,i){var o=n._reactRootContainer;if(o){var a=o;if("function"==typeof i){var l=i;i=function(){var e=Ku(a);l.call(e)}}Hu(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"==typeof r){var o=r;r=function(){var e=Ku(a);o.call(e)}}var a=Wu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[mi]=a.current,Wr(8===e.nodeType?e.parentNode:e),du(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var l=r;r=function(){var e=Ku(s);l.call(e)}}var s=Bu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[mi]=s.current,Wr(8===e.nodeType?e.parentNode:e),du(function(){Hu(t,s,n,r)}),s}(n,t,e,i,r);return Ku(a)}Xu.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Hu(e,t,null,null)},Xu.prototype.unmount=Yu.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[mi]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&zt(e)}},yt=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),iu(t,Ye()),!(6&As)&&(Ws=Ye()+500,Wi()))}break;case 13:du(function(){var t=Io(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}}),$u(e,1)}},wt=function(e){if(13===e.tag){var t=Io(e,134217728);null!==t&&ru(t,e,134217728,tu()),$u(e,134217728)}},_t=function(e){if(13===e.tag){var t=nu(e),n=Io(e,t);null!==n&&ru(n,e,t,tu()),$u(e,t)}},xt=function(){return gt},kt=function(e,t){var n=gt;try{return gt=e,t()}finally{gt=n}},we=function(e,t,r){switch(t){case"input":if(X(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 i=r[t];if(i!==e&&i.form===e.form){var o=xi(i);if(!o)throw Error(n(90));K(i),X(i,o)}}}break;case"textarea":re(e,r);break;case"select":null!=(t=r.value)&&ee(e,!!r.multiple,t,!1)}},Ce=cu,Oe=du;var tc={usingClientEntryPoint:!1,Events:[wi,_i,xi,Se,Ee,cu]},nc={findFiberByHostInstance:yi,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:b.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 ic=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ic.isDisabled&&ic.supportsFiber)try{nt=ic.inject(rc),rt=ic}catch(se){}}return Cr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,Cr.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},Cr.createRoot=function(e,t){if(!Qu(e))throw Error(n(299));var r=!1,i="",o=qu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Bu(e,1,!1,null,0,r,0,i,o),e[mi]=t.current,Wr(8===e.nodeType?e.parentNode:e),new Yu(t)},Cr.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 null===(e=We(t))?null:e.stateNode},Cr.flushSync=function(e){return du(e)},Cr.hydrate=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!0,r)},Cr.hydrateRoot=function(e,t,r){if(!Qu(e))throw Error(n(405));var i=null!=r&&r.hydratedSources||null,o=!1,a="",l=qu;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Wu(t,null,e,1,null!=r?r:null,o,0,a,l),e[mi]=t.current,Wr(e),i)for(e=0;e<i.length;e++)o=(o=(r=i[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Xu(t)},Cr.render=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!1,r)},Cr.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[mi]=null})}),!0)},Cr.unstable_batchedUpdates=cu,Cr.unstable_renderSubtreeIntoContainer=function(e,t,r,i){if(!Ju(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return ec(e,t,r,!1,i)},Cr.version="18.3.1-next-f1338f8080-20240426",Cr}function Nr(){return Sr||(Sr=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),Er.exports=Mr()),Er.exports}var Pr=Nr();function Lr(e){return rn(cr(e,undefined))}var Rr,zr,Ir,jr,Dr=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,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))}),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}(),Vr=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:Dr)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),Fr={exports:{}},Br={},Ur=(zr||(zr=1,Fr.exports=function(){if(Rr)return Br;Rr=1;var e=i(),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 l(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var i=t(),s=n({inst:{value:i,getSnapshot:t}}),u=s[0].inst,c=s[1];return o(function(){u.value=i,u.getSnapshot=t,l(u)&&c({inst:u})},[e,i,t]),r(function(){return l(u)&&c({inst:u}),e(function(){l(u)&&c({inst:u})})},[e]),a(i),i};return Br.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,Br}()),Fr.exports);function Wr(e){e.reaction=new Nt("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}var Hr="function"==typeof Symbol&&Symbol.for,Kr=null!==(jr=null===(Ir=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===Ir?void 0:Ir.configurable)&&void 0!==jr&&jr,Gr=Hr?Symbol.for("react.forward_ref"):"function"==typeof o.forwardRef&&o.forwardRef(function(e){return null}).$$typeof,$r=Hr?Symbol.for("react.memo"):"function"==typeof o.memo&&o.memo(function(e){return null}).$$typeof;function qr(e,t){if($r&&e.$$typeof===$r)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,i=e.displayName||e.name;if(Gr&&e.$$typeof===Gr&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var l,s,u=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=a.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Vr.unregister(r),r.onStoreChange=e,r.reaction||(Wr(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 i,o,l=n.current;if(l.reaction||(Wr(l),Vr.register(n,l,l)),a.useDebugValue(l.reaction,Lr),Ur.useSyncExternalStore(l.subscribe,l.getSnapshot,l.getSnapshot),l.reaction.track(function(){try{i=e()}catch(e){o=e}}),o)throw o;return i}(function(){return r(e,t)},i)};return u.displayName=e.displayName,Kr&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes),n&&(u=o.forwardRef(u)),u=o.memo(u),l=e,s=u,Object.keys(l).forEach(function(e){Xr[e]||Object.defineProperty(s,e,Object.getOwnPropertyDescriptor(l,e))}),u}var Yr,Xr={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(Yr=Pr.unstable_batchedUpdates)||(Yr=function(e){e()}),function(e){!0===e.isolateGlobalState&&function(){if((kt.pendingReactions.length||kt.inBatch||kt.isRunningReactions)&&f(36),xt=!0,_t){var e=h();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),kt=new wt}}();var t,n,r=e.useProxies,i=e.enforceActions;if(void 0!==r&&(kt.useProxies=r===nn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(kt.verifyProxies=!0),void 0!==i){var o=i===nn?nn:"observed"===i;kt.enforceActions=o,kt.allowStateChanges=!0!==o&&o!==nn}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(kt[t]=!!e[t])}),kt.allowStateReads=!kt.observableRequiresReaction,e.reactionScheduler&&(t=e.reactionScheduler,n=Lt,Lt=function(e){return t(function(){return n(e)})})}({reactionScheduler:Yr}),Vr.finalizeAllImmediately;const Qr=(e,t=0)=>{const n=t=>(i.value=e?.(t)??t,i.value),r=()=>n(++i.counter),i=r;return i.increment=r,i.decrement=()=>n(--i.counter),i.reset=()=>{i.counter=t,i.value=e?.(t)??t},i.reset(),i},Jr="null",Zr="undefined",ei="[object Number]",ti="infinite",ni="element",ri=(...e)=>t=>e.includes(function(e){if(void 0===e)return Zr;if(null===e)return Jr;if(e&&(1===e.nodeType||9===e.nodeType))return ni;const t=Object.prototype.toString.call(e);if(t===ei){if(Number.isNaN(e))return"nan";if(!Number.isFinite(e))return ti}return t}(t)),ii=ri(Jr),oi=ri(Zr),ai=ri("[object Object]"),li=ri("[object Array]"),si=ri("[object String]"),ui=ri(ei),ci=ri("[object Boolean]"),di=ri("[object Function]","[object AsyncFunction]"),fi=ri("[object RegExp]"),pi=ri(ni),hi=ri("nan"),mi=ri(ti),vi=ri("[object Symbol]"),gi=Object.freeze(Object.defineProperty({__proto__:null,isArray:li,isBoolean:ci,isDefined:e=>null!=e,isElement:pi,isFunction:di,isInfinite:mi,isNaN:hi,isNull:ii,isNumber:ui,isObject:ai,isRegExp:fi,isString:si,isSymbol:vi,isUndefined:oi},Symbol.toStringTag,{value:"Module"})),bi=e=>{let t;const n=e?.comparer??ie.default,r=e=>{const i=e??null;n(r.current,i)||Gt(()=>{t=r.current??void 0,r.current=i,r.listeners.forEach(e=>{e(r.current,t)}),null===r.current&&void 0!==t&&(t=void 0)})};return r.listeners=new Set(e?.onChange?[e.onChange]:[]),(e?.onSet||e?.onUnset)&&r.listeners.add((t,n)=>{t?e.onSet?.(t,n):e.onUnset?.(n)}),r.current=e?.initial??null,r.meta=e?.meta??{},xn(r,{current:We.ref,meta:We}),r},yi=(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),i=Object.keys(t);if(r.length!==i.length)return!1;const o=t;for(const t of r)if(!Object.hasOwn(o,t)||e[t]!==o[t])return!1;return!0},{entries:wi,setPrototypeOf:_i,isFrozen:xi,getPrototypeOf:ki,getOwnPropertyDescriptor:Si}=Object;let{freeze:Ei,seal:Ci,create:Oi}=Object,{apply:Ti,construct:Ai}="undefined"!=typeof Reflect&&Reflect;Ei||(Ei=function(e){return e}),Ci||(Ci=function(e){return e}),Ti||(Ti=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),Ai||(Ai=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 Mi=Ki(Array.prototype.forEach),Ni=Ki(Array.prototype.lastIndexOf),Pi=Ki(Array.prototype.pop),Li=Ki(Array.prototype.push),Ri=Ki(Array.prototype.splice),zi=Ki(String.prototype.toLowerCase),Ii=Ki(String.prototype.toString),ji=Ki(String.prototype.match),Di=Ki(String.prototype.replace),Vi=Ki(String.prototype.indexOf),Fi=Ki(String.prototype.trim),Bi=Ki(Object.prototype.hasOwnProperty),Ui=Ki(RegExp.prototype.test),Wi=(Hi=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ai(Hi,t)});var Hi;function Ki(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Ti(e,t,r)}}function Gi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:zi;_i&&_i(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(xi(t)||(t[r]=e),i=e)}e[i]=!0}return e}function $i(e){for(let t=0;t<e.length;t++)Bi(e,t)||(e[t]=null);return e}function qi(e){const t=Oi(null);for(const[n,r]of wi(e))Bi(e,n)&&(Array.isArray(r)?t[n]=$i(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=qi(r):t[n]=r);return t}function Yi(e,t){for(;null!==e;){const n=Si(e,t);if(n){if(n.get)return Ki(n.get);if("function"==typeof n.value)return Ki(n.value)}e=ki(e)}return function(){return null}}const Xi=Ei(["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"]),Qi=Ei(["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"]),Ji=Ei(["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"]),Zi=Ei(["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"]),eo=Ei(["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"]),to=Ei(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),no=Ei(["#text"]),ro=Ei(["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"]),io=Ei(["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"]),oo=Ei(["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"]),ao=Ei(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),lo=Ci(/\{\{[\w\W]*|[\w\W]*\}\}/gm),so=Ci(/<%[\w\W]*|[\w\W]*%>/gm),uo=Ci(/\$\{[\w\W]*/gm),co=Ci(/^data-[\-\w.\u00B7-\uFFFF]+$/),fo=Ci(/^aria-[\-\w]+$/),po=Ci(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ho=Ci(/^(?:\w+script|data):/i),mo=Ci(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vo=Ci(/^html$/i),go=Ci(/^[a-z][.\w]*(-[.\w]+)+$/i);var bo=Object.freeze({__proto__:null,ARIA_ATTR:fo,ATTR_WHITESPACE:mo,CUSTOM_ELEMENT:go,DATA_ATTR:co,DOCTYPE_NAME:vo,ERB_EXPR:so,IS_ALLOWED_URI:po,IS_SCRIPT_OR_DATA:ho,MUSTACHE_EXPR:lo,TMPLIT_EXPR:uo});!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||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,o=i.currentScript,{DocumentFragment:a,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=Yi(m,"cloneNode"),g=Yi(m,"remove"),b=Yi(m,"nextSibling"),y=Yi(m,"childNodes"),w=Yi(m,"parentNode");if("function"==typeof l){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let _,x="";const{implementation:k,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:C}=r,{importNode:O}=i;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof wi&&"function"==typeof w&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:M,TMPLIT_EXPR:N,DATA_ATTR:P,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:z,CUSTOM_ELEMENT:I}=bo;let{IS_ALLOWED_URI:j}=bo,D=null;const V=Gi({},[...Xi,...Qi,...Ji,...eo,...no]);let F=null;const B=Gi({},[...ro,...io,...oo,...ao]);let U=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}})),W=null,H=null;const K=Object.seal(Oi(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,$=!0,q=!1,Y=!0,X=!1,Q=!0,J=!1,Z=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,oe=!1,ae=!0,le=!1,se={},ue=null;const ce=Gi({},["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=Gi({},["audio","video","img","source","image","track"]);let pe=null;const he=Gi({},["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 be=ge,ye=!1,we=null;const _e=Gi({},[me,ve,ge],Ii);let xe=Gi({},["mi","mo","mn","ms","mtext"]),ke=Gi({},["annotation-xml"]);const Se=Gi({},["title","style","font","a","script"]);let Ee=null;const Ce=["application/xhtml+xml","text/html"];let Oe=null,Te=null;const Ae=r.createElement("form"),Me=function(e){return e instanceof RegExp||e instanceof Function},Ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Te||Te!==e){if(e&&"object"==typeof e||(e={}),e=qi(e),Ee=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Oe="application/xhtml+xml"===Ee?Ii:zi,D=Bi(e,"ALLOWED_TAGS")?Gi({},e.ALLOWED_TAGS,Oe):V,F=Bi(e,"ALLOWED_ATTR")?Gi({},e.ALLOWED_ATTR,Oe):B,we=Bi(e,"ALLOWED_NAMESPACES")?Gi({},e.ALLOWED_NAMESPACES,Ii):_e,pe=Bi(e,"ADD_URI_SAFE_ATTR")?Gi(qi(he),e.ADD_URI_SAFE_ATTR,Oe):he,de=Bi(e,"ADD_DATA_URI_TAGS")?Gi(qi(fe),e.ADD_DATA_URI_TAGS,Oe):fe,ue=Bi(e,"FORBID_CONTENTS")?Gi({},e.FORBID_CONTENTS,Oe):ce,W=Bi(e,"FORBID_TAGS")?Gi({},e.FORBID_TAGS,Oe):qi({}),H=Bi(e,"FORBID_ATTR")?Gi({},e.FORBID_ATTR,Oe):qi({}),se=!!Bi(e,"USE_PROFILES")&&e.USE_PROFILES,G=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Q=!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,ie=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,le=e.IN_PLACE||!1,j=e.ALLOWED_URI_REGEXP||po,be=e.NAMESPACE||ge,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,ke=e.HTML_INTEGRATION_POINTS||ke,U=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Me(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Me(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(U.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&($=!1),ne&&(te=!0),se&&(D=Gi({},no),F=[],!0===se.html&&(Gi(D,Xi),Gi(F,ro)),!0===se.svg&&(Gi(D,Qi),Gi(F,io),Gi(F,ao)),!0===se.svgFilters&&(Gi(D,Ji),Gi(F,io),Gi(F,ao)),!0===se.mathMl&&(Gi(D,eo),Gi(F,oo),Gi(F,ao))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?K.tagCheck=e.ADD_TAGS:(D===V&&(D=qi(D)),Gi(D,e.ADD_TAGS,Oe))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?K.attributeCheck=e.ADD_ATTR:(F===B&&(F=qi(F)),Gi(F,e.ADD_ATTR,Oe))),e.ADD_URI_SAFE_ATTR&&Gi(pe,e.ADD_URI_SAFE_ATTR,Oe),e.FORBID_CONTENTS&&(ue===ce&&(ue=qi(ue)),Gi(ue,e.FORBID_CONTENTS,Oe)),ae&&(D["#text"]=!0),J&&Gi(D,["html","head","body"]),D.table&&(Gi(D,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Wi('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Wi('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,x=_.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 i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(h,o)),null!==_&&"string"==typeof x&&(x=_.createHTML(""));Ei&&Ei(e),Te=e}},Pe=Gi({},[...Qi,...Ji,...Zi]),Le=Gi({},[...eo,...to]),Re=function(e){Li(n.removed,{element:e});try{w(e).removeChild(e)}catch(t){g(e)}},ze=function(e,t){try{Li(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Li(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Re(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ie=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=ji(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ee&&be===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=_?_.createHTML(e):e;if(be===ge)try{t=(new p).parseFromString(i,Ee)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?x:i}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),be===ge?C.call(t,J?"html":"body")[0]:J?t.documentElement:o},je=function(e){return S.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},De=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 Fe(e,t,r){Mi(e,e=>{e.call(n,t,r,Te)})}const Be=function(e){let t=null;if(Fe(T.beforeSanitizeElements,e,null),De(e))return Re(e),!0;const r=Oe(e.nodeName);if(Fe(T.uponSanitizeElement,e,{tagName:r,allowedTags:D}),Q&&e.hasChildNodes()&&!Ve(e.firstElementChild)&&Ui(/<[/\w!]/g,e.innerHTML)&&Ui(/<[/\w!]/g,e.textContent))return Re(e),!0;if(7===e.nodeType)return Re(e),!0;if(Q&&8===e.nodeType&&Ui(/<[/\w]/g,e.data))return Re(e),!0;if(!(K.tagCheck instanceof Function&&K.tagCheck(r))&&(!D[r]||W[r])){if(!W[r]&&We(r)){if(U.tagNameCheck instanceof RegExp&&Ui(U.tagNameCheck,r))return!1;if(U.tagNameCheck instanceof Function&&U.tagNameCheck(r))return!1}if(ae&&!ue[r]){const t=w(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=v(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,b(e))}}return Re(e),!0}return e instanceof u&&!function(e){let t=w(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=zi(e.tagName),r=zi(t.tagName);return!!we[e.namespaceURI]&&(e.namespaceURI===ve?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||xe[r]):Boolean(Pe[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===ve?"math"===n&&ke[r]:Boolean(Le[n]):e.namespaceURI===ge?!(t.namespaceURI===ve&&!ke[r])&&!(t.namespaceURI===me&&!xe[r])&&!Le[n]&&(Se[n]||!Pe[n]):!("application/xhtml+xml"!==Ee||!we[e.namespaceURI]))}(e)?(Re(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!Ui(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&3===e.nodeType&&(t=e.textContent,Mi([A,M,N],e=>{t=Di(t,e," ")}),e.textContent!==t&&(Li(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(T.afterSanitizeElements,e,null),!1):(Re(e),!0)},Ue=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in r||n in Ae))return!1;if($&&!H[t]&&Ui(P,t));else if(G&&Ui(L,t));else if(K.attributeCheck instanceof Function&&K.attributeCheck(t,e));else if(!F[t]||H[t]){if(!(We(e)&&(U.tagNameCheck instanceof RegExp&&Ui(U.tagNameCheck,e)||U.tagNameCheck instanceof Function&&U.tagNameCheck(e))&&(U.attributeNameCheck instanceof RegExp&&Ui(U.attributeNameCheck,t)||U.attributeNameCheck instanceof Function&&U.attributeNameCheck(t,e))||"is"===t&&U.allowCustomizedBuiltInElements&&(U.tagNameCheck instanceof RegExp&&Ui(U.tagNameCheck,n)||U.tagNameCheck instanceof Function&&U.tagNameCheck(n))))return!1}else if(pe[t]);else if(Ui(j,Di(n,z,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Vi(n,"data:")||!de[e])if(q&&!Ui(R,Di(n,z,"")));else if(n)return!1;return!0},We=function(e){return"annotation-xml"!==e&&ji(e,I)},He=function(e){Fe(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||De(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let i=t.length;for(;i--;){const o=t[i],{name:a,namespaceURI:l,value:s}=o,u=Oe(a),c=s;let d="value"===a?c:Fi(c);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Fe(T.uponSanitizeAttribute,e,r),d=r.attrValue,!oe||"id"!==u&&"name"!==u||(ze(a,e),d="user-content-"+d),Q&&Ui(/((--!?|])>)|<\/(style|title|textarea)/i,d)){ze(a,e);continue}if("attributename"===u&&ji(d,"href")){ze(a,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){ze(a,e);continue}if(!Y&&Ui(/\/>/i,d)){ze(a,e);continue}X&&Mi([A,M,N],e=>{d=Di(d,e," ")});const f=Oe(e.nodeName);if(Ue(f,u,d)){if(_&&"object"==typeof h&&"function"==typeof h.getAttributeType)if(l);else switch(h.getAttributeType(f,u)){case"TrustedHTML":d=_.createHTML(d);break;case"TrustedScriptURL":d=_.createScriptURL(d)}if(d!==c)try{l?e.setAttributeNS(l,a,d):e.setAttribute(a,d),De(e)?Re(e):Pi(n.removed)}catch(t){ze(a,e)}}else ze(a,e)}Fe(T.afterSanitizeAttributes,e,null)},Ke=function e(t){let n=null;const r=je(t);for(Fe(T.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Fe(T.uponSanitizeShadowNode,n,null),Be(n),He(n),n.content instanceof a&&e(n.content);Fe(T.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,l=null,u=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Ve(e)){if("function"!=typeof e.toString)throw Wi("toString is not a function");if("string"!=typeof(e=e.toString()))throw Wi("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Ne(t),n.removed=[],"string"==typeof e&&(le=!1),le){if(e.nodeName){const t=Oe(e.nodeName);if(!D[t]||W[t])throw Wi("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)r=Ie("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!te&&!X&&!J&&-1===e.indexOf("<"))return _&&re?_.createHTML(e):e;if(r=Ie(e),!r)return te?null:re?x:""}r&&ee&&Re(r.firstChild);const c=je(le?e:r);for(;l=c.nextNode();)Be(l),He(l),l.content instanceof a&&Ke(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(F.shadowroot||F.shadowrootmode)&&(u=O.call(i,u,!0)),u}let d=J?r.outerHTML:r.innerHTML;return J&&D["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&Ui(vo,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&Mi([A,M,N],e=>{d=Di(d,e," ")}),_&&re?_.createHTML(d):d},n.setConfig=function(){Ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){Te=null,Z=!1},n.isValidAttribute=function(e,t,n){Te||Ne({});const r=Oe(e),i=Oe(t);return Ue(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&Li(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Ni(T[e],t);return-1===n?void 0:Ri(T[e],n,1)[0]}return Pi(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const yo=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()},wo=o.createContext(null),_o=o.createContext(null),xo=wo.Provider,ko=Qr(e=>e.toString(16)),So=(...e)=>{const t={...Eo,startViewTransitions:structuredClone(Eo.startViewTransitions),observable:{viewModels:{...Eo.observable.viewModels},viewModelStores:{...Eo.observable.viewModelStores}}};return e.forEach(e=>{if(!e)return;const{startViewTransitions:n,comparePayload:r,observable:i,generateId:o,...a}=e;if(o&&(t.generateId=o),n){const e="boolean"==typeof n?{mount:n,payloadChange:n,unmount:n}:n;Object.assign(t.startViewTransitions,e)}i?.viewModels&&Object.assign(t.observable.viewModels,i.viewModels||{}),i?.viewModelStores&&Object.assign(t.observable.viewModelStores,i.viewModelStores||{}),null!=r&&(t.comparePayload=r),Object.assign(t,a)}),t},Eo=(e=>{const t=(e=>{if(null==e){let e;return{get:()=>e,set:t=>(e=t,t)}}const t=globalThis;return{get:()=>t[e],set:n=>(t[e]=n,n)}})(Symbol.for("VIEW_MODELS_CONFIG"));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=ko(),n=Qr(e=>e.toString().padStart(5,"0"));e.generateId=()=>`${t}_${n().toString().padStart(5,"0")}`}return e.generateId()},factory:e=>new(0,e.VM)({...e,vmConfig:So(e.vmConfig)}),hooks:{storeCreate:(()=>{const e=(...t)=>{e.lastPub=t,e.subs.forEach(e=>{e(...t)})};return e.lastPub=void 0,e.subs=[],e.unsub=t=>{e.subs=e.subs.filter(e=>e!==t)},e.sub=t=>(e.subs.push(t),()=>e.unsub(t)),e})()}}),Co=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),xn(e)):xn(e,Object.fromEntries(t))})(e,t,n.useDecorators)},Oo="undefined"==typeof window?o.useEffect:o.useLayoutEffect;let To=null;To=e=>{const t=o.useRef(null);return t.current||(t.current=e()),t.current};const Ao=To;function Mo(e,t,n){return e.prototype.payloadChanged?No(e,t,n):Po(e,t)}const No=(e,t,n)=>{const r=o.useContext(_o),i=o.useContext(wo),a=n?.ctx??{},l=Ao(()=>{const o=r?.generateViewModelId({...n,ctx:a,VM:e,parentViewModelId:i?.id??null})??n?.id??Eo.generateId(a),l=r?r.get(o):null;if(l)return l;{const l={...n,vmConfig:n?.vmConfig,id:o,parentViewModelId:i?.id,payload:t??{},VM:e,viewModels:r,parentViewModel:i,ctx:a};r?.processCreateConfig(l);const s=n?.factory?.(l)??r?.createViewModel(l)??Eo.factory(l);return s.willMount(),r?.markToBeAttached(s),s}});return Oo(()=>r?(r.attach(l),()=>{r.detach(l.id)}):(l.mount(),()=>{l.willUnmount(),l.unmount()}),[l]),l.setPayload(t??{}),l},Po=(e,t)=>{const n=o.useContext(_o),r=o.useContext(wo),i=Ao(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in i&&o.useLayoutEffect(()=>{i.setPayload(t)},[t]),Oo(()=>n?(n.attach(i),()=>{n.detach(i.id)}):(i.mount?.(),()=>{i.unmount?.()}),[i]),i},Lo=e=>{const t=o.useContext(_o),n=o.useContext(wo);if(t?.get(e),!n)throw new Error("Error #1: https://js2me.github.io/mobx-view-model/errors/1");return n};qr(({model:e,config:t,payload:n,children:r})=>{const i=Mo(e,n,t);return i.isMounted?"function"==typeof r?r(i):d.jsx(d.Fragment,{children:r}):null});const Ro=_o.Provider;function zo(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return jo(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=>jo(e,r,t)}}const Io=Symbol.for("react.memo"),jo=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??Eo.processViewComponent,i=t.vmConfig?.wrapViewsInObserver??Eo.wrapViewsInObserver;let a=r?.(n,e,t)??n;i&&a&&a.$$typeof!==Io&&(a=qr(a));const l=t.reactHook,s=t.getPayload,u=t.fallback??Eo.fallbackComponent;let c=(n,r)=>{const i=o.useContext(_o);l?.(n,t.ctx,i,r);const{payload:c,...f}=n,p=s?.(n)??c;t.forwardRef&&!("forwardedRef"in f)&&(f.forwardedRef=r);const h=Mo(e,p,{...t,props:f});return i&&!i.isAbleToRenderView(h.id)||!1===h.isMounted?u&&d.jsx(u,{...n,payload:p}):d.jsx(xo,{value:h,children:a&&d.jsx(a,{...f,model:h})})};return t.forwardRef&&(c=o.forwardRef(c)),c=qr(c),t.component=c,c},Do=[["_isMounted",We.ref],["_isUnmounting",We.ref],["isMounted",$e],["isUnmounting",$e],["parentViewModel",$e],["mount",Ht.bound],["didMount",Ht],["unmount",Ht.bound],["didUnmount",Ht],["willUnmount",Ht],["setPayload",Ht]];class Vo{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=So(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=ie.structural:"shallow"===this.vmConfig.comparePayload?this.isPayloadEqual=yi:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...Do];!1!==this.vmConfig.payloadObservable&&t.push(["_payload",We[this.vmConfig.payloadObservable??"ref"]]),this.vmConfig.payloadComputed&&("struct"===this.vmConfig.payloadComputed?t.push(["payload",$e.struct]):t.push(["payload",$e({equals:!0===this.vmConfig.payloadComputed?void 0:this.vmConfig.payloadComputed})])),Co(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 this.vmParams.viewModels}get isMounted(){return this._isMounted}get isUnmounting(){return this._isUnmounting}willUnmount(){this._isUnmounting=!0}willMount(){}mount(){this.vmConfig.onMount?.(this),yo(()=>{Gt(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),yo(()=>{Gt(()=>{this._isMounted=!1})},{disabled:!this.vmConfig.startViewTransitions.unmount}),this.didUnmount()}didUnmount(){this.abortController.abort(),Gt(()=>{this._isUnmounting=!1})}payloadChanged(e,t){}get parentViewModel(){return this.getParentViewModel(this.vmParams.parentViewModelId)}setPayload(e){this.isPayloadEqual?.(this._payload,e)||yo(()=>{Gt(()=>{this.payloadChanged(e,this._payload),this._payload=e})},{disabled:!this.vmConfig.startViewTransitions.payloadChange})}getParentViewModel(e){return this.vmParams.parentViewModel??this.viewModels?.get(e)}}class Fo{constructor(e){this.config=e,this.viewModels=We.map([],{deep:!1}),this.linkedComponentVMClasses=We.map([],{deep:!1}),this.viewModelIdsByClasses=We.map([],{deep:!0}),this.instanceAttachedCount=We.map([],{deep:!1}),this.mountingViews=We.set([],{deep:!1}),this.unmountingViews=We.set([],{deep:!1}),this.vmConfig=So(e?.vmConfig),this.viewModelsTempHeap=new Map,Co(this,[["mountedViewsCount",$e],["mount",Ht],["unmount",Ht],["attachVMConstructor",Ht],["attach",Ht],["detach",Ht],["linkComponents",Ht],["unlinkComponents",Ht]],this.vmConfig.observable.viewModelStores),this.vmConfig.hooks.storeCreate(this)}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=So(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:t.at(-1)}has(e){const t=this.getId(e);return!!t&&this.viewModels.has(t)}get(e){const t=this.getId(e);return t?this.viewModels.get(t)??this.viewModelsTempHeap.get(t)??null: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?.()),Gt(()=>{this.mountingViews.delete(t)})}async unmount(e){const t=this.getOrCreateVmId(e);this.unmountingViews.add(t),await(e.unmount?.()),Gt(()=>{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 Bo extends Vo{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}class Uo extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const Wo=(e,...t)=>"function"==typeof e?e(...t):e;var Ho="object"==typeof global&&global&&global.Object===Object&&global,Ko="object"==typeof self&&self&&self.Object===Object&&self,Go=Ho||Ko||Function("return this")(),$o=Go.Symbol,qo=Object.prototype,Yo=qo.hasOwnProperty,Xo=qo.toString,Qo=$o?$o.toStringTag:void 0,Jo=Object.prototype.toString,Zo=$o?$o.toStringTag:void 0;var ea=/\s/,ta=/^\s+/;function na(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var ra=/^[-+]0x[0-9a-f]+$/i,ia=/^0b[01]+$/i,oa=/^0o[0-7]+$/i,aa=parseInt;function la(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Zo&&Zo in Object(e)?function(e){var t=Yo.call(e,Qo),n=e[Qo];try{e[Qo]=void 0;var r=!0}catch(e){}var i=Xo.call(e);return r&&(t?e[Qo]=n:delete e[Qo]),i}(e):function(e){return Jo.call(e)}(e)}(e)}(e))return NaN;if(na(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=na(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&ea.test(e.charAt(t)););return t}(e)+1).replace(ta,""):e}(e);var n=ia.test(e);return n||oa.test(e)?aa(e.slice(2),n?2:8):ra.test(e)?NaN:+e}var sa=function(){return Go.Date.now()},ua=Math.max,ca=Math.min;function da(e,t,n){var r,i,o,a,l,s,u=0,c=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-u>=o}function m(){var e=sa();if(h(e))return v(e);l=setTimeout(m,function(e){var n=t-(e-s);return d?ca(n,o-(e-u)):n}(e))}function v(e){return l=void 0,f&&r?p(e):(r=i=void 0,a)}function g(){var e=sa(),n=h(e);if(r=arguments,i=this,s=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(m,t),c?p(e):a}(s);if(d)return clearTimeout(l),l=setTimeout(m,t),p(s)}return void 0===l&&(l=setTimeout(m,t)),a}return t=la(t)||0,na(n)&&(c=!!n.leading,o=(d="maxWait"in n)?ua(la(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),g.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=s=i=l=void 0},g.flush=function(){return void 0===l?a:v(sa())},g}let fa=class{constructor(e){if(this.config=e,this.abortController=new Uo(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),We.ref(this,"isActivated"),We.ref(this,"localActions"),$e.struct(this,"actions"),Ht.bound(this,"handleKeyboardClick"),Ht.bound(this,"setActions"),xn(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new Uo;Qt(()=>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 Uo(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;localActions;isActivated;get actions(){const e=this.localActions??this.config.actions;return Wo(e)??[]}setActions(e){this.localActions=e}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(let t=0;t<this.actions.length;t++){const n=this.actions[t];if(!Wo(n.disabled))for(let t=0;t<n.shortcuts.length;t++)if(n.shortcuts[t].split("+").every(t=>this.checkKey(e,t)))return void Gt(()=>{n.action(e)})}}checkKey(e,t){return!!("Shift"===t&&e.shiftKey||("Ctrl"===t||"Control"===t)&&e.ctrlKey||"Alt"===t&&e.altKey||("Windows"===t||"Meta"===t||"Command"===t||"⌘"===t||"Win"===t)&&e.metaKey||t===e.key||t===e.code)}destroy(){this.abortController.abort()}};class pa{constructor(e){this.config=e,this.abortController=new Uo(e?.abortSignal),this.abortSignal=this.abortController.signal,xn(this)}abortController;abortSignal;getStorage(e){return"session"===(e.type??this.config?.type)?globalThis.sessionStorage:globalThis.localStorage}createKey(e){if(this.config?.createKey)return this.config.createKey(e);const t=e.prefix??this.config?.prefix??"",n=e.namespace??this.config?.namespace;return`${t?`${t}/`:""}${n?`${n}/`:""}${e.key}`}get(e){const t=this.createKey(e),n=this.getStorage(e).getItem(t);let r=null;if("string"==typeof n)try{r=JSON.parse(n)}catch{r=null}else r=n;return r??e.fallback??null}formatValue(e){return JSON.stringify(e)}set(e){const t=this.createKey(e);this.getStorage(e).setItem(t,e.format?e.format(e.value):this.formatValue(e.value))}syncProperty(e,t,n){const r=n?.key??t,i=n&&"fallback"in n?n.fallback:e[t];Gt(()=>{e[t]=this.get({...n,key:r,fallback:i})??e[t]});const o=qt(()=>{const i=e[t];this.set({...n,key:r,value:i})},{signal:this.abortSignal});return this.abortSignal.addEventListener("abort",o),()=>{this.abortSignal.removeEventListener("abort",o),o()}}destroy(){this.abortController.abort()}}var ha,ma={},va=function(){if(ha)return ma;ha=1;var e=Nr();return ma.createRoot=e.createRoot,ma.hydrateRoot=e.hydrateRoot,ma}();function ga(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ga(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const ba=e=>{const t=xa(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),ya(n,t)||_a(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},ya=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?ya(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},wa=/^\[(.+)\]$/,_a=e=>{if(wa.test(e)){const t=wa.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},xa=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)ka(n[e],r,e,t);return r},ka=(e,t,n,r)=>{e.forEach(e=>{if("string"!=typeof e)return"function"==typeof e?Ea(e)?void ka(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n}):void Object.entries(e).forEach(([e,i])=>{ka(i,Sa(t,e),n,r)});(""===e?t:Sa(t,e)).classGroupId=n})},Sa=(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},Ea=e=>e.isThemeGetter,Ca=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),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))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},Oa=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let l=e[a];if(0===r&&0===i){if(":"===l){t.push(e.slice(o,a)),o=a+1;continue}if("/"===l){n=a;continue}}"["===l?r++:"]"===l?r--:"("===l?i++:")"===l&&i--}const a=0===t.length?e:e.substring(o),l=Ta(a);return{modifiers:t,hasImportantModifier:l!==a,baseClassName:l,maybePostfixModifierPosition:n&&n>o?n-o: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},Ta=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Aa=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}},Ma=/\s+/;function Na(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Pa(e))&&(r&&(r+=" "),r+=t);return r}const Pa=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Pa(e[r]))&&(n&&(n+=" "),n+=t);return n};const La=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Ra=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,za=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ia=/^\d+\/\d+$/,ja=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Da=/\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$/,Va=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Fa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ba=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ua=e=>Ia.test(e),Wa=e=>!!e&&!Number.isNaN(Number(e)),Ha=e=>!!e&&Number.isInteger(Number(e)),Ka=e=>e.endsWith("%")&&Wa(e.slice(0,-1)),Ga=e=>ja.test(e),$a=()=>!0,qa=e=>Da.test(e)&&!Va.test(e),Ya=()=>!1,Xa=e=>Fa.test(e),Qa=e=>Ba.test(e),Ja=e=>!el(e)&&!al(e),Za=e=>pl(e,gl,Ya),el=e=>Ra.test(e),tl=e=>pl(e,bl,qa),nl=e=>pl(e,yl,Wa),rl=e=>pl(e,ml,Ya),il=e=>pl(e,vl,Qa),ol=e=>pl(e,_l,Xa),al=e=>za.test(e),ll=e=>hl(e,bl),sl=e=>hl(e,wl),ul=e=>hl(e,ml),cl=e=>hl(e,gl),dl=e=>hl(e,vl),fl=e=>hl(e,_l,!0),pl=(e,t,n)=>{const r=Ra.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},hl=(e,t,n=!1)=>{const r=za.exec(e);return!!r&&(r[1]?t(r[1]):n)},ml=e=>"position"===e||"percentage"===e,vl=e=>"image"===e||"url"===e,gl=e=>"length"===e||"size"===e||"bg-size"===e,bl=e=>"length"===e,yl=e=>"number"===e,wl=e=>"family-name"===e,_l=e=>"shadow"===e,xl=function(e,...t){let n,r,i,o=function(l){const s=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Ca(e.cacheSize),parseClassName:Oa(e),sortModifiers:Aa(e),...ba(e)}))(s),r=n.cache.get,i=n.cache.set,o=a,a(l)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],l=e.trim().split(Ma);let s="";for(let e=l.length-1;e>=0;e-=1){const t=l[e],{isExternal:u,modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(u){s=t+(s.length>0?" "+s:s);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=t+(s.length>0?" "+s:s);continue}if(m=r(f),!m){s=t+(s.length>0?" "+s:s);continue}h=!1}const v=o(c).join(":"),g=d?v+"!":v,b=g+m;if(a.includes(b))continue;a.push(b);const y=i(m,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(g+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return i(e,o),o}return function(){return o(Na.apply(null,arguments))}}(()=>{const e=La("color"),t=La("font"),n=La("text"),r=La("font-weight"),i=La("tracking"),o=La("leading"),a=La("breakpoint"),l=La("container"),s=La("spacing"),u=La("radius"),c=La("shadow"),d=La("inset-shadow"),f=La("text-shadow"),p=La("drop-shadow"),h=La("blur"),m=La("perspective"),v=La("aspect"),g=La("ease"),b=La("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",al,el],w=()=>[al,el,s],_=()=>[Ua,"full","auto",...w()],x=()=>[Ha,"none","subgrid",al,el],k=()=>["auto",{span:["full",Ha,al,el]},Ha,al,el],S=()=>[Ha,"auto",al,el],E=()=>["auto","min","max","fr",al,el],C=()=>["auto",...w()],O=()=>[Ua,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],T=()=>[e,al,el],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ul,rl,{position:[al,el]}],M=()=>["auto","cover","contain",cl,Za,{size:[al,el]}],N=()=>[Ka,ll,tl],P=()=>["","none","full",u,al,el],L=()=>["",Wa,ll,tl],R=()=>[Wa,Ka,ul,rl],z=()=>["","none",h,al,el],I=()=>["none",Wa,al,el],j=()=>["none",Wa,al,el],D=()=>[Wa,al,el],V=()=>[Ua,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ga],breakpoint:[Ga],color:[$a],container:[Ga],"drop-shadow":[Ga],ease:["in","out","in-out"],font:[Ja],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ga],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ga],shadow:[Ga],spacing:["px",Wa],text:[Ga],"text-shadow":[Ga],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ua,el,al,v]}],container:["container"],columns:[{columns:[Wa,el,al,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: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:_()}],"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:[Ha,"auto",al,el]}],basis:[{basis:[Ua,"full","auto",l,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Wa,Ua,"auto","initial","none",el]}],grow:[{grow:["",Wa,al,el]}],shrink:[{shrink:["",Wa,al,el]}],order:[{order:[Ha,"first","last","none",al,el]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"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:O()}],w:[{w:[l,"screen",...O()]}],"min-w":[{"min-w":[l,"screen","none",...O()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[a]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",n,ll,tl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,al,nl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ka,el]}],"font-family":[{font:[sl,el,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:[i,al,el]}],"line-clamp":[{"line-clamp":[Wa,"none",al,nl]}],leading:[{leading:[o,...w()]}],"list-image":[{"list-image":["none",al,el]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",al,el]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Wa,"from-font","auto",al,tl]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[Wa,"auto",al,el]}],"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",al,el]}],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",al,el]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ha,al,el],radial:["",al,el],conic:[Ha,al,el]},dl,il]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"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:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Wa,al,el]}],"outline-w":[{outline:["",Wa,ll,tl]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",c,fl,ol]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,fl,ol]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[Wa,tl]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,fl,ol]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[Wa,al,el]}],"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":[Wa]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[al,el]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":[Wa]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:A()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",al,el]}],filter:[{filter:["","none",al,el]}],blur:[{blur:z()}],brightness:[{brightness:[Wa,al,el]}],contrast:[{contrast:[Wa,al,el]}],"drop-shadow":[{"drop-shadow":["","none",p,fl,ol]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",Wa,al,el]}],"hue-rotate":[{"hue-rotate":[Wa,al,el]}],invert:[{invert:["",Wa,al,el]}],saturate:[{saturate:[Wa,al,el]}],sepia:[{sepia:["",Wa,al,el]}],"backdrop-filter":[{"backdrop-filter":["","none",al,el]}],"backdrop-blur":[{"backdrop-blur":z()}],"backdrop-brightness":[{"backdrop-brightness":[Wa,al,el]}],"backdrop-contrast":[{"backdrop-contrast":[Wa,al,el]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Wa,al,el]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Wa,al,el]}],"backdrop-invert":[{"backdrop-invert":["",Wa,al,el]}],"backdrop-opacity":[{"backdrop-opacity":[Wa,al,el]}],"backdrop-saturate":[{"backdrop-saturate":[Wa,al,el]}],"backdrop-sepia":[{"backdrop-sepia":["",Wa,al,el]}],"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",al,el]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Wa,"initial",al,el]}],ease:[{ease:["linear","initial",g,al,el]}],delay:[{delay:[Wa,al,el]}],animate:[{animate:["none",b,al,el]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,al,el]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:I()}],"rotate-x":[{"rotate-x":I()}],"rotate-y":[{"rotate-y":I()}],"rotate-z":[{"rotate-z":I()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:D()}],"skew-x":[{"skew-x":D()}],"skew-y":[{"skew-y":D()}],transform:[{transform:[al,el,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"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:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"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",al,el]}],"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",al,el]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[Wa,ll,tl,nl]}],stroke:[{stroke:["none",...T()]}],"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"]}}),kl=(...e)=>xl(function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ga(e))&&(r&&(r+=" "),r+=t);return r}(...e)),Sl="dragging_kUMCE",El="opened_NYAFW",Cl="isConnected_eObxX",Ol=zo(class extends Vo{devtools=this.parentViewModel.devtools;storage=new pa({namespace:"mobx-view-model-devtools",prefix:"devtools-button",type:"local"});ref=bi({onSet:e=>{const t={isDragging:!1,offsetX:0,offsetY:0,hasMoved:!1,startX:0,startY:0},n=this.storage.get({key:"left"}),r=this.storage.get({key:"top"});n&&r&&(e.style.left=`${n}`,e.style.top=`${r}`);const{width:i,height:o}=e.getBoundingClientRect();e.addEventListener("mousedown",n=>{t.isDragging=!0,t.hasMoved=!1;const r=e.getBoundingClientRect();t.offsetX=r.left-n.clientX,t.offsetY=r.top-n.clientY,t.startX=r.left,t.startY=r.top,e.classList.add(Sl)}),e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()}),document.addEventListener("mousemove",n=>{if(!t.isDragging)return;let r=n.clientX+t.offsetX,a=n.clientY+t.offsetY;const l=window.innerWidth-i-12,s=window.innerHeight-o-12;r<12&&(r=12),a<12&&(a=12),r>l&&(r=l),a>s&&(a=s),e.style.left=`${r}px`,e.style.top=`${a}px`,r===t.startX&&a===t.startY||(t.hasMoved=!0)}),document.addEventListener("mouseup",()=>{t.isDragging=!1,e.classList.remove(Sl),this.position!==this.devtools.position&&Gt(()=>{this.devtools.position=this.position,this.storage.set({key:"left",value:e.style.left}),this.storage.set({key:"top",value:e.style.top})})})}});handleClick=()=>{this.devtools.isPopupOpened?this.devtools.hidePopup():this.devtools.showPopup()};get position(){const e=this.ref.current?.getBoundingClientRect(),t=window.innerWidth/2,n=window.innerHeight/2,r=(e?.left??0)<t,i=(e?.top??0)<n;return i&&r?"top-left":i&&!r?"top-right":!i&&r?"bottom-left":"bottom-right"}},({model:e})=>d.jsxs("button",{className:kl("vmButton_esipO",{[El]:e.devtools.isPopupOpened,[Cl]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[d.jsx("img",{src:e.devtools.logoUrl}),d.jsx("div",{}),d.jsx("span",{children:e.devtools.allVms.length})]})),Tl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 13.28a.75.75 0 0 0 1.06 0l2-2a.75.75 0 1 0-1.06-1.06l-.72.72V3.25a.75.75 0 0 0-1.5 0v7.69l-.72-.72a.75.75 0 1 0-1.06 1.06zM7.75 12a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5zm0-3.25a.75.75 0 0 1 0-1.5h5.5a.75.75 0 0 1 0 1.5zm0-4.75a.75.75 0 0 1 0-1.5h2.5a.75.75 0 0 1 0 1.5z",clipRule:"evenodd"})),Al=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 3.25a.75.75 0 0 1 .75-.75h12.5a.75.75 0 0 1 0 1.5H1.75A.75.75 0 0 1 1 3.25M3 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 3 8m3.75 4a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Ml=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.22 2.72a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1-1.06 1.06l-.72-.72v7.69a.75.75 0 0 1-1.5 0V5.06l-.72.72A.75.75 0 0 1 .22 4.72zM7.75 4a.75.75 0 0 1 0-1.5h7.5a.75.75 0 0 1 0 1.5zm0 3.25a.75.75 0 0 0 0 1.5h5.5a.75.75 0 0 0 0-1.5zm0 4.75a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5z",clipRule:"evenodd"})),Nl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"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",clipRule:"evenodd"})),Pl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5M11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3zM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5",clipRule:"evenodd"})),Ll=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 13.5v-3A.5.5 0 0 1 8 10h.672a.5.5 0 0 1 .353.146l.414.415.44.439H13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5M6 13H4.5a3 3 0 0 1-3-3V1.25a.75.75 0 0 1 1.5 0V2a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V5H4.5A3 3 0 0 1 3 4.599V10a1.5 1.5 0 0 0 1.5 1.5H6v-1a2 2 0 0 1 2-2h.672a2 2 0 0 1 1.414.586l.414.414H13a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm1.5-8.75V5.5A.5.5 0 0 0 8 6h5a.5.5 0 0 0 .5-.5v-2A.5.5 0 0 0 13 3H9.879l-.44-.44-.414-.414A.5.5 0 0 0 8.672 2H8a.5.5 0 0 0-.5.5z",clipRule:"evenodd"})),Rl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",clipRule:"evenodd"})),zl=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.5 7a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0m-.82 4.74a6 6 0 1 1 1.06-1.06l2.79 2.79a.75.75 0 1 1-1.06 1.06z",clipRule:"evenodd"})),Il=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),o.createElement("path",{fill:"currentColor",fillRule:"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",clipRule:"evenodd"})),jl=null,{min:Dl,max:Vl,abs:Fl,floor:Bl}=Math,Ul=(e,t,n)=>Dl(n,Vl(t,e)),Wl=e=>[...e].sort((e,t)=>e-t),Hl="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},Kl=()=>{let e;return[new Promise(t=>{e=t}),e]},Gl=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},$l=(e,t,n)=>{const r=n?"unshift":"push";for(let n=0;n<t;n++)e[r](-1);return e},ql=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},Yl=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=Dl(t,e.i),r},Xl=(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+=ql(e,n),e.u[++n]=r;return e.i=t,r},Ql=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const i=Bl((n+r)/2);if(Xl(e,i)<=t){if(Xl(e,i+1)>t)return i;n=i+1}else r=i-1}return Ul(n,0,e.l-1)},Jl=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:Dl(t-1,e.i),e.l=t,r>0?($l(e.u,r),$l(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))},Zl="undefined"!=typeof window,es=()=>document.documentElement,ts=Gl(()=>!!Zl&&"rtl"===getComputedStyle(es()).direction),ns=Gl(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),rs=Gl(()=>"scrollBehavior"in es().style),is=setTimeout,os=(e,t)=>t&&ts()?-e:e,as=(e,t)=>{let n,r,i=Kl();const o=t?"scrollLeft":"scrollTop",a=t?"overflowX":"overflowY",[l,s]=((e,t,n)=>{let r;return[async(i,o)=>{if(!await t())return;r&&r();const a=()=>{const[t,n]=Kl();return r=()=>{n(!1)},e.p()&&is(r,150),[t,e.B(2,()=>{n(!0)})]};if(o&&rs())e.J(8,i()),Hl(async()=>{for(;;){let t=!0;for(let[n,r]=e.S();n<=r;n++)if(e.k(n)){t=!1;break}if(t)break;const[n,r]=a();try{if(!await n)return}finally{r()}}e.J(7),n(i(),o)});else for(;;){const[t,r]=a();try{if(e.J(7),n(i()),!await t)return}finally{r()}}},()=>{r&&r()}]})(e,()=>i[0],(e,r)=>{e=os(e,t),r?n.scrollTo({[t?"left":"top"]:e,behavior:"smooth"}):n[o]=e});return{P(l){n=l,r=((e,t,n,r,i)=>{const o=Date.now;let a=0,l=!1,s=!1,u=!1,c=!1;const d=(()=>{let t;const n=()=>{t!=jl&&clearTimeout(t)},r=()=>{n(),t=is(()=>{t=jl,(()=>{if(l||s)return l=!1,void d();u=!1,e.J(2)})()},150)};return r.A=n,r})(),f=()=>{a=o(),u&&(c=!0),e.J(1,r()),d()},p=t=>{if(l||!e.H()||t.ctrlKey)return;const r=o()-a;150>r&&50<r&&(n?t.deltaX:t.deltaY)&&(l=!0)},h=()=>{s=!0,u=c=!1},m=()=>{s=!1,ns()&&(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,o]=e.O();t&&(i(os(t,n),o,c),c=!1,o&&e.p()>e.h()&&e.J(1,r()))}}})(e,l,t,()=>os(l[o],t),(t,n,r)=>{if(r){const e=l.style,t=e[a];e[a]="hidden",is(()=>{e[a]=t})}l[o]=e.C()+t,n&&s()}),i[1](!0)},v(){r&&r.L(),i[1](!1),i=Kl()},V(e){l(()=>e)},X(t){t+=e.C(),l(()=>t)},Y(t,{align:n,smooth:r,offset:i=0}={}){if(t=Ul(t,0,e.M()-1),"nearest"===n){const r=e.R(t),i=e.C();if(r<i)n="start";else{if(!(r+e.T(t)>i+e.p()))return;n="end"}}l(()=>i+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()}}},ls=(e,t)=>{let n;const r=t?"width":"height",i=new WeakMap,o=(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 o=[];for(const{target:a,contentRect:l}of t)if(a.offsetParent)if(a===n)e.J(4,l[r]);else{const e=i.get(a);e!=jl&&o.push([e,l[r]])}o.length&&e.J(3,o)});return{U(e){o.q(n=e)},F:(e,t)=>(i.set(e,t),o.q(e),()=>{i.delete(e),o.G(e)}),v:o.L}},ss=Zl?o.useLayoutEffect:o.useEffect,us="current",cs=(e,t)=>{if(Array.isArray(e))for(const n of e)cs(n,t);else null==e||"boolean"==typeof e||t.push(e)},ds=e=>{const t=o.useRef(e);return ss(()=>{t[us]=e},[e]),t},fs=o.memo(({Z:e,ee:t,te:n,oe:r,ne:i,re:a,ie:l,se:s})=>{const u=o.useRef(null);ss(()=>t(u[us],n),[n]);const c=o.useMemo(()=>{const e={contain:"layout style",position:i&&s?void 0:"absolute",[l?"height":"width"]:"100%",[l?"top":"left"]:0,[l?ts()?"right":"left":"top"]:r,visibility:!i||s?void 0:"hidden"};return l&&(e.display="inline-flex"),e},[r,i,s,l]);return d.jsx(a,"string"==typeof a?{ref:u,style:c,children:e}:{ref:u,style:c,index:n,children:e})}),ps=o.forwardRef(({children:e,data:t,bufferSize:n,itemSize:r,shift:i,horizontal:a,keepMounted:l,cache:s,startMargin:u=0,ssrCount:c,as:f="div",item:p="div",scrollRef:h,onScroll:m,onScrollEnd:v},g)=>{const[b,y]=((e,t)=>o.useMemo(()=>{if("function"==typeof e)return[n=>e(t[n],n),t.length];const n=(e=>{const t=[];return cs(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),w=o.useRef(null),_=o.useRef(!!c),x=ds(m),k=ds(v),[S,E,C,O]=(()=>{const e=o.useRef(null);return e[us]||(e[us]=(()=>{const e=!!a,t=((e,t=40,n=0,r,i=!1)=>{let o=!!n,a=1,l=0,s=0,u=0,c=0,d=0,f=0,p=0,h=0,m=jl,v=[0,o?Vl(n-1,0):-1],g=0;const b=(T=e,A=t,{o:(M=r)?M[1]:A,t:M&&M[0]?$l(M[0].slice(0,Dl(T,M[0].length)),Vl(0,T-M[0].length)):$l([],T),l:T,i:-1,u:$l([],T+1)}),y=new Set,w=()=>u-s,_=()=>w()+d+c,x=(e,t)=>((e,t,n,r)=>{if(r=Dl(r,e.l-1),Xl(e,r)<=t){const i=Ql(e,n,r);return[Ql(e,t,r,i),i]}{const i=Ql(e,t,void 0,r);return[i,Ql(e,n,i)]}})(b,e,t,v[0]),k=()=>Xl(b,b.l),S=e=>Xl(b,e)-d,E=e=>ql(b,e),C=(e,t=-1)=>b.t[e]===t,O=e=>{e&&(ns()&&0!==p||m&&1===h?d+=e:c+=e)};var T,A,M;return{v:()=>{y.clear()},m:()=>a,_:()=>(e=>[e.t.slice(),e.o])(b),S:(e=200)=>{if(!l||o)return v;let t,n;if(f)[t,n]=v;else{let r=Vl(0,_()),o=r+l;i||(e=Vl(0,e),1!==p&&(r-=e),2!==p&&(o+=e)),[t,n]=v=x(Vl(0,r),Vl(0,o)),m&&(t=Dl(t,m[0]),n=Vl(n,m[1]))}return[Vl(t,0),Dl(n,b.l-1)]},$:()=>Ql(b,_()),I:()=>Ql(b,_()+l),k:C,R:S,T:E,M:()=>b.l,C:()=>u,H:()=>0!==p,p:()=>l,W:()=>s,h:k,O:()=>(f=c,c=0,[f,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===u&&0===h)break;const e=f;f=0;const n=t-u,i=Fl(n);e&&i<Fl(e)+1||0!==h||(p=n<0?2:1),o&&(o=!1),u=t,v=4;const a=w();a>=-l&&a<=k()&&(v+=1,r=i>l);break}case 2:v=8,0!==p&&(n=!0,v+=1),p=0,h=0,m=jl;break;case 3:{const e=t.filter(([e,t])=>!C(e,t));if(!e.length)break;O(e.reduce((e,[t,n])=>((2===h||(m&&1===h?t<m[0]:S(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=Yl(b,t,n);i&&(g+=r?n:n-e)}i&&l&&g>l&&(O(((e,t)=>{let n=0;const r=[];e.t.forEach((e,i)=>{-1!==e&&(r.push(e),i<t&&n++)}),e.i=-1;const i=Wl(r),o=i.length,a=o/2|0,l=o%2==0?(i[a-1]+i[a])/2:i[a],s=e.o;return((e.o=l)-s)*Vl(t-n,0)})(b,Ql(b,_()))),i=!1),v=3,r=!0;break}case 4:l!==t&&(l||(r=!0),l=t,v=3);break;case 5:t[1]?(O(Jl(b,t[0],!0)),h=2,v=1):(Jl(b,t[0]),v=1);break;case 6:s=t;break;case 7:h=1;break;case 8:m=x(t,t+l),v=1}v&&(a=1+(2147483647&a),n&&d&&(c+=d,d=0),y.forEach(([e,t])=>{v&e&&t(r)}))}}})(y,r,c,s,!r);return[t,ls(t,e),as(t,e),e]})())})();y!==S.M()&&S.J(5,[y,i]),u!==S.W()&&S.J(6,u);const[T,A]=o.useReducer(S.m,void 0,S.m),M=S.H(),N=S.h(),P=[],L=e=>{const t=b(e);return d.jsx(fs,{ee:E.F,te:e,oe:S.R(e),ne:S.k(e),re:p,Z:t,ie:O,se:_[us]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(ss(()=>{_[us]=!1,S.B(1,e=>{e?Pr.flushSync(A):A()}),S.B(4,()=>{x[us]&&x[us](S.C())}),S.B(8,()=>{k[us]&&k[us]()});const e=e=>{E.U(e),C.P(e)};return h?Hl(()=>{h[us]&&e(h[us])}):e(w[us].parentElement),()=>{S.v(),E.v(),C.v()}},[]),ss(()=>{C.j()},[T]),o.useImperativeHandle(g,()=>({get cache(){return S._()},get scrollOffset(){return S.C()},get scrollSize(){return Vl((e=S).h(),e.p());var e},get viewportSize(){return S.p()},findStartIndex:S.$,findEndIndex:S.I,getItemOffset:S.R,getItemSize:S.T,scrollToIndex:C.Y,scrollTo:C.V,scrollBy:C.X}),[]),l){const e=new Set(l);for(let[t,r]=S.S(n);t<=r;t++)e.add(t);Wl([...e]).forEach(e=>{P.push(L(e))})}else for(let[e,t]=S.S(n);e<=t;e++)P.push(L(e));return d.jsx(f,{ref:w,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:O?N:"100%",height:O?"100%":N,pointerEvents:M?"none":void 0},children:P})});class hs{constructor(e,t,n,r,i){this.devtools=e,this.key=t,this._data=n,this.getChildren=r,this.cache=i??e.anyCache,this.expandKey=`${t}/expand-key`,$e(this,"isExpanded"),$e(this,"isFitted"),$e(this,"totalChildCount"),$e(this,"depthLine"),$e(this,"depth"),$e(this,"stringifiedData"),$e.struct(this,"operations"),$e.struct(this,"children"),$e.struct(this,"expandedChildren"),$e.struct(this,"expandedChildrenWithSelf"),$e(this,"data"),$e(this,"isExpandable"),Ht(this,"expand"),Ht(this,"collapse"),xn(this)}cache;get isExpanded(){return!0===this.cache.get(this.expandKey)}get children(){return this.getChildren?.(this)??[]}get isExpandable(){return this.children.length>0}expand(){this.isExpandable&&this.cache.set(this.expandKey,!0)}collapse(){this.cache.set(this.expandKey,!1)}toggleExpand(){this.isExpanded?this.collapse():this.expand()}get expandedChildren(){if(!this.isExpanded)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return e}get expandedChildrenWithSelf(){return[this,...this.expandedChildren]}get data(){return this._data}get isFitted(){return!0}get depthLine(){return String().padEnd(this.depth,"-")}get stringifiedData(){return String(this.data)}get operations(){return[]}expandKey}const ms=new Set(["constructor"]),vs=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 gs(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)ms.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(vs.has(r))break;n=r}return Array.from(t)}class bs extends hs{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}class ys extends hs{constructor(e,t,n,r){const i=t.constructor.name;super(e,`${i}-${t.id}`,t,void 0,new Map),this.allVms=n,this.parent=r,this.displayName=i,this.searchData={name:i.toLowerCase().trim(),id:(t.id||"").toLowerCase().trim()},$e.struct(this,"childVMListItems"),$e.struct(this,"propertyListItems"),xn(this),ht(()=>{this.expand()})}get childVMListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return t?.parentViewModel&&t.parentViewModel===this.data}).map(e=>new ys(this.devtools,e,this.allVms,this))}get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n,r;return e.segments[1]?(n=this.searchData.id===t,r=this.searchData.name===t):(n=this.searchData.id.startsWith(t),r=this.searchData.name.startsWith(t)),r||n}get propertyListItems(){let e=gs(this.data);return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>ws.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems,...this.childVMListItems]}getVmParams(e){return"vmParams"in e?e.vmParams:null}get depth(){return this.parent&&"tree"===this.devtools.presentationMode?this.parent.depth+1:0}searchData;displayName}class ws extends hs{constructor(e,t,n,r,i){super(e,ws.createKey(i,t),void 0),this.property=t,this.path=n,this.order=r,this.parent=i,$e(this,"type"),$e(this,"searchData"),$e(this,"propertyClosingTag"),$e(this,"dataType"),$e(this,"stringifiedDataType"),$e(this,"extraContent"),We.ref(this,"failedStringify"),xn(this)}get data(){return this.property&&this.parent.data[this.property]}get dataType(){return typeof this.data}get stringifiedDataType(){return Object.prototype.toString.call(this.data)}get type(){return Array.isArray(this.data)?"array":gi.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":gi.isFunction(this.data)?"function":gi.isObject(this.data)?"object":this.stringifiedDataType.startsWith("[object ")&&this.data&&"object"==typeof this.data&&"constructor"in this.data?"instance":"primitive"}get children(){let e=[];if("array"===this.type)e=Object.keys(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this)),e.push(ws.create(this.devtools,"length",`${this.path}.length`,e.length,this));else if("function"===this.type)e=Object.keys(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this));else if("instance"===this.type||"object"===this.type)return gs(this.data).map((e,t)=>ws.create(this.devtools,e,`${this.path}.${e}`,t,this));return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>{const n=String(e.property),r=String(t.property);return"asc"===this.devtools.sortPropertiesBy?n.localeCompare(r):r.localeCompare(n)})),e}get isFitted(){const{searchEngine:e}=this.devtools;return!e.isActive||!this.property||e.segments.some(e=>e.startsWith(this.property))}get extraContent(){if(this.isExpanded)return null;if(this.parent.isExpanded){if(this.parent instanceof ys)return",";if(this.parent instanceof ws)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new bs(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new bs(this.devtools,`${this.key}/closing-tag`,"}",this.depth);default:return null}}get expandedChildren(){if(!this.isExpanded||!this.isExpandable)return[];const e=[];let t=0;const n=this.children;for(;;){const r=n[t++];if(!r)break;e.push(r,...r.expandedChildren)}return this.propertyClosingTag&&e.push(this.propertyClosingTag),e}get depth(){return this.parent.depth+1}get searchData(){return{property:this.property?.toLowerCase()||""}}failedStringify=!1;get isCopiable(){return"instance"!==this.type&&!this.failedStringify}get stringifiedData(){switch(this.type){case"object":case"array":try{return JSON.stringify(this.data,null,2)}catch(e){return Gt(()=>{this.failedStringify=!0}),super.stringifiedData}default:switch(this.dataType){case"symbol":return`Symbol(${Symbol.keyFor(this.data)||""})`;case"string":return`"${super.stringifiedData}"`}return super.stringifiedData}}get operations(){return this.isCopiable?[{title:"Copy",icon:Pl,action:()=>navigator.clipboard.writeText(this.stringifiedData)}]:[]}static createKey(e,t){return`${e.key}-${t}`}static create(e,t,n,r,i){const o=i.cache??e.anyCache,a=`${ws.createKey(i,t)}/list-item`;let l=o.get(a);return l||(l=new ws(e,t,n,r,i),o.set(a,l)),l}}class _s extends hs{get isFitted(){const{searchEngine:e}=this.devtools;if(!e.isActive)return!0;const t=e.segments[0];let n;return n=e.segments[1]?this.searchData.name===t:this.searchData.name.startsWith(t),n}get propertyListItems(){let e=Object.keys(this.data||{});return"none"!==this.devtools.sortPropertiesBy&&(e=e.sort((e,t)=>"asc"===this.devtools.sortPropertiesBy?e.localeCompare(t):t.localeCompare(e))),e.map((e,t)=>ws.create(this.devtools,e,e,t,this))}get children(){return[...this.propertyListItems]}get depth(){return 0}searchData;displayName;constructor(e,t){const n="Extras";super(e,`extra$$$-${n}-`,t,void 0,new Map),this.displayName=n,this.searchData={name:n.toLowerCase().trim()},$e.struct(this,"propertyListItems"),xn(this),ht(()=>{this.expand()})}}const xs="active_6QS-2",ks=({value:e,options:t,className:n,onUpdate:r})=>{const i=[];let o;return t.forEach((n,a)=>{const{icon:l,value:s}=n,u=e===s;u&&(o=a),i.push(d.jsx("div",{className:kl("option_a5IcR",{[xs]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].value)},children:d.jsx(l,{})},a))}),d.jsxs("button",{className:kl("iconToggleButton_R48wm",n),children:[d.jsx("div",{className:"activePosition_IXsRn",style:{"--index":o}}),i]})},Ss="treeItemHeader_9gR6Q",Es="treeItemLabel_eiMgP",Cs="treeItem_sRXPA",Os={expandButton:"expandButton_B24E3",expanded:"expanded_8-pD6",disabled:"disabled_MBq1Q",vmContent:"vmContent_TIK57",vmContentHeader:"vmContentHeader_M1JNM",vmContentHeaderLogo:"vmContentHeaderLogo_FRJDO",vmContentHeaderTitle:"vmContentHeaderTitle_lYmde",vmContentHeaderTitleText:"vmContentHeaderTitleText_RlIFH",vmContentControlPanel:"vmContentControlPanel_CgUN9",vmContentInput:"vmContentInput_29GM1",vmContentControlPanelActions:"vmContentControlPanelActions_lONbA",filled:"filled_6JZa0",vmContentVirtualized:"vmContentVirtualized_lia62",gradientBlur:"gradientBlur_-y-re"},Ts=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:i})=>d.jsx("span",{onClick:n,className:kl(Os.expandButton,{[Os.expandable]:e,[Os.expanded]:t,[Os.disabled]:r}),children:(e||i)&&d.jsx(Nl,{})}),As=qr(({item:e})=>d.jsx("div",{className:kl(Cs,"extraTreeItem_z3KA1"),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:d.jsxs("header",{className:Ss,children:[d.jsx(Ts,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.isExpandable,expanded:e.isExpanded}),d.jsx("label",{className:Es,title:e.displayName,children:e.displayName})]})})),Ms={property:"property_sD8FG",expandable:"expandable_np03F",instance:"instance_jv3IW",primitive:"primitive_v6LAV",boolean:"boolean_Z6znK",number:"number_U9H45",object:"object_bHf4I",bigint:"bigint_HkgX8",symbol:"symbol_oKSwT",undefined:"undefined_6CapW",null:"null_lugoL",string:"string_87vm1",propertyName:"propertyName_KicXG",propertyMeta:"propertyMeta_Ia9ce",propertyValue:"propertyValue_fYO2g",propertyOperations:"propertyOperations_fT6Ez"},Ns=qr(({item:e})=>d.jsx("div",{className:kl(Ms.property,Ms.primitive),style:{"--level":e.depth},"data-fitted":e.isFitted,title:e.stringifiedData,"data-depth":e.depthLine,children:e.content})),Ps=qr(({item:e})=>d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:e.isExpanded?"[":e.isExpandable?"[...]":"[]"})]})),Ls=qr(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),`(${t.join(", ")})`]})}),Rs=qr(({item:e})=>{const t=e.data.constructor.name;return d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:`${t}`}),e.isExpanded&&d.jsxs(d.Fragment,{children:[" ","{"]})]})}),zs=qr(({item:e})=>d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:e.isExpanded?"{":e.isExpandable?"{...}":"{}"})]})),Is=qr(({item:e})=>d.jsxs(d.Fragment,{children:[void 0===e.property?null:d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ms.propertyName,children:e.property}),": "]}),d.jsx("span",{className:Ms.propertyValue,children:e.stringifiedData})]})),js=qr(e=>{const{item:t}=e;let n=null;switch(e.item.type){case"array":n=d.jsx(Ps,{...e});break;case"function":n=d.jsx(Ls,{...e});break;case"instance":n=d.jsx(Rs,{...e});break;case"object":n=d.jsx(zs,{...e});break;case"primitive":n=d.jsx(Is,{...e})}return d.jsxs("div",{className:kl(Ms.property,Ms[t.type],Ms[t.dataType],{[Ms.null]:null===t.data,[Ms.expandable]:t.isExpandable,[Ms.expanded]:t.isExpanded}),style:{"--level":t.depth,"--order":t.order},"data-fitted":t.isFitted,title:t.stringifiedData,onClick:e=>t.devtools.handlePropertyClick(t,e),"data-depth":t.depthLine,children:[n,t.extraContent,t.operations.length>0&&d.jsx("div",{className:Ms.propertyOperations,children:t.operations.map(e=>d.jsx("button",{title:e.title,className:Ms.propertyOperation,onClick:t=>{t.stopPropagation(),e.action()},children:d.jsx(e.icon,{})},e.title))})]})}),Ds=qr(({item:e})=>d.jsx("div",{className:kl(Cs,"vmTreeItem_t-7jc"),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:d.jsxs("header",{className:Ss,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[d.jsx(Ts,{showIconAnyway:"tree"===e.devtools.presentationMode,expandable:e.devtools.isExpandable(e),expanded:e.isExpanded}),d.jsx("label",{className:Es,title:e.displayName,children:e.displayName}),d.jsx("span",{className:"treeItemMetaText_cmfX0",title:e.data.id,children:e.data.id})]})})),Vs=qr(({className:e,headerContent:t,...n})=>{const r=Lo();return d.jsxs("div",{...n,className:kl(Os.vmContent,e),ref:r.contentRef,children:[d.jsxs("header",{className:Os.vmContentHeader,children:[d.jsx("div",{className:Os.gradientBlur}),d.jsxs("div",{className:Os.vmContentHeaderTitle,children:[d.jsx("img",{className:Os.vmContentHeaderLogo,src:r.devtools.logoUrl}),d.jsx("span",{className:Os.vmContentHeaderTitleText,children:"mobx-view-model devtools"}),t]}),d.jsxs("div",{className:Os.vmContentControlPanel,children:[d.jsxs("div",{className:Os.vmContentControlPanelActions,children:[d.jsx(ks,{onUpdate:r.devtools.handleChangePresentationMode,options:[{value:"tree",icon:Ll},{value:"list",icon:Rl}],value:r.devtools.presentationMode}),d.jsx(ks,{onUpdate:r.devtools.handleSortPropertiesChange,options:[{value:"none",icon:Al},{value:"asc",icon:Tl},{value:"desc",icon:Ml}],value:r.devtools.sortPropertiesBy})]}),d.jsxs("div",{className:`${Os.vmContentInput} ${r.devtools.searchEngine.isActive&&Os.filled}`,children:[d.jsx(zl,{}),d.jsx("input",{ref:r.devtools.searchEngine.searchInputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name"}),d.jsx("button",{onClick:r.devtools.searchEngine.resetSearch,children:d.jsx(Il,{})})]})]})]}),d.jsx("div",{className:Os.vmContentVirtualized,children:d.jsx(ps,{ref:r.devtools.scrollListRef,itemSize:22,data:r.devtools.listItems,keepMounted:[0],children:e=>e instanceof ys?d.jsx(Ds,{item:e},e.key):e instanceof _s?d.jsx(As,{item:e},e.key):e instanceof ws?d.jsx(js,{item:e},e.key):e instanceof bs?d.jsx(Ns,{item:e},e.key):d.jsx(d.Fragment,{})})})]})}),Fs=qr(()=>{const e=Lo();return d.jsx(Vs,{className:"vmPopup_0hkGL","data-position":e.devtools.position,headerContent:d.jsx("button",{className:"closePopupButton_igv9j",onClick:e.devtools.hidePopup,children:d.jsx(Il,{})})})});var Bs=function(){return Bs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Bs.apply(this,arguments)};function Us(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Ws(e){return e&&e.ownerDocument?e.ownerDocument:document}var Hs=function(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[r]=!0;break;case"false":e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e},{})};function Ks(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function Gs(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function $s(e){return".".concat(e.split(" ").join("."))}var qs=!("undefined"==typeof window||!window.document||!window.document.createElement),Ys=Object.freeze({__proto__:null,addClasses:Ks,canUseDOM:qs,classNamesToQuery:$s,getElementDocument:Ws,getElementWindow:Us,getOptions:Hs,removeClasses:Gs}),Xs=null,Qs=null;function Js(){if(null===Xs){if("undefined"==typeof document)return Xs=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Xs=n}return Xs}qs&&window.addEventListener("resize",function(){Qs!==window.devicePixelRatio&&(Qs=window.devicePixelRatio,Xs=null)});var Zs=Us,eu=Ws,tu=Hs,nu=Ks,ru=Gs,iu=$s,ou=function(){function e(t,n){void 0===n&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=Zs(r.el);r.scrollXTicking||(e.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(e.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,nu(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){ru(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(nu(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){ru(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,n;r.axis.x.track.el&&r.axis.y.track.el&&r.axis.x.scrollbar.el&&r.axis.y.scrollbar.el&&(r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,"x"):r.onTrackClick(e,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,"y"):r.onTrackClick(e,"y")))))},this.drag=function(t){var n,i,o,a,l,s,u,c,d,f,p;if(r.draggedAxis&&r.contentWrapperEl){var h=r.axis[r.draggedAxis].track,m=null!==(i=null===(n=h.rect)||void 0===n?void 0:n[r.axis[r.draggedAxis].sizeAttr])&&void 0!==i?i:0,v=r.axis[r.draggedAxis].scrollbar,g=null!==(a=null===(o=r.contentWrapperEl)||void 0===o?void 0:o[r.axis[r.draggedAxis].scrollSizeAttr])&&void 0!==a?a:0,b=parseInt(null!==(s=null===(l=r.elStyles)||void 0===l?void 0:l[r.axis[r.draggedAxis].sizeAttr])&&void 0!==s?s:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===r.draggedAxis?t.pageY:t.pageX)-(null!==(c=null===(u=h.rect)||void 0===u?void 0:u[r.axis[r.draggedAxis].offsetAttr])&&void 0!==c?c:0)-r.axis[r.draggedAxis].dragOffset,w=(y="x"===r.draggedAxis&&r.isRtl?(null!==(f=null===(d=h.rect)||void 0===d?void 0:d[r.axis[r.draggedAxis].sizeAttr])&&void 0!==f?f:0)-v.size-y:y)/(m-v.size)*(g-b);"x"===r.draggedAxis&&r.isRtl&&(w=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-w:w),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){r.isDragging=!1;var t=eu(r.el),n=Zs(r.el);e.preventDefault(),e.stopPropagation(),ru(r.el,r.classNames.dragging),r.onStopScrolling(),t.removeEventListener("mousemove",r.drag,!0),t.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout(function(){t.removeEventListener("click",r.preventClick,!0),t.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=Bs(Bs({},e.defaultOptions),n),this.classNames=Bs(Bs({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return na(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),da(e,64,{leading:r,maxWait:64,trailing:i})}(this._onMouseMove),this.onWindowResize=da(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=da(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=da(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=null==n?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var i=e.getOffset(n),o=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Js()}catch(e){return Js()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=eu(e),r=Zs(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){qs&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(iu(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(iu(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(iu(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(iu(this.classNames.offset)),this.maskEl=this.el.querySelector(iu(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,iu(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(iu(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(iu(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(iu(this.classNames.track)).concat(iu(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(iu(this.classNames.track)).concat(iu(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(iu(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(iu(this.classNames.scrollbar)))||null,this.options.autoHide||(nu(this.axis.x.scrollbar.el,this.classNames.visible),nu(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=Zs(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var r=!1,i=n.ResizeObserver||ResizeObserver;this.resizeObserver=new i(function(){r&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new n.MutationObserver(function(){n.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=Zs(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||t>0,i=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,s=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=r?"".concat(t||s,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&s>t,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&s>i-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(e){var t,n;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var r,i=this.contentEl[this.axis[e].scrollSizeAttr],o=null!==(n=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==n?n:0,a=o/i;return r=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(r=Math.min(r,this.options.scrollbarMaxSize)),r},e.prototype.positionScrollbar=function(t){var n,r,i;void 0===t&&(t="y");var o=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&o.el&&this.elStyles){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=(null===(n=this.axis[t].track.el)||void 0===n?void 0:n[this.axis[t].offsetSizeAttr])||0,s=parseInt(this.elStyles[this.axis[t].sizeAttr],10),u=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];u="x"===t&&this.isRtl&&(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollOriginAtZero)?-u:u,"x"===t&&this.isRtl&&(u=(null===(i=e.getRtlHelpers())||void 0===i?void 0:i.isScrollingToNegative)?u:-u);var c=u/(a-s),d=~~((l-o.size)*c);d="x"===t&&this.isRtl?-d+(l-o.size):d,o.el.style.transform="x"===t?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;t&&n&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(nu(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.isDragging||this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(ru(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),nu(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?nu(t.scrollbar.el,this.classNames.hover):ru(t.scrollbar.el,this.classNames.hover)):(ru(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),ru(this.axis[e].track.el,this.classNames.hover),ru(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var n;void 0===t&&(t="y"),this.isDragging=!0;var r=eu(this.el),i=Zs(this.el),o=this.axis[t].scrollbar,a="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=a-((null===(n=o.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])||0),this.draggedAxis=t,nu(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(i.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var n,r,i,o,a=this;void 0===t&&(t="y");var l=this.axis[t];if(this.options.clickOnTrack&&l.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var s=Zs(this.el);this.axis[t].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var u=null!==(r=null===(n=this.axis[t].scrollbar.rect)||void 0===n?void 0:n[this.axis[t].offsetAttr])&&void 0!==r?r:0,c=parseInt(null!==(o=null===(i=this.elStyles)||void 0===i?void 0:i[this.axis[t].sizeAttr])&&void 0!==o?o:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],f=("y"===t?this.mouseY-u:this.mouseX-u)<0?-1:1,p=-1===f?d-c:d+c,h=function(){a.contentWrapperEl&&(-1===f?d>p&&(d-=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,s.requestAnimationFrame(h)):d<p&&(d+=40,a.contentWrapperEl[a.axis[t].scrollOffsetAttr]=d,s.requestAnimationFrame(h)))};h()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=Zs(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=tu,e.helpers=Ys,e}(),au=function(e,t){return(au=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},lu=ou.helpers,su=lu.getOptions,uu=lu.addClasses,cu=lu.canUseDOM,du=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return t.instances.set(n[0],i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}au(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){"init"===e.getAttribute("data-simplebar")||t.instances.has(e)||new t(e,su(e.attributes))})},t.removeObserver=function(){var e;null===(e=t.globalObserver)||void 0===e||e.disconnect()},t.prototype.initDOM=function(){var e,t,n,r=this;if(!Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(r.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),uu(this.wrapperEl,this.classNames.wrapper),uu(this.contentWrapperEl,this.classNames.contentWrapper),uu(this.offsetEl,this.classNames.offset),uu(this.maskEl,this.classNames.mask),uu(this.contentEl,this.classNames.contentEl),uu(this.placeholderEl,this.classNames.placeholder),uu(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),uu(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),null===(e=this.contentWrapperEl)||void 0===e||e.setAttribute("tabindex",this.options.tabIndex.toString()),null===(t=this.contentWrapperEl)||void 0===t||t.setAttribute("role","region"),null===(n=this.contentWrapperEl)||void 0===n||n.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var i=document.createElement("div"),o=document.createElement("div");uu(i,this.classNames.track),uu(o,this.classNames.scrollbar),i.appendChild(o),this.axis.x.track.el=i.cloneNode(!0),uu(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=i.cloneNode(!0),uu(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}ou.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){ou.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,su(e.attributes)):e.querySelectorAll("[data-simplebar]").forEach(function(e){"init"!==e.getAttribute("data-simplebar")&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,su(e.attributes))}))}),e.removedNodes.forEach(function(e){var n;1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount()):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){var n;!document.documentElement.contains(e)&&(null===(n=t.instances.get(e))||void 0===n||n.unMount())}))})})},t.instances=new WeakMap,t}(ou);cu&&du.initHtmlApi();const fu=zo(class extends Bo{devtools=this.payload.devtools;contentRef=bi({meta:{scrollbar:null},onSet(e){const t=new du(e);this.meta={scrollbar:t}}})},({model:e})=>d.jsx(Ro,{value:e.devtools.vmStore,children:d.jsxs(xo,{value:e,children:[d.jsx(Ol,{}),e.devtools.isPopupOpened&&"popup"===e.devtools.displayType&&d.jsx(Fs,{})]})}));class pu extends fa{constructor(e){super({actions:[{shortcuts:["Ctrl+F12"],action:()=>{e.isPopupOpened?e.hidePopup():e.showPopup()}},{shortcuts:["Escape"],action:()=>{e.hidePopup()}},{shortcuts:["Ctrl+ArrowLeft"],action:()=>{e.collapseAllVms()}},{shortcuts:["Ctrl+ArrowRight"],action:()=>{e.expandAllVMs()}},{shortcuts:["Tab"],action:t=>{e.searchEngine.searchInputRef.meta.focused&&t.preventDefault()}},{shortcuts:["Ctrl+ArrowDown","PageDown"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset+400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}},{shortcuts:["Ctrl+ArrowUp","PageUp"],action:t=>{e.scrollListRef.current&&(e.scrollListRef.current.scrollTo(e.scrollListRef.current.scrollOffset-400),e.searchEngine.searchInputRef.meta.focused&&(t.stopPropagation(),t.preventDefault()))}}]})}}class hu extends Fo{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}class mu{searchInputRef;fittedVmIds=new Set;rawSearchText;formattedSearchText;searchTextUpdateTimeout;segments=[];get isActive(){return!!this.formattedSearchText}setSearchText(e){if(this.rawSearchText=e,this.formattedSearchText=e.toLowerCase().trim(),this.segments.length=0,!this.formattedSearchText)return;let t=!0;for(let n=0;n<e.length;){const r=e[n];if(0===n&&"."===r){n++;continue}if(" "===r){n++;continue}if("."===r){t=!0,n++;continue}t&&(this.segments.push(""),t=!1);const i=this.segments.length-1;this.segments[i]+=r.toLowerCase(),n++}}resetSearch=()=>{clearTimeout(this.searchTextUpdateTimeout),this.setSearchText(""),this.searchInputRef.current&&(this.searchInputRef.current.value="")};constructor(){this.setSearchText(""),this.searchInputRef=(e=>{const t=()=>{Gt(()=>{n.meta.focused=document.activeElement===n.current})},n=bi({meta:{focused:!1},onSet:(n,r)=>{t(),n.addEventListener("focus",t,!0),n.addEventListener("blur",t,!0),e?.onSet?.(n,r)},onUnset:n=>{e?.onUnset?.(n),n?.removeEventListener("focus",t,!0),n?.removeEventListener("blur",t,!0)}});return n})({onSet:e=>{this.rawSearchText&&e.value!==this.rawSearchText&&(e.value=this.rawSearchText),e.addEventListener("input",()=>{clearTimeout(this.searchTextUpdateTimeout),this.searchTextUpdateTimeout=setTimeout(()=>{this.setSearchText(e.value)},100)})}}),xn(this,{rawSearchText:We.ref,formattedSearchText:We.ref,isActive:$e,segments:We,setSearchText:Ht.bound})}}class vu{constructor(e){this.config=e,this.isPopupOpened=!!this.config.defaultIsOpened,this.displayType="popup",this.position=this.storage.get({key:"position"})??this.config.position??"top-right",this.vmStore=new hu,this.setExtras(this.config.extras),this.setStore(this.config.viewModels),this.presentationMode=this.storage.get({key:"presentationMode"})??"tree",this.sortPropertiesBy=this.storage.get({key:"sortPropertiesBy"})??"none",this.expandedVmItemsPaths=We.set(),this.logoUrl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAACTFBMVEUvEQFCGQIuEQFAGALpZhjoZhlgJANAGALrZhiAMAR1KwNKHAJXIAM4FQFsKgWUNgL09PYvEQCgPARoJwNRHgL////U0dCoSRGSPgzFTQljKwl5MggjDQHm5ORWsU2JNATWWBC4SQxsMQysQAX6+vra2NbMUQtRJQxWLgu/SAXf3t62tLOyr6zCbTecSxmyQQLIxcDAvbqbmZaVeWeKc2WgRBB/OhCMOQu4QwPt7e/DuLCYz5NoOB2tqqdsaGVhW1NagUJtTjtkYCe8XyaRRRiHRRTi29XKyMfr0cG2p5yag3JfVElMR0GfcjBVMx/KWRnoYxXdXhRzQBB0OA3n6OrOzM2npKPLq5frs5TUpo2umounkHp3cm6mgWqBbGB8aVZzYVBXnktWT0eYY0BYZzOGazGmWi3IYid1QSOxTxZYSBQ6IBFFJA6lPAP/8uvR2s3qybbSwLW8q6G3nYigm4B8fHvxonW9kXWSjGhrgl5vZlpZqk+ZdE5cjE16fkzuh0q9eUetcUKAWEBpdj90bjg/PDfteDRZdTGwaS6sYCljVCl2TCflbCJZYSKlVSJfRh/dZB2OWR1nRhFfNRHO48zo1crjwamuv5SfqpSXtpGro4bEm4SMhoGFu3yQlHqFf3l5tHKtjHCFe2ageWLSimBnYFuue1hYlk1uikCCYT5XijqRWjdNPTLRcS5VVCC7WB3WYBtsTRYmHBNYPxLA3bzwv6LVsZ+4tJyQxYqHqHvVlnJzn2uegF39l1t1oEiKjzyAdjpeRDShaClCLR/JXT/FAAAABnRSTlP7uLgrtivDuZKUAAAElElEQVQ4yyWURXsbMRRFpyRF0vCM2a6ZmWPXYWqwTVKGMDRNUmZmZmZmZub+scrp3bzN+e65q8dMmQwBwqwKnLZTNrsVDW/Y8P3AgRJPKcK8ykHIMZOmMJMgAYAlimCwGQRsHdHpayOv2tsN4wJmIZTMEiSTGMgRQoCC/B5ZAYIu/fylIthsBlkAHCeZKaNChuE4yKkA2w2IAKtdhyNpWY76ZUwkFZkIUFmeNTPU6vUadSMOOg2htNWURRhRkwQBr9OlHXQNYTipbVHZ6tX5JiPGKgsgUBQWUgckMDX/woIFC+uwzEhcWz43J6ANVgEC+dpIrcJyEp8+MeR4k4hpz696PyTIdBMZ+jAv0RBqGXPUZkw1YT0AEtCFw/3NiVgiVbWMR5hCJnnZs5uB+PoeB4pk9OFaoM9adTVDXeXzGm7+9fI8AIwEsiwBV12BYIWZmCL6DIBGozGt8+6vCLmbOp8e0vF0uMKzrH7hnHii3GyGpgjiOcLr9QDubwlaFj3d9oD6GcIqQM1enVO25FobqD1x2IQIp/KAjPUtabCs7e/fHR7hGQAUDqKN4rz9fb/XrJrf76gzcuqexsY91xJaS2Pq7oNdNVaGZ4kElaWituXNaF50b3p8uoN451m02y6VaS1rkksXbwybGMJBSMBSSy5YPtqUs6zbse816HHn8jsuB91zGpNNi2/vyjAsYGmSWm080VblFj9WV589eylnSR7ZnHDnGrvvbNq2K8JgwALCJhtCFVsKjnwgftLnexsKxE4uHyiPB9ZV79s3uHuYwbSKA3e1oeYWn3GxO17lW34kblnke7F5SVCb8lUf6aibxSgYEAhS2mDfs1GuKqa98WLghltb5Tv+dX1obtdY5YBD384gpAIWbmkI9TR7Ve+awMrNe1eK1Hbw1voQbTr46PSrEsaOAVak+7F8d/OYz5sMiJc/uzQXB45Xfpo719L0tvrn85ISxmYFkFe7YmXdPaNecHSueO6cRrzV++TJDFF0rVt+pvVYEbIDs0RS2rKKLW2s0bgoJ7o077ZunT59hkajuXKm82XJBKRAs5R0l/VVnOWNxscB0eW63jt9AnJd6ch6JiCnwkJzyhJqqSjwDkdHXnSt3P7wPyQuNgkTkB1jOryrPth8v+Do7Oz8Vl+/6eD2CZ1LXKsXxtsp5EQAQph0B8vLl2FTpq7u6NEzxysfFiHRchsjq392CQN4IJkLa93xJd0Zkykbqct0vK6urOwtNlmWYgVFKQQh6yvsnl8fu0OLsD4dOXF6cO/eyu2910WNuGDnvfApqlPUwoYFq2bWr97D026driZ8uHVw8NeORz8uipoVK1wrdhZ1oHDvy8KF8zfqMUZpnW54uKbm8KFDf1pbWy+cn0lThFSWEG/WaOQF2SrbnbJ9Fo3H4xnJoKzDaNJTG90kQcIKCAAcLaVxGuz0B/k9HpssOJ0I20uKEGOGHCsIPAAoGnU6x52lfkPU7zfMNsjRUsFqmIAmmzmJIISBCpAgO6OCMC7T47H5BdqP2ikzlb5DxswBjAAhvFX2+2UrRgIyHDtwzGMoFexFZto/HbAJBdFwHOYAAAAASUVORK5CYII=",this.scrollContentRef=bi(),this.scrollListRef=bi(),this.keyboardHandler=new pu(this),this.searchEngine=new mu,xn(this,{position:We.ref,isPopupOpened:We.ref,projectVmStore:We.ref,presentationMode:We.ref,sortPropertiesBy:We.ref,extras:We.ref,setStore:Ht.bound,setExtras:Ht.bound,showPopup:Ht.bound,hidePopup:Ht.bound,handleChangePresentationMode:Ht.bound,handleSortPropertiesChange:Ht.bound,handleExpandVmPropertyClick:Ht.bound,expandAllVMs:Ht.bound,collapseAllVms:Ht.bound,handleExpandExtraPropertyClick:Ht.bound,isActive:$e,rootVmListItems:$e.struct,extraListItems:$e.struct}),this.render()}isPopupOpened;displayType;vmStore;projectVmStore;extras;expandedVmItemsPaths;logoUrl;scrollContentRef;keyboardHandler;searchEngine;presentationMode;sortPropertiesBy;position;scrollListRef;storage=new pa({namespace:"mobx-view-model-devtools",type:"session"});anyCache=We.map();autoscrollTimeout;get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!Bo.isPrototypeOf(e.constructor))}get rootVmListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new ys(this,e,this.allVms))}get extraListItems(){return this.extras?[new _s(this,this.extras)]:[]}get listItems(){return[...this.rootVmListItems.flatMap(e=>e.expandedChildrenWithSelf),...this.extraListItems.flatMap(e=>e.expandedChildrenWithSelf)]}get isActive(){return!!this.projectVmStore||Object.keys(this.extras||{}).length>0}get containerId(){return this.config.containerId??"view-model-devtools"}isExpanded(e){return e.isExpanded||this.searchEngine.isActive}checkIsExtraPathExpanded(e){const t=`__EXTRA__%%%${e}`;return this.expandedVmItemsPaths.has(t)}handleExpandVmPropertyClick(e,t){const n=`${e.key}%%%${t}`;this.expandedVmItemsPaths.has(n)?this.expandedVmItemsPaths.delete(n):this.expandedVmItemsPaths.add(n)}handlePropertyClick(e,t){e.toggleExpand()}handleExpandExtraPropertyClick(e){const t=`__EXTRA__%%%${e}`;this.expandedVmItemsPaths.has(t)?this.expandedVmItemsPaths.delete(t):this.expandedVmItemsPaths.add(t)}handleVmItemHeaderClick(e){e.toggleExpand()}isExpandable(e){return e.isExpandable&&"list"!==this.presentationMode}getVmParams(e){return"vmParams"in e?e.vmParams:null}setStore(e){this.projectVmStore=e}setExtras(e){this.extras=e}handleChangePresentationMode=e=>{this.presentationMode="list"===e?"list":"tree",this.expandedVmItemsPaths.clear()};handleSortPropertiesChange=e=>{this.sortPropertiesBy=e};expandAllVMs(){}collapseAllVms(){}showPopup(){this.isPopupOpened=!0,this.expandAllVMs()}hidePopup(){this.isPopupOpened=!1}init(){this.isInitialized||(this.isInitialized=!0,Qt(()=>this.searchEngine.formattedSearchText,()=>{clearTimeout(this.autoscrollTimeout),this.autoscrollTimeout=setTimeout(()=>{if(!this.isActive)return void this.scrollListRef.current?.scrollTo(0);let e=0,t=0;document.querySelectorAll(`#${this.containerId} [data-fitted]`).forEach((n,r)=>{"true"===n.dataset.fitted&&n.dataset.depth&&n.dataset.depth.length>=t&&(t=n.dataset.depth.length,e=this.scrollListRef.current?.getItemOffset(r)??0)}),this.scrollListRef.current?.scrollTo(e)},200)}),this.storage.syncProperty(this,"sortPropertiesBy"),this.storage.syncProperty(this,"presentationMode"),this.storage.syncProperty(this,"position"))}isInitialized=!1;render(){let e=document.querySelector(`#${this.containerId}`);e||(e=document.createElement("div"),e.className="root_Xsw1F",e.id=this.containerId,document.body?(document.body.appendChild(e),va.createRoot(e).render(o.createElement(fu,{payload:{devtools:this}}))):document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e),va.createRoot(e).render(o.createElement(fu,{payload:{devtools:this}}))})),this.init()}static _instance=null;static define(e){return vu._instance||(vu._instance=new vu(e??{})),vu._instance}static connect(e,t){const n=vu.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=vu.define();return t.setStore(e),t}static connectExtras(e){const t=vu.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:vu}),vu.define({position:"top-right",defaultIsOpened:!1});const gu=e=>{hu!==e.constructor&&vu.connect(e)};Eo.hooks.storeCreate.lastPub?.[0]&&gu(Eo.hooks.storeCreate.lastPub[0]),Eo.hooks.storeCreate.sub(gu)});