@everymatrix/casino-categories-slider 1.74.3 → 1.74.4

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