@everymatrix/casino-page-nd 1.56.2 → 1.57.0

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 (59) hide show
  1. package/components/{CasinoCalendar-B72qCmVu.js → CasinoCalendar-Beb-D9v5.js} +959 -995
  2. package/components/{CasinoCalendar-B_WI7Mt3.js → CasinoCalendar-qVpbXj-D.js} +707 -743
  3. package/components/{CasinoCalendar-BYA6uJQI.cjs → CasinoCalendar-zkVoyaEl.cjs} +5 -5
  4. package/components/{CasinoCalendarDailyDetails-D6TvS_Uw.cjs → CasinoCalendarDailyDetails-C6Lmn7pW.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-C7w893Od.js → CasinoCalendarDailyDetails-C6Shuvfx.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-C6UIzboP.js → CasinoCalendarDailyDetails-CmmQq8VR.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-Brbbja83.js → CasinoCalendarDailyItem-BLMalLZx.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-thGDWh2Q.cjs → CasinoCalendarDailyItem-D7q0pxAo.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-Dn4fP4pR.js → CasinoCalendarDailyItem-DlHg6exr.js} +1 -1
  10. package/components/{CasinoCollectionsProviders-C_PrWYCC.js → CasinoCollectionsProviders-BU9Vdk7f.js} +250 -262
  11. package/components/CasinoCollectionsProviders-CKeIv7Lm.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-8ZQ44tRK.js → CasinoCollectionsProviders-KxO7bWw9.js} +251 -263
  13. package/components/{CasinoFavoritesSectionNd-D0uxeFMF.js → CasinoFavoritesSectionNd-B6eGVKwL.js} +26 -26
  14. package/components/{CasinoFavoritesSectionNd-DruLKFit.cjs → CasinoFavoritesSectionNd-BP1OHrZH.cjs} +1 -1
  15. package/components/{CasinoFavoritesSectionNd-CQCLvjg0.js → CasinoFavoritesSectionNd-KuBsOlJI.js} +26 -26
  16. package/components/{CasinoFilter-D-mxzzEe.js → CasinoFilter-5P8W2ayY.js} +18 -18
  17. package/components/{CasinoFilter-DccaWSTr.cjs → CasinoFilter-BLgXtVi-.cjs} +1 -1
  18. package/components/{CasinoFilter-Dy3YLxDF.js → CasinoFilter-EmKNpmwo.js} +18 -18
  19. package/components/{CasinoGameThumbnailNd-CkE5llqF.cjs → CasinoGameThumbnailNd-B0au4q34.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-BH0MIxp8.js → CasinoGameThumbnailNd-CBP0Dwi-.js} +1 -1
  21. package/components/{CasinoGameThumbnailNd-B8JRjL-K.js → CasinoGameThumbnailNd-CDbQyDrE.js} +1 -1
  22. package/components/{CasinoGamesCategorySectionNd-BAw_qUGw.cjs → CasinoGamesCategorySectionNd-Bdvqc877.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-s5oua2PM.js → CasinoGamesCategorySectionNd-CiaLHNwg.js} +31 -31
  24. package/components/{CasinoGamesCategorySectionNd-BAKacraj.js → CasinoGamesCategorySectionNd-DrkQNzat.js} +30 -30
  25. package/components/{CasinoJackpotBanner-Ck34M8Rn.js → CasinoJackpotBanner-CJWjyexm.js} +18 -18
  26. package/components/{CasinoJackpotBanner-DBgKc4Vm.js → CasinoJackpotBanner-DquJdUya.js} +18 -18
  27. package/components/{CasinoJackpotBanner-jRgsElNl.cjs → CasinoJackpotBanner-o_Mbn9dc.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CxJcyDWz.cjs → CasinoLastPlayedSectionNd-BPmkjL98.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-C5AZiudZ.js → CasinoLastPlayedSectionNd-Ck4zj6YG.js} +16 -16
  30. package/components/{CasinoLastPlayedSectionNd-nO4muZUi.js → CasinoLastPlayedSectionNd-DMIObHTX.js} +16 -16
  31. package/components/{CasinoMostPlayedSectionNd-47uLbFny.js → CasinoMostPlayedSectionNd--5Pa-sA9.js} +16 -16
  32. package/components/{CasinoMostPlayedSectionNd-YoUF3qH_.js → CasinoMostPlayedSectionNd-5XKFLNY-.js} +16 -16
  33. package/components/{CasinoMostPlayedSectionNd-B5NQpnpQ.cjs → CasinoMostPlayedSectionNd-C22bkiGI.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-D7ECNSVx.js → CasinoMyGamesNd-56Zbf9NJ.js} +8 -8
  35. package/components/{CasinoMyGamesNd-DsKldyeX.js → CasinoMyGamesNd-DC9u9wLU.js} +9 -9
  36. package/components/{CasinoMyGamesNd-B1mqR1iV.cjs → CasinoMyGamesNd-X6TN-N1_.cjs} +1 -1
  37. package/components/{CasinoPageNd-DG9eHxjS.js → CasinoPageNd-BWLAQwMS.js} +47 -47
  38. package/components/{CasinoPageNd-1_im-1pg.cjs → CasinoPageNd-DBYFCIwV.cjs} +1 -1
  39. package/components/{CasinoPageNd-Celr6stC.js → CasinoPageNd-DSKUaPmH.js} +47 -47
  40. package/components/{CasinoRandomGame-CJFo5sac.js → CasinoRandomGame-B9Eg9Cv4.js} +19 -19
  41. package/components/{CasinoRandomGame-BvuuUTa2.cjs → CasinoRandomGame-CUHxVoyq.cjs} +1 -1
  42. package/components/{CasinoRandomGame-B-xXZGGd.js → CasinoRandomGame-DR6TctHg.js} +18 -18
  43. package/components/{CasinoSearchNd-DcMWXQsy.cjs → CasinoSearchNd-BDsM4W1x.cjs} +1 -1
  44. package/components/{CasinoSearchNd-TwDFmePv.js → CasinoSearchNd-C0LJM6ba.js} +3 -3
  45. package/components/{CasinoSearchNd-DnYIShqN.js → CasinoSearchNd-e8PZoPu9.js} +3 -3
  46. package/components/{CasinoSort-CHjWMDyt.cjs → CasinoSort-5x4S3mG_.cjs} +1 -1
  47. package/components/{CasinoSort-B9N4OdAh.js → CasinoSort-BygFei5r.js} +7 -7
  48. package/components/{CasinoSort-aie8VxYZ.js → CasinoSort-DvLkFtIz.js} +7 -7
  49. package/components/{CasinoWinners-DNTO27qv.js → CasinoWinners-BZEiqOuZ.js} +58 -58
  50. package/components/{CasinoWinners-CTQkjPOu.cjs → CasinoWinners-DbQvZp-o.cjs} +1 -1
  51. package/components/{CasinoWinners-DEKSrQmC.js → CasinoWinners-tsFI0Qkd.js} +55 -55
  52. package/components/{GeneralAnimationLoading-exiETQWf.cjs → GeneralAnimationLoading-BFfW6U-2.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-45G5WFWJ.js → GeneralAnimationLoading-Bfdh1dfh.js} +1 -1
  54. package/components/{GeneralAnimationLoading-BTVnRCeI.js → GeneralAnimationLoading-g0jjajHE.js} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/components/CasinoCollectionsProviders-BVnxWKQ2.cjs +0 -1
@@ -1,12 +1,12 @@
1
- import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as K, G as Y, j as E, k as oe, o as le, l as re, m as me, U as ge, q as ce, r as ue, T as n, x as de, E as fe, I as he } from "./CasinoCalendar-B_WI7Mt3.js";
2
- import "./CasinoFavoritesSectionNd-CQCLvjg0.js";
3
- function B(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as l, c as ae, s as ne, b as ie, e as P, y as M, d as A, z as H, G as Q, j as E, k as oe, o as le, l as re, m as me, R as ge, q as ce, r as ue, Q as n, x as de, E as fe, I as he } from "./CasinoCalendar-Beb-D9v5.js";
2
+ import "./CasinoFavoritesSectionNd-B6eGVKwL.js";
3
+ function Y(a, e) {
4
4
  $(a, e);
5
5
  }
6
6
  function ye(a) {
7
7
  ee.set(a);
8
8
  }
9
- const H = {
9
+ const B = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -290,7 +290,7 @@ function _e(a) {
290
290
  e = P("p"), i = de(s), M(e, "class", "SearchLoading");
291
291
  },
292
292
  m(m, r) {
293
- A(m, e, r), K(e, i);
293
+ A(m, e, r), H(e, i);
294
294
  },
295
295
  p(m, r) {
296
296
  r[0] & /*$_*/
@@ -316,13 +316,13 @@ function Ge(a) {
316
316
  e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
317
317
  },
318
318
  m(g, c) {
319
- A(g, e, c), K(e, s), r.m(s, null), a[24](e);
319
+ A(g, e, c), H(e, s), r.m(s, null), a[24](e);
320
320
  },
321
321
  p(g, c) {
322
322
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
323
323
  },
324
- i: Y,
325
- o: Y,
324
+ i: Q,
325
+ o: Q,
326
326
  d(g) {
327
327
  g && E(e), r.d(), a[24](null);
328
328
  }
@@ -331,18 +331,18 @@ function Ge(a) {
331
331
  function ke(a, e, s) {
332
332
  let i;
333
333
  oe(a, he, (t) => s(20, i = t));
334
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: T = "false" } = e, { showgamename: U = "" } = e, { visiblegames: j } = e, { favorites: R = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
334
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: S = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: z = "true" } = e, K = window.navigator.userAgent;
335
335
  const V = () => {
336
336
  fetch(w).then((o) => o.json()).then((o) => {
337
337
  Object.keys(o).forEach((d) => {
338
- B(d, o[d]);
338
+ Y(d, o[d]);
339
339
  });
340
340
  }).catch((o) => {
341
341
  console.log(o);
342
342
  });
343
343
  };
344
- Object.keys(H).forEach((t) => {
345
- B(t, H[t]);
344
+ Object.keys(B).forEach((t) => {
345
+ Y(t, B[t]);
346
346
  });
347
347
  let N = [], I, q = !1, u;
348
348
  const W = (t) => {
@@ -362,7 +362,7 @@ function ke(a, e, s) {
362
362
  }, X = () => {
363
363
  W({
364
364
  limit: 100,
365
- device: ge(Q),
365
+ device: ge(K),
366
366
  rounds: L
367
367
  }).then((t) => {
368
368
  if (t.count > 0) {
@@ -387,7 +387,7 @@ function ke(a, e, s) {
387
387
  });
388
388
  }
389
389
  return a.$$set = (t) => {
390
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, T = t.gamepagemodalurl), "showgamename" in t && s(13, U = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, R = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
390
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, w = t.translationurl), "casinomygames" in t && s(16, S = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -409,10 +409,10 @@ function ke(a, e, s) {
409
409
  k,
410
410
  O,
411
411
  D,
412
+ R,
412
413
  T,
413
- U,
414
414
  j,
415
- R,
415
+ U,
416
416
  S,
417
417
  z,
418
418
  u,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BYA6uJQI.cjs");require("./CasinoFavoritesSectionNd-DruLKFit.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-zkVoyaEl.cjs");require("./CasinoFavoritesSectionNd-BP1OHrZH.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,4 +1,4 @@
1
- import { $ as N, R as ce, a as ge, S as he, i as be, f as u, c as ve, s as pe, b as _e, e as p, d as _, G as x, j as P, k as Pe, o as we, l as Me, m as ke, p as Fe, q as Le, r as Ce, v as $, w as B, y as w, z as v, F as Ge, K as Ee, I as Ae, x as L, A as T, E as S, T as s } from "./CasinoCalendar-B_WI7Mt3.js";
1
+ import { $ as N, P as ce, a as ge, S as he, i as be, f as u, c as ve, s as pe, b as _e, e as p, d as _, G as x, j as P, k as Pe, o as we, l as Me, m as ke, p as Fe, q as Le, r as Ce, v as $, w as B, y as w, z as v, F as Ge, K as Ee, I as Ae, x as L, A as T, E as S, Q as s } from "./CasinoCalendar-qVpbXj-D.js";
2
2
  function Be({ withLocale: a, translations: e }) {
3
3
  N.subscribe((t) => {
4
4
  t == null && (ce.set(e), N.set(a));
@@ -114,7 +114,7 @@ if (typeof window < "u") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-CQCLvjg0.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-KuBsOlJI.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 < "u") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-C5AZiudZ.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-DMIObHTX.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 < "u") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-YoUF3qH_.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd--5Pa-sA9.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
  }
@@ -1063,7 +1063,7 @@ function Te(a) {
1063
1063
  function ze(a, e, t) {
1064
1064
  let i;
1065
1065
  Pe(a, Ae, (l) => t(30, i = l));
1066
- let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { mbsource: b } = e, { clientstyling: y = "" } = e, { clientstylingurl: f = "" } = e, { livecasino: g = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: C = "" } = e, { showgamename: z = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile: I = "" } = e, { translationurl: O = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: A = "false" } = e, { casinomygames: R = "false" } = e, { lastplayedperiod: U = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: Q = "" } = e, oe = window.navigator.userAgent, M, j = "", W = !1, k = ["", "", ""], q = "0";
1066
+ let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { mbsource: b } = e, { clientstyling: y = "" } = e, { clientstylingurl: f = "" } = e, { livecasino: g = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: C = "" } = e, { showgamename: z = "" } = e, { integratedgameframedesktop: H = "" } = e, { integratedgameframemobile: I = "" } = e, { translationurl: O = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: A = "false" } = e, { casinomygames: U = "false" } = e, { lastplayedperiod: R = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: Q = "" } = e, { lastplayedunique: V = "true" } = e, { mostplayedrounds: Z = "" } = e, oe = window.navigator.userAgent, M, j = "", W = !1, k = ["", "", ""], q = "0";
1067
1067
  Be({ withLocale: "en", translations: {} });
1068
1068
  const re = () => {
1069
1069
  fetch(O).then((F) => F.json()).then((F) => {
@@ -1099,7 +1099,7 @@ function ze(a, e, t) {
1099
1099
  });
1100
1100
  }
1101
1101
  return a.$$set = (l) => {
1102
- "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), "mbsource" in l && t(6, b = l.mbsource), "clientstyling" in l && t(7, y = l.clientstyling), "clientstylingurl" in l && t(8, f = l.clientstylingurl), "livecasino" in l && t(9, g = l.livecasino), "visiblegames" in l && t(10, c = l.visiblegames), "gamepagemodalurl" in l && t(11, C = l.gamepagemodalurl), "showgamename" in l && t(12, z = l.showgamename), "integratedgameframedesktop" in l && t(13, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(14, I = l.integratedgameframemobile), "translationurl" in l && t(32, O = l.translationurl), "favorites" in l && t(15, G = l.favorites), "mostplayed" in l && t(16, E = l.mostplayed), "lastplayed" in l && t(17, A = l.lastplayed), "casinomygames" in l && t(18, R = l.casinomygames), "lastplayedperiod" in l && t(19, U = l.lastplayedperiod), "mostplayedperiod" in l && t(20, J = l.mostplayedperiod), "lastplayedorder" in l && t(21, K = l.lastplayedorder), "lastplayedlimit" in l && t(22, V = l.lastplayedlimit), "lastplayedunique" in l && t(23, Z = l.lastplayedunique), "mostplayedrounds" in l && t(24, Q = l.mostplayedrounds);
1102
+ "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), "mbsource" in l && t(6, b = l.mbsource), "clientstyling" in l && t(7, y = l.clientstyling), "clientstylingurl" in l && t(8, f = l.clientstylingurl), "livecasino" in l && t(9, g = l.livecasino), "visiblegames" in l && t(10, c = l.visiblegames), "gamepagemodalurl" in l && t(11, C = l.gamepagemodalurl), "showgamename" in l && t(12, z = l.showgamename), "integratedgameframedesktop" in l && t(13, H = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(14, I = l.integratedgameframemobile), "translationurl" in l && t(32, O = l.translationurl), "favorites" in l && t(15, G = l.favorites), "mostplayed" in l && t(16, E = l.mostplayed), "lastplayed" in l && t(17, A = l.lastplayed), "casinomygames" in l && t(18, U = l.casinomygames), "lastplayedperiod" in l && t(19, R = l.lastplayedperiod), "mostplayedperiod" in l && t(20, J = l.mostplayedperiod), "lastplayedorder" in l && t(21, K = l.lastplayedorder), "lastplayedlimit" in l && t(22, Q = l.lastplayedlimit), "lastplayedunique" in l && t(23, V = l.lastplayedunique), "mostplayedrounds" in l && t(24, Z = l.mostplayedrounds);
1103
1103
  }, a.$$.update = () => {
1104
1104
  a.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
1105
1105
  229404 && d && o && r && G && E && A && me(), a.$$.dirty[1] & /*translationurl*/
@@ -1126,13 +1126,13 @@ function ze(a, e, t) {
1126
1126
  G,
1127
1127
  E,
1128
1128
  A,
1129
- R,
1130
1129
  U,
1130
+ R,
1131
1131
  J,
1132
1132
  K,
1133
+ Q,
1133
1134
  V,
1134
1135
  Z,
1135
- Q,
1136
1136
  M,
1137
1137
  j,
1138
1138
  W,
@@ -1,4 +1,4 @@
1
- import { $ as T, R as ce, a as ge, S as he, i as be, f as u, c as ve, s as pe, b as _e, e as p, d as _, G as x, j as P, k as Pe, o as we, l as Me, m as ke, p as Fe, q as Le, r as Ce, v as $, w as O, y as w, z as v, F as Ge, K as Ee, I as Ae, x as L, A as z, E as q, T as s } from "./CasinoCalendar-B72qCmVu.js";
1
+ import { $ as T, P as ce, a as ge, S as he, i as be, f as u, c as ve, s as pe, b as _e, e as p, d as _, G as x, j as P, k as Pe, o as we, l as Me, m as ke, p as Fe, q as Le, r as Ce, v as $, w as O, y as w, z as v, F as Ge, K as Ee, I as Ae, x as L, A as z, E as q, Q as s } from "./CasinoCalendar-Beb-D9v5.js";
2
2
  function Be({ withLocale: a, translations: e }) {
3
3
  T.subscribe((t) => {
4
4
  t == null && (ce.set(e), T.set(a));
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-D0uxeFMF.js").then(({ default: e }) => {
117
+ customElements.define = a(customElements.define), import("./CasinoFavoritesSectionNd-B6eGVKwL.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-nO4muZUi.js").then(({ default: e }) => {
133
+ customElements.define = a(customElements.define), import("./CasinoLastPlayedSectionNd-Ck4zj6YG.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-47uLbFny.js").then(({ default: e }) => {
149
+ customElements.define = a(customElements.define), import("./CasinoMostPlayedSectionNd-5XKFLNY-.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
  }
@@ -1063,7 +1063,7 @@ function Te(a) {
1063
1063
  function ze(a, e, t) {
1064
1064
  let i;
1065
1065
  Pe(a, Ae, (l) => t(30, i = l));
1066
- let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { mbsource: b } = e, { clientstyling: y = "" } = e, { clientstylingurl: f = "" } = e, { livecasino: g = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: C = "" } = e, { showgamename: H = "" } = e, { integratedgameframedesktop: I = "" } = e, { integratedgameframemobile: R = "" } = e, { translationurl: j = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: A = "false" } = e, { casinomygames: U = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: K = "Last30Days" } = e, { lastplayedorder: V = "" } = e, { lastplayedlimit: Z = "" } = e, { lastplayedunique: Q = "true" } = e, { mostplayedrounds: W = "" } = e, oe = window.navigator.userAgent, M, D = "", X = !1, F = ["", "", ""], N = "0";
1066
+ let { userid: m = "" } = e, { session: n = "" } = e, { endpoint: d = "" } = e, { datasource: o = "" } = e, { lang: r = "" } = e, { currency: h = "" } = e, { mbsource: b } = e, { clientstyling: y = "" } = e, { clientstylingurl: f = "" } = e, { livecasino: g = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: C = "" } = e, { showgamename: H = "" } = e, { integratedgameframedesktop: I = "" } = e, { integratedgameframemobile: U = "" } = e, { translationurl: j = "" } = e, { favorites: G = "false" } = e, { mostplayed: E = "false" } = e, { lastplayed: A = "false" } = e, { casinomygames: R = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: K = "Last30Days" } = e, { lastplayedorder: Q = "" } = e, { lastplayedlimit: V = "" } = e, { lastplayedunique: Z = "true" } = e, { mostplayedrounds: W = "" } = e, oe = window.navigator.userAgent, M, D = "", X = !1, F = ["", "", ""], N = "0";
1067
1067
  Be({ withLocale: "en", translations: {} });
1068
1068
  const re = () => {
1069
1069
  fetch(j).then((k) => k.json()).then((k) => {
@@ -1100,7 +1100,7 @@ function ze(a, e, t) {
1100
1100
  });
1101
1101
  }
1102
1102
  return a.$$set = (l) => {
1103
- "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), "mbsource" in l && t(6, b = l.mbsource), "clientstyling" in l && t(7, y = l.clientstyling), "clientstylingurl" in l && t(8, f = l.clientstylingurl), "livecasino" in l && t(9, g = l.livecasino), "visiblegames" in l && t(10, c = l.visiblegames), "gamepagemodalurl" in l && t(11, C = l.gamepagemodalurl), "showgamename" in l && t(12, H = l.showgamename), "integratedgameframedesktop" in l && t(13, I = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(14, R = l.integratedgameframemobile), "translationurl" in l && t(32, j = l.translationurl), "favorites" in l && t(15, G = l.favorites), "mostplayed" in l && t(16, E = l.mostplayed), "lastplayed" in l && t(17, A = l.lastplayed), "casinomygames" in l && t(18, U = l.casinomygames), "lastplayedperiod" in l && t(19, J = l.lastplayedperiod), "mostplayedperiod" in l && t(20, K = l.mostplayedperiod), "lastplayedorder" in l && t(21, V = l.lastplayedorder), "lastplayedlimit" in l && t(22, Z = l.lastplayedlimit), "lastplayedunique" in l && t(23, Q = l.lastplayedunique), "mostplayedrounds" in l && t(24, W = l.mostplayedrounds);
1103
+ "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), "mbsource" in l && t(6, b = l.mbsource), "clientstyling" in l && t(7, y = l.clientstyling), "clientstylingurl" in l && t(8, f = l.clientstylingurl), "livecasino" in l && t(9, g = l.livecasino), "visiblegames" in l && t(10, c = l.visiblegames), "gamepagemodalurl" in l && t(11, C = l.gamepagemodalurl), "showgamename" in l && t(12, H = l.showgamename), "integratedgameframedesktop" in l && t(13, I = l.integratedgameframedesktop), "integratedgameframemobile" in l && t(14, U = l.integratedgameframemobile), "translationurl" in l && t(32, j = l.translationurl), "favorites" in l && t(15, G = l.favorites), "mostplayed" in l && t(16, E = l.mostplayed), "lastplayed" in l && t(17, A = l.lastplayed), "casinomygames" in l && t(18, R = l.casinomygames), "lastplayedperiod" in l && t(19, J = l.lastplayedperiod), "mostplayedperiod" in l && t(20, K = l.mostplayedperiod), "lastplayedorder" in l && t(21, Q = l.lastplayedorder), "lastplayedlimit" in l && t(22, V = l.lastplayedlimit), "lastplayedunique" in l && t(23, Z = l.lastplayedunique), "mostplayedrounds" in l && t(24, W = l.mostplayedrounds);
1104
1104
  }, a.$$.update = () => {
1105
1105
  a.$$.dirty[0] & /*endpoint, datasource, lang, favorites, mostplayed, lastplayed*/
1106
1106
  229404 && d && o && r && G && E && A && me(), a.$$.dirty[1] & /*translationurl*/
@@ -1123,16 +1123,16 @@ function ze(a, e, t) {
1123
1123
  C,
1124
1124
  H,
1125
1125
  I,
1126
- R,
1126
+ U,
1127
1127
  G,
1128
1128
  E,
1129
1129
  A,
1130
- U,
1130
+ R,
1131
1131
  J,
1132
1132
  K,
1133
+ Q,
1133
1134
  V,
1134
1135
  Z,
1135
- Q,
1136
1136
  W,
1137
1137
  M,
1138
1138
  D,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BYA6uJQI.cjs");function ae({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 se(s){t.$locale.set(s)}const I={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-DruLKFit.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-CxJcyDWz.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-B5NQpnpQ.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",e.element)})}function le(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 ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(R(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}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[27]?"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]&1946386432|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=R(u,o,c);m[c]?m[c].p(v,f):(m[c]=K(v),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]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(s){let e,a=s[30]("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[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[15]=="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[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67141632&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[15]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67174400&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[16]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(s){let e,a=s[30]("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[26]=="LastPlayed"?"Active":"")+" "+(s[17]=="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[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67239936&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[17]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(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=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(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 ie(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[15]),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[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"lastplayedperiod",s[19]),t.set_custom_element_data(e,"lastplayedorder",s[21]),t.set_custom_element_data(e,"lastplayedlimit",s[22]),t.set_custom_element_data(e,"lastplayedunique",s[23]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),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]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&524288&&t.set_custom_element_data(e,"lastplayedperiod",a[19]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedorder",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedlimit",a[22]),l[0]&8388608&&t.set_custom_element_data(e,"lastplayedunique",a[23]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function oe(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[15]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"mostplayedrounds",s[24]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"mostplayedperiod",s[20]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&16777216&&t.set_custom_element_data(e,"mostplayedrounds",a[24]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&1048576&&t.set_custom_element_data(e,"mostplayedperiod",a[20]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function me(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[15]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[18])return ne}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[36](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[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{mbsource:g}=e,{clientstyling:_=""}=e,{clientstylingurl:u=""}=e,{livecasino:f=""}=e,{visiblegames:c=""}=e,{gamepagemodalurl:v=""}=e,{showgamename:E=""}=e,{integratedgameframedesktop:O=""}=e,{integratedgameframemobile:B=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:D=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,h,C="",z=!1,b=["","",""],G="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{U(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(n=>{U(n,I[n])});const L=n=>{C!==n&&a(26,C=n)},Y=()=>{a(26,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},H=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,G=n.data.favoriteGamesLength):a(29,G=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(27,z=t.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}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),"mbsource"in n&&a(6,g=n.mbsource),"clientstyling"in n&&a(7,_=n.clientstyling),"clientstylingurl"in n&&a(8,u=n.clientstylingurl),"livecasino"in n&&a(9,f=n.livecasino),"visiblegames"in n&&a(10,c=n.visiblegames),"gamepagemodalurl"in n&&a(11,v=n.gamepagemodalurl),"showgamename"in n&&a(12,E=n.showgamename),"integratedgameframedesktop"in n&&a(13,O=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(14,B=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(15,P=n.favorites),"mostplayed"in n&&a(16,w=n.mostplayed),"lastplayed"in n&&a(17,M=n.lastplayed),"casinomygames"in n&&a(18,A=n.casinomygames),"lastplayedperiod"in n&&a(19,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(20,q=n.mostplayedperiod),"lastplayedorder"in n&&a(21,D=n.lastplayedorder),"lastplayedlimit"in n&&a(22,S=n.lastplayedlimit),"lastplayedunique"in n&&a(23,N=n.lastplayedunique),"mostplayedrounds"in n&&a(24,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&229404&&d&&o&&m&&P&&w&&M&&Y(),s.$$.dirty[1]&2&&F&&X(),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStyling(h,_),s.$$.dirty[0]&33554688&&u&&h&&t.setClientStylingURL(h,u),s.$$.dirty[0]&33554496&&g&&h&&t.setStreamStyling(h,`${g}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,E,O,B,P,w,M,A,j,q,D,S,N,T,h,C,z,b,G,l,L,F,x,$,ee,te]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:32,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24},le,[-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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-zkVoyaEl.cjs");function ae({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 se(s){t.$locale.set(s)}const I={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-BP1OHrZH.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-BPmkjL98.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-C22bkiGI.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",e.element)})}function le(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 ne(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[28]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(R(s,o,u));function y(u,f){if(u[26]=="Favorites")return me;if(u[26]=="MostPlayed")return oe;if(u[26]=="LastPlayed")return ie}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[27]?"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]&1946386432|f[1]&1){o=t.ensure_array_like(u[28]);let c;for(c=0;c<o.length;c+=1){const v=R(u,o,c);m[c]?m[c].p(v,f):(m[c]=K(v),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]&134217728&&d!==(d="CasinoMyGames "+(u[27]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(s){let e,a=s[30]("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[29]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[26]=="Favorites"?"Active":"")+" "+(s[15]=="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[33]),g=!0)},p(u,f){f[0]&1073741824&&a!==(a=u[30]("favorites")+"")&&t.set_data(l,a),f[0]&536870912&&t.set_data(o,u[29]),f[0]&67141632&&y!==(y="MyGamesButton "+(u[26]=="Favorites"?"Active":"")+" "+(u[15]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(s){let e,a=s[30]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[26]=="MostPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[34]),i=!0)},p(o,m){m[0]&1073741824&&a!==(a=o[30]("mostPlayed")+"")&&t.set_data(l,a),m[0]&67174400&&r!==(r="MyGamesButton "+(o[26]=="MostPlayed"?"Active":"")+" "+(o[16]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(s){let e,a=s[30]("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[26]=="LastPlayed"?"Active":"")+" "+(s[17]=="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[35]),d=!0)},p(m,y){y[0]&1073741824&&a!==(a=m[30]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&67239936&&i!==(i="MyGamesButton "+(m[26]=="LastPlayed"?"Active":"")+" "+(m[17]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(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=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(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 ie(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[15]),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[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"lastplayedperiod",s[19]),t.set_custom_element_data(e,"lastplayedorder",s[21]),t.set_custom_element_data(e,"lastplayedlimit",s[22]),t.set_custom_element_data(e,"lastplayedunique",s[23]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),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]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&524288&&t.set_custom_element_data(e,"lastplayedperiod",a[19]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedorder",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedlimit",a[22]),l[0]&8388608&&t.set_custom_element_data(e,"lastplayedunique",a[23]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function oe(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[15]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"mostplayedrounds",s[24]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"mostplayedperiod",s[20]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&16777216&&t.set_custom_element_data(e,"mostplayedrounds",a[24]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&1048576&&t.set_custom_element_data(e,"mostplayedperiod",a[20]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function me(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[15]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[12]),t.set_custom_element_data(e,"clientstyling",s[7]),t.set_custom_element_data(e,"clientstylingurl",s[8]),t.set_custom_element_data(e,"livecasino",s[9]),t.set_custom_element_data(e,"visiblegames",s[10]),t.set_custom_element_data(e,"gamepagemodalurl",s[11]),t.set_custom_element_data(e,"integratedgameframedesktop",s[13]),t.set_custom_element_data(e,"integratedgameframemobile",s[14]),t.set_custom_element_data(e,"casinomygames",s[18]),t.set_custom_element_data(e,"mbsource",s[6])},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]&32768&&t.set_custom_element_data(e,"favorites",a[15]),l[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),l[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),l[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),l[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),l[0]&1024&&t.set_custom_element_data(e,"visiblegames",a[10]),l[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframedesktop",a[13]),l[0]&16384&&t.set_custom_element_data(e,"integratedgameframemobile",a[14]),l[0]&262144&&t.set_custom_element_data(e,"casinomygames",a[18]),l[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function re(s){let e;function a(i,d){if(i[18])return ne}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[36](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[36](null)}}}function de(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(30,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{mbsource:g}=e,{clientstyling:_=""}=e,{clientstylingurl:u=""}=e,{livecasino:f=""}=e,{visiblegames:c=""}=e,{gamepagemodalurl:v=""}=e,{showgamename:E=""}=e,{integratedgameframedesktop:O=""}=e,{integratedgameframemobile:B=""}=e,{translationurl:F=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:A="false"}=e,{lastplayedperiod:j="Last30Days"}=e,{mostplayedperiod:q="Last30Days"}=e,{lastplayedorder:D=""}=e,{lastplayedlimit:S=""}=e,{lastplayedunique:N="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,h,C="",z=!1,b=["","",""],G="0";ae({withLocale:"en",translations:{}});const X=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{U(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(I).forEach(n=>{U(n,I[n])});const L=n=>{C!==n&&a(26,C=n)},Y=()=>{a(26,C=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(28,b[0]=P==="true"?"Favorites":"",b),a(28,b[1]=w==="true"?"MostPlayed":"",b),a(28,b[2]=M==="true"?"LastPlayed":"",b),se(m)},H=n=>{var p,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(29,G=n.data.favoriteGamesLength):a(29,G=(k=(p=n.data.listOfFavoritesGames)==null?void 0:p.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",H,!1),a(27,z=t.isMobile(W)),()=>{window.removeEventListener("message",H)}));const x=()=>L("Favorites"),$=()=>L("MostPlayed"),ee=()=>L("LastPlayed");function te(n){t.binding_callbacks[n?"unshift":"push"](()=>{h=n,a(25,h)})}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),"mbsource"in n&&a(6,g=n.mbsource),"clientstyling"in n&&a(7,_=n.clientstyling),"clientstylingurl"in n&&a(8,u=n.clientstylingurl),"livecasino"in n&&a(9,f=n.livecasino),"visiblegames"in n&&a(10,c=n.visiblegames),"gamepagemodalurl"in n&&a(11,v=n.gamepagemodalurl),"showgamename"in n&&a(12,E=n.showgamename),"integratedgameframedesktop"in n&&a(13,O=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(14,B=n.integratedgameframemobile),"translationurl"in n&&a(32,F=n.translationurl),"favorites"in n&&a(15,P=n.favorites),"mostplayed"in n&&a(16,w=n.mostplayed),"lastplayed"in n&&a(17,M=n.lastplayed),"casinomygames"in n&&a(18,A=n.casinomygames),"lastplayedperiod"in n&&a(19,j=n.lastplayedperiod),"mostplayedperiod"in n&&a(20,q=n.mostplayedperiod),"lastplayedorder"in n&&a(21,D=n.lastplayedorder),"lastplayedlimit"in n&&a(22,S=n.lastplayedlimit),"lastplayedunique"in n&&a(23,N=n.lastplayedunique),"mostplayedrounds"in n&&a(24,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&229404&&d&&o&&m&&P&&w&&M&&Y(),s.$$.dirty[1]&2&&F&&X(),s.$$.dirty[0]&33554560&&_&&h&&t.setClientStyling(h,_),s.$$.dirty[0]&33554688&&u&&h&&t.setClientStylingURL(h,u),s.$$.dirty[0]&33554496&&g&&h&&t.setStreamStyling(h,`${g}.Style`)},[r,i,d,o,m,y,g,_,u,f,c,v,E,O,B,P,w,M,A,j,q,D,S,N,T,h,C,z,b,G,l,L,F,x,$,ee,te]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,de,re,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:32,favorites:15,mostplayed:16,lastplayed:17,casinomygames:18,lastplayedperiod:19,mostplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,lastplayedunique:23,mostplayedrounds:24},le,[-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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[16]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[17]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[19]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[20]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[24]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;