@everymatrix/casino-lobby 1.60.1 → 1.61.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 (128) hide show
  1. package/components/CasinoCalendar-CR3NqEmo.cjs +22 -0
  2. package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-DoAbSivX.js} +690 -712
  3. package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-m598e8c0.js} +696 -718
  4. package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
  9. package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
  10. package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-DE0uzQfF.js} +68 -68
  12. package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DW81y1el.js} +69 -69
  13. package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-CkxoIQMQ.js} +205 -203
  14. package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-FTsSIZe7.js} +161 -160
  15. package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-a8e9F8Ga.js → CasinoFavoritesSection-CKWkFYb4.js} +26 -26
  17. package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-uCNlSq84.js → CasinoFavoritesSection-MnxoGd6P.js} +26 -26
  19. package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
  20. package/components/CasinoFilter-Cs9ZMDdP.js +633 -0
  21. package/components/CasinoFilter-D80YfaXW.js +632 -0
  22. package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-B8-ifO-z.js} +898 -897
  23. package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
  24. package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-CLMVY2d0.js} +972 -971
  25. package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
  26. package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
  27. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
  28. package/components/{CasinoGamesCategorySection-CYKXSIYS.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-BGemjnwH.js → CasinoGamesCategorySection-CIfBLzjC.js} +247 -247
  30. package/components/{CasinoGamesCategorySection-CHynVnZ8.js → CasinoGamesCategorySection-o-CZJ4iD.js} +247 -247
  31. package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
  32. package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
  33. package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
  34. package/components/{CasinoLastPlayedSection-B64b2eJF.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-CyKppEbZ.js → CasinoLastPlayedSection-BPD5poPp.js} +44 -44
  36. package/components/{CasinoLastPlayedSection-BGk4k--h.js → CasinoLastPlayedSection-Dxbzb-4o.js} +44 -44
  37. package/components/{CasinoLobby-PcRgXAeR.js → CasinoLobby-6kkVRa0v.js} +54 -54
  38. package/components/{CasinoLobby-DddN7Gev.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
  39. package/components/{CasinoLobby-CN5AmC5K.js → CasinoLobby-Bntp7e5i.js} +56 -56
  40. package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
  41. package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-QtSV_GhN.js} +37 -37
  42. package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-bTxbu9d4.js} +37 -37
  43. package/components/{CasinoMostPlayedSection-C-D6CJKY.js → CasinoMostPlayedSection-B9_yeLMk.js} +49 -49
  44. package/components/{CasinoMostPlayedSection-qIiZdQQG.js → CasinoMostPlayedSection-D-VpqDyh.js} +49 -49
  45. package/components/{CasinoMostPlayedSection-QIdWMIjm.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
  46. package/components/{CasinoMyGames-DjXz5K51.js → CasinoMyGames-BEUz5puH.js} +46 -46
  47. package/components/{CasinoMyGames-Wpdq0oL6.js → CasinoMyGames-BQtk1EEq.js} +49 -49
  48. package/components/{CasinoMyGames-Dy1sj15h.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
  49. package/components/{CasinoPage-DhSkte5y.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
  50. package/components/{CasinoPage-DMCyJTE2.js → CasinoPage-CiONVvV8.js} +85 -85
  51. package/components/{CasinoPage-D1fSPDEj.js → CasinoPage-DOSD686t.js} +93 -93
  52. package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
  53. package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
  54. package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DQXmOLue.js} +157 -156
  55. package/components/{CasinoSearch-BgD0xvTa.js → CasinoSearch-CTxffz7Z.js} +65 -65
  56. package/components/{CasinoSearch-CRhnd9Yq.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
  57. package/components/{CasinoSearch-DOguc7Dt.js → CasinoSearch-DTglx2jN.js} +65 -65
  58. package/components/CasinoSlider-BU163_5n.cjs +1 -0
  59. package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-CGpDul3G.js} +221 -220
  60. package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-pPfml1-U.js} +166 -165
  61. package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-BSaxbC32.js} +110 -111
  62. package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
  63. package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DGdM4QXv.js} +104 -103
  64. package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-BwwKfUuN.js} +176 -175
  65. package/components/CasinoWinners-CtwqFnag.cjs +1 -0
  66. package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-i5RqXY4N.js} +185 -184
  67. package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-BszAoL3H.js} +18 -18
  68. package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Xq-D41Fg.js} +18 -18
  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-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
  77. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
  78. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  80. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  81. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  82. package/stencil/index-b2193545-CGYrx6SV.js +503 -0
  83. package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
  84. package/stencil/index-b2193545-k_uiu1dU.js +519 -0
  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-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
  101. package/components/CasinoCalendarDailyDetails-CAbwFBvZ.js +0 -693
  102. package/components/CasinoCalendarDailyDetails-CGaAU2gc.js +0 -693
  103. package/components/CasinoCalendarDailyDetails-CsEZhtVE.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-5aqnKIMr.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DSlC0F3s.cjs +0 -1
  106. package/components/CasinoCalendarDailyItem-D_MTrKed.js +0 -306
  107. package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
  108. package/components/CasinoCollectionsProviders-B6occ8TF.cjs +0 -1
  109. package/components/CasinoFilter-BTof425X.js +0 -632
  110. package/components/CasinoFilter-BWjq7W1e.js +0 -631
  111. package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
  112. package/components/CasinoGamePage-D2huRBJX.cjs +0 -18
  113. package/components/CasinoGameThumbnail-CrrXNmw1.js +0 -1882
  114. package/components/CasinoGameThumbnail-Dq26TPSU.cjs +0 -38
  115. package/components/CasinoGameThumbnail-GBvTkmL8.js +0 -1866
  116. package/components/CasinoJackpotBanner-CuP8WP5Q.js +0 -697
  117. package/components/CasinoJackpotBanner-Dl2rX6vI.js +0 -693
  118. package/components/CasinoJackpotBanner-DredUN6K.cjs +0 -1
  119. package/components/CasinoRandomGame-CBcSHzZL.cjs +0 -2
  120. package/components/CasinoSlider-BsszznrS.cjs +0 -1
  121. package/components/CasinoWinners-Cp1yMlzb.cjs +0 -1
  122. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  123. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  124. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  125. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  126. package/stencil/index-b2193545-BDVBrmNo.js +0 -503
  127. package/stencil/index-b2193545-CY979_sp.js +0 -519
  128. package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
@@ -0,0 +1,307 @@
1
+ import { a as H, $ as U, S as J, i as K, s as V, f as y, b as G, n as R, d as Q, D as A, E as B, m as O, r as u, I as F, h as X, p as r, A as Y, j as c, B as D, q as W, k as Z, o as $, l as ee, C as N, J as te, K as ae, L as ie, M as ne, N as re } from "./CasinoCalendar-m598e8c0.js";
2
+ import "../stencil/ui-image-CV8AJ9cY.js";
3
+ function P(a, t) {
4
+ H(a, t);
5
+ }
6
+ function oe(a) {
7
+ U.set(a);
8
+ }
9
+ const q = {
10
+ en: {
11
+ error: "500 Error - Internal Server Error",
12
+ loading: "Loading ...",
13
+ monday: "Monday",
14
+ tuesday: "Tuesday",
15
+ wednesday: "Wednesday",
16
+ thursday: "Thursday",
17
+ friday: "Friday",
18
+ saturday: "Saturday",
19
+ sunday: "Sunday"
20
+ },
21
+ hr: {
22
+ error: "500 Error - Internal Server Error",
23
+ loading: "Loading ...",
24
+ monday: "ponedjeljak",
25
+ tuesday: "utorak",
26
+ wednesday: "srijeda",
27
+ thursday: "četvrtak",
28
+ friday: "petak",
29
+ saturday: "subota",
30
+ sunday: "nedjelja"
31
+ },
32
+ "pt-br": {
33
+ error: "500 Error - Internal Server Error",
34
+ loading: "Loading ...",
35
+ monday: "Monday",
36
+ tuesday: "Tuesday",
37
+ wednesday: "Wednesday",
38
+ thursday: "Thursday",
39
+ friday: "Friday",
40
+ saturday: "Saturday",
41
+ sunday: "Sunday"
42
+ },
43
+ "es-mx": {
44
+ error: "500 Error - Internal Server Error",
45
+ loading: "Loading ...",
46
+ monday: "Monday",
47
+ tuesday: "Tuesday",
48
+ wednesday: "Wednesday",
49
+ thursday: "Thursday",
50
+ friday: "Friday",
51
+ saturday: "Saturday",
52
+ sunday: "Sunday"
53
+ },
54
+ tr: {
55
+ error: "500 Error - Internal Server Error",
56
+ loading: "Loading ...",
57
+ monday: "Monday",
58
+ tuesday: "Tuesday",
59
+ wednesday: "Wednesday",
60
+ thursday: "Thursday",
61
+ friday: "Friday",
62
+ saturday: "Saturday",
63
+ sunday: "Sunday"
64
+ },
65
+ "en-us": {
66
+ error: "500 Error - Internal Server Error",
67
+ loading: "Loading ...",
68
+ monday: "Monday",
69
+ tuesday: "Tuesday",
70
+ wednesday: "Wednesday",
71
+ thursday: "Thursday",
72
+ friday: "Friday",
73
+ saturday: "Saturday",
74
+ sunday: "Sunday"
75
+ }
76
+ };
77
+ function de(a) {
78
+ G(a, "svelte-g8pzdd", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
79
+ }
80
+ function se(a) {
81
+ let t, n, w, s, f, _, i, g, l, x, C, b, h = (
82
+ /*$_*/
83
+ a[8](`${/*dailyday*/
84
+ a[2]}`) + ""
85
+ ), p, m, o, M, S, v, T, I, k, E, L;
86
+ return {
87
+ c() {
88
+ t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"), p = W(h), m = D(), o = c("div"), M = D(), S = c("div"), v = c("button"), T = W(
89
+ /*dailybuttontitle*/
90
+ a[3]
91
+ ), u(f, "class", "CalendarBar"), A(l.src, x = /*dailyicon*/
92
+ a[1]) || B(l, "src", x), B(
93
+ l,
94
+ "alt",
95
+ /*dailyicon*/
96
+ a[1]
97
+ ), u(g, "class", "CasinoCalendarDailyIcon"), u(b, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(v, "class", "MoreInfoButton"), u(S, "class", "CasinoCalendarDailyItemButton"), u(i, "class", I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
98
+ a[4] == "OpenCalendarModal" ? "Tear" : "")), F(i, "background-image", "url('" + /*dailybackground*/
99
+ a[0] + "')"), F(i, "background-size", "cover"), F(i, "background-position", "center"), F(i, "-webkit-background-size", "cover"), F(i, "-moz-background-size", "cover"), F(i, "-o-background-size", "cover"), u(s, "class", "CalendarCard"), u(w, "class", "CasinoCalendarItems"), u(n, "class", k = "Container " + /*mobileView*/
100
+ (a[7] ? "Mobile" : ""));
101
+ },
102
+ m(d, e) {
103
+ X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b, p), r(i, m), r(i, o), a[16](o), r(i, M), r(i, S), r(S, v), r(v, T), a[18](t), E || (L = Y(
104
+ v,
105
+ "click",
106
+ /*click_handler*/
107
+ a[17]
108
+ ), E = !0);
109
+ },
110
+ p(d, [e]) {
111
+ e & /*dailyicon*/
112
+ 2 && !A(l.src, x = /*dailyicon*/
113
+ d[1]) && B(l, "src", x), e & /*dailyicon*/
114
+ 2 && B(
115
+ l,
116
+ "alt",
117
+ /*dailyicon*/
118
+ d[1]
119
+ ), e & /*$_, dailyday*/
120
+ 260 && h !== (h = /*$_*/
121
+ d[8](`${/*dailyday*/
122
+ d[2]}`) + "") && O(p, h), e & /*dailybuttontitle*/
123
+ 8 && O(
124
+ T,
125
+ /*dailybuttontitle*/
126
+ d[3]
127
+ ), e & /*index*/
128
+ 16 && I !== (I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
129
+ d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(i, "class", I), e & /*dailybackground*/
130
+ 1 && F(i, "background-image", "url('" + /*dailybackground*/
131
+ d[0] + "')"), e & /*mobileView*/
132
+ 128 && k !== (k = "Container " + /*mobileView*/
133
+ (d[7] ? "Mobile" : "")) && u(n, "class", k);
134
+ },
135
+ i: R,
136
+ o: R,
137
+ d(d) {
138
+ d && Q(t), a[16](null), a[18](null), E = !1, L();
139
+ }
140
+ };
141
+ }
142
+ function le(a, t, n) {
143
+ let w;
144
+ Z(a, re, (e) => n(8, w = e));
145
+ let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: x = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: p = "" } = t, m, o, M = !1, S = window.navigator.userAgent;
146
+ const v = () => {
147
+ oe(s);
148
+ };
149
+ Object.keys(q).forEach((e) => {
150
+ P(e, q[e]);
151
+ });
152
+ const T = () => {
153
+ let e = p;
154
+ if (e)
155
+ return fetch(e).then((z) => z.json()).then((z) => {
156
+ Object.keys(z).forEach((j) => {
157
+ P(j, z[j]);
158
+ });
159
+ }).catch((z) => {
160
+ console.log(z);
161
+ });
162
+ }, I = () => {
163
+ let e = document.createElement("div");
164
+ e.innerHTML = g, m && m.append(e);
165
+ }, k = () => {
166
+ window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
+ };
168
+ $(() => (ee(S) && n(7, M = !0), () => {
169
+ }));
170
+ function E(e) {
171
+ N[e ? "unshift" : "push"](() => {
172
+ m = e, n(6, m);
173
+ });
174
+ }
175
+ const L = () => k();
176
+ function d(e) {
177
+ N[e ? "unshift" : "push"](() => {
178
+ o = e, n(5, o);
179
+ });
180
+ }
181
+ return a.$$set = (e) => {
182
+ "lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4, x = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, h = e.clientstylingurl), "translationurl" in e && n(15, p = e.translationurl);
183
+ }, a.$$.update = () => {
184
+ a.$$.dirty & /*lang*/
185
+ 1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
186
+ 33792 && s && p && T(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
+ 2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
188
+ 8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
+ 16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
+ 4128 && C && o && ie(o, `${C}.Style`);
191
+ }, [
192
+ f,
193
+ _,
194
+ i,
195
+ l,
196
+ x,
197
+ o,
198
+ m,
199
+ M,
200
+ w,
201
+ k,
202
+ s,
203
+ g,
204
+ C,
205
+ b,
206
+ h,
207
+ p,
208
+ E,
209
+ L,
210
+ d
211
+ ];
212
+ }
213
+ class ue extends J {
214
+ constructor(t) {
215
+ super(), K(
216
+ this,
217
+ t,
218
+ le,
219
+ se,
220
+ V,
221
+ {
222
+ lang: 10,
223
+ dailybackground: 0,
224
+ dailyicon: 1,
225
+ dailyday: 2,
226
+ dailydescription: 11,
227
+ dailybuttontitle: 3,
228
+ index: 4,
229
+ mbsource: 12,
230
+ clientstyling: 13,
231
+ clientstylingurl: 14,
232
+ translationurl: 15
233
+ },
234
+ de
235
+ );
236
+ }
237
+ get lang() {
238
+ return this.$$.ctx[10];
239
+ }
240
+ set lang(t) {
241
+ this.$$set({ lang: t }), y();
242
+ }
243
+ get dailybackground() {
244
+ return this.$$.ctx[0];
245
+ }
246
+ set dailybackground(t) {
247
+ this.$$set({ dailybackground: t }), y();
248
+ }
249
+ get dailyicon() {
250
+ return this.$$.ctx[1];
251
+ }
252
+ set dailyicon(t) {
253
+ this.$$set({ dailyicon: t }), y();
254
+ }
255
+ get dailyday() {
256
+ return this.$$.ctx[2];
257
+ }
258
+ set dailyday(t) {
259
+ this.$$set({ dailyday: t }), y();
260
+ }
261
+ get dailydescription() {
262
+ return this.$$.ctx[11];
263
+ }
264
+ set dailydescription(t) {
265
+ this.$$set({ dailydescription: t }), y();
266
+ }
267
+ get dailybuttontitle() {
268
+ return this.$$.ctx[3];
269
+ }
270
+ set dailybuttontitle(t) {
271
+ this.$$set({ dailybuttontitle: t }), y();
272
+ }
273
+ get index() {
274
+ return this.$$.ctx[4];
275
+ }
276
+ set index(t) {
277
+ this.$$set({ index: t }), y();
278
+ }
279
+ get mbsource() {
280
+ return this.$$.ctx[12];
281
+ }
282
+ set mbsource(t) {
283
+ this.$$set({ mbsource: t }), y();
284
+ }
285
+ get clientstyling() {
286
+ return this.$$.ctx[13];
287
+ }
288
+ set clientstyling(t) {
289
+ this.$$set({ clientstyling: t }), y();
290
+ }
291
+ get clientstylingurl() {
292
+ return this.$$.ctx[14];
293
+ }
294
+ set clientstylingurl(t) {
295
+ this.$$set({ clientstylingurl: t }), y();
296
+ }
297
+ get translationurl() {
298
+ return this.$$.ctx[15];
299
+ }
300
+ set translationurl(t) {
301
+ this.$$set({ translationurl: t }), y();
302
+ }
303
+ }
304
+ ne(ue, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
305
+ export {
306
+ ue as default
307
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CR3NqEmo.cjs");function J(i,e){t.addMessages(i,e)}const K={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}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=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-BU163_5n.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(i){t.append_styles(i,"svelte-2g6deg",".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}")}function ae(i){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-2g6deg")},m(n,o){t.insert(n,e,o),t.append(e,s),l||(r=t.action_destroyer(i[17].call(null,s)),l=!0)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e),l=!1,r()}}}function ie(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function ne(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-2g6deg")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;function s(n,o){return n[13]||le||re?ne:n[15]?ie:ae}let l=s(i),r=l(i);return{c(){e=t.element("div"),r.c()},m(n,o){t.insert(n,e,o),r.m(e,null),i[27](e)},p(n,o){l===(l=s(n))&&r?r.p(n,o):(r.d(1),r=l(n),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(n){n&&t.detach(e),r.d(),i[27](null)}}}let j="CasinoSliderData",le=!1,re=!1;function ce(i,e,s){let l;t.component_subscribe(i,t.$format,a=>s(33,l=a));let{endpoint:r=""}=e,{datasource:n=""}=e,{lang:o=""}=e,{userid:P=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:N=""}=e,{clientstyling:w=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:F=""}=e,{sessioncheck:A=""}=e,{location:D="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:R=""}=e,{mygamesiconimage:U=""}=e,{mbsource:G}=e,q,I,g=!0,f,y=[],d=!1,V=window.navigator.userAgent,m,B,Y=!1,S=!1;const W=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(C=>{J(C,c[C])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(a=>{J(a,K[a])});const X=()=>{Y==!1&&(N=="true"||b=="true"||_=="true")&&y.splice(1,0,{id:"MYGAMES",name:q,href:"",games:[]}),t.tick(),Y=!0,s(26,S=!0),k()},Z=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,d=!0),s(13,g=!1),console.error(f)),n||(f="Datasource is missing! Please provide a valid datasource.",s(15,d=!0),s(13,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,d=!0),s(13,g=!1),console.error(f)),d),x=()=>{if(q=l("myGamesName"),I=l("lobbyName"),!Z()){let a=new URL(`${r}/v1/casino/groups/${n}`);a.searchParams.append("datasource",n),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(V)),fetch(a).then(c=>c.json()).then(c=>{let C=M.split(","),ee=c.items.filter(H=>{let E=!1;if(H.games.total>0&&(E=!0,M))for(let te of C)H.flags==te&&(E=!1);return E});y=[],y=y.concat(ee),y.unshift({id:"LOBBY",name:I,href:"",games:[]}),s(13,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(15,d=!0),console.error("There was an error while fetching the categories",c)})}},p=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},k=()=>{window.postMessage({type:"SliderData",identity:j,data:y},window.location.href)},z=a=>{a.data&&a.data.type=="SliderLoaded"&&j==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{m=a,s(14,m)})}return i.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,n=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(18,P=a.userid),"session"in a&&s(19,h=a.session),"mostplayed"in a&&s(20,b=a.mostplayed),"lastplayed"in a&&s(21,_=a.lastplayed),"favorites"in a&&s(22,N=a.favorites),"clientstyling"in a&&s(4,w=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,F=a.actionevent),"sessioncheck"in a&&s(23,A=a.sessioncheck),"location"in a&&s(7,D=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(24,M=a.filteredcategories),"translationurl"in a&&s(25,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,R=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,U=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&r&&n&&o&&x(),i.$$.dirty[0]&7872514&&r&&h&&(b||_||N)&&!g&&X(),i.$$.dirty[0]&67641345&&!g&&u&&(!h||S)&&p(),i.$$.dirty[0]&33554432&&v&&W(),i.$$.dirty[0]&16400&&w&&m&&t.setClientStyling(m,w),i.$$.dirty[0]&16416&&L&&m&&t.setClientStylingURL(m,L),i.$$.dirty[0]&20480&&m&&t.setStreamStyling(m,`${G}.Style`)},s(16,B=0),[u,r,n,o,w,L,F,D,O,T,R,U,G,g,m,d,B,k,P,h,b,_,N,A,M,v,S,$]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:18,session:19,mostplayed:20,lastplayed:21,favorites:22,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:23,location:7,showsubgroups:8,filteredcategories:24,translationurl:25,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[18]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[19]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[20]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[21]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[22]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[23]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[24]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[25]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=Q;
@@ -1,8 +1,8 @@
1
- import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as E, G as S, j, k as fe, o as be, l as de, N as he, O as Ne, q as we, r as Le, m as Me, P as n, y as T, z as _e, Q as ve, I as Ce } from "./CasinoCalendar-Km8tdNHN.js";
2
- function x(i, e) {
3
- le(i, e);
1
+ import { a as re, S as le, i as ce, f as l, s as me, M as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, O as be, C as de, r as T, E as n, p as he, P as Ne, N as we, J as Le, K as Me, L as _e, Q as ve } from "./CasinoCalendar-DoAbSivX.js";
2
+ function Z(i, e) {
3
+ re(i, e);
4
4
  }
5
- const p = {
5
+ const x = {
6
6
  en: {
7
7
  lobbyName: "Lobby",
8
8
  myGamesName: "My games"
@@ -88,14 +88,14 @@ if (typeof window < "u") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-PeKujgAE.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-pPfml1-U.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
95
- function Ge(i) {
96
- ye(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
95
+ function Ce(i) {
96
+ ue(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
97
97
  }
98
- function ke(i) {
98
+ function Ge(i) {
99
99
  let e, t, r, c;
100
100
  return {
101
101
  c() {
@@ -172,7 +172,7 @@ function ke(i) {
172
172
  ), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
173
173
  },
174
174
  m(a, o) {
175
- E(a, e, o), _e(e, t), r || (c = ve(
175
+ j(a, e, o), he(e, t), r || (c = Ne(
176
176
  /*sendSliderData*/
177
177
  i[17].call(null, t)
178
178
  ), r = !0);
@@ -265,48 +265,48 @@ function ke(i) {
265
265
  );
266
266
  },
267
267
  d(a) {
268
- a && j(e), r = !1, c();
268
+ a && E(e), r = !1, c();
269
269
  }
270
270
  };
271
271
  }
272
- function Se(i) {
272
+ function ke(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
276
  e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
277
277
  },
278
278
  m(t, r) {
279
- E(t, e, r);
279
+ j(t, e, r);
280
280
  },
281
281
  p: S,
282
282
  d(t) {
283
- t && j(e);
283
+ t && E(e);
284
284
  }
285
285
  };
286
286
  }
287
- function Ee(i) {
287
+ function Se(i) {
288
288
  let e;
289
289
  return {
290
290
  c() {
291
291
  e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
292
292
  },
293
293
  m(t, r) {
294
- E(t, e, r);
294
+ j(t, e, r);
295
295
  },
296
296
  p: S,
297
297
  d(t) {
298
- t && j(e);
298
+ t && E(e);
299
299
  }
300
300
  };
301
301
  }
302
- function je(i) {
302
+ function Ee(i) {
303
303
  let e;
304
304
  function t(a, o) {
305
305
  return (
306
306
  /*isLoading*/
307
- a[13] || Pe || Fe ? Ee : (
307
+ a[13] || je || Pe ? Se : (
308
308
  /*hasErrors*/
309
- a[15] ? Se : ke
309
+ a[15] ? ke : Ge
310
310
  )
311
311
  );
312
312
  }
@@ -316,7 +316,7 @@ function je(i) {
316
316
  e = h("div"), c.c();
317
317
  },
318
318
  m(a, o) {
319
- E(a, e, o), c.m(e, null), i[27](e);
319
+ j(a, e, o), c.m(e, null), i[27](e);
320
320
  },
321
321
  p(a, o) {
322
322
  r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
@@ -324,48 +324,48 @@ function je(i) {
324
324
  i: S,
325
325
  o: S,
326
326
  d(a) {
327
- a && j(e), c.d(), i[27](null);
327
+ a && E(e), c.d(), i[27](null);
328
328
  }
329
329
  };
330
330
  }
331
- let O = "CasinoSliderData", Pe = !1, Fe = !1;
332
- function Ae(i, e, t) {
331
+ let O = "CasinoSliderData", je = !1, Pe = !1;
332
+ function Fe(i, e, t) {
333
333
  let r;
334
- fe(i, Ce, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: q = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: z = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, Q, J, K, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, F = !1;
336
- const ee = () => {
334
+ ye(i, we, (s) => t(33, r = s));
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
336
+ const $ = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
339
- x(k, m[k]);
339
+ Z(k, m[k]);
340
340
  });
341
341
  }).catch((m) => {
342
342
  console.log(m);
343
343
  });
344
344
  };
345
- Object.keys(p).forEach((s) => {
346
- x(s, p[s]);
345
+ Object.keys(x).forEach((s) => {
346
+ Z(s, x[s]);
347
347
  });
348
- const te = () => {
349
- W == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
348
+ const ee = () => {
349
+ V == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
350
350
  // @ts-ignore
351
351
  id: "MYGAMES",
352
352
  name: J,
353
353
  href: "",
354
354
  games: []
355
- }), he(), W = !0, t(26, F = !0), A();
356
- }, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
357
- if (J = r("myGamesName"), K = r("lobbyName"), !se()) {
355
+ }), ve(), V = !0, t(26, F = !0), A();
356
+ }, te = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), se = () => {
357
+ if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
358
358
  let s = new URL(`${c}/v1/casino/groups/${a}`);
359
- s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", Ne($)), fetch(s).then((m) => m.json()).then(
359
+ s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", be(p)), fetch(s).then((m) => m.json()).then(
360
360
  (m) => {
361
- let k = C.split(","), oe = m.items.filter((Z) => {
361
+ let k = C.split(","), ne = m.items.filter((X) => {
362
362
  let D = !1;
363
- if (Z.games.total > 0 && (D = !0, C))
364
- for (let re of k)
365
- Z.flags == re && (D = !1);
363
+ if (X.games.total > 0 && (D = !0, C))
364
+ for (let oe of k)
365
+ X.flags == oe && (D = !1);
366
366
  return D;
367
367
  });
368
- d = [], d = d.concat(oe), d.unshift({
368
+ d = [], d = d.concat(ne), d.unshift({
369
369
  // @ts-ignore
370
370
  id: "LOBBY",
371
371
  name: K,
@@ -380,7 +380,7 @@ function Ae(i, e, t) {
380
380
  t(15, f = !0), console.error("There was an error while fetching the categories", m);
381
381
  });
382
382
  }
383
- }, ae = () => {
383
+ }, ie = () => {
384
384
  let s = u.split("$");
385
385
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
386
386
  }, A = () => {
@@ -392,67 +392,67 @@ function Ae(i, e, t) {
392
392
  },
393
393
  window.location.href
394
394
  );
395
- }, X = (s) => {
395
+ }, W = (s) => {
396
396
  s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
397
397
  };
398
- be(() => (window.addEventListener("message", X, !1), () => {
399
- window.emMessageBus && Q && Q.unsubscribe(), window.removeEventListener("message", X);
398
+ fe(() => (window.addEventListener("message", W, !1), () => {
399
+ window.removeEventListener("message", W);
400
400
  }));
401
- function ne(s) {
402
- we[s ? "unshift" : "push"](() => {
401
+ function ae(s) {
402
+ de[s ? "unshift" : "push"](() => {
403
403
  g = s, t(14, g);
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, q = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, z = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, I = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
- 14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
- 7872514 && c && N && (w || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
- 67641345 && !y && u && (!N || F) && ae(), i.$$.dirty[0] & /*translationurl*/
413
- 33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
410
+ 14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
+ 7872514 && c && N && (w || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
+ 67641345 && !y && u && (!N || F) && ie(), i.$$.dirty[0] & /*translationurl*/
413
+ 33554432 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
414
  16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
- 16416 && v && g && de(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
- 20480 && g && Me(g, `${P}.Style`);
417
- }, t(16, V = 0), [
415
+ 16416 && v && g && Me(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
+ 20480 && g && _e(g, `${P}.Style`);
417
+ }, t(16, Q = 0), [
418
418
  u,
419
419
  c,
420
420
  a,
421
421
  o,
422
422
  _,
423
423
  v,
424
- R,
424
+ U,
425
425
  B,
426
+ Y,
426
427
  q,
427
428
  z,
428
- Y,
429
429
  H,
430
430
  P,
431
431
  y,
432
432
  g,
433
433
  f,
434
- V,
434
+ Q,
435
435
  A,
436
- I,
436
+ R,
437
437
  N,
438
438
  w,
439
439
  L,
440
440
  M,
441
- U,
441
+ I,
442
442
  C,
443
443
  G,
444
444
  F,
445
- ne
445
+ ae
446
446
  ];
447
447
  }
448
- class De extends ce {
448
+ class Ae extends le {
449
449
  constructor(e) {
450
- super(), me(
450
+ super(), ce(
451
451
  this,
452
452
  e,
453
- Ae,
454
- je,
455
- ue,
453
+ Fe,
454
+ Ee,
455
+ me,
456
456
  {
457
457
  endpoint: 1,
458
458
  datasource: 2,
@@ -476,7 +476,7 @@ class De extends ce {
476
476
  mygamesiconimage: 11,
477
477
  mbsource: 12
478
478
  },
479
- Ge,
479
+ Ce,
480
480
  [-1, -1]
481
481
  );
482
482
  }
@@ -607,7 +607,7 @@ class De extends ce {
607
607
  this.$$set({ mbsource: e }), l();
608
608
  }
609
609
  }
610
- ge(De, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
610
+ ge(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
611
611
  export {
612
- De as default
612
+ Ae as default
613
613
  };