@everymatrix/mini-games-hub 0.1.5 → 0.1.7

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 (135) hide show
  1. package/components/{GameCard-8XBwX5mB.js → GameCard-DTz2IEhm.js} +27 -29
  2. package/components/GameCard-Dfgtrwdb.cjs +3 -0
  3. package/components/{GameCard-SP2WkMe4.js → GameCard-sNqb2_mR.js} +27 -29
  4. package/components/{MiniGamesHub-DKkDXC81.cjs → MiniGamesHub-3XlqpfV_.cjs} +5 -5
  5. package/components/{MiniGamesHub-BEAlx3WE.js → MiniGamesHub-DTPiOtNT.js} +318 -286
  6. package/components/{MiniGamesHub-CrRIFbj_.js → MiniGamesHub-iX9t9vSW.js} +261 -249
  7. package/components/{WheelOfFortune-B7NMoATV.js → WheelOfFortune-BKUcclpm.js} +197 -164
  8. package/components/{WheelOfFortune-0yZoHYHH.js → WheelOfFortune-CbvJZO8-.js} +184 -151
  9. package/components/{WheelOfFortune-BxbFigrE.cjs → WheelOfFortune-DgAgnR_Q.cjs} +27 -6
  10. package/components/WheelOfFortuneDrawResults-AskDnOA6.cjs +1 -0
  11. package/components/WheelOfFortuneDrawResults-C9BcE4Kr.js +262 -0
  12. package/components/WheelOfFortuneDrawResults-DnQPGIPX.js +237 -0
  13. package/components/WheelOfFortuneHistory-BA977Hfx.js +230 -0
  14. package/components/WheelOfFortuneHistory-CT-5jtfe.js +230 -0
  15. package/components/WheelOfFortuneHistory-uP606zLS.cjs +13 -0
  16. package/components/{WheelOfFortuneRules-BI3iP5jZ.js → WheelOfFortuneRules-C16Md0m_.js} +64 -64
  17. package/components/WheelOfFortuneRules-DQcA-d8i.js +128 -0
  18. package/components/WheelOfFortuneRules-zVRcNYIv.cjs +5 -0
  19. package/components/WheelOfFortuneWheel-6j7QTrsf.cjs +3 -0
  20. package/components/WheelOfFortuneWheel-BvI-fAML.js +1980 -0
  21. package/components/WheelOfFortuneWheel-CCmzx2yj.js +1910 -0
  22. package/components/{constants-syi43uVY.js → constants-CWz8CXw2.js} +1 -1
  23. package/components/{constants-B5BwgkMh.cjs → constants-DM6Vdc6Z.cjs} +1 -1
  24. package/components/{sparkles-DMNeGYKa.cjs → sparkles-BnriHiyw.cjs} +1 -1
  25. package/components/{sparkles-Br3hNIM6.js → sparkles-BzZDomk7.js} +1 -1
  26. package/components/{sparkles-CsUJD5iK.js → sparkles-C9wObsYC.js} +1 -1
  27. package/components/{spin-controller-BfbakdA_.js → spin-controller-BjXSz9Me.js} +53 -52
  28. package/components/{spin-controller-Y0nB76qX.js → spin-controller-CETKYiGM.js} +51 -50
  29. package/components/spin-controller-q2CuZMYj.cjs +1 -0
  30. package/components/utils-B53aGsNG.js +6095 -0
  31. package/components/utils-C0oX5v1l.js +6141 -0
  32. package/components/utils-Du65tqU5.cjs +3 -0
  33. package/es2015/mini-games-hub.cjs +1 -1
  34. package/es2015/mini-games-hub.js +1 -1
  35. package/esnext/mini-games-hub.js +1 -1
  36. package/package.json +3 -1
  37. package/components/GameCard-B2Vf_Okb.cjs +0 -3
  38. package/components/GameCard-B2dUYs8D.cjs +0 -3
  39. package/components/GameCard-Bx4TWFNT.js +0 -58
  40. package/components/GameCard-CKlgiS66.cjs +0 -3
  41. package/components/GameCard-DX4XDT2r.js +0 -58
  42. package/components/GameCard-DXX0iD0Z.js +0 -58
  43. package/components/GameCard-Dfi3jlxs.js +0 -58
  44. package/components/GameCard-FmSc9xvG.js +0 -58
  45. package/components/GameCard-lPup4pYJ.js +0 -58
  46. package/components/GameCard-txJxZVfs.cjs +0 -3
  47. package/components/MiniGamesHub-BBCzOhms.js +0 -1269
  48. package/components/MiniGamesHub-BaAiz62L.cjs +0 -94
  49. package/components/MiniGamesHub-BbJIrcsb.cjs +0 -28
  50. package/components/MiniGamesHub-C6Nsfrqn.js +0 -1369
  51. package/components/MiniGamesHub-CLinNS2-.js +0 -1288
  52. package/components/MiniGamesHub-DXmod0OW.cjs +0 -94
  53. package/components/MiniGamesHub-DZHG1XwH.js +0 -1357
  54. package/components/MiniGamesHub-Db8-msnK.js +0 -1338
  55. package/components/MiniGamesHub-DxW3lK75.js +0 -1369
  56. package/components/WheelOfFortune-B-sa8npV.cjs +0 -572
  57. package/components/WheelOfFortune-CdsgfPZg.js +0 -829
  58. package/components/WheelOfFortune-Cfe5KhF-.cjs +0 -588
  59. package/components/WheelOfFortune-Cm-9CaHf.cjs +0 -570
  60. package/components/WheelOfFortune-DDfYKRzu.js +0 -862
  61. package/components/WheelOfFortune-DpMvjI6_.js +0 -811
  62. package/components/WheelOfFortune-Dtoep2n2.js +0 -852
  63. package/components/WheelOfFortune-cD7JyRL5.js +0 -820
  64. package/components/WheelOfFortune-u__JAdi_.js +0 -820
  65. package/components/WheelOfFortuneDrawResults-3S77J9M5.js +0 -292
  66. package/components/WheelOfFortuneDrawResults-B2L6I4Po.cjs +0 -1
  67. package/components/WheelOfFortuneDrawResults-B6RkAQ_i.cjs +0 -1
  68. package/components/WheelOfFortuneDrawResults-BRgQ0mTi.js +0 -261
  69. package/components/WheelOfFortuneDrawResults-BZAetM0L.js +0 -238
  70. package/components/WheelOfFortuneDrawResults-C0J_0fRE.cjs +0 -1
  71. package/components/WheelOfFortuneDrawResults-CKkYMVLn.js +0 -317
  72. package/components/WheelOfFortuneDrawResults-CvyqGbQG.js +0 -292
  73. package/components/WheelOfFortuneDrawResults-DIO74xIg.js +0 -317
  74. package/components/WheelOfFortuneDrawResults-D_QT2RDK.cjs +0 -1
  75. package/components/WheelOfFortuneDrawResults-WD4ZaXdI.js +0 -261
  76. package/components/WheelOfFortuneDrawResults-XiJyW5cc.js +0 -238
  77. package/components/WheelOfFortuneHistory-3lEfr9Yn.cjs +0 -13
  78. package/components/WheelOfFortuneHistory-BE1mGyJn.js +0 -233
  79. package/components/WheelOfFortuneHistory-BagUH_Pn.js +0 -233
  80. package/components/WheelOfFortuneHistory-BpfmGEE1.js +0 -233
  81. package/components/WheelOfFortuneHistory-C_EX6Ecx.js +0 -233
  82. package/components/WheelOfFortuneHistory-CgWvWb5r.js +0 -233
  83. package/components/WheelOfFortuneHistory-CldOJOup.js +0 -233
  84. package/components/WheelOfFortuneHistory-D9EVcaH2.js +0 -233
  85. package/components/WheelOfFortuneHistory-DQ7yysUE.cjs +0 -13
  86. package/components/WheelOfFortuneHistory-DoYx_EbF.js +0 -233
  87. package/components/WheelOfFortuneHistory-mbWa96d6.cjs +0 -13
  88. package/components/WheelOfFortuneHistory-tcBNosXj.cjs +0 -13
  89. package/components/WheelOfFortuneRules-3Pnc2tv_.cjs +0 -5
  90. package/components/WheelOfFortuneRules-ByuqEg7o.js +0 -128
  91. package/components/WheelOfFortuneRules-CD5FcLZh.js +0 -117
  92. package/components/WheelOfFortuneRules-CS1AnNsi.cjs +0 -5
  93. package/components/WheelOfFortuneRules-DEln64Ys.js +0 -117
  94. package/components/WheelOfFortuneRules-DTZ61azL.js +0 -128
  95. package/components/WheelOfFortuneRules-DUjXad1Z.cjs +0 -5
  96. package/components/WheelOfFortuneRules-Dp6015wP.cjs +0 -5
  97. package/components/WheelOfFortuneRules-ICYWgDZn.js +0 -128
  98. package/components/WheelOfFortuneRules-Sa4GsYQ7.js +0 -117
  99. package/components/WheelOfFortuneRules-ssp6aAUp.js +0 -128
  100. package/components/WheelOfFortuneWheel-76dShj7s.cjs +0 -1
  101. package/components/WheelOfFortuneWheel-B-3ALU8u.js +0 -632
  102. package/components/WheelOfFortuneWheel-B0P_kjVI.js +0 -599
  103. package/components/WheelOfFortuneWheel-C2yIQKzY.js +0 -598
  104. package/components/WheelOfFortuneWheel-C6o9ZPV4.js +0 -598
  105. package/components/WheelOfFortuneWheel-JKN_P3ES.cjs +0 -1
  106. package/components/WheelOfFortuneWheel-LXdY_AV0.js +0 -633
  107. package/components/WheelOfFortuneWheel-R5JZFn6S.js +0 -643
  108. package/components/WheelOfFortuneWheel-j83OpEdj.cjs +0 -1
  109. package/components/WheelOfFortuneWheel-jv0TkAX_.js +0 -632
  110. package/components/WheelOfFortuneWheel-le2uV09t.js +0 -609
  111. package/components/WheelOfFortuneWheel-rP-wIp2j.cjs +0 -1
  112. package/components/bonus-BcSq5fV_.cjs +0 -1
  113. package/components/bonus-BroDvSJR.js +0 -4
  114. package/components/coin-DetgSMGn.js +0 -4
  115. package/components/coin-dEAbLQma.cjs +0 -1
  116. package/components/loyalty-Bf3uaVFP.js +0 -4
  117. package/components/loyalty-XDJlZgzx.cjs +0 -1
  118. package/components/noprize-BJ-U8c5U.cjs +0 -1
  119. package/components/noprize-DQHyTDC0.js +0 -4
  120. package/components/role-Bxkn_4_S.cjs +0 -1
  121. package/components/role-CNEtykLr.js +0 -4
  122. package/components/spin-controller-Do0l1eeX.cjs +0 -1
  123. package/components/ticket-DP0fQfPa.cjs +0 -1
  124. package/components/ticket-DcOVRE_N.js +0 -4
  125. package/components/tournament-8UbfkV5I.cjs +0 -1
  126. package/components/tournament-BtKf5Btm.js +0 -4
  127. package/components/utils-BCvapeyS.cjs +0 -5
  128. package/components/utils-CG5ADU6a.cjs +0 -5
  129. package/components/utils-COXr0j7Z.js +0 -6803
  130. package/components/utils-CbMHM9Bv.js +0 -6831
  131. package/components/utils-ClIENp93.js +0 -6906
  132. package/components/utils-Cun_uLlb.js +0 -6890
  133. package/components/utils-D6FQ3_dW.cjs +0 -5
  134. package/components/utils-De4h5fhB.js +0 -6918
  135. package/components/utils-DrFJq1GB.js +0 -6819
@@ -1,8 +1,24 @@
1
- import { e as Ie, p as Ve, U as Ue, h as k, a0 as Je, u as Ye, s as O, i as Ke, V as Ze, m as M, w as T, x as Xe, G as F, C as z, A as Qe, E, j as g, K as x, k as h, a1 as $e, T as Z, l as N, L as er, D as ce, o as rr, F as nr, t as pe, v as X, y as tr, z as ir } from "./utils-CbMHM9Bv.js";
2
- import { s as or, a as he, b as ge } from "./WheelOfFortuneWheel-B0P_kjVI.js";
3
- import { W as fe } from "./WheelOfFortune-Dtoep2n2.js";
4
- import { G as ar } from "./GameCard-FmSc9xvG.js";
5
- const me = {
1
+ var K = (n, r, e) => new Promise((t, i) => {
2
+ var o = (u) => {
3
+ try {
4
+ l(e.next(u));
5
+ } catch (h) {
6
+ i(h);
7
+ }
8
+ }, a = (u) => {
9
+ try {
10
+ l(e.throw(u));
11
+ } catch (h) {
12
+ i(h);
13
+ }
14
+ }, l = (u) => u.done ? t(u.value) : Promise.resolve(u.value).then(o, a);
15
+ l((e = e.apply(n, r)).next());
16
+ });
17
+ import { b8 as Je, Q as Ye, aO as C, aB as Ke, G as Ze, aT as Xe, aF as k, B as Qe, Y as f, at as p, b9 as $e, aV as E, aP as pe, aY as D, aQ as he, ad as ge, aZ as fe, aR as er, aS as rr } from "./utils-C0oX5v1l.js";
18
+ import { a as nr, p as T, v as tr, w as me, x as ve, o as ir, i as be, b as O, f as G, c as or, h as ar, e as sr, g as lr, s as Z } from "./WheelOfFortuneWheel-BvI-fAML.js";
19
+ import { W as ye } from "./WheelOfFortune-BKUcclpm.js";
20
+ import { G as ur } from "./GameCard-sNqb2_mR.js";
21
+ const we = {
6
22
  en: {
7
23
  noContent: "You don't have any lottery programs available now.",
8
24
  hubTitle: "Prize Hub",
@@ -522,23 +538,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
522
538
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
523
539
  PERFORMANCE OF THIS SOFTWARE.
524
540
  ***************************************************************************** */
525
- var $ = function(n, r) {
526
- return $ = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
541
+ var Q = function(n, r) {
542
+ return Q = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
527
543
  e.__proto__ = t;
528
544
  } || function(e, t) {
529
545
  for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
530
- }, $(n, r);
546
+ }, Q(n, r);
531
547
  };
532
- function B(n, r) {
548
+ function L(n, r) {
533
549
  if (typeof r != "function" && r !== null)
534
550
  throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
535
- $(n, r);
551
+ Q(n, r);
536
552
  function e() {
537
553
  this.constructor = n;
538
554
  }
539
555
  n.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
540
556
  }
541
- function ee(n) {
557
+ function $(n) {
542
558
  var r = typeof Symbol == "function" && Symbol.iterator, e = r && n[r], t = 0;
543
559
  if (e) return e.call(n);
544
560
  if (n && typeof n.length == "number") return {
@@ -548,7 +564,7 @@ function ee(n) {
548
564
  };
549
565
  throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
550
566
  }
551
- function re(n, r) {
567
+ function ee(n, r) {
552
568
  var e = typeof Symbol == "function" && n[Symbol.iterator];
553
569
  if (!e) return n;
554
570
  var t = e.call(n), i, o = [], a;
@@ -565,21 +581,21 @@ function re(n, r) {
565
581
  }
566
582
  return o;
567
583
  }
568
- function ne(n, r, e) {
584
+ function re(n, r, e) {
569
585
  if (arguments.length === 2) for (var t = 0, i = r.length, o; t < i; t++)
570
586
  (o || !(t in r)) && (o || (o = Array.prototype.slice.call(r, 0, t)), o[t] = r[t]);
571
587
  return n.concat(o || r);
572
588
  }
573
- function b(n) {
589
+ function z(n) {
574
590
  return typeof n == "function";
575
591
  }
576
- function ze(n) {
592
+ function Pe(n) {
577
593
  var r = function(t) {
578
594
  Error.call(t), t.stack = new Error().stack;
579
595
  }, e = n(r);
580
596
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
581
597
  }
582
- var Q = ze(function(n) {
598
+ var X = Pe(function(n) {
583
599
  return function(e) {
584
600
  n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
585
601
  ` + e.map(function(t, i) {
@@ -588,13 +604,13 @@ var Q = ze(function(n) {
588
604
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
589
605
  };
590
606
  });
591
- function te(n, r) {
607
+ function ne(n, r) {
592
608
  if (n) {
593
609
  var e = n.indexOf(r);
594
610
  0 <= e && n.splice(e, 1);
595
611
  }
596
612
  }
597
- var q = function() {
613
+ var H = function() {
598
614
  function n(r) {
599
615
  this.initialTeardown = r, this.closed = !1, this._parentage = null, this._finalizers = null;
600
616
  }
@@ -606,12 +622,12 @@ var q = function() {
606
622
  if (a)
607
623
  if (this._parentage = null, Array.isArray(a))
608
624
  try {
609
- for (var l = ee(a), u = l.next(); !u.done; u = l.next()) {
610
- var f = u.value;
611
- f.remove(this);
625
+ for (var l = $(a), u = l.next(); !u.done; u = l.next()) {
626
+ var h = u.value;
627
+ h.remove(this);
612
628
  }
613
- } catch (d) {
614
- r = { error: d };
629
+ } catch (m) {
630
+ r = { error: m };
615
631
  } finally {
616
632
  try {
617
633
  u && !u.done && (e = l.return) && e.call(l);
@@ -621,43 +637,43 @@ var q = function() {
621
637
  }
622
638
  else
623
639
  a.remove(this);
624
- var m = this.initialTeardown;
625
- if (b(m))
640
+ var v = this.initialTeardown;
641
+ if (z(v))
626
642
  try {
627
- m();
628
- } catch (d) {
629
- o = d instanceof Q ? d.errors : [d];
643
+ v();
644
+ } catch (m) {
645
+ o = m instanceof X ? m.errors : [m];
630
646
  }
631
- var w = this._finalizers;
632
- if (w) {
647
+ var j = this._finalizers;
648
+ if (j) {
633
649
  this._finalizers = null;
634
650
  try {
635
- for (var _ = ee(w), S = _.next(); !S.done; S = _.next()) {
636
- var v = S.value;
651
+ for (var x = $(j), w = x.next(); !w.done; w = x.next()) {
652
+ var F = w.value;
637
653
  try {
638
- ve(v);
639
- } catch (d) {
640
- o = o ?? [], d instanceof Q ? o = ne(ne([], re(o)), re(d.errors)) : o.push(d);
654
+ Se(F);
655
+ } catch (m) {
656
+ o = o != null ? o : [], m instanceof X ? o = re(re([], ee(o)), ee(m.errors)) : o.push(m);
641
657
  }
642
658
  }
643
- } catch (d) {
644
- t = { error: d };
659
+ } catch (m) {
660
+ t = { error: m };
645
661
  } finally {
646
662
  try {
647
- S && !S.done && (i = _.return) && i.call(_);
663
+ w && !w.done && (i = x.return) && i.call(x);
648
664
  } finally {
649
665
  if (t) throw t.error;
650
666
  }
651
667
  }
652
668
  }
653
669
  if (o)
654
- throw new Q(o);
670
+ throw new X(o);
655
671
  }
656
672
  }, n.prototype.add = function(r) {
657
673
  var e;
658
674
  if (r && r !== this)
659
675
  if (this.closed)
660
- ve(r);
676
+ Se(r);
661
677
  else {
662
678
  if (r instanceof n) {
663
679
  if (r.closed || r._hasParent(this))
@@ -674,52 +690,52 @@ var q = function() {
674
690
  this._parentage = Array.isArray(e) ? (e.push(r), e) : e ? [e, r] : r;
675
691
  }, n.prototype._removeParent = function(r) {
676
692
  var e = this._parentage;
677
- e === r ? this._parentage = null : Array.isArray(e) && te(e, r);
693
+ e === r ? this._parentage = null : Array.isArray(e) && ne(e, r);
678
694
  }, n.prototype.remove = function(r) {
679
695
  var e = this._finalizers;
680
- e && te(e, r), r instanceof n && r._removeParent(this);
696
+ e && ne(e, r), r instanceof n && r._removeParent(this);
681
697
  }, n.EMPTY = function() {
682
698
  var r = new n();
683
699
  return r.closed = !0, r;
684
700
  }(), n;
685
- }(), xe = q.EMPTY;
686
- function _e(n) {
687
- return n instanceof q || n && "closed" in n && b(n.remove) && b(n.add) && b(n.unsubscribe);
701
+ }(), De = H.EMPTY;
702
+ function Ae(n) {
703
+ return n instanceof H || n && "closed" in n && z(n.remove) && z(n.add) && z(n.unsubscribe);
688
704
  }
689
- function ve(n) {
690
- b(n) ? n() : n.unsubscribe();
705
+ function Se(n) {
706
+ z(n) ? n() : n.unsubscribe();
691
707
  }
692
- var sr = {
708
+ var dr = {
693
709
  Promise: void 0
694
- }, lr = {
710
+ }, cr = {
695
711
  setTimeout: function(n, r) {
696
712
  for (var e = [], t = 2; t < arguments.length; t++)
697
713
  e[t - 2] = arguments[t];
698
- return setTimeout.apply(void 0, ne([n, r], re(e)));
714
+ return setTimeout.apply(void 0, re([n, r], ee(e)));
699
715
  },
700
716
  clearTimeout: function(n) {
701
717
  return clearTimeout(n);
702
718
  },
703
719
  delegate: void 0
704
720
  };
705
- function ur(n) {
706
- lr.setTimeout(function() {
721
+ function pr(n) {
722
+ cr.setTimeout(function() {
707
723
  throw n;
708
724
  });
709
725
  }
710
- function be() {
726
+ function ke() {
711
727
  }
712
- function H(n) {
728
+ function N(n) {
713
729
  n();
714
730
  }
715
- var je = function(n) {
716
- B(r, n);
731
+ var Re = function(n) {
732
+ L(r, n);
717
733
  function r(e) {
718
734
  var t = n.call(this) || this;
719
- return t.isStopped = !1, e ? (t.destination = e, _e(e) && e.add(t)) : t.destination = pr, t;
735
+ return t.isStopped = !1, e ? (t.destination = e, Ae(e) && e.add(t)) : t.destination = fr, t;
720
736
  }
721
737
  return r.create = function(e, t, i) {
722
- return new ie(e, t, i);
738
+ return new te(e, t, i);
723
739
  }, r.prototype.next = function(e) {
724
740
  this.isStopped || this._next(e);
725
741
  }, r.prototype.error = function(e) {
@@ -743,7 +759,7 @@ var je = function(n) {
743
759
  this.unsubscribe();
744
760
  }
745
761
  }, r;
746
- }(q), dr = function() {
762
+ }(H), hr = function() {
747
763
  function n(r) {
748
764
  this.partialObserver = r;
749
765
  }
@@ -753,7 +769,7 @@ var je = function(n) {
753
769
  try {
754
770
  e.next(r);
755
771
  } catch (t) {
756
- G(t);
772
+ W(t);
757
773
  }
758
774
  }, n.prototype.error = function(r) {
759
775
  var e = this.partialObserver;
@@ -761,56 +777,56 @@ var je = function(n) {
761
777
  try {
762
778
  e.error(r);
763
779
  } catch (t) {
764
- G(t);
780
+ W(t);
765
781
  }
766
782
  else
767
- G(r);
783
+ W(r);
768
784
  }, n.prototype.complete = function() {
769
785
  var r = this.partialObserver;
770
786
  if (r.complete)
771
787
  try {
772
788
  r.complete();
773
789
  } catch (e) {
774
- G(e);
790
+ W(e);
775
791
  }
776
792
  }, n;
777
- }(), ie = function(n) {
778
- B(r, n);
793
+ }(), te = function(n) {
794
+ L(r, n);
779
795
  function r(e, t, i) {
780
796
  var o = n.call(this) || this, a;
781
- return b(e) || !e ? a = {
782
- next: e ?? void 0,
783
- error: t ?? void 0,
784
- complete: i ?? void 0
785
- } : a = e, o.destination = new dr(a), o;
797
+ return z(e) || !e ? a = {
798
+ next: e != null ? e : void 0,
799
+ error: t != null ? t : void 0,
800
+ complete: i != null ? i : void 0
801
+ } : a = e, o.destination = new hr(a), o;
786
802
  }
787
803
  return r;
788
- }(je);
789
- function G(n) {
790
- ur(n);
804
+ }(Re);
805
+ function W(n) {
806
+ pr(n);
791
807
  }
792
- function cr(n) {
808
+ function gr(n) {
793
809
  throw n;
794
810
  }
795
- var pr = {
811
+ var fr = {
796
812
  closed: !0,
797
- next: be,
798
- error: cr,
799
- complete: be
800
- }, hr = function() {
813
+ next: ke,
814
+ error: gr,
815
+ complete: ke
816
+ }, mr = function() {
801
817
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
802
818
  }();
803
- function gr(n) {
819
+ function vr(n) {
804
820
  return n;
805
821
  }
806
- function fr(n) {
807
- return n.length === 0 ? gr : n.length === 1 ? n[0] : function(e) {
822
+ function br(n) {
823
+ return n.length === 0 ? vr : n.length === 1 ? n[0] : function(e) {
808
824
  return n.reduce(function(t, i) {
809
825
  return i(t);
810
826
  }, e);
811
827
  };
812
828
  }
813
- var ye = function() {
829
+ var Te = function() {
814
830
  function n(r) {
815
831
  r && (this._subscribe = r);
816
832
  }
@@ -818,8 +834,8 @@ var ye = function() {
818
834
  var e = new n();
819
835
  return e.source = this, e.operator = r, e;
820
836
  }, n.prototype.subscribe = function(r, e, t) {
821
- var i = this, o = vr(r) ? r : new ie(r, e, t);
822
- return H(function() {
837
+ var i = this, o = wr(r) ? r : new te(r, e, t);
838
+ return N(function() {
823
839
  var a = i, l = a.operator, u = a.source;
824
840
  o.add(l ? l.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
825
841
  }), o;
@@ -831,8 +847,8 @@ var ye = function() {
831
847
  }
832
848
  }, n.prototype.forEach = function(r, e) {
833
849
  var t = this;
834
- return e = we(e), new e(function(i, o) {
835
- var a = new ie({
850
+ return e = ze(e), new e(function(i, o) {
851
+ var a = new te({
836
852
  next: function(l) {
837
853
  try {
838
854
  r(l);
@@ -848,15 +864,15 @@ var ye = function() {
848
864
  }, n.prototype._subscribe = function(r) {
849
865
  var e;
850
866
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(r);
851
- }, n.prototype[hr] = function() {
867
+ }, n.prototype[mr] = function() {
852
868
  return this;
853
869
  }, n.prototype.pipe = function() {
854
870
  for (var r = [], e = 0; e < arguments.length; e++)
855
871
  r[e] = arguments[e];
856
- return fr(r)(this);
872
+ return br(r)(this);
857
873
  }, n.prototype.toPromise = function(r) {
858
874
  var e = this;
859
- return r = we(r), new r(function(t, i) {
875
+ return r = ze(r), new r(function(t, i) {
860
876
  var o;
861
877
  e.subscribe(function(a) {
862
878
  return o = a;
@@ -870,45 +886,45 @@ var ye = function() {
870
886
  return new n(r);
871
887
  }, n;
872
888
  }();
873
- function we(n) {
889
+ function ze(n) {
874
890
  var r;
875
- return (r = n ?? sr.Promise) !== null && r !== void 0 ? r : Promise;
891
+ return (r = n != null ? n : dr.Promise) !== null && r !== void 0 ? r : Promise;
876
892
  }
877
- function mr(n) {
878
- return n && b(n.next) && b(n.error) && b(n.complete);
893
+ function yr(n) {
894
+ return n && z(n.next) && z(n.error) && z(n.complete);
879
895
  }
880
- function vr(n) {
881
- return n && n instanceof je || mr(n) && _e(n);
896
+ function wr(n) {
897
+ return n && n instanceof Re || yr(n) && Ae(n);
882
898
  }
883
- var br = ze(function(n) {
899
+ var Sr = Pe(function(n) {
884
900
  return function() {
885
901
  n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
886
902
  };
887
- }), Pe = function(n) {
888
- B(r, n);
903
+ }), qe = function(n) {
904
+ L(r, n);
889
905
  function r() {
890
906
  var e = n.call(this) || this;
891
907
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
892
908
  }
893
909
  return r.prototype.lift = function(e) {
894
- var t = new Se(this, this);
910
+ var t = new xe(this, this);
895
911
  return t.operator = e, t;
896
912
  }, r.prototype._throwIfClosed = function() {
897
913
  if (this.closed)
898
- throw new br();
914
+ throw new Sr();
899
915
  }, r.prototype.next = function(e) {
900
916
  var t = this;
901
- H(function() {
917
+ N(function() {
902
918
  var i, o;
903
919
  if (t._throwIfClosed(), !t.isStopped) {
904
920
  t.currentObservers || (t.currentObservers = Array.from(t.observers));
905
921
  try {
906
- for (var a = ee(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
922
+ for (var a = $(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
907
923
  var u = l.value;
908
924
  u.next(e);
909
925
  }
910
- } catch (f) {
911
- i = { error: f };
926
+ } catch (h) {
927
+ i = { error: h };
912
928
  } finally {
913
929
  try {
914
930
  l && !l.done && (o = a.return) && o.call(a);
@@ -920,7 +936,7 @@ var br = ze(function(n) {
920
936
  });
921
937
  }, r.prototype.error = function(e) {
922
938
  var t = this;
923
- H(function() {
939
+ N(function() {
924
940
  if (t._throwIfClosed(), !t.isStopped) {
925
941
  t.hasError = t.isStopped = !0, t.thrownError = e;
926
942
  for (var i = t.observers; i.length; )
@@ -929,7 +945,7 @@ var br = ze(function(n) {
929
945
  });
930
946
  }, r.prototype.complete = function() {
931
947
  var e = this;
932
- H(function() {
948
+ N(function() {
933
949
  if (e._throwIfClosed(), !e.isStopped) {
934
950
  e.isStopped = !0;
935
951
  for (var t = e.observers; t.length; )
@@ -951,20 +967,20 @@ var br = ze(function(n) {
951
967
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
952
968
  }, r.prototype._innerSubscribe = function(e) {
953
969
  var t = this, i = this, o = i.hasError, a = i.isStopped, l = i.observers;
954
- return o || a ? xe : (this.currentObservers = null, l.push(e), new q(function() {
955
- t.currentObservers = null, te(l, e);
970
+ return o || a ? De : (this.currentObservers = null, l.push(e), new H(function() {
971
+ t.currentObservers = null, ne(l, e);
956
972
  }));
957
973
  }, r.prototype._checkFinalizedStatuses = function(e) {
958
974
  var t = this, i = t.hasError, o = t.thrownError, a = t.isStopped;
959
975
  i ? e.error(o) : a && e.complete();
960
976
  }, r.prototype.asObservable = function() {
961
- var e = new ye();
977
+ var e = new Te();
962
978
  return e.source = this, e;
963
979
  }, r.create = function(e, t) {
964
- return new Se(e, t);
980
+ return new xe(e, t);
965
981
  }, r;
966
- }(ye), Se = function(n) {
967
- B(r, n);
982
+ }(Te), xe = function(n) {
983
+ L(r, n);
968
984
  function r(e, t) {
969
985
  var i = n.call(this) || this;
970
986
  return i.destination = e, i.source = t, i;
@@ -980,17 +996,17 @@ var br = ze(function(n) {
980
996
  (t = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || t === void 0 || t.call(e);
981
997
  }, r.prototype._subscribe = function(e) {
982
998
  var t, i;
983
- return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i : xe;
999
+ return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i : De;
984
1000
  }, r;
985
- }(Pe), De = {
1001
+ }(qe), Ce = {
986
1002
  now: function() {
987
- return (De.delegate || Date).now();
1003
+ return (Ce.delegate || Date).now();
988
1004
  },
989
1005
  delegate: void 0
990
- }, yr = function(n) {
991
- B(r, n);
1006
+ }, kr = function(n) {
1007
+ L(r, n);
992
1008
  function r(e, t, i) {
993
- e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i = De);
1009
+ e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i = Ce);
994
1010
  var o = n.call(this) || this;
995
1011
  return o._bufferSize = e, o._windowTime = t, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = t === 1 / 0, o._bufferSize = Math.max(1, e), o._windowTime = Math.max(1, t), o;
996
1012
  }
@@ -1005,37 +1021,37 @@ var br = ze(function(n) {
1005
1021
  }, r.prototype._trimBuffer = function() {
1006
1022
  var e = this, t = e._bufferSize, i = e._timestampProvider, o = e._buffer, a = e._infiniteTimeWindow, l = (a ? 1 : 2) * t;
1007
1023
  if (t < 1 / 0 && l < o.length && o.splice(0, o.length - l), !a) {
1008
- for (var u = i.now(), f = 0, m = 1; m < o.length && o[m] <= u; m += 2)
1009
- f = m;
1010
- f && o.splice(0, f + 1);
1024
+ for (var u = i.now(), h = 0, v = 1; v < o.length && o[v] <= u; v += 2)
1025
+ h = v;
1026
+ h && o.splice(0, h + 1);
1011
1027
  }
1012
1028
  }, r;
1013
- }(Pe);
1014
- const ke = [], Te = {}, wr = (n, r = 0) => {
1015
- if (ke.indexOf(n) == -1) {
1016
- const e = new yr(r);
1017
- Te[n] = e, ke.push(n);
1029
+ }(qe);
1030
+ const _e = [], je = {}, Tr = (n, r = 0) => {
1031
+ if (_e.indexOf(n) == -1) {
1032
+ const e = new kr(r);
1033
+ je[n] = e, _e.push(n);
1018
1034
  }
1019
- return Te[n];
1035
+ return je[n];
1020
1036
  };
1021
- window.emWidgets = { topic: wr };
1037
+ window.emWidgets = { topic: Tr };
1022
1038
  String(Number.MAX_SAFE_INTEGER).length;
1023
- var Sr = F('<div class="LoaderContainer svelte-363b7g"><div class="Loader svelte-363b7g"><div class="LoaderRingOuter svelte-363b7g"></div> <div class="LoaderRingInner svelte-363b7g"></div></div></div>'), kr = F('<div class="PrizeHubContainer svelte-363b7g"><h3 class="svelte-363b7g"> </h3> <p class="svelte-363b7g"> </p></div> <div class="MiniGamesCardList svelte-363b7g"></div>', 1), Tr = F('<div class="svelte-363b7g"><p class="svelte-363b7g"> </p></div>'), zr = F('<div class="MainContainer svelte-363b7g"><!></div>');
1024
- const xr = {
1025
- hash: "svelte-363b7g",
1026
- code: `.svelte-363b7g,
1027
- .svelte-363b7g::before,
1028
- .svelte-363b7g::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;-webkit-tap-highlight-color:transparent;}.MainContainer.svelte-363b7g {background-color:transparent;width:100%;height:100%;min-height:100%;color:white;display:flex;flex-direction:column;gap:5px;padding-top:20px;}.MiniGamesCardList.svelte-363b7g {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;}.PrizeHubContainer.svelte-363b7g {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;}.PrizeHubContainer.svelte-363b7g h3:where(.svelte-363b7g) {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;}.PrizeHubContainer.svelte-363b7g p:where(.svelte-363b7g) {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;}.LoaderContainer.svelte-363b7g {display:flex;align-items:center;justify-content:center;width:100%;flex:1;}.Loader.svelte-363b7g {position:relative;width:64px;height:64px;}.LoaderRingOuter.svelte-363b7g,
1029
- .LoaderRingInner.svelte-363b7g {position:absolute;border-radius:50%;border:3px solid transparent;}.LoaderRingOuter.svelte-363b7g {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
1030
- animation: svelte-363b7g-spin-cw 1s linear infinite;}.LoaderRingInner.svelte-363b7g {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
1031
- animation: svelte-363b7g-spin-ccw 0.75s linear infinite;}
1039
+ var zr = G('<div class="LoaderContainer svelte-1g2duiq"><div class="Loader svelte-1g2duiq"><div class="LoaderRingOuter svelte-1g2duiq"></div> <div class="LoaderRingInner svelte-1g2duiq"></div></div></div>'), xr = G('<div class="PrizeHubContainer svelte-1g2duiq"><h3 class="svelte-1g2duiq"> </h3> <p class="svelte-1g2duiq"> </p></div> <div class="MiniGamesCardList svelte-1g2duiq"></div>', 1), _r = G('<div class="svelte-1g2duiq"><p class="svelte-1g2duiq"> </p></div>'), jr = G('<div class="MainContainer svelte-1g2duiq"><!></div>');
1040
+ const Pr = {
1041
+ hash: "svelte-1g2duiq",
1042
+ code: `.svelte-1g2duiq,
1043
+ .svelte-1g2duiq::before,
1044
+ .svelte-1g2duiq::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;-webkit-tap-highlight-color:transparent;}.MainContainer.svelte-1g2duiq {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;padding-top:20px;max-width:700px;margin:0 auto;}.MiniGamesCardList.svelte-1g2duiq {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;}.PrizeHubContainer.svelte-1g2duiq {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;}.PrizeHubContainer.svelte-1g2duiq h3:where(.svelte-1g2duiq) {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;}.PrizeHubContainer.svelte-1g2duiq p:where(.svelte-1g2duiq) {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;}.LoaderContainer.svelte-1g2duiq {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;}.Loader.svelte-1g2duiq {position:relative;width:64px;height:64px;}.LoaderRingOuter.svelte-1g2duiq,
1045
+ .LoaderRingInner.svelte-1g2duiq {position:absolute;border-radius:50%;border:3px solid transparent;}.LoaderRingOuter.svelte-1g2duiq {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
1046
+ animation: svelte-1g2duiq-spin-cw 1s linear infinite;}.LoaderRingInner.svelte-1g2duiq {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
1047
+ animation: svelte-1g2duiq-spin-ccw 0.75s linear infinite;}
1032
1048
 
1033
- @keyframes svelte-363b7g-spin-cw {
1049
+ @keyframes svelte-1g2duiq-spin-cw {
1034
1050
  to {
1035
1051
  transform: rotate(360deg);
1036
1052
  }
1037
1053
  }
1038
- @keyframes svelte-363b7g-spin-ccw {
1054
+ @keyframes svelte-1g2duiq-spin-ccw {
1039
1055
  to {
1040
1056
  transform: rotate(-360deg);
1041
1057
  }
@@ -1103,235 +1119,250 @@ const xr = {
1103
1119
  }
1104
1120
  */`
1105
1121
  };
1106
- function _r(n, r) {
1107
- Ve(r, !0), Ue(n, xr);
1108
- const e = () => tr(ir, "$_", t), [t, i] = Qe(), o = k(r, "endpoint", 7), a = k(r, "session", 7), l = k(r, "requiresOptin", 7, !1), u = k(r, "language", 7, "en"), f = k(r, "outerWheelAsset", 7, null), m = k(r, "wheelButtonAsset", 7, null), w = k(r, "translationurl", 7);
1109
- or({ withLocale: "en", translations: {} });
1110
- const _ = () => {
1122
+ function Dr(n, r) {
1123
+ var le, ue;
1124
+ Qe(r, !0), nr(n, Pr);
1125
+ const e = () => er(rr, "$_", t), [t, i] = Xe(), o = T(r, "endpoint", 7), a = T(r, "session", 7), l = T(r, "requiresOptin", 7, !1), u = T(r, "language", 7, "en"), h = T(r, "outerWheelAsset", 7, null), v = T(r, "wheelButtonAsset", 7, null), j = T(r, "backgroundVideoAsset", 7, null), x = T(r, "liteMode", 7, !1), w = T(r, "translationurl", 7), F = /iPhone|iPad|iPod/.test(navigator.userAgent), m = (le = navigator.deviceMemory) != null ? le : 1 / 0, Ee = (ue = navigator.hardwareConcurrency) != null ? ue : 1 / 0;
1126
+ function Be() {
1127
+ try {
1128
+ const c = document.createElement("canvas").getContext("webgl");
1129
+ if (!c) return !1;
1130
+ const b = c.getExtension("WEBGL_debug_renderer_info");
1131
+ if (!b) return !1;
1132
+ const d = c.getParameter(b.UNMASKED_RENDERER_WEBGL).toLowerCase();
1133
+ return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(d);
1134
+ } catch (s) {
1135
+ return !1;
1136
+ }
1137
+ }
1138
+ const Oe = !F && (m <= 4 || Ee <= 4 || Be()), ie = fe(() => x() || Oe);
1139
+ tr({ withLocale: "en", translations: {} });
1140
+ const Le = () => {
1111
1141
  let s = new URL(w());
1112
1142
  fetch(s.href).then((c) => c.json()).then((c) => {
1113
- Object.keys(c).forEach((y) => {
1114
- he(y, c[y]);
1143
+ Object.keys(c).forEach((b) => {
1144
+ me(b, c[b]);
1115
1145
  });
1116
1146
  }).catch((c) => {
1117
1147
  console.log(c);
1118
1148
  });
1119
1149
  };
1120
- Object.keys(me).forEach((s) => {
1121
- he(s, me[s]);
1122
- }), ge(u());
1123
- const S = () => {
1124
- ge(u());
1150
+ Object.keys(we).forEach((s) => {
1151
+ me(s, we[s]);
1152
+ }), ve(u());
1153
+ const Me = () => {
1154
+ ve(u());
1125
1155
  };
1126
1156
  Je(() => {
1127
- w() && _();
1157
+ w() && Le();
1128
1158
  }), Ye(() => {
1129
- S();
1159
+ Me();
1130
1160
  });
1131
- let v = O(!1), d = O(Ke([])), oe = O(!1), I = O(!1), j = O(null), ae = O(!1);
1132
- const Ae = async () => {
1133
- h(v, !0);
1161
+ let _ = C(!1), S = C(Ke([])), oe = C(!1), I = C(!1), A = C(null), ae = C(!1);
1162
+ const We = () => K(this, null, function* () {
1163
+ p(_, !0);
1134
1164
  const s = new URL(`${o()}/v1/wof/claimable`), c = new Headers();
1135
1165
  a() && c.append("X-SessionId", a());
1136
- const y = { method: "GET", headers: c, cache: "no-store" };
1137
- s.searchParams.append("filter", "wheelOfFortune"), fetch(s, y).then((p) => p.json()).then((p) => {
1138
- if (p && p.errorMessage?.trim() === "InvalidSessionId") {
1139
- h(I, !0), h(v, !1);
1166
+ const b = { method: "GET", headers: c, cache: "no-store" };
1167
+ s.searchParams.append("filter", "wheelOfFortune"), fetch(s, b).then((d) => d.json()).then((d) => {
1168
+ var P, R, M, g;
1169
+ if (d && ((P = d.errorMessage) == null ? void 0 : P.trim()) === "InvalidSessionId") {
1170
+ p(I, !0), p(_, !1);
1140
1171
  return;
1141
1172
  }
1142
- if (p?.items?.program?.canClaim) {
1143
- h(d, p?.items?.program, !0), h(v, !1);
1173
+ if ((M = (R = d == null ? void 0 : d.items) == null ? void 0 : R.program) != null && M.canClaim) {
1174
+ p(S, (g = d == null ? void 0 : d.items) == null ? void 0 : g.program, !0), p(_, !1);
1144
1175
  return;
1145
1176
  }
1146
- h(d, p?.items, !0);
1147
- }).catch((p) => {
1148
- console.log(p), h(oe, !0);
1149
- }).finally(() => h(v, !1));
1150
- }, Re = async () => {
1151
- h(v, !0);
1177
+ p(S, d == null ? void 0 : d.items, !0);
1178
+ }).catch((d) => {
1179
+ console.log(d), p(oe, !0);
1180
+ }).finally(() => p(_, !1));
1181
+ }), Ne = () => K(this, null, function* () {
1182
+ p(_, !0);
1152
1183
  const s = new URL(`${o()}/v1/wof/lotteries`), c = new Headers();
1153
1184
  a() && c.append("X-SessionId", a());
1154
- const y = { method: "GET", headers: c, cache: "no-store" };
1155
- s.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(s, y).then((p) => p.json()).then((p) => {
1156
- if (p && p.errorMessage?.trim() === "InvalidSessionId") {
1157
- h(I, !0), h(v, !1);
1185
+ const b = { method: "GET", headers: c, cache: "no-store" };
1186
+ s.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(s, b).then((d) => d.json()).then((d) => {
1187
+ var P;
1188
+ if (d && ((P = d.errorMessage) == null ? void 0 : P.trim()) === "InvalidSessionId") {
1189
+ p(I, !0), p(_, !1);
1158
1190
  return;
1159
1191
  }
1160
- h(d, p?.items.map((U) => $e(U, u())), !0), g(d).length === 1 && (h(j, g(d)[0], !0), h(ae, !0)), g(d).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
1161
- }).catch((p) => {
1162
- console.log(p), h(oe, !0);
1163
- }).finally(() => h(v, !1));
1164
- }, se = (s) => {
1192
+ p(S, d == null ? void 0 : d.items.map((R) => $e(R, u())), !0), f(S).length === 1 && (p(A, f(S)[0], !0), p(ae, !0)), f(S).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
1193
+ }).catch((d) => {
1194
+ console.log(d), p(oe, !0);
1195
+ }).finally(() => p(_, !1));
1196
+ }), se = (s) => {
1165
1197
  if (s.data)
1166
1198
  switch (s.data.type) {
1167
1199
  case "PlayMiniGame":
1168
- h(j, g(d).find((c) => c.id === s.data.programId), !0);
1200
+ p(A, f(S).find((c) => c.id === s.data.programId), !0);
1169
1201
  break;
1170
1202
  case "CloseMiniGame":
1171
- h(j, null);
1203
+ p(A, null);
1172
1204
  break;
1173
1205
  case "PrizeGameRemainingTimesUpdated":
1174
- h(j, s.data.data, !0);
1206
+ p(A, s.data.data, !0);
1175
1207
  break;
1176
1208
  }
1177
1209
  };
1178
- Ze(() => (a() && (l() ? Ae() : Re()), window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!a() }, window.location.href), window.addEventListener("message", se), () => {
1210
+ ir(() => (a() && (l() ? We() : Ne()), window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!a() }, window.location.href), window.addEventListener("message", se), () => {
1179
1211
  window.removeEventListener("message", se);
1180
1212
  }));
1181
- var Ce = {
1213
+ var Ge = {
1182
1214
  get endpoint() {
1183
1215
  return o();
1184
1216
  },
1185
1217
  set endpoint(s) {
1186
- o(s), z();
1218
+ o(s), k();
1187
1219
  },
1188
1220
  get session() {
1189
1221
  return a();
1190
1222
  },
1191
1223
  set session(s) {
1192
- a(s), z();
1224
+ a(s), k();
1193
1225
  },
1194
1226
  get requiresOptin() {
1195
1227
  return l();
1196
1228
  },
1197
1229
  set requiresOptin(s = !1) {
1198
- l(s), z();
1230
+ l(s), k();
1199
1231
  },
1200
1232
  get language() {
1201
1233
  return u();
1202
1234
  },
1203
1235
  set language(s = "en") {
1204
- u(s), z();
1236
+ u(s), k();
1205
1237
  },
1206
1238
  get outerWheelAsset() {
1207
- return f();
1239
+ return h();
1208
1240
  },
1209
1241
  set outerWheelAsset(s = null) {
1210
- f(s), z();
1242
+ h(s), k();
1211
1243
  },
1212
1244
  get wheelButtonAsset() {
1213
- return m();
1245
+ return v();
1214
1246
  },
1215
1247
  set wheelButtonAsset(s = null) {
1216
- m(s), z();
1248
+ v(s), k();
1249
+ },
1250
+ get backgroundVideoAsset() {
1251
+ return j();
1252
+ },
1253
+ set backgroundVideoAsset(s = null) {
1254
+ j(s), k();
1255
+ },
1256
+ get liteMode() {
1257
+ return x();
1258
+ },
1259
+ set liteMode(s = !1) {
1260
+ x(s), k();
1217
1261
  },
1218
1262
  get translationurl() {
1219
1263
  return w();
1220
1264
  },
1221
1265
  set translationurl(s) {
1222
- w(s), z();
1266
+ w(s), k();
1223
1267
  }
1224
- }, V = zr(), Oe = E(V);
1268
+ }, V = jr(), He = E(V);
1225
1269
  {
1226
- var Ee = (s) => {
1227
- var c = Sr();
1228
- T(s, c);
1229
- }, We = (s) => {
1230
- var c = Z(), y = N(c);
1270
+ var Fe = (s) => {
1271
+ var c = zr();
1272
+ O(s, c);
1273
+ }, Ie = (s) => {
1274
+ var c = ar(), b = pe(c);
1231
1275
  {
1232
- var p = (P) => {
1233
- fe(P, {
1276
+ var d = (g) => {
1277
+ ye(g, {
1234
1278
  get outerWheelAsset() {
1235
- return f();
1279
+ return h();
1236
1280
  },
1237
1281
  get wheelButtonAsset() {
1238
- return m();
1282
+ return v();
1283
+ },
1284
+ get backgroundVideoAsset() {
1285
+ return j();
1239
1286
  },
1240
1287
  get language() {
1241
1288
  return u();
1289
+ },
1290
+ get liteMode() {
1291
+ return f(ie);
1242
1292
  }
1243
1293
  });
1244
- }, U = (P) => {
1245
- var le = Z(), Le = N(le);
1294
+ }, P = (g) => {
1246
1295
  {
1247
- var Me = (D) => {
1248
- {
1249
- let L = er(() => !g(ae));
1250
- fe(D, {
1251
- get program() {
1252
- return g(j);
1253
- },
1254
- get endpoint() {
1255
- return o();
1256
- },
1257
- get language() {
1258
- return u();
1259
- },
1260
- get session() {
1261
- return a();
1262
- },
1263
- get outerWheelAsset() {
1264
- return f();
1265
- },
1266
- get wheelButtonAsset() {
1267
- return m();
1268
- },
1269
- get showBackButton() {
1270
- return g(L);
1271
- }
1272
- });
1273
- }
1274
- }, Ne = (D) => {
1275
- var L = Z(), Ge = N(L);
1276
- {
1277
- var He = (A) => {
1278
- var R = kr(), C = N(R), W = E(C), J = E(W, !0);
1279
- x(W);
1280
- var ue = ce(W, 2), qe = E(ue, !0);
1281
- x(ue), x(C);
1282
- var de = ce(C, 2);
1283
- rr(de, 21, () => g(d), nr, (Y, K) => {
1284
- ar(Y, {
1285
- get program() {
1286
- return g(K);
1287
- }
1288
- });
1289
- }), x(de), pe(
1290
- (Y, K) => {
1291
- X(J, Y), X(qe, K);
1292
- },
1293
- [() => e()("hubTitle"), () => e()("hubSubtitle")]
1294
- ), T(A, R);
1295
- }, Fe = (A) => {
1296
- var R = Tr(), C = E(R), W = E(C, !0);
1297
- x(C), x(R), pe((J) => X(W, J), [() => e()("noContent")]), T(A, R);
1298
- };
1299
- M(
1300
- Ge,
1301
- (A) => {
1302
- g(d)?.length > 1 ? A(He) : A(Fe, !1);
1303
- },
1304
- !0
1305
- );
1306
- }
1307
- T(D, L);
1308
- };
1309
- M(
1310
- Le,
1311
- (D) => {
1312
- g(j) ? D(Me) : D(Ne, !1);
1296
+ let y = fe(() => !f(ae));
1297
+ ye(g, {
1298
+ get program() {
1299
+ return f(A);
1300
+ },
1301
+ get endpoint() {
1302
+ return o();
1303
+ },
1304
+ get language() {
1305
+ return u();
1306
+ },
1307
+ get session() {
1308
+ return a();
1313
1309
  },
1314
- !0
1315
- );
1310
+ get outerWheelAsset() {
1311
+ return h();
1312
+ },
1313
+ get wheelButtonAsset() {
1314
+ return v();
1315
+ },
1316
+ get backgroundVideoAsset() {
1317
+ return j();
1318
+ },
1319
+ get showBackButton() {
1320
+ return f(y);
1321
+ },
1322
+ get liteMode() {
1323
+ return f(ie);
1324
+ }
1325
+ });
1316
1326
  }
1317
- T(P, le);
1327
+ }, R = (g) => {
1328
+ var y = xr(), q = pe(y), B = E(q), U = E(B, !0);
1329
+ D(B);
1330
+ var de = he(B, 2), Ue = E(de, !0);
1331
+ D(de), D(q);
1332
+ var ce = he(q, 2);
1333
+ sr(ce, 21, () => f(S), lr, (J, Y) => {
1334
+ ur(J, {
1335
+ get program() {
1336
+ return f(Y);
1337
+ }
1338
+ });
1339
+ }), D(ce), ge(
1340
+ (J, Y) => {
1341
+ Z(U, J), Z(Ue, Y);
1342
+ },
1343
+ [() => e()("hubTitle"), () => e()("hubSubtitle")]
1344
+ ), O(g, y);
1345
+ }, M = (g) => {
1346
+ var y = _r(), q = E(y), B = E(q, !0);
1347
+ D(q), D(y), ge((U) => Z(B, U), [() => e()("noContent")]), O(g, y);
1318
1348
  };
1319
- M(y, (P) => {
1320
- !a() || g(I) ? P(p) : P(U, !1);
1349
+ be(b, (g) => {
1350
+ var y;
1351
+ !a() || f(I) ? g(d) : f(A) ? g(P, 1) : ((y = f(S)) == null ? void 0 : y.length) > 1 ? g(R, 2) : g(M, -1);
1321
1352
  });
1322
1353
  }
1323
- T(s, c);
1354
+ O(s, c);
1324
1355
  };
1325
- M(Oe, (s) => {
1326
- g(v) ? s(Ee) : s(We, !1);
1356
+ be(He, (s) => {
1357
+ f(_) ? s(Fe) : s(Ie, -1);
1327
1358
  });
1328
1359
  }
1329
- x(V), T(n, V);
1330
- var Be = Xe(Ce);
1331
- return i(), Be;
1360
+ D(V), O(n, V);
1361
+ var Ve = Ze(Ge);
1362
+ return i(), Ve;
1332
1363
  }
1333
- customElements.define("mini-games-hub", Ie(
1334
- _r,
1364
+ customElements.define("mini-games-hub", or(
1365
+ Dr,
1335
1366
  {
1336
1367
  endpoint: { attribute: "endpoint", type: "String" },
1337
1368
  session: { attribute: "session", type: "String" },
@@ -1339,12 +1370,13 @@ customElements.define("mini-games-hub", Ie(
1339
1370
  language: { attribute: "language", type: "String" },
1340
1371
  outerWheelAsset: { attribute: "outer-wheel-asset", type: "String" },
1341
1372
  wheelButtonAsset: { attribute: "wheel-button-asset", type: "String" },
1373
+ backgroundVideoAsset: { attribute: "background-video-asset", type: "String" },
1374
+ liteMode: { attribute: "lite-mode", type: "Boolean" },
1342
1375
  translationurl: { attribute: "translationurl", type: "String" }
1343
1376
  },
1344
1377
  [],
1345
- [],
1346
- !1
1378
+ []
1347
1379
  ));
1348
1380
  export {
1349
- _r as M
1381
+ Dr as default
1350
1382
  };