@everymatrix/casino-tournaments-filter-controller 1.73.0 → 1.73.2

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.
@@ -12,19 +12,19 @@ var Ae = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writ
12
12
  }, ot = (e, t) => xr(e, Sr(t));
13
13
  var O = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var st = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
15
+ var o = (h) => {
16
16
  try {
17
- a(r.next(l));
17
+ a(r.next(h));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, s = (h) => {
22
22
  try {
23
- a(r.throw(l));
23
+ a(r.throw(h));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
27
+ }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function C() {
@@ -65,7 +65,7 @@ function B(e, t) {
65
65
  function Br(e, t, r) {
66
66
  const n = Or(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = G("style");
68
+ const i = R("style");
69
69
  i.id = t, i.textContent = r, Pr(n, i);
70
70
  }
71
71
  }
@@ -86,7 +86,7 @@ function Pr(e, t) {
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function $(e, t, r) {
89
+ function F(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
92
  function M(e) {
@@ -96,7 +96,7 @@ function Cr(e, t) {
96
96
  for (let r = 0; r < e.length; r += 1)
97
97
  e[r] && e[r].d(t);
98
98
  }
99
- function G(e) {
99
+ function R(e) {
100
100
  return document.createElement(e);
101
101
  }
102
102
  function ut(e) {
@@ -147,14 +147,14 @@ let Z = [];
147
147
  const lt = [], $r = /* @__PURE__ */ Promise.resolve();
148
148
  let $e = !1;
149
149
  function Fr() {
150
- $e || ($e = !0, $r.then(U));
150
+ $e || ($e = !0, $r.then(D));
151
151
  }
152
152
  function Fe(e) {
153
153
  Z.push(e);
154
154
  }
155
155
  const Be = /* @__PURE__ */ new Set();
156
156
  let V = 0;
157
- function U() {
157
+ function D() {
158
158
  if (V !== 0)
159
159
  return;
160
160
  const e = ne;
@@ -212,7 +212,7 @@ function Xr(e, t) {
212
212
  e.$$.dirty[0] === -1 && (W.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
214
  function zr(e, t, r, n, i, o, s = null, a = [-1]) {
215
- const l = ne;
215
+ const h = ne;
216
216
  re(e);
217
217
  const u = e.$$ = {
218
218
  fragment: null,
@@ -228,27 +228,27 @@ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
228
228
  on_disconnect: [],
229
229
  before_update: [],
230
230
  after_update: [],
231
- context: new Map(t.context || (l ? l.$$.context : [])),
231
+ context: new Map(t.context || (h ? h.$$.context : [])),
232
232
  // everything else
233
233
  callbacks: at(),
234
234
  dirty: a,
235
235
  skip_bound: !1,
236
- root: t.target || l.$$.root
236
+ root: t.target || h.$$.root
237
237
  };
238
238
  s && s(u.root);
239
- let h = !1;
240
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
241
- const m = p.length ? p[0] : c;
242
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Xr(e, f)), c;
243
- }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
239
+ let l = !1;
240
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
241
+ const m = p.length ? p[0] : f;
242
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Xr(e, c)), f;
243
+ }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
244
244
  if (t.hydrate) {
245
- const f = Nr(t.target);
246
- u.fragment && u.fragment.l(f), f.forEach(M);
245
+ const c = Nr(t.target);
246
+ u.fragment && u.fragment.l(c), c.forEach(M);
247
247
  } else
248
248
  u.fragment && u.fragment.c();
249
- t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), U();
249
+ t.intro && jr(e.$$.fragment), kr(e, t.target, t.anchor), D();
250
250
  }
251
- re(l);
251
+ re(h);
252
252
  }
253
253
  let Vt;
254
254
  typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
@@ -295,14 +295,14 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
295
295
  let s;
296
296
  return {
297
297
  c: function() {
298
- s = G("slot"), o !== "default" && x(s, "name", o);
298
+ s = R("slot"), o !== "default" && x(s, "name", o);
299
299
  },
300
300
  /**
301
301
  * @param {HTMLElement} target
302
302
  * @param {HTMLElement} [anchor]
303
303
  */
304
- m: function(u, h) {
305
- $(u, s, h);
304
+ m: function(u, l) {
305
+ F(u, s, l);
306
306
  },
307
307
  d: function(u) {
308
308
  u && M(s);
@@ -417,16 +417,16 @@ function Wr(e, t, r, n, i, o) {
417
417
  get() {
418
418
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
419
419
  },
420
- set(l) {
420
+ set(h) {
421
421
  var u;
422
- l = me(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
422
+ h = me(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
423
423
  }
424
424
  });
425
425
  }), n.forEach((a) => {
426
426
  Object.defineProperty(s.prototype, a, {
427
427
  get() {
428
- var l;
429
- return (l = this.$$c) == null ? void 0 : l[a];
428
+ var h;
429
+ return (h = this.$$c) == null ? void 0 : h[a];
430
430
  }
431
431
  });
432
432
  }), e.element = /** @type {any} */
@@ -549,7 +549,7 @@ function je(e, t, r) {
549
549
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
550
550
  return e.concat(o || t);
551
551
  }
552
- function R(e) {
552
+ function $(e) {
553
553
  return typeof e == "function";
554
554
  }
555
555
  function Xt(e) {
@@ -585,15 +585,15 @@ var Ee = function() {
585
585
  if (s)
586
586
  if (this._parentage = null, Array.isArray(s))
587
587
  try {
588
- for (var a = De(s), l = a.next(); !l.done; l = a.next()) {
589
- var u = l.value;
588
+ for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
589
+ var u = h.value;
590
590
  u.remove(this);
591
591
  }
592
592
  } catch (d) {
593
593
  t = { error: d };
594
594
  } finally {
595
595
  try {
596
- l && !l.done && (r = a.return) && r.call(a);
596
+ h && !h.done && (r = a.return) && r.call(a);
597
597
  } finally {
598
598
  if (t)
599
599
  throw t.error;
@@ -601,18 +601,18 @@ var Ee = function() {
601
601
  }
602
602
  else
603
603
  s.remove(this);
604
- var h = this.initialTeardown;
605
- if (R(h))
604
+ var l = this.initialTeardown;
605
+ if ($(l))
606
606
  try {
607
- h();
607
+ l();
608
608
  } catch (d) {
609
609
  o = d instanceof Oe ? d.errors : [d];
610
610
  }
611
- var f = this._finalizers;
612
- if (f) {
611
+ var c = this._finalizers;
612
+ if (c) {
613
613
  this._finalizers = null;
614
614
  try {
615
- for (var c = De(f), p = c.next(); !p.done; p = c.next()) {
615
+ for (var f = De(c), p = f.next(); !p.done; p = f.next()) {
616
616
  var m = p.value;
617
617
  try {
618
618
  ft(m);
@@ -624,7 +624,7 @@ var Ee = function() {
624
624
  n = { error: d };
625
625
  } finally {
626
626
  try {
627
- p && !p.done && (i = c.return) && i.call(c);
627
+ p && !p.done && (i = f.return) && i.call(f);
628
628
  } finally {
629
629
  if (n)
630
630
  throw n.error;
@@ -665,10 +665,10 @@ var Ee = function() {
665
665
  }(), e;
666
666
  }(), zt = Ee.EMPTY;
667
667
  function Wt(e) {
668
- return e instanceof Ee || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
668
+ return e instanceof Ee || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
669
669
  }
670
670
  function ft(e) {
671
- R(e) ? e() : e.unsubscribe();
671
+ $(e) ? e() : e.unsubscribe();
672
672
  }
673
673
  var Jr = {
674
674
  Promise: void 0
@@ -759,7 +759,7 @@ var Zt = function(e) {
759
759
  ue(t, e);
760
760
  function t(r, n, i) {
761
761
  var o = e.call(this) || this, s;
762
- return R(r) || !r ? s = {
762
+ return $(r) || !r ? s = {
763
763
  next: r != null ? r : void 0,
764
764
  error: n != null ? n : void 0,
765
765
  complete: i != null ? i : void 0
@@ -801,8 +801,8 @@ var pt = function() {
801
801
  }, e.prototype.subscribe = function(t, r, n) {
802
802
  var i = this, o = an(t) ? t : new Ve(t, r, n);
803
803
  return de(function() {
804
- var s = i, a = s.operator, l = s.source;
805
- o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
804
+ var s = i, a = s.operator, h = s.source;
805
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
806
806
  }), o;
807
807
  }, e.prototype._trySubscribe = function(t) {
808
808
  try {
@@ -817,8 +817,8 @@ var pt = function() {
817
817
  next: function(a) {
818
818
  try {
819
819
  t(a);
820
- } catch (l) {
821
- o(l), s.unsubscribe();
820
+ } catch (h) {
821
+ o(h), s.unsubscribe();
822
822
  }
823
823
  },
824
824
  error: o,
@@ -856,7 +856,7 @@ function mt(e) {
856
856
  return (t = e != null ? e : Jr.Promise) !== null && t !== void 0 ? t : Promise;
857
857
  }
858
858
  function sn(e) {
859
- return e && R(e.next) && R(e.error) && R(e.complete);
859
+ return e && $(e.next) && $(e.error) && $(e.complete);
860
860
  }
861
861
  function an(e) {
862
862
  return e && e instanceof Zt || sn(e) && Wt(e);
@@ -885,8 +885,8 @@ var un = Xt(function(e) {
885
885
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
886
886
  try {
887
887
  for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
888
- var l = a.value;
889
- l.next(r);
888
+ var h = a.value;
889
+ h.next(r);
890
890
  }
891
891
  } catch (u) {
892
892
  i = { error: u };
@@ -977,18 +977,18 @@ var un = Xt(function(e) {
977
977
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
978
978
  }
979
979
  return t.prototype.next = function(r) {
980
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
981
- i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
980
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
981
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
982
982
  }, t.prototype._subscribe = function(r) {
983
983
  this._throwIfClosed(), this._trimBuffer();
984
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
985
- r.next(a[l]);
984
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
985
+ r.next(a[h]);
986
986
  return this._checkFinalizedStatuses(r), n;
987
987
  }, t.prototype._trimBuffer = function() {
988
988
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
989
989
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
990
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
991
- u = h;
990
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
991
+ u = l;
992
992
  u && o.splice(0, u + 1);
993
993
  }
994
994
  }, t;
@@ -1010,10 +1010,10 @@ function xe(e, t = C) {
1010
1010
  const n = /* @__PURE__ */ new Set();
1011
1011
  function i(a) {
1012
1012
  if (jt(e, a) && (e = a, r)) {
1013
- const l = !X.length;
1013
+ const h = !X.length;
1014
1014
  for (const u of n)
1015
1015
  u[1](), X.push(u, e);
1016
- if (l) {
1016
+ if (h) {
1017
1017
  for (let u = 0; u < X.length; u += 2)
1018
1018
  X[u][0](X[u + 1]);
1019
1019
  X.length = 0;
@@ -1023,8 +1023,8 @@ function xe(e, t = C) {
1023
1023
  function o(a) {
1024
1024
  i(a(e));
1025
1025
  }
1026
- function s(a, l = C) {
1027
- const u = [a, l];
1026
+ function s(a, h = C) {
1027
+ const u = [a, h];
1028
1028
  return n.add(u), n.size === 1 && (r = t(i, o) || C), a(e), () => {
1029
1029
  n.delete(u), n.size === 0 && r && (r(), r = null);
1030
1030
  };
@@ -1037,28 +1037,28 @@ function K(e, t, r) {
1037
1037
  throw new Error("derived() expects stores as input, got a falsy value");
1038
1038
  const o = t.length < 2;
1039
1039
  return fn(r, (s, a) => {
1040
- let l = !1;
1040
+ let h = !1;
1041
1041
  const u = [];
1042
- let h = 0, f = C;
1043
- const c = () => {
1044
- if (h)
1042
+ let l = 0, c = C;
1043
+ const f = () => {
1044
+ if (l)
1045
1045
  return;
1046
- f();
1046
+ c();
1047
1047
  const m = t(n ? u[0] : u, s, a);
1048
- o ? s(m) : f = et(m) ? m : C;
1048
+ o ? s(m) : c = et(m) ? m : C;
1049
1049
  }, p = i.map(
1050
1050
  (m, d) => kt(
1051
1051
  m,
1052
1052
  (v) => {
1053
- u[d] = v, h &= ~(1 << d), l && c();
1053
+ u[d] = v, l &= ~(1 << d), h && f();
1054
1054
  },
1055
1055
  () => {
1056
- h |= 1 << d;
1056
+ l |= 1 << d;
1057
1057
  }
1058
1058
  )
1059
1059
  );
1060
- return l = !0, c(), function() {
1061
- se(p), f(), l = !1;
1060
+ return h = !0, f(), function() {
1061
+ se(p), c(), h = !1;
1062
1062
  };
1063
1063
  });
1064
1064
  }
@@ -1387,18 +1387,18 @@ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1387
1387
  function Gn(e) {
1388
1388
  if (e.length === 0)
1389
1389
  throw new Error("Number skeleton cannot be empty");
1390
- for (var t = e.split(Dn).filter(function(c) {
1391
- return c.length > 0;
1390
+ for (var t = e.split(Dn).filter(function(f) {
1391
+ return f.length > 0;
1392
1392
  }), r = [], n = 0, i = t; n < i.length; n++) {
1393
1393
  var o = i[n], s = o.split("/");
1394
1394
  if (s.length === 0)
1395
1395
  throw new Error("Invalid number skeleton");
1396
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1397
- var f = h[u];
1398
- if (f.length === 0)
1396
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1397
+ var c = l[u];
1398
+ if (c.length === 0)
1399
1399
  throw new Error("Invalid number skeleton");
1400
1400
  }
1401
- r.push({ stem: a, options: l });
1401
+ r.push({ stem: a, options: h });
1402
1402
  }
1403
1403
  return r;
1404
1404
  }
@@ -1505,13 +1505,13 @@ function Xn(e) {
1505
1505
  t.notation = "compact", t.compactDisplay = "long";
1506
1506
  continue;
1507
1507
  case "scientific":
1508
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1509
- return S(S({}, l), xt(u));
1508
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1509
+ return S(S({}, h), xt(u));
1510
1510
  }, {}));
1511
1511
  continue;
1512
1512
  case "engineering":
1513
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1514
- return S(S({}, l), xt(u));
1513
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1514
+ return S(S({}, h), xt(u));
1515
1515
  }, {}));
1516
1516
  continue;
1517
1517
  case "notation-simple":
@@ -1556,11 +1556,11 @@ function Xn(e) {
1556
1556
  case "integer-width":
1557
1557
  if (i.options.length > 1)
1558
1558
  throw new RangeError("integer-width stems only accept a single optional option");
1559
- i.options[0].replace(kn, function(l, u, h, f, c, p) {
1559
+ i.options[0].replace(kn, function(h, u, l, c, f, p) {
1560
1560
  if (u)
1561
- t.minimumIntegerDigits = h.length;
1561
+ t.minimumIntegerDigits = l.length;
1562
1562
  else {
1563
- if (f && c)
1563
+ if (c && f)
1564
1564
  throw new Error("We currently do not support maximum integer digits");
1565
1565
  if (p)
1566
1566
  throw new Error("We currently do not support exact integer digits");
@@ -1576,8 +1576,8 @@ function Xn(e) {
1576
1576
  if (_t.test(i.stem)) {
1577
1577
  if (i.options.length > 1)
1578
1578
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1579
- i.stem.replace(_t, function(l, u, h, f, c, p) {
1580
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1579
+ i.stem.replace(_t, function(h, u, l, c, f, p) {
1580
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1581
1581
  });
1582
1582
  var o = i.options[0];
1583
1583
  o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Et(o)));
@@ -3015,9 +3015,9 @@ function zn(e, t) {
3015
3015
  if (i === "j") {
3016
3016
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3017
3017
  o++, n++;
3018
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Wn(t);
3018
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Wn(t);
3019
3019
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3020
- r += l;
3020
+ r += h;
3021
3021
  for (; s-- > 0; )
3022
3022
  r = u + r;
3023
3023
  } else
@@ -3217,8 +3217,8 @@ var ai = (
3217
3217
  if (this.bumpIf("</")) {
3218
3218
  if (this.isEOF() || !Je(this.char()))
3219
3219
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3220
- var l = this.clonePosition(), u = this.parseTagName();
3221
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3220
+ var h = this.clonePosition(), u = this.parseTagName();
3221
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3222
3222
  val: {
3223
3223
  type: _.tag,
3224
3224
  value: i,
@@ -3255,9 +3255,9 @@ var ai = (
3255
3255
  }
3256
3256
  break;
3257
3257
  }
3258
- var l = g(n, this.clonePosition());
3258
+ var h = g(n, this.clonePosition());
3259
3259
  return {
3260
- val: { type: _.literal, value: i, location: l },
3260
+ val: { type: _.literal, value: i, location: h },
3261
3261
  err: null
3262
3262
  };
3263
3263
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3335,10 +3335,10 @@ var ai = (
3335
3335
  var o = this.clonePosition(), s = g(t, o);
3336
3336
  return { value: n, location: s };
3337
3337
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3338
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3338
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3339
3339
  switch (a) {
3340
3340
  case "":
3341
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, l));
3341
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
3342
3342
  case "number":
3343
3343
  case "date":
3344
3344
  case "time": {
@@ -3346,14 +3346,14 @@ var ai = (
3346
3346
  var u = null;
3347
3347
  if (this.bumpIf(",")) {
3348
3348
  this.bumpSpace();
3349
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3350
- if (f.err)
3351
- return f;
3352
- var c = si(f.val);
3353
- if (c.length === 0)
3349
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3350
+ if (c.err)
3351
+ return c;
3352
+ var f = si(c.val);
3353
+ if (f.length === 0)
3354
3354
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3355
- var p = g(h, this.clonePosition());
3356
- u = { style: c, styleLocation: p };
3355
+ var p = g(l, this.clonePosition());
3356
+ u = { style: f, styleLocation: p };
3357
3357
  }
3358
3358
  var m = this.tryParseArgumentClose(i);
3359
3359
  if (m.err)
@@ -3362,9 +3362,9 @@ var ai = (
3362
3362
  if (u && St(u == null ? void 0 : u.style, "::", 0)) {
3363
3363
  var v = oi(u.style.slice(2));
3364
3364
  if (a === "number") {
3365
- var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3366
- return f.err ? f : {
3367
- val: { type: _.number, value: n, location: d, style: f.val },
3365
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3366
+ return c.err ? c : {
3367
+ val: { type: _.number, value: n, location: d, style: c.val },
3368
3368
  err: null
3369
3369
  };
3370
3370
  } else {
@@ -3372,14 +3372,14 @@ var ai = (
3372
3372
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3373
3373
  var E = v;
3374
3374
  this.locale && (E = zn(v, this.locale));
3375
- var c = {
3375
+ var f = {
3376
3376
  type: J.dateTime,
3377
3377
  pattern: E,
3378
3378
  location: u.styleLocation,
3379
3379
  parsedOptions: this.shouldParseSkeletons ? Un(E) : {}
3380
3380
  }, I = a === "date" ? _.date : _.time;
3381
3381
  return {
3382
- val: { type: I, value: n, location: d, style: c },
3382
+ val: { type: I, value: n, location: d, style: f },
3383
3383
  err: null
3384
3384
  };
3385
3385
  }
@@ -3406,10 +3406,10 @@ var ai = (
3406
3406
  if (!this.bumpIf(":"))
3407
3407
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3408
3408
  this.bumpSpace();
3409
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3410
- if (f.err)
3411
- return f;
3412
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = f.val;
3409
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3410
+ if (c.err)
3411
+ return c;
3412
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = c.val;
3413
3413
  }
3414
3414
  var y = this.tryParsePluralOrSelectOptions(t, a, r, H);
3415
3415
  if (y.err)
@@ -3439,7 +3439,7 @@ var ai = (
3439
3439
  };
3440
3440
  }
3441
3441
  default:
3442
- return this.error(b.INVALID_ARGUMENT_TYPE, g(s, l));
3442
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
3443
3443
  }
3444
3444
  }, e.prototype.tryParseArgumentClose = function(t) {
3445
3445
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3495,19 +3495,19 @@ var ai = (
3495
3495
  err: null
3496
3496
  };
3497
3497
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3498
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3498
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3499
3499
  if (u.length === 0) {
3500
- var f = this.clonePosition();
3500
+ var c = this.clonePosition();
3501
3501
  if (r !== "select" && this.bumpIf("=")) {
3502
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3503
- if (c.err)
3504
- return c;
3505
- h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3502
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3503
+ if (f.err)
3504
+ return f;
3505
+ l = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3506
3506
  } else
3507
3507
  break;
3508
3508
  }
3509
- if (l.has(u))
3510
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3509
+ if (h.has(u))
3510
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3511
3511
  u === "other" && (s = !0), this.bumpSpace();
3512
3512
  var p = this.clonePosition();
3513
3513
  if (!this.bumpIf("{"))
@@ -3524,7 +3524,7 @@ var ai = (
3524
3524
  value: m.val,
3525
3525
  location: g(p, this.clonePosition())
3526
3526
  }
3527
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3527
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3528
3528
  }
3529
3529
  return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3530
3530
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3537,8 +3537,8 @@ var ai = (
3537
3537
  else
3538
3538
  break;
3539
3539
  }
3540
- var l = g(i, this.clonePosition());
3541
- return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3540
+ var h = g(i, this.clonePosition());
3541
+ return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3542
3542
  }, e.prototype.offset = function() {
3543
3543
  return this.position.offset;
3544
3544
  }, e.prototype.isEOF = function() {
@@ -3701,59 +3701,59 @@ function be(e, t, r, n, i, o, s) {
3701
3701
  value: e[0].value
3702
3702
  }
3703
3703
  ];
3704
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3705
- var h = u[l];
3706
- if (vt(h)) {
3704
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3705
+ var l = u[h];
3706
+ if (vt(l)) {
3707
3707
  a.push({
3708
3708
  type: A.literal,
3709
- value: h.value
3709
+ value: l.value
3710
3710
  });
3711
3711
  continue;
3712
3712
  }
3713
- if ($n(h)) {
3713
+ if ($n(l)) {
3714
3714
  typeof o == "number" && a.push({
3715
3715
  type: A.literal,
3716
3716
  value: r.getNumberFormat(t).format(o)
3717
3717
  });
3718
3718
  continue;
3719
3719
  }
3720
- var f = h.value;
3721
- if (!(i && f in i))
3722
- throw new pi(f, s);
3723
- var c = i[f];
3724
- if (Rn(h)) {
3725
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3726
- type: typeof c == "string" ? A.literal : A.object,
3727
- value: c
3720
+ var c = l.value;
3721
+ if (!(i && c in i))
3722
+ throw new pi(c, s);
3723
+ var f = i[c];
3724
+ if (Rn(l)) {
3725
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3726
+ type: typeof f == "string" ? A.literal : A.object,
3727
+ value: f
3728
3728
  });
3729
3729
  continue;
3730
3730
  }
3731
- if (tr(h)) {
3732
- var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3731
+ if (tr(l)) {
3732
+ var p = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3733
3733
  a.push({
3734
3734
  type: A.literal,
3735
- value: r.getDateTimeFormat(t, p).format(c)
3735
+ value: r.getDateTimeFormat(t, p).format(f)
3736
3736
  });
3737
3737
  continue;
3738
3738
  }
3739
- if (rr(h)) {
3740
- var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3739
+ if (rr(l)) {
3740
+ var p = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3741
3741
  a.push({
3742
3742
  type: A.literal,
3743
- value: r.getDateTimeFormat(t, p).format(c)
3743
+ value: r.getDateTimeFormat(t, p).format(f)
3744
3744
  });
3745
3745
  continue;
3746
3746
  }
3747
- if (er(h)) {
3748
- var p = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3749
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3747
+ if (er(l)) {
3748
+ var p = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3749
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3750
3750
  type: A.literal,
3751
- value: r.getNumberFormat(t, p).format(c)
3751
+ value: r.getNumberFormat(t, p).format(f)
3752
3752
  });
3753
3753
  continue;
3754
3754
  }
3755
- if (or(h)) {
3756
- var m = h.children, d = h.value, v = i[d];
3755
+ if (or(l)) {
3756
+ var m = l.children, d = l.value, v = i[d];
3757
3757
  if (!di(v))
3758
3758
  throw new ci(d, "function", s);
3759
3759
  var E = be(m, t, r, n, i, o), I = v(E.map(function(L) {
@@ -3766,26 +3766,26 @@ function be(e, t, r, n, i, o, s) {
3766
3766
  };
3767
3767
  }));
3768
3768
  }
3769
- if (nr(h)) {
3770
- var T = h.options[c] || h.options.other;
3769
+ if (nr(l)) {
3770
+ var T = l.options[f] || l.options.other;
3771
3771
  if (!T)
3772
- throw new Ht(h.value, c, Object.keys(h.options), s);
3772
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3773
3773
  a.push.apply(a, be(T.value, t, r, n, i));
3774
3774
  continue;
3775
3775
  }
3776
- if (ir(h)) {
3777
- var T = h.options["=".concat(c)];
3776
+ if (ir(l)) {
3777
+ var T = l.options["=".concat(f)];
3778
3778
  if (!T) {
3779
3779
  if (!Intl.PluralRules)
3780
3780
  throw new Te(`Intl.PluralRules is not available in this environment.
3781
3781
  Try polyfilling it using "@formatjs/intl-pluralrules"
3782
3782
  `, Y.MISSING_INTL_API, s);
3783
- var H = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3784
- T = h.options[H] || h.options.other;
3783
+ var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3784
+ T = l.options[H] || l.options.other;
3785
3785
  }
3786
3786
  if (!T)
3787
- throw new Ht(h.value, c, Object.keys(h.options), s);
3788
- a.push.apply(a, be(T.value, t, r, n, i, c - (h.offset || 0)));
3787
+ throw new Ht(l.value, f, Object.keys(l.options), s);
3788
+ a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
3789
3789
  continue;
3790
3790
  }
3791
3791
  }
@@ -3857,20 +3857,20 @@ var vi = (
3857
3857
  number: {},
3858
3858
  dateTime: {},
3859
3859
  pluralRules: {}
3860
- }, this.format = function(l) {
3861
- var u = o.formatToParts(l);
3860
+ }, this.format = function(h) {
3861
+ var u = o.formatToParts(h);
3862
3862
  if (u.length === 1)
3863
3863
  return u[0].value;
3864
- var h = u.reduce(function(f, c) {
3865
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3864
+ var l = u.reduce(function(c, f) {
3865
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3866
3866
  }, []);
3867
- return h.length <= 1 ? h[0] || "" : h;
3868
- }, this.formatToParts = function(l) {
3869
- return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3867
+ return l.length <= 1 ? l[0] || "" : l;
3868
+ }, this.formatToParts = function(h) {
3869
+ return be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3870
3870
  }, this.resolvedOptions = function() {
3871
- var l;
3871
+ var h;
3872
3872
  return {
3873
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3873
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3874
3874
  };
3875
3875
  }, this.getAst = function() {
3876
3876
  return o.ast;
@@ -3980,11 +3980,11 @@ function _i(e, t) {
3980
3980
  n = void 0;
3981
3981
  return n;
3982
3982
  }
3983
- const D = {}, Ei = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), mr = (e, t) => {
3983
+ const G = {}, Ei = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), mr = (e, t) => {
3984
3984
  if (t == null)
3985
3985
  return;
3986
- if (t in D && e in D[t])
3987
- return D[t][e];
3986
+ if (t in G && e in G[t])
3987
+ return G[t][e];
3988
3988
  const r = we(t);
3989
3989
  for (let n = 0; n < r.length; n++) {
3990
3990
  const i = r[n], o = Si(i, e);
@@ -4017,7 +4017,7 @@ function Ti(e) {
4017
4017
  }
4018
4018
  }
4019
4019
  function br(e, ...t) {
4020
- delete D[e], le.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4020
+ delete G[e], le.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4021
4021
  }
4022
4022
  K(
4023
4023
  [le],
@@ -4228,32 +4228,32 @@ const oe = (e, t) => {
4228
4228
  typeof e == "object" && (s = e, e = s.id);
4229
4229
  const {
4230
4230
  values: a,
4231
- locale: l = k(),
4231
+ locale: h = k(),
4232
4232
  default: u
4233
4233
  } = s;
4234
- if (l == null)
4234
+ if (h == null)
4235
4235
  throw new Error(
4236
4236
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4237
4237
  );
4238
- let h = mr(e, l);
4239
- if (!h)
4240
- h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4241
- else if (typeof h != "string")
4238
+ let l = mr(e, h);
4239
+ if (!l)
4240
+ l = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4241
+ else if (typeof l != "string")
4242
4242
  return console.warn(
4243
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4244
- ), h;
4243
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4244
+ ), l;
4245
4245
  if (!a)
4246
- return h;
4247
- let f = h;
4246
+ return l;
4247
+ let c = l;
4248
4248
  try {
4249
- f = zi(h, l).format(a);
4250
- } catch (c) {
4251
- c instanceof Error && console.warn(
4249
+ c = zi(l, h).format(a);
4250
+ } catch (f) {
4251
+ f instanceof Error && console.warn(
4252
4252
  `[svelte-i18n] Message "${e}" has syntax error:`,
4253
- c.message
4253
+ f.message
4254
4254
  );
4255
4255
  }
4256
- return f;
4256
+ return c;
4257
4257
  }, Zi = (e, t) => Xi(t).format(e), Qi = (e, t) => Vi(t).format(e), Ji = (e, t) => ki(t).format(e), Yi = (e, t = k()) => mr(e, t), qi = K([he, le], () => Wi);
4258
4258
  K([he], () => Zi);
4259
4259
  K([he], () => Qi);
@@ -4367,7 +4367,7 @@ function to(e, t, r) {
4367
4367
  }
4368
4368
  }
4369
4369
  function ro(e) {
4370
- Br(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4370
+ Br(e, "svelte-f5g69n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4371
4371
  }
4372
4372
  function Nt(e, t, r) {
4373
4373
  const n = e.slice();
@@ -4377,17 +4377,17 @@ function Mt(e) {
4377
4377
  let t, r, n = (
4378
4378
  /*$_*/
4379
4379
  e[4]("tournaments") + ""
4380
- ), i, o, s, a = ht(
4380
+ ), i, o, s, a, h = ht(
4381
4381
  /*filterItems*/
4382
4382
  e[1]
4383
- ), l = [];
4384
- for (let u = 0; u < a.length; u += 1)
4385
- l[u] = Dt(Nt(e, a, u));
4383
+ ), u = [];
4384
+ for (let l = 0; l < h.length; l += 1)
4385
+ u[l] = Dt(Nt(e, h, l));
4386
4386
  return {
4387
4387
  c() {
4388
- t = G("ul"), r = G("li"), i = j(n), o = j(":"), s = z();
4389
- for (let u = 0; u < l.length; u += 1)
4390
- l[u].c();
4388
+ t = R("ul"), r = R("li"), i = j(n), o = j(":"), s = z(), a = R("ul");
4389
+ for (let l = 0; l < u.length; l += 1)
4390
+ u[l].c();
4391
4391
  x(r, "class", "FiltersTitle " + (P(
4392
4392
  /*userAgent*/
4393
4393
  e[5]
@@ -4402,32 +4402,32 @@ function Mt(e) {
4402
4402
  e[5]
4403
4403
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4404
4404
  },
4405
- m(u, h) {
4406
- $(u, t, h), B(t, r), B(r, i), B(r, o), B(t, s);
4407
- for (let f = 0; f < l.length; f += 1)
4408
- l[f] && l[f].m(t, null);
4405
+ m(l, c) {
4406
+ F(l, t, c), B(t, r), B(r, i), B(r, o), B(t, s), B(t, a);
4407
+ for (let f = 0; f < u.length; f += 1)
4408
+ u[f] && u[f].m(a, null);
4409
4409
  },
4410
- p(u, h) {
4411
- if (h & /*$_*/
4410
+ p(l, c) {
4411
+ if (c & /*$_*/
4412
4412
  16 && n !== (n = /*$_*/
4413
- u[4]("tournaments") + "") && ae(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4413
+ l[4]("tournaments") + "") && ae(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4414
4414
  126) {
4415
- a = ht(
4415
+ h = ht(
4416
4416
  /*filterItems*/
4417
- u[1]
4417
+ l[1]
4418
4418
  );
4419
4419
  let f;
4420
- for (f = 0; f < a.length; f += 1) {
4421
- const c = Nt(u, a, f);
4422
- l[f] ? l[f].p(c, h) : (l[f] = Dt(c), l[f].c(), l[f].m(t, null));
4420
+ for (f = 0; f < h.length; f += 1) {
4421
+ const p = Nt(l, h, f);
4422
+ u[f] ? u[f].p(p, c) : (u[f] = Dt(p), u[f].c(), u[f].m(a, null));
4423
4423
  }
4424
- for (; f < l.length; f += 1)
4425
- l[f].d(1);
4426
- l.length = a.length;
4424
+ for (; f < u.length; f += 1)
4425
+ u[f].d(1);
4426
+ u.length = h.length;
4427
4427
  }
4428
4428
  },
4429
- d(u) {
4430
- u && M(t), Cr(l, u);
4429
+ d(l) {
4430
+ l && M(t), Cr(u, l);
4431
4431
  }
4432
4432
  };
4433
4433
  }
@@ -4438,7 +4438,7 @@ function Lt(e) {
4438
4438
  t = ut("svg"), r = ut("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4439
4439
  },
4440
4440
  m(n, i) {
4441
- $(n, t, i), B(t, r);
4441
+ F(n, t, i), B(t, r);
4442
4442
  },
4443
4443
  d(n) {
4444
4444
  n && M(t);
@@ -4455,7 +4455,7 @@ function Rt(e) {
4455
4455
  r = j(t);
4456
4456
  },
4457
4457
  m(n, i) {
4458
- $(n, r, i);
4458
+ F(n, r, i);
4459
4459
  },
4460
4460
  p(n, i) {
4461
4461
  i & /*$_*/
@@ -4477,7 +4477,7 @@ function $t(e) {
4477
4477
  r = j(t);
4478
4478
  },
4479
4479
  m(n, i) {
4480
- $(n, r, i);
4480
+ F(n, r, i);
4481
4481
  },
4482
4482
  p(n, i) {
4483
4483
  i & /*$_*/
@@ -4499,7 +4499,7 @@ function Ft(e) {
4499
4499
  r = j(t);
4500
4500
  },
4501
4501
  m(n, i) {
4502
- $(n, r, i);
4502
+ F(n, r, i);
4503
4503
  },
4504
4504
  p(n, i) {
4505
4505
  i & /*$_*/
@@ -4521,7 +4521,7 @@ function Ut(e) {
4521
4521
  r = j(t);
4522
4522
  },
4523
4523
  m(n, i) {
4524
- $(n, r, i);
4524
+ F(n, r, i);
4525
4525
  },
4526
4526
  p(n, i) {
4527
4527
  i & /*$_*/
@@ -4534,7 +4534,7 @@ function Ut(e) {
4534
4534
  };
4535
4535
  }
4536
4536
  function Dt(e) {
4537
- let t, r, n, i, o, s, a, l, u, h, f, c, p = (
4537
+ let t, r, n, i, o, s, a, h, u, l, c, f, p = (
4538
4538
  /*activeIndexes*/
4539
4539
  (e[2][
4540
4540
  /*index*/
@@ -4568,13 +4568,13 @@ function Dt(e) {
4568
4568
  }
4569
4569
  return {
4570
4570
  c() {
4571
- t = G("li"), r = G("button"), p && p.c(), n = z(), i = G("div"), m && m.c(), o = z(), d && d.c(), s = z(), v && v.c(), a = z(), E && E.c(), h = z(), x(i, "class", "FilterButton " + (P(
4571
+ t = R("li"), r = R("button"), p && p.c(), n = z(), i = R("div"), m && m.c(), o = z(), d && d.c(), s = z(), v && v.c(), a = z(), E && E.c(), l = z(), x(i, "class", "FilterButton " + (P(
4572
4572
  /*userAgent*/
4573
4573
  e[5]
4574
4574
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (P(
4575
4575
  /*userAgent*/
4576
4576
  e[5]
4577
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", l = /*activeIndexes*/
4577
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", h = /*activeIndexes*/
4578
4578
  (e[2][
4579
4579
  /*index*/
4580
4580
  e[23]
@@ -4595,7 +4595,7 @@ function Dt(e) {
4595
4595
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4596
4596
  },
4597
4597
  m(T, H) {
4598
- $(T, t, H), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), v && v.m(i, null), B(i, a), E && E.m(i, null), B(t, h), f || (c = Ir(t, "click", I), f = !0);
4598
+ F(T, t, H), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), v && v.m(i, null), B(i, a), E && E.m(i, null), B(t, l), c || (f = Ir(t, "click", I), c = !0);
4599
4599
  },
4600
4600
  p(T, H) {
4601
4601
  e = T, /*activeIndexes*/
@@ -4609,7 +4609,7 @@ function Dt(e) {
4609
4609
  e[21] == "Ongoing" ? d ? d.p(e, H) : (d = $t(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4610
4610
  e[21] == "Finished" ? v ? v.p(e, H) : (v = Ft(e), v.c(), v.m(i, a)) : v && (v.d(1), v = null), /*filter*/
4611
4611
  e[21] == "All" ? E ? E.p(e, H) : (E = Ut(e), E.c(), E.m(i, null)) : E && (E.d(1), E = null), H & /*activeIndexes, allActive*/
4612
- 12 && l !== (l = /*activeIndexes*/
4612
+ 12 && h !== (h = /*activeIndexes*/
4613
4613
  (e[2][
4614
4614
  /*index*/
4615
4615
  e[23]
@@ -4618,7 +4618,7 @@ function Dt(e) {
4618
4618
  e[23] == 0 ? "Active" : "") + " " + (P(
4619
4619
  /*userAgent*/
4620
4620
  e[5]
4621
- ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", l), H & /*activeIndexes, allActive*/
4621
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", h), H & /*activeIndexes, allActive*/
4622
4622
  12 && u !== (u = /*activeIndexes*/
4623
4623
  (e[2][
4624
4624
  /*index*/
@@ -4631,7 +4631,7 @@ function Dt(e) {
4631
4631
  ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4632
4632
  },
4633
4633
  d(T) {
4634
- T && M(t), p && p.d(), m && m.d(), d && d.d(), v && v.d(), E && E.d(), f = !1, c();
4634
+ T && M(t), p && p.d(), m && m.d(), d && d.d(), v && v.d(), E && E.d(), c = !1, f();
4635
4635
  }
4636
4636
  };
4637
4637
  }
@@ -4642,7 +4642,7 @@ function no(e) {
4642
4642
  );
4643
4643
  return {
4644
4644
  c() {
4645
- t = G("div"), r && r.c(), x(t, "class", "FiltersController " + (P(
4645
+ t = R("div"), r && r.c(), x(t, "class", "FiltersController " + (P(
4646
4646
  /*userAgent*/
4647
4647
  e[5]
4648
4648
  ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (P(
@@ -4651,7 +4651,7 @@ function no(e) {
4651
4651
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4652
4652
  },
4653
4653
  m(n, i) {
4654
- $(n, t, i), r && r.m(t, null), e[14](t);
4654
+ F(n, t, i), r && r.m(t, null), e[14](t);
4655
4655
  },
4656
4656
  p(n, [i]) {
4657
4657
  /*filterItems*/
@@ -4667,11 +4667,11 @@ function no(e) {
4667
4667
  function io(e, t, r) {
4668
4668
  let n;
4669
4669
  Ar(e, qi, (y) => r(4, n = y));
4670
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { mbsource: u } = t, h, f = [], c = 0, p = new Array(100), m = !0, d = window.navigator.userAgent;
4670
+ let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, l, c = [], f = 0, p = new Array(100), m = !0, d = window.navigator.userAgent;
4671
4671
  const v = () => {
4672
4672
  fetch(s).then((w) => w.json()).then((w) => {
4673
- Object.keys(w).forEach((F) => {
4674
- Ct(F, w[F]);
4673
+ Object.keys(w).forEach((U) => {
4674
+ Ct(U, w[U]);
4675
4675
  });
4676
4676
  }).catch((w) => {
4677
4677
  console.log(w);
@@ -4682,7 +4682,7 @@ function io(e, t, r) {
4682
4682
  });
4683
4683
  const E = (y, w) => {
4684
4684
  if (w == 0)
4685
- r(3, m = !0), r(2, p = new Array(c)), window.postMessage(
4685
+ r(3, m = !0), r(2, p = new Array(f)), window.postMessage(
4686
4686
  {
4687
4687
  type: "TournamentsFiltersSelected",
4688
4688
  filters: ["All"]
@@ -4698,24 +4698,24 @@ function io(e, t, r) {
4698
4698
  window.location.href
4699
4699
  );
4700
4700
  else {
4701
- let F = [];
4702
- for (let fe = 0; fe < f.length; fe++)
4703
- p[fe] == 1 && F.push(f[fe]);
4701
+ let U = [];
4702
+ for (let fe = 0; fe < c.length; fe++)
4703
+ p[fe] == 1 && U.push(c[fe]);
4704
4704
  window.postMessage(
4705
4705
  {
4706
4706
  type: "TournamentsFiltersSelected",
4707
- filters: F
4707
+ filters: U
4708
4708
  },
4709
4709
  window.location.href
4710
4710
  );
4711
4711
  }
4712
4712
  }, I = () => {
4713
- r(1, f = i.split(",")), c = f.length;
4713
+ r(1, c = i.split(",")), f = c.length;
4714
4714
  }, T = () => {
4715
4715
  let y = o.split(",");
4716
- r(2, p = new Array(c)), y.indexOf("All") != -1 ? r(3, m = !0) : (r(3, m = !1), y.forEach((w) => {
4717
- let F = f.indexOf(w);
4718
- F > 0 && r(2, p[F] = 1, p);
4716
+ r(2, p = new Array(f)), y.indexOf("All") != -1 ? r(3, m = !0) : (r(3, m = !1), y.forEach((w) => {
4717
+ let U = c.indexOf(w);
4718
+ U > 0 && r(2, p[U] = 1, p);
4719
4719
  }));
4720
4720
  };
4721
4721
  Rr(() => () => {
@@ -4723,22 +4723,22 @@ function io(e, t, r) {
4723
4723
  const H = (y, w) => E(y, w);
4724
4724
  function L(y) {
4725
4725
  Re[y ? "unshift" : "push"](() => {
4726
- h = y, r(0, h);
4726
+ l = y, r(0, l);
4727
4727
  });
4728
4728
  }
4729
4729
  return e.$$set = (y) => {
4730
- "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, s = y.translationurl), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "mbsource" in y && r(12, u = y.mbsource);
4730
+ "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, s = y.translationurl), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "mbsource" in y && r(12, u = y.mbsource);
4731
4731
  }, e.$$.update = () => {
4732
4732
  e.$$.dirty & /*translationurl*/
4733
4733
  512 && s && v(), e.$$.dirty & /*filters*/
4734
4734
  128 && i && I(), e.$$.dirty & /*activefilters*/
4735
4735
  256 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4736
- 1025 && a && h && Ki(h, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4737
- 2049 && l && h && eo(h, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4738
- 4097 && u && h && to(h, `${u}.Style`);
4736
+ 1025 && a && l && Ki(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4737
+ 2049 && h && l && eo(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4738
+ 4097 && u && l && to(l, `${u}.Style`);
4739
4739
  }, [
4740
- h,
4741
- f,
4740
+ l,
4741
+ c,
4742
4742
  p,
4743
4743
  m,
4744
4744
  n,
@@ -4748,7 +4748,7 @@ function io(e, t, r) {
4748
4748
  o,
4749
4749
  s,
4750
4750
  a,
4751
- l,
4751
+ h,
4752
4752
  u,
4753
4753
  H,
4754
4754
  L
@@ -4777,37 +4777,37 @@ class oo extends Zr {
4777
4777
  return this.$$.ctx[7];
4778
4778
  }
4779
4779
  set filters(t) {
4780
- this.$$set({ filters: t }), U();
4780
+ this.$$set({ filters: t }), D();
4781
4781
  }
4782
4782
  get activefilters() {
4783
4783
  return this.$$.ctx[8];
4784
4784
  }
4785
4785
  set activefilters(t) {
4786
- this.$$set({ activefilters: t }), U();
4786
+ this.$$set({ activefilters: t }), D();
4787
4787
  }
4788
4788
  get translationurl() {
4789
4789
  return this.$$.ctx[9];
4790
4790
  }
4791
4791
  set translationurl(t) {
4792
- this.$$set({ translationurl: t }), U();
4792
+ this.$$set({ translationurl: t }), D();
4793
4793
  }
4794
4794
  get clientstyling() {
4795
4795
  return this.$$.ctx[10];
4796
4796
  }
4797
4797
  set clientstyling(t) {
4798
- this.$$set({ clientstyling: t }), U();
4798
+ this.$$set({ clientstyling: t }), D();
4799
4799
  }
4800
4800
  get clientstylingurl() {
4801
4801
  return this.$$.ctx[11];
4802
4802
  }
4803
4803
  set clientstylingurl(t) {
4804
- this.$$set({ clientstylingurl: t }), U();
4804
+ this.$$set({ clientstylingurl: t }), D();
4805
4805
  }
4806
4806
  get mbsource() {
4807
4807
  return this.$$.ctx[12];
4808
4808
  }
4809
4809
  set mbsource(t) {
4810
- this.$$set({ mbsource: t }), U();
4810
+ this.$$set({ mbsource: t }), D();
4811
4811
  }
4812
4812
  }
4813
4813
  Wr(oo, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);