@nxgt/material 1.13.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/README.md +4 -0
  2. package/dist/abnfDiagram-O67JEVCF-mm89LXw2.js +89 -0
  3. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  4. package/dist/architectureDiagram-NJMV4G6O-CGoA5SIv.js +4146 -0
  5. package/dist/array-CApNbSU9.js +6 -0
  6. package/dist/blockDiagram-BEXU5L5S-Dq8gitB4.js +1946 -0
  7. package/dist/c4Diagram-YGBWAQC7-DO_alqIu.js +2990 -0
  8. package/dist/channel-1fT-W0NS.js +5 -0
  9. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  10. package/dist/chunk-3FUC2YCW-C3yD2fMw.js +364 -0
  11. package/dist/chunk-5DYCD2WN-Dn2jrYde.js +37 -0
  12. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  13. package/dist/chunk-6AEJRKK7-JyfUnUEu.js +10 -0
  14. package/dist/chunk-742MDFTN-BbWkrtj2.js +275 -0
  15. package/dist/chunk-7INBJB4K-C3x7JNTG.js +4487 -0
  16. package/dist/chunk-7M6MHVWA-Cc7UTu4b.js +4256 -0
  17. package/dist/chunk-7PRAP22T-C8rsGRvH.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-d-Bi8r0p.js +75 -0
  21. package/dist/chunk-GTNCS2PH-CTS015lZ.js +490 -0
  22. package/dist/chunk-GWA4HPMP-B4pgM-E1.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-Dg6AeftH.js +1847 -0
  27. package/dist/chunk-NETBCI7D-TXZM0vKz.js +236 -0
  28. package/dist/chunk-O7XYJQB3-md6vjVm4.js +3922 -0
  29. package/dist/chunk-UA2S7LBM-DQTYPe9y.js +363 -0
  30. package/dist/chunk-WEXAMYUT-DmKWJz6y.js +26 -0
  31. package/dist/chunk-XXDRQBXY-C9XIYQdM.js +9 -0
  32. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  33. package/dist/chunk-Z7XXMR3K-BoDf6lxl.js +677 -0
  34. package/dist/chunk-ZIGJFQKS-CP5430fN.js +663 -0
  35. package/dist/classDiagram-v2-NBCMYWYE-6KoTmufe.js +3397 -0
  36. package/dist/components.js +3 -3
  37. package/dist/cose-bilkent-JH36ORCC-CejnZl_t.js +2251 -0
  38. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  39. package/dist/cynefinDiagram-VND7K2PF-DZnc0dlm.js +349 -0
  40. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  41. package/dist/dagre-6A5THRUB-cuS57NO5.js +2192 -0
  42. package/dist/diagram-22UHCM2B-zQSFmH0t.js +5084 -0
  43. package/dist/diagram-3UASUU5V-D45Fgu1j.js +724 -0
  44. package/dist/diagram-ATOU4E4O-YMtQnlqd.js +432 -0
  45. package/dist/diagram-CDSNMT55-DP7UmEW1.js +301 -0
  46. package/dist/diagram-MLGK6HIB-WvSqrTRC.js +134 -0
  47. package/dist/diagram-MPIPVDR6-C2F3__mt.js +214 -0
  48. package/dist/dist-1DdJvBEt.js +50 -0
  49. package/dist/{dist-BGGDEbJ3.js → dist-DppLdkXt.js} +2 -2
  50. package/dist/dnd.js +2 -2
  51. package/dist/ebnfDiagram-ZINNZB2B-BZC6cSiy.js +100 -0
  52. package/dist/elk-276RUBZZ-7DJf1MEV.js +47598 -0
  53. package/dist/erDiagram-OPXOYQCR-YKlEVEF0.js +1970 -0
  54. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  55. package/dist/flowDiagram-KWPJA3E3-DyLvzIlg.js +17 -0
  56. package/dist/ganttDiagram-FUAMR5RP-KIaOrYOF.js +2928 -0
  57. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  58. package/dist/gitGraphDiagram-X574FWY7-DpFW-7JE.js +729 -0
  59. package/dist/graphlib-DFaO_iIU.js +372 -0
  60. package/dist/{hooks-DReKyuyc.js → hooks-C5xy0u03.js} +1 -1
  61. package/dist/hooks.js +1 -1
  62. package/dist/{i18n-DtDrodl8.js → i18n-Cech9IAc.js} +314 -841
  63. package/dist/i18n.js +1 -1
  64. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  65. package/dist/infoDiagram-VRGFBTTK-H3F-BCnu.js +20 -0
  66. package/dist/init-Buj1GKRa.js +27 -0
  67. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  68. package/dist/ishikawaDiagram-OU5B5YK6-DgQDmcF3.js +719 -0
  69. package/dist/journeyDiagram-ZHPQQLJL-CanDOlfn.js +884 -0
  70. package/dist/kanban-definition-PNTS6WVX-DmnUgxgb.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-composer-mentions.d.ts +8 -0
  74. package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
  75. package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
  76. package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
  77. package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
  78. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  79. package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +1 -0
  80. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  81. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  82. package/dist/lib/components/ui/entity-header.stories.d.ts +1 -0
  83. package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
  84. package/dist/lib/components/ui/markdown/index.d.ts +3 -0
  85. package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
  86. package/dist/lib/components/ui/markdown/markdown.stories.d.ts +14 -0
  87. package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
  89. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  90. package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +3 -0
  93. package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +1 -0
  96. package/dist/lib/components/ui/mentions/types.d.ts +7 -0
  97. package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
  98. package/dist/lib/components/ui/terminal/index.d.ts +2 -0
  99. package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
  100. package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
  101. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  102. package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -0
  103. package/dist/lib/i18n/resources/en/index.d.ts +7 -0
  104. package/dist/lib/i18n/resources/en/material.json.d.ts +7 -0
  105. package/dist/lib/i18n/resources/fr/index.d.ts +7 -0
  106. package/dist/lib/i18n/resources/fr/material.json.d.ts +7 -0
  107. package/dist/lib/i18n/resources/index.d.ts +14 -0
  108. package/dist/lib/i18n/translator.d.ts +1 -1
  109. package/dist/{lib-CD3tyuc8.js → lib-Bbw5QPoj.js} +472 -471
  110. package/dist/lib.js +2 -2
  111. package/dist/{main-r84Yresa.js → main-BjDU9FDM.js} +59393 -30376
  112. package/dist/main.js +6 -6
  113. package/dist/material.css +1 -1
  114. package/dist/math-C5EhTgJw.js +10 -0
  115. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  116. package/dist/mermaid.core-BI1sunfX.js +1096 -0
  117. package/dist/mindmap-definition-NLK3R4M7-DW0BIU_q.js +1008 -0
  118. package/dist/ordinal-DuP05kVQ.js +65 -0
  119. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  120. package/dist/path-Cjou0lUh.js +85 -0
  121. package/dist/pegDiagram-GJSIUBJH-CJIx0u4M.js +94 -0
  122. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  123. package/dist/pieDiagram-5QR66LMP-zAhv5fKz.js +157 -0
  124. package/dist/quadrantDiagram-O4NWA36T-CO4n_yQo.js +2001 -0
  125. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  126. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  127. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  128. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  129. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  130. package/dist/railroadDiagram-XR7U4H2S-B8iV7mfe.js +76 -0
  131. package/dist/requirementDiagram-PLB6GJNP-CGoX1NrW.js +2228 -0
  132. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  133. package/dist/sankeyDiagram-IPEJSGJF-DdSM2wiI.js +962 -0
  134. package/dist/sequenceDiagram-PO4LG4MO-CCRqF5XO.js +4200 -0
  135. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  136. package/dist/src-B4npqWNl.js +1775 -0
  137. package/dist/stateDiagram-v2-GCMORJYK-CQTX5ks8.js +2143 -0
  138. package/dist/step-B6KjpKgN.js +706 -0
  139. package/dist/string-B-ZWXCs2.js +392 -0
  140. package/dist/swimlanes-2SLR337P-C2NNOb5n.js +4763 -0
  141. package/dist/swimlanesDiagram-TC7HE7FX-CPsqPrbP.js +28 -0
  142. package/dist/timeline-definition-EJHVYXUP-DuxGHv-N.js +1073 -0
  143. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  144. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  145. package/dist/usecaseDiagram-POWQR4AR-cuAeIBW3.js +9932 -0
  146. package/dist/vennDiagram-UO4OBE2U-DLwBSAnC.js +1880 -0
  147. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  148. package/dist/wardleyDiagram-VNRHLVJA-D7IZU6vu.js +645 -0
  149. package/dist/xychartDiagram-PMCCYNJV-BDOFv_xK.js +2167 -0
  150. 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 b(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 x(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 ue = Object.prototype.hasOwnProperty;
35
+ function de(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
+ (!(ue.call(e, t) && s(r, n)) || n === void 0 && !(t in e)) && x(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 fe(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 ? x(n, s, c) : de(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 S(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 pe(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 && S(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 me(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 he = Object.prototype.hasOwnProperty;
79
+ function ge(e) {
80
+ if (!a(e)) return me(e);
81
+ var t = u(e), n = [];
82
+ for (var r in e) r == "constructor" && (t || !he.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 C(e) {
88
+ return _(e) ? p(e, !0) : ge(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 w = h(Object.getPrototypeOf, Object), _e = "[object Object]", ve = Function.prototype, ye = Object.prototype, T = ve.toString, be = ye.hasOwnProperty, xe = T.call(Object);
93
+ function E(e) {
94
+ if (!o(e) || v(e) != _e) return !1;
95
+ var t = w(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 = be.call(t, "constructor") && t.constructor;
98
+ return typeof n == "function" && n instanceof n && T.call(n) == xe;
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 D = typeof exports == "object" && exports && !exports.nodeType && exports, O = D && typeof module == "object" && module && !module.nodeType && module, k = O && O.exports === D ? c.Buffer : void 0, Se = k ? k.allocUnsafe : void 0;
103
+ function Ce(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 = Se ? Se(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 we(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 Te(e, t) {
117
+ var n = t ? we(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 Ee(e) {
123
+ return typeof e.constructor == "function" && !u(e) ? le(w(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 A(e, t, n) {
128
+ (n !== void 0 && !s(e[t], n) || n === void 0 && !(t in e)) && x(e, t, n);
666
129
  }
667
130
  //#endregion
668
131
  //#region node_modules/lodash-es/_safeGet.js
669
- function K(e, t) {
132
+ function j(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 De(e) {
138
+ return fe(e, C(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 Oe(e, t, i, o, s, c, l) {
143
+ var u = j(e, i), f = j(t, i), p = l.get(f);
144
+ if (p) {
145
+ A(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 = b(u) : _ ? (h = !1, m = Ce(f, !0)) : v ? (h = !1, m = Te(f, !0)) : m = [] : E(f) || ne(f) ? (m = u, ne(u) ? m = De(u) : (!a(u) || r(u)) && (m = Ee(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)), A(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 ke(e, t, n, r, i) {
158
+ e !== t && m(t, function(o, s) {
159
+ if (i ||= new f(), a(o)) Oe(e, t, s, n, ke, 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(j(e, s), o, s + "", e, t, i) : void 0;
162
+ c === void 0 && (c = o), A(e, s, c);
700
163
  }
701
- }, Gt);
164
+ }, C);
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 M = pe(function(e, t, n) {
169
+ ke(e, t, n);
170
+ }), N = {
708
171
  en: { material: {
709
172
  "empty-state": {
710
173
  "not-found": {
@@ -743,6 +206,11 @@ 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
+ },
213
+ mentions: { empty: "No matches" },
746
214
  cards: {
747
215
  "per-month": "/ month",
748
216
  total: "Total",
@@ -1534,6 +1002,11 @@ var tr = Xe(function(e, t, n) {
1534
1002
  "scroll-progress": "Progression du défilement",
1535
1003
  "skip-link": "Aller au contenu",
1536
1004
  "see-also": "Voir aussi",
1005
+ emoji: {
1006
+ picker: "Emoji",
1007
+ pick: "Choisir un emoji"
1008
+ },
1009
+ mentions: { empty: "Aucun résultat" },
1537
1010
  cards: {
1538
1011
  "per-month": "/ mois",
1539
1012
  total: "Total",
@@ -2287,8 +1760,8 @@ var tr = Xe(function(e, t, n) {
2287
1760
  required: "requis"
2288
1761
  }
2289
1762
  } }
2290
- }, J = "language", nr = "en", Y = Object.keys(q), rr = e(null);
2291
- function ir(e, t, n) {
1763
+ }, P = "language", Ae = "en", F = Object.keys(N), I = re(null);
1764
+ function je(e, t, n) {
2292
1765
  if (typeof localStorage > "u") return t;
2293
1766
  try {
2294
1767
  let r = localStorage.getItem(e);
@@ -2297,102 +1770,102 @@ function ir(e, t, n) {
2297
1770
  return t;
2298
1771
  }
2299
1772
  }
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)) {
1773
+ function Me({ children: e, defaultLanguage: t = "en", storageKey: n = P, supportedLanguages: r = F, onLanguageChange: i, initialLanguage: a }) {
1774
+ let [o, s] = oe(() => a && r.includes(a) ? a : je(n, t, r)), c = y((e) => {
1775
+ if (!r.includes(e)) {
2303
1776
  console.warn(`[@nxgt/material] Unsupported language: "${e}".`);
2304
1777
  return;
2305
1778
  }
2306
1779
  if (typeof localStorage < "u") try {
2307
- localStorage.setItem(o, e);
1780
+ localStorage.setItem(n, e);
2308
1781
  } catch {}
2309
- d(e), c?.(e);
1782
+ s(e), i?.(e);
2310
1783
  }, [
2311
- o,
2312
- s,
2313
- c
2314
- ]), p = r(() => ({
2315
- language: u,
2316
- changeLanguage: f,
2317
- supportedLanguages: s
1784
+ n,
1785
+ r,
1786
+ i
1787
+ ]), l = ae(() => ({
1788
+ language: o,
1789
+ changeLanguage: c,
1790
+ supportedLanguages: r
2318
1791
  }), [
2319
- u,
2320
- f,
2321
- s
1792
+ o,
1793
+ c,
1794
+ r
2322
1795
  ]);
2323
- return /* @__PURE__ */ a(rr.Provider, {
2324
- value: p,
1796
+ return /* @__PURE__ */ se(I.Provider, {
1797
+ value: l,
2325
1798
  children: e
2326
1799
  });
2327
1800
  }
2328
- function or() {
2329
- let e = n(rr);
1801
+ function L() {
1802
+ let e = ie(I);
2330
1803
  if (!e) throw Error("useI18nContext must be used within an I18nProvider");
2331
1804
  return e;
2332
1805
  }
2333
- function sr() {
2334
- return n(rr);
1806
+ function R() {
1807
+ return ie(I);
2335
1808
  }
2336
1809
  //#endregion
2337
1810
  //#region lib/i18n/merge-resources.ts
2338
- function cr(e, t, n = "") {
1811
+ function z(e, t, n = "") {
2339
1812
  let r = [];
2340
1813
  for (let i of Object.keys(t)) {
2341
1814
  if (!(i in e)) continue;
2342
1815
  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);
1816
+ E(o) && E(s) ? r.push(...z(o, s, a)) : r.push(a);
2344
1817
  }
2345
1818
  return r;
2346
1819
  }
2347
- function lr(e, t, n) {
1820
+ function Ne(e, t, n) {
2348
1821
  if (typeof process < "u" && process.env.NODE_ENV === "production") return;
2349
- let r = cr(t, n);
1822
+ let r = z(t, n);
2350
1823
  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
1824
  }
2352
- function ur(e, t) {
1825
+ function Pe(e, t) {
2353
1826
  let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]), r = {};
2354
1827
  for (let i of n) {
2355
1828
  let n = e[i] ?? {}, a = t[i] ?? {};
2356
- lr(i, n, a), r[i] = tr({}, n, a);
1829
+ Ne(i, n, a), r[i] = M({}, n, a);
2357
1830
  }
2358
1831
  return r;
2359
1832
  }
2360
1833
  //#endregion
2361
1834
  //#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, {
1835
+ function B(e, t) {
1836
+ let n = t && t.cache ? t.cache : Ve, r = t && t.serializer ? t.serializer : ze;
1837
+ return (t && t.strategy ? t.strategy : Ie)(e, {
2365
1838
  cache: n,
2366
1839
  serializer: r
2367
1840
  });
2368
1841
  }
2369
- function fr(e) {
1842
+ function Fe(e) {
2370
1843
  return e == null || typeof e == "number" || typeof e == "boolean";
2371
1844
  }
2372
- function pr(e, t, n, r) {
2373
- let i = fr(r) ? r : n(r), a = t.get(i);
1845
+ function V(e, t, n, r) {
1846
+ let i = Fe(r) ? r : n(r), a = t.get(i);
2374
1847
  return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
2375
1848
  }
2376
- function mr(e, t, n) {
1849
+ function H(e, t, n) {
2377
1850
  let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
2378
1851
  return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
2379
1852
  }
2380
- function hr(e, t, n, r, i) {
1853
+ function U(e, t, n, r, i) {
2381
1854
  return n.bind(t, e, r, i);
2382
1855
  }
2383
- function gr(e, t) {
2384
- let n = e.length === 1 ? pr : mr;
2385
- return hr(e, this, n, t.cache.create(), t.serializer);
1856
+ function Ie(e, t) {
1857
+ let n = e.length === 1 ? V : H;
1858
+ return U(e, this, n, t.cache.create(), t.serializer);
2386
1859
  }
2387
- function _r(e, t) {
2388
- return hr(e, this, mr, t.cache.create(), t.serializer);
1860
+ function Le(e, t) {
1861
+ return U(e, this, H, t.cache.create(), t.serializer);
2389
1862
  }
2390
- function vr(e, t) {
2391
- return hr(e, this, pr, t.cache.create(), t.serializer);
1863
+ function Re(e, t) {
1864
+ return U(e, this, V, t.cache.create(), t.serializer);
2392
1865
  }
2393
- var yr = function() {
1866
+ var ze = function() {
2394
1867
  return JSON.stringify(arguments);
2395
- }, br = class {
1868
+ }, Be = class {
2396
1869
  constructor() {
2397
1870
  this.cache = Object.create(null);
2398
1871
  }
@@ -2402,15 +1875,15 @@ var yr = function() {
2402
1875
  set(e, t) {
2403
1876
  this.cache[e] = t;
2404
1877
  }
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) {
1878
+ }, Ve = { create: function() {
1879
+ return new Be();
1880
+ } }, W = {
1881
+ variadic: Le,
1882
+ monadic: Re
1883
+ }, 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;
1884
+ function Ue(e) {
2412
1885
  let t = {};
2413
- return e.replace(Cr, (e) => {
1886
+ return e.replace(He, (e) => {
2414
1887
  let n = e.length;
2415
1888
  switch (e[0]) {
2416
1889
  case "G":
@@ -2505,10 +1978,10 @@ function wr(e) {
2505
1978
  return "";
2506
1979
  }), t;
2507
1980
  }
2508
- var Tr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2509
- function Er(e) {
1981
+ var We = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1982
+ function Ge(e) {
2510
1983
  if (e.length === 0) throw Error("Number skeleton cannot be empty");
2511
- let t = e.split(Tr).filter((e) => e.length > 0), n = [];
1984
+ let t = e.split(We).filter((e) => e.length > 0), n = [];
2512
1985
  for (let e of t) {
2513
1986
  let t = e.split("/");
2514
1987
  if (t.length === 0) throw Error("Invalid number skeleton");
@@ -2521,17 +1994,17 @@ function Er(e) {
2521
1994
  }
2522
1995
  return n;
2523
1996
  }
2524
- function Dr(e) {
1997
+ function Ke(e) {
2525
1998
  return e.replace(/^(.*?)-/, "");
2526
1999
  }
2527
- var Or = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, Ar = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
2528
- function Mr(e) {
2000
+ var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Je = /^(@+)?(\+|#+)?[rs]?$/g, Ye = /(\*)(0+)|(#+)(0+)|(0+)/g, Xe = /^(0+)$/;
2001
+ function Ze(e) {
2529
2002
  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) {
2003
+ 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
2004
  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
2005
  }), t;
2533
2006
  }
2534
- function Nr(e) {
2007
+ function Qe(e) {
2535
2008
  switch (e) {
2536
2009
  case "sign-auto": return { signDisplay: "auto" };
2537
2010
  case "sign-accounting":
@@ -2554,19 +2027,19 @@ function Nr(e) {
2554
2027
  case "+_": return { signDisplay: "never" };
2555
2028
  }
2556
2029
  }
2557
- function Pr(e) {
2030
+ function $e(e) {
2558
2031
  let t;
2559
2032
  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
2033
  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");
2034
+ 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
2035
  t.minimumIntegerDigits = e.length;
2563
2036
  }
2564
2037
  return t;
2565
2038
  }
2566
- function Fr(e) {
2567
- return Nr(e) || {};
2039
+ function G(e) {
2040
+ return Qe(e) || {};
2568
2041
  }
2569
- function Ir(e) {
2042
+ function et(e) {
2570
2043
  let t = {};
2571
2044
  for (let n of e) {
2572
2045
  switch (n.stem) {
@@ -2590,7 +2063,7 @@ function Ir(e) {
2590
2063
  continue;
2591
2064
  case "measure-unit":
2592
2065
  case "unit":
2593
- t.style = "unit", t.unit = Dr(n.options[0]);
2066
+ t.style = "unit", t.unit = Ke(n.options[0]);
2594
2067
  continue;
2595
2068
  case "compact-short":
2596
2069
  case "K":
@@ -2606,7 +2079,7 @@ function Ir(e) {
2606
2079
  notation: "scientific",
2607
2080
  ...n.options.reduce((e, t) => ({
2608
2081
  ...e,
2609
- ...Fr(t)
2082
+ ...G(t)
2610
2083
  }), {})
2611
2084
  };
2612
2085
  continue;
@@ -2616,7 +2089,7 @@ function Ir(e) {
2616
2089
  notation: "engineering",
2617
2090
  ...n.options.reduce((e, t) => ({
2618
2091
  ...e,
2619
- ...Fr(t)
2092
+ ...G(t)
2620
2093
  }), {})
2621
2094
  };
2622
2095
  continue;
@@ -2661,7 +2134,7 @@ function Ir(e) {
2661
2134
  continue;
2662
2135
  case "integer-width":
2663
2136
  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) {
2137
+ n.options[0].replace(Ye, function(e, n, r, i, a, o) {
2665
2138
  if (n) t.minimumIntegerDigits = r.length;
2666
2139
  else if (i && a) throw Error("We currently do not support maximum integer digits");
2667
2140
  else if (o) throw Error("We currently do not support exact integer digits");
@@ -2669,13 +2142,13 @@ function Ir(e) {
2669
2142
  });
2670
2143
  continue;
2671
2144
  }
2672
- if (jr.test(n.stem)) {
2145
+ if (Xe.test(n.stem)) {
2673
2146
  t.minimumIntegerDigits = n.stem.length;
2674
2147
  continue;
2675
2148
  }
2676
- if (Or.test(n.stem)) {
2149
+ if (qe.test(n.stem)) {
2677
2150
  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) {
2151
+ n.stem.replace(qe, function(e, n, r, i, a, o) {
2679
2152
  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
2153
  });
2681
2154
  let e = n.options[0];
@@ -2684,23 +2157,23 @@ function Ir(e) {
2684
2157
  trailingZeroDisplay: "stripIfInteger"
2685
2158
  } : e && (t = {
2686
2159
  ...t,
2687
- ...Mr(e)
2160
+ ...Ze(e)
2688
2161
  });
2689
2162
  continue;
2690
2163
  }
2691
- if (kr.test(n.stem)) {
2164
+ if (Je.test(n.stem)) {
2692
2165
  t = {
2693
2166
  ...t,
2694
- ...Mr(n.stem)
2167
+ ...Ze(n.stem)
2695
2168
  };
2696
2169
  continue;
2697
2170
  }
2698
- let e = Nr(n.stem);
2171
+ let e = Qe(n.stem);
2699
2172
  e && (t = {
2700
2173
  ...t,
2701
2174
  ...e
2702
2175
  });
2703
- let r = Pr(n.stem);
2176
+ let r = $e(n.stem);
2704
2177
  r && (t = {
2705
2178
  ...t,
2706
2179
  ...r
@@ -2710,43 +2183,43 @@ function Ir(e) {
2710
2183
  }
2711
2184
  //#endregion
2712
2185
  //#region node_modules/@formatjs/icu-messageformat-parser/index.js
2713
- var Lr = /* @__PURE__ */ function(e) {
2186
+ var tt = /* @__PURE__ */ function(e) {
2714
2187
  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
2188
  }({});
2716
- function Rr(e) {
2189
+ function nt(e) {
2717
2190
  return e.type === 0;
2718
2191
  }
2719
- function zr(e) {
2192
+ function rt(e) {
2720
2193
  return e.type === 1;
2721
2194
  }
2722
- function Br(e) {
2195
+ function it(e) {
2723
2196
  return e.type === 2;
2724
2197
  }
2725
- function Vr(e) {
2198
+ function at(e) {
2726
2199
  return e.type === 3;
2727
2200
  }
2728
- function Hr(e) {
2201
+ function ot(e) {
2729
2202
  return e.type === 4;
2730
2203
  }
2731
- function Ur(e) {
2204
+ function st(e) {
2732
2205
  return e.type === 5;
2733
2206
  }
2734
- function Wr(e) {
2207
+ function ct(e) {
2735
2208
  return e.type === 6;
2736
2209
  }
2737
- function Gr(e) {
2210
+ function lt(e) {
2738
2211
  return e.type === 7;
2739
2212
  }
2740
- function Kr(e) {
2213
+ function ut(e) {
2741
2214
  return e.type === 8;
2742
2215
  }
2743
- function qr(e) {
2216
+ function dt(e) {
2744
2217
  return !!(e && typeof e == "object" && e.type === 0);
2745
2218
  }
2746
- function Jr(e) {
2219
+ function K(e) {
2747
2220
  return !!(e && typeof e == "object" && e.type === 1);
2748
2221
  }
2749
- var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
2222
+ var ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, q = {
2750
2223
  "001": ["H", "h"],
2751
2224
  419: [
2752
2225
  "h",
@@ -3909,21 +3382,21 @@ var Yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, X = {
3909
3382
  "h"
3910
3383
  ]
3911
3384
  };
3912
- function Xr(e, t) {
3385
+ function pt(e, t) {
3913
3386
  let n = "";
3914
3387
  for (let r = 0; r < e.length; r++) {
3915
3388
  let i = e.charAt(r);
3916
3389
  if (i === "j") {
3917
3390
  let a = 0;
3918
3391
  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);
3392
+ let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = mt(t);
3920
3393
  for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
3921
3394
  for (; o-- > 0;) n = c + n;
3922
3395
  } else i === "J" ? n += "H" : n += i;
3923
3396
  }
3924
3397
  return n;
3925
3398
  }
3926
- function Zr(e) {
3399
+ function mt(e) {
3927
3400
  let t = e.hourCycle;
3928
3401
  if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
3929
3402
  case "h24": return "k";
@@ -3933,32 +3406,32 @@ function Zr(e) {
3933
3406
  default: throw Error("Invalid hourCycle");
3934
3407
  }
3935
3408
  let n = e.language, r;
3936
- return n !== "root" && (r = e.maximize().region), (X[r || ""] || X[n || ""] || X[`${n}-001`] || X["001"])[0];
3409
+ return n !== "root" && (r = e.maximize().region), (q[r || ""] || q[n || ""] || q[`${n}-001`] || q["001"])[0];
3937
3410
  }
3938
- var Qr = RegExp(`^${Yr.source}*`), $r = RegExp(`${Yr.source}*$`);
3939
- function Z(e, t) {
3411
+ var ht = RegExp(`^${ft.source}*`), gt = RegExp(`${ft.source}*$`);
3412
+ function J(e, t) {
3940
3413
  return {
3941
3414
  start: e,
3942
3415
  end: t
3943
3416
  };
3944
3417
  }
3945
- var ei = !!Object.fromEntries, ti = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ri = ei ? Object.fromEntries : function(e) {
3418
+ var _t = !!Object.fromEntries, vt = !!String.prototype.trimStart, yt = !!String.prototype.trimEnd, bt = _t ? Object.fromEntries : function(e) {
3946
3419
  let t = {};
3947
3420
  for (let [n, r] of e) t[n] = r;
3948
3421
  return t;
3949
- }, ii = ti ? function(e) {
3422
+ }, xt = vt ? function(e) {
3950
3423
  return e.trimStart();
3951
3424
  } : function(e) {
3952
- return e.replace(Qr, "");
3953
- }, ai = ni ? function(e) {
3425
+ return e.replace(ht, "");
3426
+ }, St = yt ? function(e) {
3954
3427
  return e.trimEnd();
3955
3428
  } : 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] ?? "";
3429
+ return e.replace(gt, "");
3430
+ }, Ct = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3431
+ function wt(e, t) {
3432
+ return Ct.lastIndex = t, Ct.exec(e)[1] ?? "";
3960
3433
  }
3961
- function ci(e) {
3434
+ function Tt(e) {
3962
3435
  if (e.length === 0) return null;
3963
3436
  let t = 1, n = 1;
3964
3437
  for (let r = 0; r < e.length;) {
@@ -3982,7 +3455,7 @@ function ci(e) {
3982
3455
  column: n
3983
3456
  };
3984
3457
  }
3985
- var li = class {
3458
+ var Et = class {
3986
3459
  constructor(e, t = {}) {
3987
3460
  this.message = e, this.position = {
3988
3461
  offset: 0,
@@ -3995,14 +3468,14 @@ var li = class {
3995
3468
  if (this.message.length > 0) {
3996
3469
  let e = this.message.charCodeAt(0);
3997
3470
  if (e !== 35 && e !== 39 && e !== 60 && e !== 123 && e !== 125) {
3998
- let e = ci(this.message);
3471
+ let e = Tt(this.message);
3999
3472
  if (e) {
4000
3473
  let t = this.clonePosition();
4001
3474
  return this.position = e, {
4002
3475
  val: [{
4003
3476
  type: 0,
4004
3477
  value: this.message,
4005
- location: Z(t, this.clonePosition())
3478
+ location: J(t, this.clonePosition())
4006
3479
  }],
4007
3480
  err: null
4008
3481
  };
@@ -4024,12 +3497,12 @@ var li = class {
4024
3497
  let e = this.clonePosition();
4025
3498
  this.bump(), r.push({
4026
3499
  type: 7,
4027
- location: Z(e, this.clonePosition())
3500
+ location: J(e, this.clonePosition())
4028
3501
  });
4029
3502
  } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
4030
3503
  if (n) break;
4031
- return this.error(26, Z(this.clonePosition(), this.clonePosition()));
4032
- } else if (i === 60 && !this.ignoreTag && ui(this.peek() || 0)) {
3504
+ return this.error(26, J(this.clonePosition(), this.clonePosition()));
3505
+ } else if (i === 60 && !this.ignoreTag && Y(this.peek() || 0)) {
4033
3506
  let n = this.parseTag(e, t);
4034
3507
  if (n.err) return n;
4035
3508
  r.push(n.val);
@@ -4052,7 +3525,7 @@ var li = class {
4052
3525
  val: {
4053
3526
  type: 0,
4054
3527
  value: `<${r}/>`,
4055
- location: Z(n, this.clonePosition())
3528
+ location: J(n, this.clonePosition())
4056
3529
  },
4057
3530
  err: null
4058
3531
  };
@@ -4061,23 +3534,23 @@ var li = class {
4061
3534
  if (i.err) return i;
4062
3535
  let a = i.val, o = this.clonePosition();
4063
3536
  if (this.bumpIf("</")) {
4064
- if (this.isEOF() || !ui(this.char())) return this.error(23, Z(o, this.clonePosition()));
3537
+ if (this.isEOF() || !Y(this.char())) return this.error(23, J(o, this.clonePosition()));
4065
3538
  let e = this.clonePosition();
4066
3539
  return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
4067
3540
  val: {
4068
3541
  type: 8,
4069
3542
  value: r,
4070
3543
  children: a,
4071
- location: Z(n, this.clonePosition())
3544
+ location: J(n, this.clonePosition())
4072
3545
  },
4073
3546
  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()));
3547
+ } : this.error(23, J(o, this.clonePosition()))) : this.error(26, J(e, this.clonePosition()));
3548
+ } else return this.error(27, J(n, this.clonePosition()));
3549
+ } else return this.error(23, J(n, this.clonePosition()));
4077
3550
  }
4078
3551
  parseTagName() {
4079
3552
  let e = this.offset();
4080
- for (this.bump(); !this.isEOF() && fi(this.char());) this.bump();
3553
+ for (this.bump(); !this.isEOF() && Ot(this.char());) this.bump();
4081
3554
  return this.message.slice(e, this.offset());
4082
3555
  }
4083
3556
  parseLiteral(e, t) {
@@ -4100,7 +3573,7 @@ var li = class {
4100
3573
  }
4101
3574
  break;
4102
3575
  }
4103
- let i = Z(n, this.clonePosition());
3576
+ let i = J(n, this.clonePosition());
4104
3577
  return {
4105
3578
  val: {
4106
3579
  type: 0,
@@ -4111,7 +3584,7 @@ var li = class {
4111
3584
  };
4112
3585
  }
4113
3586
  tryParseLeftAngleBracket() {
4114
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3587
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !Dt(this.peek() || 0)) ? (this.bump(), "<") : null;
4115
3588
  }
4116
3589
  tryParseQuote(e) {
4117
3590
  if (this.isEOF() || this.char() !== 39) return null;
@@ -4147,35 +3620,35 @@ var li = class {
4147
3620
  }
4148
3621
  parseArgument(e, t) {
4149
3622
  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()));
3623
+ if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(1, J(n, this.clonePosition()));
3624
+ if (this.char() === 125) return this.bump(), this.error(2, J(n, this.clonePosition()));
4152
3625
  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()));
3626
+ if (!r) return this.error(3, J(n, this.clonePosition()));
3627
+ if (this.bumpSpace(), this.isEOF()) return this.error(1, J(n, this.clonePosition()));
4155
3628
  switch (this.char()) {
4156
3629
  case 125: return this.bump(), {
4157
3630
  val: {
4158
3631
  type: 1,
4159
3632
  value: r,
4160
- location: Z(n, this.clonePosition())
3633
+ location: J(n, this.clonePosition())
4161
3634
  },
4162
3635
  err: null
4163
3636
  };
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()));
3637
+ case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(1, J(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
3638
+ default: return this.error(3, J(n, this.clonePosition()));
4166
3639
  }
4167
3640
  }
4168
3641
  parseIdentifierIfPossible() {
4169
- let e = this.clonePosition(), t = this.offset(), n = si(this.message, t), r = t + n.length;
3642
+ let e = this.clonePosition(), t = this.offset(), n = wt(this.message, t), r = t + n.length;
4170
3643
  return this.bumpTo(r), {
4171
3644
  value: n,
4172
- location: Z(e, this.clonePosition())
3645
+ location: J(e, this.clonePosition())
4173
3646
  };
4174
3647
  }
4175
3648
  parseArgumentOptions(e, t, n, r) {
4176
3649
  let i = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
4177
3650
  switch (a) {
4178
- case "": return this.error(4, Z(i, o));
3651
+ case "": return this.error(4, J(i, o));
4179
3652
  case "number":
4180
3653
  case "date":
4181
3654
  case "time": {
@@ -4185,18 +3658,18 @@ var li = class {
4185
3658
  this.bumpSpace();
4186
3659
  let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
4187
3660
  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()));
3661
+ let r = St(n.val);
3662
+ if (r.length === 0) return this.error(6, J(this.clonePosition(), this.clonePosition()));
4190
3663
  e = {
4191
3664
  style: r,
4192
- styleLocation: Z(t, this.clonePosition())
3665
+ styleLocation: J(t, this.clonePosition())
4193
3666
  };
4194
3667
  }
4195
3668
  let t = this.tryParseArgumentClose(r);
4196
3669
  if (t.err) return t;
4197
- let i = Z(r, this.clonePosition());
3670
+ let i = J(r, this.clonePosition());
4198
3671
  if (e && e.style.startsWith("::")) {
4199
- let t = ii(e.style.slice(2));
3672
+ let t = xt(e.style.slice(2));
4200
3673
  if (a === "number") {
4201
3674
  let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
4202
3675
  return r.err ? r : {
@@ -4211,12 +3684,12 @@ var li = class {
4211
3684
  } else {
4212
3685
  if (t.length === 0) return this.error(10, i);
4213
3686
  let r = t;
4214
- this.locale && (r = Xr(t, this.locale));
3687
+ this.locale && (r = pt(t, this.locale));
4215
3688
  let o = {
4216
3689
  type: 1,
4217
3690
  pattern: r,
4218
3691
  location: e.styleLocation,
4219
- parsedOptions: this.shouldParseSkeletons ? wr(r) : {}
3692
+ parsedOptions: this.shouldParseSkeletons ? Ue(r) : {}
4220
3693
  };
4221
3694
  return {
4222
3695
  val: {
@@ -4243,11 +3716,11 @@ var li = class {
4243
3716
  case "selectordinal":
4244
3717
  case "select": {
4245
3718
  let i = this.clonePosition();
4246
- if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, Z(i, { ...i }));
3719
+ if (this.bumpSpace(), !this.bumpIf(",")) return this.error(12, J(i, { ...i }));
4247
3720
  this.bumpSpace();
4248
3721
  let o = this.parseIdentifierIfPossible(), s = 0;
4249
3722
  if (a !== "select" && o.value === "offset") {
4250
- if (!this.bumpIf(":")) return this.error(13, Z(this.clonePosition(), this.clonePosition()));
3723
+ if (!this.bumpIf(":")) return this.error(13, J(this.clonePosition(), this.clonePosition()));
4251
3724
  this.bumpSpace();
4252
3725
  let e = this.tryParseDecimalInteger(13, 14);
4253
3726
  if (e.err) return e;
@@ -4257,12 +3730,12 @@ var li = class {
4257
3730
  if (c.err) return c;
4258
3731
  let l = this.tryParseArgumentClose(r);
4259
3732
  if (l.err) return l;
4260
- let u = Z(r, this.clonePosition());
3733
+ let u = J(r, this.clonePosition());
4261
3734
  return a === "select" ? {
4262
3735
  val: {
4263
3736
  type: 5,
4264
3737
  value: n,
4265
- options: ri(c.val),
3738
+ options: bt(c.val),
4266
3739
  location: u
4267
3740
  },
4268
3741
  err: null
@@ -4270,7 +3743,7 @@ var li = class {
4270
3743
  val: {
4271
3744
  type: 6,
4272
3745
  value: n,
4273
- options: ri(c.val),
3746
+ options: bt(c.val),
4274
3747
  offset: s,
4275
3748
  pluralType: a === "plural" ? "cardinal" : "ordinal",
4276
3749
  location: u
@@ -4278,11 +3751,11 @@ var li = class {
4278
3751
  err: null
4279
3752
  };
4280
3753
  }
4281
- default: return this.error(5, Z(i, o));
3754
+ default: return this.error(5, J(i, o));
4282
3755
  }
4283
3756
  }
4284
3757
  tryParseArgumentClose(e) {
4285
- return this.isEOF() || this.char() !== 125 ? this.error(1, Z(e, this.clonePosition())) : (this.bump(), {
3758
+ return this.isEOF() || this.char() !== 125 ? this.error(1, J(e, this.clonePosition())) : (this.bump(), {
4286
3759
  val: !0,
4287
3760
  err: null
4288
3761
  });
@@ -4293,7 +3766,7 @@ var li = class {
4293
3766
  case 39: {
4294
3767
  this.bump();
4295
3768
  let e = this.clonePosition();
4296
- if (!this.bumpUntil("'")) return this.error(11, Z(e, this.clonePosition()));
3769
+ if (!this.bumpUntil("'")) return this.error(11, J(e, this.clonePosition()));
4297
3770
  this.bump();
4298
3771
  break;
4299
3772
  }
@@ -4317,7 +3790,7 @@ var li = class {
4317
3790
  parseNumberSkeletonFromString(e, t) {
4318
3791
  let n = [];
4319
3792
  try {
4320
- n = Er(e);
3793
+ n = Ge(e);
4321
3794
  } catch {
4322
3795
  return this.error(7, t);
4323
3796
  }
@@ -4326,7 +3799,7 @@ var li = class {
4326
3799
  type: 0,
4327
3800
  tokens: n,
4328
3801
  location: t,
4329
- parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
3802
+ parsedOptions: this.shouldParseSkeletons ? et(n) : {}
4330
3803
  },
4331
3804
  err: null
4332
3805
  };
@@ -4339,23 +3812,23 @@ var li = class {
4339
3812
  if (t !== "select" && this.bumpIf("=")) {
4340
3813
  let t = this.tryParseDecimalInteger(16, 19);
4341
3814
  if (t.err) return t;
4342
- c = Z(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
3815
+ c = J(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
4343
3816
  } else break;
4344
3817
  }
4345
3818
  if (o.has(s)) return this.error(t === "select" ? 21 : 20, c);
4346
3819
  s === "other" && (i = !0), this.bumpSpace();
4347
3820
  let r = this.clonePosition();
4348
- if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, Z(this.clonePosition(), this.clonePosition()));
3821
+ if (!this.bumpIf("{")) return this.error(t === "select" ? 17 : 18, J(this.clonePosition(), this.clonePosition()));
4349
3822
  let l = this.parseMessage(e + 1, t, n);
4350
3823
  if (l.err) return l;
4351
3824
  let u = this.tryParseArgumentClose(r);
4352
3825
  if (u.err) return u;
4353
3826
  a.push([s, {
4354
3827
  value: l.val,
4355
- location: Z(r, this.clonePosition())
3828
+ location: J(r, this.clonePosition())
4356
3829
  }]), o.add(s), this.bumpSpace(), {value: s, location: c} = this.parseIdentifierIfPossible();
4357
3830
  }
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())) : {
3831
+ 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
3832
  val: a,
4360
3833
  err: null
4361
3834
  };
@@ -4369,7 +3842,7 @@ var li = class {
4369
3842
  if (e >= 48 && e <= 57) i = !0, a = a * 10 + (e - 48), this.bump();
4370
3843
  else break;
4371
3844
  }
4372
- let o = Z(r, this.clonePosition());
3845
+ let o = J(r, this.clonePosition());
4373
3846
  return i ? (a *= n, Number.isSafeInteger(a) ? {
4374
3847
  val: a,
4375
3848
  err: null
@@ -4431,7 +3904,7 @@ var li = class {
4431
3904
  }
4432
3905
  }
4433
3906
  bumpSpace() {
4434
- for (; !this.isEOF() && pi(this.char());) this.bump();
3907
+ for (; !this.isEOF() && kt(this.char());) this.bump();
4435
3908
  }
4436
3909
  peek() {
4437
3910
  if (this.isEOF()) return null;
@@ -4439,83 +3912,83 @@ var li = class {
4439
3912
  return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
4440
3913
  }
4441
3914
  };
4442
- function ui(e) {
3915
+ function Y(e) {
4443
3916
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4444
3917
  }
4445
- function di(e) {
4446
- return ui(e) || e === 47;
3918
+ function Dt(e) {
3919
+ return Y(e) || e === 47;
4447
3920
  }
4448
- function fi(e) {
3921
+ function Ot(e) {
4449
3922
  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
3923
  }
4451
- function pi(e) {
3924
+ function kt(e) {
4452
3925
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4453
3926
  }
4454
- function mi(e) {
3927
+ function X(e) {
4455
3928
  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);
3929
+ if (delete e.location, st(e) || ct(e)) for (let t in e.options) delete e.options[t].location, X(e.options[t].value);
3930
+ else it(e) && dt(e.style) || (at(e) || ot(e)) && K(e.style) ? delete e.style.location : ut(e) && X(e.children);
4458
3931
  });
4459
3932
  }
4460
- function hi(e, t = {}) {
3933
+ function At(e, t = {}) {
4461
3934
  t = {
4462
3935
  shouldParseSkeletons: !0,
4463
3936
  requiresOtherClause: !0,
4464
3937
  ...t
4465
3938
  };
4466
- let n = new li(e, t).parse();
3939
+ let n = new Et(e, t).parse();
4467
3940
  if (n.err) {
4468
- let e = SyntaxError(Lr[n.err.kind]);
3941
+ let e = SyntaxError(tt[n.err.kind]);
4469
3942
  throw e.location = n.err.location, e.originalMessage = n.err.message, e;
4470
3943
  }
4471
- return t?.captureLocation || mi(n.val), n.val;
3944
+ return t?.captureLocation || X(n.val), n.val;
4472
3945
  }
4473
3946
  //#endregion
4474
3947
  //#region node_modules/intl-messageformat/index.js
4475
- var Q = class extends Error {
3948
+ var Z = class extends Error {
4476
3949
  constructor(e, t, n) {
4477
3950
  super(e), this.code = t, this.originalMessage = n;
4478
3951
  }
4479
3952
  toString() {
4480
3953
  return `[formatjs Error: ${this.code}] ${this.message}`;
4481
3954
  }
4482
- }, gi = class extends Q {
3955
+ }, jt = class extends Z {
4483
3956
  constructor(e, t, n, r) {
4484
3957
  super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, "INVALID_VALUE", r);
4485
3958
  }
4486
- }, _i = class extends Q {
3959
+ }, Mt = class extends Z {
4487
3960
  constructor(e, t, n) {
4488
3961
  super(`Value for "${e}" must be of type ${t}`, "INVALID_VALUE", n);
4489
3962
  }
4490
- }, vi = class extends Q {
3963
+ }, Nt = class extends Z {
4491
3964
  constructor(e, t) {
4492
3965
  super(`The intl string context variable "${e}" was not provided to the string "${t}"`, "MISSING_VALUE", t);
4493
3966
  }
4494
3967
  };
4495
- function yi(e) {
3968
+ function Pt(e) {
4496
3969
  return e.length < 2 ? e : e.reduce((e, t) => {
4497
3970
  let n = e[e.length - 1];
4498
3971
  return !n || n.type !== 0 || t.type !== 0 ? e.push(t) : n.value += t.value, e;
4499
3972
  }, []);
4500
3973
  }
4501
- function bi(e) {
3974
+ function Ft(e) {
4502
3975
  return typeof e == "function";
4503
3976
  }
4504
- function $(e, t, n, r, i, a, o) {
4505
- if (e.length === 1 && Rr(e[0])) return [{
3977
+ function Q(e, t, n, r, i, a, o) {
3978
+ if (e.length === 1 && nt(e[0])) return [{
4506
3979
  type: 0,
4507
3980
  value: e[0].value
4508
3981
  }];
4509
3982
  let s = [];
4510
3983
  for (let c of e) {
4511
- if (Rr(c)) {
3984
+ if (nt(c)) {
4512
3985
  s.push({
4513
3986
  type: 0,
4514
3987
  value: c.value
4515
3988
  });
4516
3989
  continue;
4517
3990
  }
4518
- if (Gr(c)) {
3991
+ if (lt(c)) {
4519
3992
  typeof a == "number" && s.push({
4520
3993
  type: 0,
4521
3994
  value: n.getNumberFormat(t).format(a)
@@ -4523,33 +3996,33 @@ function $(e, t, n, r, i, a, o) {
4523
3996
  continue;
4524
3997
  }
4525
3998
  let { value: e } = c;
4526
- if (!(i && e in i)) throw new vi(e, o);
3999
+ if (!(i && e in i)) throw new Nt(e, o);
4527
4000
  let l = i[e];
4528
- if (zr(c)) {
4001
+ if (rt(c)) {
4529
4002
  (!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
4003
  type: typeof l == "string" ? 0 : 1,
4531
4004
  value: l
4532
4005
  });
4533
4006
  continue;
4534
4007
  }
4535
- if (Vr(c)) {
4536
- let e = typeof c.style == "string" ? r.date[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
4008
+ if (at(c)) {
4009
+ let e = typeof c.style == "string" ? r.date[c.style] : K(c.style) ? c.style.parsedOptions : void 0;
4537
4010
  s.push({
4538
4011
  type: 0,
4539
4012
  value: n.getDateTimeFormat(t, e).format(l)
4540
4013
  });
4541
4014
  continue;
4542
4015
  }
4543
- if (Hr(c)) {
4544
- let e = typeof c.style == "string" ? r.time[c.style] : Jr(c.style) ? c.style.parsedOptions : r.time.medium;
4016
+ if (ot(c)) {
4017
+ let e = typeof c.style == "string" ? r.time[c.style] : K(c.style) ? c.style.parsedOptions : r.time.medium;
4545
4018
  s.push({
4546
4019
  type: 0,
4547
4020
  value: n.getDateTimeFormat(t, e).format(l)
4548
4021
  });
4549
4022
  continue;
4550
4023
  }
4551
- if (Br(c)) {
4552
- let e = typeof c.style == "string" ? r.number[c.style] : qr(c.style) ? c.style.parsedOptions : void 0;
4024
+ if (it(c)) {
4025
+ let e = typeof c.style == "string" ? r.number[c.style] : dt(c.style) ? c.style.parsedOptions : void 0;
4553
4026
  if (e && e.scale) {
4554
4027
  let t = e.scale || 1;
4555
4028
  if (typeof l == "bigint") {
@@ -4563,37 +4036,37 @@ function $(e, t, n, r, i, a, o) {
4563
4036
  });
4564
4037
  continue;
4565
4038
  }
4566
- if (Kr(c)) {
4039
+ if (ut(c)) {
4567
4040
  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));
4041
+ if (!Ft(u)) throw new Mt(l, "function", o);
4042
+ let d = u(Q(e, t, n, r, i, a).map((e) => e.value));
4570
4043
  Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
4571
4044
  type: typeof e == "string" ? 0 : 1,
4572
4045
  value: e
4573
4046
  })));
4574
4047
  }
4575
- if (Ur(c)) {
4048
+ if (st(c)) {
4576
4049
  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));
4050
+ if (!a) throw new jt(c.value, l, Object.keys(c.options), o);
4051
+ s.push(...Q(a.value, t, n, r, i));
4579
4052
  continue;
4580
4053
  }
4581
- if (Wr(c)) {
4054
+ if (ct(c)) {
4582
4055
  let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
4583
4056
  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);
4057
+ 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
4058
  let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
4586
4059
  a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
4587
4060
  }
4588
- if (!a) throw new gi(c.value, l, Object.keys(c.options), o);
4061
+ if (!a) throw new jt(c.value, l, Object.keys(c.options), o);
4589
4062
  let u = typeof l == "bigint" ? Number(l) : l;
4590
- s.push(...$(a.value, t, n, r, i, u - (c.offset || 0)));
4063
+ s.push(...Q(a.value, t, n, r, i, u - (c.offset || 0)));
4591
4064
  continue;
4592
4065
  }
4593
4066
  }
4594
- return yi(s);
4067
+ return Pt(s);
4595
4068
  }
4596
- function xi(e, t) {
4069
+ function It(e, t) {
4597
4070
  return t ? {
4598
4071
  ...e,
4599
4072
  ...t,
@@ -4603,10 +4076,10 @@ function xi(e, t) {
4603
4076
  }, n), {})
4604
4077
  } : e;
4605
4078
  }
4606
- function Si(e, t) {
4607
- return t ? Object.keys(e).reduce((n, r) => (n[r] = xi(e[r], t[r]), n), { ...e }) : e;
4079
+ function Lt(e, t) {
4080
+ return t ? Object.keys(e).reduce((n, r) => (n[r] = It(e[r], t[r]), n), { ...e }) : e;
4608
4081
  }
4609
- function Ci(e) {
4082
+ function $(e) {
4610
4083
  return { create() {
4611
4084
  return {
4612
4085
  get(t) {
@@ -4618,27 +4091,27 @@ function Ci(e) {
4618
4091
  };
4619
4092
  } };
4620
4093
  }
4621
- function wi(e = {
4094
+ function Rt(e = {
4622
4095
  number: {},
4623
4096
  dateTime: {},
4624
4097
  pluralRules: {}
4625
4098
  }) {
4626
4099
  return {
4627
- getNumberFormat: dr((...e) => new Intl.NumberFormat(...e), {
4628
- cache: Ci(e.number),
4629
- strategy: Sr.variadic
4100
+ getNumberFormat: B((...e) => new Intl.NumberFormat(...e), {
4101
+ cache: $(e.number),
4102
+ strategy: W.variadic
4630
4103
  }),
4631
- getDateTimeFormat: dr((...e) => new Intl.DateTimeFormat(...e), {
4632
- cache: Ci(e.dateTime),
4633
- strategy: Sr.variadic
4104
+ getDateTimeFormat: B((...e) => new Intl.DateTimeFormat(...e), {
4105
+ cache: $(e.dateTime),
4106
+ strategy: W.variadic
4634
4107
  }),
4635
- getPluralRules: dr((...e) => new Intl.PluralRules(...e), {
4636
- cache: Ci(e.pluralRules),
4637
- strategy: Sr.variadic
4108
+ getPluralRules: B((...e) => new Intl.PluralRules(...e), {
4109
+ cache: $(e.pluralRules),
4110
+ strategy: W.variadic
4638
4111
  })
4639
4112
  };
4640
4113
  }
4641
- var Ti = class e {
4114
+ var zt = class e {
4642
4115
  constructor(t, n = e.defaultLocale, r, i) {
4643
4116
  if (this.formatterCache = {
4644
4117
  number: {},
@@ -4649,7 +4122,7 @@ var Ti = class e {
4649
4122
  if (t.length === 1) return t[0].value;
4650
4123
  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
4124
  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") {
4125
+ }, 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
4126
  if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4654
4127
  let { ...n } = i || {};
4655
4128
  this.ast = e.__parse(t, {
@@ -4658,7 +4131,7 @@ var Ti = class e {
4658
4131
  });
4659
4132
  } else this.ast = t;
4660
4133
  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);
4134
+ this.formats = Lt(e.formats, r), this.formatters = i && i.formatters || Rt(this.formatterCache);
4662
4135
  }
4663
4136
  static {
4664
4137
  this.memoizedDefaultLocale = null;
@@ -4674,7 +4147,7 @@ var Ti = class e {
4674
4147
  };
4675
4148
  }
4676
4149
  static {
4677
- this.__parse = hi;
4150
+ this.__parse = At;
4678
4151
  }
4679
4152
  static {
4680
4153
  this.formats = {
@@ -4734,50 +4207,50 @@ var Ti = class e {
4734
4207
  };
4735
4208
  //#endregion
4736
4209
  //#region lib/i18n/translator.ts
4737
- function Ei() {
4210
+ function Bt() {
4738
4211
  if (typeof localStorage > "u") return "en";
4739
- let e = localStorage.getItem(J);
4740
- return e && Y.includes(e) ? e : "en";
4212
+ let e = localStorage.getItem(P);
4213
+ return e && F.includes(e) ? e : "en";
4741
4214
  }
4742
- function Di(e = {}, t = Ei) {
4215
+ function Vt(e = {}, t = Bt) {
4743
4216
  return (n, r = void 0, i = t) => {
4744
- let a = typeof i == "function" ? i() : i, o = On(e[a], n) ?? n;
4217
+ let a = typeof i == "function" ? i() : i, o = l(e[a], n) ?? n;
4745
4218
  try {
4746
- o = new Ti(o, a).format(r);
4219
+ o = new zt(o, a).format(r);
4747
4220
  } catch (e) {
4748
4221
  console.error(e);
4749
4222
  }
4750
4223
  return o;
4751
4224
  };
4752
4225
  }
4753
- var Oi = Di(q);
4226
+ var Ht = Vt(N);
4754
4227
  //#endregion
4755
4228
  //#region lib/i18n/use-material-translation.ts
4756
- function ki() {
4757
- let e = sr(), n = e?.language;
4229
+ function Ut() {
4230
+ let e = R(), t = e?.language;
4758
4231
  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,
4232
+ t: y((e, n, r) => {
4233
+ if (!t) return n;
4234
+ let i = Ht(e, r, () => t);
4235
+ return i === e ? n : i;
4236
+ }, [t]),
4237
+ language: t,
4765
4238
  hasProvider: !!e
4766
4239
  };
4767
4240
  }
4768
4241
  //#endregion
4769
4242
  //#region lib/i18n/use-typed-translation.ts
4770
- function Ai(e) {
4243
+ function Wt(e) {
4771
4244
  return function() {
4772
- let { language: n, changeLanguage: r } = or();
4245
+ let { language: t, changeLanguage: n } = L();
4773
4246
  return {
4774
- t: t((t, r) => e(t, r, () => n), [n]),
4247
+ t: y((n, r) => e(n, r, () => t), [t]),
4775
4248
  i18n: {
4776
- language: n,
4777
- changeLanguage: r
4249
+ language: t,
4250
+ changeLanguage: n
4778
4251
  }
4779
4252
  };
4780
4253
  };
4781
4254
  }
4782
4255
  //#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 };
4256
+ export { de as C, le as E, fe as S, b as T, we as _, Ht as a, C as b, L as c, P as d, F as f, Te as g, Ee as h, Bt as i, R as l, M as m, Ut as n, Pe as o, N as p, Vt as r, Me as s, Wt as t, Ae as u, Ce as v, x as w, S as x, w as y };