@everymatrix/casino-games-category-section-nd 1.98.1 → 1.98.3

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.
@@ -6057,7 +6057,7 @@ if (typeof window != "undefined") {
6057
6057
  }
6058
6058
  };
6059
6059
  };
6060
- customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-oZMl-fJ1.js").then(({ default: e }) => {
6060
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-CYADKou7.js").then(({ default: e }) => {
6061
6061
  !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
6062
6062
  });
6063
6063
  }
@@ -6073,7 +6073,7 @@ if (typeof window != "undefined") {
6073
6073
  }
6074
6074
  };
6075
6075
  };
6076
- customElements.define = t(customElements.define), import("./CasinoFilter-BE6IfGDH.js").then(({ default: e }) => {
6076
+ customElements.define = t(customElements.define), import("./CasinoFilter-a23ISEs0.js").then(({ default: e }) => {
6077
6077
  !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
6078
6078
  });
6079
6079
  }
@@ -6089,7 +6089,7 @@ if (typeof window != "undefined") {
6089
6089
  }
6090
6090
  };
6091
6091
  };
6092
- customElements.define = t(customElements.define), import("./CasinoSort-CWx1oX7o.js").then(({ default: e }) => {
6092
+ customElements.define = t(customElements.define), import("./CasinoSort-6lrfgG12.js").then(({ default: e }) => {
6093
6093
  !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
6094
6094
  });
6095
6095
  }
@@ -9320,7 +9320,7 @@ const qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9320
9320
  }, Symbol.toStringTag, { value: "Module" }));
9321
9321
  export {
9322
9322
  rt as $,
9323
- Oe as A,
9323
+ ju as A,
9324
9324
  Yu as B,
9325
9325
  Xu as C,
9326
9326
  Qe as D,
@@ -9338,12 +9338,12 @@ export {
9338
9338
  zi as S,
9339
9339
  Ba as a,
9340
9340
  Ci as b,
9341
- Be as c,
9341
+ mr as c,
9342
9342
  P as d,
9343
- mr as e,
9343
+ s as e,
9344
9344
  L as f,
9345
- s as g,
9346
- _ as h,
9345
+ _ as g,
9346
+ Be as h,
9347
9347
  xi as i,
9348
9348
  k as j,
9349
9349
  N as k,
@@ -9360,6 +9360,6 @@ export {
9360
9360
  Z as v,
9361
9361
  Xs as w,
9362
9362
  Ie as x,
9363
- ju as y,
9364
- Ce as z
9363
+ Ce as y,
9364
+ Oe as z
9365
9365
  };
@@ -6020,7 +6020,7 @@ if (typeof window < "u") {
6020
6020
  }
6021
6021
  };
6022
6022
  };
6023
- customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-620MkEBF.js").then(({ default: e }) => {
6023
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-CfKH-efG.js").then(({ default: e }) => {
6024
6024
  !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
6025
6025
  });
6026
6026
  }
@@ -6036,7 +6036,7 @@ if (typeof window < "u") {
6036
6036
  }
6037
6037
  };
6038
6038
  };
6039
- customElements.define = t(customElements.define), import("./CasinoFilter-Cu5BPzLH.js").then(({ default: e }) => {
6039
+ customElements.define = t(customElements.define), import("./CasinoFilter-3HgTWqfE.js").then(({ default: e }) => {
6040
6040
  !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
6041
6041
  });
6042
6042
  }
@@ -6052,7 +6052,7 @@ if (typeof window < "u") {
6052
6052
  }
6053
6053
  };
6054
6054
  };
6055
- customElements.define = t(customElements.define), import("./CasinoSort-CRl30H88.js").then(({ default: e }) => {
6055
+ customElements.define = t(customElements.define), import("./CasinoSort-DR2kedvg.js").then(({ default: e }) => {
6056
6056
  !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
6057
6057
  });
6058
6058
  }
@@ -9243,8 +9243,8 @@ class Su extends Ti {
9243
9243
  Si(Su, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, allowsingleclickgameentry: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {}, customizesectionicon: {}, requiredicon: {}, livelobbydataendpoint: {}, displaygametiles: {}, operatorid: {} }, [], [], !0);
9244
9244
  export {
9245
9245
  Qe as $,
9246
- be as A,
9247
- ye as B,
9246
+ ye as A,
9247
+ Cu as B,
9248
9248
  Pu as C,
9249
9249
  ku as D,
9250
9250
  je as E,
@@ -9262,13 +9262,13 @@ export {
9262
9262
  Ca as a,
9263
9263
  si as b,
9264
9264
  Si as c,
9265
- Ae as d,
9266
- C as e,
9265
+ C as d,
9266
+ er as e,
9267
9267
  N as f,
9268
- er as g,
9269
- s as h,
9268
+ s as g,
9269
+ _ as h,
9270
9270
  Ei as i,
9271
- _ as j,
9271
+ Ae as j,
9272
9272
  O as k,
9273
9273
  M as l,
9274
9274
  P as m,
@@ -9284,5 +9284,5 @@ export {
9284
9284
  j as w,
9285
9285
  ks as x,
9286
9286
  Me as y,
9287
- Cu as z
9287
+ be as z
9288
9288
  };
@@ -1,4 +1,4 @@
1
- import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, j as R, l as m, o as st, p as it, x as ct, D as G, E as dt, r as K, h as r, k as s, u as tt, z as Z, m as I, v as Q, F as pt, G as gt, I as ut, J as ht, K as mt } from "./CasinoGamesCategorySectionNd-Dz0YFdHP.js";
1
+ import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, j as R, l as m, o as st, p as it, x as ct, D as G, E as dt, r as K, g as r, k as s, u as tt, y as Z, m as I, v as Q, F as pt, G as gt, I as ut, J as ht, K as mt } from "./CasinoGamesCategorySectionNd-E-WUCPyM.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -146,7 +146,7 @@ function wt(t) {
146
146
  let e, o, a, l, i, d, f, g, k, b, u, w = (
147
147
  /*$_*/
148
148
  t[4]("sortby") + ""
149
- ), S, v, x, L, z = (
149
+ ), S, v, x, L, C = (
150
150
  /*vendorSortingBy*/
151
151
  (t[3] || /*$_*/
152
152
  t[4]("all")) + ""
@@ -158,7 +158,7 @@ function wt(t) {
158
158
  y[c] = $(Y(t, H, c));
159
159
  return {
160
160
  c() {
161
- e = m("div"), o = m("div"), a = m("div"), l = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), g = Z("path"), k = I(), b = m("div"), u = m("span"), S = Q(w), v = I(), x = m("div"), L = m("span"), E = Q(z), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), p = m("div"), _ = m("ul");
161
+ e = m("div"), o = m("div"), a = m("div"), l = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), g = Z("path"), k = I(), b = m("div"), u = m("span"), S = Q(w), v = I(), x = m("div"), L = m("span"), E = Q(C), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), p = m("div"), _ = m("ul");
162
162
  for (let c = 0; c < y.length; c += 1)
163
163
  y[c].c();
164
164
  r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(u, "class", "SorterName"), r(x, "class", "SorterValueContainer"), r(b, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(N, "id", "arrow"), r(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(N, "transform", "translate(-274.511 -441.088)"), r(N, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(F, "class", B = "TriangleInactive " + /*isSorterActive*/
@@ -166,8 +166,8 @@ function wt(t) {
166
166
  (t[1] ? "SorterSelectorOpen" : "")), r(_, "class", "SorterDropdown"), r(p, "class", D = "SorterDropdownContainer " + /*isSorterActive*/
167
167
  (t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
168
168
  },
169
- m(c, C) {
170
- R(c, e, C), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, f), s(i, g), s(a, k), s(a, b), s(b, u), s(u, S), s(b, v), s(b, x), s(x, L), s(L, E), s(o, T), s(o, F), s(F, A), s(A, N), s(e, n), s(e, p), s(p, _);
169
+ m(c, z) {
170
+ R(c, e, z), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, f), s(i, g), s(a, k), s(a, b), s(b, u), s(u, S), s(b, v), s(b, x), s(x, L), s(L, E), s(o, T), s(o, F), s(F, A), s(A, N), s(e, n), s(e, p), s(p, _);
171
171
  for (let h = 0; h < y.length; h += 1)
172
172
  y[h] && y[h].m(_, null);
173
173
  j || (V = tt(
@@ -177,17 +177,17 @@ function wt(t) {
177
177
  t[14]
178
178
  ), j = !0);
179
179
  },
180
- p(c, C) {
181
- if (C & /*$_*/
180
+ p(c, z) {
181
+ if (z & /*$_*/
182
182
  16 && w !== (w = /*$_*/
183
- c[4]("sortby") + "") && K(S, w), C & /*vendorSortingBy, $_*/
184
- 24 && z !== (z = /*vendorSortingBy*/
183
+ c[4]("sortby") + "") && K(S, w), z & /*vendorSortingBy, $_*/
184
+ 24 && C !== (C = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && K(E, z), C & /*isSorterActive*/
186
+ c[4]("all")) + "") && K(E, C), z & /*isSorterActive*/
187
187
  2 && B !== (B = "TriangleInactive " + /*isSorterActive*/
188
- (c[1] ? "TriangleActive" : "")) && r(F, "class", B), C & /*isSorterActive*/
188
+ (c[1] ? "TriangleActive" : "")) && r(F, "class", B), z & /*isSorterActive*/
189
189
  2 && O !== (O = "SorterSelector " + /*isSorterActive*/
190
- (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", O), C & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
190
+ (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", O), z & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
191
191
  120) {
192
192
  H = G(Object.values(
193
193
  /*vendorMap*/
@@ -196,13 +196,13 @@ function wt(t) {
196
196
  let h;
197
197
  for (h = 0; h < H.length; h += 1) {
198
198
  const J = Y(c, H, h);
199
- y[h] ? y[h].p(J, C) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
199
+ y[h] ? y[h].p(J, z) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
200
200
  }
201
201
  for (; h < y.length; h += 1)
202
202
  y[h].d(1);
203
203
  y.length = H.length;
204
204
  }
205
- C & /*isSorterActive*/
205
+ z & /*isSorterActive*/
206
206
  2 && D !== (D = "SorterDropdownContainer " + /*isSorterActive*/
207
207
  (c[1] ? "SorterOpen" : "")) && r(p, "class", D);
208
208
  },
@@ -297,7 +297,7 @@ function St(t, e, o) {
297
297
  Object.keys(X).forEach((n) => {
298
298
  W(n, X[n]);
299
299
  });
300
- const z = {
300
+ const C = {
301
301
  All: a("all"),
302
302
  name: a("az"),
303
303
  isNew: a("newest"),
@@ -306,13 +306,13 @@ function St(t, e, o) {
306
306
  var p;
307
307
  o(3, x = "All"), o(2, S = !1), o(1, w = !1);
308
308
  let n = (p = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : p[g];
309
- n ? o(3, x = n) : o(3, x = "All"), o(3, x = z[n]);
309
+ n ? o(3, x = n) : o(3, x = "All"), o(3, x = C[n]);
310
310
  }, T = (n) => {
311
311
  o(3, x = n);
312
312
  let p = localStorage.getItem("vendorSortingBy");
313
313
  v = n;
314
- for (let _ in z)
315
- if (z[_] === n) {
314
+ for (let _ in C)
315
+ if (C[_] === n) {
316
316
  v = _;
317
317
  break;
318
318
  }
@@ -353,7 +353,7 @@ function St(t, e, o) {
353
353
  S,
354
354
  x,
355
355
  a,
356
- z,
356
+ C,
357
357
  T,
358
358
  F,
359
359
  l,
@@ -1,4 +1,4 @@
1
- import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, e as P, k as R, m, p as st, q as it, y as ct, E as G, F as dt, u as K, j as r, l as s, v as tt, A as Z, o as I, w as Q, I as pt, J as gt, K as ut, c as ht, G as mt } from "./CasinoGamesCategorySectionNd-DaDmavbW.js";
1
+ import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, k as R, m, p as st, q as it, y as ct, E as G, F as dt, u as K, h as r, l as s, v as tt, z as Z, o as I, w as Q, I as pt, J as gt, K as ut, c as ht, G as mt } from "./CasinoGamesCategorySectionNd-ctnr0Ri7.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -146,11 +146,11 @@ function wt(t) {
146
146
  let e, o, a, l, i, d, f, p, k, b, u, w = (
147
147
  /*$_*/
148
148
  t[4]("sortby") + ""
149
- ), S, v, x, L, C = (
149
+ ), S, v, x, L, z = (
150
150
  /*vendorSortingBy*/
151
151
  (t[3] || /*$_*/
152
152
  t[4]("all")) + ""
153
- ), E, T, F, A, N, B, O, n, g, _, j, D, V, H = G(Object.values(
153
+ ), E, T, F, A, N, B, O, n, g, _, D, j, V, H = G(Object.values(
154
154
  /*vendorMap*/
155
155
  t[5]
156
156
  )), y = [];
@@ -158,36 +158,36 @@ function wt(t) {
158
158
  y[c] = $(Y(t, H, c));
159
159
  return {
160
160
  c() {
161
- e = m("div"), o = m("div"), a = m("div"), l = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), p = Z("path"), k = I(), b = m("div"), u = m("span"), S = Q(w), v = I(), x = m("div"), L = m("span"), E = Q(C), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), g = m("div"), _ = m("ul");
161
+ e = m("div"), o = m("div"), a = m("div"), l = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), p = Z("path"), k = I(), b = m("div"), u = m("span"), S = Q(w), v = I(), x = m("div"), L = m("span"), E = Q(z), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), g = m("div"), _ = m("ul");
162
162
  for (let c = 0; c < y.length; c += 1)
163
163
  y[c].c();
164
164
  r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(p, "id", "Path_5269"), r(p, "data-name", "Path 5269"), r(p, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(p, "transform", "translate(-412.896 0)"), r(p, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(u, "class", "SorterName"), r(x, "class", "SorterValueContainer"), r(b, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(N, "id", "arrow"), r(N, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(N, "transform", "translate(-274.511 -441.088)"), r(N, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(F, "class", B = "TriangleInactive " + /*isSorterActive*/
165
165
  (t[1] ? "TriangleActive" : "")), r(o, "class", O = "SorterSelector " + /*isSorterActive*/
166
- (t[1] ? "SorterSelectorOpen" : "")), r(_, "class", "SorterDropdown"), r(g, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
166
+ (t[1] ? "SorterSelectorOpen" : "")), r(_, "class", "SorterDropdown"), r(g, "class", D = "SorterDropdownContainer " + /*isSorterActive*/
167
167
  (t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
168
168
  },
169
- m(c, z) {
170
- R(c, e, z), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, f), s(i, p), s(a, k), s(a, b), s(b, u), s(u, S), s(b, v), s(b, x), s(x, L), s(L, E), s(o, T), s(o, F), s(F, A), s(A, N), s(e, n), s(e, g), s(g, _);
169
+ m(c, C) {
170
+ R(c, e, C), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, f), s(i, p), s(a, k), s(a, b), s(b, u), s(u, S), s(b, v), s(b, x), s(x, L), s(L, E), s(o, T), s(o, F), s(F, A), s(A, N), s(e, n), s(e, g), s(g, _);
171
171
  for (let h = 0; h < y.length; h += 1)
172
172
  y[h] && y[h].m(_, null);
173
- D || (V = tt(
173
+ j || (V = tt(
174
174
  o,
175
175
  "click",
176
176
  /*click_handler*/
177
177
  t[14]
178
- ), D = !0);
178
+ ), j = !0);
179
179
  },
180
- p(c, z) {
181
- if (z & /*$_*/
180
+ p(c, C) {
181
+ if (C & /*$_*/
182
182
  16 && w !== (w = /*$_*/
183
- c[4]("sortby") + "") && K(S, w), z & /*vendorSortingBy, $_*/
184
- 24 && C !== (C = /*vendorSortingBy*/
183
+ c[4]("sortby") + "") && K(S, w), C & /*vendorSortingBy, $_*/
184
+ 24 && z !== (z = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && K(E, C), z & /*isSorterActive*/
186
+ c[4]("all")) + "") && K(E, z), C & /*isSorterActive*/
187
187
  2 && B !== (B = "TriangleInactive " + /*isSorterActive*/
188
- (c[1] ? "TriangleActive" : "")) && r(F, "class", B), z & /*isSorterActive*/
188
+ (c[1] ? "TriangleActive" : "")) && r(F, "class", B), C & /*isSorterActive*/
189
189
  2 && O !== (O = "SorterSelector " + /*isSorterActive*/
190
- (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", O), z & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
190
+ (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", O), C & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
191
191
  120) {
192
192
  H = G(Object.values(
193
193
  /*vendorMap*/
@@ -196,18 +196,18 @@ function wt(t) {
196
196
  let h;
197
197
  for (h = 0; h < H.length; h += 1) {
198
198
  const J = Y(c, H, h);
199
- y[h] ? y[h].p(J, z) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
199
+ y[h] ? y[h].p(J, C) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
200
200
  }
201
201
  for (; h < y.length; h += 1)
202
202
  y[h].d(1);
203
203
  y.length = H.length;
204
204
  }
205
- z & /*isSorterActive*/
206
- 2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
207
- (c[1] ? "SorterOpen" : "")) && r(g, "class", j);
205
+ C & /*isSorterActive*/
206
+ 2 && D !== (D = "SorterDropdownContainer " + /*isSorterActive*/
207
+ (c[1] ? "SorterOpen" : "")) && r(g, "class", D);
208
208
  },
209
209
  d(c) {
210
- c && P(e), dt(y, c), D = !1, V();
210
+ c && P(e), dt(y, c), j = !1, V();
211
211
  }
212
212
  };
213
213
  }
@@ -297,7 +297,7 @@ function St(t, e, o) {
297
297
  Object.keys(X).forEach((n) => {
298
298
  W(n, X[n]);
299
299
  });
300
- const C = {
300
+ const z = {
301
301
  All: a("all"),
302
302
  name: a("az"),
303
303
  isNew: a("newest"),
@@ -305,13 +305,13 @@ function St(t, e, o) {
305
305
  }, E = () => {
306
306
  o(3, x = "All"), o(2, S = !1), o(1, w = !1);
307
307
  let n = JSON.parse(localStorage.getItem("vendorSortingBy"))?.[p];
308
- n ? o(3, x = n) : o(3, x = "All"), o(3, x = C[n]);
308
+ n ? o(3, x = n) : o(3, x = "All"), o(3, x = z[n]);
309
309
  }, T = (n) => {
310
310
  o(3, x = n);
311
311
  let g = localStorage.getItem("vendorSortingBy");
312
312
  v = n;
313
- for (let _ in C)
314
- if (C[_] === n) {
313
+ for (let _ in z)
314
+ if (z[_] === n) {
315
315
  v = _;
316
316
  break;
317
317
  }
@@ -352,7 +352,7 @@ function St(t, e, o) {
352
352
  S,
353
353
  x,
354
354
  a,
355
- C,
355
+ z,
356
356
  T,
357
357
  F,
358
358
  l,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoGamesCategorySectionNd-CFZActoS.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,m,d,x,y,g,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,N,F,o,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),h=[];for(let i=0;i<Z.length;i+=1)h[i]=P(D(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),m=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),g=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),o=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<h.length;i+=1)h[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(g,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(C,"class",N="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",F="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,m),t.append(s,d),t.append(a,x),t.append(a,y),t.append(y,g),t.append(g,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,o),t.append(r,c),t.append(c,v);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&N!==(N="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",N),k&2&&F!==(F="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",F),k&120){Z=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<Z.length;u+=1){const T=D(i,Z,u);h[u]?h[u].p(T,k):(h[u]=P(T),h[u].c(),h[u].m(v,null))}for(;u<h.length;u+=1)h[u].d(1);h.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(h,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,m,d,x,y,g;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),m=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,m),t.append(n,d),t.append(r,x),y||(g=t.listen(a,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(b){b&&t.detach(r),y=!1,g()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:m=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,g,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let o=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];o?n(3,S=o):n(3,S="All"),n(3,S=A[o])},O=o=>{n(3,S=o);let c=localStorage.getItem("vendorSortingBy");w=o;for(let v in A)if(A[v]===o){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=o=>{o.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));const z=()=>C(),N=o=>O(o);function F(o){t.binding_callbacks[o?"unshift":"push"](()=>{g=o,n(0,g)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,m=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,x=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&g&&t.setClientStyling(g,p),e.$$.dirty&2049&&m&&g&&t.setClientStylingURL(g,m),e.$$.dirty&8193&&g&&t.setStreamStyling(g,`${x}.Style`,y),e.$$.dirty&512&&s&&B()},[g,f,b,S,a,A,O,C,l,s,p,m,d,x,z,N,F]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoGamesCategorySectionNd-BjCICH0V.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-p37neu",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,m,d,x,y,g,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,N,F,o,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),h=[];for(let i=0;i<Z.length;i+=1)h[i]=P(D(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),m=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),g=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),o=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<h.length;i+=1)h[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(g,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(C,"class",N="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",F="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,m),t.append(s,d),t.append(a,x),t.append(a,y),t.append(y,g),t.append(g,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,o),t.append(r,c),t.append(c,v);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&N!==(N="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",N),k&2&&F!==(F="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",F),k&120){Z=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<Z.length;u+=1){const T=D(i,Z,u);h[u]?h[u].p(T,k):(h[u]=P(T),h[u].c(),h[u].m(v,null))}for(;u<h.length;u+=1)h[u].d(1);h.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(h,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,m,d,x,y,g;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),m=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,m),t.append(n,d),t.append(r,x),y||(g=t.listen(a,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(b){b&&t.detach(r),y=!1,g()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:m=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,g,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let o=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];o?n(3,S=o):n(3,S="All"),n(3,S=A[o])},O=o=>{n(3,S=o);let c=localStorage.getItem("vendorSortingBy");w=o;for(let v in A)if(A[v]===o){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=o=>{o.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));const z=()=>C(),N=o=>O(o);function F(o){t.binding_callbacks[o?"unshift":"push"](()=>{g=o,n(0,g)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,m=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,x=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&g&&t.setClientStyling(g,p),e.$$.dirty&2049&&m&&g&&t.setClientStylingURL(g,m),e.$$.dirty&8193&&g&&t.setStreamStyling(g,`${x}.Style`,y),e.$$.dirty&512&&s&&B()},[g,f,b,S,a,A,O,C,l,s,p,m,d,x,z,N,F]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySectionNd-CFZActoS.cjs")).then(e=>e.CasinoGamesCategorySectionNd_ce).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySectionNd-BjCICH0V.cjs")).then(e=>e.CasinoGamesCategorySectionNd_ce).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySectionNd-Dz0YFdHP.js").then((e) => e.O).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySectionNd-E-WUCPyM.js").then((e) => e.O).then(({ default: e }) => {
14
14
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { O as s } from "../components/CasinoGamesCategorySectionNd-DaDmavbW.js";
1
+ import { O as s } from "../components/CasinoGamesCategorySectionNd-ctnr0Ri7.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-games-category-section-nd",
3
- "version": "1.98.1",
3
+ "version": "1.98.3",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-games-category-section-nd.cjs",
6
6
  "module": "esnext/casino-games-category-section-nd.js",