@nxgt/material 1.13.0 → 1.16.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 (158) hide show
  1. package/README.md +4 -0
  2. package/dist/abnfDiagram-O67JEVCF-DRS4L9OH.js +89 -0
  3. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  4. package/dist/architectureDiagram-NJMV4G6O-VGRhFFje.js +4146 -0
  5. package/dist/array-CApNbSU9.js +6 -0
  6. package/dist/blockDiagram-BEXU5L5S-Ckr4_Gme.js +1946 -0
  7. package/dist/c4Diagram-YGBWAQC7-BNFKIZ7i.js +2990 -0
  8. package/dist/channel-BZIrvK3Y.js +5 -0
  9. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  10. package/dist/chunk-3FUC2YCW-DsYiD_Ru.js +364 -0
  11. package/dist/chunk-5DYCD2WN-u4OP1FZj.js +37 -0
  12. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  13. package/dist/chunk-6AEJRKK7-C2UTNfTD.js +10 -0
  14. package/dist/chunk-742MDFTN-BR_179wJ.js +275 -0
  15. package/dist/chunk-7INBJB4K-Dms03MJ4.js +4487 -0
  16. package/dist/chunk-7M6MHVWA-V8XIFDkw.js +4256 -0
  17. package/dist/chunk-7PRAP22T-DQlLe8Jt.js +67 -0
  18. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  19. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  20. package/dist/chunk-GNY47TPC-CICl0rS3.js +75 -0
  21. package/dist/chunk-GTNCS2PH-D64Ed3fE.js +490 -0
  22. package/dist/chunk-GWA4HPMP-CrPRyiQa.js +61 -0
  23. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  24. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  25. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  26. package/dist/chunk-MBY4JIJT-KGDG5aUm.js +1847 -0
  27. package/dist/chunk-NETBCI7D-Br9hhLDt.js +236 -0
  28. package/dist/chunk-O7XYJQB3-4Tb1P1Rk.js +3922 -0
  29. package/dist/chunk-UA2S7LBM-CnUazuaq.js +363 -0
  30. package/dist/chunk-WEXAMYUT-cV0qedY-.js +26 -0
  31. package/dist/chunk-XXDRQBXY-CHefSy8v.js +9 -0
  32. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  33. package/dist/chunk-Z7XXMR3K-D1JUlANw.js +677 -0
  34. package/dist/chunk-ZIGJFQKS-CLqNoRQ8.js +663 -0
  35. package/dist/classDiagram-v2-NBCMYWYE--yhvSrAx.js +3397 -0
  36. package/dist/components.js +3 -3
  37. package/dist/cose-bilkent-JH36ORCC-U3pVshu1.js +2251 -0
  38. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  39. package/dist/cynefinDiagram-VND7K2PF-8EU7peH9.js +349 -0
  40. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  41. package/dist/dagre-6A5THRUB-CRWID1o4.js +2191 -0
  42. package/dist/diagram-22UHCM2B-DvMzR7QT.js +5084 -0
  43. package/dist/diagram-3UASUU5V-BOh6i2bR.js +724 -0
  44. package/dist/diagram-ATOU4E4O-CLfLQpr3.js +432 -0
  45. package/dist/diagram-CDSNMT55-DUok5n2p.js +301 -0
  46. package/dist/diagram-MLGK6HIB-BkhZzQxx.js +134 -0
  47. package/dist/diagram-MPIPVDR6-CvbxQEpp.js +214 -0
  48. package/dist/dist-BZkGZldu.js +50 -0
  49. package/dist/{dist-BGGDEbJ3.js → dist-MMKLWKx3.js} +4 -4
  50. package/dist/dnd.js +2 -2
  51. package/dist/ebnfDiagram-ZINNZB2B-BlNN1w7y.js +100 -0
  52. package/dist/elk-276RUBZZ-BhR9_PQd.js +47598 -0
  53. package/dist/erDiagram-OPXOYQCR-BmZUypFU.js +1970 -0
  54. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  55. package/dist/flowDiagram-KWPJA3E3-BT7EONSO.js +17 -0
  56. package/dist/ganttDiagram-FUAMR5RP-CkH1mW4J.js +2928 -0
  57. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  58. package/dist/gitGraphDiagram-X574FWY7-Bo8CoUvJ.js +729 -0
  59. package/dist/graphlib-BzZgFilE.js +493 -0
  60. package/dist/{hooks-DReKyuyc.js → hooks-tbav1b16.js} +1 -1
  61. package/dist/hooks.js +1 -1
  62. package/dist/{i18n-DtDrodl8.js → i18n-CGol3PGw.js} +318 -841
  63. package/dist/i18n.js +1 -1
  64. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  65. package/dist/infoDiagram-VRGFBTTK-BRf2JUA9.js +20 -0
  66. package/dist/init-Buj1GKRa.js +27 -0
  67. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  68. package/dist/ishikawaDiagram-OU5B5YK6-BhMcuAjK.js +719 -0
  69. package/dist/journeyDiagram-ZHPQQLJL-B9bImAku.js +884 -0
  70. package/dist/kanban-definition-PNTS6WVX-BBgbpulA.js +976 -0
  71. package/dist/katex-BMQ6LGsM.js +21962 -0
  72. package/dist/lib/components/index.d.ts +4 -0
  73. package/dist/lib/components/ui/chat/chat-advanced.stories.d.ts +1 -0
  74. package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +8 -0
  75. package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
  76. package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
  77. package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
  78. package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
  79. package/dist/lib/components/ui/emoji/emoji.groups.d.ts +6 -0
  80. package/dist/lib/components/ui/emoji/emoji.groups.test.d.ts +1 -0
  81. package/dist/lib/components/ui/emoji/emoji.stories.d.ts +13 -0
  82. package/dist/lib/components/ui/emoji/emoji.stories.data.d.ts +2 -0
  83. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  84. package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +1 -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/entity-header.stories.d.ts +1 -0
  88. package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
  89. package/dist/lib/components/ui/markdown/index.d.ts +3 -0
  90. package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
  91. package/dist/lib/components/ui/markdown/markdown.stories.d.ts +15 -0
  92. package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
  93. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
  94. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  95. package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
  96. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
  97. package/dist/lib/components/ui/mentions/index.d.ts +3 -0
  98. package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
  99. package/dist/lib/components/ui/mentions/mentions.stories.d.ts +13 -0
  100. package/dist/lib/components/ui/mentions/mentions.stories.data.d.ts +2 -0
  101. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  102. package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +1 -0
  103. package/dist/lib/components/ui/mentions/types.d.ts +7 -0
  104. package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
  105. package/dist/lib/components/ui/rich-text-editor/rich-text-editor.stories.d.ts +1 -0
  106. package/dist/lib/components/ui/terminal/index.d.ts +2 -0
  107. package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
  108. package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
  109. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  110. package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -0
  111. package/dist/lib/i18n/resources/en/index.d.ts +9 -0
  112. package/dist/lib/i18n/resources/en/material.json.d.ts +9 -0
  113. package/dist/lib/i18n/resources/fr/index.d.ts +9 -0
  114. package/dist/lib/i18n/resources/fr/material.json.d.ts +9 -0
  115. package/dist/lib/i18n/resources/index.d.ts +18 -0
  116. package/dist/lib/i18n/translator.d.ts +1 -1
  117. package/dist/{lib-CD3tyuc8.js → lib-CuGr3v8i.js} +472 -471
  118. package/dist/lib.js +2 -2
  119. package/dist/{main-r84Yresa.js → main-rnuPG-xT.js} +59805 -30893
  120. package/dist/main.js +6 -6
  121. package/dist/material.css +1 -1
  122. package/dist/math-C5EhTgJw.js +10 -0
  123. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  124. package/dist/mermaid.core-nKi3q1Cv.js +1096 -0
  125. package/dist/mindmap-definition-NLK3R4M7-C9HBPgMT.js +1008 -0
  126. package/dist/ordinal-DuP05kVQ.js +65 -0
  127. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  128. package/dist/path-Cjou0lUh.js +85 -0
  129. package/dist/pegDiagram-GJSIUBJH-frNVv2eE.js +94 -0
  130. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  131. package/dist/pieDiagram-5QR66LMP-BeFrf3dj.js +157 -0
  132. package/dist/quadrantDiagram-O4NWA36T-Vcs0fk17.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-DtdOPWxt.js +76 -0
  139. package/dist/requirementDiagram-PLB6GJNP-Cjxo5EUP.js +2228 -0
  140. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  141. package/dist/sankeyDiagram-IPEJSGJF-Djus1joE.js +962 -0
  142. package/dist/sequenceDiagram-PO4LG4MO-C8efx1Ag.js +4200 -0
  143. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  144. package/dist/src-BRGQnZL5.js +1775 -0
  145. package/dist/stateDiagram-v2-GCMORJYK-DK057gZ8.js +2143 -0
  146. package/dist/step-B6KjpKgN.js +706 -0
  147. package/dist/string-B-ZWXCs2.js +392 -0
  148. package/dist/swimlanes-2SLR337P-DOqmoAYm.js +4763 -0
  149. package/dist/swimlanesDiagram-TC7HE7FX-hdfF7RXP.js +28 -0
  150. package/dist/timeline-definition-EJHVYXUP-B0X6rPM2.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-BIJ_7CPg.js +9932 -0
  154. package/dist/vennDiagram-UO4OBE2U-BbJCU0Nv.js +1880 -0
  155. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  156. package/dist/wardleyDiagram-VNRHLVJA-B6UccUoQ.js +645 -0
  157. package/dist/xychartDiagram-PMCCYNJV-BrMcLVjw.js +2167 -0
  158. package/package.json +7 -1
@@ -1,187 +1,28 @@
1
- import { createContext as e, useCallback as t, useContext as n, useMemo as r, useState as i } from "react";
2
- import { jsx as a } from "react/jsx-runtime";
3
- //#region node_modules/lodash-es/_freeGlobal.js
4
- var o = typeof global == "object" && global && global.Object === Object && global, s = typeof self == "object" && self && self.Object === Object && self, c = o || s || Function("return this")(), l = c.Symbol, u = Object.prototype, d = u.hasOwnProperty, f = u.toString, p = l ? l.toStringTag : void 0;
5
- function m(e) {
6
- var t = d.call(e, p), n = e[p];
7
- try {
8
- e[p] = void 0;
9
- var r = !0;
10
- } catch {}
11
- var i = f.call(e);
12
- return r && (t ? e[p] = n : delete e[p]), i;
13
- }
14
- //#endregion
15
- //#region node_modules/lodash-es/_objectToString.js
16
- var ee = Object.prototype.toString;
17
- function te(e) {
18
- return ee.call(e);
19
- }
20
- //#endregion
21
- //#region node_modules/lodash-es/_baseGetTag.js
22
- var ne = "[object Null]", re = "[object Undefined]", ie = l ? l.toStringTag : void 0;
23
- function h(e) {
24
- return e == null ? e === void 0 ? re : ne : ie && ie in Object(e) ? m(e) : te(e);
25
- }
26
- //#endregion
27
- //#region node_modules/lodash-es/isObjectLike.js
28
- function g(e) {
29
- return typeof e == "object" && !!e;
30
- }
31
- //#endregion
32
- //#region node_modules/lodash-es/isSymbol.js
33
- var ae = "[object Symbol]";
34
- function oe(e) {
35
- return typeof e == "symbol" || g(e) && h(e) == ae;
36
- }
37
- //#endregion
38
- //#region node_modules/lodash-es/_arrayMap.js
39
- function se(e, t) {
40
- for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
41
- return i;
42
- }
43
- //#endregion
44
- //#region node_modules/lodash-es/isArray.js
45
- var _ = Array.isArray, ce = Infinity, le = l ? l.prototype : void 0, ue = le ? le.toString : void 0;
46
- function de(e) {
47
- if (typeof e == "string") return e;
48
- if (_(e)) return se(e, de) + "";
49
- if (oe(e)) return ue ? ue.call(e) : "";
50
- var t = e + "";
51
- return t == "0" && 1 / e == -ce ? "-0" : t;
52
- }
53
- //#endregion
54
- //#region node_modules/lodash-es/isObject.js
55
- function v(e) {
56
- var t = typeof e;
57
- return e != null && (t == "object" || t == "function");
58
- }
59
- //#endregion
60
- //#region node_modules/lodash-es/identity.js
61
- function y(e) {
62
- return e;
63
- }
64
- //#endregion
65
- //#region node_modules/lodash-es/isFunction.js
66
- var fe = "[object AsyncFunction]", pe = "[object Function]", me = "[object GeneratorFunction]", he = "[object Proxy]";
67
- function b(e) {
68
- if (!v(e)) return !1;
69
- var t = h(e);
70
- return t == pe || t == me || t == fe || t == he;
71
- }
72
- //#endregion
73
- //#region node_modules/lodash-es/_coreJsData.js
74
- var x = c["__core-js_shared__"], ge = function() {
75
- var e = /[^.]+$/.exec(x && x.keys && x.keys.IE_PROTO || "");
76
- return e ? "Symbol(src)_1." + e : "";
77
- }();
78
- function _e(e) {
79
- return !!ge && ge in e;
80
- }
81
- //#endregion
82
- //#region node_modules/lodash-es/_toSource.js
83
- var ve = Function.prototype.toString;
84
- function ye(e) {
85
- if (e != null) {
86
- try {
87
- return ve.call(e);
88
- } catch {}
89
- try {
90
- return e + "";
91
- } catch {}
92
- }
93
- return "";
94
- }
95
- //#endregion
96
- //#region node_modules/lodash-es/_baseIsNative.js
97
- var be = /[\\^$.*+?()[\]{}|]/g, xe = /^\[object .+?Constructor\]$/, Se = Function.prototype, Ce = Object.prototype, we = Se.toString, Te = Ce.hasOwnProperty, Ee = RegExp("^" + we.call(Te).replace(be, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
98
- function De(e) {
99
- return !v(e) || _e(e) ? !1 : (b(e) ? Ee : xe).test(ye(e));
100
- }
101
- //#endregion
102
- //#region node_modules/lodash-es/_getValue.js
103
- function Oe(e, t) {
104
- return e?.[t];
105
- }
106
- //#endregion
107
- //#region node_modules/lodash-es/_getNative.js
108
- function S(e, t) {
109
- var n = Oe(e, t);
110
- return De(n) ? n : void 0;
111
- }
112
- //#endregion
1
+ import { C as e, E as t, F as n, M as r, O as i, P as a, R as o, T as s, V as c, a as l, b as u, h as d, i as f, m as p, n as m, p as h, r as g, t as ee, v as te, x as _, y as ne, z as v } from "./isArrayLikeObject-VG1KOJ3m.js";
2
+ import { createContext as re, useCallback as y, useContext as ie, useMemo as ae, useState as oe } from "react";
3
+ import { jsx as se } from "react/jsx-runtime";
113
4
  //#region node_modules/lodash-es/_baseCreate.js
114
- var ke = Object.create, Ae = function() {
5
+ var ce = Object.create, le = function() {
115
6
  function e() {}
116
7
  return function(t) {
117
- if (!v(t)) return {};
118
- if (ke) return ke(t);
8
+ if (!a(t)) return {};
9
+ if (ce) return ce(t);
119
10
  e.prototype = t;
120
11
  var n = new e();
121
12
  return e.prototype = void 0, n;
122
13
  };
123
14
  }();
124
15
  //#endregion
125
- //#region node_modules/lodash-es/_apply.js
126
- function je(e, t, n) {
127
- switch (n.length) {
128
- case 0: return e.call(t);
129
- case 1: return e.call(t, n[0]);
130
- case 2: return e.call(t, n[0], n[1]);
131
- case 3: return e.call(t, n[0], n[1], n[2]);
132
- }
133
- return e.apply(t, n);
134
- }
135
- //#endregion
136
16
  //#region node_modules/lodash-es/_copyArray.js
137
- function Me(e, t) {
17
+ function ue(e, t) {
138
18
  var n = -1, r = e.length;
139
19
  for (t ||= Array(r); ++n < r;) t[n] = e[n];
140
20
  return t;
141
21
  }
142
22
  //#endregion
143
- //#region node_modules/lodash-es/_shortOut.js
144
- var Ne = 800, Pe = 16, Fe = Date.now;
145
- function Ie(e) {
146
- var t = 0, n = 0;
147
- return function() {
148
- var r = Fe(), i = Pe - (r - n);
149
- if (n = r, i > 0) {
150
- if (++t >= Ne) return arguments[0];
151
- } else t = 0;
152
- return e.apply(void 0, arguments);
153
- };
154
- }
155
- //#endregion
156
- //#region node_modules/lodash-es/constant.js
157
- function Le(e) {
158
- return function() {
159
- return e;
160
- };
161
- }
162
- //#endregion
163
- //#region node_modules/lodash-es/_defineProperty.js
164
- var C = function() {
165
- try {
166
- var e = S(Object, "defineProperty");
167
- return e({}, "", {}), e;
168
- } catch {}
169
- }(), Re = Ie(C ? function(e, t) {
170
- return C(e, "toString", {
171
- configurable: !0,
172
- enumerable: !1,
173
- value: Le(t),
174
- writable: !0
175
- });
176
- } : y), ze = 9007199254740991, Be = /^(?:0|[1-9]\d*)$/;
177
- function w(e, t) {
178
- var n = typeof e;
179
- return t ??= ze, !!t && (n == "number" || n != "symbol" && Be.test(e)) && e > -1 && e % 1 == 0 && e < t;
180
- }
181
- //#endregion
182
23
  //#region node_modules/lodash-es/_baseAssignValue.js
183
- function Ve(e, t, n) {
184
- t == "__proto__" && C ? C(e, t, {
24
+ function b(e, t, n) {
25
+ t == "__proto__" && i ? i(e, t, {
185
26
  configurable: !0,
186
27
  enumerable: !0,
187
28
  value: n,
@@ -189,522 +30,144 @@ function Ve(e, t, n) {
189
30
  }) : e[t] = n;
190
31
  }
191
32
  //#endregion
192
- //#region node_modules/lodash-es/eq.js
193
- function T(e, t) {
194
- return e === t || e !== e && t !== t;
195
- }
196
- //#endregion
197
33
  //#region node_modules/lodash-es/_assignValue.js
198
- var He = Object.prototype.hasOwnProperty;
199
- function Ue(e, t, n) {
34
+ var de = Object.prototype.hasOwnProperty;
35
+ function fe(e, t, n) {
200
36
  var r = e[t];
201
- (!(He.call(e, t) && T(r, n)) || n === void 0 && !(t in e)) && Ve(e, t, n);
37
+ (!(de.call(e, t) && s(r, n)) || n === void 0 && !(t in e)) && b(e, t, n);
202
38
  }
203
39
  //#endregion
204
40
  //#region node_modules/lodash-es/_copyObject.js
205
- function We(e, t, n, r) {
41
+ function x(e, t, n, r) {
206
42
  var i = !n;
207
43
  n ||= {};
208
44
  for (var a = -1, o = t.length; ++a < o;) {
209
45
  var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
210
- c === void 0 && (c = e[s]), i ? Ve(n, s, c) : Ue(n, s, c);
46
+ c === void 0 && (c = e[s]), i ? b(n, s, c) : fe(n, s, c);
211
47
  }
212
48
  return n;
213
49
  }
214
50
  //#endregion
215
- //#region node_modules/lodash-es/_overRest.js
216
- var Ge = Math.max;
217
- function Ke(e, t, n) {
218
- return t = Ge(t === void 0 ? e.length - 1 : t, 0), function() {
219
- for (var r = arguments, i = -1, a = Ge(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
220
- i = -1;
221
- for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
222
- return s[t] = n(o), je(e, this, s);
223
- };
224
- }
225
- //#endregion
226
- //#region node_modules/lodash-es/_baseRest.js
227
- function qe(e, t) {
228
- return Re(Ke(e, t, y), e + "");
229
- }
230
- //#endregion
231
- //#region node_modules/lodash-es/isLength.js
232
- var Je = 9007199254740991;
233
- function E(e) {
234
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Je;
235
- }
236
- //#endregion
237
- //#region node_modules/lodash-es/isArrayLike.js
238
- function D(e) {
239
- return e != null && E(e.length) && !b(e);
240
- }
241
- //#endregion
242
51
  //#region node_modules/lodash-es/_isIterateeCall.js
243
- function Ye(e, t, n) {
244
- if (!v(n)) return !1;
245
- var r = typeof t;
246
- return (r == "number" ? D(n) && w(t, n.length) : r == "string" && t in n) ? T(n[t], e) : !1;
52
+ function pe(e, n, r) {
53
+ if (!a(r)) return !1;
54
+ var i = typeof n;
55
+ return (i == "number" ? _(r) && t(n, r.length) : i == "string" && n in r) ? s(r[n], e) : !1;
247
56
  }
248
57
  //#endregion
249
58
  //#region node_modules/lodash-es/_createAssigner.js
250
- function Xe(e) {
251
- return qe(function(t, n) {
59
+ function me(t) {
60
+ return e(function(e, n) {
252
61
  var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
253
- for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && Ye(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
62
+ for (a = t.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && pe(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), e = Object(e); ++r < i;) {
254
63
  var s = n[r];
255
- s && e(t, s, r, a);
64
+ s && t(e, s, r, a);
256
65
  }
257
- return t;
66
+ return e;
258
67
  });
259
68
  }
260
69
  //#endregion
261
- //#region node_modules/lodash-es/_isPrototype.js
262
- var Ze = Object.prototype;
263
- function Qe(e) {
264
- var t = e && e.constructor;
265
- return e === (typeof t == "function" && t.prototype || Ze);
266
- }
267
- //#endregion
268
- //#region node_modules/lodash-es/_baseTimes.js
269
- function $e(e, t) {
270
- for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
271
- return r;
272
- }
273
- //#endregion
274
- //#region node_modules/lodash-es/_baseIsArguments.js
275
- var et = "[object Arguments]";
276
- function tt(e) {
277
- return g(e) && h(e) == et;
278
- }
279
- //#endregion
280
- //#region node_modules/lodash-es/isArguments.js
281
- var nt = Object.prototype, rt = nt.hasOwnProperty, it = nt.propertyIsEnumerable, O = tt(function() {
282
- return arguments;
283
- }()) ? tt : function(e) {
284
- return g(e) && rt.call(e, "callee") && !it.call(e, "callee");
285
- };
286
- //#endregion
287
- //#region node_modules/lodash-es/stubFalse.js
288
- function at() {
289
- return !1;
290
- }
291
- //#endregion
292
- //#region node_modules/lodash-es/isBuffer.js
293
- var ot = typeof exports == "object" && exports && !exports.nodeType && exports, st = ot && typeof module == "object" && module && !module.nodeType && module, ct = st && st.exports === ot ? c.Buffer : void 0, k = (ct ? ct.isBuffer : void 0) || at, lt = "[object Arguments]", ut = "[object Array]", dt = "[object Boolean]", ft = "[object Date]", pt = "[object Error]", mt = "[object Function]", ht = "[object Map]", gt = "[object Number]", _t = "[object Object]", vt = "[object RegExp]", yt = "[object Set]", bt = "[object String]", xt = "[object WeakMap]", St = "[object ArrayBuffer]", Ct = "[object DataView]", wt = "[object Float32Array]", Tt = "[object Float64Array]", Et = "[object Int8Array]", Dt = "[object Int16Array]", Ot = "[object Int32Array]", kt = "[object Uint8Array]", At = "[object Uint8ClampedArray]", jt = "[object Uint16Array]", Mt = "[object Uint32Array]", A = {};
294
- A[wt] = A[Tt] = A[Et] = A[Dt] = A[Ot] = A[kt] = A[At] = A[jt] = A[Mt] = !0, A[lt] = A[ut] = A[St] = A[dt] = A[Ct] = A[ft] = A[pt] = A[mt] = A[ht] = A[gt] = A[_t] = A[vt] = A[yt] = A[bt] = A[xt] = !1;
295
- function Nt(e) {
296
- return g(e) && E(e.length) && !!A[h(e)];
297
- }
298
- //#endregion
299
- //#region node_modules/lodash-es/_baseUnary.js
300
- function Pt(e) {
301
- return function(t) {
302
- return e(t);
303
- };
304
- }
305
- //#endregion
306
- //#region node_modules/lodash-es/_nodeUtil.js
307
- var Ft = typeof exports == "object" && exports && !exports.nodeType && exports, j = Ft && typeof module == "object" && module && !module.nodeType && module, M = j && j.exports === Ft && o.process, It = function() {
308
- try {
309
- return j && j.require && j.require("util").types || M && M.binding && M.binding("util");
310
- } catch {}
311
- }(), Lt = It && It.isTypedArray, Rt = Lt ? Pt(Lt) : Nt, zt = Object.prototype.hasOwnProperty;
312
- function Bt(e, t) {
313
- var n = _(e), r = !n && O(e), i = !n && !r && k(e), a = !n && !r && !i && Rt(e), o = n || r || i || a, s = o ? $e(e.length, String) : [], c = s.length;
314
- for (var l in e) (t || zt.call(e, l)) && !(o && (l == "length" || i && (l == "offset" || l == "parent") || a && (l == "buffer" || l == "byteLength" || l == "byteOffset") || w(l, c))) && s.push(l);
315
- return s;
316
- }
317
- //#endregion
318
- //#region node_modules/lodash-es/_overArg.js
319
- function Vt(e, t) {
320
- return function(n) {
321
- return e(t(n));
322
- };
323
- }
324
- //#endregion
325
70
  //#region node_modules/lodash-es/_nativeKeysIn.js
326
- function Ht(e) {
71
+ function he(e) {
327
72
  var t = [];
328
73
  if (e != null) for (var n in Object(e)) t.push(n);
329
74
  return t;
330
75
  }
331
76
  //#endregion
332
77
  //#region node_modules/lodash-es/_baseKeysIn.js
333
- var Ut = Object.prototype.hasOwnProperty;
334
- function Wt(e) {
335
- if (!v(e)) return Ht(e);
336
- var t = Qe(e), n = [];
337
- for (var r in e) r == "constructor" && (t || !Ut.call(e, r)) || n.push(r);
78
+ var ge = Object.prototype.hasOwnProperty;
79
+ function _e(e) {
80
+ if (!a(e)) return he(e);
81
+ var t = u(e), n = [];
82
+ for (var r in e) r == "constructor" && (t || !ge.call(e, r)) || n.push(r);
338
83
  return n;
339
84
  }
340
85
  //#endregion
341
86
  //#region node_modules/lodash-es/keysIn.js
342
- function Gt(e) {
343
- return D(e) ? Bt(e, !0) : Wt(e);
344
- }
345
- //#endregion
346
- //#region node_modules/lodash-es/_isKey.js
347
- var Kt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qt = /^\w*$/;
348
- function Jt(e, t) {
349
- if (_(e)) return !1;
350
- var n = typeof e;
351
- return n == "number" || n == "symbol" || n == "boolean" || e == null || oe(e) ? !0 : qt.test(e) || !Kt.test(e) || t != null && e in Object(t);
352
- }
353
- //#endregion
354
- //#region node_modules/lodash-es/_nativeCreate.js
355
- var N = S(Object, "create");
356
- //#endregion
357
- //#region node_modules/lodash-es/_hashClear.js
358
- function Yt() {
359
- this.__data__ = N ? N(null) : {}, this.size = 0;
360
- }
361
- //#endregion
362
- //#region node_modules/lodash-es/_hashDelete.js
363
- function Xt(e) {
364
- var t = this.has(e) && delete this.__data__[e];
365
- return this.size -= +!!t, t;
366
- }
367
- //#endregion
368
- //#region node_modules/lodash-es/_hashGet.js
369
- var Zt = "__lodash_hash_undefined__", Qt = Object.prototype.hasOwnProperty;
370
- function $t(e) {
371
- var t = this.__data__;
372
- if (N) {
373
- var n = t[e];
374
- return n === Zt ? void 0 : n;
375
- }
376
- return Qt.call(t, e) ? t[e] : void 0;
377
- }
378
- //#endregion
379
- //#region node_modules/lodash-es/_hashHas.js
380
- var en = Object.prototype.hasOwnProperty;
381
- function tn(e) {
382
- var t = this.__data__;
383
- return N ? t[e] !== void 0 : en.call(t, e);
384
- }
385
- //#endregion
386
- //#region node_modules/lodash-es/_hashSet.js
387
- var nn = "__lodash_hash_undefined__";
388
- function rn(e, t) {
389
- var n = this.__data__;
390
- return this.size += +!this.has(e), n[e] = N && t === void 0 ? nn : t, this;
391
- }
392
- //#endregion
393
- //#region node_modules/lodash-es/_Hash.js
394
- function P(e) {
395
- var t = -1, n = e == null ? 0 : e.length;
396
- for (this.clear(); ++t < n;) {
397
- var r = e[t];
398
- this.set(r[0], r[1]);
399
- }
400
- }
401
- P.prototype.clear = Yt, P.prototype.delete = Xt, P.prototype.get = $t, P.prototype.has = tn, P.prototype.set = rn;
402
- //#endregion
403
- //#region node_modules/lodash-es/_listCacheClear.js
404
- function an() {
405
- this.__data__ = [], this.size = 0;
406
- }
407
- //#endregion
408
- //#region node_modules/lodash-es/_assocIndexOf.js
409
- function F(e, t) {
410
- for (var n = e.length; n--;) if (T(e[n][0], t)) return n;
411
- return -1;
412
- }
413
- //#endregion
414
- //#region node_modules/lodash-es/_listCacheDelete.js
415
- var on = Array.prototype.splice;
416
- function sn(e) {
417
- var t = this.__data__, n = F(t, e);
418
- return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : on.call(t, n, 1), --this.size, !0);
419
- }
420
- //#endregion
421
- //#region node_modules/lodash-es/_listCacheGet.js
422
- function cn(e) {
423
- var t = this.__data__, n = F(t, e);
424
- return n < 0 ? void 0 : t[n][1];
425
- }
426
- //#endregion
427
- //#region node_modules/lodash-es/_listCacheHas.js
428
- function ln(e) {
429
- return F(this.__data__, e) > -1;
430
- }
431
- //#endregion
432
- //#region node_modules/lodash-es/_listCacheSet.js
433
- function un(e, t) {
434
- var n = this.__data__, r = F(n, e);
435
- return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
436
- }
437
- //#endregion
438
- //#region node_modules/lodash-es/_ListCache.js
439
- function I(e) {
440
- var t = -1, n = e == null ? 0 : e.length;
441
- for (this.clear(); ++t < n;) {
442
- var r = e[t];
443
- this.set(r[0], r[1]);
444
- }
445
- }
446
- I.prototype.clear = an, I.prototype.delete = sn, I.prototype.get = cn, I.prototype.has = ln, I.prototype.set = un;
447
- //#endregion
448
- //#region node_modules/lodash-es/_Map.js
449
- var L = S(c, "Map");
450
- //#endregion
451
- //#region node_modules/lodash-es/_mapCacheClear.js
452
- function dn() {
453
- this.size = 0, this.__data__ = {
454
- hash: new P(),
455
- map: new (L || I)(),
456
- string: new P()
457
- };
458
- }
459
- //#endregion
460
- //#region node_modules/lodash-es/_isKeyable.js
461
- function fn(e) {
462
- var t = typeof e;
463
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
464
- }
465
- //#endregion
466
- //#region node_modules/lodash-es/_getMapData.js
467
- function R(e, t) {
468
- var n = e.__data__;
469
- return fn(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
470
- }
471
- //#endregion
472
- //#region node_modules/lodash-es/_mapCacheDelete.js
473
- function pn(e) {
474
- var t = R(this, e).delete(e);
475
- return this.size -= +!!t, t;
476
- }
477
- //#endregion
478
- //#region node_modules/lodash-es/_mapCacheGet.js
479
- function mn(e) {
480
- return R(this, e).get(e);
481
- }
482
- //#endregion
483
- //#region node_modules/lodash-es/_mapCacheHas.js
484
- function hn(e) {
485
- return R(this, e).has(e);
486
- }
487
- //#endregion
488
- //#region node_modules/lodash-es/_mapCacheSet.js
489
- function gn(e, t) {
490
- var n = R(this, e), r = n.size;
491
- return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
492
- }
493
- //#endregion
494
- //#region node_modules/lodash-es/_MapCache.js
495
- function z(e) {
496
- var t = -1, n = e == null ? 0 : e.length;
497
- for (this.clear(); ++t < n;) {
498
- var r = e[t];
499
- this.set(r[0], r[1]);
500
- }
501
- }
502
- z.prototype.clear = dn, z.prototype.delete = pn, z.prototype.get = mn, z.prototype.has = hn, z.prototype.set = gn;
503
- //#endregion
504
- //#region node_modules/lodash-es/memoize.js
505
- var _n = "Expected a function";
506
- function B(e, t) {
507
- if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(_n);
508
- var n = function() {
509
- var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
510
- if (a.has(i)) return a.get(i);
511
- var o = e.apply(this, r);
512
- return n.cache = a.set(i, o) || a, o;
513
- };
514
- return n.cache = new (B.Cache || z)(), n;
515
- }
516
- B.Cache = z;
517
- //#endregion
518
- //#region node_modules/lodash-es/_memoizeCapped.js
519
- var vn = 500;
520
- function yn(e) {
521
- var t = B(e, function(e) {
522
- return n.size === vn && n.clear(), e;
523
- }), n = t.cache;
524
- return t;
525
- }
526
- //#endregion
527
- //#region node_modules/lodash-es/_stringToPath.js
528
- var bn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, xn = /\\(\\)?/g, Sn = yn(function(e) {
529
- var t = [];
530
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(bn, function(e, n, r, i) {
531
- t.push(r ? i.replace(xn, "$1") : n || e);
532
- }), t;
533
- });
534
- //#endregion
535
- //#region node_modules/lodash-es/toString.js
536
- function Cn(e) {
537
- return e == null ? "" : de(e);
538
- }
539
- //#endregion
540
- //#region node_modules/lodash-es/_castPath.js
541
- function wn(e, t) {
542
- return _(e) ? e : Jt(e, t) ? [e] : Sn(Cn(e));
543
- }
544
- //#endregion
545
- //#region node_modules/lodash-es/_toKey.js
546
- var Tn = Infinity;
547
- function En(e) {
548
- if (typeof e == "string" || oe(e)) return e;
549
- var t = e + "";
550
- return t == "0" && 1 / e == -Tn ? "-0" : t;
551
- }
552
- //#endregion
553
- //#region node_modules/lodash-es/_baseGet.js
554
- function Dn(e, t) {
555
- t = wn(t, e);
556
- for (var n = 0, r = t.length; e != null && n < r;) e = e[En(t[n++])];
557
- return n && n == r ? e : void 0;
558
- }
559
- //#endregion
560
- //#region node_modules/lodash-es/get.js
561
- function On(e, t, n) {
562
- var r = e == null ? void 0 : Dn(e, t);
563
- return r === void 0 ? n : r;
87
+ function S(e) {
88
+ return _(e) ? p(e, !0) : _e(e);
564
89
  }
565
90
  //#endregion
566
91
  //#region node_modules/lodash-es/_getPrototype.js
567
- var V = Vt(Object.getPrototypeOf, Object), kn = "[object Object]", An = Function.prototype, jn = Object.prototype, Mn = An.toString, Nn = jn.hasOwnProperty, Pn = Mn.call(Object);
568
- function H(e) {
569
- if (!g(e) || h(e) != kn) return !1;
570
- var t = V(e);
92
+ var C = h(Object.getPrototypeOf, Object), ve = "[object Object]", ye = Function.prototype, be = Object.prototype, w = ye.toString, xe = be.hasOwnProperty, Se = w.call(Object);
93
+ function T(e) {
94
+ if (!o(e) || v(e) != ve) return !1;
95
+ var t = C(e);
571
96
  if (t === null) return !0;
572
- var n = Nn.call(t, "constructor") && t.constructor;
573
- return typeof n == "function" && n instanceof n && Mn.call(n) == Pn;
574
- }
575
- //#endregion
576
- //#region node_modules/lodash-es/_stackClear.js
577
- function Fn() {
578
- this.__data__ = new I(), this.size = 0;
579
- }
580
- //#endregion
581
- //#region node_modules/lodash-es/_stackDelete.js
582
- function In(e) {
583
- var t = this.__data__, n = t.delete(e);
584
- return this.size = t.size, n;
585
- }
586
- //#endregion
587
- //#region node_modules/lodash-es/_stackGet.js
588
- function Ln(e) {
589
- return this.__data__.get(e);
590
- }
591
- //#endregion
592
- //#region node_modules/lodash-es/_stackHas.js
593
- function Rn(e) {
594
- return this.__data__.has(e);
595
- }
596
- //#endregion
597
- //#region node_modules/lodash-es/_stackSet.js
598
- var zn = 200;
599
- function Bn(e, t) {
600
- var n = this.__data__;
601
- if (n instanceof I) {
602
- var r = n.__data__;
603
- if (!L || r.length < zn - 1) return r.push([e, t]), this.size = ++n.size, this;
604
- n = this.__data__ = new z(r);
605
- }
606
- return n.set(e, t), this.size = n.size, this;
97
+ var n = xe.call(t, "constructor") && t.constructor;
98
+ return typeof n == "function" && n instanceof n && w.call(n) == Se;
607
99
  }
608
100
  //#endregion
609
- //#region node_modules/lodash-es/_Stack.js
610
- function U(e) {
611
- var t = this.__data__ = new I(e);
612
- this.size = t.size;
613
- }
614
- U.prototype.clear = Fn, U.prototype.delete = In, U.prototype.get = Ln, U.prototype.has = Rn, U.prototype.set = Bn;
615
- //#endregion
616
101
  //#region node_modules/lodash-es/_cloneBuffer.js
617
- var Vn = typeof exports == "object" && exports && !exports.nodeType && exports, Hn = Vn && typeof module == "object" && module && !module.nodeType && module, Un = Hn && Hn.exports === Vn ? c.Buffer : void 0, Wn = Un ? Un.allocUnsafe : void 0;
618
- function Gn(e, t) {
102
+ var E = typeof exports == "object" && exports && !exports.nodeType && exports, D = E && typeof module == "object" && module && !module.nodeType && module, O = D && D.exports === E ? c.Buffer : void 0, k = O ? O.allocUnsafe : void 0;
103
+ function A(e, t) {
619
104
  if (t) return e.slice();
620
- var n = e.length, r = Wn ? Wn(n) : new e.constructor(n);
105
+ var n = e.length, r = k ? k(n) : new e.constructor(n);
621
106
  return e.copy(r), r;
622
107
  }
623
108
  //#endregion
624
- //#region node_modules/lodash-es/_Uint8Array.js
625
- var W = c.Uint8Array;
626
- //#endregion
627
109
  //#region node_modules/lodash-es/_cloneArrayBuffer.js
628
- function Kn(e) {
110
+ function Ce(e) {
629
111
  var t = new e.constructor(e.byteLength);
630
- return new W(t).set(new W(e)), t;
112
+ return new g(t).set(new g(e)), t;
631
113
  }
632
114
  //#endregion
633
115
  //#region node_modules/lodash-es/_cloneTypedArray.js
634
- function qn(e, t) {
635
- var n = t ? Kn(e.buffer) : e.buffer;
116
+ function we(e, t) {
117
+ var n = t ? Ce(e.buffer) : e.buffer;
636
118
  return new e.constructor(n, e.byteOffset, e.length);
637
119
  }
638
120
  //#endregion
639
121
  //#region node_modules/lodash-es/_initCloneObject.js
640
- function Jn(e) {
641
- return typeof e.constructor == "function" && !Qe(e) ? Ae(V(e)) : {};
122
+ function Te(e) {
123
+ return typeof e.constructor == "function" && !u(e) ? le(C(e)) : {};
642
124
  }
643
125
  //#endregion
644
- //#region node_modules/lodash-es/_createBaseFor.js
645
- function Yn(e) {
646
- return function(t, n, r) {
647
- for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
648
- var c = o[e ? s : ++i];
649
- if (n(a[c], c, a) === !1) break;
650
- }
651
- return t;
652
- };
653
- }
654
- //#endregion
655
- //#region node_modules/lodash-es/_baseFor.js
656
- var Xn = Yn();
657
- //#endregion
658
126
  //#region node_modules/lodash-es/_assignMergeValue.js
659
- function G(e, t, n) {
660
- (n !== void 0 && !T(e[t], n) || n === void 0 && !(t in e)) && Ve(e, t, n);
661
- }
662
- //#endregion
663
- //#region node_modules/lodash-es/isArrayLikeObject.js
664
- function Zn(e) {
665
- return g(e) && D(e);
127
+ function j(e, t, n) {
128
+ (n !== void 0 && !s(e[t], n) || n === void 0 && !(t in e)) && b(e, t, n);
666
129
  }
667
130
  //#endregion
668
131
  //#region node_modules/lodash-es/_safeGet.js
669
- function K(e, t) {
132
+ function M(e, t) {
670
133
  if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
671
134
  }
672
135
  //#endregion
673
136
  //#region node_modules/lodash-es/toPlainObject.js
674
- function Qn(e) {
675
- return We(e, Gt(e));
137
+ function Ee(e) {
138
+ return x(e, S(e));
676
139
  }
677
140
  //#endregion
678
141
  //#region node_modules/lodash-es/_baseMergeDeep.js
679
- function $n(e, t, n, r, i, a, o) {
680
- var s = K(e, n), c = K(t, n), l = o.get(c);
681
- if (l) {
682
- G(e, n, l);
142
+ function De(e, t, i, o, s, c, l) {
143
+ var u = M(e, i), f = M(t, i), p = l.get(f);
144
+ if (p) {
145
+ j(e, i, p);
683
146
  return;
684
147
  }
685
- var u = a ? a(s, c, n + "", e, t, o) : void 0, d = u === void 0;
686
- if (d) {
687
- var f = _(c), p = !f && k(c), m = !f && !p && Rt(c);
688
- u = c, f || p || m ? _(s) ? u = s : Zn(s) ? u = Me(s) : p ? (d = !1, u = Gn(c, !0)) : m ? (d = !1, u = qn(c, !0)) : u = [] : H(c) || O(c) ? (u = s, O(s) ? u = Qn(s) : (!v(s) || b(s)) && (u = Jn(c))) : d = !1;
148
+ var m = c ? c(u, f, i + "", e, t, l) : void 0, h = m === void 0;
149
+ if (h) {
150
+ var g = n(f), _ = !g && te(f), v = !g && !_ && d(f);
151
+ m = f, g || _ || v ? n(u) ? m = u : ee(u) ? m = ue(u) : _ ? (h = !1, m = A(f, !0)) : v ? (h = !1, m = we(f, !0)) : m = [] : T(f) || ne(f) ? (m = u, ne(u) ? m = Ee(u) : (!a(u) || r(u)) && (m = Te(f))) : h = !1;
689
152
  }
690
- d && (o.set(c, u), i(u, c, r, a, o), o.delete(c)), G(e, n, u);
153
+ h && (l.set(f, m), s(m, f, o, c, l), l.delete(f)), j(e, i, m);
691
154
  }
692
155
  //#endregion
693
156
  //#region node_modules/lodash-es/_baseMerge.js
694
- function er(e, t, n, r, i) {
695
- e !== t && Xn(t, function(a, o) {
696
- if (i ||= new U(), v(a)) $n(e, t, o, n, er, r, i);
157
+ function Oe(e, t, n, r, i) {
158
+ e !== t && m(t, function(o, s) {
159
+ if (i ||= new f(), a(o)) De(e, t, s, n, Oe, r, i);
697
160
  else {
698
- var s = r ? r(K(e, o), a, o + "", e, t, i) : void 0;
699
- s === void 0 && (s = a), G(e, o, s);
161
+ var c = r ? r(M(e, s), o, s + "", e, t, i) : void 0;
162
+ c === void 0 && (c = o), j(e, s, c);
700
163
  }
701
- }, Gt);
164
+ }, S);
702
165
  }
703
166
  //#endregion
704
167
  //#region node_modules/lodash-es/merge.js
705
- var tr = Xe(function(e, t, n) {
706
- er(e, t, n);
707
- }), q = {
168
+ var ke = me(function(e, t, n) {
169
+ Oe(e, t, n);
170
+ }), N = {
708
171
  en: { material: {
709
172
  "empty-state": {
710
173
  "not-found": {
@@ -743,6 +206,13 @@ var tr = Xe(function(e, t, n) {
743
206
  "scroll-progress": "Scroll progress",
744
207
  "skip-link": "Skip to content",
745
208
  "see-also": "See also",
209
+ emoji: {
210
+ picker: "Emoji",
211
+ pick: "Choose an emoji",
212
+ search: "Search emoji",
213
+ empty: "No emoji match"
214
+ },
215
+ mentions: { empty: "No matches" },
746
216
  cards: {
747
217
  "per-month": "/ month",
748
218
  total: "Total",
@@ -1534,6 +1004,13 @@ var tr = Xe(function(e, t, n) {
1534
1004
  "scroll-progress": "Progression du défilement",
1535
1005
  "skip-link": "Aller au contenu",
1536
1006
  "see-also": "Voir aussi",
1007
+ emoji: {
1008
+ picker: "Emoji",
1009
+ pick: "Choisir un emoji",
1010
+ search: "Chercher un emoji",
1011
+ empty: "Aucun emoji"
1012
+ },
1013
+ mentions: { empty: "Aucun résultat" },
1537
1014
  cards: {
1538
1015
  "per-month": "/ mois",
1539
1016
  total: "Total",
@@ -2287,8 +1764,8 @@ var tr = Xe(function(e, t, n) {
2287
1764
  required: "requis"
2288
1765
  }
2289
1766
  } }
2290
- }, J = "language", nr = "en", Y = Object.keys(q), rr = e(null);
2291
- function ir(e, t, n) {
1767
+ }, P = "language", Ae = "en", F = Object.keys(N), I = re(null);
1768
+ function je(e, t, n) {
2292
1769
  if (typeof localStorage > "u") return t;
2293
1770
  try {
2294
1771
  let r = localStorage.getItem(e);
@@ -2297,102 +1774,102 @@ function ir(e, t, n) {
2297
1774
  return t;
2298
1775
  }
2299
1776
  }
2300
- function ar({ children: e, defaultLanguage: n = "en", storageKey: o = J, supportedLanguages: s = Y, onLanguageChange: c, initialLanguage: l }) {
2301
- let [u, d] = i(() => l && s.includes(l) ? l : ir(o, n, s)), f = t((e) => {
2302
- if (!s.includes(e)) {
1777
+ function Me({ children: e, defaultLanguage: t = "en", storageKey: n = P, supportedLanguages: r = F, onLanguageChange: i, initialLanguage: a }) {
1778
+ let [o, s] = oe(() => a && r.includes(a) ? a : je(n, t, r)), c = y((e) => {
1779
+ if (!r.includes(e)) {
2303
1780
  console.warn(`[@nxgt/material] Unsupported language: "${e}".`);
2304
1781
  return;
2305
1782
  }
2306
1783
  if (typeof localStorage < "u") try {
2307
- localStorage.setItem(o, e);
1784
+ localStorage.setItem(n, e);
2308
1785
  } catch {}
2309
- d(e), c?.(e);
1786
+ s(e), i?.(e);
2310
1787
  }, [
2311
- o,
2312
- s,
2313
- c
2314
- ]), p = r(() => ({
2315
- language: u,
2316
- changeLanguage: f,
2317
- supportedLanguages: s
1788
+ n,
1789
+ r,
1790
+ i
1791
+ ]), l = ae(() => ({
1792
+ language: o,
1793
+ changeLanguage: c,
1794
+ supportedLanguages: r
2318
1795
  }), [
2319
- u,
2320
- f,
2321
- s
1796
+ o,
1797
+ c,
1798
+ r
2322
1799
  ]);
2323
- return /* @__PURE__ */ a(rr.Provider, {
2324
- value: p,
1800
+ return /* @__PURE__ */ se(I.Provider, {
1801
+ value: l,
2325
1802
  children: e
2326
1803
  });
2327
1804
  }
2328
- function or() {
2329
- let e = n(rr);
1805
+ function L() {
1806
+ let e = ie(I);
2330
1807
  if (!e) throw Error("useI18nContext must be used within an I18nProvider");
2331
1808
  return e;
2332
1809
  }
2333
- function sr() {
2334
- return n(rr);
1810
+ function R() {
1811
+ return ie(I);
2335
1812
  }
2336
1813
  //#endregion
2337
1814
  //#region lib/i18n/merge-resources.ts
2338
- function cr(e, t, n = "") {
1815
+ function z(e, t, n = "") {
2339
1816
  let r = [];
2340
1817
  for (let i of Object.keys(t)) {
2341
1818
  if (!(i in e)) continue;
2342
1819
  let a = n ? `${n}.${i}` : i, o = e[i], s = t[i];
2343
- H(o) && H(s) ? r.push(...cr(o, s, a)) : r.push(a);
1820
+ T(o) && T(s) ? r.push(...z(o, s, a)) : r.push(a);
2344
1821
  }
2345
1822
  return r;
2346
1823
  }
2347
- function lr(e, t, n) {
1824
+ function Ne(e, t, n) {
2348
1825
  if (typeof process < "u" && process.env.NODE_ENV === "production") return;
2349
- let r = cr(t, n);
1826
+ let r = z(t, n);
2350
1827
  r.length && console.warn(`[@nxgt/material] i18n resource override for language "${e}": ${r.join(", ")}. App resources take precedence over the base bundle at these keys.`);
2351
1828
  }
2352
- function ur(e, t) {
1829
+ function Pe(e, t) {
2353
1830
  let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]), r = {};
2354
1831
  for (let i of n) {
2355
1832
  let n = e[i] ?? {}, a = t[i] ?? {};
2356
- lr(i, n, a), r[i] = tr({}, n, a);
1833
+ Ne(i, n, a), r[i] = ke({}, n, a);
2357
1834
  }
2358
1835
  return r;
2359
1836
  }
2360
1837
  //#endregion
2361
1838
  //#region node_modules/@formatjs/fast-memoize/index.js
2362
- function dr(e, t) {
2363
- let n = t && t.cache ? t.cache : xr, r = t && t.serializer ? t.serializer : yr;
2364
- return (t && t.strategy ? t.strategy : gr)(e, {
1839
+ function B(e, t) {
1840
+ let n = t && t.cache ? t.cache : Ve, r = t && t.serializer ? t.serializer : ze;
1841
+ return (t && t.strategy ? t.strategy : Ie)(e, {
2365
1842
  cache: n,
2366
1843
  serializer: r
2367
1844
  });
2368
1845
  }
2369
- function fr(e) {
1846
+ function Fe(e) {
2370
1847
  return e == null || typeof e == "number" || typeof e == "boolean";
2371
1848
  }
2372
- function pr(e, t, n, r) {
2373
- let i = fr(r) ? r : n(r), a = t.get(i);
1849
+ function V(e, t, n, r) {
1850
+ let i = Fe(r) ? r : n(r), a = t.get(i);
2374
1851
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
2375
1852
  }
2376
- function mr(e, t, n) {
1853
+ function H(e, t, n) {
2377
1854
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
2378
1855
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
2379
1856
  }
2380
- function hr(e, t, n, r, i) {
1857
+ function U(e, t, n, r, i) {
2381
1858
  return n.bind(t, e, r, i);
2382
1859
  }
2383
- function gr(e, t) {
2384
- let n = e.length === 1 ? pr : mr;
2385
- return hr(e, this, n, t.cache.create(), t.serializer);
1860
+ function Ie(e, t) {
1861
+ let n = e.length === 1 ? V : H;
1862
+ return U(e, this, n, t.cache.create(), t.serializer);
2386
1863
  }
2387
- function _r(e, t) {
2388
- return hr(e, this, mr, t.cache.create(), t.serializer);
1864
+ function Le(e, t) {
1865
+ return U(e, this, H, t.cache.create(), t.serializer);
2389
1866
  }
2390
- function vr(e, t) {
2391
- return hr(e, this, pr, t.cache.create(), t.serializer);
1867
+ function Re(e, t) {
1868
+ return U(e, this, V, t.cache.create(), t.serializer);
2392
1869
  }
2393
- var yr = function() {
1870
+ var ze = function() {
2394
1871
  return JSON.stringify(arguments);
2395
- }, br = class {
1872
+ }, Be = class {
2396
1873
  constructor() {
2397
1874
  this.cache = Object.create(null);
2398
1875
  }
@@ -2402,15 +1879,15 @@ var yr = function() {
2402
1879
  set(e, t) {
2403
1880
  this.cache[e] = t;
2404
1881
  }
2405
- }, xr = { create: function() {
2406
- return new br();
2407
- } }, Sr = {
2408
- variadic: _r,
2409
- monadic: vr
2410
- }, Cr = /(?:[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;
2411
- function wr(e) {
1882
+ }, Ve = { create: function() {
1883
+ return new Be();
1884
+ } }, W = {
1885
+ variadic: Le,
1886
+ monadic: Re
1887
+ }, He = /(?:[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;
1888
+ function Ue(e) {
2412
1889
  let t = {};
2413
- return e.replace(Cr, (e) => {
1890
+ return e.replace(He, (e) => {
2414
1891
  let n = e.length;
2415
1892
  switch (e[0]) {
2416
1893
  case "G":
@@ -2505,10 +1982,10 @@ function wr(e) {
2505
1982
  return "";
2506
1983
  }), t;
2507
1984
  }
2508
- var Tr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2509
- function Er(e) {
1985
+ var We = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1986
+ function Ge(e) {
2510
1987
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
2511
- let t = e.split(Tr).filter((e) => e.length > 0), n = [];
1988
+ let t = e.split(We).filter((e) => e.length > 0), n = [];
2512
1989
  for (let e of t) {
2513
1990
  let t = e.split("/");
2514
1991
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -2521,17 +1998,17 @@ function Er(e) {
2521
1998
  }
2522
1999
  return n;
2523
2000
  }
2524
- function Dr(e) {
2001
+ function Ke(e) {
2525
2002
  return e.replace(/^(.*?)-/, "");
2526
2003
  }
2527
- var Or = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, Ar = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
2528
- function Mr(e) {
2004
+ var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Je = /^(@+)?(\+|#+)?[rs]?$/g, Ye = /(\*)(0+)|(#+)(0+)|(0+)/g, Xe = /^(0+)$/;
2005
+ function Ze(e) {
2529
2006
  let t = {};
2530
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(e, n, r) {
2007
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Je, function(e, n, r) {
2531
2008
  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), "";
2532
2009
  }), t;
2533
2010
  }
2534
- function Nr(e) {
2011
+ function Qe(e) {
2535
2012
  switch (e) {
2536
2013
  case "sign-auto": return { signDisplay: "auto" };
2537
2014
  case "sign-accounting":
@@ -2554,19 +2031,19 @@ function Nr(e) {
2554
2031
  case "+_": return { signDisplay: "never" };
2555
2032
  }
2556
2033
  }
2557
- function Pr(e) {
2034
+ function $e(e) {
2558
2035
  let t;
2559
2036
  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) {
2560
2037
  let n = e.slice(0, 2);
2561
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e)) throw Error("Malformed concise eng/scientific notation");
2038
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xe.test(e)) throw Error("Malformed concise eng/scientific notation");
2562
2039
  t.minimumIntegerDigits = e.length;
2563
2040
  }
2564
2041
  return t;
2565
2042
  }
2566
- function Fr(e) {
2567
- return Nr(e) || {};
2043
+ function et(e) {
2044
+ return Qe(e) || {};
2568
2045
  }
2569
- function Ir(e) {
2046
+ function tt(e) {
2570
2047
  let t = {};
2571
2048
  for (let n of e) {
2572
2049
  switch (n.stem) {
@@ -2590,7 +2067,7 @@ function Ir(e) {
2590
2067
  continue;
2591
2068
  case "measure-unit":
2592
2069
  case "unit":
2593
- t.style = "unit", t.unit = Dr(n.options[0]);
2070
+ t.style = "unit", t.unit = Ke(n.options[0]);
2594
2071
  continue;
2595
2072
  case "compact-short":
2596
2073
  case "K":
@@ -2606,7 +2083,7 @@ function Ir(e) {
2606
2083
  notation: "scientific",
2607
2084
  ...n.options.reduce((e, t) => ({
2608
2085
  ...e,
2609
- ...Fr(t)
2086
+ ...et(t)
2610
2087
  }), {})
2611
2088
  };
2612
2089
  continue;
@@ -2616,7 +2093,7 @@ function Ir(e) {
2616
2093
  notation: "engineering",
2617
2094
  ...n.options.reduce((e, t) => ({
2618
2095
  ...e,
2619
- ...Fr(t)
2096
+ ...et(t)
2620
2097
  }), {})
2621
2098
  };
2622
2099
  continue;
@@ -2661,7 +2138,7 @@ function Ir(e) {
2661
2138
  continue;
2662
2139
  case "integer-width":
2663
2140
  if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
2664
- n.options[0].replace(Ar, function(e, n, r, i, a, o) {
2141
+ n.options[0].replace(Ye, function(e, n, r, i, a, o) {
2665
2142
  if (n) t.minimumIntegerDigits = r.length;
2666
2143
  else if (i && a) throw Error("We currently do not support maximum integer digits");
2667
2144
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -2669,13 +2146,13 @@ function Ir(e) {
2669
2146
  });
2670
2147
  continue;
2671
2148
  }
2672
- if (jr.test(n.stem)) {
2149
+ if (Xe.test(n.stem)) {
2673
2150
  t.minimumIntegerDigits = n.stem.length;
2674
2151
  continue;
2675
2152
  }
2676
- if (Or.test(n.stem)) {
2153
+ if (qe.test(n.stem)) {
2677
2154
  if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
2678
- n.stem.replace(Or, function(e, n, r, i, a, o) {
2155
+ n.stem.replace(qe, function(e, n, r, i, a, o) {
2679
2156
  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), "";
2680
2157
  });
2681
2158
  let e = n.options[0];
@@ -2684,23 +2161,23 @@ function Ir(e) {
2684
2161
  trailingZeroDisplay: "stripIfInteger"
2685
2162
  } : e && (t = {
2686
2163
  ...t,
2687
- ...Mr(e)
2164
+ ...Ze(e)
2688
2165
  });
2689
2166
  continue;
2690
2167
  }
2691
- if (kr.test(n.stem)) {
2168
+ if (Je.test(n.stem)) {
2692
2169
  t = {
2693
2170
  ...t,
2694
- ...Mr(n.stem)
2171
+ ...Ze(n.stem)
2695
2172
  };
2696
2173
  continue;
2697
2174
  }
2698
- let e = Nr(n.stem);
2175
+ let e = Qe(n.stem);
2699
2176
  e && (t = {
2700
2177
  ...t,
2701
2178
  ...e
2702
2179
  });
2703
- let r = Pr(n.stem);
2180
+ let r = $e(n.stem);
2704
2181
  r && (t = {
2705
2182
  ...t,
2706
2183
  ...r
@@ -2710,43 +2187,43 @@ function Ir(e) {
2710
2187
  }
2711
2188
  //#endregion
2712
2189
  //#region node_modules/@formatjs/icu-messageformat-parser/index.js
2713
- var Lr = /* @__PURE__ */ function(e) {
2190
+ var nt = /* @__PURE__ */ function(e) {
2714
2191
  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;
2715
2192
  }({});
2716
- function Rr(e) {
2193
+ function G(e) {
2717
2194
  return e.type === 0;
2718
2195
  }
2719
- function zr(e) {
2196
+ function rt(e) {
2720
2197
  return e.type === 1;
2721
2198
  }
2722
- function Br(e) {
2199
+ function it(e) {
2723
2200
  return e.type === 2;
2724
2201
  }
2725
- function Vr(e) {
2202
+ function at(e) {
2726
2203
  return e.type === 3;
2727
2204
  }
2728
- function Hr(e) {
2205
+ function ot(e) {
2729
2206
  return e.type === 4;
2730
2207
  }
2731
- function Ur(e) {
2208
+ function st(e) {
2732
2209
  return e.type === 5;
2733
2210
  }
2734
- function Wr(e) {
2211
+ function ct(e) {
2735
2212
  return e.type === 6;
2736
2213
  }
2737
- function Gr(e) {
2214
+ function lt(e) {
2738
2215
  return e.type === 7;
2739
2216
  }
2740
- function Kr(e) {
2217
+ function ut(e) {
2741
2218
  return e.type === 8;
2742
2219
  }
2743
- function qr(e) {
2220
+ function dt(e) {
2744
2221
  return !!(e && typeof e == "object" && e.type === 0);
2745
2222
  }
2746
- function Jr(e) {
2223
+ function K(e) {
2747
2224
  return !!(e && typeof e == "object" && e.type === 1);
2748
2225
  }
2749
- var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
2226
+ var ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, q = {
2750
2227
  "001": ["H", "h"],
2751
2228
  419: [
2752
2229
  "h",
@@ -3909,21 +3386,21 @@ var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
3909
3386
  "h"
3910
3387
  ]
3911
3388
  };
3912
- function Xr(e, t) {
3389
+ function pt(e, t) {
3913
3390
  let n = "";
3914
3391
  for (let r = 0; r < e.length; r++) {
3915
3392
  let i = e.charAt(r);
3916
3393
  if (i === "j") {
3917
3394
  let a = 0;
3918
3395
  for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
3919
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = Zr(t);
3396
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = mt(t);
3920
3397
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
3921
3398
  for (; o-- > 0;) n = c + n;
3922
3399
  } else i === "J" ? n += "H" : n += i;
3923
3400
  }
3924
3401
  return n;
3925
3402
  }
3926
- function Zr(e) {
3403
+ function mt(e) {
3927
3404
  let t = e.hourCycle;
3928
3405
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
3929
3406
  case "h24": return "k";
@@ -3933,32 +3410,32 @@ function Zr(e) {
3933
3410
  default: throw Error("Invalid hourCycle");
3934
3411
  }
3935
3412
  let n = e.language, r;
3936
- return n !== "root" && (r = e.maximize().region), (X[r || ""] || X[n || ""] || X[`${n}-001`] || X["001"])[0];
3413
+ return n !== "root" && (r = e.maximize().region), (q[r || ""] || q[n || ""] || q[`${n}-001`] || q["001"])[0];
3937
3414
  }
3938
- var Qr = RegExp(`^${Yr.source}*`), $r = RegExp(`${Yr.source}*$`);
3939
- function Z(e, t) {
3415
+ var ht = RegExp(`^${ft.source}*`), gt = RegExp(`${ft.source}*$`);
3416
+ function J(e, t) {
3940
3417
  return {
3941
3418
  start: e,
3942
3419
  end: t
3943
3420
  };
3944
3421
  }
3945
- var ei = !!Object.fromEntries, ti = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ri = ei ? Object.fromEntries : function(e) {
3422
+ var _t = !!Object.fromEntries, vt = !!String.prototype.trimStart, yt = !!String.prototype.trimEnd, bt = _t ? Object.fromEntries : function(e) {
3946
3423
  let t = {};
3947
3424
  for (let [n, r] of e) t[n] = r;
3948
3425
  return t;
3949
- }, ii = ti ? function(e) {
3426
+ }, xt = vt ? function(e) {
3950
3427
  return e.trimStart();
3951
3428
  } : function(e) {
3952
- return e.replace(Qr, "");
3953
- }, ai = ni ? function(e) {
3429
+ return e.replace(ht, "");
3430
+ }, St = yt ? function(e) {
3954
3431
  return e.trimEnd();
3955
3432
  } : function(e) {
3956
- return e.replace($r, "");
3957
- }, oi = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3958
- function si(e, t) {
3959
- return oi.lastIndex = t, oi.exec(e)[1] ?? "";
3433
+ return e.replace(gt, "");
3434
+ }, Ct = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3435
+ function wt(e, t) {
3436
+ return Ct.lastIndex = t, Ct.exec(e)[1] ?? "";
3960
3437
  }
3961
- function ci(e) {
3438
+ function Tt(e) {
3962
3439
  if (e.length === 0) return null;
3963
3440
  let t = 1, n = 1;
3964
3441
  for (let r = 0; r < e.length;) {
@@ -3982,7 +3459,7 @@ function ci(e) {
3982
3459
  column: n
3983
3460
  };
3984
3461
  }
3985
- var li = class {
3462
+ var Et = class {
3986
3463
  constructor(e, t = {}) {
3987
3464
  this.message = e, this.position = {
3988
3465
  offset: 0,
@@ -3995,14 +3472,14 @@ var li = class {
3995
3472
  if (this.message.length > 0) {
3996
3473
  let e = this.message.charCodeAt(0);
3997
3474
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
3998
- let e = ci(this.message);
3475
+ let e = Tt(this.message);
3999
3476
  if (e) {
4000
3477
  let t = this.clonePosition();
4001
3478
  return this.position = e, {
4002
3479
  val: [{
4003
3480
  type: 0,
4004
3481
  value: this.message,
4005
- location: Z(t, this.clonePosition())
3482
+ location: J(t, this.clonePosition())
4006
3483
  }],
4007
3484
  err: null
4008
3485
  };
@@ -4024,12 +3501,12 @@ var li = class {
4024
3501
  let e = this.clonePosition();
4025
3502
  this.bump(), r.push({
4026
3503
  type: 7,
4027
- location: Z(e, this.clonePosition())
3504
+ location: J(e, this.clonePosition())
4028
3505
  });
4029
3506
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
4030
3507
  if (n) break;
4031
- return this.error(26, Z(this.clonePosition(), this.clonePosition()));
4032
- } else if (i === 60 && !this.ignoreTag && ui(this.peek() || 0)) {
3508
+ return this.error(26, J(this.clonePosition(), this.clonePosition()));
3509
+ } else if (i === 60 && !this.ignoreTag && Y(this.peek() || 0)) {
4033
3510
  let n = this.parseTag(e, t);
4034
3511
  if (n.err) return n;
4035
3512
  r.push(n.val);
@@ -4052,7 +3529,7 @@ var li = class {
4052
3529
  val: {
4053
3530
  type: 0,
4054
3531
  value: `<${r}/>`,
4055
- location: Z(n, this.clonePosition())
3532
+ location: J(n, this.clonePosition())
4056
3533
  },
4057
3534
  err: null
4058
3535
  };
@@ -4061,23 +3538,23 @@ var li = class {
4061
3538
  if (i.err) return i;
4062
3539
  let a = i.val, o = this.clonePosition();
4063
3540
  if (this.bumpIf("</")) {
4064
- if (this.isEOF() || !ui(this.char())) return this.error(23, Z(o, this.clonePosition()));
3541
+ if (this.isEOF() || !Y(this.char())) return this.error(23, J(o, this.clonePosition()));
4065
3542
  let e = this.clonePosition();
4066
3543
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
4067
3544
  val: {
4068
3545
  type: 8,
4069
3546
  value: r,
4070
3547
  children: a,
4071
- location: Z(n, this.clonePosition())
3548
+ location: J(n, this.clonePosition())
4072
3549
  },
4073
3550
  err: null
4074
- } : this.error(23, Z(o, this.clonePosition()))) : this.error(26, Z(e, this.clonePosition()));
4075
- } else return this.error(27, Z(n, this.clonePosition()));
4076
- } else return this.error(23, Z(n, this.clonePosition()));
3551
+ } : this.error(23, J(o, this.clonePosition()))) : this.error(26, J(e, this.clonePosition()));
3552
+ } else return this.error(27, J(n, this.clonePosition()));
3553
+ } else return this.error(23, J(n, this.clonePosition()));
4077
3554
  }
4078
3555
  parseTagName() {
4079
3556
  let e = this.offset();
4080
- for (this.bump(); !this.isEOF() && fi(this.char());) this.bump();
3557
+ for (this.bump(); !this.isEOF() && Ot(this.char());) this.bump();
4081
3558
  return this.message.slice(e, this.offset());
4082
3559
  }
4083
3560
  parseLiteral(e, t) {
@@ -4100,7 +3577,7 @@ var li = class {
4100
3577
  }
4101
3578
  break;
4102
3579
  }
4103
- let i = Z(n, this.clonePosition());
3580
+ let i = J(n, this.clonePosition());
4104
3581
  return {
4105
3582
  val: {
4106
3583
  type: 0,
@@ -4111,7 +3588,7 @@ var li = class {
4111
3588
  };
4112
3589
  }
4113
3590
  tryParseLeftAngleBracket() {
4114
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3591
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !Dt(this.peek() || 0)) ? (this.bump(), "<") : null;
4115
3592
  }
4116
3593
  tryParseQuote(e) {
4117
3594
  if (this.isEOF() || this.char() !== 39) return null;
@@ -4147,35 +3624,35 @@ var li = class {
4147
3624
  }
4148
3625
  parseArgument(e, t) {
4149
3626
  let n = this.clonePosition();
4150
- if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
4151
- if (this.char() === 125) return this.bump(), this.error(2, Z(n, this.clonePosition()));
3627
+ if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, J(n, this.clonePosition()));
3628
+ if (this.char() === 125) return this.bump(), this.error(2, J(n, this.clonePosition()));
4152
3629
  let r = this.parseIdentifierIfPossible().value;
4153
- if (!r) return this.error(3, Z(n, this.clonePosition()));
4154
- if (this.bumpSpace(), this.isEOF()) return this.error(1, Z(n, this.clonePosition()));
3630
+ if (!r) return this.error(3, J(n, this.clonePosition()));
3631
+ if (this.bumpSpace(), this.isEOF()) return this.error(1, J(n, this.clonePosition()));
4155
3632
  switch (this.char()) {
4156
3633
  case 125: return this.bump(), {
4157
3634
  val: {
4158
3635
  type: 1,
4159
3636
  value: r,
4160
- location: Z(n, this.clonePosition())
3637
+ location: J(n, this.clonePosition())
4161
3638
  },
4162
3639
  err: null
4163
3640
  };
4164
- case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, Z(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
4165
- default: return this.error(3, Z(n, this.clonePosition()));
3641
+ case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, J(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
3642
+ default: return this.error(3, J(n, this.clonePosition()));
4166
3643
  }
4167
3644
  }
4168
3645
  parseIdentifierIfPossible() {
4169
- let e = this.clonePosition(), t = this.offset(), n = si(this.message, t), r = t + n.length;
3646
+ let e = this.clonePosition(), t = this.offset(), n = wt(this.message, t), r = t + n.length;
4170
3647
  return this.bumpTo(r), {
4171
3648
  value: n,
4172
- location: Z(e, this.clonePosition())
3649
+ location: J(e, this.clonePosition())
4173
3650
  };
4174
3651
  }
4175
3652
  parseArgumentOptions(e, t, n, r) {
4176
3653
  let i = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
4177
3654
  switch (a) {
4178
- case "": return this.error(4, Z(i, o));
3655
+ case "": return this.error(4, J(i, o));
4179
3656
  case "number":
4180
3657
  case "date":
4181
3658
  case "time": {
@@ -4185,18 +3662,18 @@ var li = class {
4185
3662
  this.bumpSpace();
4186
3663
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
4187
3664
  if (n.err) return n;
4188
- let r = ai(n.val);
4189
- if (r.length === 0) return this.error(6, Z(this.clonePosition(), this.clonePosition()));
3665
+ let r = St(n.val);
3666
+ if (r.length === 0) return this.error(6, J(this.clonePosition(), this.clonePosition()));
4190
3667
  e = {
4191
3668
  style: r,
4192
- styleLocation: Z(t, this.clonePosition())
3669
+ styleLocation: J(t, this.clonePosition())
4193
3670
  };
4194
3671
  }
4195
3672
  let t = this.tryParseArgumentClose(r);
4196
3673
  if (t.err) return t;
4197
- let i = Z(r, this.clonePosition());
3674
+ let i = J(r, this.clonePosition());
4198
3675
  if (e && e.style.startsWith("::")) {
4199
- let t = ii(e.style.slice(2));
3676
+ let t = xt(e.style.slice(2));
4200
3677
  if (a === "number") {
4201
3678
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
4202
3679
  return r.err ? r : {
@@ -4211,12 +3688,12 @@ var li = class {
4211
3688
  } else {
4212
3689
  if (t.length === 0) return this.error(10, i);
4213
3690
  let r = t;
4214
- this.locale && (r = Xr(t, this.locale));
3691
+ this.locale && (r = pt(t, this.locale));
4215
3692
  let o = {
4216
3693
  type: 1,
4217
3694
  pattern: r,
4218
3695
  location: e.styleLocation,
4219
- parsedOptions: this.shouldParseSkeletons ? wr(r) : {}
3696
+ parsedOptions: this.shouldParseSkeletons ? Ue(r) : {}
4220
3697
  };
4221
3698
  return {
4222
3699
  val: {
@@ -4243,11 +3720,11 @@ var li = class {
4243
3720
  case "selectordinal":
4244
3721
  case "select": {
4245
3722
  let i = this.clonePosition();
4246
- if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, Z(i, { ...i }));
3723
+ if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, J(i, { ...i }));
4247
3724
  this.bumpSpace();
4248
3725
  let o = this.parseIdentifierIfPossible(), s = 0;
4249
3726
  if (a !== "select" && o.value === "offset") {
4250
- if (!this.bumpIf(":")) return this.error(13, Z(this.clonePosition(), this.clonePosition()));
3727
+ if (!this.bumpIf(":")) return this.error(13, J(this.clonePosition(), this.clonePosition()));
4251
3728
  this.bumpSpace();
4252
3729
  let e = this.tryParseDecimalInteger(13, 14);
4253
3730
  if (e.err) return e;
@@ -4257,12 +3734,12 @@ var li = class {
4257
3734
  if (c.err) return c;
4258
3735
  let l = this.tryParseArgumentClose(r);
4259
3736
  if (l.err) return l;
4260
- let u = Z(r, this.clonePosition());
3737
+ let u = J(r, this.clonePosition());
4261
3738
  return a === "select" ? {
4262
3739
  val: {
4263
3740
  type: 5,
4264
3741
  value: n,
4265
- options: ri(c.val),
3742
+ options: bt(c.val),
4266
3743
  location: u
4267
3744
  },
4268
3745
  err: null
@@ -4270,7 +3747,7 @@ var li = class {
4270
3747
  val: {
4271
3748
  type: 6,
4272
3749
  value: n,
4273
- options: ri(c.val),
3750
+ options: bt(c.val),
4274
3751
  offset: s,
4275
3752
  pluralType: a === "plural" ? "cardinal" : "ordinal",
4276
3753
  location: u
@@ -4278,11 +3755,11 @@ var li = class {
4278
3755
  err: null
4279
3756
  };
4280
3757
  }
4281
- default: return this.error(5, Z(i, o));
3758
+ default: return this.error(5, J(i, o));
4282
3759
  }
4283
3760
  }
4284
3761
  tryParseArgumentClose(e) {
4285
- return this.isEOF() || this.char() !== 125 ? this.error(1, Z(e, this.clonePosition())) : (this.bump(), {
3762
+ return this.isEOF() || this.char() !== 125 ? this.error(1, J(e, this.clonePosition())) : (this.bump(), {
4286
3763
  val: !0,
4287
3764
  err: null
4288
3765
  });
@@ -4293,7 +3770,7 @@ var li = class {
4293
3770
  case 39: {
4294
3771
  this.bump();
4295
3772
  let e = this.clonePosition();
4296
- if (!this.bumpUntil("'")) return this.error(11, Z(e, this.clonePosition()));
3773
+ if (!this.bumpUntil("'")) return this.error(11, J(e, this.clonePosition()));
4297
3774
  this.bump();
4298
3775
  break;
4299
3776
  }
@@ -4317,7 +3794,7 @@ var li = class {
4317
3794
  parseNumberSkeletonFromString(e, t) {
4318
3795
  let n = [];
4319
3796
  try {
4320
- n = Er(e);
3797
+ n = Ge(e);
4321
3798
  } catch {
4322
3799
  return this.error(7, t);
4323
3800
  }
@@ -4326,7 +3803,7 @@ var li = class {
4326
3803
  type: 0,
4327
3804
  tokens: n,
4328
3805
  location: t,
4329
- parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
3806
+ parsedOptions: this.shouldParseSkeletons ? tt(n) : {}
4330
3807
  },
4331
3808
  err: null
4332
3809
  };
@@ -4339,23 +3816,23 @@ var li = class {
4339
3816
  if (t !== "select" && this.bumpIf("=")) {
4340
3817
  let t = this.tryParseDecimalInteger(16, 19);
4341
3818
  if (t.err) return t;
4342
- c = Z(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
3819
+ c = J(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
4343
3820
  } else break;
4344
3821
  }
4345
3822
  if (o.has(s)) return this.error(t === "select" ? 21 : 20, c);
4346
3823
  s === "other" && (i = !0), this.bumpSpace();
4347
3824
  let r = this.clonePosition();
4348
- if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, Z(this.clonePosition(), this.clonePosition()));
3825
+ if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, J(this.clonePosition(), this.clonePosition()));
4349
3826
  let l = this.parseMessage(e + 1, t, n);
4350
3827
  if (l.err) return l;
4351
3828
  let u = this.tryParseArgumentClose(r);
4352
3829
  if (u.err) return u;
4353
3830
  a.push([s, {
4354
3831
  value: l.val,
4355
- location: Z(r, this.clonePosition())
3832
+ location: J(r, this.clonePosition())
4356
3833
  }]), o.add(s), this.bumpSpace(), {value: s, location: c} = this.parseIdentifierIfPossible();
4357
3834
  }
4358
- 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())) : {
3835
+ return a.length === 0 ? this.error(t === "select" ? 15 : 16, J(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(22, J(this.clonePosition(), this.clonePosition())) : {
4359
3836
  val: a,
4360
3837
  err: null
4361
3838
  };
@@ -4369,7 +3846,7 @@ var li = class {
4369
3846
  if (e >= 48 && e <= 57) i = !0, a = a * 10 + (e - 48), this.bump();
4370
3847
  else break;
4371
3848
  }
4372
- let o = Z(r, this.clonePosition());
3849
+ let o = J(r, this.clonePosition());
4373
3850
  return i ? (a *= n, Number.isSafeInteger(a) ? {
4374
3851
  val: a,
4375
3852
  err: null
@@ -4431,7 +3908,7 @@ var li = class {
4431
3908
  }
4432
3909
  }
4433
3910
  bumpSpace() {
4434
- for (; !this.isEOF() && pi(this.char());) this.bump();
3911
+ for (; !this.isEOF() && kt(this.char());) this.bump();
4435
3912
  }
4436
3913
  peek() {
4437
3914
  if (this.isEOF()) return null;
@@ -4439,83 +3916,83 @@ var li = class {
4439
3916
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
4440
3917
  }
4441
3918
  };
4442
- function ui(e) {
3919
+ function Y(e) {
4443
3920
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4444
3921
  }
4445
- function di(e) {
4446
- return ui(e) || e === 47;
3922
+ function Dt(e) {
3923
+ return Y(e) || e === 47;
4447
3924
  }
4448
- function fi(e) {
3925
+ function Ot(e) {
4449
3926
  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;
4450
3927
  }
4451
- function pi(e) {
3928
+ function kt(e) {
4452
3929
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4453
3930
  }
4454
- function mi(e) {
3931
+ function X(e) {
4455
3932
  e.forEach((e) => {
4456
- if (delete e.location, Ur(e) || Wr(e)) for (let t in e.options) delete e.options[t].location, mi(e.options[t].value);
4457
- else Br(e) && qr(e.style) || (Vr(e) || Hr(e)) && Jr(e.style) ? delete e.style.location : Kr(e) && mi(e.children);
3933
+ if (delete e.location, st(e) || ct(e)) for (let t in e.options) delete e.options[t].location, X(e.options[t].value);
3934
+ else it(e) && dt(e.style) || (at(e) || ot(e)) && K(e.style) ? delete e.style.location : ut(e) && X(e.children);
4458
3935
  });
4459
3936
  }
4460
- function hi(e, t = {}) {
3937
+ function At(e, t = {}) {
4461
3938
  t = {
4462
3939
  shouldParseSkeletons: !0,
4463
3940
  requiresOtherClause: !0,
4464
3941
  ...t
4465
3942
  };
4466
- let n = new li(e, t).parse();
3943
+ let n = new Et(e, t).parse();
4467
3944
  if (n.err) {
4468
- let e = SyntaxError(Lr[n.err.kind]);
3945
+ let e = SyntaxError(nt[n.err.kind]);
4469
3946
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
4470
3947
  }
4471
- return t?.captureLocation || mi(n.val), n.val;
3948
+ return t?.captureLocation || X(n.val), n.val;
4472
3949
  }
4473
3950
  //#endregion
4474
3951
  //#region node_modules/intl-messageformat/index.js
4475
- var Q = class extends Error {
3952
+ var Z = class extends Error {
4476
3953
  constructor(e, t, n) {
4477
3954
  super(e), this.code = t, this.originalMessage = n;
4478
3955
  }
4479
3956
  toString() {
4480
3957
  return `[formatjs Error: ${this.code}] ${this.message}`;
4481
3958
  }
4482
- }, gi = class extends Q {
3959
+ }, jt = class extends Z {
4483
3960
  constructor(e, t, n, r) {
4484
3961
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
4485
3962
  }
4486
- }, _i = class extends Q {
3963
+ }, Mt = class extends Z {
4487
3964
  constructor(e, t, n) {
4488
3965
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
4489
3966
  }
4490
- }, vi = class extends Q {
3967
+ }, Nt = class extends Z {
4491
3968
  constructor(e, t) {
4492
3969
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
4493
3970
  }
4494
3971
  };
4495
- function yi(e) {
3972
+ function Pt(e) {
4496
3973
  return e.length < 2 ? e : e.reduce((e, t) => {
4497
3974
  let n = e[e.length - 1];
4498
3975
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
4499
3976
  }, []);
4500
3977
  }
4501
- function bi(e) {
3978
+ function Ft(e) {
4502
3979
  return typeof e == "function";
4503
3980
  }
4504
- function $(e, t, n, r, i, a, o) {
4505
- if (e.length === 1 && Rr(e[0])) return [{
3981
+ function Q(e, t, n, r, i, a, o) {
3982
+ if (e.length === 1 && G(e[0])) return [{
4506
3983
  type: 0,
4507
3984
  value: e[0].value
4508
3985
  }];
4509
3986
  let s = [];
4510
3987
  for (let c of e) {
4511
- if (Rr(c)) {
3988
+ if (G(c)) {
4512
3989
  s.push({
4513
3990
  type: 0,
4514
3991
  value: c.value
4515
3992
  });
4516
3993
  continue;
4517
3994
  }
4518
- if (Gr(c)) {
3995
+ if (lt(c)) {
4519
3996
  typeof a == "number" && s.push({
4520
3997
  type: 0,
4521
3998
  value: n.getNumberFormat(t).format(a)
@@ -4523,33 +4000,33 @@ function $(e, t, n, r, i, a, o) {
4523
4000
  continue;
4524
4001
  }
4525
4002
  let { value: e } = c;
4526
- if (!(i && e in i)) throw new vi(e, o);
4003
+ if (!(i && e in i)) throw new Nt(e, o);
4527
4004
  let l = i[e];
4528
- if (zr(c)) {
4005
+ if (rt(c)) {
4529
4006
  (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
4530
4007
  type: typeof l == "string" ? 0 : 1,
4531
4008
  value: l
4532
4009
  });
4533
4010
  continue;
4534
4011
  }
4535
- if (Vr(c)) {
4536
- let e = typeof c.style == "string" ? r.date[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
4012
+ if (at(c)) {
4013
+ let e = typeof c.style == "string" ? r.date[c.style] : K(c.style) ? c.style.parsedOptions : void 0;
4537
4014
  s.push({
4538
4015
  type: 0,
4539
4016
  value: n.getDateTimeFormat(t, e).format(l)
4540
4017
  });
4541
4018
  continue;
4542
4019
  }
4543
- if (Hr(c)) {
4544
- let e = typeof c.style == "string" ? r.time[c.style] : Jr(c.style) ? c.style.parsedOptions : r.time.medium;
4020
+ if (ot(c)) {
4021
+ let e = typeof c.style == "string" ? r.time[c.style] : K(c.style) ? c.style.parsedOptions : r.time.medium;
4545
4022
  s.push({
4546
4023
  type: 0,
4547
4024
  value: n.getDateTimeFormat(t, e).format(l)
4548
4025
  });
4549
4026
  continue;
4550
4027
  }
4551
- if (Br(c)) {
4552
- let e = typeof c.style == "string" ? r.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
4028
+ if (it(c)) {
4029
+ let e = typeof c.style == "string" ? r.number[c.style] : dt(c.style) ? c.style.parsedOptions : void 0;
4553
4030
  if (e && e.scale) {
4554
4031
  let t = e.scale || 1;
4555
4032
  if (typeof l == "bigint") {
@@ -4563,37 +4040,37 @@ function $(e, t, n, r, i, a, o) {
4563
4040
  });
4564
4041
  continue;
4565
4042
  }
4566
- if (Kr(c)) {
4043
+ if (ut(c)) {
4567
4044
  let { children: e, value: l } = c, u = i[l];
4568
- if (!bi(u)) throw new _i(l, "function", o);
4569
- let d = u($(e, t, n, r, i, a).map((e) => e.value));
4045
+ if (!Ft(u)) throw new Mt(l, "function", o);
4046
+ let d = u(Q(e, t, n, r, i, a).map((e) => e.value));
4570
4047
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
4571
4048
  type: typeof e == "string" ? 0 : 1,
4572
4049
  value: e
4573
4050
  })));
4574
4051
  }
4575
- if (Ur(c)) {
4052
+ if (st(c)) {
4576
4053
  let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
4577
- if (!a) throw new gi(c.value, l, Object.keys(c.options), o);
4578
- s.push(...$(a.value, t, n, r, i));
4054
+ if (!a) throw new jt(c.value, l, Object.keys(c.options), o);
4055
+ s.push(...Q(a.value, t, n, r, i));
4579
4056
  continue;
4580
4057
  }
4581
- if (Wr(c)) {
4058
+ if (ct(c)) {
4582
4059
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
4583
4060
  if (!a) {
4584
- 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);
4061
+ if (!Intl.PluralRules) throw new Z("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", "MISSING_INTL_API", o);
4585
4062
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
4586
4063
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
4587
4064
  }
4588
- if (!a) throw new gi(c.value, l, Object.keys(c.options), o);
4065
+ if (!a) throw new jt(c.value, l, Object.keys(c.options), o);
4589
4066
  let u = typeof l == "bigint" ? Number(l) : l;
4590
- s.push(...$(a.value, t, n, r, i, u - (c.offset || 0)));
4067
+ s.push(...Q(a.value, t, n, r, i, u - (c.offset || 0)));
4591
4068
  continue;
4592
4069
  }
4593
4070
  }
4594
- return yi(s);
4071
+ return Pt(s);
4595
4072
  }
4596
- function xi(e, t) {
4073
+ function It(e, t) {
4597
4074
  return t ? {
4598
4075
  ...e,
4599
4076
  ...t,
@@ -4603,10 +4080,10 @@ function xi(e, t) {
4603
4080
  }, n), {})
4604
4081
  } : e;
4605
4082
  }
4606
- function Si(e, t) {
4607
- return t ? Object.keys(e).reduce((n, r) => (n[r] = xi(e[r], t[r]), n), { ...e }) : e;
4083
+ function Lt(e, t) {
4084
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = It(e[r], t[r]), n), { ...e }) : e;
4608
4085
  }
4609
- function Ci(e) {
4086
+ function $(e) {
4610
4087
  return { create() {
4611
4088
  return {
4612
4089
  get(t) {
@@ -4618,27 +4095,27 @@ function Ci(e) {
4618
4095
  };
4619
4096
  } };
4620
4097
  }
4621
- function wi(e = {
4098
+ function Rt(e = {
4622
4099
  number: {},
4623
4100
  dateTime: {},
4624
4101
  pluralRules: {}
4625
4102
  }) {
4626
4103
  return {
4627
- getNumberFormat: dr((...e) => new Intl.NumberFormat(...e), {
4628
- cache: Ci(e.number),
4629
- strategy: Sr.variadic
4104
+ getNumberFormat: B((...e) => new Intl.NumberFormat(...e), {
4105
+ cache: $(e.number),
4106
+ strategy: W.variadic
4630
4107
  }),
4631
- getDateTimeFormat: dr((...e) => new Intl.DateTimeFormat(...e), {
4632
- cache: Ci(e.dateTime),
4633
- strategy: Sr.variadic
4108
+ getDateTimeFormat: B((...e) => new Intl.DateTimeFormat(...e), {
4109
+ cache: $(e.dateTime),
4110
+ strategy: W.variadic
4634
4111
  }),
4635
- getPluralRules: dr((...e) => new Intl.PluralRules(...e), {
4636
- cache: Ci(e.pluralRules),
4637
- strategy: Sr.variadic
4112
+ getPluralRules: B((...e) => new Intl.PluralRules(...e), {
4113
+ cache: $(e.pluralRules),
4114
+ strategy: W.variadic
4638
4115
  })
4639
4116
  };
4640
4117
  }
4641
- var Ti = class e {
4118
+ var zt = class e {
4642
4119
  constructor(t, n = e.defaultLocale, r, i) {
4643
4120
  if (this.formatterCache = {
4644
4121
  number: {},
@@ -4649,7 +4126,7 @@ var Ti = class e {
4649
4126
  if (t.length === 1) return t[0].value;
4650
4127
  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), []);
4651
4128
  return n.length <= 1 ? n[0] || "" : n;
4652
- }, 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") {
4129
+ }, this.formatToParts = (e) => Q(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") {
4653
4130
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4654
4131
  let { ...n } = i || {};
4655
4132
  this.ast = e.__parse(t, {
@@ -4658,7 +4135,7 @@ var Ti = class e {
4658
4135
  });
4659
4136
  } else this.ast = t;
4660
4137
  if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
4661
- this.formats = Si(e.formats, r), this.formatters = i && i.formatters || wi(this.formatterCache);
4138
+ this.formats = Lt(e.formats, r), this.formatters = i && i.formatters || Rt(this.formatterCache);
4662
4139
  }
4663
4140
  static {
4664
4141
  this.memoizedDefaultLocale = null;
@@ -4674,7 +4151,7 @@ var Ti = class e {
4674
4151
  };
4675
4152
  }
4676
4153
  static {
4677
- this.__parse = hi;
4154
+ this.__parse = At;
4678
4155
  }
4679
4156
  static {
4680
4157
  this.formats = {
@@ -4734,50 +4211,50 @@ var Ti = class e {
4734
4211
  };
4735
4212
  //#endregion
4736
4213
  //#region lib/i18n/translator.ts
4737
- function Ei() {
4214
+ function Bt() {
4738
4215
  if (typeof localStorage > "u") return "en";
4739
- let e = localStorage.getItem(J);
4740
- return e && Y.includes(e) ? e : "en";
4216
+ let e = localStorage.getItem(P);
4217
+ return e && F.includes(e) ? e : "en";
4741
4218
  }
4742
- function Di(e = {}, t = Ei) {
4219
+ function Vt(e = {}, t = Bt) {
4743
4220
  return (n, r = void 0, i = t) => {
4744
- let a = typeof i == "function" ? i() : i, o = On(e[a], n) ?? n;
4221
+ let a = typeof i == "function" ? i() : i, o = l(e[a], n) ?? n;
4745
4222
  try {
4746
- o = new Ti(o, a).format(r);
4223
+ o = new zt(o, a).format(r);
4747
4224
  } catch (e) {
4748
4225
  console.error(e);
4749
4226
  }
4750
4227
  return o;
4751
4228
  };
4752
4229
  }
4753
- var Oi = Di(q);
4230
+ var Ht = Vt(N);
4754
4231
  //#endregion
4755
4232
  //#region lib/i18n/use-material-translation.ts
4756
- function ki() {
4757
- let e = sr(), n = e?.language;
4233
+ function Ut() {
4234
+ let e = R(), t = e?.language;
4758
4235
  return {
4759
- t: t((e, t, r) => {
4760
- if (!n) return t;
4761
- let i = Oi(e, r, () => n);
4762
- return i === e ? t : i;
4763
- }, [n]),
4764
- language: n,
4236
+ t: y((e, n, r) => {
4237
+ if (!t) return n;
4238
+ let i = Ht(e, r, () => t);
4239
+ return i === e ? n : i;
4240
+ }, [t]),
4241
+ language: t,
4765
4242
  hasProvider: !!e
4766
4243
  };
4767
4244
  }
4768
4245
  //#endregion
4769
4246
  //#region lib/i18n/use-typed-translation.ts
4770
- function Ai(e) {
4247
+ function Wt(e) {
4771
4248
  return function() {
4772
- let { language: n, changeLanguage: r } = or();
4249
+ let { language: t, changeLanguage: n } = L();
4773
4250
  return {
4774
- t: t((t, r) => e(t, r, () => n), [n]),
4251
+ t: y((n, r) => e(n, r, () => t), [t]),
4775
4252
  i18n: {
4776
- language: n,
4777
- changeLanguage: r
4253
+ language: t,
4254
+ changeLanguage: n
4778
4255
  }
4779
4256
  };
4780
4257
  };
4781
4258
  }
4782
4259
  //#endregion
4783
- export { Qe as A, v as B, L as C, Rt as D, Bt as E, Ae as F, c as G, g as H, S as I, ye as L, E as M, T as N, k as O, w as P, b as R, z as S, Vt as T, h as U, _ as V, l as W, V as _, Oi as a, En as b, or as c, J as d, Y as f, U as g, W as h, Ei as i, D as j, O as k, sr as l, Xn as m, ki as n, ur as o, q as p, Di as r, ar as s, Ai as t, nr as u, On as v, Jt as w, wn as x, Dn as y, y as z };
4260
+ export { fe as C, x as S, ue as T, Ce as _, Ht as a, S as b, L as c, P as d, F as f, we as g, Te as h, Bt as i, R as l, ke as m, Ut as n, Pe as o, N as p, Vt as r, Me as s, Wt as t, Ae as u, A as v, b as w, pe as x, C as y };