@everymatrix/casino-tournaments-page-controller 1.99.19 → 1.99.21

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 (41) hide show
  1. package/components/{CasinoTournamentsDetails-C0QrRLi-.cjs → CasinoTournamentsDetails-BrQ2HnAr.cjs} +1 -1
  2. package/components/{CasinoTournamentsDetails-BrbraCkO.js → CasinoTournamentsDetails-CA6Zygdk.js} +1 -1
  3. package/components/{CasinoTournamentsDetails-D_YdJUr5.js → CasinoTournamentsDetails-_ejrbllp.js} +1 -1
  4. package/components/{CasinoTournamentsPageController-Dt1XLlA4.cjs → CasinoTournamentsPageController-2Q41Ke-z.cjs} +1 -1
  5. package/components/{CasinoTournamentsPageController-eZFRhTiQ.js → CasinoTournamentsPageController-BsV52TMe.js} +7 -7
  6. package/components/{CasinoTournamentsPageController-DgH0TZSG.js → CasinoTournamentsPageController-DwujtLfC.js} +7 -7
  7. package/components/{CasinoTournamentsRank-CkYc2Mrt.cjs → CasinoTournamentsRank-CGShOpo4.cjs} +1 -1
  8. package/components/{CasinoTournamentsRank-B-2cHybW.js → CasinoTournamentsRank-CWtetLCL.js} +1 -1
  9. package/components/{CasinoTournamentsRank-BJ0oUDhA.js → CasinoTournamentsRank-x79eSTBE.js} +1 -1
  10. package/components/{CasinoTournamentsTab-Dp2gFksM.cjs → CasinoTournamentsTab-BP9Oknnn.cjs} +1 -1
  11. package/components/{CasinoTournamentsTab-BDFff-PQ.js → CasinoTournamentsTab-BbQDeN8C.js} +1 -1
  12. package/components/{CasinoTournamentsTab-BcJ868WY.js → CasinoTournamentsTab-CrneFOaX.js} +1 -1
  13. package/components/{CasinoTournamentsTable-DEHmU5BG.js → CasinoTournamentsTable-BLQkiAEN.js} +1 -1
  14. package/components/{CasinoTournamentsTable-vxL-angQ.js → CasinoTournamentsTable-Caii3oPe.js} +1 -1
  15. package/components/{CasinoTournamentsTable-Cq2d7umH.cjs → CasinoTournamentsTable-tcT6q_7u.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnail-DIAbp-78.js → CasinoTournamentsThumbnail-BRYdP9qm.js} +1 -1
  17. package/components/{CasinoTournamentsThumbnail-B9ZlFnj1.cjs → CasinoTournamentsThumbnail-CNmmHtEd.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnail-QxqbCqyZ.js → CasinoTournamentsThumbnail-Ds8T1o0j.js} +1 -1
  19. package/components/{CasinoTournamentsThumbnailController-CAN1ls4O.cjs → CasinoTournamentsThumbnailController-CJ2uLgvd.cjs} +1 -1
  20. package/components/{CasinoTournamentsThumbnailController-DLM_uDMp.js → CasinoTournamentsThumbnailController-DokpNVyw.js} +5 -5
  21. package/components/{CasinoTournamentsThumbnailController-D7R7A-VD.js → CasinoTournamentsThumbnailController-HY2JFbTd.js} +5 -5
  22. package/components/{CasinoTournamentsThumbnailDuration-BnaZ4M7a.js → CasinoTournamentsThumbnailDuration-Bnqlwmz_.js} +1 -1
  23. package/components/{CasinoTournamentsThumbnailDuration-D5Onr2HT.cjs → CasinoTournamentsThumbnailDuration-BubMBdcE.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailDuration-D617nOfg.js → CasinoTournamentsThumbnailDuration-CBqVPWsI.js} +1 -1
  25. package/components/{CasinoTournamentsThumbnailGames-OvJbVuJE.js → CasinoTournamentsThumbnailGames-BLOqlIkg.js} +51 -51
  26. package/components/CasinoTournamentsThumbnailGames-CAIQ01Ot.cjs +1 -0
  27. package/components/{CasinoTournamentsThumbnailGames-s_NWyHgS.js → CasinoTournamentsThumbnailGames-D_5uu_p7.js} +49 -49
  28. package/components/{CasinoTournamentsThumbnailGamesSlider-SCtIWucy.js → CasinoTournamentsThumbnailGamesSlider-CEfLmxre.js} +1 -1
  29. package/components/{CasinoTournamentsThumbnailGamesSlider-xBz5YBCC.cjs → CasinoTournamentsThumbnailGamesSlider-VLkc_Vv8.cjs} +1 -1
  30. package/components/{CasinoTournamentsThumbnailGamesSlider-CXFdoAdS.js → CasinoTournamentsThumbnailGamesSlider-hIf2mbJw.js} +1 -1
  31. package/components/{CasinoTournamentsThumbnailPrizes-4PqmJr7X.cjs → CasinoTournamentsThumbnailPrizes-B3_Gnn1e.cjs} +1 -1
  32. package/components/{CasinoTournamentsThumbnailPrizes-B40bHEQD.js → CasinoTournamentsThumbnailPrizes-Dhk72aUj.js} +1 -1
  33. package/components/{CasinoTournamentsThumbnailPrizes-C2E5VnRp.js → CasinoTournamentsThumbnailPrizes-o1_FyAUh.js} +1 -1
  34. package/components/{CasinoTournamentsThumbnailRule-BOT0mNDv.cjs → CasinoTournamentsThumbnailRule-SL0pmBia.cjs} +1 -1
  35. package/components/{CasinoTournamentsThumbnailRule-DSVF1cQ4.js → CasinoTournamentsThumbnailRule-bWn9s0bb.js} +1 -1
  36. package/components/{CasinoTournamentsThumbnailRule-D5eg2HHv.js → CasinoTournamentsThumbnailRule-skyKjwKQ.js} +1 -1
  37. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  38. package/es2015/casino-tournaments-page-controller.js +1 -1
  39. package/esnext/casino-tournaments-page-controller.js +1 -1
  40. package/package.json +1 -1
  41. package/components/CasinoTournamentsThumbnailGames-BThWRDR6.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { $ as K, y as de, z as pe, S as he, i as be, s as _e, f as I, a as we, G as H, n as ee, d as F, H as me, h as o, b as W, c as m, e as v, g as z, B as ve, j as ye, K as Te, o as Ge, A as k, E as Ce, k as j, l as Z, q, t as D, p as te, D as ke, I as ae, r as Pe, u as Ne, v as Ee, w as Me, x as Le, F as Be } from "./CasinoTournamentsPageController-eZFRhTiQ.js";
1
+ import { $ as K, y as fe, z as pe, S as he, i as be, s as _e, f as I, a as we, G as H, n as ee, d as F, H as me, h as o, b as W, c as m, e as v, g as z, B as ve, j as ye, K as Te, o as Ge, A as k, E as Ce, k as j, l as Z, q, t as D, p as te, D as ke, I as ae, r as Pe, u as Ne, v as Ee, w as Me, x as Le, F as Be } from "./CasinoTournamentsPageController-BsV52TMe.js";
2
2
  import "../stencil/ui-image-BiEqrTjD.js";
3
3
  function Ae({ withLocale: a, translations: e }) {
4
4
  K.subscribe((t) => {
5
- t == null && (de.set(e), K.set(a));
5
+ t == null && (fe.set(e), K.set(a));
6
6
  });
7
7
  }
8
8
  function ne(a, e) {
@@ -41,7 +41,7 @@ const se = {
41
41
  }
42
42
  };
43
43
  function ze(a) {
44
- we(a, "svelte-h1f7fe", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
44
+ we(a, "svelte-21pfll", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:grid;grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));gap:var(--emw--spacing-small, 16px)}.GamesWrapper .item{height:auto;margin:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.GamesWrapper .item ui-image img{width:100%;height:auto;display:block}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
45
45
  }
46
46
  function le(a, e, t) {
47
47
  const n = a.slice();
@@ -220,8 +220,8 @@ function re(a) {
220
220
  a[32].name), o(e, "class", "item"), o(e, "id", "g_" + /*idx*/
221
221
  a[36]), o(e, "role", "button"), o(e, "tabindex", "0");
222
222
  },
223
- m(b, d) {
224
- W(b, e, d), m(e, t), m(t, s), m(e, r), m(e, i), m(e, E), h || (c = Z(e, "click", function() {
223
+ m(b, f) {
224
+ W(b, e, f), m(e, t), m(t, s), m(e, r), m(e, i), m(e, E), h || (c = Z(e, "click", function() {
225
225
  Pe(
226
226
  /*gameClicked*/
227
227
  a[15](
@@ -234,14 +234,14 @@ function re(a) {
234
234
  ).apply(this, arguments);
235
235
  }), h = !0);
236
236
  },
237
- p(b, d) {
238
- a = b, d[0] & /*$_*/
237
+ p(b, f) {
238
+ a = b, f[0] & /*$_*/
239
239
  8192 && n !== (n = /*$_*/
240
- a[13]("playNow") + "") && j(s, n), d[0] & /*casinoGames*/
240
+ a[13]("playNow") + "") && j(s, n), f[0] & /*casinoGames*/
241
241
  256 && !ae(i.src, g = /*item*/
242
- a[32].thumbnail) && k(i, "src", g), d[0] & /*casinoGames*/
242
+ a[32].thumbnail) && k(i, "src", g), f[0] & /*casinoGames*/
243
243
  256 && p !== (p = /*item*/
244
- a[32].name) && k(i, "alt", p), d[0] & /*casinoGames*/
244
+ a[32].name) && k(i, "alt", p), f[0] & /*casinoGames*/
245
245
  256 && y !== (y = /*item*/
246
246
  a[32].name) && k(i, "title", y);
247
247
  },
@@ -254,24 +254,24 @@ function Re(a) {
254
254
  let e, t, n, s, r, i, g, p = (
255
255
  /*$_*/
256
256
  a[13]("previous") + ""
257
- ), y, E, h, c, b, d, P = (
257
+ ), y, E, h, c, b, f, P = (
258
258
  /*$_*/
259
259
  a[13]("next") + ""
260
- ), T, G, f, M, A, u, C, N, B, w;
260
+ ), T, G, d, M, A, u, C, N, B, w;
261
261
  return {
262
262
  c() {
263
- e = v("div"), t = v("button"), n = q("svg"), s = q("path"), i = z(), g = v("span"), y = D(p), c = z(), b = v("button"), d = v("span"), T = D(P), G = z(), f = q("svg"), M = q("path"), o(s, "fill", r = /*hasPreviousPage*/
263
+ e = v("div"), t = v("button"), n = q("svg"), s = q("path"), i = z(), g = v("span"), y = D(p), c = z(), b = v("button"), f = v("span"), T = D(P), G = z(), d = q("svg"), M = q("path"), o(s, "fill", r = /*hasPreviousPage*/
264
264
  a[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(s, "class", "a"), o(s, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(s, "transform", "translate(19.246 -6.188) rotate(90)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "8"), o(n, "height", "13.992"), o(n, "viewBox", "0 0 8 13.992"), o(g, "class", "TournamentsPaginationControlsText"), o(t, "class", E = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
265
265
  a[10] ? "" : "Disabled")), t.disabled = h = /*hasPreviousPage*/
266
- !a[10], o(d, "class", "TournamentsPaginationControlsText"), o(M, "fill", A = /*hasNextPage*/
267
- a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(M, "class", "a"), o(M, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(M, "transform", "translate(-11.246 20.179) rotate(-90)"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "8"), o(f, "height", "13.992"), o(f, "viewBox", "0 0 8 13.992"), o(b, "class", u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
266
+ !a[10], o(f, "class", "TournamentsPaginationControlsText"), o(M, "fill", A = /*hasNextPage*/
267
+ a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(M, "class", "a"), o(M, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(M, "transform", "translate(-11.246 20.179) rotate(-90)"), o(d, "xmlns", "http://www.w3.org/2000/svg"), o(d, "width", "8"), o(d, "height", "13.992"), o(d, "viewBox", "0 0 8 13.992"), o(b, "class", u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
268
268
  a[11] ? "" : "Disabled")), b.disabled = C = /*hasNextPage*/
269
269
  !a[11], o(e, "class", N = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
270
270
  a[10] && !/*hasNextPage*/
271
271
  a[11] ? "SinglePage" : ""));
272
272
  },
273
273
  m(_, L) {
274
- W(_, e, L), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, y), m(e, c), m(e, b), m(b, d), m(d, T), m(b, G), m(b, f), m(f, M), B || (w = [
274
+ W(_, e, L), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, y), m(e, c), m(e, b), m(b, f), m(f, T), m(b, G), m(b, d), m(d, M), B || (w = [
275
275
  Z(
276
276
  t,
277
277
  "click",
@@ -361,18 +361,18 @@ function Oe(a) {
361
361
  )
362
362
  );
363
363
  }
364
- let d = b(a), P = d(a), T = !/*isMobileDevice*/
364
+ let f = b(a), P = f(a), T = !/*isMobileDevice*/
365
365
  a[14] && Re(a), G = H(
366
366
  /*sportsRules*/
367
367
  a[7]
368
- ), f = [];
368
+ ), d = [];
369
369
  for (let u = 0; u < G.length; u += 1)
370
- f[u] = ue(le(a, G, u));
370
+ d[u] = ue(le(a, G, u));
371
371
  return {
372
372
  c() {
373
373
  e = v("div"), c && c.c(), t = z(), n = v("div"), s = v("div"), r = v("div"), P.c(), i = z(), T && T.c(), p = z(), y = v("div"), E = v("ul");
374
- for (let u = 0; u < f.length; u += 1)
375
- f[u].c();
374
+ for (let u = 0; u < d.length; u += 1)
375
+ d[u].c();
376
376
  o(r, "class", "GameList items"), o(s, "class", g = "TabContent GamesContent " + /*activeTab*/
377
377
  (a[6] != "casino" ? "hidden" : "")), o(E, "class", "SportsPage"), o(y, "class", h = "TabContent GamesContent " + /*activeTab*/
378
378
  (a[6] != "sports" ? "hidden" : "")), o(n, "class", "GamesWrapper"), o(
@@ -384,8 +384,8 @@ function Oe(a) {
384
384
  },
385
385
  m(u, C) {
386
386
  W(u, e, C), c && c.m(e, null), m(e, t), m(e, n), m(n, s), m(s, r), P.m(r, null), a[19](r), m(s, i), T && T.m(s, null), m(n, p), m(n, y), m(y, E);
387
- for (let N = 0; N < f.length; N += 1)
388
- f[N] && f[N].m(E, null);
387
+ for (let N = 0; N < d.length; N += 1)
388
+ d[N] && d[N].m(E, null);
389
389
  a[20](e);
390
390
  },
391
391
  p(u, C) {
@@ -393,7 +393,7 @@ function Oe(a) {
393
393
  if (/*tournamentdetails*/
394
394
  u[3] && /*tournamentdetails*/
395
395
  ((N = u[3].wallet) != null && N.sports) && /*tournamentdetails*/
396
- ((B = u[3].wallet) != null && B.casino) ? c ? c.p(u, C) : (c = oe(u), c.c(), c.m(e, t)) : c && (c.d(1), c = null), d === (d = b(u)) && P ? P.p(u, C) : (P.d(1), P = d(u), P && (P.c(), P.m(r, null))), /*isMobileDevice*/
396
+ ((B = u[3].wallet) != null && B.casino) ? c ? c.p(u, C) : (c = oe(u), c.c(), c.m(e, t)) : c && (c.d(1), c = null), f === (f = b(u)) && P ? P.p(u, C) : (P.d(1), P = f(u), P && (P.c(), P.m(r, null))), /*isMobileDevice*/
397
397
  u[14] || T.p(u, C), C[0] & /*activeTab*/
398
398
  64 && g !== (g = "TabContent GamesContent " + /*activeTab*/
399
399
  (u[6] != "casino" ? "hidden" : "")) && o(s, "class", g), C[0] & /*$_, sportsRules*/
@@ -405,11 +405,11 @@ function Oe(a) {
405
405
  let w;
406
406
  for (w = 0; w < G.length; w += 1) {
407
407
  const _ = le(u, G, w);
408
- f[w] ? f[w].p(_, C) : (f[w] = ue(_), f[w].c(), f[w].m(E, null));
408
+ d[w] ? d[w].p(_, C) : (d[w] = ue(_), d[w].c(), d[w].m(E, null));
409
409
  }
410
- for (; w < f.length; w += 1)
411
- f[w].d(1);
412
- f.length = G.length;
410
+ for (; w < d.length; w += 1)
411
+ d[w].d(1);
412
+ d.length = G.length;
413
413
  }
414
414
  C[0] & /*activeTab*/
415
415
  64 && h !== (h = "TabContent GamesContent " + /*activeTab*/
@@ -418,7 +418,7 @@ function Oe(a) {
418
418
  i: ee,
419
419
  o: ee,
420
420
  d(u) {
421
- u && F(e), c && c.d(), P.d(), a[19](null), T && T.d(), me(f, u), a[20](null);
421
+ u && F(e), c && c.d(), P.d(), a[19](null), T && T.d(), me(d, u), a[20](null);
422
422
  }
423
423
  };
424
424
  }
@@ -426,7 +426,7 @@ let J = "gameTab";
426
426
  function Ie(a, e, t) {
427
427
  let n;
428
428
  ve(a, Be, (l) => t(13, n = l));
429
- let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: p = "en" } = e, y = "casino", E = [], h = [], c, b = window.navigator.userAgent, d, P, T, G, f = ye(b), M = !1;
429
+ let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: p = "en" } = e, y = "casino", E = [], h = [], c, b = window.navigator.userAgent, f, P, T, G, d = ye(b), M = !1;
430
430
  Ae({ withLocale: "en", translations: {} });
431
431
  const A = () => {
432
432
  fetch(g).then((l) => l.json()).then((l) => {
@@ -479,9 +479,9 @@ function Ie(a, e, t) {
479
479
  },
480
480
  window.location.href
481
481
  ));
482
- }, X = () => {
483
- var S, O, V, x, $;
484
- t(8, h = ((S = c.games) == null ? void 0 : S.items) || []), t(9, M = !1), t(10, B = !1), t(11, w = ((O = c.games) == null ? void 0 : O.total) > ((V = c.games) == null ? void 0 : V.items.length)), Q();
482
+ }, Y = () => {
483
+ var S, O, X, x, $;
484
+ t(8, h = ((S = c.games) == null ? void 0 : S.items) || []), t(9, M = !1), t(10, B = !1), t(11, w = ((O = c.games) == null ? void 0 : O.total) > ((X = c.games) == null ? void 0 : X.items.length)), V();
485
485
  const l = ($ = (x = c.metadata) == null ? void 0 : x.sports) == null ? void 0 : $.rules;
486
486
  if (l) {
487
487
  t(6, y = c.wallet.casino ? "casino" : "sports");
@@ -492,7 +492,7 @@ function Ie(a, e, t) {
492
492
  console.error("Error parsing tournament rules", U);
493
493
  }
494
494
  }
495
- }, Y = (l) => {
495
+ }, Q = (l) => {
496
496
  var O;
497
497
  if (!l.data || !l.data.type)
498
498
  return;
@@ -505,10 +505,10 @@ function Ie(a, e, t) {
505
505
  C();
506
506
  break;
507
507
  case "TournamentsGamesUpdate":
508
- t(3, c = l.data.details), X();
508
+ t(3, c = l.data.details), Y();
509
509
  break;
510
510
  case "TournamentsLoadedMoreGames":
511
- f ? (O = l.data.games) != null && O.items.length && (t(8, h = [...h, ...l.data.games.items]), Q()) : (t(12, _ = !1), t(8, h = [...l.data.games.items]), t(11, w = l.data.hasNextPage), t(10, B = l.data.hasPreviousPage), t(9, M = !h.length));
511
+ d ? (O = l.data.games) != null && O.items.length && (t(8, h = [...h, ...l.data.games.items]), V()) : (t(12, _ = !1), t(8, h = [...l.data.games.items]), t(11, w = l.data.hasNextPage), t(10, B = l.data.hasPreviousPage), t(9, M = !h.length));
512
512
  break;
513
513
  default:
514
514
  console.warn(`Unhandled message type: ${l.data.type}`);
@@ -517,7 +517,7 @@ function Ie(a, e, t) {
517
517
  };
518
518
  let R;
519
519
  const ce = (l) => {
520
- R = l == null ? void 0 : l.lastElementChild, !(!f || G || !l || !R) && (G = new IntersectionObserver((S) => {
520
+ R = l == null ? void 0 : l.lastElementChild, !(!d || G || !l || !R) && (G = new IntersectionObserver((S) => {
521
521
  S.forEach((O) => {
522
522
  O.isIntersecting && (G.unobserve(R), window.postMessage(
523
523
  {
@@ -529,45 +529,45 @@ function Ie(a, e, t) {
529
529
  ));
530
530
  });
531
531
  }));
532
- }, Q = () => {
533
- !f || !R || !G || !h.length || (G.unobserve(R), R = T.lastElementChild, G.observe(R));
532
+ }, V = () => {
533
+ !d || !R || !G || !h.length || (G.unobserve(R), R = T.lastElementChild, G.observe(R));
534
534
  };
535
- Te(() => f && G && G.disconnect()), Ge(() => (window.postMessage(
535
+ Te(() => d && G && G.disconnect()), Ge(() => (window.postMessage(
536
536
  {
537
537
  type: "TournamentsGamesListenerLoaded",
538
538
  gamesTabTid: J
539
539
  },
540
540
  window.location.href
541
- ), window.addEventListener("message", Y, !1), () => {
542
- window.removeEventListener("message", Y);
541
+ ), window.addEventListener("message", Q, !1), () => {
542
+ window.removeEventListener("message", Q);
543
543
  }));
544
544
  function ge(l) {
545
545
  te[l ? "unshift" : "push"](() => {
546
546
  T = l, t(5, T);
547
547
  });
548
548
  }
549
- function fe(l) {
549
+ function de(l) {
550
550
  te[l ? "unshift" : "push"](() => {
551
- d = l, t(4, d);
551
+ f = l, t(4, f);
552
552
  });
553
553
  }
554
554
  return a.$$set = (l) => {
555
555
  "clientstyling" in l && t(0, s = l.clientstyling), "clientstylingurl" in l && t(1, r = l.clientstylingurl), "mbsource" in l && t(2, i = l.mbsource), "translationurl" in l && t(17, g = l.translationurl), "lang" in l && t(18, p = l.lang);
556
556
  }, a.$$.update = () => {
557
557
  a.$$.dirty[0] & /*tournamentdetails*/
558
- 8 && c && X(), a.$$.dirty[0] & /*lang*/
558
+ 8 && c && Y(), a.$$.dirty[0] & /*lang*/
559
559
  262144 && p && u(), a.$$.dirty[0] & /*translationurl*/
560
560
  131072 && g && A(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
561
- 17 && s && d && Ne(d, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
562
- 18 && r && d && Ee(d, r), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
563
- 20 && i && d && Me(d, `${i}.Style`, P), a.$$.dirty[0] & /*gameListEle*/
561
+ 17 && s && f && Ne(f, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
562
+ 18 && r && f && Ee(f, r), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
563
+ 20 && i && f && Me(f, `${i}.Style`, P), a.$$.dirty[0] & /*gameListEle*/
564
564
  32 && T && ce(T);
565
565
  }, [
566
566
  s,
567
567
  r,
568
568
  i,
569
569
  c,
570
- d,
570
+ f,
571
571
  T,
572
572
  y,
573
573
  E,
@@ -577,13 +577,13 @@ function Ie(a, e, t) {
577
577
  w,
578
578
  _,
579
579
  n,
580
- f,
580
+ d,
581
581
  N,
582
582
  L,
583
583
  g,
584
584
  p,
585
585
  ge,
586
- fe
586
+ de
587
587
  ];
588
588
  }
589
589
  class Ue extends he {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsPageController-2Q41Ke-z.cjs");require("../stencil/ui-image-GKGnzjWQ.cjs");function X({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function q(n,t){e.addMessages(n,t)}function $(n){e.$locale.set(n)}const I={en:{loading:"Loading, please wait ...",playNow:"Play Now",casino:"CASINO",sports:"SPORTSBOOK",contribution:"Contribution",noGamesAvailable:"No games have been configured yet!",noMoreGames:"No more games"},ru:{loading:"Загрузка, пожалуйста подождите ...",playNow:"Играть сейчас",casino:"КАЗИНО",sports:"СПОРТБУК",contribution:"Вклад",noGamesAvailable:"Игры ещё не настроены!",noMoreGames:"Больше нет игр"},az:{loading:"Yüklənir, zəhmət olmasa gözləyin ...",playNow:"İndi oyna",casino:"KAZİNO",sports:"İDMAN MƏRCLƏRİ",contribution:"Töhfə",noGamesAvailable:"Hələ heç bir oyun konfiqurasiya edilməyib!",noMoreGames:"Başqa oyun yoxdur"}};function ee(n){e.append_styles(n,"svelte-21pfll","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:grid;grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));gap:var(--emw--spacing-small, 16px)}.GamesWrapper .item{height:auto;margin:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.GamesWrapper .item ui-image img{width:100%;height:auto;display:block}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}")}function U(n,t,a){const s=n.slice();return s[32]=t[a],s}function Z(n,t,a){const s=n.slice();return s[32]=t[a],s[36]=a,s}function H(n){let t,a;return{c(){t=e.element("div"),a=e.element("casino-tournaments-tab"),e.set_custom_element_data(a,"part","TournamentGames"),e.set_custom_element_data(a,"tabs","casino,sports"),e.set_custom_element_data(a,"defaulttab","casino"),e.set_custom_element_data(a,"tid",z),e.set_custom_element_data(a,"clientstyling",n[0]),e.set_custom_element_data(a,"clientstylingurl",n[1]),e.set_custom_element_data(a,"mbsource",n[2]),e.attr(t,"class","GamesTabNav")},m(s,l){e.insert(s,t,l),e.append(t,a)},p(s,l){l[0]&1&&e.set_custom_element_data(a,"clientstyling",s[0]),l[0]&2&&e.set_custom_element_data(a,"clientstylingurl",s[1]),l[0]&4&&e.set_custom_element_data(a,"mbsource",s[2])},d(s){s&&e.detach(t)}}}function te(n){let t,a=n[13]("noGamesAvailable")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","NoGames")},m(l,r){e.insert(l,t,r),e.append(t,s)},p(l,r){r[0]&8192&&a!==(a=l[13]("noGamesAvailable")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function ae(n){let t,a=n[13]("noMoreGames")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","NoGames")},m(l,r){e.insert(l,t,r),e.append(t,s)},p(l,r){r[0]&8192&&a!==(a=l[13]("noMoreGames")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function ne(n){let t,a=n[13]("loading")+"",s;return{c(){t=e.element("div"),s=e.text(a),e.attr(t,"class","LoadingGames")},m(l,r){e.insert(l,t,r),e.append(t,s)},p(l,r){r[0]&8192&&a!==(a=l[13]("loading")+"")&&e.set_data(s,a)},d(l){l&&e.detach(t)}}}function se(n){let t,a=e.ensure_array_like(n[8]),s=[];for(let l=0;l<a.length;l+=1)s[l]=K(Z(n,a,l));return{c(){for(let l=0;l<s.length;l+=1)s[l].c();t=e.empty()},m(l,r){for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(l,r);e.insert(l,t,r)},p(l,r){if(r[0]&41216){a=e.ensure_array_like(l[8]);let i;for(i=0;i<a.length;i+=1){const c=Z(l,a,i);s[i]?s[i].p(c,r):(s[i]=K(c),s[i].c(),s[i].m(t.parentNode,t))}for(;i<s.length;i+=1)s[i].d(1);s.length=a.length}},d(l){l&&e.detach(t),e.destroy_each(s,l)}}}function K(n){let t,a,s=n[13]("playNow")+"",l,r,i,c,g,w,k,f,u;return{c(){t=e.element("div"),a=e.element("span"),l=e.text(s),r=e.space(),i=e.element("ui-image"),k=e.space(),e.attr(a,"class","PlayNowButton"),e.src_url_equal(i.src,c=n[32].thumbnail)||e.set_custom_element_data(i,"src",c),e.set_custom_element_data(i,"width","132px"),e.set_custom_element_data(i,"height","100px"),e.set_custom_element_data(i,"alt",g=n[32].name),e.set_custom_element_data(i,"title",w=n[32].name),e.attr(t,"class","item"),e.attr(t,"id","g_"+n[36]),e.attr(t,"role","button"),e.attr(t,"tabindex","0")},m(_,p){e.insert(_,t,p),e.append(t,a),e.append(a,l),e.append(t,r),e.append(t,i),e.append(t,k),f||(u=e.listen(t,"click",function(){e.is_function(n[15](n[32]))&&n[15](n[32]).apply(this,arguments)}),f=!0)},p(_,p){n=_,p[0]&8192&&s!==(s=n[13]("playNow")+"")&&e.set_data(l,s),p[0]&256&&!e.src_url_equal(i.src,c=n[32].thumbnail)&&e.set_custom_element_data(i,"src",c),p[0]&256&&g!==(g=n[32].name)&&e.set_custom_element_data(i,"alt",g),p[0]&256&&w!==(w=n[32].name)&&e.set_custom_element_data(i,"title",w)},d(_){_&&e.detach(t),f=!1,u()}}}function le(n){let t,a,s,l,r,i,c,g=n[13]("previous")+"",w,k,f,u,_,p,G=n[13]("next")+"",v,y,d,P,E,m,T,C,M,b;return{c(){t=e.element("div"),a=e.element("button"),s=e.svg_element("svg"),l=e.svg_element("path"),i=e.space(),c=e.element("span"),w=e.text(g),u=e.space(),_=e.element("button"),p=e.element("span"),v=e.text(G),y=e.space(),d=e.svg_element("svg"),P=e.svg_element("path"),e.attr(l,"fill",r=n[10]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(l,"class","a"),e.attr(l,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(l,"transform","translate(19.246 -6.188) rotate(90)"),e.attr(s,"xmlns","http://www.w3.org/2000/svg"),e.attr(s,"width","8"),e.attr(s,"height","13.992"),e.attr(s,"viewBox","0 0 8 13.992"),e.attr(c,"class","TournamentsPaginationControlsText"),e.attr(a,"class",k="TournamentsButton TournamentsPaginationControls "+(n[10]?"":"Disabled")),a.disabled=f=!n[10],e.attr(p,"class","TournamentsPaginationControlsText"),e.attr(P,"fill",E=n[11]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)"),e.attr(P,"class","a"),e.attr(P,"d","M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"),e.attr(P,"transform","translate(-11.246 20.179) rotate(-90)"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","8"),e.attr(d,"height","13.992"),e.attr(d,"viewBox","0 0 8 13.992"),e.attr(_,"class",m="TournamentsButton TournamentsPaginationControls "+(n[11]?"":"Disabled")),_.disabled=T=!n[11],e.attr(t,"class",C="TournamentsPaginationControlsArea "+(!n[10]&&!n[11]?"SinglePage":""))},m(h,N){e.insert(h,t,N),e.append(t,a),e.append(a,s),e.append(s,l),e.append(a,i),e.append(a,c),e.append(c,w),e.append(t,u),e.append(t,_),e.append(_,p),e.append(p,v),e.append(_,y),e.append(_,d),e.append(d,P),M||(b=[e.listen(a,"click",n[16].bind(this,-1)),e.listen(_,"click",n[16].bind(this,1))],M=!0)},p(h,N){N[0]&1024&&r!==(r=h[10]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(l,"fill",r),N[0]&8192&&g!==(g=h[13]("previous")+"")&&e.set_data(w,g),N[0]&1024&&k!==(k="TournamentsButton TournamentsPaginationControls "+(h[10]?"":"Disabled"))&&e.attr(a,"class",k),N[0]&1024&&f!==(f=!h[10])&&(a.disabled=f),N[0]&8192&&G!==(G=h[13]("next")+"")&&e.set_data(v,G),N[0]&2048&&E!==(E=h[11]?"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))":"var(--emw--color-gray-100, #E6E6E6)")&&e.attr(P,"fill",E),N[0]&2048&&m!==(m="TournamentsButton TournamentsPaginationControls "+(h[11]?"":"Disabled"))&&e.attr(_,"class",m),N[0]&2048&&T!==(T=!h[11])&&(_.disabled=T),N[0]&3072&&C!==(C="TournamentsPaginationControlsArea "+(!h[10]&&!h[11]?"SinglePage":""))&&e.attr(t,"class",C)},d(h){h&&e.detach(t),M=!1,e.run_all(b)}}}function J(n){let t,a=n[32].rule+"",s,l,r=n[13]("contribution")+"",i;return{c(){t=e.element("li"),s=e.text(a),l=e.space(),i=e.text(r),e.attr(t,"part","li"),e.attr(t,"class","Market")},m(c,g){e.insert(c,t,g),e.append(t,s),e.append(t,l),e.append(t,i)},p(c,g){g[0]&128&&a!==(a=c[32].rule+"")&&e.set_data(s,a),g[0]&8192&&r!==(r=c[13]("contribution")+"")&&e.set_data(i,r)},d(c){c&&e.detach(t)}}}function oe(n){var P,E;let t,a,s,l,r,i,c,g,w,k,f,u=n[3]&&((P=n[3].wallet)==null?void 0:P.sports)&&((E=n[3].wallet)==null?void 0:E.casino)&&H(n);function _(m,T){var C;return(C=m[8])!=null&&C.length?se:m[12]?ne:m[9]?ae:te}let p=_(n),G=p(n),v=!n[14]&&le(n),y=e.ensure_array_like(n[7]),d=[];for(let m=0;m<y.length;m+=1)d[m]=J(U(n,y,m));return{c(){t=e.element("div"),u&&u.c(),a=e.space(),s=e.element("div"),l=e.element("div"),r=e.element("div"),G.c(),i=e.space(),v&&v.c(),g=e.space(),w=e.element("div"),k=e.element("ul");for(let m=0;m<d.length;m+=1)d[m].c();e.attr(r,"class","GameList items"),e.attr(l,"class",c="TabContent GamesContent "+(n[6]!="casino"?"hidden":"")),e.attr(k,"class","SportsPage"),e.attr(w,"class",f="TabContent GamesContent "+(n[6]!="sports"?"hidden":"")),e.attr(s,"class","GamesWrapper"),e.attr(t,"class",n[14]?"MobileClass":"")},m(m,T){e.insert(m,t,T),u&&u.m(t,null),e.append(t,a),e.append(t,s),e.append(s,l),e.append(l,r),G.m(r,null),n[19](r),e.append(l,i),v&&v.m(l,null),e.append(s,g),e.append(s,w),e.append(w,k);for(let C=0;C<d.length;C+=1)d[C]&&d[C].m(k,null);n[20](t)},p(m,T){var C,M;if(m[3]&&((C=m[3].wallet)!=null&&C.sports)&&((M=m[3].wallet)!=null&&M.casino)?u?u.p(m,T):(u=H(m),u.c(),u.m(t,a)):u&&(u.d(1),u=null),p===(p=_(m))&&G?G.p(m,T):(G.d(1),G=p(m),G&&(G.c(),G.m(r,null))),m[14]||v.p(m,T),T[0]&64&&c!==(c="TabContent GamesContent "+(m[6]!="casino"?"hidden":""))&&e.attr(l,"class",c),T[0]&8320){y=e.ensure_array_like(m[7]);let b;for(b=0;b<y.length;b+=1){const h=U(m,y,b);d[b]?d[b].p(h,T):(d[b]=J(h),d[b].c(),d[b].m(k,null))}for(;b<d.length;b+=1)d[b].d(1);d.length=y.length}T[0]&64&&f!==(f="TabContent GamesContent "+(m[6]!="sports"?"hidden":""))&&e.attr(w,"class",f)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),u&&u.d(),G.d(),n[19](null),v&&v.d(),e.destroy_each(d,m),n[20](null)}}}let z="gameTab";function ie(n,t,a){let s;e.component_subscribe(n,e.$format,o=>a(13,s=o));let{clientstyling:l=""}=t,{clientstylingurl:r=""}=t,{mbsource:i}=t,{translationurl:c}=t,{lang:g="en"}=t,w="casino",k=[],f=[],u,_=window.navigator.userAgent,p,G,v,y,d=e.isMobile(_),P=!1;X({withLocale:"en",translations:{}});const E=()=>{fetch(c).then(o=>o.json()).then(o=>{Object.keys(o).forEach(L=>{q(L,o[L])})}).catch(o=>{console.log(o)})};Object.keys(I).forEach(o=>{q(o,I[o])});const m=()=>{$(g),setTimeout(()=>{T()},10)},T=()=>{window.postMessage({type:"TournamentsTabsLocalize",tabTitleTranslations:{casino:s("casino"),sports:s("sports")}},window.location.href)},C=o=>()=>{window.postMessage({type:"TournamentGameAction",gameId:o.id,name:o.name,launchUrl:o.launchUrl},window.location.href)};let M=!1,b=!1,h=!1;const N=o=>{!M&&o===-1||!b&&o===1||(a(12,h=!0),a(8,f=[]),window.postMessage({type:"TournamentsLoadMoreGames",id:u.id,isNext:o>0},window.location.href))},W=()=>{var L,S,O,R,D;a(8,f=((L=u.games)==null?void 0:L.items)||[]),a(9,P=!1),a(10,M=!1),a(11,b=((S=u.games)==null?void 0:S.total)>((O=u.games)==null?void 0:O.items.length)),j();const o=(D=(R=u.metadata)==null?void 0:R.sports)==null?void 0:D.rules;if(o){a(6,w=u.wallet.casino?"casino":"sports");try{const A=JSON.parse(o);a(7,k=A[g]||A["*"])}catch(A){console.error("Error parsing tournament rules",A)}}},F=o=>{var S;if(!o.data||!o.data.type)return;const L=o.data.tid||"";switch(o.data.type){case"TournamentsTabSwitch":L===z&&a(6,w=o.data.tab);break;case"TournamentsTabListenerLoaded":T();break;case"TournamentsGamesUpdate":a(3,u=o.data.details),W();break;case"TournamentsLoadedMoreGames":d?(S=o.data.games)!=null&&S.items.length&&(a(8,f=[...f,...o.data.games.items]),j()):(a(12,h=!1),a(8,f=[...o.data.games.items]),a(11,b=o.data.hasNextPage),a(10,M=o.data.hasPreviousPage),a(9,P=!f.length));break;default:console.warn(`Unhandled message type: ${o.data.type}`);break}};let B;const x=o=>{B=o==null?void 0:o.lastElementChild,!(!d||y||!o||!B)&&(y=new IntersectionObserver(L=>{L.forEach(S=>{S.isIntersecting&&(y.unobserve(B),window.postMessage({type:"TournamentsLoadMoreGames",id:u.id,isNext:!0},window.location.href))})}))},j=()=>{!d||!B||!y||!f.length||(y.unobserve(B),B=v.lastElementChild,y.observe(B))};e.onDestroy(()=>d&&y&&y.disconnect()),e.onMount(()=>(window.postMessage({type:"TournamentsGamesListenerLoaded",gamesTabTid:z},window.location.href),window.addEventListener("message",F,!1),()=>{window.removeEventListener("message",F)}));function Q(o){e.binding_callbacks[o?"unshift":"push"](()=>{v=o,a(5,v)})}function V(o){e.binding_callbacks[o?"unshift":"push"](()=>{p=o,a(4,p)})}return n.$$set=o=>{"clientstyling"in o&&a(0,l=o.clientstyling),"clientstylingurl"in o&&a(1,r=o.clientstylingurl),"mbsource"in o&&a(2,i=o.mbsource),"translationurl"in o&&a(17,c=o.translationurl),"lang"in o&&a(18,g=o.lang)},n.$$.update=()=>{n.$$.dirty[0]&8&&u&&W(),n.$$.dirty[0]&262144&&g&&m(),n.$$.dirty[0]&131072&&c&&E(),n.$$.dirty[0]&17&&l&&p&&e.setClientStyling(p,l),n.$$.dirty[0]&18&&r&&p&&e.setClientStylingURL(p,r),n.$$.dirty[0]&20&&i&&p&&e.setStreamStyling(p,`${i}.Style`,G),n.$$.dirty[0]&32&&v&&x(v)},[l,r,i,u,p,v,w,k,f,P,M,b,h,s,d,C,N,c,g,Q,V]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ie,oe,e.safe_not_equal,{clientstyling:0,clientstylingurl:1,mbsource:2,translationurl:17,lang:18},ee,[-1,-1])}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}}e.create_custom_element(Y,{clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},lang:{}},[],[],!0);exports.default=Y;
@@ -1,4 +1,4 @@
1
- import { $ as q, y as me, z as ce, S as ge, i as fe, s as de, f as R, a as pe, G as U, n as Y, d as A, H as le, j as o, b as S, e as m, g as w, h as B, B as he, k as be, K as _e, o as we, A as C, E as ve, l as F, m as H, r as I, t as W, q as Q, D as ye, I as V, u as Te, v as Ge, w as Ce, x as ke, c as Pe, F as Ne } from "./CasinoTournamentsPageController-DgH0TZSG.js";
1
+ import { $ as q, y as me, z as ce, S as ge, i as de, s as fe, f as R, a as pe, G as U, n as Q, d as A, H as le, j as o, b as S, e as m, g as w, h as B, B as he, k as be, K as _e, o as we, A as C, E as ve, l as F, m as H, r as I, t as W, q as V, D as ye, I as X, u as Te, v as Ge, w as Ce, x as ke, c as Pe, F as Ne } from "./CasinoTournamentsPageController-DwujtLfC.js";
2
2
  import "../stencil/ui-image-DyN7Fe9v.js";
3
3
  function Ee({ withLocale: a, translations: e }) {
4
4
  q.subscribe((t) => {
@@ -41,7 +41,7 @@ const $ = {
41
41
  }
42
42
  };
43
43
  function Le(a) {
44
- pe(a, "svelte-h1f7fe", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
44
+ pe(a, "svelte-21pfll", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:grid;grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));gap:var(--emw--spacing-small, 16px)}.GamesWrapper .item{height:auto;margin:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.GamesWrapper .item ui-image img{width:100%;height:auto;display:block}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
45
45
  }
46
46
  function ee(a, e, t) {
47
47
  const n = a.slice();
@@ -214,14 +214,14 @@ function ne(a) {
214
214
  ), s, u, i, g, h, v, N, b, c;
215
215
  return {
216
216
  c() {
217
- e = w("div"), t = w("span"), s = W(n), u = B(), i = w("ui-image"), N = B(), o(t, "class", "PlayNowButton"), V(i.src, g = /*item*/
217
+ e = w("div"), t = w("span"), s = W(n), u = B(), i = w("ui-image"), N = B(), o(t, "class", "PlayNowButton"), X(i.src, g = /*item*/
218
218
  a[32].thumbnail) || C(i, "src", g), C(i, "width", "132px"), C(i, "height", "100px"), C(i, "alt", h = /*item*/
219
219
  a[32].name), C(i, "title", v = /*item*/
220
220
  a[32].name), o(e, "class", "item"), o(e, "id", "g_" + /*idx*/
221
221
  a[36]), o(e, "role", "button"), o(e, "tabindex", "0");
222
222
  },
223
- m(_, d) {
224
- S(_, e, d), m(e, t), m(t, s), m(e, u), m(e, i), m(e, N), b || (c = H(e, "click", function() {
223
+ m(_, f) {
224
+ S(_, e, f), m(e, t), m(t, s), m(e, u), m(e, i), m(e, N), b || (c = H(e, "click", function() {
225
225
  Te(
226
226
  /*gameClicked*/
227
227
  a[15](
@@ -234,14 +234,14 @@ function ne(a) {
234
234
  ).apply(this, arguments);
235
235
  }), b = !0);
236
236
  },
237
- p(_, d) {
238
- a = _, d[0] & /*$_*/
237
+ p(_, f) {
238
+ a = _, f[0] & /*$_*/
239
239
  8192 && n !== (n = /*$_*/
240
- a[13]("playNow") + "") && F(s, n), d[0] & /*casinoGames*/
241
- 256 && !V(i.src, g = /*item*/
242
- a[32].thumbnail) && C(i, "src", g), d[0] & /*casinoGames*/
240
+ a[13]("playNow") + "") && F(s, n), f[0] & /*casinoGames*/
241
+ 256 && !X(i.src, g = /*item*/
242
+ a[32].thumbnail) && C(i, "src", g), f[0] & /*casinoGames*/
243
243
  256 && h !== (h = /*item*/
244
- a[32].name) && C(i, "alt", h), d[0] & /*casinoGames*/
244
+ a[32].name) && C(i, "alt", h), f[0] & /*casinoGames*/
245
245
  256 && v !== (v = /*item*/
246
246
  a[32].name) && C(i, "title", v);
247
247
  },
@@ -254,24 +254,24 @@ function Fe(a) {
254
254
  let e, t, n, s, u, i, g, h = (
255
255
  /*$_*/
256
256
  a[13]("previous") + ""
257
- ), v, N, b, c, _, d, k = (
257
+ ), v, N, b, c, _, f, k = (
258
258
  /*$_*/
259
259
  a[13]("next") + ""
260
- ), y, T, f, r, P, p, L, D, z, O;
260
+ ), y, T, d, r, P, p, L, D, z, O;
261
261
  return {
262
262
  c() {
263
- e = w("div"), t = w("button"), n = I("svg"), s = I("path"), i = B(), g = w("span"), v = W(h), c = B(), _ = w("button"), d = w("span"), y = W(k), T = B(), f = I("svg"), r = I("path"), o(s, "fill", u = /*hasPreviousPage*/
263
+ e = w("div"), t = w("button"), n = I("svg"), s = I("path"), i = B(), g = w("span"), v = W(h), c = B(), _ = w("button"), f = w("span"), y = W(k), T = B(), d = I("svg"), r = I("path"), o(s, "fill", u = /*hasPreviousPage*/
264
264
  a[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(s, "class", "a"), o(s, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(s, "transform", "translate(19.246 -6.188) rotate(90)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "8"), o(n, "height", "13.992"), o(n, "viewBox", "0 0 8 13.992"), o(g, "class", "TournamentsPaginationControlsText"), o(t, "class", N = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
265
265
  a[10] ? "" : "Disabled")), t.disabled = b = /*hasPreviousPage*/
266
- !a[10], o(d, "class", "TournamentsPaginationControlsText"), o(r, "fill", P = /*hasNextPage*/
267
- a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(r, "class", "a"), o(r, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(r, "transform", "translate(-11.246 20.179) rotate(-90)"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "8"), o(f, "height", "13.992"), o(f, "viewBox", "0 0 8 13.992"), o(_, "class", p = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
266
+ !a[10], o(f, "class", "TournamentsPaginationControlsText"), o(r, "fill", P = /*hasNextPage*/
267
+ a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(r, "class", "a"), o(r, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(r, "transform", "translate(-11.246 20.179) rotate(-90)"), o(d, "xmlns", "http://www.w3.org/2000/svg"), o(d, "width", "8"), o(d, "height", "13.992"), o(d, "viewBox", "0 0 8 13.992"), o(_, "class", p = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
268
268
  a[11] ? "" : "Disabled")), _.disabled = L = /*hasNextPage*/
269
269
  !a[11], o(e, "class", D = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
270
270
  a[10] && !/*hasNextPage*/
271
271
  a[11] ? "SinglePage" : ""));
272
272
  },
273
273
  m(G, E) {
274
- S(G, e, E), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, v), m(e, c), m(e, _), m(_, d), m(d, y), m(_, T), m(_, f), m(f, r), z || (O = [
274
+ S(G, e, E), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, v), m(e, c), m(e, _), m(_, f), m(f, y), m(_, T), m(_, d), m(d, r), z || (O = [
275
275
  H(
276
276
  t,
277
277
  "click",
@@ -359,18 +359,18 @@ function We(a) {
359
359
  )
360
360
  );
361
361
  }
362
- let d = _(a), k = d(a), y = !/*isMobileDevice*/
362
+ let f = _(a), k = f(a), y = !/*isMobileDevice*/
363
363
  a[14] && Fe(a), T = U(
364
364
  /*sportsRules*/
365
365
  a[7]
366
- ), f = [];
366
+ ), d = [];
367
367
  for (let r = 0; r < T.length; r += 1)
368
- f[r] = se(ee(a, T, r));
368
+ d[r] = se(ee(a, T, r));
369
369
  return {
370
370
  c() {
371
371
  e = w("div"), c && c.c(), t = B(), n = w("div"), s = w("div"), u = w("div"), k.c(), i = B(), y && y.c(), h = B(), v = w("div"), N = w("ul");
372
- for (let r = 0; r < f.length; r += 1)
373
- f[r].c();
372
+ for (let r = 0; r < d.length; r += 1)
373
+ d[r].c();
374
374
  o(u, "class", "GameList items"), o(s, "class", g = "TabContent GamesContent " + /*activeTab*/
375
375
  (a[6] != "casino" ? "hidden" : "")), o(N, "class", "SportsPage"), o(v, "class", b = "TabContent GamesContent " + /*activeTab*/
376
376
  (a[6] != "sports" ? "hidden" : "")), o(n, "class", "GamesWrapper"), o(
@@ -382,15 +382,15 @@ function We(a) {
382
382
  },
383
383
  m(r, P) {
384
384
  S(r, e, P), c && c.m(e, null), m(e, t), m(e, n), m(n, s), m(s, u), k.m(u, null), a[19](u), m(s, i), y && y.m(s, null), m(n, h), m(n, v), m(v, N);
385
- for (let p = 0; p < f.length; p += 1)
386
- f[p] && f[p].m(N, null);
385
+ for (let p = 0; p < d.length; p += 1)
386
+ d[p] && d[p].m(N, null);
387
387
  a[20](e);
388
388
  },
389
389
  p(r, P) {
390
390
  if (/*tournamentdetails*/
391
391
  r[3] && /*tournamentdetails*/
392
392
  r[3].wallet?.sports && /*tournamentdetails*/
393
- r[3].wallet?.casino ? c ? c.p(r, P) : (c = ae(r), c.c(), c.m(e, t)) : c && (c.d(1), c = null), d === (d = _(r)) && k ? k.p(r, P) : (k.d(1), k = d(r), k && (k.c(), k.m(u, null))), /*isMobileDevice*/
393
+ r[3].wallet?.casino ? c ? c.p(r, P) : (c = ae(r), c.c(), c.m(e, t)) : c && (c.d(1), c = null), f === (f = _(r)) && k ? k.p(r, P) : (k.d(1), k = f(r), k && (k.c(), k.m(u, null))), /*isMobileDevice*/
394
394
  r[14] || y.p(r, P), P[0] & /*activeTab*/
395
395
  64 && g !== (g = "TabContent GamesContent " + /*activeTab*/
396
396
  (r[6] != "casino" ? "hidden" : "")) && o(s, "class", g), P[0] & /*$_, sportsRules*/
@@ -402,20 +402,20 @@ function We(a) {
402
402
  let p;
403
403
  for (p = 0; p < T.length; p += 1) {
404
404
  const L = ee(r, T, p);
405
- f[p] ? f[p].p(L, P) : (f[p] = se(L), f[p].c(), f[p].m(N, null));
405
+ d[p] ? d[p].p(L, P) : (d[p] = se(L), d[p].c(), d[p].m(N, null));
406
406
  }
407
- for (; p < f.length; p += 1)
408
- f[p].d(1);
409
- f.length = T.length;
407
+ for (; p < d.length; p += 1)
408
+ d[p].d(1);
409
+ d.length = T.length;
410
410
  }
411
411
  P[0] & /*activeTab*/
412
412
  64 && b !== (b = "TabContent GamesContent " + /*activeTab*/
413
413
  (r[6] != "sports" ? "hidden" : "")) && o(v, "class", b);
414
414
  },
415
- i: Y,
416
- o: Y,
415
+ i: Q,
416
+ o: Q,
417
417
  d(r) {
418
- r && A(e), c && c.d(), k.d(), a[19](null), y && y.d(), le(f, r), a[20](null);
418
+ r && A(e), c && c.d(), k.d(), a[19](null), y && y.d(), le(d, r), a[20](null);
419
419
  }
420
420
  };
421
421
  }
@@ -423,7 +423,7 @@ let K = "gameTab";
423
423
  function Oe(a, e, t) {
424
424
  let n;
425
425
  he(a, Ne, (l) => t(13, n = l));
426
- let { clientstyling: s = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: h = "en" } = e, v = "casino", N = [], b = [], c, _ = window.navigator.userAgent, d, k, y, T, f = be(_), r = !1;
426
+ let { clientstyling: s = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: h = "en" } = e, v = "casino", N = [], b = [], c, _ = window.navigator.userAgent, f, k, y, T, d = be(_), r = !1;
427
427
  Ee({ withLocale: "en", translations: {} });
428
428
  const P = () => {
429
429
  fetch(g).then((l) => l.json()).then((l) => {
@@ -477,7 +477,7 @@ function Oe(a, e, t) {
477
477
  window.location.href
478
478
  ));
479
479
  }, Z = () => {
480
- t(8, b = c.games?.items || []), t(9, r = !1), t(10, z = !1), t(11, O = c.games?.total > c.games?.items.length), X();
480
+ t(8, b = c.games?.items || []), t(9, r = !1), t(10, z = !1), t(11, O = c.games?.total > c.games?.items.length), Y();
481
481
  const l = c.metadata?.sports?.rules;
482
482
  if (l) {
483
483
  t(6, v = c.wallet.casino ? "casino" : "sports");
@@ -503,7 +503,7 @@ function Oe(a, e, t) {
503
503
  t(3, c = l.data.details), Z();
504
504
  break;
505
505
  case "TournamentsLoadedMoreGames":
506
- f ? l.data.games?.items.length && (t(8, b = [...b, ...l.data.games.items]), X()) : (t(12, G = !1), t(8, b = [...l.data.games.items]), t(11, O = l.data.hasNextPage), t(10, z = l.data.hasPreviousPage), t(9, r = !b.length));
506
+ d ? l.data.games?.items.length && (t(8, b = [...b, ...l.data.games.items]), Y()) : (t(12, G = !1), t(8, b = [...l.data.games.items]), t(11, O = l.data.hasNextPage), t(10, z = l.data.hasPreviousPage), t(9, r = !b.length));
507
507
  break;
508
508
  default:
509
509
  console.warn(`Unhandled message type: ${l.data.type}`);
@@ -512,7 +512,7 @@ function Oe(a, e, t) {
512
512
  };
513
513
  let j;
514
514
  const ie = (l) => {
515
- j = l?.lastElementChild, !(!f || T || !l || !j) && (T = new IntersectionObserver((M) => {
515
+ j = l?.lastElementChild, !(!d || T || !l || !j) && (T = new IntersectionObserver((M) => {
516
516
  M.forEach((ue) => {
517
517
  ue.isIntersecting && (T.unobserve(j), window.postMessage(
518
518
  {
@@ -524,10 +524,10 @@ function Oe(a, e, t) {
524
524
  ));
525
525
  });
526
526
  }));
527
- }, X = () => {
528
- !f || !j || !T || !b.length || (T.unobserve(j), j = y.lastElementChild, T.observe(j));
527
+ }, Y = () => {
528
+ !d || !j || !T || !b.length || (T.unobserve(j), j = y.lastElementChild, T.observe(j));
529
529
  };
530
- _e(() => f && T && T.disconnect()), we(() => (window.postMessage(
530
+ _e(() => d && T && T.disconnect()), we(() => (window.postMessage(
531
531
  {
532
532
  type: "TournamentsGamesListenerLoaded",
533
533
  gamesTabTid: K
@@ -537,13 +537,13 @@ function Oe(a, e, t) {
537
537
  window.removeEventListener("message", J);
538
538
  }));
539
539
  function oe(l) {
540
- Q[l ? "unshift" : "push"](() => {
540
+ V[l ? "unshift" : "push"](() => {
541
541
  y = l, t(5, y);
542
542
  });
543
543
  }
544
544
  function re(l) {
545
- Q[l ? "unshift" : "push"](() => {
546
- d = l, t(4, d);
545
+ V[l ? "unshift" : "push"](() => {
546
+ f = l, t(4, f);
547
547
  });
548
548
  }
549
549
  return a.$$set = (l) => {
@@ -553,16 +553,16 @@ function Oe(a, e, t) {
553
553
  8 && c && Z(), a.$$.dirty[0] & /*lang*/
554
554
  262144 && h && p(), a.$$.dirty[0] & /*translationurl*/
555
555
  131072 && g && P(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
556
- 17 && s && d && Ge(d, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
557
- 18 && u && d && Ce(d, u), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
558
- 20 && i && d && ke(d, `${i}.Style`, k), a.$$.dirty[0] & /*gameListEle*/
556
+ 17 && s && f && Ge(f, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
557
+ 18 && u && f && Ce(f, u), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
558
+ 20 && i && f && ke(f, `${i}.Style`, k), a.$$.dirty[0] & /*gameListEle*/
559
559
  32 && y && ie(y);
560
560
  }, [
561
561
  s,
562
562
  u,
563
563
  i,
564
564
  c,
565
- d,
565
+ f,
566
566
  y,
567
567
  v,
568
568
  N,
@@ -572,7 +572,7 @@ function Oe(a, e, t) {
572
572
  O,
573
573
  G,
574
574
  n,
575
- f,
575
+ d,
576
576
  D,
577
577
  E,
578
578
  g,
@@ -583,12 +583,12 @@ function Oe(a, e, t) {
583
583
  }
584
584
  class je extends ge {
585
585
  constructor(e) {
586
- super(), fe(
586
+ super(), de(
587
587
  this,
588
588
  e,
589
589
  Oe,
590
590
  We,
591
- de,
591
+ fe,
592
592
  {
593
593
  clientstyling: 0,
594
594
  clientstylingurl: 1,
@@ -1,4 +1,4 @@
1
- import { z as be, S as ve, i as ke, s as Ne, f as T, a as Se, n as Y, d as W, b as O, e as N, B as Te, o as Fe, G as Z, H as Be, E as le, M as C, L as K, c as v, N as Me, l as j, g as I, h as o, O as Pe, C as Ee, p as G, k as ze, I as Q, t as Le, u as je, v as He, w as Ae, x as Ce, F as Ie } from "./CasinoTournamentsPageController-eZFRhTiQ.js";
1
+ import { z as be, S as ve, i as ke, s as Ne, f as T, a as Se, n as Y, d as W, b as O, e as N, B as Te, o as Fe, G as Z, H as Be, E as le, M as C, L as K, c as v, N as Me, l as j, g as I, h as o, O as Pe, C as Ee, p as G, k as ze, I as Q, t as Le, u as je, v as He, w as Ae, x as Ce, F as Ie } from "./CasinoTournamentsPageController-BsV52TMe.js";
2
2
  function V(e, n) {
3
3
  be(e, n);
4
4
  }