@everymatrix/mini-games-hub 0.2.10 → 0.2.11
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 → ArrowLeftIcon-BjJl4mxP.cjs} +1 -1
- package/components/{ArrowLeftIcon-Bfs5TaL6.js → ArrowLeftIcon-BrF9LiL9.js} +2 -2
- package/components/{ArrowLeftIcon-Ypzji-S_.cjs → ArrowLeftIcon-ByeoO46i.cjs} +1 -1
- package/components/{ArrowLeftIcon-D98iyiSl.js → ArrowLeftIcon-Dm6AewfW.js} +2 -2
- package/components/{CoinFlip-CIqBL9-4.js → CoinFlip-4qd-V2ek.js} +2 -2
- package/components/{CoinFlip-tTQwMgSv.cjs → CoinFlip-CQPmpfQd.cjs} +1 -1
- package/components/{CoinFlip-BI2KQoYz.cjs → CoinFlip-CnVwlbrx.cjs} +1 -1
- package/components/{CoinFlip-BxeM60kP.js → CoinFlip-D83_ibHa.js} +2 -2
- package/components/{CoinRoyale-AIjHyYRF.js → CoinRoyale-Dw-ZGd34.js} +123 -117
- package/components/{CoinRoyale-gjCYpNk5.js → CoinRoyale-H0k-QhPk.js} +89 -83
- package/components/{CoinRoyale-B08ETrbd.cjs → CoinRoyale-WnnlCuqI.cjs} +2 -2
- package/components/{CoinRoyale-DqOsokVD.cjs → CoinRoyale-rqrxUtA5.cjs} +2 -2
- package/components/{GameCard-CehoUog_.cjs → GameCard-Bm0t4i5T.cjs} +1 -1
- package/components/{GameCard-pddtwXsP.js → GameCard-CHq_XWYC.js} +2 -2
- package/components/{GameCard-DfHnwOqs.cjs → GameCard-DtCeKfnc.cjs} +1 -1
- package/components/{GameCard-BAO-RWT9.js → GameCard-w3DAWH3S.js} +2 -2
- package/components/MiniGamesHub-B0p9ELAe.cjs +79 -0
- package/components/MiniGamesHub-C-PBWXxy.cjs +79 -0
- package/components/{MiniGamesHub-BPYHmhQ0.js → MiniGamesHub-DB6-HFcY.js} +71 -71
- package/components/{MiniGamesHub-CJjxsGLO.js → MiniGamesHub-_esPj6pF.js} +47 -47
- package/components/{WheelOfFortune-C0aA8AWD.cjs → WheelOfFortune-24VibrKW.cjs} +2 -2
- package/components/{WheelOfFortune-D3EtOxbR.cjs → WheelOfFortune-B9_KqY7g.cjs} +2 -2
- package/components/{WheelOfFortune-Bz-AxMjO.js → WheelOfFortune-CQr-QVok.js} +64 -58
- package/components/{WheelOfFortune-CBD1u1Ya.js → WheelOfFortune-DOAZ-xx_.js} +58 -52
- package/components/{WheelOfFortuneDrawResults-XxUjXAw4.js → WheelOfFortuneDrawResults-3yGVN6Eo.js} +2 -2
- package/components/{WheelOfFortuneDrawResults-Dg54Kewh.js → WheelOfFortuneDrawResults-D1whHER2.js} +2 -2
- package/components/{WheelOfFortuneDrawResults-BBd3dkqS.cjs → WheelOfFortuneDrawResults-DkYBTY5R.cjs} +1 -1
- package/components/{WheelOfFortuneDrawResults-D7SxQsQ4.cjs → WheelOfFortuneDrawResults-yn2wCnSc.cjs} +1 -1
- package/components/{WheelOfFortuneHistory-KBjh_Fju.cjs → WheelOfFortuneHistory--2RxpKwR.cjs} +1 -1
- package/components/{WheelOfFortuneHistory-txMyUapV.js → WheelOfFortuneHistory-Cbpt3YmH.js} +2 -2
- package/components/{WheelOfFortuneHistory-QwT2V9EM.cjs → WheelOfFortuneHistory-Fmd3yZJW.cjs} +1 -1
- package/components/{WheelOfFortuneHistory-C8xiNova.js → WheelOfFortuneHistory-ZPSt2tEE.js} +2 -2
- package/components/WheelOfFortuneRules-2kpO5ZXs.js +126 -0
- package/components/{WheelOfFortuneRules-BJENXLzh.cjs → WheelOfFortuneRules-CUDLtaOI.cjs} +2 -2
- package/components/WheelOfFortuneRules-CcfE4PQI.js +115 -0
- package/components/WheelOfFortuneRules-uyDGd04y.cjs +5 -0
- package/components/{WheelOfFortuneWheel-B11sYKJn.js → WheelOfFortuneWheel-BW3uO8Ni.js} +1 -1
- package/components/{WheelOfFortuneWheel-DWAdby4o.cjs → WheelOfFortuneWheel-BmAOTTNW.cjs} +1 -1
- package/components/{WheelOfFortuneWheel-D1cbM2SU.js → WheelOfFortuneWheel-CHw-8eCb.js} +1 -1
- package/components/{WheelOfFortuneWheel-DB0BZCUo.cjs → WheelOfFortuneWheel-DTotPlvp.cjs} +1 -1
- package/components/{utils-uE8V9ar8.cjs → utils-BTG9zG1A.cjs} +1 -1
- package/components/{utils-UAFcjwcH.js → utils-DPkqQ_Ca.js} +1 -1
- package/components/{utils-CzSqbDv1.js → utils-EIb7OFbZ.js} +1 -1
- package/components/{utils-BqkCy2Rz.cjs → utils-SRHZ3E54.cjs} +1 -1
- 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-DzY6bqFU.cjs +0 -79
- package/components/MiniGamesHub-rHaCMzIp.cjs +0 -79
- package/components/WheelOfFortuneRules-BtC1z4Di.js +0 -109
- package/components/WheelOfFortuneRules-C3McWywL.js +0 -120
- package/components/WheelOfFortuneRules-YSDAQ18X.cjs +0 -5
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var U = (A,
|
|
1
|
+
var U = (A, i, m) => new Promise((T, k) => {
|
|
2
2
|
var f = (o) => {
|
|
3
3
|
try {
|
|
4
4
|
v(m.next(o));
|
|
5
5
|
} catch (b) {
|
|
6
|
-
|
|
6
|
+
k(b);
|
|
7
7
|
}
|
|
8
8
|
}, l = (o) => {
|
|
9
9
|
try {
|
|
10
10
|
v(m.throw(o));
|
|
11
11
|
} catch (b) {
|
|
12
|
-
|
|
12
|
+
k(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, i)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as
|
|
18
|
-
import { bn as G, bo as _e, ad 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 We, p as u, z as Ne, A as re, B as ie, o as Fe, i as te, e as P, g as Be, f as H, c as de, l as Ge, h as Le, j as qe, k as Y, s as He } from "./WheelOfFortuneWheel-CHw-8eCb.js";
|
|
18
|
+
import { bn as G, bo as _e, ad as Oe, b1 as D, aQ as Ve, 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-DPkqQ_Ca.js";
|
|
19
|
+
import { W as le } from "./WheelOfFortune-DOAZ-xx_.js";
|
|
20
|
+
import { C as Je } from "./CoinRoyale-Dw-ZGd34.js";
|
|
21
|
+
import { G as Ke } from "./GameCard-w3DAWH3S.js";
|
|
22
22
|
const ue = {
|
|
23
23
|
en: {
|
|
24
24
|
noContent: "You don't have any lottery programs available now.",
|
|
@@ -63,7 +63,7 @@ const ue = {
|
|
|
63
63
|
backToHub: "Back to Hub",
|
|
64
64
|
login: "Login",
|
|
65
65
|
spinWheel: "Spin Wheel",
|
|
66
|
-
rulesDescription: "
|
|
66
|
+
rulesDescription: "{gameName} is a particularly interesting game which will bring you a lot of surprises. When you get a chance for the game, you can play it and if you are lucky, you will get the surprise prize.",
|
|
67
67
|
terms: "Terms&Conditions",
|
|
68
68
|
availablePeriod: "Available Period:",
|
|
69
69
|
recurrenceLabel: "Recurrence:",
|
|
@@ -155,7 +155,7 @@ const ue = {
|
|
|
155
155
|
backToHub: "Tilbage til Hub",
|
|
156
156
|
login: "Log ind",
|
|
157
157
|
spinWheel: "Drej Hjulet",
|
|
158
|
-
rulesDescription: "
|
|
158
|
+
rulesDescription: "{gameName} er et særligt spændende spil, der vil give dig mange overraskelser. Når du får en chance for spillet, kan du spille det, og hvis du er heldig, vinder du overraskelsespræmien.",
|
|
159
159
|
terms: "Vilkår&Betingelser",
|
|
160
160
|
availablePeriod: "Tilgængelig Periode:",
|
|
161
161
|
recurrenceLabel: "Gentagelse:",
|
|
@@ -247,7 +247,7 @@ const ue = {
|
|
|
247
247
|
backToHub: "Zurück zum Hub",
|
|
248
248
|
login: "Anmelden",
|
|
249
249
|
spinWheel: "Rad Drehen",
|
|
250
|
-
rulesDescription: "
|
|
250
|
+
rulesDescription: "{gameName} ist ein besonders interessantes Spiel, das dir viele Überraschungen bringt. Wenn du eine Chance für das Spiel erhältst, kannst du es spielen, und wenn du Glück hast, gewinnst du den Überraschungspreis.",
|
|
251
251
|
terms: "AGB",
|
|
252
252
|
availablePeriod: "Verfügbarer Zeitraum:",
|
|
253
253
|
recurrenceLabel: "Wiederholung:",
|
|
@@ -339,7 +339,7 @@ const ue = {
|
|
|
339
339
|
backToHub: "Terug naar Hub",
|
|
340
340
|
login: "Inloggen",
|
|
341
341
|
spinWheel: "Wiel Draaien",
|
|
342
|
-
rulesDescription: "
|
|
342
|
+
rulesDescription: "{gameName} is een bijzonder interessant spel dat je veel verrassingen zal bezorgen. Wanneer je een kans voor het spel krijgt, kun je het spelen en als je geluk hebt, win je de verrassingsprijs.",
|
|
343
343
|
terms: "Algemene Voorwaarden",
|
|
344
344
|
availablePeriod: "Beschikbare Periode:",
|
|
345
345
|
recurrenceLabel: "Herhaling:",
|
|
@@ -431,7 +431,7 @@ const ue = {
|
|
|
431
431
|
backToHub: "Retour au Hub",
|
|
432
432
|
login: "Connexion",
|
|
433
433
|
spinWheel: "Tourner la Roue",
|
|
434
|
-
rulesDescription: "
|
|
434
|
+
rulesDescription: "{gameName} est un jeu particulièrement intéressant qui vous apportera de nombreuses surprises. Lorsque vous obtenez une chance pour le jeu, vous pouvez y jouer et, si vous avez de la chance, vous remporterez le prix surprise.",
|
|
435
435
|
terms: "Conditions Générales",
|
|
436
436
|
availablePeriod: "Période Disponible :",
|
|
437
437
|
recurrenceLabel: "Récurrence :",
|
|
@@ -523,7 +523,7 @@ const ue = {
|
|
|
523
523
|
backToHub: "Merkeze Dön",
|
|
524
524
|
login: "Giriş Yap",
|
|
525
525
|
spinWheel: "Çarkı Çevir",
|
|
526
|
-
rulesDescription: "
|
|
526
|
+
rulesDescription: "{gameName}, size birçok sürpriz yaşatacak son derece ilginç bir oyundur. Oyun için bir şans elde ettiğinizde oynayabilir ve şanslıysanız sürpriz ödülü kazanabilirsiniz.",
|
|
527
527
|
terms: "Şartlar ve Koşullar",
|
|
528
528
|
availablePeriod: "Uygun Dönem:",
|
|
529
529
|
recurrenceLabel: "Tekrarlama:",
|
|
@@ -656,24 +656,24 @@ const Qe = {
|
|
|
656
656
|
}
|
|
657
657
|
*/`
|
|
658
658
|
};
|
|
659
|
-
function ce(A,
|
|
659
|
+
function ce(A, i) {
|
|
660
660
|
var $, ee;
|
|
661
|
-
ge(
|
|
662
|
-
const m = () => He(Ie, "$_", T), [T,
|
|
661
|
+
ge(i, !0), We(A, Qe);
|
|
662
|
+
const m = () => He(Ie, "$_", T), [T, k] = Be(), f = u(i, "endpoint", 7), l = u(i, "session", 7), v = u(i, "requiresOptin", 7, !1), o = u(i, "language", 7, "en"), b = u(i, "outerWheelAsset", 7, null), z = u(i, "wheelButtonAsset", 7, null), x = u(i, "backgroundVideoAsset", 7, null), a = u(i, "liteMode", 7, !1), R = u(i, "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
663
|
function be() {
|
|
664
664
|
try {
|
|
665
665
|
const n = document.createElement("canvas").getContext("webgl");
|
|
666
666
|
if (!n) return !1;
|
|
667
667
|
const y = n.getExtension("WEBGL_debug_renderer_info");
|
|
668
668
|
if (!y) return !1;
|
|
669
|
-
const
|
|
670
|
-
return /mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(
|
|
669
|
+
const t = 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(t);
|
|
671
671
|
} catch (e) {
|
|
672
672
|
return !1;
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
const ye = !G() && !he && (me <= 4 || fe <= 4 || be()), _ = q(() => a() || ye);
|
|
676
|
-
|
|
676
|
+
Ne({ withLocale: "en", translations: {} });
|
|
677
677
|
const ve = () => {
|
|
678
678
|
let e = new URL(R());
|
|
679
679
|
fetch(e.href).then((n) => n.json()).then((n) => {
|
|
@@ -686,64 +686,64 @@ function ce(A, t) {
|
|
|
686
686
|
};
|
|
687
687
|
Object.keys(ue).forEach((e) => {
|
|
688
688
|
re(e, ue[e]);
|
|
689
|
-
}),
|
|
690
|
-
const
|
|
691
|
-
|
|
689
|
+
}), ie(o());
|
|
690
|
+
const we = () => {
|
|
691
|
+
ie(o());
|
|
692
692
|
};
|
|
693
693
|
_e(() => {
|
|
694
694
|
R() && ve();
|
|
695
|
-
}),
|
|
696
|
-
|
|
695
|
+
}), Oe(() => {
|
|
696
|
+
we();
|
|
697
697
|
});
|
|
698
|
-
let S = D(!1), g = D(
|
|
699
|
-
const
|
|
698
|
+
let S = D(!1), g = D(Ve([])), O = D(!1), M = D(!1), w = D(null), V = D(!1);
|
|
699
|
+
const ke = () => U(this, null, function* () {
|
|
700
700
|
s(S, !0);
|
|
701
701
|
const e = new URL(`${f()}/v1/wof/claimable`), n = new Headers();
|
|
702
702
|
l() && n.append("X-SessionId", l());
|
|
703
703
|
const y = { method: "GET", headers: n, cache: "no-store" };
|
|
704
|
-
e.searchParams.append("filter", "wheelOfFortune"), fetch(e, y).then((
|
|
705
|
-
var c, C,
|
|
706
|
-
if (
|
|
707
|
-
s(
|
|
704
|
+
e.searchParams.append("filter", "wheelOfFortune"), fetch(e, y).then((t) => t.json()).then((t) => {
|
|
705
|
+
var c, C, N, F;
|
|
706
|
+
if (t && ((c = t.errorMessage) == null ? void 0 : c.trim()) === "InvalidSessionId") {
|
|
707
|
+
s(M, !0), s(S, !1);
|
|
708
708
|
return;
|
|
709
709
|
}
|
|
710
|
-
if ((
|
|
711
|
-
s(g, (
|
|
710
|
+
if ((N = (C = t == null ? void 0 : t.items) == null ? void 0 : C.program) != null && N.canClaim) {
|
|
711
|
+
s(g, (F = t == null ? void 0 : t.items) == null ? void 0 : F.program, !0), s(S, !1);
|
|
712
712
|
return;
|
|
713
713
|
}
|
|
714
|
-
s(g,
|
|
715
|
-
}).catch((
|
|
716
|
-
console.log(
|
|
714
|
+
s(g, t == null ? void 0 : t.items, !0);
|
|
715
|
+
}).catch((t) => {
|
|
716
|
+
console.log(t), s(O, !0);
|
|
717
717
|
}).finally(() => {
|
|
718
|
-
s(S, !1),
|
|
718
|
+
s(S, !1), W();
|
|
719
719
|
});
|
|
720
720
|
}), ze = ["wheelOfFortune", "flipCoin"].map((e) => `Types[]=${e}`).join(","), Te = () => U(this, null, function* () {
|
|
721
|
-
var y,
|
|
721
|
+
var y, t;
|
|
722
722
|
s(S, !0);
|
|
723
723
|
const e = new URL(`${f()}/v1/wof/lotteries`), n = new Headers();
|
|
724
724
|
l() && n.append("X-SessionId", l()), e.searchParams.append("filter", ze);
|
|
725
725
|
try {
|
|
726
726
|
const c = yield (yield fetch(e, { method: "GET", headers: n, cache: "no-store" })).json();
|
|
727
727
|
if (((y = c == null ? void 0 : c.errorMessage) == null ? void 0 : y.trim()) === "InvalidSessionId") {
|
|
728
|
-
s(
|
|
728
|
+
s(M, !0);
|
|
729
729
|
return;
|
|
730
730
|
}
|
|
731
|
-
s(g, ((
|
|
731
|
+
s(g, ((t = c == null ? void 0 : c.items) != null ? t : []).map((C) => Ee(C, o())), !0), r(g).length === 1 && (s(w, r(g)[0], !0), s(V, !0)), r(g).length === 0 && window.postMessage({ type: "event_wof_no_programs" }, window.location.href);
|
|
732
732
|
} catch (c) {
|
|
733
|
-
console.log(c), s(
|
|
733
|
+
console.log(c), s(O, !0);
|
|
734
734
|
} finally {
|
|
735
|
-
s(S, !1),
|
|
735
|
+
s(S, !1), W();
|
|
736
736
|
}
|
|
737
737
|
}), Se = (e) => {
|
|
738
738
|
var n;
|
|
739
739
|
return ((n = e == null ? void 0 : e.type) == null ? void 0 : n.toLowerCase()) === "flipcoin";
|
|
740
|
-
},
|
|
741
|
-
const e = Array.isArray(r(g)) ? r(g).length : r(g) ? 1 : 0, n = !!l() && !r(
|
|
740
|
+
}, W = () => {
|
|
741
|
+
const e = Array.isArray(r(g)) ? r(g).length : r(g) ? 1 : 0, n = !!l() && !r(M);
|
|
742
742
|
window.postMessage(
|
|
743
743
|
{
|
|
744
744
|
type: "event_hub_accessed",
|
|
745
745
|
isLoggedIn: n,
|
|
746
|
-
hasMiniGames: n && !r(
|
|
746
|
+
hasMiniGames: n && !r(O) ? e > 0 : null
|
|
747
747
|
},
|
|
748
748
|
window.location.href
|
|
749
749
|
);
|
|
@@ -751,17 +751,17 @@ function ce(A, t) {
|
|
|
751
751
|
if (e.data)
|
|
752
752
|
switch (e.data.type) {
|
|
753
753
|
case "PlayMiniGame":
|
|
754
|
-
s(
|
|
754
|
+
s(w, r(g).find((n) => n.id === e.data.programId), !0);
|
|
755
755
|
break;
|
|
756
756
|
case "CloseMiniGame":
|
|
757
|
-
s(
|
|
757
|
+
s(w, null), W();
|
|
758
758
|
break;
|
|
759
759
|
case "PrizeGameRemainingTimesUpdated":
|
|
760
|
-
s(
|
|
760
|
+
s(w, e.data.data, !0), s(g, r(g).map((n) => n.id === e.data.data.id ? e.data.data : n), !0);
|
|
761
761
|
break;
|
|
762
762
|
}
|
|
763
763
|
};
|
|
764
|
-
|
|
764
|
+
Fe(() => (l() || setTimeout(W, 0), l() && (v() ? ke() : Te()), window.addEventListener("message", Q), () => {
|
|
765
765
|
window.removeEventListener("message", Q);
|
|
766
766
|
}));
|
|
767
767
|
var Ae = {
|
|
@@ -827,7 +827,7 @@ function ce(A, t) {
|
|
|
827
827
|
}, De = (e) => {
|
|
828
828
|
var n = Ge(), y = ae(n);
|
|
829
829
|
{
|
|
830
|
-
var
|
|
830
|
+
var t = (p) => {
|
|
831
831
|
le(p, {
|
|
832
832
|
get outerWheelAsset() {
|
|
833
833
|
return b();
|
|
@@ -847,10 +847,10 @@ function ce(A, t) {
|
|
|
847
847
|
});
|
|
848
848
|
}, c = (p) => {
|
|
849
849
|
{
|
|
850
|
-
let h = q(() => !r(
|
|
850
|
+
let h = q(() => !r(V));
|
|
851
851
|
Je(p, {
|
|
852
852
|
get program() {
|
|
853
|
-
return r(
|
|
853
|
+
return r(w);
|
|
854
854
|
},
|
|
855
855
|
get endpoint() {
|
|
856
856
|
return f();
|
|
@@ -869,12 +869,12 @@ function ce(A, t) {
|
|
|
869
869
|
}
|
|
870
870
|
});
|
|
871
871
|
}
|
|
872
|
-
}, C = q(() => r(
|
|
872
|
+
}, C = q(() => r(w) && Se(r(w))), N = (p) => {
|
|
873
873
|
{
|
|
874
|
-
let h = q(() => !r(
|
|
874
|
+
let h = q(() => !r(V));
|
|
875
875
|
le(p, {
|
|
876
876
|
get program() {
|
|
877
|
-
return r(
|
|
877
|
+
return r(w);
|
|
878
878
|
},
|
|
879
879
|
get endpoint() {
|
|
880
880
|
return f();
|
|
@@ -902,8 +902,8 @@ function ce(A, t) {
|
|
|
902
902
|
}
|
|
903
903
|
});
|
|
904
904
|
}
|
|
905
|
-
},
|
|
906
|
-
var h = Ye(), j = ae(h),
|
|
905
|
+
}, F = (p) => {
|
|
906
|
+
var h = Ye(), j = ae(h), B = Z(j), I = X(B, !0), Re = oe(B, 2), Me = X(Re, !0);
|
|
907
907
|
L(j);
|
|
908
908
|
var ne = oe(j, 2);
|
|
909
909
|
Le(ne, 21, () => r(g), qe, (J, K) => {
|
|
@@ -914,28 +914,28 @@ function ce(A, t) {
|
|
|
914
914
|
});
|
|
915
915
|
}), L(ne), se(
|
|
916
916
|
(J, K) => {
|
|
917
|
-
Y(I, J), Y(
|
|
917
|
+
Y(I, J), Y(Me, K);
|
|
918
918
|
},
|
|
919
919
|
[() => m()("hubTitle"), () => m()("hubSubtitle")]
|
|
920
920
|
), P(p, h);
|
|
921
921
|
}, Pe = (p) => {
|
|
922
|
-
var h = Ze(), j = Z(h),
|
|
923
|
-
L(h), se((I) => Y(
|
|
922
|
+
var h = Ze(), j = Z(h), B = X(j, !0);
|
|
923
|
+
L(h), se((I) => Y(B, I), [() => m()("noContent")]), P(p, h);
|
|
924
924
|
};
|
|
925
|
-
|
|
925
|
+
te(y, (p) => {
|
|
926
926
|
var h;
|
|
927
|
-
!l() || r(
|
|
927
|
+
!l() || r(M) ? p(t) : r(C) ? p(c, 1) : r(w) ? p(N, 2) : ((h = r(g)) == null ? void 0 : h.length) > 1 ? p(F, 3) : p(Pe, -1);
|
|
928
928
|
});
|
|
929
929
|
}
|
|
930
930
|
P(e, n);
|
|
931
931
|
};
|
|
932
|
-
|
|
932
|
+
te(xe, (e) => {
|
|
933
933
|
r(S) ? e(Ce) : e(De, -1);
|
|
934
934
|
});
|
|
935
935
|
}
|
|
936
936
|
L(E), P(A, E);
|
|
937
937
|
var je = pe(Ae);
|
|
938
|
-
return
|
|
938
|
+
return k(), je;
|
|
939
939
|
}
|
|
940
940
|
de(
|
|
941
941
|
ce,
|
|
@@ -954,9 +954,9 @@ de(
|
|
|
954
954
|
[],
|
|
955
955
|
{ mode: "open" }
|
|
956
956
|
);
|
|
957
|
-
function $e(A,
|
|
958
|
-
ge(
|
|
959
|
-
let m = u(
|
|
957
|
+
function $e(A, i) {
|
|
958
|
+
ge(i, !0);
|
|
959
|
+
let m = u(i, "endpoint", 7), T = u(i, "session", 7), k = u(i, "requiresOptin", 7, !1), f = u(i, "language", 7, "en"), l = u(i, "outerWheelAsset", 7, null), v = u(i, "wheelButtonAsset", 7, null), o = u(i, "backgroundVideoAsset", 7, null), b = u(i, "liteMode", 7, !1), z = u(i, "translationurl", 7);
|
|
960
960
|
var x = {
|
|
961
961
|
get endpoint() {
|
|
962
962
|
return m();
|
|
@@ -971,10 +971,10 @@ function $e(A, t) {
|
|
|
971
971
|
T(a), d();
|
|
972
972
|
},
|
|
973
973
|
get requiresOptin() {
|
|
974
|
-
return
|
|
974
|
+
return k();
|
|
975
975
|
},
|
|
976
976
|
set requiresOptin(a = !1) {
|
|
977
|
-
|
|
977
|
+
k(a), d();
|
|
978
978
|
},
|
|
979
979
|
get language() {
|
|
980
980
|
return f();
|
|
@@ -1021,7 +1021,7 @@ function $e(A, t) {
|
|
|
1021
1021
|
return T();
|
|
1022
1022
|
},
|
|
1023
1023
|
get requiresOptin() {
|
|
1024
|
-
return
|
|
1024
|
+
return k();
|
|
1025
1025
|
},
|
|
1026
1026
|
get language() {
|
|
1027
1027
|
return f();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as te, a as Pe, p as o, z as Re, A as Y, B as Z, o as
|
|
2
|
-
import { a5 as ie, bn as
|
|
3
|
-
import { W as ne } from "./WheelOfFortune-
|
|
4
|
-
import { C as
|
|
5
|
-
import { G as Ee } from "./GameCard-
|
|
1
|
+
import { c as te, a as Pe, p as o, z as Re, A as Y, B as Z, o as Me, i as X, e as C, f as B, g as We, m as Ne, j as Fe, k as Be, l as E, s as Ge } from "./WheelOfFortuneWheel-BW3uO8Ni.js";
|
|
2
|
+
import { a5 as ie, bn as W, bo as Le, ad as qe, b1 as T, aQ as He, a9 as ae, aU as s, b6 as I, L as r, ba as N, aJ as a, bp as _e, b2 as Q, bc as F, b7 as J, b5 as $, ar as ee, b3 as Oe } from "./utils-EIb7OFbZ.js";
|
|
3
|
+
import { W as ne } from "./WheelOfFortune-CQr-QVok.js";
|
|
4
|
+
import { C as Ve } from "./CoinRoyale-H0k-QhPk.js";
|
|
5
|
+
import { G as Ee } from "./GameCard-CHq_XWYC.js";
|
|
6
6
|
const re = {
|
|
7
7
|
en: {
|
|
8
8
|
noContent: "You don't have any lottery programs available now.",
|
|
@@ -47,7 +47,7 @@ const re = {
|
|
|
47
47
|
backToHub: "Back to Hub",
|
|
48
48
|
login: "Login",
|
|
49
49
|
spinWheel: "Spin Wheel",
|
|
50
|
-
rulesDescription: "
|
|
50
|
+
rulesDescription: "{gameName} is a particularly interesting game which will bring you a lot of surprises. When you get a chance for the game, you can play it and if you are lucky, you will get the surprise prize.",
|
|
51
51
|
terms: "Terms&Conditions",
|
|
52
52
|
availablePeriod: "Available Period:",
|
|
53
53
|
recurrenceLabel: "Recurrence:",
|
|
@@ -139,7 +139,7 @@ const re = {
|
|
|
139
139
|
backToHub: "Tilbage til Hub",
|
|
140
140
|
login: "Log ind",
|
|
141
141
|
spinWheel: "Drej Hjulet",
|
|
142
|
-
rulesDescription: "
|
|
142
|
+
rulesDescription: "{gameName} er et særligt spændende spil, der vil give dig mange overraskelser. Når du får en chance for spillet, kan du spille det, og hvis du er heldig, vinder du overraskelsespræmien.",
|
|
143
143
|
terms: "Vilkår&Betingelser",
|
|
144
144
|
availablePeriod: "Tilgængelig Periode:",
|
|
145
145
|
recurrenceLabel: "Gentagelse:",
|
|
@@ -231,7 +231,7 @@ const re = {
|
|
|
231
231
|
backToHub: "Zurück zum Hub",
|
|
232
232
|
login: "Anmelden",
|
|
233
233
|
spinWheel: "Rad Drehen",
|
|
234
|
-
rulesDescription: "
|
|
234
|
+
rulesDescription: "{gameName} ist ein besonders interessantes Spiel, das dir viele Überraschungen bringt. Wenn du eine Chance für das Spiel erhältst, kannst du es spielen, und wenn du Glück hast, gewinnst du den Überraschungspreis.",
|
|
235
235
|
terms: "AGB",
|
|
236
236
|
availablePeriod: "Verfügbarer Zeitraum:",
|
|
237
237
|
recurrenceLabel: "Wiederholung:",
|
|
@@ -323,7 +323,7 @@ const re = {
|
|
|
323
323
|
backToHub: "Terug naar Hub",
|
|
324
324
|
login: "Inloggen",
|
|
325
325
|
spinWheel: "Wiel Draaien",
|
|
326
|
-
rulesDescription: "
|
|
326
|
+
rulesDescription: "{gameName} is een bijzonder interessant spel dat je veel verrassingen zal bezorgen. Wanneer je een kans voor het spel krijgt, kun je het spelen en als je geluk hebt, win je de verrassingsprijs.",
|
|
327
327
|
terms: "Algemene Voorwaarden",
|
|
328
328
|
availablePeriod: "Beschikbare Periode:",
|
|
329
329
|
recurrenceLabel: "Herhaling:",
|
|
@@ -415,7 +415,7 @@ const re = {
|
|
|
415
415
|
backToHub: "Retour au Hub",
|
|
416
416
|
login: "Connexion",
|
|
417
417
|
spinWheel: "Tourner la Roue",
|
|
418
|
-
rulesDescription: "
|
|
418
|
+
rulesDescription: "{gameName} est un jeu particulièrement intéressant qui vous apportera de nombreuses surprises. Lorsque vous obtenez une chance pour le jeu, vous pouvez y jouer et, si vous avez de la chance, vous remporterez le prix surprise.",
|
|
419
419
|
terms: "Conditions Générales",
|
|
420
420
|
availablePeriod: "Période Disponible :",
|
|
421
421
|
recurrenceLabel: "Récurrence :",
|
|
@@ -507,7 +507,7 @@ const re = {
|
|
|
507
507
|
backToHub: "Merkeze Dön",
|
|
508
508
|
login: "Giriş Yap",
|
|
509
509
|
spinWheel: "Çarkı Çevir",
|
|
510
|
-
rulesDescription: "
|
|
510
|
+
rulesDescription: "{gameName}, size birçok sürpriz yaşatacak son derece ilginç bir oyundur. Oyun için bir şans elde ettiğinizde oynayabilir ve şanslıysanız sürpriz ödülü kazanabilirsiniz.",
|
|
511
511
|
terms: "Şartlar ve Koşullar",
|
|
512
512
|
availablePeriod: "Uygun Dönem:",
|
|
513
513
|
recurrenceLabel: "Tekrarlama:",
|
|
@@ -557,7 +557,7 @@ const re = {
|
|
|
557
557
|
gameCardCoinFlips: "Para <br/> Atışı"
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
|
-
var Ie =
|
|
560
|
+
var Ie = B('<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>'), Je = B('<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), Ke = B('<div class="svelte-pzanec"><p class="svelte-pzanec"> </p></div>'), Ue = B('<div class="main-container svelte-pzanec"><!></div>');
|
|
561
561
|
const Ye = {
|
|
562
562
|
hash: "svelte-pzanec",
|
|
563
563
|
code: `.svelte-pzanec,
|
|
@@ -642,7 +642,7 @@ const Ye = {
|
|
|
642
642
|
};
|
|
643
643
|
function oe(D, t) {
|
|
644
644
|
ie(t, !0), Pe(D, Ye);
|
|
645
|
-
const v = () => Ge(
|
|
645
|
+
const v = () => Ge(Oe, "$_", S), [S, A] = We(), h = o(t, "endpoint", 7), l = o(t, "session", 7), w = o(t, "requiresOptin", 7, !1), c = o(t, "language", 7, "en"), b = o(t, "outerWheelAsset", 7, null), y = o(t, "wheelButtonAsset", 7, null), z = o(t, "backgroundVideoAsset", 7, null), i = o(t, "liteMode", 7, !1), j = o(t, "translationurl", 7), se = !W() && /iPhone|iPad|iPod/.test(navigator.userAgent), le = W() ? 1 / 0 : navigator.deviceMemory ?? 1 / 0, ue = W() ? 1 / 0 : navigator.hardwareConcurrency ?? 1 / 0;
|
|
646
646
|
function de() {
|
|
647
647
|
try {
|
|
648
648
|
const n = document.createElement("canvas").getContext("webgl");
|
|
@@ -655,7 +655,7 @@ function oe(D, t) {
|
|
|
655
655
|
return !1;
|
|
656
656
|
}
|
|
657
657
|
}
|
|
658
|
-
const pe = !
|
|
658
|
+
const pe = !W() && !se && (le <= 4 || ue <= 4 || de()), G = F(() => i() || pe);
|
|
659
659
|
Re({ withLocale: "en", translations: {} });
|
|
660
660
|
const ge = () => {
|
|
661
661
|
let e = new URL(j());
|
|
@@ -678,29 +678,29 @@ function oe(D, t) {
|
|
|
678
678
|
}), qe(() => {
|
|
679
679
|
ce();
|
|
680
680
|
});
|
|
681
|
-
let
|
|
681
|
+
let k = T(!1), p = T(He([])), L = T(!1), P = T(!1), f = T(null), q = T(!1);
|
|
682
682
|
const he = async () => {
|
|
683
|
-
a(
|
|
683
|
+
a(k, !0);
|
|
684
684
|
const e = new URL(`${h()}/v1/wof/claimable`), n = new Headers();
|
|
685
685
|
l() && n.append("X-SessionId", l());
|
|
686
686
|
const g = { method: "GET", headers: n, cache: "no-store" };
|
|
687
687
|
e.searchParams.append("filter", "wheelOfFortune"), fetch(e, g).then((u) => u.json()).then((u) => {
|
|
688
688
|
if (u && u.errorMessage?.trim() === "InvalidSessionId") {
|
|
689
|
-
a(P, !0), a(
|
|
689
|
+
a(P, !0), a(k, !1);
|
|
690
690
|
return;
|
|
691
691
|
}
|
|
692
692
|
if (u?.items?.program?.canClaim) {
|
|
693
|
-
a(p, u?.items?.program, !0), a(
|
|
693
|
+
a(p, u?.items?.program, !0), a(k, !1);
|
|
694
694
|
return;
|
|
695
695
|
}
|
|
696
696
|
a(p, u?.items, !0);
|
|
697
697
|
}).catch((u) => {
|
|
698
698
|
console.log(u), a(L, !0);
|
|
699
699
|
}).finally(() => {
|
|
700
|
-
a(
|
|
700
|
+
a(k, !1), R();
|
|
701
701
|
});
|
|
702
702
|
}, me = ["wheelOfFortune", "flipCoin"].map((e) => `Types[]=${e}`).join(","), fe = async () => {
|
|
703
|
-
a(
|
|
703
|
+
a(k, !0);
|
|
704
704
|
const e = new URL(`${h()}/v1/wof/lotteries`), n = new Headers();
|
|
705
705
|
l() && n.append("X-SessionId", l()), e.searchParams.append("filter", me);
|
|
706
706
|
try {
|
|
@@ -713,7 +713,7 @@ function oe(D, t) {
|
|
|
713
713
|
} catch (g) {
|
|
714
714
|
console.log(g), a(L, !0);
|
|
715
715
|
} finally {
|
|
716
|
-
a(
|
|
716
|
+
a(k, !1), R();
|
|
717
717
|
}
|
|
718
718
|
}, be = (e) => e?.type?.toLowerCase() === "flipcoin", R = () => {
|
|
719
719
|
const e = Array.isArray(r(p)) ? r(p).length : r(p) ? 1 : 0, n = !!l() && !r(P);
|
|
@@ -739,7 +739,7 @@ function oe(D, t) {
|
|
|
739
739
|
break;
|
|
740
740
|
}
|
|
741
741
|
};
|
|
742
|
-
|
|
742
|
+
Me(() => (l() || setTimeout(R, 0), l() && (w() ? he() : fe()), window.addEventListener("message", K), () => {
|
|
743
743
|
window.removeEventListener("message", K);
|
|
744
744
|
}));
|
|
745
745
|
var ye = {
|
|
@@ -756,10 +756,10 @@ function oe(D, t) {
|
|
|
756
756
|
l(e), s();
|
|
757
757
|
},
|
|
758
758
|
get requiresOptin() {
|
|
759
|
-
return
|
|
759
|
+
return w();
|
|
760
760
|
},
|
|
761
761
|
set requiresOptin(e = !1) {
|
|
762
|
-
|
|
762
|
+
w(e), s();
|
|
763
763
|
},
|
|
764
764
|
get language() {
|
|
765
765
|
return c();
|
|
@@ -799,11 +799,11 @@ function oe(D, t) {
|
|
|
799
799
|
}
|
|
800
800
|
}, H = Ue(), ve = I(H);
|
|
801
801
|
{
|
|
802
|
-
var
|
|
802
|
+
var we = (e) => {
|
|
803
803
|
var n = Ie();
|
|
804
804
|
C(e, n);
|
|
805
|
-
},
|
|
806
|
-
var n =
|
|
805
|
+
}, ke = (e) => {
|
|
806
|
+
var n = Ne(), g = Q(n);
|
|
807
807
|
{
|
|
808
808
|
var u = (d) => {
|
|
809
809
|
ne(d, {
|
|
@@ -825,8 +825,8 @@ function oe(D, t) {
|
|
|
825
825
|
});
|
|
826
826
|
}, Te = (d) => {
|
|
827
827
|
{
|
|
828
|
-
let m =
|
|
829
|
-
|
|
828
|
+
let m = F(() => !r(q));
|
|
829
|
+
Ve(d, {
|
|
830
830
|
get program() {
|
|
831
831
|
return r(f);
|
|
832
832
|
},
|
|
@@ -847,9 +847,9 @@ function oe(D, t) {
|
|
|
847
847
|
}
|
|
848
848
|
});
|
|
849
849
|
}
|
|
850
|
-
}, Se =
|
|
850
|
+
}, Se = F(() => r(f) && be(r(f))), Ae = (d) => {
|
|
851
851
|
{
|
|
852
|
-
let m =
|
|
852
|
+
let m = F(() => !r(q));
|
|
853
853
|
ne(d, {
|
|
854
854
|
get program() {
|
|
855
855
|
return r(f);
|
|
@@ -881,24 +881,24 @@ function oe(D, t) {
|
|
|
881
881
|
});
|
|
882
882
|
}
|
|
883
883
|
}, xe = (d) => {
|
|
884
|
-
var m = Je(), x = Q(m),
|
|
885
|
-
|
|
884
|
+
var m = Je(), x = Q(m), M = I(x), _ = J(M, !0), De = $(M, 2), je = J(De, !0);
|
|
885
|
+
N(x);
|
|
886
886
|
var U = $(x, 2);
|
|
887
|
-
|
|
888
|
-
Ee(
|
|
887
|
+
Fe(U, 21, () => r(p), Be, (O, V) => {
|
|
888
|
+
Ee(O, {
|
|
889
889
|
get program() {
|
|
890
|
-
return r(
|
|
890
|
+
return r(V);
|
|
891
891
|
}
|
|
892
892
|
});
|
|
893
|
-
}),
|
|
894
|
-
(
|
|
895
|
-
E(_,
|
|
893
|
+
}), N(U), ee(
|
|
894
|
+
(O, V) => {
|
|
895
|
+
E(_, O), E(je, V);
|
|
896
896
|
},
|
|
897
897
|
[() => v()("hubTitle"), () => v()("hubSubtitle")]
|
|
898
898
|
), C(d, m);
|
|
899
899
|
}, Ce = (d) => {
|
|
900
|
-
var m = Ke(), x = I(m),
|
|
901
|
-
|
|
900
|
+
var m = Ke(), x = I(m), M = J(x, !0);
|
|
901
|
+
N(m), ee((_) => E(M, _), [() => v()("noContent")]), C(d, m);
|
|
902
902
|
};
|
|
903
903
|
X(g, (d) => {
|
|
904
904
|
!l() || r(P) ? d(u) : r(Se) ? d(Te, 1) : r(f) ? d(Ae, 2) : r(p)?.length > 1 ? d(xe, 3) : d(Ce, -1);
|
|
@@ -907,10 +907,10 @@ function oe(D, t) {
|
|
|
907
907
|
C(e, n);
|
|
908
908
|
};
|
|
909
909
|
X(ve, (e) => {
|
|
910
|
-
r(
|
|
910
|
+
r(k) ? e(we) : e(ke, -1);
|
|
911
911
|
});
|
|
912
912
|
}
|
|
913
|
-
|
|
913
|
+
N(H), C(D, H);
|
|
914
914
|
var ze = ae(ye);
|
|
915
915
|
return A(), ze;
|
|
916
916
|
}
|
|
@@ -933,7 +933,7 @@ te(
|
|
|
933
933
|
);
|
|
934
934
|
function Ze(D, t) {
|
|
935
935
|
ie(t, !0);
|
|
936
|
-
let v = o(t, "endpoint", 7), S = o(t, "session", 7), A = o(t, "requiresOptin", 7, !1), h = o(t, "language", 7, "en"), l = o(t, "outerWheelAsset", 7, null),
|
|
936
|
+
let v = o(t, "endpoint", 7), S = o(t, "session", 7), A = o(t, "requiresOptin", 7, !1), h = o(t, "language", 7, "en"), l = o(t, "outerWheelAsset", 7, null), w = o(t, "wheelButtonAsset", 7, null), c = o(t, "backgroundVideoAsset", 7, null), b = o(t, "liteMode", 7, !1), y = o(t, "translationurl", 7);
|
|
937
937
|
var z = {
|
|
938
938
|
get endpoint() {
|
|
939
939
|
return v();
|
|
@@ -966,10 +966,10 @@ function Ze(D, t) {
|
|
|
966
966
|
l(i), s();
|
|
967
967
|
},
|
|
968
968
|
get wheelButtonAsset() {
|
|
969
|
-
return
|
|
969
|
+
return w();
|
|
970
970
|
},
|
|
971
971
|
set wheelButtonAsset(i = null) {
|
|
972
|
-
|
|
972
|
+
w(i), s();
|
|
973
973
|
},
|
|
974
974
|
get backgroundVideoAsset() {
|
|
975
975
|
return c();
|
|
@@ -1007,7 +1007,7 @@ function Ze(D, t) {
|
|
|
1007
1007
|
return l();
|
|
1008
1008
|
},
|
|
1009
1009
|
get wheelButtonAsset() {
|
|
1010
|
-
return
|
|
1010
|
+
return w();
|
|
1011
1011
|
},
|
|
1012
1012
|
get backgroundVideoAsset() {
|
|
1013
1013
|
return c();
|