@everymatrix/casino-header-controller 1.55.0 → 1.56.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-JVY4ac8I.js → CasinoHamburgerMenu-B2TeHkyB.js} +800 -822
- package/components/{CasinoHamburgerMenu-E4O8Dx5o.js → CasinoHamburgerMenu-CUR5gaxv.js} +648 -670
- package/components/CasinoHamburgerMenu-DYL1HIps.cjs +8 -0
- package/components/CasinoHeaderController-CfLLPnem.cjs +13 -0
- package/components/{CasinoHeaderController-9s-CNvhj.js → CasinoHeaderController-CrEqMU6h.js} +561 -527
- package/components/{CasinoHeaderController-BVCLQUCq.js → CasinoHeaderController-Cv1RNj2L.js} +619 -585
- package/components/CasinoSlider-BU9fkHDu.cjs +1 -0
- package/components/{CasinoSlider-yMz4R8ed.js → CasinoSlider-CS-q7BSV.js} +101 -101
- package/components/{CasinoSlider-xu8jCpW1.js → CasinoSlider-DrD2osTb.js} +98 -98
- package/components/PlayerAccountBalanceModal--zdJlg4L.js +1507 -0
- package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +13 -0
- package/components/PlayerAccountBalanceModal-aiqQaHCF.js +1536 -0
- package/components/{PlayerDeposit-CIarW5H1.js → PlayerDeposit-BlD-xNdY.js} +93 -93
- package/components/{PlayerDeposit-D9xpcJp9.js → PlayerDeposit-DwGrlu-U.js} +93 -93
- package/components/PlayerDeposit-DzkmDtD0.cjs +1 -0
- 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-c7e52808-DGZdfQYz.cjs +1 -0
- package/stencil/index-c7e52808-RGphQbEA.js +638 -0
- package/stencil/index-c7e52808-yJXIboHF.js +654 -0
- package/stencil/{user-deposit-withdrawal-gu9RDhoH.js → user-deposit-withdrawal-1SJnPWvi.js} +268 -251
- package/stencil/{user-deposit-withdrawal-Dg3a3KkR.js → user-deposit-withdrawal-BiZKbrT_.js} +194 -177
- package/stencil/user-deposit-withdrawal-CzeoKH00.cjs +59 -0
- package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +0 -8
- package/components/CasinoHeaderController-BZk18wxU.cjs +0 -13
- package/components/CasinoSlider-DDycojG8.cjs +0 -1
- package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CcASksA3.js +0 -1507
- package/components/PlayerAccountBalanceModal-DG6GgVDp.js +0 -1536
- package/components/PlayerDeposit-C8ZPqrpV.cjs +0 -1
- package/stencil/index-657e7a14-BQuTIY5_.js +0 -572
- package/stencil/index-657e7a14-CDqZBTHG.cjs +0 -1
- package/stencil/index-657e7a14-fo2CD-e3.js +0 -588
- package/stencil/user-deposit-withdrawal-BCkoyv3i.cjs +0 -59
@@ -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, s as We, c as ze, d as Be, n as oe, e as I, t as Oe, z as g, h as D, v as p, w as U, k as b, j as N, o as Ge, A as T, M as pe, r as B, 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-B2TeHkyB.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,20 +67,20 @@ const ne = {
|
|
67
67
|
deposit: "Deposit"
|
68
68
|
}
|
69
69
|
};
|
70
|
-
function
|
71
|
-
Be(a, "svelte-
|
70
|
+
function Je(a) {
|
71
|
+
Be(a, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.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();
|
75
|
-
return o[
|
75
|
+
return o[48] = e[t], o[50] = t, o;
|
76
76
|
}
|
77
77
|
function se(a, e, t) {
|
78
78
|
const o = a.slice();
|
79
|
-
return o[
|
79
|
+
return o[51] = e[t], o;
|
80
80
|
}
|
81
81
|
function ce(a, e, t) {
|
82
82
|
const o = a.slice();
|
83
|
-
return o[
|
83
|
+
return o[54] = e[t], o[56] = t, o;
|
84
84
|
}
|
85
85
|
function ue(a) {
|
86
86
|
let e = [], t = /* @__PURE__ */ new Map(), o, n = T(
|
@@ -89,7 +89,7 @@ function ue(a) {
|
|
89
89
|
);
|
90
90
|
const l = (r) => (
|
91
91
|
/*category*/
|
92
|
-
r[
|
92
|
+
r[48].id
|
93
93
|
);
|
94
94
|
for (let r = 0; r < n.length; r += 1) {
|
95
95
|
let s = le(a, n, r), u = l(s);
|
@@ -104,7 +104,7 @@ function ue(a) {
|
|
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,56 +114,56 @@ function ue(a) {
|
|
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 && I(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(a) {
|
124
124
|
let e, t = (
|
125
125
|
/*category*/
|
126
|
-
a[
|
126
|
+
a[48].name + ""
|
127
127
|
), o;
|
128
128
|
return {
|
129
129
|
c() {
|
130
|
-
e = b("button"), o =
|
130
|
+
e = b("button"), o = Z(t), g(e, "class", "CategoryButton");
|
131
131
|
},
|
132
132
|
m(n, l) {
|
133
|
-
|
133
|
+
D(n, e, l), p(e, o);
|
134
134
|
},
|
135
135
|
p(n, l) {
|
136
136
|
l[0] & /*sliderdata*/
|
137
137
|
512 && t !== (t = /*category*/
|
138
|
-
n[
|
138
|
+
n[48].name + "") && V(o, t);
|
139
139
|
},
|
140
140
|
d(n) {
|
141
|
-
n &&
|
141
|
+
n && I(e);
|
142
142
|
}
|
143
143
|
};
|
144
144
|
}
|
145
145
|
function Qe(a) {
|
146
146
|
let e, t = (
|
147
147
|
/*category*/
|
148
|
-
a[
|
148
|
+
a[48].label + ""
|
149
149
|
), o, n;
|
150
150
|
return {
|
151
151
|
c() {
|
152
|
-
e = b("a"), o =
|
153
|
-
a[
|
152
|
+
e = b("a"), o = Z(t), g(e, "href", n = /*category*/
|
153
|
+
a[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[
|
161
|
+
l[48].label + "") && V(o, t), r[0] & /*sliderdata*/
|
162
162
|
512 && n !== (n = /*category*/
|
163
|
-
l[
|
163
|
+
l[48].path) && g(e, "href", n);
|
164
164
|
},
|
165
165
|
d(l) {
|
166
|
-
l &&
|
166
|
+
l && I(e);
|
167
167
|
}
|
168
168
|
};
|
169
169
|
}
|
@@ -178,7 +178,7 @@ function de(a) {
|
|
178
178
|
t && t.c(), e = B();
|
179
179
|
},
|
180
180
|
m(o, n) {
|
181
|
-
t && t.m(o, n),
|
181
|
+
t && t.m(o, n), D(o, e, n);
|
182
182
|
},
|
183
183
|
p(o, n) {
|
184
184
|
/*subGroupsData*/
|
@@ -186,7 +186,7 @@ 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 && I(e), t && t.d(o);
|
190
190
|
}
|
191
191
|
};
|
192
192
|
}
|
@@ -205,7 +205,7 @@ function ge(a) {
|
|
205
205
|
g(e, "class", "DropDown");
|
206
206
|
},
|
207
207
|
m(n, l) {
|
208
|
-
|
208
|
+
D(n, 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,66 +227,66 @@ function ge(a) {
|
|
227
227
|
}
|
228
228
|
},
|
229
229
|
d(n) {
|
230
|
-
n &&
|
230
|
+
n && I(e), xe(o, n);
|
231
231
|
}
|
232
232
|
};
|
233
233
|
}
|
234
234
|
function me(a) {
|
235
235
|
let e, t, o = (
|
236
236
|
/*subGroupItem*/
|
237
|
-
a[
|
237
|
+
a[54]?.name + ""
|
238
238
|
), n, l, r, s, u;
|
239
239
|
function v(...m) {
|
240
240
|
return (
|
241
241
|
/*click_handler_1*/
|
242
242
|
a[33](
|
243
243
|
/*category*/
|
244
|
-
a[
|
244
|
+
a[48],
|
245
245
|
/*index*/
|
246
|
-
a[
|
246
|
+
a[50],
|
247
247
|
/*subGroupItem*/
|
248
|
-
a[
|
248
|
+
a[54],
|
249
249
|
/*subindex*/
|
250
|
-
a[
|
250
|
+
a[56],
|
251
251
|
...m
|
252
252
|
)
|
253
253
|
);
|
254
254
|
}
|
255
255
|
return {
|
256
256
|
c() {
|
257
|
-
e = b("li"), t = b("a"), n =
|
258
|
-
(a[
|
257
|
+
e = b("li"), t = b("a"), n = Z(o), r = N(), g(t, "class", l = "SubDropDown " + /*index*/
|
258
|
+
(a[50] == /*activeIndex*/
|
259
259
|
a[6] && /*activeSubIndex*/
|
260
260
|
(a[7] == /*subindex*/
|
261
|
-
a[
|
261
|
+
a[56] || /*prevSubIndex*/
|
262
262
|
a[8] == /*subindex*/
|
263
|
-
a[
|
263
|
+
a[56]) ? "active" : ""));
|
264
264
|
},
|
265
265
|
m(m, y) {
|
266
|
-
|
266
|
+
D(m, e, y), p(e, t), p(t, n), p(e, r), s || (u = U(e, "click", v), s = !0);
|
267
267
|
},
|
268
268
|
p(m, y) {
|
269
269
|
a = m, y[0] & /*subGroupsData*/
|
270
270
|
1024 && o !== (o = /*subGroupItem*/
|
271
|
-
a[
|
271
|
+
a[54]?.name + "") && V(n, o), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
272
272
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
273
|
-
(a[
|
273
|
+
(a[50] == /*activeIndex*/
|
274
274
|
a[6] && /*activeSubIndex*/
|
275
275
|
(a[7] == /*subindex*/
|
276
|
-
a[
|
276
|
+
a[56] || /*prevSubIndex*/
|
277
277
|
a[8] == /*subindex*/
|
278
|
-
a[
|
278
|
+
a[56]) ? "active" : "")) && g(t, "class", l);
|
279
279
|
},
|
280
280
|
d(m) {
|
281
|
-
m &&
|
281
|
+
m && I(e), s = !1, u();
|
282
282
|
}
|
283
283
|
};
|
284
284
|
}
|
285
285
|
function fe(a, e) {
|
286
286
|
let t, o, n = (
|
287
287
|
/*index*/
|
288
|
-
e[
|
289
|
-
e[
|
288
|
+
e[50] == /*subGroup*/
|
289
|
+
e[51].index && me(e)
|
290
290
|
);
|
291
291
|
return {
|
292
292
|
key: a,
|
@@ -295,26 +295,26 @@ function fe(a, e) {
|
|
295
295
|
t = B(), n && n.c(), o = B(), 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);
|
299
299
|
},
|
300
300
|
p(l, r) {
|
301
301
|
e = l, /*index*/
|
302
|
-
e[
|
303
|
-
e[
|
302
|
+
e[50] == /*subGroup*/
|
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 && (I(t), I(o)), n && n.d(l);
|
307
307
|
}
|
308
308
|
};
|
309
309
|
}
|
310
310
|
function he(a) {
|
311
311
|
let e = [], t = /* @__PURE__ */ new Map(), o, n = T(
|
312
312
|
/*subGroup*/
|
313
|
-
a[
|
313
|
+
a[51].items
|
314
314
|
);
|
315
315
|
const l = (r) => (
|
316
316
|
/*subGroupItem*/
|
317
|
-
r[
|
317
|
+
r[54].id
|
318
318
|
);
|
319
319
|
for (let r = 0; r < n.length; r += 1) {
|
320
320
|
let s = ce(a, n, r), u = l(s);
|
@@ -329,17 +329,17 @@ function he(a) {
|
|
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*/
|
336
336
|
10176 && (n = T(
|
337
337
|
/*subGroup*/
|
338
|
-
r[
|
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 && I(o);
|
343
343
|
for (let s = 0; s < e.length; s += 1)
|
344
344
|
e[s].d(r);
|
345
345
|
}
|
@@ -350,14 +350,14 @@ function Ce(a, e) {
|
|
350
350
|
function S(h, k) {
|
351
351
|
return (
|
352
352
|
/*location*/
|
353
|
-
h[0] === "headerMain" ? Qe :
|
353
|
+
h[0] === "headerMain" ? Qe : Xe
|
354
354
|
);
|
355
355
|
}
|
356
|
-
let
|
356
|
+
let M = S(e), f = M(e), c = (
|
357
357
|
/*itemsActive*/
|
358
358
|
e[11][
|
359
359
|
/*index*/
|
360
|
-
e[
|
360
|
+
e[50]
|
361
361
|
] == !0 && de(e)
|
362
362
|
);
|
363
363
|
function w(...h) {
|
@@ -365,9 +365,9 @@ function Ce(a, e) {
|
|
365
365
|
/*click_handler_2*/
|
366
366
|
e[34](
|
367
367
|
/*category*/
|
368
|
-
e[
|
368
|
+
e[48],
|
369
369
|
/*index*/
|
370
|
-
e[
|
370
|
+
e[50],
|
371
371
|
...h
|
372
372
|
)
|
373
373
|
);
|
@@ -380,21 +380,21 @@ function Ce(a, e) {
|
|
380
380
|
(e[3] === "true" ? "" : "DisplayNone")), ie(n.src, r = /*handleSrc*/
|
381
381
|
e[16](
|
382
382
|
/*category*/
|
383
|
-
e[
|
383
|
+
e[48]
|
384
384
|
)) || g(n, "src", r), g(o, "class", "CategoryIcon"), g(t, "class", m = "CarouselItem " + /*activeindex*/
|
385
385
|
(e[1]?.toString().indexOf("$") > -1 ? (
|
386
386
|
/*activeindex*/
|
387
387
|
e[1]?.split("$").pop() == /*category*/
|
388
|
-
e[
|
388
|
+
e[48].id.split("$").pop() ? "active" : ""
|
389
389
|
) : (
|
390
390
|
/*activeindex*/
|
391
391
|
e[1] == /*category*/
|
392
|
-
e[
|
392
|
+
e[48].id ? "active" : ""
|
393
393
|
)) + " " + /*location*/
|
394
|
-
(e[0] == "headerMain" ? "" : "SecondaryMenu")),
|
394
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
395
395
|
},
|
396
396
|
m(h, k) {
|
397
|
-
|
397
|
+
D(h, t, k), p(t, o), p(o, n), p(t, s), f.m(t, null), p(t, u), c && c.m(t, null), p(t, v), y || (_ = U(t, "click", w), y = !0);
|
398
398
|
},
|
399
399
|
p(h, k) {
|
400
400
|
e = h, k[0] & /*categoriesicon*/
|
@@ -403,31 +403,31 @@ function Ce(a, e) {
|
|
403
403
|
512 && !ie(n.src, r = /*handleSrc*/
|
404
404
|
e[16](
|
405
405
|
/*category*/
|
406
|
-
e[
|
407
|
-
)) && g(n, "src", r),
|
406
|
+
e[48]
|
407
|
+
)) && g(n, "src", r), M === (M = S(e)) && f ? f.p(e, k) : (f.d(1), f = M(e), f && (f.c(), f.m(t, u))), /*itemsActive*/
|
408
408
|
e[11][
|
409
409
|
/*index*/
|
410
|
-
e[
|
410
|
+
e[50]
|
411
411
|
] == !0 ? c ? c.p(e, k) : (c = de(e), c.c(), c.m(t, v)) : c && (c.d(1), c = null), k[0] & /*activeindex, sliderdata, location*/
|
412
412
|
515 && m !== (m = "CarouselItem " + /*activeindex*/
|
413
413
|
(e[1]?.toString().indexOf("$") > -1 ? (
|
414
414
|
/*activeindex*/
|
415
415
|
e[1]?.split("$").pop() == /*category*/
|
416
|
-
e[
|
416
|
+
e[48].id.split("$").pop() ? "active" : ""
|
417
417
|
) : (
|
418
418
|
/*activeindex*/
|
419
419
|
e[1] == /*category*/
|
420
|
-
e[
|
420
|
+
e[48].id ? "active" : ""
|
421
421
|
)) + " " + /*location*/
|
422
422
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", m);
|
423
423
|
},
|
424
424
|
d(h) {
|
425
|
-
h &&
|
425
|
+
h && I(t), f.d(), c && c.d(), y = !1, _();
|
426
426
|
}
|
427
427
|
};
|
428
428
|
}
|
429
429
|
function Ve(a) {
|
430
|
-
let e, t, o, n, l, r, s, u, v, m, y, _, S,
|
430
|
+
let e, t, o, n, l, r, s, u, v, m, y, _, S, M, f, c = (
|
431
431
|
/*sliderdata*/
|
432
432
|
a[9].length > 0 && ue(a)
|
433
433
|
);
|
@@ -439,7 +439,7 @@ function Ve(a) {
|
|
439
439
|
(a[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
440
440
|
},
|
441
441
|
m(w, h) {
|
442
|
-
|
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, v), p(t, m), a[38](e), M || (f = [
|
443
443
|
U(
|
444
444
|
o,
|
445
445
|
"click",
|
@@ -452,7 +452,7 @@ function Ve(a) {
|
|
452
452
|
/*click_handler_3*/
|
453
453
|
a[37]
|
454
454
|
)
|
455
|
-
],
|
455
|
+
], M = !0);
|
456
456
|
},
|
457
457
|
p(w, h) {
|
458
458
|
/*sliderdata*/
|
@@ -467,12 +467,12 @@ function Ve(a) {
|
|
467
467
|
i: oe,
|
468
468
|
o: oe,
|
469
469
|
d(w) {
|
470
|
-
w &&
|
470
|
+
w && I(e), c && c.d(), a[35](null), a[36](null), a[38](null), M = !1, Oe(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: v = "" } = e, { clientstylingurl: m = "" } = e, { identity: y = "" } = e, { translationurl: _ = "" } = e, { isprimarymenu: S = !1 } = e, { issecondarymenu:
|
475
|
+
let { endpoint: o = "" } = e, { datasource: n = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: m = "" } = e, { identity: y = "" } = e, { translationurl: _ = "" } = e, { isprimarymenu: S = !1 } = e, { issecondarymenu: M = !1 } = e, { lang: f = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: w = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: k = "" } = e, { mygamesiconimage: P = "" } = e, { mbsource: O = "" } = e;
|
476
476
|
Pe({ withLocale: "en", translations: {} });
|
477
477
|
const we = () => {
|
478
478
|
fetch(_).then((d) => d.json()).then((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 R, j, W, K, L, z = [], G = [], x = [], A,
|
489
|
+
let R, j, W, K, L, z = [], G = [], x = [], A, J = (i, d, F, E, H) => {
|
490
490
|
if (!(i.subGroups && E === null)) {
|
491
|
-
if (
|
491
|
+
if (Y(), t(6, j = d), t(6, j), H != "secondary") {
|
492
492
|
window.postMessage(
|
493
493
|
{
|
494
494
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -538,16 +538,16 @@ function Ze(a, e, t) {
|
|
538
538
|
},
|
539
539
|
window.location.href
|
540
540
|
);
|
541
|
-
const
|
541
|
+
const q = [];
|
542
542
|
G.map((He) => (He.items.forEach((re) => {
|
543
|
-
|
544
|
-
}),
|
543
|
+
q.find((Ee) => re.id == Ee) || q.push(re.id);
|
544
|
+
}), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
|
545
545
|
}).then(() => {
|
546
|
-
R.querySelectorAll(".DropDown") &&
|
546
|
+
R.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 = R.querySelectorAll(".DropDown");
|
552
552
|
document.activeElement.blur(), A.classList.add("isScrolling");
|
553
553
|
for (let d = 0; d < i.length; d++)
|
@@ -563,43 +563,43 @@ function Ze(a, e, t) {
|
|
563
563
|
};
|
564
564
|
Ge(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
565
565
|
() => {
|
566
|
-
A.addEventListener("scroll",
|
566
|
+
A.addEventListener("scroll", Y);
|
567
567
|
},
|
568
568
|
500
|
569
569
|
), window.postMessage({ type: "SliderLoaded", identity: y }), () => {
|
570
|
-
window.removeEventListener("message", te), R.removeEventListener("scroll",
|
570
|
+
window.removeEventListener("message", te), R.removeEventListener("scroll", Y);
|
571
571
|
}));
|
572
|
-
const Fe = () => $(),
|
573
|
-
|
574
|
-
},
|
575
|
-
|
572
|
+
const Fe = () => $(), Me = (i, d, F, E, H) => {
|
573
|
+
J(i, d, F, E, "secondary"), H.stopPropagation();
|
574
|
+
}, Ie = (i, d, F) => {
|
575
|
+
J(i, d, null, null, "main"), F.preventDefault();
|
576
576
|
};
|
577
577
|
function De(i) {
|
578
|
-
|
578
|
+
X[i ? "unshift" : "push"](() => {
|
579
579
|
R = i, t(5, R);
|
580
580
|
});
|
581
581
|
}
|
582
582
|
function Se(i) {
|
583
|
-
|
583
|
+
X[i ? "unshift" : "push"](() => {
|
584
584
|
A = i, t(12, A);
|
585
585
|
});
|
586
586
|
}
|
587
587
|
const Le = () => ee();
|
588
588
|
function Ae(i) {
|
589
|
-
|
589
|
+
X[i ? "unshift" : "push"](() => {
|
590
590
|
L = i, t(4, L);
|
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, v = i.clientstyling), "clientstylingurl" in i && t(23, m = i.clientstylingurl), "identity" in i && t(24, y = i.identity), "translationurl" in i && t(25, _ = i.translationurl), "isprimarymenu" in i && t(26, S = i.isprimarymenu), "issecondarymenu" in i && t(27,
|
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, v = i.clientstyling), "clientstylingurl" in i && t(23, m = i.clientstylingurl), "identity" in i && t(24, y = i.identity), "translationurl" in i && t(25, _ = i.translationurl), "isprimarymenu" in i && t(26, S = i.isprimarymenu), "issecondarymenu" in i && t(27, M = 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, k = i.lobbyiconimage), "mygamesiconimage" in i && t(30, P = i.mygamesiconimage), "mbsource" in i && t(31, O = i.mbsource);
|
595
595
|
}, a.$$.update = () => {
|
596
596
|
a.$$.dirty[0] & /*activeindex*/
|
597
597
|
2, a.$$.dirty[0] & /*translationurl*/
|
598
598
|
33554432 && _ && we(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
599
599
|
4194320 && v && L && Ye(L, v), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
600
|
-
8388624 && m && L &&
|
600
|
+
8388624 && m && L && qe(L, m), a.$$.dirty[0] & /*customStylingContainer*/
|
601
601
|
16 | a.$$.dirty[1] & /*mbsource*/
|
602
|
-
1 && O && L &&
|
602
|
+
1 && O && L && Ue(L, `${O}.Style`), a.$$.dirty[0] & /*lang*/
|
603
603
|
268435456 && f && be();
|
604
604
|
}, [
|
605
605
|
u,
|
@@ -615,7 +615,7 @@ function Ze(a, e, t) {
|
|
615
615
|
G,
|
616
616
|
x,
|
617
617
|
A,
|
618
|
-
|
618
|
+
J,
|
619
619
|
$,
|
620
620
|
ee,
|
621
621
|
ke,
|
@@ -629,14 +629,14 @@ function Ze(a, e, t) {
|
|
629
629
|
y,
|
630
630
|
_,
|
631
631
|
S,
|
632
|
-
|
632
|
+
M,
|
633
633
|
f,
|
634
634
|
k,
|
635
635
|
P,
|
636
636
|
O,
|
637
637
|
Fe,
|
638
|
-
Ie,
|
639
638
|
Me,
|
639
|
+
Ie,
|
640
640
|
De,
|
641
641
|
Se,
|
642
642
|
Le,
|
@@ -650,7 +650,7 @@ class $e extends Te {
|
|
650
650
|
e,
|
651
651
|
Ze,
|
652
652
|
Ve,
|
653
|
-
|
653
|
+
We,
|
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
|
+
ze($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
|
};
|