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