@everymatrix/casino-lobby 1.54.4 → 1.54.8
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-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
- package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
- package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
- package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
- package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
- package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
- package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
- package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
- package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
- package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
- package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
- package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
- package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
- package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
- package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
- package/components/{CasinoFavoritesSection-D_VjX8kh.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
- package/components/CasinoFilter-CLgilXuM.js +634 -0
- package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
- package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
- package/components/{CasinoGamePage-CCqWDOmI.js → CasinoGamePage-B9T32UnC.js} +769 -769
- package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
- package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
- package/components/{CasinoGameThumbnail-DuQXK0BS.js → CasinoGameThumbnail-Bl2lRTS5.js} +66 -66
- package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
- package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
- package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
- package/components/{CasinoGamesCategorySection-B7unf50a.js → CasinoGamesCategorySection-DU23YHrX.js} +157 -157
- package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
- package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
- package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
- package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
- package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DtUKV7qS.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
- package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
- package/components/{CasinoLobby-Bhufm6di.js → CasinoLobby-DIuXNBMc.js} +49 -49
- package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
- package/components/CasinoLobby-Ds8nok67.js +2337 -0
- package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
- package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
- package/components/CasinoModal-_ukjEJqy.js +372 -0
- package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
- package/components/{CasinoMostPlayedSection-DATKT5NZ.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
- package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
- package/components/CasinoMyGames-BH19YGDz.js +1318 -0
- package/components/{CasinoMyGames-CT8sf3p5.js → CasinoMyGames-CO15Aytm.js} +52 -52
- package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
- package/components/CasinoPage-BEFfjziT.js +3550 -0
- package/components/{CasinoPage-CLrMZJtx.js → CasinoPage-DXue0b0t.js} +123 -123
- package/components/CasinoPage-sSUBPWhS.cjs +1 -0
- package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
- package/components/CasinoRandomGame-r6ZN573_.js +668 -0
- package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
- package/components/CasinoSearch-C5_rhVBG.js +1072 -0
- package/components/{CasinoSearch-DuPhm9II.js → CasinoSearch-Cbyb3s0J.js} +83 -83
- package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
- package/components/CasinoSlider-C7bHIIsP.js +806 -0
- package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
- package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
- package/components/CasinoSort-5a6WYp-y.cjs +1 -0
- package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
- package/components/CasinoSort-DWu-WSlc.js +432 -0
- package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
- package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
- package/components/CasinoWinners-fPZD2C86.js +971 -0
- package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
- package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
- package/components/GeneralAnimationLoading-DSCrLTeR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +1 -1
- package/package.json +4 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
- package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
- package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
- package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
- package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
import { a as re, S as ce, i as me, s as ge, f as c, b as ue, n as S, d as j, h as F, j as N, k as ye, o as fe, K as de, C as be, r as E, L as o, p as he, M as Ne, I as we, N as Le, J as Me } from "./CasinoCalendar-yoWAbEkY.js";
|
|
2
|
+
function W(i, e) {
|
|
3
|
+
re(i, e);
|
|
4
|
+
}
|
|
5
|
+
const X = {
|
|
6
|
+
en: {
|
|
7
|
+
lobbyName: "Lobby",
|
|
8
|
+
myGamesName: "My games"
|
|
9
|
+
},
|
|
10
|
+
de: {
|
|
11
|
+
lobbyName: "Lobby",
|
|
12
|
+
myGamesName: "My games"
|
|
13
|
+
},
|
|
14
|
+
es: {
|
|
15
|
+
lobbyName: "Sala",
|
|
16
|
+
myGamesName: "Mis juegos"
|
|
17
|
+
},
|
|
18
|
+
"zh-hk": {
|
|
19
|
+
lobbyName: "Lobby",
|
|
20
|
+
myGamesName: "My games"
|
|
21
|
+
},
|
|
22
|
+
it: {
|
|
23
|
+
lobbyName: "Lobby",
|
|
24
|
+
myGamesName: "My games"
|
|
25
|
+
},
|
|
26
|
+
fr: {
|
|
27
|
+
lobbyName: "Lobby",
|
|
28
|
+
myGamesName: "My games"
|
|
29
|
+
},
|
|
30
|
+
tr: {
|
|
31
|
+
lobbyName: "Lobi",
|
|
32
|
+
myGamesName: "Oyunlarım"
|
|
33
|
+
},
|
|
34
|
+
ru: {
|
|
35
|
+
lobbyName: "Lobby",
|
|
36
|
+
myGamesName: "My games"
|
|
37
|
+
},
|
|
38
|
+
ro: {
|
|
39
|
+
lobbyName: "Lobby",
|
|
40
|
+
myGamesName: "My games"
|
|
41
|
+
},
|
|
42
|
+
hr: {
|
|
43
|
+
lobbyName: "Moj casino",
|
|
44
|
+
myGamesName: "Moje igre"
|
|
45
|
+
},
|
|
46
|
+
hu: {
|
|
47
|
+
lobbyName: "Lobby",
|
|
48
|
+
myGamesName: "My games"
|
|
49
|
+
},
|
|
50
|
+
pl: {
|
|
51
|
+
lobbyName: "Lobby",
|
|
52
|
+
myGamesName: "My games"
|
|
53
|
+
},
|
|
54
|
+
pt: {
|
|
55
|
+
lobbyName: "Lobby",
|
|
56
|
+
myGamesName: "My games"
|
|
57
|
+
},
|
|
58
|
+
sl: {
|
|
59
|
+
lobbyName: "Lobby",
|
|
60
|
+
myGamesName: "My games"
|
|
61
|
+
},
|
|
62
|
+
sr: {
|
|
63
|
+
lobbyName: "Lobby",
|
|
64
|
+
myGamesName: "My games"
|
|
65
|
+
},
|
|
66
|
+
"pt-br": {
|
|
67
|
+
lobbyName: "Lobby",
|
|
68
|
+
myGamesName: "Meus jogos"
|
|
69
|
+
},
|
|
70
|
+
"es-mx": {
|
|
71
|
+
lobbyName: "Lobby",
|
|
72
|
+
myGamesName: "Mis juegos"
|
|
73
|
+
},
|
|
74
|
+
"en-us": {
|
|
75
|
+
lobbyName: "Lobby",
|
|
76
|
+
myGamesName: "My games"
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
if (typeof window != "undefined") {
|
|
80
|
+
let i = function(e) {
|
|
81
|
+
return function(...t) {
|
|
82
|
+
try {
|
|
83
|
+
return e.apply(this, t);
|
|
84
|
+
} catch (l) {
|
|
85
|
+
if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
86
|
+
return !1;
|
|
87
|
+
throw l;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-C7bHIIsP.js").then(({ default: e }) => {
|
|
92
|
+
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function Ce(i) {
|
|
96
|
+
ue(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
|
97
|
+
}
|
|
98
|
+
function _e(i) {
|
|
99
|
+
let e, t, l, r;
|
|
100
|
+
return {
|
|
101
|
+
c() {
|
|
102
|
+
e = N("div"), t = N("casino-slider"), o(
|
|
103
|
+
t,
|
|
104
|
+
"lang",
|
|
105
|
+
/*lang*/
|
|
106
|
+
i[3]
|
|
107
|
+
), o(
|
|
108
|
+
t,
|
|
109
|
+
"datasource",
|
|
110
|
+
/*datasource*/
|
|
111
|
+
i[2]
|
|
112
|
+
), o(
|
|
113
|
+
t,
|
|
114
|
+
"endpoint",
|
|
115
|
+
/*endpoint*/
|
|
116
|
+
i[1]
|
|
117
|
+
), o(t, "identity", D), o(
|
|
118
|
+
t,
|
|
119
|
+
"favoritesnumber",
|
|
120
|
+
/*numberOfFavoredGames*/
|
|
121
|
+
i[15]
|
|
122
|
+
), o(
|
|
123
|
+
t,
|
|
124
|
+
"showsubgroups",
|
|
125
|
+
/*showsubgroups*/
|
|
126
|
+
i[8]
|
|
127
|
+
), o(
|
|
128
|
+
t,
|
|
129
|
+
"clientstyling",
|
|
130
|
+
/*clientstyling*/
|
|
131
|
+
i[4]
|
|
132
|
+
), o(
|
|
133
|
+
t,
|
|
134
|
+
"clientstylingurl",
|
|
135
|
+
/*clientstylingurl*/
|
|
136
|
+
i[5]
|
|
137
|
+
), o(
|
|
138
|
+
t,
|
|
139
|
+
"activeindex",
|
|
140
|
+
/*activecategory*/
|
|
141
|
+
i[0]
|
|
142
|
+
), o(
|
|
143
|
+
t,
|
|
144
|
+
"actionevent",
|
|
145
|
+
/*actionevent*/
|
|
146
|
+
i[6]
|
|
147
|
+
), o(
|
|
148
|
+
t,
|
|
149
|
+
"location",
|
|
150
|
+
/*location*/
|
|
151
|
+
i[7]
|
|
152
|
+
), o(
|
|
153
|
+
t,
|
|
154
|
+
"categoriesicon",
|
|
155
|
+
/*categoriesicon*/
|
|
156
|
+
i[9]
|
|
157
|
+
), o(
|
|
158
|
+
t,
|
|
159
|
+
"lobbyiconimage",
|
|
160
|
+
/*lobbyiconimage*/
|
|
161
|
+
i[10]
|
|
162
|
+
), o(
|
|
163
|
+
t,
|
|
164
|
+
"mygamesiconimage",
|
|
165
|
+
/*mygamesiconimage*/
|
|
166
|
+
i[11]
|
|
167
|
+
), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
|
|
168
|
+
},
|
|
169
|
+
m(a, n) {
|
|
170
|
+
F(a, e, n), he(e, t), l || (r = Ne(
|
|
171
|
+
/*sendSliderData*/
|
|
172
|
+
i[16].call(null, t)
|
|
173
|
+
), l = !0);
|
|
174
|
+
},
|
|
175
|
+
p(a, n) {
|
|
176
|
+
n[0] & /*lang*/
|
|
177
|
+
8 && o(
|
|
178
|
+
t,
|
|
179
|
+
"lang",
|
|
180
|
+
/*lang*/
|
|
181
|
+
a[3]
|
|
182
|
+
), n[0] & /*datasource*/
|
|
183
|
+
4 && o(
|
|
184
|
+
t,
|
|
185
|
+
"datasource",
|
|
186
|
+
/*datasource*/
|
|
187
|
+
a[2]
|
|
188
|
+
), n[0] & /*endpoint*/
|
|
189
|
+
2 && o(
|
|
190
|
+
t,
|
|
191
|
+
"endpoint",
|
|
192
|
+
/*endpoint*/
|
|
193
|
+
a[1]
|
|
194
|
+
), n[0] & /*numberOfFavoredGames*/
|
|
195
|
+
32768 && o(
|
|
196
|
+
t,
|
|
197
|
+
"favoritesnumber",
|
|
198
|
+
/*numberOfFavoredGames*/
|
|
199
|
+
a[15]
|
|
200
|
+
), n[0] & /*showsubgroups*/
|
|
201
|
+
256 && o(
|
|
202
|
+
t,
|
|
203
|
+
"showsubgroups",
|
|
204
|
+
/*showsubgroups*/
|
|
205
|
+
a[8]
|
|
206
|
+
), n[0] & /*clientstyling*/
|
|
207
|
+
16 && o(
|
|
208
|
+
t,
|
|
209
|
+
"clientstyling",
|
|
210
|
+
/*clientstyling*/
|
|
211
|
+
a[4]
|
|
212
|
+
), n[0] & /*clientstylingurl*/
|
|
213
|
+
32 && o(
|
|
214
|
+
t,
|
|
215
|
+
"clientstylingurl",
|
|
216
|
+
/*clientstylingurl*/
|
|
217
|
+
a[5]
|
|
218
|
+
), n[0] & /*activecategory*/
|
|
219
|
+
1 && o(
|
|
220
|
+
t,
|
|
221
|
+
"activeindex",
|
|
222
|
+
/*activecategory*/
|
|
223
|
+
a[0]
|
|
224
|
+
), n[0] & /*actionevent*/
|
|
225
|
+
64 && o(
|
|
226
|
+
t,
|
|
227
|
+
"actionevent",
|
|
228
|
+
/*actionevent*/
|
|
229
|
+
a[6]
|
|
230
|
+
), n[0] & /*location*/
|
|
231
|
+
128 && o(
|
|
232
|
+
t,
|
|
233
|
+
"location",
|
|
234
|
+
/*location*/
|
|
235
|
+
a[7]
|
|
236
|
+
), n[0] & /*categoriesicon*/
|
|
237
|
+
512 && o(
|
|
238
|
+
t,
|
|
239
|
+
"categoriesicon",
|
|
240
|
+
/*categoriesicon*/
|
|
241
|
+
a[9]
|
|
242
|
+
), n[0] & /*lobbyiconimage*/
|
|
243
|
+
1024 && o(
|
|
244
|
+
t,
|
|
245
|
+
"lobbyiconimage",
|
|
246
|
+
/*lobbyiconimage*/
|
|
247
|
+
a[10]
|
|
248
|
+
), n[0] & /*mygamesiconimage*/
|
|
249
|
+
2048 && o(
|
|
250
|
+
t,
|
|
251
|
+
"mygamesiconimage",
|
|
252
|
+
/*mygamesiconimage*/
|
|
253
|
+
a[11]
|
|
254
|
+
);
|
|
255
|
+
},
|
|
256
|
+
d(a) {
|
|
257
|
+
a && j(e), l = !1, r();
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
function ve(i) {
|
|
262
|
+
let e;
|
|
263
|
+
return {
|
|
264
|
+
c() {
|
|
265
|
+
e = N("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-2g6deg");
|
|
266
|
+
},
|
|
267
|
+
m(t, l) {
|
|
268
|
+
F(t, e, l);
|
|
269
|
+
},
|
|
270
|
+
p: S,
|
|
271
|
+
d(t) {
|
|
272
|
+
t && j(e);
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
function Ge(i) {
|
|
277
|
+
let e;
|
|
278
|
+
return {
|
|
279
|
+
c() {
|
|
280
|
+
e = N("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
|
281
|
+
},
|
|
282
|
+
m(t, l) {
|
|
283
|
+
F(t, e, l);
|
|
284
|
+
},
|
|
285
|
+
p: S,
|
|
286
|
+
d(t) {
|
|
287
|
+
t && j(e);
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
function ke(i) {
|
|
292
|
+
let e;
|
|
293
|
+
function t(a, n) {
|
|
294
|
+
return (
|
|
295
|
+
/*isLoading*/
|
|
296
|
+
a[12] || Se || Ee ? Ge : (
|
|
297
|
+
/*hasErrors*/
|
|
298
|
+
a[14] ? ve : _e
|
|
299
|
+
)
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
let l = t(i), r = l(i);
|
|
303
|
+
return {
|
|
304
|
+
c() {
|
|
305
|
+
e = N("div"), r.c();
|
|
306
|
+
},
|
|
307
|
+
m(a, n) {
|
|
308
|
+
F(a, e, n), r.m(e, null), i[26](e);
|
|
309
|
+
},
|
|
310
|
+
p(a, n) {
|
|
311
|
+
l === (l = t(a)) && r ? r.p(a, n) : (r.d(1), r = l(a), r && (r.c(), r.m(e, null)));
|
|
312
|
+
},
|
|
313
|
+
i: S,
|
|
314
|
+
o: S,
|
|
315
|
+
d(a) {
|
|
316
|
+
a && j(e), r.d(), i[26](null);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
let D = "CasinoSliderData", Se = !1, Ee = !1;
|
|
321
|
+
function je(i, e, t) {
|
|
322
|
+
let l;
|
|
323
|
+
ye(i, Me, (s) => t(32, l = s));
|
|
324
|
+
let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: O = "" } = e, { session: w = "" } = e, { mostplayed: L = "" } = e, { lastplayed: M = "false" } = e, { favorites: C = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: H = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: B = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: q = "" } = e, x, z, y = !0, b, h = [], f = !1, Z = window.navigator.userAgent, d, J, K = !1, T = !1;
|
|
325
|
+
const p = () => {
|
|
326
|
+
fetch(k).then((m) => m.json()).then((m) => {
|
|
327
|
+
Object.keys(m).forEach((g) => {
|
|
328
|
+
W(g, m[g]);
|
|
329
|
+
});
|
|
330
|
+
}).catch((m) => {
|
|
331
|
+
console.log(m);
|
|
332
|
+
});
|
|
333
|
+
};
|
|
334
|
+
Object.keys(X).forEach((s) => {
|
|
335
|
+
W(s, X[s]);
|
|
336
|
+
});
|
|
337
|
+
const $ = () => {
|
|
338
|
+
K == !1 && (C == "true" || L == "true" || M == "true") && h.splice(1, 0, {
|
|
339
|
+
// @ts-ignore
|
|
340
|
+
id: "MYGAMES",
|
|
341
|
+
name: x,
|
|
342
|
+
href: "",
|
|
343
|
+
games: []
|
|
344
|
+
}), Le(), K = !0, t(25, T = !0), P();
|
|
345
|
+
}, ee = () => (r || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(b)), (!n || n.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(b)), f), te = () => {
|
|
346
|
+
if (x = l("myGamesName"), z = l("lobbyName"), !ee()) {
|
|
347
|
+
let s = new URL(`${r}/v1/casino/groups/${a}`);
|
|
348
|
+
s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", de(Z)), fetch(s).then((m) => m.json()).then(
|
|
349
|
+
(m) => {
|
|
350
|
+
let g = G.split(","), oe = m.items.filter((V) => {
|
|
351
|
+
let A = !1;
|
|
352
|
+
if (V.games.total > 0 && (A = !0, G))
|
|
353
|
+
for (let le of g)
|
|
354
|
+
V.flags == le && (A = !1);
|
|
355
|
+
return A;
|
|
356
|
+
});
|
|
357
|
+
h = [], h = h.concat(oe), h.unshift({
|
|
358
|
+
// @ts-ignore
|
|
359
|
+
id: "LOBBY",
|
|
360
|
+
name: z,
|
|
361
|
+
href: "",
|
|
362
|
+
games: []
|
|
363
|
+
}), t(12, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
|
364
|
+
},
|
|
365
|
+
(m) => {
|
|
366
|
+
t(14, f = !0), console.error("There was an error while fetching the categories", m);
|
|
367
|
+
}
|
|
368
|
+
).catch((m) => {
|
|
369
|
+
t(14, f = !0), console.error("There was an error while fetching the categories", m);
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
}, se = () => {
|
|
373
|
+
let s = u.split("$");
|
|
374
|
+
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
375
|
+
}, ie = () => {
|
|
376
|
+
let s = document.createElement("style");
|
|
377
|
+
s.innerHTML = _, d.appendChild(s);
|
|
378
|
+
}, ae = () => {
|
|
379
|
+
let s = document.createElement("style"), m = new URL(v);
|
|
380
|
+
fetch(m.href).then((g) => g.text()).then((g) => {
|
|
381
|
+
s.innerHTML = g, setTimeout(
|
|
382
|
+
() => {
|
|
383
|
+
d.appendChild(s);
|
|
384
|
+
},
|
|
385
|
+
1
|
|
386
|
+
);
|
|
387
|
+
});
|
|
388
|
+
}, P = () => {
|
|
389
|
+
window.postMessage(
|
|
390
|
+
{
|
|
391
|
+
type: "SliderData",
|
|
392
|
+
identity: D,
|
|
393
|
+
data: h
|
|
394
|
+
},
|
|
395
|
+
window.location.href
|
|
396
|
+
);
|
|
397
|
+
}, Q = (s) => {
|
|
398
|
+
s.data && s.data.type == "SliderLoaded" && D == s.data.identity && P();
|
|
399
|
+
};
|
|
400
|
+
fe(() => (window.addEventListener("message", Q, !1), () => {
|
|
401
|
+
window.removeEventListener("message", Q);
|
|
402
|
+
}));
|
|
403
|
+
function ne(s) {
|
|
404
|
+
be[s ? "unshift" : "push"](() => {
|
|
405
|
+
d = s, t(13, d);
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
return i.$$set = (s) => {
|
|
409
|
+
"endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, O = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, M = s.lastplayed), "favorites" in s && t(21, C = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, H = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, B = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, q = s.mygamesiconimage);
|
|
410
|
+
}, i.$$.update = () => {
|
|
411
|
+
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
412
|
+
14 && r && a && n && te(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
413
|
+
3936258 && r && w && (L || M || C) && !y && $(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
414
|
+
33820673 && !y && u && (!w || T) && se(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
415
|
+
8208 && _ && d && ie(), i.$$.dirty[0] & /*translationurl*/
|
|
416
|
+
16777216 && k && p(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
417
|
+
8224 && v && d && ae();
|
|
418
|
+
}, t(15, J = 0), [
|
|
419
|
+
u,
|
|
420
|
+
r,
|
|
421
|
+
a,
|
|
422
|
+
n,
|
|
423
|
+
_,
|
|
424
|
+
v,
|
|
425
|
+
R,
|
|
426
|
+
I,
|
|
427
|
+
H,
|
|
428
|
+
B,
|
|
429
|
+
Y,
|
|
430
|
+
q,
|
|
431
|
+
y,
|
|
432
|
+
d,
|
|
433
|
+
f,
|
|
434
|
+
J,
|
|
435
|
+
P,
|
|
436
|
+
O,
|
|
437
|
+
w,
|
|
438
|
+
L,
|
|
439
|
+
M,
|
|
440
|
+
C,
|
|
441
|
+
U,
|
|
442
|
+
G,
|
|
443
|
+
k,
|
|
444
|
+
T,
|
|
445
|
+
ne
|
|
446
|
+
];
|
|
447
|
+
}
|
|
448
|
+
class Fe extends ce {
|
|
449
|
+
constructor(e) {
|
|
450
|
+
super(), me(
|
|
451
|
+
this,
|
|
452
|
+
e,
|
|
453
|
+
je,
|
|
454
|
+
ke,
|
|
455
|
+
ge,
|
|
456
|
+
{
|
|
457
|
+
endpoint: 1,
|
|
458
|
+
datasource: 2,
|
|
459
|
+
lang: 3,
|
|
460
|
+
userid: 17,
|
|
461
|
+
session: 18,
|
|
462
|
+
mostplayed: 19,
|
|
463
|
+
lastplayed: 20,
|
|
464
|
+
favorites: 21,
|
|
465
|
+
clientstyling: 4,
|
|
466
|
+
clientstylingurl: 5,
|
|
467
|
+
activecategory: 0,
|
|
468
|
+
actionevent: 6,
|
|
469
|
+
sessioncheck: 22,
|
|
470
|
+
location: 7,
|
|
471
|
+
showsubgroups: 8,
|
|
472
|
+
filteredcategories: 23,
|
|
473
|
+
translationurl: 24,
|
|
474
|
+
categoriesicon: 9,
|
|
475
|
+
lobbyiconimage: 10,
|
|
476
|
+
mygamesiconimage: 11
|
|
477
|
+
},
|
|
478
|
+
Ce,
|
|
479
|
+
[-1, -1]
|
|
480
|
+
);
|
|
481
|
+
}
|
|
482
|
+
get endpoint() {
|
|
483
|
+
return this.$$.ctx[1];
|
|
484
|
+
}
|
|
485
|
+
set endpoint(e) {
|
|
486
|
+
this.$$set({ endpoint: e }), c();
|
|
487
|
+
}
|
|
488
|
+
get datasource() {
|
|
489
|
+
return this.$$.ctx[2];
|
|
490
|
+
}
|
|
491
|
+
set datasource(e) {
|
|
492
|
+
this.$$set({ datasource: e }), c();
|
|
493
|
+
}
|
|
494
|
+
get lang() {
|
|
495
|
+
return this.$$.ctx[3];
|
|
496
|
+
}
|
|
497
|
+
set lang(e) {
|
|
498
|
+
this.$$set({ lang: e }), c();
|
|
499
|
+
}
|
|
500
|
+
get userid() {
|
|
501
|
+
return this.$$.ctx[17];
|
|
502
|
+
}
|
|
503
|
+
set userid(e) {
|
|
504
|
+
this.$$set({ userid: e }), c();
|
|
505
|
+
}
|
|
506
|
+
get session() {
|
|
507
|
+
return this.$$.ctx[18];
|
|
508
|
+
}
|
|
509
|
+
set session(e) {
|
|
510
|
+
this.$$set({ session: e }), c();
|
|
511
|
+
}
|
|
512
|
+
get mostplayed() {
|
|
513
|
+
return this.$$.ctx[19];
|
|
514
|
+
}
|
|
515
|
+
set mostplayed(e) {
|
|
516
|
+
this.$$set({ mostplayed: e }), c();
|
|
517
|
+
}
|
|
518
|
+
get lastplayed() {
|
|
519
|
+
return this.$$.ctx[20];
|
|
520
|
+
}
|
|
521
|
+
set lastplayed(e) {
|
|
522
|
+
this.$$set({ lastplayed: e }), c();
|
|
523
|
+
}
|
|
524
|
+
get favorites() {
|
|
525
|
+
return this.$$.ctx[21];
|
|
526
|
+
}
|
|
527
|
+
set favorites(e) {
|
|
528
|
+
this.$$set({ favorites: e }), c();
|
|
529
|
+
}
|
|
530
|
+
get clientstyling() {
|
|
531
|
+
return this.$$.ctx[4];
|
|
532
|
+
}
|
|
533
|
+
set clientstyling(e) {
|
|
534
|
+
this.$$set({ clientstyling: e }), c();
|
|
535
|
+
}
|
|
536
|
+
get clientstylingurl() {
|
|
537
|
+
return this.$$.ctx[5];
|
|
538
|
+
}
|
|
539
|
+
set clientstylingurl(e) {
|
|
540
|
+
this.$$set({ clientstylingurl: e }), c();
|
|
541
|
+
}
|
|
542
|
+
get activecategory() {
|
|
543
|
+
return this.$$.ctx[0];
|
|
544
|
+
}
|
|
545
|
+
set activecategory(e) {
|
|
546
|
+
this.$$set({ activecategory: e }), c();
|
|
547
|
+
}
|
|
548
|
+
get actionevent() {
|
|
549
|
+
return this.$$.ctx[6];
|
|
550
|
+
}
|
|
551
|
+
set actionevent(e) {
|
|
552
|
+
this.$$set({ actionevent: e }), c();
|
|
553
|
+
}
|
|
554
|
+
get sessioncheck() {
|
|
555
|
+
return this.$$.ctx[22];
|
|
556
|
+
}
|
|
557
|
+
set sessioncheck(e) {
|
|
558
|
+
this.$$set({ sessioncheck: e }), c();
|
|
559
|
+
}
|
|
560
|
+
get location() {
|
|
561
|
+
return this.$$.ctx[7];
|
|
562
|
+
}
|
|
563
|
+
set location(e) {
|
|
564
|
+
this.$$set({ location: e }), c();
|
|
565
|
+
}
|
|
566
|
+
get showsubgroups() {
|
|
567
|
+
return this.$$.ctx[8];
|
|
568
|
+
}
|
|
569
|
+
set showsubgroups(e) {
|
|
570
|
+
this.$$set({ showsubgroups: e }), c();
|
|
571
|
+
}
|
|
572
|
+
get filteredcategories() {
|
|
573
|
+
return this.$$.ctx[23];
|
|
574
|
+
}
|
|
575
|
+
set filteredcategories(e) {
|
|
576
|
+
this.$$set({ filteredcategories: e }), c();
|
|
577
|
+
}
|
|
578
|
+
get translationurl() {
|
|
579
|
+
return this.$$.ctx[24];
|
|
580
|
+
}
|
|
581
|
+
set translationurl(e) {
|
|
582
|
+
this.$$set({ translationurl: e }), c();
|
|
583
|
+
}
|
|
584
|
+
get categoriesicon() {
|
|
585
|
+
return this.$$.ctx[9];
|
|
586
|
+
}
|
|
587
|
+
set categoriesicon(e) {
|
|
588
|
+
this.$$set({ categoriesicon: e }), c();
|
|
589
|
+
}
|
|
590
|
+
get lobbyiconimage() {
|
|
591
|
+
return this.$$.ctx[10];
|
|
592
|
+
}
|
|
593
|
+
set lobbyiconimage(e) {
|
|
594
|
+
this.$$set({ lobbyiconimage: e }), c();
|
|
595
|
+
}
|
|
596
|
+
get mygamesiconimage() {
|
|
597
|
+
return this.$$.ctx[11];
|
|
598
|
+
}
|
|
599
|
+
set mygamesiconimage(e) {
|
|
600
|
+
this.$$set({ mygamesiconimage: e }), c();
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
we(Fe, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
604
|
+
export {
|
|
605
|
+
Fe as default
|
|
606
|
+
};
|