UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

2,065 lines • 63.7 kB
//#region ../../node_modules/.pnpm/mobx@5.15.7/node_modules/mobx/lib/mobx.module.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: "3.47.0" };
		var t = new e.Error().stack;
		t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "926ef719-f4b8-4d1a-ab8d-7a06ac2517a8", e._sentryDebugIdIdentifier = "sentry-dbid-926ef719-f4b8-4d1a-ab8d-7a06ac2517a8");
	} catch {}
})();
var e = "An invariant failed, however the error is obfuscated because this is a production build.", t = [];
Object.freeze(t);
var n = {};
Object.freeze(n);
function r() {
	return ++I.mobxGuid;
}
function i(e) {
	throw a(!1, e), "X";
}
function a(t, n) {
	if (!t) throw Error("[mobx] " + (n || e));
}
function o(e) {
	var t = !1;
	return function() {
		if (!t) return t = !0, e.apply(this, arguments);
	};
}
var s = function() {};
function c(e) {
	var t = [];
	return e.forEach(function(e) {
		t.indexOf(e) === -1 && t.push(e);
	}), t;
}
function l(e) {
	return typeof e == "object" && !!e;
}
function u(e) {
	if (typeof e != "object" || !e) return !1;
	var t = Object.getPrototypeOf(e);
	return t === Object.prototype || t === null;
}
function d(e) {
	if (g(e) || X(e)) return e;
	if (Array.isArray(e)) return new Map(e);
	if (u(e)) {
		var t = /* @__PURE__ */ new Map();
		for (var n in e) t.set(n, e[n]);
		return t;
	} else return i("Cannot convert to map from '" + e + "'");
}
function f(e, t, n) {
	Object.defineProperty(e, t, {
		enumerable: !1,
		writable: !0,
		configurable: !0,
		value: n
	});
}
function p(e, t, n) {
	Object.defineProperty(e, t, {
		enumerable: !1,
		writable: !1,
		configurable: !0,
		value: n
	});
}
function m(e, t) {
	var n = Object.getOwnPropertyDescriptor(e, t);
	return !n || n.configurable !== !1 && n.writable !== !1;
}
function h(e, t) {
	var n = "isMobX" + e;
	return t.prototype[n] = !0, function(e) {
		return l(e) && e[n] === !0;
	};
}
function g(e) {
	return e instanceof Map;
}
function _(e) {
	return e instanceof Set;
}
function ee(e) {
	var t = /* @__PURE__ */ new Set();
	for (var n in e) t.add(n);
	return Object.getOwnPropertySymbols(e).forEach(function(n) {
		Object.getOwnPropertyDescriptor(e, n).enumerable && t.add(n);
	}), Array.from(t);
}
function v(e) {
	return e && e.toString ? e.toString() : new String(e).toString();
}
function te(e) {
	return e === null ? null : typeof e == "object" ? "" + e : e;
}
var ne = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols ? function(e) {
	return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
} : /* istanbul ignore next */ Object.getOwnPropertyNames, y = Symbol("mobx administration"), b = function() {
	function e(e) {
		e === void 0 && (e = "Atom@" + r()), this.name = e, this.isPendingUnobservation = !1, this.isBeingObserved = !1, this.observers = /* @__PURE__ */ new Set(), this.diffValue = 0, this.lastAccessedBy = 0, this.lowestObserverState = O.NOT_TRACKING;
	}
	return e.prototype.onBecomeObserved = function() {
		this.onBecomeObservedListeners && this.onBecomeObservedListeners.forEach(function(e) {
			return e();
		});
	}, e.prototype.onBecomeUnobserved = function() {
		this.onBecomeUnobservedListeners && this.onBecomeUnobservedListeners.forEach(function(e) {
			return e();
		});
	}, e.prototype.reportObserved = function() {
		return dt(this);
	}, e.prototype.reportChanged = function() {
		L(), ft(this), R();
	}, e.prototype.toString = function() {
		return this.name;
	}, e;
}(), re = h("Atom", b);
function ie(e, t, n) {
	t === void 0 && (t = s), n === void 0 && (n = s);
	var r = new b(e);
	return t !== s && Lt(r, t), n !== s && Rt(r, n), r;
}
function ae(e, t) {
	return e === t;
}
function oe(e, t) {
	return Mn(e, t);
}
function se(e, t) {
	return Mn(e, t, 1);
}
function ce(e, t) {
	return Object.is(e, t);
}
var x = {
	identity: ae,
	structural: oe,
	default: ce,
	shallow: se
}, le = function(e, t) {
	return le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
		e.__proto__ = t;
	} || function(e, t) {
		for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
	}, le(e, t);
};
function ue(e, t) {
	le(e, t);
	function n() {
		this.constructor = e;
	}
	e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
}
var S = function() {
	return S = Object.assign || function(e) {
		for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
		return e;
	}, S.apply(this, arguments);
};
function C(e) {
	var t = typeof Symbol == "function" && e[Symbol.iterator], n = 0;
	return t ? t.call(e) : { next: function() {
		return e && n >= e.length && (e = void 0), {
			value: e && e[n++],
			done: !e
		};
	} };
}
function w(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r = n.call(e), i, a = [], o;
	try {
		for (; (t === void 0 || t-- > 0) && !(i = r.next()).done;) a.push(i.value);
	} catch (e) {
		o = { error: e };
	} finally {
		try {
			i && !i.done && (n = r.return) && n.call(r);
		} finally {
			if (o) throw o.error;
		}
	}
	return a;
}
function de() {
	for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(w(arguments[t]));
	return e;
}
var fe = Symbol("mobx did run lazy initializers"), pe = Symbol("mobx pending decorators"), me = {}, he = {};
function ge(e, t) {
	var n = t ? me : he;
	return n[e] || (n[e] = {
		configurable: !0,
		enumerable: t,
		get: function() {
			return T(this), this[e];
		},
		set: function(t) {
			T(this), this[e] = t;
		}
	});
}
function T(e) {
	var t, n;
	if (e[fe] !== !0) {
		var r = e[pe];
		if (r) {
			f(e, fe, !0);
			var i = de(Object.getOwnPropertySymbols(r), Object.keys(r));
			try {
				for (var a = C(i), o = a.next(); !o.done; o = a.next()) {
					var s = r[o.value];
					s.propertyCreator(e, s.prop, s.descriptor, s.decoratorTarget, s.decoratorArguments);
				}
			} catch (e) {
				t = { error: e };
			} finally {
				try {
					o && !o.done && (n = a.return) && n.call(a);
				} finally {
					if (t) throw t.error;
				}
			}
		}
	}
}
function _e(e, n) {
	return function() {
		var r, i = function(t, i, a, o) {
			if (o === !0) return n(t, i, a, t, r), null;
			if (!Object.prototype.hasOwnProperty.call(t, pe)) {
				var s = t[pe];
				f(t, pe, S({}, s));
			}
			return t[pe][i] = {
				prop: i,
				propertyCreator: n,
				descriptor: a,
				decoratorTarget: t,
				decoratorArguments: r
			}, ge(i, e);
		};
		return ve(arguments) ? (r = t, i.apply(null, arguments)) : (r = Array.prototype.slice.call(arguments), i);
	};
}
function ve(e) {
	return (e.length === 2 || e.length === 3) && (typeof e[1] == "string" || typeof e[1] == "symbol") || e.length === 4 && e[3] === !0;
}
function ye(e, t, n) {
	return Jt(e) ? e : Array.isArray(e) ? D.array(e, { name: n }) : u(e) ? D.object(e, void 0, { name: n }) : g(e) ? D.map(e, { name: n }) : _(e) ? D.set(e, { name: n }) : e;
}
function be(e, t, n) {
	return e == null || Q(e) || Y(e) || X(e) || Z(e) ? e : Array.isArray(e) ? D.array(e, {
		name: n,
		deep: !1
	}) : u(e) ? D.object(e, void 0, {
		name: n,
		deep: !1
	}) : g(e) ? D.map(e, {
		name: n,
		deep: !1
	}) : _(e) ? D.set(e, {
		name: n,
		deep: !1
	}) : i(!1);
}
function xe(e) {
	return e;
}
function Se(e, t, n) {
	return Mn(e, t) ? t : e;
}
function Ce(e) {
	a(e);
	var t = _e(!0, function(t, n, r, i, a) {
		var o = r ? r.initializer ? r.initializer.call(t) : r.value : void 0;
		Sn(t).addObservableProp(n, o, e);
	}), n = (typeof process < "u" && process.env, t);
	return n.enhancer = e, n;
}
var we = {
	deep: !0,
	name: void 0,
	defaultDecorator: void 0,
	proxy: !0
};
Object.freeze(we);
function E(e) {
	return e == null ? we : typeof e == "string" ? {
		name: e,
		deep: !0,
		proxy: !0
	} : e;
}
var Te = Ce(ye), Ee = Ce(be), De = Ce(xe), Oe = Ce(Se);
function ke(e) {
	return e.defaultDecorator ? e.defaultDecorator.enhancer : e.deep === !1 ? xe : ye;
}
function Ae(e, t, n) {
	if (typeof arguments[1] == "string" || typeof arguments[1] == "symbol") return Te.apply(null, arguments);
	if (Jt(e)) return e;
	var r = u(e) ? D.object(e, t, n) : Array.isArray(e) ? D.array(e, t) : g(e) ? D.map(e, t) : _(e) ? D.set(e, t) : e;
	if (r !== e) return r;
	i(!1);
}
var je = {
	box: function(e, t) {
		arguments.length > 2 && Me("box");
		var n = E(t);
		return new P(e, ke(n), n.name, !0, n.equals);
	},
	array: function(e, t) {
		arguments.length > 2 && Me("array");
		var n = E(t);
		return fn(e, ke(n), n.name);
	},
	map: function(e, t) {
		arguments.length > 2 && Me("map");
		var n = E(t);
		return new _n(e, ke(n), n.name);
	},
	set: function(e, t) {
		arguments.length > 2 && Me("set");
		var n = E(t);
		return new bn(e, ke(n), n.name);
	},
	object: function(e, t, n) {
		typeof arguments[1] == "string" && Me("object");
		var r = E(n);
		if (r.proxy === !1) return Vt({}, e, t, r);
		var i = Ht(r), a = cn(Vt({}, void 0, void 0, r));
		return Ut(a, e, t, i), a;
	},
	ref: De,
	shallow: Ee,
	deep: Te,
	struct: Oe
}, D = Ae;
Object.keys(je).forEach(function(e) {
	return D[e] = je[e];
});
function Me(e) {
	i("Expected one or two arguments to observable." + e + ". Did you accidentally try to use observable." + e + " as decorator?");
}
var Ne = _e(!1, function(e, t, n, r, i) {
	var a = n.get, o = n.set, s = i[0] || {};
	Sn(e).addComputedProp(e, t, S({
		get: a,
		set: o,
		context: e
	}, s));
}), Pe = Ne({ equals: x.structural }), Fe = function(e, t, n) {
	if (typeof t == "string" || typeof e == "object" && e && arguments.length === 1) return Ne.apply(null, arguments);
	var r = typeof t == "object" ? t : {};
	return r.get = e, r.set = typeof t == "function" ? t : r.set, r.name = r.name || e.name || "", new F(r);
};
Fe.struct = Pe;
var O;
(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";
})(O || (O = {}));
var k;
(function(e) {
	e[e.NONE = 0] = "NONE", e[e.LOG = 1] = "LOG", e[e.BREAK = 2] = "BREAK";
})(k || (k = {}));
var Ie = function() {
	function e(e) {
		this.cause = e;
	}
	return e;
}();
function Le(e) {
	return e instanceof Ie;
}
function Re(e) {
	switch (e.dependenciesState) {
		case O.UP_TO_DATE: return !1;
		case O.NOT_TRACKING:
		case O.STALE: return !0;
		case O.POSSIBLY_STALE:
			for (var t = Ue(!0), n = j(), r = e.observing, i = r.length, a = 0; a < i; a++) {
				var o = r[a];
				if (tt(o)) {
					if (I.disableErrorBoundaries) o.get();
					else try {
						o.get();
					} catch {
						return M(n), We(t), !0;
					}
					if (e.dependenciesState === O.STALE) return M(n), We(t), !0;
				}
			}
			return Ge(e), M(n), We(t), !1;
	}
}
function A(e) {
	var t = e.observers.size > 0;
	I.computationDepth > 0 && t && i(!1), !I.allowStateChanges && (t || I.enforceActions === "strict") && i(!1);
}
function ze(e, t, n) {
	var r = Ue(!0);
	Ge(e), e.newObserving = Array(e.observing.length + 100), e.unboundDepsCount = 0, e.runId = ++I.runId;
	var i = I.trackingDerivation;
	I.trackingDerivation = e;
	var a;
	if (I.disableErrorBoundaries === !0) a = t.call(n);
	else try {
		a = t.call(n);
	} catch (e) {
		a = new Ie(e);
	}
	return I.trackingDerivation = i, Be(e), We(r), a;
}
function Be(e) {
	for (var t = e.observing, n = e.observing = e.newObserving, r = O.UP_TO_DATE, i = 0, a = e.unboundDepsCount, o = 0; o < a; o++) {
		var s = n[o];
		s.diffValue === 0 && (s.diffValue = 1, i !== o && (n[i] = s), i++), s.dependenciesState > r && (r = s.dependenciesState);
	}
	for (n.length = i, e.newObserving = null, a = t.length; a--;) {
		var s = t[a];
		s.diffValue === 0 && lt(s, e), s.diffValue = 0;
	}
	for (; i--;) {
		var s = n[i];
		s.diffValue === 1 && (s.diffValue = 0, ct(s, e));
	}
	r !== O.UP_TO_DATE && (e.dependenciesState = r, e.onBecomeStale());
}
function Ve(e) {
	var t = e.observing;
	e.observing = [];
	for (var n = t.length; n--;) lt(t[n], e);
	e.dependenciesState = O.NOT_TRACKING;
}
function He(e) {
	var t = j();
	try {
		return e();
	} finally {
		M(t);
	}
}
function j() {
	var e = I.trackingDerivation;
	return I.trackingDerivation = null, e;
}
function M(e) {
	I.trackingDerivation = e;
}
function Ue(e) {
	var t = I.allowStateReads;
	return I.allowStateReads = e, t;
}
function We(e) {
	I.allowStateReads = e;
}
function Ge(e) {
	if (e.dependenciesState !== O.UP_TO_DATE) {
		e.dependenciesState = O.UP_TO_DATE;
		for (var t = e.observing, n = t.length; n--;) t[n].lowestObserverState = O.UP_TO_DATE;
	}
}
var Ke = 0, qe = 1, Je = Object.getOwnPropertyDescriptor(function() {}, "name");
Je && Je.configurable;
function N(e, t, n) {
	var r = function() {
		return Ye(e, t, n || this, arguments);
	};
	return r.isMobxAction = !0, r;
}
function Ye(e, t, n, r) {
	var i = Xe(e, n, r);
	try {
		return t.apply(n, r);
	} catch (e) {
		throw i.error = e, e;
	} finally {
		Ze(i);
	}
}
function Xe(e, t, n) {
	var r = z() && !!e, i = 0, a = j();
	L();
	var o = {
		prevDerivation: a,
		prevAllowStateChanges: Qe(!0),
		prevAllowStateReads: Ue(!0),
		notifySpy: r,
		startTime: i,
		actionId: qe++,
		parentActionId: Ke
	};
	return Ke = o.actionId, o;
}
function Ze(e) {
	Ke !== e.actionId && i("invalid action stack. did you forget to finish an action?"), Ke = e.parentActionId, e.error !== void 0 && (I.suppressReactionErrors = !0), $e(e.prevAllowStateChanges), We(e.prevAllowStateReads), R(), M(e.prevDerivation), e.notifySpy, I.suppressReactionErrors = !1;
}
function Qe(e) {
	var t = I.allowStateChanges;
	return I.allowStateChanges = e, t;
}
function $e(e) {
	I.allowStateChanges = e;
}
var P = function(e) {
	ue(t, e);
	function t(t, n, i, a, o) {
		i === void 0 && (i = "ObservableValue@" + r()), a === void 0 && (a = !0), o === void 0 && (o = x.default);
		var s = e.call(this, i) || this;
		return s.enhancer = n, s.name = i, s.equals = o, s.hasUnreportedChange = !1, s.value = n(t, void 0, i), s;
	}
	return t.prototype.dehanceValue = function(e) {
		return this.dehancer === void 0 ? e : this.dehancer(e);
	}, t.prototype.set = function(e) {
		this.value, e = this.prepareNewValue(e), e !== I.UNCHANGED && this.setNewValue(e);
	}, t.prototype.prepareNewValue = function(e) {
		if (A(this), U(this)) {
			var t = W(this, {
				object: this,
				type: "update",
				newValue: e
			});
			if (!t) return I.UNCHANGED;
			e = t.newValue;
		}
		return e = this.enhancer(e, this.value, this.name), this.equals(this.value, e) ? I.UNCHANGED : e;
	}, t.prototype.setNewValue = function(e) {
		var t = this.value;
		this.value = e, this.reportChanged(), G(this) && q(this, {
			type: "update",
			object: this,
			newValue: e,
			oldValue: t
		});
	}, t.prototype.get = function() {
		return this.reportObserved(), this.dehanceValue(this.value);
	}, t.prototype.intercept = function(e) {
		return ln(this, e);
	}, t.prototype.observe = function(e, t) {
		return t && e({
			object: this,
			type: "update",
			newValue: this.value,
			oldValue: void 0
		}), K(this, e);
	}, t.prototype.toJSON = function() {
		return this.get();
	}, t.prototype.toString = function() {
		return this.name + "[" + this.value + "]";
	}, t.prototype.valueOf = function() {
		return te(this.get());
	}, t.prototype[Symbol.toPrimitive] = function() {
		return this.valueOf();
	}, t;
}(b), et = h("ObservableValue", P), F = function() {
	function e(e) {
		this.dependenciesState = O.NOT_TRACKING, this.observing = [], this.newObserving = null, this.isBeingObserved = !1, this.isPendingUnobservation = !1, this.observers = /* @__PURE__ */ new Set(), this.diffValue = 0, this.runId = 0, this.lastAccessedBy = 0, this.lowestObserverState = O.UP_TO_DATE, this.unboundDepsCount = 0, this.__mapid = "#" + r(), this.value = new Ie(null), this.isComputing = !1, this.isRunningSetter = !1, this.isTracing = k.NONE, a(e.get, "missing option for computed: get"), this.derivation = e.get, this.name = e.name || "ComputedValue@" + r(), e.set && (this.setter = N(this.name + "-setter", e.set)), this.equals = e.equals || (e.compareStructural || e.struct ? x.structural : x.default), this.scope = e.context, this.requiresReaction = !!e.requiresReaction, this.keepAlive = !!e.keepAlive;
	}
	return e.prototype.onBecomeStale = function() {
		mt(this);
	}, e.prototype.onBecomeObserved = function() {
		this.onBecomeObservedListeners && this.onBecomeObservedListeners.forEach(function(e) {
			return e();
		});
	}, e.prototype.onBecomeUnobserved = function() {
		this.onBecomeUnobservedListeners && this.onBecomeUnobservedListeners.forEach(function(e) {
			return e();
		});
	}, e.prototype.get = function() {
		this.isComputing && i("Cycle detected in computation " + this.name + ": " + this.derivation), I.inBatch === 0 && this.observers.size === 0 && !this.keepAlive ? Re(this) && (this.warnAboutUntrackedRead(), L(), this.value = this.computeValue(!1), R()) : (dt(this), Re(this) && this.trackAndCompute() && pt(this));
		var e = this.value;
		if (Le(e)) throw e.cause;
		return e;
	}, e.prototype.peek = function() {
		var e = this.computeValue(!1);
		if (Le(e)) throw e.cause;
		return e;
	}, e.prototype.set = function(e) {
		if (this.setter) {
			a(!this.isRunningSetter, "The setter of computed value '" + this.name + "' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"), this.isRunningSetter = !0;
			try {
				this.setter.call(this.scope, e);
			} finally {
				this.isRunningSetter = !1;
			}
		} else a(!1, !1);
	}, e.prototype.trackAndCompute = function() {
		var e = this.value, t = this.dependenciesState === O.NOT_TRACKING, n = this.computeValue(!0), r = t || Le(e) || Le(n) || !this.equals(e, n);
		return r && (this.value = n), r;
	}, e.prototype.computeValue = function(e) {
		this.isComputing = !0, I.computationDepth++;
		var t;
		if (e) t = ze(this, this.derivation, this.scope);
		else if (I.disableErrorBoundaries === !0) t = this.derivation.call(this.scope);
		else try {
			t = this.derivation.call(this.scope);
		} catch (e) {
			t = new Ie(e);
		}
		return I.computationDepth--, this.isComputing = !1, t;
	}, e.prototype.suspend = function() {
		this.keepAlive || (Ve(this), this.value = void 0);
	}, e.prototype.observe = function(e, t) {
		var n = this, r = !0, i = void 0;
		return Mt(function() {
			var a = n.get();
			if (!r || t) {
				var o = j();
				e({
					type: "update",
					object: n,
					newValue: a,
					oldValue: i
				}), M(o);
			}
			r = !1, i = a;
		});
	}, e.prototype.warnAboutUntrackedRead = function() {}, e.prototype.toJSON = function() {
		return this.get();
	}, e.prototype.toString = function() {
		return this.name + "[" + this.derivation.toString() + "]";
	}, e.prototype.valueOf = function() {
		return te(this.get());
	}, e.prototype[Symbol.toPrimitive] = function() {
		return this.valueOf();
	}, e;
}(), tt = h("ComputedValue", F), nt = function() {
	function e() {
		this.version = 5, this.UNCHANGED = {}, this.trackingDerivation = null, this.computationDepth = 0, this.runId = 0, this.mobxGuid = 0, this.inBatch = 0, this.pendingUnobservations = [], this.pendingReactions = [], this.isRunningReactions = !1, this.allowStateChanges = !0, this.allowStateReads = !0, this.enforceActions = !1, this.spyListeners = [], this.globalReactionErrorHandlers = [], this.computedRequiresReaction = !1, this.reactionRequiresObservable = !1, this.observableRequiresReaction = !1, this.computedConfigurable = !1, this.disableErrorBoundaries = !1, this.suppressReactionErrors = !1;
	}
	return e;
}(), rt = {};
function it() {
	return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : rt;
}
var at = !0, ot = !1, I = (function() {
	var e = it();
	return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (at = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new nt().version && (at = !1), at ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = new nt()) : (setTimeout(function() {
		ot || i("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`");
	}, 1), new nt());
})();
function st() {
	(I.pendingReactions.length || I.inBatch || I.isRunningReactions) && i("isolateGlobalState should be called before MobX is running any reactions"), ot = !0, at && (--it().__mobxInstanceCount === 0 && (it().__mobxGlobals = void 0), I = new nt());
}
function ct(e, t) {
	e.observers.add(t), e.lowestObserverState > t.dependenciesState && (e.lowestObserverState = t.dependenciesState);
}
function lt(e, t) {
	e.observers.delete(t), e.observers.size === 0 && ut(e);
}
function ut(e) {
	e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, I.pendingUnobservations.push(e));
}
function L() {
	I.inBatch++;
}
function R() {
	if (--I.inBatch === 0) {
		bt();
		for (var e = I.pendingUnobservations, t = 0; t < e.length; t++) {
			var n = e[t];
			n.isPendingUnobservation = !1, n.observers.size === 0 && (n.isBeingObserved && (n.isBeingObserved = !1, n.onBecomeUnobserved()), n instanceof F && n.suspend());
		}
		I.pendingUnobservations = [];
	}
}
function dt(e) {
	var t = I.trackingDerivation;
	return t === null ? (e.observers.size === 0 && I.inBatch > 0 && ut(e), !1) : (t.runId !== e.lastAccessedBy && (e.lastAccessedBy = t.runId, t.newObserving[t.unboundDepsCount++] = e, e.isBeingObserved || (e.isBeingObserved = !0, e.onBecomeObserved())), !0);
}
function ft(e) {
	e.lowestObserverState !== O.STALE && (e.lowestObserverState = O.STALE, e.observers.forEach(function(t) {
		t.dependenciesState === O.UP_TO_DATE && (t.isTracing !== k.NONE && ht(t, e), t.onBecomeStale()), t.dependenciesState = O.STALE;
	}));
}
function pt(e) {
	e.lowestObserverState !== O.STALE && (e.lowestObserverState = O.STALE, e.observers.forEach(function(t) {
		t.dependenciesState === O.POSSIBLY_STALE ? t.dependenciesState = O.STALE : t.dependenciesState === O.UP_TO_DATE && (e.lowestObserverState = O.UP_TO_DATE);
	}));
}
function mt(e) {
	e.lowestObserverState === O.UP_TO_DATE && (e.lowestObserverState = O.POSSIBLY_STALE, e.observers.forEach(function(t) {
		t.dependenciesState === O.UP_TO_DATE && (t.dependenciesState = O.POSSIBLY_STALE, t.isTracing !== k.NONE && ht(t, e), t.onBecomeStale());
	}));
}
function ht(e, t) {
	if (console.log("[mobx.trace] '" + e.name + "' is invalidated due to a change in: '" + t.name + "'"), e.isTracing === k.BREAK) {
		var n = [];
		gt(Wt(e), n, 1), Function("debugger;\n/*\nTracing '" + e.name + "'\n\nYou are entering this break point because derivation '" + e.name + "' is being traced and '" + t.name + "' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n" + (e instanceof F ? e.derivation.toString().replace(/[*]\//g, "/") : "") + "\n\nThe dependencies for this derivation are:\n\n" + n.join("\n") + "\n*/\n    ")();
	}
}
function gt(e, t, n) {
	if (t.length >= 1e3) {
		t.push("(and many more)");
		return;
	}
	t.push("" + Array(n).join("	") + e.name), e.dependencies && e.dependencies.forEach(function(e) {
		return gt(e, t, n + 1);
	});
}
var _t = function() {
	function e(e, t, n, i) {
		e === void 0 && (e = "Reaction@" + r()), i === void 0 && (i = !1), this.name = e, this.onInvalidate = t, this.errorHandler = n, this.requiresObservable = i, this.observing = [], this.newObserving = [], this.dependenciesState = O.NOT_TRACKING, this.diffValue = 0, this.runId = 0, this.unboundDepsCount = 0, this.__mapid = "#" + r(), this.isDisposed = !1, this._isScheduled = !1, this._isTrackPending = !1, this._isRunning = !1, this.isTracing = k.NONE;
	}
	return e.prototype.onBecomeStale = function() {
		this.schedule();
	}, e.prototype.schedule = function() {
		this._isScheduled || (this._isScheduled = !0, I.pendingReactions.push(this), bt());
	}, e.prototype.isScheduled = function() {
		return this._isScheduled;
	}, e.prototype.runReaction = function() {
		if (!this.isDisposed) {
			if (L(), this._isScheduled = !1, Re(this)) {
				this._isTrackPending = !0;
				try {
					this.onInvalidate(), this._isTrackPending;
				} catch (e) {
					this.reportExceptionInDerivation(e);
				}
			}
			R();
		}
	}, e.prototype.track = function(e) {
		if (!this.isDisposed) {
			L(), this._isRunning = !0;
			var t = ze(this, e, void 0);
			this._isRunning = !1, this._isTrackPending = !1, this.isDisposed && Ve(this), Le(t) && this.reportExceptionInDerivation(t.cause), R();
		}
	}, e.prototype.reportExceptionInDerivation = function(e) {
		var t = this;
		if (this.errorHandler) {
			this.errorHandler(e, this);
			return;
		}
		if (I.disableErrorBoundaries) throw e;
		var n = "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'";
		I.suppressReactionErrors ? console.warn("[mobx] (error in reaction '" + this.name + "' suppressed, fix error of causing action below)") : console.error(n, e), z() && (this.name, "" + e), I.globalReactionErrorHandlers.forEach(function(n) {
			return n(e, t);
		});
	}, e.prototype.dispose = function() {
		this.isDisposed || (this.isDisposed = !0, this._isRunning || (L(), Ve(this), R()));
	}, e.prototype.getDisposer = function() {
		var e = this.dispose.bind(this);
		return e[y] = this, e;
	}, e.prototype.toString = function() {
		return "Reaction[" + this.name + "]";
	}, e.prototype.trace = function(e) {
		e === void 0 && (e = !1), $t(this, e);
	}, e;
}(), vt = 100, yt = function(e) {
	return e();
};
function bt() {
	I.inBatch > 0 || I.isRunningReactions || yt(xt);
}
function xt() {
	I.isRunningReactions = !0;
	for (var e = I.pendingReactions, t = 0; e.length > 0;) {
		++t === vt && (console.error("Reaction doesn't converge to a stable state after " + vt + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0])), e.splice(0));
		for (var n = e.splice(0), r = 0, i = n.length; r < i; r++) n[r].runReaction();
	}
	I.isRunningReactions = !1;
}
var St = h("Reaction", _t);
function Ct(e) {
	var t = yt;
	yt = function(n) {
		return e(function() {
			return t(n);
		});
	};
}
function z() {
	return !1;
}
function wt(e) {
	return console.warn("[mobx.spy] Is a no-op in production builds"), function() {};
}
function Tt() {
	i(!1);
}
function Et(e) {
	return function(t, n, r) {
		if (r) {
			if (r.value) return {
				value: N(e, r.value),
				enumerable: !1,
				configurable: !0,
				writable: !0
			};
			var i = r.initializer;
			return {
				enumerable: !1,
				configurable: !0,
				writable: !0,
				initializer: function() {
					return N(e, i.call(this));
				}
			};
		}
		return Dt(e).apply(this, arguments);
	};
}
function Dt(e) {
	return function(t, n, r) {
		Object.defineProperty(t, n, {
			configurable: !0,
			enumerable: !1,
			get: function() {},
			set: function(t) {
				f(this, n, kt(e, t));
			}
		});
	};
}
function Ot(e, t, n, r) {
	return r === !0 ? (jt(e, t, n.value), null) : n ? {
		configurable: !0,
		enumerable: !1,
		get: function() {
			return jt(this, t, n.value || n.initializer.call(this)), this[t];
		},
		set: Tt
	} : {
		enumerable: !1,
		configurable: !0,
		set: function(e) {
			jt(this, t, e);
		},
		get: function() {}
	};
}
var kt = function(e, t, n, r) {
	if (arguments.length === 1 && typeof e == "function") return N(e.name || "<unnamed action>", e);
	if (arguments.length === 2 && typeof t == "function") return N(e, t);
	if (arguments.length === 1 && typeof e == "string") return Et(e);
	if (r === !0) f(e, t, N(e.name || t, n.value, this));
	else return Et(t).apply(null, arguments);
};
kt.bound = Ot;
function At(e, t) {
	return Ye(typeof e == "string" ? e : e.name || "<unnamed action>", typeof e == "function" ? e : t, this, void 0);
}
function jt(e, t, n) {
	f(e, t, N(t, n.bind(e)));
}
function Mt(e, t) {
	t === void 0 && (t = n);
	var i = t && t.name || e.name || "Autorun@" + r(), a = !t.scheduler && !t.delay, o;
	if (a) o = new _t(i, function() {
		this.track(l);
	}, t.onError, t.requiresObservable);
	else {
		var s = Pt(t), c = !1;
		o = new _t(i, function() {
			c || (c = !0, s(function() {
				c = !1, o.isDisposed || o.track(l);
			}));
		}, t.onError, t.requiresObservable);
	}
	function l() {
		e(o);
	}
	return o.schedule(), o.getDisposer();
}
var Nt = function(e) {
	return e();
};
function Pt(e) {
	return e.scheduler ? e.scheduler : e.delay ? function(t) {
		return setTimeout(t, e.delay);
	} : Nt;
}
function Ft(e, t, i) {
	i === void 0 && (i = n);
	var a = i.name || "Reaction@" + r(), o = kt(a, i.onError ? It(i.onError, t) : t), s = !i.scheduler && !i.delay, c = Pt(i), l = !0, u = !1, d, f = i.compareStructural ? x.structural : i.equals || x.default, p = new _t(a, function() {
		l || s ? m() : u || (u = !0, c(m));
	}, i.onError, i.requiresObservable);
	function m() {
		if (u = !1, !p.isDisposed) {
			var t = !1;
			p.track(function() {
				var n = e(p);
				t = l || !f(d, n), d = n;
			}), l && i.fireImmediately && o(d, p), !l && t === !0 && o(d, p), l && (l = !1);
		}
	}
	return p.schedule(), p.getDisposer();
}
function It(e, t) {
	return function() {
		try {
			return t.apply(this, arguments);
		} catch (t) {
			e.call(this, t);
		}
	};
}
function Lt(e, t, n) {
	return zt("onBecomeObserved", e, t, n);
}
function Rt(e, t, n) {
	return zt("onBecomeUnobserved", e, t, n);
}
function zt(e, t, n, r) {
	var a = typeof r == "function" ? $(t, n) : $(t), o = typeof r == "function" ? r : n, s = e + "Listeners";
	return a[s] ? a[s].add(o) : a[s] = /* @__PURE__ */ new Set([o]), typeof a[e] == "function" ? function() {
		var e = a[s];
		e && (e.delete(o), e.size === 0 && delete a[s]);
	} : i(!1);
}
function Bt(e) {
	var t = e.enforceActions, n = e.computedRequiresReaction, r = e.computedConfigurable, a = e.disableErrorBoundaries, o = e.reactionScheduler, s = e.reactionRequiresObservable, c = e.observableRequiresReaction;
	if (e.isolateGlobalState === !0 && st(), t !== void 0) {
		var l = void 0;
		switch (t) {
			case !0:
			case "observed":
				l = !0;
				break;
			case !1:
			case "never":
				l = !1;
				break;
			case "strict":
			case "always":
				l = "strict";
				break;
			default: i("Invalid value for 'enforceActions': '" + t + "', expected 'never', 'always' or 'observed'");
		}
		I.enforceActions = l, I.allowStateChanges = !(l === !0 || l === "strict");
	}
	n !== void 0 && (I.computedRequiresReaction = !!n), s !== void 0 && (I.reactionRequiresObservable = !!s), c !== void 0 && (I.observableRequiresReaction = !!c, I.allowStateReads = !I.observableRequiresReaction), r !== void 0 && (I.computedConfigurable = !!r), a !== void 0 && (a === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), I.disableErrorBoundaries = !!a), o && Ct(o);
}
function Vt(e, t, n, r) {
	r = E(r);
	var i = Ht(r);
	return T(e), Sn(e, r.name, i.enhancer), t && Ut(e, t, n, i), e;
}
function Ht(e) {
	return e.defaultDecorator || (e.deep === !1 ? De : Te);
}
function Ut(e, t, n, r) {
	var i, a;
	if (0) var o, s, c, l;
	L();
	try {
		var o = ne(t);
		try {
			for (var u = C(o), d = u.next(); !d.done; d = u.next()) {
				var l = d.value, f = Object.getOwnPropertyDescriptor(t, l), p = (n && l in n ? n[l] : f.get ? Ne : r)(e, l, f, !0);
				p && Object.defineProperty(e, l, p);
			}
		} catch (e) {
			i = { error: e };
		} finally {
			try {
				d && !d.done && (a = u.return) && a.call(u);
			} finally {
				if (i) throw i.error;
			}
		}
	} finally {
		R();
	}
}
function Wt(e, t) {
	return Gt($(e, t));
}
function Gt(e) {
	var t = { name: e.name };
	return e.observing && e.observing.length > 0 && (t.dependencies = c(e.observing).map(Gt)), t;
}
function Kt() {
	this.message = "FLOW_CANCELLED";
}
Kt.prototype = Object.create(Error.prototype);
function qt(e, t) {
	return e == null ? !1 : t === void 0 ? Q(e) || !!e[y] || re(e) || St(e) || tt(e) : Q(e) ? e[y].values.has(t) : !1;
}
function Jt(e) {
	return arguments.length !== 1 && i(!1), qt(e);
}
function Yt(e) {
	return Q(e) ? e[y].getKeys() : X(e) || Z(e) ? Array.from(e.keys()) : Y(e) ? e.map(function(e, t) {
		return t;
	}) : i(!1);
}
function Xt(e, t, n) {
	if (arguments.length === 2 && !Z(e)) {
		L();
		var r = t;
		try {
			for (var o in r) Xt(e, o, r[o]);
		} finally {
			R();
		}
		return;
	}
	if (Q(e)) {
		var s = e[y];
		s.values.get(t) ? s.write(t, n) : s.addObservableProp(t, n, s.defaultEnhancer);
	} else if (X(e)) e.set(t, n);
	else if (Z(e)) e.add(t);
	else if (Y(e)) typeof t != "number" && (t = parseInt(t, 10)), a(t >= 0, "Not a valid index: '" + t + "'"), L(), t >= e.length && (e.length = t + 1), e[t] = n, R();
	else return i(!1);
}
var Zt = {
	detectCycles: !0,
	exportMapsAsObjects: !0,
	recurseEverything: !1
};
function B(e, t, n, r) {
	return r.detectCycles && e.set(t, n), n;
}
function V(e, t, n) {
	if (!t.recurseEverything && !Jt(e) || typeof e != "object") return e;
	if (e === null) return null;
	if (e instanceof Date) return e;
	if (et(e)) return V(e.get(), t, n);
	if (Jt(e) && Yt(e), t.detectCycles === !0 && e !== null && n.has(e)) return n.get(e);
	if (Y(e) || Array.isArray(e)) {
		var r = B(n, e, [], t), i = e.map(function(e) {
			return V(e, t, n);
		});
		r.length = i.length;
		for (var a = 0, o = i.length; a < o; a++) r[a] = i[a];
		return r;
	}
	if (Z(e) || Object.getPrototypeOf(e) === Set.prototype) if (t.exportMapsAsObjects === !1) {
		var s = B(n, e, /* @__PURE__ */ new Set(), t);
		return e.forEach(function(e) {
			s.add(V(e, t, n));
		}), s;
	} else {
		var c = B(n, e, [], t);
		return e.forEach(function(e) {
			c.push(V(e, t, n));
		}), c;
	}
	if (X(e) || Object.getPrototypeOf(e) === Map.prototype) if (t.exportMapsAsObjects === !1) {
		var l = B(n, e, /* @__PURE__ */ new Map(), t);
		return e.forEach(function(e, r) {
			l.set(r, V(e, t, n));
		}), l;
	} else {
		var u = B(n, e, {}, t);
		return e.forEach(function(e, r) {
			u[r] = V(e, t, n);
		}), u;
	}
	var d = B(n, e, {}, t);
	return ee(e).forEach(function(r) {
		d[r] = V(e[r], t, n);
	}), d;
}
function Qt(e, t) {
	typeof t == "boolean" && (t = { detectCycles: t }), t || (t = Zt), t.detectCycles = t.detectCycles === void 0 ? t.recurseEverything === !0 : t.detectCycles === !0;
	var n;
	return t.detectCycles && (n = /* @__PURE__ */ new Map()), V(e, t, n);
}
function $t() {
	var e = [...arguments], t = !1;
	typeof e[e.length - 1] == "boolean" && (t = e.pop());
	var n = en(e);
	if (!n) return i(!1);
	n.isTracing === k.NONE && console.log("[mobx.trace] '" + n.name + "' tracing enabled"), n.isTracing = t ? k.BREAK : k.LOG;
}
function en(e) {
	switch (e.length) {
		case 0: return I.trackingDerivation;
		case 1: return $(e[0]);
		case 2: return $(e[0], e[1]);
	}
}
function H(e, t) {
	t === void 0 && (t = void 0), L();
	try {
		return e.apply(t);
	} finally {
		R();
	}
}
function tn(e, t, n) {
	return arguments.length === 1 || t && typeof t == "object" ? rn(e, t) : nn(e, t, n || {});
}
function nn(e, t, n) {
	var i;
	typeof n.timeout == "number" && (i = setTimeout(function() {
		if (!o[y].isDisposed) {
			o();
			var e = /* @__PURE__ */ Error("WHEN_TIMEOUT");
			if (n.onError) n.onError(e);
			else throw e;
		}
	}, n.timeout)), n.name = n.name || "When@" + r();
	var a = N(n.name + "-effect", t), o = Mt(function(t) {
		e() && (t.dispose(), i && clearTimeout(i), a());
	}, n);
	return o;
}
function rn(e, t) {
	var n, r = new Promise(function(r, i) {
		var a = nn(e, r, S(S({}, t), { onError: i }));
		n = function() {
			a(), i("WHEN_CANCELLED");
		};
	});
	return r.cancel = n, r;
}
function an(e) {
	return e[y];
}
function on(e) {
	return typeof e == "string" || typeof e == "number" || typeof e == "symbol";
}
var sn = {
	has: function(e, t) {
		if (t === y || t === "constructor" || t === fe) return !0;
		var n = an(e);
		return on(t) ? n.has(t) : t in e;
	},
	get: function(e, t) {
		if (t === y || t === "constructor" || t === fe) return e[t];
		var n = an(e), r = n.values.get(t);
		if (r instanceof b) {
			var i = r.get();
			return i === void 0 && n.has(t), i;
		}
		return on(t) && n.has(t), e[t];
	},
	set: function(e, t, n) {
		return on(t) ? (Xt(e, t, n), !0) : !1;
	},
	deleteProperty: function(e, t) {
		return on(t) ? (an(e).remove(t), !0) : !1;
	},
	ownKeys: function(e) {
		return an(e).keysAtom.reportObserved(), Reflect.ownKeys(e);
	},
	preventExtensions: function(e) {
		return i("Dynamic observable objects cannot be frozen"), !1;
	}
};
function cn(e) {
	var t = new Proxy(e, sn);
	return e[y].proxy = t, t;
}
function U(e) {
	return e.interceptors !== void 0 && e.interceptors.length > 0;
}
function ln(e, t) {
	var n = e.interceptors || (e.interceptors = []);
	return n.push(t), o(function() {
		var e = n.indexOf(t);
		e !== -1 && n.splice(e, 1);
	});
}
function W(e, t) {
	var n = j();
	try {
		for (var r = de(e.interceptors || []), i = 0, o = r.length; i < o && (t = r[i](t), a(!t || t.type, "Intercept handlers should return nothing or a change object"), t); i++);
		return t;
	} finally {
		M(n);
	}
}
function G(e) {
	return e.changeListeners !== void 0 && e.changeListeners.length > 0;
}
function K(e, t) {
	var n = e.changeListeners || (e.changeListeners = []);
	return n.push(t), o(function() {
		var e = n.indexOf(t);
		e !== -1 && n.splice(e, 1);
	});
}
function q(e, t) {
	var n = j(), r = e.changeListeners;
	if (r) {
		r = r.slice();
		for (var i = 0, a = r.length; i < a; i++) r[i](t);
		M(n);
	}
}
var un = 1e4, dn = {
	get: function(e, t) {
		return t === y ? e[y] : t === "length" ? e[y].getArrayLength() : typeof t == "number" ? J.get.call(e, t) : typeof t == "string" && !isNaN(t) ? J.get.call(e, parseInt(t)) : J.hasOwnProperty(t) ? J[t] : e[t];
	},
	set: function(e, t, n) {
		return t === "length" && e[y].setArrayLength(n), typeof t == "number" && J.set.call(e, t, n), typeof t == "symbol" || isNaN(t) ? e[t] = n : J.set.call(e, parseInt(t), n), !0;
	},
	preventExtensions: function(e) {
		return i("Observable arrays cannot be frozen"), !1;
	}
};
function fn(e, t, n, i) {
	n === void 0 && (n = "ObservableArray@" + r()), i === void 0 && (i = !1);
	var a = new pn(n, t, i);
	p(a.values, y, a);
	var o = new Proxy(a.values, dn);
	if (a.proxy = o, e && e.length) {
		var s = Qe(!0);
		a.spliceWithArray(0, 0, e), $e(s);
	}
	return o;
}
var pn = function() {
	function e(e, t, n) {
		this.owned = n, this.values = [], this.proxy = void 0, this.lastKnownLength = 0, this.atom = new b(e || "ObservableArray@" + r()), this.enhancer = function(n, r) {
			return t(n, r, e + "[..]");
		};
	}
	return e.prototype.dehanceValue = function(e) {
		return this.dehancer === void 0 ? e : this.dehancer(e);
	}, e.prototype.dehanceValues = function(e) {
		return this.dehancer !== void 0 && e.length > 0 ? e.map(this.dehancer) : e;
	}, e.prototype.intercept = function(e) {
		return ln(this, e);
	}, e.prototype.observe = function(e, t) {
		return t === void 0 && (t = !1), t && e({
			object: this.proxy,
			type: "splice",
			index: 0,
			added: this.values.slice(),
			addedCount: this.values.length,
			removed: [],
			removedCount: 0
		}), K(this, e);
	}, e.prototype.getArrayLength = function() {
		return this.atom.reportObserved(), this.values.length;
	}, e.prototype.setArrayLength = function(e) {
		if (typeof e != "number" || e < 0) throw Error("[mobx.array] Out of range: " + e);
		var t = this.values.length;
		if (e !== t) if (e > t) {
			for (var n = Array(e - t), r = 0; r < e - t; r++) n[r] = void 0;
			this.spliceWithArray(t, 0, n);
		} else this.spliceWithArray(e, t - e);
	}, e.prototype.updateArrayLength = function(e, t) {
		if (e !== this.lastKnownLength) throw Error("[mobx] Modification exception: the internal structure of an observable array was changed.");
		this.lastKnownLength += t;
	}, e.prototype.spliceWithArray = function(e, n, r) {
		var i = this;
		A(this.atom);
		var a = this.values.length;
		if (e === void 0 ? e = 0 : e > a ? e = a : e < 0 && (e = Math.max(0, a + e)), n = arguments.length === 1 ? a - e : n == null ? 0 : Math.max(0, Math.min(n, a - e)), r === void 0 && (r = t), U(this)) {
			var o = W(this, {
				object: this.proxy,
				type: "splice",
				index: e,
				removedCount: n,
				added: r
			});
			if (!o) return t;
			n = o.removedCount, r = o.added;
		}
		r = r.length === 0 ? r : r.map(function(e) {
			return i.enhancer(e, void 0);
		});
		var s = this.spliceItemsIntoValues(e, n, r);
		return (n !== 0 || r.length !== 0) && this.notifyArraySplice(e, r, s), this.dehanceValues(s);
	}, e.prototype.spliceItemsIntoValues = function(e, t, n) {
		var r;
		if (n.length < un) return (r = this.values).splice.apply(r, de([e, t], n));
		var i = this.values.slice(e, e + t);
		return this.values = this.values.slice(0, e).concat(n, this.values.slice(e + t)), i;
	}, e.prototype.notifyArrayChildUpdate = function(e, t, n) {
		var r = !this.owned && z(), i = G(this), a = i || r ? {
			object: this.proxy,
			type: "update",
			index: e,
			newValue: t,
			oldValue: n
		} : null;
		this.atom.reportChanged(), i && q(this, a);
	}, e.prototype.notifyArraySplice = function(e, t, n) {
		var r = !this.owned && z(), i = G(this), a = i || r ? {
			object: this.proxy,
			type: "splice",
			index: e,
			removed: n,
			added: t,
			removedCount: n.length,
			addedCount: t.length
		} : null;
		this.atom.reportChanged(), i && q(this, a);
	}, e;
}(), J = {
	intercept: function(e) {
		return this[y].intercept(e);
	},
	observe: function(e, t) {
		return t === void 0 && (t = !1), this[y].observe(e, t);
	},
	clear: function() {
		return this.splice(0);
	},
	replace: function(e) {
		var t = this[y];
		return t.spliceWithArray(0, t.values.length, e);
	},
	toJS: function() {
		return this.slice();
	},
	toJSON: function() {
		return this.toJS();
	},
	splice: function(e, t) {
		var n = [...arguments].slice(2), r = this[y];
		switch (arguments.length) {
			case 0: return [];
			case 1: return r.spliceWithArray(e);
			case 2: return r.spliceWithArray(e, t);
		}
		return r.spliceWithArray(e, t, n);
	},
	spliceWithArray: function(e, t, n) {
		return this[y].spliceWithArray(e, t, n);
	},
	push: function() {
		var e = [...arguments], t = this[y];
		return t.spliceWithArray(t.values.length, 0, e), t.values.length;
	},
	pop: function() {
		return this.splice(Math.max(this[y].values.length - 1, 0), 1)[0];
	},
	shift: function() {
		return this.splice(0, 1)[0];
	},
	unshift: function() {
		var e = [...arguments], t = this[y];
		return t.spliceWithArray(0, 0, e), t.values.length;
	},
	reverse: function() {
		var e = this.slice();
		return e.reverse.apply(e, arguments);
	},
	sort: function(e) {
		var t = this.slice();
		return t.sort.apply(t, arguments);
	},
	remove: function(e) {
		var t = this[y], n = t.dehanceValues(t.values).indexOf(e);
		return n > -1 ? (this.splice(n, 1), !0) : !1;
	},
	get: function(e) {
		var t = this[y];
		if (t) {
			if (e < t.values.length) return t.atom.reportObserved(), t.dehanceValue(t.values[e]);
			console.warn("[mobx.array] Attempt to read an array index (" + e + ") that is out of bounds (" + t.values.length + "). Please check length first. Out of bound indices will not be tracked by MobX");
		}
	},
	set: function(e, t) {
		var n = this[y], r = n.values;
		if (e < r.length) {
			A(n.atom);
			var i = r[e];
			if (U(n)) {
				var a = W(n, {
					type: "update",
					object: n.proxy,
					index: e,
					newValue: t
				});
				if (!a) return;
				t = a.newValue;
			}
			t = n.enhancer(t, i), t !== i && (r[e] = t, n.notifyArrayChildUpdate(e, t, i));
		} else if (e === r.length) n.spliceWithArray(e, 0, [t]);
		else throw Error("[mobx.array] Index out of bounds, " + e + " is larger than " + r.length);
	}
};
[
	"concat",
	"flat",
	"includes",
	"indexOf",
	"join",
	"lastIndexOf",
	"slice",
	"toString",
	"toLocaleString"
].forEach(function(e) {
	typeof Array.prototype[e] == "function" && (J[e] = function() {
		var t = this[y];
		t.atom.reportObserved();
		var n = t.dehanceValues(t.values);
		return n[e].apply(n, arguments);
	});
}), [
	"every",
	"filter",
	"find",
	"findIndex",
	"flatMap",
	"forEach",
	"map",
	"some"
].forEach(function(e) {
	typeof Array.prototype[e] == "function" && (J[e] = function(t, n) {
		var r = this, i = this[y];
		return i.atom.reportObserved(), i.dehanceValues(i.values)[e](function(e, i) {
			return t.call(n, e, i, r);
		}, n);
	});
}), ["reduce", "reduceRight"].forEach(function(e) {
	J[e] = function() {
		var t = this, n = this[y];
		n.atom.reportObserved();
		var r = arguments[0];
		return arguments[0] = function(e, i, a) {
			return i = n.dehanceValue(i), r(e, i, a, t);
		}, n.values[e].apply(n.values, arguments);
	};
});
var mn = h("ObservableArrayAdministration", pn);
function Y(e) {
	return l(e) && mn(e[y]);
}
var hn, gn = {}, _n = function() {
	function e(e, t, n) {
		if (t === void 0 && (t = ye), n === void 0 && (n = "ObservableMap@" + r()), this.enhancer = t, this.name = n, this[hn] = gn, this._keysAtom = ie(this.name + ".keys()"), this[Symbol.toStringTag] = "Map", typeof Map != "function") throw Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");
		this._data = /* @__PURE__ */ new Map(), this._hasMap = /* @__PURE__ */ new Map(), this.merge(e);
	}
	return e.prototype._has = function(e) {
		return this._data.has(e);
	}, e.prototype.has = function(e) {
		var t = this;
		if (!I.trackingDerivation) return this._has(e);
		var n = this._hasMap.get(e);
		if (!n) {
			var r = n = new P(this._has(e), xe, this.name + "." + v(e) + "?", !1);
			this._hasMap.set(e, r), Rt(r, function() {
				return t._hasMap.delete(e);
			});
		}
		return n.get();
	}, e.prototype.set = function(e, t) {
		var n = this._has(e);
		if (U(this)) {
			var r = W(this, {
				type: n ? "update" : "add",
				object: this,
				newValue: t,
				name: e
			});
			if (!r) return this;
			t = r.newValue;
		}
		return n ? this._updateValue(e, t) : this._addValue(e, t), this;
	}, e.prototype.delete = function(e) {
		var t = this;
		if (A(this._keysAtom), U(this)) {
			var n = W(this, {
				type: "delete",
				object: this,
				name: e
			});
			if (!n) return !1;
		}
		if (this._has(e)) {
			var r = z(), i = G(this), n = i || r ? {
				type: "delete",
				object: this,
				oldValue: this._data.get(e).value,
				name: e
			} : null;
			return H(function() {
				t._keysAtom.reportChanged(), t._updateHasMapEntry(e, !1), t._data.get(e).setNewValue(void 0), t._data.delete(e);
			}), i && q(this, n), !0;
		}
		return !1;
	}, e.prototype._updateHasMapEntry = function(e, t) {
		var n = this._hasMap.get(e);
		n && n.setNewValue(t);
	}, e.prototype._updateValue = function(e, t) {
		var n = this._data.get(e);
		if (t = n.prepareNewValue(t), t !== I.UNCHANGED) {
			var r = z(), i = G(this), a = i || r ? {
				type: "update",
				object: this,
				oldValue: n.value,
				name: e,
				newValue: t
			} : null;
			n.setNewValue(t), i && q(this, a);
		}
	}, e.prototype._addValue = function(e, t) {
		var n = this;
		A(this._keysAtom), H(function() {
			var r = new P(t, n.enhancer, n.name + "." + v(e), !1);
			n._data.set(e, r), t = r.value, n._updateHasMapEntry(e, !0), n._keysAtom.reportChanged();
		});
		var r = z(), i = G(this), a = i || r ? {
			type: "add",
			object: this,
			name: e,
			newValue: t
		} : null;
		i && q(this, a);
	}, e.prototype.get = function(e) {
		return this.has(e) ? this.dehanceValue(this._data.get(e).get()) : this.dehanceValue(void 0);
	}, e.prototype.dehanceValue = function(e) {
		return this.dehancer === void 0 ? e : this.dehancer(e);
	}, e.prototype.keys = function() {
		return this._keysAtom.reportObserved(), this._data.keys();
	}, e.prototype.values = function() {
		var e = this, t = this.keys();
		return In({ next: function() {
			var n = t.next(), r = n.done, i = n.value;
			return {
				done: r,
				value: r ? void 0 : e.get(i)
			};
		} });
	}, e.prototype.entries = function() {
		var e = this, t = this.keys();
		return In({ next: function() {
			var n = t.next(), r = n.done, i = n.value;
			return {
				done: r,
				value: r ? void 0 : [i, e.get(i)]
			};
		} });
	}, e.prototype[hn = y, Symbol.iterator] = function() {
		return this.entries();
	}, e.prototype.forEach = function(e, t) {
		var n, r;
		try {
			for (var i = C(this), a = i.next(); !a.done; a = i.next()) {
				var o = w(a.value, 2), s = o[0], c = o[1];
				e.call(t, c, s, this);
			}
		} catch (e) {
			n = { error: e };
		} finally {
			try {
				a && !a.done && (r = i.return) && r.call(i);
			} finally {
				if (n) throw n.error;
			}
		}
	}, e.prototype.merge = function(e) {
		var t = this;
		return X(e) && (e = e.toJS()), H(function() {
			var n = Qe(!0);
			try {
				u(e) ? ee(e).forEach(function(n) {
					return t.set(n, e[n]);
				}) : Array.isArray(e) ? e.forEach(function(e) {
					var n = w(e, 2), r = n[0], i = n[1];
					return t.set(r, i);
				}) : g(e) ? (e.constructor !== Map && i("Cannot initialize from classes that inherit from Map: " + e.constructor.name), e.forEach(function(e, n) {
					return t.set(n, e);
				})) : e != null && i("Cannot initialize map from " + e);
			} finally {
				$e(n);
			}
		}), this;
	}, e.prototype.clear = function() {
		var e = this;
		H(function() {
			He(function() {
				var t, n;
				try {
					for (var r = C(e.keys()), i = r.next(); !i.done; i = r.next()) {
						var a = i.value;
						e.delete(a);
					}
				} catch (e) {
					t = { error: e };
				} finally {
					try {
						i && !i.done && (n = r.return) && n.call(r);
					} finally {
						if (t) throw t.error;
					}
				}
			});
		});
	}, e.prototype.replace = function(e) {
		var t = this;
		return H(function() {
			var n, r, i, a, o = d(e), s = /* @__PURE__ */ new Map(), c = !1;
			try {
				for (var l = C(t._data.keys()), u = l.next(); !u.done; u = l.next()) {
					var f = u.value;
					if (!o.has(f)) if (t.delete(f)) c = !0;
					else {
						var p = t._data.get(f);
						s.set(f, p);
					}
				}
			} catch (e) {
				n = { error: e };
			} finally {
				try {
					u && !u.done && (r = l.return) && r.call(l);
				} finally {
					if (n) throw n.error;
				}
			}
			try {
				for (var m = C(o.entries()), h = m.next(); !h.done; h = m.next()) {
					var g = w(h.value, 2), f = g[0], p = g[1], _ = t._data.has(f);
					if (t.set(f, p), t._data.has(f)) {
						var ee = t._data.get(f);
						s.set(f, ee), _ || (c = !0);
					}
				}
			} catch (e) {
				i = { error: e };
			} finally {
				try {
					h && !h.done && (a = m.return) && a.call(m);
				} finally {
					if (i) throw i.error;
				}
			}
			if (!c) if (t._data.size !== s.size) t._keysAtom.reportChanged();
			else for (var v = t._data.keys(), te = s.keys(), ne = v.next(), y = te.next(); !ne.done;) {
				if (ne.value !== y.value) {
					t._keysAtom.reportChanged();
					break;
				}
				ne = v.next(), y = te.next();
			}
			t._data = s;
		}), this;
	}, Object.defineProperty(e.prototype, "size", {
		get: function() {
			return this._keysAtom.reportObserved(), this._data.size;
		},
		enumerable: !0,
		configurable: !0
	}), e.prototype.toPOJO = function() {
		var e, t, n = {};
		try {
			for (var r = C(this), i = r.next(); !i.done; i = r.next()) {
				var a = w(i.value, 2), o = a[0], s = a[1];
				n[typeof o == "symbol" ? o : v(o)] = s;
			}
		} catch (t) {
			e = { error: t };
		} finally {
			try {
				i && !i.done && (t = r.return) && t.call(r);
			} finally {
				if (e) throw e.error;
			}
		}
		return n;
	}, e.prototype.toJS = function() {
		return new Map(this);
	}, e.prototype.toJSON = function() {
		return this.toPOJO();
	}, e.prototype.toString = function() {
		var e = this;
		return this.name + "[{ " + Array.from(this.keys()).map(function(t) {
			return v(t) + ": " + ("" + e.get(t));
		}).join(", ") + " }]";
	}, e.prototype.observe = function(e, t) {
		return K(this, e);
	}, e.prototype.intercept = function(e) {
		return ln(this, e);
	}, e;
}(), X = h("ObservableMap", _n), vn, yn = {}, bn = function() {
	function e(e, t, n) {
		if (t === void 0 && (t = ye), n === void 0 && (n = "ObservableSet@" + r()), this.name = n, this[vn] = yn, this._data = /* @__PURE__ */ new Set(), this._atom = ie(this.name), this[Symbol.toStringTag] = "Set", typeof Set != "function") throw Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");
		this.enhancer = function(e, r) {
			return t(e, r, n);
		}, e && this.replace(e);
	}
	return e.prototype.dehanceValue = function(e) {
		return this.dehancer === void 0 ? e : this.dehancer(e);
	}, e.prototype.clear = function() {
		var e = this;
		H(function() {
			He(function() {
				var t, n;
				try {
					for (var r = C(e._data.values()), i = r.next(); !i.done; i = r.next()) {
						var a = i.value;
						e.delete(a);
					}
				} catch (e) {
					t = { error: e };
				} finally {
					try {
						i && !i.done && (n = r.return) && n.call(r);
					} finally {
						if (t) throw t.error;
					}
				}
			});
		});
	}, e.prototype.forEach = function(e, t) {
		var n, r;
		try {
			for (var i = C(this), a = i.next(); !a.done; a = i.next()) {
				var o = a.value;
				e.call(t, o, o, this);
			}
		} catch (e) {
			n = { error: e };
		} finally {
			try {
				a && !a.done && (r = i.return) && r.call(i);
			} finally {
				if (n) throw n.error;
			}
		}
	}, Object.defineProperty(e.prototype, "size", {
		get: function() {
			return this._atom.reportObserved(), this._data.size;
		},
		enumerable: !0,
		configurable: !0
	}), e.prototype.add = function(e) {
		var t = this;
		if (A(this._atom), U(this)) {
			var n = W(this, {
				type: "add",
				object: this,
				newValue: e
			});
			if (!n) return this;
		}
		if (!this.has(e)) {
			H(function() {
				t._data.add(t.enhancer(e, void 0)), t._atom.reportChanged();
			});
			var r = z(), i = G(this), n = i || r ? {
				type: "add",
				object: this,
				newValue: e
			} : null;
			i && q(this, n);
		}
		return this;
	}, e.prototype.delete = function(e) {
		var t = this;
		if (U(this)) {
			var n = W(this, {
				type: "delete",
				object: this,
				oldValue: e
			});
			if (!n) return !1;
		}
		if (this.has(e)) {
			var r = z(), i = G(this), n = i || r ? {
				type: "delete",
				object: this,
				oldValue: e
			} : null;
			return H(function() {
				t._atom.reportChanged(), t._data.delete(e);
			}), i && q(this, n), !0;
		}
		return !1;
	}, e.prototype.has = function(e) {
		return this._atom.reportObserved(), this._data.has(this.dehanceValue(e));
	}, e.prototype.entries = function() {
		var e = 0, t = Array.from(this.keys()), n = Array.from(this.values());
		return In({ next: function() {
			var r = e;
			return e += 1, r < n.length ? {
				value: [t[r], n[r]],
				done: !1
			} : { done: !0 };
		} });
	}, e.prototype.keys = function() {
		return this.values();
	}, e.prototype.values = function() {
		this._atom.reportObserved();
		var e = this, t = 0, n = Array.from(this._data.values());
		return In({ next: function() {
			return t < n.length ? {
				value: e.dehanceValue(n[t++]),
				done: !1
			} : { done: !0 };
		} });
	}, e.prototype.replace = function(e) {
		var t = this;
		return Z(e) && (e = e.toJS()), H(function() {
			var n = Qe(!0);
			try {
				Array.isArray(e) || _(e) ? (t.clear(), e.forEach(function(e) {
					return t.add(e);
				})) : e != null && i("Cannot initialize set from " + e);
			} finally {
				$e(n);
			}
		}), this;
	}, e.prototype.observe = function(e, t) {
		return K(this, e);
	}, e.prototype.intercept = function(e) {
		return ln(this, e);
	}, e.prototype.toJS = function() {
		return new Set(this);
	}, e.prototype.toString = function() {
		return this.name + "[ " + Array.from(this).join(", ") + " ]";
	}, e.prototype[vn = y, Symbol.iterator] = function() {
		return this.values();
	}, e;
}(), Z = h("ObservableSet", bn), xn = function() {
	function e(e, t, n, r) {
		t === void 0 && (t = /* @__PURE__ */ new Map()), this.target = e, this.values = t, this.name = n, this.defaultEnhancer = r, this.keysAtom = new b(n + ".keys");
	}
	return e.prototype.read = function(e) {
		return this.values.get(e).get();
	}, e.prototype.write = function(e, t) {
		var n = this.target, r = this.values.get(e);
		if (r instanceof F) {
			r.set(t);
			return;
		}
		if (U(this)) {
			var i = W(this, {
				type: "update",
				object: this.proxy || n,
				name: e,
				newValue: t
			});
			if (!i) return;
			t = i.newValue;
		}
		if (t = r.prepareNewValue(t), t !== I.UNCHANGED) {
			var a = G(this), o = z(), i = a || o ? {
				type: "update",
				object: this.proxy || n,
				oldValue: r.value,
				name: e,
				newValue: t
			} : null;
			r.setNewValue(t), a && q(this, i);
		}
	}, e.prototype.has = function(e) {
		var t = this.pendingKeys || (this.pendingKeys = /* @__PURE__ */ new Map()), n = t.get(e);
		return n ? n.get() : (n = new P(!!this.values.get(e), xe, this.name + "." + v(e) + "?", !1), t.set(e, n), n.get());
	}, e.prototype.addObservableProp = function(e, t, n) {
		n === void 0 && (n = this.defaultEnhancer);
		var r = this.target;
		if (U(this)) {
			var i = W(this, {
				object: this.proxy || r,
				name: e,
				type: "add",
				newValue: t
			});
			if (!i) return;
			t = i.newValue;
		}
		var a = new P(t, n, this.name + "." + v(e), !1);
		this.values.set(e, a), t = a.value, Object.defineProperty(r, e, Tn(e)), this.notifyPropertyAddition(e, t);
	}, e.prototype.addComputedProp = function(e, t, n) {
		var r = this.target;
		n.name = n.name || this.name + "." + v(t), this.values.set(t, new F(n)), (e === r || m(e, t)) && Object.defineProperty(e, t, Dn(t));
	}, e.prototype.remove = function(e) {
		if (this.values.has(e)) {
			var t = this.target;
			if (U(this)) {
				var n = W(this, {
					object: this.proxy || t,
					name: e,
					type: "remove"
				});
				if (!n) return;
			}
			try {
				L();
				var r = G(this), i = z(), a = this.values.get(e), o = a && a.get();
				if (a && a.set(void 0), this.keysAtom.reportChanged(), this.values.delete(e), this.pendingKeys) {
					var s = this.pendingKeys.get(e);
					s && s.set(!1);
				}
				delete this.target[e];
				var n = r || i ? {
					type: "remove",
					object: this.proxy || t,
					oldValue: o,
					name: e
				} : null;
				r && q(this, n);
			} finally {
				R();
			}
		}
	}, e.prototype.illegalAccess = function(e, t) {
		console.warn("Property '" + t + "' of '" + e + "' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner");
	}, e.prototype.observe = function(e, t) {
		return K(this, e);
	}, e.prototype.intercept = function(e) {
		return ln(this, e);
	}, e.prototype.notifyPropertyAddition = function(e, t) {
		var n = G(this), r = z(), i = n || r ? {
			type: "add",
			object: this.proxy || this.target,
			name: e,
			newValue: t
		} : null;
		if (n && q(this, i), this.pendingKeys) {
			var a = this.pendingKeys.get(e);
			a && a.set(!0);
		}
		this.keysAtom.reportChanged();
	}, e.prototype.getKeys = function() {
		var e, t;
		this.keysAtom.reportObserved();
		var n = [];
		try {
			for (var r = C(this.values), i = r.next(); !i.done; i = r.next()) {
				var a = w(i.value, 2), o = a[0];
				a[1] instanceof P && n.push(o);
			}
		} catch (t) {
			e = { error: t };
		} finally {
			try {
				i && !i.done && (t = r.return) && t.call(r);
			} finally {
				if (e) throw e.error;
			}
		}
		return n;
	}, e;
}();
function Sn(e, t, n) {
	if (t === void 0 && (t = ""), n === void 0 && (n = ye), Object.prototype.hasOwnProperty.call(e, y)) return e[y];
	u(e) || (t = (e.constructor.name || "ObservableObject") + "@" + r()), t || (t = "ObservableObject@" + r());
	var i = new xn(e, /* @__PURE__ */ new Map(), v(t), n);
	return f(e, y, i), i;
}
var Cn = Object.create(null), wn = Object.create(null);
function Tn(e) {
	return Cn[e] || (Cn[e] = {
		configurable: !0,
		enumerable: !0,
		get: function() {
			return this[y].read(e);
		},
		set: function(t) {
			this[y].write(e, t);
		}
	});
}
function En(e) {
	return e[y] || (T(e), e[y]);
}
function Dn(e) {
	return wn[e] || (wn[e] = {
		configurable: I.computedConfigurable,
		enumerable: !1,
		get: function() {
			return En(this).read(e);
		},
		set: function(t) {
			En(this).write(e, t);
		}
	});
}
var On = h("ObservableObjectAdministration", xn);
function Q(e) {
	return l(e) ? (T(e), On(e[y])) : !1;
}
function $(e, t) {
	if (typeof e == "object" && e) {
		if (Y(e)) return t !== void 0 && i(!1), e[y].atom;
		if (Z(e)) return e[y];
		if (X(e)) {
			var n = e;
			if (t === void 0) return n._keysAtom;
			var r = n._data.get(t) || n._hasMap.get(t);
			return r || i(!1), r;
		}
		if (T(e), t && !e[y] && e[t], Q(e)) {
			if (!t) return i(!1);
			var r = e[y].values.get(t);
			return r || i(!1), r;
		}
		if (re(e) || tt(e) || St(e)) return e;
	} else if (typeof e == "function" && St(e[y])) return e[y];
	return i(!1);
}
function kn(e, t) {
	if (e || i("Expecting some object"), t !== void 0) return kn($(e, t));
	if (re(e) || tt(e) || St(e) || X(e) || Z(e)) return e;
	if (T(e), e[y]) return e[y];
	i(!1);
}
function An(e, t) {
	return (t === void 0 ? Q(e) || X(e) || Z(e) ? kn(e) : $(e) : $(e, t)).name;
}
var jn = Object.prototype.toString;
function Mn(e, t, n) {
	return n === void 0 && (n = -1), Nn(e, t, n);
}
function Nn(e, t, n, r, i) {
	if (e === t) return e !== 0 || 1 / e == 1 / t;
	if (e == null || t == null) return !1;
	if (e !== e) return t !== t;
	var a = typeof e;
	if (a !== "function" && a !== "object" && typeof t != "object") return !1;
	var o = jn.call(e);
	if (o !== jn.call(t)) return !1;
	switch (o) {
		case "[object RegExp]":
		case "[object String]": return "" + e == "" + t;
		case "[object Number]": return +e == +e ? +e == 0 ? 1 / e == 1 / t : +e == +t : +t != +t;
		case "[object Date]":
		case "[object Boolean]": return +e == +t;
		case "[object Symbol]": return typeof Symbol < "u" && Symbol.valueOf.call(e) === Symbol.valueOf.call(t);
		case "[object Map]":
		case "[object Set]":
			n >= 0 && n++;
			break;
	}
	e = Pn(e), t = Pn(t);
	var s = o === "[object Array]";
	if (!s) {
		if (typeof e != "object" || typeof t != "object") return !1;
		var c = e.constructor, l = t.constructor;
		if (c !== l && !(typeof c == "function" && c instanceof c && typeof l == "function" && l instanceof l) && "constructor" in e && "constructor" in t) return !1;
	}
	if (n === 0) return !1;
	n < 0 && (n = -1), r = r || [], i = i || [];
	for (var u = r.length; u--;) if (r[u] === e) return i[u] === t;
	if (r.push(e), i.push(t), s) {
		if (u = e.length, u !== t.length) return !1;
		for (; u--;) if (!Nn(e[u], t[u], n - 1, r, i)) return !1;
	} else {
		var d = Object.keys(e), f = void 0;
		if (u = d.length, Object.keys(t).length !== u) return !1;
		for (; u--;) if (f = d[u], !(Fn(t, f) && Nn(e[f], t[f], n - 1, r, i))) return !1;
	}
	return r.pop(), i.pop(), !0;
}
function Pn(e) {
	return Y(e) ? e.slice() : g(e) || X(e) || _(e) || Z(e) ? Array.from(e.entries()) : e;
}
function Fn(e, t) {
	return Object.prototype.hasOwnProperty.call(e, t);
}
function In(e) {
	return e[Symbol.iterator] = Ln, e;
}
function Ln() {
	return this;
}
if (typeof Proxy > "u" || typeof Symbol > "u") throw Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");
(function() {
	function e() {}
	e.name;
})(), typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
	spy: wt,
	extras: { getDebugName: An },
	$mobx: y
});
//#endregion
export { Fe as a, D as c, wt as d, Qt as f, tn as h, x as i, Ft as l, He as m, kt as n, Bt as o, H as p, Mt as r, Wt as s, _t as t, At as u };