@everymatrix/mini-games-hub 0.1.6 → 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.
- package/components/{GameCard-8XBwX5mB.js → GameCard-DTz2IEhm.js} +27 -29
- package/components/GameCard-Dfgtrwdb.cjs +3 -0
- package/components/{GameCard-SP2WkMe4.js → GameCard-sNqb2_mR.js} +27 -29
- package/components/{MiniGamesHub-CMCQVVj-.cjs → MiniGamesHub-3XlqpfV_.cjs} +5 -5
- package/components/{MiniGamesHub-DXDzq6kn.js → MiniGamesHub-DTPiOtNT.js} +272 -273
- package/components/{MiniGamesHub-CZqhbkAH.js → MiniGamesHub-iX9t9vSW.js} +258 -259
- package/components/{WheelOfFortune-5qXt_Tgq.js → WheelOfFortune-BKUcclpm.js} +173 -159
- package/components/{WheelOfFortune-C175eyqQ.js → WheelOfFortune-CbvJZO8-.js} +159 -165
- package/components/{WheelOfFortune-DfEViFbR.cjs → WheelOfFortune-DgAgnR_Q.cjs} +8 -6
- package/components/WheelOfFortuneDrawResults-AskDnOA6.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-C9BcE4Kr.js +262 -0
- package/components/WheelOfFortuneDrawResults-DnQPGIPX.js +237 -0
- package/components/WheelOfFortuneHistory-BA977Hfx.js +230 -0
- package/components/WheelOfFortuneHistory-CT-5jtfe.js +230 -0
- package/components/WheelOfFortuneHistory-uP606zLS.cjs +13 -0
- package/components/{WheelOfFortuneRules-DWgbOzlP.js → WheelOfFortuneRules-C16Md0m_.js} +64 -64
- package/components/WheelOfFortuneRules-DQcA-d8i.js +128 -0
- package/components/WheelOfFortuneRules-zVRcNYIv.cjs +5 -0
- package/components/WheelOfFortuneWheel-6j7QTrsf.cjs +3 -0
- package/components/WheelOfFortuneWheel-BvI-fAML.js +1980 -0
- package/components/WheelOfFortuneWheel-CCmzx2yj.js +1910 -0
- package/components/utils-B53aGsNG.js +6095 -0
- package/components/utils-C0oX5v1l.js +6141 -0
- package/components/utils-Du65tqU5.cjs +3 -0
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +3 -1
- package/components/GameCard-B2Vf_Okb.cjs +0 -3
- package/components/GameCard-B2dUYs8D.cjs +0 -3
- package/components/GameCard-Bx4TWFNT.js +0 -58
- package/components/GameCard-CKlgiS66.cjs +0 -3
- package/components/GameCard-DX4XDT2r.js +0 -58
- package/components/GameCard-DXX0iD0Z.js +0 -58
- package/components/GameCard-Dfi3jlxs.js +0 -58
- package/components/GameCard-FmSc9xvG.js +0 -58
- package/components/GameCard-M2W5m0Zm.js +0 -58
- package/components/GameCard-_o5MuNe0.cjs +0 -3
- package/components/GameCard-lPup4pYJ.js +0 -58
- package/components/GameCard-m8ao3BnH.js +0 -58
- package/components/GameCard-txJxZVfs.cjs +0 -3
- package/components/MiniGamesHub-BBCzOhms.js +0 -1269
- package/components/MiniGamesHub-BEAlx3WE.js +0 -1350
- package/components/MiniGamesHub-BaAiz62L.cjs +0 -94
- package/components/MiniGamesHub-BbJIrcsb.cjs +0 -28
- package/components/MiniGamesHub-C6Nsfrqn.js +0 -1369
- package/components/MiniGamesHub-CLinNS2-.js +0 -1288
- package/components/MiniGamesHub-CrRIFbj_.js +0 -1350
- package/components/MiniGamesHub-DKkDXC81.cjs +0 -94
- package/components/MiniGamesHub-DXmod0OW.cjs +0 -94
- package/components/MiniGamesHub-DZHG1XwH.js +0 -1357
- package/components/MiniGamesHub-Db8-msnK.js +0 -1338
- package/components/MiniGamesHub-DxW3lK75.js +0 -1369
- package/components/WheelOfFortune-0yZoHYHH.js +0 -852
- package/components/WheelOfFortune-B-sa8npV.cjs +0 -572
- package/components/WheelOfFortune-B7NMoATV.js +0 -862
- package/components/WheelOfFortune-BxbFigrE.cjs +0 -588
- package/components/WheelOfFortune-CdsgfPZg.js +0 -829
- package/components/WheelOfFortune-Cfe5KhF-.cjs +0 -588
- package/components/WheelOfFortune-Cm-9CaHf.cjs +0 -570
- package/components/WheelOfFortune-DDfYKRzu.js +0 -862
- package/components/WheelOfFortune-DpMvjI6_.js +0 -811
- package/components/WheelOfFortune-Dtoep2n2.js +0 -852
- package/components/WheelOfFortune-cD7JyRL5.js +0 -820
- package/components/WheelOfFortune-u__JAdi_.js +0 -820
- package/components/WheelOfFortuneDrawResults-3S77J9M5.js +0 -292
- package/components/WheelOfFortuneDrawResults-B2L6I4Po.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-B6RkAQ_i.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-BRgQ0mTi.js +0 -261
- package/components/WheelOfFortuneDrawResults-BZAetM0L.js +0 -238
- package/components/WheelOfFortuneDrawResults-BmOTEhGD.js +0 -317
- package/components/WheelOfFortuneDrawResults-C0J_0fRE.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-CKkYMVLn.js +0 -317
- package/components/WheelOfFortuneDrawResults-CRTL9AxF.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-CvyqGbQG.js +0 -292
- package/components/WheelOfFortuneDrawResults-DIO74xIg.js +0 -317
- package/components/WheelOfFortuneDrawResults-D_QT2RDK.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-WD4ZaXdI.js +0 -261
- package/components/WheelOfFortuneDrawResults-XiJyW5cc.js +0 -238
- package/components/WheelOfFortuneDrawResults-tMY81TeU.js +0 -292
- package/components/WheelOfFortuneHistory-3lEfr9Yn.cjs +0 -13
- package/components/WheelOfFortuneHistory-BE1mGyJn.js +0 -233
- package/components/WheelOfFortuneHistory-BagUH_Pn.js +0 -233
- package/components/WheelOfFortuneHistory-BpfmGEE1.js +0 -233
- package/components/WheelOfFortuneHistory-C1VQ9CfR.cjs +0 -13
- package/components/WheelOfFortuneHistory-C_EX6Ecx.js +0 -233
- package/components/WheelOfFortuneHistory-CdbwXfZf.js +0 -233
- package/components/WheelOfFortuneHistory-CgWvWb5r.js +0 -233
- package/components/WheelOfFortuneHistory-CldOJOup.js +0 -233
- package/components/WheelOfFortuneHistory-CpY9Bvl5.js +0 -233
- package/components/WheelOfFortuneHistory-D9EVcaH2.js +0 -233
- package/components/WheelOfFortuneHistory-DQ7yysUE.cjs +0 -13
- package/components/WheelOfFortuneHistory-DoYx_EbF.js +0 -233
- package/components/WheelOfFortuneHistory-mbWa96d6.cjs +0 -13
- package/components/WheelOfFortuneHistory-tcBNosXj.cjs +0 -13
- package/components/WheelOfFortuneRules-3Pnc2tv_.cjs +0 -5
- package/components/WheelOfFortuneRules-BI3iP5jZ.js +0 -117
- package/components/WheelOfFortuneRules-ByuqEg7o.js +0 -128
- package/components/WheelOfFortuneRules-C9cNreB6.cjs +0 -5
- package/components/WheelOfFortuneRules-CD5FcLZh.js +0 -117
- package/components/WheelOfFortuneRules-CS1AnNsi.cjs +0 -5
- package/components/WheelOfFortuneRules-DAM5aq_8.js +0 -128
- package/components/WheelOfFortuneRules-DEln64Ys.js +0 -117
- package/components/WheelOfFortuneRules-DTZ61azL.js +0 -128
- package/components/WheelOfFortuneRules-DUjXad1Z.cjs +0 -5
- package/components/WheelOfFortuneRules-Dp6015wP.cjs +0 -5
- package/components/WheelOfFortuneRules-ICYWgDZn.js +0 -128
- package/components/WheelOfFortuneRules-Sa4GsYQ7.js +0 -117
- package/components/WheelOfFortuneRules-ssp6aAUp.js +0 -128
- package/components/WheelOfFortuneWheel-76dShj7s.cjs +0 -1
- package/components/WheelOfFortuneWheel-B-3ALU8u.js +0 -632
- package/components/WheelOfFortuneWheel-B0P_kjVI.js +0 -599
- package/components/WheelOfFortuneWheel-C2yIQKzY.js +0 -598
- package/components/WheelOfFortuneWheel-C6o9ZPV4.js +0 -598
- package/components/WheelOfFortuneWheel-CeSTBBTb.js +0 -640
- package/components/WheelOfFortuneWheel-D-wKWbJO.cjs +0 -1
- package/components/WheelOfFortuneWheel-Dn6de3eN.js +0 -674
- package/components/WheelOfFortuneWheel-JKN_P3ES.cjs +0 -1
- package/components/WheelOfFortuneWheel-LXdY_AV0.js +0 -633
- package/components/WheelOfFortuneWheel-R5JZFn6S.js +0 -643
- package/components/WheelOfFortuneWheel-j83OpEdj.cjs +0 -1
- package/components/WheelOfFortuneWheel-jv0TkAX_.js +0 -632
- package/components/WheelOfFortuneWheel-le2uV09t.js +0 -609
- package/components/WheelOfFortuneWheel-rP-wIp2j.cjs +0 -1
- package/components/bonus-BcSq5fV_.cjs +0 -1
- package/components/bonus-BroDvSJR.js +0 -4
- package/components/coin-DetgSMGn.js +0 -4
- package/components/coin-dEAbLQma.cjs +0 -1
- package/components/constants-B5BwgkMh.cjs +0 -1
- package/components/constants-syi43uVY.js +0 -29
- package/components/loyalty-Bf3uaVFP.js +0 -4
- package/components/loyalty-XDJlZgzx.cjs +0 -1
- package/components/noprize-BJ-U8c5U.cjs +0 -1
- package/components/noprize-DQHyTDC0.js +0 -4
- package/components/role-Bxkn_4_S.cjs +0 -1
- package/components/role-CNEtykLr.js +0 -4
- package/components/sparkles-Br3hNIM6.js +0 -25
- package/components/sparkles-CsUJD5iK.js +0 -29
- package/components/sparkles-DMNeGYKa.cjs +0 -1
- package/components/spin-controller-BfbakdA_.js +0 -160
- package/components/spin-controller-Do0l1eeX.cjs +0 -1
- package/components/spin-controller-Y0nB76qX.js +0 -162
- package/components/ticket-DP0fQfPa.cjs +0 -1
- package/components/ticket-DcOVRE_N.js +0 -4
- package/components/tournament-8UbfkV5I.cjs +0 -1
- package/components/tournament-BtKf5Btm.js +0 -4
- package/components/utils-BCvapeyS.cjs +0 -5
- package/components/utils-CCuzS-TL.js +0 -6831
- package/components/utils-CG5ADU6a.cjs +0 -5
- package/components/utils-COXr0j7Z.js +0 -6803
- package/components/utils-CbMHM9Bv.js +0 -6831
- package/components/utils-ClIENp93.js +0 -6906
- package/components/utils-Cun_uLlb.js +0 -6890
- package/components/utils-D6FQ3_dW.cjs +0 -5
- package/components/utils-De4h5fhB.js +0 -6918
- package/components/utils-DrFJq1GB.js +0 -6819
- package/components/utils-DrO0OQK_.js +0 -6918
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var K = (n, r, e) => new Promise((t, i) => {
|
|
2
2
|
var o = (u) => {
|
|
3
3
|
try {
|
|
4
4
|
l(e.next(u));
|
|
@@ -14,11 +14,11 @@ var ee = (n, r, e) => new Promise((t, i) => {
|
|
|
14
14
|
}, l = (u) => u.done ? t(u.value) : Promise.resolve(u.value).then(o, a);
|
|
15
15
|
l((e = e.apply(n, r)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { W as
|
|
20
|
-
import { G as
|
|
21
|
-
const
|
|
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 = {
|
|
22
22
|
en: {
|
|
23
23
|
noContent: "You don't have any lottery programs available now.",
|
|
24
24
|
hubTitle: "Prize Hub",
|
|
@@ -538,23 +538,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
538
538
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
539
539
|
PERFORMANCE OF THIS SOFTWARE.
|
|
540
540
|
***************************************************************************** */
|
|
541
|
-
var
|
|
542
|
-
return
|
|
541
|
+
var Q = function(n, r) {
|
|
542
|
+
return Q = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
543
543
|
e.__proto__ = t;
|
|
544
544
|
} || function(e, t) {
|
|
545
545
|
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
546
|
-
},
|
|
546
|
+
}, Q(n, r);
|
|
547
547
|
};
|
|
548
548
|
function L(n, r) {
|
|
549
549
|
if (typeof r != "function" && r !== null)
|
|
550
550
|
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
551
|
-
|
|
551
|
+
Q(n, r);
|
|
552
552
|
function e() {
|
|
553
553
|
this.constructor = n;
|
|
554
554
|
}
|
|
555
555
|
n.prototype = r === null ? Object.create(r) : (e.prototype = r.prototype, new e());
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function $(n) {
|
|
558
558
|
var r = typeof Symbol == "function" && Symbol.iterator, e = r && n[r], t = 0;
|
|
559
559
|
if (e) return e.call(n);
|
|
560
560
|
if (n && typeof n.length == "number") return {
|
|
@@ -564,7 +564,7 @@ function oe(n) {
|
|
|
564
564
|
};
|
|
565
565
|
throw new TypeError(r ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function ee(n, r) {
|
|
568
568
|
var e = typeof Symbol == "function" && n[Symbol.iterator];
|
|
569
569
|
if (!e) return n;
|
|
570
570
|
var t = e.call(n), i, o = [], a;
|
|
@@ -581,21 +581,21 @@ function ae(n, r) {
|
|
|
581
581
|
}
|
|
582
582
|
return o;
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function re(n, r, e) {
|
|
585
585
|
if (arguments.length === 2) for (var t = 0, i = r.length, o; t < i; t++)
|
|
586
586
|
(o || !(t in r)) && (o || (o = Array.prototype.slice.call(r, 0, t)), o[t] = r[t]);
|
|
587
587
|
return n.concat(o || r);
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function z(n) {
|
|
590
590
|
return typeof n == "function";
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function Pe(n) {
|
|
593
593
|
var r = function(t) {
|
|
594
594
|
Error.call(t), t.stack = new Error().stack;
|
|
595
595
|
}, e = n(r);
|
|
596
596
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
597
597
|
}
|
|
598
|
-
var
|
|
598
|
+
var X = Pe(function(n) {
|
|
599
599
|
return function(e) {
|
|
600
600
|
n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
601
601
|
` + e.map(function(t, i) {
|
|
@@ -604,13 +604,13 @@ var te = Re(function(n) {
|
|
|
604
604
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
605
605
|
};
|
|
606
606
|
});
|
|
607
|
-
function
|
|
607
|
+
function ne(n, r) {
|
|
608
608
|
if (n) {
|
|
609
609
|
var e = n.indexOf(r);
|
|
610
610
|
0 <= e && n.splice(e, 1);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
var
|
|
613
|
+
var H = function() {
|
|
614
614
|
function n(r) {
|
|
615
615
|
this.initialTeardown = r, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
616
616
|
}
|
|
@@ -622,12 +622,12 @@ var J = function() {
|
|
|
622
622
|
if (a)
|
|
623
623
|
if (this._parentage = null, Array.isArray(a))
|
|
624
624
|
try {
|
|
625
|
-
for (var l =
|
|
625
|
+
for (var l = $(a), u = l.next(); !u.done; u = l.next()) {
|
|
626
626
|
var h = u.value;
|
|
627
627
|
h.remove(this);
|
|
628
628
|
}
|
|
629
|
-
} catch (
|
|
630
|
-
r = { error:
|
|
629
|
+
} catch (m) {
|
|
630
|
+
r = { error: m };
|
|
631
631
|
} finally {
|
|
632
632
|
try {
|
|
633
633
|
u && !u.done && (e = l.return) && e.call(l);
|
|
@@ -637,43 +637,43 @@ var J = function() {
|
|
|
637
637
|
}
|
|
638
638
|
else
|
|
639
639
|
a.remove(this);
|
|
640
|
-
var
|
|
641
|
-
if (
|
|
640
|
+
var v = this.initialTeardown;
|
|
641
|
+
if (z(v))
|
|
642
642
|
try {
|
|
643
|
-
|
|
644
|
-
} catch (
|
|
645
|
-
o =
|
|
643
|
+
v();
|
|
644
|
+
} catch (m) {
|
|
645
|
+
o = m instanceof X ? m.errors : [m];
|
|
646
646
|
}
|
|
647
|
-
var
|
|
648
|
-
if (
|
|
647
|
+
var j = this._finalizers;
|
|
648
|
+
if (j) {
|
|
649
649
|
this._finalizers = null;
|
|
650
650
|
try {
|
|
651
|
-
for (var
|
|
652
|
-
var
|
|
651
|
+
for (var x = $(j), w = x.next(); !w.done; w = x.next()) {
|
|
652
|
+
var F = w.value;
|
|
653
653
|
try {
|
|
654
|
-
|
|
655
|
-
} catch (
|
|
656
|
-
o = o != null ? o : [],
|
|
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);
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
} catch (
|
|
660
|
-
t = { error:
|
|
659
|
+
} catch (m) {
|
|
660
|
+
t = { error: m };
|
|
661
661
|
} finally {
|
|
662
662
|
try {
|
|
663
|
-
|
|
663
|
+
w && !w.done && (i = x.return) && i.call(x);
|
|
664
664
|
} finally {
|
|
665
665
|
if (t) throw t.error;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
if (o)
|
|
670
|
-
throw new
|
|
670
|
+
throw new X(o);
|
|
671
671
|
}
|
|
672
672
|
}, n.prototype.add = function(r) {
|
|
673
673
|
var e;
|
|
674
674
|
if (r && r !== this)
|
|
675
675
|
if (this.closed)
|
|
676
|
-
|
|
676
|
+
Se(r);
|
|
677
677
|
else {
|
|
678
678
|
if (r instanceof n) {
|
|
679
679
|
if (r.closed || r._hasParent(this))
|
|
@@ -690,52 +690,52 @@ var J = function() {
|
|
|
690
690
|
this._parentage = Array.isArray(e) ? (e.push(r), e) : e ? [e, r] : r;
|
|
691
691
|
}, n.prototype._removeParent = function(r) {
|
|
692
692
|
var e = this._parentage;
|
|
693
|
-
e === r ? this._parentage = null : Array.isArray(e) &&
|
|
693
|
+
e === r ? this._parentage = null : Array.isArray(e) && ne(e, r);
|
|
694
694
|
}, n.prototype.remove = function(r) {
|
|
695
695
|
var e = this._finalizers;
|
|
696
|
-
e &&
|
|
696
|
+
e && ne(e, r), r instanceof n && r._removeParent(this);
|
|
697
697
|
}, n.EMPTY = function() {
|
|
698
698
|
var r = new n();
|
|
699
699
|
return r.closed = !0, r;
|
|
700
700
|
}(), n;
|
|
701
|
-
}(),
|
|
702
|
-
function
|
|
703
|
-
return n instanceof
|
|
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);
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
|
|
705
|
+
function Se(n) {
|
|
706
|
+
z(n) ? n() : n.unsubscribe();
|
|
707
707
|
}
|
|
708
|
-
var
|
|
708
|
+
var dr = {
|
|
709
709
|
Promise: void 0
|
|
710
|
-
},
|
|
710
|
+
}, cr = {
|
|
711
711
|
setTimeout: function(n, r) {
|
|
712
712
|
for (var e = [], t = 2; t < arguments.length; t++)
|
|
713
713
|
e[t - 2] = arguments[t];
|
|
714
|
-
return setTimeout.apply(void 0,
|
|
714
|
+
return setTimeout.apply(void 0, re([n, r], ee(e)));
|
|
715
715
|
},
|
|
716
716
|
clearTimeout: function(n) {
|
|
717
717
|
return clearTimeout(n);
|
|
718
718
|
},
|
|
719
719
|
delegate: void 0
|
|
720
720
|
};
|
|
721
|
-
function
|
|
722
|
-
|
|
721
|
+
function pr(n) {
|
|
722
|
+
cr.setTimeout(function() {
|
|
723
723
|
throw n;
|
|
724
724
|
});
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function ke() {
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function N(n) {
|
|
729
729
|
n();
|
|
730
730
|
}
|
|
731
|
-
var
|
|
731
|
+
var Re = function(n) {
|
|
732
732
|
L(r, n);
|
|
733
733
|
function r(e) {
|
|
734
734
|
var t = n.call(this) || this;
|
|
735
|
-
return t.isStopped = !1, e ? (t.destination = e,
|
|
735
|
+
return t.isStopped = !1, e ? (t.destination = e, Ae(e) && e.add(t)) : t.destination = fr, t;
|
|
736
736
|
}
|
|
737
737
|
return r.create = function(e, t, i) {
|
|
738
|
-
return new
|
|
738
|
+
return new te(e, t, i);
|
|
739
739
|
}, r.prototype.next = function(e) {
|
|
740
740
|
this.isStopped || this._next(e);
|
|
741
741
|
}, r.prototype.error = function(e) {
|
|
@@ -759,7 +759,7 @@ var Oe = function(n) {
|
|
|
759
759
|
this.unsubscribe();
|
|
760
760
|
}
|
|
761
761
|
}, r;
|
|
762
|
-
}(
|
|
762
|
+
}(H), hr = function() {
|
|
763
763
|
function n(r) {
|
|
764
764
|
this.partialObserver = r;
|
|
765
765
|
}
|
|
@@ -769,7 +769,7 @@ var Oe = function(n) {
|
|
|
769
769
|
try {
|
|
770
770
|
e.next(r);
|
|
771
771
|
} catch (t) {
|
|
772
|
-
|
|
772
|
+
W(t);
|
|
773
773
|
}
|
|
774
774
|
}, n.prototype.error = function(r) {
|
|
775
775
|
var e = this.partialObserver;
|
|
@@ -777,56 +777,56 @@ var Oe = function(n) {
|
|
|
777
777
|
try {
|
|
778
778
|
e.error(r);
|
|
779
779
|
} catch (t) {
|
|
780
|
-
|
|
780
|
+
W(t);
|
|
781
781
|
}
|
|
782
782
|
else
|
|
783
|
-
|
|
783
|
+
W(r);
|
|
784
784
|
}, n.prototype.complete = function() {
|
|
785
785
|
var r = this.partialObserver;
|
|
786
786
|
if (r.complete)
|
|
787
787
|
try {
|
|
788
788
|
r.complete();
|
|
789
789
|
} catch (e) {
|
|
790
|
-
|
|
790
|
+
W(e);
|
|
791
791
|
}
|
|
792
792
|
}, n;
|
|
793
|
-
}(),
|
|
793
|
+
}(), te = function(n) {
|
|
794
794
|
L(r, n);
|
|
795
795
|
function r(e, t, i) {
|
|
796
796
|
var o = n.call(this) || this, a;
|
|
797
|
-
return
|
|
797
|
+
return z(e) || !e ? a = {
|
|
798
798
|
next: e != null ? e : void 0,
|
|
799
799
|
error: t != null ? t : void 0,
|
|
800
800
|
complete: i != null ? i : void 0
|
|
801
|
-
} : a = e, o.destination = new
|
|
801
|
+
} : a = e, o.destination = new hr(a), o;
|
|
802
802
|
}
|
|
803
803
|
return r;
|
|
804
|
-
}(
|
|
805
|
-
function
|
|
806
|
-
|
|
804
|
+
}(Re);
|
|
805
|
+
function W(n) {
|
|
806
|
+
pr(n);
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function gr(n) {
|
|
809
809
|
throw n;
|
|
810
810
|
}
|
|
811
|
-
var
|
|
811
|
+
var fr = {
|
|
812
812
|
closed: !0,
|
|
813
|
-
next:
|
|
814
|
-
error:
|
|
815
|
-
complete:
|
|
816
|
-
},
|
|
813
|
+
next: ke,
|
|
814
|
+
error: gr,
|
|
815
|
+
complete: ke
|
|
816
|
+
}, mr = function() {
|
|
817
817
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
818
818
|
}();
|
|
819
|
-
function
|
|
819
|
+
function vr(n) {
|
|
820
820
|
return n;
|
|
821
821
|
}
|
|
822
|
-
function
|
|
823
|
-
return n.length === 0 ?
|
|
822
|
+
function br(n) {
|
|
823
|
+
return n.length === 0 ? vr : n.length === 1 ? n[0] : function(e) {
|
|
824
824
|
return n.reduce(function(t, i) {
|
|
825
825
|
return i(t);
|
|
826
826
|
}, e);
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
|
-
var
|
|
829
|
+
var Te = function() {
|
|
830
830
|
function n(r) {
|
|
831
831
|
r && (this._subscribe = r);
|
|
832
832
|
}
|
|
@@ -834,8 +834,8 @@ var je = function() {
|
|
|
834
834
|
var e = new n();
|
|
835
835
|
return e.source = this, e.operator = r, e;
|
|
836
836
|
}, n.prototype.subscribe = function(r, e, t) {
|
|
837
|
-
var i = this, o =
|
|
838
|
-
return
|
|
837
|
+
var i = this, o = wr(r) ? r : new te(r, e, t);
|
|
838
|
+
return N(function() {
|
|
839
839
|
var a = i, l = a.operator, u = a.source;
|
|
840
840
|
o.add(l ? l.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
841
841
|
}), o;
|
|
@@ -847,8 +847,8 @@ var je = function() {
|
|
|
847
847
|
}
|
|
848
848
|
}, n.prototype.forEach = function(r, e) {
|
|
849
849
|
var t = this;
|
|
850
|
-
return e =
|
|
851
|
-
var a = new
|
|
850
|
+
return e = ze(e), new e(function(i, o) {
|
|
851
|
+
var a = new te({
|
|
852
852
|
next: function(l) {
|
|
853
853
|
try {
|
|
854
854
|
r(l);
|
|
@@ -864,15 +864,15 @@ var je = function() {
|
|
|
864
864
|
}, n.prototype._subscribe = function(r) {
|
|
865
865
|
var e;
|
|
866
866
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(r);
|
|
867
|
-
}, n.prototype[
|
|
867
|
+
}, n.prototype[mr] = function() {
|
|
868
868
|
return this;
|
|
869
869
|
}, n.prototype.pipe = function() {
|
|
870
870
|
for (var r = [], e = 0; e < arguments.length; e++)
|
|
871
871
|
r[e] = arguments[e];
|
|
872
|
-
return
|
|
872
|
+
return br(r)(this);
|
|
873
873
|
}, n.prototype.toPromise = function(r) {
|
|
874
874
|
var e = this;
|
|
875
|
-
return r =
|
|
875
|
+
return r = ze(r), new r(function(t, i) {
|
|
876
876
|
var o;
|
|
877
877
|
e.subscribe(function(a) {
|
|
878
878
|
return o = a;
|
|
@@ -886,40 +886,40 @@ var je = function() {
|
|
|
886
886
|
return new n(r);
|
|
887
887
|
}, n;
|
|
888
888
|
}();
|
|
889
|
-
function
|
|
889
|
+
function ze(n) {
|
|
890
890
|
var r;
|
|
891
|
-
return (r = n != null ? n :
|
|
891
|
+
return (r = n != null ? n : dr.Promise) !== null && r !== void 0 ? r : Promise;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
894
|
-
return n &&
|
|
893
|
+
function yr(n) {
|
|
894
|
+
return n && z(n.next) && z(n.error) && z(n.complete);
|
|
895
895
|
}
|
|
896
|
-
function
|
|
897
|
-
return n && n instanceof
|
|
896
|
+
function wr(n) {
|
|
897
|
+
return n && n instanceof Re || yr(n) && Ae(n);
|
|
898
898
|
}
|
|
899
|
-
var
|
|
899
|
+
var Sr = Pe(function(n) {
|
|
900
900
|
return function() {
|
|
901
901
|
n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
902
902
|
};
|
|
903
|
-
}),
|
|
903
|
+
}), qe = function(n) {
|
|
904
904
|
L(r, n);
|
|
905
905
|
function r() {
|
|
906
906
|
var e = n.call(this) || this;
|
|
907
907
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
908
908
|
}
|
|
909
909
|
return r.prototype.lift = function(e) {
|
|
910
|
-
var t = new
|
|
910
|
+
var t = new xe(this, this);
|
|
911
911
|
return t.operator = e, t;
|
|
912
912
|
}, r.prototype._throwIfClosed = function() {
|
|
913
913
|
if (this.closed)
|
|
914
|
-
throw new
|
|
914
|
+
throw new Sr();
|
|
915
915
|
}, r.prototype.next = function(e) {
|
|
916
916
|
var t = this;
|
|
917
|
-
|
|
917
|
+
N(function() {
|
|
918
918
|
var i, o;
|
|
919
919
|
if (t._throwIfClosed(), !t.isStopped) {
|
|
920
920
|
t.currentObservers || (t.currentObservers = Array.from(t.observers));
|
|
921
921
|
try {
|
|
922
|
-
for (var a =
|
|
922
|
+
for (var a = $(t.currentObservers), l = a.next(); !l.done; l = a.next()) {
|
|
923
923
|
var u = l.value;
|
|
924
924
|
u.next(e);
|
|
925
925
|
}
|
|
@@ -936,7 +936,7 @@ var jr = Re(function(n) {
|
|
|
936
936
|
});
|
|
937
937
|
}, r.prototype.error = function(e) {
|
|
938
938
|
var t = this;
|
|
939
|
-
|
|
939
|
+
N(function() {
|
|
940
940
|
if (t._throwIfClosed(), !t.isStopped) {
|
|
941
941
|
t.hasError = t.isStopped = !0, t.thrownError = e;
|
|
942
942
|
for (var i = t.observers; i.length; )
|
|
@@ -945,7 +945,7 @@ var jr = Re(function(n) {
|
|
|
945
945
|
});
|
|
946
946
|
}, r.prototype.complete = function() {
|
|
947
947
|
var e = this;
|
|
948
|
-
|
|
948
|
+
N(function() {
|
|
949
949
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
950
950
|
e.isStopped = !0;
|
|
951
951
|
for (var t = e.observers; t.length; )
|
|
@@ -967,19 +967,19 @@ var jr = Re(function(n) {
|
|
|
967
967
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
968
968
|
}, r.prototype._innerSubscribe = function(e) {
|
|
969
969
|
var t = this, i = this, o = i.hasError, a = i.isStopped, l = i.observers;
|
|
970
|
-
return o || a ?
|
|
971
|
-
t.currentObservers = null,
|
|
970
|
+
return o || a ? De : (this.currentObservers = null, l.push(e), new H(function() {
|
|
971
|
+
t.currentObservers = null, ne(l, e);
|
|
972
972
|
}));
|
|
973
973
|
}, r.prototype._checkFinalizedStatuses = function(e) {
|
|
974
974
|
var t = this, i = t.hasError, o = t.thrownError, a = t.isStopped;
|
|
975
975
|
i ? e.error(o) : a && e.complete();
|
|
976
976
|
}, r.prototype.asObservable = function() {
|
|
977
|
-
var e = new
|
|
977
|
+
var e = new Te();
|
|
978
978
|
return e.source = this, e;
|
|
979
979
|
}, r.create = function(e, t) {
|
|
980
|
-
return new
|
|
980
|
+
return new xe(e, t);
|
|
981
981
|
}, r;
|
|
982
|
-
}(
|
|
982
|
+
}(Te), xe = function(n) {
|
|
983
983
|
L(r, n);
|
|
984
984
|
function r(e, t) {
|
|
985
985
|
var i = n.call(this) || this;
|
|
@@ -996,17 +996,17 @@ var jr = Re(function(n) {
|
|
|
996
996
|
(t = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || t === void 0 || t.call(e);
|
|
997
997
|
}, r.prototype._subscribe = function(e) {
|
|
998
998
|
var t, i;
|
|
999
|
-
return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i :
|
|
999
|
+
return (i = (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e)) !== null && i !== void 0 ? i : De;
|
|
1000
1000
|
}, r;
|
|
1001
|
-
}(
|
|
1001
|
+
}(qe), Ce = {
|
|
1002
1002
|
now: function() {
|
|
1003
|
-
return (
|
|
1003
|
+
return (Ce.delegate || Date).now();
|
|
1004
1004
|
},
|
|
1005
1005
|
delegate: void 0
|
|
1006
|
-
},
|
|
1006
|
+
}, kr = function(n) {
|
|
1007
1007
|
L(r, n);
|
|
1008
1008
|
function r(e, t, i) {
|
|
1009
|
-
e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i =
|
|
1009
|
+
e === void 0 && (e = 1 / 0), t === void 0 && (t = 1 / 0), i === void 0 && (i = Ce);
|
|
1010
1010
|
var o = n.call(this) || this;
|
|
1011
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;
|
|
1012
1012
|
}
|
|
@@ -1021,27 +1021,27 @@ var jr = Re(function(n) {
|
|
|
1021
1021
|
}, r.prototype._trimBuffer = function() {
|
|
1022
1022
|
var e = this, t = e._bufferSize, i = e._timestampProvider, o = e._buffer, a = e._infiniteTimeWindow, l = (a ? 1 : 2) * t;
|
|
1023
1023
|
if (t < 1 / 0 && l < o.length && o.splice(0, o.length - l), !a) {
|
|
1024
|
-
for (var u = i.now(), h = 0,
|
|
1025
|
-
h =
|
|
1024
|
+
for (var u = i.now(), h = 0, v = 1; v < o.length && o[v] <= u; v += 2)
|
|
1025
|
+
h = v;
|
|
1026
1026
|
h && o.splice(0, h + 1);
|
|
1027
1027
|
}
|
|
1028
1028
|
}, r;
|
|
1029
|
-
}(
|
|
1030
|
-
const
|
|
1031
|
-
if (
|
|
1032
|
-
const e = new
|
|
1033
|
-
|
|
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);
|
|
1034
1034
|
}
|
|
1035
|
-
return
|
|
1035
|
+
return je[n];
|
|
1036
1036
|
};
|
|
1037
|
-
window.emWidgets = { topic:
|
|
1037
|
+
window.emWidgets = { topic: Tr };
|
|
1038
1038
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
1039
|
-
var
|
|
1040
|
-
const
|
|
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
1041
|
hash: "svelte-1g2duiq",
|
|
1042
1042
|
code: `.svelte-1g2duiq,
|
|
1043
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:
|
|
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
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
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
1047
|
animation: svelte-1g2duiq-spin-ccw 0.75s linear infinite;}
|
|
@@ -1119,72 +1119,85 @@ const Mr = {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
*/`
|
|
1121
1121
|
};
|
|
1122
|
-
function
|
|
1123
|
-
var
|
|
1124
|
-
|
|
1125
|
-
const e = () =>
|
|
1126
|
-
|
|
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: {} });
|
|
1127
1140
|
const Le = () => {
|
|
1128
|
-
let s = new URL(
|
|
1141
|
+
let s = new URL(w());
|
|
1129
1142
|
fetch(s.href).then((c) => c.json()).then((c) => {
|
|
1130
|
-
Object.keys(c).forEach((
|
|
1131
|
-
|
|
1143
|
+
Object.keys(c).forEach((b) => {
|
|
1144
|
+
me(b, c[b]);
|
|
1132
1145
|
});
|
|
1133
1146
|
}).catch((c) => {
|
|
1134
1147
|
console.log(c);
|
|
1135
1148
|
});
|
|
1136
1149
|
};
|
|
1137
|
-
Object.keys(
|
|
1138
|
-
|
|
1139
|
-
}),
|
|
1140
|
-
const
|
|
1141
|
-
|
|
1150
|
+
Object.keys(we).forEach((s) => {
|
|
1151
|
+
me(s, we[s]);
|
|
1152
|
+
}), ve(u());
|
|
1153
|
+
const Me = () => {
|
|
1154
|
+
ve(u());
|
|
1142
1155
|
};
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
}),
|
|
1146
|
-
|
|
1156
|
+
Je(() => {
|
|
1157
|
+
w() && Le();
|
|
1158
|
+
}), Ye(() => {
|
|
1159
|
+
Me();
|
|
1147
1160
|
});
|
|
1148
|
-
let
|
|
1149
|
-
const
|
|
1150
|
-
p(
|
|
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);
|
|
1151
1164
|
const s = new URL(`${o()}/v1/wof/claimable`), c = new Headers();
|
|
1152
1165
|
a() && c.append("X-SessionId", a());
|
|
1153
|
-
const
|
|
1154
|
-
s.searchParams.append("filter", "wheelOfFortune"), fetch(s,
|
|
1155
|
-
var
|
|
1156
|
-
if (d && ((
|
|
1157
|
-
p(
|
|
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);
|
|
1158
1171
|
return;
|
|
1159
1172
|
}
|
|
1160
|
-
if ((
|
|
1161
|
-
p(
|
|
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);
|
|
1162
1175
|
return;
|
|
1163
1176
|
}
|
|
1164
|
-
p(
|
|
1177
|
+
p(S, d == null ? void 0 : d.items, !0);
|
|
1165
1178
|
}).catch((d) => {
|
|
1166
|
-
console.log(d), p(
|
|
1167
|
-
}).finally(() => p(
|
|
1168
|
-
}),
|
|
1169
|
-
p(
|
|
1179
|
+
console.log(d), p(oe, !0);
|
|
1180
|
+
}).finally(() => p(_, !1));
|
|
1181
|
+
}), Ne = () => K(this, null, function* () {
|
|
1182
|
+
p(_, !0);
|
|
1170
1183
|
const s = new URL(`${o()}/v1/wof/lotteries`), c = new Headers();
|
|
1171
1184
|
a() && c.append("X-SessionId", a());
|
|
1172
|
-
const
|
|
1173
|
-
s.searchParams.append("filter", "Types[]=wheelOfFortune"), fetch(s,
|
|
1174
|
-
var
|
|
1175
|
-
if (d && ((
|
|
1176
|
-
p(
|
|
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);
|
|
1177
1190
|
return;
|
|
1178
1191
|
}
|
|
1179
|
-
p(
|
|
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);
|
|
1180
1193
|
}).catch((d) => {
|
|
1181
|
-
console.log(d), p(
|
|
1182
|
-
}).finally(() => p(
|
|
1183
|
-
}),
|
|
1194
|
+
console.log(d), p(oe, !0);
|
|
1195
|
+
}).finally(() => p(_, !1));
|
|
1196
|
+
}), se = (s) => {
|
|
1184
1197
|
if (s.data)
|
|
1185
1198
|
switch (s.data.type) {
|
|
1186
1199
|
case "PlayMiniGame":
|
|
1187
|
-
p(A,
|
|
1200
|
+
p(A, f(S).find((c) => c.id === s.data.programId), !0);
|
|
1188
1201
|
break;
|
|
1189
1202
|
case "CloseMiniGame":
|
|
1190
1203
|
p(A, null);
|
|
@@ -1194,176 +1207,162 @@ function Or(n, r) {
|
|
|
1194
1207
|
break;
|
|
1195
1208
|
}
|
|
1196
1209
|
};
|
|
1197
|
-
ir(() => (a() && (l() ?
|
|
1198
|
-
window.removeEventListener("message",
|
|
1210
|
+
ir(() => (a() && (l() ? We() : Ne()), window.postMessage({ type: "event_hub_accessed", isLoggedIn: !!a() }, window.location.href), window.addEventListener("message", se), () => {
|
|
1211
|
+
window.removeEventListener("message", se);
|
|
1199
1212
|
}));
|
|
1200
|
-
var
|
|
1213
|
+
var Ge = {
|
|
1201
1214
|
get endpoint() {
|
|
1202
1215
|
return o();
|
|
1203
1216
|
},
|
|
1204
1217
|
set endpoint(s) {
|
|
1205
|
-
o(s),
|
|
1218
|
+
o(s), k();
|
|
1206
1219
|
},
|
|
1207
1220
|
get session() {
|
|
1208
1221
|
return a();
|
|
1209
1222
|
},
|
|
1210
1223
|
set session(s) {
|
|
1211
|
-
a(s),
|
|
1224
|
+
a(s), k();
|
|
1212
1225
|
},
|
|
1213
1226
|
get requiresOptin() {
|
|
1214
1227
|
return l();
|
|
1215
1228
|
},
|
|
1216
1229
|
set requiresOptin(s = !1) {
|
|
1217
|
-
l(s),
|
|
1230
|
+
l(s), k();
|
|
1218
1231
|
},
|
|
1219
1232
|
get language() {
|
|
1220
1233
|
return u();
|
|
1221
1234
|
},
|
|
1222
1235
|
set language(s = "en") {
|
|
1223
|
-
u(s),
|
|
1236
|
+
u(s), k();
|
|
1224
1237
|
},
|
|
1225
1238
|
get outerWheelAsset() {
|
|
1226
1239
|
return h();
|
|
1227
1240
|
},
|
|
1228
1241
|
set outerWheelAsset(s = null) {
|
|
1229
|
-
h(s),
|
|
1242
|
+
h(s), k();
|
|
1230
1243
|
},
|
|
1231
1244
|
get wheelButtonAsset() {
|
|
1232
|
-
return
|
|
1245
|
+
return v();
|
|
1233
1246
|
},
|
|
1234
1247
|
set wheelButtonAsset(s = null) {
|
|
1235
|
-
|
|
1248
|
+
v(s), k();
|
|
1249
|
+
},
|
|
1250
|
+
get backgroundVideoAsset() {
|
|
1251
|
+
return j();
|
|
1252
|
+
},
|
|
1253
|
+
set backgroundVideoAsset(s = null) {
|
|
1254
|
+
j(s), k();
|
|
1236
1255
|
},
|
|
1237
1256
|
get liteMode() {
|
|
1238
|
-
return
|
|
1257
|
+
return x();
|
|
1239
1258
|
},
|
|
1240
1259
|
set liteMode(s = !1) {
|
|
1241
|
-
|
|
1260
|
+
x(s), k();
|
|
1242
1261
|
},
|
|
1243
1262
|
get translationurl() {
|
|
1244
|
-
return
|
|
1263
|
+
return w();
|
|
1245
1264
|
},
|
|
1246
1265
|
set translationurl(s) {
|
|
1247
|
-
|
|
1266
|
+
w(s), k();
|
|
1248
1267
|
}
|
|
1249
|
-
},
|
|
1268
|
+
}, V = jr(), He = E(V);
|
|
1250
1269
|
{
|
|
1251
|
-
var
|
|
1252
|
-
var c =
|
|
1253
|
-
|
|
1254
|
-
},
|
|
1255
|
-
var c =
|
|
1270
|
+
var Fe = (s) => {
|
|
1271
|
+
var c = zr();
|
|
1272
|
+
O(s, c);
|
|
1273
|
+
}, Ie = (s) => {
|
|
1274
|
+
var c = ar(), b = pe(c);
|
|
1256
1275
|
{
|
|
1257
|
-
var d = (
|
|
1258
|
-
|
|
1276
|
+
var d = (g) => {
|
|
1277
|
+
ye(g, {
|
|
1259
1278
|
get outerWheelAsset() {
|
|
1260
1279
|
return h();
|
|
1261
1280
|
},
|
|
1262
1281
|
get wheelButtonAsset() {
|
|
1263
|
-
return
|
|
1282
|
+
return v();
|
|
1283
|
+
},
|
|
1284
|
+
get backgroundVideoAsset() {
|
|
1285
|
+
return j();
|
|
1264
1286
|
},
|
|
1265
1287
|
get language() {
|
|
1266
1288
|
return u();
|
|
1267
1289
|
},
|
|
1268
1290
|
get liteMode() {
|
|
1269
|
-
return
|
|
1291
|
+
return f(ie);
|
|
1270
1292
|
}
|
|
1271
1293
|
});
|
|
1272
|
-
},
|
|
1273
|
-
var E = re(), N = F(E);
|
|
1294
|
+
}, P = (g) => {
|
|
1274
1295
|
{
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
get wheelButtonAsset() {
|
|
1295
|
-
return m();
|
|
1296
|
-
},
|
|
1297
|
-
get showBackButton() {
|
|
1298
|
-
return g(G);
|
|
1299
|
-
},
|
|
1300
|
-
get liteMode() {
|
|
1301
|
-
return g(de);
|
|
1302
|
-
}
|
|
1303
|
-
});
|
|
1304
|
-
}
|
|
1305
|
-
}, Ke = (R) => {
|
|
1306
|
-
var G = re(), Ze = F(G);
|
|
1307
|
-
{
|
|
1308
|
-
var Xe = (C) => {
|
|
1309
|
-
var w = Ar(), M = F(w), W = B(M), X = B(W, !0);
|
|
1310
|
-
D(W);
|
|
1311
|
-
var me = be(W, 2), $e = B(me, !0);
|
|
1312
|
-
D(me), D(M);
|
|
1313
|
-
var ve = be(M, 2);
|
|
1314
|
-
dr(ve, 21, () => g(b), cr, (Q, $) => {
|
|
1315
|
-
fr(Q, {
|
|
1316
|
-
get program() {
|
|
1317
|
-
return g($);
|
|
1318
|
-
}
|
|
1319
|
-
});
|
|
1320
|
-
}), D(ve), we(
|
|
1321
|
-
(Q, $) => {
|
|
1322
|
-
ne(X, Q), ne($e, $);
|
|
1323
|
-
},
|
|
1324
|
-
[() => e()("hubTitle"), () => e()("hubSubtitle")]
|
|
1325
|
-
), P(C, w);
|
|
1326
|
-
}, Qe = (C) => {
|
|
1327
|
-
var w = Rr(), M = B(w), W = B(M, !0);
|
|
1328
|
-
D(M), D(w), we((X) => ne(W, X), [() => e()("noContent")]), P(C, w);
|
|
1329
|
-
};
|
|
1330
|
-
H(
|
|
1331
|
-
Ze,
|
|
1332
|
-
(C) => {
|
|
1333
|
-
var w;
|
|
1334
|
-
((w = g(b)) == null ? void 0 : w.length) > 1 ? C(Xe) : C(Qe, !1);
|
|
1335
|
-
},
|
|
1336
|
-
!0
|
|
1337
|
-
);
|
|
1338
|
-
}
|
|
1339
|
-
P(R, G);
|
|
1340
|
-
};
|
|
1341
|
-
H(
|
|
1342
|
-
N,
|
|
1343
|
-
(R) => {
|
|
1344
|
-
g(A) ? R(Ye) : R(Ke, !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();
|
|
1309
|
+
},
|
|
1310
|
+
get outerWheelAsset() {
|
|
1311
|
+
return h();
|
|
1312
|
+
},
|
|
1313
|
+
get wheelButtonAsset() {
|
|
1314
|
+
return v();
|
|
1345
1315
|
},
|
|
1346
|
-
|
|
1347
|
-
|
|
1316
|
+
get backgroundVideoAsset() {
|
|
1317
|
+
return j();
|
|
1318
|
+
},
|
|
1319
|
+
get showBackButton() {
|
|
1320
|
+
return f(y);
|
|
1321
|
+
},
|
|
1322
|
+
get liteMode() {
|
|
1323
|
+
return f(ie);
|
|
1324
|
+
}
|
|
1325
|
+
});
|
|
1348
1326
|
}
|
|
1349
|
-
|
|
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);
|
|
1350
1348
|
};
|
|
1351
|
-
|
|
1352
|
-
|
|
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);
|
|
1353
1352
|
});
|
|
1354
1353
|
}
|
|
1355
|
-
|
|
1354
|
+
O(s, c);
|
|
1356
1355
|
};
|
|
1357
|
-
|
|
1358
|
-
|
|
1356
|
+
be(He, (s) => {
|
|
1357
|
+
f(_) ? s(Fe) : s(Ie, -1);
|
|
1359
1358
|
});
|
|
1360
1359
|
}
|
|
1361
|
-
D(
|
|
1362
|
-
var
|
|
1363
|
-
return i(),
|
|
1360
|
+
D(V), O(n, V);
|
|
1361
|
+
var Ve = Ze(Ge);
|
|
1362
|
+
return i(), Ve;
|
|
1364
1363
|
}
|
|
1365
|
-
customElements.define("mini-games-hub",
|
|
1366
|
-
|
|
1364
|
+
customElements.define("mini-games-hub", or(
|
|
1365
|
+
Dr,
|
|
1367
1366
|
{
|
|
1368
1367
|
endpoint: { attribute: "endpoint", type: "String" },
|
|
1369
1368
|
session: { attribute: "session", type: "String" },
|
|
@@ -1371,13 +1370,13 @@ customElements.define("mini-games-hub", lr(
|
|
|
1371
1370
|
language: { attribute: "language", type: "String" },
|
|
1372
1371
|
outerWheelAsset: { attribute: "outer-wheel-asset", type: "String" },
|
|
1373
1372
|
wheelButtonAsset: { attribute: "wheel-button-asset", type: "String" },
|
|
1373
|
+
backgroundVideoAsset: { attribute: "background-video-asset", type: "String" },
|
|
1374
1374
|
liteMode: { attribute: "lite-mode", type: "Boolean" },
|
|
1375
1375
|
translationurl: { attribute: "translationurl", type: "String" }
|
|
1376
1376
|
},
|
|
1377
1377
|
[],
|
|
1378
|
-
[]
|
|
1379
|
-
!1
|
|
1378
|
+
[]
|
|
1380
1379
|
));
|
|
1381
1380
|
export {
|
|
1382
|
-
|
|
1381
|
+
Dr as default
|
|
1383
1382
|
};
|