@everymatrix/casino-game-overlay 1.92.0 → 1.92.2
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/{CasinoCoinroyaleContainer-DHTzWkTJ.cjs → CasinoCoinroyaleContainer-B6wbsPdK.cjs} +1 -1
- package/components/{CasinoCoinroyaleContainer-CLLpK1Ed.js → CasinoCoinroyaleContainer-CrybPu4T.js} +4 -4
- package/components/{CasinoCoinroyaleContainer-DqnKbBE7.js → CasinoCoinroyaleContainer-D6xDTfst.js} +4 -4
- package/components/{CasinoCoinroyaleDetails-Em4xQoca.cjs → CasinoCoinroyaleDetails-BZ_WCvfy.cjs} +1 -1
- package/components/{CasinoCoinroyaleDetails-X9TUrtj4.js → CasinoCoinroyaleDetails-BrHolmjt.js} +2 -2
- package/components/{CasinoCoinroyaleDetails-BdVDEPTm.js → CasinoCoinroyaleDetails-BzsNEQvn.js} +2 -2
- package/components/{CasinoCoinroyaleList-DVSWGc29.js → CasinoCoinroyaleList-BJt-xLxA.js} +3 -3
- package/components/{CasinoCoinroyaleList-IplknfV1.js → CasinoCoinroyaleList-BsE7E11H.js} +3 -3
- package/components/{CasinoCoinroyaleList-C6hKfOYw.cjs → CasinoCoinroyaleList-DusBLc66.cjs} +1 -1
- package/components/{CasinoGameOverlay-V7LdfRMk.js → CasinoGameOverlay-DUEK-4c8.js} +336 -327
- package/components/{CasinoGameOverlay-BtzBFnKd.js → CasinoGameOverlay-Dk_e7S5S.js} +385 -376
- package/components/CasinoGameOverlay-DxVFecV1.cjs +4 -0
- package/components/{CasinoMysteryChestContainer-BckJ8kSf.cjs → CasinoMysteryChestContainer-BcbLPo0Z.cjs} +1 -1
- package/components/{CasinoMysteryChestContainer-2q39nbfp.js → CasinoMysteryChestContainer-DeILjbeG.js} +4 -4
- package/components/{CasinoMysteryChestContainer-Bu5soH27.js → CasinoMysteryChestContainer-DlHO957g.js} +4 -4
- package/components/{CasinoMysteryChestDetails-DJ6gz5xx.cjs → CasinoMysteryChestDetails-B92naIHC.cjs} +1 -1
- package/components/{CasinoMysteryChestDetails-B29xnOYi.js → CasinoMysteryChestDetails-LmsHymHc.js} +3 -3
- package/components/{CasinoMysteryChestDetails-Dd_ZCPFZ.js → CasinoMysteryChestDetails-zh82UlHz.js} +3 -3
- package/components/{CasinoMysteryChestModal-liWPvZLw.js → CasinoMysteryChestModal-7NOlJhOA.js} +1 -1
- package/components/{CasinoMysteryChestModal-CPrsQruR.cjs → CasinoMysteryChestModal-G7V3hPTw.cjs} +1 -1
- package/components/{CasinoMysteryChestModal-D8hCr0GS.js → CasinoMysteryChestModal-mavYFXxw.js} +1 -1
- package/components/{CasinoMysteryChestsList-Bn1f7GtL.js → CasinoMysteryChestsList-BlwtQ2Oi.js} +2 -2
- package/components/{CasinoMysteryChestsList-CV29Ly-U.js → CasinoMysteryChestsList-CZmqS9RH.js} +2 -2
- package/components/{CasinoMysteryChestsList-ZlpUP-_c.cjs → CasinoMysteryChestsList-D7Ei_zWb.cjs} +1 -1
- package/components/{LotteryProgramWof-BXO9ySHI.cjs → LotteryProgramWof-CYN4QdNW.cjs} +1 -1
- package/components/{LotteryProgramWof-BKlE0kKR.js → LotteryProgramWof-CYsXhvmg.js} +2 -2
- package/components/{LotteryProgramWof-CONWAs8w.js → LotteryProgramWof-vN_-5rCj.js} +2 -2
- package/components/{PrizeEngineChest-DQ2V6oL0.js → PrizeEngineChest-D-1AzkWP.js} +4 -4
- package/components/{PrizeEngineChest-D-GSJmRs.js → PrizeEngineChest-D9x8mDNy.js} +4 -4
- package/components/{PrizeEngineChest-BpgJBZ-Y.cjs → PrizeEngineChest-ZtbR30GF.cjs} +1 -1
- package/components/{PrizeEngineCoin-DMf_jPUy.cjs → PrizeEngineCoin-DHoWaMXY.cjs} +1 -1
- package/components/{PrizeEngineCoin-C7AvFwNL.js → PrizeEngineCoin-DTs1myVC.js} +2 -2
- package/components/{PrizeEngineCoin-jRTdpoLr.js → PrizeEngineCoin-DbFl_eCf.js} +2 -2
- package/components/{PrizeEngineDetails-Bok3RJt0.js → PrizeEngineDetails-Bi94BkB1.js} +200 -190
- package/components/{PrizeEngineDetails-BwwbWZIV.js → PrizeEngineDetails-C7LLHM3M.js} +276 -265
- package/components/{PrizeEngineDetails-B32Oyuua.cjs → PrizeEngineDetails-CjTT3Hyz.cjs} +1 -1
- package/components/{PrizeEngineHistory--7ch2ibC.js → PrizeEngineHistory-ANnDH8E1.js} +4 -4
- package/components/{PrizeEngineHistory-CT4oW3nn.js → PrizeEngineHistory-CyE8rjCd.js} +4 -4
- package/components/{PrizeEngineHistory-BS2YDAR_.cjs → PrizeEngineHistory-DY_OdvA7.cjs} +1 -1
- package/components/{PrizeEngineList-BtST-Ok-.js → PrizeEngineList-BQEAk_AP.js} +123 -123
- package/components/{PrizeEngineList-C8K3okMV.js → PrizeEngineList-DlEj5e0E.js} +98 -98
- package/components/PrizeEngineList-DrZtvkgK.cjs +1 -0
- package/components/{PrizeEngineLuckywheel-CDAcodqf.js → PrizeEngineLuckywheel-B4E2aj2l.js} +3 -3
- package/components/{PrizeEngineLuckywheel-sIZh84m_.js → PrizeEngineLuckywheel-BUfIMpmo.js} +3 -3
- package/components/{PrizeEngineLuckywheel-B_dOeIeL.cjs → PrizeEngineLuckywheel-C8w1Ot_M.cjs} +1 -1
- package/components/{PrizeEngineSuite-MfBz9bMX.js → PrizeEngineSuite-D7TII_gi.js} +263 -255
- package/components/{PrizeEngineSuite-SzG6RFWp.js → PrizeEngineSuite-DCaGWMFT.js} +263 -255
- package/components/PrizeEngineSuite-DLimogfH.cjs +1 -0
- package/components/{WheelSVG-BKSG01DQ.js → WheelSVG-CUwIGmaM.js} +2 -2
- package/components/{WheelSVG-ClHiUv-P.js → WheelSVG-CqaqxytJ.js} +2 -2
- package/components/{WheelSVG-BVu6Gymg.cjs → WheelSVG-DlM6XfJR.cjs} +1 -1
- package/es2015/casino-game-overlay.cjs +1 -1
- package/es2015/casino-game-overlay.js +1 -1
- package/esnext/casino-game-overlay.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGameOverlay-DcfvouvT.cjs +0 -4
- package/components/PrizeEngineList-CzJMqs2M.cjs +0 -1
- package/components/PrizeEngineSuite-CZAGeW2x.cjs +0 -1
|
@@ -9,7 +9,7 @@ var Ye = (A, e, t) => e in A ? bt(A, e, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
kt.call(e, t) && Ye(A, t, e[t]);
|
|
10
10
|
return A;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var fe = (A, e, t) => new Promise((n, i) => {
|
|
13
13
|
var l = (c) => {
|
|
14
14
|
try {
|
|
15
15
|
o(t.next(c));
|
|
@@ -25,9 +25,9 @@ var we = (A, e, t) => new Promise((n, i) => {
|
|
|
25
25
|
}, o = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
|
|
26
26
|
o((t = t.apply(A, e)).next());
|
|
27
27
|
});
|
|
28
|
-
import { S as Bt, b as Ct, s as Pe, f as ie, c as Mt, n as Xe, d as M, x as Me, e as R, m as a, k as f, g as H, l as p, w as Rt, o as Ht, r as ct, E as X, N as
|
|
29
|
-
import { f as Lt, a as xe } from "./LotteryProgramWof-
|
|
30
|
-
import { $ as Ne, a as Pt, b as
|
|
28
|
+
import { S as Bt, b as Ct, s as Pe, f as ie, c as Mt, n as Xe, d as M, x as Me, e as R, m as a, k as f, g as H, l as p, w as Rt, o as Ht, r as ct, E as X, N as ue, G as ft, y as ut, z as dt, p as de, F as L, h as Je, C as Ee, D as Fe, A as Qt, B as gt, j as h, L as je, M as ht, q as Ie, i as Ge, I as Tt, J as zt, K as Dt, t as Wt } from "./CasinoGameOverlay-Dk_e7S5S.js";
|
|
29
|
+
import { f as Lt, a as xe } from "./LotteryProgramWof-vN_-5rCj.js";
|
|
30
|
+
import { $ as Ne, a as Pt, b as jt, i as It, c as xt } from "./CasinoMysteryChestContainer-DeILjbeG.js";
|
|
31
31
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
32
32
|
const Ve = {
|
|
33
33
|
en: {
|
|
@@ -112,7 +112,7 @@ const Ve = {
|
|
|
112
112
|
};
|
|
113
113
|
function Xt({ withLocale: A, translations: e }) {
|
|
114
114
|
Ne.subscribe((t) => {
|
|
115
|
-
t == null && (
|
|
115
|
+
t == null && (jt.set(e), Ne.set(A));
|
|
116
116
|
});
|
|
117
117
|
}
|
|
118
118
|
function Se(A, e) {
|
|
@@ -138,7 +138,7 @@ if (typeof window != "undefined") {
|
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
};
|
|
141
|
-
customElements.define = A(customElements.define), import("./PrizeEngineChest-
|
|
141
|
+
customElements.define = A(customElements.define), import("./PrizeEngineChest-D-1AzkWP.js").then(({ default: e }) => {
|
|
142
142
|
!customElements.get("prize-engine-chest") && customElements.define("prize-engine-chest", e.element);
|
|
143
143
|
});
|
|
144
144
|
}
|
|
@@ -154,7 +154,7 @@ if (typeof window != "undefined") {
|
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
};
|
|
157
|
-
customElements.define = A(customElements.define), import("./PrizeEngineCoin-
|
|
157
|
+
customElements.define = A(customElements.define), import("./PrizeEngineCoin-DTs1myVC.js").then(({ default: e }) => {
|
|
158
158
|
!customElements.get("prize-engine-coin") && customElements.define("prize-engine-coin", e.element);
|
|
159
159
|
});
|
|
160
160
|
}
|
|
@@ -170,7 +170,7 @@ if (typeof window != "undefined") {
|
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
|
-
customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-
|
|
173
|
+
customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-BUfIMpmo.js").then(({ default: e }) => {
|
|
174
174
|
!customElements.get("prize-engine-luckywheel") && customElements.define("prize-engine-luckywheel", e.element);
|
|
175
175
|
});
|
|
176
176
|
}
|
|
@@ -194,10 +194,10 @@ function Ke(A) {
|
|
|
194
194
|
A[2]
|
|
195
195
|
] || /*activeGame*/
|
|
196
196
|
A[9].program.name["*"]) + ""
|
|
197
|
-
), o, c, r,
|
|
197
|
+
), o, c, r, d, w, b, v, C, O, V, P, K, se = (
|
|
198
198
|
/*$_*/
|
|
199
199
|
A[15]("Rules") + ""
|
|
200
|
-
), pe,
|
|
200
|
+
), pe, ee, u, J, le, E, j;
|
|
201
201
|
function T(y, x) {
|
|
202
202
|
if (
|
|
203
203
|
/*gameType*/
|
|
@@ -215,15 +215,15 @@ function Ke(A) {
|
|
|
215
215
|
)
|
|
216
216
|
return Vt;
|
|
217
217
|
}
|
|
218
|
-
let
|
|
219
|
-
function
|
|
218
|
+
let Z = T(A), D = Z && Z(A);
|
|
219
|
+
function F(y, x) {
|
|
220
220
|
return (
|
|
221
221
|
/*gameType*/
|
|
222
222
|
y[14] !== "wheelOfFortune" || /*themeIndex*/
|
|
223
223
|
y[21] === 7 ? _t : Kt
|
|
224
224
|
);
|
|
225
225
|
}
|
|
226
|
-
let Ae =
|
|
226
|
+
let Ae = F(A), N = Ae(A), I = (
|
|
227
227
|
/*displayExpiry*/
|
|
228
228
|
A[23] && _e(A)
|
|
229
229
|
), W = (
|
|
@@ -232,12 +232,12 @@ function Ke(A) {
|
|
|
232
232
|
);
|
|
233
233
|
return {
|
|
234
234
|
c() {
|
|
235
|
-
e = f("div"), t = f("div"), n = f("button"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"),
|
|
235
|
+
e = f("div"), t = f("div"), n = f("button"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"), d = H(), w = f("div"), b = f("div"), D && D.c(), v = H(), C = f("div"), N.c(), O = H(), I && I.c(), V = H(), P = f("button"), K = f("span"), pe = L(se), ee = H(), u = f("span"), J = H(), W && W.c(), le = Je(), p(n, "type", "button"), p(n, "class", "IconButton Back svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(r, "type", "button"), p(r, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameComponentContainer svelte-1m851ap"), p(u, "class", "ChevronUp svelte-1m851ap"), p(P, "type", "button"), p(P, "class", "RulesToggle svelte-1m851ap"), p(C, "class", "InfoSection svelte-1m851ap"), p(w, "class", "ViewWrapper svelte-1m851ap"), p(e, "class", "ViewLayer GameLayer svelte-1m851ap"), ue(
|
|
236
236
|
e,
|
|
237
237
|
"Mobile",
|
|
238
238
|
/*mobileView*/
|
|
239
239
|
A[24]
|
|
240
|
-
),
|
|
240
|
+
), ue(
|
|
241
241
|
e,
|
|
242
242
|
"hidden",
|
|
243
243
|
/*showRulesOverlay*/
|
|
@@ -246,20 +246,20 @@ function Ke(A) {
|
|
|
246
246
|
);
|
|
247
247
|
},
|
|
248
248
|
m(y, x) {
|
|
249
|
-
R(y, e, x), a(e, t), a(t, n), a(t, i), a(t, l), a(l, o), a(t, c), a(t, r), a(e,
|
|
250
|
-
|
|
249
|
+
R(y, e, x), a(e, t), a(t, n), a(t, i), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), D && D.m(b, null), a(w, v), a(w, C), N.m(C, null), a(C, O), I && I.m(C, null), a(C, V), a(C, P), a(P, K), a(K, pe), a(P, ee), a(P, u), R(y, J, x), W && W.m(y, x), R(y, le, x), E || (j = [
|
|
250
|
+
de(
|
|
251
251
|
n,
|
|
252
252
|
"click",
|
|
253
253
|
/*onBack*/
|
|
254
254
|
A[29]
|
|
255
255
|
),
|
|
256
|
-
|
|
256
|
+
de(
|
|
257
257
|
r,
|
|
258
258
|
"click",
|
|
259
259
|
/*onClose*/
|
|
260
260
|
A[30]
|
|
261
261
|
),
|
|
262
|
-
|
|
262
|
+
de(
|
|
263
263
|
P,
|
|
264
264
|
"click",
|
|
265
265
|
/*click_handler*/
|
|
@@ -274,11 +274,11 @@ function Ke(A) {
|
|
|
274
274
|
/*lang*/
|
|
275
275
|
y[2]
|
|
276
276
|
] || /*activeGame*/
|
|
277
|
-
y[9].program.name["*"]) + "") && X(o, s),
|
|
278
|
-
y[23] ?
|
|
277
|
+
y[9].program.name["*"]) + "") && X(o, s), Z === (Z = T(y)) && D ? D.p(y, x) : (D && D.d(1), D = Z && Z(y), D && (D.c(), D.m(b, null))), Ae === (Ae = F(y)) && N ? N.p(y, x) : (N.d(1), N = Ae(y), N && (N.c(), N.m(C, O))), /*displayExpiry*/
|
|
278
|
+
y[23] ? I ? I.p(y, x) : (I = _e(y), I.c(), I.m(C, V)) : I && (I.d(1), I = null), x[0] & /*$_*/
|
|
279
279
|
32768 && se !== (se = /*$_*/
|
|
280
280
|
y[15]("Rules") + "") && X(pe, se), x[0] & /*showRulesOverlay, isMessageShown*/
|
|
281
|
-
264192 &&
|
|
281
|
+
264192 && ue(
|
|
282
282
|
e,
|
|
283
283
|
"hidden",
|
|
284
284
|
/*showRulesOverlay*/
|
|
@@ -291,7 +291,7 @@ function Ke(A) {
|
|
|
291
291
|
}), dt());
|
|
292
292
|
},
|
|
293
293
|
d(y) {
|
|
294
|
-
y && (M(e), M(J), M(le)), D && D.d(),
|
|
294
|
+
y && (M(e), M(J), M(le)), D && D.d(), N.d(), I && I.d(), W && W.d(y), E = !1, ct(j);
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
}
|
|
@@ -636,23 +636,23 @@ function Kt(A) {
|
|
|
636
636
|
let e, t, n = (
|
|
637
637
|
/*$_*/
|
|
638
638
|
A[15]("RemainingTimes") + ""
|
|
639
|
-
), i, l, s, o, c, r,
|
|
639
|
+
), i, l, s, o, c, r, d = (
|
|
640
640
|
/*activeGame*/
|
|
641
641
|
A[9].current.remainingTimes + ""
|
|
642
|
-
),
|
|
642
|
+
), w;
|
|
643
643
|
return {
|
|
644
644
|
c() {
|
|
645
|
-
e = f("div"), t = f("span"), i = L(n), l = L(":"), s = H(), o = f("span"), o.innerHTML = `<img src="${Yt}" alt="Key"/>`, c = H(), r = f("span"),
|
|
645
|
+
e = f("div"), t = f("span"), i = L(n), l = L(":"), s = H(), o = f("span"), o.innerHTML = `<img src="${Yt}" alt="Key"/>`, c = H(), r = f("span"), w = L(d), p(o, "class", "SmallIcon svelte-1m851ap"), p(e, "class", "InfoItem svelte-1m851ap");
|
|
646
646
|
},
|
|
647
|
-
m(b,
|
|
648
|
-
R(b, e,
|
|
647
|
+
m(b, v) {
|
|
648
|
+
R(b, e, v), a(e, t), a(t, i), a(t, l), a(e, s), a(e, o), a(e, c), a(e, r), a(r, w);
|
|
649
649
|
},
|
|
650
|
-
p(b,
|
|
651
|
-
|
|
650
|
+
p(b, v) {
|
|
651
|
+
v[0] & /*$_*/
|
|
652
652
|
32768 && n !== (n = /*$_*/
|
|
653
|
-
b[15]("RemainingTimes") + "") && X(i, n),
|
|
654
|
-
512 &&
|
|
655
|
-
b[9].current.remainingTimes + "") && X(
|
|
653
|
+
b[15]("RemainingTimes") + "") && X(i, n), v[0] & /*activeGame*/
|
|
654
|
+
512 && d !== (d = /*activeGame*/
|
|
655
|
+
b[9].current.remainingTimes + "") && X(w, d);
|
|
656
656
|
},
|
|
657
657
|
d(b) {
|
|
658
658
|
b && M(e);
|
|
@@ -666,35 +666,35 @@ function _t(A) {
|
|
|
666
666
|
), i, l, s, o, c, r = (
|
|
667
667
|
/*buttonTextParts*/
|
|
668
668
|
A[19].count + ""
|
|
669
|
-
),
|
|
669
|
+
), d, w, b, v;
|
|
670
670
|
return {
|
|
671
671
|
c() {
|
|
672
|
-
var
|
|
673
|
-
e = f("button"), t = f("span"), i = L(n), l = H(), s = f("span"), s.textContent = "×", o = H(), c = f("span"),
|
|
672
|
+
var C;
|
|
673
|
+
e = f("button"), t = f("span"), i = L(n), l = H(), s = f("span"), s.textContent = "×", o = H(), c = f("span"), d = L(r), p(t, "class", "ButtonBase svelte-1m851ap"), p(s, "class", "ButtonCross svelte-1m851ap"), p(c, "class", "ButtonCount svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = w = /*isDrawing*/
|
|
674
674
|
A[17] || !/*activeGame*/
|
|
675
|
-
((
|
|
675
|
+
((C = A[9].current) != null && C.remainingTimes);
|
|
676
676
|
},
|
|
677
|
-
m(
|
|
678
|
-
R(
|
|
677
|
+
m(C, O) {
|
|
678
|
+
R(C, e, O), a(e, t), a(t, i), a(e, l), a(e, s), a(e, o), a(e, c), a(c, d), b || (v = de(
|
|
679
679
|
e,
|
|
680
680
|
"click",
|
|
681
681
|
/*performDraw*/
|
|
682
682
|
A[27]
|
|
683
683
|
), b = !0);
|
|
684
684
|
},
|
|
685
|
-
p(
|
|
686
|
-
var
|
|
687
|
-
|
|
685
|
+
p(C, O) {
|
|
686
|
+
var V;
|
|
687
|
+
O[0] & /*buttonTextParts*/
|
|
688
688
|
524288 && n !== (n = /*buttonTextParts*/
|
|
689
|
-
|
|
689
|
+
C[19].base + "") && X(i, n), O[0] & /*buttonTextParts*/
|
|
690
690
|
524288 && r !== (r = /*buttonTextParts*/
|
|
691
|
-
|
|
692
|
-
131584 &&
|
|
693
|
-
|
|
694
|
-
((
|
|
691
|
+
C[19].count + "") && X(d, r), O[0] & /*isDrawing, activeGame*/
|
|
692
|
+
131584 && w !== (w = /*isDrawing*/
|
|
693
|
+
C[17] || !/*activeGame*/
|
|
694
|
+
((V = C[9].current) != null && V.remainingTimes)) && (e.disabled = w);
|
|
695
695
|
},
|
|
696
|
-
d(
|
|
697
|
-
|
|
696
|
+
d(C) {
|
|
697
|
+
C && M(e), b = !1, v();
|
|
698
698
|
}
|
|
699
699
|
};
|
|
700
700
|
}
|
|
@@ -728,31 +728,31 @@ function $e(A) {
|
|
|
728
728
|
let e, t, n, i, l, s = (
|
|
729
729
|
/*$_*/
|
|
730
730
|
A[15]("Rules") + ""
|
|
731
|
-
), o, c, r,
|
|
731
|
+
), o, c, r, d, w, b, v = (
|
|
732
732
|
/*$_*/
|
|
733
733
|
A[15]("RulesDescription") + ""
|
|
734
|
-
),
|
|
734
|
+
), C, O, V, P, K, se, pe, ee, u, J = (
|
|
735
735
|
/*$_*/
|
|
736
736
|
A[15]("AvailablePeriod") + ""
|
|
737
|
-
), le, E,
|
|
737
|
+
), le, E, j, T = (
|
|
738
738
|
/*formatDateTime*/
|
|
739
739
|
A[31](
|
|
740
740
|
/*activeGame*/
|
|
741
741
|
(Re = A[9].program.trigger) == null ? void 0 : Re.startTime
|
|
742
742
|
) + ""
|
|
743
|
-
),
|
|
743
|
+
), Z, D, F = (
|
|
744
744
|
/*formatDateTime*/
|
|
745
745
|
A[31](
|
|
746
746
|
/*activeGame*/
|
|
747
747
|
(He = A[9].program.trigger) == null ? void 0 : He.endTime
|
|
748
748
|
) + ""
|
|
749
|
-
), Ae,
|
|
749
|
+
), Ae, N, I, W, y, x, oe, be, ye = (
|
|
750
750
|
/*$_*/
|
|
751
751
|
A[15]("TopRewards") + ""
|
|
752
|
-
), q,
|
|
752
|
+
), q, ge, he, we, ce, _, ke, ve, Y = (
|
|
753
753
|
/*effectiveTermsUrl*/
|
|
754
754
|
A[22] && et(A)
|
|
755
|
-
),
|
|
755
|
+
), G = (
|
|
756
756
|
/*activeGame*/
|
|
757
757
|
((ze = (Te = (Qe = A[9]) == null ? void 0 : Qe.program) == null ? void 0 : Te.trigger) == null ? void 0 : ze.periods) && tt(A)
|
|
758
758
|
), S = (
|
|
@@ -761,56 +761,56 @@ function $e(A) {
|
|
|
761
761
|
);
|
|
762
762
|
return {
|
|
763
763
|
c() {
|
|
764
|
-
e = f("div"), t = f("div"), n = f("div"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"),
|
|
764
|
+
e = f("div"), t = f("div"), n = f("div"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"), d = H(), w = f("div"), b = f("div"), C = L(v), O = H(), Y && Y.c(), V = H(), P = f("div"), K = f("div"), se = f("span"), pe = H(), ee = f("div"), u = f("strong"), le = L(J), E = H(), j = f("span"), Z = L(T), D = L(" ~ "), Ae = L(F), N = H(), G && G.c(), I = H(), W = f("div"), y = f("span"), x = H(), oe = f("div"), be = f("strong"), q = L(ye), ge = H(), he = f("span"), S && S.c(), p(n, "class", "HeaderPlaceholder svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(r, "type", "button"), p(r, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameDescription svelte-1m851ap"), p(se, "class", "Icon History svelte-1m851ap"), p(u, "class", "svelte-1m851ap"), p(j, "class", "svelte-1m851ap"), p(ee, "class", "DetailText"), p(K, "class", "DetailItem svelte-1m851ap"), p(y, "class", "Icon Cup svelte-1m851ap"), p(be, "class", "svelte-1m851ap"), p(he, "class", "RewardList svelte-1m851ap"), p(oe, "class", "DetailText"), p(W, "class", "DetailItem Rewards svelte-1m851ap"), p(P, "class", "DetailsGrid svelte-1m851ap"), p(w, "class", "LayerContent svelte-1m851ap"), p(e, "class", "ViewLayer RulesLayer svelte-1m851ap"), ue(
|
|
765
765
|
e,
|
|
766
766
|
"Mobile",
|
|
767
767
|
/*mobileView*/
|
|
768
768
|
A[24]
|
|
769
769
|
);
|
|
770
770
|
},
|
|
771
|
-
m(z,
|
|
772
|
-
R(z, e,
|
|
771
|
+
m(z, te) {
|
|
772
|
+
R(z, e, te), a(e, t), a(t, n), a(t, i), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), a(b, C), a(w, O), Y && Y.m(w, null), a(w, V), a(w, P), a(P, K), a(K, se), a(K, pe), a(K, ee), a(ee, u), a(u, le), a(ee, E), a(ee, j), a(j, Z), a(j, D), a(j, Ae), a(P, N), G && G.m(P, null), a(P, I), a(P, W), a(W, y), a(W, x), a(W, oe), a(oe, be), a(be, q), a(oe, ge), a(oe, he), S && S.m(he, null), _ = !0, ke || (ve = de(
|
|
773
773
|
r,
|
|
774
774
|
"click",
|
|
775
775
|
/*click_handler_1*/
|
|
776
776
|
A[38]
|
|
777
777
|
), ke = !0);
|
|
778
778
|
},
|
|
779
|
-
p(z,
|
|
780
|
-
var We, m, g,
|
|
781
|
-
(!
|
|
779
|
+
p(z, te) {
|
|
780
|
+
var We, m, g, Q, k, B;
|
|
781
|
+
(!_ || te[0] & /*$_*/
|
|
782
782
|
32768) && s !== (s = /*$_*/
|
|
783
|
-
z[15]("Rules") + "") && X(o, s), (!
|
|
784
|
-
32768) &&
|
|
785
|
-
z[15]("RulesDescription") + "") && X(
|
|
786
|
-
z[22] ?
|
|
783
|
+
z[15]("Rules") + "") && X(o, s), (!_ || te[0] & /*$_*/
|
|
784
|
+
32768) && v !== (v = /*$_*/
|
|
785
|
+
z[15]("RulesDescription") + "") && X(C, v), /*effectiveTermsUrl*/
|
|
786
|
+
z[22] ? Y ? Y.p(z, te) : (Y = et(z), Y.c(), Y.m(w, V)) : Y && (Y.d(1), Y = null), (!_ || te[0] & /*$_*/
|
|
787
787
|
32768) && J !== (J = /*$_*/
|
|
788
|
-
z[15]("AvailablePeriod") + "") && X(le, J), (!
|
|
788
|
+
z[15]("AvailablePeriod") + "") && X(le, J), (!_ || te[0] & /*activeGame*/
|
|
789
789
|
512) && T !== (T = /*formatDateTime*/
|
|
790
790
|
z[31](
|
|
791
791
|
/*activeGame*/
|
|
792
792
|
(We = z[9].program.trigger) == null ? void 0 : We.startTime
|
|
793
|
-
) + "") && X(
|
|
794
|
-
512) &&
|
|
793
|
+
) + "") && X(Z, T), (!_ || te[0] & /*activeGame*/
|
|
794
|
+
512) && F !== (F = /*formatDateTime*/
|
|
795
795
|
z[31](
|
|
796
796
|
/*activeGame*/
|
|
797
797
|
(m = z[9].program.trigger) == null ? void 0 : m.endTime
|
|
798
|
-
) + "") && X(Ae,
|
|
799
|
-
(
|
|
798
|
+
) + "") && X(Ae, F), /*activeGame*/
|
|
799
|
+
(k = (Q = (g = z[9]) == null ? void 0 : g.program) == null ? void 0 : Q.trigger) != null && k.periods ? G ? G.p(z, te) : (G = tt(z), G.c(), G.m(P, I)) : G && (G.d(1), G = null), (!_ || te[0] & /*$_*/
|
|
800
800
|
32768) && ye !== (ye = /*$_*/
|
|
801
801
|
z[15]("TopRewards") + "") && X(q, ye), /*activeGame*/
|
|
802
|
-
(
|
|
802
|
+
(B = z[9].program.wheelOfFortune) != null && B.partitions ? S ? S.p(z, te) : (S = nt(z), S.c(), S.m(he, null)) : S && (S.d(1), S = null);
|
|
803
803
|
},
|
|
804
804
|
i(z) {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
}),
|
|
805
|
+
_ || (z && Ee(() => {
|
|
806
|
+
_ && (ce && ce.end(1), we = Fe(e, xe, { y: "100%", duration: 400 }), we.start());
|
|
807
|
+
}), _ = !0);
|
|
808
808
|
},
|
|
809
809
|
o(z) {
|
|
810
|
-
|
|
810
|
+
we && we.invalidate(), z && (ce = gt(e, xe, { y: "100%", duration: 400 })), _ = !1;
|
|
811
811
|
},
|
|
812
812
|
d(z) {
|
|
813
|
-
z && M(e),
|
|
813
|
+
z && M(e), Y && Y.d(), G && G.d(), S && S.d(), z && ce && ce.end(), ke = !1, ve();
|
|
814
814
|
}
|
|
815
815
|
};
|
|
816
816
|
}
|
|
@@ -848,7 +848,7 @@ function et(A) {
|
|
|
848
848
|
};
|
|
849
849
|
}
|
|
850
850
|
function tt(A) {
|
|
851
|
-
let e, t =
|
|
851
|
+
let e, t = je(
|
|
852
852
|
/*activeGame*/
|
|
853
853
|
A[9].program.trigger.periods
|
|
854
854
|
), n = [];
|
|
@@ -868,7 +868,7 @@ function tt(A) {
|
|
|
868
868
|
p(i, l) {
|
|
869
869
|
if (l[0] & /*getRecurrenceText, activeGame, $_*/
|
|
870
870
|
33587712) {
|
|
871
|
-
t =
|
|
871
|
+
t = je(
|
|
872
872
|
/*activeGame*/
|
|
873
873
|
i[9].program.trigger.periods
|
|
874
874
|
);
|
|
@@ -891,37 +891,37 @@ function At(A) {
|
|
|
891
891
|
let e, t, n, i, l, s = (
|
|
892
892
|
/*$_*/
|
|
893
893
|
A[15]("Recurrence") + ""
|
|
894
|
-
), o, c, r,
|
|
894
|
+
), o, c, r, d = (
|
|
895
895
|
/*getRecurrenceText*/
|
|
896
896
|
A[25](
|
|
897
897
|
/*period*/
|
|
898
898
|
A[60]
|
|
899
899
|
) + ""
|
|
900
|
-
),
|
|
900
|
+
), w, b;
|
|
901
901
|
return {
|
|
902
902
|
c() {
|
|
903
|
-
e = f("div"), t = f("span"), n = H(), i = f("div"), l = f("strong"), o = L(s), c = H(), r = f("span"),
|
|
903
|
+
e = f("div"), t = f("span"), n = H(), i = f("div"), l = f("strong"), o = L(s), c = H(), r = f("span"), w = L(d), b = H(), p(t, "class", "Icon History svelte-1m851ap"), p(l, "class", "svelte-1m851ap"), p(r, "class", "svelte-1m851ap"), p(i, "class", "DetailText"), p(e, "class", "DetailItem svelte-1m851ap");
|
|
904
904
|
},
|
|
905
|
-
m(
|
|
906
|
-
R(
|
|
905
|
+
m(v, C) {
|
|
906
|
+
R(v, e, C), a(e, t), a(e, n), a(e, i), a(i, l), a(l, o), a(i, c), a(i, r), a(r, w), a(e, b);
|
|
907
907
|
},
|
|
908
|
-
p(
|
|
909
|
-
|
|
908
|
+
p(v, C) {
|
|
909
|
+
C[0] & /*$_*/
|
|
910
910
|
32768 && s !== (s = /*$_*/
|
|
911
|
-
|
|
912
|
-
512 &&
|
|
913
|
-
|
|
911
|
+
v[15]("Recurrence") + "") && X(o, s), C[0] & /*activeGame*/
|
|
912
|
+
512 && d !== (d = /*getRecurrenceText*/
|
|
913
|
+
v[25](
|
|
914
914
|
/*period*/
|
|
915
|
-
|
|
916
|
-
) + "") && X(
|
|
915
|
+
v[60]
|
|
916
|
+
) + "") && X(w, d);
|
|
917
917
|
},
|
|
918
|
-
d(
|
|
919
|
-
|
|
918
|
+
d(v) {
|
|
919
|
+
v && M(e);
|
|
920
920
|
}
|
|
921
921
|
};
|
|
922
922
|
}
|
|
923
923
|
function nt(A) {
|
|
924
|
-
let e, t =
|
|
924
|
+
let e, t = je(
|
|
925
925
|
/*activeGame*/
|
|
926
926
|
A[9].program.wheelOfFortune.partitions
|
|
927
927
|
), n = [];
|
|
@@ -941,7 +941,7 @@ function nt(A) {
|
|
|
941
941
|
p(i, l) {
|
|
942
942
|
if (l[0] & /*activeGame, lang*/
|
|
943
943
|
516) {
|
|
944
|
-
t =
|
|
944
|
+
t = je(
|
|
945
945
|
/*activeGame*/
|
|
946
946
|
i[9].program.wheelOfFortune.partitions
|
|
947
947
|
);
|
|
@@ -964,7 +964,7 @@ function $t(A) {
|
|
|
964
964
|
let e, t;
|
|
965
965
|
return {
|
|
966
966
|
c() {
|
|
967
|
-
e = f("img"), p(e, "class", "RewardIcon svelte-1m851ap"),
|
|
967
|
+
e = f("img"), p(e, "class", "RewardIcon svelte-1m851ap"), Ie(e.src, t = /*partition*/
|
|
968
968
|
A[57].image1[
|
|
969
969
|
/*lang*/
|
|
970
970
|
A[2]
|
|
@@ -976,7 +976,7 @@ function $t(A) {
|
|
|
976
976
|
},
|
|
977
977
|
p(n, i) {
|
|
978
978
|
i[0] & /*activeGame, lang*/
|
|
979
|
-
516 && !
|
|
979
|
+
516 && !Ie(e.src, t = /*partition*/
|
|
980
980
|
n[57].image1[
|
|
981
981
|
/*lang*/
|
|
982
982
|
n[2]
|
|
@@ -1093,7 +1093,7 @@ function tA(A) {
|
|
|
1093
1093
|
/*viewData*/
|
|
1094
1094
|
A[20].key
|
|
1095
1095
|
), n, i, l = ot(A);
|
|
1096
|
-
function s(r,
|
|
1096
|
+
function s(r, d) {
|
|
1097
1097
|
return (
|
|
1098
1098
|
/*messageMode*/
|
|
1099
1099
|
r[12] === "gift" ? iA : nA
|
|
@@ -1102,32 +1102,32 @@ function tA(A) {
|
|
|
1102
1102
|
let o = s(A), c = o(A);
|
|
1103
1103
|
return {
|
|
1104
1104
|
c() {
|
|
1105
|
-
e = f("div"), l.c(), n = H(), i = f("div"), c.c(), p(e, "class", "ViewDataContainer svelte-1m851ap"),
|
|
1105
|
+
e = f("div"), l.c(), n = H(), i = f("div"), c.c(), p(e, "class", "ViewDataContainer svelte-1m851ap"), ue(
|
|
1106
1106
|
e,
|
|
1107
1107
|
"shifted",
|
|
1108
1108
|
/*internalMode*/
|
|
1109
1109
|
A[13] === "confirmReject"
|
|
1110
|
-
), p(i, "class", "ButtonGroup svelte-1m851ap"),
|
|
1110
|
+
), p(i, "class", "ButtonGroup svelte-1m851ap"), ue(
|
|
1111
1111
|
i,
|
|
1112
1112
|
"wide-buttons",
|
|
1113
1113
|
/*internalMode*/
|
|
1114
1114
|
A[13] === "confirmReject"
|
|
1115
1115
|
);
|
|
1116
1116
|
},
|
|
1117
|
-
m(r,
|
|
1118
|
-
R(r, e,
|
|
1117
|
+
m(r, d) {
|
|
1118
|
+
R(r, e, d), l.m(e, null), R(r, n, d), R(r, i, d), c.m(i, null);
|
|
1119
1119
|
},
|
|
1120
|
-
p(r,
|
|
1121
|
-
|
|
1120
|
+
p(r, d) {
|
|
1121
|
+
d[0] & /*viewData*/
|
|
1122
1122
|
1048576 && Pe(t, t = /*viewData*/
|
|
1123
|
-
r[20].key) ? (ft(), ut(l, 1, 1, Xe), dt(), l = ot(r), l.c(), Me(l, 1), l.m(e, null)) : l.p(r,
|
|
1124
|
-
8192 &&
|
|
1123
|
+
r[20].key) ? (ft(), ut(l, 1, 1, Xe), dt(), l = ot(r), l.c(), Me(l, 1), l.m(e, null)) : l.p(r, d), d[0] & /*internalMode*/
|
|
1124
|
+
8192 && ue(
|
|
1125
1125
|
e,
|
|
1126
1126
|
"shifted",
|
|
1127
1127
|
/*internalMode*/
|
|
1128
1128
|
r[13] === "confirmReject"
|
|
1129
|
-
), o === (o = s(r)) && c ? c.p(r,
|
|
1130
|
-
8192 &&
|
|
1129
|
+
), o === (o = s(r)) && c ? c.p(r, d) : (c.d(1), c = o(r), c && (c.c(), c.m(i, null))), d[0] & /*internalMode*/
|
|
1130
|
+
8192 && ue(
|
|
1131
1131
|
i,
|
|
1132
1132
|
"wide-buttons",
|
|
1133
1133
|
/*internalMode*/
|
|
@@ -1158,7 +1158,7 @@ function lt(A) {
|
|
|
1158
1158
|
let e, t, n;
|
|
1159
1159
|
return {
|
|
1160
1160
|
c() {
|
|
1161
|
-
e = f("div"), t = f("img"),
|
|
1161
|
+
e = f("div"), t = f("img"), Ie(t.src, n = /*viewData*/
|
|
1162
1162
|
A[20].image) || p(t, "src", n), p(t, "alt", ""), p(t, "class", "GiftImage svelte-1m851ap"), p(e, "class", "ImageWrapper svelte-1m851ap");
|
|
1163
1163
|
},
|
|
1164
1164
|
m(i, l) {
|
|
@@ -1166,7 +1166,7 @@ function lt(A) {
|
|
|
1166
1166
|
},
|
|
1167
1167
|
p(i, l) {
|
|
1168
1168
|
l[0] & /*viewData*/
|
|
1169
|
-
1048576 && !
|
|
1169
|
+
1048576 && !Ie(t.src, n = /*viewData*/
|
|
1170
1170
|
i[20].image) && p(t, "src", n);
|
|
1171
1171
|
},
|
|
1172
1172
|
d(i) {
|
|
@@ -1233,17 +1233,17 @@ function ot(A) {
|
|
|
1233
1233
|
c() {
|
|
1234
1234
|
e = f("div"), o && o.c(), t = H(), c && c.c(), n = H(), r && r.c(), p(e, "class", "ViewDataContent svelte-1m851ap");
|
|
1235
1235
|
},
|
|
1236
|
-
m(
|
|
1237
|
-
R(
|
|
1236
|
+
m(d, w) {
|
|
1237
|
+
R(d, e, w), o && o.m(e, null), a(e, t), c && c.m(e, null), a(e, n), r && r.m(e, null), s = !0;
|
|
1238
1238
|
},
|
|
1239
|
-
p(
|
|
1240
|
-
A =
|
|
1241
|
-
A[20].image ? o ? o.p(A,
|
|
1242
|
-
A[20].title ? c ? c.p(A,
|
|
1243
|
-
A[20].text ? r ? r.p(A,
|
|
1239
|
+
p(d, w) {
|
|
1240
|
+
A = d, /*viewData*/
|
|
1241
|
+
A[20].image ? o ? o.p(A, w) : (o = lt(A), o.c(), o.m(e, t)) : o && (o.d(1), o = null), /*viewData*/
|
|
1242
|
+
A[20].title ? c ? c.p(A, w) : (c = rt(A), c.c(), c.m(e, n)) : c && (c.d(1), c = null), /*viewData*/
|
|
1243
|
+
A[20].text ? r ? r.p(A, w) : (r = at(A), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
|
|
1244
1244
|
},
|
|
1245
|
-
i(
|
|
1246
|
-
s || (
|
|
1245
|
+
i(d) {
|
|
1246
|
+
s || (d && Ee(() => {
|
|
1247
1247
|
s && (l && l.end(1), i = Fe(e, xe, {
|
|
1248
1248
|
y: (
|
|
1249
1249
|
/*internalMode*/
|
|
@@ -1254,8 +1254,8 @@ function ot(A) {
|
|
|
1254
1254
|
}), i.start());
|
|
1255
1255
|
}), s = !0);
|
|
1256
1256
|
},
|
|
1257
|
-
o(
|
|
1258
|
-
i && i.invalidate(),
|
|
1257
|
+
o(d) {
|
|
1258
|
+
i && i.invalidate(), d && (l = gt(e, xe, {
|
|
1259
1259
|
y: (
|
|
1260
1260
|
/*internalMode*/
|
|
1261
1261
|
A[13] === "confirmReject" ? -10 : 10
|
|
@@ -1263,8 +1263,8 @@ function ot(A) {
|
|
|
1263
1263
|
duration: 150
|
|
1264
1264
|
})), s = !1;
|
|
1265
1265
|
},
|
|
1266
|
-
d(
|
|
1267
|
-
|
|
1266
|
+
d(d) {
|
|
1267
|
+
d && M(e), o && o.d(), c && c.d(), r && r.d(), d && l && l.end();
|
|
1268
1268
|
}
|
|
1269
1269
|
};
|
|
1270
1270
|
}
|
|
@@ -1285,7 +1285,7 @@ function nA(A) {
|
|
|
1285
1285
|
e = f("button"), s.c(), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap");
|
|
1286
1286
|
},
|
|
1287
1287
|
m(o, c) {
|
|
1288
|
-
R(o, e, c), s.m(e, null), t || (n =
|
|
1288
|
+
R(o, e, c), s.m(e, null), t || (n = de(
|
|
1289
1289
|
e,
|
|
1290
1290
|
"click",
|
|
1291
1291
|
/*click_handler_6*/
|
|
@@ -1307,16 +1307,16 @@ function iA(A) {
|
|
|
1307
1307
|
), i, l, s, o = (
|
|
1308
1308
|
/*internalMode*/
|
|
1309
1309
|
A[13]
|
|
1310
|
-
), c, r,
|
|
1310
|
+
), c, r, d = mt(A), w = pt(A);
|
|
1311
1311
|
return {
|
|
1312
1312
|
c() {
|
|
1313
|
-
e = f("button"), t = f("div"),
|
|
1313
|
+
e = f("button"), t = f("div"), d.c(), i = H(), l = f("button"), s = f("div"), w.c(), p(t, "class", "ButtonTextWrapper svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = /*internalLoading*/
|
|
1314
1314
|
A[16], p(s, "class", "ButtonTextWrapper svelte-1m851ap"), p(l, "type", "button"), p(l, "class", "ActionButton outline svelte-1m851ap"), l.disabled = /*internalLoading*/
|
|
1315
1315
|
A[16];
|
|
1316
1316
|
},
|
|
1317
|
-
m(b,
|
|
1318
|
-
R(b, e,
|
|
1319
|
-
|
|
1317
|
+
m(b, v) {
|
|
1318
|
+
R(b, e, v), a(e, t), d.m(t, null), R(b, i, v), R(b, l, v), a(l, s), w.m(s, null), c || (r = [
|
|
1319
|
+
de(e, "click", function() {
|
|
1320
1320
|
Ge(
|
|
1321
1321
|
/*internalMode*/
|
|
1322
1322
|
A[13] === "confirmReject" ? (
|
|
@@ -1335,7 +1335,7 @@ function iA(A) {
|
|
|
1335
1335
|
A[40]
|
|
1336
1336
|
)).apply(this, arguments);
|
|
1337
1337
|
}),
|
|
1338
|
-
|
|
1338
|
+
de(l, "click", function() {
|
|
1339
1339
|
Ge(
|
|
1340
1340
|
/*internalMode*/
|
|
1341
1341
|
A[13] === "confirmReject" ? (
|
|
@@ -1356,19 +1356,19 @@ function iA(A) {
|
|
|
1356
1356
|
})
|
|
1357
1357
|
], c = !0);
|
|
1358
1358
|
},
|
|
1359
|
-
p(b,
|
|
1360
|
-
A = b,
|
|
1359
|
+
p(b, v) {
|
|
1360
|
+
A = b, v[0] & /*internalMode*/
|
|
1361
1361
|
8192 && Pe(n, n = /*internalMode*/
|
|
1362
|
-
A[13]) ? (
|
|
1362
|
+
A[13]) ? (d.d(1), d = mt(A), d.c(), d.m(t, null)) : d.p(A, v), v[0] & /*internalLoading*/
|
|
1363
1363
|
65536 && (e.disabled = /*internalLoading*/
|
|
1364
|
-
A[16]),
|
|
1364
|
+
A[16]), v[0] & /*internalMode*/
|
|
1365
1365
|
8192 && Pe(o, o = /*internalMode*/
|
|
1366
|
-
A[13]) ? (
|
|
1366
|
+
A[13]) ? (w.d(1), w = pt(A), w.c(), w.m(s, null)) : w.p(A, v), v[0] & /*internalLoading*/
|
|
1367
1367
|
65536 && (l.disabled = /*internalLoading*/
|
|
1368
1368
|
A[16]);
|
|
1369
1369
|
},
|
|
1370
1370
|
d(b) {
|
|
1371
|
-
b && (M(e), M(i), M(l)),
|
|
1371
|
+
b && (M(e), M(i), M(l)), d.d(b), w.d(b), c = !1, ct(r);
|
|
1372
1372
|
}
|
|
1373
1373
|
};
|
|
1374
1374
|
}
|
|
@@ -1540,17 +1540,17 @@ let oA = null;
|
|
|
1540
1540
|
function mA(A, e, t) {
|
|
1541
1541
|
let n, i, l, s, o, c, r;
|
|
1542
1542
|
Rt(A, xt, (m) => t(15, r = m));
|
|
1543
|
-
let { data:
|
|
1544
|
-
const le =
|
|
1545
|
-
let E = !1,
|
|
1543
|
+
let { data: d = null } = e, { endpoint: w = "" } = e, { session: b = "" } = e, { lang: v = "en" } = e, { clientstyling: C = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: V = "" } = e, { mbsource: P = "" } = e, { twostepdraw: K = "false" } = e, { luckywheelsize: se = 324 } = e, { luckywheelmobilesize: pe = 240 } = e, { programs: ee = [] } = e, u = null, J;
|
|
1544
|
+
const le = It(window.navigator.userAgent);
|
|
1545
|
+
let E = !1, j = "", T = null, Z = !1, D = !1, F = "", Ae = "", N = !1, I = Date.now(), W = null;
|
|
1546
1546
|
const y = (m, g) => {
|
|
1547
1547
|
if (!m)
|
|
1548
1548
|
return "";
|
|
1549
|
-
const
|
|
1550
|
-
if (
|
|
1549
|
+
const k = new Date(m).getTime() - g;
|
|
1550
|
+
if (k <= 0)
|
|
1551
1551
|
return "00d:00h:00m";
|
|
1552
|
-
const
|
|
1553
|
-
return `${
|
|
1552
|
+
const B = Math.floor(k / (1e3 * 60 * 60 * 24)), me = Math.floor(k % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), re = Math.floor(k % (1e3 * 60 * 60) / (1e3 * 60));
|
|
1553
|
+
return `${B.toString().padStart(2, "0")}d:${me.toString().padStart(2, "0")}h:${re.toString().padStart(2, "0")}m`;
|
|
1554
1554
|
}, x = (m) => [
|
|
1555
1555
|
"",
|
|
1556
1556
|
r("Monday"),
|
|
@@ -1561,53 +1561,53 @@ function mA(A, e, t) {
|
|
|
1561
1561
|
r("Saturday"),
|
|
1562
1562
|
r("Sunday")
|
|
1563
1563
|
][m] || "", oe = (m) => {
|
|
1564
|
-
const g = ["th", "st", "nd", "rd"],
|
|
1565
|
-
return m + (g[(
|
|
1564
|
+
const g = ["th", "st", "nd", "rd"], Q = m % 100;
|
|
1565
|
+
return m + (g[(Q - 20) % 10] || g[Q] || g[0]);
|
|
1566
1566
|
}, be = (m) => {
|
|
1567
1567
|
if (!m)
|
|
1568
1568
|
return "";
|
|
1569
|
-
const { recurrenceType: g, frequency:
|
|
1570
|
-
let
|
|
1571
|
-
const Ce = r("Every"), ne =
|
|
1569
|
+
const { recurrenceType: g, frequency: Q, dayFrom: k, dayTo: B, maxImplicitTickets: me, startTime: re, endTime: ae } = m, U = me || 0, Be = U > 1 ? r("Spins") : r("Spin");
|
|
1570
|
+
let $ = `${U} ${Be}`;
|
|
1571
|
+
const Ce = r("Every"), ne = Q || 1;
|
|
1572
1572
|
switch (g == null ? void 0 : g.toLowerCase()) {
|
|
1573
1573
|
case "single":
|
|
1574
|
-
|
|
1574
|
+
$ += ` ${r("InThisPeriod")}`;
|
|
1575
1575
|
break;
|
|
1576
1576
|
case "minute":
|
|
1577
|
-
const
|
|
1578
|
-
|
|
1577
|
+
const wt = ne > 1 ? r("Minutes") : r("Minute");
|
|
1578
|
+
$ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${wt}`;
|
|
1579
1579
|
break;
|
|
1580
1580
|
case "day":
|
|
1581
|
-
const
|
|
1582
|
-
|
|
1581
|
+
const vt = ne > 1 ? r("Days") : r("Day");
|
|
1582
|
+
$ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${vt}`;
|
|
1583
1583
|
break;
|
|
1584
1584
|
case "week":
|
|
1585
|
-
if (
|
|
1586
|
-
|
|
1585
|
+
if (k && B)
|
|
1586
|
+
k === B ? $ += ` ${Ce} ${x(k)}` : $ += ` ${r("From")} ${x(k)} ${r("To")} ${x(B)} ${r("EveryWeek")}`;
|
|
1587
1587
|
else {
|
|
1588
1588
|
const Ze = ne > 1 ? r("Weeks") : r("Week");
|
|
1589
|
-
|
|
1589
|
+
$ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${Ze}`;
|
|
1590
1590
|
}
|
|
1591
1591
|
break;
|
|
1592
1592
|
case "month":
|
|
1593
|
-
if (
|
|
1594
|
-
|
|
1593
|
+
if (k && B)
|
|
1594
|
+
k === B ? $ += ` ${Ce} ${oe(k)} ${r("EachMonth")}` : $ += ` ${r("From")} ${oe(k)} ${r("To")} ${oe(B)} ${r("EachMonth")}`;
|
|
1595
1595
|
else {
|
|
1596
1596
|
const Ze = ne > 1 ? r("Months") : r("Month");
|
|
1597
|
-
|
|
1597
|
+
$ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${Ze}`;
|
|
1598
1598
|
}
|
|
1599
1599
|
break;
|
|
1600
1600
|
default:
|
|
1601
|
-
|
|
1601
|
+
$ += ` ${r("InThisPeriod")}`;
|
|
1602
1602
|
}
|
|
1603
|
-
return `${
|
|
1603
|
+
return `${$} [${S(re)} ~ ${S(ae)}]`;
|
|
1604
1604
|
};
|
|
1605
1605
|
Nt();
|
|
1606
|
-
const ye = (m) =>
|
|
1606
|
+
const ye = (m) => fe(this, null, function* () {
|
|
1607
1607
|
try {
|
|
1608
|
-
const
|
|
1609
|
-
Object.keys(
|
|
1610
|
-
Se(
|
|
1608
|
+
const Q = yield (yield fetch(m)).json();
|
|
1609
|
+
Object.keys(Q).forEach((k) => {
|
|
1610
|
+
Se(k, Q[k]);
|
|
1611
1611
|
});
|
|
1612
1612
|
} catch (g) {
|
|
1613
1613
|
console.error("[PrizeDetails] Failed to load translations", g);
|
|
@@ -1617,10 +1617,10 @@ function mA(A, e, t) {
|
|
|
1617
1617
|
(function(m) {
|
|
1618
1618
|
m[m.Assign = 0] = "Assign", m[m.Reward = 1] = "Reward", m[m.Reject = 2] = "Reject";
|
|
1619
1619
|
})(q || (q = {}));
|
|
1620
|
-
const
|
|
1621
|
-
const
|
|
1622
|
-
g.params && Object.keys(g.params).forEach((ae) =>
|
|
1623
|
-
const re = yield (yield fetch(
|
|
1620
|
+
const ge = (Q, ...k) => fe(this, [Q, ...k], function* (m, g = {}) {
|
|
1621
|
+
const B = new URL(w + "/v1" + m);
|
|
1622
|
+
g.params && Object.keys(g.params).forEach((ae) => B.searchParams.append(ae, g.params[ae]));
|
|
1623
|
+
const re = yield (yield fetch(B.toString(), {
|
|
1624
1624
|
method: g.method || "GET",
|
|
1625
1625
|
headers: Le(Le({
|
|
1626
1626
|
"Content-Type": "application/json",
|
|
@@ -1633,50 +1633,60 @@ function mA(A, e, t) {
|
|
|
1633
1633
|
} catch (ae) {
|
|
1634
1634
|
return re;
|
|
1635
1635
|
}
|
|
1636
|
-
}),
|
|
1636
|
+
}), he = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (m) => {
|
|
1637
1637
|
const g = Math.random() * 16 | 0;
|
|
1638
1638
|
return (m === "x" ? g : g & 3 | 8).toString(16);
|
|
1639
|
-
}),
|
|
1640
|
-
var
|
|
1641
|
-
if (!
|
|
1639
|
+
}), we = () => fe(this, null, function* () {
|
|
1640
|
+
var Q;
|
|
1641
|
+
if (!u)
|
|
1642
1642
|
return;
|
|
1643
|
-
const m = yield
|
|
1643
|
+
const m = yield ge("/wof/remainingTimes", {
|
|
1644
1644
|
params: {
|
|
1645
|
-
filter: `ProgramId[]=${
|
|
1645
|
+
filter: `ProgramId[]=${u.program.id}`
|
|
1646
1646
|
}
|
|
1647
1647
|
});
|
|
1648
1648
|
let g = 0;
|
|
1649
|
-
if (((
|
|
1650
|
-
const
|
|
1651
|
-
|
|
1649
|
+
if (((Q = m == null ? void 0 : m.items) == null ? void 0 : Q.length) > 0) {
|
|
1650
|
+
const k = m.items.find((B) => B.programId === u.program.id);
|
|
1651
|
+
k && (g = +k.remainingTimes || 0);
|
|
1652
1652
|
}
|
|
1653
|
-
t(9,
|
|
1654
|
-
|
|
1655
|
-
|
|
1653
|
+
t(9, u.current.remainingTimes = g, u), t(9, u = Le({}, u)), t(32, d = JSON.stringify(u)), window.postMessage(
|
|
1654
|
+
{
|
|
1655
|
+
type: "PrizeGameRemainingTimesUpdated",
|
|
1656
|
+
data: u
|
|
1657
|
+
},
|
|
1658
|
+
"*"
|
|
1659
|
+
);
|
|
1660
|
+
}), ce = () => fe(this, null, function* () {
|
|
1661
|
+
if (!u)
|
|
1656
1662
|
return;
|
|
1657
|
-
let m =
|
|
1658
|
-
if (!m
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1663
|
+
let m = u.next;
|
|
1664
|
+
if (!m) {
|
|
1665
|
+
let g = ee;
|
|
1666
|
+
if (!g || g.length === 0)
|
|
1667
|
+
try {
|
|
1668
|
+
const k = yield ge("/wof/lotteries");
|
|
1669
|
+
g = (k == null ? void 0 : k.items) || [];
|
|
1670
|
+
} catch (k) {
|
|
1671
|
+
console.error("[PrizeDetails] Check next program failed", k);
|
|
1672
|
+
}
|
|
1673
|
+
const Q = g == null ? void 0 : g.find((k) => k.program.id === u.program.id);
|
|
1674
|
+
m = Q == null ? void 0 : Q.next;
|
|
1675
|
+
}
|
|
1676
|
+
m ? (t(12, j = "show-next"), t(35, T = {
|
|
1677
|
+
startTime: S(m.startTime),
|
|
1678
|
+
name: u.program.name[v] || u.program.name["*"]
|
|
1679
|
+
})) : t(12, j = "no-next"), t(11, E = !0);
|
|
1680
|
+
}), _ = () => fe(this, null, function* () {
|
|
1671
1681
|
var m;
|
|
1672
|
-
if (!(!
|
|
1673
|
-
Ae =
|
|
1682
|
+
if (!(!u || Z || D || E) && ((m = u.current) == null ? void 0 : m.remainingTimes) !== 0) {
|
|
1683
|
+
Ae = he(), t(16, Z = !0), t(17, D = !0), t(18, N = !1), window.postMessage({ type: "PrizeGameStartAnimation" }, "*");
|
|
1674
1684
|
try {
|
|
1675
|
-
const g =
|
|
1685
|
+
const g = K === "true" ? q.Reward : q.Assign, Q = yield ge(`/wof/draw/${u.program.id}`, {
|
|
1676
1686
|
method: "PUT",
|
|
1677
1687
|
body: JSON.stringify({ guid: Ae, action: g })
|
|
1678
1688
|
});
|
|
1679
|
-
ke(
|
|
1689
|
+
yield ke(Q, g);
|
|
1680
1690
|
} catch (g) {
|
|
1681
1691
|
window.postMessage(
|
|
1682
1692
|
{
|
|
@@ -1684,22 +1694,22 @@ function mA(A, e, t) {
|
|
|
1684
1694
|
data: { error: !0 }
|
|
1685
1695
|
},
|
|
1686
1696
|
"*"
|
|
1687
|
-
), t(12,
|
|
1697
|
+
), t(12, j = "error"), t(11, E = !0), t(16, Z = !1), t(17, D = !1);
|
|
1688
1698
|
}
|
|
1689
1699
|
}
|
|
1690
|
-
}), ke = (m, g) => {
|
|
1691
|
-
var
|
|
1692
|
-
if (
|
|
1700
|
+
}), ke = (m, g) => fe(this, null, function* () {
|
|
1701
|
+
var Q, k;
|
|
1702
|
+
if (((Q = m == null ? void 0 : m.item) == null ? void 0 : Q.state) === "fulfilled" || ((k = m == null ? void 0 : m.item) == null ? void 0 : k.state) === "drawn") {
|
|
1693
1703
|
window.postMessage({ type: "PrizeGameResult", data: m }, "*");
|
|
1694
|
-
const
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1704
|
+
const B = u.program.wheelOfFortune.partitions[m.item.result.wheelOfFortunePartitionIndex], me = (B == null ? void 0 : B.prizeText[v]) || (B == null ? void 0 : B.prizeText["*"]) || "", re = (B == null ? void 0 : B.name[v]) || (B == null ? void 0 : B.name["*"]) || "", ae = (B == null ? void 0 : B.prizeImage[v]) || (B == null ? void 0 : B.prizeImage["*"]) || "", U = m.item.result.outcomes.some((Be) => {
|
|
1705
|
+
var $;
|
|
1706
|
+
return (($ = Be.action) == null ? void 0 : $.type) === "noprize";
|
|
1707
|
+
});
|
|
1708
|
+
U ? (t(12, j = "noprize"), t(35, T = { text: me, image: ae })) : (g === q.Assign && j === "gift" ? t(12, j = "success") : t(12, j = g === q.Reward ? "gift" : "success-draw"), t(35, T = {
|
|
1699
1709
|
text: me,
|
|
1700
1710
|
image: ae,
|
|
1701
1711
|
bold: re
|
|
1702
|
-
})), t(13,
|
|
1712
|
+
})), t(13, F = ""), (g !== q.Reward || U) && (yield we());
|
|
1703
1713
|
} else
|
|
1704
1714
|
window.postMessage(
|
|
1705
1715
|
{
|
|
@@ -1707,43 +1717,44 @@ function mA(A, e, t) {
|
|
|
1707
1717
|
data: { error: !0 }
|
|
1708
1718
|
},
|
|
1709
1719
|
"*"
|
|
1710
|
-
), t(12,
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1720
|
+
), t(12, j = "error"), t(11, E = !0), t(17, D = !1);
|
|
1721
|
+
t(16, Z = !1);
|
|
1722
|
+
}), ve = (m) => fe(this, null, function* () {
|
|
1723
|
+
var Q;
|
|
1724
|
+
if (!u || Z)
|
|
1714
1725
|
return;
|
|
1715
|
-
t(16,
|
|
1726
|
+
t(16, Z = !0);
|
|
1716
1727
|
const g = m === "Assign" ? q.Assign : q.Reject;
|
|
1717
1728
|
try {
|
|
1718
|
-
const
|
|
1729
|
+
const k = yield ge(`/wof/draw/${u.program.id}`, {
|
|
1719
1730
|
method: "PUT",
|
|
1720
1731
|
body: JSON.stringify({ guid: Ae, action: g })
|
|
1721
1732
|
});
|
|
1722
|
-
g === q.Assign ? ke(
|
|
1723
|
-
} catch (
|
|
1733
|
+
g === q.Assign ? yield ke(k, q.Assign) : (yield we(), t(17, D = !1), t(16, Z = !1), ((Q = u.current) == null ? void 0 : Q.remainingTimes) === 0 ? (t(13, F = ""), ce()) : (t(11, E = !1), t(13, F = ""), window.postMessage({ type: "PrizeResultClose" }, "*")));
|
|
1734
|
+
} catch (k) {
|
|
1724
1735
|
window.postMessage(
|
|
1725
1736
|
{
|
|
1726
1737
|
type: "PrizeGameResult",
|
|
1727
1738
|
data: { error: !0 }
|
|
1728
1739
|
},
|
|
1729
1740
|
"*"
|
|
1730
|
-
), t(12,
|
|
1741
|
+
), t(12, j = "error"), t(11, E = !0), t(16, Z = !1), t(17, D = !1);
|
|
1731
1742
|
}
|
|
1732
|
-
}),
|
|
1733
|
-
const { type: g, action:
|
|
1734
|
-
g === "PrizeGameRequestDraw" ?
|
|
1743
|
+
}), Y = () => window.postMessage({ type: "BackToList" }, "*"), G = () => window.postMessage({ type: "ClosePrizeEngineDrawer" }, "*"), S = (m) => m ? new Date(m).toISOString().replace("T", " ").substring(0, 19).replace(/-/g, "/") : "", Re = (m) => {
|
|
1744
|
+
const { type: g, action: Q } = m.data;
|
|
1745
|
+
g === "PrizeGameRequestDraw" ? _() : g === "PrizeResultAction" ? ve(Q) : g === "PrizeResultClose" ? (t(11, E = !1), t(17, D = !1), t(13, F = "")) : g === "PrizeGameToggleRules" ? t(18, N = !N) : g === "PrizeGameSpinEnd" && (t(11, E = !0), t(17, D = !1));
|
|
1735
1746
|
};
|
|
1736
1747
|
Ht(() => (W = setInterval(
|
|
1737
1748
|
() => {
|
|
1738
|
-
t(36,
|
|
1749
|
+
t(36, I = Date.now());
|
|
1739
1750
|
},
|
|
1740
1751
|
6e4
|
|
1741
1752
|
), window.addEventListener("message", Re), () => {
|
|
1742
1753
|
window.removeEventListener("message", Re), W && clearInterval(W);
|
|
1743
1754
|
}));
|
|
1744
|
-
const He = () => t(18,
|
|
1755
|
+
const He = () => t(18, N = !0), Qe = () => t(18, N = !1), Te = () => t(13, F = ""), ze = () => ve("Assign"), De = () => ve("Reject"), z = () => t(13, F = "confirmReject"), te = () => {
|
|
1745
1756
|
var m;
|
|
1746
|
-
((m =
|
|
1757
|
+
((m = u == null ? void 0 : u.current) == null ? void 0 : m.remainingTimes) === 0 && ["success", "noprize", "success-draw", "error"].includes(j) ? (t(13, F = ""), ce()) : (t(11, E = !1), t(13, F = ""), window.postMessage({ type: "PrizeResultClose" }, "*"));
|
|
1747
1758
|
};
|
|
1748
1759
|
function We(m) {
|
|
1749
1760
|
Qt[m ? "unshift" : "push"](() => {
|
|
@@ -1751,45 +1762,45 @@ function mA(A, e, t) {
|
|
|
1751
1762
|
});
|
|
1752
1763
|
}
|
|
1753
1764
|
return A.$$set = (m) => {
|
|
1754
|
-
"data" in m && t(32,
|
|
1765
|
+
"data" in m && t(32, d = m.data), "endpoint" in m && t(0, w = m.endpoint), "session" in m && t(1, b = m.session), "lang" in m && t(2, v = m.lang), "clientstyling" in m && t(3, C = m.clientstyling), "clientstylingurl" in m && t(4, O = m.clientstylingurl), "translationurl" in m && t(5, V = m.translationurl), "mbsource" in m && t(6, P = m.mbsource), "twostepdraw" in m && t(33, K = m.twostepdraw), "luckywheelsize" in m && t(7, se = m.luckywheelsize), "luckywheelmobilesize" in m && t(8, pe = m.luckywheelmobilesize), "programs" in m && t(34, ee = m.programs);
|
|
1755
1766
|
}, A.$$.update = () => {
|
|
1756
|
-
var m, g,
|
|
1767
|
+
var m, g, Q, k, B, me, re, ae;
|
|
1757
1768
|
if (A.$$.dirty[1] & /*data*/
|
|
1758
1769
|
2)
|
|
1759
|
-
if (typeof
|
|
1770
|
+
if (typeof d == "string")
|
|
1760
1771
|
try {
|
|
1761
|
-
t(9,
|
|
1762
|
-
} catch (
|
|
1763
|
-
console.error("[PrizeDetails] Parse failed",
|
|
1772
|
+
t(9, u = JSON.parse(d));
|
|
1773
|
+
} catch (U) {
|
|
1774
|
+
console.error("[PrizeDetails] Parse failed", U);
|
|
1764
1775
|
}
|
|
1765
1776
|
else
|
|
1766
|
-
t(9,
|
|
1777
|
+
t(9, u = d);
|
|
1767
1778
|
A.$$.dirty[0] & /*activeGame*/
|
|
1768
1779
|
512 | A.$$.dirty[1] & /*now*/
|
|
1769
|
-
32 && t(23, n = (m =
|
|
1770
|
-
516 && t(22, i = ((
|
|
1771
|
-
32 &&
|
|
1772
|
-
4 &&
|
|
1773
|
-
512 &&
|
|
1774
|
-
Se(
|
|
1780
|
+
32 && t(23, n = (m = u == null ? void 0 : u.current) != null && m.expiryTime ? y(u.current.expiryTime, I) : ""), A.$$.dirty[0] & /*activeGame, lang*/
|
|
1781
|
+
516 && t(22, i = ((Q = (g = u == null ? void 0 : u.program) == null ? void 0 : g.termsUrl) == null ? void 0 : Q[v]) || ((B = (k = u == null ? void 0 : u.program) == null ? void 0 : k.termsUrl) == null ? void 0 : B["*"])), A.$$.dirty[0] & /*translationurl*/
|
|
1782
|
+
32 && V && ye(V), A.$$.dirty[0] & /*lang*/
|
|
1783
|
+
4 && v && Zt(v), A.$$.dirty[0] & /*activeGame*/
|
|
1784
|
+
512 && u != null && u.translations && Object.keys(u.translations).forEach((U) => {
|
|
1785
|
+
Se(U, u.translations[U]);
|
|
1775
1786
|
}), A.$$.dirty[0] & /*clientstyling, rootContainer*/
|
|
1776
|
-
1032 &&
|
|
1777
|
-
1040 &&
|
|
1787
|
+
1032 && C && J && Tt(J, C), A.$$.dirty[0] & /*clientstylingurl, rootContainer*/
|
|
1788
|
+
1040 && O && J && zt(J, O), A.$$.dirty[0] & /*mbsource, rootContainer*/
|
|
1778
1789
|
1088 && P && J && Dt(J, `${P}.Style`, oA), A.$$.dirty[0] & /*activeGame*/
|
|
1779
|
-
512 && t(14, l = (me =
|
|
1780
|
-
512 && t(21, s = Number((ae = (re =
|
|
1790
|
+
512 && t(14, l = (me = u == null ? void 0 : u.program) == null ? void 0 : me.type), A.$$.dirty[0] & /*activeGame*/
|
|
1791
|
+
512 && t(21, s = Number((ae = (re = u == null ? void 0 : u.program) == null ? void 0 : re.metadata) == null ? void 0 : ae.template) || 0), A.$$.dirty[0] & /*isMessageShown, internalMode, $_, messageMode*/
|
|
1781
1792
|
47104 | A.$$.dirty[1] & /*messageValue*/
|
|
1782
1793
|
16 && t(20, o = (() => {
|
|
1783
1794
|
if (!E)
|
|
1784
1795
|
return null;
|
|
1785
|
-
if (
|
|
1796
|
+
if (F === "confirmReject")
|
|
1786
1797
|
return {
|
|
1787
1798
|
key: "confirmReject",
|
|
1788
1799
|
image: Ft,
|
|
1789
1800
|
title: r("AreYouSure"),
|
|
1790
1801
|
text: r("RejectWarningText")
|
|
1791
1802
|
};
|
|
1792
|
-
switch (
|
|
1803
|
+
switch (j) {
|
|
1793
1804
|
case "error":
|
|
1794
1805
|
return {
|
|
1795
1806
|
key: "error",
|
|
@@ -1806,7 +1817,7 @@ function mA(A, e, t) {
|
|
|
1806
1817
|
case "gift":
|
|
1807
1818
|
case "success-draw":
|
|
1808
1819
|
return {
|
|
1809
|
-
key:
|
|
1820
|
+
key: j,
|
|
1810
1821
|
image: (T == null ? void 0 : T.image) || St,
|
|
1811
1822
|
title: r("Congratulation"),
|
|
1812
1823
|
text: (T == null ? void 0 : T.text) || r("Success", {
|
|
@@ -1837,32 +1848,32 @@ function mA(A, e, t) {
|
|
|
1837
1848
|
})()), A.$$.dirty[0] & /*$_, gameType, activeGame*/
|
|
1838
1849
|
49664 && t(19, c = (() => {
|
|
1839
1850
|
var Be;
|
|
1840
|
-
let
|
|
1841
|
-
return l === "wheelOfFortune" ?
|
|
1842
|
-
base:
|
|
1843
|
-
count: ((Be =
|
|
1851
|
+
let U = r("Play");
|
|
1852
|
+
return l === "wheelOfFortune" ? U = r("Spin") : l === "flipCoin" ? U = r("FlipCoin") : l === "mysteryChest" && (U = r("OpenChest")), {
|
|
1853
|
+
base: U,
|
|
1854
|
+
count: ((Be = u == null ? void 0 : u.current) == null ? void 0 : Be.remainingTimes) || 0
|
|
1844
1855
|
};
|
|
1845
1856
|
})());
|
|
1846
1857
|
}, [
|
|
1847
|
-
v,
|
|
1848
|
-
b,
|
|
1849
1858
|
w,
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1859
|
+
b,
|
|
1860
|
+
v,
|
|
1861
|
+
C,
|
|
1862
|
+
O,
|
|
1863
|
+
V,
|
|
1853
1864
|
P,
|
|
1854
1865
|
se,
|
|
1855
1866
|
pe,
|
|
1856
|
-
|
|
1867
|
+
u,
|
|
1857
1868
|
J,
|
|
1858
1869
|
E,
|
|
1859
|
-
|
|
1860
|
-
|
|
1870
|
+
j,
|
|
1871
|
+
F,
|
|
1861
1872
|
l,
|
|
1862
1873
|
r,
|
|
1863
|
-
N,
|
|
1864
|
-
D,
|
|
1865
1874
|
Z,
|
|
1875
|
+
D,
|
|
1876
|
+
N,
|
|
1866
1877
|
c,
|
|
1867
1878
|
o,
|
|
1868
1879
|
s,
|
|
@@ -1871,23 +1882,23 @@ function mA(A, e, t) {
|
|
|
1871
1882
|
le,
|
|
1872
1883
|
be,
|
|
1873
1884
|
ce,
|
|
1874
|
-
|
|
1885
|
+
_,
|
|
1875
1886
|
ve,
|
|
1876
|
-
O,
|
|
1877
1887
|
Y,
|
|
1888
|
+
G,
|
|
1878
1889
|
S,
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1890
|
+
d,
|
|
1891
|
+
K,
|
|
1892
|
+
ee,
|
|
1882
1893
|
T,
|
|
1883
|
-
|
|
1894
|
+
I,
|
|
1884
1895
|
He,
|
|
1885
1896
|
Qe,
|
|
1886
1897
|
Te,
|
|
1887
1898
|
ze,
|
|
1888
1899
|
De,
|
|
1889
1900
|
z,
|
|
1890
|
-
|
|
1901
|
+
te,
|
|
1891
1902
|
We
|
|
1892
1903
|
];
|
|
1893
1904
|
}
|