@everymatrix/casino-header-controller 1.60.0 → 1.60.2
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-D3IA0-Fr.js → CasinoHamburgerMenu-BG-4lbhJ.js} +800 -822
- package/components/CasinoHamburgerMenu-CvBpCdt_.cjs +21 -0
- package/components/{CasinoHamburgerMenu-DyL5A7W7.js → CasinoHamburgerMenu-Dw8i7ogu.js} +646 -668
- package/components/{CasinoHeaderController-B1Lx3tU2.js → CasinoHeaderController-CHDKH8Ly.js} +85 -85
- package/components/{CasinoHeaderController-DmFZgeXE.js → CasinoHeaderController-DjVKPxVw.js} +87 -87
- package/components/{CasinoHeaderController-BH5IAaed.cjs → CasinoHeaderController-JXOZqHnI.cjs} +1 -1
- package/components/{CasinoSlider-DRVCTpte.cjs → CasinoSlider-3128DMp9.cjs} +1 -1
- package/components/{CasinoSlider-BTGfiw5j.js → CasinoSlider-BPydGfs8.js} +92 -92
- package/components/{CasinoSlider-RSfl7Nfu.js → CasinoSlider-FXHpAlQt.js} +85 -85
- package/components/PlayerAccountBalanceModal-CckEoZRk.js +1510 -0
- package/components/PlayerAccountBalanceModal-Ct7UUbnk.cjs +13 -0
- package/components/PlayerAccountBalanceModal-DiZBhm3s.js +1539 -0
- package/components/PlayerDeposit-BrNpbkaS.cjs +1 -0
- package/components/{PlayerDeposit-D1KSGzHW.js → PlayerDeposit-BsovN5ad.js} +65 -65
- package/components/{PlayerDeposit-OqZh5SL5.js → PlayerDeposit-DyYrLnnM.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-BKQuom7L.js +556 -0
- package/stencil/index-1ef3a64c-CA6VYINb.cjs +1 -0
- package/stencil/index-1ef3a64c-CMTTH4QO.js +572 -0
- package/stencil/{user-deposit-withdrawal-C72e1sSw.js → user-deposit-withdrawal-CIdBBp4F.js} +71 -71
- package/stencil/{user-deposit-withdrawal-DfDiD6Lp.js → user-deposit-withdrawal-XUfhzxqt.js} +77 -77
- package/stencil/{user-deposit-withdrawal-CS-LZhcv.cjs → user-deposit-withdrawal-jRWOVoij.cjs} +3 -3
- package/components/CasinoHamburgerMenu-DessG6uq.cjs +0 -21
- package/components/PlayerAccountBalanceModal-B9BkSlDU.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CEo_b6Ks.js +0 -1510
- package/components/PlayerAccountBalanceModal-fP9D_Jz7.js +0 -1539
- package/components/PlayerDeposit-DNEPQuyW.cjs +0 -1
- package/stencil/index-1ef3a64c-6soTLew7.js +0 -556
- package/stencil/index-1ef3a64c-DkMoO-oa.js +0 -572
- package/stencil/index-1ef3a64c-DmmoSOho.cjs +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { $ as Q, a as Ne, b as Re, S as Te, i as je,
|
1
|
+
import { $ as Q, a as Ne, b as Re, S as Te, i as je, s as We, f as C, d as ze, n as oe, e as S, t as Oe, z as g, h as L, v as p, w as P, k as F, j, o as Ge, A as G, M as pe, r as Y, p as X, E as ie, u as V, y as Z, B as Be, N as we, J as xe, K as Ye, L as qe, c as Ue } from "./CasinoHamburgerMenu-Dw8i7ogu.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,8 +67,8 @@ const ae = {
|
|
67
67
|
deposit: "Deposit"
|
68
68
|
}
|
69
69
|
};
|
70
|
-
function
|
71
|
-
|
70
|
+
function Je(n) {
|
71
|
+
ze(n, "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(n, e, t) {
|
74
74
|
const i = n.slice();
|
@@ -99,12 +99,12 @@ function ue(n) {
|
|
99
99
|
c() {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r].c();
|
102
|
-
i =
|
102
|
+
i = Y();
|
103
103
|
},
|
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
|
+
L(r, i, 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, i.parentNode, we, Ce, i, le));
|
115
115
|
},
|
116
116
|
d(r) {
|
117
|
-
r &&
|
117
|
+
r && S(i);
|
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
|
), i;
|
128
128
|
return {
|
129
129
|
c() {
|
130
|
-
e = F("button"), i =
|
130
|
+
e = F("button"), i = Z(t), g(e, "class", "CategoryButton");
|
131
131
|
},
|
132
132
|
m(a, l) {
|
133
|
-
|
133
|
+
L(a, e, l), p(e, i);
|
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(i, 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
|
), i, a;
|
150
150
|
return {
|
151
151
|
c() {
|
152
|
-
e = F("a"), i =
|
152
|
+
e = F("a"), i = Z(t), g(e, "href", a = /*category*/
|
153
153
|
n[48].path);
|
154
154
|
},
|
155
155
|
m(l, r) {
|
156
|
-
|
156
|
+
L(l, e, r), p(e, i);
|
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(i, t), r[0] & /*sliderdata*/
|
162
162
|
512 && a !== (a = /*category*/
|
163
163
|
l[48].path) && g(e, "href", a);
|
164
164
|
},
|
165
165
|
d(l) {
|
166
|
-
l &&
|
166
|
+
l && S(e);
|
167
167
|
}
|
168
168
|
};
|
169
169
|
}
|
@@ -175,10 +175,10 @@ function de(n) {
|
|
175
175
|
);
|
176
176
|
return {
|
177
177
|
c() {
|
178
|
-
t && t.c(), e =
|
178
|
+
t && t.c(), e = Y();
|
179
179
|
},
|
180
180
|
m(i, a) {
|
181
|
-
t && t.m(i, a),
|
181
|
+
t && t.m(i, a), L(i, e, a);
|
182
182
|
},
|
183
183
|
p(i, a) {
|
184
184
|
/*subGroupsData*/
|
@@ -186,7 +186,7 @@ function de(n) {
|
|
186
186
|
i[2] == "true" ? t ? t.p(i, a) : (t = ge(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
187
187
|
},
|
188
188
|
d(i) {
|
189
|
-
i &&
|
189
|
+
i && S(e), t && t.d(i);
|
190
190
|
}
|
191
191
|
};
|
192
192
|
}
|
@@ -205,7 +205,7 @@ function ge(n) {
|
|
205
205
|
g(e, "class", "DropDown");
|
206
206
|
},
|
207
207
|
m(a, l) {
|
208
|
-
|
208
|
+
L(a, e, l);
|
209
209
|
for (let r = 0; r < i.length; r += 1)
|
210
210
|
i[r] && i[r].m(e, null);
|
211
211
|
},
|
@@ -227,17 +227,17 @@ function ge(n) {
|
|
227
227
|
}
|
228
228
|
},
|
229
229
|
d(a) {
|
230
|
-
a &&
|
230
|
+
a && S(e), Be(i, a);
|
231
231
|
}
|
232
232
|
};
|
233
233
|
}
|
234
|
-
function
|
234
|
+
function fe(n) {
|
235
235
|
var w;
|
236
236
|
let e, t, i = (
|
237
237
|
/*subGroupItem*/
|
238
238
|
((w = n[54]) == null ? void 0 : w.name) + ""
|
239
239
|
), a, l, r, s, u;
|
240
|
-
function M(...
|
240
|
+
function M(...m) {
|
241
241
|
return (
|
242
242
|
/*click_handler_1*/
|
243
243
|
n[33](
|
@@ -249,13 +249,13 @@ function me(n) {
|
|
249
249
|
n[54],
|
250
250
|
/*subindex*/
|
251
251
|
n[56],
|
252
|
-
...
|
252
|
+
...m
|
253
253
|
)
|
254
254
|
);
|
255
255
|
}
|
256
256
|
return {
|
257
257
|
c() {
|
258
|
-
e = F("li"), t = F("a"), a =
|
258
|
+
e = F("li"), t = F("a"), a = Z(i), r = j(), g(t, "class", l = "SubDropDown " + /*index*/
|
259
259
|
(n[50] == /*activeIndex*/
|
260
260
|
n[6] && /*activeSubIndex*/
|
261
261
|
(n[7] == /*subindex*/
|
@@ -263,14 +263,14 @@ function me(n) {
|
|
263
263
|
n[8] == /*subindex*/
|
264
264
|
n[56]) ? "active" : ""));
|
265
265
|
},
|
266
|
-
m(
|
267
|
-
|
266
|
+
m(m, y) {
|
267
|
+
L(m, e, y), p(e, t), p(t, a), p(e, r), s || (u = P(e, "click", M), s = !0);
|
268
268
|
},
|
269
|
-
p(
|
269
|
+
p(m, y) {
|
270
270
|
var I;
|
271
|
-
n =
|
271
|
+
n = m, y[0] & /*subGroupsData*/
|
272
272
|
1024 && i !== (i = /*subGroupItem*/
|
273
|
-
((I = n[54]) == null ? void 0 : I.name) + "") &&
|
273
|
+
((I = n[54]) == null ? void 0 : I.name) + "") && V(a, i), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
274
274
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
275
275
|
(n[50] == /*activeIndex*/
|
276
276
|
n[6] && /*activeSubIndex*/
|
@@ -279,33 +279,33 @@ function me(n) {
|
|
279
279
|
n[8] == /*subindex*/
|
280
280
|
n[56]) ? "active" : "")) && g(t, "class", l);
|
281
281
|
},
|
282
|
-
d(
|
283
|
-
|
282
|
+
d(m) {
|
283
|
+
m && S(e), s = !1, u();
|
284
284
|
}
|
285
285
|
};
|
286
286
|
}
|
287
|
-
function
|
287
|
+
function me(n, e) {
|
288
288
|
let t, i, a = (
|
289
289
|
/*index*/
|
290
290
|
e[50] == /*subGroup*/
|
291
|
-
e[51].index &&
|
291
|
+
e[51].index && fe(e)
|
292
292
|
);
|
293
293
|
return {
|
294
294
|
key: n,
|
295
295
|
first: null,
|
296
296
|
c() {
|
297
|
-
t =
|
297
|
+
t = Y(), a && a.c(), i = Y(), this.first = t;
|
298
298
|
},
|
299
299
|
m(l, r) {
|
300
|
-
|
300
|
+
L(l, t, r), a && a.m(l, r), L(l, i, r);
|
301
301
|
},
|
302
302
|
p(l, r) {
|
303
303
|
e = l, /*index*/
|
304
304
|
e[50] == /*subGroup*/
|
305
|
-
e[51].index ? a ? a.p(e, r) : (a =
|
305
|
+
e[51].index ? a ? a.p(e, r) : (a = fe(e), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
|
306
306
|
},
|
307
307
|
d(l) {
|
308
|
-
l && (
|
308
|
+
l && (S(t), S(i)), a && a.d(l);
|
309
309
|
}
|
310
310
|
};
|
311
311
|
}
|
@@ -320,39 +320,39 @@ function he(n) {
|
|
320
320
|
);
|
321
321
|
for (let r = 0; r < a.length; r += 1) {
|
322
322
|
let s = ce(n, a, r), u = l(s);
|
323
|
-
t.set(u, e[r] =
|
323
|
+
t.set(u, e[r] = me(u, s));
|
324
324
|
}
|
325
325
|
return {
|
326
326
|
c() {
|
327
327
|
for (let r = 0; r < e.length; r += 1)
|
328
328
|
e[r].c();
|
329
|
-
i =
|
329
|
+
i = Y();
|
330
330
|
},
|
331
331
|
m(r, s) {
|
332
332
|
for (let u = 0; u < e.length; u += 1)
|
333
333
|
e[u] && e[u].m(r, s);
|
334
|
-
|
334
|
+
L(r, i, s);
|
335
335
|
},
|
336
336
|
p(r, s) {
|
337
337
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
338
338
|
10176 && (a = G(
|
339
339
|
/*subGroup*/
|
340
340
|
r[51].items
|
341
|
-
), e = pe(e, s, l, 1, r, a, t, i.parentNode, we,
|
341
|
+
), e = pe(e, s, l, 1, r, a, t, i.parentNode, we, me, i, ce));
|
342
342
|
},
|
343
343
|
d(r) {
|
344
|
-
r &&
|
344
|
+
r && S(i);
|
345
345
|
for (let s = 0; s < e.length; s += 1)
|
346
346
|
e[s].d(r);
|
347
347
|
}
|
348
348
|
};
|
349
349
|
}
|
350
350
|
function Ce(n, e) {
|
351
|
-
let t, i, a, l, r, s, u, M, w,
|
352
|
-
function I(
|
351
|
+
let t, i, a, l, r, s, u, M, w, m, y;
|
352
|
+
function I(f, _) {
|
353
353
|
return (
|
354
354
|
/*location*/
|
355
|
-
|
355
|
+
f[0] === "headerMain" ? Qe : Xe
|
356
356
|
);
|
357
357
|
}
|
358
358
|
let D = I(e), h = D(e), c = (
|
@@ -362,7 +362,7 @@ function Ce(n, e) {
|
|
362
362
|
e[50]
|
363
363
|
] == !0 && de(e)
|
364
364
|
);
|
365
|
-
function b(...
|
365
|
+
function b(...f) {
|
366
366
|
return (
|
367
367
|
/*click_handler_2*/
|
368
368
|
e[34](
|
@@ -370,7 +370,7 @@ function Ce(n, e) {
|
|
370
370
|
e[48],
|
371
371
|
/*index*/
|
372
372
|
e[50],
|
373
|
-
...
|
373
|
+
...f
|
374
374
|
)
|
375
375
|
);
|
376
376
|
}
|
@@ -378,14 +378,14 @@ function Ce(n, e) {
|
|
378
378
|
key: n,
|
379
379
|
first: null,
|
380
380
|
c() {
|
381
|
-
var
|
381
|
+
var f, _;
|
382
382
|
t = F("li"), i = F("div"), a = F("img"), s = j(), h.c(), u = j(), c && c.c(), M = j(), g(a, "class", l = "CategoryIconImg " + /*categoriesicon*/
|
383
383
|
(e[3] === "true" ? "" : "DisplayNone")), ie(a.src, r = /*handleSrc*/
|
384
384
|
e[16](
|
385
385
|
/*category*/
|
386
386
|
e[48]
|
387
387
|
)) || g(a, "src", r), g(i, "class", "CategoryIcon"), g(t, "class", w = "CarouselItem " + /*activeindex*/
|
388
|
-
(((
|
388
|
+
(((f = e[1]) == null ? void 0 : f.toString().indexOf("$")) > -1 ? (
|
389
389
|
/*activeindex*/
|
390
390
|
((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
|
391
391
|
e[48].id.split("$").pop() ? "active" : ""
|
@@ -396,12 +396,12 @@ function Ce(n, e) {
|
|
396
396
|
)) + " " + /*location*/
|
397
397
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
398
398
|
},
|
399
|
-
m(
|
400
|
-
|
399
|
+
m(f, _) {
|
400
|
+
L(f, t, _), p(t, i), p(i, a), p(t, s), h.m(t, null), p(t, u), c && c.m(t, null), p(t, M), m || (y = P(t, "click", b), m = !0);
|
401
401
|
},
|
402
|
-
p(
|
402
|
+
p(f, _) {
|
403
403
|
var W, E;
|
404
|
-
e =
|
404
|
+
e = f, _[0] & /*categoriesicon*/
|
405
405
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
406
406
|
(e[3] === "true" ? "" : "DisplayNone")) && g(a, "class", l), _[0] & /*sliderdata*/
|
407
407
|
512 && !ie(a.src, r = /*handleSrc*/
|
@@ -425,25 +425,25 @@ function Ce(n, e) {
|
|
425
425
|
)) + " " + /*location*/
|
426
426
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", w);
|
427
427
|
},
|
428
|
-
d(
|
429
|
-
|
428
|
+
d(f) {
|
429
|
+
f && S(t), h.d(), c && c.d(), m = !1, y();
|
430
430
|
}
|
431
431
|
};
|
432
432
|
}
|
433
433
|
function Ve(n) {
|
434
|
-
let e, t, i, a, l, r, s, u, M, w,
|
434
|
+
let e, t, i, a, l, r, s, u, M, w, m, y, I, D, h, c = (
|
435
435
|
/*sliderdata*/
|
436
436
|
n[9].length > 0 && ue(n)
|
437
437
|
);
|
438
438
|
return {
|
439
439
|
c() {
|
440
|
-
e = F("div"), t = F("div"), i = F("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = j(), l = F("div"), r = F("ul"), s = F("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = j(), c && c.c(), M = j(), w = F("div"), w.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', g(i, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap scroller"), g(w, "class", "CarouselRightArrow"), g(t, "class",
|
440
|
+
e = F("div"), t = F("div"), i = F("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = j(), l = F("div"), r = F("ul"), s = F("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = j(), c && c.c(), M = j(), w = F("div"), w.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', g(i, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap scroller"), g(w, "class", "CarouselRightArrow"), g(t, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
441
441
|
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", y = /*location*/
|
442
442
|
n[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", I = "CarouselWrapper " + /*location*/
|
443
443
|
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
444
444
|
},
|
445
|
-
m(b,
|
446
|
-
|
445
|
+
m(b, f) {
|
446
|
+
L(b, e, f), p(e, t), p(t, i), 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, M), p(t, w), n[38](e), D || (h = [
|
447
447
|
P(
|
448
448
|
i,
|
449
449
|
"click",
|
@@ -458,25 +458,25 @@ function Ve(n) {
|
|
458
458
|
)
|
459
459
|
], D = !0);
|
460
460
|
},
|
461
|
-
p(b,
|
461
|
+
p(b, f) {
|
462
462
|
/*sliderdata*/
|
463
|
-
b[9].length > 0 ? c ? c.p(b,
|
464
|
-
1 &&
|
465
|
-
b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && g(t, "class",
|
463
|
+
b[9].length > 0 ? c ? c.p(b, f) : (c = ue(b), c.c(), c.m(r, null)) : c && (c.d(1), c = null), f[0] & /*location*/
|
464
|
+
1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
465
|
+
b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && g(t, "class", m), f[0] & /*location*/
|
466
466
|
1 && y !== (y = /*location*/
|
467
|
-
b[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", y),
|
467
|
+
b[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", y), f[0] & /*location*/
|
468
468
|
1 && I !== (I = "CarouselWrapper " + /*location*/
|
469
469
|
(b[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class", I);
|
470
470
|
},
|
471
471
|
i: oe,
|
472
472
|
o: oe,
|
473
473
|
d(b) {
|
474
|
-
b &&
|
474
|
+
b && S(e), c && c.d(), n[35](null), n[36](null), n[38](null), D = !1, Oe(h);
|
475
475
|
}
|
476
476
|
};
|
477
477
|
}
|
478
478
|
function Ze(n, e, t) {
|
479
|
-
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: M = "" } = e, { clientstylingurl: w = "" } = e, { identity:
|
479
|
+
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: M = "" } = e, { clientstylingurl: w = "" } = e, { identity: m = "" } = e, { translationurl: y = "" } = e, { isprimarymenu: I = !1 } = e, { issecondarymenu: D = !1 } = e, { lang: h = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: f = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: W = "" } = e, { mbsource: E = "" } = e;
|
480
480
|
Pe({ withLocale: "en", translations: {} });
|
481
481
|
const ye = () => {
|
482
482
|
fetch(y).then((d) => d.json()).then((d) => {
|
@@ -490,7 +490,7 @@ function Ze(n, e, t) {
|
|
490
490
|
Object.keys(ae).forEach((o) => {
|
491
491
|
ne(o, ae[o]);
|
492
492
|
});
|
493
|
-
let z, N,
|
493
|
+
let z, N, B, K, A, x = [], q = [], O = [], v, J = (o, d, k, R, H) => {
|
494
494
|
var T;
|
495
495
|
if (!(o.subGroups && R === null)) {
|
496
496
|
if (U(), t(6, N = d), t(6, N), H != "secondary") {
|
@@ -506,10 +506,10 @@ function Ze(n, e, t) {
|
|
506
506
|
target: ((T = o.attrs) == null ? void 0 : T.target) || null
|
507
507
|
},
|
508
508
|
window.location.href
|
509
|
-
), t(7,
|
509
|
+
), t(7, B = null), t(8, K = null);
|
510
510
|
return;
|
511
511
|
}
|
512
|
-
t(7,
|
512
|
+
t(7, B = R), t(7, B), t(8, K = B), window.postMessage(
|
513
513
|
{
|
514
514
|
type: r,
|
515
515
|
itemId: k.id,
|
@@ -525,7 +525,7 @@ function Ze(n, e, t) {
|
|
525
525
|
v && (O.length !== N ? t(12, v.scrollLeft += 250, v) : t(12, v.scrollLeft = 0, v));
|
526
526
|
};
|
527
527
|
const te = (o) => {
|
528
|
-
o.data.type == "SliderData" && o.data.identity ==
|
528
|
+
o.data.type == "SliderData" && o.data.identity == m && (t(9, x = o.data.data), t(11, O = new Array(x.length).fill(!1)), b == "true" && _e()), o.data.type == "GoToHomepage" && x.forEach((d, k) => {
|
529
529
|
d.path.endsWith("/casino") && (t(6, N = k), t(6, N));
|
530
530
|
});
|
531
531
|
}, be = () => {
|
@@ -534,7 +534,7 @@ function Ze(n, e, t) {
|
|
534
534
|
if (u == "secondaryMenu" && i && a && h && o.id) {
|
535
535
|
let R = new URL(`${i}/v1/casino/groups/${a}/${o.id}/subGroups?language=${h}`);
|
536
536
|
fetch(R.href).then((H) => H.json()).then((H) => {
|
537
|
-
H.index = d, t(10,
|
537
|
+
H.index = d, t(10, q = q.concat(H)), b == "false" && window.postMessage(
|
538
538
|
{
|
539
539
|
type: r,
|
540
540
|
itemId: o.id,
|
@@ -544,7 +544,7 @@ function Ze(n, e, t) {
|
|
544
544
|
window.location.href
|
545
545
|
);
|
546
546
|
const T = [];
|
547
|
-
|
547
|
+
q.map((He) => (He.items.forEach((re) => {
|
548
548
|
T.find((Ee) => re.id == Ee) || T.push(re.id);
|
549
549
|
}), T.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: T }, window.location.href);
|
550
550
|
}).then(() => {
|
@@ -559,7 +559,7 @@ function Ze(n, e, t) {
|
|
559
559
|
o[d].style.transform = "translateX(-" + v.scrollLeft + "px)";
|
560
560
|
v.classList.remove("isScrolling");
|
561
561
|
}, _e = () => {
|
562
|
-
|
562
|
+
x.forEach((o, d) => {
|
563
563
|
var k;
|
564
564
|
((k = o == null ? void 0 : o.subGroups) == null ? void 0 : k.count) > 0 && (t(11, O[d] = !0, O), ve(o, d));
|
565
565
|
});
|
@@ -567,43 +567,43 @@ function Ze(n, e, t) {
|
|
567
567
|
let d = "";
|
568
568
|
return o.id === "LOBBY" ? d = _ : o.id === "MYGAMES" && (d = W), o.icon || d;
|
569
569
|
};
|
570
|
-
|
570
|
+
Ge(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
571
571
|
() => {
|
572
572
|
v.addEventListener("scroll", U);
|
573
573
|
},
|
574
574
|
500
|
575
|
-
), window.postMessage({ type: "SliderLoaded", identity:
|
575
|
+
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
576
576
|
window.removeEventListener("message", te), z.removeEventListener("scroll", U);
|
577
577
|
}));
|
578
578
|
const Fe = () => $(), Me = (o, d, k, R, H) => {
|
579
|
-
|
579
|
+
J(o, d, k, R, "secondary"), H.stopPropagation();
|
580
580
|
}, Ie = (o, d, k) => {
|
581
|
-
|
581
|
+
J(o, d, null, null, "main"), k.preventDefault();
|
582
582
|
};
|
583
583
|
function De(o) {
|
584
|
-
|
584
|
+
X[o ? "unshift" : "push"](() => {
|
585
585
|
z = o, t(5, z);
|
586
586
|
});
|
587
587
|
}
|
588
588
|
function Se(o) {
|
589
|
-
|
589
|
+
X[o ? "unshift" : "push"](() => {
|
590
590
|
v = o, t(12, v);
|
591
591
|
});
|
592
592
|
}
|
593
593
|
const Le = () => ee();
|
594
594
|
function Ae(o) {
|
595
|
-
|
595
|
+
X[o ? "unshift" : "push"](() => {
|
596
596
|
A = o, t(4, A);
|
597
597
|
});
|
598
598
|
}
|
599
599
|
return n.$$set = (o) => {
|
600
|
-
"endpoint" in o && t(17, i = o.endpoint), "datasource" in o && t(18, a = o.datasource), "onclickeventname" in o && t(19, l = o.onclickeventname), "actionevent" in o && t(20, r = o.actionevent), "favoritesnumber" in o && t(21, s = o.favoritesnumber), "location" in o && t(0, u = o.location), "clientstyling" in o && t(22, M = o.clientstyling), "clientstylingurl" in o && t(23, w = o.clientstylingurl), "identity" in o && t(24,
|
600
|
+
"endpoint" in o && t(17, i = o.endpoint), "datasource" in o && t(18, a = o.datasource), "onclickeventname" in o && t(19, l = o.onclickeventname), "actionevent" in o && t(20, r = o.actionevent), "favoritesnumber" in o && t(21, s = o.favoritesnumber), "location" in o && t(0, u = o.location), "clientstyling" in o && t(22, M = o.clientstyling), "clientstylingurl" in o && t(23, w = o.clientstylingurl), "identity" in o && t(24, m = o.identity), "translationurl" in o && t(25, y = o.translationurl), "isprimarymenu" in o && t(26, I = o.isprimarymenu), "issecondarymenu" in o && t(27, D = o.issecondarymenu), "lang" in o && t(28, h = o.lang), "activeindex" in o && t(1, c = o.activeindex), "showsubgroups" in o && t(2, b = o.showsubgroups), "categoriesicon" in o && t(3, f = o.categoriesicon), "lobbyiconimage" in o && t(29, _ = o.lobbyiconimage), "mygamesiconimage" in o && t(30, W = o.mygamesiconimage), "mbsource" in o && t(31, E = o.mbsource);
|
601
601
|
}, n.$$.update = () => {
|
602
602
|
n.$$.dirty[0] & /*activeindex*/
|
603
603
|
2, n.$$.dirty[0] & /*translationurl*/
|
604
604
|
33554432 && y && ye(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
605
|
-
4194320 && M && A &&
|
606
|
-
8388624 && w && A &&
|
605
|
+
4194320 && M && A && xe(A, M), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
606
|
+
8388624 && w && A && Ye(A, w), n.$$.dirty[0] & /*customStylingContainer*/
|
607
607
|
16 | n.$$.dirty[1] & /*mbsource*/
|
608
608
|
1 && E && A && qe(A, `${E}.Style`), n.$$.dirty[0] & /*lang*/
|
609
609
|
268435456 && h && be();
|
@@ -611,17 +611,17 @@ function Ze(n, e, t) {
|
|
611
611
|
u,
|
612
612
|
c,
|
613
613
|
b,
|
614
|
-
|
614
|
+
f,
|
615
615
|
A,
|
616
616
|
z,
|
617
617
|
N,
|
618
|
-
x,
|
619
|
-
K,
|
620
618
|
B,
|
621
|
-
|
619
|
+
K,
|
620
|
+
x,
|
621
|
+
q,
|
622
622
|
O,
|
623
623
|
v,
|
624
|
-
|
624
|
+
J,
|
625
625
|
$,
|
626
626
|
ee,
|
627
627
|
ke,
|
@@ -632,7 +632,7 @@ function Ze(n, e, t) {
|
|
632
632
|
s,
|
633
633
|
M,
|
634
634
|
w,
|
635
|
-
|
635
|
+
m,
|
636
636
|
y,
|
637
637
|
I,
|
638
638
|
D,
|
@@ -656,7 +656,7 @@ class $e extends Te {
|
|
656
656
|
e,
|
657
657
|
Ze,
|
658
658
|
Ve,
|
659
|
-
|
659
|
+
We,
|
660
660
|
{
|
661
661
|
endpoint: 17,
|
662
662
|
datasource: 18,
|
@@ -678,7 +678,7 @@ class $e extends Te {
|
|
678
678
|
mygamesiconimage: 30,
|
679
679
|
mbsource: 31
|
680
680
|
},
|
681
|
-
|
681
|
+
Je,
|
682
682
|
[-1, -1]
|
683
683
|
);
|
684
684
|
}
|
@@ -797,7 +797,7 @@ class $e extends Te {
|
|
797
797
|
this.$$set({ mbsource: e }), C();
|
798
798
|
}
|
799
799
|
}
|
800
|
-
|
800
|
+
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);
|
801
801
|
export {
|
802
802
|
$e as default
|
803
803
|
};
|