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