@everymatrix/casino-lobby 1.59.2 → 1.59.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-Km8tdNHN.js → CasinoCalendar-BYTytQgJ.js} +690 -712
- package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-CI-C6zUY.js} +696 -718
- package/components/CasinoCalendar-DqS7aKva.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-CGaAU2gc.js → CasinoCalendarDailyDetails-DQB9Y3_Q.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CsEZhtVE.cjs → CasinoCalendarDailyDetails-DUQWFLJJ.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CAbwFBvZ.js → CasinoCalendarDailyDetails-Xi-Uo8v-.js} +48 -48
- package/components/{CasinoCalendarDailyItem-DSlC0F3s.cjs → CasinoCalendarDailyItem-CVt2FFo1.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-5aqnKIMr.js → CasinoCalendarDailyItem-CjRZKnnD.js} +41 -41
- package/components/{CasinoCalendarDailyItem-D_MTrKed.js → CasinoCalendarDailyItem-DC91__VM.js} +41 -41
- package/components/{CasinoCategoriesSlider-CZHyRC-C.js → CasinoCategoriesSlider-BeqGvJrA.js} +67 -67
- package/components/{CasinoCategoriesSlider-Dm2i_QTf.js → CasinoCategoriesSlider-Cvb-krxJ.js} +66 -66
- package/components/CasinoCategoriesSlider-DZpvR9sw.cjs +1 -0
- package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-BMyAx20Y.js} +73 -73
- package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-B_4F6cIK.js} +71 -71
- package/components/{CasinoCollectionsProviders-B6occ8TF.cjs → CasinoCollectionsProviders-FGrPURo4.cjs} +1 -1
- package/components/{CasinoFavoritesSection-C949lfcK.js → CasinoFavoritesSection-BZmf5I3g.js} +26 -26
- package/components/{CasinoFavoritesSection-hHKNAcoS.cjs → CasinoFavoritesSection-CBb3Eo8J.cjs} +1 -1
- package/components/{CasinoFavoritesSection-V5ybOUJC.js → CasinoFavoritesSection-Dmko0_Ik.js} +26 -26
- package/components/{CasinoFilter-BWjq7W1e.js → CasinoFilter-BHLJqOwW.js} +235 -234
- package/components/CasinoFilter-Bg-VilMd.cjs +1 -0
- package/components/{CasinoFilter-BTof425X.js → CasinoFilter-Dt8GhenI.js} +246 -247
- package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-5moXxd0d.js} +741 -741
- package/components/{CasinoGamePage-D2huRBJX.cjs → CasinoGamePage-BmgERtPr.cjs} +6 -6
- package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-D_TzJsC-.js} +742 -742
- package/components/{CasinoGameThumbnail-CVz7FpsB.js → CasinoGameThumbnail-DSjNVacg.js} +512 -528
- package/components/{CasinoGameThumbnail-NLieCJGe.js → CasinoGameThumbnail-DqBpfUwf.js} +436 -420
- package/components/{CasinoGameThumbnail-DK9cpR-G.cjs → CasinoGameThumbnail-OrvrYv4V.cjs} +15 -15
- package/components/{CasinoGamesCategorySection-BP3bZsZg.js → CasinoGamesCategorySection-Ce43OSOZ.js} +247 -247
- package/components/{CasinoGamesCategorySection-BAcJus2G.cjs → CasinoGamesCategorySection-DEh7yuGp.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-Bpy9vh6D.js → CasinoGamesCategorySection-d8QOFywW.js} +247 -247
- package/components/{CasinoJackpotBanner-DredUN6K.cjs → CasinoJackpotBanner-B_CnR3Kj.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CuP8WP5Q.js → CasinoJackpotBanner-Dxq2Y_-S.js} +74 -74
- package/components/{CasinoJackpotBanner-Dl2rX6vI.js → CasinoJackpotBanner-UQaC63Zv.js} +69 -69
- package/components/{CasinoLastPlayedSection-CVEuFsbi.js → CasinoLastPlayedSection-BVANPPTi.js} +43 -43
- package/components/{CasinoLastPlayedSection-B9I2fZm5.js → CasinoLastPlayedSection-Bmr8n1pA.js} +43 -43
- package/components/{CasinoLastPlayedSection-COAM1aoc.cjs → CasinoLastPlayedSection-CyL83M3y.cjs} +1 -1
- package/components/{CasinoLobby-AoZlXLOV.js → CasinoLobby-CWzN0imw.js} +45 -45
- package/components/{CasinoLobby-BRiasSXJ.js → CasinoLobby-DUI1Ki3q.js} +47 -47
- package/components/{CasinoLobby-CYqI5Bvp.cjs → CasinoLobby-os94WdnE.cjs} +1 -1
- package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-BaV1FE12.js} +41 -41
- package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-Bn6r73ff.js} +41 -41
- package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-DWbCqr0p.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-9B6X9czZ.js → CasinoMostPlayedSection-B4SHGVp4.js} +50 -50
- package/components/{CasinoMostPlayedSection-DwZh0uxo.js → CasinoMostPlayedSection-CD00UC6r.js} +50 -50
- package/components/{CasinoMostPlayedSection-BUwIld9p.cjs → CasinoMostPlayedSection-y-GWnOes.cjs} +1 -1
- package/components/{CasinoMyGames-76IMIo9z.js → CasinoMyGames-BBsq56wQ.js} +50 -50
- package/components/{CasinoMyGames-DTGaTHyO.cjs → CasinoMyGames-DKu8rYmc.cjs} +1 -1
- package/components/{CasinoMyGames-DRCxYUHg.js → CasinoMyGames-DRCL87dq.js} +53 -53
- package/components/{CasinoPage-CikRIum6.js → CasinoPage-BJ2hLXJb.js} +93 -93
- package/components/{CasinoPage-DZ6Yhwli.cjs → CasinoPage-CXAKd3oS.cjs} +1 -1
- package/components/{CasinoPage-BPxxsTeq.js → CasinoPage-DXP80Vgm.js} +85 -85
- package/components/{CasinoRandomGame-CBcSHzZL.cjs → CasinoRandomGame-BO7BqLXA.cjs} +1 -1
- package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-CsA5xgwc.js} +63 -63
- package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DLzqJj4x.js} +64 -64
- package/components/{CasinoSearch-CZSrkWFZ.cjs → CasinoSearch-CxFbGTdy.cjs} +1 -1
- package/components/{CasinoSearch-CCcjmB9U.js → CasinoSearch-CzUqsTgU.js} +72 -72
- package/components/{CasinoSearch-Cs8FRwGb.js → CasinoSearch-atJ6AGYa.js} +72 -72
- package/components/{CasinoSlider-CMKmgXUK.cjs → CasinoSlider-CgiDJzPs.cjs} +1 -1
- package/components/{CasinoSlider-0rdHVHjG.js → CasinoSlider-DjqwMakd.js} +65 -65
- package/components/{CasinoSlider-CleETLFf.js → CasinoSlider-zHVThApL.js} +74 -74
- package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-23PYwtO1.cjs} +1 -1
- package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-B3A_Ar_A.js} +110 -111
- package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DtUIrmuZ.js} +104 -103
- package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-CF_PptIS.js} +162 -162
- package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-Gb2w2dXe.js} +179 -179
- package/components/{CasinoWinners-Cp1yMlzb.cjs → CasinoWinners-KEY7dD3z.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-8TvNjXay.js} +16 -16
- package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-B-6s0l9d.cjs} +1 -1
- package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Bbxdne1m.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +2 -2
- package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-CLSQBVzD.js} +2 -2
- package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
- package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-Dm8A9dTR.js} +2 -2
- package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
- package/stencil/index-ab3202d6-OPh7hJp9.js +575 -0
- package/stencil/index-ab3202d6-hGs51skN.js +559 -0
- package/stencil/index-ae04a8b1-BhaHMrLE.js +516 -0
- package/stencil/index-ae04a8b1-Dn3cponN.js +532 -0
- package/stencil/index-ae04a8b1-jEvGbYrB.cjs +1 -0
- package/stencil/{ui-skeleton-DET4YE0J.js → ui-skeleton-Bz6cw7xJ.js} +2 -2
- package/stencil/{ui-skeleton-DlNNnOZy.cjs → ui-skeleton-D9k-xWaS.cjs} +1 -1
- package/stencil/{ui-skeleton-C02hm1pt.js → ui-skeleton-DDYD_XHU.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-Dn9GOtgo.js → ui-skeleton-a642cced-Bg6oYmhk.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-BhVS1i2r.cjs → ui-skeleton-a642cced-CVw8zpGJ.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-7C4Fyb2d.js → ui-skeleton-a642cced-MvzXi5-c.js} +1 -1
- package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
- package/components/CasinoCategoriesSlider-DMR3iCVW.cjs +0 -1
- package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
- package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
- package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
- package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
- package/stencil/index-ae04a8b1-BvZmaj3p.js +0 -532
- package/stencil/index-ae04a8b1-DoeYpoC5.js +0 -516
- package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Ae, $ as Oe, S as qe, i as He,
|
|
2
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
-
import { h as $ } from "./CasinoGamePage-
|
|
1
|
+
import { a as Ae, $ as Oe, S as qe, i as He, s as We, f as L, b as Ue, n as ie, d as j, R as Ve, r as f, V as ce, h as I, p as _, A as Z, j as y, B as N, E as ue, N as te, k as Je, o as Ze, m as q, q as H, C as he, v as de, w as Ye, F as Re, O as u, I as Ke, J as Xe, K as Qe, L as $e, M as et } from "./CasinoCalendar-CI-C6zUY.js";
|
|
2
|
+
import "./CasinoGamesCategorySection-d8QOFywW.js";
|
|
3
|
+
import { h as $ } from "./CasinoGamePage-D_TzJsC-.js";
|
|
4
4
|
function me(a, e) {
|
|
5
5
|
Ae(a, e);
|
|
6
6
|
}
|
|
@@ -191,7 +191,7 @@ const ge = {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
function at(a) {
|
|
194
|
-
|
|
194
|
+
Ue(a, "svelte-8vixmz", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
|
|
195
195
|
}
|
|
196
196
|
function fe(a, e, t) {
|
|
197
197
|
const n = a.slice();
|
|
@@ -204,11 +204,11 @@ function pe(a) {
|
|
|
204
204
|
), n, r, l, s;
|
|
205
205
|
return {
|
|
206
206
|
c() {
|
|
207
|
-
e = y("small"), n =
|
|
207
|
+
e = y("small"), n = H(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
208
208
|
(a[13] ? "NotVisible" : ""));
|
|
209
209
|
},
|
|
210
210
|
m(i, c) {
|
|
211
|
-
|
|
211
|
+
I(i, e, c), _(e, n), l || (s = Z(
|
|
212
212
|
e,
|
|
213
213
|
"click",
|
|
214
214
|
/*click_handler_1*/
|
|
@@ -218,12 +218,12 @@ function pe(a) {
|
|
|
218
218
|
p(i, c) {
|
|
219
219
|
c[0] & /*$_*/
|
|
220
220
|
2097152 && t !== (t = /*$_*/
|
|
221
|
-
i[21]("cancel") + "") &&
|
|
221
|
+
i[21]("cancel") + "") && q(n, t), c[0] & /*searchCancelled*/
|
|
222
222
|
8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
223
223
|
(i[13] ? "NotVisible" : "")) && f(e, "class", r);
|
|
224
224
|
},
|
|
225
225
|
d(i) {
|
|
226
|
-
i &&
|
|
226
|
+
i && j(e), l = !1, s();
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
@@ -256,7 +256,7 @@ function nt(a) {
|
|
|
256
256
|
(a[17] == !0 ? "" : "NotVisible"));
|
|
257
257
|
},
|
|
258
258
|
m(h, g) {
|
|
259
|
-
i && i.m(h, g),
|
|
259
|
+
i && i.m(h, g), I(h, e, g), I(h, t, g), c && c.m(t, null), _(t, n), m && m.m(t, null);
|
|
260
260
|
},
|
|
261
261
|
p(h, g) {
|
|
262
262
|
s === (s = l(h)) && i ? i.p(h, g) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
@@ -267,7 +267,7 @@ function nt(a) {
|
|
|
267
267
|
(h[17] == !0 ? "" : "NotVisible")) && f(t, "class", r);
|
|
268
268
|
},
|
|
269
269
|
d(h) {
|
|
270
|
-
h && (
|
|
270
|
+
h && (j(e), j(t)), i && i.d(h), c && c.d(), m && m.d();
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
}
|
|
@@ -278,18 +278,18 @@ function rt(a) {
|
|
|
278
278
|
), n;
|
|
279
279
|
return {
|
|
280
280
|
c() {
|
|
281
|
-
e = y("p"), n =
|
|
281
|
+
e = y("p"), n = H(t), f(e, "class", "LoadingContent");
|
|
282
282
|
},
|
|
283
283
|
m(r, l) {
|
|
284
|
-
|
|
284
|
+
I(r, e, l), _(e, n);
|
|
285
285
|
},
|
|
286
286
|
p(r, l) {
|
|
287
287
|
l[0] & /*$_*/
|
|
288
288
|
2097152 && t !== (t = /*$_*/
|
|
289
|
-
r[21]("loading") + "") &&
|
|
289
|
+
r[21]("loading") + "") && q(n, t);
|
|
290
290
|
},
|
|
291
291
|
d(r) {
|
|
292
|
-
r &&
|
|
292
|
+
r && j(e);
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
}
|
|
@@ -300,18 +300,18 @@ function ot(a) {
|
|
|
300
300
|
), n;
|
|
301
301
|
return {
|
|
302
302
|
c() {
|
|
303
|
-
e = y("p"), n =
|
|
303
|
+
e = y("p"), n = H(t), f(e, "class", "SearchMessage");
|
|
304
304
|
},
|
|
305
305
|
m(r, l) {
|
|
306
|
-
|
|
306
|
+
I(r, e, l), _(e, n);
|
|
307
307
|
},
|
|
308
308
|
p(r, l) {
|
|
309
309
|
l[0] & /*$_*/
|
|
310
310
|
2097152 && t !== (t = /*$_*/
|
|
311
|
-
r[21]("searchResult") + "") &&
|
|
311
|
+
r[21]("searchResult") + "") && q(n, t);
|
|
312
312
|
},
|
|
313
313
|
d(r) {
|
|
314
|
-
r &&
|
|
314
|
+
r && j(e);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
}
|
|
@@ -328,7 +328,7 @@ function st(a) {
|
|
|
328
328
|
n && n.c(), e = N(), r && r.c(), t = Re();
|
|
329
329
|
},
|
|
330
330
|
m(l, s) {
|
|
331
|
-
n && n.m(l, s),
|
|
331
|
+
n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, t, s);
|
|
332
332
|
},
|
|
333
333
|
p(l, s) {
|
|
334
334
|
/*searchArray*/
|
|
@@ -336,7 +336,7 @@ function st(a) {
|
|
|
336
336
|
l[15].length == 0 ? r ? r.p(l, s) : (r = _e(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
337
337
|
},
|
|
338
338
|
d(l) {
|
|
339
|
-
l && (
|
|
339
|
+
l && (j(e), j(t)), n && n.d(l), r && r.d(l);
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
}
|
|
@@ -347,18 +347,18 @@ function Se(a) {
|
|
|
347
347
|
), n;
|
|
348
348
|
return {
|
|
349
349
|
c() {
|
|
350
|
-
e = y("p"), n =
|
|
350
|
+
e = y("p"), n = H(t), f(e, "class", "SearchMessage");
|
|
351
351
|
},
|
|
352
352
|
m(r, l) {
|
|
353
|
-
|
|
353
|
+
I(r, e, l), _(e, n);
|
|
354
354
|
},
|
|
355
355
|
p(r, l) {
|
|
356
356
|
l[0] & /*$_*/
|
|
357
357
|
2097152 && t !== (t = /*$_*/
|
|
358
|
-
r[21]("recentSearch") + "") &&
|
|
358
|
+
r[21]("recentSearch") + "") && q(n, t);
|
|
359
359
|
},
|
|
360
360
|
d(r) {
|
|
361
|
-
r &&
|
|
361
|
+
r && j(e);
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
}
|
|
@@ -372,22 +372,22 @@ function _e(a) {
|
|
|
372
372
|
);
|
|
373
373
|
return {
|
|
374
374
|
c() {
|
|
375
|
-
e = y("div"), i && i.c(), t = N(), n = y("p"), l =
|
|
375
|
+
e = y("div"), i && i.c(), t = N(), n = y("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
376
376
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
377
377
|
},
|
|
378
378
|
m(c, m) {
|
|
379
|
-
|
|
379
|
+
I(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
|
|
380
380
|
},
|
|
381
381
|
p(c, m) {
|
|
382
382
|
/*notfoundicon*/
|
|
383
383
|
c[10] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
384
384
|
2097152 && r !== (r = /*$_*/
|
|
385
|
-
c[21]("noRecentSearches") + "") &&
|
|
385
|
+
c[21]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
|
|
386
386
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
387
387
|
(c[10] == "true" ? "WithIcon" : "")) && f(e, "class", s);
|
|
388
388
|
},
|
|
389
389
|
d(c) {
|
|
390
|
-
c &&
|
|
390
|
+
c && j(e), i && i.d();
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
}
|
|
@@ -398,10 +398,10 @@ function be(a) {
|
|
|
398
398
|
e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
399
399
|
},
|
|
400
400
|
m(t, n) {
|
|
401
|
-
|
|
401
|
+
I(t, e, n);
|
|
402
402
|
},
|
|
403
403
|
d(t) {
|
|
404
|
-
t &&
|
|
404
|
+
t && j(e);
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
}
|
|
@@ -421,7 +421,7 @@ function we(a) {
|
|
|
421
421
|
m(r, l) {
|
|
422
422
|
for (let s = 0; s < n.length; s += 1)
|
|
423
423
|
n[s] && n[s].m(r, l);
|
|
424
|
-
|
|
424
|
+
I(r, e, l);
|
|
425
425
|
},
|
|
426
426
|
p(r, l) {
|
|
427
427
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
@@ -441,7 +441,7 @@ function we(a) {
|
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
d(r) {
|
|
444
|
-
r &&
|
|
444
|
+
r && j(e), Ye(n, r);
|
|
445
445
|
}
|
|
446
446
|
};
|
|
447
447
|
}
|
|
@@ -531,7 +531,7 @@ function ve(a) {
|
|
|
531
531
|
);
|
|
532
532
|
},
|
|
533
533
|
m(d, p) {
|
|
534
|
-
|
|
534
|
+
I(d, e, p);
|
|
535
535
|
},
|
|
536
536
|
p(d, p) {
|
|
537
537
|
var P;
|
|
@@ -639,7 +639,7 @@ function ve(a) {
|
|
|
639
639
|
);
|
|
640
640
|
},
|
|
641
641
|
d(d) {
|
|
642
|
-
d &&
|
|
642
|
+
d && j(e);
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
}
|
|
@@ -656,24 +656,24 @@ function ke(a) {
|
|
|
656
656
|
);
|
|
657
657
|
return {
|
|
658
658
|
c() {
|
|
659
|
-
e = y("div"), g && g.c(), t = N(), n = y("p"), l =
|
|
659
|
+
e = y("div"), g && g.c(), t = N(), n = y("p"), l = H(r), s = N(), i = y("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
660
660
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
661
661
|
},
|
|
662
662
|
m(w, d) {
|
|
663
|
-
|
|
663
|
+
I(w, e, d), g && g.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
|
|
664
664
|
},
|
|
665
665
|
p(w, d) {
|
|
666
666
|
/*notfoundicon*/
|
|
667
667
|
w[10] === "true" ? g || (g = ye(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), d[0] & /*$_*/
|
|
668
668
|
2097152 && r !== (r = /*$_*/
|
|
669
|
-
w[21]("notFound") + "") &&
|
|
669
|
+
w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
|
|
670
670
|
2097152 && c !== (c = /*$_*/
|
|
671
|
-
w[21]("notFoundText") + "") &&
|
|
671
|
+
w[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
|
|
672
672
|
1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
|
|
673
673
|
(w[10] == "true" ? "WithIcon" : "")) && f(e, "class", h);
|
|
674
674
|
},
|
|
675
675
|
d(w) {
|
|
676
|
-
w &&
|
|
676
|
+
w && j(e), g && g.d();
|
|
677
677
|
}
|
|
678
678
|
};
|
|
679
679
|
}
|
|
@@ -684,10 +684,10 @@ function ye(a) {
|
|
|
684
684
|
e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
685
685
|
},
|
|
686
686
|
m(t, n) {
|
|
687
|
-
|
|
687
|
+
I(t, e, n);
|
|
688
688
|
},
|
|
689
689
|
d(t) {
|
|
690
|
-
t &&
|
|
690
|
+
t && j(e);
|
|
691
691
|
}
|
|
692
692
|
};
|
|
693
693
|
}
|
|
@@ -696,16 +696,16 @@ function lt(a) {
|
|
|
696
696
|
/*cancelbutton*/
|
|
697
697
|
a[9] === "true" && pe(a)
|
|
698
698
|
);
|
|
699
|
-
function
|
|
699
|
+
function G(b, T) {
|
|
700
700
|
return (
|
|
701
701
|
/*isLoading*/
|
|
702
702
|
b[18] ? rt : nt
|
|
703
703
|
);
|
|
704
704
|
}
|
|
705
|
-
let D =
|
|
705
|
+
let D = G(a), R = D(a);
|
|
706
706
|
return {
|
|
707
707
|
c() {
|
|
708
|
-
e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), h =
|
|
708
|
+
e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), h = ue("svg"), g = ue("path"), d = N(), v && v.c(), P = N(), x = y("div"), U = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
709
709
|
a[21]("placeHolderSearchGames")), f(s, "maxlength", it), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
710
710
|
(a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
711
711
|
(a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
@@ -716,7 +716,7 @@ function lt(a) {
|
|
|
716
716
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
717
717
|
},
|
|
718
718
|
m(b, T) {
|
|
719
|
-
|
|
719
|
+
I(b, e, T), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ce(
|
|
720
720
|
s,
|
|
721
721
|
/*searchValue*/
|
|
722
722
|
a[12]
|
|
@@ -764,20 +764,20 @@ function lt(a) {
|
|
|
764
764
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
765
765
|
(b[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
766
766
|
512 && B !== (B = /*cancelbutton*/
|
|
767
|
-
b[9] != "true" ? "OverlayCancel" : "") && f(x, "class", B), D === (D =
|
|
767
|
+
b[9] != "true" ? "OverlayCancel" : "") && f(x, "class", B), D === (D = G(b)) && R ? R.p(b, T) : (R.d(1), R = D(b), R && (R.c(), R.m(e, null)));
|
|
768
768
|
},
|
|
769
|
-
i:
|
|
770
|
-
o:
|
|
769
|
+
i: ie,
|
|
770
|
+
o: ie,
|
|
771
771
|
d(b) {
|
|
772
|
-
b &&
|
|
772
|
+
b && j(e), a[34](null), v && v.d(), R.d(), a[37](null), A = !1, Ve(W);
|
|
773
773
|
}
|
|
774
774
|
};
|
|
775
775
|
}
|
|
776
776
|
let it = 50;
|
|
777
777
|
function ct(a, e, t) {
|
|
778
778
|
let n;
|
|
779
|
-
|
|
780
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: B = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [],
|
|
779
|
+
Je(a, et, (o) => t(21, n = o));
|
|
780
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: B = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], G = [], D = {}, R = "", b, T = !0, V = !1, E = !1, M, Y = !1, K, X, ae = [];
|
|
781
781
|
const Ce = () => {
|
|
782
782
|
fetch(P).then((S) => S.json()).then((S) => {
|
|
783
783
|
Object.keys(S).forEach((k) => {
|
|
@@ -791,7 +791,7 @@ function ct(a, e, t) {
|
|
|
791
791
|
me(o, ge[o]);
|
|
792
792
|
});
|
|
793
793
|
const ne = (o) => {
|
|
794
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
794
|
+
o.data && o.data.type == "SearchedItemClicked" && Ge(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
|
|
795
795
|
}, re = () => {
|
|
796
796
|
if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
|
|
797
797
|
t(15, v = []);
|
|
@@ -800,14 +800,14 @@ function ct(a, e, t) {
|
|
|
800
800
|
let k = [], C = 0, F = S.length;
|
|
801
801
|
if (F > 0) {
|
|
802
802
|
for (C = 0; C < F; C++) {
|
|
803
|
-
let
|
|
804
|
-
|
|
803
|
+
let z = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
804
|
+
z.searchParams.append("language", c), z.searchParams.append("datasource", l), z.searchParams.append("platform", te(W)), k.push(Te(z, S[C]));
|
|
805
805
|
}
|
|
806
|
-
Promise.all(k).then((
|
|
807
|
-
|
|
806
|
+
Promise.all(k).then((z) => {
|
|
807
|
+
z = z.filter(function(O) {
|
|
808
808
|
return !!O;
|
|
809
|
-
}), t(15, v =
|
|
810
|
-
}).catch((
|
|
809
|
+
}), t(15, v = z.map((O) => (O.isFavorite = oe(O.id), O))), v.length ? J("searchSuccess", "SearchWidget") : J("searchFail", "SearchWidget");
|
|
810
|
+
}).catch((z) => {
|
|
811
811
|
J("searchError", "SearchWidget");
|
|
812
812
|
});
|
|
813
813
|
}
|
|
@@ -839,21 +839,21 @@ function ct(a, e, t) {
|
|
|
839
839
|
fetch(o.href, S).then((k) => k.json()).then((k) => {
|
|
840
840
|
t(18, E = !1), ae = k.items.map((C) => C.id);
|
|
841
841
|
});
|
|
842
|
-
},
|
|
842
|
+
}, Ie = () => {
|
|
843
843
|
t(32, Y = !0), t(19, K = s), t(20, X = i);
|
|
844
|
-
}, oe = (o) => ae.findIndex((S) => S == o) !== -1,
|
|
844
|
+
}, oe = (o) => ae.findIndex((S) => S == o) !== -1, ze = (o) => {
|
|
845
845
|
if ((o == null ? void 0 : o.length) === 0)
|
|
846
846
|
return "";
|
|
847
847
|
let S, k = 99999999999, C;
|
|
848
848
|
const F = new Date(Date.now());
|
|
849
|
-
return o.forEach((
|
|
850
|
-
const De = new Date(
|
|
849
|
+
return o.forEach((z, O) => {
|
|
850
|
+
const De = new Date(z.schedules[0].startTime), ee = new Date(z.schedules[0].endTime);
|
|
851
851
|
$(ee).diff(F) < k && (k = $(ee).diff(F), C = O), $(F).isAfter(De) && $(F).isBefore(ee) && (S = o[C].name);
|
|
852
852
|
}), S;
|
|
853
|
-
},
|
|
854
|
-
if (
|
|
853
|
+
}, Ge = (o) => {
|
|
854
|
+
if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
|
|
855
855
|
let S;
|
|
856
|
-
|
|
856
|
+
G.unshift(o), S = G.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
857
857
|
}
|
|
858
858
|
}, Q = () => {
|
|
859
859
|
t(12, R = ""), t(13, T = !0), t(18, E = !1), t(15, v = []), t(17, V = !1), le(V);
|
|
@@ -870,7 +870,7 @@ function ct(a, e, t) {
|
|
|
870
870
|
}, Ee = () => {
|
|
871
871
|
tt(c);
|
|
872
872
|
};
|
|
873
|
-
|
|
873
|
+
Ze(() => (window.addEventListener("message", ne, !1), () => {
|
|
874
874
|
window.removeEventListener("message", ne);
|
|
875
875
|
}));
|
|
876
876
|
function Ne() {
|
|
@@ -902,11 +902,11 @@ function ct(a, e, t) {
|
|
|
902
902
|
a.$$.dirty[0] & /*lang*/
|
|
903
903
|
2 && c && Ee(), a.$$.dirty[1] & /*translationurl*/
|
|
904
904
|
1 && P && Ce(), a.$$.dirty[0] & /*session, userid*/
|
|
905
|
-
1610612736 && s && i &&
|
|
905
|
+
1610612736 && s && i && Ie(), a.$$.dirty[0] & /*showfavorites*/
|
|
906
906
|
256 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
907
907
|
2 && x && Y && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
908
|
-
16388 && m && M &&
|
|
909
|
-
16392 && h && M &&
|
|
908
|
+
16388 && m && M && Ke(M, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
909
|
+
16392 && h && M && Xe(M, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
910
910
|
18432 && M && Qe(M, `${A}.Style`);
|
|
911
911
|
}, [
|
|
912
912
|
r,
|
|
@@ -934,7 +934,7 @@ function ct(a, e, t) {
|
|
|
934
934
|
W,
|
|
935
935
|
re,
|
|
936
936
|
Fe,
|
|
937
|
-
|
|
937
|
+
ze,
|
|
938
938
|
Q,
|
|
939
939
|
se,
|
|
940
940
|
l,
|
|
@@ -956,7 +956,7 @@ class ut extends qe {
|
|
|
956
956
|
e,
|
|
957
957
|
ct,
|
|
958
958
|
lt,
|
|
959
|
-
|
|
959
|
+
We,
|
|
960
960
|
{
|
|
961
961
|
endpoint: 0,
|
|
962
962
|
datasource: 28,
|
|
@@ -1076,7 +1076,7 @@ class ut extends qe {
|
|
|
1076
1076
|
this.$$set({ mbsource: e }), L();
|
|
1077
1077
|
}
|
|
1078
1078
|
}
|
|
1079
|
-
|
|
1079
|
+
$e(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1080
1080
|
export {
|
|
1081
1081
|
ut as default
|
|
1082
1082
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CkNAiTx8.cjs");function Ce({withLocale:i,translations:e}){t.$locale.subscribe(r=>{r==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function Y(i,e){t.addMessages(i,e)}function ye(i){t.$locale.set(i)}const P={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"},"en-us":{login:"Login",register:"Register",deposit:"Deposit"}};function we(i){t.append_styles(i,"svelte-1lder3j",'*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}')}function U(i,e,r){const o=i.slice();return o[48]=e[r],o[50]=r,o}function K(i,e,r){const o=i.slice();return o[51]=e[r],o}function X(i,e,r){const o=i.slice();return o[54]=e[r],o[56]=r,o}function J(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[9]);const s=n=>n[48].id;for(let n=0;n<l.length;n+=1){let c=U(i,l,n),d=s(c);r.set(d,e[n]=te(d,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let d=0;d<e.length;d+=1)e[d]&&e[d].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&77775&&(l=t.ensure_array_like(n[9]),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,te,o,U))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function be(i){let e,r=i[48].name+"",o;return{c(){e=t.element("button"),o=t.text(r),t.attr(e,"class","CategoryButton")},m(l,s){t.insert(l,e,s),t.append(e,o)},p(l,s){s[0]&512&&r!==(r=l[48].name+"")&&t.set_data(o,r)},d(l){l&&t.detach(e)}}}function ve(i){let e,r=i[48].label+"",o,l;return{c(){e=t.element("a"),o=t.text(r),t.attr(e,"href",l=i[48].path)},m(s,n){t.insert(s,e,n),t.append(e,o)},p(s,n){n[0]&512&&r!==(r=s[48].label+"")&&t.set_data(o,r),n[0]&512&&l!==(l=s[48].path)&&t.attr(e,"href",l)},d(s){s&&t.detach(e)}}}function Q(i){let e,r=i[10].length>0&&i[2]=="true"&&V(i);return{c(){r&&r.c(),e=t.empty()},m(o,l){r&&r.m(o,l),t.insert(o,e,l)},p(o,l){o[10].length>0&&o[2]=="true"?r?r.p(o,l):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(o){o&&t.detach(e),r&&r.d(o)}}}function V(i){let e,r=t.ensure_array_like(i[10]),o=[];for(let l=0;l<r.length;l+=1)o[l]=ee(K(i,r,l));return{c(){e=t.element("ul");for(let l=0;l<o.length;l+=1)o[l].c();t.attr(e,"class","DropDown")},m(l,s){t.insert(l,e,s);for(let n=0;n<o.length;n+=1)o[n]&&o[n].m(e,null)},p(l,s){if(s[0]&10176){r=t.ensure_array_like(l[10]);let n;for(n=0;n<r.length;n+=1){const c=K(l,r,n);o[n]?o[n].p(c,s):(o[n]=ee(c),o[n].c(),o[n].m(e,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(l){l&&t.detach(e),t.destroy_each(o,l)}}}function Z(i){var p;let e,r,o=((p=i[54])==null?void 0:p.name)+"",l,s,n,c,d;function v(...h){return i[33](i[48],i[50],i[54],i[56],...h)}return{c(){e=t.element("li"),r=t.element("a"),l=t.text(o),n=t.space(),t.attr(r,"class",s="SubDropDown "+(i[50]==i[6]&&(i[7]==i[56]||i[8]==i[56])?"active":""))},m(h,C){t.insert(h,e,C),t.append(e,r),t.append(r,l),t.append(e,n),c||(d=t.listen(e,"click",v),c=!0)},p(h,C){var _;i=h,C[0]&1024&&o!==(o=((_=i[54])==null?void 0:_.name)+"")&&t.set_data(l,o),C[0]&1984&&s!==(s="SubDropDown "+(i[50]==i[6]&&(i[7]==i[56]||i[8]==i[56])?"active":""))&&t.attr(r,"class",s)},d(h){h&&t.detach(e),c=!1,d()}}}function $(i,e){let r,o,l=e[50]==e[51].index&&Z(e);return{key:i,first:null,c(){r=t.empty(),l&&l.c(),o=t.empty(),this.first=r},m(s,n){t.insert(s,r,n),l&&l.m(s,n),t.insert(s,o,n)},p(s,n){e=s,e[50]==e[51].index?l?l.p(e,n):(l=Z(e),l.c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null)},d(s){s&&(t.detach(r),t.detach(o)),l&&l.d(s)}}}function ee(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[51].items);const s=n=>n[54].id;for(let n=0;n<l.length;n+=1){let c=X(i,l,n),d=s(c);r.set(d,e[n]=$(d,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let d=0;d<e.length;d+=1)e[d]&&e[d].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&10176&&(l=t.ensure_array_like(n[51].items),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,$,o,X))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function te(i,e){let r,o,l,s,n,c,d,v,p,h,C;function _(f,w){return f[0]==="headerMain"?ve:be}let k=_(e),g=k(e),u=e[11][e[50]]==!0&&Q(e);function y(...f){return e[34](e[48],e[50],...f)}return{key:i,first:null,c(){var f,w;r=t.element("li"),o=t.element("div"),l=t.element("img"),c=t.space(),g.c(),d=t.space(),u&&u.c(),v=t.space(),t.attr(l,"class",s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")),t.src_url_equal(l.src,n=e[16](e[48]))||t.attr(l,"src",n),t.attr(o,"class","CategoryIcon"),t.attr(r,"class",p="CarouselItem "+(((f=e[1])==null?void 0:f.toString().indexOf("$"))>-1?((w=e[1])==null?void 0:w.split("$").pop())==e[48].id.split("$").pop()?"active":"":e[1]==e[48].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")),this.first=r},m(f,w){t.insert(f,r,w),t.append(r,o),t.append(o,l),t.append(r,c),g.m(r,null),t.append(r,d),u&&u.m(r,null),t.append(r,v),h||(C=t.listen(r,"click",y),h=!0)},p(f,w){var A,S;e=f,w[0]&8&&s!==(s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone"))&&t.attr(l,"class",s),w[0]&512&&!t.src_url_equal(l.src,n=e[16](e[48]))&&t.attr(l,"src",n),k===(k=_(e))&&g?g.p(e,w):(g.d(1),g=k(e),g&&(g.c(),g.m(r,d))),e[11][e[50]]==!0?u?u.p(e,w):(u=Q(e),u.c(),u.m(r,v)):u&&(u.d(1),u=null),w[0]&515&&p!==(p="CarouselItem "+(((A=e[1])==null?void 0:A.toString().indexOf("$"))>-1?((S=e[1])==null?void 0:S.split("$").pop())==e[48].id.split("$").pop()?"active":"":e[1]==e[48].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu"))&&t.attr(r,"class",p)},d(f){f&&t.detach(r),g.d(),u&&u.d(),h=!1,C()}}}function _e(i){let e,r,o,l,s,n,c,d,v,p,h,C,_,k,g,u=i[9].length>0&&J(i);return{c(){e=t.element("div"),r=t.element("div"),o=t.element("div"),o.innerHTML='<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',l=t.space(),s=t.element("div"),n=t.element("ul"),c=t.element("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',d=t.space(),u&&u.c(),v=t.space(),p=t.element("div"),p.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',t.attr(o,"class","CarouselLeftArrow"),t.attr(c,"class","TouchOnly"),t.attr(n,"id","CarouselNav"),t.attr(n,"class","CarouselItems"),t.attr(s,"class","CarouselNavWrap"),t.attr(p,"class","CarouselRightArrow"),t.attr(r,"class",h=`CarouselContainer CarouselContainerMobile ${i[0]==="headerMain"?"CarouselContainerHeaderMain":""}`),t.attr(r,"style",C=i[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",_="CarouselWrapper "+(i[0]==="headerMain"?"CarouselWrapperHeaderMain":""))},m(y,f){t.insert(y,e,f),t.append(e,r),t.append(r,o),t.append(r,l),t.append(r,s),t.append(s,n),t.append(n,c),t.append(n,d),u&&u.m(n,null),i[35](n),i[36](s),t.append(r,v),t.append(r,p),i[38](e),k||(g=[t.listen(o,"click",i[32]),t.listen(p,"click",i[37])],k=!0)},p(y,f){y[9].length>0?u?u.p(y,f):(u=J(y),u.c(),u.m(n,null)):u&&(u.d(1),u=null),f[0]&1&&h!==(h=`CarouselContainer CarouselContainerMobile ${y[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)&&t.attr(r,"class",h),f[0]&1&&C!==(C=y[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(r,"style",C),f[0]&1&&_!==(_="CarouselWrapper "+(y[0]==="headerMain"?"CarouselWrapperHeaderMain":""))&&t.attr(e,"class",_)},i:t.noop,o:t.noop,d(y){y&&t.detach(e),u&&u.d(),i[35](null),i[36](null),i[38](null),k=!1,t.run_all(g)}}}function ke(i,e,r){let{endpoint:o=""}=e,{datasource:l=""}=e,{onclickeventname:s="defaultEvent"}=e,{actionevent:n="defaultEvent"}=e,{favoritesnumber:c="0"}=e,{location:d=""}=e,{clientstyling:v=""}=e,{clientstylingurl:p=""}=e,{identity:h=""}=e,{translationurl:C=""}=e,{isprimarymenu:_=!1}=e,{issecondarymenu:k=!1}=e,{lang:g=""}=e,{activeindex:u="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:f="false"}=e,{lobbyiconimage:w=""}=e,{mygamesiconimage:A=""}=e,{mbsource:S=""}=e;Ce({withLocale:"en",translations:{}});const ne=()=>{fetch(C).then(m=>m.json()).then(m=>{Object.keys(m).forEach(b=>{Y(b,m[b])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(a=>{Y(a,P[a])});let H,E,N,W,F,R=[],T=[],j=[],M,z=(a,m,b,D,I)=>{var L;if(!(a.subGroups&&D===null)){if(O(),r(6,E=m),r(6,E),I!="secondary"){window.postMessage({type:n=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:a.id,index:m,item:a,path:a.path,externalLink:a.externalLink||!1,target:((L=a.attrs)==null?void 0:L.target)||null},window.location.href),r(7,N=null),r(8,W=null);return}r(7,N=D),r(7,N),r(8,W=N),window.postMessage({type:n,itemId:b.id,subIndex:D,subItem:b},window.location.href)}},B=()=>{M.scrollBy({left:-250,behavior:"smooth"})},G=()=>{M.scrollBy({left:250,behavior:"smooth"})};const x=a=>{a.data.type=="SliderData"&&a.data.identity==h&&(r(9,R=a.data.data),r(11,j=new Array(R.length).fill(!1)),y=="true"&&ie()),a.data.type=="GoToHomepage"&&R.forEach((m,b)=>{m.path.endsWith("/casino")&&(r(6,E=b),r(6,E))})},ae=()=>{ye(g)},oe=(a,m,b)=>{if(d=="secondaryMenu"&&o&&l&&g&&a.id){let D=new URL(`${o}/v1/casino/groups/${l}/${a.id}/subGroups?language=${g}`);fetch(D.href).then(I=>I.json()).then(I=>{I.index=m,r(10,T=T.concat(I)),y=="false"&&window.postMessage({type:n,itemId:a.id,index:m,item:a},window.location.href);const L=[];T.map(ge=>(ge.items.forEach(q=>{L.find(pe=>q.id==pe)||L.push(q.id)}),L.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:L},window.location.href)}).then(()=>{H.querySelectorAll(".DropDown")&&O()})}d=="headerMain"&&window.postMessage({type:n,item:a},window.location.href)},O=()=>{const a=H.querySelectorAll(".DropDown");document.activeElement.blur(),M.classList.add("isScrolling");for(let m=0;m<a.length;m++)a[m].style.transform="translateX(-"+M.scrollLeft+"px)";M.classList.remove("isScrolling")},ie=()=>{R.forEach((a,m)=>{var b;((b=a==null?void 0:a.subGroups)==null?void 0:b.count)>0&&(r(11,j[m]=!0,j),oe(a,m))})},le=a=>{let m="";return a.id==="LOBBY"?m=w:a.id==="MYGAMES"&&(m=A),a.icon||m};t.onMount(()=>(window.addEventListener("message",x,!1),"ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),setTimeout(()=>{M.addEventListener("scroll",O)},500),window.postMessage({type:"SliderLoaded",identity:h}),()=>{window.removeEventListener("message",x),H.removeEventListener("scroll",O)}));const se=()=>B(),ce=(a,m,b,D,I)=>{z(a,m,b,D,"secondary"),I.stopPropagation()},ue=(a,m,b)=>{z(a,m,null,null,"main"),b.preventDefault()};function de(a){t.binding_callbacks[a?"unshift":"push"](()=>{H=a,r(5,H)})}function me(a){t.binding_callbacks[a?"unshift":"push"](()=>{M=a,r(12,M)})}const fe=()=>G();function he(a){t.binding_callbacks[a?"unshift":"push"](()=>{F=a,r(4,F)})}return i.$$set=a=>{"endpoint"in a&&r(17,o=a.endpoint),"datasource"in a&&r(18,l=a.datasource),"onclickeventname"in a&&r(19,s=a.onclickeventname),"actionevent"in a&&r(20,n=a.actionevent),"favoritesnumber"in a&&r(21,c=a.favoritesnumber),"location"in a&&r(0,d=a.location),"clientstyling"in a&&r(22,v=a.clientstyling),"clientstylingurl"in a&&r(23,p=a.clientstylingurl),"identity"in a&&r(24,h=a.identity),"translationurl"in a&&r(25,C=a.translationurl),"isprimarymenu"in a&&r(26,_=a.isprimarymenu),"issecondarymenu"in a&&r(27,k=a.issecondarymenu),"lang"in a&&r(28,g=a.lang),"activeindex"in a&&r(1,u=a.activeindex),"showsubgroups"in a&&r(2,y=a.showsubgroups),"categoriesicon"in a&&r(3,f=a.categoriesicon),"lobbyiconimage"in a&&r(29,w=a.lobbyiconimage),"mygamesiconimage"in a&&r(30,A=a.mygamesiconimage),"mbsource"in a&&r(31,S=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&2,i.$$.dirty[0]&33554432&&C&&ne(),i.$$.dirty[0]&4194320&&v&&F&&t.setClientStyling(F,v),i.$$.dirty[0]&8388624&&p&&F&&t.setClientStylingURL(F,p),i.$$.dirty[0]&16|i.$$.dirty[1]&1&&S&&F&&t.setStreamStyling(F,`${S}.Style`),i.$$.dirty[0]&268435456&&g&&ae()},[d,u,y,f,F,H,E,N,W,R,T,j,M,z,B,G,le,o,l,s,n,c,v,p,h,C,_,k,g,w,A,S,se,ce,ue,de,me,fe,he]}class re extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ke,_e,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30,mbsource:31},we,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(re,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=re;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");function Ce({withLocale:i,translations:e}){t.$locale.subscribe(r=>{r==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function Y(i,e){t.addMessages(i,e)}function ye(i){t.$locale.set(i)}const P={en:{login:"Login",register:"Register",deposit:"Deposit"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金"},fr:{login:"Connexion",register:"Registre",deposit:"Dépôt"},tr:{login:"Giriş",register:"Kayıt",deposit:"Para Yatır"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata"},"pt-br":{login:"Entrem",register:"Registro",deposit:"Depósito"},"es-mx":{login:"Entrar",register:"Registro",deposit:"Depósito"},"en-us":{login:"Login",register:"Register",deposit:"Deposit"}};function we(i){t.append_styles(i,"svelte-1lder3j",'*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}')}function U(i,e,r){const o=i.slice();return o[48]=e[r],o[50]=r,o}function K(i,e,r){const o=i.slice();return o[51]=e[r],o}function X(i,e,r){const o=i.slice();return o[54]=e[r],o[56]=r,o}function J(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[9]);const s=n=>n[48].id;for(let n=0;n<l.length;n+=1){let c=U(i,l,n),d=s(c);r.set(d,e[n]=te(d,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let d=0;d<e.length;d+=1)e[d]&&e[d].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&77775&&(l=t.ensure_array_like(n[9]),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,te,o,U))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function be(i){let e,r=i[48].name+"",o;return{c(){e=t.element("button"),o=t.text(r),t.attr(e,"class","CategoryButton")},m(l,s){t.insert(l,e,s),t.append(e,o)},p(l,s){s[0]&512&&r!==(r=l[48].name+"")&&t.set_data(o,r)},d(l){l&&t.detach(e)}}}function ve(i){let e,r=i[48].label+"",o,l;return{c(){e=t.element("a"),o=t.text(r),t.attr(e,"href",l=i[48].path)},m(s,n){t.insert(s,e,n),t.append(e,o)},p(s,n){n[0]&512&&r!==(r=s[48].label+"")&&t.set_data(o,r),n[0]&512&&l!==(l=s[48].path)&&t.attr(e,"href",l)},d(s){s&&t.detach(e)}}}function Q(i){let e,r=i[10].length>0&&i[2]=="true"&&V(i);return{c(){r&&r.c(),e=t.empty()},m(o,l){r&&r.m(o,l),t.insert(o,e,l)},p(o,l){o[10].length>0&&o[2]=="true"?r?r.p(o,l):(r=V(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},d(o){o&&t.detach(e),r&&r.d(o)}}}function V(i){let e,r=t.ensure_array_like(i[10]),o=[];for(let l=0;l<r.length;l+=1)o[l]=ee(K(i,r,l));return{c(){e=t.element("ul");for(let l=0;l<o.length;l+=1)o[l].c();t.attr(e,"class","DropDown")},m(l,s){t.insert(l,e,s);for(let n=0;n<o.length;n+=1)o[n]&&o[n].m(e,null)},p(l,s){if(s[0]&10176){r=t.ensure_array_like(l[10]);let n;for(n=0;n<r.length;n+=1){const c=K(l,r,n);o[n]?o[n].p(c,s):(o[n]=ee(c),o[n].c(),o[n].m(e,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(l){l&&t.detach(e),t.destroy_each(o,l)}}}function Z(i){var p;let e,r,o=((p=i[54])==null?void 0:p.name)+"",l,s,n,c,d;function v(...h){return i[33](i[48],i[50],i[54],i[56],...h)}return{c(){e=t.element("li"),r=t.element("a"),l=t.text(o),n=t.space(),t.attr(r,"class",s="SubDropDown "+(i[50]==i[6]&&(i[7]==i[56]||i[8]==i[56])?"active":""))},m(h,C){t.insert(h,e,C),t.append(e,r),t.append(r,l),t.append(e,n),c||(d=t.listen(e,"click",v),c=!0)},p(h,C){var _;i=h,C[0]&1024&&o!==(o=((_=i[54])==null?void 0:_.name)+"")&&t.set_data(l,o),C[0]&1984&&s!==(s="SubDropDown "+(i[50]==i[6]&&(i[7]==i[56]||i[8]==i[56])?"active":""))&&t.attr(r,"class",s)},d(h){h&&t.detach(e),c=!1,d()}}}function $(i,e){let r,o,l=e[50]==e[51].index&&Z(e);return{key:i,first:null,c(){r=t.empty(),l&&l.c(),o=t.empty(),this.first=r},m(s,n){t.insert(s,r,n),l&&l.m(s,n),t.insert(s,o,n)},p(s,n){e=s,e[50]==e[51].index?l?l.p(e,n):(l=Z(e),l.c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null)},d(s){s&&(t.detach(r),t.detach(o)),l&&l.d(s)}}}function ee(i){let e=[],r=new Map,o,l=t.ensure_array_like(i[51].items);const s=n=>n[54].id;for(let n=0;n<l.length;n+=1){let c=X(i,l,n),d=s(c);r.set(d,e[n]=$(d,c))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();o=t.empty()},m(n,c){for(let d=0;d<e.length;d+=1)e[d]&&e[d].m(n,c);t.insert(n,o,c)},p(n,c){c[0]&10176&&(l=t.ensure_array_like(n[51].items),e=t.update_keyed_each(e,c,s,1,n,l,r,o.parentNode,t.destroy_block,$,o,X))},d(n){n&&t.detach(o);for(let c=0;c<e.length;c+=1)e[c].d(n)}}}function te(i,e){let r,o,l,s,n,c,d,v,p,h,C;function _(f,w){return f[0]==="headerMain"?ve:be}let k=_(e),g=k(e),u=e[11][e[50]]==!0&&Q(e);function y(...f){return e[34](e[48],e[50],...f)}return{key:i,first:null,c(){var f,w;r=t.element("li"),o=t.element("div"),l=t.element("img"),c=t.space(),g.c(),d=t.space(),u&&u.c(),v=t.space(),t.attr(l,"class",s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone")),t.src_url_equal(l.src,n=e[16](e[48]))||t.attr(l,"src",n),t.attr(o,"class","CategoryIcon"),t.attr(r,"class",p="CarouselItem "+(((f=e[1])==null?void 0:f.toString().indexOf("$"))>-1?((w=e[1])==null?void 0:w.split("$").pop())==e[48].id.split("$").pop()?"active":"":e[1]==e[48].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu")),this.first=r},m(f,w){t.insert(f,r,w),t.append(r,o),t.append(o,l),t.append(r,c),g.m(r,null),t.append(r,d),u&&u.m(r,null),t.append(r,v),h||(C=t.listen(r,"click",y),h=!0)},p(f,w){var A,S;e=f,w[0]&8&&s!==(s="CategoryIconImg "+(e[3]==="true"?"":"DisplayNone"))&&t.attr(l,"class",s),w[0]&512&&!t.src_url_equal(l.src,n=e[16](e[48]))&&t.attr(l,"src",n),k===(k=_(e))&&g?g.p(e,w):(g.d(1),g=k(e),g&&(g.c(),g.m(r,d))),e[11][e[50]]==!0?u?u.p(e,w):(u=Q(e),u.c(),u.m(r,v)):u&&(u.d(1),u=null),w[0]&515&&p!==(p="CarouselItem "+(((A=e[1])==null?void 0:A.toString().indexOf("$"))>-1?((S=e[1])==null?void 0:S.split("$").pop())==e[48].id.split("$").pop()?"active":"":e[1]==e[48].id?"active":"")+" "+(e[0]=="headerMain"?"":"SecondaryMenu"))&&t.attr(r,"class",p)},d(f){f&&t.detach(r),g.d(),u&&u.d(),h=!1,C()}}}function _e(i){let e,r,o,l,s,n,c,d,v,p,h,C,_,k,g,u=i[9].length>0&&J(i);return{c(){e=t.element("div"),r=t.element("div"),o=t.element("div"),o.innerHTML='<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',l=t.space(),s=t.element("div"),n=t.element("ul"),c=t.element("li"),c.innerHTML='<a href="#CarouselNav">Close Subs</a>',d=t.space(),u&&u.c(),v=t.space(),p=t.element("div"),p.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',t.attr(o,"class","CarouselLeftArrow"),t.attr(c,"class","TouchOnly"),t.attr(n,"id","CarouselNav"),t.attr(n,"class","CarouselItems"),t.attr(s,"class","CarouselNavWrap"),t.attr(p,"class","CarouselRightArrow"),t.attr(r,"class",h=`CarouselContainer CarouselContainerMobile ${i[0]==="headerMain"?"CarouselContainerHeaderMain":""}`),t.attr(r,"style",C=i[0]==="headerMain"?"max-width: auto":void 0),t.attr(e,"class",_="CarouselWrapper "+(i[0]==="headerMain"?"CarouselWrapperHeaderMain":""))},m(y,f){t.insert(y,e,f),t.append(e,r),t.append(r,o),t.append(r,l),t.append(r,s),t.append(s,n),t.append(n,c),t.append(n,d),u&&u.m(n,null),i[35](n),i[36](s),t.append(r,v),t.append(r,p),i[38](e),k||(g=[t.listen(o,"click",i[32]),t.listen(p,"click",i[37])],k=!0)},p(y,f){y[9].length>0?u?u.p(y,f):(u=J(y),u.c(),u.m(n,null)):u&&(u.d(1),u=null),f[0]&1&&h!==(h=`CarouselContainer CarouselContainerMobile ${y[0]==="headerMain"?"CarouselContainerHeaderMain":""}`)&&t.attr(r,"class",h),f[0]&1&&C!==(C=y[0]==="headerMain"?"max-width: auto":void 0)&&t.attr(r,"style",C),f[0]&1&&_!==(_="CarouselWrapper "+(y[0]==="headerMain"?"CarouselWrapperHeaderMain":""))&&t.attr(e,"class",_)},i:t.noop,o:t.noop,d(y){y&&t.detach(e),u&&u.d(),i[35](null),i[36](null),i[38](null),k=!1,t.run_all(g)}}}function ke(i,e,r){let{endpoint:o=""}=e,{datasource:l=""}=e,{onclickeventname:s="defaultEvent"}=e,{actionevent:n="defaultEvent"}=e,{favoritesnumber:c="0"}=e,{location:d=""}=e,{clientstyling:v=""}=e,{clientstylingurl:p=""}=e,{identity:h=""}=e,{translationurl:C=""}=e,{isprimarymenu:_=!1}=e,{issecondarymenu:k=!1}=e,{lang:g=""}=e,{activeindex:u="0"}=e,{showsubgroups:y="false"}=e,{categoriesicon:f="false"}=e,{lobbyiconimage:w=""}=e,{mygamesiconimage:A=""}=e,{mbsource:S=""}=e;Ce({withLocale:"en",translations:{}});const ne=()=>{fetch(C).then(m=>m.json()).then(m=>{Object.keys(m).forEach(b=>{Y(b,m[b])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(a=>{Y(a,P[a])});let H,E,N,W,F,R=[],T=[],j=[],M,z=(a,m,b,D,I)=>{var L;if(!(a.subGroups&&D===null)){if(O(),r(6,E=m),r(6,E),I!="secondary"){window.postMessage({type:n=="CategoryChange"?"CategoryChange":"NavigateTo",buzz:"1",itemId:a.id,index:m,item:a,path:a.path,externalLink:a.externalLink||!1,target:((L=a.attrs)==null?void 0:L.target)||null},window.location.href),r(7,N=null),r(8,W=null);return}r(7,N=D),r(7,N),r(8,W=N),window.postMessage({type:n,itemId:b.id,subIndex:D,subItem:b},window.location.href)}},B=()=>{M.scrollBy({left:-250,behavior:"smooth"})},G=()=>{M.scrollBy({left:250,behavior:"smooth"})};const x=a=>{a.data.type=="SliderData"&&a.data.identity==h&&(r(9,R=a.data.data),r(11,j=new Array(R.length).fill(!1)),y=="true"&&ie()),a.data.type=="GoToHomepage"&&R.forEach((m,b)=>{m.path.endsWith("/casino")&&(r(6,E=b),r(6,E))})},ae=()=>{ye(g)},oe=(a,m,b)=>{if(d=="secondaryMenu"&&o&&l&&g&&a.id){let D=new URL(`${o}/v1/casino/groups/${l}/${a.id}/subGroups?language=${g}`);fetch(D.href).then(I=>I.json()).then(I=>{I.index=m,r(10,T=T.concat(I)),y=="false"&&window.postMessage({type:n,itemId:a.id,index:m,item:a},window.location.href);const L=[];T.map(ge=>(ge.items.forEach(q=>{L.find(pe=>q.id==pe)||L.push(q.id)}),L.flat())),window.postMessage({type:"SubgroupsIds",subGroupsIds:L},window.location.href)}).then(()=>{H.querySelectorAll(".DropDown")&&O()})}d=="headerMain"&&window.postMessage({type:n,item:a},window.location.href)},O=()=>{const a=H.querySelectorAll(".DropDown");document.activeElement.blur(),M.classList.add("isScrolling");for(let m=0;m<a.length;m++)a[m].style.transform="translateX(-"+M.scrollLeft+"px)";M.classList.remove("isScrolling")},ie=()=>{R.forEach((a,m)=>{var b;((b=a==null?void 0:a.subGroups)==null?void 0:b.count)>0&&(r(11,j[m]=!0,j),oe(a,m))})},le=a=>{let m="";return a.id==="LOBBY"?m=w:a.id==="MYGAMES"&&(m=A),a.icon||m};t.onMount(()=>(window.addEventListener("message",x,!1),"ontouchstart"in document.documentElement&&(document.documentElement.className+=" touch-device"),setTimeout(()=>{M.addEventListener("scroll",O)},500),window.postMessage({type:"SliderLoaded",identity:h}),()=>{window.removeEventListener("message",x),H.removeEventListener("scroll",O)}));const se=()=>B(),ce=(a,m,b,D,I)=>{z(a,m,b,D,"secondary"),I.stopPropagation()},ue=(a,m,b)=>{z(a,m,null,null,"main"),b.preventDefault()};function de(a){t.binding_callbacks[a?"unshift":"push"](()=>{H=a,r(5,H)})}function me(a){t.binding_callbacks[a?"unshift":"push"](()=>{M=a,r(12,M)})}const fe=()=>G();function he(a){t.binding_callbacks[a?"unshift":"push"](()=>{F=a,r(4,F)})}return i.$$set=a=>{"endpoint"in a&&r(17,o=a.endpoint),"datasource"in a&&r(18,l=a.datasource),"onclickeventname"in a&&r(19,s=a.onclickeventname),"actionevent"in a&&r(20,n=a.actionevent),"favoritesnumber"in a&&r(21,c=a.favoritesnumber),"location"in a&&r(0,d=a.location),"clientstyling"in a&&r(22,v=a.clientstyling),"clientstylingurl"in a&&r(23,p=a.clientstylingurl),"identity"in a&&r(24,h=a.identity),"translationurl"in a&&r(25,C=a.translationurl),"isprimarymenu"in a&&r(26,_=a.isprimarymenu),"issecondarymenu"in a&&r(27,k=a.issecondarymenu),"lang"in a&&r(28,g=a.lang),"activeindex"in a&&r(1,u=a.activeindex),"showsubgroups"in a&&r(2,y=a.showsubgroups),"categoriesicon"in a&&r(3,f=a.categoriesicon),"lobbyiconimage"in a&&r(29,w=a.lobbyiconimage),"mygamesiconimage"in a&&r(30,A=a.mygamesiconimage),"mbsource"in a&&r(31,S=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&2,i.$$.dirty[0]&33554432&&C&&ne(),i.$$.dirty[0]&4194320&&v&&F&&t.setClientStyling(F,v),i.$$.dirty[0]&8388624&&p&&F&&t.setClientStylingURL(F,p),i.$$.dirty[0]&16|i.$$.dirty[1]&1&&S&&F&&t.setStreamStyling(F,`${S}.Style`),i.$$.dirty[0]&268435456&&g&&ae()},[d,u,y,f,F,H,E,N,W,R,T,j,M,z,B,G,le,o,l,s,n,c,v,p,h,C,_,k,g,w,A,S,se,ce,ue,de,me,fe,he]}class re extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ke,_e,t.safe_not_equal,{endpoint:17,datasource:18,onclickeventname:19,actionevent:20,favoritesnumber:21,location:0,clientstyling:22,clientstylingurl:23,identity:24,translationurl:25,isprimarymenu:26,issecondarymenu:27,lang:28,activeindex:1,showsubgroups:2,categoriesicon:3,lobbyiconimage:29,mygamesiconimage:30,mbsource:31},we,[-1,-1])}get endpoint(){return this.$$.ctx[17]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[18]}set datasource(e){this.$$set({datasource:e}),t.flush()}get onclickeventname(){return this.$$.ctx[19]}set onclickeventname(e){this.$$set({onclickeventname:e}),t.flush()}get actionevent(){return this.$$.ctx[20]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get favoritesnumber(){return this.$$.ctx[21]}set favoritesnumber(e){this.$$set({favoritesnumber:e}),t.flush()}get location(){return this.$$.ctx[0]}set location(e){this.$$set({location:e}),t.flush()}get clientstyling(){return this.$$.ctx[22]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[23]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get identity(){return this.$$.ctx[24]}set identity(e){this.$$set({identity:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get isprimarymenu(){return this.$$.ctx[26]}set isprimarymenu(e){this.$$set({isprimarymenu:e}),t.flush()}get issecondarymenu(){return this.$$.ctx[27]}set issecondarymenu(e){this.$$set({issecondarymenu:e}),t.flush()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),t.flush()}get activeindex(){return this.$$.ctx[1]}set activeindex(e){this.$$set({activeindex:e}),t.flush()}get showsubgroups(){return this.$$.ctx[2]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get categoriesicon(){return this.$$.ctx[3]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[29]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[30]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(re,{endpoint:{},datasource:{},onclickeventname:{},actionevent:{},favoritesnumber:{},location:{},clientstyling:{},clientstylingurl:{},identity:{},translationurl:{},isprimarymenu:{type:"Boolean"},issecondarymenu:{type:"Boolean"},lang:{},activeindex:{},showsubgroups:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=re;
|