mobx-view-model-devtools 0.0.22 → 0.0.23
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 +2 -2
- package/index.cjs +2 -2
- package/index.d.ts +38 -20
- package/index.js +2997 -2900
- package/package.json +1 -1
package/auto.global.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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)}.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)}.iconToggleButton_R48wm{display:flex;align-items:center;gap:2px;position:relative;height:20px;outline:none}.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}.property_Oy4bS{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_Oy4bS.expandable_usEY-{cursor:pointer}.property_Oy4bS[data-fitted=false]{opacity:.5}.property_Oy4bS.instance_g6xOw{--value-color: rgb(190 113 195)}.property_Oy4bS.primitive_v003s.boolean_INujc,.property_Oy4bS.primitive_v003s.number_7K-jw,.property_Oy4bS.primitive_v003s.object_3K21J,.property_Oy4bS.primitive_v003s.bigint_NCBnp,.property_Oy4bS.primitive_v003s.symbol_Nk-vG{--value-color: rgb(89, 153, 205)}.property_Oy4bS.primitive_v003s.undefined_32Xx8,.property_Oy4bS.primitive_v003s.null_jbJLZ{--value-color: #499098}.primitive_v003s.string_DCKmP{--value-color: #af7249}.propertyName_Jbwvb{color:#ccc}.propertyMeta_D04Er{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_bht-2{color:var(--value-color, var(--vmd-property-meta-color));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.propertyValue_bht-2:has(+.propertyName_Jbwvb){margin-right:4px}.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}.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center}.hiearchyToggleButton_0FTG-{display:flex}.vmContentInput_29GM1{display:flex;position:relative;flex:1}.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>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% + 12px);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(4px);-webkit-backdrop-filter:blur(4px);-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%)}:root{--vmd-base-blur: 2px;--vmd-bg: #0f111cdb;--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-inactive-color: #8b8b8b;--vmd-control-border: #5b5468a6;--vmd-control-bg: transparent;--vmd-bg-transparent: #1f1c2600;--vmd-content-bg: transparent;--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}.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: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)}')),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")}},A=Object.assign,P={};function j(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||N}Object.freeze(P),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=P,this.updater=n||N}I.prototype=j.prototype;var V=z.prototype=new I;V.constructor=z,A(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=A({},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:A({},e,{value:pe}),info:A({},e,{value:he}),warn:A({},e,{value:me}),error:A({},e,{value:ve}),group:A({},e,{value:ge}),groupCollapsed:A({},e,{value:ye}),groupEnd:A({},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,Ae={},Pe=S.ReactDebugCurrentFrame;function je(e){if(e){var t=e._owner,n=Re(e.type,e._source,t?t.type:null);Pe.setExtraStackFrame(n)}else Pe.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 Ae)&&(Ae[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 A(){}A.__reactDisabledLog=!0;var P,j=g.ReactCurrentDispatcher;function M(e,t,n){if(void 0===P)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);P=r&&r[1]||""}return"\n"+P+e}var 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:A,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 A=function(){};function P(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=A),void 0===n&&(n=A);var r,o=new ue(e);return t!==A&&wn(gn,o,t,r),n!==A&&bn(o,n),o}var fe={structural:function(e,t){return Ir(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 Pn(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)?Rn(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_;P(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=Rn(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_;P(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=Rn(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=hr(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 Ae(e,t){return{annotationType_:e,options_:t,make_:Pe,extend_:je,decorate_20223_:Me}}function Pe(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=hr(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?Rn.bound:Rn).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=Ae("observable"),He=Ae("observable.ref",{enhancer:he}),$e=Ae("observable.shallow",{enhancer:function(e,t,n){return null==e||gr(e)||er(e)||ir(e)||ur(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=Ae("observable.struct",{enhancer:function(e,t){return Pn(e)&&v("observable.struct should not be used with observable values"),Ir(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):Pn(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?Nr:qn)(e,Ke(n),n.name)},map:function(e,t){var n=Be(t);return new or(e,Ke(n),n.name)},set:function(e,t){var n=Be(t);return new lr(e,Ke(n),n.name)},object:function(e,t,n){return Mr(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");ir(e)&&v("'extendObservable' should not be used on maps, use map.merge instead");D(t)||v("'extendObservable' only accepts plain objects as second argument");(Pn(t)||Pn(n))&&v("Extending an object with another observable (object) is not supported");var o=q(t);return Mr(function(){var t=hr(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)?hr({},n):function(e,t){var n,r;return T(),e=hr(e,t),null!=(r=(n=e[le]).proxy_)?r:n.proxy_=new Proxy(e,Dn)}({},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));P(e)||v("First argument to `computed` should be an expression."),P(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),P(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:Hn,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),n&&en()}},n.prepareNewValue_=function(e){if(_t(this),Ln(this)){var t=zn(this,{object:this,type:Hn,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(),Vn(this)&&Fn(this,{type:Hn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return In(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Hn,newValue:this.value_,oldValue:void 0}),Un(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 function(e,t){var n,r,o,i;void 0===t&&(t=S);P(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){var l=mn(t),u=!1;a=new Ht(s,function(){u||(u=!0,l(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}else a=new Ht(s,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(a)}null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_();return a.getDisposer_(null==(i=t)?void 0:i.signal)}(function(){var i=n.get();if(!r||t){var a=Ct();e({observableKind:"computed",debugObjectName:n.name_,type:Hn,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 At=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},Pt=!0,jt=!1,Mt=function(){var e=y();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Pt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new At).version&&(Pt=!1),Pt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new At):(setTimeout(function(){jt||v(35)},1),new At)}();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(kn(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 P(t)?lt(t.name||rn,t,e):P(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 P(e)&&!0===e.isMobxAction}Object.assign(dn,sn),cn.bound=oe(an),dn.bound=oe(ln);var hn=function(e){return e()};function mn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:hn}function vn(e,t,n){var r,o,i;void 0===n&&(n=S),P(e)&&P(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=mn(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 gn="onBO",yn="onBUO";function bn(e,t,n){return wn(yn,e,t,n)}function wn(e,t,n,r){var o=Ar(t),i=P(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 xn="always";function _n(e){!0===e.isolateGlobalState&&function(){if((Mt.pendingReactions.length||Mt.inBatch||Mt.isRunningReactions)&&v(36),jt=!0,Pt){var e=y();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Mt=new At}}();var t,n,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(Mt.useProxies=r===xn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(Mt.verifyProxies=!0),void 0!==o){var i=o===xn?xn:"observed"===o;Mt.enforceActions=i,Mt.allowStateChanges=!0!==i&&i!==xn}["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 kn(e,t){return Sn(Ar(e,t))}function Sn(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(Sn)),n}var En=0;function Cn(){this.message="FLOW_CANCELLED"}Cn.prototype=Object.create(Error.prototype);var Tn=_e("flow"),On=_e("flow.bound",{bound:!0}),Rn=Object.assign(function(e,t){if(ae(t))return Tn.decorate_20223_(e,t);if(j(t))return ie(e,t,Tn);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=++En,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(!P(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&&Nn(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(A,A),Nn(n),e(new Cn)}catch(r){e(r)}}),s};return o.isMobXFlow=!0,o},Tn);function Nn(e){P(e.cancel)&&e.cancel()}function An(e){return!0===(null==e?void 0:e.isMobXFlow)}function Pn(e){return 1!==arguments.length&&v("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e){return!!e&&(gr(e)||!!e[le]||ce(e)||Gt(e)||yt(e))}(e)}function jn(e,t){void 0===t&&(t=void 0),zt();try{return e.apply(t)}finally{Vt()}}function Mn(e){return e[le]}Rn.bound=oe(On);var Dn={has:function(e,t){return Mt.trackingDerivation&&O("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),Mn(e).has_(t)},get:function(e,t){return Mn(e).get_(t)},set:function(e,t,n){var r;return!!j(t)&&(Mn(e).values_.has(t)||O("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(r=Mn(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=Mn(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=Mn(e).defineProperty_(t,n))||r},ownKeys:function(e){return Mt.trackingDerivation&&O("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),Mn(e).ownKeys_()},preventExtensions:function(e){v(13)}};function Ln(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function In(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 zn(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 Vn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Un(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 Fn(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 Bn(e,t,n){return Mr(function(){var r=hr(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 Wn="splice",Hn="update",$n={get:function(e,t){var n=e[le];return t===le?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?Y(Kn,t)?Kn[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)}},Yn=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 In(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}),Un(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&&Rr(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),Ln(this)){var i=zn(this,{object:this.proxy_,type:Wn,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=Vn(this),i=o||r?{observableKind:"array",object:this.proxy_,type:Hn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;r&&Jt(i),this.atom_.reportChanged(),o&&Fn(this,i),r&&en()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&Xt(),o=Vn(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Wn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&Jt(i),this.atom_.reportChanged(),o&&Fn(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(Ln(this)){var o=zn(this,{type:Hn,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 qn(e,t,n,r){return void 0===n&&(n="ObservableArray@"+R()),void 0===r&&(r=!1),T(),Mr(function(){var o=new Yn(n,t,r,!1);z(o.values_,le,o);var i=new Proxy(o.values_,$n);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i})}var Kn={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 Gn(e,t){"function"==typeof Array.prototype[e]&&(Kn[e]=t(e))}function Xn(e){return function(){var t=this[le];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Qn(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 Jn(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)}}Gn("at",Xn),Gn("concat",Xn),Gn("flat",Xn),Gn("includes",Xn),Gn("indexOf",Xn),Gn("join",Xn),Gn("lastIndexOf",Xn),Gn("slice",Xn),Gn("toString",Xn),Gn("toLocaleString",Xn),Gn("toSorted",Xn),Gn("toSpliced",Xn),Gn("with",Xn),Gn("every",Qn),Gn("filter",Qn),Gn("find",Qn),Gn("findIndex",Qn),Gn("findLast",Qn),Gn("findLastIndex",Qn),Gn("flatMap",Qn),Gn("forEach",Qn),Gn("map",Qn),Gn("some",Qn),Gn("toReversed",Qn),Gn("reduce",Jn),Gn("reduceRight",Jn);var Zn=V("ObservableArrayAdministration",Yn);function er(e){return M(e)&&Zn(e[le])}var tr={},nr="add",rr="delete",or=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]=tr,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,P(Map)||v(18),Mr(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),bn(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Ln(this)){var r=zn(this,{type:n?Hn:nr,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_),Ln(this))&&!zn(this,{type:rr,object:this,name:e}))return!1;if(this.has_(e)){var n=Xt(),r=Vn(this),o=r||n?{observableKind:"map",debugObjectName:this.name_,type:rr,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return n&&Jt(o),jn(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&&Fn(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=Vn(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:Hn,object:this,oldValue:n.value_,name:e,newValue:t}:null;r&&Jt(i),n.setNewValue_(t),o&&Fn(this,i),r&&en()}},t.addValue_=function(e,t){var n=this;_t(this.keysAtom_),jn(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=Vn(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:nr,object:this,name:e,newValue:t}:null;r&&Jt(i),o&&Fn(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 ar({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 ar({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 ir(e)&&(e=new Map(e)),jn(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;jn(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 jn(function(){for(var n,r=function(e){if(U(e)||ir(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."),Un(this,e)},t.intercept_=function(e){return In(this,e)},Q(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),ir=V("ObservableMap",or);function ar(e){return e[Symbol.toStringTag]="MapIterator",Fr(e)}var sr={},lr=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]=sr,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,P(Set)||v(22),this.enhancer_=function(e,r){return t(e,r,n)},Mr(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;jn(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_),Ln(this)){var n=zn(this,{type:nr,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){jn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=Xt(),o=Vn(this),i=o||r?{observableKind:"set",debugObjectName:this.name_,type:nr,object:this,newValue:e}:null;r&&Jt(i),o&&Fn(this,i),r&&en()}return this},t.delete=function(e){var t=this;if(Ln(this)&&!zn(this,{type:rr,object:this,oldValue:e}))return!1;if(this.has(e)){var n=Xt(),r=Vn(this),o=r||n?{observableKind:"set",debugObjectName:this.name_,type:rr,object:this,oldValue:e}:null;return n&&Jt(o),jn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&Fn(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 cr({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 cr({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)&&!ur(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return F(e)&&!ur(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)&&!ur(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)&&!ur(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return ur(e)&&(e=new Set(e)),jn(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."),Un(this,e)},t.intercept_=function(e){return In(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"}}])}(),ur=V("ObservableSet",lr);function cr(e){return e[Symbol.toStringTag]="SetIterator",Fr(e)}var dr=Object.create(null),fr="remove",pr=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_),Wr(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(Ln(this)){var r=zn(this,{type:Hn,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=Vn(this),i=Xt(),a=o||i?{type:Hn,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&&Fn(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(br(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)}yr(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);br(this,n,e);var o=n.extend_(this,e,t,r);return o&&yr(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(Ln(this)){var o=zn(this,{object:this.proxy_||this.target_,name:e,type:nr,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(Ln(this)){var i=zn(this,{object:this.proxy_||this.target_,name:e,type:nr,newValue:t});if(!i)return null;t=i.newValue}var a=vr(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(Ln(this))if(!zn(this,{object:this.proxy_||this.target_,name:e,type:nr,newValue:void 0}))return null;t.name||(t.name=this.name_+"."+e.toString()),t.context=this.proxy_||this.target_;var o=vr(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(Ln(this)&&!zn(this,{object:this.proxy_||this.target_,name:e,type:fr}))return null;try{var n;zt();var r,o=Vn(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:fr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&Jt(l),o&&Fn(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."),Un(this,e)},t.intercept_=function(e){return In(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=Vn(this),o=Xt();if(r||o){var i=r||o?{type:nr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&Jt(i),r&&Fn(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 hr(e,t){var n;if(t&&gr(e)&&v("Options can't be provided for already observable objects."),Y(e,le))return Pr(e)instanceof pr||v("Cannot convert '"+jr(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 pr(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 mr=V("ObservableObjectAdministration",pr);function vr(e){return dr[e]||(dr[e]={get:function(){return this[le].getObservablePropValue_(e)},set:function(t){return this[le].setObservablePropValue_(e,t)}})}function gr(e){return!!M(e)&&mr(e[le])}function yr(e,t,n){var r;e.appliedAnnotations_[n]=t,null==(r=e.target_[re])||delete r[n]}function br(e,t,n){if(Wr(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 wr,xr,_r=Tr(0),kr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Sr=0,Er=function(){};wr=Er,xr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(wr.prototype,xr):void 0!==wr.prototype.__proto__?wr.prototype.__proto__=xr:wr.prototype=xr;var Cr=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,Mr(function(){var e=new Yn(r,n,o,!0);e.proxy_=i,z(i,le,e),t&&t.length&&i.spliceWithArray(0,0,t),kr&&Object.defineProperty(i,"0",_r)}),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 er(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return Fr({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"}}])}(Er);function Tr(e){return{enumerable:!1,configurable:!0,get:function(){return this[le].get_(e)},set:function(t){this[le].set_(e,t)}}}function Or(e){x(Cr.prototype,""+e,Tr(e))}function Rr(e){if(e>Sr){for(var t=Sr;t<e+100;t++)Or(t);Sr=e}}function Nr(e,t,n){return new Cr(e,t,n)}function Ar(e,t){if("object"==typeof e&&null!==e){if(er(e))return void 0!==t&&v(23),e[le].atom_;if(ur(e))return e.atom_;if(ir(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||v(25,t,jr(e)),n}if(gr(e)){if(!t)return v(26);var r=e[le].values_.get(t);return r||v(27,t,jr(e)),r}if(ce(e)||yt(e)||Gt(e))return e}else if(P(e)&&Gt(e[le]))return e[le];v(28)}function Pr(e,t){return e||v(29),ce(e)||yt(e)||Gt(e)||ir(e)||ur(e)?e:e[le]?e[le]:void v(24,e)}function jr(e,t){var n;if(void 0!==t)n=Ar(e,t);else{if(pn(e))return e.name;n=gr(e)||ir(e)||ur(e)?Pr(e):Ar(e)}return n.name_}function Mr(e){var t=Ct(),n=ct(!0);zt();try{return e()}finally{Vt(),dt(n),Tt(t)}}Object.entries(Kn).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&I(Cr.prototype,t,n)}),Rr(1e3);var Dr,Lr=_.toString;function Ir(e,t,n){return void 0===n&&(n=-1),zr(e,t,n)}function zr(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=Lr.call(e);if(a!==Lr.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=Vr(e),t=Vr(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&&!(P(l)&&l instanceof l&&P(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(!zr(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)||!zr(e[h],t[h],n-1,r,o))return!1}}return r.pop(),o.pop(),!0}function Vr(e){return er(e)?e.slice():U(e)||ir(e)||F(e)||ur(e)?Array.from(e.entries()):e}var Ur=(null==(Dr=y().Iterator)?void 0:Dr.prototype)||{};function Fr(e){return e[Symbol.iterator]=Br,Object.assign(Object.create(Ur),e)}function Br(){return this}function Wr(e){return e instanceof Object&&"string"==typeof e.annotationType_&&P(e.make_)&&P(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:jr},$mobx:le}),!s.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!Bn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var Hr,$r,Yr,qr,Kr={exports:{}},Gr={},Xr={exports:{}},Qr={};function Jr(){return Hr||(Hr=1,e=Qr,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,P(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,A=N.port2;N.port1.onmessage=R,O=function(){A.postMessage(null)}}else O=function(){v(R,0)};function P(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,P(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,P(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)}()),Qr;var e}function Zr(){return Yr||(Yr=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=($r||($r=1,Xr.exports=Jr()),Xr.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 A(e),!1}catch(t){return!0}}function A(e){return""+e}function P(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)),A(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)),A(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];P(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 P(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):(P(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="":(P(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 Ae(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 Pe(e,t,n){return Ae(e,!1)}function je(e,t,n){if(null==e)return"";if("function"==typeof e)return Ae(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 Pe(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 Pe(e.type);case u:return Pe(e.type.render);case 1:return function(e){return Ae(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;P(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 At(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var Pt="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 Pt}}function Dt(e,t){return null==e||e===Pt?Mt(t):e===jt&&"foreignObject"===t?Pt: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)),A(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,An=null,Pn=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){An?Pn?Pn.push(e):Pn=[e]:An=e}function Dn(){if(An){var e=An,t=Pn;if(An=null,Pn=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!==An||null!==Pn)&&(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?Ar(t):null}function Ar(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=Ar(t);if(null!==n)return n;t=t.sibling}return null}function Pr(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,Yr=t.unstable_yieldValue,qr=t.unstable_setDisableYieldValue,Kr=null,Qr=null,Zr=null,eo=!1,to="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function no(e){if("function"==typeof Yr&&(qr(e),r=e),Qr&&"function"==typeof Qr.setStrictMode)try{Qr.setStrictMode(Kr,e)}catch(t){eo||(eo=!0,i("React instrumentation encountered an error: %s",t))}}function ro(e){Zr=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!==Zr&&"function"==typeof Zr.markCommitStopped&&Zr.markCommitStopped()}function ao(e){null!==Zr&&"function"==typeof Zr.markComponentRenderStarted&&Zr.markComponentRenderStarted(e)}function so(){null!==Zr&&"function"==typeof Zr.markComponentRenderStopped&&Zr.markComponentRenderStopped()}function lo(e){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectMountStarted&&Zr.markComponentPassiveEffectMountStarted(e)}function uo(){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectMountStopped&&Zr.markComponentPassiveEffectMountStopped()}function co(e){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectUnmountStarted&&Zr.markComponentPassiveEffectUnmountStarted(e)}function fo(){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectUnmountStopped&&Zr.markComponentPassiveEffectUnmountStopped()}function po(e){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectMountStarted&&Zr.markComponentLayoutEffectMountStarted(e)}function ho(){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectMountStopped&&Zr.markComponentLayoutEffectMountStopped()}function mo(e){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectUnmountStarted&&Zr.markComponentLayoutEffectUnmountStarted(e)}function vo(){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectUnmountStopped&&Zr.markComponentLayoutEffectUnmountStopped()}function go(e,t,n){null!==Zr&&"function"==typeof Zr.markComponentErrored&&Zr.markComponentErrored(e,t,n)}function yo(e,t,n){null!==Zr&&"function"==typeof Zr.markComponentSuspended&&Zr.markComponentSuspended(e,t,n)}function bo(e){null!==Zr&&"function"==typeof Zr.markRenderStarted&&Zr.markRenderStarted(e)}function wo(){null!==Zr&&"function"==typeof Zr.markRenderStopped&&Zr.markRenderStopped()}function xo(e,t){null!==Zr&&"function"==typeof Zr.markStateUpdateScheduled&&Zr.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,Ao=16,Po=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&Ao?"Default":e&Po?"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 Ao:return Ao;case Po:return Po;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===Ao&&0!==(d&jo))return t}0!==(r&Ro)&&(r|=n&Ao);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 Ao:case Po: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|Ao))}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 Ai(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 Pi,ji,Mi,Di,Li,Ii=To,zi=Ro,Vi=Ao,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){Pi(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,Aa,Pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ja=Oa(Pa),Ma=_e({},Pa,{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!==Aa&&(Aa&&"mousemove"===e.type?(Ra=e.screenX-Aa.screenX,Na=e.screenY-Aa.screenY):(Ra=0,Na=0),Aa=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({},Pa,{animationName:0,elapsedTime:0,pseudoElement:0})),Fa=Oa(_e({},Pa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ba=Oa(_e({},Pa,{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({},Pa,{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 As(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 Ps(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)&&(Ps(e,t,n,r,o),As(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,Al,Pl,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,Al=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)))}},Pl=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===Pt?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)),A(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),At(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===Pt&&(l=Mt(e)),l===Pt){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===Pt&&(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 Au(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 Pu(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&&Al(p,g,b)}}else if(p===Bl){if(l.delete(p),Ml){var w=rn(h);w!==(m=e.getAttribute("style"))&&Al(p,m,w)}}else if(s)l.delete(p.toLowerCase()),h!==(m=J(e,p,h))&&Al(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(_===Pt&&(_=Mt(t)),_===Pt)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||Al(p,m,h)}}}switch(a&&l.size>0&&!0!==n[Vl]&&Pl(l),t){case"input":et(e),ft(e,n,!0);break;case"textarea":et(e),At(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 Ac=null,Pc=!1,jc=!1;function Mc(e){null===Ac?Ac=[e]:Ac.push(e)}function Dc(){Pc&&Lc()}function Lc(){if(!jc&&null!==Ac){jc=!0;var e=0,t=Bi();try{var n=Ac;for(Wi(Ii);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}Ac=null,Pc=!1}catch(o){throw null!==Ac&&(Ac=Ac.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=[],Ad=[],Pd=[],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&&Ad.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Pd.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;Ad.length>0&&(Ad.forEach(function(e){r.add(Ve(e)||"Component"),Md.add(e.type)}),Ad=[]);var a=new Set;Pd.length>0&&(Pd.forEach(function(e){a.add(Ve(e)||"Component"),Md.add(e.type)}),Pd=[]);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=[],Ad=[],Pd=[],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)),A(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 Af(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 Pf(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,Pf(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=Ah: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=Ph,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 Ap(e,t){return"function"==typeof t?t(e):t}function Pp(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:Ap,lastRenderedState:e};t.queue=n;var r=n.dispatch=kh.bind(null,up,n);return[t.memoizedState,r]}function Wp(e){return jp(Ap)}function Hp(e){return Mp(Ap)}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|Ao)))){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,Ah=null,Ph=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 Pp(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 Pp(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},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=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},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=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 Pp(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!==Zr&&"function"==typeof Zr.markForceUpdateScheduled&&Zr.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),Af(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&&Ab(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 Am(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 Pm(e,t,n,r,o){if(n.flags|=dr,to&&Ab(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,Am(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),Am(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(Af(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(Af(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 Ao: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=Po;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),Af(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 A=ep(N);if(null!==A){O=!0,t.flags|=rr,Tv(T,!1);var P=A.updateQueue;return null!==P&&(t.updateQueue=P,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 Av(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 Pv(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(Qr&&"function"==typeof Qr.onCommitFiberUnmount)try{Qr.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?Au(e.parentNode,t):1===e.nodeType&&Au(e,t),ca(e)}(lg,n.stateNode):Au(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.");Ab(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?Pu(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),Pg(n,t),$e();var r=n.child;null!==r?(r.return=n,Iv=r):Ag(e)}}function Ag(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 Pg(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,Ay=0,Py=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(Ay>Ny)throw Ay=0,Py=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!==Pb){var s,l;if(null!=n&&Mb(n),o===To)0===e.tag?(null!==$g.isBatchingLegacy&&($g.didScheduleLegacyUpdate=!0),l=Qy.bind(null,e),Pc=!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&&(Ab(e,iy),o.clear()),Ai(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!==Zr&&"function"==typeof Zr.markRenderYielded&&Zr.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;Pv(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),Pm(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&&(Ab(e,iy),o.clear()),Ai(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=Av(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!==Zr&&"function"==typeof Zr.markCommitStarted&&Zr.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!==Zr&&"function"==typeof Zr.markLayoutEffectsStarted&&Zr.markLayoutEffectsStarted(e)}(a),gg(o,e,a),null!==Zr&&"function"==typeof Zr.markLayoutEffectsStopped&&Zr.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(Qr&&"function"==typeof Qr.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}Qr.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===Py?Ay++:(Ay=0,Py=e)):Ay=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!==Zr&&"function"==typeof Zr.markPassiveEffectsStarted&&Zr.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!==Zr&&"function"==typeof Zr.markPassiveEffectsStopped&&Zr.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(Qr&&"function"==typeof Qr.onPostCommitFiberRoot)try{Qr.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(),Pv(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 Ab(e,t){to&&e.memoizedUpdaters.forEach(function(n){Ni(e,n,t)})}Rb=new Set;var Pb={};function jb(e,t){var n=$g.current;return null!==n?(n.push(t),Pb):Mr(e,t)}function Mb(e){if(e!==Pb)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)),A(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(Qr&&"function"==typeof Qr.onScheduleFiberRoot)try{Qr.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!==Zr&&"function"==typeof Zr.markRenderScheduled&&Zr.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=Pr(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,Aw,Pw,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)},Aw=function(e){var t=vf(e,To);null!==t&&$y(t,e,To,ii)},Pw=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;Pi=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),Qr=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:Pw,setSuspenseHandler:jw,scheduleUpdate:Aw,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")}Gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ax,Gr.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)},Gr.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)},Gr.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")},Gr.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)},Gr.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)},Gr.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)},Gr.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)},Gr.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},Gr.unstable_batchedUpdates=Jy,Gr.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)},Gr.version=pw,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Gr}function eo(){return qr||(qr=1,Kr.exports=Zr()),Kr.exports}var to=eo();function no(e){e()}function ro(e){return kn(e)}var oo,io,ao=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}(),so=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:ao)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),lo={exports:{}},uo={};var co,fo,po=(io||(io=1,lo.exports=(oo||(oo=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};uo.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())}()),uo)),lo.exports);function ho(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 mo=!0,vo="function"==typeof Symbol&&Symbol.for,go=null!==(fo=null===(co=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===co?void 0:co.configurable)&&void 0!==fo&&fo,yo=vo?Symbol.for("react.forward_ref"):"function"==typeof s.forwardRef&&s.forwardRef(function(e){return null}).$$typeof,bo=vo?Symbol.for("react.memo"):"function"==typeof s.memo&&s.memo(function(e){return null}).$$typeof;function wo(e,t){if(bo&&e.$$typeof===bo)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(yo&&e.$$typeof===yo&&(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 so.unregister(r),r.onStoreChange=e,r.reaction||(ho(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||(ho(a),so.register(n,a,a)),l.useDebugValue(a.reaction,ro),po.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,go&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes,mo&&(mo=!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){_o[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 xo,_o={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(xo=to.unstable_batchedUpdates)||(xo=no,console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),_n({reactionScheduler:xo}),so.finalizeAllImmediately;const ko=(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},So="null",Eo="undefined",Co="nan",To="[object Object]",Oo="[object Array]",Ro="[object String]",No="[object Number]",Ao="[object Boolean]",Po="[object Function]",jo="[object AsyncFunction]",Mo="[object RegExp]",Do="[object Symbol]",Lo="infinite",Io="element";const zo=(...e)=>t=>e.includes(function(e){if(void 0===e)return Eo;if(null===e)return So;if(e&&(1===e.nodeType||9===e.nodeType))return Io;const t=Object.prototype.toString.call(e);if(t===No){if(Number.isNaN(e))return Co;if(!Number.isFinite(e))return Lo}return t}(t)),Vo=zo(So),Uo=zo(Eo),Fo=zo(To),Bo=zo(Oo),Wo=zo(Ro),Ho=zo(No),$o=zo(Ao),Yo=zo(Po,jo),qo=zo(Mo),Ko=zo(Io),Go=zo(Co),Xo=zo(Lo),Qo=zo(Do),Jo=Object.freeze(Object.defineProperty({__proto__:null,isArray:Bo,isBoolean:$o,isDefined:e=>null!=e,isElement:Ko,isFunction:Yo,isInfinite:Xo,isNaN:Go,isNull:Vo,isNumber:Ho,isObject:Fo,isRegExp:qo,isString:Wo,isSymbol:Qo,isUndefined:Uo},Symbol.toStringTag,{value:"Module"})),Zo=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??{},Bn(r,{current:Ze.ref,meta:Ze}),r},ei=(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:ti,setPrototypeOf:ni,isFrozen:ri,getPrototypeOf:oi,getOwnPropertyDescriptor:ii}=Object;let{freeze:ai,seal:si,create:li}=Object,{apply:ui,construct:ci}="undefined"!=typeof Reflect&&Reflect;ai||(ai=function(e){return e}),si||(si=function(e){return e}),ui||(ui=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)}),ci||(ci=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 di=Ci(Array.prototype.forEach),fi=Ci(Array.prototype.lastIndexOf),pi=Ci(Array.prototype.pop),hi=Ci(Array.prototype.push),mi=Ci(Array.prototype.splice),vi=Ci(String.prototype.toLowerCase),gi=Ci(String.prototype.toString),yi=Ci(String.prototype.match),bi=Ci(String.prototype.replace),wi=Ci(String.prototype.indexOf),xi=Ci(String.prototype.trim),_i=Ci(Object.prototype.hasOwnProperty),ki=Ci(RegExp.prototype.test),Si=(Ei=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ci(Ei,t)});var Ei;function Ci(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 ui(e,t,r)}}function Ti(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vi;ni&&ni(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(ri(t)||(t[r]=e),o=e)}e[o]=!0}return e}function Oi(e){for(let t=0;t<e.length;t++){_i(e,t)||(e[t]=null)}return e}function Ri(e){const t=li(null);for(const[n,r]of ti(e)){_i(e,n)&&(Array.isArray(r)?t[n]=Oi(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Ri(r):t[n]=r)}return t}function Ni(e,t){for(;null!==e;){const n=ii(e,t);if(n){if(n.get)return Ci(n.get);if("function"==typeof n.value)return Ci(n.value)}e=oi(e)}return function(){return null}}const Ai=ai(["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"]),Pi=ai(["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=ai(["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"]),Mi=ai(["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"]),Di=ai(["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"]),Li=ai(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ii=ai(["#text"]),zi=ai(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Vi=ai(["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"]),Ui=ai(["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"]),Fi=ai(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Bi=si(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Wi=si(/<%[\w\W]*|[\w\W]*%>/gm),Hi=si(/\$\{[\w\W]*/gm),$i=si(/^data-[\-\w.\u00B7-\uFFFF]+$/),Yi=si(/^aria-[\-\w]+$/),qi=si(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ki=si(/^(?:\w+script|data):/i),Gi=si(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xi=si(/^html$/i),Qi=si(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ji=Object.freeze({__proto__:null,ARIA_ATTR:Yi,ATTR_WHITESPACE:Gi,CUSTOM_ELEMENT:Qi,DATA_ATTR:$i,DOCTYPE_NAME:Xi,ERB_EXPR:Wi,IS_ALLOWED_URI:qi,IS_SCRIPT_OR_DATA:Ki,MUSTACHE_EXPR:Bi,TMPLIT_EXPR:Hi});const Zi=1,ea=3,ta=7,na=8,ra=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!==ra||!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=Ni(m,"cloneNode"),g=Ni(m,"remove"),y=Ni(m,"nextSibling"),b=Ni(m,"childNodes"),w=Ni(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 ti&&"function"==typeof w&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:R,ERB_EXPR:N,TMPLIT_EXPR:A,DATA_ATTR:P,ARIA_ATTR:j,IS_SCRIPT_OR_DATA:M,ATTR_WHITESPACE:D,CUSTOM_ELEMENT:L}=Ji;let{IS_ALLOWED_URI:I}=Ji,z=null;const V=Ti({},[...Ai,...Pi,...ji,...Di,...Ii]);let U=null;const F=Ti({},[...zi,...Vi,...Ui,...Fi]);let B=Object.seal(li(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(li(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=Ti({},["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=Ti({},["audio","video","img","source","image","track"]);let pe=null;const he=Ti({},["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=Ti({},[me,ve,ge],gi);let _e=Ti({},["mi","mo","mn","ms","mtext"]),ke=Ti({},["annotation-xml"]);const Se=Ti({},["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},Ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Oe||Oe!==e){if(e&&"object"==typeof e||(e={}),e=Ri(e),Ee=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Te="application/xhtml+xml"===Ee?gi:vi,z=_i(e,"ALLOWED_TAGS")?Ti({},e.ALLOWED_TAGS,Te):V,U=_i(e,"ALLOWED_ATTR")?Ti({},e.ALLOWED_ATTR,Te):F,we=_i(e,"ALLOWED_NAMESPACES")?Ti({},e.ALLOWED_NAMESPACES,gi):xe,pe=_i(e,"ADD_URI_SAFE_ATTR")?Ti(Ri(he),e.ADD_URI_SAFE_ATTR,Te):he,de=_i(e,"ADD_DATA_URI_TAGS")?Ti(Ri(fe),e.ADD_DATA_URI_TAGS,Te):fe,ue=_i(e,"FORBID_CONTENTS")?Ti({},e.FORBID_CONTENTS,Te):ce,W=_i(e,"FORBID_TAGS")?Ti({},e.FORBID_TAGS,Te):Ri({}),H=_i(e,"FORBID_ATTR")?Ti({},e.FORBID_ATTR,Te):Ri({}),le=!!_i(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||qi,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=Ti({},Ii),U=[],!0===le.html&&(Ti(z,Ai),Ti(U,zi)),!0===le.svg&&(Ti(z,Pi),Ti(U,Vi),Ti(U,Fi)),!0===le.svgFilters&&(Ti(z,ji),Ti(U,Vi),Ti(U,Fi)),!0===le.mathMl&&(Ti(z,Di),Ti(U,Ui),Ti(U,Fi))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?$.tagCheck=e.ADD_TAGS:(z===V&&(z=Ri(z)),Ti(z,e.ADD_TAGS,Te))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?$.attributeCheck=e.ADD_ATTR:(U===F&&(U=Ri(U)),Ti(U,e.ADD_ATTR,Te))),e.ADD_URI_SAFE_ATTR&&Ti(pe,e.ADD_URI_SAFE_ATTR,Te),e.FORBID_CONTENTS&&(ue===ce&&(ue=Ri(ue)),Ti(ue,e.FORBID_CONTENTS,Te)),ae&&(z["#text"]=!0),J&&Ti(z,["html","head","body"]),z.table&&(Ti(z,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Si('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Si('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(""));ai&&ai(e),Oe=e}},Pe=Ti({},[...Pi,...ji,...Mi]),je=Ti({},[...Di,...Li]),Me=function(e){hi(n.removed,{element:e});try{w(e).removeChild(e)}catch(t){g(e)}},De=function(e,t){try{hi(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){hi(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=yi(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){di(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)&&ki(/<[/\w!]/g,e.innerHTML)&&ki(/<[/\w!]/g,e.textContent))return Me(e),!0;if(e.nodeType===ta)return Me(e),!0;if(Q&&e.nodeType===na&&ki(/<[/\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&&ki(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=vi(e.tagName),r=vi(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(Pe[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]||!Pe[n]):!("application/xhtml+xml"!==Ee||!we[e.namespaceURI]))}(e)?(Me(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!ki(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===ea&&(t=e.textContent,di([R,N,A],e=>{t=bi(t,e," ")}),e.textContent!==t&&(hi(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]&&ki(P,t));else if(Y&&ki(j,t));else if($.attributeCheck instanceof Function&&$.attributeCheck(t,e));else if(!U[t]||H[t]){if(!(We(e)&&(B.tagNameCheck instanceof RegExp&&ki(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&ki(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t,e))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&ki(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(pe[t]);else if(ki(I,bi(n,D,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==wi(n,"data:")||!de[e]){if(K&&!ki(M,bi(n,D,"")));else if(n)return!1}else;return!0},We=function(e){return"annotation-xml"!==e&&yi(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:xi(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&&ki(/((--!?|])>)|<\/(style|title|textarea)/i,f)){De(s,e);continue}if("attributename"===c&&yi(f,"href")){De(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){De(s,e);continue}if(!G&&ki(/\/>/i,f)){De(s,e);continue}X&&di([R,N,A],e=>{f=bi(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):pi(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 Si("toString is not a function");if("string"!=typeof(e=e.toString()))throw Si("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Ae(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Te(e.nodeName);if(!z[t]||W[t])throw Si("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===Zi&&"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&&ki(Xi,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&di([R,N,A],e=>{d=bi(d,e," ")}),x&&re?x.createHTML(d):d},n.setConfig=function(){Ae(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||Ae({});const r=Te(e),o=Te(t);return Be(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&hi(O[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=fi(O[e],t);return-1===n?void 0:mi(O[e],n,1)[0]}return pi(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const oa=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()},ia=s.createContext(null),aa=s.createContext(null),sa=ia.Provider,la=ko(e=>e.toString(16)),ua=(...e)=>{const t={...ca,startViewTransitions:structuredClone(ca.startViewTransitions),observable:{viewModels:{...ca.observable.viewModels},viewModelStores:{...ca.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},ca=((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=la(),n=ko(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:ua(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")),da=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),Bn(e)):Bn(e,Object.fromEntries(t))})(e,t,n.useDecorators)},fa="undefined"==typeof window?s.useEffect:s.useLayoutEffect;let pa=null;pa=e=>s.useMemo(e,[]);const ha=pa;function ma(e,t,n){return e.prototype.payloadChanged?va(e,t,n):ga(e,t)}const va=(e,t,n)=>{const r=s.useContext(aa),o=s.useContext(ia),i=n?.ctx??{},a=ha(()=>{const a=r?.generateViewModelId({...n,ctx:i,VM:e,parentViewModelId:o?.id??null})??n?.id??ca.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)??ca.factory(s);return l.willMount(),r?.markToBeAttached(l),l}});return fa(()=>r?(r.attach(a),()=>{r.detach(a.id)}):(a.mount(),()=>{a.willUnmount(),a.unmount()}),[a]),a.setPayload(t??{}),a},ga=(e,t)=>{const n=s.useContext(aa),r=s.useContext(ia),o=ha(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in o&&s.useLayoutEffect(()=>{o.setPayload(t)},[t]),fa(()=>n?(n.attach(o),()=>{n.detach(o.id)}):(o.mount?.(),()=>{o.unmount?.()}),[o]),o},ya=e=>{const t=s.useContext(aa),n=s.useContext(ia);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};wo(({model:e,config:t,payload:n,children:r})=>{const o=ma(e,n,t);return o.isMounted?"function"==typeof r?r(o):h.jsx(h.Fragment,{children:r}):null});const ba=aa.Provider;function wa(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return _a(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=>_a(e,r,t)}}const xa=Symbol.for("react.memo"),_a=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??ca.processViewComponent,o=t.vmConfig?.wrapViewsInObserver??ca.wrapViewsInObserver;let i=r?.(n,e,t)??n;o&&i&&i.$$typeof!==xa&&(i=wo(i));const a=t.reactHook,l=t.getPayload,u=t.fallback??ca.fallbackComponent;let c=(n,r)=>{const o=s.useContext(aa);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=ma(e,f,{...t,props:d});return(!o||o.isAbleToRenderView(p.id))&&!1!==p.isMounted?h.jsx(sa,{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=wo(c),c.displayName=`ConnectedViewModel(${e.name}->Component)`,t.component=c,c},ka=[["_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 Sa{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=ua(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=ei:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...ka];!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})])),da(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),oa(()=>{fn(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),oa(()=>{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)||oa(()=>{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 Ea{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=ua(e?.vmConfig),this.viewModelsTempHeap=new Map,da(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=ua(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 Ca extends Sa{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}function Ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Oa="object"==typeof global&&global&&global.Object===Object&&global,Ra="object"==typeof self&&self&&self.Object===Object&&self,Na=Oa||Ra||Function("return this")(),Aa=function(){return Na.Date.now()},Pa=/\s/;var ja=/^\s+/;function Ma(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&Pa.test(e.charAt(t)););return t}(e)+1).replace(ja,""):e}var Da=Na.Symbol,La=Object.prototype,Ia=La.hasOwnProperty,za=La.toString,Va=Da?Da.toStringTag:void 0;var Ua=Object.prototype.toString;var Fa=Da?Da.toStringTag:void 0;function Ba(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Fa&&Fa in Object(e)?function(e){var t=Ia.call(e,Va),n=e[Va];try{e[Va]=void 0;var r=!0}catch(i){}var o=za.call(e);return r&&(t?e[Va]=n:delete e[Va]),o}(e):function(e){return Ua.call(e)}(e)}var Wa=/^[-+]0x[0-9a-f]+$/i,Ha=/^0b[01]+$/i,$a=/^0o[0-7]+$/i,Ya=parseInt;function qa(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]"==Ba(e)}(e))return NaN;if(Ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ma(e);var n=Ha.test(e);return n||$a.test(e)?Ya(e.slice(2),n?2:8):Wa.test(e)?NaN:+e}var Ka=Math.max,Ga=Math.min;function Xa(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=Aa();if(h(e))return v(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?Ga(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=Aa(),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=qa(t)||0,Ta(n)&&(c=!!n.leading,i=(d="maxWait"in n)?Ka(qa(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(Aa())},g}var Qa=function(){return Qa=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},Qa.apply(this,arguments)};function Ja(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Za(e){return e&&e.ownerDocument?e.ownerDocument:document}var es=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 ts(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function ns(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function rs(e){return".".concat(e.split(" ").join("."))}var os=!("undefined"==typeof window||!window.document||!window.document.createElement),is=Object.freeze({__proto__:null,addClasses:ts,canUseDOM:os,classNamesToQuery:rs,getElementDocument:Za,getElementWindow:Ja,getOptions:es,removeClasses:ns}),as=null,ss=null;function ls(){if(null===as){if("undefined"==typeof document)return as=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),as=n}return as}os&&window.addEventListener("resize",function(){ss!==window.devicePixelRatio&&(ss=window.devicePixelRatio,as=null)});var us=Ja,cs=Za,ds=es,fs=ts,ps=ns,hs=rs,ms=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=us(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,fs(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(){ps(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(fs(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){ps(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=cs(r.el),n=us(r.el);e.preventDefault(),e.stopPropagation(),ps(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=Qa(Qa({},e.defaultOptions),n),this.classNames=Qa(Qa({},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 Ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Xa(e,t,{leading:r,maxWait:t,trailing:o})}(this._onMouseMove,64),this.onWindowResize=Xa(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Xa(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Xa(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:ls()}catch(e){return ls()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=cs(e),r=us(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){os&&(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(hs(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(hs(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(hs(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(hs(this.classNames.offset)),this.maskEl=this.el.querySelector(hs(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,hs(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(hs(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(hs(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(hs(this.classNames.track)).concat(hs(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(hs(this.classNames.track)).concat(hs(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(hs(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(hs(this.classNames.scrollbar)))||null,this.options.autoHide||(fs(this.axis.x.scrollbar.el,this.classNames.visible),fs(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=us(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=us(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&&(fs(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&&(ps(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),fs(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?fs(t.scrollbar.el,this.classNames.hover):ps(t.scrollbar.el,this.classNames.hover)):(ps(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),ps(this.axis[e].track.el,this.classNames.hover),ps(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=cs(this.el),o=us(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,fs(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=us(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=us(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=ds,e.helpers=is,e}(),vs=function(e,t){return(vs=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 gs=ms.helpers,ys=gs.getOptions,bs=gs.addClasses,ws=gs.canUseDOM,xs=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}vs(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,ys(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"),bs(this.wrapperEl,this.classNames.wrapper),bs(this.contentWrapperEl,this.classNames.contentWrapper),bs(this.offsetEl,this.classNames.offset),bs(this.maskEl,this.classNames.mask),bs(this.contentEl,this.classNames.contentEl),bs(this.placeholderEl,this.classNames.placeholder),bs(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),bs(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");bs(o,this.classNames.track),bs(i,this.classNames.scrollbar),o.appendChild(i),this.axis.x.track.el=o.cloneNode(!0),bs(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),bs(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}ms.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){ms.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,ys(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,ys(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}(ms);ws&&xs.initHtmlApi();var _s,ks={};var Ss,Es,Cs=function(){if(_s)return ks;_s=1;var e=eo(),t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return ks.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},ks.hydrateRoot=function(n,r,o){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,o)}finally{t.usingClientEntryPoint=!1}},ks}(),Ts={exports:{}},Os={};function Rs(){return Ss||(Ss=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 A,P=v.ReactCurrentDispatcher;function j(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 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=P.current,P.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,P.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};Os.Fragment=r,Os.jsxDEV=ce}()),Os}var Ns=(Es||(Es=1,Ts.exports=Rs()),Ts.exports);function As(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=As(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Ps=e=>{const t=Ls(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),js(n,t)||Ds(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},js=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?js(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},Ms=/^\[(.+)\]$/,Ds=e=>{if(Ms.test(e)){const t=Ms.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Ls=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)Is(n[o],r,o,t);return r},Is=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:zs(t,e)).classGroupId=n)}if("function"==typeof e)return Vs(e)?void Is(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{Is(o,zs(t,e),n,r)})})},zs=(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},Vs=e=>e.isThemeGetter,Us=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)}}},Fs=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=Bs(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},Bs=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Ws=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}},Hs=/\s+/;function $s(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Ys(e))&&(r&&(r+=" "),r+=t);return r}const Ys=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ys(e[r]))&&(n&&(n+=" "),n+=t);return n};function qs(e,...t){let n,r,o,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:Us(e.cacheSize),parseClassName:Fs(e),sortModifiers:Ws(e),...Ps(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(Hs);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($s.apply(null,arguments))}}const Ks=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Gs=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Xs=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Qs=/^\d+\/\d+$/,Js=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Zs=/\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$/,el=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rl=e=>Qs.test(e),ol=e=>!!e&&!Number.isNaN(Number(e)),il=e=>!!e&&Number.isInteger(Number(e)),al=e=>e.endsWith("%")&&ol(e.slice(0,-1)),sl=e=>Js.test(e),ll=()=>!0,ul=e=>Zs.test(e)&&!el.test(e),cl=()=>!1,dl=e=>tl.test(e),fl=e=>nl.test(e),pl=e=>!ml(e)&&!xl(e),hl=e=>Ol(e,Pl,cl),ml=e=>Gs.test(e),vl=e=>Ol(e,jl,ul),gl=e=>Ol(e,Ml,ol),yl=e=>Ol(e,Nl,cl),bl=e=>Ol(e,Al,fl),wl=e=>Ol(e,Ll,dl),xl=e=>Xs.test(e),_l=e=>Rl(e,jl),kl=e=>Rl(e,Dl),Sl=e=>Rl(e,Nl),El=e=>Rl(e,Pl),Cl=e=>Rl(e,Al),Tl=e=>Rl(e,Ll,!0),Ol=(e,t,n)=>{const r=Gs.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Rl=(e,t,n=!1)=>{const r=Xs.exec(e);return!!r&&(r[1]?t(r[1]):n)},Nl=e=>"position"===e||"percentage"===e,Al=e=>"image"===e||"url"===e,Pl=e=>"length"===e||"size"===e||"bg-size"===e,jl=e=>"length"===e,Ml=e=>"number"===e,Dl=e=>"family-name"===e,Ll=e=>"shadow"===e,Il=qs(()=>{const e=Ks("color"),t=Ks("font"),n=Ks("text"),r=Ks("font-weight"),o=Ks("tracking"),i=Ks("leading"),a=Ks("breakpoint"),s=Ks("container"),l=Ks("spacing"),u=Ks("radius"),c=Ks("shadow"),d=Ks("inset-shadow"),f=Ks("text-shadow"),p=Ks("drop-shadow"),h=Ks("blur"),m=Ks("perspective"),v=Ks("aspect"),g=Ks("ease"),y=Ks("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",xl,ml],w=()=>[xl,ml,l],x=()=>[rl,"full","auto",...w()],_=()=>[il,"none","subgrid",xl,ml],k=()=>["auto",{span:["full",il,xl,ml]},il,xl,ml],S=()=>[il,"auto",xl,ml],E=()=>["auto","min","max","fr",xl,ml],C=()=>["auto",...w()],T=()=>[rl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],O=()=>[e,xl,ml],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Sl,yl,{position:[xl,ml]}],N=()=>["auto","cover","contain",El,hl,{size:[xl,ml]}],A=()=>[al,_l,vl],P=()=>["","none","full",u,xl,ml],j=()=>["",ol,_l,vl],M=()=>[ol,al,Sl,yl],D=()=>["","none",h,xl,ml],L=()=>["none",ol,xl,ml],I=()=>["none",ol,xl,ml],z=()=>[ol,xl,ml],V=()=>[rl,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[sl],breakpoint:[sl],color:[ll],container:[sl],"drop-shadow":[sl],ease:["in","out","in-out"],font:[pl],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[sl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[sl],shadow:[sl],spacing:["px",ol],text:[sl],"text-shadow":[sl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rl,ml,xl,v]}],container:["container"],columns:[{columns:[ol,ml,xl,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:[il,"auto",xl,ml]}],basis:[{basis:[rl,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ol,rl,"auto","initial","none",ml]}],grow:[{grow:["",ol,xl,ml]}],shrink:[{shrink:["",ol,xl,ml]}],order:[{order:[il,"first","last","none",xl,ml]}],"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,_l,vl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,xl,gl]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",al,ml]}],"font-family":[{font:[kl,ml,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,xl,ml]}],"line-clamp":[{"line-clamp":[ol,"none",xl,gl]}],leading:[{leading:[i,...w()]}],"list-image":[{"list-image":["none",xl,ml]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xl,ml]}],"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:[ol,"from-font","auto",xl,vl]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[ol,"auto",xl,ml]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xl,ml]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xl,ml]}],"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"]},il,xl,ml],radial:["",xl,ml],conic:[il,xl,ml]},Cl,bl]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:A()}],"gradient-via-pos":[{via:A()}],"gradient-to-pos":[{to:A()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],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: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":[ol,xl,ml]}],"outline-w":[{outline:["",ol,_l,vl]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,Tl,wl]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,Tl,wl]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[ol,vl]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",f,Tl,wl]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[ol,xl,ml]}],"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":[ol]}],"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":[xl,ml]}],"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":[ol]}],"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",xl,ml]}],filter:[{filter:["","none",xl,ml]}],blur:[{blur:D()}],brightness:[{brightness:[ol,xl,ml]}],contrast:[{contrast:[ol,xl,ml]}],"drop-shadow":[{"drop-shadow":["","none",p,Tl,wl]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",ol,xl,ml]}],"hue-rotate":[{"hue-rotate":[ol,xl,ml]}],invert:[{invert:["",ol,xl,ml]}],saturate:[{saturate:[ol,xl,ml]}],sepia:[{sepia:["",ol,xl,ml]}],"backdrop-filter":[{"backdrop-filter":["","none",xl,ml]}],"backdrop-blur":[{"backdrop-blur":D()}],"backdrop-brightness":[{"backdrop-brightness":[ol,xl,ml]}],"backdrop-contrast":[{"backdrop-contrast":[ol,xl,ml]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ol,xl,ml]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ol,xl,ml]}],"backdrop-invert":[{"backdrop-invert":["",ol,xl,ml]}],"backdrop-opacity":[{"backdrop-opacity":[ol,xl,ml]}],"backdrop-saturate":[{"backdrop-saturate":[ol,xl,ml]}],"backdrop-sepia":[{"backdrop-sepia":["",ol,xl,ml]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xl,ml]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ol,"initial",xl,ml]}],ease:[{ease:["linear","initial",g,xl,ml]}],delay:[{delay:[ol,xl,ml]}],animate:[{animate:["none",y,xl,ml]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,xl,ml]}],"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:[xl,ml,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:V()}],"translate-x":[{"translate-x":V()}],"translate-y":[{"translate-y":V()}],"translate-z":[{"translate-z":V()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",xl,ml]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xl,ml]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[ol,_l,vl,gl]}],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"]}}),zl=(...e)=>Il(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=As(e))&&(r&&(r+=" "),r+=t);return r}(...e)),Vl="vmButton_esipO",Ul="dragging_kUMCE",Fl="opened_NYAFW",Bl="isConnected_eObxX";const Wl=wa(class extends Sa{devtools=this.parentViewModel.devtools;ref=Zo({onSet:e=>{const t={isDragging:!1,offsetX:0,offsetY:0,hasMoved:!1,startX:0,startY:0},{width:n,height:r}=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(Ul)});e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()}),document.addEventListener("mousemove",o=>{if(!t.isDragging)return;let i=o.clientX+t.offsetX,a=o.clientY+t.offsetY;const s=window.innerWidth-n-12,l=window.innerHeight-r-12;i<12&&(i=12),a<12&&(a=12),i>s&&(i=s),a>l&&(a=l),e.style.left=`${i}px`,e.style.top=`${a}px`,i===t.startX&&a===t.startY||(t.hasMoved=!0)}),document.addEventListener("mouseup",()=>{t.isDragging=!1,e.classList.remove(Ul),this.position!==this.devtools.position&&fn(()=>{this.devtools.position=this.position})})}});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})=>Ns.jsxDEV("button",{className:zl(Vl,{[Fl]:e.devtools.isPopupOpened,[Bl]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[Ns.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),Ns.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),Ns.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)),Hl=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"})),$l=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"})),Yl=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"})),ql=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"})),Kl=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"})),Gl="vmPopup_0hkGL",Xl="closePopupButton_igv9j",Ql=null,{min:Jl,max:Zl,abs:eu,floor:tu}=Math,nu=(e,t,n)=>Jl(n,Zl(t,e)),ru=e=>[...e].sort((e,t)=>e-t),ou="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},iu=()=>{let e;return[new Promise(t=>{e=t}),e]},au=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},su=(e,t,n)=>{const r=n?"unshift":"push";for(let o=0;o<t;o++)e[r](-1);return e},lu=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},uu=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=Jl(t,e.i),r},cu=(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+=lu(e,n),e.u[++n]=r;return e.i=t,r},du=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const o=tu((n+r)/2);if(cu(e,o)<=t){if(cu(e,o+1)>t)return o;n=o+1}else r=o-1}return nu(n,0,e.l-1)},fu=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:Jl(t-1,e.i),e.l=t,r>0?(su(e.u,r),su(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))},pu="undefined"!=typeof window,hu=()=>document.documentElement,mu=au(()=>!!pu&&"rtl"===getComputedStyle(hu()).direction),vu=au(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),gu=au(()=>"scrollBehavior"in hu().style),yu=setTimeout,bu=(e,t)=>t&&mu()?-e:e,wu=(e,t)=>{let n,r,o=iu();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]=iu();return r=()=>{n(!1)},e.p()&&yu(r,150),[t,e.B(2,()=>{n(!0)})]};if(i&&gu())e.J(8,o()),ou(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=bu(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!=Ql&&clearTimeout(t)},r=()=>{n(),t=yu(()=>{t=Ql,(()=>{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,vu()&&(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(bu(t,n),i,c),c=!1,i&&e.p()>e.h()&&e.J(1,r()))}}})(e,s,t,()=>bu(s[i],t),(t,n,r)=>{if(r){const e=s.style,t=e[a];e[a]="hidden",yu(()=>{e[a]=t})}s[i]=e.C()+t,n&&l()}),o[1](!0)},v(){r&&r.L(),o[1](!1),o=iu()},V(e){s(()=>e)},X(t){t+=e.C(),s(()=>t)},Y(t,{align:n,smooth:r,offset:o=0}={}){if(t=nu(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()}}},xu=(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!=Ql&&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}},_u=pu?s.useLayoutEffect:s.useEffect,ku="current",Su=(e,t)=>{if(Array.isArray(e))for(const n of e)Su(n,t);else null==e||"boolean"==typeof e||t.push(e)},Eu=e=>{const t=s.useRef(e);return _u(()=>{t[ku]=e},[e]),t},Cu=s.memo(({Z:e,ee:t,te:n,oe:r,ne:o,re:i,ie:a,se:l})=>{const u=s.useRef(null);_u(()=>t(u[ku],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?mu()?"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})}),Tu=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 Su(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),w=s.useRef(null),x=s.useRef(!!c),_=Eu(m),k=Eu(v),[S,E,C,T]=(e=>{const t=s.useRef(null);return t[ku]||(t[ku]=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=Ql,v=[0,i?Zl(n-1,0):-1],g=0;const y=(O=e,R=t,{o:(N=r)?N[1]:R,t:N&&N[0]?su(N[0].slice(0,Jl(O,N[0].length)),Zl(0,O-N[0].length)):su([],O),l:O,i:-1,u:su([],O+1)}),b=new Set,w=()=>u-l,x=()=>w()+d+c,_=(e,t)=>((e,t,n,r)=>{if(r=Jl(r,e.l-1),cu(e,r)<=t){const o=du(e,n,r);return[du(e,t,r,o),o]}{const o=du(e,t,void 0,r);return[o,du(e,n,o)]}})(y,e,t,v[0]),k=()=>cu(y,y.l),S=e=>cu(y,e)-d,E=e=>lu(y,e),C=(e,t=-1)=>y.t[e]===t,T=e=>{e&&(vu()&&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=Zl(0,x()),i=r+s;o||(e=Zl(0,e),1!==p&&(r-=e),2!==p&&(i+=e)),[t,n]=v=_(Zl(0,r),Zl(0,i)),m&&(t=Jl(t,m[0]),n=Zl(n,m[1]))}return[Zl(t,0),Jl(n,y.l-1)]},$:()=>du(y,x()),I:()=>du(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=eu(n);e&&o<eu(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=Ql;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=uu(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=ru(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)*Zl(t-n,0)})(y,du(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(fu(y,t[0],!0)),h=2,v=1):(fu(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,xu(t,e),wu(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(),A=S.h(),P=[],j=e=>{const t=y(e);return h.jsx(Cu,{ee:E.F,te:e,oe:S.R(e),ne:S.k(e),re:f,Z:t,ie:T,se:x[ku]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(_u(()=>{x[ku]=!1,S.B(1,e=>{e?to.flushSync(R):R()}),S.B(4,()=>{_[ku]&&_[ku](S.C())}),S.B(8,()=>{k[ku]&&k[ku]()});const e=e=>{E.U(e),C.P(e)};return p?ou(()=>{p[ku]&&e(p[ku])}):e(w[ku].parentElement),()=>{S.v(),E.v(),C.v()}},[]),_u(()=>{C.j()},[O]),s.useImperativeHandle(g,()=>({get cache(){return S._()},get scrollOffset(){return S.C()},get scrollSize(){return Zl((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);ru([...e]).forEach(e=>{P.push(j(e))})}else for(let[s,h]=S.S(n);s<=h;s++)P.push(j(s));return h.jsx(d,{ref:w,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:T?A:"100%",height:T?"100%":A,pointerEvents:N?"none":void 0},children:P})});class Ou{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.struct(this,"children"),rt.struct(this,"expandedChildren"),rt.struct(this,"expandedChildrenWithSelf"),rt(this,"data"),rt(this,"isExpandable"),cn(this,"expand"),cn(this,"collapse"),Bn(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,"-")}expandKey}class Ru extends Ou{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}const Nu=new Set(["constructor"]),Au=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)Nu.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(Au.has(r))break;n=r}return Array.from(t)}class ju extends Ou{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"),Bn(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 ju(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(){return Pu(this.data).map((e,t)=>Mu.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 Mu extends Ou{constructor(e,t,n,r,o){super(e,Mu.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"),Bn(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":Jo.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":Jo.isFunction(this.data)?"function":Jo.isObject(this.data)?"object":this.stringifiedDataType.startsWith("[object ")&&this.data&&"object"==typeof this.data&&"constructor"in this.data?"instance":"primitive"}get children(){if("array"===this.type){const e=Object.keys(this.data).map((e,t)=>Mu.create(this.devtools,e,`${this.path}.${e}`,t,this));return e.push(Mu.create(this.devtools,"length",`${this.path}.length`,e.length,this)),e}return"function"===this.type?Object.keys(this.data).map((e,t)=>Mu.create(this.devtools,e,`${this.path}.${e}`,t,this)):"instance"===this.type||"object"===this.type?Pu(this.data).map((e,t)=>Mu.create(this.devtools,e,`${this.path}.${e}`,t,this)):[]}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 ju)return",";if(this.parent instanceof Mu)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new Ru(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new Ru(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()||""}}static createKey(e,t){return`${e.key}-${t}`}static create(e,t,n,r,o){const i=o.cache??e.anyCache,a=`${Mu.createKey(o,t)}/list-item`;let s=i.get(a);return s||(s=new Mu(e,t,n,r,o),i.set(a,s)),s}}const Du="iconToggleButton_R48wm",Lu="activePosition_IXsRn",Iu="option_a5IcR",zu="active_6QS-2",Vu=({value:e,options:t,className:n,onUpdate:r})=>{const o=[];let i;return t.forEach((t,n)=>{const{icon:r,value:a}=t,s=e===a;s&&(i=n),o.push(Ns.jsxDEV("div",{className:zl(Iu,{[zu]:s}),children:Ns.jsxDEV(r,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/shared/icon-toggle-button/index.tsx",lineNumber:32,columnNumber:9},void 0)},n,!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))}),Ns.jsxDEV("button",{className:zl(Du,n),onClick:()=>{const e=void 0!==i&&t[i+1]||t[0];r(e.value)},children:[Ns.jsxDEV("div",{className:Lu,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:46,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:38,columnNumber:5},void 0)},Uu={property:"property_Oy4bS",expandable:"expandable_usEY-",instance:"instance_g6xOw",primitive:"primitive_v003s",boolean:"boolean_INujc",number:"number_7K-jw",object:"object_3K21J",bigint:"bigint_NCBnp",symbol:"symbol_Nk-vG",undefined:"undefined_32Xx8",null:"null_jbJLZ",string:"string_DCKmP",propertyName:"propertyName_Jbwvb",propertyMeta:"propertyMeta_D04Er",propertyValue:"propertyValue_bht-2"},Fu=wo(({item:e})=>Ns.jsxDEV("div",{className:zl(Uu.property,Uu.primitive),style:{"--level":e.depth},"data-fitted":e.isFitted,title:String(e.data),"data-depth":e.depthLine,children:e.content},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/meta-list-item-render.tsx",lineNumber:10,columnNumber:7},void 0)),Bu=wo(({item:e})=>Ns.jsxDEV("div",{className:zl(Uu.property,Uu.array,{[Uu.expandable]:e.isExpandable,[Uu.expanded]:e.isExpanded}),style:{"--level":e.depth,"--order":e.order},onClick:t=>e.devtools.handlePropertyClick(e,t),"data-fitted":e.isFitted,"data-depth":e.depthLine,children:[void 0===e.property?null:Ns.jsxDEV(Ns.Fragment,{children:[Ns.jsxDEV("span",{className:Uu.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/array.tsx",lineNumber:24,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/array.tsx",lineNumber:23,columnNumber:11},void 0),Ns.jsxDEV("span",{className:Uu.propertyValue,children:e.isExpanded?"[":e.isExpandable?"[...]":"[]"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/array.tsx",lineNumber:28,columnNumber:9},void 0),e.extraContent]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/array.tsx",lineNumber:10,columnNumber:7},void 0)),Wu=wo(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return Ns.jsxDEV("div",{className:zl(Uu.property,Uu.function),title:String(e.data),style:{"--level":e.depth,"--order":e.order},"data-fitted":e.isFitted,onClick:t=>e.devtools.handlePropertyClick(e,t),"data-depth":e.depthLine,children:[Ns.jsxDEV("span",{className:Uu.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/function.tsx",lineNumber:25,columnNumber:9},void 0),`(${t.join(", ")})`,e.extraContent]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/function.tsx",lineNumber:15,columnNumber:7},void 0)}),Hu=wo(({item:e})=>{const t=e.data.constructor.name;return Ns.jsxDEV("div",{className:zl(Uu.property,Uu.instance,Uu.expandable,{[Uu.expanded]:e.isExpanded}),style:{"--level":e.depth,"--order":e.order},onClick:t=>e.devtools.handlePropertyClick(e,t),"data-fitted":e.isFitted,"data-depth":e.depthLine,children:[void 0===e.property?null:Ns.jsxDEV(Ns.Fragment,{children:[Ns.jsxDEV("span",{className:Uu.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/instance.tsx",lineNumber:26,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/instance.tsx",lineNumber:25,columnNumber:11},void 0),Ns.jsxDEV("span",{className:Uu.propertyValue,children:`${t}`},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/instance.tsx",lineNumber:30,columnNumber:9},void 0),e.isExpanded&&Ns.jsxDEV(Ns.Fragment,{children:[" ","{"]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/instance.tsx",lineNumber:31,columnNumber:29},void 0),e.extraContent]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/instance.tsx",lineNumber:13,columnNumber:7},void 0)}),$u=wo(({item:e})=>Ns.jsxDEV("div",{className:zl(Uu.property,Uu.object,{[Uu.expandable]:e.isExpandable,[Uu.expanded]:e.isExpanded}),style:{"--level":e.depth,"--order":e.order},onClick:t=>e.devtools.handlePropertyClick(e,t),"data-fitted":e.isFitted,"data-depth":e.depthLine,children:[void 0===e.property?null:Ns.jsxDEV(Ns.Fragment,{children:[Ns.jsxDEV("span",{className:Uu.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/object.tsx",lineNumber:24,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/object.tsx",lineNumber:23,columnNumber:11},void 0),Ns.jsxDEV("span",{className:Uu.propertyValue,children:e.isExpanded?"{":e.isExpandable?"{...}":"{}"},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/object.tsx",lineNumber:28,columnNumber:9},void 0),e.extraContent]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/object.tsx",lineNumber:10,columnNumber:7},void 0)),Yu=wo(({item:e})=>Ns.jsxDEV("div",{className:zl(Uu.property,Uu.primitive,Uu[e.dataType],{[Uu.null]:null===e.data}),style:{"--level":e.depth,"--order":e.order},"data-fitted":e.isFitted,title:String(e.data),onClick:t=>e.devtools.handlePropertyClick(e,t),"data-depth":e.depthLine,children:[void 0===e.property?null:Ns.jsxDEV(Ns.Fragment,{children:[Ns.jsxDEV("span",{className:Uu.propertyName,children:e.property},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/primitive.tsx",lineNumber:24,columnNumber:13},void 0),": "]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/primitive.tsx",lineNumber:23,columnNumber:11},void 0),Ns.jsxDEV("span",{className:Uu.propertyValue,children:"symbol"===e.dataType?`Symbol(${Symbol.keyFor(e.data)||""})`:"string"===e.dataType?`"${e.data}"`:`${e.data}`},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/primitive.tsx",lineNumber:28,columnNumber:9},void 0),e.extraContent]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/primitive.tsx",lineNumber:10,columnNumber:7},void 0)),qu=wo(e=>{switch(e.item.type){case"array":return Ns.jsxDEV(Bu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/index.tsx",lineNumber:18,columnNumber:16},void 0);case"function":return Ns.jsxDEV(Wu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/index.tsx",lineNumber:20,columnNumber:16},void 0);case"instance":return Ns.jsxDEV(Hu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/index.tsx",lineNumber:22,columnNumber:16},void 0);case"object":return Ns.jsxDEV($u,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/index.tsx",lineNumber:24,columnNumber:16},void 0);case"primitive":return Ns.jsxDEV(Yu,{...e},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/propert-list-item-render/index.tsx",lineNumber:26,columnNumber:16},void 0)}}),Ku={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",vmContentControlPanelActions:"vmContentControlPanelActions_lONbA",vmContentInput:"vmContentInput_29GM1",filled:"filled_6JZa0",vmContentVirtualized:"vmContentVirtualized_lia62",gradientBlur:"gradientBlur_-y-re"},Gu="root_Xsw1F",Xu="treeItemHeader_9gR6Q",Qu="treeItemLabel_eiMgP",Ju="treeItemMetaText_cmfX0",Zu="treeItem_sRXPA",ec="vmTreeItem_t-7jc",tc="extraTreeItem_z3KA1",nc=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:o})=>Ns.jsxDEV("span",{onClick:n,className:zl(Ku.expandButton,{[Ku.expandable]:e,[Ku.expanded]:t,[Ku.disabled]:r}),children:(e||o)&&Ns.jsxDEV(Hl,{},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),rc=wo(({item:e})=>Ns.jsxDEV("div",{className:zl(Zu,ec),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:Ns.jsxDEV("header",{className:Xu,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[Ns.jsxDEV(nc,{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/vm-tree-item-render/index.tsx",lineNumber:20,columnNumber:9},void 0),Ns.jsxDEV("label",{className:Qu,title:e.displayName,children:e.displayName},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/index.tsx",lineNumber:25,columnNumber:9},void 0),Ns.jsxDEV("span",{className:Ju,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/vm-tree-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/vm-tree-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/vm-tree-item-render/index.tsx",lineNumber:10,columnNumber:5},void 0));class oc extends Ou{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(){return Object.keys(this.data||{}).map((e,t)=>Mu.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"),Bn(this),Et(()=>{this.expand()})}}const ic=wo(({item:e})=>Ns.jsxDEV("div",{className:zl(Zu,tc),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:Ns.jsxDEV("header",{className:Xu,children:[Ns.jsxDEV(nc,{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/extra-tree-item-render/index.tsx",lineNumber:20,columnNumber:11},void 0),Ns.jsxDEV("label",{className:Qu,title:e.displayName,children:e.displayName},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/extra-tree-item-render/index.tsx",lineNumber:25,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/extra-tree-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/extra-tree-item-render/index.tsx",lineNumber:11,columnNumber:7},void 0)),ac=wo(({className:e,headerContent:t,...n})=>{const r=ya();return Ns.jsxDEV("div",{...n,className:zl(Ku.vmContent,e),ref:r.contentRef,children:[Ns.jsxDEV("header",{className:Ku.vmContentHeader,children:[Ns.jsxDEV("div",{className:Ku.gradientBlur},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:37,columnNumber:11},void 0),Ns.jsxDEV("div",{className:Ku.vmContentHeaderTitle,children:[Ns.jsxDEV("img",{className:Ku.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:39,columnNumber:13},void 0),Ns.jsxDEV("span",{className:Ku.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:43,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:38,columnNumber:11},void 0),Ns.jsxDEV("div",{className:Ku.vmContentControlPanel,children:[Ns.jsxDEV("div",{className:Ku.vmContentControlPanelActions,children:Ns.jsxDEV(Vu,{onUpdate:r.devtools.handleChangePresentationMode,options:[{value:"tree",icon:$l},{value:"list",icon:Yl}],value:r.devtools.presentationMode},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:50,columnNumber:15},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:49,columnNumber:13},void 0),Ns.jsxDEV("div",{className:`${Ku.vmContentInput} ${r.devtools.searchEngine.isActive&&Ku.filled}`,children:[Ns.jsxDEV(ql,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:68,columnNumber:15},void 0),Ns.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:69,columnNumber:15},void 0),Ns.jsxDEV("button",{onClick:r.devtools.searchEngine.resetSearch,children:Ns.jsxDEV(Kl,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:75,columnNumber:17},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:74,columnNumber:15},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:65,columnNumber:13},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:48,columnNumber:11},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:36,columnNumber:9},void 0),Ns.jsxDEV("div",{className:Ku.vmContentVirtualized,children:Ns.jsxDEV(Tu,{ref:r.devtools.scrollListRef,itemSize:22,data:r.devtools.listItems,keepMounted:[0],children:e=>e instanceof ju?Ns.jsxDEV(rc,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:89,columnNumber:24},void 0):e instanceof oc?Ns.jsxDEV(ic,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:92,columnNumber:24},void 0):e instanceof Mu?Ns.jsxDEV(qu,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:96,columnNumber:19},void 0):e instanceof Ru?Ns.jsxDEV(Fu,{item:e},e.key,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:104,columnNumber:19},void 0):Ns.jsxDEV(Ns.Fragment,{},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:108,columnNumber:22},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:81,columnNumber:11},void 0)},void 0,!1,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:80,columnNumber:9},void 0)]},void 0,!0,{fileName:"/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",lineNumber:31,columnNumber:7},void 0)}),sc=wo(()=>{const e=ya();return Ns.jsxDEV(ac,{className:Gl,"data-position":e.devtools.position,headerContent:Ns.jsxDEV("button",{className:Xl,onClick:e.devtools.hidePopup,children:Ns.jsxDEV(Kl,{},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)});const lc=wa(class extends Ca{devtools=this.payload.devtools;contentRef=Zo({meta:{scrollbar:null},onSet(e){const t=new xs(e);this.meta={scrollbar:t}}})},({model:e})=>Ns.jsxDEV(ba,{value:e.devtools.vmStore,children:Ns.jsxDEV(sa,{value:e,children:[Ns.jsxDEV(Wl,{},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&&Ns.jsxDEV(sc,{},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 uc extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const cc=(e,...t)=>"function"==typeof e?e(...t):e;let dc=class{constructor(e){if(this.config=e,this.abortController=new uc(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"),Bn(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new uc;vn(()=>e.current,e=>{e?(globalThis.document?.activeElement===e&&this.activate(),e.addEventListener("focus",this.activate,{signal:t.signal}),e.addEventListener("blur",this.deactivate,{signal:t.signal})):(t.abort(),t=new uc(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 cc(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(!cc(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 fc extends dc{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 pc extends Ea{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}class hc{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=Zo({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)})}}),Bn(this,{rawSearchText:Ze.ref,formattedSearchText:Ze.ref,isActive:rt,segments:Ze,setSearchText:cn.bound})}}class mc{constructor(e){this.config=e,this.isPopupOpened=!!this.config.defaultIsOpened,this.displayType="popup",this.position=this.config.position??"top-right",this.vmStore=new pc,this.setExtras(this.config.extras),this.setStore(this.config.viewModels),this.presentationMode="tree",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=Zo(),this.scrollListRef=Zo(),this.keyboardHandler=new fc(this),this.searchEngine=new hc,Bn(this,{position:Ze.ref,isPopupOpened:Ze.ref,projectVmStore:Ze.ref,presentationMode:Ze.ref,extras:Ze.ref,setStore:cn.bound,setExtras:cn.bound,showPopup:cn.bound,hidePopup:cn.bound,handleChangePresentationMode: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;position;scrollListRef;anyCache=Ze.map();autoscrollTimeout;get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!Ca.isPrototypeOf(e.constructor))}get rootVmListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new ju(this,e,this.allVms))}get extraListItems(){return this.extras?[new oc(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()};expandAllVMs(){}collapseAllVms(){}showPopup(){this.isPopupOpened=!0,this.expandAllVMs()}hidePopup(){this.isPopupOpened=!1}init(){this.isInitialized||(this.isInitialized=!0,vn(()=>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)}))}isInitialized=!1;render(){let e=document.querySelector(`#${this.containerId}`);if(!e)if(e=document.createElement("div"),e.className=Gu,e.id=this.containerId,document.body){document.body.appendChild(e);Cs.createRoot(e).render(s.createElement(lc,{payload:{devtools:this}}))}else document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e);Cs.createRoot(e).render(s.createElement(lc,{payload:{devtools:this}}))});this.init()}static _instance=null;static define(e){return mc._instance||(mc._instance=new mc(e??{})),mc._instance}static connect(e,t){const n=mc.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=mc.define();return t.setStore(e),t}static connectExtras(e){const t=mc.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:mc}),mc.define({position:"top-right",defaultIsOpened:!0}),mc.connectExtras(window),ca.hooks.storeCreate.sub(e=>{pc!==e.constructor&&mc.connect(e)})});
|
|
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}.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-inactive-color: #8b8b8b;--vmd-control-border: #5b5468a6;--vmd-control-bg: transparent;--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}.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}.vmContentControlPanelActions_lONbA{display:flex;flex-direction:row;align-items:center;gap:6px}.hiearchyToggleButton_0FTG-{display:flex}.vmContentInput_29GM1{display:flex;position:relative;flex:1}.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>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")}},A=Object.assign,P={};function j(e,t,n){this.props=e,this.context=t,this.refs=P,this.updater=n||N}Object.freeze(P),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=P,this.updater=n||N}I.prototype=j.prototype;var V=z.prototype=new I;V.constructor=z,A(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=A({},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:A({},e,{value:pe}),info:A({},e,{value:he}),warn:A({},e,{value:me}),error:A({},e,{value:ve}),group:A({},e,{value:ge}),groupCollapsed:A({},e,{value:ye}),groupEnd:A({},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,Ae={},Pe=S.ReactDebugCurrentFrame;function je(e){if(e){var t=e._owner,n=Re(e.type,e._source,t?t.type:null);Pe.setExtraStackFrame(n)}else Pe.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 Ae)&&(Ae[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 A(){}A.__reactDisabledLog=!0;var P,j=g.ReactCurrentDispatcher;function M(e,t,n){if(void 0===P)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);P=r&&r[1]||""}return"\n"+P+e}var 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:A,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 A=function(){};function P(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=A),void 0===n&&(n=A);var r,o=new ue(e);return t!==A&&wn(gn,o,t,r),n!==A&&bn(o,n),o}var fe={structural:function(e,t){return Ir(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 Pn(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)?Rn(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_;P(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=Rn(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_;P(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=Rn(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=hr(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 Ae(e,t){return{annotationType_:e,options_:t,make_:Pe,extend_:je,decorate_20223_:Me}}function Pe(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=hr(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?Rn.bound:Rn).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=Ae("observable"),He=Ae("observable.ref",{enhancer:he}),$e=Ae("observable.shallow",{enhancer:function(e,t,n){return null==e||gr(e)||er(e)||ir(e)||ur(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=Ae("observable.struct",{enhancer:function(e,t){return Pn(e)&&v("observable.struct should not be used with observable values"),Ir(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):Pn(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?Nr:qn)(e,Ke(n),n.name)},map:function(e,t){var n=Be(t);return new or(e,Ke(n),n.name)},set:function(e,t){var n=Be(t);return new lr(e,Ke(n),n.name)},object:function(e,t,n){return Mr(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");ir(e)&&v("'extendObservable' should not be used on maps, use map.merge instead");D(t)||v("'extendObservable' only accepts plain objects as second argument");(Pn(t)||Pn(n))&&v("Extending an object with another observable (object) is not supported");var o=q(t);return Mr(function(){var t=hr(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)?hr({},n):function(e,t){var n,r;return T(),e=hr(e,t),null!=(r=(n=e[le]).proxy_)?r:n.proxy_=new Proxy(e,Dn)}({},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));P(e)||v("First argument to `computed` should be an expression."),P(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),P(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:Hn,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),n&&en()}},n.prepareNewValue_=function(e){if(_t(this),Ln(this)){var t=zn(this,{object:this,type:Hn,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(),Vn(this)&&Fn(this,{type:Hn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return In(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Hn,newValue:this.value_,oldValue:void 0}),Un(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 function(e,t){var n,r,o,i;void 0===t&&(t=S);P(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){var l=mn(t),u=!1;a=new Ht(s,function(){u||(u=!0,l(function(){u=!1,a.isDisposed||a.track(c)}))},t.onError,t.requiresObservable)}else a=new Ht(s,function(){this.track(c)},t.onError,t.requiresObservable);function c(){e(a)}null!=(o=t)&&null!=(o=o.signal)&&o.aborted||a.schedule_();return a.getDisposer_(null==(i=t)?void 0:i.signal)}(function(){var i=n.get();if(!r||t){var a=Ct();e({observableKind:"computed",debugObjectName:n.name_,type:Hn,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 At=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},Pt=!0,jt=!1,Mt=function(){var e=y();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Pt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new At).version&&(Pt=!1),Pt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new At):(setTimeout(function(){jt||v(35)},1),new At)}();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(kn(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 P(t)?lt(t.name||rn,t,e):P(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 P(e)&&!0===e.isMobxAction}Object.assign(dn,sn),cn.bound=oe(an),dn.bound=oe(ln);var hn=function(e){return e()};function mn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:hn}function vn(e,t,n){var r,o,i;void 0===n&&(n=S),P(e)&&P(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=mn(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 gn="onBO",yn="onBUO";function bn(e,t,n){return wn(yn,e,t,n)}function wn(e,t,n,r){var o=Ar(t),i=P(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 xn="always";function _n(e){!0===e.isolateGlobalState&&function(){if((Mt.pendingReactions.length||Mt.inBatch||Mt.isRunningReactions)&&v(36),jt=!0,Pt){var e=y();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Mt=new At}}();var t,n,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(Mt.useProxies=r===xn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(Mt.verifyProxies=!0),void 0!==o){var i=o===xn?xn:"observed"===o;Mt.enforceActions=i,Mt.allowStateChanges=!0!==i&&i!==xn}["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 kn(e,t){return Sn(Ar(e,t))}function Sn(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(Sn)),n}var En=0;function Cn(){this.message="FLOW_CANCELLED"}Cn.prototype=Object.create(Error.prototype);var Tn=_e("flow"),On=_e("flow.bound",{bound:!0}),Rn=Object.assign(function(e,t){if(ae(t))return Tn.decorate_20223_(e,t);if(j(t))return ie(e,t,Tn);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=++En,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(!P(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&&Nn(a);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(A,A),Nn(n),e(new Cn)}catch(r){e(r)}}),s};return o.isMobXFlow=!0,o},Tn);function Nn(e){P(e.cancel)&&e.cancel()}function An(e){return!0===(null==e?void 0:e.isMobXFlow)}function Pn(e){return 1!==arguments.length&&v("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e){return!!e&&(gr(e)||!!e[le]||ce(e)||Gt(e)||yt(e))}(e)}function jn(e,t){void 0===t&&(t=void 0),zt();try{return e.apply(t)}finally{Vt()}}function Mn(e){return e[le]}Rn.bound=oe(On);var Dn={has:function(e,t){return Mt.trackingDerivation&&O("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),Mn(e).has_(t)},get:function(e,t){return Mn(e).get_(t)},set:function(e,t,n){var r;return!!j(t)&&(Mn(e).values_.has(t)||O("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(r=Mn(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=Mn(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=Mn(e).defineProperty_(t,n))||r},ownKeys:function(e){return Mt.trackingDerivation&&O("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),Mn(e).ownKeys_()},preventExtensions:function(e){v(13)}};function Ln(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function In(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 zn(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 Vn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Un(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 Fn(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 Bn(e,t,n){return Mr(function(){var r=hr(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 Wn="splice",Hn="update",$n={get:function(e,t){var n=e[le];return t===le?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?Y(Kn,t)?Kn[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)}},Yn=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 In(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}),Un(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&&Rr(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),Ln(this)){var i=zn(this,{object:this.proxy_,type:Wn,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=Vn(this),i=o||r?{observableKind:"array",object:this.proxy_,type:Hn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;r&&Jt(i),this.atom_.reportChanged(),o&&Fn(this,i),r&&en()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&Xt(),o=Vn(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Wn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;r&&Jt(i),this.atom_.reportChanged(),o&&Fn(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(Ln(this)){var o=zn(this,{type:Hn,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 qn(e,t,n,r){return void 0===n&&(n="ObservableArray@"+R()),void 0===r&&(r=!1),T(),Mr(function(){var o=new Yn(n,t,r,!1);z(o.values_,le,o);var i=new Proxy(o.values_,$n);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i})}var Kn={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 Gn(e,t){"function"==typeof Array.prototype[e]&&(Kn[e]=t(e))}function Xn(e){return function(){var t=this[le];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Qn(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 Jn(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)}}Gn("at",Xn),Gn("concat",Xn),Gn("flat",Xn),Gn("includes",Xn),Gn("indexOf",Xn),Gn("join",Xn),Gn("lastIndexOf",Xn),Gn("slice",Xn),Gn("toString",Xn),Gn("toLocaleString",Xn),Gn("toSorted",Xn),Gn("toSpliced",Xn),Gn("with",Xn),Gn("every",Qn),Gn("filter",Qn),Gn("find",Qn),Gn("findIndex",Qn),Gn("findLast",Qn),Gn("findLastIndex",Qn),Gn("flatMap",Qn),Gn("forEach",Qn),Gn("map",Qn),Gn("some",Qn),Gn("toReversed",Qn),Gn("reduce",Jn),Gn("reduceRight",Jn);var Zn=V("ObservableArrayAdministration",Yn);function er(e){return M(e)&&Zn(e[le])}var tr={},nr="add",rr="delete",or=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]=tr,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,P(Map)||v(18),Mr(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),bn(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Ln(this)){var r=zn(this,{type:n?Hn:nr,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_),Ln(this))&&!zn(this,{type:rr,object:this,name:e}))return!1;if(this.has_(e)){var n=Xt(),r=Vn(this),o=r||n?{observableKind:"map",debugObjectName:this.name_,type:rr,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return n&&Jt(o),jn(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&&Fn(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=Vn(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:Hn,object:this,oldValue:n.value_,name:e,newValue:t}:null;r&&Jt(i),n.setNewValue_(t),o&&Fn(this,i),r&&en()}},t.addValue_=function(e,t){var n=this;_t(this.keysAtom_),jn(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=Vn(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:nr,object:this,name:e,newValue:t}:null;r&&Jt(i),o&&Fn(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 ar({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 ar({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 ir(e)&&(e=new Map(e)),jn(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;jn(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 jn(function(){for(var n,r=function(e){if(U(e)||ir(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."),Un(this,e)},t.intercept_=function(e){return In(this,e)},Q(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),ir=V("ObservableMap",or);function ar(e){return e[Symbol.toStringTag]="MapIterator",Fr(e)}var sr={},lr=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]=sr,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,P(Set)||v(22),this.enhancer_=function(e,r){return t(e,r,n)},Mr(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;jn(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_),Ln(this)){var n=zn(this,{type:nr,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){jn(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r=Xt(),o=Vn(this),i=o||r?{observableKind:"set",debugObjectName:this.name_,type:nr,object:this,newValue:e}:null;r&&Jt(i),o&&Fn(this,i),r&&en()}return this},t.delete=function(e){var t=this;if(Ln(this)&&!zn(this,{type:rr,object:this,oldValue:e}))return!1;if(this.has(e)){var n=Xt(),r=Vn(this),o=r||n?{observableKind:"set",debugObjectName:this.name_,type:rr,object:this,oldValue:e}:null;return n&&Jt(o),jn(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&Fn(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 cr({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 cr({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)&&!ur(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return F(e)&&!ur(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)&&!ur(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)&&!ur(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return ur(e)&&(e=new Set(e)),jn(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."),Un(this,e)},t.intercept_=function(e){return In(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"}}])}(),ur=V("ObservableSet",lr);function cr(e){return e[Symbol.toStringTag]="SetIterator",Fr(e)}var dr=Object.create(null),fr="remove",pr=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_),Wr(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(Ln(this)){var r=zn(this,{type:Hn,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=Vn(this),i=Xt(),a=o||i?{type:Hn,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&&Fn(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(br(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)}yr(this,t,e)}},t.extend_=function(e,t,n,r){if(void 0===r&&(r=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,r);br(this,n,e);var o=n.extend_(this,e,t,r);return o&&yr(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(Ln(this)){var o=zn(this,{object:this.proxy_||this.target_,name:e,type:nr,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(Ln(this)){var i=zn(this,{object:this.proxy_||this.target_,name:e,type:nr,newValue:t});if(!i)return null;t=i.newValue}var a=vr(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(Ln(this))if(!zn(this,{object:this.proxy_||this.target_,name:e,type:nr,newValue:void 0}))return null;t.name||(t.name=this.name_+"."+e.toString()),t.context=this.proxy_||this.target_;var o=vr(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(Ln(this)&&!zn(this,{object:this.proxy_||this.target_,name:e,type:fr}))return null;try{var n;zt();var r,o=Vn(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:fr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};i&&Jt(l),o&&Fn(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."),Un(this,e)},t.intercept_=function(e){return In(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=Vn(this),o=Xt();if(r||o){var i=r||o?{type:nr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;o&&Jt(i),r&&Fn(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 hr(e,t){var n;if(t&&gr(e)&&v("Options can't be provided for already observable objects."),Y(e,le))return Pr(e)instanceof pr||v("Cannot convert '"+jr(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 pr(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 mr=V("ObservableObjectAdministration",pr);function vr(e){return dr[e]||(dr[e]={get:function(){return this[le].getObservablePropValue_(e)},set:function(t){return this[le].setObservablePropValue_(e,t)}})}function gr(e){return!!M(e)&&mr(e[le])}function yr(e,t,n){var r;e.appliedAnnotations_[n]=t,null==(r=e.target_[re])||delete r[n]}function br(e,t,n){if(Wr(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 wr,xr,_r=Tr(0),kr=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Sr=0,Er=function(){};wr=Er,xr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(wr.prototype,xr):void 0!==wr.prototype.__proto__?wr.prototype.__proto__=xr:wr.prototype=xr;var Cr=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,Mr(function(){var e=new Yn(r,n,o,!0);e.proxy_=i,z(i,le,e),t&&t.length&&i.spliceWithArray(0,0,t),kr&&Object.defineProperty(i,"0",_r)}),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 er(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return Fr({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"}}])}(Er);function Tr(e){return{enumerable:!1,configurable:!0,get:function(){return this[le].get_(e)},set:function(t){this[le].set_(e,t)}}}function Or(e){x(Cr.prototype,""+e,Tr(e))}function Rr(e){if(e>Sr){for(var t=Sr;t<e+100;t++)Or(t);Sr=e}}function Nr(e,t,n){return new Cr(e,t,n)}function Ar(e,t){if("object"==typeof e&&null!==e){if(er(e))return void 0!==t&&v(23),e[le].atom_;if(ur(e))return e.atom_;if(ir(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||v(25,t,jr(e)),n}if(gr(e)){if(!t)return v(26);var r=e[le].values_.get(t);return r||v(27,t,jr(e)),r}if(ce(e)||yt(e)||Gt(e))return e}else if(P(e)&&Gt(e[le]))return e[le];v(28)}function Pr(e,t){return e||v(29),ce(e)||yt(e)||Gt(e)||ir(e)||ur(e)?e:e[le]?e[le]:void v(24,e)}function jr(e,t){var n;if(void 0!==t)n=Ar(e,t);else{if(pn(e))return e.name;n=gr(e)||ir(e)||ur(e)?Pr(e):Ar(e)}return n.name_}function Mr(e){var t=Ct(),n=ct(!0);zt();try{return e()}finally{Vt(),dt(n),Tt(t)}}Object.entries(Kn).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&I(Cr.prototype,t,n)}),Rr(1e3);var Dr,Lr=_.toString;function Ir(e,t,n){return void 0===n&&(n=-1),zr(e,t,n)}function zr(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=Lr.call(e);if(a!==Lr.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=Vr(e),t=Vr(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&&!(P(l)&&l instanceof l&&P(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(!zr(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)||!zr(e[h],t[h],n-1,r,o))return!1}}return r.pop(),o.pop(),!0}function Vr(e){return er(e)?e.slice():U(e)||ir(e)||F(e)||ur(e)?Array.from(e.entries()):e}var Ur=(null==(Dr=y().Iterator)?void 0:Dr.prototype)||{};function Fr(e){return e[Symbol.iterator]=Br,Object.assign(Object.create(Ur),e)}function Br(){return this}function Wr(e){return e instanceof Object&&"string"==typeof e.annotationType_&&P(e.make_)&&P(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:jr},$mobx:le}),!s.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!Bn)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var Hr,$r,Yr,qr,Kr={exports:{}},Gr={},Xr={exports:{}},Qr={};function Jr(){return Hr||(Hr=1,e=Qr,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,P(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,A=N.port2;N.port1.onmessage=R,O=function(){A.postMessage(null)}}else O=function(){v(R,0)};function P(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,P(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,P(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)}()),Qr;var e}function Zr(){return Yr||(Yr=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=($r||($r=1,Xr.exports=Jr()),Xr.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 A(e),!1}catch(t){return!0}}function A(e){return""+e}function P(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)),A(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)),A(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];P(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 P(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):(P(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="":(P(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 Ae(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 Pe(e,t,n){return Ae(e,!1)}function je(e,t,n){if(null==e)return"";if("function"==typeof e)return Ae(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 Pe(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 Pe(e.type);case u:return Pe(e.type.render);case 1:return function(e){return Ae(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;P(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 At(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var Pt="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 Pt}}function Dt(e,t){return null==e||e===Pt?Mt(t):e===jt&&"foreignObject"===t?Pt: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)),A(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,An=null,Pn=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){An?Pn?Pn.push(e):Pn=[e]:An=e}function Dn(){if(An){var e=An,t=Pn;if(An=null,Pn=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!==An||null!==Pn)&&(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?Ar(t):null}function Ar(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=Ar(t);if(null!==n)return n;t=t.sibling}return null}function Pr(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,Yr=t.unstable_yieldValue,qr=t.unstable_setDisableYieldValue,Kr=null,Qr=null,Zr=null,eo=!1,to="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function no(e){if("function"==typeof Yr&&(qr(e),r=e),Qr&&"function"==typeof Qr.setStrictMode)try{Qr.setStrictMode(Kr,e)}catch(t){eo||(eo=!0,i("React instrumentation encountered an error: %s",t))}}function ro(e){Zr=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!==Zr&&"function"==typeof Zr.markCommitStopped&&Zr.markCommitStopped()}function ao(e){null!==Zr&&"function"==typeof Zr.markComponentRenderStarted&&Zr.markComponentRenderStarted(e)}function so(){null!==Zr&&"function"==typeof Zr.markComponentRenderStopped&&Zr.markComponentRenderStopped()}function lo(e){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectMountStarted&&Zr.markComponentPassiveEffectMountStarted(e)}function uo(){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectMountStopped&&Zr.markComponentPassiveEffectMountStopped()}function co(e){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectUnmountStarted&&Zr.markComponentPassiveEffectUnmountStarted(e)}function fo(){null!==Zr&&"function"==typeof Zr.markComponentPassiveEffectUnmountStopped&&Zr.markComponentPassiveEffectUnmountStopped()}function po(e){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectMountStarted&&Zr.markComponentLayoutEffectMountStarted(e)}function ho(){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectMountStopped&&Zr.markComponentLayoutEffectMountStopped()}function mo(e){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectUnmountStarted&&Zr.markComponentLayoutEffectUnmountStarted(e)}function vo(){null!==Zr&&"function"==typeof Zr.markComponentLayoutEffectUnmountStopped&&Zr.markComponentLayoutEffectUnmountStopped()}function go(e,t,n){null!==Zr&&"function"==typeof Zr.markComponentErrored&&Zr.markComponentErrored(e,t,n)}function yo(e,t,n){null!==Zr&&"function"==typeof Zr.markComponentSuspended&&Zr.markComponentSuspended(e,t,n)}function bo(e){null!==Zr&&"function"==typeof Zr.markRenderStarted&&Zr.markRenderStarted(e)}function wo(){null!==Zr&&"function"==typeof Zr.markRenderStopped&&Zr.markRenderStopped()}function xo(e,t){null!==Zr&&"function"==typeof Zr.markStateUpdateScheduled&&Zr.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,Ao=16,Po=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&Ao?"Default":e&Po?"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 Ao:return Ao;case Po:return Po;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===Ao&&0!==(d&jo))return t}0!==(r&Ro)&&(r|=n&Ao);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 Ao:case Po: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|Ao))}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 Ai(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 Pi,ji,Mi,Di,Li,Ii=To,zi=Ro,Vi=Ao,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){Pi(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,Aa,Pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ja=Oa(Pa),Ma=_e({},Pa,{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!==Aa&&(Aa&&"mousemove"===e.type?(Ra=e.screenX-Aa.screenX,Na=e.screenY-Aa.screenY):(Ra=0,Na=0),Aa=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({},Pa,{animationName:0,elapsedTime:0,pseudoElement:0})),Fa=Oa(_e({},Pa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ba=Oa(_e({},Pa,{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({},Pa,{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 As(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 Ps(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)&&(Ps(e,t,n,r,o),As(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,Al,Pl,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,Al=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)))}},Pl=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===Pt?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)),A(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),At(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===Pt&&(l=Mt(e)),l===Pt){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===Pt&&(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 Au(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 Pu(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&&Al(p,g,b)}}else if(p===Bl){if(l.delete(p),Ml){var w=rn(h);w!==(m=e.getAttribute("style"))&&Al(p,m,w)}}else if(s)l.delete(p.toLowerCase()),h!==(m=J(e,p,h))&&Al(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(_===Pt&&(_=Mt(t)),_===Pt)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||Al(p,m,h)}}}switch(a&&l.size>0&&!0!==n[Vl]&&Pl(l),t){case"input":et(e),ft(e,n,!0);break;case"textarea":et(e),At(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 Ac=null,Pc=!1,jc=!1;function Mc(e){null===Ac?Ac=[e]:Ac.push(e)}function Dc(){Pc&&Lc()}function Lc(){if(!jc&&null!==Ac){jc=!0;var e=0,t=Bi();try{var n=Ac;for(Wi(Ii);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}Ac=null,Pc=!1}catch(o){throw null!==Ac&&(Ac=Ac.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=[],Ad=[],Pd=[],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&&Ad.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Pd.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;Ad.length>0&&(Ad.forEach(function(e){r.add(Ve(e)||"Component"),Md.add(e.type)}),Ad=[]);var a=new Set;Pd.length>0&&(Pd.forEach(function(e){a.add(Ve(e)||"Component"),Md.add(e.type)}),Pd=[]);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=[],Ad=[],Pd=[],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)),A(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 Af(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 Pf(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,Pf(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=Ah: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=Ph,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 Ap(e,t){return"function"==typeof t?t(e):t}function Pp(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:Ap,lastRenderedState:e};t.queue=n;var r=n.dispatch=kh.bind(null,up,n);return[t.memoizedState,r]}function Wp(e){return jp(Ap)}function Hp(e){return Mp(Ap)}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|Ao)))){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,Ah=null,Ph=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 Pp(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 Pp(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},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=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},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=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 Pp(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!==Zr&&"function"==typeof Zr.markForceUpdateScheduled&&Zr.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),Af(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&&Ab(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 Am(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 Pm(e,t,n,r,o){if(n.flags|=dr,to&&Ab(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,Am(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),Am(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(Af(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(Af(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 Ao: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=Po;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),Af(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 A=ep(N);if(null!==A){O=!0,t.flags|=rr,Tv(T,!1);var P=A.updateQueue;return null!==P&&(t.updateQueue=P,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 Av(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 Pv(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(Qr&&"function"==typeof Qr.onCommitFiberUnmount)try{Qr.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?Au(e.parentNode,t):1===e.nodeType&&Au(e,t),ca(e)}(lg,n.stateNode):Au(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.");Ab(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?Pu(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),Pg(n,t),$e();var r=n.child;null!==r?(r.return=n,Iv=r):Ag(e)}}function Ag(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 Pg(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,Ay=0,Py=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(Ay>Ny)throw Ay=0,Py=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!==Pb){var s,l;if(null!=n&&Mb(n),o===To)0===e.tag?(null!==$g.isBatchingLegacy&&($g.didScheduleLegacyUpdate=!0),l=Qy.bind(null,e),Pc=!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&&(Ab(e,iy),o.clear()),Ai(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!==Zr&&"function"==typeof Zr.markRenderYielded&&Zr.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;Pv(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),Pm(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&&(Ab(e,iy),o.clear()),Ai(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=Av(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!==Zr&&"function"==typeof Zr.markCommitStarted&&Zr.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!==Zr&&"function"==typeof Zr.markLayoutEffectsStarted&&Zr.markLayoutEffectsStarted(e)}(a),gg(o,e,a),null!==Zr&&"function"==typeof Zr.markLayoutEffectsStopped&&Zr.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(Qr&&"function"==typeof Qr.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}Qr.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===Py?Ay++:(Ay=0,Py=e)):Ay=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!==Zr&&"function"==typeof Zr.markPassiveEffectsStarted&&Zr.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!==Zr&&"function"==typeof Zr.markPassiveEffectsStopped&&Zr.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(Qr&&"function"==typeof Qr.onPostCommitFiberRoot)try{Qr.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(),Pv(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 Ab(e,t){to&&e.memoizedUpdaters.forEach(function(n){Ni(e,n,t)})}Rb=new Set;var Pb={};function jb(e,t){var n=$g.current;return null!==n?(n.push(t),Pb):Mr(e,t)}function Mb(e){if(e!==Pb)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)),A(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(Qr&&"function"==typeof Qr.onScheduleFiberRoot)try{Qr.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!==Zr&&"function"==typeof Zr.markRenderScheduled&&Zr.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=Pr(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,Aw,Pw,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)},Aw=function(e){var t=vf(e,To);null!==t&&$y(t,e,To,ii)},Pw=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;Pi=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),Qr=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:Pw,setSuspenseHandler:jw,scheduleUpdate:Aw,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")}Gr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ax,Gr.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)},Gr.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)},Gr.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")},Gr.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)},Gr.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)},Gr.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)},Gr.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)},Gr.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},Gr.unstable_batchedUpdates=Jy,Gr.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)},Gr.version=pw,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Gr}function eo(){return qr||(qr=1,Kr.exports=Zr()),Kr.exports}var to=eo();function no(e){e()}function ro(e){return kn(e)}var oo,io,ao=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}(),so=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:ao)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),lo={exports:{}},uo={};var co,fo,po=(io||(io=1,lo.exports=(oo||(oo=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};uo.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())}()),uo)),lo.exports);function ho(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 mo=!0,vo="function"==typeof Symbol&&Symbol.for,go=null!==(fo=null===(co=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===co?void 0:co.configurable)&&void 0!==fo&&fo,yo=vo?Symbol.for("react.forward_ref"):"function"==typeof s.forwardRef&&s.forwardRef(function(e){return null}).$$typeof,bo=vo?Symbol.for("react.memo"):"function"==typeof s.memo&&s.memo(function(e){return null}).$$typeof;function wo(e,t){if(bo&&e.$$typeof===bo)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(yo&&e.$$typeof===yo&&(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 so.unregister(r),r.onStoreChange=e,r.reaction||(ho(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||(ho(a),so.register(n,a,a)),l.useDebugValue(a.reaction,ro),po.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,go&&Object.defineProperty(u,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(u.contextTypes=e.contextTypes,mo&&(mo=!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){_o[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 xo,_o={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};(xo=to.unstable_batchedUpdates)||(xo=no,console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),_n({reactionScheduler:xo}),so.finalizeAllImmediately;const ko=(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},So="null",Eo="undefined",Co="nan",To="[object Object]",Oo="[object Array]",Ro="[object String]",No="[object Number]",Ao="[object Boolean]",Po="[object Function]",jo="[object AsyncFunction]",Mo="[object RegExp]",Do="[object Symbol]",Lo="infinite",Io="element";const zo=(...e)=>t=>e.includes(function(e){if(void 0===e)return Eo;if(null===e)return So;if(e&&(1===e.nodeType||9===e.nodeType))return Io;const t=Object.prototype.toString.call(e);if(t===No){if(Number.isNaN(e))return Co;if(!Number.isFinite(e))return Lo}return t}(t)),Vo=zo(So),Uo=zo(Eo),Fo=zo(To),Bo=zo(Oo),Wo=zo(Ro),Ho=zo(No),$o=zo(Ao),Yo=zo(Po,jo),qo=zo(Mo),Ko=zo(Io),Go=zo(Co),Xo=zo(Lo),Qo=zo(Do),Jo=Object.freeze(Object.defineProperty({__proto__:null,isArray:Bo,isBoolean:$o,isDefined:e=>null!=e,isElement:Ko,isFunction:Yo,isInfinite:Xo,isNaN:Go,isNull:Vo,isNumber:Ho,isObject:Fo,isRegExp:qo,isString:Wo,isSymbol:Qo,isUndefined:Uo},Symbol.toStringTag,{value:"Module"})),Zo=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??{},Bn(r,{current:Ze.ref,meta:Ze}),r},ei=(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:ti,setPrototypeOf:ni,isFrozen:ri,getPrototypeOf:oi,getOwnPropertyDescriptor:ii}=Object;let{freeze:ai,seal:si,create:li}=Object,{apply:ui,construct:ci}="undefined"!=typeof Reflect&&Reflect;ai||(ai=function(e){return e}),si||(si=function(e){return e}),ui||(ui=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)}),ci||(ci=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 di=Ci(Array.prototype.forEach),fi=Ci(Array.prototype.lastIndexOf),pi=Ci(Array.prototype.pop),hi=Ci(Array.prototype.push),mi=Ci(Array.prototype.splice),vi=Ci(String.prototype.toLowerCase),gi=Ci(String.prototype.toString),yi=Ci(String.prototype.match),bi=Ci(String.prototype.replace),wi=Ci(String.prototype.indexOf),xi=Ci(String.prototype.trim),_i=Ci(Object.prototype.hasOwnProperty),ki=Ci(RegExp.prototype.test),Si=(Ei=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ci(Ei,t)});var Ei;function Ci(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 ui(e,t,r)}}function Ti(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vi;ni&&ni(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(ri(t)||(t[r]=e),o=e)}e[o]=!0}return e}function Oi(e){for(let t=0;t<e.length;t++){_i(e,t)||(e[t]=null)}return e}function Ri(e){const t=li(null);for(const[n,r]of ti(e)){_i(e,n)&&(Array.isArray(r)?t[n]=Oi(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Ri(r):t[n]=r)}return t}function Ni(e,t){for(;null!==e;){const n=ii(e,t);if(n){if(n.get)return Ci(n.get);if("function"==typeof n.value)return Ci(n.value)}e=oi(e)}return function(){return null}}const Ai=ai(["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"]),Pi=ai(["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=ai(["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"]),Mi=ai(["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"]),Di=ai(["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"]),Li=ai(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ii=ai(["#text"]),zi=ai(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Vi=ai(["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"]),Ui=ai(["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"]),Fi=ai(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Bi=si(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Wi=si(/<%[\w\W]*|[\w\W]*%>/gm),Hi=si(/\$\{[\w\W]*/gm),$i=si(/^data-[\-\w.\u00B7-\uFFFF]+$/),Yi=si(/^aria-[\-\w]+$/),qi=si(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ki=si(/^(?:\w+script|data):/i),Gi=si(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Xi=si(/^html$/i),Qi=si(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ji=Object.freeze({__proto__:null,ARIA_ATTR:Yi,ATTR_WHITESPACE:Gi,CUSTOM_ELEMENT:Qi,DATA_ATTR:$i,DOCTYPE_NAME:Xi,ERB_EXPR:Wi,IS_ALLOWED_URI:qi,IS_SCRIPT_OR_DATA:Ki,MUSTACHE_EXPR:Bi,TMPLIT_EXPR:Hi});const Zi=1,ea=3,ta=7,na=8,ra=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!==ra||!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=Ni(m,"cloneNode"),g=Ni(m,"remove"),y=Ni(m,"nextSibling"),b=Ni(m,"childNodes"),w=Ni(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 ti&&"function"==typeof w&&k&&void 0!==k.createHTMLDocument;const{MUSTACHE_EXPR:R,ERB_EXPR:N,TMPLIT_EXPR:A,DATA_ATTR:P,ARIA_ATTR:j,IS_SCRIPT_OR_DATA:M,ATTR_WHITESPACE:D,CUSTOM_ELEMENT:L}=Ji;let{IS_ALLOWED_URI:I}=Ji,z=null;const V=Ti({},[...Ai,...Pi,...ji,...Di,...Ii]);let U=null;const F=Ti({},[...zi,...Vi,...Ui,...Fi]);let B=Object.seal(li(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(li(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=Ti({},["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=Ti({},["audio","video","img","source","image","track"]);let pe=null;const he=Ti({},["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=Ti({},[me,ve,ge],gi);let _e=Ti({},["mi","mo","mn","ms","mtext"]),ke=Ti({},["annotation-xml"]);const Se=Ti({},["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},Ae=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Oe||Oe!==e){if(e&&"object"==typeof e||(e={}),e=Ri(e),Ee=-1===Ce.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Te="application/xhtml+xml"===Ee?gi:vi,z=_i(e,"ALLOWED_TAGS")?Ti({},e.ALLOWED_TAGS,Te):V,U=_i(e,"ALLOWED_ATTR")?Ti({},e.ALLOWED_ATTR,Te):F,we=_i(e,"ALLOWED_NAMESPACES")?Ti({},e.ALLOWED_NAMESPACES,gi):xe,pe=_i(e,"ADD_URI_SAFE_ATTR")?Ti(Ri(he),e.ADD_URI_SAFE_ATTR,Te):he,de=_i(e,"ADD_DATA_URI_TAGS")?Ti(Ri(fe),e.ADD_DATA_URI_TAGS,Te):fe,ue=_i(e,"FORBID_CONTENTS")?Ti({},e.FORBID_CONTENTS,Te):ce,W=_i(e,"FORBID_TAGS")?Ti({},e.FORBID_TAGS,Te):Ri({}),H=_i(e,"FORBID_ATTR")?Ti({},e.FORBID_ATTR,Te):Ri({}),le=!!_i(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||qi,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=Ti({},Ii),U=[],!0===le.html&&(Ti(z,Ai),Ti(U,zi)),!0===le.svg&&(Ti(z,Pi),Ti(U,Vi),Ti(U,Fi)),!0===le.svgFilters&&(Ti(z,ji),Ti(U,Vi),Ti(U,Fi)),!0===le.mathMl&&(Ti(z,Di),Ti(U,Ui),Ti(U,Fi))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?$.tagCheck=e.ADD_TAGS:(z===V&&(z=Ri(z)),Ti(z,e.ADD_TAGS,Te))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?$.attributeCheck=e.ADD_ATTR:(U===F&&(U=Ri(U)),Ti(U,e.ADD_ATTR,Te))),e.ADD_URI_SAFE_ATTR&&Ti(pe,e.ADD_URI_SAFE_ATTR,Te),e.FORBID_CONTENTS&&(ue===ce&&(ue=Ri(ue)),Ti(ue,e.FORBID_CONTENTS,Te)),ae&&(z["#text"]=!0),J&&Ti(z,["html","head","body"]),z.table&&(Ti(z,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Si('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Si('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(""));ai&&ai(e),Oe=e}},Pe=Ti({},[...Pi,...ji,...Mi]),je=Ti({},[...Di,...Li]),Me=function(e){hi(n.removed,{element:e});try{w(e).removeChild(e)}catch(t){g(e)}},De=function(e,t){try{hi(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(r){hi(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=yi(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){di(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)&&ki(/<[/\w!]/g,e.innerHTML)&&ki(/<[/\w!]/g,e.textContent))return Me(e),!0;if(e.nodeType===ta)return Me(e),!0;if(Q&&e.nodeType===na&&ki(/<[/\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&&ki(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=vi(e.tagName),r=vi(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(Pe[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]||!Pe[n]):!("application/xhtml+xml"!==Ee||!we[e.namespaceURI]))}(e)?(Me(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!ki(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===ea&&(t=e.textContent,di([R,N,A],e=>{t=bi(t,e," ")}),e.textContent!==t&&(hi(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]&&ki(P,t));else if(Y&&ki(j,t));else if($.attributeCheck instanceof Function&&$.attributeCheck(t,e));else if(!U[t]||H[t]){if(!(We(e)&&(B.tagNameCheck instanceof RegExp&&ki(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&ki(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t,e))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&ki(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(pe[t]);else if(ki(I,bi(n,D,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==wi(n,"data:")||!de[e]){if(K&&!ki(M,bi(n,D,"")));else if(n)return!1}else;return!0},We=function(e){return"annotation-xml"!==e&&yi(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:xi(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&&ki(/((--!?|])>)|<\/(style|title|textarea)/i,f)){De(s,e);continue}if("attributename"===c&&yi(f,"href")){De(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){De(s,e);continue}if(!G&&ki(/\/>/i,f)){De(s,e);continue}X&&di([R,N,A],e=>{f=bi(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):pi(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 Si("toString is not a function");if("string"!=typeof(e=e.toString()))throw Si("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Ae(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Te(e.nodeName);if(!z[t]||W[t])throw Si("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===Zi&&"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&&ki(Xi,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),X&&di([R,N,A],e=>{d=bi(d,e," ")}),x&&re?x.createHTML(d):d},n.setConfig=function(){Ae(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||Ae({});const r=Te(e),o=Te(t);return Be(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&hi(O[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=fi(O[e],t);return-1===n?void 0:mi(O[e],n,1)[0]}return pi(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const oa=(e,t)=>{if(document.startViewTransition&&!t?.disabled)return document.startViewTransition(e);e()},ia=s.createContext(null),aa=s.createContext(null),sa=ia.Provider,la=ko(e=>e.toString(16)),ua=(...e)=>{const t={...ca,startViewTransitions:structuredClone(ca.startViewTransitions),observable:{viewModels:{...ca.observable.viewModels},viewModelStores:{...ca.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},ca=((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=la(),n=ko(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:ua(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")),da=(e,t,n)=>{if(n.custom)return n.custom(e,t);n.disableWrapping||((e,t,n)=>{n?(t.forEach(([t,n])=>{n(e,t)}),Bn(e)):Bn(e,Object.fromEntries(t))})(e,t,n.useDecorators)},fa="undefined"==typeof window?s.useEffect:s.useLayoutEffect;let pa=null;pa=e=>s.useMemo(e,[]);const ha=pa;function ma(e,t,n){return e.prototype.payloadChanged?va(e,t,n):ga(e,t)}const va=(e,t,n)=>{const r=s.useContext(aa),o=s.useContext(ia),i=n?.ctx??{},a=ha(()=>{const a=r?.generateViewModelId({...n,ctx:i,VM:e,parentViewModelId:o?.id??null})??n?.id??ca.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)??ca.factory(s);return l.willMount(),r?.markToBeAttached(l),l}});return fa(()=>r?(r.attach(a),()=>{r.detach(a.id)}):(a.mount(),()=>{a.willUnmount(),a.unmount()}),[a]),a.setPayload(t??{}),a},ga=(e,t)=>{const n=s.useContext(aa),r=s.useContext(ia),o=ha(()=>{const t=new e;return t.parentViewModel=r,n?.markToBeAttached(t),t});return"setPayload"in o&&s.useLayoutEffect(()=>{o.setPayload(t)},[t]),fa(()=>n?(n.attach(o),()=>{n.detach(o.id)}):(o.mount?.(),()=>{o.unmount?.()}),[o]),o},ya=e=>{const t=s.useContext(aa),n=s.useContext(ia);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};wo(({model:e,config:t,payload:n,children:r})=>{const o=ma(e,n,t);return o.isMounted?"function"==typeof r?r(o):h.jsx(h.Fragment,{children:r}):null});const ba=aa.Provider;function wa(e,t,n){if("function"==typeof t||t&&void 0!==t.$$typeof){const n={};return _a(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=>_a(e,r,t)}}const xa=Symbol.for("react.memo"),_a=(e,t,n)=>{const r=t.vmConfig?.processViewComponent??ca.processViewComponent,o=t.vmConfig?.wrapViewsInObserver??ca.wrapViewsInObserver;let i=r?.(n,e,t)??n;o&&i&&i.$$typeof!==xa&&(i=wo(i));const a=t.reactHook,l=t.getPayload,u=t.fallback??ca.fallbackComponent;let c=(n,r)=>{const o=s.useContext(aa);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=ma(e,f,{...t,props:d});return(!o||o.isAbleToRenderView(p.id))&&!1!==p.isMounted?h.jsx(sa,{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=wo(c),c.displayName=`ConnectedViewModel(${e.name}->Component)`,t.component=c,c},ka=[["_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 Sa{constructor(e){this.vmParams=e,this.id=e.id,this.vmConfig=ua(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=ei:"function"==typeof this.vmConfig.comparePayload&&(this.isPayloadEqual=this.vmConfig.comparePayload);const t=[...ka];!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})])),da(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),oa(()=>{fn(()=>{this._isMounted=!0})},{disabled:!this.vmConfig.startViewTransitions.mount}),this.didMount()}didMount(){}unmount(){this.vmConfig.onUnmount?.(this),oa(()=>{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)||oa(()=>{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 Ea{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=ua(e?.vmConfig),this.viewModelsTempHeap=new Map,da(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=ua(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 Ca extends Sa{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1}}}})}}var Ta,Oa={};var Ra,Na,Aa=function(){if(Ta)return Oa;Ta=1;var e=eo(),t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;return Oa.createRoot=function(n,r){t.usingClientEntryPoint=!0;try{return e.createRoot(n,r)}finally{t.usingClientEntryPoint=!1}},Oa.hydrateRoot=function(n,r,o){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(n,r,o)}finally{t.usingClientEntryPoint=!1}},Oa}(),Pa={exports:{}},ja={};function Ma(){return Ra||(Ra=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 A,P=v.ReactCurrentDispatcher;function j(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 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=P.current,P.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,P.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};ja.Fragment=r,ja.jsxDEV=ce}()),ja}var Da=(Na||(Na=1,Pa.exports=Ma()),Pa.exports);function La(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=La(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const Ia=e=>{const t=Fa(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),za(n,t)||Ua(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},za=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?za(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},Va=/^\[(.+)\]$/,Ua=e=>{if(Va.test(e)){const t=Va.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Fa=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)Ba(n[o],r,o,t);return r},Ba=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:Wa(t,e)).classGroupId=n)}if("function"==typeof e)return Ha(e)?void Ba(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{Ba(o,Wa(t,e),n,r)})})},Wa=(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},Ha=e=>e.isThemeGetter,$a=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)}}},Ya=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=qa(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},qa=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Ka=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}},Ga=/\s+/;function Xa(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Qa(e))&&(r&&(r+=" "),r+=t);return r}const Qa=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Qa(e[r]))&&(n&&(n+=" "),n+=t);return n};function Ja(e,...t){let n,r,o,i=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:$a(e.cacheSize),parseClassName:Ya(e),sortModifiers:Ka(e),...Ia(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(Ga);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(Xa.apply(null,arguments))}}const Za=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},es=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ts=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ns=/^\d+\/\d+$/,rs=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,os=/\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$/,is=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,as=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ss=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ls=e=>ns.test(e),us=e=>!!e&&!Number.isNaN(Number(e)),cs=e=>!!e&&Number.isInteger(Number(e)),ds=e=>e.endsWith("%")&&us(e.slice(0,-1)),fs=e=>rs.test(e),ps=()=>!0,hs=e=>os.test(e)&&!is.test(e),ms=()=>!1,vs=e=>as.test(e),gs=e=>ss.test(e),ys=e=>!ws(e)&&!Cs(e),bs=e=>js(e,Is,ms),ws=e=>es.test(e),xs=e=>js(e,zs,hs),_s=e=>js(e,Vs,us),ks=e=>js(e,Ds,ms),Ss=e=>js(e,Ls,gs),Es=e=>js(e,Fs,vs),Cs=e=>ts.test(e),Ts=e=>Ms(e,zs),Os=e=>Ms(e,Us),Rs=e=>Ms(e,Ds),Ns=e=>Ms(e,Is),As=e=>Ms(e,Ls),Ps=e=>Ms(e,Fs,!0),js=(e,t,n)=>{const r=es.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ms=(e,t,n=!1)=>{const r=ts.exec(e);return!!r&&(r[1]?t(r[1]):n)},Ds=e=>"position"===e||"percentage"===e,Ls=e=>"image"===e||"url"===e,Is=e=>"length"===e||"size"===e||"bg-size"===e,zs=e=>"length"===e,Vs=e=>"number"===e,Us=e=>"family-name"===e,Fs=e=>"shadow"===e,Bs=Ja(()=>{const e=Za("color"),t=Za("font"),n=Za("text"),r=Za("font-weight"),o=Za("tracking"),i=Za("leading"),a=Za("breakpoint"),s=Za("container"),l=Za("spacing"),u=Za("radius"),c=Za("shadow"),d=Za("inset-shadow"),f=Za("text-shadow"),p=Za("drop-shadow"),h=Za("blur"),m=Za("perspective"),v=Za("aspect"),g=Za("ease"),y=Za("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Cs,ws],w=()=>[Cs,ws,l],x=()=>[ls,"full","auto",...w()],_=()=>[cs,"none","subgrid",Cs,ws],k=()=>["auto",{span:["full",cs,Cs,ws]},cs,Cs,ws],S=()=>[cs,"auto",Cs,ws],E=()=>["auto","min","max","fr",Cs,ws],C=()=>["auto",...w()],T=()=>[ls,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],O=()=>[e,Cs,ws],R=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Rs,ks,{position:[Cs,ws]}],N=()=>["auto","cover","contain",Ns,bs,{size:[Cs,ws]}],A=()=>[ds,Ts,xs],P=()=>["","none","full",u,Cs,ws],j=()=>["",us,Ts,xs],M=()=>[us,ds,Rs,ks],D=()=>["","none",h,Cs,ws],L=()=>["none",us,Cs,ws],I=()=>["none",us,Cs,ws],z=()=>[us,Cs,ws],V=()=>[ls,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[fs],breakpoint:[fs],color:[ps],container:[fs],"drop-shadow":[fs],ease:["in","out","in-out"],font:[ys],"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",us],text:[fs],"text-shadow":[fs],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ls,ws,Cs,v]}],container:["container"],columns:[{columns:[us,ws,Cs,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:[cs,"auto",Cs,ws]}],basis:[{basis:[ls,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[us,ls,"auto","initial","none",ws]}],grow:[{grow:["",us,Cs,ws]}],shrink:[{shrink:["",us,Cs,ws]}],order:[{order:[cs,"first","last","none",Cs,ws]}],"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,Ts,xs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Cs,_s]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ds,ws]}],"font-family":[{font:[Os,ws,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,Cs,ws]}],"line-clamp":[{"line-clamp":[us,"none",Cs,_s]}],leading:[{leading:[i,...w()]}],"list-image":[{"list-image":["none",Cs,ws]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Cs,ws]}],"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:[us,"from-font","auto",Cs,xs]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[us,"auto",Cs,ws]}],"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",Cs,ws]}],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",Cs,ws]}],"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"]},cs,Cs,ws],radial:["",Cs,ws],conic:[cs,Cs,ws]},As,Ss]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:A()}],"gradient-via-pos":[{via:A()}],"gradient-to-pos":[{to:A()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],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: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":[us,Cs,ws]}],"outline-w":[{outline:["",us,Ts,xs]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",c,Ps,Es]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",d,Ps,Es]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[us,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,Ps,Es]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[us,Cs,ws]}],"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":[us]}],"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":[Cs,ws]}],"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":[us]}],"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",Cs,ws]}],filter:[{filter:["","none",Cs,ws]}],blur:[{blur:D()}],brightness:[{brightness:[us,Cs,ws]}],contrast:[{contrast:[us,Cs,ws]}],"drop-shadow":[{"drop-shadow":["","none",p,Ps,Es]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",us,Cs,ws]}],"hue-rotate":[{"hue-rotate":[us,Cs,ws]}],invert:[{invert:["",us,Cs,ws]}],saturate:[{saturate:[us,Cs,ws]}],sepia:[{sepia:["",us,Cs,ws]}],"backdrop-filter":[{"backdrop-filter":["","none",Cs,ws]}],"backdrop-blur":[{"backdrop-blur":D()}],"backdrop-brightness":[{"backdrop-brightness":[us,Cs,ws]}],"backdrop-contrast":[{"backdrop-contrast":[us,Cs,ws]}],"backdrop-grayscale":[{"backdrop-grayscale":["",us,Cs,ws]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[us,Cs,ws]}],"backdrop-invert":[{"backdrop-invert":["",us,Cs,ws]}],"backdrop-opacity":[{"backdrop-opacity":[us,Cs,ws]}],"backdrop-saturate":[{"backdrop-saturate":[us,Cs,ws]}],"backdrop-sepia":[{"backdrop-sepia":["",us,Cs,ws]}],"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",Cs,ws]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[us,"initial",Cs,ws]}],ease:[{ease:["linear","initial",g,Cs,ws]}],delay:[{delay:[us,Cs,ws]}],animate:[{animate:["none",y,Cs,ws]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,Cs,ws]}],"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:[Cs,ws,"","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",Cs,ws]}],"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",Cs,ws]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[us,Ts,xs,_s]}],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"]}}),Ws=(...e)=>Bs(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=La(e))&&(r&&(r+=" "),r+=t);return r}(...e)),Hs="vmButton_esipO",$s="dragging_kUMCE",Ys="opened_NYAFW",qs="isConnected_eObxX";const Ks=wa(class extends Sa{devtools=this.parentViewModel.devtools;ref=Zo({onSet:e=>{const t={isDragging:!1,offsetX:0,offsetY:0,hasMoved:!1,startX:0,startY:0},{width:n,height:r}=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($s)});e.addEventListener("click",e=>{if(t.hasMoved)return e.preventDefault(),void e.stopPropagation();this.handleClick()}),document.addEventListener("mousemove",o=>{if(!t.isDragging)return;let i=o.clientX+t.offsetX,a=o.clientY+t.offsetY;const s=window.innerWidth-n-12,l=window.innerHeight-r-12;i<12&&(i=12),a<12&&(a=12),i>s&&(i=s),a>l&&(a=l),e.style.left=`${i}px`,e.style.top=`${a}px`,i===t.startX&&a===t.startY||(t.hasMoved=!0)}),document.addEventListener("mouseup",()=>{t.isDragging=!1,e.classList.remove($s),this.position!==this.devtools.position&&fn(()=>{this.devtools.position=this.position})})}});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})=>Da.jsxDEV("button",{className:Ws(Hs,{[Ys]:e.devtools.isPopupOpened,[qs]:e.devtools.isActive},e.devtools.config.buttonClassName),ref:e.ref,"data-position":e.devtools.position,children:[Da.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),Da.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),Da.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)),Gs=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"})),Xs=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"})),Qs=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"})),Js=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"})),Zs=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"})),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:"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"})),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:"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"})),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:"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"})),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:"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"})),ol=null,{min:il,max:al,abs:sl,floor:ll}=Math,ul=(e,t,n)=>il(n,al(t,e)),cl=e=>[...e].sort((e,t)=>e-t),dl="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},fl=()=>{let e;return[new Promise(t=>{e=t}),e]},pl=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},hl=(e,t,n)=>{const r=n?"unshift":"push";for(let o=0;o<t;o++)e[r](-1);return e},ml=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},vl=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=il(t,e.i),r},gl=(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+=ml(e,n),e.u[++n]=r;return e.i=t,r},yl=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const o=ll((n+r)/2);if(gl(e,o)<=t){if(gl(e,o+1)>t)return o;n=o+1}else r=o-1}return ul(n,0,e.l-1)},bl=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:il(t-1,e.i),e.l=t,r>0?(hl(e.u,r),hl(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))},wl="undefined"!=typeof window,xl=()=>document.documentElement,_l=pl(()=>!!wl&&"rtl"===getComputedStyle(xl()).direction),kl=pl(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),Sl=pl(()=>"scrollBehavior"in xl().style),El=setTimeout,Cl=(e,t)=>t&&_l()?-e:e,Tl=(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()&&El(r,150),[t,e.B(2,()=>{n(!0)})]};if(i&&Sl())e.J(8,o()),dl(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=Cl(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!=ol&&clearTimeout(t)},r=()=>{n(),t=El(()=>{t=ol,(()=>{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,kl()&&(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(Cl(t,n),i,c),c=!1,i&&e.p()>e.h()&&e.J(1,r()))}}})(e,s,t,()=>Cl(s[i],t),(t,n,r)=>{if(r){const e=s.style,t=e[a];e[a]="hidden",El(()=>{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=ul(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()}}},Ol=(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!=ol&&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}},Rl=wl?s.useLayoutEffect:s.useEffect,Nl="current",Al=(e,t)=>{if(Array.isArray(e))for(const n of e)Al(n,t);else null==e||"boolean"==typeof e||t.push(e)},Pl=e=>{const t=s.useRef(e);return Rl(()=>{t[Nl]=e},[e]),t},jl=s.memo(({Z:e,ee:t,te:n,oe:r,ne:o,re:i,ie:a,se:l})=>{const u=s.useRef(null);Rl(()=>t(u[Nl],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?_l()?"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})}),Ml=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 Al(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),w=s.useRef(null),x=s.useRef(!!c),_=Pl(m),k=Pl(v),[S,E,C,T]=(e=>{const t=s.useRef(null);return t[Nl]||(t[Nl]=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=ol,v=[0,i?al(n-1,0):-1],g=0;const y=(O=e,R=t,{o:(N=r)?N[1]:R,t:N&&N[0]?hl(N[0].slice(0,il(O,N[0].length)),al(0,O-N[0].length)):hl([],O),l:O,i:-1,u:hl([],O+1)}),b=new Set,w=()=>u-l,x=()=>w()+d+c,_=(e,t)=>((e,t,n,r)=>{if(r=il(r,e.l-1),gl(e,r)<=t){const o=yl(e,n,r);return[yl(e,t,r,o),o]}{const o=yl(e,t,void 0,r);return[o,yl(e,n,o)]}})(y,e,t,v[0]),k=()=>gl(y,y.l),S=e=>gl(y,e)-d,E=e=>ml(y,e),C=(e,t=-1)=>y.t[e]===t,T=e=>{e&&(kl()&&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=al(0,x()),i=r+s;o||(e=al(0,e),1!==p&&(r-=e),2!==p&&(i+=e)),[t,n]=v=_(al(0,r),al(0,i)),m&&(t=il(t,m[0]),n=al(n,m[1]))}return[al(t,0),il(n,y.l-1)]},$:()=>yl(y,x()),I:()=>yl(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=sl(n);e&&o<sl(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=ol;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=vl(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=cl(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)*al(t-n,0)})(y,yl(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(bl(y,t[0],!0)),h=2,v=1):(bl(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,Ol(t,e),Tl(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(),A=S.h(),P=[],j=e=>{const t=y(e);return h.jsx(jl,{ee:E.F,te:e,oe:S.R(e),ne:S.k(e),re:f,Z:t,ie:T,se:x[Nl]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(Rl(()=>{x[Nl]=!1,S.B(1,e=>{e?to.flushSync(R):R()}),S.B(4,()=>{_[Nl]&&_[Nl](S.C())}),S.B(8,()=>{k[Nl]&&k[Nl]()});const e=e=>{E.U(e),C.P(e)};return p?dl(()=>{p[Nl]&&e(p[Nl])}):e(w[Nl].parentElement),()=>{S.v(),E.v(),C.v()}},[]),Rl(()=>{C.j()},[O]),s.useImperativeHandle(g,()=>({get cache(){return S._()},get scrollOffset(){return S.C()},get scrollSize(){return al((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);cl([...e]).forEach(e=>{P.push(j(e))})}else for(let[s,h]=S.S(n);s<=h;s++)P.push(j(s));return h.jsx(d,{ref:w,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:T?A:"100%",height:T?"100%":A,pointerEvents:N?"none":void 0},children:P})});class Dl{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"),Bn(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 Ll=new Set(["constructor"]),Il=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 zl(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)Ll.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(Il.has(r))break;n=r}return Array.from(t)}class Vl extends Dl{constructor(e,t,n,r){super(e,t,void 0),this.content=n,this._depth=r}get depth(){return this._depth}}class Ul extends Dl{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"),Bn(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 Ul(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=zl(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)=>Fl.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 Fl extends Dl{constructor(e,t,n,r,o){super(e,Fl.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"),Bn(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":Jo.isObject(this.data)&&this.data.constructor?.name&&"Object"!==this.data.constructor.name?"instance":Jo.isFunction(this.data)?"function":Jo.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)=>Fl.create(this.devtools,e,`${this.path}.${e}`,t,this)),e.push(Fl.create(this.devtools,"length",`${this.path}.length`,e.length,this));else if("function"===this.type)e=Object.keys(this.data).map((e,t)=>Fl.create(this.devtools,e,`${this.path}.${e}`,t,this));else if("instance"===this.type||"object"===this.type)return zl(this.data).map((e,t)=>Fl.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 Ul)return",";if(this.parent instanceof Fl)switch(this.parent.type){case"array":case"instance":case"object":return","}}return null}get propertyClosingTag(){switch(this.type){case"array":return new Vl(this.devtools,`${this.key}/closing-tag`,"]",this.depth);case"instance":case"object":return new Vl(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:Zs,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=`${Fl.createKey(o,t)}/list-item`;let s=i.get(a);return s||(s=new Fl(e,t,n,r,o),i.set(a,s)),s}}class Bl extends Dl{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(){return Object.keys(this.data||{}).map((e,t)=>Fl.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"),Bn(this),Et(()=>{this.expand()})}}const Wl="iconToggleButton_R48wm",Hl="activePosition_IXsRn",$l="option_a5IcR",Yl="active_6QS-2",ql=({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(Da.jsxDEV("div",{className:Ws($l,{[Yl]:u}),onClick:e=>{e.preventDefault(),e.stopPropagation(),r(t[a].value)},children:Da.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))}),Da.jsxDEV("button",{className:Ws(Wl,n),children:[Da.jsxDEV("div",{className:Hl,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)},Kl="root_Xsw1F",Gl="treeItemHeader_9gR6Q",Xl="treeItemLabel_eiMgP",Ql="treeItemMetaText_cmfX0",Jl="treeItem_sRXPA",Zl="vmTreeItem_t-7jc",eu="extraTreeItem_z3KA1",tu={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",vmContentControlPanelActions:"vmContentControlPanelActions_lONbA",vmContentInput:"vmContentInput_29GM1",filled:"filled_6JZa0",vmContentVirtualized:"vmContentVirtualized_lia62",gradientBlur:"gradientBlur_-y-re"},nu=({expandable:e,expanded:t,onClick:n,disabled:r,showIconAnyway:o})=>Da.jsxDEV("span",{onClick:n,className:Ws(tu.expandButton,{[tu.expandable]:e,[tu.expanded]:t,[tu.disabled]:r}),children:(e||o)&&Da.jsxDEV(Js,{},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),ru=wo(({item:e})=>Da.jsxDEV("div",{className:Ws(Jl,eu),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:Da.jsxDEV("header",{className:Gl,children:[Da.jsxDEV(nu,{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),Da.jsxDEV("label",{className:Xl,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)),ou={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"},iu=wo(({item:e})=>Da.jsxDEV("div",{className:Ws(ou.property,ou.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)),au=wo(({item:e})=>Da.jsxDEV(Da.Fragment,{children:[void 0===e.property?null:Da.jsxDEV(Da.Fragment,{children:[Da.jsxDEV("span",{className:ou.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),Da.jsxDEV("span",{className:ou.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)),su=wo(({item:e})=>{const t=Array.from({length:e.data.length},(e,t)=>`arg${t+1}`);return Da.jsxDEV(Da.Fragment,{children:[Da.jsxDEV("span",{className:ou.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)}),lu=wo(({item:e})=>{const t=e.data.constructor.name;return Da.jsxDEV(Da.Fragment,{children:[void 0===e.property?null:Da.jsxDEV(Da.Fragment,{children:[Da.jsxDEV("span",{className:ou.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),Da.jsxDEV("span",{className:ou.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&&Da.jsxDEV(Da.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)}),uu=wo(({item:e})=>Da.jsxDEV(Da.Fragment,{children:[void 0===e.property?null:Da.jsxDEV(Da.Fragment,{children:[Da.jsxDEV("span",{className:ou.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),Da.jsxDEV("span",{className:ou.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)),cu=wo(({item:e})=>Da.jsxDEV(Da.Fragment,{children:[void 0===e.property?null:Da.jsxDEV(Da.Fragment,{children:[Da.jsxDEV("span",{className:ou.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),Da.jsxDEV("span",{className:ou.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)),du=wo(e=>{const{item:t}=e;let n=null;switch(e.item.type){case"array":n=Da.jsxDEV(au,{...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=Da.jsxDEV(su,{...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=Da.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:33,columnNumber:19},void 0);break;case"object":n=Da.jsxDEV(uu,{...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=Da.jsxDEV(cu,{...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 Da.jsxDEV("div",{className:Ws(ou.property,ou[t.type],ou[t.dataType],{[ou.null]:null===t.data,[ou.expandable]:t.isExpandable,[ou.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&&Da.jsxDEV("div",{className:ou.propertyOperations,children:t.operations.map(e=>Da.jsxDEV("button",{title:e.title,className:ou.propertyOperation,onClick:t=>{t.stopPropagation(),e.action()},children:Da.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=wo(({item:e})=>Da.jsxDEV("div",{className:Ws(Jl,Zl),"data-fitted":e.isFitted,"data-depth":e.depthLine,style:{"--level":e.depth},children:Da.jsxDEV("header",{className:Gl,onClick:()=>e.devtools.handleVmItemHeaderClick(e),children:[Da.jsxDEV(nu,{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),Da.jsxDEV("label",{className:Xl,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),Da.jsxDEV("span",{className:Ql,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)),pu=wo(({className:e,headerContent:t,...n})=>{const r=ya();return Da.jsxDEV("div",{...n,className:Ws(tu.vmContent,e),ref:r.contentRef,children:[Da.jsxDEV("header",{className:tu.vmContentHeader,children:[Da.jsxDEV("div",{className:tu.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),Da.jsxDEV("div",{className:tu.vmContentHeaderTitle,children:[Da.jsxDEV("img",{className:tu.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),Da.jsxDEV("span",{className:tu.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),Da.jsxDEV("div",{className:tu.vmContentControlPanel,children:[Da.jsxDEV("div",{className:tu.vmContentControlPanelActions,children:[Da.jsxDEV(ql,{onUpdate:r.devtools.handleChangePresentationMode,options:[{value:"tree",icon:el},{value:"list",icon:tl}],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),Da.jsxDEV(ql,{onUpdate:r.devtools.handleSortPropertiesChange,options:[{value:"none",icon:Xs},{value:"asc",icon:Gs},{value:"desc",icon:Qs}],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),Da.jsxDEV("div",{className:`${tu.vmContentInput} ${r.devtools.searchEngine.isActive&&tu.filled}`,children:[Da.jsxDEV(nl,{},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),Da.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),Da.jsxDEV("button",{onClick:r.devtools.searchEngine.resetSearch,children:Da.jsxDEV(rl,{},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),Da.jsxDEV("div",{className:tu.vmContentVirtualized,children:Da.jsxDEV(Ml,{ref:r.devtools.scrollListRef,itemSize:22,data:r.devtools.listItems,keepMounted:[0],children:e=>e instanceof Ul?Da.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 Bl?Da.jsxDEV(ru,{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 Fl?Da.jsxDEV(du,{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 Vl?Da.jsxDEV(iu,{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):Da.jsxDEV(Da.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)}),hu="vmPopup_0hkGL",mu="closePopupButton_igv9j",vu=wo(()=>{const e=ya();return Da.jsxDEV(pu,{className:hu,"data-position":e.devtools.position,headerContent:Da.jsxDEV("button",{className:mu,onClick:e.devtools.hidePopup,children:Da.jsxDEV(rl,{},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)});function gu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var yu="object"==typeof global&&global&&global.Object===Object&&global,bu="object"==typeof self&&self&&self.Object===Object&&self,wu=yu||bu||Function("return this")(),xu=function(){return wu.Date.now()},_u=/\s/;var ku=/^\s+/;function Su(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&_u.test(e.charAt(t)););return t}(e)+1).replace(ku,""):e}var Eu=wu.Symbol,Cu=Object.prototype,Tu=Cu.hasOwnProperty,Ou=Cu.toString,Ru=Eu?Eu.toStringTag:void 0;var Nu=Object.prototype.toString;var Au=Eu?Eu.toStringTag:void 0;function Pu(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Au&&Au in Object(e)?function(e){var t=Tu.call(e,Ru),n=e[Ru];try{e[Ru]=void 0;var r=!0}catch(i){}var o=Ou.call(e);return r&&(t?e[Ru]=n:delete e[Ru]),o}(e):function(e){return Nu.call(e)}(e)}var ju=/^[-+]0x[0-9a-f]+$/i,Mu=/^0b[01]+$/i,Du=/^0o[0-7]+$/i,Lu=parseInt;function Iu(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]"==Pu(e)}(e))return NaN;if(gu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=gu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Su(e);var n=Mu.test(e);return n||Du.test(e)?Lu(e.slice(2),n?2:8):ju.test(e)?NaN:+e}var zu=Math.max,Vu=Math.min;function Uu(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=xu();if(h(e))return v(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?Vu(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=xu(),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=Iu(t)||0,gu(n)&&(c=!!n.leading,i=(d="maxWait"in n)?zu(Iu(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(xu())},g}var Fu=function(){return Fu=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},Fu.apply(this,arguments)};function Bu(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Wu(e){return e&&e.ownerDocument?e.ownerDocument:document}var Hu=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 $u(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function Yu(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function qu(e){return".".concat(e.split(" ").join("."))}var Ku=!("undefined"==typeof window||!window.document||!window.document.createElement),Gu=Object.freeze({__proto__:null,addClasses:$u,canUseDOM:Ku,classNamesToQuery:qu,getElementDocument:Wu,getElementWindow:Bu,getOptions:Hu,removeClasses:Yu}),Xu=null,Qu=null;function Ju(){if(null===Xu){if("undefined"==typeof document)return Xu=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),Xu=n}return Xu}Ku&&window.addEventListener("resize",function(){Qu!==window.devicePixelRatio&&(Qu=window.devicePixelRatio,Xu=null)});var Zu=Bu,ec=Wu,tc=Hu,nc=$u,rc=Yu,oc=qu,ic=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=Zu(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,nc(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(){rc(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(nc(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){rc(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=ec(r.el),n=Zu(r.el);e.preventDefault(),e.stopPropagation(),rc(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=Fu(Fu({},e.defaultOptions),n),this.classNames=Fu(Fu({},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 gu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Uu(e,t,{leading:r,maxWait:t,trailing:o})}(this._onMouseMove,64),this.onWindowResize=Uu(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Uu(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Uu(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:Ju()}catch(e){return Ju()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=ec(e),r=Zu(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){Ku&&(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(oc(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(oc(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(oc(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(oc(this.classNames.offset)),this.maskEl=this.el.querySelector(oc(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,oc(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(oc(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(oc(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(oc(this.classNames.track)).concat(oc(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(oc(this.classNames.track)).concat(oc(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(oc(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(oc(this.classNames.scrollbar)))||null,this.options.autoHide||(nc(this.axis.x.scrollbar.el,this.classNames.visible),nc(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,n=Zu(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=Zu(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&&(nc(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&&(rc(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),nc(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?nc(t.scrollbar.el,this.classNames.hover):rc(t.scrollbar.el,this.classNames.hover)):(rc(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),rc(this.axis[e].track.el,this.classNames.hover),rc(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=ec(this.el),o=Zu(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,nc(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=Zu(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=Zu(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=tc,e.helpers=Gu,e}(),ac=function(e,t){return(ac=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 sc=ic.helpers,lc=sc.getOptions,uc=sc.addClasses,cc=sc.canUseDOM,dc=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}ac(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,lc(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"),uc(this.wrapperEl,this.classNames.wrapper),uc(this.contentWrapperEl,this.classNames.contentWrapper),uc(this.offsetEl,this.classNames.offset),uc(this.maskEl,this.classNames.mask),uc(this.contentEl,this.classNames.contentEl),uc(this.placeholderEl,this.classNames.placeholder),uc(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),uc(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");uc(o,this.classNames.track),uc(i,this.classNames.scrollbar),o.appendChild(i),this.axis.x.track.el=o.cloneNode(!0),uc(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),uc(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}ic.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){ic.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,lc(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,lc(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}(ic);cc&&dc.initHtmlApi();const fc=wa(class extends Ca{devtools=this.payload.devtools;contentRef=Zo({meta:{scrollbar:null},onSet(e){const t=new dc(e);this.meta={scrollbar:t}}})},({model:e})=>Da.jsxDEV(ba,{value:e.devtools.vmStore,children:Da.jsxDEV(sa,{value:e,children:[Da.jsxDEV(Ks,{},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&&Da.jsxDEV(vu,{},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 pc extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const hc=(e,...t)=>"function"==typeof e?e(...t):e;let mc=class{constructor(e){if(this.config=e,this.abortController=new pc(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"),Bn(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new pc;vn(()=>e.current,e=>{e?(globalThis.document?.activeElement===e&&this.activate(),e.addEventListener("focus",this.activate,{signal:t.signal}),e.addEventListener("blur",this.deactivate,{signal:t.signal})):(t.abort(),t=new pc(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 hc(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(!hc(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 vc extends mc{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 gc extends Ea{constructor(e){super({...e,vmConfig:{observable:{viewModelStores:{useDecorators:!1},viewModels:{useDecorators:!1}}}})}}class yc{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=Zo({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)})}}),Bn(this,{rawSearchText:Ze.ref,formattedSearchText:Ze.ref,isActive:rt,segments:Ze,setSearchText:cn.bound})}}class bc{constructor(e){this.config=e,this.isPopupOpened=!!this.config.defaultIsOpened,this.displayType="popup",this.position=this.config.position??"top-right",this.vmStore=new gc,this.setExtras(this.config.extras),this.setStore(this.config.viewModels),this.presentationMode="tree",this.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=Zo(),this.scrollListRef=Zo(),this.keyboardHandler=new vc(this),this.searchEngine=new yc,Bn(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;anyCache=Ze.map();autoscrollTimeout;get allVms(){const e=this.projectVmStore;return[...(e?.viewModels??new Map).values()].filter(e=>!Ca.isPrototypeOf(e.constructor))}get rootVmListItems(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel}).map(e=>new Ul(this,e,this.allVms))}get extraListItems(){return this.extras?[new Bl(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,vn(()=>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)}))}isInitialized=!1;render(){let e=document.querySelector(`#${this.containerId}`);if(!e)if(e=document.createElement("div"),e.className=Kl,e.id=this.containerId,document.body){document.body.appendChild(e);Aa.createRoot(e).render(s.createElement(fc,{payload:{devtools:this}}))}else document.addEventListener("DOMContentLoaded",()=>{document.body.appendChild(e);Aa.createRoot(e).render(s.createElement(fc,{payload:{devtools:this}}))});this.init()}static _instance=null;static define(e){return bc._instance||(bc._instance=new bc(e??{})),bc._instance}static connect(e,t){const n=bc.define();return n.setStore(e),n.setExtras(t),n}static connectViewModels(e){const t=bc.define();return t.setStore(e),t}static connectExtras(e){const t=bc.define();return t.setExtras(e),t}}Object.assign(globalThis,{ViewModelDevtools:bc}),bc.define({position:"top-right",defaultIsOpened:!0}),bc.connectExtras(window),ca.hooks.storeCreate.sub(e=>{gc!==e.constructor&&bc.connect(e,window)})});
|