@everymatrix/casino-tournaments-controller 1.94.4 → 1.94.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/components/{CasinoTournamentsController-B2QtW6Gb.js → CasinoTournamentsController-CNsVUnfN.js} +43 -43
  2. package/components/{CasinoTournamentsController-Cmk_sscD.js → CasinoTournamentsController-lJfLLRnq.js} +41 -41
  3. package/components/{CasinoTournamentsFilterController-D4G5Nvqd.js → CasinoTournamentsFilterController-1wIYqpNu.js} +28 -28
  4. package/components/{CasinoTournamentsFilterController-noCwPzUX.js → CasinoTournamentsFilterController-C1zYpGsR.js} +28 -28
  5. package/components/{CasinoTournamentsListController-Cnnw83ZW.js → CasinoTournamentsListController-DJD_bSY7.js} +2 -2
  6. package/components/{CasinoTournamentsListController-mRJE3n3d.js → CasinoTournamentsListController-Zz588CUs.js} +2 -2
  7. package/components/{CasinoTournamentsThumbnail-CnVglTq3.js → CasinoTournamentsThumbnail-CnDoX1-O.js} +1 -1
  8. package/components/{CasinoTournamentsThumbnail-CAhPDUeT.js → CasinoTournamentsThumbnail-D87z-Own.js} +17 -17
  9. package/components/{CasinoTournamentsThumbnailController-B2ham2Wm.js → CasinoTournamentsThumbnailController-CIuSxiRT.js} +45 -45
  10. package/components/{CasinoTournamentsThumbnailController-BStQU4lj.js → CasinoTournamentsThumbnailController-DVRmnfIu.js} +47 -47
  11. package/components/{CasinoTournamentsThumbnailDuration-s2cjZAtL.js → CasinoTournamentsThumbnailDuration-B2Y3C4cx.js} +21 -21
  12. package/components/{CasinoTournamentsThumbnailDuration-khP6Eyhg.js → CasinoTournamentsThumbnailDuration-DiJ5pIi_.js} +23 -23
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-xGXCOrtm.js → CasinoTournamentsThumbnailGamesSlider-CFPpuIBF.js} +52 -52
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-CBtsc19f.js → CasinoTournamentsThumbnailGamesSlider-COj5bcj7.js} +57 -57
  15. package/components/{CasinoTournamentsThumbnailPrizes-CbvllG0_.js → CasinoTournamentsThumbnailPrizes-B3wYNh9f.js} +20 -20
  16. package/components/{CasinoTournamentsThumbnailPrizes-CuSSpsU9.js → CasinoTournamentsThumbnailPrizes-CPgEr0rk.js} +21 -21
  17. package/es2015/casino-tournaments-controller.js +1 -1
  18. package/esnext/casino-tournaments-controller.js +1 -1
  19. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { C as ee, D as ge, a as be, S as fe, i as he, s as pe, f as h, b as ke, n as ae, d as _, h as m, e as A, q as c, g as p, r as R, k as ye, o as Se, G as ie, p as D, v as $, F as Z, t as T, u as Ce, A as _e, I as te, B as q, H as Ae, x as ve, y as Te, z as we, c as Me, $ as Je } from "./CasinoTournamentsController-Cmk_sscD.js";
1
+ import { b as ee, $ as ge, d as be, S as fe, t as he, B as pe, r as h, h as ke, y as ae, n as _, i as m, u as A, g as c, o as p, J as R, k as ye, z as Se, A as ie, H as D, x as $, c as Z, M as T, j as Ce, p as _e, K as te, G as q, w as Ae, D as ve, E as Te, F as we, l as Me, a as Je } from "./CasinoTournamentsController-lJfLLRnq.js";
2
2
  import "../stencil/ui-skeleton-CCeXOW4G.js";
3
3
  import "../stencil/ui-image-DyN7Fe9v.js";
4
4
  function Re({ withLocale: i, translations: e }) {
@@ -370,7 +370,7 @@ function le(i) {
370
370
  ), H, Y, J, V, W, x = (
371
371
  /*$_*/
372
372
  i[14]("minbet") + ""
373
- ), z, L, j, E, w, B, I, F = (
373
+ ), j, L, z, E, w, B, I, F = (
374
374
  /*$_*/
375
375
  i[14]("seegames") + ""
376
376
  ), P, N, M, G = (
@@ -386,7 +386,7 @@ function le(i) {
386
386
  function X(u, g) {
387
387
  return (
388
388
  /*thumbnail*/
389
- u[3] ? ze : Fe
389
+ u[3] ? je : Fe
390
390
  );
391
391
  }
392
392
  let r = X(i), k = r(i), S = (
@@ -403,7 +403,7 @@ function le(i) {
403
403
  /*showScoreCriteria*/
404
404
  i[12]
405
405
  ), W = T(`
406
- (`), z = T(x), L = R(), j = T(
406
+ (`), j = T(x), L = R(), z = T(
407
407
  /*minbetcount*/
408
408
  i[5]
409
409
  ), E = T(")"), w = R(), B = p("div"), I = p("p"), P = T(F), N = R(), M = p("a"), U = T(G), m(s, "class", "Title"), m(s, "part", "Title"), m(J, "part", "ScoreCriteriaSpan"), m(C, "part", "ScoreCriteriaP"), m(b, "class", "ScoreCriteria"), m(b, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
@@ -415,7 +415,7 @@ function le(i) {
415
415
  i[8] === "true" ? "_self" : "_blank"), m(I, "part", "GamesP"), m(B, "class", "Games"), m(B, "part", "Games"), m(a, "class", "Details"), m(a, "part", "Details");
416
416
  },
417
417
  m(u, g) {
418
- y && y.m(u, g), A(u, e, g), f && f.m(u, g), A(u, t, g), k.m(u, g), A(u, n, g), A(u, a, g), c(a, s), c(s, l), c(a, o), S && S.m(a, null), c(a, d), c(a, b), c(b, C), c(C, H), c(C, Y), c(C, J), c(J, V), c(C, W), c(C, z), c(C, L), c(C, j), c(C, E), c(a, w), c(a, B), c(B, I), c(I, P), c(I, N), c(I, M), c(M, U), K || (Q = [
418
+ y && y.m(u, g), A(u, e, g), f && f.m(u, g), A(u, t, g), k.m(u, g), A(u, n, g), A(u, a, g), c(a, s), c(s, l), c(a, o), S && S.m(a, null), c(a, d), c(a, b), c(b, C), c(C, H), c(C, Y), c(C, J), c(J, V), c(C, W), c(C, j), c(C, L), c(C, z), c(C, E), c(a, w), c(a, B), c(B, I), c(I, P), c(I, N), c(I, M), c(M, U), K || (Q = [
419
419
  $(
420
420
  s,
421
421
  "click",
@@ -452,9 +452,9 @@ function le(i) {
452
452
  u[12]
453
453
  ), g[0] & /*$_*/
454
454
  16384 && x !== (x = /*$_*/
455
- u[14]("minbet") + "") && D(z, x), g[0] & /*minbetcount*/
455
+ u[14]("minbet") + "") && D(j, x), g[0] & /*minbetcount*/
456
456
  32 && D(
457
- j,
457
+ z,
458
458
  /*minbetcount*/
459
459
  u[5]
460
460
  ), g[0] & /*$_*/
@@ -591,7 +591,7 @@ function Fe(i) {
591
591
  }
592
592
  };
593
593
  }
594
- function ze(i) {
594
+ function je(i) {
595
595
  let e, t, n, a, s, l, o;
596
596
  return {
597
597
  c() {
@@ -668,7 +668,7 @@ function de(i) {
668
668
  }
669
669
  };
670
670
  }
671
- function je(i) {
671
+ function ze(i) {
672
672
  let e, t, n, a = (
673
673
  /*title*/
674
674
  i[1] === "undefined" && se()
@@ -701,10 +701,10 @@ function je(i) {
701
701
  function Ne(i, e, t) {
702
702
  let n;
703
703
  ye(i, Je, (r) => t(14, n = r));
704
- let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: C = "" } = e, { scorecriteria: v = "" } = e, { minbetcount: H = "" } = e, { showenrolled: Y = "false" } = e, { detailsevent: J = "" } = e, { gameurl: V = "" } = e, { lang: W = "en" } = e, { keepbrowsercontext: x = "false" } = e, { clientstyling: z = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: j = "" } = e, { mbsource: E } = e, w, B, I = "", F = "", P = "", N = "";
704
+ let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: C = "" } = e, { scorecriteria: v = "" } = e, { minbetcount: H = "" } = e, { showenrolled: Y = "false" } = e, { detailsevent: J = "" } = e, { gameurl: V = "" } = e, { lang: W = "en" } = e, { keepbrowsercontext: x = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: z = "" } = e, { mbsource: E } = e, w, B, I = "", F = "", P = "", N = "";
705
705
  Re({ withLocale: "en", translations: {} });
706
706
  const M = () => {
707
- fetch(j).then((r) => r.json()).then((r) => {
707
+ fetch(z).then((r) => r.json()).then((r) => {
708
708
  Object.keys(r).forEach((k) => {
709
709
  re(k, r[k]);
710
710
  }), l && f();
@@ -758,13 +758,13 @@ function Ne(i, e, t) {
758
758
  });
759
759
  }
760
760
  return i.$$set = (r) => {
761
- "userid" in r && t(20, a = r.userid), "title" in r && t(1, s = r.title), "startdate" in r && t(2, l = r.startdate), "status" in r && t(0, o = r.status), "tourid" in r && t(21, d = r.tourid), "thumbnail" in r && t(3, b = r.thumbnail), "userenrolled" in r && t(4, C = r.userenrolled), "scorecriteria" in r && t(22, v = r.scorecriteria), "minbetcount" in r && t(5, H = r.minbetcount), "showenrolled" in r && t(6, Y = r.showenrolled), "detailsevent" in r && t(23, J = r.detailsevent), "gameurl" in r && t(7, V = r.gameurl), "lang" in r && t(24, W = r.lang), "keepbrowsercontext" in r && t(8, x = r.keepbrowsercontext), "clientstyling" in r && t(25, z = r.clientstyling), "clientstylingurl" in r && t(26, L = r.clientstylingurl), "translationurl" in r && t(27, j = r.translationurl), "mbsource" in r && t(28, E = r.mbsource);
761
+ "userid" in r && t(20, a = r.userid), "title" in r && t(1, s = r.title), "startdate" in r && t(2, l = r.startdate), "status" in r && t(0, o = r.status), "tourid" in r && t(21, d = r.tourid), "thumbnail" in r && t(3, b = r.thumbnail), "userenrolled" in r && t(4, C = r.userenrolled), "scorecriteria" in r && t(22, v = r.scorecriteria), "minbetcount" in r && t(5, H = r.minbetcount), "showenrolled" in r && t(6, Y = r.showenrolled), "detailsevent" in r && t(23, J = r.detailsevent), "gameurl" in r && t(7, V = r.gameurl), "lang" in r && t(24, W = r.lang), "keepbrowsercontext" in r && t(8, x = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, L = r.clientstylingurl), "translationurl" in r && t(27, z = r.translationurl), "mbsource" in r && t(28, E = r.mbsource);
762
762
  }, i.$$.update = () => {
763
763
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
764
- 33554944 && z && w && ve(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
764
+ 33554944 && j && w && ve(w, j), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
765
765
  67109376 && L && w && Te(w, L), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
766
766
  268435968 && E && w && we(w, `${E}.Style`, B), i.$$.dirty[0] & /*translationurl*/
767
- 134217728 && j && M(), i.$$.dirty[0] & /*status*/
767
+ 134217728 && z && M(), i.$$.dirty[0] & /*status*/
768
768
  1 && o && O(), i.$$.dirty[0] & /*title, lang*/
769
769
  16777218 && s && W && f(), i.$$.dirty[0] & /*startdate*/
770
770
  4 && l && U(), i.$$.dirty[0] & /*scorecriteria*/
@@ -795,9 +795,9 @@ function Ne(i, e, t) {
795
795
  v,
796
796
  J,
797
797
  W,
798
- z,
799
- L,
800
798
  j,
799
+ L,
800
+ z,
801
801
  E,
802
802
  X
803
803
  ];
@@ -808,7 +808,7 @@ class Oe extends fe {
808
808
  this,
809
809
  e,
810
810
  Ne,
811
- je,
811
+ ze,
812
812
  pe,
813
813
  {
814
814
  userid: 20,
@@ -1,4 +1,4 @@
1
- import { C as ae, D as Ke, a as Xe, S as Ve, i as Ze, s as Qe, f as _, b as Ye, n as Y, d as w, B as s, h as g, e as b, q as T, g as F, r as B, k as $e, o as et, E as Ee, u as tt, A as ue, F as nt, p as D, t as C, G as rt, v as x, H as fe, w as L, x as it, y as ot, z as st, c as lt, $ as at } from "./CasinoTournamentsController-Cmk_sscD.js";
1
+ import { b as ae, $ as Ke, d as Xe, S as Ve, t as Ze, B as Qe, r as _, h as Ye, y as Y, n as w, G as s, i as g, u as b, g as T, o as F, J as B, k as $e, z as et, s as Ee, j as tt, p as ue, c as nt, H as D, M as C, A as rt, x as R, w as fe, L, D as it, E as ot, F as st, l as lt, a as at } from "./CasinoTournamentsController-lJfLLRnq.js";
2
2
  function ut({ withLocale: r, translations: e }) {
3
3
  ae.subscribe((t) => {
4
4
  t == null && (Ke.set(e), ae.set(r));
@@ -112,7 +112,7 @@ if (typeof window < "u") {
112
112
  }
113
113
  };
114
114
  };
115
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-CAhPDUeT.js").then(({ default: e }) => {
115
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-D87z-Own.js").then(({ default: e }) => {
116
116
  !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
117
117
  });
118
118
  }
@@ -128,7 +128,7 @@ if (typeof window < "u") {
128
128
  }
129
129
  };
130
130
  };
131
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-khP6Eyhg.js").then(({ default: e }) => {
131
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-B2Y3C4cx.js").then(({ default: e }) => {
132
132
  !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
133
133
  "casino-tournaments-thumbnail-duration",
134
134
  e.element
@@ -147,7 +147,7 @@ if (typeof window < "u") {
147
147
  }
148
148
  };
149
149
  };
150
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-CuSSpsU9.js").then(({ default: e }) => {
150
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-CPgEr0rk.js").then(({ default: e }) => {
151
151
  !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
152
152
  });
153
153
  }
@@ -163,7 +163,7 @@ if (typeof window < "u") {
163
163
  }
164
164
  };
165
165
  };
166
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-CBtsc19f.js").then(
166
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-COj5bcj7.js").then(
167
167
  ({ default: e }) => {
168
168
  !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
169
169
  "casino-tournaments-thumbnail-games-slider",
@@ -199,10 +199,10 @@ function dt(r) {
199
199
  let h = p(r), a = h && h(r), d = (
200
200
  /*errorJoin*/
201
201
  (r[18] || /*errorJoinConcurrently*/
202
- r[20]) && Ae(r)
202
+ r[20]) && Me(r)
203
203
  ), v = (
204
204
  /*showslider*/
205
- r[3] == "true" && Me(r)
205
+ r[3] == "true" && Ae(r)
206
206
  );
207
207
  return {
208
208
  c() {
@@ -303,8 +303,8 @@ function dt(r) {
303
303
  c[23]
304
304
  ), h === (h = p(c)) && a ? a.p(c, k) : (a && a.d(1), a = h && h(c), a && (a.c(), a.m(o, null))), /*errorJoin*/
305
305
  c[18] || /*errorJoinConcurrently*/
306
- c[20] ? d ? d.p(c, k) : (d = Ae(c), d.c(), d.m(u.parentNode, u)) : d && (d.d(1), d = null), /*showslider*/
307
- c[3] == "true" ? v ? v.p(c, k) : (v = Me(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
306
+ c[20] ? d ? d.p(c, k) : (d = Me(c), d.c(), d.m(u.parentNode, u)) : d && (d.d(1), d = null), /*showslider*/
307
+ c[3] == "true" ? v ? v.p(c, k) : (v = Ae(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
308
308
  },
309
309
  d(c) {
310
310
  c && (w(e), w(t), w(n), w(o), w(l), w(u), w(f)), m && m.d(c), a && a.d(), d && d.d(c), v && v.d(c);
@@ -419,7 +419,7 @@ function gt(r) {
419
419
  e = F("button"), n = C(t), g(e, "class", "DetailsLargeButton"), g(e, "part", "DetailsLargeButton");
420
420
  },
421
421
  m(u, f) {
422
- b(u, e, f), T(e, n), o || (l = x(e, "click", function() {
422
+ b(u, e, f), T(e, n), o || (l = R(e, "click", function() {
423
423
  fe(
424
424
  /*detailsAction*/
425
425
  r[36].bind(
@@ -486,13 +486,13 @@ function pt(r) {
486
486
  },
487
487
  m(h, a) {
488
488
  b(h, e, a), T(e, n), b(h, o, a), b(h, l, a), T(l, f), m || (p = [
489
- x(
489
+ R(
490
490
  e,
491
491
  "click",
492
492
  /*loginAction*/
493
493
  r[34]
494
494
  ),
495
- x(
495
+ R(
496
496
  l,
497
497
  "click",
498
498
  /*registerAction*/
@@ -522,7 +522,7 @@ function Le(r) {
522
522
  e = F("button"), n = C(t), g(e, "class", "DetailsButton"), g(e, "part", "DetailsButton");
523
523
  },
524
524
  m(u, f) {
525
- b(u, e, f), T(e, n), o || (l = x(e, "click", function() {
525
+ b(u, e, f), T(e, n), o || (l = R(e, "click", function() {
526
526
  fe(
527
527
  /*detailsAction*/
528
528
  r[36].bind(
@@ -564,7 +564,7 @@ function wt(r) {
564
564
  r[18];
565
565
  },
566
566
  m(p, h) {
567
- b(p, e, h), m.m(e, null), o || (l = x(
567
+ b(p, e, h), m.m(e, null), o || (l = R(
568
568
  e,
569
569
  "click",
570
570
  /*click_handler*/
@@ -665,7 +665,7 @@ function Pe(r) {
665
665
  }
666
666
  };
667
667
  }
668
- function Ae(r) {
668
+ function Me(r) {
669
669
  let e, t = (
670
670
  /*$_*/
671
671
  r[33]("joinerror") + ""
@@ -695,7 +695,7 @@ function Ae(r) {
695
695
  }
696
696
  };
697
697
  }
698
- function Me(r) {
698
+ function Ae(r) {
699
699
  let e, t, n = (
700
700
  /*isLoading*/
701
701
  r[16] && Ie()
@@ -1044,9 +1044,9 @@ function yt(r) {
1044
1044
  function Tt(r, e, t) {
1045
1045
  let n;
1046
1046
  $e(r, at, (i) => t(33, n = i));
1047
- let { session: o = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint: m = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: a = "" } = e, { maxwidth: d = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: J = "" } = e, { detailsevent: me = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: de = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: q = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: ee } = e, E, Oe, A = !1, X = "", M = !0, ce = window.navigator.userAgent, V = !1, Z = !1, ge = "There was an error while trying to join the tournament", te = !1, ne, he, pe, I, j, we, re, be, ke, _e = [], ie = [], ye = "#", Q = !1;
1047
+ let { session: o = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint: m = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: a = "" } = e, { maxwidth: d = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: x = "" } = e, { detailsevent: me = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: de = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: q = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: ee } = e, E, Je, M = !1, X = "", A = !0, ce = window.navigator.userAgent, V = !1, Z = !1, ge = "There was an error while trying to join the tournament", te = !1, ne, he, pe, I, j, we, re, be, ke, _e = [], ie = [], ye = "#", Q = !1;
1048
1048
  ut({ withLocale: "en", translations: {} });
1049
- const Re = () => {
1049
+ const Oe = () => {
1050
1050
  fetch(q).then((y) => y.json()).then((y) => {
1051
1051
  Object.keys(y).forEach((z) => {
1052
1052
  je(z, y[z]);
@@ -1059,9 +1059,9 @@ function Tt(r, e, t) {
1059
1059
  je(i, Ce[i]);
1060
1060
  });
1061
1061
  const Te = (i) => {
1062
- xe(i), oe(i), ze(this, j);
1062
+ Re(i), oe(i), ze(this, j);
1063
1063
  }, Fe = (i) => {
1064
- if (i.data && i.data.type == "UserSessionID" && (t(15, A = !0), X = i.data.session, Se(m)), i.data.type == "UpdateTournamentView") {
1064
+ if (i.data && i.data.type == "UserSessionID" && (t(15, M = !0), X = i.data.session, Se(m)), i.data.type == "UpdateTournamentView") {
1065
1065
  let y = i.data.tournamentData;
1066
1066
  if (j && j != y.id)
1067
1067
  return;
@@ -1081,7 +1081,7 @@ function Tt(r, e, t) {
1081
1081
  z + 200
1082
1082
  );
1083
1083
  }
1084
- }, xe = (i) => {
1084
+ }, Re = (i) => {
1085
1085
  i.state != I && (t(24, I = i.state), window.postMessage(
1086
1086
  {
1087
1087
  type: `TournamentStatus_${j}`,
@@ -1089,14 +1089,14 @@ function Tt(r, e, t) {
1089
1089
  },
1090
1090
  window.location.href
1091
1091
  ));
1092
- }, Je = () => {
1092
+ }, xe = () => {
1093
1093
  k && (window.postMessage({ type: k, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1094
1094
  context: "TournamentsThumbnailController"
1095
1095
  })), U && (window.location = U);
1096
1096
  }, Ue = () => {
1097
- J && (window.postMessage(
1097
+ x && (window.postMessage(
1098
1098
  {
1099
- type: J,
1099
+ type: x,
1100
1100
  transition: "Register"
1101
1101
  },
1102
1102
  window.location.href
@@ -1127,7 +1127,7 @@ function Tt(r, e, t) {
1127
1127
  currency: $,
1128
1128
  type: "tournament"
1129
1129
  });
1130
- let O = {
1130
+ let J = {
1131
1131
  method: "PUT",
1132
1132
  headers: P,
1133
1133
  body: JSON.stringify(se)
@@ -1136,23 +1136,23 @@ function Tt(r, e, t) {
1136
1136
  t(17, V = !1), t(27, re = !0);
1137
1137
  }, le = (S) => {
1138
1138
  t(17, V = !1), S && t(19, ge = S), t(18, Z = !0);
1139
- }, R = await (async () => {
1139
+ }, O = await (async () => {
1140
1140
  let S;
1141
1141
  try {
1142
- S = await fetch(z, O), S = await S.json();
1142
+ S = await fetch(z, J), S = await S.json();
1143
1143
  } catch {
1144
1144
  le();
1145
1145
  }
1146
1146
  return S;
1147
1147
  })();
1148
- if (R)
1149
- if (R.success == !0)
1148
+ if (O)
1149
+ if (O.success == !0)
1150
1150
  Be();
1151
- else if (R.errorMessage.match("VersionMismatchException")) {
1151
+ else if (O.errorMessage.match("VersionMismatchException")) {
1152
1152
  let S;
1153
- S = await fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), S = await S.json(), S?.item?.playerEnrolled ? Be() : (le(R.errorMessage), t(20, te = !0), t(18, Z = !1));
1153
+ S = await fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), S = await S.json(), S?.item?.playerEnrolled ? Be() : (le(O.errorMessage), t(20, te = !0), t(18, Z = !1));
1154
1154
  } else
1155
- le(R.errorMessage);
1155
+ le(O.errorMessage);
1156
1156
  }, ze = (i, y) => {
1157
1157
  window.postMessage(
1158
1158
  {
@@ -1164,23 +1164,23 @@ function Tt(r, e, t) {
1164
1164
  }, oe = (i) => {
1165
1165
  i && (t(21, ne = i.nameOrTitle || ""), t(22, he = i.startTime), t(23, pe = i.endTime), t(24, I = i.state), t(25, j = i.id), t(26, we = i.thumbnail), t(27, re = i.playerEnrolled === "true" || i.playerEnrolled == !0 || !1), t(28, be = i.scoreCriteria), t(29, ke = i.minBetCount), _e = i.prizes, t(30, ie = i.wallets || []), t(31, ye = i.termsUrl || "#"));
1166
1166
  }, Se = (i) => {
1167
- t(16, M = !0);
1167
+ t(16, A = !0);
1168
1168
  const y = i ? `${i}/v1/tournaments/${ee}` : u, z = new URL(y), P = new Headers();
1169
- z.searchParams.append("language", c), z.searchParams.append("platform", Ee(ce)), A && P.append("X-SessionID", X), fetch(z, { method: "GET", headers: P }).then((O) => O.json()).then((O) => {
1170
- oe(O.item);
1169
+ z.searchParams.append("language", c), z.searchParams.append("platform", Ee(ce)), M && P.append("X-SessionID", X), fetch(z, { method: "GET", headers: P }).then((J) => J.json()).then((J) => {
1170
+ oe(J.item);
1171
1171
  }).finally(() => {
1172
- t(16, M = !1);
1172
+ t(16, A = !1);
1173
1173
  });
1174
1174
  }, Ne = () => {
1175
- t(15, A = o?.length > 10), A && (X = o);
1175
+ t(15, M = o?.length > 10), M && (X = o);
1176
1176
  }, Ge = () => {
1177
1177
  if (W) {
1178
1178
  oe(W);
1179
1179
  return;
1180
1180
  }
1181
- t(16, M = !0), Se(m);
1181
+ t(16, A = !0), Se(m);
1182
1182
  };
1183
- et(() => (t(16, M = !ne), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Fe, !1), () => {
1183
+ et(() => (t(16, A = !ne), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Fe, !1), () => {
1184
1184
  window.removeEventListener("message", Fe);
1185
1185
  }));
1186
1186
  const qe = () => ve(j, ie);
@@ -1190,16 +1190,16 @@ function Tt(r, e, t) {
1190
1190
  });
1191
1191
  }
1192
1192
  return r.$$set = (i) => {
1193
- "session" in i && t(39, o = i.session), "userid" in i && t(0, l = i.userid), "tournamenturl" in i && t(1, u = i.tournamenturl), "touridx" in i && t(40, f = i.touridx), "endpoint" in i && t(41, m = i.endpoint), "showdetails" in i && t(2, p = i.showdetails), "showslider" in i && t(3, h = i.showslider), "showenrolled" in i && t(4, a = i.showenrolled), "maxwidth" in i && t(5, d = i.maxwidth), "fullsize" in i && t(6, v = i.fullsize), "lang" in i && t(7, c = i.lang), "loginevent" in i && t(42, k = i.loginevent), "registerevent" in i && t(43, J = i.registerevent), "detailsevent" in i && t(8, me = i.detailsevent), "loginurl" in i && t(44, U = i.loginurl), "registerurl" in i && t(45, H = i.registerurl), "currency" in i && t(46, $ = i.currency), "keepbrowsercontext" in i && t(9, de = i.keepbrowsercontext), "clientstyling" in i && t(10, N = i.clientstyling), "clientstylingurl" in i && t(11, G = i.clientstylingurl), "translationurl" in i && t(12, q = i.translationurl), "tournamentinfo" in i && t(47, W = i.tournamentinfo), "mbsource" in i && t(13, K = i.mbsource), "tournamentid" in i && t(48, ee = i.tournamentid);
1193
+ "session" in i && t(39, o = i.session), "userid" in i && t(0, l = i.userid), "tournamenturl" in i && t(1, u = i.tournamenturl), "touridx" in i && t(40, f = i.touridx), "endpoint" in i && t(41, m = i.endpoint), "showdetails" in i && t(2, p = i.showdetails), "showslider" in i && t(3, h = i.showslider), "showenrolled" in i && t(4, a = i.showenrolled), "maxwidth" in i && t(5, d = i.maxwidth), "fullsize" in i && t(6, v = i.fullsize), "lang" in i && t(7, c = i.lang), "loginevent" in i && t(42, k = i.loginevent), "registerevent" in i && t(43, x = i.registerevent), "detailsevent" in i && t(8, me = i.detailsevent), "loginurl" in i && t(44, U = i.loginurl), "registerurl" in i && t(45, H = i.registerurl), "currency" in i && t(46, $ = i.currency), "keepbrowsercontext" in i && t(9, de = i.keepbrowsercontext), "clientstyling" in i && t(10, N = i.clientstyling), "clientstylingurl" in i && t(11, G = i.clientstylingurl), "translationurl" in i && t(12, q = i.translationurl), "tournamentinfo" in i && t(47, W = i.tournamentinfo), "mbsource" in i && t(13, K = i.mbsource), "tournamentid" in i && t(48, ee = i.tournamentid);
1194
1194
  }, r.$$.update = () => {
1195
1195
  r.$$.dirty[0] & /*lang*/
1196
1196
  128 && c && ft(c), r.$$.dirty[0] & /*translationurl*/
1197
- 4096 && q && Re(), r.$$.dirty[1] & /*session*/
1197
+ 4096 && q && Oe(), r.$$.dirty[1] & /*session*/
1198
1198
  256 && o && Ne(), r.$$.dirty[0] & /*tournamenturl, lang*/
1199
1199
  130 && u && c && Ge(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1200
1200
  17408 && N && E && it(E, N), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1201
1201
  18432 && G && E && ot(E, G), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1202
- 24576 && K && E && st(E, `${K}.Style`, Oe);
1202
+ 24576 && K && E && st(E, `${K}.Style`, Je);
1203
1203
  }, [
1204
1204
  l,
1205
1205
  u,
@@ -1216,8 +1216,8 @@ function Tt(r, e, t) {
1216
1216
  q,
1217
1217
  K,
1218
1218
  E,
1219
- A,
1220
1219
  M,
1220
+ A,
1221
1221
  V,
1222
1222
  Z,
1223
1223
  ge,
@@ -1235,7 +1235,7 @@ function Tt(r, e, t) {
1235
1235
  ye,
1236
1236
  Q,
1237
1237
  n,
1238
- Je,
1238
+ xe,
1239
1239
  Ue,
1240
1240
  He,
1241
1241
  ve,
@@ -1244,7 +1244,7 @@ function Tt(r, e, t) {
1244
1244
  f,
1245
1245
  m,
1246
1246
  k,
1247
- J,
1247
+ x,
1248
1248
  U,
1249
1249
  H,
1250
1250
  $,