@everymatrix/casino-lobby 1.54.4 → 1.54.8

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 (81) hide show
  1. package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
  2. package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
  3. package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
  4. package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
  5. package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
  7. package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
  8. package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
  9. package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
  10. package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
  11. package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
  12. package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
  14. package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
  15. package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
  16. package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
  17. package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
  18. package/components/{CasinoFavoritesSection-D_VjX8kh.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
  19. package/components/CasinoFilter-CLgilXuM.js +634 -0
  20. package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
  21. package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
  22. package/components/{CasinoGamePage-CCqWDOmI.js → CasinoGamePage-B9T32UnC.js} +769 -769
  23. package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
  24. package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
  25. package/components/{CasinoGameThumbnail-DuQXK0BS.js → CasinoGameThumbnail-Bl2lRTS5.js} +66 -66
  26. package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
  27. package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
  28. package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
  29. package/components/{CasinoGamesCategorySection-B7unf50a.js → CasinoGamesCategorySection-DU23YHrX.js} +157 -157
  30. package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
  31. package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
  32. package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
  33. package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-DtUKV7qS.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
  36. package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
  37. package/components/{CasinoLobby-Bhufm6di.js → CasinoLobby-DIuXNBMc.js} +49 -49
  38. package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
  39. package/components/CasinoLobby-Ds8nok67.js +2337 -0
  40. package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
  41. package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
  42. package/components/CasinoModal-_ukjEJqy.js +372 -0
  43. package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-DATKT5NZ.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
  45. package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
  46. package/components/CasinoMyGames-BH19YGDz.js +1318 -0
  47. package/components/{CasinoMyGames-CT8sf3p5.js → CasinoMyGames-CO15Aytm.js} +52 -52
  48. package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
  49. package/components/CasinoPage-BEFfjziT.js +3550 -0
  50. package/components/{CasinoPage-CLrMZJtx.js → CasinoPage-DXue0b0t.js} +123 -123
  51. package/components/CasinoPage-sSUBPWhS.cjs +1 -0
  52. package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
  53. package/components/CasinoRandomGame-r6ZN573_.js +668 -0
  54. package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
  55. package/components/CasinoSearch-C5_rhVBG.js +1072 -0
  56. package/components/{CasinoSearch-DuPhm9II.js → CasinoSearch-Cbyb3s0J.js} +83 -83
  57. package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
  58. package/components/CasinoSlider-C7bHIIsP.js +806 -0
  59. package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
  60. package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
  61. package/components/CasinoSort-5a6WYp-y.cjs +1 -0
  62. package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
  63. package/components/CasinoSort-DWu-WSlc.js +432 -0
  64. package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
  65. package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
  66. package/components/CasinoWinners-fPZD2C86.js +971 -0
  67. package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
  68. package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
  69. package/components/GeneralAnimationLoading-DSCrLTeR.js +75 -0
  70. package/es2015/casino-lobby.cjs +1 -0
  71. package/es2015/casino-lobby.js +16 -0
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +4 -1
  74. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  75. package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
  76. package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
  77. package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
  78. package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
  79. package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
  80. package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
  81. package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
@@ -0,0 +1,664 @@
1
+ import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as j, h as T, j as C, k as Me, o as je, l as Te, C as X, r as m, v as O, w as re, m as R, p as _, O as xe, q as I, B as x, P as Fe, Q as ze, A as B, G as N, D as A, R as He, I as Oe, J as Be } from "./CasinoCalendar-yoWAbEkY.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
+ "en-us": {
100
+ collections: "Game Collections",
101
+ providers: "Game Providers",
102
+ loading: "Loading, please wait ..."
103
+ }
104
+ };
105
+ function Ne(t) {
106
+ Le(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--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(--emw--casino-typography, var(--emw--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(--emw--casino-typography, var(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
+ }
108
+ function ee(t, e, i) {
109
+ const n = t.slice();
110
+ return n[41] = e[i], n;
111
+ }
112
+ function te(t, e, i) {
113
+ const n = t.slice();
114
+ return n[44] = e[i], n;
115
+ }
116
+ function Re(t) {
117
+ let e, i, n, o = (
118
+ /*type*/
119
+ (t[0] == "vendor" ? (
120
+ /*$_*/
121
+ t[11]("providers")
122
+ ) : (
123
+ /*$_*/
124
+ t[11]("collections")
125
+ )) + ""
126
+ ), r, d, b, p, G, u, c = (
127
+ /*numberOfSlides*/
128
+ t[8] > /*numberOfVisibleSlides*/
129
+ t[9] && ie(t)
130
+ ), g = O(
131
+ /*gameCategories*/
132
+ t[3]
133
+ ), f = [];
134
+ for (let s = 0; s < g.length; s += 1)
135
+ f[s] = ne(ee(t, g, s));
136
+ return {
137
+ c() {
138
+ e = C("div"), i = C("div"), n = C("p"), r = I(o), d = x(), c && c.c(), b = x(), p = C("div");
139
+ for (let s = 0; s < f.length; s += 1)
140
+ f[s].c();
141
+ m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(p, "class", "CategoriesSlider"), Fe(() => (
142
+ /*div1_elementresize_handler*/
143
+ t[27].call(p)
144
+ )), m(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
145
+ (t[10] ? "Mobile" : "") + " " + /*type*/
146
+ (t[0] === "vendor" ? "Providers" : "Collections"));
147
+ },
148
+ m(s, S) {
149
+ T(s, e, S), _(e, i), _(i, n), _(n, r), _(i, d), c && c.m(i, null), _(e, b), _(e, p);
150
+ for (let a = 0; a < f.length; a += 1)
151
+ f[a] && f[a].m(p, null);
152
+ t[26](p), G = xe(
153
+ p,
154
+ /*div1_elementresize_handler*/
155
+ t[27].bind(p)
156
+ );
157
+ },
158
+ p(s, S) {
159
+ if (S[0] & /*type, $_*/
160
+ 2049 && o !== (o = /*type*/
161
+ (s[0] == "vendor" ? (
162
+ /*$_*/
163
+ s[11]("providers")
164
+ ) : (
165
+ /*$_*/
166
+ s[11]("collections")
167
+ )) + "") && R(r, o), /*numberOfSlides*/
168
+ s[8] > /*numberOfVisibleSlides*/
169
+ 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*/
170
+ 49166) {
171
+ g = O(
172
+ /*gameCategories*/
173
+ s[3]
174
+ );
175
+ let a;
176
+ for (a = 0; a < g.length; a += 1) {
177
+ const h = ee(s, g, a);
178
+ f[a] ? f[a].p(h, S) : (f[a] = ne(h), f[a].c(), f[a].m(p, null));
179
+ }
180
+ for (; a < f.length; a += 1)
181
+ f[a].d(1);
182
+ f.length = g.length;
183
+ }
184
+ S[0] & /*mobile, type*/
185
+ 1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
186
+ (s[10] ? "Mobile" : "") + " " + /*type*/
187
+ (s[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", u);
188
+ },
189
+ d(s) {
190
+ s && j(e), c && c.d(), re(f, s), t[26](null), G();
191
+ }
192
+ };
193
+ }
194
+ function Ie(t) {
195
+ let e;
196
+ return {
197
+ c() {
198
+ e = C("div"), m(e, "class", "LoadingSpinner");
199
+ },
200
+ m(i, n) {
201
+ T(i, e, n);
202
+ },
203
+ p: H,
204
+ d(i) {
205
+ i && j(e);
206
+ }
207
+ };
208
+ }
209
+ function ie(t) {
210
+ let e, i, n, o, r, d;
211
+ return {
212
+ c() {
213
+ 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");
214
+ },
215
+ m(b, p) {
216
+ T(b, e, p), _(e, i), _(e, n), _(e, o), r || (d = [
217
+ B(
218
+ i,
219
+ "click",
220
+ /*click_handler*/
221
+ t[22]
222
+ ),
223
+ B(
224
+ o,
225
+ "click",
226
+ /*click_handler_1*/
227
+ t[23]
228
+ )
229
+ ], r = !0);
230
+ },
231
+ p: H,
232
+ d(b) {
233
+ b && j(e), r = !1, ze(d);
234
+ }
235
+ };
236
+ }
237
+ function Ue(t) {
238
+ let e, i = (
239
+ /*category*/
240
+ t[41].name + ""
241
+ ), n;
242
+ return {
243
+ c() {
244
+ e = C("p"), n = I(i), m(e, "class", "CategorySlideTitle");
245
+ },
246
+ m(o, r) {
247
+ T(o, e, r), _(e, n);
248
+ },
249
+ p(o, r) {
250
+ r[0] & /*gameCategories*/
251
+ 8 && i !== (i = /*category*/
252
+ o[41].name + "") && R(n, i);
253
+ },
254
+ d(o) {
255
+ o && j(e);
256
+ }
257
+ };
258
+ }
259
+ function Ee(t) {
260
+ let e, i, n;
261
+ return {
262
+ c() {
263
+ e = C("img"), m(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
264
+ t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
265
+ t[41].name + " icon");
266
+ },
267
+ m(o, r) {
268
+ T(o, e, r);
269
+ },
270
+ p(o, r) {
271
+ r[0] & /*gameCategories*/
272
+ 8 && !A(e.src, i = /*category*/
273
+ o[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
274
+ 8 && n !== (n = /*category*/
275
+ o[41].name + " icon") && m(e, "alt", n);
276
+ },
277
+ d(o) {
278
+ o && j(e);
279
+ }
280
+ };
281
+ }
282
+ function le(t) {
283
+ let e, i = (
284
+ /*game*/
285
+ t[44].name + ""
286
+ ), n, o;
287
+ return {
288
+ c() {
289
+ e = C("p"), n = I(i), m(e, "title", o = /*game*/
290
+ t[44].name);
291
+ },
292
+ m(r, d) {
293
+ T(r, e, d), _(e, n);
294
+ },
295
+ p(r, d) {
296
+ d[0] & /*gameCategories*/
297
+ 8 && i !== (i = /*game*/
298
+ r[44].name + "") && R(n, i), d[0] & /*gameCategories*/
299
+ 8 && o !== (o = /*game*/
300
+ r[44].name) && m(e, "title", o);
301
+ },
302
+ d(r) {
303
+ r && j(e);
304
+ }
305
+ };
306
+ }
307
+ function oe(t) {
308
+ let e, i, n, o, r, d, b, p;
309
+ function G() {
310
+ return (
311
+ /*click_handler_2*/
312
+ t[24](
313
+ /*game*/
314
+ t[44]
315
+ )
316
+ );
317
+ }
318
+ let u = (
319
+ /*collectionprovidersgamenames*/
320
+ t[2] == "true" && le(t)
321
+ );
322
+ return {
323
+ c() {
324
+ e = C("div"), i = C("img"), r = x(), u && u.c(), d = x(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
325
+ t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", o = /*game*/
326
+ t[44].name), m(e, "class", "CategorySlideGames");
327
+ },
328
+ m(c, g) {
329
+ T(c, e, g), _(e, i), _(e, r), u && u.m(e, null), _(e, d), b || (p = B(i, "click", He(G)), b = !0);
330
+ },
331
+ p(c, g) {
332
+ t = c, g[0] & /*gameCategories*/
333
+ 8 && !A(i.src, n = /*game*/
334
+ t[44].defaultThumbnail) && m(i, "src", n), g[0] & /*gameCategories*/
335
+ 8 && o !== (o = /*game*/
336
+ t[44].name) && m(i, "alt", o), /*collectionprovidersgamenames*/
337
+ t[2] == "true" ? u ? u.p(t, g) : (u = le(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
338
+ },
339
+ d(c) {
340
+ c && j(e), u && u.d(), b = !1, p();
341
+ }
342
+ };
343
+ }
344
+ function ne(t) {
345
+ let e, i, n, o, r, d, b, p, G;
346
+ function u(a, h) {
347
+ if (
348
+ /*titletype*/
349
+ a[1] == "logo"
350
+ ) return Ee;
351
+ if (
352
+ /*titletype*/
353
+ a[1] == "title"
354
+ ) return Ue;
355
+ }
356
+ let c = u(t), g = c && c(t), f = O(
357
+ /*category*/
358
+ t[41].games
359
+ ), s = [];
360
+ for (let a = 0; a < f.length; a += 1)
361
+ s[a] = oe(te(t, f, a));
362
+ function S() {
363
+ return (
364
+ /*click_handler_3*/
365
+ t[25](
366
+ /*category*/
367
+ t[41]
368
+ )
369
+ );
370
+ }
371
+ return {
372
+ c() {
373
+ var a, h;
374
+ e = C("div"), i = C("div"), n = C("div"), g && g.c(), o = x(), r = C("div");
375
+ for (let v = 0; v < s.length; v += 1)
376
+ s[v].c();
377
+ b = x(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
378
+ (((a = t[41]) == null ? void 0 : a.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
379
+ ((h = t[41]) == null ? void 0 : h.background) + ")"), N(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
380
+ },
381
+ m(a, h) {
382
+ T(a, e, h), _(e, i), _(i, n), g && g.m(n, null), _(i, o), _(i, r);
383
+ for (let v = 0; v < s.length; v += 1)
384
+ s[v] && s[v].m(r, null);
385
+ _(e, b), p || (G = B(i, "click", S), p = !0);
386
+ },
387
+ p(a, h) {
388
+ var v, F;
389
+ 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*/
390
+ 16396) {
391
+ f = O(
392
+ /*category*/
393
+ t[41].games
394
+ );
395
+ let w;
396
+ for (w = 0; w < f.length; w += 1) {
397
+ const L = te(t, f, w);
398
+ s[w] ? s[w].p(L, h) : (s[w] = oe(L), s[w].c(), s[w].m(r, null));
399
+ }
400
+ for (; w < s.length; w += 1)
401
+ s[w].d(1);
402
+ s.length = f.length;
403
+ }
404
+ h[0] & /*gameCategories*/
405
+ 8 && d !== (d = "CategorySlide " + /*category*/
406
+ (((v = t[41]) == null ? void 0 : v.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), h[0] & /*gameCategories*/
407
+ 8 && N(i, "background-image", "url(" + /*category*/
408
+ ((F = t[41]) == null ? void 0 : F.background) + ")");
409
+ },
410
+ d(a) {
411
+ a && j(e), g && g.d(), re(s, a), p = !1, G();
412
+ }
413
+ };
414
+ }
415
+ function We(t) {
416
+ let e;
417
+ function i(r, d) {
418
+ return (
419
+ /*isLoading*/
420
+ r[7] ? Ie : Re
421
+ );
422
+ }
423
+ let n = i(t), o = n(t);
424
+ return {
425
+ c() {
426
+ e = C("div"), o.c();
427
+ },
428
+ m(r, d) {
429
+ T(r, e, d), o.m(e, null), t[28](e);
430
+ },
431
+ p(r, d) {
432
+ n === (n = i(r)) && o ? o.p(r, d) : (o.d(1), o = n(r), o && (o.c(), o.m(e, null)));
433
+ },
434
+ i: H,
435
+ o: H,
436
+ d(r) {
437
+ r && j(e), o.d(), t[28](null);
438
+ }
439
+ };
440
+ }
441
+ function De(t, e, i) {
442
+ let n;
443
+ Me(t, Be, (l) => i(11, n = l));
444
+ 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;
445
+ const se = () => {
446
+ fetch(c).then((y) => y.json()).then((y) => {
447
+ Object.keys(y).forEach((k) => {
448
+ Y(k, y[k]);
449
+ });
450
+ }).catch((y) => {
451
+ console.log(y);
452
+ });
453
+ };
454
+ Object.keys($).forEach((l) => {
455
+ Y(l, $[l]);
456
+ });
457
+ const ce = () => {
458
+ const l = new URL(`${o}/v2/casino/groups/${r}`);
459
+ l.searchParams.append("language", d), l.searchParams.append("expand", "games"), fetch(l.href).then((y) => y.json()).then((y) => {
460
+ i(7, s = !1);
461
+ let k = y.items.filter((P) => P.flags == b);
462
+ i(3, f = k.map((P) => {
463
+ var K, Z, Q;
464
+ return {
465
+ id: P.id,
466
+ name: P.name,
467
+ 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,
468
+ games: P.games.items.slice(0, 4).map((ye) => ye),
469
+ background: P.background,
470
+ flag: P.flags
471
+ };
472
+ })), i(8, h = f.length);
473
+ });
474
+ }, E = (l) => {
475
+ w = [...S.children], w.forEach((y, k) => {
476
+ y.style.transform = `translateX(${100 * (l ? k - l : k)}%)`;
477
+ }), F = w[0].getBoundingClientRect().width, de();
478
+ }, de = () => {
479
+ i(9, v = Math.floor(z / F));
480
+ }, W = () => {
481
+ E(a);
482
+ }, D = () => {
483
+ a === 0 ? a = h - v : a - v < -1 ? a = 0 : a--, W();
484
+ }, V = () => {
485
+ a === h - v ? a = 0 : h - v < a + 1 ? a = h - v : a++, W();
486
+ }, q = (l, y, k, P) => {
487
+ window.postMessage(
488
+ {
489
+ type: "OpenCollectionsProvidersGame",
490
+ gameId: l,
491
+ launchUrl: y,
492
+ gameName: k,
493
+ subVendor: P
494
+ },
495
+ window.location.href
496
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
497
+ context: "CollectionsProviders",
498
+ gameName: `${k}`
499
+ });
500
+ }, J = (l) => {
501
+ window.postMessage(
502
+ {
503
+ type: "OpenCollectionsProvidersCategory",
504
+ categoryId: l
505
+ },
506
+ window.location.href
507
+ );
508
+ }, ge = () => {
509
+ Ae(d);
510
+ }, ue = () => {
511
+ let l = document.createElement("style");
512
+ l.innerHTML = G, L.appendChild(l);
513
+ }, fe = () => {
514
+ let l = new URL(u), y = document.createElement("style");
515
+ fetch(l.href).then((k) => k.text()).then((k) => {
516
+ y.innerHTML = k, setTimeout(
517
+ () => {
518
+ L.appendChild(y);
519
+ },
520
+ 1
521
+ );
522
+ });
523
+ };
524
+ je(() => {
525
+ i(10, U = Te(ae));
526
+ });
527
+ const me = () => D(), pe = () => V(), he = (l) => q(l.gameId, l.launchUrl, l.name, l.subVendor), ve = (l) => J(l.id);
528
+ function _e(l) {
529
+ X[l ? "unshift" : "push"](() => {
530
+ S = l, i(4, S);
531
+ });
532
+ }
533
+ function Ce() {
534
+ z = this.clientWidth, i(6, z);
535
+ }
536
+ function be(l) {
537
+ X[l ? "unshift" : "push"](() => {
538
+ L = l, i(5, L);
539
+ });
540
+ }
541
+ return t.$$set = (l) => {
542
+ "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);
543
+ }, t.$$.update = () => {
544
+ t.$$.dirty[0] & /*endpoint, datasource, lang*/
545
+ 458752 && o && r && d && ce(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
546
+ 88 && z && f && S && E(), t.$$.dirty[0] & /*lang*/
547
+ 262144 && d && ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
548
+ 524320 && G && L && ue(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
549
+ 1048608 && u && L && fe(), t.$$.dirty[0] & /*translationurl*/
550
+ 2097152 && c && se();
551
+ }, [
552
+ b,
553
+ p,
554
+ g,
555
+ f,
556
+ S,
557
+ L,
558
+ z,
559
+ s,
560
+ h,
561
+ v,
562
+ U,
563
+ n,
564
+ D,
565
+ V,
566
+ q,
567
+ J,
568
+ o,
569
+ r,
570
+ d,
571
+ G,
572
+ u,
573
+ c,
574
+ me,
575
+ pe,
576
+ he,
577
+ ve,
578
+ _e,
579
+ Ce,
580
+ be
581
+ ];
582
+ }
583
+ class Ve extends ke {
584
+ constructor(e) {
585
+ super(), Ge(
586
+ this,
587
+ e,
588
+ De,
589
+ We,
590
+ Pe,
591
+ {
592
+ endpoint: 16,
593
+ datasource: 17,
594
+ lang: 18,
595
+ type: 0,
596
+ titletype: 1,
597
+ clientstyling: 19,
598
+ clientstylingurl: 20,
599
+ translationurl: 21,
600
+ collectionprovidersgamenames: 2
601
+ },
602
+ Ne,
603
+ [-1, -1]
604
+ );
605
+ }
606
+ get endpoint() {
607
+ return this.$$.ctx[16];
608
+ }
609
+ set endpoint(e) {
610
+ this.$$set({ endpoint: e }), M();
611
+ }
612
+ get datasource() {
613
+ return this.$$.ctx[17];
614
+ }
615
+ set datasource(e) {
616
+ this.$$set({ datasource: e }), M();
617
+ }
618
+ get lang() {
619
+ return this.$$.ctx[18];
620
+ }
621
+ set lang(e) {
622
+ this.$$set({ lang: e }), M();
623
+ }
624
+ get type() {
625
+ return this.$$.ctx[0];
626
+ }
627
+ set type(e) {
628
+ this.$$set({ type: e }), M();
629
+ }
630
+ get titletype() {
631
+ return this.$$.ctx[1];
632
+ }
633
+ set titletype(e) {
634
+ this.$$set({ titletype: e }), M();
635
+ }
636
+ get clientstyling() {
637
+ return this.$$.ctx[19];
638
+ }
639
+ set clientstyling(e) {
640
+ this.$$set({ clientstyling: e }), M();
641
+ }
642
+ get clientstylingurl() {
643
+ return this.$$.ctx[20];
644
+ }
645
+ set clientstylingurl(e) {
646
+ this.$$set({ clientstylingurl: e }), M();
647
+ }
648
+ get translationurl() {
649
+ return this.$$.ctx[21];
650
+ }
651
+ set translationurl(e) {
652
+ this.$$set({ translationurl: e }), M();
653
+ }
654
+ get collectionprovidersgamenames() {
655
+ return this.$$.ctx[2];
656
+ }
657
+ set collectionprovidersgamenames(e) {
658
+ this.$$set({ collectionprovidersgamenames: e }), M();
659
+ }
660
+ }
661
+ Oe(Ve, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
662
+ export {
663
+ Ve as default
664
+ };