@nxgt/material-vue 0.16.0 → 0.19.1

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 (160) hide show
  1. package/README.md +4 -0
  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-Cq48yKiC.js +1946 -0
  9. package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
  10. package/dist/{camera-Cbd1TWFd.js → camera-r2t4ssQW.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-7zPp4vTf.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-DtL5wGrr.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-C8ID_LPk.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-CnK-8Ca-.js +3397 -0
  39. package/dist/{components-DLtnz66n.js → components-BgtHYrAL.js} +43333 -18451
  40. package/dist/components.js +5 -5
  41. package/dist/{composables-BJ2GgDD0.js → composables-B8MtUoDh.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-EvUiDV-m.js +2191 -0
  48. package/dist/defaultLocale-DnzPsei5.js +201 -0
  49. package/dist/diagram-22UHCM2B-BdDi8z2C.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-Cmcrm28l.js → dnd-BEuHe7sH.js} +1 -1
  57. package/dist/dnd.js +1 -1
  58. package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
  59. package/dist/elk-276RUBZZ-Bonx9a6x.js +47597 -0
  60. package/dist/erDiagram-OPXOYQCR-BNsPfmoF.js +1970 -0
  61. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  62. package/dist/flowDiagram-KWPJA3E3-ArqPu-Ye.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-Eulj-quC.js +493 -0
  67. package/dist/{i18n-DmMS3ID3.js → i18n-B7nNF_hw.js} +237 -924
  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-DrJl_d3a.js +15 -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.groups.d.ts +6 -0
  85. package/dist/lib/components/ui/emoji/emoji.stories.data.d.ts +2 -0
  86. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  87. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  88. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  89. package/dist/lib/components/ui/markdown/index.d.ts +2 -0
  90. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
  91. package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
  92. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  93. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
  94. package/dist/lib/components/ui/mentions/index.d.ts +4 -0
  95. package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
  96. package/dist/lib/components/ui/mentions/mentions.stories.data.d.ts +2 -0
  97. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  98. package/dist/lib/components/ui/mentions/types.d.ts +5 -0
  99. package/dist/lib/components/ui/terminal/index.d.ts +3 -0
  100. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  101. package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
  102. package/dist/lib/i18n/resources/en/index.d.ts +9 -0
  103. package/dist/lib/i18n/resources/en/material.json.d.ts +9 -0
  104. package/dist/lib/i18n/resources/fr/index.d.ts +9 -0
  105. package/dist/lib/i18n/resources/fr/material.json.d.ts +9 -0
  106. package/dist/lib/i18n/resources/index.d.ts +18 -0
  107. package/dist/lib/i18n/translator.d.ts +1 -1
  108. package/dist/lib/nuxt/component-names.d.ts +1 -1
  109. package/dist/lib-CoEqz3rh.js +389 -0
  110. package/dist/lib.js +1 -1
  111. package/dist/line-UP6dkL36.js +34 -0
  112. package/dist/linear-bD_QoED_.js +289 -0
  113. package/dist/main.js +9 -9
  114. package/dist/material-vue.css +1 -1
  115. package/dist/merge-Bec0-Q44.js +170 -0
  116. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  117. package/dist/mermaid.core-DrUePKpg.js +1096 -0
  118. package/dist/mindmap-definition-NLK3R4M7-DYE9uY2C.js +1008 -0
  119. package/dist/ordinal-D_ZgubzR.js +65 -0
  120. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  121. package/dist/path-DGNPZRdx.js +85 -0
  122. package/dist/{pdf-outline-sidebar-BBXJRwdt.js → pdf-outline-sidebar-CqpgJNJJ.js} +3 -2
  123. package/dist/{pdf-page-DZyTFukn.js → pdf-page-DtejoDj_.js} +1 -1
  124. package/dist/{pdf-page-list-C3GukJ3_.js → pdf-page-list-C7Lkr20Q.js} +3 -2
  125. package/dist/{pdf-reader-Ci4v2Ff9.js → pdf-reader-CE72v3Xw.js} +13 -13
  126. package/dist/{pdf-sidebar-Dl8fQStG.js → pdf-sidebar-D2NYQILw.js} +4 -4
  127. package/dist/{pdf-thumbnail-sidebar-GS_V0PGc.js → pdf-thumbnail-sidebar-B0pIto76.js} +4 -3
  128. package/dist/{pdf-toolbar-D37w-WIK.js → pdf-toolbar-CZWFrd3e.js} +22 -21
  129. package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
  130. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  131. package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
  132. package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
  133. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  134. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  135. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  136. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  137. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  138. package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
  139. package/dist/requirementDiagram-PLB6GJNP-DGzAl0gf.js +2228 -0
  140. package/dist/rolldown-runtime-CWhphoD1.js +23 -0
  141. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  142. package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
  143. package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
  144. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  145. package/dist/src-CNRY2AUH.js +2142 -0
  146. package/dist/stateDiagram-v2-GCMORJYK-YzzT-hC0.js +2143 -0
  147. package/dist/{stx-player-C0FOaRjU.js → stx-player-D8rme-GV.js} +17 -17
  148. package/dist/swimlanes-2SLR337P-C-T-gwvW.js +4763 -0
  149. package/dist/swimlanesDiagram-TC7HE7FX-DiNozXft.js +28 -0
  150. package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
  151. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  152. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  153. package/dist/usecaseDiagram-POWQR4AR-V2WLBfYi.js +9932 -0
  154. package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
  155. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  156. package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
  157. package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
  158. package/lib/nuxt/component-names.ts +2 -0
  159. package/package.json +5 -1
  160. package/dist/lib-CT0uRn8S.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-Bec0-Q44.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,13 @@ 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
+ search: "Search emoji",
49
+ empty: "No emoji match"
50
+ },
51
+ mentions: { empty: "No matches" },
43
52
  cards: {
44
53
  "per-month": "/ month",
45
54
  total: "Total",
@@ -952,6 +961,13 @@ var i = {
952
961
  "scroll-progress": "Progression du défilement",
953
962
  "skip-link": "Aller au contenu",
954
963
  "see-also": "Voir aussi",
964
+ emoji: {
965
+ picker: "Emoji",
966
+ pick: "Choisir un emoji",
967
+ search: "Chercher un emoji",
968
+ empty: "Aucun emoji"
969
+ },
970
+ mentions: { empty: "Aucun résultat" },
955
971
  cards: {
956
972
  "per-month": "/ mois",
957
973
  total: "Total",
@@ -1826,8 +1842,8 @@ var i = {
1826
1842
  required: "requis"
1827
1843
  }
1828
1844
  } }
1829
- }, a = "language", o = "en", s = Object.keys(i), c = Symbol("nxgt-i18n");
1830
- function l(e, t, n) {
1845
+ }, s = "language", c = "en", l = Object.keys(o), u = Symbol("nxgt-i18n");
1846
+ function d(e, t, n) {
1831
1847
  if (typeof localStorage > "u") return t;
1832
1848
  try {
1833
1849
  let r = localStorage.getItem(e);
@@ -1836,32 +1852,32 @@ function l(e, t, n) {
1836
1852
  return t;
1837
1853
  }
1838
1854
  }
1839
- function u(e = {}) {
1840
- let t = e.defaultLanguage ?? "en", i = e.storageKey ?? "language", a = e.supportedLanguages ?? s, o = r({
1841
- language: e.initialLanguage && a.includes(e.initialLanguage) ? e.initialLanguage : l(i, t, a),
1842
- supportedLanguages: a,
1855
+ function f(e = {}) {
1856
+ let t = e.defaultLanguage ?? "en", n = e.storageKey ?? "language", r = e.supportedLanguages ?? l, o = a({
1857
+ language: e.initialLanguage && r.includes(e.initialLanguage) ? e.initialLanguage : d(n, t, r),
1858
+ supportedLanguages: r,
1843
1859
  changeLanguage: (t) => {
1844
- if (!a.includes(t)) {
1860
+ if (!r.includes(t)) {
1845
1861
  console.warn(`[@nxgt/material-vue] Unsupported language: "${t}".`);
1846
1862
  return;
1847
1863
  }
1848
1864
  if (typeof localStorage < "u") try {
1849
- localStorage.setItem(i, t);
1865
+ localStorage.setItem(n, t);
1850
1866
  } catch {}
1851
1867
  o.language = t, e.onLanguageChange?.(t);
1852
1868
  }
1853
1869
  });
1854
- return n(c, o), o;
1870
+ return i(u, o), o;
1855
1871
  }
1856
- function d() {
1857
- let e = t(c, null);
1872
+ function p() {
1873
+ let e = r(u, null);
1858
1874
  if (!e) throw Error("useI18nContext must be used within an I18nProvider");
1859
1875
  return e;
1860
1876
  }
1861
- function f() {
1862
- return t(c, null);
1877
+ function m() {
1878
+ return r(u, null);
1863
1879
  }
1864
- var p = e({
1880
+ var ee = n({
1865
1881
  name: "I18nProvider",
1866
1882
  props: {
1867
1883
  defaultLanguage: String,
@@ -1871,755 +1887,52 @@ var p = e({
1871
1887
  onLanguageChange: Function
1872
1888
  },
1873
1889
  setup(e, { slots: t }) {
1874
- return u(e), () => t.default?.();
1875
- }
1876
- }), 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;
1877
- function ie(e) {
1878
- var t = ne.call(e, _), n = e[_];
1879
- try {
1880
- e[_] = void 0;
1881
- var r = !0;
1882
- } catch {}
1883
- var i = re.call(e);
1884
- return r && (t ? e[_] = n : delete e[_]), i;
1885
- }
1886
- //#endregion
1887
- //#region node_modules/lodash-es/_objectToString.js
1888
- var ae = Object.prototype.toString;
1889
- function oe(e) {
1890
- return ae.call(e);
1891
- }
1892
- //#endregion
1893
- //#region node_modules/lodash-es/_baseGetTag.js
1894
- var se = "[object Null]", ce = "[object Undefined]", le = g ? g.toStringTag : void 0;
1895
- function v(e) {
1896
- return e == null ? e === void 0 ? ce : se : le && le in Object(e) ? ie(e) : oe(e);
1897
- }
1898
- //#endregion
1899
- //#region node_modules/lodash-es/isObjectLike.js
1900
- function y(e) {
1901
- return typeof e == "object" && !!e;
1902
- }
1903
- //#endregion
1904
- //#region node_modules/lodash-es/isSymbol.js
1905
- var ue = "[object Symbol]";
1906
- function b(e) {
1907
- return typeof e == "symbol" || y(e) && v(e) == ue;
1908
- }
1909
- //#endregion
1910
- //#region node_modules/lodash-es/_arrayMap.js
1911
- function de(e, t) {
1912
- for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
1913
- return i;
1914
- }
1915
- //#endregion
1916
- //#region node_modules/lodash-es/isArray.js
1917
- var x = Array.isArray, fe = Infinity, pe = g ? g.prototype : void 0, me = pe ? pe.toString : void 0;
1918
- function he(e) {
1919
- if (typeof e == "string") return e;
1920
- if (x(e)) return de(e, he) + "";
1921
- if (b(e)) return me ? me.call(e) : "";
1922
- var t = e + "";
1923
- return t == "0" && 1 / e == -fe ? "-0" : t;
1924
- }
1925
- //#endregion
1926
- //#region node_modules/lodash-es/isObject.js
1927
- function S(e) {
1928
- var t = typeof e;
1929
- return e != null && (t == "object" || t == "function");
1930
- }
1931
- //#endregion
1932
- //#region node_modules/lodash-es/identity.js
1933
- function C(e) {
1934
- return e;
1935
- }
1936
- //#endregion
1937
- //#region node_modules/lodash-es/isFunction.js
1938
- var ge = "[object AsyncFunction]", _e = "[object Function]", ve = "[object GeneratorFunction]", ye = "[object Proxy]";
1939
- function w(e) {
1940
- if (!S(e)) return !1;
1941
- var t = v(e);
1942
- return t == _e || t == ve || t == ge || t == ye;
1943
- }
1944
- //#endregion
1945
- //#region node_modules/lodash-es/_coreJsData.js
1946
- var T = h["__core-js_shared__"], be = function() {
1947
- var e = /[^.]+$/.exec(T && T.keys && T.keys.IE_PROTO || "");
1948
- return e ? "Symbol(src)_1." + e : "";
1949
- }();
1950
- function xe(e) {
1951
- return !!be && be in e;
1952
- }
1953
- //#endregion
1954
- //#region node_modules/lodash-es/_toSource.js
1955
- var Se = Function.prototype.toString;
1956
- function Ce(e) {
1957
- if (e != null) {
1958
- try {
1959
- return Se.call(e);
1960
- } catch {}
1961
- try {
1962
- return e + "";
1963
- } catch {}
1890
+ return f(e), () => t.default?.();
1964
1891
  }
1965
- return "";
1966
- }
1967
- //#endregion
1968
- //#region node_modules/lodash-es/_baseIsNative.js
1969
- 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.*?") + "$");
1970
- function je(e) {
1971
- return !S(e) || xe(e) ? !1 : (w(e) ? Ae : Te).test(Ce(e));
1972
- }
1973
- //#endregion
1974
- //#region node_modules/lodash-es/_getValue.js
1975
- function Me(e, t) {
1976
- return e?.[t];
1977
- }
1978
- //#endregion
1979
- //#region node_modules/lodash-es/_getNative.js
1980
- function E(e, t) {
1981
- var n = Me(e, t);
1982
- return je(n) ? n : void 0;
1983
- }
1984
- //#endregion
1985
- //#region node_modules/lodash-es/_baseCreate.js
1986
- var Ne = Object.create, Pe = function() {
1987
- function e() {}
1988
- return function(t) {
1989
- if (!S(t)) return {};
1990
- if (Ne) return Ne(t);
1991
- e.prototype = t;
1992
- var n = new e();
1993
- return e.prototype = void 0, n;
1994
- };
1995
- }();
1996
- //#endregion
1997
- //#region node_modules/lodash-es/_apply.js
1998
- function Fe(e, t, n) {
1999
- switch (n.length) {
2000
- case 0: return e.call(t);
2001
- case 1: return e.call(t, n[0]);
2002
- case 2: return e.call(t, n[0], n[1]);
2003
- case 3: return e.call(t, n[0], n[1], n[2]);
2004
- }
2005
- return e.apply(t, n);
2006
- }
2007
- //#endregion
2008
- //#region node_modules/lodash-es/_copyArray.js
2009
- function Ie(e, t) {
2010
- var n = -1, r = e.length;
2011
- for (t ||= Array(r); ++n < r;) t[n] = e[n];
2012
- return t;
2013
- }
2014
- //#endregion
2015
- //#region node_modules/lodash-es/_shortOut.js
2016
- var Le = 800, Re = 16, ze = Date.now;
2017
- function Be(e) {
2018
- var t = 0, n = 0;
2019
- return function() {
2020
- var r = ze(), i = Re - (r - n);
2021
- if (n = r, i > 0) {
2022
- if (++t >= Le) return arguments[0];
2023
- } else t = 0;
2024
- return e.apply(void 0, arguments);
2025
- };
2026
- }
2027
- //#endregion
2028
- //#region node_modules/lodash-es/constant.js
2029
- function Ve(e) {
2030
- return function() {
2031
- return e;
2032
- };
2033
- }
2034
- //#endregion
2035
- //#region node_modules/lodash-es/_defineProperty.js
2036
- var D = function() {
2037
- try {
2038
- var e = E(Object, "defineProperty");
2039
- return e({}, "", {}), e;
2040
- } catch {}
2041
- }(), He = Be(D ? function(e, t) {
2042
- return D(e, "toString", {
2043
- configurable: !0,
2044
- enumerable: !1,
2045
- value: Ve(t),
2046
- writable: !0
2047
- });
2048
- } : C), Ue = 9007199254740991, We = /^(?:0|[1-9]\d*)$/;
2049
- function O(e, t) {
2050
- var n = typeof e;
2051
- return t ??= Ue, !!t && (n == "number" || n != "symbol" && We.test(e)) && e > -1 && e % 1 == 0 && e < t;
2052
- }
2053
- //#endregion
2054
- //#region node_modules/lodash-es/_baseAssignValue.js
2055
- function k(e, t, n) {
2056
- t == "__proto__" && D ? D(e, t, {
2057
- configurable: !0,
2058
- enumerable: !0,
2059
- value: n,
2060
- writable: !0
2061
- }) : e[t] = n;
2062
- }
2063
- //#endregion
2064
- //#region node_modules/lodash-es/eq.js
2065
- function A(e, t) {
2066
- return e === t || e !== e && t !== t;
2067
- }
2068
- //#endregion
2069
- //#region node_modules/lodash-es/_assignValue.js
2070
- var Ge = Object.prototype.hasOwnProperty;
2071
- function Ke(e, t, n) {
2072
- var r = e[t];
2073
- (!(Ge.call(e, t) && A(r, n)) || n === void 0 && !(t in e)) && k(e, t, n);
2074
- }
2075
- //#endregion
2076
- //#region node_modules/lodash-es/_copyObject.js
2077
- function qe(e, t, n, r) {
2078
- var i = !n;
2079
- n ||= {};
2080
- for (var a = -1, o = t.length; ++a < o;) {
2081
- var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
2082
- c === void 0 && (c = e[s]), i ? k(n, s, c) : Ke(n, s, c);
2083
- }
2084
- return n;
2085
- }
2086
- //#endregion
2087
- //#region node_modules/lodash-es/_overRest.js
2088
- var Je = Math.max;
2089
- function Ye(e, t, n) {
2090
- return t = Je(t === void 0 ? e.length - 1 : t, 0), function() {
2091
- for (var r = arguments, i = -1, a = Je(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
2092
- i = -1;
2093
- for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
2094
- return s[t] = n(o), Fe(e, this, s);
2095
- };
2096
- }
2097
- //#endregion
2098
- //#region node_modules/lodash-es/_baseRest.js
2099
- function Xe(e, t) {
2100
- return He(Ye(e, t, C), e + "");
2101
- }
2102
- //#endregion
2103
- //#region node_modules/lodash-es/isLength.js
2104
- var Ze = 9007199254740991;
2105
- function j(e) {
2106
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ze;
2107
- }
2108
- //#endregion
2109
- //#region node_modules/lodash-es/isArrayLike.js
2110
- function M(e) {
2111
- return e != null && j(e.length) && !w(e);
2112
- }
2113
- //#endregion
2114
- //#region node_modules/lodash-es/_isIterateeCall.js
2115
- function Qe(e, t, n) {
2116
- if (!S(n)) return !1;
2117
- var r = typeof t;
2118
- return (r == "number" ? M(n) && O(t, n.length) : r == "string" && t in n) ? A(n[t], e) : !1;
2119
- }
2120
- //#endregion
2121
- //#region node_modules/lodash-es/_createAssigner.js
2122
- function $e(e) {
2123
- return Xe(function(t, n) {
2124
- var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
2125
- 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;) {
2126
- var s = n[r];
2127
- s && e(t, s, r, a);
2128
- }
2129
- return t;
2130
- });
2131
- }
2132
- //#endregion
2133
- //#region node_modules/lodash-es/_isPrototype.js
2134
- var et = Object.prototype;
2135
- function N(e) {
2136
- var t = e && e.constructor;
2137
- return e === (typeof t == "function" && t.prototype || et);
2138
- }
2139
- //#endregion
2140
- //#region node_modules/lodash-es/_baseTimes.js
2141
- function tt(e, t) {
2142
- for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
2143
- return r;
2144
- }
2145
- //#endregion
2146
- //#region node_modules/lodash-es/_baseIsArguments.js
2147
- var nt = "[object Arguments]";
2148
- function rt(e) {
2149
- return y(e) && v(e) == nt;
2150
- }
2151
- //#endregion
2152
- //#region node_modules/lodash-es/isArguments.js
2153
- var it = Object.prototype, at = it.hasOwnProperty, ot = it.propertyIsEnumerable, P = rt(function() {
2154
- return arguments;
2155
- }()) ? rt : function(e) {
2156
- return y(e) && at.call(e, "callee") && !ot.call(e, "callee");
2157
- };
2158
- //#endregion
2159
- //#region node_modules/lodash-es/stubFalse.js
2160
- function st() {
2161
- return !1;
2162
- }
2163
- //#endregion
2164
- //#region node_modules/lodash-es/isBuffer.js
2165
- 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 = {};
2166
- 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;
2167
- function It(e) {
2168
- return y(e) && j(e.length) && !!F[v(e)];
2169
- }
2170
- //#endregion
2171
- //#region node_modules/lodash-es/_baseUnary.js
2172
- function Lt(e) {
2173
- return function(t) {
2174
- return e(t);
2175
- };
2176
- }
2177
- //#endregion
2178
- //#region node_modules/lodash-es/_nodeUtil.js
2179
- 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() {
2180
- try {
2181
- return I && I.require && I.require("util").types || zt && zt.binding && zt.binding("util");
2182
- } catch {}
2183
- }(), Vt = Bt && Bt.isTypedArray, Ht = Vt ? Lt(Vt) : It, Ut = Object.prototype.hasOwnProperty;
2184
- function Wt(e, t) {
2185
- 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;
2186
- 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);
2187
- return s;
2188
- }
2189
- //#endregion
2190
- //#region node_modules/lodash-es/_overArg.js
2191
- function Gt(e, t) {
2192
- return function(n) {
2193
- return e(t(n));
2194
- };
2195
- }
2196
- //#endregion
2197
- //#region node_modules/lodash-es/_nativeKeysIn.js
2198
- function Kt(e) {
2199
- var t = [];
2200
- if (e != null) for (var n in Object(e)) t.push(n);
2201
- return t;
2202
- }
2203
- //#endregion
2204
- //#region node_modules/lodash-es/_baseKeysIn.js
2205
- var qt = Object.prototype.hasOwnProperty;
2206
- function Jt(e) {
2207
- if (!S(e)) return Kt(e);
2208
- var t = N(e), n = [];
2209
- for (var r in e) r == "constructor" && (t || !qt.call(e, r)) || n.push(r);
2210
- return n;
2211
- }
2212
- //#endregion
2213
- //#region node_modules/lodash-es/keysIn.js
2214
- function Yt(e) {
2215
- return M(e) ? Wt(e, !0) : Jt(e);
2216
- }
2217
- //#endregion
2218
- //#region node_modules/lodash-es/_isKey.js
2219
- var Xt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Zt = /^\w*$/;
2220
- function Qt(e, t) {
2221
- if (x(e)) return !1;
2222
- var n = typeof e;
2223
- return n == "number" || n == "symbol" || n == "boolean" || e == null || b(e) ? !0 : Zt.test(e) || !Xt.test(e) || t != null && e in Object(t);
2224
- }
2225
- //#endregion
2226
- //#region node_modules/lodash-es/_nativeCreate.js
2227
- var L = E(Object, "create");
2228
- //#endregion
2229
- //#region node_modules/lodash-es/_hashClear.js
2230
- function $t() {
2231
- this.__data__ = L ? L(null) : {}, this.size = 0;
2232
- }
2233
- //#endregion
2234
- //#region node_modules/lodash-es/_hashDelete.js
2235
- function en(e) {
2236
- var t = this.has(e) && delete this.__data__[e];
2237
- return this.size -= +!!t, t;
2238
- }
2239
- //#endregion
2240
- //#region node_modules/lodash-es/_hashGet.js
2241
- var tn = "__lodash_hash_undefined__", nn = Object.prototype.hasOwnProperty;
2242
- function rn(e) {
2243
- var t = this.__data__;
2244
- if (L) {
2245
- var n = t[e];
2246
- return n === tn ? void 0 : n;
2247
- }
2248
- return nn.call(t, e) ? t[e] : void 0;
2249
- }
2250
- //#endregion
2251
- //#region node_modules/lodash-es/_hashHas.js
2252
- var an = Object.prototype.hasOwnProperty;
2253
- function on(e) {
2254
- var t = this.__data__;
2255
- return L ? t[e] !== void 0 : an.call(t, e);
2256
- }
2257
- //#endregion
2258
- //#region node_modules/lodash-es/_hashSet.js
2259
- var sn = "__lodash_hash_undefined__";
2260
- function cn(e, t) {
2261
- var n = this.__data__;
2262
- return this.size += +!this.has(e), n[e] = L && t === void 0 ? sn : t, this;
2263
- }
2264
- //#endregion
2265
- //#region node_modules/lodash-es/_Hash.js
2266
- function R(e) {
2267
- var t = -1, n = e == null ? 0 : e.length;
2268
- for (this.clear(); ++t < n;) {
2269
- var r = e[t];
2270
- this.set(r[0], r[1]);
2271
- }
2272
- }
2273
- R.prototype.clear = $t, R.prototype.delete = en, R.prototype.get = rn, R.prototype.has = on, R.prototype.set = cn;
2274
- //#endregion
2275
- //#region node_modules/lodash-es/_listCacheClear.js
2276
- function ln() {
2277
- this.__data__ = [], this.size = 0;
2278
- }
2279
- //#endregion
2280
- //#region node_modules/lodash-es/_assocIndexOf.js
2281
- function z(e, t) {
2282
- for (var n = e.length; n--;) if (A(e[n][0], t)) return n;
2283
- return -1;
2284
- }
2285
- //#endregion
2286
- //#region node_modules/lodash-es/_listCacheDelete.js
2287
- var un = Array.prototype.splice;
2288
- function dn(e) {
2289
- var t = this.__data__, n = z(t, e);
2290
- return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : un.call(t, n, 1), --this.size, !0);
2291
- }
2292
- //#endregion
2293
- //#region node_modules/lodash-es/_listCacheGet.js
2294
- function fn(e) {
2295
- var t = this.__data__, n = z(t, e);
2296
- return n < 0 ? void 0 : t[n][1];
2297
- }
2298
- //#endregion
2299
- //#region node_modules/lodash-es/_listCacheHas.js
2300
- function pn(e) {
2301
- return z(this.__data__, e) > -1;
2302
- }
2303
- //#endregion
2304
- //#region node_modules/lodash-es/_listCacheSet.js
2305
- function mn(e, t) {
2306
- var n = this.__data__, r = z(n, e);
2307
- return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
2308
- }
2309
- //#endregion
2310
- //#region node_modules/lodash-es/_ListCache.js
2311
- function B(e) {
2312
- var t = -1, n = e == null ? 0 : e.length;
2313
- for (this.clear(); ++t < n;) {
2314
- var r = e[t];
2315
- this.set(r[0], r[1]);
2316
- }
2317
- }
2318
- B.prototype.clear = ln, B.prototype.delete = dn, B.prototype.get = fn, B.prototype.has = pn, B.prototype.set = mn;
2319
- //#endregion
2320
- //#region node_modules/lodash-es/_Map.js
2321
- var V = E(h, "Map");
2322
- //#endregion
2323
- //#region node_modules/lodash-es/_mapCacheClear.js
2324
- function hn() {
2325
- this.size = 0, this.__data__ = {
2326
- hash: new R(),
2327
- map: new (V || B)(),
2328
- string: new R()
2329
- };
2330
- }
2331
- //#endregion
2332
- //#region node_modules/lodash-es/_isKeyable.js
2333
- function gn(e) {
2334
- var t = typeof e;
2335
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
2336
- }
2337
- //#endregion
2338
- //#region node_modules/lodash-es/_getMapData.js
2339
- function H(e, t) {
2340
- var n = e.__data__;
2341
- return gn(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
2342
- }
2343
- //#endregion
2344
- //#region node_modules/lodash-es/_mapCacheDelete.js
2345
- function _n(e) {
2346
- var t = H(this, e).delete(e);
2347
- return this.size -= +!!t, t;
2348
- }
2349
- //#endregion
2350
- //#region node_modules/lodash-es/_mapCacheGet.js
2351
- function vn(e) {
2352
- return H(this, e).get(e);
2353
- }
2354
- //#endregion
2355
- //#region node_modules/lodash-es/_mapCacheHas.js
2356
- function yn(e) {
2357
- return H(this, e).has(e);
2358
- }
2359
- //#endregion
2360
- //#region node_modules/lodash-es/_mapCacheSet.js
2361
- function bn(e, t) {
2362
- var n = H(this, e), r = n.size;
2363
- return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
2364
- }
2365
- //#endregion
2366
- //#region node_modules/lodash-es/_MapCache.js
2367
- function U(e) {
2368
- var t = -1, n = e == null ? 0 : e.length;
2369
- for (this.clear(); ++t < n;) {
2370
- var r = e[t];
2371
- this.set(r[0], r[1]);
2372
- }
2373
- }
2374
- U.prototype.clear = hn, U.prototype.delete = _n, U.prototype.get = vn, U.prototype.has = yn, U.prototype.set = bn;
2375
- //#endregion
2376
- //#region node_modules/lodash-es/memoize.js
2377
- var xn = "Expected a function";
2378
- function W(e, t) {
2379
- if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(xn);
2380
- var n = function() {
2381
- var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
2382
- if (a.has(i)) return a.get(i);
2383
- var o = e.apply(this, r);
2384
- return n.cache = a.set(i, o) || a, o;
2385
- };
2386
- return n.cache = new (W.Cache || U)(), n;
2387
- }
2388
- W.Cache = U;
2389
- //#endregion
2390
- //#region node_modules/lodash-es/_memoizeCapped.js
2391
- var Sn = 500;
2392
- function Cn(e) {
2393
- var t = W(e, function(e) {
2394
- return n.size === Sn && n.clear(), e;
2395
- }), n = t.cache;
2396
- return t;
2397
- }
2398
- //#endregion
2399
- //#region node_modules/lodash-es/_stringToPath.js
2400
- var wn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Tn = /\\(\\)?/g, En = Cn(function(e) {
2401
- var t = [];
2402
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(wn, function(e, n, r, i) {
2403
- t.push(r ? i.replace(Tn, "$1") : n || e);
2404
- }), t;
2405
- });
2406
- //#endregion
2407
- //#region node_modules/lodash-es/toString.js
2408
- function Dn(e) {
2409
- return e == null ? "" : he(e);
2410
- }
2411
- //#endregion
2412
- //#region node_modules/lodash-es/_castPath.js
2413
- function On(e, t) {
2414
- return x(e) ? e : Qt(e, t) ? [e] : En(Dn(e));
2415
- }
2416
- //#endregion
2417
- //#region node_modules/lodash-es/_toKey.js
2418
- var kn = Infinity;
2419
- function An(e) {
2420
- if (typeof e == "string" || b(e)) return e;
2421
- var t = e + "";
2422
- return t == "0" && 1 / e == -kn ? "-0" : t;
2423
- }
2424
- //#endregion
2425
- //#region node_modules/lodash-es/_baseGet.js
2426
- function jn(e, t) {
2427
- t = On(t, e);
2428
- for (var n = 0, r = t.length; e != null && n < r;) e = e[An(t[n++])];
2429
- return n && n == r ? e : void 0;
2430
- }
2431
- //#endregion
2432
- //#region node_modules/lodash-es/get.js
2433
- function Mn(e, t, n) {
2434
- var r = e == null ? void 0 : jn(e, t);
2435
- return r === void 0 ? n : r;
2436
- }
2437
- //#endregion
2438
- //#region node_modules/lodash-es/_getPrototype.js
2439
- 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);
2440
- function zn(e) {
2441
- if (!y(e) || v(e) != Nn) return !1;
2442
- var t = G(e);
2443
- if (t === null) return !0;
2444
- var n = Ln.call(t, "constructor") && t.constructor;
2445
- return typeof n == "function" && n instanceof n && In.call(n) == Rn;
2446
- }
2447
- //#endregion
2448
- //#region node_modules/lodash-es/_stackClear.js
2449
- function Bn() {
2450
- this.__data__ = new B(), this.size = 0;
2451
- }
2452
- //#endregion
2453
- //#region node_modules/lodash-es/_stackDelete.js
2454
- function Vn(e) {
2455
- var t = this.__data__, n = t.delete(e);
2456
- return this.size = t.size, n;
2457
- }
2458
- //#endregion
2459
- //#region node_modules/lodash-es/_stackGet.js
2460
- function Hn(e) {
2461
- return this.__data__.get(e);
2462
- }
2463
- //#endregion
2464
- //#region node_modules/lodash-es/_stackHas.js
2465
- function Un(e) {
2466
- return this.__data__.has(e);
2467
- }
2468
- //#endregion
2469
- //#region node_modules/lodash-es/_stackSet.js
2470
- var Wn = 200;
2471
- function Gn(e, t) {
2472
- var n = this.__data__;
2473
- if (n instanceof B) {
2474
- var r = n.__data__;
2475
- if (!V || r.length < Wn - 1) return r.push([e, t]), this.size = ++n.size, this;
2476
- n = this.__data__ = new U(r);
2477
- }
2478
- return n.set(e, t), this.size = n.size, this;
2479
- }
2480
- //#endregion
2481
- //#region node_modules/lodash-es/_Stack.js
2482
- function K(e) {
2483
- var t = this.__data__ = new B(e);
2484
- this.size = t.size;
2485
- }
2486
- K.prototype.clear = Bn, K.prototype.delete = Vn, K.prototype.get = Hn, K.prototype.has = Un, K.prototype.set = Gn;
2487
- //#endregion
2488
- //#region node_modules/lodash-es/_cloneBuffer.js
2489
- 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;
2490
- function Xn(e, t) {
2491
- if (t) return e.slice();
2492
- var n = e.length, r = Yn ? Yn(n) : new e.constructor(n);
2493
- return e.copy(r), r;
2494
- }
2495
- //#endregion
2496
- //#region node_modules/lodash-es/_Uint8Array.js
2497
- var q = h.Uint8Array;
2498
- //#endregion
2499
- //#region node_modules/lodash-es/_cloneArrayBuffer.js
2500
- function Zn(e) {
2501
- var t = new e.constructor(e.byteLength);
2502
- return new q(t).set(new q(e)), t;
2503
- }
2504
- //#endregion
2505
- //#region node_modules/lodash-es/_cloneTypedArray.js
2506
- function Qn(e, t) {
2507
- var n = t ? Zn(e.buffer) : e.buffer;
2508
- return new e.constructor(n, e.byteOffset, e.length);
2509
- }
2510
- //#endregion
2511
- //#region node_modules/lodash-es/_initCloneObject.js
2512
- function $n(e) {
2513
- return typeof e.constructor == "function" && !N(e) ? Pe(G(e)) : {};
2514
- }
2515
- //#endregion
2516
- //#region node_modules/lodash-es/_createBaseFor.js
2517
- function er(e) {
2518
- return function(t, n, r) {
2519
- for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
2520
- var c = o[e ? s : ++i];
2521
- if (n(a[c], c, a) === !1) break;
2522
- }
2523
- return t;
2524
- };
2525
- }
2526
- //#endregion
2527
- //#region node_modules/lodash-es/_baseFor.js
2528
- var tr = er();
2529
- //#endregion
2530
- //#region node_modules/lodash-es/_assignMergeValue.js
2531
- function J(e, t, n) {
2532
- (n !== void 0 && !A(e[t], n) || n === void 0 && !(t in e)) && k(e, t, n);
2533
- }
2534
- //#endregion
2535
- //#region node_modules/lodash-es/isArrayLikeObject.js
2536
- function nr(e) {
2537
- return y(e) && M(e);
2538
- }
2539
- //#endregion
2540
- //#region node_modules/lodash-es/_safeGet.js
2541
- function Y(e, t) {
2542
- if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
2543
- }
2544
- //#endregion
2545
- //#region node_modules/lodash-es/toPlainObject.js
2546
- function rr(e) {
2547
- return qe(e, Yt(e));
2548
- }
2549
- //#endregion
2550
- //#region node_modules/lodash-es/_baseMergeDeep.js
2551
- function ir(e, t, n, r, i, a, o) {
2552
- var s = Y(e, n), c = Y(t, n), l = o.get(c);
2553
- if (l) {
2554
- J(e, n, l);
2555
- return;
2556
- }
2557
- var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
2558
- if (d) {
2559
- var f = x(c), p = !f && dt(c), m = !f && !p && Ht(c);
2560
- 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;
2561
- }
2562
- d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), J(e, n, u);
2563
- }
2564
- //#endregion
2565
- //#region node_modules/lodash-es/_baseMerge.js
2566
- function ar(e, t, n, r, i) {
2567
- e !== t && tr(t, function(a, o) {
2568
- if (i ||= new K(), S(a)) ir(e, t, o, n, ar, r, i);
2569
- else {
2570
- var s = r ? r(Y(e, o), a, o + "", e, t, i) : void 0;
2571
- s === void 0 && (s = a), J(e, o, s);
2572
- }
2573
- }, Yt);
2574
- }
2575
- //#endregion
2576
- //#region node_modules/lodash-es/merge.js
2577
- var or = $e(function(e, t, n) {
2578
- ar(e, t, n);
2579
1892
  });
2580
1893
  //#endregion
2581
1894
  //#region lib/i18n/merge-resources.ts
2582
- function sr(e, t) {
2583
- let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]), r = {};
2584
- for (let i of n) r[i] = or({}, e[i] ?? {}, t[i] ?? {});
2585
- return r;
1895
+ function h(e, n) {
1896
+ let r = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(n)]), i = {};
1897
+ for (let a of r) i[a] = t({}, e[a] ?? {}, n[a] ?? {});
1898
+ return i;
2586
1899
  }
2587
1900
  //#endregion
2588
1901
  //#region node_modules/@formatjs/fast-memoize/index.js
2589
- function cr(e, t) {
2590
- let n = t && t.cache ? t.cache : vr, r = t && t.serializer ? t.serializer : gr;
2591
- return (t && t.strategy ? t.strategy : pr)(e, {
1902
+ function g(e, t) {
1903
+ let n = t && t.cache ? t.cache : se, r = t && t.serializer ? t.serializer : ae;
1904
+ return (t && t.strategy ? t.strategy : ne)(e, {
2592
1905
  cache: n,
2593
1906
  serializer: r
2594
1907
  });
2595
1908
  }
2596
- function lr(e) {
1909
+ function te(e) {
2597
1910
  return e == null || typeof e == "number" || typeof e == "boolean";
2598
1911
  }
2599
- function ur(e, t, n, r) {
2600
- let i = lr(r) ? r : n(r), a = t.get(i);
1912
+ function _(e, t, n, r) {
1913
+ let i = te(r) ? r : n(r), a = t.get(i);
2601
1914
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
2602
1915
  }
2603
- function dr(e, t, n) {
1916
+ function v(e, t, n) {
2604
1917
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
2605
1918
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
2606
1919
  }
2607
- function fr(e, t, n, r, i) {
1920
+ function y(e, t, n, r, i) {
2608
1921
  return n.bind(t, e, r, i);
2609
1922
  }
2610
- function pr(e, t) {
2611
- let n = e.length === 1 ? ur : dr;
2612
- return fr(e, this, n, t.cache.create(), t.serializer);
1923
+ function ne(e, t) {
1924
+ let n = e.length === 1 ? _ : v;
1925
+ return y(e, this, n, t.cache.create(), t.serializer);
2613
1926
  }
2614
- function mr(e, t) {
2615
- return fr(e, this, dr, t.cache.create(), t.serializer);
1927
+ function re(e, t) {
1928
+ return y(e, this, v, t.cache.create(), t.serializer);
2616
1929
  }
2617
- function hr(e, t) {
2618
- return fr(e, this, ur, t.cache.create(), t.serializer);
1930
+ function ie(e, t) {
1931
+ return y(e, this, _, t.cache.create(), t.serializer);
2619
1932
  }
2620
- var gr = function() {
1933
+ var ae = function() {
2621
1934
  return JSON.stringify(arguments);
2622
- }, _r = class {
1935
+ }, oe = class {
2623
1936
  constructor() {
2624
1937
  this.cache = Object.create(null);
2625
1938
  }
@@ -2629,15 +1942,15 @@ var gr = function() {
2629
1942
  set(e, t) {
2630
1943
  this.cache[e] = t;
2631
1944
  }
2632
- }, vr = { create: function() {
2633
- return new _r();
2634
- } }, yr = {
2635
- variadic: mr,
2636
- monadic: hr
2637
- }, 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;
2638
- function xr(e) {
1945
+ }, se = { create: function() {
1946
+ return new oe();
1947
+ } }, b = {
1948
+ variadic: re,
1949
+ monadic: ie
1950
+ }, 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;
1951
+ function x(e) {
2639
1952
  let t = {};
2640
- return e.replace(br, (e) => {
1953
+ return e.replace(ce, (e) => {
2641
1954
  let n = e.length;
2642
1955
  switch (e[0]) {
2643
1956
  case "G":
@@ -2732,10 +2045,10 @@ function xr(e) {
2732
2045
  return "";
2733
2046
  }), t;
2734
2047
  }
2735
- var Sr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2736
- function Cr(e) {
2048
+ var S = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2049
+ function le(e) {
2737
2050
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
2738
- let t = e.split(Sr).filter((e) => e.length > 0), n = [];
2051
+ let t = e.split(S).filter((e) => e.length > 0), n = [];
2739
2052
  for (let e of t) {
2740
2053
  let t = e.split("/");
2741
2054
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -2748,17 +2061,17 @@ function Cr(e) {
2748
2061
  }
2749
2062
  return n;
2750
2063
  }
2751
- function wr(e) {
2064
+ function ue(e) {
2752
2065
  return e.replace(/^(.*?)-/, "");
2753
2066
  }
2754
- var Tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, Dr = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
2755
- function kr(e) {
2067
+ var C = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, w = /^(@+)?(\+|#+)?[rs]?$/g, de = /(\*)(0+)|(#+)(0+)|(0+)/g, T = /^(0+)$/;
2068
+ function E(e) {
2756
2069
  let t = {};
2757
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(e, n, r) {
2070
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(w, function(e, n, r) {
2758
2071
  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), "";
2759
2072
  }), t;
2760
2073
  }
2761
- function Ar(e) {
2074
+ function D(e) {
2762
2075
  switch (e) {
2763
2076
  case "sign-auto": return { signDisplay: "auto" };
2764
2077
  case "sign-accounting":
@@ -2781,19 +2094,19 @@ function Ar(e) {
2781
2094
  case "+_": return { signDisplay: "never" };
2782
2095
  }
2783
2096
  }
2784
- function jr(e) {
2097
+ function fe(e) {
2785
2098
  let t;
2786
2099
  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) {
2787
2100
  let n = e.slice(0, 2);
2788
- 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");
2101
+ 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");
2789
2102
  t.minimumIntegerDigits = e.length;
2790
2103
  }
2791
2104
  return t;
2792
2105
  }
2793
- function Mr(e) {
2794
- return Ar(e) || {};
2106
+ function O(e) {
2107
+ return D(e) || {};
2795
2108
  }
2796
- function Nr(e) {
2109
+ function pe(e) {
2797
2110
  let t = {};
2798
2111
  for (let n of e) {
2799
2112
  switch (n.stem) {
@@ -2817,7 +2130,7 @@ function Nr(e) {
2817
2130
  continue;
2818
2131
  case "measure-unit":
2819
2132
  case "unit":
2820
- t.style = "unit", t.unit = wr(n.options[0]);
2133
+ t.style = "unit", t.unit = ue(n.options[0]);
2821
2134
  continue;
2822
2135
  case "compact-short":
2823
2136
  case "K":
@@ -2833,7 +2146,7 @@ function Nr(e) {
2833
2146
  notation: "scientific",
2834
2147
  ...n.options.reduce((e, t) => ({
2835
2148
  ...e,
2836
- ...Mr(t)
2149
+ ...O(t)
2837
2150
  }), {})
2838
2151
  };
2839
2152
  continue;
@@ -2843,7 +2156,7 @@ function Nr(e) {
2843
2156
  notation: "engineering",
2844
2157
  ...n.options.reduce((e, t) => ({
2845
2158
  ...e,
2846
- ...Mr(t)
2159
+ ...O(t)
2847
2160
  }), {})
2848
2161
  };
2849
2162
  continue;
@@ -2888,7 +2201,7 @@ function Nr(e) {
2888
2201
  continue;
2889
2202
  case "integer-width":
2890
2203
  if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
2891
- n.options[0].replace(Dr, function(e, n, r, i, a, o) {
2204
+ n.options[0].replace(de, function(e, n, r, i, a, o) {
2892
2205
  if (n) t.minimumIntegerDigits = r.length;
2893
2206
  else if (i && a) throw Error("We currently do not support maximum integer digits");
2894
2207
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -2896,13 +2209,13 @@ function Nr(e) {
2896
2209
  });
2897
2210
  continue;
2898
2211
  }
2899
- if (Or.test(n.stem)) {
2212
+ if (T.test(n.stem)) {
2900
2213
  t.minimumIntegerDigits = n.stem.length;
2901
2214
  continue;
2902
2215
  }
2903
- if (Tr.test(n.stem)) {
2216
+ if (C.test(n.stem)) {
2904
2217
  if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
2905
- n.stem.replace(Tr, function(e, n, r, i, a, o) {
2218
+ n.stem.replace(C, function(e, n, r, i, a, o) {
2906
2219
  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), "";
2907
2220
  });
2908
2221
  let e = n.options[0];
@@ -2911,23 +2224,23 @@ function Nr(e) {
2911
2224
  trailingZeroDisplay: "stripIfInteger"
2912
2225
  } : e && (t = {
2913
2226
  ...t,
2914
- ...kr(e)
2227
+ ...E(e)
2915
2228
  });
2916
2229
  continue;
2917
2230
  }
2918
- if (Er.test(n.stem)) {
2231
+ if (w.test(n.stem)) {
2919
2232
  t = {
2920
2233
  ...t,
2921
- ...kr(n.stem)
2234
+ ...E(n.stem)
2922
2235
  };
2923
2236
  continue;
2924
2237
  }
2925
- let e = Ar(n.stem);
2238
+ let e = D(n.stem);
2926
2239
  e && (t = {
2927
2240
  ...t,
2928
2241
  ...e
2929
2242
  });
2930
- let r = jr(n.stem);
2243
+ let r = fe(n.stem);
2931
2244
  r && (t = {
2932
2245
  ...t,
2933
2246
  ...r
@@ -2937,43 +2250,43 @@ function Nr(e) {
2937
2250
  }
2938
2251
  //#endregion
2939
2252
  //#region node_modules/@formatjs/icu-messageformat-parser/index.js
2940
- var Pr = /* @__PURE__ */ function(e) {
2253
+ var me = /* @__PURE__ */ function(e) {
2941
2254
  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;
2942
2255
  }({});
2943
- function Fr(e) {
2256
+ function k(e) {
2944
2257
  return e.type === 0;
2945
2258
  }
2946
- function Ir(e) {
2259
+ function he(e) {
2947
2260
  return e.type === 1;
2948
2261
  }
2949
- function Lr(e) {
2262
+ function A(e) {
2950
2263
  return e.type === 2;
2951
2264
  }
2952
- function Rr(e) {
2265
+ function j(e) {
2953
2266
  return e.type === 3;
2954
2267
  }
2955
- function zr(e) {
2268
+ function M(e) {
2956
2269
  return e.type === 4;
2957
2270
  }
2958
- function Br(e) {
2271
+ function N(e) {
2959
2272
  return e.type === 5;
2960
2273
  }
2961
- function Vr(e) {
2274
+ function P(e) {
2962
2275
  return e.type === 6;
2963
2276
  }
2964
- function Hr(e) {
2277
+ function F(e) {
2965
2278
  return e.type === 7;
2966
2279
  }
2967
- function Ur(e) {
2280
+ function I(e) {
2968
2281
  return e.type === 8;
2969
2282
  }
2970
- function Wr(e) {
2283
+ function L(e) {
2971
2284
  return !!(e && typeof e == "object" && e.type === 0);
2972
2285
  }
2973
- function Gr(e) {
2286
+ function R(e) {
2974
2287
  return !!(e && typeof e == "object" && e.type === 1);
2975
2288
  }
2976
- var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
2289
+ var z = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, B = {
2977
2290
  "001": ["H", "h"],
2978
2291
  419: [
2979
2292
  "h",
@@ -4136,21 +3449,21 @@ var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
4136
3449
  "h"
4137
3450
  ]
4138
3451
  };
4139
- function qr(e, t) {
3452
+ function ge(e, t) {
4140
3453
  let n = "";
4141
3454
  for (let r = 0; r < e.length; r++) {
4142
3455
  let i = e.charAt(r);
4143
3456
  if (i === "j") {
4144
3457
  let a = 0;
4145
3458
  for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
4146
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = Jr(t);
3459
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = _e(t);
4147
3460
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
4148
3461
  for (; o-- > 0;) n = c + n;
4149
3462
  } else i === "J" ? n += "H" : n += i;
4150
3463
  }
4151
3464
  return n;
4152
3465
  }
4153
- function Jr(e) {
3466
+ function _e(e) {
4154
3467
  let t = e.hourCycle;
4155
3468
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
4156
3469
  case "h24": return "k";
@@ -4160,32 +3473,32 @@ function Jr(e) {
4160
3473
  default: throw Error("Invalid hourCycle");
4161
3474
  }
4162
3475
  let n = e.language, r;
4163
- return n !== "root" && (r = e.maximize().region), (X[r || ""] || X[n || ""] || X[`${n}-001`] || X["001"])[0];
3476
+ return n !== "root" && (r = e.maximize().region), (B[r || ""] || B[n || ""] || B[`${n}-001`] || B["001"])[0];
4164
3477
  }
4165
- var Yr = RegExp(`^${Kr.source}*`), Xr = RegExp(`${Kr.source}*$`);
4166
- function Z(e, t) {
3478
+ var ve = RegExp(`^${z.source}*`), ye = RegExp(`${z.source}*$`);
3479
+ function V(e, t) {
4167
3480
  return {
4168
3481
  start: e,
4169
3482
  end: t
4170
3483
  };
4171
3484
  }
4172
- var Zr = !!Object.fromEntries, Qr = !!String.prototype.trimStart, $r = !!String.prototype.trimEnd, ei = Zr ? Object.fromEntries : function(e) {
3485
+ var be = !!Object.fromEntries, H = !!String.prototype.trimStart, xe = !!String.prototype.trimEnd, U = be ? Object.fromEntries : function(e) {
4173
3486
  let t = {};
4174
3487
  for (let [n, r] of e) t[n] = r;
4175
3488
  return t;
4176
- }, ti = Qr ? function(e) {
3489
+ }, Se = H ? function(e) {
4177
3490
  return e.trimStart();
4178
3491
  } : function(e) {
4179
- return e.replace(Yr, "");
4180
- }, ni = $r ? function(e) {
3492
+ return e.replace(ve, "");
3493
+ }, Ce = xe ? function(e) {
4181
3494
  return e.trimEnd();
4182
3495
  } : function(e) {
4183
- return e.replace(Xr, "");
4184
- }, ri = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
4185
- function ii(e, t) {
4186
- return ri.lastIndex = t, ri.exec(e)[1] ?? "";
3496
+ return e.replace(ye, "");
3497
+ }, W = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3498
+ function we(e, t) {
3499
+ return W.lastIndex = t, W.exec(e)[1] ?? "";
4187
3500
  }
4188
- function ai(e) {
3501
+ function Te(e) {
4189
3502
  if (e.length === 0) return null;
4190
3503
  let t = 1, n = 1;
4191
3504
  for (let r = 0; r < e.length;) {
@@ -4209,7 +3522,7 @@ function ai(e) {
4209
3522
  column: n
4210
3523
  };
4211
3524
  }
4212
- var oi = class {
3525
+ var Ee = class {
4213
3526
  constructor(e, t = {}) {
4214
3527
  this.message = e, this.position = {
4215
3528
  offset: 0,
@@ -4222,14 +3535,14 @@ var oi = class {
4222
3535
  if (this.message.length > 0) {
4223
3536
  let e = this.message.charCodeAt(0);
4224
3537
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
4225
- let e = ai(this.message);
3538
+ let e = Te(this.message);
4226
3539
  if (e) {
4227
3540
  let t = this.clonePosition();
4228
3541
  return this.position = e, {
4229
3542
  val: [{
4230
3543
  type: 0,
4231
3544
  value: this.message,
4232
- location: Z(t, this.clonePosition())
3545
+ location: V(t, this.clonePosition())
4233
3546
  }],
4234
3547
  err: null
4235
3548
  };
@@ -4251,12 +3564,12 @@ var oi = class {
4251
3564
  let e = this.clonePosition();
4252
3565
  this.bump(), r.push({
4253
3566
  type: 7,
4254
- location: Z(e, this.clonePosition())
3567
+ location: V(e, this.clonePosition())
4255
3568
  });
4256
3569
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
4257
3570
  if (n) break;
4258
- return this.error(26, Z(this.clonePosition(), this.clonePosition()));
4259
- } else if (i === 60 && !this.ignoreTag && si(this.peek() || 0)) {
3571
+ return this.error(26, V(this.clonePosition(), this.clonePosition()));
3572
+ } else if (i === 60 && !this.ignoreTag && G(this.peek() || 0)) {
4260
3573
  let n = this.parseTag(e, t);
4261
3574
  if (n.err) return n;
4262
3575
  r.push(n.val);
@@ -4279,7 +3592,7 @@ var oi = class {
4279
3592
  val: {
4280
3593
  type: 0,
4281
3594
  value: `<${r}/>`,
4282
- location: Z(n, this.clonePosition())
3595
+ location: V(n, this.clonePosition())
4283
3596
  },
4284
3597
  err: null
4285
3598
  };
@@ -4288,23 +3601,23 @@ var oi = class {
4288
3601
  if (i.err) return i;
4289
3602
  let a = i.val, o = this.clonePosition();
4290
3603
  if (this.bumpIf("</")) {
4291
- if (this.isEOF() || !si(this.char())) return this.error(23, Z(o, this.clonePosition()));
3604
+ if (this.isEOF() || !G(this.char())) return this.error(23, V(o, this.clonePosition()));
4292
3605
  let e = this.clonePosition();
4293
3606
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
4294
3607
  val: {
4295
3608
  type: 8,
4296
3609
  value: r,
4297
3610
  children: a,
4298
- location: Z(n, this.clonePosition())
3611
+ location: V(n, this.clonePosition())
4299
3612
  },
4300
3613
  err: null
4301
- } : this.error(23, Z(o, this.clonePosition()))) : this.error(26, Z(e, this.clonePosition()));
4302
- } else return this.error(27, Z(n, this.clonePosition()));
4303
- } else return this.error(23, Z(n, this.clonePosition()));
3614
+ } : this.error(23, V(o, this.clonePosition()))) : this.error(26, V(e, this.clonePosition()));
3615
+ } else return this.error(27, V(n, this.clonePosition()));
3616
+ } else return this.error(23, V(n, this.clonePosition()));
4304
3617
  }
4305
3618
  parseTagName() {
4306
3619
  let e = this.offset();
4307
- for (this.bump(); !this.isEOF() && li(this.char());) this.bump();
3620
+ for (this.bump(); !this.isEOF() && Oe(this.char());) this.bump();
4308
3621
  return this.message.slice(e, this.offset());
4309
3622
  }
4310
3623
  parseLiteral(e, t) {
@@ -4327,7 +3640,7 @@ var oi = class {
4327
3640
  }
4328
3641
  break;
4329
3642
  }
4330
- let i = Z(n, this.clonePosition());
3643
+ let i = V(n, this.clonePosition());
4331
3644
  return {
4332
3645
  val: {
4333
3646
  type: 0,
@@ -4338,7 +3651,7 @@ var oi = class {
4338
3651
  };
4339
3652
  }
4340
3653
  tryParseLeftAngleBracket() {
4341
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !ci(this.peek() || 0)) ? (this.bump(), "<") : null;
3654
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !De(this.peek() || 0)) ? (this.bump(), "<") : null;
4342
3655
  }
4343
3656
  tryParseQuote(e) {
4344
3657
  if (this.isEOF() || this.char() !== 39) return null;
@@ -4374,35 +3687,35 @@ var oi = class {
4374
3687
  }
4375
3688
  parseArgument(e, t) {
4376
3689
  let n = this.clonePosition();
4377
- if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
4378
- if (this.char() === 125) return this.bump(), this.error(2, Z(n, this.clonePosition()));
3690
+ if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, V(n, this.clonePosition()));
3691
+ if (this.char() === 125) return this.bump(), this.error(2, V(n, this.clonePosition()));
4379
3692
  let r = this.parseIdentifierIfPossible().value;
4380
- if (!r) return this.error(3, Z(n, this.clonePosition()));
4381
- if (this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
3693
+ if (!r) return this.error(3, V(n, this.clonePosition()));
3694
+ if (this.bumpSpace(), this.isEOF()) return this.error(1, V(n, this.clonePosition()));
4382
3695
  switch (this.char()) {
4383
3696
  case 125: return this.bump(), {
4384
3697
  val: {
4385
3698
  type: 1,
4386
3699
  value: r,
4387
- location: Z(n, this.clonePosition())
3700
+ location: V(n, this.clonePosition())
4388
3701
  },
4389
3702
  err: null
4390
3703
  };
4391
- case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, Z(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
4392
- default: return this.error(3, Z(n, this.clonePosition()));
3704
+ case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, V(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
3705
+ default: return this.error(3, V(n, this.clonePosition()));
4393
3706
  }
4394
3707
  }
4395
3708
  parseIdentifierIfPossible() {
4396
- let e = this.clonePosition(), t = this.offset(), n = ii(this.message, t), r = t + n.length;
3709
+ let e = this.clonePosition(), t = this.offset(), n = we(this.message, t), r = t + n.length;
4397
3710
  return this.bumpTo(r), {
4398
3711
  value: n,
4399
- location: Z(e, this.clonePosition())
3712
+ location: V(e, this.clonePosition())
4400
3713
  };
4401
3714
  }
4402
3715
  parseArgumentOptions(e, t, n, r) {
4403
3716
  let i = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
4404
3717
  switch (a) {
4405
- case "": return this.error(4, Z(i, o));
3718
+ case "": return this.error(4, V(i, o));
4406
3719
  case "number":
4407
3720
  case "date":
4408
3721
  case "time": {
@@ -4412,18 +3725,18 @@ var oi = class {
4412
3725
  this.bumpSpace();
4413
3726
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
4414
3727
  if (n.err) return n;
4415
- let r = ni(n.val);
4416
- if (r.length === 0) return this.error(6, Z(this.clonePosition(), this.clonePosition()));
3728
+ let r = Ce(n.val);
3729
+ if (r.length === 0) return this.error(6, V(this.clonePosition(), this.clonePosition()));
4417
3730
  e = {
4418
3731
  style: r,
4419
- styleLocation: Z(t, this.clonePosition())
3732
+ styleLocation: V(t, this.clonePosition())
4420
3733
  };
4421
3734
  }
4422
3735
  let t = this.tryParseArgumentClose(r);
4423
3736
  if (t.err) return t;
4424
- let i = Z(r, this.clonePosition());
3737
+ let i = V(r, this.clonePosition());
4425
3738
  if (e && e.style.startsWith("::")) {
4426
- let t = ti(e.style.slice(2));
3739
+ let t = Se(e.style.slice(2));
4427
3740
  if (a === "number") {
4428
3741
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
4429
3742
  return r.err ? r : {
@@ -4438,12 +3751,12 @@ var oi = class {
4438
3751
  } else {
4439
3752
  if (t.length === 0) return this.error(10, i);
4440
3753
  let r = t;
4441
- this.locale && (r = qr(t, this.locale));
3754
+ this.locale && (r = ge(t, this.locale));
4442
3755
  let o = {
4443
3756
  type: 1,
4444
3757
  pattern: r,
4445
3758
  location: e.styleLocation,
4446
- parsedOptions: this.shouldParseSkeletons ? xr(r) : {}
3759
+ parsedOptions: this.shouldParseSkeletons ? x(r) : {}
4447
3760
  };
4448
3761
  return {
4449
3762
  val: {
@@ -4470,11 +3783,11 @@ var oi = class {
4470
3783
  case "selectordinal":
4471
3784
  case "select": {
4472
3785
  let i = this.clonePosition();
4473
- if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, Z(i, { ...i }));
3786
+ if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, V(i, { ...i }));
4474
3787
  this.bumpSpace();
4475
3788
  let o = this.parseIdentifierIfPossible(), s = 0;
4476
3789
  if (a !== "select" && o.value === "offset") {
4477
- if (!this.bumpIf(":")) return this.error(13, Z(this.clonePosition(), this.clonePosition()));
3790
+ if (!this.bumpIf(":")) return this.error(13, V(this.clonePosition(), this.clonePosition()));
4478
3791
  this.bumpSpace();
4479
3792
  let e = this.tryParseDecimalInteger(13, 14);
4480
3793
  if (e.err) return e;
@@ -4484,12 +3797,12 @@ var oi = class {
4484
3797
  if (c.err) return c;
4485
3798
  let l = this.tryParseArgumentClose(r);
4486
3799
  if (l.err) return l;
4487
- let u = Z(r, this.clonePosition());
3800
+ let u = V(r, this.clonePosition());
4488
3801
  return a === "select" ? {
4489
3802
  val: {
4490
3803
  type: 5,
4491
3804
  value: n,
4492
- options: ei(c.val),
3805
+ options: U(c.val),
4493
3806
  location: u
4494
3807
  },
4495
3808
  err: null
@@ -4497,7 +3810,7 @@ var oi = class {
4497
3810
  val: {
4498
3811
  type: 6,
4499
3812
  value: n,
4500
- options: ei(c.val),
3813
+ options: U(c.val),
4501
3814
  offset: s,
4502
3815
  pluralType: a === "plural" ? "cardinal" : "ordinal",
4503
3816
  location: u
@@ -4505,11 +3818,11 @@ var oi = class {
4505
3818
  err: null
4506
3819
  };
4507
3820
  }
4508
- default: return this.error(5, Z(i, o));
3821
+ default: return this.error(5, V(i, o));
4509
3822
  }
4510
3823
  }
4511
3824
  tryParseArgumentClose(e) {
4512
- return this.isEOF() || this.char() !== 125 ? this.error(1, Z(e, this.clonePosition())) : (this.bump(), {
3825
+ return this.isEOF() || this.char() !== 125 ? this.error(1, V(e, this.clonePosition())) : (this.bump(), {
4513
3826
  val: !0,
4514
3827
  err: null
4515
3828
  });
@@ -4520,7 +3833,7 @@ var oi = class {
4520
3833
  case 39: {
4521
3834
  this.bump();
4522
3835
  let e = this.clonePosition();
4523
- if (!this.bumpUntil("'")) return this.error(11, Z(e, this.clonePosition()));
3836
+ if (!this.bumpUntil("'")) return this.error(11, V(e, this.clonePosition()));
4524
3837
  this.bump();
4525
3838
  break;
4526
3839
  }
@@ -4544,7 +3857,7 @@ var oi = class {
4544
3857
  parseNumberSkeletonFromString(e, t) {
4545
3858
  let n = [];
4546
3859
  try {
4547
- n = Cr(e);
3860
+ n = le(e);
4548
3861
  } catch {
4549
3862
  return this.error(7, t);
4550
3863
  }
@@ -4553,7 +3866,7 @@ var oi = class {
4553
3866
  type: 0,
4554
3867
  tokens: n,
4555
3868
  location: t,
4556
- parsedOptions: this.shouldParseSkeletons ? Nr(n) : {}
3869
+ parsedOptions: this.shouldParseSkeletons ? pe(n) : {}
4557
3870
  },
4558
3871
  err: null
4559
3872
  };
@@ -4566,23 +3879,23 @@ var oi = class {
4566
3879
  if (t !== "select" && this.bumpIf("=")) {
4567
3880
  let t = this.tryParseDecimalInteger(16, 19);
4568
3881
  if (t.err) return t;
4569
- c = Z(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
3882
+ c = V(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
4570
3883
  } else break;
4571
3884
  }
4572
3885
  if (o.has(s)) return this.error(t === "select" ? 21 : 20, c);
4573
3886
  s === "other" && (i = !0), this.bumpSpace();
4574
3887
  let r = this.clonePosition();
4575
- if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, Z(this.clonePosition(), this.clonePosition()));
3888
+ if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, V(this.clonePosition(), this.clonePosition()));
4576
3889
  let l = this.parseMessage(e + 1, t, n);
4577
3890
  if (l.err) return l;
4578
3891
  let u = this.tryParseArgumentClose(r);
4579
3892
  if (u.err) return u;
4580
3893
  a.push([s, {
4581
3894
  value: l.val,
4582
- location: Z(r, this.clonePosition())
3895
+ location: V(r, this.clonePosition())
4583
3896
  }]), o.add(s), this.bumpSpace(), {value: s, location: c} = this.parseIdentifierIfPossible();
4584
3897
  }
4585
- 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())) : {
3898
+ 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())) : {
4586
3899
  val: a,
4587
3900
  err: null
4588
3901
  };
@@ -4596,7 +3909,7 @@ var oi = class {
4596
3909
  if (e >= 48 && e <= 57) i = !0, a = a * 10 + (e - 48), this.bump();
4597
3910
  else break;
4598
3911
  }
4599
- let o = Z(r, this.clonePosition());
3912
+ let o = V(r, this.clonePosition());
4600
3913
  return i ? (a *= n, Number.isSafeInteger(a) ? {
4601
3914
  val: a,
4602
3915
  err: null
@@ -4658,7 +3971,7 @@ var oi = class {
4658
3971
  }
4659
3972
  }
4660
3973
  bumpSpace() {
4661
- for (; !this.isEOF() && ui(this.char());) this.bump();
3974
+ for (; !this.isEOF() && ke(this.char());) this.bump();
4662
3975
  }
4663
3976
  peek() {
4664
3977
  if (this.isEOF()) return null;
@@ -4666,83 +3979,83 @@ var oi = class {
4666
3979
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
4667
3980
  }
4668
3981
  };
4669
- function si(e) {
3982
+ function G(e) {
4670
3983
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4671
3984
  }
4672
- function ci(e) {
4673
- return si(e) || e === 47;
3985
+ function De(e) {
3986
+ return G(e) || e === 47;
4674
3987
  }
4675
- function li(e) {
3988
+ function Oe(e) {
4676
3989
  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;
4677
3990
  }
4678
- function ui(e) {
3991
+ function ke(e) {
4679
3992
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4680
3993
  }
4681
- function di(e) {
3994
+ function K(e) {
4682
3995
  e.forEach((e) => {
4683
- if (delete e.location, Br(e) || Vr(e)) for (let t in e.options) delete e.options[t].location, di(e.options[t].value);
4684
- else Lr(e) && Wr(e.style) || (Rr(e) || zr(e)) && Gr(e.style) ? delete e.style.location : Ur(e) && di(e.children);
3996
+ if (delete e.location, N(e) || P(e)) for (let t in e.options) delete e.options[t].location, K(e.options[t].value);
3997
+ else A(e) && L(e.style) || (j(e) || M(e)) && R(e.style) ? delete e.style.location : I(e) && K(e.children);
4685
3998
  });
4686
3999
  }
4687
- function fi(e, t = {}) {
4000
+ function Ae(e, t = {}) {
4688
4001
  t = {
4689
4002
  shouldParseSkeletons: !0,
4690
4003
  requiresOtherClause: !0,
4691
4004
  ...t
4692
4005
  };
4693
- let n = new oi(e, t).parse();
4006
+ let n = new Ee(e, t).parse();
4694
4007
  if (n.err) {
4695
- let e = SyntaxError(Pr[n.err.kind]);
4008
+ let e = SyntaxError(me[n.err.kind]);
4696
4009
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
4697
4010
  }
4698
- return t?.captureLocation || di(n.val), n.val;
4011
+ return t?.captureLocation || K(n.val), n.val;
4699
4012
  }
4700
4013
  //#endregion
4701
4014
  //#region node_modules/intl-messageformat/index.js
4702
- var Q = class extends Error {
4015
+ var q = class extends Error {
4703
4016
  constructor(e, t, n) {
4704
4017
  super(e), this.code = t, this.originalMessage = n;
4705
4018
  }
4706
4019
  toString() {
4707
4020
  return `[formatjs Error: ${this.code}] ${this.message}`;
4708
4021
  }
4709
- }, pi = class extends Q {
4022
+ }, J = class extends q {
4710
4023
  constructor(e, t, n, r) {
4711
4024
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
4712
4025
  }
4713
- }, mi = class extends Q {
4026
+ }, je = class extends q {
4714
4027
  constructor(e, t, n) {
4715
4028
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
4716
4029
  }
4717
- }, hi = class extends Q {
4030
+ }, Me = class extends q {
4718
4031
  constructor(e, t) {
4719
4032
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
4720
4033
  }
4721
4034
  };
4722
- function gi(e) {
4035
+ function Ne(e) {
4723
4036
  return e.length < 2 ? e : e.reduce((e, t) => {
4724
4037
  let n = e[e.length - 1];
4725
4038
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
4726
4039
  }, []);
4727
4040
  }
4728
- function _i(e) {
4041
+ function Pe(e) {
4729
4042
  return typeof e == "function";
4730
4043
  }
4731
- function $(e, t, n, r, i, a, o) {
4732
- if (e.length === 1 && Fr(e[0])) return [{
4044
+ function Y(e, t, n, r, i, a, o) {
4045
+ if (e.length === 1 && k(e[0])) return [{
4733
4046
  type: 0,
4734
4047
  value: e[0].value
4735
4048
  }];
4736
4049
  let s = [];
4737
4050
  for (let c of e) {
4738
- if (Fr(c)) {
4051
+ if (k(c)) {
4739
4052
  s.push({
4740
4053
  type: 0,
4741
4054
  value: c.value
4742
4055
  });
4743
4056
  continue;
4744
4057
  }
4745
- if (Hr(c)) {
4058
+ if (F(c)) {
4746
4059
  typeof a == "number" && s.push({
4747
4060
  type: 0,
4748
4061
  value: n.getNumberFormat(t).format(a)
@@ -4750,33 +4063,33 @@ function $(e, t, n, r, i, a, o) {
4750
4063
  continue;
4751
4064
  }
4752
4065
  let { value: e } = c;
4753
- if (!(i && e in i)) throw new hi(e, o);
4066
+ if (!(i && e in i)) throw new Me(e, o);
4754
4067
  let l = i[e];
4755
- if (Ir(c)) {
4068
+ if (he(c)) {
4756
4069
  (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
4757
4070
  type: typeof l == "string" ? 0 : 1,
4758
4071
  value: l
4759
4072
  });
4760
4073
  continue;
4761
4074
  }
4762
- if (Rr(c)) {
4763
- let e = typeof c.style == "string" ? r.date[c.style] : Gr(c.style) ? c.style.parsedOptions : void 0;
4075
+ if (j(c)) {
4076
+ let e = typeof c.style == "string" ? r.date[c.style] : R(c.style) ? c.style.parsedOptions : void 0;
4764
4077
  s.push({
4765
4078
  type: 0,
4766
4079
  value: n.getDateTimeFormat(t, e).format(l)
4767
4080
  });
4768
4081
  continue;
4769
4082
  }
4770
- if (zr(c)) {
4771
- let e = typeof c.style == "string" ? r.time[c.style] : Gr(c.style) ? c.style.parsedOptions : r.time.medium;
4083
+ if (M(c)) {
4084
+ let e = typeof c.style == "string" ? r.time[c.style] : R(c.style) ? c.style.parsedOptions : r.time.medium;
4772
4085
  s.push({
4773
4086
  type: 0,
4774
4087
  value: n.getDateTimeFormat(t, e).format(l)
4775
4088
  });
4776
4089
  continue;
4777
4090
  }
4778
- if (Lr(c)) {
4779
- let e = typeof c.style == "string" ? r.number[c.style] : Wr(c.style) ? c.style.parsedOptions : void 0;
4091
+ if (A(c)) {
4092
+ let e = typeof c.style == "string" ? r.number[c.style] : L(c.style) ? c.style.parsedOptions : void 0;
4780
4093
  if (e && e.scale) {
4781
4094
  let t = e.scale || 1;
4782
4095
  if (typeof l == "bigint") {
@@ -4790,37 +4103,37 @@ function $(e, t, n, r, i, a, o) {
4790
4103
  });
4791
4104
  continue;
4792
4105
  }
4793
- if (Ur(c)) {
4106
+ if (I(c)) {
4794
4107
  let { children: e, value: l } = c, u = i[l];
4795
- if (!_i(u)) throw new mi(l, "function", o);
4796
- let d = u($(e, t, n, r, i, a).map((e) => e.value));
4108
+ if (!Pe(u)) throw new je(l, "function", o);
4109
+ let d = u(Y(e, t, n, r, i, a).map((e) => e.value));
4797
4110
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
4798
4111
  type: typeof e == "string" ? 0 : 1,
4799
4112
  value: e
4800
4113
  })));
4801
4114
  }
4802
- if (Br(c)) {
4115
+ if (N(c)) {
4803
4116
  let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
4804
- if (!a) throw new pi(c.value, l, Object.keys(c.options), o);
4805
- s.push(...$(a.value, t, n, r, i));
4117
+ if (!a) throw new J(c.value, l, Object.keys(c.options), o);
4118
+ s.push(...Y(a.value, t, n, r, i));
4806
4119
  continue;
4807
4120
  }
4808
- if (Vr(c)) {
4121
+ if (P(c)) {
4809
4122
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
4810
4123
  if (!a) {
4811
- 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);
4124
+ 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);
4812
4125
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
4813
4126
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
4814
4127
  }
4815
- if (!a) throw new pi(c.value, l, Object.keys(c.options), o);
4128
+ if (!a) throw new J(c.value, l, Object.keys(c.options), o);
4816
4129
  let u = typeof l == "bigint" ? Number(l) : l;
4817
- s.push(...$(a.value, t, n, r, i, u - (c.offset || 0)));
4130
+ s.push(...Y(a.value, t, n, r, i, u - (c.offset || 0)));
4818
4131
  continue;
4819
4132
  }
4820
4133
  }
4821
- return gi(s);
4134
+ return Ne(s);
4822
4135
  }
4823
- function vi(e, t) {
4136
+ function Fe(e, t) {
4824
4137
  return t ? {
4825
4138
  ...e,
4826
4139
  ...t,
@@ -4830,10 +4143,10 @@ function vi(e, t) {
4830
4143
  }, n), {})
4831
4144
  } : e;
4832
4145
  }
4833
- function yi(e, t) {
4834
- return t ? Object.keys(e).reduce((n, r) => (n[r] = vi(e[r], t[r]), n), { ...e }) : e;
4146
+ function Ie(e, t) {
4147
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = Fe(e[r], t[r]), n), { ...e }) : e;
4835
4148
  }
4836
- function bi(e) {
4149
+ function X(e) {
4837
4150
  return { create() {
4838
4151
  return {
4839
4152
  get(t) {
@@ -4845,27 +4158,27 @@ function bi(e) {
4845
4158
  };
4846
4159
  } };
4847
4160
  }
4848
- function xi(e = {
4161
+ function Le(e = {
4849
4162
  number: {},
4850
4163
  dateTime: {},
4851
4164
  pluralRules: {}
4852
4165
  }) {
4853
4166
  return {
4854
- getNumberFormat: cr((...e) => new Intl.NumberFormat(...e), {
4855
- cache: bi(e.number),
4856
- strategy: yr.variadic
4167
+ getNumberFormat: g((...e) => new Intl.NumberFormat(...e), {
4168
+ cache: X(e.number),
4169
+ strategy: b.variadic
4857
4170
  }),
4858
- getDateTimeFormat: cr((...e) => new Intl.DateTimeFormat(...e), {
4859
- cache: bi(e.dateTime),
4860
- strategy: yr.variadic
4171
+ getDateTimeFormat: g((...e) => new Intl.DateTimeFormat(...e), {
4172
+ cache: X(e.dateTime),
4173
+ strategy: b.variadic
4861
4174
  }),
4862
- getPluralRules: cr((...e) => new Intl.PluralRules(...e), {
4863
- cache: bi(e.pluralRules),
4864
- strategy: yr.variadic
4175
+ getPluralRules: g((...e) => new Intl.PluralRules(...e), {
4176
+ cache: X(e.pluralRules),
4177
+ strategy: b.variadic
4865
4178
  })
4866
4179
  };
4867
4180
  }
4868
- var Si = class e {
4181
+ var Re = class e {
4869
4182
  constructor(t, n = e.defaultLocale, r, i) {
4870
4183
  if (this.formatterCache = {
4871
4184
  number: {},
@@ -4876,7 +4189,7 @@ var Si = class e {
4876
4189
  if (t.length === 1) return t[0].value;
4877
4190
  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), []);
4878
4191
  return n.length <= 1 ? n[0] || "" : n;
4879
- }, 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") {
4192
+ }, 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") {
4880
4193
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4881
4194
  let { ...n } = i || {};
4882
4195
  this.ast = e.__parse(t, {
@@ -4885,7 +4198,7 @@ var Si = class e {
4885
4198
  });
4886
4199
  } else this.ast = t;
4887
4200
  if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
4888
- this.formats = yi(e.formats, r), this.formatters = i && i.formatters || xi(this.formatterCache);
4201
+ this.formats = Ie(e.formats, r), this.formatters = i && i.formatters || Le(this.formatterCache);
4889
4202
  }
4890
4203
  static {
4891
4204
  this.memoizedDefaultLocale = null;
@@ -4901,7 +4214,7 @@ var Si = class e {
4901
4214
  };
4902
4215
  }
4903
4216
  static {
4904
- this.__parse = fi;
4217
+ this.__parse = Ae;
4905
4218
  }
4906
4219
  static {
4907
4220
  this.formats = {
@@ -4961,32 +4274,32 @@ var Si = class e {
4961
4274
  };
4962
4275
  //#endregion
4963
4276
  //#region lib/i18n/translator.ts
4964
- function Ci() {
4277
+ function Z() {
4965
4278
  if (typeof localStorage > "u") return "en";
4966
- let e = localStorage.getItem(a);
4967
- return e && s.includes(e) ? e : "en";
4279
+ let e = localStorage.getItem(s);
4280
+ return e && l.includes(e) ? e : "en";
4968
4281
  }
4969
- function wi(e = {}, t = Ci) {
4970
- return (n, r = void 0, i = t) => {
4971
- let a = typeof i == "function" ? i() : i, o = Mn(e[a], n) ?? n;
4282
+ function Q(t = {}, n = Z) {
4283
+ return (r, i = void 0, a = n) => {
4284
+ let o = typeof a == "function" ? a() : a, s = e(t[o], r) ?? r;
4972
4285
  try {
4973
- o = new Si(o, a).format(r);
4286
+ s = new Re(s, o).format(i);
4974
4287
  } catch (e) {
4975
4288
  console.error(e);
4976
4289
  }
4977
- return o;
4290
+ return s;
4978
4291
  };
4979
4292
  }
4980
- var Ti = wi(i);
4293
+ var $ = Q(o);
4981
4294
  //#endregion
4982
4295
  //#region lib/i18n/use-material-translation.ts
4983
- function Ei() {
4984
- let e = f();
4296
+ function ze() {
4297
+ let e = m();
4985
4298
  return {
4986
4299
  t: (t, n, r) => {
4987
4300
  let i = e?.language;
4988
4301
  if (!i) return n;
4989
- let a = Ti(t, r, () => i);
4302
+ let a = $(t, r, () => i);
4990
4303
  return a === t ? n : a;
4991
4304
  },
4992
4305
  get language() {
@@ -4997,9 +4310,9 @@ function Ei() {
4997
4310
  }
4998
4311
  //#endregion
4999
4312
  //#region lib/i18n/use-typed-translation.ts
5000
- function Di(e) {
4313
+ function Be(e) {
5001
4314
  return function() {
5002
- let { language: t, changeLanguage: n } = d();
4315
+ let { language: t, changeLanguage: n } = p();
5003
4316
  return {
5004
4317
  t: (n, r) => e(n, r, () => t),
5005
4318
  i18n: {
@@ -5010,4 +4323,4 @@ function Di(e) {
5010
4323
  };
5011
4324
  }
5012
4325
  //#endregion
5013
- 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 };
4326
+ 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 };