@everymatrix/casino-page-nd 1.54.12 → 1.56.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 (97) hide show
  1. package/components/CasinoCalendar-BUWW4Xzj.cjs +6 -0
  2. package/components/{CasinoCalendar-DqqWE3PZ.js → CasinoCalendar-DwKH1vl3.js} +972 -928
  3. package/components/{CasinoCalendar-BzhZkzgP.js → CasinoCalendar-tMtCN0uW.js} +939 -895
  4. package/components/CasinoCalendarDailyDetails-B1yNq5WP.cjs +1 -0
  5. package/components/CasinoCalendarDailyDetails-BP_ANGdX.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-CehhK4Vt.js +693 -0
  7. package/components/CasinoCalendarDailyItem-C08Z_td-.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-Cf-elj80.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DE7Q_O2x.js +306 -0
  10. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +1 -0
  11. package/components/CasinoCollectionsProviders-DoRepmON.js +659 -0
  12. package/components/CasinoCollectionsProviders-Yt2ApEP5.js +654 -0
  13. package/components/{CasinoFavoritesSectionNd-BaYSblX2.js → CasinoFavoritesSectionNd-B02g5uyD.js} +149 -142
  14. package/components/{CasinoFavoritesSectionNd-DPO11eIl.js → CasinoFavoritesSectionNd-Bza8UQ0r.js} +149 -142
  15. package/components/CasinoFavoritesSectionNd-CnSYWIJi.cjs +1 -0
  16. package/components/CasinoFilter-BYz1zKUs.cjs +1 -0
  17. package/components/{CasinoFilter-CQA5tRXc.js → CasinoFilter-BbKgy4VX.js} +240 -247
  18. package/components/{CasinoFilter-DarCjn7O.js → CasinoFilter-Cb7FySTm.js} +236 -241
  19. package/components/{CasinoGameThumbnailNd-C8JF_kRW.js → CasinoGameThumbnailNd-6P122Pbb.js} +1335 -1338
  20. package/components/CasinoGameThumbnailNd-DlUJ8jo8.cjs +39 -0
  21. package/components/{CasinoGameThumbnailNd-CMWvCrxU.js → CasinoGameThumbnailNd-Dtq6Pf7M.js} +1335 -1338
  22. package/components/CasinoGamesCategorySectionNd-C1OvVakY.js +3029 -0
  23. package/components/CasinoGamesCategorySectionNd-C1iO2_SR.cjs +1 -0
  24. package/components/{CasinoGamesCategorySectionNd-D97PLCZQ.js → CasinoGamesCategorySectionNd-vmZnCjR8.js} +1135 -1109
  25. package/components/CasinoJackpotBanner-BaqwOwIt.js +688 -0
  26. package/components/CasinoJackpotBanner-DZZsX8IW.cjs +1 -0
  27. package/components/CasinoJackpotBanner-Dnu1YGvy.js +692 -0
  28. package/components/CasinoLastPlayedSectionNd-CYoHFQEu.js +575 -0
  29. package/components/CasinoLastPlayedSectionNd-D-71OOLA.cjs +1 -0
  30. package/components/CasinoLastPlayedSectionNd-DVAEB9Kf.js +575 -0
  31. package/components/{CasinoMostPlayedSectionNd-DBY9uW22.js → CasinoMostPlayedSectionNd-Ce4mFMX2.js} +172 -163
  32. package/components/{CasinoMostPlayedSectionNd-DT0BhU2p.js → CasinoMostPlayedSectionNd-Comi_0uw.js} +172 -163
  33. package/components/CasinoMostPlayedSectionNd-DOFhn6t3.cjs +1 -0
  34. package/components/{CasinoMyGamesNd-BYler1NB.js → CasinoMyGamesNd-C2159D_C.js} +493 -463
  35. package/components/{CasinoMyGamesNd-tEImAPBs.js → CasinoMyGamesNd-CI-YgB5L.js} +499 -469
  36. package/components/CasinoMyGamesNd-Do0Jd4Yy.cjs +1 -0
  37. package/components/{CasinoPageNd-BbdpaE5v.js → CasinoPageNd-CHw9KY4G.js} +1305 -1146
  38. package/components/{CasinoPageNd-CbP1X2KC.js → CasinoPageNd-Cl9m0NgT.js} +1299 -1140
  39. package/components/CasinoPageNd-q_CaW-NM.cjs +1 -0
  40. package/components/{CasinoRandomGame-D1NgXW5u.cjs → CasinoRandomGame-B2FGgsW1.cjs} +2 -2
  41. package/components/{CasinoRandomGame-CGpFFaoE.js → CasinoRandomGame-D9BEuIS2.js} +226 -228
  42. package/components/{CasinoRandomGame-CWMW9E0i.js → CasinoRandomGame-T1GVZYOt.js} +243 -245
  43. package/components/{CasinoSearchNd-BnS9e06D.js → CasinoSearchNd-8l70r1-j.js} +449 -442
  44. package/components/{CasinoSearchNd-Dr-tu25u.js → CasinoSearchNd-DI3QD6gc.js} +486 -479
  45. package/components/CasinoSearchNd-r3Xsk168.cjs +1 -0
  46. package/components/CasinoSort-BmkqSaqQ.cjs +1 -0
  47. package/components/CasinoSort-BwNRVsYT.js +427 -0
  48. package/components/CasinoSort-DykEVPy1.js +428 -0
  49. package/components/CasinoWinners-4fX-Jkcx.cjs +1 -0
  50. package/components/{CasinoWinners-CFPyLxtr.js → CasinoWinners-DbNw8Ecj.js} +345 -342
  51. package/components/{CasinoWinners-Brfa3DHB.js → CasinoWinners-Dn6mLcJT.js} +355 -352
  52. package/components/GeneralAnimationLoading-C3AulHDZ.js +84 -0
  53. package/components/GeneralAnimationLoading-CKfD84TR.js +84 -0
  54. package/components/GeneralAnimationLoading-D4L1aOk8.cjs +1 -0
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-CBXhEsCq.js} +54 -29
  60. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-PZXnDzfs.js} +73 -48
  61. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  62. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  63. package/stencil/{index-8b2c4ca7-BNDGCsVn.js → index-29915e18-CQ_kWzEh.js} +134 -133
  64. package/stencil/{index-8b2c4ca7-CtUqBgXG.js → index-29915e18-MPiqo7vY.js} +131 -130
  65. package/components/CasinoCalendar-D2xyIjnZ.cjs +0 -6
  66. package/components/CasinoCalendarDailyDetails-CNKPmgJW.cjs +0 -1
  67. package/components/CasinoCalendarDailyDetails-DazppRF9.js +0 -701
  68. package/components/CasinoCalendarDailyDetails-qLuUx2VZ.js +0 -701
  69. package/components/CasinoCalendarDailyItem-DKZuA435.js +0 -315
  70. package/components/CasinoCalendarDailyItem-DcdOBbU8.js +0 -315
  71. package/components/CasinoCalendarDailyItem-Dm-IKJx0.cjs +0 -1
  72. package/components/CasinoCollectionsProviders-BpPCl2Cs.cjs +0 -1
  73. package/components/CasinoCollectionsProviders-DDg-M4Ky.js +0 -664
  74. package/components/CasinoCollectionsProviders-DPXPW7Wb.js +0 -659
  75. package/components/CasinoFavoritesSectionNd-BseQ6ntB.cjs +0 -1
  76. package/components/CasinoFilter-bjRSwwQj.cjs +0 -1
  77. package/components/CasinoGameThumbnailNd-M5MyMQqb.cjs +0 -39
  78. package/components/CasinoGamesCategorySectionNd-B7bxi7wJ.js +0 -3003
  79. package/components/CasinoGamesCategorySectionNd-DzkueBMw.cjs +0 -1
  80. package/components/CasinoJackpotBanner-BzQTQP0g.js +0 -618
  81. package/components/CasinoJackpotBanner-CyMIq-Hw.js +0 -614
  82. package/components/CasinoJackpotBanner-DrH5T9F0.cjs +0 -1
  83. package/components/CasinoLastPlayedSectionNd-C-VkTH2C.js +0 -566
  84. package/components/CasinoLastPlayedSectionNd-D7cVedev.js +0 -566
  85. package/components/CasinoLastPlayedSectionNd-K-wgzihy.cjs +0 -1
  86. package/components/CasinoMostPlayedSectionNd-DLd7wPNf.cjs +0 -1
  87. package/components/CasinoMyGamesNd-DQQ8Lo5B.cjs +0 -1
  88. package/components/CasinoPageNd-D9CuZV8a.cjs +0 -1
  89. package/components/CasinoSearchNd-BNECYNN3.cjs +0 -1
  90. package/components/CasinoSort-B5j-QwSa.cjs +0 -1
  91. package/components/CasinoSort-BKXVp_Q-.js +0 -432
  92. package/components/CasinoSort-mWbCQ4MJ.js +0 -431
  93. package/components/CasinoWinners-WPMrk6iO.cjs +0 -1
  94. package/components/GeneralAnimationLoading-CM50RqcF.js +0 -75
  95. package/components/GeneralAnimationLoading-DVXxEF3S.js +0 -75
  96. package/components/GeneralAnimationLoading-DqRALFbY.cjs +0 -1
  97. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -0,0 +1,654 @@
1
+ import { a as _e, $ as be, S as Ce, i as ye, s as we, f as L, b as Se, n as z, d as j, h as x, j as b, k as ke, o as Ge, l as Pe, C as Z, r as f, v as O, w as oe, m as I, p as _, N as Le, q as R, B as F, O as Me, P as je, A as B, G as N, D as H, Q as xe, I as Fe, J as Te, K as ze, L as Oe, M as Be } from "./CasinoCalendar-tMtCN0uW.js";
2
+ function Q(t, e) {
3
+ _e(t, e);
4
+ }
5
+ function He(t) {
6
+ be.set(t);
7
+ }
8
+ const X = {
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 Ae(t) {
106
+ Se(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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 Y(t, e, i) {
109
+ const n = t.slice();
110
+ return n[41] = e[i], n;
111
+ }
112
+ function $(t, e, i) {
113
+ const n = t.slice();
114
+ return n[44] = e[i], n;
115
+ }
116
+ function Ne(t) {
117
+ let e, i, n, l = (
118
+ /*type*/
119
+ (t[0] == "vendor" ? (
120
+ /*$_*/
121
+ t[11]("providers")
122
+ ) : (
123
+ /*$_*/
124
+ t[11]("collections")
125
+ )) + ""
126
+ ), r, d, C, v, w, u, c = (
127
+ /*numberOfSlides*/
128
+ t[8] > /*numberOfVisibleSlides*/
129
+ t[9] && ee(t)
130
+ ), g = O(
131
+ /*gameCategories*/
132
+ t[3]
133
+ ), m = [];
134
+ for (let a = 0; a < g.length; a += 1)
135
+ m[a] = le(Y(t, g, a));
136
+ return {
137
+ c() {
138
+ e = b("div"), i = b("div"), n = b("p"), r = R(l), d = F(), c && c.c(), C = F(), v = b("div");
139
+ for (let a = 0; a < m.length; a += 1)
140
+ m[a].c();
141
+ f(n, "class", "Title"), f(i, "class", "CategoriesHeader"), f(v, "class", "CategoriesSlider"), Me(() => (
142
+ /*div1_elementresize_handler*/
143
+ t[28].call(v)
144
+ )), f(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
145
+ (t[10] ? "Mobile" : "") + " " + /*type*/
146
+ (t[0] === "vendor" ? "Providers" : "Collections"));
147
+ },
148
+ m(a, S) {
149
+ x(a, e, S), _(e, i), _(i, n), _(n, r), _(i, d), c && c.m(i, null), _(e, C), _(e, v);
150
+ for (let s = 0; s < m.length; s += 1)
151
+ m[s] && m[s].m(v, null);
152
+ t[27](v), w = Le(
153
+ v,
154
+ /*div1_elementresize_handler*/
155
+ t[28].bind(v)
156
+ );
157
+ },
158
+ p(a, S) {
159
+ if (S[0] & /*type, $_*/
160
+ 2049 && l !== (l = /*type*/
161
+ (a[0] == "vendor" ? (
162
+ /*$_*/
163
+ a[11]("providers")
164
+ ) : (
165
+ /*$_*/
166
+ a[11]("collections")
167
+ )) + "") && I(r, l), /*numberOfSlides*/
168
+ a[8] > /*numberOfVisibleSlides*/
169
+ a[9] ? c ? c.p(a, S) : (c = ee(a), 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
+ a[3]
174
+ );
175
+ let s;
176
+ for (s = 0; s < g.length; s += 1) {
177
+ const h = Y(a, g, s);
178
+ m[s] ? m[s].p(h, S) : (m[s] = le(h), m[s].c(), m[s].m(v, null));
179
+ }
180
+ for (; s < m.length; s += 1)
181
+ m[s].d(1);
182
+ m.length = g.length;
183
+ }
184
+ S[0] & /*mobile, type*/
185
+ 1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
186
+ (a[10] ? "Mobile" : "") + " " + /*type*/
187
+ (a[0] === "vendor" ? "Providers" : "Collections")) && f(e, "class", u);
188
+ },
189
+ d(a) {
190
+ a && j(e), c && c.d(), oe(m, a), t[27](null), w();
191
+ }
192
+ };
193
+ }
194
+ function Ie(t) {
195
+ let e;
196
+ return {
197
+ c() {
198
+ e = b("div"), f(e, "class", "LoadingSpinner");
199
+ },
200
+ m(i, n) {
201
+ x(i, e, n);
202
+ },
203
+ p: z,
204
+ d(i) {
205
+ i && j(e);
206
+ }
207
+ };
208
+ }
209
+ function ee(t) {
210
+ let e, i, n, l, r, d;
211
+ return {
212
+ c() {
213
+ e = b("div"), i = b("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 = F(), l = b("button"), l.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>', f(e, "class", "ButtonsContainer");
214
+ },
215
+ m(C, v) {
216
+ x(C, e, v), _(e, i), _(e, n), _(e, l), r || (d = [
217
+ B(
218
+ i,
219
+ "click",
220
+ /*click_handler*/
221
+ t[23]
222
+ ),
223
+ B(
224
+ l,
225
+ "click",
226
+ /*click_handler_1*/
227
+ t[24]
228
+ )
229
+ ], r = !0);
230
+ },
231
+ p: z,
232
+ d(C) {
233
+ C && j(e), r = !1, je(d);
234
+ }
235
+ };
236
+ }
237
+ function Re(t) {
238
+ let e, i = (
239
+ /*category*/
240
+ t[41].name + ""
241
+ ), n;
242
+ return {
243
+ c() {
244
+ e = b("p"), n = R(i), f(e, "class", "CategorySlideTitle");
245
+ },
246
+ m(l, r) {
247
+ x(l, e, r), _(e, n);
248
+ },
249
+ p(l, r) {
250
+ r[0] & /*gameCategories*/
251
+ 8 && i !== (i = /*category*/
252
+ l[41].name + "") && I(n, i);
253
+ },
254
+ d(l) {
255
+ l && j(e);
256
+ }
257
+ };
258
+ }
259
+ function Ue(t) {
260
+ let e, i, n;
261
+ return {
262
+ c() {
263
+ e = b("img"), f(e, "class", "CategorySlideLogo"), H(e.src, i = /*category*/
264
+ t[41].icon) || f(e, "src", i), f(e, "alt", n = /*category*/
265
+ t[41].name + " icon");
266
+ },
267
+ m(l, r) {
268
+ x(l, e, r);
269
+ },
270
+ p(l, r) {
271
+ r[0] & /*gameCategories*/
272
+ 8 && !H(e.src, i = /*category*/
273
+ l[41].icon) && f(e, "src", i), r[0] & /*gameCategories*/
274
+ 8 && n !== (n = /*category*/
275
+ l[41].name + " icon") && f(e, "alt", n);
276
+ },
277
+ d(l) {
278
+ l && j(e);
279
+ }
280
+ };
281
+ }
282
+ function te(t) {
283
+ let e, i = (
284
+ /*game*/
285
+ t[44].name + ""
286
+ ), n, l;
287
+ return {
288
+ c() {
289
+ e = b("p"), n = R(i), f(e, "title", l = /*game*/
290
+ t[44].name);
291
+ },
292
+ m(r, d) {
293
+ x(r, e, d), _(e, n);
294
+ },
295
+ p(r, d) {
296
+ d[0] & /*gameCategories*/
297
+ 8 && i !== (i = /*game*/
298
+ r[44].name + "") && I(n, i), d[0] & /*gameCategories*/
299
+ 8 && l !== (l = /*game*/
300
+ r[44].name) && f(e, "title", l);
301
+ },
302
+ d(r) {
303
+ r && j(e);
304
+ }
305
+ };
306
+ }
307
+ function ie(t) {
308
+ let e, i, n, l, r, d, C, v;
309
+ function w() {
310
+ return (
311
+ /*click_handler_2*/
312
+ t[25](
313
+ /*game*/
314
+ t[44]
315
+ )
316
+ );
317
+ }
318
+ let u = (
319
+ /*collectionprovidersgamenames*/
320
+ t[2] == "true" && te(t)
321
+ );
322
+ return {
323
+ c() {
324
+ e = b("div"), i = b("img"), r = F(), u && u.c(), d = F(), f(i, "class", "CategorySlideGameImage"), H(i.src, n = /*game*/
325
+ t[44].defaultThumbnail) || f(i, "src", n), f(i, "alt", l = /*game*/
326
+ t[44].name), f(e, "class", "CategorySlideGames");
327
+ },
328
+ m(c, g) {
329
+ x(c, e, g), _(e, i), _(e, r), u && u.m(e, null), _(e, d), C || (v = B(i, "click", xe(w)), C = !0);
330
+ },
331
+ p(c, g) {
332
+ t = c, g[0] & /*gameCategories*/
333
+ 8 && !H(i.src, n = /*game*/
334
+ t[44].defaultThumbnail) && f(i, "src", n), g[0] & /*gameCategories*/
335
+ 8 && l !== (l = /*game*/
336
+ t[44].name) && f(i, "alt", l), /*collectionprovidersgamenames*/
337
+ t[2] == "true" ? u ? u.p(t, g) : (u = te(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
338
+ },
339
+ d(c) {
340
+ c && j(e), u && u.d(), C = !1, v();
341
+ }
342
+ };
343
+ }
344
+ function le(t) {
345
+ let e, i, n, l, r, d, C, v, w;
346
+ function u(s, h) {
347
+ if (
348
+ /*titletype*/
349
+ s[1] == "logo"
350
+ ) return Ue;
351
+ if (
352
+ /*titletype*/
353
+ s[1] == "title"
354
+ ) return Re;
355
+ }
356
+ let c = u(t), g = c && c(t), m = O(
357
+ /*category*/
358
+ t[41].games
359
+ ), a = [];
360
+ for (let s = 0; s < m.length; s += 1)
361
+ a[s] = ie($(t, m, s));
362
+ function S() {
363
+ return (
364
+ /*click_handler_3*/
365
+ t[26](
366
+ /*category*/
367
+ t[41]
368
+ )
369
+ );
370
+ }
371
+ return {
372
+ c() {
373
+ e = b("div"), i = b("div"), n = b("div"), g && g.c(), l = F(), r = b("div");
374
+ for (let s = 0; s < a.length; s += 1)
375
+ a[s].c();
376
+ C = F(), f(n, "class", "CategorySlideTopContainer"), f(r, "class", "CategorySlideGameContainer"), f(i, "class", d = "CategorySlide " + /*category*/
377
+ (t[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
378
+ t[41]?.background + ")"), N(i, "background-size", "cover"), f(e, "class", "CategoriesSliderWrapper Animation");
379
+ },
380
+ m(s, h) {
381
+ x(s, e, h), _(e, i), _(i, n), g && g.m(n, null), _(i, l), _(i, r);
382
+ for (let p = 0; p < a.length; p += 1)
383
+ a[p] && a[p].m(r, null);
384
+ _(e, C), v || (w = B(i, "click", S), v = !0);
385
+ },
386
+ p(s, h) {
387
+ if (t = s, 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*/
388
+ 16396) {
389
+ m = O(
390
+ /*category*/
391
+ t[41].games
392
+ );
393
+ let p;
394
+ for (p = 0; p < m.length; p += 1) {
395
+ const G = $(t, m, p);
396
+ a[p] ? a[p].p(G, h) : (a[p] = ie(G), a[p].c(), a[p].m(r, null));
397
+ }
398
+ for (; p < a.length; p += 1)
399
+ a[p].d(1);
400
+ a.length = m.length;
401
+ }
402
+ h[0] & /*gameCategories*/
403
+ 8 && d !== (d = "CategorySlide " + /*category*/
404
+ (t[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && f(i, "class", d), h[0] & /*gameCategories*/
405
+ 8 && N(i, "background-image", "url(" + /*category*/
406
+ t[41]?.background + ")");
407
+ },
408
+ d(s) {
409
+ s && j(e), g && g.d(), oe(a, s), v = !1, w();
410
+ }
411
+ };
412
+ }
413
+ function We(t) {
414
+ let e;
415
+ function i(r, d) {
416
+ return (
417
+ /*isLoading*/
418
+ r[7] ? Ie : Ne
419
+ );
420
+ }
421
+ let n = i(t), l = n(t);
422
+ return {
423
+ c() {
424
+ e = b("div"), l.c();
425
+ },
426
+ m(r, d) {
427
+ x(r, e, d), l.m(e, null), t[29](e);
428
+ },
429
+ p(r, d) {
430
+ n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
431
+ },
432
+ i: z,
433
+ o: z,
434
+ d(r) {
435
+ r && j(e), l.d(), t[29](null);
436
+ }
437
+ };
438
+ }
439
+ function qe(t, e, i) {
440
+ let n;
441
+ ke(t, Be, (o) => i(11, n = o));
442
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, { mbsource: m } = e, a = [], S = !0, s, h = 0, p = 0, G = 0, U, A, M, ne = window.navigator.userAgent, W, T = 0;
443
+ const re = () => {
444
+ fetch(c).then((y) => y.json()).then((y) => {
445
+ Object.keys(y).forEach((P) => {
446
+ Q(P, y[P]);
447
+ });
448
+ }).catch((y) => {
449
+ console.log(y);
450
+ });
451
+ };
452
+ Object.keys(X).forEach((o) => {
453
+ Q(o, X[o]);
454
+ });
455
+ const ae = () => {
456
+ const o = new URL(`${l}/v2/casino/groups/${r}`);
457
+ o.searchParams.append("language", d), o.searchParams.append("expand", "games"), fetch(o.href).then((y) => y.json()).then((y) => {
458
+ i(7, S = !1);
459
+ let P = y.items.filter((k) => k.flags == C);
460
+ i(3, a = P.map((k) => ({
461
+ id: k.id,
462
+ name: k.name,
463
+ icon: k.icon ? k.icon : k.vendors?.items[0]?.subVendors[0]?.logo,
464
+ games: k.games.items.slice(0, 4).map((ve) => ve),
465
+ background: k.background,
466
+ flag: k.flags
467
+ }))), i(8, p = a.length);
468
+ });
469
+ }, q = (o) => {
470
+ A = [...s.children], A.forEach((y, P) => {
471
+ y.style.transform = `translateX(${100 * (o ? P - o : P)}%)`;
472
+ }), U = A[0].getBoundingClientRect().width, se();
473
+ }, se = () => {
474
+ i(9, G = Math.floor(T / U));
475
+ }, D = () => {
476
+ q(h);
477
+ }, V = () => {
478
+ h === 0 ? h = p - G : h - G < -1 ? h = 0 : h--, D();
479
+ }, E = () => {
480
+ h === p - G ? h = 0 : p - G < h + 1 ? h = p - G : h++, D();
481
+ }, K = (o, y, P, k) => {
482
+ window.postMessage(
483
+ {
484
+ type: "OpenCollectionsProvidersGame",
485
+ gameId: o,
486
+ launchUrl: y,
487
+ gameName: P,
488
+ subVendor: k
489
+ },
490
+ window.location.href
491
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
492
+ context: "CollectionsProviders",
493
+ gameName: `${P}`
494
+ });
495
+ }, J = (o) => {
496
+ window.postMessage(
497
+ {
498
+ type: "OpenCollectionsProvidersCategory",
499
+ categoryId: o
500
+ },
501
+ window.location.href
502
+ );
503
+ }, ce = () => {
504
+ He(d);
505
+ };
506
+ Ge(() => (i(10, W = Pe(ne)), () => {
507
+ }));
508
+ const de = () => V(), ge = () => E(), ue = (o) => K(o.gameId, o.launchUrl, o.name, o.subVendor), me = (o) => J(o.id);
509
+ function fe(o) {
510
+ Z[o ? "unshift" : "push"](() => {
511
+ s = o, i(4, s);
512
+ });
513
+ }
514
+ function pe() {
515
+ T = this.clientWidth, i(6, T);
516
+ }
517
+ function he(o) {
518
+ Z[o ? "unshift" : "push"](() => {
519
+ M = o, i(5, M);
520
+ });
521
+ }
522
+ return t.$$set = (o) => {
523
+ "endpoint" in o && i(16, l = o.endpoint), "datasource" in o && i(17, r = o.datasource), "lang" in o && i(18, d = o.lang), "type" in o && i(0, C = o.type), "titletype" in o && i(1, v = o.titletype), "clientstyling" in o && i(19, w = o.clientstyling), "clientstylingurl" in o && i(20, u = o.clientstylingurl), "translationurl" in o && i(21, c = o.translationurl), "collectionprovidersgamenames" in o && i(2, g = o.collectionprovidersgamenames), "mbsource" in o && i(22, m = o.mbsource);
524
+ }, t.$$.update = () => {
525
+ t.$$.dirty[0] & /*endpoint, datasource, lang*/
526
+ 458752 && l && r && d && ae(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
527
+ 88 && T && a && s && q(), t.$$.dirty[0] & /*lang*/
528
+ 262144 && d && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
529
+ 524320 && w && M && Fe(M, w), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
530
+ 1048608 && u && M && Te(M, u), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
531
+ 4194336 && M && ze(M, `${m}.Style`), t.$$.dirty[0] & /*translationurl*/
532
+ 2097152 && c && re();
533
+ }, [
534
+ C,
535
+ v,
536
+ g,
537
+ a,
538
+ s,
539
+ M,
540
+ T,
541
+ S,
542
+ p,
543
+ G,
544
+ W,
545
+ n,
546
+ V,
547
+ E,
548
+ K,
549
+ J,
550
+ l,
551
+ r,
552
+ d,
553
+ w,
554
+ u,
555
+ c,
556
+ m,
557
+ de,
558
+ ge,
559
+ ue,
560
+ me,
561
+ fe,
562
+ pe,
563
+ he
564
+ ];
565
+ }
566
+ class De extends Ce {
567
+ constructor(e) {
568
+ super(), ye(
569
+ this,
570
+ e,
571
+ qe,
572
+ We,
573
+ we,
574
+ {
575
+ endpoint: 16,
576
+ datasource: 17,
577
+ lang: 18,
578
+ type: 0,
579
+ titletype: 1,
580
+ clientstyling: 19,
581
+ clientstylingurl: 20,
582
+ translationurl: 21,
583
+ collectionprovidersgamenames: 2,
584
+ mbsource: 22
585
+ },
586
+ Ae,
587
+ [-1, -1]
588
+ );
589
+ }
590
+ get endpoint() {
591
+ return this.$$.ctx[16];
592
+ }
593
+ set endpoint(e) {
594
+ this.$$set({ endpoint: e }), L();
595
+ }
596
+ get datasource() {
597
+ return this.$$.ctx[17];
598
+ }
599
+ set datasource(e) {
600
+ this.$$set({ datasource: e }), L();
601
+ }
602
+ get lang() {
603
+ return this.$$.ctx[18];
604
+ }
605
+ set lang(e) {
606
+ this.$$set({ lang: e }), L();
607
+ }
608
+ get type() {
609
+ return this.$$.ctx[0];
610
+ }
611
+ set type(e) {
612
+ this.$$set({ type: e }), L();
613
+ }
614
+ get titletype() {
615
+ return this.$$.ctx[1];
616
+ }
617
+ set titletype(e) {
618
+ this.$$set({ titletype: e }), L();
619
+ }
620
+ get clientstyling() {
621
+ return this.$$.ctx[19];
622
+ }
623
+ set clientstyling(e) {
624
+ this.$$set({ clientstyling: e }), L();
625
+ }
626
+ get clientstylingurl() {
627
+ return this.$$.ctx[20];
628
+ }
629
+ set clientstylingurl(e) {
630
+ this.$$set({ clientstylingurl: e }), L();
631
+ }
632
+ get translationurl() {
633
+ return this.$$.ctx[21];
634
+ }
635
+ set translationurl(e) {
636
+ this.$$set({ translationurl: e }), L();
637
+ }
638
+ get collectionprovidersgamenames() {
639
+ return this.$$.ctx[2];
640
+ }
641
+ set collectionprovidersgamenames(e) {
642
+ this.$$set({ collectionprovidersgamenames: e }), L();
643
+ }
644
+ get mbsource() {
645
+ return this.$$.ctx[22];
646
+ }
647
+ set mbsource(e) {
648
+ this.$$set({ mbsource: e }), L();
649
+ }
650
+ }
651
+ Oe(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
652
+ export {
653
+ De as default
654
+ };