@everymatrix/casino-tournaments-controller 1.67.3 → 1.68.0

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 (65) hide show
  1. package/components/CasinoTournamentsController-C99E3MCm.cjs +27 -0
  2. package/components/{CasinoTournamentsController-7AKjDr-2.js → CasinoTournamentsController-CtQ0SbZ1.js} +1411 -1336
  3. package/components/{CasinoTournamentsController-CVqp7a_8.js → CasinoTournamentsController-Dv0w6uxv.js} +1503 -1428
  4. package/components/CasinoTournamentsFilterController-CA_x2Klb.js +531 -0
  5. package/components/CasinoTournamentsFilterController-D8z30hIO.cjs +1 -0
  6. package/components/{CasinoTournamentsFilterController-DgpPT6gm.js → CasinoTournamentsFilterController-ZPodzMjS.js} +170 -175
  7. package/components/{CasinoTournamentsListController-DMd3vYND.js → CasinoTournamentsListController-BYjVebPq.js} +960 -958
  8. package/components/CasinoTournamentsListController-CMsPWeSH.cjs +13 -0
  9. package/components/{CasinoTournamentsListController-oZgCph3g.js → CasinoTournamentsListController-CWtG_Kjm.js} +960 -958
  10. package/components/{CasinoTournamentsThumbnail-BJ9-GP8X.js → CasinoTournamentsThumbnail-DIFGhQrc.js} +180 -188
  11. package/components/{CasinoTournamentsThumbnail-O3FpkA6K.js → CasinoTournamentsThumbnail-Dtfyse7r.js} +180 -188
  12. package/components/{CasinoTournamentsThumbnail-BfhLke2H.cjs → CasinoTournamentsThumbnail-zXFGDGG1.cjs} +2 -2
  13. package/components/CasinoTournamentsThumbnailController-Cjehrx7D.cjs +1 -0
  14. package/components/{CasinoTournamentsThumbnailController-8tUPae_-.js → CasinoTournamentsThumbnailController-DChZllZ4.js} +467 -431
  15. package/components/{CasinoTournamentsThumbnailController-zdo20CEm.js → CasinoTournamentsThumbnailController-cPtKiglf.js} +396 -360
  16. package/components/{CasinoTournamentsThumbnailDuration-CMlv4ox4.js → CasinoTournamentsThumbnailDuration-CRqfmGfU.js} +155 -161
  17. package/components/{CasinoTournamentsThumbnailDuration-QeZBsYjk.js → CasinoTournamentsThumbnailDuration-DFTngt18.js} +154 -160
  18. package/components/CasinoTournamentsThumbnailDuration-kjnnyoM_.cjs +1 -0
  19. package/components/CasinoTournamentsThumbnailGamesSlider-CrfM0zwZ.js +434 -0
  20. package/components/CasinoTournamentsThumbnailGamesSlider-K4TlIiKZ.cjs +1 -0
  21. package/components/CasinoTournamentsThumbnailGamesSlider-cZ5Ks8Mw.js +434 -0
  22. package/components/CasinoTournamentsThumbnailPrizes-Ba3SYovQ.js +307 -0
  23. package/components/CasinoTournamentsThumbnailPrizes-C1nsvr3R.js +307 -0
  24. package/components/CasinoTournamentsThumbnailPrizes-DnyppL-K.cjs +1 -0
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/{index-97d17652-ChRvzjAp.js → index-97d17652-BEnqZAxL.js} +186 -186
  30. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  31. package/stencil/{index-97d17652-DKsTmN3Z.js → index-97d17652-WK_DbPS4.js} +175 -175
  32. package/stencil/index-b2193545-BOMvxBzV.js +519 -0
  33. package/stencil/index-b2193545-CFn9dM-v.js +503 -0
  34. package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
  35. package/stencil/{ui-image-ClXqMGwp.js → ui-image-3hy4ZvUC.js} +1 -1
  36. package/stencil/{ui-image-YphrYZtA.js → ui-image-D0wxuPze.js} +1 -1
  37. package/stencil/{ui-image-Db5QCSmt.cjs → ui-image-DE8MJHCZ.cjs} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-B43lELFk.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-CRQDt62Z.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-DVcK_myk.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  41. package/stencil/{ui-image_2-Df0q0jE8.js → ui-image_2-B56t6kXT.js} +2 -2
  42. package/stencil/{ui-image_2-EP2dwjfi.js → ui-image_2-BncuYpLi.js} +2 -2
  43. package/stencil/{ui-image_2-CyHaM9Na.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  44. package/stencil/{ui-skeleton-1cb75d00-bf7NJcVF.js → ui-skeleton-1cb75d00-B-R8GbLJ.js} +1 -1
  45. package/stencil/{ui-skeleton-1cb75d00-nmwFu55Y.cjs → ui-skeleton-1cb75d00-BTnhspbc.cjs} +1 -1
  46. package/stencil/{ui-skeleton-1cb75d00-U47XWOV2.js → ui-skeleton-1cb75d00-Dy30RNE6.js} +1 -1
  47. package/stencil/{ui-skeleton-DSlZCsjK.js → ui-skeleton-CVBjRUvi.js} +2 -2
  48. package/stencil/{ui-skeleton-P9Vv-0Vy.js → ui-skeleton-RkXNxPG1.js} +2 -2
  49. package/stencil/{ui-skeleton-DXCQ8Yoq.cjs → ui-skeleton-se83zfWh.cjs} +1 -1
  50. package/components/CasinoTournamentsController-Coh7cPDO.cjs +0 -27
  51. package/components/CasinoTournamentsFilterController-BsmnMKtv.cjs +0 -1
  52. package/components/CasinoTournamentsFilterController-rPR6a4OA.js +0 -536
  53. package/components/CasinoTournamentsListController-zT0eUIB7.cjs +0 -13
  54. package/components/CasinoTournamentsThumbnailController-BEMM0P7L.cjs +0 -1
  55. package/components/CasinoTournamentsThumbnailDuration-C9R9OaYe.cjs +0 -1
  56. package/components/CasinoTournamentsThumbnailGamesSlider-DC9AU0N8.js +0 -442
  57. package/components/CasinoTournamentsThumbnailGamesSlider-KexMuwyu.js +0 -442
  58. package/components/CasinoTournamentsThumbnailGamesSlider-O0SVU50O.cjs +0 -1
  59. package/components/CasinoTournamentsThumbnailPrizes-B4Am-AyF.js +0 -315
  60. package/components/CasinoTournamentsThumbnailPrizes-DuHPFshm.js +0 -315
  61. package/components/CasinoTournamentsThumbnailPrizes-DwsTRQPD.cjs +0 -1
  62. package/stencil/index-97d17652-qWThG1U9.cjs +0 -1
  63. package/stencil/index-b2193545-C1ayEiG4.js +0 -503
  64. package/stencil/index-b2193545-CyidmLE0.cjs +0 -1
  65. package/stencil/index-b2193545-s3PsNboB.js +0 -519
@@ -1,18 +1,18 @@
1
- import { z as H, A as fe, a as be, S as he, i as pe, f as S, c as ke, s as ye, b as Se, e as y, m as I, d as m, h as C, o as g, n as Z, j as _, k as Ce, w as _e, t as w, p as D, B, x as Ae, C as Te, r as ve, D as Me, u as we, E as V, y as L, $ as Re } from "./CasinoTournamentsController-CVqp7a_8.js";
2
- import "../stencil/ui-skeleton-DSlZCsjK.js";
3
- import "../stencil/ui-image-ClXqMGwp.js";
4
- function Je({ withLocale: i, translations: e }) {
5
- H.subscribe((t) => {
6
- t == null && (fe.set(e), H.set(i));
1
+ import { C as K, D as ge, a as be, S as fe, i as he, s as pe, f as S, b as ke, n as Y, d as _, g as m, c as A, p as g, e as C, q as D, j as ye, o as Se, m as R, t as J, r as Ce, E, A as _e, F as Ae, u as Te, G as H, B as L, H as ve, w as Me, x as we, y as Je, z as Re, $ as De } from "./CasinoTournamentsController-Dv0w6uxv.js";
2
+ import "../stencil/ui-skeleton-CVBjRUvi.js";
3
+ import "../stencil/ui-image-3hy4ZvUC.js";
4
+ function Ie({ withLocale: i, translations: e }) {
5
+ K.subscribe((t) => {
6
+ t == null && (ge.set(e), K.set(i));
7
7
  });
8
8
  }
9
- function Q(i, e) {
9
+ function Z(i, e) {
10
10
  be(i, e);
11
11
  }
12
- function De(i) {
13
- H.set(i);
12
+ function Fe(i) {
13
+ K.set(i);
14
14
  }
15
- const X = {
15
+ const Q = {
16
16
  en: {
17
17
  enrolled: "Enrolled",
18
18
  scoreCriteria: "Score Criteria",
@@ -344,76 +344,76 @@ const X = {
344
344
  December: "December"
345
345
  }
346
346
  };
347
- function Ie(i) {
348
- Se(i, "svelte-1bncdcr", ':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;max-height:100%}.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}');
347
+ function ze(i) {
348
+ ke(i, "svelte-1bncdcr", ':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;max-height:100%}.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}');
349
349
  }
350
- function $(i) {
350
+ function X(i) {
351
351
  let e, t, n;
352
352
  return {
353
353
  c() {
354
- 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");
354
+ e = C("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = D(), n = C("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");
355
355
  },
356
356
  m(a, s) {
357
- C(a, e, s), C(a, t, s), C(a, n, s);
357
+ A(a, e, s), A(a, t, s), A(a, n, s);
358
358
  },
359
359
  d(a) {
360
360
  a && (_(e), _(t), _(n));
361
361
  }
362
362
  };
363
363
  }
364
- function ee(i) {
364
+ function $(i) {
365
365
  let e, t, n, a, s, u, d, l, c = (
366
366
  /*status*/
367
- i[0] && te(i)
367
+ i[0] && ee(i)
368
368
  ), h = (
369
369
  /*showenrolled*/
370
- i[7] == "true" && ie(i)
370
+ i[7] == "true" && te(i)
371
371
  );
372
- function z(o, b) {
372
+ function F(o, f) {
373
373
  return (
374
374
  /*thumbnail*/
375
- o[4] ? ze : Fe
375
+ o[4] ? Ne : je
376
376
  );
377
377
  }
378
- let A = z(i), T = A(i), p = (
378
+ let T = F(i), v = T(i), p = (
379
379
  /*startdate*/
380
- i[2] && ne(i)
381
- ), f = (
380
+ i[2] && ae(i)
381
+ ), b = (
382
382
  /*isLoggedIn*/
383
- i[12] && re(i)
383
+ i[12] && ne(i)
384
384
  );
385
385
  return {
386
386
  c() {
387
- c && c.c(), e = I(), h && h.c(), t = I(), T.c(), n = I(), a = y("div"), s = y("div"), u = w(
387
+ c && c.c(), e = D(), h && h.c(), t = D(), v.c(), n = D(), a = C("div"), s = C("div"), u = J(
388
388
  /*title*/
389
389
  i[1]
390
- ), 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");
390
+ ), d = D(), p && p.c(), l = D(), b && b.c(), m(s, "class", "Title"), m(s, "part", "Title"), m(a, "class", "Details"), m(a, "part", "Details");
391
391
  },
392
- m(o, b) {
393
- 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);
392
+ m(o, f) {
393
+ c && c.m(o, f), A(o, e, f), h && h.m(o, f), A(o, t, f), v.m(o, f), A(o, n, f), A(o, a, f), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), b && b.m(a, null);
394
394
  },
395
- p(o, b) {
395
+ p(o, f) {
396
396
  /*status*/
397
- o[0] ? c ? c.p(o, b) : (c = te(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*showenrolled*/
398
- o[7] == "true" ? h ? h.p(o, b) : (h = ie(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*/
399
- 2 && D(
397
+ o[0] ? c ? c.p(o, f) : (c = ee(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*showenrolled*/
398
+ o[7] == "true" ? h ? h.p(o, f) : (h = te(o), h.c(), h.m(t.parentNode, t)) : h && (h.d(1), h = null), T === (T = F(o)) && v ? v.p(o, f) : (v.d(1), v = T(o), v && (v.c(), v.m(n.parentNode, n))), f[0] & /*title*/
399
+ 2 && R(
400
400
  u,
401
401
  /*title*/
402
402
  o[1]
403
403
  ), /*startdate*/
404
- o[2] ? p ? p.p(o, b) : (p = ne(o), p.c(), p.m(a, l)) : p && (p.d(1), p = null), /*isLoggedIn*/
405
- o[12] ? f ? f.p(o, b) : (f = re(o), f.c(), f.m(a, null)) : f && (f.d(1), f = null);
404
+ o[2] ? p ? p.p(o, f) : (p = ae(o), p.c(), p.m(a, l)) : p && (p.d(1), p = null), /*isLoggedIn*/
405
+ o[12] ? b ? b.p(o, f) : (b = ne(o), b.c(), b.m(a, null)) : b && (b.d(1), b = null);
406
406
  },
407
407
  d(o) {
408
- o && (_(e), _(t), _(n), _(a)), c && c.d(o), h && h.d(o), T.d(o), p && p.d(), f && f.d();
408
+ o && (_(e), _(t), _(n), _(a)), c && c.d(o), h && h.d(o), v.d(o), p && p.d(), b && b.d();
409
409
  }
410
410
  };
411
411
  }
412
- function te(i) {
412
+ function ee(i) {
413
413
  let e, t, n, a, s, u;
414
414
  return {
415
415
  c() {
416
- e = y("div"), t = w(
416
+ e = C("div"), t = J(
417
417
  /*shownStatus*/
418
418
  i[13]
419
419
  ), m(e, "class", n = "Status " + /*statusClass*/
@@ -421,14 +421,14 @@ function te(i) {
421
421
  i[15]);
422
422
  },
423
423
  m(d, l) {
424
- C(d, e, l), g(e, t), s || (u = B(
424
+ A(d, e, l), g(e, t), s || (u = E(
425
425
  /*matchStatus*/
426
426
  i[18].call(null, e)
427
427
  ), s = !0);
428
428
  },
429
429
  p(d, l) {
430
430
  l[0] & /*shownStatus*/
431
- 8192 && D(
431
+ 8192 && R(
432
432
  t,
433
433
  /*shownStatus*/
434
434
  d[13]
@@ -443,61 +443,61 @@ function te(i) {
443
443
  }
444
444
  };
445
445
  }
446
- function ie(i) {
446
+ function te(i) {
447
447
  let e, t = (
448
448
  /*userenrolled*/
449
- i[5] && ae(i)
449
+ i[5] && ie(i)
450
450
  );
451
451
  return {
452
452
  c() {
453
- t && t.c(), e = Ae();
453
+ t && t.c(), e = _e();
454
454
  },
455
455
  m(n, a) {
456
- t && t.m(n, a), C(n, e, a);
456
+ t && t.m(n, a), A(n, e, a);
457
457
  },
458
458
  p(n, a) {
459
459
  /*userenrolled*/
460
- n[5] ? t ? t.p(n, a) : (t = ae(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
460
+ n[5] ? t ? t.p(n, a) : (t = ie(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
461
461
  },
462
462
  d(n) {
463
463
  n && _(e), t && t.d(n);
464
464
  }
465
465
  };
466
466
  }
467
- function ae(i) {
467
+ function ie(i) {
468
468
  let e, t = (
469
469
  /*$_*/
470
470
  i[16]("enrolled") + ""
471
471
  ), n;
472
472
  return {
473
473
  c() {
474
- e = y("div"), n = w(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
474
+ e = C("div"), n = J(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
475
475
  },
476
476
  m(a, s) {
477
- C(a, e, s), g(e, n);
477
+ A(a, e, s), g(e, n);
478
478
  },
479
479
  p(a, s) {
480
480
  s[0] & /*$_*/
481
481
  65536 && t !== (t = /*$_*/
482
- a[16]("enrolled") + "") && D(n, t);
482
+ a[16]("enrolled") + "") && R(n, t);
483
483
  },
484
484
  d(a) {
485
485
  a && _(e);
486
486
  }
487
487
  };
488
488
  }
489
- function Fe(i) {
489
+ function je(i) {
490
490
  let e, t, n, a, s, u, d;
491
491
  return {
492
492
  c() {
493
- e = y("div"), t = y("ui-image"), V(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || L(t, "src", n), L(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
493
+ e = C("div"), t = C("ui-image"), H(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || L(t, "src", n), L(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
494
494
  (i[0] == "Closing" || /*status*/
495
495
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
496
496
  (i[0] == "Closing" || /*status*/
497
497
  i[0] == "Closed" ? "CardImgFinished" : ""));
498
498
  },
499
499
  m(l, c) {
500
- C(l, e, c), g(e, t), u || (d = B(
500
+ A(l, e, c), g(e, t), u || (d = E(
501
501
  /*matchStatus*/
502
502
  i[18].call(null, e)
503
503
  ), u = !0);
@@ -516,11 +516,11 @@ function Fe(i) {
516
516
  }
517
517
  };
518
518
  }
519
- function ze(i) {
519
+ function Ne(i) {
520
520
  let e, t, n, a, s, u, d;
521
521
  return {
522
522
  c() {
523
- e = y("div"), t = y("ui-image"), L(t, "class", "UIImage"), V(t.src, n = /*thumbnail*/
523
+ e = C("div"), t = C("ui-image"), L(t, "class", "UIImage"), H(t.src, n = /*thumbnail*/
524
524
  i[4]) || L(t, "src", n), L(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
525
525
  (i[0] == "Closing" || /*status*/
526
526
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
@@ -528,14 +528,14 @@ function ze(i) {
528
528
  i[0] == "Closed" ? "CardImgFinished" : ""));
529
529
  },
530
530
  m(l, c) {
531
- C(l, e, c), g(e, t), u || (d = B(
531
+ A(l, e, c), g(e, t), u || (d = E(
532
532
  /*matchStatus*/
533
533
  i[18].call(null, e)
534
534
  ), u = !0);
535
535
  },
536
536
  p(l, c) {
537
537
  c[0] & /*thumbnail*/
538
- 16 && !V(t.src, n = /*thumbnail*/
538
+ 16 && !H(t.src, n = /*thumbnail*/
539
539
  l[4]) && L(t, "src", n), c[0] & /*status*/
540
540
  1 && a !== (a = "CardImg " + /*status*/
541
541
  (l[0] == "Closing" || /*status*/
@@ -549,17 +549,17 @@ function ze(i) {
549
549
  }
550
550
  };
551
551
  }
552
- function ne(i) {
552
+ function ae(i) {
553
553
  let e, t, n, a, s;
554
554
  return {
555
555
  c() {
556
- e = y("div"), t = w(
556
+ e = C("div"), t = J(
557
557
  /*shownDate*/
558
558
  i[11]
559
559
  ), m(e, "class", "Date"), m(e, "part", "Date");
560
560
  },
561
561
  m(u, d) {
562
- C(u, e, d), g(e, t), a || (s = B(n = /*formatDate*/
562
+ A(u, e, d), g(e, t), a || (s = E(n = /*formatDate*/
563
563
  i[17].call(
564
564
  null,
565
565
  e,
@@ -569,11 +569,11 @@ function ne(i) {
569
569
  },
570
570
  p(u, d) {
571
571
  d[0] & /*shownDate*/
572
- 2048 && D(
572
+ 2048 && R(
573
573
  t,
574
574
  /*shownDate*/
575
575
  u[11]
576
- ), n && Te(n.update) && d[0] & /*startdate*/
576
+ ), n && ve(n.update) && d[0] & /*startdate*/
577
577
  4 && n.update.call(
578
578
  null,
579
579
  /*startdate*/
@@ -585,235 +585,220 @@ function ne(i) {
585
585
  }
586
586
  };
587
587
  }
588
- function re(i) {
588
+ function ne(i) {
589
589
  let e, t, n = (
590
590
  /*$_*/
591
591
  i[16]("scoreCriteria") + ""
592
592
  ), a, s, u, d, l, c = (
593
593
  /*$_*/
594
594
  i[16]("minbet") + ""
595
- ), h, z, A, T, p, f, o, b = (
595
+ ), h, F, T, v, p, b, o, f = (
596
596
  /*$_*/
597
597
  i[16]("seegames") + ""
598
- ), j, x, v, R = (
598
+ ), z, W, M, I = (
599
599
  /*$_*/
600
600
  i[16]("here") + ""
601
- ), O, F, N, W;
601
+ ), w, x, j, O;
602
602
  return {
603
603
  c() {
604
- e = y("div"), t = y("p"), a = w(n), s = w(`:
604
+ e = C("div"), t = C("p"), a = J(n), s = J(`:
605
605
 
606
- `), u = y("span"), d = w(
606
+ `), u = C("span"), d = J(
607
607
  /*showScoreCriteria*/
608
608
  i[14]
609
- ), l = w(`
610
- (`), h = w(c), z = I(), A = w(
609
+ ), l = J(`
610
+ (`), h = J(c), F = D(), T = J(
611
611
  /*minbetcount*/
612
612
  i[6]
613
- ), T = w(")"), p = I(), f = y("div"), o = y("p"), j = w(b), x = I(), v = y("a"), O = w(R), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(v, "part", "GamesAnchor"), m(
614
- v,
613
+ ), v = J(")"), p = D(), b = C("div"), o = C("p"), z = J(f), W = D(), M = C("a"), w = J(I), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
614
+ M,
615
615
  "href",
616
616
  /*gameurl*/
617
617
  i[8]
618
- ), m(v, "target", F = /*keepbrowsercontext*/
619
- i[9] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(f, "class", "Games"), m(f, "part", "Games");
618
+ ), m(M, "target", x = /*keepbrowsercontext*/
619
+ i[9] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(b, "class", "Games"), m(b, "part", "Games");
620
620
  },
621
- m(k, M) {
622
- C(k, e, M), 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, M), C(k, f, M), g(f, o), g(o, j), g(o, x), g(o, v), g(v, O), N || (W = [
623
- B(
621
+ m(k, y) {
622
+ A(k, e, y), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, F), g(t, T), g(t, v), A(k, p, y), A(k, b, y), g(b, o), g(o, z), g(o, W), g(o, M), g(M, w), j || (O = [
623
+ E(
624
624
  /*matchScoreCriteria*/
625
625
  i[19].call(null, u)
626
626
  ),
627
- ve(
628
- v,
627
+ Te(
628
+ M,
629
629
  "click",
630
630
  /*click_handler*/
631
- i[28]
631
+ i[29]
632
632
  )
633
- ], N = !0);
633
+ ], j = !0);
634
634
  },
635
- p(k, M) {
636
- M[0] & /*$_*/
635
+ p(k, y) {
636
+ y[0] & /*$_*/
637
637
  65536 && n !== (n = /*$_*/
638
- k[16]("scoreCriteria") + "") && D(a, n), M[0] & /*showScoreCriteria*/
639
- 16384 && D(
638
+ k[16]("scoreCriteria") + "") && R(a, n), y[0] & /*showScoreCriteria*/
639
+ 16384 && R(
640
640
  d,
641
641
  /*showScoreCriteria*/
642
642
  k[14]
643
- ), M[0] & /*$_*/
643
+ ), y[0] & /*$_*/
644
644
  65536 && c !== (c = /*$_*/
645
- k[16]("minbet") + "") && D(h, c), M[0] & /*minbetcount*/
646
- 64 && D(
647
- A,
645
+ k[16]("minbet") + "") && R(h, c), y[0] & /*minbetcount*/
646
+ 64 && R(
647
+ T,
648
648
  /*minbetcount*/
649
649
  k[6]
650
- ), M[0] & /*$_*/
651
- 65536 && b !== (b = /*$_*/
652
- k[16]("seegames") + "") && D(j, b), M[0] & /*$_*/
653
- 65536 && R !== (R = /*$_*/
654
- k[16]("here") + "") && D(O, R), M[0] & /*gameurl*/
650
+ ), y[0] & /*$_*/
651
+ 65536 && f !== (f = /*$_*/
652
+ k[16]("seegames") + "") && R(z, f), y[0] & /*$_*/
653
+ 65536 && I !== (I = /*$_*/
654
+ k[16]("here") + "") && R(w, I), y[0] & /*gameurl*/
655
655
  256 && m(
656
- v,
656
+ M,
657
657
  "href",
658
658
  /*gameurl*/
659
659
  k[8]
660
- ), M[0] & /*keepbrowsercontext*/
661
- 512 && F !== (F = /*keepbrowsercontext*/
662
- k[9] === "true" ? "_self" : "_blank") && m(v, "target", F);
660
+ ), y[0] & /*keepbrowsercontext*/
661
+ 512 && x !== (x = /*keepbrowsercontext*/
662
+ k[9] === "true" ? "_self" : "_blank") && m(M, "target", x);
663
663
  },
664
664
  d(k) {
665
- k && (_(e), _(p), _(f)), N = !1, Me(W);
665
+ k && (_(e), _(p), _(b)), j = !1, Ae(O);
666
666
  }
667
667
  };
668
668
  }
669
- function je(i) {
669
+ function We(i) {
670
670
  let e, t, n, a = (
671
671
  /*title*/
672
- i[1] === "undefined" && $()
672
+ i[1] === "undefined" && X()
673
673
  ), s = (
674
674
  /*title*/
675
- i[1] !== "undefined" && ee(i)
675
+ i[1] !== "undefined" && $(i)
676
676
  );
677
677
  return {
678
678
  c() {
679
- e = y("div"), a && a.c(), t = I(), s && s.c(), m(e, "class", n = `Thumbnail ${/*title*/
679
+ e = C("div"), a && a.c(), t = D(), s && s.c(), m(e, "class", n = `Thumbnail ${/*title*/
680
680
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
681
681
  },
682
682
  m(u, d) {
683
- C(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
683
+ A(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[30](e);
684
684
  },
685
685
  p(u, d) {
686
686
  /*title*/
687
- u[1] === "undefined" ? a || (a = $(), a.c(), a.m(e, t)) : a && (a.d(1), a = null), /*title*/
688
- u[1] !== "undefined" ? s ? s.p(u, d) : (s = ee(u), s.c(), s.m(e, null)) : s && (s.d(1), s = null), d[0] & /*title*/
687
+ u[1] === "undefined" ? a || (a = X(), a.c(), a.m(e, t)) : a && (a.d(1), a = null), /*title*/
688
+ u[1] !== "undefined" ? s ? s.p(u, d) : (s = $(u), s.c(), s.m(e, null)) : s && (s.d(1), s = null), d[0] & /*title*/
689
689
  2 && n !== (n = `Thumbnail ${/*title*/
690
690
  u[1] === "undefined" ? "Loading" : ""}`) && m(e, "class", n);
691
691
  },
692
- i: Z,
693
- o: Z,
692
+ i: Y,
693
+ o: Y,
694
694
  d(u) {
695
- u && _(e), a && a.d(), s && s.d(), i[29](null);
695
+ u && _(e), a && a.d(), s && s.d(), i[30](null);
696
696
  }
697
697
  };
698
698
  }
699
- function Ne(i, e, t) {
699
+ function xe(i, e, t) {
700
700
  let n;
701
- Ce(i, Re, (r) => t(16, n = r));
702
- 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: v = "" } = e, R, O = "", F = !1, N = "", W = "", k = "";
703
- Je({ withLocale: "en", translations: {} });
704
- const M = () => {
705
- fetch(v).then((r) => r.json()).then((r) => {
706
- Object.keys(r).forEach((J) => {
707
- Q(J, r[J]);
708
- }), d && K();
701
+ ye(i, De, (r) => t(16, n = r));
702
+ let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: F = "" } = e, { scorecriteria: T = "" } = e, { minbetcount: v = "" } = e, { showenrolled: p = "false" } = e, { gameurl: b = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: f = "false" } = e, { clientstyling: z = "" } = e, { clientstylingurl: W = "" } = e, { translationurl: M = "" } = e, { mbsource: I } = e, w, x = "", j = !1, O = "", k = "", y = "";
703
+ Ie({ withLocale: "en", translations: {} });
704
+ const re = () => {
705
+ fetch(M).then((r) => r.json()).then((r) => {
706
+ Object.keys(r).forEach((N) => {
707
+ Z(N, r[N]);
708
+ }), d && U();
709
709
  }).catch((r) => {
710
710
  console.log(r);
711
711
  });
712
712
  };
713
- Object.keys(X).forEach((r) => {
714
- Q(r, X[r]);
713
+ Object.keys(Q).forEach((r) => {
714
+ Z(r, Q[r]);
715
715
  });
716
- const q = (r) => {
717
- r.data && (r.data && r.data.type == "SessionID" && t(12, F = !0), r.data.type == `TournamentStatus_${c}` && t(0, l = r.data.status));
718
- }, P = () => {
716
+ const V = (r) => {
717
+ r.data && (r.data && r.data.type == "SessionID" && t(12, j = !0), r.data.type == `TournamentStatus_${c}` && t(0, l = r.data.status));
718
+ }, B = () => {
719
719
  const r = { month: "long" };
720
- let J = new Date(d), E = new Intl.DateTimeFormat("en", r).format(J), de = J.getDate(), ce = J.toLocaleString("en-GB", {
720
+ let N = new Date(d), ue = new Intl.DateTimeFormat("en", r).format(N), me = N.getDate(), de = N.toLocaleString("en-GB", {
721
721
  hour: "numeric",
722
722
  minute: "numeric",
723
723
  hour12: !1
724
724
  });
725
- const ge = () => n(l === "Running" ? "startedAt" : "startingAt");
726
- t(11, O = `${de} ` + n(`${E}`) + ", " + ge() + ` ${ce}`);
727
- }, U = () => {
728
- l == "Unstarted" && (t(13, N = n("scheduled")), t(15, k = "StatusUnstarted")), l == "Running" && (t(13, N = n("ongoing")), t(15, k = "StatusRunning")), (l == "Closed" || l == "Closing") && t(13, N = n("finished")), l == "Closed" && t(15, k = "StatusClosed"), l == "Closing" && t(15, k = "StatusClosing");
725
+ const ce = () => n(l === "Running" ? "startedAt" : "startingAt");
726
+ t(11, x = `${me} ` + n(`${ue}`) + ", " + ce() + ` ${de}`);
727
+ }, P = () => {
728
+ l == "Unstarted" && (t(13, O = n("scheduled")), t(15, y = "StatusUnstarted")), l == "Running" && (t(13, O = n("ongoing")), t(15, y = "StatusRunning")), (l == "Closed" || l == "Closing") && t(13, O = n("finished")), l == "Closed" && t(15, y = "StatusClosed"), l == "Closing" && t(15, y = "StatusClosing");
729
729
  }, G = () => {
730
- A == "BetCount" && t(14, W = n("betCount")), A == "MaxWinStakeRatio" && t(14, W = n("maxWinStakeRatio")), A == "WinStakeRatio" && t(14, W = n("winStakeRatio")), A == "Stake" && t(14, W = n("stake"));
731
- }, Y = (r, J) => {
732
- window.postMessage({ type: "tournamentGamesClicked", tourId: J }, window.location.href);
730
+ T == "BetCount" && t(14, k = n("betCount")), T == "MaxWinStakeRatio" && t(14, k = n("maxWinStakeRatio")), T == "WinStakeRatio" && t(14, k = n("winStakeRatio")), T == "Stake" && t(14, k = n("stake"));
731
+ }, q = (r, N) => {
732
+ window.postMessage({ type: "tournamentGamesClicked", tourId: N }, window.location.href);
733
733
  }, se = () => {
734
- a.length > 0 && a != "false" ? t(12, F = !0) : t(12, F = !1);
735
- }, le = () => {
736
- let r = document.createElement("style");
737
- r.innerHTML = j, R.appendChild(r);
738
- }, oe = () => {
739
- let r = new URL(x), J = document.createElement("style");
740
- fetch(r.href).then((E) => E.text()).then((E) => {
741
- J.innerHTML = E, setTimeout(
742
- () => {
743
- R.appendChild(J);
744
- },
745
- 1
746
- ), setTimeout(
747
- () => {
748
- },
749
- 500
750
- );
751
- });
734
+ a.length > 0 && a != "false" ? t(12, j = !0) : t(12, j = !1);
752
735
  };
753
- _e(() => (setTimeout(() => K(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
754
- window.removeEventListener("message", q);
736
+ Se(() => (setTimeout(() => U(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", V, !1), () => {
737
+ window.removeEventListener("message", V);
755
738
  }));
756
- const K = () => {
757
- De(o), G(), U(), d && P();
758
- }, ue = () => Y();
759
- function me(r) {
760
- we[r ? "unshift" : "push"](() => {
761
- R = r, t(10, R);
739
+ const U = () => {
740
+ Fe(o), G(), P(), d && B();
741
+ }, le = () => q();
742
+ function oe(r) {
743
+ Ce[r ? "unshift" : "push"](() => {
744
+ w = r, t(10, w);
762
745
  });
763
746
  }
764
747
  return i.$$set = (r) => {
765
- "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, v = r.translationurl);
748
+ "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, F = r.userenrolled), "scorecriteria" in r && t(23, T = r.scorecriteria), "minbetcount" in r && t(6, v = r.minbetcount), "showenrolled" in r && t(7, p = r.showenrolled), "gameurl" in r && t(8, b = r.gameurl), "lang" in r && t(24, o = r.lang), "keepbrowsercontext" in r && t(9, f = r.keepbrowsercontext), "clientstyling" in r && t(25, z = r.clientstyling), "clientstylingurl" in r && t(26, W = r.clientstylingurl), "translationurl" in r && t(27, M = r.translationurl), "mbsource" in r && t(28, I = r.mbsource);
766
749
  }, i.$$.update = () => {
767
- i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
768
- 33555456 && R && j && le(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
769
- 67109888 && R && x && oe(), i.$$.dirty[0] & /*translationurl*/
770
- 134217728 && v && M(), i.$$.dirty[0] & /*session*/
750
+ i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
751
+ 33555456 && z && w && Me(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
752
+ 67109888 && W && w && we(w, W), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
753
+ 268436480 && I && w && Je(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
754
+ 134217728 && M && re(), i.$$.dirty[0] & /*session*/
771
755
  2097152 && a && se(), i.$$.dirty[0] & /*status*/
772
- 1 && l && U(), i.$$.dirty[0] & /*title, lang*/
773
- 16777218 && u && o && K(), i.$$.dirty[0] & /*startdate*/
774
- 4 && d && P(), i.$$.dirty[0] & /*scorecriteria*/
775
- 8388608 && A && G();
756
+ 1 && l && P(), i.$$.dirty[0] & /*title, lang*/
757
+ 16777218 && u && o && U(), i.$$.dirty[0] & /*startdate*/
758
+ 4 && d && B(), i.$$.dirty[0] & /*scorecriteria*/
759
+ 8388608 && T && G();
776
760
  }, [
777
761
  l,
778
762
  u,
779
763
  d,
780
764
  c,
781
765
  h,
782
- z,
783
- T,
766
+ F,
767
+ v,
784
768
  p,
785
- f,
786
769
  b,
787
- R,
770
+ f,
771
+ w,
772
+ x,
773
+ j,
788
774
  O,
789
- F,
790
- N,
791
- W,
792
775
  k,
776
+ y,
793
777
  n,
778
+ B,
794
779
  P,
795
- U,
796
780
  G,
797
- Y,
781
+ q,
798
782
  a,
799
783
  s,
800
- A,
784
+ T,
801
785
  o,
802
- j,
803
- x,
804
- v,
805
- ue,
806
- me
786
+ z,
787
+ W,
788
+ M,
789
+ I,
790
+ le,
791
+ oe
807
792
  ];
808
793
  }
809
- class We extends he {
794
+ class Oe extends fe {
810
795
  constructor(e) {
811
- super(), pe(
796
+ super(), he(
812
797
  this,
813
798
  e,
814
- Ne,
815
- je,
816
- ye,
799
+ xe,
800
+ We,
801
+ pe,
817
802
  {
818
803
  session: 21,
819
804
  userid: 22,
@@ -831,9 +816,10 @@ class We extends he {
831
816
  keepbrowsercontext: 9,
832
817
  clientstyling: 25,
833
818
  clientstylingurl: 26,
834
- translationurl: 27
819
+ translationurl: 27,
820
+ mbsource: 28
835
821
  },
836
- Ie,
822
+ ze,
837
823
  [-1, -1]
838
824
  );
839
825
  }
@@ -939,8 +925,14 @@ class We extends he {
939
925
  set translationurl(e) {
940
926
  this.$$set({ translationurl: e }), S();
941
927
  }
928
+ get mbsource() {
929
+ return this.$$.ctx[28];
930
+ }
931
+ set mbsource(e) {
932
+ this.$$set({ mbsource: e }), S();
933
+ }
942
934
  }
943
- ke(We, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
935
+ Re(Oe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
944
936
  export {
945
- We as default
937
+ Oe as default
946
938
  };