@everymatrix/casino-tournaments-thumbnail-controller 1.98.11 → 1.98.12

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 (22) hide show
  1. package/components/{CasinoTournamentsThumbnail-D0ogCtJU.js → CasinoTournamentsThumbnail-B5Yzr7sO.js} +220 -152
  2. package/components/{CasinoTournamentsThumbnail-C5xct0_1.js → CasinoTournamentsThumbnail-BV5G8P_q.js} +221 -153
  3. package/components/{CasinoTournamentsThumbnail-CN6ZbC4d.cjs → CasinoTournamentsThumbnail-BdB0qyH1.cjs} +3 -3
  4. package/components/{CasinoTournamentsThumbnailController-DAvw0pTx.cjs → CasinoTournamentsThumbnailController-BFCzfBPH.cjs} +1 -1
  5. package/components/{CasinoTournamentsThumbnailController-CTR9Yx_Q.js → CasinoTournamentsThumbnailController-CE_wNZTJ.js} +4 -4
  6. package/components/{CasinoTournamentsThumbnailController-9aRzA1n-.js → CasinoTournamentsThumbnailController-DiQ4a78a.js} +4 -4
  7. package/components/{CasinoTournamentsThumbnailDuration-Dx6YkenJ.js → CasinoTournamentsThumbnailDuration-5gWYo6rE.js} +47 -31
  8. package/components/{CasinoTournamentsThumbnailDuration-BfU8-09l.js → CasinoTournamentsThumbnailDuration-D3PYHA9M.js} +58 -42
  9. package/components/CasinoTournamentsThumbnailDuration-s_3M0hk7.cjs +1 -0
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-BImHj2AJ.js → CasinoTournamentsThumbnailGamesSlider-C0ri8OiN.js} +7 -1
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-C73V9r9K.js → CasinoTournamentsThumbnailGamesSlider-pqMqArAd.js} +23 -17
  12. package/components/CasinoTournamentsThumbnailGamesSlider-sA1h4YDn.cjs +1 -0
  13. package/components/CasinoTournamentsThumbnailPrizes-8CFQPYa0.cjs +1 -0
  14. package/components/{CasinoTournamentsThumbnailPrizes-CAhc0WHz.js → CasinoTournamentsThumbnailPrizes-C-zdDFPz.js} +85 -75
  15. package/components/{CasinoTournamentsThumbnailPrizes-BoAZFu0y.js → CasinoTournamentsThumbnailPrizes-DHr-js9r.js} +101 -91
  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/CasinoTournamentsThumbnailDuration-C0ZzG-d6.cjs +0 -1
  21. package/components/CasinoTournamentsThumbnailGamesSlider-SG_CTF5u.cjs +0 -1
  22. package/components/CasinoTournamentsThumbnailPrizes-WRldAF76.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { $ as ee, a as be, b as fe, S as he, i as pe, f as h, s as ke, c as ye, d as Se, n as ae, e as A, g as m, h as v, j as c, k as p, l as J, m as Ce, o as _e, r as ie, p as R, q as $, t as X, u as w, v as Ae, w as ve, x as te, y as Y, z as Te, A as we, B as Me, C as Je, D as Re } from "./CasinoTournamentsThumbnailController-CTR9Yx_Q.js";
1
+ import { $ as ee, a as be, b as he, S as fe, i as ye, f, s as pe, c as ke, d as Se, n as ae, e as _, g as m, h as v, j as c, k as y, l as J, m as Ce, o as Ae, r as ie, p as R, q as $, t as X, u as w, v as _e, w as ve, x as te, y as Y, z as Te, A as we, B as Me, C as Je, D as Re } from "./CasinoTournamentsThumbnailController-CE_wNZTJ.js";
2
2
  import "../stencil/ui-skeleton-CCeXOW4G.js";
3
3
  import "../stencil/ui-image-DyN7Fe9v.js";
4
4
  function De({ withLocale: i, translations: e }) {
@@ -6,13 +6,13 @@ function De({ withLocale: i, translations: e }) {
6
6
  t == null && (be.set(e), ee.set(i));
7
7
  });
8
8
  }
9
- function ne(i, e) {
10
- fe(i, e);
9
+ function re(i, e) {
10
+ he(i, e);
11
11
  }
12
12
  function Ie(i) {
13
13
  ee.set(i);
14
14
  }
15
- const re = {
15
+ const ne = {
16
16
  en: {
17
17
  enrolled: "Enrolled",
18
18
  scoreCriteria: "Score Criteria",
@@ -345,30 +345,98 @@ const re = {
345
345
  October: "October",
346
346
  November: "November",
347
347
  December: "December"
348
+ },
349
+ ru: {
350
+ enrolled: "Участвует",
351
+ scoreCriteria: "Критерий подсчёта очков",
352
+ minbet: "мин. количество ставок",
353
+ preciseNumberOfBets: "точное количество ставок",
354
+ seegames: "Вы можете посмотреть игры",
355
+ here: "здесь",
356
+ scheduled: "Запланирован",
357
+ ongoing: "Идёт",
358
+ finished: "Завершён",
359
+ startingAt: "Начало:",
360
+ startedAt: "Начался:",
361
+ startingAtWithTime: "Начинается {startTime}",
362
+ startedAtWithTime: "Начался {startTime}",
363
+ mostRounds: "Больше всего раундов",
364
+ betCount: "Количество ставок",
365
+ maxWinStakeRatio: "Макс. выигрыш на ставку",
366
+ winStakeRatio: "Общий выигрыш на ставку",
367
+ stake: "Оборот",
368
+ win: "Выигрыш",
369
+ winBetCount: "Выигрыш и количество раундов",
370
+ January: "Январь",
371
+ February: "Февраль",
372
+ March: "Март",
373
+ April: "Апрель",
374
+ May: "Май",
375
+ June: "Июнь",
376
+ July: "Июль",
377
+ August: "Август",
378
+ September: "Сентябрь",
379
+ October: "Октябрь",
380
+ November: "Ноябрь",
381
+ December: "Декабрь"
382
+ },
383
+ az: {
384
+ enrolled: "Qeydiyyatdan keçib",
385
+ scoreCriteria: "Xal meyarı",
386
+ minbet: "min mərc sayı",
387
+ preciseNumberOfBets: "dəqiq mərc sayı",
388
+ seegames: "Oyunları görə bilərsiniz",
389
+ here: "burada",
390
+ scheduled: "Planlaşdırılıb",
391
+ ongoing: "Davam edir",
392
+ finished: "Bitib",
393
+ startingAt: "Başlama vaxtı:",
394
+ startedAt: "Başlama vaxtı:",
395
+ startingAtWithTime: "{startTime} başlayır",
396
+ startedAtWithTime: "{startTime} başladı",
397
+ mostRounds: "Ən çox raund",
398
+ betCount: "Mərc sayı",
399
+ maxWinStakeRatio: "Mərc üzrə maksimum uduş",
400
+ winStakeRatio: "Mərc üzrə ümumi uduş",
401
+ stake: "Dövriyyə",
402
+ win: "Uduş",
403
+ winBetCount: "Uduş və raund sayı",
404
+ January: "Yanvar",
405
+ February: "Fevral",
406
+ March: "Mart",
407
+ April: "Aprel",
408
+ May: "May",
409
+ June: "İyun",
410
+ July: "İyul",
411
+ August: "Avqust",
412
+ September: "Sentyabr",
413
+ October: "Oktyabr",
414
+ November: "Noyabr",
415
+ December: "Dekabr"
348
416
  }
349
417
  };
350
418
  function Fe(i) {
351
419
  Se(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}');
352
420
  }
353
421
  function se(i) {
354
- let e, t, r;
422
+ let e, t, n;
355
423
  return {
356
424
  c() {
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");
425
+ e = y("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = J(), 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");
358
426
  },
359
- m(n, s) {
360
- v(n, e, s), v(n, t, s), v(n, r, s);
427
+ m(r, s) {
428
+ v(r, e, s), v(r, t, s), v(r, n, s);
361
429
  },
362
- d(n) {
363
- n && (A(e), A(t), A(r));
430
+ d(r) {
431
+ r && (_(e), _(t), _(n));
364
432
  }
365
433
  };
366
434
  }
367
435
  function le(i) {
368
- let e, t, r, n, s, o, u, d, f, _, T = (
436
+ let e, t, n, r, s, o, u, d, h, A, T = (
369
437
  /*$_*/
370
438
  i[15]("scoreCriteria") + ""
371
- ), E, Z, M, P, N, O = (
439
+ ), E, Z, M, P, j, O = (
372
440
  /*$_*/
373
441
  i[15](
374
442
  /*betcountmode*/
@@ -377,52 +445,52 @@ function le(i) {
377
445
  i[9]
378
446
  )
379
447
  ) + ""
380
- ), D, W, I, x, Q, S, F, L = (
448
+ ), D, W, I, x, Q, S, F, B = (
381
449
  /*$_*/
382
450
  i[15]("seegames") + ""
383
- ), j, U, C, G = (
451
+ ), N, U, C, G = (
384
452
  /*$_*/
385
453
  i[15]("here") + ""
386
- ), K, z, B, V, k = (
454
+ ), q, z, L, K, p = (
387
455
  /*status*/
388
456
  i[0] && oe(i)
389
- ), y = (
457
+ ), k = (
390
458
  /*showenrolled*/
391
459
  i[6] == "true" && ue(i)
392
460
  );
393
- function q(l, g) {
461
+ function V(l, g) {
394
462
  return (
395
463
  /*thumbnail*/
396
- l[3] ? ze : je
464
+ l[3] ? ze : Ne
397
465
  );
398
466
  }
399
- let H = q(i), a = H(i), b = (
467
+ let H = V(i), a = H(i), b = (
400
468
  /*startdate*/
401
469
  i[2] && de(i)
402
470
  );
403
471
  return {
404
472
  c() {
405
- k && k.c(), e = J(), y && y.c(), t = J(), a.c(), r = J(), n = p("div"), s = p("div"), o = w(
473
+ p && p.c(), e = J(), k && k.c(), t = J(), a.c(), n = J(), r = y("div"), s = y("div"), o = w(
406
474
  /*title*/
407
475
  i[1]
408
- ), u = J(), b && b.c(), d = J(), f = p("div"), _ = p("p"), E = w(T), Z = w(`:
409
- `), M = p("span"), P = w(
476
+ ), u = J(), b && b.c(), d = J(), h = y("div"), A = y("p"), E = w(T), Z = w(`:
477
+ `), M = y("span"), P = w(
410
478
  /*showScoreCriteria*/
411
479
  i[13]
412
- ), N = w(`
480
+ ), j = w(`
413
481
  (`), D = w(O), W = J(), I = w(
414
482
  /*minbetcount*/
415
483
  i[5]
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(
484
+ ), x = w(")"), Q = J(), S = y("div"), F = y("p"), N = w(B), U = J(), C = y("a"), q = w(G), m(s, "class", "Title"), m(s, "part", "Title"), m(M, "part", "ScoreCriteriaSpan"), m(A, "part", "ScoreCriteriaP"), m(h, "class", "ScoreCriteria"), m(h, "part", "ScoreCriteria"), m(C, "part", "GamesAnchor"), m(
417
485
  C,
418
486
  "href",
419
487
  /*gameurl*/
420
488
  i[7]
421
489
  ), 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");
490
+ i[8] === "true" ? "_self" : "_blank"), m(F, "part", "GamesP"), m(S, "class", "Games"), m(S, "part", "Games"), m(r, "class", "Details"), m(r, "part", "Details");
423
491
  },
424
492
  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 = [
493
+ p && p.m(l, g), v(l, e, g), k && k.m(l, g), v(l, t, g), a.m(l, g), v(l, n, g), v(l, r, g), c(r, s), c(s, o), c(r, u), b && b.m(r, null), c(r, d), c(r, h), c(h, A), c(A, E), c(A, Z), c(A, M), c(M, P), c(A, j), c(A, D), c(A, W), c(A, I), c(A, x), c(r, Q), c(r, S), c(S, F), c(F, N), c(F, U), c(F, C), c(C, q), L || (K = [
426
494
  $(
427
495
  s,
428
496
  "click",
@@ -439,18 +507,18 @@ function le(i) {
439
507
  /*tournamentGamesClicked*/
440
508
  i[19]
441
509
  )
442
- ], B = !0);
510
+ ], L = !0);
443
511
  },
444
512
  p(l, g) {
445
513
  /*status*/
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*/
514
+ l[0] ? p ? p.p(l, g) : (p = oe(l), p.c(), p.m(e.parentNode, e)) : p && (p.d(1), p = null), /*showenrolled*/
515
+ l[6] == "true" ? k ? k.p(l, g) : (k = ue(l), k.c(), k.m(t.parentNode, t)) : k && (k.d(1), k = null), H === (H = V(l)) && a ? a.p(l, g) : (a.d(1), a = H(l), a && (a.c(), a.m(n.parentNode, n))), g[0] & /*title*/
448
516
  2 && R(
449
517
  o,
450
518
  /*title*/
451
519
  l[1]
452
520
  ), /*startdate*/
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] & /*$_*/
521
+ l[2] ? b ? b.p(l, g) : (b = de(l), b.c(), b.m(r, d)) : b && (b.d(1), b = null), g[0] & /*$_*/
454
522
  32768 && T !== (T = /*$_*/
455
523
  l[15]("scoreCriteria") + "") && R(E, T), g[0] & /*showScoreCriteria*/
456
524
  8192 && R(
@@ -471,10 +539,10 @@ function le(i) {
471
539
  /*minbetcount*/
472
540
  l[5]
473
541
  ), g[0] & /*$_*/
474
- 32768 && L !== (L = /*$_*/
475
- l[15]("seegames") + "") && R(j, L), g[0] & /*$_*/
542
+ 32768 && B !== (B = /*$_*/
543
+ l[15]("seegames") + "") && R(N, B), g[0] & /*$_*/
476
544
  32768 && G !== (G = /*$_*/
477
- l[15]("here") + "") && R(K, G), g[0] & /*gameurl*/
545
+ l[15]("here") + "") && R(q, G), g[0] & /*gameurl*/
478
546
  128 && m(
479
547
  C,
480
548
  "href",
@@ -485,19 +553,19 @@ function le(i) {
485
553
  l[8] === "true" ? "_self" : "_blank") && m(C, "target", z);
486
554
  },
487
555
  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);
556
+ l && (_(e), _(t), _(n), _(r)), p && p.d(l), k && k.d(l), a.d(l), b && b.d(), L = !1, ie(K);
489
557
  }
490
558
  };
491
559
  }
492
560
  function oe(i) {
493
- let e, t, r, n, s, o;
561
+ let e, t, n, r, s, o;
494
562
  return {
495
563
  c() {
496
- e = p("div"), t = w(
564
+ e = y("div"), t = w(
497
565
  /*shownStatus*/
498
566
  i[12]
499
- ), m(e, "class", r = "Status " + /*statusClass*/
500
- i[14]), m(e, "part", n = "Status " + /*statusClass*/
567
+ ), m(e, "class", n = "Status " + /*statusClass*/
568
+ i[14]), m(e, "part", r = "Status " + /*statusClass*/
501
569
  i[14]);
502
570
  },
503
571
  m(u, d) {
@@ -513,13 +581,13 @@ function oe(i) {
513
581
  /*shownStatus*/
514
582
  u[12]
515
583
  ), d[0] & /*statusClass*/
516
- 16384 && r !== (r = "Status " + /*statusClass*/
517
- u[14]) && m(e, "class", r), d[0] & /*statusClass*/
518
584
  16384 && n !== (n = "Status " + /*statusClass*/
519
- u[14]) && m(e, "part", n);
585
+ u[14]) && m(e, "class", n), d[0] & /*statusClass*/
586
+ 16384 && r !== (r = "Status " + /*statusClass*/
587
+ u[14]) && m(e, "part", r);
520
588
  },
521
589
  d(u) {
522
- u && A(e), s = !1, o();
590
+ u && _(e), s = !1, o();
523
591
  }
524
592
  };
525
593
  }
@@ -532,15 +600,15 @@ function ue(i) {
532
600
  c() {
533
601
  t && t.c(), e = ve();
534
602
  },
535
- m(r, n) {
536
- t && t.m(r, n), v(r, e, n);
603
+ m(n, r) {
604
+ t && t.m(n, r), v(n, e, r);
537
605
  },
538
- p(r, n) {
606
+ p(n, r) {
539
607
  /*userenrolled*/
540
- r[4] ? t ? t.p(r, n) : (t = me(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
608
+ n[4] ? t ? t.p(n, r) : (t = me(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
541
609
  },
542
- d(r) {
543
- r && A(e), t && t.d(r);
610
+ d(n) {
611
+ n && _(e), t && t.d(n);
544
612
  }
545
613
  };
546
614
  }
@@ -548,36 +616,36 @@ function me(i) {
548
616
  let e, t = (
549
617
  /*$_*/
550
618
  i[15]("enrolled") + ""
551
- ), r;
619
+ ), n;
552
620
  return {
553
621
  c() {
554
- e = p("div"), r = w(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
622
+ e = y("div"), n = w(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
555
623
  },
556
- m(n, s) {
557
- v(n, e, s), c(e, r);
624
+ m(r, s) {
625
+ v(r, e, s), c(e, n);
558
626
  },
559
- p(n, s) {
627
+ p(r, s) {
560
628
  s[0] & /*$_*/
561
629
  32768 && t !== (t = /*$_*/
562
- n[15]("enrolled") + "") && R(r, t);
630
+ r[15]("enrolled") + "") && R(n, t);
563
631
  },
564
- d(n) {
565
- n && A(e);
632
+ d(r) {
633
+ r && _(e);
566
634
  }
567
635
  };
568
636
  }
569
- function je(i) {
570
- let e, t, r, n, s, o, u;
637
+ function Ne(i) {
638
+ let e, t, n, r, s, o, u;
571
639
  return {
572
640
  c() {
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*/
641
+ e = y("div"), t = y("ui-image"), te(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Y(t, "src", n), Y(t, "alt", "icon"), m(e, "class", r = "CardImg " + /*status*/
574
642
  (i[0] == "Closing" || /*status*/
575
643
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
576
644
  (i[0] == "Closing" || /*status*/
577
645
  i[0] == "Closed" ? "CardImgFinished" : ""));
578
646
  },
579
- m(d, f) {
580
- v(d, e, f), c(e, t), o || (u = [
647
+ m(d, h) {
648
+ v(d, e, h), c(e, t), o || (u = [
581
649
  X(
582
650
  /*matchStatus*/
583
651
  i[17].call(null, e)
@@ -590,33 +658,33 @@ function je(i) {
590
658
  )
591
659
  ], o = !0);
592
660
  },
593
- p(d, f) {
594
- f[0] & /*status*/
595
- 1 && n !== (n = "CardImg " + /*status*/
661
+ p(d, h) {
662
+ h[0] & /*status*/
663
+ 1 && r !== (r = "CardImg " + /*status*/
596
664
  (d[0] == "Closing" || /*status*/
597
- d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", n), f[0] & /*status*/
665
+ d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", r), h[0] & /*status*/
598
666
  1 && s !== (s = "CardImg " + /*status*/
599
667
  (d[0] == "Closing" || /*status*/
600
668
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
601
669
  },
602
670
  d(d) {
603
- d && A(e), o = !1, ie(u);
671
+ d && _(e), o = !1, ie(u);
604
672
  }
605
673
  };
606
674
  }
607
675
  function ze(i) {
608
- let e, t, r, n, s, o, u;
676
+ let e, t, n, r, s, o, u;
609
677
  return {
610
678
  c() {
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*/
679
+ e = y("div"), t = y("ui-image"), Y(t, "class", "UIImage"), te(t.src, n = /*thumbnail*/
680
+ i[3]) || Y(t, "src", n), Y(t, "alt", "icon"), m(e, "class", r = "CardImg " + /*status*/
613
681
  (i[0] == "Closing" || /*status*/
614
682
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
615
683
  (i[0] == "Closing" || /*status*/
616
684
  i[0] == "Closed" ? "CardImgFinished" : ""));
617
685
  },
618
- m(d, f) {
619
- v(d, e, f), c(e, t), o || (u = [
686
+ m(d, h) {
687
+ v(d, e, h), c(e, t), o || (u = [
620
688
  X(
621
689
  /*matchStatus*/
622
690
  i[17].call(null, e)
@@ -629,39 +697,39 @@ function ze(i) {
629
697
  )
630
698
  ], o = !0);
631
699
  },
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*/
700
+ p(d, h) {
701
+ h[0] & /*thumbnail*/
702
+ 8 && !te(t.src, n = /*thumbnail*/
703
+ d[3]) && Y(t, "src", n), h[0] & /*status*/
704
+ 1 && r !== (r = "CardImg " + /*status*/
637
705
  (d[0] == "Closing" || /*status*/
638
- d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", n), f[0] & /*status*/
706
+ d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", r), h[0] & /*status*/
639
707
  1 && s !== (s = "CardImg " + /*status*/
640
708
  (d[0] == "Closing" || /*status*/
641
709
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
642
710
  },
643
711
  d(d) {
644
- d && A(e), o = !1, ie(u);
712
+ d && _(e), o = !1, ie(u);
645
713
  }
646
714
  };
647
715
  }
648
716
  function de(i) {
649
- let e, t, r, n, s;
717
+ let e, t, n, r, s;
650
718
  return {
651
719
  c() {
652
- e = p("div"), t = w(
720
+ e = y("div"), t = w(
653
721
  /*shownDate*/
654
722
  i[11]
655
723
  ), m(e, "class", "Date"), m(e, "part", "Date");
656
724
  },
657
725
  m(o, u) {
658
- v(o, e, u), c(e, t), n || (s = X(r = /*formatDate*/
726
+ v(o, e, u), c(e, t), r || (s = X(n = /*formatDate*/
659
727
  i[16].call(
660
728
  null,
661
729
  e,
662
730
  /*startdate*/
663
731
  i[2]
664
- )), n = !0);
732
+ )), r = !0);
665
733
  },
666
734
  p(o, u) {
667
735
  u[0] & /*shownDate*/
@@ -669,20 +737,20 @@ function de(i) {
669
737
  t,
670
738
  /*shownDate*/
671
739
  o[11]
672
- ), r && Te(r.update) && u[0] & /*startdate*/
673
- 4 && r.update.call(
740
+ ), n && Te(n.update) && u[0] & /*startdate*/
741
+ 4 && n.update.call(
674
742
  null,
675
743
  /*startdate*/
676
744
  o[2]
677
745
  );
678
746
  },
679
747
  d(o) {
680
- o && A(e), n = !1, s();
748
+ o && _(e), r = !1, s();
681
749
  }
682
750
  };
683
751
  }
684
- function Ne(i) {
685
- let e, t, r, n = (
752
+ function je(i) {
753
+ let e, t, n, r = (
686
754
  /*title*/
687
755
  i[1] === "undefined" && se()
688
756
  ), s = (
@@ -691,44 +759,44 @@ function Ne(i) {
691
759
  );
692
760
  return {
693
761
  c() {
694
- e = p("div"), n && n.c(), t = J(), s && s.c(), m(e, "class", r = `Thumbnail ${/*title*/
762
+ e = y("div"), r && r.c(), t = J(), s && s.c(), m(e, "class", n = `Thumbnail ${/*title*/
695
763
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
696
764
  },
697
765
  m(o, u) {
698
- v(o, e, u), n && n.m(e, null), c(e, t), s && s.m(e, null), i[30](e);
766
+ v(o, e, u), r && r.m(e, null), c(e, t), s && s.m(e, null), i[30](e);
699
767
  },
700
768
  p(o, u) {
701
769
  /*title*/
702
- o[1] === "undefined" ? n || (n = se(), n.c(), n.m(e, t)) : n && (n.d(1), n = null), /*title*/
770
+ o[1] === "undefined" ? r || (r = se(), r.c(), r.m(e, t)) : r && (r.d(1), r = null), /*title*/
703
771
  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);
772
+ 2 && n !== (n = `Thumbnail ${/*title*/
773
+ o[1] === "undefined" ? "Loading" : ""}`) && m(e, "class", n);
706
774
  },
707
775
  i: ae,
708
776
  o: ae,
709
777
  d(o) {
710
- o && A(e), n && n.d(), s && s.d(), i[30](null);
778
+ o && _(e), r && r.d(), s && s.d(), i[30](null);
711
779
  }
712
780
  };
713
781
  }
714
782
  function Oe(i, e, t) {
715
- let r;
716
- Ce(i, we, (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 = "";
783
+ let n;
784
+ Ce(i, we, (a) => t(15, n = a));
785
+ let { userid: r = "" } = e, { title: s = "" } = e, { startdate: o = "" } = e, { status: u = "" } = e, { tourid: d = "" } = e, { thumbnail: h = "" } = e, { userenrolled: A = "" } = e, { scorecriteria: T = "" } = e, { minbetcount: E = "" } = e, { showenrolled: Z = "false" } = e, { detailsevent: M = "" } = e, { gameurl: P = "" } = e, { lang: j = "en" } = e, { keepbrowsercontext: O = "false" } = e, { clientstyling: D = "" } = e, { clientstylingurl: W = "" } = e, { translationurl: I = "" } = e, { mbsource: x } = e, { betcountmode: Q = "minbet" } = e, S, F, B = "", N = "", U = "", C = "";
718
786
  De({ withLocale: "en", translations: {} });
719
787
  const G = () => {
720
788
  fetch(I).then((a) => a.json()).then((a) => {
721
789
  Object.keys(a).forEach((b) => {
722
- ne(b, a[b]);
723
- }), o && q();
790
+ re(b, a[b]);
791
+ }), o && V();
724
792
  }).catch((a) => {
725
793
  console.log(a);
726
794
  });
727
795
  };
728
- Object.keys(re).forEach((a) => {
729
- ne(a, re[a]);
796
+ Object.keys(ne).forEach((a) => {
797
+ re(a, ne[a]);
730
798
  });
731
- const K = (a) => {
799
+ const q = (a) => {
732
800
  a.data && a.data.type == `TournamentStatus_${d}` && t(0, u = a.data.status);
733
801
  }, z = () => {
734
802
  const a = { month: "long" };
@@ -737,19 +805,19 @@ function Oe(i, e, t) {
737
805
  minute: "numeric",
738
806
  hour12: !1
739
807
  });
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 = () => {
808
+ const ge = () => n(u === "Unstarted" ? "startingAt" : "startedAt");
809
+ t(11, B = `${g} ` + n(`${l}`) + ", " + ge() + ` ${ce}`);
810
+ }, L = () => {
811
+ u == "Unstarted" && (t(12, N = n("scheduled")), t(14, C = "StatusUnstarted")), u == "Running" && (t(12, N = n("ongoing")), t(14, C = "StatusRunning")), (u == "Closed" || u == "Closing") && t(12, N = n("finished")), u == "Closed" && t(14, C = "StatusClosed"), u == "Closing" && t(14, C = "StatusClosing");
812
+ }, K = () => {
745
813
  if (!T || T.length <= 1) {
746
814
  t(13, U = T);
747
815
  return;
748
816
  }
749
- t(13, U = r(T.charAt(0).toLowerCase() + T.slice(1)));
750
- }, k = () => {
817
+ t(13, U = n(T.charAt(0).toLowerCase() + T.slice(1)));
818
+ }, p = () => {
751
819
  window.postMessage({ type: "tournamentGamesClicked", tourid: d }, window.location.href);
752
- }, y = () => {
820
+ }, k = () => {
753
821
  M && window.postMessage(
754
822
  {
755
823
  type: M,
@@ -759,56 +827,56 @@ function Oe(i, e, t) {
759
827
  window.location.href
760
828
  );
761
829
  };
762
- _e(() => (setTimeout(() => q(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", K, !1), () => {
763
- window.removeEventListener("message", K);
830
+ Ae(() => (setTimeout(() => V(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
831
+ window.removeEventListener("message", q);
764
832
  }));
765
- const q = () => {
766
- Ie(N), V(), B(), o && z();
833
+ const V = () => {
834
+ Ie(j), K(), L(), o && z();
767
835
  };
768
836
  function H(a) {
769
- Ae[a ? "unshift" : "push"](() => {
837
+ _e[a ? "unshift" : "push"](() => {
770
838
  S = a, t(10, S);
771
839
  });
772
840
  }
773
841
  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);
842
+ "userid" in a && t(21, r = 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, h = a.thumbnail), "userenrolled" in a && t(4, A = 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, j = 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);
775
843
  }, i.$$.update = () => {
776
844
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
777
845
  67109888 && D && S && Me(S, D), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
778
846
  134218752 && W && S && Je(S, W), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
779
847
  536871936 && x && S && Re(S, `${x}.Style`, F), i.$$.dirty[0] & /*translationurl*/
780
848
  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*/
849
+ 1 && u && L(), i.$$.dirty[0] & /*title, lang*/
850
+ 33554434 && s && j && V(), i.$$.dirty[0] & /*startdate*/
783
851
  4 && o && z(), i.$$.dirty[0] & /*scorecriteria*/
784
- 8388608 && T && V();
852
+ 8388608 && T && K();
785
853
  }, [
786
854
  u,
787
855
  s,
788
856
  o,
789
- f,
790
- _,
857
+ h,
858
+ A,
791
859
  E,
792
860
  Z,
793
861
  P,
794
862
  O,
795
863
  Q,
796
864
  S,
797
- L,
798
- j,
865
+ B,
866
+ N,
799
867
  U,
800
868
  C,
801
- r,
869
+ n,
802
870
  z,
803
- B,
804
- V,
871
+ L,
872
+ K,
873
+ p,
805
874
  k,
806
- y,
807
- n,
875
+ r,
808
876
  d,
809
877
  T,
810
878
  M,
811
- N,
879
+ j,
812
880
  D,
813
881
  W,
814
882
  I,
@@ -816,14 +884,14 @@ function Oe(i, e, t) {
816
884
  H
817
885
  ];
818
886
  }
819
- class We extends he {
887
+ class We extends fe {
820
888
  constructor(e) {
821
- super(), pe(
889
+ super(), ye(
822
890
  this,
823
891
  e,
824
892
  Oe,
825
- Ne,
826
- ke,
893
+ je,
894
+ pe,
827
895
  {
828
896
  userid: 21,
829
897
  title: 1,
@@ -853,118 +921,118 @@ class We extends he {
853
921
  return this.$$.ctx[21];
854
922
  }
855
923
  set userid(e) {
856
- this.$$set({ userid: e }), h();
924
+ this.$$set({ userid: e }), f();
857
925
  }
858
926
  get title() {
859
927
  return this.$$.ctx[1];
860
928
  }
861
929
  set title(e) {
862
- this.$$set({ title: e }), h();
930
+ this.$$set({ title: e }), f();
863
931
  }
864
932
  get startdate() {
865
933
  return this.$$.ctx[2];
866
934
  }
867
935
  set startdate(e) {
868
- this.$$set({ startdate: e }), h();
936
+ this.$$set({ startdate: e }), f();
869
937
  }
870
938
  get status() {
871
939
  return this.$$.ctx[0];
872
940
  }
873
941
  set status(e) {
874
- this.$$set({ status: e }), h();
942
+ this.$$set({ status: e }), f();
875
943
  }
876
944
  get tourid() {
877
945
  return this.$$.ctx[22];
878
946
  }
879
947
  set tourid(e) {
880
- this.$$set({ tourid: e }), h();
948
+ this.$$set({ tourid: e }), f();
881
949
  }
882
950
  get thumbnail() {
883
951
  return this.$$.ctx[3];
884
952
  }
885
953
  set thumbnail(e) {
886
- this.$$set({ thumbnail: e }), h();
954
+ this.$$set({ thumbnail: e }), f();
887
955
  }
888
956
  get userenrolled() {
889
957
  return this.$$.ctx[4];
890
958
  }
891
959
  set userenrolled(e) {
892
- this.$$set({ userenrolled: e }), h();
960
+ this.$$set({ userenrolled: e }), f();
893
961
  }
894
962
  get scorecriteria() {
895
963
  return this.$$.ctx[23];
896
964
  }
897
965
  set scorecriteria(e) {
898
- this.$$set({ scorecriteria: e }), h();
966
+ this.$$set({ scorecriteria: e }), f();
899
967
  }
900
968
  get minbetcount() {
901
969
  return this.$$.ctx[5];
902
970
  }
903
971
  set minbetcount(e) {
904
- this.$$set({ minbetcount: e }), h();
972
+ this.$$set({ minbetcount: e }), f();
905
973
  }
906
974
  get showenrolled() {
907
975
  return this.$$.ctx[6];
908
976
  }
909
977
  set showenrolled(e) {
910
- this.$$set({ showenrolled: e }), h();
978
+ this.$$set({ showenrolled: e }), f();
911
979
  }
912
980
  get detailsevent() {
913
981
  return this.$$.ctx[24];
914
982
  }
915
983
  set detailsevent(e) {
916
- this.$$set({ detailsevent: e }), h();
984
+ this.$$set({ detailsevent: e }), f();
917
985
  }
918
986
  get gameurl() {
919
987
  return this.$$.ctx[7];
920
988
  }
921
989
  set gameurl(e) {
922
- this.$$set({ gameurl: e }), h();
990
+ this.$$set({ gameurl: e }), f();
923
991
  }
924
992
  get lang() {
925
993
  return this.$$.ctx[25];
926
994
  }
927
995
  set lang(e) {
928
- this.$$set({ lang: e }), h();
996
+ this.$$set({ lang: e }), f();
929
997
  }
930
998
  get keepbrowsercontext() {
931
999
  return this.$$.ctx[8];
932
1000
  }
933
1001
  set keepbrowsercontext(e) {
934
- this.$$set({ keepbrowsercontext: e }), h();
1002
+ this.$$set({ keepbrowsercontext: e }), f();
935
1003
  }
936
1004
  get clientstyling() {
937
1005
  return this.$$.ctx[26];
938
1006
  }
939
1007
  set clientstyling(e) {
940
- this.$$set({ clientstyling: e }), h();
1008
+ this.$$set({ clientstyling: e }), f();
941
1009
  }
942
1010
  get clientstylingurl() {
943
1011
  return this.$$.ctx[27];
944
1012
  }
945
1013
  set clientstylingurl(e) {
946
- this.$$set({ clientstylingurl: e }), h();
1014
+ this.$$set({ clientstylingurl: e }), f();
947
1015
  }
948
1016
  get translationurl() {
949
1017
  return this.$$.ctx[28];
950
1018
  }
951
1019
  set translationurl(e) {
952
- this.$$set({ translationurl: e }), h();
1020
+ this.$$set({ translationurl: e }), f();
953
1021
  }
954
1022
  get mbsource() {
955
1023
  return this.$$.ctx[29];
956
1024
  }
957
1025
  set mbsource(e) {
958
- this.$$set({ mbsource: e }), h();
1026
+ this.$$set({ mbsource: e }), f();
959
1027
  }
960
1028
  get betcountmode() {
961
1029
  return this.$$.ctx[9];
962
1030
  }
963
1031
  set betcountmode(e) {
964
- this.$$set({ betcountmode: e }), h();
1032
+ this.$$set({ betcountmode: e }), f();
965
1033
  }
966
1034
  }
967
- ye(We, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, betcountmode: {} }, [], [], !0);
1035
+ ke(We, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, betcountmode: {} }, [], [], !0);
968
1036
  export {
969
1037
  We as default
970
1038
  };