@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
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
var ee = Object.defineProperty;
|
|
2
|
-
var
|
|
2
|
+
var G = Object.getOwnPropertySymbols;
|
|
3
3
|
var te = Object.prototype.hasOwnProperty, le = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var Y = (l, e, t) => e in l ? ee(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t,
|
|
4
|
+
var Y = (l, e, t) => e in l ? ee(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, P = (l, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
6
|
te.call(e, t) && Y(l, t, e[t]);
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
7
|
+
if (G)
|
|
8
|
+
for (var t of G(e))
|
|
9
9
|
le.call(e, t) && Y(l, t, e[t]);
|
|
10
10
|
return l;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var W = (l, e, t) => new Promise((r, n) => {
|
|
13
13
|
var s = (c) => {
|
|
14
14
|
try {
|
|
15
15
|
a(t.next(c));
|
|
16
|
-
} catch (
|
|
17
|
-
n(
|
|
16
|
+
} catch (v) {
|
|
17
|
+
n(v);
|
|
18
18
|
}
|
|
19
19
|
}, i = (c) => {
|
|
20
20
|
try {
|
|
21
21
|
a(t.throw(c));
|
|
22
|
-
} catch (
|
|
23
|
-
n(
|
|
22
|
+
} catch (v) {
|
|
23
|
+
n(v);
|
|
24
24
|
}
|
|
25
25
|
}, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, i);
|
|
26
26
|
a((t = t.apply(l, e)).next());
|
|
27
27
|
});
|
|
28
|
-
import { S as re, b as ne, s as ie, f as
|
|
29
|
-
import { f as ve } from "./LotteryProgramWof-
|
|
30
|
-
import { $ as
|
|
28
|
+
import { S as re, b as ne, s as ie, f as j, c as se, n as V, d as _, C as oe, D as ae, e as A, m as d, k as g, l as u, N as q, w as ce, o as de, A as ue, L as H, M as J, E as N, F as U, q as R, p as ge, g as M, I as me, J as fe, K as pe, t as he } from "./CasinoGameOverlay-Dk_e7S5S.js";
|
|
29
|
+
import { f as ve } from "./LotteryProgramWof-vN_-5rCj.js";
|
|
30
|
+
import { $ as O, b as we, a as Ce, i as be, c as ye } from "./CasinoMysteryChestContainer-DeILjbeG.js";
|
|
31
31
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
32
|
-
const
|
|
32
|
+
const Z = {
|
|
33
33
|
en: {
|
|
34
34
|
Title: "Prize Games",
|
|
35
35
|
RemainingTimes: "Remaining Times",
|
|
@@ -43,26 +43,26 @@ const R = {
|
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
function ke({ withLocale: l, translations: e }) {
|
|
46
|
-
|
|
47
|
-
t == null && (we.set(e),
|
|
46
|
+
O.subscribe((t) => {
|
|
47
|
+
t == null && (we.set(e), O.set(l));
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
50
|
+
function $(l, e) {
|
|
51
|
+
Ce(l, e);
|
|
52
52
|
}
|
|
53
53
|
function xe(l) {
|
|
54
|
-
|
|
54
|
+
O.set(l);
|
|
55
55
|
}
|
|
56
56
|
const je = () => {
|
|
57
|
-
ke({ withLocale: "en", translations: {} }), Object.keys(
|
|
58
|
-
|
|
57
|
+
ke({ withLocale: "en", translations: {} }), Object.keys(Z).forEach((l) => {
|
|
58
|
+
$(l, Z[l]);
|
|
59
59
|
});
|
|
60
|
-
}, Le = (r) =>
|
|
60
|
+
}, Le = (r) => W(void 0, [r], function* ({ endpoint: l, session: e, types: t }) {
|
|
61
61
|
const n = new URL(`${l}/v1/wof/lotteries`);
|
|
62
62
|
t && t.length > 0 && t.forEach((i) => n.searchParams.append("filter", `Types[]=${i}`));
|
|
63
63
|
const s = yield fetch(n.toString(), {
|
|
64
64
|
method: "GET",
|
|
65
|
-
headers:
|
|
65
|
+
headers: P({
|
|
66
66
|
"Content-Type": "application/json",
|
|
67
67
|
Accept: "text/plain"
|
|
68
68
|
}, e ? { "x-SessionId": e } : {})
|
|
@@ -71,19 +71,19 @@ const je = () => {
|
|
|
71
71
|
throw new Error(`Failed to fetch lotteries: ${s.statusText}`);
|
|
72
72
|
return s.json();
|
|
73
73
|
}), _e = {
|
|
74
|
-
lotteries: (l, e, t) =>
|
|
74
|
+
lotteries: (l, e, t) => W(void 0, null, function* () {
|
|
75
75
|
const r = yield Le({ endpoint: l, session: e, types: t });
|
|
76
76
|
return (r == null ? void 0 : r.items) || [];
|
|
77
77
|
})
|
|
78
78
|
}, Ae = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAABCcAAAQnAEmzTo0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMVSURBVHgBbVTNThNRGD3fnSmYYNLizhVl4ZriC9AhcUFcWDYmbsQuiCsT0aioJJRogrJhacJC0MSwMsALMIUHsDQxYSeDCVspiWA7befz3Jm2AnGSm7k/3+85517Bf75F9fMOoikXjTzHkIO6OAgrnFcdNLaK8mjzso+cX5S0kk2h9ZHGeUNnOtY4MlzDRVjjP801DBpBG83xorwMur6mO3ml33MCqSg0r4h2Beo9kduDCtDYHDyUKc5lPAI+03z4CvTbFy3lLgSa1f2sC9dngWk6HjbQLjyTW+VOyb2qp2W6LGg95rRGu0EX2F7X2WwvkEG/z0oyHCesJNuHlF9SP2PPNA6hcbBVXeWeTQh7FgiiwRS344Sv9ehOhMami+aag7MZ/n3iMGLQrKZw4hloxUFTB3B2k7j4BD5HvPZa+O0NoL1BEsYitMdNC1qQOLP5VJLRWgunHtdVZssp+ivEbYhVDocwv2hGTEzQguMVpVSL+WExKeh9kxxK7a3ciDEpicdgraLGTant3zoEBHm30+NQF7O78mbHQI6ZKC/P9UjdmN7mgYM/pDxU0svew7QgXHgqEwvW6YOuUhoh2w6HDMJD6+PEo06iQvp3ACXl5p+4RJN9rXaDGBjLKiuUAIh6NCQfhcGKWEkzvSjZa93t97pbYFYC2ThwUd/heYGZM8wcOEiNFqVY69p+1RfHBDww7K9saZzT/XxH3ZkIMt+xGya4U8yYkViYFrNTf1WXY2ms6xx9lNqTPWPgrHFCEJ15G4RZfbY2wsL3BIaB9CfPgz7oKH33OEZctBmsxKsjUzxjDnfLLMp1Iq87QDtPx4plMSI2Z6R4RiaCJAlg23HQ5zFwlUlyV5D6Qck8YNJgUpY2Y4BTkCI3KHvN8n8c4qpnZYCeqhPwE2xangWccA/y7JgBvN4VKclwYBKD+A7143R5SbfHOhxq94qs6Ar33A3ECVFjB+OT8i5ImD73LfIZiXgNqKMsWeo+HZlEJ3XOwzTX9nkpU3fFe+eekQuBLtFfsHeOziNO/DaRYkqB/zU+bOXLPn8BG6xnv5+RMCQAAAAASUVORK5CYII=", Ie = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.5384%203.18261L14.3222%200.9673C13.3202%20-0.0332963%2011.7009%20-0.26734%209.75715%200.310586C7.83938%200.880634%205.79092%202.18711%203.98901%203.98902C2.18711%205.79092%200.88063%207.83939%200.310582%209.75716C-0.26688%2011.7%20-0.0337635%2013.3211%200.965442%2014.3194C0.980736%2014.3361%200.99742%2014.3491%201.01967%2014.362L3.1826%2016.5384C3.83422%2017.1891%204.73749%2017.4996%205.78675%2017.4996C8.0382%2017.4996%2010.9621%2016.0703%2013.5167%2013.5167C17.2605%209.77199%2018.5878%205.23292%2016.5384%203.18261ZM13.2979%205.31681C12.764%206.90692%2011.6378%208.61521%2010.127%2010.1261C8.6152%2011.6369%206.90738%2012.764%205.31681%2013.2979C3.8991%2013.7744%202.71173%2013.7188%202.14169%2013.1469C1.57118%2012.5768%201.5151%2011.3904%201.99153%209.9722C2.52589%208.38209%203.65254%206.67426%205.1634%205.16341C6.67426%203.65209%208.38255%202.52589%209.97312%201.99153C10.6118%201.77649%2011.2031%201.67036%2011.7129%201.67036C12.3349%201.67036%2012.8345%201.8284%2013.1478%202.14169C13.7178%202.7122%2013.7744%203.89911%2013.2979%205.31681ZM12.3423%2012.3414C9.09859%2015.5846%205.53231%2016.5375%204.35699%2015.3622L4.23696%2015.2426C6.4481%2014.9914%209.06753%2013.5343%2011.3014%2011.3014C13.5343%209.06754%2014.9914%206.4481%2015.2426%204.23696L15.3622%204.357C16.5365%205.53093%2015.5846%209.09859%2012.3423%2012.3414Z'%20fill='url(%23paint0_linear_875_137)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_875_137'%20x1='0'%20y1='8.7498'%20x2='17.5'%20y2='8.7498'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Me = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.1978%2013.2348C12.1978%209.60751%2015.1383%206.66699%2018.7656%206.66699C22.3929%206.66699%2025.3334%209.60751%2025.3334%2013.2348C25.3334%2016.8621%2022.3929%2019.8026%2018.7656%2019.8026C18.467%2019.8026%2018.1725%2019.7826%2017.8835%2019.7438C17.6825%2019.7168%2017.557%2019.7001%2017.4658%2019.6909C17.4218%2019.7326%2017.3626%2019.7916%2017.2673%2019.8869L12.5565%2024.5977C12.5457%2024.6085%2012.5344%2024.6198%2012.5229%2024.6315C12.4009%2024.7542%2012.2356%2024.9205%2012.0329%2025.0448C11.8576%2025.1522%2011.6665%2025.2313%2011.4666%2025.2793C11.2354%2025.3348%2011.001%2025.3341%2010.8279%2025.3335C10.8115%2025.3335%2010.7956%2025.3334%2010.7803%2025.3334L9.14719%2025.3334C8.91663%2025.3335%208.68571%2025.3335%208.48899%2025.3174C8.27114%2025.2996%208.00565%2025.2571%207.7365%2025.1199C7.36793%2024.9321%207.06826%2024.6325%206.88046%2024.2639C6.74332%2023.9948%206.70076%2023.7293%206.68297%2023.5114C6.66689%2023.3147%206.66693%2023.0838%206.66696%2022.8532L6.66696%2021.2201C6.66696%2021.2049%206.66691%2021.189%206.66686%2021.1725C6.66631%2020.9994%206.66557%2020.765%206.72109%2020.5338C6.76907%2020.3339%206.84822%2020.1428%206.95562%2019.9676C7.07986%2019.7648%207.24617%2019.5995%207.36894%2019.4776C7.3806%2019.466%207.39188%2019.4548%207.40268%2019.4439L12.1135%2014.7331C12.2088%2014.6378%2012.2678%2014.5786%2012.3095%2014.5346C12.3003%2014.4434%2012.2836%2014.3179%2012.2566%2014.1169C12.2178%2013.8279%2012.1978%2013.5334%2012.1978%2013.2348ZM18.7656%208.74104C16.2837%208.74104%2014.2718%2010.753%2014.2718%2013.2348C14.2718%2013.4408%2014.2856%2013.6429%2014.3122%2013.8406L14.3146%2013.8585C14.3394%2014.0432%2014.3618%2014.2097%2014.3749%2014.3451C14.3874%2014.4747%2014.4011%2014.6598%2014.3736%2014.8525C14.3367%2015.1105%2014.2715%2015.3033%2014.1443%2015.5308C14.0078%2015.7751%2013.7931%2015.9881%2013.629%2016.151C13.6121%2016.1678%2013.5958%2016.184%2013.5801%2016.1997L8.86926%2020.9105C8.82845%2020.9513%208.79718%2020.9826%208.77036%2021.0099C8.75929%2021.0212%208.74992%2021.0308%208.74194%2021.0392C8.7417%2021.0507%208.74151%2021.0641%208.74137%2021.0799C8.74102%2021.1182%208.74101%2021.1624%208.74101%2021.2201V22.8215C8.74101%2023.0268%208.74146%2023.1591%208.74514%2023.2553C8.84132%2023.2589%208.97362%2023.2594%209.17887%2023.2594H10.7803C10.838%2023.2594%2010.8822%2023.2594%2010.9205%2023.259C10.9363%2023.2589%2010.9497%2023.2587%2010.9613%2023.2585C10.9696%2023.2505%2010.9792%2023.2411%2010.9905%2023.2301C11.0178%2023.2032%2011.0491%2023.172%2011.0899%2023.1312L15.8007%2018.4203C15.8164%2018.4046%2015.8327%2018.3883%2015.8494%2018.3714C16.0123%2018.2073%2016.2253%2017.9926%2016.4696%2017.8561C16.6971%2017.7289%2016.8899%2017.6638%2017.1479%2017.6268C17.3406%2017.5993%2017.5257%2017.613%2017.6553%2017.6255C17.7907%2017.6386%2017.9572%2017.661%2018.1419%2017.6858L18.1598%2017.6882C18.3575%2017.7148%2018.5597%2017.7286%2018.7656%2017.7286C21.2474%2017.7286%2023.2594%2015.7167%2023.2594%2013.2348C23.2594%2010.753%2021.2474%208.74104%2018.7656%208.74104ZM17.7286%2013.2348C17.7286%2012.6621%2018.1929%2012.1978%2018.7656%2012.1978H18.7748C19.3475%2012.1978%2019.8118%2012.6621%2019.8118%2013.2348C19.8118%2013.8076%2019.3475%2014.2718%2018.7748%2014.2718H18.7656C18.1929%2014.2718%2017.7286%2013.8076%2017.7286%2013.2348Z'%20fill='url(%23paint0_linear_714_605)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_714_605'%20x1='6.66675'%20y1='16.0003'%20x2='25.3334'%20y2='16.0003'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
79
|
-
function
|
|
80
|
-
se(l, "svelte-ljc7r7", `:host{display:block;height:100%;flex-grow:1}.PrizeListContent.svelte-ljc7r7.svelte-ljc7r7{width:100%;height:100%;display:flex;flex-direction:column;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7{flex-grow:1;overflow-y:auto}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar{width:4px}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar-thumb{background:var(--emw--color-gray-105, #1b2e31);border-radius:2px}.LuckyWheelList.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;list-style:none}.LuckyWheelListItem.svelte-ljc7r7.svelte-ljc7r7{width:100%}.ItemButton.svelte-ljc7r7.svelte-ljc7r7{padding:16px;border-radius:16px;border:1px solid var(--emw--color-teal-10, rgba(117, 255, 233, 0.1019607843));color:var(--emw--color-primary, #d3ffed);width:100%;height:110px;display:flex;flex-direction:column;justify-content:center;gap:8px;box-sizing:border-box;cursor:pointer;text-align:left;transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1);background:var(--emw--color-teal-05, rgba(117, 255, 233, 0.0509803922));position:relative}.ItemButton.svelte-ljc7r7.svelte-ljc7r7:hover,.ItemButton.svelte-ljc7r7.svelte-ljc7r7:active{background:var(--emw--color-teal-08, rgba(117, 255, 233, 0.0784313725));border:1px solid transparent;background-image:linear-gradient(var(--emw--color-background, #213841), var(--emw--color-background, #213841)), linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);background-origin:border-box;background-clip:padding-box, border-box}.ItemButton.svelte-ljc7r7:hover .IconButton.Chevron.svelte-ljc7r7,.ItemButton.svelte-ljc7r7:active .IconButton.Chevron.svelte-ljc7r7{background-color:var(--emw--color-green, #b2ff6d);background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%230C1A1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');border-radius:50%}.ItemTitleRow.svelte-ljc7r7.svelte-ljc7r7{display:flex;justify-content:space-between;align-items:center;width:100%}.ItemTitle.svelte-ljc7r7.svelte-ljc7r7{font-weight:700;font-size:var(--emw--font-size-medium-plus, 18px);background:linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ItemDetails.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:12px;align-items:center}.ItemKeys.svelte-ljc7r7.svelte-ljc7r7,.ItemValidity.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:4px;align-items:center;font-size:14px;font-weight:400;color:var(--emw--color-secondary-variant, #729787)}.ItemKeys.svelte-ljc7r7 span.svelte-ljc7r7:last-child,.ItemValidity.svelte-ljc7r7 span.svelte-ljc7r7:last-child{color:var(--emw--color-primary, #d3ffed)}.SmallIcon.svelte-ljc7r7.svelte-ljc7r7{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--emw--color-secondary-variant, #729787);flex-shrink:0}.
|
|
79
|
+
function Be(l) {
|
|
80
|
+
se(l, "svelte-ljc7r7", `:host{display:block;height:100%;flex-grow:1}.PrizeListContent.svelte-ljc7r7.svelte-ljc7r7{width:100%;height:100%;display:flex;flex-direction:column;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7{flex-grow:1;overflow-y:auto}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar{width:4px}.ListScrollArea.svelte-ljc7r7.svelte-ljc7r7::-webkit-scrollbar-thumb{background:var(--emw--color-gray-105, #1b2e31);border-radius:2px}.LuckyWheelList.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;gap:24px;padding:0;margin:0;list-style:none}.LuckyWheelListItem.svelte-ljc7r7.svelte-ljc7r7{width:100%}.ItemButton.svelte-ljc7r7.svelte-ljc7r7{padding:16px;border-radius:16px;border:1px solid var(--emw--color-teal-10, rgba(117, 255, 233, 0.1019607843));color:var(--emw--color-primary, #d3ffed);width:100%;height:110px;display:flex;flex-direction:column;justify-content:center;gap:8px;box-sizing:border-box;cursor:pointer;text-align:left;transition:all 0.2s cubic-bezier(0.4, 0, 0.2, 1);background:var(--emw--color-teal-05, rgba(117, 255, 233, 0.0509803922));position:relative}.ItemButton.svelte-ljc7r7.svelte-ljc7r7:hover,.ItemButton.svelte-ljc7r7.svelte-ljc7r7:active{background:var(--emw--color-teal-08, rgba(117, 255, 233, 0.0784313725));border:1px solid transparent;background-image:linear-gradient(var(--emw--color-background, #213841), var(--emw--color-background, #213841)), linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);background-origin:border-box;background-clip:padding-box, border-box}.ItemButton.svelte-ljc7r7:hover .IconButton.Chevron.svelte-ljc7r7,.ItemButton.svelte-ljc7r7:active .IconButton.Chevron.svelte-ljc7r7{background-color:var(--emw--color-green, #b2ff6d);background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%230C1A1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');border-radius:50%}.ItemTitleRow.svelte-ljc7r7.svelte-ljc7r7{display:flex;justify-content:space-between;align-items:center;width:100%}.ItemTitle.svelte-ljc7r7.svelte-ljc7r7{font-weight:700;font-size:var(--emw--font-size-medium-plus, 18px);background:linear-gradient(90deg, var(--emw--color-teal, #75ffe9) 0%, var(--emw--color-green, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ItemDetails.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:12px;align-items:center}.ItemKeys.svelte-ljc7r7.svelte-ljc7r7,.ItemValidity.svelte-ljc7r7.svelte-ljc7r7{display:flex;gap:4px;align-items:center;font-size:14px;font-weight:400;color:var(--emw--color-secondary-variant, #729787)}.ItemKeys.svelte-ljc7r7 span.svelte-ljc7r7:last-child,.ItemValidity.svelte-ljc7r7 span.svelte-ljc7r7:last-child{color:var(--emw--color-primary, #d3ffed)}.SmallIcon.svelte-ljc7r7.svelte-ljc7r7{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:var(--emw--color-secondary-variant, #729787);flex-shrink:0}.IconButton.Chevron.svelte-ljc7r7.svelte-ljc7r7{width:30px;height:30px;border:0;cursor:pointer;background-color:transparent;background:center/18px 18px url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M9 18L15 12L9 6" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.LoaderWrap.svelte-ljc7r7.svelte-ljc7r7{display:flex;flex-direction:column;width:100%}.LoaderWrap.svelte-ljc7r7 .Skeleton{border-radius:var(--emw--border-radius-small, 12px);--emw-skeleton-primary-color:var(--emw--color-primary, #d9d9d9);--emw-skeleton-secondary-color:var(--emw--color-secondary, #999999)}.LoaderWrap.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:var(--emw--border-radius-large, 28px);display:flex;padding:45px 48px;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);justify-content:space-between;line-height:35px;overflow:hidden;margin-bottom:24px}.LoaderWrap.Mobile.svelte-ljc7r7 .WheelLoader.svelte-ljc7r7{border-radius:16px;padding:25px 20px;line-height:15px}.LoaderWrap.Mobile.svelte-ljc7r7 .Skeleton.SkeletonText{width:135px}.EmptyState.svelte-ljc7r7.svelte-ljc7r7{width:100%;display:flex;flex-direction:column;color:var(--emw--color-secondary-variant, #a9ccbe);font-size:var(--emw--font-size-medium, 16px);align-items:center;justify-content:center;height:200px}.Mobile.svelte-ljc7r7 .ItemButton.svelte-ljc7r7{height:72px;padding:16px 20px;border-radius:16px}.Mobile.svelte-ljc7r7 .ItemButton .ItemTitle.svelte-ljc7r7{font-size:var(--emw--font-size-medium, 16px)}.Mobile.svelte-ljc7r7 .ItemButton .ItemDetails.svelte-ljc7r7{font-size:var(--emw--font-size-x-small, 12px)}.Mobile.svelte-ljc7r7 .IconButton.Chevron.svelte-ljc7r7{width:24px;height:24px;background-size:14px 14px}`);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function K(l, e, t) {
|
|
83
83
|
const r = l.slice();
|
|
84
84
|
return r[23] = e[t], r;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Se(l, e, t) {
|
|
87
87
|
const r = l.slice();
|
|
88
88
|
return r[20] = e[t], r;
|
|
89
89
|
}
|
|
@@ -94,28 +94,28 @@ function Te(l) {
|
|
|
94
94
|
), n;
|
|
95
95
|
return {
|
|
96
96
|
c() {
|
|
97
|
-
e = g("div"), t = g("p"), n =
|
|
97
|
+
e = g("div"), t = g("p"), n = U(r), u(e, "class", "EmptyState svelte-ljc7r7");
|
|
98
98
|
},
|
|
99
99
|
m(s, i) {
|
|
100
|
-
|
|
100
|
+
A(s, e, i), d(e, t), d(t, n);
|
|
101
101
|
},
|
|
102
102
|
p(s, i) {
|
|
103
103
|
i & /*$_*/
|
|
104
104
|
32 && r !== (r = /*$_*/
|
|
105
|
-
s[5]("NoContent") + "") &&
|
|
105
|
+
s[5]("NoContent") + "") && N(n, r);
|
|
106
106
|
},
|
|
107
107
|
d(s) {
|
|
108
|
-
s &&
|
|
108
|
+
s && _(e);
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
function ze(l) {
|
|
113
|
-
let e, t =
|
|
113
|
+
let e, t = H(
|
|
114
114
|
/*programs*/
|
|
115
115
|
l[3]
|
|
116
116
|
), r = [];
|
|
117
117
|
for (let n = 0; n < t.length; n += 1)
|
|
118
|
-
r[n] =
|
|
118
|
+
r[n] = X(K(l, t, n));
|
|
119
119
|
return {
|
|
120
120
|
c() {
|
|
121
121
|
e = g("ul");
|
|
@@ -124,21 +124,21 @@ function ze(l) {
|
|
|
124
124
|
u(e, "class", "LuckyWheelList svelte-ljc7r7");
|
|
125
125
|
},
|
|
126
126
|
m(n, s) {
|
|
127
|
-
|
|
127
|
+
A(n, e, s);
|
|
128
128
|
for (let i = 0; i < r.length; i += 1)
|
|
129
129
|
r[i] && r[i].m(e, null);
|
|
130
130
|
},
|
|
131
131
|
p(n, s) {
|
|
132
132
|
if (s & /*openGame, programs, formatValidity, dynamicIcon, lang*/
|
|
133
133
|
409) {
|
|
134
|
-
t =
|
|
134
|
+
t = H(
|
|
135
135
|
/*programs*/
|
|
136
136
|
n[3]
|
|
137
137
|
);
|
|
138
138
|
let i;
|
|
139
139
|
for (i = 0; i < t.length; i += 1) {
|
|
140
|
-
const a =
|
|
141
|
-
r[i] ? r[i].p(a, s) : (r[i] =
|
|
140
|
+
const a = K(n, t, i);
|
|
141
|
+
r[i] ? r[i].p(a, s) : (r[i] = X(a), r[i].c(), r[i].m(e, null));
|
|
142
142
|
}
|
|
143
143
|
for (; i < r.length; i += 1)
|
|
144
144
|
r[i].d(1);
|
|
@@ -146,20 +146,20 @@ function ze(l) {
|
|
|
146
146
|
}
|
|
147
147
|
},
|
|
148
148
|
d(n) {
|
|
149
|
-
n &&
|
|
149
|
+
n && _(e), J(r, n);
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
let e, t =
|
|
153
|
+
function De(l) {
|
|
154
|
+
let e, t = H([1, 2, 3, 4, 5]), r = [];
|
|
155
155
|
for (let n = 0; n < 5; n += 1)
|
|
156
|
-
r[n] =
|
|
156
|
+
r[n] = Ee(Se(l, t, n));
|
|
157
157
|
return {
|
|
158
158
|
c() {
|
|
159
159
|
e = g("div");
|
|
160
160
|
for (let n = 0; n < 5; n += 1)
|
|
161
161
|
r[n].c();
|
|
162
|
-
u(e, "class", "LoaderWrap svelte-ljc7r7"),
|
|
162
|
+
u(e, "class", "LoaderWrap svelte-ljc7r7"), q(
|
|
163
163
|
e,
|
|
164
164
|
"Mobile",
|
|
165
165
|
/*mobileView*/
|
|
@@ -167,17 +167,17 @@ function We(l) {
|
|
|
167
167
|
);
|
|
168
168
|
},
|
|
169
169
|
m(n, s) {
|
|
170
|
-
|
|
170
|
+
A(n, e, s);
|
|
171
171
|
for (let i = 0; i < 5; i += 1)
|
|
172
172
|
r[i] && r[i].m(e, null);
|
|
173
173
|
},
|
|
174
|
-
p:
|
|
174
|
+
p: V,
|
|
175
175
|
d(n) {
|
|
176
|
-
n &&
|
|
176
|
+
n && _(e), J(r, n);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Q(l) {
|
|
181
181
|
let e, t, r, n, s = (
|
|
182
182
|
/*formatValidity*/
|
|
183
183
|
l[7](
|
|
@@ -187,10 +187,10 @@ function K(l) {
|
|
|
187
187
|
), i;
|
|
188
188
|
return {
|
|
189
189
|
c() {
|
|
190
|
-
e = g("div"), t = g("span"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="14" r="7" stroke="currentColor" stroke-width="1.5"></circle><path d="M12 11V14L14 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 4V7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 4H15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 7L18 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 7L6 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>', r =
|
|
190
|
+
e = g("div"), t = g("span"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="14" r="7" stroke="currentColor" stroke-width="1.5"></circle><path d="M12 11V14L14 16" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 4V7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 4H15" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 7L18 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 7L6 8" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>', r = M(), n = g("span"), i = U(s), u(t, "class", "SmallIcon Timer svelte-ljc7r7"), u(n, "class", "svelte-ljc7r7"), u(e, "class", "ItemValidity svelte-ljc7r7");
|
|
191
191
|
},
|
|
192
192
|
m(a, c) {
|
|
193
|
-
|
|
193
|
+
A(a, e, c), d(e, t), d(e, r), d(e, n), d(n, i);
|
|
194
194
|
},
|
|
195
195
|
p(a, c) {
|
|
196
196
|
c & /*programs*/
|
|
@@ -198,15 +198,15 @@ function K(l) {
|
|
|
198
198
|
a[7](
|
|
199
199
|
/*program*/
|
|
200
200
|
a[23].current.expiryTime
|
|
201
|
-
) + "") &&
|
|
201
|
+
) + "") && N(i, s);
|
|
202
202
|
},
|
|
203
203
|
d(a) {
|
|
204
|
-
a &&
|
|
204
|
+
a && _(e);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
var
|
|
208
|
+
function X(l) {
|
|
209
|
+
var C, b;
|
|
210
210
|
let e, t, r, n, s = (
|
|
211
211
|
/*program*/
|
|
212
212
|
(l[23].program.name[
|
|
@@ -214,14 +214,14 @@ function Q(l) {
|
|
|
214
214
|
l[0]
|
|
215
215
|
] || /*program*/
|
|
216
216
|
l[23].program.name["*"] || "Unknown Game") + ""
|
|
217
|
-
), i, a, c,
|
|
217
|
+
), i, a, c, v, h, w, f, p, S, k, L = (
|
|
218
218
|
/*program*/
|
|
219
|
-
(((
|
|
220
|
-
),
|
|
219
|
+
(((C = l[23].current) == null ? void 0 : C.remainingTimes) || 0) + ""
|
|
220
|
+
), B, T, z, I, D, m = (
|
|
221
221
|
/*program*/
|
|
222
|
-
((
|
|
222
|
+
((b = l[23].current) == null ? void 0 : b.expiryTime) && Q(l)
|
|
223
223
|
);
|
|
224
|
-
function
|
|
224
|
+
function o() {
|
|
225
225
|
return (
|
|
226
226
|
/*click_handler*/
|
|
227
227
|
l[16](
|
|
@@ -232,53 +232,53 @@ function Q(l) {
|
|
|
232
232
|
}
|
|
233
233
|
return {
|
|
234
234
|
c() {
|
|
235
|
-
e = g("li"), t = g("button"), r = g("div"), n = g("span"), i =
|
|
236
|
-
l[4]
|
|
235
|
+
e = g("li"), t = g("button"), r = g("div"), n = g("span"), i = U(s), a = M(), c = g("span"), v = M(), h = g("div"), w = g("div"), f = g("img"), S = M(), k = g("span"), B = U(L), T = M(), m && m.c(), z = M(), u(n, "class", "ItemTitle svelte-ljc7r7"), u(c, "class", "IconButton Chevron svelte-ljc7r7"), u(r, "class", "ItemTitleRow svelte-ljc7r7"), R(f.src, p = /*dynamicIcon*/
|
|
236
|
+
l[4]) || u(f, "src", p), u(f, "alt", ""), u(k, "class", "svelte-ljc7r7"), u(w, "class", "ItemKeys svelte-ljc7r7"), u(h, "class", "ItemDetails svelte-ljc7r7"), u(t, "type", "button"), u(t, "class", "ItemButton svelte-ljc7r7"), u(e, "class", "LuckyWheelListItem svelte-ljc7r7");
|
|
237
237
|
},
|
|
238
|
-
m(
|
|
239
|
-
|
|
238
|
+
m(y, x) {
|
|
239
|
+
A(y, e, x), d(e, t), d(t, r), d(r, n), d(n, i), d(r, a), d(r, c), d(t, v), d(t, h), d(h, w), d(w, f), d(w, S), d(w, k), d(k, B), d(h, T), m && m.m(h, null), d(e, z), I || (D = ge(t, "click", o), I = !0);
|
|
240
240
|
},
|
|
241
|
-
p(
|
|
242
|
-
var
|
|
243
|
-
l =
|
|
241
|
+
p(y, x) {
|
|
242
|
+
var E, F;
|
|
243
|
+
l = y, x & /*programs, lang*/
|
|
244
244
|
9 && s !== (s = /*program*/
|
|
245
245
|
(l[23].program.name[
|
|
246
246
|
/*lang*/
|
|
247
247
|
l[0]
|
|
248
248
|
] || /*program*/
|
|
249
|
-
l[23].program.name["*"] || "Unknown Game") + "") &&
|
|
250
|
-
16 &&
|
|
251
|
-
l[4]
|
|
252
|
-
8 &&
|
|
253
|
-
(((
|
|
254
|
-
(
|
|
249
|
+
l[23].program.name["*"] || "Unknown Game") + "") && N(i, s), x & /*dynamicIcon*/
|
|
250
|
+
16 && !R(f.src, p = /*dynamicIcon*/
|
|
251
|
+
l[4]) && u(f, "src", p), x & /*programs*/
|
|
252
|
+
8 && L !== (L = /*program*/
|
|
253
|
+
(((E = l[23].current) == null ? void 0 : E.remainingTimes) || 0) + "") && N(B, L), /*program*/
|
|
254
|
+
(F = l[23].current) != null && F.expiryTime ? m ? m.p(l, x) : (m = Q(l), m.c(), m.m(h, null)) : m && (m.d(1), m = null);
|
|
255
255
|
},
|
|
256
|
-
d(
|
|
257
|
-
|
|
256
|
+
d(y) {
|
|
257
|
+
y && _(e), m && m.d(), I = !1, D();
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Ee(l) {
|
|
262
262
|
let e;
|
|
263
263
|
return {
|
|
264
264
|
c() {
|
|
265
265
|
e = g("div"), e.innerHTML = '<ui-skeleton structure="text" height="16px"></ui-skeleton> <ui-skeleton structure="rectangle" width="50px" height="16px"></ui-skeleton> ', u(e, "class", "WheelLoader svelte-ljc7r7");
|
|
266
266
|
},
|
|
267
267
|
m(t, r) {
|
|
268
|
-
|
|
268
|
+
A(t, e, r);
|
|
269
269
|
},
|
|
270
|
-
p:
|
|
270
|
+
p: V,
|
|
271
271
|
d(t) {
|
|
272
|
-
t &&
|
|
272
|
+
t && _(e);
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Fe(l) {
|
|
277
277
|
let e, t, r;
|
|
278
278
|
function n(a, c) {
|
|
279
279
|
return (
|
|
280
280
|
/*loading*/
|
|
281
|
-
a[2] ?
|
|
281
|
+
a[2] ? De : (
|
|
282
282
|
/*programs*/
|
|
283
283
|
a[3].length > 0 ? ze : Te
|
|
284
284
|
)
|
|
@@ -287,7 +287,7 @@ function Ee(l) {
|
|
|
287
287
|
let s = n(l), i = s(l);
|
|
288
288
|
return {
|
|
289
289
|
c() {
|
|
290
|
-
e = g("div"), t = g("div"), i.c(), u(t, "class", "ListScrollArea svelte-ljc7r7"), u(e, "class", "PrizeListContent svelte-ljc7r7"),
|
|
290
|
+
e = g("div"), t = g("div"), i.c(), u(t, "class", "ListScrollArea svelte-ljc7r7"), u(e, "class", "PrizeListContent svelte-ljc7r7"), q(
|
|
291
291
|
e,
|
|
292
292
|
"Mobile",
|
|
293
293
|
/*mobileView*/
|
|
@@ -295,7 +295,7 @@ function Ee(l) {
|
|
|
295
295
|
);
|
|
296
296
|
},
|
|
297
297
|
m(a, c) {
|
|
298
|
-
|
|
298
|
+
A(a, e, c), d(e, t), i.m(t, null), l[17](e);
|
|
299
299
|
},
|
|
300
300
|
p(a, [c]) {
|
|
301
301
|
s === (s = n(a)) && i ? i.p(a, c) : (i.d(1), i = s(a), i && (i.c(), i.m(t, null)));
|
|
@@ -305,35 +305,35 @@ function Ee(l) {
|
|
|
305
305
|
r = ae(e, ve, { duration: 300 }), r.start();
|
|
306
306
|
}));
|
|
307
307
|
},
|
|
308
|
-
o:
|
|
308
|
+
o: V,
|
|
309
309
|
d(a) {
|
|
310
|
-
a &&
|
|
310
|
+
a && _(e), i.d(), l[17](null);
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
|
-
let
|
|
314
|
+
let We = null;
|
|
315
315
|
function Ne(l, e, t) {
|
|
316
316
|
let r, n;
|
|
317
317
|
ce(l, ye, (o) => t(5, n = o));
|
|
318
|
-
let { endpoint: s = "" } = e, { session: i = "" } = e, { lang: a = "en" } = e, { clientstyling: c = "" } = e, { clientstylingurl:
|
|
319
|
-
const
|
|
320
|
-
let k = !0,
|
|
318
|
+
let { endpoint: s = "" } = e, { session: i = "" } = e, { lang: a = "en" } = e, { clientstyling: c = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: h = "" } = e, { mbsource: w = "" } = e, { type: f = "wheelOfFortune" } = e, p;
|
|
319
|
+
const S = be(window.navigator.userAgent);
|
|
320
|
+
let k = !0, L = [];
|
|
321
321
|
je();
|
|
322
322
|
const B = () => {
|
|
323
323
|
fetch(h).then((C) => C.json()).then((C) => {
|
|
324
|
-
Object.keys(C).forEach((
|
|
325
|
-
|
|
324
|
+
Object.keys(C).forEach((b) => {
|
|
325
|
+
$(b, C[b]);
|
|
326
326
|
});
|
|
327
327
|
});
|
|
328
328
|
}, T = (o) => {
|
|
329
329
|
if (!o)
|
|
330
330
|
return "";
|
|
331
|
-
const C = new Date(o).getTime(),
|
|
331
|
+
const C = new Date(o).getTime(), b = Date.now(), y = C - b;
|
|
332
332
|
if (y <= 0)
|
|
333
333
|
return "";
|
|
334
|
-
const
|
|
335
|
-
return `${
|
|
336
|
-
},
|
|
334
|
+
const x = Math.floor(y / (1e3 * 60 * 60 * 24)), E = Math.floor(y % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), F = Math.floor(y % (1e3 * 60 * 60) / (1e3 * 60));
|
|
335
|
+
return `${x.toString().padStart(2, "0")}d:${E.toString().padStart(2, "0")}h:${F.toString().padStart(2, "0")}m`;
|
|
336
|
+
}, z = () => W(this, null, function* () {
|
|
337
337
|
if (!(!s || !i)) {
|
|
338
338
|
t(2, k = !0);
|
|
339
339
|
try {
|
|
@@ -344,9 +344,9 @@ function Ne(l, e, t) {
|
|
|
344
344
|
data: o
|
|
345
345
|
},
|
|
346
346
|
"*"
|
|
347
|
-
), t(3,
|
|
348
|
-
var
|
|
349
|
-
return (Number((
|
|
347
|
+
), t(3, L = o.filter((C) => {
|
|
348
|
+
var b;
|
|
349
|
+
return (Number((b = C.current) == null ? void 0 : b.remainingTimes) || 0) > 0;
|
|
350
350
|
}));
|
|
351
351
|
} catch (o) {
|
|
352
352
|
console.error("[PrizeEngineList] Fetch failed", o);
|
|
@@ -354,47 +354,47 @@ function Ne(l, e, t) {
|
|
|
354
354
|
t(2, k = !1);
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
}),
|
|
357
|
+
}), I = (o) => {
|
|
358
358
|
window.postMessage({ type: "OpenPrizeGame", data: o }, "*");
|
|
359
359
|
};
|
|
360
360
|
de(() => () => {
|
|
361
361
|
});
|
|
362
|
-
const
|
|
363
|
-
function
|
|
362
|
+
const D = (o) => I(o);
|
|
363
|
+
function m(o) {
|
|
364
364
|
ue[o ? "unshift" : "push"](() => {
|
|
365
|
-
|
|
365
|
+
p = o, t(1, p);
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
368
|
return l.$$set = (o) => {
|
|
369
|
-
"endpoint" in o && t(9, s = o.endpoint), "session" in o && t(10, i = o.session), "lang" in o && t(0, a = o.lang), "clientstyling" in o && t(11, c = o.clientstyling), "clientstylingurl" in o && t(12,
|
|
369
|
+
"endpoint" in o && t(9, s = o.endpoint), "session" in o && t(10, i = o.session), "lang" in o && t(0, a = o.lang), "clientstyling" in o && t(11, c = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "translationurl" in o && t(13, h = o.translationurl), "mbsource" in o && t(14, w = o.mbsource), "type" in o && t(15, f = o.type);
|
|
370
370
|
}, l.$$.update = () => {
|
|
371
371
|
l.$$.dirty & /*lang*/
|
|
372
372
|
1 && a && xe(a), l.$$.dirty & /*translationurl*/
|
|
373
373
|
8192 && h && B(), l.$$.dirty & /*type*/
|
|
374
374
|
32768 && t(4, r = f === "flipCoin" ? Ie : f === "mysteryChest" ? Me : Ae), l.$$.dirty & /*endpoint, session, type*/
|
|
375
|
-
34304 && s && i && f &&
|
|
376
|
-
2050 && c &&
|
|
377
|
-
4098 &&
|
|
378
|
-
16386 &&
|
|
375
|
+
34304 && s && i && f && z(), l.$$.dirty & /*clientstyling, rootContainer*/
|
|
376
|
+
2050 && c && p && me(p, c), l.$$.dirty & /*clientstylingurl, rootContainer*/
|
|
377
|
+
4098 && v && p && fe(p, v), l.$$.dirty & /*mbsource, rootContainer*/
|
|
378
|
+
16386 && w && p && pe(p, `${w}.Style`, We);
|
|
379
379
|
}, [
|
|
380
380
|
a,
|
|
381
|
-
|
|
381
|
+
p,
|
|
382
382
|
k,
|
|
383
|
-
|
|
383
|
+
L,
|
|
384
384
|
r,
|
|
385
385
|
n,
|
|
386
|
-
_,
|
|
387
|
-
T,
|
|
388
386
|
S,
|
|
387
|
+
T,
|
|
388
|
+
I,
|
|
389
389
|
s,
|
|
390
390
|
i,
|
|
391
391
|
c,
|
|
392
|
-
|
|
392
|
+
v,
|
|
393
393
|
h,
|
|
394
|
-
|
|
394
|
+
w,
|
|
395
395
|
f,
|
|
396
|
-
|
|
397
|
-
|
|
396
|
+
D,
|
|
397
|
+
m
|
|
398
398
|
];
|
|
399
399
|
}
|
|
400
400
|
class Ue extends re {
|
|
@@ -403,7 +403,7 @@ class Ue extends re {
|
|
|
403
403
|
this,
|
|
404
404
|
e,
|
|
405
405
|
Ne,
|
|
406
|
-
|
|
406
|
+
Fe,
|
|
407
407
|
ie,
|
|
408
408
|
{
|
|
409
409
|
endpoint: 9,
|
|
@@ -415,59 +415,59 @@ class Ue extends re {
|
|
|
415
415
|
mbsource: 14,
|
|
416
416
|
type: 15
|
|
417
417
|
},
|
|
418
|
-
|
|
418
|
+
Be
|
|
419
419
|
);
|
|
420
420
|
}
|
|
421
421
|
get endpoint() {
|
|
422
422
|
return this.$$.ctx[9];
|
|
423
423
|
}
|
|
424
424
|
set endpoint(e) {
|
|
425
|
-
this.$$set({ endpoint: e }),
|
|
425
|
+
this.$$set({ endpoint: e }), j();
|
|
426
426
|
}
|
|
427
427
|
get session() {
|
|
428
428
|
return this.$$.ctx[10];
|
|
429
429
|
}
|
|
430
430
|
set session(e) {
|
|
431
|
-
this.$$set({ session: e }),
|
|
431
|
+
this.$$set({ session: e }), j();
|
|
432
432
|
}
|
|
433
433
|
get lang() {
|
|
434
434
|
return this.$$.ctx[0];
|
|
435
435
|
}
|
|
436
436
|
set lang(e) {
|
|
437
|
-
this.$$set({ lang: e }),
|
|
437
|
+
this.$$set({ lang: e }), j();
|
|
438
438
|
}
|
|
439
439
|
get clientstyling() {
|
|
440
440
|
return this.$$.ctx[11];
|
|
441
441
|
}
|
|
442
442
|
set clientstyling(e) {
|
|
443
|
-
this.$$set({ clientstyling: e }),
|
|
443
|
+
this.$$set({ clientstyling: e }), j();
|
|
444
444
|
}
|
|
445
445
|
get clientstylingurl() {
|
|
446
446
|
return this.$$.ctx[12];
|
|
447
447
|
}
|
|
448
448
|
set clientstylingurl(e) {
|
|
449
|
-
this.$$set({ clientstylingurl: e }),
|
|
449
|
+
this.$$set({ clientstylingurl: e }), j();
|
|
450
450
|
}
|
|
451
451
|
get translationurl() {
|
|
452
452
|
return this.$$.ctx[13];
|
|
453
453
|
}
|
|
454
454
|
set translationurl(e) {
|
|
455
|
-
this.$$set({ translationurl: e }),
|
|
455
|
+
this.$$set({ translationurl: e }), j();
|
|
456
456
|
}
|
|
457
457
|
get mbsource() {
|
|
458
458
|
return this.$$.ctx[14];
|
|
459
459
|
}
|
|
460
460
|
set mbsource(e) {
|
|
461
|
-
this.$$set({ mbsource: e }),
|
|
461
|
+
this.$$set({ mbsource: e }), j();
|
|
462
462
|
}
|
|
463
463
|
get type() {
|
|
464
464
|
return this.$$.ctx[15];
|
|
465
465
|
}
|
|
466
466
|
set type(e) {
|
|
467
|
-
this.$$set({ type: e }),
|
|
467
|
+
this.$$set({ type: e }), j();
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
customElements.define("prize-engine-list",
|
|
470
|
+
customElements.define("prize-engine-list", he(Ue, { endpoint: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, type: {} }, [], [], !0));
|
|
471
471
|
export {
|
|
472
472
|
Ue as default
|
|
473
473
|
};
|