@everymatrix/casino-header-controller 1.59.3 → 1.60.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/{CasinoHamburgerMenu-BG-4lbhJ.js → CasinoHamburgerMenu-D3IA0-Fr.js} +822 -800
- package/components/CasinoHamburgerMenu-DessG6uq.cjs +21 -0
- package/components/{CasinoHamburgerMenu-Dw8i7ogu.js → CasinoHamburgerMenu-DyL5A7W7.js} +668 -646
- package/components/{CasinoHeaderController-B0oqifps.js → CasinoHeaderController-B1Lx3tU2.js} +141 -130
- package/components/{CasinoHeaderController-BeE4bg1i.cjs → CasinoHeaderController-BH5IAaed.cjs} +5 -5
- package/components/{CasinoHeaderController-BuM7XPAr.js → CasinoHeaderController-DmFZgeXE.js} +142 -131
- package/components/CasinoSlider-BTGfiw5j.js +803 -0
- package/components/CasinoSlider-DRVCTpte.cjs +1 -0
- package/components/{CasinoSlider-BpPDoRFB.js → CasinoSlider-RSfl7Nfu.js} +124 -124
- package/components/PlayerAccountBalanceModal-B9BkSlDU.cjs +13 -0
- package/components/PlayerAccountBalanceModal-CEo_b6Ks.js +1510 -0
- package/components/PlayerAccountBalanceModal-fP9D_Jz7.js +1539 -0
- package/components/{PlayerDeposit-BsovN5ad.js → PlayerDeposit-D1KSGzHW.js} +65 -65
- package/components/PlayerDeposit-DNEPQuyW.cjs +1 -0
- package/components/{PlayerDeposit-DyYrLnnM.js → PlayerDeposit-OqZh5SL5.js} +65 -65
- 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/index-1ef3a64c-6soTLew7.js +556 -0
- package/stencil/index-1ef3a64c-DkMoO-oa.js +572 -0
- package/stencil/index-1ef3a64c-DmmoSOho.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-CJvV3hVH.js → user-deposit-withdrawal-C72e1sSw.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Ch6O_F-y.cjs → user-deposit-withdrawal-CS-LZhcv.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-DAEhwyJf.js → user-deposit-withdrawal-DfDiD6Lp.js} +1 -1
- package/components/CasinoHamburgerMenu-CvBpCdt_.cjs +0 -21
- package/components/CasinoSlider-BGDn7LeB.js +0 -803
- package/components/CasinoSlider-BSXhShrg.cjs +0 -1
- package/components/PlayerAccountBalanceModal-CckEoZRk.js +0 -1510
- package/components/PlayerAccountBalanceModal-Ct7UUbnk.cjs +0 -13
- package/components/PlayerAccountBalanceModal-DiZBhm3s.js +0 -1539
- package/components/PlayerDeposit-BrNpbkaS.cjs +0 -1
- package/stencil/index-1ef3a64c-CsSXee6P.js +0 -556
- package/stencil/index-1ef3a64c-DRf7Ax9K.js +0 -572
- package/stencil/index-1ef3a64c-ImAoW8IW.cjs +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { $ as Q, a as Ne, b as Re, S as Te, i as je, f as C,
|
1
|
+
import { $ as Q, a as Ne, b as Re, S as Te, i as je, f as C, c as We, s as ze, d as Oe, g as v, e as R, x as g, j as D, y as p, z as U, n as oe, k as S, C as Ge, o as xe, m as Be, u as qe, v as W, E as G, M as pe, I as ie, q as J, t as Ye, N as ye, B as Ue, w as V, A as Z } from "./CasinoHamburgerMenu-D3IA0-Fr.js";
|
2
2
|
function Pe({ withLocale: a, translations: e }) {
|
3
3
|
Q.subscribe((t) => {
|
4
4
|
t == null && (Ne.set(e), Q.set(a));
|
@@ -67,8 +67,8 @@ const ne = {
|
|
67
67
|
deposit: "Deposit"
|
68
68
|
}
|
69
69
|
};
|
70
|
-
function
|
71
|
-
|
70
|
+
function Xe(a) {
|
71
|
+
Oe(a, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
72
72
|
}
|
73
73
|
function le(a, e, t) {
|
74
74
|
const o = a.slice();
|
@@ -83,7 +83,7 @@ function ce(a, e, t) {
|
|
83
83
|
return o[54] = e[t], o[56] = t, o;
|
84
84
|
}
|
85
85
|
function ue(a) {
|
86
|
-
let e = [], t = /* @__PURE__ */ new Map(), o, n =
|
86
|
+
let e = [], t = /* @__PURE__ */ new Map(), o, n = W(
|
87
87
|
/*sliderdata*/
|
88
88
|
a[9]
|
89
89
|
);
|
@@ -99,7 +99,7 @@ function ue(a) {
|
|
99
99
|
c() {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r].c();
|
102
|
-
o =
|
102
|
+
o = G();
|
103
103
|
},
|
104
104
|
m(r, s) {
|
105
105
|
for (let u = 0; u < e.length; u += 1)
|
@@ -108,26 +108,26 @@ function ue(a) {
|
|
108
108
|
},
|
109
109
|
p(r, s) {
|
110
110
|
s[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
111
|
-
77775 && (n =
|
111
|
+
77775 && (n = W(
|
112
112
|
/*sliderdata*/
|
113
113
|
r[9]
|
114
114
|
), e = pe(e, s, l, 1, r, n, 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 Je(a) {
|
124
124
|
let e, t = (
|
125
125
|
/*category*/
|
126
126
|
a[48].name + ""
|
127
127
|
), o;
|
128
128
|
return {
|
129
129
|
c() {
|
130
|
-
e =
|
130
|
+
e = v("button"), o = V(t), g(e, "class", "CategoryButton");
|
131
131
|
},
|
132
132
|
m(n, l) {
|
133
133
|
D(n, e, l), p(e, o);
|
@@ -135,10 +135,10 @@ function Xe(a) {
|
|
135
135
|
p(n, l) {
|
136
136
|
l[0] & /*sliderdata*/
|
137
137
|
512 && t !== (t = /*category*/
|
138
|
-
n[48].name + "") &&
|
138
|
+
n[48].name + "") && Z(o, t);
|
139
139
|
},
|
140
140
|
d(n) {
|
141
|
-
n &&
|
141
|
+
n && S(e);
|
142
142
|
}
|
143
143
|
};
|
144
144
|
}
|
@@ -149,7 +149,7 @@ function Qe(a) {
|
|
149
149
|
), o, n;
|
150
150
|
return {
|
151
151
|
c() {
|
152
|
-
e =
|
152
|
+
e = v("a"), o = V(t), g(e, "href", n = /*category*/
|
153
153
|
a[48].path);
|
154
154
|
},
|
155
155
|
m(l, r) {
|
@@ -158,12 +158,12 @@ function Qe(a) {
|
|
158
158
|
p(l, r) {
|
159
159
|
r[0] & /*sliderdata*/
|
160
160
|
512 && t !== (t = /*category*/
|
161
|
-
l[48].label + "") &&
|
161
|
+
l[48].label + "") && Z(o, t), r[0] & /*sliderdata*/
|
162
162
|
512 && n !== (n = /*category*/
|
163
163
|
l[48].path) && g(e, "href", n);
|
164
164
|
},
|
165
165
|
d(l) {
|
166
|
-
l &&
|
166
|
+
l && S(e);
|
167
167
|
}
|
168
168
|
};
|
169
169
|
}
|
@@ -175,7 +175,7 @@ function de(a) {
|
|
175
175
|
);
|
176
176
|
return {
|
177
177
|
c() {
|
178
|
-
t && t.c(), e =
|
178
|
+
t && t.c(), e = G();
|
179
179
|
},
|
180
180
|
m(o, n) {
|
181
181
|
t && t.m(o, n), D(o, e, n);
|
@@ -186,12 +186,12 @@ function de(a) {
|
|
186
186
|
o[2] == "true" ? t ? t.p(o, n) : (t = ge(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
193
|
function ge(a) {
|
194
|
-
let e, t =
|
194
|
+
let e, t = W(
|
195
195
|
/*subGroupsData*/
|
196
196
|
a[10]
|
197
197
|
), o = [];
|
@@ -199,7 +199,7 @@ function ge(a) {
|
|
199
199
|
o[n] = he(se(a, t, n));
|
200
200
|
return {
|
201
201
|
c() {
|
202
|
-
e =
|
202
|
+
e = v("ul");
|
203
203
|
for (let n = 0; n < o.length; n += 1)
|
204
204
|
o[n].c();
|
205
205
|
g(e, "class", "DropDown");
|
@@ -212,7 +212,7 @@ function ge(a) {
|
|
212
212
|
p(n, l) {
|
213
213
|
if (l[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
214
214
|
10176) {
|
215
|
-
t =
|
215
|
+
t = W(
|
216
216
|
/*subGroupsData*/
|
217
217
|
n[10]
|
218
218
|
);
|
@@ -227,7 +227,7 @@ function ge(a) {
|
|
227
227
|
}
|
228
228
|
},
|
229
229
|
d(n) {
|
230
|
-
n &&
|
230
|
+
n && S(e), Ue(o, n);
|
231
231
|
}
|
232
232
|
};
|
233
233
|
}
|
@@ -236,7 +236,7 @@ function me(a) {
|
|
236
236
|
/*subGroupItem*/
|
237
237
|
a[54]?.name + ""
|
238
238
|
), n, l, r, s, u;
|
239
|
-
function
|
239
|
+
function _(...m) {
|
240
240
|
return (
|
241
241
|
/*click_handler_1*/
|
242
242
|
a[33](
|
@@ -254,7 +254,7 @@ function me(a) {
|
|
254
254
|
}
|
255
255
|
return {
|
256
256
|
c() {
|
257
|
-
e =
|
257
|
+
e = v("li"), t = v("a"), n = V(o), r = R(), g(t, "class", l = "SubDropDown " + /*index*/
|
258
258
|
(a[50] == /*activeIndex*/
|
259
259
|
a[6] && /*activeSubIndex*/
|
260
260
|
(a[7] == /*subindex*/
|
@@ -263,12 +263,12 @@ function me(a) {
|
|
263
263
|
a[56]) ? "active" : ""));
|
264
264
|
},
|
265
265
|
m(m, y) {
|
266
|
-
D(m, e, y), p(e, t), p(t, n), p(e, r), s || (u = U(e, "click",
|
266
|
+
D(m, e, y), p(e, t), p(t, n), p(e, r), s || (u = U(e, "click", _), s = !0);
|
267
267
|
},
|
268
268
|
p(m, y) {
|
269
269
|
a = m, y[0] & /*subGroupsData*/
|
270
270
|
1024 && o !== (o = /*subGroupItem*/
|
271
|
-
a[54]?.name + "") &&
|
271
|
+
a[54]?.name + "") && Z(n, o), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
272
272
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
273
273
|
(a[50] == /*activeIndex*/
|
274
274
|
a[6] && /*activeSubIndex*/
|
@@ -278,7 +278,7 @@ function me(a) {
|
|
278
278
|
a[56]) ? "active" : "")) && g(t, "class", l);
|
279
279
|
},
|
280
280
|
d(m) {
|
281
|
-
m &&
|
281
|
+
m && S(e), s = !1, u();
|
282
282
|
}
|
283
283
|
};
|
284
284
|
}
|
@@ -292,7 +292,7 @@ function fe(a, e) {
|
|
292
292
|
key: a,
|
293
293
|
first: null,
|
294
294
|
c() {
|
295
|
-
t =
|
295
|
+
t = G(), n && n.c(), o = G(), this.first = t;
|
296
296
|
},
|
297
297
|
m(l, r) {
|
298
298
|
D(l, t, r), n && n.m(l, r), D(l, o, r);
|
@@ -303,12 +303,12 @@ function fe(a, e) {
|
|
303
303
|
e[51].index ? n ? n.p(e, r) : (n = me(e), n.c(), n.m(o.parentNode, o)) : n && (n.d(1), n = null);
|
304
304
|
},
|
305
305
|
d(l) {
|
306
|
-
l && (
|
306
|
+
l && (S(t), S(o)), n && n.d(l);
|
307
307
|
}
|
308
308
|
};
|
309
309
|
}
|
310
310
|
function he(a) {
|
311
|
-
let e = [], t = /* @__PURE__ */ new Map(), o, n =
|
311
|
+
let e = [], t = /* @__PURE__ */ new Map(), o, n = W(
|
312
312
|
/*subGroup*/
|
313
313
|
a[51].items
|
314
314
|
);
|
@@ -324,7 +324,7 @@ function he(a) {
|
|
324
324
|
c() {
|
325
325
|
for (let r = 0; r < e.length; r += 1)
|
326
326
|
e[r].c();
|
327
|
-
o =
|
327
|
+
o = G();
|
328
328
|
},
|
329
329
|
m(r, s) {
|
330
330
|
for (let u = 0; u < e.length; u += 1)
|
@@ -333,27 +333,27 @@ function he(a) {
|
|
333
333
|
},
|
334
334
|
p(r, s) {
|
335
335
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
336
|
-
10176 && (n =
|
336
|
+
10176 && (n = W(
|
337
337
|
/*subGroup*/
|
338
338
|
r[51].items
|
339
339
|
), e = pe(e, s, l, 1, r, n, t, o.parentNode, ye, fe, 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(a, e) {
|
349
|
-
let t, o, n, l, r, s, u,
|
350
|
-
function
|
349
|
+
let t, o, n, l, r, s, u, _, m, y, k;
|
350
|
+
function L(h, F) {
|
351
351
|
return (
|
352
352
|
/*location*/
|
353
|
-
h[0] === "headerMain" ? Qe :
|
353
|
+
h[0] === "headerMain" ? Qe : Je
|
354
354
|
);
|
355
355
|
}
|
356
|
-
let
|
356
|
+
let I = L(e), f = I(e), c = (
|
357
357
|
/*itemsActive*/
|
358
358
|
e[11][
|
359
359
|
/*index*/
|
@@ -376,7 +376,7 @@ function Ce(a, e) {
|
|
376
376
|
key: a,
|
377
377
|
first: null,
|
378
378
|
c() {
|
379
|
-
t =
|
379
|
+
t = v("li"), o = v("div"), n = v("img"), s = R(), f.c(), u = R(), c && c.c(), _ = R(), g(n, "class", l = "CategoryIconImg " + /*categoriesicon*/
|
380
380
|
(e[3] === "true" ? "" : "DisplayNone")), ie(n.src, r = /*handleSrc*/
|
381
381
|
e[16](
|
382
382
|
/*category*/
|
@@ -393,22 +393,22 @@ function Ce(a, e) {
|
|
393
393
|
)) + " " + /*location*/
|
394
394
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
395
395
|
},
|
396
|
-
m(h,
|
397
|
-
D(h, t,
|
396
|
+
m(h, F) {
|
397
|
+
D(h, t, F), p(t, o), p(o, n), p(t, s), f.m(t, null), p(t, u), c && c.m(t, null), p(t, _), y || (k = U(t, "click", w), y = !0);
|
398
398
|
},
|
399
|
-
p(h,
|
400
|
-
e = h,
|
399
|
+
p(h, F) {
|
400
|
+
e = h, F[0] & /*categoriesicon*/
|
401
401
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
402
|
-
(e[3] === "true" ? "" : "DisplayNone")) && g(n, "class", l),
|
402
|
+
(e[3] === "true" ? "" : "DisplayNone")) && g(n, "class", l), F[0] & /*sliderdata*/
|
403
403
|
512 && !ie(n.src, r = /*handleSrc*/
|
404
404
|
e[16](
|
405
405
|
/*category*/
|
406
406
|
e[48]
|
407
|
-
)) && g(n, "src", r),
|
407
|
+
)) && g(n, "src", r), I === (I = L(e)) && f ? f.p(e, F) : (f.d(1), f = I(e), f && (f.c(), f.m(t, u))), /*itemsActive*/
|
408
408
|
e[11][
|
409
409
|
/*index*/
|
410
410
|
e[50]
|
411
|
-
] == !0 ? c ? c.p(e,
|
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
412
|
515 && m !== (m = "CarouselItem " + /*activeindex*/
|
413
413
|
(e[1]?.toString().indexOf("$") > -1 ? (
|
414
414
|
/*activeindex*/
|
@@ -422,24 +422,24 @@ function Ce(a, e) {
|
|
422
422
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", m);
|
423
423
|
},
|
424
424
|
d(h) {
|
425
|
-
h &&
|
425
|
+
h && S(t), f.d(), c && c.d(), y = !1, k();
|
426
426
|
}
|
427
427
|
};
|
428
428
|
}
|
429
429
|
function Ve(a) {
|
430
|
-
let e, t, o, n, l, r, s, u,
|
430
|
+
let e, t, o, n, l, r, s, u, _, m, y, k, L, I, f, c = (
|
431
431
|
/*sliderdata*/
|
432
432
|
a[9].length > 0 && ue(a)
|
433
433
|
);
|
434
434
|
return {
|
435
435
|
c() {
|
436
|
-
e =
|
437
|
-
a[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style",
|
438
|
-
a[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class",
|
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>', n = R(), l = v("div"), r = v("ul"), s = v("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = R(), c && c.c(), _ = R(), m = v("div"), m.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(o, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap scroller"), g(m, "class", "CarouselRightArrow"), g(t, "class", y = `CarouselContainer CarouselContainerMobile ${/*location*/
|
437
|
+
a[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", k = /*location*/
|
438
|
+
a[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", L = "CarouselWrapper " + /*location*/
|
439
439
|
(a[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
440
440
|
},
|
441
441
|
m(w, h) {
|
442
|
-
D(w, e, h), p(e, t), p(t, o), p(t, n), p(t, l), p(l, r), p(r, s), p(r, u), c && c.m(r, null), a[35](r), a[36](l), p(t,
|
442
|
+
D(w, e, h), p(e, t), p(t, o), p(t, n), p(t, l), p(l, r), p(r, s), p(r, u), c && c.m(r, null), a[35](r), a[36](l), p(t, _), p(t, m), a[38](e), I || (f = [
|
443
443
|
U(
|
444
444
|
o,
|
445
445
|
"click",
|
@@ -452,32 +452,32 @@ function Ve(a) {
|
|
452
452
|
/*click_handler_3*/
|
453
453
|
a[37]
|
454
454
|
)
|
455
|
-
],
|
455
|
+
], I = !0);
|
456
456
|
},
|
457
457
|
p(w, h) {
|
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
461
|
w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && g(t, "class", y), h[0] & /*location*/
|
462
|
-
1 &&
|
463
|
-
w[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style",
|
464
|
-
1 &&
|
465
|
-
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class",
|
462
|
+
1 && k !== (k = /*location*/
|
463
|
+
w[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", k), h[0] & /*location*/
|
464
|
+
1 && L !== (L = "CarouselWrapper " + /*location*/
|
465
|
+
(w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(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(), a[35](null), a[36](null), a[38](null), I = !1, Ge(f);
|
471
471
|
}
|
472
472
|
};
|
473
473
|
}
|
474
474
|
function Ze(a, e, t) {
|
475
|
-
let { endpoint: o = "" } = e, { datasource: n = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling:
|
475
|
+
let { endpoint: o = "" } = e, { datasource: n = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: m = "" } = e, { identity: y = "" } = e, { translationurl: k = "" } = e, { isprimarymenu: L = !1 } = e, { issecondarymenu: I = !1 } = e, { lang: f = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: w = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: F = "" } = e, { mygamesiconimage: P = "" } = e, { mbsource: x = "" } = e;
|
476
476
|
Pe({ withLocale: "en", translations: {} });
|
477
477
|
const we = () => {
|
478
|
-
fetch(
|
479
|
-
Object.keys(d).forEach((
|
480
|
-
ae(
|
478
|
+
fetch(k).then((d) => d.json()).then((d) => {
|
479
|
+
Object.keys(d).forEach((M) => {
|
480
|
+
ae(M, d[M]);
|
481
481
|
});
|
482
482
|
}).catch((d) => {
|
483
483
|
console.log(d);
|
@@ -486,9 +486,9 @@ function Ze(a, e, t) {
|
|
486
486
|
Object.keys(ne).forEach((i) => {
|
487
487
|
ae(i, ne[i]);
|
488
488
|
});
|
489
|
-
let
|
490
|
-
if (!(i.subGroups &&
|
491
|
-
if (
|
489
|
+
let T, E, z, K, A, O = [], B = [], j = [], b, X = (i, d, M, N, H) => {
|
490
|
+
if (!(i.subGroups && N === null)) {
|
491
|
+
if (q(), t(6, E = d), t(6, E), H != "secondary") {
|
492
492
|
window.postMessage(
|
493
493
|
{
|
494
494
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -501,35 +501,35 @@ function Ze(a, e, t) {
|
|
501
501
|
target: i.attrs?.target || null
|
502
502
|
},
|
503
503
|
window.location.href
|
504
|
-
), t(7,
|
504
|
+
), t(7, z = null), t(8, K = null);
|
505
505
|
return;
|
506
506
|
}
|
507
|
-
t(7,
|
507
|
+
t(7, z = N), t(7, z), t(8, K = z), window.postMessage(
|
508
508
|
{
|
509
509
|
type: r,
|
510
|
-
itemId:
|
511
|
-
subIndex:
|
512
|
-
subItem:
|
510
|
+
itemId: M.id,
|
511
|
+
subIndex: N,
|
512
|
+
subItem: M
|
513
513
|
},
|
514
514
|
window.location.href
|
515
515
|
);
|
516
516
|
}
|
517
517
|
}, $ = () => {
|
518
|
-
|
518
|
+
b && (j.length !== E ? t(12, b.scrollLeft -= 250, b) : t(12, b.scrollLeft = 0, b));
|
519
519
|
}, ee = () => {
|
520
|
-
|
520
|
+
b && (j.length !== E ? t(12, b.scrollLeft += 250, b) : t(12, b.scrollLeft = 0, b));
|
521
521
|
};
|
522
522
|
const te = (i) => {
|
523
|
-
i.data.type == "SliderData" && i.data.identity == y && (t(9,
|
524
|
-
d.path.endsWith("/casino") && (t(6,
|
523
|
+
i.data.type == "SliderData" && i.data.identity == y && (t(9, O = i.data.data), t(11, j = new Array(O.length).fill(!1)), w == "true" && _e()), i.data.type == "GoToHomepage" && O.forEach((d, M) => {
|
524
|
+
d.path.endsWith("/casino") && (t(6, E = M), t(6, E));
|
525
525
|
});
|
526
526
|
}, be = () => {
|
527
527
|
Ke(f);
|
528
|
-
}, ve = (i, d,
|
528
|
+
}, ve = (i, d, M) => {
|
529
529
|
if (u == "secondaryMenu" && o && n && f && i.id) {
|
530
|
-
let
|
531
|
-
fetch(
|
532
|
-
H.index = d, t(10,
|
530
|
+
let N = new URL(`${o}/v1/casino/groups/${n}/${i.id}/subGroups?language=${f}`);
|
531
|
+
fetch(N.href).then((H) => H.json()).then((H) => {
|
532
|
+
H.index = d, t(10, B = B.concat(H)), w == "false" && window.postMessage(
|
533
533
|
{
|
534
534
|
type: r,
|
535
535
|
itemId: i.id,
|
@@ -538,84 +538,84 @@ function Ze(a, e, t) {
|
|
538
538
|
},
|
539
539
|
window.location.href
|
540
540
|
);
|
541
|
-
const
|
542
|
-
|
543
|
-
|
544
|
-
}),
|
541
|
+
const Y = [];
|
542
|
+
B.map((He) => (He.items.forEach((re) => {
|
543
|
+
Y.find((Ee) => re.id == Ee) || Y.push(re.id);
|
544
|
+
}), Y.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Y }, window.location.href);
|
545
545
|
}).then(() => {
|
546
|
-
|
546
|
+
T.querySelectorAll(".DropDown") && q();
|
547
547
|
});
|
548
548
|
}
|
549
549
|
u == "headerMain" && window.postMessage({ type: r, item: i }, window.location.href);
|
550
|
-
},
|
551
|
-
const i =
|
552
|
-
document.activeElement.blur(),
|
550
|
+
}, q = () => {
|
551
|
+
const i = T.querySelectorAll(".DropDown");
|
552
|
+
document.activeElement.blur(), b.classList.add("isScrolling");
|
553
553
|
for (let d = 0; d < i.length; d++)
|
554
|
-
i[d].style.transform = "translateX(-" +
|
555
|
-
|
554
|
+
i[d].style.transform = "translateX(-" + b.scrollLeft + "px)";
|
555
|
+
b.classList.remove("isScrolling");
|
556
556
|
}, _e = () => {
|
557
|
-
|
558
|
-
i?.subGroups?.count > 0 && (t(11,
|
557
|
+
O.forEach((i, d) => {
|
558
|
+
i?.subGroups?.count > 0 && (t(11, j[d] = !0, j), ve(i, d));
|
559
559
|
});
|
560
560
|
}, ke = (i) => {
|
561
561
|
let d = "";
|
562
|
-
return i.id === "LOBBY" ? d =
|
562
|
+
return i.id === "LOBBY" ? d = F : i.id === "MYGAMES" && (d = P), i.icon || d;
|
563
563
|
};
|
564
|
-
|
564
|
+
xe(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
565
565
|
() => {
|
566
|
-
|
566
|
+
b.addEventListener("scroll", q);
|
567
567
|
},
|
568
568
|
500
|
569
569
|
), window.postMessage({ type: "SliderLoaded", identity: y }), () => {
|
570
|
-
window.removeEventListener("message", te),
|
570
|
+
window.removeEventListener("message", te), T.removeEventListener("scroll", q);
|
571
571
|
}));
|
572
|
-
const Fe = () => $(), Me = (i, d,
|
573
|
-
|
574
|
-
}, Ie = (i, d,
|
575
|
-
|
572
|
+
const Fe = () => $(), Me = (i, d, M, N, H) => {
|
573
|
+
X(i, d, M, N, "secondary"), H.stopPropagation();
|
574
|
+
}, Ie = (i, d, M) => {
|
575
|
+
X(i, d, null, null, "main"), M.preventDefault();
|
576
576
|
};
|
577
577
|
function De(i) {
|
578
|
-
|
579
|
-
|
578
|
+
J[i ? "unshift" : "push"](() => {
|
579
|
+
T = i, t(5, T);
|
580
580
|
});
|
581
581
|
}
|
582
582
|
function Se(i) {
|
583
|
-
|
584
|
-
|
583
|
+
J[i ? "unshift" : "push"](() => {
|
584
|
+
b = i, t(12, b);
|
585
585
|
});
|
586
586
|
}
|
587
587
|
const Le = () => ee();
|
588
588
|
function Ae(i) {
|
589
|
-
|
590
|
-
|
589
|
+
J[i ? "unshift" : "push"](() => {
|
590
|
+
A = i, t(4, A);
|
591
591
|
});
|
592
592
|
}
|
593
593
|
return a.$$set = (i) => {
|
594
|
-
"endpoint" in i && t(17, o = i.endpoint), "datasource" in i && t(18, n = 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,
|
594
|
+
"endpoint" in i && t(17, o = i.endpoint), "datasource" in i && t(18, n = 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, m = 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, f = 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, x = i.mbsource);
|
595
595
|
}, a.$$.update = () => {
|
596
596
|
a.$$.dirty[0] & /*activeindex*/
|
597
597
|
2, a.$$.dirty[0] & /*translationurl*/
|
598
|
-
33554432 &&
|
599
|
-
4194320 &&
|
600
|
-
8388624 && m &&
|
598
|
+
33554432 && k && we(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
599
|
+
4194320 && _ && A && Ye(A, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
600
|
+
8388624 && m && A && Be(A, m), a.$$.dirty[0] & /*customStylingContainer*/
|
601
601
|
16 | a.$$.dirty[1] & /*mbsource*/
|
602
|
-
1 &&
|
602
|
+
1 && x && A && qe(A, `${x}.Style`), a.$$.dirty[0] & /*lang*/
|
603
603
|
268435456 && f && be();
|
604
604
|
}, [
|
605
605
|
u,
|
606
606
|
c,
|
607
607
|
w,
|
608
608
|
h,
|
609
|
-
L,
|
610
|
-
R,
|
611
|
-
j,
|
612
|
-
W,
|
613
|
-
K,
|
614
|
-
z,
|
615
|
-
G,
|
616
|
-
x,
|
617
609
|
A,
|
618
|
-
|
610
|
+
T,
|
611
|
+
E,
|
612
|
+
z,
|
613
|
+
K,
|
614
|
+
O,
|
615
|
+
B,
|
616
|
+
j,
|
617
|
+
b,
|
618
|
+
X,
|
619
619
|
$,
|
620
620
|
ee,
|
621
621
|
ke,
|
@@ -624,16 +624,16 @@ function Ze(a, e, t) {
|
|
624
624
|
l,
|
625
625
|
r,
|
626
626
|
s,
|
627
|
-
|
627
|
+
_,
|
628
628
|
m,
|
629
629
|
y,
|
630
|
-
_,
|
631
|
-
S,
|
632
|
-
M,
|
633
|
-
f,
|
634
630
|
k,
|
631
|
+
L,
|
632
|
+
I,
|
633
|
+
f,
|
634
|
+
F,
|
635
635
|
P,
|
636
|
-
|
636
|
+
x,
|
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
|
+
ze,
|
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
|
+
Xe,
|
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
|
};
|