@everymatrix/casino-game-overlay 1.94.76 → 1.94.78
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-BsnQxvcA.js +629 -0
- package/components/CasinoCoinroyaleContainer-Dr442y26.cjs +1 -0
- package/components/{CasinoCoinroyaleContainer-BRk7BZmL.js → CasinoCoinroyaleContainer-IoqrfaHo.js} +215 -173
- package/components/{CasinoCoinroyaleDetails-C6nd_x1M.cjs → CasinoCoinroyaleDetails-BBRwYhoe.cjs} +2 -2
- package/components/{CasinoCoinroyaleDetails-CiJhhiNp.js → CasinoCoinroyaleDetails-Dbi0kgk5.js} +54 -54
- package/components/{CasinoCoinroyaleDetails-CYGV3lnY.js → CasinoCoinroyaleDetails-cwBgvMZk.js} +53 -53
- package/components/{CasinoCoinroyaleList-CNBVPXz-.js → CasinoCoinroyaleList-BJL3zxQ0.js} +191 -187
- package/components/{CasinoCoinroyaleList-CWrAMCRA.js → CasinoCoinroyaleList-BKQjj8aT.js} +268 -264
- package/components/CasinoCoinroyaleList-D9WsFVwX.cjs +1 -0
- package/components/{CasinoGameOverlay-BESeWDbx.cjs → CasinoGameOverlay-BTBB2PXb.cjs} +1 -1
- package/components/{CasinoGameOverlay-BIY60074.js → CasinoGameOverlay-D3cVNfoa.js} +14 -14
- package/components/{CasinoGameOverlay-8T89JqAi.js → CasinoGameOverlay-ZF7wW-MO.js} +13 -13
- package/components/CasinoMysteryChestContainer-1zTKkJGg.cjs +20 -0
- package/components/{CasinoMysteryChestContainer-Aihk9jSq.js → CasinoMysteryChestContainer-B1dHnUTM.js} +884 -785
- package/components/{CasinoMysteryChestContainer-DbmkGTID.js → CasinoMysteryChestContainer-D1Kv_B6l.js} +921 -800
- package/components/{CasinoMysteryChestDetails-BJuP4Two.cjs → CasinoMysteryChestDetails-CejriRHL.cjs} +2 -2
- package/components/{CasinoMysteryChestDetails-Dg66tT7J.js → CasinoMysteryChestDetails-D7vb5xwy.js} +75 -74
- package/components/{CasinoMysteryChestDetails-5hNSchOz.js → CasinoMysteryChestDetails-DIlWqNh6.js} +9 -8
- package/components/CasinoMysteryChestModal-Cnhoamj2.cjs +1 -0
- package/components/{CasinoMysteryChestModal-DLmLtHkd.js → CasinoMysteryChestModal-CyIOGb8U.js} +136 -75
- package/components/{CasinoMysteryChestModal-8taIOnnw.js → CasinoMysteryChestModal-urfF3IU4.js} +133 -78
- package/components/{CasinoMysteryChestsList-CGrd3GNP.js → CasinoMysteryChestsList-BCt5kTEu.js} +15 -11
- package/components/{CasinoMysteryChestsList-BWhLEtIv.js → CasinoMysteryChestsList-Dgk8yph8.js} +15 -11
- package/components/CasinoMysteryChestsList-vIA1aihG.cjs +1 -0
- package/components/LotteryProgramWof-2uKUtUtX.cjs +36 -0
- package/components/{LotteryProgramWof-DS_7y7AG.js → LotteryProgramWof-Bl9g4LFs.js} +24 -19
- package/components/{LotteryProgramWof-DuRCFCZU.js → LotteryProgramWof-C7sU4ul6.js} +26 -21
- package/components/{PrizeEngineChest-xatQEE7N.js → PrizeEngineChest-BscvL2G2.js} +4 -4
- package/components/{PrizeEngineChest-3HydErvs.js → PrizeEngineChest-BxNo34h0.js} +9 -9
- package/components/{PrizeEngineChest-D5GP9RMA.cjs → PrizeEngineChest-DReP1Jx3.cjs} +1 -1
- package/components/{PrizeEngineCoin-Dg3f7bGF.js → PrizeEngineCoin-07Bd-H2W.js} +2 -2
- package/components/{PrizeEngineCoin-Dckvo_XF.js → PrizeEngineCoin-DECqfpUq.js} +2 -2
- package/components/{PrizeEngineCoin-C82FyeY0.cjs → PrizeEngineCoin-FH982iNd.cjs} +1 -1
- package/components/{PrizeEngineDetails-BB0SGxFi.js → PrizeEngineDetails-BigOQ2OZ.js} +6 -6
- package/components/{PrizeEngineDetails-BQA1SO2l.js → PrizeEngineDetails-CSUeKdXj.js} +6 -6
- package/components/{PrizeEngineDetails-Bao9-Oye.cjs → PrizeEngineDetails-qoNBtP1p.cjs} +1 -1
- package/components/{PrizeEngineHistory-DIQYyhHk.js → PrizeEngineHistory-B54lcRHT.js} +9 -9
- package/components/{PrizeEngineHistory-B04ivRsS.js → PrizeEngineHistory-BHIg8ZHN.js} +3 -3
- package/components/{PrizeEngineHistory-Dl6d4zuj.cjs → PrizeEngineHistory-DLsDw9dt.cjs} +1 -1
- package/components/{PrizeEngineList-RpWgCFmD.js → PrizeEngineList-BXb6Vsqg.js} +3 -3
- package/components/{PrizeEngineList-BK81yY2P.js → PrizeEngineList-DMrHtxzG.js} +24 -24
- package/components/{PrizeEngineList-BIPwh5TF.cjs → PrizeEngineList-h09yq3UZ.cjs} +1 -1
- package/components/{PrizeEngineLuckywheel-bj2XxP_s.js → PrizeEngineLuckywheel-BaGd6POo.js} +8 -8
- package/components/{PrizeEngineLuckywheel-CVZwhQqN.js → PrizeEngineLuckywheel-CINYE1tj.js} +3 -3
- package/components/{PrizeEngineLuckywheel-dhLjv163.cjs → PrizeEngineLuckywheel-Jk7qbg1J.cjs} +1 -1
- package/components/{PrizeEngineSuite-DGSCkXpp.cjs → PrizeEngineSuite-B4RHK0vY.cjs} +1 -1
- package/components/{PrizeEngineSuite-BklBOmZl.js → PrizeEngineSuite-C0qsnryj.js} +6 -6
- package/components/{PrizeEngineSuite-CDs4BHHC.js → PrizeEngineSuite-atxLGPvm.js} +21 -21
- package/components/{WheelSVG-CAVcHzKZ.js → WheelSVG-B0DquA4R.js} +2 -2
- package/components/{WheelSVG-Bg_uuWxQ.js → WheelSVG-BqxZ8-M0.js} +2 -2
- package/components/{WheelSVG-DUXll4su.cjs → WheelSVG-Dgettf4b.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/CasinoCoinroyaleContainer-CagaJdp_.cjs +0 -1
- package/components/CasinoCoinroyaleContainer-GxJmL0w6.js +0 -556
- package/components/CasinoCoinroyaleList-GC6L337P.cjs +0 -1
- package/components/CasinoMysteryChestContainer-DOZW_cjX.cjs +0 -18
- package/components/CasinoMysteryChestModal-ycWJSi2q.cjs +0 -1
- package/components/CasinoMysteryChestsList-CiH8VpkS.cjs +0 -1
- package/components/LotteryProgramWof-DSkIPUzM.cjs +0 -36
|
@@ -1,42 +1,46 @@
|
|
|
1
|
-
import { S as Re, b as Fe, s as Pe, f as $, d as Ie, n as ne, e as L, r as De, E as k, N as re, g as T,
|
|
2
|
-
import { a as Ee, $ as Ne,
|
|
1
|
+
import { S as Re, b as Fe, s as Pe, f as $, d as Ie, n as ne, e as L, r as De, E as k, N as re, g as T, q as s, t as q, m as u, h as w, F as C, p as c, k as Ae, o as Be, A as He, L as J, M as ae, j as de, l as fe, u as se, I as Oe, J as je, K as Ue, c as Ze } from "./CasinoGameOverlay-ZF7wW-MO.js";
|
|
2
|
+
import { a as Ee, $ as Ne, b as Ge, c as Ye } from "./CasinoMysteryChestContainer-B1dHnUTM.js";
|
|
3
3
|
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
4
|
-
import { a as We } from "./LotteryProgramWof-
|
|
4
|
+
import { a as We } from "./LotteryProgramWof-Bl9g4LFs.js";
|
|
5
5
|
const pe = (i) => window.postMessage(i, window.location.href), qe = "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", ge = "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%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.96967%203.96967C4.26256%203.67678%204.73744%203.67678%205.03033%203.96967L9%207.93934L12.9697%203.96967C13.2626%203.67678%2013.7374%203.67678%2014.0303%203.96967C14.3232%204.26256%2014.3232%204.73744%2014.0303%205.03033L10.0607%209L14.0303%2012.9697C14.3232%2013.2626%2014.3232%2013.7374%2014.0303%2014.0303C13.7374%2014.3232%2013.2626%2014.3232%2012.9697%2014.0303L9%2010.0607L5.03033%2014.0303C4.73744%2014.3232%204.26256%2014.3232%203.96967%2014.0303C3.67678%2013.7374%203.67678%2013.2626%203.96967%2012.9697L7.93934%209L3.96967%205.03033C3.67678%204.73744%203.67678%204.26256%203.96967%203.96967Z'%20fill='%23FF9B59'/%3e%3c/svg%3e", he = "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%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.1724%204.72381C15.4708%205.02223%2015.4708%205.50607%2015.1724%205.80449L7.70071%2013.2762C7.40229%2013.5746%206.91846%2013.5746%206.62004%2013.2762L3.22381%209.87996C2.9254%209.58154%202.9254%209.09771%203.22381%208.79929C3.52223%208.50087%204.00607%208.50087%204.30449%208.79929L7.16038%2011.6552L14.0917%204.72381C14.3902%204.4254%2014.874%204.4254%2015.1724%204.72381Z'%20fill='%2358DB4A'/%3e%3c/svg%3e", Je = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.9124%204.83736C11.1402%205.06516%2011.1402%205.43451%2010.9124%205.66232L7.41243%209.16232C7.18462%209.39012%206.81528%209.39012%206.58747%209.16232L3.08747%205.66232C2.85966%205.43451%202.85966%205.06516%203.08747%204.83736C3.31528%204.60955%203.68462%204.60955%203.91243%204.83736L6.99995%207.92488L10.0875%204.83736C10.3153%204.60955%2010.6846%204.60955%2010.9124%204.83736Z'%20fill='url(%23paint0_linear_738_1669)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_738_1669'%20x1='6.99995'%20y1='4.6665'%20x2='6.99995'%20y2='9.33317'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2375FFE9'/%3e%3cstop%20offset='1'%20stop-color='%23B2FF6D'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
6
6
|
var le = /* @__PURE__ */ ((i) => (i.lotteries = "lotteries", i.outcome = "outcome", i.history = "history", i.draw = "draw", i))(le || {}), oe = /* @__PURE__ */ ((i) => (i.en = "en", i.default = "*", i))(oe || {});
|
|
7
7
|
const Ke = async (i) => {
|
|
8
|
-
const { path: e, params:
|
|
9
|
-
return Object.keys(
|
|
10
|
-
t.searchParams.append(r,
|
|
11
|
-
}), await Ve(t,
|
|
8
|
+
const { path: e, params: o = {}, options: l = {} } = i, t = new URL(e);
|
|
9
|
+
return Object.keys(o).map((r) => {
|
|
10
|
+
t.searchParams.append(r, o[r]);
|
|
11
|
+
}), await Ve(t, l);
|
|
12
12
|
}, Ve = async (i, e = {}) => {
|
|
13
13
|
try {
|
|
14
|
-
const
|
|
15
|
-
return JSON.parse(
|
|
16
|
-
} catch (
|
|
17
|
-
return
|
|
14
|
+
const l = await (await fetch(i, e)).text();
|
|
15
|
+
return JSON.parse(l);
|
|
16
|
+
} catch (o) {
|
|
17
|
+
return o.message;
|
|
18
18
|
}
|
|
19
|
-
}, ue = async (i, e,
|
|
20
|
-
const { session:
|
|
19
|
+
}, ue = async (i, e, o) => {
|
|
20
|
+
const { session: l } = o, t = {
|
|
21
21
|
headers: {
|
|
22
22
|
"Content-Type": "application/json",
|
|
23
23
|
accept: "text/plain",
|
|
24
|
-
...
|
|
24
|
+
...l ? { "x-SessionId": l } : {}
|
|
25
25
|
}
|
|
26
26
|
}, n = {
|
|
27
|
-
[le.lotteries]: () =>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
[le.lotteries]: () => {
|
|
28
|
+
const { lang: a } = o;
|
|
29
|
+
return {
|
|
30
|
+
path: "/wof/lotteries",
|
|
31
|
+
params: {
|
|
32
|
+
filter: "Types[]=flipCoin",
|
|
33
|
+
lang: a
|
|
34
|
+
},
|
|
35
|
+
options: t
|
|
36
|
+
};
|
|
37
|
+
},
|
|
34
38
|
[le.history]: () => ({
|
|
35
39
|
path: "/wof/lotteryHistory",
|
|
36
40
|
options: t
|
|
37
41
|
}),
|
|
38
42
|
[le.outcome]: () => {
|
|
39
|
-
const { id: a } =
|
|
43
|
+
const { id: a } = o;
|
|
40
44
|
return {
|
|
41
45
|
path: `/wof/outcome/${a}`,
|
|
42
46
|
params: {
|
|
@@ -48,8 +52,8 @@ const Ke = async (i) => {
|
|
|
48
52
|
}[i]();
|
|
49
53
|
return n.path = e + "/v1" + n.path, await Ke(n);
|
|
50
54
|
}, me = {
|
|
51
|
-
lotteries: async (i, e) => (await ue(le.lotteries, i, { session: e }))?.items || [],
|
|
52
|
-
outcome: async (i, e,
|
|
55
|
+
lotteries: async (i, e, o) => (await ue(le.lotteries, i, { session: e, lang: o }))?.items || [],
|
|
56
|
+
outcome: async (i, e, o) => await ue(le.outcome, i, { session: e, id: o }),
|
|
53
57
|
history: async (i, e) => await ue(le.history, i, { session: e })
|
|
54
58
|
}, Xe = (i) => +i?.current?.remainingTimes > 0;
|
|
55
59
|
function _e(i, e) {
|
|
@@ -84,42 +88,42 @@ const be = {
|
|
|
84
88
|
function $e(i) {
|
|
85
89
|
Ie(i, "svelte-1tv2sur", `.main::-webkit-scrollbar{width:0.25rem}.main::-webkit-scrollbar-track{background:#1e1e24}.main::-webkit-scrollbar-thumb{color:#93CAED}.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile.drawer .Skeleton.Text{width:var(--emw-skeleton-text-width-100, 135px)}.mobile .tooltip-backdrop{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.mobile .tooltip-backdrop .tooltip{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .icon-button{width:24px;height:24px}.mobile .coins-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .coins-tabs{margin:20px 0}.mobile .coins-tabs__container{border-bottom:1px solid var(--emw--color-secondary, #729787)}.mobile .coins-tabs__tab{font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.mobile .coins-tabs__tab.active{border-bottom:1px solid}.mobile .coins-list{gap:16px}.mobile .coins-list__item{font-weight:var(--emw--font-weight-normal, 400);padding:20px;font-size:var(--emw--font-size-x-small, 12px);line-height:15px;border-radius:var(--emw--border-radius-large, 16px);height:56px}.mobile .coins-list__item__keys{gap:5px;font-size:var(--emw--font-size-medium, 16px)}.mobile .coins-loader{border-radius:var(--emw--border-radius-large, 16px);padding:20px;line-height:15px}.mobile .coins-rules{gap:24px}.mobile .coins-rules__description{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-rules__terms{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}.mobile .coins-rules__prize-title{font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-rules__list{padding-inline-start:15px;margin:5px 0 0}.mobile .coins-rules__list__item{margin-bottom:5px;font-size:var(--emw--font-size-x-small, 12px);line-height:24px}.mobile .coins-empty{margin-top:50px;font-size:var(--emw--font-size-x-small, 12px)}.mobile .coins-history__title{font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .coins-history__list{margin-bottom:32px}.mobile .coins-history__list__item{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px);line-height:14px;margin-bottom:12px}.mobile .coins-history__list__item .name img{width:14px;height:14px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:100;bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px}@container (max-width: 1300px){.drawer{padding:20px 40px}}@container (max-width: 992px){.drawer{width:70%}}@container (max-width: 768px){.drawer{width:80%}}@container (max-width: 576px){.drawer{width:90%}}.drawer .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)}.drawer .Skeleton.Text{width:var(--emw-skeleton-text-width-100, 155px)}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;bottom:0;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.help{background:center/100% no-repeat;background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.708 4.583a7.125 7.125 0 1 0 0 14.25 7.125 7.125 0 0 0 0-14.25ZM3 11.708a8.708 8.708 0 1 1 17.417 0 8.708 8.708 0 0 1-17.417 0Zm8.913-3.147a1.583 1.583 0 0 0-1.762 1.035.792.792 0 0 1-1.493-.525 3.167 3.167 0 0 1 6.154 1.055c0 1.211-.899 2.011-1.54 2.439a6.37 6.37 0 0 1-1.335.672l-.028.01-.008.002-.003.001h-.002l-.251-.75.25.751a.792.792 0 0 1-.5-1.502l.011-.004.06-.022a4.778 4.778 0 0 0 .928-.476c.545-.363.834-.75.834-1.122v-.001a1.583 1.583 0 0 0-1.315-1.563Zm-.996 7.106c0-.438.354-.792.791-.792h.008a.792.792 0 1 1 0 1.583h-.008a.792.792 0 0 1-.791-.791Z" fill="%23729787"/></svg>')}.icon-button.close{background:center/100% no-repeat;background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')}.tooltip-backdrop{box-sizing:border-box;z-index:200;position:absolute;width:100%;height:100%;inset:0;background-color:rgba(0, 0, 0, 0.5);padding:90px 30px 0;border-top-left-radius:72px;border-top-right-radius:72px}.tooltip-backdrop .tooltip{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:var(--emw--border-radius-large, 8px);line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.tooltip-backdrop .tooltip .icon-button{top:12px;right:12px;position:absolute}.coins-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.coins-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.coins-loader{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}.coins-history-loader{display:flex;flex-direction:column;gap:16px;margin-bottom:32px}.coins-history-loader-body{display:flex;justify-content:space-between}.coins-history-loader-left{display:flex}.coins-history-dot .Skeleton{border-radius:var(--emw--border-radius-large, 50%);margin-right:10px}.coins-history-text .Skeleton{margin-right:20px}.coins-tabs{margin:28px 0}.coins-tabs__container{display:flex;position:relative;border-bottom:2px solid var(--emw--color-secondary, #729787)}.coins-tabs__tab{padding:8px 10px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;flex-grow:1;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-tabs__tab.active{color:var(--emw--color-typography, #fff);border-image-source:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);border-image-slice:1;margin-bottom:-1px;border-bottom:2px solid}.coins-list{max-height:85%;overflow:auto;gap:24px;display:flex;flex-wrap:wrap}.coins-list__item{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-large, 22px);line-height:25px;padding:35px 48px;border-radius:var(--emw--border-radius-large, 28px);height:110px;color:var(--emw--color-primary, #d3ffed);width:100%;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--emw--color-background-secondary, #233e42);border:1px solid var(--emw--button-border-color-secondary, #244346);cursor:pointer}.coins-list__item__keys{display:flex;align-items:center;font-weight:var(--emw--font-weight-bold, 700);background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-size:var(--emw--font-size-large, 22px);gap:7px}.coins-rules{display:flex;flex-flow:column;gap:40px;color:var(--emw--color-primary-variant, #a9ccbe)}.coins-rules__description{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:32px}.coins-rules__terms{display:flex;gap:5px;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);border:none;padding:0;cursor:pointer;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.coins-rules__terms .arrow-icon{width:14px;height:14px;background:center/100% no-repeat;background-image:url('data:image/svg+xml,<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.41 7.744a.833.833 0 0 0 0 1.179l5 5a.833.833 0 0 0 1.18 0l5-5a.833.833 0 1 0-1.18-1.179L10 12.154l-4.41-4.41a.833.833 0 0 0-1.18 0Z" fill="url(%23a)"/><defs><linearGradient id="a" x1="10" y1="7.5" x2="10" y2="14.167" gradientUnits="userSpaceOnUse"><stop stop-color="%2375FFE9"/><stop offset="1" stop-color="%23B2FF6D"/></linearGradient></defs></svg>') no-repeat}.coins-rules__prize-title{color:#ffffff;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-rules__list{padding-inline-start:25px;margin:15px 0 0}.coins-rules__list__item{font-weight:var(--emw--font-weight-normal, 400);margin-bottom:12px;font-size:var(--emw--font-size-medium, 16px);line-height:32px}.coins-empty{text-align:center;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);line-height:24px;margin-top:75px;font-size:var(--emw--font-size-medium, 16px)}.coins-history__title{font-weight:var(--emw--font-weight-bold, 700);color:#ffffff;font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-bottom:16px}.coins-history__wrap{max-height:85%;overflow:auto;padding-right:10px;padding-bottom:50px}.coins-history__more{border:none;display:flex;gap:4px;padding:0;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;cursor:pointer;font-weight:var(--emw--font-weight-medium, 500);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.coins-history__list{margin-bottom:40px;overflow:auto;max-height:215px}.coins-history__list__item{display:flex;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:16px;margin-bottom:16px}.coins-history__list__item .index{margin-right:20px}.coins-history__list__item .name{flex-grow:1;margin:0;display:flex;gap:6px}.coins-history__list__item .name img{width:18px;height:18px}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--emw--color-gray-105, #1b2e31)}::-webkit-scrollbar-thumb:hover{background:var(--emw--color-gray-290, #284044)}`);
|
|
86
90
|
}
|
|
87
|
-
function we(i, e,
|
|
88
|
-
const
|
|
89
|
-
return
|
|
91
|
+
function we(i, e, o) {
|
|
92
|
+
const l = i.slice();
|
|
93
|
+
return l[43] = e[o], l;
|
|
90
94
|
}
|
|
91
|
-
function ve(i, e,
|
|
92
|
-
const
|
|
93
|
-
return
|
|
95
|
+
function ve(i, e, o) {
|
|
96
|
+
const l = i.slice();
|
|
97
|
+
return l[46] = e[o], l[48] = o, l;
|
|
94
98
|
}
|
|
95
|
-
function ye(i, e,
|
|
96
|
-
const
|
|
97
|
-
return
|
|
99
|
+
function ye(i, e, o) {
|
|
100
|
+
const l = i.slice();
|
|
101
|
+
return l[40] = e[o], l[42] = o, l;
|
|
98
102
|
}
|
|
99
|
-
function et(i, e,
|
|
100
|
-
const
|
|
101
|
-
return
|
|
103
|
+
function et(i, e, o) {
|
|
104
|
+
const l = i.slice();
|
|
105
|
+
return l[33] = e[o], l;
|
|
102
106
|
}
|
|
103
|
-
function tt(i, e,
|
|
104
|
-
const
|
|
105
|
-
return
|
|
107
|
+
function tt(i, e, o) {
|
|
108
|
+
const l = i.slice();
|
|
109
|
+
return l[33] = e[o], l;
|
|
106
110
|
}
|
|
107
|
-
function it(i, e,
|
|
108
|
-
const
|
|
109
|
-
return
|
|
111
|
+
function it(i, e, o) {
|
|
112
|
+
const l = i.slice();
|
|
113
|
+
return l[33] = e[o], l;
|
|
110
114
|
}
|
|
111
115
|
function xe(i) {
|
|
112
|
-
let e,
|
|
116
|
+
let e, o, l, t, r, n = (
|
|
113
117
|
/*$_*/
|
|
114
118
|
i[10]("infoTooltip") + ""
|
|
115
119
|
), a, g, p;
|
|
116
120
|
return {
|
|
117
121
|
c() {
|
|
118
|
-
e = u("div"),
|
|
122
|
+
e = u("div"), o = u("div"), l = u("button"), t = w(), r = u("span"), a = C(n), c(l, "class", "icon-button close"), c(o, "class", "tooltip"), c(e, "class", "tooltip-backdrop");
|
|
119
123
|
},
|
|
120
124
|
m(m, f) {
|
|
121
|
-
T(m, e, f), s(e,
|
|
122
|
-
|
|
125
|
+
T(m, e, f), s(e, o), s(o, l), s(o, t), s(o, r), s(r, a), g || (p = q(
|
|
126
|
+
l,
|
|
123
127
|
"click",
|
|
124
128
|
/*showHideToolip*/
|
|
125
129
|
i[13]
|
|
@@ -136,7 +140,7 @@ function xe(i) {
|
|
|
136
140
|
};
|
|
137
141
|
}
|
|
138
142
|
function ot(i) {
|
|
139
|
-
let e,
|
|
143
|
+
let e, o, l = (
|
|
140
144
|
/*$_*/
|
|
141
145
|
i[10]("rulesDescription") + ""
|
|
142
146
|
), t, r, n, a, g, p = (
|
|
@@ -172,15 +176,15 @@ function ot(i) {
|
|
|
172
176
|
);
|
|
173
177
|
return {
|
|
174
178
|
c() {
|
|
175
|
-
e = u("div"),
|
|
179
|
+
e = u("div"), o = u("span"), t = C(l), r = w(), F && F.c(), n = w(), a = u("section"), g = u("span"), m = C(p), f = w(), _ = u("ul"), h = u("li"), x = C(b), v = w(), z = u("li"), j = C(O), K = w(), M = u("li"), G = C(U), ee = w(), B = u("li"), Y = C(Z), V = w(), N = u("li"), S = C(W), X = w(), E = u("li"), y = C(I), d = w(), P = u("li"), D = C(H), te = w(), ie = u("li"), Q = C(ce), c(o, "class", "coins-rules__description"), c(g, "class", "coins-rules__prize-title"), c(h, "class", "coins-rules__list__item"), c(z, "class", "coins-rules__list__item"), c(M, "class", "coins-rules__list__item"), c(B, "class", "coins-rules__list__item"), c(N, "class", "coins-rules__list__item"), c(E, "class", "coins-rules__list__item"), c(P, "class", "coins-rules__list__item"), c(ie, "class", "coins-rules__list__item"), c(_, "class", "coins-rules__list"), c(e, "class", "coins-rules");
|
|
176
180
|
},
|
|
177
181
|
m(R, A) {
|
|
178
|
-
T(R, e, A), s(e,
|
|
182
|
+
T(R, e, A), s(e, o), s(o, t), s(e, r), F && F.m(e, null), s(e, n), s(e, a), s(a, g), s(g, m), s(a, f), s(a, _), s(_, h), s(h, x), s(_, v), s(_, z), s(z, j), s(_, K), s(_, M), s(M, G), s(_, ee), s(_, B), s(B, Y), s(_, V), s(_, N), s(N, S), s(_, X), s(_, E), s(E, y), s(_, d), s(_, P), s(P, D), s(_, te), s(_, ie), s(ie, Q);
|
|
179
183
|
},
|
|
180
184
|
p(R, A) {
|
|
181
185
|
A[0] & /*$_*/
|
|
182
|
-
1024 &&
|
|
183
|
-
R[10]("rulesDescription") + "") && k(t,
|
|
186
|
+
1024 && l !== (l = /*$_*/
|
|
187
|
+
R[10]("rulesDescription") + "") && k(t, l), /*hasUrl*/
|
|
184
188
|
R[8] ? F ? F.p(R, A) : (F = ke(R), F.c(), F.m(e, n)) : F && (F.d(1), F = null), A[0] & /*$_*/
|
|
185
189
|
1024 && p !== (p = /*$_*/
|
|
186
190
|
R[10]("prizeAgenda") + "") && k(m, p), A[0] & /*$_*/
|
|
@@ -208,13 +212,13 @@ function ot(i) {
|
|
|
208
212
|
}
|
|
209
213
|
function lt(i) {
|
|
210
214
|
let e;
|
|
211
|
-
function
|
|
215
|
+
function o(r, n) {
|
|
212
216
|
return (
|
|
213
217
|
/*coinRoyalesHistory*/
|
|
214
218
|
r[9].length > 0 ? ct : at
|
|
215
219
|
);
|
|
216
220
|
}
|
|
217
|
-
let
|
|
221
|
+
let l = o(i), t = l(i);
|
|
218
222
|
return {
|
|
219
223
|
c() {
|
|
220
224
|
t.c(), e = de();
|
|
@@ -223,7 +227,7 @@ function lt(i) {
|
|
|
223
227
|
t.m(r, n), T(r, e, n);
|
|
224
228
|
},
|
|
225
229
|
p(r, n) {
|
|
226
|
-
|
|
230
|
+
l === (l = o(r)) && t ? t.p(r, n) : (t.d(1), t = l(r), t && (t.c(), t.m(e.parentNode, e)));
|
|
227
231
|
},
|
|
228
232
|
d(r) {
|
|
229
233
|
r && L(e), t.d(r);
|
|
@@ -232,13 +236,13 @@ function lt(i) {
|
|
|
232
236
|
}
|
|
233
237
|
function nt(i) {
|
|
234
238
|
let e;
|
|
235
|
-
function
|
|
239
|
+
function o(r, n) {
|
|
236
240
|
return (
|
|
237
241
|
/*coinRoyales*/
|
|
238
242
|
r[6].length > 0 ? ft : mt
|
|
239
243
|
);
|
|
240
244
|
}
|
|
241
|
-
let
|
|
245
|
+
let l = o(i), t = l(i);
|
|
242
246
|
return {
|
|
243
247
|
c() {
|
|
244
248
|
t.c(), e = de();
|
|
@@ -247,7 +251,7 @@ function nt(i) {
|
|
|
247
251
|
t.m(r, n), T(r, e, n);
|
|
248
252
|
},
|
|
249
253
|
p(r, n) {
|
|
250
|
-
|
|
254
|
+
l === (l = o(r)) && t ? t.p(r, n) : (t.d(1), t = l(r), t && (t.c(), t.m(e.parentNode, e)));
|
|
251
255
|
},
|
|
252
256
|
d(r) {
|
|
253
257
|
r && L(e), t.d(r);
|
|
@@ -255,55 +259,55 @@ function nt(i) {
|
|
|
255
259
|
};
|
|
256
260
|
}
|
|
257
261
|
function rt(i) {
|
|
258
|
-
let e,
|
|
262
|
+
let e, o = J([1, 2, 3]), l = [];
|
|
259
263
|
for (let t = 0; t < 3; t += 1)
|
|
260
|
-
|
|
264
|
+
l[t] = gt(et(i, o, t));
|
|
261
265
|
return {
|
|
262
266
|
c() {
|
|
263
267
|
for (let t = 0; t < 3; t += 1)
|
|
264
|
-
|
|
268
|
+
l[t].c();
|
|
265
269
|
e = de();
|
|
266
270
|
},
|
|
267
271
|
m(t, r) {
|
|
268
272
|
for (let n = 0; n < 3; n += 1)
|
|
269
|
-
|
|
273
|
+
l[n] && l[n].m(t, r);
|
|
270
274
|
T(t, e, r);
|
|
271
275
|
},
|
|
272
276
|
p: ne,
|
|
273
277
|
d(t) {
|
|
274
|
-
t && L(e), ae(
|
|
278
|
+
t && L(e), ae(l, t);
|
|
275
279
|
}
|
|
276
280
|
};
|
|
277
281
|
}
|
|
278
282
|
function st(i) {
|
|
279
|
-
let e,
|
|
283
|
+
let e, o = J([1, 2, 3, 4, 5, 6, 7]), l = [];
|
|
280
284
|
for (let t = 0; t < 7; t += 1)
|
|
281
|
-
|
|
285
|
+
l[t] = ht(it(i, o, t));
|
|
282
286
|
return {
|
|
283
287
|
c() {
|
|
284
288
|
for (let t = 0; t < 7; t += 1)
|
|
285
|
-
|
|
289
|
+
l[t].c();
|
|
286
290
|
e = de();
|
|
287
291
|
},
|
|
288
292
|
m(t, r) {
|
|
289
293
|
for (let n = 0; n < 7; n += 1)
|
|
290
|
-
|
|
294
|
+
l[n] && l[n].m(t, r);
|
|
291
295
|
T(t, e, r);
|
|
292
296
|
},
|
|
293
297
|
p: ne,
|
|
294
298
|
d(t) {
|
|
295
|
-
t && L(e), ae(
|
|
299
|
+
t && L(e), ae(l, t);
|
|
296
300
|
}
|
|
297
301
|
};
|
|
298
302
|
}
|
|
299
303
|
function ke(i) {
|
|
300
|
-
let e,
|
|
304
|
+
let e, o, l = (
|
|
301
305
|
/*$_*/
|
|
302
306
|
i[10]("terms") + ""
|
|
303
307
|
), t, r, n;
|
|
304
308
|
return {
|
|
305
309
|
c() {
|
|
306
|
-
e = u("a"),
|
|
310
|
+
e = u("a"), o = u("span"), t = C(l), r = w(), n = u("span"), c(n, "class", "arrow-icon"), c(e, "class", "coins-rules__terms"), c(
|
|
307
311
|
e,
|
|
308
312
|
"href",
|
|
309
313
|
/*terms*/
|
|
@@ -311,12 +315,12 @@ function ke(i) {
|
|
|
311
315
|
), c(e, "target", "_blank");
|
|
312
316
|
},
|
|
313
317
|
m(a, g) {
|
|
314
|
-
T(a, e, g), s(e,
|
|
318
|
+
T(a, e, g), s(e, o), s(o, t), s(e, r), s(e, n);
|
|
315
319
|
},
|
|
316
320
|
p(a, g) {
|
|
317
321
|
g[0] & /*$_*/
|
|
318
|
-
1024 &&
|
|
319
|
-
a[10]("terms") + "") && k(t,
|
|
322
|
+
1024 && l !== (l = /*$_*/
|
|
323
|
+
a[10]("terms") + "") && k(t, l), g[0] & /*terms*/
|
|
320
324
|
1 && c(
|
|
321
325
|
e,
|
|
322
326
|
"href",
|
|
@@ -330,21 +334,21 @@ function ke(i) {
|
|
|
330
334
|
};
|
|
331
335
|
}
|
|
332
336
|
function at(i) {
|
|
333
|
-
let e,
|
|
337
|
+
let e, o = (
|
|
334
338
|
/*$_*/
|
|
335
339
|
i[10]("noHistoryYet") + ""
|
|
336
|
-
),
|
|
340
|
+
), l;
|
|
337
341
|
return {
|
|
338
342
|
c() {
|
|
339
|
-
e = u("div"),
|
|
343
|
+
e = u("div"), l = C(o), c(e, "class", "coins-empty");
|
|
340
344
|
},
|
|
341
345
|
m(t, r) {
|
|
342
|
-
T(t, e, r), s(e,
|
|
346
|
+
T(t, e, r), s(e, l);
|
|
343
347
|
},
|
|
344
348
|
p(t, r) {
|
|
345
349
|
r[0] & /*$_*/
|
|
346
|
-
1024 &&
|
|
347
|
-
t[10]("noHistoryYet") + "") && k(
|
|
350
|
+
1024 && o !== (o = /*$_*/
|
|
351
|
+
t[10]("noHistoryYet") + "") && k(l, o);
|
|
348
352
|
},
|
|
349
353
|
d(t) {
|
|
350
354
|
t && L(e);
|
|
@@ -352,63 +356,63 @@ function at(i) {
|
|
|
352
356
|
};
|
|
353
357
|
}
|
|
354
358
|
function ct(i) {
|
|
355
|
-
let e,
|
|
359
|
+
let e, o = J(
|
|
356
360
|
/*coinRoyalesHistory*/
|
|
357
361
|
i[9]
|
|
358
|
-
),
|
|
359
|
-
for (let t = 0; t <
|
|
360
|
-
|
|
362
|
+
), l = [];
|
|
363
|
+
for (let t = 0; t < o.length; t += 1)
|
|
364
|
+
l[t] = Le(we(i, o, t));
|
|
361
365
|
return {
|
|
362
366
|
c() {
|
|
363
367
|
e = u("div");
|
|
364
|
-
for (let t = 0; t <
|
|
365
|
-
|
|
368
|
+
for (let t = 0; t < l.length; t += 1)
|
|
369
|
+
l[t].c();
|
|
366
370
|
c(e, "class", "coins-history__wrap");
|
|
367
371
|
},
|
|
368
372
|
m(t, r) {
|
|
369
373
|
T(t, e, r);
|
|
370
|
-
for (let n = 0; n <
|
|
371
|
-
|
|
374
|
+
for (let n = 0; n < l.length; n += 1)
|
|
375
|
+
l[n] && l[n].m(e, null);
|
|
372
376
|
},
|
|
373
377
|
p(t, r) {
|
|
374
378
|
if (r[0] & /*showMore, coinRoyalesHistory, $_*/
|
|
375
379
|
17920) {
|
|
376
|
-
|
|
380
|
+
o = J(
|
|
377
381
|
/*coinRoyalesHistory*/
|
|
378
382
|
t[9]
|
|
379
383
|
);
|
|
380
384
|
let n;
|
|
381
|
-
for (n = 0; n <
|
|
382
|
-
const a = we(t,
|
|
383
|
-
|
|
385
|
+
for (n = 0; n < o.length; n += 1) {
|
|
386
|
+
const a = we(t, o, n);
|
|
387
|
+
l[n] ? l[n].p(a, r) : (l[n] = Le(a), l[n].c(), l[n].m(e, null));
|
|
384
388
|
}
|
|
385
|
-
for (; n <
|
|
386
|
-
|
|
387
|
-
|
|
389
|
+
for (; n < l.length; n += 1)
|
|
390
|
+
l[n].d(1);
|
|
391
|
+
l.length = o.length;
|
|
388
392
|
}
|
|
389
393
|
},
|
|
390
394
|
d(t) {
|
|
391
|
-
t && L(e), ae(
|
|
395
|
+
t && L(e), ae(l, t);
|
|
392
396
|
}
|
|
393
397
|
};
|
|
394
398
|
}
|
|
395
399
|
function dt(i) {
|
|
396
|
-
let e,
|
|
400
|
+
let e, o;
|
|
397
401
|
return {
|
|
398
402
|
c() {
|
|
399
|
-
e = u("img"), se(e.src,
|
|
400
|
-
i[46].assets) || c(e, "src",
|
|
403
|
+
e = u("img"), se(e.src, o = /*outcome*/
|
|
404
|
+
i[46].assets) || c(e, "src", o), c(e, "alt", "");
|
|
401
405
|
},
|
|
402
|
-
m(
|
|
403
|
-
T(
|
|
406
|
+
m(l, t) {
|
|
407
|
+
T(l, e, t);
|
|
404
408
|
},
|
|
405
|
-
p(
|
|
409
|
+
p(l, t) {
|
|
406
410
|
t[0] & /*coinRoyalesHistory*/
|
|
407
|
-
512 && !se(e.src,
|
|
408
|
-
|
|
411
|
+
512 && !se(e.src, o = /*outcome*/
|
|
412
|
+
l[46].assets) && c(e, "src", o);
|
|
409
413
|
},
|
|
410
|
-
d(
|
|
411
|
-
|
|
414
|
+
d(l) {
|
|
415
|
+
l && L(e);
|
|
412
416
|
}
|
|
413
417
|
};
|
|
414
418
|
}
|
|
@@ -416,26 +420,26 @@ function ut(i) {
|
|
|
416
420
|
let e = (
|
|
417
421
|
/*outcome*/
|
|
418
422
|
i[46].name + ""
|
|
419
|
-
),
|
|
423
|
+
), o;
|
|
420
424
|
return {
|
|
421
425
|
c() {
|
|
422
|
-
|
|
426
|
+
o = C(e);
|
|
423
427
|
},
|
|
424
|
-
m(
|
|
425
|
-
T(
|
|
428
|
+
m(l, t) {
|
|
429
|
+
T(l, o, t);
|
|
426
430
|
},
|
|
427
|
-
p(
|
|
431
|
+
p(l, t) {
|
|
428
432
|
t[0] & /*coinRoyalesHistory*/
|
|
429
433
|
512 && e !== (e = /*outcome*/
|
|
430
|
-
|
|
434
|
+
l[46].name + "") && k(o, e);
|
|
431
435
|
},
|
|
432
|
-
d(
|
|
433
|
-
|
|
436
|
+
d(l) {
|
|
437
|
+
l && L(o);
|
|
434
438
|
}
|
|
435
439
|
};
|
|
436
440
|
}
|
|
437
441
|
function Ce(i) {
|
|
438
|
-
let e,
|
|
442
|
+
let e, o, l, t, r, n, a, g, p, m = (
|
|
439
443
|
/*outcome*/
|
|
440
444
|
i[46]?.date + ""
|
|
441
445
|
), f;
|
|
@@ -448,12 +452,12 @@ function Ce(i) {
|
|
|
448
452
|
let h = _(i), b = h(i);
|
|
449
453
|
return {
|
|
450
454
|
c() {
|
|
451
|
-
e = u("div"),
|
|
452
|
-
i[48] + 1}`,
|
|
455
|
+
e = u("div"), o = u("span"), o.textContent = `${/*index*/
|
|
456
|
+
i[48] + 1}`, l = w(), t = u("p"), b.c(), r = w(), n = u("img"), g = w(), p = u("span"), f = C(m), c(o, "class", "index"), se(n.src, a = /*outcome*/
|
|
453
457
|
i[46]?.state ? he : ge) || c(n, "src", a), c(n, "alt", ""), c(t, "class", "name"), c(p, "class", "time"), c(e, "class", "coins-history__list__item");
|
|
454
458
|
},
|
|
455
459
|
m(x, v) {
|
|
456
|
-
T(x, e, v), s(e,
|
|
460
|
+
T(x, e, v), s(e, o), s(e, l), s(e, t), b.m(t, null), s(t, r), s(t, n), s(e, g), s(e, p), s(p, f);
|
|
457
461
|
},
|
|
458
462
|
p(x, v) {
|
|
459
463
|
h === (h = _(x)) && b ? b.p(x, v) : (b.d(1), b = h(x), b && (b.c(), b.m(t, r))), v[0] & /*coinRoyalesHistory*/
|
|
@@ -468,10 +472,10 @@ function Ce(i) {
|
|
|
468
472
|
};
|
|
469
473
|
}
|
|
470
474
|
function ze(i) {
|
|
471
|
-
let e,
|
|
475
|
+
let e, o = (
|
|
472
476
|
/*$_*/
|
|
473
477
|
i[10]("more") + ""
|
|
474
|
-
),
|
|
478
|
+
), l, t, r, n, a, g;
|
|
475
479
|
function p() {
|
|
476
480
|
return (
|
|
477
481
|
/*click_handler_1*/
|
|
@@ -483,15 +487,15 @@ function ze(i) {
|
|
|
483
487
|
}
|
|
484
488
|
return {
|
|
485
489
|
c() {
|
|
486
|
-
e = u("button"),
|
|
490
|
+
e = u("button"), l = C(o), t = w(), r = u("img"), se(r.src, n = Je) || c(r, "src", n), c(r, "alt", "More"), c(e, "class", "coins-history__more");
|
|
487
491
|
},
|
|
488
492
|
m(m, f) {
|
|
489
|
-
T(m, e, f), s(e,
|
|
493
|
+
T(m, e, f), s(e, l), s(e, t), s(e, r), a || (g = q(e, "click", p), a = !0);
|
|
490
494
|
},
|
|
491
495
|
p(m, f) {
|
|
492
496
|
i = m, f[0] & /*$_*/
|
|
493
|
-
1024 &&
|
|
494
|
-
i[10]("more") + "") && k(
|
|
497
|
+
1024 && o !== (o = /*$_*/
|
|
498
|
+
i[10]("more") + "") && k(l, o);
|
|
495
499
|
},
|
|
496
500
|
d(m) {
|
|
497
501
|
m && L(e), a = !1, g();
|
|
@@ -499,7 +503,7 @@ function ze(i) {
|
|
|
499
503
|
};
|
|
500
504
|
}
|
|
501
505
|
function Le(i) {
|
|
502
|
-
let e,
|
|
506
|
+
let e, o, l = (
|
|
503
507
|
/*history*/
|
|
504
508
|
i[43].name + ""
|
|
505
509
|
), t, r, n, a, g = J(
|
|
@@ -519,21 +523,21 @@ function Le(i) {
|
|
|
519
523
|
);
|
|
520
524
|
return {
|
|
521
525
|
c() {
|
|
522
|
-
e = u("div"),
|
|
526
|
+
e = u("div"), o = u("div"), t = C(l), r = w();
|
|
523
527
|
for (let f = 0; f < p.length; f += 1)
|
|
524
528
|
p[f].c();
|
|
525
|
-
n = w(), m && m.c(), a = w(), c(
|
|
529
|
+
n = w(), m && m.c(), a = w(), c(o, "class", "coins-history__title"), c(e, "class", "coins-history__list");
|
|
526
530
|
},
|
|
527
531
|
m(f, _) {
|
|
528
|
-
T(f, e, _), s(e,
|
|
532
|
+
T(f, e, _), s(e, o), s(o, t), s(e, r);
|
|
529
533
|
for (let h = 0; h < p.length; h += 1)
|
|
530
534
|
p[h] && p[h].m(e, null);
|
|
531
535
|
s(e, n), m && m.m(e, null), s(e, a);
|
|
532
536
|
},
|
|
533
537
|
p(f, _) {
|
|
534
538
|
if (_[0] & /*coinRoyalesHistory*/
|
|
535
|
-
512 &&
|
|
536
|
-
f[43].name + "") && k(t,
|
|
539
|
+
512 && l !== (l = /*history*/
|
|
540
|
+
f[43].name + "") && k(t, l), _[0] & /*coinRoyalesHistory*/
|
|
537
541
|
512) {
|
|
538
542
|
g = J(
|
|
539
543
|
/*history*/
|
|
@@ -562,21 +566,21 @@ function Le(i) {
|
|
|
562
566
|
};
|
|
563
567
|
}
|
|
564
568
|
function mt(i) {
|
|
565
|
-
let e,
|
|
569
|
+
let e, o = (
|
|
566
570
|
/*$_*/
|
|
567
571
|
i[10]("noCoinYet") + ""
|
|
568
|
-
),
|
|
572
|
+
), l;
|
|
569
573
|
return {
|
|
570
574
|
c() {
|
|
571
|
-
e = u("div"),
|
|
575
|
+
e = u("div"), l = C(o), c(e, "class", "coins-empty");
|
|
572
576
|
},
|
|
573
577
|
m(t, r) {
|
|
574
|
-
T(t, e, r), s(e,
|
|
578
|
+
T(t, e, r), s(e, l);
|
|
575
579
|
},
|
|
576
580
|
p(t, r) {
|
|
577
581
|
r[0] & /*$_*/
|
|
578
|
-
1024 &&
|
|
579
|
-
t[10]("noCoinYet") + "") && k(
|
|
582
|
+
1024 && o !== (o = /*$_*/
|
|
583
|
+
t[10]("noCoinYet") + "") && k(l, o);
|
|
580
584
|
},
|
|
581
585
|
d(t) {
|
|
582
586
|
t && L(e);
|
|
@@ -584,55 +588,55 @@ function mt(i) {
|
|
|
584
588
|
};
|
|
585
589
|
}
|
|
586
590
|
function ft(i) {
|
|
587
|
-
let e,
|
|
591
|
+
let e, o = J(
|
|
588
592
|
/*coinRoyales*/
|
|
589
593
|
i[6]
|
|
590
|
-
),
|
|
591
|
-
for (let t = 0; t <
|
|
592
|
-
|
|
594
|
+
), l = [];
|
|
595
|
+
for (let t = 0; t < o.length; t += 1)
|
|
596
|
+
l[t] = Te(ye(i, o, t));
|
|
593
597
|
return {
|
|
594
598
|
c() {
|
|
595
599
|
e = u("div");
|
|
596
|
-
for (let t = 0; t <
|
|
597
|
-
|
|
600
|
+
for (let t = 0; t < l.length; t += 1)
|
|
601
|
+
l[t].c();
|
|
598
602
|
c(e, "class", "coins-list");
|
|
599
603
|
},
|
|
600
604
|
m(t, r) {
|
|
601
605
|
T(t, e, r);
|
|
602
|
-
for (let n = 0; n <
|
|
603
|
-
|
|
606
|
+
for (let n = 0; n < l.length; n += 1)
|
|
607
|
+
l[n] && l[n].m(e, null);
|
|
604
608
|
},
|
|
605
609
|
p(t, r) {
|
|
606
610
|
if (r[0] & /*openCoinDetails, coinRoyales, lang*/
|
|
607
611
|
65602) {
|
|
608
|
-
|
|
612
|
+
o = J(
|
|
609
613
|
/*coinRoyales*/
|
|
610
614
|
t[6]
|
|
611
615
|
);
|
|
612
616
|
let n;
|
|
613
|
-
for (n = 0; n <
|
|
614
|
-
const a = ye(t,
|
|
615
|
-
|
|
617
|
+
for (n = 0; n < o.length; n += 1) {
|
|
618
|
+
const a = ye(t, o, n);
|
|
619
|
+
l[n] ? l[n].p(a, r) : (l[n] = Te(a), l[n].c(), l[n].m(e, null));
|
|
616
620
|
}
|
|
617
|
-
for (; n <
|
|
618
|
-
|
|
619
|
-
|
|
621
|
+
for (; n < l.length; n += 1)
|
|
622
|
+
l[n].d(1);
|
|
623
|
+
l.length = o.length;
|
|
620
624
|
}
|
|
621
625
|
},
|
|
622
626
|
d(t) {
|
|
623
|
-
t && L(e), ae(
|
|
627
|
+
t && L(e), ae(l, t);
|
|
624
628
|
}
|
|
625
629
|
};
|
|
626
630
|
}
|
|
627
631
|
function Te(i) {
|
|
628
|
-
let e,
|
|
632
|
+
let e, o = (
|
|
629
633
|
/*coin*/
|
|
630
634
|
(i[40].program.name[
|
|
631
635
|
/*lang*/
|
|
632
636
|
i[1]
|
|
633
637
|
] || /*coin*/
|
|
634
638
|
i[40].program.name[oe.default]) + ""
|
|
635
|
-
),
|
|
639
|
+
), l, t, r, n, a, g, p, m = (
|
|
636
640
|
/*coin*/
|
|
637
641
|
i[40]?.current?.remainingTimes + ""
|
|
638
642
|
), f, _, h, b;
|
|
@@ -647,19 +651,19 @@ function Te(i) {
|
|
|
647
651
|
}
|
|
648
652
|
return {
|
|
649
653
|
c() {
|
|
650
|
-
e = u("button"),
|
|
654
|
+
e = u("button"), l = C(o), t = w(), r = u("div"), n = u("img"), g = w(), p = u("span"), f = C(m), _ = w(), se(n.src, a = qe) || c(n, "src", a), c(n, "alt", "Key"), c(r, "class", "coins-list__item__keys"), c(e, "class", "coins-list__item");
|
|
651
655
|
},
|
|
652
656
|
m(v, z) {
|
|
653
|
-
T(v, e, z), s(e,
|
|
657
|
+
T(v, e, z), s(e, l), s(e, t), s(e, r), s(r, n), s(r, g), s(r, p), s(p, f), s(e, _), h || (b = q(e, "click", x), h = !0);
|
|
654
658
|
},
|
|
655
659
|
p(v, z) {
|
|
656
660
|
i = v, z[0] & /*coinRoyales, lang*/
|
|
657
|
-
66 &&
|
|
661
|
+
66 && o !== (o = /*coin*/
|
|
658
662
|
(i[40].program.name[
|
|
659
663
|
/*lang*/
|
|
660
664
|
i[1]
|
|
661
665
|
] || /*coin*/
|
|
662
|
-
i[40].program.name[oe.default]) + "") && k(
|
|
666
|
+
i[40].program.name[oe.default]) + "") && k(l, o), z[0] & /*coinRoyales*/
|
|
663
667
|
64 && m !== (m = /*coin*/
|
|
664
668
|
i[40]?.current?.remainingTimes + "") && k(f, m);
|
|
665
669
|
},
|
|
@@ -674,28 +678,28 @@ function pt(i) {
|
|
|
674
678
|
c() {
|
|
675
679
|
e = u("div"), e.innerHTML = '<div class="coins-history-loader-left"><ui-skeleton class="coins-history-dot" structure="rectangle" width="16px" height="16px"></ui-skeleton> <ui-skeleton class="coins-history-text" structure="text" height="16px"></ui-skeleton></div> <ui-skeleton structure="text" width="50px" height="16px"></ui-skeleton>', c(e, "class", "coins-history-loader-body");
|
|
676
680
|
},
|
|
677
|
-
m(
|
|
678
|
-
T(
|
|
681
|
+
m(o, l) {
|
|
682
|
+
T(o, e, l);
|
|
679
683
|
},
|
|
680
684
|
p: ne,
|
|
681
|
-
d(
|
|
682
|
-
|
|
685
|
+
d(o) {
|
|
686
|
+
o && L(e);
|
|
683
687
|
}
|
|
684
688
|
};
|
|
685
689
|
}
|
|
686
690
|
function gt(i) {
|
|
687
|
-
let e,
|
|
691
|
+
let e, o, l, t, r = J([1, 2, 3]), n = [];
|
|
688
692
|
for (let a = 0; a < 3; a += 1)
|
|
689
693
|
n[a] = pt(tt(i, r, a));
|
|
690
694
|
return {
|
|
691
695
|
c() {
|
|
692
|
-
e = u("div"),
|
|
696
|
+
e = u("div"), o = u("ui-skeleton"), l = w();
|
|
693
697
|
for (let a = 0; a < 3; a += 1)
|
|
694
698
|
n[a].c();
|
|
695
|
-
t = w(), fe(
|
|
699
|
+
t = w(), fe(o, "structure", "text"), fe(o, "height", "16px"), c(e, "class", "coins-history-loader");
|
|
696
700
|
},
|
|
697
701
|
m(a, g) {
|
|
698
|
-
T(a, e, g), s(e,
|
|
702
|
+
T(a, e, g), s(e, o), s(e, l);
|
|
699
703
|
for (let p = 0; p < 3; p += 1)
|
|
700
704
|
n[p] && n[p].m(e, null);
|
|
701
705
|
s(e, t);
|
|
@@ -712,17 +716,17 @@ function ht(i) {
|
|
|
712
716
|
c() {
|
|
713
717
|
e = u("div"), e.innerHTML = '<ui-skeleton structure="text" height="16px"></ui-skeleton> <ui-skeleton structure="rectangle" width="50px" height="16px"></ui-skeleton> ', c(e, "class", "coins-loader");
|
|
714
718
|
},
|
|
715
|
-
m(
|
|
716
|
-
T(
|
|
719
|
+
m(o, l) {
|
|
720
|
+
T(o, e, l);
|
|
717
721
|
},
|
|
718
722
|
p: ne,
|
|
719
|
-
d(
|
|
720
|
-
|
|
723
|
+
d(o) {
|
|
724
|
+
o && L(e);
|
|
721
725
|
}
|
|
722
726
|
};
|
|
723
727
|
}
|
|
724
728
|
function _t(i) {
|
|
725
|
-
let e,
|
|
729
|
+
let e, o, l, t, r, n, a, g, p, m = (
|
|
726
730
|
/*$_*/
|
|
727
731
|
i[10]("headerTitle") + ""
|
|
728
732
|
), f, _, h, b, x, v, z, O = (
|
|
@@ -756,7 +760,7 @@ function _t(i) {
|
|
|
756
760
|
let E = X(i), I = E(i);
|
|
757
761
|
return {
|
|
758
762
|
c() {
|
|
759
|
-
e = u("div"),
|
|
763
|
+
e = u("div"), o = u("button"), l = w(), t = u("div"), S && S.c(), r = w(), n = u("div"), a = u("button"), g = w(), p = u("div"), f = C(m), _ = w(), h = u("button"), b = w(), x = u("div"), v = u("div"), z = u("button"), j = C(O), K = w(), M = u("button"), G = C(U), ee = w(), B = u("button"), Y = C(Z), V = w(), I.c(), c(o, "class", "overlay"), c(a, "class", "icon-button help"), c(p, "class", "coins-header__title"), c(h, "class", "icon-button close"), c(n, "class", "coins-header"), c(z, "data-index", "1"), c(z, "class", "coins-tabs__tab"), re(
|
|
760
764
|
z,
|
|
761
765
|
"active",
|
|
762
766
|
/*activeTab*/
|
|
@@ -775,9 +779,9 @@ function _t(i) {
|
|
|
775
779
|
(i[11] ? "mobile" : "")), c(e, "part", "CustomStylingContainer");
|
|
776
780
|
},
|
|
777
781
|
m(y, d) {
|
|
778
|
-
T(y, e, d), s(e,
|
|
782
|
+
T(y, e, d), s(e, o), s(e, l), s(e, t), S && S.m(t, null), s(t, r), s(t, n), s(n, a), s(n, g), s(n, p), s(p, f), s(n, _), s(n, h), s(t, b), s(t, x), s(x, v), s(v, z), s(z, j), s(v, K), s(v, M), s(M, G), s(v, ee), s(v, B), s(B, Y), s(t, V), I.m(t, null), i[25](e), N || (W = [
|
|
779
783
|
q(
|
|
780
|
-
|
|
784
|
+
o,
|
|
781
785
|
"click",
|
|
782
786
|
/*onClose*/
|
|
783
787
|
i[12]
|
|
@@ -851,16 +855,16 @@ function _t(i) {
|
|
|
851
855
|
}
|
|
852
856
|
};
|
|
853
857
|
}
|
|
854
|
-
function bt(i, e,
|
|
855
|
-
let
|
|
856
|
-
Ae(i, Ye, (d) =>
|
|
858
|
+
function bt(i, e, o) {
|
|
859
|
+
let l;
|
|
860
|
+
Ae(i, Ye, (d) => o(10, l = d));
|
|
857
861
|
let { terms: t = "" } = e, { lang: r = oe.en } = e, { endpoint: n = "" } = e, { session: a = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: m = "" } = e, { mbsource: f } = e, _ = window.navigator.userAgent, h = Ge(_), b, x = 1, v = !1, z = !1, O = [], j = !1, K = !1, M, U;
|
|
858
862
|
const G = (d) => /(https?:\/\/[^\s]+)/g.test(d), ee = () => {
|
|
859
863
|
pe({ type: "CloseCoinRoyaleDrawer" });
|
|
860
864
|
}, B = () => {
|
|
861
|
-
|
|
865
|
+
o(7, j = !j);
|
|
862
866
|
}, Z = async () => {
|
|
863
|
-
|
|
867
|
+
o(4, v = !0);
|
|
864
868
|
const P = (await me.history(n, a))?.items?.map((D) => D.programID);
|
|
865
869
|
let H = O.filter((D) => !P || P.includes(D.program.id)).map((D) => ({
|
|
866
870
|
id: D.program.id,
|
|
@@ -892,16 +896,16 @@ function bt(i, e, l) {
|
|
|
892
896
|
});
|
|
893
897
|
await Promise.all(D);
|
|
894
898
|
}
|
|
895
|
-
|
|
899
|
+
o(9, M = H.filter((D) => !!D)), o(4, v = !1);
|
|
896
900
|
}, Y = async () => {
|
|
897
|
-
|
|
898
|
-
const d = await me.lotteries(n, a);
|
|
899
|
-
|
|
901
|
+
o(5, z = !0);
|
|
902
|
+
const d = await me.lotteries(n, a, r);
|
|
903
|
+
o(6, O = d.filter((P) => Xe(P))), o(5, z = !1);
|
|
900
904
|
}, V = (d) => {
|
|
901
905
|
const P = M.findIndex((H) => H.id === d);
|
|
902
|
-
|
|
906
|
+
o(9, M[P].endPos = M[P].outcomes?.length, M);
|
|
903
907
|
}, N = async (d) => {
|
|
904
|
-
|
|
908
|
+
o(3, x = +d.target.getAttribute("data-index")), x === 2 && await Z();
|
|
905
909
|
}, W = () => {
|
|
906
910
|
fetch(m).then((P) => P.json()).then((P) => {
|
|
907
911
|
Object.keys(P).forEach((H) => {
|
|
@@ -921,18 +925,18 @@ function bt(i, e, l) {
|
|
|
921
925
|
});
|
|
922
926
|
};
|
|
923
927
|
Be(() => {
|
|
924
|
-
|
|
928
|
+
o(8, K = G(t)), Y();
|
|
925
929
|
});
|
|
926
930
|
const E = (d) => {
|
|
927
931
|
X(d);
|
|
928
932
|
}, I = (d) => V(d.id);
|
|
929
933
|
function y(d) {
|
|
930
934
|
He[d ? "unshift" : "push"](() => {
|
|
931
|
-
b = d,
|
|
935
|
+
b = d, o(2, b);
|
|
932
936
|
});
|
|
933
937
|
}
|
|
934
938
|
return i.$$set = (d) => {
|
|
935
|
-
"terms" in d &&
|
|
939
|
+
"terms" in d && o(0, t = d.terms), "lang" in d && o(1, r = d.lang), "endpoint" in d && o(17, n = d.endpoint), "session" in d && o(18, a = d.session), "clientstyling" in d && o(19, g = d.clientstyling), "clientstylingurl" in d && o(20, p = d.clientstylingurl), "translationurl" in d && o(21, m = d.translationurl), "mbsource" in d && o(22, f = d.mbsource);
|
|
936
940
|
}, i.$$.update = () => {
|
|
937
941
|
i.$$.dirty[0] & /*lang*/
|
|
938
942
|
2 && r && S(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
@@ -951,7 +955,7 @@ function bt(i, e, l) {
|
|
|
951
955
|
j,
|
|
952
956
|
K,
|
|
953
957
|
M,
|
|
954
|
-
|
|
958
|
+
l,
|
|
955
959
|
h,
|
|
956
960
|
ee,
|
|
957
961
|
B,
|