@everymatrix/casino-tournaments-controller 1.54.4 → 1.54.8
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.
- package/components/{CasinoTournamentsController-B6mh3T8V.js → CasinoTournamentsController-D3kqTQoy.js} +442 -450
- package/components/CasinoTournamentsController-DeYJxMsf.js +5639 -0
- package/components/CasinoTournamentsController-Y02EoFCS.cjs +14 -0
- package/components/{CasinoTournamentsFilterController-crq752J3.js → CasinoTournamentsFilterController-Bi4mtrGz.js} +20 -20
- package/components/CasinoTournamentsFilterController-Pk2Wa5yj.js +536 -0
- package/components/CasinoTournamentsFilterController-fOgvqafN.cjs +1 -0
- package/components/{CasinoTournamentsListController-BHaCpLNs.js → CasinoTournamentsListController-BLr2UHB9.js} +21 -21
- package/components/CasinoTournamentsListController-Bkpb3QRw.cjs +13 -0
- package/components/CasinoTournamentsListController-CPTUlGJx.js +3117 -0
- package/components/{CasinoTournamentsThumbnail-BpY5tzvh.js → CasinoTournamentsThumbnail-8YRhmoBw.js} +36 -36
- package/components/CasinoTournamentsThumbnail-L4q_bfod.js +896 -0
- package/components/CasinoTournamentsThumbnail-bO_BSouL.cjs +4 -0
- package/components/{CasinoTournamentsThumbnailController-CmauHmt0.js → CasinoTournamentsThumbnailController-BWFh-Hhd.js} +73 -73
- package/components/CasinoTournamentsThumbnailController-CuHFVK14.cjs +1 -0
- package/components/CasinoTournamentsThumbnailController-Dr72UUqk.js +1417 -0
- package/components/CasinoTournamentsThumbnailDuration-BC5szfDe.cjs +1 -0
- package/components/CasinoTournamentsThumbnailDuration-CLfidISH.js +504 -0
- package/components/{CasinoTournamentsThumbnailDuration-Bl9YXTWz.js → CasinoTournamentsThumbnailDuration-CpyA1Eo1.js} +40 -40
- package/components/CasinoTournamentsThumbnailGamesSlider-BaWB-VH_.js +441 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-DRGprCzj.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailGamesSlider-7LdDhi2Q.js → CasinoTournamentsThumbnailGamesSlider-DhPlpDeb.js} +37 -37
- package/components/CasinoTournamentsThumbnailPrizes-BteGHS2o.js +315 -0
- package/components/CasinoTournamentsThumbnailPrizes-DeYHCkas.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailPrizes-nDu0SMUv.js → CasinoTournamentsThumbnailPrizes-wp2hG8Ny.js} +15 -15
- package/es2015/casino-tournaments-controller.cjs +1 -0
- package/es2015/casino-tournaments-controller.js +16 -0
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
package/components/{CasinoTournamentsThumbnail-BpY5tzvh.js → CasinoTournamentsThumbnail-8YRhmoBw.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as me, z as de, S as ce, i as ge,
|
|
1
|
+
import { a as me, z as de, S as ce, i as ge, s as be, f as S, b as fe, n as q, d as F, o as D, e as z, p as c, g as M, q as O, t as v, h as u, k as he, w as pe, A as L, x as ye, B as ke, u as Se, r as Ce, C as K, D as Ae, c as _e, $ as Te } from "./CasinoTournamentsController-D3kqTQoy.js";
|
|
2
2
|
function Y(i, e) {
|
|
3
3
|
me(i, e);
|
|
4
4
|
}
|
|
@@ -338,7 +338,7 @@ const Z = {
|
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
function ve(i) {
|
|
341
|
-
|
|
341
|
+
fe(i, "svelte-1gxooas", ':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"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.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}.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}');
|
|
342
342
|
}
|
|
343
343
|
function Q(i) {
|
|
344
344
|
let e, t, r, s, l, n;
|
|
@@ -352,7 +352,7 @@ function Q(i) {
|
|
|
352
352
|
i[15]);
|
|
353
353
|
},
|
|
354
354
|
m(o, b) {
|
|
355
|
-
|
|
355
|
+
z(o, e, b), c(e, t), l || (n = L(
|
|
356
356
|
/*matchStatus*/
|
|
357
357
|
i[18].call(null, e)
|
|
358
358
|
), l = !0);
|
|
@@ -370,7 +370,7 @@ function Q(i) {
|
|
|
370
370
|
o[15]) && u(e, "part", s);
|
|
371
371
|
},
|
|
372
372
|
d(o) {
|
|
373
|
-
o &&
|
|
373
|
+
o && F(e), l = !1, n();
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
}
|
|
@@ -381,17 +381,17 @@ function X(i) {
|
|
|
381
381
|
);
|
|
382
382
|
return {
|
|
383
383
|
c() {
|
|
384
|
-
t && t.c(), e =
|
|
384
|
+
t && t.c(), e = ye();
|
|
385
385
|
},
|
|
386
386
|
m(r, s) {
|
|
387
|
-
t && t.m(r, s),
|
|
387
|
+
t && t.m(r, s), z(r, e, s);
|
|
388
388
|
},
|
|
389
389
|
p(r, s) {
|
|
390
390
|
/*userenrolled*/
|
|
391
391
|
r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
392
392
|
},
|
|
393
393
|
d(r) {
|
|
394
|
-
r &&
|
|
394
|
+
r && F(e), t && t.d(r);
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
}
|
|
@@ -405,7 +405,7 @@ function $(i) {
|
|
|
405
405
|
e = M("div"), r = v(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
|
|
406
406
|
},
|
|
407
407
|
m(s, l) {
|
|
408
|
-
|
|
408
|
+
z(s, e, l), c(e, r);
|
|
409
409
|
},
|
|
410
410
|
p(s, l) {
|
|
411
411
|
l[0] & /*$_*/
|
|
@@ -413,7 +413,7 @@ function $(i) {
|
|
|
413
413
|
s[16]("enrolled") + "") && D(r, t);
|
|
414
414
|
},
|
|
415
415
|
d(s) {
|
|
416
|
-
s &&
|
|
416
|
+
s && F(e);
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
}
|
|
@@ -428,7 +428,7 @@ function we(i) {
|
|
|
428
428
|
i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
|
|
429
429
|
},
|
|
430
430
|
m(n, o) {
|
|
431
|
-
|
|
431
|
+
z(n, e, o), s || (l = L(
|
|
432
432
|
/*matchStatus*/
|
|
433
433
|
i[18].call(null, e)
|
|
434
434
|
), s = !0);
|
|
@@ -443,7 +443,7 @@ function we(i) {
|
|
|
443
443
|
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
|
|
444
444
|
},
|
|
445
445
|
d(n) {
|
|
446
|
-
n &&
|
|
446
|
+
n && F(e), s = !1, l();
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
}
|
|
@@ -459,7 +459,7 @@ function Re(i) {
|
|
|
459
459
|
i[4] + "')");
|
|
460
460
|
},
|
|
461
461
|
m(n, o) {
|
|
462
|
-
|
|
462
|
+
z(n, e, o), s || (l = L(
|
|
463
463
|
/*matchStatus*/
|
|
464
464
|
i[18].call(null, e)
|
|
465
465
|
), s = !0);
|
|
@@ -476,7 +476,7 @@ function Re(i) {
|
|
|
476
476
|
n[4] + "')");
|
|
477
477
|
},
|
|
478
478
|
d(n) {
|
|
479
|
-
n &&
|
|
479
|
+
n && F(e), s = !1, l();
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
482
|
}
|
|
@@ -490,7 +490,7 @@ function ee(i) {
|
|
|
490
490
|
), u(e, "class", "Date"), u(e, "part", "Date");
|
|
491
491
|
},
|
|
492
492
|
m(n, o) {
|
|
493
|
-
|
|
493
|
+
z(n, e, o), c(e, t), s || (l = L(r = /*formatDate*/
|
|
494
494
|
i[17].call(
|
|
495
495
|
null,
|
|
496
496
|
e,
|
|
@@ -504,7 +504,7 @@ function ee(i) {
|
|
|
504
504
|
t,
|
|
505
505
|
/*shownDate*/
|
|
506
506
|
n[11]
|
|
507
|
-
), r &&
|
|
507
|
+
), r && Ae(r.update) && o[0] & /*startdate*/
|
|
508
508
|
4 && r.update.call(
|
|
509
509
|
null,
|
|
510
510
|
/*startdate*/
|
|
@@ -512,7 +512,7 @@ function ee(i) {
|
|
|
512
512
|
);
|
|
513
513
|
},
|
|
514
514
|
d(n) {
|
|
515
|
-
n &&
|
|
515
|
+
n && F(e), s = !1, l();
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
}
|
|
@@ -529,7 +529,7 @@ function te(i) {
|
|
|
529
529
|
), y, E, _, R = (
|
|
530
530
|
/*$_*/
|
|
531
531
|
i[16]("here") + ""
|
|
532
|
-
), B,
|
|
532
|
+
), B, I, j, N;
|
|
533
533
|
return {
|
|
534
534
|
c() {
|
|
535
535
|
e = M("div"), t = M("p"), s = v(r), l = v(`:
|
|
@@ -546,22 +546,22 @@ function te(i) {
|
|
|
546
546
|
"href",
|
|
547
547
|
/*gameurl*/
|
|
548
548
|
i[8]
|
|
549
|
-
), u(_, "target",
|
|
549
|
+
), u(_, "target", I = /*keepbrowsercontext*/
|
|
550
550
|
i[9] === "true" ? "_self" : "_blank"), u(d, "part", "GamesP"), u(g, "class", "Games"), u(g, "part", "Games");
|
|
551
551
|
},
|
|
552
552
|
m(p, T) {
|
|
553
|
-
|
|
553
|
+
z(p, e, T), c(e, t), c(t, s), c(t, l), c(t, n), c(n, o), c(t, b), c(t, f), c(t, h), c(t, A), c(t, J), z(p, k, T), z(p, g, T), c(g, d), c(d, y), c(d, E), c(d, _), c(_, B), j || (N = [
|
|
554
554
|
L(
|
|
555
555
|
/*matchScoreCriteria*/
|
|
556
556
|
i[19].call(null, n)
|
|
557
557
|
),
|
|
558
|
-
|
|
558
|
+
Se(
|
|
559
559
|
_,
|
|
560
560
|
"click",
|
|
561
561
|
/*click_handler*/
|
|
562
562
|
i[28]
|
|
563
563
|
)
|
|
564
|
-
],
|
|
564
|
+
], j = !0);
|
|
565
565
|
},
|
|
566
566
|
p(p, T) {
|
|
567
567
|
T[0] & /*$_*/
|
|
@@ -589,11 +589,11 @@ function te(i) {
|
|
|
589
589
|
/*gameurl*/
|
|
590
590
|
p[8]
|
|
591
591
|
), T[0] & /*keepbrowsercontext*/
|
|
592
|
-
512 &&
|
|
593
|
-
p[9] === "true" ? "_self" : "_blank") && u(_, "target",
|
|
592
|
+
512 && I !== (I = /*keepbrowsercontext*/
|
|
593
|
+
p[9] === "true" ? "_self" : "_blank") && u(_, "target", I);
|
|
594
594
|
},
|
|
595
595
|
d(p) {
|
|
596
|
-
p && (
|
|
596
|
+
p && (F(e), F(k), F(g)), j = !1, ke(N);
|
|
597
597
|
}
|
|
598
598
|
};
|
|
599
599
|
}
|
|
@@ -626,7 +626,7 @@ function Je(i) {
|
|
|
626
626
|
), b = O(), g && g.c(), w = O(), d && d.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(l, "class", "Details"), u(l, "part", "Details"), u(e, "class", "Thumbnail"), u(e, "part", "Thumbnail");
|
|
627
627
|
},
|
|
628
628
|
m(m, y) {
|
|
629
|
-
|
|
629
|
+
z(m, e, y), f && f.m(e, null), c(e, t), h && h.m(e, null), c(e, r), k.m(e, null), c(e, s), c(e, l), c(l, n), c(n, o), c(l, b), g && g.m(l, null), c(l, w), d && d.m(l, null), i[29](e);
|
|
630
630
|
},
|
|
631
631
|
p(m, y) {
|
|
632
632
|
/*status*/
|
|
@@ -643,14 +643,14 @@ function Je(i) {
|
|
|
643
643
|
i: q,
|
|
644
644
|
o: q,
|
|
645
645
|
d(m) {
|
|
646
|
-
m &&
|
|
646
|
+
m && F(e), f && f.d(), h && h.d(), k.d(), g && g.d(), d && d.d(), i[29](null);
|
|
647
647
|
}
|
|
648
648
|
};
|
|
649
649
|
}
|
|
650
650
|
function De(i, e, t) {
|
|
651
651
|
let r;
|
|
652
|
-
|
|
653
|
-
let { session: s = "" } = e, { userid: l = "" } = e, { title: n = "" } = e, { startdate: o = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: k = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: y = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, B = "",
|
|
652
|
+
he(i, Te, (a) => t(16, r = a));
|
|
653
|
+
let { session: s = "" } = e, { userid: l = "" } = e, { title: n = "" } = e, { startdate: o = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: k = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: y = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, B = "", I = !1, j = "", N = "", p = "";
|
|
654
654
|
const T = () => {
|
|
655
655
|
fetch(_).then((C) => C.json()).then((C) => {
|
|
656
656
|
Object.keys(C).forEach((W) => {
|
|
@@ -664,7 +664,7 @@ function De(i, e, t) {
|
|
|
664
664
|
Y(a, Z[a]);
|
|
665
665
|
});
|
|
666
666
|
const U = (a) => {
|
|
667
|
-
a.data && (a.data && a.data.type == "SessionID" && t(12,
|
|
667
|
+
a.data && (a.data && a.data.type == "SessionID" && t(12, I = !0), a.data.type == `TournamentStatus_${w}` && t(0, b = a.data.status));
|
|
668
668
|
}, P = () => {
|
|
669
669
|
const a = { month: "long" };
|
|
670
670
|
let C = new Date(o), W = new Intl.DateTimeFormat("en", a).format(C), oe = C.getDate(), le = C.toLocaleString("en-GB", {
|
|
@@ -675,13 +675,13 @@ function De(i, e, t) {
|
|
|
675
675
|
const ue = () => r(b === "Running" ? "startedAt" : "startingAt");
|
|
676
676
|
t(11, B = `${oe} ` + r(`${W}`) + ", " + ue() + ` ${le}`);
|
|
677
677
|
}, x = () => {
|
|
678
|
-
b == "Unstarted" && (t(13,
|
|
678
|
+
b == "Unstarted" && (t(13, j = r("scheduled")), t(15, p = "StatusUnstarted")), b == "Running" && (t(13, j = r("ongoing")), t(15, p = "StatusRunning")), (b == "Closed" || b == "Closing") && t(13, j = r("finished")), b == "Closed" && t(15, p = "StatusClosed"), b == "Closing" && t(15, p = "StatusClosing");
|
|
679
679
|
}, G = () => {
|
|
680
680
|
A == "BetCount" && t(14, N = r("betCount")), A == "MaxWinStakeRatio" && t(14, N = r("maxWinStakeRatio")), A == "WinStakeRatio" && t(14, N = r("winStakeRatio")), A == "Stake" && t(14, N = r("stake"));
|
|
681
681
|
}, V = (a, C) => {
|
|
682
682
|
window.postMessage({ type: "tournamentGamesClicked", tourId: C }, window.location.href);
|
|
683
683
|
}, ie = () => {
|
|
684
|
-
s.length > 0 && s != "false" ? t(12,
|
|
684
|
+
s.length > 0 && s != "false" ? t(12, I = !0) : t(12, I = !1);
|
|
685
685
|
}, ae = () => {
|
|
686
686
|
let a = document.createElement("style");
|
|
687
687
|
a.innerHTML = y, R.appendChild(a);
|
|
@@ -700,14 +700,14 @@ function De(i, e, t) {
|
|
|
700
700
|
);
|
|
701
701
|
});
|
|
702
702
|
};
|
|
703
|
-
|
|
703
|
+
pe(() => (setTimeout(() => H(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
|
|
704
704
|
window.removeEventListener("message", U);
|
|
705
705
|
}));
|
|
706
706
|
const H = () => {
|
|
707
707
|
Me(d), G(), x(), o && P();
|
|
708
708
|
}, ne = () => V();
|
|
709
709
|
function se(a) {
|
|
710
|
-
|
|
710
|
+
Ce[a ? "unshift" : "push"](() => {
|
|
711
711
|
R = a, t(10, R);
|
|
712
712
|
});
|
|
713
713
|
}
|
|
@@ -736,8 +736,8 @@ function De(i, e, t) {
|
|
|
736
736
|
m,
|
|
737
737
|
R,
|
|
738
738
|
B,
|
|
739
|
-
j,
|
|
740
739
|
I,
|
|
740
|
+
j,
|
|
741
741
|
N,
|
|
742
742
|
p,
|
|
743
743
|
r,
|
|
@@ -763,7 +763,7 @@ class Fe extends ce {
|
|
|
763
763
|
e,
|
|
764
764
|
De,
|
|
765
765
|
Je,
|
|
766
|
-
|
|
766
|
+
be,
|
|
767
767
|
{
|
|
768
768
|
session: 21,
|
|
769
769
|
userid: 22,
|
|
@@ -890,7 +890,7 @@ class Fe extends ce {
|
|
|
890
890
|
this.$$set({ translationurl: e }), S();
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
|
|
893
|
+
_e(Fe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
894
894
|
export {
|
|
895
895
|
Fe as default
|
|
896
896
|
};
|