@everymatrix/casino-tournaments-controller 1.65.3 → 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.
- package/components/{CasinoTournamentsController-D5WuyWR5.js → CasinoTournamentsController-2bTwgvFF.js} +1108 -1073
- package/components/{CasinoTournamentsController-BqtPbTCF.js → CasinoTournamentsController-BULZ_y4b.js} +1086 -1051
- package/components/CasinoTournamentsController-CYyTUNIz.cjs +27 -0
- package/components/{CasinoTournamentsFilterController-iJtFUHbr.js → CasinoTournamentsFilterController-CoqpuR3P.js} +22 -22
- package/components/{CasinoTournamentsFilterController-C8KINbHT.js → CasinoTournamentsFilterController-DXDkdo0S.js} +20 -20
- package/components/{CasinoTournamentsFilterController-BHAEQOd-.cjs → CasinoTournamentsFilterController-DjLEXDTC.cjs} +1 -1
- package/components/{CasinoTournamentsListController-VhJRLGrQ.js → CasinoTournamentsListController-DT6zQNpY.js} +21 -21
- package/components/{CasinoTournamentsListController-D9AjMde_.cjs → CasinoTournamentsListController-DWgmnfOc.cjs} +2 -2
- package/components/{CasinoTournamentsListController-CLSwE5Ko.js → CasinoTournamentsListController-DuHpRjLq.js} +21 -21
- package/components/CasinoTournamentsThumbnail-BWfbNcYT.cjs +4 -0
- package/components/{CasinoTournamentsThumbnail-BseI49tT.js → CasinoTournamentsThumbnail-CueG5cos.js} +151 -145
- package/components/{CasinoTournamentsThumbnail-LA9eZp_n.js → CasinoTournamentsThumbnail-lBi843NX.js} +151 -145
- package/components/{CasinoTournamentsThumbnailController-DZnio2-j.js → CasinoTournamentsThumbnailController-CBp3ylH6.js} +53 -53
- package/components/{CasinoTournamentsThumbnailController-Dp0UbMlr.cjs → CasinoTournamentsThumbnailController-CE8cLaj5.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-BUOBWKpw.js → CasinoTournamentsThumbnailController-eBnrMpwv.js} +54 -54
- package/components/{CasinoTournamentsThumbnailDuration-De90M1p_.js → CasinoTournamentsThumbnailDuration-B87YJ1nA.js} +47 -47
- package/components/{CasinoTournamentsThumbnailDuration-CPRiFFgS.js → CasinoTournamentsThumbnailDuration-CEChJpk4.js} +53 -53
- package/components/{CasinoTournamentsThumbnailDuration-ix_K9Cd2.cjs → CasinoTournamentsThumbnailDuration-DYI4yj5n.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Dufhtb8e.js → CasinoTournamentsThumbnailGamesSlider-DODIM4Fk.js} +42 -42
- package/components/{CasinoTournamentsThumbnailGamesSlider-D3FmfzBC.cjs → CasinoTournamentsThumbnailGamesSlider-DWAgOpLA.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-B3e7RQer.js → CasinoTournamentsThumbnailGamesSlider-LtmE1Ho2.js} +26 -26
- package/components/{CasinoTournamentsThumbnailPrizes-BpUrdxUo.cjs → CasinoTournamentsThumbnailPrizes-BpQPVoHy.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-q-ytqAmk.js → CasinoTournamentsThumbnailPrizes-CWqeOB0q.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-D_MTDTds.js → CasinoTournamentsThumbnailPrizes-DBsFGpAH.js} +15 -15
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-ChRvzjAp.js → index-97d17652-BEnqZAxL.js} +186 -186
- package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
- package/stencil/{index-97d17652-DKsTmN3Z.js → index-97d17652-WK_DbPS4.js} +175 -175
- package/stencil/index-b2193545-BOMvxBzV.js +519 -0
- package/stencil/index-b2193545-CFn9dM-v.js +503 -0
- package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
- package/stencil/{ui-image-ClXqMGwp.js → ui-image-3hy4ZvUC.js} +1 -1
- package/stencil/{ui-image-YphrYZtA.js → ui-image-D0wxuPze.js} +1 -1
- package/stencil/{ui-image-Db5QCSmt.cjs → ui-image-DE8MJHCZ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-B43lELFk.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CRQDt62Z.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-DVcK_myk.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
- package/stencil/{ui-image_2-Df0q0jE8.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-EP2dwjfi.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-CyHaM9Na.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-bf7NJcVF.js → ui-skeleton-1cb75d00-B-R8GbLJ.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-nmwFu55Y.cjs → ui-skeleton-1cb75d00-BTnhspbc.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-U47XWOV2.js → ui-skeleton-1cb75d00-Dy30RNE6.js} +1 -1
- package/stencil/{ui-skeleton-DSlZCsjK.js → ui-skeleton-CVBjRUvi.js} +2 -2
- package/stencil/{ui-skeleton-P9Vv-0Vy.js → ui-skeleton-RkXNxPG1.js} +2 -2
- package/stencil/{ui-skeleton-DXCQ8Yoq.cjs → ui-skeleton-se83zfWh.cjs} +1 -1
- package/components/CasinoTournamentsController-C-f6mCWc.cjs +0 -27
- package/components/CasinoTournamentsThumbnail-Dg7Uris0.cjs +0 -4
- package/stencil/index-97d17652-qWThG1U9.cjs +0 -1
- package/stencil/index-b2193545-C1ayEiG4.js +0 -503
- package/stencil/index-b2193545-CyidmLE0.cjs +0 -1
- package/stencil/index-b2193545-s3PsNboB.js +0 -519
package/components/{CasinoTournamentsThumbnail-LA9eZp_n.js → CasinoTournamentsThumbnail-lBi843NX.js}
RENAMED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
import "../stencil/ui-image-
|
|
4
|
-
function
|
|
5
|
-
|
|
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, g as m, c as _, o as g, e as y, p as I, j as Se, w as Ce, m as D, t as w, q as _e, B, x as Ae, C as Te, r as ve, D as V, y as L, E as Me, v as we, $ as Re } from "./CasinoTournamentsController-2bTwgvFF.js";
|
|
2
|
+
import "../stencil/ui-skeleton-CVBjRUvi.js";
|
|
3
|
+
import "../stencil/ui-image-3hy4ZvUC.js";
|
|
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
|
|
8
|
-
|
|
12
|
+
function De(i) {
|
|
13
|
+
H.set(i);
|
|
9
14
|
}
|
|
10
|
-
const
|
|
15
|
+
const X = {
|
|
11
16
|
en: {
|
|
12
17
|
enrolled: "Enrolled",
|
|
13
18
|
scoreCriteria: "Score Criteria",
|
|
@@ -339,76 +344,76 @@ const Q = {
|
|
|
339
344
|
December: "December"
|
|
340
345
|
}
|
|
341
346
|
};
|
|
342
|
-
function
|
|
343
|
-
ye(i, "svelte-
|
|
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
|
|
350
|
+
function $(i) {
|
|
346
351
|
let e, t, n;
|
|
347
352
|
return {
|
|
348
353
|
c() {
|
|
349
354
|
e = y("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = I(), 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");
|
|
350
355
|
},
|
|
351
356
|
m(a, s) {
|
|
352
|
-
|
|
357
|
+
_(a, e, s), _(a, t, s), _(a, n, s);
|
|
353
358
|
},
|
|
354
359
|
d(a) {
|
|
355
|
-
a && (
|
|
360
|
+
a && (C(e), C(t), C(n));
|
|
356
361
|
}
|
|
357
362
|
};
|
|
358
363
|
}
|
|
359
|
-
function
|
|
364
|
+
function ee(i) {
|
|
360
365
|
let e, t, n, a, s, u, d, l, c = (
|
|
361
366
|
/*status*/
|
|
362
|
-
i[0] &&
|
|
367
|
+
i[0] && te(i)
|
|
363
368
|
), h = (
|
|
364
369
|
/*showenrolled*/
|
|
365
|
-
i[7] == "true" &&
|
|
370
|
+
i[7] == "true" && ie(i)
|
|
366
371
|
);
|
|
367
372
|
function z(o, b) {
|
|
368
373
|
return (
|
|
369
374
|
/*thumbnail*/
|
|
370
|
-
o[4] ?
|
|
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] &&
|
|
380
|
+
i[2] && ne(i)
|
|
376
381
|
), f = (
|
|
377
382
|
/*isLoggedIn*/
|
|
378
|
-
i[12] &&
|
|
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 =
|
|
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");
|
|
386
391
|
},
|
|
387
392
|
m(o, b) {
|
|
388
|
-
c && c.m(o, b),
|
|
393
|
+
c && c.m(o, b), _(o, e, b), h && h.m(o, b), _(o, t, b), T.m(o, b), _(o, n, b), _(o, a, b), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), f && f.m(a, null);
|
|
389
394
|
},
|
|
390
395
|
p(o, b) {
|
|
391
396
|
/*status*/
|
|
392
|
-
o[0] ? c ? c.p(o, b) : (c =
|
|
393
|
-
o[7] == "true" ? h ? h.p(o, b) : (h =
|
|
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 =
|
|
400
|
-
o[12] ? f ? f.p(o, b) : (f =
|
|
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
|
-
o && (
|
|
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
|
|
412
|
+
function te(i) {
|
|
408
413
|
let e, t, n, a, s, u;
|
|
409
414
|
return {
|
|
410
415
|
c() {
|
|
411
|
-
e = y("div"), t =
|
|
416
|
+
e = y("div"), t = w(
|
|
412
417
|
/*shownStatus*/
|
|
413
418
|
i[13]
|
|
414
419
|
), m(e, "class", n = "Status " + /*statusClass*/
|
|
@@ -416,7 +421,7 @@ function ee(i) {
|
|
|
416
421
|
i[15]);
|
|
417
422
|
},
|
|
418
423
|
m(d, l) {
|
|
419
|
-
|
|
424
|
+
_(d, e, l), g(e, t), s || (u = B(
|
|
420
425
|
/*matchStatus*/
|
|
421
426
|
i[18].call(null, e)
|
|
422
427
|
), s = !0);
|
|
@@ -434,42 +439,42 @@ function ee(i) {
|
|
|
434
439
|
d[15]) && m(e, "part", a);
|
|
435
440
|
},
|
|
436
441
|
d(d) {
|
|
437
|
-
d &&
|
|
442
|
+
d && C(e), s = !1, u();
|
|
438
443
|
}
|
|
439
444
|
};
|
|
440
445
|
}
|
|
441
|
-
function
|
|
446
|
+
function ie(i) {
|
|
442
447
|
let e, t = (
|
|
443
448
|
/*userenrolled*/
|
|
444
|
-
i[5] &&
|
|
449
|
+
i[5] && ae(i)
|
|
445
450
|
);
|
|
446
451
|
return {
|
|
447
452
|
c() {
|
|
448
|
-
t && t.c(), e =
|
|
453
|
+
t && t.c(), e = Ae();
|
|
449
454
|
},
|
|
450
455
|
m(n, a) {
|
|
451
|
-
t && t.m(n, a),
|
|
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 =
|
|
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
|
-
n &&
|
|
463
|
+
n && C(e), t && t.d(n);
|
|
459
464
|
}
|
|
460
465
|
};
|
|
461
466
|
}
|
|
462
|
-
function
|
|
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 =
|
|
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);
|
|
473
478
|
},
|
|
474
479
|
p(a, s) {
|
|
475
480
|
s[0] & /*$_*/
|
|
@@ -477,22 +482,22 @@ function ie(i) {
|
|
|
477
482
|
a[16]("enrolled") + "") && D(n, t);
|
|
478
483
|
},
|
|
479
484
|
d(a) {
|
|
480
|
-
a &&
|
|
485
|
+
a && C(e);
|
|
481
486
|
}
|
|
482
487
|
};
|
|
483
488
|
}
|
|
484
|
-
function
|
|
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"),
|
|
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*/
|
|
492
497
|
i[0] == "Closed" ? "CardImgFinished" : ""));
|
|
493
498
|
},
|
|
494
499
|
m(l, c) {
|
|
495
|
-
|
|
500
|
+
_(l, e, c), g(e, t), u || (d = B(
|
|
496
501
|
/*matchStatus*/
|
|
497
502
|
i[18].call(null, e)
|
|
498
503
|
), u = !0);
|
|
@@ -507,31 +512,31 @@ function De(i) {
|
|
|
507
512
|
l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
|
|
508
513
|
},
|
|
509
514
|
d(l) {
|
|
510
|
-
l &&
|
|
515
|
+
l && C(e), u = !1, d();
|
|
511
516
|
}
|
|
512
517
|
};
|
|
513
518
|
}
|
|
514
|
-
function
|
|
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"),
|
|
519
|
-
i[4]) ||
|
|
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*/
|
|
523
528
|
i[0] == "Closed" ? "CardImgFinished" : ""));
|
|
524
529
|
},
|
|
525
530
|
m(l, c) {
|
|
526
|
-
|
|
531
|
+
_(l, e, c), g(e, t), u || (d = B(
|
|
527
532
|
/*matchStatus*/
|
|
528
533
|
i[18].call(null, e)
|
|
529
534
|
), u = !0);
|
|
530
535
|
},
|
|
531
536
|
p(l, c) {
|
|
532
537
|
c[0] & /*thumbnail*/
|
|
533
|
-
16 && !
|
|
534
|
-
l[4]) &&
|
|
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*/
|
|
@@ -540,21 +545,21 @@ function Ie(i) {
|
|
|
540
545
|
l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
|
|
541
546
|
},
|
|
542
547
|
d(l) {
|
|
543
|
-
l &&
|
|
548
|
+
l && C(e), u = !1, d();
|
|
544
549
|
}
|
|
545
550
|
};
|
|
546
551
|
}
|
|
547
|
-
function
|
|
552
|
+
function ne(i) {
|
|
548
553
|
let e, t, n, a, s;
|
|
549
554
|
return {
|
|
550
555
|
c() {
|
|
551
|
-
e = y("div"), t =
|
|
556
|
+
e = y("div"), t = w(
|
|
552
557
|
/*shownDate*/
|
|
553
558
|
i[11]
|
|
554
559
|
), m(e, "class", "Date"), m(e, "part", "Date");
|
|
555
560
|
},
|
|
556
561
|
m(u, d) {
|
|
557
|
-
|
|
562
|
+
_(u, e, d), g(e, t), a || (s = B(n = /*formatDate*/
|
|
558
563
|
i[17].call(
|
|
559
564
|
null,
|
|
560
565
|
e,
|
|
@@ -568,7 +573,7 @@ function ae(i) {
|
|
|
568
573
|
t,
|
|
569
574
|
/*shownDate*/
|
|
570
575
|
u[11]
|
|
571
|
-
), n &&
|
|
576
|
+
), n && Me(n.update) && d[0] & /*startdate*/
|
|
572
577
|
4 && n.update.call(
|
|
573
578
|
null,
|
|
574
579
|
/*startdate*/
|
|
@@ -576,11 +581,11 @@ function ae(i) {
|
|
|
576
581
|
);
|
|
577
582
|
},
|
|
578
583
|
d(u) {
|
|
579
|
-
u &&
|
|
584
|
+
u && C(e), a = !1, s();
|
|
580
585
|
}
|
|
581
586
|
};
|
|
582
587
|
}
|
|
583
|
-
function
|
|
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,
|
|
598
|
+
), j, x, v, R = (
|
|
594
599
|
/*$_*/
|
|
595
600
|
i[16]("here") + ""
|
|
596
|
-
),
|
|
601
|
+
), O, F, N, W;
|
|
597
602
|
return {
|
|
598
603
|
c() {
|
|
599
|
-
e = y("div"), t = y("p"), a =
|
|
604
|
+
e = y("div"), t = y("p"), a = w(n), s = w(`:
|
|
600
605
|
|
|
601
|
-
`), u = y("span"), d =
|
|
606
|
+
`), u = y("span"), d = w(
|
|
602
607
|
/*showScoreCriteria*/
|
|
603
608
|
i[14]
|
|
604
|
-
), l =
|
|
605
|
-
(`), h =
|
|
609
|
+
), l = w(`
|
|
610
|
+
(`), h = w(c), z = I(), A = w(
|
|
606
611
|
/*minbetcount*/
|
|
607
612
|
i[6]
|
|
608
|
-
), T =
|
|
609
|
-
|
|
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(
|
|
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,
|
|
617
|
-
|
|
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
|
-
|
|
623
|
-
|
|
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,
|
|
631
|
-
|
|
635
|
+
p(k, M) {
|
|
636
|
+
M[0] & /*$_*/
|
|
632
637
|
65536 && n !== (n = /*$_*/
|
|
633
|
-
k[16]("scoreCriteria") + "") && D(a, n),
|
|
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
|
-
),
|
|
643
|
+
), M[0] & /*$_*/
|
|
639
644
|
65536 && c !== (c = /*$_*/
|
|
640
|
-
k[16]("minbet") + "") && D(h, c),
|
|
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
|
-
),
|
|
650
|
+
), M[0] & /*$_*/
|
|
646
651
|
65536 && b !== (b = /*$_*/
|
|
647
|
-
k[16]("seegames") + "") && D(j, b),
|
|
648
|
-
65536 &&
|
|
649
|
-
k[16]("here") + "") && D(
|
|
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
|
-
|
|
656
|
+
v,
|
|
652
657
|
"href",
|
|
653
658
|
/*gameurl*/
|
|
654
659
|
k[8]
|
|
655
|
-
),
|
|
660
|
+
), M[0] & /*keepbrowsercontext*/
|
|
656
661
|
512 && F !== (F = /*keepbrowsercontext*/
|
|
657
|
-
k[9] === "true" ? "_self" : "_blank") && m(
|
|
662
|
+
k[9] === "true" ? "_self" : "_blank") && m(v, "target", F);
|
|
658
663
|
},
|
|
659
664
|
d(k) {
|
|
660
|
-
k && (
|
|
665
|
+
k && (C(e), C(p), C(f)), N = !1, Te(W);
|
|
661
666
|
}
|
|
662
667
|
};
|
|
663
668
|
}
|
|
664
|
-
function
|
|
669
|
+
function je(i) {
|
|
665
670
|
let e, t, n, a = (
|
|
666
671
|
/*title*/
|
|
667
|
-
i[1] === "undefined" &&
|
|
672
|
+
i[1] === "undefined" && $()
|
|
668
673
|
), s = (
|
|
669
674
|
/*title*/
|
|
670
|
-
i[1] !== "undefined" &&
|
|
675
|
+
i[1] !== "undefined" && ee(i)
|
|
671
676
|
);
|
|
672
677
|
return {
|
|
673
678
|
c() {
|
|
@@ -675,66 +680,67 @@ function Fe(i) {
|
|
|
675
680
|
i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
|
|
676
681
|
},
|
|
677
682
|
m(u, d) {
|
|
678
|
-
|
|
683
|
+
_(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
|
|
679
684
|
},
|
|
680
685
|
p(u, d) {
|
|
681
686
|
/*title*/
|
|
682
|
-
u[1] === "undefined" ? a || (a =
|
|
683
|
-
u[1] !== "undefined" ? s ? s.p(u, d) : (s =
|
|
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:
|
|
688
|
-
o:
|
|
692
|
+
i: Z,
|
|
693
|
+
o: Z,
|
|
689
694
|
d(u) {
|
|
690
|
-
u &&
|
|
695
|
+
u && C(e), a && a.d(), s && s.d(), i[29](null);
|
|
691
696
|
}
|
|
692
697
|
};
|
|
693
698
|
}
|
|
694
|
-
function
|
|
699
|
+
function Ne(i, e, t) {
|
|
695
700
|
let n;
|
|
696
|
-
Se(i,
|
|
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:
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
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(
|
|
708
|
-
|
|
713
|
+
Object.keys(X).forEach((r) => {
|
|
714
|
+
Q(r, X[r]);
|
|
709
715
|
});
|
|
710
|
-
const
|
|
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
|
|
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
|
|
720
|
-
t(11,
|
|
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
|
-
},
|
|
726
|
-
window.postMessage({ type: "tournamentGamesClicked", tourId:
|
|
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
|
-
|
|
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 =
|
|
734
|
-
|
|
735
|
-
|
|
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
|
-
|
|
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
|
-
Ce(() => (setTimeout(() =>
|
|
748
|
-
window.removeEventListener("message",
|
|
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
|
|
751
|
-
|
|
752
|
-
},
|
|
753
|
-
function
|
|
754
|
-
|
|
755
|
-
|
|
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,
|
|
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 &&
|
|
763
|
-
67109888 &&
|
|
764
|
-
134217728 &&
|
|
765
|
-
2097152 && a &&
|
|
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 &&
|
|
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
|
-
|
|
782
|
-
|
|
787
|
+
R,
|
|
788
|
+
O,
|
|
783
789
|
F,
|
|
784
790
|
N,
|
|
785
791
|
W,
|
|
@@ -788,25 +794,25 @@ function ze(i, e, t) {
|
|
|
788
794
|
P,
|
|
789
795
|
U,
|
|
790
796
|
G,
|
|
791
|
-
|
|
797
|
+
Y,
|
|
792
798
|
a,
|
|
793
799
|
s,
|
|
794
800
|
A,
|
|
795
801
|
o,
|
|
796
802
|
j,
|
|
797
803
|
x,
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
804
|
+
v,
|
|
805
|
+
ue,
|
|
806
|
+
me
|
|
801
807
|
];
|
|
802
808
|
}
|
|
803
|
-
class
|
|
809
|
+
class We extends he {
|
|
804
810
|
constructor(e) {
|
|
805
|
-
super(),
|
|
811
|
+
super(), pe(
|
|
806
812
|
this,
|
|
807
813
|
e,
|
|
808
|
-
|
|
809
|
-
|
|
814
|
+
Ne,
|
|
815
|
+
je,
|
|
810
816
|
ke,
|
|
811
817
|
{
|
|
812
818
|
session: 21,
|
|
@@ -827,7 +833,7 @@ class je extends be {
|
|
|
827
833
|
clientstylingurl: 26,
|
|
828
834
|
translationurl: 27
|
|
829
835
|
},
|
|
830
|
-
|
|
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
|
-
|
|
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
|
-
|
|
945
|
+
We as default
|
|
940
946
|
};
|