@everymatrix/casino-tournaments-thumbnail-controller 1.54.8 → 1.54.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/components/{CasinoTournamentsThumbnail-DwgWwzsw.js → CasinoTournamentsThumbnail-BH6V6CAO.js} +200 -200
  2. package/components/{CasinoTournamentsThumbnail-BZ6KwnPj.cjs → CasinoTournamentsThumbnail-BN7ltnyl.cjs} +3 -3
  3. package/components/{CasinoTournamentsThumbnail-DImqEW9R.js → CasinoTournamentsThumbnail-sr_bKWLW.js} +209 -209
  4. package/components/{CasinoTournamentsThumbnailController-BqiLPxib.cjs → CasinoTournamentsThumbnailController-B8z4G4u4.cjs} +2 -2
  5. package/components/{CasinoTournamentsThumbnailController-DxFcTKGq.js → CasinoTournamentsThumbnailController-Bc7lWKlp.js} +449 -449
  6. package/components/{CasinoTournamentsThumbnailController-ZpuHxb73.js → CasinoTournamentsThumbnailController-CNEVtWoo.js} +466 -466
  7. package/components/{CasinoTournamentsThumbnailDuration-CIokyszA.cjs → CasinoTournamentsThumbnailDuration-B1NAgP_H.cjs} +1 -1
  8. package/components/{CasinoTournamentsThumbnailDuration-BFXpYr6E.js → CasinoTournamentsThumbnailDuration-BkT59gn8.js} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-DKe0oF5X.js → CasinoTournamentsThumbnailDuration-CHYyusrB.js} +1 -1
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-31zSHS0v.cjs → CasinoTournamentsThumbnailGamesSlider-AYb53BM5.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-fvzL_Kbe.js → CasinoTournamentsThumbnailGamesSlider-CS6uPces.js} +2 -2
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-C0RQ1WgQ.js → CasinoTournamentsThumbnailGamesSlider-D0ZkXc_O.js} +2 -2
  13. package/components/{CasinoTournamentsThumbnailPrizes-D8jtxror.js → CasinoTournamentsThumbnailPrizes-D6FWCUNS.js} +1 -1
  14. package/components/{CasinoTournamentsThumbnailPrizes-CiE6G-Hp.js → CasinoTournamentsThumbnailPrizes-DBUNJ0m1.js} +1 -1
  15. package/components/{CasinoTournamentsThumbnailPrizes-CO560glk.cjs → CasinoTournamentsThumbnailPrizes-ZRyRtCkF.cjs} +1 -1
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
@@ -38,7 +38,7 @@ function ut() {
38
38
  function ne(e) {
39
39
  e.forEach(Nt);
40
40
  }
41
- function ce(e) {
41
+ function fe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function Ot(e, t) {
@@ -64,19 +64,19 @@ function _r(e, t, r) {
64
64
  e.$$.on_destroy.push(Pt(t, r));
65
65
  }
66
66
  function me(e) {
67
- return e && ce(e.destroy) ? e.destroy : U;
67
+ return e && fe(e.destroy) ? e.destroy : U;
68
68
  }
69
69
  function S(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function Er(e, t, r) {
73
- const n = xr(e);
72
+ function vr(e, t, r) {
73
+ const n = Er(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = O("style");
76
- i.id = t, i.textContent = r, vr(n, i);
76
+ i.id = t, i.textContent = r, xr(n, i);
77
77
  }
78
78
  }
79
- function xr(e) {
79
+ function Er(e) {
80
80
  if (!e) return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
82
  return t && /** @type {ShadowRoot} */
@@ -85,7 +85,7 @@ function xr(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function vr(e, t) {
88
+ function xr(e, t) {
89
89
  return S(
90
90
  /** @type {Document} */
91
91
  e.head || e,
@@ -251,7 +251,7 @@ function Vi(e) {
251
251
  function Rr(e, t, r) {
252
252
  const { fragment: n, after_update: i } = e.$$;
253
253
  n && n.m(t, r), je(() => {
254
- const s = e.$$.on_mount.map(Nt).filter(ce);
254
+ const s = e.$$.on_mount.map(Nt).filter(fe);
255
255
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
256
256
  }), i.forEach(je);
257
257
  }
@@ -288,13 +288,13 @@ function kr(e, t, r, n, i, s, a = null, o = [-1]) {
288
288
  };
289
289
  a && a(u.root);
290
290
  let h = !1;
291
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
292
- const d = E.length ? E[0] : c;
293
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Dr(e, f)), c;
291
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...v) => {
292
+ const d = v.length ? v[0] : f;
293
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Dr(e, c)), f;
294
294
  }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
295
295
  if (t.hydrate) {
296
- const f = Tr(t.target);
297
- u.fragment && u.fragment.l(f), f.forEach(L);
296
+ const c = Tr(t.target);
297
+ u.fragment && u.fragment.l(c), c.forEach(L);
298
298
  } else
299
299
  u.fragment && u.fragment.c();
300
300
  t.intro && Mr(e.$$.fragment), Rr(e, t.target, t.anchor), w();
@@ -513,7 +513,7 @@ class Fr {
513
513
  * @returns {() => void}
514
514
  */
515
515
  $on(t, r) {
516
- if (!ce(r))
516
+ if (!fe(r))
517
517
  return U;
518
518
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
519
519
  return n.push(r), () => {
@@ -547,14 +547,14 @@ function Se(e, t) {
547
547
  }
548
548
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
549
549
  }
550
- var v = function() {
551
- return v = Object.assign || function(t) {
550
+ var x = function() {
551
+ return x = Object.assign || function(t) {
552
552
  for (var r, n = 1, i = arguments.length; n < i; n++) {
553
553
  r = arguments[n];
554
554
  for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
555
555
  }
556
556
  return t;
557
- }, v.apply(this, arguments);
557
+ }, x.apply(this, arguments);
558
558
  };
559
559
  function $r(e, t) {
560
560
  var r = {};
@@ -636,26 +636,26 @@ function ie(e, t, r) {
636
636
  return jr(r, (a, o) => {
637
637
  let l = !1;
638
638
  const u = [];
639
- let h = 0, f = U;
640
- const c = () => {
639
+ let h = 0, c = U;
640
+ const f = () => {
641
641
  if (h)
642
642
  return;
643
- f();
643
+ c();
644
644
  const d = t(n ? u[0] : u, a, o);
645
- s ? a(d) : f = ce(d) ? d : U;
646
- }, E = i.map(
645
+ s ? a(d) : c = fe(d) ? d : U;
646
+ }, v = i.map(
647
647
  (d, b) => Pt(
648
648
  d,
649
649
  (g) => {
650
- u[b] = g, h &= ~(1 << b), l && c();
650
+ u[b] = g, h &= ~(1 << b), l && f();
651
651
  },
652
652
  () => {
653
653
  h |= 1 << b;
654
654
  }
655
655
  )
656
656
  );
657
- return l = !0, c(), function() {
658
- ne(E), f(), l = !1;
657
+ return l = !0, f(), function() {
658
+ ne(v), c(), l = !1;
659
659
  };
660
660
  });
661
661
  }
@@ -734,7 +734,7 @@ K.all = function(t, r) {
734
734
  var nn = K, sn = nn;
735
735
  const an = /* @__PURE__ */ Vr(sn);
736
736
  function Me(e, t) {
737
- var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : ln;
737
+ var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : cn, i = t && t.strategy ? t.strategy : ln;
738
738
  return i(e, {
739
739
  cache: r,
740
740
  serializer: n
@@ -761,9 +761,9 @@ function ln(e, t) {
761
761
  function hn(e, t) {
762
762
  return Lt(e, this, Rt, t.cache.create(), t.serializer);
763
763
  }
764
- var fn = function() {
764
+ var cn = function() {
765
765
  return JSON.stringify(arguments);
766
- }, cn = (
766
+ }, fn = (
767
767
  /** @class */
768
768
  function() {
769
769
  function e() {
@@ -777,7 +777,7 @@ var fn = function() {
777
777
  }()
778
778
  ), mn = {
779
779
  create: function() {
780
- return new cn();
780
+ return new fn();
781
781
  }
782
782
  }, Re = {
783
783
  variadic: hn
@@ -793,7 +793,7 @@ var ee;
793
793
  (function(e) {
794
794
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
795
795
  })(ee || (ee = {}));
796
- function ft(e) {
796
+ function ct(e) {
797
797
  return e.type === A.literal;
798
798
  }
799
799
  function dn(e) {
@@ -922,25 +922,25 @@ var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
922
922
  function _n(e) {
923
923
  if (e.length === 0)
924
924
  throw new Error("Number skeleton cannot be empty");
925
- for (var t = e.split(yn).filter(function(c) {
926
- return c.length > 0;
925
+ for (var t = e.split(yn).filter(function(f) {
926
+ return f.length > 0;
927
927
  }), r = [], n = 0, i = t; n < i.length; n++) {
928
928
  var s = i[n], a = s.split("/");
929
929
  if (a.length === 0)
930
930
  throw new Error("Invalid number skeleton");
931
931
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
932
- var f = h[u];
933
- if (f.length === 0)
932
+ var c = h[u];
933
+ if (c.length === 0)
934
934
  throw new Error("Invalid number skeleton");
935
935
  }
936
936
  r.push({ stem: o, options: l });
937
937
  }
938
938
  return r;
939
939
  }
940
- function En(e) {
940
+ function vn(e) {
941
941
  return e.replace(/^(.*?)-/, "");
942
942
  }
943
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
943
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
944
944
  function mt(e) {
945
945
  var t = {};
946
946
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
@@ -987,7 +987,7 @@ function Wt(e) {
987
987
  };
988
988
  }
989
989
  }
990
- function vn(e) {
990
+ function xn(e) {
991
991
  var t;
992
992
  if (e[0] === "E" && e[1] === "E" ? (t = {
993
993
  notation: "engineering"
@@ -1029,7 +1029,7 @@ function Sn(e) {
1029
1029
  continue;
1030
1030
  case "measure-unit":
1031
1031
  case "unit":
1032
- t.style = "unit", t.unit = En(i.options[0]);
1032
+ t.style = "unit", t.unit = vn(i.options[0]);
1033
1033
  continue;
1034
1034
  case "compact-short":
1035
1035
  case "K":
@@ -1040,13 +1040,13 @@ function Sn(e) {
1040
1040
  t.notation = "compact", t.compactDisplay = "long";
1041
1041
  continue;
1042
1042
  case "scientific":
1043
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1044
- return v(v({}, l), dt(u));
1043
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1044
+ return x(x({}, l), dt(u));
1045
1045
  }, {}));
1046
1046
  continue;
1047
1047
  case "engineering":
1048
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1049
- return v(v({}, l), dt(u));
1048
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1049
+ return x(x({}, l), dt(u));
1050
1050
  }, {}));
1051
1051
  continue;
1052
1052
  case "notation-simple":
@@ -1091,13 +1091,13 @@ function Sn(e) {
1091
1091
  case "integer-width":
1092
1092
  if (i.options.length > 1)
1093
1093
  throw new RangeError("integer-width stems only accept a single optional option");
1094
- i.options[0].replace(xn, function(l, u, h, f, c, E) {
1094
+ i.options[0].replace(En, function(l, u, h, c, f, v) {
1095
1095
  if (u)
1096
1096
  t.minimumIntegerDigits = h.length;
1097
1097
  else {
1098
- if (f && c)
1098
+ if (c && f)
1099
1099
  throw new Error("We currently do not support maximum integer digits");
1100
- if (E)
1100
+ if (v)
1101
1101
  throw new Error("We currently do not support exact integer digits");
1102
1102
  }
1103
1103
  return "";
@@ -1108,24 +1108,24 @@ function Sn(e) {
1108
1108
  t.minimumIntegerDigits = i.stem.length;
1109
1109
  continue;
1110
1110
  }
1111
- if (ct.test(i.stem)) {
1111
+ if (ft.test(i.stem)) {
1112
1112
  if (i.options.length > 1)
1113
1113
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1114
- i.stem.replace(ct, function(l, u, h, f, c, E) {
1115
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && E ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1114
+ i.stem.replace(ft, function(l, u, h, c, f, v) {
1115
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1116
1116
  });
1117
1117
  var s = i.options[0];
1118
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), mt(s)));
1118
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), mt(s)));
1119
1119
  continue;
1120
1120
  }
1121
1121
  if (zt.test(i.stem)) {
1122
- t = v(v({}, t), mt(i.stem));
1122
+ t = x(x({}, t), mt(i.stem));
1123
1123
  continue;
1124
1124
  }
1125
1125
  var a = Wt(i.stem);
1126
- a && (t = v(v({}, t), a));
1127
- var o = vn(i.stem);
1128
- o && (t = v(v({}, t), o));
1126
+ a && (t = x(x({}, t), a));
1127
+ var o = xn(i.stem);
1128
+ o && (t = x(x({}, t), o));
1129
1129
  }
1130
1130
  return t;
1131
1131
  }
@@ -2582,7 +2582,7 @@ function An(e) {
2582
2582
  return i[0];
2583
2583
  }
2584
2584
  var Le, Hn = new RegExp("^".concat(Vt.source, "*")), Cn = new RegExp("".concat(Vt.source, "*$"));
2585
- function x(e, t) {
2585
+ function E(e, t) {
2586
2586
  return { start: e, end: t };
2587
2587
  }
2588
2588
  var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Nn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, Rn = Mn ? Number.isSafeInteger : function(e) {
@@ -2710,12 +2710,12 @@ var Un = (
2710
2710
  var o = this.clonePosition();
2711
2711
  this.bump(), i.push({
2712
2712
  type: A.pound,
2713
- location: x(o, this.clonePosition())
2713
+ location: E(o, this.clonePosition())
2714
2714
  });
2715
2715
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2716
2716
  if (n)
2717
2717
  break;
2718
- return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2718
+ return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2719
2719
  } else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2720
2720
  var a = this.parseTag(t, r);
2721
2721
  if (a.err)
@@ -2739,7 +2739,7 @@ var Un = (
2739
2739
  val: {
2740
2740
  type: A.literal,
2741
2741
  value: "<".concat(i, "/>"),
2742
- location: x(n, this.clonePosition())
2742
+ location: E(n, this.clonePosition())
2743
2743
  },
2744
2744
  err: null
2745
2745
  };
@@ -2750,21 +2750,21 @@ var Un = (
2750
2750
  var a = s.val, o = this.clonePosition();
2751
2751
  if (this.bumpIf("</")) {
2752
2752
  if (this.isEOF() || !Ze(this.char()))
2753
- return this.error(_.INVALID_TAG, x(o, this.clonePosition()));
2753
+ return this.error(_.INVALID_TAG, E(o, this.clonePosition()));
2754
2754
  var l = this.clonePosition(), u = this.parseTagName();
2755
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2755
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2756
2756
  val: {
2757
2757
  type: A.tag,
2758
2758
  value: i,
2759
2759
  children: a,
2760
- location: x(n, this.clonePosition())
2760
+ location: E(n, this.clonePosition())
2761
2761
  },
2762
2762
  err: null
2763
- } : this.error(_.INVALID_TAG, x(o, this.clonePosition())));
2763
+ } : this.error(_.INVALID_TAG, E(o, this.clonePosition())));
2764
2764
  } else
2765
- return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
2765
+ return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
2766
2766
  } else
2767
- return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
2767
+ return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
2768
2768
  }, e.prototype.parseTagName = function() {
2769
2769
  var t = this.offset();
2770
2770
  for (this.bump(); !this.isEOF() && Gn(this.char()); )
@@ -2789,7 +2789,7 @@ var Un = (
2789
2789
  }
2790
2790
  break;
2791
2791
  }
2792
- var l = x(n, this.clonePosition());
2792
+ var l = E(n, this.clonePosition());
2793
2793
  return {
2794
2794
  val: { type: A.literal, value: i, location: l },
2795
2795
  err: null
@@ -2839,14 +2839,14 @@ var Un = (
2839
2839
  }, e.prototype.parseArgument = function(t, r) {
2840
2840
  var n = this.clonePosition();
2841
2841
  if (this.bump(), this.bumpSpace(), this.isEOF())
2842
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2842
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2843
2843
  if (this.char() === 125)
2844
- return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2844
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
2845
2845
  var i = this.parseIdentifierIfPossible().value;
2846
2846
  if (!i)
2847
- return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2847
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2848
2848
  if (this.bumpSpace(), this.isEOF())
2849
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2849
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2850
2850
  switch (this.char()) {
2851
2851
  case 125:
2852
2852
  return this.bump(), {
@@ -2854,25 +2854,25 @@ var Un = (
2854
2854
  type: A.argument,
2855
2855
  // value does not include the opening and closing braces.
2856
2856
  value: i,
2857
- location: x(n, this.clonePosition())
2857
+ location: E(n, this.clonePosition())
2858
2858
  },
2859
2859
  err: null
2860
2860
  };
2861
2861
  case 44:
2862
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2862
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2863
2863
  default:
2864
- return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2864
+ return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2865
2865
  }
2866
2866
  }, e.prototype.parseIdentifierIfPossible = function() {
2867
2867
  var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2868
2868
  this.bumpTo(i);
2869
- var s = this.clonePosition(), a = x(t, s);
2869
+ var s = this.clonePosition(), a = E(t, s);
2870
2870
  return { value: n, location: a };
2871
2871
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2872
2872
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2873
2873
  switch (o) {
2874
2874
  case "":
2875
- return this.error(_.EXPECT_ARGUMENT_TYPE, x(a, l));
2875
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
2876
2876
  case "number":
2877
2877
  case "date":
2878
2878
  case "time": {
@@ -2880,25 +2880,25 @@ var Un = (
2880
2880
  var u = null;
2881
2881
  if (this.bumpIf(",")) {
2882
2882
  this.bumpSpace();
2883
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2884
- if (f.err)
2885
- return f;
2886
- var c = kn(f.val);
2887
- if (c.length === 0)
2888
- return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2889
- var E = x(h, this.clonePosition());
2890
- u = { style: c, styleLocation: E };
2883
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2884
+ if (c.err)
2885
+ return c;
2886
+ var f = kn(c.val);
2887
+ if (f.length === 0)
2888
+ return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2889
+ var v = E(h, this.clonePosition());
2890
+ u = { style: f, styleLocation: v };
2891
2891
  }
2892
2892
  var d = this.tryParseArgumentClose(i);
2893
2893
  if (d.err)
2894
2894
  return d;
2895
- var b = x(i, this.clonePosition());
2895
+ var b = E(i, this.clonePosition());
2896
2896
  if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
2897
2897
  var g = Dn(u.style.slice(2));
2898
2898
  if (o === "number") {
2899
- var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2900
- return f.err ? f : {
2901
- val: { type: A.number, value: n, location: b, style: f.val },
2899
+ var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
2900
+ return c.err ? c : {
2901
+ val: { type: A.number, value: n, location: b, style: c.val },
2902
2902
  err: null
2903
2903
  };
2904
2904
  } else {
@@ -2906,14 +2906,14 @@ var Un = (
2906
2906
  return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
2907
2907
  var p = g;
2908
2908
  this.locale && (p = Tn(g, this.locale));
2909
- var c = {
2909
+ var f = {
2910
2910
  type: ee.dateTime,
2911
2911
  pattern: p,
2912
2912
  location: u.styleLocation,
2913
2913
  parsedOptions: this.shouldParseSkeletons ? pn(p) : {}
2914
2914
  }, T = o === "date" ? A.date : A.time;
2915
2915
  return {
2916
- val: { type: T, value: n, location: b, style: c },
2916
+ val: { type: T, value: n, location: b, style: f },
2917
2917
  err: null
2918
2918
  };
2919
2919
  }
@@ -2933,17 +2933,17 @@ var Un = (
2933
2933
  case "select": {
2934
2934
  var N = this.clonePosition();
2935
2935
  if (this.bumpSpace(), !this.bumpIf(","))
2936
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(N, v({}, N)));
2936
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(N, x({}, N)));
2937
2937
  this.bumpSpace();
2938
2938
  var H = this.parseIdentifierIfPossible(), C = 0;
2939
2939
  if (o !== "select" && H.value === "offset") {
2940
2940
  if (!this.bumpIf(":"))
2941
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2941
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2942
2942
  this.bumpSpace();
2943
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2944
- if (f.err)
2945
- return f;
2946
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), C = f.val;
2943
+ var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2944
+ if (c.err)
2945
+ return c;
2946
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), C = c.val;
2947
2947
  }
2948
2948
  var F = this.tryParsePluralOrSelectOptions(t, o, r, H);
2949
2949
  if (F.err)
@@ -2951,7 +2951,7 @@ var Un = (
2951
2951
  var d = this.tryParseArgumentClose(i);
2952
2952
  if (d.err)
2953
2953
  return d;
2954
- var D = x(i, this.clonePosition());
2954
+ var D = E(i, this.clonePosition());
2955
2955
  return o === "select" ? {
2956
2956
  val: {
2957
2957
  type: A.select,
@@ -2973,10 +2973,10 @@ var Un = (
2973
2973
  };
2974
2974
  }
2975
2975
  default:
2976
- return this.error(_.INVALID_ARGUMENT_TYPE, x(a, l));
2976
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
2977
2977
  }
2978
2978
  }, e.prototype.tryParseArgumentClose = function(t) {
2979
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2979
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2980
2980
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2981
2981
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2982
2982
  var n = this.char();
@@ -2985,7 +2985,7 @@ var Un = (
2985
2985
  this.bump();
2986
2986
  var i = this.clonePosition();
2987
2987
  if (!this.bumpUntil("'"))
2988
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2988
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
2989
2989
  this.bump();
2990
2990
  break;
2991
2991
  }
@@ -3031,36 +3031,36 @@ var Un = (
3031
3031
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3032
3032
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3033
3033
  if (u.length === 0) {
3034
- var f = this.clonePosition();
3034
+ var c = this.clonePosition();
3035
3035
  if (r !== "select" && this.bumpIf("=")) {
3036
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3037
- if (c.err)
3038
- return c;
3039
- h = x(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3036
+ var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3037
+ if (f.err)
3038
+ return f;
3039
+ h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3040
3040
  } else
3041
3041
  break;
3042
3042
  }
3043
3043
  if (l.has(u))
3044
3044
  return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3045
3045
  u === "other" && (a = !0), this.bumpSpace();
3046
- var E = this.clonePosition();
3046
+ var v = this.clonePosition();
3047
3047
  if (!this.bumpIf("{"))
3048
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3048
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3049
3049
  var d = this.parseMessage(t + 1, r, n);
3050
3050
  if (d.err)
3051
3051
  return d;
3052
- var b = this.tryParseArgumentClose(E);
3052
+ var b = this.tryParseArgumentClose(v);
3053
3053
  if (b.err)
3054
3054
  return b;
3055
3055
  o.push([
3056
3056
  u,
3057
3057
  {
3058
3058
  value: d.val,
3059
- location: x(E, this.clonePosition())
3059
+ location: E(v, this.clonePosition())
3060
3060
  }
3061
3061
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3062
3062
  }
3063
- return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3063
+ return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3064
3064
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3065
3065
  var n = 1, i = this.clonePosition();
3066
3066
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3071,7 +3071,7 @@ var Un = (
3071
3071
  else
3072
3072
  break;
3073
3073
  }
3074
- var l = x(i, this.clonePosition());
3074
+ var l = E(i, this.clonePosition());
3075
3075
  return s ? (a *= n, Rn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3076
3076
  }, e.prototype.offset = function() {
3077
3077
  return this.position.offset;
@@ -3162,7 +3162,7 @@ function qe(e) {
3162
3162
  });
3163
3163
  }
3164
3164
  function jn(e, t) {
3165
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3165
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3166
3166
  var r = new Un(e, t).parse();
3167
3167
  if (r.err) {
3168
3168
  var n = SyntaxError(_[r.err.kind]);
@@ -3227,7 +3227,7 @@ function Wn(e) {
3227
3227
  return typeof e == "function";
3228
3228
  }
3229
3229
  function _e(e, t, r, n, i, s, a) {
3230
- if (e.length === 1 && ft(e[0]))
3230
+ if (e.length === 1 && ct(e[0]))
3231
3231
  return [
3232
3232
  {
3233
3233
  type: I.literal,
@@ -3236,7 +3236,7 @@ function _e(e, t, r, n, i, s, a) {
3236
3236
  ];
3237
3237
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3238
3238
  var h = u[l];
3239
- if (ft(h)) {
3239
+ if (ct(h)) {
3240
3240
  o.push({
3241
3241
  type: I.literal,
3242
3242
  value: h.value
@@ -3250,38 +3250,38 @@ function _e(e, t, r, n, i, s, a) {
3250
3250
  });
3251
3251
  continue;
3252
3252
  }
3253
- var f = h.value;
3254
- if (!(i && f in i))
3255
- throw new zn(f, a);
3256
- var c = i[f];
3253
+ var c = h.value;
3254
+ if (!(i && c in i))
3255
+ throw new zn(c, a);
3256
+ var f = i[c];
3257
3257
  if (dn(h)) {
3258
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3259
- type: typeof c == "string" ? I.literal : I.object,
3260
- value: c
3258
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3259
+ type: typeof f == "string" ? I.literal : I.object,
3260
+ value: f
3261
3261
  });
3262
3262
  continue;
3263
3263
  }
3264
3264
  if (kt(h)) {
3265
- var E = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3265
+ var v = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3266
3266
  o.push({
3267
3267
  type: I.literal,
3268
- value: r.getDateTimeFormat(t, E).format(c)
3268
+ value: r.getDateTimeFormat(t, v).format(f)
3269
3269
  });
3270
3270
  continue;
3271
3271
  }
3272
3272
  if (Ut(h)) {
3273
- var E = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3273
+ var v = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3274
3274
  o.push({
3275
3275
  type: I.literal,
3276
- value: r.getDateTimeFormat(t, E).format(c)
3276
+ value: r.getDateTimeFormat(t, v).format(f)
3277
3277
  });
3278
3278
  continue;
3279
3279
  }
3280
3280
  if (Dt(h)) {
3281
- var E = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
3282
- E && E.scale && (c = c * (E.scale || 1)), o.push({
3281
+ var v = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
3282
+ v && v.scale && (f = f * (v.scale || 1)), o.push({
3283
3283
  type: I.literal,
3284
- value: r.getNumberFormat(t, E).format(c)
3284
+ value: r.getNumberFormat(t, v).format(f)
3285
3285
  });
3286
3286
  continue;
3287
3287
  }
@@ -3300,39 +3300,39 @@ function _e(e, t, r, n, i, s, a) {
3300
3300
  }));
3301
3301
  }
3302
3302
  if (Ft(h)) {
3303
- var N = h.options[c] || h.options.other;
3303
+ var N = h.options[f] || h.options.other;
3304
3304
  if (!N)
3305
- throw new yt(h.value, c, Object.keys(h.options), a);
3305
+ throw new yt(h.value, f, Object.keys(h.options), a);
3306
3306
  o.push.apply(o, _e(N.value, t, r, n, i));
3307
3307
  continue;
3308
3308
  }
3309
3309
  if (Gt(h)) {
3310
- var N = h.options["=".concat(c)];
3310
+ var N = h.options["=".concat(f)];
3311
3311
  if (!N) {
3312
3312
  if (!Intl.PluralRules)
3313
3313
  throw new Ae(`Intl.PluralRules is not available in this environment.
3314
3314
  Try polyfilling it using "@formatjs/intl-pluralrules"
3315
3315
  `, te.MISSING_INTL_API, a);
3316
- var H = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3316
+ var H = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3317
3317
  N = h.options[H] || h.options.other;
3318
3318
  }
3319
3319
  if (!N)
3320
- throw new yt(h.value, c, Object.keys(h.options), a);
3321
- o.push.apply(o, _e(N.value, t, r, n, i, c - (h.offset || 0)));
3320
+ throw new yt(h.value, f, Object.keys(h.options), a);
3321
+ o.push.apply(o, _e(N.value, t, r, n, i, f - (h.offset || 0)));
3322
3322
  continue;
3323
3323
  }
3324
3324
  }
3325
3325
  return Jn(o);
3326
3326
  }
3327
3327
  function Xn(e, t) {
3328
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3329
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3328
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3329
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3330
3330
  }, {})) : e;
3331
3331
  }
3332
3332
  function Zn(e, t) {
3333
3333
  return t ? Object.keys(e).reduce(function(r, n) {
3334
3334
  return r[n] = Xn(e[n], t[n]), r;
3335
- }, v({}, e)) : e;
3335
+ }, x({}, e)) : e;
3336
3336
  }
3337
3337
  function De(e) {
3338
3338
  return {
@@ -3394,8 +3394,8 @@ var Qn = (
3394
3394
  var u = s.formatToParts(l);
3395
3395
  if (u.length === 1)
3396
3396
  return u[0].value;
3397
- var h = u.reduce(function(f, c) {
3398
- return !f.length || c.type !== I.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3397
+ var h = u.reduce(function(c, f) {
3398
+ return !c.length || f.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3399
3399
  }, []);
3400
3400
  return h.length <= 1 ? h[0] || "" : h;
3401
3401
  }, this.formatToParts = function(l) {
@@ -3413,7 +3413,7 @@ var Qn = (
3413
3413
  var a = i || {};
3414
3414
  a.formatters;
3415
3415
  var o = $r(a, ["formatters"]);
3416
- this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
3416
+ this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
3417
3417
  } else
3418
3418
  this.ast = t;
3419
3419
  if (!Array.isArray(this.ast))
@@ -3557,12 +3557,12 @@ ie(
3557
3557
  ([e]) => Object.keys(e)
3558
3558
  );
3559
3559
  de.subscribe((e) => Ke = e);
3560
- const Ee = {};
3560
+ const ve = {};
3561
3561
  function ni(e, t) {
3562
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3562
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3563
3563
  }
3564
3564
  function er(e) {
3565
- return Ee[e];
3565
+ return ve[e];
3566
3566
  }
3567
3567
  function ii(e) {
3568
3568
  return He(e).map((t) => {
@@ -3639,27 +3639,27 @@ function re() {
3639
3639
  return ui;
3640
3640
  }
3641
3641
  const ke = Te(!1);
3642
- var li = Object.defineProperty, hi = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, ci = Object.prototype.hasOwnProperty, mi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
3642
+ var li = Object.defineProperty, hi = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, mi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
3643
3643
  for (var r in t || (t = {}))
3644
- ci.call(t, r) && Et(e, r, t[r]);
3644
+ fi.call(t, r) && vt(e, r, t[r]);
3645
3645
  if (_t)
3646
3646
  for (var r of _t(t))
3647
- mi.call(t, r) && Et(e, r, t[r]);
3647
+ mi.call(t, r) && vt(e, r, t[r]);
3648
3648
  return e;
3649
- }, bi = (e, t) => hi(e, fi(t));
3649
+ }, bi = (e, t) => hi(e, ci(t));
3650
3650
  let Ye;
3651
- const xe = Te(null);
3652
- function xt(e) {
3651
+ const Ee = Te(null);
3652
+ function Et(e) {
3653
3653
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3654
3654
  }
3655
3655
  function He(e, t = re().fallbackLocale) {
3656
- const r = xt(e);
3657
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3656
+ const r = Et(e);
3657
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
3658
3658
  }
3659
3659
  function X() {
3660
3660
  return Ye != null ? Ye : void 0;
3661
3661
  }
3662
- xe.subscribe((e) => {
3662
+ Ee.subscribe((e) => {
3663
3663
  Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3664
3664
  });
3665
3665
  const gi = (e) => {
@@ -3670,13 +3670,13 @@ const gi = (e) => {
3670
3670
  () => ke.set(!0),
3671
3671
  t
3672
3672
  ) : ke.set(!0), tr(e).then(() => {
3673
- xe.set(e);
3673
+ Ee.set(e);
3674
3674
  }).finally(() => {
3675
3675
  clearTimeout(r), ke.set(!1);
3676
3676
  });
3677
3677
  }
3678
- return xe.set(e);
3679
- }, se = bi(di({}, xe), {
3678
+ return Ee.set(e);
3679
+ }, se = bi(di({}, Ee), {
3680
3680
  set: gi
3681
3681
  }), Ce = (e) => {
3682
3682
  const t = /* @__PURE__ */ Object.create(null);
@@ -3685,23 +3685,23 @@ const gi = (e) => {
3685
3685
  return i in t ? t[i] : t[i] = e(n);
3686
3686
  };
3687
3687
  };
3688
- var pi = Object.defineProperty, ve = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3688
+ var pi = Object.defineProperty, xe = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3689
3689
  for (var r in t || (t = {}))
3690
- rr.call(t, r) && vt(e, r, t[r]);
3691
- if (ve)
3692
- for (var r of ve(t))
3693
- nr.call(t, r) && vt(e, r, t[r]);
3690
+ rr.call(t, r) && xt(e, r, t[r]);
3691
+ if (xe)
3692
+ for (var r of xe(t))
3693
+ nr.call(t, r) && xt(e, r, t[r]);
3694
3694
  return e;
3695
3695
  }, ae = (e, t) => {
3696
3696
  var r = {};
3697
3697
  for (var n in e)
3698
3698
  rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3699
- if (e != null && ve)
3700
- for (var n of ve(e))
3699
+ if (e != null && xe)
3700
+ for (var n of xe(e))
3701
3701
  t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
3702
3702
  return r;
3703
3703
  };
3704
- const fe = (e, t) => {
3704
+ const ce = (e, t) => {
3705
3705
  const { formats: r } = re();
3706
3706
  if (e in r && t in r[e])
3707
3707
  return r[e][t];
@@ -3711,32 +3711,32 @@ const fe = (e, t) => {
3711
3711
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3712
3712
  if (r == null)
3713
3713
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3714
- return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3714
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3715
3715
  }
3716
3716
  ), _i = Ce(
3717
3717
  (e) => {
3718
3718
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3719
3719
  if (r == null)
3720
3720
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3721
- return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3721
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3722
3722
  }
3723
- ), Ei = Ce(
3723
+ ), vi = Ce(
3724
3724
  (e) => {
3725
3725
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3726
3726
  if (r == null)
3727
3727
  throw new Error(
3728
3728
  '[svelte-i18n] A "locale" must be set to format time values'
3729
3729
  );
3730
- return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3730
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3731
3731
  }
3732
- ), xi = (e = {}) => {
3732
+ ), Ei = (e = {}) => {
3733
3733
  var t = e, {
3734
3734
  locale: r = X()
3735
3735
  } = t, n = ae(t, [
3736
3736
  "locale"
3737
3737
  ]);
3738
3738
  return yi(et({ locale: r }, n));
3739
- }, vi = (e = {}) => {
3739
+ }, xi = (e = {}) => {
3740
3740
  var t = e, {
3741
3741
  locale: r = X()
3742
3742
  } = t, n = ae(t, [
@@ -3749,7 +3749,7 @@ const fe = (e, t) => {
3749
3749
  } = t, n = ae(t, [
3750
3750
  "locale"
3751
3751
  ]);
3752
- return Ei(et({ locale: r }, n));
3752
+ return vi(et({ locale: r }, n));
3753
3753
  }, Ti = Ce(
3754
3754
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3755
3755
  (e, t = X()) => new Qn(e, t, re().formats, {
@@ -3777,17 +3777,17 @@ const fe = (e, t) => {
3777
3777
  ), h;
3778
3778
  if (!o)
3779
3779
  return h;
3780
- let f = h;
3780
+ let c = h;
3781
3781
  try {
3782
- f = Ti(h, l).format(o);
3783
- } catch (c) {
3784
- c instanceof Error && console.warn(
3782
+ c = Ti(h, l).format(o);
3783
+ } catch (f) {
3784
+ f instanceof Error && console.warn(
3785
3785
  `[svelte-i18n] Message "${e}" has syntax error:`,
3786
- c.message
3786
+ f.message
3787
3787
  );
3788
3788
  }
3789
- return f;
3790
- }, Hi = (e, t) => Si(t).format(e), Ci = (e, t) => vi(t).format(e), Bi = (e, t) => xi(t).format(e), wi = (e, t = X()) => Qt(e, t), Ni = ie([se, de], () => Ai);
3789
+ return c;
3790
+ }, Hi = (e, t) => Si(t).format(e), Ci = (e, t) => xi(t).format(e), Bi = (e, t) => Ei(t).format(e), wi = (e, t = X()) => Qt(e, t), Ni = ie([se, de], () => Ai);
3791
3791
  ie([se], () => Hi);
3792
3792
  ie([se], () => Ci);
3793
3793
  ie([se], () => Bi);
@@ -4131,7 +4131,7 @@ const Tt = {
4131
4131
  }
4132
4132
  };
4133
4133
  function Pi(e) {
4134
- Er(e, "svelte-1gxooas", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4134
+ vr(e, "svelte-1gxooas", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4135
4135
  }
4136
4136
  function At(e) {
4137
4137
  let t, r, n, i, s, a;
@@ -4297,7 +4297,7 @@ function Bt(e) {
4297
4297
  r,
4298
4298
  /*shownDate*/
4299
4299
  a[11]
4300
- ), n && ce(n.update) && o[0] & /*startdate*/
4300
+ ), n && fe(n.update) && o[0] & /*startdate*/
4301
4301
  4 && n.update.call(
4302
4302
  null,
4303
4303
  /*startdate*/
@@ -4316,7 +4316,7 @@ function wt(e) {
4316
4316
  ), i, s, a, o, l, u = (
4317
4317
  /*$_*/
4318
4318
  e[16]("minbet") + ""
4319
- ), h, f, c, E, d, b, g, p = (
4319
+ ), h, c, f, v, d, b, g, p = (
4320
4320
  /*$_*/
4321
4321
  e[16]("seegames") + ""
4322
4322
  ), T, N, H, C = (
@@ -4331,10 +4331,10 @@ function wt(e) {
4331
4331
  /*showScoreCriteria*/
4332
4332
  e[14]
4333
4333
  ), l = M(`
4334
- (`), h = M(u), f = J(), c = M(
4334
+ (`), h = M(u), c = J(), f = M(
4335
4335
  /*minbetcount*/
4336
4336
  e[6]
4337
- ), E = M(")"), d = J(), b = O("div"), g = O("p"), T = M(p), N = J(), H = O("a"), F = M(C), y(a, "part", "ScoreCriteriaSpan"), y(r, "part", "ScoreCriteriaP"), y(t, "class", "ScoreCriteria"), y(t, "part", "ScoreCriteria"), y(H, "part", "GamesAnchor"), y(
4337
+ ), v = M(")"), d = J(), b = O("div"), g = O("p"), T = M(p), N = J(), H = O("a"), F = M(C), y(a, "part", "ScoreCriteriaSpan"), y(r, "part", "ScoreCriteriaP"), y(t, "class", "ScoreCriteria"), y(t, "part", "ScoreCriteria"), y(H, "part", "GamesAnchor"), y(
4338
4338
  H,
4339
4339
  "href",
4340
4340
  /*gameurl*/
@@ -4343,7 +4343,7 @@ function wt(e) {
4343
4343
  e[9] === "true" ? "_self" : "_blank"), y(g, "part", "GamesP"), y(b, "class", "Games"), y(b, "part", "Games");
4344
4344
  },
4345
4345
  m(B, R) {
4346
- G(B, t, R), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, f), S(r, c), S(r, E), G(B, d, R), G(B, b, R), S(b, g), S(g, T), S(g, N), S(g, H), S(H, F), j || (V = [
4346
+ G(B, t, R), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, c), S(r, f), S(r, v), G(B, d, R), G(B, b, R), S(b, g), S(g, T), S(g, N), S(g, H), S(H, F), j || (V = [
4347
4347
  me(
4348
4348
  /*matchScoreCriteria*/
4349
4349
  e[19].call(null, a)
@@ -4368,7 +4368,7 @@ function wt(e) {
4368
4368
  65536 && u !== (u = /*$_*/
4369
4369
  B[16]("minbet") + "") && $(h, u), R[0] & /*minbetcount*/
4370
4370
  64 && $(
4371
- c,
4371
+ f,
4372
4372
  /*minbetcount*/
4373
4373
  B[6]
4374
4374
  ), R[0] & /*$_*/
@@ -4394,17 +4394,17 @@ function Ri(e) {
4394
4394
  let t, r, n, i, s, a, o, l, u, h = (
4395
4395
  /*status*/
4396
4396
  e[0] && At(e)
4397
- ), f = (
4397
+ ), c = (
4398
4398
  /*showenrolled*/
4399
4399
  e[7] == "true" && Ht(e)
4400
4400
  );
4401
- function c(p, T) {
4401
+ function f(p, T) {
4402
4402
  return (
4403
4403
  /*thumbnail*/
4404
4404
  p[4] ? Mi : Ii
4405
4405
  );
4406
4406
  }
4407
- let E = c(e), d = E(e), b = (
4407
+ let v = f(e), d = v(e), b = (
4408
4408
  /*startdate*/
4409
4409
  e[2] && Bt(e)
4410
4410
  ), g = (
@@ -4413,18 +4413,18 @@ function Ri(e) {
4413
4413
  );
4414
4414
  return {
4415
4415
  c() {
4416
- t = O("div"), h && h.c(), r = J(), f && f.c(), n = J(), d.c(), i = J(), s = O("div"), a = O("div"), o = M(
4416
+ t = O("div"), h && h.c(), r = J(), c && c.c(), n = J(), d.c(), i = J(), s = O("div"), a = O("div"), o = M(
4417
4417
  /*title*/
4418
4418
  e[1]
4419
4419
  ), l = J(), b && b.c(), u = J(), g && g.c(), y(a, "class", "Title"), y(a, "part", "Title"), y(s, "class", "Details"), y(s, "part", "Details"), y(t, "class", "Thumbnail"), y(t, "part", "Thumbnail");
4420
4420
  },
4421
4421
  m(p, T) {
4422
- G(p, t, T), h && h.m(t, null), S(t, r), f && f.m(t, null), S(t, n), d.m(t, null), S(t, i), S(t, s), S(s, a), S(a, o), S(s, l), b && b.m(s, null), S(s, u), g && g.m(s, null), e[29](t);
4422
+ G(p, t, T), h && h.m(t, null), S(t, r), c && c.m(t, null), S(t, n), d.m(t, null), S(t, i), S(t, s), S(s, a), S(a, o), S(s, l), b && b.m(s, null), S(s, u), g && g.m(s, null), e[29](t);
4423
4423
  },
4424
4424
  p(p, T) {
4425
4425
  /*status*/
4426
4426
  p[0] ? h ? h.p(p, T) : (h = At(p), h.c(), h.m(t, r)) : h && (h.d(1), h = null), /*showenrolled*/
4427
- p[7] == "true" ? f ? f.p(p, T) : (f = Ht(p), f.c(), f.m(t, n)) : f && (f.d(1), f = null), E === (E = c(p)) && d ? d.p(p, T) : (d.d(1), d = E(p), d && (d.c(), d.m(t, i))), T[0] & /*title*/
4427
+ p[7] == "true" ? c ? c.p(p, T) : (c = Ht(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), v === (v = f(p)) && d ? d.p(p, T) : (d.d(1), d = v(p), d && (d.c(), d.m(t, i))), T[0] & /*title*/
4428
4428
  2 && $(
4429
4429
  o,
4430
4430
  /*title*/
@@ -4436,14 +4436,14 @@ function Ri(e) {
4436
4436
  i: U,
4437
4437
  o: U,
4438
4438
  d(p) {
4439
- p && L(t), h && h.d(), f && f.d(), d.d(), b && b.d(), g && g.d(), e[29](null);
4439
+ p && L(t), h && h.d(), c && c.d(), d.d(), b && b.d(), g && g.d(), e[29](null);
4440
4440
  }
4441
4441
  };
4442
4442
  }
4443
4443
  function Li(e, t, r) {
4444
4444
  let n;
4445
4445
  _r(e, Ni, (m) => r(16, n = m));
4446
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: E = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: T = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: H = "" } = t, C, F = "", D = !1, j = "", V = "", B = "";
4446
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: v = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: T = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: H = "" } = t, C, F = "", D = !1, j = "", V = "", B = "";
4447
4447
  const R = () => {
4448
4448
  fetch(H).then((P) => P.json()).then((P) => {
4449
4449
  Object.keys(P).forEach((z) => {
@@ -4460,17 +4460,17 @@ function Li(e, t, r) {
4460
4460
  m.data && (m.data && m.data.type == "SessionID" && r(12, D = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4461
4461
  }, Be = () => {
4462
4462
  const m = { month: "long" };
4463
- let P = new Date(o), z = new Intl.DateTimeFormat("en", m).format(P), hr = P.getDate(), fr = P.toLocaleString("en-GB", {
4463
+ let P = new Date(o), z = new Intl.DateTimeFormat("en", m).format(P), hr = P.getDate(), cr = P.toLocaleString("en-GB", {
4464
4464
  hour: "numeric",
4465
4465
  minute: "numeric",
4466
4466
  hour12: !1
4467
4467
  });
4468
- const cr = () => n(l === "Running" ? "startedAt" : "startingAt");
4469
- r(11, F = `${hr} ` + n(`${z}`) + ", " + cr() + ` ${fr}`);
4468
+ const fr = () => n(l === "Running" ? "startedAt" : "startingAt");
4469
+ r(11, F = `${hr} ` + n(`${z}`) + ", " + fr() + ` ${cr}`);
4470
4470
  }, we = () => {
4471
4471
  l == "Unstarted" && (r(13, j = n("scheduled")), r(15, B = "StatusUnstarted")), l == "Running" && (r(13, j = n("ongoing")), r(15, B = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, j = n("finished")), l == "Closed" && r(15, B = "StatusClosed"), l == "Closing" && r(15, B = "StatusClosing");
4472
4472
  }, Ne = () => {
4473
- c == "BetCount" && r(14, V = n("betCount")), c == "MaxWinStakeRatio" && r(14, V = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(14, V = n("winStakeRatio")), c == "Stake" && r(14, V = n("stake"));
4473
+ f == "BetCount" && r(14, V = n("betCount")), f == "MaxWinStakeRatio" && r(14, V = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, V = n("winStakeRatio")), f == "Stake" && r(14, V = n("stake"));
4474
4474
  }, rt = (m, P) => {
4475
4475
  window.postMessage({ type: "tournamentGamesClicked", tourId: P }, window.location.href);
4476
4476
  }, sr = () => {
@@ -4505,7 +4505,7 @@ function Li(e, t, r) {
4505
4505
  });
4506
4506
  }
4507
4507
  return e.$$set = (m) => {
4508
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, f = m.userenrolled), "scorecriteria" in m && r(23, c = m.scorecriteria), "minbetcount" in m && r(6, E = m.minbetcount), "showenrolled" in m && r(7, d = m.showenrolled), "gameurl" in m && r(8, b = m.gameurl), "lang" in m && r(24, g = m.lang), "keepbrowsercontext" in m && r(9, p = m.keepbrowsercontext), "clientstyling" in m && r(25, T = m.clientstyling), "clientstylingurl" in m && r(26, N = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4508
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, v = m.minbetcount), "showenrolled" in m && r(7, d = m.showenrolled), "gameurl" in m && r(8, b = m.gameurl), "lang" in m && r(24, g = m.lang), "keepbrowsercontext" in m && r(9, p = m.keepbrowsercontext), "clientstyling" in m && r(25, T = m.clientstyling), "clientstylingurl" in m && r(26, N = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4509
4509
  }, e.$$.update = () => {
4510
4510
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4511
4511
  33555456 && C && T && ar(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
@@ -4515,15 +4515,15 @@ function Li(e, t, r) {
4515
4515
  1 && l && we(), e.$$.dirty[0] & /*title, lang*/
4516
4516
  16777218 && a && g && nt(), e.$$.dirty[0] & /*startdate*/
4517
4517
  4 && o && Be(), e.$$.dirty[0] & /*scorecriteria*/
4518
- 8388608 && c && Ne();
4518
+ 8388608 && f && Ne();
4519
4519
  }, [
4520
4520
  l,
4521
4521
  a,
4522
4522
  o,
4523
4523
  u,
4524
4524
  h,
4525
- f,
4526
- E,
4525
+ c,
4526
+ v,
4527
4527
  d,
4528
4528
  b,
4529
4529
  p,
@@ -4540,7 +4540,7 @@ function Li(e, t, r) {
4540
4540
  rt,
4541
4541
  i,
4542
4542
  s,
4543
- c,
4543
+ f,
4544
4544
  g,
4545
4545
  T,
4546
4546
  N,
@@ -4692,7 +4692,7 @@ export {
4692
4692
  se as $,
4693
4693
  Sr as A,
4694
4694
  Fi as B,
4695
- ce as C,
4695
+ fe as C,
4696
4696
  Ni as D,
4697
4697
  Fe as E,
4698
4698
  Vi as F,
@@ -4711,7 +4711,7 @@ export {
4711
4711
  Kt as e,
4712
4712
  w as f,
4713
4713
  Ur as g,
4714
- Er as h,
4714
+ vr as h,
4715
4715
  kr as i,
4716
4716
  L as j,
4717
4717
  G as k,