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