@everymatrix/casino-lobby 1.41.0 → 1.42.69

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 (165) hide show
  1. package/components/CasinoCalendar-BQx5-rlk.cjs +9 -0
  2. package/components/CasinoCalendar-CGBzMgQt.cjs +9 -0
  3. package/components/CasinoCalendar-C_GWg7fU.js +5215 -0
  4. package/components/CasinoCalendar-D8A7V_p_.js +5176 -0
  5. package/components/CasinoCalendar-T2eu_ijJ.js +5213 -0
  6. package/components/CasinoCalendar-wabXB62Y.js +5174 -0
  7. package/components/CasinoCalendarDailyDetails-BsuvGAH5.js +701 -0
  8. package/components/CasinoCalendarDailyDetails-CXJQEBiD.js +701 -0
  9. package/components/CasinoCalendarDailyDetails-DD9ivry_.js +701 -0
  10. package/components/CasinoCalendarDailyDetails-DuTGv4cR.cjs +1 -0
  11. package/components/CasinoCalendarDailyDetails-DxoETvny.cjs +1 -0
  12. package/components/CasinoCalendarDailyDetails-HgqSzjsm.js +701 -0
  13. package/components/CasinoCalendarDailyItem-9ZdOdWc1.js +315 -0
  14. package/components/CasinoCalendarDailyItem-BQH_cu-K.cjs +1 -0
  15. package/components/CasinoCalendarDailyItem-Cij4qSkW.js +315 -0
  16. package/components/CasinoCalendarDailyItem-DieqmO8j.js +315 -0
  17. package/components/CasinoCalendarDailyItem-DynzkhlT.js +315 -0
  18. package/components/CasinoCalendarDailyItem-W6jJ8Vef.cjs +1 -0
  19. package/components/CasinoCategoriesSlider-CCBzNNkz.cjs +1 -0
  20. package/components/CasinoCategoriesSlider-Dg6UQ05U.js +594 -0
  21. package/components/CasinoCategoriesSlider-DqNp_BOt.js +594 -0
  22. package/components/CasinoCategoriesSlider-GrF0HXC7.cjs +1 -0
  23. package/components/CasinoCategoriesSlider-_w_55gG7.js +594 -0
  24. package/components/CasinoCategoriesSlider-pHVM7RZL.js +594 -0
  25. package/components/CasinoCollectionsProviders-BIcovGJ8.js +646 -0
  26. package/components/CasinoCollectionsProviders-CH2GAKzC.cjs +1 -0
  27. package/components/CasinoCollectionsProviders-D45_hU-I.js +646 -0
  28. package/components/CasinoCollectionsProviders-DMj_7QBU.cjs +1 -0
  29. package/components/CasinoCollectionsProviders-DfgvvOqL.js +651 -0
  30. package/components/CasinoCollectionsProviders-N_n3oOYS.js +651 -0
  31. package/components/CasinoFavoritesSection-B0uLh581.js +426 -0
  32. package/components/CasinoFavoritesSection-BD3Pecym.cjs +1 -0
  33. package/components/CasinoFavoritesSection-BMVarhje.cjs +1 -0
  34. package/components/CasinoFavoritesSection-B_tSVGIY.js +426 -0
  35. package/components/CasinoFavoritesSection-Da-NSsar.js +426 -0
  36. package/components/CasinoFavoritesSection-Dm0HviHl.js +426 -0
  37. package/components/CasinoFilter-B9sKxzVS.js +620 -0
  38. package/components/CasinoFilter-CMVqOmbG.js +619 -0
  39. package/components/CasinoFilter-Cf00T9dk.js +620 -0
  40. package/components/CasinoFilter-D3HxH1PB.cjs +1 -0
  41. package/components/CasinoFilter-DD3HMkSy.js +619 -0
  42. package/components/CasinoFilter-c8_bvC4c.cjs +1 -0
  43. package/components/CasinoGamePage-BundiLLb.js +4266 -0
  44. package/components/CasinoGamePage-C10RyyZp.cjs +18 -0
  45. package/components/CasinoGamePage-CfbBY5CU.cjs +18 -0
  46. package/components/CasinoGamePage-DC-LoQTc.js +4266 -0
  47. package/components/CasinoGamePage-OZnVr_Bg.js +4287 -0
  48. package/components/CasinoGamePage-yVND0I7w.js +4287 -0
  49. package/components/CasinoGameThumbnail-B1NNWJ0K.js +1820 -0
  50. package/components/CasinoGameThumbnail-Bc66QenW.cjs +38 -0
  51. package/components/CasinoGameThumbnail-CIGOC4uM.js +1820 -0
  52. package/components/CasinoGameThumbnail-DA3jcFAi.js +1836 -0
  53. package/components/CasinoGameThumbnail-DT9ORm8q.js +1836 -0
  54. package/components/CasinoGameThumbnail-DcqwhTjb.cjs +38 -0
  55. package/components/CasinoGamesCategorySection-BNYOO745.cjs +1 -0
  56. package/components/CasinoGamesCategorySection-C78ehK4U.js +2991 -0
  57. package/components/CasinoGamesCategorySection-Cagm02Ih.js +3020 -0
  58. package/components/CasinoGamesCategorySection-DBr4EIfz.js +2991 -0
  59. package/components/CasinoGamesCategorySection-Kzwpz7w5.js +3020 -0
  60. package/components/CasinoGamesCategorySection-_vABwskz.cjs +1 -0
  61. package/components/CasinoJackpotBanner-5cCB-mh2.js +592 -0
  62. package/components/CasinoJackpotBanner-Agfg0mZ0.js +592 -0
  63. package/components/CasinoJackpotBanner-BAhiOMZp.cjs +1 -0
  64. package/components/CasinoJackpotBanner-D7ZMZfDV.cjs +1 -0
  65. package/components/CasinoJackpotBanner-DR-ZzHCR.js +596 -0
  66. package/components/CasinoJackpotBanner-QB6MSrF4.js +596 -0
  67. package/components/CasinoLastPlayedSection-BjhQKUSK.js +556 -0
  68. package/components/CasinoLastPlayedSection-BxzCwcL-.js +556 -0
  69. package/components/CasinoLastPlayedSection-D4vCeonE.js +556 -0
  70. package/components/CasinoLastPlayedSection-Dwe4Td9f.cjs +1 -0
  71. package/components/CasinoLastPlayedSection-XK5dzsj-.js +556 -0
  72. package/components/CasinoLastPlayedSection-v0aQnExT.cjs +1 -0
  73. package/components/CasinoLobby-AFKKESbR.cjs +1 -0
  74. package/components/CasinoLobby-CHvuexFs.js +2315 -0
  75. package/components/CasinoLobby-ClhYpfUU.js +2315 -0
  76. package/components/CasinoLobby-DALY2Dhs.cjs +1 -0
  77. package/components/CasinoLobby-hrKaH7qN.js +2315 -0
  78. package/components/CasinoLobby-ouSesgdC.js +2315 -0
  79. package/components/CasinoModal-BIVMlWQX.js +359 -0
  80. package/components/CasinoModal-BYKM2vRV.cjs +1 -0
  81. package/components/CasinoModal-C3wpERtX.js +359 -0
  82. package/components/CasinoModal-Cabai4o3.js +359 -0
  83. package/components/CasinoModal-DRyqJh1Q.cjs +1 -0
  84. package/components/CasinoModal-Dw_y4THL.js +359 -0
  85. package/components/CasinoMostPlayedSection-C3K0hu8_.js +583 -0
  86. package/components/CasinoMostPlayedSection-CJYMI9VB.js +583 -0
  87. package/components/CasinoMostPlayedSection-DJQuOa6_.js +583 -0
  88. package/components/CasinoMostPlayedSection-DmUpsWqs.cjs +1 -0
  89. package/components/CasinoMostPlayedSection-OUtCsU0t.cjs +1 -0
  90. package/components/CasinoMostPlayedSection-Y5er9Bjh.js +583 -0
  91. package/components/CasinoMyGames-BIxyEUtK.js +1306 -0
  92. package/components/CasinoMyGames-D5rJT74m.cjs +1 -0
  93. package/components/CasinoMyGames-DI1lwYc8.js +1305 -0
  94. package/components/CasinoMyGames-DTHVNaKn.cjs +1 -0
  95. package/components/CasinoMyGames-DwUV6CBn.js +1305 -0
  96. package/components/CasinoMyGames-ctBoKyAg.js +1306 -0
  97. package/components/CasinoPage-BGO7Qjz8.js +3535 -0
  98. package/components/CasinoPage-Bw9pVfhj.cjs +1 -0
  99. package/components/CasinoPage-Ccz2mt9L.js +3535 -0
  100. package/components/CasinoPage-D4SKFGBe.cjs +1 -0
  101. package/components/CasinoPage-DLYXRAgH.js +3538 -0
  102. package/components/CasinoPage-OtILzfbb.js +3538 -0
  103. package/components/CasinoRandomGame-CtZOIJcN.js +658 -0
  104. package/components/CasinoRandomGame-Cveyjhn1.js +642 -0
  105. package/components/CasinoRandomGame-DALiyns2.cjs +2 -0
  106. package/components/CasinoRandomGame-DVoXDVJK.cjs +2 -0
  107. package/components/CasinoRandomGame-DbeS8lnM.js +642 -0
  108. package/components/CasinoRandomGame-HLWP49DK.js +658 -0
  109. package/components/CasinoSearch-B8OpEZBN.cjs +1 -0
  110. package/components/CasinoSearch-BMZWS8yv.js +1058 -0
  111. package/components/CasinoSearch-BQe9Q-5N.js +1060 -0
  112. package/components/CasinoSearch-B_Yrv4Uo.cjs +1 -0
  113. package/components/CasinoSearch-CbqN_jyR.js +1058 -0
  114. package/components/CasinoSearch-D9U7Yh_K.js +1060 -0
  115. package/components/CasinoSlider-BOVT94iB.js +794 -0
  116. package/components/CasinoSlider-BSHGeAYd.js +788 -0
  117. package/components/CasinoSlider-BvS3IBvk.cjs +1 -0
  118. package/components/CasinoSlider-CF-wUwQR.cjs +1 -0
  119. package/components/CasinoSlider-CrHKe4Xk.js +803 -0
  120. package/components/CasinoSlider-Cxh3sOkP.js +797 -0
  121. package/components/CasinoSort-BOWrHLh_.js +420 -0
  122. package/components/CasinoSort-BwnNTnFA.js +420 -0
  123. package/components/CasinoSort-DTw1r10v.js +419 -0
  124. package/components/CasinoSort-DWtBvm9D.cjs +1 -0
  125. package/components/CasinoSort-LblMuLP4.js +419 -0
  126. package/components/CasinoSort-hnzXlXWX.cjs +1 -0
  127. package/components/CasinoWinners-C9izX5Hz.js +955 -0
  128. package/components/CasinoWinners-CO3x7y86.js +955 -0
  129. package/components/CasinoWinners-CZWuAxEs.js +953 -0
  130. package/components/CasinoWinners-CjaKY4pX.cjs +1 -0
  131. package/components/CasinoWinners-DOucg2Bq.js +953 -0
  132. package/components/CasinoWinners-xdJkyzy9.cjs +1 -0
  133. package/components/GeneralAnimationLoading-C4-n6eKC.cjs +1 -0
  134. package/components/GeneralAnimationLoading-CGGvPAzb.js +75 -0
  135. package/components/GeneralAnimationLoading-Ch_RgnSg.js +75 -0
  136. package/components/GeneralAnimationLoading-DBrwarIl.js +75 -0
  137. package/components/GeneralAnimationLoading-YY_Qislb.cjs +1 -0
  138. package/components/GeneralAnimationLoading-qKrL3K2W.js +75 -0
  139. package/es2015/casino-lobby.cjs +1 -0
  140. package/es2015/casino-lobby.js +16 -0
  141. package/esnext/casino-lobby.js +14 -0
  142. package/package.json +19 -34
  143. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  144. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  145. package/stencil/casino-play-random-game-CE7d8ftV.js +559 -0
  146. package/stencil/casino-play-random-game-JlSgoZ7I.js +577 -0
  147. package/stencil/casino-play-random-game-fmski7eY.cjs +371 -0
  148. package/stencil/index-bc02f5d1-CGWk9tpa.js +609 -0
  149. package/stencil/index-bc02f5d1-Cfiraoh4.js +625 -0
  150. package/stencil/index-bc02f5d1-zY9WEQOW.cjs +1 -0
  151. package/CHANGELOG.md +0 -39
  152. package/README.md +0 -0
  153. package/dist/casino-lobby.js +0 -33
  154. package/dist/casino-lobby.js.map +0 -1
  155. package/documentation.md +0 -176
  156. package/index.html +0 -50
  157. package/index.js +0 -1
  158. package/public/favicon.png +0 -0
  159. package/public/reset.css +0 -48
  160. package/rollup.config.js +0 -67
  161. package/src/CasinoLobby.svelte +0 -454
  162. package/src/i18n.js +0 -25
  163. package/src/index.ts +0 -4
  164. package/stories/CasinoLobby.stories.js +0 -13
  165. package/tsconfig.json +0 -6
@@ -0,0 +1,594 @@
1
+ import { a as oe, S as le, i as re, f as c, c as ce, s as ge, b as me, e as h, d as E, D as k, j, k as ue, o as ye, K as fe, n as de, L as be, M as he, N as Ne, O as o, v as S, w as we, P as Le, F as Me, Q as Ce } from "./CasinoCalendar-T2eu_ijJ.js";
2
+ function W(i, e) {
3
+ oe(i, e);
4
+ }
5
+ const X = {
6
+ en: {
7
+ lobbyName: "Lobby",
8
+ myGamesName: "My games"
9
+ },
10
+ de: {
11
+ lobbyName: "Lobby",
12
+ myGamesName: "My games"
13
+ },
14
+ es: {
15
+ lobbyName: "Sala",
16
+ myGamesName: "Mis juegos"
17
+ },
18
+ "zh-hk": {
19
+ lobbyName: "Lobby",
20
+ myGamesName: "My games"
21
+ },
22
+ it: {
23
+ lobbyName: "Lobby",
24
+ myGamesName: "My games"
25
+ },
26
+ fr: {
27
+ lobbyName: "Lobby",
28
+ myGamesName: "My games"
29
+ },
30
+ tr: {
31
+ lobbyName: "Lobi",
32
+ myGamesName: "Oyunlarım"
33
+ },
34
+ ru: {
35
+ lobbyName: "Lobby",
36
+ myGamesName: "My games"
37
+ },
38
+ ro: {
39
+ lobbyName: "Lobby",
40
+ myGamesName: "My games"
41
+ },
42
+ hr: {
43
+ lobbyName: "Moj casino",
44
+ myGamesName: "Moje igre"
45
+ },
46
+ hu: {
47
+ lobbyName: "Lobby",
48
+ myGamesName: "My games"
49
+ },
50
+ pl: {
51
+ lobbyName: "Lobby",
52
+ myGamesName: "My games"
53
+ },
54
+ pt: {
55
+ lobbyName: "Lobby",
56
+ myGamesName: "My games"
57
+ },
58
+ sl: {
59
+ lobbyName: "Lobby",
60
+ myGamesName: "My games"
61
+ },
62
+ sr: {
63
+ lobbyName: "Lobby",
64
+ myGamesName: "My games"
65
+ },
66
+ "pt-br": {
67
+ lobbyName: "Lobby",
68
+ myGamesName: "Meus jogos"
69
+ },
70
+ "es-mx": {
71
+ lobbyName: "Lobby",
72
+ myGamesName: "Mis juegos"
73
+ },
74
+ "en-us": {
75
+ lobbyName: "Lobby",
76
+ myGamesName: "My games"
77
+ }
78
+ };
79
+ if (typeof window != "undefined") {
80
+ let i = function(e) {
81
+ return function(...t) {
82
+ try {
83
+ return e.apply(this, t);
84
+ } catch (l) {
85
+ 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"))
86
+ return !1;
87
+ throw l;
88
+ }
89
+ };
90
+ };
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-BOVT94iB.js").then(({ default: e }) => {
92
+ !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
+ });
94
+ }
95
+ function _e(i) {
96
+ me(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
+ }
98
+ function ve(i) {
99
+ let e, t, l, r;
100
+ return {
101
+ c() {
102
+ e = h("div"), t = h("casino-slider"), o(
103
+ t,
104
+ "lang",
105
+ /*lang*/
106
+ i[3]
107
+ ), o(
108
+ t,
109
+ "datasource",
110
+ /*datasource*/
111
+ i[2]
112
+ ), o(
113
+ t,
114
+ "endpoint",
115
+ /*endpoint*/
116
+ i[1]
117
+ ), o(t, "identity", O), o(
118
+ t,
119
+ "favoritesnumber",
120
+ /*numberOfFavoredGames*/
121
+ i[15]
122
+ ), o(
123
+ t,
124
+ "showsubgroups",
125
+ /*showsubgroups*/
126
+ i[8]
127
+ ), o(
128
+ t,
129
+ "clientstyling",
130
+ /*clientstyling*/
131
+ i[4]
132
+ ), o(
133
+ t,
134
+ "clientstylingurl",
135
+ /*clientstylingurl*/
136
+ i[5]
137
+ ), o(
138
+ t,
139
+ "activeindex",
140
+ /*activecategory*/
141
+ i[0]
142
+ ), o(
143
+ t,
144
+ "actionevent",
145
+ /*actionevent*/
146
+ i[6]
147
+ ), o(
148
+ t,
149
+ "location",
150
+ /*location*/
151
+ i[7]
152
+ ), o(
153
+ t,
154
+ "categoriesicon",
155
+ /*categoriesicon*/
156
+ i[9]
157
+ ), o(
158
+ t,
159
+ "lobbyiconimage",
160
+ /*lobbyiconimage*/
161
+ i[10]
162
+ ), o(
163
+ t,
164
+ "mygamesiconimage",
165
+ /*mygamesiconimage*/
166
+ i[11]
167
+ ), S(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), S(e, "part", "CasinoCategoriesContainer");
168
+ },
169
+ m(a, n) {
170
+ E(a, e, n), we(e, t), l || (r = Le(
171
+ /*sendSliderData*/
172
+ i[16].call(null, t)
173
+ ), l = !0);
174
+ },
175
+ p(a, n) {
176
+ n[0] & /*lang*/
177
+ 8 && o(
178
+ t,
179
+ "lang",
180
+ /*lang*/
181
+ a[3]
182
+ ), n[0] & /*datasource*/
183
+ 4 && o(
184
+ t,
185
+ "datasource",
186
+ /*datasource*/
187
+ a[2]
188
+ ), n[0] & /*endpoint*/
189
+ 2 && o(
190
+ t,
191
+ "endpoint",
192
+ /*endpoint*/
193
+ a[1]
194
+ ), n[0] & /*numberOfFavoredGames*/
195
+ 32768 && o(
196
+ t,
197
+ "favoritesnumber",
198
+ /*numberOfFavoredGames*/
199
+ a[15]
200
+ ), n[0] & /*showsubgroups*/
201
+ 256 && o(
202
+ t,
203
+ "showsubgroups",
204
+ /*showsubgroups*/
205
+ a[8]
206
+ ), n[0] & /*clientstyling*/
207
+ 16 && o(
208
+ t,
209
+ "clientstyling",
210
+ /*clientstyling*/
211
+ a[4]
212
+ ), n[0] & /*clientstylingurl*/
213
+ 32 && o(
214
+ t,
215
+ "clientstylingurl",
216
+ /*clientstylingurl*/
217
+ a[5]
218
+ ), n[0] & /*activecategory*/
219
+ 1 && o(
220
+ t,
221
+ "activeindex",
222
+ /*activecategory*/
223
+ a[0]
224
+ ), n[0] & /*actionevent*/
225
+ 64 && o(
226
+ t,
227
+ "actionevent",
228
+ /*actionevent*/
229
+ a[6]
230
+ ), n[0] & /*location*/
231
+ 128 && o(
232
+ t,
233
+ "location",
234
+ /*location*/
235
+ a[7]
236
+ ), n[0] & /*categoriesicon*/
237
+ 512 && o(
238
+ t,
239
+ "categoriesicon",
240
+ /*categoriesicon*/
241
+ a[9]
242
+ ), n[0] & /*lobbyiconimage*/
243
+ 1024 && o(
244
+ t,
245
+ "lobbyiconimage",
246
+ /*lobbyiconimage*/
247
+ a[10]
248
+ ), n[0] & /*mygamesiconimage*/
249
+ 2048 && o(
250
+ t,
251
+ "mygamesiconimage",
252
+ /*mygamesiconimage*/
253
+ a[11]
254
+ );
255
+ },
256
+ d(a) {
257
+ a && j(e), l = !1, r();
258
+ }
259
+ };
260
+ }
261
+ function Ge(i) {
262
+ let e;
263
+ return {
264
+ c() {
265
+ e = h("p"), e.textContent = "500 Error - Internal Server Error.", S(e, "class", "SearchLoading svelte-2g6deg");
266
+ },
267
+ m(t, l) {
268
+ E(t, e, l);
269
+ },
270
+ p: k,
271
+ d(t) {
272
+ t && j(e);
273
+ }
274
+ };
275
+ }
276
+ function ke(i) {
277
+ let e;
278
+ return {
279
+ c() {
280
+ e = h("div"), S(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
281
+ },
282
+ m(t, l) {
283
+ E(t, e, l);
284
+ },
285
+ p: k,
286
+ d(t) {
287
+ t && j(e);
288
+ }
289
+ };
290
+ }
291
+ function Se(i) {
292
+ let e;
293
+ function t(a, n) {
294
+ return (
295
+ /*isLoading*/
296
+ a[12] || Ee || je ? ke : (
297
+ /*hasErrors*/
298
+ a[14] ? Ge : ve
299
+ )
300
+ );
301
+ }
302
+ let l = t(i), r = l(i);
303
+ return {
304
+ c() {
305
+ e = h("div"), r.c();
306
+ },
307
+ m(a, n) {
308
+ E(a, e, n), r.m(e, null), i[26](e);
309
+ },
310
+ p(a, n) {
311
+ l === (l = t(a)) && r ? r.p(a, n) : (r.d(1), r = l(a), r && (r.c(), r.m(e, null)));
312
+ },
313
+ i: k,
314
+ o: k,
315
+ d(a) {
316
+ a && j(e), r.d(), i[26](null);
317
+ }
318
+ };
319
+ }
320
+ let O = "CasinoSliderData", Ee = !1, je = !1;
321
+ function Fe(i, e, t) {
322
+ let l;
323
+ ue(i, Me, (s) => t(32, l = s));
324
+ let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: T = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: C = "" } = e, { clientstylingurl: F = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: _ = "" } = e, { translationurl: v = "" } = e, { categoriesicon: Y = "" } = e, { lobbyiconimage: q = "" } = e, { mygamesiconimage: z = "" } = e, H, K, y = !0, d, b = [], f = !1, Z = window.navigator.userAgent, m, Q, x = !1, P = !1;
325
+ const p = () => {
326
+ fetch(v).then((g) => g.json()).then((g) => {
327
+ Object.keys(g).forEach((G) => {
328
+ W(G, g[G]);
329
+ });
330
+ }).catch((g) => {
331
+ console.log(g);
332
+ });
333
+ };
334
+ Object.keys(X).forEach((s) => {
335
+ W(s, X[s]);
336
+ });
337
+ const $ = () => {
338
+ x == !1 && (M == "true" || w == "true" || L == "true") && b.splice(1, 0, {
339
+ // @ts-ignore
340
+ id: "MYGAMES",
341
+ name: H,
342
+ href: "",
343
+ games: []
344
+ }), Ce(), x = !0, t(25, P = !0), D();
345
+ }, ee = () => (r || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(d)), a || (d = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(d)), (!n || n.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(d)), f), te = () => {
346
+ if (H = l("myGamesName"), K = l("lobbyName"), !ee()) {
347
+ let s = new URL(`${r}/v1/casino/groups/${a}`);
348
+ s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", fe(Z)), fetch(s).then((g) => g.json()).then(
349
+ (g) => {
350
+ let G = _.split(","), ae = g.items.filter((V) => {
351
+ let A = !1;
352
+ if (V.games.total > 0 && (A = !0, _))
353
+ for (let ne of G)
354
+ V.flags == ne && (A = !1);
355
+ return A;
356
+ });
357
+ b = [], b = b.concat(ae), b.unshift({
358
+ // @ts-ignore
359
+ id: "LOBBY",
360
+ name: K,
361
+ href: "",
362
+ games: []
363
+ }), t(12, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
364
+ },
365
+ (g) => {
366
+ t(14, f = !0), console.error("There was an error while fetching the categories", g);
367
+ }
368
+ ).catch((g) => {
369
+ t(14, f = !0), console.error("There was an error while fetching the categories", g);
370
+ });
371
+ }
372
+ }, se = () => {
373
+ let s = u.split("$");
374
+ t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
375
+ }, D = () => {
376
+ window.postMessage(
377
+ {
378
+ type: "SliderData",
379
+ identity: O,
380
+ data: b
381
+ },
382
+ window.location.href
383
+ );
384
+ }, J = (s) => {
385
+ s.data && s.data.type == "SliderLoaded" && O == s.data.identity && D();
386
+ };
387
+ ye(() => (window.addEventListener("message", J, !1), () => {
388
+ window.removeEventListener("message", J);
389
+ }));
390
+ function ie(s) {
391
+ de[s ? "unshift" : "push"](() => {
392
+ m = s, t(13, m);
393
+ });
394
+ }
395
+ return i.$$set = (s) => {
396
+ "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, N = s.session), "mostplayed" in s && t(19, w = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, C = s.clientstyling), "clientstylingurl" in s && t(5, F = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, _ = s.filteredcategories), "translationurl" in s && t(24, v = s.translationurl), "categoriesicon" in s && t(9, Y = s.categoriesicon), "lobbyiconimage" in s && t(10, q = s.lobbyiconimage), "mygamesiconimage" in s && t(11, z = s.mygamesiconimage);
397
+ }, i.$$.update = () => {
398
+ i.$$.dirty[0] & /*endpoint, datasource, lang*/
399
+ 14 && r && a && n && te(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
400
+ 3936258 && r && N && (w || L || M) && !y && $(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
401
+ 33820673 && !y && u && (!N || P) && se(), i.$$.dirty[0] & /*translationurl*/
402
+ 16777216 && v && p(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
403
+ 8208 && C && m && be(m, C), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
404
+ 8224 && F && m && he(m), i.$$.dirty[0] & /*customStylingContainer*/
405
+ 8192 && m && Ne(m, "Casino.Style");
406
+ }, t(15, Q = 0), [
407
+ u,
408
+ r,
409
+ a,
410
+ n,
411
+ C,
412
+ F,
413
+ R,
414
+ B,
415
+ I,
416
+ Y,
417
+ q,
418
+ z,
419
+ y,
420
+ m,
421
+ f,
422
+ Q,
423
+ D,
424
+ T,
425
+ N,
426
+ w,
427
+ L,
428
+ M,
429
+ U,
430
+ _,
431
+ v,
432
+ P,
433
+ ie
434
+ ];
435
+ }
436
+ class Pe extends le {
437
+ constructor(e) {
438
+ super(), re(
439
+ this,
440
+ e,
441
+ Fe,
442
+ Se,
443
+ ge,
444
+ {
445
+ endpoint: 1,
446
+ datasource: 2,
447
+ lang: 3,
448
+ userid: 17,
449
+ session: 18,
450
+ mostplayed: 19,
451
+ lastplayed: 20,
452
+ favorites: 21,
453
+ clientstyling: 4,
454
+ clientstylingurl: 5,
455
+ activecategory: 0,
456
+ actionevent: 6,
457
+ sessioncheck: 22,
458
+ location: 7,
459
+ showsubgroups: 8,
460
+ filteredcategories: 23,
461
+ translationurl: 24,
462
+ categoriesicon: 9,
463
+ lobbyiconimage: 10,
464
+ mygamesiconimage: 11
465
+ },
466
+ _e,
467
+ [-1, -1]
468
+ );
469
+ }
470
+ get endpoint() {
471
+ return this.$$.ctx[1];
472
+ }
473
+ set endpoint(e) {
474
+ this.$$set({ endpoint: e }), c();
475
+ }
476
+ get datasource() {
477
+ return this.$$.ctx[2];
478
+ }
479
+ set datasource(e) {
480
+ this.$$set({ datasource: e }), c();
481
+ }
482
+ get lang() {
483
+ return this.$$.ctx[3];
484
+ }
485
+ set lang(e) {
486
+ this.$$set({ lang: e }), c();
487
+ }
488
+ get userid() {
489
+ return this.$$.ctx[17];
490
+ }
491
+ set userid(e) {
492
+ this.$$set({ userid: e }), c();
493
+ }
494
+ get session() {
495
+ return this.$$.ctx[18];
496
+ }
497
+ set session(e) {
498
+ this.$$set({ session: e }), c();
499
+ }
500
+ get mostplayed() {
501
+ return this.$$.ctx[19];
502
+ }
503
+ set mostplayed(e) {
504
+ this.$$set({ mostplayed: e }), c();
505
+ }
506
+ get lastplayed() {
507
+ return this.$$.ctx[20];
508
+ }
509
+ set lastplayed(e) {
510
+ this.$$set({ lastplayed: e }), c();
511
+ }
512
+ get favorites() {
513
+ return this.$$.ctx[21];
514
+ }
515
+ set favorites(e) {
516
+ this.$$set({ favorites: e }), c();
517
+ }
518
+ get clientstyling() {
519
+ return this.$$.ctx[4];
520
+ }
521
+ set clientstyling(e) {
522
+ this.$$set({ clientstyling: e }), c();
523
+ }
524
+ get clientstylingurl() {
525
+ return this.$$.ctx[5];
526
+ }
527
+ set clientstylingurl(e) {
528
+ this.$$set({ clientstylingurl: e }), c();
529
+ }
530
+ get activecategory() {
531
+ return this.$$.ctx[0];
532
+ }
533
+ set activecategory(e) {
534
+ this.$$set({ activecategory: e }), c();
535
+ }
536
+ get actionevent() {
537
+ return this.$$.ctx[6];
538
+ }
539
+ set actionevent(e) {
540
+ this.$$set({ actionevent: e }), c();
541
+ }
542
+ get sessioncheck() {
543
+ return this.$$.ctx[22];
544
+ }
545
+ set sessioncheck(e) {
546
+ this.$$set({ sessioncheck: e }), c();
547
+ }
548
+ get location() {
549
+ return this.$$.ctx[7];
550
+ }
551
+ set location(e) {
552
+ this.$$set({ location: e }), c();
553
+ }
554
+ get showsubgroups() {
555
+ return this.$$.ctx[8];
556
+ }
557
+ set showsubgroups(e) {
558
+ this.$$set({ showsubgroups: e }), c();
559
+ }
560
+ get filteredcategories() {
561
+ return this.$$.ctx[23];
562
+ }
563
+ set filteredcategories(e) {
564
+ this.$$set({ filteredcategories: e }), c();
565
+ }
566
+ get translationurl() {
567
+ return this.$$.ctx[24];
568
+ }
569
+ set translationurl(e) {
570
+ this.$$set({ translationurl: e }), c();
571
+ }
572
+ get categoriesicon() {
573
+ return this.$$.ctx[9];
574
+ }
575
+ set categoriesicon(e) {
576
+ this.$$set({ categoriesicon: e }), c();
577
+ }
578
+ get lobbyiconimage() {
579
+ return this.$$.ctx[10];
580
+ }
581
+ set lobbyiconimage(e) {
582
+ this.$$set({ lobbyiconimage: e }), c();
583
+ }
584
+ get mygamesiconimage() {
585
+ return this.$$.ctx[11];
586
+ }
587
+ set mygamesiconimage(e) {
588
+ this.$$set({ mygamesiconimage: e }), c();
589
+ }
590
+ }
591
+ ce(Pe, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
592
+ export {
593
+ Pe as default
594
+ };