@everymatrix/casino-page-nd 1.52.1 → 1.52.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.
Files changed (18) hide show
  1. package/components/{CasinoFavoritesSectionNd-DOM621Gf.cjs → CasinoFavoritesSectionNd-D9EgYtQr.cjs} +1 -1
  2. package/components/{CasinoFavoritesSectionNd-DcAkpPgr.js → CasinoFavoritesSectionNd-DinaCljR.js} +1 -1
  3. package/components/CasinoGamesCategorySectionNd-C7W3KXyj.cjs +1 -0
  4. package/components/{CasinoGamesCategorySectionNd-CW-zJgQ3.js → CasinoGamesCategorySectionNd-XS-RPS1S.js} +1 -1
  5. package/components/{CasinoLastPlayedSectionNd-DxnkShrw.js → CasinoLastPlayedSectionNd-CFnfQfPn.js} +1 -1
  6. package/components/{CasinoLastPlayedSectionNd-CGf-abk3.cjs → CasinoLastPlayedSectionNd-Cl2OF978.cjs} +1 -1
  7. package/components/{CasinoMostPlayedSectionNd-DePNWg2S.js → CasinoMostPlayedSectionNd-BFIAC7be.js} +1 -1
  8. package/components/{CasinoMostPlayedSectionNd-DYaAEd2W.cjs → CasinoMostPlayedSectionNd-BmjBUT8I.cjs} +1 -1
  9. package/components/{CasinoMyGamesNd-HwxjLY5k.js → CasinoMyGamesNd-CrmJypvm.js} +40 -40
  10. package/components/{CasinoMyGamesNd-DDnn6xTK.cjs → CasinoMyGamesNd-PBkTpF4e.cjs} +1 -1
  11. package/components/{CasinoPageNd-OiDycZMJ.cjs → CasinoPageNd-Cqqz6t1x.cjs} +1 -1
  12. package/components/{CasinoPageNd-DtGF74tZ.js → CasinoPageNd-DCpxLx_F.js} +3 -3
  13. package/components/{CasinoSearchNd-CZJkWPAF.cjs → CasinoSearchNd-CXLc43xt.cjs} +1 -1
  14. package/components/{CasinoSearchNd-Bar7saDl.js → CasinoSearchNd-D0h6uEt9.js} +1 -1
  15. package/es2015/casino-page-nd.cjs +1 -1
  16. package/es2015/casino-page-nd.js +1 -1
  17. package/package.json +1 -1
  18. package/components/CasinoGamesCategorySectionNd-DjQqXSZO.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { $ as S, a as ge, I as he, S as ve, i as pe, f as u, c as be, s as _e, b as Pe, e as _, d as P, C as Y, j as w, J as we, o as Me, l as ke, m as Fe, p as x, q as A, u as M, v as b, B as Le, F as Ce, N as Ge, r as L, w as T, A as q, P as i } from "./CasinoCalendar-DOhm0UH1.js";
1
+ import { $ as T, a as ge, I as he, S as ve, i as pe, f as u, c as be, s as _e, b as Pe, e as _, d as P, C as Y, j as w, J as we, o as Me, l as ke, m as Fe, p as x, q as O, u as M, v as b, B as Le, F as Ce, N as Ge, r as L, w as H, A as N, P as i } from "./CasinoCalendar-DOhm0UH1.js";
2
2
  function Ee({ withLocale: a, translations: e }) {
3
- S.subscribe((t) => {
4
- t == null && (ge.set(e), S.set(a));
3
+ T.subscribe((t) => {
4
+ t == null && (ge.set(e), T.set(a));
5
5
  });
6
6
  }
7
7
  function $(a, e) {
8
8
  he(a, e);
9
9
  }
10
10
  function Be(a) {
11
- S.set(a);
11
+ T.set(a);
12
12
  }
13
13
  const ee = {
14
14
  en: {
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-DcAkpPgr.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-DinaCljR.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section-nd") && customElements.define("casino-favorites-section-nd", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-DxnkShrw.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-CFnfQfPn.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window != "undefined") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-DePNWg2S.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-BFIAC7be.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", e.element);
151
151
  });
152
152
  }
@@ -184,7 +184,7 @@ function Oe(a) {
184
184
  e = _("div"), t = _("div"), s = _("div");
185
185
  for (let f = 0; f < r.length; f += 1)
186
186
  r[f].c();
187
- m = A(), n = _("div"), y && y.c(), M(s, "class", "MyGamesButtonsContainer"), M(t, "class", "MyGamesHeader"), M(e, "class", d = "CasinoMyGames " + /*mobile*/
187
+ m = O(), n = _("div"), y && y.c(), M(s, "class", "MyGamesButtonsContainer"), M(t, "class", "MyGamesHeader"), M(e, "class", d = "CasinoMyGames " + /*mobile*/
188
188
  (a[26] ? "Mobile" : ""));
189
189
  },
190
190
  m(f, g) {
@@ -225,7 +225,7 @@ function ae(a) {
225
225
  ), s, m, n, d, o, r, h, v, y;
226
226
  return {
227
227
  c() {
228
- e = _("button"), s = L(t), m = A(), n = _("span"), d = L("("), o = L(
228
+ e = _("button"), s = L(t), m = O(), n = _("span"), d = L("("), o = L(
229
229
  /*favoritesCount*/
230
230
  a[28]
231
231
  ), r = L(")"), M(e, "class", h = "MyGamesButton " + /*gamesType*/
@@ -233,7 +233,7 @@ function ae(a) {
233
233
  (a[14] == "false" ? "Off" : ""));
234
234
  },
235
235
  m(f, g) {
236
- P(f, e, g), b(e, s), b(e, m), b(e, n), b(n, d), b(n, o), b(n, r), v || (y = T(
236
+ P(f, e, g), b(e, s), b(e, m), b(e, n), b(n, d), b(n, o), b(n, r), v || (y = H(
237
237
  e,
238
238
  "click",
239
239
  /*click_handler*/
@@ -243,8 +243,8 @@ function ae(a) {
243
243
  p(f, g) {
244
244
  g[0] & /*$_*/
245
245
  536870912 && t !== (t = /*$_*/
246
- f[29]("favorites") + "") && q(s, t), g[0] & /*favoritesCount*/
247
- 268435456 && q(
246
+ f[29]("favorites") + "") && N(s, t), g[0] & /*favoritesCount*/
247
+ 268435456 && N(
248
248
  o,
249
249
  /*favoritesCount*/
250
250
  f[28]
@@ -270,7 +270,7 @@ function se(a) {
270
270
  (a[15] == "false" ? "Off" : ""));
271
271
  },
272
272
  m(o, r) {
273
- P(o, e, r), b(e, s), n || (d = T(
273
+ P(o, e, r), b(e, s), n || (d = H(
274
274
  e,
275
275
  "click",
276
276
  /*click_handler_1*/
@@ -280,7 +280,7 @@ function se(a) {
280
280
  p(o, r) {
281
281
  r[0] & /*$_*/
282
282
  536870912 && t !== (t = /*$_*/
283
- o[29]("mostPlayed") + "") && q(s, t), r[0] & /*gamesType, mostplayed*/
283
+ o[29]("mostPlayed") + "") && N(s, t), r[0] & /*gamesType, mostplayed*/
284
284
  33587200 && m !== (m = "MyGamesButton " + /*gamesType*/
285
285
  (o[25] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
286
286
  (o[15] == "false" ? "Off" : "")) && M(e, "class", m);
@@ -297,12 +297,12 @@ function ie(a) {
297
297
  ), s, m, n, d, o;
298
298
  return {
299
299
  c() {
300
- e = _("button"), s = L(t), m = A(), M(e, "class", n = "MyGamesButton " + /*gamesType*/
300
+ e = _("button"), s = L(t), m = O(), M(e, "class", n = "MyGamesButton " + /*gamesType*/
301
301
  (a[25] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
302
302
  (a[16] == "false" ? "Off" : ""));
303
303
  },
304
304
  m(r, h) {
305
- P(r, e, h), b(e, s), b(e, m), d || (o = T(
305
+ P(r, e, h), b(e, s), b(e, m), d || (o = H(
306
306
  e,
307
307
  "click",
308
308
  /*click_handler_2*/
@@ -312,7 +312,7 @@ function ie(a) {
312
312
  p(r, h) {
313
313
  h[0] & /*$_*/
314
314
  536870912 && t !== (t = /*$_*/
315
- r[29]("recentlyPlayed") + "") && q(s, t), h[0] & /*gamesType, lastplayed*/
315
+ r[29]("recentlyPlayed") + "") && N(s, t), h[0] & /*gamesType, lastplayed*/
316
316
  33619968 && n !== (n = "MyGamesButton " + /*gamesType*/
317
317
  (r[25] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
318
318
  (r[16] == "false" ? "Off" : "")) && M(e, "class", n);
@@ -335,7 +335,7 @@ function le(a) {
335
335
  );
336
336
  return {
337
337
  c() {
338
- m && m.c(), e = A(), n && n.c(), t = A(), d && d.c(), s = Ce();
338
+ m && m.c(), e = O(), n && n.c(), t = O(), d && d.c(), s = Ce();
339
339
  },
340
340
  m(o, r) {
341
341
  m && m.m(o, r), P(o, e, r), n && n.m(o, r), P(o, t, r), d && d.m(o, r), P(o, s, r);
@@ -1025,12 +1025,12 @@ function Ne(a) {
1025
1025
  function Se(a, e, t) {
1026
1026
  let s;
1027
1027
  we(a, Ge, (l) => t(29, s = l));
1028
- let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile: U = "" } = e, { translationurl: O = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: z = "false" } = e, { lastplayedperiod: I = "Last30Days" } = e, { mostplayedperiod: R = "Last30Days" } = e, { lastplayedorder: J = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: K = "" } = e, ne = window.navigator.userAgent, k, j = "", Q = !1, F = ["", "", ""], N = "0";
1028
+ let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { clientstyling: v = "" } = e, { clientstylingurl: y = "" } = e, { livecasino: f = "" } = e, { visiblegames: g = "" } = e, { gamepagemodalurl: c = "" } = e, { showgamename: C = "" } = e, { integratedgameframedesktop: U = "" } = e, { integratedgameframemobile: z = "" } = e, { translationurl: j = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: B = "false" } = e, { casinomygames: I = "false" } = e, { lastplayedperiod: R = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: V = "" } = e, { lastplayedlimit: Z = "" } = e, { lastplayedunique: K = "true" } = e, { mostplayedrounds: Q = "" } = e, ne = window.navigator.userAgent, k, D = "", W = !1, F = ["", "", ""], S = "0";
1029
1029
  Ee({ withLocale: "en", translations: {} });
1030
1030
  const oe = () => {
1031
- fetch(O).then((p) => p.json()).then((p) => {
1032
- Object.keys(p).forEach((X) => {
1033
- $(X, p[X]);
1031
+ fetch(j).then((p) => p.json()).then((p) => {
1032
+ Object.keys(p).forEach((A) => {
1033
+ $(A, p[A]);
1034
1034
  });
1035
1035
  }).catch((p) => {
1036
1036
  console.log(p);
@@ -1039,10 +1039,10 @@ function Se(a, e, t) {
1039
1039
  Object.keys(ee).forEach((l) => {
1040
1040
  $(l, ee[l]);
1041
1041
  });
1042
- const D = (l) => {
1043
- j !== l && t(25, j = l);
1042
+ const q = (l) => {
1043
+ D !== l && t(25, D = l);
1044
1044
  }, re = () => {
1045
- t(25, j = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(27, F[0] = G === "true" ? "Favorites" : "", F), t(27, F[1] = E === "true" ? "MostPlayed" : "", F), t(27, F[2] = B === "true" ? "LastPlayed" : "", F), Be(r);
1045
+ t(25, D = G === "true" ? "Favorites" : E === "true" ? "MostPlayed" : B === "true" ? "LastPlayed" : ""), t(27, F[0] = G === "true" ? "Favorites" : "", F), t(27, F[1] = E === "true" ? "MostPlayed" : "", F), t(27, F[2] = B === "true" ? "LastPlayed" : "", F), Be(r);
1046
1046
  }, me = () => {
1047
1047
  let l = document.createElement("style");
1048
1048
  l.innerHTML = v, k.appendChild(l);
@@ -1056,30 +1056,30 @@ function Se(a, e, t) {
1056
1056
  1
1057
1057
  );
1058
1058
  });
1059
- }, W = (l) => {
1060
- var p;
1059
+ }, X = (l) => {
1060
+ var p, A;
1061
1061
  if (l.data)
1062
1062
  switch (l.data.type) {
1063
1063
  case "UpdateFavoritesCount":
1064
- l.data.favoriteGamesLength ? t(28, N = l.data.favoriteGamesLength) : t(28, N = (p = l.data.listOfFavoritesGames) == null ? void 0 : p.length);
1064
+ l.data.favoriteGamesLength !== void 0 ? t(28, S = l.data.favoriteGamesLength) : t(28, S = (A = (p = l.data.listOfFavoritesGames) == null ? void 0 : p.length) != null ? A : 0);
1065
1065
  break;
1066
1066
  }
1067
1067
  };
1068
- Me(() => (window.addEventListener("message", W, !1), t(26, Q = ke(ne)), () => {
1069
- window.removeEventListener("message", W);
1068
+ Me(() => (window.addEventListener("message", X, !1), t(26, W = ke(ne)), () => {
1069
+ window.removeEventListener("message", X);
1070
1070
  }));
1071
- const fe = () => D("Favorites"), ue = () => D("MostPlayed"), ye = () => D("LastPlayed");
1071
+ const fe = () => q("Favorites"), ue = () => q("MostPlayed"), ye = () => q("LastPlayed");
1072
1072
  function ce(l) {
1073
1073
  Fe[l ? "unshift" : "push"](() => {
1074
1074
  k = l, t(24, k);
1075
1075
  });
1076
1076
  }
1077
1077
  return a.$$set = (l) => {
1078
- "userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, v = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, C = l.showgamename), "integratedgameframedesktop" in l && t(12, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, U = l.integratedgameframemobile), "translationurl" in l && t(31, O = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, z = l.casinomygames), "lastplayedperiod" in l && t(18, I = l.lastplayedperiod), "mostplayedperiod" in l && t(19, R = l.mostplayedperiod), "lastplayedorder" in l && t(20, J = l.lastplayedorder), "lastplayedlimit" in l && t(21, V = l.lastplayedlimit), "lastplayedunique" in l && t(22, Z = l.lastplayedunique), "mostplayedrounds" in l && t(23, K = l.mostplayedrounds);
1078
+ "userid" in l && t(0, m = l.userid), "session" in l && t(1, n = l.session), "endpoint" in l && t(2, d = l.endpoint), "datasource" in l && t(3, o = l.datasource), "lang" in l && t(4, r = l.lang), "currency" in l && t(5, h = l.currency), "clientstyling" in l && t(6, v = l.clientstyling), "clientstylingurl" in l && t(7, y = l.clientstylingurl), "livecasino" in l && t(8, f = l.livecasino), "visiblegames" in l && t(9, g = l.visiblegames), "gamepagemodalurl" in l && t(10, c = l.gamepagemodalurl), "showgamename" in l && t(11, C = l.showgamename), "integratedgameframedesktop" in l && t(12, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(13, z = l.integratedgameframemobile), "translationurl" in l && t(31, j = l.translationurl), "favorites" in l && t(14, G = l.favorites), "mostplayed" in l && t(15, E = l.mostplayed), "lastplayed" in l && t(16, B = l.lastplayed), "casinomygames" in l && t(17, I = l.casinomygames), "lastplayedperiod" in l && t(18, R = l.lastplayedperiod), "mostplayedperiod" in l && t(19, J = l.mostplayedperiod), "lastplayedorder" in l && t(20, V = l.lastplayedorder), "lastplayedlimit" in l && t(21, Z = l.lastplayedlimit), "lastplayedunique" in l && t(22, K = l.lastplayedunique), "mostplayedrounds" in l && t(23, Q = l.mostplayedrounds);
1079
1079
  }, a.$$.update = () => {
1080
1080
  a.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
1081
1081
  114716 && d && o && r && G && E && B && re(), a.$$.dirty[1] & /*translationurl*/
1082
- 1 && O && oe(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1082
+ 1 && j && oe(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1083
1083
  16777280 && v && k && me(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1084
1084
  16777344 && y && k && de();
1085
1085
  }, [
@@ -1095,26 +1095,26 @@ function Se(a, e, t) {
1095
1095
  g,
1096
1096
  c,
1097
1097
  C,
1098
- H,
1099
1098
  U,
1099
+ z,
1100
1100
  G,
1101
1101
  E,
1102
1102
  B,
1103
- z,
1104
1103
  I,
1105
1104
  R,
1106
1105
  J,
1107
1106
  V,
1108
1107
  Z,
1109
1108
  K,
1110
- k,
1111
- j,
1112
1109
  Q,
1110
+ k,
1111
+ D,
1112
+ W,
1113
1113
  F,
1114
- N,
1114
+ S,
1115
1115
  s,
1116
- D,
1117
- O,
1116
+ q,
1117
+ j,
1118
1118
  fe,
1119
1119
  ue,
1120
1120
  ye,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B-gPVc8F.cjs");function se({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function U(s,e){t.addMessages(s,e)}function le(s){t.$locale.set(s)}const z={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-DOM621Gf.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-CGf-abk3.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-DYaAEd2W.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",e.element)})}function ne(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(s,e,a){const l=s.slice();return l[43]=e[a],l}function ie(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[27]),m=[];for(let u=0;u<o.length;u+=1)m[u]=Z(R(s,o,u));function y(u,f){if(u[25]=="Favorites")return re;if(u[25]=="MostPlayed")return me;if(u[25]=="LastPlayed")return oe}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[26]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&2046935040){o=t.ensure_array_like(u[27]);let c;for(c=0;c<o.length;c+=1){const b=R(u,o,c);m[c]?m[c].p(b,f):(m[c]=Z(b),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&67108864&&d!==(d="CasinoMyGames "+(u[26]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function I(s){let e,a=s[29]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[28]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[25]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[32]),g=!0)},p(u,f){f[0]&536870912&&a!==(a=u[29]("favorites")+"")&&t.set_data(l,a),f[0]&268435456&&t.set_data(o,u[28]),f[0]&33570816&&y!==(y="MyGamesButton "+(u[25]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function J(s){let e,a=s[29]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[25]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[33]),i=!0)},p(o,m){m[0]&536870912&&a!==(a=o[29]("mostPlayed")+"")&&t.set_data(l,a),m[0]&33587200&&r!==(r="MyGamesButton "+(o[25]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function V(s){let e,a=s[29]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[25]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[34]),d=!0)},p(m,y){y[0]&536870912&&a!==(a=m[29]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&33619968&&i!==(i="MyGamesButton "+(m[25]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function Z(s){let e,a,l,r=s[43]=="Favorites"&&I(s),i=s[43]=="MostPlayed"&&J(s),d=s[43]=="LastPlayed"&&V(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=I(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=J(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=V(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function oe(s){let e;return{c(){e=t.element("casino-last-played-section-nd"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-most-played-section-nd"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function re(s){let e;return{c(){e=t.element("casino-favorites-section-nd"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function de(s){let e;function a(i,d){if(i[17])return ie}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[35](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[35](null)}}}function ue(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(29,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:b=""}=e,{integratedgameframedesktop:G=""}=e,{integratedgameframemobile:E=""}=e,{translationurl:k=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:O="false"}=e,{lastplayedperiod:B="Last30Days"}=e,{mostplayedperiod:A="Last30Days"}=e,{lastplayedorder:j=""}=e,{lastplayedlimit:q=""}=e,{lastplayedunique:D="true"}=e,{mostplayedrounds:S=""}=e,Q=window.navigator.userAgent,p,C="",T=!1,v=["","",""],L="0";se({withLocale:"en",translations:{}});const W=()=>{fetch(k).then(h=>h.json()).then(h=>{Object.keys(h).forEach(H=>{U(H,h[H])})}).catch(h=>{console.log(h)})};Object.keys(z).forEach(n=>{U(n,z[n])});const F=n=>{C!==n&&a(25,C=n)},X=()=>{a(25,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(27,v[0]=P==="true"?"Favorites":"",v),a(27,v[1]=w==="true"?"MostPlayed":"",v),a(27,v[2]=M==="true"?"LastPlayed":"",v),le(m)},Y=()=>{let n=document.createElement("style");n.innerHTML=g,p.appendChild(n)},x=()=>{let n=document.createElement("style");fetch(new URL(_)).then(h=>h.text()).then(h=>{n.innerHTML=h,setTimeout(()=>{p.appendChild(n)},1)})},N=n=>{var h;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength?a(28,L=n.data.favoriteGamesLength):a(28,L=(h=n.data.listOfFavoritesGames)==null?void 0:h.length);break}};t.onMount(()=>(window.addEventListener("message",N,!1),a(26,T=t.isMobile(Q)),()=>{window.removeEventListener("message",N)}));const $=()=>F("Favorites"),ee=()=>F("MostPlayed"),te=()=>F("LastPlayed");function ae(n){t.binding_callbacks[n?"unshift":"push"](()=>{p=n,a(24,p)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,b=n.showgamename),"integratedgameframedesktop"in n&&a(12,G=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,E=n.integratedgameframemobile),"translationurl"in n&&a(31,k=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,O=n.casinomygames),"lastplayedperiod"in n&&a(18,B=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,A=n.mostplayedperiod),"lastplayedorder"in n&&a(20,j=n.lastplayedorder),"lastplayedlimit"in n&&a(21,q=n.lastplayedlimit),"lastplayedunique"in n&&a(22,D=n.lastplayedunique),"mostplayedrounds"in n&&a(23,S=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&114716&&d&&o&&m&&P&&w&&M&&X(),s.$$.dirty[1]&1&&k&&W(),s.$$.dirty[0]&16777280&&g&&p&&Y(),s.$$.dirty[0]&16777344&&_&&p&&x()},[r,i,d,o,m,y,g,_,u,f,c,b,G,E,P,w,M,O,B,A,j,q,D,S,p,C,T,v,L,l,F,k,$,ee,te,ae]}class K extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ue,de,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B-gPVc8F.cjs");function se({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function U(s,e){t.addMessages(s,e)}function le(s){t.$locale.set(s)}const z={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSectionNd-D9EgYtQr.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section-nd")&&customElements.define("casino-favorites-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSectionNd-Cl2OF978.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSectionNd-BmjBUT8I.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",e.element)})}function ne(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(s,e,a){const l=s.slice();return l[43]=e[a],l}function ie(s){let e,a,l,d,i,r,o=t.ensure_array_like(s[27]),m=[];for(let u=0;u<o.length;u+=1)m[u]=Z(R(s,o,u));function y(u,f){if(u[25]=="Favorites")return de;if(u[25]=="MostPlayed")return me;if(u[25]=="LastPlayed")return oe}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();d=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",r="CasinoMyGames "+(s[26]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,d),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&2046935040){o=t.ensure_array_like(u[27]);let c;for(c=0;c<o.length;c+=1){const b=R(u,o,c);m[c]?m[c].p(b,f):(m[c]=Z(b),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&67108864&&r!==(r="CasinoMyGames "+(u[26]?"Mobile":""))&&t.attr(e,"class",r)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function I(s){let e,a=s[29]("favorites")+"",l,d,i,r,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),d=t.space(),i=t.element("span"),r=t.text("("),o=t.text(s[28]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[25]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,d),t.append(e,i),t.append(i,r),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[32]),g=!0)},p(u,f){f[0]&536870912&&a!==(a=u[29]("favorites")+"")&&t.set_data(l,a),f[0]&268435456&&t.set_data(o,u[28]),f[0]&33570816&&y!==(y="MyGamesButton "+(u[25]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function J(s){let e,a=s[29]("mostPlayed")+"",l,d,i,r;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",d="MyGamesButton "+(s[25]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(r=t.listen(e,"click",s[33]),i=!0)},p(o,m){m[0]&536870912&&a!==(a=o[29]("mostPlayed")+"")&&t.set_data(l,a),m[0]&33587200&&d!==(d="MyGamesButton "+(o[25]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",d)},d(o){o&&t.detach(e),i=!1,r()}}}function V(s){let e,a=s[29]("recentlyPlayed")+"",l,d,i,r,o;return{c(){e=t.element("button"),l=t.text(a),d=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[25]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,d),r||(o=t.listen(e,"click",s[34]),r=!0)},p(m,y){y[0]&536870912&&a!==(a=m[29]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&33619968&&i!==(i="MyGamesButton "+(m[25]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),r=!1,o()}}}function Z(s){let e,a,l,d=s[43]=="Favorites"&&I(s),i=s[43]=="MostPlayed"&&J(s),r=s[43]=="LastPlayed"&&V(s);return{c(){d&&d.c(),e=t.space(),i&&i.c(),a=t.space(),r&&r.c(),l=t.empty()},m(o,m){d&&d.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),r&&r.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?d?d.p(o,m):(d=I(o),d.c(),d.m(e.parentNode,e)):d&&(d.d(1),d=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=J(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?r?r.p(o,m):(r=V(o),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),d&&d.d(o),i&&i.d(o),r&&r.d(o)}}}function oe(s){let e;return{c(){e=t.element("casino-last-played-section-nd"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-most-played-section-nd"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function de(s){let e;return{c(){e=t.element("casino-favorites-section-nd"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,r){if(i[17])return ie}let l=a(s),d=l&&l(s);return{c(){e=t.element("div"),d&&d.c()},m(i,r){t.insert(i,e,r),d&&d.m(e,null),s[35](e)},p(i,r){l===(l=a(i))&&d?d.p(i,r):(d&&d.d(1),d=l&&l(i),d&&(d.c(),d.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),d&&d.d(),s[35](null)}}}function ue(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(29,l=n));let{userid:d=""}=e,{session:i=""}=e,{endpoint:r=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:b=""}=e,{integratedgameframedesktop:E=""}=e,{integratedgameframemobile:O=""}=e,{translationurl:C=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:B="false"}=e,{lastplayedperiod:A="Last30Days"}=e,{mostplayedperiod:j="Last30Days"}=e,{lastplayedorder:q=""}=e,{lastplayedlimit:D=""}=e,{lastplayedunique:S="true"}=e,{mostplayedrounds:T=""}=e,Q=window.navigator.userAgent,p,F="",N=!1,v=["","",""],G="0";se({withLocale:"en",translations:{}});const W=()=>{fetch(C).then(h=>h.json()).then(h=>{Object.keys(h).forEach(k=>{U(k,h[k])})}).catch(h=>{console.log(h)})};Object.keys(z).forEach(n=>{U(n,z[n])});const L=n=>{F!==n&&a(25,F=n)},X=()=>{a(25,F=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(27,v[0]=P==="true"?"Favorites":"",v),a(27,v[1]=w==="true"?"MostPlayed":"",v),a(27,v[2]=M==="true"?"LastPlayed":"",v),le(m)},Y=()=>{let n=document.createElement("style");n.innerHTML=g,p.appendChild(n)},x=()=>{let n=document.createElement("style");fetch(new URL(_)).then(h=>h.text()).then(h=>{n.innerHTML=h,setTimeout(()=>{p.appendChild(n)},1)})},H=n=>{var h,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(28,G=n.data.favoriteGamesLength):a(28,G=(k=(h=n.data.listOfFavoritesGames)==null?void 0:h.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(26,N=t.isMobile(Q)),()=>{window.removeEventListener("message",H)}));const $=()=>L("Favorites"),ee=()=>L("MostPlayed"),te=()=>L("LastPlayed");function ae(n){t.binding_callbacks[n?"unshift":"push"](()=>{p=n,a(24,p)})}return s.$$set=n=>{"userid"in n&&a(0,d=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,r=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,b=n.showgamename),"integratedgameframedesktop"in n&&a(12,E=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,O=n.integratedgameframemobile),"translationurl"in n&&a(31,C=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,B=n.casinomygames),"lastplayedperiod"in n&&a(18,A=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,j=n.mostplayedperiod),"lastplayedorder"in n&&a(20,q=n.lastplayedorder),"lastplayedlimit"in n&&a(21,D=n.lastplayedlimit),"lastplayedunique"in n&&a(22,S=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&114716&&r&&o&&m&&P&&w&&M&&X(),s.$$.dirty[1]&1&&C&&W(),s.$$.dirty[0]&16777280&&g&&p&&Y(),s.$$.dirty[0]&16777344&&_&&p&&x()},[d,i,r,o,m,y,g,_,u,f,c,b,E,O,P,w,M,B,A,j,q,D,S,T,p,F,N,v,G,l,L,C,$,ee,te,ae]}class K extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ue,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;