@everymatrix/casino-lobby 1.45.0 → 1.45.3
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/{CasinoCalendar-DEhfBjpm.js → CasinoCalendar-3HRZGpnG.js} +57 -61
- package/components/{CasinoCalendar-egUFg4eK.cjs → CasinoCalendar-9cVNHt1-.cjs} +5 -5
- package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
- package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
- package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
- package/components/{CasinoCategoriesSlider-BfuTLKom.cjs → CasinoCategoriesSlider-AAgG2_xb.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BQvWcqNm.js → CasinoCategoriesSlider-B3Aneyii.js} +2 -2
- package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
- package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
- package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
- package/components/{CasinoFavoritesSection-BBWM7_dI.js → CasinoFavoritesSection-DE0M_xZ_.js} +8 -8
- package/components/CasinoFilter-BWEtfBml.js +628 -0
- package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
- package/components/{CasinoGamePage-BHxY5XUD.cjs → CasinoGamePage-C4x_GUg3.cjs} +5 -5
- package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
- package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
- package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
- package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
- package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
- package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
- package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
- package/components/{CasinoLastPlayedSection-Dkh43VxC.js → CasinoLastPlayedSection-CAirOYgJ.js} +31 -31
- package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
- package/components/{CasinoLobby-Djp4HDWL.js → CasinoLobby-Cq0Hm2md.js} +88 -92
- package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
- package/components/CasinoModal-CZbdtmLm.js +372 -0
- package/components/CasinoModal-DqBbtAjA.cjs +1 -0
- package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
- package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js} +58 -58
- package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
- package/components/{CasinoMyGames-CILl0Jt1.js → CasinoMyGames-DcJpzIEq.js} +385 -385
- package/components/{CasinoPage-CCcJd2fQ.js → CasinoPage-BbRpHGEc.js} +1171 -1171
- package/components/CasinoPage-srXwB6ik.cjs +1 -0
- package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
- package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
- package/components/CasinoSearch-BsgUvsbs.js +1062 -0
- package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
- package/components/CasinoSlider-D5B-CjPM.js +803 -0
- package/components/CasinoSlider-kzZxK81G.cjs +1 -0
- package/components/CasinoSort-9pQqbHyF.cjs +1 -0
- package/components/CasinoSort-T6UQhFka.js +425 -0
- package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
- package/components/CasinoWinners-auSd-4D9.js +884 -0
- package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
- package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +2 -2
- package/components/CasinoCalendarDailyDetails-CfTziMCu.js +0 -605
- package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +0 -1
- package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +0 -1
- package/components/CasinoCalendarDailyItem-CQ8syIIe.js +0 -220
- package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-CwJY8Pmw.js +0 -659
- package/components/CasinoFavoritesSection-Da0-zSyn.cjs +0 -1
- package/components/CasinoFilter-BkpU5f2V.cjs +0 -1
- package/components/CasinoFilter-D3p7c7qu.js +0 -628
- package/components/CasinoGamePage-Bp4OKmdA.js +0 -4282
- package/components/CasinoGameThumbnail-BmmqFK_6.js +0 -1822
- package/components/CasinoGameThumbnail-DVMHCqZf.cjs +0 -38
- package/components/CasinoGamesCategorySection-6X3_pD0A.js +0 -3022
- package/components/CasinoGamesCategorySection-CasxxP7n.cjs +0 -1
- package/components/CasinoJackpotBanner-8_TAP4xY.cjs +0 -1
- package/components/CasinoJackpotBanner-wk2wOmJp.js +0 -619
- package/components/CasinoLastPlayedSection-DvORiff-.cjs +0 -1
- package/components/CasinoLobby-Jn45jhzr.cjs +0 -1
- package/components/CasinoModal-BebrYWjS.cjs +0 -1
- package/components/CasinoModal-CSwMAX-g.js +0 -372
- package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +0 -1
- package/components/CasinoMyGames-shcqTml8.cjs +0 -1
- package/components/CasinoPage-DZmE3VFL.cjs +0 -1
- package/components/CasinoRandomGame-4mi3rRbq.js +0 -641
- package/components/CasinoRandomGame-G4VfFJ2L.cjs +0 -2
- package/components/CasinoSearch-CW-eesDy.cjs +0 -1
- package/components/CasinoSearch-DkEAmw-j.js +0 -1066
- package/components/CasinoSlider-CNWDP_I-.js +0 -803
- package/components/CasinoSlider-CjA8vWoz.cjs +0 -1
- package/components/CasinoSort-BVh0Ouwu.cjs +0 -1
- package/components/CasinoSort-CPcJqhWU.js +0 -425
- package/components/CasinoWinners-BTNdGlUD.cjs +0 -1
- package/components/CasinoWinners-DSsJp1KQ.js +0 -884
- package/components/GeneralAnimationLoading-BtIh_bSy.js +0 -75
- package/components/GeneralAnimationLoading-CEAKVCu9.cjs +0 -1
|
@@ -1,619 +0,0 @@
|
|
|
1
|
-
import { I as Te, $ as Se, S as We, i as Ae, f as x, c as Ie, s as Ve, b as Je, e as r, d as s, g as M, C as qe, k as R, m as Ne, n as ze, r as D, G as me, D as V, Y as ke, v as i, w as Ue, u as S, A as W, q as Ce, F as Ee, B as De } from "./CasinoCalendar-DEhfBjpm.js";
|
|
2
|
-
function we(a, e) {
|
|
3
|
-
Te(a, e);
|
|
4
|
-
}
|
|
5
|
-
function Be(a) {
|
|
6
|
-
Se.set(a);
|
|
7
|
-
}
|
|
8
|
-
const Le = {
|
|
9
|
-
en: {
|
|
10
|
-
loadingText: "Loading, please wait..."
|
|
11
|
-
},
|
|
12
|
-
"zh-hk": {
|
|
13
|
-
loadingText: "加载请稍候 ..."
|
|
14
|
-
},
|
|
15
|
-
fr: {
|
|
16
|
-
loadingText: "Chargement, veuillez patienter..."
|
|
17
|
-
},
|
|
18
|
-
ro: {
|
|
19
|
-
loadingText: "Se incarca, va rugam asteptati..."
|
|
20
|
-
},
|
|
21
|
-
es: {
|
|
22
|
-
loadingText: "Cargando"
|
|
23
|
-
},
|
|
24
|
-
pt: {
|
|
25
|
-
loadingText: "Carregando, por favor espere..."
|
|
26
|
-
},
|
|
27
|
-
de: {
|
|
28
|
-
loadingText: "Laden, bitte warten..."
|
|
29
|
-
},
|
|
30
|
-
hr: {
|
|
31
|
-
loadingText: "Učitavanje"
|
|
32
|
-
},
|
|
33
|
-
"pt-br": {
|
|
34
|
-
CarregandoText: "Carregando"
|
|
35
|
-
},
|
|
36
|
-
"es-mx": {
|
|
37
|
-
CargandoText: "Cargando, por favor espere…"
|
|
38
|
-
},
|
|
39
|
-
tr: {
|
|
40
|
-
loadingText: "Yükleniyor, lütfen bekleyin..."
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
function Me(a) {
|
|
44
|
-
Je(a, "svelte-h3d1qc", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}.svelte-h3d1qc.svelte-h3d1qc,.svelte-h3d1qc.svelte-h3d1qc::before,.svelte-h3d1qc.svelte-h3d1qc::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper.svelte-h3d1qc.svelte-h3d1qc{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo.svelte-h3d1qc.svelte-h3d1qc{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard.svelte-h3d1qc.svelte-h3d1qc{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard.svelte-h3d1qc .iconWrapper.svelte-h3d1qc{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard.svelte-h3d1qc .displayCardIcon.svelte-h3d1qc{height:100%;width:auto}.displayCard.svelte-h3d1qc .cardLabel.svelte-h3d1qc{font-size:0.8rem;font-style:italic}.displayCard.svelte-h3d1qc .cardTextWrapper.svelte-h3d1qc{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title.svelte-h3d1qc.svelte-h3d1qc{grid-area:title;display:flex;align-items:center}.title.svelte-h3d1qc img.svelte-h3d1qc{height:50px}.displayContainer.svelte-h3d1qc.svelte-h3d1qc{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer.svelte-h3d1qc .jackpotValue.svelte-h3d1qc{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer.svelte-h3d1qc .jackpot-currency.svelte-h3d1qc{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper.svelte-h3d1qc.svelte-h3d1qc{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread.svelte-h3d1qc.svelte-h3d1qc{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile.svelte-h3d1qc.svelte-h3d1qc{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread.svelte-h3d1qc .pairWrapper.svelte-h3d1qc{justify-content:center}.typeSpread.svelte-h3d1qc .vendorLogo.svelte-h3d1qc{justify-content:flex-end}.typeSpread.svelte-h3d1qc .title.svelte-h3d1qc{justify-content:flex-start}.typeSpread.svelte-h3d1qc .displayContainer.svelte-h3d1qc{justify-content:space-evenly}.typeLeft.svelte-h3d1qc.svelte-h3d1qc{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile.svelte-h3d1qc.svelte-h3d1qc{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile.svelte-h3d1qc .displayContainer.svelte-h3d1qc{margin-top:50px;gap:2.6rem}.typeLeft.svelte-h3d1qc .displayContainer.svelte-h3d1qc{padding-left:2rem;width:auto;gap:2rem}.typeLeft.svelte-h3d1qc .pairWrapper.svelte-h3d1qc{justify-content:space-evenly}.typeLeft.svelte-h3d1qc .title.svelte-h3d1qc{align-items:flex-end}.typeLeft.svelte-h3d1qc .vendorLogo.svelte-h3d1qc{height:44px;width:auto}.mobile.svelte-h3d1qc.svelte-h3d1qc{grid-template-columns:1fr;grid-gap:1rem}.mobile.svelte-h3d1qc .title.svelte-h3d1qc{justify-content:center;align-items:center}.mobile.svelte-h3d1qc .title img.svelte-h3d1qc{height:80px}.mobile.svelte-h3d1qc .displayContainer.svelte-h3d1qc{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile.svelte-h3d1qc .vendorLogo.svelte-h3d1qc{justify-content:center;align-items:center}.mobile.svelte-h3d1qc .displayCard.svelte-h3d1qc{width:40vw}.tablet.svelte-h3d1qc .displayContainer.svelte-h3d1qc{flex-wrap:wrap}.DisplayNone.svelte-h3d1qc.svelte-h3d1qc{display:none}.loadingPrompt.svelte-h3d1qc.svelte-h3d1qc{color:#333}.LoadingSpinner.svelte-h3d1qc.svelte-h3d1qc{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner.svelte-h3d1qc.svelte-h3d1qc:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:svelte-h3d1qc-LoadingSpinner 1.2s linear infinite}@keyframes svelte-h3d1qc-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
45
|
-
}
|
|
46
|
-
function xe(a, e, t) {
|
|
47
|
-
const n = a.slice();
|
|
48
|
-
return n[48] = e[t], n[50] = t, n;
|
|
49
|
-
}
|
|
50
|
-
function Re(a) {
|
|
51
|
-
let e, t, n, c, h, d, C, k, g, w, y, j, T, q, A;
|
|
52
|
-
function f(o, L) {
|
|
53
|
-
return (
|
|
54
|
-
/*tabletView*/
|
|
55
|
-
o[5] ? Fe : Pe
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
let v = f(a), u = v(a);
|
|
59
|
-
return {
|
|
60
|
-
c() {
|
|
61
|
-
e = r("div"), t = r("div"), n = r("div"), c = r("div"), h = D(), d = r("div"), u.c(), C = D(), k = r("div"), g = r("img"), s(c, "class", "vendorLogo svelte-h3d1qc"), me(c, "background-image", "url(" + /*vendorIcon*/
|
|
62
|
-
a[6] + ")"), s(d, "class", "displayContainer svelte-h3d1qc"), V(g.src, w = /*titleLogoImg*/
|
|
63
|
-
a[11]) || s(g, "src", w), s(g, "alt", ""), s(g, "class", "svelte-h3d1qc"), s(k, "class", "title svelte-h3d1qc"), s(n, "class", y = "mainWrapper " + /*visualstructure*/
|
|
64
|
-
a[0] + " " + /*mobileView*/
|
|
65
|
-
(a[4] && !/*tabletView*/
|
|
66
|
-
a[5] ? "mobile" : (
|
|
67
|
-
/*tabletView*/
|
|
68
|
-
a[5] ? "tablet" : ""
|
|
69
|
-
)) + " svelte-h3d1qc"), me(n, "background", "url(" + /*backgroundImg*/
|
|
70
|
-
a[10] + ")"), s(t, "class", "jackpotBanner svelte-h3d1qc"), s(e, "class", j = ke(
|
|
71
|
-
/*displayNone*/
|
|
72
|
-
a[12] ? "DisplayNone" : ""
|
|
73
|
-
) + " svelte-h3d1qc"), s(e, "part", T = /*displayNone*/
|
|
74
|
-
a[12] ? "DisplayNone" : "");
|
|
75
|
-
},
|
|
76
|
-
m(o, L) {
|
|
77
|
-
M(o, e, L), i(e, t), i(t, n), i(n, c), i(n, h), i(n, d), u.m(d, null), i(n, C), i(n, k), i(k, g), q || (A = Ue(
|
|
78
|
-
t,
|
|
79
|
-
"click",
|
|
80
|
-
/*click_handler*/
|
|
81
|
-
a[31]
|
|
82
|
-
), q = !0);
|
|
83
|
-
},
|
|
84
|
-
p(o, L) {
|
|
85
|
-
L[0] & /*vendorIcon*/
|
|
86
|
-
64 && me(c, "background-image", "url(" + /*vendorIcon*/
|
|
87
|
-
o[6] + ")"), v === (v = f(o)) && u ? u.p(o, L) : (u.d(1), u = v(o), u && (u.c(), u.m(d, null))), L[0] & /*titleLogoImg*/
|
|
88
|
-
2048 && !V(g.src, w = /*titleLogoImg*/
|
|
89
|
-
o[11]) && s(g, "src", w), L[0] & /*visualstructure, mobileView, tabletView*/
|
|
90
|
-
49 && y !== (y = "mainWrapper " + /*visualstructure*/
|
|
91
|
-
o[0] + " " + /*mobileView*/
|
|
92
|
-
(o[4] && !/*tabletView*/
|
|
93
|
-
o[5] ? "mobile" : (
|
|
94
|
-
/*tabletView*/
|
|
95
|
-
o[5] ? "tablet" : ""
|
|
96
|
-
)) + " svelte-h3d1qc") && s(n, "class", y), L[0] & /*backgroundImg*/
|
|
97
|
-
1024 && me(n, "background", "url(" + /*backgroundImg*/
|
|
98
|
-
o[10] + ")"), L[0] & /*displayNone*/
|
|
99
|
-
4096 && j !== (j = ke(
|
|
100
|
-
/*displayNone*/
|
|
101
|
-
o[12] ? "DisplayNone" : ""
|
|
102
|
-
) + " svelte-h3d1qc") && s(e, "class", j), L[0] & /*displayNone*/
|
|
103
|
-
4096 && T !== (T = /*displayNone*/
|
|
104
|
-
o[12] ? "DisplayNone" : "") && s(e, "part", T);
|
|
105
|
-
},
|
|
106
|
-
d(o) {
|
|
107
|
-
o && R(e), u.d(), q = !1, A();
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
function He(a) {
|
|
112
|
-
let e;
|
|
113
|
-
return {
|
|
114
|
-
c() {
|
|
115
|
-
e = r("div"), s(e, "class", "LoadingSpinner svelte-h3d1qc"), s(e, "part", "LoadingSpinner");
|
|
116
|
-
},
|
|
117
|
-
m(t, n) {
|
|
118
|
-
M(t, e, n);
|
|
119
|
-
},
|
|
120
|
-
p: qe,
|
|
121
|
-
d(t) {
|
|
122
|
-
t && R(e);
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
function Oe(a) {
|
|
127
|
-
let e;
|
|
128
|
-
return {
|
|
129
|
-
c() {
|
|
130
|
-
e = r("p"), e.textContent = "500 Server error", s(e, "class", "svelte-h3d1qc");
|
|
131
|
-
},
|
|
132
|
-
m(t, n) {
|
|
133
|
-
M(t, e, n);
|
|
134
|
-
},
|
|
135
|
-
p: qe,
|
|
136
|
-
d(t) {
|
|
137
|
-
t && R(e);
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
function Fe(a) {
|
|
142
|
-
let e, t, n, c, h, d, C = (
|
|
143
|
-
/*formattedLabels*/
|
|
144
|
-
a[8][0] + ""
|
|
145
|
-
), k, g, w, y = (
|
|
146
|
-
/*formattedJackpotValues*/
|
|
147
|
-
a[7][0] + ""
|
|
148
|
-
), j, T, q, A, f, v, u, o, L, H, O = (
|
|
149
|
-
/*formattedLabels*/
|
|
150
|
-
a[8][1] + ""
|
|
151
|
-
), $, z, B, Y = (
|
|
152
|
-
/*formattedJackpotValues*/
|
|
153
|
-
a[7][1] + ""
|
|
154
|
-
), ee, ce, K, te, J, N, U, F, I, le, P, se = (
|
|
155
|
-
/*formattedLabels*/
|
|
156
|
-
a[8][2] + ""
|
|
157
|
-
), re, G, ae, ie = (
|
|
158
|
-
/*formattedJackpotValues*/
|
|
159
|
-
a[7][2] + ""
|
|
160
|
-
), de, pe, Q, oe, ue, X, Z, E, l, p, b = (
|
|
161
|
-
/*formattedLabels*/
|
|
162
|
-
a[8][3] + ""
|
|
163
|
-
), he, ne, ge, fe = (
|
|
164
|
-
/*formattedJackpotValues*/
|
|
165
|
-
a[7][3] + ""
|
|
166
|
-
), ye, _e, ve, be;
|
|
167
|
-
return {
|
|
168
|
-
c() {
|
|
169
|
-
e = r("div"), t = r("div"), n = r("div"), c = r("img"), d = r("span"), k = S(C), g = r("span"), w = r("span"), j = S(y), T = D(), q = r("span"), A = S(
|
|
170
|
-
/*currency*/
|
|
171
|
-
a[1]
|
|
172
|
-
), f = D(), v = r("div"), u = r("div"), o = r("img"), H = r("span"), $ = S(O), z = r("span"), B = r("span"), ee = S(Y), ce = D(), K = r("span"), te = S(
|
|
173
|
-
/*currency*/
|
|
174
|
-
a[1]
|
|
175
|
-
), J = D(), N = r("div"), U = r("div"), F = r("div"), I = r("img"), P = r("span"), re = S(se), G = r("span"), ae = r("span"), de = S(ie), pe = D(), Q = r("span"), oe = S(
|
|
176
|
-
/*currency*/
|
|
177
|
-
a[1]
|
|
178
|
-
), ue = D(), X = r("div"), Z = r("div"), E = r("img"), p = r("span"), he = S(b), ne = r("span"), ge = r("span"), ye = S(fe), _e = D(), ve = r("span"), be = S(
|
|
179
|
-
/*currency*/
|
|
180
|
-
a[1]
|
|
181
|
-
), s(c, "class", "displayCardIcon svelte-h3d1qc"), V(c.src, h = /*caticons*/
|
|
182
|
-
a[9][0]) || s(c, "src", h), s(c, "alt", ""), s(d, "class", "cardLabel svelte-h3d1qc"), s(n, "class", "iconWrapper svelte-h3d1qc"), s(w, "class", "jackpotValue svelte-h3d1qc"), s(q, "class", "jackpot-currency svelte-h3d1qc"), s(g, "class", "cardTextWrapper svelte-h3d1qc"), s(t, "class", "displayCard svelte-h3d1qc"), s(o, "class", "displayCardIcon svelte-h3d1qc"), V(o.src, L = /*caticons*/
|
|
183
|
-
a[9][1]) || s(o, "src", L), s(o, "alt", ""), s(H, "class", "cardLabel svelte-h3d1qc"), s(u, "class", "iconWrapper svelte-h3d1qc"), s(B, "class", "jackpotValue svelte-h3d1qc"), s(K, "class", "jackpot-currency svelte-h3d1qc"), s(z, "class", "cardTextWrapper svelte-h3d1qc"), s(v, "class", "displayCard svelte-h3d1qc"), s(e, "class", "pairWrapper svelte-h3d1qc"), s(I, "class", "displayCardIcon svelte-h3d1qc"), V(I.src, le = /*caticons*/
|
|
184
|
-
a[9][2]) || s(I, "src", le), s(I, "alt", ""), s(P, "class", "cardLabel svelte-h3d1qc"), s(F, "class", "iconWrapper svelte-h3d1qc"), s(ae, "class", "jackpotValue svelte-h3d1qc"), s(Q, "class", "jackpot-currency svelte-h3d1qc"), s(G, "class", "cardTextWrapper svelte-h3d1qc"), s(U, "class", "displayCard svelte-h3d1qc"), s(E, "class", "displayCardIcon svelte-h3d1qc"), V(E.src, l = /*caticons*/
|
|
185
|
-
a[9][3]) || s(E, "src", l), s(E, "alt", ""), s(p, "class", "cardLabel svelte-h3d1qc"), s(Z, "class", "iconWrapper svelte-h3d1qc"), s(ge, "class", "jackpotValue svelte-h3d1qc"), s(ve, "class", "jackpot-currency svelte-h3d1qc"), s(ne, "class", "cardTextWrapper svelte-h3d1qc"), s(X, "class", "displayCard svelte-h3d1qc"), s(N, "class", "pairWrapper svelte-h3d1qc");
|
|
186
|
-
},
|
|
187
|
-
m(m, _) {
|
|
188
|
-
M(m, e, _), i(e, t), i(t, n), i(n, c), i(n, d), i(d, k), i(t, g), i(g, w), i(w, j), i(g, T), i(g, q), i(q, A), i(e, f), i(e, v), i(v, u), i(u, o), i(u, H), i(H, $), i(v, z), i(z, B), i(B, ee), i(z, ce), i(z, K), i(K, te), M(m, J, _), M(m, N, _), i(N, U), i(U, F), i(F, I), i(F, P), i(P, re), i(U, G), i(G, ae), i(ae, de), i(G, pe), i(G, Q), i(Q, oe), i(N, ue), i(N, X), i(X, Z), i(Z, E), i(Z, p), i(p, he), i(X, ne), i(ne, ge), i(ge, ye), i(ne, _e), i(ne, ve), i(ve, be);
|
|
189
|
-
},
|
|
190
|
-
p(m, _) {
|
|
191
|
-
_[0] & /*caticons*/
|
|
192
|
-
512 && !V(c.src, h = /*caticons*/
|
|
193
|
-
m[9][0]) && s(c, "src", h), _[0] & /*formattedLabels*/
|
|
194
|
-
256 && C !== (C = /*formattedLabels*/
|
|
195
|
-
m[8][0] + "") && W(k, C), _[0] & /*formattedJackpotValues*/
|
|
196
|
-
128 && y !== (y = /*formattedJackpotValues*/
|
|
197
|
-
m[7][0] + "") && W(j, y), _[0] & /*currency*/
|
|
198
|
-
2 && W(
|
|
199
|
-
A,
|
|
200
|
-
/*currency*/
|
|
201
|
-
m[1]
|
|
202
|
-
), _[0] & /*caticons*/
|
|
203
|
-
512 && !V(o.src, L = /*caticons*/
|
|
204
|
-
m[9][1]) && s(o, "src", L), _[0] & /*formattedLabels*/
|
|
205
|
-
256 && O !== (O = /*formattedLabels*/
|
|
206
|
-
m[8][1] + "") && W($, O), _[0] & /*formattedJackpotValues*/
|
|
207
|
-
128 && Y !== (Y = /*formattedJackpotValues*/
|
|
208
|
-
m[7][1] + "") && W(ee, Y), _[0] & /*currency*/
|
|
209
|
-
2 && W(
|
|
210
|
-
te,
|
|
211
|
-
/*currency*/
|
|
212
|
-
m[1]
|
|
213
|
-
), _[0] & /*caticons*/
|
|
214
|
-
512 && !V(I.src, le = /*caticons*/
|
|
215
|
-
m[9][2]) && s(I, "src", le), _[0] & /*formattedLabels*/
|
|
216
|
-
256 && se !== (se = /*formattedLabels*/
|
|
217
|
-
m[8][2] + "") && W(re, se), _[0] & /*formattedJackpotValues*/
|
|
218
|
-
128 && ie !== (ie = /*formattedJackpotValues*/
|
|
219
|
-
m[7][2] + "") && W(de, ie), _[0] & /*currency*/
|
|
220
|
-
2 && W(
|
|
221
|
-
oe,
|
|
222
|
-
/*currency*/
|
|
223
|
-
m[1]
|
|
224
|
-
), _[0] & /*caticons*/
|
|
225
|
-
512 && !V(E.src, l = /*caticons*/
|
|
226
|
-
m[9][3]) && s(E, "src", l), _[0] & /*formattedLabels*/
|
|
227
|
-
256 && b !== (b = /*formattedLabels*/
|
|
228
|
-
m[8][3] + "") && W(he, b), _[0] & /*formattedJackpotValues*/
|
|
229
|
-
128 && fe !== (fe = /*formattedJackpotValues*/
|
|
230
|
-
m[7][3] + "") && W(ye, fe), _[0] & /*currency*/
|
|
231
|
-
2 && W(
|
|
232
|
-
be,
|
|
233
|
-
/*currency*/
|
|
234
|
-
m[1]
|
|
235
|
-
);
|
|
236
|
-
},
|
|
237
|
-
d(m) {
|
|
238
|
-
m && (R(e), R(J), R(N));
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
function Pe(a) {
|
|
243
|
-
let e, t = Ce(Array(4)), n = [];
|
|
244
|
-
for (let c = 0; c < t.length; c += 1)
|
|
245
|
-
n[c] = je(xe(a, t, c));
|
|
246
|
-
return {
|
|
247
|
-
c() {
|
|
248
|
-
for (let c = 0; c < n.length; c += 1)
|
|
249
|
-
n[c].c();
|
|
250
|
-
e = Ee();
|
|
251
|
-
},
|
|
252
|
-
m(c, h) {
|
|
253
|
-
for (let d = 0; d < n.length; d += 1)
|
|
254
|
-
n[d] && n[d].m(c, h);
|
|
255
|
-
M(c, e, h);
|
|
256
|
-
},
|
|
257
|
-
p(c, h) {
|
|
258
|
-
if (h[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
|
|
259
|
-
898) {
|
|
260
|
-
t = Ce(Array(4));
|
|
261
|
-
let d;
|
|
262
|
-
for (d = 0; d < t.length; d += 1) {
|
|
263
|
-
const C = xe(c, t, d);
|
|
264
|
-
n[d] ? n[d].p(C, h) : (n[d] = je(C), n[d].c(), n[d].m(e.parentNode, e));
|
|
265
|
-
}
|
|
266
|
-
for (; d < n.length; d += 1)
|
|
267
|
-
n[d].d(1);
|
|
268
|
-
n.length = t.length;
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
d(c) {
|
|
272
|
-
c && R(e), De(n, c);
|
|
273
|
-
}
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
function je(a) {
|
|
277
|
-
var A;
|
|
278
|
-
let e, t, n, c, h, d = (
|
|
279
|
-
/*formattedLabels*/
|
|
280
|
-
a[8][
|
|
281
|
-
/*i*/
|
|
282
|
-
a[50]
|
|
283
|
-
] + ""
|
|
284
|
-
), C, k, g, w = (
|
|
285
|
-
/*formattedJackpotValues*/
|
|
286
|
-
((A = a[7][
|
|
287
|
-
/*i*/
|
|
288
|
-
a[50]
|
|
289
|
-
]) != null ? A : "") + ""
|
|
290
|
-
), y, j, T, q;
|
|
291
|
-
return {
|
|
292
|
-
c() {
|
|
293
|
-
e = r("div"), t = r("div"), n = r("img"), h = r("span"), C = S(d), k = r("span"), g = r("span"), y = S(w), j = D(), T = r("span"), q = S(
|
|
294
|
-
/*currency*/
|
|
295
|
-
a[1]
|
|
296
|
-
), s(n, "class", "displayCardIcon svelte-h3d1qc"), V(n.src, c = /*caticons*/
|
|
297
|
-
a[9][
|
|
298
|
-
/*i*/
|
|
299
|
-
a[50]
|
|
300
|
-
]) || s(n, "src", c), s(n, "alt", ""), s(h, "class", "cardLabel svelte-h3d1qc"), s(t, "class", "iconWrapper svelte-h3d1qc"), s(g, "class", "jackpotValue svelte-h3d1qc"), s(T, "class", "jackpot-currency svelte-h3d1qc"), s(k, "class", "cardTextWrapper svelte-h3d1qc"), s(e, "class", "displayCard svelte-h3d1qc");
|
|
301
|
-
},
|
|
302
|
-
m(f, v) {
|
|
303
|
-
M(f, e, v), i(e, t), i(t, n), i(t, h), i(h, C), i(e, k), i(k, g), i(g, y), i(k, j), i(k, T), i(T, q);
|
|
304
|
-
},
|
|
305
|
-
p(f, v) {
|
|
306
|
-
var u;
|
|
307
|
-
v[0] & /*caticons*/
|
|
308
|
-
512 && !V(n.src, c = /*caticons*/
|
|
309
|
-
f[9][
|
|
310
|
-
/*i*/
|
|
311
|
-
f[50]
|
|
312
|
-
]) && s(n, "src", c), v[0] & /*formattedLabels*/
|
|
313
|
-
256 && d !== (d = /*formattedLabels*/
|
|
314
|
-
f[8][
|
|
315
|
-
/*i*/
|
|
316
|
-
f[50]
|
|
317
|
-
] + "") && W(C, d), v[0] & /*formattedJackpotValues*/
|
|
318
|
-
128 && w !== (w = /*formattedJackpotValues*/
|
|
319
|
-
((u = f[7][
|
|
320
|
-
/*i*/
|
|
321
|
-
f[50]
|
|
322
|
-
]) != null ? u : "") + "") && W(y, w), v[0] & /*currency*/
|
|
323
|
-
2 && W(
|
|
324
|
-
q,
|
|
325
|
-
/*currency*/
|
|
326
|
-
f[1]
|
|
327
|
-
);
|
|
328
|
-
},
|
|
329
|
-
d(f) {
|
|
330
|
-
f && R(e);
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
}
|
|
334
|
-
function Ge(a) {
|
|
335
|
-
let e;
|
|
336
|
-
function t(h, d) {
|
|
337
|
-
return (
|
|
338
|
-
/*hasErrors*/
|
|
339
|
-
h[13] ? Oe : (
|
|
340
|
-
/*isLoading*/
|
|
341
|
-
h[3] ? He : Re
|
|
342
|
-
)
|
|
343
|
-
);
|
|
344
|
-
}
|
|
345
|
-
let n = t(a), c = n(a);
|
|
346
|
-
return {
|
|
347
|
-
c() {
|
|
348
|
-
e = r("div"), c.c(), s(e, "class", "svelte-h3d1qc");
|
|
349
|
-
},
|
|
350
|
-
m(h, d) {
|
|
351
|
-
M(h, e, d), c.m(e, null), a[32](e);
|
|
352
|
-
},
|
|
353
|
-
p(h, d) {
|
|
354
|
-
n === (n = t(h)) && c ? c.p(h, d) : (c.d(1), c = n(h), c && (c.c(), c.m(e, null)));
|
|
355
|
-
},
|
|
356
|
-
i: qe,
|
|
357
|
-
o: qe,
|
|
358
|
-
d(h) {
|
|
359
|
-
h && R(e), c.d(), a[32](null);
|
|
360
|
-
}
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
function Ye(a, e, t) {
|
|
364
|
-
let { visualstructure: n = "" } = e, { title: c = "" } = e, { caticon0: h = "" } = e, { caticon1: d = "" } = e, { caticon2: C = "" } = e, { caticon3: k = "" } = e, { iconlabels: g = "" } = e, { backgroundsrc: w = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: j = "" } = e, { titlelogopath: T = "" } = e, { lang: q = "en" } = e, { clientstyling: A = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: v = "" } = e, { endpoint: u = "" } = e, { gameid: o = "" } = e, L = window.navigator.userAgent, H = !1, O = !1, $ = "", z = [], B = [], Y = [], ee = [], ce = [], K = "", te = "", J, N = !1, U = !0, F = !1, I;
|
|
365
|
-
const le = () => {
|
|
366
|
-
fetch(v).then((p) => p.json()).then((p) => {
|
|
367
|
-
Object.keys(p).forEach((b) => {
|
|
368
|
-
we(b, p[b]);
|
|
369
|
-
});
|
|
370
|
-
}).catch((p) => {
|
|
371
|
-
console.log(p);
|
|
372
|
-
});
|
|
373
|
-
};
|
|
374
|
-
Object.keys(Le).forEach((l) => {
|
|
375
|
-
we(l, Le[l]);
|
|
376
|
-
});
|
|
377
|
-
const P = ["typeSpread", "typeLeft"], se = (l) => {
|
|
378
|
-
var b;
|
|
379
|
-
const p = (b = l == null ? void 0 : l.items[0]) == null ? void 0 : b.additionalData;
|
|
380
|
-
p && Object.values(p).forEach((he) => z.push(+he));
|
|
381
|
-
}, re = (l) => {
|
|
382
|
-
var p;
|
|
383
|
-
t(6, $ = ((p = l == null ? void 0 : l.items[0]) == null ? void 0 : p.vendorLogo) || "");
|
|
384
|
-
}, G = () => {
|
|
385
|
-
if (u && q && y) {
|
|
386
|
-
let l = new URL(`${u}/v1/casino/jackpots`);
|
|
387
|
-
l.searchParams.append("filter", `id=${o}`), l.searchParams.append("language", q), l.searchParams.append("additionalDataCurrency", y), fetch(l.href).then((p) => p.json().then((b) => {
|
|
388
|
-
t(3, U = !1), I = b, B.includes(o) && (se(I), re(I));
|
|
389
|
-
}).catch((b) => {
|
|
390
|
-
t(13, F = !0), t(3, U = !1), console.error(b);
|
|
391
|
-
}));
|
|
392
|
-
}
|
|
393
|
-
}, ae = () => {
|
|
394
|
-
let l = new URL(`${u}/v1/casino/jackpots/config`);
|
|
395
|
-
fetch(l.href).then((p) => p.json()).then((p) => {
|
|
396
|
-
t(30, B = p.egtJackpotIds.map((b) => b));
|
|
397
|
-
});
|
|
398
|
-
}, ie = () => {
|
|
399
|
-
t(4, H = Ne(L) && window.innerHeight / window.innerWidth > 1), t(5, O = pe()), z.length !== 0 && t(7, Y = de(z)), t(8, ee = g ? g.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), P.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${P[0]}"`), t(0, n = P[0])), t(10, K = j && H && !O ? j : w), t(11, te = T), t(9, ce = [h, d, C, k]);
|
|
400
|
-
}, de = (l) => l.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), pe = () => {
|
|
401
|
-
const l = window.innerHeight / window.innerWidth;
|
|
402
|
-
return 0.75 < l && l < 1.6;
|
|
403
|
-
}, Q = () => {
|
|
404
|
-
window.postMessage({ type: "JackpotBannerClicked", gameid: o }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
405
|
-
context: "JackpotBanner",
|
|
406
|
-
gameId: `${o}`
|
|
407
|
-
});
|
|
408
|
-
}, oe = () => {
|
|
409
|
-
let l = document.createElement("style");
|
|
410
|
-
l.innerHTML = A, J.appendChild(l);
|
|
411
|
-
}, ue = () => {
|
|
412
|
-
t(12, N = !0);
|
|
413
|
-
let l = new URL(f), p = document.createElement("style");
|
|
414
|
-
fetch(l.href).then((b) => b.text()).then((b) => {
|
|
415
|
-
p.innerHTML = b, setTimeout(
|
|
416
|
-
() => {
|
|
417
|
-
J.appendChild(p);
|
|
418
|
-
},
|
|
419
|
-
1
|
|
420
|
-
), setTimeout(
|
|
421
|
-
() => {
|
|
422
|
-
t(12, N = !1);
|
|
423
|
-
},
|
|
424
|
-
500
|
|
425
|
-
);
|
|
426
|
-
});
|
|
427
|
-
}, X = () => {
|
|
428
|
-
Be(q);
|
|
429
|
-
}, Z = () => Q();
|
|
430
|
-
function E(l) {
|
|
431
|
-
ze[l ? "unshift" : "push"](() => {
|
|
432
|
-
J = l, t(2, J);
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
return a.$$set = (l) => {
|
|
436
|
-
"visualstructure" in l && t(0, n = l.visualstructure), "title" in l && t(15, c = l.title), "caticon0" in l && t(16, h = l.caticon0), "caticon1" in l && t(17, d = l.caticon1), "caticon2" in l && t(18, C = l.caticon2), "caticon3" in l && t(19, k = l.caticon3), "iconlabels" in l && t(20, g = l.iconlabels), "backgroundsrc" in l && t(21, w = l.backgroundsrc), "currency" in l && t(1, y = l.currency), "backgroundsrcmobile" in l && t(22, j = l.backgroundsrcmobile), "titlelogopath" in l && t(23, T = l.titlelogopath), "lang" in l && t(24, q = l.lang), "clientstyling" in l && t(25, A = l.clientstyling), "clientstylingurl" in l && t(26, f = l.clientstylingurl), "translationurl" in l && t(27, v = l.translationurl), "endpoint" in l && t(28, u = l.endpoint), "gameid" in l && t(29, o = l.gameid);
|
|
437
|
-
}, a.$$.update = () => {
|
|
438
|
-
a.$$.dirty[0] & /*endpoint*/
|
|
439
|
-
268435456 && u && ae(), a.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
440
|
-
33554436 && J && A && oe(), a.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
441
|
-
67108868 && J && f && ue(), a.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
|
|
442
|
-
1358954498 && u && q && y && B.length > 0 && G(), a.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
443
|
-
16777226 && y && q && !U && ie(), a.$$.dirty[0] & /*lang*/
|
|
444
|
-
16777216 && q && X(), a.$$.dirty[0] & /*translationurl*/
|
|
445
|
-
134217728 && v && le();
|
|
446
|
-
}, [
|
|
447
|
-
n,
|
|
448
|
-
y,
|
|
449
|
-
J,
|
|
450
|
-
U,
|
|
451
|
-
H,
|
|
452
|
-
O,
|
|
453
|
-
$,
|
|
454
|
-
Y,
|
|
455
|
-
ee,
|
|
456
|
-
ce,
|
|
457
|
-
K,
|
|
458
|
-
te,
|
|
459
|
-
N,
|
|
460
|
-
F,
|
|
461
|
-
Q,
|
|
462
|
-
c,
|
|
463
|
-
h,
|
|
464
|
-
d,
|
|
465
|
-
C,
|
|
466
|
-
k,
|
|
467
|
-
g,
|
|
468
|
-
w,
|
|
469
|
-
j,
|
|
470
|
-
T,
|
|
471
|
-
q,
|
|
472
|
-
A,
|
|
473
|
-
f,
|
|
474
|
-
v,
|
|
475
|
-
u,
|
|
476
|
-
o,
|
|
477
|
-
B,
|
|
478
|
-
Z,
|
|
479
|
-
E
|
|
480
|
-
];
|
|
481
|
-
}
|
|
482
|
-
class Ke extends We {
|
|
483
|
-
constructor(e) {
|
|
484
|
-
super(), Ae(
|
|
485
|
-
this,
|
|
486
|
-
e,
|
|
487
|
-
Ye,
|
|
488
|
-
Ge,
|
|
489
|
-
Ve,
|
|
490
|
-
{
|
|
491
|
-
visualstructure: 0,
|
|
492
|
-
title: 15,
|
|
493
|
-
caticon0: 16,
|
|
494
|
-
caticon1: 17,
|
|
495
|
-
caticon2: 18,
|
|
496
|
-
caticon3: 19,
|
|
497
|
-
iconlabels: 20,
|
|
498
|
-
backgroundsrc: 21,
|
|
499
|
-
currency: 1,
|
|
500
|
-
backgroundsrcmobile: 22,
|
|
501
|
-
titlelogopath: 23,
|
|
502
|
-
lang: 24,
|
|
503
|
-
clientstyling: 25,
|
|
504
|
-
clientstylingurl: 26,
|
|
505
|
-
translationurl: 27,
|
|
506
|
-
endpoint: 28,
|
|
507
|
-
gameid: 29
|
|
508
|
-
},
|
|
509
|
-
Me,
|
|
510
|
-
[-1, -1]
|
|
511
|
-
);
|
|
512
|
-
}
|
|
513
|
-
get visualstructure() {
|
|
514
|
-
return this.$$.ctx[0];
|
|
515
|
-
}
|
|
516
|
-
set visualstructure(e) {
|
|
517
|
-
this.$$set({ visualstructure: e }), x();
|
|
518
|
-
}
|
|
519
|
-
get title() {
|
|
520
|
-
return this.$$.ctx[15];
|
|
521
|
-
}
|
|
522
|
-
set title(e) {
|
|
523
|
-
this.$$set({ title: e }), x();
|
|
524
|
-
}
|
|
525
|
-
get caticon0() {
|
|
526
|
-
return this.$$.ctx[16];
|
|
527
|
-
}
|
|
528
|
-
set caticon0(e) {
|
|
529
|
-
this.$$set({ caticon0: e }), x();
|
|
530
|
-
}
|
|
531
|
-
get caticon1() {
|
|
532
|
-
return this.$$.ctx[17];
|
|
533
|
-
}
|
|
534
|
-
set caticon1(e) {
|
|
535
|
-
this.$$set({ caticon1: e }), x();
|
|
536
|
-
}
|
|
537
|
-
get caticon2() {
|
|
538
|
-
return this.$$.ctx[18];
|
|
539
|
-
}
|
|
540
|
-
set caticon2(e) {
|
|
541
|
-
this.$$set({ caticon2: e }), x();
|
|
542
|
-
}
|
|
543
|
-
get caticon3() {
|
|
544
|
-
return this.$$.ctx[19];
|
|
545
|
-
}
|
|
546
|
-
set caticon3(e) {
|
|
547
|
-
this.$$set({ caticon3: e }), x();
|
|
548
|
-
}
|
|
549
|
-
get iconlabels() {
|
|
550
|
-
return this.$$.ctx[20];
|
|
551
|
-
}
|
|
552
|
-
set iconlabels(e) {
|
|
553
|
-
this.$$set({ iconlabels: e }), x();
|
|
554
|
-
}
|
|
555
|
-
get backgroundsrc() {
|
|
556
|
-
return this.$$.ctx[21];
|
|
557
|
-
}
|
|
558
|
-
set backgroundsrc(e) {
|
|
559
|
-
this.$$set({ backgroundsrc: e }), x();
|
|
560
|
-
}
|
|
561
|
-
get currency() {
|
|
562
|
-
return this.$$.ctx[1];
|
|
563
|
-
}
|
|
564
|
-
set currency(e) {
|
|
565
|
-
this.$$set({ currency: e }), x();
|
|
566
|
-
}
|
|
567
|
-
get backgroundsrcmobile() {
|
|
568
|
-
return this.$$.ctx[22];
|
|
569
|
-
}
|
|
570
|
-
set backgroundsrcmobile(e) {
|
|
571
|
-
this.$$set({ backgroundsrcmobile: e }), x();
|
|
572
|
-
}
|
|
573
|
-
get titlelogopath() {
|
|
574
|
-
return this.$$.ctx[23];
|
|
575
|
-
}
|
|
576
|
-
set titlelogopath(e) {
|
|
577
|
-
this.$$set({ titlelogopath: e }), x();
|
|
578
|
-
}
|
|
579
|
-
get lang() {
|
|
580
|
-
return this.$$.ctx[24];
|
|
581
|
-
}
|
|
582
|
-
set lang(e) {
|
|
583
|
-
this.$$set({ lang: e }), x();
|
|
584
|
-
}
|
|
585
|
-
get clientstyling() {
|
|
586
|
-
return this.$$.ctx[25];
|
|
587
|
-
}
|
|
588
|
-
set clientstyling(e) {
|
|
589
|
-
this.$$set({ clientstyling: e }), x();
|
|
590
|
-
}
|
|
591
|
-
get clientstylingurl() {
|
|
592
|
-
return this.$$.ctx[26];
|
|
593
|
-
}
|
|
594
|
-
set clientstylingurl(e) {
|
|
595
|
-
this.$$set({ clientstylingurl: e }), x();
|
|
596
|
-
}
|
|
597
|
-
get translationurl() {
|
|
598
|
-
return this.$$.ctx[27];
|
|
599
|
-
}
|
|
600
|
-
set translationurl(e) {
|
|
601
|
-
this.$$set({ translationurl: e }), x();
|
|
602
|
-
}
|
|
603
|
-
get endpoint() {
|
|
604
|
-
return this.$$.ctx[28];
|
|
605
|
-
}
|
|
606
|
-
set endpoint(e) {
|
|
607
|
-
this.$$set({ endpoint: e }), x();
|
|
608
|
-
}
|
|
609
|
-
get gameid() {
|
|
610
|
-
return this.$$.ctx[29];
|
|
611
|
-
}
|
|
612
|
-
set gameid(e) {
|
|
613
|
-
this.$$set({ gameid: e }), x();
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
Ie(Ke, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
|
|
617
|
-
export {
|
|
618
|
-
Ke as default
|
|
619
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-egUFg4eK.cjs");require("./CasinoFavoritesSection-Da0-zSyn.cjs");function O(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const z={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."}};function W(n){t.append_styles(n,"svelte-12g7jmb",".svelte-12g7jmb,.svelte-12g7jmb::before,.svelte-12g7jmb::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection.svelte-12g7jmb{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer svelte-12g7jmb"),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(s,i){t.insert(s,e,i)},p(s,i){i[0]&16&&t.set_custom_element_data(e,"session",s[4]),i[0]&32&&t.set_custom_element_data(e,"userid",s[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",s[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",s[1]),i[0]&8&&t.set_custom_element_data(e,"lang",s[3]),i[0]&4&&t.set_custom_element_data(e,"currency",s[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",s[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",s[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",s[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",s[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",s[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function x(n){let e,s=n[19]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(s),t.attr(e,"class","SearchLoading svelte-12g7jmb")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&524288&&s!==(s=o[19]("noRecentGames")+"")&&t.set_data(i,s)},d(o){o&&t.detach(e)}}}function $(n){let e,s;function i(c,d){return c[18]?x:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),s=t.element("div"),l.c(),t.attr(s,"class","CasinoLastPlayedSection svelte-12g7jmb"),t.attr(e,"class","CasinoGamesCategorySectionContainer svelte-12g7jmb")},m(c,d){t.insert(c,e,d),t.append(e,s),l.m(s,null),n[25](e)},p(c,d){o===(o=i(c))&&l?l.p(c,d):(l.d(1),l=o(c),l&&(l.c(),l.m(s,null)))},i:t.noop,o:t.noop,d(c){c&&t.detach(e),l.d(),n[25](null)}}}function ee(n,e,s){let i;t.component_subscribe(n,t.$format,a=>s(19,i=a));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:c=""}=e,{lang:d=""}=e,{session:q=""}=e,{userid:h=""}=e,{clientstyling:_=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:G="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:M=""}=e,{visiblegames:j=""}=e,{favorites:T=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:k=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:P="false"}=e,{lastplayedunique:S="true"}=e,{fetchviaevent:E="true"}=e,p=window.navigator.userAgent,D=!1,w=[],F,f;const H=()=>{fetch(b).then(m=>m.json()).then(m=>{Object.keys(m).forEach(r=>{O(r,m[r])})}).catch(m=>{console.log(m)})};Object.keys(z).forEach(a=>{O(a,z[a])});const Y=()=>new Promise((a,m)=>{let r=new URL(`${o}/v1/player/${h}/games/last-played`);r.searchParams.append("unique",S),r.searchParams.append("limit",C),r.searchParams.append("order",k),r.searchParams.append("period",L),t.getDevice(p)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),F=v?r:r.href,fetch(F).then(u=>u.json()).then(u=>{u.items=u.items.filter(K=>{let N=!0;return K.gameCode=="OddsMatrix2"&&(u.count--,N=!1),N}),a(u),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:u},window.location.href)}).catch(u=>{console.error(u),m(u)})}),I=()=>{Y().then(a=>{if(a.count>0){let m=[];a.items.forEach(r=>{let g=new URL(`${o}/v1/casino/games/${r.gameId}`);g.searchParams.append("datasource",l),v?m.push(fetch(g.href).then(u=>u.json())):m.push(fetch(g.href).then(u=>u.json()))}),Promise.all(m).then(r=>{w=r.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(w=w.slice(0,JSON.parse(j))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else s(18,D=!0)})},J=()=>{Q(d)},V=()=>{let a=document.createElement("style");a.innerHTML=_,f.appendChild(a)},Z=()=>{let a=document.createElement("style");fetch(new URL(y)).then(m=>m.text()).then(m=>{a.innerHTML=m,setTimeout(()=>{f.appendChild(a)},1)})};function B(a){t.binding_callbacks[a?"unshift":"push"](()=>{f=a,s(17,f)})}return n.$$set=a=>{"endpoint"in a&&s(0,o=a.endpoint),"datasource"in a&&s(1,l=a.datasource),"currency"in a&&s(2,c=a.currency),"lang"in a&&s(3,d=a.lang),"session"in a&&s(4,q=a.session),"userid"in a&&s(5,h=a.userid),"clientstyling"in a&&s(6,_=a.clientstyling),"clientstylingurl"in a&&s(7,y=a.clientstylingurl),"translationurl"in a&&s(20,b=a.translationurl),"livecasino"in a&&s(8,v=a.livecasino),"integratedgameframemobile"in a&&s(9,R=a.integratedgameframemobile),"integratedgameframedesktop"in a&&s(10,G=a.integratedgameframedesktop),"gamepagemodalurl"in a&&s(11,A=a.gamepagemodalurl),"showgamename"in a&&s(12,M=a.showgamename),"visiblegames"in a&&s(13,j=a.visiblegames),"favorites"in a&&s(14,T=a.favorites),"lastplayedperiod"in a&&s(21,L=a.lastplayedperiod),"lastplayedorder"in a&&s(22,k=a.lastplayedorder),"lastplayedlimit"in a&&s(23,C=a.lastplayedlimit),"casinomygames"in a&&s(15,P=a.casinomygames),"lastplayedunique"in a&&s(24,S=a.lastplayedunique),"fetchviaevent"in a&&s(16,E=a.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&I(),n.$$.dirty[0]&1048576&&b&&H(),n.$$.dirty[0]&131136&&_&&f&&V(),n.$$.dirty[0]&131200&&y&&f&&Z(),n.$$.dirty[0]&8&&d&&J()},[o,l,c,d,q,h,_,y,v,R,G,A,M,j,T,P,E,f,D,i,b,L,k,C,S,B]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ee,$,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=U;
|