@everymatrix/casino-header-controller 1.50.1 → 1.51.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-BCpMAPAe.js → CasinoHamburgerMenu-1MgwMavL.js} +3 -0
- package/components/{CasinoHamburgerMenu-vpzEIIT_.cjs → CasinoHamburgerMenu-CX83WE31.cjs} +1 -1
- package/components/{CasinoHeaderController-Bqi-X-8L.cjs → CasinoHeaderController-B-WU2bPf.cjs} +5 -5
- package/components/{CasinoHeaderController-CsLzZTan.js → CasinoHeaderController-Bv6EXaHk.js} +11 -5
- package/components/{CasinoSlider-DJSVy9ND.js → CasinoSlider-DonAdyJx.js} +202 -197
- package/components/CasinoSlider-DsD-Fhk7.cjs +1 -0
- package/components/{PlayerAccountBalanceModal-Ck5Xpx4C.js → PlayerAccountBalanceModal-CwDfcNRi.js} +96 -85
- package/components/{PlayerAccountBalanceModal-YLBXGRdn.cjs → PlayerAccountBalanceModal-D_BA3ijd.cjs} +5 -5
- package/components/{PlayerDeposit-DJ0jHpbl.cjs → PlayerDeposit-C2Ku0XLf.cjs} +1 -1
- package/components/{PlayerDeposit-DWYXaqBZ.js → PlayerDeposit-Dstpbsls.js} +1 -1
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSlider-CnDv74QC.cjs +0 -1
@@ -1,16 +1,16 @@
|
|
1
|
-
import { $ as Q, a as
|
2
|
-
function Ye({ withLocale:
|
1
|
+
import { $ as Q, a as Ne, b as Te, S as je, i as We, f as y, c as ze, s as Be, d as Oe, g as k, e as N, u as g, j as D, v as p, w as P, n as oe, k as S, z as Ge, o as xe, r as W, B as G, J as pe, F as ie, p as X, K as we, y as Ue, t as V, x as Z } from "./CasinoHamburgerMenu-1MgwMavL.js";
|
2
|
+
function Ye({ withLocale: n, translations: e }) {
|
3
3
|
Q.subscribe((t) => {
|
4
|
-
t == null && (
|
4
|
+
t == null && (Ne.set(e), Q.set(n));
|
5
5
|
});
|
6
6
|
}
|
7
|
-
function
|
8
|
-
Te(
|
7
|
+
function ne(n, e) {
|
8
|
+
Te(n, e);
|
9
9
|
}
|
10
|
-
function qe(
|
11
|
-
Q.set(
|
10
|
+
function qe(n) {
|
11
|
+
Q.set(n);
|
12
12
|
}
|
13
|
-
const
|
13
|
+
const ae = {
|
14
14
|
en: {
|
15
15
|
login: "Login",
|
16
16
|
register: "Register",
|
@@ -60,294 +60,299 @@ const ie = {
|
|
60
60
|
login: "Entrar",
|
61
61
|
register: "Registro",
|
62
62
|
deposit: "Depósito"
|
63
|
+
},
|
64
|
+
"en-us": {
|
65
|
+
login: "Login",
|
66
|
+
register: "Register",
|
67
|
+
deposit: "Deposit"
|
63
68
|
}
|
64
69
|
};
|
65
|
-
function Pe(
|
66
|
-
Oe(
|
70
|
+
function Pe(n) {
|
71
|
+
Oe(n, "svelte-1lgwoo3", '*,*::before,*::after{margin:0;padding:0;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}');
|
67
72
|
}
|
68
|
-
function le(
|
69
|
-
const
|
70
|
-
return
|
73
|
+
function le(n, e, t) {
|
74
|
+
const i = n.slice();
|
75
|
+
return i[49] = e[t], i[51] = t, i;
|
71
76
|
}
|
72
|
-
function se(
|
73
|
-
const
|
74
|
-
return
|
77
|
+
function se(n, e, t) {
|
78
|
+
const i = n.slice();
|
79
|
+
return i[52] = e[t], i;
|
75
80
|
}
|
76
|
-
function ce(
|
77
|
-
const
|
78
|
-
return
|
81
|
+
function ce(n, e, t) {
|
82
|
+
const i = n.slice();
|
83
|
+
return i[55] = e[t], i[57] = t, i;
|
79
84
|
}
|
80
|
-
function ue(
|
81
|
-
let e = [], t = /* @__PURE__ */ new Map(),
|
85
|
+
function ue(n) {
|
86
|
+
let e = [], t = /* @__PURE__ */ new Map(), i, a = W(
|
82
87
|
/*sliderdata*/
|
83
|
-
|
88
|
+
n[9]
|
84
89
|
);
|
85
90
|
const l = (r) => (
|
86
91
|
/*category*/
|
87
92
|
r[49].id
|
88
93
|
);
|
89
|
-
for (let r = 0; r <
|
90
|
-
let s = le(
|
94
|
+
for (let r = 0; r < a.length; r += 1) {
|
95
|
+
let s = le(n, a, r), d = l(s);
|
91
96
|
t.set(d, e[r] = Ce(d, s));
|
92
97
|
}
|
93
98
|
return {
|
94
99
|
c() {
|
95
100
|
for (let r = 0; r < e.length; r += 1)
|
96
101
|
e[r].c();
|
97
|
-
|
102
|
+
i = G();
|
98
103
|
},
|
99
104
|
m(r, s) {
|
100
105
|
for (let d = 0; d < e.length; d += 1)
|
101
106
|
e[d] && e[d].m(r, s);
|
102
|
-
D(r,
|
107
|
+
D(r, i, s);
|
103
108
|
},
|
104
109
|
p(r, s) {
|
105
110
|
s[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
|
106
|
-
77775 && (
|
111
|
+
77775 && (a = W(
|
107
112
|
/*sliderdata*/
|
108
113
|
r[9]
|
109
|
-
), e = pe(e, s, l, 1, r,
|
114
|
+
), e = pe(e, s, l, 1, r, a, t, i.parentNode, we, Ce, i, le));
|
110
115
|
},
|
111
116
|
d(r) {
|
112
|
-
r && S(
|
117
|
+
r && S(i);
|
113
118
|
for (let s = 0; s < e.length; s += 1)
|
114
119
|
e[s].d(r);
|
115
120
|
}
|
116
121
|
};
|
117
122
|
}
|
118
|
-
function Ke(
|
123
|
+
function Ke(n) {
|
119
124
|
let e, t = (
|
120
125
|
/*category*/
|
121
|
-
|
122
|
-
),
|
126
|
+
n[49].name + ""
|
127
|
+
), i;
|
123
128
|
return {
|
124
129
|
c() {
|
125
|
-
e = k("button"),
|
130
|
+
e = k("button"), i = V(t), g(e, "class", "CategoryButton");
|
126
131
|
},
|
127
|
-
m(
|
128
|
-
D(
|
132
|
+
m(a, l) {
|
133
|
+
D(a, e, l), p(e, i);
|
129
134
|
},
|
130
|
-
p(
|
135
|
+
p(a, l) {
|
131
136
|
l[0] & /*sliderdata*/
|
132
137
|
512 && t !== (t = /*category*/
|
133
|
-
|
138
|
+
a[49].name + "") && Z(i, t);
|
134
139
|
},
|
135
|
-
d(
|
136
|
-
|
140
|
+
d(a) {
|
141
|
+
a && S(e);
|
137
142
|
}
|
138
143
|
};
|
139
144
|
}
|
140
|
-
function Je(
|
145
|
+
function Je(n) {
|
141
146
|
let e, t = (
|
142
147
|
/*category*/
|
143
|
-
|
144
|
-
),
|
148
|
+
n[49].label + ""
|
149
|
+
), i, a;
|
145
150
|
return {
|
146
151
|
c() {
|
147
|
-
e = k("a"),
|
148
|
-
|
152
|
+
e = k("a"), i = V(t), g(e, "href", a = /*category*/
|
153
|
+
n[49].path);
|
149
154
|
},
|
150
155
|
m(l, r) {
|
151
|
-
D(l, e, r), p(e,
|
156
|
+
D(l, e, r), p(e, i);
|
152
157
|
},
|
153
158
|
p(l, r) {
|
154
159
|
r[0] & /*sliderdata*/
|
155
160
|
512 && t !== (t = /*category*/
|
156
|
-
l[49].label + "") && Z(
|
157
|
-
512 &&
|
158
|
-
l[49].path) &&
|
161
|
+
l[49].label + "") && Z(i, t), r[0] & /*sliderdata*/
|
162
|
+
512 && a !== (a = /*category*/
|
163
|
+
l[49].path) && g(e, "href", a);
|
159
164
|
},
|
160
165
|
d(l) {
|
161
166
|
l && S(e);
|
162
167
|
}
|
163
168
|
};
|
164
169
|
}
|
165
|
-
function de(
|
170
|
+
function de(n) {
|
166
171
|
let e, t = (
|
167
172
|
/*subGroupsData*/
|
168
|
-
|
169
|
-
|
173
|
+
n[10].length > 0 && /*showsubgroups*/
|
174
|
+
n[2] == "true" && ge(n)
|
170
175
|
);
|
171
176
|
return {
|
172
177
|
c() {
|
173
178
|
t && t.c(), e = G();
|
174
179
|
},
|
175
|
-
m(
|
176
|
-
t && t.m(
|
180
|
+
m(i, a) {
|
181
|
+
t && t.m(i, a), D(i, e, a);
|
177
182
|
},
|
178
|
-
p(
|
183
|
+
p(i, a) {
|
179
184
|
/*subGroupsData*/
|
180
|
-
|
181
|
-
|
185
|
+
i[10].length > 0 && /*showsubgroups*/
|
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);
|
182
187
|
},
|
183
|
-
d(
|
184
|
-
|
188
|
+
d(i) {
|
189
|
+
i && S(e), t && t.d(i);
|
185
190
|
}
|
186
191
|
};
|
187
192
|
}
|
188
|
-
function
|
193
|
+
function ge(n) {
|
189
194
|
let e, t = W(
|
190
195
|
/*subGroupsData*/
|
191
|
-
|
192
|
-
),
|
193
|
-
for (let
|
194
|
-
|
196
|
+
n[10]
|
197
|
+
), i = [];
|
198
|
+
for (let a = 0; a < t.length; a += 1)
|
199
|
+
i[a] = he(se(n, t, a));
|
195
200
|
return {
|
196
201
|
c() {
|
197
202
|
e = k("ul");
|
198
|
-
for (let
|
199
|
-
|
200
|
-
|
203
|
+
for (let a = 0; a < i.length; a += 1)
|
204
|
+
i[a].c();
|
205
|
+
g(e, "class", "DropDown");
|
201
206
|
},
|
202
|
-
m(
|
203
|
-
D(
|
204
|
-
for (let r = 0; r <
|
205
|
-
|
207
|
+
m(a, l) {
|
208
|
+
D(a, e, l);
|
209
|
+
for (let r = 0; r < i.length; r += 1)
|
210
|
+
i[r] && i[r].m(e, null);
|
206
211
|
},
|
207
|
-
p(
|
212
|
+
p(a, l) {
|
208
213
|
if (l[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
|
209
214
|
10176) {
|
210
215
|
t = W(
|
211
216
|
/*subGroupsData*/
|
212
|
-
|
217
|
+
a[10]
|
213
218
|
);
|
214
219
|
let r;
|
215
220
|
for (r = 0; r < t.length; r += 1) {
|
216
|
-
const s = se(
|
217
|
-
|
221
|
+
const s = se(a, t, r);
|
222
|
+
i[r] ? i[r].p(s, l) : (i[r] = he(s), i[r].c(), i[r].m(e, null));
|
218
223
|
}
|
219
|
-
for (; r <
|
220
|
-
|
221
|
-
|
224
|
+
for (; r < i.length; r += 1)
|
225
|
+
i[r].d(1);
|
226
|
+
i.length = t.length;
|
222
227
|
}
|
223
228
|
},
|
224
|
-
d(
|
225
|
-
|
229
|
+
d(a) {
|
230
|
+
a && S(e), Ue(i, a);
|
226
231
|
}
|
227
232
|
};
|
228
233
|
}
|
229
|
-
function
|
234
|
+
function fe(n) {
|
230
235
|
var w;
|
231
|
-
let e, t,
|
236
|
+
let e, t, i = (
|
232
237
|
/*subGroupItem*/
|
233
|
-
((w =
|
234
|
-
),
|
235
|
-
function F(...
|
238
|
+
((w = n[55]) == null ? void 0 : w.name) + ""
|
239
|
+
), a, l, r, s, d;
|
240
|
+
function F(...m) {
|
236
241
|
return (
|
237
242
|
/*click_handler_1*/
|
238
|
-
|
243
|
+
n[32](
|
239
244
|
/*category*/
|
240
|
-
|
245
|
+
n[49],
|
241
246
|
/*index*/
|
242
|
-
|
247
|
+
n[51],
|
243
248
|
/*subGroupItem*/
|
244
|
-
|
249
|
+
n[55],
|
245
250
|
/*subindex*/
|
246
|
-
|
247
|
-
...
|
251
|
+
n[57],
|
252
|
+
...m
|
248
253
|
)
|
249
254
|
);
|
250
255
|
}
|
251
256
|
return {
|
252
257
|
c() {
|
253
|
-
e = k("li"), t = k("a"),
|
254
|
-
(
|
255
|
-
|
256
|
-
(
|
257
|
-
|
258
|
-
|
259
|
-
|
258
|
+
e = k("li"), t = k("a"), a = V(i), r = N(), g(t, "class", l = "SubDropDown " + /*index*/
|
259
|
+
(n[51] == /*activeIndex*/
|
260
|
+
n[6] && /*activeSubIndex*/
|
261
|
+
(n[7] == /*subindex*/
|
262
|
+
n[57] || /*prevSubIndex*/
|
263
|
+
n[8] == /*subindex*/
|
264
|
+
n[57]) ? "active" : ""));
|
260
265
|
},
|
261
|
-
m(
|
262
|
-
D(
|
266
|
+
m(m, v) {
|
267
|
+
D(m, e, v), p(e, t), p(t, a), p(e, r), s || (d = P(e, "click", F), s = !0);
|
263
268
|
},
|
264
|
-
p(
|
269
|
+
p(m, v) {
|
265
270
|
var M;
|
266
|
-
|
267
|
-
1024 &&
|
268
|
-
((M =
|
271
|
+
n = m, v[0] & /*subGroupsData*/
|
272
|
+
1024 && i !== (i = /*subGroupItem*/
|
273
|
+
((M = n[55]) == null ? void 0 : M.name) + "") && Z(a, i), v[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
|
269
274
|
1984 && l !== (l = "SubDropDown " + /*index*/
|
270
|
-
(
|
271
|
-
|
272
|
-
(
|
273
|
-
|
274
|
-
|
275
|
-
|
275
|
+
(n[51] == /*activeIndex*/
|
276
|
+
n[6] && /*activeSubIndex*/
|
277
|
+
(n[7] == /*subindex*/
|
278
|
+
n[57] || /*prevSubIndex*/
|
279
|
+
n[8] == /*subindex*/
|
280
|
+
n[57]) ? "active" : "")) && g(t, "class", l);
|
276
281
|
},
|
277
|
-
d(
|
278
|
-
|
282
|
+
d(m) {
|
283
|
+
m && S(e), s = !1, d();
|
279
284
|
}
|
280
285
|
};
|
281
286
|
}
|
282
|
-
function
|
283
|
-
let t,
|
287
|
+
function me(n, e) {
|
288
|
+
let t, i, a = (
|
284
289
|
/*index*/
|
285
290
|
e[51] == /*subGroup*/
|
286
|
-
e[52].index &&
|
291
|
+
e[52].index && fe(e)
|
287
292
|
);
|
288
293
|
return {
|
289
|
-
key:
|
294
|
+
key: n,
|
290
295
|
first: null,
|
291
296
|
c() {
|
292
|
-
t = G(),
|
297
|
+
t = G(), a && a.c(), i = G(), this.first = t;
|
293
298
|
},
|
294
299
|
m(l, r) {
|
295
|
-
D(l, t, r),
|
300
|
+
D(l, t, r), a && a.m(l, r), D(l, i, r);
|
296
301
|
},
|
297
302
|
p(l, r) {
|
298
303
|
e = l, /*index*/
|
299
304
|
e[51] == /*subGroup*/
|
300
|
-
e[52].index ?
|
305
|
+
e[52].index ? a ? a.p(e, r) : (a = fe(e), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
|
301
306
|
},
|
302
307
|
d(l) {
|
303
|
-
l && (S(t), S(
|
308
|
+
l && (S(t), S(i)), a && a.d(l);
|
304
309
|
}
|
305
310
|
};
|
306
311
|
}
|
307
|
-
function he(
|
308
|
-
let e = [], t = /* @__PURE__ */ new Map(),
|
312
|
+
function he(n) {
|
313
|
+
let e = [], t = /* @__PURE__ */ new Map(), i, a = W(
|
309
314
|
/*subGroup*/
|
310
|
-
|
315
|
+
n[52].items
|
311
316
|
);
|
312
317
|
const l = (r) => (
|
313
318
|
/*subGroupItem*/
|
314
319
|
r[55].id
|
315
320
|
);
|
316
|
-
for (let r = 0; r <
|
317
|
-
let s = ce(
|
318
|
-
t.set(d, e[r] =
|
321
|
+
for (let r = 0; r < a.length; r += 1) {
|
322
|
+
let s = ce(n, a, r), d = l(s);
|
323
|
+
t.set(d, e[r] = me(d, s));
|
319
324
|
}
|
320
325
|
return {
|
321
326
|
c() {
|
322
327
|
for (let r = 0; r < e.length; r += 1)
|
323
328
|
e[r].c();
|
324
|
-
|
329
|
+
i = G();
|
325
330
|
},
|
326
331
|
m(r, s) {
|
327
332
|
for (let d = 0; d < e.length; d += 1)
|
328
333
|
e[d] && e[d].m(r, s);
|
329
|
-
D(r,
|
334
|
+
D(r, i, s);
|
330
335
|
},
|
331
336
|
p(r, s) {
|
332
337
|
s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
|
333
|
-
10176 && (
|
338
|
+
10176 && (a = W(
|
334
339
|
/*subGroup*/
|
335
340
|
r[52].items
|
336
|
-
), e = pe(e, s, l, 1, r,
|
341
|
+
), e = pe(e, s, l, 1, r, a, t, i.parentNode, we, me, i, ce));
|
337
342
|
},
|
338
343
|
d(r) {
|
339
|
-
r && S(
|
344
|
+
r && S(i);
|
340
345
|
for (let s = 0; s < e.length; s += 1)
|
341
346
|
e[s].d(r);
|
342
347
|
}
|
343
348
|
};
|
344
349
|
}
|
345
|
-
function Ce(
|
346
|
-
let t,
|
347
|
-
function M(
|
350
|
+
function Ce(n, e) {
|
351
|
+
let t, i, a, l, r, s, d, F, w, m, v;
|
352
|
+
function M(f, _) {
|
348
353
|
return (
|
349
354
|
/*location*/
|
350
|
-
|
355
|
+
f[0] === "headerMain" ? Je : Ke
|
351
356
|
);
|
352
357
|
}
|
353
358
|
let I = M(e), h = I(e), c = (
|
@@ -357,7 +362,7 @@ function Ce(a, e) {
|
|
357
362
|
e[51]
|
358
363
|
] == !0 && de(e)
|
359
364
|
);
|
360
|
-
function b(...
|
365
|
+
function b(...f) {
|
361
366
|
return (
|
362
367
|
/*click_handler_2*/
|
363
368
|
e[33](
|
@@ -365,22 +370,22 @@ function Ce(a, e) {
|
|
365
370
|
e[49],
|
366
371
|
/*index*/
|
367
372
|
e[51],
|
368
|
-
...
|
373
|
+
...f
|
369
374
|
)
|
370
375
|
);
|
371
376
|
}
|
372
377
|
return {
|
373
|
-
key:
|
378
|
+
key: n,
|
374
379
|
first: null,
|
375
380
|
c() {
|
376
|
-
var
|
377
|
-
t = k("li"),
|
378
|
-
(e[3] === "true" ? "" : "DisplayNone")),
|
381
|
+
var f, _;
|
382
|
+
t = k("li"), i = k("div"), a = k("img"), s = N(), h.c(), d = N(), c && c.c(), F = N(), g(a, "class", l = "CategoryIconImg " + /*categoriesicon*/
|
383
|
+
(e[3] === "true" ? "" : "DisplayNone")), ie(a.src, r = /*handleSrc*/
|
379
384
|
e[16](
|
380
385
|
/*category*/
|
381
386
|
e[49]
|
382
|
-
)) ||
|
383
|
-
(((
|
387
|
+
)) || g(a, "src", r), g(i, "class", "CategoryIcon"), g(t, "class", w = "CarouselItem " + /*activeindex*/
|
388
|
+
(((f = e[1]) == null ? void 0 : f.toString().indexOf("$")) > -1 ? (
|
384
389
|
/*activeindex*/
|
385
390
|
((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
|
386
391
|
e[49].id.split("$").pop() ? "active" : ""
|
@@ -389,21 +394,21 @@ function Ce(a, e) {
|
|
389
394
|
e[1] == /*category*/
|
390
395
|
e[49].id ? "active" : ""
|
391
396
|
)) + " " + /*location*/
|
392
|
-
(e[0] == "headerMain" ? "" : "SecondaryMenu")),
|
397
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")), g(t, "part", "CarouselItem"), this.first = t;
|
393
398
|
},
|
394
|
-
m(
|
395
|
-
D(
|
399
|
+
m(f, _) {
|
400
|
+
D(f, t, _), p(t, i), p(i, a), p(t, s), h.m(t, null), p(t, d), c && c.m(t, null), p(t, F), m || (v = P(t, "click", b), m = !0);
|
396
401
|
},
|
397
|
-
p(
|
402
|
+
p(f, _) {
|
398
403
|
var T, x;
|
399
|
-
e =
|
404
|
+
e = f, _[0] & /*categoriesicon*/
|
400
405
|
8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
|
401
|
-
(e[3] === "true" ? "" : "DisplayNone")) &&
|
402
|
-
512 && !
|
406
|
+
(e[3] === "true" ? "" : "DisplayNone")) && g(a, "class", l), _[0] & /*sliderdata*/
|
407
|
+
512 && !ie(a.src, r = /*handleSrc*/
|
403
408
|
e[16](
|
404
409
|
/*category*/
|
405
410
|
e[49]
|
406
|
-
)) &&
|
411
|
+
)) && g(a, "src", r), I === (I = M(e)) && h ? h.p(e, _) : (h.d(1), h = I(e), h && (h.c(), h.m(t, d))), /*itemsActive*/
|
407
412
|
e[11][
|
408
413
|
/*index*/
|
409
414
|
e[51]
|
@@ -418,75 +423,75 @@ function Ce(a, e) {
|
|
418
423
|
e[1] == /*category*/
|
419
424
|
e[49].id ? "active" : ""
|
420
425
|
)) + " " + /*location*/
|
421
|
-
(e[0] == "headerMain" ? "" : "SecondaryMenu")) &&
|
426
|
+
(e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", w);
|
422
427
|
},
|
423
|
-
d(
|
424
|
-
|
428
|
+
d(f) {
|
429
|
+
f && S(t), h.d(), c && c.d(), m = !1, v();
|
425
430
|
}
|
426
431
|
};
|
427
432
|
}
|
428
|
-
function Xe(
|
429
|
-
let e, t,
|
433
|
+
function Xe(n) {
|
434
|
+
let e, t, i, a, l, r, s, d, F, w, m, v, M, I, h, c = (
|
430
435
|
/*sliderdata*/
|
431
|
-
|
436
|
+
n[9].length > 0 && ue(n)
|
432
437
|
);
|
433
438
|
return {
|
434
439
|
c() {
|
435
|
-
e = k("div"), t = k("div"),
|
436
|
-
|
437
|
-
|
438
|
-
(
|
440
|
+
e = k("div"), t = k("div"), i = k("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 = N(), l = k("div"), r = k("ul"), s = k("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', d = N(), c && c.c(), F = N(), w = k("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"), g(w, "class", "CarouselRightArrow"), g(t, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
|
441
|
+
n[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", v = /*location*/
|
442
|
+
n[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", M = "CarouselWrapper " + /*location*/
|
443
|
+
(n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
439
444
|
},
|
440
|
-
m(b,
|
441
|
-
D(b, e,
|
445
|
+
m(b, f) {
|
446
|
+
D(b, e, f), p(e, t), p(t, i), p(t, a), p(t, l), p(l, r), p(r, s), p(r, d), c && c.m(r, null), n[34](r), n[35](l), p(t, F), p(t, w), n[37](e), I || (h = [
|
442
447
|
P(
|
443
|
-
|
448
|
+
i,
|
444
449
|
"click",
|
445
450
|
/*click_handler*/
|
446
|
-
|
451
|
+
n[31]
|
447
452
|
),
|
448
453
|
P(
|
449
454
|
w,
|
450
455
|
"click",
|
451
456
|
/*click_handler_3*/
|
452
|
-
|
457
|
+
n[36]
|
453
458
|
)
|
454
459
|
], I = !0);
|
455
460
|
},
|
456
|
-
p(b,
|
461
|
+
p(b, f) {
|
457
462
|
/*sliderdata*/
|
458
|
-
b[9].length > 0 ? c ? c.p(b,
|
459
|
-
1 &&
|
460
|
-
b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) &&
|
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*/
|
461
466
|
1 && v !== (v = /*location*/
|
462
|
-
b[0] === "headerMain" ? "max-width: auto" : void 0) &&
|
467
|
+
b[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", v), f[0] & /*location*/
|
463
468
|
1 && M !== (M = "CarouselWrapper " + /*location*/
|
464
|
-
(b[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) &&
|
469
|
+
(b[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class", M);
|
465
470
|
},
|
466
471
|
i: oe,
|
467
472
|
o: oe,
|
468
473
|
d(b) {
|
469
|
-
b && S(e), c && c.d(),
|
474
|
+
b && S(e), c && c.d(), n[34](null), n[35](null), n[37](null), I = !1, Ge(h);
|
470
475
|
}
|
471
476
|
};
|
472
477
|
}
|
473
|
-
function Qe(
|
474
|
-
let { endpoint:
|
478
|
+
function Qe(n, e, t) {
|
479
|
+
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: w = "" } = e, { identity: m = "" } = e, { translationurl: v = "" } = e, { isprimarymenu: M = !1 } = e, { issecondarymenu: I = !1 } = e, { lang: h = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: f = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: T = "" } = e;
|
475
480
|
Ye({ withLocale: "en", translations: {} });
|
476
481
|
const x = () => {
|
477
482
|
fetch(v).then((u) => u.json()).then((u) => {
|
478
483
|
Object.keys(u).forEach((C) => {
|
479
|
-
|
484
|
+
ne(C, u[C]);
|
480
485
|
});
|
481
486
|
}).catch((u) => {
|
482
487
|
console.log(u);
|
483
488
|
});
|
484
489
|
};
|
485
|
-
Object.keys(
|
486
|
-
|
490
|
+
Object.keys(ae).forEach((o) => {
|
491
|
+
ne(o, ae[o]);
|
487
492
|
});
|
488
493
|
let j, z, B, K, A, O = [], U = [], Y = [], L, J = (o, u, C, E, H) => {
|
489
|
-
var
|
494
|
+
var R;
|
490
495
|
if (!(o.subGroups && E === null)) {
|
491
496
|
if (q(), t(6, z = u), t(6, z), H != "secondary") {
|
492
497
|
window.postMessage(
|
@@ -498,7 +503,7 @@ function Qe(a, e, t) {
|
|
498
503
|
item: o,
|
499
504
|
path: o.path,
|
500
505
|
externalLink: o.externalLink || !1,
|
501
|
-
target: ((
|
506
|
+
target: ((R = o.attrs) == null ? void 0 : R.target) || null
|
502
507
|
},
|
503
508
|
window.location.href
|
504
509
|
), t(7, B = null), t(8, K = null);
|
@@ -520,14 +525,14 @@ function Qe(a, e, t) {
|
|
520
525
|
L.scrollBy({ left: 250, behavior: "smooth" });
|
521
526
|
};
|
522
527
|
const te = (o) => {
|
523
|
-
o.data.type == "SliderData" && o.data.identity ==
|
528
|
+
o.data.type == "SliderData" && o.data.identity == m && (t(9, O = o.data.data), t(11, Y = new Array(O.length).fill(!1)), b == "true" && be()), o.data.type == "GoToHomepage" && O.forEach((u, C) => {
|
524
529
|
u.path.endsWith("/casino") && (t(6, z = C), t(6, z));
|
525
530
|
});
|
526
531
|
}, ye = () => {
|
527
532
|
qe(h);
|
528
533
|
}, ve = (o, u, C) => {
|
529
|
-
if (d == "secondaryMenu" &&
|
530
|
-
let E = new URL(`${
|
534
|
+
if (d == "secondaryMenu" && i && a && h && o.id) {
|
535
|
+
let E = new URL(`${i}/v1/casino/groups/${a}/${o.id}/subGroups?language=${h}`);
|
531
536
|
fetch(E.href).then((H) => H.json()).then((H) => {
|
532
537
|
H.index = u, t(10, U = U.concat(H)), b == "false" && window.postMessage(
|
533
538
|
{
|
@@ -538,10 +543,10 @@ function Qe(a, e, t) {
|
|
538
543
|
},
|
539
544
|
window.location.href
|
540
545
|
);
|
541
|
-
const
|
546
|
+
const R = [];
|
542
547
|
U.map((Ee) => (Ee.items.forEach((re) => {
|
543
|
-
|
544
|
-
}),
|
548
|
+
R.find((Re) => re.id == Re) || R.push(re.id);
|
549
|
+
}), R.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: R }, window.location.href);
|
545
550
|
}).then(() => {
|
546
551
|
j.querySelectorAll(".DropDown") && q();
|
547
552
|
});
|
@@ -580,7 +585,7 @@ function Qe(a, e, t) {
|
|
580
585
|
L.addEventListener("scroll", q);
|
581
586
|
},
|
582
587
|
500
|
583
|
-
), window.postMessage({ type: "SliderLoaded", identity:
|
588
|
+
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
584
589
|
window.removeEventListener("message", te), j.removeEventListener("scroll", q);
|
585
590
|
}));
|
586
591
|
const Me = () => $(), Ie = (o, u, C, E, H) => {
|
@@ -604,20 +609,20 @@ function Qe(a, e, t) {
|
|
604
609
|
A = o, t(4, A);
|
605
610
|
});
|
606
611
|
}
|
607
|
-
return
|
608
|
-
"endpoint" in o && t(17,
|
609
|
-
},
|
610
|
-
|
611
|
-
2,
|
612
|
-
33554432 && v && x(),
|
613
|
-
4194320 && F && A && _e(),
|
614
|
-
8388624 && w && A && ke(),
|
612
|
+
return n.$$set = (o) => {
|
613
|
+
"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, d = o.location), "clientstyling" in o && t(22, F = o.clientstyling), "clientstylingurl" in o && t(23, w = o.clientstylingurl), "identity" in o && t(24, m = o.identity), "translationurl" in o && t(25, v = o.translationurl), "isprimarymenu" in o && t(26, M = o.isprimarymenu), "issecondarymenu" in o && t(27, I = 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, T = o.mygamesiconimage);
|
614
|
+
}, n.$$.update = () => {
|
615
|
+
n.$$.dirty[0] & /*activeindex*/
|
616
|
+
2, n.$$.dirty[0] & /*translationurl*/
|
617
|
+
33554432 && v && x(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
618
|
+
4194320 && F && A && _e(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
619
|
+
8388624 && w && A && ke(), n.$$.dirty[0] & /*lang*/
|
615
620
|
268435456 && h && ye();
|
616
621
|
}, [
|
617
622
|
d,
|
618
623
|
c,
|
619
624
|
b,
|
620
|
-
|
625
|
+
f,
|
621
626
|
A,
|
622
627
|
j,
|
623
628
|
z,
|
@@ -631,14 +636,14 @@ function Qe(a, e, t) {
|
|
631
636
|
$,
|
632
637
|
ee,
|
633
638
|
Fe,
|
634
|
-
n,
|
635
639
|
i,
|
640
|
+
a,
|
636
641
|
l,
|
637
642
|
r,
|
638
643
|
s,
|
639
644
|
F,
|
640
645
|
w,
|
641
|
-
|
646
|
+
m,
|
642
647
|
v,
|
643
648
|
M,
|
644
649
|
I,
|