@everymatrix/casino-my-games-nd 1.86.3 → 1.86.5

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 (46) hide show
  1. package/components/{CasinoFavoritesSectionNd-DAk9Rz5y.js → CasinoFavoritesSectionNd-DnjMMxPF.js} +1044 -1076
  2. package/components/{CasinoFavoritesSectionNd-Ct7-yK1Y.js → CasinoFavoritesSectionNd-IjBGIAKV.js} +1003 -1035
  3. package/components/CasinoFavoritesSectionNd-VfWjc6cO.cjs +3 -0
  4. package/components/{CasinoFilter-thaqa7s1.js → CasinoFilter-BIQiqdaS.js} +423 -373
  5. package/components/{CasinoFilter-Di7-lhYG.js → CasinoFilter-BiUAGzYo.js} +446 -398
  6. package/components/CasinoFilter-yG2Ssg_Z.cjs +16 -0
  7. package/components/{CasinoGameThumbnailNd-v6BFSSx8.js → CasinoGameThumbnailNd-BQGhUZqf.js} +64 -66
  8. package/components/CasinoGameThumbnailNd-BsrshKrT.cjs +30 -0
  9. package/components/{CasinoGameThumbnailNd-CJbI5Vnp.js → CasinoGameThumbnailNd-UlnMygo7.js} +64 -66
  10. package/components/{CasinoGamesCategorySectionNd-1u77-OEV.js → CasinoGamesCategorySectionNd-7O2PEJfi.js} +190 -190
  11. package/components/{CasinoGamesCategorySectionNd-PMFkdFPJ.js → CasinoGamesCategorySectionNd-BTcRtShM.js} +258 -258
  12. package/components/{CasinoGamesCategorySectionNd-CQmI83_8.cjs → CasinoGamesCategorySectionNd-sCQdekDn.cjs} +1 -1
  13. package/components/{CasinoLastPlayedSectionNd-DGHqUI7n.cjs → CasinoLastPlayedSectionNd-BkEol2F9.cjs} +1 -1
  14. package/components/{CasinoLastPlayedSectionNd-CKUoApgO.js → CasinoLastPlayedSectionNd-DsyJ1YyQ.js} +46 -46
  15. package/components/{CasinoLastPlayedSectionNd-tIciGarW.js → CasinoLastPlayedSectionNd-ugG0QJz8.js} +46 -46
  16. package/components/{CasinoMostPlayedSectionNd-B0WFqlQl.js → CasinoMostPlayedSectionNd-9SnZTf2U.js} +39 -39
  17. package/components/{CasinoMostPlayedSectionNd-DExw2cHb.cjs → CasinoMostPlayedSectionNd-BSjNU0qA.cjs} +1 -1
  18. package/components/{CasinoMostPlayedSectionNd-Pcx-G5nM.js → CasinoMostPlayedSectionNd-v4PUECqD.js} +39 -39
  19. package/components/{CasinoMyGamesNd-Dt79TB3B.cjs → CasinoMyGamesNd-2mxQS8Zr.cjs} +1 -1
  20. package/components/{CasinoMyGamesNd-59jwfIW0.js → CasinoMyGamesNd-4ljZ9iaH.js} +52 -52
  21. package/components/{CasinoMyGamesNd-C6tSORAg.js → CasinoMyGamesNd-CfI4-Ywh.js} +55 -55
  22. package/components/{CasinoSort-BCyCciHd.cjs → CasinoSort-DPbziH-d.cjs} +1 -1
  23. package/components/{CasinoSort-Dc3_bYWo.js → CasinoSort-DR4XC8kH.js} +109 -108
  24. package/components/{CasinoSort-DUQ8fN-8.js → CasinoSort-WLSmCHwf.js} +116 -117
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +1 -1
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  30. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  31. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  32. package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
  33. package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
  34. package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  38. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
  39. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  40. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
  41. package/components/CasinoFavoritesSectionNd-BFcC7upG.cjs +0 -16
  42. package/components/CasinoFilter-CdSKknn8.cjs +0 -3
  43. package/components/CasinoGameThumbnailNd-6zQ8cacB.cjs +0 -30
  44. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  45. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  46. package/stencil/index-97d17652-p-iQtjus.js +0 -542
@@ -1,6 +1,6 @@
1
- import { e as ee, $ as te, S as ae, i as se, f as l, g as ie, s as ne, h as le, j as P, y as A, k as M, z as Z, n as J, l as D, m as re, o as oe, t as ue, p as ce, q as me, r as ge, H as i, x as de, B as fe, F as he } from "./CasinoFavoritesSectionNd-Ct7-yK1Y.js";
2
- import { g as ye } from "./CasinoFilter-thaqa7s1.js";
3
- function B(s, e) {
1
+ import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-DnjMMxPF.js";
2
+ import { g as ye } from "./CasinoFilter-BIQiqdaS.js";
3
+ function H(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
@@ -33,7 +33,7 @@ const V = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
36
+ ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -268,7 +268,7 @@ function _e(s) {
268
268
  ), n;
269
269
  return {
270
270
  c() {
271
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
271
+ e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
272
272
  },
273
273
  m(o, r) {
274
274
  M(o, e, r), Z(e, n);
@@ -276,7 +276,7 @@ function _e(s) {
276
276
  p(o, r) {
277
277
  r[0] & /*$_*/
278
278
  2097152 && t !== (t = /*$_*/
279
- o[21]("noRecentGames") + "") && fe(n, t);
279
+ o[21]("noRecentGames") + "") && ue(n, t);
280
280
  },
281
281
  d(o) {
282
282
  o && D(e);
@@ -285,10 +285,10 @@ function _e(s) {
285
285
  }
286
286
  function ke(s) {
287
287
  let e, t;
288
- function n(m, d) {
288
+ function n(g, d) {
289
289
  return (
290
290
  /*lastPlayedEmpty*/
291
- m[20] ? _e : we
291
+ g[20] ? _e : we
292
292
  );
293
293
  }
294
294
  let o = n(s), r = o(s);
@@ -296,41 +296,41 @@ function ke(s) {
296
296
  c() {
297
297
  e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
298
298
  },
299
- m(m, d) {
300
- M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
299
+ m(g, d) {
300
+ M(g, e, d), Z(e, t), r.m(t, null), s[26](e);
301
301
  },
302
- p(m, d) {
303
- o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
302
+ p(g, d) {
303
+ o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
304
304
  },
305
- i: J,
306
- o: J,
307
- d(m) {
308
- m && D(e), r.d(), s[26](null);
305
+ i: B,
306
+ o: B,
307
+ d(g) {
308
+ g && D(e), r.d(), s[26](null);
309
309
  }
310
310
  };
311
311
  }
312
312
  function Le(s, e, t) {
313
313
  let n;
314
- re(s, he, (a) => t(21, n = a));
315
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: E = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], H, f;
314
+ le(s, he, (a) => t(21, n = a));
315
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
316
316
  const Q = () => {
317
- fetch(_).then((g) => g.json()).then((g) => {
318
- Object.keys(g).forEach((u) => {
319
- B(u, g[u]);
317
+ fetch(_).then((m) => m.json()).then((m) => {
318
+ Object.keys(m).forEach((u) => {
319
+ H(u, m[u]);
320
320
  });
321
- }).catch((g) => {
322
- console.log(g);
321
+ }).catch((m) => {
322
+ console.log(m);
323
323
  });
324
324
  };
325
325
  Object.keys(V).forEach((a) => {
326
- B(a, V[a]);
326
+ H(a, V[a]);
327
327
  });
328
- const W = () => new Promise((a, g) => {
328
+ const W = () => new Promise((a, m) => {
329
329
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
330
- u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), H = k ? u : u.href, fetch(H).then((c) => c.json()).then((c) => {
330
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
331
331
  c.items = c.items.filter(($) => {
332
- let I = !0;
333
- return $.gameCode == "OddsMatrix2" && (c.count--, I = !1), I;
332
+ let J = !0;
333
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
334
334
  }), a(c), window.postMessage(
335
335
  {
336
336
  type: "AddNewCategory",
@@ -339,17 +339,17 @@ function Le(s, e, t) {
339
339
  window.location.href
340
340
  ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
341
341
  }).catch((c) => {
342
- console.error(c), g(c);
342
+ console.error(c), m(c);
343
343
  });
344
344
  }), X = () => {
345
345
  W().then((a) => {
346
346
  if (a.count > 0) {
347
- let g = [];
347
+ let m = [];
348
348
  a.items.forEach((u) => {
349
349
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
350
- h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
351
- }), Promise.all(g).then((u) => {
352
- L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
350
+ h.searchParams.append("datasource", r), k ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
351
+ }), Promise.all(m).then((u) => {
352
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
353
353
  });
354
354
  } else
355
355
  t(20, Y = !0);
@@ -357,29 +357,29 @@ function Le(s, e, t) {
357
357
  }, p = () => {
358
358
  be(d);
359
359
  };
360
- oe(() => () => {
360
+ re(() => () => {
361
361
  });
362
362
  function x(a) {
363
- ce[a ? "unshift" : "push"](() => {
363
+ oe[a ? "unshift" : "push"](() => {
364
364
  f = a, t(19, f);
365
365
  });
366
366
  }
367
367
  return s.$$set = (a) => {
368
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, E = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, S = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
368
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
369
369
  }, s.$$.update = () => {
370
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
371
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
372
372
  512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
- 524416 && v && f && me(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
- 524544 && w && f && ge(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
375
- 524352 && b && f && ue(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
373
+ 524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524544 && w && f && me(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
375
+ 524352 && b && f && de(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
378
378
  o,
379
379
  r,
380
- m,
380
+ g,
381
381
  d,
382
- F,
382
+ E,
383
383
  y,
384
384
  b,
385
385
  v,
@@ -388,16 +388,16 @@ function Le(s, e, t) {
388
388
  k,
389
389
  N,
390
390
  z,
391
- E,
391
+ F,
392
392
  O,
393
- S,
393
+ C,
394
394
  T,
395
395
  R,
396
396
  U,
397
397
  f,
398
398
  Y,
399
399
  n,
400
- C,
400
+ S,
401
401
  j,
402
402
  G,
403
403
  q,
@@ -411,7 +411,7 @@ class Pe extends ae {
411
411
  e,
412
412
  Le,
413
413
  ke,
414
- ne,
414
+ ie,
415
415
  {
416
416
  endpoint: 0,
417
417
  datasource: 1,
@@ -580,7 +580,7 @@ class Pe extends ae {
580
580
  this.$$set({ fetchviaevent: e }), l();
581
581
  }
582
582
  }
583
- ie(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
583
+ fe(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
584
584
  export {
585
585
  Pe as default
586
586
  };
@@ -1,6 +1,6 @@
1
- import { e as ee, $ as te, S as ae, i as se, f as l, g as ie, s as ne, h as le, j as P, y as A, k as M, z as Z, n as J, l as D, m as re, o as oe, t as ue, p as ce, q as me, r as ge, H as i, x as de, B as fe, F as he } from "./CasinoFavoritesSectionNd-DAk9Rz5y.js";
2
- import { g as ye } from "./CasinoFilter-Di7-lhYG.js";
3
- function B(s, e) {
1
+ import { b as ee, $ as te, S as ae, i as se, s as ie, f as l, c as ne, n as B, d as D, e as M, q as Z, g as P, k as A, h as le, o as re, j as oe, p as ue, w as ce, E as i, z as ge, A as me, B as de, C as fe, D as he } from "./CasinoFavoritesSectionNd-IjBGIAKV.js";
2
+ import { g as ye } from "./CasinoFilter-BiUAGzYo.js";
3
+ function H(s, e) {
4
4
  ee(s, e);
5
5
  }
6
6
  function be(s) {
@@ -33,7 +33,7 @@ const V = {
33
33
  }
34
34
  };
35
35
  function ve(s) {
36
- le(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
36
+ ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
37
  }
38
38
  function we(s) {
39
39
  let e;
@@ -268,7 +268,7 @@ function _e(s) {
268
268
  ), n;
269
269
  return {
270
270
  c() {
271
- e = P("p"), n = de(t), A(e, "class", "SearchLoading");
271
+ e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
272
272
  },
273
273
  m(o, r) {
274
274
  M(o, e, r), Z(e, n);
@@ -276,7 +276,7 @@ function _e(s) {
276
276
  p(o, r) {
277
277
  r[0] & /*$_*/
278
278
  2097152 && t !== (t = /*$_*/
279
- o[21]("noRecentGames") + "") && fe(n, t);
279
+ o[21]("noRecentGames") + "") && ue(n, t);
280
280
  },
281
281
  d(o) {
282
282
  o && D(e);
@@ -285,10 +285,10 @@ function _e(s) {
285
285
  }
286
286
  function ke(s) {
287
287
  let e, t;
288
- function n(m, d) {
288
+ function n(g, d) {
289
289
  return (
290
290
  /*lastPlayedEmpty*/
291
- m[20] ? _e : we
291
+ g[20] ? _e : we
292
292
  );
293
293
  }
294
294
  let o = n(s), r = o(s);
@@ -296,41 +296,41 @@ function ke(s) {
296
296
  c() {
297
297
  e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
298
298
  },
299
- m(m, d) {
300
- M(m, e, d), Z(e, t), r.m(t, null), s[26](e);
299
+ m(g, d) {
300
+ M(g, e, d), Z(e, t), r.m(t, null), s[26](e);
301
301
  },
302
- p(m, d) {
303
- o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
302
+ p(g, d) {
303
+ o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
304
304
  },
305
- i: J,
306
- o: J,
307
- d(m) {
308
- m && D(e), r.d(), s[26](null);
305
+ i: B,
306
+ o: B,
307
+ d(g) {
308
+ g && D(e), r.d(), s[26](null);
309
309
  }
310
310
  };
311
311
  }
312
312
  function Le(s, e, t) {
313
313
  let n;
314
- re(s, he, (a) => t(21, n = a));
315
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: E = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], H, f;
314
+ le(s, he, (a) => t(21, n = a));
315
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
316
316
  const Q = () => {
317
- fetch(_).then((g) => g.json()).then((g) => {
318
- Object.keys(g).forEach((u) => {
319
- B(u, g[u]);
317
+ fetch(_).then((m) => m.json()).then((m) => {
318
+ Object.keys(m).forEach((u) => {
319
+ H(u, m[u]);
320
320
  });
321
- }).catch((g) => {
322
- console.log(g);
321
+ }).catch((m) => {
322
+ console.log(m);
323
323
  });
324
324
  };
325
325
  Object.keys(V).forEach((a) => {
326
- B(a, V[a]);
326
+ H(a, V[a]);
327
327
  });
328
- const W = () => new Promise((a, g) => {
328
+ const W = () => new Promise((a, m) => {
329
329
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
330
- u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", C), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), H = k ? u : u.href, fetch(H).then((c) => c.json()).then((c) => {
330
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
331
331
  c.items = c.items.filter(($) => {
332
- let I = !0;
333
- return $.gameCode == "OddsMatrix2" && (c.count--, I = !1), I;
332
+ let J = !0;
333
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
334
334
  }), a(c), window.postMessage(
335
335
  {
336
336
  type: "AddNewCategory",
@@ -339,17 +339,17 @@ function Le(s, e, t) {
339
339
  window.location.href
340
340
  ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
341
341
  }).catch((c) => {
342
- console.error(c), g(c);
342
+ console.error(c), m(c);
343
343
  });
344
344
  }), X = () => {
345
345
  W().then((a) => {
346
346
  if (a.count > 0) {
347
- let g = [];
347
+ let m = [];
348
348
  a.items.forEach((u) => {
349
349
  let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
350
- h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
351
- }), Promise.all(g).then((u) => {
352
- L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
350
+ h.searchParams.append("datasource", r), k ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
351
+ }), Promise.all(m).then((u) => {
352
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
353
353
  });
354
354
  } else
355
355
  t(20, Y = !0);
@@ -357,29 +357,29 @@ function Le(s, e, t) {
357
357
  }, p = () => {
358
358
  be(d);
359
359
  };
360
- oe(() => () => {
360
+ re(() => () => {
361
361
  });
362
362
  function x(a) {
363
- ce[a ? "unshift" : "push"](() => {
363
+ oe[a ? "unshift" : "push"](() => {
364
364
  f = a, t(19, f);
365
365
  });
366
366
  }
367
367
  return s.$$set = (a) => {
368
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, E = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, S = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
368
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
369
369
  }, s.$$.update = () => {
370
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
371
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
372
372
  512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
- 524416 && v && f && me(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
- 524544 && w && f && ge(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
375
- 524352 && b && f && ue(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
373
+ 524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524544 && w && f && me(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
375
+ 524352 && b && f && de(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
378
378
  o,
379
379
  r,
380
- m,
380
+ g,
381
381
  d,
382
- F,
382
+ E,
383
383
  y,
384
384
  b,
385
385
  v,
@@ -388,16 +388,16 @@ function Le(s, e, t) {
388
388
  k,
389
389
  N,
390
390
  z,
391
- E,
391
+ F,
392
392
  O,
393
- S,
393
+ C,
394
394
  T,
395
395
  R,
396
396
  U,
397
397
  f,
398
398
  Y,
399
399
  n,
400
- C,
400
+ S,
401
401
  j,
402
402
  G,
403
403
  q,
@@ -411,7 +411,7 @@ class Pe extends ae {
411
411
  e,
412
412
  Le,
413
413
  ke,
414
- ne,
414
+ ie,
415
415
  {
416
416
  endpoint: 0,
417
417
  datasource: 1,
@@ -580,7 +580,7 @@ class Pe extends ae {
580
580
  this.$$set({ fetchviaevent: e }), l();
581
581
  }
582
582
  }
583
- ie(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
583
+ fe(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
584
584
  export {
585
585
  Pe as default
586
586
  };