@nxgt/material-vue 0.15.3 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +5 -1
  2. package/dist/_baseIsEqual-Cj6hHjs0.js +226 -0
  3. package/dist/abnfDiagram-O67JEVCF-Cl_I9xuI.js +89 -0
  4. package/dist/arc-DNNg1pxp.js +80 -0
  5. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  6. package/dist/architectureDiagram-NJMV4G6O-CVS4UUCi.js +4146 -0
  7. package/dist/array-CApNbSU9.js +6 -0
  8. package/dist/blockDiagram-BEXU5L5S-B5Z0jbc8.js +1946 -0
  9. package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
  10. package/dist/{camera-DmcoWLY_.js → camera-oxz1xItP.js} +4 -4
  11. package/dist/channel-BA1GJyZ7.js +5 -0
  12. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  13. package/dist/chunk-3FUC2YCW-CX-v_TQz.js +364 -0
  14. package/dist/chunk-5DYCD2WN-B9vjeX2u.js +37 -0
  15. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  16. package/dist/chunk-6AEJRKK7-D9IaQdwq.js +10 -0
  17. package/dist/chunk-742MDFTN-BIhVe9GR.js +275 -0
  18. package/dist/chunk-7INBJB4K-CwPgdc2G.js +4487 -0
  19. package/dist/chunk-7M6MHVWA-Deh_-m6x.js +4256 -0
  20. package/dist/chunk-7PRAP22T-CofnNOEr.js +67 -0
  21. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  22. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  23. package/dist/chunk-GNY47TPC-rS2K544k.js +75 -0
  24. package/dist/chunk-GTNCS2PH-BR0O70z_.js +490 -0
  25. package/dist/chunk-GWA4HPMP-DU9lUCZD.js +61 -0
  26. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  27. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  28. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  29. package/dist/chunk-MBY4JIJT-HYVRUG_P.js +1847 -0
  30. package/dist/chunk-NETBCI7D-C8amwD_P.js +236 -0
  31. package/dist/chunk-O7XYJQB3-WMQqqzRb.js +3922 -0
  32. package/dist/chunk-UA2S7LBM-DtBatid7.js +363 -0
  33. package/dist/chunk-WEXAMYUT-Cc10h8ed.js +26 -0
  34. package/dist/chunk-XXDRQBXY-B2pGFcse.js +9 -0
  35. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  36. package/dist/chunk-Z7XXMR3K-CJmsOGTV.js +676 -0
  37. package/dist/chunk-ZIGJFQKS-DBdWb0bj.js +1366 -0
  38. package/dist/classDiagram-v2-NBCMYWYE-Caqw5P6A.js +3397 -0
  39. package/dist/{components-CzlSXpgn.js → components-IbdMALGv.js} +43231 -18341
  40. package/dist/components.js +5 -5
  41. package/dist/{composables-CJfjxkud.js → composables-6zV0t-y7.js} +1 -1
  42. package/dist/composables.js +1 -1
  43. package/dist/cose-bilkent-JH36ORCC-DStMi-eo.js +2251 -0
  44. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  45. package/dist/cynefinDiagram-VND7K2PF-0Mq0e5NQ.js +349 -0
  46. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  47. package/dist/dagre-6A5THRUB-EHXNn6Wq.js +2192 -0
  48. package/dist/defaultLocale-DnzPsei5.js +201 -0
  49. package/dist/diagram-22UHCM2B-B3RAQlqQ.js +5084 -0
  50. package/dist/diagram-3UASUU5V-BznCZHss.js +525 -0
  51. package/dist/diagram-ATOU4E4O-DtIUxSAn.js +432 -0
  52. package/dist/diagram-CDSNMT55-DOjN3BR2.js +301 -0
  53. package/dist/diagram-MLGK6HIB-Dx2UboD6.js +134 -0
  54. package/dist/diagram-MPIPVDR6-DnPL3RV0.js +214 -0
  55. package/dist/dist-D9zvfe2i.js +59 -0
  56. package/dist/{dnd-CnXShic8.js → dnd-CaDeYjQx.js} +1 -1
  57. package/dist/dnd.js +1 -1
  58. package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
  59. package/dist/elk-276RUBZZ-B9WeHolc.js +47597 -0
  60. package/dist/erDiagram-OPXOYQCR-DReZElBu.js +1970 -0
  61. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  62. package/dist/flowDiagram-KWPJA3E3-DYss4vEI.js +17 -0
  63. package/dist/ganttDiagram-FUAMR5RP-64EZDDmC.js +3083 -0
  64. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  65. package/dist/gitGraphDiagram-X574FWY7-DmMMrp5A.js +729 -0
  66. package/dist/graphlib-CrmIPC4m.js +372 -0
  67. package/dist/{i18n-weSTOoFJ.js → i18n-OBzfa-B7.js} +247 -926
  68. package/dist/i18n.js +2 -2
  69. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  70. package/dist/infoDiagram-VRGFBTTK-XlBUAu0t.js +20 -0
  71. package/dist/init-MwSGRDIl.js +15 -0
  72. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  73. package/dist/isEmpty-CMjyBU-a.js +136 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-C9cMWMPO.js +719 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-DXdfP9BW.js +884 -0
  76. package/dist/kanban-definition-PNTS6WVX-DhOBy3A0.js +976 -0
  77. package/dist/katex-BMQ6LGsM.js +21962 -0
  78. package/dist/lib/components/index.d.ts +4 -0
  79. package/dist/lib/components/ui/chat/chat-composer-mentions.vue.d.ts +13 -0
  80. package/dist/lib/components/ui/chat/chat-composer.vue.d.ts +6 -2
  81. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  82. package/dist/lib/components/ui/emoji/emoji-list.vue.d.ts +11 -0
  83. package/dist/lib/components/ui/emoji/emoji-picker.vue.d.ts +12 -0
  84. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  85. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  86. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  87. package/dist/lib/components/ui/markdown/index.d.ts +2 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
  89. package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/types.d.ts +5 -0
  96. package/dist/lib/components/ui/terminal/index.d.ts +3 -0
  97. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  98. package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
  99. package/dist/lib/i18n/resources/en/index.d.ts +13 -0
  100. package/dist/lib/i18n/resources/en/material.json.d.ts +14 -1
  101. package/dist/lib/i18n/resources/fr/index.d.ts +13 -0
  102. package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -1
  103. package/dist/lib/i18n/resources/index.d.ts +26 -0
  104. package/dist/lib/i18n/translator.d.ts +1 -1
  105. package/dist/lib/nuxt/component-names.d.ts +1 -1
  106. package/dist/lib-B9AHrvmh.js +389 -0
  107. package/dist/lib.js +1 -1
  108. package/dist/line-UP6dkL36.js +34 -0
  109. package/dist/linear-bD_QoED_.js +289 -0
  110. package/dist/main.js +9 -9
  111. package/dist/material-vue.css +1 -1
  112. package/dist/merge-B4IBXGaq.js +170 -0
  113. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  114. package/dist/mermaid.core-C_Rtflmc.js +1096 -0
  115. package/dist/mindmap-definition-NLK3R4M7-CO6s2Afv.js +1008 -0
  116. package/dist/ordinal-D_ZgubzR.js +65 -0
  117. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  118. package/dist/path-DGNPZRdx.js +85 -0
  119. package/dist/{pdf-outline-sidebar-iX41cMWg.js → pdf-outline-sidebar-D5VedBgk.js} +3 -2
  120. package/dist/{pdf-page-D_i3wZ_q.js → pdf-page-B1Ze518d.js} +1 -1
  121. package/dist/{pdf-page-list-bB0_8jk4.js → pdf-page-list-CBJziavm.js} +3 -2
  122. package/dist/{pdf-reader-CRipdUQO.js → pdf-reader-Cn1uxtJN.js} +13 -13
  123. package/dist/{pdf-sidebar-BLZLycW6.js → pdf-sidebar-PXfgGlmq.js} +4 -4
  124. package/dist/{pdf-thumbnail-sidebar-CStX_EPU.js → pdf-thumbnail-sidebar-7agqWsXT.js} +4 -3
  125. package/dist/{pdf-toolbar-Cp2i5Vhc.js → pdf-toolbar-Blm9CFvh.js} +22 -21
  126. package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
  127. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  128. package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
  129. package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
  130. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  131. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  132. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  133. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  134. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  135. package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
  136. package/dist/requirementDiagram-PLB6GJNP-JpWB5sEv.js +2228 -0
  137. package/dist/rolldown-runtime-CWhphoD1.js +23 -0
  138. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  139. package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
  140. package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
  141. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  142. package/dist/src-CNRY2AUH.js +2142 -0
  143. package/dist/stateDiagram-v2-GCMORJYK-DJkVDIb0.js +2143 -0
  144. package/dist/{stx-player-DNXToHKV.js → stx-player-rs3uH0iI.js} +17 -17
  145. package/dist/swimlanes-2SLR337P-D7Ff0hLr.js +4763 -0
  146. package/dist/swimlanesDiagram-TC7HE7FX-DZZ9d76C.js +28 -0
  147. package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
  148. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  149. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  150. package/dist/usecaseDiagram-POWQR4AR-BrRAt7Wu.js +9932 -0
  151. package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
  152. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  153. package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
  154. package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
  155. package/lib/nuxt/component-names.ts +2 -0
  156. package/package.json +5 -1
  157. package/dist/lib-DfpwxO6u.js +0 -611
@@ -1,7 +1,9 @@
1
- import { defineComponent as e, inject as t, provide as n, reactive as r } from "vue";
1
+ import { a as e } from "./isArrayLikeObject-VG1KOJ3m.js";
2
+ import { t } from "./merge-B4IBXGaq.js";
3
+ import { defineComponent as n, inject as r, provide as i, reactive as a } from "vue";
2
4
  //#endregion
3
5
  //#region lib/i18n/resources/index.ts
4
- var i = {
6
+ var o = {
5
7
  en: { material: {
6
8
  "empty-state": {
7
9
  "not-found": {
@@ -40,6 +42,11 @@ var i = {
40
42
  "scroll-progress": "Scroll progress",
41
43
  "skip-link": "Skip to content",
42
44
  "see-also": "See also",
45
+ emoji: {
46
+ picker: "Emoji",
47
+ pick: "Choose an emoji"
48
+ },
49
+ mentions: { empty: "No matches" },
43
50
  cards: {
44
51
  "per-month": "/ month",
45
52
  total: "Total",
@@ -161,7 +168,13 @@ var i = {
161
168
  answered: "{count} answered",
162
169
  score: "{correct} of {total} correct",
163
170
  results: "Results",
164
- empty: "No questions"
171
+ empty: "No questions",
172
+ quiz: "Quiz",
173
+ review: "Review",
174
+ "kind-choice": "Multiple choice",
175
+ "kind-multi": "Select all that apply",
176
+ "kind-boolean": "True or false",
177
+ "kind-text": "Short answer"
165
178
  },
166
179
  "stx-player": {
167
180
  play: "Play",
@@ -946,6 +959,11 @@ var i = {
946
959
  "scroll-progress": "Progression du défilement",
947
960
  "skip-link": "Aller au contenu",
948
961
  "see-also": "Voir aussi",
962
+ emoji: {
963
+ picker: "Emoji",
964
+ pick: "Choisir un emoji"
965
+ },
966
+ mentions: { empty: "Aucun résultat" },
949
967
  cards: {
950
968
  "per-month": "/ mois",
951
969
  total: "Total",
@@ -1067,7 +1085,13 @@ var i = {
1067
1085
  answered: "{count} répondues",
1068
1086
  score: "{correct} sur {total} correctes",
1069
1087
  results: "Résultats",
1070
- empty: "Aucune question"
1088
+ empty: "Aucune question",
1089
+ quiz: "Quiz",
1090
+ review: "Relecture",
1091
+ "kind-choice": "Choix unique",
1092
+ "kind-multi": "Plusieurs réponses",
1093
+ "kind-boolean": "Vrai ou faux",
1094
+ "kind-text": "Réponse courte"
1071
1095
  },
1072
1096
  "stx-player": {
1073
1097
  play: "Lecture",
@@ -1814,8 +1838,8 @@ var i = {
1814
1838
  required: "requis"
1815
1839
  }
1816
1840
  } }
1817
- }, a = "language", o = "en", s = Object.keys(i), c = Symbol("nxgt-i18n");
1818
- function l(e, t, n) {
1841
+ }, s = "language", c = "en", l = Object.keys(o), u = Symbol("nxgt-i18n");
1842
+ function d(e, t, n) {
1819
1843
  if (typeof localStorage > "u") return t;
1820
1844
  try {
1821
1845
  let r = localStorage.getItem(e);
@@ -1824,32 +1848,32 @@ function l(e, t, n) {
1824
1848
  return t;
1825
1849
  }
1826
1850
  }
1827
- function u(e = {}) {
1828
- let t = e.defaultLanguage ?? "en", i = e.storageKey ?? "language", a = e.supportedLanguages ?? s, o = r({
1829
- language: e.initialLanguage && a.includes(e.initialLanguage) ? e.initialLanguage : l(i, t, a),
1830
- supportedLanguages: a,
1851
+ function f(e = {}) {
1852
+ let t = e.defaultLanguage ?? "en", n = e.storageKey ?? "language", r = e.supportedLanguages ?? l, o = a({
1853
+ language: e.initialLanguage && r.includes(e.initialLanguage) ? e.initialLanguage : d(n, t, r),
1854
+ supportedLanguages: r,
1831
1855
  changeLanguage: (t) => {
1832
- if (!a.includes(t)) {
1856
+ if (!r.includes(t)) {
1833
1857
  console.warn(`[@nxgt/material-vue] Unsupported language: "${t}".`);
1834
1858
  return;
1835
1859
  }
1836
1860
  if (typeof localStorage < "u") try {
1837
- localStorage.setItem(i, t);
1861
+ localStorage.setItem(n, t);
1838
1862
  } catch {}
1839
1863
  o.language = t, e.onLanguageChange?.(t);
1840
1864
  }
1841
1865
  });
1842
- return n(c, o), o;
1866
+ return i(u, o), o;
1843
1867
  }
1844
- function d() {
1845
- let e = t(c, null);
1868
+ function p() {
1869
+ let e = r(u, null);
1846
1870
  if (!e) throw Error("useI18nContext must be used within an I18nProvider");
1847
1871
  return e;
1848
1872
  }
1849
- function f() {
1850
- return t(c, null);
1873
+ function m() {
1874
+ return r(u, null);
1851
1875
  }
1852
- var p = e({
1876
+ var ee = n({
1853
1877
  name: "I18nProvider",
1854
1878
  props: {
1855
1879
  defaultLanguage: String,
@@ -1859,755 +1883,52 @@ var p = e({
1859
1883
  onLanguageChange: Function
1860
1884
  },
1861
1885
  setup(e, { slots: t }) {
1862
- return u(e), () => t.default?.();
1863
- }
1864
- }), m = typeof global == "object" && global && global.Object === Object && global, ee = typeof self == "object" && self && self.Object === Object && self, h = m || ee || Function("return this")(), g = h.Symbol, te = Object.prototype, ne = te.hasOwnProperty, re = te.toString, _ = g ? g.toStringTag : void 0;
1865
- function ie(e) {
1866
- var t = ne.call(e, _), n = e[_];
1867
- try {
1868
- e[_] = void 0;
1869
- var r = !0;
1870
- } catch {}
1871
- var i = re.call(e);
1872
- return r && (t ? e[_] = n : delete e[_]), i;
1873
- }
1874
- //#endregion
1875
- //#region node_modules/lodash-es/_objectToString.js
1876
- var ae = Object.prototype.toString;
1877
- function oe(e) {
1878
- return ae.call(e);
1879
- }
1880
- //#endregion
1881
- //#region node_modules/lodash-es/_baseGetTag.js
1882
- var se = "[object Null]", ce = "[object Undefined]", le = g ? g.toStringTag : void 0;
1883
- function v(e) {
1884
- return e == null ? e === void 0 ? ce : se : le && le in Object(e) ? ie(e) : oe(e);
1885
- }
1886
- //#endregion
1887
- //#region node_modules/lodash-es/isObjectLike.js
1888
- function y(e) {
1889
- return typeof e == "object" && !!e;
1890
- }
1891
- //#endregion
1892
- //#region node_modules/lodash-es/isSymbol.js
1893
- var ue = "[object Symbol]";
1894
- function b(e) {
1895
- return typeof e == "symbol" || y(e) && v(e) == ue;
1896
- }
1897
- //#endregion
1898
- //#region node_modules/lodash-es/_arrayMap.js
1899
- function de(e, t) {
1900
- for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
1901
- return i;
1902
- }
1903
- //#endregion
1904
- //#region node_modules/lodash-es/isArray.js
1905
- var x = Array.isArray, fe = Infinity, pe = g ? g.prototype : void 0, me = pe ? pe.toString : void 0;
1906
- function he(e) {
1907
- if (typeof e == "string") return e;
1908
- if (x(e)) return de(e, he) + "";
1909
- if (b(e)) return me ? me.call(e) : "";
1910
- var t = e + "";
1911
- return t == "0" && 1 / e == -fe ? "-0" : t;
1912
- }
1913
- //#endregion
1914
- //#region node_modules/lodash-es/isObject.js
1915
- function S(e) {
1916
- var t = typeof e;
1917
- return e != null && (t == "object" || t == "function");
1918
- }
1919
- //#endregion
1920
- //#region node_modules/lodash-es/identity.js
1921
- function C(e) {
1922
- return e;
1923
- }
1924
- //#endregion
1925
- //#region node_modules/lodash-es/isFunction.js
1926
- var ge = "[object AsyncFunction]", _e = "[object Function]", ve = "[object GeneratorFunction]", ye = "[object Proxy]";
1927
- function w(e) {
1928
- if (!S(e)) return !1;
1929
- var t = v(e);
1930
- return t == _e || t == ve || t == ge || t == ye;
1931
- }
1932
- //#endregion
1933
- //#region node_modules/lodash-es/_coreJsData.js
1934
- var T = h["__core-js_shared__"], be = function() {
1935
- var e = /[^.]+$/.exec(T && T.keys && T.keys.IE_PROTO || "");
1936
- return e ? "Symbol(src)_1." + e : "";
1937
- }();
1938
- function xe(e) {
1939
- return !!be && be in e;
1940
- }
1941
- //#endregion
1942
- //#region node_modules/lodash-es/_toSource.js
1943
- var Se = Function.prototype.toString;
1944
- function Ce(e) {
1945
- if (e != null) {
1946
- try {
1947
- return Se.call(e);
1948
- } catch {}
1949
- try {
1950
- return e + "";
1951
- } catch {}
1886
+ return f(e), () => t.default?.();
1952
1887
  }
1953
- return "";
1954
- }
1955
- //#endregion
1956
- //#region node_modules/lodash-es/_baseIsNative.js
1957
- var we = /[\\^$.*+?()[\]{}|]/g, Te = /^\[object .+?Constructor\]$/, Ee = Function.prototype, De = Object.prototype, Oe = Ee.toString, ke = De.hasOwnProperty, Ae = RegExp("^" + Oe.call(ke).replace(we, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
1958
- function je(e) {
1959
- return !S(e) || xe(e) ? !1 : (w(e) ? Ae : Te).test(Ce(e));
1960
- }
1961
- //#endregion
1962
- //#region node_modules/lodash-es/_getValue.js
1963
- function Me(e, t) {
1964
- return e?.[t];
1965
- }
1966
- //#endregion
1967
- //#region node_modules/lodash-es/_getNative.js
1968
- function E(e, t) {
1969
- var n = Me(e, t);
1970
- return je(n) ? n : void 0;
1971
- }
1972
- //#endregion
1973
- //#region node_modules/lodash-es/_baseCreate.js
1974
- var Ne = Object.create, Pe = function() {
1975
- function e() {}
1976
- return function(t) {
1977
- if (!S(t)) return {};
1978
- if (Ne) return Ne(t);
1979
- e.prototype = t;
1980
- var n = new e();
1981
- return e.prototype = void 0, n;
1982
- };
1983
- }();
1984
- //#endregion
1985
- //#region node_modules/lodash-es/_apply.js
1986
- function Fe(e, t, n) {
1987
- switch (n.length) {
1988
- case 0: return e.call(t);
1989
- case 1: return e.call(t, n[0]);
1990
- case 2: return e.call(t, n[0], n[1]);
1991
- case 3: return e.call(t, n[0], n[1], n[2]);
1992
- }
1993
- return e.apply(t, n);
1994
- }
1995
- //#endregion
1996
- //#region node_modules/lodash-es/_copyArray.js
1997
- function Ie(e, t) {
1998
- var n = -1, r = e.length;
1999
- for (t ||= Array(r); ++n < r;) t[n] = e[n];
2000
- return t;
2001
- }
2002
- //#endregion
2003
- //#region node_modules/lodash-es/_shortOut.js
2004
- var Le = 800, Re = 16, ze = Date.now;
2005
- function Be(e) {
2006
- var t = 0, n = 0;
2007
- return function() {
2008
- var r = ze(), i = Re - (r - n);
2009
- if (n = r, i > 0) {
2010
- if (++t >= Le) return arguments[0];
2011
- } else t = 0;
2012
- return e.apply(void 0, arguments);
2013
- };
2014
- }
2015
- //#endregion
2016
- //#region node_modules/lodash-es/constant.js
2017
- function Ve(e) {
2018
- return function() {
2019
- return e;
2020
- };
2021
- }
2022
- //#endregion
2023
- //#region node_modules/lodash-es/_defineProperty.js
2024
- var D = function() {
2025
- try {
2026
- var e = E(Object, "defineProperty");
2027
- return e({}, "", {}), e;
2028
- } catch {}
2029
- }(), He = Be(D ? function(e, t) {
2030
- return D(e, "toString", {
2031
- configurable: !0,
2032
- enumerable: !1,
2033
- value: Ve(t),
2034
- writable: !0
2035
- });
2036
- } : C), Ue = 9007199254740991, We = /^(?:0|[1-9]\d*)$/;
2037
- function O(e, t) {
2038
- var n = typeof e;
2039
- return t ??= Ue, !!t && (n == "number" || n != "symbol" && We.test(e)) && e > -1 && e % 1 == 0 && e < t;
2040
- }
2041
- //#endregion
2042
- //#region node_modules/lodash-es/_baseAssignValue.js
2043
- function k(e, t, n) {
2044
- t == "__proto__" && D ? D(e, t, {
2045
- configurable: !0,
2046
- enumerable: !0,
2047
- value: n,
2048
- writable: !0
2049
- }) : e[t] = n;
2050
- }
2051
- //#endregion
2052
- //#region node_modules/lodash-es/eq.js
2053
- function A(e, t) {
2054
- return e === t || e !== e && t !== t;
2055
- }
2056
- //#endregion
2057
- //#region node_modules/lodash-es/_assignValue.js
2058
- var Ge = Object.prototype.hasOwnProperty;
2059
- function Ke(e, t, n) {
2060
- var r = e[t];
2061
- (!(Ge.call(e, t) && A(r, n)) || n === void 0 && !(t in e)) && k(e, t, n);
2062
- }
2063
- //#endregion
2064
- //#region node_modules/lodash-es/_copyObject.js
2065
- function qe(e, t, n, r) {
2066
- var i = !n;
2067
- n ||= {};
2068
- for (var a = -1, o = t.length; ++a < o;) {
2069
- var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
2070
- c === void 0 && (c = e[s]), i ? k(n, s, c) : Ke(n, s, c);
2071
- }
2072
- return n;
2073
- }
2074
- //#endregion
2075
- //#region node_modules/lodash-es/_overRest.js
2076
- var Je = Math.max;
2077
- function Ye(e, t, n) {
2078
- return t = Je(t === void 0 ? e.length - 1 : t, 0), function() {
2079
- for (var r = arguments, i = -1, a = Je(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
2080
- i = -1;
2081
- for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
2082
- return s[t] = n(o), Fe(e, this, s);
2083
- };
2084
- }
2085
- //#endregion
2086
- //#region node_modules/lodash-es/_baseRest.js
2087
- function Xe(e, t) {
2088
- return He(Ye(e, t, C), e + "");
2089
- }
2090
- //#endregion
2091
- //#region node_modules/lodash-es/isLength.js
2092
- var Ze = 9007199254740991;
2093
- function j(e) {
2094
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ze;
2095
- }
2096
- //#endregion
2097
- //#region node_modules/lodash-es/isArrayLike.js
2098
- function M(e) {
2099
- return e != null && j(e.length) && !w(e);
2100
- }
2101
- //#endregion
2102
- //#region node_modules/lodash-es/_isIterateeCall.js
2103
- function Qe(e, t, n) {
2104
- if (!S(n)) return !1;
2105
- var r = typeof t;
2106
- return (r == "number" ? M(n) && O(t, n.length) : r == "string" && t in n) ? A(n[t], e) : !1;
2107
- }
2108
- //#endregion
2109
- //#region node_modules/lodash-es/_createAssigner.js
2110
- function $e(e) {
2111
- return Xe(function(t, n) {
2112
- var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
2113
- for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && Qe(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
2114
- var s = n[r];
2115
- s && e(t, s, r, a);
2116
- }
2117
- return t;
2118
- });
2119
- }
2120
- //#endregion
2121
- //#region node_modules/lodash-es/_isPrototype.js
2122
- var et = Object.prototype;
2123
- function N(e) {
2124
- var t = e && e.constructor;
2125
- return e === (typeof t == "function" && t.prototype || et);
2126
- }
2127
- //#endregion
2128
- //#region node_modules/lodash-es/_baseTimes.js
2129
- function tt(e, t) {
2130
- for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
2131
- return r;
2132
- }
2133
- //#endregion
2134
- //#region node_modules/lodash-es/_baseIsArguments.js
2135
- var nt = "[object Arguments]";
2136
- function rt(e) {
2137
- return y(e) && v(e) == nt;
2138
- }
2139
- //#endregion
2140
- //#region node_modules/lodash-es/isArguments.js
2141
- var it = Object.prototype, at = it.hasOwnProperty, ot = it.propertyIsEnumerable, P = rt(function() {
2142
- return arguments;
2143
- }()) ? rt : function(e) {
2144
- return y(e) && at.call(e, "callee") && !ot.call(e, "callee");
2145
- };
2146
- //#endregion
2147
- //#region node_modules/lodash-es/stubFalse.js
2148
- function st() {
2149
- return !1;
2150
- }
2151
- //#endregion
2152
- //#region node_modules/lodash-es/isBuffer.js
2153
- var ct = typeof exports == "object" && exports && !exports.nodeType && exports, lt = ct && typeof module == "object" && module && !module.nodeType && module, ut = lt && lt.exports === ct ? h.Buffer : void 0, dt = (ut ? ut.isBuffer : void 0) || st, ft = "[object Arguments]", pt = "[object Array]", mt = "[object Boolean]", ht = "[object Date]", gt = "[object Error]", _t = "[object Function]", vt = "[object Map]", yt = "[object Number]", bt = "[object Object]", xt = "[object RegExp]", St = "[object Set]", Ct = "[object String]", wt = "[object WeakMap]", Tt = "[object ArrayBuffer]", Et = "[object DataView]", Dt = "[object Float32Array]", Ot = "[object Float64Array]", kt = "[object Int8Array]", At = "[object Int16Array]", jt = "[object Int32Array]", Mt = "[object Uint8Array]", Nt = "[object Uint8ClampedArray]", Pt = "[object Uint16Array]", Ft = "[object Uint32Array]", F = {};
2154
- F[Dt] = F[Ot] = F[kt] = F[At] = F[jt] = F[Mt] = F[Nt] = F[Pt] = F[Ft] = !0, F[ft] = F[pt] = F[Tt] = F[mt] = F[Et] = F[ht] = F[gt] = F[_t] = F[vt] = F[yt] = F[bt] = F[xt] = F[St] = F[Ct] = F[wt] = !1;
2155
- function It(e) {
2156
- return y(e) && j(e.length) && !!F[v(e)];
2157
- }
2158
- //#endregion
2159
- //#region node_modules/lodash-es/_baseUnary.js
2160
- function Lt(e) {
2161
- return function(t) {
2162
- return e(t);
2163
- };
2164
- }
2165
- //#endregion
2166
- //#region node_modules/lodash-es/_nodeUtil.js
2167
- var Rt = typeof exports == "object" && exports && !exports.nodeType && exports, I = Rt && typeof module == "object" && module && !module.nodeType && module, zt = I && I.exports === Rt && m.process, Bt = function() {
2168
- try {
2169
- return I && I.require && I.require("util").types || zt && zt.binding && zt.binding("util");
2170
- } catch {}
2171
- }(), Vt = Bt && Bt.isTypedArray, Ht = Vt ? Lt(Vt) : It, Ut = Object.prototype.hasOwnProperty;
2172
- function Wt(e, t) {
2173
- var n = x(e), r = !n && P(e), i = !n && !r && dt(e), a = !n && !r && !i && Ht(e), o = n || r || i || a, s = o ? tt(e.length, String) : [], c = s.length;
2174
- for (var l in e) (t || Ut.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || O(l, c))) && s.push(l);
2175
- return s;
2176
- }
2177
- //#endregion
2178
- //#region node_modules/lodash-es/_overArg.js
2179
- function Gt(e, t) {
2180
- return function(n) {
2181
- return e(t(n));
2182
- };
2183
- }
2184
- //#endregion
2185
- //#region node_modules/lodash-es/_nativeKeysIn.js
2186
- function Kt(e) {
2187
- var t = [];
2188
- if (e != null) for (var n in Object(e)) t.push(n);
2189
- return t;
2190
- }
2191
- //#endregion
2192
- //#region node_modules/lodash-es/_baseKeysIn.js
2193
- var qt = Object.prototype.hasOwnProperty;
2194
- function Jt(e) {
2195
- if (!S(e)) return Kt(e);
2196
- var t = N(e), n = [];
2197
- for (var r in e) r == "constructor" && (t || !qt.call(e, r)) || n.push(r);
2198
- return n;
2199
- }
2200
- //#endregion
2201
- //#region node_modules/lodash-es/keysIn.js
2202
- function Yt(e) {
2203
- return M(e) ? Wt(e, !0) : Jt(e);
2204
- }
2205
- //#endregion
2206
- //#region node_modules/lodash-es/_isKey.js
2207
- var Xt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zt = /^\w*$/;
2208
- function Qt(e, t) {
2209
- if (x(e)) return !1;
2210
- var n = typeof e;
2211
- return n == "number" || n == "symbol" || n == "boolean" || e == null || b(e) ? !0 : Zt.test(e) || !Xt.test(e) || t != null && e in Object(t);
2212
- }
2213
- //#endregion
2214
- //#region node_modules/lodash-es/_nativeCreate.js
2215
- var L = E(Object, "create");
2216
- //#endregion
2217
- //#region node_modules/lodash-es/_hashClear.js
2218
- function $t() {
2219
- this.__data__ = L ? L(null) : {}, this.size = 0;
2220
- }
2221
- //#endregion
2222
- //#region node_modules/lodash-es/_hashDelete.js
2223
- function en(e) {
2224
- var t = this.has(e) && delete this.__data__[e];
2225
- return this.size -= +!!t, t;
2226
- }
2227
- //#endregion
2228
- //#region node_modules/lodash-es/_hashGet.js
2229
- var tn = "__lodash_hash_undefined__", nn = Object.prototype.hasOwnProperty;
2230
- function rn(e) {
2231
- var t = this.__data__;
2232
- if (L) {
2233
- var n = t[e];
2234
- return n === tn ? void 0 : n;
2235
- }
2236
- return nn.call(t, e) ? t[e] : void 0;
2237
- }
2238
- //#endregion
2239
- //#region node_modules/lodash-es/_hashHas.js
2240
- var an = Object.prototype.hasOwnProperty;
2241
- function on(e) {
2242
- var t = this.__data__;
2243
- return L ? t[e] !== void 0 : an.call(t, e);
2244
- }
2245
- //#endregion
2246
- //#region node_modules/lodash-es/_hashSet.js
2247
- var sn = "__lodash_hash_undefined__";
2248
- function cn(e, t) {
2249
- var n = this.__data__;
2250
- return this.size += +!this.has(e), n[e] = L && t === void 0 ? sn : t, this;
2251
- }
2252
- //#endregion
2253
- //#region node_modules/lodash-es/_Hash.js
2254
- function R(e) {
2255
- var t = -1, n = e == null ? 0 : e.length;
2256
- for (this.clear(); ++t < n;) {
2257
- var r = e[t];
2258
- this.set(r[0], r[1]);
2259
- }
2260
- }
2261
- R.prototype.clear = $t, R.prototype.delete = en, R.prototype.get = rn, R.prototype.has = on, R.prototype.set = cn;
2262
- //#endregion
2263
- //#region node_modules/lodash-es/_listCacheClear.js
2264
- function ln() {
2265
- this.__data__ = [], this.size = 0;
2266
- }
2267
- //#endregion
2268
- //#region node_modules/lodash-es/_assocIndexOf.js
2269
- function z(e, t) {
2270
- for (var n = e.length; n--;) if (A(e[n][0], t)) return n;
2271
- return -1;
2272
- }
2273
- //#endregion
2274
- //#region node_modules/lodash-es/_listCacheDelete.js
2275
- var un = Array.prototype.splice;
2276
- function dn(e) {
2277
- var t = this.__data__, n = z(t, e);
2278
- return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : un.call(t, n, 1), --this.size, !0);
2279
- }
2280
- //#endregion
2281
- //#region node_modules/lodash-es/_listCacheGet.js
2282
- function fn(e) {
2283
- var t = this.__data__, n = z(t, e);
2284
- return n < 0 ? void 0 : t[n][1];
2285
- }
2286
- //#endregion
2287
- //#region node_modules/lodash-es/_listCacheHas.js
2288
- function pn(e) {
2289
- return z(this.__data__, e) > -1;
2290
- }
2291
- //#endregion
2292
- //#region node_modules/lodash-es/_listCacheSet.js
2293
- function mn(e, t) {
2294
- var n = this.__data__, r = z(n, e);
2295
- return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
2296
- }
2297
- //#endregion
2298
- //#region node_modules/lodash-es/_ListCache.js
2299
- function B(e) {
2300
- var t = -1, n = e == null ? 0 : e.length;
2301
- for (this.clear(); ++t < n;) {
2302
- var r = e[t];
2303
- this.set(r[0], r[1]);
2304
- }
2305
- }
2306
- B.prototype.clear = ln, B.prototype.delete = dn, B.prototype.get = fn, B.prototype.has = pn, B.prototype.set = mn;
2307
- //#endregion
2308
- //#region node_modules/lodash-es/_Map.js
2309
- var V = E(h, "Map");
2310
- //#endregion
2311
- //#region node_modules/lodash-es/_mapCacheClear.js
2312
- function hn() {
2313
- this.size = 0, this.__data__ = {
2314
- hash: new R(),
2315
- map: new (V || B)(),
2316
- string: new R()
2317
- };
2318
- }
2319
- //#endregion
2320
- //#region node_modules/lodash-es/_isKeyable.js
2321
- function gn(e) {
2322
- var t = typeof e;
2323
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
2324
- }
2325
- //#endregion
2326
- //#region node_modules/lodash-es/_getMapData.js
2327
- function H(e, t) {
2328
- var n = e.__data__;
2329
- return gn(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
2330
- }
2331
- //#endregion
2332
- //#region node_modules/lodash-es/_mapCacheDelete.js
2333
- function _n(e) {
2334
- var t = H(this, e).delete(e);
2335
- return this.size -= +!!t, t;
2336
- }
2337
- //#endregion
2338
- //#region node_modules/lodash-es/_mapCacheGet.js
2339
- function vn(e) {
2340
- return H(this, e).get(e);
2341
- }
2342
- //#endregion
2343
- //#region node_modules/lodash-es/_mapCacheHas.js
2344
- function yn(e) {
2345
- return H(this, e).has(e);
2346
- }
2347
- //#endregion
2348
- //#region node_modules/lodash-es/_mapCacheSet.js
2349
- function bn(e, t) {
2350
- var n = H(this, e), r = n.size;
2351
- return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
2352
- }
2353
- //#endregion
2354
- //#region node_modules/lodash-es/_MapCache.js
2355
- function U(e) {
2356
- var t = -1, n = e == null ? 0 : e.length;
2357
- for (this.clear(); ++t < n;) {
2358
- var r = e[t];
2359
- this.set(r[0], r[1]);
2360
- }
2361
- }
2362
- U.prototype.clear = hn, U.prototype.delete = _n, U.prototype.get = vn, U.prototype.has = yn, U.prototype.set = bn;
2363
- //#endregion
2364
- //#region node_modules/lodash-es/memoize.js
2365
- var xn = "Expected a function";
2366
- function W(e, t) {
2367
- if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(xn);
2368
- var n = function() {
2369
- var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
2370
- if (a.has(i)) return a.get(i);
2371
- var o = e.apply(this, r);
2372
- return n.cache = a.set(i, o) || a, o;
2373
- };
2374
- return n.cache = new (W.Cache || U)(), n;
2375
- }
2376
- W.Cache = U;
2377
- //#endregion
2378
- //#region node_modules/lodash-es/_memoizeCapped.js
2379
- var Sn = 500;
2380
- function Cn(e) {
2381
- var t = W(e, function(e) {
2382
- return n.size === Sn && n.clear(), e;
2383
- }), n = t.cache;
2384
- return t;
2385
- }
2386
- //#endregion
2387
- //#region node_modules/lodash-es/_stringToPath.js
2388
- var wn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Tn = /\\(\\)?/g, En = Cn(function(e) {
2389
- var t = [];
2390
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(wn, function(e, n, r, i) {
2391
- t.push(r ? i.replace(Tn, "$1") : n || e);
2392
- }), t;
2393
- });
2394
- //#endregion
2395
- //#region node_modules/lodash-es/toString.js
2396
- function Dn(e) {
2397
- return e == null ? "" : he(e);
2398
- }
2399
- //#endregion
2400
- //#region node_modules/lodash-es/_castPath.js
2401
- function On(e, t) {
2402
- return x(e) ? e : Qt(e, t) ? [e] : En(Dn(e));
2403
- }
2404
- //#endregion
2405
- //#region node_modules/lodash-es/_toKey.js
2406
- var kn = Infinity;
2407
- function An(e) {
2408
- if (typeof e == "string" || b(e)) return e;
2409
- var t = e + "";
2410
- return t == "0" && 1 / e == -kn ? "-0" : t;
2411
- }
2412
- //#endregion
2413
- //#region node_modules/lodash-es/_baseGet.js
2414
- function jn(e, t) {
2415
- t = On(t, e);
2416
- for (var n = 0, r = t.length; e != null && n < r;) e = e[An(t[n++])];
2417
- return n && n == r ? e : void 0;
2418
- }
2419
- //#endregion
2420
- //#region node_modules/lodash-es/get.js
2421
- function Mn(e, t, n) {
2422
- var r = e == null ? void 0 : jn(e, t);
2423
- return r === void 0 ? n : r;
2424
- }
2425
- //#endregion
2426
- //#region node_modules/lodash-es/_getPrototype.js
2427
- var G = Gt(Object.getPrototypeOf, Object), Nn = "[object Object]", Pn = Function.prototype, Fn = Object.prototype, In = Pn.toString, Ln = Fn.hasOwnProperty, Rn = In.call(Object);
2428
- function zn(e) {
2429
- if (!y(e) || v(e) != Nn) return !1;
2430
- var t = G(e);
2431
- if (t === null) return !0;
2432
- var n = Ln.call(t, "constructor") && t.constructor;
2433
- return typeof n == "function" && n instanceof n && In.call(n) == Rn;
2434
- }
2435
- //#endregion
2436
- //#region node_modules/lodash-es/_stackClear.js
2437
- function Bn() {
2438
- this.__data__ = new B(), this.size = 0;
2439
- }
2440
- //#endregion
2441
- //#region node_modules/lodash-es/_stackDelete.js
2442
- function Vn(e) {
2443
- var t = this.__data__, n = t.delete(e);
2444
- return this.size = t.size, n;
2445
- }
2446
- //#endregion
2447
- //#region node_modules/lodash-es/_stackGet.js
2448
- function Hn(e) {
2449
- return this.__data__.get(e);
2450
- }
2451
- //#endregion
2452
- //#region node_modules/lodash-es/_stackHas.js
2453
- function Un(e) {
2454
- return this.__data__.has(e);
2455
- }
2456
- //#endregion
2457
- //#region node_modules/lodash-es/_stackSet.js
2458
- var Wn = 200;
2459
- function Gn(e, t) {
2460
- var n = this.__data__;
2461
- if (n instanceof B) {
2462
- var r = n.__data__;
2463
- if (!V || r.length < Wn - 1) return r.push([e, t]), this.size = ++n.size, this;
2464
- n = this.__data__ = new U(r);
2465
- }
2466
- return n.set(e, t), this.size = n.size, this;
2467
- }
2468
- //#endregion
2469
- //#region node_modules/lodash-es/_Stack.js
2470
- function K(e) {
2471
- var t = this.__data__ = new B(e);
2472
- this.size = t.size;
2473
- }
2474
- K.prototype.clear = Bn, K.prototype.delete = Vn, K.prototype.get = Hn, K.prototype.has = Un, K.prototype.set = Gn;
2475
- //#endregion
2476
- //#region node_modules/lodash-es/_cloneBuffer.js
2477
- var Kn = typeof exports == "object" && exports && !exports.nodeType && exports, qn = Kn && typeof module == "object" && module && !module.nodeType && module, Jn = qn && qn.exports === Kn ? h.Buffer : void 0, Yn = Jn ? Jn.allocUnsafe : void 0;
2478
- function Xn(e, t) {
2479
- if (t) return e.slice();
2480
- var n = e.length, r = Yn ? Yn(n) : new e.constructor(n);
2481
- return e.copy(r), r;
2482
- }
2483
- //#endregion
2484
- //#region node_modules/lodash-es/_Uint8Array.js
2485
- var q = h.Uint8Array;
2486
- //#endregion
2487
- //#region node_modules/lodash-es/_cloneArrayBuffer.js
2488
- function Zn(e) {
2489
- var t = new e.constructor(e.byteLength);
2490
- return new q(t).set(new q(e)), t;
2491
- }
2492
- //#endregion
2493
- //#region node_modules/lodash-es/_cloneTypedArray.js
2494
- function Qn(e, t) {
2495
- var n = t ? Zn(e.buffer) : e.buffer;
2496
- return new e.constructor(n, e.byteOffset, e.length);
2497
- }
2498
- //#endregion
2499
- //#region node_modules/lodash-es/_initCloneObject.js
2500
- function $n(e) {
2501
- return typeof e.constructor == "function" && !N(e) ? Pe(G(e)) : {};
2502
- }
2503
- //#endregion
2504
- //#region node_modules/lodash-es/_createBaseFor.js
2505
- function er(e) {
2506
- return function(t, n, r) {
2507
- for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
2508
- var c = o[e ? s : ++i];
2509
- if (n(a[c], c, a) === !1) break;
2510
- }
2511
- return t;
2512
- };
2513
- }
2514
- //#endregion
2515
- //#region node_modules/lodash-es/_baseFor.js
2516
- var tr = er();
2517
- //#endregion
2518
- //#region node_modules/lodash-es/_assignMergeValue.js
2519
- function J(e, t, n) {
2520
- (n !== void 0 && !A(e[t], n) || n === void 0 && !(t in e)) && k(e, t, n);
2521
- }
2522
- //#endregion
2523
- //#region node_modules/lodash-es/isArrayLikeObject.js
2524
- function nr(e) {
2525
- return y(e) && M(e);
2526
- }
2527
- //#endregion
2528
- //#region node_modules/lodash-es/_safeGet.js
2529
- function Y(e, t) {
2530
- if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
2531
- }
2532
- //#endregion
2533
- //#region node_modules/lodash-es/toPlainObject.js
2534
- function rr(e) {
2535
- return qe(e, Yt(e));
2536
- }
2537
- //#endregion
2538
- //#region node_modules/lodash-es/_baseMergeDeep.js
2539
- function ir(e, t, n, r, i, a, o) {
2540
- var s = Y(e, n), c = Y(t, n), l = o.get(c);
2541
- if (l) {
2542
- J(e, n, l);
2543
- return;
2544
- }
2545
- var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
2546
- if (d) {
2547
- var f = x(c), p = !f && dt(c), m = !f && !p && Ht(c);
2548
- u = c, f || p || m ? x(s) ? u = s : nr(s) ? u = Ie(s) : p ? (d = !1, u = Xn(c, !0)) : m ? (d = !1, u = Qn(c, !0)) : u = [] : zn(c) || P(c) ? (u = s, P(s) ? u = rr(s) : (!S(s) || w(s)) && (u = $n(c))) : d = !1;
2549
- }
2550
- d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), J(e, n, u);
2551
- }
2552
- //#endregion
2553
- //#region node_modules/lodash-es/_baseMerge.js
2554
- function ar(e, t, n, r, i) {
2555
- e !== t && tr(t, function(a, o) {
2556
- if (i ||= new K(), S(a)) ir(e, t, o, n, ar, r, i);
2557
- else {
2558
- var s = r ? r(Y(e, o), a, o + "", e, t, i) : void 0;
2559
- s === void 0 && (s = a), J(e, o, s);
2560
- }
2561
- }, Yt);
2562
- }
2563
- //#endregion
2564
- //#region node_modules/lodash-es/merge.js
2565
- var or = $e(function(e, t, n) {
2566
- ar(e, t, n);
2567
1888
  });
2568
1889
  //#endregion
2569
1890
  //#region lib/i18n/merge-resources.ts
2570
- function sr(e, t) {
2571
- let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]), r = {};
2572
- for (let i of n) r[i] = or({}, e[i] ?? {}, t[i] ?? {});
2573
- return r;
1891
+ function h(e, n) {
1892
+ let r = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(n)]), i = {};
1893
+ for (let a of r) i[a] = t({}, e[a] ?? {}, n[a] ?? {});
1894
+ return i;
2574
1895
  }
2575
1896
  //#endregion
2576
1897
  //#region node_modules/@formatjs/fast-memoize/index.js
2577
- function cr(e, t) {
2578
- let n = t && t.cache ? t.cache : vr, r = t && t.serializer ? t.serializer : gr;
2579
- return (t && t.strategy ? t.strategy : pr)(e, {
1898
+ function g(e, t) {
1899
+ let n = t && t.cache ? t.cache : se, r = t && t.serializer ? t.serializer : ae;
1900
+ return (t && t.strategy ? t.strategy : ne)(e, {
2580
1901
  cache: n,
2581
1902
  serializer: r
2582
1903
  });
2583
1904
  }
2584
- function lr(e) {
1905
+ function te(e) {
2585
1906
  return e == null || typeof e == "number" || typeof e == "boolean";
2586
1907
  }
2587
- function ur(e, t, n, r) {
2588
- let i = lr(r) ? r : n(r), a = t.get(i);
1908
+ function _(e, t, n, r) {
1909
+ let i = te(r) ? r : n(r), a = t.get(i);
2589
1910
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
2590
1911
  }
2591
- function dr(e, t, n) {
1912
+ function v(e, t, n) {
2592
1913
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
2593
1914
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
2594
1915
  }
2595
- function fr(e, t, n, r, i) {
1916
+ function y(e, t, n, r, i) {
2596
1917
  return n.bind(t, e, r, i);
2597
1918
  }
2598
- function pr(e, t) {
2599
- let n = e.length === 1 ? ur : dr;
2600
- return fr(e, this, n, t.cache.create(), t.serializer);
1919
+ function ne(e, t) {
1920
+ let n = e.length === 1 ? _ : v;
1921
+ return y(e, this, n, t.cache.create(), t.serializer);
2601
1922
  }
2602
- function mr(e, t) {
2603
- return fr(e, this, dr, t.cache.create(), t.serializer);
1923
+ function re(e, t) {
1924
+ return y(e, this, v, t.cache.create(), t.serializer);
2604
1925
  }
2605
- function hr(e, t) {
2606
- return fr(e, this, ur, t.cache.create(), t.serializer);
1926
+ function ie(e, t) {
1927
+ return y(e, this, _, t.cache.create(), t.serializer);
2607
1928
  }
2608
- var gr = function() {
1929
+ var ae = function() {
2609
1930
  return JSON.stringify(arguments);
2610
- }, _r = class {
1931
+ }, oe = class {
2611
1932
  constructor() {
2612
1933
  this.cache = Object.create(null);
2613
1934
  }
@@ -2617,15 +1938,15 @@ var gr = function() {
2617
1938
  set(e, t) {
2618
1939
  this.cache[e] = t;
2619
1940
  }
2620
- }, vr = { create: function() {
2621
- return new _r();
2622
- } }, yr = {
2623
- variadic: mr,
2624
- monadic: hr
2625
- }, br = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
2626
- function xr(e) {
1941
+ }, se = { create: function() {
1942
+ return new oe();
1943
+ } }, b = {
1944
+ variadic: re,
1945
+ monadic: ie
1946
+ }, ce = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1947
+ function x(e) {
2627
1948
  let t = {};
2628
- return e.replace(br, (e) => {
1949
+ return e.replace(ce, (e) => {
2629
1950
  let n = e.length;
2630
1951
  switch (e[0]) {
2631
1952
  case "G":
@@ -2720,10 +2041,10 @@ function xr(e) {
2720
2041
  return "";
2721
2042
  }), t;
2722
2043
  }
2723
- var Sr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2724
- function Cr(e) {
2044
+ var S = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2045
+ function le(e) {
2725
2046
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
2726
- let t = e.split(Sr).filter((e) => e.length > 0), n = [];
2047
+ let t = e.split(S).filter((e) => e.length > 0), n = [];
2727
2048
  for (let e of t) {
2728
2049
  let t = e.split("/");
2729
2050
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -2736,17 +2057,17 @@ function Cr(e) {
2736
2057
  }
2737
2058
  return n;
2738
2059
  }
2739
- function wr(e) {
2060
+ function ue(e) {
2740
2061
  return e.replace(/^(.*?)-/, "");
2741
2062
  }
2742
- var Tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Dr = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
2743
- function kr(e) {
2063
+ var C = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, w = /^(@+)?(\+|#+)?[rs]?$/g, de = /(\*)(0+)|(#+)(0+)|(0+)/g, T = /^(0+)$/;
2064
+ function E(e) {
2744
2065
  let t = {};
2745
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(e, n, r) {
2066
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(w, function(e, n, r) {
2746
2067
  return typeof r == "string" ? r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)) : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length), "";
2747
2068
  }), t;
2748
2069
  }
2749
- function Ar(e) {
2070
+ function D(e) {
2750
2071
  switch (e) {
2751
2072
  case "sign-auto": return { signDisplay: "auto" };
2752
2073
  case "sign-accounting":
@@ -2769,19 +2090,19 @@ function Ar(e) {
2769
2090
  case "+_": return { signDisplay: "never" };
2770
2091
  }
2771
2092
  }
2772
- function jr(e) {
2093
+ function fe(e) {
2773
2094
  let t;
2774
2095
  if (e[0] === "E" && e[1] === "E" ? (t = { notation: "engineering" }, e = e.slice(2)) : e[0] === "E" && (t = { notation: "scientific" }, e = e.slice(1)), t) {
2775
2096
  let n = e.slice(0, 2);
2776
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e)) throw Error("Malformed concise eng/scientific notation");
2097
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !T.test(e)) throw Error("Malformed concise eng/scientific notation");
2777
2098
  t.minimumIntegerDigits = e.length;
2778
2099
  }
2779
2100
  return t;
2780
2101
  }
2781
- function Mr(e) {
2782
- return Ar(e) || {};
2102
+ function O(e) {
2103
+ return D(e) || {};
2783
2104
  }
2784
- function Nr(e) {
2105
+ function pe(e) {
2785
2106
  let t = {};
2786
2107
  for (let n of e) {
2787
2108
  switch (n.stem) {
@@ -2805,7 +2126,7 @@ function Nr(e) {
2805
2126
  continue;
2806
2127
  case "measure-unit":
2807
2128
  case "unit":
2808
- t.style = "unit", t.unit = wr(n.options[0]);
2129
+ t.style = "unit", t.unit = ue(n.options[0]);
2809
2130
  continue;
2810
2131
  case "compact-short":
2811
2132
  case "K":
@@ -2821,7 +2142,7 @@ function Nr(e) {
2821
2142
  notation: "scientific",
2822
2143
  ...n.options.reduce((e, t) => ({
2823
2144
  ...e,
2824
- ...Mr(t)
2145
+ ...O(t)
2825
2146
  }), {})
2826
2147
  };
2827
2148
  continue;
@@ -2831,7 +2152,7 @@ function Nr(e) {
2831
2152
  notation: "engineering",
2832
2153
  ...n.options.reduce((e, t) => ({
2833
2154
  ...e,
2834
- ...Mr(t)
2155
+ ...O(t)
2835
2156
  }), {})
2836
2157
  };
2837
2158
  continue;
@@ -2876,7 +2197,7 @@ function Nr(e) {
2876
2197
  continue;
2877
2198
  case "integer-width":
2878
2199
  if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
2879
- n.options[0].replace(Dr, function(e, n, r, i, a, o) {
2200
+ n.options[0].replace(de, function(e, n, r, i, a, o) {
2880
2201
  if (n) t.minimumIntegerDigits = r.length;
2881
2202
  else if (i && a) throw Error("We currently do not support maximum integer digits");
2882
2203
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -2884,13 +2205,13 @@ function Nr(e) {
2884
2205
  });
2885
2206
  continue;
2886
2207
  }
2887
- if (Or.test(n.stem)) {
2208
+ if (T.test(n.stem)) {
2888
2209
  t.minimumIntegerDigits = n.stem.length;
2889
2210
  continue;
2890
2211
  }
2891
- if (Tr.test(n.stem)) {
2212
+ if (C.test(n.stem)) {
2892
2213
  if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
2893
- n.stem.replace(Tr, function(e, n, r, i, a, o) {
2214
+ n.stem.replace(C, function(e, n, r, i, a, o) {
2894
2215
  return r === "*" ? t.minimumFractionDigits = n.length : i && i[0] === "#" ? t.maximumFractionDigits = i.length : a && o ? (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length + o.length) : (t.minimumFractionDigits = n.length, t.maximumFractionDigits = n.length), "";
2895
2216
  });
2896
2217
  let e = n.options[0];
@@ -2899,23 +2220,23 @@ function Nr(e) {
2899
2220
  trailingZeroDisplay: "stripIfInteger"
2900
2221
  } : e && (t = {
2901
2222
  ...t,
2902
- ...kr(e)
2223
+ ...E(e)
2903
2224
  });
2904
2225
  continue;
2905
2226
  }
2906
- if (Er.test(n.stem)) {
2227
+ if (w.test(n.stem)) {
2907
2228
  t = {
2908
2229
  ...t,
2909
- ...kr(n.stem)
2230
+ ...E(n.stem)
2910
2231
  };
2911
2232
  continue;
2912
2233
  }
2913
- let e = Ar(n.stem);
2234
+ let e = D(n.stem);
2914
2235
  e && (t = {
2915
2236
  ...t,
2916
2237
  ...e
2917
2238
  });
2918
- let r = jr(n.stem);
2239
+ let r = fe(n.stem);
2919
2240
  r && (t = {
2920
2241
  ...t,
2921
2242
  ...r
@@ -2925,43 +2246,43 @@ function Nr(e) {
2925
2246
  }
2926
2247
  //#endregion
2927
2248
  //#region node_modules/@formatjs/icu-messageformat-parser/index.js
2928
- var Pr = /* @__PURE__ */ function(e) {
2249
+ var me = /* @__PURE__ */ function(e) {
2929
2250
  return e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG", e;
2930
2251
  }({});
2931
- function Fr(e) {
2252
+ function k(e) {
2932
2253
  return e.type === 0;
2933
2254
  }
2934
- function Ir(e) {
2255
+ function he(e) {
2935
2256
  return e.type === 1;
2936
2257
  }
2937
- function Lr(e) {
2258
+ function A(e) {
2938
2259
  return e.type === 2;
2939
2260
  }
2940
- function Rr(e) {
2261
+ function j(e) {
2941
2262
  return e.type === 3;
2942
2263
  }
2943
- function zr(e) {
2264
+ function M(e) {
2944
2265
  return e.type === 4;
2945
2266
  }
2946
- function Br(e) {
2267
+ function N(e) {
2947
2268
  return e.type === 5;
2948
2269
  }
2949
- function Vr(e) {
2270
+ function P(e) {
2950
2271
  return e.type === 6;
2951
2272
  }
2952
- function Hr(e) {
2273
+ function F(e) {
2953
2274
  return e.type === 7;
2954
2275
  }
2955
- function Ur(e) {
2276
+ function I(e) {
2956
2277
  return e.type === 8;
2957
2278
  }
2958
- function Wr(e) {
2279
+ function L(e) {
2959
2280
  return !!(e && typeof e == "object" && e.type === 0);
2960
2281
  }
2961
- function Gr(e) {
2282
+ function R(e) {
2962
2283
  return !!(e && typeof e == "object" && e.type === 1);
2963
2284
  }
2964
- var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
2285
+ var z = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, B = {
2965
2286
  "001": ["H", "h"],
2966
2287
  419: [
2967
2288
  "h",
@@ -4124,21 +3445,21 @@ var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
4124
3445
  "h"
4125
3446
  ]
4126
3447
  };
4127
- function qr(e, t) {
3448
+ function ge(e, t) {
4128
3449
  let n = "";
4129
3450
  for (let r = 0; r < e.length; r++) {
4130
3451
  let i = e.charAt(r);
4131
3452
  if (i === "j") {
4132
3453
  let a = 0;
4133
3454
  for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
4134
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = Jr(t);
3455
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = _e(t);
4135
3456
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
4136
3457
  for (; o-- > 0;) n = c + n;
4137
3458
  } else i === "J" ? n += "H" : n += i;
4138
3459
  }
4139
3460
  return n;
4140
3461
  }
4141
- function Jr(e) {
3462
+ function _e(e) {
4142
3463
  let t = e.hourCycle;
4143
3464
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
4144
3465
  case "h24": return "k";
@@ -4148,32 +3469,32 @@ function Jr(e) {
4148
3469
  default: throw Error("Invalid hourCycle");
4149
3470
  }
4150
3471
  let n = e.language, r;
4151
- return n !== "root" && (r = e.maximize().region), (X[r || ""] || X[n || ""] || X[`${n}-001`] || X["001"])[0];
3472
+ return n !== "root" && (r = e.maximize().region), (B[r || ""] || B[n || ""] || B[`${n}-001`] || B["001"])[0];
4152
3473
  }
4153
- var Yr = RegExp(`^${Kr.source}*`), Xr = RegExp(`${Kr.source}*$`);
4154
- function Z(e, t) {
3474
+ var ve = RegExp(`^${z.source}*`), ye = RegExp(`${z.source}*$`);
3475
+ function V(e, t) {
4155
3476
  return {
4156
3477
  start: e,
4157
3478
  end: t
4158
3479
  };
4159
3480
  }
4160
- var Zr = !!Object.fromEntries, Qr = !!String.prototype.trimStart, $r = !!String.prototype.trimEnd, ei = Zr ? Object.fromEntries : function(e) {
3481
+ var be = !!Object.fromEntries, H = !!String.prototype.trimStart, xe = !!String.prototype.trimEnd, U = be ? Object.fromEntries : function(e) {
4161
3482
  let t = {};
4162
3483
  for (let [n, r] of e) t[n] = r;
4163
3484
  return t;
4164
- }, ti = Qr ? function(e) {
3485
+ }, Se = H ? function(e) {
4165
3486
  return e.trimStart();
4166
3487
  } : function(e) {
4167
- return e.replace(Yr, "");
4168
- }, ni = $r ? function(e) {
3488
+ return e.replace(ve, "");
3489
+ }, Ce = xe ? function(e) {
4169
3490
  return e.trimEnd();
4170
3491
  } : function(e) {
4171
- return e.replace(Xr, "");
4172
- }, ri = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
4173
- function ii(e, t) {
4174
- return ri.lastIndex = t, ri.exec(e)[1] ?? "";
3492
+ return e.replace(ye, "");
3493
+ }, W = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3494
+ function we(e, t) {
3495
+ return W.lastIndex = t, W.exec(e)[1] ?? "";
4175
3496
  }
4176
- function ai(e) {
3497
+ function Te(e) {
4177
3498
  if (e.length === 0) return null;
4178
3499
  let t = 1, n = 1;
4179
3500
  for (let r = 0; r < e.length;) {
@@ -4197,7 +3518,7 @@ function ai(e) {
4197
3518
  column: n
4198
3519
  };
4199
3520
  }
4200
- var oi = class {
3521
+ var Ee = class {
4201
3522
  constructor(e, t = {}) {
4202
3523
  this.message = e, this.position = {
4203
3524
  offset: 0,
@@ -4210,14 +3531,14 @@ var oi = class {
4210
3531
  if (this.message.length > 0) {
4211
3532
  let e = this.message.charCodeAt(0);
4212
3533
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
4213
- let e = ai(this.message);
3534
+ let e = Te(this.message);
4214
3535
  if (e) {
4215
3536
  let t = this.clonePosition();
4216
3537
  return this.position = e, {
4217
3538
  val: [{
4218
3539
  type: 0,
4219
3540
  value: this.message,
4220
- location: Z(t, this.clonePosition())
3541
+ location: V(t, this.clonePosition())
4221
3542
  }],
4222
3543
  err: null
4223
3544
  };
@@ -4239,12 +3560,12 @@ var oi = class {
4239
3560
  let e = this.clonePosition();
4240
3561
  this.bump(), r.push({
4241
3562
  type: 7,
4242
- location: Z(e, this.clonePosition())
3563
+ location: V(e, this.clonePosition())
4243
3564
  });
4244
3565
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
4245
3566
  if (n) break;
4246
- return this.error(26, Z(this.clonePosition(), this.clonePosition()));
4247
- } else if (i === 60 && !this.ignoreTag && si(this.peek() || 0)) {
3567
+ return this.error(26, V(this.clonePosition(), this.clonePosition()));
3568
+ } else if (i === 60 && !this.ignoreTag && G(this.peek() || 0)) {
4248
3569
  let n = this.parseTag(e, t);
4249
3570
  if (n.err) return n;
4250
3571
  r.push(n.val);
@@ -4267,7 +3588,7 @@ var oi = class {
4267
3588
  val: {
4268
3589
  type: 0,
4269
3590
  value: `<${r}/>`,
4270
- location: Z(n, this.clonePosition())
3591
+ location: V(n, this.clonePosition())
4271
3592
  },
4272
3593
  err: null
4273
3594
  };
@@ -4276,23 +3597,23 @@ var oi = class {
4276
3597
  if (i.err) return i;
4277
3598
  let a = i.val, o = this.clonePosition();
4278
3599
  if (this.bumpIf("</")) {
4279
- if (this.isEOF() || !si(this.char())) return this.error(23, Z(o, this.clonePosition()));
3600
+ if (this.isEOF() || !G(this.char())) return this.error(23, V(o, this.clonePosition()));
4280
3601
  let e = this.clonePosition();
4281
3602
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
4282
3603
  val: {
4283
3604
  type: 8,
4284
3605
  value: r,
4285
3606
  children: a,
4286
- location: Z(n, this.clonePosition())
3607
+ location: V(n, this.clonePosition())
4287
3608
  },
4288
3609
  err: null
4289
- } : this.error(23, Z(o, this.clonePosition()))) : this.error(26, Z(e, this.clonePosition()));
4290
- } else return this.error(27, Z(n, this.clonePosition()));
4291
- } else return this.error(23, Z(n, this.clonePosition()));
3610
+ } : this.error(23, V(o, this.clonePosition()))) : this.error(26, V(e, this.clonePosition()));
3611
+ } else return this.error(27, V(n, this.clonePosition()));
3612
+ } else return this.error(23, V(n, this.clonePosition()));
4292
3613
  }
4293
3614
  parseTagName() {
4294
3615
  let e = this.offset();
4295
- for (this.bump(); !this.isEOF() && li(this.char());) this.bump();
3616
+ for (this.bump(); !this.isEOF() && Oe(this.char());) this.bump();
4296
3617
  return this.message.slice(e, this.offset());
4297
3618
  }
4298
3619
  parseLiteral(e, t) {
@@ -4315,7 +3636,7 @@ var oi = class {
4315
3636
  }
4316
3637
  break;
4317
3638
  }
4318
- let i = Z(n, this.clonePosition());
3639
+ let i = V(n, this.clonePosition());
4319
3640
  return {
4320
3641
  val: {
4321
3642
  type: 0,
@@ -4326,7 +3647,7 @@ var oi = class {
4326
3647
  };
4327
3648
  }
4328
3649
  tryParseLeftAngleBracket() {
4329
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3650
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !De(this.peek() || 0)) ? (this.bump(), "<") : null;
4330
3651
  }
4331
3652
  tryParseQuote(e) {
4332
3653
  if (this.isEOF() || this.char() !== 39) return null;
@@ -4362,35 +3683,35 @@ var oi = class {
4362
3683
  }
4363
3684
  parseArgument(e, t) {
4364
3685
  let n = this.clonePosition();
4365
- if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
4366
- if (this.char() === 125) return this.bump(), this.error(2, Z(n, this.clonePosition()));
3686
+ if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, V(n, this.clonePosition()));
3687
+ if (this.char() === 125) return this.bump(), this.error(2, V(n, this.clonePosition()));
4367
3688
  let r = this.parseIdentifierIfPossible().value;
4368
- if (!r) return this.error(3, Z(n, this.clonePosition()));
4369
- if (this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
3689
+ if (!r) return this.error(3, V(n, this.clonePosition()));
3690
+ if (this.bumpSpace(), this.isEOF()) return this.error(1, V(n, this.clonePosition()));
4370
3691
  switch (this.char()) {
4371
3692
  case 125: return this.bump(), {
4372
3693
  val: {
4373
3694
  type: 1,
4374
3695
  value: r,
4375
- location: Z(n, this.clonePosition())
3696
+ location: V(n, this.clonePosition())
4376
3697
  },
4377
3698
  err: null
4378
3699
  };
4379
- case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, Z(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
4380
- default: return this.error(3, Z(n, this.clonePosition()));
3700
+ case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, V(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
3701
+ default: return this.error(3, V(n, this.clonePosition()));
4381
3702
  }
4382
3703
  }
4383
3704
  parseIdentifierIfPossible() {
4384
- let e = this.clonePosition(), t = this.offset(), n = ii(this.message, t), r = t + n.length;
3705
+ let e = this.clonePosition(), t = this.offset(), n = we(this.message, t), r = t + n.length;
4385
3706
  return this.bumpTo(r), {
4386
3707
  value: n,
4387
- location: Z(e, this.clonePosition())
3708
+ location: V(e, this.clonePosition())
4388
3709
  };
4389
3710
  }
4390
3711
  parseArgumentOptions(e, t, n, r) {
4391
3712
  let i = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
4392
3713
  switch (a) {
4393
- case "": return this.error(4, Z(i, o));
3714
+ case "": return this.error(4, V(i, o));
4394
3715
  case "number":
4395
3716
  case "date":
4396
3717
  case "time": {
@@ -4400,18 +3721,18 @@ var oi = class {
4400
3721
  this.bumpSpace();
4401
3722
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
4402
3723
  if (n.err) return n;
4403
- let r = ni(n.val);
4404
- if (r.length === 0) return this.error(6, Z(this.clonePosition(), this.clonePosition()));
3724
+ let r = Ce(n.val);
3725
+ if (r.length === 0) return this.error(6, V(this.clonePosition(), this.clonePosition()));
4405
3726
  e = {
4406
3727
  style: r,
4407
- styleLocation: Z(t, this.clonePosition())
3728
+ styleLocation: V(t, this.clonePosition())
4408
3729
  };
4409
3730
  }
4410
3731
  let t = this.tryParseArgumentClose(r);
4411
3732
  if (t.err) return t;
4412
- let i = Z(r, this.clonePosition());
3733
+ let i = V(r, this.clonePosition());
4413
3734
  if (e && e.style.startsWith("::")) {
4414
- let t = ti(e.style.slice(2));
3735
+ let t = Se(e.style.slice(2));
4415
3736
  if (a === "number") {
4416
3737
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
4417
3738
  return r.err ? r : {
@@ -4426,12 +3747,12 @@ var oi = class {
4426
3747
  } else {
4427
3748
  if (t.length === 0) return this.error(10, i);
4428
3749
  let r = t;
4429
- this.locale && (r = qr(t, this.locale));
3750
+ this.locale && (r = ge(t, this.locale));
4430
3751
  let o = {
4431
3752
  type: 1,
4432
3753
  pattern: r,
4433
3754
  location: e.styleLocation,
4434
- parsedOptions: this.shouldParseSkeletons ? xr(r) : {}
3755
+ parsedOptions: this.shouldParseSkeletons ? x(r) : {}
4435
3756
  };
4436
3757
  return {
4437
3758
  val: {
@@ -4458,11 +3779,11 @@ var oi = class {
4458
3779
  case "selectordinal":
4459
3780
  case "select": {
4460
3781
  let i = this.clonePosition();
4461
- if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, Z(i, { ...i }));
3782
+ if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, V(i, { ...i }));
4462
3783
  this.bumpSpace();
4463
3784
  let o = this.parseIdentifierIfPossible(), s = 0;
4464
3785
  if (a !== "select" && o.value === "offset") {
4465
- if (!this.bumpIf(":")) return this.error(13, Z(this.clonePosition(), this.clonePosition()));
3786
+ if (!this.bumpIf(":")) return this.error(13, V(this.clonePosition(), this.clonePosition()));
4466
3787
  this.bumpSpace();
4467
3788
  let e = this.tryParseDecimalInteger(13, 14);
4468
3789
  if (e.err) return e;
@@ -4472,12 +3793,12 @@ var oi = class {
4472
3793
  if (c.err) return c;
4473
3794
  let l = this.tryParseArgumentClose(r);
4474
3795
  if (l.err) return l;
4475
- let u = Z(r, this.clonePosition());
3796
+ let u = V(r, this.clonePosition());
4476
3797
  return a === "select" ? {
4477
3798
  val: {
4478
3799
  type: 5,
4479
3800
  value: n,
4480
- options: ei(c.val),
3801
+ options: U(c.val),
4481
3802
  location: u
4482
3803
  },
4483
3804
  err: null
@@ -4485,7 +3806,7 @@ var oi = class {
4485
3806
  val: {
4486
3807
  type: 6,
4487
3808
  value: n,
4488
- options: ei(c.val),
3809
+ options: U(c.val),
4489
3810
  offset: s,
4490
3811
  pluralType: a === "plural" ? "cardinal" : "ordinal",
4491
3812
  location: u
@@ -4493,11 +3814,11 @@ var oi = class {
4493
3814
  err: null
4494
3815
  };
4495
3816
  }
4496
- default: return this.error(5, Z(i, o));
3817
+ default: return this.error(5, V(i, o));
4497
3818
  }
4498
3819
  }
4499
3820
  tryParseArgumentClose(e) {
4500
- return this.isEOF() || this.char() !== 125 ? this.error(1, Z(e, this.clonePosition())) : (this.bump(), {
3821
+ return this.isEOF() || this.char() !== 125 ? this.error(1, V(e, this.clonePosition())) : (this.bump(), {
4501
3822
  val: !0,
4502
3823
  err: null
4503
3824
  });
@@ -4508,7 +3829,7 @@ var oi = class {
4508
3829
  case 39: {
4509
3830
  this.bump();
4510
3831
  let e = this.clonePosition();
4511
- if (!this.bumpUntil("'")) return this.error(11, Z(e, this.clonePosition()));
3832
+ if (!this.bumpUntil("'")) return this.error(11, V(e, this.clonePosition()));
4512
3833
  this.bump();
4513
3834
  break;
4514
3835
  }
@@ -4532,7 +3853,7 @@ var oi = class {
4532
3853
  parseNumberSkeletonFromString(e, t) {
4533
3854
  let n = [];
4534
3855
  try {
4535
- n = Cr(e);
3856
+ n = le(e);
4536
3857
  } catch {
4537
3858
  return this.error(7, t);
4538
3859
  }
@@ -4541,7 +3862,7 @@ var oi = class {
4541
3862
  type: 0,
4542
3863
  tokens: n,
4543
3864
  location: t,
4544
- parsedOptions: this.shouldParseSkeletons ? Nr(n) : {}
3865
+ parsedOptions: this.shouldParseSkeletons ? pe(n) : {}
4545
3866
  },
4546
3867
  err: null
4547
3868
  };
@@ -4554,23 +3875,23 @@ var oi = class {
4554
3875
  if (t !== "select" && this.bumpIf("=")) {
4555
3876
  let t = this.tryParseDecimalInteger(16, 19);
4556
3877
  if (t.err) return t;
4557
- c = Z(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
3878
+ c = V(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
4558
3879
  } else break;
4559
3880
  }
4560
3881
  if (o.has(s)) return this.error(t === "select" ? 21 : 20, c);
4561
3882
  s === "other" && (i = !0), this.bumpSpace();
4562
3883
  let r = this.clonePosition();
4563
- if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, Z(this.clonePosition(), this.clonePosition()));
3884
+ if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, V(this.clonePosition(), this.clonePosition()));
4564
3885
  let l = this.parseMessage(e + 1, t, n);
4565
3886
  if (l.err) return l;
4566
3887
  let u = this.tryParseArgumentClose(r);
4567
3888
  if (u.err) return u;
4568
3889
  a.push([s, {
4569
3890
  value: l.val,
4570
- location: Z(r, this.clonePosition())
3891
+ location: V(r, this.clonePosition())
4571
3892
  }]), o.add(s), this.bumpSpace(), {value: s, location: c} = this.parseIdentifierIfPossible();
4572
3893
  }
4573
- return a.length === 0 ? this.error(t === "select" ? 15 : 16, Z(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(22, Z(this.clonePosition(), this.clonePosition())) : {
3894
+ return a.length === 0 ? this.error(t === "select" ? 15 : 16, V(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(22, V(this.clonePosition(), this.clonePosition())) : {
4574
3895
  val: a,
4575
3896
  err: null
4576
3897
  };
@@ -4584,7 +3905,7 @@ var oi = class {
4584
3905
  if (e >= 48 && e <= 57) i = !0, a = a * 10 + (e - 48), this.bump();
4585
3906
  else break;
4586
3907
  }
4587
- let o = Z(r, this.clonePosition());
3908
+ let o = V(r, this.clonePosition());
4588
3909
  return i ? (a *= n, Number.isSafeInteger(a) ? {
4589
3910
  val: a,
4590
3911
  err: null
@@ -4646,7 +3967,7 @@ var oi = class {
4646
3967
  }
4647
3968
  }
4648
3969
  bumpSpace() {
4649
- for (; !this.isEOF() && ui(this.char());) this.bump();
3970
+ for (; !this.isEOF() && ke(this.char());) this.bump();
4650
3971
  }
4651
3972
  peek() {
4652
3973
  if (this.isEOF()) return null;
@@ -4654,83 +3975,83 @@ var oi = class {
4654
3975
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
4655
3976
  }
4656
3977
  };
4657
- function si(e) {
3978
+ function G(e) {
4658
3979
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4659
3980
  }
4660
- function ci(e) {
4661
- return si(e) || e === 47;
3981
+ function De(e) {
3982
+ return G(e) || e === 47;
4662
3983
  }
4663
- function li(e) {
3984
+ function Oe(e) {
4664
3985
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
4665
3986
  }
4666
- function ui(e) {
3987
+ function ke(e) {
4667
3988
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4668
3989
  }
4669
- function di(e) {
3990
+ function K(e) {
4670
3991
  e.forEach((e) => {
4671
- if (delete e.location, Br(e) || Vr(e)) for (let t in e.options) delete e.options[t].location, di(e.options[t].value);
4672
- else Lr(e) && Wr(e.style) || (Rr(e) || zr(e)) && Gr(e.style) ? delete e.style.location : Ur(e) && di(e.children);
3992
+ if (delete e.location, N(e) || P(e)) for (let t in e.options) delete e.options[t].location, K(e.options[t].value);
3993
+ else A(e) && L(e.style) || (j(e) || M(e)) && R(e.style) ? delete e.style.location : I(e) && K(e.children);
4673
3994
  });
4674
3995
  }
4675
- function fi(e, t = {}) {
3996
+ function Ae(e, t = {}) {
4676
3997
  t = {
4677
3998
  shouldParseSkeletons: !0,
4678
3999
  requiresOtherClause: !0,
4679
4000
  ...t
4680
4001
  };
4681
- let n = new oi(e, t).parse();
4002
+ let n = new Ee(e, t).parse();
4682
4003
  if (n.err) {
4683
- let e = SyntaxError(Pr[n.err.kind]);
4004
+ let e = SyntaxError(me[n.err.kind]);
4684
4005
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
4685
4006
  }
4686
- return t?.captureLocation || di(n.val), n.val;
4007
+ return t?.captureLocation || K(n.val), n.val;
4687
4008
  }
4688
4009
  //#endregion
4689
4010
  //#region node_modules/intl-messageformat/index.js
4690
- var Q = class extends Error {
4011
+ var q = class extends Error {
4691
4012
  constructor(e, t, n) {
4692
4013
  super(e), this.code = t, this.originalMessage = n;
4693
4014
  }
4694
4015
  toString() {
4695
4016
  return `[formatjs Error: ${this.code}] ${this.message}`;
4696
4017
  }
4697
- }, pi = class extends Q {
4018
+ }, J = class extends q {
4698
4019
  constructor(e, t, n, r) {
4699
4020
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
4700
4021
  }
4701
- }, mi = class extends Q {
4022
+ }, je = class extends q {
4702
4023
  constructor(e, t, n) {
4703
4024
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
4704
4025
  }
4705
- }, hi = class extends Q {
4026
+ }, Me = class extends q {
4706
4027
  constructor(e, t) {
4707
4028
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
4708
4029
  }
4709
4030
  };
4710
- function gi(e) {
4031
+ function Ne(e) {
4711
4032
  return e.length < 2 ? e : e.reduce((e, t) => {
4712
4033
  let n = e[e.length - 1];
4713
4034
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
4714
4035
  }, []);
4715
4036
  }
4716
- function _i(e) {
4037
+ function Pe(e) {
4717
4038
  return typeof e == "function";
4718
4039
  }
4719
- function $(e, t, n, r, i, a, o) {
4720
- if (e.length === 1 && Fr(e[0])) return [{
4040
+ function Y(e, t, n, r, i, a, o) {
4041
+ if (e.length === 1 && k(e[0])) return [{
4721
4042
  type: 0,
4722
4043
  value: e[0].value
4723
4044
  }];
4724
4045
  let s = [];
4725
4046
  for (let c of e) {
4726
- if (Fr(c)) {
4047
+ if (k(c)) {
4727
4048
  s.push({
4728
4049
  type: 0,
4729
4050
  value: c.value
4730
4051
  });
4731
4052
  continue;
4732
4053
  }
4733
- if (Hr(c)) {
4054
+ if (F(c)) {
4734
4055
  typeof a == "number" && s.push({
4735
4056
  type: 0,
4736
4057
  value: n.getNumberFormat(t).format(a)
@@ -4738,33 +4059,33 @@ function $(e, t, n, r, i, a, o) {
4738
4059
  continue;
4739
4060
  }
4740
4061
  let { value: e } = c;
4741
- if (!(i && e in i)) throw new hi(e, o);
4062
+ if (!(i && e in i)) throw new Me(e, o);
4742
4063
  let l = i[e];
4743
- if (Ir(c)) {
4064
+ if (he(c)) {
4744
4065
  (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
4745
4066
  type: typeof l == "string" ? 0 : 1,
4746
4067
  value: l
4747
4068
  });
4748
4069
  continue;
4749
4070
  }
4750
- if (Rr(c)) {
4751
- let e = typeof c.style == "string" ? r.date[c.style] : Gr(c.style) ? c.style.parsedOptions : void 0;
4071
+ if (j(c)) {
4072
+ let e = typeof c.style == "string" ? r.date[c.style] : R(c.style) ? c.style.parsedOptions : void 0;
4752
4073
  s.push({
4753
4074
  type: 0,
4754
4075
  value: n.getDateTimeFormat(t, e).format(l)
4755
4076
  });
4756
4077
  continue;
4757
4078
  }
4758
- if (zr(c)) {
4759
- let e = typeof c.style == "string" ? r.time[c.style] : Gr(c.style) ? c.style.parsedOptions : r.time.medium;
4079
+ if (M(c)) {
4080
+ let e = typeof c.style == "string" ? r.time[c.style] : R(c.style) ? c.style.parsedOptions : r.time.medium;
4760
4081
  s.push({
4761
4082
  type: 0,
4762
4083
  value: n.getDateTimeFormat(t, e).format(l)
4763
4084
  });
4764
4085
  continue;
4765
4086
  }
4766
- if (Lr(c)) {
4767
- let e = typeof c.style == "string" ? r.number[c.style] : Wr(c.style) ? c.style.parsedOptions : void 0;
4087
+ if (A(c)) {
4088
+ let e = typeof c.style == "string" ? r.number[c.style] : L(c.style) ? c.style.parsedOptions : void 0;
4768
4089
  if (e && e.scale) {
4769
4090
  let t = e.scale || 1;
4770
4091
  if (typeof l == "bigint") {
@@ -4778,37 +4099,37 @@ function $(e, t, n, r, i, a, o) {
4778
4099
  });
4779
4100
  continue;
4780
4101
  }
4781
- if (Ur(c)) {
4102
+ if (I(c)) {
4782
4103
  let { children: e, value: l } = c, u = i[l];
4783
- if (!_i(u)) throw new mi(l, "function", o);
4784
- let d = u($(e, t, n, r, i, a).map((e) => e.value));
4104
+ if (!Pe(u)) throw new je(l, "function", o);
4105
+ let d = u(Y(e, t, n, r, i, a).map((e) => e.value));
4785
4106
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
4786
4107
  type: typeof e == "string" ? 0 : 1,
4787
4108
  value: e
4788
4109
  })));
4789
4110
  }
4790
- if (Br(c)) {
4111
+ if (N(c)) {
4791
4112
  let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
4792
- if (!a) throw new pi(c.value, l, Object.keys(c.options), o);
4793
- s.push(...$(a.value, t, n, r, i));
4113
+ if (!a) throw new J(c.value, l, Object.keys(c.options), o);
4114
+ s.push(...Y(a.value, t, n, r, i));
4794
4115
  continue;
4795
4116
  }
4796
- if (Vr(c)) {
4117
+ if (P(c)) {
4797
4118
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
4798
4119
  if (!a) {
4799
- if (!Intl.PluralRules) throw new Q("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
4120
+ if (!Intl.PluralRules) throw new q("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
4800
4121
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
4801
4122
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
4802
4123
  }
4803
- if (!a) throw new pi(c.value, l, Object.keys(c.options), o);
4124
+ if (!a) throw new J(c.value, l, Object.keys(c.options), o);
4804
4125
  let u = typeof l == "bigint" ? Number(l) : l;
4805
- s.push(...$(a.value, t, n, r, i, u - (c.offset || 0)));
4126
+ s.push(...Y(a.value, t, n, r, i, u - (c.offset || 0)));
4806
4127
  continue;
4807
4128
  }
4808
4129
  }
4809
- return gi(s);
4130
+ return Ne(s);
4810
4131
  }
4811
- function vi(e, t) {
4132
+ function Fe(e, t) {
4812
4133
  return t ? {
4813
4134
  ...e,
4814
4135
  ...t,
@@ -4818,10 +4139,10 @@ function vi(e, t) {
4818
4139
  }, n), {})
4819
4140
  } : e;
4820
4141
  }
4821
- function yi(e, t) {
4822
- return t ? Object.keys(e).reduce((n, r) => (n[r] = vi(e[r], t[r]), n), { ...e }) : e;
4142
+ function Ie(e, t) {
4143
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = Fe(e[r], t[r]), n), { ...e }) : e;
4823
4144
  }
4824
- function bi(e) {
4145
+ function X(e) {
4825
4146
  return { create() {
4826
4147
  return {
4827
4148
  get(t) {
@@ -4833,27 +4154,27 @@ function bi(e) {
4833
4154
  };
4834
4155
  } };
4835
4156
  }
4836
- function xi(e = {
4157
+ function Le(e = {
4837
4158
  number: {},
4838
4159
  dateTime: {},
4839
4160
  pluralRules: {}
4840
4161
  }) {
4841
4162
  return {
4842
- getNumberFormat: cr((...e) => new Intl.NumberFormat(...e), {
4843
- cache: bi(e.number),
4844
- strategy: yr.variadic
4163
+ getNumberFormat: g((...e) => new Intl.NumberFormat(...e), {
4164
+ cache: X(e.number),
4165
+ strategy: b.variadic
4845
4166
  }),
4846
- getDateTimeFormat: cr((...e) => new Intl.DateTimeFormat(...e), {
4847
- cache: bi(e.dateTime),
4848
- strategy: yr.variadic
4167
+ getDateTimeFormat: g((...e) => new Intl.DateTimeFormat(...e), {
4168
+ cache: X(e.dateTime),
4169
+ strategy: b.variadic
4849
4170
  }),
4850
- getPluralRules: cr((...e) => new Intl.PluralRules(...e), {
4851
- cache: bi(e.pluralRules),
4852
- strategy: yr.variadic
4171
+ getPluralRules: g((...e) => new Intl.PluralRules(...e), {
4172
+ cache: X(e.pluralRules),
4173
+ strategy: b.variadic
4853
4174
  })
4854
4175
  };
4855
4176
  }
4856
- var Si = class e {
4177
+ var Re = class e {
4857
4178
  constructor(t, n = e.defaultLocale, r, i) {
4858
4179
  if (this.formatterCache = {
4859
4180
  number: {},
@@ -4864,7 +4185,7 @@ var Si = class e {
4864
4185
  if (t.length === 1) return t[0].value;
4865
4186
  let n = t.reduce((e, t) => (!e.length || t.type !== 0 || typeof e[e.length - 1] != "string" ? e.push(t.value) : e[e.length - 1] += t.value, e), []);
4866
4187
  return n.length <= 1 ? n[0] || "" : n;
4867
- }, this.formatToParts = (e) => $(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4188
+ }, this.formatToParts = (e) => Y(this.ast, this.locales, this.formatters, this.formats, e, void 0, this.message), this.resolvedOptions = () => ({ locale: this.resolvedLocale?.toString() || Intl.NumberFormat.supportedLocalesOf(this.locales)[0] }), this.getAst = () => this.ast, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4868
4189
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4869
4190
  let { ...n } = i || {};
4870
4191
  this.ast = e.__parse(t, {
@@ -4873,7 +4194,7 @@ var Si = class e {
4873
4194
  });
4874
4195
  } else this.ast = t;
4875
4196
  if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
4876
- this.formats = yi(e.formats, r), this.formatters = i && i.formatters || xi(this.formatterCache);
4197
+ this.formats = Ie(e.formats, r), this.formatters = i && i.formatters || Le(this.formatterCache);
4877
4198
  }
4878
4199
  static {
4879
4200
  this.memoizedDefaultLocale = null;
@@ -4889,7 +4210,7 @@ var Si = class e {
4889
4210
  };
4890
4211
  }
4891
4212
  static {
4892
- this.__parse = fi;
4213
+ this.__parse = Ae;
4893
4214
  }
4894
4215
  static {
4895
4216
  this.formats = {
@@ -4949,32 +4270,32 @@ var Si = class e {
4949
4270
  };
4950
4271
  //#endregion
4951
4272
  //#region lib/i18n/translator.ts
4952
- function Ci() {
4273
+ function Z() {
4953
4274
  if (typeof localStorage > "u") return "en";
4954
- let e = localStorage.getItem(a);
4955
- return e && s.includes(e) ? e : "en";
4275
+ let e = localStorage.getItem(s);
4276
+ return e && l.includes(e) ? e : "en";
4956
4277
  }
4957
- function wi(e = {}, t = Ci) {
4958
- return (n, r = void 0, i = t) => {
4959
- let a = typeof i == "function" ? i() : i, o = Mn(e[a], n) ?? n;
4278
+ function Q(t = {}, n = Z) {
4279
+ return (r, i = void 0, a = n) => {
4280
+ let o = typeof a == "function" ? a() : a, s = e(t[o], r) ?? r;
4960
4281
  try {
4961
- o = new Si(o, a).format(r);
4282
+ s = new Re(s, o).format(i);
4962
4283
  } catch (e) {
4963
4284
  console.error(e);
4964
4285
  }
4965
- return o;
4286
+ return s;
4966
4287
  };
4967
4288
  }
4968
- var Ti = wi(i);
4289
+ var $ = Q(o);
4969
4290
  //#endregion
4970
4291
  //#region lib/i18n/use-material-translation.ts
4971
- function Ei() {
4972
- let e = f();
4292
+ function ze() {
4293
+ let e = m();
4973
4294
  return {
4974
4295
  t: (t, n, r) => {
4975
4296
  let i = e?.language;
4976
4297
  if (!i) return n;
4977
- let a = Ti(t, r, () => i);
4298
+ let a = $(t, r, () => i);
4978
4299
  return a === t ? n : a;
4979
4300
  },
4980
4301
  get language() {
@@ -4985,9 +4306,9 @@ function Ei() {
4985
4306
  }
4986
4307
  //#endregion
4987
4308
  //#region lib/i18n/use-typed-translation.ts
4988
- function Di(e) {
4309
+ function Be(e) {
4989
4310
  return function() {
4990
- let { language: t, changeLanguage: n } = d();
4311
+ let { language: t, changeLanguage: n } = p();
4991
4312
  return {
4992
4313
  t: (n, r) => e(n, r, () => t),
4993
4314
  i18n: {
@@ -4998,4 +4319,4 @@ function Di(e) {
4998
4319
  };
4999
4320
  }
5000
4321
  //#endregion
5001
- export { Ce as A, p as B, N as C, O as D, A as E, y as F, a as G, d as H, v as I, s as K, g as L, C as M, S as N, Pe as O, x as P, h as R, P as S, j as T, f as U, u as V, o as W, Qt as _, Ti as a, Ht as b, q as c, Mn as d, jn as f, V as g, U as h, Ci as i, w as j, E as k, K as l, On as m, Ei as n, sr as o, An as p, i as q, wi as r, tr as s, Di as t, G as u, Gt as v, M as w, dt as x, Wt as y, c as z };
4322
+ export { $ as a, ee as c, m as d, c as f, o as h, Z as i, f as l, l as m, ze as n, h as o, s as p, Q as r, u as s, Be as t, p as u };