@everymatrix/casino-lobby 1.94.4 → 1.94.6
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-2e40gqN6.js → CasinoCalendar-Dq8GeDT3.js} +35 -35
- package/components/{CasinoCalendar-0WQcNlPu.js → CasinoCalendar-nnqgS7yF.js} +35 -35
- package/components/{CasinoCalendarDailyDetails-CPThT5dV.js → CasinoCalendarDailyDetails-CcbHnuzk.js} +34 -34
- package/components/{CasinoCalendarDailyDetails-BkC-bwwX.js → CasinoCalendarDailyDetails-PUohXMWV.js} +21 -21
- package/components/{CasinoCalendarDailyItem-DUtnEZXx.js → CasinoCalendarDailyItem-Br4Na8hg.js} +36 -36
- package/components/{CasinoCalendarDailyItem-QE8Ilmi3.js → CasinoCalendarDailyItem-CM075pBy.js} +36 -36
- package/components/{CasinoCategoriesSlider-DBTdytsO.js → CasinoCategoriesSlider-B6qxUC_d.js} +19 -19
- package/components/{CasinoCategoriesSlider-D96GYbRZ.js → CasinoCategoriesSlider-CpvsAYp0.js} +19 -19
- package/components/{CasinoCollectionsProviders-BbYa9ATX.js → CasinoCollectionsProviders-B-oWBBEp.js} +65 -65
- package/components/{CasinoCollectionsProviders-wJti6Ihy.js → CasinoCollectionsProviders-DT4NGWZa.js} +76 -76
- package/components/{CasinoFavoritesSection-BQTzQgxZ.js → CasinoFavoritesSection-C1laR0Y0.js} +34 -34
- package/components/{CasinoFavoritesSection-Bxs2CDrn.js → CasinoFavoritesSection-D9xwNuGW.js} +34 -34
- package/components/{CasinoFilter-BwUoi6rw.js → CasinoFilter--seLx4j4.js} +79 -79
- package/components/{CasinoFilter-BjKZK5Wn.js → CasinoFilter-DsorOmw7.js} +80 -80
- package/components/{CasinoGameThumbnail-CQvuKM6C.js → CasinoGameThumbnail-CLY8d-wT.js} +41 -41
- package/components/{CasinoGameThumbnail-Cc6fWR64.js → CasinoGameThumbnail-D15QaGSx.js} +41 -41
- package/components/{CasinoGamesCategorySection-Cw7FhP3L.js → CasinoGamesCategorySection-Bc-TGP-C.js} +4 -4
- package/components/{CasinoGamesCategorySection-CmunfXjd.js → CasinoGamesCategorySection-Cyg1hXpM.js} +4 -4
- package/components/{CasinoJackpotBanner-BQg0NyaX.js → CasinoJackpotBanner-CEhtr5Jk.js} +79 -79
- package/components/{CasinoJackpotBanner-CmcRZU07.js → CasinoJackpotBanner-CpR1Tr0J.js} +90 -90
- package/components/{CasinoLastPlayedSection-BgS67YFx.js → CasinoLastPlayedSection-DgvFqMuo.js} +41 -41
- package/components/{CasinoLastPlayedSection-DykvxRkq.js → CasinoLastPlayedSection-Gu09NIfv.js} +41 -41
- package/components/{CasinoLobby-BcfCUTmL.js → CasinoLobby-C0W1HXMj.js} +59 -59
- package/components/{CasinoLobby-Bsi_ZpY-.js → CasinoLobby-DpNvhztj.js} +59 -59
- package/components/{CasinoMostPlayedSection-CMFG_CJF.js → CasinoMostPlayedSection-CIrP8duG.js} +41 -41
- package/components/{CasinoMostPlayedSection-Dic6FZGg.js → CasinoMostPlayedSection-Tavje1Zx.js} +41 -41
- package/components/{CasinoMyGames-BkOcZsoN.js → CasinoMyGames-CtAxBsji.js} +25 -25
- package/components/{CasinoMyGames-YjOetSzR.js → CasinoMyGames-DkyxdH1N.js} +23 -23
- package/components/{CasinoPage-C7wVdXyK.js → CasinoPage-BKogr3Kw.js} +10 -10
- package/components/{CasinoPage-CeElAVVB.js → CasinoPage-DKZ3wE5j.js} +10 -10
- package/components/{CasinoRandomGame-kmqPDltu.js → CasinoRandomGame-BCdkhqXD.js} +80 -80
- package/components/{CasinoRandomGame-CBx1201E.js → CasinoRandomGame-Cd43DWIN.js} +80 -80
- package/components/{CasinoSearch-D0VJW-GG.js → CasinoSearch-BkWCLrAq.js} +45 -45
- package/components/{CasinoSearch-BKqS_njR.js → CasinoSearch-BsALFsNc.js} +45 -45
- package/components/{CasinoSlider-B3SVbfAB.js → CasinoSlider-CHPzwNhK.js} +70 -70
- package/components/{CasinoSlider-T9wCjMza.js → CasinoSlider-D7RGJbih.js} +74 -74
- package/components/{CasinoSort-LF6JbtsT.js → CasinoSort-Bg8HuV-6.js} +58 -58
- package/components/{CasinoSort-CY4FAlC3.js → CasinoSort-BwbFYjuJ.js} +36 -36
- package/components/{CasinoWinners-Ct2FIrLZ.js → CasinoWinners-CGCwCjAA.js} +111 -111
- package/components/{CasinoWinners-CmLnQCX9.js → CasinoWinners-Qp1azoxw.js} +116 -116
- package/components/{GeneralAnimationLoading-C89lTo-I.js → GeneralAnimationLoading-CvbIKLn5.js} +5 -5
- package/components/{GeneralAnimationLoading-CWhghzFD.js → GeneralAnimationLoading-DFGoITb0.js} +9 -9
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as J, $ as qe, d as xe, S as Ue, y as Ye, M as Pe, t as w, f as Xe, E as ae, p as D, L as Ke, g, z as A, e as y, D as H, K as Ve, q as M, V as O, G as Ze, s as G, a3 as be, n as ve, r as U, i as Je, h as Z, W as le, R as Q, Z as $, o as Qe, N as $e, O as et, P as tt, l as rt } from "./CasinoLobby-DpNvhztj.js";
|
|
2
2
|
function ot({ withLocale: n, translations: e }) {
|
|
3
|
-
|
|
4
|
-
t == null && (
|
|
3
|
+
J.subscribe((t) => {
|
|
4
|
+
t == null && (qe.set(e), J.set(n));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function se(n, e) {
|
|
8
|
-
|
|
8
|
+
xe(n, e);
|
|
9
9
|
}
|
|
10
10
|
function nt(n) {
|
|
11
|
-
|
|
11
|
+
J.set(n);
|
|
12
12
|
}
|
|
13
13
|
const ce = {
|
|
14
14
|
en: {
|
|
@@ -68,7 +68,7 @@ const ce = {
|
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
function it(n) {
|
|
71
|
-
|
|
71
|
+
Xe(n, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.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, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.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, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.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}');
|
|
72
72
|
}
|
|
73
73
|
function ue(n, e, t) {
|
|
74
74
|
const i = n.slice();
|
|
@@ -99,7 +99,7 @@ function ge(n) {
|
|
|
99
99
|
c() {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r].c();
|
|
102
|
-
i =
|
|
102
|
+
i = U();
|
|
103
103
|
},
|
|
104
104
|
m(r, s) {
|
|
105
105
|
for (let d = 0; d < e.length; d += 1)
|
|
@@ -175,7 +175,7 @@ function me(n) {
|
|
|
175
175
|
);
|
|
176
176
|
return {
|
|
177
177
|
c() {
|
|
178
|
-
t && t.c(), e =
|
|
178
|
+
t && t.c(), e = U();
|
|
179
179
|
},
|
|
180
180
|
m(i, a) {
|
|
181
181
|
t && t.m(i, a), A(i, e, a);
|
|
@@ -255,7 +255,7 @@ function Ce(n) {
|
|
|
255
255
|
}
|
|
256
256
|
return {
|
|
257
257
|
c() {
|
|
258
|
-
e = M("li"), t = M("a"), a = $(i), r =
|
|
258
|
+
e = M("li"), t = M("a"), a = $(i), r = O(), g(t, "class", l = "SubDropDown " + /*index*/
|
|
259
259
|
(n[59] == /*activeIndex*/
|
|
260
260
|
n[6] && /*activeSubIndex*/
|
|
261
261
|
(n[7] == /*subindex*/
|
|
@@ -267,10 +267,10 @@ function Ce(n) {
|
|
|
267
267
|
A(h, e, v), y(e, t), y(t, a), y(e, r), s || (d = H(e, "click", I), s = !0);
|
|
268
268
|
},
|
|
269
269
|
p(h, v) {
|
|
270
|
-
var
|
|
270
|
+
var L;
|
|
271
271
|
n = h, v[0] & /*subGroupsData*/
|
|
272
272
|
1024 && i !== (i = /*subGroupItem*/
|
|
273
|
-
((
|
|
273
|
+
((L = n[63]) == null ? void 0 : L.name) + "") && Q(a, i), v[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
274
274
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
|
275
275
|
(n[59] == /*activeIndex*/
|
|
276
276
|
n[6] && /*activeSubIndex*/
|
|
@@ -294,7 +294,7 @@ function pe(n, e) {
|
|
|
294
294
|
key: n,
|
|
295
295
|
first: null,
|
|
296
296
|
c() {
|
|
297
|
-
t =
|
|
297
|
+
t = U(), a && a.c(), i = U(), this.first = t;
|
|
298
298
|
},
|
|
299
299
|
m(l, r) {
|
|
300
300
|
A(l, t, r), a && a.m(l, r), A(l, i, r);
|
|
@@ -326,7 +326,7 @@ function we(n) {
|
|
|
326
326
|
c() {
|
|
327
327
|
for (let r = 0; r < e.length; r += 1)
|
|
328
328
|
e[r].c();
|
|
329
|
-
i =
|
|
329
|
+
i = U();
|
|
330
330
|
},
|
|
331
331
|
m(r, s) {
|
|
332
332
|
for (let d = 0; d < e.length; d += 1)
|
|
@@ -349,13 +349,13 @@ function we(n) {
|
|
|
349
349
|
}
|
|
350
350
|
function ye(n, e) {
|
|
351
351
|
let t, i, a, l, r, s, d, I, b, h, v;
|
|
352
|
-
function
|
|
352
|
+
function L(m, F) {
|
|
353
353
|
return (
|
|
354
354
|
/*location*/
|
|
355
355
|
m[0] === "headerMain" ? lt : at
|
|
356
356
|
);
|
|
357
357
|
}
|
|
358
|
-
let
|
|
358
|
+
let S = L(e), C = S(e), u = (
|
|
359
359
|
/*itemsActive*/
|
|
360
360
|
e[11][
|
|
361
361
|
/*index*/
|
|
@@ -379,7 +379,7 @@ function ye(n, e) {
|
|
|
379
379
|
first: null,
|
|
380
380
|
c() {
|
|
381
381
|
var m, F;
|
|
382
|
-
t = M("li"), i = M("div"), a = M("img"), s =
|
|
382
|
+
t = M("li"), i = M("div"), a = M("img"), s = O(), C.c(), d = O(), u && u.c(), I = O(), g(a, "class", l = "CategoryIconImg " + /*categoriesicon*/
|
|
383
383
|
(e[3] === "true" ? "" : "DisplayNone")), le(a.src, r = /*handleSrc*/
|
|
384
384
|
e[20](
|
|
385
385
|
/*category*/
|
|
@@ -400,7 +400,7 @@ function ye(n, e) {
|
|
|
400
400
|
A(m, t, F), y(t, i), y(i, a), y(t, s), C.m(t, null), y(t, d), u && u.m(t, null), y(t, I), h || (v = H(t, "click", _), h = !0);
|
|
401
401
|
},
|
|
402
402
|
p(m, F) {
|
|
403
|
-
var
|
|
403
|
+
var j, R;
|
|
404
404
|
e = m, F[0] & /*categoriesicon*/
|
|
405
405
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
|
406
406
|
(e[3] === "true" ? "" : "DisplayNone")) && g(a, "class", l), F[0] & /*sliderdata*/
|
|
@@ -408,13 +408,13 @@ function ye(n, e) {
|
|
|
408
408
|
e[20](
|
|
409
409
|
/*category*/
|
|
410
410
|
e[57]
|
|
411
|
-
)) && g(a, "src", r),
|
|
411
|
+
)) && g(a, "src", r), S === (S = L(e)) && C ? C.p(e, F) : (C.d(1), C = S(e), C && (C.c(), C.m(t, d))), /*itemsActive*/
|
|
412
412
|
e[11][
|
|
413
413
|
/*index*/
|
|
414
414
|
e[59]
|
|
415
415
|
] == !0 ? u ? u.p(e, F) : (u = me(e), u.c(), u.m(t, I)) : u && (u.d(1), u = null), F[0] & /*activeindex, sliderdata, location*/
|
|
416
416
|
515 && b !== (b = "CarouselItem " + /*activeindex*/
|
|
417
|
-
(((
|
|
417
|
+
(((j = e[1]) == null ? void 0 : j.toString().indexOf("$")) > -1 ? (
|
|
418
418
|
/*activeindex*/
|
|
419
419
|
((R = e[1]) == null ? void 0 : R.split("$").pop()) == /*category*/
|
|
420
420
|
e[57].id.split("$").pop() ? "active" : ""
|
|
@@ -431,19 +431,19 @@ function ye(n, e) {
|
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
433
|
function st(n) {
|
|
434
|
-
let e, t, i, a, l, r, s, d, I, b, h, v,
|
|
434
|
+
let e, t, i, a, l, r, s, d, I, b, h, v, L, S, C, u = (
|
|
435
435
|
/*sliderdata*/
|
|
436
436
|
n[9].length > 0 && ge(n)
|
|
437
437
|
);
|
|
438
438
|
return {
|
|
439
439
|
c() {
|
|
440
|
-
e = M("div"), t = M("div"), i = M("div"), i.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>', a =
|
|
440
|
+
e = M("div"), t = M("div"), i = M("div"), i.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>', a = O(), l = M("div"), r = M("ul"), s = M("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', d = O(), u && u.c(), I = O(), b = M("div"), b.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>', g(i, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap scroller"), g(b, "class", "CarouselRightArrow"), g(t, "class", h = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
441
441
|
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", v = /*location*/
|
|
442
|
-
n[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class",
|
|
442
|
+
n[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", L = "CarouselWrapper " + /*location*/
|
|
443
443
|
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
|
444
444
|
},
|
|
445
445
|
m(_, m) {
|
|
446
|
-
A(_, e, m), y(e, t), y(t, i), y(t, a), y(t, l), y(l, r), y(r, s), y(r, d), u && u.m(r, null), n[40](r), n[41](l), y(t, I), y(t, b), n[43](e),
|
|
446
|
+
A(_, e, m), y(e, t), y(t, i), y(t, a), y(t, l), y(l, r), y(r, s), y(r, d), u && u.m(r, null), n[40](r), n[41](l), y(t, I), y(t, b), n[43](e), S || (C = [
|
|
447
447
|
H(
|
|
448
448
|
i,
|
|
449
449
|
"click",
|
|
@@ -484,7 +484,7 @@ function st(n) {
|
|
|
484
484
|
/*click_handler_4*/
|
|
485
485
|
n[42]
|
|
486
486
|
)
|
|
487
|
-
],
|
|
487
|
+
], S = !0);
|
|
488
488
|
},
|
|
489
489
|
p(_, m) {
|
|
490
490
|
/*sliderdata*/
|
|
@@ -493,34 +493,34 @@ function st(n) {
|
|
|
493
493
|
_[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && g(t, "class", h), m[0] & /*location*/
|
|
494
494
|
1 && v !== (v = /*location*/
|
|
495
495
|
_[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", v), m[0] & /*location*/
|
|
496
|
-
1 &&
|
|
497
|
-
(_[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class",
|
|
496
|
+
1 && L !== (L = "CarouselWrapper " + /*location*/
|
|
497
|
+
(_[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class", L);
|
|
498
498
|
},
|
|
499
499
|
i: ae,
|
|
500
500
|
o: ae,
|
|
501
501
|
d(_) {
|
|
502
|
-
_ && D(e), u && u.d(), n[40](null), n[41](null), n[43](null),
|
|
502
|
+
_ && D(e), u && u.d(), n[40](null), n[41](null), n[43](null), S = !1, Ke(C);
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
505
|
}
|
|
506
506
|
function ct(n, e, t) {
|
|
507
|
-
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: I = "" } = e, { clientstylingurl: b = "" } = e, { identity: h = "" } = e, { translationurl: v = "" } = e, { isprimarymenu:
|
|
507
|
+
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: I = "" } = e, { clientstylingurl: b = "" } = e, { identity: h = "" } = e, { translationurl: v = "" } = e, { isprimarymenu: L = !1 } = e, { issecondarymenu: S = !1 } = e, { lang: C = "" } = e, { activeindex: u = "0" } = e, { showsubgroups: _ = "false" } = e, { categoriesicon: m = "false" } = e, { lobbyiconimage: F = "" } = e, { mygamesiconimage: j = "" } = e, { mbsource: R = "" } = e, _e, f;
|
|
508
508
|
ot({ withLocale: "en", translations: {} });
|
|
509
|
-
let
|
|
509
|
+
let Y = !1, ee = 0, te = 0;
|
|
510
510
|
const ke = (o) => {
|
|
511
511
|
var c, p;
|
|
512
|
-
o.preventDefault(),
|
|
512
|
+
o.preventDefault(), Y = !0, f == null || f.classList.add("dragging"), ee = o.pageX - ((c = f == null ? void 0 : f.offsetLeft) != null ? c : 0), te = (p = f == null ? void 0 : f.scrollLeft) != null ? p : 0;
|
|
513
513
|
}, Fe = (o) => {
|
|
514
|
-
o.preventDefault(),
|
|
514
|
+
o.preventDefault(), Y = !1, f == null || f.classList.remove("dragging");
|
|
515
515
|
}, Me = (o) => {
|
|
516
|
-
|
|
516
|
+
Y = !1, f == null || f.classList.remove("dragging");
|
|
517
517
|
}, Ie = (o) => {
|
|
518
|
-
if (!
|
|
518
|
+
if (!Y || !f)
|
|
519
519
|
return;
|
|
520
520
|
o.preventDefault();
|
|
521
521
|
const p = (o.pageX - f.offsetLeft - ee) * 2.5;
|
|
522
522
|
t(5, f.scrollLeft = te - p, f);
|
|
523
|
-
},
|
|
523
|
+
}, Le = () => {
|
|
524
524
|
fetch(v).then((c) => c.json()).then((c) => {
|
|
525
525
|
Object.keys(c).forEach((p) => {
|
|
526
526
|
se(p, c[p]);
|
|
@@ -532,10 +532,10 @@ function ct(n, e, t) {
|
|
|
532
532
|
Object.keys(ce).forEach((o) => {
|
|
533
533
|
se(o, ce[o]);
|
|
534
534
|
});
|
|
535
|
-
let T,
|
|
536
|
-
var
|
|
535
|
+
let T, q, K, E, x = [], P = [], z = [], k, V = (o, c, p, W, N) => {
|
|
536
|
+
var B;
|
|
537
537
|
if (!(o.subGroups && W === null)) {
|
|
538
|
-
if (
|
|
538
|
+
if (X(), t(6, T = c), t(6, T), N != "secondary") {
|
|
539
539
|
window.postMessage(
|
|
540
540
|
{
|
|
541
541
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
|
@@ -545,13 +545,13 @@ function ct(n, e, t) {
|
|
|
545
545
|
item: o,
|
|
546
546
|
path: o.path,
|
|
547
547
|
externalLink: o.externalLink || !1,
|
|
548
|
-
target: ((
|
|
548
|
+
target: ((B = o.attrs) == null ? void 0 : B.target) || null
|
|
549
549
|
},
|
|
550
550
|
window.location.href
|
|
551
|
-
), t(7,
|
|
551
|
+
), t(7, q = null), t(8, K = null);
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
t(7,
|
|
554
|
+
t(7, q = W), t(7, q), t(8, K = q), window.postMessage(
|
|
555
555
|
{
|
|
556
556
|
type: r,
|
|
557
557
|
itemId: p.id,
|
|
@@ -567,16 +567,16 @@ function ct(n, e, t) {
|
|
|
567
567
|
k && (z.length !== T ? t(12, k.scrollLeft += 250, k) : t(12, k.scrollLeft = 0, k));
|
|
568
568
|
};
|
|
569
569
|
const ne = (o) => {
|
|
570
|
-
o.data.type == "SliderData" && o.data.identity == h && (t(9,
|
|
570
|
+
o.data.type == "SliderData" && o.data.identity == h && (t(9, x = o.data.data), t(11, z = new Array(x.length).fill(!1)), _ == "true" && Ae()), o.data.type == "GoToHomepage" && x.forEach((c, p) => {
|
|
571
571
|
c.path.endsWith("/casino") && (t(6, T = p), t(6, T));
|
|
572
572
|
});
|
|
573
|
-
},
|
|
573
|
+
}, Se = () => {
|
|
574
574
|
nt(C);
|
|
575
575
|
}, De = (o, c, p) => {
|
|
576
576
|
if (d == "secondaryMenu" && i && a && C && o.id) {
|
|
577
577
|
let W = new URL(`${i}/v1/casino/groups/${a}/${o.id}/subGroups?language=${C}`);
|
|
578
578
|
fetch(W.href).then((N) => N.json()).then((N) => {
|
|
579
|
-
N.index = c, t(10,
|
|
579
|
+
N.index = c, t(10, P = P.concat(N)), _ == "false" && window.postMessage(
|
|
580
580
|
{
|
|
581
581
|
type: r,
|
|
582
582
|
itemId: o.id,
|
|
@@ -585,40 +585,40 @@ function ct(n, e, t) {
|
|
|
585
585
|
},
|
|
586
586
|
window.location.href
|
|
587
587
|
);
|
|
588
|
-
const
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
}),
|
|
588
|
+
const B = [];
|
|
589
|
+
P.map((ze) => (ze.items.forEach((ie) => {
|
|
590
|
+
B.find((Ge) => ie.id == Ge) || B.push(ie.id);
|
|
591
|
+
}), B.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: B }, window.location.href);
|
|
592
592
|
}).then(() => {
|
|
593
|
-
f.querySelectorAll(".DropDown") &&
|
|
593
|
+
f.querySelectorAll(".DropDown") && X();
|
|
594
594
|
});
|
|
595
595
|
}
|
|
596
596
|
d == "headerMain" && window.postMessage({ type: r, item: o }, window.location.href);
|
|
597
|
-
},
|
|
597
|
+
}, X = () => {
|
|
598
598
|
const o = f.querySelectorAll(".DropDown");
|
|
599
599
|
document.activeElement.blur(), k.classList.add("isScrolling");
|
|
600
600
|
for (let c = 0; c < o.length; c++)
|
|
601
601
|
o[c].style.transform = "translateX(-" + k.scrollLeft + "px)";
|
|
602
602
|
k.classList.remove("isScrolling");
|
|
603
603
|
}, Ae = () => {
|
|
604
|
-
|
|
604
|
+
x.forEach((o, c) => {
|
|
605
605
|
var p;
|
|
606
606
|
((p = o == null ? void 0 : o.subGroups) == null ? void 0 : p.count) > 0 && (t(11, z[c] = !0, z), De(o, c));
|
|
607
607
|
});
|
|
608
608
|
}, Ee = (o) => {
|
|
609
609
|
let c = "";
|
|
610
|
-
return o.id === "LOBBY" ? c = F : o.id === "MYGAMES" && (c =
|
|
610
|
+
return o.id === "LOBBY" ? c = F : o.id === "MYGAMES" && (c = j), o.icon || c;
|
|
611
611
|
};
|
|
612
|
-
|
|
612
|
+
Ze(() => (window.addEventListener("message", ne, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
613
613
|
() => {
|
|
614
|
-
k.addEventListener("scroll",
|
|
614
|
+
k.addEventListener("scroll", X);
|
|
615
615
|
},
|
|
616
616
|
500
|
|
617
617
|
), window.postMessage({ type: "SliderLoaded", identity: h }), () => {
|
|
618
|
-
window.removeEventListener("message", ne), f.removeEventListener("scroll",
|
|
618
|
+
window.removeEventListener("message", ne), f.removeEventListener("scroll", X);
|
|
619
619
|
}));
|
|
620
620
|
function He(o) {
|
|
621
|
-
|
|
621
|
+
Je.call(this, n, o);
|
|
622
622
|
}
|
|
623
623
|
const Ne = () => re(), Re = (o, c, p, W, N) => {
|
|
624
624
|
V(o, c, p, W, "secondary"), N.stopPropagation();
|
|
@@ -626,32 +626,32 @@ function ct(n, e, t) {
|
|
|
626
626
|
V(o, c, null, null, "main"), p.preventDefault();
|
|
627
627
|
};
|
|
628
628
|
function We(o) {
|
|
629
|
-
|
|
629
|
+
Z[o ? "unshift" : "push"](() => {
|
|
630
630
|
f = o, t(5, f);
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
|
-
function
|
|
634
|
-
|
|
633
|
+
function Be(o) {
|
|
634
|
+
Z[o ? "unshift" : "push"](() => {
|
|
635
635
|
k = o, t(12, k);
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
|
-
const
|
|
639
|
-
function
|
|
640
|
-
|
|
638
|
+
const Oe = () => oe();
|
|
639
|
+
function je(o) {
|
|
640
|
+
Z[o ? "unshift" : "push"](() => {
|
|
641
641
|
E = o, t(4, E);
|
|
642
642
|
});
|
|
643
643
|
}
|
|
644
644
|
return n.$$set = (o) => {
|
|
645
|
-
"endpoint" in o && t(21, i = o.endpoint), "datasource" in o && t(22, a = o.datasource), "onclickeventname" in o && t(23, l = o.onclickeventname), "actionevent" in o && t(24, r = o.actionevent), "favoritesnumber" in o && t(25, s = o.favoritesnumber), "location" in o && t(0, d = o.location), "clientstyling" in o && t(26, I = o.clientstyling), "clientstylingurl" in o && t(27, b = o.clientstylingurl), "identity" in o && t(28, h = o.identity), "translationurl" in o && t(29, v = o.translationurl), "isprimarymenu" in o && t(30,
|
|
645
|
+
"endpoint" in o && t(21, i = o.endpoint), "datasource" in o && t(22, a = o.datasource), "onclickeventname" in o && t(23, l = o.onclickeventname), "actionevent" in o && t(24, r = o.actionevent), "favoritesnumber" in o && t(25, s = o.favoritesnumber), "location" in o && t(0, d = o.location), "clientstyling" in o && t(26, I = o.clientstyling), "clientstylingurl" in o && t(27, b = o.clientstylingurl), "identity" in o && t(28, h = o.identity), "translationurl" in o && t(29, v = o.translationurl), "isprimarymenu" in o && t(30, L = o.isprimarymenu), "issecondarymenu" in o && t(31, S = o.issecondarymenu), "lang" in o && t(32, C = o.lang), "activeindex" in o && t(1, u = o.activeindex), "showsubgroups" in o && t(2, _ = o.showsubgroups), "categoriesicon" in o && t(3, m = o.categoriesicon), "lobbyiconimage" in o && t(33, F = o.lobbyiconimage), "mygamesiconimage" in o && t(34, j = o.mygamesiconimage), "mbsource" in o && t(35, R = o.mbsource);
|
|
646
646
|
}, n.$$.update = () => {
|
|
647
647
|
n.$$.dirty[0] & /*activeindex*/
|
|
648
648
|
2, n.$$.dirty[0] & /*translationurl*/
|
|
649
|
-
536870912 && v &&
|
|
649
|
+
536870912 && v && Le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
650
650
|
67108880 && I && E && $e(E, I), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
651
651
|
134217744 && b && E && et(E, b), n.$$.dirty[0] & /*customStylingContainer*/
|
|
652
652
|
16 | n.$$.dirty[1] & /*mbsource*/
|
|
653
653
|
16 && R && E && tt(E, `${R}.Style`, _e), n.$$.dirty[1] & /*lang*/
|
|
654
|
-
2 && C &&
|
|
654
|
+
2 && C && Se();
|
|
655
655
|
}, [
|
|
656
656
|
d,
|
|
657
657
|
u,
|
|
@@ -660,10 +660,10 @@ function ct(n, e, t) {
|
|
|
660
660
|
E,
|
|
661
661
|
f,
|
|
662
662
|
T,
|
|
663
|
-
Y,
|
|
664
|
-
K,
|
|
665
663
|
q,
|
|
666
|
-
|
|
664
|
+
K,
|
|
665
|
+
x,
|
|
666
|
+
P,
|
|
667
667
|
z,
|
|
668
668
|
k,
|
|
669
669
|
ke,
|
|
@@ -683,30 +683,30 @@ function ct(n, e, t) {
|
|
|
683
683
|
b,
|
|
684
684
|
h,
|
|
685
685
|
v,
|
|
686
|
-
S,
|
|
687
686
|
L,
|
|
687
|
+
S,
|
|
688
688
|
C,
|
|
689
689
|
F,
|
|
690
|
-
|
|
690
|
+
j,
|
|
691
691
|
R,
|
|
692
692
|
He,
|
|
693
693
|
Ne,
|
|
694
694
|
Re,
|
|
695
695
|
Te,
|
|
696
696
|
We,
|
|
697
|
-
je,
|
|
698
697
|
Be,
|
|
699
|
-
Oe
|
|
698
|
+
Oe,
|
|
699
|
+
je
|
|
700
700
|
];
|
|
701
701
|
}
|
|
702
|
-
class ut extends
|
|
702
|
+
class ut extends Ue {
|
|
703
703
|
constructor(e) {
|
|
704
|
-
super(),
|
|
704
|
+
super(), Ye(
|
|
705
705
|
this,
|
|
706
706
|
e,
|
|
707
707
|
ct,
|
|
708
708
|
st,
|
|
709
|
-
|
|
709
|
+
Pe,
|
|
710
710
|
{
|
|
711
711
|
endpoint: 21,
|
|
712
712
|
datasource: 22,
|