Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mobx

Package Overview
Dependencies
Maintainers
6
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx - npm Package Compare versions

Comparing version 6.12.3 to 6.12.4

4

dist/api/object-api.d.ts

@@ -35,3 +35,3 @@ import { IObservableArray, ObservableMap, ObservableSet } from "../internal";

export declare function get<T extends Object>(obj: T, key: string): any;
export declare function apiDefineProperty(obj: Object, key: PropertyKey, descriptor: PropertyDescriptor): any;
export declare function apiOwnKeys(obj: Object): any;
export declare function apiDefineProperty(obj: Object, key: PropertyKey, descriptor: PropertyDescriptor): boolean | null;
export declare function apiOwnKeys(obj: Object): (string | symbol)[];

@@ -9,4 +9,4 @@ import { IDerivationState_, IObservable, IDerivation, Lambda } from "../internal";

name_: string;
isPendingUnobservation_: boolean;
isBeingObserved_: boolean;
isPendingUnobservation: boolean;
isBeingObserved: boolean;
observers_: Set<IDerivation>;

@@ -13,0 +13,0 @@ diffValue_: number;

@@ -46,4 +46,2 @@ import { CaughtException, IDerivation, IDerivationState_, IEqualsComparer, IObservable, Lambda, TraceMode } from "../internal";

newObserving_: null;
isBeingObserved_: boolean;
isPendingUnobservation_: boolean;
observers_: Set<IDerivation>;

@@ -58,4 +56,7 @@ diffValue_: number;

triggeredBy_?: string;
isComputing_: boolean;
isRunningSetter_: boolean;
private static readonly isComputingMask_;
private static readonly isRunningSetterMask_;
private static readonly isBeingObservedMask_;
private static readonly isPendingUnobservationMask_;
private flags_;
derivation: () => T;

@@ -86,2 +87,10 @@ setter_?: (value: T) => void;

onBUO(): void;
private get isComputing();
private set isComputing(value);
private get isRunningSetter();
private set isRunningSetter(value);
get isBeingObserved(): boolean;
set isBeingObserved(newValue: boolean);
get isPendingUnobservation(): boolean;
set isPendingUnobservation(newValue: boolean);
/**

@@ -88,0 +97,0 @@ * Returns the current value of this computed value.

@@ -14,5 +14,5 @@ import { Lambda, IDerivation, IDerivationState_ } from "../internal";

lastAccessedBy_: number;
isBeingObserved_: boolean;
isBeingObserved: boolean;
lowestObserverState_: IDerivationState_;
isPendingUnobservation_: boolean;
isPendingUnobservation: boolean;
observers_: Set<IDerivation>;

@@ -19,0 +19,0 @@ onBUO(): void;

@@ -1,2 +0,2 @@

function t(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];throw new Error("number"==typeof t?"[MobX] minified error nr: "+t+(i.length?" "+i.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+t)}function n(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:Mn}function i(){Ln||t("Proxy not available")}function r(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function e(t){return"function"==typeof t}function u(t){switch(typeof t){case"string":case"symbol":case"number":return!0}return!1}function o(t){return null!==t&&"object"==typeof t}function s(t){if(!o(t))return!1;var n=Object.getPrototypeOf(t);if(null==n)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i.toString()===Cn}function f(t){var n=null==t?void 0:t.constructor;return!!n&&("GeneratorFunction"===n.name||"GeneratorFunction"===n.displayName)}function c(t,n,i){Vn(t,n,{enumerable:!1,writable:!0,configurable:!0,value:i})}function a(t,n,i){Vn(t,n,{enumerable:!1,writable:!1,configurable:!0,value:i})}function h(t,n){var i="isMobX"+t;return n.prototype[i]=!0,function(t){return o(t)&&!0===t[i]}}function v(t){return t instanceof Map}function l(t){return t instanceof Set}function d(t){return null===t?null:"object"==typeof t?""+t:t}function b(t,n){return Rn.hasOwnProperty.call(t,n)}function p(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,"symbol"==typeof(e=function(t){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key))?e:String(e),r)}var e}function y(t,n,i){return n&&p(t.prototype,n),i&&p(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function w(t,n){var i,r;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,i=t,r=n,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t})(i,r)}function j(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function x(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t){if(t){if("string"==typeof t)return O(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(t,void 0):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[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 _(t){return Object.assign((function(n,i){if(A(i))return t.t(n,i);g(n,i,t)}),t)}function g(t,n,i){b(t,Bn)||c(t,Bn,m({},t[Bn])),function(t){return"override"===t.i}(i)||(t[Bn][n]=i)}function A(t){return"object"==typeof t&&"string"==typeof t.kind}function S(t,n,i){void 0===n&&(n=In),void 0===i&&(i=In);var r=new qn(t);return n!==In&&Tt(r,n),i!==In&&kt(r,i),r}function M(t,n,i){return Gt(t)?t:Array.isArray(t)?ni.array(t,{name:i}):s(t)?ni.object(t,void 0,{name:i}):v(t)?ni.map(t,{name:i}):l(t)?ni.set(t,{name:i}):"function"!=typeof t||Nt(t)||Bt(t)?t:f(t)?Ii(t):Ri(i,t)}function E(t){return t}function N(t,n){return{i:t,u:n,o:V,s:R,t:T}}function V(t,n,i,r){var e;if(null!=(e=this.u)&&e.bound)return null===this.s(t,n,i,!1)?0:1;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(Nt(i.value))return 1;var u=k(t,this,n,i,!1);return Vn(r,n,u),2}function R(t,n,i,r){var e=k(t,this,n,i);return t.v(n,e,r)}function T(n,i){var r=i.kind,e=i.name,u=i.addInitializer,o=this;if("field"!=r){var s,f,c,a,h,v;if("method"==r)return Nt(n)||(f=n,n=tt(null!=(c=null==(a=o.u)?void 0:a.name)?c:e.toString(),f,null!=(h=null==(v=o.u)?void 0:v.autoAction)&&h)),null!=(s=this.u)&&s.bound&&u((function(){var t=this[e].bind(this);t.isMobxAction=!0,this[e]=t})),n;t("Cannot apply '"+o.i+"' to '"+String(e)+"' (kind: "+r+"):\n'"+o.i+"' can only be used on properties with a function value.")}else u((function(){g(this,e,o)}))}function k(t,n,i,r,e){var u,o,s,f,c,a,h;void 0===e&&(e=xi.safeDescriptors);var v,l=r.value;return null!=(u=n.u)&&u.bound&&(l=l.bind(null!=(v=t.l)?v:t.h)),{value:tt(null!=(o=null==(s=n.u)?void 0:s.name)?o:i.toString(),l,null!=(f=null==(c=n.u)?void 0:c.autoAction)&&f,null!=(a=n.u)&&a.bound?null!=(h=t.l)?h:t.h:void 0),configurable:!e||t.p,enumerable:!1,writable:!e}}function L(t,n){return{i:t,u:n,o:C,s:I,t:K}}function C(t,n,i,r){var e;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(null!=(e=this.u)&&e.bound&&(!b(t.h,n)||!Bt(t.h[n]))&&null===this.s(t,n,i,!1))return 0;if(Bt(i.value))return 1;var u=P(t,0,0,i,!1,!1);return Vn(r,n,u),2}function I(t,n,i,r){var e,u=P(t,0,0,i,null==(e=this.u)?void 0:e.bound);return t.v(n,u,r)}function K(t,n){var i,r=n.name,e=n.addInitializer;return Bt(t)||(t=Ii(t)),null!=(i=this.u)&&i.bound&&e((function(){var t=this[r].bind(this);t.isMobXFlow=!0,this[r]=t})),t}function P(t,n,i,r,e,u){void 0===u&&(u=xi.safeDescriptors);var o,s=r.value;return Bt(s)||(s=Ii(s)),e&&((s=s.bind(null!=(o=t.l)?o:t.h)).isMobXFlow=!0),{value:s,configurable:!u||t.p,enumerable:!1,writable:!u}}function D(t,n){return{i:t,u:n,o:B,s:W,t:q}}function B(t,n,i){return null===this.s(t,n,i,!1)?0:1}function W(t,n,i,r){return t.m(n,m({},this.u,{get:i.get,set:i.set}),r)}function q(t,n){var i=this,r=n.name;return(0,n.addInitializer)((function(){var n=hn(this)[Wn],e=m({},i.u,{get:t,context:this});e.name||(e.name="ObservableObject."+r.toString()),n.j.set(r,new bi(e))})),function(){return this[Wn].O(r)}}function G(t,n){return{i:t,u:n,o:H,s:X,t:U}}function H(t,n,i){return null===this.s(t,n,i,!1)?0:1}function X(t,n,i,r){var e,u;return t._(n,i.value,null!=(e=null==(u=this.u)?void 0:u.enhancer)?e:M,r)}function U(t,n){function i(t,n){var i,e,s=hn(t)[Wn],f=new hi(n,null!=(i=null==(e=r.u)?void 0:e.enhancer)?i:M,"ObservableObject."+u.toString(),!1);s.j.set(u,f),o.add(t)}var r=this,e=n.kind,u=n.name,o=new WeakSet;if("accessor"==e)return{get:function(){return o.has(this)||i(this,t.get.call(this)),this[Wn].O(u)},set:function(t){return o.has(this)||i(this,t),this[Wn].g(u,t)},init:function(t){return o.has(this)||i(this,t),t}}}function F(t){return{i:"true",u:t,o:z,s:$,t:J}}function z(t,n,i,r){var e,u,o,s;if(i.get)return ei.o(t,n,i,r);if(i.set){var c=tt(n.toString(),i.set);return r===t.h?null===t.v(n,{configurable:!xi.safeDescriptors||t.p,set:c})?0:2:(Vn(r,n,{configurable:!0,set:c}),2)}if(r!==t.h&&"function"==typeof i.value)return f(i.value)?(null!=(s=this.u)&&s.autoBind?Ii.bound:Ii).o(t,n,i,r):(null!=(o=this.u)&&o.autoBind?Ri.bound:Ri).o(t,n,i,r);var a,h=!1===(null==(e=this.u)?void 0:e.deep)?ni.ref:ni;return"function"==typeof i.value&&null!=(u=this.u)&&u.autoBind&&(i.value=i.value.bind(null!=(a=t.l)?a:t.h)),h.o(t,n,i,r)}function $(t,n,i,r){var e,u,o;return i.get?ei.s(t,n,i,r):i.set?t.v(n,{configurable:!xi.safeDescriptors||t.p,set:tt(n.toString(),i.set)},r):("function"==typeof i.value&&null!=(e=this.u)&&e.autoBind&&(i.value=i.value.bind(null!=(o=t.l)?o:t.h)),(!1===(null==(u=this.u)?void 0:u.deep)?ni.ref:ni).s(t,n,i,r))}function J(){t("'"+this.i+"' cannot be used as a decorator")}function Y(t){return t||Fn}function Q(t){return!0===t.deep?M:!1===t.deep?E:(n=t.defaultDecorator)&&null!=(i=null==(r=n.u)?void 0:r.enhancer)?i:M;var n,i,r}function Z(t,n,i){return A(n)?zn.t(t,n):u(n)?void g(t,n,zn):Gt(t)?t:s(t)?ni.object(t,n,i):Array.isArray(t)?ni.array(t,n):v(t)?ni.map(t,n):l(t)?ni.set(t,n):"object"==typeof t&&null!==t?t:ni.box(t,n)}function tt(t,n,i,r){function e(){return nt(0,i,n,r||this,arguments)}return void 0===i&&(i=!1),e.isMobxAction=!0,e.toString=function(){return n.toString()},fi&&(ci.value=t,Vn(e,"name",ci)),e}function nt(t,n,i,r,e){var u=it(0,n);try{return i.apply(r,e)}catch(t){throw u.A=t,t}finally{rt(u)}}function it(t,n){var i=xi.trackingDerivation,r=!n||!i;jt();var e=xi.allowStateChanges;r&&(vt(),e=ut(!0));var u={S:r,M:i,N:e,V:dt(!0),R:!1,T:0,k:si++,L:oi};return oi=u.k,u}function rt(n){oi!==n.k&&t(30),oi=n.L,void 0!==n.A&&(xi.suppressReactionErrors=!0),ot(n.N),bt(n.V),Ot(),n.S&&lt(n.M),xi.suppressReactionErrors=!1}function et(t,n){var i=ut(t);try{return n()}finally{ot(i)}}function ut(t){var n=xi.allowStateChanges;return xi.allowStateChanges=t,n}function ot(t){xi.allowStateChanges=t}function st(t){return t instanceof yi}function ft(t){switch(t.C){case li.I:return!1;case li.K:case li.P:return!0;case li.D:for(var n=dt(!0),i=vt(),r=t.B,e=r.length,u=0;u<e;u++){var o=r[u];if(pi(o)){if(xi.disableErrorBoundaries)o.get();else try{o.get()}catch(t){return lt(i),bt(n),!0}if(t.C===li.P)return lt(i),bt(n),!0}}return pt(t),lt(i),bt(n),!1}}function ct(t,n,i){var r=dt(!0);pt(t),t.W=new Array(0===t.q?100:t.B.length),t.G=0,t.q=++xi.runId;var e,u=xi.trackingDerivation;if(xi.trackingDerivation=t,xi.inBatch++,!0===xi.disableErrorBoundaries)e=n.call(i);else try{e=n.call(i)}catch(t){e=new yi(t)}return xi.inBatch--,xi.trackingDerivation=u,function(t){for(var n=t.B,i=t.B=t.W,r=li.I,e=0,u=t.G,o=0;o<u;o++){var s=i[o];0===s.H&&(s.H=1,e!==o&&(i[e]=s),e++),s.C>r&&(r=s.C)}for(i.length=e,t.W=null,u=n.length;u--;){var f=n[u];0===f.H&&mt(f,t),f.H=0}for(;e--;){var c=i[e];1===c.H&&(c.H=0,yt(c,t))}r!==li.I&&(t.C=r,t.X())}(t),bt(r),e}function at(t){var n=t.B;t.B=[];for(var i=n.length;i--;)mt(n[i],t);t.C=li.K}function ht(t){var n=vt();try{return t()}finally{lt(n)}}function vt(){var t=xi.trackingDerivation;return xi.trackingDerivation=null,t}function lt(t){xi.trackingDerivation=t}function dt(t){var n=xi.allowStateReads;return xi.allowStateReads=t,n}function bt(t){xi.allowStateReads=t}function pt(t){if(t.C!==li.I){t.C=li.I;for(var n=t.B,i=n.length;i--;)n[i].U=li.I}}function yt(t,n){t.F.add(n),t.U>n.C&&(t.U=n.C)}function mt(t,n){t.F.delete(n),0===t.F.size&&wt(t)}function wt(t){!1===t.$&&(t.$=!0,xi.pendingUnobservations.push(t))}function jt(){xi.inBatch++}function Ot(){if(0==--xi.inBatch){gt();for(var t=xi.pendingUnobservations,n=0;n<t.length;n++){var i=t[n];i.$=!1,0===i.F.size&&(i.J&&(i.J=!1,i.onBUO()),i instanceof bi&&i.Y())}xi.pendingUnobservations=[]}}function xt(t){var n=xi.trackingDerivation;return null!==n?(n.q!==t.Z&&(t.Z=n.q,n.W[n.G++]=t,!t.J&&xi.trackingContext&&(t.J=!0,t.onBO())),t.J):(0===t.F.size&&xi.inBatch>0&&wt(t),!1)}function _t(t){t.U!==li.P&&(t.U=li.P,t.F.forEach((function(t){t.C===li.I&&t.X(),t.C=li.P})))}function gt(){xi.inBatch>0||xi.isRunningReactions||gi(At)}function At(){xi.isRunningReactions=!0;for(var t=xi.pendingReactions,n=0;t.length>0;){100==++n&&(console.error("[mobx] cycle in reaction: "+t[0]),t.splice(0));for(var i=t.splice(0),r=0,e=i.length;r<e;r++)i[r].tt()}xi.isRunningReactions=!1}function St(){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function Mt(t){return function(n,i){return e(n)?tt(n.name||"<unnamed action>",n,t):e(i)?tt(n,i,t):A(i)?(t?Ei:Si).t(n,i):u(i)?g(n,i,t?Ei:Si):u(n)?_(N(t?"autoAction":"action",{name:n,autoAction:t})):void 0}}function Et(t){return nt(0,!1,t,this,void 0)}function Nt(t){return e(t)&&!0===t.isMobxAction}function Vt(t,n){function i(){t(f)}var r,e,u,o,s;void 0===n&&(n=kn);var f,c=null!=(r=null==(e=n)?void 0:e.name)?r:"Autorun";if(n.scheduler||n.delay){var a=Rt(n),h=!1;f=new _i(c,(function(){h||(h=!0,a((function(){h=!1,f.nt||f.track(i)})))}),n.onError,n.requiresObservable)}else f=new _i(c,(function(){this.track(i)}),n.onError,n.requiresObservable);return null!=(u=n)&&null!=(o=u.signal)&&o.aborted||f.it(),f.rt(null==(s=n)?void 0:s.signal)}function Rt(t){return t.scheduler?t.scheduler:t.delay?function(n){return setTimeout(n,t.delay)}:Ti}function Tt(t,n,i){return Lt("onBO",t,n,i)}function kt(t,n,i){return Lt("onBUO",t,n,i)}function Lt(t,n,i,r){var u="function"==typeof r?wn(n,i):wn(n),o=e(r)?r:i,s=t+"L";return u[s]?u[s].add(o):u[s]=new Set([o]),function(){var t=u[s];t&&(t.delete(o),0===t.size&&delete u[s])}}function Ct(t,n,i,r){var e=Dn(n);return xn((function(){var n=hn(t,r)[Wn];Pn(e).forEach((function(t){n.s(t,e[t],!i||!(t in i)||i[t])}))})),t}function It(t){var n,i={name:t.et};return t.B&&t.B.length>0&&(i.dependencies=(n=t.B,Array.from(new Set(n))).map(It)),i}function Kt(t){var n={name:t.et};return function(t){return t.F&&t.F.size>0}(t)&&(n.observers=Array.from(function(t){return t.F}(t)).map(Kt)),n}function Pt(){this.message="FLOW_CANCELLED"}function Dt(t){e(t.cancel)&&t.cancel()}function Bt(t){return!0===(null==t?void 0:t.isMobXFlow)}function Wt(t,n){if(void 0===n)return pi(t);if(!1===ln(t))return!1;if(!t[Wn].j.has(n))return!1;var i=wn(t,n);return pi(i)}function qt(t,n){return!!t&&(void 0!==n?!!ln(t)&&t[Wn].j.has(n):ln(t)||!!t[Wn]||Gn(t)||Ai(t)||pi(t))}function Gt(t){return qt(t)}function Ht(n){return ln(n)?n[Wn].ut():Yi(n)||ir(n)?Array.from(n.keys()):an(n)?n.map((function(t,n){return n})):void t(5)}function Xt(n,i){return ln(n)?n[Wn].ot(i):Yi(n)||ir(n)?n.has(i):an(n)?i>=0&&i<n.length:void t(10)}function Ut(n){if(ln(n))return n[Wn].st();t(38)}function Ft(t,n,i){return t.set(n,i),i}function zt(t,n){void 0===n&&(n=void 0),jt();try{return t.apply(n)}finally{Ot()}}function $t(t,n,i){var r;if("number"==typeof i.timeout){var e=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!o[Wn].nt){if(o(),!i.onError)throw e;i.onError(e)}}),i.timeout)}i.name="When";var u=tt("When-effect",n),o=Vt((function(n){et(!1,t)&&(n.dispose(),r&&clearTimeout(r),u())}),i);return o}function Jt(t,n){var i,r,e;if(null!=n&&null!=(i=n.signal)&&i.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var u=new Promise((function(i,u){var o,s=$t(t,i,m({},n,{onError:u}));r=function(){s(),u(new Error("WHEN_CANCELLED"))},e=function(){s(),u(new Error("WHEN_ABORTED"))},null==n||null==(o=n.signal)||null==o.addEventListener||o.addEventListener("abort",e)})).finally((function(){var t;return null==n||null==(t=n.signal)||null==t.removeEventListener?void 0:t.removeEventListener("abort",e)}));return u.cancel=r,u}function Yt(t){return t[Wn]}function Qt(t){return void 0!==t.ft&&t.ft.length>0}function Zt(t,n){var i=t.ft||(t.ft=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function tn(n,i){var r=vt();try{for(var e=[].concat(n.ft||[]),u=0,o=e.length;u<o&&((i=e[u](i))&&!i.type&&t(14),i);u++);return i}finally{lt(r)}}function nn(t){return void 0!==t.ct&&t.ct.length>0}function rn(t,n){var i=t.ct||(t.ct=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function en(t,n){var i=vt(),r=t.ct;if(r){for(var e=0,u=(r=r.slice()).length;e<u;e++)r[e](n);lt(i)}}function un(t,n,r,e){return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),i(),xn((function(){var i=new Wi(r,n,e,!1);a(i.j,Wn,i);var u=new Proxy(i.j,Bi);return i.l=u,t&&t.length&&i.at(0,0,t),u}))}function on(t,n){"function"==typeof Array.prototype[t]&&(qi[t]=n(t))}function sn(t){return function(){var n=this[Wn];n.ht.reportObserved();var i=n.vt(n.j);return i[t].apply(i,arguments)}}function fn(t){return function(n,i){var r=this,e=this[Wn];return e.ht.reportObserved(),e.vt(e.j)[t]((function(t,e){return n.call(i,t,e,r)}))}}function cn(t){return function(){var n=this,i=this[Wn];i.ht.reportObserved();var r=i.vt(i.j),e=arguments[0];return arguments[0]=function(t,i,r){return e(t,i,r,n)},r[t].apply(r,arguments)}}function an(t){return o(t)&&Xi(t[Wn])}function hn(t,n){var i;if(b(t,Wn))return t;var r=null!=(i=null==n?void 0:n.name)?i:"ObservableObject",e=new er(t,new Map,String(r),function(t){var n;return t?null!=(n=t.defaultDecorator)?n:F(t):void 0}(n));return c(t,Wn,e),t}function vn(t){return rr[t]||(rr[t]={get:function(){return this[Wn].O(t)},set:function(n){return this[Wn].g(t,n)}})}function ln(t){return!!o(t)&&ur(t[Wn])}function dn(t,n,i){var r;null==(r=t.h[Bn])||delete r[i]}function bn(t){return{enumerable:!1,configurable:!0,get:function(){return this[Wn].lt(t)},set:function(n){this[Wn].dt(t,n)}}}function pn(t){Vn(ar.prototype,""+t,bn(t))}function yn(t){if(t>fr){for(var n=fr;n<t+100;n++)pn(n);fr=t}}function mn(t,n,i){return new ar(t,n,i)}function wn(n,i){if("object"==typeof n&&null!==n){if(an(n))return void 0!==i&&t(23),n[Wn].ht;if(ir(n))return n.ht;if(Yi(n)){if(void 0===i)return n.bt;var r=n.pt.get(i)||n.yt.get(i);return r||t(25,i,On(n)),r}if(ln(n)){if(!i)return t(26);var u=n[Wn].j.get(i);return u||t(27,i,On(n)),u}if(Gn(n)||pi(n)||Ai(n))return n}else if(e(n)&&Ai(n[Wn]))return n[Wn];t(28)}function jn(n,i){return n||t(29),void 0!==i?jn(wn(n,i)):Gn(n)||pi(n)||Ai(n)||Yi(n)||ir(n)?n:n[Wn]?n[Wn]:void t(24,n)}function On(t,n){var i;if(void 0!==n)i=wn(t,n);else{if(Nt(t))return t.name;i=ln(t)||Yi(t)||ir(t)?jn(t):wn(t)}return i.et}function xn(t){var n=vt(),i=ut(!0);jt();try{return t()}finally{Ot(),ot(i),lt(n)}}function _n(t,n,i){return void 0===i&&(i=-1),function t(n,i,r,u,o){if(n===i)return 0!==n||1/n==1/i;if(null==n||null==i)return!1;if(n!=n)return i!=i;var s=typeof n;if("function"!==s&&"object"!==s&&"object"!=typeof i)return!1;var f=hr.call(n);if(f!==hr.call(i))return!1;switch(f){case"[object RegExp]":case"[object String]":return""+n==""+i;case"[object Number]":return+n!=+n?+i!=+i:0==+n?1/+n==1/i:+n==+i;case"[object Date]":case"[object Boolean]":return+n==+i;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(n)===Symbol.valueOf.call(i);case"[object Map]":case"[object Set]":r>=0&&r++}n=gn(n),i=gn(i);var c="[object Array]"===f;if(!c){if("object"!=typeof n||"object"!=typeof i)return!1;var a=n.constructor,h=i.constructor;if(a!==h&&!(e(a)&&a instanceof a&&e(h)&&h instanceof h)&&"constructor"in n&&"constructor"in i)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var v=(u=u||[]).length;v--;)if(u[v]===n)return o[v]===i;if(u.push(n),o.push(i),c){if((v=n.length)!==i.length)return!1;for(;v--;)if(!t(n[v],i[v],r-1,u,o))return!1}else{var l,d=Object.keys(n);if(v=d.length,Object.keys(i).length!==v)return!1;for(;v--;)if(!b(i,l=d[v])||!t(n[l],i[l],r-1,u,o))return!1}return u.pop(),o.pop(),!0}(t,n,i)}function gn(t){return an(t)?t.slice():v(t)||Yi(t)||l(t)||ir(t)?Array.from(t.entries()):t}function An(t){return t[Symbol.iterator]=Sn,t}function Sn(){return this}Object.defineProperty(exports,"__esModule",{value:!0});var Mn={},En=Object.assign,Nn=Object.getOwnPropertyDescriptor,Vn=Object.defineProperty,Rn=Object.prototype,Tn=[];Object.freeze(Tn);var kn={};Object.freeze(kn);var Ln="undefined"!=typeof Proxy,Cn=Object.toString(),In=function(){},Kn=void 0!==Object.getOwnPropertySymbols,Pn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Kn?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Dn=Object.getOwnPropertyDescriptors||function(t){var n={};return Pn(t).forEach((function(i){n[i]=Nn(t,i)})),n},Bn=Symbol("mobx-stored-annotations"),Wn=Symbol("mobx administration"),qn=function(){function t(t){void 0===t&&(t="Atom"),this.et=void 0,this.$=!1,this.J=!1,this.F=new Set,this.H=0,this.Z=0,this.U=li.K,this.onBOL=void 0,this.onBUOL=void 0,this.et=t}var n=t.prototype;return n.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},n.reportObserved=function(){return xt(this)},n.reportChanged=function(){jt(),_t(this),Ot()},n.toString=function(){return this.et},t}(),Gn=h("Atom",qn),Hn={identity:function(t,n){return t===n},structural:function(t,n){return _n(t,n)},default:function(t,n){return Object.is?Object.is(t,n):t===n?0!==t||1/t==1/n:t!=t&&n!=n},shallow:function(t,n){return _n(t,n,1)}},Xn=_({i:"override",o:function(){return 0},s:function(){t("'"+this.i+"' can only be used with 'makeObservable'")},t:function(){console.warn("'"+this.i+"' cannot be used with decorators - this is a no-op")}}),Un=F(),Fn={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(Fn);var zn=G("observable"),$n=G("observable.ref",{enhancer:E}),Jn=G("observable.shallow",{enhancer:function(t,n,i){return null==t||ln(t)||an(t)||Yi(t)||ir(t)?t:Array.isArray(t)?ni.array(t,{name:i,deep:!1}):s(t)?ni.object(t,void 0,{name:i,deep:!1}):v(t)?ni.map(t,{name:i,deep:!1}):l(t)?ni.set(t,{name:i,deep:!1}):void 0}}),Yn=G("observable.struct",{enhancer:function(t,n){return _n(t,n)?n:t}}),Qn=_(zn);En(Z,Qn);var Zn,ti,ni=En(Z,{box:function(t,n){var i=Y(n);return new hi(t,Q(i),i.name,!0,i.equals)},array:function(t,n){var i=Y(n);return(!1===xi.useProxies||!1===i.proxy?mn:un)(t,Q(i),i.name)},map:function(t,n){var i=Y(n);return new Ji(t,Q(i),i.name)},set:function(t,n){var i=Y(n);return new nr(t,Q(i),i.name)},object:function(t,n,r){return xn((function(){return Ct(!1===xi.useProxies||!1===(null==r?void 0:r.proxy)?hn({},r):function(t,n){var r,e;return i(),null!=(e=(r=(t=hn(t,n))[Wn]).l)?e:r.l=new Proxy(t,Ki)}({},r),t,n)}))},ref:_($n),shallow:_(Jn),deep:Qn,struct:_(Yn)}),ii=D("computed"),ri=D("computed.struct",{equals:Hn.structural}),ei=function(t,n){if(A(n))return ii.t(t,n);if(u(n))return g(t,n,ii);if(s(t))return _(D("computed",t));var i=s(n)?n:{};return i.get=t,i.name||(i.name=t.name||""),new bi(i)};Object.assign(ei,ii),ei.struct=_(ri);var ui,oi=0,si=1,fi=null!=(Zn=null==(ti=Nn((function(){}),"name"))?void 0:ti.configurable)&&Zn,ci={value:"action",configurable:!0,writable:!1,enumerable:!1};ui=Symbol.toPrimitive;var ai,hi=function(t){function n(n,i,r,e,u){var o;return void 0===r&&(r="ObservableValue"),void 0===u&&(u=Hn.default),(o=t.call(this,r)||this).enhancer=void 0,o.et=void 0,o.equals=void 0,o.wt=!1,o.ft=void 0,o.ct=void 0,o.jt=void 0,o.dehancer=void 0,o.enhancer=i,o.et=r,o.equals=u,o.jt=i(n,void 0,r),o}w(n,t);var i=n.prototype;return i.dehanceValue=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.set=function(t){(t=this.Ot(t))!==xi.UNCHANGED&&this.xt(t)},i.Ot=function(t){if(Qt(this)){var n=tn(this,{object:this,type:Di,newValue:t});if(!n)return xi.UNCHANGED;t=n.newValue}return t=this.enhancer(t,this.jt,this.et),this.equals(this.jt,t)?xi.UNCHANGED:t},i.xt=function(t){var n=this.jt;this.jt=t,this.reportChanged(),nn(this)&&en(this,{type:Di,object:this,newValue:t,oldValue:n})},i.get=function(){return this.reportObserved(),this.dehanceValue(this.jt)},i._t=function(t){return Zt(this,t)},i.gt=function(t,n){return n&&t({observableKind:"value",debugObjectName:this.et,object:this,type:Di,newValue:this.jt,oldValue:void 0}),rn(this,t)},i.raw=function(){return this.jt},i.toJSON=function(){return this.get()},i.toString=function(){return this.et+"["+this.jt+"]"},i.valueOf=function(){return d(this.get())},i[ui]=function(){return this.valueOf()},n}(qn),vi=h("ObservableValue",hi);ai=Symbol.toPrimitive;var li,di,bi=function(){function n(n){this.C=li.K,this.B=[],this.W=null,this.J=!1,this.$=!1,this.F=new Set,this.H=0,this.q=0,this.Z=0,this.U=li.I,this.G=0,this.jt=new yi(null),this.et=void 0,this.At=void 0,this.St=!1,this.Mt=!1,this.derivation=void 0,this.Et=void 0,this.Nt=di.NONE,this.Vt=void 0,this.Rt=void 0,this.Tt=void 0,this.kt=void 0,this.onBOL=void 0,this.onBUOL=void 0,n.get||t(31),this.derivation=n.get,this.et=n.name||"ComputedValue",n.set&&(this.Et=tt("ComputedValue-setter",n.set)),this.Rt=n.equals||(n.compareStructural||n.struct?Hn.structural:Hn.default),this.Vt=n.context,this.Tt=n.requiresReaction,this.kt=!!n.keepAlive}var i=n.prototype;return i.X=function(){!function(t){t.U===li.I&&(t.U=li.D,t.F.forEach((function(t){t.C===li.I&&(t.C=li.D,t.X())})))}(this)},i.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},i.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},i.get=function(){if(this.St&&t(32,this.et,this.derivation),0!==xi.inBatch||0!==this.F.size||this.kt){if(xt(this),ft(this)){var n=xi.trackingContext;this.kt&&!n&&(xi.trackingContext=this),this.trackAndCompute()&&function(t){t.U!==li.P&&(t.U=li.P,t.F.forEach((function(n){n.C===li.D?n.C=li.P:n.C===li.I&&(t.U=li.I)})))}(this),xi.trackingContext=n}}else ft(this)&&(this.Lt(),jt(),this.jt=this.Ct(!1),Ot());var i=this.jt;if(st(i))throw i.cause;return i},i.set=function(n){if(this.Et){this.Mt&&t(33,this.et),this.Mt=!0;try{this.Et.call(this.Vt,n)}finally{this.Mt=!1}}else t(34,this.et)},i.trackAndCompute=function(){var t=this.jt,n=this.C===li.K,i=this.Ct(!0),r=n||st(t)||st(i)||!this.Rt(t,i);return r&&(this.jt=i),r},i.Ct=function(t){this.St=!0;var n,i=ut(!1);if(t)n=ct(this,this.derivation,this.Vt);else if(!0===xi.disableErrorBoundaries)n=this.derivation.call(this.Vt);else try{n=this.derivation.call(this.Vt)}catch(t){n=new yi(t)}return ot(i),this.St=!1,n},i.Y=function(){this.kt||(at(this),this.jt=void 0)},i.gt=function(t,n){var i=this,r=!0,e=void 0;return Vt((function(){var u=i.get();if(!r||n){var o=vt();t({observableKind:"computed",debugObjectName:i.et,type:Di,object:i,newValue:u,oldValue:e}),lt(o)}r=!1,e=u}))},i.Lt=function(){},i.toString=function(){return this.et+"["+this.derivation.toString()+"]"},i.valueOf=function(){return d(this.get())},i[ai]=function(){return this.valueOf()},n}(),pi=h("ComputedValue",bi);!function(t){t[t.K=-1]="NOT_TRACKING_",t[t.I=0]="UP_TO_DATE_",t[t.D=1]="POSSIBLY_STALE_",t[t.P=2]="STALE_"}(li||(li={})),function(t){t[t.NONE=0]="NONE",t[t.LOG=1]="LOG",t[t.BREAK=2]="BREAK"}(di||(di={}));var yi=function(t){this.cause=void 0,this.cause=t},mi=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],wi=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},ji=!0,Oi=!1,xi=function(){var i=n();return i.__mobxInstanceCount>0&&!i.__mobxGlobals&&(ji=!1),i.__mobxGlobals&&i.__mobxGlobals.version!==(new wi).version&&(ji=!1),ji?i.__mobxGlobals?(i.__mobxInstanceCount+=1,i.__mobxGlobals.UNCHANGED||(i.__mobxGlobals.UNCHANGED={}),i.__mobxGlobals):(i.__mobxInstanceCount=1,i.__mobxGlobals=new wi):(setTimeout((function(){Oi||t(35)}),1),new wi)}(),_i=function(){function t(t,n,i,r){void 0===t&&(t="Reaction"),this.et=void 0,this.It=void 0,this.Kt=void 0,this.Pt=void 0,this.B=[],this.W=[],this.C=li.K,this.H=0,this.q=0,this.G=0,this.nt=!1,this.Dt=!1,this.Bt=!1,this.Wt=!1,this.Nt=di.NONE,this.et=t,this.It=n,this.Kt=i,this.Pt=r}var n=t.prototype;return n.X=function(){this.it()},n.it=function(){this.Dt||(this.Dt=!0,xi.pendingReactions.push(this),gt())},n.isScheduled=function(){return this.Dt},n.tt=function(){if(!this.nt){jt(),this.Dt=!1;var t=xi.trackingContext;if(xi.trackingContext=this,ft(this)){this.Bt=!0;try{this.It()}catch(t){this.qt(t)}}xi.trackingContext=t,Ot()}},n.track=function(t){if(!this.nt){jt(),this.Wt=!0;var n=xi.trackingContext;xi.trackingContext=this;var i=ct(this,t,void 0);xi.trackingContext=n,this.Wt=!1,this.Bt=!1,this.nt&&at(this),st(i)&&this.qt(i.cause),Ot()}},n.qt=function(t){var n=this;if(this.Kt)this.Kt(t,this);else{if(xi.disableErrorBoundaries)throw t;xi.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",t),xi.globalReactionErrorHandlers.forEach((function(i){return i(t,n)}))}},n.dispose=function(){this.nt||(this.nt=!0,this.Wt||(jt(),at(this),Ot()))},n.rt=function(t){var n=this,i=function i(){n.dispose(),null==t||null==t.removeEventListener||t.removeEventListener("abort",i)};return null==t||null==t.addEventListener||t.addEventListener("abort",i),i[Wn]=this,i},n.toString=function(){return"Reaction["+this.et+"]"},n.trace=function(){},t}(),gi=function(t){return t()},Ai=h("Reaction",_i),Si=N("action"),Mi=N("action.bound",{bound:!0}),Ei=N("autoAction",{autoAction:!0}),Ni=N("autoAction.bound",{autoAction:!0,bound:!0}),Vi=Mt(!1);Object.assign(Vi,Si);var Ri=Mt(!0);Object.assign(Ri,Ei),Vi.bound=_(Mi),Ri.bound=_(Ni);var Ti=function(t){return t()},ki=0;Pt.prototype=Object.create(Error.prototype);var Li=L("flow"),Ci=L("flow.bound",{bound:!0}),Ii=Object.assign((function(t,n){if(A(n))return Li.t(t,n);if(u(n))return g(t,n,Li);var i=t,r=i.name||"<unnamed flow>",o=function(){var t,n=this,u=arguments,o=++ki,s=Vi(r+" - runid: "+o+" - init",i).apply(n,u),f=void 0,c=new Promise((function(n,i){function u(t){var n;f=void 0;try{n=Vi(r+" - runid: "+o+" - yield "+h++,s.next).call(s,t)}catch(t){return i(t)}a(n)}function c(t){var n;f=void 0;try{n=Vi(r+" - runid: "+o+" - yield "+h++,s.throw).call(s,t)}catch(t){return i(t)}a(n)}function a(t){if(!e(null==t?void 0:t.then))return t.done?n(t.value):(f=Promise.resolve(t.value)).then(u,c);t.then(a,i)}var h=0;t=i,u(void 0)}));return c.cancel=Vi(r+" - runid: "+o+" - cancel",(function(){try{f&&Dt(f);var n=s.return(void 0),i=Promise.resolve(n.value);i.then(In,In),Dt(i),t(new Pt)}catch(n){t(n)}})),c};return o.isMobXFlow=!0,o}),Li);Ii.bound=_(Ci);var Ki={has:function(t,n){return Yt(t).ot(n)},get:function(t,n){return Yt(t).lt(n)},set:function(t,n,i){var r;return!!u(n)&&(null==(r=Yt(t).dt(n,i,!0))||r)},deleteProperty:function(t,n){var i;return!!u(n)&&(null==(i=Yt(t).Gt(n,!0))||i)},defineProperty:function(t,n,i){var r;return null==(r=Yt(t).v(n,i))||r},ownKeys:function(t){return Yt(t).st()},preventExtensions:function(){t(13)}},Pi=Symbol("mobx-keys"),Di="update",Bi={get:function(t,n){var i=t[Wn];return n===Wn?i:"length"===n?i.Ht():"string"!=typeof n||isNaN(n)?b(qi,n)?qi[n]:t[n]:i.lt(parseInt(n))},set:function(t,n,i){var r=t[Wn];return"length"===n&&r.Xt(i),"symbol"==typeof n||isNaN(n)?t[n]=i:r.dt(parseInt(n),i),!0},preventExtensions:function(){t(15)}},Wi=function(){function n(t,n,i,r){void 0===t&&(t="ObservableArray"),this.Ut=void 0,this.Ft=void 0,this.ht=void 0,this.j=[],this.ft=void 0,this.ct=void 0,this.zt=void 0,this.dehancer=void 0,this.l=void 0,this.$t=0,this.Ut=i,this.Ft=r,this.ht=new qn(t),this.zt=function(t,i){return n(t,i,"ObservableArray[..]")}}var i=n.prototype;return i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.vt=function(t){return void 0!==this.dehancer&&t.length>0?t.map(this.dehancer):t},i._t=function(t){return Zt(this,t)},i.gt=function(t,n){return void 0===n&&(n=!1),n&&t({observableKind:"array",object:this.l,debugObjectName:this.ht.et,type:"splice",index:0,added:this.j.slice(),addedCount:this.j.length,removed:[],removedCount:0}),rn(this,t)},i.Ht=function(){return this.ht.reportObserved(),this.j.length},i.Xt=function(n){("number"!=typeof n||isNaN(n)||n<0)&&t("Out of range: "+n);var i=this.j.length;if(n!==i)if(n>i){for(var r=new Array(n-i),e=0;e<n-i;e++)r[e]=void 0;this.at(i,0,r)}else this.at(n,i-n)},i.Yt=function(n,i){n!==this.$t&&t(16),this.$t+=i,this.Ft&&i>0&&yn(n+i+1)},i.at=function(t,n,i){var r=this,e=this.j.length;if(void 0===t?t=0:t>e?t=e:t<0&&(t=Math.max(0,e+t)),n=1===arguments.length?e-t:null==n?0:Math.max(0,Math.min(n,e-t)),void 0===i&&(i=Tn),Qt(this)){var u=tn(this,{object:this.l,type:"splice",index:t,removedCount:n,added:i});if(!u)return Tn;n=u.removedCount,i=u.added}if(i=0===i.length?i:i.map((function(t){return r.zt(t,void 0)})),this.Ft){var o=i.length-n;this.Yt(e,o)}var s=this.Qt(t,n,i);return 0===n&&0===i.length||this.Zt(t,i,s),this.vt(s)},i.Qt=function(t,n,i){var r;if(i.length<1e4)return(r=this.j).splice.apply(r,[t,n].concat(i));var e=this.j.slice(t,t+n),u=this.j.slice(t+n);this.j.length+=i.length-n;for(var o=0;o<i.length;o++)this.j[t+o]=i[o];for(var s=0;s<u.length;s++)this.j[t+i.length+s]=u[s];return e},i.tn=function(t,n,i){var r=!this.Ut&&!1,e=nn(this),u=e||r?{observableKind:"array",object:this.l,type:Di,debugObjectName:this.ht.et,index:t,newValue:n,oldValue:i}:null;this.ht.reportChanged(),e&&en(this,u)},i.Zt=function(t,n,i){var r=!this.Ut&&!1,e=nn(this),u=e||r?{observableKind:"array",object:this.l,debugObjectName:this.ht.et,type:"splice",index:t,removed:i,added:n,removedCount:i.length,addedCount:n.length}:null;this.ht.reportChanged(),e&&en(this,u)},i.lt=function(t){if(!(this.Ft&&t>=this.j.length))return this.ht.reportObserved(),this.Jt(this.j[t]);console.warn("[mobx] Out of bounds read: "+t)},i.dt=function(n,i){var r=this.j;if(this.Ft&&n>r.length&&t(17,n,r.length),n<r.length){var e=r[n];if(Qt(this)){var u=tn(this,{type:Di,object:this.l,index:n,newValue:i});if(!u)return;i=u.newValue}(i=this.zt(i,e))!==e&&(r[n]=i,this.tn(n,i,e))}else{for(var o=new Array(n+1-r.length),s=0;s<o.length-1;s++)o[s]=void 0;o[o.length-1]=i,this.at(r.length,0,o)}},n}(),qi={clear:function(){return this.splice(0)},replace:function(t){var n=this[Wn];return n.at(0,n.j.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var i=arguments.length,r=new Array(i>2?i-2:0),e=2;e<i;e++)r[e-2]=arguments[e];var u=this[Wn];switch(arguments.length){case 0:return[];case 1:return u.at(t);case 2:return u.at(t,n)}return u.at(t,n,r)},spliceWithArray:function(t,n,i){return this[Wn].at(t,n,i)},push:function(){for(var t=this[Wn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.at(t.j.length,0,i),t.j.length},pop:function(){return this.splice(Math.max(this[Wn].j.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[Wn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.at(0,0,i),t.j.length},reverse:function(){return xi.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){xi.trackingDerivation&&t(37,"sort");var n=this.slice();return n.sort.apply(n,arguments),this.replace(n),this},remove:function(t){var n=this[Wn],i=n.vt(n.j).indexOf(t);return i>-1&&(this.splice(i,1),!0)}};on("at",sn),on("concat",sn),on("flat",sn),on("includes",sn),on("indexOf",sn),on("join",sn),on("lastIndexOf",sn),on("slice",sn),on("toString",sn),on("toLocaleString",sn),on("toSorted",sn),on("toSpliced",sn),on("with",sn),on("every",fn),on("filter",fn),on("find",fn),on("findIndex",fn),on("findLast",fn),on("findLastIndex",fn),on("flatMap",fn),on("forEach",fn),on("map",fn),on("some",fn),on("toReversed",fn),on("reduce",cn),on("reduceRight",cn);var Gi,Hi,Xi=h("ObservableArrayAdministration",Wi),Ui={},Fi="add";Gi=Symbol.iterator,Hi=Symbol.toStringTag;var zi,$i,Ji=function(){function n(n,i,r){var u=this;void 0===i&&(i=M),void 0===r&&(r="ObservableMap"),this.zt=void 0,this.et=void 0,this[Wn]=Ui,this.pt=void 0,this.yt=void 0,this.bt=void 0,this.ft=void 0,this.ct=void 0,this.dehancer=void 0,this.zt=i,this.et=r,e(Map)||t(18),xn((function(){u.bt=S("ObservableMap.keys()"),u.pt=new Map,u.yt=new Map,n&&u.merge(n)}))}var i=n.prototype;return i.ot=function(t){return this.pt.has(t)},i.has=function(t){var n=this;if(!xi.trackingDerivation)return this.ot(t);var i=this.yt.get(t);if(!i){var r=i=new hi(this.ot(t),E,"ObservableMap.key?",!1);this.yt.set(t,r),kt(r,(function(){return n.yt.delete(t)}))}return i.get()},i.set=function(t,n){var i=this.ot(t);if(Qt(this)){var r=tn(this,{type:i?Di:Fi,object:this,newValue:n,name:t});if(!r)return this;n=r.newValue}return i?this.nn(t,n):this.in(t,n),this},i.delete=function(t){var n=this;if(Qt(this)&&!tn(this,{type:"delete",object:this,name:t}))return!1;if(this.ot(t)){var i=nn(this),r=i?{observableKind:"map",debugObjectName:this.et,type:"delete",object:this,oldValue:this.pt.get(t).jt,name:t}:null;return zt((function(){var i;n.bt.reportChanged(),null==(i=n.yt.get(t))||i.xt(!1),n.pt.get(t).xt(void 0),n.pt.delete(t)})),i&&en(this,r),!0}return!1},i.nn=function(t,n){var i=this.pt.get(t);if((n=i.Ot(n))!==xi.UNCHANGED){var r=nn(this),e=r?{observableKind:"map",debugObjectName:this.et,type:Di,object:this,oldValue:i.jt,name:t,newValue:n}:null;i.xt(n),r&&en(this,e)}},i.in=function(t,n){var i=this;zt((function(){var r,e=new hi(n,i.zt,"ObservableMap.key",!1);i.pt.set(t,e),n=e.jt,null==(r=i.yt.get(t))||r.xt(!0),i.bt.reportChanged()}));var r=nn(this);r&&en(this,r?{observableKind:"map",debugObjectName:this.et,type:Fi,object:this,name:t,newValue:n}:null)},i.get=function(t){return this.has(t)?this.Jt(this.pt.get(t).get()):this.Jt(void 0)},i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.keys=function(){return this.bt.reportObserved(),this.pt.keys()},i.values=function(){var t=this,n=this.keys();return An({next:function(){var i=n.next(),r=i.done;return{done:r,value:r?void 0:t.get(i.value)}}})},i.entries=function(){var t=this,n=this.keys();return An({next:function(){var i=n.next(),r=i.done,e=i.value;return{done:r,value:r?void 0:[e,t.get(e)]}}})},i[Gi]=function(){return this.entries()},i.forEach=function(t,n){for(var i,r=x(this);!(i=r()).done;){var e=i.value;t.call(n,e[1],e[0],this)}},i.merge=function(n){var i=this;return Yi(n)&&(n=new Map(n)),zt((function(){s(n)?function(t){var n=Object.keys(t);if(!Kn)return n;var i=Object.getOwnPropertySymbols(t);return i.length?[].concat(n,i.filter((function(n){return Rn.propertyIsEnumerable.call(t,n)}))):n}(n).forEach((function(t){return i.set(t,n[t])})):Array.isArray(n)?n.forEach((function(t){return i.set(t[0],t[1])})):v(n)?(n.constructor!==Map&&t(19,n),n.forEach((function(t,n){return i.set(n,t)}))):null!=n&&t(20,n)})),this},i.clear=function(){var t=this;zt((function(){ht((function(){for(var n,i=x(t.keys());!(n=i()).done;)t.delete(n.value)}))}))},i.replace=function(n){var i=this;return zt((function(){for(var r,e=function(n){if(v(n)||Yi(n))return n;if(Array.isArray(n))return new Map(n);if(s(n)){var i=new Map;for(var r in n)i.set(r,n[r]);return i}return t(21,n)}(n),u=new Map,o=!1,f=x(i.pt.keys());!(r=f()).done;){var c=r.value;if(!e.has(c))if(i.delete(c))o=!0;else{var a=i.pt.get(c);u.set(c,a)}}for(var h,l=x(e.entries());!(h=l()).done;){var d=h.value,b=d[0],p=d[1],y=i.pt.has(b);if(i.set(b,p),i.pt.has(b)){var m=i.pt.get(b);u.set(b,m),y||(o=!0)}}if(!o)if(i.pt.size!==u.size)i.bt.reportChanged();else for(var w=i.pt.keys(),j=u.keys(),O=w.next(),_=j.next();!O.done;){if(O.value!==_.value){i.bt.reportChanged();break}O=w.next(),_=j.next()}i.pt=u})),this},i.toString=function(){return"[object ObservableMap]"},i.toJSON=function(){return Array.from(this)},i.gt=function(t){return rn(this,t)},i._t=function(t){return Zt(this,t)},y(n,[{key:"size",get:function(){return this.bt.reportObserved(),this.pt.size}},{key:Hi,get:function(){return"Map"}}]),n}(),Yi=h("ObservableMap",Ji),Qi={};zi=Symbol.iterator,$i=Symbol.toStringTag;var Zi,tr,nr=function(){function n(n,i,r){var u=this;void 0===i&&(i=M),void 0===r&&(r="ObservableSet"),this.et=void 0,this[Wn]=Qi,this.pt=new Set,this.ht=void 0,this.ct=void 0,this.ft=void 0,this.dehancer=void 0,this.zt=void 0,this.et=r,e(Set)||t(22),this.zt=function(t,n){return i(t,n,r)},xn((function(){u.ht=S(u.et),n&&u.replace(n)}))}var i=n.prototype;return i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.clear=function(){var t=this;zt((function(){ht((function(){for(var n,i=x(t.pt.values());!(n=i()).done;)t.delete(n.value)}))}))},i.forEach=function(t,n){for(var i,r=x(this);!(i=r()).done;){var e=i.value;t.call(n,e,e,this)}},i.add=function(t){var n=this;if(Qt(this)&&!tn(this,{type:Fi,object:this,newValue:t}))return this;if(!this.has(t)){zt((function(){n.pt.add(n.zt(t,void 0)),n.ht.reportChanged()}));var i=nn(this);i&&en(this,i?{observableKind:"set",debugObjectName:this.et,type:Fi,object:this,newValue:t}:null)}return this},i.delete=function(t){var n=this;if(Qt(this)&&!tn(this,{type:"delete",object:this,oldValue:t}))return!1;if(this.has(t)){var i=nn(this),r=i?{observableKind:"set",debugObjectName:this.et,type:"delete",object:this,oldValue:t}:null;return zt((function(){n.ht.reportChanged(),n.pt.delete(t)})),i&&en(this,r),!0}return!1},i.has=function(t){return this.ht.reportObserved(),this.pt.has(this.Jt(t))},i.entries=function(){var t=0,n=Array.from(this.keys()),i=Array.from(this.values());return An({next:function(){var r=t;return t+=1,r<i.length?{value:[n[r],i[r]],done:!1}:{done:!0}}})},i.keys=function(){return this.values()},i.values=function(){this.ht.reportObserved();var t=this,n=0,i=Array.from(this.pt.values());return An({next:function(){return n<i.length?{value:t.Jt(i[n++]),done:!1}:{done:!0}}})},i.replace=function(n){var i=this;return ir(n)&&(n=new Set(n)),zt((function(){Array.isArray(n)||l(n)?(i.clear(),n.forEach((function(t){return i.add(t)}))):null!=n&&t("Cannot initialize set from "+n)})),this},i.gt=function(t){return rn(this,t)},i._t=function(t){return Zt(this,t)},i.toJSON=function(){return Array.from(this)},i.toString=function(){return"[object ObservableSet]"},i[zi]=function(){return this.values()},y(n,[{key:"size",get:function(){return this.ht.reportObserved(),this.pt.size}},{key:$i,get:function(){return"Set"}}]),n}(),ir=h("ObservableSet",nr),rr=Object.create(null),er=function(){function n(t,n,i,r){void 0===n&&(n=new Map),void 0===r&&(r=Un),this.h=void 0,this.j=void 0,this.et=void 0,this.rn=void 0,this.bt=void 0,this.ct=void 0,this.ft=void 0,this.l=void 0,this.p=void 0,this.en=void 0,this.un=void 0,this.h=t,this.j=n,this.et=i,this.rn=r,this.bt=new qn("ObservableObject.keys"),this.p=s(this.h)}var i=n.prototype;return i.O=function(t){return this.j.get(t).get()},i.g=function(t,n){var i=this.j.get(t);if(i instanceof bi)return i.set(n),!0;if(Qt(this)){var r=tn(this,{type:Di,object:this.l||this.h,name:t,newValue:n});if(!r)return null;n=r.newValue}if((n=i.Ot(n))!==xi.UNCHANGED){var e=nn(this),u=e?{type:Di,observableKind:"object",debugObjectName:this.et,object:this.l||this.h,oldValue:i.jt,name:t,newValue:n}:null;i.xt(n),e&&en(this,u)}return!0},i.lt=function(t){return xi.trackingDerivation&&!b(this.h,t)&&this.ot(t),this.h[t]},i.dt=function(t,n,i){return void 0===i&&(i=!1),b(this.h,t)?this.j.has(t)?this.g(t,n):i?Reflect.set(this.h,t,n):(this.h[t]=n,!0):this.s(t,{value:n,enumerable:!0,writable:!0,configurable:!0},this.rn,i)},i.ot=function(t){if(!xi.trackingDerivation)return t in this.h;this.un||(this.un=new Map);var n=this.un.get(t);return n||(n=new hi(t in this.h,E,"ObservableObject.key?",!1),this.un.set(t,n)),n.get()},i.o=function(n,i){if(!0===i&&(i=this.rn),!1!==i){if(!(n in this.h)){var r;if(null!=(r=this.h[Bn])&&r[n])return;t(1,i.i,this.et+"."+n.toString())}for(var e=this.h;e&&e!==Rn;){var u=Nn(e,n);if(u){var o=i.o(this,n,u,e);if(0===o)return;if(1===o)break}e=Object.getPrototypeOf(e)}dn(this,0,n)}},i.s=function(t,n,i,r){if(void 0===r&&(r=!1),!0===i&&(i=this.rn),!1===i)return this.v(t,n,r);var e=i.s(this,t,n,r);return e&&dn(this,0,t),e},i.v=function(t,n,i){void 0===i&&(i=!1);try{jt();var r=this.Gt(t);if(!r)return r;if(Qt(this)){var e=tn(this,{object:this.l||this.h,name:t,type:Fi,newValue:n.value});if(!e)return null;var u=e.newValue;n.value!==u&&(n=m({},n,{value:u}))}if(i){if(!Reflect.defineProperty(this.h,t,n))return!1}else Vn(this.h,t,n);this.on(t,n.value)}finally{Ot()}return!0},i._=function(t,n,i,r){void 0===r&&(r=!1);try{jt();var e=this.Gt(t);if(!e)return e;if(Qt(this)){var u=tn(this,{object:this.l||this.h,name:t,type:Fi,newValue:n});if(!u)return null;n=u.newValue}var o=vn(t),s={configurable:!xi.safeDescriptors||this.p,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.h,t,s))return!1}else Vn(this.h,t,s);var f=new hi(n,i,"ObservableObject.key",!1);this.j.set(t,f),this.on(t,f.jt)}finally{Ot()}return!0},i.m=function(t,n,i){void 0===i&&(i=!1);try{jt();var r=this.Gt(t);if(!r)return r;if(Qt(this)&&!tn(this,{object:this.l||this.h,name:t,type:Fi,newValue:void 0}))return null;n.name||(n.name="ObservableObject.key"),n.context=this.l||this.h;var e=vn(t),u={configurable:!xi.safeDescriptors||this.p,enumerable:!1,get:e.get,set:e.set};if(i){if(!Reflect.defineProperty(this.h,t,u))return!1}else Vn(this.h,t,u);this.j.set(t,new bi(n)),this.on(t,void 0)}finally{Ot()}return!0},i.Gt=function(t,n){if(void 0===n&&(n=!1),!b(this.h,t))return!0;if(Qt(this)&&!tn(this,{object:this.l||this.h,name:t,type:"remove"}))return null;try{var i,r;jt();var e,u=nn(this),o=this.j.get(t),s=void 0;if(!o&&u&&(s=null==(e=Nn(this.h,t))?void 0:e.value),n){if(!Reflect.deleteProperty(this.h,t))return!1}else delete this.h[t];o&&(this.j.delete(t),o instanceof hi&&(s=o.jt),_t(o)),this.bt.reportChanged(),null==(i=this.un)||null==(r=i.get(t))||r.set(t in this.h),u&&u&&en(this,{type:"remove",observableKind:"object",object:this.l||this.h,debugObjectName:this.et,oldValue:s,name:t})}finally{Ot()}return!0},i.gt=function(t){return rn(this,t)},i._t=function(t){return Zt(this,t)},i.on=function(t,n){var i,r,e=nn(this);e&&e&&en(this,e?{type:Fi,observableKind:"object",debugObjectName:this.et,object:this.l||this.h,name:t,newValue:n}:null),null==(i=this.un)||null==(r=i.get(t))||r.set(!0),this.bt.reportChanged()},i.st=function(){return this.bt.reportObserved(),Pn(this.h)},i.ut=function(){return this.bt.reportObserved(),Object.keys(this.h)},n}(),ur=h("ObservableObjectAdministration",er),or=bn(0),sr=function(){var t=!1,n={};return Object.defineProperty(n,"0",{set:function(){t=!0}}),Object.create(n)[0]=1,!1===t}(),fr=0,cr=function(){};Zi=cr,tr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Zi.prototype,tr):void 0!==Zi.prototype.__proto__?Zi.prototype.__proto__=tr:Zi.prototype=tr;var ar=function(t,n,i){function r(n,i,r,e){var u;return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),u=t.call(this)||this,xn((function(){var t=new Wi(r,i,e,!0);t.l=j(u),a(j(u),Wn,t),n&&n.length&&u.spliceWithArray(0,0,n),sr&&Object.defineProperty(j(u),"0",or)})),u}w(r,t);var e=r.prototype;return e.concat=function(){this[Wn].ht.reportObserved();for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return Array.prototype.concat.apply(this.slice(),n.map((function(t){return an(t)?t.slice():t})))},e[i]=function(){var t=this,n=0;return An({next:function(){return n<t.length?{value:t[n++],done:!1}:{done:!0,value:void 0}}})},y(r,[{key:"length",get:function(){return this[Wn].Ht()},set:function(t){this[Wn].Xt(t)}},{key:n,get:function(){return"Array"}}]),r}(cr,Symbol.toStringTag,Symbol.iterator);Object.entries(qi).forEach((function(t){var n=t[0];"concat"!==n&&c(ar.prototype,n,t[1])})),yn(1e3);var hr=Rn.toString;["Symbol","Map","Set"].forEach((function(i){void 0===n()[i]&&t("MobX requires global '"+i+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:St,extras:{getDebugName:On},$mobx:Wn}),exports.$mobx=Wn,exports.FlowCancellationError=Pt,exports.ObservableMap=Ji,exports.ObservableSet=nr,exports.Reaction=_i,exports._allowStateChanges=et,exports._allowStateChangesInsideComputed=Et,exports._allowStateReadsEnd=bt,exports._allowStateReadsStart=dt,exports._autoAction=Ri,exports._endAction=rt,exports._getAdministration=jn,exports._getGlobalState=function(){return xi},exports._interceptReads=function(t,n,i){var r;return Yi(t)||an(t)||vi(t)?r=jn(t):ln(t)&&(r=jn(t,n)),r.dehancer="function"==typeof n?n:i,function(){r.dehancer=void 0}},exports._isComputingDerivation=function(){return null!==xi.trackingDerivation},exports._resetGlobalState=function(){var t=new wi;for(var n in t)-1===mi.indexOf(n)&&(xi[n]=t[n]);xi.allowStateChanges=!xi.enforceActions},exports._startAction=it,exports.action=Vi,exports.autorun=Vt,exports.comparer=Hn,exports.computed=ei,exports.configure=function(i){!0===i.isolateGlobalState&&function(){if((xi.pendingReactions.length||xi.inBatch||xi.isRunningReactions)&&t(36),Oi=!0,ji){var i=n();0==--i.__mobxInstanceCount&&(i.__mobxGlobals=void 0),xi=new wi}}();var r,e,u=i.useProxies,o=i.enforceActions;if(void 0!==u&&(xi.useProxies="always"===u||"never"!==u&&"undefined"!=typeof Proxy),"ifavailable"===u&&(xi.verifyProxies=!0),void 0!==o){var s="always"===o?"always":"observed"===o;xi.enforceActions=s,xi.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in i&&(xi[t]=!!i[t])})),xi.allowStateReads=!xi.observableRequiresReaction,i.reactionScheduler&&(r=i.reactionScheduler,e=gi,gi=function(t){return r((function(){return e(t)}))})},exports.createAtom=S,exports.defineProperty=function(n,i,r){if(ln(n))return n[Wn].v(i,r);t(39)},exports.entries=function(n){return ln(n)?Ht(n).map((function(t){return[t,n[t]]})):Yi(n)?Ht(n).map((function(t){return[t,n.get(t)]})):ir(n)?Array.from(n.entries()):an(n)?n.map((function(t,n){return[n,t]})):void t(7)},exports.extendObservable=Ct,exports.flow=Ii,exports.flowResult=function(t){return t},exports.get=function(n,i){if(Xt(n,i))return ln(n)?n[Wn].lt(i):Yi(n)?n.get(i):an(n)?n[i]:void t(11)},exports.getAtom=wn,exports.getDebugName=On,exports.getDependencyTree=function(t,n){return It(wn(t,n))},exports.getObserverTree=function(t,n){return Kt(wn(t,n))},exports.has=Xt,exports.intercept=function(t,n,i){return e(i)?function(t,n,i){return jn(t,n)._t(i)}(t,n,i):function(t,n){return jn(t)._t(n)}(t,n)},exports.isAction=Nt,exports.isBoxedObservable=vi,exports.isComputed=function(t){return Wt(t)},exports.isComputedProp=function(t,n){return Wt(t,n)},exports.isFlow=Bt,exports.isFlowCancellationError=function(t){return t instanceof Pt},exports.isObservable=Gt,exports.isObservableArray=an,exports.isObservableMap=Yi,exports.isObservableObject=ln,exports.isObservableProp=function(t,n){return qt(t,n)},exports.isObservableSet=ir,exports.keys=Ht,exports.makeAutoObservable=function(t,n,i){return s(t)?Ct(t,t,n,i):(xn((function(){var r=hn(t,i)[Wn];if(!t[Pi]){var e=Object.getPrototypeOf(t),u=new Set([].concat(Pn(t),Pn(e)));u.delete("constructor"),u.delete(Wn),c(e,Pi,u)}t[Pi].forEach((function(t){return r.o(t,!n||!(t in n)||n[t])}))})),t)},exports.makeObservable=function(t,n,i){return xn((function(){var r=hn(t,i)[Wn];null!=n||(n=function(t){return b(t,Bn)||c(t,Bn,m({},t[Bn])),t[Bn]}(t)),Pn(n).forEach((function(t){return r.o(t,n[t])}))})),t},exports.observable=ni,exports.observe=function(t,n,i,r){return e(i)?function(t,n,i,r){return jn(t,n).gt(i,r)}(t,n,i,r):function(t,n,i){return jn(t).gt(n,i)}(t,n,i)},exports.onBecomeObserved=Tt,exports.onBecomeUnobserved=kt,exports.onReactionError=function(t){return xi.globalReactionErrorHandlers.push(t),function(){var n=xi.globalReactionErrorHandlers.indexOf(t);n>=0&&xi.globalReactionErrorHandlers.splice(n,1)}},exports.override=Xn,exports.ownKeys=Ut,exports.reaction=function(t,n,i){function r(){if(p=!1,!m.nt){var n=!1,r=a;m.track((function(){var i=et(!1,(function(){return t(m)}));n=b||!y(a,i),a=i})),(b&&i.fireImmediately||!b&&n)&&v(a,r,m),b=!1}}var e,u,o,s;void 0===i&&(i=kn);var f,c,a,h=null!=(e=i.name)?e:"Reaction",v=Vi(h,i.onError?(f=i.onError,c=n,function(){try{return c.apply(this,arguments)}catch(t){f.call(this,t)}}):n),l=!i.scheduler&&!i.delay,d=Rt(i),b=!0,p=!1,y=i.compareStructural?Hn.structural:i.equals||Hn.default,m=new _i(h,(function(){b||l?r():p||(p=!0,d(r))}),i.onError,i.requiresObservable);return null!=(u=i)&&null!=(o=u.signal)&&o.aborted||m.it(),m.rt(null==(s=i)?void 0:s.signal)},exports.remove=function(n,i){ln(n)?n[Wn].Gt(i):Yi(n)||ir(n)?n.delete(i):an(n)?("number"!=typeof i&&(i=parseInt(i,10)),n.splice(i,1)):t(9)},exports.runInAction=Et,exports.set=function n(i,r,e){if(2!==arguments.length||ir(i))ln(i)?i[Wn].dt(r,e):Yi(i)?i.set(r,e):ir(i)?i.add(r):an(i)?("number"!=typeof r&&(r=parseInt(r,10)),r<0&&t("Invalid index: '"+r+"'"),jt(),r>=i.length&&(i.length=r+1),i[r]=e,Ot()):t(8);else{jt();var u=r;try{for(var o in u)n(i,o,u[o])}finally{Ot()}}},exports.spy=St,exports.toJS=function(t){return function t(n,i){if(null==n||"object"!=typeof n||n instanceof Date||!Gt(n))return n;if(vi(n)||pi(n))return t(n.get(),i);if(i.has(n))return i.get(n);if(an(n)){var r=Ft(i,n,new Array(n.length));return n.forEach((function(n,e){r[e]=t(n,i)})),r}if(ir(n)){var e=Ft(i,n,new Set);return n.forEach((function(n){e.add(t(n,i))})),e}if(Yi(n)){var u=Ft(i,n,new Map);return n.forEach((function(n,r){u.set(r,t(n,i))})),u}var o=Ft(i,n,{});return Ut(n).forEach((function(r){Rn.propertyIsEnumerable.call(n,r)&&(o[r]=t(n[r],i))})),o}(t,new Map)},exports.trace=function(){},exports.transaction=zt,exports.untracked=ht,exports.values=function(n){return ln(n)?Ht(n).map((function(t){return n[t]})):Yi(n)?Ht(n).map((function(t){return n.get(t)})):ir(n)?Array.from(n.values()):an(n)?n.slice():void t(6)},exports.when=function(t,n,i){return 1===arguments.length||n&&"object"==typeof n?Jt(t,n):$t(t,n,i||{})};
function t(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];throw new Error("number"==typeof t?"[MobX] minified error nr: "+t+(i.length?" "+i.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+t)}function n(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:Nn}function i(){In||t("Proxy not available")}function r(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function e(t){return"function"==typeof t}function u(t){switch(typeof t){case"string":case"symbol":case"number":return!0}return!1}function o(t){return null!==t&&"object"==typeof t}function s(t){if(!o(t))return!1;var n=Object.getPrototypeOf(t);if(null==n)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i.toString()===Kn}function f(t){var n=null==t?void 0:t.constructor;return!!n&&("GeneratorFunction"===n.name||"GeneratorFunction"===n.displayName)}function c(t,n,i){kn(t,n,{enumerable:!1,writable:!0,configurable:!0,value:i})}function a(t,n,i){kn(t,n,{enumerable:!1,writable:!1,configurable:!0,value:i})}function h(t,n){var i="isMobX"+t;return n.prototype[i]=!0,function(t){return o(t)&&!0===t[i]}}function v(t){return t instanceof Map}function l(t){return t instanceof Set}function d(t){return null===t?null:"object"==typeof t?""+t:t}function b(t,n){return Tn.hasOwnProperty.call(t,n)}function p(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,"symbol"==typeof(e=function(t){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key))?e:String(e),r)}var e}function y(t,n,i){return n&&p(t.prototype,n),i&&p(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function w(t,n){var i,r;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,i=t,r=n,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t})(i,r)}function j(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function x(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t){if(t){if("string"==typeof t)return O(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(t,void 0):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(t){return Object.assign((function(n,i){if(A(i))return t.t(n,i);_(n,i,t)}),t)}function _(t,n,i){b(t,qn)||c(t,qn,m({},t[qn])),function(t){return"override"===t.i}(i)||(t[qn][n]=i)}function A(t){return"object"==typeof t&&"string"==typeof t.kind}function S(t,n,i){void 0===n&&(n=Pn),void 0===i&&(i=Pn);var r=new Hn(t);return n!==Pn&&Lt(r,n),i!==Pn&&Ct(r,i),r}function M(t,n,i){return Ut(t)?t:Array.isArray(t)?ri.array(t,{name:i}):s(t)?ri.object(t,void 0,{name:i}):v(t)?ri.map(t,{name:i}):l(t)?ri.set(t,{name:i}):"function"!=typeof t||Rt(t)||qt(t)?t:f(t)?Pi(t):Ti(i,t)}function E(t){return t}function N(t,n){return{i:t,u:n,o:V,s:R,t:k}}function V(t,n,i,r){var e;if(null!=(e=this.u)&&e.bound)return null===this.s(t,n,i,!1)?0:1;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(Rt(i.value))return 1;var u=T(t,this,n,i,!1);return kn(r,n,u),2}function R(t,n,i,r){var e=T(t,this,n,i);return t.v(n,e,r)}function k(n,i){var r=i.kind,e=i.name,u=i.addInitializer,o=this;if("field"!=r){var s,f,c,a,h,v;if("method"==r)return Rt(n)||(f=n,n=tt(null!=(c=null==(a=o.u)?void 0:a.name)?c:e.toString(),f,null!=(h=null==(v=o.u)?void 0:v.autoAction)&&h)),null!=(s=this.u)&&s.bound&&u((function(){var t=this[e].bind(this);t.isMobxAction=!0,this[e]=t})),n;t("Cannot apply '"+o.i+"' to '"+String(e)+"' (kind: "+r+"):\n'"+o.i+"' can only be used on properties with a function value.")}else u((function(){_(this,e,o)}))}function T(t,n,i,r,e){var u,o,s,f,c,a,h;void 0===e&&(e=_i.safeDescriptors);var v,l=r.value;return null!=(u=n.u)&&u.bound&&(l=l.bind(null!=(v=t.l)?v:t.h)),{value:tt(null!=(o=null==(s=n.u)?void 0:s.name)?o:i.toString(),l,null!=(f=null==(c=n.u)?void 0:c.autoAction)&&f,null!=(a=n.u)&&a.bound?null!=(h=t.l)?h:t.h:void 0),configurable:!e||t.p,enumerable:!1,writable:!e}}function L(t,n){return{i:t,u:n,o:C,s:I,t:K}}function C(t,n,i,r){var e;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(null!=(e=this.u)&&e.bound&&(!b(t.h,n)||!qt(t.h[n]))&&null===this.s(t,n,i,!1))return 0;if(qt(i.value))return 1;var u=P(t,0,0,i,!1,!1);return kn(r,n,u),2}function I(t,n,i,r){var e,u=P(t,0,0,i,null==(e=this.u)?void 0:e.bound);return t.v(n,u,r)}function K(t,n){var i,r=n.name,e=n.addInitializer;return qt(t)||(t=Pi(t)),null!=(i=this.u)&&i.bound&&e((function(){var t=this[r].bind(this);t.isMobXFlow=!0,this[r]=t})),t}function P(t,n,i,r,e,u){void 0===u&&(u=_i.safeDescriptors);var o,s=r.value;return qt(s)||(s=Pi(s)),e&&((s=s.bind(null!=(o=t.l)?o:t.h)).isMobXFlow=!0),{value:s,configurable:!u||t.p,enumerable:!1,writable:!u}}function B(t,n){return{i:t,u:n,o:D,s:W,t:q}}function D(t,n,i){return null===this.s(t,n,i,!1)?0:1}function W(t,n,i,r){return t.m(n,m({},this.u,{get:i.get,set:i.set}),r)}function q(t,n){var i=this,r=n.name;return(0,n.addInitializer)((function(){var n=ln(this)[Gn],e=m({},i.u,{get:t,context:this});e.name||(e.name="ObservableObject."+r.toString()),n.j.set(r,new bi(e))})),function(){return this[Gn].O(r)}}function G(t,n){return{i:t,u:n,o:H,s:U,t:X}}function H(t,n,i){return null===this.s(t,n,i,!1)?0:1}function U(t,n,i,r){var e,u;return t.g(n,i.value,null!=(e=null==(u=this.u)?void 0:u.enhancer)?e:M,r)}function X(t,n){function i(t,n){var i,e,s=ln(t)[Gn],f=new li(n,null!=(i=null==(e=r.u)?void 0:e.enhancer)?i:M,"ObservableObject."+u.toString(),!1);s.j.set(u,f),o.add(t)}var r=this,e=n.kind,u=n.name,o=new WeakSet;if("accessor"==e)return{get:function(){return o.has(this)||i(this,t.get.call(this)),this[Gn].O(u)},set:function(t){return o.has(this)||i(this,t),this[Gn]._(u,t)},init:function(t){return o.has(this)||i(this,t),t}}}function F(t){return{i:"true",u:t,o:z,s:$,t:J}}function z(t,n,i,r){var e,u,o,s;if(i.get)return oi.o(t,n,i,r);if(i.set){var c=tt(n.toString(),i.set);return r===t.h?null===t.v(n,{configurable:!_i.safeDescriptors||t.p,set:c})?0:2:(kn(r,n,{configurable:!0,set:c}),2)}if(r!==t.h&&"function"==typeof i.value)return f(i.value)?(null!=(s=this.u)&&s.autoBind?Pi.bound:Pi).o(t,n,i,r):(null!=(o=this.u)&&o.autoBind?Ti.bound:Ti).o(t,n,i,r);var a,h=!1===(null==(e=this.u)?void 0:e.deep)?ri.ref:ri;return"function"==typeof i.value&&null!=(u=this.u)&&u.autoBind&&(i.value=i.value.bind(null!=(a=t.l)?a:t.h)),h.o(t,n,i,r)}function $(t,n,i,r){var e,u,o;return i.get?oi.s(t,n,i,r):i.set?t.v(n,{configurable:!_i.safeDescriptors||t.p,set:tt(n.toString(),i.set)},r):("function"==typeof i.value&&null!=(e=this.u)&&e.autoBind&&(i.value=i.value.bind(null!=(o=t.l)?o:t.h)),(!1===(null==(u=this.u)?void 0:u.deep)?ri.ref:ri).s(t,n,i,r))}function J(){t("'"+this.i+"' cannot be used as a decorator")}function Y(t){return t||$n}function Q(t){return!0===t.deep?M:!1===t.deep?E:(n=t.defaultDecorator)&&null!=(i=null==(r=n.u)?void 0:r.enhancer)?i:M;var n,i,r}function Z(t,n,i){return A(n)?Jn.t(t,n):u(n)?void _(t,n,Jn):Ut(t)?t:s(t)?ri.object(t,n,i):Array.isArray(t)?ri.array(t,n):v(t)?ri.map(t,n):l(t)?ri.set(t,n):"object"==typeof t&&null!==t?t:ri.box(t,n)}function tt(t,n,i,r){function e(){return nt(0,i,n,r||this,arguments)}return void 0===i&&(i=!1),e.isMobxAction=!0,e.toString=function(){return n.toString()},ai&&(hi.value=t,kn(e,"name",hi)),e}function nt(t,n,i,r,e){var u=it(0,n);try{return i.apply(r,e)}catch(t){throw u.A=t,t}finally{rt(u)}}function it(t,n){var i=_i.trackingDerivation,r=!n||!i;xt();var e=_i.allowStateChanges;r&&(dt(),e=ut(!0));var u={S:r,M:i,N:e,V:pt(!0),R:!1,k:0,T:ci++,L:fi};return fi=u.T,u}function rt(n){fi!==n.T&&t(30),fi=n.L,void 0!==n.A&&(_i.suppressReactionErrors=!0),ot(n.N),yt(n.V),gt(),n.S&&bt(n.M),_i.suppressReactionErrors=!1}function et(t,n){var i=ut(t);try{return n()}finally{ot(i)}}function ut(t){var n=_i.allowStateChanges;return _i.allowStateChanges=t,n}function ot(t){_i.allowStateChanges=t}function st(t,n){return!!(t&n)}function ft(t,n,i){return i?t|=n:t&=~n,t}function ct(t){return t instanceof wi}function at(t){switch(t.C){case pi.I:return!1;case pi.K:case pi.P:return!0;case pi.B:for(var n=pt(!0),i=dt(),r=t.D,e=r.length,u=0;u<e;u++){var o=r[u];if(mi(o)){if(_i.disableErrorBoundaries)o.get();else try{o.get()}catch(t){return bt(i),yt(n),!0}if(t.C===pi.P)return bt(i),yt(n),!0}}return mt(t),bt(i),yt(n),!1}}function ht(t,n,i){var r=pt(!0);mt(t),t.W=new Array(0===t.q?100:t.D.length),t.G=0,t.q=++_i.runId;var e,u=_i.trackingDerivation;if(_i.trackingDerivation=t,_i.inBatch++,!0===_i.disableErrorBoundaries)e=n.call(i);else try{e=n.call(i)}catch(t){e=new wi(t)}return _i.inBatch--,_i.trackingDerivation=u,function(t){for(var n=t.D,i=t.D=t.W,r=pi.I,e=0,u=t.G,o=0;o<u;o++){var s=i[o];0===s.H&&(s.H=1,e!==o&&(i[e]=s),e++),s.C>r&&(r=s.C)}for(i.length=e,t.W=null,u=n.length;u--;){var f=n[u];0===f.H&&jt(f,t),f.H=0}for(;e--;){var c=i[e];1===c.H&&(c.H=0,wt(c,t))}r!==pi.I&&(t.C=r,t.U())}(t),yt(r),e}function vt(t){var n=t.D;t.D=[];for(var i=n.length;i--;)jt(n[i],t);t.C=pi.K}function lt(t){var n=dt();try{return t()}finally{bt(n)}}function dt(){var t=_i.trackingDerivation;return _i.trackingDerivation=null,t}function bt(t){_i.trackingDerivation=t}function pt(t){var n=_i.allowStateReads;return _i.allowStateReads=t,n}function yt(t){_i.allowStateReads=t}function mt(t){if(t.C!==pi.I){t.C=pi.I;for(var n=t.D,i=n.length;i--;)n[i].X=pi.I}}function wt(t,n){t.F.add(n),t.X>n.C&&(t.X=n.C)}function jt(t,n){t.F.delete(n),0===t.F.size&&Ot(t)}function Ot(t){!1===t.isPendingUnobservation&&(t.isPendingUnobservation=!0,_i.pendingUnobservations.push(t))}function xt(){_i.inBatch++}function gt(){if(0==--_i.inBatch){St();for(var t=_i.pendingUnobservations,n=0;n<t.length;n++){var i=t[n];i.isPendingUnobservation=!1,0===i.F.size&&(i.isBeingObserved&&(i.isBeingObserved=!1,i.onBUO()),i instanceof bi&&i.$())}_i.pendingUnobservations=[]}}function _t(t){var n=_i.trackingDerivation;return null!==n?(n.q!==t.J&&(t.J=n.q,n.W[n.G++]=t,!t.isBeingObserved&&_i.trackingContext&&(t.isBeingObserved=!0,t.onBO())),t.isBeingObserved):(0===t.F.size&&_i.inBatch>0&&Ot(t),!1)}function At(t){t.X!==pi.P&&(t.X=pi.P,t.F.forEach((function(t){t.C===pi.I&&t.U(),t.C=pi.P})))}function St(){_i.inBatch>0||_i.isRunningReactions||Si(Mt)}function Mt(){_i.isRunningReactions=!0;for(var t=_i.pendingReactions,n=0;t.length>0;){100==++n&&(console.error("[mobx] cycle in reaction: "+t[0]),t.splice(0));for(var i=t.splice(0),r=0,e=i.length;r<e;r++)i[r].Y()}_i.isRunningReactions=!1}function Et(){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function Nt(t){return function(n,i){return e(n)?tt(n.name||"<unnamed action>",n,t):e(i)?tt(n,i,t):A(i)?(t?Vi:Ei).t(n,i):u(i)?_(n,i,t?Vi:Ei):u(n)?g(N(t?"autoAction":"action",{name:n,autoAction:t})):void 0}}function Vt(t){return nt(0,!1,t,this,void 0)}function Rt(t){return e(t)&&!0===t.isMobxAction}function kt(t,n){function i(){t(f)}var r,e,u,o,s;void 0===n&&(n=Cn);var f,c=null!=(r=null==(e=n)?void 0:e.name)?r:"Autorun";if(n.scheduler||n.delay){var a=Tt(n),h=!1;f=new Ai(c,(function(){h||(h=!0,a((function(){h=!1,f.Z||f.track(i)})))}),n.onError,n.requiresObservable)}else f=new Ai(c,(function(){this.track(i)}),n.onError,n.requiresObservable);return null!=(u=n)&&null!=(o=u.signal)&&o.aborted||f.tt(),f.nt(null==(s=n)?void 0:s.signal)}function Tt(t){return t.scheduler?t.scheduler:t.delay?function(n){return setTimeout(n,t.delay)}:Li}function Lt(t,n,i){return It("onBO",t,n,i)}function Ct(t,n,i){return It("onBUO",t,n,i)}function It(t,n,i,r){var u="function"==typeof r?On(n,i):On(n),o=e(r)?r:i,s=t+"L";return u[s]?u[s].add(o):u[s]=new Set([o]),function(){var t=u[s];t&&(t.delete(o),0===t.size&&delete u[s])}}function Kt(t,n,i,r){var e=Wn(n);return _n((function(){var n=ln(t,r)[Gn];Dn(e).forEach((function(t){n.s(t,e[t],!i||!(t in i)||i[t])}))})),t}function Pt(t){var n,i={name:t.it};return t.D&&t.D.length>0&&(i.dependencies=(n=t.D,Array.from(new Set(n))).map(Pt)),i}function Bt(t){var n={name:t.it};return function(t){return t.F&&t.F.size>0}(t)&&(n.observers=Array.from(function(t){return t.F}(t)).map(Bt)),n}function Dt(){this.message="FLOW_CANCELLED"}function Wt(t){e(t.cancel)&&t.cancel()}function qt(t){return!0===(null==t?void 0:t.isMobXFlow)}function Gt(t,n){if(void 0===n)return mi(t);if(!1===bn(t))return!1;if(!t[Gn].j.has(n))return!1;var i=On(t,n);return mi(i)}function Ht(t,n){return!!t&&(void 0!==n?!!bn(t)&&t[Gn].j.has(n):bn(t)||!!t[Gn]||Un(t)||Mi(t)||mi(t))}function Ut(t){return Ht(t)}function Xt(n){return bn(n)?n[Gn].rt():Zi(n)||er(n)?Array.from(n.keys()):vn(n)?n.map((function(t,n){return n})):void t(5)}function Ft(n,i){return bn(n)?n[Gn].et(i):Zi(n)||er(n)?n.has(i):vn(n)?i>=0&&i<n.length:void t(10)}function zt(n){if(bn(n))return n[Gn].ut();t(38)}function $t(t,n,i){return t.set(n,i),i}function Jt(t,n){void 0===n&&(n=void 0),xt();try{return t.apply(n)}finally{gt()}}function Yt(t,n,i){var r;if("number"==typeof i.timeout){var e=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!o[Gn].Z){if(o(),!i.onError)throw e;i.onError(e)}}),i.timeout)}i.name="When";var u=tt("When-effect",n),o=kt((function(n){et(!1,t)&&(n.dispose(),r&&clearTimeout(r),u())}),i);return o}function Qt(t,n){var i,r,e;if(null!=n&&null!=(i=n.signal)&&i.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var u=new Promise((function(i,u){var o,s=Yt(t,i,m({},n,{onError:u}));r=function(){s(),u(new Error("WHEN_CANCELLED"))},e=function(){s(),u(new Error("WHEN_ABORTED"))},null==n||null==(o=n.signal)||null==o.addEventListener||o.addEventListener("abort",e)})).finally((function(){var t;return null==n||null==(t=n.signal)||null==t.removeEventListener?void 0:t.removeEventListener("abort",e)}));return u.cancel=r,u}function Zt(t){return t[Gn]}function tn(t){return void 0!==t.ot&&t.ot.length>0}function nn(t,n){var i=t.ot||(t.ot=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function rn(n,i){var r=dt();try{for(var e=[].concat(n.ot||[]),u=0,o=e.length;u<o&&((i=e[u](i))&&!i.type&&t(14),i);u++);return i}finally{bt(r)}}function en(t){return void 0!==t.st&&t.st.length>0}function un(t,n){var i=t.st||(t.st=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function on(t,n){var i=dt(),r=t.st;if(r){for(var e=0,u=(r=r.slice()).length;e<u;e++)r[e](n);bt(i)}}function sn(t,n,r,e){return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),i(),_n((function(){var i=new Gi(r,n,e,!1);a(i.j,Gn,i);var u=new Proxy(i.j,qi);return i.l=u,t&&t.length&&i.ft(0,0,t),u}))}function fn(t,n){"function"==typeof Array.prototype[t]&&(Hi[t]=n(t))}function cn(t){return function(){var n=this[Gn];n.ct.reportObserved();var i=n.ht(n.j);return i[t].apply(i,arguments)}}function an(t){return function(n,i){var r=this,e=this[Gn];return e.ct.reportObserved(),e.ht(e.j)[t]((function(t,e){return n.call(i,t,e,r)}))}}function hn(t){return function(){var n=this,i=this[Gn];i.ct.reportObserved();var r=i.ht(i.j),e=arguments[0];return arguments[0]=function(t,i,r){return e(t,i,r,n)},r[t].apply(r,arguments)}}function vn(t){return o(t)&&Fi(t[Gn])}function ln(t,n){var i;if(b(t,Gn))return t;var r=null!=(i=null==n?void 0:n.name)?i:"ObservableObject",e=new or(t,new Map,String(r),function(t){var n;return t?null!=(n=t.defaultDecorator)?n:F(t):void 0}(n));return c(t,Gn,e),t}function dn(t){return ur[t]||(ur[t]={get:function(){return this[Gn].O(t)},set:function(n){return this[Gn]._(t,n)}})}function bn(t){return!!o(t)&&sr(t[Gn])}function pn(t,n,i){var r;null==(r=t.h[qn])||delete r[i]}function yn(t){return{enumerable:!1,configurable:!0,get:function(){return this[Gn].vt(t)},set:function(n){this[Gn].lt(t,n)}}}function mn(t){kn(vr.prototype,""+t,yn(t))}function wn(t){if(t>ar){for(var n=ar;n<t+100;n++)mn(n);ar=t}}function jn(t,n,i){return new vr(t,n,i)}function On(n,i){if("object"==typeof n&&null!==n){if(vn(n))return void 0!==i&&t(23),n[Gn].ct;if(er(n))return n.ct;if(Zi(n)){if(void 0===i)return n.dt;var r=n.bt.get(i)||n.pt.get(i);return r||t(25,i,gn(n)),r}if(bn(n)){if(!i)return t(26);var u=n[Gn].j.get(i);return u||t(27,i,gn(n)),u}if(Un(n)||mi(n)||Mi(n))return n}else if(e(n)&&Mi(n[Gn]))return n[Gn];t(28)}function xn(n,i){return n||t(29),void 0!==i?xn(On(n,i)):Un(n)||mi(n)||Mi(n)||Zi(n)||er(n)?n:n[Gn]?n[Gn]:void t(24,n)}function gn(t,n){var i;if(void 0!==n)i=On(t,n);else{if(Rt(t))return t.name;i=bn(t)||Zi(t)||er(t)?xn(t):On(t)}return i.it}function _n(t){var n=dt(),i=ut(!0);xt();try{return t()}finally{gt(),ot(i),bt(n)}}function An(t,n,i){return void 0===i&&(i=-1),function t(n,i,r,u,o){if(n===i)return 0!==n||1/n==1/i;if(null==n||null==i)return!1;if(n!=n)return i!=i;var s=typeof n;if("function"!==s&&"object"!==s&&"object"!=typeof i)return!1;var f=lr.call(n);if(f!==lr.call(i))return!1;switch(f){case"[object RegExp]":case"[object String]":return""+n==""+i;case"[object Number]":return+n!=+n?+i!=+i:0==+n?1/+n==1/i:+n==+i;case"[object Date]":case"[object Boolean]":return+n==+i;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(n)===Symbol.valueOf.call(i);case"[object Map]":case"[object Set]":r>=0&&r++}n=Sn(n),i=Sn(i);var c="[object Array]"===f;if(!c){if("object"!=typeof n||"object"!=typeof i)return!1;var a=n.constructor,h=i.constructor;if(a!==h&&!(e(a)&&a instanceof a&&e(h)&&h instanceof h)&&"constructor"in n&&"constructor"in i)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var v=(u=u||[]).length;v--;)if(u[v]===n)return o[v]===i;if(u.push(n),o.push(i),c){if((v=n.length)!==i.length)return!1;for(;v--;)if(!t(n[v],i[v],r-1,u,o))return!1}else{var l,d=Object.keys(n);if(v=d.length,Object.keys(i).length!==v)return!1;for(;v--;)if(!b(i,l=d[v])||!t(n[l],i[l],r-1,u,o))return!1}return u.pop(),o.pop(),!0}(t,n,i)}function Sn(t){return vn(t)?t.slice():v(t)||Zi(t)||l(t)||er(t)?Array.from(t.entries()):t}function Mn(t){return t[Symbol.iterator]=En,t}function En(){return this}Object.defineProperty(exports,"__esModule",{value:!0});var Nn={},Vn=Object.assign,Rn=Object.getOwnPropertyDescriptor,kn=Object.defineProperty,Tn=Object.prototype,Ln=[];Object.freeze(Ln);var Cn={};Object.freeze(Cn);var In="undefined"!=typeof Proxy,Kn=Object.toString(),Pn=function(){},Bn=void 0!==Object.getOwnPropertySymbols,Dn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Bn?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Wn=Object.getOwnPropertyDescriptors||function(t){var n={};return Dn(t).forEach((function(i){n[i]=Rn(t,i)})),n},qn=Symbol("mobx-stored-annotations"),Gn=Symbol("mobx administration"),Hn=function(){function t(t){void 0===t&&(t="Atom"),this.it=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.F=new Set,this.H=0,this.J=0,this.X=pi.K,this.onBOL=void 0,this.onBUOL=void 0,this.it=t}var n=t.prototype;return n.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},n.reportObserved=function(){return _t(this)},n.reportChanged=function(){xt(),At(this),gt()},n.toString=function(){return this.it},t}(),Un=h("Atom",Hn),Xn={identity:function(t,n){return t===n},structural:function(t,n){return An(t,n)},default:function(t,n){return Object.is?Object.is(t,n):t===n?0!==t||1/t==1/n:t!=t&&n!=n},shallow:function(t,n){return An(t,n,1)}},Fn=g({i:"override",o:function(){return 0},s:function(){t("'"+this.i+"' can only be used with 'makeObservable'")},t:function(){console.warn("'"+this.i+"' cannot be used with decorators - this is a no-op")}}),zn=F(),$n={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze($n);var Jn=G("observable"),Yn=G("observable.ref",{enhancer:E}),Qn=G("observable.shallow",{enhancer:function(t,n,i){return null==t||bn(t)||vn(t)||Zi(t)||er(t)?t:Array.isArray(t)?ri.array(t,{name:i,deep:!1}):s(t)?ri.object(t,void 0,{name:i,deep:!1}):v(t)?ri.map(t,{name:i,deep:!1}):l(t)?ri.set(t,{name:i,deep:!1}):void 0}}),Zn=G("observable.struct",{enhancer:function(t,n){return An(t,n)?n:t}}),ti=g(Jn);Vn(Z,ti);var ni,ii,ri=Vn(Z,{box:function(t,n){var i=Y(n);return new li(t,Q(i),i.name,!0,i.equals)},array:function(t,n){var i=Y(n);return(!1===_i.useProxies||!1===i.proxy?jn:sn)(t,Q(i),i.name)},map:function(t,n){var i=Y(n);return new Qi(t,Q(i),i.name)},set:function(t,n){var i=Y(n);return new rr(t,Q(i),i.name)},object:function(t,n,r){return _n((function(){return Kt(!1===_i.useProxies||!1===(null==r?void 0:r.proxy)?ln({},r):function(t,n){var r,e;return i(),null!=(e=(r=(t=ln(t,n))[Gn]).l)?e:r.l=new Proxy(t,Bi)}({},r),t,n)}))},ref:g(Yn),shallow:g(Qn),deep:ti,struct:g(Zn)}),ei=B("computed"),ui=B("computed.struct",{equals:Xn.structural}),oi=function(t,n){if(A(n))return ei.t(t,n);if(u(n))return _(t,n,ei);if(s(t))return g(B("computed",t));var i=s(n)?n:{};return i.get=t,i.name||(i.name=t.name||""),new bi(i)};Object.assign(oi,ei),oi.struct=g(ui);var si,fi=0,ci=1,ai=null!=(ni=null==(ii=Rn((function(){}),"name"))?void 0:ii.configurable)&&ni,hi={value:"action",configurable:!0,writable:!1,enumerable:!1};si=Symbol.toPrimitive;var vi,li=function(t){function n(n,i,r,e,u){var o;return void 0===r&&(r="ObservableValue"),void 0===u&&(u=Xn.default),(o=t.call(this,r)||this).enhancer=void 0,o.it=void 0,o.equals=void 0,o.yt=!1,o.ot=void 0,o.st=void 0,o.wt=void 0,o.dehancer=void 0,o.enhancer=i,o.it=r,o.equals=u,o.wt=i(n,void 0,r),o}w(n,t);var i=n.prototype;return i.dehanceValue=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.set=function(t){(t=this.jt(t))!==_i.UNCHANGED&&this.Ot(t)},i.jt=function(t){if(tn(this)){var n=rn(this,{object:this,type:Wi,newValue:t});if(!n)return _i.UNCHANGED;t=n.newValue}return t=this.enhancer(t,this.wt,this.it),this.equals(this.wt,t)?_i.UNCHANGED:t},i.Ot=function(t){var n=this.wt;this.wt=t,this.reportChanged(),en(this)&&on(this,{type:Wi,object:this,newValue:t,oldValue:n})},i.get=function(){return this.reportObserved(),this.dehanceValue(this.wt)},i.xt=function(t){return nn(this,t)},i.gt=function(t,n){return n&&t({observableKind:"value",debugObjectName:this.it,object:this,type:Wi,newValue:this.wt,oldValue:void 0}),un(this,t)},i.raw=function(){return this.wt},i.toJSON=function(){return this.get()},i.toString=function(){return this.it+"["+this.wt+"]"},i.valueOf=function(){return d(this.get())},i[si]=function(){return this.valueOf()},n}(Hn),di=h("ObservableValue",li);vi=Symbol.toPrimitive;var bi=function(){function n(n){this.C=pi.K,this.D=[],this.W=null,this.F=new Set,this.H=0,this.q=0,this.J=0,this.X=pi.I,this.G=0,this.wt=new wi(null),this.it=void 0,this._t=void 0,this.At=0,this.derivation=void 0,this.St=void 0,this.Mt=yi.NONE,this.Et=void 0,this.Nt=void 0,this.Vt=void 0,this.Rt=void 0,this.onBOL=void 0,this.onBUOL=void 0,n.get||t(31),this.derivation=n.get,this.it=n.name||"ComputedValue",n.set&&(this.St=tt("ComputedValue-setter",n.set)),this.Nt=n.equals||(n.compareStructural||n.struct?Xn.structural:Xn.default),this.Et=n.context,this.Vt=n.requiresReaction,this.Rt=!!n.keepAlive}var i=n.prototype;return i.U=function(){!function(t){t.X===pi.I&&(t.X=pi.B,t.F.forEach((function(t){t.C===pi.I&&(t.C=pi.B,t.U())})))}(this)},i.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},i.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},i.get=function(){if(this.isComputing&&t(32,this.it,this.derivation),0!==_i.inBatch||0!==this.F.size||this.Rt){if(_t(this),at(this)){var n=_i.trackingContext;this.Rt&&!n&&(_i.trackingContext=this),this.trackAndCompute()&&function(t){t.X!==pi.P&&(t.X=pi.P,t.F.forEach((function(n){n.C===pi.B?n.C=pi.P:n.C===pi.I&&(t.X=pi.I)})))}(this),_i.trackingContext=n}}else at(this)&&(this.kt(),xt(),this.wt=this.Tt(!1),gt());var i=this.wt;if(ct(i))throw i.cause;return i},i.set=function(n){if(this.St){this.isRunningSetter&&t(33,this.it),this.isRunningSetter=!0;try{this.St.call(this.Et,n)}finally{this.isRunningSetter=!1}}else t(34,this.it)},i.trackAndCompute=function(){var t=this.wt,n=this.C===pi.K,i=this.Tt(!0),r=n||ct(t)||ct(i)||!this.Nt(t,i);return r&&(this.wt=i),r},i.Tt=function(t){this.isComputing=!0;var n,i=ut(!1);if(t)n=ht(this,this.derivation,this.Et);else if(!0===_i.disableErrorBoundaries)n=this.derivation.call(this.Et);else try{n=this.derivation.call(this.Et)}catch(t){n=new wi(t)}return ot(i),this.isComputing=!1,n},i.$=function(){this.Rt||(vt(this),this.wt=void 0)},i.gt=function(t,n){var i=this,r=!0,e=void 0;return kt((function(){var u=i.get();if(!r||n){var o=dt();t({observableKind:"computed",debugObjectName:i.it,type:Wi,object:i,newValue:u,oldValue:e}),bt(o)}r=!1,e=u}))},i.kt=function(){},i.toString=function(){return this.it+"["+this.derivation.toString()+"]"},i.valueOf=function(){return d(this.get())},i[vi]=function(){return this.valueOf()},y(n,[{key:"isComputing",get:function(){return st(this.At,n.Lt)},set:function(t){this.At=ft(this.At,n.Lt,t)}},{key:"isRunningSetter",get:function(){return st(this.At,n.Ct)},set:function(t){this.At=ft(this.At,n.Ct,t)}},{key:"isBeingObserved",get:function(){return st(this.At,n.It)},set:function(t){this.At=ft(this.At,n.It,t)}},{key:"isPendingUnobservation",get:function(){return st(this.At,n.Kt)},set:function(t){this.At=ft(this.At,n.Kt,t)}}]),n}();bi.Lt=1,bi.Ct=2,bi.It=4,bi.Kt=8;var pi,yi,mi=h("ComputedValue",bi);!function(t){t[t.K=-1]="NOT_TRACKING_",t[t.I=0]="UP_TO_DATE_",t[t.B=1]="POSSIBLY_STALE_",t[t.P=2]="STALE_"}(pi||(pi={})),function(t){t[t.NONE=0]="NONE",t[t.LOG=1]="LOG",t[t.BREAK=2]="BREAK"}(yi||(yi={}));var wi=function(t){this.cause=void 0,this.cause=t},ji=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],Oi=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},xi=!0,gi=!1,_i=function(){var i=n();return i.__mobxInstanceCount>0&&!i.__mobxGlobals&&(xi=!1),i.__mobxGlobals&&i.__mobxGlobals.version!==(new Oi).version&&(xi=!1),xi?i.__mobxGlobals?(i.__mobxInstanceCount+=1,i.__mobxGlobals.UNCHANGED||(i.__mobxGlobals.UNCHANGED={}),i.__mobxGlobals):(i.__mobxInstanceCount=1,i.__mobxGlobals=new Oi):(setTimeout((function(){gi||t(35)}),1),new Oi)}(),Ai=function(){function t(t,n,i,r){void 0===t&&(t="Reaction"),this.it=void 0,this.Pt=void 0,this.Bt=void 0,this.Dt=void 0,this.D=[],this.W=[],this.C=pi.K,this.H=0,this.q=0,this.G=0,this.Z=!1,this.Wt=!1,this.qt=!1,this.Gt=!1,this.Mt=yi.NONE,this.it=t,this.Pt=n,this.Bt=i,this.Dt=r}var n=t.prototype;return n.U=function(){this.tt()},n.tt=function(){this.Wt||(this.Wt=!0,_i.pendingReactions.push(this),St())},n.isScheduled=function(){return this.Wt},n.Y=function(){if(!this.Z){xt(),this.Wt=!1;var t=_i.trackingContext;if(_i.trackingContext=this,at(this)){this.qt=!0;try{this.Pt()}catch(t){this.Ht(t)}}_i.trackingContext=t,gt()}},n.track=function(t){if(!this.Z){xt(),this.Gt=!0;var n=_i.trackingContext;_i.trackingContext=this;var i=ht(this,t,void 0);_i.trackingContext=n,this.Gt=!1,this.qt=!1,this.Z&&vt(this),ct(i)&&this.Ht(i.cause),gt()}},n.Ht=function(t){var n=this;if(this.Bt)this.Bt(t,this);else{if(_i.disableErrorBoundaries)throw t;_i.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",t),_i.globalReactionErrorHandlers.forEach((function(i){return i(t,n)}))}},n.dispose=function(){this.Z||(this.Z=!0,this.Gt||(xt(),vt(this),gt()))},n.nt=function(t){var n=this,i=function i(){n.dispose(),null==t||null==t.removeEventListener||t.removeEventListener("abort",i)};return null==t||null==t.addEventListener||t.addEventListener("abort",i),i[Gn]=this,i},n.toString=function(){return"Reaction["+this.it+"]"},n.trace=function(){},t}(),Si=function(t){return t()},Mi=h("Reaction",Ai),Ei=N("action"),Ni=N("action.bound",{bound:!0}),Vi=N("autoAction",{autoAction:!0}),Ri=N("autoAction.bound",{autoAction:!0,bound:!0}),ki=Nt(!1);Object.assign(ki,Ei);var Ti=Nt(!0);Object.assign(Ti,Vi),ki.bound=g(Ni),Ti.bound=g(Ri);var Li=function(t){return t()},Ci=0;Dt.prototype=Object.create(Error.prototype);var Ii=L("flow"),Ki=L("flow.bound",{bound:!0}),Pi=Object.assign((function(t,n){if(A(n))return Ii.t(t,n);if(u(n))return _(t,n,Ii);var i=t,r=i.name||"<unnamed flow>",o=function(){var t,n=this,u=arguments,o=++Ci,s=ki(r+" - runid: "+o+" - init",i).apply(n,u),f=void 0,c=new Promise((function(n,i){function u(t){var n;f=void 0;try{n=ki(r+" - runid: "+o+" - yield "+h++,s.next).call(s,t)}catch(t){return i(t)}a(n)}function c(t){var n;f=void 0;try{n=ki(r+" - runid: "+o+" - yield "+h++,s.throw).call(s,t)}catch(t){return i(t)}a(n)}function a(t){if(!e(null==t?void 0:t.then))return t.done?n(t.value):(f=Promise.resolve(t.value)).then(u,c);t.then(a,i)}var h=0;t=i,u(void 0)}));return c.cancel=ki(r+" - runid: "+o+" - cancel",(function(){try{f&&Wt(f);var n=s.return(void 0),i=Promise.resolve(n.value);i.then(Pn,Pn),Wt(i),t(new Dt)}catch(n){t(n)}})),c};return o.isMobXFlow=!0,o}),Ii);Pi.bound=g(Ki);var Bi={has:function(t,n){return Zt(t).et(n)},get:function(t,n){return Zt(t).vt(n)},set:function(t,n,i){var r;return!!u(n)&&(null==(r=Zt(t).lt(n,i,!0))||r)},deleteProperty:function(t,n){var i;return!!u(n)&&(null==(i=Zt(t).Ut(n,!0))||i)},defineProperty:function(t,n,i){var r;return null==(r=Zt(t).v(n,i))||r},ownKeys:function(t){return Zt(t).ut()},preventExtensions:function(){t(13)}},Di=Symbol("mobx-keys"),Wi="update",qi={get:function(t,n){var i=t[Gn];return n===Gn?i:"length"===n?i.Xt():"string"!=typeof n||isNaN(n)?b(Hi,n)?Hi[n]:t[n]:i.vt(parseInt(n))},set:function(t,n,i){var r=t[Gn];return"length"===n&&r.Ft(i),"symbol"==typeof n||isNaN(n)?t[n]=i:r.lt(parseInt(n),i),!0},preventExtensions:function(){t(15)}},Gi=function(){function n(t,n,i,r){void 0===t&&(t="ObservableArray"),this.zt=void 0,this.$t=void 0,this.ct=void 0,this.j=[],this.ot=void 0,this.st=void 0,this.Jt=void 0,this.dehancer=void 0,this.l=void 0,this.Yt=0,this.zt=i,this.$t=r,this.ct=new Hn(t),this.Jt=function(t,i){return n(t,i,"ObservableArray[..]")}}var i=n.prototype;return i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.ht=function(t){return void 0!==this.dehancer&&t.length>0?t.map(this.dehancer):t},i.xt=function(t){return nn(this,t)},i.gt=function(t,n){return void 0===n&&(n=!1),n&&t({observableKind:"array",object:this.l,debugObjectName:this.ct.it,type:"splice",index:0,added:this.j.slice(),addedCount:this.j.length,removed:[],removedCount:0}),un(this,t)},i.Xt=function(){return this.ct.reportObserved(),this.j.length},i.Ft=function(n){("number"!=typeof n||isNaN(n)||n<0)&&t("Out of range: "+n);var i=this.j.length;if(n!==i)if(n>i){for(var r=new Array(n-i),e=0;e<n-i;e++)r[e]=void 0;this.ft(i,0,r)}else this.ft(n,i-n)},i.Zt=function(n,i){n!==this.Yt&&t(16),this.Yt+=i,this.$t&&i>0&&wn(n+i+1)},i.ft=function(t,n,i){var r=this,e=this.j.length;if(void 0===t?t=0:t>e?t=e:t<0&&(t=Math.max(0,e+t)),n=1===arguments.length?e-t:null==n?0:Math.max(0,Math.min(n,e-t)),void 0===i&&(i=Ln),tn(this)){var u=rn(this,{object:this.l,type:"splice",index:t,removedCount:n,added:i});if(!u)return Ln;n=u.removedCount,i=u.added}if(i=0===i.length?i:i.map((function(t){return r.Jt(t,void 0)})),this.$t){var o=i.length-n;this.Zt(e,o)}var s=this.tn(t,n,i);return 0===n&&0===i.length||this.nn(t,i,s),this.ht(s)},i.tn=function(t,n,i){var r;if(i.length<1e4)return(r=this.j).splice.apply(r,[t,n].concat(i));var e=this.j.slice(t,t+n),u=this.j.slice(t+n);this.j.length+=i.length-n;for(var o=0;o<i.length;o++)this.j[t+o]=i[o];for(var s=0;s<u.length;s++)this.j[t+i.length+s]=u[s];return e},i.in=function(t,n,i){var r=!this.zt&&!1,e=en(this),u=e||r?{observableKind:"array",object:this.l,type:Wi,debugObjectName:this.ct.it,index:t,newValue:n,oldValue:i}:null;this.ct.reportChanged(),e&&on(this,u)},i.nn=function(t,n,i){var r=!this.zt&&!1,e=en(this),u=e||r?{observableKind:"array",object:this.l,debugObjectName:this.ct.it,type:"splice",index:t,removed:i,added:n,removedCount:i.length,addedCount:n.length}:null;this.ct.reportChanged(),e&&on(this,u)},i.vt=function(t){if(!(this.$t&&t>=this.j.length))return this.ct.reportObserved(),this.Qt(this.j[t]);console.warn("[mobx] Out of bounds read: "+t)},i.lt=function(n,i){var r=this.j;if(this.$t&&n>r.length&&t(17,n,r.length),n<r.length){var e=r[n];if(tn(this)){var u=rn(this,{type:Wi,object:this.l,index:n,newValue:i});if(!u)return;i=u.newValue}(i=this.Jt(i,e))!==e&&(r[n]=i,this.in(n,i,e))}else{for(var o=new Array(n+1-r.length),s=0;s<o.length-1;s++)o[s]=void 0;o[o.length-1]=i,this.ft(r.length,0,o)}},n}(),Hi={clear:function(){return this.splice(0)},replace:function(t){var n=this[Gn];return n.ft(0,n.j.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var i=arguments.length,r=new Array(i>2?i-2:0),e=2;e<i;e++)r[e-2]=arguments[e];var u=this[Gn];switch(arguments.length){case 0:return[];case 1:return u.ft(t);case 2:return u.ft(t,n)}return u.ft(t,n,r)},spliceWithArray:function(t,n,i){return this[Gn].ft(t,n,i)},push:function(){for(var t=this[Gn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.ft(t.j.length,0,i),t.j.length},pop:function(){return this.splice(Math.max(this[Gn].j.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[Gn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.ft(0,0,i),t.j.length},reverse:function(){return _i.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){_i.trackingDerivation&&t(37,"sort");var n=this.slice();return n.sort.apply(n,arguments),this.replace(n),this},remove:function(t){var n=this[Gn],i=n.ht(n.j).indexOf(t);return i>-1&&(this.splice(i,1),!0)}};fn("at",cn),fn("concat",cn),fn("flat",cn),fn("includes",cn),fn("indexOf",cn),fn("join",cn),fn("lastIndexOf",cn),fn("slice",cn),fn("toString",cn),fn("toLocaleString",cn),fn("toSorted",cn),fn("toSpliced",cn),fn("with",cn),fn("every",an),fn("filter",an),fn("find",an),fn("findIndex",an),fn("findLast",an),fn("findLastIndex",an),fn("flatMap",an),fn("forEach",an),fn("map",an),fn("some",an),fn("toReversed",an),fn("reduce",hn),fn("reduceRight",hn);var Ui,Xi,Fi=h("ObservableArrayAdministration",Gi),zi={},$i="add";Ui=Symbol.iterator,Xi=Symbol.toStringTag;var Ji,Yi,Qi=function(){function n(n,i,r){var u=this;void 0===i&&(i=M),void 0===r&&(r="ObservableMap"),this.Jt=void 0,this.it=void 0,this[Gn]=zi,this.bt=void 0,this.pt=void 0,this.dt=void 0,this.ot=void 0,this.st=void 0,this.dehancer=void 0,this.Jt=i,this.it=r,e(Map)||t(18),_n((function(){u.dt=S("ObservableMap.keys()"),u.bt=new Map,u.pt=new Map,n&&u.merge(n)}))}var i=n.prototype;return i.et=function(t){return this.bt.has(t)},i.has=function(t){var n=this;if(!_i.trackingDerivation)return this.et(t);var i=this.pt.get(t);if(!i){var r=i=new li(this.et(t),E,"ObservableMap.key?",!1);this.pt.set(t,r),Ct(r,(function(){return n.pt.delete(t)}))}return i.get()},i.set=function(t,n){var i=this.et(t);if(tn(this)){var r=rn(this,{type:i?Wi:$i,object:this,newValue:n,name:t});if(!r)return this;n=r.newValue}return i?this.rn(t,n):this.en(t,n),this},i.delete=function(t){var n=this;if(tn(this)&&!rn(this,{type:"delete",object:this,name:t}))return!1;if(this.et(t)){var i=en(this),r=i?{observableKind:"map",debugObjectName:this.it,type:"delete",object:this,oldValue:this.bt.get(t).wt,name:t}:null;return Jt((function(){var i;n.dt.reportChanged(),null==(i=n.pt.get(t))||i.Ot(!1),n.bt.get(t).Ot(void 0),n.bt.delete(t)})),i&&on(this,r),!0}return!1},i.rn=function(t,n){var i=this.bt.get(t);if((n=i.jt(n))!==_i.UNCHANGED){var r=en(this),e=r?{observableKind:"map",debugObjectName:this.it,type:Wi,object:this,oldValue:i.wt,name:t,newValue:n}:null;i.Ot(n),r&&on(this,e)}},i.en=function(t,n){var i=this;Jt((function(){var r,e=new li(n,i.Jt,"ObservableMap.key",!1);i.bt.set(t,e),n=e.wt,null==(r=i.pt.get(t))||r.Ot(!0),i.dt.reportChanged()}));var r=en(this);r&&on(this,r?{observableKind:"map",debugObjectName:this.it,type:$i,object:this,name:t,newValue:n}:null)},i.get=function(t){return this.has(t)?this.Qt(this.bt.get(t).get()):this.Qt(void 0)},i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.keys=function(){return this.dt.reportObserved(),this.bt.keys()},i.values=function(){var t=this,n=this.keys();return Mn({next:function(){var i=n.next(),r=i.done;return{done:r,value:r?void 0:t.get(i.value)}}})},i.entries=function(){var t=this,n=this.keys();return Mn({next:function(){var i=n.next(),r=i.done,e=i.value;return{done:r,value:r?void 0:[e,t.get(e)]}}})},i[Ui]=function(){return this.entries()},i.forEach=function(t,n){for(var i,r=x(this);!(i=r()).done;){var e=i.value;t.call(n,e[1],e[0],this)}},i.merge=function(n){var i=this;return Zi(n)&&(n=new Map(n)),Jt((function(){s(n)?function(t){var n=Object.keys(t);if(!Bn)return n;var i=Object.getOwnPropertySymbols(t);return i.length?[].concat(n,i.filter((function(n){return Tn.propertyIsEnumerable.call(t,n)}))):n}(n).forEach((function(t){return i.set(t,n[t])})):Array.isArray(n)?n.forEach((function(t){return i.set(t[0],t[1])})):v(n)?(n.constructor!==Map&&t(19,n),n.forEach((function(t,n){return i.set(n,t)}))):null!=n&&t(20,n)})),this},i.clear=function(){var t=this;Jt((function(){lt((function(){for(var n,i=x(t.keys());!(n=i()).done;)t.delete(n.value)}))}))},i.replace=function(n){var i=this;return Jt((function(){for(var r,e=function(n){if(v(n)||Zi(n))return n;if(Array.isArray(n))return new Map(n);if(s(n)){var i=new Map;for(var r in n)i.set(r,n[r]);return i}return t(21,n)}(n),u=new Map,o=!1,f=x(i.bt.keys());!(r=f()).done;){var c=r.value;if(!e.has(c))if(i.delete(c))o=!0;else{var a=i.bt.get(c);u.set(c,a)}}for(var h,l=x(e.entries());!(h=l()).done;){var d=h.value,b=d[0],p=d[1],y=i.bt.has(b);if(i.set(b,p),i.bt.has(b)){var m=i.bt.get(b);u.set(b,m),y||(o=!0)}}if(!o)if(i.bt.size!==u.size)i.dt.reportChanged();else for(var w=i.bt.keys(),j=u.keys(),O=w.next(),g=j.next();!O.done;){if(O.value!==g.value){i.dt.reportChanged();break}O=w.next(),g=j.next()}i.bt=u})),this},i.toString=function(){return"[object ObservableMap]"},i.toJSON=function(){return Array.from(this)},i.gt=function(t){return un(this,t)},i.xt=function(t){return nn(this,t)},y(n,[{key:"size",get:function(){return this.dt.reportObserved(),this.bt.size}},{key:Xi,get:function(){return"Map"}}]),n}(),Zi=h("ObservableMap",Qi),tr={};Ji=Symbol.iterator,Yi=Symbol.toStringTag;var nr,ir,rr=function(){function n(n,i,r){var u=this;void 0===i&&(i=M),void 0===r&&(r="ObservableSet"),this.it=void 0,this[Gn]=tr,this.bt=new Set,this.ct=void 0,this.st=void 0,this.ot=void 0,this.dehancer=void 0,this.Jt=void 0,this.it=r,e(Set)||t(22),this.Jt=function(t,n){return i(t,n,r)},_n((function(){u.ct=S(u.it),n&&u.replace(n)}))}var i=n.prototype;return i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.clear=function(){var t=this;Jt((function(){lt((function(){for(var n,i=x(t.bt.values());!(n=i()).done;)t.delete(n.value)}))}))},i.forEach=function(t,n){for(var i,r=x(this);!(i=r()).done;){var e=i.value;t.call(n,e,e,this)}},i.add=function(t){var n=this;if(tn(this)&&!rn(this,{type:$i,object:this,newValue:t}))return this;if(!this.has(t)){Jt((function(){n.bt.add(n.Jt(t,void 0)),n.ct.reportChanged()}));var i=en(this);i&&on(this,i?{observableKind:"set",debugObjectName:this.it,type:$i,object:this,newValue:t}:null)}return this},i.delete=function(t){var n=this;if(tn(this)&&!rn(this,{type:"delete",object:this,oldValue:t}))return!1;if(this.has(t)){var i=en(this),r=i?{observableKind:"set",debugObjectName:this.it,type:"delete",object:this,oldValue:t}:null;return Jt((function(){n.ct.reportChanged(),n.bt.delete(t)})),i&&on(this,r),!0}return!1},i.has=function(t){return this.ct.reportObserved(),this.bt.has(this.Qt(t))},i.entries=function(){var t=0,n=Array.from(this.keys()),i=Array.from(this.values());return Mn({next:function(){var r=t;return t+=1,r<i.length?{value:[n[r],i[r]],done:!1}:{done:!0}}})},i.keys=function(){return this.values()},i.values=function(){this.ct.reportObserved();var t=this,n=0,i=Array.from(this.bt.values());return Mn({next:function(){return n<i.length?{value:t.Qt(i[n++]),done:!1}:{done:!0}}})},i.replace=function(n){var i=this;return er(n)&&(n=new Set(n)),Jt((function(){Array.isArray(n)||l(n)?(i.clear(),n.forEach((function(t){return i.add(t)}))):null!=n&&t("Cannot initialize set from "+n)})),this},i.gt=function(t){return un(this,t)},i.xt=function(t){return nn(this,t)},i.toJSON=function(){return Array.from(this)},i.toString=function(){return"[object ObservableSet]"},i[Ji]=function(){return this.values()},y(n,[{key:"size",get:function(){return this.ct.reportObserved(),this.bt.size}},{key:Yi,get:function(){return"Set"}}]),n}(),er=h("ObservableSet",rr),ur=Object.create(null),or=function(){function n(t,n,i,r){void 0===n&&(n=new Map),void 0===r&&(r=zn),this.h=void 0,this.j=void 0,this.it=void 0,this.un=void 0,this.dt=void 0,this.st=void 0,this.ot=void 0,this.l=void 0,this.p=void 0,this.on=void 0,this.sn=void 0,this.h=t,this.j=n,this.it=i,this.un=r,this.dt=new Hn("ObservableObject.keys"),this.p=s(this.h)}var i=n.prototype;return i.O=function(t){return this.j.get(t).get()},i._=function(t,n){var i=this.j.get(t);if(i instanceof bi)return i.set(n),!0;if(tn(this)){var r=rn(this,{type:Wi,object:this.l||this.h,name:t,newValue:n});if(!r)return null;n=r.newValue}if((n=i.jt(n))!==_i.UNCHANGED){var e=en(this),u=e?{type:Wi,observableKind:"object",debugObjectName:this.it,object:this.l||this.h,oldValue:i.wt,name:t,newValue:n}:null;i.Ot(n),e&&on(this,u)}return!0},i.vt=function(t){return _i.trackingDerivation&&!b(this.h,t)&&this.et(t),this.h[t]},i.lt=function(t,n,i){return void 0===i&&(i=!1),b(this.h,t)?this.j.has(t)?this._(t,n):i?Reflect.set(this.h,t,n):(this.h[t]=n,!0):this.s(t,{value:n,enumerable:!0,writable:!0,configurable:!0},this.un,i)},i.et=function(t){if(!_i.trackingDerivation)return t in this.h;this.sn||(this.sn=new Map);var n=this.sn.get(t);return n||(n=new li(t in this.h,E,"ObservableObject.key?",!1),this.sn.set(t,n)),n.get()},i.o=function(n,i){if(!0===i&&(i=this.un),!1!==i){if(!(n in this.h)){var r;if(null!=(r=this.h[qn])&&r[n])return;t(1,i.i,this.it+"."+n.toString())}for(var e=this.h;e&&e!==Tn;){var u=Rn(e,n);if(u){var o=i.o(this,n,u,e);if(0===o)return;if(1===o)break}e=Object.getPrototypeOf(e)}pn(this,0,n)}},i.s=function(t,n,i,r){if(void 0===r&&(r=!1),!0===i&&(i=this.un),!1===i)return this.v(t,n,r);var e=i.s(this,t,n,r);return e&&pn(this,0,t),e},i.v=function(t,n,i){void 0===i&&(i=!1);try{xt();var r=this.Ut(t);if(!r)return r;if(tn(this)){var e=rn(this,{object:this.l||this.h,name:t,type:$i,newValue:n.value});if(!e)return null;var u=e.newValue;n.value!==u&&(n=m({},n,{value:u}))}if(i){if(!Reflect.defineProperty(this.h,t,n))return!1}else kn(this.h,t,n);this.fn(t,n.value)}finally{gt()}return!0},i.g=function(t,n,i,r){void 0===r&&(r=!1);try{xt();var e=this.Ut(t);if(!e)return e;if(tn(this)){var u=rn(this,{object:this.l||this.h,name:t,type:$i,newValue:n});if(!u)return null;n=u.newValue}var o=dn(t),s={configurable:!_i.safeDescriptors||this.p,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.h,t,s))return!1}else kn(this.h,t,s);var f=new li(n,i,"ObservableObject.key",!1);this.j.set(t,f),this.fn(t,f.wt)}finally{gt()}return!0},i.m=function(t,n,i){void 0===i&&(i=!1);try{xt();var r=this.Ut(t);if(!r)return r;if(tn(this)&&!rn(this,{object:this.l||this.h,name:t,type:$i,newValue:void 0}))return null;n.name||(n.name="ObservableObject.key"),n.context=this.l||this.h;var e=dn(t),u={configurable:!_i.safeDescriptors||this.p,enumerable:!1,get:e.get,set:e.set};if(i){if(!Reflect.defineProperty(this.h,t,u))return!1}else kn(this.h,t,u);this.j.set(t,new bi(n)),this.fn(t,void 0)}finally{gt()}return!0},i.Ut=function(t,n){if(void 0===n&&(n=!1),!b(this.h,t))return!0;if(tn(this)&&!rn(this,{object:this.l||this.h,name:t,type:"remove"}))return null;try{var i,r;xt();var e,u=en(this),o=this.j.get(t),s=void 0;if(!o&&u&&(s=null==(e=Rn(this.h,t))?void 0:e.value),n){if(!Reflect.deleteProperty(this.h,t))return!1}else delete this.h[t];o&&(this.j.delete(t),o instanceof li&&(s=o.wt),At(o)),this.dt.reportChanged(),null==(i=this.sn)||null==(r=i.get(t))||r.set(t in this.h),u&&u&&on(this,{type:"remove",observableKind:"object",object:this.l||this.h,debugObjectName:this.it,oldValue:s,name:t})}finally{gt()}return!0},i.gt=function(t){return un(this,t)},i.xt=function(t){return nn(this,t)},i.fn=function(t,n){var i,r,e=en(this);e&&e&&on(this,e?{type:$i,observableKind:"object",debugObjectName:this.it,object:this.l||this.h,name:t,newValue:n}:null),null==(i=this.sn)||null==(r=i.get(t))||r.set(!0),this.dt.reportChanged()},i.ut=function(){return this.dt.reportObserved(),Dn(this.h)},i.rt=function(){return this.dt.reportObserved(),Object.keys(this.h)},n}(),sr=h("ObservableObjectAdministration",or),fr=yn(0),cr=function(){var t=!1,n={};return Object.defineProperty(n,"0",{set:function(){t=!0}}),Object.create(n)[0]=1,!1===t}(),ar=0,hr=function(){};nr=hr,ir=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(nr.prototype,ir):void 0!==nr.prototype.__proto__?nr.prototype.__proto__=ir:nr.prototype=ir;var vr=function(t,n,i){function r(n,i,r,e){var u;return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),u=t.call(this)||this,_n((function(){var t=new Gi(r,i,e,!0);t.l=j(u),a(j(u),Gn,t),n&&n.length&&u.spliceWithArray(0,0,n),cr&&Object.defineProperty(j(u),"0",fr)})),u}w(r,t);var e=r.prototype;return e.concat=function(){this[Gn].ct.reportObserved();for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return Array.prototype.concat.apply(this.slice(),n.map((function(t){return vn(t)?t.slice():t})))},e[i]=function(){var t=this,n=0;return Mn({next:function(){return n<t.length?{value:t[n++],done:!1}:{done:!0,value:void 0}}})},y(r,[{key:"length",get:function(){return this[Gn].Xt()},set:function(t){this[Gn].Ft(t)}},{key:n,get:function(){return"Array"}}]),r}(hr,Symbol.toStringTag,Symbol.iterator);Object.entries(Hi).forEach((function(t){var n=t[0];"concat"!==n&&c(vr.prototype,n,t[1])})),wn(1e3);var lr=Tn.toString;["Symbol","Map","Set"].forEach((function(i){void 0===n()[i]&&t("MobX requires global '"+i+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Et,extras:{getDebugName:gn},$mobx:Gn}),exports.$mobx=Gn,exports.FlowCancellationError=Dt,exports.ObservableMap=Qi,exports.ObservableSet=rr,exports.Reaction=Ai,exports._allowStateChanges=et,exports._allowStateChangesInsideComputed=Vt,exports._allowStateReadsEnd=yt,exports._allowStateReadsStart=pt,exports._autoAction=Ti,exports._endAction=rt,exports._getAdministration=xn,exports._getGlobalState=function(){return _i},exports._interceptReads=function(t,n,i){var r;return Zi(t)||vn(t)||di(t)?r=xn(t):bn(t)&&(r=xn(t,n)),r.dehancer="function"==typeof n?n:i,function(){r.dehancer=void 0}},exports._isComputingDerivation=function(){return null!==_i.trackingDerivation},exports._resetGlobalState=function(){var t=new Oi;for(var n in t)-1===ji.indexOf(n)&&(_i[n]=t[n]);_i.allowStateChanges=!_i.enforceActions},exports._startAction=it,exports.action=ki,exports.autorun=kt,exports.comparer=Xn,exports.computed=oi,exports.configure=function(i){!0===i.isolateGlobalState&&function(){if((_i.pendingReactions.length||_i.inBatch||_i.isRunningReactions)&&t(36),gi=!0,xi){var i=n();0==--i.__mobxInstanceCount&&(i.__mobxGlobals=void 0),_i=new Oi}}();var r,e,u=i.useProxies,o=i.enforceActions;if(void 0!==u&&(_i.useProxies="always"===u||"never"!==u&&"undefined"!=typeof Proxy),"ifavailable"===u&&(_i.verifyProxies=!0),void 0!==o){var s="always"===o?"always":"observed"===o;_i.enforceActions=s,_i.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in i&&(_i[t]=!!i[t])})),_i.allowStateReads=!_i.observableRequiresReaction,i.reactionScheduler&&(r=i.reactionScheduler,e=Si,Si=function(t){return r((function(){return e(t)}))})},exports.createAtom=S,exports.defineProperty=function(n,i,r){if(bn(n))return n[Gn].v(i,r);t(39)},exports.entries=function(n){return bn(n)?Xt(n).map((function(t){return[t,n[t]]})):Zi(n)?Xt(n).map((function(t){return[t,n.get(t)]})):er(n)?Array.from(n.entries()):vn(n)?n.map((function(t,n){return[n,t]})):void t(7)},exports.extendObservable=Kt,exports.flow=Pi,exports.flowResult=function(t){return t},exports.get=function(n,i){if(Ft(n,i))return bn(n)?n[Gn].vt(i):Zi(n)?n.get(i):vn(n)?n[i]:void t(11)},exports.getAtom=On,exports.getDebugName=gn,exports.getDependencyTree=function(t,n){return Pt(On(t,n))},exports.getObserverTree=function(t,n){return Bt(On(t,n))},exports.has=Ft,exports.intercept=function(t,n,i){return e(i)?function(t,n,i){return xn(t,n).xt(i)}(t,n,i):function(t,n){return xn(t).xt(n)}(t,n)},exports.isAction=Rt,exports.isBoxedObservable=di,exports.isComputed=function(t){return Gt(t)},exports.isComputedProp=function(t,n){return Gt(t,n)},exports.isFlow=qt,exports.isFlowCancellationError=function(t){return t instanceof Dt},exports.isObservable=Ut,exports.isObservableArray=vn,exports.isObservableMap=Zi,exports.isObservableObject=bn,exports.isObservableProp=function(t,n){return Ht(t,n)},exports.isObservableSet=er,exports.keys=Xt,exports.makeAutoObservable=function(t,n,i){return s(t)?Kt(t,t,n,i):(_n((function(){var r=ln(t,i)[Gn];if(!t[Di]){var e=Object.getPrototypeOf(t),u=new Set([].concat(Dn(t),Dn(e)));u.delete("constructor"),u.delete(Gn),c(e,Di,u)}t[Di].forEach((function(t){return r.o(t,!n||!(t in n)||n[t])}))})),t)},exports.makeObservable=function(t,n,i){return _n((function(){var r=ln(t,i)[Gn];null!=n||(n=function(t){return b(t,qn)||c(t,qn,m({},t[qn])),t[qn]}(t)),Dn(n).forEach((function(t){return r.o(t,n[t])}))})),t},exports.observable=ri,exports.observe=function(t,n,i,r){return e(i)?function(t,n,i,r){return xn(t,n).gt(i,r)}(t,n,i,r):function(t,n,i){return xn(t).gt(n,i)}(t,n,i)},exports.onBecomeObserved=Lt,exports.onBecomeUnobserved=Ct,exports.onReactionError=function(t){return _i.globalReactionErrorHandlers.push(t),function(){var n=_i.globalReactionErrorHandlers.indexOf(t);n>=0&&_i.globalReactionErrorHandlers.splice(n,1)}},exports.override=Fn,exports.ownKeys=zt,exports.reaction=function(t,n,i){function r(){if(p=!1,!m.Z){var n=!1,r=a;m.track((function(){var i=et(!1,(function(){return t(m)}));n=b||!y(a,i),a=i})),(b&&i.fireImmediately||!b&&n)&&v(a,r,m),b=!1}}var e,u,o,s;void 0===i&&(i=Cn);var f,c,a,h=null!=(e=i.name)?e:"Reaction",v=ki(h,i.onError?(f=i.onError,c=n,function(){try{return c.apply(this,arguments)}catch(t){f.call(this,t)}}):n),l=!i.scheduler&&!i.delay,d=Tt(i),b=!0,p=!1,y=i.compareStructural?Xn.structural:i.equals||Xn.default,m=new Ai(h,(function(){b||l?r():p||(p=!0,d(r))}),i.onError,i.requiresObservable);return null!=(u=i)&&null!=(o=u.signal)&&o.aborted||m.tt(),m.nt(null==(s=i)?void 0:s.signal)},exports.remove=function(n,i){bn(n)?n[Gn].Ut(i):Zi(n)||er(n)?n.delete(i):vn(n)?("number"!=typeof i&&(i=parseInt(i,10)),n.splice(i,1)):t(9)},exports.runInAction=Vt,exports.set=function n(i,r,e){if(2!==arguments.length||er(i))bn(i)?i[Gn].lt(r,e):Zi(i)?i.set(r,e):er(i)?i.add(r):vn(i)?("number"!=typeof r&&(r=parseInt(r,10)),r<0&&t("Invalid index: '"+r+"'"),xt(),r>=i.length&&(i.length=r+1),i[r]=e,gt()):t(8);else{xt();var u=r;try{for(var o in u)n(i,o,u[o])}finally{gt()}}},exports.spy=Et,exports.toJS=function(t){return function t(n,i){if(null==n||"object"!=typeof n||n instanceof Date||!Ut(n))return n;if(di(n)||mi(n))return t(n.get(),i);if(i.has(n))return i.get(n);if(vn(n)){var r=$t(i,n,new Array(n.length));return n.forEach((function(n,e){r[e]=t(n,i)})),r}if(er(n)){var e=$t(i,n,new Set);return n.forEach((function(n){e.add(t(n,i))})),e}if(Zi(n)){var u=$t(i,n,new Map);return n.forEach((function(n,r){u.set(r,t(n,i))})),u}var o=$t(i,n,{});return zt(n).forEach((function(r){Tn.propertyIsEnumerable.call(n,r)&&(o[r]=t(n[r],i))})),o}(t,new Map)},exports.trace=function(){},exports.transaction=Jt,exports.untracked=lt,exports.values=function(n){return bn(n)?Xt(n).map((function(t){return n[t]})):Zi(n)?Xt(n).map((function(t){return n.get(t)})):er(n)?Array.from(n.values()):vn(n)?n.slice():void t(6)},exports.when=function(t,n,i){return 1===arguments.length||n&&"object"==typeof n?Qt(t,n):Yt(t,n,i||{})};
//# sourceMappingURL=mobx.cjs.production.min.js.map

@@ -1,2 +0,2 @@

function t(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];throw new Error("number"==typeof t?"[MobX] minified error nr: "+t+(i.length?" "+i.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+t)}function n(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:ti}function i(){si||t("Proxy not available")}function r(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function e(t){return"function"==typeof t}function u(t){switch(typeof t){case"string":case"symbol":case"number":return!0}return!1}function o(t){return null!==t&&"object"==typeof t}function s(t){if(!o(t))return!1;var n=Object.getPrototypeOf(t);if(null==n)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i.toString()===ai}function a(t){var n=null==t?void 0:t.constructor;return!!n&&("GeneratorFunction"===n.name||"GeneratorFunction"===n.displayName)}function f(t,n,i){ri(t,n,{enumerable:!1,writable:!0,configurable:!0,value:i})}function c(t,n,i){ri(t,n,{enumerable:!1,writable:!1,configurable:!0,value:i})}function h(t,n){var i="isMobX"+t;return n.prototype[i]=!0,function(t){return o(t)&&!0===t[i]}}function l(t){return t instanceof Map}function v(t){return t instanceof Set}function d(t){return null===t?null:"object"==typeof t?""+t:t}function b(t,n){return ei.hasOwnProperty.call(t,n)}function y(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,"symbol"==typeof(e=function(t){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key))?e:String(e),r)}var e}function p(t,n,i){return n&&y(t.prototype,n),i&&y(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function w(t,n){var i,r;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,i=t,r=n,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t})(i,r)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function g(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t){if(t){if("string"==typeof t)return j(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(t,void 0):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[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 _(t){return Object.assign((function(n,i){if(S(i))return t.t(n,i);A(n,i,t)}),t)}function A(t,n,i){b(t,vi)||f(t,vi,m({},t[vi])),function(t){return"override"===t.i}(i)||(t[vi][n]=i)}function S(t){return"object"==typeof t&&"string"==typeof t.kind}function x(t,n,i){void 0===n&&(n=fi),void 0===i&&(i=fi);var r=new bi(t);return n!==fi&&Kt(r,n),i!==fi&&Pt(r,i),r}function E(t,n,i){return en(t)?t:Array.isArray(t)?Mi.array(t,{name:i}):s(t)?Mi.object(t,void 0,{name:i}):l(t)?Mi.map(t,{name:i}):v(t)?Mi.set(t,{name:i}):"function"!=typeof t||Tt(t)||Jt(t)?t:a(t)?fr(t):er(i,t)}function M(t){return t}function R(t,n){return{i:t,u:n,o:N,s:V,t:k}}function N(t,n,i,r){var e;if(null!=(e=this.u)&&e.bound)return null===this.s(t,n,i,!1)?0:1;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(Tt(i.value))return 1;var u=T(t,this,n,i,!1);return ri(r,n,u),2}function V(t,n,i,r){var e=T(t,this,n,i);return t.l(n,e,r)}function k(n,i){var r=i.kind,e=i.name,u=i.addInitializer,o=this;if("field"!=r){var s,a,f,c,h,l;if("method"==r)return Tt(n)||(a=n,n=tt(null!=(f=null==(c=o.u)?void 0:c.name)?f:e.toString(),a,null!=(h=null==(l=o.u)?void 0:l.autoAction)&&h)),null!=(s=this.u)&&s.bound&&u((function(){var t=this[e].bind(this);t.isMobxAction=!0,this[e]=t})),n;t("Cannot apply '"+o.i+"' to '"+String(e)+"' (kind: "+r+"):\n'"+o.i+"' can only be used on properties with a function value.")}else u((function(){A(this,e,o)}))}function T(t,n,i,r,e){var u,o,s,a,f,c,h;void 0===e&&(e=$i.safeDescriptors);var l,v=r.value;return null!=(u=n.u)&&u.bound&&(v=v.bind(null!=(l=t.v)?l:t.h)),{value:tt(null!=(o=null==(s=n.u)?void 0:s.name)?o:i.toString(),v,null!=(a=null==(f=n.u)?void 0:f.autoAction)&&a,null!=(c=n.u)&&c.bound?null!=(h=t.v)?h:t.h:void 0),configurable:!e||t.p,enumerable:!1,writable:!e}}function C(t,n){return{i:t,u:n,o:I,s:L,t:K}}function I(t,n,i,r){var e;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(null!=(e=this.u)&&e.bound&&(!b(t.h,n)||!Jt(t.h[n]))&&null===this.s(t,n,i,!1))return 0;if(Jt(i.value))return 1;var u=P(t,0,0,i,!1,!1);return ri(r,n,u),2}function L(t,n,i,r){var e,u=P(t,0,0,i,null==(e=this.u)?void 0:e.bound);return t.l(n,u,r)}function K(t,n){var i,r=n.name,e=n.addInitializer;return Jt(t)||(t=fr(t)),null!=(i=this.u)&&i.bound&&e((function(){var t=this[r].bind(this);t.isMobXFlow=!0,this[r]=t})),t}function P(t,n,i,r,e,u){void 0===u&&(u=$i.safeDescriptors);var o,s=r.value;return Jt(s)||(s=fr(s)),e&&((s=s.bind(null!=(o=t.v)?o:t.h)).isMobXFlow=!0),{value:s,configurable:!u||t.p,enumerable:!1,writable:!u}}function D(t,n){return{i:t,u:n,o:B,s:G,t:W}}function B(t,n,i){return null===this.s(t,n,i,!1)?0:1}function G(t,n,i,r){return t.m(n,m({},this.u,{get:i.get,set:i.set}),r)}function W(t,n){var i=this,r=n.name;return(0,n.addInitializer)((function(){var n=Pn(this)[di],e=m({},i.u,{get:t,context:this});e.name||(e.name="ObservableObject."+r.toString()),n.O.set(r,new Wi(e))})),function(){return this[di].j(r)}}function q(t,n){return{i:t,u:n,o:F,s:H,t:U}}function F(t,n,i){return null===this.s(t,n,i,!1)?0:1}function H(t,n,i,r){var e,u;return t.g(n,i.value,null!=(e=null==(u=this.u)?void 0:u.enhancer)?e:E,r)}function U(t,n){function i(t,n){var i,e,s=Pn(t)[di],a=new Pi(n,null!=(i=null==(e=r.u)?void 0:e.enhancer)?i:E,"ObservableObject."+u.toString(),!1);s.O.set(u,a),o.add(t)}var r=this,e=n.kind,u=n.name,o=new WeakSet;if("accessor"==e)return{get:function(){return o.has(this)||i(this,t.get.call(this)),this[di].j(u)},set:function(t){return o.has(this)||i(this,t),this[di]._(u,t)},init:function(t){return o.has(this)||i(this,t),t}}}function X(t){return{i:"true",u:t,o:z,s:$,t:J}}function z(t,n,i,r){var e,u,o,s;if(i.get)return Vi.o(t,n,i,r);if(i.set){var f=tt(n.toString(),i.set);return r===t.h?null===t.l(n,{configurable:!$i.safeDescriptors||t.p,set:f})?0:2:(ri(r,n,{configurable:!0,set:f}),2)}if(r!==t.h&&"function"==typeof i.value)return a(i.value)?(null!=(s=this.u)&&s.autoBind?fr.bound:fr).o(t,n,i,r):(null!=(o=this.u)&&o.autoBind?er.bound:er).o(t,n,i,r);var c,h=!1===(null==(e=this.u)?void 0:e.deep)?Mi.ref:Mi;return"function"==typeof i.value&&null!=(u=this.u)&&u.autoBind&&(i.value=i.value.bind(null!=(c=t.v)?c:t.h)),h.o(t,n,i,r)}function $(t,n,i,r){var e,u,o;return i.get?Vi.s(t,n,i,r):i.set?t.l(n,{configurable:!$i.safeDescriptors||t.p,set:tt(n.toString(),i.set)},r):("function"==typeof i.value&&null!=(e=this.u)&&e.autoBind&&(i.value=i.value.bind(null!=(o=t.v)?o:t.h)),(!1===(null==(u=this.u)?void 0:u.deep)?Mi.ref:Mi).s(t,n,i,r))}function J(){t("'"+this.i+"' cannot be used as a decorator")}function Y(t){return t||Oi}function Q(t){return!0===t.deep?E:!1===t.deep?M:(n=t.defaultDecorator)&&null!=(i=null==(r=n.u)?void 0:r.enhancer)?i:E;var n,i,r}function Z(t,n,i){return S(n)?ji.t(t,n):u(n)?void A(t,n,ji):en(t)?t:s(t)?Mi.object(t,n,i):Array.isArray(t)?Mi.array(t,n):l(t)?Mi.map(t,n):v(t)?Mi.set(t,n):"object"==typeof t&&null!==t?t:Mi.box(t,n)}function tt(t,n,i,r){function e(){return nt(0,i,n,r||this,arguments)}return void 0===i&&(i=!1),e.isMobxAction=!0,e.toString=function(){return n.toString()},Ii&&(Li.value=t,ri(e,"name",Li)),e}function nt(t,n,i,r,e){var u=it(0,n);try{return i.apply(r,e)}catch(t){throw u.A=t,t}finally{rt(u)}}function it(t,n){var i=$i.trackingDerivation,r=!n||!i;_t();var e=$i.allowStateChanges;r&&(vt(),e=ut(!0));var u={S:r,M:i,R:e,N:bt(!0),V:!1,k:0,T:Ci++,C:Ti};return Ti=u.T,u}function rt(n){Ti!==n.T&&t(30),Ti=n.C,void 0!==n.A&&($i.suppressReactionErrors=!0),ot(n.R),yt(n.N),At(),n.S&&dt(n.M),$i.suppressReactionErrors=!1}function et(t,n){var i=ut(t);try{return n()}finally{ot(i)}}function ut(t){var n=$i.allowStateChanges;return $i.allowStateChanges=t,n}function ot(t){$i.allowStateChanges=t}function st(t){return t instanceof Fi}function at(t){switch(t.I){case Bi.L:return!1;case Bi.K:case Bi.P:return!0;case Bi.D:for(var n=bt(!0),i=vt(),r=t.B,e=r.length,u=0;u<e;u++){var o=r[u];if(qi(o)){if($i.disableErrorBoundaries)o.get();else try{o.get()}catch(t){return dt(i),yt(n),!0}if(t.I===Bi.P)return dt(i),yt(n),!0}}return pt(t),dt(i),yt(n),!1}}function ft(){return null!==$i.trackingDerivation}function ct(t,n,i){var r=bt(!0);pt(t),t.G=new Array(0===t.W?100:t.B.length),t.q=0,t.W=++$i.runId;var e,u=$i.trackingDerivation;if($i.trackingDerivation=t,$i.inBatch++,!0===$i.disableErrorBoundaries)e=n.call(i);else try{e=n.call(i)}catch(t){e=new Fi(t)}return $i.inBatch--,$i.trackingDerivation=u,function(t){for(var n=t.B,i=t.B=t.G,r=Bi.L,e=0,u=t.q,o=0;o<u;o++){var s=i[o];0===s.F&&(s.F=1,e!==o&&(i[e]=s),e++),s.I>r&&(r=s.I)}for(i.length=e,t.G=null,u=n.length;u--;){var a=n[u];0===a.F&&jt(a,t),a.F=0}for(;e--;){var f=i[e];1===f.F&&(f.F=0,Ot(f,t))}r!==Bi.L&&(t.I=r,t.H())}(t),yt(r),e}function ht(t){var n=t.B;t.B=[];for(var i=n.length;i--;)jt(n[i],t);t.I=Bi.K}function lt(t){var n=vt();try{return t()}finally{dt(n)}}function vt(){var t=$i.trackingDerivation;return $i.trackingDerivation=null,t}function dt(t){$i.trackingDerivation=t}function bt(t){var n=$i.allowStateReads;return $i.allowStateReads=t,n}function yt(t){$i.allowStateReads=t}function pt(t){if(t.I!==Bi.L){t.I=Bi.L;for(var n=t.B,i=n.length;i--;)n[i].U=Bi.L}}function mt(){return $i}function wt(){var t=new Ui;for(var n in t)-1===Hi.indexOf(n)&&($i[n]=t[n]);$i.allowStateChanges=!$i.enforceActions}function Ot(t,n){t.X.add(n),t.U>n.I&&(t.U=n.I)}function jt(t,n){t.X.delete(n),0===t.X.size&&gt(t)}function gt(t){!1===t.$&&(t.$=!0,$i.pendingUnobservations.push(t))}function _t(){$i.inBatch++}function At(){if(0==--$i.inBatch){Mt();for(var t=$i.pendingUnobservations,n=0;n<t.length;n++){var i=t[n];i.$=!1,0===i.X.size&&(i.J&&(i.J=!1,i.onBUO()),i instanceof Wi&&i.Y())}$i.pendingUnobservations=[]}}function St(t){var n=$i.trackingDerivation;return null!==n?(n.W!==t.Z&&(t.Z=n.W,n.G[n.q++]=t,!t.J&&$i.trackingContext&&(t.J=!0,t.onBO())),t.J):(0===t.X.size&&$i.inBatch>0&&gt(t),!1)}function xt(t){t.U!==Bi.P&&(t.U=Bi.P,t.X.forEach((function(t){t.I===Bi.L&&t.H(),t.I=Bi.P})))}function Et(t){return $i.globalReactionErrorHandlers.push(t),function(){var n=$i.globalReactionErrorHandlers.indexOf(t);n>=0&&$i.globalReactionErrorHandlers.splice(n,1)}}function Mt(){$i.inBatch>0||$i.isRunningReactions||Yi(Rt)}function Rt(){$i.isRunningReactions=!0;for(var t=$i.pendingReactions,n=0;t.length>0;){100==++n&&(console.error("[mobx] cycle in reaction: "+t[0]),t.splice(0));for(var i=t.splice(0),r=0,e=i.length;r<e;r++)i[r].tt()}$i.isRunningReactions=!1}function Nt(){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function Vt(t){return function(n,i){return e(n)?tt(n.name||"<unnamed action>",n,t):e(i)?tt(n,i,t):S(i)?(t?nr:Zi).t(n,i):u(i)?A(n,i,t?nr:Zi):u(n)?_(R(t?"autoAction":"action",{name:n,autoAction:t})):void 0}}function kt(t){return nt(0,!1,t,this,void 0)}function Tt(t){return e(t)&&!0===t.isMobxAction}function Ct(t,n){function i(){t(a)}var r,e,u,o,s;void 0===n&&(n=oi);var a,f=null!=(r=null==(e=n)?void 0:e.name)?r:"Autorun";if(n.scheduler||n.delay){var c=It(n),h=!1;a=new Ji(f,(function(){h||(h=!0,c((function(){h=!1,a.nt||a.track(i)})))}),n.onError,n.requiresObservable)}else a=new Ji(f,(function(){this.track(i)}),n.onError,n.requiresObservable);return null!=(u=n)&&null!=(o=u.signal)&&o.aborted||a.it(),a.rt(null==(s=n)?void 0:s.signal)}function It(t){return t.scheduler?t.scheduler:t.delay?function(n){return setTimeout(n,t.delay)}:ur}function Lt(t,n,i){function r(){if(y=!1,!m.nt){var n=!1,r=c;m.track((function(){var i=et(!1,(function(){return t(m)}));n=b||!p(c,i),c=i})),(b&&i.fireImmediately||!b&&n)&&l(c,r,m),b=!1}}var e,u,o,s;void 0===i&&(i=oi);var a,f,c,h=null!=(e=i.name)?e:"Reaction",l=rr(h,i.onError?(a=i.onError,f=n,function(){try{return f.apply(this,arguments)}catch(t){a.call(this,t)}}):n),v=!i.scheduler&&!i.delay,d=It(i),b=!0,y=!1,p=i.compareStructural?pi.structural:i.equals||pi.default,m=new Ji(h,(function(){b||v?r():y||(y=!0,d(r))}),i.onError,i.requiresObservable);return null!=(u=i)&&null!=(o=u.signal)&&o.aborted||m.it(),m.rt(null==(s=i)?void 0:s.signal)}function Kt(t,n,i){return Dt("onBO",t,n,i)}function Pt(t,n,i){return Dt("onBUO",t,n,i)}function Dt(t,n,i,r){var u="function"==typeof r?Un(n,i):Un(n),o=e(r)?r:i,s=t+"L";return u[s]?u[s].add(o):u[s]=new Set([o]),function(){var t=u[s];t&&(t.delete(o),0===t.size&&delete u[s])}}function Bt(i){!0===i.isolateGlobalState&&function(){if(($i.pendingReactions.length||$i.inBatch||$i.isRunningReactions)&&t(36),zi=!0,Xi){var i=n();0==--i.__mobxInstanceCount&&(i.__mobxGlobals=void 0),$i=new Ui}}();var r,e,u=i.useProxies,o=i.enforceActions;if(void 0!==u&&($i.useProxies="always"===u||"never"!==u&&"undefined"!=typeof Proxy),"ifavailable"===u&&($i.verifyProxies=!0),void 0!==o){var s="always"===o?"always":"observed"===o;$i.enforceActions=s,$i.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in i&&($i[t]=!!i[t])})),$i.allowStateReads=!$i.observableRequiresReaction,i.reactionScheduler&&(r=i.reactionScheduler,e=Yi,Yi=function(t){return r((function(){return e(t)}))})}function Gt(t,n,i,r){var e=li(n);return $n((function(){var n=Pn(t,r)[di];hi(e).forEach((function(t){n.s(t,e[t],!i||!(t in i)||i[t])}))})),t}function Wt(t,n){return qt(Un(t,n))}function qt(t){var n,i={name:t.et};return t.B&&t.B.length>0&&(i.dependencies=(n=t.B,Array.from(new Set(n))).map(qt)),i}function Ft(t,n){return Ht(Un(t,n))}function Ht(t){var n={name:t.et};return function(t){return t.X&&t.X.size>0}(t)&&(n.observers=Array.from(function(t){return t.X}(t)).map(Ht)),n}function Ut(){this.message="FLOW_CANCELLED"}function Xt(t){return t instanceof Ut}function zt(t){e(t.cancel)&&t.cancel()}function $t(t){return t}function Jt(t){return!0===(null==t?void 0:t.isMobXFlow)}function Yt(t,n,i){var r;return Ar(t)||Kn(t)||Di(t)?r=Xn(t):Bn(t)&&(r=Xn(t,n)),r.dehancer="function"==typeof n?n:i,function(){r.dehancer=void 0}}function Qt(t,n,i){return e(i)?function(t,n,i){return Xn(t,n).ut(i)}(t,n,i):function(t,n){return Xn(t).ut(n)}(t,n)}function Zt(t,n){if(void 0===n)return qi(t);if(!1===Bn(t))return!1;if(!t[di].O.has(n))return!1;var i=Un(t,n);return qi(i)}function tn(t){return Zt(t)}function nn(t,n){return Zt(t,n)}function rn(t,n){return!!t&&(void 0!==n?!!Bn(t)&&t[di].O.has(n):Bn(t)||!!t[di]||yi(t)||Qi(t)||qi(t))}function en(t){return rn(t)}function un(t,n){return rn(t,n)}function on(n){return Bn(n)?n[di].ot():Ar(n)||Rr(n)?Array.from(n.keys()):Kn(n)?n.map((function(t,n){return n})):void t(5)}function sn(n){return Bn(n)?on(n).map((function(t){return n[t]})):Ar(n)?on(n).map((function(t){return n.get(t)})):Rr(n)?Array.from(n.values()):Kn(n)?n.slice():void t(6)}function an(n){return Bn(n)?on(n).map((function(t){return[t,n[t]]})):Ar(n)?on(n).map((function(t){return[t,n.get(t)]})):Rr(n)?Array.from(n.entries()):Kn(n)?n.map((function(t,n){return[n,t]})):void t(7)}function fn(n,i,r){if(2!==arguments.length||Rr(n))Bn(n)?n[di].st(i,r):Ar(n)?n.set(i,r):Rr(n)?n.add(i):Kn(n)?("number"!=typeof i&&(i=parseInt(i,10)),i<0&&t("Invalid index: '"+i+"'"),_t(),i>=n.length&&(n.length=i+1),n[i]=r,At()):t(8);else{_t();var e=i;try{for(var u in e)fn(n,u,e[u])}finally{At()}}}function cn(n,i){Bn(n)?n[di].at(i):Ar(n)||Rr(n)?n.delete(i):Kn(n)?("number"!=typeof i&&(i=parseInt(i,10)),n.splice(i,1)):t(9)}function hn(n,i){return Bn(n)?n[di].ft(i):Ar(n)||Rr(n)?n.has(i):Kn(n)?i>=0&&i<n.length:void t(10)}function ln(n,i){if(hn(n,i))return Bn(n)?n[di].ct(i):Ar(n)?n.get(i):Kn(n)?n[i]:void t(11)}function vn(n,i,r){if(Bn(n))return n[di].l(i,r);t(39)}function dn(n){if(Bn(n))return n[di].ht();t(38)}function bn(t,n,i,r){return e(i)?function(t,n,i,r){return Xn(t,n).lt(i,r)}(t,n,i,r):function(t,n,i){return Xn(t).lt(n,i)}(t,n,i)}function yn(t,n,i){return t.set(n,i),i}function pn(t){return function t(n,i){if(null==n||"object"!=typeof n||n instanceof Date||!en(n))return n;if(Di(n)||qi(n))return t(n.get(),i);if(i.has(n))return i.get(n);if(Kn(n)){var r=yn(i,n,new Array(n.length));return n.forEach((function(n,e){r[e]=t(n,i)})),r}if(Rr(n)){var e=yn(i,n,new Set);return n.forEach((function(n){e.add(t(n,i))})),e}if(Ar(n)){var u=yn(i,n,new Map);return n.forEach((function(n,r){u.set(r,t(n,i))})),u}var o=yn(i,n,{});return dn(n).forEach((function(r){ei.propertyIsEnumerable.call(n,r)&&(o[r]=t(n[r],i))})),o}(t,new Map)}function mn(){}function wn(t,n){void 0===n&&(n=void 0),_t();try{return t.apply(n)}finally{At()}}function On(t,n,i){return 1===arguments.length||n&&"object"==typeof n?gn(t,n):jn(t,n,i||{})}function jn(t,n,i){var r;if("number"==typeof i.timeout){var e=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!o[di].nt){if(o(),!i.onError)throw e;i.onError(e)}}),i.timeout)}i.name="When";var u=tt("When-effect",n),o=Ct((function(n){et(!1,t)&&(n.dispose(),r&&clearTimeout(r),u())}),i);return o}function gn(t,n){var i,r,e;if(null!=n&&null!=(i=n.signal)&&i.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var u=new Promise((function(i,u){var o,s=jn(t,i,m({},n,{onError:u}));r=function(){s(),u(new Error("WHEN_CANCELLED"))},e=function(){s(),u(new Error("WHEN_ABORTED"))},null==n||null==(o=n.signal)||null==o.addEventListener||o.addEventListener("abort",e)})).finally((function(){var t;return null==n||null==(t=n.signal)||null==t.removeEventListener?void 0:t.removeEventListener("abort",e)}));return u.cancel=r,u}function _n(t){return t[di]}function An(t){return void 0!==t.vt&&t.vt.length>0}function Sn(t,n){var i=t.vt||(t.vt=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function xn(n,i){var r=vt();try{for(var e=[].concat(n.vt||[]),u=0,o=e.length;u<o&&((i=e[u](i))&&!i.type&&t(14),i);u++);return i}finally{dt(r)}}function En(t){return void 0!==t.dt&&t.dt.length>0}function Mn(t,n){var i=t.dt||(t.dt=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function Rn(t,n){var i=vt(),r=t.dt;if(r){for(var e=0,u=(r=r.slice()).length;e<u;e++)r[e](n);dt(i)}}function Nn(t,n,i){return $n((function(){var r=Pn(t,i)[di];null!=n||(n=function(t){return b(t,vi)||f(t,vi,m({},t[vi])),t[vi]}(t)),hi(n).forEach((function(t){return r.o(t,n[t])}))})),t}function Vn(t,n,i){return s(t)?Gt(t,t,n,i):($n((function(){var r=Pn(t,i)[di];if(!t[hr]){var e=Object.getPrototypeOf(t),u=new Set([].concat(hi(t),hi(e)));u.delete("constructor"),u.delete(di),f(e,hr,u)}t[hr].forEach((function(t){return r.o(t,!n||!(t in n)||n[t])}))})),t)}function kn(t,n,r,e){return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),i(),$n((function(){var i=new dr(r,n,e,!1);c(i.O,di,i);var u=new Proxy(i.O,vr);return i.v=u,t&&t.length&&i.bt(0,0,t),u}))}function Tn(t,n){"function"==typeof Array.prototype[t]&&(br[t]=n(t))}function Cn(t){return function(){var n=this[di];n.yt.reportObserved();var i=n.pt(n.O);return i[t].apply(i,arguments)}}function In(t){return function(n,i){var r=this,e=this[di];return e.yt.reportObserved(),e.pt(e.O)[t]((function(t,e){return n.call(i,t,e,r)}))}}function Ln(t){return function(){var n=this,i=this[di];i.yt.reportObserved();var r=i.pt(i.O),e=arguments[0];return arguments[0]=function(t,i,r){return e(t,i,r,n)},r[t].apply(r,arguments)}}function Kn(t){return o(t)&&mr(t[di])}function Pn(t,n){var i;if(b(t,di))return t;var r=null!=(i=null==n?void 0:n.name)?i:"ObservableObject",e=new Vr(t,new Map,String(r),function(t){var n;return t?null!=(n=t.defaultDecorator)?n:X(t):void 0}(n));return f(t,di,e),t}function Dn(t){return Nr[t]||(Nr[t]={get:function(){return this[di].j(t)},set:function(n){return this[di]._(t,n)}})}function Bn(t){return!!o(t)&&kr(t[di])}function Gn(t,n,i){var r;null==(r=t.h[vi])||delete r[i]}function Wn(t){return{enumerable:!1,configurable:!0,get:function(){return this[di].ct(t)},set:function(n){this[di].st(t,n)}}}function qn(t){ri(Kr.prototype,""+t,Wn(t))}function Fn(t){if(t>Ir){for(var n=Ir;n<t+100;n++)qn(n);Ir=t}}function Hn(t,n,i){return new Kr(t,n,i)}function Un(n,i){if("object"==typeof n&&null!==n){if(Kn(n))return void 0!==i&&t(23),n[di].yt;if(Rr(n))return n.yt;if(Ar(n)){if(void 0===i)return n.wt;var r=n.Ot.get(i)||n.jt.get(i);return r||t(25,i,zn(n)),r}if(Bn(n)){if(!i)return t(26);var u=n[di].O.get(i);return u||t(27,i,zn(n)),u}if(yi(n)||qi(n)||Qi(n))return n}else if(e(n)&&Qi(n[di]))return n[di];t(28)}function Xn(n,i){return n||t(29),void 0!==i?Xn(Un(n,i)):yi(n)||qi(n)||Qi(n)||Ar(n)||Rr(n)?n:n[di]?n[di]:void t(24,n)}function zn(t,n){var i;if(void 0!==n)i=Un(t,n);else{if(Tt(t))return t.name;i=Bn(t)||Ar(t)||Rr(t)?Xn(t):Un(t)}return i.et}function $n(t){var n=vt(),i=ut(!0);_t();try{return t()}finally{At(),ot(i),dt(n)}}function Jn(t,n,i){return void 0===i&&(i=-1),function t(n,i,r,u,o){if(n===i)return 0!==n||1/n==1/i;if(null==n||null==i)return!1;if(n!=n)return i!=i;var s=typeof n;if("function"!==s&&"object"!==s&&"object"!=typeof i)return!1;var a=Pr.call(n);if(a!==Pr.call(i))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+n==""+i;case"[object Number]":return+n!=+n?+i!=+i:0==+n?1/+n==1/i:+n==+i;case"[object Date]":case"[object Boolean]":return+n==+i;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(n)===Symbol.valueOf.call(i);case"[object Map]":case"[object Set]":r>=0&&r++}n=Yn(n),i=Yn(i);var f="[object Array]"===a;if(!f){if("object"!=typeof n||"object"!=typeof i)return!1;var c=n.constructor,h=i.constructor;if(c!==h&&!(e(c)&&c instanceof c&&e(h)&&h instanceof h)&&"constructor"in n&&"constructor"in i)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var l=(u=u||[]).length;l--;)if(u[l]===n)return o[l]===i;if(u.push(n),o.push(i),f){if((l=n.length)!==i.length)return!1;for(;l--;)if(!t(n[l],i[l],r-1,u,o))return!1}else{var v,d=Object.keys(n);if(l=d.length,Object.keys(i).length!==l)return!1;for(;l--;)if(!b(i,v=d[l])||!t(n[v],i[v],r-1,u,o))return!1}return u.pop(),o.pop(),!0}(t,n,i)}function Yn(t){return Kn(t)?t.slice():l(t)||Ar(t)||v(t)||Rr(t)?Array.from(t.entries()):t}function Qn(t){return t[Symbol.iterator]=Zn,t}function Zn(){return this}var ti={},ni=Object.assign,ii=Object.getOwnPropertyDescriptor,ri=Object.defineProperty,ei=Object.prototype,ui=[];Object.freeze(ui);var oi={};Object.freeze(oi);var si="undefined"!=typeof Proxy,ai=Object.toString(),fi=function(){},ci=void 0!==Object.getOwnPropertySymbols,hi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:ci?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,li=Object.getOwnPropertyDescriptors||function(t){var n={};return hi(t).forEach((function(i){n[i]=ii(t,i)})),n},vi=Symbol("mobx-stored-annotations"),di=Symbol("mobx administration"),bi=function(){function t(t){void 0===t&&(t="Atom"),this.et=void 0,this.$=!1,this.J=!1,this.X=new Set,this.F=0,this.Z=0,this.U=Bi.K,this.onBOL=void 0,this.onBUOL=void 0,this.et=t}var n=t.prototype;return n.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},n.reportObserved=function(){return St(this)},n.reportChanged=function(){_t(),xt(this),At()},n.toString=function(){return this.et},t}(),yi=h("Atom",bi),pi={identity:function(t,n){return t===n},structural:function(t,n){return Jn(t,n)},default:function(t,n){return Object.is?Object.is(t,n):t===n?0!==t||1/t==1/n:t!=t&&n!=n},shallow:function(t,n){return Jn(t,n,1)}},mi=_({i:"override",o:function(){return 0},s:function(){t("'"+this.i+"' can only be used with 'makeObservable'")},t:function(){console.warn("'"+this.i+"' cannot be used with decorators - this is a no-op")}}),wi=X(),Oi={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(Oi);var ji=q("observable"),gi=q("observable.ref",{enhancer:M}),_i=q("observable.shallow",{enhancer:function(t,n,i){return null==t||Bn(t)||Kn(t)||Ar(t)||Rr(t)?t:Array.isArray(t)?Mi.array(t,{name:i,deep:!1}):s(t)?Mi.object(t,void 0,{name:i,deep:!1}):l(t)?Mi.map(t,{name:i,deep:!1}):v(t)?Mi.set(t,{name:i,deep:!1}):void 0}}),Ai=q("observable.struct",{enhancer:function(t,n){return Jn(t,n)?n:t}}),Si=_(ji);ni(Z,Si);var xi,Ei,Mi=ni(Z,{box:function(t,n){var i=Y(n);return new Pi(t,Q(i),i.name,!0,i.equals)},array:function(t,n){var i=Y(n);return(!1===$i.useProxies||!1===i.proxy?Hn:kn)(t,Q(i),i.name)},map:function(t,n){var i=Y(n);return new _r(t,Q(i),i.name)},set:function(t,n){var i=Y(n);return new Mr(t,Q(i),i.name)},object:function(t,n,r){return $n((function(){return Gt(!1===$i.useProxies||!1===(null==r?void 0:r.proxy)?Pn({},r):function(t,n){var r,e;return i(),null!=(e=(r=(t=Pn(t,n))[di]).v)?e:r.v=new Proxy(t,cr)}({},r),t,n)}))},ref:_(gi),shallow:_(_i),deep:Si,struct:_(Ai)}),Ri=D("computed"),Ni=D("computed.struct",{equals:pi.structural}),Vi=function(t,n){if(S(n))return Ri.t(t,n);if(u(n))return A(t,n,Ri);if(s(t))return _(D("computed",t));var i=s(n)?n:{};return i.get=t,i.name||(i.name=t.name||""),new Wi(i)};Object.assign(Vi,Ri),Vi.struct=_(Ni);var ki,Ti=0,Ci=1,Ii=null!=(xi=null==(Ei=ii((function(){}),"name"))?void 0:Ei.configurable)&&xi,Li={value:"action",configurable:!0,writable:!1,enumerable:!1};ki=Symbol.toPrimitive;var Ki,Pi=function(t){function n(n,i,r,e,u){var o;return void 0===r&&(r="ObservableValue"),void 0===u&&(u=pi.default),(o=t.call(this,r)||this).enhancer=void 0,o.et=void 0,o.equals=void 0,o.gt=!1,o.vt=void 0,o.dt=void 0,o._t=void 0,o.dehancer=void 0,o.enhancer=i,o.et=r,o.equals=u,o._t=i(n,void 0,r),o}w(n,t);var i=n.prototype;return i.dehanceValue=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.set=function(t){(t=this.At(t))!==$i.UNCHANGED&&this.St(t)},i.At=function(t){if(An(this)){var n=xn(this,{object:this,type:lr,newValue:t});if(!n)return $i.UNCHANGED;t=n.newValue}return t=this.enhancer(t,this._t,this.et),this.equals(this._t,t)?$i.UNCHANGED:t},i.St=function(t){var n=this._t;this._t=t,this.reportChanged(),En(this)&&Rn(this,{type:lr,object:this,newValue:t,oldValue:n})},i.get=function(){return this.reportObserved(),this.dehanceValue(this._t)},i.ut=function(t){return Sn(this,t)},i.lt=function(t,n){return n&&t({observableKind:"value",debugObjectName:this.et,object:this,type:lr,newValue:this._t,oldValue:void 0}),Mn(this,t)},i.raw=function(){return this._t},i.toJSON=function(){return this.get()},i.toString=function(){return this.et+"["+this._t+"]"},i.valueOf=function(){return d(this.get())},i[ki]=function(){return this.valueOf()},n}(bi),Di=h("ObservableValue",Pi);Ki=Symbol.toPrimitive;var Bi,Gi,Wi=function(){function n(n){this.I=Bi.K,this.B=[],this.G=null,this.J=!1,this.$=!1,this.X=new Set,this.F=0,this.W=0,this.Z=0,this.U=Bi.L,this.q=0,this._t=new Fi(null),this.et=void 0,this.xt=void 0,this.Et=!1,this.Mt=!1,this.derivation=void 0,this.Rt=void 0,this.Nt=Gi.NONE,this.Vt=void 0,this.kt=void 0,this.Tt=void 0,this.Ct=void 0,this.onBOL=void 0,this.onBUOL=void 0,n.get||t(31),this.derivation=n.get,this.et=n.name||"ComputedValue",n.set&&(this.Rt=tt("ComputedValue-setter",n.set)),this.kt=n.equals||(n.compareStructural||n.struct?pi.structural:pi.default),this.Vt=n.context,this.Tt=n.requiresReaction,this.Ct=!!n.keepAlive}var i=n.prototype;return i.H=function(){!function(t){t.U===Bi.L&&(t.U=Bi.D,t.X.forEach((function(t){t.I===Bi.L&&(t.I=Bi.D,t.H())})))}(this)},i.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},i.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},i.get=function(){if(this.Et&&t(32,this.et,this.derivation),0!==$i.inBatch||0!==this.X.size||this.Ct){if(St(this),at(this)){var n=$i.trackingContext;this.Ct&&!n&&($i.trackingContext=this),this.trackAndCompute()&&function(t){t.U!==Bi.P&&(t.U=Bi.P,t.X.forEach((function(n){n.I===Bi.D?n.I=Bi.P:n.I===Bi.L&&(t.U=Bi.L)})))}(this),$i.trackingContext=n}}else at(this)&&(this.It(),_t(),this._t=this.Lt(!1),At());var i=this._t;if(st(i))throw i.cause;return i},i.set=function(n){if(this.Rt){this.Mt&&t(33,this.et),this.Mt=!0;try{this.Rt.call(this.Vt,n)}finally{this.Mt=!1}}else t(34,this.et)},i.trackAndCompute=function(){var t=this._t,n=this.I===Bi.K,i=this.Lt(!0),r=n||st(t)||st(i)||!this.kt(t,i);return r&&(this._t=i),r},i.Lt=function(t){this.Et=!0;var n,i=ut(!1);if(t)n=ct(this,this.derivation,this.Vt);else if(!0===$i.disableErrorBoundaries)n=this.derivation.call(this.Vt);else try{n=this.derivation.call(this.Vt)}catch(t){n=new Fi(t)}return ot(i),this.Et=!1,n},i.Y=function(){this.Ct||(ht(this),this._t=void 0)},i.lt=function(t,n){var i=this,r=!0,e=void 0;return Ct((function(){var u=i.get();if(!r||n){var o=vt();t({observableKind:"computed",debugObjectName:i.et,type:lr,object:i,newValue:u,oldValue:e}),dt(o)}r=!1,e=u}))},i.It=function(){},i.toString=function(){return this.et+"["+this.derivation.toString()+"]"},i.valueOf=function(){return d(this.get())},i[Ki]=function(){return this.valueOf()},n}(),qi=h("ComputedValue",Wi);!function(t){t[t.K=-1]="NOT_TRACKING_",t[t.L=0]="UP_TO_DATE_",t[t.D=1]="POSSIBLY_STALE_",t[t.P=2]="STALE_"}(Bi||(Bi={})),function(t){t[t.NONE=0]="NONE",t[t.LOG=1]="LOG",t[t.BREAK=2]="BREAK"}(Gi||(Gi={}));var Fi=function(t){this.cause=void 0,this.cause=t},Hi=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],Ui=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},Xi=!0,zi=!1,$i=function(){var i=n();return i.__mobxInstanceCount>0&&!i.__mobxGlobals&&(Xi=!1),i.__mobxGlobals&&i.__mobxGlobals.version!==(new Ui).version&&(Xi=!1),Xi?i.__mobxGlobals?(i.__mobxInstanceCount+=1,i.__mobxGlobals.UNCHANGED||(i.__mobxGlobals.UNCHANGED={}),i.__mobxGlobals):(i.__mobxInstanceCount=1,i.__mobxGlobals=new Ui):(setTimeout((function(){zi||t(35)}),1),new Ui)}(),Ji=function(){function t(t,n,i,r){void 0===t&&(t="Reaction"),this.et=void 0,this.Kt=void 0,this.Pt=void 0,this.Dt=void 0,this.B=[],this.G=[],this.I=Bi.K,this.F=0,this.W=0,this.q=0,this.nt=!1,this.Bt=!1,this.Gt=!1,this.Wt=!1,this.Nt=Gi.NONE,this.et=t,this.Kt=n,this.Pt=i,this.Dt=r}var n=t.prototype;return n.H=function(){this.it()},n.it=function(){this.Bt||(this.Bt=!0,$i.pendingReactions.push(this),Mt())},n.isScheduled=function(){return this.Bt},n.tt=function(){if(!this.nt){_t(),this.Bt=!1;var t=$i.trackingContext;if($i.trackingContext=this,at(this)){this.Gt=!0;try{this.Kt()}catch(t){this.qt(t)}}$i.trackingContext=t,At()}},n.track=function(t){if(!this.nt){_t(),this.Wt=!0;var n=$i.trackingContext;$i.trackingContext=this;var i=ct(this,t,void 0);$i.trackingContext=n,this.Wt=!1,this.Gt=!1,this.nt&&ht(this),st(i)&&this.qt(i.cause),At()}},n.qt=function(t){var n=this;if(this.Pt)this.Pt(t,this);else{if($i.disableErrorBoundaries)throw t;$i.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",t),$i.globalReactionErrorHandlers.forEach((function(i){return i(t,n)}))}},n.dispose=function(){this.nt||(this.nt=!0,this.Wt||(_t(),ht(this),At()))},n.rt=function(t){var n=this,i=function i(){n.dispose(),null==t||null==t.removeEventListener||t.removeEventListener("abort",i)};return null==t||null==t.addEventListener||t.addEventListener("abort",i),i[di]=this,i},n.toString=function(){return"Reaction["+this.et+"]"},n.trace=function(){},t}(),Yi=function(t){return t()},Qi=h("Reaction",Ji),Zi=R("action"),tr=R("action.bound",{bound:!0}),nr=R("autoAction",{autoAction:!0}),ir=R("autoAction.bound",{autoAction:!0,bound:!0}),rr=Vt(!1);Object.assign(rr,Zi);var er=Vt(!0);Object.assign(er,nr),rr.bound=_(tr),er.bound=_(ir);var ur=function(t){return t()},or=0;Ut.prototype=Object.create(Error.prototype);var sr=C("flow"),ar=C("flow.bound",{bound:!0}),fr=Object.assign((function(t,n){if(S(n))return sr.t(t,n);if(u(n))return A(t,n,sr);var i=t,r=i.name||"<unnamed flow>",o=function(){var t,n=this,u=arguments,o=++or,s=rr(r+" - runid: "+o+" - init",i).apply(n,u),a=void 0,f=new Promise((function(n,i){function u(t){var n;a=void 0;try{n=rr(r+" - runid: "+o+" - yield "+h++,s.next).call(s,t)}catch(t){return i(t)}c(n)}function f(t){var n;a=void 0;try{n=rr(r+" - runid: "+o+" - yield "+h++,s.throw).call(s,t)}catch(t){return i(t)}c(n)}function c(t){if(!e(null==t?void 0:t.then))return t.done?n(t.value):(a=Promise.resolve(t.value)).then(u,f);t.then(c,i)}var h=0;t=i,u(void 0)}));return f.cancel=rr(r+" - runid: "+o+" - cancel",(function(){try{a&&zt(a);var n=s.return(void 0),i=Promise.resolve(n.value);i.then(fi,fi),zt(i),t(new Ut)}catch(n){t(n)}})),f};return o.isMobXFlow=!0,o}),sr);fr.bound=_(ar);var cr={has:function(t,n){return _n(t).ft(n)},get:function(t,n){return _n(t).ct(n)},set:function(t,n,i){var r;return!!u(n)&&(null==(r=_n(t).st(n,i,!0))||r)},deleteProperty:function(t,n){var i;return!!u(n)&&(null==(i=_n(t).at(n,!0))||i)},defineProperty:function(t,n,i){var r;return null==(r=_n(t).l(n,i))||r},ownKeys:function(t){return _n(t).ht()},preventExtensions:function(){t(13)}},hr=Symbol("mobx-keys"),lr="update",vr={get:function(t,n){var i=t[di];return n===di?i:"length"===n?i.Ft():"string"!=typeof n||isNaN(n)?b(br,n)?br[n]:t[n]:i.ct(parseInt(n))},set:function(t,n,i){var r=t[di];return"length"===n&&r.Ht(i),"symbol"==typeof n||isNaN(n)?t[n]=i:r.st(parseInt(n),i),!0},preventExtensions:function(){t(15)}},dr=function(){function n(t,n,i,r){void 0===t&&(t="ObservableArray"),this.Ut=void 0,this.Xt=void 0,this.yt=void 0,this.O=[],this.vt=void 0,this.dt=void 0,this.zt=void 0,this.dehancer=void 0,this.v=void 0,this.$t=0,this.Ut=i,this.Xt=r,this.yt=new bi(t),this.zt=function(t,i){return n(t,i,"ObservableArray[..]")}}var i=n.prototype;return i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.pt=function(t){return void 0!==this.dehancer&&t.length>0?t.map(this.dehancer):t},i.ut=function(t){return Sn(this,t)},i.lt=function(t,n){return void 0===n&&(n=!1),n&&t({observableKind:"array",object:this.v,debugObjectName:this.yt.et,type:"splice",index:0,added:this.O.slice(),addedCount:this.O.length,removed:[],removedCount:0}),Mn(this,t)},i.Ft=function(){return this.yt.reportObserved(),this.O.length},i.Ht=function(n){("number"!=typeof n||isNaN(n)||n<0)&&t("Out of range: "+n);var i=this.O.length;if(n!==i)if(n>i){for(var r=new Array(n-i),e=0;e<n-i;e++)r[e]=void 0;this.bt(i,0,r)}else this.bt(n,i-n)},i.Yt=function(n,i){n!==this.$t&&t(16),this.$t+=i,this.Xt&&i>0&&Fn(n+i+1)},i.bt=function(t,n,i){var r=this,e=this.O.length;if(void 0===t?t=0:t>e?t=e:t<0&&(t=Math.max(0,e+t)),n=1===arguments.length?e-t:null==n?0:Math.max(0,Math.min(n,e-t)),void 0===i&&(i=ui),An(this)){var u=xn(this,{object:this.v,type:"splice",index:t,removedCount:n,added:i});if(!u)return ui;n=u.removedCount,i=u.added}if(i=0===i.length?i:i.map((function(t){return r.zt(t,void 0)})),this.Xt){var o=i.length-n;this.Yt(e,o)}var s=this.Qt(t,n,i);return 0===n&&0===i.length||this.Zt(t,i,s),this.pt(s)},i.Qt=function(t,n,i){var r;if(i.length<1e4)return(r=this.O).splice.apply(r,[t,n].concat(i));var e=this.O.slice(t,t+n),u=this.O.slice(t+n);this.O.length+=i.length-n;for(var o=0;o<i.length;o++)this.O[t+o]=i[o];for(var s=0;s<u.length;s++)this.O[t+i.length+s]=u[s];return e},i.tn=function(t,n,i){var r=!this.Ut&&!1,e=En(this),u=e||r?{observableKind:"array",object:this.v,type:lr,debugObjectName:this.yt.et,index:t,newValue:n,oldValue:i}:null;this.yt.reportChanged(),e&&Rn(this,u)},i.Zt=function(t,n,i){var r=!this.Ut&&!1,e=En(this),u=e||r?{observableKind:"array",object:this.v,debugObjectName:this.yt.et,type:"splice",index:t,removed:i,added:n,removedCount:i.length,addedCount:n.length}:null;this.yt.reportChanged(),e&&Rn(this,u)},i.ct=function(t){if(!(this.Xt&&t>=this.O.length))return this.yt.reportObserved(),this.Jt(this.O[t]);console.warn("[mobx] Out of bounds read: "+t)},i.st=function(n,i){var r=this.O;if(this.Xt&&n>r.length&&t(17,n,r.length),n<r.length){var e=r[n];if(An(this)){var u=xn(this,{type:lr,object:this.v,index:n,newValue:i});if(!u)return;i=u.newValue}(i=this.zt(i,e))!==e&&(r[n]=i,this.tn(n,i,e))}else{for(var o=new Array(n+1-r.length),s=0;s<o.length-1;s++)o[s]=void 0;o[o.length-1]=i,this.bt(r.length,0,o)}},n}(),br={clear:function(){return this.splice(0)},replace:function(t){var n=this[di];return n.bt(0,n.O.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var i=arguments.length,r=new Array(i>2?i-2:0),e=2;e<i;e++)r[e-2]=arguments[e];var u=this[di];switch(arguments.length){case 0:return[];case 1:return u.bt(t);case 2:return u.bt(t,n)}return u.bt(t,n,r)},spliceWithArray:function(t,n,i){return this[di].bt(t,n,i)},push:function(){for(var t=this[di],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.bt(t.O.length,0,i),t.O.length},pop:function(){return this.splice(Math.max(this[di].O.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[di],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.bt(0,0,i),t.O.length},reverse:function(){return $i.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){$i.trackingDerivation&&t(37,"sort");var n=this.slice();return n.sort.apply(n,arguments),this.replace(n),this},remove:function(t){var n=this[di],i=n.pt(n.O).indexOf(t);return i>-1&&(this.splice(i,1),!0)}};Tn("at",Cn),Tn("concat",Cn),Tn("flat",Cn),Tn("includes",Cn),Tn("indexOf",Cn),Tn("join",Cn),Tn("lastIndexOf",Cn),Tn("slice",Cn),Tn("toString",Cn),Tn("toLocaleString",Cn),Tn("toSorted",Cn),Tn("toSpliced",Cn),Tn("with",Cn),Tn("every",In),Tn("filter",In),Tn("find",In),Tn("findIndex",In),Tn("findLast",In),Tn("findLastIndex",In),Tn("flatMap",In),Tn("forEach",In),Tn("map",In),Tn("some",In),Tn("toReversed",In),Tn("reduce",Ln),Tn("reduceRight",Ln);var yr,pr,mr=h("ObservableArrayAdministration",dr),wr={},Or="add";yr=Symbol.iterator,pr=Symbol.toStringTag;var jr,gr,_r=function(){function n(n,i,r){var u=this;void 0===i&&(i=E),void 0===r&&(r="ObservableMap"),this.zt=void 0,this.et=void 0,this[di]=wr,this.Ot=void 0,this.jt=void 0,this.wt=void 0,this.vt=void 0,this.dt=void 0,this.dehancer=void 0,this.zt=i,this.et=r,e(Map)||t(18),$n((function(){u.wt=x("ObservableMap.keys()"),u.Ot=new Map,u.jt=new Map,n&&u.merge(n)}))}var i=n.prototype;return i.ft=function(t){return this.Ot.has(t)},i.has=function(t){var n=this;if(!$i.trackingDerivation)return this.ft(t);var i=this.jt.get(t);if(!i){var r=i=new Pi(this.ft(t),M,"ObservableMap.key?",!1);this.jt.set(t,r),Pt(r,(function(){return n.jt.delete(t)}))}return i.get()},i.set=function(t,n){var i=this.ft(t);if(An(this)){var r=xn(this,{type:i?lr:Or,object:this,newValue:n,name:t});if(!r)return this;n=r.newValue}return i?this.nn(t,n):this.in(t,n),this},i.delete=function(t){var n=this;if(An(this)&&!xn(this,{type:"delete",object:this,name:t}))return!1;if(this.ft(t)){var i=En(this),r=i?{observableKind:"map",debugObjectName:this.et,type:"delete",object:this,oldValue:this.Ot.get(t)._t,name:t}:null;return wn((function(){var i;n.wt.reportChanged(),null==(i=n.jt.get(t))||i.St(!1),n.Ot.get(t).St(void 0),n.Ot.delete(t)})),i&&Rn(this,r),!0}return!1},i.nn=function(t,n){var i=this.Ot.get(t);if((n=i.At(n))!==$i.UNCHANGED){var r=En(this),e=r?{observableKind:"map",debugObjectName:this.et,type:lr,object:this,oldValue:i._t,name:t,newValue:n}:null;i.St(n),r&&Rn(this,e)}},i.in=function(t,n){var i=this;wn((function(){var r,e=new Pi(n,i.zt,"ObservableMap.key",!1);i.Ot.set(t,e),n=e._t,null==(r=i.jt.get(t))||r.St(!0),i.wt.reportChanged()}));var r=En(this);r&&Rn(this,r?{observableKind:"map",debugObjectName:this.et,type:Or,object:this,name:t,newValue:n}:null)},i.get=function(t){return this.has(t)?this.Jt(this.Ot.get(t).get()):this.Jt(void 0)},i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.keys=function(){return this.wt.reportObserved(),this.Ot.keys()},i.values=function(){var t=this,n=this.keys();return Qn({next:function(){var i=n.next(),r=i.done;return{done:r,value:r?void 0:t.get(i.value)}}})},i.entries=function(){var t=this,n=this.keys();return Qn({next:function(){var i=n.next(),r=i.done,e=i.value;return{done:r,value:r?void 0:[e,t.get(e)]}}})},i[yr]=function(){return this.entries()},i.forEach=function(t,n){for(var i,r=g(this);!(i=r()).done;){var e=i.value;t.call(n,e[1],e[0],this)}},i.merge=function(n){var i=this;return Ar(n)&&(n=new Map(n)),wn((function(){s(n)?function(t){var n=Object.keys(t);if(!ci)return n;var i=Object.getOwnPropertySymbols(t);return i.length?[].concat(n,i.filter((function(n){return ei.propertyIsEnumerable.call(t,n)}))):n}(n).forEach((function(t){return i.set(t,n[t])})):Array.isArray(n)?n.forEach((function(t){return i.set(t[0],t[1])})):l(n)?(n.constructor!==Map&&t(19,n),n.forEach((function(t,n){return i.set(n,t)}))):null!=n&&t(20,n)})),this},i.clear=function(){var t=this;wn((function(){lt((function(){for(var n,i=g(t.keys());!(n=i()).done;)t.delete(n.value)}))}))},i.replace=function(n){var i=this;return wn((function(){for(var r,e=function(n){if(l(n)||Ar(n))return n;if(Array.isArray(n))return new Map(n);if(s(n)){var i=new Map;for(var r in n)i.set(r,n[r]);return i}return t(21,n)}(n),u=new Map,o=!1,a=g(i.Ot.keys());!(r=a()).done;){var f=r.value;if(!e.has(f))if(i.delete(f))o=!0;else{var c=i.Ot.get(f);u.set(f,c)}}for(var h,v=g(e.entries());!(h=v()).done;){var d=h.value,b=d[0],y=d[1],p=i.Ot.has(b);if(i.set(b,y),i.Ot.has(b)){var m=i.Ot.get(b);u.set(b,m),p||(o=!0)}}if(!o)if(i.Ot.size!==u.size)i.wt.reportChanged();else for(var w=i.Ot.keys(),O=u.keys(),j=w.next(),_=O.next();!j.done;){if(j.value!==_.value){i.wt.reportChanged();break}j=w.next(),_=O.next()}i.Ot=u})),this},i.toString=function(){return"[object ObservableMap]"},i.toJSON=function(){return Array.from(this)},i.lt=function(t){return Mn(this,t)},i.ut=function(t){return Sn(this,t)},p(n,[{key:"size",get:function(){return this.wt.reportObserved(),this.Ot.size}},{key:pr,get:function(){return"Map"}}]),n}(),Ar=h("ObservableMap",_r),Sr={};jr=Symbol.iterator,gr=Symbol.toStringTag;var xr,Er,Mr=function(){function n(n,i,r){var u=this;void 0===i&&(i=E),void 0===r&&(r="ObservableSet"),this.et=void 0,this[di]=Sr,this.Ot=new Set,this.yt=void 0,this.dt=void 0,this.vt=void 0,this.dehancer=void 0,this.zt=void 0,this.et=r,e(Set)||t(22),this.zt=function(t,n){return i(t,n,r)},$n((function(){u.yt=x(u.et),n&&u.replace(n)}))}var i=n.prototype;return i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.clear=function(){var t=this;wn((function(){lt((function(){for(var n,i=g(t.Ot.values());!(n=i()).done;)t.delete(n.value)}))}))},i.forEach=function(t,n){for(var i,r=g(this);!(i=r()).done;){var e=i.value;t.call(n,e,e,this)}},i.add=function(t){var n=this;if(An(this)&&!xn(this,{type:Or,object:this,newValue:t}))return this;if(!this.has(t)){wn((function(){n.Ot.add(n.zt(t,void 0)),n.yt.reportChanged()}));var i=En(this);i&&Rn(this,i?{observableKind:"set",debugObjectName:this.et,type:Or,object:this,newValue:t}:null)}return this},i.delete=function(t){var n=this;if(An(this)&&!xn(this,{type:"delete",object:this,oldValue:t}))return!1;if(this.has(t)){var i=En(this),r=i?{observableKind:"set",debugObjectName:this.et,type:"delete",object:this,oldValue:t}:null;return wn((function(){n.yt.reportChanged(),n.Ot.delete(t)})),i&&Rn(this,r),!0}return!1},i.has=function(t){return this.yt.reportObserved(),this.Ot.has(this.Jt(t))},i.entries=function(){var t=0,n=Array.from(this.keys()),i=Array.from(this.values());return Qn({next:function(){var r=t;return t+=1,r<i.length?{value:[n[r],i[r]],done:!1}:{done:!0}}})},i.keys=function(){return this.values()},i.values=function(){this.yt.reportObserved();var t=this,n=0,i=Array.from(this.Ot.values());return Qn({next:function(){return n<i.length?{value:t.Jt(i[n++]),done:!1}:{done:!0}}})},i.replace=function(n){var i=this;return Rr(n)&&(n=new Set(n)),wn((function(){Array.isArray(n)||v(n)?(i.clear(),n.forEach((function(t){return i.add(t)}))):null!=n&&t("Cannot initialize set from "+n)})),this},i.lt=function(t){return Mn(this,t)},i.ut=function(t){return Sn(this,t)},i.toJSON=function(){return Array.from(this)},i.toString=function(){return"[object ObservableSet]"},i[jr]=function(){return this.values()},p(n,[{key:"size",get:function(){return this.yt.reportObserved(),this.Ot.size}},{key:gr,get:function(){return"Set"}}]),n}(),Rr=h("ObservableSet",Mr),Nr=Object.create(null),Vr=function(){function n(t,n,i,r){void 0===n&&(n=new Map),void 0===r&&(r=wi),this.h=void 0,this.O=void 0,this.et=void 0,this.rn=void 0,this.wt=void 0,this.dt=void 0,this.vt=void 0,this.v=void 0,this.p=void 0,this.en=void 0,this.un=void 0,this.h=t,this.O=n,this.et=i,this.rn=r,this.wt=new bi("ObservableObject.keys"),this.p=s(this.h)}var i=n.prototype;return i.j=function(t){return this.O.get(t).get()},i._=function(t,n){var i=this.O.get(t);if(i instanceof Wi)return i.set(n),!0;if(An(this)){var r=xn(this,{type:lr,object:this.v||this.h,name:t,newValue:n});if(!r)return null;n=r.newValue}if((n=i.At(n))!==$i.UNCHANGED){var e=En(this),u=e?{type:lr,observableKind:"object",debugObjectName:this.et,object:this.v||this.h,oldValue:i._t,name:t,newValue:n}:null;i.St(n),e&&Rn(this,u)}return!0},i.ct=function(t){return $i.trackingDerivation&&!b(this.h,t)&&this.ft(t),this.h[t]},i.st=function(t,n,i){return void 0===i&&(i=!1),b(this.h,t)?this.O.has(t)?this._(t,n):i?Reflect.set(this.h,t,n):(this.h[t]=n,!0):this.s(t,{value:n,enumerable:!0,writable:!0,configurable:!0},this.rn,i)},i.ft=function(t){if(!$i.trackingDerivation)return t in this.h;this.un||(this.un=new Map);var n=this.un.get(t);return n||(n=new Pi(t in this.h,M,"ObservableObject.key?",!1),this.un.set(t,n)),n.get()},i.o=function(n,i){if(!0===i&&(i=this.rn),!1!==i){if(!(n in this.h)){var r;if(null!=(r=this.h[vi])&&r[n])return;t(1,i.i,this.et+"."+n.toString())}for(var e=this.h;e&&e!==ei;){var u=ii(e,n);if(u){var o=i.o(this,n,u,e);if(0===o)return;if(1===o)break}e=Object.getPrototypeOf(e)}Gn(this,0,n)}},i.s=function(t,n,i,r){if(void 0===r&&(r=!1),!0===i&&(i=this.rn),!1===i)return this.l(t,n,r);var e=i.s(this,t,n,r);return e&&Gn(this,0,t),e},i.l=function(t,n,i){void 0===i&&(i=!1);try{_t();var r=this.at(t);if(!r)return r;if(An(this)){var e=xn(this,{object:this.v||this.h,name:t,type:Or,newValue:n.value});if(!e)return null;var u=e.newValue;n.value!==u&&(n=m({},n,{value:u}))}if(i){if(!Reflect.defineProperty(this.h,t,n))return!1}else ri(this.h,t,n);this.on(t,n.value)}finally{At()}return!0},i.g=function(t,n,i,r){void 0===r&&(r=!1);try{_t();var e=this.at(t);if(!e)return e;if(An(this)){var u=xn(this,{object:this.v||this.h,name:t,type:Or,newValue:n});if(!u)return null;n=u.newValue}var o=Dn(t),s={configurable:!$i.safeDescriptors||this.p,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.h,t,s))return!1}else ri(this.h,t,s);var a=new Pi(n,i,"ObservableObject.key",!1);this.O.set(t,a),this.on(t,a._t)}finally{At()}return!0},i.m=function(t,n,i){void 0===i&&(i=!1);try{_t();var r=this.at(t);if(!r)return r;if(An(this)&&!xn(this,{object:this.v||this.h,name:t,type:Or,newValue:void 0}))return null;n.name||(n.name="ObservableObject.key"),n.context=this.v||this.h;var e=Dn(t),u={configurable:!$i.safeDescriptors||this.p,enumerable:!1,get:e.get,set:e.set};if(i){if(!Reflect.defineProperty(this.h,t,u))return!1}else ri(this.h,t,u);this.O.set(t,new Wi(n)),this.on(t,void 0)}finally{At()}return!0},i.at=function(t,n){if(void 0===n&&(n=!1),!b(this.h,t))return!0;if(An(this)&&!xn(this,{object:this.v||this.h,name:t,type:"remove"}))return null;try{var i,r;_t();var e,u=En(this),o=this.O.get(t),s=void 0;if(!o&&u&&(s=null==(e=ii(this.h,t))?void 0:e.value),n){if(!Reflect.deleteProperty(this.h,t))return!1}else delete this.h[t];o&&(this.O.delete(t),o instanceof Pi&&(s=o._t),xt(o)),this.wt.reportChanged(),null==(i=this.un)||null==(r=i.get(t))||r.set(t in this.h),u&&u&&Rn(this,{type:"remove",observableKind:"object",object:this.v||this.h,debugObjectName:this.et,oldValue:s,name:t})}finally{At()}return!0},i.lt=function(t){return Mn(this,t)},i.ut=function(t){return Sn(this,t)},i.on=function(t,n){var i,r,e=En(this);e&&e&&Rn(this,e?{type:Or,observableKind:"object",debugObjectName:this.et,object:this.v||this.h,name:t,newValue:n}:null),null==(i=this.un)||null==(r=i.get(t))||r.set(!0),this.wt.reportChanged()},i.ht=function(){return this.wt.reportObserved(),hi(this.h)},i.ot=function(){return this.wt.reportObserved(),Object.keys(this.h)},n}(),kr=h("ObservableObjectAdministration",Vr),Tr=Wn(0),Cr=function(){var t=!1,n={};return Object.defineProperty(n,"0",{set:function(){t=!0}}),Object.create(n)[0]=1,!1===t}(),Ir=0,Lr=function(){};xr=Lr,Er=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(xr.prototype,Er):void 0!==xr.prototype.__proto__?xr.prototype.__proto__=Er:xr.prototype=Er;var Kr=function(t,n,i){function r(n,i,r,e){var u;return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),u=t.call(this)||this,$n((function(){var t=new dr(r,i,e,!0);t.v=O(u),c(O(u),di,t),n&&n.length&&u.spliceWithArray(0,0,n),Cr&&Object.defineProperty(O(u),"0",Tr)})),u}w(r,t);var e=r.prototype;return e.concat=function(){this[di].yt.reportObserved();for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return Array.prototype.concat.apply(this.slice(),n.map((function(t){return Kn(t)?t.slice():t})))},e[i]=function(){var t=this,n=0;return Qn({next:function(){return n<t.length?{value:t[n++],done:!1}:{done:!0,value:void 0}}})},p(r,[{key:"length",get:function(){return this[di].Ft()},set:function(t){this[di].Ht(t)}},{key:n,get:function(){return"Array"}}]),r}(Lr,Symbol.toStringTag,Symbol.iterator);Object.entries(br).forEach((function(t){var n=t[0];"concat"!==n&&f(Kr.prototype,n,t[1])})),Fn(1e3);var Pr=ei.toString;["Symbol","Map","Set"].forEach((function(i){void 0===n()[i]&&t("MobX requires global '"+i+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Nt,extras:{getDebugName:zn},$mobx:di});export{di as $mobx,Ut as FlowCancellationError,_r as ObservableMap,Mr as ObservableSet,Ji as Reaction,et as _allowStateChanges,kt as _allowStateChangesInsideComputed,yt as _allowStateReadsEnd,bt as _allowStateReadsStart,er as _autoAction,rt as _endAction,Xn as _getAdministration,mt as _getGlobalState,Yt as _interceptReads,ft as _isComputingDerivation,wt as _resetGlobalState,it as _startAction,rr as action,Ct as autorun,pi as comparer,Vi as computed,Bt as configure,x as createAtom,vn as defineProperty,an as entries,Gt as extendObservable,fr as flow,$t as flowResult,ln as get,Un as getAtom,zn as getDebugName,Wt as getDependencyTree,Ft as getObserverTree,hn as has,Qt as intercept,Tt as isAction,Di as isBoxedObservable,tn as isComputed,nn as isComputedProp,Jt as isFlow,Xt as isFlowCancellationError,en as isObservable,Kn as isObservableArray,Ar as isObservableMap,Bn as isObservableObject,un as isObservableProp,Rr as isObservableSet,on as keys,Vn as makeAutoObservable,Nn as makeObservable,Mi as observable,bn as observe,Kt as onBecomeObserved,Pt as onBecomeUnobserved,Et as onReactionError,mi as override,dn as ownKeys,Lt as reaction,cn as remove,kt as runInAction,fn as set,Nt as spy,pn as toJS,mn as trace,wn as transaction,lt as untracked,sn as values,On as when};
function t(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];throw new Error("number"==typeof t?"[MobX] minified error nr: "+t+(i.length?" "+i.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+t)}function n(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:ii}function i(){fi||t("Proxy not available")}function r(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function e(t){return"function"==typeof t}function u(t){switch(typeof t){case"string":case"symbol":case"number":return!0}return!1}function o(t){return null!==t&&"object"==typeof t}function s(t){if(!o(t))return!1;var n=Object.getPrototypeOf(t);if(null==n)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i.toString()===ci}function a(t){var n=null==t?void 0:t.constructor;return!!n&&("GeneratorFunction"===n.name||"GeneratorFunction"===n.displayName)}function f(t,n,i){ui(t,n,{enumerable:!1,writable:!0,configurable:!0,value:i})}function c(t,n,i){ui(t,n,{enumerable:!1,writable:!1,configurable:!0,value:i})}function h(t,n){var i="isMobX"+t;return n.prototype[i]=!0,function(t){return o(t)&&!0===t[i]}}function l(t){return t instanceof Map}function v(t){return t instanceof Set}function d(t){return null===t?null:"object"==typeof t?""+t:t}function b(t,n){return oi.hasOwnProperty.call(t,n)}function y(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,"symbol"==typeof(e=function(t){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key))?e:String(e),r)}var e}function p(t,n,i){return n&&y(t.prototype,n),i&&y(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(){return(m=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function w(t,n){var i,r;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,i=t,r=n,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t})(i,r)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function g(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t){if(t){if("string"==typeof t)return j(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(t,void 0):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[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 _(t){return Object.assign((function(n,i){if(S(i))return t.t(n,i);A(n,i,t)}),t)}function A(t,n,i){b(t,bi)||f(t,bi,m({},t[bi])),function(t){return"override"===t.i}(i)||(t[bi][n]=i)}function S(t){return"object"==typeof t&&"string"==typeof t.kind}function x(t,n,i){void 0===n&&(n=hi),void 0===i&&(i=hi);var r=new pi(t);return n!==hi&&Bt(r,n),i!==hi&&Dt(r,i),r}function E(t,n,i){return on(t)?t:Array.isArray(t)?Ni.array(t,{name:i}):s(t)?Ni.object(t,void 0,{name:i}):l(t)?Ni.map(t,{name:i}):v(t)?Ni.set(t,{name:i}):"function"!=typeof t||It(t)||Qt(t)?t:a(t)?hr(t):or(i,t)}function R(t){return t}function M(t,n){return{i:t,u:n,o:N,s:k,t:V}}function N(t,n,i,r){var e;if(null!=(e=this.u)&&e.bound)return null===this.s(t,n,i,!1)?0:1;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(It(i.value))return 1;var u=T(t,this,n,i,!1);return ui(r,n,u),2}function k(t,n,i,r){var e=T(t,this,n,i);return t.l(n,e,r)}function V(n,i){var r=i.kind,e=i.name,u=i.addInitializer,o=this;if("field"!=r){var s,a,f,c,h,l;if("method"==r)return It(n)||(a=n,n=tt(null!=(f=null==(c=o.u)?void 0:c.name)?f:e.toString(),a,null!=(h=null==(l=o.u)?void 0:l.autoAction)&&h)),null!=(s=this.u)&&s.bound&&u((function(){var t=this[e].bind(this);t.isMobxAction=!0,this[e]=t})),n;t("Cannot apply '"+o.i+"' to '"+String(e)+"' (kind: "+r+"):\n'"+o.i+"' can only be used on properties with a function value.")}else u((function(){A(this,e,o)}))}function T(t,n,i,r,e){var u,o,s,a,f,c,h;void 0===e&&(e=Yi.safeDescriptors);var l,v=r.value;return null!=(u=n.u)&&u.bound&&(v=v.bind(null!=(l=t.v)?l:t.h)),{value:tt(null!=(o=null==(s=n.u)?void 0:s.name)?o:i.toString(),v,null!=(a=null==(f=n.u)?void 0:f.autoAction)&&a,null!=(c=n.u)&&c.bound?null!=(h=t.v)?h:t.h:void 0),configurable:!e||t.p,enumerable:!1,writable:!e}}function C(t,n){return{i:t,u:n,o:I,s:L,t:P}}function I(t,n,i,r){var e;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(null!=(e=this.u)&&e.bound&&(!b(t.h,n)||!Qt(t.h[n]))&&null===this.s(t,n,i,!1))return 0;if(Qt(i.value))return 1;var u=K(t,0,0,i,!1,!1);return ui(r,n,u),2}function L(t,n,i,r){var e,u=K(t,0,0,i,null==(e=this.u)?void 0:e.bound);return t.l(n,u,r)}function P(t,n){var i,r=n.name,e=n.addInitializer;return Qt(t)||(t=hr(t)),null!=(i=this.u)&&i.bound&&e((function(){var t=this[r].bind(this);t.isMobXFlow=!0,this[r]=t})),t}function K(t,n,i,r,e,u){void 0===u&&(u=Yi.safeDescriptors);var o,s=r.value;return Qt(s)||(s=hr(s)),e&&((s=s.bind(null!=(o=t.v)?o:t.h)).isMobXFlow=!0),{value:s,configurable:!u||t.p,enumerable:!1,writable:!u}}function B(t,n){return{i:t,u:n,o:D,s:G,t:W}}function D(t,n,i){return null===this.s(t,n,i,!1)?0:1}function G(t,n,i,r){return t.m(n,m({},this.u,{get:i.get,set:i.set}),r)}function W(t,n){var i=this,r=n.name;return(0,n.addInitializer)((function(){var n=Dn(this)[yi],e=m({},i.u,{get:t,context:this});e.name||(e.name="ObservableObject."+r.toString()),n.O.set(r,new Wi(e))})),function(){return this[yi].j(r)}}function q(t,n){return{i:t,u:n,o:F,s:H,t:U}}function F(t,n,i){return null===this.s(t,n,i,!1)?0:1}function H(t,n,i,r){var e,u;return t.g(n,i.value,null!=(e=null==(u=this.u)?void 0:u.enhancer)?e:E,r)}function U(t,n){function i(t,n){var i,e,s=Dn(t)[yi],a=new Di(n,null!=(i=null==(e=r.u)?void 0:e.enhancer)?i:E,"ObservableObject."+u.toString(),!1);s.O.set(u,a),o.add(t)}var r=this,e=n.kind,u=n.name,o=new WeakSet;if("accessor"==e)return{get:function(){return o.has(this)||i(this,t.get.call(this)),this[yi].j(u)},set:function(t){return o.has(this)||i(this,t),this[yi]._(u,t)},init:function(t){return o.has(this)||i(this,t),t}}}function X(t){return{i:"true",u:t,o:z,s:$,t:J}}function z(t,n,i,r){var e,u,o,s;if(i.get)return Ti.o(t,n,i,r);if(i.set){var f=tt(n.toString(),i.set);return r===t.h?null===t.l(n,{configurable:!Yi.safeDescriptors||t.p,set:f})?0:2:(ui(r,n,{configurable:!0,set:f}),2)}if(r!==t.h&&"function"==typeof i.value)return a(i.value)?(null!=(s=this.u)&&s.autoBind?hr.bound:hr).o(t,n,i,r):(null!=(o=this.u)&&o.autoBind?or.bound:or).o(t,n,i,r);var c,h=!1===(null==(e=this.u)?void 0:e.deep)?Ni.ref:Ni;return"function"==typeof i.value&&null!=(u=this.u)&&u.autoBind&&(i.value=i.value.bind(null!=(c=t.v)?c:t.h)),h.o(t,n,i,r)}function $(t,n,i,r){var e,u,o;return i.get?Ti.s(t,n,i,r):i.set?t.l(n,{configurable:!Yi.safeDescriptors||t.p,set:tt(n.toString(),i.set)},r):("function"==typeof i.value&&null!=(e=this.u)&&e.autoBind&&(i.value=i.value.bind(null!=(o=t.v)?o:t.h)),(!1===(null==(u=this.u)?void 0:u.deep)?Ni.ref:Ni).s(t,n,i,r))}function J(){t("'"+this.i+"' cannot be used as a decorator")}function Y(t){return t||gi}function Q(t){return!0===t.deep?E:!1===t.deep?R:(n=t.defaultDecorator)&&null!=(i=null==(r=n.u)?void 0:r.enhancer)?i:E;var n,i,r}function Z(t,n,i){return S(n)?_i.t(t,n):u(n)?void A(t,n,_i):on(t)?t:s(t)?Ni.object(t,n,i):Array.isArray(t)?Ni.array(t,n):l(t)?Ni.map(t,n):v(t)?Ni.set(t,n):"object"==typeof t&&null!==t?t:Ni.box(t,n)}function tt(t,n,i,r){function e(){return nt(0,i,n,r||this,arguments)}return void 0===i&&(i=!1),e.isMobxAction=!0,e.toString=function(){return n.toString()},Pi&&(Ki.value=t,ui(e,"name",Ki)),e}function nt(t,n,i,r,e){var u=it(0,n);try{return i.apply(r,e)}catch(t){throw u.A=t,t}finally{rt(u)}}function it(t,n){var i=Yi.trackingDerivation,r=!n||!i;St();var e=Yi.allowStateChanges;r&&(bt(),e=ut(!0));var u={S:r,R:i,M:e,N:pt(!0),k:!1,V:0,T:Li++,C:Ii};return Ii=u.T,u}function rt(n){Ii!==n.T&&t(30),Ii=n.C,void 0!==n.A&&(Yi.suppressReactionErrors=!0),ot(n.M),mt(n.N),xt(),n.S&&yt(n.R),Yi.suppressReactionErrors=!1}function et(t,n){var i=ut(t);try{return n()}finally{ot(i)}}function ut(t){var n=Yi.allowStateChanges;return Yi.allowStateChanges=t,n}function ot(t){Yi.allowStateChanges=t}function st(t,n){return!!(t&n)}function at(t,n,i){return i?t|=n:t&=~n,t}function ft(t){return t instanceof Ui}function ct(t){switch(t.I){case qi.L:return!1;case qi.P:case qi.K:return!0;case qi.B:for(var n=pt(!0),i=bt(),r=t.D,e=r.length,u=0;u<e;u++){var o=r[u];if(Hi(o)){if(Yi.disableErrorBoundaries)o.get();else try{o.get()}catch(t){return yt(i),mt(n),!0}if(t.I===qi.K)return yt(i),mt(n),!0}}return wt(t),yt(i),mt(n),!1}}function ht(){return null!==Yi.trackingDerivation}function lt(t,n,i){var r=pt(!0);wt(t),t.G=new Array(0===t.W?100:t.D.length),t.q=0,t.W=++Yi.runId;var e,u=Yi.trackingDerivation;if(Yi.trackingDerivation=t,Yi.inBatch++,!0===Yi.disableErrorBoundaries)e=n.call(i);else try{e=n.call(i)}catch(t){e=new Ui(t)}return Yi.inBatch--,Yi.trackingDerivation=u,function(t){for(var n=t.D,i=t.D=t.G,r=qi.L,e=0,u=t.q,o=0;o<u;o++){var s=i[o];0===s.F&&(s.F=1,e!==o&&(i[e]=s),e++),s.I>r&&(r=s.I)}for(i.length=e,t.G=null,u=n.length;u--;){var a=n[u];0===a.F&&_t(a,t),a.F=0}for(;e--;){var f=i[e];1===f.F&&(f.F=0,gt(f,t))}r!==qi.L&&(t.I=r,t.H())}(t),mt(r),e}function vt(t){var n=t.D;t.D=[];for(var i=n.length;i--;)_t(n[i],t);t.I=qi.P}function dt(t){var n=bt();try{return t()}finally{yt(n)}}function bt(){var t=Yi.trackingDerivation;return Yi.trackingDerivation=null,t}function yt(t){Yi.trackingDerivation=t}function pt(t){var n=Yi.allowStateReads;return Yi.allowStateReads=t,n}function mt(t){Yi.allowStateReads=t}function wt(t){if(t.I!==qi.L){t.I=qi.L;for(var n=t.D,i=n.length;i--;)n[i].U=qi.L}}function Ot(){return Yi}function jt(){var t=new zi;for(var n in t)-1===Xi.indexOf(n)&&(Yi[n]=t[n]);Yi.allowStateChanges=!Yi.enforceActions}function gt(t,n){t.X.add(n),t.U>n.I&&(t.U=n.I)}function _t(t,n){t.X.delete(n),0===t.X.size&&At(t)}function At(t){!1===t.isPendingUnobservation&&(t.isPendingUnobservation=!0,Yi.pendingUnobservations.push(t))}function St(){Yi.inBatch++}function xt(){if(0==--Yi.inBatch){Nt();for(var t=Yi.pendingUnobservations,n=0;n<t.length;n++){var i=t[n];i.isPendingUnobservation=!1,0===i.X.size&&(i.isBeingObserved&&(i.isBeingObserved=!1,i.onBUO()),i instanceof Wi&&i.$())}Yi.pendingUnobservations=[]}}function Et(t){var n=Yi.trackingDerivation;return null!==n?(n.W!==t.J&&(t.J=n.W,n.G[n.q++]=t,!t.isBeingObserved&&Yi.trackingContext&&(t.isBeingObserved=!0,t.onBO())),t.isBeingObserved):(0===t.X.size&&Yi.inBatch>0&&At(t),!1)}function Rt(t){t.U!==qi.K&&(t.U=qi.K,t.X.forEach((function(t){t.I===qi.L&&t.H(),t.I=qi.K})))}function Mt(t){return Yi.globalReactionErrorHandlers.push(t),function(){var n=Yi.globalReactionErrorHandlers.indexOf(t);n>=0&&Yi.globalReactionErrorHandlers.splice(n,1)}}function Nt(){Yi.inBatch>0||Yi.isRunningReactions||Zi(kt)}function kt(){Yi.isRunningReactions=!0;for(var t=Yi.pendingReactions,n=0;t.length>0;){100==++n&&(console.error("[mobx] cycle in reaction: "+t[0]),t.splice(0));for(var i=t.splice(0),r=0,e=i.length;r<e;r++)i[r].Y()}Yi.isRunningReactions=!1}function Vt(){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function Tt(t){return function(n,i){return e(n)?tt(n.name||"<unnamed action>",n,t):e(i)?tt(n,i,t):S(i)?(t?rr:nr).t(n,i):u(i)?A(n,i,t?rr:nr):u(n)?_(M(t?"autoAction":"action",{name:n,autoAction:t})):void 0}}function Ct(t){return nt(0,!1,t,this,void 0)}function It(t){return e(t)&&!0===t.isMobxAction}function Lt(t,n){function i(){t(a)}var r,e,u,o,s;void 0===n&&(n=ai);var a,f=null!=(r=null==(e=n)?void 0:e.name)?r:"Autorun";if(n.scheduler||n.delay){var c=Pt(n),h=!1;a=new Qi(f,(function(){h||(h=!0,c((function(){h=!1,a.Z||a.track(i)})))}),n.onError,n.requiresObservable)}else a=new Qi(f,(function(){this.track(i)}),n.onError,n.requiresObservable);return null!=(u=n)&&null!=(o=u.signal)&&o.aborted||a.tt(),a.nt(null==(s=n)?void 0:s.signal)}function Pt(t){return t.scheduler?t.scheduler:t.delay?function(n){return setTimeout(n,t.delay)}:sr}function Kt(t,n,i){function r(){if(y=!1,!m.Z){var n=!1,r=c;m.track((function(){var i=et(!1,(function(){return t(m)}));n=b||!p(c,i),c=i})),(b&&i.fireImmediately||!b&&n)&&l(c,r,m),b=!1}}var e,u,o,s;void 0===i&&(i=ai);var a,f,c,h=null!=(e=i.name)?e:"Reaction",l=ur(h,i.onError?(a=i.onError,f=n,function(){try{return f.apply(this,arguments)}catch(t){a.call(this,t)}}):n),v=!i.scheduler&&!i.delay,d=Pt(i),b=!0,y=!1,p=i.compareStructural?wi.structural:i.equals||wi.default,m=new Qi(h,(function(){b||v?r():y||(y=!0,d(r))}),i.onError,i.requiresObservable);return null!=(u=i)&&null!=(o=u.signal)&&o.aborted||m.tt(),m.nt(null==(s=i)?void 0:s.signal)}function Bt(t,n,i){return Gt("onBO",t,n,i)}function Dt(t,n,i){return Gt("onBUO",t,n,i)}function Gt(t,n,i,r){var u="function"==typeof r?zn(n,i):zn(n),o=e(r)?r:i,s=t+"L";return u[s]?u[s].add(o):u[s]=new Set([o]),function(){var t=u[s];t&&(t.delete(o),0===t.size&&delete u[s])}}function Wt(i){!0===i.isolateGlobalState&&function(){if((Yi.pendingReactions.length||Yi.inBatch||Yi.isRunningReactions)&&t(36),Ji=!0,$i){var i=n();0==--i.__mobxInstanceCount&&(i.__mobxGlobals=void 0),Yi=new zi}}();var r,e,u=i.useProxies,o=i.enforceActions;if(void 0!==u&&(Yi.useProxies="always"===u||"never"!==u&&"undefined"!=typeof Proxy),"ifavailable"===u&&(Yi.verifyProxies=!0),void 0!==o){var s="always"===o?"always":"observed"===o;Yi.enforceActions=s,Yi.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in i&&(Yi[t]=!!i[t])})),Yi.allowStateReads=!Yi.observableRequiresReaction,i.reactionScheduler&&(r=i.reactionScheduler,e=Zi,Zi=function(t){return r((function(){return e(t)}))})}function qt(t,n,i,r){var e=di(n);return Yn((function(){var n=Dn(t,r)[yi];vi(e).forEach((function(t){n.s(t,e[t],!i||!(t in i)||i[t])}))})),t}function Ft(t,n){return Ht(zn(t,n))}function Ht(t){var n,i={name:t.it};return t.D&&t.D.length>0&&(i.dependencies=(n=t.D,Array.from(new Set(n))).map(Ht)),i}function Ut(t,n){return Xt(zn(t,n))}function Xt(t){var n={name:t.it};return function(t){return t.X&&t.X.size>0}(t)&&(n.observers=Array.from(function(t){return t.X}(t)).map(Xt)),n}function zt(){this.message="FLOW_CANCELLED"}function $t(t){return t instanceof zt}function Jt(t){e(t.cancel)&&t.cancel()}function Yt(t){return t}function Qt(t){return!0===(null==t?void 0:t.isMobXFlow)}function Zt(t,n,i){var r;return xr(t)||Bn(t)||Gi(t)?r=$n(t):Wn(t)&&(r=$n(t,n)),r.dehancer="function"==typeof n?n:i,function(){r.dehancer=void 0}}function tn(t,n,i){return e(i)?function(t,n,i){return $n(t,n).rt(i)}(t,n,i):function(t,n){return $n(t).rt(n)}(t,n)}function nn(t,n){if(void 0===n)return Hi(t);if(!1===Wn(t))return!1;if(!t[yi].O.has(n))return!1;var i=zn(t,n);return Hi(i)}function rn(t){return nn(t)}function en(t,n){return nn(t,n)}function un(t,n){return!!t&&(void 0!==n?!!Wn(t)&&t[yi].O.has(n):Wn(t)||!!t[yi]||mi(t)||tr(t)||Hi(t))}function on(t){return un(t)}function sn(t,n){return un(t,n)}function an(n){return Wn(n)?n[yi].et():xr(n)||kr(n)?Array.from(n.keys()):Bn(n)?n.map((function(t,n){return n})):void t(5)}function fn(n){return Wn(n)?an(n).map((function(t){return n[t]})):xr(n)?an(n).map((function(t){return n.get(t)})):kr(n)?Array.from(n.values()):Bn(n)?n.slice():void t(6)}function cn(n){return Wn(n)?an(n).map((function(t){return[t,n[t]]})):xr(n)?an(n).map((function(t){return[t,n.get(t)]})):kr(n)?Array.from(n.entries()):Bn(n)?n.map((function(t,n){return[n,t]})):void t(7)}function hn(n,i,r){if(2!==arguments.length||kr(n))Wn(n)?n[yi].ut(i,r):xr(n)?n.set(i,r):kr(n)?n.add(i):Bn(n)?("number"!=typeof i&&(i=parseInt(i,10)),i<0&&t("Invalid index: '"+i+"'"),St(),i>=n.length&&(n.length=i+1),n[i]=r,xt()):t(8);else{St();var e=i;try{for(var u in e)hn(n,u,e[u])}finally{xt()}}}function ln(n,i){Wn(n)?n[yi].ot(i):xr(n)||kr(n)?n.delete(i):Bn(n)?("number"!=typeof i&&(i=parseInt(i,10)),n.splice(i,1)):t(9)}function vn(n,i){return Wn(n)?n[yi].st(i):xr(n)||kr(n)?n.has(i):Bn(n)?i>=0&&i<n.length:void t(10)}function dn(n,i){if(vn(n,i))return Wn(n)?n[yi].ft(i):xr(n)?n.get(i):Bn(n)?n[i]:void t(11)}function bn(n,i,r){if(Wn(n))return n[yi].l(i,r);t(39)}function yn(n){if(Wn(n))return n[yi].ct();t(38)}function pn(t,n,i,r){return e(i)?function(t,n,i,r){return $n(t,n).ht(i,r)}(t,n,i,r):function(t,n,i){return $n(t).ht(n,i)}(t,n,i)}function mn(t,n,i){return t.set(n,i),i}function wn(t){return function t(n,i){if(null==n||"object"!=typeof n||n instanceof Date||!on(n))return n;if(Gi(n)||Hi(n))return t(n.get(),i);if(i.has(n))return i.get(n);if(Bn(n)){var r=mn(i,n,new Array(n.length));return n.forEach((function(n,e){r[e]=t(n,i)})),r}if(kr(n)){var e=mn(i,n,new Set);return n.forEach((function(n){e.add(t(n,i))})),e}if(xr(n)){var u=mn(i,n,new Map);return n.forEach((function(n,r){u.set(r,t(n,i))})),u}var o=mn(i,n,{});return yn(n).forEach((function(r){oi.propertyIsEnumerable.call(n,r)&&(o[r]=t(n[r],i))})),o}(t,new Map)}function On(){}function jn(t,n){void 0===n&&(n=void 0),St();try{return t.apply(n)}finally{xt()}}function gn(t,n,i){return 1===arguments.length||n&&"object"==typeof n?An(t,n):_n(t,n,i||{})}function _n(t,n,i){var r;if("number"==typeof i.timeout){var e=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!o[yi].Z){if(o(),!i.onError)throw e;i.onError(e)}}),i.timeout)}i.name="When";var u=tt("When-effect",n),o=Lt((function(n){et(!1,t)&&(n.dispose(),r&&clearTimeout(r),u())}),i);return o}function An(t,n){var i,r,e;if(null!=n&&null!=(i=n.signal)&&i.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var u=new Promise((function(i,u){var o,s=_n(t,i,m({},n,{onError:u}));r=function(){s(),u(new Error("WHEN_CANCELLED"))},e=function(){s(),u(new Error("WHEN_ABORTED"))},null==n||null==(o=n.signal)||null==o.addEventListener||o.addEventListener("abort",e)})).finally((function(){var t;return null==n||null==(t=n.signal)||null==t.removeEventListener?void 0:t.removeEventListener("abort",e)}));return u.cancel=r,u}function Sn(t){return t[yi]}function xn(t){return void 0!==t.lt&&t.lt.length>0}function En(t,n){var i=t.lt||(t.lt=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function Rn(n,i){var r=bt();try{for(var e=[].concat(n.lt||[]),u=0,o=e.length;u<o&&((i=e[u](i))&&!i.type&&t(14),i);u++);return i}finally{yt(r)}}function Mn(t){return void 0!==t.vt&&t.vt.length>0}function Nn(t,n){var i=t.vt||(t.vt=[]);return i.push(n),r((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function kn(t,n){var i=bt(),r=t.vt;if(r){for(var e=0,u=(r=r.slice()).length;e<u;e++)r[e](n);yt(i)}}function Vn(t,n,i){return Yn((function(){var r=Dn(t,i)[yi];null!=n||(n=function(t){return b(t,bi)||f(t,bi,m({},t[bi])),t[bi]}(t)),vi(n).forEach((function(t){return r.o(t,n[t])}))})),t}function Tn(t,n,i){return s(t)?qt(t,t,n,i):(Yn((function(){var r=Dn(t,i)[yi];if(!t[vr]){var e=Object.getPrototypeOf(t),u=new Set([].concat(vi(t),vi(e)));u.delete("constructor"),u.delete(yi),f(e,vr,u)}t[vr].forEach((function(t){return r.o(t,!n||!(t in n)||n[t])}))})),t)}function Cn(t,n,r,e){return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),i(),Yn((function(){var i=new yr(r,n,e,!1);c(i.O,yi,i);var u=new Proxy(i.O,br);return i.v=u,t&&t.length&&i.dt(0,0,t),u}))}function In(t,n){"function"==typeof Array.prototype[t]&&(pr[t]=n(t))}function Ln(t){return function(){var n=this[yi];n.bt.reportObserved();var i=n.yt(n.O);return i[t].apply(i,arguments)}}function Pn(t){return function(n,i){var r=this,e=this[yi];return e.bt.reportObserved(),e.yt(e.O)[t]((function(t,e){return n.call(i,t,e,r)}))}}function Kn(t){return function(){var n=this,i=this[yi];i.bt.reportObserved();var r=i.yt(i.O),e=arguments[0];return arguments[0]=function(t,i,r){return e(t,i,r,n)},r[t].apply(r,arguments)}}function Bn(t){return o(t)&&Or(t[yi])}function Dn(t,n){var i;if(b(t,yi))return t;var r=null!=(i=null==n?void 0:n.name)?i:"ObservableObject",e=new Tr(t,new Map,String(r),function(t){var n;return t?null!=(n=t.defaultDecorator)?n:X(t):void 0}(n));return f(t,yi,e),t}function Gn(t){return Vr[t]||(Vr[t]={get:function(){return this[yi].j(t)},set:function(n){return this[yi]._(t,n)}})}function Wn(t){return!!o(t)&&Cr(t[yi])}function qn(t,n,i){var r;null==(r=t.h[bi])||delete r[i]}function Fn(t){return{enumerable:!1,configurable:!0,get:function(){return this[yi].ft(t)},set:function(n){this[yi].ut(t,n)}}}function Hn(t){ui(Br.prototype,""+t,Fn(t))}function Un(t){if(t>Pr){for(var n=Pr;n<t+100;n++)Hn(n);Pr=t}}function Xn(t,n,i){return new Br(t,n,i)}function zn(n,i){if("object"==typeof n&&null!==n){if(Bn(n))return void 0!==i&&t(23),n[yi].bt;if(kr(n))return n.bt;if(xr(n)){if(void 0===i)return n.pt;var r=n.wt.get(i)||n.Ot.get(i);return r||t(25,i,Jn(n)),r}if(Wn(n)){if(!i)return t(26);var u=n[yi].O.get(i);return u||t(27,i,Jn(n)),u}if(mi(n)||Hi(n)||tr(n))return n}else if(e(n)&&tr(n[yi]))return n[yi];t(28)}function $n(n,i){return n||t(29),void 0!==i?$n(zn(n,i)):mi(n)||Hi(n)||tr(n)||xr(n)||kr(n)?n:n[yi]?n[yi]:void t(24,n)}function Jn(t,n){var i;if(void 0!==n)i=zn(t,n);else{if(It(t))return t.name;i=Wn(t)||xr(t)||kr(t)?$n(t):zn(t)}return i.it}function Yn(t){var n=bt(),i=ut(!0);St();try{return t()}finally{xt(),ot(i),yt(n)}}function Qn(t,n,i){return void 0===i&&(i=-1),function t(n,i,r,u,o){if(n===i)return 0!==n||1/n==1/i;if(null==n||null==i)return!1;if(n!=n)return i!=i;var s=typeof n;if("function"!==s&&"object"!==s&&"object"!=typeof i)return!1;var a=Dr.call(n);if(a!==Dr.call(i))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+n==""+i;case"[object Number]":return+n!=+n?+i!=+i:0==+n?1/+n==1/i:+n==+i;case"[object Date]":case"[object Boolean]":return+n==+i;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(n)===Symbol.valueOf.call(i);case"[object Map]":case"[object Set]":r>=0&&r++}n=Zn(n),i=Zn(i);var f="[object Array]"===a;if(!f){if("object"!=typeof n||"object"!=typeof i)return!1;var c=n.constructor,h=i.constructor;if(c!==h&&!(e(c)&&c instanceof c&&e(h)&&h instanceof h)&&"constructor"in n&&"constructor"in i)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var l=(u=u||[]).length;l--;)if(u[l]===n)return o[l]===i;if(u.push(n),o.push(i),f){if((l=n.length)!==i.length)return!1;for(;l--;)if(!t(n[l],i[l],r-1,u,o))return!1}else{var v,d=Object.keys(n);if(l=d.length,Object.keys(i).length!==l)return!1;for(;l--;)if(!b(i,v=d[l])||!t(n[v],i[v],r-1,u,o))return!1}return u.pop(),o.pop(),!0}(t,n,i)}function Zn(t){return Bn(t)?t.slice():l(t)||xr(t)||v(t)||kr(t)?Array.from(t.entries()):t}function ti(t){return t[Symbol.iterator]=ni,t}function ni(){return this}var ii={},ri=Object.assign,ei=Object.getOwnPropertyDescriptor,ui=Object.defineProperty,oi=Object.prototype,si=[];Object.freeze(si);var ai={};Object.freeze(ai);var fi="undefined"!=typeof Proxy,ci=Object.toString(),hi=function(){},li=void 0!==Object.getOwnPropertySymbols,vi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:li?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,di=Object.getOwnPropertyDescriptors||function(t){var n={};return vi(t).forEach((function(i){n[i]=ei(t,i)})),n},bi=Symbol("mobx-stored-annotations"),yi=Symbol("mobx administration"),pi=function(){function t(t){void 0===t&&(t="Atom"),this.it=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.X=new Set,this.F=0,this.J=0,this.U=qi.P,this.onBOL=void 0,this.onBUOL=void 0,this.it=t}var n=t.prototype;return n.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},n.reportObserved=function(){return Et(this)},n.reportChanged=function(){St(),Rt(this),xt()},n.toString=function(){return this.it},t}(),mi=h("Atom",pi),wi={identity:function(t,n){return t===n},structural:function(t,n){return Qn(t,n)},default:function(t,n){return Object.is?Object.is(t,n):t===n?0!==t||1/t==1/n:t!=t&&n!=n},shallow:function(t,n){return Qn(t,n,1)}},Oi=_({i:"override",o:function(){return 0},s:function(){t("'"+this.i+"' can only be used with 'makeObservable'")},t:function(){console.warn("'"+this.i+"' cannot be used with decorators - this is a no-op")}}),ji=X(),gi={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(gi);var _i=q("observable"),Ai=q("observable.ref",{enhancer:R}),Si=q("observable.shallow",{enhancer:function(t,n,i){return null==t||Wn(t)||Bn(t)||xr(t)||kr(t)?t:Array.isArray(t)?Ni.array(t,{name:i,deep:!1}):s(t)?Ni.object(t,void 0,{name:i,deep:!1}):l(t)?Ni.map(t,{name:i,deep:!1}):v(t)?Ni.set(t,{name:i,deep:!1}):void 0}}),xi=q("observable.struct",{enhancer:function(t,n){return Qn(t,n)?n:t}}),Ei=_(_i);ri(Z,Ei);var Ri,Mi,Ni=ri(Z,{box:function(t,n){var i=Y(n);return new Di(t,Q(i),i.name,!0,i.equals)},array:function(t,n){var i=Y(n);return(!1===Yi.useProxies||!1===i.proxy?Xn:Cn)(t,Q(i),i.name)},map:function(t,n){var i=Y(n);return new Sr(t,Q(i),i.name)},set:function(t,n){var i=Y(n);return new Nr(t,Q(i),i.name)},object:function(t,n,r){return Yn((function(){return qt(!1===Yi.useProxies||!1===(null==r?void 0:r.proxy)?Dn({},r):function(t,n){var r,e;return i(),null!=(e=(r=(t=Dn(t,n))[yi]).v)?e:r.v=new Proxy(t,lr)}({},r),t,n)}))},ref:_(Ai),shallow:_(Si),deep:Ei,struct:_(xi)}),ki=B("computed"),Vi=B("computed.struct",{equals:wi.structural}),Ti=function(t,n){if(S(n))return ki.t(t,n);if(u(n))return A(t,n,ki);if(s(t))return _(B("computed",t));var i=s(n)?n:{};return i.get=t,i.name||(i.name=t.name||""),new Wi(i)};Object.assign(Ti,ki),Ti.struct=_(Vi);var Ci,Ii=0,Li=1,Pi=null!=(Ri=null==(Mi=ei((function(){}),"name"))?void 0:Mi.configurable)&&Ri,Ki={value:"action",configurable:!0,writable:!1,enumerable:!1};Ci=Symbol.toPrimitive;var Bi,Di=function(t){function n(n,i,r,e,u){var o;return void 0===r&&(r="ObservableValue"),void 0===u&&(u=wi.default),(o=t.call(this,r)||this).enhancer=void 0,o.it=void 0,o.equals=void 0,o.jt=!1,o.lt=void 0,o.vt=void 0,o.gt=void 0,o.dehancer=void 0,o.enhancer=i,o.it=r,o.equals=u,o.gt=i(n,void 0,r),o}w(n,t);var i=n.prototype;return i.dehanceValue=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.set=function(t){(t=this._t(t))!==Yi.UNCHANGED&&this.At(t)},i._t=function(t){if(xn(this)){var n=Rn(this,{object:this,type:dr,newValue:t});if(!n)return Yi.UNCHANGED;t=n.newValue}return t=this.enhancer(t,this.gt,this.it),this.equals(this.gt,t)?Yi.UNCHANGED:t},i.At=function(t){var n=this.gt;this.gt=t,this.reportChanged(),Mn(this)&&kn(this,{type:dr,object:this,newValue:t,oldValue:n})},i.get=function(){return this.reportObserved(),this.dehanceValue(this.gt)},i.rt=function(t){return En(this,t)},i.ht=function(t,n){return n&&t({observableKind:"value",debugObjectName:this.it,object:this,type:dr,newValue:this.gt,oldValue:void 0}),Nn(this,t)},i.raw=function(){return this.gt},i.toJSON=function(){return this.get()},i.toString=function(){return this.it+"["+this.gt+"]"},i.valueOf=function(){return d(this.get())},i[Ci]=function(){return this.valueOf()},n}(pi),Gi=h("ObservableValue",Di);Bi=Symbol.toPrimitive;var Wi=function(){function n(n){this.I=qi.P,this.D=[],this.G=null,this.X=new Set,this.F=0,this.W=0,this.J=0,this.U=qi.L,this.q=0,this.gt=new Ui(null),this.it=void 0,this.St=void 0,this.xt=0,this.derivation=void 0,this.Et=void 0,this.Rt=Fi.NONE,this.Mt=void 0,this.Nt=void 0,this.kt=void 0,this.Vt=void 0,this.onBOL=void 0,this.onBUOL=void 0,n.get||t(31),this.derivation=n.get,this.it=n.name||"ComputedValue",n.set&&(this.Et=tt("ComputedValue-setter",n.set)),this.Nt=n.equals||(n.compareStructural||n.struct?wi.structural:wi.default),this.Mt=n.context,this.kt=n.requiresReaction,this.Vt=!!n.keepAlive}var i=n.prototype;return i.H=function(){!function(t){t.U===qi.L&&(t.U=qi.B,t.X.forEach((function(t){t.I===qi.L&&(t.I=qi.B,t.H())})))}(this)},i.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},i.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},i.get=function(){if(this.isComputing&&t(32,this.it,this.derivation),0!==Yi.inBatch||0!==this.X.size||this.Vt){if(Et(this),ct(this)){var n=Yi.trackingContext;this.Vt&&!n&&(Yi.trackingContext=this),this.trackAndCompute()&&function(t){t.U!==qi.K&&(t.U=qi.K,t.X.forEach((function(n){n.I===qi.B?n.I=qi.K:n.I===qi.L&&(t.U=qi.L)})))}(this),Yi.trackingContext=n}}else ct(this)&&(this.Tt(),St(),this.gt=this.Ct(!1),xt());var i=this.gt;if(ft(i))throw i.cause;return i},i.set=function(n){if(this.Et){this.isRunningSetter&&t(33,this.it),this.isRunningSetter=!0;try{this.Et.call(this.Mt,n)}finally{this.isRunningSetter=!1}}else t(34,this.it)},i.trackAndCompute=function(){var t=this.gt,n=this.I===qi.P,i=this.Ct(!0),r=n||ft(t)||ft(i)||!this.Nt(t,i);return r&&(this.gt=i),r},i.Ct=function(t){this.isComputing=!0;var n,i=ut(!1);if(t)n=lt(this,this.derivation,this.Mt);else if(!0===Yi.disableErrorBoundaries)n=this.derivation.call(this.Mt);else try{n=this.derivation.call(this.Mt)}catch(t){n=new Ui(t)}return ot(i),this.isComputing=!1,n},i.$=function(){this.Vt||(vt(this),this.gt=void 0)},i.ht=function(t,n){var i=this,r=!0,e=void 0;return Lt((function(){var u=i.get();if(!r||n){var o=bt();t({observableKind:"computed",debugObjectName:i.it,type:dr,object:i,newValue:u,oldValue:e}),yt(o)}r=!1,e=u}))},i.Tt=function(){},i.toString=function(){return this.it+"["+this.derivation.toString()+"]"},i.valueOf=function(){return d(this.get())},i[Bi]=function(){return this.valueOf()},p(n,[{key:"isComputing",get:function(){return st(this.xt,n.It)},set:function(t){this.xt=at(this.xt,n.It,t)}},{key:"isRunningSetter",get:function(){return st(this.xt,n.Lt)},set:function(t){this.xt=at(this.xt,n.Lt,t)}},{key:"isBeingObserved",get:function(){return st(this.xt,n.Pt)},set:function(t){this.xt=at(this.xt,n.Pt,t)}},{key:"isPendingUnobservation",get:function(){return st(this.xt,n.Kt)},set:function(t){this.xt=at(this.xt,n.Kt,t)}}]),n}();Wi.It=1,Wi.Lt=2,Wi.Pt=4,Wi.Kt=8;var qi,Fi,Hi=h("ComputedValue",Wi);!function(t){t[t.P=-1]="NOT_TRACKING_",t[t.L=0]="UP_TO_DATE_",t[t.B=1]="POSSIBLY_STALE_",t[t.K=2]="STALE_"}(qi||(qi={})),function(t){t[t.NONE=0]="NONE",t[t.LOG=1]="LOG",t[t.BREAK=2]="BREAK"}(Fi||(Fi={}));var Ui=function(t){this.cause=void 0,this.cause=t},Xi=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],zi=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},$i=!0,Ji=!1,Yi=function(){var i=n();return i.__mobxInstanceCount>0&&!i.__mobxGlobals&&($i=!1),i.__mobxGlobals&&i.__mobxGlobals.version!==(new zi).version&&($i=!1),$i?i.__mobxGlobals?(i.__mobxInstanceCount+=1,i.__mobxGlobals.UNCHANGED||(i.__mobxGlobals.UNCHANGED={}),i.__mobxGlobals):(i.__mobxInstanceCount=1,i.__mobxGlobals=new zi):(setTimeout((function(){Ji||t(35)}),1),new zi)}(),Qi=function(){function t(t,n,i,r){void 0===t&&(t="Reaction"),this.it=void 0,this.Bt=void 0,this.Dt=void 0,this.Gt=void 0,this.D=[],this.G=[],this.I=qi.P,this.F=0,this.W=0,this.q=0,this.Z=!1,this.Wt=!1,this.qt=!1,this.Ft=!1,this.Rt=Fi.NONE,this.it=t,this.Bt=n,this.Dt=i,this.Gt=r}var n=t.prototype;return n.H=function(){this.tt()},n.tt=function(){this.Wt||(this.Wt=!0,Yi.pendingReactions.push(this),Nt())},n.isScheduled=function(){return this.Wt},n.Y=function(){if(!this.Z){St(),this.Wt=!1;var t=Yi.trackingContext;if(Yi.trackingContext=this,ct(this)){this.qt=!0;try{this.Bt()}catch(t){this.Ht(t)}}Yi.trackingContext=t,xt()}},n.track=function(t){if(!this.Z){St(),this.Ft=!0;var n=Yi.trackingContext;Yi.trackingContext=this;var i=lt(this,t,void 0);Yi.trackingContext=n,this.Ft=!1,this.qt=!1,this.Z&&vt(this),ft(i)&&this.Ht(i.cause),xt()}},n.Ht=function(t){var n=this;if(this.Dt)this.Dt(t,this);else{if(Yi.disableErrorBoundaries)throw t;Yi.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",t),Yi.globalReactionErrorHandlers.forEach((function(i){return i(t,n)}))}},n.dispose=function(){this.Z||(this.Z=!0,this.Ft||(St(),vt(this),xt()))},n.nt=function(t){var n=this,i=function i(){n.dispose(),null==t||null==t.removeEventListener||t.removeEventListener("abort",i)};return null==t||null==t.addEventListener||t.addEventListener("abort",i),i[yi]=this,i},n.toString=function(){return"Reaction["+this.it+"]"},n.trace=function(){},t}(),Zi=function(t){return t()},tr=h("Reaction",Qi),nr=M("action"),ir=M("action.bound",{bound:!0}),rr=M("autoAction",{autoAction:!0}),er=M("autoAction.bound",{autoAction:!0,bound:!0}),ur=Tt(!1);Object.assign(ur,nr);var or=Tt(!0);Object.assign(or,rr),ur.bound=_(ir),or.bound=_(er);var sr=function(t){return t()},ar=0;zt.prototype=Object.create(Error.prototype);var fr=C("flow"),cr=C("flow.bound",{bound:!0}),hr=Object.assign((function(t,n){if(S(n))return fr.t(t,n);if(u(n))return A(t,n,fr);var i=t,r=i.name||"<unnamed flow>",o=function(){var t,n=this,u=arguments,o=++ar,s=ur(r+" - runid: "+o+" - init",i).apply(n,u),a=void 0,f=new Promise((function(n,i){function u(t){var n;a=void 0;try{n=ur(r+" - runid: "+o+" - yield "+h++,s.next).call(s,t)}catch(t){return i(t)}c(n)}function f(t){var n;a=void 0;try{n=ur(r+" - runid: "+o+" - yield "+h++,s.throw).call(s,t)}catch(t){return i(t)}c(n)}function c(t){if(!e(null==t?void 0:t.then))return t.done?n(t.value):(a=Promise.resolve(t.value)).then(u,f);t.then(c,i)}var h=0;t=i,u(void 0)}));return f.cancel=ur(r+" - runid: "+o+" - cancel",(function(){try{a&&Jt(a);var n=s.return(void 0),i=Promise.resolve(n.value);i.then(hi,hi),Jt(i),t(new zt)}catch(n){t(n)}})),f};return o.isMobXFlow=!0,o}),fr);hr.bound=_(cr);var lr={has:function(t,n){return Sn(t).st(n)},get:function(t,n){return Sn(t).ft(n)},set:function(t,n,i){var r;return!!u(n)&&(null==(r=Sn(t).ut(n,i,!0))||r)},deleteProperty:function(t,n){var i;return!!u(n)&&(null==(i=Sn(t).ot(n,!0))||i)},defineProperty:function(t,n,i){var r;return null==(r=Sn(t).l(n,i))||r},ownKeys:function(t){return Sn(t).ct()},preventExtensions:function(){t(13)}},vr=Symbol("mobx-keys"),dr="update",br={get:function(t,n){var i=t[yi];return n===yi?i:"length"===n?i.Ut():"string"!=typeof n||isNaN(n)?b(pr,n)?pr[n]:t[n]:i.ft(parseInt(n))},set:function(t,n,i){var r=t[yi];return"length"===n&&r.Xt(i),"symbol"==typeof n||isNaN(n)?t[n]=i:r.ut(parseInt(n),i),!0},preventExtensions:function(){t(15)}},yr=function(){function n(t,n,i,r){void 0===t&&(t="ObservableArray"),this.zt=void 0,this.$t=void 0,this.bt=void 0,this.O=[],this.lt=void 0,this.vt=void 0,this.Jt=void 0,this.dehancer=void 0,this.v=void 0,this.Yt=0,this.zt=i,this.$t=r,this.bt=new pi(t),this.Jt=function(t,i){return n(t,i,"ObservableArray[..]")}}var i=n.prototype;return i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.yt=function(t){return void 0!==this.dehancer&&t.length>0?t.map(this.dehancer):t},i.rt=function(t){return En(this,t)},i.ht=function(t,n){return void 0===n&&(n=!1),n&&t({observableKind:"array",object:this.v,debugObjectName:this.bt.it,type:"splice",index:0,added:this.O.slice(),addedCount:this.O.length,removed:[],removedCount:0}),Nn(this,t)},i.Ut=function(){return this.bt.reportObserved(),this.O.length},i.Xt=function(n){("number"!=typeof n||isNaN(n)||n<0)&&t("Out of range: "+n);var i=this.O.length;if(n!==i)if(n>i){for(var r=new Array(n-i),e=0;e<n-i;e++)r[e]=void 0;this.dt(i,0,r)}else this.dt(n,i-n)},i.Zt=function(n,i){n!==this.Yt&&t(16),this.Yt+=i,this.$t&&i>0&&Un(n+i+1)},i.dt=function(t,n,i){var r=this,e=this.O.length;if(void 0===t?t=0:t>e?t=e:t<0&&(t=Math.max(0,e+t)),n=1===arguments.length?e-t:null==n?0:Math.max(0,Math.min(n,e-t)),void 0===i&&(i=si),xn(this)){var u=Rn(this,{object:this.v,type:"splice",index:t,removedCount:n,added:i});if(!u)return si;n=u.removedCount,i=u.added}if(i=0===i.length?i:i.map((function(t){return r.Jt(t,void 0)})),this.$t){var o=i.length-n;this.Zt(e,o)}var s=this.tn(t,n,i);return 0===n&&0===i.length||this.nn(t,i,s),this.yt(s)},i.tn=function(t,n,i){var r;if(i.length<1e4)return(r=this.O).splice.apply(r,[t,n].concat(i));var e=this.O.slice(t,t+n),u=this.O.slice(t+n);this.O.length+=i.length-n;for(var o=0;o<i.length;o++)this.O[t+o]=i[o];for(var s=0;s<u.length;s++)this.O[t+i.length+s]=u[s];return e},i.in=function(t,n,i){var r=!this.zt&&!1,e=Mn(this),u=e||r?{observableKind:"array",object:this.v,type:dr,debugObjectName:this.bt.it,index:t,newValue:n,oldValue:i}:null;this.bt.reportChanged(),e&&kn(this,u)},i.nn=function(t,n,i){var r=!this.zt&&!1,e=Mn(this),u=e||r?{observableKind:"array",object:this.v,debugObjectName:this.bt.it,type:"splice",index:t,removed:i,added:n,removedCount:i.length,addedCount:n.length}:null;this.bt.reportChanged(),e&&kn(this,u)},i.ft=function(t){if(!(this.$t&&t>=this.O.length))return this.bt.reportObserved(),this.Qt(this.O[t]);console.warn("[mobx] Out of bounds read: "+t)},i.ut=function(n,i){var r=this.O;if(this.$t&&n>r.length&&t(17,n,r.length),n<r.length){var e=r[n];if(xn(this)){var u=Rn(this,{type:dr,object:this.v,index:n,newValue:i});if(!u)return;i=u.newValue}(i=this.Jt(i,e))!==e&&(r[n]=i,this.in(n,i,e))}else{for(var o=new Array(n+1-r.length),s=0;s<o.length-1;s++)o[s]=void 0;o[o.length-1]=i,this.dt(r.length,0,o)}},n}(),pr={clear:function(){return this.splice(0)},replace:function(t){var n=this[yi];return n.dt(0,n.O.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var i=arguments.length,r=new Array(i>2?i-2:0),e=2;e<i;e++)r[e-2]=arguments[e];var u=this[yi];switch(arguments.length){case 0:return[];case 1:return u.dt(t);case 2:return u.dt(t,n)}return u.dt(t,n,r)},spliceWithArray:function(t,n,i){return this[yi].dt(t,n,i)},push:function(){for(var t=this[yi],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.dt(t.O.length,0,i),t.O.length},pop:function(){return this.splice(Math.max(this[yi].O.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[yi],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.dt(0,0,i),t.O.length},reverse:function(){return Yi.trackingDerivation&&t(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Yi.trackingDerivation&&t(37,"sort");var n=this.slice();return n.sort.apply(n,arguments),this.replace(n),this},remove:function(t){var n=this[yi],i=n.yt(n.O).indexOf(t);return i>-1&&(this.splice(i,1),!0)}};In("at",Ln),In("concat",Ln),In("flat",Ln),In("includes",Ln),In("indexOf",Ln),In("join",Ln),In("lastIndexOf",Ln),In("slice",Ln),In("toString",Ln),In("toLocaleString",Ln),In("toSorted",Ln),In("toSpliced",Ln),In("with",Ln),In("every",Pn),In("filter",Pn),In("find",Pn),In("findIndex",Pn),In("findLast",Pn),In("findLastIndex",Pn),In("flatMap",Pn),In("forEach",Pn),In("map",Pn),In("some",Pn),In("toReversed",Pn),In("reduce",Kn),In("reduceRight",Kn);var mr,wr,Or=h("ObservableArrayAdministration",yr),jr={},gr="add";mr=Symbol.iterator,wr=Symbol.toStringTag;var _r,Ar,Sr=function(){function n(n,i,r){var u=this;void 0===i&&(i=E),void 0===r&&(r="ObservableMap"),this.Jt=void 0,this.it=void 0,this[yi]=jr,this.wt=void 0,this.Ot=void 0,this.pt=void 0,this.lt=void 0,this.vt=void 0,this.dehancer=void 0,this.Jt=i,this.it=r,e(Map)||t(18),Yn((function(){u.pt=x("ObservableMap.keys()"),u.wt=new Map,u.Ot=new Map,n&&u.merge(n)}))}var i=n.prototype;return i.st=function(t){return this.wt.has(t)},i.has=function(t){var n=this;if(!Yi.trackingDerivation)return this.st(t);var i=this.Ot.get(t);if(!i){var r=i=new Di(this.st(t),R,"ObservableMap.key?",!1);this.Ot.set(t,r),Dt(r,(function(){return n.Ot.delete(t)}))}return i.get()},i.set=function(t,n){var i=this.st(t);if(xn(this)){var r=Rn(this,{type:i?dr:gr,object:this,newValue:n,name:t});if(!r)return this;n=r.newValue}return i?this.rn(t,n):this.en(t,n),this},i.delete=function(t){var n=this;if(xn(this)&&!Rn(this,{type:"delete",object:this,name:t}))return!1;if(this.st(t)){var i=Mn(this),r=i?{observableKind:"map",debugObjectName:this.it,type:"delete",object:this,oldValue:this.wt.get(t).gt,name:t}:null;return jn((function(){var i;n.pt.reportChanged(),null==(i=n.Ot.get(t))||i.At(!1),n.wt.get(t).At(void 0),n.wt.delete(t)})),i&&kn(this,r),!0}return!1},i.rn=function(t,n){var i=this.wt.get(t);if((n=i._t(n))!==Yi.UNCHANGED){var r=Mn(this),e=r?{observableKind:"map",debugObjectName:this.it,type:dr,object:this,oldValue:i.gt,name:t,newValue:n}:null;i.At(n),r&&kn(this,e)}},i.en=function(t,n){var i=this;jn((function(){var r,e=new Di(n,i.Jt,"ObservableMap.key",!1);i.wt.set(t,e),n=e.gt,null==(r=i.Ot.get(t))||r.At(!0),i.pt.reportChanged()}));var r=Mn(this);r&&kn(this,r?{observableKind:"map",debugObjectName:this.it,type:gr,object:this,name:t,newValue:n}:null)},i.get=function(t){return this.has(t)?this.Qt(this.wt.get(t).get()):this.Qt(void 0)},i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.keys=function(){return this.pt.reportObserved(),this.wt.keys()},i.values=function(){var t=this,n=this.keys();return ti({next:function(){var i=n.next(),r=i.done;return{done:r,value:r?void 0:t.get(i.value)}}})},i.entries=function(){var t=this,n=this.keys();return ti({next:function(){var i=n.next(),r=i.done,e=i.value;return{done:r,value:r?void 0:[e,t.get(e)]}}})},i[mr]=function(){return this.entries()},i.forEach=function(t,n){for(var i,r=g(this);!(i=r()).done;){var e=i.value;t.call(n,e[1],e[0],this)}},i.merge=function(n){var i=this;return xr(n)&&(n=new Map(n)),jn((function(){s(n)?function(t){var n=Object.keys(t);if(!li)return n;var i=Object.getOwnPropertySymbols(t);return i.length?[].concat(n,i.filter((function(n){return oi.propertyIsEnumerable.call(t,n)}))):n}(n).forEach((function(t){return i.set(t,n[t])})):Array.isArray(n)?n.forEach((function(t){return i.set(t[0],t[1])})):l(n)?(n.constructor!==Map&&t(19,n),n.forEach((function(t,n){return i.set(n,t)}))):null!=n&&t(20,n)})),this},i.clear=function(){var t=this;jn((function(){dt((function(){for(var n,i=g(t.keys());!(n=i()).done;)t.delete(n.value)}))}))},i.replace=function(n){var i=this;return jn((function(){for(var r,e=function(n){if(l(n)||xr(n))return n;if(Array.isArray(n))return new Map(n);if(s(n)){var i=new Map;for(var r in n)i.set(r,n[r]);return i}return t(21,n)}(n),u=new Map,o=!1,a=g(i.wt.keys());!(r=a()).done;){var f=r.value;if(!e.has(f))if(i.delete(f))o=!0;else{var c=i.wt.get(f);u.set(f,c)}}for(var h,v=g(e.entries());!(h=v()).done;){var d=h.value,b=d[0],y=d[1],p=i.wt.has(b);if(i.set(b,y),i.wt.has(b)){var m=i.wt.get(b);u.set(b,m),p||(o=!0)}}if(!o)if(i.wt.size!==u.size)i.pt.reportChanged();else for(var w=i.wt.keys(),O=u.keys(),j=w.next(),_=O.next();!j.done;){if(j.value!==_.value){i.pt.reportChanged();break}j=w.next(),_=O.next()}i.wt=u})),this},i.toString=function(){return"[object ObservableMap]"},i.toJSON=function(){return Array.from(this)},i.ht=function(t){return Nn(this,t)},i.rt=function(t){return En(this,t)},p(n,[{key:"size",get:function(){return this.pt.reportObserved(),this.wt.size}},{key:wr,get:function(){return"Map"}}]),n}(),xr=h("ObservableMap",Sr),Er={};_r=Symbol.iterator,Ar=Symbol.toStringTag;var Rr,Mr,Nr=function(){function n(n,i,r){var u=this;void 0===i&&(i=E),void 0===r&&(r="ObservableSet"),this.it=void 0,this[yi]=Er,this.wt=new Set,this.bt=void 0,this.vt=void 0,this.lt=void 0,this.dehancer=void 0,this.Jt=void 0,this.it=r,e(Set)||t(22),this.Jt=function(t,n){return i(t,n,r)},Yn((function(){u.bt=x(u.it),n&&u.replace(n)}))}var i=n.prototype;return i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.clear=function(){var t=this;jn((function(){dt((function(){for(var n,i=g(t.wt.values());!(n=i()).done;)t.delete(n.value)}))}))},i.forEach=function(t,n){for(var i,r=g(this);!(i=r()).done;){var e=i.value;t.call(n,e,e,this)}},i.add=function(t){var n=this;if(xn(this)&&!Rn(this,{type:gr,object:this,newValue:t}))return this;if(!this.has(t)){jn((function(){n.wt.add(n.Jt(t,void 0)),n.bt.reportChanged()}));var i=Mn(this);i&&kn(this,i?{observableKind:"set",debugObjectName:this.it,type:gr,object:this,newValue:t}:null)}return this},i.delete=function(t){var n=this;if(xn(this)&&!Rn(this,{type:"delete",object:this,oldValue:t}))return!1;if(this.has(t)){var i=Mn(this),r=i?{observableKind:"set",debugObjectName:this.it,type:"delete",object:this,oldValue:t}:null;return jn((function(){n.bt.reportChanged(),n.wt.delete(t)})),i&&kn(this,r),!0}return!1},i.has=function(t){return this.bt.reportObserved(),this.wt.has(this.Qt(t))},i.entries=function(){var t=0,n=Array.from(this.keys()),i=Array.from(this.values());return ti({next:function(){var r=t;return t+=1,r<i.length?{value:[n[r],i[r]],done:!1}:{done:!0}}})},i.keys=function(){return this.values()},i.values=function(){this.bt.reportObserved();var t=this,n=0,i=Array.from(this.wt.values());return ti({next:function(){return n<i.length?{value:t.Qt(i[n++]),done:!1}:{done:!0}}})},i.replace=function(n){var i=this;return kr(n)&&(n=new Set(n)),jn((function(){Array.isArray(n)||v(n)?(i.clear(),n.forEach((function(t){return i.add(t)}))):null!=n&&t("Cannot initialize set from "+n)})),this},i.ht=function(t){return Nn(this,t)},i.rt=function(t){return En(this,t)},i.toJSON=function(){return Array.from(this)},i.toString=function(){return"[object ObservableSet]"},i[_r]=function(){return this.values()},p(n,[{key:"size",get:function(){return this.bt.reportObserved(),this.wt.size}},{key:Ar,get:function(){return"Set"}}]),n}(),kr=h("ObservableSet",Nr),Vr=Object.create(null),Tr=function(){function n(t,n,i,r){void 0===n&&(n=new Map),void 0===r&&(r=ji),this.h=void 0,this.O=void 0,this.it=void 0,this.un=void 0,this.pt=void 0,this.vt=void 0,this.lt=void 0,this.v=void 0,this.p=void 0,this.on=void 0,this.sn=void 0,this.h=t,this.O=n,this.it=i,this.un=r,this.pt=new pi("ObservableObject.keys"),this.p=s(this.h)}var i=n.prototype;return i.j=function(t){return this.O.get(t).get()},i._=function(t,n){var i=this.O.get(t);if(i instanceof Wi)return i.set(n),!0;if(xn(this)){var r=Rn(this,{type:dr,object:this.v||this.h,name:t,newValue:n});if(!r)return null;n=r.newValue}if((n=i._t(n))!==Yi.UNCHANGED){var e=Mn(this),u=e?{type:dr,observableKind:"object",debugObjectName:this.it,object:this.v||this.h,oldValue:i.gt,name:t,newValue:n}:null;i.At(n),e&&kn(this,u)}return!0},i.ft=function(t){return Yi.trackingDerivation&&!b(this.h,t)&&this.st(t),this.h[t]},i.ut=function(t,n,i){return void 0===i&&(i=!1),b(this.h,t)?this.O.has(t)?this._(t,n):i?Reflect.set(this.h,t,n):(this.h[t]=n,!0):this.s(t,{value:n,enumerable:!0,writable:!0,configurable:!0},this.un,i)},i.st=function(t){if(!Yi.trackingDerivation)return t in this.h;this.sn||(this.sn=new Map);var n=this.sn.get(t);return n||(n=new Di(t in this.h,R,"ObservableObject.key?",!1),this.sn.set(t,n)),n.get()},i.o=function(n,i){if(!0===i&&(i=this.un),!1!==i){if(!(n in this.h)){var r;if(null!=(r=this.h[bi])&&r[n])return;t(1,i.i,this.it+"."+n.toString())}for(var e=this.h;e&&e!==oi;){var u=ei(e,n);if(u){var o=i.o(this,n,u,e);if(0===o)return;if(1===o)break}e=Object.getPrototypeOf(e)}qn(this,0,n)}},i.s=function(t,n,i,r){if(void 0===r&&(r=!1),!0===i&&(i=this.un),!1===i)return this.l(t,n,r);var e=i.s(this,t,n,r);return e&&qn(this,0,t),e},i.l=function(t,n,i){void 0===i&&(i=!1);try{St();var r=this.ot(t);if(!r)return r;if(xn(this)){var e=Rn(this,{object:this.v||this.h,name:t,type:gr,newValue:n.value});if(!e)return null;var u=e.newValue;n.value!==u&&(n=m({},n,{value:u}))}if(i){if(!Reflect.defineProperty(this.h,t,n))return!1}else ui(this.h,t,n);this.an(t,n.value)}finally{xt()}return!0},i.g=function(t,n,i,r){void 0===r&&(r=!1);try{St();var e=this.ot(t);if(!e)return e;if(xn(this)){var u=Rn(this,{object:this.v||this.h,name:t,type:gr,newValue:n});if(!u)return null;n=u.newValue}var o=Gn(t),s={configurable:!Yi.safeDescriptors||this.p,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.h,t,s))return!1}else ui(this.h,t,s);var a=new Di(n,i,"ObservableObject.key",!1);this.O.set(t,a),this.an(t,a.gt)}finally{xt()}return!0},i.m=function(t,n,i){void 0===i&&(i=!1);try{St();var r=this.ot(t);if(!r)return r;if(xn(this)&&!Rn(this,{object:this.v||this.h,name:t,type:gr,newValue:void 0}))return null;n.name||(n.name="ObservableObject.key"),n.context=this.v||this.h;var e=Gn(t),u={configurable:!Yi.safeDescriptors||this.p,enumerable:!1,get:e.get,set:e.set};if(i){if(!Reflect.defineProperty(this.h,t,u))return!1}else ui(this.h,t,u);this.O.set(t,new Wi(n)),this.an(t,void 0)}finally{xt()}return!0},i.ot=function(t,n){if(void 0===n&&(n=!1),!b(this.h,t))return!0;if(xn(this)&&!Rn(this,{object:this.v||this.h,name:t,type:"remove"}))return null;try{var i,r;St();var e,u=Mn(this),o=this.O.get(t),s=void 0;if(!o&&u&&(s=null==(e=ei(this.h,t))?void 0:e.value),n){if(!Reflect.deleteProperty(this.h,t))return!1}else delete this.h[t];o&&(this.O.delete(t),o instanceof Di&&(s=o.gt),Rt(o)),this.pt.reportChanged(),null==(i=this.sn)||null==(r=i.get(t))||r.set(t in this.h),u&&u&&kn(this,{type:"remove",observableKind:"object",object:this.v||this.h,debugObjectName:this.it,oldValue:s,name:t})}finally{xt()}return!0},i.ht=function(t){return Nn(this,t)},i.rt=function(t){return En(this,t)},i.an=function(t,n){var i,r,e=Mn(this);e&&e&&kn(this,e?{type:gr,observableKind:"object",debugObjectName:this.it,object:this.v||this.h,name:t,newValue:n}:null),null==(i=this.sn)||null==(r=i.get(t))||r.set(!0),this.pt.reportChanged()},i.ct=function(){return this.pt.reportObserved(),vi(this.h)},i.et=function(){return this.pt.reportObserved(),Object.keys(this.h)},n}(),Cr=h("ObservableObjectAdministration",Tr),Ir=Fn(0),Lr=function(){var t=!1,n={};return Object.defineProperty(n,"0",{set:function(){t=!0}}),Object.create(n)[0]=1,!1===t}(),Pr=0,Kr=function(){};Rr=Kr,Mr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Rr.prototype,Mr):void 0!==Rr.prototype.__proto__?Rr.prototype.__proto__=Mr:Rr.prototype=Mr;var Br=function(t,n,i){function r(n,i,r,e){var u;return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),u=t.call(this)||this,Yn((function(){var t=new yr(r,i,e,!0);t.v=O(u),c(O(u),yi,t),n&&n.length&&u.spliceWithArray(0,0,n),Lr&&Object.defineProperty(O(u),"0",Ir)})),u}w(r,t);var e=r.prototype;return e.concat=function(){this[yi].bt.reportObserved();for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return Array.prototype.concat.apply(this.slice(),n.map((function(t){return Bn(t)?t.slice():t})))},e[i]=function(){var t=this,n=0;return ti({next:function(){return n<t.length?{value:t[n++],done:!1}:{done:!0,value:void 0}}})},p(r,[{key:"length",get:function(){return this[yi].Ut()},set:function(t){this[yi].Xt(t)}},{key:n,get:function(){return"Array"}}]),r}(Kr,Symbol.toStringTag,Symbol.iterator);Object.entries(pr).forEach((function(t){var n=t[0];"concat"!==n&&f(Br.prototype,n,t[1])})),Un(1e3);var Dr=oi.toString;["Symbol","Map","Set"].forEach((function(i){void 0===n()[i]&&t("MobX requires global '"+i+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Vt,extras:{getDebugName:Jn},$mobx:yi});export{yi as $mobx,zt as FlowCancellationError,Sr as ObservableMap,Nr as ObservableSet,Qi as Reaction,et as _allowStateChanges,Ct as _allowStateChangesInsideComputed,mt as _allowStateReadsEnd,pt as _allowStateReadsStart,or as _autoAction,rt as _endAction,$n as _getAdministration,Ot as _getGlobalState,Zt as _interceptReads,ht as _isComputingDerivation,jt as _resetGlobalState,it as _startAction,ur as action,Lt as autorun,wi as comparer,Ti as computed,Wt as configure,x as createAtom,bn as defineProperty,cn as entries,qt as extendObservable,hr as flow,Yt as flowResult,dn as get,zn as getAtom,Jn as getDebugName,Ft as getDependencyTree,Ut as getObserverTree,vn as has,tn as intercept,It as isAction,Gi as isBoxedObservable,rn as isComputed,en as isComputedProp,Qt as isFlow,$t as isFlowCancellationError,on as isObservable,Bn as isObservableArray,xr as isObservableMap,Wn as isObservableObject,sn as isObservableProp,kr as isObservableSet,an as keys,Tn as makeAutoObservable,Vn as makeObservable,Ni as observable,pn as observe,Bt as onBecomeObserved,Dt as onBecomeUnobserved,Mt as onReactionError,Oi as override,yn as ownKeys,Kt as reaction,ln as remove,Ct as runInAction,hn as set,Vt as spy,wn as toJS,On as trace,jn as transaction,dt as untracked,fn as values,gn as when};
//# sourceMappingURL=mobx.esm.production.min.js.map

@@ -1,2 +0,2 @@

!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t=t||self).mobx={})}(this,(function(t){function n(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];throw new Error("number"==typeof t?"[MobX] minified error nr: "+t+(i.length?" "+i.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+t)}function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:En}function r(){Cn||n("Proxy not available")}function e(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function u(t){return"function"==typeof t}function o(t){switch(typeof t){case"string":case"symbol":case"number":return!0}return!1}function s(t){return null!==t&&"object"==typeof t}function f(t){if(!s(t))return!1;var n=Object.getPrototypeOf(t);if(null==n)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i.toString()===In}function c(t){var n=null==t?void 0:t.constructor;return!!n&&("GeneratorFunction"===n.name||"GeneratorFunction"===n.displayName)}function a(t,n,i){Rn(t,n,{enumerable:!1,writable:!0,configurable:!0,value:i})}function h(t,n,i){Rn(t,n,{enumerable:!1,writable:!1,configurable:!0,value:i})}function v(t,n){var i="isMobX"+t;return n.prototype[i]=!0,function(t){return s(t)&&!0===t[i]}}function l(t){return t instanceof Map}function d(t){return t instanceof Set}function b(t){return null===t?null:"object"==typeof t?""+t:t}function y(t,n){return Tn.hasOwnProperty.call(t,n)}function p(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,"symbol"==typeof(e=function(t){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key))?e:String(e),r)}var e}function m(t,n,i){return n&&p(t.prototype,n),i&&p(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function w(){return(w=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function j(t,n){var i,r;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,i=t,r=n,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t})(i,r)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function g(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t){if(t){if("string"==typeof t)return _(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(t,void 0):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[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 A(t){return Object.assign((function(n,i){if(x(i))return t.t(n,i);S(n,i,t)}),t)}function S(t,n,i){y(t,Wn)||a(t,Wn,w({},t[Wn])),function(t){return"override"===t.i}(i)||(t[Wn][n]=i)}function x(t){return"object"==typeof t&&"string"==typeof t.kind}function M(t,n,i){void 0===n&&(n=Kn),void 0===i&&(i=Kn);var r=new Gn(t);return n!==Kn&&kt(r,n),i!==Kn&&Lt(r,i),r}function E(t,n,i){return Ht(t)?t:Array.isArray(t)?ii.array(t,{name:i}):f(t)?ii.object(t,void 0,{name:i}):l(t)?ii.map(t,{name:i}):d(t)?ii.set(t,{name:i}):"function"!=typeof t||Vt(t)||Wt(t)?t:c(t)?Ki(t):Ti(i,t)}function N(t){return t}function V(t,n){return{i:t,u:n,o:R,s:T,t:k}}function R(t,n,i,r){var e;if(null!=(e=this.u)&&e.bound)return null===this.s(t,n,i,!1)?0:1;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(Vt(i.value))return 1;var u=L(t,this,n,i,!1);return Rn(r,n,u),2}function T(t,n,i,r){var e=L(t,this,n,i);return t.v(n,e,r)}function k(t,i){var r=i.kind,e=i.name,u=i.addInitializer,o=this;if("field"!=r){var s,f,c,a,h,v;if("method"==r)return Vt(t)||(f=t,t=nt(null!=(c=null==(a=o.u)?void 0:a.name)?c:e.toString(),f,null!=(h=null==(v=o.u)?void 0:v.autoAction)&&h)),null!=(s=this.u)&&s.bound&&u((function(){var t=this[e].bind(this);t.isMobxAction=!0,this[e]=t})),t;n("Cannot apply '"+o.i+"' to '"+String(e)+"' (kind: "+r+"):\n'"+o.i+"' can only be used on properties with a function value.")}else u((function(){S(this,e,o)}))}function L(t,n,i,r,e){var u,o,s,f,c,a,h;void 0===e&&(e=gi.safeDescriptors);var v,l=r.value;return null!=(u=n.u)&&u.bound&&(l=l.bind(null!=(v=t.l)?v:t.h)),{value:nt(null!=(o=null==(s=n.u)?void 0:s.name)?o:i.toString(),l,null!=(f=null==(c=n.u)?void 0:c.autoAction)&&f,null!=(a=n.u)&&a.bound?null!=(h=t.l)?h:t.h:void 0),configurable:!e||t.p,enumerable:!1,writable:!e}}function C(t,n){return{i:t,u:n,o:I,s:K,t:P}}function I(t,n,i,r){var e;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(null!=(e=this.u)&&e.bound&&(!y(t.h,n)||!Wt(t.h[n]))&&null===this.s(t,n,i,!1))return 0;if(Wt(i.value))return 1;var u=D(t,0,0,i,!1,!1);return Rn(r,n,u),2}function K(t,n,i,r){var e,u=D(t,0,0,i,null==(e=this.u)?void 0:e.bound);return t.v(n,u,r)}function P(t,n){var i,r=n.name,e=n.addInitializer;return Wt(t)||(t=Ki(t)),null!=(i=this.u)&&i.bound&&e((function(){var t=this[r].bind(this);t.isMobXFlow=!0,this[r]=t})),t}function D(t,n,i,r,e,u){void 0===u&&(u=gi.safeDescriptors);var o,s=r.value;return Wt(s)||(s=Ki(s)),e&&((s=s.bind(null!=(o=t.l)?o:t.h)).isMobXFlow=!0),{value:s,configurable:!u||t.p,enumerable:!1,writable:!u}}function B(t,n){return{i:t,u:n,o:W,s:q,t:G}}function W(t,n,i){return null===this.s(t,n,i,!1)?0:1}function q(t,n,i,r){return t.m(n,w({},this.u,{get:i.get,set:i.set}),r)}function G(t,n){var i=this,r=n.name;return(0,n.addInitializer)((function(){var n=vn(this)[qn],e=w({},i.u,{get:t,context:this});e.name||(e.name="ObservableObject."+r.toString()),n.j.set(r,new yi(e))})),function(){return this[qn].O(r)}}function H(t,n){return{i:t,u:n,o:X,s:U,t:F}}function X(t,n,i){return null===this.s(t,n,i,!1)?0:1}function U(t,n,i,r){var e,u;return t._(n,i.value,null!=(e=null==(u=this.u)?void 0:u.enhancer)?e:E,r)}function F(t,n){function i(t,n){var i,e,s=vn(t)[qn],f=new vi(n,null!=(i=null==(e=r.u)?void 0:e.enhancer)?i:E,"ObservableObject."+u.toString(),!1);s.j.set(u,f),o.add(t)}var r=this,e=n.kind,u=n.name,o=new WeakSet;if("accessor"==e)return{get:function(){return o.has(this)||i(this,t.get.call(this)),this[qn].O(u)},set:function(t){return o.has(this)||i(this,t),this[qn].g(u,t)},init:function(t){return o.has(this)||i(this,t),t}}}function z(t){return{i:"true",u:t,o:$,s:J,t:Y}}function $(t,n,i,r){var e,u,o,s;if(i.get)return ui.o(t,n,i,r);if(i.set){var f=nt(n.toString(),i.set);return r===t.h?null===t.v(n,{configurable:!gi.safeDescriptors||t.p,set:f})?0:2:(Rn(r,n,{configurable:!0,set:f}),2)}if(r!==t.h&&"function"==typeof i.value)return c(i.value)?(null!=(s=this.u)&&s.autoBind?Ki.bound:Ki).o(t,n,i,r):(null!=(o=this.u)&&o.autoBind?Ti.bound:Ti).o(t,n,i,r);var a,h=!1===(null==(e=this.u)?void 0:e.deep)?ii.ref:ii;return"function"==typeof i.value&&null!=(u=this.u)&&u.autoBind&&(i.value=i.value.bind(null!=(a=t.l)?a:t.h)),h.o(t,n,i,r)}function J(t,n,i,r){var e,u,o;return i.get?ui.s(t,n,i,r):i.set?t.v(n,{configurable:!gi.safeDescriptors||t.p,set:nt(n.toString(),i.set)},r):("function"==typeof i.value&&null!=(e=this.u)&&e.autoBind&&(i.value=i.value.bind(null!=(o=t.l)?o:t.h)),(!1===(null==(u=this.u)?void 0:u.deep)?ii.ref:ii).s(t,n,i,r))}function Y(){n("'"+this.i+"' cannot be used as a decorator")}function Q(t){return t||zn}function Z(t){return!0===t.deep?E:!1===t.deep?N:(n=t.defaultDecorator)&&null!=(i=null==(r=n.u)?void 0:r.enhancer)?i:E;var n,i,r}function tt(t,n,i){return x(n)?$n.t(t,n):o(n)?void S(t,n,$n):Ht(t)?t:f(t)?ii.object(t,n,i):Array.isArray(t)?ii.array(t,n):l(t)?ii.map(t,n):d(t)?ii.set(t,n):"object"==typeof t&&null!==t?t:ii.box(t,n)}function nt(t,n,i,r){function e(){return it(0,i,n,r||this,arguments)}return void 0===i&&(i=!1),e.isMobxAction=!0,e.toString=function(){return n.toString()},ci&&(ai.value=t,Rn(e,"name",ai)),e}function it(t,n,i,r,e){var u=rt(0,n);try{return i.apply(r,e)}catch(t){throw u.A=t,t}finally{et(u)}}function rt(t,n){var i=gi.trackingDerivation,r=!n||!i;Ot();var e=gi.allowStateChanges;r&&(lt(),e=ot(!0));var u={S:r,M:i,N:e,V:bt(!0),R:!1,T:0,k:fi++,L:si};return si=u.k,u}function et(t){si!==t.k&&n(30),si=t.L,void 0!==t.A&&(gi.suppressReactionErrors=!0),st(t.N),yt(t.V),_t(),t.S&&dt(t.M),gi.suppressReactionErrors=!1}function ut(t,n){var i=ot(t);try{return n()}finally{st(i)}}function ot(t){var n=gi.allowStateChanges;return gi.allowStateChanges=t,n}function st(t){gi.allowStateChanges=t}function ft(t){return t instanceof mi}function ct(t){switch(t.C){case di.I:return!1;case di.K:case di.P:return!0;case di.D:for(var n=bt(!0),i=lt(),r=t.B,e=r.length,u=0;u<e;u++){var o=r[u];if(pi(o)){if(gi.disableErrorBoundaries)o.get();else try{o.get()}catch(t){return dt(i),yt(n),!0}if(t.C===di.P)return dt(i),yt(n),!0}}return pt(t),dt(i),yt(n),!1}}function at(t,n,i){var r=bt(!0);pt(t),t.W=new Array(0===t.q?100:t.B.length),t.G=0,t.q=++gi.runId;var e,u=gi.trackingDerivation;if(gi.trackingDerivation=t,gi.inBatch++,!0===gi.disableErrorBoundaries)e=n.call(i);else try{e=n.call(i)}catch(t){e=new mi(t)}return gi.inBatch--,gi.trackingDerivation=u,function(t){for(var n=t.B,i=t.B=t.W,r=di.I,e=0,u=t.G,o=0;o<u;o++){var s=i[o];0===s.H&&(s.H=1,e!==o&&(i[e]=s),e++),s.C>r&&(r=s.C)}for(i.length=e,t.W=null,u=n.length;u--;){var f=n[u];0===f.H&&wt(f,t),f.H=0}for(;e--;){var c=i[e];1===c.H&&(c.H=0,mt(c,t))}r!==di.I&&(t.C=r,t.X())}(t),yt(r),e}function ht(t){var n=t.B;t.B=[];for(var i=n.length;i--;)wt(n[i],t);t.C=di.K}function vt(t){var n=lt();try{return t()}finally{dt(n)}}function lt(){var t=gi.trackingDerivation;return gi.trackingDerivation=null,t}function dt(t){gi.trackingDerivation=t}function bt(t){var n=gi.allowStateReads;return gi.allowStateReads=t,n}function yt(t){gi.allowStateReads=t}function pt(t){if(t.C!==di.I){t.C=di.I;for(var n=t.B,i=n.length;i--;)n[i].U=di.I}}function mt(t,n){t.F.add(n),t.U>n.C&&(t.U=n.C)}function wt(t,n){t.F.delete(n),0===t.F.size&&jt(t)}function jt(t){!1===t.$&&(t.$=!0,gi.pendingUnobservations.push(t))}function Ot(){gi.inBatch++}function _t(){if(0==--gi.inBatch){St();for(var t=gi.pendingUnobservations,n=0;n<t.length;n++){var i=t[n];i.$=!1,0===i.F.size&&(i.J&&(i.J=!1,i.onBUO()),i instanceof yi&&i.Y())}gi.pendingUnobservations=[]}}function gt(t){var n=gi.trackingDerivation;return null!==n?(n.q!==t.Z&&(t.Z=n.q,n.W[n.G++]=t,!t.J&&gi.trackingContext&&(t.J=!0,t.onBO())),t.J):(0===t.F.size&&gi.inBatch>0&&jt(t),!1)}function At(t){t.U!==di.P&&(t.U=di.P,t.F.forEach((function(t){t.C===di.I&&t.X(),t.C=di.P})))}function St(){gi.inBatch>0||gi.isRunningReactions||Si(xt)}function xt(){gi.isRunningReactions=!0;for(var t=gi.pendingReactions,n=0;t.length>0;){100==++n&&(console.error("[mobx] cycle in reaction: "+t[0]),t.splice(0));for(var i=t.splice(0),r=0,e=i.length;r<e;r++)i[r].tt()}gi.isRunningReactions=!1}function Mt(){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function Et(t){return function(n,i){return u(n)?nt(n.name||"<unnamed action>",n,t):u(i)?nt(n,i,t):x(i)?(t?Ni:Mi).t(n,i):o(i)?S(n,i,t?Ni:Mi):o(n)?A(V(t?"autoAction":"action",{name:n,autoAction:t})):void 0}}function Nt(t){return it(0,!1,t,this,void 0)}function Vt(t){return u(t)&&!0===t.isMobxAction}function Rt(t,n){function i(){t(f)}var r,e,u,o,s;void 0===n&&(n=Ln);var f,c=null!=(r=null==(e=n)?void 0:e.name)?r:"Autorun";if(n.scheduler||n.delay){var a=Tt(n),h=!1;f=new Ai(c,(function(){h||(h=!0,a((function(){h=!1,f.nt||f.track(i)})))}),n.onError,n.requiresObservable)}else f=new Ai(c,(function(){this.track(i)}),n.onError,n.requiresObservable);return null!=(u=n)&&null!=(o=u.signal)&&o.aborted||f.it(),f.rt(null==(s=n)?void 0:s.signal)}function Tt(t){return t.scheduler?t.scheduler:t.delay?function(n){return setTimeout(n,t.delay)}:ki}function kt(t,n,i){return Ct("onBO",t,n,i)}function Lt(t,n,i){return Ct("onBUO",t,n,i)}function Ct(t,n,i,r){var e="function"==typeof r?jn(n,i):jn(n),o=u(r)?r:i,s=t+"L";return e[s]?e[s].add(o):e[s]=new Set([o]),function(){var t=e[s];t&&(t.delete(o),0===t.size&&delete e[s])}}function It(t,n,i,r){var e=Bn(n);return gn((function(){var n=vn(t,r)[qn];Dn(e).forEach((function(t){n.s(t,e[t],!i||!(t in i)||i[t])}))})),t}function Kt(t){var n,i={name:t.et};return t.B&&t.B.length>0&&(i.dependencies=(n=t.B,Array.from(new Set(n))).map(Kt)),i}function Pt(t){var n={name:t.et};return function(t){return t.F&&t.F.size>0}(t)&&(n.observers=Array.from(function(t){return t.F}(t)).map(Pt)),n}function Dt(){this.message="FLOW_CANCELLED"}function Bt(t){u(t.cancel)&&t.cancel()}function Wt(t){return!0===(null==t?void 0:t.isMobXFlow)}function qt(t,n){if(void 0===n)return pi(t);if(!1===dn(t))return!1;if(!t[qn].j.has(n))return!1;var i=jn(t,n);return pi(i)}function Gt(t,n){return!!t&&(void 0!==n?!!dn(t)&&t[qn].j.has(n):dn(t)||!!t[qn]||Hn(t)||xi(t)||pi(t))}function Ht(t){return Gt(t)}function Xt(t){return dn(t)?t[qn].ut():Qi(t)||rr(t)?Array.from(t.keys()):hn(t)?t.map((function(t,n){return n})):void n(5)}function Ut(t,i){return dn(t)?t[qn].ot(i):Qi(t)||rr(t)?t.has(i):hn(t)?i>=0&&i<t.length:void n(10)}function Ft(t){if(dn(t))return t[qn].st();n(38)}function zt(t,n,i){return t.set(n,i),i}function $t(t,n){void 0===n&&(n=void 0),Ot();try{return t.apply(n)}finally{_t()}}function Jt(t,n,i){var r;if("number"==typeof i.timeout){var e=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!o[qn].nt){if(o(),!i.onError)throw e;i.onError(e)}}),i.timeout)}i.name="When";var u=nt("When-effect",n),o=Rt((function(n){ut(!1,t)&&(n.dispose(),r&&clearTimeout(r),u())}),i);return o}function Yt(t,n){var i,r,e;if(null!=n&&null!=(i=n.signal)&&i.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var u=new Promise((function(i,u){var o,s=Jt(t,i,w({},n,{onError:u}));r=function(){s(),u(new Error("WHEN_CANCELLED"))},e=function(){s(),u(new Error("WHEN_ABORTED"))},null==n||null==(o=n.signal)||null==o.addEventListener||o.addEventListener("abort",e)})).finally((function(){var t;return null==n||null==(t=n.signal)||null==t.removeEventListener?void 0:t.removeEventListener("abort",e)}));return u.cancel=r,u}function Qt(t){return t[qn]}function Zt(t){return void 0!==t.ft&&t.ft.length>0}function tn(t,n){var i=t.ft||(t.ft=[]);return i.push(n),e((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function nn(t,i){var r=lt();try{for(var e=[].concat(t.ft||[]),u=0,o=e.length;u<o&&((i=e[u](i))&&!i.type&&n(14),i);u++);return i}finally{dt(r)}}function rn(t){return void 0!==t.ct&&t.ct.length>0}function en(t,n){var i=t.ct||(t.ct=[]);return i.push(n),e((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function un(t,n){var i=lt(),r=t.ct;if(r){for(var e=0,u=(r=r.slice()).length;e<u;e++)r[e](n);dt(i)}}function on(t,n,i,e){return void 0===i&&(i="ObservableArray"),void 0===e&&(e=!1),r(),gn((function(){var r=new qi(i,n,e,!1);h(r.j,qn,r);var u=new Proxy(r.j,Wi);return r.l=u,t&&t.length&&r.at(0,0,t),u}))}function sn(t,n){"function"==typeof Array.prototype[t]&&(Gi[t]=n(t))}function fn(t){return function(){var n=this[qn];n.ht.reportObserved();var i=n.vt(n.j);return i[t].apply(i,arguments)}}function cn(t){return function(n,i){var r=this,e=this[qn];return e.ht.reportObserved(),e.vt(e.j)[t]((function(t,e){return n.call(i,t,e,r)}))}}function an(t){return function(){var n=this,i=this[qn];i.ht.reportObserved();var r=i.vt(i.j),e=arguments[0];return arguments[0]=function(t,i,r){return e(t,i,r,n)},r[t].apply(r,arguments)}}function hn(t){return s(t)&&Ui(t[qn])}function vn(t,n){var i;if(y(t,qn))return t;var r=null!=(i=null==n?void 0:n.name)?i:"ObservableObject",e=new ur(t,new Map,String(r),function(t){var n;return t?null!=(n=t.defaultDecorator)?n:z(t):void 0}(n));return a(t,qn,e),t}function ln(t){return er[t]||(er[t]={get:function(){return this[qn].O(t)},set:function(n){return this[qn].g(t,n)}})}function dn(t){return!!s(t)&&or(t[qn])}function bn(t,n,i){var r;null==(r=t.h[Wn])||delete r[i]}function yn(t){return{enumerable:!1,configurable:!0,get:function(){return this[qn].lt(t)},set:function(n){this[qn].dt(t,n)}}}function pn(t){Rn(hr.prototype,""+t,yn(t))}function mn(t){if(t>cr){for(var n=cr;n<t+100;n++)pn(n);cr=t}}function wn(t,n,i){return new hr(t,n,i)}function jn(t,i){if("object"==typeof t&&null!==t){if(hn(t))return void 0!==i&&n(23),t[qn].ht;if(rr(t))return t.ht;if(Qi(t)){if(void 0===i)return t.bt;var r=t.yt.get(i)||t.pt.get(i);return r||n(25,i,_n(t)),r}if(dn(t)){if(!i)return n(26);var e=t[qn].j.get(i);return e||n(27,i,_n(t)),e}if(Hn(t)||pi(t)||xi(t))return t}else if(u(t)&&xi(t[qn]))return t[qn];n(28)}function On(t,i){return t||n(29),void 0!==i?On(jn(t,i)):Hn(t)||pi(t)||xi(t)||Qi(t)||rr(t)?t:t[qn]?t[qn]:void n(24,t)}function _n(t,n){var i;if(void 0!==n)i=jn(t,n);else{if(Vt(t))return t.name;i=dn(t)||Qi(t)||rr(t)?On(t):jn(t)}return i.et}function gn(t){var n=lt(),i=ot(!0);Ot();try{return t()}finally{_t(),st(i),dt(n)}}function An(t,n,i){return void 0===i&&(i=-1),function t(n,i,r,e,o){if(n===i)return 0!==n||1/n==1/i;if(null==n||null==i)return!1;if(n!=n)return i!=i;var s=typeof n;if("function"!==s&&"object"!==s&&"object"!=typeof i)return!1;var f=vr.call(n);if(f!==vr.call(i))return!1;switch(f){case"[object RegExp]":case"[object String]":return""+n==""+i;case"[object Number]":return+n!=+n?+i!=+i:0==+n?1/+n==1/i:+n==+i;case"[object Date]":case"[object Boolean]":return+n==+i;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(n)===Symbol.valueOf.call(i);case"[object Map]":case"[object Set]":r>=0&&r++}n=Sn(n),i=Sn(i);var c="[object Array]"===f;if(!c){if("object"!=typeof n||"object"!=typeof i)return!1;var a=n.constructor,h=i.constructor;if(a!==h&&!(u(a)&&a instanceof a&&u(h)&&h instanceof h)&&"constructor"in n&&"constructor"in i)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var v=(e=e||[]).length;v--;)if(e[v]===n)return o[v]===i;if(e.push(n),o.push(i),c){if((v=n.length)!==i.length)return!1;for(;v--;)if(!t(n[v],i[v],r-1,e,o))return!1}else{var l,d=Object.keys(n);if(v=d.length,Object.keys(i).length!==v)return!1;for(;v--;)if(!y(i,l=d[v])||!t(n[l],i[l],r-1,e,o))return!1}return e.pop(),o.pop(),!0}(t,n,i)}function Sn(t){return hn(t)?t.slice():l(t)||Qi(t)||d(t)||rr(t)?Array.from(t.entries()):t}function xn(t){return t[Symbol.iterator]=Mn,t}function Mn(){return this}var En={},Nn=Object.assign,Vn=Object.getOwnPropertyDescriptor,Rn=Object.defineProperty,Tn=Object.prototype,kn=[];Object.freeze(kn);var Ln={};Object.freeze(Ln);var Cn="undefined"!=typeof Proxy,In=Object.toString(),Kn=function(){},Pn=void 0!==Object.getOwnPropertySymbols,Dn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Pn?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bn=Object.getOwnPropertyDescriptors||function(t){var n={};return Dn(t).forEach((function(i){n[i]=Vn(t,i)})),n},Wn=Symbol("mobx-stored-annotations"),qn=Symbol("mobx administration"),Gn=function(){function t(t){void 0===t&&(t="Atom"),this.et=void 0,this.$=!1,this.J=!1,this.F=new Set,this.H=0,this.Z=0,this.U=di.K,this.onBOL=void 0,this.onBUOL=void 0,this.et=t}var n=t.prototype;return n.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},n.reportObserved=function(){return gt(this)},n.reportChanged=function(){Ot(),At(this),_t()},n.toString=function(){return this.et},t}(),Hn=v("Atom",Gn),Xn={identity:function(t,n){return t===n},structural:function(t,n){return An(t,n)},default:function(t,n){return Object.is?Object.is(t,n):t===n?0!==t||1/t==1/n:t!=t&&n!=n},shallow:function(t,n){return An(t,n,1)}},Un=A({i:"override",o:function(){return 0},s:function(){n("'"+this.i+"' can only be used with 'makeObservable'")},t:function(){console.warn("'"+this.i+"' cannot be used with decorators - this is a no-op")}}),Fn=z(),zn={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(zn);var $n=H("observable"),Jn=H("observable.ref",{enhancer:N}),Yn=H("observable.shallow",{enhancer:function(t,n,i){return null==t||dn(t)||hn(t)||Qi(t)||rr(t)?t:Array.isArray(t)?ii.array(t,{name:i,deep:!1}):f(t)?ii.object(t,void 0,{name:i,deep:!1}):l(t)?ii.map(t,{name:i,deep:!1}):d(t)?ii.set(t,{name:i,deep:!1}):void 0}}),Qn=H("observable.struct",{enhancer:function(t,n){return An(t,n)?n:t}}),Zn=A($n);Nn(tt,Zn);var ti,ni,ii=Nn(tt,{box:function(t,n){var i=Q(n);return new vi(t,Z(i),i.name,!0,i.equals)},array:function(t,n){var i=Q(n);return(!1===gi.useProxies||!1===i.proxy?wn:on)(t,Z(i),i.name)},map:function(t,n){var i=Q(n);return new Yi(t,Z(i),i.name)},set:function(t,n){var i=Q(n);return new ir(t,Z(i),i.name)},object:function(t,n,i){return gn((function(){return It(!1===gi.useProxies||!1===(null==i?void 0:i.proxy)?vn({},i):function(t,n){var i,e;return r(),null!=(e=(i=(t=vn(t,n))[qn]).l)?e:i.l=new Proxy(t,Pi)}({},i),t,n)}))},ref:A(Jn),shallow:A(Yn),deep:Zn,struct:A(Qn)}),ri=B("computed"),ei=B("computed.struct",{equals:Xn.structural}),ui=function(t,n){if(x(n))return ri.t(t,n);if(o(n))return S(t,n,ri);if(f(t))return A(B("computed",t));var i=f(n)?n:{};return i.get=t,i.name||(i.name=t.name||""),new yi(i)};Object.assign(ui,ri),ui.struct=A(ei);var oi,si=0,fi=1,ci=null!=(ti=null==(ni=Vn((function(){}),"name"))?void 0:ni.configurable)&&ti,ai={value:"action",configurable:!0,writable:!1,enumerable:!1};oi=Symbol.toPrimitive;var hi,vi=function(t){function n(n,i,r,e,u){var o;return void 0===r&&(r="ObservableValue"),void 0===u&&(u=Xn.default),(o=t.call(this,r)||this).enhancer=void 0,o.et=void 0,o.equals=void 0,o.wt=!1,o.ft=void 0,o.ct=void 0,o.jt=void 0,o.dehancer=void 0,o.enhancer=i,o.et=r,o.equals=u,o.jt=i(n,void 0,r),o}j(n,t);var i=n.prototype;return i.dehanceValue=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.set=function(t){(t=this.Ot(t))!==gi.UNCHANGED&&this._t(t)},i.Ot=function(t){if(Zt(this)){var n=nn(this,{object:this,type:Bi,newValue:t});if(!n)return gi.UNCHANGED;t=n.newValue}return t=this.enhancer(t,this.jt,this.et),this.equals(this.jt,t)?gi.UNCHANGED:t},i._t=function(t){var n=this.jt;this.jt=t,this.reportChanged(),rn(this)&&un(this,{type:Bi,object:this,newValue:t,oldValue:n})},i.get=function(){return this.reportObserved(),this.dehanceValue(this.jt)},i.gt=function(t){return tn(this,t)},i.At=function(t,n){return n&&t({observableKind:"value",debugObjectName:this.et,object:this,type:Bi,newValue:this.jt,oldValue:void 0}),en(this,t)},i.raw=function(){return this.jt},i.toJSON=function(){return this.get()},i.toString=function(){return this.et+"["+this.jt+"]"},i.valueOf=function(){return b(this.get())},i[oi]=function(){return this.valueOf()},n}(Gn),li=v("ObservableValue",vi);hi=Symbol.toPrimitive;var di,bi,yi=function(){function t(t){this.C=di.K,this.B=[],this.W=null,this.J=!1,this.$=!1,this.F=new Set,this.H=0,this.q=0,this.Z=0,this.U=di.I,this.G=0,this.jt=new mi(null),this.et=void 0,this.St=void 0,this.xt=!1,this.Mt=!1,this.derivation=void 0,this.Et=void 0,this.Nt=bi.NONE,this.Vt=void 0,this.Rt=void 0,this.Tt=void 0,this.kt=void 0,this.onBOL=void 0,this.onBUOL=void 0,t.get||n(31),this.derivation=t.get,this.et=t.name||"ComputedValue",t.set&&(this.Et=nt("ComputedValue-setter",t.set)),this.Rt=t.equals||(t.compareStructural||t.struct?Xn.structural:Xn.default),this.Vt=t.context,this.Tt=t.requiresReaction,this.kt=!!t.keepAlive}var i=t.prototype;return i.X=function(){!function(t){t.U===di.I&&(t.U=di.D,t.F.forEach((function(t){t.C===di.I&&(t.C=di.D,t.X())})))}(this)},i.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},i.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},i.get=function(){if(this.xt&&n(32,this.et,this.derivation),0!==gi.inBatch||0!==this.F.size||this.kt){if(gt(this),ct(this)){var t=gi.trackingContext;this.kt&&!t&&(gi.trackingContext=this),this.trackAndCompute()&&function(t){t.U!==di.P&&(t.U=di.P,t.F.forEach((function(n){n.C===di.D?n.C=di.P:n.C===di.I&&(t.U=di.I)})))}(this),gi.trackingContext=t}}else ct(this)&&(this.Lt(),Ot(),this.jt=this.Ct(!1),_t());var i=this.jt;if(ft(i))throw i.cause;return i},i.set=function(t){if(this.Et){this.Mt&&n(33,this.et),this.Mt=!0;try{this.Et.call(this.Vt,t)}finally{this.Mt=!1}}else n(34,this.et)},i.trackAndCompute=function(){var t=this.jt,n=this.C===di.K,i=this.Ct(!0),r=n||ft(t)||ft(i)||!this.Rt(t,i);return r&&(this.jt=i),r},i.Ct=function(t){this.xt=!0;var n,i=ot(!1);if(t)n=at(this,this.derivation,this.Vt);else if(!0===gi.disableErrorBoundaries)n=this.derivation.call(this.Vt);else try{n=this.derivation.call(this.Vt)}catch(t){n=new mi(t)}return st(i),this.xt=!1,n},i.Y=function(){this.kt||(ht(this),this.jt=void 0)},i.At=function(t,n){var i=this,r=!0,e=void 0;return Rt((function(){var u=i.get();if(!r||n){var o=lt();t({observableKind:"computed",debugObjectName:i.et,type:Bi,object:i,newValue:u,oldValue:e}),dt(o)}r=!1,e=u}))},i.Lt=function(){},i.toString=function(){return this.et+"["+this.derivation.toString()+"]"},i.valueOf=function(){return b(this.get())},i[hi]=function(){return this.valueOf()},t}(),pi=v("ComputedValue",yi);!function(t){t[t.K=-1]="NOT_TRACKING_",t[t.I=0]="UP_TO_DATE_",t[t.D=1]="POSSIBLY_STALE_",t[t.P=2]="STALE_"}(di||(di={})),function(t){t[t.NONE=0]="NONE",t[t.LOG=1]="LOG",t[t.BREAK=2]="BREAK"}(bi||(bi={}));var mi=function(t){this.cause=void 0,this.cause=t},wi=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],ji=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},Oi=!0,_i=!1,gi=function(){var t=i();return t.__mobxInstanceCount>0&&!t.__mobxGlobals&&(Oi=!1),t.__mobxGlobals&&t.__mobxGlobals.version!==(new ji).version&&(Oi=!1),Oi?t.__mobxGlobals?(t.__mobxInstanceCount+=1,t.__mobxGlobals.UNCHANGED||(t.__mobxGlobals.UNCHANGED={}),t.__mobxGlobals):(t.__mobxInstanceCount=1,t.__mobxGlobals=new ji):(setTimeout((function(){_i||n(35)}),1),new ji)}(),Ai=function(){function t(t,n,i,r){void 0===t&&(t="Reaction"),this.et=void 0,this.It=void 0,this.Kt=void 0,this.Pt=void 0,this.B=[],this.W=[],this.C=di.K,this.H=0,this.q=0,this.G=0,this.nt=!1,this.Dt=!1,this.Bt=!1,this.Wt=!1,this.Nt=bi.NONE,this.et=t,this.It=n,this.Kt=i,this.Pt=r}var n=t.prototype;return n.X=function(){this.it()},n.it=function(){this.Dt||(this.Dt=!0,gi.pendingReactions.push(this),St())},n.isScheduled=function(){return this.Dt},n.tt=function(){if(!this.nt){Ot(),this.Dt=!1;var t=gi.trackingContext;if(gi.trackingContext=this,ct(this)){this.Bt=!0;try{this.It()}catch(t){this.qt(t)}}gi.trackingContext=t,_t()}},n.track=function(t){if(!this.nt){Ot(),this.Wt=!0;var n=gi.trackingContext;gi.trackingContext=this;var i=at(this,t,void 0);gi.trackingContext=n,this.Wt=!1,this.Bt=!1,this.nt&&ht(this),ft(i)&&this.qt(i.cause),_t()}},n.qt=function(t){var n=this;if(this.Kt)this.Kt(t,this);else{if(gi.disableErrorBoundaries)throw t;gi.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",t),gi.globalReactionErrorHandlers.forEach((function(i){return i(t,n)}))}},n.dispose=function(){this.nt||(this.nt=!0,this.Wt||(Ot(),ht(this),_t()))},n.rt=function(t){var n=this,i=function i(){n.dispose(),null==t||null==t.removeEventListener||t.removeEventListener("abort",i)};return null==t||null==t.addEventListener||t.addEventListener("abort",i),i[qn]=this,i},n.toString=function(){return"Reaction["+this.et+"]"},n.trace=function(){},t}(),Si=function(t){return t()},xi=v("Reaction",Ai),Mi=V("action"),Ei=V("action.bound",{bound:!0}),Ni=V("autoAction",{autoAction:!0}),Vi=V("autoAction.bound",{autoAction:!0,bound:!0}),Ri=Et(!1);Object.assign(Ri,Mi);var Ti=Et(!0);Object.assign(Ti,Ni),Ri.bound=A(Ei),Ti.bound=A(Vi);var ki=function(t){return t()},Li=0;Dt.prototype=Object.create(Error.prototype);var Ci=C("flow"),Ii=C("flow.bound",{bound:!0}),Ki=Object.assign((function(t,n){if(x(n))return Ci.t(t,n);if(o(n))return S(t,n,Ci);var i=t,r=i.name||"<unnamed flow>",e=function(){var t,n=this,e=arguments,o=++Li,s=Ri(r+" - runid: "+o+" - init",i).apply(n,e),f=void 0,c=new Promise((function(n,i){function e(t){var n;f=void 0;try{n=Ri(r+" - runid: "+o+" - yield "+h++,s.next).call(s,t)}catch(t){return i(t)}a(n)}function c(t){var n;f=void 0;try{n=Ri(r+" - runid: "+o+" - yield "+h++,s.throw).call(s,t)}catch(t){return i(t)}a(n)}function a(t){if(!u(null==t?void 0:t.then))return t.done?n(t.value):(f=Promise.resolve(t.value)).then(e,c);t.then(a,i)}var h=0;t=i,e(void 0)}));return c.cancel=Ri(r+" - runid: "+o+" - cancel",(function(){try{f&&Bt(f);var n=s.return(void 0),i=Promise.resolve(n.value);i.then(Kn,Kn),Bt(i),t(new Dt)}catch(n){t(n)}})),c};return e.isMobXFlow=!0,e}),Ci);Ki.bound=A(Ii);var Pi={has:function(t,n){return Qt(t).ot(n)},get:function(t,n){return Qt(t).lt(n)},set:function(t,n,i){var r;return!!o(n)&&(null==(r=Qt(t).dt(n,i,!0))||r)},deleteProperty:function(t,n){var i;return!!o(n)&&(null==(i=Qt(t).Gt(n,!0))||i)},defineProperty:function(t,n,i){var r;return null==(r=Qt(t).v(n,i))||r},ownKeys:function(t){return Qt(t).st()},preventExtensions:function(){n(13)}},Di=Symbol("mobx-keys"),Bi="update",Wi={get:function(t,n){var i=t[qn];return n===qn?i:"length"===n?i.Ht():"string"!=typeof n||isNaN(n)?y(Gi,n)?Gi[n]:t[n]:i.lt(parseInt(n))},set:function(t,n,i){var r=t[qn];return"length"===n&&r.Xt(i),"symbol"==typeof n||isNaN(n)?t[n]=i:r.dt(parseInt(n),i),!0},preventExtensions:function(){n(15)}},qi=function(){function t(t,n,i,r){void 0===t&&(t="ObservableArray"),this.Ut=void 0,this.Ft=void 0,this.ht=void 0,this.j=[],this.ft=void 0,this.ct=void 0,this.zt=void 0,this.dehancer=void 0,this.l=void 0,this.$t=0,this.Ut=i,this.Ft=r,this.ht=new Gn(t),this.zt=function(t,i){return n(t,i,"ObservableArray[..]")}}var i=t.prototype;return i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.vt=function(t){return void 0!==this.dehancer&&t.length>0?t.map(this.dehancer):t},i.gt=function(t){return tn(this,t)},i.At=function(t,n){return void 0===n&&(n=!1),n&&t({observableKind:"array",object:this.l,debugObjectName:this.ht.et,type:"splice",index:0,added:this.j.slice(),addedCount:this.j.length,removed:[],removedCount:0}),en(this,t)},i.Ht=function(){return this.ht.reportObserved(),this.j.length},i.Xt=function(t){("number"!=typeof t||isNaN(t)||t<0)&&n("Out of range: "+t);var i=this.j.length;if(t!==i)if(t>i){for(var r=new Array(t-i),e=0;e<t-i;e++)r[e]=void 0;this.at(i,0,r)}else this.at(t,i-t)},i.Yt=function(t,i){t!==this.$t&&n(16),this.$t+=i,this.Ft&&i>0&&mn(t+i+1)},i.at=function(t,n,i){var r=this,e=this.j.length;if(void 0===t?t=0:t>e?t=e:t<0&&(t=Math.max(0,e+t)),n=1===arguments.length?e-t:null==n?0:Math.max(0,Math.min(n,e-t)),void 0===i&&(i=kn),Zt(this)){var u=nn(this,{object:this.l,type:"splice",index:t,removedCount:n,added:i});if(!u)return kn;n=u.removedCount,i=u.added}if(i=0===i.length?i:i.map((function(t){return r.zt(t,void 0)})),this.Ft){var o=i.length-n;this.Yt(e,o)}var s=this.Qt(t,n,i);return 0===n&&0===i.length||this.Zt(t,i,s),this.vt(s)},i.Qt=function(t,n,i){var r;if(i.length<1e4)return(r=this.j).splice.apply(r,[t,n].concat(i));var e=this.j.slice(t,t+n),u=this.j.slice(t+n);this.j.length+=i.length-n;for(var o=0;o<i.length;o++)this.j[t+o]=i[o];for(var s=0;s<u.length;s++)this.j[t+i.length+s]=u[s];return e},i.tn=function(t,n,i){var r=!this.Ut&&!1,e=rn(this),u=e||r?{observableKind:"array",object:this.l,type:Bi,debugObjectName:this.ht.et,index:t,newValue:n,oldValue:i}:null;this.ht.reportChanged(),e&&un(this,u)},i.Zt=function(t,n,i){var r=!this.Ut&&!1,e=rn(this),u=e||r?{observableKind:"array",object:this.l,debugObjectName:this.ht.et,type:"splice",index:t,removed:i,added:n,removedCount:i.length,addedCount:n.length}:null;this.ht.reportChanged(),e&&un(this,u)},i.lt=function(t){if(!(this.Ft&&t>=this.j.length))return this.ht.reportObserved(),this.Jt(this.j[t]);console.warn("[mobx] Out of bounds read: "+t)},i.dt=function(t,i){var r=this.j;if(this.Ft&&t>r.length&&n(17,t,r.length),t<r.length){var e=r[t];if(Zt(this)){var u=nn(this,{type:Bi,object:this.l,index:t,newValue:i});if(!u)return;i=u.newValue}(i=this.zt(i,e))!==e&&(r[t]=i,this.tn(t,i,e))}else{for(var o=new Array(t+1-r.length),s=0;s<o.length-1;s++)o[s]=void 0;o[o.length-1]=i,this.at(r.length,0,o)}},t}(),Gi={clear:function(){return this.splice(0)},replace:function(t){var n=this[qn];return n.at(0,n.j.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var i=arguments.length,r=new Array(i>2?i-2:0),e=2;e<i;e++)r[e-2]=arguments[e];var u=this[qn];switch(arguments.length){case 0:return[];case 1:return u.at(t);case 2:return u.at(t,n)}return u.at(t,n,r)},spliceWithArray:function(t,n,i){return this[qn].at(t,n,i)},push:function(){for(var t=this[qn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.at(t.j.length,0,i),t.j.length},pop:function(){return this.splice(Math.max(this[qn].j.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[qn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.at(0,0,i),t.j.length},reverse:function(){return gi.trackingDerivation&&n(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){gi.trackingDerivation&&n(37,"sort");var t=this.slice();return t.sort.apply(t,arguments),this.replace(t),this},remove:function(t){var n=this[qn],i=n.vt(n.j).indexOf(t);return i>-1&&(this.splice(i,1),!0)}};sn("at",fn),sn("concat",fn),sn("flat",fn),sn("includes",fn),sn("indexOf",fn),sn("join",fn),sn("lastIndexOf",fn),sn("slice",fn),sn("toString",fn),sn("toLocaleString",fn),sn("toSorted",fn),sn("toSpliced",fn),sn("with",fn),sn("every",cn),sn("filter",cn),sn("find",cn),sn("findIndex",cn),sn("findLast",cn),sn("findLastIndex",cn),sn("flatMap",cn),sn("forEach",cn),sn("map",cn),sn("some",cn),sn("toReversed",cn),sn("reduce",an),sn("reduceRight",an);var Hi,Xi,Ui=v("ObservableArrayAdministration",qi),Fi={},zi="add";Hi=Symbol.iterator,Xi=Symbol.toStringTag;var $i,Ji,Yi=function(){function t(t,i,r){var e=this;void 0===i&&(i=E),void 0===r&&(r="ObservableMap"),this.zt=void 0,this.et=void 0,this[qn]=Fi,this.yt=void 0,this.pt=void 0,this.bt=void 0,this.ft=void 0,this.ct=void 0,this.dehancer=void 0,this.zt=i,this.et=r,u(Map)||n(18),gn((function(){e.bt=M("ObservableMap.keys()"),e.yt=new Map,e.pt=new Map,t&&e.merge(t)}))}var i=t.prototype;return i.ot=function(t){return this.yt.has(t)},i.has=function(t){var n=this;if(!gi.trackingDerivation)return this.ot(t);var i=this.pt.get(t);if(!i){var r=i=new vi(this.ot(t),N,"ObservableMap.key?",!1);this.pt.set(t,r),Lt(r,(function(){return n.pt.delete(t)}))}return i.get()},i.set=function(t,n){var i=this.ot(t);if(Zt(this)){var r=nn(this,{type:i?Bi:zi,object:this,newValue:n,name:t});if(!r)return this;n=r.newValue}return i?this.nn(t,n):this.in(t,n),this},i.delete=function(t){var n=this;if(Zt(this)&&!nn(this,{type:"delete",object:this,name:t}))return!1;if(this.ot(t)){var i=rn(this),r=i?{observableKind:"map",debugObjectName:this.et,type:"delete",object:this,oldValue:this.yt.get(t).jt,name:t}:null;return $t((function(){var i;n.bt.reportChanged(),null==(i=n.pt.get(t))||i._t(!1),n.yt.get(t)._t(void 0),n.yt.delete(t)})),i&&un(this,r),!0}return!1},i.nn=function(t,n){var i=this.yt.get(t);if((n=i.Ot(n))!==gi.UNCHANGED){var r=rn(this),e=r?{observableKind:"map",debugObjectName:this.et,type:Bi,object:this,oldValue:i.jt,name:t,newValue:n}:null;i._t(n),r&&un(this,e)}},i.in=function(t,n){var i=this;$t((function(){var r,e=new vi(n,i.zt,"ObservableMap.key",!1);i.yt.set(t,e),n=e.jt,null==(r=i.pt.get(t))||r._t(!0),i.bt.reportChanged()}));var r=rn(this);r&&un(this,r?{observableKind:"map",debugObjectName:this.et,type:zi,object:this,name:t,newValue:n}:null)},i.get=function(t){return this.has(t)?this.Jt(this.yt.get(t).get()):this.Jt(void 0)},i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.keys=function(){return this.bt.reportObserved(),this.yt.keys()},i.values=function(){var t=this,n=this.keys();return xn({next:function(){var i=n.next(),r=i.done;return{done:r,value:r?void 0:t.get(i.value)}}})},i.entries=function(){var t=this,n=this.keys();return xn({next:function(){var i=n.next(),r=i.done,e=i.value;return{done:r,value:r?void 0:[e,t.get(e)]}}})},i[Hi]=function(){return this.entries()},i.forEach=function(t,n){for(var i,r=g(this);!(i=r()).done;){var e=i.value;t.call(n,e[1],e[0],this)}},i.merge=function(t){var i=this;return Qi(t)&&(t=new Map(t)),$t((function(){f(t)?function(t){var n=Object.keys(t);if(!Pn)return n;var i=Object.getOwnPropertySymbols(t);return i.length?[].concat(n,i.filter((function(n){return Tn.propertyIsEnumerable.call(t,n)}))):n}(t).forEach((function(n){return i.set(n,t[n])})):Array.isArray(t)?t.forEach((function(t){return i.set(t[0],t[1])})):l(t)?(t.constructor!==Map&&n(19,t),t.forEach((function(t,n){return i.set(n,t)}))):null!=t&&n(20,t)})),this},i.clear=function(){var t=this;$t((function(){vt((function(){for(var n,i=g(t.keys());!(n=i()).done;)t.delete(n.value)}))}))},i.replace=function(t){var i=this;return $t((function(){for(var r,e=function(t){if(l(t)||Qi(t))return t;if(Array.isArray(t))return new Map(t);if(f(t)){var i=new Map;for(var r in t)i.set(r,t[r]);return i}return n(21,t)}(t),u=new Map,o=!1,s=g(i.yt.keys());!(r=s()).done;){var c=r.value;if(!e.has(c))if(i.delete(c))o=!0;else{var a=i.yt.get(c);u.set(c,a)}}for(var h,v=g(e.entries());!(h=v()).done;){var d=h.value,b=d[0],y=d[1],p=i.yt.has(b);if(i.set(b,y),i.yt.has(b)){var m=i.yt.get(b);u.set(b,m),p||(o=!0)}}if(!o)if(i.yt.size!==u.size)i.bt.reportChanged();else for(var w=i.yt.keys(),j=u.keys(),O=w.next(),_=j.next();!O.done;){if(O.value!==_.value){i.bt.reportChanged();break}O=w.next(),_=j.next()}i.yt=u})),this},i.toString=function(){return"[object ObservableMap]"},i.toJSON=function(){return Array.from(this)},i.At=function(t){return en(this,t)},i.gt=function(t){return tn(this,t)},m(t,[{key:"size",get:function(){return this.bt.reportObserved(),this.yt.size}},{key:Xi,get:function(){return"Map"}}]),t}(),Qi=v("ObservableMap",Yi),Zi={};$i=Symbol.iterator,Ji=Symbol.toStringTag;var tr,nr,ir=function(){function t(t,i,r){var e=this;void 0===i&&(i=E),void 0===r&&(r="ObservableSet"),this.et=void 0,this[qn]=Zi,this.yt=new Set,this.ht=void 0,this.ct=void 0,this.ft=void 0,this.dehancer=void 0,this.zt=void 0,this.et=r,u(Set)||n(22),this.zt=function(t,n){return i(t,n,r)},gn((function(){e.ht=M(e.et),t&&e.replace(t)}))}var i=t.prototype;return i.Jt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.clear=function(){var t=this;$t((function(){vt((function(){for(var n,i=g(t.yt.values());!(n=i()).done;)t.delete(n.value)}))}))},i.forEach=function(t,n){for(var i,r=g(this);!(i=r()).done;){var e=i.value;t.call(n,e,e,this)}},i.add=function(t){var n=this;if(Zt(this)&&!nn(this,{type:zi,object:this,newValue:t}))return this;if(!this.has(t)){$t((function(){n.yt.add(n.zt(t,void 0)),n.ht.reportChanged()}));var i=rn(this);i&&un(this,i?{observableKind:"set",debugObjectName:this.et,type:zi,object:this,newValue:t}:null)}return this},i.delete=function(t){var n=this;if(Zt(this)&&!nn(this,{type:"delete",object:this,oldValue:t}))return!1;if(this.has(t)){var i=rn(this),r=i?{observableKind:"set",debugObjectName:this.et,type:"delete",object:this,oldValue:t}:null;return $t((function(){n.ht.reportChanged(),n.yt.delete(t)})),i&&un(this,r),!0}return!1},i.has=function(t){return this.ht.reportObserved(),this.yt.has(this.Jt(t))},i.entries=function(){var t=0,n=Array.from(this.keys()),i=Array.from(this.values());return xn({next:function(){var r=t;return t+=1,r<i.length?{value:[n[r],i[r]],done:!1}:{done:!0}}})},i.keys=function(){return this.values()},i.values=function(){this.ht.reportObserved();var t=this,n=0,i=Array.from(this.yt.values());return xn({next:function(){return n<i.length?{value:t.Jt(i[n++]),done:!1}:{done:!0}}})},i.replace=function(t){var i=this;return rr(t)&&(t=new Set(t)),$t((function(){Array.isArray(t)||d(t)?(i.clear(),t.forEach((function(t){return i.add(t)}))):null!=t&&n("Cannot initialize set from "+t)})),this},i.At=function(t){return en(this,t)},i.gt=function(t){return tn(this,t)},i.toJSON=function(){return Array.from(this)},i.toString=function(){return"[object ObservableSet]"},i[$i]=function(){return this.values()},m(t,[{key:"size",get:function(){return this.ht.reportObserved(),this.yt.size}},{key:Ji,get:function(){return"Set"}}]),t}(),rr=v("ObservableSet",ir),er=Object.create(null),ur=function(){function t(t,n,i,r){void 0===n&&(n=new Map),void 0===r&&(r=Fn),this.h=void 0,this.j=void 0,this.et=void 0,this.rn=void 0,this.bt=void 0,this.ct=void 0,this.ft=void 0,this.l=void 0,this.p=void 0,this.en=void 0,this.un=void 0,this.h=t,this.j=n,this.et=i,this.rn=r,this.bt=new Gn("ObservableObject.keys"),this.p=f(this.h)}var i=t.prototype;return i.O=function(t){return this.j.get(t).get()},i.g=function(t,n){var i=this.j.get(t);if(i instanceof yi)return i.set(n),!0;if(Zt(this)){var r=nn(this,{type:Bi,object:this.l||this.h,name:t,newValue:n});if(!r)return null;n=r.newValue}if((n=i.Ot(n))!==gi.UNCHANGED){var e=rn(this),u=e?{type:Bi,observableKind:"object",debugObjectName:this.et,object:this.l||this.h,oldValue:i.jt,name:t,newValue:n}:null;i._t(n),e&&un(this,u)}return!0},i.lt=function(t){return gi.trackingDerivation&&!y(this.h,t)&&this.ot(t),this.h[t]},i.dt=function(t,n,i){return void 0===i&&(i=!1),y(this.h,t)?this.j.has(t)?this.g(t,n):i?Reflect.set(this.h,t,n):(this.h[t]=n,!0):this.s(t,{value:n,enumerable:!0,writable:!0,configurable:!0},this.rn,i)},i.ot=function(t){if(!gi.trackingDerivation)return t in this.h;this.un||(this.un=new Map);var n=this.un.get(t);return n||(n=new vi(t in this.h,N,"ObservableObject.key?",!1),this.un.set(t,n)),n.get()},i.o=function(t,i){if(!0===i&&(i=this.rn),!1!==i){if(!(t in this.h)){var r;if(null!=(r=this.h[Wn])&&r[t])return;n(1,i.i,this.et+"."+t.toString())}for(var e=this.h;e&&e!==Tn;){var u=Vn(e,t);if(u){var o=i.o(this,t,u,e);if(0===o)return;if(1===o)break}e=Object.getPrototypeOf(e)}bn(this,0,t)}},i.s=function(t,n,i,r){if(void 0===r&&(r=!1),!0===i&&(i=this.rn),!1===i)return this.v(t,n,r);var e=i.s(this,t,n,r);return e&&bn(this,0,t),e},i.v=function(t,n,i){void 0===i&&(i=!1);try{Ot();var r=this.Gt(t);if(!r)return r;if(Zt(this)){var e=nn(this,{object:this.l||this.h,name:t,type:zi,newValue:n.value});if(!e)return null;var u=e.newValue;n.value!==u&&(n=w({},n,{value:u}))}if(i){if(!Reflect.defineProperty(this.h,t,n))return!1}else Rn(this.h,t,n);this.on(t,n.value)}finally{_t()}return!0},i._=function(t,n,i,r){void 0===r&&(r=!1);try{Ot();var e=this.Gt(t);if(!e)return e;if(Zt(this)){var u=nn(this,{object:this.l||this.h,name:t,type:zi,newValue:n});if(!u)return null;n=u.newValue}var o=ln(t),s={configurable:!gi.safeDescriptors||this.p,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.h,t,s))return!1}else Rn(this.h,t,s);var f=new vi(n,i,"ObservableObject.key",!1);this.j.set(t,f),this.on(t,f.jt)}finally{_t()}return!0},i.m=function(t,n,i){void 0===i&&(i=!1);try{Ot();var r=this.Gt(t);if(!r)return r;if(Zt(this)&&!nn(this,{object:this.l||this.h,name:t,type:zi,newValue:void 0}))return null;n.name||(n.name="ObservableObject.key"),n.context=this.l||this.h;var e=ln(t),u={configurable:!gi.safeDescriptors||this.p,enumerable:!1,get:e.get,set:e.set};if(i){if(!Reflect.defineProperty(this.h,t,u))return!1}else Rn(this.h,t,u);this.j.set(t,new yi(n)),this.on(t,void 0)}finally{_t()}return!0},i.Gt=function(t,n){if(void 0===n&&(n=!1),!y(this.h,t))return!0;if(Zt(this)&&!nn(this,{object:this.l||this.h,name:t,type:"remove"}))return null;try{var i,r;Ot();var e,u=rn(this),o=this.j.get(t),s=void 0;if(!o&&u&&(s=null==(e=Vn(this.h,t))?void 0:e.value),n){if(!Reflect.deleteProperty(this.h,t))return!1}else delete this.h[t];o&&(this.j.delete(t),o instanceof vi&&(s=o.jt),At(o)),this.bt.reportChanged(),null==(i=this.un)||null==(r=i.get(t))||r.set(t in this.h),u&&u&&un(this,{type:"remove",observableKind:"object",object:this.l||this.h,debugObjectName:this.et,oldValue:s,name:t})}finally{_t()}return!0},i.At=function(t){return en(this,t)},i.gt=function(t){return tn(this,t)},i.on=function(t,n){var i,r,e=rn(this);e&&e&&un(this,e?{type:zi,observableKind:"object",debugObjectName:this.et,object:this.l||this.h,name:t,newValue:n}:null),null==(i=this.un)||null==(r=i.get(t))||r.set(!0),this.bt.reportChanged()},i.st=function(){return this.bt.reportObserved(),Dn(this.h)},i.ut=function(){return this.bt.reportObserved(),Object.keys(this.h)},t}(),or=v("ObservableObjectAdministration",ur),sr=yn(0),fr=function(){var t=!1,n={};return Object.defineProperty(n,"0",{set:function(){t=!0}}),Object.create(n)[0]=1,!1===t}(),cr=0,ar=function(){};tr=ar,nr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(tr.prototype,nr):void 0!==tr.prototype.__proto__?tr.prototype.__proto__=nr:tr.prototype=nr;var hr=function(t,n,i){function r(n,i,r,e){var u;return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),u=t.call(this)||this,gn((function(){var t=new qi(r,i,e,!0);t.l=O(u),h(O(u),qn,t),n&&n.length&&u.spliceWithArray(0,0,n),fr&&Object.defineProperty(O(u),"0",sr)})),u}j(r,t);var e=r.prototype;return e.concat=function(){this[qn].ht.reportObserved();for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return Array.prototype.concat.apply(this.slice(),n.map((function(t){return hn(t)?t.slice():t})))},e[i]=function(){var t=this,n=0;return xn({next:function(){return n<t.length?{value:t[n++],done:!1}:{done:!0,value:void 0}}})},m(r,[{key:"length",get:function(){return this[qn].Ht()},set:function(t){this[qn].Xt(t)}},{key:n,get:function(){return"Array"}}]),r}(ar,Symbol.toStringTag,Symbol.iterator);Object.entries(Gi).forEach((function(t){var n=t[0];"concat"!==n&&a(hr.prototype,n,t[1])})),mn(1e3);var vr=Tn.toString;["Symbol","Map","Set"].forEach((function(t){void 0===i()[t]&&n("MobX requires global '"+t+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Mt,extras:{getDebugName:_n},$mobx:qn}),t.$mobx=qn,t.FlowCancellationError=Dt,t.ObservableMap=Yi,t.ObservableSet=ir,t.Reaction=Ai,t._allowStateChanges=ut,t._allowStateChangesInsideComputed=Nt,t._allowStateReadsEnd=yt,t._allowStateReadsStart=bt,t._autoAction=Ti,t._endAction=et,t._getAdministration=On,t._getGlobalState=function(){return gi},t._interceptReads=function(t,n,i){var r;return Qi(t)||hn(t)||li(t)?r=On(t):dn(t)&&(r=On(t,n)),r.dehancer="function"==typeof n?n:i,function(){r.dehancer=void 0}},t._isComputingDerivation=function(){return null!==gi.trackingDerivation},t._resetGlobalState=function(){var t=new ji;for(var n in t)-1===wi.indexOf(n)&&(gi[n]=t[n]);gi.allowStateChanges=!gi.enforceActions},t._startAction=rt,t.action=Ri,t.autorun=Rt,t.comparer=Xn,t.computed=ui,t.configure=function(t){!0===t.isolateGlobalState&&function(){if((gi.pendingReactions.length||gi.inBatch||gi.isRunningReactions)&&n(36),_i=!0,Oi){var t=i();0==--t.__mobxInstanceCount&&(t.__mobxGlobals=void 0),gi=new ji}}();var r,e,u=t.useProxies,o=t.enforceActions;if(void 0!==u&&(gi.useProxies="always"===u||"never"!==u&&"undefined"!=typeof Proxy),"ifavailable"===u&&(gi.verifyProxies=!0),void 0!==o){var s="always"===o?"always":"observed"===o;gi.enforceActions=s,gi.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(n){n in t&&(gi[n]=!!t[n])})),gi.allowStateReads=!gi.observableRequiresReaction,t.reactionScheduler&&(r=t.reactionScheduler,e=Si,Si=function(t){return r((function(){return e(t)}))})},t.createAtom=M,t.defineProperty=function(t,i,r){if(dn(t))return t[qn].v(i,r);n(39)},t.entries=function(t){return dn(t)?Xt(t).map((function(n){return[n,t[n]]})):Qi(t)?Xt(t).map((function(n){return[n,t.get(n)]})):rr(t)?Array.from(t.entries()):hn(t)?t.map((function(t,n){return[n,t]})):void n(7)},t.extendObservable=It,t.flow=Ki,t.flowResult=function(t){return t},t.get=function(t,i){if(Ut(t,i))return dn(t)?t[qn].lt(i):Qi(t)?t.get(i):hn(t)?t[i]:void n(11)},t.getAtom=jn,t.getDebugName=_n,t.getDependencyTree=function(t,n){return Kt(jn(t,n))},t.getObserverTree=function(t,n){return Pt(jn(t,n))},t.has=Ut,t.intercept=function(t,n,i){return u(i)?function(t,n,i){return On(t,n).gt(i)}(t,n,i):function(t,n){return On(t).gt(n)}(t,n)},t.isAction=Vt,t.isBoxedObservable=li,t.isComputed=function(t){return qt(t)},t.isComputedProp=function(t,n){return qt(t,n)},t.isFlow=Wt,t.isFlowCancellationError=function(t){return t instanceof Dt},t.isObservable=Ht,t.isObservableArray=hn,t.isObservableMap=Qi,t.isObservableObject=dn,t.isObservableProp=function(t,n){return Gt(t,n)},t.isObservableSet=rr,t.keys=Xt,t.makeAutoObservable=function(t,n,i){return f(t)?It(t,t,n,i):(gn((function(){var r=vn(t,i)[qn];if(!t[Di]){var e=Object.getPrototypeOf(t),u=new Set([].concat(Dn(t),Dn(e)));u.delete("constructor"),u.delete(qn),a(e,Di,u)}t[Di].forEach((function(t){return r.o(t,!n||!(t in n)||n[t])}))})),t)},t.makeObservable=function(t,n,i){return gn((function(){var r=vn(t,i)[qn];null!=n||(n=function(t){return y(t,Wn)||a(t,Wn,w({},t[Wn])),t[Wn]}(t)),Dn(n).forEach((function(t){return r.o(t,n[t])}))})),t},t.observable=ii,t.observe=function(t,n,i,r){return u(i)?function(t,n,i,r){return On(t,n).At(i,r)}(t,n,i,r):function(t,n,i){return On(t).At(n,i)}(t,n,i)},t.onBecomeObserved=kt,t.onBecomeUnobserved=Lt,t.onReactionError=function(t){return gi.globalReactionErrorHandlers.push(t),function(){var n=gi.globalReactionErrorHandlers.indexOf(t);n>=0&&gi.globalReactionErrorHandlers.splice(n,1)}},t.override=Un,t.ownKeys=Ft,t.reaction=function(t,n,i){function r(){if(y=!1,!m.nt){var n=!1,r=a;m.track((function(){var i=ut(!1,(function(){return t(m)}));n=b||!p(a,i),a=i})),(b&&i.fireImmediately||!b&&n)&&v(a,r,m),b=!1}}var e,u,o,s;void 0===i&&(i=Ln);var f,c,a,h=null!=(e=i.name)?e:"Reaction",v=Ri(h,i.onError?(f=i.onError,c=n,function(){try{return c.apply(this,arguments)}catch(t){f.call(this,t)}}):n),l=!i.scheduler&&!i.delay,d=Tt(i),b=!0,y=!1,p=i.compareStructural?Xn.structural:i.equals||Xn.default,m=new Ai(h,(function(){b||l?r():y||(y=!0,d(r))}),i.onError,i.requiresObservable);return null!=(u=i)&&null!=(o=u.signal)&&o.aborted||m.it(),m.rt(null==(s=i)?void 0:s.signal)},t.remove=function(t,i){dn(t)?t[qn].Gt(i):Qi(t)||rr(t)?t.delete(i):hn(t)?("number"!=typeof i&&(i=parseInt(i,10)),t.splice(i,1)):n(9)},t.runInAction=Nt,t.set=function t(i,r,e){if(2!==arguments.length||rr(i))dn(i)?i[qn].dt(r,e):Qi(i)?i.set(r,e):rr(i)?i.add(r):hn(i)?("number"!=typeof r&&(r=parseInt(r,10)),r<0&&n("Invalid index: '"+r+"'"),Ot(),r>=i.length&&(i.length=r+1),i[r]=e,_t()):n(8);else{Ot();var u=r;try{for(var o in u)t(i,o,u[o])}finally{_t()}}},t.spy=Mt,t.toJS=function(t){return function t(n,i){if(null==n||"object"!=typeof n||n instanceof Date||!Ht(n))return n;if(li(n)||pi(n))return t(n.get(),i);if(i.has(n))return i.get(n);if(hn(n)){var r=zt(i,n,new Array(n.length));return n.forEach((function(n,e){r[e]=t(n,i)})),r}if(rr(n)){var e=zt(i,n,new Set);return n.forEach((function(n){e.add(t(n,i))})),e}if(Qi(n)){var u=zt(i,n,new Map);return n.forEach((function(n,r){u.set(r,t(n,i))})),u}var o=zt(i,n,{});return Ft(n).forEach((function(r){Tn.propertyIsEnumerable.call(n,r)&&(o[r]=t(n[r],i))})),o}(t,new Map)},t.trace=function(){},t.transaction=$t,t.untracked=vt,t.values=function(t){return dn(t)?Xt(t).map((function(n){return t[n]})):Qi(t)?Xt(t).map((function(n){return t.get(n)})):rr(t)?Array.from(t.values()):hn(t)?t.slice():void n(6)},t.when=function(t,n,i){return 1===arguments.length||n&&"object"==typeof n?Yt(t,n):Jt(t,n,i||{})},Object.defineProperty(t,"__esModule",{value:!0})}));
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t=t||self).mobx={})}(this,(function(t){function n(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];throw new Error("number"==typeof t?"[MobX] minified error nr: "+t+(i.length?" "+i.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+t)}function i(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:Vn}function r(){Kn||n("Proxy not available")}function e(t){var n=!1;return function(){if(!n)return n=!0,t.apply(this,arguments)}}function u(t){return"function"==typeof t}function o(t){switch(typeof t){case"string":case"symbol":case"number":return!0}return!1}function s(t){return null!==t&&"object"==typeof t}function f(t){if(!s(t))return!1;var n=Object.getPrototypeOf(t);if(null==n)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i.toString()===Pn}function c(t){var n=null==t?void 0:t.constructor;return!!n&&("GeneratorFunction"===n.name||"GeneratorFunction"===n.displayName)}function a(t,n,i){Tn(t,n,{enumerable:!1,writable:!0,configurable:!0,value:i})}function h(t,n,i){Tn(t,n,{enumerable:!1,writable:!1,configurable:!0,value:i})}function v(t,n){var i="isMobX"+t;return n.prototype[i]=!0,function(t){return s(t)&&!0===t[i]}}function l(t){return t instanceof Map}function d(t){return t instanceof Set}function b(t){return null===t?null:"object"==typeof t?""+t:t}function y(t,n){return Ln.hasOwnProperty.call(t,n)}function p(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,"symbol"==typeof(e=function(t){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key))?e:String(e),r)}var e}function m(t,n,i){return n&&p(t.prototype,n),i&&p(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function w(){return(w=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function j(t,n){var i,r;t.prototype=Object.create(n.prototype),t.prototype.constructor=t,i=t,r=n,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t})(i,r)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function _(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t){if(t){if("string"==typeof t)return g(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,void 0):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[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 A(t){return Object.assign((function(n,i){if(x(i))return t.t(n,i);S(n,i,t)}),t)}function S(t,n,i){y(t,Gn)||a(t,Gn,w({},t[Gn])),function(t){return"override"===t.i}(i)||(t[Gn][n]=i)}function x(t){return"object"==typeof t&&"string"==typeof t.kind}function M(t,n,i){void 0===n&&(n=Bn),void 0===i&&(i=Bn);var r=new Un(t);return n!==Bn&&Ct(r,n),i!==Bn&&It(r,i),r}function E(t,n,i){return Xt(t)?t:Array.isArray(t)?ei.array(t,{name:i}):f(t)?ei.object(t,void 0,{name:i}):l(t)?ei.map(t,{name:i}):d(t)?ei.set(t,{name:i}):"function"!=typeof t||kt(t)||Gt(t)?t:c(t)?Bi(t):Li(i,t)}function N(t){return t}function V(t,n){return{i:t,u:n,o:R,s:k,t:T}}function R(t,n,i,r){var e;if(null!=(e=this.u)&&e.bound)return null===this.s(t,n,i,!1)?0:1;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(kt(i.value))return 1;var u=L(t,this,n,i,!1);return Tn(r,n,u),2}function k(t,n,i,r){var e=L(t,this,n,i);return t.v(n,e,r)}function T(t,i){var r=i.kind,e=i.name,u=i.addInitializer,o=this;if("field"!=r){var s,f,c,a,h,v;if("method"==r)return kt(t)||(f=t,t=nt(null!=(c=null==(a=o.u)?void 0:a.name)?c:e.toString(),f,null!=(h=null==(v=o.u)?void 0:v.autoAction)&&h)),null!=(s=this.u)&&s.bound&&u((function(){var t=this[e].bind(this);t.isMobxAction=!0,this[e]=t})),t;n("Cannot apply '"+o.i+"' to '"+String(e)+"' (kind: "+r+"):\n'"+o.i+"' can only be used on properties with a function value.")}else u((function(){S(this,e,o)}))}function L(t,n,i,r,e){var u,o,s,f,c,a,h;void 0===e&&(e=Si.safeDescriptors);var v,l=r.value;return null!=(u=n.u)&&u.bound&&(l=l.bind(null!=(v=t.l)?v:t.h)),{value:nt(null!=(o=null==(s=n.u)?void 0:s.name)?o:i.toString(),l,null!=(f=null==(c=n.u)?void 0:c.autoAction)&&f,null!=(a=n.u)&&a.bound?null!=(h=t.l)?h:t.h:void 0),configurable:!e||t.p,enumerable:!1,writable:!e}}function C(t,n){return{i:t,u:n,o:I,s:K,t:P}}function I(t,n,i,r){var e;if(r===t.h)return null===this.s(t,n,i,!1)?0:2;if(null!=(e=this.u)&&e.bound&&(!y(t.h,n)||!Gt(t.h[n]))&&null===this.s(t,n,i,!1))return 0;if(Gt(i.value))return 1;var u=B(t,0,0,i,!1,!1);return Tn(r,n,u),2}function K(t,n,i,r){var e,u=B(t,0,0,i,null==(e=this.u)?void 0:e.bound);return t.v(n,u,r)}function P(t,n){var i,r=n.name,e=n.addInitializer;return Gt(t)||(t=Bi(t)),null!=(i=this.u)&&i.bound&&e((function(){var t=this[r].bind(this);t.isMobXFlow=!0,this[r]=t})),t}function B(t,n,i,r,e,u){void 0===u&&(u=Si.safeDescriptors);var o,s=r.value;return Gt(s)||(s=Bi(s)),e&&((s=s.bind(null!=(o=t.l)?o:t.h)).isMobXFlow=!0),{value:s,configurable:!u||t.p,enumerable:!1,writable:!u}}function D(t,n){return{i:t,u:n,o:W,s:q,t:G}}function W(t,n,i){return null===this.s(t,n,i,!1)?0:1}function q(t,n,i,r){return t.m(n,w({},this.u,{get:i.get,set:i.set}),r)}function G(t,n){var i=this,r=n.name;return(0,n.addInitializer)((function(){var n=dn(this)[Hn],e=w({},i.u,{get:t,context:this});e.name||(e.name="ObservableObject."+r.toString()),n.j.set(r,new yi(e))})),function(){return this[Hn].O(r)}}function H(t,n){return{i:t,u:n,o:U,s:X,t:F}}function U(t,n,i){return null===this.s(t,n,i,!1)?0:1}function X(t,n,i,r){var e,u;return t.g(n,i.value,null!=(e=null==(u=this.u)?void 0:u.enhancer)?e:E,r)}function F(t,n){function i(t,n){var i,e,s=dn(t)[Hn],f=new di(n,null!=(i=null==(e=r.u)?void 0:e.enhancer)?i:E,"ObservableObject."+u.toString(),!1);s.j.set(u,f),o.add(t)}var r=this,e=n.kind,u=n.name,o=new WeakSet;if("accessor"==e)return{get:function(){return o.has(this)||i(this,t.get.call(this)),this[Hn].O(u)},set:function(t){return o.has(this)||i(this,t),this[Hn]._(u,t)},init:function(t){return o.has(this)||i(this,t),t}}}function z(t){return{i:"true",u:t,o:$,s:J,t:Y}}function $(t,n,i,r){var e,u,o,s;if(i.get)return si.o(t,n,i,r);if(i.set){var f=nt(n.toString(),i.set);return r===t.h?null===t.v(n,{configurable:!Si.safeDescriptors||t.p,set:f})?0:2:(Tn(r,n,{configurable:!0,set:f}),2)}if(r!==t.h&&"function"==typeof i.value)return c(i.value)?(null!=(s=this.u)&&s.autoBind?Bi.bound:Bi).o(t,n,i,r):(null!=(o=this.u)&&o.autoBind?Li.bound:Li).o(t,n,i,r);var a,h=!1===(null==(e=this.u)?void 0:e.deep)?ei.ref:ei;return"function"==typeof i.value&&null!=(u=this.u)&&u.autoBind&&(i.value=i.value.bind(null!=(a=t.l)?a:t.h)),h.o(t,n,i,r)}function J(t,n,i,r){var e,u,o;return i.get?si.s(t,n,i,r):i.set?t.v(n,{configurable:!Si.safeDescriptors||t.p,set:nt(n.toString(),i.set)},r):("function"==typeof i.value&&null!=(e=this.u)&&e.autoBind&&(i.value=i.value.bind(null!=(o=t.l)?o:t.h)),(!1===(null==(u=this.u)?void 0:u.deep)?ei.ref:ei).s(t,n,i,r))}function Y(){n("'"+this.i+"' cannot be used as a decorator")}function Q(t){return t||Jn}function Z(t){return!0===t.deep?E:!1===t.deep?N:(n=t.defaultDecorator)&&null!=(i=null==(r=n.u)?void 0:r.enhancer)?i:E;var n,i,r}function tt(t,n,i){return x(n)?Yn.t(t,n):o(n)?void S(t,n,Yn):Xt(t)?t:f(t)?ei.object(t,n,i):Array.isArray(t)?ei.array(t,n):l(t)?ei.map(t,n):d(t)?ei.set(t,n):"object"==typeof t&&null!==t?t:ei.box(t,n)}function nt(t,n,i,r){function e(){return it(0,i,n,r||this,arguments)}return void 0===i&&(i=!1),e.isMobxAction=!0,e.toString=function(){return n.toString()},hi&&(vi.value=t,Tn(e,"name",vi)),e}function it(t,n,i,r,e){var u=rt(0,n);try{return i.apply(r,e)}catch(t){throw u.A=t,t}finally{et(u)}}function rt(t,n){var i=Si.trackingDerivation,r=!n||!i;_t();var e=Si.allowStateChanges;r&&(bt(),e=ot(!0));var u={S:r,M:i,N:e,V:pt(!0),R:!1,k:0,T:ai++,L:ci};return ci=u.T,u}function et(t){ci!==t.T&&n(30),ci=t.L,void 0!==t.A&&(Si.suppressReactionErrors=!0),st(t.N),mt(t.V),At(),t.S&&yt(t.M),Si.suppressReactionErrors=!1}function ut(t,n){var i=ot(t);try{return n()}finally{st(i)}}function ot(t){var n=Si.allowStateChanges;return Si.allowStateChanges=t,n}function st(t){Si.allowStateChanges=t}function ft(t,n){return!!(t&n)}function ct(t,n,i){return i?t|=n:t&=~n,t}function at(t){return t instanceof ji}function ht(t){switch(t.C){case pi.I:return!1;case pi.K:case pi.P:return!0;case pi.B:for(var n=pt(!0),i=bt(),r=t.D,e=r.length,u=0;u<e;u++){var o=r[u];if(wi(o)){if(Si.disableErrorBoundaries)o.get();else try{o.get()}catch(t){return yt(i),mt(n),!0}if(t.C===pi.P)return yt(i),mt(n),!0}}return wt(t),yt(i),mt(n),!1}}function vt(t,n,i){var r=pt(!0);wt(t),t.W=new Array(0===t.q?100:t.D.length),t.G=0,t.q=++Si.runId;var e,u=Si.trackingDerivation;if(Si.trackingDerivation=t,Si.inBatch++,!0===Si.disableErrorBoundaries)e=n.call(i);else try{e=n.call(i)}catch(t){e=new ji(t)}return Si.inBatch--,Si.trackingDerivation=u,function(t){for(var n=t.D,i=t.D=t.W,r=pi.I,e=0,u=t.G,o=0;o<u;o++){var s=i[o];0===s.H&&(s.H=1,e!==o&&(i[e]=s),e++),s.C>r&&(r=s.C)}for(i.length=e,t.W=null,u=n.length;u--;){var f=n[u];0===f.H&&Ot(f,t),f.H=0}for(;e--;){var c=i[e];1===c.H&&(c.H=0,jt(c,t))}r!==pi.I&&(t.C=r,t.U())}(t),mt(r),e}function lt(t){var n=t.D;t.D=[];for(var i=n.length;i--;)Ot(n[i],t);t.C=pi.K}function dt(t){var n=bt();try{return t()}finally{yt(n)}}function bt(){var t=Si.trackingDerivation;return Si.trackingDerivation=null,t}function yt(t){Si.trackingDerivation=t}function pt(t){var n=Si.allowStateReads;return Si.allowStateReads=t,n}function mt(t){Si.allowStateReads=t}function wt(t){if(t.C!==pi.I){t.C=pi.I;for(var n=t.D,i=n.length;i--;)n[i].X=pi.I}}function jt(t,n){t.F.add(n),t.X>n.C&&(t.X=n.C)}function Ot(t,n){t.F.delete(n),0===t.F.size&&gt(t)}function gt(t){!1===t.isPendingUnobservation&&(t.isPendingUnobservation=!0,Si.pendingUnobservations.push(t))}function _t(){Si.inBatch++}function At(){if(0==--Si.inBatch){Mt();for(var t=Si.pendingUnobservations,n=0;n<t.length;n++){var i=t[n];i.isPendingUnobservation=!1,0===i.F.size&&(i.isBeingObserved&&(i.isBeingObserved=!1,i.onBUO()),i instanceof yi&&i.$())}Si.pendingUnobservations=[]}}function St(t){var n=Si.trackingDerivation;return null!==n?(n.q!==t.J&&(t.J=n.q,n.W[n.G++]=t,!t.isBeingObserved&&Si.trackingContext&&(t.isBeingObserved=!0,t.onBO())),t.isBeingObserved):(0===t.F.size&&Si.inBatch>0&&gt(t),!1)}function xt(t){t.X!==pi.P&&(t.X=pi.P,t.F.forEach((function(t){t.C===pi.I&&t.U(),t.C=pi.P})))}function Mt(){Si.inBatch>0||Si.isRunningReactions||Mi(Et)}function Et(){Si.isRunningReactions=!0;for(var t=Si.pendingReactions,n=0;t.length>0;){100==++n&&(console.error("[mobx] cycle in reaction: "+t[0]),t.splice(0));for(var i=t.splice(0),r=0,e=i.length;r<e;r++)i[r].Y()}Si.isRunningReactions=!1}function Nt(){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}function Vt(t){return function(n,i){return u(n)?nt(n.name||"<unnamed action>",n,t):u(i)?nt(n,i,t):x(i)?(t?Ri:Ni).t(n,i):o(i)?S(n,i,t?Ri:Ni):o(n)?A(V(t?"autoAction":"action",{name:n,autoAction:t})):void 0}}function Rt(t){return it(0,!1,t,this,void 0)}function kt(t){return u(t)&&!0===t.isMobxAction}function Tt(t,n){function i(){t(f)}var r,e,u,o,s;void 0===n&&(n=In);var f,c=null!=(r=null==(e=n)?void 0:e.name)?r:"Autorun";if(n.scheduler||n.delay){var a=Lt(n),h=!1;f=new xi(c,(function(){h||(h=!0,a((function(){h=!1,f.Z||f.track(i)})))}),n.onError,n.requiresObservable)}else f=new xi(c,(function(){this.track(i)}),n.onError,n.requiresObservable);return null!=(u=n)&&null!=(o=u.signal)&&o.aborted||f.tt(),f.nt(null==(s=n)?void 0:s.signal)}function Lt(t){return t.scheduler?t.scheduler:t.delay?function(n){return setTimeout(n,t.delay)}:Ci}function Ct(t,n,i){return Kt("onBO",t,n,i)}function It(t,n,i){return Kt("onBUO",t,n,i)}function Kt(t,n,i,r){var e="function"==typeof r?gn(n,i):gn(n),o=u(r)?r:i,s=t+"L";return e[s]?e[s].add(o):e[s]=new Set([o]),function(){var t=e[s];t&&(t.delete(o),0===t.size&&delete e[s])}}function Pt(t,n,i,r){var e=qn(n);return Sn((function(){var n=dn(t,r)[Hn];Wn(e).forEach((function(t){n.s(t,e[t],!i||!(t in i)||i[t])}))})),t}function Bt(t){var n,i={name:t.it};return t.D&&t.D.length>0&&(i.dependencies=(n=t.D,Array.from(new Set(n))).map(Bt)),i}function Dt(t){var n={name:t.it};return function(t){return t.F&&t.F.size>0}(t)&&(n.observers=Array.from(function(t){return t.F}(t)).map(Dt)),n}function Wt(){this.message="FLOW_CANCELLED"}function qt(t){u(t.cancel)&&t.cancel()}function Gt(t){return!0===(null==t?void 0:t.isMobXFlow)}function Ht(t,n){if(void 0===n)return wi(t);if(!1===yn(t))return!1;if(!t[Hn].j.has(n))return!1;var i=gn(t,n);return wi(i)}function Ut(t,n){return!!t&&(void 0!==n?!!yn(t)&&t[Hn].j.has(n):yn(t)||!!t[Hn]||Xn(t)||Ei(t)||wi(t))}function Xt(t){return Ut(t)}function Ft(t){return yn(t)?t[Hn].rt():tr(t)||ur(t)?Array.from(t.keys()):ln(t)?t.map((function(t,n){return n})):void n(5)}function zt(t,i){return yn(t)?t[Hn].et(i):tr(t)||ur(t)?t.has(i):ln(t)?i>=0&&i<t.length:void n(10)}function $t(t){if(yn(t))return t[Hn].ut();n(38)}function Jt(t,n,i){return t.set(n,i),i}function Yt(t,n){void 0===n&&(n=void 0),_t();try{return t.apply(n)}finally{At()}}function Qt(t,n,i){var r;if("number"==typeof i.timeout){var e=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!o[Hn].Z){if(o(),!i.onError)throw e;i.onError(e)}}),i.timeout)}i.name="When";var u=nt("When-effect",n),o=Tt((function(n){ut(!1,t)&&(n.dispose(),r&&clearTimeout(r),u())}),i);return o}function Zt(t,n){var i,r,e;if(null!=n&&null!=(i=n.signal)&&i.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var u=new Promise((function(i,u){var o,s=Qt(t,i,w({},n,{onError:u}));r=function(){s(),u(new Error("WHEN_CANCELLED"))},e=function(){s(),u(new Error("WHEN_ABORTED"))},null==n||null==(o=n.signal)||null==o.addEventListener||o.addEventListener("abort",e)})).finally((function(){var t;return null==n||null==(t=n.signal)||null==t.removeEventListener?void 0:t.removeEventListener("abort",e)}));return u.cancel=r,u}function tn(t){return t[Hn]}function nn(t){return void 0!==t.ot&&t.ot.length>0}function rn(t,n){var i=t.ot||(t.ot=[]);return i.push(n),e((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function en(t,i){var r=bt();try{for(var e=[].concat(t.ot||[]),u=0,o=e.length;u<o&&((i=e[u](i))&&!i.type&&n(14),i);u++);return i}finally{yt(r)}}function un(t){return void 0!==t.st&&t.st.length>0}function on(t,n){var i=t.st||(t.st=[]);return i.push(n),e((function(){var t=i.indexOf(n);-1!==t&&i.splice(t,1)}))}function sn(t,n){var i=bt(),r=t.st;if(r){for(var e=0,u=(r=r.slice()).length;e<u;e++)r[e](n);yt(i)}}function fn(t,n,i,e){return void 0===i&&(i="ObservableArray"),void 0===e&&(e=!1),r(),Sn((function(){var r=new Hi(i,n,e,!1);h(r.j,Hn,r);var u=new Proxy(r.j,Gi);return r.l=u,t&&t.length&&r.ft(0,0,t),u}))}function cn(t,n){"function"==typeof Array.prototype[t]&&(Ui[t]=n(t))}function an(t){return function(){var n=this[Hn];n.ct.reportObserved();var i=n.ht(n.j);return i[t].apply(i,arguments)}}function hn(t){return function(n,i){var r=this,e=this[Hn];return e.ct.reportObserved(),e.ht(e.j)[t]((function(t,e){return n.call(i,t,e,r)}))}}function vn(t){return function(){var n=this,i=this[Hn];i.ct.reportObserved();var r=i.ht(i.j),e=arguments[0];return arguments[0]=function(t,i,r){return e(t,i,r,n)},r[t].apply(r,arguments)}}function ln(t){return s(t)&&zi(t[Hn])}function dn(t,n){var i;if(y(t,Hn))return t;var r=null!=(i=null==n?void 0:n.name)?i:"ObservableObject",e=new sr(t,new Map,String(r),function(t){var n;return t?null!=(n=t.defaultDecorator)?n:z(t):void 0}(n));return a(t,Hn,e),t}function bn(t){return or[t]||(or[t]={get:function(){return this[Hn].O(t)},set:function(n){return this[Hn]._(t,n)}})}function yn(t){return!!s(t)&&fr(t[Hn])}function pn(t,n,i){var r;null==(r=t.h[Gn])||delete r[i]}function mn(t){return{enumerable:!1,configurable:!0,get:function(){return this[Hn].vt(t)},set:function(n){this[Hn].lt(t,n)}}}function wn(t){Tn(lr.prototype,""+t,mn(t))}function jn(t){if(t>hr){for(var n=hr;n<t+100;n++)wn(n);hr=t}}function On(t,n,i){return new lr(t,n,i)}function gn(t,i){if("object"==typeof t&&null!==t){if(ln(t))return void 0!==i&&n(23),t[Hn].ct;if(ur(t))return t.ct;if(tr(t)){if(void 0===i)return t.dt;var r=t.bt.get(i)||t.yt.get(i);return r||n(25,i,An(t)),r}if(yn(t)){if(!i)return n(26);var e=t[Hn].j.get(i);return e||n(27,i,An(t)),e}if(Xn(t)||wi(t)||Ei(t))return t}else if(u(t)&&Ei(t[Hn]))return t[Hn];n(28)}function _n(t,i){return t||n(29),void 0!==i?_n(gn(t,i)):Xn(t)||wi(t)||Ei(t)||tr(t)||ur(t)?t:t[Hn]?t[Hn]:void n(24,t)}function An(t,n){var i;if(void 0!==n)i=gn(t,n);else{if(kt(t))return t.name;i=yn(t)||tr(t)||ur(t)?_n(t):gn(t)}return i.it}function Sn(t){var n=bt(),i=ot(!0);_t();try{return t()}finally{At(),st(i),yt(n)}}function xn(t,n,i){return void 0===i&&(i=-1),function t(n,i,r,e,o){if(n===i)return 0!==n||1/n==1/i;if(null==n||null==i)return!1;if(n!=n)return i!=i;var s=typeof n;if("function"!==s&&"object"!==s&&"object"!=typeof i)return!1;var f=dr.call(n);if(f!==dr.call(i))return!1;switch(f){case"[object RegExp]":case"[object String]":return""+n==""+i;case"[object Number]":return+n!=+n?+i!=+i:0==+n?1/+n==1/i:+n==+i;case"[object Date]":case"[object Boolean]":return+n==+i;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(n)===Symbol.valueOf.call(i);case"[object Map]":case"[object Set]":r>=0&&r++}n=Mn(n),i=Mn(i);var c="[object Array]"===f;if(!c){if("object"!=typeof n||"object"!=typeof i)return!1;var a=n.constructor,h=i.constructor;if(a!==h&&!(u(a)&&a instanceof a&&u(h)&&h instanceof h)&&"constructor"in n&&"constructor"in i)return!1}if(0===r)return!1;r<0&&(r=-1),o=o||[];for(var v=(e=e||[]).length;v--;)if(e[v]===n)return o[v]===i;if(e.push(n),o.push(i),c){if((v=n.length)!==i.length)return!1;for(;v--;)if(!t(n[v],i[v],r-1,e,o))return!1}else{var l,d=Object.keys(n);if(v=d.length,Object.keys(i).length!==v)return!1;for(;v--;)if(!y(i,l=d[v])||!t(n[l],i[l],r-1,e,o))return!1}return e.pop(),o.pop(),!0}(t,n,i)}function Mn(t){return ln(t)?t.slice():l(t)||tr(t)||d(t)||ur(t)?Array.from(t.entries()):t}function En(t){return t[Symbol.iterator]=Nn,t}function Nn(){return this}var Vn={},Rn=Object.assign,kn=Object.getOwnPropertyDescriptor,Tn=Object.defineProperty,Ln=Object.prototype,Cn=[];Object.freeze(Cn);var In={};Object.freeze(In);var Kn="undefined"!=typeof Proxy,Pn=Object.toString(),Bn=function(){},Dn=void 0!==Object.getOwnPropertySymbols,Wn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Dn?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,qn=Object.getOwnPropertyDescriptors||function(t){var n={};return Wn(t).forEach((function(i){n[i]=kn(t,i)})),n},Gn=Symbol("mobx-stored-annotations"),Hn=Symbol("mobx administration"),Un=function(){function t(t){void 0===t&&(t="Atom"),this.it=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.F=new Set,this.H=0,this.J=0,this.X=pi.K,this.onBOL=void 0,this.onBUOL=void 0,this.it=t}var n=t.prototype;return n.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},n.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},n.reportObserved=function(){return St(this)},n.reportChanged=function(){_t(),xt(this),At()},n.toString=function(){return this.it},t}(),Xn=v("Atom",Un),Fn={identity:function(t,n){return t===n},structural:function(t,n){return xn(t,n)},default:function(t,n){return Object.is?Object.is(t,n):t===n?0!==t||1/t==1/n:t!=t&&n!=n},shallow:function(t,n){return xn(t,n,1)}},zn=A({i:"override",o:function(){return 0},s:function(){n("'"+this.i+"' can only be used with 'makeObservable'")},t:function(){console.warn("'"+this.i+"' cannot be used with decorators - this is a no-op")}}),$n=z(),Jn={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(Jn);var Yn=H("observable"),Qn=H("observable.ref",{enhancer:N}),Zn=H("observable.shallow",{enhancer:function(t,n,i){return null==t||yn(t)||ln(t)||tr(t)||ur(t)?t:Array.isArray(t)?ei.array(t,{name:i,deep:!1}):f(t)?ei.object(t,void 0,{name:i,deep:!1}):l(t)?ei.map(t,{name:i,deep:!1}):d(t)?ei.set(t,{name:i,deep:!1}):void 0}}),ti=H("observable.struct",{enhancer:function(t,n){return xn(t,n)?n:t}}),ni=A(Yn);Rn(tt,ni);var ii,ri,ei=Rn(tt,{box:function(t,n){var i=Q(n);return new di(t,Z(i),i.name,!0,i.equals)},array:function(t,n){var i=Q(n);return(!1===Si.useProxies||!1===i.proxy?On:fn)(t,Z(i),i.name)},map:function(t,n){var i=Q(n);return new Zi(t,Z(i),i.name)},set:function(t,n){var i=Q(n);return new er(t,Z(i),i.name)},object:function(t,n,i){return Sn((function(){return Pt(!1===Si.useProxies||!1===(null==i?void 0:i.proxy)?dn({},i):function(t,n){var i,e;return r(),null!=(e=(i=(t=dn(t,n))[Hn]).l)?e:i.l=new Proxy(t,Di)}({},i),t,n)}))},ref:A(Qn),shallow:A(Zn),deep:ni,struct:A(ti)}),ui=D("computed"),oi=D("computed.struct",{equals:Fn.structural}),si=function(t,n){if(x(n))return ui.t(t,n);if(o(n))return S(t,n,ui);if(f(t))return A(D("computed",t));var i=f(n)?n:{};return i.get=t,i.name||(i.name=t.name||""),new yi(i)};Object.assign(si,ui),si.struct=A(oi);var fi,ci=0,ai=1,hi=null!=(ii=null==(ri=kn((function(){}),"name"))?void 0:ri.configurable)&&ii,vi={value:"action",configurable:!0,writable:!1,enumerable:!1};fi=Symbol.toPrimitive;var li,di=function(t){function n(n,i,r,e,u){var o;return void 0===r&&(r="ObservableValue"),void 0===u&&(u=Fn.default),(o=t.call(this,r)||this).enhancer=void 0,o.it=void 0,o.equals=void 0,o.pt=!1,o.ot=void 0,o.st=void 0,o.wt=void 0,o.dehancer=void 0,o.enhancer=i,o.it=r,o.equals=u,o.wt=i(n,void 0,r),o}j(n,t);var i=n.prototype;return i.dehanceValue=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.set=function(t){(t=this.jt(t))!==Si.UNCHANGED&&this.Ot(t)},i.jt=function(t){if(nn(this)){var n=en(this,{object:this,type:qi,newValue:t});if(!n)return Si.UNCHANGED;t=n.newValue}return t=this.enhancer(t,this.wt,this.it),this.equals(this.wt,t)?Si.UNCHANGED:t},i.Ot=function(t){var n=this.wt;this.wt=t,this.reportChanged(),un(this)&&sn(this,{type:qi,object:this,newValue:t,oldValue:n})},i.get=function(){return this.reportObserved(),this.dehanceValue(this.wt)},i.gt=function(t){return rn(this,t)},i._t=function(t,n){return n&&t({observableKind:"value",debugObjectName:this.it,object:this,type:qi,newValue:this.wt,oldValue:void 0}),on(this,t)},i.raw=function(){return this.wt},i.toJSON=function(){return this.get()},i.toString=function(){return this.it+"["+this.wt+"]"},i.valueOf=function(){return b(this.get())},i[fi]=function(){return this.valueOf()},n}(Un),bi=v("ObservableValue",di);li=Symbol.toPrimitive;var yi=function(){function t(t){this.C=pi.K,this.D=[],this.W=null,this.F=new Set,this.H=0,this.q=0,this.J=0,this.X=pi.I,this.G=0,this.wt=new ji(null),this.it=void 0,this.At=void 0,this.St=0,this.derivation=void 0,this.xt=void 0,this.Mt=mi.NONE,this.Et=void 0,this.Nt=void 0,this.Vt=void 0,this.Rt=void 0,this.onBOL=void 0,this.onBUOL=void 0,t.get||n(31),this.derivation=t.get,this.it=t.name||"ComputedValue",t.set&&(this.xt=nt("ComputedValue-setter",t.set)),this.Nt=t.equals||(t.compareStructural||t.struct?Fn.structural:Fn.default),this.Et=t.context,this.Vt=t.requiresReaction,this.Rt=!!t.keepAlive}var i=t.prototype;return i.U=function(){!function(t){t.X===pi.I&&(t.X=pi.B,t.F.forEach((function(t){t.C===pi.I&&(t.C=pi.B,t.U())})))}(this)},i.onBO=function(){this.onBOL&&this.onBOL.forEach((function(t){return t()}))},i.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(t){return t()}))},i.get=function(){if(this.isComputing&&n(32,this.it,this.derivation),0!==Si.inBatch||0!==this.F.size||this.Rt){if(St(this),ht(this)){var t=Si.trackingContext;this.Rt&&!t&&(Si.trackingContext=this),this.trackAndCompute()&&function(t){t.X!==pi.P&&(t.X=pi.P,t.F.forEach((function(n){n.C===pi.B?n.C=pi.P:n.C===pi.I&&(t.X=pi.I)})))}(this),Si.trackingContext=t}}else ht(this)&&(this.kt(),_t(),this.wt=this.Tt(!1),At());var i=this.wt;if(at(i))throw i.cause;return i},i.set=function(t){if(this.xt){this.isRunningSetter&&n(33,this.it),this.isRunningSetter=!0;try{this.xt.call(this.Et,t)}finally{this.isRunningSetter=!1}}else n(34,this.it)},i.trackAndCompute=function(){var t=this.wt,n=this.C===pi.K,i=this.Tt(!0),r=n||at(t)||at(i)||!this.Nt(t,i);return r&&(this.wt=i),r},i.Tt=function(t){this.isComputing=!0;var n,i=ot(!1);if(t)n=vt(this,this.derivation,this.Et);else if(!0===Si.disableErrorBoundaries)n=this.derivation.call(this.Et);else try{n=this.derivation.call(this.Et)}catch(t){n=new ji(t)}return st(i),this.isComputing=!1,n},i.$=function(){this.Rt||(lt(this),this.wt=void 0)},i._t=function(t,n){var i=this,r=!0,e=void 0;return Tt((function(){var u=i.get();if(!r||n){var o=bt();t({observableKind:"computed",debugObjectName:i.it,type:qi,object:i,newValue:u,oldValue:e}),yt(o)}r=!1,e=u}))},i.kt=function(){},i.toString=function(){return this.it+"["+this.derivation.toString()+"]"},i.valueOf=function(){return b(this.get())},i[li]=function(){return this.valueOf()},m(t,[{key:"isComputing",get:function(){return ft(this.St,t.Lt)},set:function(n){this.St=ct(this.St,t.Lt,n)}},{key:"isRunningSetter",get:function(){return ft(this.St,t.Ct)},set:function(n){this.St=ct(this.St,t.Ct,n)}},{key:"isBeingObserved",get:function(){return ft(this.St,t.It)},set:function(n){this.St=ct(this.St,t.It,n)}},{key:"isPendingUnobservation",get:function(){return ft(this.St,t.Kt)},set:function(n){this.St=ct(this.St,t.Kt,n)}}]),t}();yi.Lt=1,yi.Ct=2,yi.It=4,yi.Kt=8;var pi,mi,wi=v("ComputedValue",yi);!function(t){t[t.K=-1]="NOT_TRACKING_",t[t.I=0]="UP_TO_DATE_",t[t.B=1]="POSSIBLY_STALE_",t[t.P=2]="STALE_"}(pi||(pi={})),function(t){t[t.NONE=0]="NONE",t[t.LOG=1]="LOG",t[t.BREAK=2]="BREAK"}(mi||(mi={}));var ji=function(t){this.cause=void 0,this.cause=t},Oi=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED","useProxies"],gi=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},_i=!0,Ai=!1,Si=function(){var t=i();return t.__mobxInstanceCount>0&&!t.__mobxGlobals&&(_i=!1),t.__mobxGlobals&&t.__mobxGlobals.version!==(new gi).version&&(_i=!1),_i?t.__mobxGlobals?(t.__mobxInstanceCount+=1,t.__mobxGlobals.UNCHANGED||(t.__mobxGlobals.UNCHANGED={}),t.__mobxGlobals):(t.__mobxInstanceCount=1,t.__mobxGlobals=new gi):(setTimeout((function(){Ai||n(35)}),1),new gi)}(),xi=function(){function t(t,n,i,r){void 0===t&&(t="Reaction"),this.it=void 0,this.Pt=void 0,this.Bt=void 0,this.Dt=void 0,this.D=[],this.W=[],this.C=pi.K,this.H=0,this.q=0,this.G=0,this.Z=!1,this.Wt=!1,this.qt=!1,this.Gt=!1,this.Mt=mi.NONE,this.it=t,this.Pt=n,this.Bt=i,this.Dt=r}var n=t.prototype;return n.U=function(){this.tt()},n.tt=function(){this.Wt||(this.Wt=!0,Si.pendingReactions.push(this),Mt())},n.isScheduled=function(){return this.Wt},n.Y=function(){if(!this.Z){_t(),this.Wt=!1;var t=Si.trackingContext;if(Si.trackingContext=this,ht(this)){this.qt=!0;try{this.Pt()}catch(t){this.Ht(t)}}Si.trackingContext=t,At()}},n.track=function(t){if(!this.Z){_t(),this.Gt=!0;var n=Si.trackingContext;Si.trackingContext=this;var i=vt(this,t,void 0);Si.trackingContext=n,this.Gt=!1,this.qt=!1,this.Z&&lt(this),at(i)&&this.Ht(i.cause),At()}},n.Ht=function(t){var n=this;if(this.Bt)this.Bt(t,this);else{if(Si.disableErrorBoundaries)throw t;Si.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",t),Si.globalReactionErrorHandlers.forEach((function(i){return i(t,n)}))}},n.dispose=function(){this.Z||(this.Z=!0,this.Gt||(_t(),lt(this),At()))},n.nt=function(t){var n=this,i=function i(){n.dispose(),null==t||null==t.removeEventListener||t.removeEventListener("abort",i)};return null==t||null==t.addEventListener||t.addEventListener("abort",i),i[Hn]=this,i},n.toString=function(){return"Reaction["+this.it+"]"},n.trace=function(){},t}(),Mi=function(t){return t()},Ei=v("Reaction",xi),Ni=V("action"),Vi=V("action.bound",{bound:!0}),Ri=V("autoAction",{autoAction:!0}),ki=V("autoAction.bound",{autoAction:!0,bound:!0}),Ti=Vt(!1);Object.assign(Ti,Ni);var Li=Vt(!0);Object.assign(Li,Ri),Ti.bound=A(Vi),Li.bound=A(ki);var Ci=function(t){return t()},Ii=0;Wt.prototype=Object.create(Error.prototype);var Ki=C("flow"),Pi=C("flow.bound",{bound:!0}),Bi=Object.assign((function(t,n){if(x(n))return Ki.t(t,n);if(o(n))return S(t,n,Ki);var i=t,r=i.name||"<unnamed flow>",e=function(){var t,n=this,e=arguments,o=++Ii,s=Ti(r+" - runid: "+o+" - init",i).apply(n,e),f=void 0,c=new Promise((function(n,i){function e(t){var n;f=void 0;try{n=Ti(r+" - runid: "+o+" - yield "+h++,s.next).call(s,t)}catch(t){return i(t)}a(n)}function c(t){var n;f=void 0;try{n=Ti(r+" - runid: "+o+" - yield "+h++,s.throw).call(s,t)}catch(t){return i(t)}a(n)}function a(t){if(!u(null==t?void 0:t.then))return t.done?n(t.value):(f=Promise.resolve(t.value)).then(e,c);t.then(a,i)}var h=0;t=i,e(void 0)}));return c.cancel=Ti(r+" - runid: "+o+" - cancel",(function(){try{f&&qt(f);var n=s.return(void 0),i=Promise.resolve(n.value);i.then(Bn,Bn),qt(i),t(new Wt)}catch(n){t(n)}})),c};return e.isMobXFlow=!0,e}),Ki);Bi.bound=A(Pi);var Di={has:function(t,n){return tn(t).et(n)},get:function(t,n){return tn(t).vt(n)},set:function(t,n,i){var r;return!!o(n)&&(null==(r=tn(t).lt(n,i,!0))||r)},deleteProperty:function(t,n){var i;return!!o(n)&&(null==(i=tn(t).Ut(n,!0))||i)},defineProperty:function(t,n,i){var r;return null==(r=tn(t).v(n,i))||r},ownKeys:function(t){return tn(t).ut()},preventExtensions:function(){n(13)}},Wi=Symbol("mobx-keys"),qi="update",Gi={get:function(t,n){var i=t[Hn];return n===Hn?i:"length"===n?i.Xt():"string"!=typeof n||isNaN(n)?y(Ui,n)?Ui[n]:t[n]:i.vt(parseInt(n))},set:function(t,n,i){var r=t[Hn];return"length"===n&&r.Ft(i),"symbol"==typeof n||isNaN(n)?t[n]=i:r.lt(parseInt(n),i),!0},preventExtensions:function(){n(15)}},Hi=function(){function t(t,n,i,r){void 0===t&&(t="ObservableArray"),this.zt=void 0,this.$t=void 0,this.ct=void 0,this.j=[],this.ot=void 0,this.st=void 0,this.Jt=void 0,this.dehancer=void 0,this.l=void 0,this.Yt=0,this.zt=i,this.$t=r,this.ct=new Un(t),this.Jt=function(t,i){return n(t,i,"ObservableArray[..]")}}var i=t.prototype;return i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.ht=function(t){return void 0!==this.dehancer&&t.length>0?t.map(this.dehancer):t},i.gt=function(t){return rn(this,t)},i._t=function(t,n){return void 0===n&&(n=!1),n&&t({observableKind:"array",object:this.l,debugObjectName:this.ct.it,type:"splice",index:0,added:this.j.slice(),addedCount:this.j.length,removed:[],removedCount:0}),on(this,t)},i.Xt=function(){return this.ct.reportObserved(),this.j.length},i.Ft=function(t){("number"!=typeof t||isNaN(t)||t<0)&&n("Out of range: "+t);var i=this.j.length;if(t!==i)if(t>i){for(var r=new Array(t-i),e=0;e<t-i;e++)r[e]=void 0;this.ft(i,0,r)}else this.ft(t,i-t)},i.Zt=function(t,i){t!==this.Yt&&n(16),this.Yt+=i,this.$t&&i>0&&jn(t+i+1)},i.ft=function(t,n,i){var r=this,e=this.j.length;if(void 0===t?t=0:t>e?t=e:t<0&&(t=Math.max(0,e+t)),n=1===arguments.length?e-t:null==n?0:Math.max(0,Math.min(n,e-t)),void 0===i&&(i=Cn),nn(this)){var u=en(this,{object:this.l,type:"splice",index:t,removedCount:n,added:i});if(!u)return Cn;n=u.removedCount,i=u.added}if(i=0===i.length?i:i.map((function(t){return r.Jt(t,void 0)})),this.$t){var o=i.length-n;this.Zt(e,o)}var s=this.tn(t,n,i);return 0===n&&0===i.length||this.nn(t,i,s),this.ht(s)},i.tn=function(t,n,i){var r;if(i.length<1e4)return(r=this.j).splice.apply(r,[t,n].concat(i));var e=this.j.slice(t,t+n),u=this.j.slice(t+n);this.j.length+=i.length-n;for(var o=0;o<i.length;o++)this.j[t+o]=i[o];for(var s=0;s<u.length;s++)this.j[t+i.length+s]=u[s];return e},i.in=function(t,n,i){var r=!this.zt&&!1,e=un(this),u=e||r?{observableKind:"array",object:this.l,type:qi,debugObjectName:this.ct.it,index:t,newValue:n,oldValue:i}:null;this.ct.reportChanged(),e&&sn(this,u)},i.nn=function(t,n,i){var r=!this.zt&&!1,e=un(this),u=e||r?{observableKind:"array",object:this.l,debugObjectName:this.ct.it,type:"splice",index:t,removed:i,added:n,removedCount:i.length,addedCount:n.length}:null;this.ct.reportChanged(),e&&sn(this,u)},i.vt=function(t){if(!(this.$t&&t>=this.j.length))return this.ct.reportObserved(),this.Qt(this.j[t]);console.warn("[mobx] Out of bounds read: "+t)},i.lt=function(t,i){var r=this.j;if(this.$t&&t>r.length&&n(17,t,r.length),t<r.length){var e=r[t];if(nn(this)){var u=en(this,{type:qi,object:this.l,index:t,newValue:i});if(!u)return;i=u.newValue}(i=this.Jt(i,e))!==e&&(r[t]=i,this.in(t,i,e))}else{for(var o=new Array(t+1-r.length),s=0;s<o.length-1;s++)o[s]=void 0;o[o.length-1]=i,this.ft(r.length,0,o)}},t}(),Ui={clear:function(){return this.splice(0)},replace:function(t){var n=this[Hn];return n.ft(0,n.j.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var i=arguments.length,r=new Array(i>2?i-2:0),e=2;e<i;e++)r[e-2]=arguments[e];var u=this[Hn];switch(arguments.length){case 0:return[];case 1:return u.ft(t);case 2:return u.ft(t,n)}return u.ft(t,n,r)},spliceWithArray:function(t,n,i){return this[Hn].ft(t,n,i)},push:function(){for(var t=this[Hn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.ft(t.j.length,0,i),t.j.length},pop:function(){return this.splice(Math.max(this[Hn].j.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[Hn],n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return t.ft(0,0,i),t.j.length},reverse:function(){return Si.trackingDerivation&&n(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Si.trackingDerivation&&n(37,"sort");var t=this.slice();return t.sort.apply(t,arguments),this.replace(t),this},remove:function(t){var n=this[Hn],i=n.ht(n.j).indexOf(t);return i>-1&&(this.splice(i,1),!0)}};cn("at",an),cn("concat",an),cn("flat",an),cn("includes",an),cn("indexOf",an),cn("join",an),cn("lastIndexOf",an),cn("slice",an),cn("toString",an),cn("toLocaleString",an),cn("toSorted",an),cn("toSpliced",an),cn("with",an),cn("every",hn),cn("filter",hn),cn("find",hn),cn("findIndex",hn),cn("findLast",hn),cn("findLastIndex",hn),cn("flatMap",hn),cn("forEach",hn),cn("map",hn),cn("some",hn),cn("toReversed",hn),cn("reduce",vn),cn("reduceRight",vn);var Xi,Fi,zi=v("ObservableArrayAdministration",Hi),$i={},Ji="add";Xi=Symbol.iterator,Fi=Symbol.toStringTag;var Yi,Qi,Zi=function(){function t(t,i,r){var e=this;void 0===i&&(i=E),void 0===r&&(r="ObservableMap"),this.Jt=void 0,this.it=void 0,this[Hn]=$i,this.bt=void 0,this.yt=void 0,this.dt=void 0,this.ot=void 0,this.st=void 0,this.dehancer=void 0,this.Jt=i,this.it=r,u(Map)||n(18),Sn((function(){e.dt=M("ObservableMap.keys()"),e.bt=new Map,e.yt=new Map,t&&e.merge(t)}))}var i=t.prototype;return i.et=function(t){return this.bt.has(t)},i.has=function(t){var n=this;if(!Si.trackingDerivation)return this.et(t);var i=this.yt.get(t);if(!i){var r=i=new di(this.et(t),N,"ObservableMap.key?",!1);this.yt.set(t,r),It(r,(function(){return n.yt.delete(t)}))}return i.get()},i.set=function(t,n){var i=this.et(t);if(nn(this)){var r=en(this,{type:i?qi:Ji,object:this,newValue:n,name:t});if(!r)return this;n=r.newValue}return i?this.rn(t,n):this.en(t,n),this},i.delete=function(t){var n=this;if(nn(this)&&!en(this,{type:"delete",object:this,name:t}))return!1;if(this.et(t)){var i=un(this),r=i?{observableKind:"map",debugObjectName:this.it,type:"delete",object:this,oldValue:this.bt.get(t).wt,name:t}:null;return Yt((function(){var i;n.dt.reportChanged(),null==(i=n.yt.get(t))||i.Ot(!1),n.bt.get(t).Ot(void 0),n.bt.delete(t)})),i&&sn(this,r),!0}return!1},i.rn=function(t,n){var i=this.bt.get(t);if((n=i.jt(n))!==Si.UNCHANGED){var r=un(this),e=r?{observableKind:"map",debugObjectName:this.it,type:qi,object:this,oldValue:i.wt,name:t,newValue:n}:null;i.Ot(n),r&&sn(this,e)}},i.en=function(t,n){var i=this;Yt((function(){var r,e=new di(n,i.Jt,"ObservableMap.key",!1);i.bt.set(t,e),n=e.wt,null==(r=i.yt.get(t))||r.Ot(!0),i.dt.reportChanged()}));var r=un(this);r&&sn(this,r?{observableKind:"map",debugObjectName:this.it,type:Ji,object:this,name:t,newValue:n}:null)},i.get=function(t){return this.has(t)?this.Qt(this.bt.get(t).get()):this.Qt(void 0)},i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.keys=function(){return this.dt.reportObserved(),this.bt.keys()},i.values=function(){var t=this,n=this.keys();return En({next:function(){var i=n.next(),r=i.done;return{done:r,value:r?void 0:t.get(i.value)}}})},i.entries=function(){var t=this,n=this.keys();return En({next:function(){var i=n.next(),r=i.done,e=i.value;return{done:r,value:r?void 0:[e,t.get(e)]}}})},i[Xi]=function(){return this.entries()},i.forEach=function(t,n){for(var i,r=_(this);!(i=r()).done;){var e=i.value;t.call(n,e[1],e[0],this)}},i.merge=function(t){var i=this;return tr(t)&&(t=new Map(t)),Yt((function(){f(t)?function(t){var n=Object.keys(t);if(!Dn)return n;var i=Object.getOwnPropertySymbols(t);return i.length?[].concat(n,i.filter((function(n){return Ln.propertyIsEnumerable.call(t,n)}))):n}(t).forEach((function(n){return i.set(n,t[n])})):Array.isArray(t)?t.forEach((function(t){return i.set(t[0],t[1])})):l(t)?(t.constructor!==Map&&n(19,t),t.forEach((function(t,n){return i.set(n,t)}))):null!=t&&n(20,t)})),this},i.clear=function(){var t=this;Yt((function(){dt((function(){for(var n,i=_(t.keys());!(n=i()).done;)t.delete(n.value)}))}))},i.replace=function(t){var i=this;return Yt((function(){for(var r,e=function(t){if(l(t)||tr(t))return t;if(Array.isArray(t))return new Map(t);if(f(t)){var i=new Map;for(var r in t)i.set(r,t[r]);return i}return n(21,t)}(t),u=new Map,o=!1,s=_(i.bt.keys());!(r=s()).done;){var c=r.value;if(!e.has(c))if(i.delete(c))o=!0;else{var a=i.bt.get(c);u.set(c,a)}}for(var h,v=_(e.entries());!(h=v()).done;){var d=h.value,b=d[0],y=d[1],p=i.bt.has(b);if(i.set(b,y),i.bt.has(b)){var m=i.bt.get(b);u.set(b,m),p||(o=!0)}}if(!o)if(i.bt.size!==u.size)i.dt.reportChanged();else for(var w=i.bt.keys(),j=u.keys(),O=w.next(),g=j.next();!O.done;){if(O.value!==g.value){i.dt.reportChanged();break}O=w.next(),g=j.next()}i.bt=u})),this},i.toString=function(){return"[object ObservableMap]"},i.toJSON=function(){return Array.from(this)},i._t=function(t){return on(this,t)},i.gt=function(t){return rn(this,t)},m(t,[{key:"size",get:function(){return this.dt.reportObserved(),this.bt.size}},{key:Fi,get:function(){return"Map"}}]),t}(),tr=v("ObservableMap",Zi),nr={};Yi=Symbol.iterator,Qi=Symbol.toStringTag;var ir,rr,er=function(){function t(t,i,r){var e=this;void 0===i&&(i=E),void 0===r&&(r="ObservableSet"),this.it=void 0,this[Hn]=nr,this.bt=new Set,this.ct=void 0,this.st=void 0,this.ot=void 0,this.dehancer=void 0,this.Jt=void 0,this.it=r,u(Set)||n(22),this.Jt=function(t,n){return i(t,n,r)},Sn((function(){e.ct=M(e.it),t&&e.replace(t)}))}var i=t.prototype;return i.Qt=function(t){return void 0!==this.dehancer?this.dehancer(t):t},i.clear=function(){var t=this;Yt((function(){dt((function(){for(var n,i=_(t.bt.values());!(n=i()).done;)t.delete(n.value)}))}))},i.forEach=function(t,n){for(var i,r=_(this);!(i=r()).done;){var e=i.value;t.call(n,e,e,this)}},i.add=function(t){var n=this;if(nn(this)&&!en(this,{type:Ji,object:this,newValue:t}))return this;if(!this.has(t)){Yt((function(){n.bt.add(n.Jt(t,void 0)),n.ct.reportChanged()}));var i=un(this);i&&sn(this,i?{observableKind:"set",debugObjectName:this.it,type:Ji,object:this,newValue:t}:null)}return this},i.delete=function(t){var n=this;if(nn(this)&&!en(this,{type:"delete",object:this,oldValue:t}))return!1;if(this.has(t)){var i=un(this),r=i?{observableKind:"set",debugObjectName:this.it,type:"delete",object:this,oldValue:t}:null;return Yt((function(){n.ct.reportChanged(),n.bt.delete(t)})),i&&sn(this,r),!0}return!1},i.has=function(t){return this.ct.reportObserved(),this.bt.has(this.Qt(t))},i.entries=function(){var t=0,n=Array.from(this.keys()),i=Array.from(this.values());return En({next:function(){var r=t;return t+=1,r<i.length?{value:[n[r],i[r]],done:!1}:{done:!0}}})},i.keys=function(){return this.values()},i.values=function(){this.ct.reportObserved();var t=this,n=0,i=Array.from(this.bt.values());return En({next:function(){return n<i.length?{value:t.Qt(i[n++]),done:!1}:{done:!0}}})},i.replace=function(t){var i=this;return ur(t)&&(t=new Set(t)),Yt((function(){Array.isArray(t)||d(t)?(i.clear(),t.forEach((function(t){return i.add(t)}))):null!=t&&n("Cannot initialize set from "+t)})),this},i._t=function(t){return on(this,t)},i.gt=function(t){return rn(this,t)},i.toJSON=function(){return Array.from(this)},i.toString=function(){return"[object ObservableSet]"},i[Yi]=function(){return this.values()},m(t,[{key:"size",get:function(){return this.ct.reportObserved(),this.bt.size}},{key:Qi,get:function(){return"Set"}}]),t}(),ur=v("ObservableSet",er),or=Object.create(null),sr=function(){function t(t,n,i,r){void 0===n&&(n=new Map),void 0===r&&(r=$n),this.h=void 0,this.j=void 0,this.it=void 0,this.un=void 0,this.dt=void 0,this.st=void 0,this.ot=void 0,this.l=void 0,this.p=void 0,this.on=void 0,this.sn=void 0,this.h=t,this.j=n,this.it=i,this.un=r,this.dt=new Un("ObservableObject.keys"),this.p=f(this.h)}var i=t.prototype;return i.O=function(t){return this.j.get(t).get()},i._=function(t,n){var i=this.j.get(t);if(i instanceof yi)return i.set(n),!0;if(nn(this)){var r=en(this,{type:qi,object:this.l||this.h,name:t,newValue:n});if(!r)return null;n=r.newValue}if((n=i.jt(n))!==Si.UNCHANGED){var e=un(this),u=e?{type:qi,observableKind:"object",debugObjectName:this.it,object:this.l||this.h,oldValue:i.wt,name:t,newValue:n}:null;i.Ot(n),e&&sn(this,u)}return!0},i.vt=function(t){return Si.trackingDerivation&&!y(this.h,t)&&this.et(t),this.h[t]},i.lt=function(t,n,i){return void 0===i&&(i=!1),y(this.h,t)?this.j.has(t)?this._(t,n):i?Reflect.set(this.h,t,n):(this.h[t]=n,!0):this.s(t,{value:n,enumerable:!0,writable:!0,configurable:!0},this.un,i)},i.et=function(t){if(!Si.trackingDerivation)return t in this.h;this.sn||(this.sn=new Map);var n=this.sn.get(t);return n||(n=new di(t in this.h,N,"ObservableObject.key?",!1),this.sn.set(t,n)),n.get()},i.o=function(t,i){if(!0===i&&(i=this.un),!1!==i){if(!(t in this.h)){var r;if(null!=(r=this.h[Gn])&&r[t])return;n(1,i.i,this.it+"."+t.toString())}for(var e=this.h;e&&e!==Ln;){var u=kn(e,t);if(u){var o=i.o(this,t,u,e);if(0===o)return;if(1===o)break}e=Object.getPrototypeOf(e)}pn(this,0,t)}},i.s=function(t,n,i,r){if(void 0===r&&(r=!1),!0===i&&(i=this.un),!1===i)return this.v(t,n,r);var e=i.s(this,t,n,r);return e&&pn(this,0,t),e},i.v=function(t,n,i){void 0===i&&(i=!1);try{_t();var r=this.Ut(t);if(!r)return r;if(nn(this)){var e=en(this,{object:this.l||this.h,name:t,type:Ji,newValue:n.value});if(!e)return null;var u=e.newValue;n.value!==u&&(n=w({},n,{value:u}))}if(i){if(!Reflect.defineProperty(this.h,t,n))return!1}else Tn(this.h,t,n);this.fn(t,n.value)}finally{At()}return!0},i.g=function(t,n,i,r){void 0===r&&(r=!1);try{_t();var e=this.Ut(t);if(!e)return e;if(nn(this)){var u=en(this,{object:this.l||this.h,name:t,type:Ji,newValue:n});if(!u)return null;n=u.newValue}var o=bn(t),s={configurable:!Si.safeDescriptors||this.p,enumerable:!0,get:o.get,set:o.set};if(r){if(!Reflect.defineProperty(this.h,t,s))return!1}else Tn(this.h,t,s);var f=new di(n,i,"ObservableObject.key",!1);this.j.set(t,f),this.fn(t,f.wt)}finally{At()}return!0},i.m=function(t,n,i){void 0===i&&(i=!1);try{_t();var r=this.Ut(t);if(!r)return r;if(nn(this)&&!en(this,{object:this.l||this.h,name:t,type:Ji,newValue:void 0}))return null;n.name||(n.name="ObservableObject.key"),n.context=this.l||this.h;var e=bn(t),u={configurable:!Si.safeDescriptors||this.p,enumerable:!1,get:e.get,set:e.set};if(i){if(!Reflect.defineProperty(this.h,t,u))return!1}else Tn(this.h,t,u);this.j.set(t,new yi(n)),this.fn(t,void 0)}finally{At()}return!0},i.Ut=function(t,n){if(void 0===n&&(n=!1),!y(this.h,t))return!0;if(nn(this)&&!en(this,{object:this.l||this.h,name:t,type:"remove"}))return null;try{var i,r;_t();var e,u=un(this),o=this.j.get(t),s=void 0;if(!o&&u&&(s=null==(e=kn(this.h,t))?void 0:e.value),n){if(!Reflect.deleteProperty(this.h,t))return!1}else delete this.h[t];o&&(this.j.delete(t),o instanceof di&&(s=o.wt),xt(o)),this.dt.reportChanged(),null==(i=this.sn)||null==(r=i.get(t))||r.set(t in this.h),u&&u&&sn(this,{type:"remove",observableKind:"object",object:this.l||this.h,debugObjectName:this.it,oldValue:s,name:t})}finally{At()}return!0},i._t=function(t){return on(this,t)},i.gt=function(t){return rn(this,t)},i.fn=function(t,n){var i,r,e=un(this);e&&e&&sn(this,e?{type:Ji,observableKind:"object",debugObjectName:this.it,object:this.l||this.h,name:t,newValue:n}:null),null==(i=this.sn)||null==(r=i.get(t))||r.set(!0),this.dt.reportChanged()},i.ut=function(){return this.dt.reportObserved(),Wn(this.h)},i.rt=function(){return this.dt.reportObserved(),Object.keys(this.h)},t}(),fr=v("ObservableObjectAdministration",sr),cr=mn(0),ar=function(){var t=!1,n={};return Object.defineProperty(n,"0",{set:function(){t=!0}}),Object.create(n)[0]=1,!1===t}(),hr=0,vr=function(){};ir=vr,rr=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(ir.prototype,rr):void 0!==ir.prototype.__proto__?ir.prototype.__proto__=rr:ir.prototype=rr;var lr=function(t,n,i){function r(n,i,r,e){var u;return void 0===r&&(r="ObservableArray"),void 0===e&&(e=!1),u=t.call(this)||this,Sn((function(){var t=new Hi(r,i,e,!0);t.l=O(u),h(O(u),Hn,t),n&&n.length&&u.spliceWithArray(0,0,n),ar&&Object.defineProperty(O(u),"0",cr)})),u}j(r,t);var e=r.prototype;return e.concat=function(){this[Hn].ct.reportObserved();for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return Array.prototype.concat.apply(this.slice(),n.map((function(t){return ln(t)?t.slice():t})))},e[i]=function(){var t=this,n=0;return En({next:function(){return n<t.length?{value:t[n++],done:!1}:{done:!0,value:void 0}}})},m(r,[{key:"length",get:function(){return this[Hn].Xt()},set:function(t){this[Hn].Ft(t)}},{key:n,get:function(){return"Array"}}]),r}(vr,Symbol.toStringTag,Symbol.iterator);Object.entries(Ui).forEach((function(t){var n=t[0];"concat"!==n&&a(lr.prototype,n,t[1])})),jn(1e3);var dr=Ln.toString;["Symbol","Map","Set"].forEach((function(t){void 0===i()[t]&&n("MobX requires global '"+t+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Nt,extras:{getDebugName:An},$mobx:Hn}),t.$mobx=Hn,t.FlowCancellationError=Wt,t.ObservableMap=Zi,t.ObservableSet=er,t.Reaction=xi,t._allowStateChanges=ut,t._allowStateChangesInsideComputed=Rt,t._allowStateReadsEnd=mt,t._allowStateReadsStart=pt,t._autoAction=Li,t._endAction=et,t._getAdministration=_n,t._getGlobalState=function(){return Si},t._interceptReads=function(t,n,i){var r;return tr(t)||ln(t)||bi(t)?r=_n(t):yn(t)&&(r=_n(t,n)),r.dehancer="function"==typeof n?n:i,function(){r.dehancer=void 0}},t._isComputingDerivation=function(){return null!==Si.trackingDerivation},t._resetGlobalState=function(){var t=new gi;for(var n in t)-1===Oi.indexOf(n)&&(Si[n]=t[n]);Si.allowStateChanges=!Si.enforceActions},t._startAction=rt,t.action=Ti,t.autorun=Tt,t.comparer=Fn,t.computed=si,t.configure=function(t){!0===t.isolateGlobalState&&function(){if((Si.pendingReactions.length||Si.inBatch||Si.isRunningReactions)&&n(36),Ai=!0,_i){var t=i();0==--t.__mobxInstanceCount&&(t.__mobxGlobals=void 0),Si=new gi}}();var r,e,u=t.useProxies,o=t.enforceActions;if(void 0!==u&&(Si.useProxies="always"===u||"never"!==u&&"undefined"!=typeof Proxy),"ifavailable"===u&&(Si.verifyProxies=!0),void 0!==o){var s="always"===o?"always":"observed"===o;Si.enforceActions=s,Si.allowStateChanges=!0!==s&&"always"!==s}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(n){n in t&&(Si[n]=!!t[n])})),Si.allowStateReads=!Si.observableRequiresReaction,t.reactionScheduler&&(r=t.reactionScheduler,e=Mi,Mi=function(t){return r((function(){return e(t)}))})},t.createAtom=M,t.defineProperty=function(t,i,r){if(yn(t))return t[Hn].v(i,r);n(39)},t.entries=function(t){return yn(t)?Ft(t).map((function(n){return[n,t[n]]})):tr(t)?Ft(t).map((function(n){return[n,t.get(n)]})):ur(t)?Array.from(t.entries()):ln(t)?t.map((function(t,n){return[n,t]})):void n(7)},t.extendObservable=Pt,t.flow=Bi,t.flowResult=function(t){return t},t.get=function(t,i){if(zt(t,i))return yn(t)?t[Hn].vt(i):tr(t)?t.get(i):ln(t)?t[i]:void n(11)},t.getAtom=gn,t.getDebugName=An,t.getDependencyTree=function(t,n){return Bt(gn(t,n))},t.getObserverTree=function(t,n){return Dt(gn(t,n))},t.has=zt,t.intercept=function(t,n,i){return u(i)?function(t,n,i){return _n(t,n).gt(i)}(t,n,i):function(t,n){return _n(t).gt(n)}(t,n)},t.isAction=kt,t.isBoxedObservable=bi,t.isComputed=function(t){return Ht(t)},t.isComputedProp=function(t,n){return Ht(t,n)},t.isFlow=Gt,t.isFlowCancellationError=function(t){return t instanceof Wt},t.isObservable=Xt,t.isObservableArray=ln,t.isObservableMap=tr,t.isObservableObject=yn,t.isObservableProp=function(t,n){return Ut(t,n)},t.isObservableSet=ur,t.keys=Ft,t.makeAutoObservable=function(t,n,i){return f(t)?Pt(t,t,n,i):(Sn((function(){var r=dn(t,i)[Hn];if(!t[Wi]){var e=Object.getPrototypeOf(t),u=new Set([].concat(Wn(t),Wn(e)));u.delete("constructor"),u.delete(Hn),a(e,Wi,u)}t[Wi].forEach((function(t){return r.o(t,!n||!(t in n)||n[t])}))})),t)},t.makeObservable=function(t,n,i){return Sn((function(){var r=dn(t,i)[Hn];null!=n||(n=function(t){return y(t,Gn)||a(t,Gn,w({},t[Gn])),t[Gn]}(t)),Wn(n).forEach((function(t){return r.o(t,n[t])}))})),t},t.observable=ei,t.observe=function(t,n,i,r){return u(i)?function(t,n,i,r){return _n(t,n)._t(i,r)}(t,n,i,r):function(t,n,i){return _n(t)._t(n,i)}(t,n,i)},t.onBecomeObserved=Ct,t.onBecomeUnobserved=It,t.onReactionError=function(t){return Si.globalReactionErrorHandlers.push(t),function(){var n=Si.globalReactionErrorHandlers.indexOf(t);n>=0&&Si.globalReactionErrorHandlers.splice(n,1)}},t.override=zn,t.ownKeys=$t,t.reaction=function(t,n,i){function r(){if(y=!1,!m.Z){var n=!1,r=a;m.track((function(){var i=ut(!1,(function(){return t(m)}));n=b||!p(a,i),a=i})),(b&&i.fireImmediately||!b&&n)&&v(a,r,m),b=!1}}var e,u,o,s;void 0===i&&(i=In);var f,c,a,h=null!=(e=i.name)?e:"Reaction",v=Ti(h,i.onError?(f=i.onError,c=n,function(){try{return c.apply(this,arguments)}catch(t){f.call(this,t)}}):n),l=!i.scheduler&&!i.delay,d=Lt(i),b=!0,y=!1,p=i.compareStructural?Fn.structural:i.equals||Fn.default,m=new xi(h,(function(){b||l?r():y||(y=!0,d(r))}),i.onError,i.requiresObservable);return null!=(u=i)&&null!=(o=u.signal)&&o.aborted||m.tt(),m.nt(null==(s=i)?void 0:s.signal)},t.remove=function(t,i){yn(t)?t[Hn].Ut(i):tr(t)||ur(t)?t.delete(i):ln(t)?("number"!=typeof i&&(i=parseInt(i,10)),t.splice(i,1)):n(9)},t.runInAction=Rt,t.set=function t(i,r,e){if(2!==arguments.length||ur(i))yn(i)?i[Hn].lt(r,e):tr(i)?i.set(r,e):ur(i)?i.add(r):ln(i)?("number"!=typeof r&&(r=parseInt(r,10)),r<0&&n("Invalid index: '"+r+"'"),_t(),r>=i.length&&(i.length=r+1),i[r]=e,At()):n(8);else{_t();var u=r;try{for(var o in u)t(i,o,u[o])}finally{At()}}},t.spy=Nt,t.toJS=function(t){return function t(n,i){if(null==n||"object"!=typeof n||n instanceof Date||!Xt(n))return n;if(bi(n)||wi(n))return t(n.get(),i);if(i.has(n))return i.get(n);if(ln(n)){var r=Jt(i,n,new Array(n.length));return n.forEach((function(n,e){r[e]=t(n,i)})),r}if(ur(n)){var e=Jt(i,n,new Set);return n.forEach((function(n){e.add(t(n,i))})),e}if(tr(n)){var u=Jt(i,n,new Map);return n.forEach((function(n,r){u.set(r,t(n,i))})),u}var o=Jt(i,n,{});return $t(n).forEach((function(r){Ln.propertyIsEnumerable.call(n,r)&&(o[r]=t(n[r],i))})),o}(t,new Map)},t.trace=function(){},t.transaction=Yt,t.untracked=dt,t.values=function(t){return yn(t)?Ft(t).map((function(n){return t[n]})):tr(t)?Ft(t).map((function(n){return t.get(n)})):ur(t)?Array.from(t.values()):ln(t)?t.slice():void n(6)},t.when=function(t,n,i){return 1===arguments.length||n&&"object"==typeof n?Zt(t,n):Qt(t,n,i||{})},Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=mobx.umd.production.min.js.map
{
"name": "mobx",
"version": "6.12.3",
"version": "6.12.4",
"description": "Simple, scalable state management.",

@@ -5,0 +5,0 @@ "source": "src/mobx.ts",

@@ -26,7 +26,12 @@ <img src="https://mobx.js.org/assets/mobx.png" alt="logo" height="120" align="right" />

**🥇 Gold sponsors (\$2500+ total contribution):**
**🥇🥇 Platinum sponsors (\$5000+ total contribution): 🥇🥇**
<br/>
<a href="https://www.guilded.gg/"><img src="https://mobx.js.org/assets/guilded.jpg" align="center" width="100" title="Guilded" alt="Guilded" /></a>
<a href="https://www.canva.com/"><img src="https://mobx.js.org/assets/canva.svg" align="center" width="100" title="Canva" alt="Canva" /></a>
<a href="https://www.getparallax.com/"><img src="https://mobx.js.org/assets/parallax.png" align="center" width="100" title="Parallax" alt="Parallax" /></a>
**🥇 Gold sponsors (\$2500+ total contribution):**
<br/>
<a href="https://www.one-beyond.com"><img src="https://mobx.js.org/assets/dcsl.png" align="center" width="100" title="One Beyond" alt="One Beyond"/></a>

@@ -40,3 +45,2 @@ <a href="https://frontendmasters.com/"><img src="https://mobx.js.org/assets/frontendmasters.jpg" align="center" width="100" title="Frontend Masters" alt="Frontend Masters"></a>

<a href="https://mendix.com/"><img src="https://mobx.js.org/assets/mendix-logo.png" align="center" width="100" title="Mendix" alt="Mendix" /></a>
<a href="https://www.canva.com/"><img src="https://mobx.js.org/assets/canva.svg" align="center" width="100" title="Canva" alt="Canva" /></a>
<a href="https://opensource.facebook.com/"><img src="https://mobx.js.org/assets/fbos.jpeg" align="center" width="100" title="Facebook Open Source" alt="Facebook Open Source" /></a>

@@ -43,0 +47,0 @@ <a href="https://casinosites.ltd.uk/?utm_source=sponsorship&utm_medium=mobx&utm_campaign=readme"><img src="https://mobx.js.org/assets/casino2.png" align="center" width="100" title="Casino Sites" alt="Casino Sites"/></a>

@@ -25,4 +25,4 @@ import {

export class Atom implements IAtom {
isPendingUnobservation_ = false // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed
isBeingObserved_ = false
isPendingUnobservation = false // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed
isBeingObserved = false
observers_ = new Set<IDerivation>()

@@ -29,0 +29,0 @@

@@ -59,2 +59,14 @@ import {

function getFlag(flags: number, mask: number) {
return !!(flags & mask)
}
function setFlag(flags: number, mask: number, newValue: boolean): number {
if (newValue) {
flags |= mask
} else {
flags &= ~mask
}
return flags
}
/**

@@ -83,4 +95,2 @@ * A node in the state dependency root that observes other nodes, and can be observed itself.

newObserving_ = null // during tracking it's an array with new observed observers
isBeingObserved_ = false
isPendingUnobservation_: boolean = false
observers_ = new Set<IDerivation>()

@@ -95,4 +105,9 @@ diffValue_ = 0

triggeredBy_?: string
isComputing_: boolean = false // to check for cycles
isRunningSetter_: boolean = false
private static readonly isComputingMask_ = 0b0001
private static readonly isRunningSetterMask_ = 0b0010
private static readonly isBeingObservedMask_ = 0b0100
private static readonly isPendingUnobservationMask_ = 0b1000
private flags_ = 0b0000
derivation: () => T // N.B: unminified as it is used by MST

@@ -159,2 +174,31 @@ setter_?: (value: T) => void

// to check for cycles
private get isComputing(): boolean {
return getFlag(this.flags_, ComputedValue.isComputingMask_)
}
private set isComputing(newValue: boolean) {
this.flags_ = setFlag(this.flags_, ComputedValue.isComputingMask_, newValue)
}
private get isRunningSetter(): boolean {
return getFlag(this.flags_, ComputedValue.isRunningSetterMask_)
}
private set isRunningSetter(newValue: boolean) {
this.flags_ = setFlag(this.flags_, ComputedValue.isRunningSetterMask_, newValue)
}
get isBeingObserved(): boolean {
return getFlag(this.flags_, ComputedValue.isBeingObservedMask_)
}
set isBeingObserved(newValue: boolean) {
this.flags_ = setFlag(this.flags_, ComputedValue.isBeingObservedMask_, newValue)
}
get isPendingUnobservation(): boolean {
return getFlag(this.flags_, ComputedValue.isPendingUnobservationMask_)
}
set isPendingUnobservation(newValue: boolean) {
this.flags_ = setFlag(this.flags_, ComputedValue.isPendingUnobservationMask_, newValue)
}
/**

@@ -165,3 +209,3 @@ * Returns the current value of this computed value.

public get(): T {
if (this.isComputing_) {
if (this.isComputing) {
die(32, this.name_, this.derivation)

@@ -204,10 +248,10 @@ }

if (this.setter_) {
if (this.isRunningSetter_) {
if (this.isRunningSetter) {
die(33, this.name_)
}
this.isRunningSetter_ = true
this.isRunningSetter = true
try {
this.setter_.call(this.scope_, value)
} finally {
this.isRunningSetter_ = false
this.isRunningSetter = false
}

@@ -251,3 +295,3 @@ } else {

computeValue_(track: boolean) {
this.isComputing_ = true
this.isComputing = true
// don't allow state changes during computation

@@ -270,3 +314,3 @@ const prev = allowStateChangesStart(false)

allowStateChangesEnd(prev)
this.isComputing_ = false
this.isComputing = false
return res

@@ -273,0 +317,0 @@ }

@@ -27,6 +27,6 @@ import {

lastAccessedBy_: number
isBeingObserved_: boolean
isBeingObserved: boolean
lowestObserverState_: IDerivationState_ // Used to avoid redundant propagations
isPendingUnobservation_: boolean // Used to push itself to global.pendingUnobservations at most once per batch.
isPendingUnobservation: boolean // Used to push itself to global.pendingUnobservations at most once per batch.

@@ -95,5 +95,5 @@ observers_: Set<IDerivation>

export function queueForUnobservation(observable: IObservable) {
if (observable.isPendingUnobservation_ === false) {
if (observable.isPendingUnobservation === false) {
// invariant(observable._observers.length === 0, "INTERNAL ERROR, should only queue for unobservation unobserved observables");
observable.isPendingUnobservation_ = true
observable.isPendingUnobservation = true
globalState.pendingUnobservations.push(observable)

@@ -119,7 +119,7 @@ }

const observable = list[i]
observable.isPendingUnobservation_ = false
observable.isPendingUnobservation = false
if (observable.observers_.size === 0) {
if (observable.isBeingObserved_) {
if (observable.isBeingObserved) {
// if this observable had reactive observers, trigger the hooks
observable.isBeingObserved_ = false
observable.isBeingObserved = false
observable.onBUO()

@@ -152,8 +152,8 @@ }

derivation.newObserving_![derivation.unboundDepsCount_++] = observable
if (!observable.isBeingObserved_ && globalState.trackingContext) {
observable.isBeingObserved_ = true
if (!observable.isBeingObserved && globalState.trackingContext) {
observable.isBeingObserved = true
observable.onBO()
}
}
return observable.isBeingObserved_
return observable.isBeingObserved
} else if (observable.observers_.size === 0 && globalState.inBatch > 0) {

@@ -160,0 +160,0 @@ queueForUnobservation(observable)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc