@everymatrix/casino-lobby 1.63.3 → 1.64.0
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-Csi0tXv8.js → CasinoCalendar-BONyZpYE.js} +121 -121
- package/components/{CasinoCalendar-B7GhaaB1.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
- package/components/{CasinoCalendar-7kqLzYIJ.js → CasinoCalendar-IdM-lXMG.js} +208 -208
- package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
- package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
- package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-DBZbBU6V.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
- package/components/{CasinoCalendarDailyItem-CE8ew-fF.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
- package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
- package/components/{CasinoCategoriesSlider-CdwDeUzc.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
- package/components/{CasinoCategoriesSlider-D4LBBsWH.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
- package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BbBtM28b.js → CasinoCollectionsProviders-DCfKtqH3.js} +118 -118
- package/components/{CasinoCollectionsProviders-Bpb7sM1P.js → CasinoCollectionsProviders-QF8UYQEH.js} +122 -122
- package/components/{CasinoFavoritesSection-DoU7Ci-7.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
- package/components/{CasinoFavoritesSection-Cl-6cioz.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
- package/components/{CasinoFavoritesSection-BTM3dZNo.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
- package/components/{CasinoFilter-jbZAMnJ7.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
- package/components/{CasinoFilter-BN4Wtk2h.js → CasinoFilter-Dm91I-UU.js} +111 -111
- package/components/{CasinoFilter-Ct-8nr2l.js → CasinoFilter-hFLJX_M2.js} +108 -108
- package/components/{CasinoGameThumbnail-BgaKFGIJ.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
- package/components/{CasinoGameThumbnail-CDstK8Y3.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
- package/components/{CasinoGameThumbnail-CiaYYLXu.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
- package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
- package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
- package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
- package/components/{CasinoJackpotBanner-DX2K3Sso.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
- package/components/{CasinoJackpotBanner-C5x3Mdln.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
- package/components/{CasinoJackpotBanner-BjEKJiKG.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DgtwB0LY.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
- package/components/{CasinoLastPlayedSection-p0ilcCTC.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
- package/components/{CasinoLastPlayedSection-CI_0ECL-.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
- package/components/{CasinoLobby-CseOv8Yj.js → CasinoLobby-BBAE1WZB.js} +135 -120
- package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
- package/components/{CasinoLobby-DG6dQueF.js → CasinoLobby-CnppP-Q0.js} +135 -120
- package/components/{CasinoMostPlayedSection-DkMxb2tp.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
- package/components/{CasinoMostPlayedSection-Y7GkBB4c.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
- package/components/{CasinoMostPlayedSection-DgjP9n0o.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
- package/components/{CasinoMyGames-bw2jzPSz.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
- package/components/{CasinoMyGames-iW34NgHs.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
- package/components/{CasinoMyGames-lcaVAF4Y.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
- package/components/{CasinoPage-DlCmgNUk.js → CasinoPage-BZesrUyc.js} +189 -189
- package/components/{CasinoPage-NFQopbTN.js → CasinoPage-CPmBzeSF.js} +189 -189
- package/components/{CasinoPage-D1nj7ju_.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
- package/components/{CasinoRandomGame-DX--_O5S.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
- package/components/{CasinoRandomGame-D5rbkfAP.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
- package/components/{CasinoRandomGame-BjmFZ_DM.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
- package/components/{CasinoSearch-DZXW71Hu.js → CasinoSearch--m6RPf0J.js} +52 -52
- package/components/{CasinoSearch-CVPUjeCK.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
- package/components/{CasinoSearch--VdAWMEG.js → CasinoSearch-DZTQwy97.js} +50 -50
- package/components/CasinoSlider-BR0_If4T.js +797 -0
- package/components/{CasinoSlider-8av7ygLi.js → CasinoSlider-CtMPHXUh.js} +136 -136
- package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
- package/components/{CasinoSort-BJup_vct.js → CasinoSort-CFaQhCeN.js} +32 -32
- package/components/{CasinoSort-CV4P6WUH.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
- package/components/{CasinoSort-Dn39QhX6.js → CasinoSort-CjTUg9jC.js} +32 -32
- package/components/{CasinoWinners-DY-XeuDT.js → CasinoWinners-CJI2fDKO.js} +151 -151
- package/components/{CasinoWinners-BceQ59PS.js → CasinoWinners-CvtwPY7V.js} +157 -157
- package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
- package/components/{GeneralAnimationLoading-B-qNTlQZ.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Bu3UyKqx.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
- package/components/{GeneralAnimationLoading-HRytW6Io.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
- package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
- package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
- package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
- package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
- package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
- package/stencil/{ui-image-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-BovhUzXq.js +0 -694
- package/components/CasinoCalendarDailyDetails-DRn6XNlS.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-MY6BRTWf.js +0 -694
- package/components/CasinoCalendarDailyItem-i0FRrjoK.cjs +0 -1
- package/components/CasinoCategoriesSlider-DltcuPbJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-BzpUMq8J.cjs +0 -1
- package/components/CasinoGamesCategorySection-8tZbstvF.cjs +0 -1
- package/components/CasinoGamesCategorySection-DJohdErr.js +0 -3139
- package/components/CasinoGamesCategorySection-Dovm2bNV.js +0 -3170
- package/components/CasinoLobby-BxdCeX3T.cjs +0 -1
- package/components/CasinoSlider-DpYcXyrl.js +0 -797
- package/components/CasinoSlider-chctBr3W.cjs +0 -1
- package/components/CasinoWinners-DMlbI9Rh.cjs +0 -1
- package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
|
@@ -0,0 +1,797 @@
|
|
|
1
|
+
import { $ as X, Q as Ne, a as Re, S as Te, i as Be, s as je, f as C, b as Oe, n as oe, d as S, O as We, r as f, h as D, p, A as U, j as v, B as R, o as ze, v as j, Y as pe, Z as we, U as z, C as Q, D as ie, m as Z, q as V, w as Ge, H as xe, I as Ye, J as qe, K as Ue } from "./CasinoCalendar-IdM-lXMG.js";
|
|
2
|
+
function Pe({ withLocale: n, translations: e }) {
|
|
3
|
+
X.subscribe((t) => {
|
|
4
|
+
t == null && (Ne.set(e), X.set(n));
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
function ne(n, e) {
|
|
8
|
+
Re(n, e);
|
|
9
|
+
}
|
|
10
|
+
function Ke(n) {
|
|
11
|
+
X.set(n);
|
|
12
|
+
}
|
|
13
|
+
const ae = {
|
|
14
|
+
en: {
|
|
15
|
+
login: "Login",
|
|
16
|
+
register: "Register",
|
|
17
|
+
deposit: "Deposit"
|
|
18
|
+
},
|
|
19
|
+
"zh-hk": {
|
|
20
|
+
login: "登錄",
|
|
21
|
+
register: "登記",
|
|
22
|
+
deposit: "訂金"
|
|
23
|
+
},
|
|
24
|
+
fr: {
|
|
25
|
+
login: "Connexion",
|
|
26
|
+
register: "Registre",
|
|
27
|
+
deposit: "Dépôt"
|
|
28
|
+
},
|
|
29
|
+
tr: {
|
|
30
|
+
login: "Giriş",
|
|
31
|
+
register: "Kayıt",
|
|
32
|
+
deposit: "Para Yatır"
|
|
33
|
+
},
|
|
34
|
+
ro: {
|
|
35
|
+
login: "Autentificare",
|
|
36
|
+
register: "Inregistrare",
|
|
37
|
+
deposit: "Depozit"
|
|
38
|
+
},
|
|
39
|
+
es: {
|
|
40
|
+
login: "Iniciar sesión",
|
|
41
|
+
register: "Regístrate",
|
|
42
|
+
deposit: "Deposita"
|
|
43
|
+
},
|
|
44
|
+
pt: {
|
|
45
|
+
login: "Entrar",
|
|
46
|
+
register: "Registro",
|
|
47
|
+
deposit: "Depósito"
|
|
48
|
+
},
|
|
49
|
+
hr: {
|
|
50
|
+
login: "Prijava",
|
|
51
|
+
register: "Registracija",
|
|
52
|
+
deposit: "Uplata"
|
|
53
|
+
},
|
|
54
|
+
"pt-br": {
|
|
55
|
+
login: "Entrem",
|
|
56
|
+
register: "Registro",
|
|
57
|
+
deposit: "Depósito"
|
|
58
|
+
},
|
|
59
|
+
"es-mx": {
|
|
60
|
+
login: "Entrar",
|
|
61
|
+
register: "Registro",
|
|
62
|
+
deposit: "Depósito"
|
|
63
|
+
},
|
|
64
|
+
"en-us": {
|
|
65
|
+
login: "Login",
|
|
66
|
+
register: "Register",
|
|
67
|
+
deposit: "Deposit"
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
function Je(n) {
|
|
71
|
+
Oe(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
|
+
}
|
|
73
|
+
function le(n, e, t) {
|
|
74
|
+
const o = n.slice();
|
|
75
|
+
return o[48] = e[t], o[50] = t, o;
|
|
76
|
+
}
|
|
77
|
+
function se(n, e, t) {
|
|
78
|
+
const o = n.slice();
|
|
79
|
+
return o[51] = e[t], o;
|
|
80
|
+
}
|
|
81
|
+
function ce(n, e, t) {
|
|
82
|
+
const o = n.slice();
|
|
83
|
+
return o[54] = e[t], o[56] = t, o;
|
|
84
|
+
}
|
|
85
|
+
function ue(n) {
|
|
86
|
+
let e = [], t = /* @__PURE__ */ new Map(), o, a = j(
|
|
87
|
+
/*sliderdata*/
|
|
88
|
+
n[9]
|
|
89
|
+
);
|
|
90
|
+
const l = (r) => (
|
|
91
|
+
/*category*/
|
|
92
|
+
r[48].id
|
|
93
|
+
);
|
|
94
|
+
for (let r = 0; r < a.length; r += 1) {
|
|
95
|
+
let s = le(n, a, r), u = l(s);
|
|
96
|
+
t.set(u, e[r] = Ce(u, s));
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
c() {
|
|
100
|
+
for (let r = 0; r < e.length; r += 1)
|
|
101
|
+
e[r].c();
|
|
102
|
+
o = z();
|
|
103
|
+
},
|
|
104
|
+
m(r, s) {
|
|
105
|
+
for (let u = 0; u < e.length; u += 1)
|
|
106
|
+
e[u] && e[u].m(r, s);
|
|
107
|
+
D(r, o, s);
|
|
108
|
+
},
|
|
109
|
+
p(r, s) {
|
|
110
|
+
s[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
|
111
|
+
77775 && (a = j(
|
|
112
|
+
/*sliderdata*/
|
|
113
|
+
r[9]
|
|
114
|
+
), e = pe(e, s, l, 1, r, a, t, o.parentNode, we, Ce, o, le));
|
|
115
|
+
},
|
|
116
|
+
d(r) {
|
|
117
|
+
r && S(o);
|
|
118
|
+
for (let s = 0; s < e.length; s += 1)
|
|
119
|
+
e[s].d(r);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function Qe(n) {
|
|
124
|
+
let e, t = (
|
|
125
|
+
/*category*/
|
|
126
|
+
n[48].name + ""
|
|
127
|
+
), o;
|
|
128
|
+
return {
|
|
129
|
+
c() {
|
|
130
|
+
e = v("button"), o = V(t), f(e, "class", "CategoryButton");
|
|
131
|
+
},
|
|
132
|
+
m(a, l) {
|
|
133
|
+
D(a, e, l), p(e, o);
|
|
134
|
+
},
|
|
135
|
+
p(a, l) {
|
|
136
|
+
l[0] & /*sliderdata*/
|
|
137
|
+
512 && t !== (t = /*category*/
|
|
138
|
+
a[48].name + "") && Z(o, t);
|
|
139
|
+
},
|
|
140
|
+
d(a) {
|
|
141
|
+
a && S(e);
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
function Xe(n) {
|
|
146
|
+
let e, t = (
|
|
147
|
+
/*category*/
|
|
148
|
+
n[48].label + ""
|
|
149
|
+
), o, a;
|
|
150
|
+
return {
|
|
151
|
+
c() {
|
|
152
|
+
e = v("a"), o = V(t), f(e, "href", a = /*category*/
|
|
153
|
+
n[48].path);
|
|
154
|
+
},
|
|
155
|
+
m(l, r) {
|
|
156
|
+
D(l, e, r), p(e, o);
|
|
157
|
+
},
|
|
158
|
+
p(l, r) {
|
|
159
|
+
r[0] & /*sliderdata*/
|
|
160
|
+
512 && t !== (t = /*category*/
|
|
161
|
+
l[48].label + "") && Z(o, t), r[0] & /*sliderdata*/
|
|
162
|
+
512 && a !== (a = /*category*/
|
|
163
|
+
l[48].path) && f(e, "href", a);
|
|
164
|
+
},
|
|
165
|
+
d(l) {
|
|
166
|
+
l && S(e);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
function de(n) {
|
|
171
|
+
let e, t = (
|
|
172
|
+
/*subGroupsData*/
|
|
173
|
+
n[10].length > 0 && /*showsubgroups*/
|
|
174
|
+
n[2] == "true" && fe(n)
|
|
175
|
+
);
|
|
176
|
+
return {
|
|
177
|
+
c() {
|
|
178
|
+
t && t.c(), e = z();
|
|
179
|
+
},
|
|
180
|
+
m(o, a) {
|
|
181
|
+
t && t.m(o, a), D(o, e, a);
|
|
182
|
+
},
|
|
183
|
+
p(o, a) {
|
|
184
|
+
/*subGroupsData*/
|
|
185
|
+
o[10].length > 0 && /*showsubgroups*/
|
|
186
|
+
o[2] == "true" ? t ? t.p(o, a) : (t = fe(o), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
187
|
+
},
|
|
188
|
+
d(o) {
|
|
189
|
+
o && S(e), t && t.d(o);
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
function fe(n) {
|
|
194
|
+
let e, t = j(
|
|
195
|
+
/*subGroupsData*/
|
|
196
|
+
n[10]
|
|
197
|
+
), o = [];
|
|
198
|
+
for (let a = 0; a < t.length; a += 1)
|
|
199
|
+
o[a] = he(se(n, t, a));
|
|
200
|
+
return {
|
|
201
|
+
c() {
|
|
202
|
+
e = v("ul");
|
|
203
|
+
for (let a = 0; a < o.length; a += 1)
|
|
204
|
+
o[a].c();
|
|
205
|
+
f(e, "class", "DropDown");
|
|
206
|
+
},
|
|
207
|
+
m(a, l) {
|
|
208
|
+
D(a, e, l);
|
|
209
|
+
for (let r = 0; r < o.length; r += 1)
|
|
210
|
+
o[r] && o[r].m(e, null);
|
|
211
|
+
},
|
|
212
|
+
p(a, l) {
|
|
213
|
+
if (l[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
|
214
|
+
10176) {
|
|
215
|
+
t = j(
|
|
216
|
+
/*subGroupsData*/
|
|
217
|
+
a[10]
|
|
218
|
+
);
|
|
219
|
+
let r;
|
|
220
|
+
for (r = 0; r < t.length; r += 1) {
|
|
221
|
+
const s = se(a, t, r);
|
|
222
|
+
o[r] ? o[r].p(s, l) : (o[r] = he(s), o[r].c(), o[r].m(e, null));
|
|
223
|
+
}
|
|
224
|
+
for (; r < o.length; r += 1)
|
|
225
|
+
o[r].d(1);
|
|
226
|
+
o.length = t.length;
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
d(a) {
|
|
230
|
+
a && S(e), Ge(o, a);
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
function ge(n) {
|
|
235
|
+
let e, t, o = (
|
|
236
|
+
/*subGroupItem*/
|
|
237
|
+
n[54]?.name + ""
|
|
238
|
+
), a, l, r, s, u;
|
|
239
|
+
function _(...g) {
|
|
240
|
+
return (
|
|
241
|
+
/*click_handler_1*/
|
|
242
|
+
n[33](
|
|
243
|
+
/*category*/
|
|
244
|
+
n[48],
|
|
245
|
+
/*index*/
|
|
246
|
+
n[50],
|
|
247
|
+
/*subGroupItem*/
|
|
248
|
+
n[54],
|
|
249
|
+
/*subindex*/
|
|
250
|
+
n[56],
|
|
251
|
+
...g
|
|
252
|
+
)
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
return {
|
|
256
|
+
c() {
|
|
257
|
+
e = v("li"), t = v("a"), a = V(o), r = R(), f(t, "class", l = "SubDropDown " + /*index*/
|
|
258
|
+
(n[50] == /*activeIndex*/
|
|
259
|
+
n[6] && /*activeSubIndex*/
|
|
260
|
+
(n[7] == /*subindex*/
|
|
261
|
+
n[56] || /*prevSubIndex*/
|
|
262
|
+
n[8] == /*subindex*/
|
|
263
|
+
n[56]) ? "active" : ""));
|
|
264
|
+
},
|
|
265
|
+
m(g, w) {
|
|
266
|
+
D(g, e, w), p(e, t), p(t, a), p(e, r), s || (u = U(e, "click", _), s = !0);
|
|
267
|
+
},
|
|
268
|
+
p(g, w) {
|
|
269
|
+
n = g, w[0] & /*subGroupsData*/
|
|
270
|
+
1024 && o !== (o = /*subGroupItem*/
|
|
271
|
+
n[54]?.name + "") && Z(a, o), w[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
|
272
|
+
1984 && l !== (l = "SubDropDown " + /*index*/
|
|
273
|
+
(n[50] == /*activeIndex*/
|
|
274
|
+
n[6] && /*activeSubIndex*/
|
|
275
|
+
(n[7] == /*subindex*/
|
|
276
|
+
n[56] || /*prevSubIndex*/
|
|
277
|
+
n[8] == /*subindex*/
|
|
278
|
+
n[56]) ? "active" : "")) && f(t, "class", l);
|
|
279
|
+
},
|
|
280
|
+
d(g) {
|
|
281
|
+
g && S(e), s = !1, u();
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
function me(n, e) {
|
|
286
|
+
let t, o, a = (
|
|
287
|
+
/*index*/
|
|
288
|
+
e[50] == /*subGroup*/
|
|
289
|
+
e[51].index && ge(e)
|
|
290
|
+
);
|
|
291
|
+
return {
|
|
292
|
+
key: n,
|
|
293
|
+
first: null,
|
|
294
|
+
c() {
|
|
295
|
+
t = z(), a && a.c(), o = z(), this.first = t;
|
|
296
|
+
},
|
|
297
|
+
m(l, r) {
|
|
298
|
+
D(l, t, r), a && a.m(l, r), D(l, o, r);
|
|
299
|
+
},
|
|
300
|
+
p(l, r) {
|
|
301
|
+
e = l, /*index*/
|
|
302
|
+
e[50] == /*subGroup*/
|
|
303
|
+
e[51].index ? a ? a.p(e, r) : (a = ge(e), a.c(), a.m(o.parentNode, o)) : a && (a.d(1), a = null);
|
|
304
|
+
},
|
|
305
|
+
d(l) {
|
|
306
|
+
l && (S(t), S(o)), a && a.d(l);
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
function he(n) {
|
|
311
|
+
let e = [], t = /* @__PURE__ */ new Map(), o, a = j(
|
|
312
|
+
/*subGroup*/
|
|
313
|
+
n[51].items
|
|
314
|
+
);
|
|
315
|
+
const l = (r) => (
|
|
316
|
+
/*subGroupItem*/
|
|
317
|
+
r[54].id
|
|
318
|
+
);
|
|
319
|
+
for (let r = 0; r < a.length; r += 1) {
|
|
320
|
+
let s = ce(n, a, r), u = l(s);
|
|
321
|
+
t.set(u, e[r] = me(u, s));
|
|
322
|
+
}
|
|
323
|
+
return {
|
|
324
|
+
c() {
|
|
325
|
+
for (let r = 0; r < e.length; r += 1)
|
|
326
|
+
e[r].c();
|
|
327
|
+
o = z();
|
|
328
|
+
},
|
|
329
|
+
m(r, s) {
|
|
330
|
+
for (let u = 0; u < e.length; u += 1)
|
|
331
|
+
e[u] && e[u].m(r, s);
|
|
332
|
+
D(r, o, s);
|
|
333
|
+
},
|
|
334
|
+
p(r, s) {
|
|
335
|
+
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
|
336
|
+
10176 && (a = j(
|
|
337
|
+
/*subGroup*/
|
|
338
|
+
r[51].items
|
|
339
|
+
), e = pe(e, s, l, 1, r, a, t, o.parentNode, we, me, o, ce));
|
|
340
|
+
},
|
|
341
|
+
d(r) {
|
|
342
|
+
r && S(o);
|
|
343
|
+
for (let s = 0; s < e.length; s += 1)
|
|
344
|
+
e[s].d(r);
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
function Ce(n, e) {
|
|
349
|
+
let t, o, a, l, r, s, u, _, g, w, k;
|
|
350
|
+
function L(h, F) {
|
|
351
|
+
return (
|
|
352
|
+
/*location*/
|
|
353
|
+
h[0] === "headerMain" ? Xe : Qe
|
|
354
|
+
);
|
|
355
|
+
}
|
|
356
|
+
let M = L(e), m = M(e), c = (
|
|
357
|
+
/*itemsActive*/
|
|
358
|
+
e[11][
|
|
359
|
+
/*index*/
|
|
360
|
+
e[50]
|
|
361
|
+
] == !0 && de(e)
|
|
362
|
+
);
|
|
363
|
+
function y(...h) {
|
|
364
|
+
return (
|
|
365
|
+
/*click_handler_2*/
|
|
366
|
+
e[34](
|
|
367
|
+
/*category*/
|
|
368
|
+
e[48],
|
|
369
|
+
/*index*/
|
|
370
|
+
e[50],
|
|
371
|
+
...h
|
|
372
|
+
)
|
|
373
|
+
);
|
|
374
|
+
}
|
|
375
|
+
return {
|
|
376
|
+
key: n,
|
|
377
|
+
first: null,
|
|
378
|
+
c() {
|
|
379
|
+
t = v("li"), o = v("div"), a = v("img"), s = R(), m.c(), u = R(), c && c.c(), _ = R(), f(a, "class", l = "CategoryIconImg " + /*categoriesicon*/
|
|
380
|
+
(e[3] === "true" ? "" : "DisplayNone")), ie(a.src, r = /*handleSrc*/
|
|
381
|
+
e[16](
|
|
382
|
+
/*category*/
|
|
383
|
+
e[48]
|
|
384
|
+
)) || f(a, "src", r), f(o, "class", "CategoryIcon"), f(t, "class", g = "CarouselItem " + /*activeindex*/
|
|
385
|
+
(e[1]?.toString().indexOf("$") > -1 ? (
|
|
386
|
+
/*activeindex*/
|
|
387
|
+
e[1]?.split("$").pop() == /*category*/
|
|
388
|
+
e[48].id.split("$").pop() ? "active" : ""
|
|
389
|
+
) : (
|
|
390
|
+
/*activeindex*/
|
|
391
|
+
e[1] == /*category*/
|
|
392
|
+
e[48].id ? "active" : ""
|
|
393
|
+
)) + " " + /*location*/
|
|
394
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
|
395
|
+
},
|
|
396
|
+
m(h, F) {
|
|
397
|
+
D(h, t, F), p(t, o), p(o, a), p(t, s), m.m(t, null), p(t, u), c && c.m(t, null), p(t, _), w || (k = U(t, "click", y), w = !0);
|
|
398
|
+
},
|
|
399
|
+
p(h, F) {
|
|
400
|
+
e = h, F[0] & /*categoriesicon*/
|
|
401
|
+
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
|
402
|
+
(e[3] === "true" ? "" : "DisplayNone")) && f(a, "class", l), F[0] & /*sliderdata*/
|
|
403
|
+
512 && !ie(a.src, r = /*handleSrc*/
|
|
404
|
+
e[16](
|
|
405
|
+
/*category*/
|
|
406
|
+
e[48]
|
|
407
|
+
)) && f(a, "src", r), M === (M = L(e)) && m ? m.p(e, F) : (m.d(1), m = M(e), m && (m.c(), m.m(t, u))), /*itemsActive*/
|
|
408
|
+
e[11][
|
|
409
|
+
/*index*/
|
|
410
|
+
e[50]
|
|
411
|
+
] == !0 ? c ? c.p(e, F) : (c = de(e), c.c(), c.m(t, _)) : c && (c.d(1), c = null), F[0] & /*activeindex, sliderdata, location*/
|
|
412
|
+
515 && g !== (g = "CarouselItem " + /*activeindex*/
|
|
413
|
+
(e[1]?.toString().indexOf("$") > -1 ? (
|
|
414
|
+
/*activeindex*/
|
|
415
|
+
e[1]?.split("$").pop() == /*category*/
|
|
416
|
+
e[48].id.split("$").pop() ? "active" : ""
|
|
417
|
+
) : (
|
|
418
|
+
/*activeindex*/
|
|
419
|
+
e[1] == /*category*/
|
|
420
|
+
e[48].id ? "active" : ""
|
|
421
|
+
)) + " " + /*location*/
|
|
422
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && f(t, "class", g);
|
|
423
|
+
},
|
|
424
|
+
d(h) {
|
|
425
|
+
h && S(t), m.d(), c && c.d(), w = !1, k();
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
function Ze(n) {
|
|
430
|
+
let e, t, o, a, l, r, s, u, _, g, w, k, L, M, m, c = (
|
|
431
|
+
/*sliderdata*/
|
|
432
|
+
n[9].length > 0 && ue(n)
|
|
433
|
+
);
|
|
434
|
+
return {
|
|
435
|
+
c() {
|
|
436
|
+
e = v("div"), t = v("div"), o = v("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>', a = R(), l = v("div"), r = v("ul"), s = v("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = R(), c && c.c(), _ = R(), g = v("div"), g.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>', f(o, "class", "CarouselLeftArrow"), f(s, "class", "TouchOnly"), f(r, "id", "CarouselNav"), f(r, "class", "CarouselItems"), f(l, "class", "CarouselNavWrap scroller"), f(g, "class", "CarouselRightArrow"), f(t, "class", w = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
437
|
+
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), f(t, "style", k = /*location*/
|
|
438
|
+
n[0] === "headerMain" ? "max-width: auto" : void 0), f(e, "class", L = "CarouselWrapper " + /*location*/
|
|
439
|
+
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
|
440
|
+
},
|
|
441
|
+
m(y, h) {
|
|
442
|
+
D(y, e, h), p(e, t), p(t, o), p(t, a), p(t, l), p(l, r), p(r, s), p(r, u), c && c.m(r, null), n[35](r), n[36](l), p(t, _), p(t, g), n[38](e), M || (m = [
|
|
443
|
+
U(
|
|
444
|
+
o,
|
|
445
|
+
"click",
|
|
446
|
+
/*click_handler*/
|
|
447
|
+
n[32]
|
|
448
|
+
),
|
|
449
|
+
U(
|
|
450
|
+
g,
|
|
451
|
+
"click",
|
|
452
|
+
/*click_handler_3*/
|
|
453
|
+
n[37]
|
|
454
|
+
)
|
|
455
|
+
], M = !0);
|
|
456
|
+
},
|
|
457
|
+
p(y, h) {
|
|
458
|
+
/*sliderdata*/
|
|
459
|
+
y[9].length > 0 ? c ? c.p(y, h) : (c = ue(y), c.c(), c.m(r, null)) : c && (c.d(1), c = null), h[0] & /*location*/
|
|
460
|
+
1 && w !== (w = `CarouselContainer CarouselContainerMobile ${/*location*/
|
|
461
|
+
y[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && f(t, "class", w), h[0] & /*location*/
|
|
462
|
+
1 && k !== (k = /*location*/
|
|
463
|
+
y[0] === "headerMain" ? "max-width: auto" : void 0) && f(t, "style", k), h[0] & /*location*/
|
|
464
|
+
1 && L !== (L = "CarouselWrapper " + /*location*/
|
|
465
|
+
(y[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && f(e, "class", L);
|
|
466
|
+
},
|
|
467
|
+
i: oe,
|
|
468
|
+
o: oe,
|
|
469
|
+
d(y) {
|
|
470
|
+
y && S(e), c && c.d(), n[35](null), n[36](null), n[38](null), M = !1, We(m);
|
|
471
|
+
}
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
function Ve(n, e, t) {
|
|
475
|
+
let { endpoint: o = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: g = "" } = e, { identity: w = "" } = e, { translationurl: k = "" } = e, { isprimarymenu: L = !1 } = e, { issecondarymenu: M = !1 } = e, { lang: m = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: y = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: F = "" } = e, { mygamesiconimage: P = "" } = e, { mbsource: G = "" } = e;
|
|
476
|
+
Pe({ withLocale: "en", translations: {} });
|
|
477
|
+
const ye = () => {
|
|
478
|
+
fetch(k).then((d) => d.json()).then((d) => {
|
|
479
|
+
Object.keys(d).forEach((I) => {
|
|
480
|
+
ne(I, d[I]);
|
|
481
|
+
});
|
|
482
|
+
}).catch((d) => {
|
|
483
|
+
console.log(d);
|
|
484
|
+
});
|
|
485
|
+
};
|
|
486
|
+
Object.keys(ae).forEach((i) => {
|
|
487
|
+
ne(i, ae[i]);
|
|
488
|
+
});
|
|
489
|
+
let T, E, O, K, A, W = [], x = [], B = [], b, J = (i, d, I, N, H) => {
|
|
490
|
+
if (!(i.subGroups && N === null)) {
|
|
491
|
+
if (Y(), t(6, E = d), t(6, E), H != "secondary") {
|
|
492
|
+
window.postMessage(
|
|
493
|
+
{
|
|
494
|
+
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
|
495
|
+
buzz: "1",
|
|
496
|
+
itemId: i.id,
|
|
497
|
+
index: d,
|
|
498
|
+
item: i,
|
|
499
|
+
path: i.path,
|
|
500
|
+
externalLink: i.externalLink || !1,
|
|
501
|
+
target: i.attrs?.target || null
|
|
502
|
+
},
|
|
503
|
+
window.location.href
|
|
504
|
+
), t(7, O = null), t(8, K = null);
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
t(7, O = N), t(7, O), t(8, K = O), window.postMessage(
|
|
508
|
+
{
|
|
509
|
+
type: r,
|
|
510
|
+
itemId: I.id,
|
|
511
|
+
subIndex: N,
|
|
512
|
+
subItem: I
|
|
513
|
+
},
|
|
514
|
+
window.location.href
|
|
515
|
+
);
|
|
516
|
+
}
|
|
517
|
+
}, $ = () => {
|
|
518
|
+
b && (B.length !== E ? t(12, b.scrollLeft -= 250, b) : t(12, b.scrollLeft = 0, b));
|
|
519
|
+
}, ee = () => {
|
|
520
|
+
b && (B.length !== E ? t(12, b.scrollLeft += 250, b) : t(12, b.scrollLeft = 0, b));
|
|
521
|
+
};
|
|
522
|
+
const te = (i) => {
|
|
523
|
+
i.data.type == "SliderData" && i.data.identity == w && (t(9, W = i.data.data), t(11, B = new Array(W.length).fill(!1)), y == "true" && _e()), i.data.type == "GoToHomepage" && W.forEach((d, I) => {
|
|
524
|
+
d.path.endsWith("/casino") && (t(6, E = I), t(6, E));
|
|
525
|
+
});
|
|
526
|
+
}, be = () => {
|
|
527
|
+
Ke(m);
|
|
528
|
+
}, ve = (i, d, I) => {
|
|
529
|
+
if (u == "secondaryMenu" && o && a && m && i.id) {
|
|
530
|
+
let N = new URL(`${o}/v1/casino/groups/${a}/${i.id}/subGroups?language=${m}`);
|
|
531
|
+
fetch(N.href).then((H) => H.json()).then((H) => {
|
|
532
|
+
H.index = d, t(10, x = x.concat(H)), y == "false" && window.postMessage(
|
|
533
|
+
{
|
|
534
|
+
type: r,
|
|
535
|
+
itemId: i.id,
|
|
536
|
+
index: d,
|
|
537
|
+
item: i
|
|
538
|
+
},
|
|
539
|
+
window.location.href
|
|
540
|
+
);
|
|
541
|
+
const q = [];
|
|
542
|
+
x.map((He) => (He.items.forEach((re) => {
|
|
543
|
+
q.find((Ee) => re.id == Ee) || q.push(re.id);
|
|
544
|
+
}), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
|
|
545
|
+
}).then(() => {
|
|
546
|
+
T.querySelectorAll(".DropDown") && Y();
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
u == "headerMain" && window.postMessage({ type: r, item: i }, window.location.href);
|
|
550
|
+
}, Y = () => {
|
|
551
|
+
const i = T.querySelectorAll(".DropDown");
|
|
552
|
+
document.activeElement.blur(), b.classList.add("isScrolling");
|
|
553
|
+
for (let d = 0; d < i.length; d++)
|
|
554
|
+
i[d].style.transform = "translateX(-" + b.scrollLeft + "px)";
|
|
555
|
+
b.classList.remove("isScrolling");
|
|
556
|
+
}, _e = () => {
|
|
557
|
+
W.forEach((i, d) => {
|
|
558
|
+
i?.subGroups?.count > 0 && (t(11, B[d] = !0, B), ve(i, d));
|
|
559
|
+
});
|
|
560
|
+
}, ke = (i) => {
|
|
561
|
+
let d = "";
|
|
562
|
+
return i.id === "LOBBY" ? d = F : i.id === "MYGAMES" && (d = P), i.icon || d;
|
|
563
|
+
};
|
|
564
|
+
ze(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
565
|
+
() => {
|
|
566
|
+
b.addEventListener("scroll", Y);
|
|
567
|
+
},
|
|
568
|
+
500
|
|
569
|
+
), window.postMessage({ type: "SliderLoaded", identity: w }), () => {
|
|
570
|
+
window.removeEventListener("message", te), T.removeEventListener("scroll", Y);
|
|
571
|
+
}));
|
|
572
|
+
const Fe = () => $(), Ie = (i, d, I, N, H) => {
|
|
573
|
+
J(i, d, I, N, "secondary"), H.stopPropagation();
|
|
574
|
+
}, Me = (i, d, I) => {
|
|
575
|
+
J(i, d, null, null, "main"), I.preventDefault();
|
|
576
|
+
};
|
|
577
|
+
function Se(i) {
|
|
578
|
+
Q[i ? "unshift" : "push"](() => {
|
|
579
|
+
T = i, t(5, T);
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
function De(i) {
|
|
583
|
+
Q[i ? "unshift" : "push"](() => {
|
|
584
|
+
b = i, t(12, b);
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
const Le = () => ee();
|
|
588
|
+
function Ae(i) {
|
|
589
|
+
Q[i ? "unshift" : "push"](() => {
|
|
590
|
+
A = i, t(4, A);
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
return n.$$set = (i) => {
|
|
594
|
+
"endpoint" in i && t(17, o = i.endpoint), "datasource" in i && t(18, a = i.datasource), "onclickeventname" in i && t(19, l = i.onclickeventname), "actionevent" in i && t(20, r = i.actionevent), "favoritesnumber" in i && t(21, s = i.favoritesnumber), "location" in i && t(0, u = i.location), "clientstyling" in i && t(22, _ = i.clientstyling), "clientstylingurl" in i && t(23, g = i.clientstylingurl), "identity" in i && t(24, w = i.identity), "translationurl" in i && t(25, k = i.translationurl), "isprimarymenu" in i && t(26, L = i.isprimarymenu), "issecondarymenu" in i && t(27, M = i.issecondarymenu), "lang" in i && t(28, m = i.lang), "activeindex" in i && t(1, c = i.activeindex), "showsubgroups" in i && t(2, y = i.showsubgroups), "categoriesicon" in i && t(3, h = i.categoriesicon), "lobbyiconimage" in i && t(29, F = i.lobbyiconimage), "mygamesiconimage" in i && t(30, P = i.mygamesiconimage), "mbsource" in i && t(31, G = i.mbsource);
|
|
595
|
+
}, n.$$.update = () => {
|
|
596
|
+
n.$$.dirty[0] & /*activeindex*/
|
|
597
|
+
2, n.$$.dirty[0] & /*translationurl*/
|
|
598
|
+
33554432 && k && ye(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
599
|
+
4194320 && _ && A && xe(A, _), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
600
|
+
8388624 && g && A && Ye(A, g), n.$$.dirty[0] & /*customStylingContainer*/
|
|
601
|
+
16 | n.$$.dirty[1] & /*mbsource*/
|
|
602
|
+
1 && G && A && qe(A, `${G}.Style`), n.$$.dirty[0] & /*lang*/
|
|
603
|
+
268435456 && m && be();
|
|
604
|
+
}, [
|
|
605
|
+
u,
|
|
606
|
+
c,
|
|
607
|
+
y,
|
|
608
|
+
h,
|
|
609
|
+
A,
|
|
610
|
+
T,
|
|
611
|
+
E,
|
|
612
|
+
O,
|
|
613
|
+
K,
|
|
614
|
+
W,
|
|
615
|
+
x,
|
|
616
|
+
B,
|
|
617
|
+
b,
|
|
618
|
+
J,
|
|
619
|
+
$,
|
|
620
|
+
ee,
|
|
621
|
+
ke,
|
|
622
|
+
o,
|
|
623
|
+
a,
|
|
624
|
+
l,
|
|
625
|
+
r,
|
|
626
|
+
s,
|
|
627
|
+
_,
|
|
628
|
+
g,
|
|
629
|
+
w,
|
|
630
|
+
k,
|
|
631
|
+
L,
|
|
632
|
+
M,
|
|
633
|
+
m,
|
|
634
|
+
F,
|
|
635
|
+
P,
|
|
636
|
+
G,
|
|
637
|
+
Fe,
|
|
638
|
+
Ie,
|
|
639
|
+
Me,
|
|
640
|
+
Se,
|
|
641
|
+
De,
|
|
642
|
+
Le,
|
|
643
|
+
Ae
|
|
644
|
+
];
|
|
645
|
+
}
|
|
646
|
+
class $e extends Te {
|
|
647
|
+
constructor(e) {
|
|
648
|
+
super(), Be(
|
|
649
|
+
this,
|
|
650
|
+
e,
|
|
651
|
+
Ve,
|
|
652
|
+
Ze,
|
|
653
|
+
je,
|
|
654
|
+
{
|
|
655
|
+
endpoint: 17,
|
|
656
|
+
datasource: 18,
|
|
657
|
+
onclickeventname: 19,
|
|
658
|
+
actionevent: 20,
|
|
659
|
+
favoritesnumber: 21,
|
|
660
|
+
location: 0,
|
|
661
|
+
clientstyling: 22,
|
|
662
|
+
clientstylingurl: 23,
|
|
663
|
+
identity: 24,
|
|
664
|
+
translationurl: 25,
|
|
665
|
+
isprimarymenu: 26,
|
|
666
|
+
issecondarymenu: 27,
|
|
667
|
+
lang: 28,
|
|
668
|
+
activeindex: 1,
|
|
669
|
+
showsubgroups: 2,
|
|
670
|
+
categoriesicon: 3,
|
|
671
|
+
lobbyiconimage: 29,
|
|
672
|
+
mygamesiconimage: 30,
|
|
673
|
+
mbsource: 31
|
|
674
|
+
},
|
|
675
|
+
Je,
|
|
676
|
+
[-1, -1]
|
|
677
|
+
);
|
|
678
|
+
}
|
|
679
|
+
get endpoint() {
|
|
680
|
+
return this.$$.ctx[17];
|
|
681
|
+
}
|
|
682
|
+
set endpoint(e) {
|
|
683
|
+
this.$$set({ endpoint: e }), C();
|
|
684
|
+
}
|
|
685
|
+
get datasource() {
|
|
686
|
+
return this.$$.ctx[18];
|
|
687
|
+
}
|
|
688
|
+
set datasource(e) {
|
|
689
|
+
this.$$set({ datasource: e }), C();
|
|
690
|
+
}
|
|
691
|
+
get onclickeventname() {
|
|
692
|
+
return this.$$.ctx[19];
|
|
693
|
+
}
|
|
694
|
+
set onclickeventname(e) {
|
|
695
|
+
this.$$set({ onclickeventname: e }), C();
|
|
696
|
+
}
|
|
697
|
+
get actionevent() {
|
|
698
|
+
return this.$$.ctx[20];
|
|
699
|
+
}
|
|
700
|
+
set actionevent(e) {
|
|
701
|
+
this.$$set({ actionevent: e }), C();
|
|
702
|
+
}
|
|
703
|
+
get favoritesnumber() {
|
|
704
|
+
return this.$$.ctx[21];
|
|
705
|
+
}
|
|
706
|
+
set favoritesnumber(e) {
|
|
707
|
+
this.$$set({ favoritesnumber: e }), C();
|
|
708
|
+
}
|
|
709
|
+
get location() {
|
|
710
|
+
return this.$$.ctx[0];
|
|
711
|
+
}
|
|
712
|
+
set location(e) {
|
|
713
|
+
this.$$set({ location: e }), C();
|
|
714
|
+
}
|
|
715
|
+
get clientstyling() {
|
|
716
|
+
return this.$$.ctx[22];
|
|
717
|
+
}
|
|
718
|
+
set clientstyling(e) {
|
|
719
|
+
this.$$set({ clientstyling: e }), C();
|
|
720
|
+
}
|
|
721
|
+
get clientstylingurl() {
|
|
722
|
+
return this.$$.ctx[23];
|
|
723
|
+
}
|
|
724
|
+
set clientstylingurl(e) {
|
|
725
|
+
this.$$set({ clientstylingurl: e }), C();
|
|
726
|
+
}
|
|
727
|
+
get identity() {
|
|
728
|
+
return this.$$.ctx[24];
|
|
729
|
+
}
|
|
730
|
+
set identity(e) {
|
|
731
|
+
this.$$set({ identity: e }), C();
|
|
732
|
+
}
|
|
733
|
+
get translationurl() {
|
|
734
|
+
return this.$$.ctx[25];
|
|
735
|
+
}
|
|
736
|
+
set translationurl(e) {
|
|
737
|
+
this.$$set({ translationurl: e }), C();
|
|
738
|
+
}
|
|
739
|
+
get isprimarymenu() {
|
|
740
|
+
return this.$$.ctx[26];
|
|
741
|
+
}
|
|
742
|
+
set isprimarymenu(e) {
|
|
743
|
+
this.$$set({ isprimarymenu: e }), C();
|
|
744
|
+
}
|
|
745
|
+
get issecondarymenu() {
|
|
746
|
+
return this.$$.ctx[27];
|
|
747
|
+
}
|
|
748
|
+
set issecondarymenu(e) {
|
|
749
|
+
this.$$set({ issecondarymenu: e }), C();
|
|
750
|
+
}
|
|
751
|
+
get lang() {
|
|
752
|
+
return this.$$.ctx[28];
|
|
753
|
+
}
|
|
754
|
+
set lang(e) {
|
|
755
|
+
this.$$set({ lang: e }), C();
|
|
756
|
+
}
|
|
757
|
+
get activeindex() {
|
|
758
|
+
return this.$$.ctx[1];
|
|
759
|
+
}
|
|
760
|
+
set activeindex(e) {
|
|
761
|
+
this.$$set({ activeindex: e }), C();
|
|
762
|
+
}
|
|
763
|
+
get showsubgroups() {
|
|
764
|
+
return this.$$.ctx[2];
|
|
765
|
+
}
|
|
766
|
+
set showsubgroups(e) {
|
|
767
|
+
this.$$set({ showsubgroups: e }), C();
|
|
768
|
+
}
|
|
769
|
+
get categoriesicon() {
|
|
770
|
+
return this.$$.ctx[3];
|
|
771
|
+
}
|
|
772
|
+
set categoriesicon(e) {
|
|
773
|
+
this.$$set({ categoriesicon: e }), C();
|
|
774
|
+
}
|
|
775
|
+
get lobbyiconimage() {
|
|
776
|
+
return this.$$.ctx[29];
|
|
777
|
+
}
|
|
778
|
+
set lobbyiconimage(e) {
|
|
779
|
+
this.$$set({ lobbyiconimage: e }), C();
|
|
780
|
+
}
|
|
781
|
+
get mygamesiconimage() {
|
|
782
|
+
return this.$$.ctx[30];
|
|
783
|
+
}
|
|
784
|
+
set mygamesiconimage(e) {
|
|
785
|
+
this.$$set({ mygamesiconimage: e }), C();
|
|
786
|
+
}
|
|
787
|
+
get mbsource() {
|
|
788
|
+
return this.$$.ctx[31];
|
|
789
|
+
}
|
|
790
|
+
set mbsource(e) {
|
|
791
|
+
this.$$set({ mbsource: e }), C();
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
Ue($e, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
795
|
+
export {
|
|
796
|
+
$e as default
|
|
797
|
+
};
|