@everymatrix/casino-tournaments-page-controller 1.65.0 → 1.65.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.
Files changed (61) hide show
  1. package/components/{CasinoTournamentsDetails-CrZw9MZh.js → CasinoTournamentsDetails-CFQUWbvj.js} +19 -19
  2. package/components/{CasinoTournamentsDetails-T8-0o9g0.js → CasinoTournamentsDetails-zOHDVY45.js} +19 -19
  3. package/components/{CasinoTournamentsPageController-DaqJVUzu.cjs → CasinoTournamentsPageController-BsbNFCug.cjs} +16 -16
  4. package/components/{CasinoTournamentsPageController-Cc5ERZfi.js → CasinoTournamentsPageController-CvIRnvOF.js} +1832 -1811
  5. package/components/{CasinoTournamentsPageController-Duaz3MBD.js → CasinoTournamentsPageController-DditZoZN.js} +1817 -1796
  6. package/components/{CasinoTournamentsRank-CVD6o_A-.js → CasinoTournamentsRank-COQkFUQW.js} +53 -53
  7. package/components/{CasinoTournamentsRank-Bge6VCcn.js → CasinoTournamentsRank-D48ge-V-.js} +53 -53
  8. package/components/{CasinoTournamentsTab-3_iy76Op.js → CasinoTournamentsTab-DQFmnoNK.js} +39 -39
  9. package/components/{CasinoTournamentsTab-CJVQX8ov.js → CasinoTournamentsTab-Fliuqza4.js} +32 -32
  10. package/components/{CasinoTournamentsTable-8bE-CO-E.cjs → CasinoTournamentsTable-B8y6CW60.cjs} +1 -1
  11. package/components/{CasinoTournamentsTable-0POhhnV1.js → CasinoTournamentsTable-BzrJtXiW.js} +81 -81
  12. package/components/{CasinoTournamentsTable-BUZu6L7E.js → CasinoTournamentsTable-D7UMQT7l.js} +81 -81
  13. package/components/{CasinoTournamentsThumbnail-Bjrv7yav.js → CasinoTournamentsThumbnail-D6gvraDN.js} +49 -49
  14. package/components/{CasinoTournamentsThumbnail-BO4wUnJz.js → CasinoTournamentsThumbnail-DNf2afeh.js} +49 -49
  15. package/components/{CasinoTournamentsThumbnail-DaS1BWvL.cjs → CasinoTournamentsThumbnail-cgfDLswI.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnailController-B0zPBHTx.js → CasinoTournamentsThumbnailController-BMELxEo5.js} +45 -45
  17. package/components/{CasinoTournamentsThumbnailController-C2_FFCKZ.cjs → CasinoTournamentsThumbnailController-D-l6DdPx.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnailController-D5qJH-fz.js → CasinoTournamentsThumbnailController-Pxp0gqob.js} +45 -45
  19. package/components/{CasinoTournamentsThumbnailDuration-DLyTPzlL.js → CasinoTournamentsThumbnailDuration-BnLEOvMZ.js} +50 -50
  20. package/components/{CasinoTournamentsThumbnailDuration-CNUbvOzq.cjs → CasinoTournamentsThumbnailDuration-DkEXX81i.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailDuration-D7_UIggy.js → CasinoTournamentsThumbnailDuration-DyywmubN.js} +50 -50
  22. package/components/{CasinoTournamentsThumbnailGamesSlider-BBMHne0S.js → CasinoTournamentsThumbnailGamesSlider-BUFYKK5e.js} +27 -27
  23. package/components/{CasinoTournamentsThumbnailGamesSlider-CNqm22fI.cjs → CasinoTournamentsThumbnailGamesSlider-CegmcJ5s.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailGamesSlider-CCQOrQfd.js → CasinoTournamentsThumbnailGamesSlider-quCoqaaj.js} +27 -27
  25. package/components/{CasinoTournamentsThumbnailPrizes-Bnrn33dD.js → CasinoTournamentsThumbnailPrizes-BX-g86WS.js} +35 -35
  26. package/components/{CasinoTournamentsThumbnailPrizes-F0aA2PLD.cjs → CasinoTournamentsThumbnailPrizes-DiHRdSPR.cjs} +1 -1
  27. package/components/{CasinoTournamentsThumbnailPrizes-DGF5sCXa.js → CasinoTournamentsThumbnailPrizes-WRaq3I_R.js} +35 -35
  28. package/components/{CasinoTournamentsThumbnailRule-CsWL7Ngu.js → CasinoTournamentsThumbnailRule-BjSWRQqE.js} +61 -61
  29. package/components/{CasinoTournamentsThumbnailRule-BU4HQy1J.cjs → CasinoTournamentsThumbnailRule-CFXCboYr.cjs} +1 -1
  30. package/components/{CasinoTournamentsThumbnailRule-Ocbm2BYX.js → CasinoTournamentsThumbnailRule-Ctb5ZR83.js} +61 -61
  31. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  32. package/es2015/casino-tournaments-page-controller.js +1 -1
  33. package/esnext/casino-tournaments-page-controller.js +1 -1
  34. package/package.json +1 -1
  35. package/stencil/index-97d17652-BEnqZAxL.js +558 -0
  36. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  37. package/stencil/index-97d17652-WK_DbPS4.js +542 -0
  38. package/stencil/index-b2193545-BOMvxBzV.js +519 -0
  39. package/stencil/index-b2193545-CFn9dM-v.js +503 -0
  40. package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
  41. package/stencil/{ui-image-BdKD9mn4.js → ui-image-3hy4ZvUC.js} +1 -1
  42. package/stencil/{ui-image-Brhx0VeQ.js → ui-image-D0wxuPze.js} +1 -1
  43. package/stencil/{ui-image-DEQHOm9Q.cjs → ui-image-DE8MJHCZ.cjs} +1 -1
  44. package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  45. package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  46. package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  47. package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-B56t6kXT.js} +2 -2
  48. package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-BncuYpLi.js} +2 -2
  49. package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  50. package/stencil/{ui-skeleton-1cb75d00-CoUSUuCH.js → ui-skeleton-1cb75d00-B-R8GbLJ.js} +1 -1
  51. package/stencil/{ui-skeleton-1cb75d00-HdJyBz6W.cjs → ui-skeleton-1cb75d00-BTnhspbc.cjs} +1 -1
  52. package/stencil/{ui-skeleton-1cb75d00-DwCQPKmJ.js → ui-skeleton-1cb75d00-Dy30RNE6.js} +1 -1
  53. package/stencil/{ui-skeleton-DdjXy3Vl.js → ui-skeleton-CVBjRUvi.js} +2 -2
  54. package/stencil/{ui-skeleton-BhWinivj.js → ui-skeleton-RkXNxPG1.js} +2 -2
  55. package/stencil/{ui-skeleton-06DDwuG9.cjs → ui-skeleton-se83zfWh.cjs} +1 -1
  56. package/stencil/index-97d17652-BzQXAkmg.js +0 -558
  57. package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
  58. package/stencil/index-97d17652-mbOyENH9.js +0 -542
  59. package/stencil/index-b2193545-C2pLoBGJ.js +0 -503
  60. package/stencil/index-b2193545-CoXVDra7.js +0 -519
  61. package/stencil/index-b2193545-CwpolrjE.cjs +0 -1
@@ -1,7 +1,7 @@
1
- import { S as ge, b as fe, f as S, c as be, a as he, d as pe, l as y, e as I, m, h as C, p as g, n as Y, j as _, k as ke, o as ye, t as R, q as D, B, g as Se, i as Ce, w as _e, r as Ae, A as Te, z as K, v as E } from "./CasinoTournamentsDetails-T8-0o9g0.js";
2
- import { a as ve, $ as Me, b as we } from "./CasinoTournamentsPageController-Cc5ERZfi.js";
3
- import "../stencil/ui-skeleton-BhWinivj.js";
4
- import "../stencil/ui-image-Brhx0VeQ.js";
1
+ import { S as ge, b as fe, s as be, f as S, d as he, n as Y, e as C, q as m, g as _, m as g, p as y, h as I, k as pe, o as ke, l as D, t as R, x as ye, B, j as Se, r as Ce, v as _e, A as K, u as E, i as Ae, c as Te } from "./CasinoTournamentsDetails-zOHDVY45.js";
2
+ import { a as ve, $ as Me, b as we } from "./CasinoTournamentsPageController-CvIRnvOF.js";
3
+ import "../stencil/ui-skeleton-RkXNxPG1.js";
4
+ import "../stencil/ui-image-D0wxuPze.js";
5
5
  function Z(i, e) {
6
6
  ve(i, e);
7
7
  }
@@ -341,7 +341,7 @@ const Q = {
341
341
  }
342
342
  };
343
343
  function Je(i) {
344
- pe(i, "svelte-1ymu8a4", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
344
+ he(i, "svelte-1ymu8a4", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
345
345
  }
346
346
  function X(i) {
347
347
  let e, t, n;
@@ -350,10 +350,10 @@ function X(i) {
350
350
  e = y("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = I(), n = y("div"), n.innerHTML = '<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>', m(e, "class", "Skeleton CardImg"), m(n, "class", "Details"), m(n, "part", "Details");
351
351
  },
352
352
  m(a, s) {
353
- C(a, e, s), C(a, t, s), C(a, n, s);
353
+ _(a, e, s), _(a, t, s), _(a, n, s);
354
354
  },
355
355
  d(a) {
356
- a && (_(e), _(t), _(n));
356
+ a && (C(e), C(t), C(n));
357
357
  }
358
358
  };
359
359
  }
@@ -365,13 +365,13 @@ function $(i) {
365
365
  /*showenrolled*/
366
366
  i[7] == "true" && te(i)
367
367
  );
368
- function z(o, b) {
368
+ function j(o, b) {
369
369
  return (
370
370
  /*thumbnail*/
371
371
  o[4] ? Ie : De
372
372
  );
373
373
  }
374
- let A = z(i), T = A(i), p = (
374
+ let A = j(i), T = A(i), p = (
375
375
  /*startdate*/
376
376
  i[2] && ae(i)
377
377
  ), f = (
@@ -386,12 +386,12 @@ function $(i) {
386
386
  ), d = I(), p && p.c(), l = I(), f && f.c(), m(s, "class", "Title"), m(s, "part", "Title"), m(a, "class", "Details"), m(a, "part", "Details");
387
387
  },
388
388
  m(o, b) {
389
- c && c.m(o, b), C(o, e, b), h && h.m(o, b), C(o, t, b), T.m(o, b), C(o, n, b), C(o, a, b), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), f && f.m(a, null);
389
+ c && c.m(o, b), _(o, e, b), h && h.m(o, b), _(o, t, b), T.m(o, b), _(o, n, b), _(o, a, b), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), f && f.m(a, null);
390
390
  },
391
391
  p(o, b) {
392
392
  /*status*/
393
393
  o[0] ? c ? c.p(o, b) : (c = ee(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*showenrolled*/
394
- o[7] == "true" ? h ? h.p(o, b) : (h = te(o), h.c(), h.m(t.parentNode, t)) : h && (h.d(1), h = null), A === (A = z(o)) && T ? T.p(o, b) : (T.d(1), T = A(o), T && (T.c(), T.m(n.parentNode, n))), b[0] & /*title*/
394
+ o[7] == "true" ? h ? h.p(o, b) : (h = te(o), h.c(), h.m(t.parentNode, t)) : h && (h.d(1), h = null), A === (A = j(o)) && T ? T.p(o, b) : (T.d(1), T = A(o), T && (T.c(), T.m(n.parentNode, n))), b[0] & /*title*/
395
395
  2 && D(
396
396
  u,
397
397
  /*title*/
@@ -401,7 +401,7 @@ function $(i) {
401
401
  o[12] ? f ? f.p(o, b) : (f = ne(o), f.c(), f.m(a, null)) : f && (f.d(1), f = null);
402
402
  },
403
403
  d(o) {
404
- o && (_(e), _(t), _(n), _(a)), c && c.d(o), h && h.d(o), T.d(o), p && p.d(), f && f.d();
404
+ o && (C(e), C(t), C(n), C(a)), c && c.d(o), h && h.d(o), T.d(o), p && p.d(), f && f.d();
405
405
  }
406
406
  };
407
407
  }
@@ -417,7 +417,7 @@ function ee(i) {
417
417
  i[15]);
418
418
  },
419
419
  m(d, l) {
420
- C(d, e, l), g(e, t), s || (u = B(
420
+ _(d, e, l), g(e, t), s || (u = B(
421
421
  /*matchStatus*/
422
422
  i[18].call(null, e)
423
423
  ), s = !0);
@@ -435,7 +435,7 @@ function ee(i) {
435
435
  d[15]) && m(e, "part", a);
436
436
  },
437
437
  d(d) {
438
- d && _(e), s = !1, u();
438
+ d && C(e), s = !1, u();
439
439
  }
440
440
  };
441
441
  }
@@ -449,14 +449,14 @@ function te(i) {
449
449
  t && t.c(), e = Se();
450
450
  },
451
451
  m(n, a) {
452
- t && t.m(n, a), C(n, e, a);
452
+ t && t.m(n, a), _(n, e, a);
453
453
  },
454
454
  p(n, a) {
455
455
  /*userenrolled*/
456
456
  n[5] ? t ? t.p(n, a) : (t = ie(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
457
457
  },
458
458
  d(n) {
459
- n && _(e), t && t.d(n);
459
+ n && C(e), t && t.d(n);
460
460
  }
461
461
  };
462
462
  }
@@ -470,7 +470,7 @@ function ie(i) {
470
470
  e = y("div"), n = R(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
471
471
  },
472
472
  m(a, s) {
473
- C(a, e, s), g(e, n);
473
+ _(a, e, s), g(e, n);
474
474
  },
475
475
  p(a, s) {
476
476
  s[0] & /*$_*/
@@ -478,7 +478,7 @@ function ie(i) {
478
478
  a[16]("enrolled") + "") && D(n, t);
479
479
  },
480
480
  d(a) {
481
- a && _(e);
481
+ a && C(e);
482
482
  }
483
483
  };
484
484
  }
@@ -493,7 +493,7 @@ function De(i) {
493
493
  i[0] == "Closed" ? "CardImgFinished" : ""));
494
494
  },
495
495
  m(l, c) {
496
- C(l, e, c), g(e, t), u || (d = B(
496
+ _(l, e, c), g(e, t), u || (d = B(
497
497
  /*matchStatus*/
498
498
  i[18].call(null, e)
499
499
  ), u = !0);
@@ -508,7 +508,7 @@ function De(i) {
508
508
  l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
509
509
  },
510
510
  d(l) {
511
- l && _(e), u = !1, d();
511
+ l && C(e), u = !1, d();
512
512
  }
513
513
  };
514
514
  }
@@ -524,7 +524,7 @@ function Ie(i) {
524
524
  i[0] == "Closed" ? "CardImgFinished" : ""));
525
525
  },
526
526
  m(l, c) {
527
- C(l, e, c), g(e, t), u || (d = B(
527
+ _(l, e, c), g(e, t), u || (d = B(
528
528
  /*matchStatus*/
529
529
  i[18].call(null, e)
530
530
  ), u = !0);
@@ -541,7 +541,7 @@ function Ie(i) {
541
541
  l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
542
542
  },
543
543
  d(l) {
544
- l && _(e), u = !1, d();
544
+ l && C(e), u = !1, d();
545
545
  }
546
546
  };
547
547
  }
@@ -555,7 +555,7 @@ function ae(i) {
555
555
  ), m(e, "class", "Date"), m(e, "part", "Date");
556
556
  },
557
557
  m(u, d) {
558
- C(u, e, d), g(e, t), a || (s = B(n = /*formatDate*/
558
+ _(u, e, d), g(e, t), a || (s = B(n = /*formatDate*/
559
559
  i[17].call(
560
560
  null,
561
561
  e,
@@ -569,7 +569,7 @@ function ae(i) {
569
569
  t,
570
570
  /*shownDate*/
571
571
  u[11]
572
- ), n && Ce(n.update) && d[0] & /*startdate*/
572
+ ), n && Ae(n.update) && d[0] & /*startdate*/
573
573
  4 && n.update.call(
574
574
  null,
575
575
  /*startdate*/
@@ -577,7 +577,7 @@ function ae(i) {
577
577
  );
578
578
  },
579
579
  d(u) {
580
- u && _(e), a = !1, s();
580
+ u && C(e), a = !1, s();
581
581
  }
582
582
  };
583
583
  }
@@ -588,10 +588,10 @@ function ne(i) {
588
588
  ), a, s, u, d, l, c = (
589
589
  /*$_*/
590
590
  i[16]("minbet") + ""
591
- ), h, z, A, T, p, f, o, b = (
591
+ ), h, j, A, T, p, f, o, b = (
592
592
  /*$_*/
593
593
  i[16]("seegames") + ""
594
- ), j, x, M, J = (
594
+ ), z, x, M, J = (
595
595
  /*$_*/
596
596
  i[16]("here") + ""
597
597
  ), L, F, N, W;
@@ -603,10 +603,10 @@ function ne(i) {
603
603
  /*showScoreCriteria*/
604
604
  i[14]
605
605
  ), l = R(`
606
- (`), h = R(c), z = I(), A = R(
606
+ (`), h = R(c), j = I(), A = R(
607
607
  /*minbetcount*/
608
608
  i[6]
609
- ), T = R(")"), p = I(), f = y("div"), o = y("p"), j = R(b), x = I(), M = y("a"), L = R(J), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
609
+ ), T = R(")"), p = I(), f = y("div"), o = y("p"), z = R(b), x = I(), M = y("a"), L = R(J), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
610
610
  M,
611
611
  "href",
612
612
  /*gameurl*/
@@ -615,7 +615,7 @@ function ne(i) {
615
615
  i[9] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(f, "class", "Games"), m(f, "part", "Games");
616
616
  },
617
617
  m(k, w) {
618
- C(k, e, w), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, z), g(t, A), g(t, T), C(k, p, w), C(k, f, w), g(f, o), g(o, j), g(o, x), g(o, M), g(M, L), N || (W = [
618
+ _(k, e, w), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, j), g(t, A), g(t, T), _(k, p, w), _(k, f, w), g(f, o), g(o, z), g(o, x), g(o, M), g(M, L), N || (W = [
619
619
  B(
620
620
  /*matchScoreCriteria*/
621
621
  i[19].call(null, u)
@@ -645,7 +645,7 @@ function ne(i) {
645
645
  k[6]
646
646
  ), w[0] & /*$_*/
647
647
  65536 && b !== (b = /*$_*/
648
- k[16]("seegames") + "") && D(j, b), w[0] & /*$_*/
648
+ k[16]("seegames") + "") && D(z, b), w[0] & /*$_*/
649
649
  65536 && J !== (J = /*$_*/
650
650
  k[16]("here") + "") && D(L, J), w[0] & /*gameurl*/
651
651
  256 && m(
@@ -658,7 +658,7 @@ function ne(i) {
658
658
  k[9] === "true" ? "_self" : "_blank") && m(M, "target", F);
659
659
  },
660
660
  d(k) {
661
- k && (_(e), _(p), _(f)), N = !1, Ae(W);
661
+ k && (C(e), C(p), C(f)), N = !1, Ce(W);
662
662
  }
663
663
  };
664
664
  }
@@ -676,7 +676,7 @@ function Fe(i) {
676
676
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
677
677
  },
678
678
  m(u, d) {
679
- C(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
679
+ _(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
680
680
  },
681
681
  p(u, d) {
682
682
  /*title*/
@@ -688,14 +688,14 @@ function Fe(i) {
688
688
  i: Y,
689
689
  o: Y,
690
690
  d(u) {
691
- u && _(e), a && a.d(), s && s.d(), i[29](null);
691
+ u && C(e), a && a.d(), s && s.d(), i[29](null);
692
692
  }
693
693
  };
694
694
  }
695
- function ze(i, e, t) {
695
+ function je(i, e, t) {
696
696
  let n;
697
- ke(i, we, (r) => t(16, n = r));
698
- let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: z = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: T = "" } = e, { showenrolled: p = "false" } = e, { gameurl: f = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: b = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { translationurl: M = "" } = e, J, L = "", F = !1, N = "", W = "", k = "";
697
+ pe(i, we, (r) => t(16, n = r));
698
+ let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: j = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: T = "" } = e, { showenrolled: p = "false" } = e, { gameurl: f = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: b = "false" } = e, { clientstyling: z = "" } = e, { clientstylingurl: x = "" } = e, { translationurl: M = "" } = e, J, L = "", F = !1, N = "", W = "", k = "";
699
699
  const w = () => {
700
700
  fetch(M).then((v) => v.json()).then((v) => {
701
701
  Object.keys(v).forEach((O) => {
@@ -729,7 +729,7 @@ function ze(i, e, t) {
729
729
  a.length > 0 && a != "false" ? t(12, F = !0) : t(12, F = !1);
730
730
  }, se = () => {
731
731
  let r = document.createElement("style");
732
- r.innerHTML = j, J.appendChild(r);
732
+ r.innerHTML = z, J.appendChild(r);
733
733
  }, le = () => {
734
734
  let r = new URL(x), v = document.createElement("style");
735
735
  fetch(r.href).then((O) => O.text()).then((O) => {
@@ -745,22 +745,22 @@ function ze(i, e, t) {
745
745
  );
746
746
  });
747
747
  };
748
- ye(() => (setTimeout(() => q(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", H, !1), () => {
748
+ ke(() => (setTimeout(() => q(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", H, !1), () => {
749
749
  window.removeEventListener("message", H);
750
750
  }));
751
751
  const q = () => {
752
752
  Re(o), G(), U(), d && P();
753
753
  }, oe = () => V();
754
754
  function ue(r) {
755
- Te[r ? "unshift" : "push"](() => {
755
+ ye[r ? "unshift" : "push"](() => {
756
756
  J = r, t(10, J);
757
757
  });
758
758
  }
759
759
  return i.$$set = (r) => {
760
- "session" in r && t(21, a = r.session), "userid" in r && t(22, s = r.userid), "title" in r && t(1, u = r.title), "startdate" in r && t(2, d = r.startdate), "status" in r && t(0, l = r.status), "tourid" in r && t(3, c = r.tourid), "thumbnail" in r && t(4, h = r.thumbnail), "userenrolled" in r && t(5, z = r.userenrolled), "scorecriteria" in r && t(23, A = r.scorecriteria), "minbetcount" in r && t(6, T = r.minbetcount), "showenrolled" in r && t(7, p = r.showenrolled), "gameurl" in r && t(8, f = r.gameurl), "lang" in r && t(24, o = r.lang), "keepbrowsercontext" in r && t(9, b = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, x = r.clientstylingurl), "translationurl" in r && t(27, M = r.translationurl);
760
+ "session" in r && t(21, a = r.session), "userid" in r && t(22, s = r.userid), "title" in r && t(1, u = r.title), "startdate" in r && t(2, d = r.startdate), "status" in r && t(0, l = r.status), "tourid" in r && t(3, c = r.tourid), "thumbnail" in r && t(4, h = r.thumbnail), "userenrolled" in r && t(5, j = r.userenrolled), "scorecriteria" in r && t(23, A = r.scorecriteria), "minbetcount" in r && t(6, T = r.minbetcount), "showenrolled" in r && t(7, p = r.showenrolled), "gameurl" in r && t(8, f = r.gameurl), "lang" in r && t(24, o = r.lang), "keepbrowsercontext" in r && t(9, b = r.keepbrowsercontext), "clientstyling" in r && t(25, z = r.clientstyling), "clientstylingurl" in r && t(26, x = r.clientstylingurl), "translationurl" in r && t(27, M = r.translationurl);
761
761
  }, i.$$.update = () => {
762
762
  i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
763
- 33555456 && J && j && se(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
763
+ 33555456 && J && z && se(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
764
764
  67109888 && J && x && le(), i.$$.dirty[0] & /*translationurl*/
765
765
  134217728 && M && w(), i.$$.dirty[0] & /*session*/
766
766
  2097152 && a && re(), i.$$.dirty[0] & /*status*/
@@ -774,7 +774,7 @@ function ze(i, e, t) {
774
774
  d,
775
775
  c,
776
776
  h,
777
- z,
777
+ j,
778
778
  T,
779
779
  p,
780
780
  f,
@@ -794,21 +794,21 @@ function ze(i, e, t) {
794
794
  s,
795
795
  A,
796
796
  o,
797
- j,
797
+ z,
798
798
  x,
799
799
  M,
800
800
  oe,
801
801
  ue
802
802
  ];
803
803
  }
804
- class je extends ge {
804
+ class ze extends ge {
805
805
  constructor(e) {
806
806
  super(), fe(
807
807
  this,
808
808
  e,
809
- ze,
809
+ je,
810
810
  Fe,
811
- he,
811
+ be,
812
812
  {
813
813
  session: 21,
814
814
  userid: 22,
@@ -935,7 +935,7 @@ class je extends ge {
935
935
  this.$$set({ translationurl: e }), S();
936
936
  }
937
937
  }
938
- be(je, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
938
+ Te(ze, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
939
939
  export {
940
- je as default
940
+ ze as default
941
941
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-Cfdgdrwr.cjs"),z=require("./CasinoTournamentsPageController-DaqJVUzu.cjs");require("../stencil/ui-skeleton-06DDwuG9.cjs");require("../stencil/ui-image-DEQHOm9Q.cjs");function L(a,t){z.addMessages(a,t)}function ae(a){z.$locale.set(a)}const E={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Sudjeluje",scoreCriteria:"Kriterij bodovanja",minbet:"Minimalni ulog",seegames:"Vidi igre",here:"ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj uloga",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},"en-us":{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function ne(a){e.append_styles(a,"svelte-1ymu8a4",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}')}function P(a){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>',i=e.space(),r=e.element("div"),r.innerHTML='<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>',e.attr(t,"class","Skeleton CardImg"),e.attr(r,"class","Details"),e.attr(r,"part","Details")},m(n,l){e.insert(n,t,l),e.insert(n,i,l),e.insert(n,r,l)},d(n){n&&(e.detach(t),e.detach(i),e.detach(r))}}}function B(a){let t,i,r,n,l,d,m,o,c=a[0]&&U(a),h=a[7]=="true"&&q(a);function v(u,f){return u[4]?se:re}let _=v(a),k=_(a),b=a[2]&&K(a),g=a[12]&&H(a);return{c(){c&&c.c(),t=e.space(),h&&h.c(),i=e.space(),k.c(),r=e.space(),n=e.element("div"),l=e.element("div"),d=e.text(a[1]),m=e.space(),b&&b.c(),o=e.space(),g&&g.c(),e.attr(l,"class","Title"),e.attr(l,"part","Title"),e.attr(n,"class","Details"),e.attr(n,"part","Details")},m(u,f){c&&c.m(u,f),e.insert(u,t,f),h&&h.m(u,f),e.insert(u,i,f),k.m(u,f),e.insert(u,r,f),e.insert(u,n,f),e.append(n,l),e.append(l,d),e.append(n,m),b&&b.m(n,null),e.append(n,o),g&&g.m(n,null)},p(u,f){u[0]?c?c.p(u,f):(c=U(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[7]=="true"?h?h.p(u,f):(h=q(u),h.c(),h.m(i.parentNode,i)):h&&(h.d(1),h=null),_===(_=v(u))&&k?k.p(u,f):(k.d(1),k=_(u),k&&(k.c(),k.m(r.parentNode,r))),f[0]&2&&e.set_data(d,u[1]),u[2]?b?b.p(u,f):(b=K(u),b.c(),b.m(n,o)):b&&(b.d(1),b=null),u[12]?g?g.p(u,f):(g=H(u),g.c(),g.m(n,null)):g&&(g.d(1),g=null)},d(u){u&&(e.detach(t),e.detach(i),e.detach(r),e.detach(n)),c&&c.d(u),h&&h.d(u),k.d(u),b&&b.d(),g&&g.d()}}}function U(a){let t,i,r,n,l,d;return{c(){t=e.element("div"),i=e.text(a[13]),e.attr(t,"class",r="Status "+a[15]),e.attr(t,"part",n="Status "+a[15])},m(m,o){e.insert(m,t,o),e.append(t,i),l||(d=e.action_destroyer(a[18].call(null,t)),l=!0)},p(m,o){o[0]&8192&&e.set_data(i,m[13]),o[0]&32768&&r!==(r="Status "+m[15])&&e.attr(t,"class",r),o[0]&32768&&n!==(n="Status "+m[15])&&e.attr(t,"part",n)},d(m){m&&e.detach(t),l=!1,d()}}}function q(a){let t,i=a[5]&&G(a);return{c(){i&&i.c(),t=e.empty()},m(r,n){i&&i.m(r,n),e.insert(r,t,n)},p(r,n){r[5]?i?i.p(r,n):(i=G(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&e.detach(t),i&&i.d(r)}}}function G(a){let t,i=a[16]("enrolled")+"",r;return{c(){t=e.element("div"),r=e.text(i),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(n,l){e.insert(n,t,l),e.append(t,r)},p(n,l){l[0]&65536&&i!==(i=n[16]("enrolled")+"")&&e.set_data(r,i)},d(n){n&&e.detach(t)}}}function re(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.src_url_equal(i.src,r="https://i.stack.imgur.com/y9DpT.jpg")||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[18].call(null,t)),d=!0)},p(o,c){c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function se(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.set_custom_element_data(i,"class","UIImage"),e.src_url_equal(i.src,r=a[4])||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[18].call(null,t)),d=!0)},p(o,c){c[0]&16&&!e.src_url_equal(i.src,r=o[4])&&e.set_custom_element_data(i,"src",r),c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function K(a){let t,i,r,n,l;return{c(){t=e.element("div"),i=e.text(a[11]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(d,m){e.insert(d,t,m),e.append(t,i),n||(l=e.action_destroyer(r=a[17].call(null,t,a[2])),n=!0)},p(d,m){m[0]&2048&&e.set_data(i,d[11]),r&&e.is_function(r.update)&&m[0]&4&&r.update.call(null,d[2])},d(d){d&&e.detach(t),n=!1,l()}}}function H(a){let t,i,r=a[16]("scoreCriteria")+"",n,l,d,m,o,c=a[16]("minbet")+"",h,v,_,k,b,g,u,f=a[16]("seegames")+"",M,D,S,A=a[16]("here")+"",I,T,w,R;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(r),l=e.text(`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-Cfdgdrwr.cjs"),z=require("./CasinoTournamentsPageController-BsbNFCug.cjs");require("../stencil/ui-skeleton-se83zfWh.cjs");require("../stencil/ui-image-DE8MJHCZ.cjs");function L(a,t){z.addMessages(a,t)}function ae(a){z.$locale.set(a)}const E={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Sudjeluje",scoreCriteria:"Kriterij bodovanja",minbet:"Minimalni ulog",seegames:"Vidi igre",here:"ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj uloga",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},"en-us":{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function ne(a){e.append_styles(a,"svelte-1ymu8a4",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}')}function P(a){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>',i=e.space(),r=e.element("div"),r.innerHTML='<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>',e.attr(t,"class","Skeleton CardImg"),e.attr(r,"class","Details"),e.attr(r,"part","Details")},m(n,l){e.insert(n,t,l),e.insert(n,i,l),e.insert(n,r,l)},d(n){n&&(e.detach(t),e.detach(i),e.detach(r))}}}function B(a){let t,i,r,n,l,d,m,o,c=a[0]&&U(a),h=a[7]=="true"&&q(a);function v(u,f){return u[4]?se:re}let _=v(a),k=_(a),b=a[2]&&K(a),g=a[12]&&H(a);return{c(){c&&c.c(),t=e.space(),h&&h.c(),i=e.space(),k.c(),r=e.space(),n=e.element("div"),l=e.element("div"),d=e.text(a[1]),m=e.space(),b&&b.c(),o=e.space(),g&&g.c(),e.attr(l,"class","Title"),e.attr(l,"part","Title"),e.attr(n,"class","Details"),e.attr(n,"part","Details")},m(u,f){c&&c.m(u,f),e.insert(u,t,f),h&&h.m(u,f),e.insert(u,i,f),k.m(u,f),e.insert(u,r,f),e.insert(u,n,f),e.append(n,l),e.append(l,d),e.append(n,m),b&&b.m(n,null),e.append(n,o),g&&g.m(n,null)},p(u,f){u[0]?c?c.p(u,f):(c=U(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[7]=="true"?h?h.p(u,f):(h=q(u),h.c(),h.m(i.parentNode,i)):h&&(h.d(1),h=null),_===(_=v(u))&&k?k.p(u,f):(k.d(1),k=_(u),k&&(k.c(),k.m(r.parentNode,r))),f[0]&2&&e.set_data(d,u[1]),u[2]?b?b.p(u,f):(b=K(u),b.c(),b.m(n,o)):b&&(b.d(1),b=null),u[12]?g?g.p(u,f):(g=H(u),g.c(),g.m(n,null)):g&&(g.d(1),g=null)},d(u){u&&(e.detach(t),e.detach(i),e.detach(r),e.detach(n)),c&&c.d(u),h&&h.d(u),k.d(u),b&&b.d(),g&&g.d()}}}function U(a){let t,i,r,n,l,d;return{c(){t=e.element("div"),i=e.text(a[13]),e.attr(t,"class",r="Status "+a[15]),e.attr(t,"part",n="Status "+a[15])},m(m,o){e.insert(m,t,o),e.append(t,i),l||(d=e.action_destroyer(a[18].call(null,t)),l=!0)},p(m,o){o[0]&8192&&e.set_data(i,m[13]),o[0]&32768&&r!==(r="Status "+m[15])&&e.attr(t,"class",r),o[0]&32768&&n!==(n="Status "+m[15])&&e.attr(t,"part",n)},d(m){m&&e.detach(t),l=!1,d()}}}function q(a){let t,i=a[5]&&G(a);return{c(){i&&i.c(),t=e.empty()},m(r,n){i&&i.m(r,n),e.insert(r,t,n)},p(r,n){r[5]?i?i.p(r,n):(i=G(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&e.detach(t),i&&i.d(r)}}}function G(a){let t,i=a[16]("enrolled")+"",r;return{c(){t=e.element("div"),r=e.text(i),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(n,l){e.insert(n,t,l),e.append(t,r)},p(n,l){l[0]&65536&&i!==(i=n[16]("enrolled")+"")&&e.set_data(r,i)},d(n){n&&e.detach(t)}}}function re(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.src_url_equal(i.src,r="https://i.stack.imgur.com/y9DpT.jpg")||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[18].call(null,t)),d=!0)},p(o,c){c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function se(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.set_custom_element_data(i,"class","UIImage"),e.src_url_equal(i.src,r=a[4])||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[18].call(null,t)),d=!0)},p(o,c){c[0]&16&&!e.src_url_equal(i.src,r=o[4])&&e.set_custom_element_data(i,"src",r),c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function K(a){let t,i,r,n,l;return{c(){t=e.element("div"),i=e.text(a[11]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(d,m){e.insert(d,t,m),e.append(t,i),n||(l=e.action_destroyer(r=a[17].call(null,t,a[2])),n=!0)},p(d,m){m[0]&2048&&e.set_data(i,d[11]),r&&e.is_function(r.update)&&m[0]&4&&r.update.call(null,d[2])},d(d){d&&e.detach(t),n=!1,l()}}}function H(a){let t,i,r=a[16]("scoreCriteria")+"",n,l,d,m,o,c=a[16]("minbet")+"",h,v,_,k,b,g,u,f=a[16]("seegames")+"",M,D,S,A=a[16]("here")+"",I,T,w,R;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(r),l=e.text(`:
2
2
 
3
3
  `),d=e.element("span"),m=e.text(a[14]),o=e.text(`
4
4
  (`),h=e.text(c),v=e.space(),_=e.text(a[6]),k=e.text(")"),b=e.space(),g=e.element("div"),u=e.element("p"),M=e.text(f),D=e.space(),S=e.element("a"),I=e.text(A),e.attr(d,"part","ScoreCriteriaSpan"),e.attr(i,"part","ScoreCriteriaP"),e.attr(t,"class","ScoreCriteria"),e.attr(t,"part","ScoreCriteria"),e.attr(S,"part","GamesAnchor"),e.attr(S,"href",a[8]),e.attr(S,"target",T=a[9]==="true"?"_self":"_blank"),e.attr(u,"part","GamesP"),e.attr(g,"class","Games"),e.attr(g,"part","Games")},m(p,C){e.insert(p,t,C),e.append(t,i),e.append(i,n),e.append(i,l),e.append(i,d),e.append(d,m),e.append(i,o),e.append(i,h),e.append(i,v),e.append(i,_),e.append(i,k),e.insert(p,b,C),e.insert(p,g,C),e.append(g,u),e.append(u,M),e.append(u,D),e.append(u,S),e.append(S,I),w||(R=[e.action_destroyer(a[19].call(null,d)),e.listen(S,"click",a[28])],w=!0)},p(p,C){C[0]&65536&&r!==(r=p[16]("scoreCriteria")+"")&&e.set_data(n,r),C[0]&16384&&e.set_data(m,p[14]),C[0]&65536&&c!==(c=p[16]("minbet")+"")&&e.set_data(h,c),C[0]&64&&e.set_data(_,p[6]),C[0]&65536&&f!==(f=p[16]("seegames")+"")&&e.set_data(M,f),C[0]&65536&&A!==(A=p[16]("here")+"")&&e.set_data(I,A),C[0]&256&&e.attr(S,"href",p[8]),C[0]&512&&T!==(T=p[9]==="true"?"_self":"_blank")&&e.attr(S,"target",T)},d(p){p&&(e.detach(t),e.detach(b),e.detach(g)),w=!1,e.run_all(R)}}}function le(a){let t,i,r,n=a[1]==="undefined"&&P(),l=a[1]!=="undefined"&&B(a);return{c(){t=e.element("div"),n&&n.c(),i=e.space(),l&&l.c(),e.attr(t,"class",r=`Thumbnail ${a[1]==="undefined"?"Loading":""}`),e.attr(t,"part","Thumbnail")},m(d,m){e.insert(d,t,m),n&&n.m(t,null),e.append(t,i),l&&l.m(t,null),a[29](t)},p(d,m){d[1]==="undefined"?n||(n=P(),n.c(),n.m(t,i)):n&&(n.d(1),n=null),d[1]!=="undefined"?l?l.p(d,m):(l=B(d),l.c(),l.m(t,null)):l&&(l.d(1),l=null),m[0]&2&&r!==(r=`Thumbnail ${d[1]==="undefined"?"Loading":""}`)&&e.attr(t,"class",r)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),n&&n.d(),l&&l.d(),a[29](null)}}}function oe(a,t,i){let r;e.component_subscribe(a,z.$format,s=>i(16,r=s));let{session:n=""}=t,{userid:l=""}=t,{title:d=""}=t,{startdate:m=""}=t,{status:o=""}=t,{tourid:c=""}=t,{thumbnail:h=""}=t,{userenrolled:v=""}=t,{scorecriteria:_=""}=t,{minbetcount:k=""}=t,{showenrolled:b="false"}=t,{gameurl:g=""}=t,{lang:u="en"}=t,{keepbrowsercontext:f="false"}=t,{clientstyling:M=""}=t,{clientstylingurl:D=""}=t,{translationurl:S=""}=t,A,I="",T=!1,w="",R="",p="";const C=()=>{fetch(S).then(y=>y.json()).then(y=>{Object.keys(y).forEach(J=>{L(J,y[J])})}).catch(y=>{console.log(y)})};Object.keys(E).forEach(s=>{L(s,E[s])});const N=s=>{s.data&&(s.data&&s.data.type=="SessionID"&&i(12,T=!0),s.data.type==`TournamentStatus_${c}`&&i(0,o=s.data.status))},F=()=>{const s={month:"long"};let y=new Date(m),J=new Intl.DateTimeFormat("en",s).format(y),ee=y.getDate(),te=y.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const ie=()=>r(o==="Running"?"startedAt":"startingAt");i(11,I=`${ee} `+r(`${J}`)+", "+ie()+` ${te}`)},x=()=>{o=="Unstarted"&&(i(13,w=r("scheduled")),i(15,p="StatusUnstarted")),o=="Running"&&(i(13,w=r("ongoing")),i(15,p="StatusRunning")),(o=="Closed"||o=="Closing")&&i(13,w=r("finished")),o=="Closed"&&i(15,p="StatusClosed"),o=="Closing"&&i(15,p="StatusClosing")},j=()=>{_=="BetCount"&&i(14,R=r("betCount")),_=="MaxWinStakeRatio"&&i(14,R=r("maxWinStakeRatio")),_=="WinStakeRatio"&&i(14,R=r("winStakeRatio")),_=="Stake"&&i(14,R=r("stake"))},O=(s,y)=>{window.postMessage({type:"tournamentGamesClicked",tourId:y},window.location.href)},Y=()=>{n.length>0&&n!="false"?i(12,T=!0):i(12,T=!1)},Z=()=>{let s=document.createElement("style");s.innerHTML=M,A.appendChild(s)},Q=()=>{let s=new URL(D),y=document.createElement("style");fetch(s.href).then(J=>J.text()).then(J=>{y.innerHTML=J,setTimeout(()=>{A.appendChild(y)},1),setTimeout(()=>{},500)})};e.onMount(()=>(setTimeout(()=>W(),1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)}));const W=()=>{ae(u),j(),x(),m&&F()},X=()=>O();function $(s){e.binding_callbacks[s?"unshift":"push"](()=>{A=s,i(10,A)})}return a.$$set=s=>{"session"in s&&i(21,n=s.session),"userid"in s&&i(22,l=s.userid),"title"in s&&i(1,d=s.title),"startdate"in s&&i(2,m=s.startdate),"status"in s&&i(0,o=s.status),"tourid"in s&&i(3,c=s.tourid),"thumbnail"in s&&i(4,h=s.thumbnail),"userenrolled"in s&&i(5,v=s.userenrolled),"scorecriteria"in s&&i(23,_=s.scorecriteria),"minbetcount"in s&&i(6,k=s.minbetcount),"showenrolled"in s&&i(7,b=s.showenrolled),"gameurl"in s&&i(8,g=s.gameurl),"lang"in s&&i(24,u=s.lang),"keepbrowsercontext"in s&&i(9,f=s.keepbrowsercontext),"clientstyling"in s&&i(25,M=s.clientstyling),"clientstylingurl"in s&&i(26,D=s.clientstylingurl),"translationurl"in s&&i(27,S=s.translationurl)},a.$$.update=()=>{a.$$.dirty[0]&33555456&&A&&M&&Z(),a.$$.dirty[0]&67109888&&A&&D&&Q(),a.$$.dirty[0]&134217728&&S&&C(),a.$$.dirty[0]&2097152&&n&&Y(),a.$$.dirty[0]&1&&o&&x(),a.$$.dirty[0]&16777218&&d&&u&&W(),a.$$.dirty[0]&4&&m&&F(),a.$$.dirty[0]&8388608&&_&&j()},[o,d,m,c,h,v,k,b,g,f,A,I,T,w,R,p,r,F,x,j,O,n,l,_,u,M,D,S,X,$]}class V extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,le,e.safe_not_equal,{session:21,userid:22,title:1,startdate:2,status:0,tourid:3,thumbnail:4,userenrolled:5,scorecriteria:23,minbetcount:6,showenrolled:7,gameurl:8,lang:24,keepbrowsercontext:9,clientstyling:25,clientstylingurl:26,translationurl:27},ne,[-1,-1])}get session(){return this.$$.ctx[21]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[22]}set userid(t){this.$$set({userid:t}),e.flush()}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),e.flush()}get startdate(){return this.$$.ctx[2]}set startdate(t){this.$$set({startdate:t}),e.flush()}get status(){return this.$$.ctx[0]}set status(t){this.$$set({status:t}),e.flush()}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get thumbnail(){return this.$$.ctx[4]}set thumbnail(t){this.$$set({thumbnail:t}),e.flush()}get userenrolled(){return this.$$.ctx[5]}set userenrolled(t){this.$$set({userenrolled:t}),e.flush()}get scorecriteria(){return this.$$.ctx[23]}set scorecriteria(t){this.$$set({scorecriteria:t}),e.flush()}get minbetcount(){return this.$$.ctx[6]}set minbetcount(t){this.$$set({minbetcount:t}),e.flush()}get showenrolled(){return this.$$.ctx[7]}set showenrolled(t){this.$$set({showenrolled:t}),e.flush()}get gameurl(){return this.$$.ctx[8]}set gameurl(t){this.$$set({gameurl:t}),e.flush()}get lang(){return this.$$.ctx[24]}set lang(t){this.$$set({lang:t}),e.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(V,{session:{},userid:{},title:{},startdate:{},status:{},tourid:{},thumbnail:{},userenrolled:{},scorecriteria:{},minbetcount:{},showenrolled:{},gameurl:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=V;