PageSourceSearch

https://app.slidy.ai/assets/mobx-CVZJoaFl.js

js slidy.ai collected 2026-10-05 12:38:31 UTC 63,377 bytes, 3 lines download raw bytes

1import{r as ne,R as Tt}from"./react-ioc-B7v0HRzd.js";import{r as Yr,a as Xr,g as Jr}from"./react-DmRN0eii.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"slidy-1791191353067"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8de92677-977d-49e7-8730-f0e929196465",e._sentryDebugIdIdentifier="sentry-dbid-8de92677-977d-49e7-8730-f0e929196465")}catch{}})();var rt={exports:{}},nt={};var Dt;function Zr(){if(Dt)return nt;Dt=1;var e=Yr();function r(v,h){return v===h&&(v!==0||1/v===1/h)||v!==v&&h!==h}var n=typeof Object.is=="function"?Object.is:r,t=e.useState,i=e.useEffect,a=e.useLayoutEffect,s=e.useDebugValue;function o(v,h){var g=h(),y=t({inst:{value:g,getSnapshot:h}}),m=y[0].inst,O=y[1];return a(function(){m.value=g,m.getSnapshot=h,u(m)&&O({inst:m})},[v,g,h]),i(function(){return u(m)&&O({inst:m}),v(function(){u(m)&&O({inst:m})})},[v]),s(g),g}function u(v){var h=v.getSnapshot;v=v.value;try{var g=h();return!n(v,g)}catch{return!0}}function l(v,h){return h()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:o;return nt.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,nt}var Mt;function Qr(){return Mt||(Mt=1,rt.exports=Zr()),rt.exports}var Jt=Xr();const sa=Jr(Jt);function d(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),t=1;t<r;t++)n[t-1]=arguments[t];throw new Error(typeof e=="number"?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var en={};function qe(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:en}var Zt=Object.assign,Le=Object.getOwnPropertyDescriptor,k=Object.defineProperty,ze=Object.prototype,lt=[];Object.freeze(lt);var At={};Object.freeze(At);var tn=typeof Proxy<"u",rn=Object.toString();function Qt(){tn||d("Proxy not available")}function er(e){var r=!1;return function(){if(!r)return r=!0,e.apply(this,arguments)}}var ve=function(){};function N(e){return typeof e=="function"}function ie(e){var r=typeof e;switch(r){case"string":case"symbol":case"number":return!0}return!1}function We(e){return e!==null&&typeof e=="object"}function z(e){if(!We(e))return!1;var r=Object.getPrototypeOf(e);if(r==null)return!0;var n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof n=="function"&&n.toString()===rn}function tr(e){var r=e?.constructor;return r?r.name==="GeneratorFunction"||r.displayName==="GeneratorFunction":!1}function Ee(e,r,n){k(e,r,{enumerable:!1,writable:!0,configurable:!0,value:n})}function rr(e,r,n){k(e,r,{enumerable:!1,writable:!1,configurable:!0,value:n})}function se(e,r){var n="isMobX"+e;return r.prototype[n]=!0,function(t){return We(t)&&t[n]===!0}}function ge(e){return e!=null&&Object.prototype.toString.call(e)==="[object Map]"}function nn(e){var r=Object.getPrototypeOf(e),n=Object.getPrototypeOf(r),t=Object.getPrototypeOf(n);return t===null}function F(e){return e!=null&&Object.prototype.toString.call(e)==="[object Set]"}var nr=typeof Object.getOwnPropertySymbols<"u";function an(e){var r=Object.keys(e);if(!nr)return r;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(r,n.filter(function(t){return ze.propertyIsEnumerable.call(e,t)})):r}var he=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:nr?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function ir(e){return e===null?null:typeof e=="object"?""+e:e}function K(e,r){return ze.hasOwnProperty.call(e,r)}var sn=Object.getOwnPropertyDescriptors||function(r){var n={};return he(r).forEach(function(t){n[t]=Le(r,t)}),n};function w(e,r){return!!(e&r)}function E(e,r,n){return n?e|=r:e&=~r,e}function Nt(e,r){(r==null||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function on(e,r){for(var n=0;n<r.length;n++){var t=r[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,fn(t.key),t)}}function ye(e,r,n){return r&&on(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _e(e,r){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=ln(e))||r){n&&(e=n);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},Y.apply(null,arguments)}function ar(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,ct(e,r)}function ct(e,r){return ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},ct(e,r)}function un(e,r){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r);if(typeof t!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function fn(e){var r=un(e,"string");return typeof r=="symbol"?r:r+""}function ln(e,r){if(e){if(typeof e=="string")return Nt(e,r);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nt(e,r):void 0}}var L=Symbol("mobx-stored-annotations");function I(e){function r(n,t){if(je(t))return e.decorate_20223_(n,t);Pe(n,t,e)}return Object.assign(r,e)}function Pe(e,r,n){K(e,L)||Ee(e,L,Y({},e[L])),bn(n)||(e[L][r]=n)}
2function cn(e){return K(e,L)||Ee(e,L,Y({},e[L])),e[L]}function je(e){return typeof e=="object"&&typeof e.kind=="string"}var _=Symbol("mobx administration"),J=(function(){function e(n){n===void 0&&(n="Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=p.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=n}var r=e.prototype;return r.onBO=function(){this.onBOL&&this.onBOL.forEach(function(t){return t()})},r.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(t){return t()})},r.reportObserved=function(){return Sr(this)},r.reportChanged=function(){x(),wr(this),T()},r.toString=function(){return this.name_},ye(e,[{key:"isBeingObserved",get:function(){return w(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=E(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return w(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=E(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return w(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=E(this.flags_,e.diffValueMask_,t===1)}}])})();J.isBeingObservedMask_=1;J.isPendingUnobservationMask_=2;J.diffValueMask_=4;var St=se("Atom",J);function sr(e,r,n){r===void 0&&(r=ve),n===void 0&&(n=ve);var t=new J(e);return r!==ve&&gi(t,r),n!==ve&&Mr(t,n),t}function vn(e,r){return zr(e,r)}function _n(e,r){return Object.is?Object.is(e,r):e===r?e!==0||1/e===1/r:e!==e&&r!==r}var de={structural:vn,default:_n};function ae(e,r,n){return Lr(e)?e:Array.isArray(e)?A.array(e,{name:n}):z(e)?A.object(e,void 0,{name:n}):ge(e)?A.map(e,{name:n}):F(e)?A.set(e,{name:n}):typeof e=="function"&&!pe(e)&&!we(e)?tr(e)?be(e):Se(n,e):e}function hn(e,r,n){if(e==null||tt(e)||et(e)||ue(e)||V(e))return e;if(Array.isArray(e))return A.array(e,{name:n,deep:!1});if(z(e))return A.object(e,void 0,{name:n,deep:!1});if(ge(e))return A.map(e,{name:n,deep:!1});if(F(e))return A.set(e,{name:n,deep:!1})}function He(e){return e}function dn(e,r){return zr(e,r)?r:e}var pn="override";function bn(e){return e.annotationType_===pn}function Re(e,r){return{annotationType_:e,options_:r,make_:gn,extend_:yn,decorate_20223_:mn}}function gn(e,r,n,t){var i;if((i=this.options_)!=null&&i.bound)return this.extend_(e,r,n,!1)===null?0:1;if(t===e.target_)return this.extend_(e,r,n,!1)===null?0:2;if(pe(n.value))return 1;var a=or(e,this,r,n,!1);return k(t,r,a),2}function yn(e,r,n,t){var i=or(e,this,r,n);return e.defineProperty_(r,i,t)}function mn(e,r){var n=r.kind,t=r.name,i=r.addInitializer,a=this,s=function(l){var c,v,h,g;return X((c=(v=a.options_)==null?void 0:v.name)!=null?c:t.toString(),l,(h=(g=a.options_)==null?void 0:g.autoAction)!=null?h:!1)};if(n=="field")return function(u){var l,c=u;return pe(c)||(c=s(c)),(l=a.options_)!=null&&l.bound&&(c=c.bind(this),c.isMobxAction=!0),c};if(n=="method"){var o;return pe(e)||(e=s(e)),(o=this.options_)!=null&&o.bound&&i(function(){var u=this,l=u[t].bind(u);l.isMobxAction=!0,u[t]=l}),e}d("Cannot apply '"+a.annotationType_+"' to '"+String(t)+"' (kind: "+n+"):"+(`
3'`+a.annotationType_+"' can only be used on properties with a function value."))}function On(e,r,n,t){r.annotationType_,t.value}function or(e,r,n,t,i){var a,s,o,u,l,c,v;i===void 0&&(i=f.safeDescriptors),On(e,r,n,t);var h=t.value;if((a=r.options_)!=null&&a.bound){var g;h=h.bind((g=e.proxy_)!=null?g:e.target_)}return{value:X((s=(o=r.options_)==null?void 0:o.name)!=null?s:n.toString(),h,(u=(l=r.options_)==null?void 0:l.autoAction)!=null?u:!1,(c=r.options_)!=null&&c.bound?(v=e.proxy_)!=null?v:e.target_:void 0),configurable:i?e.isPlainObject_:!0,enumerable:!1,writable:!i}}function ur(e,r){return{annotationType_:e,options_:r,make_:An,extend_:Sn,decorate_20223_:wn}}function An(e,r,n,t){var i;if(t===e.target_)return this.extend_(e,r,n,!1)===null?0:2;if((i=this.options_)!=null&&i.bound&&(!K(e.target_,r)||!we(e.target_[r]))&&this.extend_(e,r,n,!1)===null)return 0;if(we(n.value))return 1;var a=fr(e,this,r,n,!1,!1);return k(t,r,a),2}function Sn(e,r,n,t){var i,a=fr(e,this,r,n,(i=this.options_)==null?void 0:i.bound);return e.defineProperty_(r,a,t)}function wn(e,r){var n,t=r.name,i=r.addInitializer;return we(e)||(e=be(e)),(n=this.options_)!=null&&n.bound&&i(function(){var a=this,s=a[t].bind(a);s.isMobXFlow=!0,a[t]=s}),e}function En(e,r,n,t){r.annotationType_,t.value}function fr(e,r,n,t,i,a){a===void 0&&(a=f.safeDescriptors),En(e,r,n,t);var s=t.value;if(we(s)||(s=be(s)),i){var o;s=s.bind((o=e.proxy_)!=null?o:e.target_),s.isMobXFlow=!0}return{value:s,configurable:a?e.isPlainObject_:!0,enumerable:!1,writable:!a}}function wt(e,r){return{annotationType_:e,options_:r,make_:Pn,extend_:jn,decorate_20223_:Rn}}function Pn(e,r,n){return this.extend_(e,r,n,!1)===null?0:1}function jn(e,r,n,t){return xn(e,this,r,n),e.defineComputedProperty_(r,Y({},this.options_,{get:n.get,set:n.set}),t)}function Rn(e,r){var n=this,t=r.name,i=r.addInitializer;return i(function(){var a=fe(this)[_],s=Y({},n.options_,{get:e,context:this});s.name||(s.name="ObservableObject."+t.toString()),a.values_.set(t,new B(s))}),function(){return this[_].getObservablePropValue_(t)}
3}function xn(e,r,n,t){r.annotationType_,t.get}function Ye(e,r){return{annotationType_:e,options_:r,make_:Tn,extend_:Dn,decorate_20223_:Mn}}function Tn(e,r,n){return this.extend_(e,r,n,!1)===null?0:1}function Dn(e,r,n,t){var i,a;return Nn(e,this),e.defineObservableProperty_(r,n.value,(i=(a=this.options_)==null?void 0:a.enhancer)!=null?i:ae,t)}function Mn(e,r){var n=this,t=r.kind,i=r.name,a=new WeakSet;function s(o,u){var l,c,v=fe(o)[_],h=new re(u,(l=(c=n.options_)==null?void 0:c.enhancer)!=null?l:ae,"ObservableObject."+i.toString(),!1);v.values_.set(i,h),a.add(o)}if(t=="accessor")return{get:function(){return a.has(this)||s(this,e.get.call(this)),this[_].getObservablePropValue_(i)},set:function(u){return a.has(this)||s(this,u),this[_].setObservablePropValue_(i,u)},init:function(u){return a.has(this)||s(this,u),u}}}function Nn(e,r,n,t){r.annotationType_}var Bn="true",Cn=lr();function lr(e){return{annotationType_:Bn,options_:e,make_:Vn,extend_:Ln,decorate_20223_:kn}}function Vn(e,r,n,t){var i,a;if(n.get)return Xe.make_(e,r,n,t);if(n.set){var s=pe(n.set)?n.set:X(r.toString(),n.set);return t===e.target_?e.defineProperty_(r,{configurable:f.safeDescriptors?e.isPlainObject_:!0,set:s})===null?0:2:(k(t,r,{configurable:!0,set:s}),2)}if(t!==e.target_&&typeof n.value=="function"){var o;if(tr(n.value)){var u,l=(u=this.options_)!=null&&u.autoBind?be.bound:be;return l.make_(e,r,n,t)}var c=(o=this.options_)!=null&&o.autoBind?Se.bound:Se;return c.make_(e,r,n,t)}var v=((i=this.options_)==null?void 0:i.deep)===!1?A.ref:A;if(typeof n.value=="function"&&(a=this.options_)!=null&&a.autoBind){var h;n.value=n.value.bind((h=e.proxy_)!=null?h:e.target_)}return v.make_(e,r,n,t)}function Ln(e,r,n,t){var i,a;if(n.get)return Xe.extend_(e,r,n,t);if(n.set)return e.defineProperty_(r,{configurable:f.safeDescriptors?e.isPlainObject_:!0,set:X(r.toString(),n.set)},t);if(typeof n.value=="function"&&(i=this.options_)!=null&&i.autoBind){var s;n.value=n.value.bind((s=e.proxy_)!=null?s:e.target_)}var o=((a=this.options_)==null?void 0:a.deep)===!1?A.ref:A;return o.extend_(e,r,n,t)}function kn(e,r){d("'"+this.annotationType_+"' cannot be used as a decorator")}var In="observable",$n="observable.ref",Un="observable.shallow",Fn="observable.struct",cr={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(cr);function De(e){return e||cr}var vt=Ye(In),Gn=Ye($n,{enhancer:He}),Kn=Ye(Un,{enhancer:hn}),qn=Ye(Fn,{enhancer:dn}),vr=I(vt);function Me(e){return e.deep===!0?ae:e.deep===!1?He:Wn(e.defaultDecorator)}function zn(e){var r;return e?(r=e.defaultDecorator)!=null?r:lr(e):void 0}function Wn(e){var r,n;return e&&(r=(n=e.options_)==null?void 0:n.enhancer)!=null?r:ae}function _r(e,r,n){if(je(r))return vt.decorate_20223_(e,r);if(ie(r)){Pe(e,r,vt);return}return Lr(e)?e:z(e)?A.object(e,r,n):Array.isArray(e)?A.array(e,r):ge(e)?A.map(e,r):F(e)?A.set(e,r):typeof e=="object"&&e!==null?e:A.box(e,r)}Zt(_r,vr);var Hn={box:function(r,n){var t=De(n);return new re(r,Me(t),t.name,!0,t.equals)},array:function(r,n){var t=De(n);return(f.useProxies===!1||t.proxy===!1?Gi:Ni)(r,Me(t),t.name)},map:function(r,n){var t=De(n);return new $r(r,Me(t),t.name)},set:function(r,n){var t=De(n);return new Ur(r,Me(t),t.name)},object:function(r,n,t){return Z(function(){return Br(f.useProxies===!1||t?.proxy===!1?fe({},t):xi({},t),r,n)})},ref:I(Gn),shallow:I(Kn),deep:vr,struct:I(qn)},A=Zt(_r,Hn),hr="computed",Yn="computed.struct",_t=wt(hr),Xn=wt(Yn,{equals:de.structural}),Xe=function(r,n){if(je(n))return _t.decorate_20223_(r,n);if(ie(n))return Pe(r,n,_t);if(z(r))return I(wt(hr,r));var t=z(n)?n:{};return t.get=r,t.name||(t.name=r.name||""),new B(t)};Object.assign(Xe,_t);Xe.struct=I(Xn);var Bt,Ct,ke=0,Jn=1,Zn=(Bt=(Ct=Le(function(){},"name"))==null?void 0:Ct.configurable)!=null?Bt:!1,Vt={value:"action",configurable:!0,writable:!1,enumerable:!1};function X(e,r,n,t){n===void 0&&(n=!1);function i(){return dr(e,n,r,t||this,arguments)}return i.isMobxAction=!0,i.toString=function(){return r.toString()},Zn&&(Vt.value=e,k(i,"name",Vt)),i}function dr(e,r,n,t,i){var a=Qn(e,r);try{return n.apply(t,i)}catch(s){throw a.error_=s,s}finally{ei(a)}}function Qn(e,r,n,t){var i=!1,a=0,s=f.trackingDerivation,o=!r||!s;x();var u=f.allowStateChanges;o&&(oe(),u=Je(!0));var l=Et(!0),c={runAsAction_:o,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:l,n
3otifySpy_:i,startTime_:a,actionId_:Jn++,parentActionId_:ke};return ke=c.actionId_,c}function ei(e){ke!==e.actionId_&&d(30),ke=e.parentActionId_,e.error_!==void 0&&(f.suppressReactionErrors=!0),Ze(e.prevAllowStateChanges_),Oe(e.prevAllowStateReads_),T(),e.runAsAction_&&q(e.prevDerivation_),f.suppressReactionErrors=!1}function pr(e,r){var n=Je(e);try{return r()}finally{Ze(n)}}function Je(e){var r=f.allowStateChanges;return f.allowStateChanges=e,r}function Ze(e){f.allowStateChanges=e}var re=(function(e){function r(t,i,a,s,o){var u;return a===void 0&&(a="ObservableValue"),o===void 0&&(o=de.default),u=e.call(this,a)||this,u.enhancer=void 0,u.name_=void 0,u.equals=void 0,u.hasUnreportedChange_=!1,u.interceptors_=void 0,u.changeListeners_=void 0,u.value_=void 0,u.dehancer=void 0,u.enhancer=i,u.name_=a,u.equals=o,u.value_=i(t,void 0,a),u}ar(r,e);var n=r.prototype;return n.dehanceValue=function(i){return this.dehancer!==void 0?this.dehancer(i):i},n.set=function(i){this.value_,i=this.prepareNewValue_(i),i!==f.UNCHANGED&&this.setNewValue_(i)},n.prepareNewValue_=function(i){if(j(this)){var a=R(this,{object:this,type:$,newValue:i});if(!a)return f.UNCHANGED;i=a.newValue}return i=this.enhancer(i,this.value_,this.name_),this.equals(this.value_,i)?f.UNCHANGED:i},n.setNewValue_=function(i){var a=this.value_;this.value_=i,this.reportChanged(),D(this)&&M(this,{type:$,object:this,newValue:i,oldValue:a})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(i){return xe(this,i)},n.observe_=function(i,a){return a&&i({observableKind:"value",debugObjectName:this.name_,object:this,type:$,newValue:this.value_,oldValue:void 0}),Te(this,i)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return ir(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},r})(J),B=(function(){function e(n){this.dependenciesState_=p.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=p.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new $e(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Ie.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,n.get||d(31),this.derivation=n.get,this.name_=n.name||"ComputedValue",n.set&&(this.setter_=X("ComputedValue-setter",n.set)),this.equals_=n.equals||(n.compareStructural||n.struct?de.structural:de.default),this.scope_=n.context,this.requiresReaction_=n.requiresReaction,this.keepAlive_=!!n.keepAlive}var r=e.prototype;return r.onBecomeStale_=function(){ai(this)}
3,r.onBO=function(){this.onBOL&&this.onBOL.forEach(function(t){return t()})},r.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(t){return t()})},r.get=function(){if(this.isComputing&&d(32,this.name_,this.derivation),f.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)ht(this)&&(this.warnAboutUntrackedRead_(),x(),this.value_=this.computeValue_(!1),T());else if(Sr(this),ht(this)){var t=f.trackingContext;this.keepAlive_&&!t&&(f.trackingContext=this),this.trackAndCompute()&&ii(this),f.trackingContext=t}var i=this.value_;if(Be(i))throw i.cause;return i},r.set=function(t){if(this.setter_){this.isRunningSetter&&d(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,t)}finally{this.isRunningSetter=!1}}else d(34,this.name_)},r.trackAndCompute=function(){var t=this.value_,i=this.dependenciesState_===p.NOT_TRACKING_,a=this.computeValue_(!0),s=i||Be(t)||Be(a)||!this.equals_(t,a);return s&&(this.value_=a),s},r.computeValue_=function(t){this.isComputing=!0;var i=Je(!1),a;if(t)a=br(this,this.derivation,this.scope_);else if(f.disableErrorBoundaries===!0)a=this.derivation.call(this.scope_);else try{a=this.derivation.call(this.scope_)}catch(s){a=new $e(s)}return Ze(i),this.isComputing=!1,a},r.suspend_=function(){this.keepAlive_||(dt(this),this.value_=void 0)},r.observe_=function(t,i){var a=this,s=!0,o=void 0;return Tr(function(){var u=a.get();if(!s||i){var l=oe();t({observableKind:"computed",debugObjectName:a.name_,type:$,object:a,newValue:u,oldValue:o}),q(l)}s=!1,o=u})},r.warnAboutUntrackedRead_=function(){},r.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},r.valueOf=function(){return ir(this.get())},r[Symbol.toPrimitive]=function(){return this.valueOf()},ye(e,[{key:"isComputing",get:function(){return w(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=E(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return w(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=E(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return w(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=E(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return w(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=E(this.flags_,e.isPendingUnobservationMask_,t)}},{key:"diffValue",get:function(){return w(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=E(this.flags_,e.diffValueMask_,t===1)}}])})();B.isComputingMask_=1;B.isRunningSetterMask_=2;B.isBeingObservedMask_=4;B.isPendingUnobservationMask_=8;B.diffValueMask_=16;var Qe=se("ComputedValue",B),p;(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(p||(p={}));var Ie;(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"})(Ie||(Ie={}));var $e=function(r){this.cause=void 0,this.cause=r};function Be(e){return e instanceof $e}function ht(e){switch(e.dependenciesState_){case p.UP_TO_DATE_:return!1;case p.NOT_TRACKING_:case p.STALE_:return!0;case p.POSSIBLY_STALE_:{for(var r=Et(!0),n=oe(),t=e.observing_,i=t.length,a=0;a<i;a++){var s=t[a];if(Qe(s)){if(f.disableErrorBoundaries)s.get();else try{s.get()}catch{return q(n),Oe(r),!0}if(e.dependenciesState_===p.STALE_)return q(n),Oe(r),!0}}return yr(e),q(n),Oe(r),!1}}}function br(e,r,n){var t=Et(!0);yr(e),e.newObserving_=new Array(e.runId_===0?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++f.runId;var i=f.trackingDerivation;f.trackingDerivation=e,f.inBatch++;var a;if(f.disableErrorBoundaries===!0)a=r.call(n);else try{a=r.call(n)}catch(s){a=new $e(s)}return f.inBatch--,f.trackingDerivation=i,ti(e),Oe(t),a}function ti(e){for(var r=e.observing_,n=e.observing_=e.newObserving_,t=p.UP_TO_DATE_,i=0,a=e.unboundDepsCount_,s=0;s<a;s++){var o=n[s];o.diffValue===0&&(o.diffValue=1,i!==s&&(n[i]=o),i++),o.dependenciesState_>t&&(t=o.dependenciesState_)}for(n.length=i,e.newObserving_=null,a=r.length;a--;){var u=r[a];u.diffValue===0&&Or(u,e),u.diffValue=0}for(;i--;){var l=n[i];l.diffValue===1&&(l.diffValue=0,ni(l,e))}
3t!==p.UP_TO_DATE_&&(e.dependenciesState_=t,e.onBecomeStale_())}function dt(e){var r=e.observing_;e.observing_=[];for(var n=r.length;n--;)Or(r[n],e);e.dependenciesState_=p.NOT_TRACKING_}function gr(e){var r=oe();try{return e()}finally{q(r)}}function oe(){var e=f.trackingDerivation;return f.trackingDerivation=null,e}function q(e){f.trackingDerivation=e}function Et(e){var r=f.allowStateReads;return f.allowStateReads=e,r}function Oe(e){f.allowStateReads=e}function yr(e){if(e.dependenciesState_!==p.UP_TO_DATE_){e.dependenciesState_=p.UP_TO_DATE_;for(var r=e.observing_,n=r.length;n--;)r[n].lowestObserverState_=p.UP_TO_DATE_}}var Ce=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},Ve=!0,mr=!1,f=(function(){var e=qe();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Ve=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new Ce().version&&(Ve=!1),Ve?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Ce):(setTimeout(function(){mr||d(35)},1),new Ce)})();function ri(){if((f.pendingReactions.length||f.inBatch||f.isRunningReactions)&&d(36),mr=!0,Ve){var e=qe();--e.__mobxInstanceCount===0&&(e.__mobxGlobals=void 0),f=new Ce}}function ni(e,r){e.observers_.add(r),e.lowestObserverState_>r.dependenciesState_&&(e.lowestObserverState_=r.dependenciesState_)}function Or(e,r){e.observers_.delete(r),e.observers_.size===0&&Ar(e)}function Ar(e){e.isPendingUnobservation===!1&&(e.isPendingUnobservation=!0,f.pendingUnobservations.push(e))}function x(){f.inBatch++}function T(){if(--f.inBatch===0){Er();for(var e=f.pendingUnobservations,r=0;r<e.length;r++){var n=e[r];n.isPendingUnobservation=!1,n.observers_.size===0&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof B&&n.suspend_())}f.pendingUnobservations=[]}}function Sr(e){var r=f.trackingDerivation;return r!==null?(r.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=r.runId_,r.newObserving_[r.unboundDepsCount_++]=e,!e.isBeingObserved&&f.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(e.observers_.size===0&&f.inBatch>0&&Ar(e),!1)}function wr(e){e.lowestObserverState_!==p.STALE_&&(e.lowestObserverState_=p.STALE_,e.observers_.forEach(function(r){r.dependenciesState_===p.UP_TO_DATE_&&r.onBecomeStale_(),r.dependenciesState_=p.STALE_}))}function ii(e){e.lowestObserverState_!==p.STALE_&&(e.lowestObserverState_=p.STALE_,e.observers_.forEach(function(r){r.dependenciesState_===p.POSSIBLY_STALE_?r.dependenciesState_=p.STALE_:r.dependenciesState_===p.UP_TO_DATE_&&(e.lowestObserverState_=p.UP_TO_DATE_)}))}function ai(e){e.lowestObserverState_===p.UP_TO_DATE_&&(e.lowestObserverState_=p.POSSIBLY_STALE_,e.observers_.forEach(function(r){r.dependenciesState_===p.UP_TO_DATE_&&(r.dependenciesState_=p.POSSIBLY_STALE_,r.onBecomeStale_())}))}var U=(function(){function e(n,t,i,a){n===void 0&&(n="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=p.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Ie.NONE,this.name_=n,this.onInvalidate_=t,this.errorHandler_=i,this.requiresObservable_=a}var r=e.prototype;return r.onBecomeStale_=function(){this.schedule_()},r.schedule_=function(){this.isScheduled||(this.isScheduled=!0,f.pendingReactions.push(this),Er())},r.runReaction_=function(){if(!this.isDisposed){x(),this.isScheduled=!1;var t=f.trackingContext;if(f.trackingContext=this,ht(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(i){this.reportExceptionInDerivation_(i)}}f.trackingContext=t,T()}},r.track=function(t){if(!this.isDisposed){x(),this.isRunning=!0;var i=f.trackingContext;f.trackingContext=this;var a=br(this,t,void 0);f.trackingContext=i,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&dt(this),Be(a)&&this.reportExceptionInDerivation_(a.cause),T()}},r.reportExceptionInDerivation_=function(t){var i=this;if(this.errorHandler_){this.errorHandler_(t,this);return}if(f.disableErrorBoundaries)throw t;var a="[mobx] uncaught error in '"+this+"'";f.suppressReactionErrors||console.error(a,t),f.globalReactionErrorHandlers.forEac
3h(function(s){return s(t,i)})},r.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(x(),dt(this),T()))},r.getDisposer_=function(t){var i=this,a=function s(){i.dispose(),t==null||t.removeEventListener==null||t.removeEventListener("abort",s)};return t==null||t.addEventListener==null||t.addEventListener("abort",a),a[_]=this,"dispose"in Symbol&&typeof Symbol.dispose=="symbol"&&(a[Symbol.dispose]=a),a},r.toString=function(){return"Reaction["+this.name_+"]"},r.trace=function(t){},ye(e,[{key:"isDisposed",get:function(){return w(this.flags_,e.isDisposedMask_)},set:function(t){this.flags_=E(this.flags_,e.isDisposedMask_,t)}},{key:"isScheduled",get:function(){return w(this.flags_,e.isScheduledMask_)},set:function(t){this.flags_=E(this.flags_,e.isScheduledMask_,t)}},{key:"isTrackPending",get:function(){return w(this.flags_,e.isTrackPendingMask_)},set:function(t){this.flags_=E(this.flags_,e.isTrackPendingMask_,t)}},{key:"isRunning",get:function(){return w(this.flags_,e.isRunningMask_)},set:function(t){this.flags_=E(this.flags_,e.isRunningMask_,t)}},{key:"diffValue",get:function(){return w(this.flags_,e.diffValueMask_)?1:0},set:function(t){this.flags_=E(this.flags_,e.diffValueMask_,t===1)}}])})();U.isDisposedMask_=1;U.isScheduledMask_=2;U.isTrackPendingMask_=4;U.isRunningMask_=8;U.diffValueMask_=16;var si=100,pt=function(r){return r()};function Er(){f.inBatch>0||f.isRunningReactions||pt(oi)}function oi(){f.isRunningReactions=!0;for(var e=f.pendingReactions,r=0;e.length>0;){++r===si&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),t=0,i=n.length;t<i;t++)n[t].runReaction_()}f.isRunningReactions=!1}var Ue=se("Reaction",U);function ui(e){var r=pt;pt=function(t){return e(function(){return r(t)})}}function Ae(){return!1}function fi(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var Pr="action",li="action.bound",jr="autoAction",ci="autoAction.bound",Rr="<unnamed action>",bt=Re(Pr),vi=Re(li,{bound:!0}),gt=Re(jr,{autoAction:!0}),_i=Re(ci,{autoAction:!0,bound:!0});function xr(e){var r=function(t,i){if(N(t))return X(t.name||Rr,t,e);if(N(i))return X(t,i,e);if(je(i))return(e?gt:bt).decorate_20223_(t,i);if(ie(i))return Pe(t,i,e?gt:bt);if(ie(t))return I(Re(e?jr:Pr,{name:t,autoAction:e}))};return r}var te=xr(!1);Object.assign(te,bt);var Se=xr(!0);Object.assign(Se,gt);te.bound=I(vi);Se.bound=I(_i);function oa(e){return dr(e.name||Rr,!1,e,this,void 0)}function pe(e){return N(e)&&e.isMobxAction===!0}function Tr(e,r){var n,t,i,a;r===void 0&&(r=At);var s=(n=(t=r)==null?void 0:t.name)!=null?n:"Autorun",o=!r.scheduler&&!r.delay,u;if(o)u=new U(s,function(){this.track(v)},r.onError,r.requiresObservable);else{var l=Dr(r),c=!1;u=new U(s,function(){c||(c=!0,l(function(){c=!1,u.isDisposed||u.track(v)}))},r.onError,r.requiresObservable)}function v(){e(u)}return(i=r)!=null&&(i=i.signal)!=null&&i.aborted||u.schedule_(),u.getDisposer_((a=r)==null?void 0:a.signal)}var hi=function(r){return r()};function Dr(e){return e.scheduler?e.scheduler:e.delay?function(r){return setTimeout(r,e.delay)}:hi}function ua(e,r,n){var t,i,a;n===void 0&&(n=At);var s=(t=n.name)!=null?t:"Reaction",o=te(s,n.onError?di(n.onError,r):r),u=!n.scheduler&&!n.delay,l=Dr(n),c=!0,v=!1,h,g=n.compareStructural?de.structural:n.equals||de.default,y=new U(s,function(){c||u?m():v||(v=!0,l(m))},n.onError,n.requiresObservable);function m(){if(v=!1,!y.isDisposed){var O=!1,Q=h;y.track(function(){var le=pr(!1,function(){return e(y)});O=c||!g(h,le),h=le}),(c&&n.fireImmediately||!c&&O)&&o(h,Q,y),c=!1}}return(i=n)!=null&&(i=i.signal)!=null&&i.aborted||y.schedule_(),y.getDisposer_((a=n)==null?void 0:a.signal)}function di(e,r){return function(){try{return r.apply(this,arguments)}catch(n){e.call(this,n)}}}var pi="onBO",bi="onBUO";function gi(e,r,n){return Nr(pi,e,r,n)}function Mr(e,r,n){return Nr(bi,e,r,n)}function Nr(e,r,n,t){var i=Ke(r),a=N(t)?t:n,s=e+"L";return i[s]?i[s].add(a):i[s]=new Set([a]),function(){var o=i[s];o&&(o.delete(a),o.size===0&&delete i[s])}}var yi="never",Ne="always",mi="observed";function Oi(e){e.isolateGlobalState===!0&&ri();var r=e.useProxies,n=e.enforceActions;if(r!==void 0&&(f.useProxies=r===Ne?!0:r===yi?!1:typeof Proxy<"u"),r==="ifavailable"&&(f.verifyProxies=!0),n!==void 0){var t=n===Ne?Ne:n===mi;f.enforceActions=t,f.allowStateChanges=!(t===!0||t===Ne)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(i){i in e&&(f[i]=!!e[i])}),f.allowStateReads=!f.observableRequiresReaction,e.reactionScheduler&&ui(e.reactionScheduler)}function Br(e,r,n,t){var i=sn(r);return Z(function(){var a=fe(e,t)[_];
3he(i).forEach(function(s){a.extend_(s,i[s],n&&s in n?n[s]:!0)})}),e}function Ai(e,r){return Cr(Ke(e,r))}function Cr(e){var r={name:e.name_};return e.observing_&&e.observing_.length>0&&(r.dependencies=Si(e.observing_).map(Cr)),r}function Si(e){return Array.from(new Set(e))}var wi=0;function Vr(){this.message="FLOW_CANCELLED"}Vr.prototype=Object.create(Error.prototype);var it=ur("flow"),Ei=ur("flow.bound",{bound:!0}),be=Object.assign(function(r,n){if(je(n))return it.decorate_20223_(r,n);if(ie(n))return Pe(r,n,it);var t=r,i=t.name||"<unnamed flow>",a=function(){var o=this,u=arguments,l=++wi,c=te(i+" - runid: "+l+" - init",t).apply(o,u),v,h=void 0,g=new Promise(function(y,m){var O=0;v=m;function Q(S){h=void 0;var W;try{W=te(i+" - runid: "+l+" - yield "+O++,c.next).call(c,S)}catch(ee){return m(ee)}me(W)}function le(S){h=void 0;var W;try{W=te(i+" - runid: "+l+" - yield "+O++,c.throw).call(c,S)}catch(ee){return m(ee)}me(W)}function me(S){if(N(S?.then)){S.then(me,m);return}return S.done?y(S.value):(h=Promise.resolve(S.value),h.then(Q,le))}Q(void 0)});return g.cancel=te(i+" - runid: "+l+" - cancel",function(){try{h&&Lt(h);var y=c.return(void 0),m=Promise.resolve(y.value);m.then(ve,ve),Lt(m),v(new Vr)}catch(O){v(O)}}),g};return a.isMobXFlow=!0,a},it);be.bound=I(Ei);function Lt(e){N(e.cancel)&&e.cancel()}function we(e){return e?.isMobXFlow===!0}function Pi(e,r){return e?tt(e)||!!e[_]||St(e)||Ue(e)||Qe(e):!1}function Lr(e){return Pi(e)}function G(e,r){r===void 0&&(r=void 0),x();try{return e.apply(r)}finally{T()}}function fa(e,r,n){return arguments.length===1||r?ji(e,r):kr(e,r,{})}function kr(e,r,n){var t;if(typeof n.timeout=="number"){var i=new Error("WHEN_TIMEOUT");t=setTimeout(function(){if(!s[_].isDisposed)if(s(),n.onError)n.onError(i);else throw i},n.timeout)}n.name="When";var a=X("When-effect",r),s=Tr(function(o){var u=pr(!1,e);u&&(o.dispose(),t&&clearTimeout(t),a())},n);return s}function ji(e,r){var n,t=new Promise(function(i,a){var s=kr(e,i,Y({},r,{onError:a}));n=function(){s(),a(new Error("WHEN_CANCELLED"))}}).finally(function(){});return t.cancel=n,t}function ce(e){return e[_]}var Ri={has:function(r,n){return ce(r).has_(n)},get:function(r,n){return ce(r).get_(n)},set:function(r,n,t){var i;return ie(n)?(i=ce(r).set_(n,t,!0))!=null?i:!0:!1},deleteProperty:function(r,n){var t;return ie(n)?(t=ce(r).delete_(n,!0))!=null?t:!0:!1},defineProperty:function(r,n,t){var i;return(i=ce(r).defineProperty_(n,t))!=null?i:!0},ownKeys:function(r){return ce(r).ownKeys_()},preventExtensions:function(r){d(13)}};function xi(e,r){var n,t;return Qt(),e=fe(e,r),(t=(n=e[_]).proxy_)!=null?t:n.proxy_=new Proxy(e,Ri)}function j(e){return e.interceptors_!==void 0&&e.interceptors_.length>0}function xe(e,r){var n=e.interceptors_||(e.interceptors_=[]);return n.push(r),er(function(){var t=n.indexOf(r);t!==-1&&n.splice(t,1)})}function R(e,r){var n=oe();try{for(var t=[].concat(e.interceptors_||[]),i=0,a=t.length;i<a&&(r=t[i](r),r&&!r.type&&d(14),!!r);i++);return r}finally{q(n)}}function D(e){return e.changeListeners_!==void 0&&e.changeListeners_.length>0}function Te(e,r){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(r),er(function(){var t=n.indexOf(r);t!==-1&&n.splice(t,1)})}function M(e,r){var n=oe(),t=e.changeListeners_;if(t){t=t.slice();for(var i=0,a=t.length;i<a;i++)t[i](r);q(n)}}function Ti(e,r,n){return Z(function(){var t,i=fe(e,n)[_];(t=r)!=null||(r=cn(e)),he(r).forEach(function(a){return i.make_(a,r[a])})}),e}var at=Symbol("mobx-keys");function la(e,r,n){return z(e)?Br(e,e,r,n):(Z(function(){var t=fe(e,n)[_];if(!e[at]){var i=Object.getPrototypeOf(e),a=new Set([].concat(he(e),he(i)));a.delete("constructor"),a.delete(_),Ee(i,at,a)}e[at].forEach(function(s){return t.make_(s,r&&s in r?r[s]:!0)})}),e)}var kt="splice",$="update",Di=1e4,Mi={get:function(r,n){var t=r[_];return n===_?t:n==="length"?t.getArrayLength_():typeof n=="string"&&!isNaN(n)?t.get_(parseInt(n)):K(Fe,n)?Fe[n]:r[n]},set:function(r,n,t){var i=r[_];return n==="length"&&i.setArrayLength_(t),typeof n=="symbol"||isNaN(n)?r[n]=t:i.set_(parseInt(n),t),!0},preventExtensions:function(){d(15)}},Pt=(function(){function e(n,t,i,a){n===void 0&&(n="ObservableArray"),this.owned_
3=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=i,this.legacyMode_=a,this.atom_=new J(n),this.enhancer_=function(s,o){return t(s,o,"ObservableArray[..]")}}var r=e.prototype;return r.dehanceValue_=function(t){return this.dehancer!==void 0?this.dehancer(t):t},r.dehanceValues_=function(t){return this.dehancer!==void 0&&t.length>0?t.map(this.dehancer):t},r.intercept_=function(t){return xe(this,t)},r.observe_=function(t,i){return i===void 0&&(i=!1),i&&t({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Te(this,t)},r.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},r.setArrayLength_=function(t){(typeof t!="number"||isNaN(t)||t<0)&&d("Out of range: "+t);var i=this.values_.length;if(t!==i)if(t>i){for(var a=new Array(t-i),s=0;s<t-i;s++)a[s]=void 0;this.spliceWithArray_(i,0,a)}else this.spliceWithArray_(t,i-t)},r.updateArrayLength_=function(t,i){t!==this.lastKnownLength_&&d(16),this.lastKnownLength_+=i,this.legacyMode_&&i>0&&qr(t+i+1)},r.spliceWithArray_=function(t,i,a){var s=this;this.atom_;var o=this.values_.length;if(t===void 0?t=0:t>o?t=o:t<0&&(t=Math.max(0,o+t)),arguments.length===1?i=o-t:i==null?i=0:i=Math.max(0,Math.min(i,o-t)),a===void 0&&(a=lt),j(this)){var u=R(this,{object:this.proxy_,type:kt,index:t,removedCount:i,added:a});if(!u)return lt;i=u.removedCount,a=u.added}if(a=a.length===0?a:a.map(function(v){return s.enhancer_(v,void 0)}),this.legacyMode_){var l=a.length-i;this.updateArrayLength_(o,l)}var c=this.spliceItemsIntoValues_(t,i,a);return(i!==0||a.length!==0)&&this.notifyArraySplice_(t,a,c),this.dehanceValues_(c)},r.spliceItemsIntoValues_=function(t,i,a){if(a.length<Di){var s;return(s=this.values_).splice.apply(s,[t,i].concat(a))}else{var o=this.values_.slice(t,t+i),u=this.values_.slice(t+i);this.values_.length+=a.length-i;for(var l=0;l<a.length;l++)this.values_[t+l]=a[l];for(var c=0;c<u.length;c++)this.values_[t+a.length+c]=u[c];return o}},r.notifyArrayChildUpdate_=function(t,i,a){var s=!this.owned_&&Ae(),o=D(this),u=o||s?{observableKind:"array",object:this.proxy_,type:$,debugObjectName:this.atom_.name_,index:t,newValue:i,oldValue:a}:null;this.atom_.reportChanged(),o&&M(this,u)},r.notifyArraySplice_=function(t,i,a){var s=!this.owned_&&Ae(),o=D(this),u=o||s?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:kt,index:t,removed:a,added:i,removedCount:a.length,addedCount:i.length}:null;this.atom_.reportChanged(),o&&M(this,u)},r.get_=function(t){if(this.legacyMode_&&t>=this.values_.length){console.warn("[mobx] Out of bounds read: "+t);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[t])},r.set_=function(t,i){var a=this.values_;if(this.legacyMode_&&t>a.length&&d(17,t,a.length),t<a.length){this.atom_;var s=a[t];if(j(this)){var o=R(this,{type:$,object:this.proxy_,index:t,newValue:i});if(!o)return;i=o.newValue}i=this.enhancer_(i,s);var u=i!==s;u&&(a[t]=i,this.notifyArrayChildUpdate_(t,i,s))}else{for(var l=new Array(t+1-a.length),c=0;c<l.length-1;c++)l[c]=void 0;l[l.length-1]=i,this.spliceWithArray_(a.length,0,l)}},e})();function Ni(e,r,n,t){return n===void 0&&(n="ObservableArray"),t===void 0&&(t=!1),Qt(),Z(function(){var i=new Pt(n,r,t,!1);rr(i.values_,_,i);var a=new Proxy(i.values_,Mi);return i.proxy_=a,e&&e.length&&i.spliceWithArray_(0,0,e),a})}var Fe={clear:function(){return this.splice(0)},replace:function(r){var n=this[_];return n.spliceWithArray_(0,n.values_.length,r)},toJSON:function(){return this.slice()},splice:function(r,n){for(var t=arguments.length,i=new Array(t>2?t-2:0),a=2;a<t;a++)i[a-2]=arguments[a];var s=this[_];switch(arguments.length){case 0:return[];case 1:return s.spliceWithArray_(r);case 2:return s.spliceWithArray_(r,n)}return s.spliceWithArray_(r,n,i)},spliceWithArray:function(r,n,t){return this[_].spliceWithArray_(r,n,t)},push:function(){for(var r=this[_],n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return r.spliceWithArray_(r.values_.length,0,t),r.values_.length},pop:function(){return this.splice(Math.max(this[_].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var r=this[_],n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];return r.spliceWithArray_(0,0,t),r.values_.length},reverse:function(){return f.trackingDerivation&&d(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){f.trackingDerivation&&d(37,"sort");var r=this.slice();return r.sort.apply(r,arguments),this.replace(r),this},remove:function(r){var n=this[_],t=n.dehanceValues_(n.values_).indexOf(r);return t>-1?(this.splice(t,1),!0):!1}};b("at",P);b("concat",P);b("flat",P);b("includes",P);b("indexOf",P);b("join",P);b("lastIndexOf",P);b("slice",P);b("toString",P);
3b("toLocaleString",P);b("toSorted",P);b("toSpliced",P);b("with",P);b("every",C);b("filter",C);b("find",C);b("findIndex",C);b("findLast",C);b("findLastIndex",C);b("flatMap",C);b("forEach",C);b("map",C);b("some",C);b("toReversed",C);b("reduce",Ir);b("reduceRight",Ir);function b(e,r){typeof Array.prototype[e]=="function"&&(Fe[e]=r(e))}function P(e){return function(){var r=this[_];r.atom_.reportObserved();var n=r.dehanceValues_(r.values_);return n[e].apply(n,arguments)}}function C(e){return function(r,n){var t=this,i=this[_];i.atom_.reportObserved();var a=i.dehanceValues_(i.values_);return a[e](function(s,o){return r.call(n,s,o,t)})}}function Ir(e){return function(){var r=this,n=this[_];n.atom_.reportObserved();var t=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(a,s,o){return i(a,s,o,r)},t[e].apply(t,arguments)}}var Bi=se("ObservableArrayAdministration",Pt);function et(e){return We(e)&&Bi(e[_])}var Ci={},H="add",Ge="delete",$r=(function(){function e(n,t,i){var a=this;t===void 0&&(t=ae),i===void 0&&(i="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[_]=Ci,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=i,N(Map)||d(18),Z(function(){a.keysAtom_=sr("ObservableMap.keys()"),a.data_=new Map,a.hasMap_=new Map,n&&a.merge(n)})}var r=e.prototype;return r.has_=function(t){return this.data_.has(t)},r.has=function(t){var i=this;if(!f.trackingDerivation)return this.has_(t);var a=this.hasMap_.get(t);if(!a){var s=a=new re(this.has_(t),He,"ObservableMap.key?",!1);this.hasMap_.set(t,s),Mr(s,function(){return i.hasMap_.delete(t)})}return a.get()},r.set=function(t,i){var a=this.has_(t);if(j(this)){var s=R(this,{type:a?$:H,object:this,newValue:i,name:t});if(!s)return this;i=s.newValue}return a?this.updateValue_(t,i):this.addValue_(t,i),this},r.delete=function(t){var i=this;if(this.keysAtom_,j(this)){var a=R(this,{type:Ge,object:this,name:t});if(!a)return!1}if(this.has_(t)){var s=Ae(),o=D(this),u=o||s?{observableKind:"map",debugObjectName:this.name_,type:Ge,object:this,oldValue:this.data_.get(t).value_,name:t}:null;return G(function(){var l;i.keysAtom_.reportChanged(),(l=i.hasMap_.get(t))==null||l.setNewValue_(!1);var c=i.data_.get(t);c.setNewValue_(void 0),i.data_.delete(t)}),o&&M(this,u),!0}return!1},r.updateValue_=function(t,i){var a=this.data_.get(t);if(i=a.prepareNewValue_(i),i!==f.UNCHANGED){var s=Ae(),o=D(this),u=o||s?{observableKind:"map",debugObjectName:this.name_,type:$,object:this,oldValue:a.value_,name:t,newValue:i}:null;a.setNewValue_(i),o&&M(this,u)}},r.addValue_=function(t,i){var a=this;this.keysAtom_,G(function(){var l,c=new re(i,a.enhancer_,"ObservableMap.key",!1);a.data_.set(t,c),i=c.value_,(l=a.hasMap_.get(t))==null||l.setNewValue_(!0),a.keysAtom_.reportChanged()});var s=Ae(),o=D(this),u=o||s?{observableKind:"map",debugObjectName:this.name_,type:H,object:this,name:t,newValue:i}:null;o&&M(this,u)},r.get=function(t){return this.has(t)?this.dehanceValue_(this.data_.get(t).get()):this.dehanceValue_(void 0)},r.dehanceValue_=function(t){return this.dehancer!==void 0?this.dehancer(t):t},r.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},r.values=function(){var t=this,i=this.keys();return It({next:function(){var s=i.next(),o=s.done,u=s.value;return{done:o,value:o?void 0:t.get(u)}}})},r.entries=function(){var t=this,i=this.keys();return It({next:function(){var s=i.next(),o=s.done,u=s.value;return{done:o,value:o?void 0:[u,t.get(u)]}}})},r[Symbol.iterator]=function(){return this.entries()},r.forEach=function(t,i){for(var a=_e(this),s;!(s=a()).done;){var o=s.value,u=o[0],l=o[1];t.call(i,l,u,this)}},r.merge=function(t){var i=this;return ue(t)&&(t=new Map(t)),G(function(){z(t)?an(t).forEach(function(a){return i.set(a,t[a])}):Array.isArray(t)?t.forEach(function(a){var s=a[0],o=a[1];return i.set(s,o)}):ge(t)?(nn(t)||d(19,t),t.forEach(function(a,s){return i.set(s,a)})):t!=null&&d(20,t)}),this},r.clear=function(){var t=this;G(function(){gr(function(){for(var i=_e(t.keys()),a;!(a=i()).done;){var s=a.value;t.delete(s)}})})},r.replace=function(t){var i=this;return G(function(){for(var a=Vi(t),s=new Map,o=!1,u=_e(i.data_.keys()),l;!(l=u()).done;){var c=l.value;if(!a.has(c)){var v=i.delete(c);if(v)o=!0;else{var h=i.data_.get(c);s.set(c,h)}}}
3for(var g=_e(a.entries()),y;!(y=g()).done;){var m=y.value,O=m[0],Q=m[1],le=i.data_.has(O);if(i.set(O,Q),i.data_.has(O)){var me=i.data_.get(O);s.set(O,me),le||(o=!0)}}if(!o)if(i.data_.size!==s.size)i.keysAtom_.reportChanged();else for(var S=i.data_.keys(),W=s.keys(),ee=S.next(),xt=W.next();!ee.done;){if(ee.value!==xt.value){i.keysAtom_.reportChanged();break}ee=S.next(),xt=W.next()}i.data_=s}),this},r.toString=function(){return"[object ObservableMap]"},r.toJSON=function(){return Array.from(this)},r.observe_=function(t,i){return Te(this,t)},r.intercept_=function(t){return xe(this,t)},ye(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])})(),ue=se("ObservableMap",$r);function It(e){return e[Symbol.toStringTag]="MapIterator",Rt(e)}function Vi(e){if(ge(e)||ue(e))return e;if(Array.isArray(e))return new Map(e);if(z(e)){var r=new Map;for(var n in e)r.set(n,e[n]);return r}else return d(21,e)}var Li={},Ur=(function(){function e(n,t,i){var a=this;t===void 0&&(t=ae),i===void 0&&(i="ObservableSet"),this.name_=void 0,this[_]=Li,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=i,N(Set)||d(22),this.enhancer_=function(s,o){return t(s,o,i)},Z(function(){a.atom_=sr(a.name_),n&&a.replace(n)})}var r=e.prototype;return r.dehanceValue_=function(t){return this.dehancer!==void 0?this.dehancer(t):t},r.clear=function(){var t=this;G(function(){gr(function(){for(var i=_e(t.data_.values()),a;!(a=i()).done;){var s=a.value;t.delete(s)}})})},r.forEach=function(t,i){for(var a=_e(this),s;!(s=a()).done;){var o=s.value;t.call(i,o,o,this)}},r.add=function(t){var i=this;if(this.atom_,j(this)){var a=R(this,{type:H,object:this,newValue:t});if(!a)return this;t=a.newValue}if(!this.has(t)){G(function(){i.data_.add(i.enhancer_(t,void 0)),i.atom_.reportChanged()});var s=!1,o=D(this),u=o||s?{observableKind:"set",debugObjectName:this.name_,type:H,object:this,newValue:t}:null;o&&M(this,u)}return this},r.delete=function(t){var i=this;if(j(this)){var a=R(this,{type:Ge,object:this,oldValue:t});if(!a)return!1}if(this.has(t)){var s=!1,o=D(this),u=o||s?{observableKind:"set",debugObjectName:this.name_,type:Ge,object:this,oldValue:t}:null;return G(function(){i.atom_.reportChanged(),i.data_.delete(t)}),o&&M(this,u),!0}return!1},r.has=function(t){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(t))},r.entries=function(){var t=this.values();return $t({next:function(){var a=t.next(),s=a.value,o=a.done;return o?{value:void 0,done:o}:{value:[s,s],done:o}}})},r.keys=function(){return this.values()},r.values=function(){this.atom_.reportObserved();var t=this,i=this.data_.values();return $t({next:function(){var s=i.next(),o=s.value,u=s.done;return u?{value:void 0,done:u}:{value:t.dehanceValue_(o),done:u}}})},r.intersection=function(t){if(F(t)&&!V(t))return t.intersection(this);var i=new Set(this);return i.intersection(t)},r.union=function(t){if(F(t)&&!V(t))return t.union(this);var i=new Set(this);return i.union(t)},r.difference=function(t){return new Set(this).difference(t)},r.symmetricDifference=function(t){if(F(t)&&!V(t))return t.symmetricDifference(this);var i=new Set(this);return i.symmetricDifference(t)},r.isSubsetOf=function(t){return new Set(this).isSubsetOf(t)},r.isSupersetOf=function(t){return new Set(this).isSupersetOf(t)},r.isDisjointFrom=function(t){if(F(t)&&!V(t))return t.isDisjointFrom(this);var i=new Set(this);return i.isDisjointFrom(t)},r.replace=function(t){var i=this;return V(t)&&(t=new Set(t)),G(function(){Array.isArray(t)?(i.clear(),t.forEach(function(a){return i.add(a)})):F(t)?(i.clear(),t.forEach(function(a){return i.add(a)})):t!=null&&d("Cannot initialize set from "+t)}),this},r.observe_=function(t,i){return Te(this,t)},r.intercept_=function(t){return xe(this,t)},r.toJSON=function(){return Array.from(this)},r.toString=function(){return"[object ObservableSet]"},r[Symbol.iterator]=function(){return this.values()},ye(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])})(),V=se("ObservableSet",Ur);function $t(e){return e[Symbol.toStringTag]="SetIterator",Rt(e)}var Ut=Object.create(null),Ft="remove",Fr=(function(){function e(n,t,i,a){t===void 0&&(t=new Map),a===void 0&&(a=Cn),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=n,this.values_=t,this.name_=i,this.defaultAnnotation_=a,this.keysAtom_=ne
3w J("ObservableObject.keys"),this.isPlainObject_=z(this.target_)}var r=e.prototype;return r.getObservablePropValue_=function(t){return this.values_.get(t).get()},r.setObservablePropValue_=function(t,i){var a=this.values_.get(t);if(a instanceof B)return a.set(i),!0;if(j(this)){var s=R(this,{type:$,object:this.proxy_||this.target_,name:t,newValue:i});if(!s)return null;i=s.newValue}if(i=a.prepareNewValue_(i),i!==f.UNCHANGED){var o=D(this),u=!1,l=o||u?{type:$,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:a.value_,name:t,newValue:i}:null;a.setNewValue_(i),o&&M(this,l)}return!0},r.get_=function(t){return f.trackingDerivation&&!K(this.target_,t)&&this.has_(t),this.target_[t]},r.set_=function(t,i,a){return a===void 0&&(a=!1),K(this.target_,t)?this.values_.has(t)?this.setObservablePropValue_(t,i):a?Reflect.set(this.target_,t,i):(this.target_[t]=i,!0):this.extend_(t,{value:i,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,a)},r.has_=function(t){if(!f.trackingDerivation)return t in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var i=this.pendingKeys_.get(t);return i||(i=new re(t in this.target_,He,"ObservableObject.key?",!1),this.pendingKeys_.set(t,i)),i.get()},r.make_=function(t,i){if(i===!0&&(i=this.defaultAnnotation_),i!==!1){if(!(t in this.target_)){var a;if((a=this.target_[L])!=null&&a[t])return;d(1,i.annotationType_,this.name_+"."+t.toString())}for(var s=this.target_;s&&s!==ze;){var o=Le(s,t);if(o){var u=i.make_(this,t,o,s);if(u===0)return;if(u===1)break}s=Object.getPrototypeOf(s)}Kt(this,i,t)}},r.extend_=function(t,i,a,s){if(s===void 0&&(s=!1),a===!0&&(a=this.defaultAnnotation_),a===!1)return this.defineProperty_(t,i,s);var o=a.extend_(this,t,i,s);return o&&Kt(this,a,t),o},r.defineProperty_=function(t,i,a){a===void 0&&(a=!1),this.keysAtom_;try{x();var s=this.delete_(t);if(!s)return s;if(j(this)){var o=R(this,{object:this.proxy_||this.target_,name:t,type:H,newValue:i.value});if(!o)return null;var u=o.newValue;i.value!==u&&(i=Y({},i,{value:u}))}if(a){if(!Reflect.defineProperty(this.target_,t,i))return!1}else k(this.target_,t,i);this.notifyPropertyAddition_(t,i.value)}finally{T()}return!0},r.defineObservableProperty_=function(t,i,a,s){s===void 0&&(s=!1),this.keysAtom_;try{x();var o=this.delete_(t);if(!o)return o;if(j(this)){var u=R(this,{object:this.proxy_||this.target_,name:t,type:H,newValue:i});if(!u)return null;i=u.newValue}var l=Gt(t),c={configurable:f.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:l.get,set:l.set};if(s){if(!Reflect.defineProperty(this.target_,t,c))return!1}else k(this.target_,t,c);var v=new re(i,a,"ObservableObject.key",!1);this.values_.set(t,v),this.notifyPropertyAddition_(t,v.value_)}finally{T()}return!0},r.defineComputedProperty_=function(t,i,a){a===void 0&&(a=!1),this.keysAtom_;try{x();var s=this.delete_(t);if(!s)return s;if(j(this)){var o=R(this,{object:this.proxy_||this.target_,name:t,type:H,newValue:void 0});if(!o)return null}i.name||(i.name="ObservableObject.key"),i.context=this.proxy_||this.target_;var u=Gt(t),l={configurable:f.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:u.get,set:u.set};if(a){if(!Reflect.defineProperty(this.target_,t,l))return!1}else k(this.target_,t,l);this.values_.set(t,new B(i)),this.notifyPropertyAddition_(t,void 0)}finally{T()}return!0},r.delete_=function(t,i){if(i===void 0&&(i=!1),this.keysAtom_,!K(this.target_,t))return!0;if(j(this)){var a=R(this,{object:this.proxy_||this.target_,name:t,type:Ft});if(!a)return null}try{var s;x();var o=D(this),u=!1,l=this.values_.get(t),c=void 0;if(!l&&(o||u)){var v;c=(v=Le(this.target_,t))==null?void 0:v.value}if(i){if(!Reflect.deleteProperty(this.target_,t))return!1}else delete this.target_[t];if(l&&(this.values_.delete(t),l instanceof re&&(c=l.value_),wr(l)),this.keysAtom_.reportChanged(),(s=this.pendingKeys_)==null||(s=s.get(t))==null||s.set(t in this.target_),o||u){var h={type:Ft,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:c,name:t};o&&M(this,h)}}finally{T()}return!0},r.observe_=function(t,i){return Te(this,t)},r.intercept_=function(t){return xe(this,t)},r.notifyPropertyAddition_=function(t,i){var a,s=D(this),o=!1;if(s||o){var u=s||o?{type:H,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:t,newValue:i}:null;s&&M(this,u)}(a=this.pendingKeys_)==null||(a=a.get(t))==null||a.set(!0),this.keysAtom_.reportChanged()},r.ownKeys_=function(){return this.keysAtom_.reportObserved(),he(this.target_)},r.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e})();function fe(e,r){var n;if(K(e,_))return e;var t=(n=r?.name)!=null?n:"ObservableObject",i=new Fr(e,new Map,String(t),zn(r));return Ee(e,_,i),e}var ki=se("ObservableObjectAdministration",Fr);function Gt(e){return Ut[e]||(Ut[e]={get:function(){return this[_].getObservablePropValue_(e)}
3,set:function(n){return this[_].setObservablePropValue_(e,n)}})}function tt(e){return We(e)?ki(e[_]):!1}function Kt(e,r,n){var t;(t=e.target_[L])==null||delete t[n]}var Ii=Kr(0),$i=(function(){var e=!1,r={};return Object.defineProperty(r,"0",{set:function(){e=!0}}),Object.create(r)[0]=1,e===!1})(),st=0,Gr=function(){};function Ui(e,r){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,r):e.prototype.__proto__!==void 0?e.prototype.__proto__=r:e.prototype=r}Ui(Gr,Array.prototype);var jt=(function(e){function r(t,i,a,s){var o;return a===void 0&&(a="ObservableArray"),s===void 0&&(s=!1),o=e.call(this)||this,Z(function(){var u=new Pt(a,i,s,!0);u.proxy_=o,rr(o,_,u),t&&t.length&&o.spliceWithArray(0,0,t),$i&&Object.defineProperty(o,"0",Ii)}),o}ar(r,e);var n=r.prototype;return n.concat=function(){this[_].atom_.reportObserved();for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return Array.prototype.concat.apply(this.slice(),a.map(function(o){return et(o)?o.slice():o}))},n[Symbol.iterator]=function(){var t=this,i=0;return Rt({next:function(){return i<t.length?{value:t[i++],done:!1}:{done:!0,value:void 0}}})},ye(r,[{key:"length",get:function(){return this[_].getArrayLength_()},set:function(i){this[_].setArrayLength_(i)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])})(Gr);Object.entries(Fe).forEach(function(e){var r=e[0],n=e[1];r!=="concat"&&Ee(jt.prototype,r,n)});function Kr(e){return{enumerable:!1,configurable:!0,get:function(){return this[_].get_(e)},set:function(n){this[_].set_(e,n)}}}function Fi(e){k(jt.prototype,""+e,Kr(e))}function qr(e){if(e>st){for(var r=st;r<e+100;r++)Fi(r);st=e}}qr(1e3);function Gi(e,r,n){return new jt(e,r,n)}function Ke(e,r){if(typeof e=="object"&&e!==null){if(et(e))return r!==void 0&&d(23),e[_].atom_;if(V(e))return e.atom_;if(ue(e)){if(r===void 0)return e.keysAtom_;var n=e.data_.get(r)||e.hasMap_.get(r);return n||d(25,r,yt(e)),n}if(tt(e)){if(!r)return d(26);var t=e[_].values_.get(r);return t||d(27,r,yt(e)),t}if(St(e)||Qe(e)||Ue(e))return e}else if(N(e)&&Ue(e[_]))return e[_];d(28)}function Ki(e,r){if(e||d(29),St(e)||Qe(e)||Ue(e)||ue(e)||V(e))return e;if(e[_])return e[_];d(24,e)}function yt(e,r){var n;if(r!==void 0)n=Ke(e,r);else{if(pe(e))return e.name;tt(e)||ue(e)||V(e)?n=Ki(e):n=Ke(e)}return n.name_}function Z(e){var r=oe(),n=Je(!0);x();try{return e()}finally{T(),Ze(n),q(r)}}var qt=ze.toString;function zr(e,r,n){return n===void 0&&(n=-1),mt(e,r,n)}function mt(e,r,n,t,i){if(e===r)return e!==0||1/e===1/r;if(e==null||r==null)return!1;if(e!==e)return r!==r;var a=typeof e;if(a!=="function"&&a!=="object"&&typeof r!="object")return!1;var s=qt.call(e);if(s!==qt.call(r))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+r;case"[object Number]":return+e!=+e?+r!=+r:+e==0?1/+e===1/r:+e==+r;case"[object Date]":case"[object Boolean]":return+e==+r;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(e)===Symbol.valueOf.call(r);case"[object Map]":case"[object Set]":n>=0&&n++;break}e=zt(e),r=zt(r);var o=s==="[object Array]";if(!o){if(typeof e!="object"||typeof r!="object")return!1;var u=e.constructor,l=r.constructor;if(u!==l&&!(N(u)&&u instanceof u&&N(l)&&l instanceof l)&&"constructor"in e&&"constructor"in r)return!1}if(n===0)return!1;n<0&&(n=-1),t=t||[],i=i||[];for(var c=t.length;c--;)if(t[c]===e)return i[c]===r;if(t.push(e),i.push(r),o){if(c=e.length,c!==r.length)return!1;for(;c--;)if(!mt(e[c],r[c],n-1,t,i))return!1}else{var v=Object.keys(e),h=v.length;if(Object.keys(r).length!==h)return!1;for(var g=0;g<h;g++){var y=v[g];if(!(K(r,y)&&mt(e[y],r[y],n-1,t,i)))return!1}}return t.pop(),i.pop(),!0}function zt(e){return et(e)?e.slice():ge(e)||ue(e)||F(e)||V(e)?Array.from(e.entries()):e}var Wt,qi=((Wt=qe().Iterator)==null?void 0:Wt.prototype)||{};function Rt(e){return e[Symbol.iterator]=zi,Object.assign(Object.create(qi),e)}function zi(){return this}["Symbol","Map","Set"].forEach(function(e){var r=qe();typeof r[e]>"u"&&d("MobX requires global '"+e+"' to be available or polyfilled")});typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:fi,extras:{getDebugName:yt},$mobx:_});if(!ne.useState)throw new Error("mobx-react-lite requires React with Hooks 
3support");if(!Ti)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function Wi(e){e()}function Hi(e){e||(e=Wi),Oi({reactionScheduler:e})}function Yi(e){return Ai(e)}var Xi=1e4,Ji=1e4,Zi=(function(){function e(r){var n=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(t){t===void 0&&(t=Xi),clearTimeout(n.sweepTimeout),n.sweepTimeout=void 0;var i=Date.now();n.registrations.forEach(function(a,s){i-a.registeredAt>=t&&(n.finalize(a.value),n.registrations.delete(s))}),n.registrations.size>0&&n.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){n.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(r,n,t){this.registrations.set(t,{value:n,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(r){this.registrations.delete(r)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,Ji))}}),e})(),Qi=typeof FinalizationRegistry<"u"?FinalizationRegistry:Zi,Ot=new Qi(function(e){var r;(r=e.reaction)===null||r===void 0||r.dispose(),e.reaction=null}),ea=Qr();function Ht(e){e.reaction=new U("observer".concat(e.name),function(){var r;e.stateVersion=Symbol(),(r=e.onStoreChange)===null||r===void 0||r.call(e)})}function Wr(e,r){r===void 0&&(r="observed");var n=Tt.useRef(null);if(!n.current){var t={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:r,subscribe:function(o){return Ot.unregister(t),t.onStoreChange=o,t.reaction||(Ht(t),t.stateVersion=Symbol()),function(){var u;t.onStoreChange=null,(u=t.reaction)===null||u===void 0||u.dispose(),t.reaction=null}},getSnapshot:function(){return t.stateVersion}};n.current=t}var i=n.current;i.reaction||(Ht(i),Ot.register(n,i,i)),Tt.useDebugValue(i.reaction,Yi),ea.useSyncExternalStore(i.subscribe,i.getSnapshot,i.getSnapshot);var a,s;if(i.reaction.track(function(){try{a=e()}catch(o){s=o}}),s)throw s;return a}var ot,ut,Hr=typeof Symbol=="function"&&Symbol.for,ta=(ut=(ot=Object.getOwnPropertyDescriptor(function(){},"name"))===null||ot===void 0?void 0:ot.configurable)!==null&&ut!==void 0?ut:!1,Yt=Hr?Symbol.for("react.forward_ref"):typeof ne.forwardRef=="function"&&ne.forwardRef(function(e){return null}).$$typeof,Xt=Hr?Symbol.for("react.memo"):typeof ne.memo=="function"&&ne.memo(function(e){return null}).$$typeof;function ca(e,r){var n;if(Xt&&e.$$typeof===Xt)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var t=(n=void 0)!==null&&n!==void 0?n:!1,i=e,a=e.displayName||e.name;if(Yt&&e.$$typeof===Yt&&(t=!0,i=e.render,typeof i!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s=function(o,u){return Wr(function(){return i(o,u)},a)};return s.displayName=e.displayName,ta&&Object.defineProperty(s,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(s.contextTypes=e.contextTypes),t&&(s=ne.forwardRef(s)),s=ne.memo(s),na(e,s),s}var ra={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function na(e,r){Object.keys(e).forEach(function(n){ra[n]||Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(e,n))})}var ft;Hi(Jt.unstable_batchedUpdates);ft=Ot.finalizeAllImmediately;function va(e,r){return r===void 0&&(r="observed"),Wr(e,r)}export{sa as R,Jt as a,oa as b,te as c,ua as d,Tr as e,Ti as f,A as g,Xe as h,la as m,ca as o,Qr as r,va as u,fa as w};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.