@everymatrix/casino-categories-slider 1.63.3 → 1.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSlider-BLnLsqGT.cjs → CasinoCategoriesSlider-Bd1R0RB0.cjs} +4 -4
- package/components/{CasinoCategoriesSlider-BBAXVRNi.js → CasinoCategoriesSlider-DMC9CFDg.js} +555 -562
- package/components/{CasinoCategoriesSlider-yLDKhmjV.js → CasinoCategoriesSlider-Qhx13ZiU.js} +495 -502
- package/components/{CasinoSlider-Bu5cvdqr.js → CasinoSlider-4oZFStFQ.js} +111 -111
- package/components/{CasinoSlider-DAdBGKKb.js → CasinoSlider-BCZsEGOH.js} +190 -190
- package/components/CasinoSlider-BViBOG_Y.cjs +1 -0
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-NWcQiku5.cjs +0 -1
@@ -1,16 +1,16 @@
|
|
1
|
-
import { $ as Q, a as Ne, b as Re, S as Te, i as
|
2
|
-
function Pe({ withLocale:
|
1
|
+
import { $ as Q, a as Ne, b as Re, S as Te, i as Be, f as C, s as je, c as We, d as ze, n as oe, e as S, r as Oe, g, h as D, j as p, l as U, k as v, m as R, o as xe, p as j, u as pe, q as O, t as J, v as ie, w as V, x as Z, y as Ge, z as ye, A as qe, B as Ye, C as Ue } from "./CasinoCategoriesSlider-DMC9CFDg.js";
|
2
|
+
function Pe({ withLocale: n, translations: e }) {
|
3
3
|
Q.subscribe((t) => {
|
4
|
-
t == null && (Ne.set(e), Q.set(
|
4
|
+
t == null && (Ne.set(e), Q.set(n));
|
5
5
|
});
|
6
6
|
}
|
7
|
-
function
|
8
|
-
Re(
|
7
|
+
function ne(n, e) {
|
8
|
+
Re(n, e);
|
9
9
|
}
|
10
|
-
function Ke(
|
11
|
-
Q.set(
|
10
|
+
function Ke(n) {
|
11
|
+
Q.set(n);
|
12
12
|
}
|
13
|
-
const
|
13
|
+
const ae = {
|
14
14
|
en: {
|
15
15
|
login: "Login",
|
16
16
|
register: "Register",
|
@@ -67,158 +67,158 @@ const ne = {
|
|
67
67
|
deposit: "Deposit"
|
68
68
|
}
|
69
69
|
};
|
70
|
-
function Xe(
|
71
|
-
|
70
|
+
function Xe(n) {
|
71
|
+
ze(n, "svelte-wvhhix", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127)}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #22B04E)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
|
72
72
|
}
|
73
|
-
function le(
|
74
|
-
const o =
|
73
|
+
function le(n, e, t) {
|
74
|
+
const o = n.slice();
|
75
75
|
return o[48] = e[t], o[50] = t, o;
|
76
76
|
}
|
77
|
-
function se(
|
78
|
-
const o =
|
77
|
+
function se(n, e, t) {
|
78
|
+
const o = n.slice();
|
79
79
|
return o[51] = e[t], o;
|
80
80
|
}
|
81
|
-
function ce(
|
82
|
-
const o =
|
81
|
+
function ce(n, e, t) {
|
82
|
+
const o = n.slice();
|
83
83
|
return o[54] = e[t], o[56] = t, o;
|
84
84
|
}
|
85
|
-
function ue(
|
86
|
-
let e = [], t = /* @__PURE__ */ new Map(), o,
|
85
|
+
function ue(n) {
|
86
|
+
let e = [], t = /* @__PURE__ */ new Map(), o, a = j(
|
87
87
|
/*sliderdata*/
|
88
|
-
|
88
|
+
n[9]
|
89
89
|
);
|
90
90
|
const l = (r) => (
|
91
91
|
/*category*/
|
92
92
|
r[48].id
|
93
93
|
);
|
94
|
-
for (let r = 0; r <
|
95
|
-
let s = le(
|
94
|
+
for (let r = 0; r < a.length; r += 1) {
|
95
|
+
let s = le(n, a, r), u = l(s);
|
96
96
|
t.set(u, e[r] = Ce(u, s));
|
97
97
|
}
|
98
98
|
return {
|
99
99
|
c() {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r].c();
|
102
|
-
o =
|
102
|
+
o = O();
|
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
|
+
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*/
|
111
|
-
77775 && (
|
111
|
+
77775 && (a = j(
|
112
112
|
/*sliderdata*/
|
113
113
|
r[9]
|
114
|
-
), e = pe(e, s, l, 1, r,
|
114
|
+
), e = pe(e, s, l, 1, r, a, t, o.parentNode, ye, Ce, o, le));
|
115
115
|
},
|
116
116
|
d(r) {
|
117
|
-
r &&
|
117
|
+
r && S(o);
|
118
118
|
for (let s = 0; s < e.length; s += 1)
|
119
119
|
e[s].d(r);
|
120
120
|
}
|
121
121
|
};
|
122
122
|
}
|
123
|
-
function Je(
|
123
|
+
function Je(n) {
|
124
124
|
let e, t = (
|
125
125
|
/*category*/
|
126
|
-
|
126
|
+
n[48].name + ""
|
127
127
|
), o;
|
128
128
|
return {
|
129
129
|
c() {
|
130
130
|
e = v("button"), o = Z(t), g(e, "class", "CategoryButton");
|
131
131
|
},
|
132
|
-
m(
|
133
|
-
|
132
|
+
m(a, l) {
|
133
|
+
D(a, e, l), p(e, o);
|
134
134
|
},
|
135
|
-
p(
|
135
|
+
p(a, l) {
|
136
136
|
l[0] & /*sliderdata*/
|
137
137
|
512 && t !== (t = /*category*/
|
138
|
-
|
138
|
+
a[48].name + "") && V(o, t);
|
139
139
|
},
|
140
|
-
d(
|
141
|
-
|
140
|
+
d(a) {
|
141
|
+
a && S(e);
|
142
142
|
}
|
143
143
|
};
|
144
144
|
}
|
145
|
-
function Qe(
|
145
|
+
function Qe(n) {
|
146
146
|
let e, t = (
|
147
147
|
/*category*/
|
148
|
-
|
149
|
-
), o,
|
148
|
+
n[48].label + ""
|
149
|
+
), o, a;
|
150
150
|
return {
|
151
151
|
c() {
|
152
|
-
e = v("a"), o = Z(t), g(e, "href",
|
153
|
-
|
152
|
+
e = v("a"), o = Z(t), g(e, "href", a = /*category*/
|
153
|
+
n[48].path);
|
154
154
|
},
|
155
155
|
m(l, r) {
|
156
|
-
|
156
|
+
D(l, e, r), p(e, o);
|
157
157
|
},
|
158
158
|
p(l, r) {
|
159
159
|
r[0] & /*sliderdata*/
|
160
160
|
512 && t !== (t = /*category*/
|
161
161
|
l[48].label + "") && V(o, t), r[0] & /*sliderdata*/
|
162
|
-
512 &&
|
163
|
-
l[48].path) && g(e, "href",
|
162
|
+
512 && a !== (a = /*category*/
|
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
|
}
|
170
|
-
function de(
|
170
|
+
function de(n) {
|
171
171
|
let e, t = (
|
172
172
|
/*subGroupsData*/
|
173
|
-
|
174
|
-
|
173
|
+
n[10].length > 0 && /*showsubgroups*/
|
174
|
+
n[2] == "true" && ge(n)
|
175
175
|
);
|
176
176
|
return {
|
177
177
|
c() {
|
178
|
-
t && t.c(), e =
|
178
|
+
t && t.c(), e = O();
|
179
179
|
},
|
180
|
-
m(o,
|
181
|
-
t && t.m(o,
|
180
|
+
m(o, a) {
|
181
|
+
t && t.m(o, a), D(o, e, a);
|
182
182
|
},
|
183
|
-
p(o,
|
183
|
+
p(o, a) {
|
184
184
|
/*subGroupsData*/
|
185
185
|
o[10].length > 0 && /*showsubgroups*/
|
186
|
-
o[2] == "true" ? t ? t.p(o,
|
186
|
+
o[2] == "true" ? t ? t.p(o, a) : (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
|
-
function ge(
|
194
|
-
let e, t =
|
193
|
+
function ge(n) {
|
194
|
+
let e, t = j(
|
195
195
|
/*subGroupsData*/
|
196
|
-
|
196
|
+
n[10]
|
197
197
|
), o = [];
|
198
|
-
for (let
|
199
|
-
o[
|
198
|
+
for (let a = 0; a < t.length; a += 1)
|
199
|
+
o[a] = he(se(n, t, a));
|
200
200
|
return {
|
201
201
|
c() {
|
202
202
|
e = v("ul");
|
203
|
-
for (let
|
204
|
-
o[
|
203
|
+
for (let a = 0; a < o.length; a += 1)
|
204
|
+
o[a].c();
|
205
205
|
g(e, "class", "DropDown");
|
206
206
|
},
|
207
|
-
m(
|
208
|
-
|
207
|
+
m(a, l) {
|
208
|
+
D(a, e, l);
|
209
209
|
for (let r = 0; r < o.length; r += 1)
|
210
210
|
o[r] && o[r].m(e, null);
|
211
211
|
},
|
212
|
-
p(
|
212
|
+
p(a, l) {
|
213
213
|
if (l[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
214
214
|
10176) {
|
215
|
-
t =
|
215
|
+
t = j(
|
216
216
|
/*subGroupsData*/
|
217
|
-
|
217
|
+
a[10]
|
218
218
|
);
|
219
219
|
let r;
|
220
220
|
for (r = 0; r < t.length; r += 1) {
|
221
|
-
const s = se(
|
221
|
+
const s = se(a, t, r);
|
222
222
|
o[r] ? o[r].p(s, l) : (o[r] = he(s), o[r].c(), o[r].m(e, null));
|
223
223
|
}
|
224
224
|
for (; r < o.length; r += 1)
|
@@ -226,134 +226,134 @@ function ge(a) {
|
|
226
226
|
o.length = t.length;
|
227
227
|
}
|
228
228
|
},
|
229
|
-
d(
|
230
|
-
|
229
|
+
d(a) {
|
230
|
+
a && S(e), Ge(o, a);
|
231
231
|
}
|
232
232
|
};
|
233
233
|
}
|
234
|
-
function
|
234
|
+
function fe(n) {
|
235
235
|
let e, t, o = (
|
236
236
|
/*subGroupItem*/
|
237
|
-
|
238
|
-
),
|
239
|
-
function _(...
|
237
|
+
n[54]?.name + ""
|
238
|
+
), a, l, r, s, u;
|
239
|
+
function _(...f) {
|
240
240
|
return (
|
241
241
|
/*click_handler_1*/
|
242
|
-
|
242
|
+
n[33](
|
243
243
|
/*category*/
|
244
|
-
|
244
|
+
n[48],
|
245
245
|
/*index*/
|
246
|
-
|
246
|
+
n[50],
|
247
247
|
/*subGroupItem*/
|
248
|
-
|
248
|
+
n[54],
|
249
249
|
/*subindex*/
|
250
|
-
|
251
|
-
...
|
250
|
+
n[56],
|
251
|
+
...f
|
252
252
|
)
|
253
253
|
);
|
254
254
|
}
|
255
255
|
return {
|
256
256
|
c() {
|
257
|
-
e = v("li"), t = v("a"),
|
258
|
-
(
|
259
|
-
|
260
|
-
(
|
261
|
-
|
262
|
-
|
263
|
-
|
257
|
+
e = v("li"), t = v("a"), a = Z(o), r = R(), g(t, "class", l = "SubDropDown " + /*index*/
|
258
|
+
(n[50] == /*activeIndex*/
|
259
|
+
n[6] && /*activeSubIndex*/
|
260
|
+
(n[7] == /*subindex*/
|
261
|
+
n[56] || /*prevSubIndex*/
|
262
|
+
n[8] == /*subindex*/
|
263
|
+
n[56]) ? "active" : ""));
|
264
264
|
},
|
265
|
-
m(
|
266
|
-
|
265
|
+
m(f, y) {
|
266
|
+
D(f, e, y), p(e, t), p(t, a), p(e, r), s || (u = U(e, "click", _), s = !0);
|
267
267
|
},
|
268
|
-
p(
|
269
|
-
|
268
|
+
p(f, y) {
|
269
|
+
n = f, y[0] & /*subGroupsData*/
|
270
270
|
1024 && o !== (o = /*subGroupItem*/
|
271
|
-
|
271
|
+
n[54]?.name + "") && V(a, o), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
272
272
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
273
|
-
(
|
274
|
-
|
275
|
-
(
|
276
|
-
|
277
|
-
|
278
|
-
|
273
|
+
(n[50] == /*activeIndex*/
|
274
|
+
n[6] && /*activeSubIndex*/
|
275
|
+
(n[7] == /*subindex*/
|
276
|
+
n[56] || /*prevSubIndex*/
|
277
|
+
n[8] == /*subindex*/
|
278
|
+
n[56]) ? "active" : "")) && g(t, "class", l);
|
279
279
|
},
|
280
|
-
d(
|
281
|
-
|
280
|
+
d(f) {
|
281
|
+
f && S(e), s = !1, u();
|
282
282
|
}
|
283
283
|
};
|
284
284
|
}
|
285
|
-
function
|
286
|
-
let t, o,
|
285
|
+
function me(n, e) {
|
286
|
+
let t, o, a = (
|
287
287
|
/*index*/
|
288
288
|
e[50] == /*subGroup*/
|
289
|
-
e[51].index &&
|
289
|
+
e[51].index && fe(e)
|
290
290
|
);
|
291
291
|
return {
|
292
|
-
key:
|
292
|
+
key: n,
|
293
293
|
first: null,
|
294
294
|
c() {
|
295
|
-
t =
|
295
|
+
t = O(), a && a.c(), o = O(), this.first = t;
|
296
296
|
},
|
297
297
|
m(l, r) {
|
298
|
-
|
298
|
+
D(l, t, r), a && a.m(l, r), D(l, o, r);
|
299
299
|
},
|
300
300
|
p(l, r) {
|
301
301
|
e = l, /*index*/
|
302
302
|
e[50] == /*subGroup*/
|
303
|
-
e[51].index ?
|
303
|
+
e[51].index ? a ? a.p(e, r) : (a = fe(e), a.c(), a.m(o.parentNode, o)) : a && (a.d(1), a = null);
|
304
304
|
},
|
305
305
|
d(l) {
|
306
|
-
l && (
|
306
|
+
l && (S(t), S(o)), a && a.d(l);
|
307
307
|
}
|
308
308
|
};
|
309
309
|
}
|
310
|
-
function he(
|
311
|
-
let e = [], t = /* @__PURE__ */ new Map(), o,
|
310
|
+
function he(n) {
|
311
|
+
let e = [], t = /* @__PURE__ */ new Map(), o, a = j(
|
312
312
|
/*subGroup*/
|
313
|
-
|
313
|
+
n[51].items
|
314
314
|
);
|
315
315
|
const l = (r) => (
|
316
316
|
/*subGroupItem*/
|
317
317
|
r[54].id
|
318
318
|
);
|
319
|
-
for (let r = 0; r <
|
320
|
-
let s = ce(
|
321
|
-
t.set(u, e[r] =
|
319
|
+
for (let r = 0; r < a.length; r += 1) {
|
320
|
+
let s = ce(n, a, r), u = l(s);
|
321
|
+
t.set(u, e[r] = me(u, s));
|
322
322
|
}
|
323
323
|
return {
|
324
324
|
c() {
|
325
325
|
for (let r = 0; r < e.length; r += 1)
|
326
326
|
e[r].c();
|
327
|
-
o =
|
327
|
+
o = O();
|
328
328
|
},
|
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
|
-
10176 && (
|
336
|
+
10176 && (a = j(
|
337
337
|
/*subGroup*/
|
338
338
|
r[51].items
|
339
|
-
), e = pe(e, s, l, 1, r,
|
339
|
+
), e = pe(e, s, l, 1, r, a, t, o.parentNode, ye, me, o, ce));
|
340
340
|
},
|
341
341
|
d(r) {
|
342
|
-
r &&
|
342
|
+
r && S(o);
|
343
343
|
for (let s = 0; s < e.length; s += 1)
|
344
344
|
e[s].d(r);
|
345
345
|
}
|
346
346
|
};
|
347
347
|
}
|
348
|
-
function Ce(
|
349
|
-
let t, o,
|
348
|
+
function Ce(n, e) {
|
349
|
+
let t, o, a, l, r, s, u, _, f, y, k;
|
350
350
|
function L(h, F) {
|
351
351
|
return (
|
352
352
|
/*location*/
|
353
353
|
h[0] === "headerMain" ? Qe : Je
|
354
354
|
);
|
355
355
|
}
|
356
|
-
let I = L(e),
|
356
|
+
let I = L(e), m = I(e), c = (
|
357
357
|
/*itemsActive*/
|
358
358
|
e[11][
|
359
359
|
/*index*/
|
@@ -373,15 +373,15 @@ function Ce(a, e) {
|
|
373
373
|
);
|
374
374
|
}
|
375
375
|
return {
|
376
|
-
key:
|
376
|
+
key: n,
|
377
377
|
first: null,
|
378
378
|
c() {
|
379
|
-
t = v("li"), o = v("div"),
|
380
|
-
(e[3] === "true" ? "" : "DisplayNone")), ie(
|
379
|
+
t = v("li"), o = v("div"), a = v("img"), s = R(), m.c(), u = R(), c && c.c(), _ = R(), g(a, "class", l = "CategoryIconImg " + /*categoriesicon*/
|
380
|
+
(e[3] === "true" ? "" : "DisplayNone")), ie(a.src, r = /*handleSrc*/
|
381
381
|
e[16](
|
382
382
|
/*category*/
|
383
383
|
e[48]
|
384
|
-
)) || g(
|
384
|
+
)) || g(a, "src", r), g(o, "class", "CategoryIcon"), g(t, "class", f = "CarouselItem " + /*activeindex*/
|
385
385
|
(e[1]?.toString().indexOf("$") > -1 ? (
|
386
386
|
/*activeindex*/
|
387
387
|
e[1]?.split("$").pop() == /*category*/
|
@@ -394,22 +394,22 @@ function Ce(a, e) {
|
|
394
394
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
395
395
|
},
|
396
396
|
m(h, F) {
|
397
|
-
|
397
|
+
D(h, t, F), p(t, o), p(o, a), p(t, s), m.m(t, null), p(t, u), c && c.m(t, null), p(t, _), y || (k = U(t, "click", w), y = !0);
|
398
398
|
},
|
399
399
|
p(h, F) {
|
400
400
|
e = h, F[0] & /*categoriesicon*/
|
401
401
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
402
|
-
(e[3] === "true" ? "" : "DisplayNone")) && g(
|
403
|
-
512 && !ie(
|
402
|
+
(e[3] === "true" ? "" : "DisplayNone")) && g(a, "class", l), F[0] & /*sliderdata*/
|
403
|
+
512 && !ie(a.src, r = /*handleSrc*/
|
404
404
|
e[16](
|
405
405
|
/*category*/
|
406
406
|
e[48]
|
407
|
-
)) && g(
|
407
|
+
)) && g(a, "src", r), I === (I = L(e)) && m ? m.p(e, F) : (m.d(1), m = I(e), m && (m.c(), m.m(t, u))), /*itemsActive*/
|
408
408
|
e[11][
|
409
409
|
/*index*/
|
410
410
|
e[50]
|
411
411
|
] == !0 ? c ? c.p(e, F) : (c = de(e), c.c(), c.m(t, _)) : c && (c.d(1), c = null), F[0] & /*activeindex, sliderdata, location*/
|
412
|
-
515 &&
|
412
|
+
515 && f !== (f = "CarouselItem " + /*activeindex*/
|
413
413
|
(e[1]?.toString().indexOf("$") > -1 ? (
|
414
414
|
/*activeindex*/
|
415
415
|
e[1]?.split("$").pop() == /*category*/
|
@@ -419,38 +419,38 @@ function Ce(a, e) {
|
|
419
419
|
e[1] == /*category*/
|
420
420
|
e[48].id ? "active" : ""
|
421
421
|
)) + " " + /*location*/
|
422
|
-
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class",
|
422
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", f);
|
423
423
|
},
|
424
424
|
d(h) {
|
425
|
-
h &&
|
425
|
+
h && S(t), m.d(), c && c.d(), y = !1, k();
|
426
426
|
}
|
427
427
|
};
|
428
428
|
}
|
429
|
-
function Ve(
|
430
|
-
let e, t, o,
|
429
|
+
function Ve(n) {
|
430
|
+
let e, t, o, a, l, r, s, u, _, f, y, k, L, I, m, c = (
|
431
431
|
/*sliderdata*/
|
432
|
-
|
432
|
+
n[9].length > 0 && ue(n)
|
433
433
|
);
|
434
434
|
return {
|
435
435
|
c() {
|
436
|
-
e = v("div"), t = v("div"), o = v("div"), o.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',
|
437
|
-
|
438
|
-
|
439
|
-
(
|
436
|
+
e = v("div"), t = v("div"), o = v("div"), o.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = R(), l = v("div"), r = v("ul"), s = v("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = R(), c && c.c(), _ = R(), f = v("div"), f.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(f, "class", "CarouselRightArrow"), g(t, "class", y = `CarouselContainer CarouselContainerMobile ${/*location*/
|
437
|
+
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", k = /*location*/
|
438
|
+
n[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", L = "CarouselWrapper " + /*location*/
|
439
|
+
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
440
440
|
},
|
441
441
|
m(w, h) {
|
442
|
-
|
442
|
+
D(w, e, h), p(e, t), p(t, o), p(t, a), p(t, l), p(l, r), p(r, s), p(r, u), c && c.m(r, null), n[35](r), n[36](l), p(t, _), p(t, f), n[38](e), I || (m = [
|
443
443
|
U(
|
444
444
|
o,
|
445
445
|
"click",
|
446
446
|
/*click_handler*/
|
447
|
-
|
447
|
+
n[32]
|
448
448
|
),
|
449
449
|
U(
|
450
|
-
|
450
|
+
f,
|
451
451
|
"click",
|
452
452
|
/*click_handler_3*/
|
453
|
-
|
453
|
+
n[37]
|
454
454
|
)
|
455
455
|
], I = !0);
|
456
456
|
},
|
@@ -467,28 +467,28 @@ function Ve(a) {
|
|
467
467
|
i: oe,
|
468
468
|
o: oe,
|
469
469
|
d(w) {
|
470
|
-
w &&
|
470
|
+
w && S(e), c && c.d(), n[35](null), n[36](null), n[38](null), I = !1, Oe(m);
|
471
471
|
}
|
472
472
|
};
|
473
473
|
}
|
474
|
-
function Ze(
|
475
|
-
let { endpoint: o = "" } = e, { datasource:
|
474
|
+
function Ze(n, e, t) {
|
475
|
+
let { endpoint: o = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: f = "" } = e, { identity: y = "" } = e, { translationurl: k = "" } = e, { isprimarymenu: L = !1 } = e, { issecondarymenu: I = !1 } = e, { lang: m = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: w = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: F = "" } = e, { mygamesiconimage: P = "" } = e, { mbsource: x = "" } = e;
|
476
476
|
Pe({ withLocale: "en", translations: {} });
|
477
477
|
const we = () => {
|
478
478
|
fetch(k).then((d) => d.json()).then((d) => {
|
479
479
|
Object.keys(d).forEach((M) => {
|
480
|
-
|
480
|
+
ne(M, d[M]);
|
481
481
|
});
|
482
482
|
}).catch((d) => {
|
483
483
|
console.log(d);
|
484
484
|
});
|
485
485
|
};
|
486
|
-
Object.keys(
|
487
|
-
|
486
|
+
Object.keys(ae).forEach((i) => {
|
487
|
+
ne(i, ae[i]);
|
488
488
|
});
|
489
|
-
let T,
|
489
|
+
let T, H, W, K, A, z = [], G = [], B = [], b, X = (i, d, M, N, E) => {
|
490
490
|
if (!(i.subGroups && N === null)) {
|
491
|
-
if (q(), t(6,
|
491
|
+
if (q(), t(6, H = d), t(6, H), E != "secondary") {
|
492
492
|
window.postMessage(
|
493
493
|
{
|
494
494
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
@@ -501,10 +501,10 @@ 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, W = null), t(8, K = null);
|
505
505
|
return;
|
506
506
|
}
|
507
|
-
t(7,
|
507
|
+
t(7, W = N), t(7, W), t(8, K = W), window.postMessage(
|
508
508
|
{
|
509
509
|
type: r,
|
510
510
|
itemId: M.id,
|
@@ -515,21 +515,21 @@ function Ze(a, e, t) {
|
|
515
515
|
);
|
516
516
|
}
|
517
517
|
}, $ = () => {
|
518
|
-
b && (
|
518
|
+
b && (B.length !== H ? t(12, b.scrollLeft -= 250, b) : t(12, b.scrollLeft = 0, b));
|
519
519
|
}, ee = () => {
|
520
|
-
b && (
|
520
|
+
b && (B.length !== H ? 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, z = i.data.data), t(11, B = new Array(z.length).fill(!1)), w == "true" && _e()), i.data.type == "GoToHomepage" && z.forEach((d, M) => {
|
524
|
+
d.path.endsWith("/casino") && (t(6, H = M), t(6, H));
|
525
525
|
});
|
526
526
|
}, be = () => {
|
527
|
-
Ke(
|
527
|
+
Ke(m);
|
528
528
|
}, ve = (i, d, M) => {
|
529
|
-
if (u == "secondaryMenu" && o &&
|
530
|
-
let N = new URL(`${o}/v1/casino/groups/${
|
531
|
-
fetch(N.href).then((
|
532
|
-
|
529
|
+
if (u == "secondaryMenu" && o && a && m && i.id) {
|
530
|
+
let N = new URL(`${o}/v1/casino/groups/${a}/${i.id}/subGroups?language=${m}`);
|
531
|
+
fetch(N.href).then((E) => E.json()).then((E) => {
|
532
|
+
E.index = d, t(10, G = G.concat(E)), w == "false" && window.postMessage(
|
533
533
|
{
|
534
534
|
type: r,
|
535
535
|
itemId: i.id,
|
@@ -539,8 +539,8 @@ function Ze(a, e, t) {
|
|
539
539
|
window.location.href
|
540
540
|
);
|
541
541
|
const Y = [];
|
542
|
-
|
543
|
-
Y.find((
|
542
|
+
G.map((Ee) => (Ee.items.forEach((re) => {
|
543
|
+
Y.find((He) => re.id == He) || Y.push(re.id);
|
544
544
|
}), Y.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Y }, window.location.href);
|
545
545
|
}).then(() => {
|
546
546
|
T.querySelectorAll(".DropDown") && q();
|
@@ -554,8 +554,8 @@ function Ze(a, e, t) {
|
|
554
554
|
i[d].style.transform = "translateX(-" + b.scrollLeft + "px)";
|
555
555
|
b.classList.remove("isScrolling");
|
556
556
|
}, _e = () => {
|
557
|
-
|
558
|
-
i?.subGroups?.count > 0 && (t(11,
|
557
|
+
z.forEach((i, d) => {
|
558
|
+
i?.subGroups?.count > 0 && (t(11, B[d] = !0, B), ve(i, d));
|
559
559
|
});
|
560
560
|
}, ke = (i) => {
|
561
561
|
let d = "";
|
@@ -569,17 +569,17 @@ function Ze(a, e, t) {
|
|
569
569
|
), window.postMessage({ type: "SliderLoaded", identity: y }), () => {
|
570
570
|
window.removeEventListener("message", te), T.removeEventListener("scroll", q);
|
571
571
|
}));
|
572
|
-
const Fe = () => $(), Me = (i, d, M, N,
|
573
|
-
X(i, d, M, N, "secondary"),
|
572
|
+
const Fe = () => $(), Me = (i, d, M, N, E) => {
|
573
|
+
X(i, d, M, N, "secondary"), E.stopPropagation();
|
574
574
|
}, Ie = (i, d, M) => {
|
575
575
|
X(i, d, null, null, "main"), M.preventDefault();
|
576
576
|
};
|
577
|
-
function
|
577
|
+
function Se(i) {
|
578
578
|
J[i ? "unshift" : "push"](() => {
|
579
579
|
T = i, t(5, T);
|
580
580
|
});
|
581
581
|
}
|
582
|
-
function
|
582
|
+
function De(i) {
|
583
583
|
J[i ? "unshift" : "push"](() => {
|
584
584
|
b = i, t(12, b);
|
585
585
|
});
|
@@ -590,17 +590,17 @@ function Ze(a, e, t) {
|
|
590
590
|
A = i, t(4, A);
|
591
591
|
});
|
592
592
|
}
|
593
|
-
return
|
594
|
-
"endpoint" in i && t(17, o = i.endpoint), "datasource" in i && t(18,
|
595
|
-
},
|
596
|
-
|
597
|
-
2,
|
598
|
-
33554432 && k && we(),
|
599
|
-
4194320 && _ && A && qe(A, _),
|
600
|
-
8388624 &&
|
601
|
-
16 |
|
602
|
-
1 && x && A && Ue(A, `${x}.Style`),
|
603
|
-
268435456 &&
|
593
|
+
return n.$$set = (i) => {
|
594
|
+
"endpoint" in i && t(17, o = i.endpoint), "datasource" in i && t(18, a = i.datasource), "onclickeventname" in i && t(19, l = i.onclickeventname), "actionevent" in i && t(20, r = i.actionevent), "favoritesnumber" in i && t(21, s = i.favoritesnumber), "location" in i && t(0, u = i.location), "clientstyling" in i && t(22, _ = i.clientstyling), "clientstylingurl" in i && t(23, f = i.clientstylingurl), "identity" in i && t(24, y = i.identity), "translationurl" in i && t(25, k = i.translationurl), "isprimarymenu" in i && t(26, L = i.isprimarymenu), "issecondarymenu" in i && t(27, I = i.issecondarymenu), "lang" in i && t(28, m = i.lang), "activeindex" in i && t(1, c = i.activeindex), "showsubgroups" in i && t(2, w = i.showsubgroups), "categoriesicon" in i && t(3, h = i.categoriesicon), "lobbyiconimage" in i && t(29, F = i.lobbyiconimage), "mygamesiconimage" in i && t(30, P = i.mygamesiconimage), "mbsource" in i && t(31, x = i.mbsource);
|
595
|
+
}, n.$$.update = () => {
|
596
|
+
n.$$.dirty[0] & /*activeindex*/
|
597
|
+
2, n.$$.dirty[0] & /*translationurl*/
|
598
|
+
33554432 && k && we(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
599
|
+
4194320 && _ && A && qe(A, _), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
600
|
+
8388624 && f && A && Ye(A, f), n.$$.dirty[0] & /*customStylingContainer*/
|
601
|
+
16 | n.$$.dirty[1] & /*mbsource*/
|
602
|
+
1 && x && A && Ue(A, `${x}.Style`), n.$$.dirty[0] & /*lang*/
|
603
|
+
268435456 && m && be();
|
604
604
|
}, [
|
605
605
|
u,
|
606
606
|
c,
|
@@ -608,49 +608,49 @@ function Ze(a, e, t) {
|
|
608
608
|
h,
|
609
609
|
A,
|
610
610
|
T,
|
611
|
-
|
612
|
-
|
611
|
+
H,
|
612
|
+
W,
|
613
613
|
K,
|
614
|
-
|
614
|
+
z,
|
615
|
+
G,
|
615
616
|
B,
|
616
|
-
j,
|
617
617
|
b,
|
618
618
|
X,
|
619
619
|
$,
|
620
620
|
ee,
|
621
621
|
ke,
|
622
622
|
o,
|
623
|
-
|
623
|
+
a,
|
624
624
|
l,
|
625
625
|
r,
|
626
626
|
s,
|
627
627
|
_,
|
628
|
-
|
628
|
+
f,
|
629
629
|
y,
|
630
630
|
k,
|
631
631
|
L,
|
632
632
|
I,
|
633
|
-
|
633
|
+
m,
|
634
634
|
F,
|
635
635
|
P,
|
636
636
|
x,
|
637
637
|
Fe,
|
638
638
|
Me,
|
639
639
|
Ie,
|
640
|
-
De,
|
641
640
|
Se,
|
641
|
+
De,
|
642
642
|
Le,
|
643
643
|
Ae
|
644
644
|
];
|
645
645
|
}
|
646
646
|
class $e extends Te {
|
647
647
|
constructor(e) {
|
648
|
-
super(),
|
648
|
+
super(), Be(
|
649
649
|
this,
|
650
650
|
e,
|
651
651
|
Ze,
|
652
652
|
Ve,
|
653
|
-
|
653
|
+
je,
|
654
654
|
{
|
655
655
|
endpoint: 17,
|
656
656
|
datasource: 18,
|
@@ -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
|
};
|