@everymatrix/casino-lobby 1.60.2 → 1.61.1

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 (121) hide show
  1. package/components/{CasinoCalendar-DqS7aKva.cjs → CasinoCalendar-BaQd3tuL.cjs} +6 -6
  2. package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-C4nbeq1g.js} +276 -270
  3. package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-WuTw9Z8d.js} +276 -270
  4. package/components/CasinoCalendarDailyDetails-BAGuydyF.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-CHONyOB5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-DrcJ9qsj.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-B3npUDyl.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-CPM6-0C8.js +307 -0
  9. package/components/CasinoCalendarDailyItem-eOgZSp2O.js +307 -0
  10. package/components/{CasinoCategoriesSlider-i9BCUm8R.cjs → CasinoCategoriesSlider-CWcGEpfR.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-DZX7fAxD.js → CasinoCategoriesSlider-DgQayYzE.js} +15 -15
  12. package/components/{CasinoCategoriesSlider-C2jbyhRF.js → CasinoCategoriesSlider-DyNiM5Xn.js} +14 -14
  13. package/components/{CasinoCollectionsProviders-Fw278mB3.js → CasinoCollectionsProviders-5PJh4coY.js} +174 -173
  14. package/components/CasinoCollectionsProviders-BMFI1FD2.cjs +1 -0
  15. package/components/{CasinoCollectionsProviders-BRhnxud8.js → CasinoCollectionsProviders-DvICMch1.js} +187 -186
  16. package/components/{CasinoFavoritesSection-QS8imHGS.js → CasinoFavoritesSection-BLswksE3.js} +14 -14
  17. package/components/{CasinoFavoritesSection-D32Mbv-O.js → CasinoFavoritesSection-D57jT5yq.js} +14 -14
  18. package/components/{CasinoFavoritesSection-D1GhXv3a.cjs → CasinoFavoritesSection-DXEM7KtA.cjs} +1 -1
  19. package/components/CasinoFilter-B9G8cs2A.cjs +1 -0
  20. package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-BH7-Laxf.js} +50 -50
  21. package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-COinUQ6E.js} +96 -94
  22. package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-D4oYftHp.js} +1364 -1363
  23. package/components/CasinoGamePage-DhNoxzWb.cjs +18 -0
  24. package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-NTjXPK0_.js} +1320 -1319
  25. package/components/CasinoGameThumbnail-C_F6ViBB.js +1068 -0
  26. package/components/CasinoGameThumbnail-DWRrHNvN.cjs +30 -0
  27. package/components/CasinoGameThumbnail-pajQYCwc.js +1084 -0
  28. package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +1 -0
  29. package/components/{CasinoGamesCategorySection-Bw_6-a2H.js → CasinoGamesCategorySection-Br-ZBeEp.js} +1181 -1111
  30. package/components/{CasinoGamesCategorySection-DdJnZPgm.js → CasinoGamesCategorySection-DrL01BnG.js} +742 -673
  31. package/components/CasinoJackpotBanner-BoWCKFIJ.cjs +1 -0
  32. package/components/CasinoJackpotBanner-CG4fFV2M.js +694 -0
  33. package/components/CasinoJackpotBanner-Yo5HGzmD.js +698 -0
  34. package/components/{CasinoLastPlayedSection-DF1qIy7A.js → CasinoLastPlayedSection-BUIc0ZEt.js} +9 -9
  35. package/components/{CasinoLastPlayedSection-CnwiqEWd.cjs → CasinoLastPlayedSection-CFEzl7GR.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-D8w8f1qu.js → CasinoLastPlayedSection-DjRKGJ8F.js} +9 -9
  37. package/components/{CasinoLobby-Anq70pxB.js → CasinoLobby-CQVjJ22J.js} +284 -245
  38. package/components/CasinoLobby-DnBSVJ5P.cjs +1 -0
  39. package/components/{CasinoLobby-Br00KMpi.js → CasinoLobby-L5w-S2-2.js} +284 -245
  40. package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-CeEDc631.cjs} +1 -1
  41. package/components/{CasinoModal-BaV1FE12.js → CasinoModal-Cx4skobD.js} +8 -8
  42. package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-DrALs71O.js} +8 -8
  43. package/components/{CasinoMostPlayedSection-4nc9NISY.js → CasinoMostPlayedSection-BrjuU2ad.js} +14 -14
  44. package/components/{CasinoMostPlayedSection-CleRvEGW.cjs → CasinoMostPlayedSection-D72Posxa.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-DEpCntHU.js → CasinoMostPlayedSection-Dru8l_gX.js} +14 -14
  46. package/components/{CasinoMyGames-Cqgayk3N.js → CasinoMyGames-Cc8aQUy5.js} +17 -17
  47. package/components/{CasinoMyGames-BeNdYI48.cjs → CasinoMyGames-DP5VtRtX.cjs} +1 -1
  48. package/components/{CasinoMyGames-Ls6PjVLx.js → CasinoMyGames-Eco1Z13t.js} +16 -16
  49. package/components/{CasinoPage-B_ulErY-.js → CasinoPage-BvKvwzQq.js} +1023 -881
  50. package/components/CasinoPage-DAptP7ZQ.cjs +1 -0
  51. package/components/{CasinoPage-vykaQto-.js → CasinoPage-mARxTyiZ.js} +1002 -844
  52. package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-5kYiDYSm.js} +155 -154
  53. package/components/CasinoRandomGame-BJiVFaRb.cjs +2 -0
  54. package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-RYfnY5_c.js} +195 -194
  55. package/components/{CasinoSearch-CyctCdxx.js → CasinoSearch-CnWoNOtX.js} +27 -27
  56. package/components/{CasinoSearch-jq6HJhjW.cjs → CasinoSearch-D-hwTHcV.cjs} +1 -1
  57. package/components/{CasinoSearch-DcjbpUq_.js → CasinoSearch-Nqv4h_zq.js} +27 -27
  58. package/components/CasinoSlider-B3dV89iI.cjs +1 -0
  59. package/components/{CasinoSlider-BmXppZ63.js → CasinoSlider-Cr-fAktO.js} +224 -223
  60. package/components/{CasinoSlider-DbK0-rGh.js → CasinoSlider-D1JzP31y.js} +155 -154
  61. package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-ByAjtAxn.cjs} +1 -1
  62. package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-D51DNHxk.js} +1 -1
  63. package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-DXiP4dA5.js} +1 -1
  64. package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-B1BXrca1.js} +99 -98
  65. package/components/CasinoWinners-CEq9st2v.cjs +1 -0
  66. package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-pzI08CdT.js} +102 -101
  67. package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-CI4qqgO_.js} +6 -6
  68. package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-CIaY2Gvf.js} +6 -6
  69. package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-DiZmxxRF.cjs} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  75. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  76. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-6EpPs13y.js} +3 -8
  77. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BUvMKyaw.js} +6 -11
  78. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/{index-ab3202d6-OPh7hJp9.js → index-ab3202d6-9zuW-dLG.js} +1 -1
  80. package/stencil/{index-ab3202d6-hGs51skN.js → index-ab3202d6-CGVciVSL.js} +1 -1
  81. package/stencil/{index-ab3202d6-C1hgKWrC.cjs → index-ab3202d6-c7Vf1NJ1.cjs} +1 -1
  82. package/stencil/{index-b2193545-MPc38oBt.js → index-b2193545-CGYrx6SV.js} +1 -1
  83. package/stencil/{index-b2193545-DCd44oUP.cjs → index-b2193545-DU7jU8hT.cjs} +1 -1
  84. package/stencil/{index-b2193545-lFMF9wMV.js → index-b2193545-k_uiu1dU.js} +1 -1
  85. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  86. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  87. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  88. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  89. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  91. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  92. package/stencil/ui-image-DG3xEaHN.js +11 -0
  93. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  94. package/stencil/{ui-skeleton-0M0DsgcH.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-Denrk3xZ.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-DoJviCLo.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-Doo7piTc.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-DGBcSK-r.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-Dt8jS6rz.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendarDailyDetails-DQB9Y3_Q.js +0 -693
  101. package/components/CasinoCalendarDailyDetails-DUQWFLJJ.cjs +0 -1
  102. package/components/CasinoCalendarDailyDetails-Xi-Uo8v-.js +0 -693
  103. package/components/CasinoCalendarDailyItem-CVt2FFo1.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-CjRZKnnD.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DC91__VM.js +0 -306
  106. package/components/CasinoCollectionsProviders-Beuct27Z.cjs +0 -1
  107. package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
  108. package/components/CasinoGamePage-BmgERtPr.cjs +0 -18
  109. package/components/CasinoGameThumbnail-B9OLAJDP.js +0 -1882
  110. package/components/CasinoGameThumbnail-C-_VEhfz.cjs +0 -38
  111. package/components/CasinoGameThumbnail-w6gElzrs.js +0 -1866
  112. package/components/CasinoGamesCategorySection-B_kw0cnt.cjs +0 -1
  113. package/components/CasinoJackpotBanner-B_CnR3Kj.cjs +0 -1
  114. package/components/CasinoJackpotBanner-Dxq2Y_-S.js +0 -697
  115. package/components/CasinoJackpotBanner-UQaC63Zv.js +0 -693
  116. package/components/CasinoLobby-Da8EvOPn.cjs +0 -1
  117. package/components/CasinoPage-86frPbmB.cjs +0 -1
  118. package/components/CasinoRandomGame-BO7BqLXA.cjs +0 -2
  119. package/components/CasinoSlider-Bo4dCvJT.cjs +0 -1
  120. package/components/CasinoWinners-KEY7dD3z.cjs +0 -1
  121. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, O as i, N as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-CI-C6zUY.js";
2
- import "./CasinoFavoritesSection-QS8imHGS.js";
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, O as me, J as ge, K as de, L as fe, M as he, N as ye } from "./CasinoCalendar-WuTw9Z8d.js";
2
+ import "./CasinoFavoritesSection-BLswksE3.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -301,7 +301,7 @@ function ke(s) {
301
301
  function Le(s, e, t) {
302
302
  let n;
303
303
  le(s, ye, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: N = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: z = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], I, f;
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: z = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], J, f;
305
305
  const Q = () => {
306
306
  fetch(w).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
@@ -316,10 +316,10 @@ function Le(s, e, t) {
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), J = _ ? u : u.href, fetch(J).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
- let J = !0;
322
- return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
321
+ let I = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, I = !1), I;
323
323
  }), a(c), window.postMessage(
324
324
  {
325
325
  type: "AddNewCategory",
@@ -354,7 +354,7 @@ function Le(s, e, t) {
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, N = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, O = a.gamepagemodalurl), "showgamename" in a && t(12, z = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, O = a.gamepagemodalurl), "showgamename" in a && t(12, z = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
@@ -368,12 +368,12 @@ function Le(s, e, t) {
368
368
  r,
369
369
  m,
370
370
  d,
371
- N,
371
+ E,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  _,
376
- E,
376
+ N,
377
377
  F,
378
378
  O,
379
379
  z,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DqS7aKva.cjs");require("./CasinoFavoritesSection-D1GhXv3a.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),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[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),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,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},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]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",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]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}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,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource: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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop: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 visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BaQd3tuL.cjs");require("./CasinoFavoritesSection-DXEM7KtA.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),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[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),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,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},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]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",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]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}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,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource: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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop: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 visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, O as i, N as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-BYTytQgJ.js";
2
- import "./CasinoFavoritesSection-D32Mbv-O.js";
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, O as me, J as ge, K as de, L as fe, M as he, N as ye } from "./CasinoCalendar-C4nbeq1g.js";
2
+ import "./CasinoFavoritesSection-D57jT5yq.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -301,7 +301,7 @@ function ke(s) {
301
301
  function Le(s, e, t) {
302
302
  let n;
303
303
  le(s, ye, (a) => t(20, n = a));
304
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: N = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: z = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], I, f;
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: z = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, B = window.navigator.userAgent, Y = !1, k = [], J, f;
305
305
  const Q = () => {
306
306
  fetch(w).then((g) => g.json()).then((g) => {
307
307
  Object.keys(g).forEach((u) => {
@@ -316,10 +316,10 @@ function Le(s, e, t) {
316
316
  });
317
317
  const W = () => new Promise((a, g) => {
318
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
- u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", S), u.searchParams.append("period", C), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), J = _ ? u : u.href, fetch(J).then((c) => c.json()).then((c) => {
320
320
  c.items = c.items.filter(($) => {
321
- let J = !0;
322
- return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
321
+ let I = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, I = !1), I;
323
323
  }), a(c), window.postMessage(
324
324
  {
325
325
  type: "AddNewCategory",
@@ -354,7 +354,7 @@ function Le(s, e, t) {
354
354
  });
355
355
  }
356
356
  return s.$$set = (a) => {
357
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, N = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, O = a.gamepagemodalurl), "showgamename" in a && t(12, z = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, O = a.gamepagemodalurl), "showgamename" in a && t(12, z = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, S = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
@@ -368,12 +368,12 @@ function Le(s, e, t) {
368
368
  r,
369
369
  m,
370
370
  d,
371
- N,
371
+ E,
372
372
  y,
373
373
  b,
374
374
  v,
375
375
  _,
376
- E,
376
+ N,
377
377
  F,
378
378
  O,
379
379
  z,