@expofp/floorplan 3.18.1 → 3.19.0

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.
Files changed (93) hide show
  1. package/dist/browser/{Button-D24xOa4I.js → Button-CSjGwCw8.js} +5 -5
  2. package/dist/browser/{CookieConsent-BTzsoyoV.js → CookieConsent-DoKq6i8L.js} +7 -7
  3. package/dist/browser/{Debug-CqKhUi06.js → Debug-5zEiNUyg.js} +7 -7
  4. package/dist/browser/{Demo-B3EOY0Xq.js → Demo-gYGSSAX-.js} +9 -9
  5. package/dist/browser/{Free-pY7M8m4h.js → Free-3I9CaGED.js} +9 -9
  6. package/dist/browser/{Gallery-A8cqqrTJ.js → Gallery-DvczhcFU.js} +9 -9
  7. package/dist/browser/{GpsLoader-DpJhUdzw.js → GpsLoader-CkmCme_P.js} +28 -28
  8. package/dist/browser/{KioskStore-DICU_c9W.js → KioskStore-Dkc03BJk.js} +7 -7
  9. package/dist/browser/{MaplibreAdapter-DDSPODNR.js → MaplibreAdapter-DRlvaZ7C.js} +2268 -2027
  10. package/dist/browser/{ModalContainer-DnwGQgDt.js → ModalContainer-h3TovgWF.js} +10 -10
  11. package/dist/browser/{PermissionNotice-Gw1lUPnc.js → PermissionNotice-B8j8TR_D.js} +6 -6
  12. package/dist/browser/{SetKioskMode-mh3piul9.js → SetKioskMode-C4NKwotU.js} +9 -9
  13. package/dist/browser/{ShowKiosk-zkF-CXr8.js → ShowKiosk-BBmrToaF.js} +12 -12
  14. package/dist/browser/{TouchHand-DWec6Hd2.js → TouchHand-DRif3YH_.js} +4 -4
  15. package/dist/browser/{ViewerMenuPanel-C_wp1AsD.js → ViewerMenuPanel-YpBiORHt.js} +10 -10
  16. package/dist/browser/{add-debug-secret-listener-DVLr6HP8.js → add-debug-secret-listener-CFqwaslU.js} +1 -1
  17. package/dist/browser/{adopt-global-settings-Btj0VnLn.js → adopt-global-settings-B0JmlKXZ.js} +9 -9
  18. package/dist/browser/{boolean-editor-BpIQdba3.js → boolean-editor-XhzKDQsF.js} +9 -9
  19. package/dist/browser/{bootIntercom-DSg-Cxkq.js → bootIntercom-CL4Wwt09.js} +2 -2
  20. package/dist/browser/{booth-by-xy-BvNNTs6Q.js → booth-by-xy-CNodwywv.js} +296 -296
  21. package/dist/browser/bundle.json +66 -66
  22. package/dist/browser/{classnames-CFZOol_A.js → classnames-D7bHkaTv.js} +2 -2
  23. package/dist/browser/{client-BSrj7kzz.js → client-FmZunq3E.js} +4 -4
  24. package/dist/browser/{components-6Db-nRo5.js → components-BxYu3VSQ.js} +1364 -1364
  25. package/dist/browser/{debug-overlay-Bt6DNp-8.js → debug-overlay-Col3kun-.js} +10 -10
  26. package/dist/browser/{debug-ui-X9kyhrgx.js → debug-ui-DP-m_PQY.js} +6 -6
  27. package/dist/browser/{dist-HS_i2V3o.js → dist--UfxHNpB.js} +6 -6
  28. package/dist/browser/{dist-H1U2_uEE.js → dist-DKuVdnM1.js} +5 -5
  29. package/dist/browser/{dist-CSjEqv2k.js → dist-j_Dvhg_B.js} +3 -3
  30. package/dist/browser/{efp-debug-init-D0_xHeMm.js → efp-debug-init-DLVidU_L.js} +3 -3
  31. package/dist/browser/{enum-editor-Y3eY0GZN.js → enum-editor-Cl34zB7v.js} +4 -4
  32. package/dist/browser/{es5-Bnh-FuEf.js → es5-vcEukkmw.js} +2 -2
  33. package/dist/browser/{event-not-found-DaBAYGFy.js → event-not-found-ChZDmcvK.js} +1 -1
  34. package/dist/browser/{exports-pRH9fRPj.js → exports-BXJy6Kmw.js} +1 -1
  35. package/dist/browser/{favicon-eVAPrhqR.js → favicon-_NCvfFvc.js} +1 -1
  36. package/dist/browser/{fetch-retry.umd-CU86oApr.js → fetch-retry.umd-3LUIAd6l.js} +2 -2
  37. package/dist/browser/{flex-CBHNyrZ4.js → flex-DzUPTjql.js} +5 -5
  38. package/dist/browser/{floorplan.loader-C2Uhu9rp.js → floorplan.loader-Cq6lnFlH.js} +10 -10
  39. package/dist/browser/{floorplan.ready-D1uAmP_v.js → floorplan.ready-CVvdDLK9.js} +198 -198
  40. package/dist/browser/{fuse-N8kU4K-S.js → fuse-DFMgyIxf.js} +2 -2
  41. package/dist/browser/{i18n-BtP9mFz3.js → i18n-DWMPMvpq.js} +729 -724
  42. package/dist/browser/index.js +28 -28
  43. package/dist/browser/{index.module-BsJ6W9of.js → index.module-CwWKL3qT.js} +4 -4
  44. package/dist/browser/{integrateKiosk-3pSiw3dQ.js → integrateKiosk-DDctkdW5.js} +4 -4
  45. package/dist/browser/{is-webview-Cta8T4n3.js → is-webview-Dh3BOm5s.js} +1 -1
  46. package/dist/browser/{jsx-runtime-BEbKJk0I.js → jsx-runtime-BT-4UVZK.js} +2 -2
  47. package/dist/browser/{kiosk-record-CqwMLWxV.js → kiosk-record-DAkjgI5d.js} +1 -1
  48. package/dist/browser/{lib-I9l3N_qn.js → lib-DSN5rncL.js} +3 -3
  49. package/dist/browser/{loadImage-Dss1EbV-.js → loadImage-6MtT3dR2.js} +4 -4
  50. package/dist/browser/{logDeviceInfo-C71JR2gm.js → logDeviceInfo-C9v2HsL2.js} +9 -9
  51. package/dist/browser/{main-CfBwT8A1.js → main-CGLB-evp.js} +1 -1
  52. package/dist/browser/{mobx-BczBqzzL.js → mobx-Dykg-ki-.js} +4 -4
  53. package/dist/browser/{optional-boolean-editor-DzQfvreW.js → optional-boolean-editor-Ds90tVAe.js} +3 -3
  54. package/dist/browser/{optional-enum-editor-CLMliNto.js → optional-enum-editor-DwpbJFlC.js} +4 -4
  55. package/dist/browser/{optional-string-editor-_KGdUVEY.js → optional-string-editor-C_MgikTV.js} +4 -4
  56. package/dist/browser/{particles.min-B1MXziWd.js → particles.min-BrRwE_cB.js} +2 -2
  57. package/dist/browser/{react-DGnrgmGu.js → react-D3BZ05ZR.js} +2 -2
  58. package/dist/browser/{react-dom-Cw00D2pA.js → react-dom-hZlmCSGa.js} +3 -3
  59. package/dist/browser/{rolldown-runtime-BwZ60izJ.js → rolldown-runtime-BA6mgZXd.js} +1 -1
  60. package/dist/browser/{select-D1YJPbva.js → select-D23T81nr.js} +10 -10
  61. package/dist/browser/{settings-Bi32JyQ7.js → settings-Br2xGZpf.js} +2 -2
  62. package/dist/browser/{settings-item-SFeXQJg_.js → settings-item-uLGrYZVO.js} +6 -6
  63. package/dist/browser/{store-D3AM4bNd.js → store-F1P0xfXS.js} +6605 -6466
  64. package/dist/browser/{string-editor-CDi_Yy04.js → string-editor-Cco_LbQO.js} +4 -4
  65. package/dist/browser/{text-field-BtEculxh.js → text-field-rxoXlZbL.js} +5 -5
  66. package/dist/browser/{theme-DDvtl3pp.js → theme-teEFcmm4.js} +8 -8
  67. package/dist/browser/{ui-xJEwvFPJ.js → ui-D6A9bSSx.js} +8 -8
  68. package/dist/browser/{useRenderTarget-Cswo9eRB.js → useRenderTarget-CqdzcoGw.js} +4 -4
  69. package/dist/esm/components/Map/drawing/config/canvases.d.ts +9 -0
  70. package/dist/esm/components/Map/drawing/config/canvases.js +1 -1
  71. package/dist/esm/components/Map/drawing/config/config-load-layer.js +1 -1
  72. package/dist/esm/components/Map/drawing/config/config-outdoor-poi.d.ts +31 -0
  73. package/dist/esm/components/Map/drawing/config/config-outdoor-poi.js +1 -0
  74. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  75. package/dist/esm/components/Maplibre/useCameraReactions.js +1 -1
  76. package/dist/esm/components/Maplibre/useDimming.d.ts +9 -0
  77. package/dist/esm/components/Maplibre/useDimming.js +1 -1
  78. package/dist/esm/components/Maplibre/usePoiMarkers.d.ts +26 -0
  79. package/dist/esm/components/Maplibre/usePoiMarkers.js +1 -0
  80. package/dist/esm/components/Maplibre/useRendererEvents.js +1 -1
  81. package/dist/esm/components/Maplibre/utils/geo-config.d.ts +2 -0
  82. package/dist/esm/components/Maplibre/utils/geo-config.js +1 -1
  83. package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.d.ts +16 -0
  84. package/dist/esm/components/Maplibre/utils/poi-marker-hit-test.js +1 -0
  85. package/dist/esm/constants.d.ts +11 -0
  86. package/dist/esm/constants.js +1 -1
  87. package/dist/esm/store/PoiMarkerStore.d.ts +76 -0
  88. package/dist/esm/store/PoiMarkerStore.js +1 -0
  89. package/dist/esm/store/RootStore.d.ts +2 -0
  90. package/dist/esm/store/RootStore.js +1 -1
  91. package/dist/esm/store/outdoor-poi-filter.d.ts +21 -0
  92. package/dist/esm/store/outdoor-poi-filter.js +1 -0
  93. package/package.json +8 -8
@@ -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.18.1" };
4
+ e.SENTRY_RELEASE = { id: "3.19.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b7e69799-dc0e-4dd0-8d0d-bb4256a30d0b", e._sentryDebugIdIdentifier = "sentry-dbid-b7e69799-dc0e-4dd0-8d0d-bb4256a30d0b");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b6b4053b-dd4e-4375-bb63-60a1b0d6cd38", e._sentryDebugIdIdentifier = "sentry-dbid-b6b4053b-dd4e-4375-bb63-60a1b0d6cd38");
7
7
  } catch {}
8
8
  })();
9
- import { r as e, t } from "./rolldown-runtime-BwZ60izJ.js";
10
- import { s as n } from "./efp-debug-init-D0_xHeMm.js";
11
- import { t as r } from "./es5-Bnh-FuEf.js";
9
+ import { r as e, t } from "./rolldown-runtime-BA6mgZXd.js";
10
+ import { s as n } from "./efp-debug-init-DLVidU_L.js";
11
+ import { t as r } from "./es5-vcEukkmw.js";
12
12
  //#region ../config/src/lib/config-store.ts
13
13
  var i;
14
14
  function a(e) {
@@ -3783,6 +3783,7 @@ var ts = B({
3783
3783
  exhibitors: L().optional()
3784
3784
  }), fs = B({
3785
3785
  enableExperimentalMaplibre: L().optional(),
3786
+ enableExperimentalOutdoorMarkers: L().optional(),
3786
3787
  customSetKiosk: P().optional(),
3787
3788
  hideBoothBadges: L().optional(),
3788
3789
  busRoutes: L().optional()
@@ -3985,7 +3986,8 @@ var ts = B({
3985
3986
  }), zs = B({
3986
3987
  id: I(),
3987
3988
  name: P(),
3988
- parentId: I().optional()
3989
+ parentId: I().optional(),
3990
+ iconUrl: P().optional()
3989
3991
  }), Bs = B({ photoFile: P().optional().meta({ asset: !0 }) }), Vs = B({
3990
3992
  id: I(),
3991
3993
  name: P(),
@@ -4155,6 +4157,7 @@ var ts = B({
4155
4157
  maplibre: !0
4156
4158
  }).extend(Zs), nc = Xs.partial().pick({
4157
4159
  enableExperimentalMaplibre: !0,
4160
+ enableExperimentalOutdoorMarkers: !0,
4158
4161
  intents: !0,
4159
4162
  consent: !0,
4160
4163
  noOverlay: !0,
@@ -4171,6 +4174,7 @@ var ts = B({
4171
4174
  kiosk: !0
4172
4175
  }).extend(Zs).extend(Qs), rc = Xs.partial().pick({
4173
4176
  enableExperimentalMaplibre: !0,
4177
+ enableExperimentalOutdoorMarkers: !0,
4174
4178
  debugMode: !0,
4175
4179
  debugPattern: !0,
4176
4180
  showDebugButton: !0,
@@ -4241,6 +4245,7 @@ var ts = B({
4241
4245
  alwaysShowSidebar: !1,
4242
4246
  customKioskQrCodeUrl: "",
4243
4247
  enableExperimentalMaplibre: void 0,
4248
+ enableExperimentalOutdoorMarkers: !1,
4244
4249
  customSetKiosk: "",
4245
4250
  hideBoothBadges: !1,
4246
4251
  busRoutes: !1,
@@ -4287,7 +4292,7 @@ function oc(e) {
4287
4292
  //#endregion
4288
4293
  //#region ../utils/src/lib/fetch-with-retry.ts
4289
4294
  var sc, cc = async function(...t) {
4290
- return sc || (sc = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-CU86oApr.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), sc(...t);
4295
+ return sc || (sc = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-3LUIAd6l.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), sc(...t);
4291
4296
  };
4292
4297
  //#endregion
4293
4298
  //#region ../utils/src/lib/import-node-module.ts
@@ -5178,13 +5183,13 @@ function lu(e, t) {
5178
5183
  }
5179
5184
  //#endregion
5180
5185
  //#region src/constants.ts
5181
- var uu = "___visibility", du = "data-preview-mode", fu = "booths", pu = "kiosk", mu = "setkiosk", hu = "debug", gu = "efp-debugMode", _u = "pathway", vu = 1e3, yu = "language", bu = "efp-viewerMode", xu = "___viewer_mode", Su = "efp-previewMode", Cu = "___preview_mode", wu = "efp-uiScale", Tu = "___ui-scale", Eu = "--expofp-font-face", Du = "--expofp-booth-main-weight", Ou = "--expofp-booth-details-weight", ku = "--expofp-exhibitor-main-weight", Au = "--expofp-exhibitor-details-weight", ju = "--expofp-booth-special-weight", Mu = "efp-compass-permission-granted", Nu = new URL(
5186
+ var uu = "___visibility", du = "data-preview-mode", fu = "booths", pu = "Outdoor", mu = "#ea4236", hu = "rgba(234, 66, 54, 0.85)", gu = "#ffffff", _u = "kiosk", vu = "setkiosk", yu = "debug", bu = "efp-debugMode", xu = "pathway", Su = 1e3, Cu = "language", wu = "efp-viewerMode", Tu = "___viewer_mode", Eu = "efp-previewMode", Du = "___preview_mode", Ou = "efp-uiScale", ku = "___ui-scale", Au = "--expofp-font-face", ju = "--expofp-booth-main-weight", Mu = "--expofp-booth-details-weight", Nu = "--expofp-exhibitor-main-weight", Pu = "--expofp-exhibitor-details-weight", Fu = "--expofp-booth-special-weight", Iu = "efp-compass-permission-granted", Lu = new URL(
5182
5187
  /* @vite-ignore */
5183
5188
  ".",
5184
5189
  import.meta.url
5185
5190
  ).href;
5186
- Nu.endsWith("/") || (Nu += "/");
5187
- var Pu = Nu, Fu = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
5191
+ Lu.endsWith("/") || (Lu += "/");
5192
+ var Ru = Lu, zu = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
5188
5193
  (function() {
5189
5194
  function e(e, t) {
5190
5195
  document.addEventListener ? e.addEventListener("scroll", t, !1) : e.attachEvent("scroll", t);
@@ -5284,17 +5289,17 @@ var Pu = Nu, Fu = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
5284
5289
  });
5285
5290
  }, typeof t == "object" ? t.exports = s : (window.FontFaceObserver = s, window.FontFaceObserver.prototype.load = s.prototype.load);
5286
5291
  })();
5287
- })))(), 1), Iu = /* @__PURE__ */ e(r(), 1), Lu = window.navigator.userAgent, Ru = Iu.default.getParser(Lu);
5292
+ })))(), 1), Bu = /* @__PURE__ */ e(r(), 1), Vu = window.navigator.userAgent, Hu = Bu.default.getParser(Vu);
5288
5293
  //#endregion
5289
5294
  //#region src/tools/loaders.ts
5290
- async function zu(e) {
5295
+ async function Uu(e) {
5291
5296
  return await (await fetch(e, { credentials: "same-origin" })).json();
5292
5297
  }
5293
- function Bu(e, t) {
5298
+ function Wu(e, t) {
5294
5299
  let n = document.createElement("link");
5295
5300
  n.rel = "stylesheet", n.href = e, n.setAttribute("fetchpriority", "high"), t.appendChild(n);
5296
5301
  }
5297
- async function Vu(e, t, n) {
5302
+ async function Gu(e, t, n) {
5298
5303
  var r;
5299
5304
  n = {
5300
5305
  style: "normal",
@@ -5302,8 +5307,8 @@ async function Vu(e, t, n) {
5302
5307
  ...n || {}
5303
5308
  };
5304
5309
  let i = `url("${t}")`;
5305
- if (!window.FontFace) return e.startsWith("Font Awesome") || Hu(e, i, n), Promise.resolve();
5306
- e.indexOf(" ") !== -1 && ((r = Ru.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
5310
+ if (!window.FontFace) return e.startsWith("Font Awesome") || Ku(e, i, n), Promise.resolve();
5311
+ e.indexOf(" ") !== -1 && ((r = Hu.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
5307
5312
  let a;
5308
5313
  try {
5309
5314
  a = new FontFace(e, i, n);
@@ -5312,17 +5317,17 @@ async function Vu(e, t, n) {
5312
5317
  }
5313
5318
  return document.fonts.add(a), a.load();
5314
5319
  }
5315
- function Hu(e, t, n) {
5320
+ function Ku(e, t, n) {
5316
5321
  let r = document.createElement("style");
5317
5322
  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);
5318
5323
  let i = document.createElement("div");
5319
5324
  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);
5320
5325
  }
5321
- async function Uu(e) {
5326
+ async function qu(e) {
5322
5327
  var t;
5323
5328
  let n = getComputedStyle(document.documentElement).getPropertyValue("--expofp-font-face") || ((t = e.match(/--expofp-font-face:\s*([^;]*)/)) == null ? void 0 : t[1]);
5324
5329
  if (!n) return;
5325
- let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new Fu.default(e).load());
5330
+ let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new zu.default(e).load());
5326
5331
  return Promise.allSettled(r);
5327
5332
  }
5328
5333
  //#endregion
@@ -5337,7 +5342,7 @@ function U(e) {
5337
5342
  }
5338
5343
  //#endregion
5339
5344
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
5340
- function Wu(e, t) {
5345
+ function Ju(e, t) {
5341
5346
  if (U(e) != "object" || !e) return e;
5342
5347
  var n = e[Symbol.toPrimitive];
5343
5348
  if (n !== void 0) {
@@ -5349,14 +5354,14 @@ function Wu(e, t) {
5349
5354
  }
5350
5355
  //#endregion
5351
5356
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
5352
- function Gu(e) {
5353
- var t = Wu(e, "string");
5357
+ function Yu(e) {
5358
+ var t = Ju(e, "string");
5354
5359
  return U(t) == "symbol" ? t : t + "";
5355
5360
  }
5356
5361
  //#endregion
5357
5362
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js
5358
- function Ku(e, t, n) {
5359
- return (t = Gu(t)) in e ? Object.defineProperty(e, t, {
5363
+ function Xu(e, t, n) {
5364
+ return (t = Yu(t)) in e ? Object.defineProperty(e, t, {
5360
5365
  value: n,
5361
5366
  enumerable: !0,
5362
5367
  configurable: !0,
@@ -5371,67 +5376,67 @@ function W(e) {
5371
5376
  typeof Object.getOwnPropertySymbols == "function" && r.push.apply(r, Object.getOwnPropertySymbols(n).filter(function(e) {
5372
5377
  return Object.getOwnPropertyDescriptor(n, e).enumerable;
5373
5378
  })), r.forEach(function(t) {
5374
- Ku(e, t, n[t]);
5379
+ Xu(e, t, n[t]);
5375
5380
  });
5376
5381
  }
5377
5382
  return e;
5378
5383
  }
5379
5384
  //#endregion
5380
5385
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
5381
- function qu(e, t) {
5386
+ function Zu(e, t) {
5382
5387
  if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
5383
5388
  }
5384
5389
  //#endregion
5385
5390
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js
5386
- function Ju(e, t) {
5391
+ function Qu(e, t) {
5387
5392
  for (var n = 0; n < t.length; n++) {
5388
5393
  var r = t[n];
5389
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Gu(r.key), r);
5394
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Yu(r.key), r);
5390
5395
  }
5391
5396
  }
5392
- function Yu(e, t, n) {
5393
- return t && Ju(e.prototype, t), n && Ju(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5397
+ function $u(e, t, n) {
5398
+ return t && Qu(e.prototype, t), n && Qu(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5394
5399
  }
5395
5400
  //#endregion
5396
5401
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
5397
- function Xu(e) {
5402
+ function ed(e) {
5398
5403
  if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
5399
5404
  return e;
5400
5405
  }
5401
5406
  //#endregion
5402
5407
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
5403
- function Zu(e, t) {
5408
+ function td(e, t) {
5404
5409
  if (t && (U(t) == "object" || typeof t == "function")) return t;
5405
5410
  if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
5406
- return Xu(e);
5411
+ return ed(e);
5407
5412
  }
5408
5413
  //#endregion
5409
5414
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
5410
- function Qu(e) {
5411
- return Qu = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
5415
+ function nd(e) {
5416
+ return nd = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
5412
5417
  return e.__proto__ || Object.getPrototypeOf(e);
5413
- }, Qu(e);
5418
+ }, nd(e);
5414
5419
  }
5415
5420
  //#endregion
5416
5421
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
5417
- function $u(e, t) {
5418
- return $u = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
5422
+ function rd(e, t) {
5423
+ return rd = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
5419
5424
  return e.__proto__ = t, e;
5420
- }, $u(e, t);
5425
+ }, rd(e, t);
5421
5426
  }
5422
5427
  //#endregion
5423
5428
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inherits.js
5424
- function ed(e, t) {
5429
+ function id(e, t) {
5425
5430
  if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
5426
5431
  e.prototype = Object.create(t && t.prototype, { constructor: {
5427
5432
  value: e,
5428
5433
  writable: !0,
5429
5434
  configurable: !0
5430
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && $u(e, t);
5435
+ } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && rd(e, t);
5431
5436
  }
5432
5437
  //#endregion
5433
5438
  //#region ../../node_modules/.pnpm/i18next@19.9.2/node_modules/i18next/dist/esm/i18next.js
5434
- var td = {
5439
+ var ad = {
5435
5440
  type: "logger",
5436
5441
  log: function(e) {
5437
5442
  this.output("log", e);
@@ -5445,17 +5450,17 @@ var td = {
5445
5450
  output: function(e, t) {
5446
5451
  console && console[e] && console[e].apply(console, t);
5447
5452
  }
5448
- }, nd = new (function() {
5453
+ }, od = new (function() {
5449
5454
  function e(t) {
5450
5455
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5451
- qu(this, e), this.init(t, n);
5456
+ Zu(this, e), this.init(t, n);
5452
5457
  }
5453
- return Yu(e, [
5458
+ return $u(e, [
5454
5459
  {
5455
5460
  key: "init",
5456
5461
  value: function(e) {
5457
5462
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5458
- this.prefix = t.prefix || "i18next:", this.logger = e || td, this.options = t, this.debug = t.debug;
5463
+ this.prefix = t.prefix || "i18next:", this.logger = e || ad, this.options = t, this.debug = t.debug;
5459
5464
  }
5460
5465
  },
5461
5466
  {
@@ -5505,11 +5510,11 @@ var td = {
5505
5510
  }
5506
5511
  }
5507
5512
  ]), e;
5508
- }())(), rd = function() {
5513
+ }())(), sd = function() {
5509
5514
  function e() {
5510
- qu(this, e), this.observers = {};
5515
+ Zu(this, e), this.observers = {};
5511
5516
  }
5512
- return Yu(e, [
5517
+ return $u(e, [
5513
5518
  {
5514
5519
  key: "on",
5515
5520
  value: function(e, t) {
@@ -5546,21 +5551,21 @@ var td = {
5546
5551
  }
5547
5552
  ]), e;
5548
5553
  }();
5549
- function id() {
5554
+ function cd() {
5550
5555
  var e, t, n = new Promise(function(n, r) {
5551
5556
  e = n, t = r;
5552
5557
  });
5553
5558
  return n.resolve = e, n.reject = t, n;
5554
5559
  }
5555
- function ad(e) {
5560
+ function ld(e) {
5556
5561
  return e == null ? "" : "" + e;
5557
5562
  }
5558
- function od(e, t, n) {
5563
+ function ud(e, t, n) {
5559
5564
  e.forEach(function(e) {
5560
5565
  t[e] && (n[e] = t[e]);
5561
5566
  });
5562
5567
  }
5563
- function sd(e, t, n) {
5568
+ function dd(e, t, n) {
5564
5569
  function r(e) {
5565
5570
  return e && e.indexOf("###") > -1 ? e.replace(/###/g, ".") : e;
5566
5571
  }
@@ -5577,30 +5582,30 @@ function sd(e, t, n) {
5577
5582
  k: r(a.shift())
5578
5583
  };
5579
5584
  }
5580
- function cd(e, t, n) {
5581
- var r = sd(e, t, Object), i = r.obj, a = r.k;
5585
+ function fd(e, t, n) {
5586
+ var r = dd(e, t, Object), i = r.obj, a = r.k;
5582
5587
  i[a] = n;
5583
5588
  }
5584
- function ld(e, t, n, r) {
5585
- var i = sd(e, t, Object), a = i.obj, o = i.k;
5589
+ function pd(e, t, n, r) {
5590
+ var i = dd(e, t, Object), a = i.obj, o = i.k;
5586
5591
  a[o] = a[o] || [], r && (a[o] = a[o].concat(n)), r || a[o].push(n);
5587
5592
  }
5588
- function ud(e, t) {
5589
- var n = sd(e, t), r = n.obj, i = n.k;
5593
+ function md(e, t) {
5594
+ var n = dd(e, t), r = n.obj, i = n.k;
5590
5595
  if (r) return r[i];
5591
5596
  }
5592
- function dd(e, t, n) {
5593
- var r = ud(e, n);
5594
- return r === void 0 ? ud(t, n) : r;
5597
+ function hd(e, t, n) {
5598
+ var r = md(e, n);
5599
+ return r === void 0 ? md(t, n) : r;
5595
5600
  }
5596
- function fd(e, t, n) {
5597
- for (var r in t) r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : fd(e[r], t[r], n) : e[r] = t[r]);
5601
+ function gd(e, t, n) {
5602
+ for (var r in t) r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : gd(e[r], t[r], n) : e[r] = t[r]);
5598
5603
  return e;
5599
5604
  }
5600
- function pd(e) {
5605
+ function _d(e) {
5601
5606
  return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5602
5607
  }
5603
- var md = {
5608
+ var vd = {
5604
5609
  "&": "&amp;",
5605
5610
  "<": "&lt;",
5606
5611
  ">": "&gt;",
@@ -5608,21 +5613,21 @@ var md = {
5608
5613
  "'": "&#39;",
5609
5614
  "/": "&#x2F;"
5610
5615
  };
5611
- function hd(e) {
5616
+ function yd(e) {
5612
5617
  return typeof e == "string" ? e.replace(/[&<>"'\/]/g, function(e) {
5613
- return md[e];
5618
+ return vd[e];
5614
5619
  }) : e;
5615
5620
  }
5616
- var gd = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, _d = function(e) {
5617
- ed(t, e);
5621
+ var bd = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, xd = function(e) {
5622
+ id(t, e);
5618
5623
  function t(e) {
5619
5624
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
5620
5625
  ns: ["translation"],
5621
5626
  defaultNS: "translation"
5622
5627
  };
5623
- return qu(this, t), n = Zu(this, Qu(t).call(this)), gd && rd.call(Xu(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
5628
+ return Zu(this, t), n = td(this, nd(t).call(this)), bd && sd.call(ed(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
5624
5629
  }
5625
- return Yu(t, [
5630
+ return $u(t, [
5626
5631
  {
5627
5632
  key: "addNamespaces",
5628
5633
  value: function(e) {
@@ -5640,7 +5645,7 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5640
5645
  key: "getResource",
5641
5646
  value: function(e, t, n) {
5642
5647
  var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = [e, t];
5643
- return n && typeof n != "string" && (a = a.concat(n)), n && typeof n == "string" && (a = a.concat(i ? n.split(i) : n)), e.indexOf(".") > -1 && (a = e.split(".")), ud(this.data, a);
5648
+ return n && typeof n != "string" && (a = a.concat(n)), n && typeof n == "string" && (a = a.concat(i ? n.split(i) : n)), e.indexOf(".") > -1 && (a = e.split(".")), md(this.data, a);
5644
5649
  }
5645
5650
  },
5646
5651
  {
@@ -5649,7 +5654,7 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5649
5654
  var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { silent: !1 }, a = this.options.keySeparator;
5650
5655
  a === void 0 && (a = ".");
5651
5656
  var o = [e, t];
5652
- n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), cd(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
5657
+ n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), fd(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
5653
5658
  }
5654
5659
  },
5655
5660
  {
@@ -5665,8 +5670,8 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5665
5670
  value: function(e, t, n, r, i) {
5666
5671
  var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : { silent: !1 }, o = [e, t];
5667
5672
  e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
5668
- var s = ud(this.data, o) || {};
5669
- r ? fd(s, n, i) : s = W({}, s, n), cd(this.data, o, s), a.silent || this.emit("added", e, t, n);
5673
+ var s = md(this.data, o) || {};
5674
+ r ? gd(s, n, i) : s = W({}, s, n), fd(this.data, o, s), a.silent || this.emit("added", e, t, n);
5670
5675
  }
5671
5676
  },
5672
5677
  {
@@ -5700,7 +5705,7 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5700
5705
  }
5701
5706
  }
5702
5707
  ]), t;
5703
- }(rd), vd = {
5708
+ }(sd), Sd = {
5704
5709
  processors: {},
5705
5710
  addPostProcessor: function(e) {
5706
5711
  this.processors[e.name] = e;
@@ -5711,11 +5716,11 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5711
5716
  a.processors[e] && (t = a.processors[e].process(t, n, r, i));
5712
5717
  }), t;
5713
5718
  }
5714
- }, yd = {}, bd = function(e) {
5715
- ed(t, e);
5719
+ }, Cd = {}, wd = function(e) {
5720
+ id(t, e);
5716
5721
  function t(e) {
5717
5722
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5718
- return qu(this, t), n = Zu(this, Qu(t).call(this)), gd && rd.call(Xu(n)), od([
5723
+ return Zu(this, t), n = td(this, nd(t).call(this)), bd && sd.call(ed(n)), ud([
5719
5724
  "resourceStore",
5720
5725
  "languageUtils",
5721
5726
  "pluralResolver",
@@ -5723,9 +5728,9 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5723
5728
  "backendConnector",
5724
5729
  "i18nFormat",
5725
5730
  "utils"
5726
- ], e, Xu(n)), n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = nd.create("translator"), n;
5731
+ ], e, ed(n)), n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = od.create("translator"), n;
5727
5732
  }
5728
- return Yu(t, [
5733
+ return $u(t, [
5729
5734
  {
5730
5735
  key: "changeLanguage",
5731
5736
  value: function(e) {
@@ -5836,7 +5841,7 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5836
5841
  }, n)), n.interpolation && this.interpolator.reset();
5837
5842
  }
5838
5843
  var f = n.postProcess || this.options.postProcess, p = typeof f == "string" ? [f] : f;
5839
- return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = vd.handle(p, e, t, this.options && this.options.postProcessPassResolved ? W({ i18nResolved: r }, n) : n, this)), e;
5844
+ return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = Sd.handle(p, e, t, this.options && this.options.postProcessPassResolved ? W({ i18nResolved: r }, n) : n, this)), e;
5840
5845
  }
5841
5846
  },
5842
5847
  {
@@ -5851,7 +5856,7 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5851
5856
  t.options.fallbackNS && (u = u.concat(t.options.fallbackNS));
5852
5857
  var d = n.count !== void 0 && typeof n.count != "string", f = n.context !== void 0 && typeof n.context == "string" && n.context !== "", p = n.lngs ? n.lngs : t.languageUtils.toResolveHierarchy(n.lng || t.language, n.fallbackLng);
5853
5858
  u.forEach(function(e) {
5854
- t.isValidLookup(r) || (s = e, !yd[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (yd[`${p[0]}-${e}`] = !0, t.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach(function(i) {
5859
+ t.isValidLookup(r) || (s = e, !Cd[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (Cd[`${p[0]}-${e}`] = !0, t.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach(function(i) {
5855
5860
  if (!t.isValidLookup(r)) {
5856
5861
  o = i;
5857
5862
  var s = l, c = [s];
@@ -5895,15 +5900,15 @@ var gd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5895
5900
  return !1;
5896
5901
  }
5897
5902
  }]), t;
5898
- }(rd);
5899
- function xd(e) {
5903
+ }(sd);
5904
+ function Td(e) {
5900
5905
  return e.charAt(0).toUpperCase() + e.slice(1);
5901
5906
  }
5902
- var Sd = function() {
5907
+ var Ed = function() {
5903
5908
  function e(t) {
5904
- qu(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = nd.create("languageUtils");
5909
+ Zu(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = od.create("languageUtils");
5905
5910
  }
5906
- return Yu(e, [
5911
+ return $u(e, [
5907
5912
  {
5908
5913
  key: "getScriptPartFromCode",
5909
5914
  value: function(e) {
@@ -5935,7 +5940,7 @@ var Sd = function() {
5935
5940
  ], n = e.split("-");
5936
5941
  return this.options.lowerCaseLng ? n = n.map(function(e) {
5937
5942
  return e.toLowerCase();
5938
- }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = xd(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = xd(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = xd(n[2].toLowerCase()))), n.join("-");
5943
+ }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Td(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Td(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = Td(n[2].toLowerCase()))), n.join("-");
5939
5944
  }
5940
5945
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
5941
5946
  }
@@ -5996,7 +6001,7 @@ var Sd = function() {
5996
6001
  }
5997
6002
  }
5998
6003
  ]), e;
5999
- }(), Cd = [
6004
+ }(), Dd = [
6000
6005
  {
6001
6006
  lngs: [
6002
6007
  "ach",
@@ -6237,7 +6242,7 @@ var Sd = function() {
6237
6242
  ],
6238
6243
  fc: 22
6239
6244
  }
6240
- ], wd = {
6245
+ ], Od = {
6241
6246
  1: function(e) {
6242
6247
  return Number(e > 1);
6243
6248
  },
@@ -6305,23 +6310,23 @@ var Sd = function() {
6305
6310
  return Number(e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3);
6306
6311
  }
6307
6312
  };
6308
- function Td() {
6313
+ function kd() {
6309
6314
  var e = {};
6310
- return Cd.forEach(function(t) {
6315
+ return Dd.forEach(function(t) {
6311
6316
  t.lngs.forEach(function(n) {
6312
6317
  e[n] = {
6313
6318
  numbers: t.nr,
6314
- plurals: wd[t.fc]
6319
+ plurals: Od[t.fc]
6315
6320
  };
6316
6321
  });
6317
6322
  }), e;
6318
6323
  }
6319
- var Ed = function() {
6324
+ var Ad = function() {
6320
6325
  function e(t) {
6321
6326
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6322
- qu(this, e), this.languageUtils = t, this.options = n, this.logger = nd.create("pluralResolver"), this.rules = Td();
6327
+ Zu(this, e), this.languageUtils = t, this.options = n, this.logger = od.create("pluralResolver"), this.rules = kd();
6323
6328
  }
6324
- return Yu(e, [
6329
+ return $u(e, [
6325
6330
  {
6326
6331
  key: "addRule",
6327
6332
  value: function(e, t) {
@@ -6374,21 +6379,21 @@ var Ed = function() {
6374
6379
  }
6375
6380
  }
6376
6381
  ]), e;
6377
- }(), Dd = function() {
6382
+ }(), jd = function() {
6378
6383
  function e() {
6379
6384
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6380
- qu(this, e), this.logger = nd.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(e) {
6385
+ Zu(this, e), this.logger = od.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(e) {
6381
6386
  return e;
6382
6387
  }, this.init(t);
6383
6388
  }
6384
- return Yu(e, [
6389
+ return $u(e, [
6385
6390
  {
6386
6391
  key: "init",
6387
6392
  value: function() {
6388
6393
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6389
6394
  e.interpolation || (e.interpolation = { escapeValue: !0 });
6390
6395
  var t = e.interpolation;
6391
- this.escape = t.escape === void 0 ? hd : t.escape, this.escapeValue = t.escapeValue === void 0 || t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 && t.useRawValueToEscape, this.prefix = t.prefix ? pd(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? pd(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? pd(t.nestingPrefix) : t.nestingPrefixEscaped || pd("$t("), this.nestingSuffix = t.nestingSuffix ? pd(t.nestingSuffix) : t.nestingSuffixEscaped || pd(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 && t.alwaysFormat, this.resetRegExp();
6396
+ this.escape = t.escape === void 0 ? yd : t.escape, this.escapeValue = t.escapeValue === void 0 || t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 && t.useRawValueToEscape, this.prefix = t.prefix ? _d(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? _d(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? _d(t.nestingPrefix) : t.nestingPrefixEscaped || _d("$t("), this.nestingSuffix = t.nestingSuffix ? _d(t.nestingSuffix) : t.nestingSuffixEscaped || _d(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 && t.alwaysFormat, this.resetRegExp();
6392
6397
  }
6393
6398
  },
6394
6399
  {
@@ -6417,11 +6422,11 @@ var Ed = function() {
6417
6422
  }
6418
6423
  var u = function(e) {
6419
6424
  if (e.indexOf(i.formatSeparator) < 0) {
6420
- var a = dd(t, c, e);
6425
+ var a = hd(t, c, e);
6421
6426
  return i.alwaysFormat ? i.format(a, void 0, n) : a;
6422
6427
  }
6423
6428
  var o = e.split(i.formatSeparator), s = o.shift().trim(), l = o.join(i.formatSeparator).trim();
6424
- return i.format(dd(t, c, s), l, n, r);
6429
+ return i.format(hd(t, c, s), l, n, r);
6425
6430
  };
6426
6431
  this.resetRegExp();
6427
6432
  var d = r && r.missingInterpolationHandler || this.options.missingInterpolationHandler, f = r && r.interpolation && r.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables;
@@ -6444,7 +6449,7 @@ var Ed = function() {
6444
6449
  o = a[0];
6445
6450
  continue;
6446
6451
  } else i.logger.warn(`missed to pass in variable ${a[1]} for interpolating ${e}`), o = "";
6447
- else typeof o != "string" && !i.useRawValueToEscape && (o = ad(o));
6452
+ else typeof o != "string" && !i.useRawValueToEscape && (o = ld(o));
6448
6453
  if (e = e.replace(a[0], t.safeValue(o)), t.regex.lastIndex = 0, s++, s >= i.maxReplaces) break;
6449
6454
  }
6450
6455
  }), e;
@@ -6476,7 +6481,7 @@ var Ed = function() {
6476
6481
  i[1] = u.shift(), c = u, l = !0;
6477
6482
  }
6478
6483
  if (a = t(s.call(this, i[1].trim(), o), o), a && i[0] === e && typeof a != "string") return a;
6479
- typeof a != "string" && (a = ad(a)), a || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), a = ""), l && (a = c.reduce(function(e, t) {
6484
+ typeof a != "string" && (a = ld(a)), a || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), a = ""), l && (a = c.reduce(function(e, t) {
6480
6485
  return n.format(e, t, r.lng, r);
6481
6486
  }, a.trim())), e = e.replace(i[0], a), this.regexp.lastIndex = 0;
6482
6487
  }
@@ -6485,16 +6490,16 @@ var Ed = function() {
6485
6490
  }
6486
6491
  ]), e;
6487
6492
  }();
6488
- function Od(e, t) {
6493
+ function Md(e, t) {
6489
6494
  for (var n = e.indexOf(t); n !== -1;) e.splice(n, 1), n = e.indexOf(t);
6490
6495
  }
6491
- var kd = function(e) {
6492
- ed(t, e);
6496
+ var Nd = function(e) {
6497
+ id(t, e);
6493
6498
  function t(e, n, r) {
6494
6499
  var i, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6495
- return qu(this, t), i = Zu(this, Qu(t).call(this)), gd && rd.call(Xu(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = nd.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
6500
+ return Zu(this, t), i = td(this, nd(t).call(this)), bd && sd.call(ed(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = od.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
6496
6501
  }
6497
- return Yu(t, [
6502
+ return $u(t, [
6498
6503
  {
6499
6504
  key: "queueLoad",
6500
6505
  value: function(e, t, n, r) {
@@ -6525,7 +6530,7 @@ var kd = function(e) {
6525
6530
  t && this.emit("failedLoading", i, a, t), n && this.store.addResourceBundle(i, a, n), this.state[e] = t ? -1 : 2;
6526
6531
  var o = {};
6527
6532
  this.queue.forEach(function(n) {
6528
- ld(n.loaded, [i], a), Od(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
6533
+ pd(n.loaded, [i], a), Md(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
6529
6534
  o[e] || (o[e] = []), n.loaded[e].length && n.loaded[e].forEach(function(t) {
6530
6535
  o[e].indexOf(t) < 0 && o[e].push(t);
6531
6536
  });
@@ -6596,8 +6601,8 @@ var kd = function(e) {
6596
6601
  }
6597
6602
  }
6598
6603
  ]), t;
6599
- }(rd);
6600
- function Ad() {
6604
+ }(sd);
6605
+ function Pd() {
6601
6606
  return {
6602
6607
  debug: !1,
6603
6608
  initImmediate: !0,
@@ -6660,44 +6665,44 @@ function Ad() {
6660
6665
  }
6661
6666
  };
6662
6667
  }
6663
- function jd(e) {
6668
+ function Fd(e) {
6664
6669
  return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.whitelist && (e.whitelist && e.whitelist.indexOf("cimode") < 0 && (e.whitelist = e.whitelist.concat(["cimode"])), e.supportedLngs = e.whitelist), e.nonExplicitWhitelist && (e.nonExplicitSupportedLngs = e.nonExplicitWhitelist), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
6665
6670
  }
6666
- function Md() {}
6667
- var Nd = new (function(e) {
6668
- ed(t, e);
6671
+ function Id() {}
6672
+ var Ld = new (function(e) {
6673
+ id(t, e);
6669
6674
  function t() {
6670
6675
  var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
6671
- if (qu(this, t), e = Zu(this, Qu(t).call(this)), gd && rd.call(Xu(e)), e.options = jd(n), e.services = {}, e.logger = nd, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
6672
- if (!e.options.initImmediate) return e.init(n, r), Zu(e, Xu(e));
6676
+ if (Zu(this, t), e = td(this, nd(t).call(this)), bd && sd.call(ed(e)), e.options = Fd(n), e.services = {}, e.logger = od, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
6677
+ if (!e.options.initImmediate) return e.init(n, r), td(e, ed(e));
6673
6678
  setTimeout(function() {
6674
6679
  e.init(n, r);
6675
6680
  }, 0);
6676
6681
  }
6677
6682
  return e;
6678
6683
  }
6679
- return Yu(t, [
6684
+ return $u(t, [
6680
6685
  {
6681
6686
  key: "init",
6682
6687
  value: function() {
6683
6688
  var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
6684
- typeof t == "function" && (n = t, t = {}), t.whitelist && !t.supportedLngs && this.logger.deprecate("whitelist", "option \"whitelist\" will be renamed to \"supportedLngs\" in the next major - please make sure to rename this option asap."), t.nonExplicitWhitelist && !t.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", "options \"nonExplicitWhitelist\" will be renamed to \"nonExplicitSupportedLngs\" in the next major - please make sure to rename this option asap."), this.options = W({}, Ad(), this.options, jd(t)), this.format = this.options.interpolation.format, n || (n = Md);
6689
+ typeof t == "function" && (n = t, t = {}), t.whitelist && !t.supportedLngs && this.logger.deprecate("whitelist", "option \"whitelist\" will be renamed to \"supportedLngs\" in the next major - please make sure to rename this option asap."), t.nonExplicitWhitelist && !t.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", "options \"nonExplicitWhitelist\" will be renamed to \"nonExplicitSupportedLngs\" in the next major - please make sure to rename this option asap."), this.options = W({}, Pd(), this.options, Fd(t)), this.format = this.options.interpolation.format, n || (n = Id);
6685
6690
  function r(e) {
6686
6691
  return e ? typeof e == "function" ? new e() : e : null;
6687
6692
  }
6688
6693
  if (!this.options.isClone) {
6689
- this.modules.logger ? nd.init(r(this.modules.logger), this.options) : nd.init(null, this.options);
6690
- var i = new Sd(this.options);
6691
- this.store = new _d(this.options.resources, this.options);
6694
+ this.modules.logger ? od.init(r(this.modules.logger), this.options) : od.init(null, this.options);
6695
+ var i = new Ed(this.options);
6696
+ this.store = new xd(this.options.resources, this.options);
6692
6697
  var a = this.services;
6693
- a.logger = nd, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new Ed(i, {
6698
+ a.logger = od, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new Ad(i, {
6694
6699
  prepend: this.options.pluralSeparator,
6695
6700
  compatibilityJSON: this.options.compatibilityJSON,
6696
6701
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
6697
- }), a.interpolator = new Dd(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new kd(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
6702
+ }), a.interpolator = new jd(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new Nd(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
6698
6703
  var n = [...arguments].slice(1);
6699
6704
  e.emit.apply(e, [t].concat(n));
6700
- }), this.modules.languageDetector && (a.languageDetector = r(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = r(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new bd(this.services, this.options), this.translator.on("*", function(t) {
6705
+ }), this.modules.languageDetector && (a.languageDetector = r(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = r(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new wd(this.services, this.options), this.translator.on("*", function(t) {
6701
6706
  var n = [...arguments].slice(1);
6702
6707
  e.emit.apply(e, [t].concat(n));
6703
6708
  }), this.modules.external.forEach(function(t) {
@@ -6729,7 +6734,7 @@ var Nd = new (function(e) {
6729
6734
  return (n = e.store)[t].apply(n, arguments), e;
6730
6735
  };
6731
6736
  });
6732
- var s = id(), c = function() {
6737
+ var s = cd(), c = function() {
6733
6738
  var t = function(t, r) {
6734
6739
  e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), s.resolve(r), n(t, r);
6735
6740
  };
@@ -6742,7 +6747,7 @@ var Nd = new (function(e) {
6742
6747
  {
6743
6748
  key: "loadResources",
6744
6749
  value: function(e) {
6745
- var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Md, r = typeof e == "string" ? e : this.language;
6750
+ var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Id, r = typeof e == "string" ? e : this.language;
6746
6751
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
6747
6752
  if (r && r.toLowerCase() === "cimode") return n();
6748
6753
  var i = [], a = function(e) {
@@ -6761,8 +6766,8 @@ var Nd = new (function(e) {
6761
6766
  {
6762
6767
  key: "reloadResources",
6763
6768
  value: function(e, t, n) {
6764
- var r = id();
6765
- return e || (e = this.languages), t || (t = this.options.ns), n || (n = Md), this.services.backendConnector.reload(e, t, function(e) {
6769
+ var r = cd();
6770
+ return e || (e = this.languages), t || (t = this.options.ns), n || (n = Id), this.services.backendConnector.reload(e, t, function(e) {
6766
6771
  r.resolve(), n(e);
6767
6772
  }), r;
6768
6773
  }
@@ -6772,7 +6777,7 @@ var Nd = new (function(e) {
6772
6777
  value: function(e) {
6773
6778
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
6774
6779
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
6775
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && vd.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
6780
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Sd.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
6776
6781
  }
6777
6782
  },
6778
6783
  {
@@ -6780,7 +6785,7 @@ var Nd = new (function(e) {
6780
6785
  value: function(e, t) {
6781
6786
  var n = this;
6782
6787
  this.isLanguageChangingTo = e;
6783
- var r = id();
6788
+ var r = cd();
6784
6789
  this.emit("languageChanging", e);
6785
6790
  var i = function(e, i) {
6786
6791
  i ? (n.language = i, n.languages = n.services.languageUtils.toResolveHierarchy(i), n.translator.changeLanguage(i), n.isLanguageChangingTo = void 0, n.emit("languageChanged", i), n.logger.log("languageChanged", i)) : n.isLanguageChangingTo = void 0, r.resolve(function() {
@@ -6853,7 +6858,7 @@ var Nd = new (function(e) {
6853
6858
  {
6854
6859
  key: "loadNamespaces",
6855
6860
  value: function(e, t) {
6856
- var n = this, r = id();
6861
+ var n = this, r = cd();
6857
6862
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach(function(e) {
6858
6863
  n.options.ns.indexOf(e) < 0 && n.options.ns.push(e);
6859
6864
  }), this.loadResources(function(e) {
@@ -6864,7 +6869,7 @@ var Nd = new (function(e) {
6864
6869
  {
6865
6870
  key: "loadLanguages",
6866
6871
  value: function(e, t) {
6867
- var n = id();
6872
+ var n = cd();
6868
6873
  typeof e == "string" && (e = [e]);
6869
6874
  var r = this.options.preload || [], i = e.filter(function(e) {
6870
6875
  return r.indexOf(e) < 0;
@@ -6889,64 +6894,64 @@ var Nd = new (function(e) {
6889
6894
  {
6890
6895
  key: "cloneInstance",
6891
6896
  value: function() {
6892
- var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Md, i = W({}, this.options, n, { isClone: !0 }), a = new t(i);
6897
+ var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Id, i = W({}, this.options, n, { isClone: !0 }), a = new t(i);
6893
6898
  return [
6894
6899
  "store",
6895
6900
  "services",
6896
6901
  "language"
6897
6902
  ].forEach(function(t) {
6898
6903
  a[t] = e[t];
6899
- }), a.services = W({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new bd(a.services, a.options), a.translator.on("*", function(e) {
6904
+ }), a.services = W({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new wd(a.services, a.options), a.translator.on("*", function(e) {
6900
6905
  var t = [...arguments].slice(1);
6901
6906
  a.emit.apply(a, [e].concat(t));
6902
6907
  }), a.init(i, r), a.translator.options = a.options, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
6903
6908
  }
6904
6909
  }
6905
6910
  ]), t;
6906
- }(rd))(), Pd = "An invariant failed, however the error is obfuscated because this is a production build.", Fd = [];
6907
- Object.freeze(Fd);
6908
- var Id = {};
6909
- Object.freeze(Id);
6911
+ }(sd))(), Rd = "An invariant failed, however the error is obfuscated because this is a production build.", zd = [];
6912
+ Object.freeze(zd);
6913
+ var Bd = {};
6914
+ Object.freeze(Bd);
6910
6915
  function G() {
6911
6916
  return ++X.mobxGuid;
6912
6917
  }
6913
6918
  function K(e) {
6914
- throw Ld(!1, e), "X";
6919
+ throw Vd(!1, e), "X";
6915
6920
  }
6916
- function Ld(e, t) {
6917
- if (!e) throw Error("[mobx] " + (t || Pd));
6921
+ function Vd(e, t) {
6922
+ if (!e) throw Error("[mobx] " + (t || Rd));
6918
6923
  }
6919
- function Rd(e) {
6924
+ function Hd(e) {
6920
6925
  var t = !1;
6921
6926
  return function() {
6922
6927
  if (!t) return t = !0, e.apply(this, arguments);
6923
6928
  };
6924
6929
  }
6925
- var zd = function() {};
6926
- function Bd(e) {
6930
+ var Ud = function() {};
6931
+ function Wd(e) {
6927
6932
  var t = [];
6928
6933
  return e.forEach(function(e) {
6929
6934
  t.indexOf(e) === -1 && t.push(e);
6930
6935
  }), t;
6931
6936
  }
6932
- function Vd(e) {
6937
+ function Gd(e) {
6933
6938
  return typeof e == "object" && !!e;
6934
6939
  }
6935
- function Hd(e) {
6940
+ function Kd(e) {
6936
6941
  if (typeof e != "object" || !e) return !1;
6937
6942
  var t = Object.getPrototypeOf(e);
6938
6943
  return t === Object.prototype || t === null;
6939
6944
  }
6940
- function Ud(e) {
6941
- if (Jd(e) || zm(e)) return e;
6945
+ function qd(e) {
6946
+ if (Qd(e) || Um(e)) return e;
6942
6947
  if (Array.isArray(e)) return new Map(e);
6943
- if (Hd(e)) {
6948
+ if (Kd(e)) {
6944
6949
  var t = /* @__PURE__ */ new Map();
6945
6950
  for (var n in e) t.set(n, e[n]);
6946
6951
  return t;
6947
6952
  } else return K("Cannot convert to map from '" + e + "'");
6948
6953
  }
6949
- function Wd(e, t, n) {
6954
+ function Jd(e, t, n) {
6950
6955
  Object.defineProperty(e, t, {
6951
6956
  enumerable: !1,
6952
6957
  writable: !0,
@@ -6954,7 +6959,7 @@ function Wd(e, t, n) {
6954
6959
  value: n
6955
6960
  });
6956
6961
  }
6957
- function Gd(e, t, n) {
6962
+ function Yd(e, t, n) {
6958
6963
  Object.defineProperty(e, t, {
6959
6964
  enumerable: !1,
6960
6965
  writable: !1,
@@ -6962,38 +6967,38 @@ function Gd(e, t, n) {
6962
6967
  value: n
6963
6968
  });
6964
6969
  }
6965
- function Kd(e, t) {
6970
+ function Xd(e, t) {
6966
6971
  var n = Object.getOwnPropertyDescriptor(e, t);
6967
6972
  return !n || n.configurable !== !1 && n.writable !== !1;
6968
6973
  }
6969
- function qd(e, t) {
6974
+ function Zd(e, t) {
6970
6975
  var n = "isMobX" + e;
6971
6976
  return t.prototype[n] = !0, function(e) {
6972
- return Vd(e) && e[n] === !0;
6977
+ return Gd(e) && e[n] === !0;
6973
6978
  };
6974
6979
  }
6975
- function Jd(e) {
6980
+ function Qd(e) {
6976
6981
  return e instanceof Map;
6977
6982
  }
6978
- function Yd(e) {
6983
+ function $d(e) {
6979
6984
  return e instanceof Set;
6980
6985
  }
6981
- function Xd(e) {
6986
+ function ef(e) {
6982
6987
  var t = /* @__PURE__ */ new Set();
6983
6988
  for (var n in e) t.add(n);
6984
6989
  return Object.getOwnPropertySymbols(e).forEach(function(n) {
6985
6990
  Object.getOwnPropertyDescriptor(e, n).enumerable && t.add(n);
6986
6991
  }), Array.from(t);
6987
6992
  }
6988
- function Zd(e) {
6993
+ function tf(e) {
6989
6994
  return e && e.toString ? e.toString() : new String(e).toString();
6990
6995
  }
6991
- function Qd(e) {
6996
+ function nf(e) {
6992
6997
  return e === null ? null : typeof e == "object" ? "" + e : e;
6993
6998
  }
6994
- var $d = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols ? function(e) {
6999
+ var rf = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols ? function(e) {
6995
7000
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
6996
- } : /* istanbul ignore next */ Object.getOwnPropertyNames, q = Symbol("mobx administration"), ef = function() {
7001
+ } : /* istanbul ignore next */ Object.getOwnPropertyNames, q = Symbol("mobx administration"), af = function() {
6997
7002
  function e(e) {
6998
7003
  e === void 0 && (e = "Atom@" + G()), this.name = e, this.isPendingUnobservation = !1, this.isBeingObserved = !1, this.observers = /* @__PURE__ */ new Set(), this.diffValue = 0, this.lastAccessedBy = 0, this.lowestObserverState = Y.NOT_TRACKING;
6999
7004
  }
@@ -7006,56 +7011,56 @@ var $d = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getO
7006
7011
  return e();
7007
7012
  });
7008
7013
  }, e.prototype.reportObserved = function() {
7009
- return Cp(this);
7014
+ return Dp(this);
7010
7015
  }, e.prototype.reportChanged = function() {
7011
- Z(), wp(this), Q();
7016
+ Z(), Op(this), Q();
7012
7017
  }, e.prototype.toString = function() {
7013
7018
  return this.name;
7014
7019
  }, e;
7015
- }(), tf = qd("Atom", ef);
7016
- function nf(e, t, n) {
7017
- t === void 0 && (t = zd), n === void 0 && (n = zd);
7018
- var r = new ef(e);
7019
- return t !== zd && Yp(r, t), n !== zd && Xp(r, n), r;
7020
+ }(), of = Zd("Atom", af);
7021
+ function sf(e, t, n) {
7022
+ t === void 0 && (t = Ud), n === void 0 && (n = Ud);
7023
+ var r = new af(e);
7024
+ return t !== Ud && $p(r, t), n !== Ud && em(r, n), r;
7020
7025
  }
7021
- function rf(e, t) {
7026
+ function cf(e, t) {
7022
7027
  return e === t;
7023
7028
  }
7024
- function af(e, t) {
7025
- return rh(e, t);
7029
+ function lf(e, t) {
7030
+ return sh(e, t);
7026
7031
  }
7027
- function of(e, t) {
7028
- return rh(e, t, 1);
7032
+ function uf(e, t) {
7033
+ return sh(e, t, 1);
7029
7034
  }
7030
- function sf(e, t) {
7035
+ function df(e, t) {
7031
7036
  return Object.is(e, t);
7032
7037
  }
7033
- var cf = {
7034
- identity: rf,
7035
- structural: af,
7036
- default: sf,
7037
- shallow: of
7038
- }, lf = function(e, t) {
7039
- return lf = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
7038
+ var ff = {
7039
+ identity: cf,
7040
+ structural: lf,
7041
+ default: df,
7042
+ shallow: uf
7043
+ }, pf = function(e, t) {
7044
+ return pf = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
7040
7045
  e.__proto__ = t;
7041
7046
  } || function(e, t) {
7042
7047
  for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
7043
- }, lf(e, t);
7048
+ }, pf(e, t);
7044
7049
  };
7045
- function uf(e, t) {
7046
- lf(e, t);
7050
+ function mf(e, t) {
7051
+ pf(e, t);
7047
7052
  function n() {
7048
7053
  this.constructor = e;
7049
7054
  }
7050
7055
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
7051
7056
  }
7052
- var df = function() {
7053
- return df = Object.assign || function(e) {
7057
+ var hf = function() {
7058
+ return hf = Object.assign || function(e) {
7054
7059
  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]);
7055
7060
  return e;
7056
- }, df.apply(this, arguments);
7061
+ }, hf.apply(this, arguments);
7057
7062
  };
7058
- function ff(e) {
7063
+ function gf(e) {
7059
7064
  var t = typeof Symbol == "function" && e[Symbol.iterator], n = 0;
7060
7065
  return t ? t.call(e) : { next: function() {
7061
7066
  return e && n >= e.length && (e = void 0), {
@@ -7064,7 +7069,7 @@ function ff(e) {
7064
7069
  };
7065
7070
  } };
7066
7071
  }
7067
- function pf(e, t) {
7072
+ function _f(e, t) {
7068
7073
  var n = typeof Symbol == "function" && e[Symbol.iterator];
7069
7074
  if (!n) return e;
7070
7075
  var r = n.call(e), i, a = [], o;
@@ -7081,33 +7086,33 @@ function pf(e, t) {
7081
7086
  }
7082
7087
  return a;
7083
7088
  }
7084
- function mf() {
7085
- for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(pf(arguments[t]));
7089
+ function vf() {
7090
+ for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(_f(arguments[t]));
7086
7091
  return e;
7087
7092
  }
7088
- var hf = Symbol("mobx did run lazy initializers"), gf = Symbol("mobx pending decorators"), _f = {}, vf = {};
7089
- function yf(e, t) {
7090
- var n = t ? _f : vf;
7093
+ var yf = Symbol("mobx did run lazy initializers"), bf = Symbol("mobx pending decorators"), xf = {}, Sf = {};
7094
+ function Cf(e, t) {
7095
+ var n = t ? xf : Sf;
7091
7096
  return n[e] || (n[e] = {
7092
7097
  configurable: !0,
7093
7098
  enumerable: t,
7094
7099
  get: function() {
7095
- return bf(this), this[e];
7100
+ return wf(this), this[e];
7096
7101
  },
7097
7102
  set: function(t) {
7098
- bf(this), this[e] = t;
7103
+ wf(this), this[e] = t;
7099
7104
  }
7100
7105
  });
7101
7106
  }
7102
- function bf(e) {
7107
+ function wf(e) {
7103
7108
  var t, n;
7104
- if (e[hf] !== !0) {
7105
- var r = e[gf];
7109
+ if (e[yf] !== !0) {
7110
+ var r = e[bf];
7106
7111
  if (r) {
7107
- Wd(e, hf, !0);
7108
- var i = mf(Object.getOwnPropertySymbols(r), Object.keys(r));
7112
+ Jd(e, yf, !0);
7113
+ var i = vf(Object.getOwnPropertySymbols(r), Object.keys(r));
7109
7114
  try {
7110
- for (var a = ff(i), o = a.next(); !o.done; o = a.next()) {
7115
+ for (var a = gf(i), o = a.next(); !o.done; o = a.next()) {
7111
7116
  var s = r[o.value];
7112
7117
  s.propertyCreator(e, s.prop, s.descriptor, s.decoratorTarget, s.decoratorArguments);
7113
7118
  }
@@ -7123,182 +7128,182 @@ function bf(e) {
7123
7128
  }
7124
7129
  }
7125
7130
  }
7126
- function xf(e, t) {
7131
+ function Tf(e, t) {
7127
7132
  return function() {
7128
7133
  var n, r = function(r, i, a, o) {
7129
7134
  if (o === !0) return t(r, i, a, r, n), null;
7130
- if (!Object.prototype.hasOwnProperty.call(r, gf)) {
7131
- var s = r[gf];
7132
- Wd(r, gf, df({}, s));
7135
+ if (!Object.prototype.hasOwnProperty.call(r, bf)) {
7136
+ var s = r[bf];
7137
+ Jd(r, bf, hf({}, s));
7133
7138
  }
7134
- return r[gf][i] = {
7139
+ return r[bf][i] = {
7135
7140
  prop: i,
7136
7141
  propertyCreator: t,
7137
7142
  descriptor: a,
7138
7143
  decoratorTarget: r,
7139
7144
  decoratorArguments: n
7140
- }, yf(i, e);
7145
+ }, Cf(i, e);
7141
7146
  };
7142
- return Sf(arguments) ? (n = Fd, r.apply(null, arguments)) : (n = Array.prototype.slice.call(arguments), r);
7147
+ return Ef(arguments) ? (n = zd, r.apply(null, arguments)) : (n = Array.prototype.slice.call(arguments), r);
7143
7148
  };
7144
7149
  }
7145
- function Sf(e) {
7150
+ function Ef(e) {
7146
7151
  return (e.length === 2 || e.length === 3) && (typeof e[1] == "string" || typeof e[1] == "symbol") || e.length === 4 && e[3] === !0;
7147
7152
  }
7148
- function Cf(e, t, n) {
7149
- return om(e) ? e : Array.isArray(e) ? J.array(e, { name: n }) : Hd(e) ? J.object(e, void 0, { name: n }) : Jd(e) ? J.map(e, { name: n }) : Yd(e) ? J.set(e, { name: n }) : e;
7153
+ function Df(e, t, n) {
7154
+ return um(e) ? e : Array.isArray(e) ? J.array(e, { name: n }) : Kd(e) ? J.object(e, void 0, { name: n }) : Qd(e) ? J.map(e, { name: n }) : $d(e) ? J.set(e, { name: n }) : e;
7150
7155
  }
7151
- function wf(e, t, n) {
7152
- return e == null || Qm(e) || Fm(e) || zm(e) || Um(e) ? e : Array.isArray(e) ? J.array(e, {
7156
+ function Of(e, t, n) {
7157
+ return e == null || nh(e) || zm(e) || Um(e) || qm(e) ? e : Array.isArray(e) ? J.array(e, {
7153
7158
  name: n,
7154
7159
  deep: !1
7155
- }) : Hd(e) ? J.object(e, void 0, {
7160
+ }) : Kd(e) ? J.object(e, void 0, {
7156
7161
  name: n,
7157
7162
  deep: !1
7158
- }) : Jd(e) ? J.map(e, {
7163
+ }) : Qd(e) ? J.map(e, {
7159
7164
  name: n,
7160
7165
  deep: !1
7161
- }) : Yd(e) ? J.set(e, {
7166
+ }) : $d(e) ? J.set(e, {
7162
7167
  name: n,
7163
7168
  deep: !1
7164
7169
  }) : K(!1);
7165
7170
  }
7166
- function Tf(e) {
7171
+ function kf(e) {
7167
7172
  return e;
7168
7173
  }
7169
- function Ef(e, t, n) {
7170
- return rh(e, t) ? t : e;
7174
+ function Af(e, t, n) {
7175
+ return sh(e, t) ? t : e;
7171
7176
  }
7172
- function Df(e) {
7173
- Ld(e);
7174
- var t = xf(!0, function(t, n, r, i, a) {
7177
+ function jf(e) {
7178
+ Vd(e);
7179
+ var t = Tf(!0, function(t, n, r, i, a) {
7175
7180
  var o = r ? r.initializer ? r.initializer.call(t) : r.value : void 0;
7176
- Gm(t).addObservableProp(n, o, e);
7181
+ Ym(t).addObservableProp(n, o, e);
7177
7182
  }), n = (typeof process < "u" && process.env, t);
7178
7183
  return n.enhancer = e, n;
7179
7184
  }
7180
- var Of = {
7185
+ var Mf = {
7181
7186
  deep: !0,
7182
7187
  name: void 0,
7183
7188
  defaultDecorator: void 0,
7184
7189
  proxy: !0
7185
7190
  };
7186
- Object.freeze(Of);
7187
- function kf(e) {
7188
- return e == null ? Of : typeof e == "string" ? {
7191
+ Object.freeze(Mf);
7192
+ function Nf(e) {
7193
+ return e == null ? Mf : typeof e == "string" ? {
7189
7194
  name: e,
7190
7195
  deep: !0,
7191
7196
  proxy: !0
7192
7197
  } : e;
7193
7198
  }
7194
- var Af = Df(Cf), jf = Df(wf), Mf = Df(Tf), Nf = Df(Ef);
7195
- function Pf(e) {
7196
- return e.defaultDecorator ? e.defaultDecorator.enhancer : e.deep === !1 ? Tf : Cf;
7199
+ var Pf = jf(Df), Ff = jf(Of), If = jf(kf), Lf = jf(Af);
7200
+ function Rf(e) {
7201
+ return e.defaultDecorator ? e.defaultDecorator.enhancer : e.deep === !1 ? kf : Df;
7197
7202
  }
7198
- function Ff(e, t, n) {
7199
- if (typeof arguments[1] == "string" || typeof arguments[1] == "symbol") return Af.apply(null, arguments);
7200
- if (om(e)) return e;
7201
- var r = Hd(e) ? J.object(e, t, n) : Array.isArray(e) ? J.array(e, t) : Jd(e) ? J.map(e, t) : Yd(e) ? J.set(e, t) : e;
7203
+ function zf(e, t, n) {
7204
+ if (typeof arguments[1] == "string" || typeof arguments[1] == "symbol") return Pf.apply(null, arguments);
7205
+ if (um(e)) return e;
7206
+ var r = Kd(e) ? J.object(e, t, n) : Array.isArray(e) ? J.array(e, t) : Qd(e) ? J.map(e, t) : $d(e) ? J.set(e, t) : e;
7202
7207
  if (r !== e) return r;
7203
7208
  K(!1);
7204
7209
  }
7205
- var If = {
7210
+ var Bf = {
7206
7211
  box: function(e, t) {
7207
- arguments.length > 2 && Lf("box");
7208
- var n = kf(t);
7209
- return new up(e, Pf(n), n.name, !0, n.equals);
7212
+ arguments.length > 2 && Vf("box");
7213
+ var n = Nf(t);
7214
+ return new mp(e, Rf(n), n.name, !0, n.equals);
7210
7215
  },
7211
7216
  array: function(e, t) {
7212
- arguments.length > 2 && Lf("array");
7213
- var n = kf(t);
7214
- return jm(e, Pf(n), n.name);
7217
+ arguments.length > 2 && Vf("array");
7218
+ var n = Nf(t);
7219
+ return Fm(e, Rf(n), n.name);
7215
7220
  },
7216
7221
  map: function(e, t) {
7217
- arguments.length > 2 && Lf("map");
7218
- var n = kf(t);
7219
- return new Rm(e, Pf(n), n.name);
7222
+ arguments.length > 2 && Vf("map");
7223
+ var n = Nf(t);
7224
+ return new Hm(e, Rf(n), n.name);
7220
7225
  },
7221
7226
  set: function(e, t) {
7222
- arguments.length > 2 && Lf("set");
7223
- var n = kf(t);
7224
- return new Hm(e, Pf(n), n.name);
7227
+ arguments.length > 2 && Vf("set");
7228
+ var n = Nf(t);
7229
+ return new Km(e, Rf(n), n.name);
7225
7230
  },
7226
7231
  object: function(e, t, n) {
7227
- typeof arguments[1] == "string" && Lf("object");
7228
- var r = kf(n);
7229
- if (r.proxy === !1) return $p({}, e, t, r);
7230
- var i = em(r), a = Sm($p({}, void 0, void 0, r));
7231
- return tm(a, e, t, i), a;
7232
+ typeof arguments[1] == "string" && Vf("object");
7233
+ var r = Nf(n);
7234
+ if (r.proxy === !1) return rm({}, e, t, r);
7235
+ var i = im(r), a = Em(rm({}, void 0, void 0, r));
7236
+ return am(a, e, t, i), a;
7232
7237
  },
7233
- ref: Mf,
7234
- shallow: jf,
7235
- deep: Af,
7236
- struct: Nf
7237
- }, J = Ff;
7238
- Object.keys(If).forEach(function(e) {
7239
- return J[e] = If[e];
7238
+ ref: If,
7239
+ shallow: Ff,
7240
+ deep: Pf,
7241
+ struct: Lf
7242
+ }, J = zf;
7243
+ Object.keys(Bf).forEach(function(e) {
7244
+ return J[e] = Bf[e];
7240
7245
  });
7241
- function Lf(e) {
7246
+ function Vf(e) {
7242
7247
  K("Expected one or two arguments to observable." + e + ". Did you accidentally try to use observable." + e + " as decorator?");
7243
7248
  }
7244
- var Rf = xf(!1, function(e, t, n, r, i) {
7249
+ var Hf = Tf(!1, function(e, t, n, r, i) {
7245
7250
  var a = n.get, o = n.set, s = i[0] || {};
7246
- Gm(e).addComputedProp(e, t, df({
7251
+ Ym(e).addComputedProp(e, t, hf({
7247
7252
  get: a,
7248
7253
  set: o,
7249
7254
  context: e
7250
7255
  }, s));
7251
- }), zf = Rf({ equals: cf.structural }), Bf = function(e, t, n) {
7252
- if (typeof t == "string" || typeof e == "object" && e && arguments.length === 1) return Rf.apply(null, arguments);
7256
+ }), Uf = Hf({ equals: ff.structural }), Wf = function(e, t, n) {
7257
+ if (typeof t == "string" || typeof e == "object" && e && arguments.length === 1) return Hf.apply(null, arguments);
7253
7258
  var r = typeof t == "object" ? t : {};
7254
- return r.get = e, r.set = typeof t == "function" ? t : r.set, r.name = r.name || e.name || "", new fp(r);
7259
+ return r.get = e, r.set = typeof t == "function" ? t : r.set, r.name = r.name || e.name || "", new gp(r);
7255
7260
  };
7256
- Bf.struct = zf;
7261
+ Wf.struct = Uf;
7257
7262
  var Y;
7258
7263
  (function(e) {
7259
7264
  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";
7260
7265
  })(Y || (Y = {}));
7261
- var Vf;
7266
+ var Gf;
7262
7267
  (function(e) {
7263
7268
  e[e.NONE = 0] = "NONE", e[e.LOG = 1] = "LOG", e[e.BREAK = 2] = "BREAK";
7264
- })(Vf || (Vf = {}));
7265
- var Hf = function() {
7269
+ })(Gf || (Gf = {}));
7270
+ var Kf = function() {
7266
7271
  function e(e) {
7267
7272
  this.cause = e;
7268
7273
  }
7269
7274
  return e;
7270
7275
  }();
7271
- function Uf(e) {
7272
- return e instanceof Hf;
7276
+ function qf(e) {
7277
+ return e instanceof Kf;
7273
7278
  }
7274
- function Wf(e) {
7279
+ function Jf(e) {
7275
7280
  switch (e.dependenciesState) {
7276
7281
  case Y.UP_TO_DATE: return !1;
7277
7282
  case Y.NOT_TRACKING:
7278
7283
  case Y.STALE: return !0;
7279
7284
  case Y.POSSIBLY_STALE:
7280
- for (var t = Qf(!0), n = Xf(), r = e.observing, i = r.length, a = 0; a < i; a++) {
7285
+ for (var t = np(!0), n = ep(), r = e.observing, i = r.length, a = 0; a < i; a++) {
7281
7286
  var o = r[a];
7282
- if (pp(o)) {
7287
+ if (_p(o)) {
7283
7288
  if (X.disableErrorBoundaries) o.get();
7284
7289
  else try {
7285
7290
  o.get();
7286
7291
  } catch {
7287
- return Zf(n), $f(t), !0;
7292
+ return tp(n), rp(t), !0;
7288
7293
  }
7289
- if (e.dependenciesState === Y.STALE) return Zf(n), $f(t), !0;
7294
+ if (e.dependenciesState === Y.STALE) return tp(n), rp(t), !0;
7290
7295
  }
7291
7296
  }
7292
- return ep(e), Zf(n), $f(t), !1;
7297
+ return ip(e), tp(n), rp(t), !1;
7293
7298
  }
7294
7299
  }
7295
- function Gf(e) {
7300
+ function Yf(e) {
7296
7301
  var t = e.observers.size > 0;
7297
7302
  X.computationDepth > 0 && t && K(!1), !X.allowStateChanges && (t || X.enforceActions === "strict") && K(!1);
7298
7303
  }
7299
- function Kf(e, t, n) {
7300
- var r = Qf(!0);
7301
- ep(e), e.newObserving = Array(e.observing.length + 100), e.unboundDepsCount = 0, e.runId = ++X.runId;
7304
+ function Xf(e, t, n) {
7305
+ var r = np(!0);
7306
+ ip(e), e.newObserving = Array(e.observing.length + 100), e.unboundDepsCount = 0, e.runId = ++X.runId;
7302
7307
  var i = X.trackingDerivation;
7303
7308
  X.trackingDerivation = e;
7304
7309
  var a;
@@ -7306,105 +7311,105 @@ function Kf(e, t, n) {
7306
7311
  else try {
7307
7312
  a = t.call(n);
7308
7313
  } catch (e) {
7309
- a = new Hf(e);
7314
+ a = new Kf(e);
7310
7315
  }
7311
- return X.trackingDerivation = i, qf(e), $f(r), a;
7316
+ return X.trackingDerivation = i, Zf(e), rp(r), a;
7312
7317
  }
7313
- function qf(e) {
7318
+ function Zf(e) {
7314
7319
  for (var t = e.observing, n = e.observing = e.newObserving, r = Y.UP_TO_DATE, i = 0, a = e.unboundDepsCount, o = 0; o < a; o++) {
7315
7320
  var s = n[o];
7316
7321
  s.diffValue === 0 && (s.diffValue = 1, i !== o && (n[i] = s), i++), s.dependenciesState > r && (r = s.dependenciesState);
7317
7322
  }
7318
7323
  for (n.length = i, e.newObserving = null, a = t.length; a--;) {
7319
7324
  var s = t[a];
7320
- s.diffValue === 0 && xp(s, e), s.diffValue = 0;
7325
+ s.diffValue === 0 && Tp(s, e), s.diffValue = 0;
7321
7326
  }
7322
7327
  for (; i--;) {
7323
7328
  var s = n[i];
7324
- s.diffValue === 1 && (s.diffValue = 0, bp(s, e));
7329
+ s.diffValue === 1 && (s.diffValue = 0, wp(s, e));
7325
7330
  }
7326
7331
  r !== Y.UP_TO_DATE && (e.dependenciesState = r, e.onBecomeStale());
7327
7332
  }
7328
- function Jf(e) {
7333
+ function Qf(e) {
7329
7334
  var t = e.observing;
7330
7335
  e.observing = [];
7331
- for (var n = t.length; n--;) xp(t[n], e);
7336
+ for (var n = t.length; n--;) Tp(t[n], e);
7332
7337
  e.dependenciesState = Y.NOT_TRACKING;
7333
7338
  }
7334
- function Yf(e) {
7335
- var t = Xf();
7339
+ function $f(e) {
7340
+ var t = ep();
7336
7341
  try {
7337
7342
  return e();
7338
7343
  } finally {
7339
- Zf(t);
7344
+ tp(t);
7340
7345
  }
7341
7346
  }
7342
- function Xf() {
7347
+ function ep() {
7343
7348
  var e = X.trackingDerivation;
7344
7349
  return X.trackingDerivation = null, e;
7345
7350
  }
7346
- function Zf(e) {
7351
+ function tp(e) {
7347
7352
  X.trackingDerivation = e;
7348
7353
  }
7349
- function Qf(e) {
7354
+ function np(e) {
7350
7355
  var t = X.allowStateReads;
7351
7356
  return X.allowStateReads = e, t;
7352
7357
  }
7353
- function $f(e) {
7358
+ function rp(e) {
7354
7359
  X.allowStateReads = e;
7355
7360
  }
7356
- function ep(e) {
7361
+ function ip(e) {
7357
7362
  if (e.dependenciesState !== Y.UP_TO_DATE) {
7358
7363
  e.dependenciesState = Y.UP_TO_DATE;
7359
7364
  for (var t = e.observing, n = t.length; n--;) t[n].lowestObserverState = Y.UP_TO_DATE;
7360
7365
  }
7361
7366
  }
7362
- var tp = 0, np = 1, rp = Object.getOwnPropertyDescriptor(function() {}, "name");
7363
- rp && rp.configurable;
7364
- function ip(e, t, n) {
7367
+ var ap = 0, op = 1, sp = Object.getOwnPropertyDescriptor(function() {}, "name");
7368
+ sp && sp.configurable;
7369
+ function cp(e, t, n) {
7365
7370
  var r = function() {
7366
- return ap(e, t, n || this, arguments);
7371
+ return lp(e, t, n || this, arguments);
7367
7372
  };
7368
7373
  return r.isMobxAction = !0, r;
7369
7374
  }
7370
- function ap(e, t, n, r) {
7371
- var i = op(e, n, r);
7375
+ function lp(e, t, n, r) {
7376
+ var i = up(e, n, r);
7372
7377
  try {
7373
7378
  return t.apply(n, r);
7374
7379
  } catch (e) {
7375
7380
  throw i.error = e, e;
7376
7381
  } finally {
7377
- sp(i);
7382
+ dp(i);
7378
7383
  }
7379
7384
  }
7380
- function op(e, t, n) {
7381
- var r = $() && !!e, i = 0, a = Xf();
7385
+ function up(e, t, n) {
7386
+ var r = $() && !!e, i = 0, a = ep();
7382
7387
  Z();
7383
7388
  var o = {
7384
7389
  prevDerivation: a,
7385
- prevAllowStateChanges: cp(!0),
7386
- prevAllowStateReads: Qf(!0),
7390
+ prevAllowStateChanges: fp(!0),
7391
+ prevAllowStateReads: np(!0),
7387
7392
  notifySpy: r,
7388
7393
  startTime: i,
7389
- actionId: np++,
7390
- parentActionId: tp
7394
+ actionId: op++,
7395
+ parentActionId: ap
7391
7396
  };
7392
- return tp = o.actionId, o;
7397
+ return ap = o.actionId, o;
7393
7398
  }
7394
- function sp(e) {
7395
- tp !== e.actionId && K("invalid action stack. did you forget to finish an action?"), tp = e.parentActionId, e.error !== void 0 && (X.suppressReactionErrors = !0), lp(e.prevAllowStateChanges), $f(e.prevAllowStateReads), Q(), Zf(e.prevDerivation), e.notifySpy, X.suppressReactionErrors = !1;
7399
+ function dp(e) {
7400
+ ap !== e.actionId && K("invalid action stack. did you forget to finish an action?"), ap = e.parentActionId, e.error !== void 0 && (X.suppressReactionErrors = !0), pp(e.prevAllowStateChanges), rp(e.prevAllowStateReads), Q(), tp(e.prevDerivation), e.notifySpy, X.suppressReactionErrors = !1;
7396
7401
  }
7397
- function cp(e) {
7402
+ function fp(e) {
7398
7403
  var t = X.allowStateChanges;
7399
7404
  return X.allowStateChanges = e, t;
7400
7405
  }
7401
- function lp(e) {
7406
+ function pp(e) {
7402
7407
  X.allowStateChanges = e;
7403
7408
  }
7404
- var up = function(e) {
7405
- uf(t, e);
7409
+ var mp = function(e) {
7410
+ mf(t, e);
7406
7411
  function t(t, n, r, i, a) {
7407
- r === void 0 && (r = "ObservableValue@" + G()), i === void 0 && (i = !0), a === void 0 && (a = cf.default);
7412
+ r === void 0 && (r = "ObservableValue@" + G()), i === void 0 && (i = !0), a === void 0 && (a = ff.default);
7408
7413
  var o = e.call(this, r) || this;
7409
7414
  return o.enhancer = n, o.name = r, o.equals = a, o.hasUnreportedChange = !1, o.value = n(t, void 0, r), o;
7410
7415
  }
@@ -7413,8 +7418,8 @@ var up = function(e) {
7413
7418
  }, t.prototype.set = function(e) {
7414
7419
  this.value, e = this.prepareNewValue(e), e !== X.UNCHANGED && this.setNewValue(e);
7415
7420
  }, t.prototype.prepareNewValue = function(e) {
7416
- if (Gf(this), Cm(this)) {
7417
- var t = Tm(this, {
7421
+ if (Yf(this), Dm(this)) {
7422
+ var t = km(this, {
7418
7423
  object: this,
7419
7424
  type: "update",
7420
7425
  newValue: e
@@ -7425,7 +7430,7 @@ var up = function(e) {
7425
7430
  return e = this.enhancer(e, this.value, this.name), this.equals(this.value, e) ? X.UNCHANGED : e;
7426
7431
  }, t.prototype.setNewValue = function(e) {
7427
7432
  var t = this.value;
7428
- this.value = e, this.reportChanged(), Em(this) && Om(this, {
7433
+ this.value = e, this.reportChanged(), Am(this) && Mm(this, {
7429
7434
  type: "update",
7430
7435
  object: this,
7431
7436
  newValue: e,
@@ -7434,29 +7439,29 @@ var up = function(e) {
7434
7439
  }, t.prototype.get = function() {
7435
7440
  return this.reportObserved(), this.dehanceValue(this.value);
7436
7441
  }, t.prototype.intercept = function(e) {
7437
- return wm(this, e);
7442
+ return Om(this, e);
7438
7443
  }, t.prototype.observe = function(e, t) {
7439
7444
  return t && e({
7440
7445
  object: this,
7441
7446
  type: "update",
7442
7447
  newValue: this.value,
7443
7448
  oldValue: void 0
7444
- }), Dm(this, e);
7449
+ }), jm(this, e);
7445
7450
  }, t.prototype.toJSON = function() {
7446
7451
  return this.get();
7447
7452
  }, t.prototype.toString = function() {
7448
7453
  return this.name + "[" + this.value + "]";
7449
7454
  }, t.prototype.valueOf = function() {
7450
- return Qd(this.get());
7455
+ return nf(this.get());
7451
7456
  }, t.prototype[Symbol.toPrimitive] = function() {
7452
7457
  return this.valueOf();
7453
7458
  }, t;
7454
- }(ef), dp = qd("ObservableValue", up), fp = function() {
7459
+ }(af), hp = Zd("ObservableValue", mp), gp = function() {
7455
7460
  function e(e) {
7456
- this.dependenciesState = Y.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 = Y.UP_TO_DATE, this.unboundDepsCount = 0, this.__mapid = "#" + G(), this.value = new Hf(null), this.isComputing = !1, this.isRunningSetter = !1, this.isTracing = Vf.NONE, Ld(e.get, "missing option for computed: get"), this.derivation = e.get, this.name = e.name || "ComputedValue@" + G(), e.set && (this.setter = ip(this.name + "-setter", e.set)), this.equals = e.equals || (e.compareStructural || e.struct ? cf.structural : cf.default), this.scope = e.context, this.requiresReaction = !!e.requiresReaction, this.keepAlive = !!e.keepAlive;
7461
+ this.dependenciesState = Y.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 = Y.UP_TO_DATE, this.unboundDepsCount = 0, this.__mapid = "#" + G(), this.value = new Kf(null), this.isComputing = !1, this.isRunningSetter = !1, this.isTracing = Gf.NONE, Vd(e.get, "missing option for computed: get"), this.derivation = e.get, this.name = e.name || "ComputedValue@" + G(), e.set && (this.setter = cp(this.name + "-setter", e.set)), this.equals = e.equals || (e.compareStructural || e.struct ? ff.structural : ff.default), this.scope = e.context, this.requiresReaction = !!e.requiresReaction, this.keepAlive = !!e.keepAlive;
7457
7462
  }
7458
7463
  return e.prototype.onBecomeStale = function() {
7459
- Ep(this);
7464
+ Ap(this);
7460
7465
  }, e.prototype.onBecomeObserved = function() {
7461
7466
  this.onBecomeObservedListeners && this.onBecomeObservedListeners.forEach(function(e) {
7462
7467
  return e();
@@ -7466,51 +7471,51 @@ var up = function(e) {
7466
7471
  return e();
7467
7472
  });
7468
7473
  }, e.prototype.get = function() {
7469
- this.isComputing && K("Cycle detected in computation " + this.name + ": " + this.derivation), X.inBatch === 0 && this.observers.size === 0 && !this.keepAlive ? Wf(this) && (this.warnAboutUntrackedRead(), Z(), this.value = this.computeValue(!1), Q()) : (Cp(this), Wf(this) && this.trackAndCompute() && Tp(this));
7474
+ this.isComputing && K("Cycle detected in computation " + this.name + ": " + this.derivation), X.inBatch === 0 && this.observers.size === 0 && !this.keepAlive ? Jf(this) && (this.warnAboutUntrackedRead(), Z(), this.value = this.computeValue(!1), Q()) : (Dp(this), Jf(this) && this.trackAndCompute() && kp(this));
7470
7475
  var e = this.value;
7471
- if (Uf(e)) throw e.cause;
7476
+ if (qf(e)) throw e.cause;
7472
7477
  return e;
7473
7478
  }, e.prototype.peek = function() {
7474
7479
  var e = this.computeValue(!1);
7475
- if (Uf(e)) throw e.cause;
7480
+ if (qf(e)) throw e.cause;
7476
7481
  return e;
7477
7482
  }, e.prototype.set = function(e) {
7478
7483
  if (this.setter) {
7479
- Ld(!this.isRunningSetter, "The setter of computed value '" + this.name + "' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"), this.isRunningSetter = !0;
7484
+ Vd(!this.isRunningSetter, "The setter of computed value '" + this.name + "' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"), this.isRunningSetter = !0;
7480
7485
  try {
7481
7486
  this.setter.call(this.scope, e);
7482
7487
  } finally {
7483
7488
  this.isRunningSetter = !1;
7484
7489
  }
7485
- } else Ld(!1, !1);
7490
+ } else Vd(!1, !1);
7486
7491
  }, e.prototype.trackAndCompute = function() {
7487
- var e = this.value, t = this.dependenciesState === Y.NOT_TRACKING, n = this.computeValue(!0), r = t || Uf(e) || Uf(n) || !this.equals(e, n);
7492
+ var e = this.value, t = this.dependenciesState === Y.NOT_TRACKING, n = this.computeValue(!0), r = t || qf(e) || qf(n) || !this.equals(e, n);
7488
7493
  return r && (this.value = n), r;
7489
7494
  }, e.prototype.computeValue = function(e) {
7490
7495
  this.isComputing = !0, X.computationDepth++;
7491
7496
  var t;
7492
- if (e) t = Kf(this, this.derivation, this.scope);
7497
+ if (e) t = Xf(this, this.derivation, this.scope);
7493
7498
  else if (X.disableErrorBoundaries === !0) t = this.derivation.call(this.scope);
7494
7499
  else try {
7495
7500
  t = this.derivation.call(this.scope);
7496
7501
  } catch (e) {
7497
- t = new Hf(e);
7502
+ t = new Kf(e);
7498
7503
  }
7499
7504
  return X.computationDepth--, this.isComputing = !1, t;
7500
7505
  }, e.prototype.suspend = function() {
7501
- this.keepAlive || (Jf(this), this.value = void 0);
7506
+ this.keepAlive || (Qf(this), this.value = void 0);
7502
7507
  }, e.prototype.observe = function(e, t) {
7503
7508
  var n = this, r = !0, i = void 0;
7504
- return Wp(function() {
7509
+ return Jp(function() {
7505
7510
  var a = n.get();
7506
7511
  if (!r || t) {
7507
- var o = Xf();
7512
+ var o = ep();
7508
7513
  e({
7509
7514
  type: "update",
7510
7515
  object: n,
7511
7516
  newValue: a,
7512
7517
  oldValue: i
7513
- }), Zf(o);
7518
+ }), tp(o);
7514
7519
  }
7515
7520
  r = !1, i = a;
7516
7521
  });
@@ -7519,35 +7524,35 @@ var up = function(e) {
7519
7524
  }, e.prototype.toString = function() {
7520
7525
  return this.name + "[" + this.derivation.toString() + "]";
7521
7526
  }, e.prototype.valueOf = function() {
7522
- return Qd(this.get());
7527
+ return nf(this.get());
7523
7528
  }, e.prototype[Symbol.toPrimitive] = function() {
7524
7529
  return this.valueOf();
7525
7530
  }, e;
7526
- }(), pp = qd("ComputedValue", fp), mp = function() {
7531
+ }(), _p = Zd("ComputedValue", gp), vp = function() {
7527
7532
  function e() {
7528
7533
  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;
7529
7534
  }
7530
7535
  return e;
7531
- }(), hp = {};
7532
- function gp() {
7533
- return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : hp;
7534
- }
7535
- var _p = !0, vp = !1, X = (function() {
7536
- var e = gp();
7537
- return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (_p = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new mp().version && (_p = !1), _p ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = new mp()) : (setTimeout(function() {
7538
- vp || K("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`");
7539
- }, 1), new mp());
7536
+ }(), yp = {};
7537
+ function bp() {
7538
+ return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : yp;
7539
+ }
7540
+ var xp = !0, Sp = !1, X = (function() {
7541
+ var e = bp();
7542
+ return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (xp = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new vp().version && (xp = !1), xp ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = new vp()) : (setTimeout(function() {
7543
+ Sp || K("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`");
7544
+ }, 1), new vp());
7540
7545
  })();
7541
- function yp() {
7542
- (X.pendingReactions.length || X.inBatch || X.isRunningReactions) && K("isolateGlobalState should be called before MobX is running any reactions"), vp = !0, _p && (--gp().__mobxInstanceCount === 0 && (gp().__mobxGlobals = void 0), X = new mp());
7546
+ function Cp() {
7547
+ (X.pendingReactions.length || X.inBatch || X.isRunningReactions) && K("isolateGlobalState should be called before MobX is running any reactions"), Sp = !0, xp && (--bp().__mobxInstanceCount === 0 && (bp().__mobxGlobals = void 0), X = new vp());
7543
7548
  }
7544
- function bp(e, t) {
7549
+ function wp(e, t) {
7545
7550
  e.observers.add(t), e.lowestObserverState > t.dependenciesState && (e.lowestObserverState = t.dependenciesState);
7546
7551
  }
7547
- function xp(e, t) {
7548
- e.observers.delete(t), e.observers.size === 0 && Sp(e);
7552
+ function Tp(e, t) {
7553
+ e.observers.delete(t), e.observers.size === 0 && Ep(e);
7549
7554
  }
7550
- function Sp(e) {
7555
+ function Ep(e) {
7551
7556
  e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, X.pendingUnobservations.push(e));
7552
7557
  }
7553
7558
  function Z() {
@@ -7555,61 +7560,61 @@ function Z() {
7555
7560
  }
7556
7561
  function Q() {
7557
7562
  if (--X.inBatch === 0) {
7558
- Mp();
7563
+ Ip();
7559
7564
  for (var e = X.pendingUnobservations, t = 0; t < e.length; t++) {
7560
7565
  var n = e[t];
7561
- n.isPendingUnobservation = !1, n.observers.size === 0 && (n.isBeingObserved && (n.isBeingObserved = !1, n.onBecomeUnobserved()), n instanceof fp && n.suspend());
7566
+ n.isPendingUnobservation = !1, n.observers.size === 0 && (n.isBeingObserved && (n.isBeingObserved = !1, n.onBecomeUnobserved()), n instanceof gp && n.suspend());
7562
7567
  }
7563
7568
  X.pendingUnobservations = [];
7564
7569
  }
7565
7570
  }
7566
- function Cp(e) {
7571
+ function Dp(e) {
7567
7572
  var t = X.trackingDerivation;
7568
- return t === null ? (e.observers.size === 0 && X.inBatch > 0 && Sp(e), !1) : (t.runId !== e.lastAccessedBy && (e.lastAccessedBy = t.runId, t.newObserving[t.unboundDepsCount++] = e, e.isBeingObserved || (e.isBeingObserved = !0, e.onBecomeObserved())), !0);
7573
+ return t === null ? (e.observers.size === 0 && X.inBatch > 0 && Ep(e), !1) : (t.runId !== e.lastAccessedBy && (e.lastAccessedBy = t.runId, t.newObserving[t.unboundDepsCount++] = e, e.isBeingObserved || (e.isBeingObserved = !0, e.onBecomeObserved())), !0);
7569
7574
  }
7570
- function wp(e) {
7575
+ function Op(e) {
7571
7576
  e.lowestObserverState !== Y.STALE && (e.lowestObserverState = Y.STALE, e.observers.forEach(function(t) {
7572
- t.dependenciesState === Y.UP_TO_DATE && (t.isTracing !== Vf.NONE && Dp(t, e), t.onBecomeStale()), t.dependenciesState = Y.STALE;
7577
+ t.dependenciesState === Y.UP_TO_DATE && (t.isTracing !== Gf.NONE && jp(t, e), t.onBecomeStale()), t.dependenciesState = Y.STALE;
7573
7578
  }));
7574
7579
  }
7575
- function Tp(e) {
7580
+ function kp(e) {
7576
7581
  e.lowestObserverState !== Y.STALE && (e.lowestObserverState = Y.STALE, e.observers.forEach(function(t) {
7577
7582
  t.dependenciesState === Y.POSSIBLY_STALE ? t.dependenciesState = Y.STALE : t.dependenciesState === Y.UP_TO_DATE && (e.lowestObserverState = Y.UP_TO_DATE);
7578
7583
  }));
7579
7584
  }
7580
- function Ep(e) {
7585
+ function Ap(e) {
7581
7586
  e.lowestObserverState === Y.UP_TO_DATE && (e.lowestObserverState = Y.POSSIBLY_STALE, e.observers.forEach(function(t) {
7582
- t.dependenciesState === Y.UP_TO_DATE && (t.dependenciesState = Y.POSSIBLY_STALE, t.isTracing !== Vf.NONE && Dp(t, e), t.onBecomeStale());
7587
+ t.dependenciesState === Y.UP_TO_DATE && (t.dependenciesState = Y.POSSIBLY_STALE, t.isTracing !== Gf.NONE && jp(t, e), t.onBecomeStale());
7583
7588
  }));
7584
7589
  }
7585
- function Dp(e, t) {
7586
- if (console.log("[mobx.trace] '" + e.name + "' is invalidated due to a change in: '" + t.name + "'"), e.isTracing === Vf.BREAK) {
7590
+ function jp(e, t) {
7591
+ if (console.log("[mobx.trace] '" + e.name + "' is invalidated due to a change in: '" + t.name + "'"), e.isTracing === Gf.BREAK) {
7587
7592
  var n = [];
7588
- Op(nm(e), n, 1), Function("debugger;\n/*\nTracing '" + e.name + "'\n\nYou are entering this break point because derivation '" + e.name + "' is being traced and '" + t.name + "' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n" + (e instanceof fp ? e.derivation.toString().replace(/[*]\//g, "/") : "") + "\n\nThe dependencies for this derivation are:\n\n" + n.join("\n") + "\n*/\n ")();
7593
+ Mp(om(e), n, 1), Function("debugger;\n/*\nTracing '" + e.name + "'\n\nYou are entering this break point because derivation '" + e.name + "' is being traced and '" + t.name + "' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n" + (e instanceof gp ? e.derivation.toString().replace(/[*]\//g, "/") : "") + "\n\nThe dependencies for this derivation are:\n\n" + n.join("\n") + "\n*/\n ")();
7589
7594
  }
7590
7595
  }
7591
- function Op(e, t, n) {
7596
+ function Mp(e, t, n) {
7592
7597
  if (t.length >= 1e3) {
7593
7598
  t.push("(and many more)");
7594
7599
  return;
7595
7600
  }
7596
7601
  t.push("" + Array(n).join(" ") + e.name), e.dependencies && e.dependencies.forEach(function(e) {
7597
- return Op(e, t, n + 1);
7602
+ return Mp(e, t, n + 1);
7598
7603
  });
7599
7604
  }
7600
- var kp = function() {
7605
+ var Np = function() {
7601
7606
  function e(e, t, n, r) {
7602
- e === void 0 && (e = "Reaction@" + G()), r === void 0 && (r = !1), this.name = e, this.onInvalidate = t, this.errorHandler = n, this.requiresObservable = r, this.observing = [], this.newObserving = [], this.dependenciesState = Y.NOT_TRACKING, this.diffValue = 0, this.runId = 0, this.unboundDepsCount = 0, this.__mapid = "#" + G(), this.isDisposed = !1, this._isScheduled = !1, this._isTrackPending = !1, this._isRunning = !1, this.isTracing = Vf.NONE;
7607
+ e === void 0 && (e = "Reaction@" + G()), r === void 0 && (r = !1), this.name = e, this.onInvalidate = t, this.errorHandler = n, this.requiresObservable = r, this.observing = [], this.newObserving = [], this.dependenciesState = Y.NOT_TRACKING, this.diffValue = 0, this.runId = 0, this.unboundDepsCount = 0, this.__mapid = "#" + G(), this.isDisposed = !1, this._isScheduled = !1, this._isTrackPending = !1, this._isRunning = !1, this.isTracing = Gf.NONE;
7603
7608
  }
7604
7609
  return e.prototype.onBecomeStale = function() {
7605
7610
  this.schedule();
7606
7611
  }, e.prototype.schedule = function() {
7607
- this._isScheduled || (this._isScheduled = !0, X.pendingReactions.push(this), Mp());
7612
+ this._isScheduled || (this._isScheduled = !0, X.pendingReactions.push(this), Ip());
7608
7613
  }, e.prototype.isScheduled = function() {
7609
7614
  return this._isScheduled;
7610
7615
  }, e.prototype.runReaction = function() {
7611
7616
  if (!this.isDisposed) {
7612
- if (Z(), this._isScheduled = !1, Wf(this)) {
7617
+ if (Z(), this._isScheduled = !1, Jf(this)) {
7613
7618
  this._isTrackPending = !0;
7614
7619
  try {
7615
7620
  this.onInvalidate(), this._isTrackPending;
@@ -7622,8 +7627,8 @@ var kp = function() {
7622
7627
  }, e.prototype.track = function(e) {
7623
7628
  if (!this.isDisposed) {
7624
7629
  Z(), this._isRunning = !0;
7625
- var t = Kf(this, e, void 0);
7626
- this._isRunning = !1, this._isTrackPending = !1, this.isDisposed && Jf(this), Uf(t) && this.reportExceptionInDerivation(t.cause), Q();
7630
+ var t = Xf(this, e, void 0);
7631
+ this._isRunning = !1, this._isTrackPending = !1, this.isDisposed && Qf(this), qf(t) && this.reportExceptionInDerivation(t.cause), Q();
7627
7632
  }
7628
7633
  }, e.prototype.reportExceptionInDerivation = function(e) {
7629
7634
  var t = this;
@@ -7637,33 +7642,33 @@ var kp = function() {
7637
7642
  return n(e, t);
7638
7643
  });
7639
7644
  }, e.prototype.dispose = function() {
7640
- this.isDisposed || (this.isDisposed = !0, this._isRunning || (Z(), Jf(this), Q()));
7645
+ this.isDisposed || (this.isDisposed = !0, this._isRunning || (Z(), Qf(this), Q()));
7641
7646
  }, e.prototype.getDisposer = function() {
7642
7647
  var e = this.dispose.bind(this);
7643
7648
  return e[q] = this, e;
7644
7649
  }, e.prototype.toString = function() {
7645
7650
  return "Reaction[" + this.name + "]";
7646
7651
  }, e.prototype.trace = function(e) {
7647
- e === void 0 && (e = !1), pm(this, e);
7652
+ e === void 0 && (e = !1), _m(this, e);
7648
7653
  }, e;
7649
- }(), Ap = 100, jp = function(e) {
7654
+ }(), Pp = 100, Fp = function(e) {
7650
7655
  return e();
7651
7656
  };
7652
- function Mp() {
7653
- X.inBatch > 0 || X.isRunningReactions || jp(Np);
7657
+ function Ip() {
7658
+ X.inBatch > 0 || X.isRunningReactions || Fp(Lp);
7654
7659
  }
7655
- function Np() {
7660
+ function Lp() {
7656
7661
  X.isRunningReactions = !0;
7657
7662
  for (var e = X.pendingReactions, t = 0; e.length > 0;) {
7658
- ++t === Ap && (console.error("Reaction doesn't converge to a stable state after " + Ap + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0])), e.splice(0));
7663
+ ++t === Pp && (console.error("Reaction doesn't converge to a stable state after " + Pp + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0])), e.splice(0));
7659
7664
  for (var n = e.splice(0), r = 0, i = n.length; r < i; r++) n[r].runReaction();
7660
7665
  }
7661
7666
  X.isRunningReactions = !1;
7662
7667
  }
7663
- var Pp = qd("Reaction", kp);
7664
- function Fp(e) {
7665
- var t = jp;
7666
- jp = function(n) {
7668
+ var Rp = Zd("Reaction", Np);
7669
+ function zp(e) {
7670
+ var t = Fp;
7671
+ Fp = function(n) {
7667
7672
  return e(function() {
7668
7673
  return t(n);
7669
7674
  });
@@ -7672,17 +7677,17 @@ function Fp(e) {
7672
7677
  function $() {
7673
7678
  return !1;
7674
7679
  }
7675
- function Ip(e) {
7680
+ function Bp(e) {
7676
7681
  return console.warn("[mobx.spy] Is a no-op in production builds"), function() {};
7677
7682
  }
7678
- function Lp() {
7683
+ function Vp() {
7679
7684
  K(!1);
7680
7685
  }
7681
- function Rp(e) {
7686
+ function Hp(e) {
7682
7687
  return function(t, n, r) {
7683
7688
  if (r) {
7684
7689
  if (r.value) return {
7685
- value: ip(e, r.value),
7690
+ value: cp(e, r.value),
7686
7691
  enumerable: !1,
7687
7692
  configurable: !0,
7688
7693
  writable: !0
@@ -7693,65 +7698,65 @@ function Rp(e) {
7693
7698
  configurable: !0,
7694
7699
  writable: !0,
7695
7700
  initializer: function() {
7696
- return ip(e, i.call(this));
7701
+ return cp(e, i.call(this));
7697
7702
  }
7698
7703
  };
7699
7704
  }
7700
- return zp(e).apply(this, arguments);
7705
+ return Up(e).apply(this, arguments);
7701
7706
  };
7702
7707
  }
7703
- function zp(e) {
7708
+ function Up(e) {
7704
7709
  return function(t, n, r) {
7705
7710
  Object.defineProperty(t, n, {
7706
7711
  configurable: !0,
7707
7712
  enumerable: !1,
7708
7713
  get: function() {},
7709
7714
  set: function(t) {
7710
- Wd(this, n, Vp(e, t));
7715
+ Jd(this, n, Gp(e, t));
7711
7716
  }
7712
7717
  });
7713
7718
  };
7714
7719
  }
7715
- function Bp(e, t, n, r) {
7716
- return r === !0 ? (Up(e, t, n.value), null) : n ? {
7720
+ function Wp(e, t, n, r) {
7721
+ return r === !0 ? (qp(e, t, n.value), null) : n ? {
7717
7722
  configurable: !0,
7718
7723
  enumerable: !1,
7719
7724
  get: function() {
7720
- return Up(this, t, n.value || n.initializer.call(this)), this[t];
7725
+ return qp(this, t, n.value || n.initializer.call(this)), this[t];
7721
7726
  },
7722
- set: Lp
7727
+ set: Vp
7723
7728
  } : {
7724
7729
  enumerable: !1,
7725
7730
  configurable: !0,
7726
7731
  set: function(e) {
7727
- Up(this, t, e);
7732
+ qp(this, t, e);
7728
7733
  },
7729
7734
  get: function() {}
7730
7735
  };
7731
7736
  }
7732
- var Vp = function(e, t, n, r) {
7733
- if (arguments.length === 1 && typeof e == "function") return ip(e.name || "<unnamed action>", e);
7734
- if (arguments.length === 2 && typeof t == "function") return ip(e, t);
7735
- if (arguments.length === 1 && typeof e == "string") return Rp(e);
7736
- if (r === !0) Wd(e, t, ip(e.name || t, n.value, this));
7737
- else return Rp(t).apply(null, arguments);
7737
+ var Gp = function(e, t, n, r) {
7738
+ if (arguments.length === 1 && typeof e == "function") return cp(e.name || "<unnamed action>", e);
7739
+ if (arguments.length === 2 && typeof t == "function") return cp(e, t);
7740
+ if (arguments.length === 1 && typeof e == "string") return Hp(e);
7741
+ if (r === !0) Jd(e, t, cp(e.name || t, n.value, this));
7742
+ else return Hp(t).apply(null, arguments);
7738
7743
  };
7739
- Vp.bound = Bp;
7740
- function Hp(e, t) {
7741
- return ap(typeof e == "string" ? e : e.name || "<unnamed action>", typeof e == "function" ? e : t, this, void 0);
7744
+ Gp.bound = Wp;
7745
+ function Kp(e, t) {
7746
+ return lp(typeof e == "string" ? e : e.name || "<unnamed action>", typeof e == "function" ? e : t, this, void 0);
7742
7747
  }
7743
- function Up(e, t, n) {
7744
- Wd(e, t, ip(t, n.bind(e)));
7748
+ function qp(e, t, n) {
7749
+ Jd(e, t, cp(t, n.bind(e)));
7745
7750
  }
7746
- function Wp(e, t) {
7747
- t === void 0 && (t = Id);
7751
+ function Jp(e, t) {
7752
+ t === void 0 && (t = Bd);
7748
7753
  var n = t && t.name || e.name || "Autorun@" + G(), r = !t.scheduler && !t.delay, i;
7749
- if (r) i = new kp(n, function() {
7754
+ if (r) i = new Np(n, function() {
7750
7755
  this.track(s);
7751
7756
  }, t.onError, t.requiresObservable);
7752
7757
  else {
7753
- var a = Kp(t), o = !1;
7754
- i = new kp(n, function() {
7758
+ var a = Xp(t), o = !1;
7759
+ i = new Np(n, function() {
7755
7760
  o || (o = !0, a(function() {
7756
7761
  o = !1, i.isDisposed || i.track(s);
7757
7762
  }));
@@ -7762,17 +7767,17 @@ function Wp(e, t) {
7762
7767
  }
7763
7768
  return i.schedule(), i.getDisposer();
7764
7769
  }
7765
- var Gp = function(e) {
7770
+ var Yp = function(e) {
7766
7771
  return e();
7767
7772
  };
7768
- function Kp(e) {
7773
+ function Xp(e) {
7769
7774
  return e.scheduler ? e.scheduler : e.delay ? function(t) {
7770
7775
  return setTimeout(t, e.delay);
7771
- } : Gp;
7776
+ } : Yp;
7772
7777
  }
7773
- function qp(e, t, n) {
7774
- n === void 0 && (n = Id);
7775
- var r = n.name || "Reaction@" + G(), i = Vp(r, n.onError ? Jp(n.onError, t) : t), a = !n.scheduler && !n.delay, o = Kp(n), s = !0, c = !1, l, u = n.compareStructural ? cf.structural : n.equals || cf.default, d = new kp(r, function() {
7778
+ function Zp(e, t, n) {
7779
+ n === void 0 && (n = Bd);
7780
+ var r = n.name || "Reaction@" + G(), i = Gp(r, n.onError ? Qp(n.onError, t) : t), a = !n.scheduler && !n.delay, o = Xp(n), s = !0, c = !1, l, u = n.compareStructural ? ff.structural : n.equals || ff.default, d = new Np(r, function() {
7776
7781
  s || a ? f() : c || (c = !0, o(f));
7777
7782
  }, n.onError, n.requiresObservable);
7778
7783
  function f() {
@@ -7786,7 +7791,7 @@ function qp(e, t, n) {
7786
7791
  }
7787
7792
  return d.schedule(), d.getDisposer();
7788
7793
  }
7789
- function Jp(e, t) {
7794
+ function Qp(e, t) {
7790
7795
  return function() {
7791
7796
  try {
7792
7797
  return t.apply(this, arguments);
@@ -7795,22 +7800,22 @@ function Jp(e, t) {
7795
7800
  }
7796
7801
  };
7797
7802
  }
7798
- function Yp(e, t, n) {
7799
- return Zp("onBecomeObserved", e, t, n);
7803
+ function $p(e, t, n) {
7804
+ return tm("onBecomeObserved", e, t, n);
7800
7805
  }
7801
- function Xp(e, t, n) {
7802
- return Zp("onBecomeUnobserved", e, t, n);
7806
+ function em(e, t, n) {
7807
+ return tm("onBecomeUnobserved", e, t, n);
7803
7808
  }
7804
- function Zp(e, t, n, r) {
7805
- var i = typeof r == "function" ? $m(t, n) : $m(t), a = typeof r == "function" ? r : n, o = e + "Listeners";
7809
+ function tm(e, t, n, r) {
7810
+ var i = typeof r == "function" ? rh(t, n) : rh(t), a = typeof r == "function" ? r : n, o = e + "Listeners";
7806
7811
  return i[o] ? i[o].add(a) : i[o] = /* @__PURE__ */ new Set([a]), typeof i[e] == "function" ? function() {
7807
7812
  var e = i[o];
7808
7813
  e && (e.delete(a), e.size === 0 && delete i[o]);
7809
7814
  } : K(!1);
7810
7815
  }
7811
- function Qp(e) {
7816
+ function nm(e) {
7812
7817
  var t = e.enforceActions, n = e.computedRequiresReaction, r = e.computedConfigurable, i = e.disableErrorBoundaries, a = e.reactionScheduler, o = e.reactionRequiresObservable, s = e.observableRequiresReaction;
7813
- if (e.isolateGlobalState === !0 && yp(), t !== void 0) {
7818
+ if (e.isolateGlobalState === !0 && Cp(), t !== void 0) {
7814
7819
  var c = void 0;
7815
7820
  switch (t) {
7816
7821
  case !0:
@@ -7829,25 +7834,25 @@ function Qp(e) {
7829
7834
  }
7830
7835
  X.enforceActions = c, X.allowStateChanges = !(c === !0 || c === "strict");
7831
7836
  }
7832
- n !== void 0 && (X.computedRequiresReaction = !!n), o !== void 0 && (X.reactionRequiresObservable = !!o), s !== void 0 && (X.observableRequiresReaction = !!s, X.allowStateReads = !X.observableRequiresReaction), r !== void 0 && (X.computedConfigurable = !!r), i !== void 0 && (i === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), X.disableErrorBoundaries = !!i), a && Fp(a);
7837
+ n !== void 0 && (X.computedRequiresReaction = !!n), o !== void 0 && (X.reactionRequiresObservable = !!o), s !== void 0 && (X.observableRequiresReaction = !!s, X.allowStateReads = !X.observableRequiresReaction), r !== void 0 && (X.computedConfigurable = !!r), i !== void 0 && (i === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), X.disableErrorBoundaries = !!i), a && zp(a);
7833
7838
  }
7834
- function $p(e, t, n, r) {
7835
- r = kf(r);
7836
- var i = em(r);
7837
- return bf(e), Gm(e, r.name, i.enhancer), t && tm(e, t, n, i), e;
7839
+ function rm(e, t, n, r) {
7840
+ r = Nf(r);
7841
+ var i = im(r);
7842
+ return wf(e), Ym(e, r.name, i.enhancer), t && am(e, t, n, i), e;
7838
7843
  }
7839
- function em(e) {
7840
- return e.defaultDecorator || (e.deep === !1 ? Mf : Af);
7844
+ function im(e) {
7845
+ return e.defaultDecorator || (e.deep === !1 ? If : Pf);
7841
7846
  }
7842
- function tm(e, t, n, r) {
7847
+ function am(e, t, n, r) {
7843
7848
  var i, a;
7844
7849
  if (0) var o, s, c, l;
7845
7850
  Z();
7846
7851
  try {
7847
- var o = $d(t);
7852
+ var o = rf(t);
7848
7853
  try {
7849
- for (var u = ff(o), d = u.next(); !d.done; d = u.next()) {
7850
- var l = d.value, f = Object.getOwnPropertyDescriptor(t, l), p = (n && l in n ? n[l] : f.get ? Rf : r)(e, l, f, !0);
7854
+ for (var u = gf(o), d = u.next(); !d.done; d = u.next()) {
7855
+ var l = d.value, f = Object.getOwnPropertyDescriptor(t, l), p = (n && l in n ? n[l] : f.get ? Hf : r)(e, l, f, !0);
7851
7856
  p && Object.defineProperty(e, l, p);
7852
7857
  }
7853
7858
  } catch (e) {
@@ -7863,116 +7868,116 @@ function tm(e, t, n, r) {
7863
7868
  Q();
7864
7869
  }
7865
7870
  }
7866
- function nm(e, t) {
7867
- return rm($m(e, t));
7871
+ function om(e, t) {
7872
+ return sm(rh(e, t));
7868
7873
  }
7869
- function rm(e) {
7874
+ function sm(e) {
7870
7875
  var t = { name: e.name };
7871
- return e.observing && e.observing.length > 0 && (t.dependencies = Bd(e.observing).map(rm)), t;
7876
+ return e.observing && e.observing.length > 0 && (t.dependencies = Wd(e.observing).map(sm)), t;
7872
7877
  }
7873
- function im() {
7878
+ function cm() {
7874
7879
  this.message = "FLOW_CANCELLED";
7875
7880
  }
7876
- im.prototype = Object.create(Error.prototype);
7877
- function am(e, t) {
7878
- return e == null ? !1 : t === void 0 ? Qm(e) || !!e[q] || tf(e) || Pp(e) || pp(e) : Qm(e) ? e[q].values.has(t) : !1;
7881
+ cm.prototype = Object.create(Error.prototype);
7882
+ function lm(e, t) {
7883
+ return e == null ? !1 : t === void 0 ? nh(e) || !!e[q] || of(e) || Rp(e) || _p(e) : nh(e) ? e[q].values.has(t) : !1;
7879
7884
  }
7880
- function om(e) {
7881
- return arguments.length !== 1 && K(!1), am(e);
7885
+ function um(e) {
7886
+ return arguments.length !== 1 && K(!1), lm(e);
7882
7887
  }
7883
- function sm(e) {
7884
- return Qm(e) ? e[q].getKeys() : zm(e) || Um(e) ? Array.from(e.keys()) : Fm(e) ? e.map(function(e, t) {
7888
+ function dm(e) {
7889
+ return nh(e) ? e[q].getKeys() : Um(e) || qm(e) ? Array.from(e.keys()) : zm(e) ? e.map(function(e, t) {
7885
7890
  return t;
7886
7891
  }) : K(!1);
7887
7892
  }
7888
- function cm(e, t, n) {
7889
- if (arguments.length === 2 && !Um(e)) {
7893
+ function fm(e, t, n) {
7894
+ if (arguments.length === 2 && !qm(e)) {
7890
7895
  Z();
7891
7896
  var r = t;
7892
7897
  try {
7893
- for (var i in r) cm(e, i, r[i]);
7898
+ for (var i in r) fm(e, i, r[i]);
7894
7899
  } finally {
7895
7900
  Q();
7896
7901
  }
7897
7902
  return;
7898
7903
  }
7899
- if (Qm(e)) {
7904
+ if (nh(e)) {
7900
7905
  var a = e[q];
7901
7906
  a.values.get(t) ? a.write(t, n) : a.addObservableProp(t, n, a.defaultEnhancer);
7902
- } else if (zm(e)) e.set(t, n);
7903
- else if (Um(e)) e.add(t);
7904
- else if (Fm(e)) typeof t != "number" && (t = parseInt(t, 10)), Ld(t >= 0, "Not a valid index: '" + t + "'"), Z(), t >= e.length && (e.length = t + 1), e[t] = n, Q();
7907
+ } else if (Um(e)) e.set(t, n);
7908
+ else if (qm(e)) e.add(t);
7909
+ else if (zm(e)) typeof t != "number" && (t = parseInt(t, 10)), Vd(t >= 0, "Not a valid index: '" + t + "'"), Z(), t >= e.length && (e.length = t + 1), e[t] = n, Q();
7905
7910
  else return K(!1);
7906
7911
  }
7907
- var lm = {
7912
+ var pm = {
7908
7913
  detectCycles: !0,
7909
7914
  exportMapsAsObjects: !0,
7910
7915
  recurseEverything: !1
7911
7916
  };
7912
- function um(e, t, n, r) {
7917
+ function mm(e, t, n, r) {
7913
7918
  return r.detectCycles && e.set(t, n), n;
7914
7919
  }
7915
- function dm(e, t, n) {
7916
- if (!t.recurseEverything && !om(e) || typeof e != "object") return e;
7920
+ function hm(e, t, n) {
7921
+ if (!t.recurseEverything && !um(e) || typeof e != "object") return e;
7917
7922
  if (e === null) return null;
7918
7923
  if (e instanceof Date) return e;
7919
- if (dp(e)) return dm(e.get(), t, n);
7920
- if (om(e) && sm(e), t.detectCycles === !0 && e !== null && n.has(e)) return n.get(e);
7921
- if (Fm(e) || Array.isArray(e)) {
7922
- var r = um(n, e, [], t), i = e.map(function(e) {
7923
- return dm(e, t, n);
7924
+ if (hp(e)) return hm(e.get(), t, n);
7925
+ if (um(e) && dm(e), t.detectCycles === !0 && e !== null && n.has(e)) return n.get(e);
7926
+ if (zm(e) || Array.isArray(e)) {
7927
+ var r = mm(n, e, [], t), i = e.map(function(e) {
7928
+ return hm(e, t, n);
7924
7929
  });
7925
7930
  r.length = i.length;
7926
7931
  for (var a = 0, o = i.length; a < o; a++) r[a] = i[a];
7927
7932
  return r;
7928
7933
  }
7929
- if (Um(e) || Object.getPrototypeOf(e) === Set.prototype) if (t.exportMapsAsObjects === !1) {
7930
- var s = um(n, e, /* @__PURE__ */ new Set(), t);
7934
+ if (qm(e) || Object.getPrototypeOf(e) === Set.prototype) if (t.exportMapsAsObjects === !1) {
7935
+ var s = mm(n, e, /* @__PURE__ */ new Set(), t);
7931
7936
  return e.forEach(function(e) {
7932
- s.add(dm(e, t, n));
7937
+ s.add(hm(e, t, n));
7933
7938
  }), s;
7934
7939
  } else {
7935
- var c = um(n, e, [], t);
7940
+ var c = mm(n, e, [], t);
7936
7941
  return e.forEach(function(e) {
7937
- c.push(dm(e, t, n));
7942
+ c.push(hm(e, t, n));
7938
7943
  }), c;
7939
7944
  }
7940
- if (zm(e) || Object.getPrototypeOf(e) === Map.prototype) if (t.exportMapsAsObjects === !1) {
7941
- var l = um(n, e, /* @__PURE__ */ new Map(), t);
7945
+ if (Um(e) || Object.getPrototypeOf(e) === Map.prototype) if (t.exportMapsAsObjects === !1) {
7946
+ var l = mm(n, e, /* @__PURE__ */ new Map(), t);
7942
7947
  return e.forEach(function(e, r) {
7943
- l.set(r, dm(e, t, n));
7948
+ l.set(r, hm(e, t, n));
7944
7949
  }), l;
7945
7950
  } else {
7946
- var u = um(n, e, {}, t);
7951
+ var u = mm(n, e, {}, t);
7947
7952
  return e.forEach(function(e, r) {
7948
- u[r] = dm(e, t, n);
7953
+ u[r] = hm(e, t, n);
7949
7954
  }), u;
7950
7955
  }
7951
- var d = um(n, e, {}, t);
7952
- return Xd(e).forEach(function(r) {
7953
- d[r] = dm(e[r], t, n);
7956
+ var d = mm(n, e, {}, t);
7957
+ return ef(e).forEach(function(r) {
7958
+ d[r] = hm(e[r], t, n);
7954
7959
  }), d;
7955
7960
  }
7956
- function fm(e, t) {
7957
- typeof t == "boolean" && (t = { detectCycles: t }), t || (t = lm), t.detectCycles = t.detectCycles === void 0 ? t.recurseEverything === !0 : t.detectCycles === !0;
7961
+ function gm(e, t) {
7962
+ typeof t == "boolean" && (t = { detectCycles: t }), t || (t = pm), t.detectCycles = t.detectCycles === void 0 ? t.recurseEverything === !0 : t.detectCycles === !0;
7958
7963
  var n;
7959
- return t.detectCycles && (n = /* @__PURE__ */ new Map()), dm(e, t, n);
7964
+ return t.detectCycles && (n = /* @__PURE__ */ new Map()), hm(e, t, n);
7960
7965
  }
7961
- function pm() {
7966
+ function _m() {
7962
7967
  var e = [...arguments], t = !1;
7963
7968
  typeof e[e.length - 1] == "boolean" && (t = e.pop());
7964
- var n = mm(e);
7969
+ var n = vm(e);
7965
7970
  if (!n) return K(!1);
7966
- n.isTracing === Vf.NONE && console.log("[mobx.trace] '" + n.name + "' tracing enabled"), n.isTracing = t ? Vf.BREAK : Vf.LOG;
7971
+ n.isTracing === Gf.NONE && console.log("[mobx.trace] '" + n.name + "' tracing enabled"), n.isTracing = t ? Gf.BREAK : Gf.LOG;
7967
7972
  }
7968
- function mm(e) {
7973
+ function vm(e) {
7969
7974
  switch (e.length) {
7970
7975
  case 0: return X.trackingDerivation;
7971
- case 1: return $m(e[0]);
7972
- case 2: return $m(e[0], e[1]);
7976
+ case 1: return rh(e[0]);
7977
+ case 2: return rh(e[0], e[1]);
7973
7978
  }
7974
7979
  }
7975
- function hm(e, t) {
7980
+ function ym(e, t) {
7976
7981
  t === void 0 && (t = void 0), Z();
7977
7982
  try {
7978
7983
  return e.apply(t);
@@ -7980,10 +7985,10 @@ function hm(e, t) {
7980
7985
  Q();
7981
7986
  }
7982
7987
  }
7983
- function gm(e, t, n) {
7984
- return arguments.length === 1 || t && typeof t == "object" ? vm(e, t) : _m(e, t, n || {});
7988
+ function bm(e, t, n) {
7989
+ return arguments.length === 1 || t && typeof t == "object" ? Sm(e, t) : xm(e, t, n || {});
7985
7990
  }
7986
- function _m(e, t, n) {
7991
+ function xm(e, t, n) {
7987
7992
  var r;
7988
7993
  typeof n.timeout == "number" && (r = setTimeout(function() {
7989
7994
  if (!a[q].isDisposed) {
@@ -7993,120 +7998,120 @@ function _m(e, t, n) {
7993
7998
  else throw e;
7994
7999
  }
7995
8000
  }, n.timeout)), n.name = n.name || "When@" + G();
7996
- var i = ip(n.name + "-effect", t), a = Wp(function(t) {
8001
+ var i = cp(n.name + "-effect", t), a = Jp(function(t) {
7997
8002
  e() && (t.dispose(), r && clearTimeout(r), i());
7998
8003
  }, n);
7999
8004
  return a;
8000
8005
  }
8001
- function vm(e, t) {
8006
+ function Sm(e, t) {
8002
8007
  var n, r = new Promise(function(r, i) {
8003
- var a = _m(e, r, df(df({}, t), { onError: i }));
8008
+ var a = xm(e, r, hf(hf({}, t), { onError: i }));
8004
8009
  n = function() {
8005
8010
  a(), i("WHEN_CANCELLED");
8006
8011
  };
8007
8012
  });
8008
8013
  return r.cancel = n, r;
8009
8014
  }
8010
- function ym(e) {
8015
+ function Cm(e) {
8011
8016
  return e[q];
8012
8017
  }
8013
- function bm(e) {
8018
+ function wm(e) {
8014
8019
  return typeof e == "string" || typeof e == "number" || typeof e == "symbol";
8015
8020
  }
8016
- var xm = {
8021
+ var Tm = {
8017
8022
  has: function(e, t) {
8018
- if (t === q || t === "constructor" || t === hf) return !0;
8019
- var n = ym(e);
8020
- return bm(t) ? n.has(t) : t in e;
8023
+ if (t === q || t === "constructor" || t === yf) return !0;
8024
+ var n = Cm(e);
8025
+ return wm(t) ? n.has(t) : t in e;
8021
8026
  },
8022
8027
  get: function(e, t) {
8023
- if (t === q || t === "constructor" || t === hf) return e[t];
8024
- var n = ym(e), r = n.values.get(t);
8025
- if (r instanceof ef) {
8028
+ if (t === q || t === "constructor" || t === yf) return e[t];
8029
+ var n = Cm(e), r = n.values.get(t);
8030
+ if (r instanceof af) {
8026
8031
  var i = r.get();
8027
8032
  return i === void 0 && n.has(t), i;
8028
8033
  }
8029
- return bm(t) && n.has(t), e[t];
8034
+ return wm(t) && n.has(t), e[t];
8030
8035
  },
8031
8036
  set: function(e, t, n) {
8032
- return bm(t) ? (cm(e, t, n), !0) : !1;
8037
+ return wm(t) ? (fm(e, t, n), !0) : !1;
8033
8038
  },
8034
8039
  deleteProperty: function(e, t) {
8035
- return bm(t) ? (ym(e).remove(t), !0) : !1;
8040
+ return wm(t) ? (Cm(e).remove(t), !0) : !1;
8036
8041
  },
8037
8042
  ownKeys: function(e) {
8038
- return ym(e).keysAtom.reportObserved(), Reflect.ownKeys(e);
8043
+ return Cm(e).keysAtom.reportObserved(), Reflect.ownKeys(e);
8039
8044
  },
8040
8045
  preventExtensions: function(e) {
8041
8046
  return K("Dynamic observable objects cannot be frozen"), !1;
8042
8047
  }
8043
8048
  };
8044
- function Sm(e) {
8045
- var t = new Proxy(e, xm);
8049
+ function Em(e) {
8050
+ var t = new Proxy(e, Tm);
8046
8051
  return e[q].proxy = t, t;
8047
8052
  }
8048
- function Cm(e) {
8053
+ function Dm(e) {
8049
8054
  return e.interceptors !== void 0 && e.interceptors.length > 0;
8050
8055
  }
8051
- function wm(e, t) {
8056
+ function Om(e, t) {
8052
8057
  var n = e.interceptors || (e.interceptors = []);
8053
- return n.push(t), Rd(function() {
8058
+ return n.push(t), Hd(function() {
8054
8059
  var e = n.indexOf(t);
8055
8060
  e !== -1 && n.splice(e, 1);
8056
8061
  });
8057
8062
  }
8058
- function Tm(e, t) {
8059
- var n = Xf();
8063
+ function km(e, t) {
8064
+ var n = ep();
8060
8065
  try {
8061
- for (var r = mf(e.interceptors || []), i = 0, a = r.length; i < a && (t = r[i](t), Ld(!t || t.type, "Intercept handlers should return nothing or a change object"), t); i++);
8066
+ for (var r = vf(e.interceptors || []), i = 0, a = r.length; i < a && (t = r[i](t), Vd(!t || t.type, "Intercept handlers should return nothing or a change object"), t); i++);
8062
8067
  return t;
8063
8068
  } finally {
8064
- Zf(n);
8069
+ tp(n);
8065
8070
  }
8066
8071
  }
8067
- function Em(e) {
8072
+ function Am(e) {
8068
8073
  return e.changeListeners !== void 0 && e.changeListeners.length > 0;
8069
8074
  }
8070
- function Dm(e, t) {
8075
+ function jm(e, t) {
8071
8076
  var n = e.changeListeners || (e.changeListeners = []);
8072
- return n.push(t), Rd(function() {
8077
+ return n.push(t), Hd(function() {
8073
8078
  var e = n.indexOf(t);
8074
8079
  e !== -1 && n.splice(e, 1);
8075
8080
  });
8076
8081
  }
8077
- function Om(e, t) {
8078
- var n = Xf(), r = e.changeListeners;
8082
+ function Mm(e, t) {
8083
+ var n = ep(), r = e.changeListeners;
8079
8084
  if (r) {
8080
8085
  r = r.slice();
8081
8086
  for (var i = 0, a = r.length; i < a; i++) r[i](t);
8082
- Zf(n);
8087
+ tp(n);
8083
8088
  }
8084
8089
  }
8085
- var km = 1e4, Am = {
8090
+ var Nm = 1e4, Pm = {
8086
8091
  get: function(e, t) {
8087
- return t === q ? e[q] : t === "length" ? e[q].getArrayLength() : typeof t == "number" ? Nm.get.call(e, t) : typeof t == "string" && !isNaN(t) ? Nm.get.call(e, parseInt(t)) : Nm.hasOwnProperty(t) ? Nm[t] : e[t];
8092
+ return t === q ? e[q] : t === "length" ? e[q].getArrayLength() : typeof t == "number" ? Lm.get.call(e, t) : typeof t == "string" && !isNaN(t) ? Lm.get.call(e, parseInt(t)) : Lm.hasOwnProperty(t) ? Lm[t] : e[t];
8088
8093
  },
8089
8094
  set: function(e, t, n) {
8090
- return t === "length" && e[q].setArrayLength(n), typeof t == "number" && Nm.set.call(e, t, n), typeof t == "symbol" || isNaN(t) ? e[t] = n : Nm.set.call(e, parseInt(t), n), !0;
8095
+ return t === "length" && e[q].setArrayLength(n), typeof t == "number" && Lm.set.call(e, t, n), typeof t == "symbol" || isNaN(t) ? e[t] = n : Lm.set.call(e, parseInt(t), n), !0;
8091
8096
  },
8092
8097
  preventExtensions: function(e) {
8093
8098
  return K("Observable arrays cannot be frozen"), !1;
8094
8099
  }
8095
8100
  };
8096
- function jm(e, t, n, r) {
8101
+ function Fm(e, t, n, r) {
8097
8102
  n === void 0 && (n = "ObservableArray@" + G()), r === void 0 && (r = !1);
8098
- var i = new Mm(n, t, r);
8099
- Gd(i.values, q, i);
8100
- var a = new Proxy(i.values, Am);
8103
+ var i = new Im(n, t, r);
8104
+ Yd(i.values, q, i);
8105
+ var a = new Proxy(i.values, Pm);
8101
8106
  if (i.proxy = a, e && e.length) {
8102
- var o = cp(!0);
8103
- i.spliceWithArray(0, 0, e), lp(o);
8107
+ var o = fp(!0);
8108
+ i.spliceWithArray(0, 0, e), pp(o);
8104
8109
  }
8105
8110
  return a;
8106
8111
  }
8107
- var Mm = function() {
8112
+ var Im = function() {
8108
8113
  function e(e, t, n) {
8109
- this.owned = n, this.values = [], this.proxy = void 0, this.lastKnownLength = 0, this.atom = new ef(e || "ObservableArray@" + G()), this.enhancer = function(n, r) {
8114
+ this.owned = n, this.values = [], this.proxy = void 0, this.lastKnownLength = 0, this.atom = new af(e || "ObservableArray@" + G()), this.enhancer = function(n, r) {
8110
8115
  return t(n, r, e + "[..]");
8111
8116
  };
8112
8117
  }
@@ -8115,7 +8120,7 @@ var Mm = function() {
8115
8120
  }, e.prototype.dehanceValues = function(e) {
8116
8121
  return this.dehancer !== void 0 && e.length > 0 ? e.map(this.dehancer) : e;
8117
8122
  }, e.prototype.intercept = function(e) {
8118
- return wm(this, e);
8123
+ return Om(this, e);
8119
8124
  }, e.prototype.observe = function(e, t) {
8120
8125
  return t === void 0 && (t = !1), t && e({
8121
8126
  object: this.proxy,
@@ -8125,7 +8130,7 @@ var Mm = function() {
8125
8130
  addedCount: this.values.length,
8126
8131
  removed: [],
8127
8132
  removedCount: 0
8128
- }), Dm(this, e);
8133
+ }), jm(this, e);
8129
8134
  }, e.prototype.getArrayLength = function() {
8130
8135
  return this.atom.reportObserved(), this.values.length;
8131
8136
  }, e.prototype.setArrayLength = function(e) {
@@ -8140,17 +8145,17 @@ var Mm = function() {
8140
8145
  this.lastKnownLength += t;
8141
8146
  }, e.prototype.spliceWithArray = function(e, t, n) {
8142
8147
  var r = this;
8143
- Gf(this.atom);
8148
+ Yf(this.atom);
8144
8149
  var i = this.values.length;
8145
- 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 = Fd), Cm(this)) {
8146
- var a = Tm(this, {
8150
+ 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 = zd), Dm(this)) {
8151
+ var a = km(this, {
8147
8152
  object: this.proxy,
8148
8153
  type: "splice",
8149
8154
  index: e,
8150
8155
  removedCount: t,
8151
8156
  added: n
8152
8157
  });
8153
- if (!a) return Fd;
8158
+ if (!a) return zd;
8154
8159
  t = a.removedCount, n = a.added;
8155
8160
  }
8156
8161
  n = n.length === 0 ? n : n.map(function(e) {
@@ -8160,20 +8165,20 @@ var Mm = function() {
8160
8165
  return (t !== 0 || n.length !== 0) && this.notifyArraySplice(e, n, o), this.dehanceValues(o);
8161
8166
  }, e.prototype.spliceItemsIntoValues = function(e, t, n) {
8162
8167
  var r;
8163
- if (n.length < km) return (r = this.values).splice.apply(r, mf([e, t], n));
8168
+ if (n.length < Nm) return (r = this.values).splice.apply(r, vf([e, t], n));
8164
8169
  var i = this.values.slice(e, e + t);
8165
8170
  return this.values = this.values.slice(0, e).concat(n, this.values.slice(e + t)), i;
8166
8171
  }, e.prototype.notifyArrayChildUpdate = function(e, t, n) {
8167
- var r = !this.owned && $(), i = Em(this), a = i || r ? {
8172
+ var r = !this.owned && $(), i = Am(this), a = i || r ? {
8168
8173
  object: this.proxy,
8169
8174
  type: "update",
8170
8175
  index: e,
8171
8176
  newValue: t,
8172
8177
  oldValue: n
8173
8178
  } : null;
8174
- this.atom.reportChanged(), i && Om(this, a);
8179
+ this.atom.reportChanged(), i && Mm(this, a);
8175
8180
  }, e.prototype.notifyArraySplice = function(e, t, n) {
8176
- var r = !this.owned && $(), i = Em(this), a = i || r ? {
8181
+ var r = !this.owned && $(), i = Am(this), a = i || r ? {
8177
8182
  object: this.proxy,
8178
8183
  type: "splice",
8179
8184
  index: e,
@@ -8182,9 +8187,9 @@ var Mm = function() {
8182
8187
  removedCount: n.length,
8183
8188
  addedCount: t.length
8184
8189
  } : null;
8185
- this.atom.reportChanged(), i && Om(this, a);
8190
+ this.atom.reportChanged(), i && Mm(this, a);
8186
8191
  }, e;
8187
- }(), Nm = {
8192
+ }(), Lm = {
8188
8193
  intercept: function(e) {
8189
8194
  return this[q].intercept(e);
8190
8195
  },
@@ -8252,10 +8257,10 @@ var Mm = function() {
8252
8257
  set: function(e, t) {
8253
8258
  var n = this[q], r = n.values;
8254
8259
  if (e < r.length) {
8255
- Gf(n.atom);
8260
+ Yf(n.atom);
8256
8261
  var i = r[e];
8257
- if (Cm(n)) {
8258
- var a = Tm(n, {
8262
+ if (Dm(n)) {
8263
+ var a = km(n, {
8259
8264
  type: "update",
8260
8265
  object: n.proxy,
8261
8266
  index: e,
@@ -8280,7 +8285,7 @@ var Mm = function() {
8280
8285
  "toString",
8281
8286
  "toLocaleString"
8282
8287
  ].forEach(function(e) {
8283
- typeof Array.prototype[e] == "function" && (Nm[e] = function() {
8288
+ typeof Array.prototype[e] == "function" && (Lm[e] = function() {
8284
8289
  var t = this[q];
8285
8290
  t.atom.reportObserved();
8286
8291
  var n = t.dehanceValues(t.values);
@@ -8296,14 +8301,14 @@ var Mm = function() {
8296
8301
  "map",
8297
8302
  "some"
8298
8303
  ].forEach(function(e) {
8299
- typeof Array.prototype[e] == "function" && (Nm[e] = function(t, n) {
8304
+ typeof Array.prototype[e] == "function" && (Lm[e] = function(t, n) {
8300
8305
  var r = this, i = this[q];
8301
8306
  return i.atom.reportObserved(), i.dehanceValues(i.values)[e](function(e, i) {
8302
8307
  return t.call(n, e, i, r);
8303
8308
  }, n);
8304
8309
  });
8305
8310
  }), ["reduce", "reduceRight"].forEach(function(e) {
8306
- Nm[e] = function() {
8311
+ Lm[e] = function() {
8307
8312
  var t = this, n = this[q];
8308
8313
  n.atom.reportObserved();
8309
8314
  var r = arguments[0];
@@ -8312,13 +8317,13 @@ var Mm = function() {
8312
8317
  }, n.values[e].apply(n.values, arguments);
8313
8318
  };
8314
8319
  });
8315
- var Pm = qd("ObservableArrayAdministration", Mm);
8316
- function Fm(e) {
8317
- return Vd(e) && Pm(e[q]);
8320
+ var Rm = Zd("ObservableArrayAdministration", Im);
8321
+ function zm(e) {
8322
+ return Gd(e) && Rm(e[q]);
8318
8323
  }
8319
- var Im, Lm = {}, Rm = function() {
8324
+ var Bm, Vm = {}, Hm = function() {
8320
8325
  function e(e, t, n) {
8321
- if (t === void 0 && (t = Cf), n === void 0 && (n = "ObservableMap@" + G()), this.enhancer = t, this.name = n, this[Im] = Lm, this._keysAtom = nf(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");
8326
+ if (t === void 0 && (t = Df), n === void 0 && (n = "ObservableMap@" + G()), this.enhancer = t, this.name = n, this[Bm] = Vm, this._keysAtom = sf(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");
8322
8327
  this._data = /* @__PURE__ */ new Map(), this._hasMap = /* @__PURE__ */ new Map(), this.merge(e);
8323
8328
  }
8324
8329
  return e.prototype._has = function(e) {
@@ -8328,16 +8333,16 @@ var Im, Lm = {}, Rm = function() {
8328
8333
  if (!X.trackingDerivation) return this._has(e);
8329
8334
  var n = this._hasMap.get(e);
8330
8335
  if (!n) {
8331
- var r = n = new up(this._has(e), Tf, this.name + "." + Zd(e) + "?", !1);
8332
- this._hasMap.set(e, r), Xp(r, function() {
8336
+ var r = n = new mp(this._has(e), kf, this.name + "." + tf(e) + "?", !1);
8337
+ this._hasMap.set(e, r), em(r, function() {
8333
8338
  return t._hasMap.delete(e);
8334
8339
  });
8335
8340
  }
8336
8341
  return n.get();
8337
8342
  }, e.prototype.set = function(e, t) {
8338
8343
  var n = this._has(e);
8339
- if (Cm(this)) {
8340
- var r = Tm(this, {
8344
+ if (Dm(this)) {
8345
+ var r = km(this, {
8341
8346
  type: n ? "update" : "add",
8342
8347
  object: this,
8343
8348
  newValue: t,
@@ -8349,8 +8354,8 @@ var Im, Lm = {}, Rm = function() {
8349
8354
  return n ? this._updateValue(e, t) : this._addValue(e, t), this;
8350
8355
  }, e.prototype.delete = function(e) {
8351
8356
  var t = this;
8352
- if (Gf(this._keysAtom), Cm(this)) {
8353
- var n = Tm(this, {
8357
+ if (Yf(this._keysAtom), Dm(this)) {
8358
+ var n = km(this, {
8354
8359
  type: "delete",
8355
8360
  object: this,
8356
8361
  name: e
@@ -8358,15 +8363,15 @@ var Im, Lm = {}, Rm = function() {
8358
8363
  if (!n) return !1;
8359
8364
  }
8360
8365
  if (this._has(e)) {
8361
- var r = $(), i = Em(this), n = i || r ? {
8366
+ var r = $(), i = Am(this), n = i || r ? {
8362
8367
  type: "delete",
8363
8368
  object: this,
8364
8369
  oldValue: this._data.get(e).value,
8365
8370
  name: e
8366
8371
  } : null;
8367
- return hm(function() {
8372
+ return ym(function() {
8368
8373
  t._keysAtom.reportChanged(), t._updateHasMapEntry(e, !1), t._data.get(e).setNewValue(void 0), t._data.delete(e);
8369
- }), i && Om(this, n), !0;
8374
+ }), i && Mm(this, n), !0;
8370
8375
  }
8371
8376
  return !1;
8372
8377
  }, e.prototype._updateHasMapEntry = function(e, t) {
@@ -8375,28 +8380,28 @@ var Im, Lm = {}, Rm = function() {
8375
8380
  }, e.prototype._updateValue = function(e, t) {
8376
8381
  var n = this._data.get(e);
8377
8382
  if (t = n.prepareNewValue(t), t !== X.UNCHANGED) {
8378
- var r = $(), i = Em(this), a = i || r ? {
8383
+ var r = $(), i = Am(this), a = i || r ? {
8379
8384
  type: "update",
8380
8385
  object: this,
8381
8386
  oldValue: n.value,
8382
8387
  name: e,
8383
8388
  newValue: t
8384
8389
  } : null;
8385
- n.setNewValue(t), i && Om(this, a);
8390
+ n.setNewValue(t), i && Mm(this, a);
8386
8391
  }
8387
8392
  }, e.prototype._addValue = function(e, t) {
8388
8393
  var n = this;
8389
- Gf(this._keysAtom), hm(function() {
8390
- var r = new up(t, n.enhancer, n.name + "." + Zd(e), !1);
8394
+ Yf(this._keysAtom), ym(function() {
8395
+ var r = new mp(t, n.enhancer, n.name + "." + tf(e), !1);
8391
8396
  n._data.set(e, r), t = r.value, n._updateHasMapEntry(e, !0), n._keysAtom.reportChanged();
8392
8397
  });
8393
- var r = $(), i = Em(this), a = i || r ? {
8398
+ var r = $(), i = Am(this), a = i || r ? {
8394
8399
  type: "add",
8395
8400
  object: this,
8396
8401
  name: e,
8397
8402
  newValue: t
8398
8403
  } : null;
8399
- i && Om(this, a);
8404
+ i && Mm(this, a);
8400
8405
  }, e.prototype.get = function(e) {
8401
8406
  return this.has(e) ? this.dehanceValue(this._data.get(e).get()) : this.dehanceValue(void 0);
8402
8407
  }, e.prototype.dehanceValue = function(e) {
@@ -8405,7 +8410,7 @@ var Im, Lm = {}, Rm = function() {
8405
8410
  return this._keysAtom.reportObserved(), this._data.keys();
8406
8411
  }, e.prototype.values = function() {
8407
8412
  var e = this, t = this.keys();
8408
- return sh({ next: function() {
8413
+ return dh({ next: function() {
8409
8414
  var n = t.next(), r = n.done, i = n.value;
8410
8415
  return {
8411
8416
  done: r,
@@ -8414,20 +8419,20 @@ var Im, Lm = {}, Rm = function() {
8414
8419
  } });
8415
8420
  }, e.prototype.entries = function() {
8416
8421
  var e = this, t = this.keys();
8417
- return sh({ next: function() {
8422
+ return dh({ next: function() {
8418
8423
  var n = t.next(), r = n.done, i = n.value;
8419
8424
  return {
8420
8425
  done: r,
8421
8426
  value: r ? void 0 : [i, e.get(i)]
8422
8427
  };
8423
8428
  } });
8424
- }, e.prototype[Im = q, Symbol.iterator] = function() {
8429
+ }, e.prototype[Bm = q, Symbol.iterator] = function() {
8425
8430
  return this.entries();
8426
8431
  }, e.prototype.forEach = function(e, t) {
8427
8432
  var n, r;
8428
8433
  try {
8429
- for (var i = ff(this), a = i.next(); !a.done; a = i.next()) {
8430
- var o = pf(a.value, 2), s = o[0], c = o[1];
8434
+ for (var i = gf(this), a = i.next(); !a.done; a = i.next()) {
8435
+ var o = _f(a.value, 2), s = o[0], c = o[1];
8431
8436
  e.call(t, c, s, this);
8432
8437
  }
8433
8438
  } catch (e) {
@@ -8441,28 +8446,28 @@ var Im, Lm = {}, Rm = function() {
8441
8446
  }
8442
8447
  }, e.prototype.merge = function(e) {
8443
8448
  var t = this;
8444
- return zm(e) && (e = e.toJS()), hm(function() {
8445
- var n = cp(!0);
8449
+ return Um(e) && (e = e.toJS()), ym(function() {
8450
+ var n = fp(!0);
8446
8451
  try {
8447
- Hd(e) ? Xd(e).forEach(function(n) {
8452
+ Kd(e) ? ef(e).forEach(function(n) {
8448
8453
  return t.set(n, e[n]);
8449
8454
  }) : Array.isArray(e) ? e.forEach(function(e) {
8450
- var n = pf(e, 2), r = n[0], i = n[1];
8455
+ var n = _f(e, 2), r = n[0], i = n[1];
8451
8456
  return t.set(r, i);
8452
- }) : Jd(e) ? (e.constructor !== Map && K("Cannot initialize from classes that inherit from Map: " + e.constructor.name), e.forEach(function(e, n) {
8457
+ }) : Qd(e) ? (e.constructor !== Map && K("Cannot initialize from classes that inherit from Map: " + e.constructor.name), e.forEach(function(e, n) {
8453
8458
  return t.set(n, e);
8454
8459
  })) : e != null && K("Cannot initialize map from " + e);
8455
8460
  } finally {
8456
- lp(n);
8461
+ pp(n);
8457
8462
  }
8458
8463
  }), this;
8459
8464
  }, e.prototype.clear = function() {
8460
8465
  var e = this;
8461
- hm(function() {
8462
- Yf(function() {
8466
+ ym(function() {
8467
+ $f(function() {
8463
8468
  var t, n;
8464
8469
  try {
8465
- for (var r = ff(e.keys()), i = r.next(); !i.done; i = r.next()) {
8470
+ for (var r = gf(e.keys()), i = r.next(); !i.done; i = r.next()) {
8466
8471
  var a = i.value;
8467
8472
  e.delete(a);
8468
8473
  }
@@ -8479,10 +8484,10 @@ var Im, Lm = {}, Rm = function() {
8479
8484
  });
8480
8485
  }, e.prototype.replace = function(e) {
8481
8486
  var t = this;
8482
- return hm(function() {
8483
- var n, r, i, a, o = Ud(e), s = /* @__PURE__ */ new Map(), c = !1;
8487
+ return ym(function() {
8488
+ var n, r, i, a, o = qd(e), s = /* @__PURE__ */ new Map(), c = !1;
8484
8489
  try {
8485
- for (var l = ff(t._data.keys()), u = l.next(); !u.done; u = l.next()) {
8490
+ for (var l = gf(t._data.keys()), u = l.next(); !u.done; u = l.next()) {
8486
8491
  var d = u.value;
8487
8492
  if (!o.has(d)) if (t.delete(d)) c = !0;
8488
8493
  else {
@@ -8500,8 +8505,8 @@ var Im, Lm = {}, Rm = function() {
8500
8505
  }
8501
8506
  }
8502
8507
  try {
8503
- for (var p = ff(o.entries()), m = p.next(); !m.done; m = p.next()) {
8504
- var h = pf(m.value, 2), d = h[0], f = h[1], g = t._data.has(d);
8508
+ for (var p = gf(o.entries()), m = p.next(); !m.done; m = p.next()) {
8509
+ var h = _f(m.value, 2), d = h[0], f = h[1], g = t._data.has(d);
8505
8510
  if (t.set(d, f), t._data.has(d)) {
8506
8511
  var _ = t._data.get(d);
8507
8512
  s.set(d, _), g || (c = !0);
@@ -8535,9 +8540,9 @@ var Im, Lm = {}, Rm = function() {
8535
8540
  }), e.prototype.toPOJO = function() {
8536
8541
  var e, t, n = {};
8537
8542
  try {
8538
- for (var r = ff(this), i = r.next(); !i.done; i = r.next()) {
8539
- var a = pf(i.value, 2), o = a[0], s = a[1];
8540
- n[typeof o == "symbol" ? o : Zd(o)] = s;
8543
+ for (var r = gf(this), i = r.next(); !i.done; i = r.next()) {
8544
+ var a = _f(i.value, 2), o = a[0], s = a[1];
8545
+ n[typeof o == "symbol" ? o : tf(o)] = s;
8541
8546
  }
8542
8547
  } catch (t) {
8543
8548
  e = { error: t };
@@ -8556,16 +8561,16 @@ var Im, Lm = {}, Rm = function() {
8556
8561
  }, e.prototype.toString = function() {
8557
8562
  var e = this;
8558
8563
  return this.name + "[{ " + Array.from(this.keys()).map(function(t) {
8559
- return Zd(t) + ": " + ("" + e.get(t));
8564
+ return tf(t) + ": " + ("" + e.get(t));
8560
8565
  }).join(", ") + " }]";
8561
8566
  }, e.prototype.observe = function(e, t) {
8562
- return Dm(this, e);
8567
+ return jm(this, e);
8563
8568
  }, e.prototype.intercept = function(e) {
8564
- return wm(this, e);
8569
+ return Om(this, e);
8565
8570
  }, e;
8566
- }(), zm = qd("ObservableMap", Rm), Bm, Vm = {}, Hm = function() {
8571
+ }(), Um = Zd("ObservableMap", Hm), Wm, Gm = {}, Km = function() {
8567
8572
  function e(e, t, n) {
8568
- if (t === void 0 && (t = Cf), n === void 0 && (n = "ObservableSet@" + G()), this.name = n, this[Bm] = Vm, this._data = /* @__PURE__ */ new Set(), this._atom = nf(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");
8573
+ if (t === void 0 && (t = Df), n === void 0 && (n = "ObservableSet@" + G()), this.name = n, this[Wm] = Gm, this._data = /* @__PURE__ */ new Set(), this._atom = sf(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");
8569
8574
  this.enhancer = function(e, r) {
8570
8575
  return t(e, r, n);
8571
8576
  }, e && this.replace(e);
@@ -8574,11 +8579,11 @@ var Im, Lm = {}, Rm = function() {
8574
8579
  return this.dehancer === void 0 ? e : this.dehancer(e);
8575
8580
  }, e.prototype.clear = function() {
8576
8581
  var e = this;
8577
- hm(function() {
8578
- Yf(function() {
8582
+ ym(function() {
8583
+ $f(function() {
8579
8584
  var t, n;
8580
8585
  try {
8581
- for (var r = ff(e._data.values()), i = r.next(); !i.done; i = r.next()) {
8586
+ for (var r = gf(e._data.values()), i = r.next(); !i.done; i = r.next()) {
8582
8587
  var a = i.value;
8583
8588
  e.delete(a);
8584
8589
  }
@@ -8596,7 +8601,7 @@ var Im, Lm = {}, Rm = function() {
8596
8601
  }, e.prototype.forEach = function(e, t) {
8597
8602
  var n, r;
8598
8603
  try {
8599
- for (var i = ff(this), a = i.next(); !a.done; a = i.next()) {
8604
+ for (var i = gf(this), a = i.next(); !a.done; a = i.next()) {
8600
8605
  var o = a.value;
8601
8606
  e.call(t, o, o, this);
8602
8607
  }
@@ -8617,8 +8622,8 @@ var Im, Lm = {}, Rm = function() {
8617
8622
  configurable: !0
8618
8623
  }), e.prototype.add = function(e) {
8619
8624
  var t = this;
8620
- if (Gf(this._atom), Cm(this)) {
8621
- var n = Tm(this, {
8625
+ if (Yf(this._atom), Dm(this)) {
8626
+ var n = km(this, {
8622
8627
  type: "add",
8623
8628
  object: this,
8624
8629
  newValue: e
@@ -8626,21 +8631,21 @@ var Im, Lm = {}, Rm = function() {
8626
8631
  if (!n) return this;
8627
8632
  }
8628
8633
  if (!this.has(e)) {
8629
- hm(function() {
8634
+ ym(function() {
8630
8635
  t._data.add(t.enhancer(e, void 0)), t._atom.reportChanged();
8631
8636
  });
8632
- var r = $(), i = Em(this), n = i || r ? {
8637
+ var r = $(), i = Am(this), n = i || r ? {
8633
8638
  type: "add",
8634
8639
  object: this,
8635
8640
  newValue: e
8636
8641
  } : null;
8637
- i && Om(this, n);
8642
+ i && Mm(this, n);
8638
8643
  }
8639
8644
  return this;
8640
8645
  }, e.prototype.delete = function(e) {
8641
8646
  var t = this;
8642
- if (Cm(this)) {
8643
- var n = Tm(this, {
8647
+ if (Dm(this)) {
8648
+ var n = km(this, {
8644
8649
  type: "delete",
8645
8650
  object: this,
8646
8651
  oldValue: e
@@ -8648,21 +8653,21 @@ var Im, Lm = {}, Rm = function() {
8648
8653
  if (!n) return !1;
8649
8654
  }
8650
8655
  if (this.has(e)) {
8651
- var r = $(), i = Em(this), n = i || r ? {
8656
+ var r = $(), i = Am(this), n = i || r ? {
8652
8657
  type: "delete",
8653
8658
  object: this,
8654
8659
  oldValue: e
8655
8660
  } : null;
8656
- return hm(function() {
8661
+ return ym(function() {
8657
8662
  t._atom.reportChanged(), t._data.delete(e);
8658
- }), i && Om(this, n), !0;
8663
+ }), i && Mm(this, n), !0;
8659
8664
  }
8660
8665
  return !1;
8661
8666
  }, e.prototype.has = function(e) {
8662
8667
  return this._atom.reportObserved(), this._data.has(this.dehanceValue(e));
8663
8668
  }, e.prototype.entries = function() {
8664
8669
  var e = 0, t = Array.from(this.keys()), n = Array.from(this.values());
8665
- return sh({ next: function() {
8670
+ return dh({ next: function() {
8666
8671
  var r = e;
8667
8672
  return e += 1, r < n.length ? {
8668
8673
  value: [t[r], n[r]],
@@ -8674,7 +8679,7 @@ var Im, Lm = {}, Rm = function() {
8674
8679
  }, e.prototype.values = function() {
8675
8680
  this._atom.reportObserved();
8676
8681
  var e = this, t = 0, n = Array.from(this._data.values());
8677
- return sh({ next: function() {
8682
+ return dh({ next: function() {
8678
8683
  return t < n.length ? {
8679
8684
  value: e.dehanceValue(n[t++]),
8680
8685
  done: !1
@@ -8682,41 +8687,41 @@ var Im, Lm = {}, Rm = function() {
8682
8687
  } });
8683
8688
  }, e.prototype.replace = function(e) {
8684
8689
  var t = this;
8685
- return Um(e) && (e = e.toJS()), hm(function() {
8686
- var n = cp(!0);
8690
+ return qm(e) && (e = e.toJS()), ym(function() {
8691
+ var n = fp(!0);
8687
8692
  try {
8688
- Array.isArray(e) || Yd(e) ? (t.clear(), e.forEach(function(e) {
8693
+ Array.isArray(e) || $d(e) ? (t.clear(), e.forEach(function(e) {
8689
8694
  return t.add(e);
8690
8695
  })) : e != null && K("Cannot initialize set from " + e);
8691
8696
  } finally {
8692
- lp(n);
8697
+ pp(n);
8693
8698
  }
8694
8699
  }), this;
8695
8700
  }, e.prototype.observe = function(e, t) {
8696
- return Dm(this, e);
8701
+ return jm(this, e);
8697
8702
  }, e.prototype.intercept = function(e) {
8698
- return wm(this, e);
8703
+ return Om(this, e);
8699
8704
  }, e.prototype.toJS = function() {
8700
8705
  return new Set(this);
8701
8706
  }, e.prototype.toString = function() {
8702
8707
  return this.name + "[ " + Array.from(this).join(", ") + " ]";
8703
- }, e.prototype[Bm = q, Symbol.iterator] = function() {
8708
+ }, e.prototype[Wm = q, Symbol.iterator] = function() {
8704
8709
  return this.values();
8705
8710
  }, e;
8706
- }(), Um = qd("ObservableSet", Hm), Wm = function() {
8711
+ }(), qm = Zd("ObservableSet", Km), Jm = function() {
8707
8712
  function e(e, t, n, r) {
8708
- t === void 0 && (t = /* @__PURE__ */ new Map()), this.target = e, this.values = t, this.name = n, this.defaultEnhancer = r, this.keysAtom = new ef(n + ".keys");
8713
+ t === void 0 && (t = /* @__PURE__ */ new Map()), this.target = e, this.values = t, this.name = n, this.defaultEnhancer = r, this.keysAtom = new af(n + ".keys");
8709
8714
  }
8710
8715
  return e.prototype.read = function(e) {
8711
8716
  return this.values.get(e).get();
8712
8717
  }, e.prototype.write = function(e, t) {
8713
8718
  var n = this.target, r = this.values.get(e);
8714
- if (r instanceof fp) {
8719
+ if (r instanceof gp) {
8715
8720
  r.set(t);
8716
8721
  return;
8717
8722
  }
8718
- if (Cm(this)) {
8719
- var i = Tm(this, {
8723
+ if (Dm(this)) {
8724
+ var i = km(this, {
8720
8725
  type: "update",
8721
8726
  object: this.proxy || n,
8722
8727
  name: e,
@@ -8726,23 +8731,23 @@ var Im, Lm = {}, Rm = function() {
8726
8731
  t = i.newValue;
8727
8732
  }
8728
8733
  if (t = r.prepareNewValue(t), t !== X.UNCHANGED) {
8729
- var a = Em(this), o = $(), i = a || o ? {
8734
+ var a = Am(this), o = $(), i = a || o ? {
8730
8735
  type: "update",
8731
8736
  object: this.proxy || n,
8732
8737
  oldValue: r.value,
8733
8738
  name: e,
8734
8739
  newValue: t
8735
8740
  } : null;
8736
- r.setNewValue(t), a && Om(this, i);
8741
+ r.setNewValue(t), a && Mm(this, i);
8737
8742
  }
8738
8743
  }, e.prototype.has = function(e) {
8739
8744
  var t = this.pendingKeys || (this.pendingKeys = /* @__PURE__ */ new Map()), n = t.get(e);
8740
- return n ? n.get() : (n = new up(!!this.values.get(e), Tf, this.name + "." + Zd(e) + "?", !1), t.set(e, n), n.get());
8745
+ return n ? n.get() : (n = new mp(!!this.values.get(e), kf, this.name + "." + tf(e) + "?", !1), t.set(e, n), n.get());
8741
8746
  }, e.prototype.addObservableProp = function(e, t, n) {
8742
8747
  n === void 0 && (n = this.defaultEnhancer);
8743
8748
  var r = this.target;
8744
- if (Cm(this)) {
8745
- var i = Tm(this, {
8749
+ if (Dm(this)) {
8750
+ var i = km(this, {
8746
8751
  object: this.proxy || r,
8747
8752
  name: e,
8748
8753
  type: "add",
@@ -8751,16 +8756,16 @@ var Im, Lm = {}, Rm = function() {
8751
8756
  if (!i) return;
8752
8757
  t = i.newValue;
8753
8758
  }
8754
- var a = new up(t, n, this.name + "." + Zd(e), !1);
8755
- this.values.set(e, a), t = a.value, Object.defineProperty(r, e, Jm(e)), this.notifyPropertyAddition(e, t);
8759
+ var a = new mp(t, n, this.name + "." + tf(e), !1);
8760
+ this.values.set(e, a), t = a.value, Object.defineProperty(r, e, Qm(e)), this.notifyPropertyAddition(e, t);
8756
8761
  }, e.prototype.addComputedProp = function(e, t, n) {
8757
8762
  var r = this.target;
8758
- n.name = n.name || this.name + "." + Zd(t), this.values.set(t, new fp(n)), (e === r || Kd(e, t)) && Object.defineProperty(e, t, Xm(t));
8763
+ n.name = n.name || this.name + "." + tf(t), this.values.set(t, new gp(n)), (e === r || Xd(e, t)) && Object.defineProperty(e, t, eh(t));
8759
8764
  }, e.prototype.remove = function(e) {
8760
8765
  if (this.values.has(e)) {
8761
8766
  var t = this.target;
8762
- if (Cm(this)) {
8763
- var n = Tm(this, {
8767
+ if (Dm(this)) {
8768
+ var n = km(this, {
8764
8769
  object: this.proxy || t,
8765
8770
  name: e,
8766
8771
  type: "remove"
@@ -8769,7 +8774,7 @@ var Im, Lm = {}, Rm = function() {
8769
8774
  }
8770
8775
  try {
8771
8776
  Z();
8772
- var r = Em(this), i = $(), a = this.values.get(e), o = a && a.get();
8777
+ var r = Am(this), i = $(), a = this.values.get(e), o = a && a.get();
8773
8778
  if (a && a.set(void 0), this.keysAtom.reportChanged(), this.values.delete(e), this.pendingKeys) {
8774
8779
  var s = this.pendingKeys.get(e);
8775
8780
  s && s.set(!1);
@@ -8781,7 +8786,7 @@ var Im, Lm = {}, Rm = function() {
8781
8786
  oldValue: o,
8782
8787
  name: e
8783
8788
  } : null;
8784
- r && Om(this, n);
8789
+ r && Mm(this, n);
8785
8790
  } finally {
8786
8791
  Q();
8787
8792
  }
@@ -8789,17 +8794,17 @@ var Im, Lm = {}, Rm = function() {
8789
8794
  }, e.prototype.illegalAccess = function(e, t) {
8790
8795
  console.warn("Property '" + t + "' of '" + e + "' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner");
8791
8796
  }, e.prototype.observe = function(e, t) {
8792
- return Dm(this, e);
8797
+ return jm(this, e);
8793
8798
  }, e.prototype.intercept = function(e) {
8794
- return wm(this, e);
8799
+ return Om(this, e);
8795
8800
  }, e.prototype.notifyPropertyAddition = function(e, t) {
8796
- var n = Em(this), r = $(), i = n || r ? {
8801
+ var n = Am(this), r = $(), i = n || r ? {
8797
8802
  type: "add",
8798
8803
  object: this.proxy || this.target,
8799
8804
  name: e,
8800
8805
  newValue: t
8801
8806
  } : null;
8802
- if (n && Om(this, i), this.pendingKeys) {
8807
+ if (n && Mm(this, i), this.pendingKeys) {
8803
8808
  var a = this.pendingKeys.get(e);
8804
8809
  a && a.set(!0);
8805
8810
  }
@@ -8809,9 +8814,9 @@ var Im, Lm = {}, Rm = function() {
8809
8814
  this.keysAtom.reportObserved();
8810
8815
  var n = [];
8811
8816
  try {
8812
- for (var r = ff(this.values), i = r.next(); !i.done; i = r.next()) {
8813
- var a = pf(i.value, 2), o = a[0];
8814
- a[1] instanceof up && n.push(o);
8817
+ for (var r = gf(this.values), i = r.next(); !i.done; i = r.next()) {
8818
+ var a = _f(i.value, 2), o = a[0];
8819
+ a[1] instanceof mp && n.push(o);
8815
8820
  }
8816
8821
  } catch (t) {
8817
8822
  e = { error: t };
@@ -8825,15 +8830,15 @@ var Im, Lm = {}, Rm = function() {
8825
8830
  return n;
8826
8831
  }, e;
8827
8832
  }();
8828
- function Gm(e, t, n) {
8829
- if (t === void 0 && (t = ""), n === void 0 && (n = Cf), Object.prototype.hasOwnProperty.call(e, q)) return e[q];
8830
- Hd(e) || (t = (e.constructor.name || "ObservableObject") + "@" + G()), t || (t = "ObservableObject@" + G());
8831
- var r = new Wm(e, /* @__PURE__ */ new Map(), Zd(t), n);
8832
- return Wd(e, q, r), r;
8833
- }
8834
- var Km = Object.create(null), qm = Object.create(null);
8835
- function Jm(e) {
8836
- return Km[e] || (Km[e] = {
8833
+ function Ym(e, t, n) {
8834
+ if (t === void 0 && (t = ""), n === void 0 && (n = Df), Object.prototype.hasOwnProperty.call(e, q)) return e[q];
8835
+ Kd(e) || (t = (e.constructor.name || "ObservableObject") + "@" + G()), t || (t = "ObservableObject@" + G());
8836
+ var r = new Jm(e, /* @__PURE__ */ new Map(), tf(t), n);
8837
+ return Jd(e, q, r), r;
8838
+ }
8839
+ var Xm = Object.create(null), Zm = Object.create(null);
8840
+ function Qm(e) {
8841
+ return Xm[e] || (Xm[e] = {
8837
8842
  configurable: !0,
8838
8843
  enumerable: !0,
8839
8844
  get: function() {
@@ -8844,65 +8849,65 @@ function Jm(e) {
8844
8849
  }
8845
8850
  });
8846
8851
  }
8847
- function Ym(e) {
8848
- return e[q] || (bf(e), e[q]);
8852
+ function $m(e) {
8853
+ return e[q] || (wf(e), e[q]);
8849
8854
  }
8850
- function Xm(e) {
8851
- return qm[e] || (qm[e] = {
8855
+ function eh(e) {
8856
+ return Zm[e] || (Zm[e] = {
8852
8857
  configurable: X.computedConfigurable,
8853
8858
  enumerable: !1,
8854
8859
  get: function() {
8855
- return Ym(this).read(e);
8860
+ return $m(this).read(e);
8856
8861
  },
8857
8862
  set: function(t) {
8858
- Ym(this).write(e, t);
8863
+ $m(this).write(e, t);
8859
8864
  }
8860
8865
  });
8861
8866
  }
8862
- var Zm = qd("ObservableObjectAdministration", Wm);
8863
- function Qm(e) {
8864
- return Vd(e) ? (bf(e), Zm(e[q])) : !1;
8867
+ var th = Zd("ObservableObjectAdministration", Jm);
8868
+ function nh(e) {
8869
+ return Gd(e) ? (wf(e), th(e[q])) : !1;
8865
8870
  }
8866
- function $m(e, t) {
8871
+ function rh(e, t) {
8867
8872
  if (typeof e == "object" && e) {
8868
- if (Fm(e)) return t !== void 0 && K(!1), e[q].atom;
8869
- if (Um(e)) return e[q];
8870
- if (zm(e)) {
8873
+ if (zm(e)) return t !== void 0 && K(!1), e[q].atom;
8874
+ if (qm(e)) return e[q];
8875
+ if (Um(e)) {
8871
8876
  var n = e;
8872
8877
  if (t === void 0) return n._keysAtom;
8873
8878
  var r = n._data.get(t) || n._hasMap.get(t);
8874
8879
  return r || K(!1), r;
8875
8880
  }
8876
- if (bf(e), t && !e[q] && e[t], Qm(e)) {
8881
+ if (wf(e), t && !e[q] && e[t], nh(e)) {
8877
8882
  if (!t) return K(!1);
8878
8883
  var r = e[q].values.get(t);
8879
8884
  return r || K(!1), r;
8880
8885
  }
8881
- if (tf(e) || pp(e) || Pp(e)) return e;
8882
- } else if (typeof e == "function" && Pp(e[q])) return e[q];
8886
+ if (of(e) || _p(e) || Rp(e)) return e;
8887
+ } else if (typeof e == "function" && Rp(e[q])) return e[q];
8883
8888
  return K(!1);
8884
8889
  }
8885
- function eh(e, t) {
8886
- if (e || K("Expecting some object"), t !== void 0) return eh($m(e, t));
8887
- if (tf(e) || pp(e) || Pp(e) || zm(e) || Um(e)) return e;
8888
- if (bf(e), e[q]) return e[q];
8890
+ function ih(e, t) {
8891
+ if (e || K("Expecting some object"), t !== void 0) return ih(rh(e, t));
8892
+ if (of(e) || _p(e) || Rp(e) || Um(e) || qm(e)) return e;
8893
+ if (wf(e), e[q]) return e[q];
8889
8894
  K(!1);
8890
8895
  }
8891
- function th(e, t) {
8892
- return (t === void 0 ? Qm(e) || zm(e) || Um(e) ? eh(e) : $m(e) : $m(e, t)).name;
8896
+ function ah(e, t) {
8897
+ return (t === void 0 ? nh(e) || Um(e) || qm(e) ? ih(e) : rh(e) : rh(e, t)).name;
8893
8898
  }
8894
- var nh = Object.prototype.toString;
8895
- function rh(e, t, n) {
8896
- return n === void 0 && (n = -1), ih(e, t, n);
8899
+ var oh = Object.prototype.toString;
8900
+ function sh(e, t, n) {
8901
+ return n === void 0 && (n = -1), ch(e, t, n);
8897
8902
  }
8898
- function ih(e, t, n, r, i) {
8903
+ function ch(e, t, n, r, i) {
8899
8904
  if (e === t) return e !== 0 || 1 / e == 1 / t;
8900
8905
  if (e == null || t == null) return !1;
8901
8906
  if (e !== e) return t !== t;
8902
8907
  var a = typeof e;
8903
8908
  if (a !== "function" && a !== "object" && typeof t != "object") return !1;
8904
- var o = nh.call(e);
8905
- if (o !== nh.call(t)) return !1;
8909
+ var o = oh.call(e);
8910
+ if (o !== oh.call(t)) return !1;
8906
8911
  switch (o) {
8907
8912
  case "[object RegExp]":
8908
8913
  case "[object String]": return "" + e == "" + t;
@@ -8915,7 +8920,7 @@ function ih(e, t, n, r, i) {
8915
8920
  n >= 0 && n++;
8916
8921
  break;
8917
8922
  }
8918
- e = ah(e), t = ah(t);
8923
+ e = lh(e), t = lh(t);
8919
8924
  var s = o === "[object Array]";
8920
8925
  if (!s) {
8921
8926
  if (typeof e != "object" || typeof t != "object") return !1;
@@ -8927,24 +8932,24 @@ function ih(e, t, n, r, i) {
8927
8932
  for (var u = r.length; u--;) if (r[u] === e) return i[u] === t;
8928
8933
  if (r.push(e), i.push(t), s) {
8929
8934
  if (u = e.length, u !== t.length) return !1;
8930
- for (; u--;) if (!ih(e[u], t[u], n - 1, r, i)) return !1;
8935
+ for (; u--;) if (!ch(e[u], t[u], n - 1, r, i)) return !1;
8931
8936
  } else {
8932
8937
  var d = Object.keys(e), f = void 0;
8933
8938
  if (u = d.length, Object.keys(t).length !== u) return !1;
8934
- for (; u--;) if (f = d[u], !(oh(t, f) && ih(e[f], t[f], n - 1, r, i))) return !1;
8939
+ for (; u--;) if (f = d[u], !(uh(t, f) && ch(e[f], t[f], n - 1, r, i))) return !1;
8935
8940
  }
8936
8941
  return r.pop(), i.pop(), !0;
8937
8942
  }
8938
- function ah(e) {
8939
- return Fm(e) ? e.slice() : Jd(e) || zm(e) || Yd(e) || Um(e) ? Array.from(e.entries()) : e;
8943
+ function lh(e) {
8944
+ return zm(e) ? e.slice() : Qd(e) || Um(e) || $d(e) || qm(e) ? Array.from(e.entries()) : e;
8940
8945
  }
8941
- function oh(e, t) {
8946
+ function uh(e, t) {
8942
8947
  return Object.prototype.hasOwnProperty.call(e, t);
8943
8948
  }
8944
- function sh(e) {
8945
- return e[Symbol.iterator] = ch, e;
8949
+ function dh(e) {
8950
+ return e[Symbol.iterator] = fh, e;
8946
8951
  }
8947
- function ch() {
8952
+ function fh() {
8948
8953
  return this;
8949
8954
  }
8950
8955
  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.");
@@ -8952,13 +8957,13 @@ if (typeof Proxy > "u" || typeof Symbol > "u") throw Error("[mobx] MobX 5+ requi
8952
8957
  function e() {}
8953
8958
  e.name;
8954
8959
  })(), typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
8955
- spy: Ip,
8956
- extras: { getDebugName: th },
8960
+ spy: Bp,
8961
+ extras: { getDebugName: ah },
8957
8962
  $mobx: q
8958
8963
  });
8959
8964
  //#endregion
8960
8965
  //#region src/locales.ts
8961
- var lh = {
8966
+ var ph = {
8962
8967
  de: "Deutsch",
8963
8968
  en: "English",
8964
8969
  es: "Español",
@@ -8983,47 +8988,47 @@ var lh = {
8983
8988
  };
8984
8989
  //#endregion
8985
8990
  //#region src/utils/localStorage.ts
8986
- function uh() {
8991
+ function mh() {
8987
8992
  try {
8988
8993
  return localStorage.setItem("test", "test"), localStorage.removeItem("test"), !0;
8989
8994
  } catch {
8990
8995
  return !1;
8991
8996
  }
8992
8997
  }
8993
- var dh = uh(), fh = "en", ph = "efp-locale", mh = "language", hh = J.box(fh), gh = J.array([], { deep: !1 }), _h = (e) => zu(`${Pu}locales/${e}.json`), vh = () => {
8994
- if (!dh) return null;
8995
- let e = localStorage.getItem(ph), t = localStorage.getItem(mh);
8996
- return t && localStorage.removeItem(mh), e || (t && localStorage.setItem(ph, t), t);
8997
- }, yh = () => {
8998
+ var hh = mh(), gh = "en", _h = "efp-locale", vh = "language", yh = J.box(gh), bh = J.array([], { deep: !1 }), xh = (e) => Uu(`${Ru}locales/${e}.json`), Sh = () => {
8999
+ if (!hh) return null;
9000
+ let e = localStorage.getItem(_h), t = localStorage.getItem(vh);
9001
+ return t && localStorage.removeItem(vh), e || (t && localStorage.setItem(_h, t), t);
9002
+ }, Ch = () => {
8998
9003
  var e;
8999
- let t = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, n = Object.keys(lh).find((e) => t.startsWith(e));
9000
- return (vh() || o().locale || n || fh).toLowerCase();
9001
- }, bh = () => hh.get(), xh = () => gh, Sh = (e) => gh.some((t) => t.id === e), Ch = (e, t) => (hh.get(), Nd.t(e, t)), wh = (e, t) => (hh.get(), Nd.exists(e, t) ? Nd.t(e, t) : e), Th = async () => {
9002
- gh.replace(Object.entries(lh).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
9004
+ let t = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, n = Object.keys(ph).find((e) => t.startsWith(e));
9005
+ return (Sh() || o().locale || n || gh).toLowerCase();
9006
+ }, wh = () => yh.get(), Th = () => bh, Eh = (e) => bh.some((t) => t.id === e), Dh = (e, t) => (yh.get(), Ld.t(e, t)), Oh = (e, t) => (yh.get(), Ld.exists(e, t) ? Ld.t(e, t) : e), kh = async () => {
9007
+ bh.replace(Object.entries(ph).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
9003
9008
  id: e,
9004
9009
  name: t,
9005
- entity: { type: yu }
9010
+ entity: { type: Cu }
9006
9011
  })));
9007
- let e = yh(), t = {};
9008
- if (e !== fh) try {
9009
- t[e] = { translation: await _h(e) };
9012
+ let e = Ch(), t = {};
9013
+ if (e !== gh) try {
9014
+ t[e] = { translation: await xh(e) };
9010
9015
  } catch (t) {
9011
- console.error(`Unable to load "${e}" localization, falling back to "${fh}".`, t), e = fh;
9016
+ console.error(`Unable to load "${e}" localization, falling back to "${gh}".`, t), e = gh;
9012
9017
  }
9013
- return hh.set(e), Nd.init({
9018
+ return yh.set(e), Ld.init({
9014
9019
  resources: t,
9015
9020
  lng: e,
9016
9021
  keySeparator: !1,
9017
- saveMissing: e !== fh,
9022
+ saveMissing: e !== gh,
9018
9023
  missingKeyHandler: (e, t, n, r) => console.debug(`i18n missing key: '${e[0]}:${t}:${n}', fallback: '${r}'`)
9019
9024
  });
9020
- }, Eh = async (e) => {
9025
+ }, Ah = async (e) => {
9021
9026
  let t = e.toLowerCase();
9022
9027
  try {
9023
- t !== fh && !Nd.hasResourceBundle(t, "translation") && Nd.addResourceBundle(t, "translation", await _h(t), !0, !0), await Nd.changeLanguage(t), hh.set(t), dh && localStorage.setItem(ph, t);
9028
+ t !== gh && !Ld.hasResourceBundle(t, "translation") && Ld.addResourceBundle(t, "translation", await xh(t), !0, !0), await Ld.changeLanguage(t), yh.set(t), hh && localStorage.setItem(_h, t);
9024
9029
  } catch (e) {
9025
9030
  console.error(`Failed to switch language to "${t}":`, e);
9026
9031
  }
9027
- }, Dh = async () => (dh && (localStorage.removeItem(ph), localStorage.removeItem(mh)), Eh(yh()));
9032
+ }, jh = async () => (hh && (localStorage.removeItem(_h), localStorage.removeItem(vh)), Ah(Ch()));
9028
9033
  //#endregion
9029
- export { uu as $, Pu as A, b as At, Au as B, gm as C, zt as Ct, Uu as D, Ne as Dt, Bu as E, je as Et, Eu as F, xu as G, yu as H, Du as I, du as J, Mu as K, ku as L, vu as M, c as Mt, hu as N, o as Nt, Vu as O, Fe as Ot, gu as P, a as Pt, bu as Q, ju as R, hm as S, Vn as St, Xu as T, ke as Tt, Cu as U, pu as V, Tu as W, mu as X, Su as Y, wu as Z, J as _, bn as _t, Dh as a, Hc as at, Ip as b, pn as bt, wh as c, Ec as ct, Vp as d, is as dt, Ql as et, Wp as f, $o as ft, nm as g, or as gt, Qp as h, oi as ht, Th as i, Wc as it, fu as j, E as jt, Ru as k, T as kt, dh as l, rc as lt, Bf as m, Nr as mt, xh as n, Sl as nt, Eh as o, Ac as ot, cf as p, Rr as pt, _u as q, Sh as r, Uc as rt, Ch as s, Rc as st, bh as t, Pl as tt, kp as u, nc as ut, qp as v, er as vt, $u as w, O as wt, fm as x, wn as xt, Hp as y, vn as yt, Ou as z };
9034
+ export { Eu as $, Ru as A, je as At, Pu as B, bm as C, vn as Ct, qu as D, zt as Dt, Wu as E, Vn as Et, Au as F, E as Ft, Tu as G, Cu as H, ju as I, c as It, xu as J, Iu as K, Nu as L, o as Lt, Su as M, Fe as Mt, yu as N, T as Nt, Gu as O, O as Ot, bu as P, b as Pt, du as Q, Fu as R, a as Rt, ym as S, er as St, ed as T, wn as Tt, Du as U, _u as V, ku as W, gu as X, hu as Y, mu as Z, J as _, Rr as _t, jh as a, Pl as at, Bp as b, or as bt, Oh as c, Wc as ct, Gp as d, Rc as dt, vu as et, Jp as f, Ec as ft, om as g, $o as gt, nm as h, is as ht, kh as i, Ql as it, fu as j, Ne as jt, Hu as k, ke as kt, hh as l, Hc as lt, Wf as m, nc as mt, Th as n, wu as nt, Ah as o, Sl as ot, ff as p, rc as pt, pu as q, Eh as r, uu as rt, Dh as s, Uc as st, wh as t, Ou as tt, Np as u, Ac as ut, Zp as v, Nr as vt, rd as w, pn as wt, gm as x, bn as xt, Kp as y, oi as yt, Mu as z };