@everymatrix/casino-header-controller 1.54.11 → 1.55.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.
Files changed (32) hide show
  1. package/components/CasinoHamburgerMenu-C8-P7sF9.cjs +8 -0
  2. package/components/{CasinoHamburgerMenu-Dv3mR4gk.js → CasinoHamburgerMenu-E4O8Dx5o.js} +1239 -1157
  3. package/components/{CasinoHamburgerMenu-DrXD2QZ-.js → CasinoHamburgerMenu-JVY4ac8I.js} +975 -969
  4. package/components/{CasinoHeaderController-uM2BkEPQ.js → CasinoHeaderController-9s-CNvhj.js} +762 -700
  5. package/components/{CasinoHeaderController-EYxUFHlv.js → CasinoHeaderController-BVCLQUCq.js} +780 -718
  6. package/components/CasinoHeaderController-BZk18wxU.cjs +13 -0
  7. package/components/{CasinoSlider-BaotiKI5.cjs → CasinoSlider-DDycojG8.cjs} +1 -1
  8. package/components/{CasinoSlider-5-1p-Xbc.js → CasinoSlider-xu8jCpW1.js} +325 -328
  9. package/components/{CasinoSlider-Dm6jniCL.js → CasinoSlider-yMz4R8ed.js} +296 -299
  10. package/components/PlayerAccountBalanceModal-BVQlpIy4.cjs +13 -0
  11. package/components/{PlayerAccountBalanceModal-Cs1yCHOI.js → PlayerAccountBalanceModal-CcASksA3.js} +401 -405
  12. package/components/{PlayerAccountBalanceModal-B1_uQAVA.js → PlayerAccountBalanceModal-DG6GgVDp.js} +364 -368
  13. package/components/PlayerDeposit-C8ZPqrpV.cjs +1 -0
  14. package/components/{PlayerDeposit-B89_Vs9V.js → PlayerDeposit-CIarW5H1.js} +142 -146
  15. package/components/{PlayerDeposit-CNy9cvEy.js → PlayerDeposit-D9xpcJp9.js} +142 -146
  16. package/es2015/casino-header-controller.cjs +1 -1
  17. package/es2015/casino-header-controller.js +1 -1
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-657e7a14-BQuTIY5_.js +572 -0
  21. package/stencil/index-657e7a14-CDqZBTHG.cjs +1 -0
  22. package/stencil/index-657e7a14-fo2CD-e3.js +588 -0
  23. package/stencil/{user-deposit-withdrawal-CJUx01Ss.cjs → user-deposit-withdrawal-BCkoyv3i.cjs} +2 -2
  24. package/stencil/{user-deposit-withdrawal-5ly7Quf_.js → user-deposit-withdrawal-Dg3a3KkR.js} +24 -24
  25. package/stencil/{user-deposit-withdrawal-BEcaqAXR.js → user-deposit-withdrawal-gu9RDhoH.js} +24 -24
  26. package/components/CasinoHamburgerMenu-BGHo13mn.cjs +0 -8
  27. package/components/CasinoHeaderController-CfFUvcEO.cjs +0 -13
  28. package/components/PlayerAccountBalanceModal-B_7fcnxz.cjs +0 -13
  29. package/components/PlayerDeposit-DqZH75Dh.cjs +0 -1
  30. package/stencil/index-45f4006f-B0VyePmU.js +0 -638
  31. package/stencil/index-45f4006f-BYSN7Lmh.js +0 -654
  32. package/stencil/index-45f4006f-CT7q_gcU.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { $ as X, a as Ne, b as Te, S as je, i as We, f as w, s as ze, c as Be, d as Oe, n as re, e as I, t as Ge, z as g, h as D, v as C, w as Y, k as b, j as R, o as xe, A as T, J as Ce, r as B, p as J, E as oe, u as Q, y as V, B as Ue, K as pe } from "./CasinoHamburgerMenu-Dv3mR4gk.js";
2
- function Ye({ withLocale: n, translations: e }) {
3
- X.subscribe((t) => {
4
- t == null && (Ne.set(e), X.set(n));
1
+ import { $ as Q, a as Ne, b as Re, S as Te, i as je, f as C, c as We, s as ze, d as Be, g as b, e as N, x as g, j as M, y as p, z as U, n as oe, k as D, C as Oe, o as Ge, m as xe, u as qe, v as T, E as B, M as pe, I as ie, q as J, t as Ye, N as ye, B as Ue, w as V, A as Z } from "./CasinoHamburgerMenu-JVY4ac8I.js";
2
+ function Pe({ withLocale: a, translations: e }) {
3
+ Q.subscribe((t) => {
4
+ t == null && (Ne.set(e), Q.set(a));
5
5
  });
6
6
  }
7
- function ie(n, e) {
8
- Te(n, e);
7
+ function ae(a, e) {
8
+ Re(a, e);
9
9
  }
10
- function qe(n) {
11
- X.set(n);
10
+ function Ke(a) {
11
+ Q.set(a);
12
12
  }
13
13
  const ne = {
14
14
  en: {
@@ -67,303 +67,303 @@ const ne = {
67
67
  deposit: "Deposit"
68
68
  }
69
69
  };
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}');
70
+ function Xe(a) {
71
+ Be(a, "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}');
72
72
  }
73
- function ae(n, e, t) {
74
- const i = n.slice();
75
- return i[49] = e[t], i[51] = t, i;
73
+ function le(a, e, t) {
74
+ const o = a.slice();
75
+ return o[49] = e[t], o[51] = t, o;
76
76
  }
77
- function le(n, e, t) {
78
- const i = n.slice();
79
- return i[52] = e[t], i;
77
+ function se(a, e, t) {
78
+ const o = a.slice();
79
+ return o[52] = e[t], o;
80
80
  }
81
- function se(n, e, t) {
82
- const i = n.slice();
83
- return i[55] = e[t], i[57] = t, i;
81
+ function ce(a, e, t) {
82
+ const o = a.slice();
83
+ return o[55] = e[t], o[57] = t, o;
84
84
  }
85
- function ce(n) {
86
- let e = [], t = /* @__PURE__ */ new Map(), i, a = T(
85
+ function ue(a) {
86
+ let e = [], t = /* @__PURE__ */ new Map(), o, n = T(
87
87
  /*sliderdata*/
88
- n[9]
88
+ a[9]
89
89
  );
90
90
  const l = (r) => (
91
91
  /*category*/
92
92
  r[49].id
93
93
  );
94
- for (let r = 0; r < a.length; r += 1) {
95
- let s = ae(n, a, r), d = l(s);
96
- t.set(d, e[r] = he(d, s));
94
+ for (let r = 0; r < n.length; r += 1) {
95
+ let s = le(a, n, r), u = l(s);
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
- i = B();
102
+ o = B();
103
103
  },
104
104
  m(r, s) {
105
- for (let d = 0; d < e.length; d += 1)
106
- e[d] && e[d].m(r, s);
107
- D(r, i, s);
105
+ for (let u = 0; u < e.length; u += 1)
106
+ e[u] && e[u].m(r, s);
107
+ M(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 && (a = T(
111
+ 77775 && (n = T(
112
112
  /*sliderdata*/
113
113
  r[9]
114
- ), e = Ce(e, s, l, 1, r, a, t, i.parentNode, pe, he, i, ae));
114
+ ), e = pe(e, s, l, 1, r, n, t, o.parentNode, ye, Ce, o, le));
115
115
  },
116
116
  d(r) {
117
- r && I(i);
117
+ r && D(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 Ke(n) {
123
+ function Je(a) {
124
124
  let e, t = (
125
125
  /*category*/
126
- n[49].name + ""
127
- ), i;
126
+ a[49].name + ""
127
+ ), o;
128
128
  return {
129
129
  c() {
130
- e = b("button"), i = V(t), g(e, "class", "CategoryButton");
130
+ e = b("button"), o = V(t), g(e, "class", "CategoryButton");
131
131
  },
132
- m(a, l) {
133
- D(a, e, l), C(e, i);
132
+ m(n, l) {
133
+ M(n, e, l), p(e, o);
134
134
  },
135
- p(a, l) {
135
+ p(n, l) {
136
136
  l[0] & /*sliderdata*/
137
137
  512 && t !== (t = /*category*/
138
- a[49].name + "") && Q(i, t);
138
+ n[49].name + "") && Z(o, t);
139
139
  },
140
- d(a) {
141
- a && I(e);
140
+ d(n) {
141
+ n && D(e);
142
142
  }
143
143
  };
144
144
  }
145
- function Je(n) {
145
+ function Qe(a) {
146
146
  let e, t = (
147
147
  /*category*/
148
- n[49].label + ""
149
- ), i, a;
148
+ a[49].label + ""
149
+ ), o, n;
150
150
  return {
151
151
  c() {
152
- e = b("a"), i = V(t), g(e, "href", a = /*category*/
153
- n[49].path);
152
+ e = b("a"), o = V(t), g(e, "href", n = /*category*/
153
+ a[49].path);
154
154
  },
155
155
  m(l, r) {
156
- D(l, e, r), C(e, i);
156
+ M(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[49].label + "") && Q(i, t), r[0] & /*sliderdata*/
162
- 512 && a !== (a = /*category*/
163
- l[49].path) && g(e, "href", a);
161
+ l[49].label + "") && Z(o, t), r[0] & /*sliderdata*/
162
+ 512 && n !== (n = /*category*/
163
+ l[49].path) && g(e, "href", n);
164
164
  },
165
165
  d(l) {
166
- l && I(e);
166
+ l && D(e);
167
167
  }
168
168
  };
169
169
  }
170
- function ue(n) {
170
+ function de(a) {
171
171
  let e, t = (
172
172
  /*subGroupsData*/
173
- n[10].length > 0 && /*showsubgroups*/
174
- n[2] == "true" && de(n)
173
+ a[10].length > 0 && /*showsubgroups*/
174
+ a[2] == "true" && ge(a)
175
175
  );
176
176
  return {
177
177
  c() {
178
178
  t && t.c(), e = B();
179
179
  },
180
- m(i, a) {
181
- t && t.m(i, a), D(i, e, a);
180
+ m(o, n) {
181
+ t && t.m(o, n), M(o, e, n);
182
182
  },
183
- p(i, a) {
183
+ p(o, n) {
184
184
  /*subGroupsData*/
185
- i[10].length > 0 && /*showsubgroups*/
186
- i[2] == "true" ? t ? t.p(i, a) : (t = de(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
185
+ o[10].length > 0 && /*showsubgroups*/
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
- d(i) {
189
- i && I(e), t && t.d(i);
188
+ d(o) {
189
+ o && D(e), t && t.d(o);
190
190
  }
191
191
  };
192
192
  }
193
- function de(n) {
193
+ function ge(a) {
194
194
  let e, t = T(
195
195
  /*subGroupsData*/
196
- n[10]
197
- ), i = [];
198
- for (let a = 0; a < t.length; a += 1)
199
- i[a] = me(le(n, t, a));
196
+ a[10]
197
+ ), o = [];
198
+ for (let n = 0; n < t.length; n += 1)
199
+ o[n] = he(se(a, t, n));
200
200
  return {
201
201
  c() {
202
202
  e = b("ul");
203
- for (let a = 0; a < i.length; a += 1)
204
- i[a].c();
203
+ for (let n = 0; n < o.length; n += 1)
204
+ o[n].c();
205
205
  g(e, "class", "DropDown");
206
206
  },
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);
207
+ m(n, l) {
208
+ M(n, e, l);
209
+ for (let r = 0; r < o.length; r += 1)
210
+ o[r] && o[r].m(e, null);
211
211
  },
212
- p(a, l) {
212
+ p(n, l) {
213
213
  if (l[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
214
214
  10176) {
215
215
  t = T(
216
216
  /*subGroupsData*/
217
- a[10]
217
+ n[10]
218
218
  );
219
219
  let r;
220
220
  for (r = 0; r < t.length; r += 1) {
221
- const s = le(a, t, r);
222
- i[r] ? i[r].p(s, l) : (i[r] = me(s), i[r].c(), i[r].m(e, null));
221
+ const s = se(n, t, r);
222
+ o[r] ? o[r].p(s, l) : (o[r] = he(s), o[r].c(), o[r].m(e, null));
223
223
  }
224
- for (; r < i.length; r += 1)
225
- i[r].d(1);
226
- i.length = t.length;
224
+ for (; r < o.length; r += 1)
225
+ o[r].d(1);
226
+ o.length = t.length;
227
227
  }
228
228
  },
229
- d(a) {
230
- a && I(e), Ue(i, a);
229
+ d(n) {
230
+ n && D(e), Ue(o, n);
231
231
  }
232
232
  };
233
233
  }
234
- function ge(n) {
235
- let e, t, i = (
234
+ function me(a) {
235
+ let e, t, o = (
236
236
  /*subGroupItem*/
237
- n[55]?.name + ""
238
- ), a, l, r, s, d;
239
- function _(...f) {
237
+ a[55]?.name + ""
238
+ ), n, l, r, s, u;
239
+ function v(...m) {
240
240
  return (
241
241
  /*click_handler_1*/
242
- n[32](
242
+ a[33](
243
243
  /*category*/
244
- n[49],
244
+ a[49],
245
245
  /*index*/
246
- n[51],
246
+ a[51],
247
247
  /*subGroupItem*/
248
- n[55],
248
+ a[55],
249
249
  /*subindex*/
250
- n[57],
251
- ...f
250
+ a[57],
251
+ ...m
252
252
  )
253
253
  );
254
254
  }
255
255
  return {
256
256
  c() {
257
- e = b("li"), t = b("a"), a = V(i), r = R(), g(t, "class", l = "SubDropDown " + /*index*/
258
- (n[51] == /*activeIndex*/
259
- n[6] && /*activeSubIndex*/
260
- (n[7] == /*subindex*/
261
- n[57] || /*prevSubIndex*/
262
- n[8] == /*subindex*/
263
- n[57]) ? "active" : ""));
257
+ e = b("li"), t = b("a"), n = V(o), r = N(), g(t, "class", l = "SubDropDown " + /*index*/
258
+ (a[51] == /*activeIndex*/
259
+ a[6] && /*activeSubIndex*/
260
+ (a[7] == /*subindex*/
261
+ a[57] || /*prevSubIndex*/
262
+ a[8] == /*subindex*/
263
+ a[57]) ? "active" : ""));
264
264
  },
265
- m(f, p) {
266
- D(f, e, p), C(e, t), C(t, a), C(e, r), s || (d = Y(e, "click", _), s = !0);
265
+ m(m, y) {
266
+ M(m, e, y), p(e, t), p(t, n), p(e, r), s || (u = U(e, "click", v), s = !0);
267
267
  },
268
- p(f, p) {
269
- n = f, p[0] & /*subGroupsData*/
270
- 1024 && i !== (i = /*subGroupItem*/
271
- n[55]?.name + "") && Q(a, i), p[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
268
+ p(m, y) {
269
+ a = m, y[0] & /*subGroupsData*/
270
+ 1024 && o !== (o = /*subGroupItem*/
271
+ a[55]?.name + "") && Z(n, o), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
272
272
  1984 && l !== (l = "SubDropDown " + /*index*/
273
- (n[51] == /*activeIndex*/
274
- n[6] && /*activeSubIndex*/
275
- (n[7] == /*subindex*/
276
- n[57] || /*prevSubIndex*/
277
- n[8] == /*subindex*/
278
- n[57]) ? "active" : "")) && g(t, "class", l);
273
+ (a[51] == /*activeIndex*/
274
+ a[6] && /*activeSubIndex*/
275
+ (a[7] == /*subindex*/
276
+ a[57] || /*prevSubIndex*/
277
+ a[8] == /*subindex*/
278
+ a[57]) ? "active" : "")) && g(t, "class", l);
279
279
  },
280
- d(f) {
281
- f && I(e), s = !1, d();
280
+ d(m) {
281
+ m && D(e), s = !1, u();
282
282
  }
283
283
  };
284
284
  }
285
- function fe(n, e) {
286
- let t, i, a = (
285
+ function fe(a, e) {
286
+ let t, o, n = (
287
287
  /*index*/
288
288
  e[51] == /*subGroup*/
289
- e[52].index && ge(e)
289
+ e[52].index && me(e)
290
290
  );
291
291
  return {
292
- key: n,
292
+ key: a,
293
293
  first: null,
294
294
  c() {
295
- t = B(), a && a.c(), i = B(), this.first = t;
295
+ t = B(), n && n.c(), o = B(), this.first = t;
296
296
  },
297
297
  m(l, r) {
298
- D(l, t, r), a && a.m(l, r), D(l, i, r);
298
+ M(l, t, r), n && n.m(l, r), M(l, o, r);
299
299
  },
300
300
  p(l, r) {
301
301
  e = l, /*index*/
302
302
  e[51] == /*subGroup*/
303
- e[52].index ? a ? a.p(e, r) : (a = ge(e), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null);
303
+ e[52].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 && (I(t), I(i)), a && a.d(l);
306
+ l && (D(t), D(o)), n && n.d(l);
307
307
  }
308
308
  };
309
309
  }
310
- function me(n) {
311
- let e = [], t = /* @__PURE__ */ new Map(), i, a = T(
310
+ function he(a) {
311
+ let e = [], t = /* @__PURE__ */ new Map(), o, n = T(
312
312
  /*subGroup*/
313
- n[52].items
313
+ a[52].items
314
314
  );
315
315
  const l = (r) => (
316
316
  /*subGroupItem*/
317
317
  r[55].id
318
318
  );
319
- for (let r = 0; r < a.length; r += 1) {
320
- let s = se(n, a, r), d = l(s);
321
- t.set(d, e[r] = fe(d, s));
319
+ for (let r = 0; r < n.length; r += 1) {
320
+ let s = ce(a, n, r), u = l(s);
321
+ t.set(u, e[r] = fe(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
- i = B();
327
+ o = B();
328
328
  },
329
329
  m(r, s) {
330
- for (let d = 0; d < e.length; d += 1)
331
- e[d] && e[d].m(r, s);
332
- D(r, i, s);
330
+ for (let u = 0; u < e.length; u += 1)
331
+ e[u] && e[u].m(r, s);
332
+ M(r, o, s);
333
333
  },
334
334
  p(r, s) {
335
335
  s[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
336
- 10176 && (a = T(
336
+ 10176 && (n = T(
337
337
  /*subGroup*/
338
338
  r[52].items
339
- ), e = Ce(e, s, l, 1, r, a, t, i.parentNode, pe, fe, i, se));
339
+ ), e = pe(e, s, l, 1, r, n, t, o.parentNode, ye, fe, o, ce));
340
340
  },
341
341
  d(r) {
342
- r && I(i);
342
+ r && D(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 he(n, e) {
349
- let t, i, a, l, r, s, d, _, f, p, k;
350
- function S(h, F) {
348
+ function Ce(a, e) {
349
+ let t, o, n, l, r, s, u, v, m, y, _;
350
+ function S(h, k) {
351
351
  return (
352
352
  /*location*/
353
- h[0] === "headerMain" ? Je : Ke
353
+ h[0] === "headerMain" ? Qe : Je
354
354
  );
355
355
  }
356
- let M = S(e), m = M(e), c = (
356
+ let I = S(e), f = I(e), c = (
357
357
  /*itemsActive*/
358
358
  e[11][
359
359
  /*index*/
360
360
  e[51]
361
- ] == !0 && ue(e)
361
+ ] == !0 && de(e)
362
362
  );
363
- function y(...h) {
363
+ function w(...h) {
364
364
  return (
365
365
  /*click_handler_2*/
366
- e[33](
366
+ e[34](
367
367
  /*category*/
368
368
  e[49],
369
369
  /*index*/
@@ -373,15 +373,15 @@ function he(n, e) {
373
373
  );
374
374
  }
375
375
  return {
376
- key: n,
376
+ key: a,
377
377
  first: null,
378
378
  c() {
379
- t = b("li"), i = b("div"), a = b("img"), s = R(), m.c(), d = R(), c && c.c(), _ = R(), g(a, "class", l = "CategoryIconImg " + /*categoriesicon*/
380
- (e[3] === "true" ? "" : "DisplayNone")), oe(a.src, r = /*handleSrc*/
379
+ t = b("li"), o = b("div"), n = b("img"), s = N(), f.c(), u = N(), c && c.c(), v = N(), g(n, "class", l = "CategoryIconImg " + /*categoriesicon*/
380
+ (e[3] === "true" ? "" : "DisplayNone")), ie(n.src, r = /*handleSrc*/
381
381
  e[16](
382
382
  /*category*/
383
383
  e[49]
384
- )) || g(a, "src", r), g(i, "class", "CategoryIcon"), g(t, "class", f = "CarouselItem " + /*activeindex*/
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*/
@@ -393,23 +393,23 @@ function he(n, e) {
393
393
  )) + " " + /*location*/
394
394
  (e[0] == "headerMain" ? "" : "SecondaryMenu")), g(t, "part", "CarouselItem"), this.first = t;
395
395
  },
396
- m(h, F) {
397
- D(h, t, F), C(t, i), C(i, a), C(t, s), m.m(t, null), C(t, d), c && c.m(t, null), C(t, _), p || (k = Y(t, "click", y), p = !0);
396
+ m(h, k) {
397
+ M(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
- p(h, F) {
400
- e = h, F[0] & /*categoriesicon*/
399
+ p(h, k) {
400
+ e = h, k[0] & /*categoriesicon*/
401
401
  8 && l !== (l = "CategoryIconImg " + /*categoriesicon*/
402
- (e[3] === "true" ? "" : "DisplayNone")) && g(a, "class", l), F[0] & /*sliderdata*/
403
- 512 && !oe(a.src, r = /*handleSrc*/
402
+ (e[3] === "true" ? "" : "DisplayNone")) && g(n, "class", l), k[0] & /*sliderdata*/
403
+ 512 && !ie(n.src, r = /*handleSrc*/
404
404
  e[16](
405
405
  /*category*/
406
406
  e[49]
407
- )) && g(a, "src", r), M === (M = S(e)) && m ? m.p(e, F) : (m.d(1), m = M(e), m && (m.c(), m.m(t, d))), /*itemsActive*/
407
+ )) && g(n, "src", r), I === (I = S(e)) && f ? f.p(e, k) : (f.d(1), f = I(e), f && (f.c(), f.m(t, u))), /*itemsActive*/
408
408
  e[11][
409
409
  /*index*/
410
410
  e[51]
411
- ] == !0 ? c ? c.p(e, F) : (c = ue(e), c.c(), c.m(t, _)) : c && (c.d(1), c = null), F[0] & /*activeindex, sliderdata, location*/
412
- 515 && f !== (f = "CarouselItem " + /*activeindex*/
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
+ 515 && m !== (m = "CarouselItem " + /*activeindex*/
413
413
  (e[1]?.toString().indexOf("$") > -1 ? (
414
414
  /*activeindex*/
415
415
  e[1]?.split("$").pop() == /*category*/
@@ -419,247 +419,237 @@ function he(n, e) {
419
419
  e[1] == /*category*/
420
420
  e[49].id ? "active" : ""
421
421
  )) + " " + /*location*/
422
- (e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", f);
422
+ (e[0] == "headerMain" ? "" : "SecondaryMenu")) && g(t, "class", m);
423
423
  },
424
424
  d(h) {
425
- h && I(t), m.d(), c && c.d(), p = !1, k();
425
+ h && D(t), f.d(), c && c.d(), y = !1, _();
426
426
  }
427
427
  };
428
428
  }
429
- function Xe(n) {
430
- let e, t, i, a, l, r, s, d, _, f, p, k, S, M, m, c = (
429
+ function Ve(a) {
430
+ let e, t, o, n, l, r, s, u, v, m, y, _, S, I, f, c = (
431
431
  /*sliderdata*/
432
- n[9].length > 0 && ce(n)
432
+ a[9].length > 0 && ue(a)
433
433
  );
434
434
  return {
435
435
  c() {
436
- e = b("div"), t = b("div"), i = b("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 = R(), l = b("div"), r = b("ul"), s = b("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', d = R(), c && c.c(), _ = R(), f = b("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(i, "class", "CarouselLeftArrow"), g(s, "class", "TouchOnly"), g(r, "id", "CarouselNav"), g(r, "class", "CarouselItems"), g(l, "class", "CarouselNavWrap"), g(f, "class", "CarouselRightArrow"), g(t, "class", p = `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", S = "CarouselWrapper " + /*location*/
439
- (n[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
436
+ e = b("div"), t = b("div"), o = b("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>', n = N(), l = b("div"), r = b("ul"), s = b("li"), s.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = N(), c && c.c(), v = N(), m = b("div"), m.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"), g(m, "class", "CarouselRightArrow"), g(t, "class", y = `CarouselContainer CarouselContainerMobile ${/*location*/
437
+ a[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), g(t, "style", _ = /*location*/
438
+ a[0] === "headerMain" ? "max-width: auto" : void 0), g(e, "class", S = "CarouselWrapper " + /*location*/
439
+ (a[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
440
440
  },
441
- m(y, h) {
442
- D(y, e, h), C(e, t), C(t, i), C(t, a), C(t, l), C(l, r), C(r, s), C(r, d), c && c.m(r, null), n[34](r), n[35](l), C(t, _), C(t, f), n[37](e), M || (m = [
443
- Y(
444
- i,
441
+ m(w, h) {
442
+ M(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), I || (f = [
443
+ U(
444
+ o,
445
445
  "click",
446
446
  /*click_handler*/
447
- n[31]
447
+ a[32]
448
448
  ),
449
- Y(
450
- f,
449
+ U(
450
+ m,
451
451
  "click",
452
452
  /*click_handler_3*/
453
- n[36]
453
+ a[37]
454
454
  )
455
- ], M = !0);
455
+ ], I = !0);
456
456
  },
457
- p(y, h) {
457
+ p(w, h) {
458
458
  /*sliderdata*/
459
- y[9].length > 0 ? c ? c.p(y, h) : (c = ce(y), c.c(), c.m(r, null)) : c && (c.d(1), c = null), h[0] & /*location*/
460
- 1 && p !== (p = `CarouselContainer CarouselContainerMobile ${/*location*/
461
- y[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && g(t, "class", p), h[0] & /*location*/
462
- 1 && k !== (k = /*location*/
463
- y[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", k), h[0] & /*location*/
459
+ w[9].length > 0 ? c ? c.p(w, h) : (c = ue(w), c.c(), c.m(r, null)) : c && (c.d(1), c = null), h[0] & /*location*/
460
+ 1 && y !== (y = `CarouselContainer CarouselContainerMobile ${/*location*/
461
+ w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && g(t, "class", y), h[0] & /*location*/
462
+ 1 && _ !== (_ = /*location*/
463
+ w[0] === "headerMain" ? "max-width: auto" : void 0) && g(t, "style", _), h[0] & /*location*/
464
464
  1 && S !== (S = "CarouselWrapper " + /*location*/
465
- (y[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class", S);
465
+ (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && g(e, "class", S);
466
466
  },
467
- i: re,
468
- o: re,
469
- d(y) {
470
- y && I(e), c && c.d(), n[34](null), n[35](null), n[37](null), M = !1, Ge(m);
467
+ i: oe,
468
+ o: oe,
469
+ d(w) {
470
+ w && D(e), c && c.d(), a[35](null), a[36](null), a[38](null), I = !1, Oe(f);
471
471
  }
472
472
  };
473
473
  }
474
- function Qe(n, e, t) {
475
- let { endpoint: i = "" } = e, { datasource: a = "" } = e, { onclickeventname: l = "defaultEvent" } = e, { actionevent: r = "defaultEvent" } = e, { favoritesnumber: s = "0" } = e, { location: d = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: f = "" } = e, { identity: p = "" } = e, { translationurl: k = "" } = e, { isprimarymenu: S = !1 } = e, { issecondarymenu: M = !1 } = e, { lang: m = "" } = e, { activeindex: c = "0" } = e, { showsubgroups: y = "false" } = e, { categoriesicon: h = "false" } = e, { lobbyiconimage: F = "" } = e, { mygamesiconimage: q = "" } = e;
476
- Ye({ withLocale: "en", translations: {} });
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: I = !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 = "App" } = e;
476
+ Pe({ withLocale: "en", translations: {} });
477
477
  const we = () => {
478
- fetch(k).then((u) => u.json()).then((u) => {
479
- Object.keys(u).forEach((v) => {
480
- ie(v, u[v]);
478
+ fetch(_).then((d) => d.json()).then((d) => {
479
+ Object.keys(d).forEach((F) => {
480
+ ae(F, d[F]);
481
481
  });
482
- }).catch((u) => {
483
- console.log(u);
482
+ }).catch((d) => {
483
+ console.log(d);
484
484
  });
485
485
  };
486
- Object.keys(ne).forEach((o) => {
487
- ie(o, ne[o]);
486
+ Object.keys(ne).forEach((i) => {
487
+ ae(i, ne[i]);
488
488
  });
489
- let N, j, W, P, H, z = [], O = [], G = [], L, K = (o, u, v, E, A) => {
490
- if (!(o.subGroups && E === null)) {
491
- if (x(), t(6, j = u), t(6, j), A != "secondary") {
489
+ let R, j, W, K, L, z = [], G = [], x = [], A, X = (i, d, F, E, H) => {
490
+ if (!(i.subGroups && E === null)) {
491
+ if (q(), t(6, j = d), t(6, j), H != "secondary") {
492
492
  window.postMessage(
493
493
  {
494
494
  type: r == "CategoryChange" ? "CategoryChange" : "NavigateTo",
495
495
  buzz: "1",
496
- itemId: o.id,
497
- index: u,
498
- item: o,
499
- path: o.path,
500
- externalLink: o.externalLink || !1,
501
- target: o.attrs?.target || null
496
+ itemId: i.id,
497
+ index: d,
498
+ item: i,
499
+ path: i.path,
500
+ externalLink: i.externalLink || !1,
501
+ target: i.attrs?.target || null
502
502
  },
503
503
  window.location.href
504
- ), t(7, W = null), t(8, P = null);
504
+ ), t(7, W = null), t(8, K = null);
505
505
  return;
506
506
  }
507
- t(7, W = E), t(7, W), t(8, P = W), window.postMessage(
507
+ t(7, W = E), t(7, W), t(8, K = W), window.postMessage(
508
508
  {
509
509
  type: r,
510
- itemId: v.id,
510
+ itemId: F.id,
511
511
  subIndex: E,
512
- subItem: v
512
+ subItem: F
513
513
  },
514
514
  window.location.href
515
515
  );
516
516
  }
517
- }, Z = () => {
518
- L.scrollBy({ left: -250, behavior: "smooth" });
519
517
  }, $ = () => {
520
- L.scrollBy({ left: 250, behavior: "smooth" });
518
+ A.scrollBy({ left: -250, behavior: "smooth" });
519
+ }, ee = () => {
520
+ A.scrollBy({ left: 250, behavior: "smooth" });
521
521
  };
522
- const ee = (o) => {
523
- o.data.type == "SliderData" && o.data.identity == p && (t(9, z = o.data.data), t(11, G = new Array(z.length).fill(!1)), y == "true" && be()), o.data.type == "GoToHomepage" && z.forEach((u, v) => {
524
- u.path.endsWith("/casino") && (t(6, j = v), t(6, j));
522
+ const te = (i) => {
523
+ i.data.type == "SliderData" && i.data.identity == y && (t(9, z = i.data.data), t(11, x = new Array(z.length).fill(!1)), w == "true" && _e()), i.data.type == "GoToHomepage" && z.forEach((d, F) => {
524
+ d.path.endsWith("/casino") && (t(6, j = F), t(6, j));
525
525
  });
526
- }, ye = () => {
527
- qe(m);
528
- }, ve = (o, u, v) => {
529
- if (d == "secondaryMenu" && i && a && m && o.id) {
530
- let E = new URL(`${i}/v1/casino/groups/${a}/${o.id}/subGroups?language=${m}`);
531
- fetch(E.href).then((A) => A.json()).then((A) => {
532
- A.index = u, t(10, O = O.concat(A)), y == "false" && window.postMessage(
526
+ }, be = () => {
527
+ Ke(f);
528
+ }, ve = (i, d, F) => {
529
+ if (u == "secondaryMenu" && o && n && f && i.id) {
530
+ let E = new URL(`${o}/v1/casino/groups/${n}/${i.id}/subGroups?language=${f}`);
531
+ fetch(E.href).then((H) => H.json()).then((H) => {
532
+ H.index = d, t(10, G = G.concat(H)), w == "false" && window.postMessage(
533
533
  {
534
534
  type: r,
535
- itemId: o.id,
536
- index: u,
537
- item: o
535
+ itemId: i.id,
536
+ index: d,
537
+ item: i
538
538
  },
539
539
  window.location.href
540
540
  );
541
- const U = [];
542
- O.map((Ee) => (Ee.items.forEach((te) => {
543
- U.find((Re) => te.id == Re) || U.push(te.id);
544
- }), U.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: U }, window.location.href);
541
+ const Y = [];
542
+ G.map((He) => (He.items.forEach((re) => {
543
+ Y.find((Ee) => re.id == Ee) || Y.push(re.id);
544
+ }), Y.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Y }, window.location.href);
545
545
  }).then(() => {
546
- N.querySelectorAll(".DropDown") && x();
546
+ R.querySelectorAll(".DropDown") && q();
547
547
  });
548
548
  }
549
- d == "headerMain" && window.postMessage({ type: r, item: o }, window.location.href);
550
- }, x = () => {
551
- const o = N.querySelectorAll(".DropDown");
552
- document.activeElement.blur(), L.classList.add("isScrolling");
553
- for (let u = 0; u < o.length; u++)
554
- o[u].style.transform = "translateX(-" + L.scrollLeft + "px)";
555
- L.classList.remove("isScrolling");
556
- }, be = () => {
557
- z.forEach((o, u) => {
558
- o?.subGroups?.count > 0 && (t(11, G[u] = !0, G), ve(o, u));
559
- });
549
+ u == "headerMain" && window.postMessage({ type: r, item: i }, window.location.href);
550
+ }, q = () => {
551
+ const i = R.querySelectorAll(".DropDown");
552
+ document.activeElement.blur(), A.classList.add("isScrolling");
553
+ for (let d = 0; d < i.length; d++)
554
+ i[d].style.transform = "translateX(-" + A.scrollLeft + "px)";
555
+ A.classList.remove("isScrolling");
560
556
  }, _e = () => {
561
- let o = document.createElement("style");
562
- o.innerHTML = _, H.appendChild(o);
563
- }, ke = () => {
564
- let o = document.createElement("style"), u = new URL(f);
565
- fetch(u.href).then((v) => v.text()).then((v) => {
566
- o.innerHTML = v, setTimeout(
567
- () => {
568
- H.appendChild(o);
569
- },
570
- 1
571
- );
557
+ z.forEach((i, d) => {
558
+ i?.subGroups?.count > 0 && (t(11, x[d] = !0, x), ve(i, d));
572
559
  });
573
- }, Fe = (o) => {
574
- let u = "";
575
- return o.id === "LOBBY" ? u = F : o.id === "MYGAMES" && (u = q), o.icon || u;
560
+ }, ke = (i) => {
561
+ let d = "";
562
+ return i.id === "LOBBY" ? d = k : i.id === "MYGAMES" && (d = P), i.icon || d;
576
563
  };
577
- xe(() => (window.addEventListener("message", ee, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
564
+ Ge(() => (window.addEventListener("message", te, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
578
565
  () => {
579
- L.addEventListener("scroll", x);
566
+ A.addEventListener("scroll", q);
580
567
  },
581
568
  500
582
- ), window.postMessage({ type: "SliderLoaded", identity: p }), () => {
583
- window.removeEventListener("message", ee), N.removeEventListener("scroll", x);
569
+ ), window.postMessage({ type: "SliderLoaded", identity: y }), () => {
570
+ window.removeEventListener("message", te), R.removeEventListener("scroll", q);
584
571
  }));
585
- const Me = () => Z(), Ie = (o, u, v, E, A) => {
586
- K(o, u, v, E, "secondary"), A.stopPropagation();
587
- }, De = (o, u, v) => {
588
- K(o, u, null, null, "main"), v.preventDefault();
572
+ const Fe = () => $(), Ie = (i, d, F, E, H) => {
573
+ X(i, d, F, E, "secondary"), H.stopPropagation();
574
+ }, Me = (i, d, F) => {
575
+ X(i, d, null, null, "main"), F.preventDefault();
589
576
  };
590
- function Se(o) {
591
- J[o ? "unshift" : "push"](() => {
592
- N = o, t(5, N);
577
+ function De(i) {
578
+ J[i ? "unshift" : "push"](() => {
579
+ R = i, t(5, R);
593
580
  });
594
581
  }
595
- function Le(o) {
596
- J[o ? "unshift" : "push"](() => {
597
- L = o, t(12, L);
582
+ function Se(i) {
583
+ J[i ? "unshift" : "push"](() => {
584
+ A = i, t(12, A);
598
585
  });
599
586
  }
600
- const Ae = () => $();
601
- function He(o) {
602
- J[o ? "unshift" : "push"](() => {
603
- H = o, t(4, H);
587
+ const Le = () => ee();
588
+ function Ae(i) {
589
+ J[i ? "unshift" : "push"](() => {
590
+ L = i, t(4, L);
604
591
  });
605
592
  }
606
- return n.$$set = (o) => {
607
- "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, _ = o.clientstyling), "clientstylingurl" in o && t(23, f = o.clientstylingurl), "identity" in o && t(24, p = o.identity), "translationurl" in o && t(25, k = o.translationurl), "isprimarymenu" in o && t(26, S = o.isprimarymenu), "issecondarymenu" in o && t(27, M = o.issecondarymenu), "lang" in o && t(28, 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(29, F = o.lobbyiconimage), "mygamesiconimage" in o && t(30, q = o.mygamesiconimage);
608
- }, n.$$.update = () => {
609
- n.$$.dirty[0] & /*activeindex*/
610
- 2, n.$$.dirty[0] & /*translationurl*/
611
- 33554432 && k && we(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
612
- 4194320 && _ && H && _e(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
613
- 8388624 && f && H && ke(), n.$$.dirty[0] & /*lang*/
614
- 268435456 && m && ye();
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, I = 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
+ }, a.$$.update = () => {
596
+ a.$$.dirty[0] & /*activeindex*/
597
+ 2, a.$$.dirty[0] & /*translationurl*/
598
+ 33554432 && _ && we(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
599
+ 4194320 && v && L && Ye(L, v), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
600
+ 8388624 && m && L && xe(L, m), a.$$.dirty[0] & /*customStylingContainer*/
601
+ 16 | a.$$.dirty[1] & /*mbsource*/
602
+ 1 && O && L && qe(L, `${O}.Style`), a.$$.dirty[0] & /*lang*/
603
+ 268435456 && f && be();
615
604
  }, [
616
- d,
605
+ u,
617
606
  c,
618
- y,
607
+ w,
619
608
  h,
620
- H,
621
- N,
609
+ L,
610
+ R,
622
611
  j,
623
612
  W,
624
- P,
613
+ K,
625
614
  z,
626
- O,
627
615
  G,
628
- L,
629
- K,
630
- Z,
616
+ x,
617
+ A,
618
+ X,
631
619
  $,
632
- Fe,
633
- i,
634
- a,
620
+ ee,
621
+ ke,
622
+ o,
623
+ n,
635
624
  l,
636
625
  r,
637
626
  s,
627
+ v,
628
+ m,
629
+ y,
638
630
  _,
631
+ S,
632
+ I,
639
633
  f,
640
- p,
641
634
  k,
642
- S,
643
- M,
644
- m,
645
- F,
646
- q,
647
- Me,
635
+ P,
636
+ O,
637
+ Fe,
648
638
  Ie,
639
+ Me,
649
640
  De,
650
641
  Se,
651
642
  Le,
652
- Ae,
653
- He
643
+ Ae
654
644
  ];
655
645
  }
656
- class Ve extends je {
646
+ class $e extends Te {
657
647
  constructor(e) {
658
- super(), We(
648
+ super(), je(
659
649
  this,
660
650
  e,
661
- Qe,
662
- Xe,
651
+ Ze,
652
+ Ve,
663
653
  ze,
664
654
  {
665
655
  endpoint: 17,
@@ -679,9 +669,10 @@ class Ve extends je {
679
669
  showsubgroups: 2,
680
670
  categoriesicon: 3,
681
671
  lobbyiconimage: 29,
682
- mygamesiconimage: 30
672
+ mygamesiconimage: 30,
673
+ mbsource: 31
683
674
  },
684
- Pe,
675
+ Xe,
685
676
  [-1, -1]
686
677
  );
687
678
  }
@@ -689,112 +680,118 @@ class Ve extends je {
689
680
  return this.$$.ctx[17];
690
681
  }
691
682
  set endpoint(e) {
692
- this.$$set({ endpoint: e }), w();
683
+ this.$$set({ endpoint: e }), C();
693
684
  }
694
685
  get datasource() {
695
686
  return this.$$.ctx[18];
696
687
  }
697
688
  set datasource(e) {
698
- this.$$set({ datasource: e }), w();
689
+ this.$$set({ datasource: e }), C();
699
690
  }
700
691
  get onclickeventname() {
701
692
  return this.$$.ctx[19];
702
693
  }
703
694
  set onclickeventname(e) {
704
- this.$$set({ onclickeventname: e }), w();
695
+ this.$$set({ onclickeventname: e }), C();
705
696
  }
706
697
  get actionevent() {
707
698
  return this.$$.ctx[20];
708
699
  }
709
700
  set actionevent(e) {
710
- this.$$set({ actionevent: e }), w();
701
+ this.$$set({ actionevent: e }), C();
711
702
  }
712
703
  get favoritesnumber() {
713
704
  return this.$$.ctx[21];
714
705
  }
715
706
  set favoritesnumber(e) {
716
- this.$$set({ favoritesnumber: e }), w();
707
+ this.$$set({ favoritesnumber: e }), C();
717
708
  }
718
709
  get location() {
719
710
  return this.$$.ctx[0];
720
711
  }
721
712
  set location(e) {
722
- this.$$set({ location: e }), w();
713
+ this.$$set({ location: e }), C();
723
714
  }
724
715
  get clientstyling() {
725
716
  return this.$$.ctx[22];
726
717
  }
727
718
  set clientstyling(e) {
728
- this.$$set({ clientstyling: e }), w();
719
+ this.$$set({ clientstyling: e }), C();
729
720
  }
730
721
  get clientstylingurl() {
731
722
  return this.$$.ctx[23];
732
723
  }
733
724
  set clientstylingurl(e) {
734
- this.$$set({ clientstylingurl: e }), w();
725
+ this.$$set({ clientstylingurl: e }), C();
735
726
  }
736
727
  get identity() {
737
728
  return this.$$.ctx[24];
738
729
  }
739
730
  set identity(e) {
740
- this.$$set({ identity: e }), w();
731
+ this.$$set({ identity: e }), C();
741
732
  }
742
733
  get translationurl() {
743
734
  return this.$$.ctx[25];
744
735
  }
745
736
  set translationurl(e) {
746
- this.$$set({ translationurl: e }), w();
737
+ this.$$set({ translationurl: e }), C();
747
738
  }
748
739
  get isprimarymenu() {
749
740
  return this.$$.ctx[26];
750
741
  }
751
742
  set isprimarymenu(e) {
752
- this.$$set({ isprimarymenu: e }), w();
743
+ this.$$set({ isprimarymenu: e }), C();
753
744
  }
754
745
  get issecondarymenu() {
755
746
  return this.$$.ctx[27];
756
747
  }
757
748
  set issecondarymenu(e) {
758
- this.$$set({ issecondarymenu: e }), w();
749
+ this.$$set({ issecondarymenu: e }), C();
759
750
  }
760
751
  get lang() {
761
752
  return this.$$.ctx[28];
762
753
  }
763
754
  set lang(e) {
764
- this.$$set({ lang: e }), w();
755
+ this.$$set({ lang: e }), C();
765
756
  }
766
757
  get activeindex() {
767
758
  return this.$$.ctx[1];
768
759
  }
769
760
  set activeindex(e) {
770
- this.$$set({ activeindex: e }), w();
761
+ this.$$set({ activeindex: e }), C();
771
762
  }
772
763
  get showsubgroups() {
773
764
  return this.$$.ctx[2];
774
765
  }
775
766
  set showsubgroups(e) {
776
- this.$$set({ showsubgroups: e }), w();
767
+ this.$$set({ showsubgroups: e }), C();
777
768
  }
778
769
  get categoriesicon() {
779
770
  return this.$$.ctx[3];
780
771
  }
781
772
  set categoriesicon(e) {
782
- this.$$set({ categoriesicon: e }), w();
773
+ this.$$set({ categoriesicon: e }), C();
783
774
  }
784
775
  get lobbyiconimage() {
785
776
  return this.$$.ctx[29];
786
777
  }
787
778
  set lobbyiconimage(e) {
788
- this.$$set({ lobbyiconimage: e }), w();
779
+ this.$$set({ lobbyiconimage: e }), C();
789
780
  }
790
781
  get mygamesiconimage() {
791
782
  return this.$$.ctx[30];
792
783
  }
793
784
  set mygamesiconimage(e) {
794
- this.$$set({ mygamesiconimage: e }), w();
785
+ this.$$set({ mygamesiconimage: e }), C();
786
+ }
787
+ get mbsource() {
788
+ return this.$$.ctx[31];
789
+ }
790
+ set mbsource(e) {
791
+ this.$$set({ mbsource: e }), C();
795
792
  }
796
793
  }
797
- Be(Ve, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
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);
798
795
  export {
799
- Ve as default
796
+ $e as default
800
797
  };