@everymatrix/casino-tournaments-controller 1.45.7 → 1.45.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/components/{CasinoTournamentsController-CQ5C1jDl.cjs → CasinoTournamentsController-C-KFF5ja.cjs} +1 -1
  2. package/components/{CasinoTournamentsController-Cr8b4j7l.js → CasinoTournamentsController-CwoV5JAv.js} +2 -2
  3. package/components/{CasinoTournamentsFilterController-Chy_sE0V.js → CasinoTournamentsFilterController-Avy9JgA8.js} +1 -1
  4. package/components/{CasinoTournamentsFilterController-BtuK-ddv.cjs → CasinoTournamentsFilterController-DnQQ0cGj.cjs} +1 -1
  5. package/components/{CasinoTournamentsListController-BinvLjvx.cjs → CasinoTournamentsListController-Bp4JWrU7.cjs} +2 -2
  6. package/components/{CasinoTournamentsListController-DXHqP9An.js → CasinoTournamentsListController-CKTF0IWN.js} +2 -2
  7. package/components/{CasinoTournamentsThumbnail-BFS6MlWH.js → CasinoTournamentsThumbnail-6t2KVgma.js} +228 -236
  8. package/components/CasinoTournamentsThumbnail-hQ8xUbjB.cjs +4 -0
  9. package/components/CasinoTournamentsThumbnailController-CXIDt-sw.cjs +1 -0
  10. package/components/{CasinoTournamentsThumbnailController-NEf6XMRB.js → CasinoTournamentsThumbnailController-ThAV22ql.js} +241 -257
  11. package/components/{CasinoTournamentsThumbnailDuration-CrS_PUCZ.cjs → CasinoTournamentsThumbnailDuration-B29fLKCn.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailDuration-bu3Mm2Ay.js → CasinoTournamentsThumbnailDuration-DHSazYF4.js} +1 -1
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-_haSuIUI.js → CasinoTournamentsThumbnailGamesSlider-BMmV6NUp.js} +1 -1
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-DNrAc-zm.cjs → CasinoTournamentsThumbnailGamesSlider-KtHgAJwO.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailPrizes-BRcfU1P4.js → CasinoTournamentsThumbnailPrizes-BWutKVaA.js} +1 -1
  16. package/components/{CasinoTournamentsThumbnailPrizes-E5pafLaj.cjs → CasinoTournamentsThumbnailPrizes-Bwyz_Aix.cjs} +1 -1
  17. package/es2015/casino-tournaments-controller.cjs +1 -1
  18. package/es2015/casino-tournaments-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoTournamentsThumbnail-CM3Rfdn3.cjs +0 -4
  21. package/components/CasinoTournamentsThumbnailController-C71hXcQP.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { a as me, z as de, S as ce, i as ge, f as C, c as be, s as fe, b as he, e as v, m as W, t as M, d as u, h as j, o as c, p as D, n as q, j as z, k as pe, w as ke, A as B, x as ye, B as Ce, r as Se, C as Ae, u as _e, D as x, $ as Te } from "./CasinoTournamentsController-Cr8b4j7l.js";
2
- function Y(i, e) {
3
- me(i, e);
1
+ import { a as ue, z as me, S as de, i as ce, f as C, c as ge, s as be, b as fe, e as _, m as N, t as M, d as m, h as D, o as c, p as J, n as H, j, k as he, w as pe, A as L, x as ye, B as ke, r as Ce, C as Se, u as Ae, D as U, $ as _e } from "./CasinoTournamentsController-CwoV5JAv.js";
2
+ function V(i, e) {
3
+ ue(i, e);
4
4
  }
5
- function ve(i) {
6
- de.set(i);
5
+ function Te(i) {
6
+ me.set(i);
7
7
  }
8
- const Z = {
8
+ const q = {
9
9
  en: {
10
10
  enrolled: "Enrolled",
11
11
  scoreCriteria: "Score Criteria",
@@ -306,161 +306,161 @@ const Z = {
306
306
  December: "December"
307
307
  }
308
308
  };
309
- function Me(i) {
310
- he(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}');
309
+ function ve(i) {
310
+ fe(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}');
311
311
  }
312
- function Q(i) {
312
+ function Y(i) {
313
313
  let e, t, r, s, o, n;
314
314
  return {
315
315
  c() {
316
- e = v("div"), t = M(
316
+ e = _("div"), t = M(
317
317
  /*shownStatus*/
318
- i[13]
319
- ), u(e, "class", r = "Status " + /*statusClass*/
320
- i[15]), u(e, "part", s = "Status " + /*statusClass*/
321
- i[15]);
318
+ i[10]
319
+ ), m(e, "class", r = "Status " + /*statusClass*/
320
+ i[12]), m(e, "part", s = "Status " + /*statusClass*/
321
+ i[12]);
322
322
  },
323
323
  m(l, b) {
324
- j(l, e, b), c(e, t), o || (n = B(
324
+ D(l, e, b), c(e, t), o || (n = L(
325
325
  /*matchStatus*/
326
- i[18].call(null, e)
326
+ i[15].call(null, e)
327
327
  ), o = !0);
328
328
  },
329
329
  p(l, b) {
330
330
  b[0] & /*shownStatus*/
331
- 8192 && D(
331
+ 1024 && J(
332
332
  t,
333
333
  /*shownStatus*/
334
- l[13]
334
+ l[10]
335
335
  ), b[0] & /*statusClass*/
336
- 32768 && r !== (r = "Status " + /*statusClass*/
337
- l[15]) && u(e, "class", r), b[0] & /*statusClass*/
338
- 32768 && s !== (s = "Status " + /*statusClass*/
339
- l[15]) && u(e, "part", s);
336
+ 4096 && r !== (r = "Status " + /*statusClass*/
337
+ l[12]) && m(e, "class", r), b[0] & /*statusClass*/
338
+ 4096 && s !== (s = "Status " + /*statusClass*/
339
+ l[12]) && m(e, "part", s);
340
340
  },
341
341
  d(l) {
342
- l && z(e), o = !1, n();
342
+ l && j(e), o = !1, n();
343
343
  }
344
344
  };
345
345
  }
346
- function X(i) {
346
+ function Z(i) {
347
347
  let e, t = (
348
348
  /*userenrolled*/
349
- i[5] && $(i)
349
+ i[4] && Q(i)
350
350
  );
351
351
  return {
352
352
  c() {
353
353
  t && t.c(), e = ye();
354
354
  },
355
355
  m(r, s) {
356
- t && t.m(r, s), j(r, e, s);
356
+ t && t.m(r, s), D(r, e, s);
357
357
  },
358
358
  p(r, s) {
359
359
  /*userenrolled*/
360
- r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
360
+ r[4] ? t ? t.p(r, s) : (t = Q(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
361
361
  },
362
362
  d(r) {
363
- r && z(e), t && t.d(r);
363
+ r && j(e), t && t.d(r);
364
364
  }
365
365
  };
366
366
  }
367
- function $(i) {
367
+ function Q(i) {
368
368
  let e, t = (
369
369
  /*$_*/
370
- i[16]("enrolled") + ""
370
+ i[13]("enrolled") + ""
371
371
  ), r;
372
372
  return {
373
373
  c() {
374
- e = v("div"), r = M(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
374
+ e = _("div"), r = M(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
375
375
  },
376
376
  m(s, o) {
377
- j(s, e, o), c(e, r);
377
+ D(s, e, o), c(e, r);
378
378
  },
379
379
  p(s, o) {
380
380
  o[0] & /*$_*/
381
- 65536 && t !== (t = /*$_*/
382
- s[16]("enrolled") + "") && D(r, t);
381
+ 8192 && t !== (t = /*$_*/
382
+ s[13]("enrolled") + "") && J(r, t);
383
383
  },
384
384
  d(s) {
385
- s && z(e);
385
+ s && j(e);
386
386
  }
387
387
  };
388
388
  }
389
- function we(i) {
389
+ function Me(i) {
390
390
  let e, t, r, s, o;
391
391
  return {
392
392
  c() {
393
- e = v("div"), u(e, "class", t = "CardImg " + /*status*/
393
+ e = _("div"), m(e, "class", t = "CardImg " + /*status*/
394
394
  (i[0] == "Closing" || /*status*/
395
- i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
395
+ i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", r = "CardImg " + /*status*/
396
396
  (i[0] == "Closing" || /*status*/
397
- i[0] == "Closed" ? "CardImgFinished" : "")), x(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
397
+ i[0] == "Closed" ? "CardImgFinished" : "")), U(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
398
398
  },
399
399
  m(n, l) {
400
- j(n, e, l), s || (o = B(
400
+ D(n, e, l), s || (o = L(
401
401
  /*matchStatus*/
402
- i[18].call(null, e)
402
+ i[15].call(null, e)
403
403
  ), s = !0);
404
404
  },
405
405
  p(n, l) {
406
406
  l[0] & /*status*/
407
407
  1 && t !== (t = "CardImg " + /*status*/
408
408
  (n[0] == "Closing" || /*status*/
409
- n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
409
+ n[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", t), l[0] & /*status*/
410
410
  1 && r !== (r = "CardImg " + /*status*/
411
411
  (n[0] == "Closing" || /*status*/
412
- n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
412
+ n[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", r);
413
413
  },
414
414
  d(n) {
415
- n && z(e), s = !1, o();
415
+ n && j(e), s = !1, o();
416
416
  }
417
417
  };
418
418
  }
419
- function Re(i) {
419
+ function we(i) {
420
420
  let e, t, r, s, o;
421
421
  return {
422
422
  c() {
423
- e = v("div"), u(e, "class", t = "CardImg " + /*status*/
423
+ e = _("div"), m(e, "class", t = "CardImg " + /*status*/
424
424
  (i[0] == "Closing" || /*status*/
425
- i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
425
+ i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", r = "CardImg " + /*status*/
426
426
  (i[0] == "Closing" || /*status*/
427
- i[0] == "Closed" ? "CardImgFinished" : "")), x(e, "background-image", "url('" + /*thumbnail*/
428
- i[4] + "')");
427
+ i[0] == "Closed" ? "CardImgFinished" : "")), U(e, "background-image", "url('" + /*thumbnail*/
428
+ i[3] + "')");
429
429
  },
430
430
  m(n, l) {
431
- j(n, e, l), s || (o = B(
431
+ D(n, e, l), s || (o = L(
432
432
  /*matchStatus*/
433
- i[18].call(null, e)
433
+ i[15].call(null, e)
434
434
  ), s = !0);
435
435
  },
436
436
  p(n, l) {
437
437
  l[0] & /*status*/
438
438
  1 && t !== (t = "CardImg " + /*status*/
439
439
  (n[0] == "Closing" || /*status*/
440
- n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
440
+ n[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", t), l[0] & /*status*/
441
441
  1 && r !== (r = "CardImg " + /*status*/
442
442
  (n[0] == "Closing" || /*status*/
443
- n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r), l[0] & /*thumbnail*/
444
- 16 && x(e, "background-image", "url('" + /*thumbnail*/
445
- n[4] + "')");
443
+ n[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", r), l[0] & /*thumbnail*/
444
+ 8 && U(e, "background-image", "url('" + /*thumbnail*/
445
+ n[3] + "')");
446
446
  },
447
447
  d(n) {
448
- n && z(e), s = !1, o();
448
+ n && j(e), s = !1, o();
449
449
  }
450
450
  };
451
451
  }
452
- function ee(i) {
452
+ function X(i) {
453
453
  let e, t, r, s, o;
454
454
  return {
455
455
  c() {
456
- e = v("div"), t = M(
456
+ e = _("div"), t = M(
457
457
  /*shownDate*/
458
- i[11]
459
- ), u(e, "class", "Date"), u(e, "part", "Date");
458
+ i[8]
459
+ ), m(e, "class", "Date"), m(e, "part", "Date");
460
460
  },
461
461
  m(n, l) {
462
- j(n, e, l), c(e, t), s || (o = B(r = /*formatDate*/
463
- i[17].call(
462
+ D(n, e, l), c(e, t), s || (o = L(r = /*formatDate*/
463
+ i[14].call(
464
464
  null,
465
465
  e,
466
466
  /*startdate*/
@@ -469,11 +469,11 @@ function ee(i) {
469
469
  },
470
470
  p(n, l) {
471
471
  l[0] & /*shownDate*/
472
- 2048 && D(
472
+ 256 && J(
473
473
  t,
474
474
  /*shownDate*/
475
- n[11]
476
- ), r && Ce(r.update) && l[0] & /*startdate*/
475
+ n[8]
476
+ ), r && ke(r.update) && l[0] & /*startdate*/
477
477
  4 && r.update.call(
478
478
  null,
479
479
  /*startdate*/
@@ -481,185 +481,178 @@ function ee(i) {
481
481
  );
482
482
  },
483
483
  d(n) {
484
- n && z(e), s = !1, o();
484
+ n && j(e), s = !1, o();
485
485
  }
486
486
  };
487
487
  }
488
- function te(i) {
488
+ function $(i) {
489
489
  let e, t, r = (
490
490
  /*$_*/
491
- i[16]("scoreCriteria") + ""
492
- ), s, o, n, l, b, w = (
491
+ i[13]("scoreCriteria") + ""
492
+ ), s, o, n, l, b, T = (
493
493
  /*$_*/
494
- i[16]("minbet") + ""
495
- ), f, h, A, J, y, g, d, m = (
494
+ i[13]("minbet") + ""
495
+ ), f, h, A, R, k, g, d, u = (
496
496
  /*$_*/
497
- i[16]("seegames") + ""
498
- ), k, E, _, R = (
497
+ i[13]("seegames") + ""
498
+ ), p, O, z, w = (
499
499
  /*$_*/
500
- i[16]("here") + ""
501
- ), P, F, I, N;
500
+ i[13]("here") + ""
501
+ ), E, I, W;
502
502
  return {
503
503
  c() {
504
- e = v("div"), t = v("p"), s = M(r), o = M(`:
504
+ e = _("div"), t = _("p"), s = M(r), o = M(`:
505
505
 
506
- `), n = v("span"), l = M(
506
+ `), n = _("span"), l = M(
507
507
  /*showScoreCriteria*/
508
- i[14]
508
+ i[11]
509
509
  ), b = M(`
510
- (`), f = M(w), h = W(), A = M(
510
+ (`), f = M(T), h = N(), A = M(
511
511
  /*minbetcount*/
512
- i[6]
513
- ), 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(
514
- _,
515
- "href",
516
- /*gameurl*/
517
- i[8]
518
- ), u(_, "target", F = /*keepbrowsercontext*/
519
- i[9] === "true" ? "_self" : "_blank"), u(d, "part", "GamesP"), u(g, "class", "Games"), u(g, "part", "Games");
512
+ i[5]
513
+ ), R = M(")"), k = N(), g = _("div"), d = _("p"), p = M(u), O = N(), z = _("span"), E = M(w), m(n, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(d, "part", "GamesP"), m(g, "class", "Games"), m(g, "part", "Games");
520
514
  },
521
- m(p, T) {
522
- 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 = [
523
- B(
515
+ m(y, S) {
516
+ D(y, e, S), 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, R), D(y, k, S), D(y, g, S), c(g, d), c(d, p), c(d, O), c(d, z), c(z, E), I || (W = [
517
+ L(
524
518
  /*matchScoreCriteria*/
525
- i[19].call(null, n)
519
+ i[16].call(null, n)
526
520
  ),
527
- Se(
528
- _,
521
+ Ce(
522
+ z,
529
523
  "click",
530
- /*click_handler*/
531
- i[28]
524
+ /*tournamentGamesClicked*/
525
+ i[17]
532
526
  )
533
527
  ], I = !0);
534
528
  },
535
- p(p, T) {
536
- T[0] & /*$_*/
537
- 65536 && r !== (r = /*$_*/
538
- p[16]("scoreCriteria") + "") && D(s, r), T[0] & /*showScoreCriteria*/
539
- 16384 && D(
529
+ p(y, S) {
530
+ S[0] & /*$_*/
531
+ 8192 && r !== (r = /*$_*/
532
+ y[13]("scoreCriteria") + "") && J(s, r), S[0] & /*showScoreCriteria*/
533
+ 2048 && J(
540
534
  l,
541
535
  /*showScoreCriteria*/
542
- p[14]
543
- ), T[0] & /*$_*/
544
- 65536 && w !== (w = /*$_*/
545
- p[16]("minbet") + "") && D(f, w), T[0] & /*minbetcount*/
546
- 64 && D(
536
+ y[11]
537
+ ), S[0] & /*$_*/
538
+ 8192 && T !== (T = /*$_*/
539
+ y[13]("minbet") + "") && J(f, T), S[0] & /*minbetcount*/
540
+ 32 && J(
547
541
  A,
548
542
  /*minbetcount*/
549
- p[6]
550
- ), T[0] & /*$_*/
551
- 65536 && m !== (m = /*$_*/
552
- p[16]("seegames") + "") && D(k, m), T[0] & /*$_*/
553
- 65536 && R !== (R = /*$_*/
554
- p[16]("here") + "") && D(P, R), T[0] & /*gameurl*/
555
- 256 && u(
556
- _,
557
- "href",
558
- /*gameurl*/
559
- p[8]
560
- ), T[0] & /*keepbrowsercontext*/
561
- 512 && F !== (F = /*keepbrowsercontext*/
562
- p[9] === "true" ? "_self" : "_blank") && u(_, "target", F);
543
+ y[5]
544
+ ), S[0] & /*$_*/
545
+ 8192 && u !== (u = /*$_*/
546
+ y[13]("seegames") + "") && J(p, u), S[0] & /*$_*/
547
+ 8192 && w !== (w = /*$_*/
548
+ y[13]("here") + "") && J(E, w);
563
549
  },
564
- d(p) {
565
- p && (z(e), z(y), z(g)), I = !1, Ae(N);
550
+ d(y) {
551
+ y && (j(e), j(k), j(g)), I = !1, Se(W);
566
552
  }
567
553
  };
568
554
  }
569
- function Je(i) {
570
- let e, t, r, s, o, n, l, b, w, f = (
555
+ function Re(i) {
556
+ let e, t, r, s, o, n, l, b, T, f = (
571
557
  /*status*/
572
- i[0] && Q(i)
558
+ i[0] && Y(i)
573
559
  ), h = (
574
560
  /*showenrolled*/
575
- i[7] == "true" && X(i)
561
+ i[6] == "true" && Z(i)
576
562
  );
577
- function A(m, k) {
563
+ function A(u, p) {
578
564
  return (
579
565
  /*thumbnail*/
580
- m[4] ? Re : we
566
+ u[3] ? we : Me
581
567
  );
582
568
  }
583
- let J = A(i), y = J(i), g = (
569
+ let R = A(i), k = R(i), g = (
584
570
  /*startdate*/
585
- i[2] && ee(i)
571
+ i[2] && X(i)
586
572
  ), d = (
587
573
  /*isLoggedIn*/
588
- i[12] && te(i)
574
+ i[9] && $(i)
589
575
  );
590
576
  return {
591
577
  c() {
592
- 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(
578
+ e = _("div"), f && f.c(), t = N(), h && h.c(), r = N(), k.c(), s = N(), o = _("div"), n = _("div"), l = M(
593
579
  /*title*/
594
580
  i[1]
595
- ), 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");
581
+ ), b = N(), g && g.c(), T = N(), d && d.c(), m(n, "class", "Title"), m(n, "part", "Title"), m(o, "class", "Details"), m(o, "part", "Details"), m(e, "class", "Thumbnail"), m(e, "part", "Thumbnail");
596
582
  },
597
- m(m, k) {
598
- 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);
583
+ m(u, p) {
584
+ D(u, e, p), 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, o), c(o, n), c(n, l), c(o, b), g && g.m(o, null), c(o, T), d && d.m(o, null), i[28](e);
599
585
  },
600
- p(m, k) {
586
+ p(u, p) {
601
587
  /*status*/
602
- m[0] ? f ? f.p(m, k) : (f = Q(m), f.c(), f.m(e, t)) : f && (f.d(1), f = null), /*showenrolled*/
603
- 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*/
604
- 2 && D(
588
+ u[0] ? f ? f.p(u, p) : (f = Y(u), f.c(), f.m(e, t)) : f && (f.d(1), f = null), /*showenrolled*/
589
+ u[6] == "true" ? h ? h.p(u, p) : (h = Z(u), h.c(), h.m(e, r)) : h && (h.d(1), h = null), R === (R = A(u)) && k ? k.p(u, p) : (k.d(1), k = R(u), k && (k.c(), k.m(e, s))), p[0] & /*title*/
590
+ 2 && J(
605
591
  l,
606
592
  /*title*/
607
- m[1]
593
+ u[1]
608
594
  ), /*startdate*/
609
- m[2] ? g ? g.p(m, k) : (g = ee(m), g.c(), g.m(o, w)) : g && (g.d(1), g = null), /*isLoggedIn*/
610
- m[12] ? d ? d.p(m, k) : (d = te(m), d.c(), d.m(o, null)) : d && (d.d(1), d = null);
595
+ u[2] ? g ? g.p(u, p) : (g = X(u), g.c(), g.m(o, T)) : g && (g.d(1), g = null), /*isLoggedIn*/
596
+ u[9] ? d ? d.p(u, p) : (d = $(u), d.c(), d.m(o, null)) : d && (d.d(1), d = null);
611
597
  },
612
- i: q,
613
- o: q,
614
- d(m) {
615
- m && z(e), f && f.d(), h && h.d(), y.d(), g && g.d(), d && d.d(), i[29](null);
598
+ i: H,
599
+ o: H,
600
+ d(u) {
601
+ u && j(e), f && f.d(), h && h.d(), k.d(), g && g.d(), d && d.d(), i[28](null);
616
602
  }
617
603
  };
618
604
  }
619
- function De(i, e, t) {
605
+ function Je(i, e, t) {
620
606
  let r;
621
- pe(i, Te, (a) => t(16, r = a));
622
- 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 = "";
623
- const T = () => {
624
- fetch(_).then((S) => S.json()).then((S) => {
625
- Object.keys(S).forEach((O) => {
626
- Y(O, S[O]);
607
+ he(i, _e, (a) => t(13, r = a));
608
+ let { session: s = "" } = e, { userid: o = "" } = e, { title: n = "" } = e, { startdate: l = "" } = e, { status: b = "" } = e, { tourid: T = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: R = "" } = e, { showenrolled: k = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: u = "false" } = e, { clientstyling: p = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: z = "" } = e, w, E = "", I = !1, W = "", y = "", S = "";
609
+ const ee = () => {
610
+ fetch(z).then((v) => v.json()).then((v) => {
611
+ Object.keys(v).forEach((F) => {
612
+ V(F, v[F]);
627
613
  });
628
- }).catch((S) => {
629
- console.log(S);
614
+ }).catch((v) => {
615
+ console.log(v);
630
616
  });
631
617
  };
632
- Object.keys(Z).forEach((a) => {
633
- Y(a, Z[a]);
618
+ Object.keys(q).forEach((a) => {
619
+ V(a, q[a]);
634
620
  });
635
621
  const K = (a) => {
636
- a.data && (a.data && a.data.type == "SessionID" && t(12, F = !0), a.data.type == `TournamentStatus_${w}` && t(0, b = a.data.status));
637
- }, L = () => {
622
+ a.data && (a.data && a.data.type == "SessionID" && t(9, I = !0), a.data.type == `TournamentStatus_${T}` && t(0, b = a.data.status));
623
+ }, P = () => {
638
624
  const a = { month: "long" };
639
- let S = new Date(l), O = new Intl.DateTimeFormat("en", a).format(S), le = S.getDate(), oe = S.toLocaleString("en-GB", {
625
+ let v = new Date(l), F = new Intl.DateTimeFormat("en", a).format(v), se = v.getDate(), le = v.toLocaleString("en-GB", {
640
626
  hour: "numeric",
641
627
  minute: "numeric",
642
628
  hour12: !1
643
629
  });
644
- const ue = () => r(b === "Running" ? "startedAt" : "startingAt");
645
- t(11, P = `${le} ` + r(`${O}`) + ", " + ue() + ` ${oe}`);
646
- }, U = () => {
647
- 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
- }, G = () => {
649
- 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
- }, H = (a, S) => {
651
- window.postMessage({ type: "tournamentGamesClicked", tourId: S }, window.location.href);
630
+ const oe = () => r(b === "Running" ? "startedAt" : "startingAt");
631
+ t(8, E = `${se} ` + r(`${F}`) + ", " + oe() + ` ${le}`);
632
+ }, B = () => {
633
+ b == "Unstarted" && (t(10, W = r("scheduled")), t(12, S = "StatusUnstarted")), b == "Running" && (t(10, W = r("ongoing")), t(12, S = "StatusRunning")), (b == "Closed" || b == "Closing") && t(10, W = r("finished")), b == "Closed" && t(12, S = "StatusClosed"), b == "Closing" && t(12, S = "StatusClosing");
634
+ }, x = () => {
635
+ A == "BetCount" && t(11, y = r("betCount")), A == "MaxWinStakeRatio" && t(11, y = r("maxWinStakeRatio")), A == "WinStakeRatio" && t(11, y = r("winStakeRatio")), A == "Stake" && t(11, y = r("stake"));
636
+ }, te = () => {
637
+ window.postMessage(
638
+ {
639
+ type: "TournamentDetailsClicked",
640
+ tournamentId: T,
641
+ showLeaderboard: !0
642
+ },
643
+ window.location.href
644
+ );
652
645
  }, ie = () => {
653
- s.length > 0 && s != "false" ? t(12, F = !0) : t(12, F = !1);
646
+ s.length > 0 && s != "false" ? t(9, I = !0) : t(9, I = !1);
654
647
  }, ae = () => {
655
648
  let a = document.createElement("style");
656
- a.innerHTML = k, R.appendChild(a);
649
+ a.innerHTML = p, w.appendChild(a);
657
650
  }, re = () => {
658
- let a = new URL(E), S = document.createElement("style");
659
- fetch(a.href).then((O) => O.text()).then((O) => {
660
- S.innerHTML = O, setTimeout(
651
+ let a = new URL(O), v = document.createElement("style");
652
+ fetch(a.href).then((F) => F.text()).then((F) => {
653
+ v.innerHTML = F, setTimeout(
661
654
  () => {
662
- R.appendChild(S);
655
+ w.appendChild(v);
663
656
  },
664
657
  1
665
658
  ), setTimeout(
@@ -669,101 +662,100 @@ function De(i, e, t) {
669
662
  );
670
663
  });
671
664
  };
672
- ke(() => (setTimeout(() => V(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", K, !1), () => {
665
+ pe(() => (setTimeout(() => G(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", K, !1), () => {
673
666
  window.removeEventListener("message", K);
674
667
  }));
675
- const V = () => {
676
- ve(d), G(), U(), l && L();
677
- }, ne = () => H();
678
- function se(a) {
679
- _e[a ? "unshift" : "push"](() => {
680
- R = a, t(10, R);
668
+ const G = () => {
669
+ Te(d), x(), B(), l && P();
670
+ };
671
+ function ne(a) {
672
+ Ae[a ? "unshift" : "push"](() => {
673
+ w = a, t(7, w);
681
674
  });
682
675
  }
683
676
  return i.$$set = (a) => {
684
- "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);
677
+ "session" in a && t(18, s = a.session), "userid" in a && t(19, 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(20, T = a.tourid), "thumbnail" in a && t(3, f = a.thumbnail), "userenrolled" in a && t(4, h = a.userenrolled), "scorecriteria" in a && t(21, A = a.scorecriteria), "minbetcount" in a && t(5, R = a.minbetcount), "showenrolled" in a && t(6, k = a.showenrolled), "gameurl" in a && t(22, g = a.gameurl), "lang" in a && t(23, d = a.lang), "keepbrowsercontext" in a && t(24, u = a.keepbrowsercontext), "clientstyling" in a && t(25, p = a.clientstyling), "clientstylingurl" in a && t(26, O = a.clientstylingurl), "translationurl" in a && t(27, z = a.translationurl);
685
678
  }, i.$$.update = () => {
686
679
  i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
687
- 33555456 && R && k && ae(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
688
- 67109888 && R && E && re(), i.$$.dirty[0] & /*translationurl*/
689
- 134217728 && _ && T(), i.$$.dirty[0] & /*session*/
690
- 2097152 && s && ie(), i.$$.dirty[0] & /*status*/
691
- 1 && b && U(), i.$$.dirty[0] & /*title, lang*/
692
- 16777218 && n && d && V(), i.$$.dirty[0] & /*startdate*/
693
- 4 && l && L(), i.$$.dirty[0] & /*scorecriteria*/
694
- 8388608 && A && G();
680
+ 33554560 && w && p && ae(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
681
+ 67108992 && w && O && re(), i.$$.dirty[0] & /*translationurl*/
682
+ 134217728 && z && ee(), i.$$.dirty[0] & /*session*/
683
+ 262144 && s && ie(), i.$$.dirty[0] & /*status*/
684
+ 1 && b && B(), i.$$.dirty[0] & /*title, lang*/
685
+ 8388610 && n && d && G(), i.$$.dirty[0] & /*startdate*/
686
+ 4 && l && P(), i.$$.dirty[0] & /*scorecriteria*/
687
+ 2097152 && A && x();
695
688
  }, [
696
689
  b,
697
690
  n,
698
691
  l,
699
- w,
700
692
  f,
701
693
  h,
702
- J,
703
- y,
704
- g,
705
- m,
706
694
  R,
707
- P,
708
- F,
695
+ k,
696
+ w,
697
+ E,
709
698
  I,
710
- N,
711
- p,
699
+ W,
700
+ y,
701
+ S,
712
702
  r,
713
- L,
714
- U,
715
- G,
716
- H,
703
+ P,
704
+ B,
705
+ x,
706
+ te,
717
707
  s,
718
708
  o,
709
+ T,
719
710
  A,
711
+ g,
720
712
  d,
721
- k,
722
- E,
723
- _,
724
- ne,
725
- se
713
+ u,
714
+ p,
715
+ O,
716
+ z,
717
+ ne
726
718
  ];
727
719
  }
728
- class je extends ce {
720
+ class De extends de {
729
721
  constructor(e) {
730
- super(), ge(
722
+ super(), ce(
731
723
  this,
732
724
  e,
733
- De,
734
725
  Je,
735
- fe,
726
+ Re,
727
+ be,
736
728
  {
737
- session: 21,
738
- userid: 22,
729
+ session: 18,
730
+ userid: 19,
739
731
  title: 1,
740
732
  startdate: 2,
741
733
  status: 0,
742
- tourid: 3,
743
- thumbnail: 4,
744
- userenrolled: 5,
745
- scorecriteria: 23,
746
- minbetcount: 6,
747
- showenrolled: 7,
748
- gameurl: 8,
749
- lang: 24,
750
- keepbrowsercontext: 9,
734
+ tourid: 20,
735
+ thumbnail: 3,
736
+ userenrolled: 4,
737
+ scorecriteria: 21,
738
+ minbetcount: 5,
739
+ showenrolled: 6,
740
+ gameurl: 22,
741
+ lang: 23,
742
+ keepbrowsercontext: 24,
751
743
  clientstyling: 25,
752
744
  clientstylingurl: 26,
753
745
  translationurl: 27
754
746
  },
755
- Me,
747
+ ve,
756
748
  [-1, -1]
757
749
  );
758
750
  }
759
751
  get session() {
760
- return this.$$.ctx[21];
752
+ return this.$$.ctx[18];
761
753
  }
762
754
  set session(e) {
763
755
  this.$$set({ session: e }), C();
764
756
  }
765
757
  get userid() {
766
- return this.$$.ctx[22];
758
+ return this.$$.ctx[19];
767
759
  }
768
760
  set userid(e) {
769
761
  this.$$set({ userid: e }), C();
@@ -787,55 +779,55 @@ class je extends ce {
787
779
  this.$$set({ status: e }), C();
788
780
  }
789
781
  get tourid() {
790
- return this.$$.ctx[3];
782
+ return this.$$.ctx[20];
791
783
  }
792
784
  set tourid(e) {
793
785
  this.$$set({ tourid: e }), C();
794
786
  }
795
787
  get thumbnail() {
796
- return this.$$.ctx[4];
788
+ return this.$$.ctx[3];
797
789
  }
798
790
  set thumbnail(e) {
799
791
  this.$$set({ thumbnail: e }), C();
800
792
  }
801
793
  get userenrolled() {
802
- return this.$$.ctx[5];
794
+ return this.$$.ctx[4];
803
795
  }
804
796
  set userenrolled(e) {
805
797
  this.$$set({ userenrolled: e }), C();
806
798
  }
807
799
  get scorecriteria() {
808
- return this.$$.ctx[23];
800
+ return this.$$.ctx[21];
809
801
  }
810
802
  set scorecriteria(e) {
811
803
  this.$$set({ scorecriteria: e }), C();
812
804
  }
813
805
  get minbetcount() {
814
- return this.$$.ctx[6];
806
+ return this.$$.ctx[5];
815
807
  }
816
808
  set minbetcount(e) {
817
809
  this.$$set({ minbetcount: e }), C();
818
810
  }
819
811
  get showenrolled() {
820
- return this.$$.ctx[7];
812
+ return this.$$.ctx[6];
821
813
  }
822
814
  set showenrolled(e) {
823
815
  this.$$set({ showenrolled: e }), C();
824
816
  }
825
817
  get gameurl() {
826
- return this.$$.ctx[8];
818
+ return this.$$.ctx[22];
827
819
  }
828
820
  set gameurl(e) {
829
821
  this.$$set({ gameurl: e }), C();
830
822
  }
831
823
  get lang() {
832
- return this.$$.ctx[24];
824
+ return this.$$.ctx[23];
833
825
  }
834
826
  set lang(e) {
835
827
  this.$$set({ lang: e }), C();
836
828
  }
837
829
  get keepbrowsercontext() {
838
- return this.$$.ctx[9];
830
+ return this.$$.ctx[24];
839
831
  }
840
832
  set keepbrowsercontext(e) {
841
833
  this.$$set({ keepbrowsercontext: e }), C();
@@ -859,7 +851,7 @@ class je extends ce {
859
851
  this.$$set({ translationurl: e }), C();
860
852
  }
861
853
  }
862
- be(je, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
854
+ ge(De, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
863
855
  export {
864
- je as default
856
+ De as default
865
857
  };