@everymatrix/casino-tournaments-slider-controller 1.49.2 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -184,7 +184,57 @@ function It(e, t, r) {
184
184
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
185
185
  return e.concat(o || Array.prototype.slice.call(t));
186
186
  }
187
- var N;
187
+ function xt(e, t) {
188
+ var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : Hn;
189
+ return i(e, {
190
+ cache: r,
191
+ serializer: n
192
+ });
193
+ }
194
+ function Tn(e) {
195
+ return e == null || typeof e == "number" || typeof e == "boolean";
196
+ }
197
+ function yr(e, t, r, n) {
198
+ var i = Tn(n) ? n : r(n), o = t.get(i);
199
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
200
+ }
201
+ function wr(e, t, r) {
202
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
203
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
204
+ }
205
+ function _t(e, t, r, n, i) {
206
+ return r.bind(t, e, n, i);
207
+ }
208
+ function Hn(e, t) {
209
+ var r = e.length === 1 ? yr : wr;
210
+ return _t(e, this, r, t.cache.create(), t.serializer);
211
+ }
212
+ function Cn(e, t) {
213
+ return _t(e, this, wr, t.cache.create(), t.serializer);
214
+ }
215
+ function Rn(e, t) {
216
+ return _t(e, this, yr, t.cache.create(), t.serializer);
217
+ }
218
+ var Sn = function() {
219
+ return JSON.stringify(arguments);
220
+ };
221
+ function Qt() {
222
+ this.cache = /* @__PURE__ */ Object.create(null);
223
+ }
224
+ Qt.prototype.get = function(e) {
225
+ return this.cache[e];
226
+ };
227
+ Qt.prototype.set = function(e, t) {
228
+ this.cache[e] = t;
229
+ };
230
+ var On = {
231
+ create: function() {
232
+ return new Qt();
233
+ }
234
+ }, Bt = {
235
+ variadic: Cn,
236
+ monadic: Rn
237
+ }, N;
188
238
  (function(e) {
189
239
  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";
190
240
  })(N || (N = {}));
@@ -199,40 +249,40 @@ var Me;
199
249
  function Wt(e) {
200
250
  return e.type === z.literal;
201
251
  }
202
- function Tn(e) {
252
+ function Nn(e) {
203
253
  return e.type === z.argument;
204
254
  }
205
- function yr(e) {
255
+ function Ir(e) {
206
256
  return e.type === z.number;
207
257
  }
208
- function wr(e) {
258
+ function xr(e) {
209
259
  return e.type === z.date;
210
260
  }
211
- function Ir(e) {
261
+ function Br(e) {
212
262
  return e.type === z.time;
213
263
  }
214
- function xr(e) {
264
+ function Tr(e) {
215
265
  return e.type === z.select;
216
266
  }
217
- function Br(e) {
267
+ function Hr(e) {
218
268
  return e.type === z.plural;
219
269
  }
220
- function Hn(e) {
270
+ function Ln(e) {
221
271
  return e.type === z.pound;
222
272
  }
223
- function Tr(e) {
273
+ function Cr(e) {
224
274
  return e.type === z.tag;
225
275
  }
226
- function Hr(e) {
276
+ function Rr(e) {
227
277
  return !!(e && typeof e == "object" && e.type === Me.number);
228
278
  }
229
279
  function Nt(e) {
230
280
  return !!(e && typeof e == "object" && e.type === Me.dateTime);
231
281
  }
232
- var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
233
- function Rn(e) {
282
+ var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
283
+ function Pn(e) {
234
284
  var t = {};
235
- return e.replace(Cn, function(r) {
285
+ return e.replace(Dn, function(r) {
236
286
  var n = r.length;
237
287
  switch (r[0]) {
238
288
  case "G":
@@ -321,11 +371,11 @@ function Rn(e) {
321
371
  return "";
322
372
  }), t;
323
373
  }
324
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
325
- function On(e) {
374
+ var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
375
+ function kn(e) {
326
376
  if (e.length === 0)
327
377
  throw new Error("Number skeleton cannot be empty");
328
- for (var t = e.split(Sn).filter(function(v) {
378
+ for (var t = e.split(Mn).filter(function(v) {
329
379
  return v.length > 0;
330
380
  }), r = [], n = 0, i = t; n < i.length; n++) {
331
381
  var o = i[n], f = o.split("/");
@@ -340,17 +390,17 @@ function On(e) {
340
390
  }
341
391
  return r;
342
392
  }
343
- function Nn(e) {
393
+ function Un(e) {
344
394
  return e.replace(/^(.*?)-/, "");
345
395
  }
346
- var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Sr = /^(0+)$/;
396
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Nr = /^(0+)$/;
347
397
  function $t(e) {
348
398
  var t = {};
349
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
399
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
350
400
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
351
401
  }), t;
352
402
  }
353
- function Or(e) {
403
+ function Lr(e) {
354
404
  switch (e) {
355
405
  case "sign-auto":
356
406
  return {
@@ -390,7 +440,7 @@ function Or(e) {
390
440
  };
391
441
  }
392
442
  }
393
- function Dn(e) {
443
+ function Fn(e) {
394
444
  var t;
395
445
  if (e[0] === "E" && e[1] === "E" ? (t = {
396
446
  notation: "engineering"
@@ -398,17 +448,17 @@ function Dn(e) {
398
448
  notation: "scientific"
399
449
  }, e = e.slice(1)), t) {
400
450
  var r = e.slice(0, 2);
401
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sr.test(e))
451
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nr.test(e))
402
452
  throw new Error("Malformed concise eng/scientific notation");
403
453
  t.minimumIntegerDigits = e.length;
404
454
  }
405
455
  return t;
406
456
  }
407
457
  function er(e) {
408
- var t = {}, r = Or(e);
458
+ var t = {}, r = Lr(e);
409
459
  return r || t;
410
460
  }
411
- function Pn(e) {
461
+ function _n(e) {
412
462
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
413
463
  var i = n[r];
414
464
  switch (i.stem) {
@@ -432,7 +482,7 @@ function Pn(e) {
432
482
  continue;
433
483
  case "measure-unit":
434
484
  case "unit":
435
- t.style = "unit", t.unit = Nn(i.options[0]);
485
+ t.style = "unit", t.unit = Un(i.options[0]);
436
486
  continue;
437
487
  case "compact-short":
438
488
  case "K":
@@ -494,7 +544,7 @@ function Pn(e) {
494
544
  case "integer-width":
495
545
  if (i.options.length > 1)
496
546
  throw new RangeError("integer-width stems only accept a single optional option");
497
- i.options[0].replace(Ln, function(d, u, l, g, v, S) {
547
+ i.options[0].replace(Gn, function(d, u, l, g, v, S) {
498
548
  if (u)
499
549
  t.minimumIntegerDigits = l.length;
500
550
  else {
@@ -507,7 +557,7 @@ function Pn(e) {
507
557
  });
508
558
  continue;
509
559
  }
510
- if (Sr.test(i.stem)) {
560
+ if (Nr.test(i.stem)) {
511
561
  t.minimumIntegerDigits = i.stem.length;
512
562
  continue;
513
563
  }
@@ -521,13 +571,13 @@ function Pn(e) {
521
571
  o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), $t(o)));
522
572
  continue;
523
573
  }
524
- if (Rr.test(i.stem)) {
574
+ if (Or.test(i.stem)) {
525
575
  t = k(k({}, t), $t(i.stem));
526
576
  continue;
527
577
  }
528
- var f = Or(i.stem);
578
+ var f = Lr(i.stem);
529
579
  f && (t = k(k({}, t), f));
530
- var c = Dn(i.stem);
580
+ var c = Fn(i.stem);
531
581
  c && (t = k(k({}, t), c));
532
582
  }
533
583
  return t;
@@ -537,6 +587,12 @@ var ot = {
537
587
  "H",
538
588
  "h"
539
589
  ],
590
+ 419: [
591
+ "h",
592
+ "H",
593
+ "hB",
594
+ "hb"
595
+ ],
540
596
  AC: [
541
597
  "H",
542
598
  "h",
@@ -585,8 +641,8 @@ var ot = {
585
641
  "hB"
586
642
  ],
587
643
  AR: [
588
- "H",
589
644
  "h",
645
+ "H",
590
646
  "hB",
591
647
  "hb"
592
648
  ],
@@ -676,9 +732,9 @@ var ot = {
676
732
  "H"
677
733
  ],
678
734
  BO: [
735
+ "h",
679
736
  "H",
680
737
  "hB",
681
- "h",
682
738
  "hb"
683
739
  ],
684
740
  BQ: [
@@ -755,8 +811,8 @@ var ot = {
755
811
  "hB"
756
812
  ],
757
813
  CL: [
758
- "H",
759
814
  "h",
815
+ "H",
760
816
  "hB",
761
817
  "hb"
762
818
  ],
@@ -781,14 +837,14 @@ var ot = {
781
837
  "H"
782
838
  ],
783
839
  CR: [
784
- "H",
785
840
  "h",
841
+ "H",
786
842
  "hB",
787
843
  "hb"
788
844
  ],
789
845
  CU: [
790
- "H",
791
846
  "h",
847
+ "H",
792
848
  "hB",
793
849
  "hb"
794
850
  ],
@@ -857,9 +913,9 @@ var ot = {
857
913
  "hb"
858
914
  ],
859
915
  EC: [
916
+ "h",
860
917
  "H",
861
918
  "hB",
862
- "h",
863
919
  "hb"
864
920
  ],
865
921
  EE: [
@@ -995,8 +1051,8 @@ var ot = {
995
1051
  "hB"
996
1052
  ],
997
1053
  GT: [
998
- "H",
999
1054
  "h",
1055
+ "H",
1000
1056
  "hB",
1001
1057
  "hb"
1002
1058
  ],
@@ -1023,8 +1079,8 @@ var ot = {
1023
1079
  "H"
1024
1080
  ],
1025
1081
  HN: [
1026
- "H",
1027
1082
  "h",
1083
+ "H",
1028
1084
  "hB",
1029
1085
  "hb"
1030
1086
  ],
@@ -1338,8 +1394,8 @@ var ot = {
1338
1394
  "hB"
1339
1395
  ],
1340
1396
  MX: [
1341
- "H",
1342
1397
  "h",
1398
+ "H",
1343
1399
  "hB",
1344
1400
  "hb"
1345
1401
  ],
@@ -1379,8 +1435,8 @@ var ot = {
1379
1435
  "hB"
1380
1436
  ],
1381
1437
  NI: [
1382
- "H",
1383
1438
  "h",
1439
+ "H",
1384
1440
  "hB",
1385
1441
  "hb"
1386
1442
  ],
@@ -1428,9 +1484,9 @@ var ot = {
1428
1484
  "hb"
1429
1485
  ],
1430
1486
  PE: [
1487
+ "h",
1431
1488
  "H",
1432
1489
  "hB",
1433
- "h",
1434
1490
  "hb"
1435
1491
  ],
1436
1492
  PF: [
@@ -1488,8 +1544,8 @@ var ot = {
1488
1544
  "H"
1489
1545
  ],
1490
1546
  PY: [
1491
- "H",
1492
1547
  "h",
1548
+ "H",
1493
1549
  "hB",
1494
1550
  "hb"
1495
1551
  ],
@@ -1602,8 +1658,8 @@ var ot = {
1602
1658
  "hB"
1603
1659
  ],
1604
1660
  SV: [
1605
- "H",
1606
1661
  "h",
1662
+ "H",
1607
1663
  "hB",
1608
1664
  "hb"
1609
1665
  ],
@@ -1725,8 +1781,8 @@ var ot = {
1725
1781
  "hB"
1726
1782
  ],
1727
1783
  UY: [
1728
- "H",
1729
1784
  "h",
1785
+ "H",
1730
1786
  "hB",
1731
1787
  "hb"
1732
1788
  ],
@@ -1834,37 +1890,37 @@ var ot = {
1834
1890
  "H",
1835
1891
  "hB"
1836
1892
  ],
1837
- "es-BO": [
1838
- "H",
1893
+ "en-HK": [
1839
1894
  "h",
1840
- "hB",
1841
- "hb"
1895
+ "hb",
1896
+ "H",
1897
+ "hB"
1842
1898
  ],
1843
- "es-BR": [
1899
+ "en-IL": [
1844
1900
  "H",
1845
1901
  "h",
1846
- "hB",
1847
- "hb"
1902
+ "hb",
1903
+ "hB"
1848
1904
  ],
1849
- "es-EC": [
1850
- "H",
1905
+ "en-MY": [
1851
1906
  "h",
1852
- "hB",
1853
- "hb"
1907
+ "hb",
1908
+ "H",
1909
+ "hB"
1854
1910
  ],
1855
- "es-ES": [
1911
+ "es-BR": [
1856
1912
  "H",
1857
1913
  "h",
1858
1914
  "hB",
1859
1915
  "hb"
1860
1916
  ],
1861
- "es-GQ": [
1917
+ "es-ES": [
1862
1918
  "H",
1863
1919
  "h",
1864
1920
  "hB",
1865
1921
  "hb"
1866
1922
  ],
1867
- "es-PE": [
1923
+ "es-GQ": [
1868
1924
  "H",
1869
1925
  "h",
1870
1926
  "hB",
@@ -1941,13 +1997,13 @@ var ot = {
1941
1997
  "h"
1942
1998
  ]
1943
1999
  };
1944
- function Mn(e, t) {
2000
+ function Qn(e, t) {
1945
2001
  for (var r = "", n = 0; n < e.length; n++) {
1946
2002
  var i = e.charAt(n);
1947
2003
  if (i === "j") {
1948
2004
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
1949
2005
  o++, n++;
1950
- var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = kn(t);
2006
+ var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = jn(t);
1951
2007
  for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
1952
2008
  r += d;
1953
2009
  for (; f-- > 0; )
@@ -1956,7 +2012,7 @@ function Mn(e, t) {
1956
2012
  }
1957
2013
  return r;
1958
2014
  }
1959
- function kn(e) {
2015
+ function jn(e) {
1960
2016
  var t = e.hourCycle;
1961
2017
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
1962
2018
  e.hourCycles && // @ts-ignore
@@ -1978,20 +2034,20 @@ function kn(e) {
1978
2034
  var i = ot[n || ""] || ot[r || ""] || ot["".concat(r, "-001")] || ot["001"];
1979
2035
  return i[0];
1980
2036
  }
1981
- var xt, Un = new RegExp("^".concat(Cr.source, "*")), Gn = new RegExp("".concat(Cr.source, "*$"));
2037
+ var Tt, Jn = new RegExp("^".concat(Sr.source, "*")), Xn = new RegExp("".concat(Sr.source, "*$"));
1982
2038
  function D(e, t) {
1983
2039
  return { start: e, end: t };
1984
2040
  }
1985
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, Qn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Vn = zn ? Number.isSafeInteger : function(e) {
2041
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Zn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Kn = !!Number.isSafeInteger, $n = Kn ? Number.isSafeInteger : function(e) {
1986
2042
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
1987
2043
  }, Lt = !0;
1988
2044
  try {
1989
- var Zn = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
1990
- Lt = ((xt = Zn.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
2045
+ var ei = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2046
+ Lt = ((Tt = ei.exec("a")) === null || Tt === void 0 ? void 0 : Tt[0]) === "a";
1991
2047
  } catch (e) {
1992
2048
  Lt = !1;
1993
2049
  }
1994
- var tr = Fn ? (
2050
+ var tr = zn ? (
1995
2051
  // Native
1996
2052
  function(t, r, n) {
1997
2053
  return t.startsWith(r, n);
@@ -2001,7 +2057,7 @@ var tr = Fn ? (
2001
2057
  function(t, r, n) {
2002
2058
  return t.slice(n, n + r.length) === r;
2003
2059
  }
2004
- ), Dt = _n ? String.fromCodePoint : (
2060
+ ), Dt = Vn ? String.fromCodePoint : (
2005
2061
  // IE11
2006
2062
  function() {
2007
2063
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2015,7 +2071,7 @@ var tr = Fn ? (
2015
2071
  }
2016
2072
  ), rr = (
2017
2073
  // native
2018
- Qn ? Object.fromEntries : (
2074
+ Zn ? Object.fromEntries : (
2019
2075
  // Ponyfill
2020
2076
  function(t) {
2021
2077
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2025,7 +2081,7 @@ var tr = Fn ? (
2025
2081
  return r;
2026
2082
  }
2027
2083
  )
2028
- ), Nr = jn ? (
2084
+ ), Dr = qn ? (
2029
2085
  // Native
2030
2086
  function(t, r) {
2031
2087
  return t.codePointAt(r);
@@ -2039,7 +2095,7 @@ var tr = Fn ? (
2039
2095
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2040
2096
  }
2041
2097
  }
2042
- ), qn = Jn ? (
2098
+ ), ti = Yn ? (
2043
2099
  // Native
2044
2100
  function(t) {
2045
2101
  return t.trimStart();
@@ -2047,9 +2103,9 @@ var tr = Fn ? (
2047
2103
  ) : (
2048
2104
  // Ponyfill
2049
2105
  function(t) {
2050
- return t.replace(Un, "");
2106
+ return t.replace(Jn, "");
2051
2107
  }
2052
- ), Yn = Xn ? (
2108
+ ), ri = Wn ? (
2053
2109
  // Native
2054
2110
  function(t) {
2055
2111
  return t.trimEnd();
@@ -2057,15 +2113,15 @@ var tr = Fn ? (
2057
2113
  ) : (
2058
2114
  // Ponyfill
2059
2115
  function(t) {
2060
- return t.replace(Gn, "");
2116
+ return t.replace(Xn, "");
2061
2117
  }
2062
2118
  );
2063
- function Lr(e, t) {
2119
+ function Pr(e, t) {
2064
2120
  return new RegExp(e, t);
2065
2121
  }
2066
2122
  var Pt;
2067
2123
  if (Lt) {
2068
- var nr = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2124
+ var nr = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2069
2125
  Pt = function(t, r) {
2070
2126
  var n;
2071
2127
  nr.lastIndex = r;
@@ -2075,14 +2131,14 @@ if (Lt) {
2075
2131
  } else
2076
2132
  Pt = function(t, r) {
2077
2133
  for (var n = []; ; ) {
2078
- var i = Nr(t, r);
2079
- if (i === void 0 || Dr(i) || ei(i))
2134
+ var i = Dr(t, r);
2135
+ if (i === void 0 || Mr(i) || ai(i))
2080
2136
  break;
2081
2137
  n.push(i), r += i >= 65536 ? 2 : 1;
2082
2138
  }
2083
2139
  return Dt.apply(void 0, n);
2084
2140
  };
2085
- var Wn = (
2141
+ var ni = (
2086
2142
  /** @class */
2087
2143
  function() {
2088
2144
  function e(t, r) {
@@ -2164,7 +2220,7 @@ var Wn = (
2164
2220
  return this.error(N.INVALID_TAG, D(n, this.clonePosition()));
2165
2221
  }, e.prototype.parseTagName = function() {
2166
2222
  var t = this.offset();
2167
- for (this.bump(); !this.isEOF() && $n(this.char()); )
2223
+ for (this.bump(); !this.isEOF() && oi(this.char()); )
2168
2224
  this.bump();
2169
2225
  return this.message.slice(t, this.offset());
2170
2226
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2193,7 +2249,7 @@ var Wn = (
2193
2249
  };
2194
2250
  }, e.prototype.tryParseLeftAngleBracket = function() {
2195
2251
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2196
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2252
+ !ii(this.peek() || 0)) ? (this.bump(), "<") : null;
2197
2253
  }, e.prototype.tryParseQuote = function(t) {
2198
2254
  if (this.isEOF() || this.char() !== 39)
2199
2255
  return null;
@@ -2280,7 +2336,7 @@ var Wn = (
2280
2336
  var l = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2281
2337
  if (g.err)
2282
2338
  return g;
2283
- var v = Yn(g.val);
2339
+ var v = ri(g.val);
2284
2340
  if (v.length === 0)
2285
2341
  return this.error(N.EXPECT_ARGUMENT_STYLE, D(this.clonePosition(), this.clonePosition()));
2286
2342
  var S = D(l, this.clonePosition());
@@ -2291,7 +2347,7 @@ var Wn = (
2291
2347
  return M;
2292
2348
  var x = D(i, this.clonePosition());
2293
2349
  if (u && tr(u == null ? void 0 : u.style, "::", 0)) {
2294
- var C = qn(u.style.slice(2));
2350
+ var C = ti(u.style.slice(2));
2295
2351
  if (c === "number") {
2296
2352
  var g = this.parseNumberSkeletonFromString(C, u.styleLocation);
2297
2353
  return g.err ? g : {
@@ -2302,12 +2358,12 @@ var Wn = (
2302
2358
  if (C.length === 0)
2303
2359
  return this.error(N.EXPECT_DATE_TIME_SKELETON, x);
2304
2360
  var B = C;
2305
- this.locale && (B = Mn(C, this.locale));
2361
+ this.locale && (B = Qn(C, this.locale));
2306
2362
  var v = {
2307
2363
  type: Me.dateTime,
2308
2364
  pattern: B,
2309
2365
  location: u.styleLocation,
2310
- parsedOptions: this.shouldParseSkeletons ? Rn(B) : {}
2366
+ parsedOptions: this.shouldParseSkeletons ? Pn(B) : {}
2311
2367
  }, U = c === "date" ? z.date : z.time;
2312
2368
  return {
2313
2369
  val: { type: U, value: n, location: x, style: v },
@@ -2412,7 +2468,7 @@ var Wn = (
2412
2468
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2413
2469
  var n = [];
2414
2470
  try {
2415
- n = On(t);
2471
+ n = kn(t);
2416
2472
  } catch (i) {
2417
2473
  return this.error(N.INVALID_NUMBER_SKELETON, r);
2418
2474
  }
@@ -2421,7 +2477,7 @@ var Wn = (
2421
2477
  type: Me.number,
2422
2478
  tokens: n,
2423
2479
  location: r,
2424
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
2480
+ parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
2425
2481
  },
2426
2482
  err: null
2427
2483
  };
@@ -2469,7 +2525,7 @@ var Wn = (
2469
2525
  break;
2470
2526
  }
2471
2527
  var d = D(i, this.clonePosition());
2472
- return o ? (f *= n, Vn(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
2528
+ return o ? (f *= n, $n(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
2473
2529
  }, e.prototype.offset = function() {
2474
2530
  return this.position.offset;
2475
2531
  }, e.prototype.isEOF = function() {
@@ -2484,7 +2540,7 @@ var Wn = (
2484
2540
  var t = this.position.offset;
2485
2541
  if (t >= this.message.length)
2486
2542
  throw Error("out of bound");
2487
- var r = Nr(this.message, t);
2543
+ var r = Dr(this.message, t);
2488
2544
  if (r === void 0)
2489
2545
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2490
2546
  return r;
@@ -2525,7 +2581,7 @@ var Wn = (
2525
2581
  break;
2526
2582
  }
2527
2583
  }, e.prototype.bumpSpace = function() {
2528
- for (; !this.isEOF() && Dr(this.char()); )
2584
+ for (; !this.isEOF() && Mr(this.char()); )
2529
2585
  this.bump();
2530
2586
  }, e.prototype.peek = function() {
2531
2587
  if (this.isEOF())
@@ -2538,86 +2594,36 @@ var Wn = (
2538
2594
  function Mt(e) {
2539
2595
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2540
2596
  }
2541
- function Kn(e) {
2597
+ function ii(e) {
2542
2598
  return Mt(e) || e === 47;
2543
2599
  }
2544
- function $n(e) {
2600
+ function oi(e) {
2545
2601
  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;
2546
2602
  }
2547
- function Dr(e) {
2603
+ function Mr(e) {
2548
2604
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2549
2605
  }
2550
- function ei(e) {
2606
+ function ai(e) {
2551
2607
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
2552
2608
  }
2553
2609
  function kt(e) {
2554
2610
  e.forEach(function(t) {
2555
- if (delete t.location, xr(t) || Br(t))
2611
+ if (delete t.location, Tr(t) || Hr(t))
2556
2612
  for (var r in t.options)
2557
2613
  delete t.options[r].location, kt(t.options[r].value);
2558
- else yr(t) && Hr(t.style) || (wr(t) || Ir(t)) && Nt(t.style) ? delete t.style.location : Tr(t) && kt(t.children);
2614
+ else Ir(t) && Rr(t.style) || (xr(t) || Br(t)) && Nt(t.style) ? delete t.style.location : Cr(t) && kt(t.children);
2559
2615
  });
2560
2616
  }
2561
- function ti(e, t) {
2617
+ function si(e, t) {
2562
2618
  t === void 0 && (t = {}), t = k({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2563
- var r = new Wn(e, t).parse();
2619
+ var r = new ni(e, t).parse();
2564
2620
  if (r.err) {
2565
2621
  var n = SyntaxError(N[r.err.kind]);
2566
2622
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
2567
2623
  }
2568
2624
  return t != null && t.captureLocation || kt(r.val), r.val;
2569
2625
  }
2570
- function Bt(e, t) {
2571
- var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ni;
2572
- return i(e, {
2573
- cache: r,
2574
- serializer: n
2575
- });
2576
- }
2577
- function ri(e) {
2578
- return e == null || typeof e == "number" || typeof e == "boolean";
2579
- }
2580
- function Pr(e, t, r, n) {
2581
- var i = ri(n) ? n : r(n), o = t.get(i);
2582
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
2583
- }
2584
- function Mr(e, t, r) {
2585
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
2586
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
2587
- }
2588
- function _t(e, t, r, n, i) {
2589
- return r.bind(t, e, n, i);
2590
- }
2591
- function ni(e, t) {
2592
- var r = e.length === 1 ? Pr : Mr;
2593
- return _t(e, this, r, t.cache.create(), t.serializer);
2594
- }
2595
- function ii(e, t) {
2596
- return _t(e, this, Mr, t.cache.create(), t.serializer);
2597
- }
2598
- function oi(e, t) {
2599
- return _t(e, this, Pr, t.cache.create(), t.serializer);
2600
- }
2601
- var ai = function() {
2602
- return JSON.stringify(arguments);
2603
- };
2604
- function Qt() {
2605
- this.cache = /* @__PURE__ */ Object.create(null);
2606
- }
2607
- Qt.prototype.get = function(e) {
2608
- return this.cache[e];
2609
- };
2610
- Qt.prototype.set = function(e, t) {
2611
- this.cache[e] = t;
2612
- };
2613
- var si = {
2614
- create: function() {
2615
- return new Qt();
2616
- }
2617
- }, Tt = {
2618
- variadic: ii,
2619
- monadic: oi
2620
- }, ke;
2626
+ var ke;
2621
2627
  (function(e) {
2622
2628
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2623
2629
  })(ke || (ke = {}));
@@ -2690,7 +2696,7 @@ function st(e, t, r, n, i, o, f) {
2690
2696
  });
2691
2697
  continue;
2692
2698
  }
2693
- if (Hn(l)) {
2699
+ if (Ln(l)) {
2694
2700
  typeof o == "number" && c.push({
2695
2701
  type: ue.literal,
2696
2702
  value: r.getNumberFormat(t).format(o)
@@ -2701,14 +2707,14 @@ function st(e, t, r, n, i, o, f) {
2701
2707
  if (!(i && g in i))
2702
2708
  throw new li(g, f);
2703
2709
  var v = i[g];
2704
- if (Tn(l)) {
2710
+ if (Nn(l)) {
2705
2711
  (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), c.push({
2706
2712
  type: typeof v == "string" ? ue.literal : ue.object,
2707
2713
  value: v
2708
2714
  });
2709
2715
  continue;
2710
2716
  }
2711
- if (wr(l)) {
2717
+ if (xr(l)) {
2712
2718
  var S = typeof l.style == "string" ? n.date[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
2713
2719
  c.push({
2714
2720
  type: ue.literal,
@@ -2716,7 +2722,7 @@ function st(e, t, r, n, i, o, f) {
2716
2722
  });
2717
2723
  continue;
2718
2724
  }
2719
- if (Ir(l)) {
2725
+ if (Br(l)) {
2720
2726
  var S = typeof l.style == "string" ? n.time[l.style] : Nt(l.style) ? l.style.parsedOptions : n.time.medium;
2721
2727
  c.push({
2722
2728
  type: ue.literal,
@@ -2724,15 +2730,15 @@ function st(e, t, r, n, i, o, f) {
2724
2730
  });
2725
2731
  continue;
2726
2732
  }
2727
- if (yr(l)) {
2728
- var S = typeof l.style == "string" ? n.number[l.style] : Hr(l.style) ? l.style.parsedOptions : void 0;
2733
+ if (Ir(l)) {
2734
+ var S = typeof l.style == "string" ? n.number[l.style] : Rr(l.style) ? l.style.parsedOptions : void 0;
2729
2735
  S && S.scale && (v = v * (S.scale || 1)), c.push({
2730
2736
  type: ue.literal,
2731
2737
  value: r.getNumberFormat(t, S).format(v)
2732
2738
  });
2733
2739
  continue;
2734
2740
  }
2735
- if (Tr(l)) {
2741
+ if (Cr(l)) {
2736
2742
  var M = l.children, x = l.value, C = i[x];
2737
2743
  if (!fi(C))
2738
2744
  throw new ui(x, "function", f);
@@ -2746,14 +2752,14 @@ function st(e, t, r, n, i, o, f) {
2746
2752
  };
2747
2753
  }));
2748
2754
  }
2749
- if (xr(l)) {
2755
+ if (Tr(l)) {
2750
2756
  var L = l.options[v] || l.options.other;
2751
2757
  if (!L)
2752
2758
  throw new ir(l.value, v, Object.keys(l.options), f);
2753
2759
  c.push.apply(c, st(L.value, t, r, n, i));
2754
2760
  continue;
2755
2761
  }
2756
- if (Br(l)) {
2762
+ if (Hr(l)) {
2757
2763
  var L = l.options["=".concat(v)];
2758
2764
  if (!L) {
2759
2765
  if (!Intl.PluralRules)
@@ -2801,29 +2807,29 @@ function pi(e) {
2801
2807
  dateTime: {},
2802
2808
  pluralRules: {}
2803
2809
  }), {
2804
- getNumberFormat: Bt(function() {
2810
+ getNumberFormat: xt(function() {
2805
2811
  for (var t, r = [], n = 0; n < arguments.length; n++)
2806
2812
  r[n] = arguments[n];
2807
2813
  return new ((t = Intl.NumberFormat).bind.apply(t, It([void 0], r, !1)))();
2808
2814
  }, {
2809
2815
  cache: Ht(e.number),
2810
- strategy: Tt.variadic
2816
+ strategy: Bt.variadic
2811
2817
  }),
2812
- getDateTimeFormat: Bt(function() {
2818
+ getDateTimeFormat: xt(function() {
2813
2819
  for (var t, r = [], n = 0; n < arguments.length; n++)
2814
2820
  r[n] = arguments[n];
2815
2821
  return new ((t = Intl.DateTimeFormat).bind.apply(t, It([void 0], r, !1)))();
2816
2822
  }, {
2817
2823
  cache: Ht(e.dateTime),
2818
- strategy: Tt.variadic
2824
+ strategy: Bt.variadic
2819
2825
  }),
2820
- getPluralRules: Bt(function() {
2826
+ getPluralRules: xt(function() {
2821
2827
  for (var t, r = [], n = 0; n < arguments.length; n++)
2822
2828
  r[n] = arguments[n];
2823
2829
  return new ((t = Intl.PluralRules).bind.apply(t, It([void 0], r, !1)))();
2824
2830
  }, {
2825
2831
  cache: Ht(e.pluralRules),
2826
- strategy: Tt.variadic
2832
+ strategy: Bt.variadic
2827
2833
  })
2828
2834
  };
2829
2835
  }
@@ -2831,8 +2837,9 @@ var Ai = (
2831
2837
  /** @class */
2832
2838
  function() {
2833
2839
  function e(t, r, n, i) {
2840
+ r === void 0 && (r = e.defaultLocale);
2834
2841
  var o = this;
2835
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
2842
+ if (this.formatterCache = {
2836
2843
  number: {},
2837
2844
  dateTime: {},
2838
2845
  pluralRules: {}
@@ -2877,7 +2884,7 @@ var Ai = (
2877
2884
  var r = Intl.NumberFormat.supportedLocalesOf(t);
2878
2885
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2879
2886
  }
2880
- }, e.__parse = ti, e.formats = {
2887
+ }, e.__parse = si, e.formats = {
2881
2888
  number: {
2882
2889
  integer: {
2883
2890
  maximumFractionDigits: 0
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsRank-D3y9cpOQ.cjs");function Lt(e,{delay:t=0,duration:n=400,easing:r=i.identity}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:o=>`opacity: ${o*a}`}}const Ce=[];function Cn(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=i.noop){let n;const r=new Set;function a(c){if(i.safe_not_equal(e,c)&&(e=c,n)){const d=!Ce.length;for(const l of r)l[1](),Ce.push(l,e);if(d){for(let l=0;l<Ce.length;l+=2)Ce[l][0](Ce[l+1]);Ce.length=0}}}function o(c){a(c(e))}function f(c,d=i.noop){const l=[c,d];return r.add(l),r.size===1&&(n=t(a,o)||i.noop),c(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:f}}function Le(e,t,n){const r=!Array.isArray(e),a=r?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Cn(n,(f,c)=>{let d=!1;const l=[];let h=0,g=i.noop;const v=()=>{if(h)return;g();const _=t(r?l[0]:l,f,c);o?f(_):g=i.is_function(_)?_:i.noop},R=a.map((_,x)=>i.subscribe(_,H=>{l[x]=H,h&=~(1<<x),d&&v()},()=>{h|=1<<x}));return d=!0,v(),function(){i.run_all(R),g(),d=!1}})}var Rn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var On=function(t){return Nn(t)&&!Ln(t)};function Nn(e){return!!e&&typeof e=="object"}function Ln(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Pn(e)}var Dn=typeof Symbol=="function"&&Symbol.for,_n=Dn?Symbol.for("react.element"):60103;function Pn(e){return e.$$typeof===_n}function Mn(e){return Array.isArray(e)?[]:{}}function Ue(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Re(Mn(e),e,t):e}function kn(e,t,n){return e.concat(t).map(function(r){return Ue(r,n)})}function Un(e,t){if(!t.customMerge)return Re;var n=t.customMerge(e);return typeof n=="function"?n:Re}function Gn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Dt(e){return Object.keys(e).concat(Gn(e))}function en(e,t){try{return t in e}catch(n){return!1}}function Fn(e,t){return en(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Qn(e,t,n){var r={};return n.isMergeableObject(e)&&Dt(e).forEach(function(a){r[a]=Ue(e[a],n)}),Dt(t).forEach(function(a){Fn(e,a)||(en(e,a)&&n.isMergeableObject(t[a])?r[a]=Un(a,n)(e[a],t[a],n):r[a]=Ue(t[a],n))}),r}function Re(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||kn,n.isMergeableObject=n.isMergeableObject||On,n.cloneUnlessOtherwiseSpecified=Ue;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):Qn(e,t,n):Ue(t,n)}Re.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Re(r,a,n)},{})};var jn=Re,Jn=jn;const Xn=Sn(Jn);var vt=function(e,t){return vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},vt(e,t)};function tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vt(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var P=function(){return P=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},P.apply(this,arguments)};function zn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function ht(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var O;(function(e){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"})(O||(O={}));var J;(function(e){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"})(J||(J={}));var Se;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Se||(Se={}));function _t(e){return e.type===J.literal}function Vn(e){return e.type===J.argument}function tn(e){return e.type===J.number}function nn(e){return e.type===J.date}function rn(e){return e.type===J.time}function an(e){return e.type===J.select}function on(e){return e.type===J.plural}function Zn(e){return e.type===J.pound}function sn(e){return e.type===J.tag}function un(e){return!!(e&&typeof e=="object"&&e.type===Se.number)}function Et(e){return!!(e&&typeof e=="object"&&e.type===Se.dateTime)}var ln=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,qn=/(?:[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;function Yn(e){var t={};return e.replace(qn,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Wn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Kn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Wn).filter(function(v){return v.length>0}),n=[],r=0,a=t;r<a.length;r++){var o=a[r],f=o.split("/");if(f.length===0)throw new Error("Invalid number skeleton");for(var c=f[0],d=f.slice(1),l=0,h=d;l<h.length;l++){var g=h[l];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:c,options:d})}return n}function $n(e){return e.replace(/^(.*?)-/,"")}var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,hn=/^(@+)?(\+|#+)?[rs]?$/g,er=/(\*)(0+)|(#+)(0+)|(0+)/g,fn=/^(0+)$/;function Mt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(hn,function(n,r,a){return typeof a!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):a==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof a=="string"?a.length:0)),""}),t}function cn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function tr(e){var t;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){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!fn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function kt(e){var t={},n=cn(e);return n||t}function nr(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=$n(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=P(P(P({},t),{notation:"scientific"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"engineering":t=P(P(P({},t),{notation:"engineering"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(er,function(d,l,h,g,v,R){if(l)t.minimumIntegerDigits=h.length;else{if(g&&v)throw new Error("We currently do not support maximum integer digits");if(R)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(Pt.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Pt,function(d,l,h,g,v,R){return h==="*"?t.minimumFractionDigits=l.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:v&&R?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+R.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=a.options[0];o==="w"?t=P(P({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=P(P({},t),Mt(o)));continue}if(hn.test(a.stem)){t=P(P({},t),Mt(a.stem));continue}var f=cn(a.stem);f&&(t=P(P({},t),f));var c=tr(a.stem);c&&(t=P(P({},t),c))}return t}var qe={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function rr(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if(a==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===a;)o++,r++;var f=1+(o&1),c=o<2?1:3+(o>>1),d="a",l=ir(t);for((l=="H"||l=="k")&&(c=0);c-- >0;)n+=d;for(;f-- >0;)n=l+n}else a==="J"?n+="H":n+=a}return n}function ir(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var a=qe[r||""]||qe[n||""]||qe["".concat(n,"-001")]||qe["001"];return a[0]}var ft,ar=new RegExp("^".concat(ln.source,"*")),or=new RegExp("".concat(ln.source,"*$"));function L(e,t){return{start:e,end:t}}var sr=!!String.prototype.startsWith&&"_a".startsWith("a",1),ur=!!String.fromCodePoint,lr=!!Object.fromEntries,hr=!!String.prototype.codePointAt,fr=!!String.prototype.trimStart,cr=!!String.prototype.trimEnd,dr=!!Number.isSafeInteger,pr=dr?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bt=!0;try{var mr=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bt=((ft=mr.exec("a"))===null||ft===void 0?void 0:ft[0])==="a"}catch(e){bt=!1}var Ut=sr?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},yt=ur?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",a=t.length,o=0,f;a>o;){if(f=t[o++],f>1114111)throw RangeError(f+" is not a valid code point");r+=f<65536?String.fromCharCode(f):String.fromCharCode(((f-=65536)>>10)+55296,f%1024+56320)}return r},Gt=lr?Object.fromEntries:function(t){for(var n={},r=0,a=t;r<a.length;r++){var o=a[r],f=o[0],c=o[1];n[f]=c}return n},dn=hr?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var a=t.charCodeAt(n),o;return a<55296||a>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},Ar=fr?function(t){return t.trimStart()}:function(t){return t.replace(ar,"")},gr=cr?function(t){return t.trimEnd()}:function(t){return t.replace(or,"")};function pn(e,t){return new RegExp(e,t)}var wt;if(bt){var Ft=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wt=function(t,n){var r;Ft.lastIndex=n;var a=Ft.exec(t);return(r=a[1])!==null&&r!==void 0?r:""}}else wt=function(t,n){for(var r=[];;){var a=dn(t,n);if(a===void 0||mn(a)||yr(a))break;r.push(a),n+=a>=65536?2:1}return yt.apply(void 0,r)};var vr=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var f=this.parseArgument(t,r);if(f.err)return f;a.push(f.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var c=this.clonePosition();this.bump(),a.push({type:J.pound,location:L(c,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(O.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&It(this.peek()||0)){var f=this.parseTag(t,n);if(f.err)return f;a.push(f.val)}else{var f=this.parseLiteral(t,n);if(f.err)return f;a.push(f.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(a,"/>"),location:L(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var f=o.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!It(this.char()))return this.error(O.INVALID_TAG,L(c,this.clonePosition()));var d=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(O.UNMATCHED_CLOSING_TAG,L(d,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:a,children:f,location:L(r,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,L(c,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,L(r,this.clonePosition()))}else return this.error(O.INVALID_TAG,L(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&br(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),a="";;){var o=this.tryParseQuote(n);if(o){a+=o;continue}var f=this.tryParseUnquoted(t,n);if(f){a+=f;continue}var c=this.tryParseLeftAngleBracket();if(c){a+=c;continue}break}var d=L(r,this.clonePosition());return{val:{type:J.literal,value:a,location:d},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Er(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return yt.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),yt(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,L(r,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(O.MALFORMED_ARGUMENT,L(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:a,location:L(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition())):this.parseArgumentOptions(t,n,a,r);default:return this.error(O.MALFORMED_ARGUMENT,L(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=wt(this.message,n),a=n+r.length;this.bumpTo(a);var o=this.clonePosition(),f=L(t,o);return{value:r,location:f}},e.prototype.parseArgumentOptions=function(t,n,r,a){var o,f=this.clonePosition(),c=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(c){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,L(f,d));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var v=gr(g.val);if(v.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));var R=L(h,this.clonePosition());l={style:v,styleLocation:R}}var _=this.tryParseArgumentClose(a);if(_.err)return _;var x=L(a,this.clonePosition());if(l&&Ut(l==null?void 0:l.style,"::",0)){var H=Ar(l.style.slice(2));if(c==="number"){var g=this.parseNumberSkeletonFromString(H,l.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:x,style:g.val},err:null}}else{if(H.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,x);var B=H;this.locale&&(B=rr(H,this.locale));var v={type:Se.dateTime,pattern:B,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Yn(B):{}},M=c==="date"?J.date:J.time;return{val:{type:M,value:r,location:x,style:v},err:null}}}return{val:{type:c==="number"?J.number:c==="date"?J.date:J.time,value:r,location:x,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,L(N,P({},N)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),T=0;if(c!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),D=this.parseIdentifierIfPossible(),T=g.val}var E=this.tryParsePluralOrSelectOptions(t,c,n,D);if(E.err)return E;var _=this.tryParseArgumentClose(a);if(_.err)return _;var G=L(a,this.clonePosition());return c==="select"?{val:{type:J.select,value:r,options:Gt(E.val),location:G},err:null}:{val:{type:J.plural,value:r,options:Gt(E.val),offset:T,pluralType:c==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,L(f,d))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Kn(t)}catch(a){return this.error(O.INVALID_NUMBER_SKELETON,n)}return{val:{type:Se.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?nr(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,a){for(var o,f=!1,c=[],d=new Set,l=a.value,h=a.location;;){if(l.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;h=L(g,this.clonePosition()),l=this.message.slice(g.offset,this.offset())}else break}if(d.has(l))return this.error(n==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(f=!0),this.bumpSpace();var R=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,n,r);if(_.err)return _;var x=this.tryParseArgumentClose(R);if(x.err)return x;c.push([l,{value:_.val,location:L(R,this.clonePosition())}]),d.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return c.length===0?this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!f?this.error(O.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,f=0;!this.isEOF();){var c=this.char();if(c>=48&&c<=57)o=!0,f=f*10+(c-48),this.bump();else break}var d=L(a,this.clonePosition());return o?(f*=r,pr(f)?{val:f,err:null}:this.error(n,d)):this.error(t,d)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=dn(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ut(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&mn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function It(e){return e>=97&&e<=122||e>=65&&e<=90}function Er(e){return It(e)||e===47}function br(e){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}function mn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function yr(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function xt(e){e.forEach(function(t){if(delete t.location,an(t)||on(t))for(var n in t.options)delete t.options[n].location,xt(t.options[n].value);else tn(t)&&un(t.style)||(nn(t)||rn(t))&&Et(t.style)?delete t.style.location:sn(t)&&xt(t.children)})}function wr(e,t){t===void 0&&(t={}),t=P({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new vr(e,t).parse();if(n.err){var r=SyntaxError(O[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||xt(n.val),n.val}function ct(e,t){var n=t&&t.cache?t.cache:Cr,r=t&&t.serializer?t.serializer:Hr,a=t&&t.strategy?t.strategy:xr;return a(e,{cache:n,serializer:r})}function Ir(e){return e==null||typeof e=="number"||typeof e=="boolean"}function An(e,t,n,r){var a=Ir(r)?r:n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.call(this,r),t.set(a,o)),o}function gn(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(a,o)),o}function Ct(e,t,n,r,a){return n.bind(t,e,r,a)}function xr(e,t){var n=e.length===1?An:gn;return Ct(e,this,n,t.cache.create(),t.serializer)}function Br(e,t){return Ct(e,this,gn,t.cache.create(),t.serializer)}function Tr(e,t){return Ct(e,this,An,t.cache.create(),t.serializer)}var Hr=function(){return JSON.stringify(arguments)};function Rt(){this.cache=Object.create(null)}Rt.prototype.get=function(e){return this.cache[e]};Rt.prototype.set=function(e,t){this.cache[e]=t};var Cr={create:function(){return new Rt}},dt={variadic:Br,monadic:Tr},Oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Oe||(Oe={}));var nt=function(e){tt(t,e);function t(n,r,a){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qt=function(e){tt(t,e);function t(n,r,a,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Oe.INVALID_VALUE,o)||this}return t}(nt),Rr=function(e){tt(t,e);function t(n,r,a){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Oe.INVALID_VALUE,a)||this}return t}(nt),Sr=function(e){tt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Oe.MISSING_VALUE,r)||this}return t}(nt),ae;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ae||(ae={}));function Or(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ae.literal||n.type!==ae.literal?t.push(n):r.value+=n.value,t},[])}function Nr(e){return typeof e=="function"}function Ye(e,t,n,r,a,o,f){if(e.length===1&&_t(e[0]))return[{type:ae.literal,value:e[0].value}];for(var c=[],d=0,l=e;d<l.length;d++){var h=l[d];if(_t(h)){c.push({type:ae.literal,value:h.value});continue}if(Zn(h)){typeof o=="number"&&c.push({type:ae.literal,value:n.getNumberFormat(t).format(o)});continue}var g=h.value;if(!(a&&g in a))throw new Sr(g,f);var v=a[g];if(Vn(h)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),c.push({type:typeof v=="string"?ae.literal:ae.object,value:v});continue}if(nn(h)){var R=typeof h.style=="string"?r.date[h.style]:Et(h.style)?h.style.parsedOptions:void 0;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(rn(h)){var R=typeof h.style=="string"?r.time[h.style]:Et(h.style)?h.style.parsedOptions:r.time.medium;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(tn(h)){var R=typeof h.style=="string"?r.number[h.style]:un(h.style)?h.style.parsedOptions:void 0;R&&R.scale&&(v=v*(R.scale||1)),c.push({type:ae.literal,value:n.getNumberFormat(t,R).format(v)});continue}if(sn(h)){var _=h.children,x=h.value,H=a[x];if(!Nr(H))throw new Rr(x,"function",f);var B=Ye(_,t,n,r,a,o),M=H(B.map(function(T){return T.value}));Array.isArray(M)||(M=[M]),c.push.apply(c,M.map(function(T){return{type:typeof T=="string"?ae.literal:ae.object,value:T}}))}if(an(h)){var N=h.options[v]||h.options.other;if(!N)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(N.value,t,n,r,a));continue}if(on(h)){var N=h.options["=".concat(v)];if(!N){if(!Intl.PluralRules)throw new nt(`Intl.PluralRules is not available in this environment.
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsRank-D3y9cpOQ.cjs");function Lt(e,{delay:t=0,duration:n=400,easing:r=i.identity}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:o=>`opacity: ${o*a}`}}const Ce=[];function Cn(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=i.noop){let n;const r=new Set;function a(c){if(i.safe_not_equal(e,c)&&(e=c,n)){const d=!Ce.length;for(const l of r)l[1](),Ce.push(l,e);if(d){for(let l=0;l<Ce.length;l+=2)Ce[l][0](Ce[l+1]);Ce.length=0}}}function o(c){a(c(e))}function f(c,d=i.noop){const l=[c,d];return r.add(l),r.size===1&&(n=t(a,o)||i.noop),c(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:f}}function Le(e,t,n){const r=!Array.isArray(e),a=r?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return Cn(n,(f,c)=>{let d=!1;const l=[];let h=0,g=i.noop;const v=()=>{if(h)return;g();const _=t(r?l[0]:l,f,c);o?f(_):g=i.is_function(_)?_:i.noop},R=a.map((_,x)=>i.subscribe(_,H=>{l[x]=H,h&=~(1<<x),d&&v()},()=>{h|=1<<x}));return d=!0,v(),function(){i.run_all(R),g(),d=!1}})}var Rn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var On=function(t){return Nn(t)&&!Ln(t)};function Nn(e){return!!e&&typeof e=="object"}function Ln(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Pn(e)}var Dn=typeof Symbol=="function"&&Symbol.for,_n=Dn?Symbol.for("react.element"):60103;function Pn(e){return e.$$typeof===_n}function Mn(e){return Array.isArray(e)?[]:{}}function Ue(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Re(Mn(e),e,t):e}function kn(e,t,n){return e.concat(t).map(function(r){return Ue(r,n)})}function Un(e,t){if(!t.customMerge)return Re;var n=t.customMerge(e);return typeof n=="function"?n:Re}function Gn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Dt(e){return Object.keys(e).concat(Gn(e))}function en(e,t){try{return t in e}catch(n){return!1}}function Fn(e,t){return en(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Qn(e,t,n){var r={};return n.isMergeableObject(e)&&Dt(e).forEach(function(a){r[a]=Ue(e[a],n)}),Dt(t).forEach(function(a){Fn(e,a)||(en(e,a)&&n.isMergeableObject(t[a])?r[a]=Un(a,n)(e[a],t[a],n):r[a]=Ue(t[a],n))}),r}function Re(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||kn,n.isMergeableObject=n.isMergeableObject||On,n.cloneUnlessOtherwiseSpecified=Ue;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):Qn(e,t,n):Ue(t,n)}Re.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Re(r,a,n)},{})};var jn=Re,Jn=jn;const Xn=Sn(Jn);var vt=function(e,t){return vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},vt(e,t)};function tt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vt(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var P=function(){return P=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},P.apply(this,arguments)};function zn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function ht(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function ft(e,t){var n=t&&t.cache?t.cache:Kn,r=t&&t.serializer?t.serializer:Wn,a=t&&t.strategy?t.strategy:Zn;return a(e,{cache:n,serializer:r})}function Vn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function tn(e,t,n,r){var a=Vn(r)?r:n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.call(this,r),t.set(a,o)),o}function nn(e,t,n){var r=Array.prototype.slice.call(arguments,3),a=n(r),o=t.get(a);return typeof o=="undefined"&&(o=e.apply(this,r),t.set(a,o)),o}function Ct(e,t,n,r,a){return n.bind(t,e,r,a)}function Zn(e,t){var n=e.length===1?tn:nn;return Ct(e,this,n,t.cache.create(),t.serializer)}function qn(e,t){return Ct(e,this,nn,t.cache.create(),t.serializer)}function Yn(e,t){return Ct(e,this,tn,t.cache.create(),t.serializer)}var Wn=function(){return JSON.stringify(arguments)};function Rt(){this.cache=Object.create(null)}Rt.prototype.get=function(e){return this.cache[e]};Rt.prototype.set=function(e,t){this.cache[e]=t};var Kn={create:function(){return new Rt}},ct={variadic:qn,monadic:Yn},O;(function(e){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"})(O||(O={}));var J;(function(e){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"})(J||(J={}));var Se;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Se||(Se={}));function _t(e){return e.type===J.literal}function $n(e){return e.type===J.argument}function rn(e){return e.type===J.number}function an(e){return e.type===J.date}function on(e){return e.type===J.time}function sn(e){return e.type===J.select}function un(e){return e.type===J.plural}function er(e){return e.type===J.pound}function ln(e){return e.type===J.tag}function hn(e){return!!(e&&typeof e=="object"&&e.type===Se.number)}function Et(e){return!!(e&&typeof e=="object"&&e.type===Se.dateTime)}var fn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,tr=/(?:[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;function nr(e){var t={};return e.replace(tr,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var rr=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ir(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(rr).filter(function(v){return v.length>0}),n=[],r=0,a=t;r<a.length;r++){var o=a[r],f=o.split("/");if(f.length===0)throw new Error("Invalid number skeleton");for(var c=f[0],d=f.slice(1),l=0,h=d;l<h.length;l++){var g=h[l];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:c,options:d})}return n}function ar(e){return e.replace(/^(.*?)-/,"")}var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,cn=/^(@+)?(\+|#+)?[rs]?$/g,or=/(\*)(0+)|(#+)(0+)|(0+)/g,dn=/^(0+)$/;function Mt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(cn,function(n,r,a){return typeof a!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):a==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof a=="string"?a.length:0)),""}),t}function pn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function sr(e){var t;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){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!dn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function kt(e){var t={},n=pn(e);return n||t}function ur(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=ar(a.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=P(P(P({},t),{notation:"scientific"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"engineering":t=P(P(P({},t),{notation:"engineering"}),a.options.reduce(function(d,l){return P(P({},d),kt(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(or,function(d,l,h,g,v,R){if(l)t.minimumIntegerDigits=h.length;else{if(g&&v)throw new Error("We currently do not support maximum integer digits");if(R)throw new Error("We currently do not support exact integer digits")}return""});continue}if(dn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(Pt.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(Pt,function(d,l,h,g,v,R){return h==="*"?t.minimumFractionDigits=l.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:v&&R?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+R.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=a.options[0];o==="w"?t=P(P({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=P(P({},t),Mt(o)));continue}if(cn.test(a.stem)){t=P(P({},t),Mt(a.stem));continue}var f=pn(a.stem);f&&(t=P(P({},t),f));var c=sr(a.stem);c&&(t=P(P({},t),c))}return t}var qe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function lr(e,t){for(var n="",r=0;r<e.length;r++){var a=e.charAt(r);if(a==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===a;)o++,r++;var f=1+(o&1),c=o<2?1:3+(o>>1),d="a",l=hr(t);for((l=="H"||l=="k")&&(c=0);c-- >0;)n+=d;for(;f-- >0;)n=l+n}else a==="J"?n+="H":n+=a}return n}function hr(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var a=qe[r||""]||qe[n||""]||qe["".concat(n,"-001")]||qe["001"];return a[0]}var dt,fr=new RegExp("^".concat(fn.source,"*")),cr=new RegExp("".concat(fn.source,"*$"));function L(e,t){return{start:e,end:t}}var dr=!!String.prototype.startsWith&&"_a".startsWith("a",1),pr=!!String.fromCodePoint,mr=!!Object.fromEntries,Ar=!!String.prototype.codePointAt,gr=!!String.prototype.trimStart,vr=!!String.prototype.trimEnd,Er=!!Number.isSafeInteger,br=Er?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bt=!0;try{var yr=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");bt=((dt=yr.exec("a"))===null||dt===void 0?void 0:dt[0])==="a"}catch(e){bt=!1}var Ut=dr?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},yt=pr?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",a=t.length,o=0,f;a>o;){if(f=t[o++],f>1114111)throw RangeError(f+" is not a valid code point");r+=f<65536?String.fromCharCode(f):String.fromCharCode(((f-=65536)>>10)+55296,f%1024+56320)}return r},Gt=mr?Object.fromEntries:function(t){for(var n={},r=0,a=t;r<a.length;r++){var o=a[r],f=o[0],c=o[1];n[f]=c}return n},mn=Ar?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var a=t.charCodeAt(n),o;return a<55296||a>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?a:(a-55296<<10)+(o-56320)+65536}},wr=gr?function(t){return t.trimStart()}:function(t){return t.replace(fr,"")},Ir=vr?function(t){return t.trimEnd()}:function(t){return t.replace(cr,"")};function An(e,t){return new RegExp(e,t)}var wt;if(bt){var Ft=An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wt=function(t,n){var r;Ft.lastIndex=n;var a=Ft.exec(t);return(r=a[1])!==null&&r!==void 0?r:""}}else wt=function(t,n){for(var r=[];;){var a=mn(t,n);if(a===void 0||gn(a)||Hr(a))break;r.push(a),n+=a>=65536?2:1}return yt.apply(void 0,r)};var xr=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var a=[];!this.isEOF();){var o=this.char();if(o===123){var f=this.parseArgument(t,r);if(f.err)return f;a.push(f.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var c=this.clonePosition();this.bump(),a.push({type:J.pound,location:L(c,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(O.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&It(this.peek()||0)){var f=this.parseTag(t,n);if(f.err)return f;a.push(f.val)}else{var f=this.parseLiteral(t,n);if(f.err)return f;a.push(f.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:J.literal,value:"<".concat(a,"/>"),location:L(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var f=o.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!It(this.char()))return this.error(O.INVALID_TAG,L(c,this.clonePosition()));var d=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(O.UNMATCHED_CLOSING_TAG,L(d,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:J.tag,value:a,children:f,location:L(r,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,L(c,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,L(r,this.clonePosition()))}else return this.error(O.INVALID_TAG,L(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Tr(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),a="";;){var o=this.tryParseQuote(n);if(o){a+=o;continue}var f=this.tryParseUnquoted(t,n);if(f){a+=f;continue}var c=this.tryParseLeftAngleBracket();if(c){a+=c;continue}break}var d=L(r,this.clonePosition());return{val:{type:J.literal,value:a,location:d},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Br(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return yt.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),yt(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,L(r,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(O.MALFORMED_ARGUMENT,L(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:J.argument,value:a,location:L(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(r,this.clonePosition())):this.parseArgumentOptions(t,n,a,r);default:return this.error(O.MALFORMED_ARGUMENT,L(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=wt(this.message,n),a=n+r.length;this.bumpTo(a);var o=this.clonePosition(),f=L(t,o);return{value:r,location:f}},e.prototype.parseArgumentOptions=function(t,n,r,a){var o,f=this.clonePosition(),c=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(c){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,L(f,d));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var v=Ir(g.val);if(v.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));var R=L(h,this.clonePosition());l={style:v,styleLocation:R}}var _=this.tryParseArgumentClose(a);if(_.err)return _;var x=L(a,this.clonePosition());if(l&&Ut(l==null?void 0:l.style,"::",0)){var H=wr(l.style.slice(2));if(c==="number"){var g=this.parseNumberSkeletonFromString(H,l.styleLocation);return g.err?g:{val:{type:J.number,value:r,location:x,style:g.val},err:null}}else{if(H.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,x);var B=H;this.locale&&(B=lr(H,this.locale));var v={type:Se.dateTime,pattern:B,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?nr(B):{}},M=c==="date"?J.date:J.time;return{val:{type:M,value:r,location:x,style:v},err:null}}}return{val:{type:c==="number"?J.number:c==="date"?J.date:J.time,value:r,location:x,style:(o=l==null?void 0:l.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,L(N,P({},N)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),T=0;if(c!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),D=this.parseIdentifierIfPossible(),T=g.val}var E=this.tryParsePluralOrSelectOptions(t,c,n,D);if(E.err)return E;var _=this.tryParseArgumentClose(a);if(_.err)return _;var G=L(a,this.clonePosition());return c==="select"?{val:{type:J.select,value:r,options:Gt(E.val),location:G},err:null}:{val:{type:J.plural,value:r,options:Gt(E.val),offset:T,pluralType:c==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,L(f,d))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(a,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=ir(t)}catch(a){return this.error(O.INVALID_NUMBER_SKELETON,n)}return{val:{type:Se.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?ur(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,a){for(var o,f=!1,c=[],d=new Set,l=a.value,h=a.location;;){if(l.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;h=L(g,this.clonePosition()),l=this.message.slice(g.offset,this.offset())}else break}if(d.has(l))return this.error(n==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(f=!0),this.bumpSpace();var R=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,n,r);if(_.err)return _;var x=this.tryParseArgumentClose(R);if(x.err)return x;c.push([l,{value:_.val,location:L(R,this.clonePosition())}]),d.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return c.length===0?this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!f?this.error(O.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,f=0;!this.isEOF();){var c=this.char();if(c>=48&&c<=57)o=!0,f=f*10+(c-48),this.bump();else break}var d=L(a,this.clonePosition());return o?(f*=r,br(f)?{val:f,err:null}:this.error(n,d)):this.error(t,d)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=mn(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ut(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&gn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function It(e){return e>=97&&e<=122||e>=65&&e<=90}function Br(e){return It(e)||e===47}function Tr(e){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}function gn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Hr(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function xt(e){e.forEach(function(t){if(delete t.location,sn(t)||un(t))for(var n in t.options)delete t.options[n].location,xt(t.options[n].value);else rn(t)&&hn(t.style)||(an(t)||on(t))&&Et(t.style)?delete t.style.location:ln(t)&&xt(t.children)})}function Cr(e,t){t===void 0&&(t={}),t=P({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new xr(e,t).parse();if(n.err){var r=SyntaxError(O[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||xt(n.val),n.val}var Oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Oe||(Oe={}));var nt=function(e){tt(t,e);function t(n,r,a){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=a,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qt=function(e){tt(t,e);function t(n,r,a,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Oe.INVALID_VALUE,o)||this}return t}(nt),Rr=function(e){tt(t,e);function t(n,r,a){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Oe.INVALID_VALUE,a)||this}return t}(nt),Sr=function(e){tt(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Oe.MISSING_VALUE,r)||this}return t}(nt),ae;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ae||(ae={}));function Or(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==ae.literal||n.type!==ae.literal?t.push(n):r.value+=n.value,t},[])}function Nr(e){return typeof e=="function"}function Ye(e,t,n,r,a,o,f){if(e.length===1&&_t(e[0]))return[{type:ae.literal,value:e[0].value}];for(var c=[],d=0,l=e;d<l.length;d++){var h=l[d];if(_t(h)){c.push({type:ae.literal,value:h.value});continue}if(er(h)){typeof o=="number"&&c.push({type:ae.literal,value:n.getNumberFormat(t).format(o)});continue}var g=h.value;if(!(a&&g in a))throw new Sr(g,f);var v=a[g];if($n(h)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),c.push({type:typeof v=="string"?ae.literal:ae.object,value:v});continue}if(an(h)){var R=typeof h.style=="string"?r.date[h.style]:Et(h.style)?h.style.parsedOptions:void 0;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(on(h)){var R=typeof h.style=="string"?r.time[h.style]:Et(h.style)?h.style.parsedOptions:r.time.medium;c.push({type:ae.literal,value:n.getDateTimeFormat(t,R).format(v)});continue}if(rn(h)){var R=typeof h.style=="string"?r.number[h.style]:hn(h.style)?h.style.parsedOptions:void 0;R&&R.scale&&(v=v*(R.scale||1)),c.push({type:ae.literal,value:n.getNumberFormat(t,R).format(v)});continue}if(ln(h)){var _=h.children,x=h.value,H=a[x];if(!Nr(H))throw new Rr(x,"function",f);var B=Ye(_,t,n,r,a,o),M=H(B.map(function(T){return T.value}));Array.isArray(M)||(M=[M]),c.push.apply(c,M.map(function(T){return{type:typeof T=="string"?ae.literal:ae.object,value:T}}))}if(sn(h)){var N=h.options[v]||h.options.other;if(!N)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(N.value,t,n,r,a));continue}if(un(h)){var N=h.options["=".concat(v)];if(!N){if(!Intl.PluralRules)throw new nt(`Intl.PluralRules is not available in this environment.
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
- `,Oe.MISSING_INTL_API,f);var D=n.getPluralRules(t,{type:h.pluralType}).select(v-(h.offset||0));N=h.options[D]||h.options.other}if(!N)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(N.value,t,n,r,a,v-(h.offset||0)));continue}}return Or(c)}function Lr(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=P(P({},e[r]),t[r]||{}),n},{})):e}function Dr(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Lr(e[r],t[r]),n},P({},e)):e}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function _r(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ct(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.number),strategy:dt.variadic}),getDateTimeFormat:ct(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.dateTime),strategy:dt.variadic}),getPluralRules:ct(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.pluralRules),strategy:dt.variadic})}}var Pr=function(){function e(t,n,r,a){var o=this;if(n===void 0&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(d){var l=o.formatToParts(d);if(l.length===1)return l[0].value;var h=l.reduce(function(g,v){return!g.length||v.type!==ae.literal||typeof g[g.length-1]!="string"?g.push(v.value):g[g.length-1]+=v.value,g},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(d){return Ye(o.ast,o.locales,o.formatters,o.formats,d,void 0,o.message)},this.resolvedOptions=function(){var d;return{locale:((d=o.resolvedLocale)===null||d===void 0?void 0:d.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=a||{};f.formatters;var c=zn(f,["formatters"]);this.ast=e.__parse(t,P(P({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Dr(e.formats,r),this.formatters=a&&a.formatters||_r(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=wr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Mr(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let a=0;a<n.length;a++)if(typeof r=="object"){if(a>0){const o=n.slice(a,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[a]]}else r=void 0;return r}const Ee={},kr=(e,t,n)=>n&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=n),n),vn=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const n=rt(t);for(let r=0;r<n.length;r++){const a=n[r],o=Gr(a,e);if(o)return kr(e,t,o)}};let St;const De=et({});function Ur(e){return St[e]||null}function En(e){return e in St}function Gr(e,t){if(!En(e))return null;const n=Ur(e);return Mr(n,t)}function Fr(e){if(e==null)return;const t=rt(e);for(let n=0;n<t.length;n++){const r=t[n];if(En(r))return r}}function bn(e,...t){delete Ee[e],De.update(n=>(n[e]=Xn.all([n[e]||{},...t]),n))}Le([De],([e])=>Object.keys(e));De.subscribe(e=>St=e);const We={};function Qr(e,t){We[e].delete(t),We[e].size===0&&delete We[e]}function yn(e){return We[e]}function jr(e){return rt(e).map(t=>{const n=yn(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Bt(e){return e==null?!1:rt(e).some(t=>{var n;return(n=yn(t))==null?void 0:n.size})}function Jr(e,t){return Promise.all(t.map(r=>(Qr(e,r),r().then(a=>a.default||a)))).then(r=>bn(e,...r))}const ke={};function wn(e){if(!Bt(e))return e in ke?ke[e]:Promise.resolve();const t=jr(e);return ke[e]=Promise.all(t.map(([n,r])=>Jr(n,r))).then(()=>{if(Bt(e))return wn(e);delete ke[e]}),ke[e]}const Xr={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},zr={fallbackLocale:null,loadingDelay:200,formats:Xr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Vr=zr;function Ne(){return Vr}const mt=et(!1);var Zr=Object.defineProperty,qr=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable,Jt=(e,t,n)=>t in e?Zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$r=(e,t)=>{for(var n in t||(t={}))Wr.call(t,n)&&Jt(e,n,t[n]);if(jt)for(var n of jt(t))Kr.call(t,n)&&Jt(e,n,t[n]);return e},ei=(e,t)=>qr(e,Yr(t));let Tt;const Ke=et(null);function Xt(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function rt(e,t=Ne().fallbackLocale){const n=Xt(e);return t?[...new Set([...n,...Xt(t)])]:n}function Ie(){return Tt!=null?Tt:void 0}Ke.subscribe(e=>{Tt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ti=e=>{if(e&&Fr(e)&&Bt(e)){const{loadingDelay:t}=Ne();let n;return typeof window!="undefined"&&Ie()!=null&&t?n=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),wn(e).then(()=>{Ke.set(e)}).finally(()=>{clearTimeout(n),mt.set(!1)})}return Ke.set(e)},be=ei($r({},Ke),{set:ti}),it=e=>{const t=Object.create(null);return r=>{const a=JSON.stringify(r);return a in t?t[a]:t[a]=e(r)}};var ni=Object.defineProperty,$e=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,zt=(e,t,n)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ot=(e,t)=>{for(var n in t||(t={}))In.call(t,n)&&zt(e,n,t[n]);if($e)for(var n of $e(t))xn.call(t,n)&&zt(e,n,t[n]);return e},_e=(e,t)=>{var n={};for(var r in e)In.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$e)for(var r of $e(e))t.indexOf(r)<0&&xn.call(e,r)&&(n[r]=e[r]);return n};const Ge=(e,t)=>{const{formats:n}=Ne();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ri=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(a=Ge("number",r)),new Intl.NumberFormat(n,a)}),ii=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?a=Ge("date",r):Object.keys(a).length===0&&(a=Ge("date","short")),new Intl.DateTimeFormat(n,a)}),ai=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?a=Ge("time",r):Object.keys(a).length===0&&(a=Ge("time","short")),new Intl.DateTimeFormat(n,a)}),oi=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ri(Ot({locale:n},r))},si=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ii(Ot({locale:n},r))},ui=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ai(Ot({locale:n},r))},li=it((e,t=Ie())=>new Pr(e,t,Ne().formats,{ignoreTag:Ne().ignoreTag})),hi=(e,t={})=>{var n,r,a,o;let f=t;typeof e=="object"&&(f=e,e=f.id);const{values:c,locale:d=Ie(),default:l}=f;if(d==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=vn(e,d);if(!h)h=(o=(a=(r=(n=Ne()).handleMissingMessage)==null?void 0:r.call(n,{locale:d,id:e,defaultValue:l}))!=null?a:l)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!c)return h;let g=h;try{g=li(h,d).format(c)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return g},fi=(e,t)=>ui(t).format(e),ci=(e,t)=>si(t).format(e),di=(e,t)=>oi(t).format(e),pi=(e,t=Ie())=>vn(e,t),mi=Le([be,De],()=>hi);Le([be],()=>fi);Le([be],()=>ci);Le([be],()=>di);Le([be,De],()=>pi);function Ai({withLocale:e,translations:t}){be.subscribe(n=>{n==null&&(De.set(t),be.set(e))})}function Vt(e,t){bn(e,t)}function gi(e){be.set(e)}const Zt={en:{loading:"Loading"},hr:{loading:"Učitavanje"},ro:{loading:"Se încarcă"},tr:{loading:"Yükleniyor"},el:{loading:"Φο’ρτωση"},es:{loading:"Cargando"},hu:{loading:"Betöltés"}};var Ht={exports:{}};/** @license
3
+ `,Oe.MISSING_INTL_API,f);var D=n.getPluralRules(t,{type:h.pluralType}).select(v-(h.offset||0));N=h.options[D]||h.options.other}if(!N)throw new Qt(h.value,v,Object.keys(h.options),f);c.push.apply(c,Ye(N.value,t,n,r,a,v-(h.offset||0)));continue}}return Or(c)}function Lr(e,t){return t?P(P(P({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=P(P({},e[r]),t[r]||{}),n},{})):e}function Dr(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Lr(e[r],t[r]),n},P({},e)):e}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function _r(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.number),strategy:ct.variadic}),getDateTimeFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.dateTime),strategy:ct.variadic}),getPluralRules:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,ht([void 0],n,!1)))},{cache:pt(e.pluralRules),strategy:ct.variadic})}}var Pr=function(){function e(t,n,r,a){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(d){var l=o.formatToParts(d);if(l.length===1)return l[0].value;var h=l.reduce(function(g,v){return!g.length||v.type!==ae.literal||typeof g[g.length-1]!="string"?g.push(v.value):g[g.length-1]+=v.value,g},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(d){return Ye(o.ast,o.locales,o.formatters,o.formats,d,void 0,o.message)},this.resolvedOptions=function(){var d;return{locale:((d=o.resolvedLocale)===null||d===void 0?void 0:d.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=a||{};f.formatters;var c=zn(f,["formatters"]);this.ast=e.__parse(t,P(P({},c),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Dr(e.formats,r),this.formatters=a&&a.formatters||_r(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Cr,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Mr(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let a=0;a<n.length;a++)if(typeof r=="object"){if(a>0){const o=n.slice(a,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[a]]}else r=void 0;return r}const Ee={},kr=(e,t,n)=>n&&(t in Ee||(Ee[t]={}),e in Ee[t]||(Ee[t][e]=n),n),vn=(e,t)=>{if(t==null)return;if(t in Ee&&e in Ee[t])return Ee[t][e];const n=rt(t);for(let r=0;r<n.length;r++){const a=n[r],o=Gr(a,e);if(o)return kr(e,t,o)}};let St;const De=et({});function Ur(e){return St[e]||null}function En(e){return e in St}function Gr(e,t){if(!En(e))return null;const n=Ur(e);return Mr(n,t)}function Fr(e){if(e==null)return;const t=rt(e);for(let n=0;n<t.length;n++){const r=t[n];if(En(r))return r}}function bn(e,...t){delete Ee[e],De.update(n=>(n[e]=Xn.all([n[e]||{},...t]),n))}Le([De],([e])=>Object.keys(e));De.subscribe(e=>St=e);const We={};function Qr(e,t){We[e].delete(t),We[e].size===0&&delete We[e]}function yn(e){return We[e]}function jr(e){return rt(e).map(t=>{const n=yn(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Bt(e){return e==null?!1:rt(e).some(t=>{var n;return(n=yn(t))==null?void 0:n.size})}function Jr(e,t){return Promise.all(t.map(r=>(Qr(e,r),r().then(a=>a.default||a)))).then(r=>bn(e,...r))}const ke={};function wn(e){if(!Bt(e))return e in ke?ke[e]:Promise.resolve();const t=jr(e);return ke[e]=Promise.all(t.map(([n,r])=>Jr(n,r))).then(()=>{if(Bt(e))return wn(e);delete ke[e]}),ke[e]}const Xr={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},zr={fallbackLocale:null,loadingDelay:200,formats:Xr,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Vr=zr;function Ne(){return Vr}const mt=et(!1);var Zr=Object.defineProperty,qr=Object.defineProperties,Yr=Object.getOwnPropertyDescriptors,jt=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,Kr=Object.prototype.propertyIsEnumerable,Jt=(e,t,n)=>t in e?Zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$r=(e,t)=>{for(var n in t||(t={}))Wr.call(t,n)&&Jt(e,n,t[n]);if(jt)for(var n of jt(t))Kr.call(t,n)&&Jt(e,n,t[n]);return e},ei=(e,t)=>qr(e,Yr(t));let Tt;const Ke=et(null);function Xt(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function rt(e,t=Ne().fallbackLocale){const n=Xt(e);return t?[...new Set([...n,...Xt(t)])]:n}function Ie(){return Tt!=null?Tt:void 0}Ke.subscribe(e=>{Tt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ti=e=>{if(e&&Fr(e)&&Bt(e)){const{loadingDelay:t}=Ne();let n;return typeof window!="undefined"&&Ie()!=null&&t?n=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),wn(e).then(()=>{Ke.set(e)}).finally(()=>{clearTimeout(n),mt.set(!1)})}return Ke.set(e)},be=ei($r({},Ke),{set:ti}),it=e=>{const t=Object.create(null);return r=>{const a=JSON.stringify(r);return a in t?t[a]:t[a]=e(r)}};var ni=Object.defineProperty,$e=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,zt=(e,t,n)=>t in e?ni(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ot=(e,t)=>{for(var n in t||(t={}))In.call(t,n)&&zt(e,n,t[n]);if($e)for(var n of $e(t))xn.call(t,n)&&zt(e,n,t[n]);return e},_e=(e,t)=>{var n={};for(var r in e)In.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$e)for(var r of $e(e))t.indexOf(r)<0&&xn.call(e,r)&&(n[r]=e[r]);return n};const Ge=(e,t)=>{const{formats:n}=Ne();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ri=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(a=Ge("number",r)),new Intl.NumberFormat(n,a)}),ii=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?a=Ge("date",r):Object.keys(a).length===0&&(a=Ge("date","short")),new Intl.DateTimeFormat(n,a)}),ai=it(e=>{var t=e,{locale:n,format:r}=t,a=_e(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?a=Ge("time",r):Object.keys(a).length===0&&(a=Ge("time","short")),new Intl.DateTimeFormat(n,a)}),oi=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ri(Ot({locale:n},r))},si=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ii(Ot({locale:n},r))},ui=(e={})=>{var t=e,{locale:n=Ie()}=t,r=_e(t,["locale"]);return ai(Ot({locale:n},r))},li=it((e,t=Ie())=>new Pr(e,t,Ne().formats,{ignoreTag:Ne().ignoreTag})),hi=(e,t={})=>{var n,r,a,o;let f=t;typeof e=="object"&&(f=e,e=f.id);const{values:c,locale:d=Ie(),default:l}=f;if(d==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=vn(e,d);if(!h)h=(o=(a=(r=(n=Ne()).handleMissingMessage)==null?void 0:r.call(n,{locale:d,id:e,defaultValue:l}))!=null?a:l)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!c)return h;let g=h;try{g=li(h,d).format(c)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return g},fi=(e,t)=>ui(t).format(e),ci=(e,t)=>si(t).format(e),di=(e,t)=>oi(t).format(e),pi=(e,t=Ie())=>vn(e,t),mi=Le([be,De],()=>hi);Le([be],()=>fi);Le([be],()=>ci);Le([be],()=>di);Le([be,De],()=>pi);function Ai({withLocale:e,translations:t}){be.subscribe(n=>{n==null&&(De.set(t),be.set(e))})}function Vt(e,t){bn(e,t)}function gi(e){be.set(e)}const Zt={en:{loading:"Loading"},hr:{loading:"Učitavanje"},ro:{loading:"Se încarcă"},tr:{loading:"Yükleniyor"},el:{loading:"Φο’ρτωση"},es:{loading:"Cargando"},hu:{loading:"Betöltés"}};var Ht={exports:{}};/** @license
4
4
  * eventsource.js
5
5
  * Available under MIT License (MIT)
6
6
  * https://github.com/Yaffle/EventSource/
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsSliderController-ougwR1W0.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-slider-controller")&&customElements.define("casino-tournaments-slider-controller",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsSliderController-C2M2Y7Wb.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-slider-controller")&&customElements.define("casino-tournaments-slider-controller",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsSliderController-C1esjnt_.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsSliderController-BbZNYMFJ.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-slider-controller") && customElements.define("casino-tournaments-slider-controller", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-slider-controller",
3
- "version": "1.49.2",
3
+ "version": "1.50.1",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-slider-controller.cjs",
6
6
  "module": "es2015/casino-tournaments-slider-controller.js",