@everymatrix/mini-games-hub 0.2.8 → 0.2.10
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/ArrowLeftIcon--eD-7fsx.cjs +1 -0
- package/components/ArrowLeftIcon-Bfs5TaL6.js +20 -0
- package/components/ArrowLeftIcon-D98iyiSl.js +20 -0
- package/components/ArrowLeftIcon-Ypzji-S_.cjs +1 -0
- package/components/{CoinFlip-BOrc1Sgy.cjs → CoinFlip-BI2KQoYz.cjs} +1 -1
- package/components/{CoinFlip-uc2aguuz.js → CoinFlip-BxeM60kP.js} +2 -2
- package/components/{CoinFlip-DgM6tDy5.js → CoinFlip-CIqBL9-4.js} +18 -18
- package/components/{CoinFlip-DiCOvx3Q.cjs → CoinFlip-tTQwMgSv.cjs} +1 -1
- package/components/{CoinRoyale-DLL1bCAy.js → CoinRoyale-AIjHyYRF.js} +120 -116
- package/components/{CoinRoyale-Bkr3Rd-u.cjs → CoinRoyale-B08ETrbd.cjs} +4 -4
- package/components/{CoinRoyale-BH73ZSrU.cjs → CoinRoyale-DqOsokVD.cjs} +4 -4
- package/components/{CoinRoyale-fp-xfwl2.js → CoinRoyale-gjCYpNk5.js} +105 -101
- package/components/{GameCard-D78hDMaL.js → GameCard-BAO-RWT9.js} +36 -36
- package/components/{GameCard-BiO9Cay-.cjs → GameCard-CehoUog_.cjs} +3 -3
- package/components/{GameCard-Qh_fk15-.cjs → GameCard-DfHnwOqs.cjs} +3 -3
- package/components/{GameCard-jCZ6S2Wu.js → GameCard-pddtwXsP.js} +31 -31
- package/components/{MiniGamesHub-Bf2Cd1bB.js → MiniGamesHub-BPYHmhQ0.js} +157 -88
- package/components/{MiniGamesHub-KqAdBJEX.js → MiniGamesHub-CJjxsGLO.js} +138 -69
- package/components/MiniGamesHub-DzY6bqFU.cjs +79 -0
- package/components/MiniGamesHub-rHaCMzIp.cjs +79 -0
- package/components/{WheelOfFortune-CBYo6vCg.js → WheelOfFortune-Bz-AxMjO.js} +20 -20
- package/components/{WheelOfFortune-CDTzbAjp.cjs → WheelOfFortune-C0aA8AWD.cjs} +1 -1
- package/components/{WheelOfFortune-8HCl7aHv.js → WheelOfFortune-CBD1u1Ya.js} +29 -29
- package/components/{WheelOfFortune-XfmUFV3-.cjs → WheelOfFortune-D3EtOxbR.cjs} +1 -1
- package/components/WheelOfFortuneDrawResults-BBd3dkqS.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-D7SxQsQ4.cjs +1 -0
- package/components/WheelOfFortuneDrawResults-Dg54Kewh.js +286 -0
- package/components/WheelOfFortuneDrawResults-XxUjXAw4.js +261 -0
- package/components/WheelOfFortuneHistory-C8xiNova.js +222 -0
- package/components/WheelOfFortuneHistory-KBjh_Fju.cjs +13 -0
- package/components/WheelOfFortuneHistory-QwT2V9EM.cjs +13 -0
- package/components/WheelOfFortuneHistory-txMyUapV.js +223 -0
- package/components/WheelOfFortuneRules-BJENXLzh.cjs +5 -0
- package/components/WheelOfFortuneRules-BtC1z4Di.js +109 -0
- package/components/WheelOfFortuneRules-C3McWywL.js +120 -0
- package/components/WheelOfFortuneRules-YSDAQ18X.cjs +5 -0
- package/components/{WheelOfFortuneWheel-F62aU_CL.js → WheelOfFortuneWheel-B11sYKJn.js} +364 -346
- package/components/{WheelOfFortuneWheel-CiyQZNAd.js → WheelOfFortuneWheel-D1cbM2SU.js} +718 -700
- package/components/WheelOfFortuneWheel-DB0BZCUo.cjs +3 -0
- package/components/WheelOfFortuneWheel-DWAdby4o.cjs +3 -0
- package/components/utils-BqkCy2Rz.cjs +3 -0
- package/components/{utils-3LNftCeZ.js → utils-CzSqbDv1.js} +633 -639
- package/components/{utils-DGrEJJ_K.js → utils-UAFcjwcH.js} +1737 -1745
- package/components/utils-uE8V9ar8.cjs +3 -0
- package/es2015/mini-games-hub.cjs +1 -1
- package/es2015/mini-games-hub.js +1 -1
- package/esnext/mini-games-hub.cjs +1 -1
- package/esnext/mini-games-hub.js +1 -1
- package/package.json +1 -1
- package/components/MiniGamesHub-5tuj6CDm.cjs +0 -16
- package/components/MiniGamesHub-SxucWl3S.cjs +0 -16
- package/components/WheelOfFortuneDrawResults-CASEqNiM.cjs +0 -1
- package/components/WheelOfFortuneDrawResults-DqgsImHB.js +0 -254
- package/components/WheelOfFortuneDrawResults-DsfJ3803.js +0 -279
- package/components/WheelOfFortuneDrawResults-l8iWZa_e.cjs +0 -1
- package/components/WheelOfFortuneHistory-CF8B0i5m.js +0 -213
- package/components/WheelOfFortuneHistory-Cnk8otCw.js +0 -213
- package/components/WheelOfFortuneHistory-DARohsMs.cjs +0 -12
- package/components/WheelOfFortuneHistory-ld2sGzjI.cjs +0 -12
- package/components/WheelOfFortuneRules-BZqR4cT9.js +0 -118
- package/components/WheelOfFortuneRules-Bv-d_VAp.cjs +0 -3
- package/components/WheelOfFortuneRules-CRGG3J0S.js +0 -107
- package/components/WheelOfFortuneRules-DLj96pqu.cjs +0 -3
- package/components/WheelOfFortuneWheel-CrRAYCB1.cjs +0 -3
- package/components/WheelOfFortuneWheel-DGD-zfeE.cjs +0 -3
- package/components/utils-BxNmJ6YA.cjs +0 -3
- package/components/utils-DyVEmMSf.cjs +0 -3
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var U = (A,
|
|
1
|
+
var U = (A, t, m) => new Promise((T, w) => {
|
|
2
2
|
var f = (o) => {
|
|
3
3
|
try {
|
|
4
4
|
v(m.next(o));
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
5
|
+
} catch (b) {
|
|
6
|
+
w(b);
|
|
7
7
|
}
|
|
8
8
|
}, l = (o) => {
|
|
9
9
|
try {
|
|
10
10
|
v(m.throw(o));
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
11
|
+
} catch (b) {
|
|
12
|
+
w(b);
|
|
13
13
|
}
|
|
14
14
|
}, v = (o) => o.done ? T(o.value) : Promise.resolve(o.value).then(f, l);
|
|
15
|
-
v((m = m.apply(A,
|
|
15
|
+
v((m = m.apply(A, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as Me, p as u,
|
|
18
|
-
import { bn as G, bo as _e, ad as Ve, b1 as
|
|
19
|
-
import { W as le } from "./WheelOfFortune-
|
|
20
|
-
import { C as Je } from "./CoinRoyale-
|
|
21
|
-
import { G as Ke } from "./GameCard-
|
|
17
|
+
import { a as Me, p as u, z as Fe, A as re, B as te, o as Be, i as ie, e as P, g as Ne, f as H, c as de, l as Ge, h as Le, j as qe, k as Y, s as He } from "./WheelOfFortuneWheel-D1cbM2SU.js";
|
|
18
|
+
import { bn as G, bo as _e, ad as Ve, b1 as D, aQ as Oe, a9 as pe, aU as d, a5 as ge, L as r, aJ as s, bp as Ee, b6 as Z, b2 as ae, ba as L, bb as q, b7 as X, b3 as oe, ar as se, b4 as Ie } from "./utils-UAFcjwcH.js";
|
|
19
|
+
import { W as le } from "./WheelOfFortune-CBD1u1Ya.js";
|
|
20
|
+
import { C as Je } from "./CoinRoyale-AIjHyYRF.js";
|
|
21
|
+
import { G as Ke } from "./GameCard-BAO-RWT9.js";
|
|
22
22
|
const ue = {
|
|
23
23
|
en: {
|
|
24
24
|
noContent: "You don't have any lottery programs available now.",
|
|
@@ -108,6 +108,7 @@ const ue = {
|
|
|
108
108
|
coinTitle: "Coin Royale",
|
|
109
109
|
remainingFlips: "Remaining Flips :",
|
|
110
110
|
flipCoin: "Flip Coin",
|
|
111
|
+
flipAgain: "Flip again",
|
|
111
112
|
dragToFlip: "Drag to flip",
|
|
112
113
|
gameCardCoinFlips: "Coin <br/> Flips"
|
|
113
114
|
},
|
|
@@ -199,6 +200,7 @@ const ue = {
|
|
|
199
200
|
coinTitle: "Coin Royale",
|
|
200
201
|
remainingFlips: "Resterende Flips :",
|
|
201
202
|
flipCoin: "Slå Mønt",
|
|
203
|
+
flipAgain: "Slå igen",
|
|
202
204
|
dragToFlip: "Træk for at slå",
|
|
203
205
|
gameCardCoinFlips: "Mønt <br/> Flips"
|
|
204
206
|
},
|
|
@@ -290,6 +292,7 @@ const ue = {
|
|
|
290
292
|
coinTitle: "Coin Royale",
|
|
291
293
|
remainingFlips: "Verbleibende Würfe :",
|
|
292
294
|
flipCoin: "Münze werfen",
|
|
295
|
+
flipAgain: "Erneut werfen",
|
|
293
296
|
dragToFlip: "Zum Werfen ziehen",
|
|
294
297
|
gameCardCoinFlips: "Münz- <br/> würfe"
|
|
295
298
|
},
|
|
@@ -381,6 +384,7 @@ const ue = {
|
|
|
381
384
|
coinTitle: "Coin Royale",
|
|
382
385
|
remainingFlips: "Resterende Flips :",
|
|
383
386
|
flipCoin: "Gooi Munt",
|
|
387
|
+
flipAgain: "Opnieuw gooien",
|
|
384
388
|
dragToFlip: "Sleep om te gooien",
|
|
385
389
|
gameCardCoinFlips: "Munt <br/> Flips"
|
|
386
390
|
},
|
|
@@ -472,6 +476,7 @@ const ue = {
|
|
|
472
476
|
coinTitle: "Coin Royale",
|
|
473
477
|
remainingFlips: "Lancers restants :",
|
|
474
478
|
flipCoin: "Lancer la pièce",
|
|
479
|
+
flipAgain: "Relancer la pièce",
|
|
475
480
|
dragToFlip: "Glissez pour lancer",
|
|
476
481
|
gameCardCoinFlips: "Lancers <br/> de pièce"
|
|
477
482
|
},
|
|
@@ -563,19 +568,21 @@ const ue = {
|
|
|
563
568
|
coinTitle: "Coin Royale",
|
|
564
569
|
remainingFlips: "Kalan Atışlar :",
|
|
565
570
|
flipCoin: "Parayı At",
|
|
571
|
+
flipAgain: "Tekrar at",
|
|
566
572
|
dragToFlip: "Atmak için sürükleyin",
|
|
567
573
|
gameCardCoinFlips: "Para <br/> Atışı"
|
|
568
574
|
}
|
|
569
575
|
};
|
|
570
|
-
var Ue = H('<div class="loader-container"><div class="loader"><div class="loader-ring-outer"></div> <div class="loader-ring-inner"></div></div></div>'), Ye = H('<div class="prize-hub-container"><h3> </h3> <p> </p></div> <div class="mini-games-card-list"></div>', 1), Ze = H(
|
|
576
|
+
var Ue = H('<div class="loader-container svelte-pzanec"><div class="loader svelte-pzanec"><div class="loader-ring-outer svelte-pzanec"></div> <div class="loader-ring-inner svelte-pzanec"></div></div></div>'), Ye = H('<div class="prize-hub-container svelte-pzanec"><h3 class="svelte-pzanec"> </h3> <p class="svelte-pzanec"> </p></div> <div class="mini-games-card-list svelte-pzanec"></div>', 1), Ze = H('<div class="svelte-pzanec"><p class="svelte-pzanec"> </p></div>'), Xe = H('<div class="main-container svelte-pzanec"><!></div>');
|
|
571
577
|
const Qe = {
|
|
572
578
|
hash: "svelte-pzanec",
|
|
573
|
-
code:
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
animation: svelte-pzanec-spin-cw 1s linear infinite;}
|
|
579
|
+
code: `.svelte-pzanec,
|
|
580
|
+
.svelte-pzanec::before,
|
|
581
|
+
.svelte-pzanec::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;}.main-container.svelte-pzanec {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;max-width:700px;margin:0 auto;}.mini-games-card-list.svelte-pzanec {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;}.prize-hub-container.svelte-pzanec {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;}.prize-hub-container.svelte-pzanec h3:where(.svelte-pzanec) {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;}.prize-hub-container.svelte-pzanec p:where(.svelte-pzanec) {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;}.loader-container.svelte-pzanec {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;}.loader.svelte-pzanec {position:relative;width:64px;height:64px;}.loader-ring-outer.svelte-pzanec,
|
|
582
|
+
.loader-ring-inner.svelte-pzanec {position:absolute;border-radius:50%;border:3px solid transparent;}.loader-ring-outer.svelte-pzanec {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
|
|
583
|
+
animation: svelte-pzanec-spin-cw 1s linear infinite;}.loader-ring-inner.svelte-pzanec {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
|
|
578
584
|
animation: svelte-pzanec-spin-ccw 0.75s linear infinite;}
|
|
585
|
+
|
|
579
586
|
@keyframes svelte-pzanec-spin-cw {
|
|
580
587
|
to {
|
|
581
588
|
transform: rotate(360deg);
|
|
@@ -585,31 +592,93 @@ const Qe = {
|
|
|
585
592
|
to {
|
|
586
593
|
transform: rotate(-360deg);
|
|
587
594
|
}
|
|
588
|
-
}
|
|
595
|
+
}
|
|
596
|
+
/* Skeleton (kept for reference, replaced by loader above)
|
|
597
|
+
@keyframes skeleton-pulse {
|
|
598
|
+
0%,
|
|
599
|
+
100% {
|
|
600
|
+
opacity: 0.3;
|
|
601
|
+
}
|
|
602
|
+
50% {
|
|
603
|
+
opacity: 0.6;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.skeleton-row {
|
|
608
|
+
pointer-events: none;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.skeleton-bone {
|
|
612
|
+
display: block;
|
|
613
|
+
border-radius: 4px;
|
|
614
|
+
background-color: var(--color-overlay-neutral-2, #fbfbfb33);
|
|
615
|
+
animation: skeleton-pulse 1.4s ease-in-out infinite;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.skeleton-title {
|
|
619
|
+
width: 40%;
|
|
620
|
+
height: 22px;
|
|
621
|
+
margin-bottom: 8px;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.skeleton-subtitle {
|
|
625
|
+
width: 60%;
|
|
626
|
+
height: 14px;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.skeleton-card {
|
|
630
|
+
display: flex;
|
|
631
|
+
flex-direction: column;
|
|
632
|
+
height: 115px;
|
|
633
|
+
border: 1px solid var(--color-border-subtle, #fbfbfb0d);
|
|
634
|
+
border-radius: 14px;
|
|
635
|
+
background-color: var(--color-overlay-neutral-1, #fbfbfb1a);
|
|
636
|
+
overflow: hidden;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.skeleton-card-image {
|
|
640
|
+
width: 100%;
|
|
641
|
+
height: 70px;
|
|
642
|
+
border-radius: 0;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.skeleton-card-body {
|
|
646
|
+
display: flex;
|
|
647
|
+
justify-content: end;
|
|
648
|
+
height: 50px;
|
|
649
|
+
gap: 8px;
|
|
650
|
+
padding: 12px;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.skeleton-card-button {
|
|
654
|
+
width: 30%;
|
|
655
|
+
height: 25px;
|
|
656
|
+
}
|
|
657
|
+
*/`
|
|
589
658
|
};
|
|
590
|
-
function ce(A,
|
|
659
|
+
function ce(A, t) {
|
|
591
660
|
var $, ee;
|
|
592
|
-
ge(
|
|
593
|
-
const m = () => He(Ie, "$_", T), [T,
|
|
594
|
-
function
|
|
661
|
+
ge(t, !0), Me(A, Qe);
|
|
662
|
+
const m = () => He(Ie, "$_", T), [T, w] = Ne(), f = u(t, "endpoint", 7), l = u(t, "session", 7), v = u(t, "requiresOptin", 7, !1), o = u(t, "language", 7, "en"), b = u(t, "outerWheelAsset", 7, null), z = u(t, "wheelButtonAsset", 7, null), x = u(t, "backgroundVideoAsset", 7, null), a = u(t, "liteMode", 7, !1), R = u(t, "translationurl", 7), he = !G() && /iPhone|iPad|iPod/.test(navigator.userAgent), me = G() ? 1 / 0 : ($ = navigator.deviceMemory) != null ? $ : 1 / 0, fe = G() ? 1 / 0 : (ee = navigator.hardwareConcurrency) != null ? ee : 1 / 0;
|
|
663
|
+
function be() {
|
|
595
664
|
try {
|
|
596
665
|
const n = document.createElement("canvas").getContext("webgl");
|
|
597
666
|
if (!n) return !1;
|
|
598
|
-
const
|
|
599
|
-
if (!
|
|
600
|
-
const
|
|
601
|
-
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(
|
|
667
|
+
const y = n.getExtension("WEBGL_debug_renderer_info");
|
|
668
|
+
if (!y) return !1;
|
|
669
|
+
const i = n.getParameter(y.UNMASKED_RENDERER_WEBGL).toLowerCase();
|
|
670
|
+
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(i);
|
|
602
671
|
} catch (e) {
|
|
603
672
|
return !1;
|
|
604
673
|
}
|
|
605
674
|
}
|
|
606
|
-
const
|
|
675
|
+
const ye = !G() && !he && (me <= 4 || fe <= 4 || be()), _ = q(() => a() || ye);
|
|
607
676
|
Fe({ withLocale: "en", translations: {} });
|
|
608
677
|
const ve = () => {
|
|
609
678
|
let e = new URL(R());
|
|
610
679
|
fetch(e.href).then((n) => n.json()).then((n) => {
|
|
611
|
-
Object.keys(n).forEach((
|
|
612
|
-
re(
|
|
680
|
+
Object.keys(n).forEach((y) => {
|
|
681
|
+
re(y, n[y]);
|
|
613
682
|
});
|
|
614
683
|
}).catch((n) => {
|
|
615
684
|
console.log(n);
|
|
@@ -617,49 +686,49 @@ function ce(A, i) {
|
|
|
617
686
|
};
|
|
618
687
|
Object.keys(ue).forEach((e) => {
|
|
619
688
|
re(e, ue[e]);
|
|
620
|
-
}),
|
|
621
|
-
const
|
|
622
|
-
|
|
689
|
+
}), te(o());
|
|
690
|
+
const ke = () => {
|
|
691
|
+
te(o());
|
|
623
692
|
};
|
|
624
693
|
_e(() => {
|
|
625
694
|
R() && ve();
|
|
626
695
|
}), Ve(() => {
|
|
627
|
-
|
|
696
|
+
ke();
|
|
628
697
|
});
|
|
629
|
-
let S =
|
|
630
|
-
const
|
|
698
|
+
let S = D(!1), g = D(Oe([])), V = D(!1), W = D(!1), k = D(null), O = D(!1);
|
|
699
|
+
const we = () => U(this, null, function* () {
|
|
631
700
|
s(S, !0);
|
|
632
701
|
const e = new URL(`${f()}/v1/wof/claimable`), n = new Headers();
|
|
633
702
|
l() && n.append("X-SessionId", l());
|
|
634
|
-
const
|
|
635
|
-
e.searchParams.append("filter", "wheelOfFortune"), fetch(e,
|
|
636
|
-
var c,
|
|
637
|
-
if (
|
|
703
|
+
const y = { method: "GET", headers: n, cache: "no-store" };
|
|
704
|
+
e.searchParams.append("filter", "wheelOfFortune"), fetch(e, y).then((i) => i.json()).then((i) => {
|
|
705
|
+
var c, C, F, B;
|
|
706
|
+
if (i && ((c = i.errorMessage) == null ? void 0 : c.trim()) === "InvalidSessionId") {
|
|
638
707
|
s(W, !0), s(S, !1);
|
|
639
708
|
return;
|
|
640
709
|
}
|
|
641
|
-
if ((F = (
|
|
642
|
-
s(g, (B =
|
|
710
|
+
if ((F = (C = i == null ? void 0 : i.items) == null ? void 0 : C.program) != null && F.canClaim) {
|
|
711
|
+
s(g, (B = i == null ? void 0 : i.items) == null ? void 0 : B.program, !0), s(S, !1);
|
|
643
712
|
return;
|
|
644
713
|
}
|
|
645
|
-
s(g,
|
|
646
|
-
}).catch((
|
|
647
|
-
console.log(
|
|
714
|
+
s(g, i == null ? void 0 : i.items, !0);
|
|
715
|
+
}).catch((i) => {
|
|
716
|
+
console.log(i), s(V, !0);
|
|
648
717
|
}).finally(() => {
|
|
649
718
|
s(S, !1), M();
|
|
650
719
|
});
|
|
651
720
|
}), ze = ["wheelOfFortune", "flipCoin"].map((e) => `Types[]=${e}`).join(","), Te = () => U(this, null, function* () {
|
|
652
|
-
var
|
|
721
|
+
var y, i;
|
|
653
722
|
s(S, !0);
|
|
654
723
|
const e = new URL(`${f()}/v1/wof/lotteries`), n = new Headers();
|
|
655
724
|
l() && n.append("X-SessionId", l()), e.searchParams.append("filter", ze);
|
|
656
725
|
try {
|
|
657
726
|
const c = yield (yield fetch(e, { method: "GET", headers: n, cache: "no-store" })).json();
|
|
658
|
-
if (((
|
|
727
|
+
if (((y = c == null ? void 0 : c.errorMessage) == null ? void 0 : y.trim()) === "InvalidSessionId") {
|
|
659
728
|
s(W, !0);
|
|
660
729
|
return;
|
|
661
730
|
}
|
|
662
|
-
s(g, ((
|
|
731
|
+
s(g, ((i = c == null ? void 0 : c.items) != null ? i : []).map((C) => Ee(C, o())), !0), r(g).length === 1 && (s(k, r(g)[0], !0), s(O, !0)), r(g).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
|
|
663
732
|
} catch (c) {
|
|
664
733
|
console.log(c), s(V, !0);
|
|
665
734
|
} finally {
|
|
@@ -682,17 +751,17 @@ function ce(A, i) {
|
|
|
682
751
|
if (e.data)
|
|
683
752
|
switch (e.data.type) {
|
|
684
753
|
case "PlayMiniGame":
|
|
685
|
-
s(
|
|
754
|
+
s(k, r(g).find((n) => n.id === e.data.programId), !0);
|
|
686
755
|
break;
|
|
687
756
|
case "CloseMiniGame":
|
|
688
|
-
s(
|
|
757
|
+
s(k, null), M();
|
|
689
758
|
break;
|
|
690
759
|
case "PrizeGameRemainingTimesUpdated":
|
|
691
|
-
s(
|
|
760
|
+
s(k, e.data.data, !0), s(g, r(g).map((n) => n.id === e.data.data.id ? e.data.data : n), !0);
|
|
692
761
|
break;
|
|
693
762
|
}
|
|
694
763
|
};
|
|
695
|
-
Be(() => (l() || setTimeout(M, 0), l() && (v() ?
|
|
764
|
+
Be(() => (l() || setTimeout(M, 0), l() && (v() ? we() : Te()), window.addEventListener("message", Q), () => {
|
|
696
765
|
window.removeEventListener("message", Q);
|
|
697
766
|
}));
|
|
698
767
|
var Ae = {
|
|
@@ -721,10 +790,10 @@ function ce(A, i) {
|
|
|
721
790
|
o(e), d();
|
|
722
791
|
},
|
|
723
792
|
get outerWheelAsset() {
|
|
724
|
-
return
|
|
793
|
+
return b();
|
|
725
794
|
},
|
|
726
795
|
set outerWheelAsset(e = null) {
|
|
727
|
-
|
|
796
|
+
b(e), d();
|
|
728
797
|
},
|
|
729
798
|
get wheelButtonAsset() {
|
|
730
799
|
return z();
|
|
@@ -733,10 +802,10 @@ function ce(A, i) {
|
|
|
733
802
|
z(e), d();
|
|
734
803
|
},
|
|
735
804
|
get backgroundVideoAsset() {
|
|
736
|
-
return
|
|
805
|
+
return x();
|
|
737
806
|
},
|
|
738
807
|
set backgroundVideoAsset(e = null) {
|
|
739
|
-
|
|
808
|
+
x(e), d();
|
|
740
809
|
},
|
|
741
810
|
get liteMode() {
|
|
742
811
|
return a();
|
|
@@ -750,24 +819,24 @@ function ce(A, i) {
|
|
|
750
819
|
set translationurl(e) {
|
|
751
820
|
R(e), d();
|
|
752
821
|
}
|
|
753
|
-
}, E = Xe(),
|
|
822
|
+
}, E = Xe(), xe = Z(E);
|
|
754
823
|
{
|
|
755
|
-
var
|
|
824
|
+
var Ce = (e) => {
|
|
756
825
|
var n = Ue();
|
|
757
826
|
P(e, n);
|
|
758
|
-
},
|
|
759
|
-
var n = Ge(),
|
|
827
|
+
}, De = (e) => {
|
|
828
|
+
var n = Ge(), y = ae(n);
|
|
760
829
|
{
|
|
761
|
-
var
|
|
830
|
+
var i = (p) => {
|
|
762
831
|
le(p, {
|
|
763
832
|
get outerWheelAsset() {
|
|
764
|
-
return
|
|
833
|
+
return b();
|
|
765
834
|
},
|
|
766
835
|
get wheelButtonAsset() {
|
|
767
836
|
return z();
|
|
768
837
|
},
|
|
769
838
|
get backgroundVideoAsset() {
|
|
770
|
-
return
|
|
839
|
+
return x();
|
|
771
840
|
},
|
|
772
841
|
get language() {
|
|
773
842
|
return o();
|
|
@@ -781,7 +850,7 @@ function ce(A, i) {
|
|
|
781
850
|
let h = q(() => !r(O));
|
|
782
851
|
Je(p, {
|
|
783
852
|
get program() {
|
|
784
|
-
return r(
|
|
853
|
+
return r(k);
|
|
785
854
|
},
|
|
786
855
|
get endpoint() {
|
|
787
856
|
return f();
|
|
@@ -800,12 +869,12 @@ function ce(A, i) {
|
|
|
800
869
|
}
|
|
801
870
|
});
|
|
802
871
|
}
|
|
803
|
-
},
|
|
872
|
+
}, C = q(() => r(k) && Se(r(k))), F = (p) => {
|
|
804
873
|
{
|
|
805
874
|
let h = q(() => !r(O));
|
|
806
875
|
le(p, {
|
|
807
876
|
get program() {
|
|
808
|
-
return r(
|
|
877
|
+
return r(k);
|
|
809
878
|
},
|
|
810
879
|
get endpoint() {
|
|
811
880
|
return f();
|
|
@@ -817,13 +886,13 @@ function ce(A, i) {
|
|
|
817
886
|
return l();
|
|
818
887
|
},
|
|
819
888
|
get outerWheelAsset() {
|
|
820
|
-
return
|
|
889
|
+
return b();
|
|
821
890
|
},
|
|
822
891
|
get wheelButtonAsset() {
|
|
823
892
|
return z();
|
|
824
893
|
},
|
|
825
894
|
get backgroundVideoAsset() {
|
|
826
|
-
return
|
|
895
|
+
return x();
|
|
827
896
|
},
|
|
828
897
|
get showBackButton() {
|
|
829
898
|
return r(h);
|
|
@@ -834,9 +903,9 @@ function ce(A, i) {
|
|
|
834
903
|
});
|
|
835
904
|
}
|
|
836
905
|
}, B = (p) => {
|
|
837
|
-
var h = Ye(),
|
|
838
|
-
L(
|
|
839
|
-
var ne = oe(
|
|
906
|
+
var h = Ye(), j = ae(h), N = Z(j), I = X(N, !0), Re = oe(N, 2), We = X(Re, !0);
|
|
907
|
+
L(j);
|
|
908
|
+
var ne = oe(j, 2);
|
|
840
909
|
Le(ne, 21, () => r(g), qe, (J, K) => {
|
|
841
910
|
Ke(J, {
|
|
842
911
|
get program() {
|
|
@@ -850,23 +919,23 @@ function ce(A, i) {
|
|
|
850
919
|
[() => m()("hubTitle"), () => m()("hubSubtitle")]
|
|
851
920
|
), P(p, h);
|
|
852
921
|
}, Pe = (p) => {
|
|
853
|
-
var h = Ze(),
|
|
922
|
+
var h = Ze(), j = Z(h), N = X(j, !0);
|
|
854
923
|
L(h), se((I) => Y(N, I), [() => m()("noContent")]), P(p, h);
|
|
855
924
|
};
|
|
856
|
-
|
|
925
|
+
ie(y, (p) => {
|
|
857
926
|
var h;
|
|
858
|
-
!l() || r(W) ? p(
|
|
927
|
+
!l() || r(W) ? p(i) : r(C) ? p(c, 1) : r(k) ? p(F, 2) : ((h = r(g)) == null ? void 0 : h.length) > 1 ? p(B, 3) : p(Pe, -1);
|
|
859
928
|
});
|
|
860
929
|
}
|
|
861
930
|
P(e, n);
|
|
862
931
|
};
|
|
863
|
-
|
|
864
|
-
r(S) ? e(
|
|
932
|
+
ie(xe, (e) => {
|
|
933
|
+
r(S) ? e(Ce) : e(De, -1);
|
|
865
934
|
});
|
|
866
935
|
}
|
|
867
936
|
L(E), P(A, E);
|
|
868
|
-
var
|
|
869
|
-
return
|
|
937
|
+
var je = pe(Ae);
|
|
938
|
+
return w(), je;
|
|
870
939
|
}
|
|
871
940
|
de(
|
|
872
941
|
ce,
|
|
@@ -885,10 +954,10 @@ de(
|
|
|
885
954
|
[],
|
|
886
955
|
{ mode: "open" }
|
|
887
956
|
);
|
|
888
|
-
function $e(A,
|
|
889
|
-
ge(
|
|
890
|
-
let m = u(
|
|
891
|
-
var
|
|
957
|
+
function $e(A, t) {
|
|
958
|
+
ge(t, !0);
|
|
959
|
+
let m = u(t, "endpoint", 7), T = u(t, "session", 7), w = u(t, "requiresOptin", 7, !1), f = u(t, "language", 7, "en"), l = u(t, "outerWheelAsset", 7, null), v = u(t, "wheelButtonAsset", 7, null), o = u(t, "backgroundVideoAsset", 7, null), b = u(t, "liteMode", 7, !1), z = u(t, "translationurl", 7);
|
|
960
|
+
var x = {
|
|
892
961
|
get endpoint() {
|
|
893
962
|
return m();
|
|
894
963
|
},
|
|
@@ -902,10 +971,10 @@ function $e(A, i) {
|
|
|
902
971
|
T(a), d();
|
|
903
972
|
},
|
|
904
973
|
get requiresOptin() {
|
|
905
|
-
return
|
|
974
|
+
return w();
|
|
906
975
|
},
|
|
907
976
|
set requiresOptin(a = !1) {
|
|
908
|
-
|
|
977
|
+
w(a), d();
|
|
909
978
|
},
|
|
910
979
|
get language() {
|
|
911
980
|
return f();
|
|
@@ -932,10 +1001,10 @@ function $e(A, i) {
|
|
|
932
1001
|
o(a), d();
|
|
933
1002
|
},
|
|
934
1003
|
get liteMode() {
|
|
935
|
-
return
|
|
1004
|
+
return b();
|
|
936
1005
|
},
|
|
937
1006
|
set liteMode(a = !1) {
|
|
938
|
-
|
|
1007
|
+
b(a), d();
|
|
939
1008
|
},
|
|
940
1009
|
get translationurl() {
|
|
941
1010
|
return z();
|
|
@@ -952,7 +1021,7 @@ function $e(A, i) {
|
|
|
952
1021
|
return T();
|
|
953
1022
|
},
|
|
954
1023
|
get requiresOptin() {
|
|
955
|
-
return
|
|
1024
|
+
return w();
|
|
956
1025
|
},
|
|
957
1026
|
get language() {
|
|
958
1027
|
return f();
|
|
@@ -967,12 +1036,12 @@ function $e(A, i) {
|
|
|
967
1036
|
return o();
|
|
968
1037
|
},
|
|
969
1038
|
get liteMode() {
|
|
970
|
-
return
|
|
1039
|
+
return b();
|
|
971
1040
|
},
|
|
972
1041
|
get translationurl() {
|
|
973
1042
|
return z();
|
|
974
1043
|
}
|
|
975
|
-
}), pe(
|
|
1044
|
+
}), pe(x);
|
|
976
1045
|
}
|
|
977
1046
|
customElements.define("mini-games-hub", de(
|
|
978
1047
|
$e,
|