@everymatrix/casino-tournaments-thumbnail 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.
@@ -1,15 +1,15 @@
1
1
  var lr = Object.defineProperty, hr = Object.defineProperties;
2
- var fr = Object.getOwnPropertyDescriptors;
2
+ var cr = Object.getOwnPropertyDescriptors;
3
3
  var tt = Object.getOwnPropertySymbols;
4
- var cr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
4
+ var fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
5
5
  var Ne = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- cr.call(t, r) && Ne(e, r, t[r]);
7
+ fr.call(t, r) && Ne(e, r, t[r]);
8
8
  if (tt)
9
9
  for (var r of tt(t))
10
10
  mr.call(t, r) && Ne(e, r, t[r]);
11
11
  return e;
12
- }, nt = (e, t) => hr(e, fr(t));
12
+ }, nt = (e, t) => hr(e, cr(t));
13
13
  var D = (e, t, r) => Ne(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var it = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
@@ -38,7 +38,7 @@ function st() {
38
38
  function ne(e) {
39
39
  e.forEach(Ct);
40
40
  }
41
- function ce(e) {
41
+ function fe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function Bt(e, t) {
@@ -60,7 +60,7 @@ function br(e, t, r) {
60
60
  e.$$.on_destroy.push(Nt(t, r));
61
61
  }
62
62
  function me(e) {
63
- return e && ce(e.destroy) ? e.destroy : k;
63
+ return e && fe(e.destroy) ? e.destroy : k;
64
64
  }
65
65
  function S(e, t) {
66
66
  e.appendChild(t);
@@ -112,7 +112,7 @@ function Er(e, t, r, n) {
112
112
  function _(e, t, r) {
113
113
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
114
114
  }
115
- function xr(e) {
115
+ function vr(e) {
116
116
  return Array.from(e.childNodes);
117
117
  }
118
118
  function $(e, t) {
@@ -122,7 +122,7 @@ function $(e, t) {
122
122
  function De(e, t, r, n) {
123
123
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
124
124
  }
125
- function vr(e) {
125
+ function xr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -196,7 +196,7 @@ function Pr(e, t) {
196
196
  function Ir(e, t, r) {
197
197
  const { fragment: n, after_update: i } = e.$$;
198
198
  n && n.m(t, r), Fe(() => {
199
- const s = e.$$.on_mount.map(Ct).filter(ce);
199
+ const s = e.$$.on_mount.map(Ct).filter(fe);
200
200
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
201
201
  }), i.forEach(Fe);
202
202
  }
@@ -233,13 +233,13 @@ function Mr(e, t, r, n, i, s, a = null, o = [-1]) {
233
233
  };
234
234
  a && a(u.root);
235
235
  let h = !1;
236
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
237
- const d = E.length ? E[0] : c;
238
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && wr(e, f)), c;
236
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...E) => {
237
+ const d = E.length ? E[0] : f;
238
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && wr(e, c)), f;
239
239
  }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
240
  if (t.hydrate) {
241
- const f = xr(t.target);
242
- u.fragment && u.fragment.l(f), f.forEach(U);
241
+ const c = vr(t.target);
242
+ u.fragment && u.fragment.l(c), c.forEach(U);
243
243
  } else
244
244
  u.fragment && u.fragment.c();
245
245
  t.intro && Pr(e.$$.fragment), Ir(e, t.target, t.anchor), N();
@@ -308,7 +308,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
308
308
  };
309
309
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
310
  return;
311
- const r = {}, n = vr(this);
311
+ const r = {}, n = xr(this);
312
312
  for (const s of this.$$s)
313
313
  s in n && (r[s] = [t(s)]);
314
314
  for (const s of this.attributes) {
@@ -458,7 +458,7 @@ class Lr {
458
458
  * @returns {() => void}
459
459
  */
460
460
  $on(t, r) {
461
- if (!ce(r))
461
+ if (!fe(r))
462
462
  return k;
463
463
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
464
464
  return n.push(r), () => {
@@ -479,10 +479,10 @@ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @
479
479
  const Q = [];
480
480
  function kr(e, t) {
481
481
  return {
482
- subscribe: xe(e, t).subscribe
482
+ subscribe: ve(e, t).subscribe
483
483
  };
484
484
  }
485
- function xe(e, t = k) {
485
+ function ve(e, t = k) {
486
486
  let r;
487
487
  const n = /* @__PURE__ */ new Set();
488
488
  function i(o) {
@@ -516,26 +516,26 @@ function ie(e, t, r) {
516
516
  return kr(r, (a, o) => {
517
517
  let l = !1;
518
518
  const u = [];
519
- let h = 0, f = k;
520
- const c = () => {
519
+ let h = 0, c = k;
520
+ const f = () => {
521
521
  if (h)
522
522
  return;
523
- f();
523
+ c();
524
524
  const d = t(n ? u[0] : u, a, o);
525
- s ? a(d) : f = ce(d) ? d : k;
525
+ s ? a(d) : c = fe(d) ? d : k;
526
526
  }, E = i.map(
527
527
  (d, b) => Nt(
528
528
  d,
529
529
  (g) => {
530
- u[b] = g, h &= ~(1 << b), l && c();
530
+ u[b] = g, h &= ~(1 << b), l && f();
531
531
  },
532
532
  () => {
533
533
  h |= 1 << b;
534
534
  }
535
535
  )
536
536
  );
537
- return l = !0, c(), function() {
538
- ne(E), f(), l = !1;
537
+ return l = !0, f(), function() {
538
+ ne(E), c(), l = !1;
539
539
  };
540
540
  });
541
541
  }
@@ -620,7 +620,7 @@ var Ge = function(e, t) {
620
620
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
621
621
  }, Ge(e, t);
622
622
  };
623
- function ve(e, t) {
623
+ function xe(e, t) {
624
624
  if (typeof t != "function" && t !== null)
625
625
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
626
626
  Ge(e, t);
@@ -629,14 +629,14 @@ function ve(e, t) {
629
629
  }
630
630
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
631
631
  }
632
- var v = function() {
633
- return v = Object.assign || function(t) {
632
+ var x = function() {
633
+ return x = Object.assign || function(t) {
634
634
  for (var r, n = 1, i = arguments.length; n < i; n++) {
635
635
  r = arguments[n];
636
636
  for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
637
637
  }
638
638
  return t;
639
- }, v.apply(this, arguments);
639
+ }, x.apply(this, arguments);
640
640
  };
641
641
  function tn(e, t) {
642
642
  var r = {};
@@ -732,7 +732,7 @@ function Dt(e) {
732
732
  function kt(e) {
733
733
  return e.type === A.plural;
734
734
  }
735
- function fn(e) {
735
+ function cn(e) {
736
736
  return e.type === A.pound;
737
737
  }
738
738
  function Ut(e) {
@@ -744,10 +744,10 @@ function Ft(e) {
744
744
  function $e(e) {
745
745
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
746
746
  }
747
- var Gt = /[ \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;
747
+ var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[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;
748
748
  function mn(e) {
749
749
  var t = {};
750
- return e.replace(cn, function(r) {
750
+ return e.replace(fn, function(r) {
751
751
  var n = r.length;
752
752
  switch (r[0]) {
753
753
  case "G":
@@ -840,15 +840,15 @@ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
840
840
  function bn(e) {
841
841
  if (e.length === 0)
842
842
  throw new Error("Number skeleton cannot be empty");
843
- for (var t = e.split(dn).filter(function(c) {
844
- return c.length > 0;
843
+ for (var t = e.split(dn).filter(function(f) {
844
+ return f.length > 0;
845
845
  }), r = [], n = 0, i = t; n < i.length; n++) {
846
846
  var s = i[n], a = s.split("/");
847
847
  if (a.length === 0)
848
848
  throw new Error("Invalid number skeleton");
849
849
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
850
- var f = h[u];
851
- if (f.length === 0)
850
+ var c = h[u];
851
+ if (c.length === 0)
852
852
  throw new Error("Invalid number skeleton");
853
853
  }
854
854
  r.push({ stem: o, options: l });
@@ -919,7 +919,7 @@ function yn(e) {
919
919
  }
920
920
  return t;
921
921
  }
922
- function ft(e) {
922
+ function ct(e) {
923
923
  var t = {}, r = Vt(e);
924
924
  return r || t;
925
925
  }
@@ -958,13 +958,13 @@ function _n(e) {
958
958
  t.notation = "compact", t.compactDisplay = "long";
959
959
  continue;
960
960
  case "scientific":
961
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
962
- return v(v({}, l), ft(u));
961
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
962
+ return x(x({}, l), ct(u));
963
963
  }, {}));
964
964
  continue;
965
965
  case "engineering":
966
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
967
- return v(v({}, l), ft(u));
966
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
967
+ return x(x({}, l), ct(u));
968
968
  }, {}));
969
969
  continue;
970
970
  case "notation-simple":
@@ -1009,11 +1009,11 @@ function _n(e) {
1009
1009
  case "integer-width":
1010
1010
  if (i.options.length > 1)
1011
1011
  throw new RangeError("integer-width stems only accept a single optional option");
1012
- i.options[0].replace(pn, function(l, u, h, f, c, E) {
1012
+ i.options[0].replace(pn, function(l, u, h, c, f, E) {
1013
1013
  if (u)
1014
1014
  t.minimumIntegerDigits = h.length;
1015
1015
  else {
1016
- if (f && c)
1016
+ if (c && f)
1017
1017
  throw new Error("We currently do not support maximum integer digits");
1018
1018
  if (E)
1019
1019
  throw new Error("We currently do not support exact integer digits");
@@ -1029,21 +1029,21 @@ function _n(e) {
1029
1029
  if (lt.test(i.stem)) {
1030
1030
  if (i.options.length > 1)
1031
1031
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1032
- i.stem.replace(lt, function(l, u, h, f, c, E) {
1033
- 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), "";
1032
+ i.stem.replace(lt, function(l, u, h, c, f, E) {
1033
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && E ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1034
1034
  });
1035
1035
  var s = i.options[0];
1036
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), ht(s)));
1036
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ht(s)));
1037
1037
  continue;
1038
1038
  }
1039
1039
  if ($t.test(i.stem)) {
1040
- t = v(v({}, t), ht(i.stem));
1040
+ t = x(x({}, t), ht(i.stem));
1041
1041
  continue;
1042
1042
  }
1043
1043
  var a = Vt(i.stem);
1044
- a && (t = v(v({}, t), a));
1044
+ a && (t = x(x({}, t), a));
1045
1045
  var o = yn(i.stem);
1046
- o && (t = v(v({}, t), o));
1046
+ o && (t = x(x({}, t), o));
1047
1047
  }
1048
1048
  return t;
1049
1049
  }
@@ -2468,7 +2468,7 @@ function En(e, t) {
2468
2468
  if (i === "j") {
2469
2469
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2470
2470
  s++, n++;
2471
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = xn(t);
2471
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = vn(t);
2472
2472
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2473
2473
  r += l;
2474
2474
  for (; a-- > 0; )
@@ -2477,7 +2477,7 @@ function En(e, t) {
2477
2477
  }
2478
2478
  return r;
2479
2479
  }
2480
- function xn(e) {
2480
+ function vn(e) {
2481
2481
  var t = e.hourCycle;
2482
2482
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2483
2483
  e.hourCycles && // @ts-ignore
@@ -2499,8 +2499,8 @@ function xn(e) {
2499
2499
  var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2500
2500
  return i[0];
2501
2501
  }
2502
- var Me, vn = new RegExp("^".concat(Gt.source, "*")), Sn = new RegExp("".concat(Gt.source, "*$"));
2503
- function x(e, t) {
2502
+ var Me, xn = new RegExp("^".concat(Gt.source, "*")), Sn = new RegExp("".concat(Gt.source, "*$"));
2503
+ function v(e, t) {
2504
2504
  return { start: e, end: t };
2505
2505
  }
2506
2506
  var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Hn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, Pn = !!Number.isSafeInteger, In = Pn ? Number.isSafeInteger : function(e) {
@@ -2512,7 +2512,7 @@ try {
2512
2512
  } catch (e) {
2513
2513
  je = !1;
2514
2514
  }
2515
- var ct = Tn ? (
2515
+ var ft = Tn ? (
2516
2516
  // Native
2517
2517
  function(t, r, n) {
2518
2518
  return t.startsWith(r, n);
@@ -2568,7 +2568,7 @@ var ct = Tn ? (
2568
2568
  ) : (
2569
2569
  // Ponyfill
2570
2570
  function(t) {
2571
- return t.replace(vn, "");
2571
+ return t.replace(xn, "");
2572
2572
  }
2573
2573
  ), Mn = Nn ? (
2574
2574
  // Native
@@ -2628,12 +2628,12 @@ var Rn = (
2628
2628
  var o = this.clonePosition();
2629
2629
  this.bump(), i.push({
2630
2630
  type: A.pound,
2631
- location: x(o, this.clonePosition())
2631
+ location: v(o, this.clonePosition())
2632
2632
  });
2633
2633
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2634
2634
  if (n)
2635
2635
  break;
2636
- return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2636
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2637
2637
  } else if (s === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
2638
2638
  var a = this.parseTag(t, r);
2639
2639
  if (a.err)
@@ -2657,7 +2657,7 @@ var Rn = (
2657
2657
  val: {
2658
2658
  type: A.literal,
2659
2659
  value: "<".concat(i, "/>"),
2660
- location: x(n, this.clonePosition())
2660
+ location: v(n, this.clonePosition())
2661
2661
  },
2662
2662
  err: null
2663
2663
  };
@@ -2668,21 +2668,21 @@ var Rn = (
2668
2668
  var a = s.val, o = this.clonePosition();
2669
2669
  if (this.bumpIf("</")) {
2670
2670
  if (this.isEOF() || !ze(this.char()))
2671
- return this.error(y.INVALID_TAG, x(o, this.clonePosition()));
2671
+ return this.error(y.INVALID_TAG, v(o, this.clonePosition()));
2672
2672
  var l = this.clonePosition(), u = this.parseTagName();
2673
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2673
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2674
2674
  val: {
2675
2675
  type: A.tag,
2676
2676
  value: i,
2677
2677
  children: a,
2678
- location: x(n, this.clonePosition())
2678
+ location: v(n, this.clonePosition())
2679
2679
  },
2680
2680
  err: null
2681
- } : this.error(y.INVALID_TAG, x(o, this.clonePosition())));
2681
+ } : this.error(y.INVALID_TAG, v(o, this.clonePosition())));
2682
2682
  } else
2683
- return this.error(y.UNCLOSED_TAG, x(n, this.clonePosition()));
2683
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2684
2684
  } else
2685
- return this.error(y.INVALID_TAG, x(n, this.clonePosition()));
2685
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2686
2686
  }, e.prototype.parseTagName = function() {
2687
2687
  var t = this.offset();
2688
2688
  for (this.bump(); !this.isEOF() && Dn(this.char()); )
@@ -2707,7 +2707,7 @@ var Rn = (
2707
2707
  }
2708
2708
  break;
2709
2709
  }
2710
- var l = x(n, this.clonePosition());
2710
+ var l = v(n, this.clonePosition());
2711
2711
  return {
2712
2712
  val: { type: A.literal, value: i, location: l },
2713
2713
  err: null
@@ -2757,14 +2757,14 @@ var Rn = (
2757
2757
  }, e.prototype.parseArgument = function(t, r) {
2758
2758
  var n = this.clonePosition();
2759
2759
  if (this.bump(), this.bumpSpace(), this.isEOF())
2760
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2760
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2761
2761
  if (this.char() === 125)
2762
- return this.bump(), this.error(y.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2762
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2763
2763
  var i = this.parseIdentifierIfPossible().value;
2764
2764
  if (!i)
2765
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2765
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2766
2766
  if (this.bumpSpace(), this.isEOF())
2767
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2767
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2768
2768
  switch (this.char()) {
2769
2769
  case 125:
2770
2770
  return this.bump(), {
@@ -2772,25 +2772,25 @@ var Rn = (
2772
2772
  type: A.argument,
2773
2773
  // value does not include the opening and closing braces.
2774
2774
  value: i,
2775
- location: x(n, this.clonePosition())
2775
+ location: v(n, this.clonePosition())
2776
2776
  },
2777
2777
  err: null
2778
2778
  };
2779
2779
  case 44:
2780
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2780
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2781
2781
  default:
2782
- return this.error(y.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2782
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2783
2783
  }
2784
2784
  }, e.prototype.parseIdentifierIfPossible = function() {
2785
2785
  var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2786
2786
  this.bumpTo(i);
2787
- var s = this.clonePosition(), a = x(t, s);
2787
+ var s = this.clonePosition(), a = v(t, s);
2788
2788
  return { value: n, location: a };
2789
2789
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2790
2790
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2791
2791
  switch (o) {
2792
2792
  case "":
2793
- return this.error(y.EXPECT_ARGUMENT_TYPE, x(a, l));
2793
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
2794
2794
  case "number":
2795
2795
  case "date":
2796
2796
  case "time": {
@@ -2798,25 +2798,25 @@ var Rn = (
2798
2798
  var u = null;
2799
2799
  if (this.bumpIf(",")) {
2800
2800
  this.bumpSpace();
2801
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2802
- if (f.err)
2803
- return f;
2804
- var c = Mn(f.val);
2805
- if (c.length === 0)
2806
- return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2807
- var E = x(h, this.clonePosition());
2808
- u = { style: c, styleLocation: E };
2801
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2802
+ if (c.err)
2803
+ return c;
2804
+ var f = Mn(c.val);
2805
+ if (f.length === 0)
2806
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2807
+ var E = v(h, this.clonePosition());
2808
+ u = { style: f, styleLocation: E };
2809
2809
  }
2810
2810
  var d = this.tryParseArgumentClose(i);
2811
2811
  if (d.err)
2812
2812
  return d;
2813
- var b = x(i, this.clonePosition());
2814
- if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
2813
+ var b = v(i, this.clonePosition());
2814
+ if (u && ft(u == null ? void 0 : u.style, "::", 0)) {
2815
2815
  var g = wn(u.style.slice(2));
2816
2816
  if (o === "number") {
2817
- var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2818
- return f.err ? f : {
2819
- val: { type: A.number, value: n, location: b, style: f.val },
2817
+ var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
2818
+ return c.err ? c : {
2819
+ val: { type: A.number, value: n, location: b, style: c.val },
2820
2820
  err: null
2821
2821
  };
2822
2822
  } else {
@@ -2824,14 +2824,14 @@ var Rn = (
2824
2824
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2825
2825
  var p = g;
2826
2826
  this.locale && (p = En(g, this.locale));
2827
- var c = {
2827
+ var f = {
2828
2828
  type: ee.dateTime,
2829
2829
  pattern: p,
2830
2830
  location: u.styleLocation,
2831
2831
  parsedOptions: this.shouldParseSkeletons ? mn(p) : {}
2832
2832
  }, T = o === "date" ? A.date : A.time;
2833
2833
  return {
2834
- val: { type: T, value: n, location: b, style: c },
2834
+ val: { type: T, value: n, location: b, style: f },
2835
2835
  err: null
2836
2836
  };
2837
2837
  }
@@ -2851,17 +2851,17 @@ var Rn = (
2851
2851
  case "select": {
2852
2852
  var P = this.clonePosition();
2853
2853
  if (this.bumpSpace(), !this.bumpIf(","))
2854
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(P, v({}, P)));
2854
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, x({}, P)));
2855
2855
  this.bumpSpace();
2856
2856
  var H = this.parseIdentifierIfPossible(), C = 0;
2857
2857
  if (o !== "select" && H.value === "offset") {
2858
2858
  if (!this.bumpIf(":"))
2859
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2859
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2860
2860
  this.bumpSpace();
2861
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2862
- if (f.err)
2863
- return f;
2864
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), C = f.val;
2861
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2862
+ if (c.err)
2863
+ return c;
2864
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), C = c.val;
2865
2865
  }
2866
2866
  var F = this.tryParsePluralOrSelectOptions(t, o, r, H);
2867
2867
  if (F.err)
@@ -2869,7 +2869,7 @@ var Rn = (
2869
2869
  var d = this.tryParseArgumentClose(i);
2870
2870
  if (d.err)
2871
2871
  return d;
2872
- var L = x(i, this.clonePosition());
2872
+ var L = v(i, this.clonePosition());
2873
2873
  return o === "select" ? {
2874
2874
  val: {
2875
2875
  type: A.select,
@@ -2891,10 +2891,10 @@ var Rn = (
2891
2891
  };
2892
2892
  }
2893
2893
  default:
2894
- return this.error(y.INVALID_ARGUMENT_TYPE, x(a, l));
2894
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
2895
2895
  }
2896
2896
  }, e.prototype.tryParseArgumentClose = function(t) {
2897
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2897
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2898
2898
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2899
2899
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2900
2900
  var n = this.char();
@@ -2903,7 +2903,7 @@ var Rn = (
2903
2903
  this.bump();
2904
2904
  var i = this.clonePosition();
2905
2905
  if (!this.bumpUntil("'"))
2906
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2906
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2907
2907
  this.bump();
2908
2908
  break;
2909
2909
  }
@@ -2949,12 +2949,12 @@ var Rn = (
2949
2949
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2950
2950
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2951
2951
  if (u.length === 0) {
2952
- var f = this.clonePosition();
2952
+ var c = this.clonePosition();
2953
2953
  if (r !== "select" && this.bumpIf("=")) {
2954
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2955
- if (c.err)
2956
- return c;
2957
- h = x(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2954
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2955
+ if (f.err)
2956
+ return f;
2957
+ h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2958
2958
  } else
2959
2959
  break;
2960
2960
  }
@@ -2963,7 +2963,7 @@ var Rn = (
2963
2963
  u === "other" && (a = !0), this.bumpSpace();
2964
2964
  var E = this.clonePosition();
2965
2965
  if (!this.bumpIf("{"))
2966
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
2966
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
2967
2967
  var d = this.parseMessage(t + 1, r, n);
2968
2968
  if (d.err)
2969
2969
  return d;
@@ -2974,11 +2974,11 @@ var Rn = (
2974
2974
  u,
2975
2975
  {
2976
2976
  value: d.val,
2977
- location: x(E, this.clonePosition())
2977
+ location: v(E, this.clonePosition())
2978
2978
  }
2979
2979
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2980
2980
  }
2981
- return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2981
+ return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2982
2982
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2983
2983
  var n = 1, i = this.clonePosition();
2984
2984
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2989,7 +2989,7 @@ var Rn = (
2989
2989
  else
2990
2990
  break;
2991
2991
  }
2992
- var l = x(i, this.clonePosition());
2992
+ var l = v(i, this.clonePosition());
2993
2993
  return s ? (a *= n, In(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2994
2994
  }, e.prototype.offset = function() {
2995
2995
  return this.position.offset;
@@ -3024,7 +3024,7 @@ var Rn = (
3024
3024
  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);
3025
3025
  }
3026
3026
  }, e.prototype.bumpIf = function(t) {
3027
- if (ct(this.message, t, this.offset())) {
3027
+ if (ft(this.message, t, this.offset())) {
3028
3028
  for (var r = 0; r < t.length; r++)
3029
3029
  this.bump();
3030
3030
  return !0;
@@ -3080,7 +3080,7 @@ function We(e) {
3080
3080
  });
3081
3081
  }
3082
3082
  function Un(e, t) {
3083
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3084
3084
  var r = new Rn(e, t).parse();
3085
3085
  if (r.err) {
3086
3086
  var n = SyntaxError(y[r.err.kind]);
@@ -3095,7 +3095,7 @@ var te;
3095
3095
  var Se = (
3096
3096
  /** @class */
3097
3097
  function(e) {
3098
- ve(t, e);
3098
+ xe(t, e);
3099
3099
  function t(r, n, i) {
3100
3100
  var s = e.call(this, r) || this;
3101
3101
  return s.code = n, s.originalMessage = i, s;
@@ -3107,7 +3107,7 @@ var Se = (
3107
3107
  ), bt = (
3108
3108
  /** @class */
3109
3109
  function(e) {
3110
- ve(t, e);
3110
+ xe(t, e);
3111
3111
  function t(r, n, i, s) {
3112
3112
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3113
3113
  }
@@ -3116,7 +3116,7 @@ var Se = (
3116
3116
  ), Fn = (
3117
3117
  /** @class */
3118
3118
  function(e) {
3119
- ve(t, e);
3119
+ xe(t, e);
3120
3120
  function t(r, n, i) {
3121
3121
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3122
3122
  }
@@ -3125,7 +3125,7 @@ var Se = (
3125
3125
  ), Gn = (
3126
3126
  /** @class */
3127
3127
  function(e) {
3128
- ve(t, e);
3128
+ xe(t, e);
3129
3129
  function t(r, n) {
3130
3130
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3131
3131
  }
@@ -3161,21 +3161,21 @@ function pe(e, t, r, n, i, s, a) {
3161
3161
  });
3162
3162
  continue;
3163
3163
  }
3164
- if (fn(h)) {
3164
+ if (cn(h)) {
3165
3165
  typeof s == "number" && o.push({
3166
3166
  type: w.literal,
3167
3167
  value: r.getNumberFormat(t).format(s)
3168
3168
  });
3169
3169
  continue;
3170
3170
  }
3171
- var f = h.value;
3172
- if (!(i && f in i))
3173
- throw new Gn(f, a);
3174
- var c = i[f];
3171
+ var c = h.value;
3172
+ if (!(i && c in i))
3173
+ throw new Gn(c, a);
3174
+ var f = i[c];
3175
3175
  if (hn(h)) {
3176
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3177
- type: typeof c == "string" ? w.literal : w.object,
3178
- value: c
3176
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3177
+ type: typeof f == "string" ? w.literal : w.object,
3178
+ value: f
3179
3179
  });
3180
3180
  continue;
3181
3181
  }
@@ -3183,7 +3183,7 @@ function pe(e, t, r, n, i, s, a) {
3183
3183
  var E = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3184
3184
  o.push({
3185
3185
  type: w.literal,
3186
- value: r.getDateTimeFormat(t, E).format(c)
3186
+ value: r.getDateTimeFormat(t, E).format(f)
3187
3187
  });
3188
3188
  continue;
3189
3189
  }
@@ -3191,15 +3191,15 @@ function pe(e, t, r, n, i, s, a) {
3191
3191
  var E = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3192
3192
  o.push({
3193
3193
  type: w.literal,
3194
- value: r.getDateTimeFormat(t, E).format(c)
3194
+ value: r.getDateTimeFormat(t, E).format(f)
3195
3195
  });
3196
3196
  continue;
3197
3197
  }
3198
3198
  if (Mt(h)) {
3199
3199
  var E = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3200
- E && E.scale && (c = c * (E.scale || 1)), o.push({
3200
+ E && E.scale && (f = f * (E.scale || 1)), o.push({
3201
3201
  type: w.literal,
3202
- value: r.getNumberFormat(t, E).format(c)
3202
+ value: r.getNumberFormat(t, E).format(f)
3203
3203
  });
3204
3204
  continue;
3205
3205
  }
@@ -3218,39 +3218,39 @@ function pe(e, t, r, n, i, s, a) {
3218
3218
  }));
3219
3219
  }
3220
3220
  if (Dt(h)) {
3221
- var P = h.options[c] || h.options.other;
3221
+ var P = h.options[f] || h.options.other;
3222
3222
  if (!P)
3223
- throw new bt(h.value, c, Object.keys(h.options), a);
3223
+ throw new bt(h.value, f, Object.keys(h.options), a);
3224
3224
  o.push.apply(o, pe(P.value, t, r, n, i));
3225
3225
  continue;
3226
3226
  }
3227
3227
  if (kt(h)) {
3228
- var P = h.options["=".concat(c)];
3228
+ var P = h.options["=".concat(f)];
3229
3229
  if (!P) {
3230
3230
  if (!Intl.PluralRules)
3231
3231
  throw new Se(`Intl.PluralRules is not available in this environment.
3232
3232
  Try polyfilling it using "@formatjs/intl-pluralrules"
3233
3233
  `, te.MISSING_INTL_API, a);
3234
- var H = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3234
+ var H = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3235
3235
  P = h.options[H] || h.options.other;
3236
3236
  }
3237
3237
  if (!P)
3238
- throw new bt(h.value, c, Object.keys(h.options), a);
3239
- o.push.apply(o, pe(P.value, t, r, n, i, c - (h.offset || 0)));
3238
+ throw new bt(h.value, f, Object.keys(h.options), a);
3239
+ o.push.apply(o, pe(P.value, t, r, n, i, f - (h.offset || 0)));
3240
3240
  continue;
3241
3241
  }
3242
3242
  }
3243
3243
  return $n(o);
3244
3244
  }
3245
3245
  function Vn(e, t) {
3246
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3247
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3246
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3247
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3248
3248
  }, {})) : e;
3249
3249
  }
3250
3250
  function Jn(e, t) {
3251
3251
  return t ? Object.keys(e).reduce(function(r, n) {
3252
3252
  return r[n] = Vn(e[n], t[n]), r;
3253
- }, v({}, e)) : e;
3253
+ }, x({}, e)) : e;
3254
3254
  }
3255
3255
  function Re(e) {
3256
3256
  return {
@@ -3312,8 +3312,8 @@ var Wn = (
3312
3312
  var u = s.formatToParts(l);
3313
3313
  if (u.length === 1)
3314
3314
  return u[0].value;
3315
- var h = u.reduce(function(f, c) {
3316
- return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3315
+ var h = u.reduce(function(c, f) {
3316
+ return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3317
3317
  }, []);
3318
3318
  return h.length <= 1 ? h[0] || "" : h;
3319
3319
  }, this.formatToParts = function(l) {
@@ -3331,7 +3331,7 @@ var Wn = (
3331
3331
  var a = i || {};
3332
3332
  a.formatters;
3333
3333
  var o = tn(a, ["formatters"]);
3334
- this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
3334
+ this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
3335
3335
  } else
3336
3336
  this.ast = t;
3337
3337
  if (!Array.isArray(this.ast))
@@ -3444,7 +3444,7 @@ const W = {}, Zn = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][
3444
3444
  }
3445
3445
  };
3446
3446
  let Qe;
3447
- const de = xe({});
3447
+ const de = ve({});
3448
3448
  function Qn(e) {
3449
3449
  return Qe[e] || null;
3450
3450
  }
@@ -3556,7 +3556,7 @@ const ri = {
3556
3556
  function re() {
3557
3557
  return ii;
3558
3558
  }
3559
- const Le = xe(!1);
3559
+ const Le = ve(!1);
3560
3560
  var si = Object.defineProperty, ai = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3561
3561
  for (var r in t || (t = {}))
3562
3562
  ui.call(t, r) && pt(e, r, t[r]);
@@ -3564,9 +3564,9 @@ var si = Object.defineProperty, ai = Object.defineProperties, oi = Object.getOwn
3564
3564
  for (var r of gt(t))
3565
3565
  li.call(t, r) && pt(e, r, t[r]);
3566
3566
  return e;
3567
- }, fi = (e, t) => ai(e, oi(t));
3567
+ }, ci = (e, t) => ai(e, oi(t));
3568
3568
  let Ze;
3569
- const _e = xe(null);
3569
+ const _e = ve(null);
3570
3570
  function yt(e) {
3571
3571
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3572
3572
  }
@@ -3580,7 +3580,7 @@ function X() {
3580
3580
  _e.subscribe((e) => {
3581
3581
  Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3582
3582
  });
3583
- const ci = (e) => {
3583
+ const fi = (e) => {
3584
3584
  if (e && Yn(e) && Xe(e)) {
3585
3585
  const { loadingDelay: t } = re();
3586
3586
  let r;
@@ -3594,8 +3594,8 @@ const ci = (e) => {
3594
3594
  });
3595
3595
  }
3596
3596
  return _e.set(e);
3597
- }, se = fi(hi({}, _e), {
3598
- set: ci
3597
+ }, se = ci(hi({}, _e), {
3598
+ set: fi
3599
3599
  }), Ae = (e) => {
3600
3600
  const t = /* @__PURE__ */ Object.create(null);
3601
3601
  return (n) => {
@@ -3619,7 +3619,7 @@ var mi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Kt = Object.p
3619
3619
  t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3620
3620
  return r;
3621
3621
  };
3622
- const fe = (e, t) => {
3622
+ const ce = (e, t) => {
3623
3623
  const { formats: r } = re();
3624
3624
  if (e in r && t in r[e])
3625
3625
  return r[e][t];
@@ -3629,14 +3629,14 @@ const fe = (e, t) => {
3629
3629
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3630
3630
  if (r == null)
3631
3631
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3632
- return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3632
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3633
3633
  }
3634
3634
  ), bi = Ae(
3635
3635
  (e) => {
3636
3636
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3637
3637
  if (r == null)
3638
3638
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3639
- return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3639
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3640
3640
  }
3641
3641
  ), gi = Ae(
3642
3642
  (e) => {
@@ -3645,7 +3645,7 @@ const fe = (e, t) => {
3645
3645
  throw new Error(
3646
3646
  '[svelte-i18n] A "locale" must be set to format time values'
3647
3647
  );
3648
- return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3648
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3649
3649
  }
3650
3650
  ), pi = (e = {}) => {
3651
3651
  var t = e, {
@@ -3673,7 +3673,7 @@ const fe = (e, t) => {
3673
3673
  (e, t = X()) => new Wn(e, t, re().formats, {
3674
3674
  ignoreTag: re().ignoreTag
3675
3675
  })
3676
- ), xi = (e, t = {}) => {
3676
+ ), vi = (e, t = {}) => {
3677
3677
  var r, n, i, s;
3678
3678
  let a = t;
3679
3679
  typeof e == "object" && (a = e, e = a.id);
@@ -3695,18 +3695,18 @@ const fe = (e, t) => {
3695
3695
  ), h;
3696
3696
  if (!o)
3697
3697
  return h;
3698
- let f = h;
3698
+ let c = h;
3699
3699
  try {
3700
- f = Ei(h, l).format(o);
3701
- } catch (c) {
3702
- c instanceof Error && console.warn(
3700
+ c = Ei(h, l).format(o);
3701
+ } catch (f) {
3702
+ f instanceof Error && console.warn(
3703
3703
  `[svelte-i18n] Message "${e}" has syntax error:`,
3704
- c.message
3704
+ f.message
3705
3705
  );
3706
3706
  }
3707
- return f;
3708
- }, vi = (e, t) => _i(t).format(e), Si = (e, t) => yi(t).format(e), Ti = (e, t) => pi(t).format(e), Ai = (e, t = X()) => Xt(e, t), Hi = ie([se, de], () => xi);
3709
- ie([se], () => vi);
3707
+ return c;
3708
+ }, xi = (e, t) => _i(t).format(e), Si = (e, t) => yi(t).format(e), Ti = (e, t) => pi(t).format(e), Ai = (e, t = X()) => Xt(e, t), Hi = ie([se, de], () => vi);
3709
+ ie([se], () => xi);
3710
3710
  ie([se], () => Si);
3711
3711
  ie([se], () => Ti);
3712
3712
  ie([se, de], () => Ai);
@@ -3716,7 +3716,7 @@ function Et(e, t) {
3716
3716
  function Ci(e) {
3717
3717
  se.set(e);
3718
3718
  }
3719
- const xt = {
3719
+ const vt = {
3720
3720
  en: {
3721
3721
  enrolled: "Enrolled",
3722
3722
  scoreCriteria: "Score Criteria",
@@ -4051,7 +4051,7 @@ const xt = {
4051
4051
  function Bi(e) {
4052
4052
  gr(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}');
4053
4053
  }
4054
- function vt(e) {
4054
+ function xt(e) {
4055
4055
  let t, r, n, i, s, a;
4056
4056
  return {
4057
4057
  c() {
@@ -4215,7 +4215,7 @@ function At(e) {
4215
4215
  r,
4216
4216
  /*shownDate*/
4217
4217
  a[11]
4218
- ), n && ce(n.update) && o[0] & /*startdate*/
4218
+ ), n && fe(n.update) && o[0] & /*startdate*/
4219
4219
  4 && n.update.call(
4220
4220
  null,
4221
4221
  /*startdate*/
@@ -4234,7 +4234,7 @@ function Ht(e) {
4234
4234
  ), i, s, a, o, l, u = (
4235
4235
  /*$_*/
4236
4236
  e[16]("minbet") + ""
4237
- ), h, f, c, E, d, b, g, p = (
4237
+ ), h, c, f, E, d, b, g, p = (
4238
4238
  /*$_*/
4239
4239
  e[16]("seegames") + ""
4240
4240
  ), T, P, H, C = (
@@ -4249,7 +4249,7 @@ function Ht(e) {
4249
4249
  /*showScoreCriteria*/
4250
4250
  e[14]
4251
4251
  ), l = M(`
4252
- (`), h = M(u), f = z(), c = M(
4252
+ (`), h = M(u), c = z(), f = M(
4253
4253
  /*minbetcount*/
4254
4254
  e[6]
4255
4255
  ), E = M(")"), d = z(), b = I("div"), g = I("p"), T = M(p), P = z(), H = I("a"), F = M(C), _(a, "part", "ScoreCriteriaSpan"), _(r, "part", "ScoreCriteriaP"), _(t, "class", "ScoreCriteria"), _(t, "part", "ScoreCriteria"), _(H, "part", "GamesAnchor"), _(
@@ -4261,7 +4261,7 @@ function Ht(e) {
4261
4261
  e[9] === "true" ? "_self" : "_blank"), _(g, "part", "GamesP"), _(b, "class", "Games"), _(b, "part", "Games");
4262
4262
  },
4263
4263
  m(B, R) {
4264
- 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, P), S(g, H), S(H, F), j || (V = [
4264
+ 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, E), G(B, d, R), G(B, b, R), S(b, g), S(g, T), S(g, P), S(g, H), S(H, F), j || (V = [
4265
4265
  me(
4266
4266
  /*matchScoreCriteria*/
4267
4267
  e[19].call(null, a)
@@ -4286,7 +4286,7 @@ function Ht(e) {
4286
4286
  65536 && u !== (u = /*$_*/
4287
4287
  B[16]("minbet") + "") && $(h, u), R[0] & /*minbetcount*/
4288
4288
  64 && $(
4289
- c,
4289
+ f,
4290
4290
  /*minbetcount*/
4291
4291
  B[6]
4292
4292
  ), R[0] & /*$_*/
@@ -4311,18 +4311,18 @@ function Ht(e) {
4311
4311
  function Ii(e) {
4312
4312
  let t, r, n, i, s, a, o, l, u, h = (
4313
4313
  /*status*/
4314
- e[0] && vt(e)
4315
- ), f = (
4314
+ e[0] && xt(e)
4315
+ ), c = (
4316
4316
  /*showenrolled*/
4317
4317
  e[7] == "true" && St(e)
4318
4318
  );
4319
- function c(p, T) {
4319
+ function f(p, T) {
4320
4320
  return (
4321
4321
  /*thumbnail*/
4322
4322
  p[4] ? Pi : Ni
4323
4323
  );
4324
4324
  }
4325
- let E = c(e), d = E(e), b = (
4325
+ let E = f(e), d = E(e), b = (
4326
4326
  /*startdate*/
4327
4327
  e[2] && At(e)
4328
4328
  ), g = (
@@ -4331,18 +4331,18 @@ function Ii(e) {
4331
4331
  );
4332
4332
  return {
4333
4333
  c() {
4334
- t = I("div"), h && h.c(), r = z(), f && f.c(), n = z(), d.c(), i = z(), s = I("div"), a = I("div"), o = M(
4334
+ t = I("div"), h && h.c(), r = z(), c && c.c(), n = z(), d.c(), i = z(), s = I("div"), a = I("div"), o = M(
4335
4335
  /*title*/
4336
4336
  e[1]
4337
4337
  ), l = z(), b && b.c(), u = z(), g && g.c(), _(a, "class", "Title"), _(a, "part", "Title"), _(s, "class", "Details"), _(s, "part", "Details"), _(t, "class", "Thumbnail"), _(t, "part", "Thumbnail");
4338
4338
  },
4339
4339
  m(p, T) {
4340
- 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);
4340
+ 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);
4341
4341
  },
4342
4342
  p(p, T) {
4343
4343
  /*status*/
4344
- p[0] ? h ? h.p(p, T) : (h = vt(p), h.c(), h.m(t, r)) : h && (h.d(1), h = null), /*showenrolled*/
4345
- p[7] == "true" ? f ? f.p(p, T) : (f = St(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*/
4344
+ p[0] ? h ? h.p(p, T) : (h = xt(p), h.c(), h.m(t, r)) : h && (h.d(1), h = null), /*showenrolled*/
4345
+ p[7] == "true" ? c ? c.p(p, T) : (c = St(p), c.c(), c.m(t, n)) : c && (c.d(1), c = null), E === (E = f(p)) && d ? d.p(p, T) : (d.d(1), d = E(p), d && (d.c(), d.m(t, i))), T[0] & /*title*/
4346
4346
  2 && $(
4347
4347
  o,
4348
4348
  /*title*/
@@ -4354,14 +4354,14 @@ function Ii(e) {
4354
4354
  i: k,
4355
4355
  o: k,
4356
4356
  d(p) {
4357
- p && U(t), h && h.d(), f && f.d(), d.d(), b && b.d(), g && g.d(), e[29](null);
4357
+ p && U(t), h && h.d(), c && c.d(), d.d(), b && b.d(), g && g.d(), e[29](null);
4358
4358
  }
4359
4359
  };
4360
4360
  }
4361
4361
  function Oi(e, t, r) {
4362
4362
  let n;
4363
4363
  br(e, Hi, (m) => r(16, n = m));
4364
- 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: P = "" } = t, { translationurl: H = "" } = t, C, F = "", L = !1, j = "", V = "", B = "";
4364
+ 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: E = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: T = "" } = t, { clientstylingurl: P = "" } = t, { translationurl: H = "" } = t, C, F = "", L = !1, j = "", V = "", B = "";
4365
4365
  const R = () => {
4366
4366
  fetch(H).then((O) => O.json()).then((O) => {
4367
4367
  Object.keys(O).forEach((J) => {
@@ -4371,8 +4371,8 @@ function Oi(e, t, r) {
4371
4371
  console.log(O);
4372
4372
  });
4373
4373
  };
4374
- Object.keys(xt).forEach((m) => {
4375
- Et(m, xt[m]);
4374
+ Object.keys(vt).forEach((m) => {
4375
+ Et(m, vt[m]);
4376
4376
  });
4377
4377
  const Ye = (m) => {
4378
4378
  m.data && (m.data && m.data.type == "SessionID" && r(12, L = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
@@ -4388,7 +4388,7 @@ function Oi(e, t, r) {
4388
4388
  }, Ce = () => {
4389
4389
  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");
4390
4390
  }, Be = () => {
4391
- 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"));
4391
+ 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"));
4392
4392
  }, Ke = (m, O) => {
4393
4393
  window.postMessage({ type: "tournamentGamesClicked", tourId: O }, window.location.href);
4394
4394
  }, tr = () => {
@@ -4423,7 +4423,7 @@ function Oi(e, t, r) {
4423
4423
  });
4424
4424
  }
4425
4425
  return e.$$set = (m) => {
4426
- "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, P = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4426
+ "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, 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, P = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4427
4427
  }, e.$$.update = () => {
4428
4428
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4429
4429
  33555456 && C && T && rr(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
@@ -4433,14 +4433,14 @@ function Oi(e, t, r) {
4433
4433
  1 && l && Ce(), e.$$.dirty[0] & /*title, lang*/
4434
4434
  16777218 && a && g && et(), e.$$.dirty[0] & /*startdate*/
4435
4435
  4 && o && He(), e.$$.dirty[0] & /*scorecriteria*/
4436
- 8388608 && c && Be();
4436
+ 8388608 && f && Be();
4437
4437
  }, [
4438
4438
  l,
4439
4439
  a,
4440
4440
  o,
4441
4441
  u,
4442
4442
  h,
4443
- f,
4443
+ c,
4444
4444
  E,
4445
4445
  d,
4446
4446
  b,
@@ -4458,7 +4458,7 @@ function Oi(e, t, r) {
4458
4458
  Ke,
4459
4459
  i,
4460
4460
  s,
4461
- c,
4461
+ f,
4462
4462
  g,
4463
4463
  T,
4464
4464
  P,