@everymatrix/cashier-method-details 1.50.0 → 1.51.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.
@@ -1,4 +1,4 @@
1
- import { n as G, s as ze, r as ye, a as ne, i as je, S as Qe, b as Fe, f as Q, c as de, d as Je, e as AA, g as y, h as CA, j as X, k as d, l as M, u as eA, m as fA, o as nA, t as F, p as R, q as Oe, v as J, w as me, x as Re, y as MA, z as zA, A as Ge, B as Ne, C as pe, D as DA } from "./CashierConfirmModal-Ccz0Sdnq.js";
1
+ import { n as G, s as ze, r as ye, a as ne, i as je, S as Qe, b as Fe, f as Q, c as de, d as Je, e as AA, g as y, h as CA, j as b, k as d, l as M, u as eA, m as fA, o as nA, t as F, p as R, q as Oe, v as J, w as me, x as Re, y as MA, z as zA, A as Ge, B as Ne, C as pe, D as DA } from "./CashierConfirmModal-Ccz0Sdnq.js";
2
2
  const m = [];
3
3
  function Ye(A, e) {
4
4
  return {
@@ -175,7 +175,57 @@ function hA(A, e, f) {
175
175
  (r || !(n in e)) && (r || (r = Array.prototype.slice.call(e, 0, n)), r[n] = e[n]);
176
176
  return A.concat(r || Array.prototype.slice.call(e));
177
177
  }
178
- var o;
178
+ function oA(A, e) {
179
+ var f = e && e.cache ? e.cache : Cf, n = e && e.serializer ? e.serializer : sf, t = e && e.strategy ? e.strategy : vf;
180
+ return t(A, {
181
+ cache: f,
182
+ serializer: n
183
+ });
184
+ }
185
+ function Pf(A) {
186
+ return A == null || typeof A == "number" || typeof A == "boolean";
187
+ }
188
+ function re(A, e, f, n) {
189
+ var t = Pf(n) ? n : f(n), r = e.get(t);
190
+ return typeof r == "undefined" && (r = A.call(this, n), e.set(t, r)), r;
191
+ }
192
+ function ie(A, e, f) {
193
+ var n = Array.prototype.slice.call(arguments, 3), t = f(n), r = e.get(t);
194
+ return typeof r == "undefined" && (r = A.apply(this, n), e.set(t, r)), r;
195
+ }
196
+ function yA(A, e, f, n, t) {
197
+ return f.bind(e, A, n, t);
198
+ }
199
+ function vf(A, e) {
200
+ var f = A.length === 1 ? re : ie;
201
+ return yA(A, this, f, e.cache.create(), e.serializer);
202
+ }
203
+ function gf(A, e) {
204
+ return yA(A, this, ie, e.cache.create(), e.serializer);
205
+ }
206
+ function Ef(A, e) {
207
+ return yA(A, this, re, e.cache.create(), e.serializer);
208
+ }
209
+ var sf = function() {
210
+ return JSON.stringify(arguments);
211
+ };
212
+ function jA() {
213
+ this.cache = /* @__PURE__ */ Object.create(null);
214
+ }
215
+ jA.prototype.get = function(A) {
216
+ return this.cache[A];
217
+ };
218
+ jA.prototype.set = function(A, e) {
219
+ this.cache[A] = e;
220
+ };
221
+ var Cf = {
222
+ create: function() {
223
+ return new jA();
224
+ }
225
+ }, BA = {
226
+ variadic: gf,
227
+ monadic: Ef
228
+ }, o;
179
229
  (function(A) {
180
230
  A[A.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", A[A.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", A[A.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", A[A.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", A[A.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", A[A.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", A[A.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", A[A.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", A[A.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", A[A.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", A[A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", A[A.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", A[A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", A[A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", A[A.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", A[A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", A[A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", A[A.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", A[A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", A[A.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", A[A.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", A[A.INVALID_TAG = 23] = "INVALID_TAG", A[A.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", A[A.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", A[A.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
181
231
  })(o || (o = {}));
@@ -190,40 +240,40 @@ var p;
190
240
  function OA(A) {
191
241
  return A.type === H.literal;
192
242
  }
193
- function Pf(A) {
243
+ function hf(A) {
194
244
  return A.type === H.argument;
195
245
  }
196
- function re(A) {
246
+ function we(A) {
197
247
  return A.type === H.number;
198
248
  }
199
- function ie(A) {
249
+ function Pe(A) {
200
250
  return A.type === H.date;
201
251
  }
202
- function we(A) {
252
+ function ve(A) {
203
253
  return A.type === H.time;
204
254
  }
205
- function Pe(A) {
255
+ function ge(A) {
206
256
  return A.type === H.select;
207
257
  }
208
- function ve(A) {
258
+ function Ee(A) {
209
259
  return A.type === H.plural;
210
260
  }
211
- function vf(A) {
261
+ function of(A) {
212
262
  return A.type === H.pound;
213
263
  }
214
- function ge(A) {
264
+ function se(A) {
215
265
  return A.type === H.tag;
216
266
  }
217
- function Ee(A) {
267
+ function Ce(A) {
218
268
  return !!(A && typeof A == "object" && A.type === p.number);
219
269
  }
220
270
  function IA(A) {
221
271
  return !!(A && typeof A == "object" && A.type === p.dateTime);
222
272
  }
223
- var se = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gf = /(?:[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;
224
- function Ef(A) {
273
+ var he = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bf = /(?:[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;
274
+ function af(A) {
225
275
  var e = {};
226
- return A.replace(gf, function(f) {
276
+ return A.replace(Bf, function(f) {
227
277
  var n = f.length;
228
278
  switch (f[0]) {
229
279
  case "G":
@@ -312,11 +362,11 @@ function Ef(A) {
312
362
  return "";
313
363
  }), e;
314
364
  }
315
- var sf = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
316
- function Cf(A) {
365
+ var uf = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
366
+ function xf(A) {
317
367
  if (A.length === 0)
318
368
  throw new Error("Number skeleton cannot be empty");
319
- for (var e = A.split(sf).filter(function(g) {
369
+ for (var e = A.split(uf).filter(function(g) {
320
370
  return g.length > 0;
321
371
  }), f = [], n = 0, t = e; n < t.length; n++) {
322
372
  var r = t[n], i = r.split("/");
@@ -331,17 +381,17 @@ function Cf(A) {
331
381
  }
332
382
  return f;
333
383
  }
334
- function hf(A) {
384
+ function Df(A) {
335
385
  return A.replace(/^(.*?)-/, "");
336
386
  }
337
- var mA = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ce = /^(@+)?(\+|#+)?[rs]?$/g, of = /(\*)(0+)|(#+)(0+)|(0+)/g, he = /^(0+)$/;
387
+ var mA = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, oe = /^(@+)?(\+|#+)?[rs]?$/g, cf = /(\*)(0+)|(#+)(0+)|(0+)/g, Be = /^(0+)$/;
338
388
  function RA(A) {
339
389
  var e = {};
340
- return A[A.length - 1] === "r" ? e.roundingPriority = "morePrecision" : A[A.length - 1] === "s" && (e.roundingPriority = "lessPrecision"), A.replace(Ce, function(f, n, t) {
390
+ return A[A.length - 1] === "r" ? e.roundingPriority = "morePrecision" : A[A.length - 1] === "s" && (e.roundingPriority = "lessPrecision"), A.replace(oe, function(f, n, t) {
341
391
  return typeof t != "string" ? (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length) : t === "+" ? e.minimumSignificantDigits = n.length : n[0] === "#" ? e.maximumSignificantDigits = n.length : (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length + (typeof t == "string" ? t.length : 0)), "";
342
392
  }), e;
343
393
  }
344
- function oe(A) {
394
+ function ae(A) {
345
395
  switch (A) {
346
396
  case "sign-auto":
347
397
  return {
@@ -381,7 +431,7 @@ function oe(A) {
381
431
  };
382
432
  }
383
433
  }
384
- function Bf(A) {
434
+ function If(A) {
385
435
  var e;
386
436
  if (A[0] === "E" && A[1] === "E" ? (e = {
387
437
  notation: "engineering"
@@ -389,17 +439,17 @@ function Bf(A) {
389
439
  notation: "scientific"
390
440
  }, A = A.slice(1)), e) {
391
441
  var f = A.slice(0, 2);
392
- if (f === "+!" ? (e.signDisplay = "always", A = A.slice(2)) : f === "+?" && (e.signDisplay = "exceptZero", A = A.slice(2)), !he.test(A))
442
+ if (f === "+!" ? (e.signDisplay = "always", A = A.slice(2)) : f === "+?" && (e.signDisplay = "exceptZero", A = A.slice(2)), !Be.test(A))
393
443
  throw new Error("Malformed concise eng/scientific notation");
394
444
  e.minimumIntegerDigits = A.length;
395
445
  }
396
446
  return e;
397
447
  }
398
448
  function GA(A) {
399
- var e = {}, f = oe(A);
449
+ var e = {}, f = ae(A);
400
450
  return f || e;
401
451
  }
402
- function af(A) {
452
+ function Hf(A) {
403
453
  for (var e = {}, f = 0, n = A; f < n.length; f++) {
404
454
  var t = n[f];
405
455
  switch (t.stem) {
@@ -423,7 +473,7 @@ function af(A) {
423
473
  continue;
424
474
  case "measure-unit":
425
475
  case "unit":
426
- e.style = "unit", e.unit = hf(t.options[0]);
476
+ e.style = "unit", e.unit = Df(t.options[0]);
427
477
  continue;
428
478
  case "compact-short":
429
479
  case "K":
@@ -485,7 +535,7 @@ function af(A) {
485
535
  case "integer-width":
486
536
  if (t.options.length > 1)
487
537
  throw new RangeError("integer-width stems only accept a single optional option");
488
- t.options[0].replace(of, function(E, P, v, s, g, a) {
538
+ t.options[0].replace(cf, function(E, P, v, s, g, a) {
489
539
  if (P)
490
540
  e.minimumIntegerDigits = v.length;
491
541
  else {
@@ -498,7 +548,7 @@ function af(A) {
498
548
  });
499
549
  continue;
500
550
  }
501
- if (he.test(t.stem)) {
551
+ if (Be.test(t.stem)) {
502
552
  e.minimumIntegerDigits = t.stem.length;
503
553
  continue;
504
554
  }
@@ -512,13 +562,13 @@ function af(A) {
512
562
  r === "w" ? e = u(u({}, e), { trailingZeroDisplay: "stripIfInteger" }) : r && (e = u(u({}, e), RA(r)));
513
563
  continue;
514
564
  }
515
- if (Ce.test(t.stem)) {
565
+ if (oe.test(t.stem)) {
516
566
  e = u(u({}, e), RA(t.stem));
517
567
  continue;
518
568
  }
519
- var i = oe(t.stem);
569
+ var i = ae(t.stem);
520
570
  i && (e = u(u({}, e), i));
521
- var w = Bf(t.stem);
571
+ var w = If(t.stem);
522
572
  w && (e = u(u({}, e), w));
523
573
  }
524
574
  return e;
@@ -528,6 +578,12 @@ var $ = {
528
578
  "H",
529
579
  "h"
530
580
  ],
581
+ 419: [
582
+ "h",
583
+ "H",
584
+ "hB",
585
+ "hb"
586
+ ],
531
587
  AC: [
532
588
  "H",
533
589
  "h",
@@ -576,8 +632,8 @@ var $ = {
576
632
  "hB"
577
633
  ],
578
634
  AR: [
579
- "H",
580
635
  "h",
636
+ "H",
581
637
  "hB",
582
638
  "hb"
583
639
  ],
@@ -667,9 +723,9 @@ var $ = {
667
723
  "H"
668
724
  ],
669
725
  BO: [
726
+ "h",
670
727
  "H",
671
728
  "hB",
672
- "h",
673
729
  "hb"
674
730
  ],
675
731
  BQ: [
@@ -746,8 +802,8 @@ var $ = {
746
802
  "hB"
747
803
  ],
748
804
  CL: [
749
- "H",
750
805
  "h",
806
+ "H",
751
807
  "hB",
752
808
  "hb"
753
809
  ],
@@ -772,14 +828,14 @@ var $ = {
772
828
  "H"
773
829
  ],
774
830
  CR: [
775
- "H",
776
831
  "h",
832
+ "H",
777
833
  "hB",
778
834
  "hb"
779
835
  ],
780
836
  CU: [
781
- "H",
782
837
  "h",
838
+ "H",
783
839
  "hB",
784
840
  "hb"
785
841
  ],
@@ -848,9 +904,9 @@ var $ = {
848
904
  "hb"
849
905
  ],
850
906
  EC: [
907
+ "h",
851
908
  "H",
852
909
  "hB",
853
- "h",
854
910
  "hb"
855
911
  ],
856
912
  EE: [
@@ -986,8 +1042,8 @@ var $ = {
986
1042
  "hB"
987
1043
  ],
988
1044
  GT: [
989
- "H",
990
1045
  "h",
1046
+ "H",
991
1047
  "hB",
992
1048
  "hb"
993
1049
  ],
@@ -1014,8 +1070,8 @@ var $ = {
1014
1070
  "H"
1015
1071
  ],
1016
1072
  HN: [
1017
- "H",
1018
1073
  "h",
1074
+ "H",
1019
1075
  "hB",
1020
1076
  "hb"
1021
1077
  ],
@@ -1329,8 +1385,8 @@ var $ = {
1329
1385
  "hB"
1330
1386
  ],
1331
1387
  MX: [
1332
- "H",
1333
1388
  "h",
1389
+ "H",
1334
1390
  "hB",
1335
1391
  "hb"
1336
1392
  ],
@@ -1370,8 +1426,8 @@ var $ = {
1370
1426
  "hB"
1371
1427
  ],
1372
1428
  NI: [
1373
- "H",
1374
1429
  "h",
1430
+ "H",
1375
1431
  "hB",
1376
1432
  "hb"
1377
1433
  ],
@@ -1419,9 +1475,9 @@ var $ = {
1419
1475
  "hb"
1420
1476
  ],
1421
1477
  PE: [
1478
+ "h",
1422
1479
  "H",
1423
1480
  "hB",
1424
- "h",
1425
1481
  "hb"
1426
1482
  ],
1427
1483
  PF: [
@@ -1479,8 +1535,8 @@ var $ = {
1479
1535
  "H"
1480
1536
  ],
1481
1537
  PY: [
1482
- "H",
1483
1538
  "h",
1539
+ "H",
1484
1540
  "hB",
1485
1541
  "hb"
1486
1542
  ],
@@ -1593,8 +1649,8 @@ var $ = {
1593
1649
  "hB"
1594
1650
  ],
1595
1651
  SV: [
1596
- "H",
1597
1652
  "h",
1653
+ "H",
1598
1654
  "hB",
1599
1655
  "hb"
1600
1656
  ],
@@ -1716,8 +1772,8 @@ var $ = {
1716
1772
  "hB"
1717
1773
  ],
1718
1774
  UY: [
1719
- "H",
1720
1775
  "h",
1776
+ "H",
1721
1777
  "hB",
1722
1778
  "hb"
1723
1779
  ],
@@ -1825,37 +1881,37 @@ var $ = {
1825
1881
  "H",
1826
1882
  "hB"
1827
1883
  ],
1828
- "es-BO": [
1829
- "H",
1884
+ "en-HK": [
1830
1885
  "h",
1831
- "hB",
1832
- "hb"
1886
+ "hb",
1887
+ "H",
1888
+ "hB"
1833
1889
  ],
1834
- "es-BR": [
1890
+ "en-IL": [
1835
1891
  "H",
1836
1892
  "h",
1837
- "hB",
1838
- "hb"
1893
+ "hb",
1894
+ "hB"
1839
1895
  ],
1840
- "es-EC": [
1841
- "H",
1896
+ "en-MY": [
1842
1897
  "h",
1843
- "hB",
1844
- "hb"
1898
+ "hb",
1899
+ "H",
1900
+ "hB"
1845
1901
  ],
1846
- "es-ES": [
1902
+ "es-BR": [
1847
1903
  "H",
1848
1904
  "h",
1849
1905
  "hB",
1850
1906
  "hb"
1851
1907
  ],
1852
- "es-GQ": [
1908
+ "es-ES": [
1853
1909
  "H",
1854
1910
  "h",
1855
1911
  "hB",
1856
1912
  "hb"
1857
1913
  ],
1858
- "es-PE": [
1914
+ "es-GQ": [
1859
1915
  "H",
1860
1916
  "h",
1861
1917
  "hB",
@@ -1932,13 +1988,13 @@ var $ = {
1932
1988
  "h"
1933
1989
  ]
1934
1990
  };
1935
- function uf(A, e) {
1991
+ function Tf(A, e) {
1936
1992
  for (var f = "", n = 0; n < A.length; n++) {
1937
1993
  var t = A.charAt(n);
1938
1994
  if (t === "j") {
1939
1995
  for (var r = 0; n + 1 < A.length && A.charAt(n + 1) === t; )
1940
1996
  r++, n++;
1941
- var i = 1 + (r & 1), w = r < 2 ? 1 : 3 + (r >> 1), E = "a", P = xf(e);
1997
+ var i = 1 + (r & 1), w = r < 2 ? 1 : 3 + (r >> 1), E = "a", P = lf(e);
1942
1998
  for ((P == "H" || P == "k") && (w = 0); w-- > 0; )
1943
1999
  f += E;
1944
2000
  for (; i-- > 0; )
@@ -1947,7 +2003,7 @@ function uf(A, e) {
1947
2003
  }
1948
2004
  return f;
1949
2005
  }
1950
- function xf(A) {
2006
+ function lf(A) {
1951
2007
  var e = A.hourCycle;
1952
2008
  if (e === void 0 && // @ts-ignore hourCycle(s) is not identified yet
1953
2009
  A.hourCycles && // @ts-ignore
@@ -1969,20 +2025,20 @@ function xf(A) {
1969
2025
  var t = $[n || ""] || $[f || ""] || $["".concat(f, "-001")] || $["001"];
1970
2026
  return t[0];
1971
2027
  }
1972
- var oA, Df = new RegExp("^".concat(se.source, "*")), cf = new RegExp("".concat(se.source, "*$"));
2028
+ var aA, Lf = new RegExp("^".concat(he.source, "*")), bf = new RegExp("".concat(he.source, "*$"));
1973
2029
  function B(A, e) {
1974
2030
  return { start: A, end: e };
1975
2031
  }
1976
- var If = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hf = !!String.fromCodePoint, Tf = !!Object.fromEntries, lf = !!String.prototype.codePointAt, Lf = !!String.prototype.trimStart, Xf = !!String.prototype.trimEnd, bf = !!Number.isSafeInteger, Mf = bf ? Number.isSafeInteger : function(A) {
2032
+ var Xf = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mf = !!String.fromCodePoint, zf = !!Object.fromEntries, yf = !!String.prototype.codePointAt, jf = !!String.prototype.trimStart, Qf = !!String.prototype.trimEnd, Ff = !!Number.isSafeInteger, df = Ff ? Number.isSafeInteger : function(A) {
1977
2033
  return typeof A == "number" && isFinite(A) && Math.floor(A) === A && Math.abs(A) <= 9007199254740991;
1978
2034
  }, HA = !0;
1979
2035
  try {
1980
- var zf = ae("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1981
- HA = ((oA = zf.exec("a")) === null || oA === void 0 ? void 0 : oA[0]) === "a";
2036
+ var Jf = xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2037
+ HA = ((aA = Jf.exec("a")) === null || aA === void 0 ? void 0 : aA[0]) === "a";
1982
2038
  } catch (A) {
1983
2039
  HA = !1;
1984
2040
  }
1985
- var NA = If ? (
2041
+ var NA = Xf ? (
1986
2042
  // Native
1987
2043
  function(e, f, n) {
1988
2044
  return e.startsWith(f, n);
@@ -1992,7 +2048,7 @@ var NA = If ? (
1992
2048
  function(e, f, n) {
1993
2049
  return e.slice(n, n + f.length) === f;
1994
2050
  }
1995
- ), TA = Hf ? String.fromCodePoint : (
2051
+ ), TA = Mf ? String.fromCodePoint : (
1996
2052
  // IE11
1997
2053
  function() {
1998
2054
  for (var e = [], f = 0; f < arguments.length; f++)
@@ -2006,7 +2062,7 @@ var NA = If ? (
2006
2062
  }
2007
2063
  ), pA = (
2008
2064
  // native
2009
- Tf ? Object.fromEntries : (
2065
+ zf ? Object.fromEntries : (
2010
2066
  // Ponyfill
2011
2067
  function(e) {
2012
2068
  for (var f = {}, n = 0, t = e; n < t.length; n++) {
@@ -2016,7 +2072,7 @@ var NA = If ? (
2016
2072
  return f;
2017
2073
  }
2018
2074
  )
2019
- ), Be = lf ? (
2075
+ ), ue = yf ? (
2020
2076
  // Native
2021
2077
  function(e, f) {
2022
2078
  return e.codePointAt(f);
@@ -2030,7 +2086,7 @@ var NA = If ? (
2030
2086
  return t < 55296 || t > 56319 || f + 1 === n || (r = e.charCodeAt(f + 1)) < 56320 || r > 57343 ? t : (t - 55296 << 10) + (r - 56320) + 65536;
2031
2087
  }
2032
2088
  }
2033
- ), yf = Lf ? (
2089
+ ), Of = jf ? (
2034
2090
  // Native
2035
2091
  function(e) {
2036
2092
  return e.trimStart();
@@ -2038,9 +2094,9 @@ var NA = If ? (
2038
2094
  ) : (
2039
2095
  // Ponyfill
2040
2096
  function(e) {
2041
- return e.replace(Df, "");
2097
+ return e.replace(Lf, "");
2042
2098
  }
2043
- ), jf = Xf ? (
2099
+ ), mf = Qf ? (
2044
2100
  // Native
2045
2101
  function(e) {
2046
2102
  return e.trimEnd();
@@ -2048,15 +2104,15 @@ var NA = If ? (
2048
2104
  ) : (
2049
2105
  // Ponyfill
2050
2106
  function(e) {
2051
- return e.replace(cf, "");
2107
+ return e.replace(bf, "");
2052
2108
  }
2053
2109
  );
2054
- function ae(A, e) {
2110
+ function xe(A, e) {
2055
2111
  return new RegExp(A, e);
2056
2112
  }
2057
2113
  var lA;
2058
2114
  if (HA) {
2059
- var YA = ae("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2115
+ var YA = xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2060
2116
  lA = function(e, f) {
2061
2117
  var n;
2062
2118
  YA.lastIndex = f;
@@ -2066,14 +2122,14 @@ if (HA) {
2066
2122
  } else
2067
2123
  lA = function(e, f) {
2068
2124
  for (var n = []; ; ) {
2069
- var t = Be(e, f);
2070
- if (t === void 0 || ue(t) || Jf(t))
2125
+ var t = ue(e, f);
2126
+ if (t === void 0 || De(t) || pf(t))
2071
2127
  break;
2072
2128
  n.push(t), f += t >= 65536 ? 2 : 1;
2073
2129
  }
2074
2130
  return TA.apply(void 0, n);
2075
2131
  };
2076
- var Qf = (
2132
+ var Rf = (
2077
2133
  /** @class */
2078
2134
  function() {
2079
2135
  function A(e, f) {
@@ -2155,7 +2211,7 @@ var Qf = (
2155
2211
  return this.error(o.INVALID_TAG, B(n, this.clonePosition()));
2156
2212
  }, A.prototype.parseTagName = function() {
2157
2213
  var e = this.offset();
2158
- for (this.bump(); !this.isEOF() && df(this.char()); )
2214
+ for (this.bump(); !this.isEOF() && Nf(this.char()); )
2159
2215
  this.bump();
2160
2216
  return this.message.slice(e, this.offset());
2161
2217
  }, A.prototype.parseLiteral = function(e, f) {
@@ -2184,7 +2240,7 @@ var Qf = (
2184
2240
  };
2185
2241
  }, A.prototype.tryParseLeftAngleBracket = function() {
2186
2242
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2187
- !Ff(this.peek() || 0)) ? (this.bump(), "<") : null;
2243
+ !Gf(this.peek() || 0)) ? (this.bump(), "<") : null;
2188
2244
  }, A.prototype.tryParseQuote = function(e) {
2189
2245
  if (this.isEOF() || this.char() !== 39)
2190
2246
  return null;
@@ -2271,7 +2327,7 @@ var Qf = (
2271
2327
  var v = this.clonePosition(), s = this.parseSimpleArgStyleIfPossible();
2272
2328
  if (s.err)
2273
2329
  return s;
2274
- var g = jf(s.val);
2330
+ var g = mf(s.val);
2275
2331
  if (g.length === 0)
2276
2332
  return this.error(o.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
2277
2333
  var a = B(v, this.clonePosition());
@@ -2282,7 +2338,7 @@ var Qf = (
2282
2338
  return c;
2283
2339
  var D = B(t, this.clonePosition());
2284
2340
  if (P && NA(P == null ? void 0 : P.style, "::", 0)) {
2285
- var x = yf(P.style.slice(2));
2341
+ var x = Of(P.style.slice(2));
2286
2342
  if (w === "number") {
2287
2343
  var s = this.parseNumberSkeletonFromString(x, P.styleLocation);
2288
2344
  return s.err ? s : {
@@ -2293,12 +2349,12 @@ var Qf = (
2293
2349
  if (x.length === 0)
2294
2350
  return this.error(o.EXPECT_DATE_TIME_SKELETON, D);
2295
2351
  var C = x;
2296
- this.locale && (C = uf(x, this.locale));
2352
+ this.locale && (C = Tf(x, this.locale));
2297
2353
  var g = {
2298
2354
  type: p.dateTime,
2299
2355
  pattern: C,
2300
2356
  location: P.styleLocation,
2301
- parsedOptions: this.shouldParseSkeletons ? Ef(C) : {}
2357
+ parsedOptions: this.shouldParseSkeletons ? af(C) : {}
2302
2358
  }, I = w === "date" ? H.date : H.time;
2303
2359
  return {
2304
2360
  val: { type: I, value: n, location: D, style: g },
@@ -2333,9 +2389,9 @@ var Qf = (
2333
2389
  return s;
2334
2390
  this.bumpSpace(), h = this.parseIdentifierIfPossible(), T = s.val;
2335
2391
  }
2336
- var b = this.tryParsePluralOrSelectOptions(e, w, f, h);
2337
- if (b.err)
2338
- return b;
2392
+ var X = this.tryParsePluralOrSelectOptions(e, w, f, h);
2393
+ if (X.err)
2394
+ return X;
2339
2395
  var c = this.tryParseArgumentClose(t);
2340
2396
  if (c.err)
2341
2397
  return c;
@@ -2344,7 +2400,7 @@ var Qf = (
2344
2400
  val: {
2345
2401
  type: H.select,
2346
2402
  value: n,
2347
- options: pA(b.val),
2403
+ options: pA(X.val),
2348
2404
  location: dA
2349
2405
  },
2350
2406
  err: null
@@ -2352,7 +2408,7 @@ var Qf = (
2352
2408
  val: {
2353
2409
  type: H.plural,
2354
2410
  value: n,
2355
- options: pA(b.val),
2411
+ options: pA(X.val),
2356
2412
  offset: T,
2357
2413
  pluralType: w === "plural" ? "cardinal" : "ordinal",
2358
2414
  location: dA
@@ -2403,7 +2459,7 @@ var Qf = (
2403
2459
  }, A.prototype.parseNumberSkeletonFromString = function(e, f) {
2404
2460
  var n = [];
2405
2461
  try {
2406
- n = Cf(e);
2462
+ n = xf(e);
2407
2463
  } catch (t) {
2408
2464
  return this.error(o.INVALID_NUMBER_SKELETON, f);
2409
2465
  }
@@ -2412,7 +2468,7 @@ var Qf = (
2412
2468
  type: p.number,
2413
2469
  tokens: n,
2414
2470
  location: f,
2415
- parsedOptions: this.shouldParseSkeletons ? af(n) : {}
2471
+ parsedOptions: this.shouldParseSkeletons ? Hf(n) : {}
2416
2472
  },
2417
2473
  err: null
2418
2474
  };
@@ -2460,7 +2516,7 @@ var Qf = (
2460
2516
  break;
2461
2517
  }
2462
2518
  var E = B(t, this.clonePosition());
2463
- return r ? (i *= n, Mf(i) ? { val: i, err: null } : this.error(f, E)) : this.error(e, E);
2519
+ return r ? (i *= n, df(i) ? { val: i, err: null } : this.error(f, E)) : this.error(e, E);
2464
2520
  }, A.prototype.offset = function() {
2465
2521
  return this.position.offset;
2466
2522
  }, A.prototype.isEOF = function() {
@@ -2475,7 +2531,7 @@ var Qf = (
2475
2531
  var e = this.position.offset;
2476
2532
  if (e >= this.message.length)
2477
2533
  throw Error("out of bound");
2478
- var f = Be(this.message, e);
2534
+ var f = ue(this.message, e);
2479
2535
  if (f === void 0)
2480
2536
  throw Error("Offset ".concat(e, " is at invalid UTF-16 code unit boundary"));
2481
2537
  return f;
@@ -2516,7 +2572,7 @@ var Qf = (
2516
2572
  break;
2517
2573
  }
2518
2574
  }, A.prototype.bumpSpace = function() {
2519
- for (; !this.isEOF() && ue(this.char()); )
2575
+ for (; !this.isEOF() && De(this.char()); )
2520
2576
  this.bump();
2521
2577
  }, A.prototype.peek = function() {
2522
2578
  if (this.isEOF())
@@ -2529,86 +2585,36 @@ var Qf = (
2529
2585
  function LA(A) {
2530
2586
  return A >= 97 && A <= 122 || A >= 65 && A <= 90;
2531
2587
  }
2532
- function Ff(A) {
2588
+ function Gf(A) {
2533
2589
  return LA(A) || A === 47;
2534
2590
  }
2535
- function df(A) {
2591
+ function Nf(A) {
2536
2592
  return A === 45 || A === 46 || A >= 48 && A <= 57 || A === 95 || A >= 97 && A <= 122 || A >= 65 && A <= 90 || A == 183 || A >= 192 && A <= 214 || A >= 216 && A <= 246 || A >= 248 && A <= 893 || A >= 895 && A <= 8191 || A >= 8204 && A <= 8205 || A >= 8255 && A <= 8256 || A >= 8304 && A <= 8591 || A >= 11264 && A <= 12271 || A >= 12289 && A <= 55295 || A >= 63744 && A <= 64975 || A >= 65008 && A <= 65533 || A >= 65536 && A <= 983039;
2537
2593
  }
2538
- function ue(A) {
2594
+ function De(A) {
2539
2595
  return A >= 9 && A <= 13 || A === 32 || A === 133 || A >= 8206 && A <= 8207 || A === 8232 || A === 8233;
2540
2596
  }
2541
- function Jf(A) {
2597
+ function pf(A) {
2542
2598
  return A >= 33 && A <= 35 || A === 36 || A >= 37 && A <= 39 || A === 40 || A === 41 || A === 42 || A === 43 || A === 44 || A === 45 || A >= 46 && A <= 47 || A >= 58 && A <= 59 || A >= 60 && A <= 62 || A >= 63 && A <= 64 || A === 91 || A === 92 || A === 93 || A === 94 || A === 96 || A === 123 || A === 124 || A === 125 || A === 126 || A === 161 || A >= 162 && A <= 165 || A === 166 || A === 167 || A === 169 || A === 171 || A === 172 || A === 174 || A === 176 || A === 177 || A === 182 || A === 187 || A === 191 || A === 215 || A === 247 || A >= 8208 && A <= 8213 || A >= 8214 && A <= 8215 || A === 8216 || A === 8217 || A === 8218 || A >= 8219 && A <= 8220 || A === 8221 || A === 8222 || A === 8223 || A >= 8224 && A <= 8231 || A >= 8240 && A <= 8248 || A === 8249 || A === 8250 || A >= 8251 && A <= 8254 || A >= 8257 && A <= 8259 || A === 8260 || A === 8261 || A === 8262 || A >= 8263 && A <= 8273 || A === 8274 || A === 8275 || A >= 8277 && A <= 8286 || A >= 8592 && A <= 8596 || A >= 8597 && A <= 8601 || A >= 8602 && A <= 8603 || A >= 8604 && A <= 8607 || A === 8608 || A >= 8609 && A <= 8610 || A === 8611 || A >= 8612 && A <= 8613 || A === 8614 || A >= 8615 && A <= 8621 || A === 8622 || A >= 8623 && A <= 8653 || A >= 8654 && A <= 8655 || A >= 8656 && A <= 8657 || A === 8658 || A === 8659 || A === 8660 || A >= 8661 && A <= 8691 || A >= 8692 && A <= 8959 || A >= 8960 && A <= 8967 || A === 8968 || A === 8969 || A === 8970 || A === 8971 || A >= 8972 && A <= 8991 || A >= 8992 && A <= 8993 || A >= 8994 && A <= 9e3 || A === 9001 || A === 9002 || A >= 9003 && A <= 9083 || A === 9084 || A >= 9085 && A <= 9114 || A >= 9115 && A <= 9139 || A >= 9140 && A <= 9179 || A >= 9180 && A <= 9185 || A >= 9186 && A <= 9254 || A >= 9255 && A <= 9279 || A >= 9280 && A <= 9290 || A >= 9291 && A <= 9311 || A >= 9472 && A <= 9654 || A === 9655 || A >= 9656 && A <= 9664 || A === 9665 || A >= 9666 && A <= 9719 || A >= 9720 && A <= 9727 || A >= 9728 && A <= 9838 || A === 9839 || A >= 9840 && A <= 10087 || A === 10088 || A === 10089 || A === 10090 || A === 10091 || A === 10092 || A === 10093 || A === 10094 || A === 10095 || A === 10096 || A === 10097 || A === 10098 || A === 10099 || A === 10100 || A === 10101 || A >= 10132 && A <= 10175 || A >= 10176 && A <= 10180 || A === 10181 || A === 10182 || A >= 10183 && A <= 10213 || A === 10214 || A === 10215 || A === 10216 || A === 10217 || A === 10218 || A === 10219 || A === 10220 || A === 10221 || A === 10222 || A === 10223 || A >= 10224 && A <= 10239 || A >= 10240 && A <= 10495 || A >= 10496 && A <= 10626 || A === 10627 || A === 10628 || A === 10629 || A === 10630 || A === 10631 || A === 10632 || A === 10633 || A === 10634 || A === 10635 || A === 10636 || A === 10637 || A === 10638 || A === 10639 || A === 10640 || A === 10641 || A === 10642 || A === 10643 || A === 10644 || A === 10645 || A === 10646 || A === 10647 || A === 10648 || A >= 10649 && A <= 10711 || A === 10712 || A === 10713 || A === 10714 || A === 10715 || A >= 10716 && A <= 10747 || A === 10748 || A === 10749 || A >= 10750 && A <= 11007 || A >= 11008 && A <= 11055 || A >= 11056 && A <= 11076 || A >= 11077 && A <= 11078 || A >= 11079 && A <= 11084 || A >= 11085 && A <= 11123 || A >= 11124 && A <= 11125 || A >= 11126 && A <= 11157 || A === 11158 || A >= 11159 && A <= 11263 || A >= 11776 && A <= 11777 || A === 11778 || A === 11779 || A === 11780 || A === 11781 || A >= 11782 && A <= 11784 || A === 11785 || A === 11786 || A === 11787 || A === 11788 || A === 11789 || A >= 11790 && A <= 11798 || A === 11799 || A >= 11800 && A <= 11801 || A === 11802 || A === 11803 || A === 11804 || A === 11805 || A >= 11806 && A <= 11807 || A === 11808 || A === 11809 || A === 11810 || A === 11811 || A === 11812 || A === 11813 || A === 11814 || A === 11815 || A === 11816 || A === 11817 || A >= 11818 && A <= 11822 || A === 11823 || A >= 11824 && A <= 11833 || A >= 11834 && A <= 11835 || A >= 11836 && A <= 11839 || A === 11840 || A === 11841 || A === 11842 || A >= 11843 && A <= 11855 || A >= 11856 && A <= 11857 || A === 11858 || A >= 11859 && A <= 11903 || A >= 12289 && A <= 12291 || A === 12296 || A === 12297 || A === 12298 || A === 12299 || A === 12300 || A === 12301 || A === 12302 || A === 12303 || A === 12304 || A === 12305 || A >= 12306 && A <= 12307 || A === 12308 || A === 12309 || A === 12310 || A === 12311 || A === 12312 || A === 12313 || A === 12314 || A === 12315 || A === 12316 || A === 12317 || A >= 12318 && A <= 12319 || A === 12320 || A === 12336 || A === 64830 || A === 64831 || A >= 65093 && A <= 65094;
2543
2599
  }
2544
- function XA(A) {
2600
+ function bA(A) {
2545
2601
  A.forEach(function(e) {
2546
- if (delete e.location, Pe(e) || ve(e))
2602
+ if (delete e.location, ge(e) || Ee(e))
2547
2603
  for (var f in e.options)
2548
- delete e.options[f].location, XA(e.options[f].value);
2549
- else re(e) && Ee(e.style) || (ie(e) || we(e)) && IA(e.style) ? delete e.style.location : ge(e) && XA(e.children);
2604
+ delete e.options[f].location, bA(e.options[f].value);
2605
+ else we(e) && Ce(e.style) || (Pe(e) || ve(e)) && IA(e.style) ? delete e.style.location : se(e) && bA(e.children);
2550
2606
  });
2551
2607
  }
2552
- function Of(A, e) {
2608
+ function Yf(A, e) {
2553
2609
  e === void 0 && (e = {}), e = u({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, e);
2554
- var f = new Qf(A, e).parse();
2610
+ var f = new Rf(A, e).parse();
2555
2611
  if (f.err) {
2556
2612
  var n = SyntaxError(o[f.err.kind]);
2557
2613
  throw n.location = f.err.location, n.originalMessage = f.err.message, n;
2558
2614
  }
2559
- return e != null && e.captureLocation || XA(f.val), f.val;
2560
- }
2561
- function BA(A, e) {
2562
- var f = e && e.cache ? e.cache : Yf, n = e && e.serializer ? e.serializer : pf, t = e && e.strategy ? e.strategy : Rf;
2563
- return t(A, {
2564
- cache: f,
2565
- serializer: n
2566
- });
2615
+ return e != null && e.captureLocation || bA(f.val), f.val;
2567
2616
  }
2568
- function mf(A) {
2569
- return A == null || typeof A == "number" || typeof A == "boolean";
2570
- }
2571
- function xe(A, e, f, n) {
2572
- var t = mf(n) ? n : f(n), r = e.get(t);
2573
- return typeof r == "undefined" && (r = A.call(this, n), e.set(t, r)), r;
2574
- }
2575
- function De(A, e, f) {
2576
- var n = Array.prototype.slice.call(arguments, 3), t = f(n), r = e.get(t);
2577
- return typeof r == "undefined" && (r = A.apply(this, n), e.set(t, r)), r;
2578
- }
2579
- function yA(A, e, f, n, t) {
2580
- return f.bind(e, A, n, t);
2581
- }
2582
- function Rf(A, e) {
2583
- var f = A.length === 1 ? xe : De;
2584
- return yA(A, this, f, e.cache.create(), e.serializer);
2585
- }
2586
- function Gf(A, e) {
2587
- return yA(A, this, De, e.cache.create(), e.serializer);
2588
- }
2589
- function Nf(A, e) {
2590
- return yA(A, this, xe, e.cache.create(), e.serializer);
2591
- }
2592
- var pf = function() {
2593
- return JSON.stringify(arguments);
2594
- };
2595
- function jA() {
2596
- this.cache = /* @__PURE__ */ Object.create(null);
2597
- }
2598
- jA.prototype.get = function(A) {
2599
- return this.cache[A];
2600
- };
2601
- jA.prototype.set = function(A, e) {
2602
- this.cache[A] = e;
2603
- };
2604
- var Yf = {
2605
- create: function() {
2606
- return new jA();
2607
- }
2608
- }, aA = {
2609
- variadic: Gf,
2610
- monadic: Nf
2611
- }, Y;
2617
+ var Y;
2612
2618
  (function(A) {
2613
2619
  A.MISSING_VALUE = "MISSING_VALUE", A.INVALID_VALUE = "INVALID_VALUE", A.MISSING_INTL_API = "MISSING_INTL_API";
2614
2620
  })(Y || (Y = {}));
@@ -2681,7 +2687,7 @@ function tA(A, e, f, n, t, r, i) {
2681
2687
  });
2682
2688
  continue;
2683
2689
  }
2684
- if (vf(v)) {
2690
+ if (of(v)) {
2685
2691
  typeof r == "number" && w.push({
2686
2692
  type: l.literal,
2687
2693
  value: f.getNumberFormat(e).format(r)
@@ -2692,14 +2698,14 @@ function tA(A, e, f, n, t, r, i) {
2692
2698
  if (!(t && s in t))
2693
2699
  throw new kf(s, i);
2694
2700
  var g = t[s];
2695
- if (Pf(v)) {
2701
+ if (hf(v)) {
2696
2702
  (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), w.push({
2697
2703
  type: typeof g == "string" ? l.literal : l.object,
2698
2704
  value: g
2699
2705
  });
2700
2706
  continue;
2701
2707
  }
2702
- if (ie(v)) {
2708
+ if (Pe(v)) {
2703
2709
  var a = typeof v.style == "string" ? n.date[v.style] : IA(v.style) ? v.style.parsedOptions : void 0;
2704
2710
  w.push({
2705
2711
  type: l.literal,
@@ -2707,7 +2713,7 @@ function tA(A, e, f, n, t, r, i) {
2707
2713
  });
2708
2714
  continue;
2709
2715
  }
2710
- if (we(v)) {
2716
+ if (ve(v)) {
2711
2717
  var a = typeof v.style == "string" ? n.time[v.style] : IA(v.style) ? v.style.parsedOptions : n.time.medium;
2712
2718
  w.push({
2713
2719
  type: l.literal,
@@ -2715,15 +2721,15 @@ function tA(A, e, f, n, t, r, i) {
2715
2721
  });
2716
2722
  continue;
2717
2723
  }
2718
- if (re(v)) {
2719
- var a = typeof v.style == "string" ? n.number[v.style] : Ee(v.style) ? v.style.parsedOptions : void 0;
2724
+ if (we(v)) {
2725
+ var a = typeof v.style == "string" ? n.number[v.style] : Ce(v.style) ? v.style.parsedOptions : void 0;
2720
2726
  a && a.scale && (g = g * (a.scale || 1)), w.push({
2721
2727
  type: l.literal,
2722
2728
  value: f.getNumberFormat(e, a).format(g)
2723
2729
  });
2724
2730
  continue;
2725
2731
  }
2726
- if (ge(v)) {
2732
+ if (se(v)) {
2727
2733
  var c = v.children, D = v.value, x = t[D];
2728
2734
  if (!Uf(x))
2729
2735
  throw new Sf(D, "function", i);
@@ -2737,14 +2743,14 @@ function tA(A, e, f, n, t, r, i) {
2737
2743
  };
2738
2744
  }));
2739
2745
  }
2740
- if (Pe(v)) {
2746
+ if (ge(v)) {
2741
2747
  var L = v.options[g] || v.options.other;
2742
2748
  if (!L)
2743
2749
  throw new SA(v.value, g, Object.keys(v.options), i);
2744
2750
  w.push.apply(w, tA(L.value, e, f, n, t));
2745
2751
  continue;
2746
2752
  }
2747
- if (ve(v)) {
2753
+ if (Ee(v)) {
2748
2754
  var L = v.options["=".concat(g)];
2749
2755
  if (!L) {
2750
2756
  if (!Intl.PluralRules)
@@ -2792,29 +2798,29 @@ function Vf(A) {
2792
2798
  dateTime: {},
2793
2799
  pluralRules: {}
2794
2800
  }), {
2795
- getNumberFormat: BA(function() {
2801
+ getNumberFormat: oA(function() {
2796
2802
  for (var e, f = [], n = 0; n < arguments.length; n++)
2797
2803
  f[n] = arguments[n];
2798
2804
  return new ((e = Intl.NumberFormat).bind.apply(e, hA([void 0], f, !1)))();
2799
2805
  }, {
2800
2806
  cache: uA(A.number),
2801
- strategy: aA.variadic
2807
+ strategy: BA.variadic
2802
2808
  }),
2803
- getDateTimeFormat: BA(function() {
2809
+ getDateTimeFormat: oA(function() {
2804
2810
  for (var e, f = [], n = 0; n < arguments.length; n++)
2805
2811
  f[n] = arguments[n];
2806
2812
  return new ((e = Intl.DateTimeFormat).bind.apply(e, hA([void 0], f, !1)))();
2807
2813
  }, {
2808
2814
  cache: uA(A.dateTime),
2809
- strategy: aA.variadic
2815
+ strategy: BA.variadic
2810
2816
  }),
2811
- getPluralRules: BA(function() {
2817
+ getPluralRules: oA(function() {
2812
2818
  for (var e, f = [], n = 0; n < arguments.length; n++)
2813
2819
  f[n] = arguments[n];
2814
2820
  return new ((e = Intl.PluralRules).bind.apply(e, hA([void 0], f, !1)))();
2815
2821
  }, {
2816
2822
  cache: uA(A.pluralRules),
2817
- strategy: aA.variadic
2823
+ strategy: BA.variadic
2818
2824
  })
2819
2825
  };
2820
2826
  }
@@ -2822,8 +2828,9 @@ var ce = (
2822
2828
  /** @class */
2823
2829
  function() {
2824
2830
  function A(e, f, n, t) {
2831
+ f === void 0 && (f = A.defaultLocale);
2825
2832
  var r = this;
2826
- if (f === void 0 && (f = A.defaultLocale), this.formatterCache = {
2833
+ if (this.formatterCache = {
2827
2834
  number: {},
2828
2835
  dateTime: {},
2829
2836
  pluralRules: {}
@@ -2868,7 +2875,7 @@ var ce = (
2868
2875
  var f = Intl.NumberFormat.supportedLocalesOf(e);
2869
2876
  return f.length > 0 ? new Intl.Locale(f[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
2870
2877
  }
2871
- }, A.__parse = Of, A.formats = {
2878
+ }, A.__parse = Yf, A.formats = {
2872
2879
  number: {
2873
2880
  integer: {
2874
2881
  maximumFractionDigits: 0
@@ -3118,7 +3125,7 @@ var Cn = Object.defineProperty, hn = Object.defineProperties, on = Object.getOwn
3118
3125
  an.call(e, f) && UA(A, f, e[f]);
3119
3126
  return A;
3120
3127
  }, xn = (A, e) => hn(A, on(e));
3121
- let bA;
3128
+ let XA;
3122
3129
  const wA = vA(null);
3123
3130
  function WA(A) {
3124
3131
  return A.split("-").map((e, f, n) => n.slice(0, f + 1).join("-")).reverse();
@@ -3128,10 +3135,10 @@ function _(A, e = S().fallbackLocale) {
3128
3135
  return e ? [.../* @__PURE__ */ new Set([...f, ...WA(e)])] : f;
3129
3136
  }
3130
3137
  function j() {
3131
- return bA != null ? bA : void 0;
3138
+ return XA != null ? XA : void 0;
3132
3139
  }
3133
3140
  wA.subscribe((A) => {
3134
- bA = A != null ? A : void 0, typeof window != "undefined" && A != null && document.documentElement.setAttribute("lang", A);
3141
+ XA = A != null ? A : void 0, typeof window != "undefined" && A != null && document.documentElement.setAttribute("lang", A);
3135
3142
  });
3136
3143
  const Dn = (A) => {
3137
3144
  if (A && en(A) && iA(A)) {
@@ -3156,20 +3163,20 @@ const Dn = (A) => {
3156
3163
  return t in e ? e[t] : e[t] = A(n);
3157
3164
  };
3158
3165
  };
3159
- var cn = Object.defineProperty, PA = Object.getOwnPropertySymbols, Xe = Object.prototype.hasOwnProperty, be = Object.prototype.propertyIsEnumerable, ZA = (A, e, f) => e in A ? cn(A, e, { enumerable: !0, configurable: !0, writable: !0, value: f }) : A[e] = f, FA = (A, e) => {
3166
+ var cn = Object.defineProperty, PA = Object.getOwnPropertySymbols, be = Object.prototype.hasOwnProperty, Xe = Object.prototype.propertyIsEnumerable, ZA = (A, e, f) => e in A ? cn(A, e, { enumerable: !0, configurable: !0, writable: !0, value: f }) : A[e] = f, FA = (A, e) => {
3160
3167
  for (var f in e || (e = {}))
3161
- Xe.call(e, f) && ZA(A, f, e[f]);
3168
+ be.call(e, f) && ZA(A, f, e[f]);
3162
3169
  if (PA)
3163
3170
  for (var f of PA(e))
3164
- be.call(e, f) && ZA(A, f, e[f]);
3171
+ Xe.call(e, f) && ZA(A, f, e[f]);
3165
3172
  return A;
3166
3173
  }, K = (A, e) => {
3167
3174
  var f = {};
3168
3175
  for (var n in A)
3169
- Xe.call(A, n) && e.indexOf(n) < 0 && (f[n] = A[n]);
3176
+ be.call(A, n) && e.indexOf(n) < 0 && (f[n] = A[n]);
3170
3177
  if (A != null && PA)
3171
3178
  for (var n of PA(A))
3172
- e.indexOf(n) < 0 && be.call(A, n) && (f[n] = A[n]);
3179
+ e.indexOf(n) < 0 && Xe.call(A, n) && (f[n] = A[n]);
3173
3180
  return f;
3174
3181
  };
3175
3182
  const V = (A, e) => {
@@ -3214,14 +3221,14 @@ const V = (A, e) => {
3214
3221
  "locale"
3215
3222
  ]);
3216
3223
  return Hn(FA({ locale: f }, n));
3217
- }, Xn = (A = {}) => {
3224
+ }, bn = (A = {}) => {
3218
3225
  var e = A, {
3219
3226
  locale: f = j()
3220
3227
  } = e, n = K(e, [
3221
3228
  "locale"
3222
3229
  ]);
3223
3230
  return Tn(FA({ locale: f }, n));
3224
- }, bn = sA(
3231
+ }, Xn = sA(
3225
3232
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3226
3233
  (A, e = j()) => new ce(A, e, S().formats, {
3227
3234
  ignoreTag: S().ignoreTag
@@ -3250,7 +3257,7 @@ const V = (A, e) => {
3250
3257
  return v;
3251
3258
  let s = v;
3252
3259
  try {
3253
- s = bn(v, E).format(w);
3260
+ s = Xn(v, E).format(w);
3254
3261
  } catch (g) {
3255
3262
  g instanceof Error && console.warn(
3256
3263
  `[svelte-i18n] Message "${A}" has syntax error:`,
@@ -3258,7 +3265,7 @@ const V = (A, e) => {
3258
3265
  );
3259
3266
  }
3260
3267
  return s;
3261
- }, zn = (A, e) => Xn(e).format(A), yn = (A, e) => Ln(e).format(A), jn = (A, e) => ln(e).format(A), Qn = (A, e = j()) => Ie(A, e), Fn = k([O, q], () => Mn);
3268
+ }, zn = (A, e) => bn(e).format(A), yn = (A, e) => Ln(e).format(A), jn = (A, e) => ln(e).format(A), Qn = (A, e = j()) => Ie(A, e), Fn = k([O, q], () => Mn);
3262
3269
  k([O], () => zn);
3263
3270
  k([O], () => yn);
3264
3271
  k([O], () => jn);
@@ -3321,7 +3328,7 @@ function pn(A) {
3321
3328
  let e, f;
3322
3329
  return {
3323
3330
  c() {
3324
- e = y("img"), DA(e.src, f = Jn) || X(e, "src", f), X(e, "width", "300px"), X(e, "alt", "error");
3331
+ e = y("img"), DA(e.src, f = Jn) || b(e, "src", f), b(e, "width", "300px"), b(e, "alt", "error");
3325
3332
  },
3326
3333
  m(n, t) {
3327
3334
  d(n, e, t);
@@ -3337,7 +3344,7 @@ function Yn(A) {
3337
3344
  return {
3338
3345
  c() {
3339
3346
  e = y("img"), DA(e.src, f = `${/*assetsurl*/
3340
- A[0]}/error-general-icon.png`) || X(e, "src", f), X(e, "width", "300px"), X(e, "alt", "error");
3347
+ A[0]}/error-general-icon.png`) || b(e, "src", f), b(e, "width", "300px"), b(e, "alt", "error");
3341
3348
  },
3342
3349
  m(n, t) {
3343
3350
  d(n, e, t);
@@ -3345,7 +3352,7 @@ function Yn(A) {
3345
3352
  p(n, t) {
3346
3353
  t & /*assetsurl*/
3347
3354
  1 && !DA(e.src, f = `${/*assetsurl*/
3348
- n[0]}/error-general-icon.png`) && X(e, "src", f);
3355
+ n[0]}/error-general-icon.png`) && b(e, "src", f);
3349
3356
  },
3350
3357
  d(n) {
3351
3358
  n && J(e);
@@ -3383,7 +3390,7 @@ function kn(A) {
3383
3390
  ), n;
3384
3391
  return {
3385
3392
  c() {
3386
- e = y("span"), n = MA(f), X(e, "class", "CashierErrorTitle");
3393
+ e = y("span"), n = MA(f), b(e, "class", "CashierErrorTitle");
3387
3394
  },
3388
3395
  m(t, r) {
3389
3396
  d(t, e, r), M(e, n);
@@ -3406,7 +3413,7 @@ function Kn(A) {
3406
3413
  ), n;
3407
3414
  return {
3408
3415
  c() {
3409
- e = y("span"), n = MA(f), X(e, "class", "CashierErrorText");
3416
+ e = y("span"), n = MA(f), b(e, "class", "CashierErrorText");
3410
3417
  },
3411
3418
  m(t, r) {
3412
3419
  d(t, e, r), M(e, n);
@@ -3481,7 +3488,7 @@ function Un(A) {
3481
3488
  ), t, r, i;
3482
3489
  return {
3483
3490
  c() {
3484
- e = y("button"), f = y("span"), t = MA(n), X(e, "class", "CashierErrorButton");
3491
+ e = y("button"), f = y("span"), t = MA(n), b(e, "class", "CashierErrorButton");
3485
3492
  },
3486
3493
  m(w, E) {
3487
3494
  d(w, e, E), M(e, f), M(f, t), r || (i = Ge(
@@ -3536,7 +3543,7 @@ function Wn(A) {
3536
3543
  A[1] === "false") && fe(A);
3537
3544
  return {
3538
3545
  c() {
3539
- e = y("div"), f = y("div"), P && P.c(), n = CA(), g && g.c(), t = CA(), D && D.c(), r = CA(), x && x.c(), X(f, "class", "CashierErrorContent"), X(e, "class", "CashierError");
3546
+ e = y("div"), f = y("div"), P && P.c(), n = CA(), g && g.c(), t = CA(), D && D.c(), r = CA(), x && x.c(), b(f, "class", "CashierErrorContent"), b(e, "class", "CashierError");
3540
3547
  },
3541
3548
  m(C, I) {
3542
3549
  d(C, e, I), M(e, f), P && P.m(f, null), M(f, n), g && g.m(f, null), M(f, t), D && D.m(f, null), M(f, r), x && x.m(f, null), A[12](e), i = !0;
@@ -3625,8 +3632,8 @@ function Zn(A, e, f) {
3625
3632
  dn(w);
3626
3633
  }, D = () => {
3627
3634
  fetch(g).then((T) => T.json()).then((T) => {
3628
- Object.keys(T).forEach((b) => {
3629
- VA(b, T[b]);
3635
+ Object.keys(T).forEach((X) => {
3636
+ VA(X, T[X]);
3630
3637
  });
3631
3638
  }).catch((T) => {
3632
3639
  console.log(T);
@@ -3640,8 +3647,8 @@ function Zn(A, e, f) {
3640
3647
  h.innerHTML = v, a.appendChild(h);
3641
3648
  }, C = () => {
3642
3649
  let h = new URL(s), T = document.createElement("style");
3643
- fetch(h.href).then((b) => b.text()).then((b) => {
3644
- T.innerHTML = b, setTimeout(
3650
+ fetch(h.href).then((X) => X.text()).then((X) => {
3651
+ T.innerHTML = X, setTimeout(
3645
3652
  () => {
3646
3653
  a.appendChild(T);
3647
3654
  },