@everymatrix/casino-page 1.63.2 → 1.64.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 (88) hide show
  1. package/components/{CasinoCalendar-BgvtoG_R.cjs → CasinoCalendar-B7HDzCMK.cjs} +4 -4
  2. package/components/{CasinoCalendar-BOs8WCfO.js → CasinoCalendar-Vkb-R-ZX.js} +114 -114
  3. package/components/{CasinoCalendar-DmZ5Xi52.js → CasinoCalendar-gzR0syWU.js} +200 -200
  4. package/components/CasinoCalendarDailyDetails-BSQbzcGH.js +567 -0
  5. package/components/CasinoCalendarDailyDetails-Bc0r0Ym3.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-Cf_NBcOX.js +567 -0
  7. package/components/{CasinoCalendarDailyItem-DgFxHqRc.js → CasinoCalendarDailyItem-CQSuNZtl.js} +45 -45
  8. package/components/CasinoCalendarDailyItem-DcM708OO.cjs +1 -0
  9. package/components/{CasinoCalendarDailyItem-B2t3D0gO.js → CasinoCalendarDailyItem-Dn5Go7LC.js} +45 -45
  10. package/components/CasinoCollectionsProviders-58EKJRFt.cjs +1 -0
  11. package/components/CasinoCollectionsProviders-C2HckLP0.js +653 -0
  12. package/components/{CasinoCollectionsProviders-D7snEtOu.js → CasinoCollectionsProviders-CQOBEpAZ.js} +181 -182
  13. package/components/{CasinoFavoritesSection-BdCpTLEB.js → CasinoFavoritesSection-CcsvkrzG.js} +23 -23
  14. package/components/{CasinoFavoritesSection-3HQS9NF6.js → CasinoFavoritesSection-DfGJNbB8.js} +23 -23
  15. package/components/{CasinoFavoritesSection-L-N0HULo.cjs → CasinoFavoritesSection-W3TMRpsu.cjs} +1 -1
  16. package/components/{CasinoFilter-De6VkgDj.js → CasinoFilter-Bgdgnv7e.js} +115 -115
  17. package/components/{CasinoFilter-WrwNYfuJ.cjs → CasinoFilter-Bmbi-NIl.cjs} +1 -1
  18. package/components/{CasinoFilter-C3DXMnbX.js → CasinoFilter-DcGO-ipH.js} +112 -112
  19. package/components/{CasinoGameThumbnail-ueHtR2Vj.cjs → CasinoGameThumbnail-COIE0fub.cjs} +2 -2
  20. package/components/{CasinoGameThumbnail-Blm7vAkJ.js → CasinoGameThumbnail-DXQLodRv.js} +3 -3
  21. package/components/{CasinoGameThumbnail-Dkl7cTyw.js → CasinoGameThumbnail-DiLl5Mrw.js} +3 -3
  22. package/components/CasinoGamesCategorySection-BG3iYeKb.js +3170 -0
  23. package/components/CasinoGamesCategorySection-D-NYfWaO.cjs +1 -0
  24. package/components/CasinoGamesCategorySection-DqEYl0Es.js +3202 -0
  25. package/components/{CasinoJackpotBanner-DuplLyPb.cjs → CasinoJackpotBanner-BuVB-M1i.cjs} +1 -1
  26. package/components/{CasinoJackpotBanner-B1ZkOilK.js → CasinoJackpotBanner-CzYBUhxU.js} +91 -91
  27. package/components/{CasinoJackpotBanner-DjgSy20d.js → CasinoJackpotBanner-emlytO5A.js} +98 -98
  28. package/components/{CasinoLastPlayedSection-Dzq0B2A8.js → CasinoLastPlayedSection-DlkamFRO.js} +11 -11
  29. package/components/{CasinoLastPlayedSection-D3Ju4yd3.cjs → CasinoLastPlayedSection-ESrwXqVH.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-CoWGqy88.js → CasinoLastPlayedSection-HNf5v3xk.js} +11 -11
  31. package/components/{CasinoMostPlayedSection-BrpUfvYL.js → CasinoMostPlayedSection-Bj52NLlc.js} +19 -19
  32. package/components/{CasinoMostPlayedSection-CGjfLCVF.cjs → CasinoMostPlayedSection-DnCmD7jr.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-D_d76Vf4.js → CasinoMostPlayedSection-ZxeqcEG3.js} +19 -19
  34. package/components/{CasinoMyGames-CTRXQ2KA.js → CasinoMyGames-B3n4oh-A.js} +54 -54
  35. package/components/{CasinoMyGames-CI50eMLE.cjs → CasinoMyGames-Ds1zAHP9.cjs} +1 -1
  36. package/components/{CasinoMyGames-oe2cqCGh.js → CasinoMyGames-vFSJZHR-.js} +50 -50
  37. package/components/{CasinoPage-yDa7YjFD.js → CasinoPage-ClUmsk8r.js} +175 -175
  38. package/components/{CasinoPage-BHEwLW23.cjs → CasinoPage-Cy-fE9bq.cjs} +1 -1
  39. package/components/{CasinoPage-DlOd2Gbw.js → CasinoPage-DXlelFXN.js} +181 -181
  40. package/components/{CasinoRandomGame-C6QtFF4H.cjs → CasinoRandomGame-Bu3vRXKq.cjs} +2 -2
  41. package/components/{CasinoRandomGame-CAPWXz7E.js → CasinoRandomGame-DCljkb0K.js} +70 -70
  42. package/components/{CasinoRandomGame-DfqSrqkd.js → CasinoRandomGame-SWOJ-rEc.js} +70 -70
  43. package/components/{CasinoSearch-CiGnAp4y.js → CasinoSearch-B1cDx372.js} +73 -73
  44. package/components/{CasinoSearch-D10Qjfo2.cjs → CasinoSearch-CPSvAdm9.cjs} +1 -1
  45. package/components/{CasinoSearch-DV-T1eeX.js → CasinoSearch-JYJ0TOYC.js} +75 -75
  46. package/components/{CasinoSort-CoIkpUDb.js → CasinoSort-CFb0U8jb.js} +32 -32
  47. package/components/{CasinoSort-CDJZTsFH.cjs → CasinoSort-DKVyUE8P.cjs} +1 -1
  48. package/components/{CasinoSort-CTiRc82l.js → CasinoSort-DfH2maWJ.js} +32 -32
  49. package/components/CasinoWinners-C9tJh4_L.cjs +1 -0
  50. package/components/{CasinoWinners-CsFLhIyp.js → CasinoWinners-D02DDUiQ.js} +257 -260
  51. package/components/CasinoWinners-DB-fwvGm.js +996 -0
  52. package/components/{GeneralAnimationLoading-Bmp-KqkP.js → GeneralAnimationLoading-B2emFg0o.js} +6 -6
  53. package/components/{GeneralAnimationLoading-h023DKOA.js → GeneralAnimationLoading-DCyTdaug.js} +6 -6
  54. package/components/{GeneralAnimationLoading-DKbjZ0zs.cjs → GeneralAnimationLoading-Gvq6az05.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
  60. package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
  61. package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
  62. package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
  63. package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  64. package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
  65. package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
  66. package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
  67. package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
  68. package/stencil/{ui-image-C3XzpHRB.cjs → ui-image-DLXwOzO2.cjs} +1 -1
  69. package/stencil/{ui-image-CYB9UUHg.js → ui-image-YGEFo8L0.js} +1 -1
  70. package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  71. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  72. package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  73. package/stencil/{ui-image-BSTP7sZO.js → ui-image-w38Eao2h.js} +1 -1
  74. package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
  75. package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
  76. package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  77. package/components/CasinoCalendarDailyDetails-BHRzcj6i.js +0 -694
  78. package/components/CasinoCalendarDailyDetails-CUbJ-Eo-.cjs +0 -1
  79. package/components/CasinoCalendarDailyDetails-GUntgncR.js +0 -694
  80. package/components/CasinoCalendarDailyItem-jNI8-Jv1.cjs +0 -1
  81. package/components/CasinoCollectionsProviders-DqBg21dE.js +0 -654
  82. package/components/CasinoCollectionsProviders-MS5Dvlol.cjs +0 -1
  83. package/components/CasinoGamesCategorySection-BJEKZL4x.js +0 -3139
  84. package/components/CasinoGamesCategorySection-Bs6Xmbbv.cjs +0 -1
  85. package/components/CasinoGamesCategorySection-ZH4sNlFz.js +0 -3170
  86. package/components/CasinoWinners-CPM46iQH.cjs +0 -1
  87. package/components/CasinoWinners-Cbji1sSG.js +0 -983
  88. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
@@ -0,0 +1,653 @@
1
+ import { a as _e, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as H, d as x, h as F, j as y, k as Le, o as Me, l as je, C as $, r as m, v as O, w as se, m as R, p as v, q as U, B as T, M as xe, A as z, G as I, D as A, N as Fe, H as Te, I as Be, J as He, K as Oe, L as ze } from "./CasinoCalendar-Vkb-R-ZX.js";
2
+ function ee(t, e) {
3
+ _e(t, e);
4
+ }
5
+ function Ae(t) {
6
+ we.set(t);
7
+ }
8
+ const te = {
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 Ee(t) {
106
+ Pe(t, "svelte-nnjza6", '*,*::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));background-color:inherit;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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 10px);width:70px;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:var(--emw--border-radius-medium, 10px);width:60px;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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
+ }
108
+ function ie(t, e, i) {
109
+ const n = t.slice();
110
+ return n[41] = e[i], n;
111
+ }
112
+ function oe(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[10]("providers")
122
+ ) : (
123
+ /*$_*/
124
+ t[10]("collections")
125
+ )) + ""
126
+ ), r, c, _, b, k, s = (
127
+ /*numberOfSlides*/
128
+ t[7] > /*numberOfVisibleSlides*/
129
+ t[8] && le(t)
130
+ ), f = O(
131
+ /*gameCategories*/
132
+ t[3]
133
+ ), a = [];
134
+ for (let d = 0; d < f.length; d += 1)
135
+ a[d] = ae(ie(t, f, d));
136
+ return {
137
+ c() {
138
+ e = y("div"), i = y("div"), n = y("p"), r = U(l), c = T(), s && s.c(), _ = T(), b = y("div");
139
+ for (let d = 0; d < a.length; d += 1)
140
+ a[d].c();
141
+ m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(b, "class", "CategoriesSlider"), m(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
142
+ (t[9] ? "Mobile" : "") + " " + /*type*/
143
+ (t[0] === "vendor" ? "Providers" : "Collections"));
144
+ },
145
+ m(d, g) {
146
+ F(d, e, g), v(e, i), v(i, n), v(n, r), v(i, c), s && s.m(i, null), v(e, _), v(e, b);
147
+ for (let h = 0; h < a.length; h += 1)
148
+ a[h] && a[h].m(b, null);
149
+ t[25](b);
150
+ },
151
+ p(d, g) {
152
+ if (g[0] & /*type, $_*/
153
+ 1025 && l !== (l = /*type*/
154
+ (d[0] === "vendor" ? (
155
+ /*$_*/
156
+ d[10]("providers")
157
+ ) : (
158
+ /*$_*/
159
+ d[10]("collections")
160
+ )) + "") && R(r, l), /*numberOfSlides*/
161
+ d[7] > /*numberOfVisibleSlides*/
162
+ d[8] ? s ? s.p(d, g) : (s = le(d), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
163
+ 24590) {
164
+ f = O(
165
+ /*gameCategories*/
166
+ d[3]
167
+ );
168
+ let h;
169
+ for (h = 0; h < f.length; h += 1) {
170
+ const u = ie(d, f, h);
171
+ a[h] ? a[h].p(u, g) : (a[h] = ae(u), a[h].c(), a[h].m(b, null));
172
+ }
173
+ for (; h < a.length; h += 1)
174
+ a[h].d(1);
175
+ a.length = f.length;
176
+ }
177
+ g[0] & /*mobile, type*/
178
+ 513 && k !== (k = "CasinoCollectionsProviders " + /*mobile*/
179
+ (d[9] ? "Mobile" : "") + " " + /*type*/
180
+ (d[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", k);
181
+ },
182
+ d(d) {
183
+ d && x(e), s && s.d(), se(a, d), t[25](null);
184
+ }
185
+ };
186
+ }
187
+ function Ie(t) {
188
+ let e;
189
+ return {
190
+ c() {
191
+ e = y("div"), m(e, "class", "LoadingSpinner");
192
+ },
193
+ m(i, n) {
194
+ F(i, e, n);
195
+ },
196
+ p: H,
197
+ d(i) {
198
+ i && x(e);
199
+ }
200
+ };
201
+ }
202
+ function le(t) {
203
+ let e, i, n, l, r, c;
204
+ return {
205
+ c() {
206
+ e = y("div"), i = y("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 = T(), l = y("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>', m(e, "class", "ButtonsContainer");
207
+ },
208
+ m(_, b) {
209
+ F(_, e, b), v(e, i), v(e, n), v(e, l), r || (c = [
210
+ z(
211
+ i,
212
+ "click",
213
+ /*sliderScrollLeft*/
214
+ t[11]
215
+ ),
216
+ z(
217
+ l,
218
+ "click",
219
+ /*sliderScrollRight*/
220
+ t[12]
221
+ )
222
+ ], r = !0);
223
+ },
224
+ p: H,
225
+ d(_) {
226
+ _ && x(e), r = !1, xe(c);
227
+ }
228
+ };
229
+ }
230
+ function Re(t) {
231
+ let e, i = (
232
+ /*category*/
233
+ t[41].name + ""
234
+ ), n;
235
+ return {
236
+ c() {
237
+ e = y("p"), n = U(i), m(e, "class", "CategorySlideTitle");
238
+ },
239
+ m(l, r) {
240
+ F(l, e, r), v(e, n);
241
+ },
242
+ p(l, r) {
243
+ r[0] & /*gameCategories*/
244
+ 8 && i !== (i = /*category*/
245
+ l[41].name + "") && R(n, i);
246
+ },
247
+ d(l) {
248
+ l && x(e);
249
+ }
250
+ };
251
+ }
252
+ function Ue(t) {
253
+ let e, i, n;
254
+ return {
255
+ c() {
256
+ e = y("img"), m(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
257
+ t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
258
+ t[41].name + " icon");
259
+ },
260
+ m(l, r) {
261
+ F(l, e, r);
262
+ },
263
+ p(l, r) {
264
+ r[0] & /*gameCategories*/
265
+ 8 && !A(e.src, i = /*category*/
266
+ l[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
267
+ 8 && n !== (n = /*category*/
268
+ l[41].name + " icon") && m(e, "alt", n);
269
+ },
270
+ d(l) {
271
+ l && x(e);
272
+ }
273
+ };
274
+ }
275
+ function ne(t) {
276
+ let e, i = (
277
+ /*game*/
278
+ t[44].name + ""
279
+ ), n, l;
280
+ return {
281
+ c() {
282
+ e = y("p"), n = U(i), m(e, "title", l = /*game*/
283
+ t[44].name);
284
+ },
285
+ m(r, c) {
286
+ F(r, e, c), v(e, n);
287
+ },
288
+ p(r, c) {
289
+ c[0] & /*gameCategories*/
290
+ 8 && i !== (i = /*game*/
291
+ r[44].name + "") && R(n, i), c[0] & /*gameCategories*/
292
+ 8 && l !== (l = /*game*/
293
+ r[44].name) && m(e, "title", l);
294
+ },
295
+ d(r) {
296
+ r && x(e);
297
+ }
298
+ };
299
+ }
300
+ function re(t) {
301
+ let e, i, n, l, r, c, _, b;
302
+ function k() {
303
+ return (
304
+ /*click_handler*/
305
+ t[23](
306
+ /*game*/
307
+ t[44]
308
+ )
309
+ );
310
+ }
311
+ let s = (
312
+ /*collectionprovidersgamenames*/
313
+ t[2] == "true" && ne(t)
314
+ );
315
+ return {
316
+ c() {
317
+ e = y("div"), i = y("img"), r = T(), s && s.c(), c = T(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
318
+ t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
319
+ t[44].name), m(e, "class", "CategorySlideGames");
320
+ },
321
+ m(f, a) {
322
+ F(f, e, a), v(e, i), v(e, r), s && s.m(e, null), v(e, c), _ || (b = z(i, "click", Fe(k)), _ = !0);
323
+ },
324
+ p(f, a) {
325
+ t = f, a[0] & /*gameCategories*/
326
+ 8 && !A(i.src, n = /*game*/
327
+ t[44].defaultThumbnail) && m(i, "src", n), a[0] & /*gameCategories*/
328
+ 8 && l !== (l = /*game*/
329
+ t[44].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
330
+ t[2] == "true" ? s ? s.p(t, a) : (s = ne(t), s.c(), s.m(e, c)) : s && (s.d(1), s = null);
331
+ },
332
+ d(f) {
333
+ f && x(e), s && s.d(), _ = !1, b();
334
+ }
335
+ };
336
+ }
337
+ function ae(t) {
338
+ let e, i, n, l, r, c, _, b, k;
339
+ function s(u, p) {
340
+ if (
341
+ /*titletype*/
342
+ u[1] === "logo"
343
+ )
344
+ return Ue;
345
+ if (
346
+ /*titletype*/
347
+ u[1] === "title"
348
+ )
349
+ return Re;
350
+ }
351
+ let f = s(t), a = f && f(t), d = O(
352
+ /*category*/
353
+ t[41].games
354
+ ), g = [];
355
+ for (let u = 0; u < d.length; u += 1)
356
+ g[u] = re(oe(t, d, u));
357
+ function h() {
358
+ return (
359
+ /*click_handler_1*/
360
+ t[24](
361
+ /*category*/
362
+ t[41]
363
+ )
364
+ );
365
+ }
366
+ return {
367
+ c() {
368
+ var u, p;
369
+ e = y("div"), i = y("div"), n = y("div"), a && a.c(), l = T(), r = y("div");
370
+ for (let C = 0; C < g.length; C += 1)
371
+ g[C].c();
372
+ _ = T(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", c = "CategorySlide " + /*category*/
373
+ (((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), I(i, "background-image", "url(" + /*category*/
374
+ ((p = t[41]) == null ? void 0 : p.background) + ")"), I(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
375
+ },
376
+ m(u, p) {
377
+ F(u, e, p), v(e, i), v(i, n), a && a.m(n, null), v(i, l), v(i, r);
378
+ for (let C = 0; C < g.length; C += 1)
379
+ g[C] && g[C].m(r, null);
380
+ v(e, _), b || (k = z(i, "click", h), b = !0);
381
+ },
382
+ p(u, p) {
383
+ var C, P;
384
+ if (t = u, f === (f = s(t)) && a ? a.p(t, p) : (a && a.d(1), a = f && f(t), a && (a.c(), a.m(n, null))), p[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
385
+ 8204) {
386
+ d = O(
387
+ /*category*/
388
+ t[41].games
389
+ );
390
+ let S;
391
+ for (S = 0; S < d.length; S += 1) {
392
+ const B = oe(t, d, S);
393
+ g[S] ? g[S].p(B, p) : (g[S] = re(B), g[S].c(), g[S].m(r, null));
394
+ }
395
+ for (; S < g.length; S += 1)
396
+ g[S].d(1);
397
+ g.length = d.length;
398
+ }
399
+ p[0] & /*gameCategories*/
400
+ 8 && c !== (c = "CategorySlide " + /*category*/
401
+ (((C = t[41]) == null ? void 0 : C.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", c), p[0] & /*gameCategories*/
402
+ 8 && I(i, "background-image", "url(" + /*category*/
403
+ ((P = t[41]) == null ? void 0 : P.background) + ")");
404
+ },
405
+ d(u) {
406
+ u && x(e), a && a.d(), se(g, u), b = !1, k();
407
+ }
408
+ };
409
+ }
410
+ function qe(t) {
411
+ let e;
412
+ function i(r, c) {
413
+ return (
414
+ /*isLoading*/
415
+ r[6] ? Ie : Ne
416
+ );
417
+ }
418
+ let n = i(t), l = n(t);
419
+ return {
420
+ c() {
421
+ e = y("div"), l.c();
422
+ },
423
+ m(r, c) {
424
+ F(r, e, c), l.m(e, null), t[26](e);
425
+ },
426
+ p(r, c) {
427
+ n === (n = i(r)) && l ? l.p(r, c) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
428
+ },
429
+ i: H,
430
+ o: H,
431
+ d(r) {
432
+ r && x(e), l.d(), t[26](null);
433
+ }
434
+ };
435
+ }
436
+ function Ve(t, e, i) {
437
+ let n;
438
+ Le(t, ze, (o) => i(10, n = o));
439
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: _ = "" } = e, { titletype: b = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: f = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: d } = e, g = [], h = !0, u, p = 0, C = 0, P = 0, S, B, q = 0, E = 50, N = !1, L, de = window.navigator.userAgent, V;
440
+ const ce = () => {
441
+ fetch(f).then((w) => w.json()).then((w) => {
442
+ Object.keys(w).forEach((j) => {
443
+ ee(j, w[j]);
444
+ });
445
+ }).catch((w) => {
446
+ console.log(w);
447
+ });
448
+ };
449
+ Object.keys(te).forEach((o) => {
450
+ ee(o, te[o]);
451
+ });
452
+ const W = () => {
453
+ const o = new URL(`${l}/v2/casino/groups/${r}`);
454
+ o.searchParams.append("language", c), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${_})`), o.searchParams.append("pagination", `offset=${q},limit=${E}`), fetch(o.href).then((w) => w.json()).then((w) => {
455
+ i(6, h = !1), w.total > E && (q += 50, E += 50, i(22, N = !0));
456
+ let j = w.items.map((G) => {
457
+ var Y, D, Q;
458
+ return {
459
+ id: G.id,
460
+ name: G.name,
461
+ icon: G.icon ? G.icon : (Q = (D = (Y = G.vendors) == null ? void 0 : Y.items[0]) == null ? void 0 : D.subVendors[0]) == null ? void 0 : Q.logo,
462
+ games: G.games.items.slice(0, 4).map((ye) => ye),
463
+ background: G.background,
464
+ flag: G.flags
465
+ };
466
+ });
467
+ i(3, g = [...g, ...j]), i(7, C = g.length), ge();
468
+ });
469
+ }, ge = () => {
470
+ const o = L.getRootNode().host;
471
+ o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
472
+ }, K = (o) => {
473
+ var w;
474
+ B = [...u.children], B.forEach((j, G) => {
475
+ j.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
476
+ }), S = (w = B[0]) == null ? void 0 : w.getBoundingClientRect().width, ue();
477
+ }, ue = () => {
478
+ i(8, P = Math.floor(u.clientWidth / S));
479
+ }, J = () => {
480
+ K(p);
481
+ }, me = () => {
482
+ p === 0 ? p = C - P : p - P < -1 ? p = 0 : p--, J();
483
+ }, fe = () => {
484
+ p === C - P ? p = 0 : C - P < p + 1 ? p = C - P : p++, J();
485
+ }, Z = (o, w, j, G) => {
486
+ window.postMessage(
487
+ {
488
+ type: "OpenCollectionsProvidersGame",
489
+ gameId: o,
490
+ launchUrl: w,
491
+ gameName: j,
492
+ subVendor: G
493
+ },
494
+ window.location.href
495
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
496
+ context: "CollectionsProviders",
497
+ gameName: `${j}`
498
+ });
499
+ }, X = (o) => {
500
+ window.postMessage(
501
+ {
502
+ type: "OpenCollectionsProvidersCategory",
503
+ categoryId: o
504
+ },
505
+ window.location.href
506
+ );
507
+ }, pe = () => {
508
+ Ae(c);
509
+ };
510
+ Me(() => (i(9, V = je(de)), () => {
511
+ }));
512
+ const he = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => X(o.id);
513
+ function be(o) {
514
+ $[o ? "unshift" : "push"](() => {
515
+ u = o, i(4, u);
516
+ });
517
+ }
518
+ function Ce(o) {
519
+ $[o ? "unshift" : "push"](() => {
520
+ L = o, i(5, L);
521
+ });
522
+ }
523
+ return t.$$set = (o) => {
524
+ "endpoint" in o && i(15, l = o.endpoint), "datasource" in o && i(16, r = o.datasource), "lang" in o && i(17, c = o.lang), "type" in o && i(0, _ = o.type), "titletype" in o && i(1, b = o.titletype), "clientstyling" in o && i(18, k = o.clientstyling), "clientstylingurl" in o && i(19, s = o.clientstylingurl), "translationurl" in o && i(20, f = o.translationurl), "collectionprovidersgamenames" in o && i(2, a = o.collectionprovidersgamenames), "mbsource" in o && i(21, d = o.mbsource);
525
+ }, t.$$.update = () => {
526
+ t.$$.dirty[0] & /*endpoint, datasource, lang*/
527
+ 229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
528
+ 24 && g && u && K(), t.$$.dirty[0] & /*lang*/
529
+ 131072 && c && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
530
+ 262176 && k && L && Te(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
531
+ 524320 && s && L && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
532
+ 2097184 && L && He(L, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
533
+ 1048576 && f && ce(), t.$$.dirty[0] & /*paginationrequired*/
534
+ 4194304 && N && W();
535
+ }, [
536
+ _,
537
+ b,
538
+ a,
539
+ g,
540
+ u,
541
+ L,
542
+ h,
543
+ C,
544
+ P,
545
+ V,
546
+ n,
547
+ me,
548
+ fe,
549
+ Z,
550
+ X,
551
+ l,
552
+ r,
553
+ c,
554
+ k,
555
+ s,
556
+ f,
557
+ d,
558
+ N,
559
+ he,
560
+ ve,
561
+ be,
562
+ Ce
563
+ ];
564
+ }
565
+ class We extends Se {
566
+ constructor(e) {
567
+ super(), ke(
568
+ this,
569
+ e,
570
+ Ve,
571
+ qe,
572
+ Ge,
573
+ {
574
+ endpoint: 15,
575
+ datasource: 16,
576
+ lang: 17,
577
+ type: 0,
578
+ titletype: 1,
579
+ clientstyling: 18,
580
+ clientstylingurl: 19,
581
+ translationurl: 20,
582
+ collectionprovidersgamenames: 2,
583
+ mbsource: 21
584
+ },
585
+ Ee,
586
+ [-1, -1]
587
+ );
588
+ }
589
+ get endpoint() {
590
+ return this.$$.ctx[15];
591
+ }
592
+ set endpoint(e) {
593
+ this.$$set({ endpoint: e }), M();
594
+ }
595
+ get datasource() {
596
+ return this.$$.ctx[16];
597
+ }
598
+ set datasource(e) {
599
+ this.$$set({ datasource: e }), M();
600
+ }
601
+ get lang() {
602
+ return this.$$.ctx[17];
603
+ }
604
+ set lang(e) {
605
+ this.$$set({ lang: e }), M();
606
+ }
607
+ get type() {
608
+ return this.$$.ctx[0];
609
+ }
610
+ set type(e) {
611
+ this.$$set({ type: e }), M();
612
+ }
613
+ get titletype() {
614
+ return this.$$.ctx[1];
615
+ }
616
+ set titletype(e) {
617
+ this.$$set({ titletype: e }), M();
618
+ }
619
+ get clientstyling() {
620
+ return this.$$.ctx[18];
621
+ }
622
+ set clientstyling(e) {
623
+ this.$$set({ clientstyling: e }), M();
624
+ }
625
+ get clientstylingurl() {
626
+ return this.$$.ctx[19];
627
+ }
628
+ set clientstylingurl(e) {
629
+ this.$$set({ clientstylingurl: e }), M();
630
+ }
631
+ get translationurl() {
632
+ return this.$$.ctx[20];
633
+ }
634
+ set translationurl(e) {
635
+ this.$$set({ translationurl: e }), M();
636
+ }
637
+ get collectionprovidersgamenames() {
638
+ return this.$$.ctx[2];
639
+ }
640
+ set collectionprovidersgamenames(e) {
641
+ this.$$set({ collectionprovidersgamenames: e }), M();
642
+ }
643
+ get mbsource() {
644
+ return this.$$.ctx[21];
645
+ }
646
+ set mbsource(e) {
647
+ this.$$set({ mbsource: e }), M();
648
+ }
649
+ }
650
+ Oe(We, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
651
+ export {
652
+ We as default
653
+ };