@everymatrix/casino-lobby 1.45.0 → 1.45.2

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 (84) hide show
  1. package/components/{CasinoCalendar-DEhfBjpm.js → CasinoCalendar-3HRZGpnG.js} +57 -61
  2. package/components/{CasinoCalendar-egUFg4eK.cjs → CasinoCalendar-9cVNHt1-.cjs} +5 -5
  3. package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
  4. package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
  5. package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
  6. package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
  7. package/components/{CasinoCategoriesSlider-BfuTLKom.cjs → CasinoCategoriesSlider-AAgG2_xb.cjs} +1 -1
  8. package/components/{CasinoCategoriesSlider-BQvWcqNm.js → CasinoCategoriesSlider-B3Aneyii.js} +2 -2
  9. package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
  11. package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
  12. package/components/{CasinoFavoritesSection-BBWM7_dI.js → CasinoFavoritesSection-DE0M_xZ_.js} +8 -8
  13. package/components/CasinoFilter-BWEtfBml.js +628 -0
  14. package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
  15. package/components/{CasinoGamePage-BHxY5XUD.cjs → CasinoGamePage-C4x_GUg3.cjs} +5 -5
  16. package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
  17. package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
  18. package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
  19. package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
  20. package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
  21. package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
  22. package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
  23. package/components/{CasinoLastPlayedSection-Dkh43VxC.js → CasinoLastPlayedSection-CAirOYgJ.js} +31 -31
  24. package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
  25. package/components/{CasinoLobby-Djp4HDWL.js → CasinoLobby-Cq0Hm2md.js} +88 -92
  26. package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
  27. package/components/CasinoModal-CZbdtmLm.js +372 -0
  28. package/components/CasinoModal-DqBbtAjA.cjs +1 -0
  29. package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
  30. package/components/{CasinoMostPlayedSection-BDP2HyE6.js → CasinoMostPlayedSection-k3_ln2SB.js} +58 -58
  31. package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
  32. package/components/{CasinoMyGames-CILl0Jt1.js → CasinoMyGames-DcJpzIEq.js} +385 -385
  33. package/components/{CasinoPage-CCcJd2fQ.js → CasinoPage-BbRpHGEc.js} +1171 -1171
  34. package/components/CasinoPage-srXwB6ik.cjs +1 -0
  35. package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
  36. package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
  37. package/components/CasinoSearch-BsgUvsbs.js +1062 -0
  38. package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
  39. package/components/CasinoSlider-D5B-CjPM.js +803 -0
  40. package/components/CasinoSlider-kzZxK81G.cjs +1 -0
  41. package/components/CasinoSort-9pQqbHyF.cjs +1 -0
  42. package/components/CasinoSort-T6UQhFka.js +425 -0
  43. package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
  44. package/components/CasinoWinners-auSd-4D9.js +884 -0
  45. package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
  46. package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
  47. package/es2015/casino-lobby.cjs +1 -1
  48. package/es2015/casino-lobby.js +1 -1
  49. package/package.json +2 -2
  50. package/components/CasinoCalendarDailyDetails-CfTziMCu.js +0 -605
  51. package/components/CasinoCalendarDailyDetails-KP4_YYmO.cjs +0 -1
  52. package/components/CasinoCalendarDailyItem-4bXAKAZj.cjs +0 -1
  53. package/components/CasinoCalendarDailyItem-CQ8syIIe.js +0 -220
  54. package/components/CasinoCollectionsProviders-C9_6w0OJ.cjs +0 -1
  55. package/components/CasinoCollectionsProviders-CwJY8Pmw.js +0 -659
  56. package/components/CasinoFavoritesSection-Da0-zSyn.cjs +0 -1
  57. package/components/CasinoFilter-BkpU5f2V.cjs +0 -1
  58. package/components/CasinoFilter-D3p7c7qu.js +0 -628
  59. package/components/CasinoGamePage-Bp4OKmdA.js +0 -4282
  60. package/components/CasinoGameThumbnail-BmmqFK_6.js +0 -1822
  61. package/components/CasinoGameThumbnail-DVMHCqZf.cjs +0 -38
  62. package/components/CasinoGamesCategorySection-6X3_pD0A.js +0 -3022
  63. package/components/CasinoGamesCategorySection-CasxxP7n.cjs +0 -1
  64. package/components/CasinoJackpotBanner-8_TAP4xY.cjs +0 -1
  65. package/components/CasinoJackpotBanner-wk2wOmJp.js +0 -619
  66. package/components/CasinoLastPlayedSection-DvORiff-.cjs +0 -1
  67. package/components/CasinoLobby-Jn45jhzr.cjs +0 -1
  68. package/components/CasinoModal-BebrYWjS.cjs +0 -1
  69. package/components/CasinoModal-CSwMAX-g.js +0 -372
  70. package/components/CasinoMostPlayedSection-CF5vlzLT.cjs +0 -1
  71. package/components/CasinoMyGames-shcqTml8.cjs +0 -1
  72. package/components/CasinoPage-DZmE3VFL.cjs +0 -1
  73. package/components/CasinoRandomGame-4mi3rRbq.js +0 -641
  74. package/components/CasinoRandomGame-G4VfFJ2L.cjs +0 -2
  75. package/components/CasinoSearch-CW-eesDy.cjs +0 -1
  76. package/components/CasinoSearch-DkEAmw-j.js +0 -1066
  77. package/components/CasinoSlider-CNWDP_I-.js +0 -803
  78. package/components/CasinoSlider-CjA8vWoz.cjs +0 -1
  79. package/components/CasinoSort-BVh0Ouwu.cjs +0 -1
  80. package/components/CasinoSort-CPcJqhWU.js +0 -425
  81. package/components/CasinoWinners-BTNdGlUD.cjs +0 -1
  82. package/components/CasinoWinners-DSsJp1KQ.js +0 -884
  83. package/components/GeneralAnimationLoading-BtIh_bSy.js +0 -75
  84. package/components/GeneralAnimationLoading-CEAKVCu9.cjs +0 -1
@@ -0,0 +1,659 @@
1
+ import { I as we, $ as Se, S as ke, i as Ge, f as M, c as Pe, s as Le, b as Me, e as C, d as j, C as H, j as T, J as je, o as Te, l as xe, m as X, p as O, r as R, q as x, u as m, P as Fe, v as _, Q as ze, A as I, B as re, w as B, R as He, G as N, O as Oe, D as A, T as Be } from "./CasinoCalendar-3HRZGpnG.js";
2
+ function Y(t, e) {
3
+ we(t, e);
4
+ }
5
+ function Ae(t) {
6
+ Se.set(t);
7
+ }
8
+ const $ = {
9
+ en: {
10
+ collections: "Game Collections",
11
+ providers: "Game Providers",
12
+ loading: "Loading, please wait ..."
13
+ },
14
+ "zh-hk": {
15
+ collections: "收藏品",
16
+ providers: "供应商",
17
+ loading: "加載請稍候 ..."
18
+ },
19
+ de: {
20
+ collections: "Game Collections",
21
+ providers: "Game Providers",
22
+ loading: "Laden, bitte warten..."
23
+ },
24
+ it: {
25
+ collections: "Game Collections",
26
+ providers: "Game Providers",
27
+ loading: "Loading, please wait ..."
28
+ },
29
+ fr: {
30
+ collections: "Collections",
31
+ providers: "Fournisseurs",
32
+ loading: "Chargement, veuillez patienter ..."
33
+ },
34
+ es: {
35
+ collections: "Colecciones de juegos",
36
+ providers: "Proveedores de juegos",
37
+ loading: "Cargando…"
38
+ },
39
+ el: {
40
+ collections: "Game Collections",
41
+ providers: "Game Providers",
42
+ loading: "Φορτώνει, παρακαλούμε περιμένετε ..."
43
+ },
44
+ tr: {
45
+ collections: "Oyun Koleksiyonları",
46
+ providers: "Oyun Sağlayıcıları",
47
+ loading: "Yükleniyor, lütfen bekleyin..."
48
+ },
49
+ ru: {
50
+ collections: "Game Collections",
51
+ providers: "Game Providers",
52
+ loading: "Loading, please wait ..."
53
+ },
54
+ ro: {
55
+ collections: "Selectie Jocuri",
56
+ providers: "Furnizori",
57
+ loading: "Se încarcă, asteptati ..."
58
+ },
59
+ hr: {
60
+ collections: "Kolekcije igara",
61
+ providers: "Brendovi igara",
62
+ loading: "Učitavam"
63
+ },
64
+ hu: {
65
+ collections: "Game Collections",
66
+ providers: "Game Providers",
67
+ loading: "Betöltés, kérjük várjon..."
68
+ },
69
+ pl: {
70
+ collections: "Game Collections",
71
+ providers: "Game Providers",
72
+ loading: "Loading, please wait ..."
73
+ },
74
+ pt: {
75
+ collections: "Game Collections",
76
+ providers: "Game Providers",
77
+ loading: "Carregando, por favor espere ..."
78
+ },
79
+ sl: {
80
+ collections: "Game Collections",
81
+ providers: "Game Providers",
82
+ loading: "Loading, please wait ..."
83
+ },
84
+ sr: {
85
+ collections: "Game Collections",
86
+ providers: "Game Providers",
87
+ loading: "Loading, please wait ..."
88
+ },
89
+ "pt-br": {
90
+ collections: "Coleções de jogos",
91
+ providers: "Provedores de jogos",
92
+ Loading: "Carregando, por favor espere..."
93
+ },
94
+ "es-mx": {
95
+ collections: "Colecciones de juego",
96
+ providers: "Proveedores de juego",
97
+ Loading: "Cargando, por favor espere..."
98
+ }
99
+ };
100
+ function Ne(t) {
101
+ Me(t, "svelte-67y1f9", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
102
+ }
103
+ function ee(t, e, i) {
104
+ const n = t.slice();
105
+ return n[41] = e[i], n;
106
+ }
107
+ function te(t, e, i) {
108
+ const n = t.slice();
109
+ return n[44] = e[i], n;
110
+ }
111
+ function Re(t) {
112
+ let e, i, n, o = (
113
+ /*type*/
114
+ (t[0] == "vendor" ? (
115
+ /*$_*/
116
+ t[11]("providers")
117
+ ) : (
118
+ /*$_*/
119
+ t[11]("collections")
120
+ )) + ""
121
+ ), r, d, b, p, G, u, c = (
122
+ /*numberOfSlides*/
123
+ t[8] > /*numberOfVisibleSlides*/
124
+ t[9] && ie(t)
125
+ ), g = O(
126
+ /*gameCategories*/
127
+ t[3]
128
+ ), f = [];
129
+ for (let s = 0; s < g.length; s += 1)
130
+ f[s] = ne(ee(t, g, s));
131
+ return {
132
+ c() {
133
+ e = C("div"), i = C("div"), n = C("p"), r = R(o), d = x(), c && c.c(), b = x(), p = C("div");
134
+ for (let s = 0; s < f.length; s += 1)
135
+ f[s].c();
136
+ m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(p, "class", "CategoriesSlider"), Fe(() => (
137
+ /*div1_elementresize_handler*/
138
+ t[27].call(p)
139
+ )), m(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
140
+ (t[10] ? "Mobile" : "") + " " + /*type*/
141
+ (t[0] === "vendor" ? "Providers" : "Collections"));
142
+ },
143
+ m(s, S) {
144
+ j(s, e, S), _(e, i), _(i, n), _(n, r), _(i, d), c && c.m(i, null), _(e, b), _(e, p);
145
+ for (let a = 0; a < f.length; a += 1)
146
+ f[a] && f[a].m(p, null);
147
+ t[26](p), G = ze(
148
+ p,
149
+ /*div1_elementresize_handler*/
150
+ t[27].bind(p)
151
+ );
152
+ },
153
+ p(s, S) {
154
+ if (S[0] & /*type, $_*/
155
+ 2049 && o !== (o = /*type*/
156
+ (s[0] == "vendor" ? (
157
+ /*$_*/
158
+ s[11]("providers")
159
+ ) : (
160
+ /*$_*/
161
+ s[11]("collections")
162
+ )) + "") && I(r, o), /*numberOfSlides*/
163
+ s[8] > /*numberOfVisibleSlides*/
164
+ s[9] ? c ? c.p(s, S) : (c = ie(s), c.c(), c.m(i, null)) : c && (c.d(1), c = null), S[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
165
+ 49166) {
166
+ g = O(
167
+ /*gameCategories*/
168
+ s[3]
169
+ );
170
+ let a;
171
+ for (a = 0; a < g.length; a += 1) {
172
+ const h = ee(s, g, a);
173
+ f[a] ? f[a].p(h, S) : (f[a] = ne(h), f[a].c(), f[a].m(p, null));
174
+ }
175
+ for (; a < f.length; a += 1)
176
+ f[a].d(1);
177
+ f.length = g.length;
178
+ }
179
+ S[0] & /*mobile, type*/
180
+ 1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
181
+ (s[10] ? "Mobile" : "") + " " + /*type*/
182
+ (s[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", u);
183
+ },
184
+ d(s) {
185
+ s && T(e), c && c.d(), re(f, s), t[26](null), G();
186
+ }
187
+ };
188
+ }
189
+ function Ie(t) {
190
+ let e;
191
+ return {
192
+ c() {
193
+ e = C("div"), m(e, "class", "LoadingSpinner");
194
+ },
195
+ m(i, n) {
196
+ j(i, e, n);
197
+ },
198
+ p: H,
199
+ d(i) {
200
+ i && T(e);
201
+ }
202
+ };
203
+ }
204
+ function ie(t) {
205
+ let e, i, n, o, r, d;
206
+ return {
207
+ c() {
208
+ e = C("div"), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = x(), o = C("button"), o.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', m(e, "class", "ButtonsContainer");
209
+ },
210
+ m(b, p) {
211
+ j(b, e, p), _(e, i), _(e, n), _(e, o), r || (d = [
212
+ B(
213
+ i,
214
+ "click",
215
+ /*click_handler*/
216
+ t[22]
217
+ ),
218
+ B(
219
+ o,
220
+ "click",
221
+ /*click_handler_1*/
222
+ t[23]
223
+ )
224
+ ], r = !0);
225
+ },
226
+ p: H,
227
+ d(b) {
228
+ b && T(e), r = !1, He(d);
229
+ }
230
+ };
231
+ }
232
+ function Ue(t) {
233
+ let e, i = (
234
+ /*category*/
235
+ t[41].name + ""
236
+ ), n;
237
+ return {
238
+ c() {
239
+ e = C("p"), n = R(i), m(e, "class", "CategorySlideTitle");
240
+ },
241
+ m(o, r) {
242
+ j(o, e, r), _(e, n);
243
+ },
244
+ p(o, r) {
245
+ r[0] & /*gameCategories*/
246
+ 8 && i !== (i = /*category*/
247
+ o[41].name + "") && I(n, i);
248
+ },
249
+ d(o) {
250
+ o && T(e);
251
+ }
252
+ };
253
+ }
254
+ function Ee(t) {
255
+ let e, i, n;
256
+ return {
257
+ c() {
258
+ e = C("img"), m(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
259
+ t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
260
+ t[41].name + " icon");
261
+ },
262
+ m(o, r) {
263
+ j(o, e, r);
264
+ },
265
+ p(o, r) {
266
+ r[0] & /*gameCategories*/
267
+ 8 && !A(e.src, i = /*category*/
268
+ o[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
269
+ 8 && n !== (n = /*category*/
270
+ o[41].name + " icon") && m(e, "alt", n);
271
+ },
272
+ d(o) {
273
+ o && T(e);
274
+ }
275
+ };
276
+ }
277
+ function le(t) {
278
+ let e, i = (
279
+ /*game*/
280
+ t[44].name + ""
281
+ ), n, o;
282
+ return {
283
+ c() {
284
+ e = C("p"), n = R(i), m(e, "title", o = /*game*/
285
+ t[44].name);
286
+ },
287
+ m(r, d) {
288
+ j(r, e, d), _(e, n);
289
+ },
290
+ p(r, d) {
291
+ d[0] & /*gameCategories*/
292
+ 8 && i !== (i = /*game*/
293
+ r[44].name + "") && I(n, i), d[0] & /*gameCategories*/
294
+ 8 && o !== (o = /*game*/
295
+ r[44].name) && m(e, "title", o);
296
+ },
297
+ d(r) {
298
+ r && T(e);
299
+ }
300
+ };
301
+ }
302
+ function oe(t) {
303
+ let e, i, n, o, r, d, b, p;
304
+ function G() {
305
+ return (
306
+ /*click_handler_2*/
307
+ t[24](
308
+ /*game*/
309
+ t[44]
310
+ )
311
+ );
312
+ }
313
+ let u = (
314
+ /*collectionprovidersgamenames*/
315
+ t[2] == "true" && le(t)
316
+ );
317
+ return {
318
+ c() {
319
+ e = C("div"), i = C("img"), r = x(), u && u.c(), d = x(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
320
+ t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", o = /*game*/
321
+ t[44].name), m(e, "class", "CategorySlideGames");
322
+ },
323
+ m(c, g) {
324
+ j(c, e, g), _(e, i), _(e, r), u && u.m(e, null), _(e, d), b || (p = B(i, "click", Be(G)), b = !0);
325
+ },
326
+ p(c, g) {
327
+ t = c, g[0] & /*gameCategories*/
328
+ 8 && !A(i.src, n = /*game*/
329
+ t[44].defaultThumbnail) && m(i, "src", n), g[0] & /*gameCategories*/
330
+ 8 && o !== (o = /*game*/
331
+ t[44].name) && m(i, "alt", o), /*collectionprovidersgamenames*/
332
+ t[2] == "true" ? u ? u.p(t, g) : (u = le(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
333
+ },
334
+ d(c) {
335
+ c && T(e), u && u.d(), b = !1, p();
336
+ }
337
+ };
338
+ }
339
+ function ne(t) {
340
+ let e, i, n, o, r, d, b, p, G;
341
+ function u(a, h) {
342
+ if (
343
+ /*titletype*/
344
+ a[1] == "logo"
345
+ ) return Ee;
346
+ if (
347
+ /*titletype*/
348
+ a[1] == "title"
349
+ ) return Ue;
350
+ }
351
+ let c = u(t), g = c && c(t), f = O(
352
+ /*category*/
353
+ t[41].games
354
+ ), s = [];
355
+ for (let a = 0; a < f.length; a += 1)
356
+ s[a] = oe(te(t, f, a));
357
+ function S() {
358
+ return (
359
+ /*click_handler_3*/
360
+ t[25](
361
+ /*category*/
362
+ t[41]
363
+ )
364
+ );
365
+ }
366
+ return {
367
+ c() {
368
+ var a, h;
369
+ e = C("div"), i = C("div"), n = C("div"), g && g.c(), o = x(), r = C("div");
370
+ for (let v = 0; v < s.length; v += 1)
371
+ s[v].c();
372
+ b = x(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
373
+ (((a = t[41]) == null ? void 0 : a.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
374
+ ((h = t[41]) == null ? void 0 : h.background) + ")"), N(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
375
+ },
376
+ m(a, h) {
377
+ j(a, e, h), _(e, i), _(i, n), g && g.m(n, null), _(i, o), _(i, r);
378
+ for (let v = 0; v < s.length; v += 1)
379
+ s[v] && s[v].m(r, null);
380
+ _(e, b), p || (G = B(i, "click", S), p = !0);
381
+ },
382
+ p(a, h) {
383
+ var v, F;
384
+ if (t = a, c === (c = u(t)) && g ? g.p(t, h) : (g && g.d(1), g = c && c(t), g && (g.c(), g.m(n, null))), h[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
385
+ 16396) {
386
+ f = O(
387
+ /*category*/
388
+ t[41].games
389
+ );
390
+ let w;
391
+ for (w = 0; w < f.length; w += 1) {
392
+ const L = te(t, f, w);
393
+ s[w] ? s[w].p(L, h) : (s[w] = oe(L), s[w].c(), s[w].m(r, null));
394
+ }
395
+ for (; w < s.length; w += 1)
396
+ s[w].d(1);
397
+ s.length = f.length;
398
+ }
399
+ h[0] & /*gameCategories*/
400
+ 8 && d !== (d = "CategorySlide " + /*category*/
401
+ (((v = t[41]) == null ? void 0 : v.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), h[0] & /*gameCategories*/
402
+ 8 && N(i, "background-image", "url(" + /*category*/
403
+ ((F = t[41]) == null ? void 0 : F.background) + ")");
404
+ },
405
+ d(a) {
406
+ a && T(e), g && g.d(), re(s, a), p = !1, G();
407
+ }
408
+ };
409
+ }
410
+ function We(t) {
411
+ let e;
412
+ function i(r, d) {
413
+ return (
414
+ /*isLoading*/
415
+ r[7] ? Ie : Re
416
+ );
417
+ }
418
+ let n = i(t), o = n(t);
419
+ return {
420
+ c() {
421
+ e = C("div"), o.c();
422
+ },
423
+ m(r, d) {
424
+ j(r, e, d), o.m(e, null), t[28](e);
425
+ },
426
+ p(r, d) {
427
+ n === (n = i(r)) && o ? o.p(r, d) : (o.d(1), o = n(r), o && (o.c(), o.m(e, null)));
428
+ },
429
+ i: H,
430
+ o: H,
431
+ d(r) {
432
+ r && T(e), o.d(), t[28](null);
433
+ }
434
+ };
435
+ }
436
+ function De(t, e, i) {
437
+ let n;
438
+ je(t, Oe, (l) => i(11, n = l));
439
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: b = "" } = e, { titletype: p = "" } = e, { clientstyling: G = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, f = [], s = !0, S, a = 0, h = 0, v = 0, F, w, L, ae = window.navigator.userAgent, U, z = 0;
440
+ const se = () => {
441
+ fetch(c).then((y) => y.json()).then((y) => {
442
+ Object.keys(y).forEach((k) => {
443
+ Y(k, y[k]);
444
+ });
445
+ }).catch((y) => {
446
+ console.log(y);
447
+ });
448
+ };
449
+ Object.keys($).forEach((l) => {
450
+ Y(l, $[l]);
451
+ });
452
+ const ce = () => {
453
+ const l = new URL(`${o}/v2/casino/groups/${r}`);
454
+ l.searchParams.append("language", d), l.searchParams.append("expand", "games"), fetch(l.href).then((y) => y.json()).then((y) => {
455
+ i(7, s = !1);
456
+ let k = y.items.filter((P) => P.flags == b);
457
+ i(3, f = k.map((P) => {
458
+ var K, Z, Q;
459
+ return {
460
+ id: P.id,
461
+ name: P.name,
462
+ icon: P.icon ? P.icon : (Q = (Z = (K = P.vendors) == null ? void 0 : K.items[0]) == null ? void 0 : Z.subVendors[0]) == null ? void 0 : Q.logo,
463
+ games: P.games.items.slice(0, 4).map((ye) => ye),
464
+ background: P.background,
465
+ flag: P.flags
466
+ };
467
+ })), i(8, h = f.length);
468
+ });
469
+ }, E = (l) => {
470
+ w = [...S.children], w.forEach((y, k) => {
471
+ y.style.transform = `translateX(${100 * (l ? k - l : k)}%)`;
472
+ }), F = w[0].getBoundingClientRect().width, de();
473
+ }, de = () => {
474
+ i(9, v = Math.floor(z / F));
475
+ }, W = () => {
476
+ E(a);
477
+ }, D = () => {
478
+ a === 0 ? a = h - v : a - v < -1 ? a = 0 : a--, W();
479
+ }, V = () => {
480
+ a === h - v ? a = 0 : h - v < a + 1 ? a = h - v : a++, W();
481
+ }, q = (l, y, k, P) => {
482
+ window.postMessage(
483
+ {
484
+ type: "OpenCollectionsProvidersGame",
485
+ gameId: l,
486
+ launchUrl: y,
487
+ gameName: k,
488
+ subVendor: P
489
+ },
490
+ window.location.href
491
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
492
+ context: "CollectionsProviders",
493
+ gameName: `${k}`
494
+ });
495
+ }, J = (l) => {
496
+ window.postMessage(
497
+ {
498
+ type: "OpenCollectionsProvidersCategory",
499
+ categoryId: l
500
+ },
501
+ window.location.href
502
+ );
503
+ }, ge = () => {
504
+ Ae(d);
505
+ }, ue = () => {
506
+ let l = document.createElement("style");
507
+ l.innerHTML = G, L.appendChild(l);
508
+ }, fe = () => {
509
+ let l = new URL(u), y = document.createElement("style");
510
+ fetch(l.href).then((k) => k.text()).then((k) => {
511
+ y.innerHTML = k, setTimeout(
512
+ () => {
513
+ L.appendChild(y);
514
+ },
515
+ 1
516
+ );
517
+ });
518
+ };
519
+ Te(() => {
520
+ i(10, U = xe(ae));
521
+ });
522
+ const me = () => D(), pe = () => V(), he = (l) => q(l.gameId, l.launchUrl, l.name, l.subVendor), ve = (l) => J(l.id);
523
+ function _e(l) {
524
+ X[l ? "unshift" : "push"](() => {
525
+ S = l, i(4, S);
526
+ });
527
+ }
528
+ function Ce() {
529
+ z = this.clientWidth, i(6, z);
530
+ }
531
+ function be(l) {
532
+ X[l ? "unshift" : "push"](() => {
533
+ L = l, i(5, L);
534
+ });
535
+ }
536
+ return t.$$set = (l) => {
537
+ "endpoint" in l && i(16, o = l.endpoint), "datasource" in l && i(17, r = l.datasource), "lang" in l && i(18, d = l.lang), "type" in l && i(0, b = l.type), "titletype" in l && i(1, p = l.titletype), "clientstyling" in l && i(19, G = l.clientstyling), "clientstylingurl" in l && i(20, u = l.clientstylingurl), "translationurl" in l && i(21, c = l.translationurl), "collectionprovidersgamenames" in l && i(2, g = l.collectionprovidersgamenames);
538
+ }, t.$$.update = () => {
539
+ t.$$.dirty[0] & /*endpoint, datasource, lang*/
540
+ 458752 && o && r && d && ce(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
541
+ 88 && z && f && S && E(), t.$$.dirty[0] & /*lang*/
542
+ 262144 && d && ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
543
+ 524320 && G && L && ue(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
544
+ 1048608 && u && L && fe(), t.$$.dirty[0] & /*translationurl*/
545
+ 2097152 && c && se();
546
+ }, [
547
+ b,
548
+ p,
549
+ g,
550
+ f,
551
+ S,
552
+ L,
553
+ z,
554
+ s,
555
+ h,
556
+ v,
557
+ U,
558
+ n,
559
+ D,
560
+ V,
561
+ q,
562
+ J,
563
+ o,
564
+ r,
565
+ d,
566
+ G,
567
+ u,
568
+ c,
569
+ me,
570
+ pe,
571
+ he,
572
+ ve,
573
+ _e,
574
+ Ce,
575
+ be
576
+ ];
577
+ }
578
+ class Ve extends ke {
579
+ constructor(e) {
580
+ super(), Ge(
581
+ this,
582
+ e,
583
+ De,
584
+ We,
585
+ Le,
586
+ {
587
+ endpoint: 16,
588
+ datasource: 17,
589
+ lang: 18,
590
+ type: 0,
591
+ titletype: 1,
592
+ clientstyling: 19,
593
+ clientstylingurl: 20,
594
+ translationurl: 21,
595
+ collectionprovidersgamenames: 2
596
+ },
597
+ Ne,
598
+ [-1, -1]
599
+ );
600
+ }
601
+ get endpoint() {
602
+ return this.$$.ctx[16];
603
+ }
604
+ set endpoint(e) {
605
+ this.$$set({ endpoint: e }), M();
606
+ }
607
+ get datasource() {
608
+ return this.$$.ctx[17];
609
+ }
610
+ set datasource(e) {
611
+ this.$$set({ datasource: e }), M();
612
+ }
613
+ get lang() {
614
+ return this.$$.ctx[18];
615
+ }
616
+ set lang(e) {
617
+ this.$$set({ lang: e }), M();
618
+ }
619
+ get type() {
620
+ return this.$$.ctx[0];
621
+ }
622
+ set type(e) {
623
+ this.$$set({ type: e }), M();
624
+ }
625
+ get titletype() {
626
+ return this.$$.ctx[1];
627
+ }
628
+ set titletype(e) {
629
+ this.$$set({ titletype: e }), M();
630
+ }
631
+ get clientstyling() {
632
+ return this.$$.ctx[19];
633
+ }
634
+ set clientstyling(e) {
635
+ this.$$set({ clientstyling: e }), M();
636
+ }
637
+ get clientstylingurl() {
638
+ return this.$$.ctx[20];
639
+ }
640
+ set clientstylingurl(e) {
641
+ this.$$set({ clientstylingurl: e }), M();
642
+ }
643
+ get translationurl() {
644
+ return this.$$.ctx[21];
645
+ }
646
+ set translationurl(e) {
647
+ this.$$set({ translationurl: e }), M();
648
+ }
649
+ get collectionprovidersgamenames() {
650
+ return this.$$.ctx[2];
651
+ }
652
+ set collectionprovidersgamenames(e) {
653
+ this.$$set({ collectionprovidersgamenames: e }), M();
654
+ }
655
+ }
656
+ Pe(Ve, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
657
+ export {
658
+ Ve as default
659
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-9cVNHt1-.cjs");if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BGgw1sdg.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",t.element)})}function M({withLocale:a,translations:t}){e.$locale.subscribe(s=>{s==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function q(a){e.append_styles(a,"svelte-tcik44",".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}")}function O(a){let t,s;return{c(){t=e.element("div"),s=e.element("casino-games-category-section"),e.set_custom_element_data(s,"session",a[4]),e.set_custom_element_data(s,"userid",a[5]),e.set_custom_element_data(s,"endpoint",a[0]),e.set_custom_element_data(s,"datasource",a[1]),e.set_custom_element_data(s,"lang",a[3]),e.set_custom_element_data(s,"currency",a[2]),e.set_custom_element_data(s,"favorites",a[14]),e.set_custom_element_data(s,"fetchviaevent",a[16]),e.set_custom_element_data(s,"categoryid","FAVORITES"),e.set_custom_element_data(s,"class","CategoryContainer"),e.set_custom_element_data(s,"showgamename",a[11]),e.set_custom_element_data(s,"clientstyling",a[6]),e.set_custom_element_data(s,"clientstylingurl",a[7]),e.set_custom_element_data(s,"livecasino",a[8]),e.set_custom_element_data(s,"visiblegames",a[13]),e.set_custom_element_data(s,"gamepagemodalurl",a[12]),e.set_custom_element_data(s,"integratedgameframedesktop",a[10]),e.set_custom_element_data(s,"integratedgameframemobile",a[9]),e.set_custom_element_data(s,"casinomygames",a[15]),e.attr(t,"class","CasinoFavoritesSectionContainer")},m(i,m){e.insert(i,t,m),e.append(t,s),a[18](t)},p(i,[m]){m&16&&e.set_custom_element_data(s,"session",i[4]),m&32&&e.set_custom_element_data(s,"userid",i[5]),m&1&&e.set_custom_element_data(s,"endpoint",i[0]),m&2&&e.set_custom_element_data(s,"datasource",i[1]),m&8&&e.set_custom_element_data(s,"lang",i[3]),m&4&&e.set_custom_element_data(s,"currency",i[2]),m&16384&&e.set_custom_element_data(s,"favorites",i[14]),m&65536&&e.set_custom_element_data(s,"fetchviaevent",i[16]),m&2048&&e.set_custom_element_data(s,"showgamename",i[11]),m&64&&e.set_custom_element_data(s,"clientstyling",i[6]),m&128&&e.set_custom_element_data(s,"clientstylingurl",i[7]),m&256&&e.set_custom_element_data(s,"livecasino",i[8]),m&8192&&e.set_custom_element_data(s,"visiblegames",i[13]),m&4096&&e.set_custom_element_data(s,"gamepagemodalurl",i[12]),m&1024&&e.set_custom_element_data(s,"integratedgameframedesktop",i[10]),m&512&&e.set_custom_element_data(s,"integratedgameframemobile",i[9]),m&32768&&e.set_custom_element_data(s,"casinomygames",i[15])},i:e.noop,o:e.noop,d(i){i&&e.detach(t),a[18](null)}}}function R(a,t,s){let{endpoint:i=""}=t,{datasource:m=""}=t,{currency:g=""}=t,{lang:r=""}=t,{session:f=""}=t,{userid:_=""}=t,{clientstyling:o=""}=t,{clientstylingurl:c=""}=t,{livecasino:d="false"}=t,{integratedgameframemobile:h="false"}=t,{integratedgameframedesktop:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="false"}=t,{visiblegames:w=""}=t,{favorites:C=""}=t,{casinomygames:k="false"}=t,{fetchviaevent:F="true"}=t,l;M({withLocale:"en",translations:{}});const E=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},L=()=>{let n=document.createElement("style");fetch(new URL(c)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{l.appendChild(n)},1)})};function T(n){e.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(17,l)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,m=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,c=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,v=n.showgamename),"gamepagemodalurl"in n&&s(12,b=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,C=n.favorites),"casinomygames"in n&&s(15,k=n.casinomygames),"fetchviaevent"in n&&s(16,F=n.fetchviaevent)},a.$$.update=()=>{a.$$.dirty&131136&&o&&l&&E(),a.$$.dirty&131200&&c&&l&&L()},[i,m,g,r,f,_,o,c,d,h,y,v,b,w,C,k,F,l,T]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,O,e.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},q)}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[1]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(t){this.$$set({currency:t}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[4]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[5]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[14]}set favorites(t){this.$$set({favorites:t}),e.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}}e.create_custom_element(S,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=S;