@expofp/floorplan 3.7.12 → 3.7.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{Button-Dp-1wfLj.js → Button-BlzgdaWd.js} +6 -6
- package/dist/browser/{CookieConsent-UbVPNP_g.js → CookieConsent-Di3V-X8h.js} +7 -7
- package/dist/browser/{Debug-IpaJ3D5l.js → Debug-BZlyUFmc.js} +7 -7
- package/dist/browser/{Demo-BRmtcFaU.js → Demo-DUydgsB3.js} +9 -9
- package/dist/browser/{Free-DhkFj4AI.js → Free-DIA1EMLc.js} +9 -9
- package/dist/browser/{Gallery-D1B1XcD0.js → Gallery-DAW4KiL1.js} +9 -9
- package/dist/browser/{GpsLoader-C3PgDGHI.js → GpsLoader--obwrc6R.js} +9 -9
- package/dist/browser/{KioskStore-CNzLKtaC.js → KioskStore-D1it61vM.js} +3 -3
- package/dist/browser/{MaplibreAdapter-BTYIiOqg.js → MaplibreAdapter-CeFT9qgH.js} +9 -9
- package/dist/browser/{Modal-DtaZZupi.js → Modal-DV0faLIJ.js} +9 -9
- package/dist/browser/{PermissionNotice-K7Q7JAxX.js → PermissionNotice-BYKQ8g6C.js} +6 -6
- package/dist/browser/{SetKioskMode-B_G87JoB.js → SetKioskMode-BAFoc2gO.js} +8 -8
- package/dist/browser/{ShowKiosk-jMUnw5gY.js → ShowKiosk-C99crvRZ.js} +10 -10
- package/dist/browser/{TouchHand-leVYUkuq.js → TouchHand-CXYsF1dT.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-CCDcquI4.js → ViewerMenuPanel-CovEly1T.js} +8 -8
- package/dist/browser/{add-debug-secret-listener-C-JR9Ndm.js → add-debug-secret-listener-DE86GG9S.js} +1 -1
- package/dist/browser/{boolean-editor-ZaLkkIhl.js → boolean-editor-BR981REO.js} +9 -9
- package/dist/browser/{bootIntercom-La1Gbr9W.js → bootIntercom-DXxrBGqX.js} +2 -2
- package/dist/browser/{browser-uRgYcK1d.js → browser-Dj_ud2c8.js} +2 -2
- package/dist/browser/bundle.json +60 -60
- package/dist/browser/{classnames-BOFL_fWL.js → classnames-CHULwF6z.js} +2 -2
- package/dist/browser/{client-Bt5XsM5t.js → client-BYVAzdi2.js} +4 -4
- package/dist/browser/{components-BYOqShlV.js → components-Cv1PB0jO.js} +37 -37
- package/dist/browser/{createWayfinding-DetDiQAF.js → createWayfinding-DLLVaTyC.js} +6 -6
- package/dist/browser/{debug-overlay-n-lupv7u.js → debug-overlay-DVvj6swk.js} +10 -10
- package/dist/browser/{debug-ui-kC5nITo4.js → debug-ui-BRRKAtZX.js} +6 -6
- package/dist/browser/{dist-DdM03Frp.js → dist-Cgb4wF19.js} +6 -6
- package/dist/browser/{dist-mddcPm2g.js → dist-Cq5tNFKw.js} +3 -3
- package/dist/browser/{dist-CrGDVpbF.js → dist-DaryAYqQ.js} +5 -5
- package/dist/browser/{efp-debug-init-BgMoMxzf.js → efp-debug-init-rwOWe1O2.js} +2 -2
- package/dist/browser/{enum-editor-BzjZBYLo.js → enum-editor-CR45JQmy.js} +11 -11
- package/dist/browser/{es5-DSGL_8Pr.js → es5-B11Vlohj.js} +2 -2
- package/dist/browser/{event-not-found-BDJhSscy.js → event-not-found-B6HELay9.js} +1 -1
- package/dist/browser/{exports-DRXpgjkZ.js → exports-CmtbTEfF.js} +1 -1
- package/dist/browser/{favicon--Rjz5XT1.js → favicon-DccoXcBC.js} +1 -1
- package/dist/browser/{fetch-retry.umd-D3bFI5MG.js → fetch-retry.umd-D4Vzbnxk.js} +2 -2
- package/dist/browser/{flex-BCKynbBJ.js → flex-AywRJbJ0.js} +5 -5
- package/dist/browser/{floorplan.loader-Dg_H5gYA.js → floorplan.loader-CCpLJDP5.js} +11 -11
- package/dist/browser/{floorplan.ready-IQiDAa_k.js → floorplan.ready-BCyer9bb.js} +12 -12
- package/dist/browser/{fuse-CkKVo9Fi.js → fuse-4HG5n72t.js} +2 -2
- package/dist/browser/{i18n-DK1Dorm1.js → i18n-MesFjGZS.js} +452 -456
- package/dist/browser/index.js +12 -12
- package/dist/browser/{is-webview-ChS7Vcfp.js → is-webview-xYscAEnc.js} +1 -1
- package/dist/browser/{jsx-runtime-CZhkgN1G.js → jsx-runtime-DqyDi4Nx.js} +2 -2
- package/dist/browser/{lib-BH3_jWHa.js → lib-DdhQwEEf.js} +4 -4
- package/dist/browser/{loadImage-yNWg6TmE.js → loadImage-pXXn1s5b.js} +4 -4
- package/dist/browser/{logDeviceInfo-Cy9P0keY.js → logDeviceInfo-B706j8QR.js} +9 -9
- package/dist/browser/{main-CaBol2LY.js → main-ESIYWzxK.js} +1 -1
- package/dist/browser/{mobx-BJ71h_AE.js → mobx-DqpkfGVc.js} +4 -4
- package/dist/browser/{particles.min-CFKXcyO6.js → particles.min-Dp5FST_O.js} +2 -2
- package/dist/browser/{prop-types-B5wpzTbC.js → prop-types-U8xivW60.js} +2 -2
- package/dist/browser/{react-DxwACvnD.js → react-XV4Fl4yE.js} +2 -2
- package/dist/browser/{react-dom--YA3ksFS.js → react-dom-BwQq19tb.js} +3 -3
- package/dist/browser/{reset-all-settings-CR2DSRYI.js → reset-all-settings-Dj65k7Ll.js} +7 -7
- package/dist/browser/{rolldown-runtime-Det1W0r9.js → rolldown-runtime-BCovGSBQ.js} +1 -1
- package/dist/browser/{settings-CWQ6DS_R.js → settings-UtDFOo_-.js} +2 -2
- package/dist/browser/{settings-item-BfFY2ner.js → settings-item-mT8oiyqT.js} +6 -6
- package/dist/browser/{store-BgkvE4Wv.js → store-r6IOs_hY.js} +12 -12
- package/dist/browser/{string-editor-G-JHYUnb.js → string-editor-BE-QdYgs.js} +7 -7
- package/dist/browser/{theme-M47O89pU.js → theme-IX3aGLRS.js} +8 -8
- package/dist/browser/{ui-B3CStk-I.js → ui-DnRltnaD.js} +8 -8
- package/dist/browser/{useRenderTarget-Dhsbyc7R.js → useRenderTarget-CF6946wD.js} +4 -4
- package/dist/esm/utils/browser.js +1 -1
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.7.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.7.13" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6f12800c-7434-48e7-8931-04ee650dac83", e._sentryDebugIdIdentifier = "sentry-dbid-6f12800c-7434-48e7-8931-04ee650dac83");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
10
|
-
import { t as n } from "./browser-
|
|
11
|
-
import { t as r } from "./es5-
|
|
9
|
+
import { r as e, t } from "./rolldown-runtime-BCovGSBQ.js";
|
|
10
|
+
import { t as n } from "./browser-Dj_ud2c8.js";
|
|
11
|
+
import { t as r } from "./es5-B11Vlohj.js";
|
|
12
12
|
//#region src/tools/logger.ts
|
|
13
13
|
var i = /* @__PURE__ */ e(n(), 1), a = class {
|
|
14
14
|
constructor() {
|
|
@@ -179,27 +179,23 @@ function Se(e, t, n) {
|
|
|
179
179
|
}
|
|
180
180
|
//#endregion
|
|
181
181
|
//#region src/utils/browser.ts
|
|
182
|
-
var Ce = /* @__PURE__ */ e(ge(), 1), we = /* @__PURE__ */ e(r(), 1), Te
|
|
183
|
-
s.log("Browser", De.getBrowserName(), De.getBrowserVersion(), De.getOSName(), (Te = De.getEngine()) == null ? void 0 : Te.name);
|
|
184
|
-
//#endregion
|
|
185
|
-
//#region src/utils/is-from-designer.ts
|
|
186
|
-
var Oe = document.referrer && (document.referrer.indexOf("app.expofp.com") > -1 || document.referrer.indexOf("app-show.expofp.com") > -1);
|
|
182
|
+
var Ce = /* @__PURE__ */ e(ge(), 1), we = /* @__PURE__ */ e(r(), 1), Te = window.navigator.userAgent, Ee = we.default.getParser(Te), De = document.referrer && (document.referrer.indexOf("app.expofp.com") > -1 || document.referrer.indexOf("app-show.expofp.com") > -1);
|
|
187
183
|
//#endregion
|
|
188
184
|
//#region src/tools/loaders.ts
|
|
189
|
-
async function
|
|
185
|
+
async function Oe(e) {
|
|
190
186
|
return await (await fetch(e, { credentials: "same-origin" })).json();
|
|
191
187
|
}
|
|
192
|
-
function
|
|
188
|
+
function ke(e, t) {
|
|
193
189
|
let n = document.createElement("link");
|
|
194
190
|
n.rel = "stylesheet", n.href = e, n.setAttribute("fetchpriority", "high"), t.appendChild(n);
|
|
195
191
|
}
|
|
196
|
-
async function
|
|
197
|
-
return e =
|
|
192
|
+
async function Ae(e) {
|
|
193
|
+
return e = De && e.indexOf("?") === -1 ? `${e}?v=${(/* @__PURE__ */ new Date()).getMilliseconds()}` : e, new Promise(function(t, n) {
|
|
198
194
|
let r = document.createElement("script");
|
|
199
|
-
r.src =
|
|
195
|
+
r.src = Pe(e), r.setAttribute("fetchpriority", "high"), r.onload = t, r.onerror = t, s.log("Injecting script:", r.src), document.head.appendChild(r);
|
|
200
196
|
});
|
|
201
197
|
}
|
|
202
|
-
async function
|
|
198
|
+
async function je(e, t, n) {
|
|
203
199
|
var r;
|
|
204
200
|
n = {
|
|
205
201
|
style: "normal",
|
|
@@ -207,8 +203,8 @@ async function Me(e, t, n) {
|
|
|
207
203
|
...n || {}
|
|
208
204
|
};
|
|
209
205
|
let i = `url("${t}")`;
|
|
210
|
-
if (!window.FontFace) return e.startsWith("Font Awesome") ||
|
|
211
|
-
e.indexOf(" ") !== -1 && ((r =
|
|
206
|
+
if (!window.FontFace) return e.startsWith("Font Awesome") || Me(e, i, n), Promise.resolve();
|
|
207
|
+
e.indexOf(" ") !== -1 && ((r = Ee.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
|
|
212
208
|
let a;
|
|
213
209
|
try {
|
|
214
210
|
a = new FontFace(e, i, n);
|
|
@@ -217,20 +213,20 @@ async function Me(e, t, n) {
|
|
|
217
213
|
}
|
|
218
214
|
return document.fonts.add(a), a.load();
|
|
219
215
|
}
|
|
220
|
-
function
|
|
216
|
+
function Me(e, t, n) {
|
|
221
217
|
let r = document.createElement("style");
|
|
222
218
|
r.appendChild(document.createTextNode(`@font-face { font-family: ${e}; font-weight: ${n.weight}; font-style: ${n.style}; src: ${t} format('woff2'); font-display: swap; }`)), document.head.appendChild(r);
|
|
223
219
|
let i = document.createElement("div");
|
|
224
220
|
i.setAttribute("style", `font-family: oswald; font-weight: ${n.weight}; position: fixed; left: -1000px; top: 0; visibility: hidden`), i.innerHTML = "Oswald", document.body.appendChild(i);
|
|
225
221
|
}
|
|
226
|
-
async function
|
|
222
|
+
async function Ne(e) {
|
|
227
223
|
var t;
|
|
228
224
|
let n = getComputedStyle(document.documentElement).getPropertyValue("--expofp-font-face") || ((t = e.match(/--expofp-font-face:\s*([^;]*)/)) == null ? void 0 : t[1]);
|
|
229
225
|
if (!n) return;
|
|
230
226
|
let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new Ce.default(e).load());
|
|
231
227
|
return Promise.allSettled(r);
|
|
232
228
|
}
|
|
233
|
-
function
|
|
229
|
+
function Pe(e) {
|
|
234
230
|
try {
|
|
235
231
|
let t = window.__fpDataVersion;
|
|
236
232
|
t || (t = Se().replace(/\D/g, ""));
|
|
@@ -255,7 +251,7 @@ function T(e) {
|
|
|
255
251
|
}
|
|
256
252
|
//#endregion
|
|
257
253
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
258
|
-
function
|
|
254
|
+
function Fe(e, t) {
|
|
259
255
|
if (T(e) != "object" || !e) return e;
|
|
260
256
|
var n = e[Symbol.toPrimitive];
|
|
261
257
|
if (n !== void 0) {
|
|
@@ -267,14 +263,14 @@ function Ie(e, t) {
|
|
|
267
263
|
}
|
|
268
264
|
//#endregion
|
|
269
265
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
270
|
-
function
|
|
271
|
-
var t =
|
|
266
|
+
function Ie(e) {
|
|
267
|
+
var t = Fe(e, "string");
|
|
272
268
|
return T(t) == "symbol" ? t : t + "";
|
|
273
269
|
}
|
|
274
270
|
//#endregion
|
|
275
271
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
276
|
-
function
|
|
277
|
-
return (t =
|
|
272
|
+
function Le(e, t, n) {
|
|
273
|
+
return (t = Ie(t)) in e ? Object.defineProperty(e, t, {
|
|
278
274
|
value: n,
|
|
279
275
|
enumerable: !0,
|
|
280
276
|
configurable: !0,
|
|
@@ -289,7 +285,7 @@ function E(e) {
|
|
|
289
285
|
typeof Object.getOwnPropertySymbols == "function" && r.push.apply(r, Object.getOwnPropertySymbols(n).filter(function(e) {
|
|
290
286
|
return Object.getOwnPropertyDescriptor(n, e).enumerable;
|
|
291
287
|
})), r.forEach(function(t) {
|
|
292
|
-
|
|
288
|
+
Le(e, t, n[t]);
|
|
293
289
|
});
|
|
294
290
|
}
|
|
295
291
|
return e;
|
|
@@ -301,18 +297,18 @@ function D(e, t) {
|
|
|
301
297
|
}
|
|
302
298
|
//#endregion
|
|
303
299
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
304
|
-
function
|
|
300
|
+
function Re(e, t) {
|
|
305
301
|
for (var n = 0; n < t.length; n++) {
|
|
306
302
|
var r = t[n];
|
|
307
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
303
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Ie(r.key), r);
|
|
308
304
|
}
|
|
309
305
|
}
|
|
310
306
|
function O(e, t, n) {
|
|
311
|
-
return t &&
|
|
307
|
+
return t && Re(e.prototype, t), n && Re(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
312
308
|
}
|
|
313
309
|
//#endregion
|
|
314
310
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
315
|
-
function
|
|
311
|
+
function ze(e) {
|
|
316
312
|
if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
317
313
|
return e;
|
|
318
314
|
}
|
|
@@ -321,7 +317,7 @@ function k(e) {
|
|
|
321
317
|
function Be(e, t) {
|
|
322
318
|
if (t && (T(t) == "object" || typeof t == "function")) return t;
|
|
323
319
|
if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
|
|
324
|
-
return
|
|
320
|
+
return ze(e);
|
|
325
321
|
}
|
|
326
322
|
//#endregion
|
|
327
323
|
//#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
@@ -363,7 +359,7 @@ var We = {
|
|
|
363
359
|
output: function(e, t) {
|
|
364
360
|
console && console[e] && console[e].apply(console, t);
|
|
365
361
|
}
|
|
366
|
-
},
|
|
362
|
+
}, k = new (function() {
|
|
367
363
|
function e(t) {
|
|
368
364
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
369
365
|
D(this, e), this.init(t, n);
|
|
@@ -423,7 +419,7 @@ var We = {
|
|
|
423
419
|
}
|
|
424
420
|
}
|
|
425
421
|
]), e;
|
|
426
|
-
}())(),
|
|
422
|
+
}())(), A = function() {
|
|
427
423
|
function e() {
|
|
428
424
|
D(this, e), this.observers = {};
|
|
429
425
|
}
|
|
@@ -538,7 +534,7 @@ var rt = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
538
534
|
ns: ["translation"],
|
|
539
535
|
defaultNS: "translation"
|
|
540
536
|
};
|
|
541
|
-
return D(this, t), n = Be(this, Ve(t).call(this)), rt &&
|
|
537
|
+
return D(this, t), n = Be(this, Ve(t).call(this)), rt && A.call(ze(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
|
|
542
538
|
}
|
|
543
539
|
return O(t, [
|
|
544
540
|
{
|
|
@@ -618,7 +614,7 @@ var rt = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
618
614
|
}
|
|
619
615
|
}
|
|
620
616
|
]), t;
|
|
621
|
-
}(
|
|
617
|
+
}(A), at = {
|
|
622
618
|
processors: {},
|
|
623
619
|
addPostProcessor: function(e) {
|
|
624
620
|
this.processors[e.name] = e;
|
|
@@ -633,7 +629,7 @@ var rt = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
633
629
|
Ue(t, e);
|
|
634
630
|
function t(e) {
|
|
635
631
|
var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
636
|
-
return D(this, t), n = Be(this, Ve(t).call(this)), rt &&
|
|
632
|
+
return D(this, t), n = Be(this, Ve(t).call(this)), rt && A.call(ze(n)), qe([
|
|
637
633
|
"resourceStore",
|
|
638
634
|
"languageUtils",
|
|
639
635
|
"pluralResolver",
|
|
@@ -641,7 +637,7 @@ var rt = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
641
637
|
"backendConnector",
|
|
642
638
|
"i18nFormat",
|
|
643
639
|
"utils"
|
|
644
|
-
], e,
|
|
640
|
+
], e, ze(n)), n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = k.create("translator"), n;
|
|
645
641
|
}
|
|
646
642
|
return O(t, [
|
|
647
643
|
{
|
|
@@ -813,13 +809,13 @@ var rt = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
813
809
|
return !1;
|
|
814
810
|
}
|
|
815
811
|
}]), t;
|
|
816
|
-
}(
|
|
812
|
+
}(A);
|
|
817
813
|
function ct(e) {
|
|
818
814
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
819
815
|
}
|
|
820
816
|
var lt = function() {
|
|
821
817
|
function e(t) {
|
|
822
|
-
D(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
818
|
+
D(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = k.create("languageUtils");
|
|
823
819
|
}
|
|
824
820
|
return O(e, [
|
|
825
821
|
{
|
|
@@ -1237,7 +1233,7 @@ function ft() {
|
|
|
1237
1233
|
var pt = function() {
|
|
1238
1234
|
function e(t) {
|
|
1239
1235
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1240
|
-
D(this, e), this.languageUtils = t, this.options = n, this.logger =
|
|
1236
|
+
D(this, e), this.languageUtils = t, this.options = n, this.logger = k.create("pluralResolver"), this.rules = ft();
|
|
1241
1237
|
}
|
|
1242
1238
|
return O(e, [
|
|
1243
1239
|
{
|
|
@@ -1295,7 +1291,7 @@ var pt = function() {
|
|
|
1295
1291
|
}(), mt = function() {
|
|
1296
1292
|
function e() {
|
|
1297
1293
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1298
|
-
D(this, e), this.logger =
|
|
1294
|
+
D(this, e), this.logger = k.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(e) {
|
|
1299
1295
|
return e;
|
|
1300
1296
|
}, this.init(t);
|
|
1301
1297
|
}
|
|
@@ -1410,7 +1406,7 @@ var gt = function(e) {
|
|
|
1410
1406
|
Ue(t, e);
|
|
1411
1407
|
function t(e, n, r) {
|
|
1412
1408
|
var i, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
1413
|
-
return D(this, t), i = Be(this, Ve(t).call(this)), rt &&
|
|
1409
|
+
return D(this, t), i = Be(this, Ve(t).call(this)), rt && A.call(ze(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = k.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
|
|
1414
1410
|
}
|
|
1415
1411
|
return O(t, [
|
|
1416
1412
|
{
|
|
@@ -1514,7 +1510,7 @@ var gt = function(e) {
|
|
|
1514
1510
|
}
|
|
1515
1511
|
}
|
|
1516
1512
|
]), t;
|
|
1517
|
-
}(
|
|
1513
|
+
}(A);
|
|
1518
1514
|
function _t() {
|
|
1519
1515
|
return {
|
|
1520
1516
|
debug: !1,
|
|
@@ -1586,8 +1582,8 @@ var bt = new (function(e) {
|
|
|
1586
1582
|
Ue(t, e);
|
|
1587
1583
|
function t() {
|
|
1588
1584
|
var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
1589
|
-
if (D(this, t), e = Be(this, Ve(t).call(this)), rt &&
|
|
1590
|
-
if (!e.options.initImmediate) return e.init(n, r), Be(e,
|
|
1585
|
+
if (D(this, t), e = Be(this, Ve(t).call(this)), rt && A.call(ze(e)), e.options = vt(n), e.services = {}, e.logger = k, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
|
|
1586
|
+
if (!e.options.initImmediate) return e.init(n, r), Be(e, ze(e));
|
|
1591
1587
|
setTimeout(function() {
|
|
1592
1588
|
e.init(n, r);
|
|
1593
1589
|
}, 0);
|
|
@@ -1604,11 +1600,11 @@ var bt = new (function(e) {
|
|
|
1604
1600
|
return e ? typeof e == "function" ? new e() : e : null;
|
|
1605
1601
|
}
|
|
1606
1602
|
if (!this.options.isClone) {
|
|
1607
|
-
this.modules.logger ?
|
|
1603
|
+
this.modules.logger ? k.init(r(this.modules.logger), this.options) : k.init(null, this.options);
|
|
1608
1604
|
var i = new lt(this.options);
|
|
1609
1605
|
this.store = new it(this.options.resources, this.options);
|
|
1610
1606
|
var a = this.services;
|
|
1611
|
-
a.logger =
|
|
1607
|
+
a.logger = k, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new pt(i, {
|
|
1612
1608
|
prepend: this.options.pluralSeparator,
|
|
1613
1609
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
1614
1610
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
@@ -1821,14 +1817,14 @@ var bt = new (function(e) {
|
|
|
1821
1817
|
}
|
|
1822
1818
|
}
|
|
1823
1819
|
]), t;
|
|
1824
|
-
}(
|
|
1820
|
+
}(A))(), xt = "An invariant failed, however the error is obfuscated because this is a production build.", St = [];
|
|
1825
1821
|
Object.freeze(St);
|
|
1826
1822
|
var Ct = {};
|
|
1827
1823
|
Object.freeze(Ct);
|
|
1828
|
-
function
|
|
1829
|
-
return ++
|
|
1824
|
+
function j() {
|
|
1825
|
+
return ++V.mobxGuid;
|
|
1830
1826
|
}
|
|
1831
|
-
function
|
|
1827
|
+
function M(e) {
|
|
1832
1828
|
throw wt(!1, e), "X";
|
|
1833
1829
|
}
|
|
1834
1830
|
function wt(e, t) {
|
|
@@ -1856,13 +1852,13 @@ function kt(e) {
|
|
|
1856
1852
|
return t === Object.prototype || t === null;
|
|
1857
1853
|
}
|
|
1858
1854
|
function At(e) {
|
|
1859
|
-
if (Pt(e) ||
|
|
1855
|
+
if (Pt(e) || Z(e)) return e;
|
|
1860
1856
|
if (Array.isArray(e)) return new Map(e);
|
|
1861
1857
|
if (kt(e)) {
|
|
1862
1858
|
var t = /* @__PURE__ */ new Map();
|
|
1863
1859
|
for (var n in e) t.set(n, e[n]);
|
|
1864
1860
|
return t;
|
|
1865
|
-
} else return
|
|
1861
|
+
} else return M("Cannot convert to map from '" + e + "'");
|
|
1866
1862
|
}
|
|
1867
1863
|
function jt(e, t, n) {
|
|
1868
1864
|
Object.defineProperty(e, t, {
|
|
@@ -1884,7 +1880,7 @@ function Nt(e, t) {
|
|
|
1884
1880
|
var n = Object.getOwnPropertyDescriptor(e, t);
|
|
1885
1881
|
return !n || n.configurable !== !1 && n.writable !== !1;
|
|
1886
1882
|
}
|
|
1887
|
-
function
|
|
1883
|
+
function N(e, t) {
|
|
1888
1884
|
var n = "isMobX" + e;
|
|
1889
1885
|
return t.prototype[n] = !0, function(e) {
|
|
1890
1886
|
return Ot(e) && e[n] === !0;
|
|
@@ -1903,17 +1899,17 @@ function It(e) {
|
|
|
1903
1899
|
Object.getOwnPropertyDescriptor(e, n).enumerable && t.add(n);
|
|
1904
1900
|
}), Array.from(t);
|
|
1905
1901
|
}
|
|
1906
|
-
function
|
|
1902
|
+
function P(e) {
|
|
1907
1903
|
return e && e.toString ? e.toString() : new String(e).toString();
|
|
1908
1904
|
}
|
|
1909
|
-
function
|
|
1905
|
+
function Lt(e) {
|
|
1910
1906
|
return e === null ? null : typeof e == "object" ? "" + e : e;
|
|
1911
1907
|
}
|
|
1912
|
-
var
|
|
1908
|
+
var Rt = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols ? function(e) {
|
|
1913
1909
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
1914
|
-
} : /* istanbul ignore next */ Object.getOwnPropertyNames, F = Symbol("mobx administration"),
|
|
1910
|
+
} : /* istanbul ignore next */ Object.getOwnPropertyNames, F = Symbol("mobx administration"), zt = function() {
|
|
1915
1911
|
function e(e) {
|
|
1916
|
-
e === void 0 && (e = "Atom@" +
|
|
1912
|
+
e === void 0 && (e = "Atom@" + j()), this.name = e, this.isPendingUnobservation = !1, this.isBeingObserved = !1, this.observers = /* @__PURE__ */ new Set(), this.diffValue = 0, this.lastAccessedBy = 0, this.lowestObserverState = R.NOT_TRACKING;
|
|
1917
1913
|
}
|
|
1918
1914
|
return e.prototype.onBecomeObserved = function() {
|
|
1919
1915
|
this.onBecomeObservedListeners && this.onBecomeObservedListeners.forEach(function(e) {
|
|
@@ -1926,52 +1922,52 @@ var zt = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getO
|
|
|
1926
1922
|
}, e.prototype.reportObserved = function() {
|
|
1927
1923
|
return ar(this);
|
|
1928
1924
|
}, e.prototype.reportChanged = function() {
|
|
1929
|
-
|
|
1925
|
+
H(), or(this), U();
|
|
1930
1926
|
}, e.prototype.toString = function() {
|
|
1931
1927
|
return this.name;
|
|
1932
1928
|
}, e;
|
|
1933
|
-
}(),
|
|
1934
|
-
function
|
|
1929
|
+
}(), Bt = N("Atom", zt);
|
|
1930
|
+
function Vt(e, t, n) {
|
|
1935
1931
|
t === void 0 && (t = Et), n === void 0 && (n = Et);
|
|
1936
|
-
var r = new
|
|
1932
|
+
var r = new zt(e);
|
|
1937
1933
|
return t !== Et && jr(r, t), n !== Et && Mr(r, n), r;
|
|
1938
1934
|
}
|
|
1939
|
-
function
|
|
1935
|
+
function Ht(e, t) {
|
|
1940
1936
|
return e === t;
|
|
1941
1937
|
}
|
|
1938
|
+
function Ut(e, t) {
|
|
1939
|
+
return Ai(e, t);
|
|
1940
|
+
}
|
|
1942
1941
|
function Wt(e, t) {
|
|
1943
|
-
return
|
|
1942
|
+
return Ai(e, t, 1);
|
|
1944
1943
|
}
|
|
1945
1944
|
function Gt(e, t) {
|
|
1946
|
-
return ji(e, t, 1);
|
|
1947
|
-
}
|
|
1948
|
-
function Kt(e, t) {
|
|
1949
1945
|
return Object.is(e, t);
|
|
1950
1946
|
}
|
|
1951
|
-
var
|
|
1952
|
-
identity:
|
|
1953
|
-
structural:
|
|
1954
|
-
default:
|
|
1955
|
-
shallow:
|
|
1956
|
-
},
|
|
1957
|
-
return
|
|
1947
|
+
var Kt = {
|
|
1948
|
+
identity: Ht,
|
|
1949
|
+
structural: Ut,
|
|
1950
|
+
default: Gt,
|
|
1951
|
+
shallow: Wt
|
|
1952
|
+
}, qt = function(e, t) {
|
|
1953
|
+
return qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1958
1954
|
e.__proto__ = t;
|
|
1959
1955
|
} || function(e, t) {
|
|
1960
1956
|
for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
|
|
1961
|
-
},
|
|
1957
|
+
}, qt(e, t);
|
|
1962
1958
|
};
|
|
1963
|
-
function
|
|
1964
|
-
|
|
1959
|
+
function Jt(e, t) {
|
|
1960
|
+
qt(e, t);
|
|
1965
1961
|
function n() {
|
|
1966
1962
|
this.constructor = e;
|
|
1967
1963
|
}
|
|
1968
1964
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
1969
1965
|
}
|
|
1970
|
-
var
|
|
1971
|
-
return
|
|
1966
|
+
var Yt = function() {
|
|
1967
|
+
return Yt = Object.assign || function(e) {
|
|
1972
1968
|
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]);
|
|
1973
1969
|
return e;
|
|
1974
|
-
},
|
|
1970
|
+
}, Yt.apply(this, arguments);
|
|
1975
1971
|
};
|
|
1976
1972
|
function I(e) {
|
|
1977
1973
|
var t = typeof Symbol == "function" && e[Symbol.iterator], n = 0;
|
|
@@ -1982,7 +1978,7 @@ function I(e) {
|
|
|
1982
1978
|
};
|
|
1983
1979
|
} };
|
|
1984
1980
|
}
|
|
1985
|
-
function
|
|
1981
|
+
function Xt(e, t) {
|
|
1986
1982
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
1987
1983
|
if (!n) return e;
|
|
1988
1984
|
var r = n.call(e), i, a = [], o;
|
|
@@ -1999,31 +1995,31 @@ function Zt(e, t) {
|
|
|
1999
1995
|
}
|
|
2000
1996
|
return a;
|
|
2001
1997
|
}
|
|
2002
|
-
function
|
|
2003
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
1998
|
+
function Zt() {
|
|
1999
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Xt(arguments[t]));
|
|
2004
2000
|
return e;
|
|
2005
2001
|
}
|
|
2006
|
-
var
|
|
2007
|
-
function
|
|
2008
|
-
var n = t ?
|
|
2002
|
+
var Qt = Symbol("mobx did run lazy initializers"), $t = Symbol("mobx pending decorators"), en = {}, tn = {};
|
|
2003
|
+
function nn(e, t) {
|
|
2004
|
+
var n = t ? en : tn;
|
|
2009
2005
|
return n[e] || (n[e] = {
|
|
2010
2006
|
configurable: !0,
|
|
2011
2007
|
enumerable: t,
|
|
2012
2008
|
get: function() {
|
|
2013
|
-
return
|
|
2009
|
+
return rn(this), this[e];
|
|
2014
2010
|
},
|
|
2015
2011
|
set: function(t) {
|
|
2016
|
-
|
|
2012
|
+
rn(this), this[e] = t;
|
|
2017
2013
|
}
|
|
2018
2014
|
});
|
|
2019
2015
|
}
|
|
2020
|
-
function
|
|
2016
|
+
function rn(e) {
|
|
2021
2017
|
var t, n;
|
|
2022
|
-
if (e[
|
|
2023
|
-
var r = e[
|
|
2018
|
+
if (e[Qt] !== !0) {
|
|
2019
|
+
var r = e[$t];
|
|
2024
2020
|
if (r) {
|
|
2025
|
-
jt(e,
|
|
2026
|
-
var i =
|
|
2021
|
+
jt(e, Qt, !0);
|
|
2022
|
+
var i = Zt(Object.getOwnPropertySymbols(r), Object.keys(r));
|
|
2027
2023
|
try {
|
|
2028
2024
|
for (var a = I(i), o = a.next(); !o.done; o = a.next()) {
|
|
2029
2025
|
var s = r[o.value];
|
|
@@ -2041,33 +2037,33 @@ function an(e) {
|
|
|
2041
2037
|
}
|
|
2042
2038
|
}
|
|
2043
2039
|
}
|
|
2044
|
-
function
|
|
2040
|
+
function an(e, t) {
|
|
2045
2041
|
return function() {
|
|
2046
2042
|
var n, r = function(r, i, a, o) {
|
|
2047
2043
|
if (o === !0) return t(r, i, a, r, n), null;
|
|
2048
|
-
if (!Object.prototype.hasOwnProperty.call(r,
|
|
2049
|
-
var s = r[
|
|
2050
|
-
jt(r,
|
|
2044
|
+
if (!Object.prototype.hasOwnProperty.call(r, $t)) {
|
|
2045
|
+
var s = r[$t];
|
|
2046
|
+
jt(r, $t, Yt({}, s));
|
|
2051
2047
|
}
|
|
2052
|
-
return r[
|
|
2048
|
+
return r[$t][i] = {
|
|
2053
2049
|
prop: i,
|
|
2054
2050
|
propertyCreator: t,
|
|
2055
2051
|
descriptor: a,
|
|
2056
2052
|
decoratorTarget: r,
|
|
2057
2053
|
decoratorArguments: n
|
|
2058
|
-
},
|
|
2054
|
+
}, nn(i, e);
|
|
2059
2055
|
};
|
|
2060
|
-
return
|
|
2056
|
+
return on(arguments) ? (n = St, r.apply(null, arguments)) : (n = Array.prototype.slice.call(arguments), r);
|
|
2061
2057
|
};
|
|
2062
2058
|
}
|
|
2063
|
-
function
|
|
2059
|
+
function on(e) {
|
|
2064
2060
|
return (e.length === 2 || e.length === 3) && (typeof e[1] == "string" || typeof e[1] == "symbol") || e.length === 4 && e[3] === !0;
|
|
2065
2061
|
}
|
|
2066
|
-
function
|
|
2062
|
+
function sn(e, t, n) {
|
|
2067
2063
|
return Hr(e) ? e : Array.isArray(e) ? L.array(e, { name: n }) : kt(e) ? L.object(e, void 0, { name: n }) : Pt(e) ? L.map(e, { name: n }) : Ft(e) ? L.set(e, { name: n }) : e;
|
|
2068
2064
|
}
|
|
2069
|
-
function
|
|
2070
|
-
return e == null || Ei(e) || di(e) ||
|
|
2065
|
+
function cn(e, t, n) {
|
|
2066
|
+
return e == null || Ei(e) || di(e) || Z(e) || Q(e) ? e : Array.isArray(e) ? L.array(e, {
|
|
2071
2067
|
name: n,
|
|
2072
2068
|
deep: !1
|
|
2073
2069
|
}) : kt(e) ? L.object(e, void 0, {
|
|
@@ -2079,99 +2075,99 @@ function ln(e, t, n) {
|
|
|
2079
2075
|
}) : Ft(e) ? L.set(e, {
|
|
2080
2076
|
name: n,
|
|
2081
2077
|
deep: !1
|
|
2082
|
-
}) :
|
|
2078
|
+
}) : M(!1);
|
|
2083
2079
|
}
|
|
2084
|
-
function
|
|
2080
|
+
function ln(e) {
|
|
2085
2081
|
return e;
|
|
2086
2082
|
}
|
|
2087
|
-
function
|
|
2088
|
-
return
|
|
2083
|
+
function un(e, t, n) {
|
|
2084
|
+
return Ai(e, t) ? t : e;
|
|
2089
2085
|
}
|
|
2090
|
-
function
|
|
2086
|
+
function dn(e) {
|
|
2091
2087
|
wt(e);
|
|
2092
|
-
var t =
|
|
2088
|
+
var t = an(!0, function(t, n, r, i, a) {
|
|
2093
2089
|
var o = r ? r.initializer ? r.initializer.call(t) : r.value : void 0;
|
|
2094
2090
|
yi(t).addObservableProp(n, o, e);
|
|
2095
2091
|
}), n = (typeof process < "u" && process.env, t);
|
|
2096
2092
|
return n.enhancer = e, n;
|
|
2097
2093
|
}
|
|
2098
|
-
var
|
|
2094
|
+
var fn = {
|
|
2099
2095
|
deep: !0,
|
|
2100
2096
|
name: void 0,
|
|
2101
2097
|
defaultDecorator: void 0,
|
|
2102
2098
|
proxy: !0
|
|
2103
2099
|
};
|
|
2104
|
-
Object.freeze(
|
|
2105
|
-
function
|
|
2106
|
-
return e == null ?
|
|
2100
|
+
Object.freeze(fn);
|
|
2101
|
+
function pn(e) {
|
|
2102
|
+
return e == null ? fn : typeof e == "string" ? {
|
|
2107
2103
|
name: e,
|
|
2108
2104
|
deep: !0,
|
|
2109
2105
|
proxy: !0
|
|
2110
2106
|
} : e;
|
|
2111
2107
|
}
|
|
2112
|
-
var
|
|
2113
|
-
function
|
|
2114
|
-
return e.defaultDecorator ? e.defaultDecorator.enhancer : e.deep === !1 ?
|
|
2108
|
+
var mn = dn(sn), hn = dn(cn), gn = dn(ln), _n = dn(un);
|
|
2109
|
+
function vn(e) {
|
|
2110
|
+
return e.defaultDecorator ? e.defaultDecorator.enhancer : e.deep === !1 ? ln : sn;
|
|
2115
2111
|
}
|
|
2116
|
-
function
|
|
2117
|
-
if (typeof arguments[1] == "string" || typeof arguments[1] == "symbol") return
|
|
2112
|
+
function yn(e, t, n) {
|
|
2113
|
+
if (typeof arguments[1] == "string" || typeof arguments[1] == "symbol") return mn.apply(null, arguments);
|
|
2118
2114
|
if (Hr(e)) return e;
|
|
2119
2115
|
var r = kt(e) ? L.object(e, t, n) : Array.isArray(e) ? L.array(e, t) : Pt(e) ? L.map(e, t) : Ft(e) ? L.set(e, t) : e;
|
|
2120
2116
|
if (r !== e) return r;
|
|
2121
|
-
|
|
2117
|
+
M(!1);
|
|
2122
2118
|
}
|
|
2123
|
-
var
|
|
2119
|
+
var bn = {
|
|
2124
2120
|
box: function(e, t) {
|
|
2125
|
-
arguments.length > 2 &&
|
|
2126
|
-
var n =
|
|
2127
|
-
return new Kn(e,
|
|
2121
|
+
arguments.length > 2 && xn("box");
|
|
2122
|
+
var n = pn(t);
|
|
2123
|
+
return new Kn(e, vn(n), n.name, !0, n.equals);
|
|
2128
2124
|
},
|
|
2129
2125
|
array: function(e, t) {
|
|
2130
|
-
arguments.length > 2 &&
|
|
2131
|
-
var n =
|
|
2132
|
-
return ci(e,
|
|
2126
|
+
arguments.length > 2 && xn("array");
|
|
2127
|
+
var n = pn(t);
|
|
2128
|
+
return ci(e, vn(n), n.name);
|
|
2133
2129
|
},
|
|
2134
2130
|
map: function(e, t) {
|
|
2135
|
-
arguments.length > 2 &&
|
|
2136
|
-
var n =
|
|
2137
|
-
return new mi(e,
|
|
2131
|
+
arguments.length > 2 && xn("map");
|
|
2132
|
+
var n = pn(t);
|
|
2133
|
+
return new mi(e, vn(n), n.name);
|
|
2138
2134
|
},
|
|
2139
2135
|
set: function(e, t) {
|
|
2140
|
-
arguments.length > 2 &&
|
|
2141
|
-
var n =
|
|
2142
|
-
return new _i(e,
|
|
2136
|
+
arguments.length > 2 && xn("set");
|
|
2137
|
+
var n = pn(t);
|
|
2138
|
+
return new _i(e, vn(n), n.name);
|
|
2143
2139
|
},
|
|
2144
2140
|
object: function(e, t, n) {
|
|
2145
|
-
typeof arguments[1] == "string" &&
|
|
2146
|
-
var r =
|
|
2141
|
+
typeof arguments[1] == "string" && xn("object");
|
|
2142
|
+
var r = pn(n);
|
|
2147
2143
|
if (r.proxy === !1) return Fr({}, e, t, r);
|
|
2148
2144
|
var i = Ir(r), a = ri(Fr({}, void 0, void 0, r));
|
|
2149
2145
|
return Lr(a, e, t, i), a;
|
|
2150
2146
|
},
|
|
2151
|
-
ref:
|
|
2152
|
-
shallow:
|
|
2153
|
-
deep:
|
|
2154
|
-
struct:
|
|
2155
|
-
}, L =
|
|
2156
|
-
Object.keys(
|
|
2157
|
-
return L[e] =
|
|
2147
|
+
ref: gn,
|
|
2148
|
+
shallow: hn,
|
|
2149
|
+
deep: mn,
|
|
2150
|
+
struct: _n
|
|
2151
|
+
}, L = yn;
|
|
2152
|
+
Object.keys(bn).forEach(function(e) {
|
|
2153
|
+
return L[e] = bn[e];
|
|
2158
2154
|
});
|
|
2159
|
-
function
|
|
2160
|
-
|
|
2155
|
+
function xn(e) {
|
|
2156
|
+
M("Expected one or two arguments to observable." + e + ". Did you accidentally try to use observable." + e + " as decorator?");
|
|
2161
2157
|
}
|
|
2162
|
-
var
|
|
2158
|
+
var Sn = an(!1, function(e, t, n, r, i) {
|
|
2163
2159
|
var a = n.get, o = n.set, s = i[0] || {};
|
|
2164
|
-
yi(e).addComputedProp(e, t,
|
|
2160
|
+
yi(e).addComputedProp(e, t, Yt({
|
|
2165
2161
|
get: a,
|
|
2166
2162
|
set: o,
|
|
2167
2163
|
context: e
|
|
2168
2164
|
}, s));
|
|
2169
|
-
}),
|
|
2170
|
-
if (typeof t == "string" || typeof e == "object" && e && arguments.length === 1) return
|
|
2165
|
+
}), Cn = Sn({ equals: Kt.structural }), wn = function(e, t, n) {
|
|
2166
|
+
if (typeof t == "string" || typeof e == "object" && e && arguments.length === 1) return Sn.apply(null, arguments);
|
|
2171
2167
|
var r = typeof t == "object" ? t : {};
|
|
2172
2168
|
return r.get = e, r.set = typeof t == "function" ? t : r.set, r.name = r.name || e.name || "", new Jn(r);
|
|
2173
2169
|
};
|
|
2174
|
-
|
|
2170
|
+
wn.struct = Cn;
|
|
2175
2171
|
var R;
|
|
2176
2172
|
(function(e) {
|
|
2177
2173
|
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";
|
|
@@ -2180,55 +2176,55 @@ var z;
|
|
|
2180
2176
|
(function(e) {
|
|
2181
2177
|
e[e.NONE = 0] = "NONE", e[e.LOG = 1] = "LOG", e[e.BREAK = 2] = "BREAK";
|
|
2182
2178
|
})(z || (z = {}));
|
|
2183
|
-
var
|
|
2179
|
+
var Tn = function() {
|
|
2184
2180
|
function e(e) {
|
|
2185
2181
|
this.cause = e;
|
|
2186
2182
|
}
|
|
2187
2183
|
return e;
|
|
2188
2184
|
}();
|
|
2189
|
-
function
|
|
2190
|
-
return e instanceof
|
|
2185
|
+
function En(e) {
|
|
2186
|
+
return e instanceof Tn;
|
|
2191
2187
|
}
|
|
2192
|
-
function
|
|
2188
|
+
function Dn(e) {
|
|
2193
2189
|
switch (e.dependenciesState) {
|
|
2194
2190
|
case R.UP_TO_DATE: return !1;
|
|
2195
2191
|
case R.NOT_TRACKING:
|
|
2196
2192
|
case R.STALE: return !0;
|
|
2197
2193
|
case R.POSSIBLY_STALE:
|
|
2198
|
-
for (var t =
|
|
2194
|
+
for (var t = Pn(!0), n = Nn(), r = e.observing, i = r.length, a = 0; a < i; a++) {
|
|
2199
2195
|
var o = r[a];
|
|
2200
2196
|
if (Yn(o)) {
|
|
2201
|
-
if (
|
|
2197
|
+
if (V.disableErrorBoundaries) o.get();
|
|
2202
2198
|
else try {
|
|
2203
2199
|
o.get();
|
|
2204
2200
|
} catch {
|
|
2205
|
-
return B(n),
|
|
2201
|
+
return B(n), Fn(t), !0;
|
|
2206
2202
|
}
|
|
2207
|
-
if (e.dependenciesState === R.STALE) return B(n),
|
|
2203
|
+
if (e.dependenciesState === R.STALE) return B(n), Fn(t), !0;
|
|
2208
2204
|
}
|
|
2209
2205
|
}
|
|
2210
|
-
return
|
|
2206
|
+
return In(e), B(n), Fn(t), !1;
|
|
2211
2207
|
}
|
|
2212
2208
|
}
|
|
2213
|
-
function
|
|
2209
|
+
function On(e) {
|
|
2214
2210
|
var t = e.observers.size > 0;
|
|
2215
|
-
|
|
2211
|
+
V.computationDepth > 0 && t && M(!1), !V.allowStateChanges && (t || V.enforceActions === "strict") && M(!1);
|
|
2216
2212
|
}
|
|
2217
|
-
function
|
|
2218
|
-
var r =
|
|
2219
|
-
|
|
2220
|
-
var i =
|
|
2221
|
-
|
|
2213
|
+
function kn(e, t, n) {
|
|
2214
|
+
var r = Pn(!0);
|
|
2215
|
+
In(e), e.newObserving = Array(e.observing.length + 100), e.unboundDepsCount = 0, e.runId = ++V.runId;
|
|
2216
|
+
var i = V.trackingDerivation;
|
|
2217
|
+
V.trackingDerivation = e;
|
|
2222
2218
|
var a;
|
|
2223
|
-
if (
|
|
2219
|
+
if (V.disableErrorBoundaries === !0) a = t.call(n);
|
|
2224
2220
|
else try {
|
|
2225
2221
|
a = t.call(n);
|
|
2226
2222
|
} catch (e) {
|
|
2227
|
-
a = new
|
|
2223
|
+
a = new Tn(e);
|
|
2228
2224
|
}
|
|
2229
|
-
return
|
|
2225
|
+
return V.trackingDerivation = i, An(e), Fn(r), a;
|
|
2230
2226
|
}
|
|
2231
|
-
function
|
|
2227
|
+
function An(e) {
|
|
2232
2228
|
for (var t = e.observing, n = e.observing = e.newObserving, r = R.UP_TO_DATE, i = 0, a = e.unboundDepsCount, o = 0; o < a; o++) {
|
|
2233
2229
|
var s = n[o];
|
|
2234
2230
|
s.diffValue === 0 && (s.diffValue = 1, i !== o && (n[i] = s), i++), s.dependenciesState > r && (r = s.dependenciesState);
|
|
@@ -2243,43 +2239,43 @@ function jn(e) {
|
|
|
2243
2239
|
}
|
|
2244
2240
|
r !== R.UP_TO_DATE && (e.dependenciesState = r, e.onBecomeStale());
|
|
2245
2241
|
}
|
|
2246
|
-
function
|
|
2242
|
+
function jn(e) {
|
|
2247
2243
|
var t = e.observing;
|
|
2248
2244
|
e.observing = [];
|
|
2249
2245
|
for (var n = t.length; n--;) rr(t[n], e);
|
|
2250
2246
|
e.dependenciesState = R.NOT_TRACKING;
|
|
2251
2247
|
}
|
|
2252
|
-
function
|
|
2253
|
-
var t =
|
|
2248
|
+
function Mn(e) {
|
|
2249
|
+
var t = Nn();
|
|
2254
2250
|
try {
|
|
2255
2251
|
return e();
|
|
2256
2252
|
} finally {
|
|
2257
2253
|
B(t);
|
|
2258
2254
|
}
|
|
2259
2255
|
}
|
|
2260
|
-
function
|
|
2261
|
-
var e =
|
|
2262
|
-
return
|
|
2256
|
+
function Nn() {
|
|
2257
|
+
var e = V.trackingDerivation;
|
|
2258
|
+
return V.trackingDerivation = null, e;
|
|
2263
2259
|
}
|
|
2264
2260
|
function B(e) {
|
|
2265
|
-
|
|
2261
|
+
V.trackingDerivation = e;
|
|
2262
|
+
}
|
|
2263
|
+
function Pn(e) {
|
|
2264
|
+
var t = V.allowStateReads;
|
|
2265
|
+
return V.allowStateReads = e, t;
|
|
2266
2266
|
}
|
|
2267
2267
|
function Fn(e) {
|
|
2268
|
-
|
|
2269
|
-
return H.allowStateReads = e, t;
|
|
2268
|
+
V.allowStateReads = e;
|
|
2270
2269
|
}
|
|
2271
2270
|
function In(e) {
|
|
2272
|
-
H.allowStateReads = e;
|
|
2273
|
-
}
|
|
2274
|
-
function Ln(e) {
|
|
2275
2271
|
if (e.dependenciesState !== R.UP_TO_DATE) {
|
|
2276
2272
|
e.dependenciesState = R.UP_TO_DATE;
|
|
2277
2273
|
for (var t = e.observing, n = t.length; n--;) t[n].lowestObserverState = R.UP_TO_DATE;
|
|
2278
2274
|
}
|
|
2279
2275
|
}
|
|
2280
|
-
var
|
|
2281
|
-
|
|
2282
|
-
function
|
|
2276
|
+
var Ln = 0, Rn = 1, zn = Object.getOwnPropertyDescriptor(function() {}, "name");
|
|
2277
|
+
zn && zn.configurable;
|
|
2278
|
+
function Bn(e, t, n) {
|
|
2283
2279
|
var r = function() {
|
|
2284
2280
|
return Vn(e, t, n || this, arguments);
|
|
2285
2281
|
};
|
|
@@ -2296,54 +2292,54 @@ function Vn(e, t, n, r) {
|
|
|
2296
2292
|
}
|
|
2297
2293
|
}
|
|
2298
2294
|
function Hn(e, t, n) {
|
|
2299
|
-
var r =
|
|
2300
|
-
|
|
2295
|
+
var r = W() && !!e, i = 0, a = Nn();
|
|
2296
|
+
H();
|
|
2301
2297
|
var o = {
|
|
2302
2298
|
prevDerivation: a,
|
|
2303
2299
|
prevAllowStateChanges: Wn(!0),
|
|
2304
|
-
prevAllowStateReads:
|
|
2300
|
+
prevAllowStateReads: Pn(!0),
|
|
2305
2301
|
notifySpy: r,
|
|
2306
2302
|
startTime: i,
|
|
2307
|
-
actionId:
|
|
2308
|
-
parentActionId:
|
|
2303
|
+
actionId: Rn++,
|
|
2304
|
+
parentActionId: Ln
|
|
2309
2305
|
};
|
|
2310
|
-
return
|
|
2306
|
+
return Ln = o.actionId, o;
|
|
2311
2307
|
}
|
|
2312
2308
|
function Un(e) {
|
|
2313
|
-
|
|
2309
|
+
Ln !== e.actionId && M("invalid action stack. did you forget to finish an action?"), Ln = e.parentActionId, e.error !== void 0 && (V.suppressReactionErrors = !0), Gn(e.prevAllowStateChanges), Fn(e.prevAllowStateReads), U(), B(e.prevDerivation), e.notifySpy, V.suppressReactionErrors = !1;
|
|
2314
2310
|
}
|
|
2315
2311
|
function Wn(e) {
|
|
2316
|
-
var t =
|
|
2317
|
-
return
|
|
2312
|
+
var t = V.allowStateChanges;
|
|
2313
|
+
return V.allowStateChanges = e, t;
|
|
2318
2314
|
}
|
|
2319
2315
|
function Gn(e) {
|
|
2320
|
-
|
|
2316
|
+
V.allowStateChanges = e;
|
|
2321
2317
|
}
|
|
2322
2318
|
var Kn = function(e) {
|
|
2323
|
-
|
|
2319
|
+
Jt(t, e);
|
|
2324
2320
|
function t(t, n, r, i, a) {
|
|
2325
|
-
r === void 0 && (r = "ObservableValue@" +
|
|
2321
|
+
r === void 0 && (r = "ObservableValue@" + j()), i === void 0 && (i = !0), a === void 0 && (a = Kt.default);
|
|
2326
2322
|
var o = e.call(this, r) || this;
|
|
2327
2323
|
return o.enhancer = n, o.name = r, o.equals = a, o.hasUnreportedChange = !1, o.value = n(t, void 0, r), o;
|
|
2328
2324
|
}
|
|
2329
2325
|
return t.prototype.dehanceValue = function(e) {
|
|
2330
2326
|
return this.dehancer === void 0 ? e : this.dehancer(e);
|
|
2331
2327
|
}, t.prototype.set = function(e) {
|
|
2332
|
-
this.value, e = this.prepareNewValue(e), e !==
|
|
2328
|
+
this.value, e = this.prepareNewValue(e), e !== V.UNCHANGED && this.setNewValue(e);
|
|
2333
2329
|
}, t.prototype.prepareNewValue = function(e) {
|
|
2334
|
-
if (
|
|
2335
|
-
var t =
|
|
2330
|
+
if (On(this), K(this)) {
|
|
2331
|
+
var t = q(this, {
|
|
2336
2332
|
object: this,
|
|
2337
2333
|
type: "update",
|
|
2338
2334
|
newValue: e
|
|
2339
2335
|
});
|
|
2340
|
-
if (!t) return
|
|
2336
|
+
if (!t) return V.UNCHANGED;
|
|
2341
2337
|
e = t.newValue;
|
|
2342
2338
|
}
|
|
2343
|
-
return e = this.enhancer(e, this.value, this.name), this.equals(this.value, e) ?
|
|
2339
|
+
return e = this.enhancer(e, this.value, this.name), this.equals(this.value, e) ? V.UNCHANGED : e;
|
|
2344
2340
|
}, t.prototype.setNewValue = function(e) {
|
|
2345
2341
|
var t = this.value;
|
|
2346
|
-
this.value = e, this.reportChanged(),
|
|
2342
|
+
this.value = e, this.reportChanged(), J(this) && Y(this, {
|
|
2347
2343
|
type: "update",
|
|
2348
2344
|
object: this,
|
|
2349
2345
|
newValue: e,
|
|
@@ -2365,13 +2361,13 @@ var Kn = function(e) {
|
|
|
2365
2361
|
}, t.prototype.toString = function() {
|
|
2366
2362
|
return this.name + "[" + this.value + "]";
|
|
2367
2363
|
}, t.prototype.valueOf = function() {
|
|
2368
|
-
return
|
|
2364
|
+
return Lt(this.get());
|
|
2369
2365
|
}, t.prototype[Symbol.toPrimitive] = function() {
|
|
2370
2366
|
return this.valueOf();
|
|
2371
2367
|
}, t;
|
|
2372
|
-
}(
|
|
2368
|
+
}(zt), qn = N("ObservableValue", Kn), Jn = function() {
|
|
2373
2369
|
function e(e) {
|
|
2374
|
-
this.dependenciesState = R.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 = R.UP_TO_DATE, this.unboundDepsCount = 0, this.__mapid = "#" +
|
|
2370
|
+
this.dependenciesState = R.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 = R.UP_TO_DATE, this.unboundDepsCount = 0, this.__mapid = "#" + j(), this.value = new Tn(null), this.isComputing = !1, this.isRunningSetter = !1, this.isTracing = z.NONE, wt(e.get, "missing option for computed: get"), this.derivation = e.get, this.name = e.name || "ComputedValue@" + j(), e.set && (this.setter = Bn(this.name + "-setter", e.set)), this.equals = e.equals || (e.compareStructural || e.struct ? Kt.structural : Kt.default), this.scope = e.context, this.requiresReaction = !!e.requiresReaction, this.keepAlive = !!e.keepAlive;
|
|
2375
2371
|
}
|
|
2376
2372
|
return e.prototype.onBecomeStale = function() {
|
|
2377
2373
|
cr(this);
|
|
@@ -2384,13 +2380,13 @@ var Kn = function(e) {
|
|
|
2384
2380
|
return e();
|
|
2385
2381
|
});
|
|
2386
2382
|
}, e.prototype.get = function() {
|
|
2387
|
-
this.isComputing &&
|
|
2383
|
+
this.isComputing && M("Cycle detected in computation " + this.name + ": " + this.derivation), V.inBatch === 0 && this.observers.size === 0 && !this.keepAlive ? Dn(this) && (this.warnAboutUntrackedRead(), H(), this.value = this.computeValue(!1), U()) : (ar(this), Dn(this) && this.trackAndCompute() && sr(this));
|
|
2388
2384
|
var e = this.value;
|
|
2389
|
-
if (
|
|
2385
|
+
if (En(e)) throw e.cause;
|
|
2390
2386
|
return e;
|
|
2391
2387
|
}, e.prototype.peek = function() {
|
|
2392
2388
|
var e = this.computeValue(!1);
|
|
2393
|
-
if (
|
|
2389
|
+
if (En(e)) throw e.cause;
|
|
2394
2390
|
return e;
|
|
2395
2391
|
}, e.prototype.set = function(e) {
|
|
2396
2392
|
if (this.setter) {
|
|
@@ -2402,27 +2398,27 @@ var Kn = function(e) {
|
|
|
2402
2398
|
}
|
|
2403
2399
|
} else wt(!1, !1);
|
|
2404
2400
|
}, e.prototype.trackAndCompute = function() {
|
|
2405
|
-
var e = this.value, t = this.dependenciesState === R.NOT_TRACKING, n = this.computeValue(!0), r = t ||
|
|
2401
|
+
var e = this.value, t = this.dependenciesState === R.NOT_TRACKING, n = this.computeValue(!0), r = t || En(e) || En(n) || !this.equals(e, n);
|
|
2406
2402
|
return r && (this.value = n), r;
|
|
2407
2403
|
}, e.prototype.computeValue = function(e) {
|
|
2408
|
-
this.isComputing = !0,
|
|
2404
|
+
this.isComputing = !0, V.computationDepth++;
|
|
2409
2405
|
var t;
|
|
2410
|
-
if (e) t =
|
|
2411
|
-
else if (
|
|
2406
|
+
if (e) t = kn(this, this.derivation, this.scope);
|
|
2407
|
+
else if (V.disableErrorBoundaries === !0) t = this.derivation.call(this.scope);
|
|
2412
2408
|
else try {
|
|
2413
2409
|
t = this.derivation.call(this.scope);
|
|
2414
2410
|
} catch (e) {
|
|
2415
|
-
t = new
|
|
2411
|
+
t = new Tn(e);
|
|
2416
2412
|
}
|
|
2417
|
-
return
|
|
2413
|
+
return V.computationDepth--, this.isComputing = !1, t;
|
|
2418
2414
|
}, e.prototype.suspend = function() {
|
|
2419
|
-
this.keepAlive || (
|
|
2415
|
+
this.keepAlive || (jn(this), this.value = void 0);
|
|
2420
2416
|
}, e.prototype.observe = function(e, t) {
|
|
2421
2417
|
var n = this, r = !0, i = void 0;
|
|
2422
2418
|
return Er(function() {
|
|
2423
2419
|
var a = n.get();
|
|
2424
2420
|
if (!r || t) {
|
|
2425
|
-
var o =
|
|
2421
|
+
var o = Nn();
|
|
2426
2422
|
e({
|
|
2427
2423
|
type: "update",
|
|
2428
2424
|
object: n,
|
|
@@ -2437,11 +2433,11 @@ var Kn = function(e) {
|
|
|
2437
2433
|
}, e.prototype.toString = function() {
|
|
2438
2434
|
return this.name + "[" + this.derivation.toString() + "]";
|
|
2439
2435
|
}, e.prototype.valueOf = function() {
|
|
2440
|
-
return
|
|
2436
|
+
return Lt(this.get());
|
|
2441
2437
|
}, e.prototype[Symbol.toPrimitive] = function() {
|
|
2442
2438
|
return this.valueOf();
|
|
2443
2439
|
}, e;
|
|
2444
|
-
}(), Yn =
|
|
2440
|
+
}(), Yn = N("ComputedValue", Jn), Xn = function() {
|
|
2445
2441
|
function e() {
|
|
2446
2442
|
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;
|
|
2447
2443
|
}
|
|
@@ -2450,14 +2446,14 @@ var Kn = function(e) {
|
|
|
2450
2446
|
function Qn() {
|
|
2451
2447
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : Zn;
|
|
2452
2448
|
}
|
|
2453
|
-
var $n = !0, er = !1,
|
|
2449
|
+
var $n = !0, er = !1, V = (function() {
|
|
2454
2450
|
var e = Qn();
|
|
2455
2451
|
return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && ($n = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new Xn().version && ($n = !1), $n ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = new Xn()) : (setTimeout(function() {
|
|
2456
|
-
er ||
|
|
2452
|
+
er || M("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`");
|
|
2457
2453
|
}, 1), new Xn());
|
|
2458
2454
|
})();
|
|
2459
2455
|
function tr() {
|
|
2460
|
-
(
|
|
2456
|
+
(V.pendingReactions.length || V.inBatch || V.isRunningReactions) && M("isolateGlobalState should be called before MobX is running any reactions"), er = !0, $n && (--Qn().__mobxInstanceCount === 0 && (Qn().__mobxGlobals = void 0), V = new Xn());
|
|
2461
2457
|
}
|
|
2462
2458
|
function nr(e, t) {
|
|
2463
2459
|
e.observers.add(t), e.lowestObserverState > t.dependenciesState && (e.lowestObserverState = t.dependenciesState);
|
|
@@ -2466,24 +2462,24 @@ function rr(e, t) {
|
|
|
2466
2462
|
e.observers.delete(t), e.observers.size === 0 && ir(e);
|
|
2467
2463
|
}
|
|
2468
2464
|
function ir(e) {
|
|
2469
|
-
e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0,
|
|
2465
|
+
e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, V.pendingUnobservations.push(e));
|
|
2470
2466
|
}
|
|
2471
|
-
function
|
|
2472
|
-
|
|
2467
|
+
function H() {
|
|
2468
|
+
V.inBatch++;
|
|
2473
2469
|
}
|
|
2474
|
-
function
|
|
2475
|
-
if (--
|
|
2470
|
+
function U() {
|
|
2471
|
+
if (--V.inBatch === 0) {
|
|
2476
2472
|
mr();
|
|
2477
|
-
for (var e =
|
|
2473
|
+
for (var e = V.pendingUnobservations, t = 0; t < e.length; t++) {
|
|
2478
2474
|
var n = e[t];
|
|
2479
2475
|
n.isPendingUnobservation = !1, n.observers.size === 0 && (n.isBeingObserved && (n.isBeingObserved = !1, n.onBecomeUnobserved()), n instanceof Jn && n.suspend());
|
|
2480
2476
|
}
|
|
2481
|
-
|
|
2477
|
+
V.pendingUnobservations = [];
|
|
2482
2478
|
}
|
|
2483
2479
|
}
|
|
2484
2480
|
function ar(e) {
|
|
2485
|
-
var t =
|
|
2486
|
-
return t === null ? (e.observers.size === 0 &&
|
|
2481
|
+
var t = V.trackingDerivation;
|
|
2482
|
+
return t === null ? (e.observers.size === 0 && V.inBatch > 0 && ir(e), !1) : (t.runId !== e.lastAccessedBy && (e.lastAccessedBy = t.runId, t.newObserving[t.unboundDepsCount++] = e, e.isBeingObserved || (e.isBeingObserved = !0, e.onBecomeObserved())), !0);
|
|
2487
2483
|
}
|
|
2488
2484
|
function or(e) {
|
|
2489
2485
|
e.lowestObserverState !== R.STALE && (e.lowestObserverState = R.STALE, e.observers.forEach(function(t) {
|
|
@@ -2517,17 +2513,17 @@ function ur(e, t, n) {
|
|
|
2517
2513
|
}
|
|
2518
2514
|
var dr = function() {
|
|
2519
2515
|
function e(e, t, n, r) {
|
|
2520
|
-
e === void 0 && (e = "Reaction@" +
|
|
2516
|
+
e === void 0 && (e = "Reaction@" + j()), r === void 0 && (r = !1), this.name = e, this.onInvalidate = t, this.errorHandler = n, this.requiresObservable = r, this.observing = [], this.newObserving = [], this.dependenciesState = R.NOT_TRACKING, this.diffValue = 0, this.runId = 0, this.unboundDepsCount = 0, this.__mapid = "#" + j(), this.isDisposed = !1, this._isScheduled = !1, this._isTrackPending = !1, this._isRunning = !1, this.isTracing = z.NONE;
|
|
2521
2517
|
}
|
|
2522
2518
|
return e.prototype.onBecomeStale = function() {
|
|
2523
2519
|
this.schedule();
|
|
2524
2520
|
}, e.prototype.schedule = function() {
|
|
2525
|
-
this._isScheduled || (this._isScheduled = !0,
|
|
2521
|
+
this._isScheduled || (this._isScheduled = !0, V.pendingReactions.push(this), mr());
|
|
2526
2522
|
}, e.prototype.isScheduled = function() {
|
|
2527
2523
|
return this._isScheduled;
|
|
2528
2524
|
}, e.prototype.runReaction = function() {
|
|
2529
2525
|
if (!this.isDisposed) {
|
|
2530
|
-
if (
|
|
2526
|
+
if (H(), this._isScheduled = !1, Dn(this)) {
|
|
2531
2527
|
this._isTrackPending = !0;
|
|
2532
2528
|
try {
|
|
2533
2529
|
this.onInvalidate(), this._isTrackPending;
|
|
@@ -2535,13 +2531,13 @@ var dr = function() {
|
|
|
2535
2531
|
this.reportExceptionInDerivation(e);
|
|
2536
2532
|
}
|
|
2537
2533
|
}
|
|
2538
|
-
|
|
2534
|
+
U();
|
|
2539
2535
|
}
|
|
2540
2536
|
}, e.prototype.track = function(e) {
|
|
2541
2537
|
if (!this.isDisposed) {
|
|
2542
|
-
|
|
2543
|
-
var t =
|
|
2544
|
-
this._isRunning = !1, this._isTrackPending = !1, this.isDisposed &&
|
|
2538
|
+
H(), this._isRunning = !0;
|
|
2539
|
+
var t = kn(this, e, void 0);
|
|
2540
|
+
this._isRunning = !1, this._isTrackPending = !1, this.isDisposed && jn(this), En(t) && this.reportExceptionInDerivation(t.cause), U();
|
|
2545
2541
|
}
|
|
2546
2542
|
}, e.prototype.reportExceptionInDerivation = function(e) {
|
|
2547
2543
|
var t = this;
|
|
@@ -2549,13 +2545,13 @@ var dr = function() {
|
|
|
2549
2545
|
this.errorHandler(e, this);
|
|
2550
2546
|
return;
|
|
2551
2547
|
}
|
|
2552
|
-
if (
|
|
2548
|
+
if (V.disableErrorBoundaries) throw e;
|
|
2553
2549
|
var n = "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'";
|
|
2554
|
-
|
|
2550
|
+
V.suppressReactionErrors ? console.warn("[mobx] (error in reaction '" + this.name + "' suppressed, fix error of causing action below)") : console.error(n, e), W() && (this.name, "" + e), V.globalReactionErrorHandlers.forEach(function(n) {
|
|
2555
2551
|
return n(e, t);
|
|
2556
2552
|
});
|
|
2557
2553
|
}, e.prototype.dispose = function() {
|
|
2558
|
-
this.isDisposed || (this.isDisposed = !0, this._isRunning || (
|
|
2554
|
+
this.isDisposed || (this.isDisposed = !0, this._isRunning || (H(), jn(this), U()));
|
|
2559
2555
|
}, e.prototype.getDisposer = function() {
|
|
2560
2556
|
var e = this.dispose.bind(this);
|
|
2561
2557
|
return e[F] = this, e;
|
|
@@ -2568,17 +2564,17 @@ var dr = function() {
|
|
|
2568
2564
|
return e();
|
|
2569
2565
|
};
|
|
2570
2566
|
function mr() {
|
|
2571
|
-
|
|
2567
|
+
V.inBatch > 0 || V.isRunningReactions || pr(hr);
|
|
2572
2568
|
}
|
|
2573
2569
|
function hr() {
|
|
2574
|
-
|
|
2575
|
-
for (var e =
|
|
2570
|
+
V.isRunningReactions = !0;
|
|
2571
|
+
for (var e = V.pendingReactions, t = 0; e.length > 0;) {
|
|
2576
2572
|
++t === fr && (console.error("Reaction doesn't converge to a stable state after " + fr + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0])), e.splice(0));
|
|
2577
2573
|
for (var n = e.splice(0), r = 0, i = n.length; r < i; r++) n[r].runReaction();
|
|
2578
2574
|
}
|
|
2579
|
-
|
|
2575
|
+
V.isRunningReactions = !1;
|
|
2580
2576
|
}
|
|
2581
|
-
var gr =
|
|
2577
|
+
var gr = N("Reaction", dr);
|
|
2582
2578
|
function _r(e) {
|
|
2583
2579
|
var t = pr;
|
|
2584
2580
|
pr = function(n) {
|
|
@@ -2587,20 +2583,20 @@ function _r(e) {
|
|
|
2587
2583
|
});
|
|
2588
2584
|
};
|
|
2589
2585
|
}
|
|
2590
|
-
function
|
|
2586
|
+
function W() {
|
|
2591
2587
|
return !1;
|
|
2592
2588
|
}
|
|
2593
2589
|
function vr(e) {
|
|
2594
2590
|
return console.warn("[mobx.spy] Is a no-op in production builds"), function() {};
|
|
2595
2591
|
}
|
|
2596
2592
|
function yr() {
|
|
2597
|
-
|
|
2593
|
+
M(!1);
|
|
2598
2594
|
}
|
|
2599
2595
|
function br(e) {
|
|
2600
2596
|
return function(t, n, r) {
|
|
2601
2597
|
if (r) {
|
|
2602
2598
|
if (r.value) return {
|
|
2603
|
-
value:
|
|
2599
|
+
value: Bn(e, r.value),
|
|
2604
2600
|
enumerable: !1,
|
|
2605
2601
|
configurable: !0,
|
|
2606
2602
|
writable: !0
|
|
@@ -2611,7 +2607,7 @@ function br(e) {
|
|
|
2611
2607
|
configurable: !0,
|
|
2612
2608
|
writable: !0,
|
|
2613
2609
|
initializer: function() {
|
|
2614
|
-
return
|
|
2610
|
+
return Bn(e, i.call(this));
|
|
2615
2611
|
}
|
|
2616
2612
|
};
|
|
2617
2613
|
}
|
|
@@ -2648,10 +2644,10 @@ function Sr(e, t, n, r) {
|
|
|
2648
2644
|
};
|
|
2649
2645
|
}
|
|
2650
2646
|
var Cr = function(e, t, n, r) {
|
|
2651
|
-
if (arguments.length === 1 && typeof e == "function") return
|
|
2652
|
-
if (arguments.length === 2 && typeof t == "function") return
|
|
2647
|
+
if (arguments.length === 1 && typeof e == "function") return Bn(e.name || "<unnamed action>", e);
|
|
2648
|
+
if (arguments.length === 2 && typeof t == "function") return Bn(e, t);
|
|
2653
2649
|
if (arguments.length === 1 && typeof e == "string") return br(e);
|
|
2654
|
-
if (r === !0) jt(e, t,
|
|
2650
|
+
if (r === !0) jt(e, t, Bn(e.name || t, n.value, this));
|
|
2655
2651
|
else return br(t).apply(null, arguments);
|
|
2656
2652
|
};
|
|
2657
2653
|
Cr.bound = Sr;
|
|
@@ -2659,11 +2655,11 @@ function wr(e, t) {
|
|
|
2659
2655
|
return Vn(typeof e == "string" ? e : e.name || "<unnamed action>", typeof e == "function" ? e : t, this, void 0);
|
|
2660
2656
|
}
|
|
2661
2657
|
function Tr(e, t, n) {
|
|
2662
|
-
jt(e, t,
|
|
2658
|
+
jt(e, t, Bn(t, n.bind(e)));
|
|
2663
2659
|
}
|
|
2664
2660
|
function Er(e, t) {
|
|
2665
2661
|
t === void 0 && (t = Ct);
|
|
2666
|
-
var n = t && t.name || e.name || "Autorun@" +
|
|
2662
|
+
var n = t && t.name || e.name || "Autorun@" + j(), r = !t.scheduler && !t.delay, i;
|
|
2667
2663
|
if (r) i = new dr(n, function() {
|
|
2668
2664
|
this.track(s);
|
|
2669
2665
|
}, t.onError, t.requiresObservable);
|
|
@@ -2690,7 +2686,7 @@ function Or(e) {
|
|
|
2690
2686
|
}
|
|
2691
2687
|
function kr(e, t, n) {
|
|
2692
2688
|
n === void 0 && (n = Ct);
|
|
2693
|
-
var r = n.name || "Reaction@" +
|
|
2689
|
+
var r = n.name || "Reaction@" + j(), i = Cr(r, n.onError ? Ar(n.onError, t) : t), a = !n.scheduler && !n.delay, o = Or(n), s = !0, c = !1, l, u = n.compareStructural ? Kt.structural : n.equals || Kt.default, d = new dr(r, function() {
|
|
2694
2690
|
s || a ? f() : c || (c = !0, o(f));
|
|
2695
2691
|
}, n.onError, n.requiresObservable);
|
|
2696
2692
|
function f() {
|
|
@@ -2720,11 +2716,11 @@ function Mr(e, t, n) {
|
|
|
2720
2716
|
return Nr("onBecomeUnobserved", e, t, n);
|
|
2721
2717
|
}
|
|
2722
2718
|
function Nr(e, t, n, r) {
|
|
2723
|
-
var i = typeof r == "function" ?
|
|
2719
|
+
var i = typeof r == "function" ? $(t, n) : $(t), a = typeof r == "function" ? r : n, o = e + "Listeners";
|
|
2724
2720
|
return i[o] ? i[o].add(a) : i[o] = new Set([a]), typeof i[e] == "function" ? function() {
|
|
2725
2721
|
var e = i[o];
|
|
2726
2722
|
e && (e.delete(a), e.size === 0 && delete i[o]);
|
|
2727
|
-
} :
|
|
2723
|
+
} : M(!1);
|
|
2728
2724
|
}
|
|
2729
2725
|
function Pr(e) {
|
|
2730
2726
|
var t = e.enforceActions, n = e.computedRequiresReaction, r = e.computedConfigurable, i = e.disableErrorBoundaries, a = e.reactionScheduler, o = e.reactionRequiresObservable, s = e.observableRequiresReaction;
|
|
@@ -2743,29 +2739,29 @@ function Pr(e) {
|
|
|
2743
2739
|
case "always":
|
|
2744
2740
|
c = "strict";
|
|
2745
2741
|
break;
|
|
2746
|
-
default:
|
|
2742
|
+
default: M("Invalid value for 'enforceActions': '" + t + "', expected 'never', 'always' or 'observed'");
|
|
2747
2743
|
}
|
|
2748
|
-
|
|
2744
|
+
V.enforceActions = c, V.allowStateChanges = !(c === !0 || c === "strict");
|
|
2749
2745
|
}
|
|
2750
|
-
n !== void 0 && (
|
|
2746
|
+
n !== void 0 && (V.computedRequiresReaction = !!n), o !== void 0 && (V.reactionRequiresObservable = !!o), s !== void 0 && (V.observableRequiresReaction = !!s, V.allowStateReads = !V.observableRequiresReaction), r !== void 0 && (V.computedConfigurable = !!r), i !== void 0 && (i === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), V.disableErrorBoundaries = !!i), a && _r(a);
|
|
2751
2747
|
}
|
|
2752
2748
|
function Fr(e, t, n, r) {
|
|
2753
|
-
r =
|
|
2749
|
+
r = pn(r);
|
|
2754
2750
|
var i = Ir(r);
|
|
2755
|
-
return
|
|
2751
|
+
return rn(e), yi(e, r.name, i.enhancer), t && Lr(e, t, n, i), e;
|
|
2756
2752
|
}
|
|
2757
2753
|
function Ir(e) {
|
|
2758
|
-
return e.defaultDecorator || (e.deep === !1 ?
|
|
2754
|
+
return e.defaultDecorator || (e.deep === !1 ? gn : mn);
|
|
2759
2755
|
}
|
|
2760
2756
|
function Lr(e, t, n, r) {
|
|
2761
2757
|
var i, a;
|
|
2762
2758
|
if (0) var o, s;
|
|
2763
|
-
|
|
2759
|
+
H();
|
|
2764
2760
|
try {
|
|
2765
|
-
var o =
|
|
2761
|
+
var o = Rt(t);
|
|
2766
2762
|
try {
|
|
2767
2763
|
for (var c = I(o), l = c.next(); !l.done; l = c.next()) {
|
|
2768
|
-
var s = l.value, u = Object.getOwnPropertyDescriptor(t, s), d = (n && s in n ? n[s] : u.get ?
|
|
2764
|
+
var s = l.value, u = Object.getOwnPropertyDescriptor(t, s), d = (n && s in n ? n[s] : u.get ? Sn : r)(e, s, u, !0);
|
|
2769
2765
|
d && Object.defineProperty(e, s, d);
|
|
2770
2766
|
}
|
|
2771
2767
|
} catch (e) {
|
|
@@ -2778,11 +2774,11 @@ function Lr(e, t, n, r) {
|
|
|
2778
2774
|
}
|
|
2779
2775
|
}
|
|
2780
2776
|
} finally {
|
|
2781
|
-
|
|
2777
|
+
U();
|
|
2782
2778
|
}
|
|
2783
2779
|
}
|
|
2784
2780
|
function Rr(e, t) {
|
|
2785
|
-
return zr(
|
|
2781
|
+
return zr($(e, t));
|
|
2786
2782
|
}
|
|
2787
2783
|
function zr(e) {
|
|
2788
2784
|
var t = { name: e.name };
|
|
@@ -2793,34 +2789,34 @@ function Br() {
|
|
|
2793
2789
|
}
|
|
2794
2790
|
Br.prototype = Object.create(Error.prototype);
|
|
2795
2791
|
function Vr(e, t) {
|
|
2796
|
-
return e == null ? !1 : t === void 0 ? Ei(e) || !!e[F] ||
|
|
2792
|
+
return e == null ? !1 : t === void 0 ? Ei(e) || !!e[F] || Bt(e) || gr(e) || Yn(e) : Ei(e) ? e[F].values.has(t) : !1;
|
|
2797
2793
|
}
|
|
2798
2794
|
function Hr(e) {
|
|
2799
|
-
return arguments.length !== 1 &&
|
|
2795
|
+
return arguments.length !== 1 && M(!1), Vr(e);
|
|
2800
2796
|
}
|
|
2801
2797
|
function Ur(e) {
|
|
2802
|
-
return Ei(e) ? e[F].getKeys() :
|
|
2798
|
+
return Ei(e) ? e[F].getKeys() : Z(e) || Q(e) ? Array.from(e.keys()) : di(e) ? e.map(function(e, t) {
|
|
2803
2799
|
return t;
|
|
2804
|
-
}) :
|
|
2800
|
+
}) : M(!1);
|
|
2805
2801
|
}
|
|
2806
2802
|
function Wr(e, t, n) {
|
|
2807
|
-
if (arguments.length === 2 &&
|
|
2808
|
-
|
|
2803
|
+
if (arguments.length === 2 && !Q(e)) {
|
|
2804
|
+
H();
|
|
2809
2805
|
var r = t;
|
|
2810
2806
|
try {
|
|
2811
2807
|
for (var i in r) Wr(e, i, r[i]);
|
|
2812
2808
|
} finally {
|
|
2813
|
-
|
|
2809
|
+
U();
|
|
2814
2810
|
}
|
|
2815
2811
|
return;
|
|
2816
2812
|
}
|
|
2817
2813
|
if (Ei(e)) {
|
|
2818
2814
|
var a = e[F];
|
|
2819
2815
|
a.values.get(t) ? a.write(t, n) : a.addObservableProp(t, n, a.defaultEnhancer);
|
|
2820
|
-
} else if (
|
|
2821
|
-
else if (
|
|
2822
|
-
else if (di(e)) typeof t != "number" && (t = parseInt(t, 10)), wt(t >= 0, "Not a valid index: '" + t + "'"),
|
|
2823
|
-
else return
|
|
2816
|
+
} else if (Z(e)) e.set(t, n);
|
|
2817
|
+
else if (Q(e)) e.add(t);
|
|
2818
|
+
else if (di(e)) typeof t != "number" && (t = parseInt(t, 10)), wt(t >= 0, "Not a valid index: '" + t + "'"), H(), t >= e.length && (e.length = t + 1), e[t] = n, U();
|
|
2819
|
+
else return M(!1);
|
|
2824
2820
|
}
|
|
2825
2821
|
var Gr = {
|
|
2826
2822
|
detectCycles: !0,
|
|
@@ -2844,7 +2840,7 @@ function qr(e, t, n) {
|
|
|
2844
2840
|
for (var a = 0, o = i.length; a < o; a++) r[a] = i[a];
|
|
2845
2841
|
return r;
|
|
2846
2842
|
}
|
|
2847
|
-
if (
|
|
2843
|
+
if (Q(e) || Object.getPrototypeOf(e) === Set.prototype) if (t.exportMapsAsObjects === !1) {
|
|
2848
2844
|
var s = Kr(n, e, /* @__PURE__ */ new Set(), t);
|
|
2849
2845
|
return e.forEach(function(e) {
|
|
2850
2846
|
s.add(qr(e, t, n));
|
|
@@ -2855,7 +2851,7 @@ function qr(e, t, n) {
|
|
|
2855
2851
|
c.push(qr(e, t, n));
|
|
2856
2852
|
}), c;
|
|
2857
2853
|
}
|
|
2858
|
-
if (
|
|
2854
|
+
if (Z(e) || Object.getPrototypeOf(e) === Map.prototype) if (t.exportMapsAsObjects === !1) {
|
|
2859
2855
|
var l = Kr(n, e, /* @__PURE__ */ new Map(), t);
|
|
2860
2856
|
return e.forEach(function(e, r) {
|
|
2861
2857
|
l.set(r, qr(e, t, n));
|
|
@@ -2880,22 +2876,22 @@ function Yr() {
|
|
|
2880
2876
|
var e = [...arguments], t = !1;
|
|
2881
2877
|
typeof e[e.length - 1] == "boolean" && (t = e.pop());
|
|
2882
2878
|
var n = Xr(e);
|
|
2883
|
-
if (!n) return
|
|
2879
|
+
if (!n) return M(!1);
|
|
2884
2880
|
n.isTracing === z.NONE && console.log("[mobx.trace] '" + n.name + "' tracing enabled"), n.isTracing = t ? z.BREAK : z.LOG;
|
|
2885
2881
|
}
|
|
2886
2882
|
function Xr(e) {
|
|
2887
2883
|
switch (e.length) {
|
|
2888
|
-
case 0: return
|
|
2889
|
-
case 1: return
|
|
2890
|
-
case 2: return
|
|
2884
|
+
case 0: return V.trackingDerivation;
|
|
2885
|
+
case 1: return $(e[0]);
|
|
2886
|
+
case 2: return $(e[0], e[1]);
|
|
2891
2887
|
}
|
|
2892
2888
|
}
|
|
2893
|
-
function
|
|
2894
|
-
t === void 0 && (t = void 0),
|
|
2889
|
+
function G(e, t) {
|
|
2890
|
+
t === void 0 && (t = void 0), H();
|
|
2895
2891
|
try {
|
|
2896
2892
|
return e.apply(t);
|
|
2897
2893
|
} finally {
|
|
2898
|
-
|
|
2894
|
+
U();
|
|
2899
2895
|
}
|
|
2900
2896
|
}
|
|
2901
2897
|
function Zr(e, t, n) {
|
|
@@ -2910,15 +2906,15 @@ function Qr(e, t, n) {
|
|
|
2910
2906
|
if (n.onError) n.onError(e);
|
|
2911
2907
|
else throw e;
|
|
2912
2908
|
}
|
|
2913
|
-
}, n.timeout)), n.name = n.name || "When@" +
|
|
2914
|
-
var i =
|
|
2909
|
+
}, n.timeout)), n.name = n.name || "When@" + j();
|
|
2910
|
+
var i = Bn(n.name + "-effect", t), a = Er(function(t) {
|
|
2915
2911
|
e() && (t.dispose(), r && clearTimeout(r), i());
|
|
2916
2912
|
}, n);
|
|
2917
2913
|
return a;
|
|
2918
2914
|
}
|
|
2919
2915
|
function $r(e, t) {
|
|
2920
2916
|
var n, r = new Promise(function(r, i) {
|
|
2921
|
-
var a = Qr(e, r,
|
|
2917
|
+
var a = Qr(e, r, Yt(Yt({}, t), { onError: i }));
|
|
2922
2918
|
n = function() {
|
|
2923
2919
|
a(), i("WHEN_CANCELLED");
|
|
2924
2920
|
};
|
|
@@ -2933,14 +2929,14 @@ function ti(e) {
|
|
|
2933
2929
|
}
|
|
2934
2930
|
var ni = {
|
|
2935
2931
|
has: function(e, t) {
|
|
2936
|
-
if (t === F || t === "constructor" || t ===
|
|
2932
|
+
if (t === F || t === "constructor" || t === Qt) return !0;
|
|
2937
2933
|
var n = ei(e);
|
|
2938
2934
|
return ti(t) ? n.has(t) : t in e;
|
|
2939
2935
|
},
|
|
2940
2936
|
get: function(e, t) {
|
|
2941
|
-
if (t === F || t === "constructor" || t ===
|
|
2937
|
+
if (t === F || t === "constructor" || t === Qt) return e[t];
|
|
2942
2938
|
var n = ei(e), r = n.values.get(t);
|
|
2943
|
-
if (r instanceof
|
|
2939
|
+
if (r instanceof zt) {
|
|
2944
2940
|
var i = r.get();
|
|
2945
2941
|
return i === void 0 && n.has(t), i;
|
|
2946
2942
|
}
|
|
@@ -2956,14 +2952,14 @@ var ni = {
|
|
|
2956
2952
|
return ei(e).keysAtom.reportObserved(), Reflect.ownKeys(e);
|
|
2957
2953
|
},
|
|
2958
2954
|
preventExtensions: function(e) {
|
|
2959
|
-
return
|
|
2955
|
+
return M("Dynamic observable objects cannot be frozen"), !1;
|
|
2960
2956
|
}
|
|
2961
2957
|
};
|
|
2962
2958
|
function ri(e) {
|
|
2963
2959
|
var t = new Proxy(e, ni);
|
|
2964
2960
|
return e[F].proxy = t, t;
|
|
2965
2961
|
}
|
|
2966
|
-
function
|
|
2962
|
+
function K(e) {
|
|
2967
2963
|
return e.interceptors !== void 0 && e.interceptors.length > 0;
|
|
2968
2964
|
}
|
|
2969
2965
|
function ii(e, t) {
|
|
@@ -2973,16 +2969,16 @@ function ii(e, t) {
|
|
|
2973
2969
|
e !== -1 && n.splice(e, 1);
|
|
2974
2970
|
});
|
|
2975
2971
|
}
|
|
2976
|
-
function
|
|
2977
|
-
var n =
|
|
2972
|
+
function q(e, t) {
|
|
2973
|
+
var n = Nn();
|
|
2978
2974
|
try {
|
|
2979
|
-
for (var r =
|
|
2975
|
+
for (var r = Zt(e.interceptors || []), i = 0, a = r.length; i < a && (t = r[i](t), wt(!t || t.type, "Intercept handlers should return nothing or a change object"), t); i++);
|
|
2980
2976
|
return t;
|
|
2981
2977
|
} finally {
|
|
2982
2978
|
B(n);
|
|
2983
2979
|
}
|
|
2984
2980
|
}
|
|
2985
|
-
function
|
|
2981
|
+
function J(e) {
|
|
2986
2982
|
return e.changeListeners !== void 0 && e.changeListeners.length > 0;
|
|
2987
2983
|
}
|
|
2988
2984
|
function ai(e, t) {
|
|
@@ -2992,8 +2988,8 @@ function ai(e, t) {
|
|
|
2992
2988
|
e !== -1 && n.splice(e, 1);
|
|
2993
2989
|
});
|
|
2994
2990
|
}
|
|
2995
|
-
function
|
|
2996
|
-
var n =
|
|
2991
|
+
function Y(e, t) {
|
|
2992
|
+
var n = Nn(), r = e.changeListeners;
|
|
2997
2993
|
if (r) {
|
|
2998
2994
|
r = r.slice();
|
|
2999
2995
|
for (var i = 0, a = r.length; i < a; i++) r[i](t);
|
|
@@ -3002,17 +2998,17 @@ function X(e, t) {
|
|
|
3002
2998
|
}
|
|
3003
2999
|
var oi = 1e4, si = {
|
|
3004
3000
|
get: function(e, t) {
|
|
3005
|
-
return t === F ? e[F] : t === "length" ? e[F].getArrayLength() : typeof t == "number" ?
|
|
3001
|
+
return t === F ? e[F] : t === "length" ? e[F].getArrayLength() : typeof t == "number" ? X.get.call(e, t) : typeof t == "string" && !isNaN(t) ? X.get.call(e, parseInt(t)) : X.hasOwnProperty(t) ? X[t] : e[t];
|
|
3006
3002
|
},
|
|
3007
3003
|
set: function(e, t, n) {
|
|
3008
|
-
return t === "length" && e[F].setArrayLength(n), typeof t == "number" &&
|
|
3004
|
+
return t === "length" && e[F].setArrayLength(n), typeof t == "number" && X.set.call(e, t, n), typeof t == "symbol" || isNaN(t) ? e[t] = n : X.set.call(e, parseInt(t), n), !0;
|
|
3009
3005
|
},
|
|
3010
3006
|
preventExtensions: function(e) {
|
|
3011
|
-
return
|
|
3007
|
+
return M("Observable arrays cannot be frozen"), !1;
|
|
3012
3008
|
}
|
|
3013
3009
|
};
|
|
3014
3010
|
function ci(e, t, n, r) {
|
|
3015
|
-
n === void 0 && (n = "ObservableArray@" +
|
|
3011
|
+
n === void 0 && (n = "ObservableArray@" + j()), r === void 0 && (r = !1);
|
|
3016
3012
|
var i = new li(n, t, r);
|
|
3017
3013
|
Mt(i.values, F, i);
|
|
3018
3014
|
var a = new Proxy(i.values, si);
|
|
@@ -3024,7 +3020,7 @@ function ci(e, t, n, r) {
|
|
|
3024
3020
|
}
|
|
3025
3021
|
var li = function() {
|
|
3026
3022
|
function e(e, t, n) {
|
|
3027
|
-
this.owned = n, this.values = [], this.proxy = void 0, this.lastKnownLength = 0, this.atom = new
|
|
3023
|
+
this.owned = n, this.values = [], this.proxy = void 0, this.lastKnownLength = 0, this.atom = new zt(e || "ObservableArray@" + j()), this.enhancer = function(n, r) {
|
|
3028
3024
|
return t(n, r, e + "[..]");
|
|
3029
3025
|
};
|
|
3030
3026
|
}
|
|
@@ -3058,10 +3054,10 @@ var li = function() {
|
|
|
3058
3054
|
this.lastKnownLength += t;
|
|
3059
3055
|
}, e.prototype.spliceWithArray = function(e, t, n) {
|
|
3060
3056
|
var r = this;
|
|
3061
|
-
|
|
3057
|
+
On(this.atom);
|
|
3062
3058
|
var i = this.values.length;
|
|
3063
|
-
if (e === void 0 ? e = 0 : e > i ? e = i : e < 0 && (e = Math.max(0, i + e)), t = arguments.length === 1 ? i - e : t == null ? 0 : Math.max(0, Math.min(t, i - e)), n === void 0 && (n = St),
|
|
3064
|
-
var a =
|
|
3059
|
+
if (e === void 0 ? e = 0 : e > i ? e = i : e < 0 && (e = Math.max(0, i + e)), t = arguments.length === 1 ? i - e : t == null ? 0 : Math.max(0, Math.min(t, i - e)), n === void 0 && (n = St), K(this)) {
|
|
3060
|
+
var a = q(this, {
|
|
3065
3061
|
object: this.proxy,
|
|
3066
3062
|
type: "splice",
|
|
3067
3063
|
index: e,
|
|
@@ -3078,20 +3074,20 @@ var li = function() {
|
|
|
3078
3074
|
return (t !== 0 || n.length !== 0) && this.notifyArraySplice(e, n, o), this.dehanceValues(o);
|
|
3079
3075
|
}, e.prototype.spliceItemsIntoValues = function(e, t, n) {
|
|
3080
3076
|
var r;
|
|
3081
|
-
if (n.length < oi) return (r = this.values).splice.apply(r,
|
|
3077
|
+
if (n.length < oi) return (r = this.values).splice.apply(r, Zt([e, t], n));
|
|
3082
3078
|
var i = this.values.slice(e, e + t);
|
|
3083
3079
|
return this.values = this.values.slice(0, e).concat(n, this.values.slice(e + t)), i;
|
|
3084
3080
|
}, e.prototype.notifyArrayChildUpdate = function(e, t, n) {
|
|
3085
|
-
var r = !this.owned &&
|
|
3081
|
+
var r = !this.owned && W(), i = J(this), a = i || r ? {
|
|
3086
3082
|
object: this.proxy,
|
|
3087
3083
|
type: "update",
|
|
3088
3084
|
index: e,
|
|
3089
3085
|
newValue: t,
|
|
3090
3086
|
oldValue: n
|
|
3091
3087
|
} : null;
|
|
3092
|
-
this.atom.reportChanged(), i &&
|
|
3088
|
+
this.atom.reportChanged(), i && Y(this, a);
|
|
3093
3089
|
}, e.prototype.notifyArraySplice = function(e, t, n) {
|
|
3094
|
-
var r = !this.owned &&
|
|
3090
|
+
var r = !this.owned && W(), i = J(this), a = i || r ? {
|
|
3095
3091
|
object: this.proxy,
|
|
3096
3092
|
type: "splice",
|
|
3097
3093
|
index: e,
|
|
@@ -3100,9 +3096,9 @@ var li = function() {
|
|
|
3100
3096
|
removedCount: n.length,
|
|
3101
3097
|
addedCount: t.length
|
|
3102
3098
|
} : null;
|
|
3103
|
-
this.atom.reportChanged(), i &&
|
|
3099
|
+
this.atom.reportChanged(), i && Y(this, a);
|
|
3104
3100
|
}, e;
|
|
3105
|
-
}(),
|
|
3101
|
+
}(), X = {
|
|
3106
3102
|
intercept: function(e) {
|
|
3107
3103
|
return this[F].intercept(e);
|
|
3108
3104
|
},
|
|
@@ -3170,10 +3166,10 @@ var li = function() {
|
|
|
3170
3166
|
set: function(e, t) {
|
|
3171
3167
|
var n = this[F], r = n.values;
|
|
3172
3168
|
if (e < r.length) {
|
|
3173
|
-
|
|
3169
|
+
On(n.atom);
|
|
3174
3170
|
var i = r[e];
|
|
3175
|
-
if (
|
|
3176
|
-
var a =
|
|
3171
|
+
if (K(n)) {
|
|
3172
|
+
var a = q(n, {
|
|
3177
3173
|
type: "update",
|
|
3178
3174
|
object: n.proxy,
|
|
3179
3175
|
index: e,
|
|
@@ -3198,7 +3194,7 @@ var li = function() {
|
|
|
3198
3194
|
"toString",
|
|
3199
3195
|
"toLocaleString"
|
|
3200
3196
|
].forEach(function(e) {
|
|
3201
|
-
typeof Array.prototype[e] == "function" && (
|
|
3197
|
+
typeof Array.prototype[e] == "function" && (X[e] = function() {
|
|
3202
3198
|
var t = this[F];
|
|
3203
3199
|
t.atom.reportObserved();
|
|
3204
3200
|
var n = t.dehanceValues(t.values);
|
|
@@ -3214,14 +3210,14 @@ var li = function() {
|
|
|
3214
3210
|
"map",
|
|
3215
3211
|
"some"
|
|
3216
3212
|
].forEach(function(e) {
|
|
3217
|
-
typeof Array.prototype[e] == "function" && (
|
|
3213
|
+
typeof Array.prototype[e] == "function" && (X[e] = function(t, n) {
|
|
3218
3214
|
var r = this, i = this[F];
|
|
3219
3215
|
return i.atom.reportObserved(), i.dehanceValues(i.values)[e](function(e, i) {
|
|
3220
3216
|
return t.call(n, e, i, r);
|
|
3221
3217
|
}, n);
|
|
3222
3218
|
});
|
|
3223
3219
|
}), ["reduce", "reduceRight"].forEach(function(e) {
|
|
3224
|
-
|
|
3220
|
+
X[e] = function() {
|
|
3225
3221
|
var t = this, n = this[F];
|
|
3226
3222
|
n.atom.reportObserved();
|
|
3227
3223
|
var r = arguments[0];
|
|
@@ -3230,23 +3226,23 @@ var li = function() {
|
|
|
3230
3226
|
}, n.values[e].apply(n.values, arguments);
|
|
3231
3227
|
};
|
|
3232
3228
|
});
|
|
3233
|
-
var ui =
|
|
3229
|
+
var ui = N("ObservableArrayAdministration", li);
|
|
3234
3230
|
function di(e) {
|
|
3235
3231
|
return Ot(e) && ui(e[F]);
|
|
3236
3232
|
}
|
|
3237
3233
|
var fi, pi = {}, mi = function() {
|
|
3238
3234
|
function e(e, t, n) {
|
|
3239
|
-
if (t === void 0 && (t =
|
|
3235
|
+
if (t === void 0 && (t = sn), n === void 0 && (n = "ObservableMap@" + j()), this.enhancer = t, this.name = n, this[fi] = pi, this._keysAtom = Vt(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");
|
|
3240
3236
|
this._data = /* @__PURE__ */ new Map(), this._hasMap = /* @__PURE__ */ new Map(), this.merge(e);
|
|
3241
3237
|
}
|
|
3242
3238
|
return e.prototype._has = function(e) {
|
|
3243
3239
|
return this._data.has(e);
|
|
3244
3240
|
}, e.prototype.has = function(e) {
|
|
3245
3241
|
var t = this;
|
|
3246
|
-
if (!
|
|
3242
|
+
if (!V.trackingDerivation) return this._has(e);
|
|
3247
3243
|
var n = this._hasMap.get(e);
|
|
3248
3244
|
if (!n) {
|
|
3249
|
-
var r = n = new Kn(this._has(e),
|
|
3245
|
+
var r = n = new Kn(this._has(e), ln, this.name + "." + P(e) + "?", !1);
|
|
3250
3246
|
this._hasMap.set(e, r), Mr(r, function() {
|
|
3251
3247
|
return t._hasMap.delete(e);
|
|
3252
3248
|
});
|
|
@@ -3254,8 +3250,8 @@ var fi, pi = {}, mi = function() {
|
|
|
3254
3250
|
return n.get();
|
|
3255
3251
|
}, e.prototype.set = function(e, t) {
|
|
3256
3252
|
var n = this._has(e);
|
|
3257
|
-
if (
|
|
3258
|
-
var r =
|
|
3253
|
+
if (K(this)) {
|
|
3254
|
+
var r = q(this, {
|
|
3259
3255
|
type: n ? "update" : "add",
|
|
3260
3256
|
object: this,
|
|
3261
3257
|
newValue: t,
|
|
@@ -3267,8 +3263,8 @@ var fi, pi = {}, mi = function() {
|
|
|
3267
3263
|
return n ? this._updateValue(e, t) : this._addValue(e, t), this;
|
|
3268
3264
|
}, e.prototype.delete = function(e) {
|
|
3269
3265
|
var t = this;
|
|
3270
|
-
if (
|
|
3271
|
-
var n =
|
|
3266
|
+
if (On(this._keysAtom), K(this)) {
|
|
3267
|
+
var n = q(this, {
|
|
3272
3268
|
type: "delete",
|
|
3273
3269
|
object: this,
|
|
3274
3270
|
name: e
|
|
@@ -3276,15 +3272,15 @@ var fi, pi = {}, mi = function() {
|
|
|
3276
3272
|
if (!n) return !1;
|
|
3277
3273
|
}
|
|
3278
3274
|
if (this._has(e)) {
|
|
3279
|
-
var r =
|
|
3275
|
+
var r = W(), i = J(this), n = i || r ? {
|
|
3280
3276
|
type: "delete",
|
|
3281
3277
|
object: this,
|
|
3282
3278
|
oldValue: this._data.get(e).value,
|
|
3283
3279
|
name: e
|
|
3284
3280
|
} : null;
|
|
3285
|
-
return
|
|
3281
|
+
return G(function() {
|
|
3286
3282
|
t._keysAtom.reportChanged(), t._updateHasMapEntry(e, !1), t._data.get(e).setNewValue(void 0), t._data.delete(e);
|
|
3287
|
-
}), i &&
|
|
3283
|
+
}), i && Y(this, n), !0;
|
|
3288
3284
|
}
|
|
3289
3285
|
return !1;
|
|
3290
3286
|
}, e.prototype._updateHasMapEntry = function(e, t) {
|
|
@@ -3292,29 +3288,29 @@ var fi, pi = {}, mi = function() {
|
|
|
3292
3288
|
n && n.setNewValue(t);
|
|
3293
3289
|
}, e.prototype._updateValue = function(e, t) {
|
|
3294
3290
|
var n = this._data.get(e);
|
|
3295
|
-
if (t = n.prepareNewValue(t), t !==
|
|
3296
|
-
var r =
|
|
3291
|
+
if (t = n.prepareNewValue(t), t !== V.UNCHANGED) {
|
|
3292
|
+
var r = W(), i = J(this), a = i || r ? {
|
|
3297
3293
|
type: "update",
|
|
3298
3294
|
object: this,
|
|
3299
3295
|
oldValue: n.value,
|
|
3300
3296
|
name: e,
|
|
3301
3297
|
newValue: t
|
|
3302
3298
|
} : null;
|
|
3303
|
-
n.setNewValue(t), i &&
|
|
3299
|
+
n.setNewValue(t), i && Y(this, a);
|
|
3304
3300
|
}
|
|
3305
3301
|
}, e.prototype._addValue = function(e, t) {
|
|
3306
3302
|
var n = this;
|
|
3307
|
-
|
|
3308
|
-
var r = new Kn(t, n.enhancer, n.name + "." +
|
|
3303
|
+
On(this._keysAtom), G(function() {
|
|
3304
|
+
var r = new Kn(t, n.enhancer, n.name + "." + P(e), !1);
|
|
3309
3305
|
n._data.set(e, r), t = r.value, n._updateHasMapEntry(e, !0), n._keysAtom.reportChanged();
|
|
3310
3306
|
});
|
|
3311
|
-
var r =
|
|
3307
|
+
var r = W(), i = J(this), a = i || r ? {
|
|
3312
3308
|
type: "add",
|
|
3313
3309
|
object: this,
|
|
3314
3310
|
name: e,
|
|
3315
3311
|
newValue: t
|
|
3316
3312
|
} : null;
|
|
3317
|
-
i &&
|
|
3313
|
+
i && Y(this, a);
|
|
3318
3314
|
}, e.prototype.get = function(e) {
|
|
3319
3315
|
return this.has(e) ? this.dehanceValue(this._data.get(e).get()) : this.dehanceValue(void 0);
|
|
3320
3316
|
}, e.prototype.dehanceValue = function(e) {
|
|
@@ -3323,7 +3319,7 @@ var fi, pi = {}, mi = function() {
|
|
|
3323
3319
|
return this._keysAtom.reportObserved(), this._data.keys();
|
|
3324
3320
|
}, e.prototype.values = function() {
|
|
3325
3321
|
var e = this, t = this.keys();
|
|
3326
|
-
return
|
|
3322
|
+
return Pi({ next: function() {
|
|
3327
3323
|
var n = t.next(), r = n.done, i = n.value;
|
|
3328
3324
|
return {
|
|
3329
3325
|
done: r,
|
|
@@ -3332,7 +3328,7 @@ var fi, pi = {}, mi = function() {
|
|
|
3332
3328
|
} });
|
|
3333
3329
|
}, e.prototype.entries = function() {
|
|
3334
3330
|
var e = this, t = this.keys();
|
|
3335
|
-
return
|
|
3331
|
+
return Pi({ next: function() {
|
|
3336
3332
|
var n = t.next(), r = n.done, i = n.value;
|
|
3337
3333
|
return {
|
|
3338
3334
|
done: r,
|
|
@@ -3345,7 +3341,7 @@ var fi, pi = {}, mi = function() {
|
|
|
3345
3341
|
var n, r;
|
|
3346
3342
|
try {
|
|
3347
3343
|
for (var i = I(this), a = i.next(); !a.done; a = i.next()) {
|
|
3348
|
-
var o =
|
|
3344
|
+
var o = Xt(a.value, 2), s = o[0], c = o[1];
|
|
3349
3345
|
e.call(t, c, s, this);
|
|
3350
3346
|
}
|
|
3351
3347
|
} catch (e) {
|
|
@@ -3359,25 +3355,25 @@ var fi, pi = {}, mi = function() {
|
|
|
3359
3355
|
}
|
|
3360
3356
|
}, e.prototype.merge = function(e) {
|
|
3361
3357
|
var t = this;
|
|
3362
|
-
return
|
|
3358
|
+
return Z(e) && (e = e.toJS()), G(function() {
|
|
3363
3359
|
var n = Wn(!0);
|
|
3364
3360
|
try {
|
|
3365
3361
|
kt(e) ? It(e).forEach(function(n) {
|
|
3366
3362
|
return t.set(n, e[n]);
|
|
3367
3363
|
}) : Array.isArray(e) ? e.forEach(function(e) {
|
|
3368
|
-
var n =
|
|
3364
|
+
var n = Xt(e, 2), r = n[0], i = n[1];
|
|
3369
3365
|
return t.set(r, i);
|
|
3370
|
-
}) : Pt(e) ? (e.constructor !== Map &&
|
|
3366
|
+
}) : Pt(e) ? (e.constructor !== Map && M("Cannot initialize from classes that inherit from Map: " + e.constructor.name), e.forEach(function(e, n) {
|
|
3371
3367
|
return t.set(n, e);
|
|
3372
|
-
})) : e != null &&
|
|
3368
|
+
})) : e != null && M("Cannot initialize map from " + e);
|
|
3373
3369
|
} finally {
|
|
3374
3370
|
Gn(n);
|
|
3375
3371
|
}
|
|
3376
3372
|
}), this;
|
|
3377
3373
|
}, e.prototype.clear = function() {
|
|
3378
3374
|
var e = this;
|
|
3379
|
-
|
|
3380
|
-
|
|
3375
|
+
G(function() {
|
|
3376
|
+
Mn(function() {
|
|
3381
3377
|
var t, n;
|
|
3382
3378
|
try {
|
|
3383
3379
|
for (var r = I(e.keys()), i = r.next(); !i.done; i = r.next()) {
|
|
@@ -3397,7 +3393,7 @@ var fi, pi = {}, mi = function() {
|
|
|
3397
3393
|
});
|
|
3398
3394
|
}, e.prototype.replace = function(e) {
|
|
3399
3395
|
var t = this;
|
|
3400
|
-
return
|
|
3396
|
+
return G(function() {
|
|
3401
3397
|
var n, r, i, a, o = At(e), s = /* @__PURE__ */ new Map(), c = !1;
|
|
3402
3398
|
try {
|
|
3403
3399
|
for (var l = I(t._data.keys()), u = l.next(); !u.done; u = l.next()) {
|
|
@@ -3419,7 +3415,7 @@ var fi, pi = {}, mi = function() {
|
|
|
3419
3415
|
}
|
|
3420
3416
|
try {
|
|
3421
3417
|
for (var p = I(o.entries()), m = p.next(); !m.done; m = p.next()) {
|
|
3422
|
-
var h =
|
|
3418
|
+
var h = Xt(m.value, 2), d = h[0], f = h[1], g = t._data.has(d);
|
|
3423
3419
|
if (t.set(d, f), t._data.has(d)) {
|
|
3424
3420
|
var _ = t._data.get(d);
|
|
3425
3421
|
s.set(d, _), g || (c = !0);
|
|
@@ -3454,8 +3450,8 @@ var fi, pi = {}, mi = function() {
|
|
|
3454
3450
|
var e, t, n = {};
|
|
3455
3451
|
try {
|
|
3456
3452
|
for (var r = I(this), i = r.next(); !i.done; i = r.next()) {
|
|
3457
|
-
var a =
|
|
3458
|
-
n[typeof o == "symbol" ? o :
|
|
3453
|
+
var a = Xt(i.value, 2), o = a[0], s = a[1];
|
|
3454
|
+
n[typeof o == "symbol" ? o : P(o)] = s;
|
|
3459
3455
|
}
|
|
3460
3456
|
} catch (t) {
|
|
3461
3457
|
e = { error: t };
|
|
@@ -3474,16 +3470,16 @@ var fi, pi = {}, mi = function() {
|
|
|
3474
3470
|
}, e.prototype.toString = function() {
|
|
3475
3471
|
var e = this;
|
|
3476
3472
|
return this.name + "[{ " + Array.from(this.keys()).map(function(t) {
|
|
3477
|
-
return
|
|
3473
|
+
return P(t) + ": " + ("" + e.get(t));
|
|
3478
3474
|
}).join(", ") + " }]";
|
|
3479
3475
|
}, e.prototype.observe = function(e, t) {
|
|
3480
3476
|
return ai(this, e);
|
|
3481
3477
|
}, e.prototype.intercept = function(e) {
|
|
3482
3478
|
return ii(this, e);
|
|
3483
3479
|
}, e;
|
|
3484
|
-
}(),
|
|
3480
|
+
}(), Z = N("ObservableMap", mi), hi, gi = {}, _i = function() {
|
|
3485
3481
|
function e(e, t, n) {
|
|
3486
|
-
if (t === void 0 && (t =
|
|
3482
|
+
if (t === void 0 && (t = sn), n === void 0 && (n = "ObservableSet@" + j()), this.name = n, this[hi] = gi, this._data = /* @__PURE__ */ new Set(), this._atom = Vt(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");
|
|
3487
3483
|
this.enhancer = function(e, r) {
|
|
3488
3484
|
return t(e, r, n);
|
|
3489
3485
|
}, e && this.replace(e);
|
|
@@ -3492,8 +3488,8 @@ var fi, pi = {}, mi = function() {
|
|
|
3492
3488
|
return this.dehancer === void 0 ? e : this.dehancer(e);
|
|
3493
3489
|
}, e.prototype.clear = function() {
|
|
3494
3490
|
var e = this;
|
|
3495
|
-
|
|
3496
|
-
|
|
3491
|
+
G(function() {
|
|
3492
|
+
Mn(function() {
|
|
3497
3493
|
var t, n;
|
|
3498
3494
|
try {
|
|
3499
3495
|
for (var r = I(e._data.values()), i = r.next(); !i.done; i = r.next()) {
|
|
@@ -3535,8 +3531,8 @@ var fi, pi = {}, mi = function() {
|
|
|
3535
3531
|
configurable: !0
|
|
3536
3532
|
}), e.prototype.add = function(e) {
|
|
3537
3533
|
var t = this;
|
|
3538
|
-
if (
|
|
3539
|
-
var n =
|
|
3534
|
+
if (On(this._atom), K(this)) {
|
|
3535
|
+
var n = q(this, {
|
|
3540
3536
|
type: "add",
|
|
3541
3537
|
object: this,
|
|
3542
3538
|
newValue: e
|
|
@@ -3544,21 +3540,21 @@ var fi, pi = {}, mi = function() {
|
|
|
3544
3540
|
if (!n) return this;
|
|
3545
3541
|
}
|
|
3546
3542
|
if (!this.has(e)) {
|
|
3547
|
-
|
|
3543
|
+
G(function() {
|
|
3548
3544
|
t._data.add(t.enhancer(e, void 0)), t._atom.reportChanged();
|
|
3549
3545
|
});
|
|
3550
|
-
var r =
|
|
3546
|
+
var r = W(), i = J(this), n = i || r ? {
|
|
3551
3547
|
type: "add",
|
|
3552
3548
|
object: this,
|
|
3553
3549
|
newValue: e
|
|
3554
3550
|
} : null;
|
|
3555
|
-
i &&
|
|
3551
|
+
i && Y(this, n);
|
|
3556
3552
|
}
|
|
3557
3553
|
return this;
|
|
3558
3554
|
}, e.prototype.delete = function(e) {
|
|
3559
3555
|
var t = this;
|
|
3560
|
-
if (
|
|
3561
|
-
var n =
|
|
3556
|
+
if (K(this)) {
|
|
3557
|
+
var n = q(this, {
|
|
3562
3558
|
type: "delete",
|
|
3563
3559
|
object: this,
|
|
3564
3560
|
oldValue: e
|
|
@@ -3566,21 +3562,21 @@ var fi, pi = {}, mi = function() {
|
|
|
3566
3562
|
if (!n) return !1;
|
|
3567
3563
|
}
|
|
3568
3564
|
if (this.has(e)) {
|
|
3569
|
-
var r =
|
|
3565
|
+
var r = W(), i = J(this), n = i || r ? {
|
|
3570
3566
|
type: "delete",
|
|
3571
3567
|
object: this,
|
|
3572
3568
|
oldValue: e
|
|
3573
3569
|
} : null;
|
|
3574
|
-
return
|
|
3570
|
+
return G(function() {
|
|
3575
3571
|
t._atom.reportChanged(), t._data.delete(e);
|
|
3576
|
-
}), i &&
|
|
3572
|
+
}), i && Y(this, n), !0;
|
|
3577
3573
|
}
|
|
3578
3574
|
return !1;
|
|
3579
3575
|
}, e.prototype.has = function(e) {
|
|
3580
3576
|
return this._atom.reportObserved(), this._data.has(this.dehanceValue(e));
|
|
3581
3577
|
}, e.prototype.entries = function() {
|
|
3582
3578
|
var e = 0, t = Array.from(this.keys()), n = Array.from(this.values());
|
|
3583
|
-
return
|
|
3579
|
+
return Pi({ next: function() {
|
|
3584
3580
|
var r = e;
|
|
3585
3581
|
return e += 1, r < n.length ? {
|
|
3586
3582
|
value: [t[r], n[r]],
|
|
@@ -3592,7 +3588,7 @@ var fi, pi = {}, mi = function() {
|
|
|
3592
3588
|
}, e.prototype.values = function() {
|
|
3593
3589
|
this._atom.reportObserved();
|
|
3594
3590
|
var e = this, t = 0, n = Array.from(this._data.values());
|
|
3595
|
-
return
|
|
3591
|
+
return Pi({ next: function() {
|
|
3596
3592
|
return t < n.length ? {
|
|
3597
3593
|
value: e.dehanceValue(n[t++]),
|
|
3598
3594
|
done: !1
|
|
@@ -3600,12 +3596,12 @@ var fi, pi = {}, mi = function() {
|
|
|
3600
3596
|
} });
|
|
3601
3597
|
}, e.prototype.replace = function(e) {
|
|
3602
3598
|
var t = this;
|
|
3603
|
-
return
|
|
3599
|
+
return Q(e) && (e = e.toJS()), G(function() {
|
|
3604
3600
|
var n = Wn(!0);
|
|
3605
3601
|
try {
|
|
3606
3602
|
Array.isArray(e) || Ft(e) ? (t.clear(), e.forEach(function(e) {
|
|
3607
3603
|
return t.add(e);
|
|
3608
|
-
})) : e != null &&
|
|
3604
|
+
})) : e != null && M("Cannot initialize set from " + e);
|
|
3609
3605
|
} finally {
|
|
3610
3606
|
Gn(n);
|
|
3611
3607
|
}
|
|
@@ -3621,9 +3617,9 @@ var fi, pi = {}, mi = function() {
|
|
|
3621
3617
|
}, e.prototype[hi = F, Symbol.iterator] = function() {
|
|
3622
3618
|
return this.values();
|
|
3623
3619
|
}, e;
|
|
3624
|
-
}(),
|
|
3620
|
+
}(), Q = N("ObservableSet", _i), vi = function() {
|
|
3625
3621
|
function e(e, t, n, r) {
|
|
3626
|
-
t === void 0 && (t = /* @__PURE__ */ new Map()), this.target = e, this.values = t, this.name = n, this.defaultEnhancer = r, this.keysAtom = new
|
|
3622
|
+
t === void 0 && (t = /* @__PURE__ */ new Map()), this.target = e, this.values = t, this.name = n, this.defaultEnhancer = r, this.keysAtom = new zt(n + ".keys");
|
|
3627
3623
|
}
|
|
3628
3624
|
return e.prototype.read = function(e) {
|
|
3629
3625
|
return this.values.get(e).get();
|
|
@@ -3633,8 +3629,8 @@ var fi, pi = {}, mi = function() {
|
|
|
3633
3629
|
r.set(t);
|
|
3634
3630
|
return;
|
|
3635
3631
|
}
|
|
3636
|
-
if (
|
|
3637
|
-
var i =
|
|
3632
|
+
if (K(this)) {
|
|
3633
|
+
var i = q(this, {
|
|
3638
3634
|
type: "update",
|
|
3639
3635
|
object: this.proxy || n,
|
|
3640
3636
|
name: e,
|
|
@@ -3643,24 +3639,24 @@ var fi, pi = {}, mi = function() {
|
|
|
3643
3639
|
if (!i) return;
|
|
3644
3640
|
t = i.newValue;
|
|
3645
3641
|
}
|
|
3646
|
-
if (t = r.prepareNewValue(t), t !==
|
|
3647
|
-
var a =
|
|
3642
|
+
if (t = r.prepareNewValue(t), t !== V.UNCHANGED) {
|
|
3643
|
+
var a = J(this), o = W(), i = a || o ? {
|
|
3648
3644
|
type: "update",
|
|
3649
3645
|
object: this.proxy || n,
|
|
3650
3646
|
oldValue: r.value,
|
|
3651
3647
|
name: e,
|
|
3652
3648
|
newValue: t
|
|
3653
3649
|
} : null;
|
|
3654
|
-
r.setNewValue(t), a &&
|
|
3650
|
+
r.setNewValue(t), a && Y(this, i);
|
|
3655
3651
|
}
|
|
3656
3652
|
}, e.prototype.has = function(e) {
|
|
3657
3653
|
var t = this.pendingKeys || (this.pendingKeys = /* @__PURE__ */ new Map()), n = t.get(e);
|
|
3658
|
-
return n ? n.get() : (n = new Kn(!!this.values.get(e),
|
|
3654
|
+
return n ? n.get() : (n = new Kn(!!this.values.get(e), ln, this.name + "." + P(e) + "?", !1), t.set(e, n), n.get());
|
|
3659
3655
|
}, e.prototype.addObservableProp = function(e, t, n) {
|
|
3660
3656
|
n === void 0 && (n = this.defaultEnhancer);
|
|
3661
3657
|
var r = this.target;
|
|
3662
|
-
if (
|
|
3663
|
-
var i =
|
|
3658
|
+
if (K(this)) {
|
|
3659
|
+
var i = q(this, {
|
|
3664
3660
|
object: this.proxy || r,
|
|
3665
3661
|
name: e,
|
|
3666
3662
|
type: "add",
|
|
@@ -3669,16 +3665,16 @@ var fi, pi = {}, mi = function() {
|
|
|
3669
3665
|
if (!i) return;
|
|
3670
3666
|
t = i.newValue;
|
|
3671
3667
|
}
|
|
3672
|
-
var a = new Kn(t, n, this.name + "." +
|
|
3668
|
+
var a = new Kn(t, n, this.name + "." + P(e), !1);
|
|
3673
3669
|
this.values.set(e, a), t = a.value, Object.defineProperty(r, e, Si(e)), this.notifyPropertyAddition(e, t);
|
|
3674
3670
|
}, e.prototype.addComputedProp = function(e, t, n) {
|
|
3675
3671
|
var r = this.target;
|
|
3676
|
-
n.name = n.name || this.name + "." +
|
|
3672
|
+
n.name = n.name || this.name + "." + P(t), this.values.set(t, new Jn(n)), (e === r || Nt(e, t)) && Object.defineProperty(e, t, wi(t));
|
|
3677
3673
|
}, e.prototype.remove = function(e) {
|
|
3678
3674
|
if (this.values.has(e)) {
|
|
3679
3675
|
var t = this.target;
|
|
3680
|
-
if (
|
|
3681
|
-
var n =
|
|
3676
|
+
if (K(this)) {
|
|
3677
|
+
var n = q(this, {
|
|
3682
3678
|
object: this.proxy || t,
|
|
3683
3679
|
name: e,
|
|
3684
3680
|
type: "remove"
|
|
@@ -3686,8 +3682,8 @@ var fi, pi = {}, mi = function() {
|
|
|
3686
3682
|
if (!n) return;
|
|
3687
3683
|
}
|
|
3688
3684
|
try {
|
|
3689
|
-
|
|
3690
|
-
var r =
|
|
3685
|
+
H();
|
|
3686
|
+
var r = J(this), i = W(), a = this.values.get(e), o = a && a.get();
|
|
3691
3687
|
if (a && a.set(void 0), this.keysAtom.reportChanged(), this.values.delete(e), this.pendingKeys) {
|
|
3692
3688
|
var s = this.pendingKeys.get(e);
|
|
3693
3689
|
s && s.set(!1);
|
|
@@ -3699,9 +3695,9 @@ var fi, pi = {}, mi = function() {
|
|
|
3699
3695
|
oldValue: o,
|
|
3700
3696
|
name: e
|
|
3701
3697
|
} : null;
|
|
3702
|
-
r &&
|
|
3698
|
+
r && Y(this, n);
|
|
3703
3699
|
} finally {
|
|
3704
|
-
|
|
3700
|
+
U();
|
|
3705
3701
|
}
|
|
3706
3702
|
}
|
|
3707
3703
|
}, e.prototype.illegalAccess = function(e, t) {
|
|
@@ -3711,13 +3707,13 @@ var fi, pi = {}, mi = function() {
|
|
|
3711
3707
|
}, e.prototype.intercept = function(e) {
|
|
3712
3708
|
return ii(this, e);
|
|
3713
3709
|
}, e.prototype.notifyPropertyAddition = function(e, t) {
|
|
3714
|
-
var n =
|
|
3710
|
+
var n = J(this), r = W(), i = n || r ? {
|
|
3715
3711
|
type: "add",
|
|
3716
3712
|
object: this.proxy || this.target,
|
|
3717
3713
|
name: e,
|
|
3718
3714
|
newValue: t
|
|
3719
3715
|
} : null;
|
|
3720
|
-
if (n &&
|
|
3716
|
+
if (n && Y(this, i), this.pendingKeys) {
|
|
3721
3717
|
var a = this.pendingKeys.get(e);
|
|
3722
3718
|
a && a.set(!0);
|
|
3723
3719
|
}
|
|
@@ -3728,7 +3724,7 @@ var fi, pi = {}, mi = function() {
|
|
|
3728
3724
|
var n = [];
|
|
3729
3725
|
try {
|
|
3730
3726
|
for (var r = I(this.values), i = r.next(); !i.done; i = r.next()) {
|
|
3731
|
-
var a =
|
|
3727
|
+
var a = Xt(i.value, 2), o = a[0];
|
|
3732
3728
|
a[1] instanceof Kn && n.push(o);
|
|
3733
3729
|
}
|
|
3734
3730
|
} catch (t) {
|
|
@@ -3744,9 +3740,9 @@ var fi, pi = {}, mi = function() {
|
|
|
3744
3740
|
}, e;
|
|
3745
3741
|
}();
|
|
3746
3742
|
function yi(e, t, n) {
|
|
3747
|
-
if (t === void 0 && (t = ""), n === void 0 && (n =
|
|
3748
|
-
kt(e) || (t = (e.constructor.name || "ObservableObject") + "@" +
|
|
3749
|
-
var r = new vi(e, /* @__PURE__ */ new Map(),
|
|
3743
|
+
if (t === void 0 && (t = ""), n === void 0 && (n = sn), Object.prototype.hasOwnProperty.call(e, F)) return e[F];
|
|
3744
|
+
kt(e) || (t = (e.constructor.name || "ObservableObject") + "@" + j()), t || (t = "ObservableObject@" + j());
|
|
3745
|
+
var r = new vi(e, /* @__PURE__ */ new Map(), P(t), n);
|
|
3750
3746
|
return jt(e, F, r), r;
|
|
3751
3747
|
}
|
|
3752
3748
|
var bi = Object.create(null), xi = Object.create(null);
|
|
@@ -3763,11 +3759,11 @@ function Si(e) {
|
|
|
3763
3759
|
});
|
|
3764
3760
|
}
|
|
3765
3761
|
function Ci(e) {
|
|
3766
|
-
return e[F] || (
|
|
3762
|
+
return e[F] || (rn(e), e[F]);
|
|
3767
3763
|
}
|
|
3768
3764
|
function wi(e) {
|
|
3769
3765
|
return xi[e] || (xi[e] = {
|
|
3770
|
-
configurable:
|
|
3766
|
+
configurable: V.computedConfigurable,
|
|
3771
3767
|
enumerable: !1,
|
|
3772
3768
|
get: function() {
|
|
3773
3769
|
return Ci(this).read(e);
|
|
@@ -3777,50 +3773,50 @@ function wi(e) {
|
|
|
3777
3773
|
}
|
|
3778
3774
|
});
|
|
3779
3775
|
}
|
|
3780
|
-
var Ti =
|
|
3776
|
+
var Ti = N("ObservableObjectAdministration", vi);
|
|
3781
3777
|
function Ei(e) {
|
|
3782
|
-
return Ot(e) ? (
|
|
3778
|
+
return Ot(e) ? (rn(e), Ti(e[F])) : !1;
|
|
3783
3779
|
}
|
|
3784
|
-
function
|
|
3780
|
+
function $(e, t) {
|
|
3785
3781
|
if (typeof e == "object" && e) {
|
|
3786
|
-
if (di(e)) return t !== void 0 &&
|
|
3787
|
-
if (
|
|
3788
|
-
if (
|
|
3782
|
+
if (di(e)) return t !== void 0 && M(!1), e[F].atom;
|
|
3783
|
+
if (Q(e)) return e[F];
|
|
3784
|
+
if (Z(e)) {
|
|
3789
3785
|
var n = e;
|
|
3790
3786
|
if (t === void 0) return n._keysAtom;
|
|
3791
3787
|
var r = n._data.get(t) || n._hasMap.get(t);
|
|
3792
|
-
return r ||
|
|
3788
|
+
return r || M(!1), r;
|
|
3793
3789
|
}
|
|
3794
|
-
if (
|
|
3795
|
-
if (!t) return
|
|
3790
|
+
if (rn(e), t && !e[F] && e[t], Ei(e)) {
|
|
3791
|
+
if (!t) return M(!1);
|
|
3796
3792
|
var r = e[F].values.get(t);
|
|
3797
|
-
return r ||
|
|
3793
|
+
return r || M(!1), r;
|
|
3798
3794
|
}
|
|
3799
|
-
if (
|
|
3795
|
+
if (Bt(e) || Yn(e) || gr(e)) return e;
|
|
3800
3796
|
} else if (typeof e == "function" && gr(e[F])) return e[F];
|
|
3801
|
-
return
|
|
3797
|
+
return M(!1);
|
|
3802
3798
|
}
|
|
3803
|
-
function
|
|
3804
|
-
if (e ||
|
|
3805
|
-
if (
|
|
3806
|
-
if (
|
|
3807
|
-
|
|
3799
|
+
function Di(e, t) {
|
|
3800
|
+
if (e || M("Expecting some object"), t !== void 0) return Di($(e, t));
|
|
3801
|
+
if (Bt(e) || Yn(e) || gr(e) || Z(e) || Q(e)) return e;
|
|
3802
|
+
if (rn(e), e[F]) return e[F];
|
|
3803
|
+
M(!1);
|
|
3808
3804
|
}
|
|
3809
|
-
function
|
|
3810
|
-
return (t === void 0 ? Ei(e) ||
|
|
3805
|
+
function Oi(e, t) {
|
|
3806
|
+
return (t === void 0 ? Ei(e) || Z(e) || Q(e) ? Di(e) : $(e) : $(e, t)).name;
|
|
3811
3807
|
}
|
|
3812
|
-
var
|
|
3813
|
-
function
|
|
3814
|
-
return n === void 0 && (n = -1),
|
|
3808
|
+
var ki = Object.prototype.toString;
|
|
3809
|
+
function Ai(e, t, n) {
|
|
3810
|
+
return n === void 0 && (n = -1), ji(e, t, n);
|
|
3815
3811
|
}
|
|
3816
|
-
function
|
|
3812
|
+
function ji(e, t, n, r, i) {
|
|
3817
3813
|
if (e === t) return e !== 0 || 1 / e == 1 / t;
|
|
3818
3814
|
if (e == null || t == null) return !1;
|
|
3819
3815
|
if (e !== e) return t !== t;
|
|
3820
3816
|
var a = typeof e;
|
|
3821
3817
|
if (a !== "function" && a !== "object" && typeof t != "object") return !1;
|
|
3822
|
-
var o =
|
|
3823
|
-
if (o !==
|
|
3818
|
+
var o = ki.call(e);
|
|
3819
|
+
if (o !== ki.call(t)) return !1;
|
|
3824
3820
|
switch (o) {
|
|
3825
3821
|
case "[object RegExp]":
|
|
3826
3822
|
case "[object String]": return "" + e == "" + t;
|
|
@@ -3833,7 +3829,7 @@ function Mi(e, t, n, r, i) {
|
|
|
3833
3829
|
n >= 0 && n++;
|
|
3834
3830
|
break;
|
|
3835
3831
|
}
|
|
3836
|
-
e =
|
|
3832
|
+
e = Mi(e), t = Mi(t);
|
|
3837
3833
|
var s = o === "[object Array]";
|
|
3838
3834
|
if (!s) {
|
|
3839
3835
|
if (typeof e != "object" || typeof t != "object") return !1;
|
|
@@ -3845,24 +3841,24 @@ function Mi(e, t, n, r, i) {
|
|
|
3845
3841
|
for (var u = r.length; u--;) if (r[u] === e) return i[u] === t;
|
|
3846
3842
|
if (r.push(e), i.push(t), s) {
|
|
3847
3843
|
if (u = e.length, u !== t.length) return !1;
|
|
3848
|
-
for (; u--;) if (!
|
|
3844
|
+
for (; u--;) if (!ji(e[u], t[u], n - 1, r, i)) return !1;
|
|
3849
3845
|
} else {
|
|
3850
3846
|
var d = Object.keys(e), f = void 0;
|
|
3851
3847
|
if (u = d.length, Object.keys(t).length !== u) return !1;
|
|
3852
|
-
for (; u--;) if (f = d[u], !(
|
|
3848
|
+
for (; u--;) if (f = d[u], !(Ni(t, f) && ji(e[f], t[f], n - 1, r, i))) return !1;
|
|
3853
3849
|
}
|
|
3854
3850
|
return r.pop(), i.pop(), !0;
|
|
3855
3851
|
}
|
|
3856
|
-
function
|
|
3857
|
-
return di(e) ? e.slice() : Pt(e) ||
|
|
3852
|
+
function Mi(e) {
|
|
3853
|
+
return di(e) ? e.slice() : Pt(e) || Z(e) || Ft(e) || Q(e) ? Array.from(e.entries()) : e;
|
|
3858
3854
|
}
|
|
3859
|
-
function
|
|
3855
|
+
function Ni(e, t) {
|
|
3860
3856
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
3861
3857
|
}
|
|
3862
|
-
function
|
|
3863
|
-
return e[Symbol.iterator] =
|
|
3858
|
+
function Pi(e) {
|
|
3859
|
+
return e[Symbol.iterator] = Fi, e;
|
|
3864
3860
|
}
|
|
3865
|
-
function
|
|
3861
|
+
function Fi() {
|
|
3866
3862
|
return this;
|
|
3867
3863
|
}
|
|
3868
3864
|
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.");
|
|
@@ -3871,12 +3867,12 @@ if (typeof Proxy > "u" || typeof Symbol > "u") throw Error("[mobx] MobX 5+ requi
|
|
|
3871
3867
|
e.name;
|
|
3872
3868
|
})(), typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
3873
3869
|
spy: vr,
|
|
3874
|
-
extras: { getDebugName:
|
|
3870
|
+
extras: { getDebugName: Oi },
|
|
3875
3871
|
$mobx: F
|
|
3876
3872
|
});
|
|
3877
3873
|
//#endregion
|
|
3878
3874
|
//#region src/locales.ts
|
|
3879
|
-
var
|
|
3875
|
+
var Ii = {
|
|
3880
3876
|
de: "Deutsch",
|
|
3881
3877
|
en: "English",
|
|
3882
3878
|
es: "Español",
|
|
@@ -3901,47 +3897,47 @@ var Li = {
|
|
|
3901
3897
|
};
|
|
3902
3898
|
//#endregion
|
|
3903
3899
|
//#region src/utils/localStorage.ts
|
|
3904
|
-
function
|
|
3900
|
+
function Li() {
|
|
3905
3901
|
try {
|
|
3906
3902
|
return localStorage.setItem("test", "test"), localStorage.removeItem("test"), !0;
|
|
3907
3903
|
} catch {
|
|
3908
3904
|
return !1;
|
|
3909
3905
|
}
|
|
3910
3906
|
}
|
|
3911
|
-
var
|
|
3912
|
-
if (!
|
|
3913
|
-
let e = localStorage.getItem(
|
|
3914
|
-
return t && localStorage.removeItem(
|
|
3915
|
-
},
|
|
3907
|
+
var Ri = Li(), zi = "en", Bi = "efp-locale", Vi = "language", Hi = L.box(zi), Ui = L.array([], { deep: !1 }), Wi = (e) => Oe(`${he}locales/${e}.json`), Gi = () => {
|
|
3908
|
+
if (!Ri) return null;
|
|
3909
|
+
let e = localStorage.getItem(Bi), t = localStorage.getItem(Vi);
|
|
3910
|
+
return t && localStorage.removeItem(Vi), e || (t && localStorage.setItem(Bi, t), t);
|
|
3911
|
+
}, Ki = () => {
|
|
3916
3912
|
var e;
|
|
3917
|
-
let t = window.__data, n = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, r = Object.keys(
|
|
3918
|
-
return (
|
|
3919
|
-
},
|
|
3920
|
-
|
|
3913
|
+
let t = window.__data, n = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, r = Object.keys(Ii).find((e) => n.startsWith(e));
|
|
3914
|
+
return (Gi() || (t == null ? void 0 : t.locale) || r || zi).toLowerCase();
|
|
3915
|
+
}, qi = () => Hi.get(), Ji = () => Ui, Yi = (e) => Ui.some((t) => t.id === e), Xi = (e, t) => (Hi.get(), bt.t(e, t)), Zi = async () => {
|
|
3916
|
+
Ui.replace(Object.entries(Ii).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
|
|
3921
3917
|
id: e,
|
|
3922
3918
|
name: t,
|
|
3923
3919
|
entity: { type: ne }
|
|
3924
3920
|
})));
|
|
3925
|
-
let e =
|
|
3926
|
-
if (e !==
|
|
3927
|
-
t[e] = { translation: await
|
|
3921
|
+
let e = Ki(), t = {};
|
|
3922
|
+
if (e !== zi) try {
|
|
3923
|
+
t[e] = { translation: await Wi(e) };
|
|
3928
3924
|
} catch (t) {
|
|
3929
|
-
console.error(`Unable to load "${e}" localization, falling back to "${
|
|
3925
|
+
console.error(`Unable to load "${e}" localization, falling back to "${zi}".`, t), e = zi;
|
|
3930
3926
|
}
|
|
3931
|
-
return
|
|
3927
|
+
return Hi.set(e), bt.init({
|
|
3932
3928
|
resources: t,
|
|
3933
3929
|
lng: e,
|
|
3934
3930
|
keySeparator: !1,
|
|
3935
|
-
saveMissing: e !==
|
|
3931
|
+
saveMissing: e !== zi,
|
|
3936
3932
|
missingKeyHandler: (e, t, n, r) => console.debug(`i18n missing key: '${e[0]}:${t}:${n}', fallback: '${r}'`)
|
|
3937
3933
|
});
|
|
3938
|
-
},
|
|
3934
|
+
}, Qi = async (e) => {
|
|
3939
3935
|
let t = e.toLowerCase();
|
|
3940
3936
|
try {
|
|
3941
|
-
t !==
|
|
3937
|
+
t !== zi && !bt.hasResourceBundle(t, "translation") && bt.addResourceBundle(t, "translation", await Wi(t), !0, !0), await bt.changeLanguage(t), Hi.set(t), Ri && localStorage.setItem(Bi, t);
|
|
3942
3938
|
} catch (e) {
|
|
3943
3939
|
console.error(`Failed to switch language to "${t}":`, e);
|
|
3944
3940
|
}
|
|
3945
|
-
},
|
|
3941
|
+
}, $i = async () => (Ri && (localStorage.removeItem(Bi), localStorage.removeItem(Vi)), Qi(Ki()));
|
|
3946
3942
|
//#endregion
|
|
3947
|
-
export { l as $,
|
|
3943
|
+
export { l as $, Ee as A, ue as B, He as C, je as D, Ne as E, g as F, te as G, le as H, _ as I, ee as J, h as K, oe as L, f as M, v as N, Ae as O, S as P, d as Q, se as R, Zr as S, ke as T, p as U, C as V, ne as W, y as X, x as Y, b as Z, kr as _, $i as a, fe as at, Jr as b, Ri as c, s as ct, Er as d, u as et, Kt as f, L as g, Rr as h, Zi as i, ae as it, he as j, De as k, dr as l, Pr as m, Ji as n, re as nt, Qi as o, pe as ot, wn as p, de as q, Yi as r, ie as rt, Xi as s, c as st, qi as t, m as tt, Cr as u, wr as v, ze as w, G as x, vr as y, ce as z };
|