@everymatrix/casino-header-controller 1.65.0 → 1.65.1
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/{CasinoHamburgerMenu-B1dY3jHB.js → CasinoHamburgerMenu-BMkeLxFw.js} +907 -886
- package/components/{CasinoHamburgerMenu-pBvrxlJy.js → CasinoHamburgerMenu-CTVc2-UF.js} +851 -830
- package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +21 -0
- package/components/{CasinoHeaderController-DOdeXoey.js → CasinoHeaderController-Bqi_UEZi.js} +88 -88
- package/components/{CasinoHeaderController-Bn2AwIyI.js → CasinoHeaderController-CvgFMlA6.js} +90 -90
- package/components/{CasinoHeaderController-B0cFJgaJ.cjs → CasinoHeaderController-DNNqI5-z.cjs} +1 -1
- package/components/{CasinoSlider-CKGPxibK.js → CasinoSlider-CTcAOyCp.js} +57 -57
- package/components/{CasinoSlider-BEx_hpVM.js → CasinoSlider-Deb0x84t.js} +88 -88
- package/components/{CasinoSlider-CL_Uac-c.cjs → CasinoSlider-DqTtsMWh.cjs} +1 -1
- package/components/PlayerAccountBalanceModal-BFDpI9Sy.cjs +13 -0
- package/components/PlayerAccountBalanceModal-CNXuqjqU.js +1539 -0
- package/components/PlayerAccountBalanceModal-DbULiu-f.js +1510 -0
- package/components/PlayerDeposit-BXwT7NVp.cjs +1 -0
- package/components/{PlayerDeposit-Byf7G3yu.js → PlayerDeposit-BZuTQSyp.js} +72 -72
- package/components/{PlayerDeposit-C-Fbg92q.js → PlayerDeposit-eY_YGhMJ.js} +72 -72
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-DsjvIRRh.js → gamification-dropdown-8eb8a896-B80HjrXs.js} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-CxTBD8Oq.js → gamification-dropdown-8eb8a896-Dpy7kYRl.js} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-BXV0d81L.cjs → gamification-dropdown-8eb8a896-wUq7QkNM.cjs} +1 -1
- package/stencil/{gamification-dropdown-DG0vAJtO.js → gamification-dropdown-BKLERBkj.js} +1 -1
- package/stencil/{gamification-dropdown-C_xYxEL8.js → gamification-dropdown-Ctny0vqq.js} +1 -1
- package/stencil/{gamification-dropdown-DUk8bbFT.cjs → gamification-dropdown-DoTceze_.cjs} +1 -1
- package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +192 -0
- package/stencil/{gamification-dropdown_4-zImC9hF9.js → gamification-dropdown_4-CcWOoutw.js} +4 -4
- package/stencil/{gamification-dropdown_4-Be_N4EeF.js → gamification-dropdown_4-CmDM3hBS.js} +4 -4
- package/stencil/index-1ef3a64c-AMSfdX4B.js +556 -0
- package/stencil/index-1ef3a64c-BlUWL6ud.cjs +1 -0
- package/stencil/index-1ef3a64c-CTdxbgr0.js +572 -0
- package/stencil/index-71b1bdfa-BWeAgaw2.js +753 -0
- package/stencil/index-71b1bdfa-BeszNvNP.cjs +1 -0
- package/stencil/{index-71b1bdfa-Dm7yvsrK.js → index-71b1bdfa-DBUT8z-D.js} +264 -268
- package/stencil/{player-elevate-card-DL6XwNnq.js → player-elevate-card-B70rn287.js} +2 -2
- package/stencil/{player-elevate-card-Cmxvkrge.js → player-elevate-card-DqZR4w--.js} +2 -2
- package/stencil/{player-elevate-card-C6V7VROS.cjs → player-elevate-card-W6LcGGe8.cjs} +1 -1
- package/stencil/{player-elevate-card-items-66be34fb-BUkxBwF8.js → player-elevate-card-items-66be34fb-D7zHppoa.js} +11 -13
- package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +1 -0
- package/stencil/{player-elevate-card-items-66be34fb-BjQeJ-p9.js → player-elevate-card-items-66be34fb-aPLlnN0e.js} +11 -13
- package/stencil/{player-elevate-pointcard-dDiPwAiV.js → player-elevate-pointcard-CBapQeNI.js} +2 -2
- package/stencil/{player-elevate-pointcard-DYOUbwi3.js → player-elevate-pointcard-DREgIjCm.js} +2 -2
- package/stencil/{player-elevate-pointcard-CbCIvh8I.cjs → player-elevate-pointcard-DwDhlXwq.cjs} +1 -1
- package/stencil/{player-rakeback-card-BMHeEc3P.cjs → player-rakeback-card-B0P7gHIA.cjs} +1 -1
- package/stencil/{player-rakeback-card-CxD8OOP-.js → player-rakeback-card-tP823Fs8.js} +1 -1
- package/stencil/{player-rakeback-card-CixEJCwY.js → player-rakeback-card-z_ugBu0q.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Ck524nr-.cjs → user-deposit-withdrawal-BRpNiBnR.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CXMt1MVo.js → user-deposit-withdrawal-Dy3WkB23.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DU6VQt9M.js → user-deposit-withdrawal-c_bH3eje.js} +1 -1
- package/components/CasinoHamburgerMenu-CaFkIr3d.cjs +0 -21
- package/components/PlayerAccountBalanceModal-BKMugmnm.js +0 -1539
- package/components/PlayerAccountBalanceModal-CK68FRSV.js +0 -1510
- package/components/PlayerAccountBalanceModal-iP2HDeoz.cjs +0 -13
- package/components/PlayerDeposit-BsUiL_LS.cjs +0 -1
- package/stencil/gamification-dropdown_4-DuMaGjcI.cjs +0 -192
- package/stencil/index-1ef3a64c-C31PLQx3.js +0 -572
- package/stencil/index-1ef3a64c-CkoGfMtU.cjs +0 -1
- package/stencil/index-1ef3a64c-WzZ9mlMM.js +0 -556
- package/stencil/index-71b1bdfa-DzyepuUf.js +0 -757
- package/stencil/index-71b1bdfa-urw3SgKF.cjs +0 -1
- package/stencil/player-elevate-card-items-66be34fb-DeUY02M2.cjs +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { $ as Q, a as Ne, b as Re, S as Te, i as Be, f as C,
|
1
|
+
import { $ as Q, a as Ne, b as Re, S as Te, i as Be, f as C, s as je, c as We, d as ze, n as oe, e as S, t as Oe, z as f, h as D, v as p, w as U, k as v, j as R, o as Ge, A as j, M as pe, r as O, p as X, E as ie, u as V, y as Z, B as xe, N as ye, J as Ye, K as qe, L as Ue } from "./CasinoHamburgerMenu-CTVc2-UF.js";
|
2
2
|
function Pe({ withLocale: n, translations: e }) {
|
3
3
|
Q.subscribe((t) => {
|
4
4
|
t == null && (Ne.set(e), Q.set(n));
|
@@ -67,7 +67,7 @@ const ae = {
|
|
67
67
|
deposit: "Deposit"
|
68
68
|
}
|
69
69
|
};
|
70
|
-
function
|
70
|
+
function Je(n) {
|
71
71
|
ze(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 le(n, e, t) {
|
@@ -104,7 +104,7 @@ function ue(n) {
|
|
104
104
|
m(r, s) {
|
105
105
|
for (let u = 0; u < e.length; u += 1)
|
106
106
|
e[u] && e[u].m(r, s);
|
107
|
-
|
107
|
+
D(r, o, s);
|
108
108
|
},
|
109
109
|
p(r, s) {
|
110
110
|
s[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
@@ -114,31 +114,31 @@ function ue(n) {
|
|
114
114
|
), e = pe(e, s, l, 1, r, a, t, o.parentNode, ye, Ce, o, le));
|
115
115
|
},
|
116
116
|
d(r) {
|
117
|
-
r &&
|
117
|
+
r && S(o);
|
118
118
|
for (let s = 0; s < e.length; s += 1)
|
119
119
|
e[s].d(r);
|
120
120
|
}
|
121
121
|
};
|
122
122
|
}
|
123
|
-
function
|
123
|
+
function Xe(n) {
|
124
124
|
let e, t = (
|
125
125
|
/*category*/
|
126
126
|
n[48].name + ""
|
127
127
|
), o;
|
128
128
|
return {
|
129
129
|
c() {
|
130
|
-
e = v("button"), o =
|
130
|
+
e = v("button"), o = Z(t), f(e, "class", "CategoryButton");
|
131
131
|
},
|
132
132
|
m(a, l) {
|
133
|
-
|
133
|
+
D(a, e, l), p(e, o);
|
134
134
|
},
|
135
135
|
p(a, l) {
|
136
136
|
l[0] & /*sliderdata*/
|
137
137
|
512 && t !== (t = /*category*/
|
138
|
-
a[48].name + "") &&
|
138
|
+
a[48].name + "") && V(o, t);
|
139
139
|
},
|
140
140
|
d(a) {
|
141
|
-
a &&
|
141
|
+
a && S(e);
|
142
142
|
}
|
143
143
|
};
|
144
144
|
}
|
@@ -149,21 +149,21 @@ function Qe(n) {
|
|
149
149
|
), o, a;
|
150
150
|
return {
|
151
151
|
c() {
|
152
|
-
e = v("a"), o =
|
152
|
+
e = v("a"), o = Z(t), f(e, "href", a = /*category*/
|
153
153
|
n[48].path);
|
154
154
|
},
|
155
155
|
m(l, r) {
|
156
|
-
|
156
|
+
D(l, e, r), p(e, o);
|
157
157
|
},
|
158
158
|
p(l, r) {
|
159
159
|
r[0] & /*sliderdata*/
|
160
160
|
512 && t !== (t = /*category*/
|
161
|
-
l[48].label + "") &&
|
161
|
+
l[48].label + "") && V(o, t), r[0] & /*sliderdata*/
|
162
162
|
512 && a !== (a = /*category*/
|
163
|
-
l[48].path) &&
|
163
|
+
l[48].path) && f(e, "href", a);
|
164
164
|
},
|
165
165
|
d(l) {
|
166
|
-
l &&
|
166
|
+
l && S(e);
|
167
167
|
}
|
168
168
|
};
|
169
169
|
}
|
@@ -171,26 +171,26 @@ function de(n) {
|
|
171
171
|
let e, t = (
|
172
172
|
/*subGroupsData*/
|
173
173
|
n[10].length > 0 && /*showsubgroups*/
|
174
|
-
n[2] == "true" &&
|
174
|
+
n[2] == "true" && fe(n)
|
175
175
|
);
|
176
176
|
return {
|
177
177
|
c() {
|
178
178
|
t && t.c(), e = O();
|
179
179
|
},
|
180
180
|
m(o, a) {
|
181
|
-
t && t.m(o, a),
|
181
|
+
t && t.m(o, a), D(o, e, a);
|
182
182
|
},
|
183
183
|
p(o, a) {
|
184
184
|
/*subGroupsData*/
|
185
185
|
o[10].length > 0 && /*showsubgroups*/
|
186
|
-
o[2] == "true" ? t ? t.p(o, a) : (t =
|
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
187
|
},
|
188
188
|
d(o) {
|
189
|
-
o &&
|
189
|
+
o && S(e), t && t.d(o);
|
190
190
|
}
|
191
191
|
};
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function fe(n) {
|
194
194
|
let e, t = j(
|
195
195
|
/*subGroupsData*/
|
196
196
|
n[10]
|
@@ -202,10 +202,10 @@ function ge(n) {
|
|
202
202
|
e = v("ul");
|
203
203
|
for (let a = 0; a < o.length; a += 1)
|
204
204
|
o[a].c();
|
205
|
-
|
205
|
+
f(e, "class", "DropDown");
|
206
206
|
},
|
207
207
|
m(a, l) {
|
208
|
-
|
208
|
+
D(a, e, l);
|
209
209
|
for (let r = 0; r < o.length; r += 1)
|
210
210
|
o[r] && o[r].m(e, null);
|
211
211
|
},
|
@@ -227,16 +227,16 @@ function ge(n) {
|
|
227
227
|
}
|
228
228
|
},
|
229
229
|
d(a) {
|
230
|
-
a &&
|
230
|
+
a && S(e), xe(o, a);
|
231
231
|
}
|
232
232
|
};
|
233
233
|
}
|
234
|
-
function
|
234
|
+
function ge(n) {
|
235
235
|
let e, t, o = (
|
236
236
|
/*subGroupItem*/
|
237
237
|
n[54]?.name + ""
|
238
238
|
), a, l, r, s, u;
|
239
|
-
function _(...
|
239
|
+
function _(...g) {
|
240
240
|
return (
|
241
241
|
/*click_handler_1*/
|
242
242
|
n[33](
|
@@ -248,13 +248,13 @@ function fe(n) {
|
|
248
248
|
n[54],
|
249
249
|
/*subindex*/
|
250
250
|
n[56],
|
251
|
-
...
|
251
|
+
...g
|
252
252
|
)
|
253
253
|
);
|
254
254
|
}
|
255
255
|
return {
|
256
256
|
c() {
|
257
|
-
e = v("li"), t = v("a"), a =
|
257
|
+
e = v("li"), t = v("a"), a = Z(o), r = R(), f(t, "class", l = "SubDropDown " + /*index*/
|
258
258
|
(n[50] == /*activeIndex*/
|
259
259
|
n[6] && /*activeSubIndex*/
|
260
260
|
(n[7] == /*subindex*/
|
@@ -262,23 +262,23 @@ function fe(n) {
|
|
262
262
|
n[8] == /*subindex*/
|
263
263
|
n[56]) ? "active" : ""));
|
264
264
|
},
|
265
|
-
m(
|
266
|
-
|
265
|
+
m(g, y) {
|
266
|
+
D(g, e, y), p(e, t), p(t, a), p(e, r), s || (u = U(e, "click", _), s = !0);
|
267
267
|
},
|
268
|
-
p(
|
269
|
-
n =
|
268
|
+
p(g, y) {
|
269
|
+
n = g, y[0] & /*subGroupsData*/
|
270
270
|
1024 && o !== (o = /*subGroupItem*/
|
271
|
-
n[54]?.name + "") &&
|
271
|
+
n[54]?.name + "") && V(a, o), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
272
272
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
273
273
|
(n[50] == /*activeIndex*/
|
274
274
|
n[6] && /*activeSubIndex*/
|
275
275
|
(n[7] == /*subindex*/
|
276
276
|
n[56] || /*prevSubIndex*/
|
277
277
|
n[8] == /*subindex*/
|
278
|
-
n[56]) ? "active" : "")) &&
|
278
|
+
n[56]) ? "active" : "")) && f(t, "class", l);
|
279
279
|
},
|
280
|
-
d(
|
281
|
-
|
280
|
+
d(g) {
|
281
|
+
g && S(e), s = !1, u();
|
282
282
|
}
|
283
283
|
};
|
284
284
|
}
|
@@ -286,7 +286,7 @@ function me(n, e) {
|
|
286
286
|
let t, o, a = (
|
287
287
|
/*index*/
|
288
288
|
e[50] == /*subGroup*/
|
289
|
-
e[51].index &&
|
289
|
+
e[51].index && ge(e)
|
290
290
|
);
|
291
291
|
return {
|
292
292
|
key: n,
|
@@ -295,15 +295,15 @@ function me(n, e) {
|
|
295
295
|
t = O(), a && a.c(), o = O(), this.first = t;
|
296
296
|
},
|
297
297
|
m(l, r) {
|
298
|
-
|
298
|
+
D(l, t, r), a && a.m(l, r), D(l, o, r);
|
299
299
|
},
|
300
300
|
p(l, r) {
|
301
301
|
e = l, /*index*/
|
302
302
|
e[50] == /*subGroup*/
|
303
|
-
e[51].index ? a ? a.p(e, r) : (a =
|
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
304
|
},
|
305
305
|
d(l) {
|
306
|
-
l && (
|
306
|
+
l && (S(t), S(o)), a && a.d(l);
|
307
307
|
}
|
308
308
|
};
|
309
309
|
}
|
@@ -329,7 +329,7 @@ function he(n) {
|
|
329
329
|
m(r, s) {
|
330
330
|
for (let u = 0; u < e.length; u += 1)
|
331
331
|
e[u] && e[u].m(r, s);
|
332
|
-
|
332
|
+
D(r, o, s);
|
333
333
|
},
|
334
334
|
p(r, s) {
|
335
335
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
@@ -339,18 +339,18 @@ function he(n) {
|
|
339
339
|
), e = pe(e, s, l, 1, r, a, t, o.parentNode, ye, me, o, ce));
|
340
340
|
},
|
341
341
|
d(r) {
|
342
|
-
r &&
|
342
|
+
r && S(o);
|
343
343
|
for (let s = 0; s < e.length; s += 1)
|
344
344
|
e[s].d(r);
|
345
345
|
}
|
346
346
|
};
|
347
347
|
}
|
348
348
|
function Ce(n, e) {
|
349
|
-
let t, o, a, l, r, s, u, _,
|
349
|
+
let t, o, a, l, r, s, u, _, g, y, k;
|
350
350
|
function L(h, F) {
|
351
351
|
return (
|
352
352
|
/*location*/
|
353
|
-
h[0] === "headerMain" ? Qe :
|
353
|
+
h[0] === "headerMain" ? Qe : Xe
|
354
354
|
);
|
355
355
|
}
|
356
356
|
let I = L(e), m = I(e), c = (
|
@@ -376,12 +376,12 @@ function Ce(n, e) {
|
|
376
376
|
key: n,
|
377
377
|
first: null,
|
378
378
|
c() {
|
379
|
-
t = v("li"), o = v("div"), a = v("img"), s = R(), m.c(), u = R(), c && c.c(), _ = R(),
|
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
380
|
(e[3] === "true" ? "" : "DisplayNone")), ie(a.src, r = /*handleSrc*/
|
381
381
|
e[16](
|
382
382
|
/*category*/
|
383
383
|
e[48]
|
384
|
-
)) ||
|
384
|
+
)) || f(a, "src", r), f(o, "class", "CategoryIcon"), f(t, "class", g = "CarouselItem " + /*activeindex*/
|
385
385
|
(e[1]?.toString().indexOf("$") > -1 ? (
|
386
386
|
/*activeindex*/
|
387
387
|
e[1]?.split("$").pop() == /*category*/
|
@@ -394,22 +394,22 @@ function Ce(n, e) {
|
|
394
394
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
395
395
|
},
|
396
396
|
m(h, F) {
|
397
|
-
|
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, _), y || (k = U(t, "click", w), y = !0);
|
398
398
|
},
|
399
399
|
p(h, F) {
|
400
400
|
e = h, F[0] & /*categoriesicon*/
|
401
401
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
402
|
-
(e[3] === "true" ? "" : "DisplayNone")) &&
|
402
|
+
(e[3] === "true" ? "" : "DisplayNone")) && f(a, "class", l), F[0] & /*sliderdata*/
|
403
403
|
512 && !ie(a.src, r = /*handleSrc*/
|
404
404
|
e[16](
|
405
405
|
/*category*/
|
406
406
|
e[48]
|
407
|
-
)) &&
|
407
|
+
)) && f(a, "src", r), I === (I = L(e)) && m ? m.p(e, F) : (m.d(1), m = I(e), m && (m.c(), m.m(t, u))), /*itemsActive*/
|
408
408
|
e[11][
|
409
409
|
/*index*/
|
410
410
|
e[50]
|
411
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 &&
|
412
|
+
515 && g !== (g = "CarouselItem " + /*activeindex*/
|
413
413
|
(e[1]?.toString().indexOf("$") > -1 ? (
|
414
414
|
/*activeindex*/
|
415
415
|
e[1]?.split("$").pop() == /*category*/
|
@@ -419,27 +419,27 @@ function Ce(n, e) {
|
|
419
419
|
e[1] == /*category*/
|
420
420
|
e[48].id ? "active" : ""
|
421
421
|
)) + " " + /*location*/
|
422
|
-
(e[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
422
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && f(t, "class", g);
|
423
423
|
},
|
424
424
|
d(h) {
|
425
|
-
h &&
|
425
|
+
h && S(t), m.d(), c && c.d(), y = !1, k();
|
426
426
|
}
|
427
427
|
};
|
428
428
|
}
|
429
429
|
function Ve(n) {
|
430
|
-
let e, t, o, a, l, r, s, u, _,
|
430
|
+
let e, t, o, a, l, r, s, u, _, g, y, k, L, I, m, c = (
|
431
431
|
/*sliderdata*/
|
432
432
|
n[9].length > 0 && ue(n)
|
433
433
|
);
|
434
434
|
return {
|
435
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(),
|
437
|
-
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`),
|
438
|
-
n[0] === "headerMain" ? "max-width: auto" : void 0),
|
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", y = `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
439
|
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
440
440
|
},
|
441
441
|
m(w, h) {
|
442
|
-
|
442
|
+
D(w, 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), I || (m = [
|
443
443
|
U(
|
444
444
|
o,
|
445
445
|
"click",
|
@@ -447,7 +447,7 @@ function Ve(n) {
|
|
447
447
|
n[32]
|
448
448
|
),
|
449
449
|
U(
|
450
|
-
|
450
|
+
g,
|
451
451
|
"click",
|
452
452
|
/*click_handler_3*/
|
453
453
|
n[37]
|
@@ -458,21 +458,21 @@ function Ve(n) {
|
|
458
458
|
/*sliderdata*/
|
459
459
|
w[9].length > 0 ? c ? c.p(w, h) : (c = ue(w), c.c(), c.m(r, null)) : c && (c.d(1), c = null), h[0] & /*location*/
|
460
460
|
1 && y !== (y = `CarouselContainer CarouselContainerMobile ${/*location*/
|
461
|
-
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
461
|
+
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && f(t, "class", y), h[0] & /*location*/
|
462
462
|
1 && k !== (k = /*location*/
|
463
|
-
w[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
463
|
+
w[0] === "headerMain" ? "max-width: auto" : void 0) && f(t, "style", k), h[0] & /*location*/
|
464
464
|
1 && L !== (L = "CarouselWrapper " + /*location*/
|
465
|
-
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
465
|
+
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && f(e, "class", L);
|
466
466
|
},
|
467
467
|
i: oe,
|
468
468
|
o: oe,
|
469
469
|
d(w) {
|
470
|
-
w &&
|
470
|
+
w && S(e), c && c.d(), n[35](null), n[36](null), n[38](null), I = !1, Oe(m);
|
471
471
|
}
|
472
472
|
};
|
473
473
|
}
|
474
474
|
function Ze(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:
|
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: y = "" } = e, { translationurl: k = "" } = e, { isprimarymenu: L = !1 } = e, { issecondarymenu: I = !1 } = e, { lang: m = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: w = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: F = "" } = e, { mygamesiconimage: P = "" } = e, { mbsource: G = "" } = e;
|
476
476
|
Pe({ withLocale: "en", translations: {} });
|
477
477
|
const we = () => {
|
478
478
|
fetch(k).then((d) => d.json()).then((d) => {
|
@@ -486,9 +486,9 @@ function Ze(n, e, t) {
|
|
486
486
|
Object.keys(ae).forEach((i) => {
|
487
487
|
ne(i, ae[i]);
|
488
488
|
});
|
489
|
-
let T, H, W, K, A, z = [],
|
489
|
+
let T, H, W, K, A, z = [], x = [], B = [], b, J = (i, d, M, N, E) => {
|
490
490
|
if (!(i.subGroups && N === null)) {
|
491
|
-
if (
|
491
|
+
if (Y(), t(6, H = d), t(6, H), E != "secondary") {
|
492
492
|
window.postMessage(
|
493
493
|
{
|
494
494
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -529,7 +529,7 @@ function Ze(n, e, t) {
|
|
529
529
|
if (u == "secondaryMenu" && o && a && m && i.id) {
|
530
530
|
let N = new URL(`${o}/v1/casino/groups/${a}/${i.id}/subGroups?language=${m}`);
|
531
531
|
fetch(N.href).then((E) => E.json()).then((E) => {
|
532
|
-
E.index = d, t(10,
|
532
|
+
E.index = d, t(10, x = x.concat(E)), w == "false" && window.postMessage(
|
533
533
|
{
|
534
534
|
type: r,
|
535
535
|
itemId: i.id,
|
@@ -538,16 +538,16 @@ function Ze(n, e, t) {
|
|
538
538
|
},
|
539
539
|
window.location.href
|
540
540
|
);
|
541
|
-
const
|
542
|
-
|
543
|
-
|
544
|
-
}),
|
541
|
+
const q = [];
|
542
|
+
x.map((Ee) => (Ee.items.forEach((re) => {
|
543
|
+
q.find((He) => re.id == He) || q.push(re.id);
|
544
|
+
}), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
|
545
545
|
}).then(() => {
|
546
|
-
T.querySelectorAll(".DropDown") &&
|
546
|
+
T.querySelectorAll(".DropDown") && Y();
|
547
547
|
});
|
548
548
|
}
|
549
549
|
u == "headerMain" && window.postMessage({ type: r, item: i }, window.location.href);
|
550
|
-
},
|
550
|
+
}, Y = () => {
|
551
551
|
const i = T.querySelectorAll(".DropDown");
|
552
552
|
document.activeElement.blur(), b.classList.add("isScrolling");
|
553
553
|
for (let d = 0; d < i.length; d++)
|
@@ -561,45 +561,45 @@ function Ze(n, e, t) {
|
|
561
561
|
let d = "";
|
562
562
|
return i.id === "LOBBY" ? d = F : i.id === "MYGAMES" && (d = P), i.icon || d;
|
563
563
|
};
|
564
|
-
|
564
|
+
Ge(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
565
565
|
() => {
|
566
|
-
b.addEventListener("scroll",
|
566
|
+
b.addEventListener("scroll", Y);
|
567
567
|
},
|
568
568
|
500
|
569
569
|
), window.postMessage({ type: "SliderLoaded", identity: y }), () => {
|
570
|
-
window.removeEventListener("message", te), T.removeEventListener("scroll",
|
570
|
+
window.removeEventListener("message", te), T.removeEventListener("scroll", Y);
|
571
571
|
}));
|
572
572
|
const Fe = () => $(), Me = (i, d, M, N, E) => {
|
573
|
-
|
573
|
+
J(i, d, M, N, "secondary"), E.stopPropagation();
|
574
574
|
}, Ie = (i, d, M) => {
|
575
|
-
|
575
|
+
J(i, d, null, null, "main"), M.preventDefault();
|
576
576
|
};
|
577
577
|
function Se(i) {
|
578
|
-
|
578
|
+
X[i ? "unshift" : "push"](() => {
|
579
579
|
T = i, t(5, T);
|
580
580
|
});
|
581
581
|
}
|
582
582
|
function De(i) {
|
583
|
-
|
583
|
+
X[i ? "unshift" : "push"](() => {
|
584
584
|
b = i, t(12, b);
|
585
585
|
});
|
586
586
|
}
|
587
587
|
const Le = () => ee();
|
588
588
|
function Ae(i) {
|
589
|
-
|
589
|
+
X[i ? "unshift" : "push"](() => {
|
590
590
|
A = i, t(4, A);
|
591
591
|
});
|
592
592
|
}
|
593
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,
|
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, y = i.identity), "translationurl" in i && t(25, k = i.translationurl), "isprimarymenu" in i && t(26, L = i.isprimarymenu), "issecondarymenu" in i && t(27, I = i.issecondarymenu), "lang" in i && t(28, m = i.lang), "activeindex" in i && t(1, c = i.activeindex), "showsubgroups" in i && t(2, w = 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
595
|
}, n.$$.update = () => {
|
596
596
|
n.$$.dirty[0] & /*activeindex*/
|
597
597
|
2, n.$$.dirty[0] & /*translationurl*/
|
598
598
|
33554432 && k && we(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
599
599
|
4194320 && _ && A && Ye(A, _), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
600
|
-
8388624 &&
|
600
|
+
8388624 && g && A && qe(A, g), n.$$.dirty[0] & /*customStylingContainer*/
|
601
601
|
16 | n.$$.dirty[1] & /*mbsource*/
|
602
|
-
1 &&
|
602
|
+
1 && G && A && Ue(A, `${G}.Style`), n.$$.dirty[0] & /*lang*/
|
603
603
|
268435456 && m && be();
|
604
604
|
}, [
|
605
605
|
u,
|
@@ -612,10 +612,10 @@ function Ze(n, e, t) {
|
|
612
612
|
W,
|
613
613
|
K,
|
614
614
|
z,
|
615
|
-
|
615
|
+
x,
|
616
616
|
B,
|
617
617
|
b,
|
618
|
-
|
618
|
+
J,
|
619
619
|
$,
|
620
620
|
ee,
|
621
621
|
ke,
|
@@ -625,7 +625,7 @@ function Ze(n, e, t) {
|
|
625
625
|
r,
|
626
626
|
s,
|
627
627
|
_,
|
628
|
-
|
628
|
+
g,
|
629
629
|
y,
|
630
630
|
k,
|
631
631
|
L,
|
@@ -633,7 +633,7 @@ function Ze(n, e, t) {
|
|
633
633
|
m,
|
634
634
|
F,
|
635
635
|
P,
|
636
|
-
|
636
|
+
G,
|
637
637
|
Fe,
|
638
638
|
Me,
|
639
639
|
Ie,
|
@@ -650,7 +650,7 @@ class $e extends Te {
|
|
650
650
|
e,
|
651
651
|
Ze,
|
652
652
|
Ve,
|
653
|
-
|
653
|
+
je,
|
654
654
|
{
|
655
655
|
endpoint: 17,
|
656
656
|
datasource: 18,
|
@@ -672,7 +672,7 @@ class $e extends Te {
|
|
672
672
|
mygamesiconimage: 30,
|
673
673
|
mbsource: 31
|
674
674
|
},
|
675
|
-
|
675
|
+
Je,
|
676
676
|
[-1, -1]
|
677
677
|
);
|
678
678
|
}
|
@@ -791,7 +791,7 @@ class $e extends Te {
|
|
791
791
|
this.$$set({ mbsource: e }), C();
|
792
792
|
}
|
793
793
|
}
|
794
|
-
|
794
|
+
We($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
795
|
export {
|
796
796
|
$e as default
|
797
797
|
};
|