@everymatrix/casino-header-controller 1.94.3 → 1.94.5
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-Cq9kuHNr.js → CasinoHamburgerMenu-fismkdau.js} +26 -26
- package/components/{CasinoHamburgerMenu-C_TOVi7N.js → CasinoHamburgerMenu-k-boVZsL.js} +26 -26
- package/components/{CasinoHeaderController-Cidd7Qbv.js → CasinoHeaderController-BTbv6PRt.js} +59 -59
- package/components/{CasinoHeaderController-BhVC2lrG.js → CasinoHeaderController-CcDnOW9o.js} +57 -57
- package/components/{CasinoSlider-CSUPkjyR.js → CasinoSlider-BFwkdnqh.js} +65 -65
- package/components/{CasinoSlider-D2NO_nrR.js → CasinoSlider-CsbTlp8y.js} +55 -55
- package/components/{PlayerAccountBalanceModal-BO6gl0ZO.js → PlayerAccountBalanceModal-8Aq_ZvMf.js} +114 -114
- package/components/{PlayerAccountBalanceModal-BKFGPTL4.js → PlayerAccountBalanceModal-KHpUDBdo.js} +117 -117
- package/components/{PlayerDeposit-umfcazar.js → PlayerDeposit-DxUj-MUx.js} +54 -54
- package/components/{PlayerDeposit-BJxTd0nF.js → PlayerDeposit-lpIyUObM.js} +54 -54
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-BIQa_yiW.js → gamification-dropdown-DMjxk-Tj.js} +1 -1
- package/stencil/{gamification-dropdown-f0760153-1EYtwwJ0.js → gamification-dropdown-f0760153-B9QlSnQa.js} +4 -4
- package/stencil/{gamification-dropdown-f0760153-hDFcdnug.js → gamification-dropdown-f0760153-BkUs6mft.js} +4 -4
- package/stencil/{gamification-dropdown-C_qWDvJa.js → gamification-dropdown-jGhHm7cW.js} +1 -1
- package/stencil/{gamification-dropdown_4-Bv19oRDX.js → gamification-dropdown_4--8vkMs3l.js} +4 -4
- package/stencil/{gamification-dropdown_4-CAdQQgbx.js → gamification-dropdown_4-U3Z1mU81.js} +4 -4
- package/stencil/{index-71b1bdfa-866jMCbL.js → index-71b1bdfa-DVFSNs3m.js} +6 -6
- package/stencil/{index-71b1bdfa-Bz5w-qOJ.js → index-71b1bdfa-V1LBXDRS.js} +6 -6
- package/stencil/{player-elevate-card-Cvdba0uI.js → player-elevate-card-C8WX7E7W.js} +2 -2
- package/stencil/{player-elevate-card-DZemS83k.js → player-elevate-card-DmkJZYmF.js} +2 -2
- package/stencil/{player-elevate-card-items-a0f9711e-FGssftyu.js → player-elevate-card-items-a0f9711e-DlOlTLYh.js} +6 -6
- package/stencil/{player-elevate-card-items-a0f9711e-BzR835Pk.js → player-elevate-card-items-a0f9711e-LuvcDuiF.js} +6 -6
- package/stencil/{player-elevate-pointcard-CskiJ5JP.js → player-elevate-pointcard-B-zPCJW0.js} +2 -2
- package/stencil/{player-elevate-pointcard-lDFhFpcX.js → player-elevate-pointcard-OEzMMYG3.js} +2 -2
- package/stencil/{player-rakeback-card-7z-ljGsk.js → player-rakeback-card-C_8JN4MR.js} +1 -1
- package/stencil/{player-rakeback-card-CpiufAMl.js → player-rakeback-card-xEloPnuy.js} +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as Q, $ as Ue, c as qe, S as xe, B as Xe, v as C, K as Ye, n as Pe, f as Ke, G as ae, r as L, J as Ve, g as f, D, e as p, F as E, I as Je, s as _, U as B, H as Qe, u as W, _ as be, t as z, i as Ze, h as J, V as le, Q as Z, X as $, q as $e, p as ve, N as et, O as tt, P as rt } from "./CasinoHeaderController-CcDnOW9o.js";
|
|
2
2
|
function ot({ withLocale: n, translations: e }) {
|
|
3
3
|
Q.subscribe((t) => {
|
|
4
|
-
t == null && (
|
|
4
|
+
t == null && (Ue.set(e), Q.set(n));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
7
|
function se(n, e) {
|
|
@@ -99,7 +99,7 @@ function ge(n) {
|
|
|
99
99
|
c() {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r].c();
|
|
102
|
-
i =
|
|
102
|
+
i = z();
|
|
103
103
|
},
|
|
104
104
|
m(r, s) {
|
|
105
105
|
for (let u = 0; u < e.length; u += 1)
|
|
@@ -175,7 +175,7 @@ function me(n) {
|
|
|
175
175
|
);
|
|
176
176
|
return {
|
|
177
177
|
c() {
|
|
178
|
-
t && t.c(), e =
|
|
178
|
+
t && t.c(), e = z();
|
|
179
179
|
},
|
|
180
180
|
m(i, a) {
|
|
181
181
|
t && t.m(i, a), D(i, e, a);
|
|
@@ -263,7 +263,7 @@ function Ce(n) {
|
|
|
263
263
|
n[65]) ? "active" : ""));
|
|
264
264
|
},
|
|
265
265
|
m(g, w) {
|
|
266
|
-
D(g, e, w), p(e, t), p(t, a), p(e, r), s || (u =
|
|
266
|
+
D(g, e, w), p(e, t), p(t, a), p(e, r), s || (u = E(e, "click", F), s = !0);
|
|
267
267
|
},
|
|
268
268
|
p(g, w) {
|
|
269
269
|
n = g, w[0] & /*subGroupsData*/
|
|
@@ -292,7 +292,7 @@ function pe(n, e) {
|
|
|
292
292
|
key: n,
|
|
293
293
|
first: null,
|
|
294
294
|
c() {
|
|
295
|
-
t =
|
|
295
|
+
t = z(), a && a.c(), i = z(), this.first = t;
|
|
296
296
|
},
|
|
297
297
|
m(l, r) {
|
|
298
298
|
D(l, t, r), a && a.m(l, r), D(l, i, r);
|
|
@@ -324,7 +324,7 @@ function we(n) {
|
|
|
324
324
|
c() {
|
|
325
325
|
for (let r = 0; r < e.length; r += 1)
|
|
326
326
|
e[r].c();
|
|
327
|
-
i =
|
|
327
|
+
i = z();
|
|
328
328
|
},
|
|
329
329
|
m(r, s) {
|
|
330
330
|
for (let u = 0; u < e.length; u += 1)
|
|
@@ -394,7 +394,7 @@ function ye(n, e) {
|
|
|
394
394
|
(e[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = t;
|
|
395
395
|
},
|
|
396
396
|
m(h, I) {
|
|
397
|
-
D(h, t, I), p(t, i), p(i, a), p(t, s), m.m(t, null), p(t, u), c && c.m(t, null), p(t, F), w || (M =
|
|
397
|
+
D(h, t, I), p(t, i), p(i, a), p(t, s), m.m(t, null), p(t, u), c && c.m(t, null), p(t, F), w || (M = E(t, "click", y), w = !0);
|
|
398
398
|
},
|
|
399
399
|
p(h, I) {
|
|
400
400
|
e = h, I[0] & /*categoriesicon*/
|
|
@@ -440,41 +440,41 @@ function st(n) {
|
|
|
440
440
|
},
|
|
441
441
|
m(y, h) {
|
|
442
442
|
D(y, e, h), p(e, t), p(t, i), p(t, a), p(t, l), p(l, r), p(r, s), p(r, u), c && c.m(r, null), n[40](r), n[41](l), p(t, F), p(t, g), n[43](e), S || (m = [
|
|
443
|
-
|
|
443
|
+
E(
|
|
444
444
|
i,
|
|
445
445
|
"click",
|
|
446
446
|
/*click_handler_1*/
|
|
447
447
|
n[37]
|
|
448
448
|
),
|
|
449
|
-
|
|
449
|
+
E(
|
|
450
450
|
r,
|
|
451
451
|
"mousedown",
|
|
452
452
|
/*handleMouseDown*/
|
|
453
453
|
n[13]
|
|
454
454
|
),
|
|
455
|
-
|
|
455
|
+
E(
|
|
456
456
|
r,
|
|
457
457
|
"mouseleave",
|
|
458
458
|
/*handleMouseLeave*/
|
|
459
459
|
n[14]
|
|
460
460
|
),
|
|
461
|
-
|
|
461
|
+
E(
|
|
462
462
|
r,
|
|
463
463
|
"mouseup",
|
|
464
464
|
/*handleMouseUp*/
|
|
465
465
|
n[15]
|
|
466
466
|
),
|
|
467
|
-
|
|
467
|
+
E(
|
|
468
468
|
r,
|
|
469
469
|
"mousemove",
|
|
470
470
|
/*handleMouseMove*/
|
|
471
471
|
n[16]
|
|
472
472
|
),
|
|
473
|
-
|
|
473
|
+
E(r, "click", Je(
|
|
474
474
|
/*click_handler*/
|
|
475
475
|
n[36]
|
|
476
476
|
)),
|
|
477
|
-
|
|
477
|
+
E(
|
|
478
478
|
g,
|
|
479
479
|
"click",
|
|
480
480
|
/*click_handler_4*/
|
|
@@ -500,7 +500,7 @@ function st(n) {
|
|
|
500
500
|
};
|
|
501
501
|
}
|
|
502
502
|
function ct(n, e, t) {
|
|
503
|
-
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: g = "" } = e, { identity: w = "" } = e, { translationurl: M = "" } = e, { isprimarymenu: A = !1 } = e, { issecondarymenu: S = !1 } = e, { lang: m = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: y = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: I = "" } = e, { mygamesiconimage: P = "" } = e, { mbsource:
|
|
503
|
+
let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: u = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: g = "" } = e, { identity: w = "" } = e, { translationurl: M = "" } = e, { isprimarymenu: A = !1 } = e, { issecondarymenu: S = !1 } = e, { lang: m = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: y = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: I = "" } = e, { mygamesiconimage: P = "" } = e, { mbsource: U = "" } = e, _e, v;
|
|
504
504
|
ot({ withLocale: "en", translations: {} });
|
|
505
505
|
let q = !1, ee = 0, te = 0;
|
|
506
506
|
const ke = (o) => {
|
|
@@ -527,9 +527,9 @@ function ct(n, e, t) {
|
|
|
527
527
|
Object.keys(ce).forEach((o) => {
|
|
528
528
|
se(o, ce[o]);
|
|
529
529
|
});
|
|
530
|
-
let R,
|
|
530
|
+
let R, j, K, H, G = [], x = [], O = [], b, V = (o, d, k, T, N) => {
|
|
531
531
|
if (!(o.subGroups && T === null)) {
|
|
532
|
-
if (
|
|
532
|
+
if (X(), t(6, R = d), t(6, R), N != "secondary") {
|
|
533
533
|
window.postMessage(
|
|
534
534
|
{
|
|
535
535
|
type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
|
|
@@ -542,10 +542,10 @@ function ct(n, e, t) {
|
|
|
542
542
|
target: o.attrs?.target || null
|
|
543
543
|
},
|
|
544
544
|
window.location.href
|
|
545
|
-
), t(7,
|
|
545
|
+
), t(7, j = null), t(8, K = null);
|
|
546
546
|
return;
|
|
547
547
|
}
|
|
548
|
-
t(7,
|
|
548
|
+
t(7, j = T), t(7, j), t(8, K = j), window.postMessage(
|
|
549
549
|
{
|
|
550
550
|
type: r,
|
|
551
551
|
itemId: k.id,
|
|
@@ -556,12 +556,12 @@ function ct(n, e, t) {
|
|
|
556
556
|
);
|
|
557
557
|
}
|
|
558
558
|
}, re = () => {
|
|
559
|
-
b && (
|
|
559
|
+
b && (O.length !== R ? t(12, b.scrollLeft -= 250, b) : t(12, b.scrollLeft = 0, b));
|
|
560
560
|
}, oe = () => {
|
|
561
|
-
b && (
|
|
561
|
+
b && (O.length !== R ? t(12, b.scrollLeft += 250, b) : t(12, b.scrollLeft = 0, b));
|
|
562
562
|
};
|
|
563
563
|
const ne = (o) => {
|
|
564
|
-
o.data.type == "SliderData" && o.data.identity == w && (t(9,
|
|
564
|
+
o.data.type == "SliderData" && o.data.identity == w && (t(9, G = o.data.data), t(11, O = new Array(G.length).fill(!1)), y == "true" && Ae()), o.data.type == "GoToHomepage" && G.forEach((d, k) => {
|
|
565
565
|
d.path.endsWith("/casino") && (t(6, R = k), t(6, R));
|
|
566
566
|
});
|
|
567
567
|
}, Le = () => {
|
|
@@ -570,7 +570,7 @@ function ct(n, e, t) {
|
|
|
570
570
|
if (u == "secondaryMenu" && i && a && m && o.id) {
|
|
571
571
|
let T = new URL(`${i}/v1/casino/groups/${a}/${o.id}/subGroups?language=${m}`);
|
|
572
572
|
fetch(T.href).then((N) => N.json()).then((N) => {
|
|
573
|
-
N.index = d, t(10,
|
|
573
|
+
N.index = d, t(10, x = x.concat(N)), y == "false" && window.postMessage(
|
|
574
574
|
{
|
|
575
575
|
type: r,
|
|
576
576
|
itemId: o.id,
|
|
@@ -579,38 +579,38 @@ function ct(n, e, t) {
|
|
|
579
579
|
},
|
|
580
580
|
window.location.href
|
|
581
581
|
);
|
|
582
|
-
const
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
}),
|
|
582
|
+
const Y = [];
|
|
583
|
+
x.map((Ge) => (Ge.items.forEach((ie) => {
|
|
584
|
+
Y.find((ze) => ie.id == ze) || Y.push(ie.id);
|
|
585
|
+
}), Y.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Y }, window.location.href);
|
|
586
586
|
}).then(() => {
|
|
587
|
-
v.querySelectorAll(".DropDown") &&
|
|
587
|
+
v.querySelectorAll(".DropDown") && X();
|
|
588
588
|
});
|
|
589
589
|
}
|
|
590
590
|
u == "headerMain" && window.postMessage({ type: r, item: o }, window.location.href);
|
|
591
|
-
},
|
|
591
|
+
}, X = () => {
|
|
592
592
|
const o = v.querySelectorAll(".DropDown");
|
|
593
593
|
document.activeElement.blur(), b.classList.add("isScrolling");
|
|
594
594
|
for (let d = 0; d < o.length; d++)
|
|
595
595
|
o[d].style.transform = "translateX(-" + b.scrollLeft + "px)";
|
|
596
596
|
b.classList.remove("isScrolling");
|
|
597
597
|
}, Ae = () => {
|
|
598
|
-
|
|
599
|
-
o?.subGroups?.count > 0 && (t(11,
|
|
598
|
+
G.forEach((o, d) => {
|
|
599
|
+
o?.subGroups?.count > 0 && (t(11, O[d] = !0, O), De(o, d));
|
|
600
600
|
});
|
|
601
|
-
},
|
|
601
|
+
}, He = (o) => {
|
|
602
602
|
let d = "";
|
|
603
603
|
return o.id === "LOBBY" ? d = I : o.id === "MYGAMES" && (d = P), o.icon || d;
|
|
604
604
|
};
|
|
605
605
|
Qe(() => (window.addEventListener("message", ne, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
606
606
|
() => {
|
|
607
|
-
b.addEventListener("scroll",
|
|
607
|
+
b.addEventListener("scroll", X);
|
|
608
608
|
},
|
|
609
609
|
500
|
|
610
610
|
), window.postMessage({ type: "SliderLoaded", identity: w }), () => {
|
|
611
|
-
window.removeEventListener("message", ne), v.removeEventListener("scroll",
|
|
611
|
+
window.removeEventListener("message", ne), v.removeEventListener("scroll", X);
|
|
612
612
|
}));
|
|
613
|
-
function
|
|
613
|
+
function Ee(o) {
|
|
614
614
|
Ze.call(this, n, o);
|
|
615
615
|
}
|
|
616
616
|
const Ne = () => re(), Re = (o, d, k, T, N) => {
|
|
@@ -623,41 +623,41 @@ function ct(n, e, t) {
|
|
|
623
623
|
v = o, t(5, v);
|
|
624
624
|
});
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Oe(o) {
|
|
627
627
|
J[o ? "unshift" : "push"](() => {
|
|
628
628
|
b = o, t(12, b);
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
631
|
const We = () => oe();
|
|
632
|
-
function
|
|
632
|
+
function je(o) {
|
|
633
633
|
J[o ? "unshift" : "push"](() => {
|
|
634
|
-
|
|
634
|
+
H = o, t(4, H);
|
|
635
635
|
});
|
|
636
636
|
}
|
|
637
637
|
return n.$$set = (o) => {
|
|
638
|
-
"endpoint" in o && t(21, i = o.endpoint), "datasource" in o && t(22, a = o.datasource), "onclickeventname" in o && t(23, l = o.onclickeventname), "actionevent" in o && t(24, r = o.actionevent), "favoritesnumber" in o && t(25, s = o.favoritesnumber), "location" in o && t(0, u = o.location), "clientstyling" in o && t(26, F = o.clientstyling), "clientstylingurl" in o && t(27, g = o.clientstylingurl), "identity" in o && t(28, w = o.identity), "translationurl" in o && t(29, M = o.translationurl), "isprimarymenu" in o && t(30, A = o.isprimarymenu), "issecondarymenu" in o && t(31, S = o.issecondarymenu), "lang" in o && t(32, m = o.lang), "activeindex" in o && t(1, c = o.activeindex), "showsubgroups" in o && t(2, y = o.showsubgroups), "categoriesicon" in o && t(3, h = o.categoriesicon), "lobbyiconimage" in o && t(33, I = o.lobbyiconimage), "mygamesiconimage" in o && t(34, P = o.mygamesiconimage), "mbsource" in o && t(35,
|
|
638
|
+
"endpoint" in o && t(21, i = o.endpoint), "datasource" in o && t(22, a = o.datasource), "onclickeventname" in o && t(23, l = o.onclickeventname), "actionevent" in o && t(24, r = o.actionevent), "favoritesnumber" in o && t(25, s = o.favoritesnumber), "location" in o && t(0, u = o.location), "clientstyling" in o && t(26, F = o.clientstyling), "clientstylingurl" in o && t(27, g = o.clientstylingurl), "identity" in o && t(28, w = o.identity), "translationurl" in o && t(29, M = o.translationurl), "isprimarymenu" in o && t(30, A = o.isprimarymenu), "issecondarymenu" in o && t(31, S = o.issecondarymenu), "lang" in o && t(32, m = o.lang), "activeindex" in o && t(1, c = o.activeindex), "showsubgroups" in o && t(2, y = o.showsubgroups), "categoriesicon" in o && t(3, h = o.categoriesicon), "lobbyiconimage" in o && t(33, I = o.lobbyiconimage), "mygamesiconimage" in o && t(34, P = o.mygamesiconimage), "mbsource" in o && t(35, U = o.mbsource);
|
|
639
639
|
}, n.$$.update = () => {
|
|
640
640
|
n.$$.dirty[0] & /*activeindex*/
|
|
641
641
|
2, n.$$.dirty[0] & /*translationurl*/
|
|
642
642
|
536870912 && M && Se(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
643
|
-
67108880 && F &&
|
|
644
|
-
134217744 && g &&
|
|
643
|
+
67108880 && F && H && et(H, F), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
644
|
+
134217744 && g && H && tt(H, g), n.$$.dirty[0] & /*customStylingContainer*/
|
|
645
645
|
16 | n.$$.dirty[1] & /*mbsource*/
|
|
646
|
-
16 &&
|
|
646
|
+
16 && U && H && rt(H, `${U}.Style`, _e), n.$$.dirty[1] & /*lang*/
|
|
647
647
|
2 && m && Le();
|
|
648
648
|
}, [
|
|
649
649
|
u,
|
|
650
650
|
c,
|
|
651
651
|
y,
|
|
652
652
|
h,
|
|
653
|
-
|
|
653
|
+
H,
|
|
654
654
|
v,
|
|
655
655
|
R,
|
|
656
|
-
|
|
656
|
+
j,
|
|
657
657
|
K,
|
|
658
|
+
G,
|
|
659
|
+
x,
|
|
658
660
|
O,
|
|
659
|
-
U,
|
|
660
|
-
j,
|
|
661
661
|
b,
|
|
662
662
|
ke,
|
|
663
663
|
Fe,
|
|
@@ -666,7 +666,7 @@ function ct(n, e, t) {
|
|
|
666
666
|
V,
|
|
667
667
|
re,
|
|
668
668
|
oe,
|
|
669
|
-
|
|
669
|
+
He,
|
|
670
670
|
i,
|
|
671
671
|
a,
|
|
672
672
|
l,
|
|
@@ -681,25 +681,25 @@ function ct(n, e, t) {
|
|
|
681
681
|
m,
|
|
682
682
|
I,
|
|
683
683
|
P,
|
|
684
|
-
|
|
685
|
-
|
|
684
|
+
U,
|
|
685
|
+
Ee,
|
|
686
686
|
Ne,
|
|
687
687
|
Re,
|
|
688
688
|
Te,
|
|
689
689
|
Be,
|
|
690
|
-
|
|
690
|
+
Oe,
|
|
691
691
|
We,
|
|
692
|
-
|
|
692
|
+
je
|
|
693
693
|
];
|
|
694
694
|
}
|
|
695
|
-
class ut extends
|
|
695
|
+
class ut extends xe {
|
|
696
696
|
constructor(e) {
|
|
697
|
-
super(),
|
|
697
|
+
super(), Xe(
|
|
698
698
|
this,
|
|
699
699
|
e,
|
|
700
700
|
ct,
|
|
701
701
|
st,
|
|
702
|
-
|
|
702
|
+
Ye,
|
|
703
703
|
{
|
|
704
704
|
endpoint: 21,
|
|
705
705
|
datasource: 22,
|