@everymatrix/casino-tournaments-thumbnail-controller 1.94.58 → 1.94.60

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 (20) hide show
  1. package/components/{CasinoTournamentsThumbnail-BXdngoBO.js → CasinoTournamentsThumbnail-9fRQ6gHt.js} +284 -263
  2. package/components/CasinoTournamentsThumbnail-Bm9rL34M.cjs +3 -0
  3. package/components/{CasinoTournamentsThumbnail-pjUSMRhz.js → CasinoTournamentsThumbnail-dHgrfhc5.js} +286 -265
  4. package/components/{CasinoTournamentsThumbnailController-BcXnTlAn.js → CasinoTournamentsThumbnailController-1nfp9czM.js} +918 -899
  5. package/components/{CasinoTournamentsThumbnailController-BicnmhUl.cjs → CasinoTournamentsThumbnailController-CLlsgHiS.cjs} +4 -4
  6. package/components/{CasinoTournamentsThumbnailController-EmilQMI-.js → CasinoTournamentsThumbnailController-DupHXpvD.js} +937 -918
  7. package/components/{CasinoTournamentsThumbnailDuration-CQB0nLN_.js → CasinoTournamentsThumbnailDuration-B1dTex-W.js} +1 -1
  8. package/components/{CasinoTournamentsThumbnailDuration-7btYyZ6J.cjs → CasinoTournamentsThumbnailDuration-C7QQvMiB.cjs} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-CjU9CLj7.js → CasinoTournamentsThumbnailDuration-D0D8el4I.js} +1 -1
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-CWOVoNLx.cjs → CasinoTournamentsThumbnailGamesSlider-Cn8utb6L.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-BstczX4F.js → CasinoTournamentsThumbnailGamesSlider-D1BF0aLn.js} +1 -1
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-C9FYH-hp.js → CasinoTournamentsThumbnailGamesSlider-D4MGPHIT.js} +1 -1
  13. package/components/{CasinoTournamentsThumbnailPrizes-C40cTD-B.js → CasinoTournamentsThumbnailPrizes-BWeypuuc.js} +1 -1
  14. package/components/{CasinoTournamentsThumbnailPrizes-2idc5EbK.js → CasinoTournamentsThumbnailPrizes-BeH7rivE.js} +1 -1
  15. package/components/{CasinoTournamentsThumbnailPrizes-CGaF0bm9.cjs → CasinoTournamentsThumbnailPrizes-D_gmITmO.cjs} +1 -1
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoTournamentsThumbnail-BqORF3JF.cjs +0 -3
@@ -1,22 +1,23 @@
1
- import { $ as ee, a as ge, b as be, S as fe, i as he, f as h, s as pe, c as ke, d as ye, n as ae, e as _, g as m, h as A, j as c, k as p, l as R, m as Se, o as Ce, r as ie, p as D, q as $, t as Z, u as T, v as _e, w as Ae, x as te, y as H, z as ve, A as Te, B as we, C as Me, D as Je } from "./CasinoTournamentsThumbnailController-BcXnTlAn.js";
2
- import "../stencil/ui-skeleton-CCeXOW4G.js";
3
- import "../stencil/ui-image-DyN7Fe9v.js";
4
- function Re({ withLocale: i, translations: e }) {
1
+ import { $ as ee, a as be, b as fe, S as he, i as pe, s as ke, f as h, c as ye, n as ae, d as A, e as m, g as v, h as c, j as p, k as J, l as Se, o as Ce, r as ie, m as R, p as $, q as X, t as w, u as _e, v as Ae, w as te, x as Y, y as ve, z as Te, A as we, B as Me, C as Je, D as Re } from "./CasinoTournamentsThumbnailController-DupHXpvD.js";
2
+ import "../stencil/ui-skeleton-DGlqF493.js";
3
+ import "../stencil/ui-image-BiEqrTjD.js";
4
+ function De({ withLocale: i, translations: e }) {
5
5
  ee.subscribe((t) => {
6
- t == null && (ge.set(e), ee.set(i));
6
+ t == null && (be.set(e), ee.set(i));
7
7
  });
8
8
  }
9
- function re(i, e) {
10
- be(i, e);
9
+ function ne(i, e) {
10
+ fe(i, e);
11
11
  }
12
- function De(i) {
12
+ function Ie(i) {
13
13
  ee.set(i);
14
14
  }
15
- const ne = {
15
+ const re = {
16
16
  en: {
17
17
  enrolled: "Enrolled",
18
18
  scoreCriteria: "Score Criteria",
19
19
  minbet: "min bet count",
20
+ preciseNumberOfBets: "precise number of bets",
20
21
  seegames: "You can see the games",
21
22
  here: "here",
22
23
  scheduled: "Scheduled",
@@ -346,167 +347,179 @@ const ne = {
346
347
  December: "December"
347
348
  }
348
349
  };
349
- function Ie(i) {
350
+ function Fe(i) {
350
351
  ye(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
352
  }
352
353
  function se(i) {
353
- let e, t, n;
354
+ let e, t, r;
354
355
  return {
355
356
  c() {
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
+ e = p("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = J(), r = p("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>', m(e, "class", "Skeleton CardImg"), m(r, "class", "Details"), m(r, "part", "Details");
357
358
  },
358
- m(a, s) {
359
- A(a, e, s), A(a, t, s), A(a, n, s);
359
+ m(n, s) {
360
+ v(n, e, s), v(n, t, s), v(n, r, s);
360
361
  },
361
- d(a) {
362
- a && (_(e), _(t), _(n));
362
+ d(n) {
363
+ n && (A(e), A(t), A(r));
363
364
  }
364
365
  };
365
366
  }
366
367
  function le(i) {
367
- let e, t, n, a, s, l, o, d, b, C, v = (
368
+ let e, t, r, n, s, o, u, d, f, _, T = (
368
369
  /*$_*/
369
- i[14]("scoreCriteria") + ""
370
- ), V, Y, J, q, W, x = (
370
+ i[15]("scoreCriteria") + ""
371
+ ), E, Z, M, P, N, O = (
371
372
  /*$_*/
372
- i[14]("minbet") + ""
373
- ), j, L, z, E, w, B, I, F = (
373
+ i[15](
374
+ /*betcountmode*/
375
+ i[9] === "minBetCount" ? "minbet" : (
376
+ /*betcountmode*/
377
+ i[9]
378
+ )
379
+ ) + ""
380
+ ), D, W, I, x, Q, S, F, L = (
374
381
  /*$_*/
375
- i[14]("seegames") + ""
376
- ), P, N, M, U = (
382
+ i[15]("seegames") + ""
383
+ ), j, U, C, G = (
377
384
  /*$_*/
378
- i[14]("here") + ""
379
- ), G, O, K, Q, y = (
385
+ i[15]("here") + ""
386
+ ), K, z, B, V, k = (
380
387
  /*status*/
381
388
  i[0] && oe(i)
382
- ), f = (
389
+ ), y = (
383
390
  /*showenrolled*/
384
391
  i[6] == "true" && ue(i)
385
392
  );
386
- function X(u, g) {
393
+ function q(l, g) {
387
394
  return (
388
395
  /*thumbnail*/
389
- u[3] ? je : Fe
396
+ l[3] ? ze : je
390
397
  );
391
398
  }
392
- let r = X(i), k = r(i), S = (
399
+ let H = q(i), a = H(i), b = (
393
400
  /*startdate*/
394
401
  i[2] && de(i)
395
402
  );
396
403
  return {
397
404
  c() {
398
- y && y.c(), e = R(), f && f.c(), t = R(), k.c(), n = R(), a = p("div"), s = p("div"), l = T(
405
+ k && k.c(), e = J(), y && y.c(), t = J(), a.c(), r = J(), n = p("div"), s = p("div"), o = w(
399
406
  /*title*/
400
407
  i[1]
401
- ), o = R(), S && S.c(), d = R(), b = p("div"), C = p("p"), V = T(v), Y = T(`:
402
- `), J = p("span"), q = T(
408
+ ), u = J(), b && b.c(), d = J(), f = p("div"), _ = p("p"), E = w(T), Z = w(`:
409
+ `), M = p("span"), P = w(
403
410
  /*showScoreCriteria*/
404
- i[12]
405
- ), W = T(`
406
- (`), j = T(x), L = R(), z = T(
411
+ i[13]
412
+ ), N = w(`
413
+ (`), D = w(O), W = J(), I = w(
407
414
  /*minbetcount*/
408
415
  i[5]
409
- ), E = T(")"), w = R(), B = p("div"), I = p("p"), P = T(F), N = R(), M = p("a"), G = T(U), 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,
416
+ ), x = w(")"), Q = J(), S = p("div"), F = p("p"), j = w(L), U = J(), C = p("a"), K = w(G), m(s, "class", "Title"), m(s, "part", "Title"), m(M, "part", "ScoreCriteriaSpan"), m(_, "part", "ScoreCriteriaP"), m(f, "class", "ScoreCriteria"), m(f, "part", "ScoreCriteria"), m(C, "part", "GamesAnchor"), m(
417
+ C,
411
418
  "href",
412
419
  /*gameurl*/
413
420
  i[7]
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");
421
+ ), m(C, "target", z = /*keepbrowsercontext*/
422
+ i[8] === "true" ? "_self" : "_blank"), m(F, "part", "GamesP"), m(S, "class", "Games"), m(S, "part", "Games"), m(n, "class", "Details"), m(n, "part", "Details");
416
423
  },
417
- m(u, g) {
418
- y && y.m(u, g), A(u, e, g), f && f.m(u, g), A(u, t, g), k.m(u, g), A(u, n, g), A(u, a, g), c(a, s), c(s, l), c(a, o), S && S.m(a, null), c(a, d), c(a, b), c(b, C), c(C, V), c(C, Y), c(C, J), c(J, q), c(C, W), c(C, j), c(C, L), c(C, z), c(C, E), c(a, w), c(a, B), c(B, I), c(I, P), c(I, N), c(I, M), c(M, G), K || (Q = [
424
+ m(l, g) {
425
+ k && k.m(l, g), v(l, e, g), y && y.m(l, g), v(l, t, g), a.m(l, g), v(l, r, g), v(l, n, g), c(n, s), c(s, o), c(n, u), b && b.m(n, null), c(n, d), c(n, f), c(f, _), c(_, E), c(_, Z), c(_, M), c(M, P), c(_, N), c(_, D), c(_, W), c(_, I), c(_, x), c(n, Q), c(n, S), c(S, F), c(F, j), c(F, U), c(F, C), c(C, K), B || (V = [
419
426
  $(
420
427
  s,
421
428
  "click",
422
429
  /*detailsAction*/
423
- i[19]
430
+ i[20]
424
431
  ),
425
- Z(
432
+ X(
426
433
  /*matchScoreCriteria*/
427
- i[17].call(null, J)
434
+ i[18].call(null, M)
428
435
  ),
429
436
  $(
430
- M,
437
+ C,
431
438
  "click",
432
439
  /*tournamentGamesClicked*/
433
- i[18]
440
+ i[19]
434
441
  )
435
- ], K = !0);
442
+ ], B = !0);
436
443
  },
437
- p(u, g) {
444
+ p(l, g) {
438
445
  /*status*/
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
- l,
446
+ l[0] ? k ? k.p(l, g) : (k = oe(l), k.c(), k.m(e.parentNode, e)) : k && (k.d(1), k = null), /*showenrolled*/
447
+ l[6] == "true" ? y ? y.p(l, g) : (y = ue(l), y.c(), y.m(t.parentNode, t)) : y && (y.d(1), y = null), H === (H = q(l)) && a ? a.p(l, g) : (a.d(1), a = H(l), a && (a.c(), a.m(r.parentNode, r))), g[0] & /*title*/
448
+ 2 && R(
449
+ o,
443
450
  /*title*/
444
- u[1]
451
+ l[1]
445
452
  ), /*startdate*/
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(V, v), g[0] & /*showScoreCriteria*/
449
- 4096 && D(
450
- q,
453
+ l[2] ? b ? b.p(l, g) : (b = de(l), b.c(), b.m(n, d)) : b && (b.d(1), b = null), g[0] & /*$_*/
454
+ 32768 && T !== (T = /*$_*/
455
+ l[15]("scoreCriteria") + "") && R(E, T), g[0] & /*showScoreCriteria*/
456
+ 8192 && R(
457
+ P,
451
458
  /*showScoreCriteria*/
452
- u[12]
453
- ), g[0] & /*$_*/
454
- 16384 && x !== (x = /*$_*/
455
- u[14]("minbet") + "") && D(j, x), g[0] & /*minbetcount*/
456
- 32 && D(
457
- z,
459
+ l[13]
460
+ ), g[0] & /*$_, betcountmode*/
461
+ 33280 && O !== (O = /*$_*/
462
+ l[15](
463
+ /*betcountmode*/
464
+ l[9] === "minBetCount" ? "minbet" : (
465
+ /*betcountmode*/
466
+ l[9]
467
+ )
468
+ ) + "") && R(D, O), g[0] & /*minbetcount*/
469
+ 32 && R(
470
+ I,
458
471
  /*minbetcount*/
459
- u[5]
472
+ l[5]
460
473
  ), g[0] & /*$_*/
461
- 16384 && F !== (F = /*$_*/
462
- u[14]("seegames") + "") && D(P, F), g[0] & /*$_*/
463
- 16384 && U !== (U = /*$_*/
464
- u[14]("here") + "") && D(G, U), g[0] & /*gameurl*/
474
+ 32768 && L !== (L = /*$_*/
475
+ l[15]("seegames") + "") && R(j, L), g[0] & /*$_*/
476
+ 32768 && G !== (G = /*$_*/
477
+ l[15]("here") + "") && R(K, G), g[0] & /*gameurl*/
465
478
  128 && m(
466
- M,
479
+ C,
467
480
  "href",
468
481
  /*gameurl*/
469
- u[7]
482
+ l[7]
470
483
  ), g[0] & /*keepbrowsercontext*/
471
- 256 && O !== (O = /*keepbrowsercontext*/
472
- u[8] === "true" ? "_self" : "_blank") && m(M, "target", O);
484
+ 256 && z !== (z = /*keepbrowsercontext*/
485
+ l[8] === "true" ? "_self" : "_blank") && m(C, "target", z);
473
486
  },
474
- d(u) {
475
- u && (_(e), _(t), _(n), _(a)), y && y.d(u), f && f.d(u), k.d(u), S && S.d(), K = !1, ie(Q);
487
+ d(l) {
488
+ l && (A(e), A(t), A(r), A(n)), k && k.d(l), y && y.d(l), a.d(l), b && b.d(), B = !1, ie(V);
476
489
  }
477
490
  };
478
491
  }
479
492
  function oe(i) {
480
- let e, t, n, a, s, l;
493
+ let e, t, r, n, s, o;
481
494
  return {
482
495
  c() {
483
- e = p("div"), t = T(
496
+ e = p("div"), t = w(
484
497
  /*shownStatus*/
485
- i[11]
486
- ), m(e, "class", n = "Status " + /*statusClass*/
487
- i[13]), m(e, "part", a = "Status " + /*statusClass*/
488
- i[13]);
498
+ i[12]
499
+ ), m(e, "class", r = "Status " + /*statusClass*/
500
+ i[14]), m(e, "part", n = "Status " + /*statusClass*/
501
+ i[14]);
489
502
  },
490
- m(o, d) {
491
- A(o, e, d), c(e, t), s || (l = Z(
503
+ m(u, d) {
504
+ v(u, e, d), c(e, t), s || (o = X(
492
505
  /*matchStatus*/
493
- i[16].call(null, e)
506
+ i[17].call(null, e)
494
507
  ), s = !0);
495
508
  },
496
- p(o, d) {
509
+ p(u, d) {
497
510
  d[0] & /*shownStatus*/
498
- 2048 && D(
511
+ 4096 && R(
499
512
  t,
500
513
  /*shownStatus*/
501
- o[11]
514
+ u[12]
502
515
  ), d[0] & /*statusClass*/
503
- 8192 && n !== (n = "Status " + /*statusClass*/
504
- o[13]) && m(e, "class", n), d[0] & /*statusClass*/
505
- 8192 && a !== (a = "Status " + /*statusClass*/
506
- o[13]) && m(e, "part", a);
516
+ 16384 && r !== (r = "Status " + /*statusClass*/
517
+ u[14]) && m(e, "class", r), d[0] & /*statusClass*/
518
+ 16384 && n !== (n = "Status " + /*statusClass*/
519
+ u[14]) && m(e, "part", n);
507
520
  },
508
- d(o) {
509
- o && _(e), s = !1, l();
521
+ d(u) {
522
+ u && A(e), s = !1, o();
510
523
  }
511
524
  };
512
525
  }
@@ -519,157 +532,157 @@ function ue(i) {
519
532
  c() {
520
533
  t && t.c(), e = Ae();
521
534
  },
522
- m(n, a) {
523
- t && t.m(n, a), A(n, e, a);
535
+ m(r, n) {
536
+ t && t.m(r, n), v(r, e, n);
524
537
  },
525
- p(n, a) {
538
+ p(r, n) {
526
539
  /*userenrolled*/
527
- n[4] ? t ? t.p(n, a) : (t = me(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
540
+ r[4] ? t ? t.p(r, n) : (t = me(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
528
541
  },
529
- d(n) {
530
- n && _(e), t && t.d(n);
542
+ d(r) {
543
+ r && A(e), t && t.d(r);
531
544
  }
532
545
  };
533
546
  }
534
547
  function me(i) {
535
548
  let e, t = (
536
549
  /*$_*/
537
- i[14]("enrolled") + ""
538
- ), n;
550
+ i[15]("enrolled") + ""
551
+ ), r;
539
552
  return {
540
553
  c() {
541
- e = p("div"), n = T(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
554
+ e = p("div"), r = w(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
542
555
  },
543
- m(a, s) {
544
- A(a, e, s), c(e, n);
556
+ m(n, s) {
557
+ v(n, e, s), c(e, r);
545
558
  },
546
- p(a, s) {
559
+ p(n, s) {
547
560
  s[0] & /*$_*/
548
- 16384 && t !== (t = /*$_*/
549
- a[14]("enrolled") + "") && D(n, t);
561
+ 32768 && t !== (t = /*$_*/
562
+ n[15]("enrolled") + "") && R(r, t);
550
563
  },
551
- d(a) {
552
- a && _(e);
564
+ d(n) {
565
+ n && A(e);
553
566
  }
554
567
  };
555
568
  }
556
- function Fe(i) {
557
- let e, t, n, a, s, l, o;
569
+ function je(i) {
570
+ let e, t, r, n, s, o, u;
558
571
  return {
559
572
  c() {
560
- e = p("div"), t = p("ui-image"), te(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || H(t, "src", n), H(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
573
+ e = p("div"), t = p("ui-image"), te(t.src, r = "https://i.stack.imgur.com/y9DpT.jpg") || Y(t, "src", r), Y(t, "alt", "icon"), m(e, "class", n = "CardImg " + /*status*/
561
574
  (i[0] == "Closing" || /*status*/
562
575
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
563
576
  (i[0] == "Closing" || /*status*/
564
577
  i[0] == "Closed" ? "CardImgFinished" : ""));
565
578
  },
566
- m(d, b) {
567
- A(d, e, b), c(e, t), l || (o = [
568
- Z(
579
+ m(d, f) {
580
+ v(d, e, f), c(e, t), o || (u = [
581
+ X(
569
582
  /*matchStatus*/
570
- i[16].call(null, e)
583
+ i[17].call(null, e)
571
584
  ),
572
585
  $(
573
586
  e,
574
587
  "click",
575
588
  /*detailsAction*/
576
- i[19]
589
+ i[20]
577
590
  )
578
- ], l = !0);
591
+ ], o = !0);
579
592
  },
580
- p(d, b) {
581
- b[0] & /*status*/
582
- 1 && a !== (a = "CardImg " + /*status*/
593
+ p(d, f) {
594
+ f[0] & /*status*/
595
+ 1 && n !== (n = "CardImg " + /*status*/
583
596
  (d[0] == "Closing" || /*status*/
584
- d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", a), b[0] & /*status*/
597
+ d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", n), f[0] & /*status*/
585
598
  1 && s !== (s = "CardImg " + /*status*/
586
599
  (d[0] == "Closing" || /*status*/
587
600
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
588
601
  },
589
602
  d(d) {
590
- d && _(e), l = !1, ie(o);
603
+ d && A(e), o = !1, ie(u);
591
604
  }
592
605
  };
593
606
  }
594
- function je(i) {
595
- let e, t, n, a, s, l, o;
607
+ function ze(i) {
608
+ let e, t, r, n, s, o, u;
596
609
  return {
597
610
  c() {
598
- e = p("div"), t = p("ui-image"), H(t, "class", "UIImage"), te(t.src, n = /*thumbnail*/
599
- i[3]) || H(t, "src", n), H(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
611
+ e = p("div"), t = p("ui-image"), Y(t, "class", "UIImage"), te(t.src, r = /*thumbnail*/
612
+ i[3]) || Y(t, "src", r), Y(t, "alt", "icon"), m(e, "class", n = "CardImg " + /*status*/
600
613
  (i[0] == "Closing" || /*status*/
601
614
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
602
615
  (i[0] == "Closing" || /*status*/
603
616
  i[0] == "Closed" ? "CardImgFinished" : ""));
604
617
  },
605
- m(d, b) {
606
- A(d, e, b), c(e, t), l || (o = [
607
- Z(
618
+ m(d, f) {
619
+ v(d, e, f), c(e, t), o || (u = [
620
+ X(
608
621
  /*matchStatus*/
609
- i[16].call(null, e)
622
+ i[17].call(null, e)
610
623
  ),
611
624
  $(
612
625
  e,
613
626
  "click",
614
627
  /*detailsAction*/
615
- i[19]
628
+ i[20]
616
629
  )
617
- ], l = !0);
630
+ ], o = !0);
618
631
  },
619
- p(d, b) {
620
- b[0] & /*thumbnail*/
621
- 8 && !te(t.src, n = /*thumbnail*/
622
- d[3]) && H(t, "src", n), b[0] & /*status*/
623
- 1 && a !== (a = "CardImg " + /*status*/
632
+ p(d, f) {
633
+ f[0] & /*thumbnail*/
634
+ 8 && !te(t.src, r = /*thumbnail*/
635
+ d[3]) && Y(t, "src", r), f[0] & /*status*/
636
+ 1 && n !== (n = "CardImg " + /*status*/
624
637
  (d[0] == "Closing" || /*status*/
625
- d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", a), b[0] & /*status*/
638
+ d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", n), f[0] & /*status*/
626
639
  1 && s !== (s = "CardImg " + /*status*/
627
640
  (d[0] == "Closing" || /*status*/
628
641
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
629
642
  },
630
643
  d(d) {
631
- d && _(e), l = !1, ie(o);
644
+ d && A(e), o = !1, ie(u);
632
645
  }
633
646
  };
634
647
  }
635
648
  function de(i) {
636
- let e, t, n, a, s;
649
+ let e, t, r, n, s;
637
650
  return {
638
651
  c() {
639
- e = p("div"), t = T(
652
+ e = p("div"), t = w(
640
653
  /*shownDate*/
641
- i[10]
654
+ i[11]
642
655
  ), m(e, "class", "Date"), m(e, "part", "Date");
643
656
  },
644
- m(l, o) {
645
- A(l, e, o), c(e, t), a || (s = Z(n = /*formatDate*/
646
- i[15].call(
657
+ m(o, u) {
658
+ v(o, e, u), c(e, t), n || (s = X(r = /*formatDate*/
659
+ i[16].call(
647
660
  null,
648
661
  e,
649
662
  /*startdate*/
650
663
  i[2]
651
- )), a = !0);
664
+ )), n = !0);
652
665
  },
653
- p(l, o) {
654
- o[0] & /*shownDate*/
655
- 1024 && D(
666
+ p(o, u) {
667
+ u[0] & /*shownDate*/
668
+ 2048 && R(
656
669
  t,
657
670
  /*shownDate*/
658
- l[10]
659
- ), n && ve(n.update) && o[0] & /*startdate*/
660
- 4 && n.update.call(
671
+ o[11]
672
+ ), r && ve(r.update) && u[0] & /*startdate*/
673
+ 4 && r.update.call(
661
674
  null,
662
675
  /*startdate*/
663
- l[2]
676
+ o[2]
664
677
  );
665
678
  },
666
- d(l) {
667
- l && _(e), a = !1, s();
679
+ d(o) {
680
+ o && A(e), n = !1, s();
668
681
  }
669
682
  };
670
683
  }
671
- function ze(i) {
672
- let e, t, n, a = (
684
+ function Ne(i) {
685
+ let e, t, r, n = (
673
686
  /*title*/
674
687
  i[1] === "undefined" && se()
675
688
  ), s = (
@@ -678,164 +691,166 @@ function ze(i) {
678
691
  );
679
692
  return {
680
693
  c() {
681
- e = p("div"), a && a.c(), t = R(), s && s.c(), m(e, "class", n = `Thumbnail ${/*title*/
694
+ e = p("div"), n && n.c(), t = J(), s && s.c(), m(e, "class", r = `Thumbnail ${/*title*/
682
695
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
683
696
  },
684
- m(l, o) {
685
- A(l, e, o), a && a.m(e, null), c(e, t), s && s.m(e, null), i[29](e);
697
+ m(o, u) {
698
+ v(o, e, u), n && n.m(e, null), c(e, t), s && s.m(e, null), i[30](e);
686
699
  },
687
- p(l, o) {
700
+ p(o, u) {
688
701
  /*title*/
689
- l[1] === "undefined" ? a || (a = se(), a.c(), a.m(e, t)) : a && (a.d(1), a = null), /*title*/
690
- l[1] !== "undefined" ? s ? s.p(l, o) : (s = le(l), s.c(), s.m(e, null)) : s && (s.d(1), s = null), o[0] & /*title*/
691
- 2 && n !== (n = `Thumbnail ${/*title*/
692
- l[1] === "undefined" ? "Loading" : ""}`) && m(e, "class", n);
702
+ o[1] === "undefined" ? n || (n = se(), n.c(), n.m(e, t)) : n && (n.d(1), n = null), /*title*/
703
+ o[1] !== "undefined" ? s ? s.p(o, u) : (s = le(o), s.c(), s.m(e, null)) : s && (s.d(1), s = null), u[0] & /*title*/
704
+ 2 && r !== (r = `Thumbnail ${/*title*/
705
+ o[1] === "undefined" ? "Loading" : ""}`) && m(e, "class", r);
693
706
  },
694
707
  i: ae,
695
708
  o: ae,
696
- d(l) {
697
- l && _(e), a && a.d(), s && s.d(), i[29](null);
709
+ d(o) {
710
+ o && A(e), n && n.d(), s && s.d(), i[30](null);
698
711
  }
699
712
  };
700
713
  }
701
- function Ne(i, e, t) {
702
- let n;
703
- Se(i, Te, (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: V = "" } = e, { showenrolled: Y = "false" } = e, { detailsevent: J = "" } = e, { gameurl: q = "" } = e, { lang: W = "en" } = e, { keepbrowsercontext: x = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: z = "" } = e, { mbsource: E } = e, w, B, I = "", F = "", P = "", N = "";
705
- Re({ withLocale: "en", translations: {} });
706
- const M = () => {
707
- fetch(z).then((r) => r.json()).then((r) => {
708
- Object.keys(r).forEach((k) => {
709
- re(k, r[k]);
710
- }), l && f();
711
- }).catch((r) => {
712
- console.log(r);
714
+ function Oe(i, e, t) {
715
+ let r;
716
+ Se(i, Re, (a) => t(15, r = a));
717
+ let { userid: n = "" } = e, { title: s = "" } = e, { startdate: o = "" } = e, { status: u = "" } = e, { tourid: d = "" } = e, { thumbnail: f = "" } = e, { userenrolled: _ = "" } = e, { scorecriteria: T = "" } = e, { minbetcount: E = "" } = e, { showenrolled: Z = "false" } = e, { detailsevent: M = "" } = e, { gameurl: P = "" } = e, { lang: N = "en" } = e, { keepbrowsercontext: O = "false" } = e, { clientstyling: D = "" } = e, { clientstylingurl: W = "" } = e, { translationurl: I = "" } = e, { mbsource: x } = e, { betcountmode: Q = "minbet" } = e, S, F, L = "", j = "", U = "", C = "";
718
+ De({ withLocale: "en", translations: {} });
719
+ const G = () => {
720
+ fetch(I).then((a) => a.json()).then((a) => {
721
+ Object.keys(a).forEach((b) => {
722
+ ne(b, a[b]);
723
+ }), o && q();
724
+ }).catch((a) => {
725
+ console.log(a);
713
726
  });
714
727
  };
715
- Object.keys(ne).forEach((r) => {
716
- re(r, ne[r]);
728
+ Object.keys(re).forEach((a) => {
729
+ ne(a, re[a]);
717
730
  });
718
- const U = (r) => {
719
- r.data && r.data.type == `TournamentStatus_${d}` && t(0, o = r.data.status);
720
- }, G = () => {
721
- const r = { month: "long" };
722
- let k = new Date(l), S = new Intl.DateTimeFormat("en", r).format(k), u = k.getDate(), g = k.toLocaleString("en-GB", {
731
+ const K = (a) => {
732
+ a.data && a.data.type == `TournamentStatus_${d}` && t(0, u = a.data.status);
733
+ }, z = () => {
734
+ const a = { month: "long" };
735
+ let b = new Date(o), l = new Intl.DateTimeFormat("en", a).format(b), g = b.getDate(), ce = b.toLocaleString("en-GB", {
723
736
  hour: "numeric",
724
737
  minute: "numeric",
725
738
  hour12: !1
726
739
  });
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);
740
+ const ge = () => r(u === "Unstarted" ? "startingAt" : "startedAt");
741
+ t(11, L = `${g} ` + r(`${l}`) + ", " + ge() + ` ${ce}`);
742
+ }, B = () => {
743
+ u == "Unstarted" && (t(12, j = r("scheduled")), t(14, C = "StatusUnstarted")), u == "Running" && (t(12, j = r("ongoing")), t(14, C = "StatusRunning")), (u == "Closed" || u == "Closing") && t(12, j = r("finished")), u == "Closed" && t(14, C = "StatusClosed"), u == "Closing" && t(14, C = "StatusClosing");
744
+ }, V = () => {
745
+ if (!T || T.length <= 1) {
746
+ t(13, U = T);
734
747
  return;
735
748
  }
736
- t(12, P = n(v.charAt(0).toLowerCase() + v.slice(1)));
737
- }, Q = () => {
749
+ t(13, U = r(T.charAt(0).toLowerCase() + T.slice(1)));
750
+ }, k = () => {
738
751
  window.postMessage({ type: "tournamentGamesClicked", tourid: d }, window.location.href);
739
752
  }, y = () => {
740
- J && window.postMessage(
753
+ M && window.postMessage(
741
754
  {
742
- type: J,
755
+ type: M,
743
756
  tournamentId: d,
744
757
  showLeaderboard: !0
745
758
  },
746
759
  window.location.href
747
760
  );
748
761
  };
749
- Ce(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
750
- window.removeEventListener("message", U);
762
+ Ce(() => (setTimeout(() => q(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", K, !1), () => {
763
+ window.removeEventListener("message", K);
751
764
  }));
752
- const f = () => {
753
- De(W), K(), O(), l && G();
765
+ const q = () => {
766
+ Ie(N), V(), B(), o && z();
754
767
  };
755
- function X(r) {
756
- _e[r ? "unshift" : "push"](() => {
757
- w = r, t(9, w);
768
+ function H(a) {
769
+ _e[a ? "unshift" : "push"](() => {
770
+ S = a, t(10, S);
758
771
  });
759
772
  }
760
- return i.$$set = (r) => {
761
- "userid" in r && t(20, a = r.userid), "title" in r && t(1, s = r.title), "startdate" in r && t(2, l = r.startdate), "status" in r && t(0, o = r.status), "tourid" in r && t(21, d = r.tourid), "thumbnail" in r && t(3, b = r.thumbnail), "userenrolled" in r && t(4, C = r.userenrolled), "scorecriteria" in r && t(22, v = r.scorecriteria), "minbetcount" in r && t(5, V = r.minbetcount), "showenrolled" in r && t(6, Y = r.showenrolled), "detailsevent" in r && t(23, J = r.detailsevent), "gameurl" in r && t(7, q = r.gameurl), "lang" in r && t(24, W = r.lang), "keepbrowsercontext" in r && t(8, x = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, L = r.clientstylingurl), "translationurl" in r && t(27, z = r.translationurl), "mbsource" in r && t(28, E = r.mbsource);
773
+ return i.$$set = (a) => {
774
+ "userid" in a && t(21, n = a.userid), "title" in a && t(1, s = a.title), "startdate" in a && t(2, o = a.startdate), "status" in a && t(0, u = a.status), "tourid" in a && t(22, d = a.tourid), "thumbnail" in a && t(3, f = a.thumbnail), "userenrolled" in a && t(4, _ = a.userenrolled), "scorecriteria" in a && t(23, T = a.scorecriteria), "minbetcount" in a && t(5, E = a.minbetcount), "showenrolled" in a && t(6, Z = a.showenrolled), "detailsevent" in a && t(24, M = a.detailsevent), "gameurl" in a && t(7, P = a.gameurl), "lang" in a && t(25, N = a.lang), "keepbrowsercontext" in a && t(8, O = a.keepbrowsercontext), "clientstyling" in a && t(26, D = a.clientstyling), "clientstylingurl" in a && t(27, W = a.clientstylingurl), "translationurl" in a && t(28, I = a.translationurl), "mbsource" in a && t(29, x = a.mbsource), "betcountmode" in a && t(9, Q = a.betcountmode);
762
775
  }, i.$$.update = () => {
763
776
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
764
- 33554944 && j && w && we(w, j), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
765
- 67109376 && L && w && Me(w, L), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
766
- 268435968 && E && w && Je(w, `${E}.Style`, B), i.$$.dirty[0] & /*translationurl*/
767
- 134217728 && z && 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 && G(), i.$$.dirty[0] & /*scorecriteria*/
771
- 4194304 && v && K();
777
+ 67109888 && D && S && Te(S, D), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
778
+ 134218752 && W && S && we(S, W), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
779
+ 536871936 && x && S && Me(S, `${x}.Style`, F), i.$$.dirty[0] & /*translationurl*/
780
+ 268435456 && I && G(), i.$$.dirty[0] & /*status*/
781
+ 1 && u && B(), i.$$.dirty[0] & /*title, lang*/
782
+ 33554434 && s && N && q(), i.$$.dirty[0] & /*startdate*/
783
+ 4 && o && z(), i.$$.dirty[0] & /*scorecriteria*/
784
+ 8388608 && T && V();
772
785
  }, [
773
- o,
786
+ u,
774
787
  s,
775
- l,
776
- b,
777
- C,
778
- V,
779
- Y,
780
- q,
781
- x,
782
- w,
783
- I,
784
- F,
788
+ o,
789
+ f,
790
+ _,
791
+ E,
792
+ Z,
785
793
  P,
786
- N,
787
- n,
788
- G,
789
794
  O,
790
- K,
791
795
  Q,
796
+ S,
797
+ L,
798
+ j,
799
+ U,
800
+ C,
801
+ r,
802
+ z,
803
+ B,
804
+ V,
805
+ k,
792
806
  y,
793
- a,
807
+ n,
794
808
  d,
795
- v,
796
- J,
809
+ T,
810
+ M,
811
+ N,
812
+ D,
797
813
  W,
798
- j,
799
- L,
800
- z,
801
- E,
802
- X
814
+ I,
815
+ x,
816
+ H
803
817
  ];
804
818
  }
805
- class Oe extends fe {
819
+ class We extends he {
806
820
  constructor(e) {
807
- super(), he(
821
+ super(), pe(
808
822
  this,
809
823
  e,
824
+ Oe,
810
825
  Ne,
811
- ze,
812
- pe,
826
+ ke,
813
827
  {
814
- userid: 20,
828
+ userid: 21,
815
829
  title: 1,
816
830
  startdate: 2,
817
831
  status: 0,
818
- tourid: 21,
832
+ tourid: 22,
819
833
  thumbnail: 3,
820
834
  userenrolled: 4,
821
- scorecriteria: 22,
835
+ scorecriteria: 23,
822
836
  minbetcount: 5,
823
837
  showenrolled: 6,
824
- detailsevent: 23,
838
+ detailsevent: 24,
825
839
  gameurl: 7,
826
- lang: 24,
840
+ lang: 25,
827
841
  keepbrowsercontext: 8,
828
- clientstyling: 25,
829
- clientstylingurl: 26,
830
- translationurl: 27,
831
- mbsource: 28
842
+ clientstyling: 26,
843
+ clientstylingurl: 27,
844
+ translationurl: 28,
845
+ mbsource: 29,
846
+ betcountmode: 9
832
847
  },
833
- Ie,
848
+ Fe,
834
849
  [-1, -1]
835
850
  );
836
851
  }
837
852
  get userid() {
838
- return this.$$.ctx[20];
853
+ return this.$$.ctx[21];
839
854
  }
840
855
  set userid(e) {
841
856
  this.$$set({ userid: e }), h();
@@ -859,7 +874,7 @@ class Oe extends fe {
859
874
  this.$$set({ status: e }), h();
860
875
  }
861
876
  get tourid() {
862
- return this.$$.ctx[21];
877
+ return this.$$.ctx[22];
863
878
  }
864
879
  set tourid(e) {
865
880
  this.$$set({ tourid: e }), h();
@@ -877,7 +892,7 @@ class Oe extends fe {
877
892
  this.$$set({ userenrolled: e }), h();
878
893
  }
879
894
  get scorecriteria() {
880
- return this.$$.ctx[22];
895
+ return this.$$.ctx[23];
881
896
  }
882
897
  set scorecriteria(e) {
883
898
  this.$$set({ scorecriteria: e }), h();
@@ -895,7 +910,7 @@ class Oe extends fe {
895
910
  this.$$set({ showenrolled: e }), h();
896
911
  }
897
912
  get detailsevent() {
898
- return this.$$.ctx[23];
913
+ return this.$$.ctx[24];
899
914
  }
900
915
  set detailsevent(e) {
901
916
  this.$$set({ detailsevent: e }), h();
@@ -907,7 +922,7 @@ class Oe extends fe {
907
922
  this.$$set({ gameurl: e }), h();
908
923
  }
909
924
  get lang() {
910
- return this.$$.ctx[24];
925
+ return this.$$.ctx[25];
911
926
  }
912
927
  set lang(e) {
913
928
  this.$$set({ lang: e }), h();
@@ -919,31 +934,37 @@ class Oe extends fe {
919
934
  this.$$set({ keepbrowsercontext: e }), h();
920
935
  }
921
936
  get clientstyling() {
922
- return this.$$.ctx[25];
937
+ return this.$$.ctx[26];
923
938
  }
924
939
  set clientstyling(e) {
925
940
  this.$$set({ clientstyling: e }), h();
926
941
  }
927
942
  get clientstylingurl() {
928
- return this.$$.ctx[26];
943
+ return this.$$.ctx[27];
929
944
  }
930
945
  set clientstylingurl(e) {
931
946
  this.$$set({ clientstylingurl: e }), h();
932
947
  }
933
948
  get translationurl() {
934
- return this.$$.ctx[27];
949
+ return this.$$.ctx[28];
935
950
  }
936
951
  set translationurl(e) {
937
952
  this.$$set({ translationurl: e }), h();
938
953
  }
939
954
  get mbsource() {
940
- return this.$$.ctx[28];
955
+ return this.$$.ctx[29];
941
956
  }
942
957
  set mbsource(e) {
943
958
  this.$$set({ mbsource: e }), h();
944
959
  }
960
+ get betcountmode() {
961
+ return this.$$.ctx[9];
962
+ }
963
+ set betcountmode(e) {
964
+ this.$$set({ betcountmode: e }), h();
965
+ }
945
966
  }
946
- ke(Oe, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
967
+ Je(We, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, betcountmode: {} }, [], [], !0);
947
968
  export {
948
- Oe as default
969
+ We as default
949
970
  };