@everymatrix/casino-tournaments-controller 1.47.1 → 1.47.3

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 (22) hide show
  1. package/components/{CasinoTournamentsController-COIiFc-x.cjs → CasinoTournamentsController-Cm5bXukc.cjs} +1 -1
  2. package/components/{CasinoTournamentsController-B3OvVS_7.js → CasinoTournamentsController-DWC8EvgA.js} +2 -2
  3. package/components/{CasinoTournamentsFilterController-Cj49p9F0.cjs → CasinoTournamentsFilterController-BU8aYSou.cjs} +1 -1
  4. package/components/{CasinoTournamentsFilterController-BWVXr8cb.js → CasinoTournamentsFilterController-C0lJIZQh.js} +1 -1
  5. package/components/{CasinoTournamentsListController-Zi6Nk1Td.cjs → CasinoTournamentsListController-BB29otuv.cjs} +2 -2
  6. package/components/{CasinoTournamentsListController-5AAbmc2X.js → CasinoTournamentsListController-DefylvAi.js} +2 -2
  7. package/components/{CasinoTournamentsThumbnail-kK8eTJVM.js → CasinoTournamentsThumbnail-BGDuccrG.js} +237 -229
  8. package/components/CasinoTournamentsThumbnail-exOgng0S.cjs +4 -0
  9. package/components/{CasinoTournamentsThumbnailController-DZ5V6qTv.js → CasinoTournamentsThumbnailController-BwlS7-yN.js} +279 -259
  10. package/components/CasinoTournamentsThumbnailController-DcWOm8xT.cjs +1 -0
  11. package/components/{CasinoTournamentsThumbnailDuration-D6-gp03Q.js → CasinoTournamentsThumbnailDuration-BC_appnr.js} +99 -98
  12. package/components/CasinoTournamentsThumbnailDuration-BsKArW2w.cjs +1 -0
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-CfyER909.cjs → CasinoTournamentsThumbnailGamesSlider-BAg71KGt.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-BsX-aRFF.js → CasinoTournamentsThumbnailGamesSlider-yPHwZVto.js} +1 -1
  15. package/components/{CasinoTournamentsThumbnailPrizes-Dq7XD8vA.cjs → CasinoTournamentsThumbnailPrizes-BV8NI59t.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnailPrizes-D8MMxd0D.js → CasinoTournamentsThumbnailPrizes-CjD3RfeW.js} +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-BgzPt-Bq.cjs +0 -4
  21. package/components/CasinoTournamentsThumbnailController-CO_JNQKh.cjs +0 -1
  22. package/components/CasinoTournamentsThumbnailDuration-DxX6hlRg.cjs +0 -1
@@ -1,11 +1,11 @@
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-B3OvVS_7.js";
2
- function V(i, e) {
3
- ue(i, e);
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-DWC8EvgA.js";
2
+ function Y(i, e) {
3
+ me(i, e);
4
4
  }
5
- function Te(i) {
6
- me.set(i);
5
+ function ve(i) {
6
+ de.set(i);
7
7
  }
8
- const q = {
8
+ const Z = {
9
9
  en: {
10
10
  enrolled: "Enrolled",
11
11
  scoreCriteria: "Score Criteria",
@@ -306,161 +306,161 @@ const q = {
306
306
  December: "December"
307
307
  }
308
308
  };
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}');
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}');
311
311
  }
312
- function Y(i) {
312
+ function Q(i) {
313
313
  let e, t, r, s, o, n;
314
314
  return {
315
315
  c() {
316
- e = _("div"), t = M(
316
+ e = v("div"), t = M(
317
317
  /*shownStatus*/
318
- i[10]
319
- ), m(e, "class", r = "Status " + /*statusClass*/
320
- i[12]), m(e, "part", s = "Status " + /*statusClass*/
321
- i[12]);
318
+ i[13]
319
+ ), u(e, "class", r = "Status " + /*statusClass*/
320
+ i[15]), u(e, "part", s = "Status " + /*statusClass*/
321
+ i[15]);
322
322
  },
323
323
  m(l, b) {
324
- D(l, e, b), c(e, t), o || (n = L(
324
+ j(l, e, b), c(e, t), o || (n = B(
325
325
  /*matchStatus*/
326
- i[15].call(null, e)
326
+ i[18].call(null, e)
327
327
  ), o = !0);
328
328
  },
329
329
  p(l, b) {
330
330
  b[0] & /*shownStatus*/
331
- 1024 && J(
331
+ 8192 && D(
332
332
  t,
333
333
  /*shownStatus*/
334
- l[10]
334
+ l[13]
335
335
  ), b[0] & /*statusClass*/
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);
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);
340
340
  },
341
341
  d(l) {
342
- l && j(e), o = !1, n();
342
+ l && z(e), o = !1, n();
343
343
  }
344
344
  };
345
345
  }
346
- function Z(i) {
346
+ function X(i) {
347
347
  let e, t = (
348
348
  /*userenrolled*/
349
- i[4] && Q(i)
349
+ i[5] && $(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), D(r, e, s);
356
+ t && t.m(r, s), j(r, e, s);
357
357
  },
358
358
  p(r, s) {
359
359
  /*userenrolled*/
360
- r[4] ? t ? t.p(r, s) : (t = Q(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
360
+ r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
361
361
  },
362
362
  d(r) {
363
- r && j(e), t && t.d(r);
363
+ r && z(e), t && t.d(r);
364
364
  }
365
365
  };
366
366
  }
367
- function Q(i) {
367
+ function $(i) {
368
368
  let e, t = (
369
369
  /*$_*/
370
- i[13]("enrolled") + ""
370
+ i[16]("enrolled") + ""
371
371
  ), r;
372
372
  return {
373
373
  c() {
374
- e = _("div"), r = M(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
374
+ e = v("div"), r = M(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
375
375
  },
376
376
  m(s, o) {
377
- D(s, e, o), c(e, r);
377
+ j(s, e, o), c(e, r);
378
378
  },
379
379
  p(s, o) {
380
380
  o[0] & /*$_*/
381
- 8192 && t !== (t = /*$_*/
382
- s[13]("enrolled") + "") && J(r, t);
381
+ 65536 && t !== (t = /*$_*/
382
+ s[16]("enrolled") + "") && D(r, t);
383
383
  },
384
384
  d(s) {
385
- s && j(e);
385
+ s && z(e);
386
386
  }
387
387
  };
388
388
  }
389
- function Me(i) {
389
+ function we(i) {
390
390
  let e, t, r, s, o;
391
391
  return {
392
392
  c() {
393
- e = _("div"), m(e, "class", t = "CardImg " + /*status*/
393
+ e = v("div"), u(e, "class", t = "CardImg " + /*status*/
394
394
  (i[0] == "Closing" || /*status*/
395
- i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", r = "CardImg " + /*status*/
395
+ i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
396
396
  (i[0] == "Closing" || /*status*/
397
- i[0] == "Closed" ? "CardImgFinished" : "")), U(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
397
+ i[0] == "Closed" ? "CardImgFinished" : "")), x(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
398
398
  },
399
399
  m(n, l) {
400
- D(n, e, l), s || (o = L(
400
+ j(n, e, l), s || (o = B(
401
401
  /*matchStatus*/
402
- i[15].call(null, e)
402
+ i[18].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" : "")) && m(e, "class", t), l[0] & /*status*/
409
+ n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
410
410
  1 && r !== (r = "CardImg " + /*status*/
411
411
  (n[0] == "Closing" || /*status*/
412
- n[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", r);
412
+ n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
413
413
  },
414
414
  d(n) {
415
- n && j(e), s = !1, o();
415
+ n && z(e), s = !1, o();
416
416
  }
417
417
  };
418
418
  }
419
- function we(i) {
419
+ function Re(i) {
420
420
  let e, t, r, s, o;
421
421
  return {
422
422
  c() {
423
- e = _("div"), m(e, "class", t = "CardImg " + /*status*/
423
+ e = v("div"), u(e, "class", t = "CardImg " + /*status*/
424
424
  (i[0] == "Closing" || /*status*/
425
- i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", r = "CardImg " + /*status*/
425
+ i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
426
426
  (i[0] == "Closing" || /*status*/
427
- i[0] == "Closed" ? "CardImgFinished" : "")), U(e, "background-image", "url('" + /*thumbnail*/
428
- i[3] + "')");
427
+ i[0] == "Closed" ? "CardImgFinished" : "")), x(e, "background-image", "url('" + /*thumbnail*/
428
+ i[4] + "')");
429
429
  },
430
430
  m(n, l) {
431
- D(n, e, l), s || (o = L(
431
+ j(n, e, l), s || (o = B(
432
432
  /*matchStatus*/
433
- i[15].call(null, e)
433
+ i[18].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" : "")) && m(e, "class", t), l[0] & /*status*/
440
+ n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "class", t), l[0] & /*status*/
441
441
  1 && r !== (r = "CardImg " + /*status*/
442
442
  (n[0] == "Closing" || /*status*/
443
- n[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", r), l[0] & /*thumbnail*/
444
- 8 && U(e, "background-image", "url('" + /*thumbnail*/
445
- n[3] + "')");
443
+ n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r), l[0] & /*thumbnail*/
444
+ 16 && x(e, "background-image", "url('" + /*thumbnail*/
445
+ n[4] + "')");
446
446
  },
447
447
  d(n) {
448
- n && j(e), s = !1, o();
448
+ n && z(e), s = !1, o();
449
449
  }
450
450
  };
451
451
  }
452
- function X(i) {
452
+ function ee(i) {
453
453
  let e, t, r, s, o;
454
454
  return {
455
455
  c() {
456
- e = _("div"), t = M(
456
+ e = v("div"), t = M(
457
457
  /*shownDate*/
458
- i[8]
459
- ), m(e, "class", "Date"), m(e, "part", "Date");
458
+ i[11]
459
+ ), u(e, "class", "Date"), u(e, "part", "Date");
460
460
  },
461
461
  m(n, l) {
462
- D(n, e, l), c(e, t), s || (o = L(r = /*formatDate*/
463
- i[14].call(
462
+ j(n, e, l), c(e, t), s || (o = B(r = /*formatDate*/
463
+ i[17].call(
464
464
  null,
465
465
  e,
466
466
  /*startdate*/
@@ -469,11 +469,11 @@ function X(i) {
469
469
  },
470
470
  p(n, l) {
471
471
  l[0] & /*shownDate*/
472
- 256 && J(
472
+ 2048 && D(
473
473
  t,
474
474
  /*shownDate*/
475
- n[8]
476
- ), r && ke(r.update) && l[0] & /*startdate*/
475
+ n[11]
476
+ ), r && Ce(r.update) && l[0] & /*startdate*/
477
477
  4 && r.update.call(
478
478
  null,
479
479
  /*startdate*/
@@ -481,178 +481,185 @@ function X(i) {
481
481
  );
482
482
  },
483
483
  d(n) {
484
- n && j(e), s = !1, o();
484
+ n && z(e), s = !1, o();
485
485
  }
486
486
  };
487
487
  }
488
- function $(i) {
488
+ function te(i) {
489
489
  let e, t, r = (
490
490
  /*$_*/
491
- i[13]("scoreCriteria") + ""
492
- ), s, o, n, l, b, T = (
491
+ i[16]("scoreCriteria") + ""
492
+ ), s, o, n, l, b, w = (
493
493
  /*$_*/
494
- i[13]("minbet") + ""
495
- ), f, h, A, R, k, g, d, u = (
494
+ i[16]("minbet") + ""
495
+ ), f, h, A, J, y, g, d, m = (
496
496
  /*$_*/
497
- i[13]("seegames") + ""
498
- ), p, O, z, w = (
497
+ i[16]("seegames") + ""
498
+ ), k, E, _, R = (
499
499
  /*$_*/
500
- i[13]("here") + ""
501
- ), E, I, W;
500
+ i[16]("here") + ""
501
+ ), P, F, I, N;
502
502
  return {
503
503
  c() {
504
- e = _("div"), t = _("p"), s = M(r), o = M(`:
505
-
506
- `), n = _("span"), l = M(
504
+ e = v("div"), t = v("p"), s = M(r), o = M(`:
505
+
506
+ `), n = v("span"), l = M(
507
507
  /*showScoreCriteria*/
508
- i[11]
508
+ i[14]
509
509
  ), b = M(`
510
- (`), f = M(T), h = N(), A = M(
510
+ (`), f = M(w), h = W(), A = M(
511
511
  /*minbetcount*/
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");
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");
514
520
  },
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(
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(
518
524
  /*matchScoreCriteria*/
519
- i[16].call(null, n)
525
+ i[19].call(null, n)
520
526
  ),
521
- Ce(
522
- z,
527
+ Se(
528
+ _,
523
529
  "click",
524
- /*tournamentGamesClicked*/
525
- i[17]
530
+ /*click_handler*/
531
+ i[28]
526
532
  )
527
533
  ], I = !0);
528
534
  },
529
- p(y, S) {
530
- S[0] & /*$_*/
531
- 8192 && r !== (r = /*$_*/
532
- y[13]("scoreCriteria") + "") && J(s, r), S[0] & /*showScoreCriteria*/
533
- 2048 && J(
535
+ p(p, T) {
536
+ T[0] & /*$_*/
537
+ 65536 && r !== (r = /*$_*/
538
+ p[16]("scoreCriteria") + "") && D(s, r), T[0] & /*showScoreCriteria*/
539
+ 16384 && D(
534
540
  l,
535
541
  /*showScoreCriteria*/
536
- y[11]
537
- ), S[0] & /*$_*/
538
- 8192 && T !== (T = /*$_*/
539
- y[13]("minbet") + "") && J(f, T), S[0] & /*minbetcount*/
540
- 32 && J(
542
+ p[14]
543
+ ), T[0] & /*$_*/
544
+ 65536 && w !== (w = /*$_*/
545
+ p[16]("minbet") + "") && D(f, w), T[0] & /*minbetcount*/
546
+ 64 && D(
541
547
  A,
542
548
  /*minbetcount*/
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);
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);
549
563
  },
550
- d(y) {
551
- y && (j(e), j(k), j(g)), I = !1, Se(W);
564
+ d(p) {
565
+ p && (z(e), z(y), z(g)), I = !1, Ae(N);
552
566
  }
553
567
  };
554
568
  }
555
- function Re(i) {
556
- let e, t, r, s, o, n, l, b, T, f = (
569
+ function Je(i) {
570
+ let e, t, r, s, o, n, l, b, w, f = (
557
571
  /*status*/
558
- i[0] && Y(i)
572
+ i[0] && Q(i)
559
573
  ), h = (
560
574
  /*showenrolled*/
561
- i[6] == "true" && Z(i)
575
+ i[7] == "true" && X(i)
562
576
  );
563
- function A(u, p) {
577
+ function A(m, k) {
564
578
  return (
565
579
  /*thumbnail*/
566
- u[3] ? we : Me
580
+ m[4] ? Re : we
567
581
  );
568
582
  }
569
- let R = A(i), k = R(i), g = (
583
+ let J = A(i), y = J(i), g = (
570
584
  /*startdate*/
571
- i[2] && X(i)
585
+ i[2] && ee(i)
572
586
  ), d = (
573
587
  /*isLoggedIn*/
574
- i[9] && $(i)
588
+ i[12] && te(i)
575
589
  );
576
590
  return {
577
591
  c() {
578
- e = _("div"), f && f.c(), t = N(), h && h.c(), r = N(), k.c(), s = N(), o = _("div"), n = _("div"), l = M(
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(
579
593
  /*title*/
580
594
  i[1]
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");
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");
582
596
  },
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);
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);
585
599
  },
586
- p(u, p) {
600
+ p(m, k) {
587
601
  /*status*/
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(
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(
591
605
  l,
592
606
  /*title*/
593
- u[1]
607
+ m[1]
594
608
  ), /*startdate*/
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);
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);
597
611
  },
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);
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);
602
616
  }
603
617
  };
604
618
  }
605
- function Je(i, e, t) {
619
+ function De(i, e, t) {
606
620
  let r;
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]);
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]);
613
627
  });
614
- }).catch((v) => {
615
- console.log(v);
628
+ }).catch((S) => {
629
+ console.log(S);
616
630
  });
617
631
  };
618
- Object.keys(q).forEach((a) => {
619
- V(a, q[a]);
632
+ Object.keys(Z).forEach((a) => {
633
+ Y(a, Z[a]);
620
634
  });
621
635
  const K = (a) => {
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 = () => {
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 = () => {
624
638
  const a = { month: "long" };
625
- let v = new Date(l), F = new Intl.DateTimeFormat("en", a).format(v), se = v.getDate(), le = v.toLocaleString("en-GB", {
639
+ let S = new Date(l), O = new Intl.DateTimeFormat("en", a).format(S), le = S.getDate(), oe = S.toLocaleString("en-GB", {
626
640
  hour: "numeric",
627
641
  minute: "numeric",
628
642
  hour12: !1
629
643
  });
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
- );
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);
645
652
  }, ie = () => {
646
- s.length > 0 && s != "false" ? t(9, I = !0) : t(9, I = !1);
653
+ s.length > 0 && s != "false" ? t(12, F = !0) : t(12, F = !1);
647
654
  }, ae = () => {
648
655
  let a = document.createElement("style");
649
- a.innerHTML = p, w.appendChild(a);
656
+ a.innerHTML = k, R.appendChild(a);
650
657
  }, re = () => {
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(
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(
654
661
  () => {
655
- w.appendChild(v);
662
+ R.appendChild(S);
656
663
  },
657
664
  1
658
665
  ), setTimeout(
@@ -662,100 +669,101 @@ function Je(i, e, t) {
662
669
  );
663
670
  });
664
671
  };
665
- pe(() => (setTimeout(() => G(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", K, !1), () => {
672
+ ke(() => (setTimeout(() => V(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", K, !1), () => {
666
673
  window.removeEventListener("message", K);
667
674
  }));
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);
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);
674
681
  });
675
682
  }
676
683
  return i.$$set = (a) => {
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);
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);
678
685
  }, i.$$.update = () => {
679
686
  i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
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();
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();
688
695
  }, [
689
696
  b,
690
697
  n,
691
698
  l,
699
+ w,
692
700
  f,
693
701
  h,
702
+ J,
703
+ y,
704
+ g,
705
+ m,
694
706
  R,
695
- k,
696
- w,
697
- E,
707
+ P,
708
+ F,
698
709
  I,
699
- W,
700
- y,
701
- S,
710
+ N,
711
+ p,
702
712
  r,
703
- P,
704
- B,
705
- x,
706
- te,
713
+ L,
714
+ U,
715
+ G,
716
+ H,
707
717
  s,
708
718
  o,
709
- T,
710
719
  A,
711
- g,
712
720
  d,
713
- u,
714
- p,
715
- O,
716
- z,
717
- ne
721
+ k,
722
+ E,
723
+ _,
724
+ ne,
725
+ se
718
726
  ];
719
727
  }
720
- class De extends de {
728
+ class je extends ce {
721
729
  constructor(e) {
722
- super(), ce(
730
+ super(), ge(
723
731
  this,
724
732
  e,
733
+ De,
725
734
  Je,
726
- Re,
727
- be,
735
+ fe,
728
736
  {
729
- session: 18,
730
- userid: 19,
737
+ session: 21,
738
+ userid: 22,
731
739
  title: 1,
732
740
  startdate: 2,
733
741
  status: 0,
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,
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,
743
751
  clientstyling: 25,
744
752
  clientstylingurl: 26,
745
753
  translationurl: 27
746
754
  },
747
- ve,
755
+ Me,
748
756
  [-1, -1]
749
757
  );
750
758
  }
751
759
  get session() {
752
- return this.$$.ctx[18];
760
+ return this.$$.ctx[21];
753
761
  }
754
762
  set session(e) {
755
763
  this.$$set({ session: e }), C();
756
764
  }
757
765
  get userid() {
758
- return this.$$.ctx[19];
766
+ return this.$$.ctx[22];
759
767
  }
760
768
  set userid(e) {
761
769
  this.$$set({ userid: e }), C();
@@ -779,55 +787,55 @@ class De extends de {
779
787
  this.$$set({ status: e }), C();
780
788
  }
781
789
  get tourid() {
782
- return this.$$.ctx[20];
790
+ return this.$$.ctx[3];
783
791
  }
784
792
  set tourid(e) {
785
793
  this.$$set({ tourid: e }), C();
786
794
  }
787
795
  get thumbnail() {
788
- return this.$$.ctx[3];
796
+ return this.$$.ctx[4];
789
797
  }
790
798
  set thumbnail(e) {
791
799
  this.$$set({ thumbnail: e }), C();
792
800
  }
793
801
  get userenrolled() {
794
- return this.$$.ctx[4];
802
+ return this.$$.ctx[5];
795
803
  }
796
804
  set userenrolled(e) {
797
805
  this.$$set({ userenrolled: e }), C();
798
806
  }
799
807
  get scorecriteria() {
800
- return this.$$.ctx[21];
808
+ return this.$$.ctx[23];
801
809
  }
802
810
  set scorecriteria(e) {
803
811
  this.$$set({ scorecriteria: e }), C();
804
812
  }
805
813
  get minbetcount() {
806
- return this.$$.ctx[5];
814
+ return this.$$.ctx[6];
807
815
  }
808
816
  set minbetcount(e) {
809
817
  this.$$set({ minbetcount: e }), C();
810
818
  }
811
819
  get showenrolled() {
812
- return this.$$.ctx[6];
820
+ return this.$$.ctx[7];
813
821
  }
814
822
  set showenrolled(e) {
815
823
  this.$$set({ showenrolled: e }), C();
816
824
  }
817
825
  get gameurl() {
818
- return this.$$.ctx[22];
826
+ return this.$$.ctx[8];
819
827
  }
820
828
  set gameurl(e) {
821
829
  this.$$set({ gameurl: e }), C();
822
830
  }
823
831
  get lang() {
824
- return this.$$.ctx[23];
832
+ return this.$$.ctx[24];
825
833
  }
826
834
  set lang(e) {
827
835
  this.$$set({ lang: e }), C();
828
836
  }
829
837
  get keepbrowsercontext() {
830
- return this.$$.ctx[24];
838
+ return this.$$.ctx[9];
831
839
  }
832
840
  set keepbrowsercontext(e) {
833
841
  this.$$set({ keepbrowsercontext: e }), C();
@@ -851,7 +859,7 @@ class De extends de {
851
859
  this.$$set({ translationurl: e }), C();
852
860
  }
853
861
  }
854
- ge(De, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
862
+ be(je, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
855
863
  export {
856
- De as default
864
+ je as default
857
865
  };