@wexio/messenger-widget-react 1.4.0 → 1.5.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 (80) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +2 -1
  3. package/dist/widget-react-3V_rXy9h2.js +2 -0
  4. package/dist/widget-react-3f61yzjR2.js +2 -0
  5. package/dist/widget-react-B-ZYj6cV2.js +2 -0
  6. package/dist/widget-react-B4Cru-SF.js +2 -0
  7. package/dist/widget-react-B5AYwhao.js +2 -0
  8. package/dist/widget-react-B6YWdHd3.js +2 -0
  9. package/dist/widget-react-BOjoaxsM2.js +2 -0
  10. package/dist/widget-react-BPFWT7Xe2.js +4 -0
  11. package/dist/widget-react-BSvxi-Z42.js +2 -0
  12. package/dist/widget-react-BbznnvpE2.js +2 -0
  13. package/dist/widget-react-Bebf7ovl.js +140 -0
  14. package/dist/widget-react-BrRmLgRl.js +163 -0
  15. package/dist/widget-react-BwK-nNjy2.js +2 -0
  16. package/dist/widget-react-BxEMz2N0.js +2 -0
  17. package/dist/widget-react-BzFUXA092.js +2 -0
  18. package/dist/widget-react-C-hnCqBf.js +2 -0
  19. package/dist/widget-react-C40Ha_9C.js +2 -0
  20. package/dist/widget-react-C7KHTFEo.js +2 -0
  21. package/dist/widget-react-CAfHMzrc2.js +2 -0
  22. package/dist/widget-react-CLJmIz_q.js +2 -0
  23. package/dist/widget-react-CLLhrdTm.js +2 -0
  24. package/dist/widget-react-CO7DyU51.js +201 -0
  25. package/dist/widget-react-CZoYXyup.js +2 -0
  26. package/dist/widget-react-C_NCNYY02.js +7 -0
  27. package/dist/widget-react-CnP2-ZB-.js +285 -0
  28. package/dist/widget-react-CuUeo68W.js +2 -0
  29. package/dist/widget-react-D2sqPDts.js +2 -0
  30. package/dist/widget-react-D5n4whHu2.js +2 -0
  31. package/dist/widget-react-D8W_ZdMH.js +2 -0
  32. package/dist/widget-react-DA0S6cIc.js +2 -0
  33. package/dist/widget-react-DE0LS-6-.js +2 -0
  34. package/dist/widget-react-DGh__emN.js +2 -0
  35. package/dist/widget-react-DIFOZ3QT.js +2 -0
  36. package/dist/widget-react-DJczk-Ax.js +2 -0
  37. package/dist/widget-react-DQJxxVB92.js +2 -0
  38. package/dist/widget-react-DS_ZoY1F.js +2 -0
  39. package/dist/widget-react-DUnaBOfT.js +10 -0
  40. package/dist/widget-react-DhLRmjli.js +2 -0
  41. package/dist/widget-react-Dl2PevZk.js +2 -0
  42. package/dist/widget-react-DmRVdLdI.js +2 -0
  43. package/dist/widget-react-DouawI6y.js +2 -0
  44. package/dist/widget-react-DozV7eMU2.js +2 -0
  45. package/dist/widget-react-Dpkdglv0.js +2 -0
  46. package/dist/widget-react-Dry9kqXE2.js +2 -0
  47. package/dist/widget-react-FX5W7RyV.js +4 -0
  48. package/dist/widget-react-G9X1DcTe.js +2 -0
  49. package/dist/widget-react-KAEA8ONo.js +2 -0
  50. package/dist/widget-react-Ov6re_Q9.js +2 -0
  51. package/dist/widget-react-XV6SIcqN2.js +2 -0
  52. package/dist/widget-react-XZ_nYDTj.js +2 -0
  53. package/dist/widget-react-oNTR-eNh.js +2 -0
  54. package/dist/widget-react-txPtcpni.js +2 -0
  55. package/dist/widget-react-zZBDvBBt2.js +2 -0
  56. package/dist/widget-react.js +50 -36283
  57. package/dist/widget-react.licenses.txt +3604 -0
  58. package/package.json +1 -1
  59. package/dist/widget-react--IUy5lNt.js +0 -510
  60. package/dist/widget-react-B7es3n1-.js +0 -32
  61. package/dist/widget-react-BAUpSGhZ.js +0 -1345
  62. package/dist/widget-react-BS9kUSRS.js +0 -255
  63. package/dist/widget-react-BT30ojz0.js +0 -371
  64. package/dist/widget-react-BXf2Ty8d.js +0 -364
  65. package/dist/widget-react-BgALABDe.js +0 -39
  66. package/dist/widget-react-BgunakAG.js +0 -566
  67. package/dist/widget-react-BkXA6ytR.js +0 -23856
  68. package/dist/widget-react-Bvtklo8g.js +0 -356
  69. package/dist/widget-react-BxEjM2it.js +0 -118
  70. package/dist/widget-react-CN_FIvMD.js +0 -834
  71. package/dist/widget-react-CTdz_dwX.js +0 -306
  72. package/dist/widget-react-Ck8JAYqT.js +0 -22122
  73. package/dist/widget-react-CyAVDflZ.js +0 -273
  74. package/dist/widget-react-DSAyUf2U.js +0 -229
  75. package/dist/widget-react-DbOJZl9F.js +0 -4932
  76. package/dist/widget-react-DgIxSjv7.js +0 -25
  77. package/dist/widget-react-Ds5J9FbQ.js +0 -27
  78. package/dist/widget-react-SI7deQTE.js +0 -35
  79. package/dist/widget-react-krPPnv02.js +0 -4438
  80. package/dist/widget-react-wSc9gIfG.js +0 -198
@@ -1,4438 +0,0 @@
1
- globalThis.process === void 0 && (globalThis.process = {
2
- env: {},
3
- nextTick: function(e) {
4
- setTimeout(e, 0);
5
- },
6
- emit: function() {
7
- return !1;
8
- }
9
- });
10
- import "react";
11
- import "react-dom";
12
- import "react/jsx-runtime";
13
- import "react-dom/client";
14
- import { cloneElement as e, createContext as t, createElement as n, forwardRef as r, isValidElement as i, useContext as a, useMemo as o } from "react";
15
- import { jsx as s } from "react/jsx-runtime";
16
- //#region node_modules/@formatjs/fast-memoize/index.js
17
- function c(e, t) {
18
- let n = t && t.cache ? t.cache : v, r = t && t.serializer ? t.serializer : g;
19
- return (t && t.strategy ? t.strategy : p)(e, {
20
- cache: n,
21
- serializer: r
22
- });
23
- }
24
- function l(e) {
25
- return e == null || typeof e == "number" || typeof e == "boolean";
26
- }
27
- function u(e, t, n, r) {
28
- let i = l(r) ? r : n(r), a = t.get(i);
29
- return a === void 0 && (a = e.call(this, r), t.set(i, a)), a;
30
- }
31
- function d(e, t, n) {
32
- let r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
33
- return a === void 0 && (a = e.apply(this, r), t.set(i, a)), a;
34
- }
35
- function f(e, t, n, r, i) {
36
- return n.bind(t, e, r, i);
37
- }
38
- function p(e, t) {
39
- let n = e.length === 1 ? u : d;
40
- return f(e, this, n, t.cache.create(), t.serializer);
41
- }
42
- function m(e, t) {
43
- return f(e, this, d, t.cache.create(), t.serializer);
44
- }
45
- function h(e, t) {
46
- return f(e, this, u, t.cache.create(), t.serializer);
47
- }
48
- var g = function() {
49
- return JSON.stringify(arguments);
50
- }, _ = class {
51
- constructor() {
52
- this.cache = Object.create(null);
53
- }
54
- get(e) {
55
- return this.cache[e];
56
- }
57
- set(e, t) {
58
- this.cache[e] = t;
59
- }
60
- }, v = { create: function() {
61
- return new _();
62
- } }, y = {
63
- variadic: m,
64
- monadic: h
65
- }, b = class extends Error {
66
- constructor(e, t) {
67
- let n = e;
68
- t && (n += ": " + t), super(n), this.code = e, t && (this.originalMessage = t);
69
- }
70
- }, x = function(e) {
71
- return e.MISSING_MESSAGE = "MISSING_MESSAGE", e.MISSING_FORMAT = "MISSING_FORMAT", e.ENVIRONMENT_FALLBACK = "ENVIRONMENT_FALLBACK", e.INSUFFICIENT_PATH = "INSUFFICIENT_PATH", e.INVALID_MESSAGE = "INVALID_MESSAGE", e.INVALID_KEY = "INVALID_KEY", e.FORMATTING_ERROR = "FORMATTING_ERROR", e;
72
- }(x || {});
73
- function ee() {
74
- return {
75
- dateTime: {},
76
- number: {},
77
- message: {},
78
- relativeTime: {},
79
- pluralRules: {},
80
- list: {},
81
- displayNames: {}
82
- };
83
- }
84
- function S(e, t) {
85
- return c(e, {
86
- cache: (n = t, { create: () => ({
87
- get: (e) => n[e],
88
- set(e, t) {
89
- n[e] = t;
90
- }
91
- }) }),
92
- strategy: y.variadic
93
- });
94
- var n;
95
- }
96
- function C(e, t) {
97
- return S(((...t) => new e(...t)), t);
98
- }
99
- function w(e) {
100
- return {
101
- getDateTimeFormat: C(Intl.DateTimeFormat, e.dateTime),
102
- getNumberFormat: C(Intl.NumberFormat, e.number),
103
- getPluralRules: C(Intl.PluralRules, e.pluralRules),
104
- getRelativeTimeFormat: C(Intl.RelativeTimeFormat, e.relativeTime),
105
- getListFormat: C(Intl.ListFormat, e.list),
106
- getDisplayNames: C(Intl.DisplayNames, e.displayNames)
107
- };
108
- }
109
- //#endregion
110
- //#region node_modules/@formatjs/icu-skeleton-parser/index.js
111
- var te = /(?:[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;
112
- function ne(e) {
113
- let t = {};
114
- return e.replace(te, (e) => {
115
- let n = e.length;
116
- switch (e[0]) {
117
- case "G":
118
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
119
- break;
120
- case "y":
121
- t.year = n === 2 ? "2-digit" : "numeric";
122
- break;
123
- case "Y":
124
- case "u":
125
- case "U":
126
- case "r": throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
127
- case "q":
128
- case "Q": throw RangeError("`q/Q` (quarter) patterns are not supported");
129
- case "M":
130
- case "L":
131
- t.month = [
132
- "numeric",
133
- "2-digit",
134
- "short",
135
- "long",
136
- "narrow"
137
- ][n - 1];
138
- break;
139
- case "w":
140
- case "W": throw RangeError("`w/W` (week) patterns are not supported");
141
- case "d":
142
- t.day = ["numeric", "2-digit"][n - 1];
143
- break;
144
- case "D":
145
- case "F":
146
- case "g": throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
147
- case "E":
148
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
149
- break;
150
- case "e":
151
- if (n < 4) throw RangeError("`e..eee` (weekday) patterns are not supported");
152
- t.weekday = [
153
- "short",
154
- "long",
155
- "narrow",
156
- "short"
157
- ][n - 4];
158
- break;
159
- case "c":
160
- if (n < 4) throw RangeError("`c..ccc` (weekday) patterns are not supported");
161
- t.weekday = [
162
- "short",
163
- "long",
164
- "narrow",
165
- "short"
166
- ][n - 4];
167
- break;
168
- case "a":
169
- t.hour12 = !0;
170
- break;
171
- case "b":
172
- case "B": throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");
173
- case "h":
174
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
175
- break;
176
- case "H":
177
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
178
- break;
179
- case "K":
180
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
181
- break;
182
- case "k":
183
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
184
- break;
185
- case "j":
186
- case "J":
187
- case "C": throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
188
- case "m":
189
- t.minute = ["numeric", "2-digit"][n - 1];
190
- break;
191
- case "s":
192
- t.second = ["numeric", "2-digit"][n - 1];
193
- break;
194
- case "S":
195
- case "A": throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");
196
- case "z":
197
- t.timeZoneName = n < 4 ? "short" : "long";
198
- break;
199
- case "Z":
200
- case "O":
201
- case "v":
202
- case "V":
203
- case "X":
204
- case "x": throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
205
- }
206
- return "";
207
- }), t;
208
- }
209
- var T = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
210
- function re(e) {
211
- if (e.length === 0) throw Error("Number skeleton cannot be empty");
212
- let t = e.split(T).filter((e) => e.length > 0), n = [];
213
- for (let e of t) {
214
- let t = e.split("/");
215
- if (t.length === 0) throw Error("Invalid number skeleton");
216
- let [r, ...i] = t;
217
- for (let e of i) if (e.length === 0) throw Error("Invalid number skeleton");
218
- n.push({
219
- stem: r,
220
- options: i
221
- });
222
- }
223
- return n;
224
- }
225
- function ie(e) {
226
- return e.replace(/^(.*?)-/, "");
227
- }
228
- var E = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, D = /^(@+)?(\+|#+)?[rs]?$/g, O = /(\*)(0+)|(#+)(0+)|(0+)/g, k = /^(0+)$/;
229
- function A(e) {
230
- let t = {};
231
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(D, function(e, n, r) {
232
- 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), "";
233
- }), t;
234
- }
235
- function j(e) {
236
- switch (e) {
237
- case "sign-auto": return { signDisplay: "auto" };
238
- case "sign-accounting":
239
- case "()": return { currencySign: "accounting" };
240
- case "sign-always":
241
- case "+!": return { signDisplay: "always" };
242
- case "sign-accounting-always":
243
- case "()!": return {
244
- signDisplay: "always",
245
- currencySign: "accounting"
246
- };
247
- case "sign-except-zero":
248
- case "+?": return { signDisplay: "exceptZero" };
249
- case "sign-accounting-except-zero":
250
- case "()?": return {
251
- signDisplay: "exceptZero",
252
- currencySign: "accounting"
253
- };
254
- case "sign-never":
255
- case "+_": return { signDisplay: "never" };
256
- }
257
- }
258
- function ae(e) {
259
- let t;
260
- 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) {
261
- let n = e.slice(0, 2);
262
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !k.test(e)) throw Error("Malformed concise eng/scientific notation");
263
- t.minimumIntegerDigits = e.length;
264
- }
265
- return t;
266
- }
267
- function oe(e) {
268
- return j(e) || {};
269
- }
270
- function se(e) {
271
- let t = {};
272
- for (let n of e) {
273
- switch (n.stem) {
274
- case "percent":
275
- case "%":
276
- t.style = "percent";
277
- continue;
278
- case "%x100":
279
- t.style = "percent", t.scale = 100;
280
- continue;
281
- case "currency":
282
- t.style = "currency", t.currency = n.options[0];
283
- continue;
284
- case "group-off":
285
- case ",_":
286
- t.useGrouping = !1;
287
- continue;
288
- case "precision-integer":
289
- case ".":
290
- t.maximumFractionDigits = 0;
291
- continue;
292
- case "measure-unit":
293
- case "unit":
294
- t.style = "unit", t.unit = ie(n.options[0]);
295
- continue;
296
- case "compact-short":
297
- case "K":
298
- t.notation = "compact", t.compactDisplay = "short";
299
- continue;
300
- case "compact-long":
301
- case "KK":
302
- t.notation = "compact", t.compactDisplay = "long";
303
- continue;
304
- case "scientific":
305
- t = {
306
- ...t,
307
- notation: "scientific",
308
- ...n.options.reduce((e, t) => ({
309
- ...e,
310
- ...oe(t)
311
- }), {})
312
- };
313
- continue;
314
- case "engineering":
315
- t = {
316
- ...t,
317
- notation: "engineering",
318
- ...n.options.reduce((e, t) => ({
319
- ...e,
320
- ...oe(t)
321
- }), {})
322
- };
323
- continue;
324
- case "notation-simple":
325
- t.notation = "standard";
326
- continue;
327
- case "unit-width-narrow":
328
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
329
- continue;
330
- case "unit-width-short":
331
- t.currencyDisplay = "code", t.unitDisplay = "short";
332
- continue;
333
- case "unit-width-full-name":
334
- t.currencyDisplay = "name", t.unitDisplay = "long";
335
- continue;
336
- case "unit-width-iso-code":
337
- t.currencyDisplay = "symbol";
338
- continue;
339
- case "scale":
340
- t.scale = parseFloat(n.options[0]);
341
- continue;
342
- case "rounding-mode-floor":
343
- t.roundingMode = "floor";
344
- continue;
345
- case "rounding-mode-ceiling":
346
- t.roundingMode = "ceil";
347
- continue;
348
- case "rounding-mode-down":
349
- t.roundingMode = "trunc";
350
- continue;
351
- case "rounding-mode-up":
352
- t.roundingMode = "expand";
353
- continue;
354
- case "rounding-mode-half-even":
355
- t.roundingMode = "halfEven";
356
- continue;
357
- case "rounding-mode-half-down":
358
- t.roundingMode = "halfTrunc";
359
- continue;
360
- case "rounding-mode-half-up":
361
- t.roundingMode = "halfExpand";
362
- continue;
363
- case "integer-width":
364
- if (n.options.length > 1) throw RangeError("integer-width stems only accept a single optional option");
365
- n.options[0].replace(O, function(e, n, r, i, a, o) {
366
- if (n) t.minimumIntegerDigits = r.length;
367
- else if (i && a) throw Error("We currently do not support maximum integer digits");
368
- else if (o) throw Error("We currently do not support exact integer digits");
369
- return "";
370
- });
371
- continue;
372
- }
373
- if (k.test(n.stem)) {
374
- t.minimumIntegerDigits = n.stem.length;
375
- continue;
376
- }
377
- if (E.test(n.stem)) {
378
- if (n.options.length > 1) throw RangeError("Fraction-precision stems only accept a single optional option");
379
- n.stem.replace(E, function(e, n, r, i, a, o) {
380
- 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), "";
381
- });
382
- let e = n.options[0];
383
- e === "w" ? t = {
384
- ...t,
385
- trailingZeroDisplay: "stripIfInteger"
386
- } : e && (t = {
387
- ...t,
388
- ...A(e)
389
- });
390
- continue;
391
- }
392
- if (D.test(n.stem)) {
393
- t = {
394
- ...t,
395
- ...A(n.stem)
396
- };
397
- continue;
398
- }
399
- let e = j(n.stem);
400
- e && (t = {
401
- ...t,
402
- ...e
403
- });
404
- let r = ae(n.stem);
405
- r && (t = {
406
- ...t,
407
- ...r
408
- });
409
- }
410
- return t;
411
- }
412
- //#endregion
413
- //#region node_modules/@formatjs/icu-messageformat-parser/index.js
414
- var M = /* @__PURE__ */ function(e) {
415
- 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;
416
- }({}), N = /* @__PURE__ */ function(e) {
417
- return e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag", e;
418
- }({}), P = /* @__PURE__ */ function(e) {
419
- return e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime", e;
420
- }({});
421
- function F(e) {
422
- return e.type === N.literal;
423
- }
424
- function ce(e) {
425
- return e.type === N.argument;
426
- }
427
- function I(e) {
428
- return e.type === N.number;
429
- }
430
- function le(e) {
431
- return e.type === N.date;
432
- }
433
- function L(e) {
434
- return e.type === N.time;
435
- }
436
- function R(e) {
437
- return e.type === N.select;
438
- }
439
- function z(e) {
440
- return e.type === N.plural;
441
- }
442
- function B(e) {
443
- return e.type === N.pound;
444
- }
445
- function ue(e) {
446
- return e.type === N.tag;
447
- }
448
- function de(e) {
449
- return !!(e && typeof e == "object" && e.type === P.number);
450
- }
451
- function fe(e) {
452
- return !!(e && typeof e == "object" && e.type === P.dateTime);
453
- }
454
- var pe = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, me = {
455
- "001": ["H", "h"],
456
- 419: [
457
- "h",
458
- "H",
459
- "hB",
460
- "hb"
461
- ],
462
- AC: [
463
- "H",
464
- "h",
465
- "hb",
466
- "hB"
467
- ],
468
- AD: ["H", "hB"],
469
- AE: [
470
- "h",
471
- "hB",
472
- "hb",
473
- "H"
474
- ],
475
- AF: [
476
- "H",
477
- "hb",
478
- "hB",
479
- "h"
480
- ],
481
- AG: [
482
- "h",
483
- "hb",
484
- "H",
485
- "hB"
486
- ],
487
- AI: [
488
- "H",
489
- "h",
490
- "hb",
491
- "hB"
492
- ],
493
- AL: [
494
- "h",
495
- "H",
496
- "hB"
497
- ],
498
- AM: ["H", "hB"],
499
- AO: ["H", "hB"],
500
- AR: [
501
- "h",
502
- "H",
503
- "hB",
504
- "hb"
505
- ],
506
- AS: ["h", "H"],
507
- AT: ["H", "hB"],
508
- AU: [
509
- "h",
510
- "hb",
511
- "H",
512
- "hB"
513
- ],
514
- AW: ["H", "hB"],
515
- AX: ["H"],
516
- AZ: [
517
- "H",
518
- "hB",
519
- "h"
520
- ],
521
- BA: [
522
- "H",
523
- "hB",
524
- "h"
525
- ],
526
- BB: [
527
- "h",
528
- "hb",
529
- "H",
530
- "hB"
531
- ],
532
- BD: [
533
- "h",
534
- "hB",
535
- "H"
536
- ],
537
- BE: ["H", "hB"],
538
- BF: ["H", "hB"],
539
- BG: [
540
- "H",
541
- "hB",
542
- "h"
543
- ],
544
- BH: [
545
- "h",
546
- "hB",
547
- "hb",
548
- "H"
549
- ],
550
- BI: ["H", "h"],
551
- BJ: ["H", "hB"],
552
- BL: ["H", "hB"],
553
- BM: [
554
- "h",
555
- "hb",
556
- "H",
557
- "hB"
558
- ],
559
- BN: [
560
- "hb",
561
- "hB",
562
- "h",
563
- "H"
564
- ],
565
- BO: [
566
- "h",
567
- "H",
568
- "hB",
569
- "hb"
570
- ],
571
- BQ: ["H"],
572
- BR: ["H", "hB"],
573
- BS: [
574
- "h",
575
- "hb",
576
- "H",
577
- "hB"
578
- ],
579
- BT: ["h", "H"],
580
- BW: [
581
- "H",
582
- "h",
583
- "hb",
584
- "hB"
585
- ],
586
- BY: ["H", "h"],
587
- BZ: [
588
- "H",
589
- "h",
590
- "hb",
591
- "hB"
592
- ],
593
- CA: [
594
- "h",
595
- "hb",
596
- "H",
597
- "hB"
598
- ],
599
- CC: [
600
- "H",
601
- "h",
602
- "hb",
603
- "hB"
604
- ],
605
- CD: ["hB", "H"],
606
- CF: [
607
- "H",
608
- "h",
609
- "hB"
610
- ],
611
- CG: ["H", "hB"],
612
- CH: [
613
- "H",
614
- "hB",
615
- "h"
616
- ],
617
- CI: ["H", "hB"],
618
- CK: [
619
- "H",
620
- "h",
621
- "hb",
622
- "hB"
623
- ],
624
- CL: [
625
- "h",
626
- "H",
627
- "hB",
628
- "hb"
629
- ],
630
- CM: [
631
- "H",
632
- "h",
633
- "hB"
634
- ],
635
- CN: [
636
- "H",
637
- "hB",
638
- "hb",
639
- "h"
640
- ],
641
- CO: [
642
- "h",
643
- "H",
644
- "hB",
645
- "hb"
646
- ],
647
- CP: ["H"],
648
- CR: [
649
- "h",
650
- "H",
651
- "hB",
652
- "hb"
653
- ],
654
- CU: [
655
- "h",
656
- "H",
657
- "hB",
658
- "hb"
659
- ],
660
- CV: ["H", "hB"],
661
- CW: ["H", "hB"],
662
- CX: [
663
- "H",
664
- "h",
665
- "hb",
666
- "hB"
667
- ],
668
- CY: [
669
- "h",
670
- "H",
671
- "hb",
672
- "hB"
673
- ],
674
- CZ: ["H"],
675
- DE: ["H", "hB"],
676
- DG: [
677
- "H",
678
- "h",
679
- "hb",
680
- "hB"
681
- ],
682
- DJ: ["h", "H"],
683
- DK: ["H"],
684
- DM: [
685
- "h",
686
- "hb",
687
- "H",
688
- "hB"
689
- ],
690
- DO: [
691
- "h",
692
- "H",
693
- "hB",
694
- "hb"
695
- ],
696
- DZ: [
697
- "h",
698
- "hB",
699
- "hb",
700
- "H"
701
- ],
702
- EA: [
703
- "H",
704
- "h",
705
- "hB",
706
- "hb"
707
- ],
708
- EC: [
709
- "h",
710
- "H",
711
- "hB",
712
- "hb"
713
- ],
714
- EE: ["H", "hB"],
715
- EG: [
716
- "h",
717
- "hB",
718
- "hb",
719
- "H"
720
- ],
721
- EH: [
722
- "h",
723
- "hB",
724
- "hb",
725
- "H"
726
- ],
727
- ER: ["h", "H"],
728
- ES: [
729
- "H",
730
- "hB",
731
- "h",
732
- "hb"
733
- ],
734
- ET: [
735
- "hB",
736
- "hb",
737
- "h",
738
- "H"
739
- ],
740
- FI: ["H"],
741
- FJ: [
742
- "h",
743
- "hb",
744
- "H",
745
- "hB"
746
- ],
747
- FK: [
748
- "H",
749
- "h",
750
- "hb",
751
- "hB"
752
- ],
753
- FM: [
754
- "h",
755
- "hb",
756
- "H",
757
- "hB"
758
- ],
759
- FO: ["H", "h"],
760
- FR: ["H", "hB"],
761
- GA: ["H", "hB"],
762
- GB: [
763
- "H",
764
- "h",
765
- "hb",
766
- "hB"
767
- ],
768
- GD: [
769
- "h",
770
- "hb",
771
- "H",
772
- "hB"
773
- ],
774
- GE: [
775
- "H",
776
- "hB",
777
- "h"
778
- ],
779
- GF: ["H", "hB"],
780
- GG: [
781
- "H",
782
- "h",
783
- "hb",
784
- "hB"
785
- ],
786
- GH: ["h", "H"],
787
- GI: [
788
- "H",
789
- "h",
790
- "hb",
791
- "hB"
792
- ],
793
- GL: ["H", "h"],
794
- GM: [
795
- "h",
796
- "hb",
797
- "H",
798
- "hB"
799
- ],
800
- GN: ["H", "hB"],
801
- GP: ["H", "hB"],
802
- GQ: [
803
- "H",
804
- "hB",
805
- "h",
806
- "hb"
807
- ],
808
- GR: [
809
- "h",
810
- "H",
811
- "hb",
812
- "hB"
813
- ],
814
- GS: [
815
- "H",
816
- "h",
817
- "hb",
818
- "hB"
819
- ],
820
- GT: [
821
- "h",
822
- "H",
823
- "hB",
824
- "hb"
825
- ],
826
- GU: [
827
- "h",
828
- "hb",
829
- "H",
830
- "hB"
831
- ],
832
- GW: ["H", "hB"],
833
- GY: [
834
- "h",
835
- "hb",
836
- "H",
837
- "hB"
838
- ],
839
- HK: [
840
- "h",
841
- "hB",
842
- "hb",
843
- "H"
844
- ],
845
- HN: [
846
- "h",
847
- "H",
848
- "hB",
849
- "hb"
850
- ],
851
- HR: ["H", "hB"],
852
- HU: ["H", "h"],
853
- IC: [
854
- "H",
855
- "h",
856
- "hB",
857
- "hb"
858
- ],
859
- ID: ["H"],
860
- IE: [
861
- "H",
862
- "h",
863
- "hb",
864
- "hB"
865
- ],
866
- IL: ["H", "hB"],
867
- IM: [
868
- "H",
869
- "h",
870
- "hb",
871
- "hB"
872
- ],
873
- IN: ["h", "H"],
874
- IO: [
875
- "H",
876
- "h",
877
- "hb",
878
- "hB"
879
- ],
880
- IQ: [
881
- "h",
882
- "hB",
883
- "hb",
884
- "H"
885
- ],
886
- IR: ["hB", "H"],
887
- IS: ["H"],
888
- IT: ["H", "hB"],
889
- JE: [
890
- "H",
891
- "h",
892
- "hb",
893
- "hB"
894
- ],
895
- JM: [
896
- "h",
897
- "hb",
898
- "H",
899
- "hB"
900
- ],
901
- JO: [
902
- "h",
903
- "hB",
904
- "hb",
905
- "H"
906
- ],
907
- JP: [
908
- "H",
909
- "K",
910
- "h"
911
- ],
912
- KE: [
913
- "hB",
914
- "hb",
915
- "H",
916
- "h"
917
- ],
918
- KG: [
919
- "H",
920
- "h",
921
- "hB",
922
- "hb"
923
- ],
924
- KH: [
925
- "hB",
926
- "h",
927
- "H",
928
- "hb"
929
- ],
930
- KI: [
931
- "h",
932
- "hb",
933
- "H",
934
- "hB"
935
- ],
936
- KM: [
937
- "H",
938
- "h",
939
- "hB",
940
- "hb"
941
- ],
942
- KN: [
943
- "h",
944
- "hb",
945
- "H",
946
- "hB"
947
- ],
948
- KP: [
949
- "h",
950
- "H",
951
- "hB",
952
- "hb"
953
- ],
954
- KR: [
955
- "h",
956
- "H",
957
- "hB",
958
- "hb"
959
- ],
960
- KW: [
961
- "h",
962
- "hB",
963
- "hb",
964
- "H"
965
- ],
966
- KY: [
967
- "h",
968
- "hb",
969
- "H",
970
- "hB"
971
- ],
972
- KZ: ["H", "hB"],
973
- LA: [
974
- "H",
975
- "hb",
976
- "hB",
977
- "h"
978
- ],
979
- LB: [
980
- "h",
981
- "hB",
982
- "hb",
983
- "H"
984
- ],
985
- LC: [
986
- "h",
987
- "hb",
988
- "H",
989
- "hB"
990
- ],
991
- LI: [
992
- "H",
993
- "hB",
994
- "h"
995
- ],
996
- LK: [
997
- "H",
998
- "h",
999
- "hB",
1000
- "hb"
1001
- ],
1002
- LR: [
1003
- "h",
1004
- "hb",
1005
- "H",
1006
- "hB"
1007
- ],
1008
- LS: ["h", "H"],
1009
- LT: [
1010
- "H",
1011
- "h",
1012
- "hb",
1013
- "hB"
1014
- ],
1015
- LU: [
1016
- "H",
1017
- "h",
1018
- "hB"
1019
- ],
1020
- LV: [
1021
- "H",
1022
- "hB",
1023
- "hb",
1024
- "h"
1025
- ],
1026
- LY: [
1027
- "h",
1028
- "hB",
1029
- "hb",
1030
- "H"
1031
- ],
1032
- MA: [
1033
- "H",
1034
- "h",
1035
- "hB",
1036
- "hb"
1037
- ],
1038
- MC: ["H", "hB"],
1039
- MD: ["H", "hB"],
1040
- ME: [
1041
- "H",
1042
- "hB",
1043
- "h"
1044
- ],
1045
- MF: ["H", "hB"],
1046
- MG: ["H", "h"],
1047
- MH: [
1048
- "h",
1049
- "hb",
1050
- "H",
1051
- "hB"
1052
- ],
1053
- MK: [
1054
- "H",
1055
- "h",
1056
- "hb",
1057
- "hB"
1058
- ],
1059
- ML: ["H"],
1060
- MM: [
1061
- "hB",
1062
- "hb",
1063
- "H",
1064
- "h"
1065
- ],
1066
- MN: [
1067
- "H",
1068
- "h",
1069
- "hb",
1070
- "hB"
1071
- ],
1072
- MO: [
1073
- "h",
1074
- "hB",
1075
- "hb",
1076
- "H"
1077
- ],
1078
- MP: [
1079
- "h",
1080
- "hb",
1081
- "H",
1082
- "hB"
1083
- ],
1084
- MQ: ["H", "hB"],
1085
- MR: [
1086
- "h",
1087
- "hB",
1088
- "hb",
1089
- "H"
1090
- ],
1091
- MS: [
1092
- "H",
1093
- "h",
1094
- "hb",
1095
- "hB"
1096
- ],
1097
- MT: ["H", "h"],
1098
- MU: ["H", "h"],
1099
- MV: ["H", "h"],
1100
- MW: [
1101
- "h",
1102
- "hb",
1103
- "H",
1104
- "hB"
1105
- ],
1106
- MX: [
1107
- "h",
1108
- "H",
1109
- "hB",
1110
- "hb"
1111
- ],
1112
- MY: [
1113
- "hb",
1114
- "hB",
1115
- "h",
1116
- "H"
1117
- ],
1118
- MZ: ["H", "hB"],
1119
- NA: [
1120
- "h",
1121
- "H",
1122
- "hB",
1123
- "hb"
1124
- ],
1125
- NC: ["H", "hB"],
1126
- NE: ["H"],
1127
- NF: [
1128
- "H",
1129
- "h",
1130
- "hb",
1131
- "hB"
1132
- ],
1133
- NG: [
1134
- "H",
1135
- "h",
1136
- "hb",
1137
- "hB"
1138
- ],
1139
- NI: [
1140
- "h",
1141
- "H",
1142
- "hB",
1143
- "hb"
1144
- ],
1145
- NL: ["H", "hB"],
1146
- NO: ["H", "h"],
1147
- NP: [
1148
- "H",
1149
- "h",
1150
- "hB"
1151
- ],
1152
- NR: [
1153
- "H",
1154
- "h",
1155
- "hb",
1156
- "hB"
1157
- ],
1158
- NU: [
1159
- "H",
1160
- "h",
1161
- "hb",
1162
- "hB"
1163
- ],
1164
- NZ: [
1165
- "h",
1166
- "hb",
1167
- "H",
1168
- "hB"
1169
- ],
1170
- OM: [
1171
- "h",
1172
- "hB",
1173
- "hb",
1174
- "H"
1175
- ],
1176
- PA: [
1177
- "h",
1178
- "H",
1179
- "hB",
1180
- "hb"
1181
- ],
1182
- PE: [
1183
- "h",
1184
- "H",
1185
- "hB",
1186
- "hb"
1187
- ],
1188
- PF: [
1189
- "H",
1190
- "h",
1191
- "hB"
1192
- ],
1193
- PG: ["h", "H"],
1194
- PH: [
1195
- "h",
1196
- "hB",
1197
- "hb",
1198
- "H"
1199
- ],
1200
- PK: [
1201
- "h",
1202
- "hB",
1203
- "H"
1204
- ],
1205
- PL: ["H", "h"],
1206
- PM: ["H", "hB"],
1207
- PN: [
1208
- "H",
1209
- "h",
1210
- "hb",
1211
- "hB"
1212
- ],
1213
- PR: [
1214
- "h",
1215
- "H",
1216
- "hB",
1217
- "hb"
1218
- ],
1219
- PS: [
1220
- "h",
1221
- "hB",
1222
- "hb",
1223
- "H"
1224
- ],
1225
- PT: ["H", "hB"],
1226
- PW: ["h", "H"],
1227
- PY: [
1228
- "h",
1229
- "H",
1230
- "hB",
1231
- "hb"
1232
- ],
1233
- QA: [
1234
- "h",
1235
- "hB",
1236
- "hb",
1237
- "H"
1238
- ],
1239
- RE: ["H", "hB"],
1240
- RO: ["H", "hB"],
1241
- RS: [
1242
- "H",
1243
- "hB",
1244
- "h"
1245
- ],
1246
- RU: ["H"],
1247
- RW: ["H", "h"],
1248
- SA: [
1249
- "h",
1250
- "hB",
1251
- "hb",
1252
- "H"
1253
- ],
1254
- SB: [
1255
- "h",
1256
- "hb",
1257
- "H",
1258
- "hB"
1259
- ],
1260
- SC: [
1261
- "H",
1262
- "h",
1263
- "hB"
1264
- ],
1265
- SD: [
1266
- "h",
1267
- "hB",
1268
- "hb",
1269
- "H"
1270
- ],
1271
- SE: ["H"],
1272
- SG: [
1273
- "h",
1274
- "hb",
1275
- "H",
1276
- "hB"
1277
- ],
1278
- SH: [
1279
- "H",
1280
- "h",
1281
- "hb",
1282
- "hB"
1283
- ],
1284
- SI: ["H", "hB"],
1285
- SJ: ["H"],
1286
- SK: ["H"],
1287
- SL: [
1288
- "h",
1289
- "hb",
1290
- "H",
1291
- "hB"
1292
- ],
1293
- SM: [
1294
- "H",
1295
- "h",
1296
- "hB"
1297
- ],
1298
- SN: [
1299
- "H",
1300
- "h",
1301
- "hB"
1302
- ],
1303
- SO: ["h", "H"],
1304
- SR: ["H", "hB"],
1305
- SS: [
1306
- "h",
1307
- "hb",
1308
- "H",
1309
- "hB"
1310
- ],
1311
- ST: ["H", "hB"],
1312
- SV: [
1313
- "h",
1314
- "H",
1315
- "hB",
1316
- "hb"
1317
- ],
1318
- SX: [
1319
- "H",
1320
- "h",
1321
- "hb",
1322
- "hB"
1323
- ],
1324
- SY: [
1325
- "h",
1326
- "hB",
1327
- "hb",
1328
- "H"
1329
- ],
1330
- SZ: [
1331
- "h",
1332
- "hb",
1333
- "H",
1334
- "hB"
1335
- ],
1336
- TA: [
1337
- "H",
1338
- "h",
1339
- "hb",
1340
- "hB"
1341
- ],
1342
- TC: [
1343
- "h",
1344
- "hb",
1345
- "H",
1346
- "hB"
1347
- ],
1348
- TD: [
1349
- "h",
1350
- "H",
1351
- "hB"
1352
- ],
1353
- TF: [
1354
- "H",
1355
- "h",
1356
- "hB"
1357
- ],
1358
- TG: ["H", "hB"],
1359
- TH: ["H", "h"],
1360
- TJ: ["H", "h"],
1361
- TL: [
1362
- "H",
1363
- "hB",
1364
- "hb",
1365
- "h"
1366
- ],
1367
- TM: ["H", "h"],
1368
- TN: [
1369
- "h",
1370
- "hB",
1371
- "hb",
1372
- "H"
1373
- ],
1374
- TO: ["h", "H"],
1375
- TR: ["H", "hB"],
1376
- TT: [
1377
- "h",
1378
- "hb",
1379
- "H",
1380
- "hB"
1381
- ],
1382
- TW: [
1383
- "hB",
1384
- "hb",
1385
- "h",
1386
- "H"
1387
- ],
1388
- TZ: [
1389
- "hB",
1390
- "hb",
1391
- "H",
1392
- "h"
1393
- ],
1394
- UA: [
1395
- "H",
1396
- "hB",
1397
- "h"
1398
- ],
1399
- UG: [
1400
- "hB",
1401
- "hb",
1402
- "H",
1403
- "h"
1404
- ],
1405
- UM: [
1406
- "h",
1407
- "hb",
1408
- "H",
1409
- "hB"
1410
- ],
1411
- US: [
1412
- "h",
1413
- "hb",
1414
- "H",
1415
- "hB"
1416
- ],
1417
- UY: [
1418
- "h",
1419
- "H",
1420
- "hB",
1421
- "hb"
1422
- ],
1423
- UZ: [
1424
- "H",
1425
- "hB",
1426
- "h"
1427
- ],
1428
- VA: [
1429
- "H",
1430
- "h",
1431
- "hB"
1432
- ],
1433
- VC: [
1434
- "h",
1435
- "hb",
1436
- "H",
1437
- "hB"
1438
- ],
1439
- VE: [
1440
- "h",
1441
- "H",
1442
- "hB",
1443
- "hb"
1444
- ],
1445
- VG: [
1446
- "h",
1447
- "hb",
1448
- "H",
1449
- "hB"
1450
- ],
1451
- VI: [
1452
- "h",
1453
- "hb",
1454
- "H",
1455
- "hB"
1456
- ],
1457
- VN: ["H", "h"],
1458
- VU: ["h", "H"],
1459
- WF: ["H", "hB"],
1460
- WS: ["h", "H"],
1461
- XK: [
1462
- "H",
1463
- "hB",
1464
- "h"
1465
- ],
1466
- YE: [
1467
- "h",
1468
- "hB",
1469
- "hb",
1470
- "H"
1471
- ],
1472
- YT: ["H", "hB"],
1473
- ZA: [
1474
- "H",
1475
- "h",
1476
- "hb",
1477
- "hB"
1478
- ],
1479
- ZM: [
1480
- "h",
1481
- "hb",
1482
- "H",
1483
- "hB"
1484
- ],
1485
- ZW: ["H", "h"],
1486
- "af-ZA": [
1487
- "H",
1488
- "h",
1489
- "hB",
1490
- "hb"
1491
- ],
1492
- "ar-001": [
1493
- "h",
1494
- "hB",
1495
- "hb",
1496
- "H"
1497
- ],
1498
- "ca-ES": [
1499
- "H",
1500
- "h",
1501
- "hB"
1502
- ],
1503
- "en-001": [
1504
- "h",
1505
- "hb",
1506
- "H",
1507
- "hB"
1508
- ],
1509
- "en-HK": [
1510
- "h",
1511
- "hb",
1512
- "H",
1513
- "hB"
1514
- ],
1515
- "en-IL": [
1516
- "H",
1517
- "h",
1518
- "hb",
1519
- "hB"
1520
- ],
1521
- "en-MY": [
1522
- "h",
1523
- "hb",
1524
- "H",
1525
- "hB"
1526
- ],
1527
- "es-BR": [
1528
- "H",
1529
- "h",
1530
- "hB",
1531
- "hb"
1532
- ],
1533
- "es-ES": [
1534
- "H",
1535
- "h",
1536
- "hB",
1537
- "hb"
1538
- ],
1539
- "es-GQ": [
1540
- "H",
1541
- "h",
1542
- "hB",
1543
- "hb"
1544
- ],
1545
- "fr-CA": [
1546
- "H",
1547
- "h",
1548
- "hB"
1549
- ],
1550
- "gl-ES": [
1551
- "H",
1552
- "h",
1553
- "hB"
1554
- ],
1555
- "gu-IN": [
1556
- "hB",
1557
- "hb",
1558
- "h",
1559
- "H"
1560
- ],
1561
- "hi-IN": [
1562
- "hB",
1563
- "h",
1564
- "H"
1565
- ],
1566
- "it-CH": [
1567
- "H",
1568
- "h",
1569
- "hB"
1570
- ],
1571
- "it-IT": [
1572
- "H",
1573
- "h",
1574
- "hB"
1575
- ],
1576
- "kn-IN": [
1577
- "hB",
1578
- "h",
1579
- "H"
1580
- ],
1581
- "ku-SY": ["H", "hB"],
1582
- "ml-IN": [
1583
- "hB",
1584
- "h",
1585
- "H"
1586
- ],
1587
- "mr-IN": [
1588
- "hB",
1589
- "hb",
1590
- "h",
1591
- "H"
1592
- ],
1593
- "pa-IN": [
1594
- "hB",
1595
- "hb",
1596
- "h",
1597
- "H"
1598
- ],
1599
- "ta-IN": [
1600
- "hB",
1601
- "h",
1602
- "hb",
1603
- "H"
1604
- ],
1605
- "te-IN": [
1606
- "hB",
1607
- "h",
1608
- "H"
1609
- ],
1610
- "zu-ZA": [
1611
- "H",
1612
- "hB",
1613
- "hb",
1614
- "h"
1615
- ]
1616
- };
1617
- function he(e, t) {
1618
- let n = "";
1619
- for (let r = 0; r < e.length; r++) {
1620
- let i = e.charAt(r);
1621
- if (i === "j") {
1622
- let a = 0;
1623
- for (; r + 1 < e.length && e.charAt(r + 1) === i;) a++, r++;
1624
- let o = 1 + (a & 1), s = a < 2 ? 1 : 3 + (a >> 1), c = ge(t);
1625
- for ((c == "H" || c == "k") && (s = 0); s-- > 0;) n += "a";
1626
- for (; o-- > 0;) n = c + n;
1627
- } else i === "J" ? n += "H" : n += i;
1628
- }
1629
- return n;
1630
- }
1631
- function ge(e) {
1632
- let t = e.hourCycle;
1633
- if (t === void 0 && e.hourCycles && e.hourCycles.length && (t = e.hourCycles[0]), t) switch (t) {
1634
- case "h24": return "k";
1635
- case "h23": return "H";
1636
- case "h12": return "h";
1637
- case "h11": return "K";
1638
- default: throw Error("Invalid hourCycle");
1639
- }
1640
- let n = e.language, r;
1641
- return n !== "root" && (r = e.maximize().region), (me[r || ""] || me[n || ""] || me[`${n}-001`] || me["001"])[0];
1642
- }
1643
- var _e = RegExp(`^${pe.source}*`), ve = RegExp(`${pe.source}*$`);
1644
- function V(e, t) {
1645
- return {
1646
- start: e,
1647
- end: t
1648
- };
1649
- }
1650
- var ye = !!Object.fromEntries, be = !!String.prototype.trimStart, xe = !!String.prototype.trimEnd, Se = ye ? Object.fromEntries : function(e) {
1651
- let t = {};
1652
- for (let [n, r] of e) t[n] = r;
1653
- return t;
1654
- }, Ce = be ? function(e) {
1655
- return e.trimStart();
1656
- } : function(e) {
1657
- return e.replace(_e, "");
1658
- }, we = xe ? function(e) {
1659
- return e.trimEnd();
1660
- } : function(e) {
1661
- return e.replace(ve, "");
1662
- }, Te = /* @__PURE__ */ RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1663
- function Ee(e, t) {
1664
- return Te.lastIndex = t, Te.exec(e)[1] ?? "";
1665
- }
1666
- var De = class {
1667
- constructor(e, t = {}) {
1668
- this.message = e, this.position = {
1669
- offset: 0,
1670
- line: 1,
1671
- column: 1
1672
- }, this.ignoreTag = !!t.ignoreTag, this.locale = t.locale, this.requiresOtherClause = !!t.requiresOtherClause, this.shouldParseSkeletons = !!t.shouldParseSkeletons;
1673
- }
1674
- parse() {
1675
- if (this.offset() !== 0) throw Error("parser can only be used once");
1676
- return this.parseMessage(0, "", !1);
1677
- }
1678
- parseMessage(e, t, n) {
1679
- let r = [];
1680
- for (; !this.isEOF();) {
1681
- let i = this.char();
1682
- if (i === 123) {
1683
- let t = this.parseArgument(e, n);
1684
- if (t.err) return t;
1685
- r.push(t.val);
1686
- } else if (i === 125 && e > 0) break;
1687
- else if (i === 35 && (t === "plural" || t === "selectordinal")) {
1688
- let e = this.clonePosition();
1689
- this.bump(), r.push({
1690
- type: N.pound,
1691
- location: V(e, this.clonePosition())
1692
- });
1693
- } else if (i === 60 && !this.ignoreTag && this.peek() === 47) {
1694
- if (n) break;
1695
- return this.error(M.UNMATCHED_CLOSING_TAG, V(this.clonePosition(), this.clonePosition()));
1696
- } else if (i === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
1697
- let n = this.parseTag(e, t);
1698
- if (n.err) return n;
1699
- r.push(n.val);
1700
- } else {
1701
- let n = this.parseLiteral(e, t);
1702
- if (n.err) return n;
1703
- r.push(n.val);
1704
- }
1705
- }
1706
- return {
1707
- val: r,
1708
- err: null
1709
- };
1710
- }
1711
- parseTag(e, t) {
1712
- let n = this.clonePosition();
1713
- this.bump();
1714
- let r = this.parseTagName();
1715
- if (this.bumpSpace(), this.bumpIf("/>")) return {
1716
- val: {
1717
- type: N.literal,
1718
- value: `<${r}/>`,
1719
- location: V(n, this.clonePosition())
1720
- },
1721
- err: null
1722
- };
1723
- if (this.bumpIf(">")) {
1724
- let i = this.parseMessage(e + 1, t, !0);
1725
- if (i.err) return i;
1726
- let a = i.val, o = this.clonePosition();
1727
- if (this.bumpIf("</")) {
1728
- if (this.isEOF() || !Oe(this.char())) return this.error(M.INVALID_TAG, V(o, this.clonePosition()));
1729
- let e = this.clonePosition();
1730
- return r === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
1731
- val: {
1732
- type: N.tag,
1733
- value: r,
1734
- children: a,
1735
- location: V(n, this.clonePosition())
1736
- },
1737
- err: null
1738
- } : this.error(M.INVALID_TAG, V(o, this.clonePosition()))) : this.error(M.UNMATCHED_CLOSING_TAG, V(e, this.clonePosition()));
1739
- } else return this.error(M.UNCLOSED_TAG, V(n, this.clonePosition()));
1740
- } else return this.error(M.INVALID_TAG, V(n, this.clonePosition()));
1741
- }
1742
- parseTagName() {
1743
- let e = this.offset();
1744
- for (this.bump(); !this.isEOF() && Ae(this.char());) this.bump();
1745
- return this.message.slice(e, this.offset());
1746
- }
1747
- parseLiteral(e, t) {
1748
- let n = this.clonePosition(), r = "";
1749
- for (;;) {
1750
- let n = this.tryParseQuote(t);
1751
- if (n) {
1752
- r += n;
1753
- continue;
1754
- }
1755
- let i = this.tryParseUnquoted(e, t);
1756
- if (i) {
1757
- r += i;
1758
- continue;
1759
- }
1760
- let a = this.tryParseLeftAngleBracket();
1761
- if (a) {
1762
- r += a;
1763
- continue;
1764
- }
1765
- break;
1766
- }
1767
- let i = V(n, this.clonePosition());
1768
- return {
1769
- val: {
1770
- type: N.literal,
1771
- value: r,
1772
- location: i
1773
- },
1774
- err: null
1775
- };
1776
- }
1777
- tryParseLeftAngleBracket() {
1778
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !ke(this.peek() || 0)) ? (this.bump(), "<") : null;
1779
- }
1780
- tryParseQuote(e) {
1781
- if (this.isEOF() || this.char() !== 39) return null;
1782
- switch (this.peek()) {
1783
- case 39: return this.bump(), this.bump(), "'";
1784
- case 123:
1785
- case 60:
1786
- case 62:
1787
- case 125: break;
1788
- case 35:
1789
- if (e === "plural" || e === "selectordinal") break;
1790
- return null;
1791
- default: return null;
1792
- }
1793
- this.bump();
1794
- let t = [this.char()];
1795
- for (this.bump(); !this.isEOF();) {
1796
- let e = this.char();
1797
- if (e === 39) if (this.peek() === 39) t.push(39), this.bump();
1798
- else {
1799
- this.bump();
1800
- break;
1801
- }
1802
- else t.push(e);
1803
- this.bump();
1804
- }
1805
- return String.fromCodePoint(...t);
1806
- }
1807
- tryParseUnquoted(e, t) {
1808
- if (this.isEOF()) return null;
1809
- let n = this.char();
1810
- return n === 60 || n === 123 || n === 35 && (t === "plural" || t === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(), String.fromCodePoint(n));
1811
- }
1812
- parseArgument(e, t) {
1813
- let n = this.clonePosition();
1814
- if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, V(n, this.clonePosition()));
1815
- if (this.char() === 125) return this.bump(), this.error(M.EMPTY_ARGUMENT, V(n, this.clonePosition()));
1816
- let r = this.parseIdentifierIfPossible().value;
1817
- if (!r) return this.error(M.MALFORMED_ARGUMENT, V(n, this.clonePosition()));
1818
- if (this.bumpSpace(), this.isEOF()) return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, V(n, this.clonePosition()));
1819
- switch (this.char()) {
1820
- case 125: return this.bump(), {
1821
- val: {
1822
- type: N.argument,
1823
- value: r,
1824
- location: V(n, this.clonePosition())
1825
- },
1826
- err: null
1827
- };
1828
- case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, V(n, this.clonePosition())) : this.parseArgumentOptions(e, t, r, n);
1829
- default: return this.error(M.MALFORMED_ARGUMENT, V(n, this.clonePosition()));
1830
- }
1831
- }
1832
- parseIdentifierIfPossible() {
1833
- let e = this.clonePosition(), t = this.offset(), n = Ee(this.message, t), r = t + n.length;
1834
- return this.bumpTo(r), {
1835
- value: n,
1836
- location: V(e, this.clonePosition())
1837
- };
1838
- }
1839
- parseArgumentOptions(e, t, n, r) {
1840
- let i = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
1841
- switch (a) {
1842
- case "": return this.error(M.EXPECT_ARGUMENT_TYPE, V(i, o));
1843
- case "number":
1844
- case "date":
1845
- case "time": {
1846
- this.bumpSpace();
1847
- let e = null;
1848
- if (this.bumpIf(",")) {
1849
- this.bumpSpace();
1850
- let t = this.clonePosition(), n = this.parseSimpleArgStyleIfPossible();
1851
- if (n.err) return n;
1852
- let r = we(n.val);
1853
- if (r.length === 0) return this.error(M.EXPECT_ARGUMENT_STYLE, V(this.clonePosition(), this.clonePosition()));
1854
- e = {
1855
- style: r,
1856
- styleLocation: V(t, this.clonePosition())
1857
- };
1858
- }
1859
- let t = this.tryParseArgumentClose(r);
1860
- if (t.err) return t;
1861
- let i = V(r, this.clonePosition());
1862
- if (e && e.style.startsWith("::")) {
1863
- let t = Ce(e.style.slice(2));
1864
- if (a === "number") {
1865
- let r = this.parseNumberSkeletonFromString(t, e.styleLocation);
1866
- return r.err ? r : {
1867
- val: {
1868
- type: N.number,
1869
- value: n,
1870
- location: i,
1871
- style: r.val
1872
- },
1873
- err: null
1874
- };
1875
- } else {
1876
- if (t.length === 0) return this.error(M.EXPECT_DATE_TIME_SKELETON, i);
1877
- let r = t;
1878
- this.locale && (r = he(t, this.locale));
1879
- let o = {
1880
- type: P.dateTime,
1881
- pattern: r,
1882
- location: e.styleLocation,
1883
- parsedOptions: this.shouldParseSkeletons ? ne(r) : {}
1884
- };
1885
- return {
1886
- val: {
1887
- type: a === "date" ? N.date : N.time,
1888
- value: n,
1889
- location: i,
1890
- style: o
1891
- },
1892
- err: null
1893
- };
1894
- }
1895
- }
1896
- return {
1897
- val: {
1898
- type: a === "number" ? N.number : a === "date" ? N.date : N.time,
1899
- value: n,
1900
- location: i,
1901
- style: e?.style ?? null
1902
- },
1903
- err: null
1904
- };
1905
- }
1906
- case "plural":
1907
- case "selectordinal":
1908
- case "select": {
1909
- let i = this.clonePosition();
1910
- if (this.bumpSpace(), !this.bumpIf(",")) return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, V(i, { ...i }));
1911
- this.bumpSpace();
1912
- let o = this.parseIdentifierIfPossible(), s = 0;
1913
- if (a !== "select" && o.value === "offset") {
1914
- if (!this.bumpIf(":")) return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, V(this.clonePosition(), this.clonePosition()));
1915
- this.bumpSpace();
1916
- let e = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
1917
- if (e.err) return e;
1918
- this.bumpSpace(), o = this.parseIdentifierIfPossible(), s = e.val;
1919
- }
1920
- let c = this.tryParsePluralOrSelectOptions(e, a, t, o);
1921
- if (c.err) return c;
1922
- let l = this.tryParseArgumentClose(r);
1923
- if (l.err) return l;
1924
- let u = V(r, this.clonePosition());
1925
- return a === "select" ? {
1926
- val: {
1927
- type: N.select,
1928
- value: n,
1929
- options: Se(c.val),
1930
- location: u
1931
- },
1932
- err: null
1933
- } : {
1934
- val: {
1935
- type: N.plural,
1936
- value: n,
1937
- options: Se(c.val),
1938
- offset: s,
1939
- pluralType: a === "plural" ? "cardinal" : "ordinal",
1940
- location: u
1941
- },
1942
- err: null
1943
- };
1944
- }
1945
- default: return this.error(M.INVALID_ARGUMENT_TYPE, V(i, o));
1946
- }
1947
- }
1948
- tryParseArgumentClose(e) {
1949
- return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, V(e, this.clonePosition())) : (this.bump(), {
1950
- val: !0,
1951
- err: null
1952
- });
1953
- }
1954
- parseSimpleArgStyleIfPossible() {
1955
- let e = 0, t = this.clonePosition();
1956
- for (; !this.isEOF();) switch (this.char()) {
1957
- case 39: {
1958
- this.bump();
1959
- let e = this.clonePosition();
1960
- if (!this.bumpUntil("'")) return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, V(e, this.clonePosition()));
1961
- this.bump();
1962
- break;
1963
- }
1964
- case 123:
1965
- e += 1, this.bump();
1966
- break;
1967
- case 125:
1968
- if (e > 0) --e;
1969
- else return {
1970
- val: this.message.slice(t.offset, this.offset()),
1971
- err: null
1972
- };
1973
- break;
1974
- default:
1975
- this.bump();
1976
- break;
1977
- }
1978
- return {
1979
- val: this.message.slice(t.offset, this.offset()),
1980
- err: null
1981
- };
1982
- }
1983
- parseNumberSkeletonFromString(e, t) {
1984
- let n = [];
1985
- try {
1986
- n = re(e);
1987
- } catch {
1988
- return this.error(M.INVALID_NUMBER_SKELETON, t);
1989
- }
1990
- return {
1991
- val: {
1992
- type: P.number,
1993
- tokens: n,
1994
- location: t,
1995
- parsedOptions: this.shouldParseSkeletons ? se(n) : {}
1996
- },
1997
- err: null
1998
- };
1999
- }
2000
- tryParsePluralOrSelectOptions(e, t, n, r) {
2001
- let i = !1, a = [], o = /* @__PURE__ */ new Set(), { value: s, location: c } = r;
2002
- for (;;) {
2003
- if (s.length === 0) {
2004
- let e = this.clonePosition();
2005
- if (t !== "select" && this.bumpIf("=")) {
2006
- let t = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2007
- if (t.err) return t;
2008
- c = V(e, this.clonePosition()), s = this.message.slice(e.offset, this.offset());
2009
- } else break;
2010
- }
2011
- if (o.has(s)) return this.error(t === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
2012
- s === "other" && (i = !0), this.bumpSpace();
2013
- let r = this.clonePosition();
2014
- if (!this.bumpIf("{")) return this.error(t === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, V(this.clonePosition(), this.clonePosition()));
2015
- let l = this.parseMessage(e + 1, t, n);
2016
- if (l.err) return l;
2017
- let u = this.tryParseArgumentClose(r);
2018
- if (u.err) return u;
2019
- a.push([s, {
2020
- value: l.val,
2021
- location: V(r, this.clonePosition())
2022
- }]), o.add(s), this.bumpSpace(), {value: s, location: c} = this.parseIdentifierIfPossible();
2023
- }
2024
- return a.length === 0 ? this.error(t === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, V(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !i ? this.error(M.MISSING_OTHER_CLAUSE, V(this.clonePosition(), this.clonePosition())) : {
2025
- val: a,
2026
- err: null
2027
- };
2028
- }
2029
- tryParseDecimalInteger(e, t) {
2030
- let n = 1, r = this.clonePosition();
2031
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2032
- let i = !1, a = 0;
2033
- for (; !this.isEOF();) {
2034
- let e = this.char();
2035
- if (e >= 48 && e <= 57) i = !0, a = a * 10 + (e - 48), this.bump();
2036
- else break;
2037
- }
2038
- let o = V(r, this.clonePosition());
2039
- return i ? (a *= n, Number.isSafeInteger(a) ? {
2040
- val: a,
2041
- err: null
2042
- } : this.error(t, o)) : this.error(e, o);
2043
- }
2044
- offset() {
2045
- return this.position.offset;
2046
- }
2047
- isEOF() {
2048
- return this.offset() === this.message.length;
2049
- }
2050
- clonePosition() {
2051
- return {
2052
- offset: this.position.offset,
2053
- line: this.position.line,
2054
- column: this.position.column
2055
- };
2056
- }
2057
- char() {
2058
- let e = this.position.offset;
2059
- if (e >= this.message.length) throw Error("out of bound");
2060
- let t = this.message.codePointAt(e);
2061
- if (t === void 0) throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);
2062
- return t;
2063
- }
2064
- error(e, t) {
2065
- return {
2066
- val: null,
2067
- err: {
2068
- kind: e,
2069
- message: this.message,
2070
- location: t
2071
- }
2072
- };
2073
- }
2074
- bump() {
2075
- if (this.isEOF()) return;
2076
- let e = this.char();
2077
- e === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += e < 65536 ? 1 : 2);
2078
- }
2079
- bumpIf(e) {
2080
- if (this.message.startsWith(e, this.offset())) {
2081
- for (let t = 0; t < e.length; t++) this.bump();
2082
- return !0;
2083
- }
2084
- return !1;
2085
- }
2086
- bumpUntil(e) {
2087
- let t = this.offset(), n = this.message.indexOf(e, t);
2088
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
2089
- }
2090
- bumpTo(e) {
2091
- if (this.offset() > e) throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);
2092
- for (e = Math.min(e, this.message.length);;) {
2093
- let t = this.offset();
2094
- if (t === e) break;
2095
- if (t > e) throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);
2096
- if (this.bump(), this.isEOF()) break;
2097
- }
2098
- }
2099
- bumpSpace() {
2100
- for (; !this.isEOF() && je(this.char());) this.bump();
2101
- }
2102
- peek() {
2103
- if (this.isEOF()) return null;
2104
- let e = this.char(), t = this.offset();
2105
- return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
2106
- }
2107
- };
2108
- function Oe(e) {
2109
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2110
- }
2111
- function ke(e) {
2112
- return Oe(e) || e === 47;
2113
- }
2114
- function Ae(e) {
2115
- 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;
2116
- }
2117
- function je(e) {
2118
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2119
- }
2120
- function Me(e) {
2121
- e.forEach((e) => {
2122
- if (delete e.location, R(e) || z(e)) for (let t in e.options) delete e.options[t].location, Me(e.options[t].value);
2123
- else I(e) && de(e.style) || (le(e) || L(e)) && fe(e.style) ? delete e.style.location : ue(e) && Me(e.children);
2124
- });
2125
- }
2126
- function Ne(e, t = {}) {
2127
- t = {
2128
- shouldParseSkeletons: !0,
2129
- requiresOtherClause: !0,
2130
- ...t
2131
- };
2132
- let n = new De(e, t).parse();
2133
- if (n.err) {
2134
- let e = SyntaxError(M[n.err.kind]);
2135
- throw e.location = n.err.location, e.originalMessage = n.err.message, e;
2136
- }
2137
- return t?.captureLocation || Me(n.val), n.val;
2138
- }
2139
- //#endregion
2140
- //#region node_modules/intl-messageformat/index.js
2141
- var H, Pe = /* @__PURE__ */ function(e) {
2142
- return e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API", e;
2143
- }({}), Fe = class extends Error {
2144
- constructor(e, t, n) {
2145
- super(e), this.code = t, this.originalMessage = n;
2146
- }
2147
- toString() {
2148
- return `[formatjs Error: ${this.code}] ${this.message}`;
2149
- }
2150
- }, Ie = class extends Fe {
2151
- constructor(e, t, n, r) {
2152
- super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(n).join("\", \"")}"`, Pe.INVALID_VALUE, r);
2153
- }
2154
- }, Le = class extends Fe {
2155
- constructor(e, t, n) {
2156
- super(`Value for "${e}" must be of type ${t}`, Pe.INVALID_VALUE, n);
2157
- }
2158
- }, Re = class extends Fe {
2159
- constructor(e, t) {
2160
- super(`The intl string context variable "${e}" was not provided to the string "${t}"`, Pe.MISSING_VALUE, t);
2161
- }
2162
- }, U = /* @__PURE__ */ function(e) {
2163
- return e[e.literal = 0] = "literal", e[e.object = 1] = "object", e;
2164
- }({});
2165
- function ze(e) {
2166
- return e.length < 2 ? e : e.reduce((e, t) => {
2167
- let n = e[e.length - 1];
2168
- return !n || n.type !== U.literal || t.type !== U.literal ? e.push(t) : n.value += t.value, e;
2169
- }, []);
2170
- }
2171
- function Be(e) {
2172
- return typeof e == "function";
2173
- }
2174
- function Ve(e, t, n, r, i, a, o) {
2175
- if (e.length === 1 && F(e[0])) return [{
2176
- type: U.literal,
2177
- value: e[0].value
2178
- }];
2179
- let s = [];
2180
- for (let c of e) {
2181
- if (F(c)) {
2182
- s.push({
2183
- type: U.literal,
2184
- value: c.value
2185
- });
2186
- continue;
2187
- }
2188
- if (B(c)) {
2189
- typeof a == "number" && s.push({
2190
- type: U.literal,
2191
- value: n.getNumberFormat(t).format(a)
2192
- });
2193
- continue;
2194
- }
2195
- let { value: e } = c;
2196
- if (!(i && e in i)) throw new Re(e, o);
2197
- let l = i[e];
2198
- if (ce(c)) {
2199
- (!l || typeof l == "string" || typeof l == "number" || typeof l == "bigint") && (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
2200
- type: typeof l == "string" ? U.literal : U.object,
2201
- value: l
2202
- });
2203
- continue;
2204
- }
2205
- if (le(c)) {
2206
- let e = typeof c.style == "string" ? r.date[c.style] : fe(c.style) ? c.style.parsedOptions : void 0;
2207
- s.push({
2208
- type: U.literal,
2209
- value: n.getDateTimeFormat(t, e).format(l)
2210
- });
2211
- continue;
2212
- }
2213
- if (L(c)) {
2214
- let e = typeof c.style == "string" ? r.time[c.style] : fe(c.style) ? c.style.parsedOptions : r.time.medium;
2215
- s.push({
2216
- type: U.literal,
2217
- value: n.getDateTimeFormat(t, e).format(l)
2218
- });
2219
- continue;
2220
- }
2221
- if (I(c)) {
2222
- let e = typeof c.style == "string" ? r.number[c.style] : de(c.style) ? c.style.parsedOptions : void 0;
2223
- if (e && e.scale) {
2224
- let t = e.scale || 1;
2225
- if (typeof l == "bigint") {
2226
- if (!Number.isInteger(t)) throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);
2227
- l *= BigInt(t);
2228
- } else l *= t;
2229
- }
2230
- s.push({
2231
- type: U.literal,
2232
- value: n.getNumberFormat(t, e).format(l)
2233
- });
2234
- continue;
2235
- }
2236
- if (ue(c)) {
2237
- let { children: e, value: l } = c, u = i[l];
2238
- if (!Be(u)) throw new Le(l, "function", o);
2239
- let d = u(Ve(e, t, n, r, i, a).map((e) => e.value));
2240
- Array.isArray(d) || (d = [d]), s.push(...d.map((e) => ({
2241
- type: typeof e == "string" ? U.literal : U.object,
2242
- value: e
2243
- })));
2244
- }
2245
- if (R(c)) {
2246
- let e = l, a = (Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0) || c.options.other;
2247
- if (!a) throw new Ie(c.value, l, Object.keys(c.options), o);
2248
- s.push(...Ve(a.value, t, n, r, i));
2249
- continue;
2250
- }
2251
- if (z(c)) {
2252
- let e = `=${l}`, a = Object.prototype.hasOwnProperty.call(c.options, e) ? c.options[e] : void 0;
2253
- if (!a) {
2254
- if (!Intl.PluralRules) throw new Fe("Intl.PluralRules is not available in this environment.\nTry polyfilling it using \"@formatjs/intl-pluralrules\"\n", Pe.MISSING_INTL_API, o);
2255
- let e = typeof l == "bigint" ? Number(l) : l, r = n.getPluralRules(t, { type: c.pluralType }).select(e - (c.offset || 0));
2256
- a = (Object.prototype.hasOwnProperty.call(c.options, r) ? c.options[r] : void 0) || c.options.other;
2257
- }
2258
- if (!a) throw new Ie(c.value, l, Object.keys(c.options), o);
2259
- let u = typeof l == "bigint" ? Number(l) : l;
2260
- s.push(...Ve(a.value, t, n, r, i, u - (c.offset || 0)));
2261
- continue;
2262
- }
2263
- }
2264
- return ze(s);
2265
- }
2266
- function He(e, t) {
2267
- return t ? {
2268
- ...e,
2269
- ...t,
2270
- ...Object.keys(e).reduce((n, r) => (n[r] = {
2271
- ...e[r],
2272
- ...t[r]
2273
- }, n), {})
2274
- } : e;
2275
- }
2276
- function Ue(e, t) {
2277
- return t ? Object.keys(e).reduce((n, r) => (n[r] = He(e[r], t[r]), n), { ...e }) : e;
2278
- }
2279
- function We(e) {
2280
- return { create() {
2281
- return {
2282
- get(t) {
2283
- return e[t];
2284
- },
2285
- set(t, n) {
2286
- e[t] = n;
2287
- }
2288
- };
2289
- } };
2290
- }
2291
- function Ge(e = {
2292
- number: {},
2293
- dateTime: {},
2294
- pluralRules: {}
2295
- }) {
2296
- return {
2297
- getNumberFormat: c((...e) => new Intl.NumberFormat(...e), {
2298
- cache: We(e.number),
2299
- strategy: y.variadic
2300
- }),
2301
- getDateTimeFormat: c((...e) => new Intl.DateTimeFormat(...e), {
2302
- cache: We(e.dateTime),
2303
- strategy: y.variadic
2304
- }),
2305
- getPluralRules: c((...e) => new Intl.PluralRules(...e), {
2306
- cache: We(e.pluralRules),
2307
- strategy: y.variadic
2308
- })
2309
- };
2310
- }
2311
- var Ke = (H = class e {
2312
- constructor(t, n = e.defaultLocale, r, i) {
2313
- if (this.formatterCache = {
2314
- number: {},
2315
- dateTime: {},
2316
- pluralRules: {}
2317
- }, this.format = (e) => {
2318
- let t = this.formatToParts(e);
2319
- if (t.length === 1) return t[0].value;
2320
- let n = t.reduce((e, t) => (!e.length || t.type !== U.literal || typeof e[e.length - 1] != "string" ? e.push(t.value) : e[e.length - 1] += t.value, e), []);
2321
- return n.length <= 1 ? n[0] || "" : n;
2322
- }, this.formatToParts = (e) => Ve(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") {
2323
- if (this.message = t, !e.__parse) throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2324
- let { ...n } = i || {};
2325
- this.ast = e.__parse(t, {
2326
- ...n,
2327
- locale: this.resolvedLocale
2328
- });
2329
- } else this.ast = t;
2330
- if (!Array.isArray(this.ast)) throw TypeError("A message must be provided as a String or AST.");
2331
- this.formats = Ue(e.formats, r), this.formatters = i && i.formatters || Ge(this.formatterCache);
2332
- }
2333
- static get defaultLocale() {
2334
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
2335
- }
2336
- }, H.memoizedDefaultLocale = null, H.resolveLocale = (e) => {
2337
- if (Intl.Locale === void 0) return;
2338
- let t = Intl.NumberFormat.supportedLocalesOf(e);
2339
- return t.length > 0 ? new Intl.Locale(t[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
2340
- }, H.__parse = Ne, H.formats = {
2341
- number: {
2342
- integer: { maximumFractionDigits: 0 },
2343
- currency: { style: "currency" },
2344
- percent: { style: "percent" }
2345
- },
2346
- date: {
2347
- short: {
2348
- month: "numeric",
2349
- day: "numeric",
2350
- year: "2-digit"
2351
- },
2352
- medium: {
2353
- month: "short",
2354
- day: "numeric",
2355
- year: "numeric"
2356
- },
2357
- long: {
2358
- month: "long",
2359
- day: "numeric",
2360
- year: "numeric"
2361
- },
2362
- full: {
2363
- weekday: "long",
2364
- month: "long",
2365
- day: "numeric",
2366
- year: "numeric"
2367
- }
2368
- },
2369
- time: {
2370
- short: {
2371
- hour: "numeric",
2372
- minute: "numeric"
2373
- },
2374
- medium: {
2375
- hour: "numeric",
2376
- minute: "numeric",
2377
- second: "numeric"
2378
- },
2379
- long: {
2380
- hour: "numeric",
2381
- minute: "numeric",
2382
- second: "numeric",
2383
- timeZoneName: "short"
2384
- },
2385
- full: {
2386
- hour: "numeric",
2387
- minute: "numeric",
2388
- second: "numeric",
2389
- timeZoneName: "short"
2390
- }
2391
- }
2392
- }, H);
2393
- //#endregion
2394
- //#region node_modules/use-intl/dist/esm/production/format-message/index.js
2395
- function qe(...[e, t, n, r]) {
2396
- if (Array.isArray(t)) throw new b(x.INVALID_MESSAGE, void 0);
2397
- if (typeof t == "object") throw new b(x.INSUFFICIENT_PATH, void 0);
2398
- if (typeof t == "string") {
2399
- let e = function(e, t) {
2400
- return t || /'[{}]/.test(e) ? void 0 : e;
2401
- }(t, n);
2402
- if (e) return e;
2403
- }
2404
- let { cache: a, formats: o, formatters: s, globalFormats: c, locale: l, timeZone: u } = r, d;
2405
- s.getMessageFormat || (s.getMessageFormat = function(e, t) {
2406
- return S(((...e) => new Ke(e[0], e[1], e[2], {
2407
- formatters: t,
2408
- ...e[3]
2409
- })), e.message);
2410
- }(a, s));
2411
- try {
2412
- d = s.getMessageFormat(t, l, function(e, t, n) {
2413
- let r = Ke.formats.date, i = Ke.formats.time, a = {
2414
- ...e?.dateTime,
2415
- ...t?.dateTime
2416
- }, o = {
2417
- date: {
2418
- ...r,
2419
- ...a
2420
- },
2421
- time: {
2422
- ...i,
2423
- ...a
2424
- },
2425
- number: {
2426
- ...e?.number,
2427
- ...t?.number
2428
- }
2429
- };
2430
- return n && ["date", "time"].forEach(((e) => {
2431
- let t = o[e];
2432
- for (let [e, r] of Object.entries(t)) t[e] = {
2433
- timeZone: n,
2434
- ...r
2435
- };
2436
- })), o;
2437
- }(c, o, u), { formatters: {
2438
- ...s,
2439
- getDateTimeFormat: (e, t) => s.getDateTimeFormat(e, {
2440
- ...t,
2441
- timeZone: t?.timeZone ?? u
2442
- })
2443
- } });
2444
- } catch {
2445
- throw new b(x.INVALID_MESSAGE, void 0);
2446
- }
2447
- let f = d.format(n);
2448
- return i(f) || Array.isArray(f) || typeof f == "string" ? f : String(f);
2449
- }
2450
- qe.raw = !0;
2451
- //#endregion
2452
- //#region node_modules/use-intl/dist/esm/production/initializeConfig-CHgjheii.js
2453
- function Je(...e) {
2454
- return e.filter(Boolean).join(".");
2455
- }
2456
- function Ye(e) {
2457
- return Je(e.namespace, e.key);
2458
- }
2459
- function Xe(e) {
2460
- console.error(e);
2461
- }
2462
- function Ze(e, t, n, r) {
2463
- let i = Je(r, n);
2464
- if (!t) throw Error(i);
2465
- let a = t;
2466
- return n.split(".").forEach(((t) => {
2467
- let n = a[t];
2468
- if (t == null || n == null) throw Error(i + ` (${e})`);
2469
- a = n;
2470
- })), a;
2471
- }
2472
- function Qe(t) {
2473
- let n = function(e, t, n) {
2474
- try {
2475
- if (!t) throw Error(void 0);
2476
- let r = n ? Ze(e, t, n) : t;
2477
- if (!r) throw Error(n);
2478
- return r;
2479
- } catch (e) {
2480
- return new b(x.MISSING_MESSAGE, e.message);
2481
- }
2482
- }(t.locale, t.messages, t.namespace);
2483
- return function({ cache: t, formats: n, formatters: r, getMessageFallback: a = Ye, locale: o, messagesOrError: s, namespace: c, onError: l, timeZone: u }) {
2484
- let d = s instanceof b;
2485
- function f(e, t, n, r) {
2486
- let i = new b(t, n);
2487
- return l(i), r ?? a({
2488
- error: i,
2489
- key: e,
2490
- namespace: c
2491
- });
2492
- }
2493
- function p(p, m, h, g) {
2494
- let _ = g, v;
2495
- if (d) {
2496
- if (!_) return l(s), a({
2497
- error: s,
2498
- key: p,
2499
- namespace: c
2500
- });
2501
- v = _;
2502
- } else {
2503
- let e = s;
2504
- try {
2505
- v = Ze(o, e, p, c);
2506
- } catch (e) {
2507
- if (!_) return f(p, x.MISSING_MESSAGE, e.message, _);
2508
- v = _;
2509
- }
2510
- }
2511
- try {
2512
- return qe(Je(c, p), v, m && function(t) {
2513
- let n = {};
2514
- return Object.keys(t).forEach(((r) => {
2515
- let a = 0, o = t[r], s;
2516
- s = typeof o == "function" ? (t) => {
2517
- let n = o(t);
2518
- return i(n) ? e(n, { key: r + a++ }) : n;
2519
- } : o, n[r] = s;
2520
- })), n;
2521
- }(m), {
2522
- cache: t,
2523
- formatters: r,
2524
- globalFormats: n,
2525
- formats: h,
2526
- locale: o,
2527
- timeZone: u
2528
- });
2529
- } catch (e) {
2530
- let t, n;
2531
- return e instanceof b ? (t = e.code, n = e.originalMessage) : (t = x.FORMATTING_ERROR, n = e.message), f(p, t, n, _);
2532
- }
2533
- }
2534
- function m(e, t, n, r) {
2535
- let i = p(e, t, n, r);
2536
- return typeof i == "string" ? i : f(e, x.INVALID_MESSAGE, void 0);
2537
- }
2538
- return m.rich = p, m.markup = (e, t, n, r) => p(e, t, n, r), m.raw = (e) => {
2539
- if (d) return l(s), a({
2540
- error: s,
2541
- key: e,
2542
- namespace: c
2543
- });
2544
- let t = s;
2545
- try {
2546
- return Ze(o, t, e, c);
2547
- } catch (t) {
2548
- return f(e, x.MISSING_MESSAGE, t.message);
2549
- }
2550
- }, m.has = (e) => {
2551
- if (d) return !1;
2552
- try {
2553
- return Ze(o, s, e, c), !0;
2554
- } catch {
2555
- return !1;
2556
- }
2557
- }, m;
2558
- }({
2559
- ...t,
2560
- messagesOrError: n
2561
- });
2562
- }
2563
- function $e(e, t) {
2564
- return e === t ? void 0 : e.slice((t + ".").length);
2565
- }
2566
- var et = 86400;
2567
- 7 * et, 365 * et;
2568
- function tt({ formats: e, getMessageFallback: t, messages: n, onError: r, ...i }) {
2569
- return {
2570
- ...i,
2571
- formats: e || void 0,
2572
- messages: n || void 0,
2573
- onError: r || Xe,
2574
- getMessageFallback: t || Ye
2575
- };
2576
- }
2577
- //#endregion
2578
- //#region node_modules/use-intl/dist/esm/production/react.js
2579
- var nt = t(void 0);
2580
- function rt({ children: e, formats: t, getMessageFallback: n, locale: r, messages: i, now: c, onError: l, timeZone: u }) {
2581
- let d = a(nt), f = o((() => d?.cache || ee()), [r, d?.cache]), p = o((() => d?.formatters || w(f)), [f, d?.formatters]), m = o((() => ({
2582
- ...tt({
2583
- locale: r,
2584
- formats: t === void 0 ? d?.formats : t,
2585
- getMessageFallback: n || d?.getMessageFallback,
2586
- messages: i === void 0 ? d?.messages : i,
2587
- now: c || d?.now,
2588
- onError: l || d?.onError,
2589
- timeZone: u || d?.timeZone
2590
- }),
2591
- formatters: p,
2592
- cache: f
2593
- })), [
2594
- f,
2595
- t,
2596
- p,
2597
- n,
2598
- r,
2599
- i,
2600
- c,
2601
- l,
2602
- d,
2603
- u
2604
- ]);
2605
- return s(nt.Provider, {
2606
- value: m,
2607
- children: e
2608
- });
2609
- }
2610
- function it() {
2611
- let e = a(nt);
2612
- if (!e) throw Error(void 0);
2613
- return e;
2614
- }
2615
- var at = !1, ot = typeof window > "u";
2616
- function st(e) {
2617
- return function(e, t, n) {
2618
- let { cache: r, formats: i, formatters: a, getMessageFallback: s, locale: c, onError: l, timeZone: u } = it(), d = e[n], f = $e(t, n);
2619
- return u || at || !ot || (at = !0, l(new b(x.ENVIRONMENT_FALLBACK, void 0))), o((() => Qe({
2620
- cache: r,
2621
- formatters: a,
2622
- getMessageFallback: s,
2623
- messages: d,
2624
- namespace: f,
2625
- onError: l,
2626
- formats: i,
2627
- locale: c,
2628
- timeZone: u
2629
- })), [
2630
- r,
2631
- a,
2632
- s,
2633
- d,
2634
- f,
2635
- l,
2636
- i,
2637
- c,
2638
- u
2639
- ]);
2640
- }({ "!": it().messages }, e ? `!.${e}` : "!", "!");
2641
- }
2642
- function ct() {
2643
- return it().locale;
2644
- }
2645
- function lt() {
2646
- let e = it();
2647
- if (!e.messages) throw Error(void 0);
2648
- return e.messages;
2649
- }
2650
- //#endregion
2651
- //#region node_modules/next-intl/dist/esm/production/react-client/index.js
2652
- function ut(e, t) {
2653
- return (...e) => {
2654
- try {
2655
- return t(...e);
2656
- } catch {
2657
- throw Error(void 0);
2658
- }
2659
- };
2660
- }
2661
- var dt = ut(0, st);
2662
- //#endregion
2663
- //#region node_modules/clsx/dist/clsx.mjs
2664
- function ft(e) {
2665
- var t, n, r = "";
2666
- if (typeof e == "string" || typeof e == "number") r += e;
2667
- else if (typeof e == "object") if (Array.isArray(e)) {
2668
- var i = e.length;
2669
- for (t = 0; t < i; t++) e[t] && (n = ft(e[t])) && (r && (r += " "), r += n);
2670
- } else for (n in e) e[n] && (r && (r += " "), r += n);
2671
- return r;
2672
- }
2673
- function pt() {
2674
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ft(e)) && (r && (r += " "), r += t);
2675
- return r;
2676
- }
2677
- //#endregion
2678
- //#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
2679
- var mt = (e, t) => {
2680
- let n = Array(e.length + t.length);
2681
- for (let t = 0; t < e.length; t++) n[t] = e[t];
2682
- for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
2683
- return n;
2684
- }, ht = (e, t) => ({
2685
- classGroupId: e,
2686
- validator: t
2687
- }), gt = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
2688
- nextPart: e,
2689
- validators: t,
2690
- classGroupId: n
2691
- }), _t = "-", vt = [], yt = "arbitrary..", bt = (e) => {
2692
- let t = Ct(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
2693
- return {
2694
- getClassGroupId: (e) => {
2695
- if (e.startsWith("[") && e.endsWith("]")) return St(e);
2696
- let n = e.split(_t);
2697
- return xt(n, +(n[0] === "" && n.length > 1), t);
2698
- },
2699
- getConflictingClassGroupIds: (e, t) => {
2700
- if (t) {
2701
- let t = r[e], i = n[e];
2702
- return t ? i ? mt(i, t) : t : i || vt;
2703
- }
2704
- return n[e] || vt;
2705
- }
2706
- };
2707
- }, xt = (e, t, n) => {
2708
- if (e.length - t === 0) return n.classGroupId;
2709
- let r = e[t], i = n.nextPart.get(r);
2710
- if (i) {
2711
- let n = xt(e, t + 1, i);
2712
- if (n) return n;
2713
- }
2714
- let a = n.validators;
2715
- if (a === null) return;
2716
- let o = t === 0 ? e.join(_t) : e.slice(t).join(_t), s = a.length;
2717
- for (let e = 0; e < s; e++) {
2718
- let t = a[e];
2719
- if (t.validator(o)) return t.classGroupId;
2720
- }
2721
- }, St = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
2722
- let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
2723
- return r ? yt + r : void 0;
2724
- })(), Ct = (e) => {
2725
- let { theme: t, classGroups: n } = e;
2726
- return wt(n, t);
2727
- }, wt = (e, t) => {
2728
- let n = gt();
2729
- for (let r in e) {
2730
- let i = e[r];
2731
- Tt(i, n, r, t);
2732
- }
2733
- return n;
2734
- }, Tt = (e, t, n, r) => {
2735
- let i = e.length;
2736
- for (let a = 0; a < i; a++) {
2737
- let i = e[a];
2738
- Et(i, t, n, r);
2739
- }
2740
- }, Et = (e, t, n, r) => {
2741
- if (typeof e == "string") {
2742
- Dt(e, t, n);
2743
- return;
2744
- }
2745
- if (typeof e == "function") {
2746
- Ot(e, t, n, r);
2747
- return;
2748
- }
2749
- kt(e, t, n, r);
2750
- }, Dt = (e, t, n) => {
2751
- let r = e === "" ? t : At(t, e);
2752
- r.classGroupId = n;
2753
- }, Ot = (e, t, n, r) => {
2754
- if (jt(e)) {
2755
- Tt(e(r), t, n, r);
2756
- return;
2757
- }
2758
- t.validators === null && (t.validators = []), t.validators.push(ht(n, e));
2759
- }, kt = (e, t, n, r) => {
2760
- let i = Object.entries(e), a = i.length;
2761
- for (let e = 0; e < a; e++) {
2762
- let [a, o] = i[e];
2763
- Tt(o, At(t, a), n, r);
2764
- }
2765
- }, At = (e, t) => {
2766
- let n = e, r = t.split(_t), i = r.length;
2767
- for (let e = 0; e < i; e++) {
2768
- let t = r[e], i = n.nextPart.get(t);
2769
- i || (i = gt(), n.nextPart.set(t, i)), n = i;
2770
- }
2771
- return n;
2772
- }, jt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Mt = (e) => {
2773
- if (e < 1) return {
2774
- get: () => void 0,
2775
- set: () => {}
2776
- };
2777
- let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
2778
- n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
2779
- };
2780
- return {
2781
- get(e) {
2782
- let t = n[e];
2783
- if (t !== void 0) return t;
2784
- if ((t = r[e]) !== void 0) return i(e, t), t;
2785
- },
2786
- set(e, t) {
2787
- e in n ? n[e] = t : i(e, t);
2788
- }
2789
- };
2790
- }, Nt = "!", Pt = ":", Ft = [], It = (e, t, n, r, i) => ({
2791
- modifiers: e,
2792
- hasImportantModifier: t,
2793
- baseClassName: n,
2794
- maybePostfixModifierPosition: r,
2795
- isExternal: i
2796
- }), Lt = (e) => {
2797
- let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
2798
- let t = [], n = 0, r = 0, i = 0, a, o = e.length;
2799
- for (let s = 0; s < o; s++) {
2800
- let o = e[s];
2801
- if (n === 0 && r === 0) {
2802
- if (o === Pt) {
2803
- t.push(e.slice(i, s)), i = s + 1;
2804
- continue;
2805
- }
2806
- if (o === "/") {
2807
- a = s;
2808
- continue;
2809
- }
2810
- }
2811
- o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
2812
- }
2813
- let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
2814
- s.endsWith(Nt) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Nt) && (c = s.slice(1), l = !0);
2815
- let u = a && a > i ? a - i : void 0;
2816
- return It(t, l, c, u);
2817
- };
2818
- if (t) {
2819
- let e = t + Pt, n = r;
2820
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : It(Ft, !1, t, void 0, !0);
2821
- }
2822
- if (n) {
2823
- let e = r;
2824
- r = (t) => n({
2825
- className: t,
2826
- parseClassName: e
2827
- });
2828
- }
2829
- return r;
2830
- }, Rt = (e) => {
2831
- let t = /* @__PURE__ */ new Map();
2832
- return e.orderSensitiveModifiers.forEach((e, n) => {
2833
- t.set(e, 1e6 + n);
2834
- }), (e) => {
2835
- let n = [], r = [];
2836
- for (let i = 0; i < e.length; i++) {
2837
- let a = e[i], o = a[0] === "[", s = t.has(a);
2838
- o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
2839
- }
2840
- return r.length > 0 && (r.sort(), n.push(...r)), n;
2841
- };
2842
- }, zt = (e) => ({
2843
- cache: Mt(e.cacheSize),
2844
- parseClassName: Lt(e),
2845
- sortModifiers: Rt(e),
2846
- postfixLookupClassGroupIds: Bt(e),
2847
- ...bt(e)
2848
- }), Bt = (e) => {
2849
- let t = Object.create(null), n = e.postfixLookupClassGroups;
2850
- if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
2851
- return t;
2852
- }, Vt = /\s+/, Ht = (e, t) => {
2853
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Vt), l = "";
2854
- for (let e = c.length - 1; e >= 0; --e) {
2855
- let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
2856
- if (u) {
2857
- l = t + (l.length > 0 ? " " + l : l);
2858
- continue;
2859
- }
2860
- let h = !!m, g;
2861
- if (h) {
2862
- g = r(p.substring(0, m));
2863
- let e = g && o[g] ? r(p) : void 0;
2864
- e && e !== g && (g = e, h = !1);
2865
- } else g = r(p);
2866
- if (!g) {
2867
- if (!h) {
2868
- l = t + (l.length > 0 ? " " + l : l);
2869
- continue;
2870
- }
2871
- if (g = r(p), !g) {
2872
- l = t + (l.length > 0 ? " " + l : l);
2873
- continue;
2874
- }
2875
- h = !1;
2876
- }
2877
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Nt : _, y = v + g;
2878
- if (s.indexOf(y) > -1) continue;
2879
- s.push(y);
2880
- let b = i(g, h);
2881
- for (let e = 0; e < b.length; ++e) {
2882
- let t = b[e];
2883
- s.push(v + t);
2884
- }
2885
- l = t + (l.length > 0 ? " " + l : l);
2886
- }
2887
- return l;
2888
- }, Ut = (...e) => {
2889
- let t = 0, n, r, i = "";
2890
- for (; t < e.length;) (n = e[t++]) && (r = Wt(n)) && (i && (i += " "), i += r);
2891
- return i;
2892
- }, Wt = (e) => {
2893
- if (typeof e == "string") return e;
2894
- let t, n = "";
2895
- for (let r = 0; r < e.length; r++) e[r] && (t = Wt(e[r])) && (n && (n += " "), n += t);
2896
- return n;
2897
- }, Gt = (e, ...t) => {
2898
- let n, r, i, a, o = (o) => (n = zt(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
2899
- let t = r(e);
2900
- if (t) return t;
2901
- let a = Ht(e, n);
2902
- return i(e, a), a;
2903
- };
2904
- return a = o, (...e) => a(Ut(...e));
2905
- }, Kt = [], W = (e) => {
2906
- let t = (t) => t[e] || Kt;
2907
- return t.isThemeGetter = !0, t;
2908
- }, qt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Jt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yt = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Xt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Qt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, $t = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, en = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => Yt.test(e), K = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => !!e && Number.isInteger(Number(e)), tn = (e) => e.endsWith("%") && K(e.slice(0, -1)), J = (e) => Xt.test(e), nn = () => !0, rn = (e) => Zt.test(e) && !Qt.test(e), an = () => !1, on = (e) => $t.test(e), sn = (e) => en.test(e), cn = (e) => !Y(e) && !Z(e), ln = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), un = (e) => Q(e, En, an), Y = (e) => qt.test(e), X = (e) => Q(e, Dn, rn), dn = (e) => Q(e, On, K), fn = (e) => Q(e, An, nn), pn = (e) => Q(e, kn, an), mn = (e) => Q(e, wn, an), hn = (e) => Q(e, Tn, sn), gn = (e) => Q(e, jn, on), Z = (e) => Jt.test(e), _n = (e) => $(e, Dn), vn = (e) => $(e, kn), yn = (e) => $(e, wn), bn = (e) => $(e, En), xn = (e) => $(e, Tn), Sn = (e) => $(e, jn, !0), Cn = (e) => $(e, An, !0), Q = (e, t, n) => {
2909
- let r = qt.exec(e);
2910
- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
2911
- }, $ = (e, t, n = !1) => {
2912
- let r = Jt.exec(e);
2913
- return r ? r[1] ? t(r[1]) : n : !1;
2914
- }, wn = (e) => e === "position" || e === "percentage", Tn = (e) => e === "image" || e === "url", En = (e) => e === "length" || e === "size" || e === "bg-size", Dn = (e) => e === "length", On = (e) => e === "number", kn = (e) => e === "family-name", An = (e) => e === "number" || e === "weight", jn = (e) => e === "shadow", Mn = /* @__PURE__ */ Gt(() => {
2915
- let e = W("color"), t = W("font"), n = W("text"), r = W("font-weight"), i = W("tracking"), a = W("leading"), o = W("breakpoint"), s = W("container"), c = W("spacing"), l = W("radius"), u = W("shadow"), d = W("inset-shadow"), f = W("text-shadow"), p = W("drop-shadow"), m = W("blur"), h = W("perspective"), g = W("aspect"), _ = W("ease"), v = W("animate"), y = () => [
2916
- "auto",
2917
- "avoid",
2918
- "all",
2919
- "avoid-page",
2920
- "page",
2921
- "left",
2922
- "right",
2923
- "column"
2924
- ], b = () => [
2925
- "center",
2926
- "top",
2927
- "bottom",
2928
- "left",
2929
- "right",
2930
- "top-left",
2931
- "left-top",
2932
- "top-right",
2933
- "right-top",
2934
- "bottom-right",
2935
- "right-bottom",
2936
- "bottom-left",
2937
- "left-bottom"
2938
- ], x = () => [
2939
- ...b(),
2940
- Z,
2941
- Y
2942
- ], ee = () => [
2943
- "auto",
2944
- "hidden",
2945
- "clip",
2946
- "visible",
2947
- "scroll"
2948
- ], S = () => [
2949
- "auto",
2950
- "contain",
2951
- "none"
2952
- ], C = () => [
2953
- Z,
2954
- Y,
2955
- c
2956
- ], w = () => [
2957
- G,
2958
- "full",
2959
- "auto",
2960
- ...C()
2961
- ], te = () => [
2962
- q,
2963
- "none",
2964
- "subgrid",
2965
- Z,
2966
- Y
2967
- ], ne = () => [
2968
- "auto",
2969
- { span: [
2970
- "full",
2971
- q,
2972
- Z,
2973
- Y
2974
- ] },
2975
- q,
2976
- Z,
2977
- Y
2978
- ], T = () => [
2979
- q,
2980
- "auto",
2981
- Z,
2982
- Y
2983
- ], re = () => [
2984
- "auto",
2985
- "min",
2986
- "max",
2987
- "fr",
2988
- Z,
2989
- Y
2990
- ], ie = () => [
2991
- "start",
2992
- "end",
2993
- "center",
2994
- "between",
2995
- "around",
2996
- "evenly",
2997
- "stretch",
2998
- "baseline",
2999
- "center-safe",
3000
- "end-safe"
3001
- ], E = () => [
3002
- "start",
3003
- "end",
3004
- "center",
3005
- "stretch",
3006
- "center-safe",
3007
- "end-safe"
3008
- ], D = () => ["auto", ...C()], O = () => [
3009
- G,
3010
- "auto",
3011
- "full",
3012
- "dvw",
3013
- "dvh",
3014
- "lvw",
3015
- "lvh",
3016
- "svw",
3017
- "svh",
3018
- "min",
3019
- "max",
3020
- "fit",
3021
- ...C()
3022
- ], k = () => [
3023
- G,
3024
- "screen",
3025
- "full",
3026
- "dvw",
3027
- "lvw",
3028
- "svw",
3029
- "min",
3030
- "max",
3031
- "fit",
3032
- ...C()
3033
- ], A = () => [
3034
- G,
3035
- "screen",
3036
- "full",
3037
- "lh",
3038
- "dvh",
3039
- "lvh",
3040
- "svh",
3041
- "min",
3042
- "max",
3043
- "fit",
3044
- ...C()
3045
- ], j = () => [
3046
- e,
3047
- Z,
3048
- Y
3049
- ], ae = () => [
3050
- ...b(),
3051
- yn,
3052
- mn,
3053
- { position: [Z, Y] }
3054
- ], oe = () => ["no-repeat", { repeat: [
3055
- "",
3056
- "x",
3057
- "y",
3058
- "space",
3059
- "round"
3060
- ] }], se = () => [
3061
- "auto",
3062
- "cover",
3063
- "contain",
3064
- bn,
3065
- un,
3066
- { size: [Z, Y] }
3067
- ], M = () => [
3068
- tn,
3069
- _n,
3070
- X
3071
- ], N = () => [
3072
- "",
3073
- "none",
3074
- "full",
3075
- l,
3076
- Z,
3077
- Y
3078
- ], P = () => [
3079
- "",
3080
- K,
3081
- _n,
3082
- X
3083
- ], F = () => [
3084
- "solid",
3085
- "dashed",
3086
- "dotted",
3087
- "double"
3088
- ], ce = () => [
3089
- "normal",
3090
- "multiply",
3091
- "screen",
3092
- "overlay",
3093
- "darken",
3094
- "lighten",
3095
- "color-dodge",
3096
- "color-burn",
3097
- "hard-light",
3098
- "soft-light",
3099
- "difference",
3100
- "exclusion",
3101
- "hue",
3102
- "saturation",
3103
- "color",
3104
- "luminosity"
3105
- ], I = () => [
3106
- K,
3107
- tn,
3108
- yn,
3109
- mn
3110
- ], le = () => [
3111
- "",
3112
- "none",
3113
- m,
3114
- Z,
3115
- Y
3116
- ], L = () => [
3117
- "none",
3118
- K,
3119
- Z,
3120
- Y
3121
- ], R = () => [
3122
- "none",
3123
- K,
3124
- Z,
3125
- Y
3126
- ], z = () => [
3127
- K,
3128
- Z,
3129
- Y
3130
- ], B = () => [
3131
- G,
3132
- "full",
3133
- ...C()
3134
- ];
3135
- return {
3136
- cacheSize: 500,
3137
- theme: {
3138
- animate: [
3139
- "spin",
3140
- "ping",
3141
- "pulse",
3142
- "bounce"
3143
- ],
3144
- aspect: ["video"],
3145
- blur: [J],
3146
- breakpoint: [J],
3147
- color: [nn],
3148
- container: [J],
3149
- "drop-shadow": [J],
3150
- ease: [
3151
- "in",
3152
- "out",
3153
- "in-out"
3154
- ],
3155
- font: [cn],
3156
- "font-weight": [
3157
- "thin",
3158
- "extralight",
3159
- "light",
3160
- "normal",
3161
- "medium",
3162
- "semibold",
3163
- "bold",
3164
- "extrabold",
3165
- "black"
3166
- ],
3167
- "inset-shadow": [J],
3168
- leading: [
3169
- "none",
3170
- "tight",
3171
- "snug",
3172
- "normal",
3173
- "relaxed",
3174
- "loose"
3175
- ],
3176
- perspective: [
3177
- "dramatic",
3178
- "near",
3179
- "normal",
3180
- "midrange",
3181
- "distant",
3182
- "none"
3183
- ],
3184
- radius: [J],
3185
- shadow: [J],
3186
- spacing: ["px", K],
3187
- text: [J],
3188
- "text-shadow": [J],
3189
- tracking: [
3190
- "tighter",
3191
- "tight",
3192
- "normal",
3193
- "wide",
3194
- "wider",
3195
- "widest"
3196
- ]
3197
- },
3198
- classGroups: {
3199
- aspect: [{ aspect: [
3200
- "auto",
3201
- "square",
3202
- G,
3203
- Y,
3204
- Z,
3205
- g
3206
- ] }],
3207
- container: ["container"],
3208
- "container-type": [{ "@container": [
3209
- "",
3210
- "normal",
3211
- "size",
3212
- Z,
3213
- Y
3214
- ] }],
3215
- "container-named": [ln],
3216
- columns: [{ columns: [
3217
- K,
3218
- Y,
3219
- Z,
3220
- s
3221
- ] }],
3222
- "break-after": [{ "break-after": y() }],
3223
- "break-before": [{ "break-before": y() }],
3224
- "break-inside": [{ "break-inside": [
3225
- "auto",
3226
- "avoid",
3227
- "avoid-page",
3228
- "avoid-column"
3229
- ] }],
3230
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
3231
- box: [{ box: ["border", "content"] }],
3232
- display: [
3233
- "block",
3234
- "inline-block",
3235
- "inline",
3236
- "flex",
3237
- "inline-flex",
3238
- "table",
3239
- "inline-table",
3240
- "table-caption",
3241
- "table-cell",
3242
- "table-column",
3243
- "table-column-group",
3244
- "table-footer-group",
3245
- "table-header-group",
3246
- "table-row-group",
3247
- "table-row",
3248
- "flow-root",
3249
- "grid",
3250
- "inline-grid",
3251
- "contents",
3252
- "list-item",
3253
- "hidden"
3254
- ],
3255
- sr: ["sr-only", "not-sr-only"],
3256
- float: [{ float: [
3257
- "right",
3258
- "left",
3259
- "none",
3260
- "start",
3261
- "end"
3262
- ] }],
3263
- clear: [{ clear: [
3264
- "left",
3265
- "right",
3266
- "both",
3267
- "none",
3268
- "start",
3269
- "end"
3270
- ] }],
3271
- isolation: ["isolate", "isolation-auto"],
3272
- "object-fit": [{ object: [
3273
- "contain",
3274
- "cover",
3275
- "fill",
3276
- "none",
3277
- "scale-down"
3278
- ] }],
3279
- "object-position": [{ object: x() }],
3280
- overflow: [{ overflow: ee() }],
3281
- "overflow-x": [{ "overflow-x": ee() }],
3282
- "overflow-y": [{ "overflow-y": ee() }],
3283
- overscroll: [{ overscroll: S() }],
3284
- "overscroll-x": [{ "overscroll-x": S() }],
3285
- "overscroll-y": [{ "overscroll-y": S() }],
3286
- position: [
3287
- "static",
3288
- "fixed",
3289
- "absolute",
3290
- "relative",
3291
- "sticky"
3292
- ],
3293
- inset: [{ inset: w() }],
3294
- "inset-x": [{ "inset-x": w() }],
3295
- "inset-y": [{ "inset-y": w() }],
3296
- start: [{
3297
- "inset-s": w(),
3298
- start: w()
3299
- }],
3300
- end: [{
3301
- "inset-e": w(),
3302
- end: w()
3303
- }],
3304
- "inset-bs": [{ "inset-bs": w() }],
3305
- "inset-be": [{ "inset-be": w() }],
3306
- top: [{ top: w() }],
3307
- right: [{ right: w() }],
3308
- bottom: [{ bottom: w() }],
3309
- left: [{ left: w() }],
3310
- visibility: [
3311
- "visible",
3312
- "invisible",
3313
- "collapse"
3314
- ],
3315
- z: [{ z: [
3316
- q,
3317
- "auto",
3318
- Z,
3319
- Y
3320
- ] }],
3321
- basis: [{ basis: [
3322
- G,
3323
- "full",
3324
- "auto",
3325
- s,
3326
- ...C()
3327
- ] }],
3328
- "flex-direction": [{ flex: [
3329
- "row",
3330
- "row-reverse",
3331
- "col",
3332
- "col-reverse"
3333
- ] }],
3334
- "flex-wrap": [{ flex: [
3335
- "nowrap",
3336
- "wrap",
3337
- "wrap-reverse"
3338
- ] }],
3339
- flex: [{ flex: [
3340
- K,
3341
- G,
3342
- "auto",
3343
- "initial",
3344
- "none",
3345
- Y
3346
- ] }],
3347
- grow: [{ grow: [
3348
- "",
3349
- K,
3350
- Z,
3351
- Y
3352
- ] }],
3353
- shrink: [{ shrink: [
3354
- "",
3355
- K,
3356
- Z,
3357
- Y
3358
- ] }],
3359
- order: [{ order: [
3360
- q,
3361
- "first",
3362
- "last",
3363
- "none",
3364
- Z,
3365
- Y
3366
- ] }],
3367
- "grid-cols": [{ "grid-cols": te() }],
3368
- "col-start-end": [{ col: ne() }],
3369
- "col-start": [{ "col-start": T() }],
3370
- "col-end": [{ "col-end": T() }],
3371
- "grid-rows": [{ "grid-rows": te() }],
3372
- "row-start-end": [{ row: ne() }],
3373
- "row-start": [{ "row-start": T() }],
3374
- "row-end": [{ "row-end": T() }],
3375
- "grid-flow": [{ "grid-flow": [
3376
- "row",
3377
- "col",
3378
- "dense",
3379
- "row-dense",
3380
- "col-dense"
3381
- ] }],
3382
- "auto-cols": [{ "auto-cols": re() }],
3383
- "auto-rows": [{ "auto-rows": re() }],
3384
- gap: [{ gap: C() }],
3385
- "gap-x": [{ "gap-x": C() }],
3386
- "gap-y": [{ "gap-y": C() }],
3387
- "justify-content": [{ justify: [...ie(), "normal"] }],
3388
- "justify-items": [{ "justify-items": [...E(), "normal"] }],
3389
- "justify-self": [{ "justify-self": ["auto", ...E()] }],
3390
- "align-content": [{ content: ["normal", ...ie()] }],
3391
- "align-items": [{ items: [...E(), { baseline: ["", "last"] }] }],
3392
- "align-self": [{ self: [
3393
- "auto",
3394
- ...E(),
3395
- { baseline: ["", "last"] }
3396
- ] }],
3397
- "place-content": [{ "place-content": ie() }],
3398
- "place-items": [{ "place-items": [...E(), "baseline"] }],
3399
- "place-self": [{ "place-self": ["auto", ...E()] }],
3400
- p: [{ p: C() }],
3401
- px: [{ px: C() }],
3402
- py: [{ py: C() }],
3403
- ps: [{ ps: C() }],
3404
- pe: [{ pe: C() }],
3405
- pbs: [{ pbs: C() }],
3406
- pbe: [{ pbe: C() }],
3407
- pt: [{ pt: C() }],
3408
- pr: [{ pr: C() }],
3409
- pb: [{ pb: C() }],
3410
- pl: [{ pl: C() }],
3411
- m: [{ m: D() }],
3412
- mx: [{ mx: D() }],
3413
- my: [{ my: D() }],
3414
- ms: [{ ms: D() }],
3415
- me: [{ me: D() }],
3416
- mbs: [{ mbs: D() }],
3417
- mbe: [{ mbe: D() }],
3418
- mt: [{ mt: D() }],
3419
- mr: [{ mr: D() }],
3420
- mb: [{ mb: D() }],
3421
- ml: [{ ml: D() }],
3422
- "space-x": [{ "space-x": C() }],
3423
- "space-x-reverse": ["space-x-reverse"],
3424
- "space-y": [{ "space-y": C() }],
3425
- "space-y-reverse": ["space-y-reverse"],
3426
- size: [{ size: O() }],
3427
- "inline-size": [{ inline: ["auto", ...k()] }],
3428
- "min-inline-size": [{ "min-inline": ["auto", ...k()] }],
3429
- "max-inline-size": [{ "max-inline": ["none", ...k()] }],
3430
- "block-size": [{ block: ["auto", ...A()] }],
3431
- "min-block-size": [{ "min-block": ["auto", ...A()] }],
3432
- "max-block-size": [{ "max-block": ["none", ...A()] }],
3433
- w: [{ w: [
3434
- s,
3435
- "screen",
3436
- ...O()
3437
- ] }],
3438
- "min-w": [{ "min-w": [
3439
- s,
3440
- "screen",
3441
- "none",
3442
- ...O()
3443
- ] }],
3444
- "max-w": [{ "max-w": [
3445
- s,
3446
- "screen",
3447
- "none",
3448
- "prose",
3449
- { screen: [o] },
3450
- ...O()
3451
- ] }],
3452
- h: [{ h: [
3453
- "screen",
3454
- "lh",
3455
- ...O()
3456
- ] }],
3457
- "min-h": [{ "min-h": [
3458
- "screen",
3459
- "lh",
3460
- "none",
3461
- ...O()
3462
- ] }],
3463
- "max-h": [{ "max-h": [
3464
- "screen",
3465
- "lh",
3466
- ...O()
3467
- ] }],
3468
- "font-size": [{ text: [
3469
- "base",
3470
- n,
3471
- _n,
3472
- X
3473
- ] }],
3474
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
3475
- "font-style": ["italic", "not-italic"],
3476
- "font-weight": [{ font: [
3477
- r,
3478
- Cn,
3479
- fn
3480
- ] }],
3481
- "font-stretch": [{ "font-stretch": [
3482
- "ultra-condensed",
3483
- "extra-condensed",
3484
- "condensed",
3485
- "semi-condensed",
3486
- "normal",
3487
- "semi-expanded",
3488
- "expanded",
3489
- "extra-expanded",
3490
- "ultra-expanded",
3491
- tn,
3492
- Y
3493
- ] }],
3494
- "font-family": [{ font: [
3495
- vn,
3496
- pn,
3497
- t
3498
- ] }],
3499
- "font-features": [{ "font-features": [Y] }],
3500
- "fvn-normal": ["normal-nums"],
3501
- "fvn-ordinal": ["ordinal"],
3502
- "fvn-slashed-zero": ["slashed-zero"],
3503
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
3504
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
3505
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
3506
- tracking: [{ tracking: [
3507
- i,
3508
- Z,
3509
- Y
3510
- ] }],
3511
- "line-clamp": [{ "line-clamp": [
3512
- K,
3513
- "none",
3514
- Z,
3515
- dn
3516
- ] }],
3517
- leading: [{ leading: [a, ...C()] }],
3518
- "list-image": [{ "list-image": [
3519
- "none",
3520
- Z,
3521
- Y
3522
- ] }],
3523
- "list-style-position": [{ list: ["inside", "outside"] }],
3524
- "list-style-type": [{ list: [
3525
- "disc",
3526
- "decimal",
3527
- "none",
3528
- Z,
3529
- Y
3530
- ] }],
3531
- "text-alignment": [{ text: [
3532
- "left",
3533
- "center",
3534
- "right",
3535
- "justify",
3536
- "start",
3537
- "end"
3538
- ] }],
3539
- "placeholder-color": [{ placeholder: j() }],
3540
- "text-color": [{ text: j() }],
3541
- "text-decoration": [
3542
- "underline",
3543
- "overline",
3544
- "line-through",
3545
- "no-underline"
3546
- ],
3547
- "text-decoration-style": [{ decoration: [...F(), "wavy"] }],
3548
- "text-decoration-thickness": [{ decoration: [
3549
- K,
3550
- "from-font",
3551
- "auto",
3552
- Z,
3553
- X
3554
- ] }],
3555
- "text-decoration-color": [{ decoration: j() }],
3556
- "underline-offset": [{ "underline-offset": [
3557
- K,
3558
- "auto",
3559
- Z,
3560
- Y
3561
- ] }],
3562
- "text-transform": [
3563
- "uppercase",
3564
- "lowercase",
3565
- "capitalize",
3566
- "normal-case"
3567
- ],
3568
- "text-overflow": [
3569
- "truncate",
3570
- "text-ellipsis",
3571
- "text-clip"
3572
- ],
3573
- "text-wrap": [{ text: [
3574
- "wrap",
3575
- "nowrap",
3576
- "balance",
3577
- "pretty"
3578
- ] }],
3579
- indent: [{ indent: C() }],
3580
- "tab-size": [{ tab: [
3581
- q,
3582
- Z,
3583
- Y
3584
- ] }],
3585
- "vertical-align": [{ align: [
3586
- "baseline",
3587
- "top",
3588
- "middle",
3589
- "bottom",
3590
- "text-top",
3591
- "text-bottom",
3592
- "sub",
3593
- "super",
3594
- Z,
3595
- Y
3596
- ] }],
3597
- whitespace: [{ whitespace: [
3598
- "normal",
3599
- "nowrap",
3600
- "pre",
3601
- "pre-line",
3602
- "pre-wrap",
3603
- "break-spaces"
3604
- ] }],
3605
- break: [{ break: [
3606
- "normal",
3607
- "words",
3608
- "all",
3609
- "keep"
3610
- ] }],
3611
- wrap: [{ wrap: [
3612
- "break-word",
3613
- "anywhere",
3614
- "normal"
3615
- ] }],
3616
- hyphens: [{ hyphens: [
3617
- "none",
3618
- "manual",
3619
- "auto"
3620
- ] }],
3621
- content: [{ content: [
3622
- "none",
3623
- Z,
3624
- Y
3625
- ] }],
3626
- "bg-attachment": [{ bg: [
3627
- "fixed",
3628
- "local",
3629
- "scroll"
3630
- ] }],
3631
- "bg-clip": [{ "bg-clip": [
3632
- "border",
3633
- "padding",
3634
- "content",
3635
- "text"
3636
- ] }],
3637
- "bg-origin": [{ "bg-origin": [
3638
- "border",
3639
- "padding",
3640
- "content"
3641
- ] }],
3642
- "bg-position": [{ bg: ae() }],
3643
- "bg-repeat": [{ bg: oe() }],
3644
- "bg-size": [{ bg: se() }],
3645
- "bg-image": [{ bg: [
3646
- "none",
3647
- {
3648
- linear: [
3649
- { to: [
3650
- "t",
3651
- "tr",
3652
- "r",
3653
- "br",
3654
- "b",
3655
- "bl",
3656
- "l",
3657
- "tl"
3658
- ] },
3659
- q,
3660
- Z,
3661
- Y
3662
- ],
3663
- radial: [
3664
- "",
3665
- Z,
3666
- Y
3667
- ],
3668
- conic: [
3669
- q,
3670
- Z,
3671
- Y
3672
- ]
3673
- },
3674
- xn,
3675
- hn
3676
- ] }],
3677
- "bg-color": [{ bg: j() }],
3678
- "gradient-from-pos": [{ from: M() }],
3679
- "gradient-via-pos": [{ via: M() }],
3680
- "gradient-to-pos": [{ to: M() }],
3681
- "gradient-from": [{ from: j() }],
3682
- "gradient-via": [{ via: j() }],
3683
- "gradient-to": [{ to: j() }],
3684
- rounded: [{ rounded: N() }],
3685
- "rounded-s": [{ "rounded-s": N() }],
3686
- "rounded-e": [{ "rounded-e": N() }],
3687
- "rounded-t": [{ "rounded-t": N() }],
3688
- "rounded-r": [{ "rounded-r": N() }],
3689
- "rounded-b": [{ "rounded-b": N() }],
3690
- "rounded-l": [{ "rounded-l": N() }],
3691
- "rounded-ss": [{ "rounded-ss": N() }],
3692
- "rounded-se": [{ "rounded-se": N() }],
3693
- "rounded-ee": [{ "rounded-ee": N() }],
3694
- "rounded-es": [{ "rounded-es": N() }],
3695
- "rounded-tl": [{ "rounded-tl": N() }],
3696
- "rounded-tr": [{ "rounded-tr": N() }],
3697
- "rounded-br": [{ "rounded-br": N() }],
3698
- "rounded-bl": [{ "rounded-bl": N() }],
3699
- "border-w": [{ border: P() }],
3700
- "border-w-x": [{ "border-x": P() }],
3701
- "border-w-y": [{ "border-y": P() }],
3702
- "border-w-s": [{ "border-s": P() }],
3703
- "border-w-e": [{ "border-e": P() }],
3704
- "border-w-bs": [{ "border-bs": P() }],
3705
- "border-w-be": [{ "border-be": P() }],
3706
- "border-w-t": [{ "border-t": P() }],
3707
- "border-w-r": [{ "border-r": P() }],
3708
- "border-w-b": [{ "border-b": P() }],
3709
- "border-w-l": [{ "border-l": P() }],
3710
- "divide-x": [{ "divide-x": P() }],
3711
- "divide-x-reverse": ["divide-x-reverse"],
3712
- "divide-y": [{ "divide-y": P() }],
3713
- "divide-y-reverse": ["divide-y-reverse"],
3714
- "border-style": [{ border: [
3715
- ...F(),
3716
- "hidden",
3717
- "none"
3718
- ] }],
3719
- "divide-style": [{ divide: [
3720
- ...F(),
3721
- "hidden",
3722
- "none"
3723
- ] }],
3724
- "border-color": [{ border: j() }],
3725
- "border-color-x": [{ "border-x": j() }],
3726
- "border-color-y": [{ "border-y": j() }],
3727
- "border-color-s": [{ "border-s": j() }],
3728
- "border-color-e": [{ "border-e": j() }],
3729
- "border-color-bs": [{ "border-bs": j() }],
3730
- "border-color-be": [{ "border-be": j() }],
3731
- "border-color-t": [{ "border-t": j() }],
3732
- "border-color-r": [{ "border-r": j() }],
3733
- "border-color-b": [{ "border-b": j() }],
3734
- "border-color-l": [{ "border-l": j() }],
3735
- "divide-color": [{ divide: j() }],
3736
- "outline-style": [{ outline: [
3737
- ...F(),
3738
- "none",
3739
- "hidden"
3740
- ] }],
3741
- "outline-offset": [{ "outline-offset": [
3742
- K,
3743
- Z,
3744
- Y
3745
- ] }],
3746
- "outline-w": [{ outline: [
3747
- "",
3748
- K,
3749
- _n,
3750
- X
3751
- ] }],
3752
- "outline-color": [{ outline: j() }],
3753
- shadow: [{ shadow: [
3754
- "",
3755
- "none",
3756
- u,
3757
- Sn,
3758
- gn
3759
- ] }],
3760
- "shadow-color": [{ shadow: j() }],
3761
- "inset-shadow": [{ "inset-shadow": [
3762
- "none",
3763
- d,
3764
- Sn,
3765
- gn
3766
- ] }],
3767
- "inset-shadow-color": [{ "inset-shadow": j() }],
3768
- "ring-w": [{ ring: P() }],
3769
- "ring-w-inset": ["ring-inset"],
3770
- "ring-color": [{ ring: j() }],
3771
- "ring-offset-w": [{ "ring-offset": [K, X] }],
3772
- "ring-offset-color": [{ "ring-offset": j() }],
3773
- "inset-ring-w": [{ "inset-ring": P() }],
3774
- "inset-ring-color": [{ "inset-ring": j() }],
3775
- "text-shadow": [{ "text-shadow": [
3776
- "none",
3777
- f,
3778
- Sn,
3779
- gn
3780
- ] }],
3781
- "text-shadow-color": [{ "text-shadow": j() }],
3782
- opacity: [{ opacity: [
3783
- K,
3784
- Z,
3785
- Y
3786
- ] }],
3787
- "mix-blend": [{ "mix-blend": [
3788
- ...ce(),
3789
- "plus-darker",
3790
- "plus-lighter"
3791
- ] }],
3792
- "bg-blend": [{ "bg-blend": ce() }],
3793
- "mask-clip": [{ "mask-clip": [
3794
- "border",
3795
- "padding",
3796
- "content",
3797
- "fill",
3798
- "stroke",
3799
- "view"
3800
- ] }, "mask-no-clip"],
3801
- "mask-composite": [{ mask: [
3802
- "add",
3803
- "subtract",
3804
- "intersect",
3805
- "exclude"
3806
- ] }],
3807
- "mask-image-linear-pos": [{ "mask-linear": [K] }],
3808
- "mask-image-linear-from-pos": [{ "mask-linear-from": I() }],
3809
- "mask-image-linear-to-pos": [{ "mask-linear-to": I() }],
3810
- "mask-image-linear-from-color": [{ "mask-linear-from": j() }],
3811
- "mask-image-linear-to-color": [{ "mask-linear-to": j() }],
3812
- "mask-image-t-from-pos": [{ "mask-t-from": I() }],
3813
- "mask-image-t-to-pos": [{ "mask-t-to": I() }],
3814
- "mask-image-t-from-color": [{ "mask-t-from": j() }],
3815
- "mask-image-t-to-color": [{ "mask-t-to": j() }],
3816
- "mask-image-r-from-pos": [{ "mask-r-from": I() }],
3817
- "mask-image-r-to-pos": [{ "mask-r-to": I() }],
3818
- "mask-image-r-from-color": [{ "mask-r-from": j() }],
3819
- "mask-image-r-to-color": [{ "mask-r-to": j() }],
3820
- "mask-image-b-from-pos": [{ "mask-b-from": I() }],
3821
- "mask-image-b-to-pos": [{ "mask-b-to": I() }],
3822
- "mask-image-b-from-color": [{ "mask-b-from": j() }],
3823
- "mask-image-b-to-color": [{ "mask-b-to": j() }],
3824
- "mask-image-l-from-pos": [{ "mask-l-from": I() }],
3825
- "mask-image-l-to-pos": [{ "mask-l-to": I() }],
3826
- "mask-image-l-from-color": [{ "mask-l-from": j() }],
3827
- "mask-image-l-to-color": [{ "mask-l-to": j() }],
3828
- "mask-image-x-from-pos": [{ "mask-x-from": I() }],
3829
- "mask-image-x-to-pos": [{ "mask-x-to": I() }],
3830
- "mask-image-x-from-color": [{ "mask-x-from": j() }],
3831
- "mask-image-x-to-color": [{ "mask-x-to": j() }],
3832
- "mask-image-y-from-pos": [{ "mask-y-from": I() }],
3833
- "mask-image-y-to-pos": [{ "mask-y-to": I() }],
3834
- "mask-image-y-from-color": [{ "mask-y-from": j() }],
3835
- "mask-image-y-to-color": [{ "mask-y-to": j() }],
3836
- "mask-image-radial": [{ "mask-radial": [Z, Y] }],
3837
- "mask-image-radial-from-pos": [{ "mask-radial-from": I() }],
3838
- "mask-image-radial-to-pos": [{ "mask-radial-to": I() }],
3839
- "mask-image-radial-from-color": [{ "mask-radial-from": j() }],
3840
- "mask-image-radial-to-color": [{ "mask-radial-to": j() }],
3841
- "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
3842
- "mask-image-radial-size": [{ "mask-radial": [{
3843
- closest: ["side", "corner"],
3844
- farthest: ["side", "corner"]
3845
- }] }],
3846
- "mask-image-radial-pos": [{ "mask-radial-at": b() }],
3847
- "mask-image-conic-pos": [{ "mask-conic": [K] }],
3848
- "mask-image-conic-from-pos": [{ "mask-conic-from": I() }],
3849
- "mask-image-conic-to-pos": [{ "mask-conic-to": I() }],
3850
- "mask-image-conic-from-color": [{ "mask-conic-from": j() }],
3851
- "mask-image-conic-to-color": [{ "mask-conic-to": j() }],
3852
- "mask-mode": [{ mask: [
3853
- "alpha",
3854
- "luminance",
3855
- "match"
3856
- ] }],
3857
- "mask-origin": [{ "mask-origin": [
3858
- "border",
3859
- "padding",
3860
- "content",
3861
- "fill",
3862
- "stroke",
3863
- "view"
3864
- ] }],
3865
- "mask-position": [{ mask: ae() }],
3866
- "mask-repeat": [{ mask: oe() }],
3867
- "mask-size": [{ mask: se() }],
3868
- "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
3869
- "mask-image": [{ mask: [
3870
- "none",
3871
- Z,
3872
- Y
3873
- ] }],
3874
- filter: [{ filter: [
3875
- "",
3876
- "none",
3877
- Z,
3878
- Y
3879
- ] }],
3880
- blur: [{ blur: le() }],
3881
- brightness: [{ brightness: [
3882
- K,
3883
- Z,
3884
- Y
3885
- ] }],
3886
- contrast: [{ contrast: [
3887
- K,
3888
- Z,
3889
- Y
3890
- ] }],
3891
- "drop-shadow": [{ "drop-shadow": [
3892
- "",
3893
- "none",
3894
- p,
3895
- Sn,
3896
- gn
3897
- ] }],
3898
- "drop-shadow-color": [{ "drop-shadow": j() }],
3899
- grayscale: [{ grayscale: [
3900
- "",
3901
- K,
3902
- Z,
3903
- Y
3904
- ] }],
3905
- "hue-rotate": [{ "hue-rotate": [
3906
- K,
3907
- Z,
3908
- Y
3909
- ] }],
3910
- invert: [{ invert: [
3911
- "",
3912
- K,
3913
- Z,
3914
- Y
3915
- ] }],
3916
- saturate: [{ saturate: [
3917
- K,
3918
- Z,
3919
- Y
3920
- ] }],
3921
- sepia: [{ sepia: [
3922
- "",
3923
- K,
3924
- Z,
3925
- Y
3926
- ] }],
3927
- "backdrop-filter": [{ "backdrop-filter": [
3928
- "",
3929
- "none",
3930
- Z,
3931
- Y
3932
- ] }],
3933
- "backdrop-blur": [{ "backdrop-blur": le() }],
3934
- "backdrop-brightness": [{ "backdrop-brightness": [
3935
- K,
3936
- Z,
3937
- Y
3938
- ] }],
3939
- "backdrop-contrast": [{ "backdrop-contrast": [
3940
- K,
3941
- Z,
3942
- Y
3943
- ] }],
3944
- "backdrop-grayscale": [{ "backdrop-grayscale": [
3945
- "",
3946
- K,
3947
- Z,
3948
- Y
3949
- ] }],
3950
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
3951
- K,
3952
- Z,
3953
- Y
3954
- ] }],
3955
- "backdrop-invert": [{ "backdrop-invert": [
3956
- "",
3957
- K,
3958
- Z,
3959
- Y
3960
- ] }],
3961
- "backdrop-opacity": [{ "backdrop-opacity": [
3962
- K,
3963
- Z,
3964
- Y
3965
- ] }],
3966
- "backdrop-saturate": [{ "backdrop-saturate": [
3967
- K,
3968
- Z,
3969
- Y
3970
- ] }],
3971
- "backdrop-sepia": [{ "backdrop-sepia": [
3972
- "",
3973
- K,
3974
- Z,
3975
- Y
3976
- ] }],
3977
- "border-collapse": [{ border: ["collapse", "separate"] }],
3978
- "border-spacing": [{ "border-spacing": C() }],
3979
- "border-spacing-x": [{ "border-spacing-x": C() }],
3980
- "border-spacing-y": [{ "border-spacing-y": C() }],
3981
- "table-layout": [{ table: ["auto", "fixed"] }],
3982
- caption: [{ caption: ["top", "bottom"] }],
3983
- transition: [{ transition: [
3984
- "",
3985
- "all",
3986
- "colors",
3987
- "opacity",
3988
- "shadow",
3989
- "transform",
3990
- "none",
3991
- Z,
3992
- Y
3993
- ] }],
3994
- "transition-behavior": [{ transition: ["normal", "discrete"] }],
3995
- duration: [{ duration: [
3996
- K,
3997
- "initial",
3998
- Z,
3999
- Y
4000
- ] }],
4001
- ease: [{ ease: [
4002
- "linear",
4003
- "initial",
4004
- _,
4005
- Z,
4006
- Y
4007
- ] }],
4008
- delay: [{ delay: [
4009
- K,
4010
- Z,
4011
- Y
4012
- ] }],
4013
- animate: [{ animate: [
4014
- "none",
4015
- v,
4016
- Z,
4017
- Y
4018
- ] }],
4019
- backface: [{ backface: ["hidden", "visible"] }],
4020
- perspective: [{ perspective: [
4021
- h,
4022
- Z,
4023
- Y
4024
- ] }],
4025
- "perspective-origin": [{ "perspective-origin": x() }],
4026
- rotate: [{ rotate: L() }],
4027
- "rotate-x": [{ "rotate-x": L() }],
4028
- "rotate-y": [{ "rotate-y": L() }],
4029
- "rotate-z": [{ "rotate-z": L() }],
4030
- scale: [{ scale: R() }],
4031
- "scale-x": [{ "scale-x": R() }],
4032
- "scale-y": [{ "scale-y": R() }],
4033
- "scale-z": [{ "scale-z": R() }],
4034
- "scale-3d": ["scale-3d"],
4035
- skew: [{ skew: z() }],
4036
- "skew-x": [{ "skew-x": z() }],
4037
- "skew-y": [{ "skew-y": z() }],
4038
- transform: [{ transform: [
4039
- Z,
4040
- Y,
4041
- "",
4042
- "none",
4043
- "gpu",
4044
- "cpu"
4045
- ] }],
4046
- "transform-origin": [{ origin: x() }],
4047
- "transform-style": [{ transform: ["3d", "flat"] }],
4048
- translate: [{ translate: B() }],
4049
- "translate-x": [{ "translate-x": B() }],
4050
- "translate-y": [{ "translate-y": B() }],
4051
- "translate-z": [{ "translate-z": B() }],
4052
- "translate-none": ["translate-none"],
4053
- zoom: [{ zoom: [
4054
- q,
4055
- Z,
4056
- Y
4057
- ] }],
4058
- accent: [{ accent: j() }],
4059
- appearance: [{ appearance: ["none", "auto"] }],
4060
- "caret-color": [{ caret: j() }],
4061
- "color-scheme": [{ scheme: [
4062
- "normal",
4063
- "dark",
4064
- "light",
4065
- "light-dark",
4066
- "only-dark",
4067
- "only-light"
4068
- ] }],
4069
- cursor: [{ cursor: [
4070
- "auto",
4071
- "default",
4072
- "pointer",
4073
- "wait",
4074
- "text",
4075
- "move",
4076
- "help",
4077
- "not-allowed",
4078
- "none",
4079
- "context-menu",
4080
- "progress",
4081
- "cell",
4082
- "crosshair",
4083
- "vertical-text",
4084
- "alias",
4085
- "copy",
4086
- "no-drop",
4087
- "grab",
4088
- "grabbing",
4089
- "all-scroll",
4090
- "col-resize",
4091
- "row-resize",
4092
- "n-resize",
4093
- "e-resize",
4094
- "s-resize",
4095
- "w-resize",
4096
- "ne-resize",
4097
- "nw-resize",
4098
- "se-resize",
4099
- "sw-resize",
4100
- "ew-resize",
4101
- "ns-resize",
4102
- "nesw-resize",
4103
- "nwse-resize",
4104
- "zoom-in",
4105
- "zoom-out",
4106
- Z,
4107
- Y
4108
- ] }],
4109
- "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
4110
- "pointer-events": [{ "pointer-events": ["auto", "none"] }],
4111
- resize: [{ resize: [
4112
- "none",
4113
- "",
4114
- "y",
4115
- "x"
4116
- ] }],
4117
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
4118
- "scrollbar-thumb-color": [{ "scrollbar-thumb": j() }],
4119
- "scrollbar-track-color": [{ "scrollbar-track": j() }],
4120
- "scrollbar-gutter": [{ "scrollbar-gutter": [
4121
- "auto",
4122
- "stable",
4123
- "both"
4124
- ] }],
4125
- "scrollbar-w": [{ scrollbar: [
4126
- "auto",
4127
- "thin",
4128
- "none"
4129
- ] }],
4130
- "scroll-m": [{ "scroll-m": C() }],
4131
- "scroll-mx": [{ "scroll-mx": C() }],
4132
- "scroll-my": [{ "scroll-my": C() }],
4133
- "scroll-ms": [{ "scroll-ms": C() }],
4134
- "scroll-me": [{ "scroll-me": C() }],
4135
- "scroll-mbs": [{ "scroll-mbs": C() }],
4136
- "scroll-mbe": [{ "scroll-mbe": C() }],
4137
- "scroll-mt": [{ "scroll-mt": C() }],
4138
- "scroll-mr": [{ "scroll-mr": C() }],
4139
- "scroll-mb": [{ "scroll-mb": C() }],
4140
- "scroll-ml": [{ "scroll-ml": C() }],
4141
- "scroll-p": [{ "scroll-p": C() }],
4142
- "scroll-px": [{ "scroll-px": C() }],
4143
- "scroll-py": [{ "scroll-py": C() }],
4144
- "scroll-ps": [{ "scroll-ps": C() }],
4145
- "scroll-pe": [{ "scroll-pe": C() }],
4146
- "scroll-pbs": [{ "scroll-pbs": C() }],
4147
- "scroll-pbe": [{ "scroll-pbe": C() }],
4148
- "scroll-pt": [{ "scroll-pt": C() }],
4149
- "scroll-pr": [{ "scroll-pr": C() }],
4150
- "scroll-pb": [{ "scroll-pb": C() }],
4151
- "scroll-pl": [{ "scroll-pl": C() }],
4152
- "snap-align": [{ snap: [
4153
- "start",
4154
- "end",
4155
- "center",
4156
- "align-none"
4157
- ] }],
4158
- "snap-stop": [{ snap: ["normal", "always"] }],
4159
- "snap-type": [{ snap: [
4160
- "none",
4161
- "x",
4162
- "y",
4163
- "both"
4164
- ] }],
4165
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
4166
- touch: [{ touch: [
4167
- "auto",
4168
- "none",
4169
- "manipulation"
4170
- ] }],
4171
- "touch-x": [{ "touch-pan": [
4172
- "x",
4173
- "left",
4174
- "right"
4175
- ] }],
4176
- "touch-y": [{ "touch-pan": [
4177
- "y",
4178
- "up",
4179
- "down"
4180
- ] }],
4181
- "touch-pz": ["touch-pinch-zoom"],
4182
- select: [{ select: [
4183
- "none",
4184
- "text",
4185
- "all",
4186
- "auto"
4187
- ] }],
4188
- "will-change": [{ "will-change": [
4189
- "auto",
4190
- "scroll",
4191
- "contents",
4192
- "transform",
4193
- Z,
4194
- Y
4195
- ] }],
4196
- fill: [{ fill: ["none", ...j()] }],
4197
- "stroke-w": [{ stroke: [
4198
- K,
4199
- _n,
4200
- X,
4201
- dn
4202
- ] }],
4203
- stroke: [{ stroke: ["none", ...j()] }],
4204
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
4205
- },
4206
- conflictingClassGroups: {
4207
- "container-named": ["container-type"],
4208
- overflow: ["overflow-x", "overflow-y"],
4209
- overscroll: ["overscroll-x", "overscroll-y"],
4210
- inset: [
4211
- "inset-x",
4212
- "inset-y",
4213
- "inset-bs",
4214
- "inset-be",
4215
- "start",
4216
- "end",
4217
- "top",
4218
- "right",
4219
- "bottom",
4220
- "left"
4221
- ],
4222
- "inset-x": ["right", "left"],
4223
- "inset-y": ["top", "bottom"],
4224
- flex: [
4225
- "basis",
4226
- "grow",
4227
- "shrink"
4228
- ],
4229
- gap: ["gap-x", "gap-y"],
4230
- p: [
4231
- "px",
4232
- "py",
4233
- "ps",
4234
- "pe",
4235
- "pbs",
4236
- "pbe",
4237
- "pt",
4238
- "pr",
4239
- "pb",
4240
- "pl"
4241
- ],
4242
- px: ["pr", "pl"],
4243
- py: ["pt", "pb"],
4244
- m: [
4245
- "mx",
4246
- "my",
4247
- "ms",
4248
- "me",
4249
- "mbs",
4250
- "mbe",
4251
- "mt",
4252
- "mr",
4253
- "mb",
4254
- "ml"
4255
- ],
4256
- mx: ["mr", "ml"],
4257
- my: ["mt", "mb"],
4258
- size: ["w", "h"],
4259
- "font-size": ["leading"],
4260
- "fvn-normal": [
4261
- "fvn-ordinal",
4262
- "fvn-slashed-zero",
4263
- "fvn-figure",
4264
- "fvn-spacing",
4265
- "fvn-fraction"
4266
- ],
4267
- "fvn-ordinal": ["fvn-normal"],
4268
- "fvn-slashed-zero": ["fvn-normal"],
4269
- "fvn-figure": ["fvn-normal"],
4270
- "fvn-spacing": ["fvn-normal"],
4271
- "fvn-fraction": ["fvn-normal"],
4272
- "line-clamp": ["display", "overflow"],
4273
- rounded: [
4274
- "rounded-s",
4275
- "rounded-e",
4276
- "rounded-t",
4277
- "rounded-r",
4278
- "rounded-b",
4279
- "rounded-l",
4280
- "rounded-ss",
4281
- "rounded-se",
4282
- "rounded-ee",
4283
- "rounded-es",
4284
- "rounded-tl",
4285
- "rounded-tr",
4286
- "rounded-br",
4287
- "rounded-bl"
4288
- ],
4289
- "rounded-s": ["rounded-ss", "rounded-es"],
4290
- "rounded-e": ["rounded-se", "rounded-ee"],
4291
- "rounded-t": ["rounded-tl", "rounded-tr"],
4292
- "rounded-r": ["rounded-tr", "rounded-br"],
4293
- "rounded-b": ["rounded-br", "rounded-bl"],
4294
- "rounded-l": ["rounded-tl", "rounded-bl"],
4295
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
4296
- "border-w": [
4297
- "border-w-x",
4298
- "border-w-y",
4299
- "border-w-s",
4300
- "border-w-e",
4301
- "border-w-bs",
4302
- "border-w-be",
4303
- "border-w-t",
4304
- "border-w-r",
4305
- "border-w-b",
4306
- "border-w-l"
4307
- ],
4308
- "border-w-x": ["border-w-r", "border-w-l"],
4309
- "border-w-y": ["border-w-t", "border-w-b"],
4310
- "border-color": [
4311
- "border-color-x",
4312
- "border-color-y",
4313
- "border-color-s",
4314
- "border-color-e",
4315
- "border-color-bs",
4316
- "border-color-be",
4317
- "border-color-t",
4318
- "border-color-r",
4319
- "border-color-b",
4320
- "border-color-l"
4321
- ],
4322
- "border-color-x": ["border-color-r", "border-color-l"],
4323
- "border-color-y": ["border-color-t", "border-color-b"],
4324
- translate: [
4325
- "translate-x",
4326
- "translate-y",
4327
- "translate-none"
4328
- ],
4329
- "translate-none": [
4330
- "translate",
4331
- "translate-x",
4332
- "translate-y",
4333
- "translate-z"
4334
- ],
4335
- "scroll-m": [
4336
- "scroll-mx",
4337
- "scroll-my",
4338
- "scroll-ms",
4339
- "scroll-me",
4340
- "scroll-mbs",
4341
- "scroll-mbe",
4342
- "scroll-mt",
4343
- "scroll-mr",
4344
- "scroll-mb",
4345
- "scroll-ml"
4346
- ],
4347
- "scroll-mx": ["scroll-mr", "scroll-ml"],
4348
- "scroll-my": ["scroll-mt", "scroll-mb"],
4349
- "scroll-p": [
4350
- "scroll-px",
4351
- "scroll-py",
4352
- "scroll-ps",
4353
- "scroll-pe",
4354
- "scroll-pbs",
4355
- "scroll-pbe",
4356
- "scroll-pt",
4357
- "scroll-pr",
4358
- "scroll-pb",
4359
- "scroll-pl"
4360
- ],
4361
- "scroll-px": ["scroll-pr", "scroll-pl"],
4362
- "scroll-py": ["scroll-pt", "scroll-pb"],
4363
- touch: [
4364
- "touch-x",
4365
- "touch-y",
4366
- "touch-pz"
4367
- ],
4368
- "touch-x": ["touch"],
4369
- "touch-y": ["touch"],
4370
- "touch-pz": ["touch"]
4371
- },
4372
- conflictingClassGroupModifiers: { "font-size": ["leading"] },
4373
- postfixLookupClassGroups: ["container-type"],
4374
- orderSensitiveModifiers: [
4375
- "*",
4376
- "**",
4377
- "after",
4378
- "backdrop",
4379
- "before",
4380
- "details-content",
4381
- "file",
4382
- "first-letter",
4383
- "first-line",
4384
- "marker",
4385
- "placeholder",
4386
- "selection"
4387
- ]
4388
- };
4389
- });
4390
- //#endregion
4391
- //#region lib/utils.ts
4392
- function Nn(...e) {
4393
- return Mn(pt(e));
4394
- }
4395
- //#endregion
4396
- //#region node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs
4397
- var Pn = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Fn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), In = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), Ln = (e) => {
4398
- let t = In(e);
4399
- return t.charAt(0).toUpperCase() + t.slice(1);
4400
- }, Rn = {
4401
- xmlns: "http://www.w3.org/2000/svg",
4402
- width: 24,
4403
- height: 24,
4404
- viewBox: "0 0 24 24",
4405
- fill: "none",
4406
- stroke: "currentColor",
4407
- strokeWidth: 2,
4408
- strokeLinecap: "round",
4409
- strokeLinejoin: "round"
4410
- }, zn = (e) => {
4411
- for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
4412
- return !1;
4413
- }, Bn = t({}), Vn = () => a(Bn), Hn = r(({ color: e, size: t, strokeWidth: r, absoluteStrokeWidth: i, className: a = "", children: o, iconNode: s, ...c }, l) => {
4414
- let { size: u = 24, strokeWidth: d = 2, absoluteStrokeWidth: f = !1, color: p = "currentColor", className: m = "" } = Vn() ?? {}, h = i ?? f ? Number(r ?? d) * 24 / Number(t ?? u) : r ?? d;
4415
- return n("svg", {
4416
- ref: l,
4417
- ...Rn,
4418
- width: t ?? u ?? Rn.width,
4419
- height: t ?? u ?? Rn.height,
4420
- stroke: e ?? p,
4421
- strokeWidth: h,
4422
- className: Pn("lucide", m, a),
4423
- ...!o && !zn(c) && { "aria-hidden": "true" },
4424
- ...c
4425
- }, [...s.map(([e, t]) => n(e, t)), ...Array.isArray(o) ? o : [o]]);
4426
- }), Un = (e, t) => {
4427
- let i = r(({ className: r, ...i }, a) => n(Hn, {
4428
- ref: a,
4429
- iconNode: t,
4430
- className: Pn(`lucide-${Fn(Ln(e))}`, `lucide-${e}`, r),
4431
- ...i
4432
- }));
4433
- return i.displayName = Ln(e), i;
4434
- };
4435
- //#endregion
4436
- export { lt as a, dt as i, Nn as n, ct as o, pt as r, rt as s, Un as t };
4437
-
4438
- //# sourceMappingURL=widget-react-krPPnv02.js.map