@everymatrix/casino-tournaments-controller 1.65.2 → 1.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/{CasinoTournamentsController-BXeJ6peR.js → CasinoTournamentsController-2bTwgvFF.js} +7 -7
  2. package/components/{CasinoTournamentsController-B0OzPCku.js → CasinoTournamentsController-BULZ_y4b.js} +7 -7
  3. package/components/{CasinoTournamentsController-BWrEQTp7.cjs → CasinoTournamentsController-CYyTUNIz.cjs} +1 -1
  4. package/components/{CasinoTournamentsFilterController-Cqy5NLeZ.js → CasinoTournamentsFilterController-CoqpuR3P.js} +1 -1
  5. package/components/{CasinoTournamentsFilterController-CRbcIdR8.js → CasinoTournamentsFilterController-DXDkdo0S.js} +1 -1
  6. package/components/{CasinoTournamentsFilterController-CwPoNf3E.cjs → CasinoTournamentsFilterController-DjLEXDTC.cjs} +1 -1
  7. package/components/{CasinoTournamentsListController-DSmX3w4z.js → CasinoTournamentsListController-DT6zQNpY.js} +2 -2
  8. package/components/{CasinoTournamentsListController-F1noSUOm.cjs → CasinoTournamentsListController-DWgmnfOc.cjs} +2 -2
  9. package/components/{CasinoTournamentsListController-BWO5gGZc.js → CasinoTournamentsListController-DuHpRjLq.js} +2 -2
  10. package/components/CasinoTournamentsThumbnail-BWfbNcYT.cjs +4 -0
  11. package/components/{CasinoTournamentsThumbnail-CtmmnGnQ.js → CasinoTournamentsThumbnail-CueG5cos.js} +132 -126
  12. package/components/{CasinoTournamentsThumbnail-DozFqlDO.js → CasinoTournamentsThumbnail-lBi843NX.js} +132 -126
  13. package/components/{CasinoTournamentsThumbnailController-DGnfCZVH.js → CasinoTournamentsThumbnailController-CBp3ylH6.js} +5 -5
  14. package/components/{CasinoTournamentsThumbnailController-BoCcPw0R.cjs → CasinoTournamentsThumbnailController-CE8cLaj5.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-CBplV0eU.js → CasinoTournamentsThumbnailController-eBnrMpwv.js} +5 -5
  16. package/components/{CasinoTournamentsThumbnailDuration-Bxwt9SDq.js → CasinoTournamentsThumbnailDuration-B87YJ1nA.js} +11 -11
  17. package/components/{CasinoTournamentsThumbnailDuration-CsDvrHv5.js → CasinoTournamentsThumbnailDuration-CEChJpk4.js} +11 -11
  18. package/components/{CasinoTournamentsThumbnailDuration-CVw8hY88.cjs → CasinoTournamentsThumbnailDuration-DYI4yj5n.cjs} +1 -1
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-DT65cqlv.js → CasinoTournamentsThumbnailGamesSlider-DODIM4Fk.js} +21 -21
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-DZw8vFWh.cjs → CasinoTournamentsThumbnailGamesSlider-DWAgOpLA.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-CGTo4T10.js → CasinoTournamentsThumbnailGamesSlider-LtmE1Ho2.js} +21 -21
  22. package/components/{CasinoTournamentsThumbnailPrizes-DY5e6Uyd.cjs → CasinoTournamentsThumbnailPrizes-BpQPVoHy.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-Bsqu7QI0.js → CasinoTournamentsThumbnailPrizes-CWqeOB0q.js} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-KvarqmH6.js → CasinoTournamentsThumbnailPrizes-DBsFGpAH.js} +1 -1
  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/components/CasinoTournamentsThumbnail-Bsp-5WN-.cjs +0 -4
@@ -1,13 +1,18 @@
1
- import { a as ge, z as fe, S as be, i as he, s as pe, f as S, b as ke, n as Y, d as C, h as m, e as _, p as g, g as y, q as I, k as ye, w as Se, o as D, t as R, r as Ce, A as B, x as _e, B as Ae, u as Te, C as K, y as E, D as ve, c as Me, $ as we } from "./CasinoTournamentsController-B0OzPCku.js";
1
+ import { z as H, A as fe, a as be, S as he, i as pe, s as ke, f as S, b as ye, n as Z, d as C, h as m, e as _, p as g, g as y, q as I, k as Se, w as Ce, o as D, t as w, r as _e, B, x as Ae, C as Te, u as ve, D as V, y as L, E as Me, c as we, $ as Re } from "./CasinoTournamentsController-BULZ_y4b.js";
2
2
  import "../stencil/ui-skeleton-RkXNxPG1.js";
3
3
  import "../stencil/ui-image-D0wxuPze.js";
4
- function Z(i, e) {
5
- ge(i, e);
4
+ function Je({ withLocale: i, translations: e }) {
5
+ H.subscribe((t) => {
6
+ t == null && (fe.set(e), H.set(i));
7
+ });
8
+ }
9
+ function Q(i, e) {
10
+ be(i, e);
6
11
  }
7
- function Re(i) {
8
- fe.set(i);
12
+ function De(i) {
13
+ H.set(i);
9
14
  }
10
- const Q = {
15
+ const X = {
11
16
  en: {
12
17
  enrolled: "Enrolled",
13
18
  scoreCriteria: "Score Criteria",
@@ -339,10 +344,10 @@ const Q = {
339
344
  December: "December"
340
345
  }
341
346
  };
342
- function Je(i) {
343
- ke(i, "svelte-1ymu8a4", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
347
+ function Ie(i) {
348
+ ye(i, "svelte-1bncdcr", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
344
349
  }
345
- function X(i) {
350
+ function $(i) {
346
351
  let e, t, n;
347
352
  return {
348
353
  c() {
@@ -356,30 +361,30 @@ function X(i) {
356
361
  }
357
362
  };
358
363
  }
359
- function $(i) {
364
+ function ee(i) {
360
365
  let e, t, n, a, s, u, d, l, c = (
361
366
  /*status*/
362
- i[0] && ee(i)
367
+ i[0] && te(i)
363
368
  ), h = (
364
369
  /*showenrolled*/
365
- i[7] == "true" && te(i)
370
+ i[7] == "true" && ie(i)
366
371
  );
367
372
  function z(o, b) {
368
373
  return (
369
374
  /*thumbnail*/
370
- o[4] ? Ie : De
375
+ o[4] ? ze : Fe
371
376
  );
372
377
  }
373
378
  let A = z(i), T = A(i), p = (
374
379
  /*startdate*/
375
- i[2] && ae(i)
380
+ i[2] && ne(i)
376
381
  ), f = (
377
382
  /*isLoggedIn*/
378
- i[12] && ne(i)
383
+ i[12] && re(i)
379
384
  );
380
385
  return {
381
386
  c() {
382
- c && c.c(), e = I(), h && h.c(), t = I(), T.c(), n = I(), a = y("div"), s = y("div"), u = R(
387
+ c && c.c(), e = I(), h && h.c(), t = I(), T.c(), n = I(), a = y("div"), s = y("div"), u = w(
383
388
  /*title*/
384
389
  i[1]
385
390
  ), d = I(), p && p.c(), l = I(), f && f.c(), m(s, "class", "Title"), m(s, "part", "Title"), m(a, "class", "Details"), m(a, "part", "Details");
@@ -389,26 +394,26 @@ function $(i) {
389
394
  },
390
395
  p(o, b) {
391
396
  /*status*/
392
- o[0] ? c ? c.p(o, b) : (c = ee(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*showenrolled*/
393
- o[7] == "true" ? h ? h.p(o, b) : (h = te(o), h.c(), h.m(t.parentNode, t)) : h && (h.d(1), h = null), A === (A = z(o)) && T ? T.p(o, b) : (T.d(1), T = A(o), T && (T.c(), T.m(n.parentNode, n))), b[0] & /*title*/
397
+ o[0] ? c ? c.p(o, b) : (c = te(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*showenrolled*/
398
+ o[7] == "true" ? h ? h.p(o, b) : (h = ie(o), h.c(), h.m(t.parentNode, t)) : h && (h.d(1), h = null), A === (A = z(o)) && T ? T.p(o, b) : (T.d(1), T = A(o), T && (T.c(), T.m(n.parentNode, n))), b[0] & /*title*/
394
399
  2 && D(
395
400
  u,
396
401
  /*title*/
397
402
  o[1]
398
403
  ), /*startdate*/
399
- o[2] ? p ? p.p(o, b) : (p = ae(o), p.c(), p.m(a, l)) : p && (p.d(1), p = null), /*isLoggedIn*/
400
- o[12] ? f ? f.p(o, b) : (f = ne(o), f.c(), f.m(a, null)) : f && (f.d(1), f = null);
404
+ o[2] ? p ? p.p(o, b) : (p = ne(o), p.c(), p.m(a, l)) : p && (p.d(1), p = null), /*isLoggedIn*/
405
+ o[12] ? f ? f.p(o, b) : (f = re(o), f.c(), f.m(a, null)) : f && (f.d(1), f = null);
401
406
  },
402
407
  d(o) {
403
408
  o && (C(e), C(t), C(n), C(a)), c && c.d(o), h && h.d(o), T.d(o), p && p.d(), f && f.d();
404
409
  }
405
410
  };
406
411
  }
407
- function ee(i) {
412
+ function te(i) {
408
413
  let e, t, n, a, s, u;
409
414
  return {
410
415
  c() {
411
- e = y("div"), t = R(
416
+ e = y("div"), t = w(
412
417
  /*shownStatus*/
413
418
  i[13]
414
419
  ), m(e, "class", n = "Status " + /*statusClass*/
@@ -438,35 +443,35 @@ function ee(i) {
438
443
  }
439
444
  };
440
445
  }
441
- function te(i) {
446
+ function ie(i) {
442
447
  let e, t = (
443
448
  /*userenrolled*/
444
- i[5] && ie(i)
449
+ i[5] && ae(i)
445
450
  );
446
451
  return {
447
452
  c() {
448
- t && t.c(), e = _e();
453
+ t && t.c(), e = Ae();
449
454
  },
450
455
  m(n, a) {
451
456
  t && t.m(n, a), _(n, e, a);
452
457
  },
453
458
  p(n, a) {
454
459
  /*userenrolled*/
455
- n[5] ? t ? t.p(n, a) : (t = ie(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
460
+ n[5] ? t ? t.p(n, a) : (t = ae(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
456
461
  },
457
462
  d(n) {
458
463
  n && C(e), t && t.d(n);
459
464
  }
460
465
  };
461
466
  }
462
- function ie(i) {
467
+ function ae(i) {
463
468
  let e, t = (
464
469
  /*$_*/
465
470
  i[16]("enrolled") + ""
466
471
  ), n;
467
472
  return {
468
473
  c() {
469
- e = y("div"), n = R(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
474
+ e = y("div"), n = w(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
470
475
  },
471
476
  m(a, s) {
472
477
  _(a, e, s), g(e, n);
@@ -481,11 +486,11 @@ function ie(i) {
481
486
  }
482
487
  };
483
488
  }
484
- function De(i) {
489
+ function Fe(i) {
485
490
  let e, t, n, a, s, u, d;
486
491
  return {
487
492
  c() {
488
- e = y("div"), t = y("ui-image"), K(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || E(t, "src", n), E(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
493
+ e = y("div"), t = y("ui-image"), V(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || L(t, "src", n), L(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
489
494
  (i[0] == "Closing" || /*status*/
490
495
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
491
496
  (i[0] == "Closing" || /*status*/
@@ -511,12 +516,12 @@ function De(i) {
511
516
  }
512
517
  };
513
518
  }
514
- function Ie(i) {
519
+ function ze(i) {
515
520
  let e, t, n, a, s, u, d;
516
521
  return {
517
522
  c() {
518
- e = y("div"), t = y("ui-image"), E(t, "class", "UIImage"), K(t.src, n = /*thumbnail*/
519
- i[4]) || E(t, "src", n), E(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
523
+ e = y("div"), t = y("ui-image"), L(t, "class", "UIImage"), V(t.src, n = /*thumbnail*/
524
+ i[4]) || L(t, "src", n), L(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
520
525
  (i[0] == "Closing" || /*status*/
521
526
  i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
522
527
  (i[0] == "Closing" || /*status*/
@@ -530,8 +535,8 @@ function Ie(i) {
530
535
  },
531
536
  p(l, c) {
532
537
  c[0] & /*thumbnail*/
533
- 16 && !K(t.src, n = /*thumbnail*/
534
- l[4]) && E(t, "src", n), c[0] & /*status*/
538
+ 16 && !V(t.src, n = /*thumbnail*/
539
+ l[4]) && L(t, "src", n), c[0] & /*status*/
535
540
  1 && a !== (a = "CardImg " + /*status*/
536
541
  (l[0] == "Closing" || /*status*/
537
542
  l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", a), c[0] & /*status*/
@@ -544,11 +549,11 @@ function Ie(i) {
544
549
  }
545
550
  };
546
551
  }
547
- function ae(i) {
552
+ function ne(i) {
548
553
  let e, t, n, a, s;
549
554
  return {
550
555
  c() {
551
- e = y("div"), t = R(
556
+ e = y("div"), t = w(
552
557
  /*shownDate*/
553
558
  i[11]
554
559
  ), m(e, "class", "Date"), m(e, "part", "Date");
@@ -568,7 +573,7 @@ function ae(i) {
568
573
  t,
569
574
  /*shownDate*/
570
575
  u[11]
571
- ), n && ve(n.update) && d[0] & /*startdate*/
576
+ ), n && Me(n.update) && d[0] & /*startdate*/
572
577
  4 && n.update.call(
573
578
  null,
574
579
  /*startdate*/
@@ -580,7 +585,7 @@ function ae(i) {
580
585
  }
581
586
  };
582
587
  }
583
- function ne(i) {
588
+ function re(i) {
584
589
  let e, t, n = (
585
590
  /*$_*/
586
591
  i[16]("scoreCriteria") + ""
@@ -590,84 +595,84 @@ function ne(i) {
590
595
  ), h, z, A, T, p, f, o, b = (
591
596
  /*$_*/
592
597
  i[16]("seegames") + ""
593
- ), j, x, M, J = (
598
+ ), j, x, v, R = (
594
599
  /*$_*/
595
600
  i[16]("here") + ""
596
- ), L, F, N, W;
601
+ ), O, F, N, W;
597
602
  return {
598
603
  c() {
599
- e = y("div"), t = y("p"), a = R(n), s = R(`:
604
+ e = y("div"), t = y("p"), a = w(n), s = w(`:
600
605
 
601
- `), u = y("span"), d = R(
606
+ `), u = y("span"), d = w(
602
607
  /*showScoreCriteria*/
603
608
  i[14]
604
- ), l = R(`
605
- (`), h = R(c), z = I(), A = R(
609
+ ), l = w(`
610
+ (`), h = w(c), z = I(), A = w(
606
611
  /*minbetcount*/
607
612
  i[6]
608
- ), T = R(")"), p = I(), f = y("div"), o = y("p"), j = R(b), x = I(), M = y("a"), L = R(J), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
609
- M,
613
+ ), T = w(")"), p = I(), f = y("div"), o = y("p"), j = w(b), x = I(), v = y("a"), O = w(R), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(v, "part", "GamesAnchor"), m(
614
+ v,
610
615
  "href",
611
616
  /*gameurl*/
612
617
  i[8]
613
- ), m(M, "target", F = /*keepbrowsercontext*/
618
+ ), m(v, "target", F = /*keepbrowsercontext*/
614
619
  i[9] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(f, "class", "Games"), m(f, "part", "Games");
615
620
  },
616
- m(k, w) {
617
- _(k, e, w), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, z), g(t, A), g(t, T), _(k, p, w), _(k, f, w), g(f, o), g(o, j), g(o, x), g(o, M), g(M, L), N || (W = [
621
+ m(k, M) {
622
+ _(k, e, M), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, z), g(t, A), g(t, T), _(k, p, M), _(k, f, M), g(f, o), g(o, j), g(o, x), g(o, v), g(v, O), N || (W = [
618
623
  B(
619
624
  /*matchScoreCriteria*/
620
625
  i[19].call(null, u)
621
626
  ),
622
- Te(
623
- M,
627
+ ve(
628
+ v,
624
629
  "click",
625
630
  /*click_handler*/
626
631
  i[28]
627
632
  )
628
633
  ], N = !0);
629
634
  },
630
- p(k, w) {
631
- w[0] & /*$_*/
635
+ p(k, M) {
636
+ M[0] & /*$_*/
632
637
  65536 && n !== (n = /*$_*/
633
- k[16]("scoreCriteria") + "") && D(a, n), w[0] & /*showScoreCriteria*/
638
+ k[16]("scoreCriteria") + "") && D(a, n), M[0] & /*showScoreCriteria*/
634
639
  16384 && D(
635
640
  d,
636
641
  /*showScoreCriteria*/
637
642
  k[14]
638
- ), w[0] & /*$_*/
643
+ ), M[0] & /*$_*/
639
644
  65536 && c !== (c = /*$_*/
640
- k[16]("minbet") + "") && D(h, c), w[0] & /*minbetcount*/
645
+ k[16]("minbet") + "") && D(h, c), M[0] & /*minbetcount*/
641
646
  64 && D(
642
647
  A,
643
648
  /*minbetcount*/
644
649
  k[6]
645
- ), w[0] & /*$_*/
650
+ ), M[0] & /*$_*/
646
651
  65536 && b !== (b = /*$_*/
647
- k[16]("seegames") + "") && D(j, b), w[0] & /*$_*/
648
- 65536 && J !== (J = /*$_*/
649
- k[16]("here") + "") && D(L, J), w[0] & /*gameurl*/
652
+ k[16]("seegames") + "") && D(j, b), M[0] & /*$_*/
653
+ 65536 && R !== (R = /*$_*/
654
+ k[16]("here") + "") && D(O, R), M[0] & /*gameurl*/
650
655
  256 && m(
651
- M,
656
+ v,
652
657
  "href",
653
658
  /*gameurl*/
654
659
  k[8]
655
- ), w[0] & /*keepbrowsercontext*/
660
+ ), M[0] & /*keepbrowsercontext*/
656
661
  512 && F !== (F = /*keepbrowsercontext*/
657
- k[9] === "true" ? "_self" : "_blank") && m(M, "target", F);
662
+ k[9] === "true" ? "_self" : "_blank") && m(v, "target", F);
658
663
  },
659
664
  d(k) {
660
- k && (C(e), C(p), C(f)), N = !1, Ae(W);
665
+ k && (C(e), C(p), C(f)), N = !1, Te(W);
661
666
  }
662
667
  };
663
668
  }
664
- function Fe(i) {
669
+ function je(i) {
665
670
  let e, t, n, a = (
666
671
  /*title*/
667
- i[1] === "undefined" && X()
672
+ i[1] === "undefined" && $()
668
673
  ), s = (
669
674
  /*title*/
670
- i[1] !== "undefined" && $(i)
675
+ i[1] !== "undefined" && ee(i)
671
676
  );
672
677
  return {
673
678
  c() {
@@ -679,62 +684,63 @@ function Fe(i) {
679
684
  },
680
685
  p(u, d) {
681
686
  /*title*/
682
- u[1] === "undefined" ? a || (a = X(), a.c(), a.m(e, t)) : a && (a.d(1), a = null), /*title*/
683
- u[1] !== "undefined" ? s ? s.p(u, d) : (s = $(u), s.c(), s.m(e, null)) : s && (s.d(1), s = null), d[0] & /*title*/
687
+ u[1] === "undefined" ? a || (a = $(), a.c(), a.m(e, t)) : a && (a.d(1), a = null), /*title*/
688
+ u[1] !== "undefined" ? s ? s.p(u, d) : (s = ee(u), s.c(), s.m(e, null)) : s && (s.d(1), s = null), d[0] & /*title*/
684
689
  2 && n !== (n = `Thumbnail ${/*title*/
685
690
  u[1] === "undefined" ? "Loading" : ""}`) && m(e, "class", n);
686
691
  },
687
- i: Y,
688
- o: Y,
692
+ i: Z,
693
+ o: Z,
689
694
  d(u) {
690
695
  u && C(e), a && a.d(), s && s.d(), i[29](null);
691
696
  }
692
697
  };
693
698
  }
694
- function ze(i, e, t) {
699
+ function Ne(i, e, t) {
695
700
  let n;
696
- ye(i, we, (r) => t(16, n = r));
697
- let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: z = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: T = "" } = e, { showenrolled: p = "false" } = e, { gameurl: f = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: b = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { translationurl: M = "" } = e, J, L = "", F = !1, N = "", W = "", k = "";
698
- const w = () => {
699
- fetch(M).then((v) => v.json()).then((v) => {
700
- Object.keys(v).forEach((O) => {
701
- Z(O, v[O]);
702
- });
703
- }).catch((v) => {
704
- console.log(v);
701
+ Se(i, Re, (r) => t(16, n = r));
702
+ let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: z = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: T = "" } = e, { showenrolled: p = "false" } = e, { gameurl: f = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: b = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { translationurl: v = "" } = e, R, O = "", F = !1, N = "", W = "", k = "";
703
+ Je({ withLocale: "en", translations: {} });
704
+ const M = () => {
705
+ fetch(v).then((r) => r.json()).then((r) => {
706
+ Object.keys(r).forEach((J) => {
707
+ Q(J, r[J]);
708
+ }), d && K();
709
+ }).catch((r) => {
710
+ console.log(r);
705
711
  });
706
712
  };
707
- Object.keys(Q).forEach((r) => {
708
- Z(r, Q[r]);
713
+ Object.keys(X).forEach((r) => {
714
+ Q(r, X[r]);
709
715
  });
710
- const H = (r) => {
716
+ const q = (r) => {
711
717
  r.data && (r.data && r.data.type == "SessionID" && t(12, F = !0), r.data.type == `TournamentStatus_${c}` && t(0, l = r.data.status));
712
718
  }, P = () => {
713
719
  const r = { month: "long" };
714
- let v = new Date(d), O = new Intl.DateTimeFormat("en", r).format(v), me = v.getDate(), de = v.toLocaleString("en-GB", {
720
+ let J = new Date(d), E = new Intl.DateTimeFormat("en", r).format(J), de = J.getDate(), ce = J.toLocaleString("en-GB", {
715
721
  hour: "numeric",
716
722
  minute: "numeric",
717
723
  hour12: !1
718
724
  });
719
- const ce = () => n(l === "Running" ? "startedAt" : "startingAt");
720
- t(11, L = `${me} ` + n(`${O}`) + ", " + ce() + ` ${de}`);
725
+ const ge = () => n(l === "Running" ? "startedAt" : "startingAt");
726
+ t(11, O = `${de} ` + n(`${E}`) + ", " + ge() + ` ${ce}`);
721
727
  }, U = () => {
722
728
  l == "Unstarted" && (t(13, N = n("scheduled")), t(15, k = "StatusUnstarted")), l == "Running" && (t(13, N = n("ongoing")), t(15, k = "StatusRunning")), (l == "Closed" || l == "Closing") && t(13, N = n("finished")), l == "Closed" && t(15, k = "StatusClosed"), l == "Closing" && t(15, k = "StatusClosing");
723
729
  }, G = () => {
724
730
  A == "BetCount" && t(14, W = n("betCount")), A == "MaxWinStakeRatio" && t(14, W = n("maxWinStakeRatio")), A == "WinStakeRatio" && t(14, W = n("winStakeRatio")), A == "Stake" && t(14, W = n("stake"));
725
- }, V = (r, v) => {
726
- window.postMessage({ type: "tournamentGamesClicked", tourId: v }, window.location.href);
727
- }, re = () => {
728
- a.length > 0 && a != "false" ? t(12, F = !0) : t(12, F = !1);
731
+ }, Y = (r, J) => {
732
+ window.postMessage({ type: "tournamentGamesClicked", tourId: J }, window.location.href);
729
733
  }, se = () => {
730
- let r = document.createElement("style");
731
- r.innerHTML = j, J.appendChild(r);
734
+ a.length > 0 && a != "false" ? t(12, F = !0) : t(12, F = !1);
732
735
  }, le = () => {
733
- let r = new URL(x), v = document.createElement("style");
734
- fetch(r.href).then((O) => O.text()).then((O) => {
735
- v.innerHTML = O, setTimeout(
736
+ let r = document.createElement("style");
737
+ r.innerHTML = j, R.appendChild(r);
738
+ }, oe = () => {
739
+ let r = new URL(x), J = document.createElement("style");
740
+ fetch(r.href).then((E) => E.text()).then((E) => {
741
+ J.innerHTML = E, setTimeout(
736
742
  () => {
737
- J.appendChild(v);
743
+ R.appendChild(J);
738
744
  },
739
745
  1
740
746
  ), setTimeout(
@@ -744,27 +750,27 @@ function ze(i, e, t) {
744
750
  );
745
751
  });
746
752
  };
747
- Se(() => (setTimeout(() => q(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", H, !1), () => {
748
- window.removeEventListener("message", H);
753
+ Ce(() => (setTimeout(() => K(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
754
+ window.removeEventListener("message", q);
749
755
  }));
750
- const q = () => {
751
- Re(o), G(), U(), d && P();
752
- }, oe = () => V();
753
- function ue(r) {
754
- Ce[r ? "unshift" : "push"](() => {
755
- J = r, t(10, J);
756
+ const K = () => {
757
+ De(o), G(), U(), d && P();
758
+ }, ue = () => Y();
759
+ function me(r) {
760
+ _e[r ? "unshift" : "push"](() => {
761
+ R = r, t(10, R);
756
762
  });
757
763
  }
758
764
  return i.$$set = (r) => {
759
- "session" in r && t(21, a = r.session), "userid" in r && t(22, s = r.userid), "title" in r && t(1, u = r.title), "startdate" in r && t(2, d = r.startdate), "status" in r && t(0, l = r.status), "tourid" in r && t(3, c = r.tourid), "thumbnail" in r && t(4, h = r.thumbnail), "userenrolled" in r && t(5, z = r.userenrolled), "scorecriteria" in r && t(23, A = r.scorecriteria), "minbetcount" in r && t(6, T = r.minbetcount), "showenrolled" in r && t(7, p = r.showenrolled), "gameurl" in r && t(8, f = r.gameurl), "lang" in r && t(24, o = r.lang), "keepbrowsercontext" in r && t(9, b = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, x = r.clientstylingurl), "translationurl" in r && t(27, M = r.translationurl);
765
+ "session" in r && t(21, a = r.session), "userid" in r && t(22, s = r.userid), "title" in r && t(1, u = r.title), "startdate" in r && t(2, d = r.startdate), "status" in r && t(0, l = r.status), "tourid" in r && t(3, c = r.tourid), "thumbnail" in r && t(4, h = r.thumbnail), "userenrolled" in r && t(5, z = r.userenrolled), "scorecriteria" in r && t(23, A = r.scorecriteria), "minbetcount" in r && t(6, T = r.minbetcount), "showenrolled" in r && t(7, p = r.showenrolled), "gameurl" in r && t(8, f = r.gameurl), "lang" in r && t(24, o = r.lang), "keepbrowsercontext" in r && t(9, b = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, x = r.clientstylingurl), "translationurl" in r && t(27, v = r.translationurl);
760
766
  }, i.$$.update = () => {
761
767
  i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
762
- 33555456 && J && j && se(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
763
- 67109888 && J && x && le(), i.$$.dirty[0] & /*translationurl*/
764
- 134217728 && M && w(), i.$$.dirty[0] & /*session*/
765
- 2097152 && a && re(), i.$$.dirty[0] & /*status*/
768
+ 33555456 && R && j && le(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
769
+ 67109888 && R && x && oe(), i.$$.dirty[0] & /*translationurl*/
770
+ 134217728 && v && M(), i.$$.dirty[0] & /*session*/
771
+ 2097152 && a && se(), i.$$.dirty[0] & /*status*/
766
772
  1 && l && U(), i.$$.dirty[0] & /*title, lang*/
767
- 16777218 && u && o && q(), i.$$.dirty[0] & /*startdate*/
773
+ 16777218 && u && o && K(), i.$$.dirty[0] & /*startdate*/
768
774
  4 && d && P(), i.$$.dirty[0] & /*scorecriteria*/
769
775
  8388608 && A && G();
770
776
  }, [
@@ -778,8 +784,8 @@ function ze(i, e, t) {
778
784
  p,
779
785
  f,
780
786
  b,
781
- J,
782
- L,
787
+ R,
788
+ O,
783
789
  F,
784
790
  N,
785
791
  W,
@@ -788,26 +794,26 @@ function ze(i, e, t) {
788
794
  P,
789
795
  U,
790
796
  G,
791
- V,
797
+ Y,
792
798
  a,
793
799
  s,
794
800
  A,
795
801
  o,
796
802
  j,
797
803
  x,
798
- M,
799
- oe,
800
- ue
804
+ v,
805
+ ue,
806
+ me
801
807
  ];
802
808
  }
803
- class je extends be {
809
+ class We extends he {
804
810
  constructor(e) {
805
- super(), he(
811
+ super(), pe(
806
812
  this,
807
813
  e,
808
- ze,
809
- Fe,
810
- pe,
814
+ Ne,
815
+ je,
816
+ ke,
811
817
  {
812
818
  session: 21,
813
819
  userid: 22,
@@ -827,7 +833,7 @@ class je extends be {
827
833
  clientstylingurl: 26,
828
834
  translationurl: 27
829
835
  },
830
- Je,
836
+ Ie,
831
837
  [-1, -1]
832
838
  );
833
839
  }
@@ -934,7 +940,7 @@ class je extends be {
934
940
  this.$$set({ translationurl: e }), S();
935
941
  }
936
942
  }
937
- Me(je, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
943
+ we(We, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
938
944
  export {
939
- je as default
945
+ We as default
940
946
  };