@everymatrix/casino-tournaments-page-controller 1.45.0 → 1.45.2
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/{CasinoTournamentsDetails-i29jA8rz.js → CasinoTournamentsDetails-CTbLTCNq.js} +199 -203
- package/components/CasinoTournamentsDetails-CdFtnk8v.cjs +1 -0
- package/components/CasinoTournamentsPageController-BX5_-OUG.cjs +25 -0
- package/components/{CasinoTournamentsPageController-ccenf33p.js → CasinoTournamentsPageController-By8Qf6Sl.js} +2109 -2131
- package/components/CasinoTournamentsRank-BPHA2JPF.js +271 -0
- package/components/CasinoTournamentsRank-Ccr8Z0om.cjs +1 -0
- package/components/CasinoTournamentsTab-CmF1j5XE.js +281 -0
- package/components/CasinoTournamentsTab-DXUCFgtb.cjs +1 -0
- package/components/CasinoTournamentsTable-8HJDxcSe.cjs +1 -0
- package/components/CasinoTournamentsTable-DL6KVTDX.js +1671 -0
- package/components/CasinoTournamentsThumbnail--BxjqzmL.cjs +4 -0
- package/components/{CasinoTournamentsThumbnail-DeSrN8lz.js → CasinoTournamentsThumbnail-NcOyz0gt.js} +192 -192
- package/components/CasinoTournamentsThumbnailController-B3YbDJuf.cjs +1 -0
- package/components/CasinoTournamentsThumbnailController-pROl7BE2.js +1406 -0
- package/components/CasinoTournamentsThumbnailDuration-Icm0PzJz.js +496 -0
- package/components/CasinoTournamentsThumbnailDuration-_PXBJwAk.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-C4oebmHa.js +439 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-DOXcgDnK.cjs +1 -0
- package/components/CasinoTournamentsThumbnailPrizes-Dgkbf6BO.cjs +1 -0
- package/components/CasinoTournamentsThumbnailPrizes-Oy21zp8B.js +311 -0
- package/components/{CasinoTournamentsThumbnailRule-BgZe_JWI.cjs → CasinoTournamentsThumbnailRule-BMRBfYRJ.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailRule-B_eRZkOt.js → CasinoTournamentsThumbnailRule-BqQsSnWS.js} +199 -199
- package/es2015/casino-tournaments-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-page-controller.js +1 -1
- package/package.json +2 -2
- package/components/CasinoTournamentsDetails-CpUZgR90.cjs +0 -1
- package/components/CasinoTournamentsPageController-DQ45sNO3.cjs +0 -25
- package/components/CasinoTournamentsRank-D0dnyjxl.cjs +0 -1
- package/components/CasinoTournamentsRank-DCsenD0C.js +0 -271
- package/components/CasinoTournamentsTab-CFqMNyyL.cjs +0 -1
- package/components/CasinoTournamentsTab-DY421_qt.js +0 -283
- package/components/CasinoTournamentsTable-CMFlsTqb.cjs +0 -1
- package/components/CasinoTournamentsTable-QzFroNHV.js +0 -1671
- package/components/CasinoTournamentsThumbnail-XJuOILgc.cjs +0 -4
- package/components/CasinoTournamentsThumbnailController-DyNwJHm-.js +0 -1406
- package/components/CasinoTournamentsThumbnailController-dcrtzpP3.cjs +0 -1
- package/components/CasinoTournamentsThumbnailDuration-BVjz4efB.js +0 -496
- package/components/CasinoTournamentsThumbnailDuration-Dp9sLahL.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-BxG-LO0T.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-GmLhEgpL.js +0 -439
- package/components/CasinoTournamentsThumbnailPrizes-BADuIugn.js +0 -311
- package/components/CasinoTournamentsThumbnailPrizes-Cq3GMug5.cjs +0 -1
package/components/{CasinoTournamentsThumbnail-DeSrN8lz.js → CasinoTournamentsThumbnail-NcOyz0gt.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { S as me, b as de, f as
|
|
2
|
-
import { a as
|
|
1
|
+
import { S as me, b as de, f as C, c as ce, a as ge, d as be, l as v, e as W, t as M, m as u, h as j, p as c, q as D, n as q, j as z, k as fe, o as he, B, g as pe, i as ke, v as ye, r as Ce, A as Se, C as K } from "./CasinoTournamentsDetails-CTbLTCNq.js";
|
|
2
|
+
import { a as Ae, b as _e, $ as Te } from "./CasinoTournamentsPageController-By8Qf6Sl.js";
|
|
3
3
|
function Y(i, e) {
|
|
4
|
-
|
|
4
|
+
Ae(i, e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
6
|
+
function ve(i) {
|
|
7
|
+
_e.set(i);
|
|
8
8
|
}
|
|
9
9
|
const Z = {
|
|
10
10
|
en: {
|
|
@@ -308,39 +308,39 @@ const Z = {
|
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
function Me(i) {
|
|
311
|
-
|
|
311
|
+
be(i, "svelte-u7ryj4", ':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(--emfe-w-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(--emfe-w-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(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-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}');
|
|
312
312
|
}
|
|
313
313
|
function Q(i) {
|
|
314
|
-
let e, t,
|
|
314
|
+
let e, t, r, s, o, n;
|
|
315
315
|
return {
|
|
316
316
|
c() {
|
|
317
|
-
e =
|
|
317
|
+
e = v("div"), t = M(
|
|
318
318
|
/*shownStatus*/
|
|
319
319
|
i[13]
|
|
320
|
-
),
|
|
321
|
-
i[15]
|
|
320
|
+
), u(e, "class", r = "Status " + /*statusClass*/
|
|
321
|
+
i[15]), u(e, "part", s = "Status " + /*statusClass*/
|
|
322
322
|
i[15]);
|
|
323
323
|
},
|
|
324
|
-
m(
|
|
325
|
-
j(
|
|
324
|
+
m(l, b) {
|
|
325
|
+
j(l, e, b), c(e, t), o || (n = B(
|
|
326
326
|
/*matchStatus*/
|
|
327
327
|
i[18].call(null, e)
|
|
328
|
-
),
|
|
328
|
+
), o = !0);
|
|
329
329
|
},
|
|
330
|
-
p(
|
|
331
|
-
|
|
330
|
+
p(l, b) {
|
|
331
|
+
b[0] & /*shownStatus*/
|
|
332
332
|
8192 && D(
|
|
333
333
|
t,
|
|
334
334
|
/*shownStatus*/
|
|
335
|
-
|
|
336
|
-
),
|
|
335
|
+
l[13]
|
|
336
|
+
), b[0] & /*statusClass*/
|
|
337
|
+
32768 && r !== (r = "Status " + /*statusClass*/
|
|
338
|
+
l[15]) && u(e, "class", r), b[0] & /*statusClass*/
|
|
337
339
|
32768 && s !== (s = "Status " + /*statusClass*/
|
|
338
|
-
|
|
339
|
-
32768 && n !== (n = "Status " + /*statusClass*/
|
|
340
|
-
o[15]) && l(e, "part", n);
|
|
340
|
+
l[15]) && u(e, "part", s);
|
|
341
341
|
},
|
|
342
|
-
d(
|
|
343
|
-
|
|
342
|
+
d(l) {
|
|
343
|
+
l && z(e), o = !1, n();
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
346
|
}
|
|
@@ -351,17 +351,17 @@ function X(i) {
|
|
|
351
351
|
);
|
|
352
352
|
return {
|
|
353
353
|
c() {
|
|
354
|
-
t && t.c(), e =
|
|
354
|
+
t && t.c(), e = pe();
|
|
355
355
|
},
|
|
356
|
-
m(
|
|
357
|
-
t && t.m(
|
|
356
|
+
m(r, s) {
|
|
357
|
+
t && t.m(r, s), j(r, e, s);
|
|
358
358
|
},
|
|
359
|
-
p(
|
|
359
|
+
p(r, s) {
|
|
360
360
|
/*userenrolled*/
|
|
361
|
-
|
|
361
|
+
r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
362
362
|
},
|
|
363
|
-
d(
|
|
364
|
-
|
|
363
|
+
d(r) {
|
|
364
|
+
r && z(e), t && t.d(r);
|
|
365
365
|
}
|
|
366
366
|
};
|
|
367
367
|
}
|
|
@@ -369,219 +369,219 @@ function $(i) {
|
|
|
369
369
|
let e, t = (
|
|
370
370
|
/*$_*/
|
|
371
371
|
i[16]("enrolled") + ""
|
|
372
|
-
),
|
|
372
|
+
), r;
|
|
373
373
|
return {
|
|
374
374
|
c() {
|
|
375
|
-
e =
|
|
375
|
+
e = v("div"), r = M(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
|
|
376
376
|
},
|
|
377
|
-
m(
|
|
378
|
-
j(
|
|
377
|
+
m(s, o) {
|
|
378
|
+
j(s, e, o), c(e, r);
|
|
379
379
|
},
|
|
380
|
-
p(
|
|
381
|
-
|
|
380
|
+
p(s, o) {
|
|
381
|
+
o[0] & /*$_*/
|
|
382
382
|
65536 && t !== (t = /*$_*/
|
|
383
|
-
|
|
383
|
+
s[16]("enrolled") + "") && D(r, t);
|
|
384
384
|
},
|
|
385
|
-
d(
|
|
386
|
-
|
|
385
|
+
d(s) {
|
|
386
|
+
s && z(e);
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
function we(i) {
|
|
391
|
-
let e, t,
|
|
391
|
+
let e, t, r, s, o;
|
|
392
392
|
return {
|
|
393
393
|
c() {
|
|
394
|
-
e =
|
|
394
|
+
e = v("div"), u(e, "class", t = "CardImg " + /*status*/
|
|
395
395
|
(i[0] == "Closing" || /*status*/
|
|
396
|
-
i[0] == "Closed" ? "CardImgFinished" : "")
|
|
396
|
+
i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
|
|
397
397
|
(i[0] == "Closing" || /*status*/
|
|
398
398
|
i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
|
|
399
399
|
},
|
|
400
|
-
m(
|
|
401
|
-
j(
|
|
400
|
+
m(n, l) {
|
|
401
|
+
j(n, e, l), s || (o = B(
|
|
402
402
|
/*matchStatus*/
|
|
403
403
|
i[18].call(null, e)
|
|
404
|
-
),
|
|
404
|
+
), s = !0);
|
|
405
405
|
},
|
|
406
|
-
p(
|
|
407
|
-
|
|
406
|
+
p(n, l) {
|
|
407
|
+
l[0] & /*status*/
|
|
408
408
|
1 && t !== (t = "CardImg " + /*status*/
|
|
409
|
-
(
|
|
410
|
-
|
|
411
|
-
1 &&
|
|
412
|
-
(
|
|
413
|
-
|
|
409
|
+
(n[0] == "Closing" || /*status*/
|
|
410
|
+
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
|
|
411
|
+
1 && r !== (r = "CardImg " + /*status*/
|
|
412
|
+
(n[0] == "Closing" || /*status*/
|
|
413
|
+
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
|
|
414
414
|
},
|
|
415
|
-
d(
|
|
416
|
-
|
|
415
|
+
d(n) {
|
|
416
|
+
n && z(e), s = !1, o();
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
function Re(i) {
|
|
421
|
-
let e, t,
|
|
421
|
+
let e, t, r, s, o;
|
|
422
422
|
return {
|
|
423
423
|
c() {
|
|
424
|
-
e =
|
|
424
|
+
e = v("div"), u(e, "class", t = "CardImg " + /*status*/
|
|
425
425
|
(i[0] == "Closing" || /*status*/
|
|
426
|
-
i[0] == "Closed" ? "CardImgFinished" : "")
|
|
426
|
+
i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
|
|
427
427
|
(i[0] == "Closing" || /*status*/
|
|
428
428
|
i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('" + /*thumbnail*/
|
|
429
429
|
i[4] + "')");
|
|
430
430
|
},
|
|
431
|
-
m(
|
|
432
|
-
j(
|
|
431
|
+
m(n, l) {
|
|
432
|
+
j(n, e, l), s || (o = B(
|
|
433
433
|
/*matchStatus*/
|
|
434
434
|
i[18].call(null, e)
|
|
435
|
-
),
|
|
435
|
+
), s = !0);
|
|
436
436
|
},
|
|
437
|
-
p(
|
|
438
|
-
|
|
437
|
+
p(n, l) {
|
|
438
|
+
l[0] & /*status*/
|
|
439
439
|
1 && t !== (t = "CardImg " + /*status*/
|
|
440
|
-
(
|
|
441
|
-
|
|
442
|
-
1 &&
|
|
443
|
-
(
|
|
444
|
-
|
|
440
|
+
(n[0] == "Closing" || /*status*/
|
|
441
|
+
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
|
|
442
|
+
1 && r !== (r = "CardImg " + /*status*/
|
|
443
|
+
(n[0] == "Closing" || /*status*/
|
|
444
|
+
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r), l[0] & /*thumbnail*/
|
|
445
445
|
16 && K(e, "background-image", "url('" + /*thumbnail*/
|
|
446
|
-
|
|
446
|
+
n[4] + "')");
|
|
447
447
|
},
|
|
448
|
-
d(
|
|
449
|
-
|
|
448
|
+
d(n) {
|
|
449
|
+
n && z(e), s = !1, o();
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
453
|
function ee(i) {
|
|
454
|
-
let e, t,
|
|
454
|
+
let e, t, r, s, o;
|
|
455
455
|
return {
|
|
456
456
|
c() {
|
|
457
|
-
e =
|
|
457
|
+
e = v("div"), t = M(
|
|
458
458
|
/*shownDate*/
|
|
459
459
|
i[11]
|
|
460
|
-
),
|
|
460
|
+
), u(e, "class", "Date"), u(e, "part", "Date");
|
|
461
461
|
},
|
|
462
|
-
m(
|
|
463
|
-
j(
|
|
462
|
+
m(n, l) {
|
|
463
|
+
j(n, e, l), c(e, t), s || (o = B(r = /*formatDate*/
|
|
464
464
|
i[17].call(
|
|
465
465
|
null,
|
|
466
466
|
e,
|
|
467
467
|
/*startdate*/
|
|
468
468
|
i[2]
|
|
469
|
-
)),
|
|
469
|
+
)), s = !0);
|
|
470
470
|
},
|
|
471
|
-
p(
|
|
472
|
-
|
|
471
|
+
p(n, l) {
|
|
472
|
+
l[0] & /*shownDate*/
|
|
473
473
|
2048 && D(
|
|
474
474
|
t,
|
|
475
475
|
/*shownDate*/
|
|
476
|
-
|
|
477
|
-
),
|
|
478
|
-
4 &&
|
|
476
|
+
n[11]
|
|
477
|
+
), r && ke(r.update) && l[0] & /*startdate*/
|
|
478
|
+
4 && r.update.call(
|
|
479
479
|
null,
|
|
480
480
|
/*startdate*/
|
|
481
|
-
|
|
481
|
+
n[2]
|
|
482
482
|
);
|
|
483
483
|
},
|
|
484
|
-
d(
|
|
485
|
-
|
|
484
|
+
d(n) {
|
|
485
|
+
n && z(e), s = !1, o();
|
|
486
486
|
}
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
function te(i) {
|
|
490
|
-
let e, t,
|
|
490
|
+
let e, t, r = (
|
|
491
491
|
/*$_*/
|
|
492
492
|
i[16]("scoreCriteria") + ""
|
|
493
|
-
),
|
|
493
|
+
), s, o, n, l, b, w = (
|
|
494
494
|
/*$_*/
|
|
495
495
|
i[16]("minbet") + ""
|
|
496
|
-
), f, h, A, J,
|
|
496
|
+
), f, h, A, J, y, g, d, m = (
|
|
497
497
|
/*$_*/
|
|
498
498
|
i[16]("seegames") + ""
|
|
499
|
-
),
|
|
499
|
+
), k, E, _, R = (
|
|
500
500
|
/*$_*/
|
|
501
501
|
i[16]("here") + ""
|
|
502
502
|
), P, F, I, N;
|
|
503
503
|
return {
|
|
504
504
|
c() {
|
|
505
|
-
e =
|
|
505
|
+
e = v("div"), t = v("p"), s = M(r), o = M(`:
|
|
506
506
|
|
|
507
|
-
`),
|
|
507
|
+
`), n = v("span"), l = M(
|
|
508
508
|
/*showScoreCriteria*/
|
|
509
509
|
i[14]
|
|
510
|
-
),
|
|
510
|
+
), b = M(`
|
|
511
511
|
(`), f = M(w), h = W(), A = M(
|
|
512
512
|
/*minbetcount*/
|
|
513
513
|
i[6]
|
|
514
|
-
), J = M(")"),
|
|
515
|
-
|
|
514
|
+
), J = M(")"), y = W(), g = v("div"), d = v("p"), k = M(m), E = W(), _ = v("a"), P = M(R), u(n, "part", "ScoreCriteriaSpan"), u(t, "part", "ScoreCriteriaP"), u(e, "class", "ScoreCriteria"), u(e, "part", "ScoreCriteria"), u(_, "part", "GamesAnchor"), u(
|
|
515
|
+
_,
|
|
516
516
|
"href",
|
|
517
517
|
/*gameurl*/
|
|
518
518
|
i[8]
|
|
519
|
-
),
|
|
520
|
-
i[9] === "true" ? "_self" : "_blank"),
|
|
519
|
+
), u(_, "target", F = /*keepbrowsercontext*/
|
|
520
|
+
i[9] === "true" ? "_self" : "_blank"), u(d, "part", "GamesP"), u(g, "class", "Games"), u(g, "part", "Games");
|
|
521
521
|
},
|
|
522
|
-
m(
|
|
523
|
-
j(
|
|
524
|
-
|
|
522
|
+
m(p, T) {
|
|
523
|
+
j(p, e, T), c(e, t), c(t, s), c(t, o), c(t, n), c(n, l), c(t, b), c(t, f), c(t, h), c(t, A), c(t, J), j(p, y, T), j(p, g, T), c(g, d), c(d, k), c(d, E), c(d, _), c(_, P), I || (N = [
|
|
524
|
+
B(
|
|
525
525
|
/*matchScoreCriteria*/
|
|
526
|
-
i[19].call(null,
|
|
526
|
+
i[19].call(null, n)
|
|
527
527
|
),
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
ye(
|
|
529
|
+
_,
|
|
530
530
|
"click",
|
|
531
531
|
/*click_handler*/
|
|
532
532
|
i[28]
|
|
533
533
|
)
|
|
534
534
|
], I = !0);
|
|
535
535
|
},
|
|
536
|
-
p(
|
|
537
|
-
|
|
538
|
-
65536 &&
|
|
539
|
-
|
|
536
|
+
p(p, T) {
|
|
537
|
+
T[0] & /*$_*/
|
|
538
|
+
65536 && r !== (r = /*$_*/
|
|
539
|
+
p[16]("scoreCriteria") + "") && D(s, r), T[0] & /*showScoreCriteria*/
|
|
540
540
|
16384 && D(
|
|
541
|
-
|
|
541
|
+
l,
|
|
542
542
|
/*showScoreCriteria*/
|
|
543
|
-
|
|
544
|
-
),
|
|
543
|
+
p[14]
|
|
544
|
+
), T[0] & /*$_*/
|
|
545
545
|
65536 && w !== (w = /*$_*/
|
|
546
|
-
|
|
546
|
+
p[16]("minbet") + "") && D(f, w), T[0] & /*minbetcount*/
|
|
547
547
|
64 && D(
|
|
548
548
|
A,
|
|
549
549
|
/*minbetcount*/
|
|
550
|
-
|
|
551
|
-
),
|
|
550
|
+
p[6]
|
|
551
|
+
), T[0] & /*$_*/
|
|
552
552
|
65536 && m !== (m = /*$_*/
|
|
553
|
-
|
|
553
|
+
p[16]("seegames") + "") && D(k, m), T[0] & /*$_*/
|
|
554
554
|
65536 && R !== (R = /*$_*/
|
|
555
|
-
|
|
556
|
-
256 &&
|
|
557
|
-
|
|
555
|
+
p[16]("here") + "") && D(P, R), T[0] & /*gameurl*/
|
|
556
|
+
256 && u(
|
|
557
|
+
_,
|
|
558
558
|
"href",
|
|
559
559
|
/*gameurl*/
|
|
560
|
-
|
|
561
|
-
),
|
|
560
|
+
p[8]
|
|
561
|
+
), T[0] & /*keepbrowsercontext*/
|
|
562
562
|
512 && F !== (F = /*keepbrowsercontext*/
|
|
563
|
-
|
|
563
|
+
p[9] === "true" ? "_self" : "_blank") && u(_, "target", F);
|
|
564
564
|
},
|
|
565
|
-
d(
|
|
566
|
-
|
|
565
|
+
d(p) {
|
|
566
|
+
p && (z(e), z(y), z(g)), I = !1, Ce(N);
|
|
567
567
|
}
|
|
568
568
|
};
|
|
569
569
|
}
|
|
570
570
|
function Je(i) {
|
|
571
|
-
let e, t,
|
|
571
|
+
let e, t, r, s, o, n, l, b, w, f = (
|
|
572
572
|
/*status*/
|
|
573
573
|
i[0] && Q(i)
|
|
574
574
|
), h = (
|
|
575
575
|
/*showenrolled*/
|
|
576
576
|
i[7] == "true" && X(i)
|
|
577
577
|
);
|
|
578
|
-
function A(m,
|
|
578
|
+
function A(m, k) {
|
|
579
579
|
return (
|
|
580
580
|
/*thumbnail*/
|
|
581
581
|
m[4] ? Re : we
|
|
582
582
|
);
|
|
583
583
|
}
|
|
584
|
-
let J = A(i),
|
|
584
|
+
let J = A(i), y = J(i), g = (
|
|
585
585
|
/*startdate*/
|
|
586
586
|
i[2] && ee(i)
|
|
587
587
|
), d = (
|
|
@@ -590,39 +590,39 @@ function Je(i) {
|
|
|
590
590
|
);
|
|
591
591
|
return {
|
|
592
592
|
c() {
|
|
593
|
-
e =
|
|
593
|
+
e = v("div"), f && f.c(), t = W(), h && h.c(), r = W(), y.c(), s = W(), o = v("div"), n = v("div"), l = M(
|
|
594
594
|
/*title*/
|
|
595
595
|
i[1]
|
|
596
|
-
),
|
|
596
|
+
), b = W(), g && g.c(), w = W(), d && d.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(o, "class", "Details"), u(o, "part", "Details"), u(e, "class", "Thumbnail"), u(e, "part", "Thumbnail");
|
|
597
597
|
},
|
|
598
|
-
m(m,
|
|
599
|
-
j(m, e,
|
|
598
|
+
m(m, k) {
|
|
599
|
+
j(m, e, k), f && f.m(e, null), c(e, t), h && h.m(e, null), c(e, r), y.m(e, null), c(e, s), c(e, o), c(o, n), c(n, l), c(o, b), g && g.m(o, null), c(o, w), d && d.m(o, null), i[29](e);
|
|
600
600
|
},
|
|
601
|
-
p(m,
|
|
601
|
+
p(m, k) {
|
|
602
602
|
/*status*/
|
|
603
|
-
m[0] ? f ? f.p(m,
|
|
604
|
-
m[7] == "true" ? h ? h.p(m,
|
|
603
|
+
m[0] ? f ? f.p(m, k) : (f = Q(m), f.c(), f.m(e, t)) : f && (f.d(1), f = null), /*showenrolled*/
|
|
604
|
+
m[7] == "true" ? h ? h.p(m, k) : (h = X(m), h.c(), h.m(e, r)) : h && (h.d(1), h = null), J === (J = A(m)) && y ? y.p(m, k) : (y.d(1), y = J(m), y && (y.c(), y.m(e, s))), k[0] & /*title*/
|
|
605
605
|
2 && D(
|
|
606
|
-
|
|
606
|
+
l,
|
|
607
607
|
/*title*/
|
|
608
608
|
m[1]
|
|
609
609
|
), /*startdate*/
|
|
610
|
-
m[2] ?
|
|
611
|
-
m[12] ? d ? d.p(m,
|
|
610
|
+
m[2] ? g ? g.p(m, k) : (g = ee(m), g.c(), g.m(o, w)) : g && (g.d(1), g = null), /*isLoggedIn*/
|
|
611
|
+
m[12] ? d ? d.p(m, k) : (d = te(m), d.c(), d.m(o, null)) : d && (d.d(1), d = null);
|
|
612
612
|
},
|
|
613
613
|
i: q,
|
|
614
614
|
o: q,
|
|
615
615
|
d(m) {
|
|
616
|
-
m && z(e), f && f.d(), h && h.d(),
|
|
616
|
+
m && z(e), f && f.d(), h && h.d(), y.d(), g && g.d(), d && d.d(), i[29](null);
|
|
617
617
|
}
|
|
618
618
|
};
|
|
619
619
|
}
|
|
620
620
|
function De(i, e, t) {
|
|
621
|
-
let
|
|
622
|
-
fe(i,
|
|
623
|
-
let { session:
|
|
624
|
-
const
|
|
625
|
-
fetch(
|
|
621
|
+
let r;
|
|
622
|
+
fe(i, Te, (a) => t(16, r = a));
|
|
623
|
+
let { session: s = "" } = e, { userid: o = "" } = e, { title: n = "" } = e, { startdate: l = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: y = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: k = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, P = "", F = !1, I = "", N = "", p = "";
|
|
624
|
+
const T = () => {
|
|
625
|
+
fetch(_).then((S) => S.json()).then((S) => {
|
|
626
626
|
Object.keys(S).forEach((O) => {
|
|
627
627
|
Y(O, S[O]);
|
|
628
628
|
});
|
|
@@ -634,28 +634,28 @@ function De(i, e, t) {
|
|
|
634
634
|
Y(a, Z[a]);
|
|
635
635
|
});
|
|
636
636
|
const x = (a) => {
|
|
637
|
-
a.data && (a.data && a.data.type == "SessionID" && t(12, F = !0), a.data.type == `TournamentStatus_${w}` && t(0,
|
|
638
|
-
},
|
|
637
|
+
a.data && (a.data && a.data.type == "SessionID" && t(12, F = !0), a.data.type == `TournamentStatus_${w}` && t(0, b = a.data.status));
|
|
638
|
+
}, L = () => {
|
|
639
639
|
const a = { month: "long" };
|
|
640
|
-
let S = new Date(
|
|
640
|
+
let S = new Date(l), O = new Intl.DateTimeFormat("en", a).format(S), le = S.getDate(), oe = S.toLocaleString("en-GB", {
|
|
641
641
|
hour: "numeric",
|
|
642
642
|
minute: "numeric",
|
|
643
643
|
hour12: !1
|
|
644
644
|
});
|
|
645
|
-
const ue = () =>
|
|
646
|
-
t(11, P = `${le} ` +
|
|
645
|
+
const ue = () => r(b === "Running" ? "startedAt" : "startingAt");
|
|
646
|
+
t(11, P = `${le} ` + r(`${O}`) + ", " + ue() + ` ${oe}`);
|
|
647
647
|
}, U = () => {
|
|
648
|
-
|
|
648
|
+
b == "Unstarted" && (t(13, I = r("scheduled")), t(15, p = "StatusUnstarted")), b == "Running" && (t(13, I = r("ongoing")), t(15, p = "StatusRunning")), (b == "Closed" || b == "Closing") && t(13, I = r("finished")), b == "Closed" && t(15, p = "StatusClosed"), b == "Closing" && t(15, p = "StatusClosing");
|
|
649
649
|
}, G = () => {
|
|
650
|
-
A == "BetCount" && t(14, N =
|
|
650
|
+
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"));
|
|
651
651
|
}, H = (a, S) => {
|
|
652
652
|
window.postMessage({ type: "tournamentGamesClicked", tourId: S }, window.location.href);
|
|
653
653
|
}, ie = () => {
|
|
654
|
-
|
|
654
|
+
s.length > 0 && s != "false" ? t(12, F = !0) : t(12, F = !1);
|
|
655
655
|
}, ae = () => {
|
|
656
656
|
let a = document.createElement("style");
|
|
657
|
-
a.innerHTML =
|
|
658
|
-
},
|
|
657
|
+
a.innerHTML = k, R.appendChild(a);
|
|
658
|
+
}, re = () => {
|
|
659
659
|
let a = new URL(E), S = document.createElement("style");
|
|
660
660
|
fetch(a.href).then((O) => O.text()).then((O) => {
|
|
661
661
|
S.innerHTML = O, setTimeout(
|
|
@@ -674,56 +674,56 @@ function De(i, e, t) {
|
|
|
674
674
|
window.removeEventListener("message", x);
|
|
675
675
|
}));
|
|
676
676
|
const V = () => {
|
|
677
|
-
|
|
678
|
-
},
|
|
679
|
-
function
|
|
680
|
-
|
|
677
|
+
ve(d), G(), U(), l && L();
|
|
678
|
+
}, ne = () => H();
|
|
679
|
+
function se(a) {
|
|
680
|
+
Se[a ? "unshift" : "push"](() => {
|
|
681
681
|
R = a, t(10, R);
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
684
|
return i.$$set = (a) => {
|
|
685
|
-
"session" in a && t(21,
|
|
685
|
+
"session" in a && t(21, s = a.session), "userid" in a && t(22, o = a.userid), "title" in a && t(1, n = a.title), "startdate" in a && t(2, l = a.startdate), "status" in a && t(0, b = a.status), "tourid" in a && t(3, w = a.tourid), "thumbnail" in a && t(4, f = a.thumbnail), "userenrolled" in a && t(5, h = a.userenrolled), "scorecriteria" in a && t(23, A = a.scorecriteria), "minbetcount" in a && t(6, J = a.minbetcount), "showenrolled" in a && t(7, y = a.showenrolled), "gameurl" in a && t(8, g = a.gameurl), "lang" in a && t(24, d = a.lang), "keepbrowsercontext" in a && t(9, m = a.keepbrowsercontext), "clientstyling" in a && t(25, k = a.clientstyling), "clientstylingurl" in a && t(26, E = a.clientstylingurl), "translationurl" in a && t(27, _ = a.translationurl);
|
|
686
686
|
}, i.$$.update = () => {
|
|
687
687
|
i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
688
|
-
33555456 && R &&
|
|
689
|
-
67109888 && R && E &&
|
|
690
|
-
134217728 &&
|
|
691
|
-
2097152 &&
|
|
692
|
-
1 &&
|
|
693
|
-
16777218 &&
|
|
694
|
-
4 &&
|
|
688
|
+
33555456 && R && k && ae(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
689
|
+
67109888 && R && E && re(), i.$$.dirty[0] & /*translationurl*/
|
|
690
|
+
134217728 && _ && T(), i.$$.dirty[0] & /*session*/
|
|
691
|
+
2097152 && s && ie(), i.$$.dirty[0] & /*status*/
|
|
692
|
+
1 && b && U(), i.$$.dirty[0] & /*title, lang*/
|
|
693
|
+
16777218 && n && d && V(), i.$$.dirty[0] & /*startdate*/
|
|
694
|
+
4 && l && L(), i.$$.dirty[0] & /*scorecriteria*/
|
|
695
695
|
8388608 && A && G();
|
|
696
696
|
}, [
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
697
|
+
b,
|
|
698
|
+
n,
|
|
699
|
+
l,
|
|
700
700
|
w,
|
|
701
701
|
f,
|
|
702
702
|
h,
|
|
703
703
|
J,
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
y,
|
|
705
|
+
g,
|
|
706
706
|
m,
|
|
707
707
|
R,
|
|
708
708
|
P,
|
|
709
709
|
F,
|
|
710
710
|
I,
|
|
711
711
|
N,
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
712
|
+
p,
|
|
713
|
+
r,
|
|
714
|
+
L,
|
|
715
715
|
U,
|
|
716
716
|
G,
|
|
717
717
|
H,
|
|
718
|
-
|
|
719
|
-
|
|
718
|
+
s,
|
|
719
|
+
o,
|
|
720
720
|
A,
|
|
721
721
|
d,
|
|
722
|
-
|
|
722
|
+
k,
|
|
723
723
|
E,
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
724
|
+
_,
|
|
725
|
+
ne,
|
|
726
|
+
se
|
|
727
727
|
];
|
|
728
728
|
}
|
|
729
729
|
class je extends me {
|
|
@@ -733,7 +733,7 @@ class je extends me {
|
|
|
733
733
|
e,
|
|
734
734
|
De,
|
|
735
735
|
Je,
|
|
736
|
-
|
|
736
|
+
ge,
|
|
737
737
|
{
|
|
738
738
|
session: 21,
|
|
739
739
|
userid: 22,
|
|
@@ -761,103 +761,103 @@ class je extends me {
|
|
|
761
761
|
return this.$$.ctx[21];
|
|
762
762
|
}
|
|
763
763
|
set session(e) {
|
|
764
|
-
this.$$set({ session: e }),
|
|
764
|
+
this.$$set({ session: e }), C();
|
|
765
765
|
}
|
|
766
766
|
get userid() {
|
|
767
767
|
return this.$$.ctx[22];
|
|
768
768
|
}
|
|
769
769
|
set userid(e) {
|
|
770
|
-
this.$$set({ userid: e }),
|
|
770
|
+
this.$$set({ userid: e }), C();
|
|
771
771
|
}
|
|
772
772
|
get title() {
|
|
773
773
|
return this.$$.ctx[1];
|
|
774
774
|
}
|
|
775
775
|
set title(e) {
|
|
776
|
-
this.$$set({ title: e }),
|
|
776
|
+
this.$$set({ title: e }), C();
|
|
777
777
|
}
|
|
778
778
|
get startdate() {
|
|
779
779
|
return this.$$.ctx[2];
|
|
780
780
|
}
|
|
781
781
|
set startdate(e) {
|
|
782
|
-
this.$$set({ startdate: e }),
|
|
782
|
+
this.$$set({ startdate: e }), C();
|
|
783
783
|
}
|
|
784
784
|
get status() {
|
|
785
785
|
return this.$$.ctx[0];
|
|
786
786
|
}
|
|
787
787
|
set status(e) {
|
|
788
|
-
this.$$set({ status: e }),
|
|
788
|
+
this.$$set({ status: e }), C();
|
|
789
789
|
}
|
|
790
790
|
get tourid() {
|
|
791
791
|
return this.$$.ctx[3];
|
|
792
792
|
}
|
|
793
793
|
set tourid(e) {
|
|
794
|
-
this.$$set({ tourid: e }),
|
|
794
|
+
this.$$set({ tourid: e }), C();
|
|
795
795
|
}
|
|
796
796
|
get thumbnail() {
|
|
797
797
|
return this.$$.ctx[4];
|
|
798
798
|
}
|
|
799
799
|
set thumbnail(e) {
|
|
800
|
-
this.$$set({ thumbnail: e }),
|
|
800
|
+
this.$$set({ thumbnail: e }), C();
|
|
801
801
|
}
|
|
802
802
|
get userenrolled() {
|
|
803
803
|
return this.$$.ctx[5];
|
|
804
804
|
}
|
|
805
805
|
set userenrolled(e) {
|
|
806
|
-
this.$$set({ userenrolled: e }),
|
|
806
|
+
this.$$set({ userenrolled: e }), C();
|
|
807
807
|
}
|
|
808
808
|
get scorecriteria() {
|
|
809
809
|
return this.$$.ctx[23];
|
|
810
810
|
}
|
|
811
811
|
set scorecriteria(e) {
|
|
812
|
-
this.$$set({ scorecriteria: e }),
|
|
812
|
+
this.$$set({ scorecriteria: e }), C();
|
|
813
813
|
}
|
|
814
814
|
get minbetcount() {
|
|
815
815
|
return this.$$.ctx[6];
|
|
816
816
|
}
|
|
817
817
|
set minbetcount(e) {
|
|
818
|
-
this.$$set({ minbetcount: e }),
|
|
818
|
+
this.$$set({ minbetcount: e }), C();
|
|
819
819
|
}
|
|
820
820
|
get showenrolled() {
|
|
821
821
|
return this.$$.ctx[7];
|
|
822
822
|
}
|
|
823
823
|
set showenrolled(e) {
|
|
824
|
-
this.$$set({ showenrolled: e }),
|
|
824
|
+
this.$$set({ showenrolled: e }), C();
|
|
825
825
|
}
|
|
826
826
|
get gameurl() {
|
|
827
827
|
return this.$$.ctx[8];
|
|
828
828
|
}
|
|
829
829
|
set gameurl(e) {
|
|
830
|
-
this.$$set({ gameurl: e }),
|
|
830
|
+
this.$$set({ gameurl: e }), C();
|
|
831
831
|
}
|
|
832
832
|
get lang() {
|
|
833
833
|
return this.$$.ctx[24];
|
|
834
834
|
}
|
|
835
835
|
set lang(e) {
|
|
836
|
-
this.$$set({ lang: e }),
|
|
836
|
+
this.$$set({ lang: e }), C();
|
|
837
837
|
}
|
|
838
838
|
get keepbrowsercontext() {
|
|
839
839
|
return this.$$.ctx[9];
|
|
840
840
|
}
|
|
841
841
|
set keepbrowsercontext(e) {
|
|
842
|
-
this.$$set({ keepbrowsercontext: e }),
|
|
842
|
+
this.$$set({ keepbrowsercontext: e }), C();
|
|
843
843
|
}
|
|
844
844
|
get clientstyling() {
|
|
845
845
|
return this.$$.ctx[25];
|
|
846
846
|
}
|
|
847
847
|
set clientstyling(e) {
|
|
848
|
-
this.$$set({ clientstyling: e }),
|
|
848
|
+
this.$$set({ clientstyling: e }), C();
|
|
849
849
|
}
|
|
850
850
|
get clientstylingurl() {
|
|
851
851
|
return this.$$.ctx[26];
|
|
852
852
|
}
|
|
853
853
|
set clientstylingurl(e) {
|
|
854
|
-
this.$$set({ clientstylingurl: e }),
|
|
854
|
+
this.$$set({ clientstylingurl: e }), C();
|
|
855
855
|
}
|
|
856
856
|
get translationurl() {
|
|
857
857
|
return this.$$.ctx[27];
|
|
858
858
|
}
|
|
859
859
|
set translationurl(e) {
|
|
860
|
-
this.$$set({ translationurl: e }),
|
|
860
|
+
this.$$set({ translationurl: e }), C();
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
ce(je, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|