mobx-view-model-devtools 0.0.3 → 0.0.5

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/package.json CHANGED
@@ -1,53 +1,31 @@
1
1
  {
2
2
  "name": "mobx-view-model-devtools",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "",
5
- "main": "dist/index.js",
6
5
  "keywords": [],
7
6
  "author": "js2me",
8
7
  "license": "ISC",
9
- "files": [
10
- "dist"
11
- ],
12
- "exports": {
13
- ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
17
- }
18
- },
19
- "devDependencies": {
20
- "@biomejs/biome": "2.2.6",
21
- "@tailwindcss/vite": "^4.1.16",
22
- "@types/lodash-es": "^4.17.12",
23
- "@types/node": "^24.10.0",
24
- "@types/react": "^18.3.23",
25
- "@types/react-dom": "^18.3.7",
26
- "commitfmt": "^1.0.4",
27
- "cross-env": "^10.1.0",
28
- "js2me-biome-config": "^1.0.6",
29
- "lefthook": "^1.11.16",
30
- "rollup": "^4.52.5",
31
- "rollup-plugin-dts": "^6.2.3",
32
- "tailwindcss": "^4.1.16",
33
- "terser": "^5.44.0",
34
- "typescript": "^5.9.3",
35
- "vite": "^7.1.12",
36
- "vite-plugin-css-injected-by-js": "^3.5.2"
37
- },
38
8
  "dependencies": {
39
9
  "lodash-es": "^4.17.21",
40
10
  "mobx": "^6.15.0",
41
11
  "mobx-react-lite": "^4.1.1",
42
12
  "mobx-swiss-knife": "^1.10.0",
43
- "mobx-view-model": "^8.6.1",
13
+ "mobx-view-model": "^8.7.0",
44
14
  "react": "^18.3.1",
45
15
  "react-dom": "^18.3.1",
46
16
  "virtua": "^0.46.5",
47
17
  "yummies": "^6.0.0"
48
18
  },
49
- "scripts": {
50
- "prebuild": "tsc --noEmit",
51
- "build": "cross-env NODE_ENV=production vite build"
52
- }
19
+ "main": "index.js",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./index.d.ts",
23
+ "import": "./index.js",
24
+ "require": "./index.cjs",
25
+ "default": "./index.js"
26
+ }
27
+ },
28
+ "files": [
29
+ "*"
30
+ ]
53
31
  }
package/dist/index.cjs DELETED
@@ -1,2 +0,0 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--font-weight-semibold:600;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{._block_uvxni_2{display:block}._inline_uvxni_2{display:inline}._blur_uvxni_2{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}._vm-button_uvxni_2{z-index:99;width:calc(var(--spacing)*9);height:calc(var(--spacing)*9);cursor:pointer;border-radius:var(--radius-lg);font-family:var(--font-mono);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));position:fixed}._vm-button_uvxni_2[data-position=top-right],._vm-button_uvxni_2[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}:is(._vm-button_uvxni_2[data-position=top-right],._vm-button_uvxni_2[data-position=undefined])._opened_uvxni_2{top:calc(var(--spacing)*-10)}._vm-button_uvxni_2[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}._vm-button_uvxni_2[data-position=top-left]._opened_uvxni_2{top:calc(var(--spacing)*-10)}._vm-button_uvxni_2[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}._vm-button_uvxni_2[data-position=bottom-left]._opened_uvxni_2{bottom:calc(var(--spacing)*-10)}._vm-button_uvxni_2[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}._vm-button_uvxni_2[data-position=bottom-right]._opened_uvxni_2{bottom:calc(var(--spacing)*-10)}._vm-button_uvxni_2>img{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);position:absolute}._vm-button_uvxni_2>div{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:#00000057;position:absolute}._vm-button_uvxni_2>span{pointer-events:none;top:calc(var(--spacing)*-1);left:calc(var(--spacing)*-1);border-radius:var(--radius-lg);padding:calc(var(--spacing)*.5);--tw-leading:1;--tw-font-weight:var(--font-weight-semibold);font-size:12px;line-height:1;font-weight:var(--font-weight-semibold);color:#2aff0a;background-color:#005c26cf;display:flex;position:absolute}._vm-button_uvxni_2._opened_uvxni_2{pointer-events:none}._vm-popup_uvxni_2{z-index:99;border-radius:var(--radius-lg);width:520px;height:calc(100vh - 24px);position:fixed}._vm-popup_uvxni_2>header button{width:28px;padding:6px}._vm-popup_uvxni_2[data-position=top-right],._vm-popup_uvxni_2[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}._vm-popup_uvxni_2[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}._vm-popup_uvxni_2[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}._vm-popup_uvxni_2[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}._vm-content_uvxni_2{color:#ccc;font-family:var(--font-mono);background-color:#1e1e1e;overflow:auto}._vm-content_uvxni_2>header{height:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*2);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);justify-content:space-between;align-items:center;display:flex}._vm-content_uvxni_2 *{font-family:var(--font-mono)}._vm-content-tree_uvxni_2{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*2);flex-direction:column;display:flex}._vm-tree-item_uvxni_2{flex-direction:column;display:flex}._vm-tree-item_uvxni_2._line_uvxni_2{top:calc(22px + 22px*var(--level,0));background:#1e1e1e;position:sticky}._vm-tree-item_uvxni_2>header{z-index:1;cursor:pointer;align-items:center;gap:calc(var(--spacing)*1);text-overflow:ellipsis;white-space:nowrap;background-color:#1e1e1e;margin-block:auto;display:flex;overflow:hidden}._vm-tree-item_uvxni_2>header>label{background:#0f6013;border-radius:4px;padding:0 4px}._vm-tree-item_uvxni_2>header>span{color:#5ab65e;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}._vm-tree-item_uvxni_2:not([data-fitted=true])>header{opacity:.6}._vm-content-filters_uvxni_2{z-index:99;background:#1e1e1e;width:100%;padding:0 8px;position:sticky;top:0}._vm-content-filters_uvxni_2 input{background:#343434;border-radius:4px;outline:0;width:100%;padding:3px 4px;font-size:14px}._property-meta_uvxni_2{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}._property-meta_uvxni_2._small_uvxni_2{font-size:10px;line-height:15px}._property-value_uvxni_2{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}._property-value_uvxni_2:has(+._property-name_uvxni_2){margin-right:calc(var(--spacing)*1)}._line_uvxni_2{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono);white-space:pre;height:22px;z-index:calc((var(--level,0) + 1)*10000 + (var(--order,0)));padding-left:calc(10px + (var(--level)*14px));background:#1e1e1e;flex-direction:row;align-items:center;font-size:14px;display:flex;position:relative;overflow:hidden}._line_uvxni_2:has(>._expand-button_uvxni_2._expanded_uvxni_2){top:calc(22px + 22px*(var(--level,0) + 1));position:sticky}._property_uvxni_2[data-fitted=false]{opacity:.5}._property_uvxni_2._instance_uvxni_2>._property-value_uvxni_2{color:#ba82be}:is(._property_uvxni_2._primitive_uvxni_2._boolean_uvxni_2,._property_uvxni_2._primitive_uvxni_2._number_uvxni_2,._property_uvxni_2._primitive_uvxni_2._object_uvxni_2,._property_uvxni_2._primitive_uvxni_2._undefined_uvxni_2,._property_uvxni_2._primitive_uvxni_2._bigint_uvxni_2,._property_uvxni_2._primitive_uvxni_2._symbol_uvxni_2)>._property-value_uvxni_2{color:#5999cd}._property_uvxni_2._primitive_uvxni_2._string_uvxni_2>._property-value_uvxni_2{color:#af7249}._expand-button_uvxni_2{color:#a0a0a0;cursor:pointer;width:16px;height:16px;font-weight:700;opacity:1!important}._expand-button_uvxni_2._expanded_uvxni_2{color:#b8b8b8;transform:rotate(90deg)}._expand-button_uvxni_2._disabled_uvxni_2{opacity:.35!important}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- "use strict";var e,t,n,r=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),a=e=>{throw TypeError(e)},l=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>o(e,"name",{value:t,configurable:!0}),u=["class","method","getter","setter","accessor","field","value","get","set"],d=e=>void 0!==e&&"function"!=typeof e?a("Function expected"):e,p=(e,t,n,r,o)=>({kind:u[e],name:t,metadata:r,addInitializer:e=>n._?a("Already initialized"):o.push(d(e||null))}),f=(e,t)=>l(t,s("metadata"),e[3]),h=(e,t,n)=>l(e,"symbol"!=typeof t?t+"":t,n),v=(e,t,n)=>t.has(e)||a("Cannot "+n),b=(e,t)=>Object(t)!==t?a('Cannot use the "in" operator on this value'):e.has(t),m=(e,t,n)=>(v(e,t,"read from private field"),n?n.call(e):t.get(e)),_=(e,t,n,r)=>(v(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),g=(e,t,n)=>(v(e,t,"access private method"),n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react/jsx-runtime"),w=require("mobx-view-model"),x=require("react"),O=require("react-dom");var E="object"==typeof global&&global&&global.Object===Object&&global,k="object"==typeof self&&self&&self.Object===Object&&self,N=E||k||Function("return this")(),S=N.Symbol,j=Object.prototype,V=j.hasOwnProperty,A=j.toString,D=S?S.toStringTag:void 0;var T=Object.prototype.toString;var C=S?S.toStringTag:void 0;function M(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":C&&C in Object(e)?function(e){var t=V.call(e,D),n=e[D];try{e[D]=void 0;var r=!0}catch(i){}var o=A.call(e);return r&&(t?e[D]=n:delete e[D]),o}(e):function(e){return T.call(e)}(e)}var P=/\s/;var R=/^\s+/;function I(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&P.test(e.charAt(t)););return t}(e)+1).replace(R,""):e}function L(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var B=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,U=/^0o[0-7]+$/i,G=parseInt;function F(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]"==M(e)}(e))return NaN;if(L(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=L(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=I(e);var n=z.test(e);return n||U.test(e)?G(e.slice(2),n?2:8):B.test(e)?NaN:+e}var K=function(){return N.Date.now()},q=Math.max,$=Math.min;function H(e,t,n){var r,o,i,s,a,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,i=o;return r=o=void 0,c=t,s=e.apply(i,n)}function h(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function v(){var e=K();if(h(e))return b(e);a=setTimeout(v,function(e){var n=t-(e-l);return d?$(n,i-(e-c)):n}(e))}function b(e){return a=void 0,p&&r?f(e):(r=o=void 0,s)}function m(){var e=K(),n=h(e);if(r=arguments,o=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(v,t),u?f(e):s}(l);if(d)return clearTimeout(a),a=setTimeout(v,t),f(l)}return void 0===a&&(a=setTimeout(v,t)),s}return t=F(t)||0,L(n)&&(u=!!n.leading,i=(d="maxWait"in n)?q(F(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),m.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=l=o=a=void 0},m.flush=function(){return void 0===a?s:b(K())},m}var W="production"!==process.env.NODE_ENV?{0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"}:{};function X(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("production"!==process.env.NODE_ENV){var o="string"==typeof e?e:W[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var J={};function Y(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:J}var Z=Object.assign,Q=Object.getOwnPropertyDescriptor,ee=Object.defineProperty,te=Object.prototype,ne=[];Object.freeze(ne);var re={};Object.freeze(re);var oe="undefined"!=typeof Proxy,ie=Object.toString();function se(){oe||X("production"!==process.env.NODE_ENV?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function ae(e){"production"!==process.env.NODE_ENV&&fn.verifyProxies&&X("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function le(){return++fn.mobxGuid}function ce(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var ue=function(){};function de(e){return"function"==typeof e}function pe(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function fe(e){return null!==e&&"object"==typeof e}function he(e){if(!fe(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()===ie}function ve(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function be(e,t,n){ee(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function me(e,t,n){ee(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function _e(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return fe(e)&&!0===e[n]}}function ge(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function ye(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var we=void 0!==Object.getOwnPropertySymbols;var xe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:we?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function Oe(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function Ee(e){return null===e?null:"object"==typeof e?""+e:e}function ke(e,t){return te.hasOwnProperty.call(e,t)}var Ne=Object.getOwnPropertyDescriptors||function(e){var t={};return xe(e).forEach(function(n){t[n]=Q(e,n)}),t};function Se(e,t){return!!(e&t)}function je(e,t,n){return n?e|=t:e&=~t,e}function Ve(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 Ae(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,Pe(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function De(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 Ve(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)?Ve(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 Te(){return Te=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},Te.apply(null,arguments)}function Ce(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Pe(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 Ie(e){return Object.assign(function(t,n){if(Be(n))return e.decorate_20223_(t,n);Le(t,n,e)},e)}function Le(e,t,n){(ke(e,Re)||be(e,Re,Te({},e[Re])),"production"!==process.env.NODE_ENV&&Xe(n)&&!ke(e[Re],t))&&X("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if("production"!==process.env.NODE_ENV&&!Xe(t)&&ke(e[Re],n)){var r=e.constructor.name+".prototype."+n.toString(),o=e[Re][n].annotationType_;X("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),Xe(n)||(e[Re][t]=n)}function Be(e){return"object"==typeof e&&"string"==typeof e.kind}function ze(e,t){"production"===process.env.NODE_ENV||t.includes(e.kind)||X("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var Ue=Symbol("mobx administration"),Ge=function(){function e(e){void 0===e&&(e="production"!==process.env.NODE_ENV?"Atom@"+le():"Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=$t.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.reportObserved=function(){return gn(this)},t.reportChanged=function(){mn(),yn(this),_n()},t.toString=function(){return this.name_},Ae(e,[{key:"isBeingObserved",get:function(){return Se(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=je(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return Se(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=je(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return Se(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=je(this.flags_,e.diffValueMask_,1===t)}}])}();Ge.isBeingObservedMask_=1,Ge.isPendingUnobservationMask_=2,Ge.diffValueMask_=4;var Fe=_e("Atom",Ge);function Ke(e,t,n){void 0===t&&(t=ue),void 0===n&&(n=ue);var r,o=new Ge(e);return t!==ue&&Zn(Xn,o,t,r),n!==ue&&Yn(o,n),o}var qe={structural:function(e,t){return bo(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}};function $e(e,t,n){return ur(e)?e:Array.isArray(e)?Dt.array(e,{name:n}):he(e)?Dt.object(e,void 0,{name:n}):ge(e)?Dt.map(e,{name:n}):ye(e)?Dt.set(e,{name:n}):"function"!=typeof e||qn(e)||cr(e)?e:ve(e)?ar(e):Fn(n,e)}function He(e){return e}var We="override";function Xe(e){return e.annotationType_===We}function Je(e,t){return{annotationType_:e,options_:t,make_:Ye,extend_:Ze,decorate_20223_:Qe}}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(qn(n.value))return 1;var i=et(e,this,t,n,!1);return ee(r,t,i),2}function Ze(e,t,n,r){var o=et(e,this,t,n);return e.defineProperty_(t,o,r)}function Qe(e,t){"production"!==process.env.NODE_ENV&&ze(t,["method","field"]);var n,r=t.kind,o=t.name,i=t.addInitializer,s=this,a=function(e){var t,n,r,i;return zt(null!=(t=null==(n=s.options_)?void 0:n.name)?t:o.toString(),e,null!=(r=null==(i=s.options_)?void 0:i.autoAction)&&r)};return"field"==r?function(e){var t,n=e;return qn(n)||(n=a(n)),null!=(t=s.options_)&&t.bound&&((n=n.bind(this)).isMobxAction=!0),n}:"method"==r?(qn(e)||(e=a(e)),null!=(n=this.options_)&&n.bound&&i(function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t}),e):void X("Cannot apply '"+s.annotationType_+"' to '"+String(o)+"' (kind: "+r+"):\n'"+s.annotationType_+"' can only be used on properties with a function value.")}function et(e,t,n,r,o){var i,s,a,l,c,u,d;void 0===o&&(o=fn.safeDescriptors),function(e,t,n,r){var o=t.annotationType_,i=r.value;"production"===process.env.NODE_ENV||de(i)||X("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a function value.")}(e,t,n,r);var p,f=r.value;null!=(i=t.options_)&&i.bound&&(f=f.bind(null!=(p=e.proxy_)?p:e.target_));return{value:zt(null!=(s=null==(a=t.options_)?void 0:a.name)?s:n.toString(),f,null!=(l=null==(c=t.options_)?void 0:c.autoAction)&&l,null!=(u=t.options_)&&u.bound?null!=(d=e.proxy_)?d:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function tt(e,t){return{annotationType_:e,options_:t,make_:nt,extend_:rt,decorate_20223_:ot}}function nt(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&&(!ke(e.target_,t)||!cr(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(cr(n.value))return 1;var i=it(e,this,t,n,!1,!1);return ee(r,t,i),2}function rt(e,t,n,r){var o,i=it(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,i,r)}function ot(e,t){var n;"production"!==process.env.NODE_ENV&&ze(t,["method"]);var r=t.name,o=t.addInitializer;return cr(e)||(e=ar(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 it(e,t,n,r,o,i){void 0===i&&(i=fn.safeDescriptors),function(e,t,n,r){var o=t.annotationType_,i=r.value;"production"===process.env.NODE_ENV||de(i)||X("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a generator function value.")}(e,t,n,r);var s,a=r.value;(cr(a)||(a=ar(a)),o)&&((a=a.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0);return{value:a,configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function st(e,t){return{annotationType_:e,options_:t,make_:at,extend_:lt,decorate_20223_:ct}}function at(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function lt(e,t,n,r){return function(e,t,n,r){var o=t.annotationType_,i=r.get;"production"===process.env.NODE_ENV||i||X("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,Te({},this.options_,{get:n.get,set:n.set}),r)}function ct(e,t){"production"!==process.env.NODE_ENV&&ze(t,["getter"]);var n=this,r=t.name;return(0,t.addInitializer)(function(){var t=$r(this)[Ue],o=Te({},n.options_,{get:e,context:this});o.name||(o.name="production"!==process.env.NODE_ENV?t.name_+"."+r.toString():"ObservableObject."+r.toString()),t.values_.set(r,new qt(o))}),function(){return this[Ue].getObservablePropValue_(r)}}function ut(e,t){return{annotationType_:e,options_:t,make_:dt,extend_:pt,decorate_20223_:ft}}function dt(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function pt(e,t,n,r){var o,i;return function(e,t,n,r){var o=t.annotationType_;"production"===process.env.NODE_ENV||"value"in r||X("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' cannot be used on getter/setter properties")}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(i=this.options_)?void 0:i.enhancer)?o:$e,r)}function ft(e,t){if("production"!==process.env.NODE_ENV){if("field"===t.kind)throw X("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");ze(t,["accessor"])}var n=this,r=t.kind,o=t.name,i=new WeakSet;function s(e,t){var r,s,a=$r(e)[Ue],l=new Kt(t,null!=(r=null==(s=n.options_)?void 0:s.enhancer)?r:$e,"production"!==process.env.NODE_ENV?a.name_+"."+o.toString():"ObservableObject."+o.toString(),!1);a.values_.set(o,l),i.add(e)}if("accessor"==r)return{get:function(){return i.has(this)||s(this,e.get.call(this)),this[Ue].getObservablePropValue_(o)},set:function(e){return i.has(this)||s(this,e),this[Ue].setObservablePropValue_(o,e)},init:function(e){return i.has(this)||s(this,e),e}}}var ht="true",vt=bt();function bt(e){return{annotationType_:ht,options_:e,make_:mt,extend_:_t,decorate_20223_:gt}}function mt(e,t,n,r){var o,i,s,a;if(n.get)return Pt.make_(e,t,n,r);if(n.set){var l=qn(n.set)?n.set:zt(t.toString(),n.set);return r===e.target_?null===e.defineProperty_(t,{configurable:!fn.safeDescriptors||e.isPlainObject_,set:l})?0:2:(ee(r,t,{configurable:!0,set:l}),2)}if(r!==e.target_&&"function"==typeof n.value)return ve(n.value)?(null!=(a=this.options_)&&a.autoBind?ar.bound:ar).make_(e,t,n,r):(null!=(s=this.options_)&&s.autoBind?Fn.bound:Fn).make_(e,t,n,r);var c,u=!1===(null==(o=this.options_)?void 0:o.deep)?Dt.ref:Dt;"function"==typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(c=e.proxy_)?c:e.target_));return u.make_(e,t,n,r)}function _t(e,t,n,r){var o,i,s;if(n.get)return Pt.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!fn.safeDescriptors||e.isPlainObject_,set:zt(t.toString(),n.set)},r);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(s=e.proxy_)?s:e.target_));return(!1===(null==(i=this.options_)?void 0:i.deep)?Dt.ref:Dt).extend_(e,t,n,r)}function gt(e,t){X("'"+this.annotationType_+"' cannot be used as a decorator")}var yt={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function wt(e){return e||yt}Object.freeze(yt);var xt=ut("observable"),Ot=ut("observable.ref",{enhancer:He}),Et=ut("observable.shallow",{enhancer:function(e,t,n){return null==e||Xr(e)||Tr(e)||Ir(e)||Ur(e)?e:Array.isArray(e)?Dt.array(e,{name:n,deep:!1}):he(e)?Dt.object(e,void 0,{name:n,deep:!1}):ge(e)?Dt.map(e,{name:n,deep:!1}):ye(e)?Dt.set(e,{name:n,deep:!1}):void("production"!==process.env.NODE_ENV&&X("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets"))}}),kt=ut("observable.struct",{enhancer:function(e,t){return"production"!==process.env.NODE_ENV&&ur(e)&&X("observable.struct should not be used with observable values"),bo(e,t)?t:e}}),Nt=Ie(xt);function St(e){return!0===e.deep?$e:!1===e.deep?He:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:$e;var t,n,r}function jt(e,t,n){return Be(t)?xt.decorate_20223_(e,t):pe(t)?void Le(e,t,xt):ur(e)?e:he(e)?Dt.object(e,t,n):Array.isArray(e)?Dt.array(e,t):ge(e)?Dt.map(e,t):ye(e)?Dt.set(e,t):"object"==typeof e&&null!==e?e:Dt.box(e,t)}Z(jt,Nt);var Vt,At,Dt=Z(jt,{box:function(e,t){var n=wt(t);return new Kt(e,St(n),n.name,!0,n.equals)},array:function(e,t){var n=wt(t);return(!1===fn.useProxies||!1===n.proxy?lo:kr)(e,St(n),n.name)},map:function(e,t){var n=wt(t);return new Rr(e,St(n),n.name)},set:function(e,t){var n=wt(t);return new zr(e,St(n),n.name)},object:function(e,t,n){return fo(function(){return function(e,t,n,r){"production"!==process.env.NODE_ENV&&(arguments.length>4&&X("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&X("'extendObservable' expects an object as first argument"),Ir(e)&&X("'extendObservable' should not be used on maps, use map.merge instead"),he(t)||X("'extendObservable' only accepts plain objects as second argument"),(ur(t)||ur(n))&&X("Extending an object with another observable (object) is not supported"));var o=Ne(t);return fo(function(){var t=$r(e,r)[Ue];xe(o).forEach(function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))})}),e}(!1===fn.useProxies||!1===(null==n?void 0:n.proxy)?$r({},n):function(e,t){var n,r;return se(),e=$r(e,t),null!=(r=(n=e[Ue]).proxy_)?r:n.proxy_=new Proxy(e,fr)}({},n),e,t)})},ref:Ie(Ot),shallow:Ie(Et),deep:Nt,struct:Ie(kt)}),Tt="computed",Ct=st(Tt),Mt=st("computed.struct",{equals:qe.structural}),Pt=function(e,t){if(Be(t))return Ct.decorate_20223_(e,t);if(pe(t))return Le(e,t,Ct);if(he(e))return Ie(st(Tt,e));"production"!==process.env.NODE_ENV&&(de(e)||X("First argument to `computed` should be an expression."),de(t)&&X("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=he(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new qt(n)};Object.assign(Pt,Ct),Pt.struct=Ie(Mt);var Rt=0,It=1,Lt=null!=(Vt=null==(At=Q(function(){},"name"))?void 0:At.configurable)&&Vt,Bt={value:"action",configurable:!0,writable:!1,enumerable:!1};function zt(e,t,n,r){function o(){return Ut(e,n,t,r||this,arguments)}return void 0===n&&(n=!1),"production"!==process.env.NODE_ENV&&(de(t)||X("`action` can only be invoked on functions"),"string"==typeof e&&e||X("actions should have valid names, got: '"+e+"'")),o.isMobxAction=!0,o.toString=function(){return t.toString()},Lt&&(Bt.value=e,ee(o,"name",Bt)),o}function Ut(e,t,n,r,o){var i=function(e,t,n,r){var o="production"!==process.env.NODE_ENV&&Vn()&&!!e,i=0;if("production"!==process.env.NODE_ENV&&o){i=Date.now();var s=r?Array.from(r):ne;Dn({type:Mn,name:e,object:n,arguments:s})}var a=fn.trackingDerivation,l=!t||!a;mn();var c=fn.allowStateChanges;l&&(on(),c=Gt(!0));var u=an(!0),d={runAsAction_:l,prevDerivation_:a,prevAllowStateChanges_:c,prevAllowStateReads_:u,notifySpy_:o,startTime_:i,actionId_:It++,parentActionId_:Rt};return Rt=d.actionId_,d}(e,t,r,o);try{return n.apply(r,o)}catch(s){throw i.error_=s,s}finally{!function(e){Rt!==e.actionId_&&X(30);Rt=e.parentActionId_,void 0!==e.error_&&(fn.suppressReactionErrors=!0);Ft(e.prevAllowStateChanges_),ln(e.prevAllowStateReads_),_n(),e.runAsAction_&&sn(e.prevDerivation_);"production"!==process.env.NODE_ENV&&e.notifySpy_&&Cn({time:Date.now()-e.startTime_});fn.suppressReactionErrors=!1}(i)}}function Gt(e){var t=fn.allowStateChanges;return fn.allowStateChanges=e,t}function Ft(e){fn.allowStateChanges=e}var Kt=function(e){function t(t,n,r,o,i){var s,a;(void 0===r&&(r="production"!==process.env.NODE_ENV?"ObservableValue@"+le():"ObservableValue"),void 0===o&&(o=!0),void 0===i&&(i=qe.default),(s=e.call(this,r)||this).enhancer=void 0,s.name_=void 0,s.equals=void 0,s.hasUnreportedChange_=!1,s.interceptors_=void 0,s.changeListeners_=void 0,s.value_=void 0,s.dehancer=void 0,s.enhancer=n,s.name_=r,s.equals=i,s.value_=n(t,void 0,r),"production"!==process.env.NODE_ENV&&o&&Vn())&&An({type:"create",object:s,observableKind:"value",debugObjectName:s.name_,newValue:""+(null==(a=s.value_)?void 0:a.toString())});return s}Ce(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))!==fn.UNCHANGED){var n=Vn();"production"!==process.env.NODE_ENV&&n&&Dn({type:xr,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),"production"!==process.env.NODE_ENV&&n&&Cn()}},n.prepareNewValue_=function(e){if(en(this),hr(this)){var t=br(this,{object:this,type:xr,newValue:e});if(!t)return fn.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?fn.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),mr(this)&&gr(this,{type:xr,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return vr(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:xr,newValue:this.value_,oldValue:void 0}),_r(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 Ee(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Ge),qt=function(){function e(e){this.dependenciesState_=$t.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=$t.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Yt(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Wt.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||X(31),this.derivation=e.get,this.name_=e.name||("production"!==process.env.NODE_ENV?"ComputedValue@"+le():"ComputedValue"),e.set&&(this.setter_=zt("production"!==process.env.NODE_ENV?this.name_+"-setter":"ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?qe.structural:qe.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==$t.UP_TO_DATE_)return;e.lowestObserverState_=$t.POSSIBLY_STALE_,e.observers_.forEach(function(e){e.dependenciesState_===$t.UP_TO_DATE_&&(e.dependenciesState_=$t.POSSIBLY_STALE_,e.onBecomeStale_())})}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(e){return e()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(e){return e()})},t.get=function(){if(this.isComputing&&X(32,this.name_,this.derivation),0!==fn.inBatch||0!==this.observers_.size||this.keepAlive_){if(gn(this),Qt(this)){var e=fn.trackingContext;this.keepAlive_&&!e&&(fn.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===$t.STALE_)return;e.lowestObserverState_=$t.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===$t.POSSIBLY_STALE_?(t.dependenciesState_=$t.STALE_,"production"!==process.env.NODE_ENV&&t.isTracing_!==Wt.NONE&&wn(t,e)):t.dependenciesState_===$t.UP_TO_DATE_&&(e.lowestObserverState_=$t.UP_TO_DATE_)})}(this),fn.trackingContext=e}}else Qt(this)&&(this.warnAboutUntrackedRead_(),mn(),this.value_=this.computeValue_(!1),_n());var t=this.value_;if(Zt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&X(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else X(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===$t.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Zt(e)||Zt(n)||!this.equals_(e,n);return r&&(this.value_=n,"production"!==process.env.NODE_ENV&&Vn()&&An({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=Gt(!1);if(e)t=tn(this,this.derivation,this.scope_);else if(!0===fn.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(r){t=new Yt(r)}return Ft(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(nn(this),this.value_=void 0,"production"!==process.env.NODE_ENV&&this.isTracing_!==Wt.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=re);"production"!==process.env.NODE_ENV&&(de(e)||X("Autorun expects a function as first argument"),qn(e)&&X("Autorun does not accept actions since actions are untrackable"));var s,a=null!=(n=null==(r=t)?void 0:r.name)?n:"production"!==process.env.NODE_ENV?e.name||"Autorun@"+le():"Autorun";if(t.scheduler||t.delay){var l=Hn(t),c=!1;s=new On(a,function(){c||(c=!0,l(function(){c=!1,s.isDisposed||s.track(u)}))},t.onError,t.requiresObservable)}else s=new On(a,function(){this.track(u)},t.onError,t.requiresObservable);function u(){e(s)}null!=(o=t)&&null!=(o=o.signal)&&o.aborted||s.schedule_();return s.getDisposer_(null==(i=t)?void 0:i.signal)}(function(){var i=n.get();if(!r||t){var s=on();e({observableKind:"computed",debugObjectName:n.name_,type:xr,object:n,newValue:i,oldValue:o}),sn(s)}r=!1,o=i})},t.warnAboutUntrackedRead_=function(){"production"!==process.env.NODE_ENV&&(this.isTracing_!==Wt.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_:fn.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 Ee(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},Ae(e,[{key:"isComputing",get:function(){return Se(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=je(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return Se(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=je(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return Se(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=je(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return Se(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=je(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return Se(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=je(this.flags_,e.diffValueMask_,1===t)}}])}();qt.isComputingMask_=1,qt.isRunningSetterMask_=2,qt.isBeingObservedMask_=4,qt.isPendingUnobservationMask_=8,qt.diffValueMask_=16;var $t,Ht,Wt,Xt,Jt=_e("ComputedValue",qt);(Ht=$t||($t={}))[Ht.NOT_TRACKING_=-1]="NOT_TRACKING_",Ht[Ht.UP_TO_DATE_=0]="UP_TO_DATE_",Ht[Ht.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",Ht[Ht.STALE_=2]="STALE_",(Xt=Wt||(Wt={}))[Xt.NONE=0]="NONE",Xt[Xt.LOG=1]="LOG",Xt[Xt.BREAK=2]="BREAK";var Yt=function(e){this.cause=void 0,this.cause=e};function Zt(e){return e instanceof Yt}function Qt(e){switch(e.dependenciesState_){case $t.UP_TO_DATE_:return!1;case $t.NOT_TRACKING_:case $t.STALE_:return!0;case $t.POSSIBLY_STALE_:for(var t=an(!0),n=on(),r=e.observing_,o=r.length,i=0;i<o;i++){var s=r[i];if(Jt(s)){if(fn.disableErrorBoundaries)s.get();else try{s.get()}catch(a){return sn(n),ln(t),!0}if(e.dependenciesState_===$t.STALE_)return sn(n),ln(t),!0}}return cn(e),sn(n),ln(t),!1}}function en(e){if("production"!==process.env.NODE_ENV){var t=e.observers_.size>0;fn.allowStateChanges||!t&&"always"!==fn.enforceActions||console.warn("[MobX] "+(fn.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 tn(e,t,n){var r=an(!0);cn(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++fn.runId;var o,i=fn.trackingDerivation;if(fn.trackingDerivation=e,fn.inBatch++,!0===fn.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(s){o=new Yt(s)}return fn.inBatch--,fn.trackingDerivation=i,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=$t.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,s=0;s<i;s++){var a=n[s];0===a.diffValue&&(a.diffValue=1,o!==s&&(n[o]=a),o++),a.dependenciesState_>r&&(r=a.dependenciesState_)}n.length=o,e.newObserving_=null,i=t.length;for(;i--;){var l=t[i];0===l.diffValue&&vn(l,e),l.diffValue=0}for(;o--;){var c=n[o];1===c.diffValue&&(c.diffValue=0,hn(c,e))}r!==$t.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),function(e){if("production"===process.env.NODE_ENV)return;if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:fn.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),ln(r),o}function nn(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)vn(t[n],e);e.dependenciesState_=$t.NOT_TRACKING_}function rn(e){var t=on();try{return e()}finally{sn(t)}}function on(){var e=fn.trackingDerivation;return fn.trackingDerivation=null,e}function sn(e){fn.trackingDerivation=e}function an(e){var t=fn.allowStateReads;return fn.allowStateReads=e,t}function ln(e){fn.allowStateReads=e}function cn(e){if(e.dependenciesState_!==$t.UP_TO_DATE_){e.dependenciesState_=$t.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=$t.UP_TO_DATE_}}var un=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},dn=!0,pn=!1,fn=function(){var e=Y();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(dn=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new un).version&&(dn=!1),dn?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new un):(setTimeout(function(){pn||X(35)},1),new un)}();function hn(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function vn(e,t){e.observers_.delete(t),0===e.observers_.size&&bn(e)}function bn(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,fn.pendingUnobservations.push(e))}function mn(){fn.inBatch++}function _n(){if(0===--fn.inBatch){Nn();for(var e=fn.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 qt&&n.suspend_())}fn.pendingUnobservations=[]}}function gn(e){!function(e){"production"!==process.env.NODE_ENV&&!fn.allowStateReads&&fn.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=fn.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&fn.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&fn.inBatch>0&&bn(e),!1)}function yn(e){e.lowestObserverState_!==$t.STALE_&&(e.lowestObserverState_=$t.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===$t.UP_TO_DATE_&&("production"!==process.env.NODE_ENV&&t.isTracing_!==Wt.NONE&&wn(t,e),t.onBecomeStale_()),t.dependenciesState_=$t.STALE_}))}function wn(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===Wt.BREAK){var n=[];xn(tr(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 qt?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}}function xn(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 xn(e,t,n+1)}))}var On=function(){function e(e,t,n,r){void 0===e&&(e="production"!==process.env.NODE_ENV?"Reaction@"+le():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=$t.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Wt.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,fn.pendingReactions.push(this),Nn())},t.runReaction_=function(){if(!this.isDisposed){mn(),this.isScheduled=!1;var e=fn.trackingContext;if(fn.trackingContext=this,Qt(this)){this.isTrackPending=!0;try{this.onInvalidate_(),"production"!==process.env.NODE_ENV&&this.isTrackPending&&Vn()&&An({name:this.name_,type:"scheduled-reaction"})}catch(t){this.reportExceptionInDerivation_(t)}}fn.trackingContext=e,_n()}},t.track=function(e){if(!this.isDisposed){mn();var t,n=Vn();"production"!==process.env.NODE_ENV&&n&&(t=Date.now(),Dn({name:this.name_,type:"reaction"})),this.isRunning=!0;var r=fn.trackingContext;fn.trackingContext=this;var o=tn(this,e,void 0);fn.trackingContext=r,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&nn(this),Zt(o)&&this.reportExceptionInDerivation_(o.cause),"production"!==process.env.NODE_ENV&&n&&Cn({time:Date.now()-t}),_n()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(fn.disableErrorBoundaries)throw e;var n="production"!==process.env.NODE_ENV?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";fn.suppressReactionErrors?"production"!==process.env.NODE_ENV&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),"production"!==process.env.NODE_ENV&&Vn()&&An({type:"error",name:this.name_,message:n,error:""+e}),fn.globalReactionErrorHandlers.forEach(function(n){return n(e,t)})}},t.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(mn(),nn(this),_n()))},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[Ue]=this,"dispose"in Symbol&&"symbol"==typeof Symbol.dispose&&(n[Symbol.dispose]=n),n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){if("production"===process.env.NODE_ENV)return;for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"boolean"==typeof n[n.length-1]&&(e=n.pop());var o=function(e){switch(e.length){case 0:return fn.trackingDerivation;case 1:return co(e[0]);case 2:return co(e[0],e[1])}}(n);if(!o)return X("'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_===Wt.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled");o.isTracing_=e?Wt.BREAK:Wt.LOG}(this,e)},Ae(e,[{key:"isDisposed",get:function(){return Se(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=je(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return Se(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=je(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return Se(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=je(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return Se(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=je(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return Se(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=je(this.flags_,e.diffValueMask_,1===t)}}])}();On.isDisposedMask_=1,On.isScheduledMask_=2,On.isTrackPendingMask_=4,On.isRunningMask_=8,On.diffValueMask_=16;var En=100,kn=function(e){return e()};function Nn(){fn.inBatch>0||fn.isRunningReactions||kn(Sn)}function Sn(){fn.isRunningReactions=!0;for(var e=fn.pendingReactions,t=0;e.length>0;){++t===En&&(console.error("production"!==process.env.NODE_ENV?"Reaction doesn't converge to a stable state after "+En+" iterations. Probably there is a cycle in the reactive function: "+e[0]:"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}fn.isRunningReactions=!1}var jn=_e("Reaction",On);function Vn(){return"production"!==process.env.NODE_ENV&&!!fn.spyListeners.length}function An(e){if("production"!==process.env.NODE_ENV&&fn.spyListeners.length)for(var t=fn.spyListeners,n=0,r=t.length;n<r;n++)t[n](e)}function Dn(e){"production"!==process.env.NODE_ENV&&An(Te({},e,{spyReportStart:!0}))}var Tn={type:"report-end",spyReportEnd:!0};function Cn(e){"production"!==process.env.NODE_ENV&&An(e?Te({},e,{type:"report-end",spyReportEnd:!0}):Tn)}var Mn="action",Pn="autoAction",Rn="<unnamed action>",In=Je(Mn),Ln=Je("action.bound",{bound:!0}),Bn=Je(Pn,{autoAction:!0}),zn=Je("autoAction.bound",{autoAction:!0,bound:!0});function Un(e){return function(t,n){return de(t)?zt(t.name||Rn,t,e):de(n)?zt(t,n,e):Be(n)?(e?Bn:In).decorate_20223_(t,n):pe(n)?Le(t,n,e?Bn:In):pe(t)?Ie(Je(e?Pn:Mn,{name:t,autoAction:e})):void("production"!==process.env.NODE_ENV&&X("Invalid arguments for `action`"))}}var Gn=Un(!1);Object.assign(Gn,In);var Fn=Un(!0);function Kn(e){return Ut(e.name||Rn,!1,e,this,void 0)}function qn(e){return de(e)&&!0===e.isMobxAction}Object.assign(Fn,Bn),Gn.bound=Ie(Ln),Fn.bound=Ie(zn);var $n=function(e){return e()};function Hn(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:$n}function Wn(e,t,n){var r,o,i;void 0===n&&(n=re),"production"!==process.env.NODE_ENV&&(de(e)&&de(t)||X("First and second argument to reaction should be functions"),he(n)||X("Third argument of reactions should be an object"));var s,a,l,c=null!=(r=n.name)?r:"production"!==process.env.NODE_ENV?"Reaction@"+le():"Reaction",u=Gn(c,n.onError?(s=n.onError,a=t,function(){try{return a.apply(this,arguments)}catch(e){s.call(this,e)}}):t),d=!n.scheduler&&!n.delay,p=Hn(n),f=!0,h=!1,v=n.compareStructural?qe.structural:n.equals||qe.default,b=new On(c,function(){f||d?m():h||(h=!0,p(m))},n.onError,n.requiresObservable);function m(){if(h=!1,!b.isDisposed){var t=!1,r=l;b.track(function(){var n=function(e,t){var n=Gt(e);try{return t()}finally{Ft(n)}}(!1,function(){return e(b)});t=f||!v(l,n),l=n}),(f&&n.fireImmediately||!f&&t)&&u(l,r,b),f=!1}}return null!=(o=n)&&null!=(o=o.signal)&&o.aborted||b.schedule_(),b.getDisposer_(null==(i=n)?void 0:i.signal)}var Xn="onBO",Jn="onBUO";function Yn(e,t,n){return Zn(Jn,e,t,n)}function Zn(e,t,n,r){var o=co(t),i=de(r)?r:n,s=e+"L";return o[s]?o[s].add(i):o[s]=new Set([i]),function(){var e=o[s];e&&(e.delete(i),0===e.size&&delete o[s])}}var Qn="always";function er(e){!0===e.isolateGlobalState&&function(){if((fn.pendingReactions.length||fn.inBatch||fn.isRunningReactions)&&X(36),pn=!0,dn){var e=Y();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),fn=new un}}();var t,n,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(fn.useProxies=r===Qn||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(fn.verifyProxies=!0),void 0!==o){var i=o===Qn?Qn:"observed"===o;fn.enforceActions=i,fn.allowStateChanges=!0!==i&&i!==Qn}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(t){t in e&&(fn[t]=!!e[t])}),fn.allowStateReads=!fn.observableRequiresReaction,"production"!==process.env.NODE_ENV&&!0===fn.disableErrorBoundaries&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),e.reactionScheduler&&(t=e.reactionScheduler,n=kn,kn=function(e){return t(function(){return n(e)})})}function tr(e,t){return nr(co(e,t))}function nr(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(nr)),n}var rr=0;function or(){this.message="FLOW_CANCELLED"}or.prototype=Object.create(Error.prototype);var ir=tt("flow"),sr=tt("flow.bound",{bound:!0}),ar=Object.assign(function(e,t){if(Be(t))return ir.decorate_20223_(e,t);if(pe(t))return Le(e,t,ir);"production"!==process.env.NODE_ENV&&1!==arguments.length&&X("Flow expects single argument with generator function");var n=e,r=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++rr,i=Gn(r+" - runid: "+o+" - init",n).apply(this,t),s=void 0,a=new Promise(function(t,n){var a=0;function l(e){var t;s=void 0;try{t=Gn(r+" - runid: "+o+" - yield "+a++,i.next).call(i,e)}catch(l){return n(l)}u(t)}function c(e){var t;s=void 0;try{t=Gn(r+" - runid: "+o+" - yield "+a++,i.throw).call(i,e)}catch(l){return n(l)}u(t)}function u(e){if(!de(null==e?void 0:e.then))return e.done?t(e.value):(s=Promise.resolve(e.value)).then(l,c);e.then(u,n)}e=n,l(void 0)});return a.cancel=Gn(r+" - runid: "+o+" - cancel",function(){try{s&&lr(s);var t=i.return(void 0),n=Promise.resolve(t.value);n.then(ue,ue),lr(n),e(new or)}catch(r){e(r)}}),a};return o.isMobXFlow=!0,o},ir);function lr(e){de(e.cancel)&&e.cancel()}function cr(e){return!0===(null==e?void 0:e.isMobXFlow)}function ur(e){return"production"!==process.env.NODE_ENV&&1!==arguments.length&&X("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e){return!!e&&(Xr(e)||!!e[Ue]||Fe(e)||jn(e)||Jt(e))}(e)}function dr(e,t){void 0===t&&(t=void 0),mn();try{return e.apply(t)}finally{_n()}}function pr(e){return e[Ue]}ar.bound=Ie(sr);var fr={has:function(e,t){return"production"!==process.env.NODE_ENV&&fn.trackingDerivation&&ae("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),pr(e).has_(t)},get:function(e,t){return pr(e).get_(t)},set:function(e,t,n){var r;return!!pe(t)&&("production"===process.env.NODE_ENV||pr(e).values_.has(t)||ae("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(r=pr(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return"production"!==process.env.NODE_ENV&&ae("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!pe(t)&&(null==(n=pr(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return"production"!==process.env.NODE_ENV&&ae("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(r=pr(e).defineProperty_(t,n))||r},ownKeys:function(e){return"production"!==process.env.NODE_ENV&&fn.trackingDerivation&&ae("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),pr(e).ownKeys_()},preventExtensions:function(e){X(13)}};function hr(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function vr(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),ce(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function br(e,t){var n=on();try{for(var r=[].concat(e.interceptors_||[]),o=0,i=r.length;o<i&&((t=r[o](t))&&!t.type&&X(14),t);o++);return t}finally{sn(n)}}function mr(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function _r(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),ce(function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)})}function gr(e,t){var n=on(),r=e.changeListeners_;if(r){for(var o=0,i=(r=r.slice()).length;o<i;o++)r[o](t);sn(n)}}function yr(e,t,n){return fo(function(){var r=$r(e,n)[Ue];"production"!==process.env.NODE_ENV&&t&&e[Re]&&X("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),null!=t||(t=function(e){return ke(e,Re)||be(e,Re,Te({},e[Re])),e[Re]}(e)),xe(t).forEach(function(e){return r.make_(e,t[e])})}),e}var wr="splice",xr="update",Or={get:function(e,t){var n=e[Ue];return t===Ue?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?ke(Nr,t)?Nr[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var r=e[Ue];return"length"===t&&r.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:r.set_(parseInt(t),n),!0},preventExtensions:function(){X(15)}},Er=function(){function e(e,t,n,r){void 0===e&&(e="production"!==process.env.NODE_ENV?"ObservableArray@"+le():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=r,this.atom_=new Ge(e),this.enhancer_=function(n,r){return t(n,r,"production"!==process.env.NODE_ENV?e+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return vr(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}),_r(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&X("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_&&X(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&ao(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;en(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=ne),hr(this)){var i=br(this,{object:this.proxy_,type:wr,index:e,removedCount:t,added:n});if(!i)return ne;t=i.removedCount,n=i.added}if(n=0===n.length?n:n.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_||"production"!==process.env.NODE_ENV){var s=n.length-t;this.updateArrayLength_(o,s)}var a=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,a),this.dehanceValues_(a)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var o=this.values_.slice(e,e+t),i=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var s=0;s<n.length;s++)this.values_[e+s]=n[s];for(var a=0;a<i.length;a++)this.values_[e+n.length+a]=i[a];return o},t.notifyArrayChildUpdate_=function(e,t,n){var r=!this.owned_&&Vn(),o=mr(this),i=o||r?{observableKind:"array",object:this.proxy_,type:xr,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;"production"!==process.env.NODE_ENV&&r&&Dn(i),this.atom_.reportChanged(),o&&gr(this,i),"production"!==process.env.NODE_ENV&&r&&Cn()},t.notifyArraySplice_=function(e,t,n){var r=!this.owned_&&Vn(),o=mr(this),i=o||r?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:wr,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;"production"!==process.env.NODE_ENV&&r&&Dn(i),this.atom_.reportChanged(),o&&gr(this,i),"production"!==process.env.NODE_ENV&&r&&Cn()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("production"!==process.env.NODE_ENV?"[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&X(17,e,n.length),e<n.length){en(this.atom_);var r=n[e];if(hr(this)){var o=br(this,{type:xr,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,r))!==r&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,r))}else{for(var i=new Array(e+1-n.length),s=0;s<i.length-1;s++)i[s]=void 0;i[i.length-1]=t,this.spliceWithArray_(n.length,0,i)}},e}();function kr(e,t,n,r){return void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableArray@"+le():"ObservableArray"),void 0===r&&(r=!1),se(),fo(function(){var o=new Er(n,t,r,!1);me(o.values_,Ue,o);var i=new Proxy(o.values_,Or);return o.proxy_=i,e&&e.length&&o.spliceWithArray_(0,0,e),i})}var Nr={clear:function(){return this.splice(0)},replace:function(e){var t=this[Ue];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[Ue];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[Ue].spliceWithArray_(e,t,n)},push:function(){for(var e=this[Ue],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[Ue].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[Ue],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 fn.trackingDerivation&&X(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){fn.trackingDerivation&&X(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[Ue],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Sr(e,t){"function"==typeof Array.prototype[e]&&(Nr[e]=t(e))}function jr(e){return function(){var t=this[Ue];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Vr(e){return function(t,n){var r=this,o=this[Ue];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e](function(e,o){return t.call(n,e,o,r)})}}function Ar(e){return function(){var t=this,n=this[Ue];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)}}Sr("at",jr),Sr("concat",jr),Sr("flat",jr),Sr("includes",jr),Sr("indexOf",jr),Sr("join",jr),Sr("lastIndexOf",jr),Sr("slice",jr),Sr("toString",jr),Sr("toLocaleString",jr),Sr("toSorted",jr),Sr("toSpliced",jr),Sr("with",jr),Sr("every",Vr),Sr("filter",Vr),Sr("find",Vr),Sr("findIndex",Vr),Sr("findLast",Vr),Sr("findLastIndex",Vr),Sr("flatMap",Vr),Sr("forEach",Vr),Sr("map",Vr),Sr("some",Vr),Sr("toReversed",Vr),Sr("reduce",Ar),Sr("reduceRight",Ar);var Dr=_e("ObservableArrayAdministration",Er);function Tr(e){return fe(e)&&Dr(e[Ue])}var Cr={},Mr="add",Pr="delete",Rr=function(){function e(e,t,n){var r=this;void 0===t&&(t=$e),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableMap@"+le():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Ue]=Cr,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,de(Map)||X(18),fo(function(){r.keysAtom_=Ke("production"!==process.env.NODE_ENV?r.name_+".keys()":"ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)})}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!fn.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Kt(this.has_(e),He,"production"!==process.env.NODE_ENV?this.name_+"."+Oe(e)+"?":"ObservableMap.key?",!1);this.hasMap_.set(e,r),Yn(r,function(){return t.hasMap_.delete(e)})}return n.get()},t.set=function(e,t){var n=this.has_(e);if(hr(this)){var r=br(this,{type:n?xr:Mr,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((en(this.keysAtom_),hr(this))&&!br(this,{type:Pr,object:this,name:e}))return!1;if(this.has_(e)){var n=Vn(),r=mr(this),o=r||n?{observableKind:"map",debugObjectName:this.name_,type:Pr,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return"production"!==process.env.NODE_ENV&&n&&Dn(o),dr(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&&gr(this,o),"production"!==process.env.NODE_ENV&&n&&Cn(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==fn.UNCHANGED){var r=Vn(),o=mr(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:xr,object:this,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&Dn(i),n.setNewValue_(t),o&&gr(this,i),"production"!==process.env.NODE_ENV&&r&&Cn()}},t.addValue_=function(e,t){var n=this;en(this.keysAtom_),dr(function(){var r,o=new Kt(t,n.enhancer_,"production"!==process.env.NODE_ENV?n.name_+"."+Oe(e):"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()});var r=Vn(),o=mr(this),i=o||r?{observableKind:"map",debugObjectName:this.name_,type:Mr,object:this,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&Dn(i),o&&gr(this,i),"production"!==process.env.NODE_ENV&&r&&Cn()},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 Lr({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 Lr({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=De(this);!(n=r()).done;){var o=n.value,i=o[0],s=o[1];e.call(t,s,i,this)}},t.merge=function(e){var t=this;return Ir(e)&&(e=new Map(e)),dr(function(){var n,r,o;he(e)?function(e){var t=Object.keys(e);if(!we)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(t){return te.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)}):ge(e)?(n=e,r=Object.getPrototypeOf(n),o=Object.getPrototypeOf(r),null!==Object.getPrototypeOf(o)&&X(19,e),e.forEach(function(e,n){return t.set(n,e)})):null!=e&&X(20,e)}),this},t.clear=function(){var e=this;dr(function(){rn(function(){for(var t,n=De(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.replace=function(e){var t=this;return dr(function(){for(var n,r=function(e){if(ge(e)||Ir(e))return e;if(Array.isArray(e))return new Map(e);if(he(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return X(21,e)}(e),o=new Map,i=!1,s=De(t.data_.keys());!(n=s()).done;){var a=n.value;if(!r.has(a))if(t.delete(a))i=!0;else{var l=t.data_.get(a);o.set(a,l)}}for(var c,u=De(r.entries());!(c=u()).done;){var d=c.value,p=d[0],f=d[1],h=t.data_.has(p);if(t.set(p,f),t.data_.has(p)){var v=t.data_.get(p);o.set(p,v),h||(i=!0)}}if(!i)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var b=t.data_.keys(),m=o.keys(),_=b.next(),g=m.next();!_.done;){if(_.value!==g.value){t.keysAtom_.reportChanged();break}_=b.next(),g=m.next()}t.data_=o}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&X("`observe` doesn't support fireImmediately=true in combination with maps."),_r(this,e)},t.intercept_=function(e){return vr(this,e)},Ae(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Ir=_e("ObservableMap",Rr);function Lr(e){return e[Symbol.toStringTag]="MapIterator",yo(e)}var Br={},zr=function(){function e(e,t,n){var r=this;void 0===t&&(t=$e),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableSet@"+le():"ObservableSet"),this.name_=void 0,this[Ue]=Br,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,de(Set)||X(22),this.enhancer_=function(e,r){return t(e,r,n)},fo(function(){r.atom_=Ke(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;dr(function(){rn(function(){for(var t,n=De(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}})})},t.forEach=function(e,t){for(var n,r=De(this);!(n=r()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if(en(this.atom_),hr(this)){var n=br(this,{type:Mr,object:this,newValue:e});if(!n)return this;e=n.newValue}if(!this.has(e)){dr(function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()});var r="production"!==process.env.NODE_ENV&&Vn(),o=mr(this),i=o||r?{observableKind:"set",debugObjectName:this.name_,type:Mr,object:this,newValue:e}:null;r&&"production"!==process.env.NODE_ENV&&Dn(i),o&&gr(this,i),r&&"production"!==process.env.NODE_ENV&&Cn()}return this},t.delete=function(e){var t=this;if(hr(this)&&!br(this,{type:Pr,object:this,oldValue:e}))return!1;if(this.has(e)){var n="production"!==process.env.NODE_ENV&&Vn(),r=mr(this),o=r||n?{observableKind:"set",debugObjectName:this.name_,type:Pr,object:this,oldValue:e}:null;return n&&"production"!==process.env.NODE_ENV&&Dn(o),dr(function(){t.atom_.reportChanged(),t.data_.delete(e)}),r&&gr(this,o),n&&"production"!==process.env.NODE_ENV&&Cn(),!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 Gr({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 Gr({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 ye(e)&&!Ur(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return ye(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 ye(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 ye(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)),dr(function(){Array.isArray(e)||ye(e)?(t.clear(),e.forEach(function(e){return t.add(e)})):null!=e&&X("Cannot initialize set from "+e)}),this},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&X("`observe` doesn't support fireImmediately=true in combination with sets."),_r(this,e)},t.intercept_=function(e){return vr(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},Ae(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),Ur=_e("ObservableSet",zr);function Gr(e){return e[Symbol.toStringTag]="SetIterator",yo(e)}var Fr=Object.create(null),Kr="remove",qr=function(){function e(e,t,n,r){void 0===t&&(t=new Map),void 0===r&&(r=vt),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 Ge("production"!==process.env.NODE_ENV?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=he(this.target_),"production"===process.env.NODE_ENV||xo(this.defaultAnnotation_)||X("defaultAnnotation must be valid annotation"),"production"!==process.env.NODE_ENV&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof qt)return n.set(t),!0;if(hr(this)){var r=br(this,{type:xr,object:this.proxy_||this.target_,name:e,newValue:t});if(!r)return null;t=r.newValue}if((t=n.prepareNewValue_(t))!==fn.UNCHANGED){var o=mr(this),i="production"!==process.env.NODE_ENV&&Vn(),s=o||i?{type:xr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&i&&Dn(s),n.setNewValue_(t),o&&gr(this,s),"production"!==process.env.NODE_ENV&&i&&Cn()}return!0},t.get_=function(e){return fn.trackingDerivation&&!ke(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),ke(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(!fn.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Kt(e in this.target_,He,"production"!==process.env.NODE_ENV?this.name_+"."+Oe(e)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(Yr(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[Re])&&n[e])return;X(1,t.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==te;){var o=Q(r,e);if(o){var i=t.make_(this,e,o,r);if(0===i)return;if(1===i)break}r=Object.getPrototypeOf(r)}Jr(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);Yr(this,n,e);var o=n.extend_(this,e,t,r);return o&&Jr(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),en(this.keysAtom_);try{mn();var r=this.delete_(e);if(!r)return r;if(hr(this)){var o=br(this,{object:this.proxy_||this.target_,name:e,type:Mr,newValue:t.value});if(!o)return null;var i=o.newValue;t.value!==i&&(t=Te({},t,{value:i}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else ee(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{_n()}return!0},t.defineObservableProperty_=function(e,t,n,r){void 0===r&&(r=!1),en(this.keysAtom_);try{mn();var o=this.delete_(e);if(!o)return o;if(hr(this)){var i=br(this,{object:this.proxy_||this.target_,name:e,type:Mr,newValue:t});if(!i)return null;t=i.newValue}var s=Wr(e),a={configurable:!fn.safeDescriptors||this.isPlainObject_,enumerable:!0,get:s.get,set:s.set};if(r){if(!Reflect.defineProperty(this.target_,e,a))return!1}else ee(this.target_,e,a);var l=new Kt(t,n,"production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{_n()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),en(this.keysAtom_);try{mn();var r=this.delete_(e);if(!r)return r;if(hr(this))if(!br(this,{object:this.proxy_||this.target_,name:e,type:Mr,newValue:void 0}))return null;t.name||(t.name="production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key"),t.context=this.proxy_||this.target_;var o=Wr(e),i={configurable:!fn.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,i))return!1}else ee(this.target_,e,i);this.values_.set(e,new qt(t)),this.notifyPropertyAddition_(e,void 0)}finally{_n()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),en(this.keysAtom_),!ke(this.target_,e))return!0;if(hr(this)&&!br(this,{object:this.proxy_||this.target_,name:e,type:Kr}))return null;try{var n;mn();var r,o=mr(this),i="production"!==process.env.NODE_ENV&&Vn(),s=this.values_.get(e),a=void 0;if(!s&&(o||i))a=null==(r=Q(this.target_,e))?void 0:r.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if("production"!==process.env.NODE_ENV&&delete this.appliedAnnotations_[e],s&&(this.values_.delete(e),s instanceof Kt&&(a=s.value_),yn(s)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||i){var l={type:Kr,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};"production"!==process.env.NODE_ENV&&i&&Dn(l),o&&gr(this,l),"production"!==process.env.NODE_ENV&&i&&Cn()}}finally{_n()}return!0},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&X("`observe` doesn't support the fire immediately property for observable objects."),_r(this,e)},t.intercept_=function(e){return vr(this,e)},t.notifyPropertyAddition_=function(e,t){var n,r=mr(this),o="production"!==process.env.NODE_ENV&&Vn();if(r||o){var i=r||o?{type:Mr,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&Dn(i),r&&gr(this,i),"production"!==process.env.NODE_ENV&&o&&Cn()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),xe(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function $r(e,t){var n;if("production"!==process.env.NODE_ENV&&t&&Xr(e)&&X("Options can't be provided for already observable objects."),ke(e,Ue))return"production"===process.env.NODE_ENV||uo(e)instanceof qr||X("Cannot convert '"+po(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;"production"===process.env.NODE_ENV||Object.isExtensible(e)||X("Cannot make the designated object observable; it is not extensible");var r=null!=(n=null==t?void 0:t.name)?n:"production"!==process.env.NODE_ENV?(he(e)?"ObservableObject":e.constructor.name)+"@"+le():"ObservableObject",o=new qr(e,new Map,String(r),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:bt(e):void 0}(t));return be(e,Ue,o),e}var Hr=_e("ObservableObjectAdministration",qr);function Wr(e){return Fr[e]||(Fr[e]={get:function(){return this[Ue].getObservablePropValue_(e)},set:function(t){return this[Ue].setObservablePropValue_(e,t)}})}function Xr(e){return!!fe(e)&&Hr(e[Ue])}function Jr(e,t,n){var r;"production"!==process.env.NODE_ENV&&(e.appliedAnnotations_[n]=t),null==(r=e.target_[Re])||delete r[n]}function Yr(e,t,n){if("production"===process.env.NODE_ENV||xo(t)||X("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),"production"!==process.env.NODE_ENV&&!Xe(t)&&ke(e.appliedAnnotations_,n)){var r=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;X("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 Zr,Qr,eo=io(0),to=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),no=0,ro=function(){};Zr=ro,Qr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Zr.prototype,Qr):void 0!==Zr.prototype.__proto__?Zr.prototype.__proto__=Qr:Zr.prototype=Qr;var oo=function(e){function t(t,n,r,o){var i;return void 0===r&&(r="production"!==process.env.NODE_ENV?"ObservableArray@"+le():"ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,fo(function(){var e=new Er(r,n,o,!0);e.proxy_=i,me(i,Ue,e),t&&t.length&&i.spliceWithArray(0,0,t),to&&Object.defineProperty(i,"0",eo)}),i}Ce(t,e);var n=t.prototype;return n.concat=function(){this[Ue].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map(function(e){return Tr(e)?e.slice():e}))},n[Symbol.iterator]=function(){var e=this,t=0;return yo({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},Ae(t,[{key:"length",get:function(){return this[Ue].getArrayLength_()},set:function(e){this[Ue].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(ro);function io(e){return{enumerable:!1,configurable:!0,get:function(){return this[Ue].get_(e)},set:function(t){this[Ue].set_(e,t)}}}function so(e){ee(oo.prototype,""+e,io(e))}function ao(e){if(e>no){for(var t=no;t<e+100;t++)so(t);no=e}}function lo(e,t,n){return new oo(e,t,n)}function co(e,t){if("object"==typeof e&&null!==e){if(Tr(e))return void 0!==t&&X(23),e[Ue].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||X(25,t,po(e)),n}if(Xr(e)){if(!t)return X(26);var r=e[Ue].values_.get(t);return r||X(27,t,po(e)),r}if(Fe(e)||Jt(e)||jn(e))return e}else if(de(e)&&jn(e[Ue]))return e[Ue];X(28)}function uo(e,t){return e||X(29),Fe(e)||Jt(e)||jn(e)||Ir(e)||Ur(e)?e:e[Ue]?e[Ue]:void X(24,e)}function po(e,t){var n;if(void 0!==t)n=co(e,t);else{if(qn(e))return e.name;n=Xr(e)||Ir(e)||Ur(e)?uo(e):co(e)}return n.name_}function fo(e){var t=on(),n=Gt(!0);mn();try{return e()}finally{_n(),Ft(n),sn(t)}}Object.entries(Nr).forEach(function(e){var t=e[0],n=e[1];"concat"!==t&&be(oo.prototype,t,n)}),ao(1e3);var ho,vo=te.toString;function bo(e,t,n){return void 0===n&&(n=-1),mo(e,t,n)}function mo(e,t,n,r,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;if("function"!==i&&"object"!==i&&"object"!=typeof t)return!1;var s=vo.call(e);if(s!==vo.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0===+e?1/+e==1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=_o(e),t=_o(t);var a="[object Array]"===s;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(de(l)&&l instanceof l&&de(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return o[u]===t;if(r.push(e),o.push(t),a){if((u=e.length)!==t.length)return!1;for(;u--;)if(!mo(e[u],t[u],n-1,r,o))return!1}else{var d=Object.keys(e),p=d.length;if(Object.keys(t).length!==p)return!1;for(var f=0;f<p;f++){var h=d[f];if(!ke(t,h)||!mo(e[h],t[h],n-1,r,o))return!1}}return r.pop(),o.pop(),!0}function _o(e){return Tr(e)?e.slice():ge(e)||Ir(e)||ye(e)||Ur(e)?Array.from(e.entries()):e}var go=(null==(ho=Y().Iterator)?void 0:ho.prototype)||{};function yo(e){return e[Symbol.iterator]=wo,Object.assign(Object.create(go),e)}function wo(){return this}function xo(e){return e instanceof Object&&"string"==typeof e.annotationType_&&de(e.make_)&&de(e.extend_)}["Symbol","Map","Set"].forEach(function(e){void 0===Y()[e]&&X("MobX requires global '"+e+"' to be available or polyfilled")}),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return"production"===process.env.NODE_ENV?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(fn.spyListeners.push(e),ce(function(){fn.spyListeners=fn.spyListeners.filter(function(t){return t!==e})}))},extras:{getDebugName:po},$mobx:Ue});const Oo="null",Eo="undefined",ko="nan",No="[object Object]",So="[object Array]",jo="[object String]",Vo="[object Number]",Ao="[object Boolean]",Do="[object Function]",To="[object AsyncFunction]",Co="[object RegExp]",Mo="[object Symbol]",Po="infinite",Ro="element";const Io=(...e)=>t=>e.includes(function(e){if(void 0===e)return Eo;if(null===e)return Oo;if(e&&(1===e.nodeType||9===e.nodeType))return Ro;const t=Object.prototype.toString.call(e);if(t===Vo){if(Number.isNaN(e))return ko;if(!Number.isFinite(e))return Po}return t}(t)),Lo=Io(Oo),Bo=Io(Eo),zo=Io(No),Uo=Io(So),Go=Io(jo),Fo=Io(Vo),Ko=Io(Ao),qo=Io(Do,To),$o=Io(Co),Ho=Io(Ro),Wo=Io(ko),Xo=Io(Po),Jo=Io(Mo),Yo=Object.freeze(Object.defineProperty({__proto__:null,isArray:Uo,isBoolean:Ko,isDefined:e=>null!=e,isElement:Ho,isFunction:qo,isInfinite:Xo,isNaN:Wo,isNull:Lo,isNumber:Fo,isObject:zo,isRegExp:$o,isString:Go,isSymbol:Jo,isUndefined:Bo},Symbol.toStringTag,{value:"Module"})),Zo=e=>{const t=e?.comparer??qe.default,n=e=>{const r=e??null;t(n.current,r)||Kn(()=>{n.current=r,n.listeners.forEach(e=>{e(n.current)})})};return n.listeners=new Set(e?.onChange?[e.onChange]:[]),(e?.onSet||e?.onUnset)&&n.listeners.add(t=>{t?e.onSet?.(t):e.onUnset?.()}),n.current=e?.initial??null,n.meta=e?.meta??{},yr(n,{current:Dt.ref,meta:Dt}),n};class Qo extends AbortController{constructor(...e){super(),this.link(...e)}link(...e){e.forEach(e=>{e?.addEventListener("abort",()=>{this.abort(e.reason)})})}}const ei=(e,...t)=>"function"==typeof e?e(...t):e;class ti{constructor(e){if(this.config=e,this.abortController=new Qo(e.abortSignal),this.activateStrategy=this.config.activateStrategy??{type:"immidiately"},this.isActivated=!("immidiately"!==this.activateStrategy.type),Dt.ref(this,"isActivated"),Pt.struct(this,"actions"),Gn.bound(this,"handleKeyboardClick"),yr(this),"element-focus"===this.activateStrategy.type){const e=this.activateStrategy.ref;let t=new Qo;Wn(()=>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 Qo(this.abortController.signal))},{fireImmediately:!0,signal:this.abortController.signal})}globalThis.addEventListener("keydown",this.handleKeyboardClick,{signal:this.abortController.signal}),"keyclick"===e.activateStrategy?.type&&(globalThis.addEventListener("click",this.activate,{signal:this.abortController.signal}),globalThis.addEventListener("mousemove",this.activate,{signal:this.abortController.signal}))}abortController;activateStrategy;isActivated;get actions(){return ei(this.config.actions)??[]}activate=()=>{this.isActivated||(this.isActivated=!0,this.config.onActivate?.())};deactivate=()=>{this.isActivated&&(this.isActivated=!1,this.config.onDeactivate?.())};handleKeyboardClick(e){if(this.config.onKeyClick?.(e),"keyclick"===this.activateStrategy.type&&this.activate(),this.isActivated)for(const t of this.actions){if(!ei(t.disabled))for(const n of t.shortcuts){if(n.split("+").every(t=>this.checkShortcut(e,t)))return void Kn(()=>{t.action(e)})}}}checkShortcut(e,t){return!("Shift"!==t||!e.shiftKey)||(!("Ctrl"!==t||!e.ctrlKey)||(!("Alt"!==t||!e.altKey)||t===e.key))}destroy(){this.abortController.abort()}}class ni extends ti{constructor(e){super({abortSignal:e.unmountSignal,actions:[{shortcuts:["Ctrl+Shift+F12"],action:()=>{e.handleToggleOpen()}},{shortcuts:["Ctrl+ArrowLeft"],action:()=>{e.isAllVmsExpandedByDefault=!1}},{shortcuts:["Ctrl+ArrowRight"],action:()=>{e.isAllVmsExpandedByDefault=!0}},{shortcuts:["Ctrl+ArrowDown"],action:()=>{requestAnimationFrame(()=>{e.containerRef.current.scrollTop+=200})}},{shortcuts:["Ctrl+ArrowUp"],action:()=>{requestAnimationFrame(()=>{e.containerRef.current.scrollTop-=200})}}]})}}class ri extends w.ViewModelBase{}const oi=(e,t)=>{const n=t.split(".");let r=e;for(const o of n){if(!(o in r))return!1;r=r[o]}return!0},ii=()=>{const e=Zo({meta:{focused:!1},onSet:t=>{document.activeElement===t&&Kn(()=>{e.meta.focused=!0}),t.addEventListener("focus",Gn(()=>{e.meta.focused=!0})),t.addEventListener("blur",Gn(()=>{e.meta.focused=!1}))}});return e},si=new Set(["constructor"]),ai=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 li(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)si.has(n)||t.add(n);const r=Object.getPrototypeOf(n);if(ai.has(r))break;n=r}return Array.from(t)}class ci extends(t=ri,e=[Pt],t){constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1},viewModelStores:{useDecorators:!1}}}}),((e,t,n,r)=>{for(var o=0,i=e[t>>1],s=i&&i.length;o<s;o++)1&t?i[o].call(n):r=i[o].call(n,r)})(n,5,this),h(this,"isOpened",!0),h(this,"displayType","popup"),h(this,"vmStore",new w.ViewModelStoreBase),h(this,"projectVmStore",this.viewModels),h(this,"handleToggleOpen",()=>{this.isOpened=!this.isOpened}),h(this,"expandedVmsSet",Dt.set()),h(this,"isAllVmsExpandedByDefault",!0),h(this,"expandedVmItemsPaths",Dt.set()),h(this,"logoUrl","https://js2me.github.io/mobx-view-model/logo.png"),h(this,"inputRef",ii()),h(this,"containerRef",ii()),h(this,"buttonRef",Zo()),h(this,"keyboardHandler",new ni(this)),h(this,"search",""),h(this,"handleSearchChange",e=>{this.search=e.target.value}),yr(this,{isOpened:Dt.ref,isAllVmsExpandedByDefault:Dt,search:Dt.ref,handleToggleOpen:Gn,handleExpandPropertyClick:Gn,allVms:Pt.struct,vmMap:Pt.struct,isInSearch:Pt,vmTree:Pt.struct,rootVms:Pt.struct,handleSearchChange:Gn});Wn(()=>[this.formattedSearch,this.allVms,this.isAllVmsExpandedByDefault],H(([e])=>{e&&document.querySelector('[data-fitted="true"]')?.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},140),{signal:this.unmountSignal})}get vmMap(){return this.getViewModelsMap()}get allVms(){return[...this.vmMap.values()].filter(e=>!ri.isPrototypeOf(e.constructor))}get rootVms(){return this.allVms.filter(e=>{const t=this.getVmParams(e);return!t||null==t.parentViewModel})}get formattedSearch(){return this.search.toLowerCase().trim()}get vmTree(){const e=[],t=[],n=(t,r)=>{const o=e.find(e=>e.vm===t);if(o)return o;const i=this.getVmParams(t),s=i?.parentViewModel||null,a=t.constructor.name,l={parent:s?n(s,r-1):null,vm:t,displayName:a,children:[],depth:r,key:`${a}-${t.id}-${r}`,properties:li(t)};e.push(l);const c=this.allVms.filter(e=>{const n=this.getVmParams(e);return n?.parentViewModel&&n.parentViewModel===t}).map(e=>n(e,r+1)).filter(e=>Boolean(e));return l.children.push(...c),l};return this.rootVms.forEach(e=>{const r=n(e,0);r&&t.push(r)}),t}get isInSearch(){return!!this.search.toLowerCase().trim()}get searchCache(){return this.formattedSearch,new Map}getVMFittedInfo(e){if(!this.isInSearch)return{isFitted:!0,isFittedByName:!0,fittedProperties:[]};if(this.searchCache.has(e.key))return this.searchCache.get(e.key);let t=!1;const n=[];let r=e.displayName.toLowerCase().trim().includes(this.formattedSearch),o=oi(e.vm,this.search);o||"."!==this.search.at(-1)||(o=oi(e.vm,this.search.slice(0,-1)));let i=this.formattedSearch;if(!o&&this.search.split(".")[0].toLowerCase()===e.displayName.toLowerCase()){const t=this.search.split(".").slice(1).join(".");t?o=oi(e.vm,t):(o=!0,r=!0),i=t.toLowerCase().trim()}e.properties.forEach(e=>{let s=!1;if(r)s=!0;else{const t=e.toLowerCase().trim();(t.includes(i)||"."!==i&&`.${t}`.includes(i))&&(s=!0)}if(o){i.split(".")[0]===e&&(s=!0)}t||(t=s),s&&n.push(e)});const s=!!e.vm.id&&e.vm.id.includes(this.formattedSearch),a=r||s||t||o;return this.searchCache.set(e.key,{isFitted:a,isFittedById:s,isFittedByName:r,isFittedByPropertyPath:o,fittedProperties:n}),this.searchCache.get(e.key)}checkIsPropertyFitted(e,t){return!this.isInSearch||this.getVMFittedInfo(e).fittedProperties.includes(t)}isExpanded(e){return this.expandedVmsSet.has(e.key)||this.isInSearch||this.isAllVmsExpandedByDefault}checkIsPathExpanded(e,t){const n=this.getVMFittedInfo(e),r=(t.startsWith(".")?t.slice(1):t).split(".")[0];return r&&n.fittedProperties.includes(r),this.expandedVmItemsPaths.has(`${e.key}%%%${t}`)}handleExpandPropertyClick(e,t){const n=`${e.key}%%%${t}`;this.expandedVmItemsPaths.has(n)?this.expandedVmItemsPaths.delete(n):this.expandedVmItemsPaths.add(n)}handleVmItemHeaderClick(e){this.isExpanded(e)?this.expandedVmsSet.delete(e.key):this.expandedVmsSet.add(e.key)}getVmParams(e){return"vmParams"in e?e.vmParams:null}getViewModelsMap(){const e=this.payload.viewModels??this.projectVmStore;return e?.viewModels??new Map}}var ui;function di(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=di(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}ui=t,((e,t,n,r,s,l)=>{var h,v,y,w,x,O=7&t,E=!!(8&t),k=!!(16&t),N=O>3?e.length+1:O?E?1:2:0,S=u[O+5],j=O>3&&(e[N-1]=[]),V=e[N]||(e[N]=[]),A=O&&(!k&&!E&&(s=s.prototype),O<5&&(O>3||!k)&&i(O<4?s:{get[n](){return m(this,l)},set[n](e){return _(this,l,e)}},n));O?k&&O<4&&c(l,(O>2?"set ":O>1?"get ":"")+n):c(s,n);for(var D=r.length-1;D>=0;D--)w=p(O,n,y={},e[3],V),O&&(w.static=E,w.private=k,x=w.access={has:k?e=>b(s,e):e=>n in e},3^O&&(x.get=k?e=>(1^O?m:g)(e,s,4^O?l:A.get):e=>e[n]),O>2&&(x.set=k?(e,t)=>_(e,s,t,4^O?l:A.set):(e,t)=>e[n]=t)),v=(0,r[D])(O?O<4?k?l:A[S]:O>4?void 0:{get:A.get,set:A.set}:s,w),y._=1,4^O||void 0===v?d(v)&&(O>4?j.unshift(v):O?k?l=v:A[S]=v:s=v):"object"!=typeof v||null===v?a("Object expected"):(d(h=v.get)&&(A.get=h),d(h=v.set)&&(A.set=h),d(h=v.init)&&j.unshift(h));O||f(e,s),A&&o(s,n,A)})(n=[,,,r(ui?.[s("metadata")]??null)],2,"searchCache",e,ci),f(n,ci);const pi=e=>{const t=bi(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),fi(n,t)||vi(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},fi=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?fi(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},hi=/^\[(.+)\]$/,vi=e=>{if(hi.test(e)){const t=hi.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},bi=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)mi(n[o],r,o,t);return r},mi=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:_i(t,e)).classGroupId=n)}if("function"==typeof e)return gi(e)?void mi(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{mi(o,_i(t,e),n,r)})})},_i=(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},gi=e=>e.isThemeGetter,yi=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)}}},wi=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let l=0;l<e.length;l++){let s=e[l];if(0===r&&0===o){if(":"===s){t.push(e.slice(i,l)),i=l+1;continue}if("/"===s){n=l;continue}}"["===s?r++:"]"===s?r--:"("===s?o++:")"===s&&o--}const s=0===t.length?e:e.substring(i),a=xi(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},xi=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Oi=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}},Ei=/\s+/;function ki(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=Ni(e))&&(r&&(r+=" "),r+=t);return r}const Ni=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Ni(e[r]))&&(n&&(n+=" "),n+=t);return n};function Si(e,...t){let n,r,o,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:yi(e.cacheSize),parseClassName:wi(e),sortModifiers:Oi(e),...pi(e)}))(l),r=n.cache.get,o=n.cache.set,i=s,s(a)};function s(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(Ei);let l="";for(let c=a.length-1;c>=0;c-=1){const e=a[c],{isExternal:t,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(e);if(t){l=e+(l.length>0?" "+l:l);continue}let h=!!f,v=r(h?p.substring(0,f):p);if(!v){if(!h){l=e+(l.length>0?" "+l:l);continue}if(v=r(p),!v){l=e+(l.length>0?" "+l:l);continue}h=!1}const b=i(u).join(":"),m=d?b+"!":b,_=m+v;if(s.includes(_))continue;s.push(_);const g=o(v,h);for(let n=0;n<g.length;++n){const e=g[n];s.push(m+e)}l=e+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(ki.apply(null,arguments))}}const ji=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},Vi=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ai=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Di=/^\d+\/\d+$/,Ti=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ci=/\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$/,Mi=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Pi=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ri=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ii=e=>Di.test(e),Li=e=>!!e&&!Number.isNaN(Number(e)),Bi=e=>!!e&&Number.isInteger(Number(e)),zi=e=>e.endsWith("%")&&Li(e.slice(0,-1)),Ui=e=>Ti.test(e),Gi=()=>!0,Fi=e=>Ci.test(e)&&!Mi.test(e),Ki=()=>!1,qi=e=>Pi.test(e),$i=e=>Ri.test(e),Hi=e=>!Xi(e)&&!ts(e),Wi=e=>ls(e,ps,Ki),Xi=e=>Vi.test(e),Ji=e=>ls(e,fs,Fi),Yi=e=>ls(e,hs,Li),Zi=e=>ls(e,us,Ki),Qi=e=>ls(e,ds,$i),es=e=>ls(e,bs,qi),ts=e=>Ai.test(e),ns=e=>cs(e,fs),rs=e=>cs(e,vs),os=e=>cs(e,us),is=e=>cs(e,ps),ss=e=>cs(e,ds),as=e=>cs(e,bs,!0),ls=(e,t,n)=>{const r=Vi.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},cs=(e,t,n=!1)=>{const r=Ai.exec(e);return!!r&&(r[1]?t(r[1]):n)},us=e=>"position"===e||"percentage"===e,ds=e=>"image"===e||"url"===e,ps=e=>"length"===e||"size"===e||"bg-size"===e,fs=e=>"length"===e,hs=e=>"number"===e,vs=e=>"family-name"===e,bs=e=>"shadow"===e,ms=Si(()=>{const e=ji("color"),t=ji("font"),n=ji("text"),r=ji("font-weight"),o=ji("tracking"),i=ji("leading"),s=ji("breakpoint"),a=ji("container"),l=ji("spacing"),c=ji("radius"),u=ji("shadow"),d=ji("inset-shadow"),p=ji("text-shadow"),f=ji("drop-shadow"),h=ji("blur"),v=ji("perspective"),b=ji("aspect"),m=ji("ease"),_=ji("animate"),g=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ts,Xi],y=()=>[ts,Xi,l],w=()=>[Ii,"full","auto",...y()],x=()=>[Bi,"none","subgrid",ts,Xi],O=()=>["auto",{span:["full",Bi,ts,Xi]},Bi,ts,Xi],E=()=>[Bi,"auto",ts,Xi],k=()=>["auto","min","max","fr",ts,Xi],N=()=>["auto",...y()],S=()=>[Ii,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],j=()=>[e,ts,Xi],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",os,Zi,{position:[ts,Xi]}],A=()=>["auto","cover","contain",is,Wi,{size:[ts,Xi]}],D=()=>[zi,ns,Ji],T=()=>["","none","full",c,ts,Xi],C=()=>["",Li,ns,Ji],M=()=>[Li,zi,os,Zi],P=()=>["","none",h,ts,Xi],R=()=>["none",Li,ts,Xi],I=()=>["none",Li,ts,Xi],L=()=>[Li,ts,Xi],B=()=>[Ii,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ui],breakpoint:[Ui],color:[Gi],container:[Ui],"drop-shadow":[Ui],ease:["in","out","in-out"],font:[Hi],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ui],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ui],shadow:[Ui],spacing:["px",Li],text:[Ui],"text-shadow":[Ui],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ii,Xi,ts,b]}],container:["container"],columns:[{columns:[Li,Xi,ts,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:g()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[Bi,"auto",ts,Xi]}],basis:[{basis:[Ii,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Li,Ii,"auto","initial","none",Xi]}],grow:[{grow:["",Li,ts,Xi]}],shrink:[{shrink:["",Li,ts,Xi]}],order:[{order:[Bi,"first","last","none",ts,Xi]}],"grid-cols":[{"grid-cols":x()}],"col-start-end":[{col:O()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":x()}],"row-start-end":[{row:O()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[a,"screen",...S()]}],"min-w":[{"min-w":[a,"screen","none",...S()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,ns,Ji]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ts,Yi]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",zi,Xi]}],"font-family":[{font:[rs,Xi,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,ts,Xi]}],"line-clamp":[{"line-clamp":[Li,"none",ts,Yi]}],leading:[{leading:[i,...y()]}],"list-image":[{"list-image":["none",ts,Xi]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ts,Xi]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Li,"from-font","auto",ts,Ji]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[Li,"auto",ts,Xi]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ts,Xi]}],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",ts,Xi]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Bi,ts,Xi],radial:["",ts,Xi],conic:[Bi,ts,Xi]},ss,Qi]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:C()}],"border-w-x":[{"border-x":C()}],"border-w-y":[{"border-y":C()}],"border-w-s":[{"border-s":C()}],"border-w-e":[{"border-e":C()}],"border-w-t":[{"border-t":C()}],"border-w-r":[{"border-r":C()}],"border-w-b":[{"border-b":C()}],"border-w-l":[{"border-l":C()}],"divide-x":[{"divide-x":C()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":C()}],"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:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Li,ts,Xi]}],"outline-w":[{outline:["",Li,ns,Ji]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",u,as,es]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",d,as,es]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[Li,Ji]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":C()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",p,as,es]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[Li,ts,Xi]}],"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":[Li]}],"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":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"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":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"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":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"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":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"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":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"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":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"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":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[ts,Xi]}],"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":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"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":[Li]}],"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":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ts,Xi]}],filter:[{filter:["","none",ts,Xi]}],blur:[{blur:P()}],brightness:[{brightness:[Li,ts,Xi]}],contrast:[{contrast:[Li,ts,Xi]}],"drop-shadow":[{"drop-shadow":["","none",f,as,es]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",Li,ts,Xi]}],"hue-rotate":[{"hue-rotate":[Li,ts,Xi]}],invert:[{invert:["",Li,ts,Xi]}],saturate:[{saturate:[Li,ts,Xi]}],sepia:[{sepia:["",Li,ts,Xi]}],"backdrop-filter":[{"backdrop-filter":["","none",ts,Xi]}],"backdrop-blur":[{"backdrop-blur":P()}],"backdrop-brightness":[{"backdrop-brightness":[Li,ts,Xi]}],"backdrop-contrast":[{"backdrop-contrast":[Li,ts,Xi]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Li,ts,Xi]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Li,ts,Xi]}],"backdrop-invert":[{"backdrop-invert":["",Li,ts,Xi]}],"backdrop-opacity":[{"backdrop-opacity":[Li,ts,Xi]}],"backdrop-saturate":[{"backdrop-saturate":[Li,ts,Xi]}],"backdrop-sepia":[{"backdrop-sepia":["",Li,ts,Xi]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ts,Xi]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Li,"initial",ts,Xi]}],ease:[{ease:["linear","initial",m,ts,Xi]}],delay:[{delay:[Li,ts,Xi]}],animate:[{animate:["none",_,ts,Xi]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,ts,Xi]}],"perspective-origin":[{"perspective-origin":g()}],rotate:[{rotate:R()}],"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{"rotate-z":R()}],scale:[{scale:I()}],"scale-x":[{"scale-x":I()}],"scale-y":[{"scale-y":I()}],"scale-z":[{"scale-z":I()}],"scale-3d":["scale-3d"],skew:[{skew:L()}],"skew-x":[{"skew-x":L()}],"skew-y":[{"skew-y":L()}],transform:[{transform:[ts,Xi,"","none","gpu","cpu"]}],"transform-origin":[{origin:g()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:B()}],"translate-x":[{"translate-x":B()}],"translate-y":[{"translate-y":B()}],"translate-z":[{"translate-z":B()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"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",ts,Xi]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",ts,Xi]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[Li,ns,Ji,Yi]}],stroke:[{stroke:["none",...j()]}],"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"]}}),_s=(...e)=>ms(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=di(e))&&(r&&(r+=" "),r+=t);return r}(...e));if(!x.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!yr)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function gs(e){e()}function ys(e){return tr(e)}var ws,xs=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}(),Os=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:xs)(function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null}),Es={exports:{}},ks={};var Ns,Ss,js={};var Vs,As,Ds=(Ss||(Ss=1,"production"===process.env.NODE_ENV?Es.exports=function(){if(ws)return ks;ws=1;var e=x,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,o=e.useLayoutEffect,i=e.useDebugValue;function s(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(o){return!0}}var a="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var a=t(),l=n({inst:{value:a,getSnapshot:t}}),c=l[0].inst,u=l[1];return o(function(){c.value=a,c.getSnapshot=t,s(c)&&u({inst:c})},[e,a,t]),r(function(){return s(c)&&u({inst:c}),e(function(){s(c)&&u({inst:c})})},[e]),i(a),a};return ks.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:a,ks}():Es.exports=(Ns||(Ns=1,"production"!==process.env.NODE_ENV&&function(){function e(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(o){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=x,n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=t.useState,o=t.useEffect,i=t.useLayoutEffect,s=t.useDebugValue,a=!1,l=!1,c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(c,u){a||void 0===t.startTransition||(a=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var d=u();if(!l){var p=u();n(d,p)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l=!0)}var f=(p=r({inst:{value:d,getSnapshot:u}}))[0].inst,h=p[1];return i(function(){f.value=d,f.getSnapshot=u,e(f)&&h({inst:f})},[c,d,u]),o(function(){return e(f)&&h({inst:f}),c(function(){e(f)&&h({inst:f})})},[c]),s(d),d};js.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())}()),js)),Es.exports);function Ts(e){e.reaction=new On("observer".concat(e.name),function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)})}var Cs=!0,Ms="function"==typeof Symbol&&Symbol.for,Ps=null!==(As=null===(Vs=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===Vs?void 0:Vs.configurable)&&void 0!==As&&As,Rs=Ms?Symbol.for("react.forward_ref"):"function"==typeof x.forwardRef&&x.forwardRef(function(e){return null}).$$typeof,Is=Ms?Symbol.for("react.memo"):"function"==typeof x.memo&&x.memo(function(e){return null}).$$typeof;function Ls(e,t){if(process.env.NODE_ENV,Is&&e.$$typeof===Is)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(Rs&&e.$$typeof===Rs&&(n=!0,"function"!=typeof(r=e.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var i=function(e,t){return function(e,t){void 0===t&&(t="observed");var n=x.useRef(null);if(!n.current){var r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:t,subscribe:function(e){return Os.unregister(r),r.onStoreChange=e,r.reaction||(Ts(r),r.stateVersion=Symbol()),function(){var e;r.onStoreChange=null,null===(e=r.reaction)||void 0===e||e.dispose(),r.reaction=null}},getSnapshot:function(){return r.stateVersion}};n.current=r}var o,i,s=n.current;if(s.reaction||(Ts(s),Os.register(n,s,s)),x.useDebugValue(s.reaction,ys),Ds.useSyncExternalStore(s.subscribe,s.getSnapshot,s.getSnapshot),s.reaction.track(function(){try{o=e()}catch(t){i=t}}),i)throw i;return o}(function(){return r(e,t)},o)};return i.displayName=e.displayName,Ps&&Object.defineProperty(i,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(i.contextTypes=e.contextTypes,"production"!==process.env.NODE_ENV&&Cs&&(Cs=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),n&&(i=x.forwardRef(i)),function(e,t){Object.keys(e).forEach(function(n){zs[n]||Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}(e,i=x.memo(i)),"production"!==process.env.NODE_ENV&&Object.defineProperty(i,"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`."))}}),i}var Bs,zs={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};process.env.NODE_ENV,(Bs=O.unstable_batchedUpdates)||(Bs=gs,"production"!==process.env.NODE_ENV&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),er({reactionScheduler:Bs}),Os.finalizeAllImmediately;const Us={block:"_block_uvxni_2",inline:"_inline_uvxni_2",blur:"_blur_uvxni_2","vm-button":"_vm-button_uvxni_2",opened:"_opened_uvxni_2","vm-popup":"_vm-popup_uvxni_2","vm-content":"_vm-content_uvxni_2","vm-content-tree":"_vm-content-tree_uvxni_2","vm-tree-item":"_vm-tree-item_uvxni_2",line:"_line_uvxni_2","vm-content-filters":"_vm-content-filters_uvxni_2","property-meta":"_property-meta_uvxni_2",small:"_small_uvxni_2","property-value":"_property-value_uvxni_2","property-name":"_property-name_uvxni_2","expand-button":"_expand-button_uvxni_2",expanded:"_expanded_uvxni_2",property:"_property_uvxni_2",instance:"_instance_uvxni_2",primitive:"_primitive_uvxni_2",boolean:"_boolean_uvxni_2",number:"_number_uvxni_2",object:"_object_uvxni_2",undefined:"_undefined_uvxni_2",bigint:"_bigint_uvxni_2",symbol:"_symbol_uvxni_2",string:"_string_uvxni_2",disabled:"_disabled_uvxni_2"},Gs=Ls(()=>{const e=w.useViewModel();return y.jsxs("button",{className:_s(Us.vmButton,{[Us.opened]:e.isOpened},e.payload.buttonClassName),"data-position":`${e.payload.position}`,ref:e.buttonRef,onClick:e.handleToggleOpen,children:[y.jsx("img",{src:e.logoUrl}),y.jsx("div",{}),y.jsx("span",{children:e.allVms.length})]})}),Fs=null,{min:Ks,max:qs,abs:$s,floor:Hs}=Math,Ws=(e,t,n)=>Ks(n,qs(t,e)),Xs=e=>[...e].sort((e,t)=>e-t),Js="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)},Ys=()=>{let e;return[new Promise(t=>{e=t}),e]},Zs=e=>{let t;return()=>(e&&(t=e(),e=void 0),t)},Qs=(e,t,n)=>{const r=n?"unshift":"push";for(let o=0;o<t;o++)e[r](-1);return e},ea=(e,t)=>{const n=e.t[t];return-1===n?e.o:n},ta=(e,t,n)=>{const r=-1===e.t[t];return e.t[t]=n,e.i=Ks(t,e.i),r},na=(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+=ea(e,n),e.u[++n]=r;return e.i=t,r},ra=(e,t,n=0,r=e.l-1)=>{for(;n<=r;){const o=Hs((n+r)/2);if(na(e,o)<=t){if(na(e,o+1)>t)return o;n=o+1}else r=o-1}return Ws(n,0,e.l-1)},oa=(e,t,n)=>{const r=t-e.l;return e.i=n?-1:Ks(t-1,e.i),e.l=t,r>0?(Qs(e.u,r),Qs(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))},ia="undefined"!=typeof window,sa=()=>document.documentElement,aa=Zs(()=>!!ia&&"rtl"===getComputedStyle(sa()).direction),la=Zs(()=>!!/iP(hone|od|ad)/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>0),ca=Zs(()=>"scrollBehavior"in sa().style),ua=setTimeout,da=(e,t)=>t&&aa()?-e:e,pa=(e,t)=>{let n,r,o=Ys();const i=t?"scrollLeft":"scrollTop",s=t?"overflowX":"overflowY",[a,l]=((e,t,n)=>{let r;return[async(o,i)=>{if(!(await t()))return;r&&r();const s=()=>{const[t,n]=Ys();return r=()=>{n(!1)},e.p()&&ua(r,150),[t,e.B(2,()=>{n(!0)})]};if(i&&ca())e.J(8,o()),Js(async()=>{for(;;){let t=!0;for(let[o,i]=e.S();o<=i;o++)if(e.k(o)){t=!1;break}if(t)break;const[n,r]=s();try{if(!(await n))return}finally{r()}}e.J(7),n(o(),i)});else for(;;){const[t,r]=s();try{if(e.J(7),n(o()),!(await t))return}finally{r()}}},()=>{r&&r()}]})(e,()=>o[0],(e,r)=>{e=da(e,t),r?n.scrollTo({[t?"left":"top"]:e,behavior:"smooth"}):n[i]=e});return{P(a){n=a,r=((e,t,n,r,o)=>{const i=Date.now;let s=0,a=!1,l=!1,c=!1,u=!1;const d=(()=>{let t;const n=()=>{t!=Fs&&clearTimeout(t)},r=()=>{n(),t=ua(()=>{t=Fs,(()=>{if(a||l)return a=!1,void d();c=!1,e.J(2)})()},150)};return r.A=n,r})(),p=()=>{s=i(),c&&(u=!0),e.J(1,r()),d()},f=t=>{if(a||!e.H()||t.ctrlKey)return;const r=i()-s;150>r&&50<r&&(n?t.deltaX:t.deltaY)&&(a=!0)},h=()=>{l=!0,c=u=!1},v=()=>{l=!1,la()&&(c=!0)};return t.addEventListener("scroll",p),t.addEventListener("wheel",f,{passive:!0}),t.addEventListener("touchstart",h,{passive:!0}),t.addEventListener("touchend",v,{passive:!0}),{L:()=>{t.removeEventListener("scroll",p),t.removeEventListener("wheel",f),t.removeEventListener("touchstart",h),t.removeEventListener("touchend",v),d.A()},D:()=>{const[t,i]=e.O();t&&(o(da(t,n),i,u),u=!1,i&&e.p()>e.h()&&e.J(1,r()))}}})(e,a,t,()=>da(a[i],t),(t,n,r)=>{if(r){const e=a.style,t=e[s];e[s]="hidden",ua(()=>{e[s]=t})}a[i]=e.C()+t,n&&l()}),o[1](!0)},v(){r&&r.L(),o[1](!1),o=Ys()},V(e){a(()=>e)},X(t){t+=e.C(),a(()=>t)},Y(t,{align:n,smooth:r,offset:o=0}={}){if(t=Ws(t,0,e.M()-1),"nearest"===n){const r=e.R(t),o=e.C();if(r<o)n="start";else{if(!(r+e.T(t)>o+e.p()))return;n="end"}}a(()=>o+e.W()+e.R(t)+("end"===n?e.T(t)-e.p():"center"===n?(e.T(t)-e.p())/2:0),r)},j:()=>{r&&r.D()}}},fa=(e,t)=>{let n;const r=t?"width":"height",o=new WeakMap,i=(e=>{let t;return{q(n){(t||(t=new((e=>e.defaultView)((e=>e.ownerDocument)(n)).ResizeObserver)(e))).observe(n)},G(e){t.unobserve(e)},L(){t&&t.disconnect()}}})(t=>{const i=[];for(const{target:s,contentRect:a}of t)if(s.offsetParent)if(s===n)e.J(4,a[r]);else{const e=o.get(s);e!=Fs&&i.push([e,a[r]])}i.length&&e.J(3,i)});return{U(e){i.q(n=e)},F:(e,t)=>(o.set(e,t),i.q(e),()=>{o.delete(e),i.G(e)}),v:i.L}},ha=ia?x.useLayoutEffect:x.useEffect,va="current",ba=(e,t)=>{if(Array.isArray(e))for(const n of e)ba(n,t);else null==e||"boolean"==typeof e||t.push(e)},ma=e=>{const t=x.useRef(e);return ha(()=>{t[va]=e},[e]),t},_a=x.memo(({Z:e,ee:t,te:n,oe:r,ne:o,re:i,ie:s,se:a})=>{const l=x.useRef(null);ha(()=>t(l[va],n),[n]);const c=x.useMemo(()=>{const e={contain:"layout style",position:o&&a?void 0:"absolute",[s?"height":"width"]:"100%",[s?"top":"left"]:0,[s?aa()?"right":"left":"top"]:r,visibility:!o||a?"visible":"hidden"};return s&&(e.display="inline-flex"),e},[r,o,a,s]);return y.jsx(i,"string"==typeof i?{ref:l,style:c,children:e}:{ref:l,style:c,index:n,children:e})}),ga=x.forwardRef(({children:e,data:t,bufferSize:n,itemSize:r,shift:o,horizontal:i,keepMounted:s,cache:a,startMargin:l=0,ssrCount:c,as:u="div",item:d="div",scrollRef:p,onScroll:f,onScrollEnd:h},v)=>{const[b,m]=((e,t)=>x.useMemo(()=>{if("function"==typeof e)return[n=>e(t[n],n),t.length];const n=(e=>{const t=[];return ba(e,t),t})(e);return[e=>n[e],n.length]},[e,t]))(e,t),_=x.useRef(null),g=x.useRef(!!c),w=ma(f),E=ma(h),[k,N,S,j]=(e=>{const t=x.useRef(null);return t[va]||(t[va]=e())})(()=>{const e=!!i,t=((e,t=40,n=0,r,o=!1)=>{let i=!!n,s=1,a=0,l=0,c=0,u=0,d=0,p=0,f=0,h=0,v=Fs,b=[0,i?qs(n-1,0):-1],m=0;const _=(j=e,V=t,{o:(A=r)?A[1]:V,t:A&&A[0]?Qs(A[0].slice(0,Ks(j,A[0].length)),qs(0,j-A[0].length)):Qs([],j),l:j,i:-1,u:Qs([],j+1)}),g=new Set,y=()=>c-l,w=()=>y()+d+u,x=(e,t)=>((e,t,n,r)=>{if(r=Ks(r,e.l-1),na(e,r)<=t){const o=ra(e,n,r);return[ra(e,t,r,o),o]}{const o=ra(e,t,void 0,r);return[o,ra(e,n,o)]}})(_,e,t,b[0]),O=()=>na(_,_.l),E=e=>na(_,e)-d,k=e=>ea(_,e),N=(e,t=-1)=>_.t[e]===t,S=e=>{e&&(la()&&0!==f||v&&1===h?d+=e:u+=e)};var j,V,A;return{v:()=>{g.clear()},m:()=>s,_:()=>(e=>[e.t.slice(),e.o])(_),S:(e=200)=>{if(!a||i)return b;let t,n;if(p)[t,n]=b;else{let r=qs(0,w()),i=r+a;o||(e=qs(0,e),1!==f&&(r-=e),2!==f&&(i+=e)),[t,n]=b=x(qs(0,r),qs(0,i)),v&&(t=Ks(t,v[0]),n=qs(n,v[1]))}return[qs(t,0),Ks(n,_.l-1)]},$:()=>ra(_,w()),I:()=>ra(_,w()+a),k:N,R:E,T:k,M:()=>_.l,C:()=>c,H:()=>0!==f,p:()=>a,W:()=>l,h:O,O:()=>(p=u,u=0,[p,2===h]),B:(e,t)=>{const n=[e,t];return g.add(n),()=>{g.delete(n)}},J:(e,t)=>{let n,r,b=0;switch(e){case 1:{if(t===c&&0===h)break;const e=p;p=0;const n=t-c,o=$s(n);e&&o<$s(e)+1||0!==h||(f=n<0?2:1),i&&(i=!1),c=t,b=4;const s=y();s>=-a&&s<=O()&&(b+=1,r=o>a);break}case 2:b=8,0!==f&&(n=!0,b+=1),f=0,h=0,v=Fs;break;case 3:{const e=t.filter(([e,t])=>!N(e,t));if(!e.length)break;S(e.reduce((e,[t,n])=>((2===h||(v&&1===h?t<v[0]:E(t+(0===f&&0===h?1:0))<y()))&&(e+=n-k(t)),e),0));for(const[t,n]of e){const e=k(t),r=ta(_,t,n);o&&(m+=r?n:n-e)}o&&a&&m>a&&(S(((e,t)=>{let n=0;const r=[];e.t.forEach((e,o)=>{-1!==e&&(r.push(e),o<t&&n++)}),e.i=-1;const o=Xs(r),i=o.length,s=i/2|0,a=i%2==0?(o[s-1]+o[s])/2:o[s],l=e.o;return((e.o=a)-l)*qs(t-n,0)})(_,ra(_,w()))),o=!1),b=3,r=!0;break}case 4:a!==t&&(a||(r=!0),a=t,b=3);break;case 5:t[1]?(S(oa(_,t[0],!0)),h=2,b=1):(oa(_,t[0]),b=1);break;case 6:l=t;break;case 7:h=1;break;case 8:v=x(t,t+a),b=1}b&&(s=1+(2147483647&s),n&&d&&(u+=d,d=0),g.forEach(([e,t])=>{b&e&&t(r)}))}}})(m,r,c,a,!r);return[t,fa(t,e),pa(t,e),e]});m!==k.M()&&k.J(5,[m,o]),l!==k.W()&&k.J(6,l);const[V,A]=x.useReducer(k.m,void 0,k.m),D=k.H(),T=k.h(),C=[],M=e=>{const t=b(e);return y.jsx(_a,{ee:N.F,te:e,oe:k.R(e),ne:k.k(e),re:d,Z:t,ie:j,se:g[va]},((e,t)=>{const n=e.key;return null!=n?n:"_"+t})(t,e))};if(ha(()=>{g[va]=!1,k.B(1,e=>{e?O.flushSync(A):A()}),k.B(4,()=>{w[va]&&w[va](k.C())}),k.B(8,()=>{E[va]&&E[va]()});const e=e=>{N.U(e),S.P(e)};return p?Js(()=>{p[va]&&e(p[va])}):e(_[va].parentElement),()=>{k.v(),N.v(),S.v()}},[]),ha(()=>{S.j()},[V]),x.useImperativeHandle(v,()=>({get cache(){return k._()},get scrollOffset(){return k.C()},get scrollSize(){return qs((e=k).h(),e.p());var e},get viewportSize(){return k.p()},findStartIndex:k.$,findEndIndex:k.I,getItemOffset:k.R,getItemSize:k.T,scrollToIndex:S.Y,scrollTo:S.V,scrollBy:S.X}),[]),s){const e=new Set(s);for(let[t,r]=k.S(n);t<=r;t++)e.add(t);Xs([...e]).forEach(e=>{C.push(M(e))})}else for(let[y,x]=k.S(n);y<=x;y++)C.push(M(y));return y.jsx(u,{ref:_,style:{contain:"size style",overflowAnchor:"none",flex:"none",position:"relative",width:j?T:"100%",height:j?"100%":T,pointerEvents:D?"none":void 0},children:C})}),ya=({expandable:e,expanded:t,onClick:n,disabled:r})=>y.jsx("span",{onClick:n,className:_s(Us.expandButton,{[Us.expandable]:e,[Us.expanded]:t,[Us.disabled]:r}),children:e&&y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:y.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M5.47 13.03a.75.75 0 0 1 0-1.06L9.44 8 5.47 4.03a.75.75 0 0 1 1.06-1.06l4.5 4.5a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0","clip-rule":"evenodd"})})});const wa=Ls(e=>{const{name:t,value:n}=e,r=w.useViewModel(),o=r.isPathExpanded(e.path),i=Object.keys(n),s=i.length>0;return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:_s(Us.line,Us.property,Us.array),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[y.jsx(ya,{expandable:n.length>0,expanded:o}),y.jsx("span",{className:Us.propertyName,children:t}),y.jsx("span",{className:Us.propertyMeta,children:": "}),y.jsx("span",{className:Us.propertyValue,children:s?"[...]":"[]"})]}),o&&y.jsx("div",{className:Us.propertyExpandedContent,children:i.map((t,r)=>x.createElement(Na,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))})]})}),xa=Ls(e=>{const{name:t,value:n,valueType:r}=e,o=Array.from({length:n.length},(e,t)=>`arg${t+1}`);return y.jsxs("div",{className:_s(Us.line,Us.property,Us.function),title:String(n),style:{"--level":e.level,"--order":e.order},"data-fitted":e.isFitted,children:[y.jsx(ya,{}),r.includes("Async")&&y.jsx("span",{className:_s(Us.propertyMeta,Us.small),children:"async "}),y.jsx("span",{className:Us.propertyName,children:t}),y.jsx("span",{className:Us.propertyMeta,children:`(${o.join(", ")})`})]})}),Oa=Ls(e=>{const{name:t,value:n}=e,r=w.useViewModel(),o=r.isPathExpanded(e.path),i=n.constructor.name,s=li(n);return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:_s(Us.line,Us.property,Us.instance),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[y.jsx(ya,{expandable:!0,expanded:o}),y.jsx("span",{className:Us.propertyName,children:t}),y.jsx("span",{className:Us.propertyMeta,children:": "}),y.jsx("span",{className:Us.propertyValue,children:`${i}`})]}),o&&s.map((t,r)=>x.createElement(Na,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))]})}),Ea=Ls(e=>{const{name:t,value:n}=e,r=w.useViewModel(),o=r.isPathExpanded(e.path),i=li(n),s=i.length>0;return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:_s(Us.line,Us.property,Us.object),style:{"--level":e.level,"--order":e.order},onClick:()=>r.handleExpandPropertyClick(e.path),"data-fitted":e.isFitted,children:[y.jsx(ya,{expandable:s,expanded:o}),y.jsx("span",{className:Us.propertyName,children:t}),y.jsx("span",{className:Us.propertyMeta,children:": "}),y.jsx("span",{className:Us.propertyValue,children:s?"{...}":"{}"})]}),o&&i.map((t,r)=>x.createElement(Na,{...e,name:t,order:r,value:n[t],key:t,path:`${e.path}.${t}`,level:e.level+1}))]})}),ka=Ls(e=>{const{name:t,value:n}=e,r=typeof n;return y.jsxs("div",{className:_s(Us.line,Us.property,Us.primitive,Us[r]),style:{"--level":e.level,"--order":e.order},"data-fitted":e.isFitted,title:String(n),children:[y.jsx(ya,{}),y.jsx("span",{className:Us.propertyName,children:t}),y.jsx("span",{className:Us.propertyMeta,children:": "}),y.jsx("span",{className:Us.propertyValue,children:"symbol"===r?"Symbol":"string"===r?`"${n}"`:`${n}`})]})}),Na=Ls(e=>{const{value:t}=e,n=Object.prototype.toString.call(t),r={...e,value:t,valueType:n};return Array.isArray(t)?y.jsx(wa,{...r}):Yo.isObject(t)&&t.constructor?.name&&"Object"!==t.constructor.name?y.jsx(Oa,{...r}):Yo.isFunction(t)?y.jsx(xa,{...r}):Yo.isObject(t)?y.jsx(Ea,{...r}):n.startsWith("[object ")&&t&&"object"==typeof t&&"constructor"in t?y.jsx(Oa,{...r}):y.jsx(ka,{...r})}),Sa=w.withViewModel(class extends ri{constructor(e){super({...e,vmConfig:{observable:{viewModels:{useDecorators:!1},viewModelStores:{useDecorators:!1}}}}),yr(this,{devtoolsVM:Pt.struct,handleExpandPropertyClick:Gn,handleVmItemHeaderClick:Gn})}get devtoolsVM(){return this.payload.devtoolsVM}isPathExpanded(e){return this.devtoolsVM.checkIsPathExpanded(this.payload.vmItem,e)}handleExpandPropertyClick(e){this.devtoolsVM.handleExpandPropertyClick(this.payload.vmItem,e)}handleVmItemHeaderClick(e){this.devtoolsVM.handleVmItemHeaderClick(e)}},({model:e})=>{const t=e.payload.vmItem,n=e.devtoolsVM.isExpanded(t),r=e.devtoolsVM.getVMFittedInfo(t);return y.jsxs(y.Fragment,{children:[y.jsx("div",{className:_s(Us.line,Us.vmTreeItem),"data-fitted":r.isFittedByName||r.isFittedById,style:{"--level":t.depth},children:y.jsxs("header",{onClick:()=>e.handleVmItemHeaderClick(t),children:[y.jsx(ya,{expandable:t.children.length>0,expanded:n,disabled:e.devtoolsVM.isAllVmsExpandedByDefault}),y.jsx("label",{title:t.displayName,children:t.displayName}),y.jsx("span",{title:t.vm.id,children:t.vm.id})]})}),t.properties.map((n,r)=>y.jsx(Na,{vmItem:t,name:n,order:r,value:t.vm[n],isFitted:e.devtoolsVM.checkIsPropertyFitted(t,n),level:t.depth,path:n},n)),n&&t.children.map(t=>y.jsx(Sa,{payload:{vmItem:t,devtoolsVM:e.devtoolsVM}},t.key))]})}),ja=Ls(({className:e,headerContent:t,...n})=>{const r=w.useViewModel();return y.jsxs("div",{...n,className:_s(Us.vmContent,e),ref:r.containerRef,children:[y.jsxs("header",{children:[y.jsx("span",{children:"mobx-view-model devtools"}),t]}),y.jsx("div",{className:Us.vmContentFilters,children:y.jsx("input",{value:r.search,ref:r.inputRef,autoFocus:!0,placeholder:"search by property path or ViewModel name",onChange:r.handleSearchChange})}),y.jsx("div",{className:Us.vmContentTree,children:y.jsx(ga,{children:r.vmTree.map(e=>y.jsx(Sa,{payload:{vmItem:e,devtoolsVM:r}},e.key))})})]})}),Va=Ls(()=>{const e=w.useViewModel();return y.jsx(ja,{className:Us.vmPopup,"data-position":`${e.payload.position}`,headerContent:y.jsx("button",{onClick:e.handleToggleOpen,children:y.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:y.jsx("path",{fill:"currentColor","fill-rule":"evenodd",d:"M3.47 3.47a.75.75 0 0 1 1.06 0L8 6.94l3.47-3.47a.75.75 0 1 1 1.06 1.06L9.06 8l3.47 3.47a.75.75 0 1 1-1.06 1.06L8 9.06l-3.47 3.47a.75.75 0 0 1-1.06-1.06L6.94 8 3.47 4.53a.75.75 0 0 1 0-1.06","clip-rule":"evenodd"})})})})}),Aa=w.withViewModel(ci,({model:e})=>y.jsxs(w.ViewModelsProvider,{value:e.vmStore,children:[y.jsx(Gs,{}),e.isOpened&&"popup"===e.displayType&&y.jsx(Va,{})]}));exports.ViewModelDevTools=Aa;
package/dist/index.d.ts DELETED
@@ -1,79 +0,0 @@
1
- import * as mobx_view_model from 'mobx-view-model';
2
- import { AnyViewModel, AnyViewModelSimple, ViewModelBase, ViewModelStoreBase, ViewModelParams } from 'mobx-view-model';
3
- import * as yummies_types from 'yummies/types';
4
- import { AnyObject, EmptyObject, Maybe } from 'yummies/types';
5
- import * as yummies_mobx from 'yummies/mobx';
6
- import * as mobx from 'mobx';
7
- import { ChangeEventHandler } from 'react';
8
- import { KeyboardHandler, KeyboardHandlerAction } from 'mobx-swiss-knife';
9
-
10
- declare class KeyHanders extends KeyboardHandler<KeyboardHandlerAction> {
11
- constructor(vm: DevtoolsVM);
12
- }
13
-
14
- declare class DevtoolsVMImpl<Payload extends AnyObject = EmptyObject, ParentViewModel extends AnyViewModel | AnyViewModelSimple | null = null, ComponentProps extends AnyObject = AnyObject> extends ViewModelBase<Payload, ParentViewModel, ComponentProps> {
15
- }
16
-
17
- type AnyVM = AnyViewModelSimple | AnyViewModel;
18
- type VmTreeItem = {
19
- parent: Maybe<VmTreeItem>;
20
- vm: AnyVM;
21
- displayName: string;
22
- children: VmTreeItem[];
23
- depth: number;
24
- key: string;
25
- properties: string[];
26
- };
27
- interface VMFittedInfo {
28
- isFitted: boolean;
29
- isFittedById?: boolean;
30
- isFittedByName?: boolean;
31
- isFittedByPropertyPath?: boolean;
32
- fittedProperties: string[];
33
- }
34
-
35
- declare class DevtoolsVM extends DevtoolsVMImpl<{
36
- viewModels?: ViewModelStoreBase;
37
- position?: 'top-right' | 'top-left' | 'bottom-left' | 'bottom-right';
38
- buttonClassName?: string;
39
- }> {
40
- isOpened: boolean;
41
- displayType: string;
42
- vmStore: ViewModelStoreBase<mobx_view_model.AnyViewModel>;
43
- projectVmStore: mobx_view_model.ViewModelStore<mobx_view_model.AnyViewModel>;
44
- handleToggleOpen: () => void;
45
- private expandedVmsSet;
46
- isAllVmsExpandedByDefault: boolean;
47
- expandedVmItemsPaths: mobx.ObservableSet<string>;
48
- logoUrl: string;
49
- inputRef: yummies_mobx.Ref<HTMLInputElement, {
50
- focused: boolean;
51
- }>;
52
- containerRef: yummies_mobx.Ref<HTMLDivElement, {
53
- focused: boolean;
54
- }>;
55
- buttonRef: yummies_mobx.Ref<any, yummies_types.AnyObject>;
56
- keyboardHandler: KeyHanders;
57
- constructor(vmParams: ViewModelParams);
58
- private get vmMap();
59
- get allVms(): AnyVM[];
60
- get rootVms(): AnyVM[];
61
- search: string;
62
- get formattedSearch(): string;
63
- get vmTree(): VmTreeItem[];
64
- get isInSearch(): boolean;
65
- private get searchCache();
66
- getVMFittedInfo(vmTreeItem: VmTreeItem): VMFittedInfo;
67
- checkIsPropertyFitted(vmItem: VmTreeItem, property: string): boolean;
68
- isExpanded(vmItem: VmTreeItem): boolean;
69
- checkIsPathExpanded(vmItem: VmTreeItem, path: string): boolean;
70
- handleExpandPropertyClick(vmItem: VmTreeItem, path: string): void;
71
- handleVmItemHeaderClick(vmItem: VmTreeItem): void;
72
- handleSearchChange: ChangeEventHandler<HTMLInputElement>;
73
- private getVmParams;
74
- private getViewModelsMap;
75
- }
76
-
77
- declare const ViewModelDevTools: mobx_view_model.VMComponent<DevtoolsVM, yummies_types.AnyObject, unknown>;
78
-
79
- export { ViewModelDevTools };