@everymatrix/casino-tournaments-controller 1.87.26 → 1.87.27

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 (51) hide show
  1. package/components/{CasinoTournamentsController-CnAIq520.js → CasinoTournamentsController-C9T28zEr.js} +1381 -1352
  2. package/components/CasinoTournamentsController-DQNDp9HR.cjs +27 -0
  3. package/components/{CasinoTournamentsController-BLxMNjdf.js → CasinoTournamentsController-DZHPUFoo.js} +1329 -1301
  4. package/components/{CasinoTournamentsFilterController-DthxSaAP.cjs → CasinoTournamentsFilterController-Bi5ABz6A.cjs} +1 -1
  5. package/components/{CasinoTournamentsFilterController-DTU_2gg8.js → CasinoTournamentsFilterController-ByO79eyB.js} +105 -105
  6. package/components/{CasinoTournamentsFilterController-CQQlddU7.js → CasinoTournamentsFilterController-CDvezs-D.js} +103 -103
  7. package/components/{CasinoTournamentsListController-CTyy6QGc.cjs → CasinoTournamentsListController-B5AHWoiQ.cjs} +5 -5
  8. package/components/{CasinoTournamentsListController-B44Sd_Xd.js → CasinoTournamentsListController-CYyjAv5V.js} +434 -434
  9. package/components/{CasinoTournamentsListController-D8Mce-Ba.js → CasinoTournamentsListController-D1Q3oNPH.js} +434 -434
  10. package/components/CasinoTournamentsThumbnail-BJPotmwg.cjs +3 -0
  11. package/components/{CasinoTournamentsThumbnail-C8m2-yzp.js → CasinoTournamentsThumbnail-BYKG7BsJ.js} +148 -148
  12. package/components/{CasinoTournamentsThumbnail-CvUCJuL_.js → CasinoTournamentsThumbnail-DmG-fM0f.js} +148 -148
  13. package/components/{CasinoTournamentsThumbnailController-DRIgHZK4.js → CasinoTournamentsThumbnailController-B4DgkNpX.js} +63 -63
  14. package/components/{CasinoTournamentsThumbnailController-AwtNpbCC.cjs → CasinoTournamentsThumbnailController-DvWCmf2R.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-DOhlVFj-.js → CasinoTournamentsThumbnailController-Fj4xURf5.js} +64 -64
  16. package/components/{CasinoTournamentsThumbnailDuration-BBDiU1hp.js → CasinoTournamentsThumbnailDuration-BMMU0ZJo.js} +112 -112
  17. package/components/CasinoTournamentsThumbnailDuration-CXGu4tqo.cjs +1 -0
  18. package/components/{CasinoTournamentsThumbnailDuration-B1oKgcSP.js → CasinoTournamentsThumbnailDuration-DFufp6Vu.js} +112 -112
  19. package/components/CasinoTournamentsThumbnailGamesSlider-CQECbxUh.js +434 -0
  20. package/components/CasinoTournamentsThumbnailGamesSlider-D_kKdnqN.js +434 -0
  21. package/components/CasinoTournamentsThumbnailGamesSlider-Dode2Q67.cjs +1 -0
  22. package/components/{CasinoTournamentsThumbnailPrizes-Om5Riw3x.js → CasinoTournamentsThumbnailPrizes-D-GYVO90.js} +104 -104
  23. package/components/{CasinoTournamentsThumbnailPrizes-BUXbwFNF.cjs → CasinoTournamentsThumbnailPrizes-DIvLHGtT.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-CJpsQ6IH.js → CasinoTournamentsThumbnailPrizes-fRbY2GFR.js} +104 -104
  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/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  30. package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
  31. package/stencil/{index-b2193545-DfeVnolx.cjs → index-b2193545-BB6id_PQ.cjs} +1 -1
  32. package/stencil/{index-b2193545-DuA2iMSm.js → index-b2193545-Dg04r8Mf.js} +1 -1
  33. package/stencil/{index-b2193545-BpG2toSK.js → index-b2193545-oPMLiBVn.js} +1 -1
  34. package/stencil/{ui-image-O0NdjWCu.js → ui-image-BiEqrTjD.js} +4 -4
  35. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DyN7Fe9v.js} +1 -1
  36. package/stencil/ui-image-GKGnzjWQ.cjs +1 -0
  37. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-CCeXOW4G.js} +3 -3
  38. package/stencil/ui-skeleton-CImpq9cv.cjs +1 -0
  39. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-DGlqF493.js} +3 -3
  40. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-B7StGL8M.cjs} +1 -1
  41. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-CLXtOZ1A.js} +1 -1
  42. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-Dc_jq3n7.js} +1 -1
  43. package/components/CasinoTournamentsController-DgQHHIEF.cjs +0 -27
  44. package/components/CasinoTournamentsThumbnail-DrL4ipPE.cjs +0 -3
  45. package/components/CasinoTournamentsThumbnailDuration-D8Fw1T6T.cjs +0 -1
  46. package/components/CasinoTournamentsThumbnailGamesSlider-BwHrytSr.cjs +0 -1
  47. package/components/CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js +0 -434
  48. package/components/CasinoTournamentsThumbnailGamesSlider-DyDWiEwW.js +0 -434
  49. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
  50. package/stencil/ui-image-DUHLTRXs.cjs +0 -1
  51. package/stencil/ui-skeleton-B0E7XBJC.cjs +0 -1
@@ -1,15 +1,15 @@
1
- import { C as ee, D as ce, a as ge, S as be, i as fe, s as he, f as h, b as pe, n as ae, d as C, h as m, e as _, q as c, g as p, r as I, k as ke, o as ye, E as ie, p as F, v as $, F as Z, t as v, u as Se, A as Ce, G as te, B as V, H as _e, x as Ae, y as ve, z as Te, c as we, $ as Me } from "./CasinoTournamentsController-BLxMNjdf.js";
2
- import "../stencil/ui-skeleton-i9jZ615T.js";
3
- import "../stencil/ui-image-Cs_BBOYl.js";
4
- function Je({ withLocale: i, translations: e }) {
1
+ import { C as ee, D as ge, a as be, S as fe, i as he, s as pe, f as h, b as ke, n as ae, d as _, g as m, c as A, p as c, e as p, q as R, j as ye, o as Se, G as ie, m as D, u as $, F as Z, t as T, r as Ce, A as _e, I as te, B as q, H as Ae, w as ve, x as Te, y as we, z as Me, $ as Je } from "./CasinoTournamentsController-C9T28zEr.js";
2
+ import "../stencil/ui-skeleton-DGlqF493.js";
3
+ import "../stencil/ui-image-BiEqrTjD.js";
4
+ function Re({ withLocale: i, translations: e }) {
5
5
  ee.subscribe((t) => {
6
- t == null && (ce.set(e), ee.set(i));
6
+ t == null && (ge.set(e), ee.set(i));
7
7
  });
8
8
  }
9
9
  function re(i, e) {
10
- ge(i, e);
10
+ be(i, e);
11
11
  }
12
- function Re(i) {
12
+ function De(i) {
13
13
  ee.set(i);
14
14
  }
15
15
  const ne = {
@@ -346,76 +346,76 @@ const ne = {
346
346
  December: "December"
347
347
  }
348
348
  };
349
- function De(i) {
350
- pe(i, "svelte-52u9sp", ':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{cursor:pointer;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{cursor:pointer;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
+ function Ie(i) {
350
+ ke(i, "svelte-52u9sp", ':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{cursor:pointer;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{cursor:pointer;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}');
351
351
  }
352
352
  function se(i) {
353
353
  let e, t, n;
354
354
  return {
355
355
  c() {
356
- e = p("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = I(), n = p("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");
356
+ e = p("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = R(), n = p("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");
357
357
  },
358
358
  m(a, s) {
359
- _(a, e, s), _(a, t, s), _(a, n, s);
359
+ A(a, e, s), A(a, t, s), A(a, n, s);
360
360
  },
361
361
  d(a) {
362
- a && (C(e), C(t), C(n));
362
+ a && (_(e), _(t), _(n));
363
363
  }
364
364
  };
365
365
  }
366
366
  function le(i) {
367
- let e, t, n, a, s, l, o, d, b, S, A = (
367
+ let e, t, n, a, s, l, o, d, b, C, v = (
368
368
  /*$_*/
369
369
  i[14]("scoreCriteria") + ""
370
- ), K, q, D, H, E, B = (
370
+ ), H, Y, J, V, W, x = (
371
371
  /*$_*/
372
372
  i[14]("minbet") + ""
373
- ), j, P, N, G, T, O, J, W = (
373
+ ), z, L, j, E, w, B, I, F = (
374
374
  /*$_*/
375
375
  i[14]("seegames") + ""
376
- ), z, Q, w, x = (
376
+ ), P, N, M, G = (
377
377
  /*$_*/
378
378
  i[14]("here") + ""
379
- ), U, L, Y, X, f = (
379
+ ), U, O, K, Q, y = (
380
380
  /*status*/
381
381
  i[0] && oe(i)
382
- ), k = (
382
+ ), f = (
383
383
  /*showenrolled*/
384
384
  i[6] == "true" && ue(i)
385
385
  );
386
- function r(u, g) {
386
+ function X(u, g) {
387
387
  return (
388
388
  /*thumbnail*/
389
- u[3] ? Fe : Ie
389
+ u[3] ? ze : Fe
390
390
  );
391
391
  }
392
- let R = r(i), M = R(i), y = (
392
+ let r = X(i), k = r(i), S = (
393
393
  /*startdate*/
394
394
  i[2] && de(i)
395
395
  );
396
396
  return {
397
397
  c() {
398
- f && f.c(), e = I(), k && k.c(), t = I(), M.c(), n = I(), a = p("div"), s = p("div"), l = v(
398
+ y && y.c(), e = R(), f && f.c(), t = R(), k.c(), n = R(), a = p("div"), s = p("div"), l = T(
399
399
  /*title*/
400
400
  i[1]
401
- ), o = I(), y && y.c(), d = I(), b = p("div"), S = p("p"), K = v(A), q = v(`:
402
- `), D = p("span"), H = v(
401
+ ), o = R(), S && S.c(), d = R(), b = p("div"), C = p("p"), H = T(v), Y = T(`:
402
+ `), J = p("span"), V = T(
403
403
  /*showScoreCriteria*/
404
404
  i[12]
405
- ), E = v(`
406
- (`), j = v(B), P = I(), N = v(
405
+ ), W = T(`
406
+ (`), z = T(x), L = R(), j = T(
407
407
  /*minbetcount*/
408
408
  i[5]
409
- ), G = v(")"), T = I(), O = p("div"), J = p("p"), z = v(W), Q = I(), w = p("a"), U = v(x), m(s, "class", "Title"), m(s, "part", "Title"), m(D, "part", "ScoreCriteriaSpan"), m(S, "part", "ScoreCriteriaP"), m(b, "class", "ScoreCriteria"), m(b, "part", "ScoreCriteria"), m(w, "part", "GamesAnchor"), m(
410
- w,
409
+ ), E = T(")"), w = R(), B = p("div"), I = p("p"), P = T(F), N = R(), M = p("a"), U = T(G), m(s, "class", "Title"), m(s, "part", "Title"), m(J, "part", "ScoreCriteriaSpan"), m(C, "part", "ScoreCriteriaP"), m(b, "class", "ScoreCriteria"), m(b, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
410
+ M,
411
411
  "href",
412
412
  /*gameurl*/
413
413
  i[7]
414
- ), m(w, "target", L = /*keepbrowsercontext*/
415
- i[8] === "true" ? "_self" : "_blank"), m(J, "part", "GamesP"), m(O, "class", "Games"), m(O, "part", "Games"), m(a, "class", "Details"), m(a, "part", "Details");
414
+ ), m(M, "target", O = /*keepbrowsercontext*/
415
+ i[8] === "true" ? "_self" : "_blank"), m(I, "part", "GamesP"), m(B, "class", "Games"), m(B, "part", "Games"), m(a, "class", "Details"), m(a, "part", "Details");
416
416
  },
417
417
  m(u, g) {
418
- f && f.m(u, g), _(u, e, g), k && k.m(u, g), _(u, t, g), M.m(u, g), _(u, n, g), _(u, a, g), c(a, s), c(s, l), c(a, o), y && y.m(a, null), c(a, d), c(a, b), c(b, S), c(S, K), c(S, q), c(S, D), c(D, H), c(S, E), c(S, j), c(S, P), c(S, N), c(S, G), c(a, T), c(a, O), c(O, J), c(J, z), c(J, Q), c(J, w), c(w, U), Y || (X = [
418
+ y && y.m(u, g), A(u, e, g), f && f.m(u, g), A(u, t, g), k.m(u, g), A(u, n, g), A(u, a, g), c(a, s), c(s, l), c(a, o), S && S.m(a, null), c(a, d), c(a, b), c(b, C), c(C, H), c(C, Y), c(C, J), c(J, V), c(C, W), c(C, z), c(C, L), c(C, j), c(C, E), c(a, w), c(a, B), c(B, I), c(I, P), c(I, N), c(I, M), c(M, U), K || (Q = [
419
419
  $(
420
420
  s,
421
421
  "click",
@@ -424,55 +424,55 @@ function le(i) {
424
424
  ),
425
425
  Z(
426
426
  /*matchScoreCriteria*/
427
- i[17].call(null, D)
427
+ i[17].call(null, J)
428
428
  ),
429
429
  $(
430
- w,
430
+ M,
431
431
  "click",
432
432
  /*tournamentGamesClicked*/
433
433
  i[18]
434
434
  )
435
- ], Y = !0);
435
+ ], K = !0);
436
436
  },
437
437
  p(u, g) {
438
438
  /*status*/
439
- u[0] ? f ? f.p(u, g) : (f = oe(u), f.c(), f.m(e.parentNode, e)) : f && (f.d(1), f = null), /*showenrolled*/
440
- u[6] == "true" ? k ? k.p(u, g) : (k = ue(u), k.c(), k.m(t.parentNode, t)) : k && (k.d(1), k = null), R === (R = r(u)) && M ? M.p(u, g) : (M.d(1), M = R(u), M && (M.c(), M.m(n.parentNode, n))), g[0] & /*title*/
441
- 2 && F(
439
+ u[0] ? y ? y.p(u, g) : (y = oe(u), y.c(), y.m(e.parentNode, e)) : y && (y.d(1), y = null), /*showenrolled*/
440
+ u[6] == "true" ? f ? f.p(u, g) : (f = ue(u), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), r === (r = X(u)) && k ? k.p(u, g) : (k.d(1), k = r(u), k && (k.c(), k.m(n.parentNode, n))), g[0] & /*title*/
441
+ 2 && D(
442
442
  l,
443
443
  /*title*/
444
444
  u[1]
445
445
  ), /*startdate*/
446
- u[2] ? y ? y.p(u, g) : (y = de(u), y.c(), y.m(a, d)) : y && (y.d(1), y = null), g[0] & /*$_*/
447
- 16384 && A !== (A = /*$_*/
448
- u[14]("scoreCriteria") + "") && F(K, A), g[0] & /*showScoreCriteria*/
449
- 4096 && F(
450
- H,
446
+ u[2] ? S ? S.p(u, g) : (S = de(u), S.c(), S.m(a, d)) : S && (S.d(1), S = null), g[0] & /*$_*/
447
+ 16384 && v !== (v = /*$_*/
448
+ u[14]("scoreCriteria") + "") && D(H, v), g[0] & /*showScoreCriteria*/
449
+ 4096 && D(
450
+ V,
451
451
  /*showScoreCriteria*/
452
452
  u[12]
453
453
  ), g[0] & /*$_*/
454
- 16384 && B !== (B = /*$_*/
455
- u[14]("minbet") + "") && F(j, B), g[0] & /*minbetcount*/
456
- 32 && F(
457
- N,
454
+ 16384 && x !== (x = /*$_*/
455
+ u[14]("minbet") + "") && D(z, x), g[0] & /*minbetcount*/
456
+ 32 && D(
457
+ j,
458
458
  /*minbetcount*/
459
459
  u[5]
460
460
  ), g[0] & /*$_*/
461
- 16384 && W !== (W = /*$_*/
462
- u[14]("seegames") + "") && F(z, W), g[0] & /*$_*/
463
- 16384 && x !== (x = /*$_*/
464
- u[14]("here") + "") && F(U, x), g[0] & /*gameurl*/
461
+ 16384 && F !== (F = /*$_*/
462
+ u[14]("seegames") + "") && D(P, F), g[0] & /*$_*/
463
+ 16384 && G !== (G = /*$_*/
464
+ u[14]("here") + "") && D(U, G), g[0] & /*gameurl*/
465
465
  128 && m(
466
- w,
466
+ M,
467
467
  "href",
468
468
  /*gameurl*/
469
469
  u[7]
470
470
  ), g[0] & /*keepbrowsercontext*/
471
- 256 && L !== (L = /*keepbrowsercontext*/
472
- u[8] === "true" ? "_self" : "_blank") && m(w, "target", L);
471
+ 256 && O !== (O = /*keepbrowsercontext*/
472
+ u[8] === "true" ? "_self" : "_blank") && m(M, "target", O);
473
473
  },
474
474
  d(u) {
475
- u && (C(e), C(t), C(n), C(a)), f && f.d(u), k && k.d(u), M.d(u), y && y.d(), Y = !1, ie(X);
475
+ u && (_(e), _(t), _(n), _(a)), y && y.d(u), f && f.d(u), k.d(u), S && S.d(), K = !1, ie(Q);
476
476
  }
477
477
  };
478
478
  }
@@ -480,7 +480,7 @@ function oe(i) {
480
480
  let e, t, n, a, s, l;
481
481
  return {
482
482
  c() {
483
- e = p("div"), t = v(
483
+ e = p("div"), t = T(
484
484
  /*shownStatus*/
485
485
  i[11]
486
486
  ), m(e, "class", n = "Status " + /*statusClass*/
@@ -488,14 +488,14 @@ function oe(i) {
488
488
  i[13]);
489
489
  },
490
490
  m(o, d) {
491
- _(o, e, d), c(e, t), s || (l = Z(
491
+ A(o, e, d), c(e, t), s || (l = Z(
492
492
  /*matchStatus*/
493
493
  i[16].call(null, e)
494
494
  ), s = !0);
495
495
  },
496
496
  p(o, d) {
497
497
  d[0] & /*shownStatus*/
498
- 2048 && F(
498
+ 2048 && D(
499
499
  t,
500
500
  /*shownStatus*/
501
501
  o[11]
@@ -506,7 +506,7 @@ function oe(i) {
506
506
  o[13]) && m(e, "part", a);
507
507
  },
508
508
  d(o) {
509
- o && C(e), s = !1, l();
509
+ o && _(e), s = !1, l();
510
510
  }
511
511
  };
512
512
  }
@@ -517,17 +517,17 @@ function ue(i) {
517
517
  );
518
518
  return {
519
519
  c() {
520
- t && t.c(), e = Ce();
520
+ t && t.c(), e = _e();
521
521
  },
522
522
  m(n, a) {
523
- t && t.m(n, a), _(n, e, a);
523
+ t && t.m(n, a), A(n, e, a);
524
524
  },
525
525
  p(n, a) {
526
526
  /*userenrolled*/
527
527
  n[4] ? t ? t.p(n, a) : (t = me(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
528
528
  },
529
529
  d(n) {
530
- n && C(e), t && t.d(n);
530
+ n && _(e), t && t.d(n);
531
531
  }
532
532
  };
533
533
  }
@@ -538,33 +538,33 @@ function me(i) {
538
538
  ), n;
539
539
  return {
540
540
  c() {
541
- e = p("div"), n = v(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
541
+ e = p("div"), n = T(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
542
542
  },
543
543
  m(a, s) {
544
- _(a, e, s), c(e, n);
544
+ A(a, e, s), c(e, n);
545
545
  },
546
546
  p(a, s) {
547
547
  s[0] & /*$_*/
548
548
  16384 && t !== (t = /*$_*/
549
- a[14]("enrolled") + "") && F(n, t);
549
+ a[14]("enrolled") + "") && D(n, t);
550
550
  },
551
551
  d(a) {
552
- a && C(e);
552
+ a && _(e);
553
553
  }
554
554
  };
555
555
  }
556
- function Ie(i) {
556
+ function Fe(i) {
557
557
  let e, t, n, a, s, l, o;
558
558
  return {
559
559
  c() {
560
- e = p("div"), t = p("ui-image"), te(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || V(t, "src", n), V(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
560
+ e = p("div"), t = p("ui-image"), te(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || q(t, "src", n), q(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
561
561
  (i[0] == "Closing" || /*status*/
562
562
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
563
563
  (i[0] == "Closing" || /*status*/
564
564
  i[0] == "Closed" ? "CardImgFinished" : ""));
565
565
  },
566
566
  m(d, b) {
567
- _(d, e, b), c(e, t), l || (o = [
567
+ A(d, e, b), c(e, t), l || (o = [
568
568
  Z(
569
569
  /*matchStatus*/
570
570
  i[16].call(null, e)
@@ -587,23 +587,23 @@ function Ie(i) {
587
587
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
588
588
  },
589
589
  d(d) {
590
- d && C(e), l = !1, ie(o);
590
+ d && _(e), l = !1, ie(o);
591
591
  }
592
592
  };
593
593
  }
594
- function Fe(i) {
594
+ function ze(i) {
595
595
  let e, t, n, a, s, l, o;
596
596
  return {
597
597
  c() {
598
- e = p("div"), t = p("ui-image"), V(t, "class", "UIImage"), te(t.src, n = /*thumbnail*/
599
- i[3]) || V(t, "src", n), V(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
598
+ e = p("div"), t = p("ui-image"), q(t, "class", "UIImage"), te(t.src, n = /*thumbnail*/
599
+ i[3]) || q(t, "src", n), q(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
600
600
  (i[0] == "Closing" || /*status*/
601
601
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
602
602
  (i[0] == "Closing" || /*status*/
603
603
  i[0] == "Closed" ? "CardImgFinished" : ""));
604
604
  },
605
605
  m(d, b) {
606
- _(d, e, b), c(e, t), l || (o = [
606
+ A(d, e, b), c(e, t), l || (o = [
607
607
  Z(
608
608
  /*matchStatus*/
609
609
  i[16].call(null, e)
@@ -619,7 +619,7 @@ function Fe(i) {
619
619
  p(d, b) {
620
620
  b[0] & /*thumbnail*/
621
621
  8 && !te(t.src, n = /*thumbnail*/
622
- d[3]) && V(t, "src", n), b[0] & /*status*/
622
+ d[3]) && q(t, "src", n), b[0] & /*status*/
623
623
  1 && a !== (a = "CardImg " + /*status*/
624
624
  (d[0] == "Closing" || /*status*/
625
625
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", a), b[0] & /*status*/
@@ -628,7 +628,7 @@ function Fe(i) {
628
628
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
629
629
  },
630
630
  d(d) {
631
- d && C(e), l = !1, ie(o);
631
+ d && _(e), l = !1, ie(o);
632
632
  }
633
633
  };
634
634
  }
@@ -636,13 +636,13 @@ function de(i) {
636
636
  let e, t, n, a, s;
637
637
  return {
638
638
  c() {
639
- e = p("div"), t = v(
639
+ e = p("div"), t = T(
640
640
  /*shownDate*/
641
641
  i[10]
642
642
  ), m(e, "class", "Date"), m(e, "part", "Date");
643
643
  },
644
644
  m(l, o) {
645
- _(l, e, o), c(e, t), a || (s = Z(n = /*formatDate*/
645
+ A(l, e, o), c(e, t), a || (s = Z(n = /*formatDate*/
646
646
  i[15].call(
647
647
  null,
648
648
  e,
@@ -652,11 +652,11 @@ function de(i) {
652
652
  },
653
653
  p(l, o) {
654
654
  o[0] & /*shownDate*/
655
- 1024 && F(
655
+ 1024 && D(
656
656
  t,
657
657
  /*shownDate*/
658
658
  l[10]
659
- ), n && _e(n.update) && o[0] & /*startdate*/
659
+ ), n && Ae(n.update) && o[0] & /*startdate*/
660
660
  4 && n.update.call(
661
661
  null,
662
662
  /*startdate*/
@@ -664,11 +664,11 @@ function de(i) {
664
664
  );
665
665
  },
666
666
  d(l) {
667
- l && C(e), a = !1, s();
667
+ l && _(e), a = !1, s();
668
668
  }
669
669
  };
670
670
  }
671
- function ze(i) {
671
+ function je(i) {
672
672
  let e, t, n, a = (
673
673
  /*title*/
674
674
  i[1] === "undefined" && se()
@@ -678,11 +678,11 @@ function ze(i) {
678
678
  );
679
679
  return {
680
680
  c() {
681
- e = p("div"), a && a.c(), t = I(), s && s.c(), m(e, "class", n = `Thumbnail ${/*title*/
681
+ e = p("div"), a && a.c(), t = R(), s && s.c(), m(e, "class", n = `Thumbnail ${/*title*/
682
682
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
683
683
  },
684
684
  m(l, o) {
685
- _(l, e, o), a && a.m(e, null), c(e, t), s && s.m(e, null), i[29](e);
685
+ A(l, e, o), a && a.m(e, null), c(e, t), s && s.m(e, null), i[29](e);
686
686
  },
687
687
  p(l, o) {
688
688
  /*title*/
@@ -694,19 +694,19 @@ function ze(i) {
694
694
  i: ae,
695
695
  o: ae,
696
696
  d(l) {
697
- l && C(e), a && a.d(), s && s.d(), i[29](null);
697
+ l && _(e), a && a.d(), s && s.d(), i[29](null);
698
698
  }
699
699
  };
700
700
  }
701
- function je(i, e, t) {
701
+ function Ne(i, e, t) {
702
702
  let n;
703
- ke(i, Me, (r) => t(14, n = r));
704
- let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: S = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: K = "" } = e, { showenrolled: q = "false" } = e, { detailsevent: D = "" } = e, { gameurl: H = "" } = e, { lang: E = "en" } = e, { keepbrowsercontext: B = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: N = "" } = e, { mbsource: G } = e, T, O = "", J = "", W = "", z = "";
705
- Je({ withLocale: "en", translations: {} });
706
- const Q = () => {
707
- fetch(N).then((r) => r.json()).then((r) => {
708
- Object.keys(r).forEach((R) => {
709
- re(R, r[R]);
703
+ ye(i, Je, (r) => t(14, n = r));
704
+ let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: C = "" } = e, { scorecriteria: v = "" } = e, { minbetcount: H = "" } = e, { showenrolled: Y = "false" } = e, { detailsevent: J = "" } = e, { gameurl: V = "" } = e, { lang: W = "en" } = e, { keepbrowsercontext: x = "false" } = e, { clientstyling: z = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: j = "" } = e, { mbsource: E } = e, w, B, I = "", F = "", P = "", N = "";
705
+ Re({ withLocale: "en", translations: {} });
706
+ const M = () => {
707
+ fetch(j).then((r) => r.json()).then((r) => {
708
+ Object.keys(r).forEach((k) => {
709
+ re(k, r[k]);
710
710
  }), l && f();
711
711
  }).catch((r) => {
712
712
  console.log(r);
@@ -715,101 +715,101 @@ function je(i, e, t) {
715
715
  Object.keys(ne).forEach((r) => {
716
716
  re(r, ne[r]);
717
717
  });
718
- const w = (r) => {
718
+ const G = (r) => {
719
719
  r.data && r.data.type == `TournamentStatus_${d}` && t(0, o = r.data.status);
720
- }, x = () => {
720
+ }, U = () => {
721
721
  const r = { month: "long" };
722
- let R = new Date(l), M = new Intl.DateTimeFormat("en", r).format(R), y = R.getDate(), u = R.toLocaleString("en-GB", {
722
+ let k = new Date(l), S = new Intl.DateTimeFormat("en", r).format(k), u = k.getDate(), g = k.toLocaleString("en-GB", {
723
723
  hour: "numeric",
724
724
  minute: "numeric",
725
725
  hour12: !1
726
726
  });
727
- const g = () => n(o === "Unstarted" ? "startingAt" : "startedAt");
728
- t(10, O = `${y} ` + n(`${M}`) + ", " + g() + ` ${u}`);
729
- }, U = () => {
730
- o == "Unstarted" && (t(11, J = n("scheduled")), t(13, z = "StatusUnstarted")), o == "Running" && (t(11, J = n("ongoing")), t(13, z = "StatusRunning")), (o == "Closed" || o == "Closing") && t(11, J = n("finished")), o == "Closed" && t(13, z = "StatusClosed"), o == "Closing" && t(13, z = "StatusClosing");
731
- }, L = () => {
732
- if (!A || A.length <= 1) {
733
- t(12, W = A);
727
+ const ce = () => n(o === "Unstarted" ? "startingAt" : "startedAt");
728
+ t(10, I = `${u} ` + n(`${S}`) + ", " + ce() + ` ${g}`);
729
+ }, O = () => {
730
+ o == "Unstarted" && (t(11, F = n("scheduled")), t(13, N = "StatusUnstarted")), o == "Running" && (t(11, F = n("ongoing")), t(13, N = "StatusRunning")), (o == "Closed" || o == "Closing") && t(11, F = n("finished")), o == "Closed" && t(13, N = "StatusClosed"), o == "Closing" && t(13, N = "StatusClosing");
731
+ }, K = () => {
732
+ if (!v || v.length <= 1) {
733
+ t(12, P = v);
734
734
  return;
735
735
  }
736
- t(12, W = n(A.charAt(0).toLowerCase() + A.slice(1)));
737
- }, Y = () => {
736
+ t(12, P = n(v.charAt(0).toLowerCase() + v.slice(1)));
737
+ }, Q = () => {
738
738
  window.postMessage({ type: "tournamentGamesClicked", tourid: d }, window.location.href);
739
- }, X = () => {
740
- D && window.postMessage(
739
+ }, y = () => {
740
+ J && window.postMessage(
741
741
  {
742
- type: D,
742
+ type: J,
743
743
  tournamentId: d,
744
744
  showLeaderboard: !0
745
745
  },
746
746
  window.location.href
747
747
  );
748
748
  };
749
- ye(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", w, !1), () => {
750
- window.removeEventListener("message", w);
749
+ Se(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", G, !1), () => {
750
+ window.removeEventListener("message", G);
751
751
  }));
752
752
  const f = () => {
753
- Re(E), L(), U(), l && x();
753
+ De(W), K(), O(), l && U();
754
754
  };
755
- function k(r) {
756
- Se[r ? "unshift" : "push"](() => {
757
- T = r, t(9, T);
755
+ function X(r) {
756
+ Ce[r ? "unshift" : "push"](() => {
757
+ w = r, t(9, w);
758
758
  });
759
759
  }
760
760
  return i.$$set = (r) => {
761
- "userid" in r && t(20, a = r.userid), "title" in r && t(1, s = r.title), "startdate" in r && t(2, l = r.startdate), "status" in r && t(0, o = r.status), "tourid" in r && t(21, d = r.tourid), "thumbnail" in r && t(3, b = r.thumbnail), "userenrolled" in r && t(4, S = r.userenrolled), "scorecriteria" in r && t(22, A = r.scorecriteria), "minbetcount" in r && t(5, K = r.minbetcount), "showenrolled" in r && t(6, q = r.showenrolled), "detailsevent" in r && t(23, D = r.detailsevent), "gameurl" in r && t(7, H = r.gameurl), "lang" in r && t(24, E = r.lang), "keepbrowsercontext" in r && t(8, B = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, P = r.clientstylingurl), "translationurl" in r && t(27, N = r.translationurl), "mbsource" in r && t(28, G = r.mbsource);
761
+ "userid" in r && t(20, a = r.userid), "title" in r && t(1, s = r.title), "startdate" in r && t(2, l = r.startdate), "status" in r && t(0, o = r.status), "tourid" in r && t(21, d = r.tourid), "thumbnail" in r && t(3, b = r.thumbnail), "userenrolled" in r && t(4, C = r.userenrolled), "scorecriteria" in r && t(22, v = r.scorecriteria), "minbetcount" in r && t(5, H = r.minbetcount), "showenrolled" in r && t(6, Y = r.showenrolled), "detailsevent" in r && t(23, J = r.detailsevent), "gameurl" in r && t(7, V = r.gameurl), "lang" in r && t(24, W = r.lang), "keepbrowsercontext" in r && t(8, x = r.keepbrowsercontext), "clientstyling" in r && t(25, z = r.clientstyling), "clientstylingurl" in r && t(26, L = r.clientstylingurl), "translationurl" in r && t(27, j = r.translationurl), "mbsource" in r && t(28, E = r.mbsource);
762
762
  }, i.$$.update = () => {
763
763
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
764
- 33554944 && j && T && Ae(T, j), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
765
- 67109376 && P && T && ve(T, P), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
766
- 268435968 && G && T && Te(T, `${G}.Style`), i.$$.dirty[0] & /*translationurl*/
767
- 134217728 && N && Q(), i.$$.dirty[0] & /*status*/
768
- 1 && o && U(), i.$$.dirty[0] & /*title, lang*/
769
- 16777218 && s && E && f(), i.$$.dirty[0] & /*startdate*/
770
- 4 && l && x(), i.$$.dirty[0] & /*scorecriteria*/
771
- 4194304 && A && L();
764
+ 33554944 && z && w && ve(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
765
+ 67109376 && L && w && Te(w, L), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
766
+ 268435968 && E && w && we(w, `${E}.Style`, B), i.$$.dirty[0] & /*translationurl*/
767
+ 134217728 && j && M(), i.$$.dirty[0] & /*status*/
768
+ 1 && o && O(), i.$$.dirty[0] & /*title, lang*/
769
+ 16777218 && s && W && f(), i.$$.dirty[0] & /*startdate*/
770
+ 4 && l && U(), i.$$.dirty[0] & /*scorecriteria*/
771
+ 4194304 && v && K();
772
772
  }, [
773
773
  o,
774
774
  s,
775
775
  l,
776
776
  b,
777
- S,
778
- K,
779
- q,
777
+ C,
780
778
  H,
781
- B,
782
- T,
779
+ Y,
780
+ V,
781
+ x,
782
+ w,
783
+ I,
784
+ F,
785
+ P,
786
+ N,
787
+ n,
788
+ U,
783
789
  O,
790
+ K,
791
+ Q,
792
+ y,
793
+ a,
794
+ d,
795
+ v,
784
796
  J,
785
797
  W,
786
798
  z,
787
- n,
788
- x,
789
- U,
790
799
  L,
791
- Y,
792
- X,
793
- a,
794
- d,
795
- A,
796
- D,
797
- E,
798
800
  j,
799
- P,
800
- N,
801
- G,
802
- k
801
+ E,
802
+ X
803
803
  ];
804
804
  }
805
- class Ne extends be {
805
+ class Oe extends fe {
806
806
  constructor(e) {
807
- super(), fe(
807
+ super(), he(
808
808
  this,
809
809
  e,
810
+ Ne,
810
811
  je,
811
- ze,
812
- he,
812
+ pe,
813
813
  {
814
814
  userid: 20,
815
815
  title: 1,
@@ -830,7 +830,7 @@ class Ne extends be {
830
830
  translationurl: 27,
831
831
  mbsource: 28
832
832
  },
833
- De,
833
+ Ie,
834
834
  [-1, -1]
835
835
  );
836
836
  }
@@ -943,7 +943,7 @@ class Ne extends be {
943
943
  this.$$set({ mbsource: e }), h();
944
944
  }
945
945
  }
946
- we(Ne, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
946
+ Me(Oe, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
947
947
  export {
948
- Ne as default
948
+ Oe as default
949
949
  };