@expofp/floorplan 3.2.13 → 3.2.14

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 (241) hide show
  1. package/dist/browser/Button-BdvuWzrR.js +204 -0
  2. package/dist/browser/CookieConsent-bTG3GDKg.js +71 -0
  3. package/dist/browser/{Debug-DGpD6gi3.js → Debug-CjX9xriA.js} +8 -7
  4. package/dist/browser/{Demo-D58NFoyc.js → Demo-D66SE96z.js} +12 -11
  5. package/dist/browser/{Free-0cQAwFKa.js → Free-ouV3S0cy.js} +12 -11
  6. package/dist/browser/{Gallery-CPVZPQ00.js → Gallery-Bm4oVw4n.js} +608 -642
  7. package/dist/browser/{GpsLoader-qwW4aTNa.js → GpsLoader-BheKXFiI.js} +49 -47
  8. package/dist/browser/{KioskStore-IujhAAGe.js → KioskStore-CYaE9WLG.js} +62 -62
  9. package/dist/browser/{Mapbox-BEIVuKI-.js → Mapbox-CDlR6UrM.js} +40 -39
  10. package/dist/browser/Modal-DS2N0vIo.js +105 -0
  11. package/dist/browser/{SetKioskMode-DlUxPyq5.js → SetKioskMode-DofzJB3e.js} +18 -17
  12. package/dist/browser/{ShowKiosk-DzPcuttS.js → ShowKiosk-UX2N2NU3.js} +11 -10
  13. package/dist/browser/{ThreeComponent-D7GyVwct.js → ThreeComponent-CglSG5wI.js} +248 -247
  14. package/dist/browser/{TouchHand-DUyEIum1.js → TouchHand-DvgAAuKo.js} +15 -14
  15. package/dist/browser/{ViewerMenuPanel-DQds_0Se.js → ViewerMenuPanel-KPn2i2KL.js} +22 -21
  16. package/dist/browser/{add-debug-secret-listener-BoLrZL18.js → add-debug-secret-listener-BN00-9E4.js} +1 -1
  17. package/dist/browser/{boolean-editor-D439oELN.js → boolean-editor-fbHiF9vJ.js} +11 -11
  18. package/dist/browser/{bootIntercom-C0fIuZrS.js → bootIntercom-CKo2IztD.js} +3 -3
  19. package/dist/browser/{box-DQ37DLtr.js → box-B2jxGgXa.js} +6 -6
  20. package/dist/browser/{browser-BWeq0ALX.js → browser-vqeti97Y.js} +2 -2
  21. package/dist/browser/bundle.json +68 -53
  22. package/dist/browser/{classnames-BqhGxx8b.js → classnames-CHmxGkvV.js} +2 -2
  23. package/dist/browser/{client-DpMmqnL3.js → client-pnzfy6PK.js} +5 -5
  24. package/dist/browser/components-DVzc3v5I.js +8145 -0
  25. package/dist/browser/{data-BGGzJSZ3.js → data-BmUUjPca.js} +43 -43
  26. package/dist/browser/{debug-overlay-DyHs08sf.js → debug-overlay-B_1ADa5Y.js} +12 -12
  27. package/dist/browser/{debug-ui-Ds2r10P8.js → debug-ui-DBOzEUkM.js} +7 -7
  28. package/dist/browser/{dist-CXnrXk8a.js → dist-0qGu5ADv.js} +3 -3
  29. package/dist/browser/{dist-C8-R05Uf.js → dist-BpuX8MZ6.js} +7 -7
  30. package/dist/browser/{dist-DeJCQ-ni.js → dist-DblWkNUV.js} +6 -6
  31. package/dist/browser/{efp-debug-init-BAaVZ-Sv.js → efp-debug-init-BwJWCRkJ.js} +3 -3
  32. package/dist/browser/{enum-editor-bO-7z_65.js → enum-editor-BYkKqvGq.js} +12 -12
  33. package/dist/browser/{exports-DuxaY9F1.js → exports-BRRDMtlG.js} +1 -1
  34. package/dist/browser/{favicon-BiX13mYV.js → favicon-C_bgpvWA.js} +1 -1
  35. package/dist/browser/{fetch-retry.umd-BxHhVEQ9.js → fetch-retry.umd-Dinto0ag.js} +2 -2
  36. package/dist/browser/{flex-DznufWy4.js → flex-uHBCXaOV.js} +7 -7
  37. package/dist/browser/{flex.props-CBBCApDT.js → flex.props-eBOcuRMU.js} +3 -3
  38. package/dist/browser/{floorplan.loader-CYCz53F2.js → floorplan.loader-CMXBnLtZ.js} +650 -649
  39. package/dist/browser/{floorplan.ready-t0OqKoP2.js → floorplan.ready-UbtSin_R.js} +215 -215
  40. package/dist/browser/{fuse-2x0Yl6bu.js → fuse-CgTQNNsn.js} +2 -2
  41. package/dist/browser/{is-debug-Dj3mKaHR.js → i18n-BOl9oxrx.js} +774 -883
  42. package/dist/browser/index.js +12 -12
  43. package/dist/browser/is-debug-DMN58EYn.js +122 -0
  44. package/dist/browser/{jsx-runtime-DS_WWXud.js → jsx-runtime-B2BgIlMm.js} +2 -2
  45. package/dist/browser/{lib-Bt7PWtNh.js → lib-DByP5YwC.js} +5 -5
  46. package/dist/browser/{main-DK2hJr48.js → main-D3mbrWsr.js} +1 -1
  47. package/dist/browser/{mobx-BcjkYuCb.js → mobx-CdvsVcc9.js} +5 -5
  48. package/dist/browser/{particles.min-BGHzdrAw.js → particles.min-DfI3C-qp.js} +2 -2
  49. package/dist/browser/{prop-types-DwnAO0Yi.js → prop-types-B6zERU6Z.js} +2 -2
  50. package/dist/browser/{react-DddeiwYl.js → react-C3o_QT06.js} +2 -2
  51. package/dist/browser/{react-dom-D8AyYBO2.js → react-dom-sBqrMskT.js} +3 -3
  52. package/dist/browser/{reset-all-settings-BMiI_ZFm.js → reset-all-settings-BwKg7iVu.js} +8 -8
  53. package/dist/browser/{rolldown-runtime-DaP-Mfpn.js → rolldown-runtime-DB8Ddt08.js} +1 -1
  54. package/dist/browser/{settings-Bbym8GNQ.js → settings-BLMQJ1yq.js} +2 -2
  55. package/dist/browser/{settings-item-D8MTM1Pj.js → settings-item-C19s0haM.js} +7 -7
  56. package/dist/browser/{store-nbxV99WZ.js → store-CQE29UCE.js} +5684 -5862
  57. package/dist/browser/{string-editor-BSj1Zdr7.js → string-editor-DyFEQo_P.js} +9 -9
  58. package/dist/browser/{theme-Bo2UyA3Q.js → theme-CrwkiIG5.js} +9 -9
  59. package/dist/browser/{ui-C5q_HiUr.js → ui-MUJDbhD1.js} +9 -9
  60. package/dist/browser/useRenderTarget-Pk0fGZOz.js +48 -0
  61. package/dist/esm/components/AlertContainer.d.ts +5 -0
  62. package/dist/esm/components/AlertContainer.js +1 -0
  63. package/dist/esm/components/Booth/Booth.js +1 -1
  64. package/dist/esm/components/CookieConsent.js +1 -1
  65. package/dist/esm/components/EntityItem.d.ts +1 -0
  66. package/dist/esm/components/EntityItem.js +1 -1
  67. package/dist/esm/components/EntityItemContainer.d.ts +5 -0
  68. package/dist/esm/components/EntityItemContainer.js +1 -0
  69. package/dist/esm/components/EntityList.js +1 -1
  70. package/dist/esm/components/EntityListRow.js +1 -1
  71. package/dist/esm/components/Event.js +1 -1
  72. package/dist/esm/components/Exhibitor.js +1 -1
  73. package/dist/esm/components/GlobalErrorMessage.js +1 -1
  74. package/dist/esm/components/HighlightTextContainer.d.ts +6 -0
  75. package/dist/esm/components/HighlightTextContainer.js +1 -0
  76. package/dist/esm/components/Kiosk/KioskStore.d.ts +1 -1
  77. package/dist/esm/components/Kiosk/SetKiosk/Confirm/ConfirmDialog.js +1 -1
  78. package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
  79. package/dist/esm/components/Kiosk/SetKiosk/types.d.ts +2 -2
  80. package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
  81. package/dist/esm/components/LanguageRow.js +1 -1
  82. package/dist/esm/components/Layout.js +1 -1
  83. package/dist/esm/components/List.js +1 -1
  84. package/dist/esm/components/LogoOverlay.d.ts +0 -1
  85. package/dist/esm/components/LogoOverlay.js +1 -1
  86. package/dist/esm/components/Menu.js +1 -1
  87. package/dist/esm/components/Modal.d.ts +2 -1
  88. package/dist/esm/components/Modal.js +1 -1
  89. package/dist/esm/components/Overlay.d.ts +1 -0
  90. package/dist/esm/components/Overlay.js +1 -1
  91. package/dist/esm/components/OverlayContainer.js +1 -1
  92. package/dist/esm/components/PermissionNotice/PermissionNotice.js +1 -1
  93. package/dist/esm/components/RebookingNotes.js +1 -1
  94. package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
  95. package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
  96. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
  97. package/dist/esm/components/SidebarActions.js +1 -1
  98. package/dist/esm/components/SimpleRow.js +1 -1
  99. package/dist/esm/components/Speakers.js +1 -1
  100. package/dist/esm/components/ToursList.js +1 -1
  101. package/dist/esm/components/Wayfinding.js +1 -1
  102. package/dist/esm/components/WayfindingFloorSelectorContainer.d.ts +5 -0
  103. package/dist/esm/components/WayfindingFloorSelectorContainer.js +1 -0
  104. package/dist/esm/components/WayfindingTemplate.d.ts +6 -8
  105. package/dist/esm/components/WayfindingTemplate.js +1 -1
  106. package/dist/esm/components/index.d.ts +22 -22
  107. package/dist/esm/components/index.js +1 -1
  108. package/dist/esm/components/stories/CookieConsent.stories.js +1 -1
  109. package/dist/esm/components/stories/Modal.stories.d.ts +5 -0
  110. package/dist/esm/components/stories/Modal.stories.js +1 -0
  111. package/dist/esm/components/stories/Share.stories.d.ts +5 -0
  112. package/dist/esm/components/stories/Share.stories.js +1 -0
  113. package/dist/esm/components/stories/{CheckboxButton.stories.d.ts → WayInformation.stories.d.ts} +1 -1
  114. package/dist/esm/components/stories/WayfindingTemplate.stories.d.ts +5 -0
  115. package/dist/esm/components/stories/WayfindingTemplate.stories.js +1 -0
  116. package/dist/esm/store/RoutePlannerStore.d.ts +1 -1
  117. package/dist/esm/store/RoutePlannerStore.js +1 -1
  118. package/dist/esm/storybook/store/index.stub.d.ts +4 -0
  119. package/dist/esm/storybook/store/index.stub.js +1 -1
  120. package/dist/esm/{components → ui/Alert}/Alert.d.ts +3 -3
  121. package/dist/esm/ui/Alert/Alert.js +1 -0
  122. package/dist/esm/{components/stories → ui/Alert}/Alert.stories.d.ts +1 -1
  123. package/dist/esm/ui/Alert/Alert.stories.js +1 -0
  124. package/dist/esm/ui/Alert/index.d.ts +3 -0
  125. package/dist/esm/ui/Alert/index.js +1 -0
  126. package/dist/esm/{components → ui/Badge}/Badge.d.ts +1 -2
  127. package/dist/esm/ui/Badge/Badge.stories.d.ts +5 -0
  128. package/dist/esm/ui/Badge/Badge.stories.js +1 -0
  129. package/dist/esm/ui/Badge/index.d.ts +3 -0
  130. package/dist/esm/ui/Badge/index.js +1 -0
  131. package/dist/esm/{components → ui/Button}/Button.d.ts +2 -2
  132. package/dist/esm/ui/Button/Button.js +1 -0
  133. package/dist/esm/ui/Button/Button.stories.d.ts +5 -0
  134. package/dist/esm/ui/Button/Button.stories.js +1 -0
  135. package/dist/esm/ui/Button/index.d.ts +3 -0
  136. package/dist/esm/ui/Button/index.js +1 -0
  137. package/dist/esm/ui/Checkbox/Checkbox.d.ts +18 -0
  138. package/dist/esm/ui/Checkbox/Checkbox.js +1 -0
  139. package/dist/esm/ui/Checkbox/Checkbox.stories.d.ts +5 -0
  140. package/dist/esm/ui/Checkbox/Checkbox.stories.js +1 -0
  141. package/dist/esm/ui/Checkbox/index.d.ts +3 -0
  142. package/dist/esm/ui/Checkbox/index.js +1 -0
  143. package/dist/esm/ui/CheckboxButton/CheckboxButton.d.ts +11 -0
  144. package/dist/esm/ui/CheckboxButton/CheckboxButton.js +1 -0
  145. package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.d.ts +5 -0
  146. package/dist/esm/ui/CheckboxButton/CheckboxButton.stories.js +1 -0
  147. package/dist/esm/ui/CheckboxButton/index.d.ts +3 -0
  148. package/dist/esm/ui/CheckboxButton/index.js +1 -0
  149. package/dist/esm/ui/HighlightText/HighlightText.d.ts +6 -0
  150. package/dist/esm/ui/HighlightText/HighlightText.js +1 -0
  151. package/dist/esm/ui/HighlightText/HighlightText.stories.d.ts +7 -0
  152. package/dist/esm/ui/HighlightText/HighlightText.stories.js +1 -0
  153. package/dist/esm/ui/HighlightText/index.d.ts +2 -0
  154. package/dist/esm/ui/HighlightText/index.js +1 -0
  155. package/dist/esm/ui/Radio/Radio.d.ts +14 -0
  156. package/dist/esm/ui/Radio/Radio.js +1 -0
  157. package/dist/esm/ui/Radio/Radio.stories.d.ts +18 -0
  158. package/dist/esm/ui/Radio/Radio.stories.js +1 -0
  159. package/dist/esm/ui/Radio/index.d.ts +3 -0
  160. package/dist/esm/ui/Radio/index.js +1 -0
  161. package/dist/esm/ui/Spinner/Spinner.d.ts +8 -0
  162. package/dist/esm/ui/Spinner/Spinner.js +1 -0
  163. package/dist/esm/ui/Spinner/Spinner.stories.d.ts +5 -0
  164. package/dist/esm/ui/Spinner/Spinner.stories.js +1 -0
  165. package/dist/esm/ui/Spinner/index.d.ts +3 -0
  166. package/dist/esm/ui/Spinner/index.js +1 -0
  167. package/dist/esm/ui/ToggleButton/ToggleButton.d.ts +16 -0
  168. package/dist/esm/ui/ToggleButton/ToggleButton.js +1 -0
  169. package/dist/esm/ui/ToggleButton/ToggleButton.stories.d.ts +5 -0
  170. package/dist/esm/ui/ToggleButton/ToggleButton.stories.js +1 -0
  171. package/dist/esm/ui/ToggleButton/index.d.ts +3 -0
  172. package/dist/esm/ui/ToggleButton/index.js +1 -0
  173. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.d.ts +17 -0
  174. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.js +1 -0
  175. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.d.ts +5 -0
  176. package/dist/esm/ui/ToggleSwitch/ToggleSwitch.stories.js +1 -0
  177. package/dist/esm/ui/ToggleSwitch/index.d.ts +3 -0
  178. package/dist/esm/ui/ToggleSwitch/index.js +1 -0
  179. package/dist/esm/ui/TouchHand/TouchHand.d.ts +4 -0
  180. package/dist/esm/ui/TouchHand/TouchHand.js +1 -0
  181. package/dist/esm/ui/TouchHand/TouchHand.stories.d.ts +5 -0
  182. package/dist/esm/ui/TouchHand/TouchHand.stories.js +1 -0
  183. package/dist/esm/ui/TouchHand/index.d.ts +2 -0
  184. package/dist/esm/ui/TouchHand/index.js +1 -0
  185. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.d.ts +23 -0
  186. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.js +1 -0
  187. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.d.ts +5 -0
  188. package/dist/esm/ui/WayfindingFloorSelector/WayfindingFloorSelector.stories.js +1 -0
  189. package/dist/esm/ui/WayfindingFloorSelector/index.d.ts +3 -0
  190. package/dist/esm/ui/WayfindingFloorSelector/index.js +1 -0
  191. package/package.json +3 -3
  192. package/dist/browser/CookieConsent-l5gCtFOx.js +0 -8234
  193. package/dist/esm/components/Alert.js +0 -1
  194. package/dist/esm/components/Button.js +0 -1
  195. package/dist/esm/components/Checkbox.d.ts +0 -13
  196. package/dist/esm/components/Checkbox.js +0 -1
  197. package/dist/esm/components/CheckboxButton.d.ts +0 -11
  198. package/dist/esm/components/CheckboxButton.js +0 -1
  199. package/dist/esm/components/HighlightText.d.ts +0 -6
  200. package/dist/esm/components/HighlightText.js +0 -1
  201. package/dist/esm/components/LayersLoading.d.ts +0 -9
  202. package/dist/esm/components/LayersLoading.js +0 -1
  203. package/dist/esm/components/Radio.d.ts +0 -12
  204. package/dist/esm/components/Radio.js +0 -1
  205. package/dist/esm/components/ToggleButton.d.ts +0 -11
  206. package/dist/esm/components/ToggleButton.js +0 -1
  207. package/dist/esm/components/ToggleSwitch.d.ts +0 -12
  208. package/dist/esm/components/ToggleSwitch.js +0 -1
  209. package/dist/esm/components/TouchHand.d.ts +0 -4
  210. package/dist/esm/components/TouchHand.js +0 -1
  211. package/dist/esm/components/WayfindingFloorSelector.d.ts +0 -21
  212. package/dist/esm/components/WayfindingFloorSelector.js +0 -1
  213. package/dist/esm/components/stories/Alert.stories.js +0 -1
  214. package/dist/esm/components/stories/Badge.stories.d.ts +0 -5
  215. package/dist/esm/components/stories/Badge.stories.js +0 -1
  216. package/dist/esm/components/stories/Button.stories.d.ts +0 -5
  217. package/dist/esm/components/stories/Button.stories.js +0 -1
  218. package/dist/esm/components/stories/Checkbox.stories.d.ts +0 -5
  219. package/dist/esm/components/stories/Checkbox.stories.js +0 -1
  220. package/dist/esm/components/stories/CheckboxButton.stories.js +0 -1
  221. package/dist/esm/components/stories/Loading.stories.d.ts +0 -5
  222. package/dist/esm/components/stories/Loading.stories.js +0 -1
  223. package/dist/esm/components/stories/Modal.storiesss.d.ts +0 -5
  224. package/dist/esm/components/stories/Modal.storiesss.js +0 -1
  225. package/dist/esm/components/stories/Radio.stories.d.ts +0 -10
  226. package/dist/esm/components/stories/Radio.stories.js +0 -1
  227. package/dist/esm/components/stories/Share.storiesSS.d.ts +0 -5
  228. package/dist/esm/components/stories/Share.storiesSS.js +0 -1
  229. package/dist/esm/components/stories/ToggleButton.stories.d.ts +0 -5
  230. package/dist/esm/components/stories/ToggleButton.stories.js +0 -1
  231. package/dist/esm/components/stories/ToggleSwitch.stories.d.ts +0 -5
  232. package/dist/esm/components/stories/ToggleSwitch.stories.js +0 -1
  233. package/dist/esm/components/stories/TouchHand.stories.d.ts +0 -5
  234. package/dist/esm/components/stories/TouchHand.stories.js +0 -1
  235. package/dist/esm/components/stories/WayInformation.storiesss.d.ts +0 -5
  236. package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.d.ts +0 -5
  237. package/dist/esm/components/stories/WayfindingFloorSelector.storiesss.js +0 -1
  238. package/dist/esm/components/stories/WayfindingTemplate.storiesss.d.ts +0 -5
  239. package/dist/esm/components/stories/WayfindingTemplate.storiesss.js +0 -1
  240. /package/dist/esm/components/stories/{WayInformation.storiesss.js → WayInformation.stories.js} +0 -0
  241. /package/dist/esm/{components → ui/Badge}/Badge.js +0 -0
@@ -1,13 +1,13 @@
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.2.13" };
4
+ e.SENTRY_RELEASE = { id: "3.2.14" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f405f9d4-320d-41de-a8ac-8ad296a90cf9", e._sentryDebugIdIdentifier = "sentry-dbid-f405f9d4-320d-41de-a8ac-8ad296a90cf9");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "09c8affe-57e7-49fa-b934-1afaca71ad60", e._sentryDebugIdIdentifier = "sentry-dbid-09c8affe-57e7-49fa-b934-1afaca71ad60");
7
7
  } catch {}
8
8
  })();
9
- import { r as e, t } from "./rolldown-runtime-DaP-Mfpn.js";
10
- import { t as n } from "./browser-BWeq0ALX.js";
9
+ import { r as e, t } from "./rolldown-runtime-DB8Ddt08.js";
10
+ import { t as n } from "./browser-vqeti97Y.js";
11
11
  //#region src/tools/logger.ts
12
12
  var r = /* @__PURE__ */ e(n(), 1), i = class {
13
13
  constructor() {
@@ -50,25 +50,7 @@ var o = new i(), s = "___visibility", c = "previewMode", l = "___preview_mode",
50
50
  import.meta.url
51
51
  ).href;
52
52
  pe.endsWith("/") || (pe += "/");
53
- var me = pe, he = "rt";
54
- function ge() {
55
- return new URLSearchParams(decodeURIComponent(window.location.search)).get(he);
56
- }
57
- function _e() {
58
- let e = ge();
59
- return e || (e = sessionStorage.getItem(he)), e;
60
- }
61
- function ve(e) {
62
- sessionStorage.setItem(he, e);
63
- }
64
- function ye(e, t) {
65
- let n = new URL(e, "https://app.expofp.com/");
66
- for (let [e, r] of Object.entries(t)) n.searchParams.set(e, r);
67
- return n.href;
68
- }
69
- //#endregion
70
- //#region src/utils/browser.ts
71
- var be = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
53
+ var me = pe, he = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
72
54
  (function(n, r) {
73
55
  typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.bowser = r() : n.bowser = r();
74
56
  })(e, (function() {
@@ -1767,11 +1749,11 @@ var be = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1767
1749
  }
1768
1750
  });
1769
1751
  }));
1770
- })))(), 1), xe, Se = window.navigator.userAgent, Ce = be.default.getParser(Se);
1771
- o.log("Browser", Ce.getBrowserName(), Ce.getBrowserVersion(), Ce.getOSName(), (xe = Ce.getEngine()) == null ? void 0 : xe.name);
1752
+ })))(), 1), ge, _e = window.navigator.userAgent, ve = he.default.getParser(_e);
1753
+ o.log("Browser", ve.getBrowserName(), ve.getBrowserVersion(), ve.getOSName(), (ge = ve.getEngine()) == null ? void 0 : ge.name);
1772
1754
  //#endregion
1773
1755
  //#region src/utils/is-from-designer.ts
1774
- var we = document.referrer && (document.referrer.indexOf("app.expofp.com") > -1 || document.referrer.indexOf("app-show.expofp.com") > -1), Te = /* @__PURE__ */ t(((e, t) => {
1756
+ var ye = document.referrer && (document.referrer.indexOf("app.expofp.com") > -1 || document.referrer.indexOf("app-show.expofp.com") > -1), be = /* @__PURE__ */ t(((e, t) => {
1775
1757
  (function() {
1776
1758
  function e(e, t) {
1777
1759
  document.addEventListener ? e.addEventListener("scroll", t, !1) : e.attachEvent("scroll", t);
@@ -1871,49 +1853,49 @@ var we = document.referrer && (document.referrer.indexOf("app.expofp.com") > -1
1871
1853
  });
1872
1854
  }, typeof t == "object" ? t.exports = s : (window.FontFaceObserver = s, window.FontFaceObserver.prototype.load = s.prototype.load);
1873
1855
  })();
1874
- })), Ee, De = new Uint8Array(16);
1875
- function Oe() {
1876
- if (!Ee && (Ee = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ee)) throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1877
- return Ee(De);
1856
+ })), xe, Se = new Uint8Array(16);
1857
+ function Ce() {
1858
+ if (!xe && (xe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !xe)) throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1859
+ return xe(Se);
1878
1860
  }
1879
1861
  //#endregion
1880
1862
  //#region ../../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/stringify.js
1881
1863
  var w = [];
1882
1864
  for (let e = 0; e < 256; ++e) w.push((e + 256).toString(16).slice(1));
1883
- function ke(e, t = 0) {
1865
+ function we(e, t = 0) {
1884
1866
  return w[e[t + 0]] + w[e[t + 1]] + w[e[t + 2]] + w[e[t + 3]] + "-" + w[e[t + 4]] + w[e[t + 5]] + "-" + w[e[t + 6]] + w[e[t + 7]] + "-" + w[e[t + 8]] + w[e[t + 9]] + "-" + w[e[t + 10]] + w[e[t + 11]] + w[e[t + 12]] + w[e[t + 13]] + w[e[t + 14]] + w[e[t + 15]];
1885
1867
  }
1886
- var Ae = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
1868
+ var Te = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
1887
1869
  //#endregion
1888
1870
  //#region ../../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js
1889
- function je(e, t, n) {
1890
- if (Ae.randomUUID && !t && !e) return Ae.randomUUID();
1871
+ function Ee(e, t, n) {
1872
+ if (Te.randomUUID && !t && !e) return Te.randomUUID();
1891
1873
  e = e || {};
1892
- let r = e.random || (e.rng || Oe)();
1874
+ let r = e.random || (e.rng || Ce)();
1893
1875
  if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
1894
1876
  n = n || 0;
1895
1877
  for (let e = 0; e < 16; ++e) t[n + e] = r[e];
1896
1878
  return t;
1897
1879
  }
1898
- return ke(r);
1880
+ return we(r);
1899
1881
  }
1900
1882
  //#endregion
1901
1883
  //#region src/tools/loaders.ts
1902
- var Me = /* @__PURE__ */ e(Te(), 1);
1903
- async function Ne(e) {
1884
+ var De = /* @__PURE__ */ e(be(), 1);
1885
+ async function Oe(e) {
1904
1886
  return await (await fetch(e, { credentials: "same-origin" })).json();
1905
1887
  }
1906
- function Pe(e, t) {
1888
+ function ke(e, t) {
1907
1889
  let n = document.createElement("link");
1908
1890
  n.rel = "stylesheet", n.href = e, n.setAttribute("fetchpriority", "high"), t.appendChild(n);
1909
1891
  }
1910
- async function Fe(e) {
1911
- return e = we && e.indexOf("?") === -1 ? `${e}?v=${(/* @__PURE__ */ new Date()).getMilliseconds()}` : e, new Promise(function(t, n) {
1892
+ async function Ae(e) {
1893
+ return e = ye && e.indexOf("?") === -1 ? `${e}?v=${(/* @__PURE__ */ new Date()).getMilliseconds()}` : e, new Promise(function(t, n) {
1912
1894
  let r = document.createElement("script");
1913
- r.src = ze(e), r.setAttribute("fetchpriority", "high"), r.onload = t, r.onerror = t, o.log("Injecting script:", r.src), document.head.appendChild(r);
1895
+ r.src = Pe(e), r.setAttribute("fetchpriority", "high"), r.onload = t, r.onerror = t, o.log("Injecting script:", r.src), document.head.appendChild(r);
1914
1896
  });
1915
1897
  }
1916
- async function Ie(e, t, n) {
1898
+ async function je(e, t, n) {
1917
1899
  var r;
1918
1900
  n = {
1919
1901
  style: "normal",
@@ -1921,8 +1903,8 @@ async function Ie(e, t, n) {
1921
1903
  ...n || {}
1922
1904
  };
1923
1905
  let i = `url("${t}")`;
1924
- if (!window.FontFace) return e.startsWith("Font Awesome") || Le(e, i, n), Promise.resolve();
1925
- e.indexOf(" ") !== -1 && ((r = Ce.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
1906
+ if (!window.FontFace) return e.startsWith("Font Awesome") || Me(e, i, n), Promise.resolve();
1907
+ e.indexOf(" ") !== -1 && ((r = ve.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
1926
1908
  let a;
1927
1909
  try {
1928
1910
  a = new FontFace(e, i, n);
@@ -1931,23 +1913,23 @@ async function Ie(e, t, n) {
1931
1913
  }
1932
1914
  return document.fonts.add(a), a.load();
1933
1915
  }
1934
- function Le(e, t, n) {
1916
+ function Me(e, t, n) {
1935
1917
  let r = document.createElement("style");
1936
1918
  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);
1937
1919
  let i = document.createElement("div");
1938
1920
  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);
1939
1921
  }
1940
- async function Re(e) {
1922
+ async function Ne(e) {
1941
1923
  var t;
1942
1924
  let n = getComputedStyle(document.documentElement).getPropertyValue("--expofp-font-face") || ((t = e.match(/--expofp-font-face:\s*([^;]*)/)) == null ? void 0 : t[1]);
1943
1925
  if (!n) return;
1944
- let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new Me.default(e).load());
1926
+ let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new De.default(e).load());
1945
1927
  return Promise.allSettled(r);
1946
1928
  }
1947
- function ze(e) {
1929
+ function Pe(e) {
1948
1930
  try {
1949
1931
  let t = window.__fpDataVersion;
1950
- t || (t = je().replace(/\D/g, ""));
1932
+ t || (t = Ee().replace(/\D/g, ""));
1951
1933
  let [n, r = ""] = e.split("?"), i = new URLSearchParams(r);
1952
1934
  if (i.has("v")) return e;
1953
1935
  i.set("v", t);
@@ -1958,82 +1940,6 @@ function ze(e) {
1958
1940
  }
1959
1941
  }
1960
1942
  //#endregion
1961
- //#region src/utils/urlEncoding.ts
1962
- function Be(e) {
1963
- if (!e || e.length === 0) return "";
1964
- let t = e.map((e) => encodeURIComponent(e.trim())).join(",");
1965
- return o.log("URLEncoding: encoding string array:", {
1966
- original: e,
1967
- encoded: t
1968
- }), t;
1969
- }
1970
- function Ve(e) {
1971
- if (!e) return [];
1972
- try {
1973
- let t = e.split(",").map((e) => decodeURIComponent(e.trim())).filter(Boolean);
1974
- return o.log("URLEncoding: decoding string array:", {
1975
- encoded: e,
1976
- decoded: t
1977
- }), t;
1978
- } catch (t) {
1979
- return o.warn("URLEncoding: failed to decode string array:", e, t), [];
1980
- }
1981
- }
1982
- function He(e) {
1983
- if (!e) return null;
1984
- let t = encodeURIComponent(e.trim());
1985
- return o.log("URLEncoding: encoding string:", {
1986
- original: e,
1987
- encoded: t
1988
- }), t;
1989
- }
1990
- function Ue(e) {
1991
- if (!e) return null;
1992
- try {
1993
- let t = decodeURIComponent(e.trim());
1994
- return o.log("URLEncoding: decoding string:", {
1995
- encoded: e,
1996
- decoded: t
1997
- }), t;
1998
- } catch (t) {
1999
- return o.warn("URLEncoding: failed to decode string:", e, t), null;
2000
- }
2001
- }
2002
- function We(e) {
2003
- return e.map((e) => e.toLowerCase());
2004
- }
2005
- function Ge(e) {
2006
- return e ? e.toLowerCase() : null;
2007
- }
2008
- //#endregion
2009
- //#region src/utils/index.ts
2010
- function Ke(e) {
2011
- return e * parseFloat(getComputedStyle(document.documentElement).fontSize);
2012
- }
2013
- function qe(e, t) {
2014
- let n = [];
2015
- for (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));
2016
- return n;
2017
- }
2018
- function Je(e) {
2019
- e.sort(function(e, t) {
2020
- var n = e.name.toLowerCase(), r = t.name.toLowerCase();
2021
- return n < r ? -1 : +(n > r);
2022
- });
2023
- }
2024
- var Ye = document.createElement("canvas"), Xe = !!(Ye.getContext("webgl") || Ye.getContext("experimental-webgl"));
2025
- if (!Xe) {
2026
- let e = document.createElement("div");
2027
- e.innerHTML = "<!--no webgl-->", document.body.appendChild(e);
2028
- }
2029
- function Ze(e) {
2030
- for (var t = e.length, n, r; t !== 0;) r = Math.floor(Math.random() * t), --t, n = e[t], e[t] = e[r], e[r] = n;
2031
- return e;
2032
- }
2033
- function Qe(e) {
2034
- return new Promise((t) => setTimeout(t, e));
2035
- }
2036
- //#endregion
2037
1943
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/typeof.js
2038
1944
  function T(e) {
2039
1945
  "@babel/helpers - typeof";
@@ -2045,7 +1951,7 @@ function T(e) {
2045
1951
  }
2046
1952
  //#endregion
2047
1953
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
2048
- function $e(e, t) {
1954
+ function Fe(e, t) {
2049
1955
  if (T(e) != "object" || !e) return e;
2050
1956
  var n = e[Symbol.toPrimitive];
2051
1957
  if (n !== void 0) {
@@ -2057,14 +1963,14 @@ function $e(e, t) {
2057
1963
  }
2058
1964
  //#endregion
2059
1965
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
2060
- function et(e) {
2061
- var t = $e(e, "string");
1966
+ function Ie(e) {
1967
+ var t = Fe(e, "string");
2062
1968
  return T(t) == "symbol" ? t : t + "";
2063
1969
  }
2064
1970
  //#endregion
2065
1971
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js
2066
- function tt(e, t, n) {
2067
- return (t = et(t)) in e ? Object.defineProperty(e, t, {
1972
+ function Le(e, t, n) {
1973
+ return (t = Ie(t)) in e ? Object.defineProperty(e, t, {
2068
1974
  value: n,
2069
1975
  enumerable: !0,
2070
1976
  configurable: !0,
@@ -2079,7 +1985,7 @@ function E(e) {
2079
1985
  typeof Object.getOwnPropertySymbols == "function" && r.push.apply(r, Object.getOwnPropertySymbols(n).filter(function(e) {
2080
1986
  return Object.getOwnPropertyDescriptor(n, e).enumerable;
2081
1987
  })), r.forEach(function(t) {
2082
- tt(e, t, n[t]);
1988
+ Le(e, t, n[t]);
2083
1989
  });
2084
1990
  }
2085
1991
  return e;
@@ -2091,14 +1997,14 @@ function D(e, t) {
2091
1997
  }
2092
1998
  //#endregion
2093
1999
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/createClass.js
2094
- function nt(e, t) {
2000
+ function Re(e, t) {
2095
2001
  for (var n = 0; n < t.length; n++) {
2096
2002
  var r = t[n];
2097
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, et(r.key), r);
2003
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Ie(r.key), r);
2098
2004
  }
2099
2005
  }
2100
2006
  function O(e, t, n) {
2101
- return t && nt(e.prototype, t), n && nt(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2007
+ return t && Re(e.prototype, t), n && Re(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
2102
2008
  }
2103
2009
  //#endregion
2104
2010
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
@@ -2108,38 +2014,38 @@ function k(e) {
2108
2014
  }
2109
2015
  //#endregion
2110
2016
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
2111
- function rt(e, t) {
2017
+ function ze(e, t) {
2112
2018
  if (t && (T(t) == "object" || typeof t == "function")) return t;
2113
2019
  if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
2114
2020
  return k(e);
2115
2021
  }
2116
2022
  //#endregion
2117
2023
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
2118
- function it(e) {
2119
- return it = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
2024
+ function Be(e) {
2025
+ return Be = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
2120
2026
  return e.__proto__ || Object.getPrototypeOf(e);
2121
- }, it(e);
2027
+ }, Be(e);
2122
2028
  }
2123
2029
  //#endregion
2124
2030
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
2125
- function at(e, t) {
2126
- return at = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
2031
+ function Ve(e, t) {
2032
+ return Ve = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
2127
2033
  return e.__proto__ = t, e;
2128
- }, at(e, t);
2034
+ }, Ve(e, t);
2129
2035
  }
2130
2036
  //#endregion
2131
2037
  //#region ../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/inherits.js
2132
- function ot(e, t) {
2038
+ function He(e, t) {
2133
2039
  if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
2134
2040
  e.prototype = Object.create(t && t.prototype, { constructor: {
2135
2041
  value: e,
2136
2042
  writable: !0,
2137
2043
  configurable: !0
2138
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && at(e, t);
2044
+ } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Ve(e, t);
2139
2045
  }
2140
2046
  //#endregion
2141
2047
  //#region ../../node_modules/.pnpm/i18next@19.9.2/node_modules/i18next/dist/esm/i18next.js
2142
- var st = {
2048
+ var Ue = {
2143
2049
  type: "logger",
2144
2050
  log: function(e) {
2145
2051
  this.output("log", e);
@@ -2163,7 +2069,7 @@ var st = {
2163
2069
  key: "init",
2164
2070
  value: function(e) {
2165
2071
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2166
- this.prefix = t.prefix || "i18next:", this.logger = e || st, this.options = t, this.debug = t.debug;
2072
+ this.prefix = t.prefix || "i18next:", this.logger = e || Ue, this.options = t, this.debug = t.debug;
2167
2073
  }
2168
2074
  },
2169
2075
  {
@@ -2213,7 +2119,7 @@ var st = {
2213
2119
  }
2214
2120
  }
2215
2121
  ]), e;
2216
- }())(), ct = function() {
2122
+ }())(), j = function() {
2217
2123
  function e() {
2218
2124
  D(this, e), this.observers = {};
2219
2125
  }
@@ -2254,21 +2160,21 @@ var st = {
2254
2160
  }
2255
2161
  ]), e;
2256
2162
  }();
2257
- function lt() {
2163
+ function We() {
2258
2164
  var e, t, n = new Promise(function(n, r) {
2259
2165
  e = n, t = r;
2260
2166
  });
2261
2167
  return n.resolve = e, n.reject = t, n;
2262
2168
  }
2263
- function ut(e) {
2169
+ function Ge(e) {
2264
2170
  return e == null ? "" : "" + e;
2265
2171
  }
2266
- function dt(e, t, n) {
2172
+ function Ke(e, t, n) {
2267
2173
  e.forEach(function(e) {
2268
2174
  t[e] && (n[e] = t[e]);
2269
2175
  });
2270
2176
  }
2271
- function ft(e, t, n) {
2177
+ function qe(e, t, n) {
2272
2178
  function r(e) {
2273
2179
  return e && e.indexOf("###") > -1 ? e.replace(/###/g, ".") : e;
2274
2180
  }
@@ -2285,30 +2191,30 @@ function ft(e, t, n) {
2285
2191
  k: r(a.shift())
2286
2192
  };
2287
2193
  }
2288
- function pt(e, t, n) {
2289
- var r = ft(e, t, Object), i = r.obj, a = r.k;
2194
+ function Je(e, t, n) {
2195
+ var r = qe(e, t, Object), i = r.obj, a = r.k;
2290
2196
  i[a] = n;
2291
2197
  }
2292
- function mt(e, t, n, r) {
2293
- var i = ft(e, t, Object), a = i.obj, o = i.k;
2198
+ function Ye(e, t, n, r) {
2199
+ var i = qe(e, t, Object), a = i.obj, o = i.k;
2294
2200
  a[o] = a[o] || [], r && (a[o] = a[o].concat(n)), r || a[o].push(n);
2295
2201
  }
2296
- function ht(e, t) {
2297
- var n = ft(e, t), r = n.obj, i = n.k;
2202
+ function Xe(e, t) {
2203
+ var n = qe(e, t), r = n.obj, i = n.k;
2298
2204
  if (r) return r[i];
2299
2205
  }
2300
- function gt(e, t, n) {
2301
- var r = ht(e, n);
2302
- return r === void 0 ? ht(t, n) : r;
2206
+ function Ze(e, t, n) {
2207
+ var r = Xe(e, n);
2208
+ return r === void 0 ? Xe(t, n) : r;
2303
2209
  }
2304
- function _t(e, t, n) {
2305
- 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]) : _t(e[r], t[r], n) : e[r] = t[r]);
2210
+ function Qe(e, t, n) {
2211
+ 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]) : Qe(e[r], t[r], n) : e[r] = t[r]);
2306
2212
  return e;
2307
2213
  }
2308
- function vt(e) {
2214
+ function $e(e) {
2309
2215
  return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2310
2216
  }
2311
- var yt = {
2217
+ var et = {
2312
2218
  "&": "&amp;",
2313
2219
  "<": "&lt;",
2314
2220
  ">": "&gt;",
@@ -2316,19 +2222,19 @@ var yt = {
2316
2222
  "'": "&#39;",
2317
2223
  "/": "&#x2F;"
2318
2224
  };
2319
- function bt(e) {
2225
+ function tt(e) {
2320
2226
  return typeof e == "string" ? e.replace(/[&<>"'\/]/g, function(e) {
2321
- return yt[e];
2227
+ return et[e];
2322
2228
  }) : e;
2323
2229
  }
2324
- var xt = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, St = function(e) {
2325
- ot(t, e);
2230
+ var nt = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, rt = function(e) {
2231
+ He(t, e);
2326
2232
  function t(e) {
2327
2233
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2328
2234
  ns: ["translation"],
2329
2235
  defaultNS: "translation"
2330
2236
  };
2331
- return D(this, t), n = rt(this, it(t).call(this)), xt && ct.call(k(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
2237
+ return D(this, t), n = ze(this, Be(t).call(this)), nt && j.call(k(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
2332
2238
  }
2333
2239
  return O(t, [
2334
2240
  {
@@ -2348,7 +2254,7 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2348
2254
  key: "getResource",
2349
2255
  value: function(e, t, n) {
2350
2256
  var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = [e, t];
2351
- 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(".")), ht(this.data, a);
2257
+ 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(".")), Xe(this.data, a);
2352
2258
  }
2353
2259
  },
2354
2260
  {
@@ -2357,7 +2263,7 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2357
2263
  var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { silent: !1 }, a = this.options.keySeparator;
2358
2264
  a === void 0 && (a = ".");
2359
2265
  var o = [e, t];
2360
- n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), pt(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
2266
+ n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Je(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
2361
2267
  }
2362
2268
  },
2363
2269
  {
@@ -2373,8 +2279,8 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2373
2279
  value: function(e, t, n, r, i) {
2374
2280
  var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : { silent: !1 }, o = [e, t];
2375
2281
  e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
2376
- var s = ht(this.data, o) || {};
2377
- r ? _t(s, n, i) : s = E({}, s, n), pt(this.data, o, s), a.silent || this.emit("added", e, t, n);
2282
+ var s = Xe(this.data, o) || {};
2283
+ r ? Qe(s, n, i) : s = E({}, s, n), Je(this.data, o, s), a.silent || this.emit("added", e, t, n);
2378
2284
  }
2379
2285
  },
2380
2286
  {
@@ -2408,7 +2314,7 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2408
2314
  }
2409
2315
  }
2410
2316
  ]), t;
2411
- }(ct), Ct = {
2317
+ }(j), it = {
2412
2318
  processors: {},
2413
2319
  addPostProcessor: function(e) {
2414
2320
  this.processors[e.name] = e;
@@ -2419,11 +2325,11 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2419
2325
  a.processors[e] && (t = a.processors[e].process(t, n, r, i));
2420
2326
  }), t;
2421
2327
  }
2422
- }, wt = {}, Tt = function(e) {
2423
- ot(t, e);
2328
+ }, at = {}, ot = function(e) {
2329
+ He(t, e);
2424
2330
  function t(e) {
2425
2331
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2426
- return D(this, t), n = rt(this, it(t).call(this)), xt && ct.call(k(n)), dt([
2332
+ return D(this, t), n = ze(this, Be(t).call(this)), nt && j.call(k(n)), Ke([
2427
2333
  "resourceStore",
2428
2334
  "languageUtils",
2429
2335
  "pluralResolver",
@@ -2544,7 +2450,7 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2544
2450
  }, n)), n.interpolation && this.interpolator.reset();
2545
2451
  }
2546
2452
  var f = n.postProcess || this.options.postProcess, p = typeof f == "string" ? [f] : f;
2547
- return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = Ct.handle(p, e, t, this.options && this.options.postProcessPassResolved ? E({ i18nResolved: r }, n) : n, this)), e;
2453
+ return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = it.handle(p, e, t, this.options && this.options.postProcessPassResolved ? E({ i18nResolved: r }, n) : n, this)), e;
2548
2454
  }
2549
2455
  },
2550
2456
  {
@@ -2559,7 +2465,7 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2559
2465
  t.options.fallbackNS && (u = u.concat(t.options.fallbackNS));
2560
2466
  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);
2561
2467
  u.forEach(function(e) {
2562
- t.isValidLookup(r) || (s = e, !wt[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (wt[`${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) {
2468
+ t.isValidLookup(r) || (s = e, !at[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (at[`${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) {
2563
2469
  if (!t.isValidLookup(r)) {
2564
2470
  o = i;
2565
2471
  var s = l, c = [s];
@@ -2603,11 +2509,11 @@ var xt = typeof window < "u" && window.navigator && window.navigator.userAgent &
2603
2509
  return !1;
2604
2510
  }
2605
2511
  }]), t;
2606
- }(ct);
2607
- function Et(e) {
2512
+ }(j);
2513
+ function st(e) {
2608
2514
  return e.charAt(0).toUpperCase() + e.slice(1);
2609
2515
  }
2610
- var Dt = function() {
2516
+ var ct = function() {
2611
2517
  function e(t) {
2612
2518
  D(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = A.create("languageUtils");
2613
2519
  }
@@ -2643,7 +2549,7 @@ var Dt = function() {
2643
2549
  ], n = e.split("-");
2644
2550
  return this.options.lowerCaseLng ? n = n.map(function(e) {
2645
2551
  return e.toLowerCase();
2646
- }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Et(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] = Et(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = Et(n[2].toLowerCase()))), n.join("-");
2552
+ }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = st(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] = st(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = st(n[2].toLowerCase()))), n.join("-");
2647
2553
  }
2648
2554
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
2649
2555
  }
@@ -2704,7 +2610,7 @@ var Dt = function() {
2704
2610
  }
2705
2611
  }
2706
2612
  ]), e;
2707
- }(), Ot = [
2613
+ }(), lt = [
2708
2614
  {
2709
2615
  lngs: [
2710
2616
  "ach",
@@ -2945,7 +2851,7 @@ var Dt = function() {
2945
2851
  ],
2946
2852
  fc: 22
2947
2853
  }
2948
- ], kt = {
2854
+ ], ut = {
2949
2855
  1: function(e) {
2950
2856
  return Number(e > 1);
2951
2857
  },
@@ -3013,21 +2919,21 @@ var Dt = function() {
3013
2919
  return Number(e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3);
3014
2920
  }
3015
2921
  };
3016
- function At() {
2922
+ function dt() {
3017
2923
  var e = {};
3018
- return Ot.forEach(function(t) {
2924
+ return lt.forEach(function(t) {
3019
2925
  t.lngs.forEach(function(n) {
3020
2926
  e[n] = {
3021
2927
  numbers: t.nr,
3022
- plurals: kt[t.fc]
2928
+ plurals: ut[t.fc]
3023
2929
  };
3024
2930
  });
3025
2931
  }), e;
3026
2932
  }
3027
- var jt = function() {
2933
+ var ft = function() {
3028
2934
  function e(t) {
3029
2935
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3030
- D(this, e), this.languageUtils = t, this.options = n, this.logger = A.create("pluralResolver"), this.rules = At();
2936
+ D(this, e), this.languageUtils = t, this.options = n, this.logger = A.create("pluralResolver"), this.rules = dt();
3031
2937
  }
3032
2938
  return O(e, [
3033
2939
  {
@@ -3082,7 +2988,7 @@ var jt = function() {
3082
2988
  }
3083
2989
  }
3084
2990
  ]), e;
3085
- }(), Mt = function() {
2991
+ }(), pt = function() {
3086
2992
  function e() {
3087
2993
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3088
2994
  D(this, e), this.logger = A.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(e) {
@@ -3096,7 +3002,7 @@ var jt = function() {
3096
3002
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3097
3003
  e.interpolation || (e.interpolation = { escapeValue: !0 });
3098
3004
  var t = e.interpolation;
3099
- this.escape = t.escape === void 0 ? bt : t.escape, this.escapeValue = t.escapeValue === void 0 ? !0 : t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape === void 0 ? !1 : t.useRawValueToEscape, this.prefix = t.prefix ? vt(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? vt(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 ? vt(t.nestingPrefix) : t.nestingPrefixEscaped || vt("$t("), this.nestingSuffix = t.nestingSuffix ? vt(t.nestingSuffix) : t.nestingSuffixEscaped || vt(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat === void 0 ? !1 : t.alwaysFormat, this.resetRegExp();
3005
+ this.escape = t.escape === void 0 ? tt : t.escape, this.escapeValue = t.escapeValue === void 0 ? !0 : t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape === void 0 ? !1 : t.useRawValueToEscape, this.prefix = t.prefix ? $e(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? $e(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 ? $e(t.nestingPrefix) : t.nestingPrefixEscaped || $e("$t("), this.nestingSuffix = t.nestingSuffix ? $e(t.nestingSuffix) : t.nestingSuffixEscaped || $e(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat === void 0 ? !1 : t.alwaysFormat, this.resetRegExp();
3100
3006
  }
3101
3007
  },
3102
3008
  {
@@ -3125,11 +3031,11 @@ var jt = function() {
3125
3031
  }
3126
3032
  var u = function(e) {
3127
3033
  if (e.indexOf(i.formatSeparator) < 0) {
3128
- var a = gt(t, c, e);
3034
+ var a = Ze(t, c, e);
3129
3035
  return i.alwaysFormat ? i.format(a, void 0, n) : a;
3130
3036
  }
3131
3037
  var o = e.split(i.formatSeparator), s = o.shift().trim(), l = o.join(i.formatSeparator).trim();
3132
- return i.format(gt(t, c, s), l, n, r);
3038
+ return i.format(Ze(t, c, s), l, n, r);
3133
3039
  };
3134
3040
  this.resetRegExp();
3135
3041
  var d = r && r.missingInterpolationHandler || this.options.missingInterpolationHandler, f = r && r.interpolation && r.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables;
@@ -3152,7 +3058,7 @@ var jt = function() {
3152
3058
  o = a[0];
3153
3059
  continue;
3154
3060
  } else i.logger.warn(`missed to pass in variable ${a[1]} for interpolating ${e}`), o = "";
3155
- else typeof o != "string" && !i.useRawValueToEscape && (o = ut(o));
3061
+ else typeof o != "string" && !i.useRawValueToEscape && (o = Ge(o));
3156
3062
  if (e = e.replace(a[0], t.safeValue(o)), t.regex.lastIndex = 0, s++, s >= i.maxReplaces) break;
3157
3063
  }
3158
3064
  }), e;
@@ -3184,7 +3090,7 @@ var jt = function() {
3184
3090
  i[1] = u.shift(), c = u, l = !0;
3185
3091
  }
3186
3092
  if (a = t(s.call(this, i[1].trim(), o), o), a && i[0] === e && typeof a != "string") return a;
3187
- typeof a != "string" && (a = ut(a)), a || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), a = ""), l && (a = c.reduce(function(e, t) {
3093
+ typeof a != "string" && (a = Ge(a)), a || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), a = ""), l && (a = c.reduce(function(e, t) {
3188
3094
  return n.format(e, t, r.lng, r);
3189
3095
  }, a.trim())), e = e.replace(i[0], a), this.regexp.lastIndex = 0;
3190
3096
  }
@@ -3193,14 +3099,14 @@ var jt = function() {
3193
3099
  }
3194
3100
  ]), e;
3195
3101
  }();
3196
- function Nt(e, t) {
3102
+ function mt(e, t) {
3197
3103
  for (var n = e.indexOf(t); n !== -1;) e.splice(n, 1), n = e.indexOf(t);
3198
3104
  }
3199
- var Pt = function(e) {
3200
- ot(t, e);
3105
+ var ht = function(e) {
3106
+ He(t, e);
3201
3107
  function t(e, n, r) {
3202
3108
  var i, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3203
- return D(this, t), i = rt(this, it(t).call(this)), xt && ct.call(k(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = A.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
3109
+ return D(this, t), i = ze(this, Be(t).call(this)), nt && j.call(k(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = A.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
3204
3110
  }
3205
3111
  return O(t, [
3206
3112
  {
@@ -3233,7 +3139,7 @@ var Pt = function(e) {
3233
3139
  t && this.emit("failedLoading", i, a, t), n && this.store.addResourceBundle(i, a, n), this.state[e] = t ? -1 : 2;
3234
3140
  var o = {};
3235
3141
  this.queue.forEach(function(n) {
3236
- mt(n.loaded, [i], a), Nt(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
3142
+ Ye(n.loaded, [i], a), mt(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
3237
3143
  o[e] || (o[e] = []), n.loaded[e].length && n.loaded[e].forEach(function(t) {
3238
3144
  o[e].indexOf(t) < 0 && o[e].push(t);
3239
3145
  });
@@ -3304,8 +3210,8 @@ var Pt = function(e) {
3304
3210
  }
3305
3211
  }
3306
3212
  ]), t;
3307
- }(ct);
3308
- function Ft() {
3213
+ }(j);
3214
+ function gt() {
3309
3215
  return {
3310
3216
  debug: !1,
3311
3217
  initImmediate: !0,
@@ -3368,16 +3274,16 @@ function Ft() {
3368
3274
  }
3369
3275
  };
3370
3276
  }
3371
- function It(e) {
3277
+ function _t(e) {
3372
3278
  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;
3373
3279
  }
3374
- function Lt() {}
3375
- var Rt = new (function(e) {
3376
- ot(t, e);
3280
+ function vt() {}
3281
+ var yt = new (function(e) {
3282
+ He(t, e);
3377
3283
  function t() {
3378
3284
  var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
3379
- if (D(this, t), e = rt(this, it(t).call(this)), xt && ct.call(k(e)), e.options = It(n), e.services = {}, e.logger = A, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
3380
- if (!e.options.initImmediate) return e.init(n, r), rt(e, k(e));
3285
+ if (D(this, t), e = ze(this, Be(t).call(this)), nt && j.call(k(e)), e.options = _t(n), e.services = {}, e.logger = A, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
3286
+ if (!e.options.initImmediate) return e.init(n, r), ze(e, k(e));
3381
3287
  setTimeout(function() {
3382
3288
  e.init(n, r);
3383
3289
  }, 0);
@@ -3389,23 +3295,23 @@ var Rt = new (function(e) {
3389
3295
  key: "init",
3390
3296
  value: function() {
3391
3297
  var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
3392
- 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 = E({}, Ft(), this.options, It(t)), this.format = this.options.interpolation.format, n || (n = Lt);
3298
+ 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 = E({}, gt(), this.options, _t(t)), this.format = this.options.interpolation.format, n || (n = vt);
3393
3299
  function r(e) {
3394
3300
  return e ? typeof e == "function" ? new e() : e : null;
3395
3301
  }
3396
3302
  if (!this.options.isClone) {
3397
3303
  this.modules.logger ? A.init(r(this.modules.logger), this.options) : A.init(null, this.options);
3398
- var i = new Dt(this.options);
3399
- this.store = new St(this.options.resources, this.options);
3304
+ var i = new ct(this.options);
3305
+ this.store = new rt(this.options.resources, this.options);
3400
3306
  var a = this.services;
3401
- a.logger = A, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new jt(i, {
3307
+ a.logger = A, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new ft(i, {
3402
3308
  prepend: this.options.pluralSeparator,
3403
3309
  compatibilityJSON: this.options.compatibilityJSON,
3404
3310
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3405
- }), a.interpolator = new Mt(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new Pt(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
3311
+ }), a.interpolator = new pt(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new ht(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
3406
3312
  var n = [...arguments].slice(1);
3407
3313
  e.emit.apply(e, [t].concat(n));
3408
- }), 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 Tt(this.services, this.options), this.translator.on("*", function(t) {
3314
+ }), 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 ot(this.services, this.options), this.translator.on("*", function(t) {
3409
3315
  var n = [...arguments].slice(1);
3410
3316
  e.emit.apply(e, [t].concat(n));
3411
3317
  }), this.modules.external.forEach(function(t) {
@@ -3437,7 +3343,7 @@ var Rt = new (function(e) {
3437
3343
  return (n = e.store)[t].apply(n, arguments), e;
3438
3344
  };
3439
3345
  });
3440
- var s = lt(), c = function() {
3346
+ var s = We(), c = function() {
3441
3347
  var t = function(t, r) {
3442
3348
  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);
3443
3349
  };
@@ -3450,7 +3356,7 @@ var Rt = new (function(e) {
3450
3356
  {
3451
3357
  key: "loadResources",
3452
3358
  value: function(e) {
3453
- var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Lt, r = typeof e == "string" ? e : this.language;
3359
+ var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : vt, r = typeof e == "string" ? e : this.language;
3454
3360
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
3455
3361
  if (r && r.toLowerCase() === "cimode") return n();
3456
3362
  var i = [], a = function(e) {
@@ -3469,8 +3375,8 @@ var Rt = new (function(e) {
3469
3375
  {
3470
3376
  key: "reloadResources",
3471
3377
  value: function(e, t, n) {
3472
- var r = lt();
3473
- return e || (e = this.languages), t || (t = this.options.ns), n || (n = Lt), this.services.backendConnector.reload(e, t, function(e) {
3378
+ var r = We();
3379
+ return e || (e = this.languages), t || (t = this.options.ns), n || (n = vt), this.services.backendConnector.reload(e, t, function(e) {
3474
3380
  r.resolve(), n(e);
3475
3381
  }), r;
3476
3382
  }
@@ -3480,7 +3386,7 @@ var Rt = new (function(e) {
3480
3386
  value: function(e) {
3481
3387
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3482
3388
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3483
- 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" && Ct.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
3389
+ 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" && it.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
3484
3390
  }
3485
3391
  },
3486
3392
  {
@@ -3488,7 +3394,7 @@ var Rt = new (function(e) {
3488
3394
  value: function(e, t) {
3489
3395
  var n = this;
3490
3396
  this.isLanguageChangingTo = e;
3491
- var r = lt();
3397
+ var r = We();
3492
3398
  this.emit("languageChanging", e);
3493
3399
  var i = function(e, i) {
3494
3400
  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() {
@@ -3561,7 +3467,7 @@ var Rt = new (function(e) {
3561
3467
  {
3562
3468
  key: "loadNamespaces",
3563
3469
  value: function(e, t) {
3564
- var n = this, r = lt();
3470
+ var n = this, r = We();
3565
3471
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach(function(e) {
3566
3472
  n.options.ns.indexOf(e) < 0 && n.options.ns.push(e);
3567
3473
  }), this.loadResources(function(e) {
@@ -3572,7 +3478,7 @@ var Rt = new (function(e) {
3572
3478
  {
3573
3479
  key: "loadLanguages",
3574
3480
  value: function(e, t) {
3575
- var n = lt();
3481
+ var n = We();
3576
3482
  typeof e == "string" && (e = [e]);
3577
3483
  var r = this.options.preload || [], i = e.filter(function(e) {
3578
3484
  return r.indexOf(e) < 0;
@@ -3597,64 +3503,64 @@ var Rt = new (function(e) {
3597
3503
  {
3598
3504
  key: "cloneInstance",
3599
3505
  value: function() {
3600
- var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Lt, i = E({}, this.options, n, { isClone: !0 }), a = new t(i);
3506
+ var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : vt, i = E({}, this.options, n, { isClone: !0 }), a = new t(i);
3601
3507
  return [
3602
3508
  "store",
3603
3509
  "services",
3604
3510
  "language"
3605
3511
  ].forEach(function(t) {
3606
3512
  a[t] = e[t];
3607
- }), a.services = E({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new Tt(a.services, a.options), a.translator.on("*", function(e) {
3513
+ }), a.services = E({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new ot(a.services, a.options), a.translator.on("*", function(e) {
3608
3514
  var t = [...arguments].slice(1);
3609
3515
  a.emit.apply(a, [e].concat(t));
3610
3516
  }), a.init(i, r), a.translator.options = a.options, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
3611
3517
  }
3612
3518
  }
3613
3519
  ]), t;
3614
- }(ct))(), zt = "An invariant failed, however the error is obfuscated because this is a production build.", Bt = [];
3615
- Object.freeze(Bt);
3616
- var Vt = {};
3617
- Object.freeze(Vt);
3618
- function j() {
3619
- return ++V.mobxGuid;
3520
+ }(j))(), bt = "An invariant failed, however the error is obfuscated because this is a production build.", xt = [];
3521
+ Object.freeze(xt);
3522
+ var St = {};
3523
+ Object.freeze(St);
3524
+ function M() {
3525
+ return ++H.mobxGuid;
3620
3526
  }
3621
- function M(e) {
3622
- throw Ht(!1, e), "X";
3527
+ function N(e) {
3528
+ throw Ct(!1, e), "X";
3623
3529
  }
3624
- function Ht(e, t) {
3625
- if (!e) throw Error("[mobx] " + (t || zt));
3530
+ function Ct(e, t) {
3531
+ if (!e) throw Error("[mobx] " + (t || bt));
3626
3532
  }
3627
- function Ut(e) {
3533
+ function wt(e) {
3628
3534
  var t = !1;
3629
3535
  return function() {
3630
3536
  if (!t) return t = !0, e.apply(this, arguments);
3631
3537
  };
3632
3538
  }
3633
- var Wt = function() {};
3634
- function Gt(e) {
3539
+ var Tt = function() {};
3540
+ function Et(e) {
3635
3541
  var t = [];
3636
3542
  return e.forEach(function(e) {
3637
3543
  t.indexOf(e) === -1 && t.push(e);
3638
3544
  }), t;
3639
3545
  }
3640
- function Kt(e) {
3546
+ function Dt(e) {
3641
3547
  return typeof e == "object" && !!e;
3642
3548
  }
3643
- function qt(e) {
3549
+ function Ot(e) {
3644
3550
  if (typeof e != "object" || !e) return !1;
3645
3551
  var t = Object.getPrototypeOf(e);
3646
3552
  return t === Object.prototype || t === null;
3647
3553
  }
3648
- function Jt(e) {
3649
- if (Qt(e) || Q(e)) return e;
3554
+ function kt(e) {
3555
+ if (Nt(e) || Q(e)) return e;
3650
3556
  if (Array.isArray(e)) return new Map(e);
3651
- if (qt(e)) {
3557
+ if (Ot(e)) {
3652
3558
  var t = /* @__PURE__ */ new Map();
3653
3559
  for (var n in e) t.set(n, e[n]);
3654
3560
  return t;
3655
- } else return M("Cannot convert to map from '" + e + "'");
3561
+ } else return N("Cannot convert to map from '" + e + "'");
3656
3562
  }
3657
- function Yt(e, t, n) {
3563
+ function At(e, t, n) {
3658
3564
  Object.defineProperty(e, t, {
3659
3565
  enumerable: !1,
3660
3566
  writable: !0,
@@ -3662,7 +3568,7 @@ function Yt(e, t, n) {
3662
3568
  value: n
3663
3569
  });
3664
3570
  }
3665
- function Xt(e, t, n) {
3571
+ function jt(e, t, n) {
3666
3572
  Object.defineProperty(e, t, {
3667
3573
  enumerable: !1,
3668
3574
  writable: !1,
@@ -3670,40 +3576,40 @@ function Xt(e, t, n) {
3670
3576
  value: n
3671
3577
  });
3672
3578
  }
3673
- function Zt(e, t) {
3579
+ function Mt(e, t) {
3674
3580
  var n = Object.getOwnPropertyDescriptor(e, t);
3675
3581
  return !n || n.configurable !== !1 && n.writable !== !1;
3676
3582
  }
3677
- function N(e, t) {
3583
+ function P(e, t) {
3678
3584
  var n = "isMobX" + e;
3679
3585
  return t.prototype[n] = !0, function(e) {
3680
- return Kt(e) && e[n] === !0;
3586
+ return Dt(e) && e[n] === !0;
3681
3587
  };
3682
3588
  }
3683
- function Qt(e) {
3589
+ function Nt(e) {
3684
3590
  return e instanceof Map;
3685
3591
  }
3686
- function $t(e) {
3592
+ function Pt(e) {
3687
3593
  return e instanceof Set;
3688
3594
  }
3689
- function en(e) {
3595
+ function Ft(e) {
3690
3596
  var t = /* @__PURE__ */ new Set();
3691
3597
  for (var n in e) t.add(n);
3692
3598
  return Object.getOwnPropertySymbols(e).forEach(function(n) {
3693
3599
  Object.getOwnPropertyDescriptor(e, n).enumerable && t.add(n);
3694
3600
  }), Array.from(t);
3695
3601
  }
3696
- function P(e) {
3602
+ function F(e) {
3697
3603
  return e && e.toString ? e.toString() : new String(e).toString();
3698
3604
  }
3699
- function tn(e) {
3605
+ function It(e) {
3700
3606
  return e === null ? null : typeof e == "object" ? "" + e : e;
3701
3607
  }
3702
- var nn = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols ? function(e) {
3608
+ var Lt = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getOwnPropertySymbols ? function(e) {
3703
3609
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
3704
- } : /* istanbul ignore next */ Object.getOwnPropertyNames, F = Symbol("mobx administration"), rn = function() {
3610
+ } : /* istanbul ignore next */ Object.getOwnPropertyNames, I = Symbol("mobx administration"), Rt = function() {
3705
3611
  function e(e) {
3706
- e === void 0 && (e = "Atom@" + j()), this.name = e, this.isPendingUnobservation = !1, this.isBeingObserved = !1, this.observers = /* @__PURE__ */ new Set(), this.diffValue = 0, this.lastAccessedBy = 0, this.lowestObserverState = R.NOT_TRACKING;
3612
+ e === void 0 && (e = "Atom@" + M()), this.name = e, this.isPendingUnobservation = !1, this.isBeingObserved = !1, this.observers = /* @__PURE__ */ new Set(), this.diffValue = 0, this.lastAccessedBy = 0, this.lowestObserverState = z.NOT_TRACKING;
3707
3613
  }
3708
3614
  return e.prototype.onBecomeObserved = function() {
3709
3615
  this.onBecomeObservedListeners && this.onBecomeObservedListeners.forEach(function(e) {
@@ -3714,56 +3620,56 @@ var nn = typeof Reflect < "u" && Reflect.ownKeys ? Reflect.ownKeys : Object.getO
3714
3620
  return e();
3715
3621
  });
3716
3622
  }, e.prototype.reportObserved = function() {
3717
- return Cr(this);
3623
+ return ir(this);
3718
3624
  }, e.prototype.reportChanged = function() {
3719
- H(), wr(this), U();
3625
+ U(), ar(this), W();
3720
3626
  }, e.prototype.toString = function() {
3721
3627
  return this.name;
3722
3628
  }, e;
3723
- }(), an = N("Atom", rn);
3724
- function on(e, t, n) {
3725
- t === void 0 && (t = Wt), n === void 0 && (n = Wt);
3726
- var r = new rn(e);
3727
- return t !== Wt && Yr(r, t), n !== Wt && Xr(r, n), r;
3629
+ }(), zt = P("Atom", Rt);
3630
+ function Bt(e, t, n) {
3631
+ t === void 0 && (t = Tt), n === void 0 && (n = Tt);
3632
+ var r = new Rt(e);
3633
+ return t !== Tt && Ar(r, t), n !== Tt && jr(r, n), r;
3728
3634
  }
3729
- function sn(e, t) {
3635
+ function Vt(e, t) {
3730
3636
  return e === t;
3731
3637
  }
3732
- function cn(e, t) {
3733
- return Gi(e, t);
3638
+ function Ht(e, t) {
3639
+ return Di(e, t);
3734
3640
  }
3735
- function ln(e, t) {
3736
- return Gi(e, t, 1);
3641
+ function Ut(e, t) {
3642
+ return Di(e, t, 1);
3737
3643
  }
3738
- function un(e, t) {
3644
+ function Wt(e, t) {
3739
3645
  return Object.is(e, t);
3740
3646
  }
3741
- var dn = {
3742
- identity: sn,
3743
- structural: cn,
3744
- default: un,
3745
- shallow: ln
3746
- }, fn = function(e, t) {
3747
- return fn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
3647
+ var Gt = {
3648
+ identity: Vt,
3649
+ structural: Ht,
3650
+ default: Wt,
3651
+ shallow: Ut
3652
+ }, Kt = function(e, t) {
3653
+ return Kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
3748
3654
  e.__proto__ = t;
3749
3655
  } || function(e, t) {
3750
3656
  for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
3751
- }, fn(e, t);
3657
+ }, Kt(e, t);
3752
3658
  };
3753
- function pn(e, t) {
3754
- fn(e, t);
3659
+ function qt(e, t) {
3660
+ Kt(e, t);
3755
3661
  function n() {
3756
3662
  this.constructor = e;
3757
3663
  }
3758
3664
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
3759
3665
  }
3760
- var mn = function() {
3761
- return mn = Object.assign || function(e) {
3666
+ var Jt = function() {
3667
+ return Jt = Object.assign || function(e) {
3762
3668
  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]);
3763
3669
  return e;
3764
- }, mn.apply(this, arguments);
3670
+ }, Jt.apply(this, arguments);
3765
3671
  };
3766
- function I(e) {
3672
+ function L(e) {
3767
3673
  var t = typeof Symbol == "function" && e[Symbol.iterator], n = 0;
3768
3674
  return t ? t.call(e) : { next: function() {
3769
3675
  return e && n >= e.length && (e = void 0), {
@@ -3772,7 +3678,7 @@ function I(e) {
3772
3678
  };
3773
3679
  } };
3774
3680
  }
3775
- function hn(e, t) {
3681
+ function Yt(e, t) {
3776
3682
  var n = typeof Symbol == "function" && e[Symbol.iterator];
3777
3683
  if (!n) return e;
3778
3684
  var r = n.call(e), i, a = [], o;
@@ -3789,33 +3695,33 @@ function hn(e, t) {
3789
3695
  }
3790
3696
  return a;
3791
3697
  }
3792
- function gn() {
3793
- for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(hn(arguments[t]));
3698
+ function Xt() {
3699
+ for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Yt(arguments[t]));
3794
3700
  return e;
3795
3701
  }
3796
- var _n = Symbol("mobx did run lazy initializers"), vn = Symbol("mobx pending decorators"), yn = {}, bn = {};
3797
- function xn(e, t) {
3798
- var n = t ? yn : bn;
3702
+ var Zt = Symbol("mobx did run lazy initializers"), Qt = Symbol("mobx pending decorators"), $t = {}, en = {};
3703
+ function tn(e, t) {
3704
+ var n = t ? $t : en;
3799
3705
  return n[e] || (n[e] = {
3800
3706
  configurable: !0,
3801
3707
  enumerable: t,
3802
3708
  get: function() {
3803
- return Sn(this), this[e];
3709
+ return nn(this), this[e];
3804
3710
  },
3805
3711
  set: function(t) {
3806
- Sn(this), this[e] = t;
3712
+ nn(this), this[e] = t;
3807
3713
  }
3808
3714
  });
3809
3715
  }
3810
- function Sn(e) {
3716
+ function nn(e) {
3811
3717
  var t, n;
3812
- if (e[_n] !== !0) {
3813
- var r = e[vn];
3718
+ if (e[Zt] !== !0) {
3719
+ var r = e[Qt];
3814
3720
  if (r) {
3815
- Yt(e, _n, !0);
3816
- var i = gn(Object.getOwnPropertySymbols(r), Object.keys(r));
3721
+ At(e, Zt, !0);
3722
+ var i = Xt(Object.getOwnPropertySymbols(r), Object.keys(r));
3817
3723
  try {
3818
- for (var a = I(i), o = a.next(); !o.done; o = a.next()) {
3724
+ for (var a = L(i), o = a.next(); !o.done; o = a.next()) {
3819
3725
  var s = r[o.value];
3820
3726
  s.propertyCreator(e, s.prop, s.descriptor, s.decoratorTarget, s.decoratorArguments);
3821
3727
  }
@@ -3831,306 +3737,306 @@ function Sn(e) {
3831
3737
  }
3832
3738
  }
3833
3739
  }
3834
- function Cn(e, t) {
3740
+ function rn(e, t) {
3835
3741
  return function() {
3836
3742
  var n, r = function(r, i, a, o) {
3837
3743
  if (o === !0) return t(r, i, a, r, n), null;
3838
- if (!Object.prototype.hasOwnProperty.call(r, vn)) {
3839
- var s = r[vn];
3840
- Yt(r, vn, mn({}, s));
3744
+ if (!Object.prototype.hasOwnProperty.call(r, Qt)) {
3745
+ var s = r[Qt];
3746
+ At(r, Qt, Jt({}, s));
3841
3747
  }
3842
- return r[vn][i] = {
3748
+ return r[Qt][i] = {
3843
3749
  prop: i,
3844
3750
  propertyCreator: t,
3845
3751
  descriptor: a,
3846
3752
  decoratorTarget: r,
3847
3753
  decoratorArguments: n
3848
- }, xn(i, e);
3754
+ }, tn(i, e);
3849
3755
  };
3850
- return wn(arguments) ? (n = Bt, r.apply(null, arguments)) : (n = Array.prototype.slice.call(arguments), r);
3756
+ return an(arguments) ? (n = xt, r.apply(null, arguments)) : (n = Array.prototype.slice.call(arguments), r);
3851
3757
  };
3852
3758
  }
3853
- function wn(e) {
3759
+ function an(e) {
3854
3760
  return (e.length === 2 || e.length === 3) && (typeof e[1] == "string" || typeof e[1] == "symbol") || e.length === 4 && e[3] === !0;
3855
3761
  }
3856
- function Tn(e, t, n) {
3857
- return oi(e) ? e : Array.isArray(e) ? L.array(e, { name: n }) : qt(e) ? L.object(e, void 0, { name: n }) : Qt(e) ? L.map(e, { name: n }) : $t(e) ? L.set(e, { name: n }) : e;
3762
+ function on(e, t, n) {
3763
+ return Vr(e) ? e : Array.isArray(e) ? R.array(e, { name: n }) : Ot(e) ? R.object(e, void 0, { name: n }) : Nt(e) ? R.map(e, { name: n }) : Pt(e) ? R.set(e, { name: n }) : e;
3858
3764
  }
3859
- function En(e, t, n) {
3860
- return e == null || Bi(e) || Ti(e) || Q(e) || $(e) ? e : Array.isArray(e) ? L.array(e, {
3765
+ function sn(e, t, n) {
3766
+ return e == null || Si(e) || si(e) || Q(e) || $(e) ? e : Array.isArray(e) ? R.array(e, {
3861
3767
  name: n,
3862
3768
  deep: !1
3863
- }) : qt(e) ? L.object(e, void 0, {
3769
+ }) : Ot(e) ? R.object(e, void 0, {
3864
3770
  name: n,
3865
3771
  deep: !1
3866
- }) : Qt(e) ? L.map(e, {
3772
+ }) : Nt(e) ? R.map(e, {
3867
3773
  name: n,
3868
3774
  deep: !1
3869
- }) : $t(e) ? L.set(e, {
3775
+ }) : Pt(e) ? R.set(e, {
3870
3776
  name: n,
3871
3777
  deep: !1
3872
- }) : M(!1);
3778
+ }) : N(!1);
3873
3779
  }
3874
- function Dn(e) {
3780
+ function cn(e) {
3875
3781
  return e;
3876
3782
  }
3877
- function On(e, t, n) {
3878
- return Gi(e, t) ? t : e;
3783
+ function ln(e, t, n) {
3784
+ return Di(e, t) ? t : e;
3879
3785
  }
3880
- function kn(e) {
3881
- Ht(e);
3882
- var t = Cn(!0, function(t, n, r, i, a) {
3786
+ function un(e) {
3787
+ Ct(e);
3788
+ var t = rn(!0, function(t, n, r, i, a) {
3883
3789
  var o = r ? r.initializer ? r.initializer.call(t) : r.value : void 0;
3884
- Ni(t).addObservableProp(n, o, e);
3790
+ hi(t).addObservableProp(n, o, e);
3885
3791
  }), n = (typeof process < "u" && process.env, t);
3886
3792
  return n.enhancer = e, n;
3887
3793
  }
3888
- var An = {
3794
+ var dn = {
3889
3795
  deep: !0,
3890
3796
  name: void 0,
3891
3797
  defaultDecorator: void 0,
3892
3798
  proxy: !0
3893
3799
  };
3894
- Object.freeze(An);
3895
- function jn(e) {
3896
- return e == null ? An : typeof e == "string" ? {
3800
+ Object.freeze(dn);
3801
+ function fn(e) {
3802
+ return e == null ? dn : typeof e == "string" ? {
3897
3803
  name: e,
3898
3804
  deep: !0,
3899
3805
  proxy: !0
3900
3806
  } : e;
3901
3807
  }
3902
- var Mn = kn(Tn), Nn = kn(En), Pn = kn(Dn), Fn = kn(On);
3903
- function In(e) {
3904
- return e.defaultDecorator ? e.defaultDecorator.enhancer : e.deep === !1 ? Dn : Tn;
3808
+ var pn = un(on), mn = un(sn), hn = un(cn), gn = un(ln);
3809
+ function _n(e) {
3810
+ return e.defaultDecorator ? e.defaultDecorator.enhancer : e.deep === !1 ? cn : on;
3905
3811
  }
3906
- function Ln(e, t, n) {
3907
- if (typeof arguments[1] == "string" || typeof arguments[1] == "symbol") return Mn.apply(null, arguments);
3908
- if (oi(e)) return e;
3909
- var r = qt(e) ? L.object(e, t, n) : Array.isArray(e) ? L.array(e, t) : Qt(e) ? L.map(e, t) : $t(e) ? L.set(e, t) : e;
3812
+ function vn(e, t, n) {
3813
+ if (typeof arguments[1] == "string" || typeof arguments[1] == "symbol") return pn.apply(null, arguments);
3814
+ if (Vr(e)) return e;
3815
+ var r = Ot(e) ? R.object(e, t, n) : Array.isArray(e) ? R.array(e, t) : Nt(e) ? R.map(e, t) : Pt(e) ? R.set(e, t) : e;
3910
3816
  if (r !== e) return r;
3911
- M(!1);
3817
+ N(!1);
3912
3818
  }
3913
- var Rn = {
3819
+ var yn = {
3914
3820
  box: function(e, t) {
3915
- arguments.length > 2 && zn("box");
3916
- var n = jn(t);
3917
- return new ur(e, In(n), n.name, !0, n.equals);
3821
+ arguments.length > 2 && bn("box");
3822
+ var n = fn(t);
3823
+ return new Gn(e, _n(n), n.name, !0, n.equals);
3918
3824
  },
3919
3825
  array: function(e, t) {
3920
- arguments.length > 2 && zn("array");
3921
- var n = jn(t);
3922
- return Si(e, In(n), n.name);
3826
+ arguments.length > 2 && bn("array");
3827
+ var n = fn(t);
3828
+ return ii(e, _n(n), n.name);
3923
3829
  },
3924
3830
  map: function(e, t) {
3925
- arguments.length > 2 && zn("map");
3926
- var n = jn(t);
3927
- return new Oi(e, In(n), n.name);
3831
+ arguments.length > 2 && bn("map");
3832
+ var n = fn(t);
3833
+ return new ui(e, _n(n), n.name);
3928
3834
  },
3929
3835
  set: function(e, t) {
3930
- arguments.length > 2 && zn("set");
3931
- var n = jn(t);
3932
- return new ji(e, In(n), n.name);
3836
+ arguments.length > 2 && bn("set");
3837
+ var n = fn(t);
3838
+ return new pi(e, _n(n), n.name);
3933
3839
  },
3934
3840
  object: function(e, t, n) {
3935
- typeof arguments[1] == "string" && zn("object");
3936
- var r = jn(n);
3937
- if (r.proxy === !1) return $r({}, e, t, r);
3938
- var i = ei(r), a = _i($r({}, void 0, void 0, r));
3939
- return ti(a, e, t, i), a;
3841
+ typeof arguments[1] == "string" && bn("object");
3842
+ var r = fn(n);
3843
+ if (r.proxy === !1) return Pr({}, e, t, r);
3844
+ var i = Fr(r), a = $r(Pr({}, void 0, void 0, r));
3845
+ return Ir(a, e, t, i), a;
3940
3846
  },
3941
- ref: Pn,
3942
- shallow: Nn,
3943
- deep: Mn,
3944
- struct: Fn
3945
- }, L = Ln;
3946
- Object.keys(Rn).forEach(function(e) {
3947
- return L[e] = Rn[e];
3847
+ ref: hn,
3848
+ shallow: mn,
3849
+ deep: pn,
3850
+ struct: gn
3851
+ }, R = vn;
3852
+ Object.keys(yn).forEach(function(e) {
3853
+ return R[e] = yn[e];
3948
3854
  });
3949
- function zn(e) {
3950
- M("Expected one or two arguments to observable." + e + ". Did you accidentally try to use observable." + e + " as decorator?");
3855
+ function bn(e) {
3856
+ N("Expected one or two arguments to observable." + e + ". Did you accidentally try to use observable." + e + " as decorator?");
3951
3857
  }
3952
- var Bn = Cn(!1, function(e, t, n, r, i) {
3858
+ var xn = rn(!1, function(e, t, n, r, i) {
3953
3859
  var a = n.get, o = n.set, s = i[0] || {};
3954
- Ni(e).addComputedProp(e, t, mn({
3860
+ hi(e).addComputedProp(e, t, Jt({
3955
3861
  get: a,
3956
3862
  set: o,
3957
3863
  context: e
3958
3864
  }, s));
3959
- }), Vn = Bn({ equals: dn.structural }), Hn = function(e, t, n) {
3960
- if (typeof t == "string" || typeof e == "object" && e && arguments.length === 1) return Bn.apply(null, arguments);
3865
+ }), Sn = xn({ equals: Gt.structural }), Cn = function(e, t, n) {
3866
+ if (typeof t == "string" || typeof e == "object" && e && arguments.length === 1) return xn.apply(null, arguments);
3961
3867
  var r = typeof t == "object" ? t : {};
3962
- return r.get = e, r.set = typeof t == "function" ? t : r.set, r.name = r.name || e.name || "", new fr(r);
3868
+ return r.get = e, r.set = typeof t == "function" ? t : r.set, r.name = r.name || e.name || "", new qn(r);
3963
3869
  };
3964
- Hn.struct = Vn;
3965
- var R;
3870
+ Cn.struct = Sn;
3871
+ var z;
3966
3872
  (function(e) {
3967
3873
  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";
3968
- })(R || (R = {}));
3969
- var z;
3874
+ })(z || (z = {}));
3875
+ var B;
3970
3876
  (function(e) {
3971
3877
  e[e.NONE = 0] = "NONE", e[e.LOG = 1] = "LOG", e[e.BREAK = 2] = "BREAK";
3972
- })(z || (z = {}));
3973
- var Un = function() {
3878
+ })(B || (B = {}));
3879
+ var wn = function() {
3974
3880
  function e(e) {
3975
3881
  this.cause = e;
3976
3882
  }
3977
3883
  return e;
3978
3884
  }();
3979
- function Wn(e) {
3980
- return e instanceof Un;
3885
+ function Tn(e) {
3886
+ return e instanceof wn;
3981
3887
  }
3982
- function Gn(e) {
3888
+ function En(e) {
3983
3889
  switch (e.dependenciesState) {
3984
- case R.UP_TO_DATE: return !1;
3985
- case R.NOT_TRACKING:
3986
- case R.STALE: return !0;
3987
- case R.POSSIBLY_STALE:
3988
- for (var t = Qn(!0), n = Zn(), r = e.observing, i = r.length, a = 0; a < i; a++) {
3890
+ case z.UP_TO_DATE: return !1;
3891
+ case z.NOT_TRACKING:
3892
+ case z.STALE: return !0;
3893
+ case z.POSSIBLY_STALE:
3894
+ for (var t = Nn(!0), n = Mn(), r = e.observing, i = r.length, a = 0; a < i; a++) {
3989
3895
  var o = r[a];
3990
- if (pr(o)) {
3991
- if (V.disableErrorBoundaries) o.get();
3896
+ if (Jn(o)) {
3897
+ if (H.disableErrorBoundaries) o.get();
3992
3898
  else try {
3993
3899
  o.get();
3994
3900
  } catch {
3995
- return B(n), $n(t), !0;
3901
+ return V(n), Pn(t), !0;
3996
3902
  }
3997
- if (e.dependenciesState === R.STALE) return B(n), $n(t), !0;
3903
+ if (e.dependenciesState === z.STALE) return V(n), Pn(t), !0;
3998
3904
  }
3999
3905
  }
4000
- return er(e), B(n), $n(t), !1;
3906
+ return Fn(e), V(n), Pn(t), !1;
4001
3907
  }
4002
3908
  }
4003
- function Kn(e) {
3909
+ function Dn(e) {
4004
3910
  var t = e.observers.size > 0;
4005
- V.computationDepth > 0 && t && M(!1), !V.allowStateChanges && (t || V.enforceActions === "strict") && M(!1);
3911
+ H.computationDepth > 0 && t && N(!1), !H.allowStateChanges && (t || H.enforceActions === "strict") && N(!1);
4006
3912
  }
4007
- function qn(e, t, n) {
4008
- var r = Qn(!0);
4009
- er(e), e.newObserving = Array(e.observing.length + 100), e.unboundDepsCount = 0, e.runId = ++V.runId;
4010
- var i = V.trackingDerivation;
4011
- V.trackingDerivation = e;
3913
+ function On(e, t, n) {
3914
+ var r = Nn(!0);
3915
+ Fn(e), e.newObserving = Array(e.observing.length + 100), e.unboundDepsCount = 0, e.runId = ++H.runId;
3916
+ var i = H.trackingDerivation;
3917
+ H.trackingDerivation = e;
4012
3918
  var a;
4013
- if (V.disableErrorBoundaries === !0) a = t.call(n);
3919
+ if (H.disableErrorBoundaries === !0) a = t.call(n);
4014
3920
  else try {
4015
3921
  a = t.call(n);
4016
3922
  } catch (e) {
4017
- a = new Un(e);
3923
+ a = new wn(e);
4018
3924
  }
4019
- return V.trackingDerivation = i, Jn(e), $n(r), a;
3925
+ return H.trackingDerivation = i, kn(e), Pn(r), a;
4020
3926
  }
4021
- function Jn(e) {
4022
- for (var t = e.observing, n = e.observing = e.newObserving, r = R.UP_TO_DATE, i = 0, a = e.unboundDepsCount, o = 0; o < a; o++) {
3927
+ function kn(e) {
3928
+ for (var t = e.observing, n = e.observing = e.newObserving, r = z.UP_TO_DATE, i = 0, a = e.unboundDepsCount, o = 0; o < a; o++) {
4023
3929
  var s = n[o];
4024
3930
  s.diffValue === 0 && (s.diffValue = 1, i !== o && (n[i] = s), i++), s.dependenciesState > r && (r = s.dependenciesState);
4025
3931
  }
4026
3932
  for (n.length = i, e.newObserving = null, a = t.length; a--;) {
4027
3933
  var s = t[a];
4028
- s.diffValue === 0 && xr(s, e), s.diffValue = 0;
3934
+ s.diffValue === 0 && nr(s, e), s.diffValue = 0;
4029
3935
  }
4030
3936
  for (; i--;) {
4031
3937
  var s = n[i];
4032
- s.diffValue === 1 && (s.diffValue = 0, br(s, e));
3938
+ s.diffValue === 1 && (s.diffValue = 0, tr(s, e));
4033
3939
  }
4034
- r !== R.UP_TO_DATE && (e.dependenciesState = r, e.onBecomeStale());
3940
+ r !== z.UP_TO_DATE && (e.dependenciesState = r, e.onBecomeStale());
4035
3941
  }
4036
- function Yn(e) {
3942
+ function An(e) {
4037
3943
  var t = e.observing;
4038
3944
  e.observing = [];
4039
- for (var n = t.length; n--;) xr(t[n], e);
4040
- e.dependenciesState = R.NOT_TRACKING;
3945
+ for (var n = t.length; n--;) nr(t[n], e);
3946
+ e.dependenciesState = z.NOT_TRACKING;
4041
3947
  }
4042
- function Xn(e) {
4043
- var t = Zn();
3948
+ function jn(e) {
3949
+ var t = Mn();
4044
3950
  try {
4045
3951
  return e();
4046
3952
  } finally {
4047
- B(t);
3953
+ V(t);
4048
3954
  }
4049
3955
  }
4050
- function Zn() {
4051
- var e = V.trackingDerivation;
4052
- return V.trackingDerivation = null, e;
3956
+ function Mn() {
3957
+ var e = H.trackingDerivation;
3958
+ return H.trackingDerivation = null, e;
4053
3959
  }
4054
- function B(e) {
4055
- V.trackingDerivation = e;
3960
+ function V(e) {
3961
+ H.trackingDerivation = e;
4056
3962
  }
4057
- function Qn(e) {
4058
- var t = V.allowStateReads;
4059
- return V.allowStateReads = e, t;
3963
+ function Nn(e) {
3964
+ var t = H.allowStateReads;
3965
+ return H.allowStateReads = e, t;
4060
3966
  }
4061
- function $n(e) {
4062
- V.allowStateReads = e;
3967
+ function Pn(e) {
3968
+ H.allowStateReads = e;
4063
3969
  }
4064
- function er(e) {
4065
- if (e.dependenciesState !== R.UP_TO_DATE) {
4066
- e.dependenciesState = R.UP_TO_DATE;
4067
- for (var t = e.observing, n = t.length; n--;) t[n].lowestObserverState = R.UP_TO_DATE;
3970
+ function Fn(e) {
3971
+ if (e.dependenciesState !== z.UP_TO_DATE) {
3972
+ e.dependenciesState = z.UP_TO_DATE;
3973
+ for (var t = e.observing, n = t.length; n--;) t[n].lowestObserverState = z.UP_TO_DATE;
4068
3974
  }
4069
3975
  }
4070
- var tr = 0, nr = 1, rr = Object.getOwnPropertyDescriptor(function() {}, "name");
4071
- rr && rr.configurable;
4072
- function ir(e, t, n) {
3976
+ var In = 0, Ln = 1, Rn = Object.getOwnPropertyDescriptor(function() {}, "name");
3977
+ Rn && Rn.configurable;
3978
+ function zn(e, t, n) {
4073
3979
  var r = function() {
4074
- return ar(e, t, n || this, arguments);
3980
+ return Bn(e, t, n || this, arguments);
4075
3981
  };
4076
3982
  return r.isMobxAction = !0, r;
4077
3983
  }
4078
- function ar(e, t, n, r) {
4079
- var i = or(e, n, r);
3984
+ function Bn(e, t, n, r) {
3985
+ var i = Vn(e, n, r);
4080
3986
  try {
4081
3987
  return t.apply(n, r);
4082
3988
  } catch (e) {
4083
3989
  throw i.error = e, e;
4084
3990
  } finally {
4085
- sr(i);
3991
+ Hn(i);
4086
3992
  }
4087
3993
  }
4088
- function or(e, t, n) {
4089
- var r = W() && !!e, i = 0, a = Zn();
4090
- H();
3994
+ function Vn(e, t, n) {
3995
+ var r = G() && !!e, i = 0, a = Mn();
3996
+ U();
4091
3997
  var o = {
4092
3998
  prevDerivation: a,
4093
- prevAllowStateChanges: cr(!0),
4094
- prevAllowStateReads: Qn(!0),
3999
+ prevAllowStateChanges: Un(!0),
4000
+ prevAllowStateReads: Nn(!0),
4095
4001
  notifySpy: r,
4096
4002
  startTime: i,
4097
- actionId: nr++,
4098
- parentActionId: tr
4003
+ actionId: Ln++,
4004
+ parentActionId: In
4099
4005
  };
4100
- return tr = o.actionId, o;
4006
+ return In = o.actionId, o;
4101
4007
  }
4102
- function sr(e) {
4103
- tr !== e.actionId && M("invalid action stack. did you forget to finish an action?"), tr = e.parentActionId, e.error !== void 0 && (V.suppressReactionErrors = !0), lr(e.prevAllowStateChanges), $n(e.prevAllowStateReads), U(), B(e.prevDerivation), e.notifySpy, V.suppressReactionErrors = !1;
4008
+ function Hn(e) {
4009
+ In !== e.actionId && N("invalid action stack. did you forget to finish an action?"), In = e.parentActionId, e.error !== void 0 && (H.suppressReactionErrors = !0), Wn(e.prevAllowStateChanges), Pn(e.prevAllowStateReads), W(), V(e.prevDerivation), e.notifySpy, H.suppressReactionErrors = !1;
4104
4010
  }
4105
- function cr(e) {
4106
- var t = V.allowStateChanges;
4107
- return V.allowStateChanges = e, t;
4011
+ function Un(e) {
4012
+ var t = H.allowStateChanges;
4013
+ return H.allowStateChanges = e, t;
4108
4014
  }
4109
- function lr(e) {
4110
- V.allowStateChanges = e;
4015
+ function Wn(e) {
4016
+ H.allowStateChanges = e;
4111
4017
  }
4112
- var ur = function(e) {
4113
- pn(t, e);
4018
+ var Gn = function(e) {
4019
+ qt(t, e);
4114
4020
  function t(t, n, r, i, a) {
4115
- r === void 0 && (r = "ObservableValue@" + j()), i === void 0 && (i = !0), a === void 0 && (a = dn.default);
4021
+ r === void 0 && (r = "ObservableValue@" + M()), i === void 0 && (i = !0), a === void 0 && (a = Gt.default);
4116
4022
  var o = e.call(this, r) || this;
4117
4023
  return o.enhancer = n, o.name = r, o.equals = a, o.hasUnreportedChange = !1, o.value = n(t, void 0, r), o;
4118
4024
  }
4119
4025
  return t.prototype.dehanceValue = function(e) {
4120
4026
  return this.dehancer === void 0 ? e : this.dehancer(e);
4121
4027
  }, t.prototype.set = function(e) {
4122
- this.value, e = this.prepareNewValue(e), e !== V.UNCHANGED && this.setNewValue(e);
4028
+ this.value, e = this.prepareNewValue(e), e !== H.UNCHANGED && this.setNewValue(e);
4123
4029
  }, t.prototype.prepareNewValue = function(e) {
4124
- if (Kn(this), q(this)) {
4030
+ if (Dn(this), q(this)) {
4125
4031
  var t = J(this, {
4126
4032
  object: this,
4127
4033
  type: "update",
4128
4034
  newValue: e
4129
4035
  });
4130
- if (!t) return V.UNCHANGED;
4036
+ if (!t) return H.UNCHANGED;
4131
4037
  e = t.newValue;
4132
4038
  }
4133
- return e = this.enhancer(e, this.value, this.name), this.equals(this.value, e) ? V.UNCHANGED : e;
4039
+ return e = this.enhancer(e, this.value, this.name), this.equals(this.value, e) ? H.UNCHANGED : e;
4134
4040
  }, t.prototype.setNewValue = function(e) {
4135
4041
  var t = this.value;
4136
4042
  this.value = e, this.reportChanged(), Y(this) && X(this, {
@@ -4142,29 +4048,29 @@ var ur = function(e) {
4142
4048
  }, t.prototype.get = function() {
4143
4049
  return this.reportObserved(), this.dehanceValue(this.value);
4144
4050
  }, t.prototype.intercept = function(e) {
4145
- return vi(this, e);
4051
+ return ei(this, e);
4146
4052
  }, t.prototype.observe = function(e, t) {
4147
4053
  return t && e({
4148
4054
  object: this,
4149
4055
  type: "update",
4150
4056
  newValue: this.value,
4151
4057
  oldValue: void 0
4152
- }), yi(this, e);
4058
+ }), ti(this, e);
4153
4059
  }, t.prototype.toJSON = function() {
4154
4060
  return this.get();
4155
4061
  }, t.prototype.toString = function() {
4156
4062
  return this.name + "[" + this.value + "]";
4157
4063
  }, t.prototype.valueOf = function() {
4158
- return tn(this.get());
4064
+ return It(this.get());
4159
4065
  }, t.prototype[Symbol.toPrimitive] = function() {
4160
4066
  return this.valueOf();
4161
4067
  }, t;
4162
- }(rn), dr = N("ObservableValue", ur), fr = function() {
4068
+ }(Rt), Kn = P("ObservableValue", Gn), qn = function() {
4163
4069
  function e(e) {
4164
- this.dependenciesState = R.NOT_TRACKING, this.observing = [], this.newObserving = null, this.isBeingObserved = !1, this.isPendingUnobservation = !1, this.observers = /* @__PURE__ */ new Set(), this.diffValue = 0, this.runId = 0, this.lastAccessedBy = 0, this.lowestObserverState = R.UP_TO_DATE, this.unboundDepsCount = 0, this.__mapid = "#" + j(), this.value = new Un(null), this.isComputing = !1, this.isRunningSetter = !1, this.isTracing = z.NONE, Ht(e.get, "missing option for computed: get"), this.derivation = e.get, this.name = e.name || "ComputedValue@" + j(), e.set && (this.setter = ir(this.name + "-setter", e.set)), this.equals = e.equals || (e.compareStructural || e.struct ? dn.structural : dn.default), this.scope = e.context, this.requiresReaction = !!e.requiresReaction, this.keepAlive = !!e.keepAlive;
4070
+ this.dependenciesState = z.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 = z.UP_TO_DATE, this.unboundDepsCount = 0, this.__mapid = "#" + M(), this.value = new wn(null), this.isComputing = !1, this.isRunningSetter = !1, this.isTracing = B.NONE, Ct(e.get, "missing option for computed: get"), this.derivation = e.get, this.name = e.name || "ComputedValue@" + M(), e.set && (this.setter = zn(this.name + "-setter", e.set)), this.equals = e.equals || (e.compareStructural || e.struct ? Gt.structural : Gt.default), this.scope = e.context, this.requiresReaction = !!e.requiresReaction, this.keepAlive = !!e.keepAlive;
4165
4071
  }
4166
4072
  return e.prototype.onBecomeStale = function() {
4167
- Er(this);
4073
+ sr(this);
4168
4074
  }, e.prototype.onBecomeObserved = function() {
4169
4075
  this.onBecomeObservedListeners && this.onBecomeObservedListeners.forEach(function(e) {
4170
4076
  return e();
@@ -4174,51 +4080,51 @@ var ur = function(e) {
4174
4080
  return e();
4175
4081
  });
4176
4082
  }, e.prototype.get = function() {
4177
- this.isComputing && M("Cycle detected in computation " + this.name + ": " + this.derivation), V.inBatch === 0 && this.observers.size === 0 && !this.keepAlive ? Gn(this) && (this.warnAboutUntrackedRead(), H(), this.value = this.computeValue(!1), U()) : (Cr(this), Gn(this) && this.trackAndCompute() && Tr(this));
4083
+ this.isComputing && N("Cycle detected in computation " + this.name + ": " + this.derivation), H.inBatch === 0 && this.observers.size === 0 && !this.keepAlive ? En(this) && (this.warnAboutUntrackedRead(), U(), this.value = this.computeValue(!1), W()) : (ir(this), En(this) && this.trackAndCompute() && or(this));
4178
4084
  var e = this.value;
4179
- if (Wn(e)) throw e.cause;
4085
+ if (Tn(e)) throw e.cause;
4180
4086
  return e;
4181
4087
  }, e.prototype.peek = function() {
4182
4088
  var e = this.computeValue(!1);
4183
- if (Wn(e)) throw e.cause;
4089
+ if (Tn(e)) throw e.cause;
4184
4090
  return e;
4185
4091
  }, e.prototype.set = function(e) {
4186
4092
  if (this.setter) {
4187
- Ht(!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;
4093
+ Ct(!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;
4188
4094
  try {
4189
4095
  this.setter.call(this.scope, e);
4190
4096
  } finally {
4191
4097
  this.isRunningSetter = !1;
4192
4098
  }
4193
- } else Ht(!1, !1);
4099
+ } else Ct(!1, !1);
4194
4100
  }, e.prototype.trackAndCompute = function() {
4195
- var e = this.value, t = this.dependenciesState === R.NOT_TRACKING, n = this.computeValue(!0), r = t || Wn(e) || Wn(n) || !this.equals(e, n);
4101
+ var e = this.value, t = this.dependenciesState === z.NOT_TRACKING, n = this.computeValue(!0), r = t || Tn(e) || Tn(n) || !this.equals(e, n);
4196
4102
  return r && (this.value = n), r;
4197
4103
  }, e.prototype.computeValue = function(e) {
4198
- this.isComputing = !0, V.computationDepth++;
4104
+ this.isComputing = !0, H.computationDepth++;
4199
4105
  var t;
4200
- if (e) t = qn(this, this.derivation, this.scope);
4201
- else if (V.disableErrorBoundaries === !0) t = this.derivation.call(this.scope);
4106
+ if (e) t = On(this, this.derivation, this.scope);
4107
+ else if (H.disableErrorBoundaries === !0) t = this.derivation.call(this.scope);
4202
4108
  else try {
4203
4109
  t = this.derivation.call(this.scope);
4204
4110
  } catch (e) {
4205
- t = new Un(e);
4111
+ t = new wn(e);
4206
4112
  }
4207
- return V.computationDepth--, this.isComputing = !1, t;
4113
+ return H.computationDepth--, this.isComputing = !1, t;
4208
4114
  }, e.prototype.suspend = function() {
4209
- this.keepAlive || (Yn(this), this.value = void 0);
4115
+ this.keepAlive || (An(this), this.value = void 0);
4210
4116
  }, e.prototype.observe = function(e, t) {
4211
4117
  var n = this, r = !0, i = void 0;
4212
- return Wr(function() {
4118
+ return Tr(function() {
4213
4119
  var a = n.get();
4214
4120
  if (!r || t) {
4215
- var o = Zn();
4121
+ var o = Mn();
4216
4122
  e({
4217
4123
  type: "update",
4218
4124
  object: n,
4219
4125
  newValue: a,
4220
4126
  oldValue: i
4221
- }), B(o);
4127
+ }), V(o);
4222
4128
  }
4223
4129
  r = !1, i = a;
4224
4130
  });
@@ -4227,97 +4133,97 @@ var ur = function(e) {
4227
4133
  }, e.prototype.toString = function() {
4228
4134
  return this.name + "[" + this.derivation.toString() + "]";
4229
4135
  }, e.prototype.valueOf = function() {
4230
- return tn(this.get());
4136
+ return It(this.get());
4231
4137
  }, e.prototype[Symbol.toPrimitive] = function() {
4232
4138
  return this.valueOf();
4233
4139
  }, e;
4234
- }(), pr = N("ComputedValue", fr), mr = function() {
4140
+ }(), Jn = P("ComputedValue", qn), Yn = function() {
4235
4141
  function e() {
4236
4142
  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;
4237
4143
  }
4238
4144
  return e;
4239
- }(), hr = {};
4240
- function gr() {
4241
- return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : hr;
4242
- }
4243
- var _r = !0, vr = !1, V = (function() {
4244
- var e = gr();
4245
- return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (_r = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new mr().version && (_r = !1), _r ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = new mr()) : (setTimeout(function() {
4246
- vr || M("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`");
4247
- }, 1), new mr());
4145
+ }(), Xn = {};
4146
+ function Zn() {
4147
+ return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : Xn;
4148
+ }
4149
+ var Qn = !0, $n = !1, H = (function() {
4150
+ var e = Zn();
4151
+ return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (Qn = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new Yn().version && (Qn = !1), Qn ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = new Yn()) : (setTimeout(function() {
4152
+ $n || N("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`");
4153
+ }, 1), new Yn());
4248
4154
  })();
4249
- function yr() {
4250
- (V.pendingReactions.length || V.inBatch || V.isRunningReactions) && M("isolateGlobalState should be called before MobX is running any reactions"), vr = !0, _r && (--gr().__mobxInstanceCount === 0 && (gr().__mobxGlobals = void 0), V = new mr());
4155
+ function er() {
4156
+ (H.pendingReactions.length || H.inBatch || H.isRunningReactions) && N("isolateGlobalState should be called before MobX is running any reactions"), $n = !0, Qn && (--Zn().__mobxInstanceCount === 0 && (Zn().__mobxGlobals = void 0), H = new Yn());
4251
4157
  }
4252
- function br(e, t) {
4158
+ function tr(e, t) {
4253
4159
  e.observers.add(t), e.lowestObserverState > t.dependenciesState && (e.lowestObserverState = t.dependenciesState);
4254
4160
  }
4255
- function xr(e, t) {
4256
- e.observers.delete(t), e.observers.size === 0 && Sr(e);
4257
- }
4258
- function Sr(e) {
4259
- e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, V.pendingUnobservations.push(e));
4161
+ function nr(e, t) {
4162
+ e.observers.delete(t), e.observers.size === 0 && rr(e);
4260
4163
  }
4261
- function H() {
4262
- V.inBatch++;
4164
+ function rr(e) {
4165
+ e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, H.pendingUnobservations.push(e));
4263
4166
  }
4264
4167
  function U() {
4265
- if (--V.inBatch === 0) {
4266
- Mr();
4267
- for (var e = V.pendingUnobservations, t = 0; t < e.length; t++) {
4168
+ H.inBatch++;
4169
+ }
4170
+ function W() {
4171
+ if (--H.inBatch === 0) {
4172
+ pr();
4173
+ for (var e = H.pendingUnobservations, t = 0; t < e.length; t++) {
4268
4174
  var n = e[t];
4269
- n.isPendingUnobservation = !1, n.observers.size === 0 && (n.isBeingObserved && (n.isBeingObserved = !1, n.onBecomeUnobserved()), n instanceof fr && n.suspend());
4175
+ n.isPendingUnobservation = !1, n.observers.size === 0 && (n.isBeingObserved && (n.isBeingObserved = !1, n.onBecomeUnobserved()), n instanceof qn && n.suspend());
4270
4176
  }
4271
- V.pendingUnobservations = [];
4177
+ H.pendingUnobservations = [];
4272
4178
  }
4273
4179
  }
4274
- function Cr(e) {
4275
- var t = V.trackingDerivation;
4276
- return t === null ? (e.observers.size === 0 && V.inBatch > 0 && Sr(e), !1) : (t.runId !== e.lastAccessedBy && (e.lastAccessedBy = t.runId, t.newObserving[t.unboundDepsCount++] = e, e.isBeingObserved || (e.isBeingObserved = !0, e.onBecomeObserved())), !0);
4180
+ function ir(e) {
4181
+ var t = H.trackingDerivation;
4182
+ return t === null ? (e.observers.size === 0 && H.inBatch > 0 && rr(e), !1) : (t.runId !== e.lastAccessedBy && (e.lastAccessedBy = t.runId, t.newObserving[t.unboundDepsCount++] = e, e.isBeingObserved || (e.isBeingObserved = !0, e.onBecomeObserved())), !0);
4277
4183
  }
4278
- function wr(e) {
4279
- e.lowestObserverState !== R.STALE && (e.lowestObserverState = R.STALE, e.observers.forEach(function(t) {
4280
- t.dependenciesState === R.UP_TO_DATE && (t.isTracing !== z.NONE && Dr(t, e), t.onBecomeStale()), t.dependenciesState = R.STALE;
4184
+ function ar(e) {
4185
+ e.lowestObserverState !== z.STALE && (e.lowestObserverState = z.STALE, e.observers.forEach(function(t) {
4186
+ t.dependenciesState === z.UP_TO_DATE && (t.isTracing !== B.NONE && cr(t, e), t.onBecomeStale()), t.dependenciesState = z.STALE;
4281
4187
  }));
4282
4188
  }
4283
- function Tr(e) {
4284
- e.lowestObserverState !== R.STALE && (e.lowestObserverState = R.STALE, e.observers.forEach(function(t) {
4285
- t.dependenciesState === R.POSSIBLY_STALE ? t.dependenciesState = R.STALE : t.dependenciesState === R.UP_TO_DATE && (e.lowestObserverState = R.UP_TO_DATE);
4189
+ function or(e) {
4190
+ e.lowestObserverState !== z.STALE && (e.lowestObserverState = z.STALE, e.observers.forEach(function(t) {
4191
+ t.dependenciesState === z.POSSIBLY_STALE ? t.dependenciesState = z.STALE : t.dependenciesState === z.UP_TO_DATE && (e.lowestObserverState = z.UP_TO_DATE);
4286
4192
  }));
4287
4193
  }
4288
- function Er(e) {
4289
- e.lowestObserverState === R.UP_TO_DATE && (e.lowestObserverState = R.POSSIBLY_STALE, e.observers.forEach(function(t) {
4290
- t.dependenciesState === R.UP_TO_DATE && (t.dependenciesState = R.POSSIBLY_STALE, t.isTracing !== z.NONE && Dr(t, e), t.onBecomeStale());
4194
+ function sr(e) {
4195
+ e.lowestObserverState === z.UP_TO_DATE && (e.lowestObserverState = z.POSSIBLY_STALE, e.observers.forEach(function(t) {
4196
+ t.dependenciesState === z.UP_TO_DATE && (t.dependenciesState = z.POSSIBLY_STALE, t.isTracing !== B.NONE && cr(t, e), t.onBecomeStale());
4291
4197
  }));
4292
4198
  }
4293
- function Dr(e, t) {
4294
- if (console.log("[mobx.trace] '" + e.name + "' is invalidated due to a change in: '" + t.name + "'"), e.isTracing === z.BREAK) {
4199
+ function cr(e, t) {
4200
+ if (console.log("[mobx.trace] '" + e.name + "' is invalidated due to a change in: '" + t.name + "'"), e.isTracing === B.BREAK) {
4295
4201
  var n = [];
4296
- Or(ni(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 fr ? e.derivation.toString().replace(/[*]\//g, "/") : "") + "\n\nThe dependencies for this derivation are:\n\n" + n.join("\n") + "\n*/\n ")();
4202
+ lr(Lr(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 qn ? e.derivation.toString().replace(/[*]\//g, "/") : "") + "\n\nThe dependencies for this derivation are:\n\n" + n.join("\n") + "\n*/\n ")();
4297
4203
  }
4298
4204
  }
4299
- function Or(e, t, n) {
4205
+ function lr(e, t, n) {
4300
4206
  if (t.length >= 1e3) {
4301
4207
  t.push("(and many more)");
4302
4208
  return;
4303
4209
  }
4304
4210
  t.push("" + Array(n).join(" ") + e.name), e.dependencies && e.dependencies.forEach(function(e) {
4305
- return Or(e, t, n + 1);
4211
+ return lr(e, t, n + 1);
4306
4212
  });
4307
4213
  }
4308
- var kr = function() {
4214
+ var ur = function() {
4309
4215
  function e(e, t, n, r) {
4310
- e === void 0 && (e = "Reaction@" + j()), r === void 0 && (r = !1), this.name = e, this.onInvalidate = t, this.errorHandler = n, this.requiresObservable = r, this.observing = [], this.newObserving = [], this.dependenciesState = R.NOT_TRACKING, this.diffValue = 0, this.runId = 0, this.unboundDepsCount = 0, this.__mapid = "#" + j(), this.isDisposed = !1, this._isScheduled = !1, this._isTrackPending = !1, this._isRunning = !1, this.isTracing = z.NONE;
4216
+ e === void 0 && (e = "Reaction@" + M()), r === void 0 && (r = !1), this.name = e, this.onInvalidate = t, this.errorHandler = n, this.requiresObservable = r, this.observing = [], this.newObserving = [], this.dependenciesState = z.NOT_TRACKING, this.diffValue = 0, this.runId = 0, this.unboundDepsCount = 0, this.__mapid = "#" + M(), this.isDisposed = !1, this._isScheduled = !1, this._isTrackPending = !1, this._isRunning = !1, this.isTracing = B.NONE;
4311
4217
  }
4312
4218
  return e.prototype.onBecomeStale = function() {
4313
4219
  this.schedule();
4314
4220
  }, e.prototype.schedule = function() {
4315
- this._isScheduled || (this._isScheduled = !0, V.pendingReactions.push(this), Mr());
4221
+ this._isScheduled || (this._isScheduled = !0, H.pendingReactions.push(this), pr());
4316
4222
  }, e.prototype.isScheduled = function() {
4317
4223
  return this._isScheduled;
4318
4224
  }, e.prototype.runReaction = function() {
4319
4225
  if (!this.isDisposed) {
4320
- if (H(), this._isScheduled = !1, Gn(this)) {
4226
+ if (U(), this._isScheduled = !1, En(this)) {
4321
4227
  this._isTrackPending = !0;
4322
4228
  try {
4323
4229
  this.onInvalidate(), this._isTrackPending;
@@ -4325,13 +4231,13 @@ var kr = function() {
4325
4231
  this.reportExceptionInDerivation(e);
4326
4232
  }
4327
4233
  }
4328
- U();
4234
+ W();
4329
4235
  }
4330
4236
  }, e.prototype.track = function(e) {
4331
4237
  if (!this.isDisposed) {
4332
- H(), this._isRunning = !0;
4333
- var t = qn(this, e, void 0);
4334
- this._isRunning = !1, this._isTrackPending = !1, this.isDisposed && Yn(this), Wn(t) && this.reportExceptionInDerivation(t.cause), U();
4238
+ U(), this._isRunning = !0;
4239
+ var t = On(this, e, void 0);
4240
+ this._isRunning = !1, this._isTrackPending = !1, this.isDisposed && An(this), Tn(t) && this.reportExceptionInDerivation(t.cause), W();
4335
4241
  }
4336
4242
  }, e.prototype.reportExceptionInDerivation = function(e) {
4337
4243
  var t = this;
@@ -4339,58 +4245,58 @@ var kr = function() {
4339
4245
  this.errorHandler(e, this);
4340
4246
  return;
4341
4247
  }
4342
- if (V.disableErrorBoundaries) throw e;
4248
+ if (H.disableErrorBoundaries) throw e;
4343
4249
  var n = "[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '" + this + "'";
4344
- V.suppressReactionErrors ? console.warn("[mobx] (error in reaction '" + this.name + "' suppressed, fix error of causing action below)") : console.error(n, e), W() && (this.name, "" + e), V.globalReactionErrorHandlers.forEach(function(n) {
4250
+ H.suppressReactionErrors ? console.warn("[mobx] (error in reaction '" + this.name + "' suppressed, fix error of causing action below)") : console.error(n, e), G() && (this.name, "" + e), H.globalReactionErrorHandlers.forEach(function(n) {
4345
4251
  return n(e, t);
4346
4252
  });
4347
4253
  }, e.prototype.dispose = function() {
4348
- this.isDisposed || (this.isDisposed = !0, this._isRunning || (H(), Yn(this), U()));
4254
+ this.isDisposed || (this.isDisposed = !0, this._isRunning || (U(), An(this), W()));
4349
4255
  }, e.prototype.getDisposer = function() {
4350
4256
  var e = this.dispose.bind(this);
4351
- return e[F] = this, e;
4257
+ return e[I] = this, e;
4352
4258
  }, e.prototype.toString = function() {
4353
4259
  return "Reaction[" + this.name + "]";
4354
4260
  }, e.prototype.trace = function(e) {
4355
- e === void 0 && (e = !1), fi(this, e);
4261
+ e === void 0 && (e = !1), Jr(this, e);
4356
4262
  }, e;
4357
- }(), Ar = 100, jr = function(e) {
4263
+ }(), dr = 100, fr = function(e) {
4358
4264
  return e();
4359
4265
  };
4360
- function Mr() {
4361
- V.inBatch > 0 || V.isRunningReactions || jr(Nr);
4266
+ function pr() {
4267
+ H.inBatch > 0 || H.isRunningReactions || fr(mr);
4362
4268
  }
4363
- function Nr() {
4364
- V.isRunningReactions = !0;
4365
- for (var e = V.pendingReactions, t = 0; e.length > 0;) {
4366
- ++t === Ar && (console.error("Reaction doesn't converge to a stable state after " + Ar + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0])), e.splice(0));
4269
+ function mr() {
4270
+ H.isRunningReactions = !0;
4271
+ for (var e = H.pendingReactions, t = 0; e.length > 0;) {
4272
+ ++t === dr && (console.error("Reaction doesn't converge to a stable state after " + dr + " iterations." + (" Probably there is a cycle in the reactive function: " + e[0])), e.splice(0));
4367
4273
  for (var n = e.splice(0), r = 0, i = n.length; r < i; r++) n[r].runReaction();
4368
4274
  }
4369
- V.isRunningReactions = !1;
4275
+ H.isRunningReactions = !1;
4370
4276
  }
4371
- var Pr = N("Reaction", kr);
4372
- function Fr(e) {
4373
- var t = jr;
4374
- jr = function(n) {
4277
+ var hr = P("Reaction", ur);
4278
+ function gr(e) {
4279
+ var t = fr;
4280
+ fr = function(n) {
4375
4281
  return e(function() {
4376
4282
  return t(n);
4377
4283
  });
4378
4284
  };
4379
4285
  }
4380
- function W() {
4286
+ function G() {
4381
4287
  return !1;
4382
4288
  }
4383
- function Ir(e) {
4289
+ function _r(e) {
4384
4290
  return console.warn("[mobx.spy] Is a no-op in production builds"), function() {};
4385
4291
  }
4386
- function Lr() {
4387
- M(!1);
4292
+ function vr() {
4293
+ N(!1);
4388
4294
  }
4389
- function Rr(e) {
4295
+ function yr(e) {
4390
4296
  return function(t, n, r) {
4391
4297
  if (r) {
4392
4298
  if (r.value) return {
4393
- value: ir(e, r.value),
4299
+ value: zn(e, r.value),
4394
4300
  enumerable: !1,
4395
4301
  configurable: !0,
4396
4302
  writable: !0
@@ -4401,65 +4307,65 @@ function Rr(e) {
4401
4307
  configurable: !0,
4402
4308
  writable: !0,
4403
4309
  initializer: function() {
4404
- return ir(e, i.call(this));
4310
+ return zn(e, i.call(this));
4405
4311
  }
4406
4312
  };
4407
4313
  }
4408
- return zr(e).apply(this, arguments);
4314
+ return br(e).apply(this, arguments);
4409
4315
  };
4410
4316
  }
4411
- function zr(e) {
4317
+ function br(e) {
4412
4318
  return function(t, n, r) {
4413
4319
  Object.defineProperty(t, n, {
4414
4320
  configurable: !0,
4415
4321
  enumerable: !1,
4416
4322
  get: function() {},
4417
4323
  set: function(t) {
4418
- Yt(this, n, Vr(e, t));
4324
+ At(this, n, Sr(e, t));
4419
4325
  }
4420
4326
  });
4421
4327
  };
4422
4328
  }
4423
- function Br(e, t, n, r) {
4424
- return r === !0 ? (Ur(e, t, n.value), null) : n ? {
4329
+ function xr(e, t, n, r) {
4330
+ return r === !0 ? (wr(e, t, n.value), null) : n ? {
4425
4331
  configurable: !0,
4426
4332
  enumerable: !1,
4427
4333
  get: function() {
4428
- return Ur(this, t, n.value || n.initializer.call(this)), this[t];
4334
+ return wr(this, t, n.value || n.initializer.call(this)), this[t];
4429
4335
  },
4430
- set: Lr
4336
+ set: vr
4431
4337
  } : {
4432
4338
  enumerable: !1,
4433
4339
  configurable: !0,
4434
4340
  set: function(e) {
4435
- Ur(this, t, e);
4341
+ wr(this, t, e);
4436
4342
  },
4437
4343
  get: function() {}
4438
4344
  };
4439
4345
  }
4440
- var Vr = function(e, t, n, r) {
4441
- if (arguments.length === 1 && typeof e == "function") return ir(e.name || "<unnamed action>", e);
4442
- if (arguments.length === 2 && typeof t == "function") return ir(e, t);
4443
- if (arguments.length === 1 && typeof e == "string") return Rr(e);
4444
- if (r === !0) Yt(e, t, ir(e.name || t, n.value, this));
4445
- else return Rr(t).apply(null, arguments);
4346
+ var Sr = function(e, t, n, r) {
4347
+ if (arguments.length === 1 && typeof e == "function") return zn(e.name || "<unnamed action>", e);
4348
+ if (arguments.length === 2 && typeof t == "function") return zn(e, t);
4349
+ if (arguments.length === 1 && typeof e == "string") return yr(e);
4350
+ if (r === !0) At(e, t, zn(e.name || t, n.value, this));
4351
+ else return yr(t).apply(null, arguments);
4446
4352
  };
4447
- Vr.bound = Br;
4448
- function Hr(e, t) {
4449
- return ar(typeof e == "string" ? e : e.name || "<unnamed action>", typeof e == "function" ? e : t, this, void 0);
4353
+ Sr.bound = xr;
4354
+ function Cr(e, t) {
4355
+ return Bn(typeof e == "string" ? e : e.name || "<unnamed action>", typeof e == "function" ? e : t, this, void 0);
4450
4356
  }
4451
- function Ur(e, t, n) {
4452
- Yt(e, t, ir(t, n.bind(e)));
4357
+ function wr(e, t, n) {
4358
+ At(e, t, zn(t, n.bind(e)));
4453
4359
  }
4454
- function Wr(e, t) {
4455
- t === void 0 && (t = Vt);
4456
- var n = t && t.name || e.name || "Autorun@" + j(), r = !t.scheduler && !t.delay, i;
4457
- if (r) i = new kr(n, function() {
4360
+ function Tr(e, t) {
4361
+ t === void 0 && (t = St);
4362
+ var n = t && t.name || e.name || "Autorun@" + M(), r = !t.scheduler && !t.delay, i;
4363
+ if (r) i = new ur(n, function() {
4458
4364
  this.track(s);
4459
4365
  }, t.onError, t.requiresObservable);
4460
4366
  else {
4461
- var a = Kr(t), o = !1;
4462
- i = new kr(n, function() {
4367
+ var a = Dr(t), o = !1;
4368
+ i = new ur(n, function() {
4463
4369
  o || (o = !0, a(function() {
4464
4370
  o = !1, i.isDisposed || i.track(s);
4465
4371
  }));
@@ -4470,17 +4376,17 @@ function Wr(e, t) {
4470
4376
  }
4471
4377
  return i.schedule(), i.getDisposer();
4472
4378
  }
4473
- var Gr = function(e) {
4379
+ var Er = function(e) {
4474
4380
  return e();
4475
4381
  };
4476
- function Kr(e) {
4382
+ function Dr(e) {
4477
4383
  return e.scheduler ? e.scheduler : e.delay ? function(t) {
4478
4384
  return setTimeout(t, e.delay);
4479
- } : Gr;
4385
+ } : Er;
4480
4386
  }
4481
- function qr(e, t, n) {
4482
- n === void 0 && (n = Vt);
4483
- var r = n.name || "Reaction@" + j(), i = Vr(r, n.onError ? Jr(n.onError, t) : t), a = !n.scheduler && !n.delay, o = Kr(n), s = !0, c = !1, l, u = n.compareStructural ? dn.structural : n.equals || dn.default, d = new kr(r, function() {
4387
+ function Or(e, t, n) {
4388
+ n === void 0 && (n = St);
4389
+ var r = n.name || "Reaction@" + M(), i = Sr(r, n.onError ? kr(n.onError, t) : t), a = !n.scheduler && !n.delay, o = Dr(n), s = !0, c = !1, l, u = n.compareStructural ? Gt.structural : n.equals || Gt.default, d = new ur(r, function() {
4484
4390
  s || a ? f() : c || (c = !0, o(f));
4485
4391
  }, n.onError, n.requiresObservable);
4486
4392
  function f() {
@@ -4494,7 +4400,7 @@ function qr(e, t, n) {
4494
4400
  }
4495
4401
  return d.schedule(), d.getDisposer();
4496
4402
  }
4497
- function Jr(e, t) {
4403
+ function kr(e, t) {
4498
4404
  return function() {
4499
4405
  try {
4500
4406
  return t.apply(this, arguments);
@@ -4503,22 +4409,22 @@ function Jr(e, t) {
4503
4409
  }
4504
4410
  };
4505
4411
  }
4506
- function Yr(e, t, n) {
4507
- return Zr("onBecomeObserved", e, t, n);
4412
+ function Ar(e, t, n) {
4413
+ return Mr("onBecomeObserved", e, t, n);
4508
4414
  }
4509
- function Xr(e, t, n) {
4510
- return Zr("onBecomeUnobserved", e, t, n);
4415
+ function jr(e, t, n) {
4416
+ return Mr("onBecomeUnobserved", e, t, n);
4511
4417
  }
4512
- function Zr(e, t, n, r) {
4513
- var i = typeof r == "function" ? Vi(t, n) : Vi(t), a = typeof r == "function" ? r : n, o = e + "Listeners";
4418
+ function Mr(e, t, n, r) {
4419
+ var i = typeof r == "function" ? Ci(t, n) : Ci(t), a = typeof r == "function" ? r : n, o = e + "Listeners";
4514
4420
  return i[o] ? i[o].add(a) : i[o] = new Set([a]), typeof i[e] == "function" ? function() {
4515
4421
  var e = i[o];
4516
4422
  e && (e.delete(a), e.size === 0 && delete i[o]);
4517
- } : M(!1);
4423
+ } : N(!1);
4518
4424
  }
4519
- function Qr(e) {
4425
+ function Nr(e) {
4520
4426
  var t = e.enforceActions, n = e.computedRequiresReaction, r = e.computedConfigurable, i = e.disableErrorBoundaries, a = e.reactionScheduler, o = e.reactionRequiresObservable, s = e.observableRequiresReaction;
4521
- if (e.isolateGlobalState === !0 && yr(), t !== void 0) {
4427
+ if (e.isolateGlobalState === !0 && er(), t !== void 0) {
4522
4428
  var c = void 0;
4523
4429
  switch (t) {
4524
4430
  case !0:
@@ -4533,29 +4439,29 @@ function Qr(e) {
4533
4439
  case "always":
4534
4440
  c = "strict";
4535
4441
  break;
4536
- default: M("Invalid value for 'enforceActions': '" + t + "', expected 'never', 'always' or 'observed'");
4442
+ default: N("Invalid value for 'enforceActions': '" + t + "', expected 'never', 'always' or 'observed'");
4537
4443
  }
4538
- V.enforceActions = c, V.allowStateChanges = !(c === !0 || c === "strict");
4444
+ H.enforceActions = c, H.allowStateChanges = !(c === !0 || c === "strict");
4539
4445
  }
4540
- n !== void 0 && (V.computedRequiresReaction = !!n), o !== void 0 && (V.reactionRequiresObservable = !!o), s !== void 0 && (V.observableRequiresReaction = !!s, V.allowStateReads = !V.observableRequiresReaction), r !== void 0 && (V.computedConfigurable = !!r), i !== void 0 && (i === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), V.disableErrorBoundaries = !!i), a && Fr(a);
4446
+ n !== void 0 && (H.computedRequiresReaction = !!n), o !== void 0 && (H.reactionRequiresObservable = !!o), s !== void 0 && (H.observableRequiresReaction = !!s, H.allowStateReads = !H.observableRequiresReaction), r !== void 0 && (H.computedConfigurable = !!r), i !== void 0 && (i === !0 && console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."), H.disableErrorBoundaries = !!i), a && gr(a);
4541
4447
  }
4542
- function $r(e, t, n, r) {
4543
- r = jn(r);
4544
- var i = ei(r);
4545
- return Sn(e), Ni(e, r.name, i.enhancer), t && ti(e, t, n, i), e;
4448
+ function Pr(e, t, n, r) {
4449
+ r = fn(r);
4450
+ var i = Fr(r);
4451
+ return nn(e), hi(e, r.name, i.enhancer), t && Ir(e, t, n, i), e;
4546
4452
  }
4547
- function ei(e) {
4548
- return e.defaultDecorator || (e.deep === !1 ? Pn : Mn);
4453
+ function Fr(e) {
4454
+ return e.defaultDecorator || (e.deep === !1 ? hn : pn);
4549
4455
  }
4550
- function ti(e, t, n, r) {
4456
+ function Ir(e, t, n, r) {
4551
4457
  var i, a;
4552
4458
  if (0) var o, s;
4553
- H();
4459
+ U();
4554
4460
  try {
4555
- var o = nn(t);
4461
+ var o = Lt(t);
4556
4462
  try {
4557
- for (var c = I(o), l = c.next(); !l.done; l = c.next()) {
4558
- var s = l.value, u = Object.getOwnPropertyDescriptor(t, s), d = (n && s in n ? n[s] : u.get ? Bn : r)(e, s, u, !0);
4463
+ for (var c = L(o), l = c.next(); !l.done; l = c.next()) {
4464
+ var s = l.value, u = Object.getOwnPropertyDescriptor(t, s), d = (n && s in n ? n[s] : u.get ? xn : r)(e, s, u, !0);
4559
4465
  d && Object.defineProperty(e, s, d);
4560
4466
  }
4561
4467
  } catch (e) {
@@ -4568,226 +4474,226 @@ function ti(e, t, n, r) {
4568
4474
  }
4569
4475
  }
4570
4476
  } finally {
4571
- U();
4477
+ W();
4572
4478
  }
4573
4479
  }
4574
- function ni(e, t) {
4575
- return ri(Vi(e, t));
4480
+ function Lr(e, t) {
4481
+ return Rr(Ci(e, t));
4576
4482
  }
4577
- function ri(e) {
4483
+ function Rr(e) {
4578
4484
  var t = { name: e.name };
4579
- return e.observing && e.observing.length > 0 && (t.dependencies = Gt(e.observing).map(ri)), t;
4485
+ return e.observing && e.observing.length > 0 && (t.dependencies = Et(e.observing).map(Rr)), t;
4580
4486
  }
4581
- function ii() {
4487
+ function zr() {
4582
4488
  this.message = "FLOW_CANCELLED";
4583
4489
  }
4584
- ii.prototype = Object.create(Error.prototype);
4585
- function ai(e, t) {
4586
- return e == null ? !1 : t === void 0 ? Bi(e) || !!e[F] || an(e) || Pr(e) || pr(e) : Bi(e) ? e[F].values.has(t) : !1;
4490
+ zr.prototype = Object.create(Error.prototype);
4491
+ function Br(e, t) {
4492
+ return e == null ? !1 : t === void 0 ? Si(e) || !!e[I] || zt(e) || hr(e) || Jn(e) : Si(e) ? e[I].values.has(t) : !1;
4587
4493
  }
4588
- function oi(e) {
4589
- return arguments.length !== 1 && M(!1), ai(e);
4494
+ function Vr(e) {
4495
+ return arguments.length !== 1 && N(!1), Br(e);
4590
4496
  }
4591
- function si(e) {
4592
- return Bi(e) ? e[F].getKeys() : Q(e) || $(e) ? Array.from(e.keys()) : Ti(e) ? e.map(function(e, t) {
4497
+ function Hr(e) {
4498
+ return Si(e) ? e[I].getKeys() : Q(e) || $(e) ? Array.from(e.keys()) : si(e) ? e.map(function(e, t) {
4593
4499
  return t;
4594
- }) : M(!1);
4500
+ }) : N(!1);
4595
4501
  }
4596
- function ci(e, t, n) {
4502
+ function Ur(e, t, n) {
4597
4503
  if (arguments.length === 2 && !$(e)) {
4598
- H();
4504
+ U();
4599
4505
  var r = t;
4600
4506
  try {
4601
- for (var i in r) ci(e, i, r[i]);
4507
+ for (var i in r) Ur(e, i, r[i]);
4602
4508
  } finally {
4603
- U();
4509
+ W();
4604
4510
  }
4605
4511
  return;
4606
4512
  }
4607
- if (Bi(e)) {
4608
- var a = e[F];
4513
+ if (Si(e)) {
4514
+ var a = e[I];
4609
4515
  a.values.get(t) ? a.write(t, n) : a.addObservableProp(t, n, a.defaultEnhancer);
4610
4516
  } else if (Q(e)) e.set(t, n);
4611
4517
  else if ($(e)) e.add(t);
4612
- else if (Ti(e)) typeof t != "number" && (t = parseInt(t, 10)), Ht(t >= 0, "Not a valid index: '" + t + "'"), H(), t >= e.length && (e.length = t + 1), e[t] = n, U();
4613
- else return M(!1);
4518
+ else if (si(e)) typeof t != "number" && (t = parseInt(t, 10)), Ct(t >= 0, "Not a valid index: '" + t + "'"), U(), t >= e.length && (e.length = t + 1), e[t] = n, W();
4519
+ else return N(!1);
4614
4520
  }
4615
- var li = {
4521
+ var Wr = {
4616
4522
  detectCycles: !0,
4617
4523
  exportMapsAsObjects: !0,
4618
4524
  recurseEverything: !1
4619
4525
  };
4620
- function ui(e, t, n, r) {
4526
+ function Gr(e, t, n, r) {
4621
4527
  return r.detectCycles && e.set(t, n), n;
4622
4528
  }
4623
- function G(e, t, n) {
4624
- if (!t.recurseEverything && !oi(e) || typeof e != "object") return e;
4529
+ function Kr(e, t, n) {
4530
+ if (!t.recurseEverything && !Vr(e) || typeof e != "object") return e;
4625
4531
  if (e === null) return null;
4626
4532
  if (e instanceof Date) return e;
4627
- if (dr(e)) return G(e.get(), t, n);
4628
- if (oi(e) && si(e), t.detectCycles === !0 && e !== null && n.has(e)) return n.get(e);
4629
- if (Ti(e) || Array.isArray(e)) {
4630
- var r = ui(n, e, [], t), i = e.map(function(e) {
4631
- return G(e, t, n);
4533
+ if (Kn(e)) return Kr(e.get(), t, n);
4534
+ if (Vr(e) && Hr(e), t.detectCycles === !0 && e !== null && n.has(e)) return n.get(e);
4535
+ if (si(e) || Array.isArray(e)) {
4536
+ var r = Gr(n, e, [], t), i = e.map(function(e) {
4537
+ return Kr(e, t, n);
4632
4538
  });
4633
4539
  r.length = i.length;
4634
4540
  for (var a = 0, o = i.length; a < o; a++) r[a] = i[a];
4635
4541
  return r;
4636
4542
  }
4637
4543
  if ($(e) || Object.getPrototypeOf(e) === Set.prototype) if (t.exportMapsAsObjects === !1) {
4638
- var s = ui(n, e, /* @__PURE__ */ new Set(), t);
4544
+ var s = Gr(n, e, /* @__PURE__ */ new Set(), t);
4639
4545
  return e.forEach(function(e) {
4640
- s.add(G(e, t, n));
4546
+ s.add(Kr(e, t, n));
4641
4547
  }), s;
4642
4548
  } else {
4643
- var c = ui(n, e, [], t);
4549
+ var c = Gr(n, e, [], t);
4644
4550
  return e.forEach(function(e) {
4645
- c.push(G(e, t, n));
4551
+ c.push(Kr(e, t, n));
4646
4552
  }), c;
4647
4553
  }
4648
4554
  if (Q(e) || Object.getPrototypeOf(e) === Map.prototype) if (t.exportMapsAsObjects === !1) {
4649
- var l = ui(n, e, /* @__PURE__ */ new Map(), t);
4555
+ var l = Gr(n, e, /* @__PURE__ */ new Map(), t);
4650
4556
  return e.forEach(function(e, r) {
4651
- l.set(r, G(e, t, n));
4557
+ l.set(r, Kr(e, t, n));
4652
4558
  }), l;
4653
4559
  } else {
4654
- var u = ui(n, e, {}, t);
4560
+ var u = Gr(n, e, {}, t);
4655
4561
  return e.forEach(function(e, r) {
4656
- u[r] = G(e, t, n);
4562
+ u[r] = Kr(e, t, n);
4657
4563
  }), u;
4658
4564
  }
4659
- var d = ui(n, e, {}, t);
4660
- return en(e).forEach(function(r) {
4661
- d[r] = G(e[r], t, n);
4565
+ var d = Gr(n, e, {}, t);
4566
+ return Ft(e).forEach(function(r) {
4567
+ d[r] = Kr(e[r], t, n);
4662
4568
  }), d;
4663
4569
  }
4664
- function di(e, t) {
4665
- typeof t == "boolean" && (t = { detectCycles: t }), t || (t = li), t.detectCycles = t.detectCycles === void 0 ? t.recurseEverything === !0 : t.detectCycles === !0;
4570
+ function qr(e, t) {
4571
+ typeof t == "boolean" && (t = { detectCycles: t }), t || (t = Wr), t.detectCycles = t.detectCycles === void 0 ? t.recurseEverything === !0 : t.detectCycles === !0;
4666
4572
  var n;
4667
- return t.detectCycles && (n = /* @__PURE__ */ new Map()), G(e, t, n);
4573
+ return t.detectCycles && (n = /* @__PURE__ */ new Map()), Kr(e, t, n);
4668
4574
  }
4669
- function fi() {
4575
+ function Jr() {
4670
4576
  var e = [...arguments], t = !1;
4671
4577
  typeof e[e.length - 1] == "boolean" && (t = e.pop());
4672
- var n = pi(e);
4673
- if (!n) return M(!1);
4674
- n.isTracing === z.NONE && console.log("[mobx.trace] '" + n.name + "' tracing enabled"), n.isTracing = t ? z.BREAK : z.LOG;
4578
+ var n = Yr(e);
4579
+ if (!n) return N(!1);
4580
+ n.isTracing === B.NONE && console.log("[mobx.trace] '" + n.name + "' tracing enabled"), n.isTracing = t ? B.BREAK : B.LOG;
4675
4581
  }
4676
- function pi(e) {
4582
+ function Yr(e) {
4677
4583
  switch (e.length) {
4678
- case 0: return V.trackingDerivation;
4679
- case 1: return Vi(e[0]);
4680
- case 2: return Vi(e[0], e[1]);
4584
+ case 0: return H.trackingDerivation;
4585
+ case 1: return Ci(e[0]);
4586
+ case 2: return Ci(e[0], e[1]);
4681
4587
  }
4682
4588
  }
4683
4589
  function K(e, t) {
4684
- t === void 0 && (t = void 0), H();
4590
+ t === void 0 && (t = void 0), U();
4685
4591
  try {
4686
4592
  return e.apply(t);
4687
4593
  } finally {
4688
- U();
4594
+ W();
4689
4595
  }
4690
4596
  }
4691
- function mi(e) {
4692
- return e[F];
4597
+ function Xr(e) {
4598
+ return e[I];
4693
4599
  }
4694
- function hi(e) {
4600
+ function Zr(e) {
4695
4601
  return typeof e == "string" || typeof e == "number" || typeof e == "symbol";
4696
4602
  }
4697
- var gi = {
4603
+ var Qr = {
4698
4604
  has: function(e, t) {
4699
- if (t === F || t === "constructor" || t === _n) return !0;
4700
- var n = mi(e);
4701
- return hi(t) ? n.has(t) : t in e;
4605
+ if (t === I || t === "constructor" || t === Zt) return !0;
4606
+ var n = Xr(e);
4607
+ return Zr(t) ? n.has(t) : t in e;
4702
4608
  },
4703
4609
  get: function(e, t) {
4704
- if (t === F || t === "constructor" || t === _n) return e[t];
4705
- var n = mi(e), r = n.values.get(t);
4706
- if (r instanceof rn) {
4610
+ if (t === I || t === "constructor" || t === Zt) return e[t];
4611
+ var n = Xr(e), r = n.values.get(t);
4612
+ if (r instanceof Rt) {
4707
4613
  var i = r.get();
4708
4614
  return i === void 0 && n.has(t), i;
4709
4615
  }
4710
- return hi(t) && n.has(t), e[t];
4616
+ return Zr(t) && n.has(t), e[t];
4711
4617
  },
4712
4618
  set: function(e, t, n) {
4713
- return hi(t) ? (ci(e, t, n), !0) : !1;
4619
+ return Zr(t) ? (Ur(e, t, n), !0) : !1;
4714
4620
  },
4715
4621
  deleteProperty: function(e, t) {
4716
- return hi(t) ? (mi(e).remove(t), !0) : !1;
4622
+ return Zr(t) ? (Xr(e).remove(t), !0) : !1;
4717
4623
  },
4718
4624
  ownKeys: function(e) {
4719
- return mi(e).keysAtom.reportObserved(), Reflect.ownKeys(e);
4625
+ return Xr(e).keysAtom.reportObserved(), Reflect.ownKeys(e);
4720
4626
  },
4721
4627
  preventExtensions: function(e) {
4722
- return M("Dynamic observable objects cannot be frozen"), !1;
4628
+ return N("Dynamic observable objects cannot be frozen"), !1;
4723
4629
  }
4724
4630
  };
4725
- function _i(e) {
4726
- var t = new Proxy(e, gi);
4727
- return e[F].proxy = t, t;
4631
+ function $r(e) {
4632
+ var t = new Proxy(e, Qr);
4633
+ return e[I].proxy = t, t;
4728
4634
  }
4729
4635
  function q(e) {
4730
4636
  return e.interceptors !== void 0 && e.interceptors.length > 0;
4731
4637
  }
4732
- function vi(e, t) {
4638
+ function ei(e, t) {
4733
4639
  var n = e.interceptors || (e.interceptors = []);
4734
- return n.push(t), Ut(function() {
4640
+ return n.push(t), wt(function() {
4735
4641
  var e = n.indexOf(t);
4736
4642
  e !== -1 && n.splice(e, 1);
4737
4643
  });
4738
4644
  }
4739
4645
  function J(e, t) {
4740
- var n = Zn();
4646
+ var n = Mn();
4741
4647
  try {
4742
- for (var r = gn(e.interceptors || []), i = 0, a = r.length; i < a && (t = r[i](t), Ht(!t || t.type, "Intercept handlers should return nothing or a change object"), t); i++);
4648
+ for (var r = Xt(e.interceptors || []), i = 0, a = r.length; i < a && (t = r[i](t), Ct(!t || t.type, "Intercept handlers should return nothing or a change object"), t); i++);
4743
4649
  return t;
4744
4650
  } finally {
4745
- B(n);
4651
+ V(n);
4746
4652
  }
4747
4653
  }
4748
4654
  function Y(e) {
4749
4655
  return e.changeListeners !== void 0 && e.changeListeners.length > 0;
4750
4656
  }
4751
- function yi(e, t) {
4657
+ function ti(e, t) {
4752
4658
  var n = e.changeListeners || (e.changeListeners = []);
4753
- return n.push(t), Ut(function() {
4659
+ return n.push(t), wt(function() {
4754
4660
  var e = n.indexOf(t);
4755
4661
  e !== -1 && n.splice(e, 1);
4756
4662
  });
4757
4663
  }
4758
4664
  function X(e, t) {
4759
- var n = Zn(), r = e.changeListeners;
4665
+ var n = Mn(), r = e.changeListeners;
4760
4666
  if (r) {
4761
4667
  r = r.slice();
4762
4668
  for (var i = 0, a = r.length; i < a; i++) r[i](t);
4763
- B(n);
4669
+ V(n);
4764
4670
  }
4765
4671
  }
4766
- var bi = 1e4, xi = {
4672
+ var ni = 1e4, ri = {
4767
4673
  get: function(e, t) {
4768
- return t === F ? e[F] : t === "length" ? e[F].getArrayLength() : typeof t == "number" ? Z.get.call(e, t) : typeof t == "string" && !isNaN(t) ? Z.get.call(e, parseInt(t)) : Z.hasOwnProperty(t) ? Z[t] : e[t];
4674
+ return t === I ? e[I] : t === "length" ? e[I].getArrayLength() : typeof t == "number" ? Z.get.call(e, t) : typeof t == "string" && !isNaN(t) ? Z.get.call(e, parseInt(t)) : Z.hasOwnProperty(t) ? Z[t] : e[t];
4769
4675
  },
4770
4676
  set: function(e, t, n) {
4771
- return t === "length" && e[F].setArrayLength(n), typeof t == "number" && Z.set.call(e, t, n), typeof t == "symbol" || isNaN(t) ? e[t] = n : Z.set.call(e, parseInt(t), n), !0;
4677
+ return t === "length" && e[I].setArrayLength(n), typeof t == "number" && Z.set.call(e, t, n), typeof t == "symbol" || isNaN(t) ? e[t] = n : Z.set.call(e, parseInt(t), n), !0;
4772
4678
  },
4773
4679
  preventExtensions: function(e) {
4774
- return M("Observable arrays cannot be frozen"), !1;
4680
+ return N("Observable arrays cannot be frozen"), !1;
4775
4681
  }
4776
4682
  };
4777
- function Si(e, t, n, r) {
4778
- n === void 0 && (n = "ObservableArray@" + j()), r === void 0 && (r = !1);
4779
- var i = new Ci(n, t, r);
4780
- Xt(i.values, F, i);
4781
- var a = new Proxy(i.values, xi);
4683
+ function ii(e, t, n, r) {
4684
+ n === void 0 && (n = "ObservableArray@" + M()), r === void 0 && (r = !1);
4685
+ var i = new ai(n, t, r);
4686
+ jt(i.values, I, i);
4687
+ var a = new Proxy(i.values, ri);
4782
4688
  if (i.proxy = a, e && e.length) {
4783
- var o = cr(!0);
4784
- i.spliceWithArray(0, 0, e), lr(o);
4689
+ var o = Un(!0);
4690
+ i.spliceWithArray(0, 0, e), Wn(o);
4785
4691
  }
4786
4692
  return a;
4787
4693
  }
4788
- var Ci = function() {
4694
+ var ai = function() {
4789
4695
  function e(e, t, n) {
4790
- this.owned = n, this.values = [], this.proxy = void 0, this.lastKnownLength = 0, this.atom = new rn(e || "ObservableArray@" + j()), this.enhancer = function(n, r) {
4696
+ this.owned = n, this.values = [], this.proxy = void 0, this.lastKnownLength = 0, this.atom = new Rt(e || "ObservableArray@" + M()), this.enhancer = function(n, r) {
4791
4697
  return t(n, r, e + "[..]");
4792
4698
  };
4793
4699
  }
@@ -4796,7 +4702,7 @@ var Ci = function() {
4796
4702
  }, e.prototype.dehanceValues = function(e) {
4797
4703
  return this.dehancer !== void 0 && e.length > 0 ? e.map(this.dehancer) : e;
4798
4704
  }, e.prototype.intercept = function(e) {
4799
- return vi(this, e);
4705
+ return ei(this, e);
4800
4706
  }, e.prototype.observe = function(e, t) {
4801
4707
  return t === void 0 && (t = !1), t && e({
4802
4708
  object: this.proxy,
@@ -4806,7 +4712,7 @@ var Ci = function() {
4806
4712
  addedCount: this.values.length,
4807
4713
  removed: [],
4808
4714
  removedCount: 0
4809
- }), yi(this, e);
4715
+ }), ti(this, e);
4810
4716
  }, e.prototype.getArrayLength = function() {
4811
4717
  return this.atom.reportObserved(), this.values.length;
4812
4718
  }, e.prototype.setArrayLength = function(e) {
@@ -4821,9 +4727,9 @@ var Ci = function() {
4821
4727
  this.lastKnownLength += t;
4822
4728
  }, e.prototype.spliceWithArray = function(e, t, n) {
4823
4729
  var r = this;
4824
- Kn(this.atom);
4730
+ Dn(this.atom);
4825
4731
  var i = this.values.length;
4826
- 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 = Bt), q(this)) {
4732
+ 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 = xt), q(this)) {
4827
4733
  var a = J(this, {
4828
4734
  object: this.proxy,
4829
4735
  type: "splice",
@@ -4831,7 +4737,7 @@ var Ci = function() {
4831
4737
  removedCount: t,
4832
4738
  added: n
4833
4739
  });
4834
- if (!a) return Bt;
4740
+ if (!a) return xt;
4835
4741
  t = a.removedCount, n = a.added;
4836
4742
  }
4837
4743
  n = n.length === 0 ? n : n.map(function(e) {
@@ -4841,11 +4747,11 @@ var Ci = function() {
4841
4747
  return (t !== 0 || n.length !== 0) && this.notifyArraySplice(e, n, o), this.dehanceValues(o);
4842
4748
  }, e.prototype.spliceItemsIntoValues = function(e, t, n) {
4843
4749
  var r;
4844
- if (n.length < bi) return (r = this.values).splice.apply(r, gn([e, t], n));
4750
+ if (n.length < ni) return (r = this.values).splice.apply(r, Xt([e, t], n));
4845
4751
  var i = this.values.slice(e, e + t);
4846
4752
  return this.values = this.values.slice(0, e).concat(n, this.values.slice(e + t)), i;
4847
4753
  }, e.prototype.notifyArrayChildUpdate = function(e, t, n) {
4848
- var r = !this.owned && W(), i = Y(this), a = i || r ? {
4754
+ var r = !this.owned && G(), i = Y(this), a = i || r ? {
4849
4755
  object: this.proxy,
4850
4756
  type: "update",
4851
4757
  index: e,
@@ -4854,7 +4760,7 @@ var Ci = function() {
4854
4760
  } : null;
4855
4761
  this.atom.reportChanged(), i && X(this, a);
4856
4762
  }, e.prototype.notifyArraySplice = function(e, t, n) {
4857
- var r = !this.owned && W(), i = Y(this), a = i || r ? {
4763
+ var r = !this.owned && G(), i = Y(this), a = i || r ? {
4858
4764
  object: this.proxy,
4859
4765
  type: "splice",
4860
4766
  index: e,
@@ -4867,16 +4773,16 @@ var Ci = function() {
4867
4773
  }, e;
4868
4774
  }(), Z = {
4869
4775
  intercept: function(e) {
4870
- return this[F].intercept(e);
4776
+ return this[I].intercept(e);
4871
4777
  },
4872
4778
  observe: function(e, t) {
4873
- return t === void 0 && (t = !1), this[F].observe(e, t);
4779
+ return t === void 0 && (t = !1), this[I].observe(e, t);
4874
4780
  },
4875
4781
  clear: function() {
4876
4782
  return this.splice(0);
4877
4783
  },
4878
4784
  replace: function(e) {
4879
- var t = this[F];
4785
+ var t = this[I];
4880
4786
  return t.spliceWithArray(0, t.values.length, e);
4881
4787
  },
4882
4788
  toJS: function() {
@@ -4886,7 +4792,7 @@ var Ci = function() {
4886
4792
  return this.toJS();
4887
4793
  },
4888
4794
  splice: function(e, t) {
4889
- var n = [...arguments].slice(2), r = this[F];
4795
+ var n = [...arguments].slice(2), r = this[I];
4890
4796
  switch (arguments.length) {
4891
4797
  case 0: return [];
4892
4798
  case 1: return r.spliceWithArray(e);
@@ -4895,20 +4801,20 @@ var Ci = function() {
4895
4801
  return r.spliceWithArray(e, t, n);
4896
4802
  },
4897
4803
  spliceWithArray: function(e, t, n) {
4898
- return this[F].spliceWithArray(e, t, n);
4804
+ return this[I].spliceWithArray(e, t, n);
4899
4805
  },
4900
4806
  push: function() {
4901
- var e = [...arguments], t = this[F];
4807
+ var e = [...arguments], t = this[I];
4902
4808
  return t.spliceWithArray(t.values.length, 0, e), t.values.length;
4903
4809
  },
4904
4810
  pop: function() {
4905
- return this.splice(Math.max(this[F].values.length - 1, 0), 1)[0];
4811
+ return this.splice(Math.max(this[I].values.length - 1, 0), 1)[0];
4906
4812
  },
4907
4813
  shift: function() {
4908
4814
  return this.splice(0, 1)[0];
4909
4815
  },
4910
4816
  unshift: function() {
4911
- var e = [...arguments], t = this[F];
4817
+ var e = [...arguments], t = this[I];
4912
4818
  return t.spliceWithArray(0, 0, e), t.values.length;
4913
4819
  },
4914
4820
  reverse: function() {
@@ -4920,20 +4826,20 @@ var Ci = function() {
4920
4826
  return t.sort.apply(t, arguments);
4921
4827
  },
4922
4828
  remove: function(e) {
4923
- var t = this[F], n = t.dehanceValues(t.values).indexOf(e);
4829
+ var t = this[I], n = t.dehanceValues(t.values).indexOf(e);
4924
4830
  return n > -1 ? (this.splice(n, 1), !0) : !1;
4925
4831
  },
4926
4832
  get: function(e) {
4927
- var t = this[F];
4833
+ var t = this[I];
4928
4834
  if (t) {
4929
4835
  if (e < t.values.length) return t.atom.reportObserved(), t.dehanceValue(t.values[e]);
4930
4836
  console.warn("[mobx.array] Attempt to read an array index (" + e + ") that is out of bounds (" + t.values.length + "). Please check length first. Out of bound indices will not be tracked by MobX");
4931
4837
  }
4932
4838
  },
4933
4839
  set: function(e, t) {
4934
- var n = this[F], r = n.values;
4840
+ var n = this[I], r = n.values;
4935
4841
  if (e < r.length) {
4936
- Kn(n.atom);
4842
+ Dn(n.atom);
4937
4843
  var i = r[e];
4938
4844
  if (q(n)) {
4939
4845
  var a = J(n, {
@@ -4962,7 +4868,7 @@ var Ci = function() {
4962
4868
  "toLocaleString"
4963
4869
  ].forEach(function(e) {
4964
4870
  typeof Array.prototype[e] == "function" && (Z[e] = function() {
4965
- var t = this[F];
4871
+ var t = this[I];
4966
4872
  t.atom.reportObserved();
4967
4873
  var n = t.dehanceValues(t.values);
4968
4874
  return n[e].apply(n, arguments);
@@ -4978,14 +4884,14 @@ var Ci = function() {
4978
4884
  "some"
4979
4885
  ].forEach(function(e) {
4980
4886
  typeof Array.prototype[e] == "function" && (Z[e] = function(t, n) {
4981
- var r = this, i = this[F];
4887
+ var r = this, i = this[I];
4982
4888
  return i.atom.reportObserved(), i.dehanceValues(i.values)[e](function(e, i) {
4983
4889
  return t.call(n, e, i, r);
4984
4890
  }, n);
4985
4891
  });
4986
4892
  }), ["reduce", "reduceRight"].forEach(function(e) {
4987
4893
  Z[e] = function() {
4988
- var t = this, n = this[F];
4894
+ var t = this, n = this[I];
4989
4895
  n.atom.reportObserved();
4990
4896
  var r = arguments[0];
4991
4897
  return arguments[0] = function(e, i, a) {
@@ -4993,24 +4899,24 @@ var Ci = function() {
4993
4899
  }, n.values[e].apply(n.values, arguments);
4994
4900
  };
4995
4901
  });
4996
- var wi = N("ObservableArrayAdministration", Ci);
4997
- function Ti(e) {
4998
- return Kt(e) && wi(e[F]);
4902
+ var oi = P("ObservableArrayAdministration", ai);
4903
+ function si(e) {
4904
+ return Dt(e) && oi(e[I]);
4999
4905
  }
5000
- var Ei, Di = {}, Oi = function() {
4906
+ var ci, li = {}, ui = function() {
5001
4907
  function e(e, t, n) {
5002
- if (t === void 0 && (t = Tn), n === void 0 && (n = "ObservableMap@" + j()), this.enhancer = t, this.name = n, this[Ei] = Di, this._keysAtom = on(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");
4908
+ if (t === void 0 && (t = on), n === void 0 && (n = "ObservableMap@" + M()), this.enhancer = t, this.name = n, this[ci] = li, this._keysAtom = Bt(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");
5003
4909
  this._data = /* @__PURE__ */ new Map(), this._hasMap = /* @__PURE__ */ new Map(), this.merge(e);
5004
4910
  }
5005
4911
  return e.prototype._has = function(e) {
5006
4912
  return this._data.has(e);
5007
4913
  }, e.prototype.has = function(e) {
5008
4914
  var t = this;
5009
- if (!V.trackingDerivation) return this._has(e);
4915
+ if (!H.trackingDerivation) return this._has(e);
5010
4916
  var n = this._hasMap.get(e);
5011
4917
  if (!n) {
5012
- var r = n = new ur(this._has(e), Dn, this.name + "." + P(e) + "?", !1);
5013
- this._hasMap.set(e, r), Xr(r, function() {
4918
+ var r = n = new Gn(this._has(e), cn, this.name + "." + F(e) + "?", !1);
4919
+ this._hasMap.set(e, r), jr(r, function() {
5014
4920
  return t._hasMap.delete(e);
5015
4921
  });
5016
4922
  }
@@ -5030,7 +4936,7 @@ var Ei, Di = {}, Oi = function() {
5030
4936
  return n ? this._updateValue(e, t) : this._addValue(e, t), this;
5031
4937
  }, e.prototype.delete = function(e) {
5032
4938
  var t = this;
5033
- if (Kn(this._keysAtom), q(this)) {
4939
+ if (Dn(this._keysAtom), q(this)) {
5034
4940
  var n = J(this, {
5035
4941
  type: "delete",
5036
4942
  object: this,
@@ -5039,7 +4945,7 @@ var Ei, Di = {}, Oi = function() {
5039
4945
  if (!n) return !1;
5040
4946
  }
5041
4947
  if (this._has(e)) {
5042
- var r = W(), i = Y(this), n = i || r ? {
4948
+ var r = G(), i = Y(this), n = i || r ? {
5043
4949
  type: "delete",
5044
4950
  object: this,
5045
4951
  oldValue: this._data.get(e).value,
@@ -5055,8 +4961,8 @@ var Ei, Di = {}, Oi = function() {
5055
4961
  n && n.setNewValue(t);
5056
4962
  }, e.prototype._updateValue = function(e, t) {
5057
4963
  var n = this._data.get(e);
5058
- if (t = n.prepareNewValue(t), t !== V.UNCHANGED) {
5059
- var r = W(), i = Y(this), a = i || r ? {
4964
+ if (t = n.prepareNewValue(t), t !== H.UNCHANGED) {
4965
+ var r = G(), i = Y(this), a = i || r ? {
5060
4966
  type: "update",
5061
4967
  object: this,
5062
4968
  oldValue: n.value,
@@ -5067,11 +4973,11 @@ var Ei, Di = {}, Oi = function() {
5067
4973
  }
5068
4974
  }, e.prototype._addValue = function(e, t) {
5069
4975
  var n = this;
5070
- Kn(this._keysAtom), K(function() {
5071
- var r = new ur(t, n.enhancer, n.name + "." + P(e), !1);
4976
+ Dn(this._keysAtom), K(function() {
4977
+ var r = new Gn(t, n.enhancer, n.name + "." + F(e), !1);
5072
4978
  n._data.set(e, r), t = r.value, n._updateHasMapEntry(e, !0), n._keysAtom.reportChanged();
5073
4979
  });
5074
- var r = W(), i = Y(this), a = i || r ? {
4980
+ var r = G(), i = Y(this), a = i || r ? {
5075
4981
  type: "add",
5076
4982
  object: this,
5077
4983
  name: e,
@@ -5086,7 +4992,7 @@ var Ei, Di = {}, Oi = function() {
5086
4992
  return this._keysAtom.reportObserved(), this._data.keys();
5087
4993
  }, e.prototype.values = function() {
5088
4994
  var e = this, t = this.keys();
5089
- return Yi({ next: function() {
4995
+ return ji({ next: function() {
5090
4996
  var n = t.next(), r = n.done, i = n.value;
5091
4997
  return {
5092
4998
  done: r,
@@ -5095,20 +5001,20 @@ var Ei, Di = {}, Oi = function() {
5095
5001
  } });
5096
5002
  }, e.prototype.entries = function() {
5097
5003
  var e = this, t = this.keys();
5098
- return Yi({ next: function() {
5004
+ return ji({ next: function() {
5099
5005
  var n = t.next(), r = n.done, i = n.value;
5100
5006
  return {
5101
5007
  done: r,
5102
5008
  value: r ? void 0 : [i, e.get(i)]
5103
5009
  };
5104
5010
  } });
5105
- }, e.prototype[Ei = F, Symbol.iterator] = function() {
5011
+ }, e.prototype[ci = I, Symbol.iterator] = function() {
5106
5012
  return this.entries();
5107
5013
  }, e.prototype.forEach = function(e, t) {
5108
5014
  var n, r;
5109
5015
  try {
5110
- for (var i = I(this), a = i.next(); !a.done; a = i.next()) {
5111
- var o = hn(a.value, 2), s = o[0], c = o[1];
5016
+ for (var i = L(this), a = i.next(); !a.done; a = i.next()) {
5017
+ var o = Yt(a.value, 2), s = o[0], c = o[1];
5112
5018
  e.call(t, c, s, this);
5113
5019
  }
5114
5020
  } catch (e) {
@@ -5123,27 +5029,27 @@ var Ei, Di = {}, Oi = function() {
5123
5029
  }, e.prototype.merge = function(e) {
5124
5030
  var t = this;
5125
5031
  return Q(e) && (e = e.toJS()), K(function() {
5126
- var n = cr(!0);
5032
+ var n = Un(!0);
5127
5033
  try {
5128
- qt(e) ? en(e).forEach(function(n) {
5034
+ Ot(e) ? Ft(e).forEach(function(n) {
5129
5035
  return t.set(n, e[n]);
5130
5036
  }) : Array.isArray(e) ? e.forEach(function(e) {
5131
- var n = hn(e, 2), r = n[0], i = n[1];
5037
+ var n = Yt(e, 2), r = n[0], i = n[1];
5132
5038
  return t.set(r, i);
5133
- }) : Qt(e) ? (e.constructor !== Map && M("Cannot initialize from classes that inherit from Map: " + e.constructor.name), e.forEach(function(e, n) {
5039
+ }) : Nt(e) ? (e.constructor !== Map && N("Cannot initialize from classes that inherit from Map: " + e.constructor.name), e.forEach(function(e, n) {
5134
5040
  return t.set(n, e);
5135
- })) : e != null && M("Cannot initialize map from " + e);
5041
+ })) : e != null && N("Cannot initialize map from " + e);
5136
5042
  } finally {
5137
- lr(n);
5043
+ Wn(n);
5138
5044
  }
5139
5045
  }), this;
5140
5046
  }, e.prototype.clear = function() {
5141
5047
  var e = this;
5142
5048
  K(function() {
5143
- Xn(function() {
5049
+ jn(function() {
5144
5050
  var t, n;
5145
5051
  try {
5146
- for (var r = I(e.keys()), i = r.next(); !i.done; i = r.next()) {
5052
+ for (var r = L(e.keys()), i = r.next(); !i.done; i = r.next()) {
5147
5053
  var a = i.value;
5148
5054
  e.delete(a);
5149
5055
  }
@@ -5161,9 +5067,9 @@ var Ei, Di = {}, Oi = function() {
5161
5067
  }, e.prototype.replace = function(e) {
5162
5068
  var t = this;
5163
5069
  return K(function() {
5164
- var n, r, i, a, o = Jt(e), s = /* @__PURE__ */ new Map(), c = !1;
5070
+ var n, r, i, a, o = kt(e), s = /* @__PURE__ */ new Map(), c = !1;
5165
5071
  try {
5166
- for (var l = I(t._data.keys()), u = l.next(); !u.done; u = l.next()) {
5072
+ for (var l = L(t._data.keys()), u = l.next(); !u.done; u = l.next()) {
5167
5073
  var d = u.value;
5168
5074
  if (!o.has(d)) if (t.delete(d)) c = !0;
5169
5075
  else {
@@ -5181,8 +5087,8 @@ var Ei, Di = {}, Oi = function() {
5181
5087
  }
5182
5088
  }
5183
5089
  try {
5184
- for (var p = I(o.entries()), m = p.next(); !m.done; m = p.next()) {
5185
- var h = hn(m.value, 2), d = h[0], f = h[1], g = t._data.has(d);
5090
+ for (var p = L(o.entries()), m = p.next(); !m.done; m = p.next()) {
5091
+ var h = Yt(m.value, 2), d = h[0], f = h[1], g = t._data.has(d);
5186
5092
  if (t.set(d, f), t._data.has(d)) {
5187
5093
  var _ = t._data.get(d);
5188
5094
  s.set(d, _), g || (c = !0);
@@ -5216,9 +5122,9 @@ var Ei, Di = {}, Oi = function() {
5216
5122
  }), e.prototype.toPOJO = function() {
5217
5123
  var e, t, n = {};
5218
5124
  try {
5219
- for (var r = I(this), i = r.next(); !i.done; i = r.next()) {
5220
- var a = hn(i.value, 2), o = a[0], s = a[1];
5221
- n[typeof o == "symbol" ? o : P(o)] = s;
5125
+ for (var r = L(this), i = r.next(); !i.done; i = r.next()) {
5126
+ var a = Yt(i.value, 2), o = a[0], s = a[1];
5127
+ n[typeof o == "symbol" ? o : F(o)] = s;
5222
5128
  }
5223
5129
  } catch (t) {
5224
5130
  e = { error: t };
@@ -5237,16 +5143,16 @@ var Ei, Di = {}, Oi = function() {
5237
5143
  }, e.prototype.toString = function() {
5238
5144
  var e = this;
5239
5145
  return this.name + "[{ " + Array.from(this.keys()).map(function(t) {
5240
- return P(t) + ": " + ("" + e.get(t));
5146
+ return F(t) + ": " + ("" + e.get(t));
5241
5147
  }).join(", ") + " }]";
5242
5148
  }, e.prototype.observe = function(e, t) {
5243
- return yi(this, e);
5149
+ return ti(this, e);
5244
5150
  }, e.prototype.intercept = function(e) {
5245
- return vi(this, e);
5151
+ return ei(this, e);
5246
5152
  }, e;
5247
- }(), Q = N("ObservableMap", Oi), ki, Ai = {}, ji = function() {
5153
+ }(), Q = P("ObservableMap", ui), di, fi = {}, pi = function() {
5248
5154
  function e(e, t, n) {
5249
- if (t === void 0 && (t = Tn), n === void 0 && (n = "ObservableSet@" + j()), this.name = n, this[ki] = Ai, this._data = /* @__PURE__ */ new Set(), this._atom = on(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");
5155
+ if (t === void 0 && (t = on), n === void 0 && (n = "ObservableSet@" + M()), this.name = n, this[di] = fi, this._data = /* @__PURE__ */ new Set(), this._atom = Bt(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");
5250
5156
  this.enhancer = function(e, r) {
5251
5157
  return t(e, r, n);
5252
5158
  }, e && this.replace(e);
@@ -5256,10 +5162,10 @@ var Ei, Di = {}, Oi = function() {
5256
5162
  }, e.prototype.clear = function() {
5257
5163
  var e = this;
5258
5164
  K(function() {
5259
- Xn(function() {
5165
+ jn(function() {
5260
5166
  var t, n;
5261
5167
  try {
5262
- for (var r = I(e._data.values()), i = r.next(); !i.done; i = r.next()) {
5168
+ for (var r = L(e._data.values()), i = r.next(); !i.done; i = r.next()) {
5263
5169
  var a = i.value;
5264
5170
  e.delete(a);
5265
5171
  }
@@ -5277,7 +5183,7 @@ var Ei, Di = {}, Oi = function() {
5277
5183
  }, e.prototype.forEach = function(e, t) {
5278
5184
  var n, r;
5279
5185
  try {
5280
- for (var i = I(this), a = i.next(); !a.done; a = i.next()) {
5186
+ for (var i = L(this), a = i.next(); !a.done; a = i.next()) {
5281
5187
  var o = a.value;
5282
5188
  e.call(t, o, o, this);
5283
5189
  }
@@ -5298,7 +5204,7 @@ var Ei, Di = {}, Oi = function() {
5298
5204
  configurable: !0
5299
5205
  }), e.prototype.add = function(e) {
5300
5206
  var t = this;
5301
- if (Kn(this._atom), q(this)) {
5207
+ if (Dn(this._atom), q(this)) {
5302
5208
  var n = J(this, {
5303
5209
  type: "add",
5304
5210
  object: this,
@@ -5310,7 +5216,7 @@ var Ei, Di = {}, Oi = function() {
5310
5216
  K(function() {
5311
5217
  t._data.add(t.enhancer(e, void 0)), t._atom.reportChanged();
5312
5218
  });
5313
- var r = W(), i = Y(this), n = i || r ? {
5219
+ var r = G(), i = Y(this), n = i || r ? {
5314
5220
  type: "add",
5315
5221
  object: this,
5316
5222
  newValue: e
@@ -5329,7 +5235,7 @@ var Ei, Di = {}, Oi = function() {
5329
5235
  if (!n) return !1;
5330
5236
  }
5331
5237
  if (this.has(e)) {
5332
- var r = W(), i = Y(this), n = i || r ? {
5238
+ var r = G(), i = Y(this), n = i || r ? {
5333
5239
  type: "delete",
5334
5240
  object: this,
5335
5241
  oldValue: e
@@ -5343,7 +5249,7 @@ var Ei, Di = {}, Oi = function() {
5343
5249
  return this._atom.reportObserved(), this._data.has(this.dehanceValue(e));
5344
5250
  }, e.prototype.entries = function() {
5345
5251
  var e = 0, t = Array.from(this.keys()), n = Array.from(this.values());
5346
- return Yi({ next: function() {
5252
+ return ji({ next: function() {
5347
5253
  var r = e;
5348
5254
  return e += 1, r < n.length ? {
5349
5255
  value: [t[r], n[r]],
@@ -5355,7 +5261,7 @@ var Ei, Di = {}, Oi = function() {
5355
5261
  }, e.prototype.values = function() {
5356
5262
  this._atom.reportObserved();
5357
5263
  var e = this, t = 0, n = Array.from(this._data.values());
5358
- return Yi({ next: function() {
5264
+ return ji({ next: function() {
5359
5265
  return t < n.length ? {
5360
5266
  value: e.dehanceValue(n[t++]),
5361
5267
  done: !1
@@ -5364,35 +5270,35 @@ var Ei, Di = {}, Oi = function() {
5364
5270
  }, e.prototype.replace = function(e) {
5365
5271
  var t = this;
5366
5272
  return $(e) && (e = e.toJS()), K(function() {
5367
- var n = cr(!0);
5273
+ var n = Un(!0);
5368
5274
  try {
5369
- Array.isArray(e) || $t(e) ? (t.clear(), e.forEach(function(e) {
5275
+ Array.isArray(e) || Pt(e) ? (t.clear(), e.forEach(function(e) {
5370
5276
  return t.add(e);
5371
- })) : e != null && M("Cannot initialize set from " + e);
5277
+ })) : e != null && N("Cannot initialize set from " + e);
5372
5278
  } finally {
5373
- lr(n);
5279
+ Wn(n);
5374
5280
  }
5375
5281
  }), this;
5376
5282
  }, e.prototype.observe = function(e, t) {
5377
- return yi(this, e);
5283
+ return ti(this, e);
5378
5284
  }, e.prototype.intercept = function(e) {
5379
- return vi(this, e);
5285
+ return ei(this, e);
5380
5286
  }, e.prototype.toJS = function() {
5381
5287
  return new Set(this);
5382
5288
  }, e.prototype.toString = function() {
5383
5289
  return this.name + "[ " + Array.from(this).join(", ") + " ]";
5384
- }, e.prototype[ki = F, Symbol.iterator] = function() {
5290
+ }, e.prototype[di = I, Symbol.iterator] = function() {
5385
5291
  return this.values();
5386
5292
  }, e;
5387
- }(), $ = N("ObservableSet", ji), Mi = function() {
5293
+ }(), $ = P("ObservableSet", pi), mi = function() {
5388
5294
  function e(e, t, n, r) {
5389
- t === void 0 && (t = /* @__PURE__ */ new Map()), this.target = e, this.values = t, this.name = n, this.defaultEnhancer = r, this.keysAtom = new rn(n + ".keys");
5295
+ t === void 0 && (t = /* @__PURE__ */ new Map()), this.target = e, this.values = t, this.name = n, this.defaultEnhancer = r, this.keysAtom = new Rt(n + ".keys");
5390
5296
  }
5391
5297
  return e.prototype.read = function(e) {
5392
5298
  return this.values.get(e).get();
5393
5299
  }, e.prototype.write = function(e, t) {
5394
5300
  var n = this.target, r = this.values.get(e);
5395
- if (r instanceof fr) {
5301
+ if (r instanceof qn) {
5396
5302
  r.set(t);
5397
5303
  return;
5398
5304
  }
@@ -5406,8 +5312,8 @@ var Ei, Di = {}, Oi = function() {
5406
5312
  if (!i) return;
5407
5313
  t = i.newValue;
5408
5314
  }
5409
- if (t = r.prepareNewValue(t), t !== V.UNCHANGED) {
5410
- var a = Y(this), o = W(), i = a || o ? {
5315
+ if (t = r.prepareNewValue(t), t !== H.UNCHANGED) {
5316
+ var a = Y(this), o = G(), i = a || o ? {
5411
5317
  type: "update",
5412
5318
  object: this.proxy || n,
5413
5319
  oldValue: r.value,
@@ -5418,7 +5324,7 @@ var Ei, Di = {}, Oi = function() {
5418
5324
  }
5419
5325
  }, e.prototype.has = function(e) {
5420
5326
  var t = this.pendingKeys || (this.pendingKeys = /* @__PURE__ */ new Map()), n = t.get(e);
5421
- return n ? n.get() : (n = new ur(!!this.values.get(e), Dn, this.name + "." + P(e) + "?", !1), t.set(e, n), n.get());
5327
+ return n ? n.get() : (n = new Gn(!!this.values.get(e), cn, this.name + "." + F(e) + "?", !1), t.set(e, n), n.get());
5422
5328
  }, e.prototype.addObservableProp = function(e, t, n) {
5423
5329
  n === void 0 && (n = this.defaultEnhancer);
5424
5330
  var r = this.target;
@@ -5432,11 +5338,11 @@ var Ei, Di = {}, Oi = function() {
5432
5338
  if (!i) return;
5433
5339
  t = i.newValue;
5434
5340
  }
5435
- var a = new ur(t, n, this.name + "." + P(e), !1);
5436
- this.values.set(e, a), t = a.value, Object.defineProperty(r, e, Ii(e)), this.notifyPropertyAddition(e, t);
5341
+ var a = new Gn(t, n, this.name + "." + F(e), !1);
5342
+ this.values.set(e, a), t = a.value, Object.defineProperty(r, e, vi(e)), this.notifyPropertyAddition(e, t);
5437
5343
  }, e.prototype.addComputedProp = function(e, t, n) {
5438
5344
  var r = this.target;
5439
- n.name = n.name || this.name + "." + P(t), this.values.set(t, new fr(n)), (e === r || Zt(e, t)) && Object.defineProperty(e, t, Ri(t));
5345
+ n.name = n.name || this.name + "." + F(t), this.values.set(t, new qn(n)), (e === r || Mt(e, t)) && Object.defineProperty(e, t, bi(t));
5440
5346
  }, e.prototype.remove = function(e) {
5441
5347
  if (this.values.has(e)) {
5442
5348
  var t = this.target;
@@ -5449,8 +5355,8 @@ var Ei, Di = {}, Oi = function() {
5449
5355
  if (!n) return;
5450
5356
  }
5451
5357
  try {
5452
- H();
5453
- var r = Y(this), i = W(), a = this.values.get(e), o = a && a.get();
5358
+ U();
5359
+ var r = Y(this), i = G(), a = this.values.get(e), o = a && a.get();
5454
5360
  if (a && a.set(void 0), this.keysAtom.reportChanged(), this.values.delete(e), this.pendingKeys) {
5455
5361
  var s = this.pendingKeys.get(e);
5456
5362
  s && s.set(!1);
@@ -5464,17 +5370,17 @@ var Ei, Di = {}, Oi = function() {
5464
5370
  } : null;
5465
5371
  r && X(this, n);
5466
5372
  } finally {
5467
- U();
5373
+ W();
5468
5374
  }
5469
5375
  }
5470
5376
  }, e.prototype.illegalAccess = function(e, t) {
5471
5377
  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");
5472
5378
  }, e.prototype.observe = function(e, t) {
5473
- return yi(this, e);
5379
+ return ti(this, e);
5474
5380
  }, e.prototype.intercept = function(e) {
5475
- return vi(this, e);
5381
+ return ei(this, e);
5476
5382
  }, e.prototype.notifyPropertyAddition = function(e, t) {
5477
- var n = Y(this), r = W(), i = n || r ? {
5383
+ var n = Y(this), r = G(), i = n || r ? {
5478
5384
  type: "add",
5479
5385
  object: this.proxy || this.target,
5480
5386
  name: e,
@@ -5490,9 +5396,9 @@ var Ei, Di = {}, Oi = function() {
5490
5396
  this.keysAtom.reportObserved();
5491
5397
  var n = [];
5492
5398
  try {
5493
- for (var r = I(this.values), i = r.next(); !i.done; i = r.next()) {
5494
- var a = hn(i.value, 2), o = a[0];
5495
- a[1] instanceof ur && n.push(o);
5399
+ for (var r = L(this.values), i = r.next(); !i.done; i = r.next()) {
5400
+ var a = Yt(i.value, 2), o = a[0];
5401
+ a[1] instanceof Gn && n.push(o);
5496
5402
  }
5497
5403
  } catch (t) {
5498
5404
  e = { error: t };
@@ -5506,84 +5412,84 @@ var Ei, Di = {}, Oi = function() {
5506
5412
  return n;
5507
5413
  }, e;
5508
5414
  }();
5509
- function Ni(e, t, n) {
5510
- if (t === void 0 && (t = ""), n === void 0 && (n = Tn), Object.prototype.hasOwnProperty.call(e, F)) return e[F];
5511
- qt(e) || (t = (e.constructor.name || "ObservableObject") + "@" + j()), t || (t = "ObservableObject@" + j());
5512
- var r = new Mi(e, /* @__PURE__ */ new Map(), P(t), n);
5513
- return Yt(e, F, r), r;
5514
- }
5515
- var Pi = Object.create(null), Fi = Object.create(null);
5516
- function Ii(e) {
5517
- return Pi[e] || (Pi[e] = {
5415
+ function hi(e, t, n) {
5416
+ if (t === void 0 && (t = ""), n === void 0 && (n = on), Object.prototype.hasOwnProperty.call(e, I)) return e[I];
5417
+ Ot(e) || (t = (e.constructor.name || "ObservableObject") + "@" + M()), t || (t = "ObservableObject@" + M());
5418
+ var r = new mi(e, /* @__PURE__ */ new Map(), F(t), n);
5419
+ return At(e, I, r), r;
5420
+ }
5421
+ var gi = Object.create(null), _i = Object.create(null);
5422
+ function vi(e) {
5423
+ return gi[e] || (gi[e] = {
5518
5424
  configurable: !0,
5519
5425
  enumerable: !0,
5520
5426
  get: function() {
5521
- return this[F].read(e);
5427
+ return this[I].read(e);
5522
5428
  },
5523
5429
  set: function(t) {
5524
- this[F].write(e, t);
5430
+ this[I].write(e, t);
5525
5431
  }
5526
5432
  });
5527
5433
  }
5528
- function Li(e) {
5529
- return e[F] || (Sn(e), e[F]);
5434
+ function yi(e) {
5435
+ return e[I] || (nn(e), e[I]);
5530
5436
  }
5531
- function Ri(e) {
5532
- return Fi[e] || (Fi[e] = {
5533
- configurable: V.computedConfigurable,
5437
+ function bi(e) {
5438
+ return _i[e] || (_i[e] = {
5439
+ configurable: H.computedConfigurable,
5534
5440
  enumerable: !1,
5535
5441
  get: function() {
5536
- return Li(this).read(e);
5442
+ return yi(this).read(e);
5537
5443
  },
5538
5444
  set: function(t) {
5539
- Li(this).write(e, t);
5445
+ yi(this).write(e, t);
5540
5446
  }
5541
5447
  });
5542
5448
  }
5543
- var zi = N("ObservableObjectAdministration", Mi);
5544
- function Bi(e) {
5545
- return Kt(e) ? (Sn(e), zi(e[F])) : !1;
5449
+ var xi = P("ObservableObjectAdministration", mi);
5450
+ function Si(e) {
5451
+ return Dt(e) ? (nn(e), xi(e[I])) : !1;
5546
5452
  }
5547
- function Vi(e, t) {
5453
+ function Ci(e, t) {
5548
5454
  if (typeof e == "object" && e) {
5549
- if (Ti(e)) return t !== void 0 && M(!1), e[F].atom;
5550
- if ($(e)) return e[F];
5455
+ if (si(e)) return t !== void 0 && N(!1), e[I].atom;
5456
+ if ($(e)) return e[I];
5551
5457
  if (Q(e)) {
5552
5458
  var n = e;
5553
5459
  if (t === void 0) return n._keysAtom;
5554
5460
  var r = n._data.get(t) || n._hasMap.get(t);
5555
- return r || M(!1), r;
5461
+ return r || N(!1), r;
5556
5462
  }
5557
- if (Sn(e), t && !e[F] && e[t], Bi(e)) {
5558
- if (!t) return M(!1);
5559
- var r = e[F].values.get(t);
5560
- return r || M(!1), r;
5463
+ if (nn(e), t && !e[I] && e[t], Si(e)) {
5464
+ if (!t) return N(!1);
5465
+ var r = e[I].values.get(t);
5466
+ return r || N(!1), r;
5561
5467
  }
5562
- if (an(e) || pr(e) || Pr(e)) return e;
5563
- } else if (typeof e == "function" && Pr(e[F])) return e[F];
5564
- return M(!1);
5468
+ if (zt(e) || Jn(e) || hr(e)) return e;
5469
+ } else if (typeof e == "function" && hr(e[I])) return e[I];
5470
+ return N(!1);
5565
5471
  }
5566
- function Hi(e, t) {
5567
- if (e || M("Expecting some object"), t !== void 0) return Hi(Vi(e, t));
5568
- if (an(e) || pr(e) || Pr(e) || Q(e) || $(e)) return e;
5569
- if (Sn(e), e[F]) return e[F];
5570
- M(!1);
5472
+ function wi(e, t) {
5473
+ if (e || N("Expecting some object"), t !== void 0) return wi(Ci(e, t));
5474
+ if (zt(e) || Jn(e) || hr(e) || Q(e) || $(e)) return e;
5475
+ if (nn(e), e[I]) return e[I];
5476
+ N(!1);
5571
5477
  }
5572
- function Ui(e, t) {
5573
- return (t === void 0 ? Bi(e) || Q(e) || $(e) ? Hi(e) : Vi(e) : Vi(e, t)).name;
5478
+ function Ti(e, t) {
5479
+ return (t === void 0 ? Si(e) || Q(e) || $(e) ? wi(e) : Ci(e) : Ci(e, t)).name;
5574
5480
  }
5575
- var Wi = Object.prototype.toString;
5576
- function Gi(e, t, n) {
5577
- return n === void 0 && (n = -1), Ki(e, t, n);
5481
+ var Ei = Object.prototype.toString;
5482
+ function Di(e, t, n) {
5483
+ return n === void 0 && (n = -1), Oi(e, t, n);
5578
5484
  }
5579
- function Ki(e, t, n, r, i) {
5485
+ function Oi(e, t, n, r, i) {
5580
5486
  if (e === t) return e !== 0 || 1 / e == 1 / t;
5581
5487
  if (e == null || t == null) return !1;
5582
5488
  if (e !== e) return t !== t;
5583
5489
  var a = typeof e;
5584
5490
  if (a !== "function" && a !== "object" && typeof t != "object") return !1;
5585
- var o = Wi.call(e);
5586
- if (o !== Wi.call(t)) return !1;
5491
+ var o = Ei.call(e);
5492
+ if (o !== Ei.call(t)) return !1;
5587
5493
  switch (o) {
5588
5494
  case "[object RegExp]":
5589
5495
  case "[object String]": return "" + e == "" + t;
@@ -5596,7 +5502,7 @@ function Ki(e, t, n, r, i) {
5596
5502
  n >= 0 && n++;
5597
5503
  break;
5598
5504
  }
5599
- e = qi(e), t = qi(t);
5505
+ e = ki(e), t = ki(t);
5600
5506
  var s = o === "[object Array]";
5601
5507
  if (!s) {
5602
5508
  if (typeof e != "object" || typeof t != "object") return !1;
@@ -5608,24 +5514,24 @@ function Ki(e, t, n, r, i) {
5608
5514
  for (var u = r.length; u--;) if (r[u] === e) return i[u] === t;
5609
5515
  if (r.push(e), i.push(t), s) {
5610
5516
  if (u = e.length, u !== t.length) return !1;
5611
- for (; u--;) if (!Ki(e[u], t[u], n - 1, r, i)) return !1;
5517
+ for (; u--;) if (!Oi(e[u], t[u], n - 1, r, i)) return !1;
5612
5518
  } else {
5613
5519
  var d = Object.keys(e), f = void 0;
5614
5520
  if (u = d.length, Object.keys(t).length !== u) return !1;
5615
- for (; u--;) if (f = d[u], !(Ji(t, f) && Ki(e[f], t[f], n - 1, r, i))) return !1;
5521
+ for (; u--;) if (f = d[u], !(Ai(t, f) && Oi(e[f], t[f], n - 1, r, i))) return !1;
5616
5522
  }
5617
5523
  return r.pop(), i.pop(), !0;
5618
5524
  }
5619
- function qi(e) {
5620
- return Ti(e) ? e.slice() : Qt(e) || Q(e) || $t(e) || $(e) ? Array.from(e.entries()) : e;
5525
+ function ki(e) {
5526
+ return si(e) ? e.slice() : Nt(e) || Q(e) || Pt(e) || $(e) ? Array.from(e.entries()) : e;
5621
5527
  }
5622
- function Ji(e, t) {
5528
+ function Ai(e, t) {
5623
5529
  return Object.prototype.hasOwnProperty.call(e, t);
5624
5530
  }
5625
- function Yi(e) {
5626
- return e[Symbol.iterator] = Xi, e;
5531
+ function ji(e) {
5532
+ return e[Symbol.iterator] = Mi, e;
5627
5533
  }
5628
- function Xi() {
5534
+ function Mi() {
5629
5535
  return this;
5630
5536
  }
5631
5537
  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.");
@@ -5633,20 +5539,20 @@ if (typeof Proxy > "u" || typeof Symbol > "u") throw Error("[mobx] MobX 5+ requi
5633
5539
  function e() {}
5634
5540
  e.name;
5635
5541
  })(), typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
5636
- spy: Ir,
5637
- extras: { getDebugName: Ui },
5638
- $mobx: F
5542
+ spy: _r,
5543
+ extras: { getDebugName: Ti },
5544
+ $mobx: I
5639
5545
  });
5640
5546
  //#endregion
5641
5547
  //#region src/utils/localStorage.ts
5642
- function Zi() {
5548
+ function Ni() {
5643
5549
  try {
5644
5550
  return localStorage.setItem("test", "test"), localStorage.removeItem("test"), !0;
5645
5551
  } catch {
5646
5552
  return !1;
5647
5553
  }
5648
5554
  }
5649
- var Qi = Zi(), $i = {
5555
+ var Pi = Ni(), Fi = {
5650
5556
  de: "Deutsch",
5651
5557
  en: "English",
5652
5558
  es: "Español",
@@ -5667,55 +5573,40 @@ var Qi = Zi(), $i = {
5667
5573
  kk: "Қазақша",
5668
5574
  pl: "Polski",
5669
5575
  mn: "Монгол"
5670
- }, ea = "en", ta = "efp-locale", na = "language", ra = L.box(ea), ia = L.array([], { deep: !1 }), aa = (e) => Ne(`${me}locales/${e}.json`), oa = () => {
5671
- if (!Qi) return null;
5672
- let e = localStorage.getItem(ta), t = localStorage.getItem(na);
5673
- return t && localStorage.removeItem(na), e || (t && localStorage.setItem(ta, t), t);
5674
- }, sa = () => {
5576
+ }, Ii = "en", Li = "efp-locale", Ri = "language", zi = R.box(Ii), Bi = R.array([], { deep: !1 }), Vi = (e) => Oe(`${me}locales/${e}.json`), Hi = () => {
5577
+ if (!Pi) return null;
5578
+ let e = localStorage.getItem(Li), t = localStorage.getItem(Ri);
5579
+ return t && localStorage.removeItem(Ri), e || (t && localStorage.setItem(Li, t), t);
5580
+ }, Ui = () => {
5675
5581
  var e;
5676
- let t = window.__data, n = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, r = Object.keys($i).find((e) => n.startsWith(e));
5677
- return (oa() || (t == null ? void 0 : t.locale) || r || ea).toLowerCase();
5678
- }, ca = () => ra.get(), la = () => ia, ua = (e) => ia.some((t) => t.id === e), da = (e, t) => (ra.get(), Rt.t(e, t)), fa = async () => {
5679
- ia.replace(Object.entries($i).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
5582
+ let t = window.__data, n = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, r = Object.keys(Fi).find((e) => n.startsWith(e));
5583
+ return (Hi() || (t == null ? void 0 : t.locale) || r || Ii).toLowerCase();
5584
+ }, Wi = () => zi.get(), Gi = () => Bi, Ki = (e) => Bi.some((t) => t.id === e), qi = (e, t) => (zi.get(), yt.t(e, t)), Ji = async () => {
5585
+ Bi.replace(Object.entries(Fi).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
5680
5586
  id: e,
5681
5587
  name: t,
5682
5588
  entity: { type: te }
5683
5589
  })));
5684
- let e = sa(), t = {};
5685
- if (e !== ea) try {
5686
- t[e] = { translation: await aa(e) };
5590
+ let e = Ui(), t = {};
5591
+ if (e !== Ii) try {
5592
+ t[e] = { translation: await Vi(e) };
5687
5593
  } catch (t) {
5688
- console.error(`Unable to load "${e}" localization, falling back to "${ea}".`, t), e = ea;
5594
+ console.error(`Unable to load "${e}" localization, falling back to "${Ii}".`, t), e = Ii;
5689
5595
  }
5690
- return ra.set(e), Rt.init({
5596
+ return zi.set(e), yt.init({
5691
5597
  resources: t,
5692
5598
  lng: e,
5693
5599
  keySeparator: !1,
5694
- saveMissing: e !== ea,
5600
+ saveMissing: e !== Ii,
5695
5601
  missingKeyHandler: (e, t, n, r) => console.debug(`i18n missing key: '${e[0]}:${t}:${n}', fallback: '${r}'`)
5696
5602
  });
5697
- }, pa = async (e) => {
5603
+ }, Yi = async (e) => {
5698
5604
  let t = e.toLowerCase();
5699
5605
  try {
5700
- t !== ea && !Rt.hasResourceBundle(t, "translation") && Rt.addResourceBundle(t, "translation", await aa(t), !0, !0), await Rt.changeLanguage(t), ra.set(t), Qi && localStorage.setItem(ta, t);
5606
+ t !== Ii && !yt.hasResourceBundle(t, "translation") && yt.addResourceBundle(t, "translation", await Vi(t), !0, !0), await yt.changeLanguage(t), zi.set(t), Pi && localStorage.setItem(Li, t);
5701
5607
  } catch (e) {
5702
5608
  console.error(`Failed to switch language to "${t}":`, e);
5703
5609
  }
5704
- }, ma = async () => (Qi && (localStorage.removeItem(ta), localStorage.removeItem(na)), pa(sa())), ha = /webview|wv|ip((?!.*Safari)|(?=.*like Safari))|iosWebView|AndroidWebView/i.test(navigator.userAgent);
5705
- //#endregion
5706
- //#region src/utils/loadImage.ts
5707
- function ga(e) {
5708
- return new Promise((t) => {
5709
- var n = new Image();
5710
- n.onerror = () => t(null), n.onload = () => t(n), n.crossOrigin = "anonymous", n.src = e;
5711
- });
5712
- }
5713
- //#endregion
5714
- //#region src/utils/is-debug.ts
5715
- if (typeof window < "u") {
5716
- var _a, va;
5717
- ((va = (_a = window).efpDebugUi) == null ? _a.efpDebugUi = {} : va)[g] = { type: "boolean" };
5718
- }
5719
- var ya = Qi && localStorage.getItem("efp:debug") === "true";
5610
+ }, Xi = async () => (Pi && (localStorage.removeItem(Li), localStorage.removeItem(Ri)), Yi(Ui()));
5720
5611
  //#endregion
5721
- export { h as $, Qe as A, Re as B, K as C, de as Ct, Xe as D, qe as E, o as Et, Be as F, ye as G, Fe as H, We as I, ve as J, _e as K, Ge as L, Ue as M, Ve as N, Ke as O, He as P, ee as Q, ze as R, di as S, ie as St, k as T, s as Tt, we as U, Ie as V, Ce as W, d as X, me as Y, _ as Z, ni as _, c as _t, la as a, se as at, Hr as b, ne as bt, ma as c, te as ct, Qi as d, ue as dt, g as et, kr as f, x as ft, Qr as g, u as gt, Hn as h, y as ht, ca as i, le as it, Je as j, Ze as k, pa as l, S as lt, Wr as m, v as mt, ga as n, oe as nt, ua as o, ce as ot, Vr as p, b as pt, ge as q, ha as r, C as rt, fa as s, f as st, ya as t, ae as tt, da as u, m as ut, L as v, l as vt, at as w, fe as wt, Ir as x, re as xt, qr as y, p as yt, Pe as z };
5612
+ export { l as $, me as A, se as B, Pe as C, Ae as D, je as E, g as F, m as G, f as H, ae as I, b as J, ue as K, oe as L, _ as M, ee as N, ye as O, h as P, c as Q, C as R, k as S, Ne as T, te as U, ce as V, S as W, y as X, v as Y, u as Z, Cr as _, Xi as a, fe as at, K as b, Pi as c, Tr as d, p as et, Cn as f, Or as g, R as h, Ji as i, de as it, d as j, ve as k, ur as l, Lr as m, Gi as n, re as nt, Yi as o, s as ot, Nr as p, x as q, Ki as r, ie as rt, qi as s, o as st, Wi as t, ne as tt, Sr as u, _r as v, ke as w, Ve as x, qr as y, le as z };