@everymatrix/casino-tournaments-controller 1.50.1 → 1.51.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-Bh0F1F9j.js → CasinoTournamentsController-D4fqxCja.js} +8 -2
- package/components/{CasinoTournamentsController-BgOnVyOd.cjs → CasinoTournamentsController-WRSyK2QY.cjs} +2 -2
- package/components/CasinoTournamentsFilterController-D0T7rVhL.cjs +1 -0
- package/components/{CasinoTournamentsFilterController-Cms4Mj5a.js → CasinoTournamentsFilterController-D9Tidq8w.js} +41 -34
- package/components/{CasinoTournamentsListController-DT-ABEal.js → CasinoTournamentsListController-Bj5LNl9h.js} +5 -2
- package/components/{CasinoTournamentsListController-COIcfqhk.cjs → CasinoTournamentsListController-CWi9-FPc.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-BqchSYJX.cjs → CasinoTournamentsThumbnail-CXUAscGP.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-JPADMzmC.js → CasinoTournamentsThumbnail-Dq4yRdNG.js} +162 -131
- package/components/CasinoTournamentsThumbnailController-BHFgnbwb.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailController-Cyz1tkwX.js → CasinoTournamentsThumbnailController-cb4JbcxA.js} +42 -34
- package/components/{CasinoTournamentsThumbnailDuration-Dq6XZBFw.js → CasinoTournamentsThumbnailDuration-COqsPwJj.js} +21 -13
- package/components/CasinoTournamentsThumbnailDuration-CQkAFLBa.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailGamesSlider-DUruRKxn.js → CasinoTournamentsThumbnailGamesSlider--YAPEoXl.js} +19 -16
- package/components/CasinoTournamentsThumbnailGamesSlider-LY1F0kxk.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailPrizes-ATuGyLaj.js → CasinoTournamentsThumbnailPrizes-BbCxQeLs.js} +33 -28
- package/components/CasinoTournamentsThumbnailPrizes-CY5bdmwv.cjs +1 -0
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsFilterController-Ue-NUlO5.cjs +0 -1
- package/components/CasinoTournamentsThumbnailController-DLec91GP.cjs +0 -1
- package/components/CasinoTournamentsThumbnailDuration-Df8PCRBm.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-BqLvv5tS.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-CmlKwpPW.cjs +0 -1
package/components/{CasinoTournamentsThumbnail-JPADMzmC.js → CasinoTournamentsThumbnail-Dq4yRdNG.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as me, z as de, S as ce, i as ge, f as
|
|
2
|
-
function
|
|
1
|
+
import { a as me, z as de, S as ce, i as ge, f as S, c as be, s as fe, b as he, e as M, m as O, t as v, d as u, h as F, o as c, p as D, n as q, j as z, k as pe, w as ye, A as L, x as ke, B as Se, r as Ce, C as Ae, u as _e, D as K, $ as Te } from "./CasinoTournamentsController-D4fqxCja.js";
|
|
2
|
+
function Y(i, e) {
|
|
3
3
|
me(i, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function Me(i) {
|
|
6
6
|
de.set(i);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const Z = {
|
|
9
9
|
en: {
|
|
10
10
|
enrolled: "Enrolled",
|
|
11
11
|
scoreCriteria: "Score Criteria",
|
|
@@ -304,42 +304,73 @@ const Y = {
|
|
|
304
304
|
October: "October",
|
|
305
305
|
November: "November",
|
|
306
306
|
December: "December"
|
|
307
|
+
},
|
|
308
|
+
"en-us": {
|
|
309
|
+
enrolled: "Enrolled",
|
|
310
|
+
scoreCriteria: "Score Criteria",
|
|
311
|
+
minbet: "min bet count",
|
|
312
|
+
seegames: "You can see the games",
|
|
313
|
+
here: "here",
|
|
314
|
+
scheduled: "Scheduled",
|
|
315
|
+
ongoing: "Ongoing",
|
|
316
|
+
finished: "Finished",
|
|
317
|
+
startingAt: "Starting at:",
|
|
318
|
+
startedAt: "Started at:",
|
|
319
|
+
startingAtWithTime: "Starts {startTime}",
|
|
320
|
+
startedAtWithTime: "Started {startTime}",
|
|
321
|
+
mostRounds: "Most Rounds",
|
|
322
|
+
betCount: "Number of Bets",
|
|
323
|
+
maxWinStakeRatio: "Max Win per Stake",
|
|
324
|
+
winStakeRatio: "Total Win per Stake",
|
|
325
|
+
stake: "Turnover",
|
|
326
|
+
January: "January",
|
|
327
|
+
February: "February",
|
|
328
|
+
March: "March",
|
|
329
|
+
April: "April",
|
|
330
|
+
May: "May",
|
|
331
|
+
June: "June",
|
|
332
|
+
July: "July",
|
|
333
|
+
August: "August",
|
|
334
|
+
September: "September",
|
|
335
|
+
October: "October",
|
|
336
|
+
November: "November",
|
|
337
|
+
December: "December"
|
|
307
338
|
}
|
|
308
339
|
};
|
|
309
|
-
function
|
|
340
|
+
function ve(i) {
|
|
310
341
|
he(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}');
|
|
311
342
|
}
|
|
312
343
|
function Q(i) {
|
|
313
|
-
let e, t, r, s,
|
|
344
|
+
let e, t, r, s, l, n;
|
|
314
345
|
return {
|
|
315
346
|
c() {
|
|
316
|
-
e =
|
|
347
|
+
e = M("div"), t = v(
|
|
317
348
|
/*shownStatus*/
|
|
318
349
|
i[13]
|
|
319
350
|
), u(e, "class", r = "Status " + /*statusClass*/
|
|
320
351
|
i[15]), u(e, "part", s = "Status " + /*statusClass*/
|
|
321
352
|
i[15]);
|
|
322
353
|
},
|
|
323
|
-
m(
|
|
324
|
-
|
|
354
|
+
m(o, b) {
|
|
355
|
+
F(o, e, b), c(e, t), l || (n = L(
|
|
325
356
|
/*matchStatus*/
|
|
326
357
|
i[18].call(null, e)
|
|
327
|
-
),
|
|
358
|
+
), l = !0);
|
|
328
359
|
},
|
|
329
|
-
p(
|
|
360
|
+
p(o, b) {
|
|
330
361
|
b[0] & /*shownStatus*/
|
|
331
362
|
8192 && D(
|
|
332
363
|
t,
|
|
333
364
|
/*shownStatus*/
|
|
334
|
-
|
|
365
|
+
o[13]
|
|
335
366
|
), b[0] & /*statusClass*/
|
|
336
367
|
32768 && r !== (r = "Status " + /*statusClass*/
|
|
337
|
-
|
|
368
|
+
o[15]) && u(e, "class", r), b[0] & /*statusClass*/
|
|
338
369
|
32768 && s !== (s = "Status " + /*statusClass*/
|
|
339
|
-
|
|
370
|
+
o[15]) && u(e, "part", s);
|
|
340
371
|
},
|
|
341
|
-
d(
|
|
342
|
-
|
|
372
|
+
d(o) {
|
|
373
|
+
o && z(e), l = !1, n();
|
|
343
374
|
}
|
|
344
375
|
};
|
|
345
376
|
}
|
|
@@ -350,17 +381,17 @@ function X(i) {
|
|
|
350
381
|
);
|
|
351
382
|
return {
|
|
352
383
|
c() {
|
|
353
|
-
t && t.c(), e =
|
|
384
|
+
t && t.c(), e = ke();
|
|
354
385
|
},
|
|
355
386
|
m(r, s) {
|
|
356
|
-
t && t.m(r, s),
|
|
387
|
+
t && t.m(r, s), F(r, e, s);
|
|
357
388
|
},
|
|
358
389
|
p(r, s) {
|
|
359
390
|
/*userenrolled*/
|
|
360
391
|
r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
361
392
|
},
|
|
362
393
|
d(r) {
|
|
363
|
-
r &&
|
|
394
|
+
r && z(e), t && t.d(r);
|
|
364
395
|
}
|
|
365
396
|
};
|
|
366
397
|
}
|
|
@@ -371,95 +402,95 @@ function $(i) {
|
|
|
371
402
|
), r;
|
|
372
403
|
return {
|
|
373
404
|
c() {
|
|
374
|
-
e =
|
|
405
|
+
e = M("div"), r = v(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
|
|
375
406
|
},
|
|
376
|
-
m(s,
|
|
377
|
-
|
|
407
|
+
m(s, l) {
|
|
408
|
+
F(s, e, l), c(e, r);
|
|
378
409
|
},
|
|
379
|
-
p(s,
|
|
380
|
-
|
|
410
|
+
p(s, l) {
|
|
411
|
+
l[0] & /*$_*/
|
|
381
412
|
65536 && t !== (t = /*$_*/
|
|
382
413
|
s[16]("enrolled") + "") && D(r, t);
|
|
383
414
|
},
|
|
384
415
|
d(s) {
|
|
385
|
-
s &&
|
|
416
|
+
s && z(e);
|
|
386
417
|
}
|
|
387
418
|
};
|
|
388
419
|
}
|
|
389
420
|
function we(i) {
|
|
390
|
-
let e, t, r, s,
|
|
421
|
+
let e, t, r, s, l;
|
|
391
422
|
return {
|
|
392
423
|
c() {
|
|
393
|
-
e =
|
|
424
|
+
e = M("div"), u(e, "class", t = "CardImg " + /*status*/
|
|
394
425
|
(i[0] == "Closing" || /*status*/
|
|
395
426
|
i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
|
|
396
427
|
(i[0] == "Closing" || /*status*/
|
|
397
428
|
i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
|
|
398
429
|
},
|
|
399
|
-
m(n,
|
|
400
|
-
|
|
430
|
+
m(n, o) {
|
|
431
|
+
F(n, e, o), s || (l = L(
|
|
401
432
|
/*matchStatus*/
|
|
402
433
|
i[18].call(null, e)
|
|
403
434
|
), s = !0);
|
|
404
435
|
},
|
|
405
|
-
p(n,
|
|
406
|
-
|
|
436
|
+
p(n, o) {
|
|
437
|
+
o[0] & /*status*/
|
|
407
438
|
1 && t !== (t = "CardImg " + /*status*/
|
|
408
439
|
(n[0] == "Closing" || /*status*/
|
|
409
|
-
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t),
|
|
440
|
+
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), o[0] & /*status*/
|
|
410
441
|
1 && r !== (r = "CardImg " + /*status*/
|
|
411
442
|
(n[0] == "Closing" || /*status*/
|
|
412
443
|
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
|
|
413
444
|
},
|
|
414
445
|
d(n) {
|
|
415
|
-
n &&
|
|
446
|
+
n && z(e), s = !1, l();
|
|
416
447
|
}
|
|
417
448
|
};
|
|
418
449
|
}
|
|
419
450
|
function Re(i) {
|
|
420
|
-
let e, t, r, s,
|
|
451
|
+
let e, t, r, s, l;
|
|
421
452
|
return {
|
|
422
453
|
c() {
|
|
423
|
-
e =
|
|
454
|
+
e = M("div"), u(e, "class", t = "CardImg " + /*status*/
|
|
424
455
|
(i[0] == "Closing" || /*status*/
|
|
425
456
|
i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
|
|
426
457
|
(i[0] == "Closing" || /*status*/
|
|
427
458
|
i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('" + /*thumbnail*/
|
|
428
459
|
i[4] + "')");
|
|
429
460
|
},
|
|
430
|
-
m(n,
|
|
431
|
-
|
|
461
|
+
m(n, o) {
|
|
462
|
+
F(n, e, o), s || (l = L(
|
|
432
463
|
/*matchStatus*/
|
|
433
464
|
i[18].call(null, e)
|
|
434
465
|
), s = !0);
|
|
435
466
|
},
|
|
436
|
-
p(n,
|
|
437
|
-
|
|
467
|
+
p(n, o) {
|
|
468
|
+
o[0] & /*status*/
|
|
438
469
|
1 && t !== (t = "CardImg " + /*status*/
|
|
439
470
|
(n[0] == "Closing" || /*status*/
|
|
440
|
-
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t),
|
|
471
|
+
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), o[0] & /*status*/
|
|
441
472
|
1 && r !== (r = "CardImg " + /*status*/
|
|
442
473
|
(n[0] == "Closing" || /*status*/
|
|
443
|
-
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r),
|
|
474
|
+
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r), o[0] & /*thumbnail*/
|
|
444
475
|
16 && K(e, "background-image", "url('" + /*thumbnail*/
|
|
445
476
|
n[4] + "')");
|
|
446
477
|
},
|
|
447
478
|
d(n) {
|
|
448
|
-
n &&
|
|
479
|
+
n && z(e), s = !1, l();
|
|
449
480
|
}
|
|
450
481
|
};
|
|
451
482
|
}
|
|
452
483
|
function ee(i) {
|
|
453
|
-
let e, t, r, s,
|
|
484
|
+
let e, t, r, s, l;
|
|
454
485
|
return {
|
|
455
486
|
c() {
|
|
456
|
-
e =
|
|
487
|
+
e = M("div"), t = v(
|
|
457
488
|
/*shownDate*/
|
|
458
489
|
i[11]
|
|
459
490
|
), u(e, "class", "Date"), u(e, "part", "Date");
|
|
460
491
|
},
|
|
461
|
-
m(n,
|
|
462
|
-
|
|
492
|
+
m(n, o) {
|
|
493
|
+
F(n, e, o), c(e, t), s || (l = L(r = /*formatDate*/
|
|
463
494
|
i[17].call(
|
|
464
495
|
null,
|
|
465
496
|
e,
|
|
@@ -467,13 +498,13 @@ function ee(i) {
|
|
|
467
498
|
i[2]
|
|
468
499
|
)), s = !0);
|
|
469
500
|
},
|
|
470
|
-
p(n,
|
|
471
|
-
|
|
501
|
+
p(n, o) {
|
|
502
|
+
o[0] & /*shownDate*/
|
|
472
503
|
2048 && D(
|
|
473
504
|
t,
|
|
474
505
|
/*shownDate*/
|
|
475
506
|
n[11]
|
|
476
|
-
), r &&
|
|
507
|
+
), r && Se(r.update) && o[0] & /*startdate*/
|
|
477
508
|
4 && r.update.call(
|
|
478
509
|
null,
|
|
479
510
|
/*startdate*/
|
|
@@ -481,7 +512,7 @@ function ee(i) {
|
|
|
481
512
|
);
|
|
482
513
|
},
|
|
483
514
|
d(n) {
|
|
484
|
-
n &&
|
|
515
|
+
n && z(e), s = !1, l();
|
|
485
516
|
}
|
|
486
517
|
};
|
|
487
518
|
}
|
|
@@ -489,42 +520,42 @@ function te(i) {
|
|
|
489
520
|
let e, t, r = (
|
|
490
521
|
/*$_*/
|
|
491
522
|
i[16]("scoreCriteria") + ""
|
|
492
|
-
), s,
|
|
523
|
+
), s, l, n, o, b, w = (
|
|
493
524
|
/*$_*/
|
|
494
525
|
i[16]("minbet") + ""
|
|
495
|
-
), f, h, A, J,
|
|
526
|
+
), f, h, A, J, k, g, d, m = (
|
|
496
527
|
/*$_*/
|
|
497
528
|
i[16]("seegames") + ""
|
|
498
|
-
),
|
|
529
|
+
), y, E, _, R = (
|
|
499
530
|
/*$_*/
|
|
500
531
|
i[16]("here") + ""
|
|
501
|
-
), B,
|
|
532
|
+
), B, j, I, N;
|
|
502
533
|
return {
|
|
503
534
|
c() {
|
|
504
|
-
e =
|
|
535
|
+
e = M("div"), t = M("p"), s = v(r), l = v(`:
|
|
505
536
|
|
|
506
|
-
`), n =
|
|
537
|
+
`), n = M("span"), o = v(
|
|
507
538
|
/*showScoreCriteria*/
|
|
508
539
|
i[14]
|
|
509
|
-
), b =
|
|
510
|
-
(`), f =
|
|
540
|
+
), b = v(`
|
|
541
|
+
(`), f = v(w), h = O(), A = v(
|
|
511
542
|
/*minbetcount*/
|
|
512
543
|
i[6]
|
|
513
|
-
), J =
|
|
544
|
+
), J = v(")"), k = O(), g = M("div"), d = M("p"), y = v(m), E = O(), _ = M("a"), B = v(R), u(n, "part", "ScoreCriteriaSpan"), u(t, "part", "ScoreCriteriaP"), u(e, "class", "ScoreCriteria"), u(e, "part", "ScoreCriteria"), u(_, "part", "GamesAnchor"), u(
|
|
514
545
|
_,
|
|
515
546
|
"href",
|
|
516
547
|
/*gameurl*/
|
|
517
548
|
i[8]
|
|
518
|
-
), u(_, "target",
|
|
549
|
+
), u(_, "target", j = /*keepbrowsercontext*/
|
|
519
550
|
i[9] === "true" ? "_self" : "_blank"), u(d, "part", "GamesP"), u(g, "class", "Games"), u(g, "part", "Games");
|
|
520
551
|
},
|
|
521
552
|
m(p, T) {
|
|
522
|
-
|
|
553
|
+
F(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), F(p, k, T), F(p, g, T), c(g, d), c(d, y), c(d, E), c(d, _), c(_, B), I || (N = [
|
|
523
554
|
L(
|
|
524
555
|
/*matchScoreCriteria*/
|
|
525
556
|
i[19].call(null, n)
|
|
526
557
|
),
|
|
527
|
-
|
|
558
|
+
Ce(
|
|
528
559
|
_,
|
|
529
560
|
"click",
|
|
530
561
|
/*click_handler*/
|
|
@@ -537,7 +568,7 @@ function te(i) {
|
|
|
537
568
|
65536 && r !== (r = /*$_*/
|
|
538
569
|
p[16]("scoreCriteria") + "") && D(s, r), T[0] & /*showScoreCriteria*/
|
|
539
570
|
16384 && D(
|
|
540
|
-
|
|
571
|
+
o,
|
|
541
572
|
/*showScoreCriteria*/
|
|
542
573
|
p[14]
|
|
543
574
|
), T[0] & /*$_*/
|
|
@@ -549,7 +580,7 @@ function te(i) {
|
|
|
549
580
|
p[6]
|
|
550
581
|
), T[0] & /*$_*/
|
|
551
582
|
65536 && m !== (m = /*$_*/
|
|
552
|
-
p[16]("seegames") + "") && D(
|
|
583
|
+
p[16]("seegames") + "") && D(y, m), T[0] & /*$_*/
|
|
553
584
|
65536 && R !== (R = /*$_*/
|
|
554
585
|
p[16]("here") + "") && D(B, R), T[0] & /*gameurl*/
|
|
555
586
|
256 && u(
|
|
@@ -558,29 +589,29 @@ function te(i) {
|
|
|
558
589
|
/*gameurl*/
|
|
559
590
|
p[8]
|
|
560
591
|
), T[0] & /*keepbrowsercontext*/
|
|
561
|
-
512 &&
|
|
562
|
-
p[9] === "true" ? "_self" : "_blank") && u(_, "target",
|
|
592
|
+
512 && j !== (j = /*keepbrowsercontext*/
|
|
593
|
+
p[9] === "true" ? "_self" : "_blank") && u(_, "target", j);
|
|
563
594
|
},
|
|
564
595
|
d(p) {
|
|
565
|
-
p && (
|
|
596
|
+
p && (z(e), z(k), z(g)), I = !1, Ae(N);
|
|
566
597
|
}
|
|
567
598
|
};
|
|
568
599
|
}
|
|
569
600
|
function Je(i) {
|
|
570
|
-
let e, t, r, s,
|
|
601
|
+
let e, t, r, s, l, n, o, b, w, f = (
|
|
571
602
|
/*status*/
|
|
572
603
|
i[0] && Q(i)
|
|
573
604
|
), h = (
|
|
574
605
|
/*showenrolled*/
|
|
575
606
|
i[7] == "true" && X(i)
|
|
576
607
|
);
|
|
577
|
-
function A(m,
|
|
608
|
+
function A(m, y) {
|
|
578
609
|
return (
|
|
579
610
|
/*thumbnail*/
|
|
580
611
|
m[4] ? Re : we
|
|
581
612
|
);
|
|
582
613
|
}
|
|
583
|
-
let J = A(i),
|
|
614
|
+
let J = A(i), k = J(i), g = (
|
|
584
615
|
/*startdate*/
|
|
585
616
|
i[2] && ee(i)
|
|
586
617
|
), d = (
|
|
@@ -589,77 +620,77 @@ function Je(i) {
|
|
|
589
620
|
);
|
|
590
621
|
return {
|
|
591
622
|
c() {
|
|
592
|
-
e =
|
|
623
|
+
e = M("div"), f && f.c(), t = O(), h && h.c(), r = O(), k.c(), s = O(), l = M("div"), n = M("div"), o = v(
|
|
593
624
|
/*title*/
|
|
594
625
|
i[1]
|
|
595
|
-
), b =
|
|
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");
|
|
596
627
|
},
|
|
597
|
-
m(m,
|
|
598
|
-
|
|
628
|
+
m(m, y) {
|
|
629
|
+
F(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);
|
|
599
630
|
},
|
|
600
|
-
p(m,
|
|
631
|
+
p(m, y) {
|
|
601
632
|
/*status*/
|
|
602
|
-
m[0] ? f ? f.p(m,
|
|
603
|
-
m[7] == "true" ? h ? h.p(m,
|
|
633
|
+
m[0] ? f ? f.p(m, y) : (f = Q(m), f.c(), f.m(e, t)) : f && (f.d(1), f = null), /*showenrolled*/
|
|
634
|
+
m[7] == "true" ? h ? h.p(m, y) : (h = X(m), h.c(), h.m(e, r)) : h && (h.d(1), h = null), J === (J = A(m)) && k ? k.p(m, y) : (k.d(1), k = J(m), k && (k.c(), k.m(e, s))), y[0] & /*title*/
|
|
604
635
|
2 && D(
|
|
605
|
-
|
|
636
|
+
o,
|
|
606
637
|
/*title*/
|
|
607
638
|
m[1]
|
|
608
639
|
), /*startdate*/
|
|
609
|
-
m[2] ? g ? g.p(m,
|
|
610
|
-
m[12] ? d ? d.p(m,
|
|
640
|
+
m[2] ? g ? g.p(m, y) : (g = ee(m), g.c(), g.m(l, w)) : g && (g.d(1), g = null), /*isLoggedIn*/
|
|
641
|
+
m[12] ? d ? d.p(m, y) : (d = te(m), d.c(), d.m(l, null)) : d && (d.d(1), d = null);
|
|
611
642
|
},
|
|
612
643
|
i: q,
|
|
613
644
|
o: q,
|
|
614
645
|
d(m) {
|
|
615
|
-
m &&
|
|
646
|
+
m && z(e), f && f.d(), h && h.d(), k.d(), g && g.d(), d && d.d(), i[29](null);
|
|
616
647
|
}
|
|
617
648
|
};
|
|
618
649
|
}
|
|
619
650
|
function De(i, e, t) {
|
|
620
651
|
let r;
|
|
621
652
|
pe(i, Te, (a) => t(16, r = a));
|
|
622
|
-
let { session: s = "" } = e, { userid:
|
|
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 = "", j = !1, I = "", N = "", p = "";
|
|
623
654
|
const T = () => {
|
|
624
|
-
fetch(_).then((
|
|
625
|
-
Object.keys(
|
|
626
|
-
|
|
655
|
+
fetch(_).then((C) => C.json()).then((C) => {
|
|
656
|
+
Object.keys(C).forEach((W) => {
|
|
657
|
+
Y(W, C[W]);
|
|
627
658
|
});
|
|
628
|
-
}).catch((
|
|
629
|
-
console.log(
|
|
659
|
+
}).catch((C) => {
|
|
660
|
+
console.log(C);
|
|
630
661
|
});
|
|
631
662
|
};
|
|
632
|
-
Object.keys(
|
|
633
|
-
|
|
663
|
+
Object.keys(Z).forEach((a) => {
|
|
664
|
+
Y(a, Z[a]);
|
|
634
665
|
});
|
|
635
666
|
const U = (a) => {
|
|
636
|
-
a.data && (a.data && a.data.type == "SessionID" && t(12,
|
|
667
|
+
a.data && (a.data && a.data.type == "SessionID" && t(12, j = !0), a.data.type == `TournamentStatus_${w}` && t(0, b = a.data.status));
|
|
637
668
|
}, P = () => {
|
|
638
669
|
const a = { month: "long" };
|
|
639
|
-
let
|
|
670
|
+
let C = new Date(o), W = new Intl.DateTimeFormat("en", a).format(C), oe = C.getDate(), le = C.toLocaleString("en-GB", {
|
|
640
671
|
hour: "numeric",
|
|
641
672
|
minute: "numeric",
|
|
642
673
|
hour12: !1
|
|
643
674
|
});
|
|
644
675
|
const ue = () => r(b === "Running" ? "startedAt" : "startingAt");
|
|
645
|
-
t(11, B = `${
|
|
676
|
+
t(11, B = `${oe} ` + r(`${W}`) + ", " + ue() + ` ${le}`);
|
|
646
677
|
}, x = () => {
|
|
647
678
|
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");
|
|
648
679
|
}, G = () => {
|
|
649
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"));
|
|
650
|
-
}, V = (a,
|
|
651
|
-
window.postMessage({ type: "tournamentGamesClicked", tourId:
|
|
681
|
+
}, V = (a, C) => {
|
|
682
|
+
window.postMessage({ type: "tournamentGamesClicked", tourId: C }, window.location.href);
|
|
652
683
|
}, ie = () => {
|
|
653
|
-
s.length > 0 && s != "false" ? t(12,
|
|
684
|
+
s.length > 0 && s != "false" ? t(12, j = !0) : t(12, j = !1);
|
|
654
685
|
}, ae = () => {
|
|
655
686
|
let a = document.createElement("style");
|
|
656
|
-
a.innerHTML =
|
|
687
|
+
a.innerHTML = y, R.appendChild(a);
|
|
657
688
|
}, re = () => {
|
|
658
|
-
let a = new URL(E),
|
|
659
|
-
fetch(a.href).then((
|
|
660
|
-
|
|
689
|
+
let a = new URL(E), C = document.createElement("style");
|
|
690
|
+
fetch(a.href).then((W) => W.text()).then((W) => {
|
|
691
|
+
C.innerHTML = W, setTimeout(
|
|
661
692
|
() => {
|
|
662
|
-
R.appendChild(
|
|
693
|
+
R.appendChild(C);
|
|
663
694
|
},
|
|
664
695
|
1
|
|
665
696
|
), setTimeout(
|
|
@@ -669,11 +700,11 @@ function De(i, e, t) {
|
|
|
669
700
|
);
|
|
670
701
|
});
|
|
671
702
|
};
|
|
672
|
-
|
|
703
|
+
ye(() => (setTimeout(() => H(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
|
|
673
704
|
window.removeEventListener("message", U);
|
|
674
705
|
}));
|
|
675
706
|
const H = () => {
|
|
676
|
-
|
|
707
|
+
Me(d), G(), x(), o && P();
|
|
677
708
|
}, ne = () => V();
|
|
678
709
|
function se(a) {
|
|
679
710
|
_e[a ? "unshift" : "push"](() => {
|
|
@@ -681,31 +712,31 @@ function De(i, e, t) {
|
|
|
681
712
|
});
|
|
682
713
|
}
|
|
683
714
|
return i.$$set = (a) => {
|
|
684
|
-
"session" in a && t(21, s = a.session), "userid" in a && t(22,
|
|
715
|
+
"session" in a && t(21, s = a.session), "userid" in a && t(22, l = a.userid), "title" in a && t(1, n = a.title), "startdate" in a && t(2, o = 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, k = 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, y = a.clientstyling), "clientstylingurl" in a && t(26, E = a.clientstylingurl), "translationurl" in a && t(27, _ = a.translationurl);
|
|
685
716
|
}, i.$$.update = () => {
|
|
686
717
|
i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
687
|
-
33555456 && R &&
|
|
718
|
+
33555456 && R && y && ae(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
688
719
|
67109888 && R && E && re(), i.$$.dirty[0] & /*translationurl*/
|
|
689
720
|
134217728 && _ && T(), i.$$.dirty[0] & /*session*/
|
|
690
721
|
2097152 && s && ie(), i.$$.dirty[0] & /*status*/
|
|
691
722
|
1 && b && x(), i.$$.dirty[0] & /*title, lang*/
|
|
692
723
|
16777218 && n && d && H(), i.$$.dirty[0] & /*startdate*/
|
|
693
|
-
4 &&
|
|
724
|
+
4 && o && P(), i.$$.dirty[0] & /*scorecriteria*/
|
|
694
725
|
8388608 && A && G();
|
|
695
726
|
}, [
|
|
696
727
|
b,
|
|
697
728
|
n,
|
|
698
|
-
|
|
729
|
+
o,
|
|
699
730
|
w,
|
|
700
731
|
f,
|
|
701
732
|
h,
|
|
702
733
|
J,
|
|
703
|
-
|
|
734
|
+
k,
|
|
704
735
|
g,
|
|
705
736
|
m,
|
|
706
737
|
R,
|
|
707
738
|
B,
|
|
708
|
-
|
|
739
|
+
j,
|
|
709
740
|
I,
|
|
710
741
|
N,
|
|
711
742
|
p,
|
|
@@ -715,17 +746,17 @@ function De(i, e, t) {
|
|
|
715
746
|
G,
|
|
716
747
|
V,
|
|
717
748
|
s,
|
|
718
|
-
|
|
749
|
+
l,
|
|
719
750
|
A,
|
|
720
751
|
d,
|
|
721
|
-
|
|
752
|
+
y,
|
|
722
753
|
E,
|
|
723
754
|
_,
|
|
724
755
|
ne,
|
|
725
756
|
se
|
|
726
757
|
];
|
|
727
758
|
}
|
|
728
|
-
class
|
|
759
|
+
class Fe extends ce {
|
|
729
760
|
constructor(e) {
|
|
730
761
|
super(), ge(
|
|
731
762
|
this,
|
|
@@ -752,7 +783,7 @@ class ze extends ce {
|
|
|
752
783
|
clientstylingurl: 26,
|
|
753
784
|
translationurl: 27
|
|
754
785
|
},
|
|
755
|
-
|
|
786
|
+
ve,
|
|
756
787
|
[-1, -1]
|
|
757
788
|
);
|
|
758
789
|
}
|
|
@@ -760,106 +791,106 @@ class ze extends ce {
|
|
|
760
791
|
return this.$$.ctx[21];
|
|
761
792
|
}
|
|
762
793
|
set session(e) {
|
|
763
|
-
this.$$set({ session: e }),
|
|
794
|
+
this.$$set({ session: e }), S();
|
|
764
795
|
}
|
|
765
796
|
get userid() {
|
|
766
797
|
return this.$$.ctx[22];
|
|
767
798
|
}
|
|
768
799
|
set userid(e) {
|
|
769
|
-
this.$$set({ userid: e }),
|
|
800
|
+
this.$$set({ userid: e }), S();
|
|
770
801
|
}
|
|
771
802
|
get title() {
|
|
772
803
|
return this.$$.ctx[1];
|
|
773
804
|
}
|
|
774
805
|
set title(e) {
|
|
775
|
-
this.$$set({ title: e }),
|
|
806
|
+
this.$$set({ title: e }), S();
|
|
776
807
|
}
|
|
777
808
|
get startdate() {
|
|
778
809
|
return this.$$.ctx[2];
|
|
779
810
|
}
|
|
780
811
|
set startdate(e) {
|
|
781
|
-
this.$$set({ startdate: e }),
|
|
812
|
+
this.$$set({ startdate: e }), S();
|
|
782
813
|
}
|
|
783
814
|
get status() {
|
|
784
815
|
return this.$$.ctx[0];
|
|
785
816
|
}
|
|
786
817
|
set status(e) {
|
|
787
|
-
this.$$set({ status: e }),
|
|
818
|
+
this.$$set({ status: e }), S();
|
|
788
819
|
}
|
|
789
820
|
get tourid() {
|
|
790
821
|
return this.$$.ctx[3];
|
|
791
822
|
}
|
|
792
823
|
set tourid(e) {
|
|
793
|
-
this.$$set({ tourid: e }),
|
|
824
|
+
this.$$set({ tourid: e }), S();
|
|
794
825
|
}
|
|
795
826
|
get thumbnail() {
|
|
796
827
|
return this.$$.ctx[4];
|
|
797
828
|
}
|
|
798
829
|
set thumbnail(e) {
|
|
799
|
-
this.$$set({ thumbnail: e }),
|
|
830
|
+
this.$$set({ thumbnail: e }), S();
|
|
800
831
|
}
|
|
801
832
|
get userenrolled() {
|
|
802
833
|
return this.$$.ctx[5];
|
|
803
834
|
}
|
|
804
835
|
set userenrolled(e) {
|
|
805
|
-
this.$$set({ userenrolled: e }),
|
|
836
|
+
this.$$set({ userenrolled: e }), S();
|
|
806
837
|
}
|
|
807
838
|
get scorecriteria() {
|
|
808
839
|
return this.$$.ctx[23];
|
|
809
840
|
}
|
|
810
841
|
set scorecriteria(e) {
|
|
811
|
-
this.$$set({ scorecriteria: e }),
|
|
842
|
+
this.$$set({ scorecriteria: e }), S();
|
|
812
843
|
}
|
|
813
844
|
get minbetcount() {
|
|
814
845
|
return this.$$.ctx[6];
|
|
815
846
|
}
|
|
816
847
|
set minbetcount(e) {
|
|
817
|
-
this.$$set({ minbetcount: e }),
|
|
848
|
+
this.$$set({ minbetcount: e }), S();
|
|
818
849
|
}
|
|
819
850
|
get showenrolled() {
|
|
820
851
|
return this.$$.ctx[7];
|
|
821
852
|
}
|
|
822
853
|
set showenrolled(e) {
|
|
823
|
-
this.$$set({ showenrolled: e }),
|
|
854
|
+
this.$$set({ showenrolled: e }), S();
|
|
824
855
|
}
|
|
825
856
|
get gameurl() {
|
|
826
857
|
return this.$$.ctx[8];
|
|
827
858
|
}
|
|
828
859
|
set gameurl(e) {
|
|
829
|
-
this.$$set({ gameurl: e }),
|
|
860
|
+
this.$$set({ gameurl: e }), S();
|
|
830
861
|
}
|
|
831
862
|
get lang() {
|
|
832
863
|
return this.$$.ctx[24];
|
|
833
864
|
}
|
|
834
865
|
set lang(e) {
|
|
835
|
-
this.$$set({ lang: e }),
|
|
866
|
+
this.$$set({ lang: e }), S();
|
|
836
867
|
}
|
|
837
868
|
get keepbrowsercontext() {
|
|
838
869
|
return this.$$.ctx[9];
|
|
839
870
|
}
|
|
840
871
|
set keepbrowsercontext(e) {
|
|
841
|
-
this.$$set({ keepbrowsercontext: e }),
|
|
872
|
+
this.$$set({ keepbrowsercontext: e }), S();
|
|
842
873
|
}
|
|
843
874
|
get clientstyling() {
|
|
844
875
|
return this.$$.ctx[25];
|
|
845
876
|
}
|
|
846
877
|
set clientstyling(e) {
|
|
847
|
-
this.$$set({ clientstyling: e }),
|
|
878
|
+
this.$$set({ clientstyling: e }), S();
|
|
848
879
|
}
|
|
849
880
|
get clientstylingurl() {
|
|
850
881
|
return this.$$.ctx[26];
|
|
851
882
|
}
|
|
852
883
|
set clientstylingurl(e) {
|
|
853
|
-
this.$$set({ clientstylingurl: e }),
|
|
884
|
+
this.$$set({ clientstylingurl: e }), S();
|
|
854
885
|
}
|
|
855
886
|
get translationurl() {
|
|
856
887
|
return this.$$.ctx[27];
|
|
857
888
|
}
|
|
858
889
|
set translationurl(e) {
|
|
859
|
-
this.$$set({ translationurl: e }),
|
|
890
|
+
this.$$set({ translationurl: e }), S();
|
|
860
891
|
}
|
|
861
892
|
}
|
|
862
|
-
be(
|
|
893
|
+
be(Fe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
863
894
|
export {
|
|
864
|
-
|
|
895
|
+
Fe as default
|
|
865
896
|
};
|