@everymatrix/casino-favorites-section 1.87.25 → 1.87.27

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 (29) hide show
  1. package/components/CasinoFavoritesSection-BfSDbfM0.cjs +3 -0
  2. package/components/{CasinoFavoritesSection-DDuAvc6Y.js → CasinoFavoritesSection-FlsVsLHY.js} +782 -753
  3. package/components/{CasinoFavoritesSection-C0BiG4De.js → CasinoFavoritesSection-Oi0rnafn.js} +759 -731
  4. package/components/CasinoFilter-CNcc2lJ8.cjs +1 -0
  5. package/components/CasinoFilter-CXp-Zshd.js +646 -0
  6. package/components/CasinoFilter-y5CBknUO.js +645 -0
  7. package/components/CasinoGameThumbnail-BtOAqqqJ.js +1831 -0
  8. package/components/CasinoGameThumbnail-DdB_aj8u.js +1847 -0
  9. package/components/CasinoGameThumbnail-y56OMaMA.cjs +38 -0
  10. package/components/CasinoGamesCategorySection-CE77UqlZ.js +6248 -0
  11. package/components/CasinoGamesCategorySection-D0-klIqM.cjs +25 -0
  12. package/components/CasinoGamesCategorySection-DTAqR94W.js +6280 -0
  13. package/components/{CasinoSort-BZv2SPft.js → CasinoSort-CEX4SToK.js} +112 -111
  14. package/components/{CasinoSort-CZx3iOfc.cjs → CasinoSort-QMe_DOcp.cjs} +1 -1
  15. package/components/{CasinoSort-DSRa4P-s.js → CasinoSort-gGAp-WFB.js} +100 -101
  16. package/es2015/casino-favorites-section.cjs +1 -1
  17. package/es2015/casino-favorites-section.js +1 -1
  18. package/esnext/casino-favorites-section.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoFavoritesSection-nIdSraW4.cjs +0 -3
  21. package/components/CasinoFilter-ByAU_0b7.js +0 -1185
  22. package/components/CasinoFilter-D8gwSSCO.js +0 -1184
  23. package/components/CasinoFilter-DvfBwDnB.cjs +0 -16
  24. package/components/CasinoGameThumbnail-3lArHpJI.js +0 -4376
  25. package/components/CasinoGameThumbnail-8WwPBAK9.cjs +0 -47
  26. package/components/CasinoGameThumbnail-BtpCjxYS.js +0 -4360
  27. package/components/CasinoGamesCategorySection-Cjoeiofx.cjs +0 -1
  28. package/components/CasinoGamesCategorySection-Db11EW4j.js +0 -3186
  29. package/components/CasinoGamesCategorySection-MWgg6AM2.js +0 -3218
@@ -1,3218 +0,0 @@
1
- var Ie = (i, e, a) => new Promise((n, o) => {
2
- var s = (u) => {
3
- try {
4
- m(a.next(u));
5
- } catch (f) {
6
- o(f);
7
- }
8
- }, r = (u) => {
9
- try {
10
- m(a.throw(u));
11
- } catch (f) {
12
- o(f);
13
- }
14
- }, m = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, r);
15
- m((a = a.apply(i, e)).next());
16
- });
17
- import { b as Ba, $ as Va, S as qa, i as Wa, s as Ya, f as z, c as Ja, n as pe, d as S, e as F, g as C, k as d, h as Ka, J as Xa, o as Za, j as le, G as Q, q as y, v as K, p as O, w as D, l as re, K as va, E as t, L as wa, m as Qa, t as xa, u as ae, z as $a, A as ei, B as ai, C as ii, D as ni } from "./CasinoFavoritesSection-DDuAvc6Y.js";
18
- import { p as je, i as be, g as ti } from "./CasinoFilter-ByAU_0b7.js";
19
- import { h as Le } from "./CasinoGameThumbnail-3lArHpJI.js";
20
- function ia(i, e) {
21
- Ba(i, e);
22
- }
23
- function oi(i) {
24
- Va.set(i);
25
- }
26
- const na = {
27
- en: {
28
- showMore: "More",
29
- viewAll: "Show all",
30
- searchedItems: "Search result",
31
- recentSearchedItems: "Recently searched",
32
- favorites: "Favorites",
33
- noRecentSearch: "No search started yet. Simply search for a game.",
34
- noResults: "Sorry, no results found. Please try again.",
35
- noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
36
- noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
37
- noFavoritesTitle: "You do not have any favored games yet.",
38
- waiting: "Waiting",
39
- 500: "500 Error - Internal Server Error.",
40
- 404: "404 Error - No result found."
41
- },
42
- "zh-hk": {
43
- showMore: "更多的",
44
- viewAll: "顯示所有",
45
- searchedItems: "搜索結果",
46
- recentSearchedItems: "最近搜索過",
47
- favorites: "收藏夹",
48
- noRecentSearch: "尚未開始搜索。 只需搜索遊戲。",
49
- noResults: "抱歉,沒有找到結果。 請再試一次。",
50
- noFavoritesMobile: "您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",
51
- noFavorites: "您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",
52
- noFavoritesTitle: "您還沒有任何喜歡的遊戲。",
53
- waiting: "等待",
54
- 500: "500 錯誤 - 內部伺服器錯誤。",
55
- 404: "404 錯誤 - 找不到結果。"
56
- },
57
- de: {
58
- showMore: "Mehr",
59
- viewAll: "Alle anzeigen",
60
- searchedItems: "Ergebnis suchen",
61
- recentSearchedItems: "Zuletzt gesucht",
62
- noRecentSearch: "Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",
63
- noResults: "Sorry, no results found. Please try again.",
64
- noFavoritesMobile: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
65
- noFavorites: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
66
- noFavoritesTitle: "You do not have any favored games yet.",
67
- waiting: "Waiting",
68
- 500: "500 Fehler - Interner Serverfehler.",
69
- 404: "404 Fehler - Kein Ergebnis gefunden."
70
- },
71
- it: {
72
- showMore: "Altro",
73
- viewAll: "Mostra tutto",
74
- searchedItems: "risultato",
75
- recentSearchedItems: "Ricerche recenti",
76
- noRecentSearch: "Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",
77
- noResults: "Spiacenti, nessun risultato. Si prega di riprovare.",
78
- 500: "Errore 500 - Errore interno del server.",
79
- 404: "Errore 404 - Nessun risultato trovato."
80
- },
81
- fr: {
82
- showMore: "Plus de",
83
- viewAll: "Afficher tous",
84
- searchedItems: "Recherche du resultat",
85
- recentSearchedItems: "Recherches récentes",
86
- favorites: "Favoris",
87
- noRecentSearch: "Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",
88
- noResults: "Désolé , aucun résultat trouvé.veuillez réessayer.",
89
- noFavoritesMobile: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",
90
- noFavorites: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",
91
- noFavoritesTitle: "Vous n'avez pas encore de jeux favoris.",
92
- waiting: "Attente",
93
- 500: "Erreur 500 - Erreur interne du serveur.",
94
- 404: "Erreur 404 - Aucun résultat trouvé."
95
- },
96
- es: {
97
- showMore: "Más",
98
- viewAll: "Mostrar todas",
99
- searchedItems: "Resultado de busqueda",
100
- recentSearchedItems: "Buscado recientemente",
101
- favorites: "Favoritos",
102
- noRecentSearch: "Aún no inicia busqueda. Solo busque un juego",
103
- noResults: "Disculpe",
104
- noFavoritesMobile: "Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",
105
- noFavorites: "Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",
106
- noFavoritesTitle: "No tiene juegos Favoritos aún",
107
- waiting: "Cargando",
108
- 500: "Error 500 - Error interno del servidor.",
109
- 404: "Error 404 - No se encontró ningún resultado."
110
- },
111
- tr: {
112
- showMore: "Daha fazla",
113
- viewAll: "Hepsini göster",
114
- searchedItems: "Arama sonucu",
115
- recentSearchedItems: "Son Aranan Öğeler",
116
- noRecentSearch: "Henüz arama başlamadı. Sadece bir oyun arayın.",
117
- noResults: "Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",
118
- favorites: "Favoriler",
119
- noFavoritesMobile: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
120
- noFavorites: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
121
- noFavoritesTitle: "Henüz favori oyunlarınız yok.",
122
- waiting: "Bekleniyor",
123
- 500: "500 Hatası - Dahili Sunucu Hatası.",
124
- 404: "404 Hatası - Sonuç bulunamadı."
125
- },
126
- ru: {
127
- showMore: "Показать больше",
128
- viewAll: "Посмотреть все",
129
- searchedItems: "Искомые товары",
130
- recentSearchedItems: "Недавние поисковые запросы",
131
- noRecentSearch: "Поиск еще не начался. Просто найдите игру.",
132
- noResults: "Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",
133
- 500: "Ошибка 500 - Внутренняя ошибка сервера.",
134
- 404: "Ошибка 404 - Результат не найден."
135
- },
136
- ro: {
137
- showMore: "Arata mai mult",
138
- viewAll: "Vezi toate",
139
- searchedItems: "Rezultatele cautarii",
140
- recentSearchedItems: "Cautari recente",
141
- favorites: "Favorite",
142
- noRecentSearch: "Nici o căutare nu a început încă. Pur și simplu căutați un joc.",
143
- noResults: "Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",
144
- noFavoritesMobile: "Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",
145
- noFavorites: "Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",
146
- noFavoritesTitle: "Nu aveți încă niciun joc preferat.",
147
- waiting: "Aşteptare",
148
- 500: "Eroare 500 - Eroare internă de server.",
149
- 404: "Eroare 404 - Nu a fost găsit niciun rezultat."
150
- },
151
- hr: {
152
- showMore: "Više",
153
- viewAll: "Prikaži sve",
154
- searchedItems: "Rezultat pretrage",
155
- recentSearchedItems: "Nedavno pretraživano",
156
- noRecentSearch: "Još nije započela pretraga. Jednostavno pretražite igru.",
157
- noResults: "Žao nema rezultata",
158
- favorites: "Favoriti",
159
- noFavoritesMobile: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
160
- noFavorites: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
161
- noFavoritesTitle: "Još nemate nijednu omiljenu igru.",
162
- waiting: "Čekanje",
163
- 500: "Došlo je do pogreške. Molimo kontaktirajte korisničku podršku za više pomoći",
164
- 404: "Pogreška 404 - Rezultat nije pronađen."
165
- },
166
- hu: {
167
- showMore: "Több",
168
- viewAll: "Az összes megjelenítése",
169
- searchedItems: "Keresés eredménye",
170
- recentSearchedItems: "Legutóbb keresett",
171
- noRecentSearch: "A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",
172
- noResults: "Sajnos nincs találat. Kérjük próbálja újra.",
173
- 500: "500-as hiba - Belső szerverhiba.",
174
- 404: "404-es hiba - Nem található eredmény."
175
- },
176
- pl: {
177
- showMore: "Więcej",
178
- viewAll: "Pokaż wszystkie",
179
- searchedItems: "Wynik wyszukiwania",
180
- recentSearchedItems: "Ostatnio wyszukiwane",
181
- noRecentSearch: "Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",
182
- noResults: "Przepraszamy, brak wyników. Prosimy spróbować ponownie.",
183
- 500: "Błąd 500 - Wewnętrzny błąd serwera.",
184
- 404: "Błąd 404 - Nie znaleziono wyniku."
185
- },
186
- pt: {
187
- showMore: "Mais",
188
- viewAll: "Mostre tudo",
189
- searchedItems: "Resultado da pesquisa",
190
- recentSearchedItems: "Pesquisado recentemente",
191
- favorites: "Favorito",
192
- noRecentSearch: "Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",
193
- noResults: "Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",
194
- noFavoritesMobile: "Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",
195
- noFavorites: "Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",
196
- noFavoritesTitle: "Você ainda não tem nenhum jogo favorito.",
197
- waiting: "Aguardando",
198
- 500: "Erro 500 - Erro interno do servidor.",
199
- 404: "Erro 404 - Nenhum resultado encontrado."
200
- },
201
- sl: {
202
- showMore: "Več",
203
- viewAll: "Prikaži vse",
204
- searchedItems: "Rezultati iskanja",
205
- recentSearchedItems: "Nedavno iskanje",
206
- noRecentSearch: "Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",
207
- noResults: "Oprostite, ni rezultata. Prosimo poizkusite ponovno.",
208
- 500: "Napaka 500 - Notranja napaka strežnika.",
209
- 404: "Napaka 404 - Rezultat ni bil najden."
210
- },
211
- sr: {
212
- showMore: "Više",
213
- viewAll: "Prikaži sve",
214
- searchedItems: "Pretraži rezultat",
215
- recentSearchedItems: "Zadnja pretraga",
216
- noRecentSearch: "Još nije pokrenuta pretraga. Jednostavno pretraži igre.",
217
- noResults: "Žao nam je, nema pogodaka. Pokušaj ponovo.",
218
- 500: "Грешка 500 - Интерна грешка сервера.",
219
- 404: "Грешка 404 - Резултат није пронађен."
220
- },
221
- "pt-br": {
222
- noResults: "Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",
223
- noFavoritesMobile: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
224
- noFavorites: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
225
- noFavoritesTitle: "Você ainda não tem jogos selecionados como favoritos",
226
- waiting: "Esperando",
227
- 500: "Erro 500 - Erro interno do servidor.",
228
- 404: "Erro 404 - Nenhum resultado encontrado."
229
- },
230
- "es-mx": {
231
- showMore: "Mostrar más",
232
- viewAll: "Mostrar todo",
233
- searchedItems: "Resultados de búsqueda",
234
- recentSearchedItems: "Búsquedas recientes",
235
- favorites: "Favoritos",
236
- noRecentSearch: "No ha realizado alguna búsqueda. Simplemente busque algún juego",
237
- noResults: "Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",
238
- noFavoritesMobile: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
239
- noFavorites: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
240
- noFavoritesTitle: "Aún not tiene juegos seleccionados como favoritos",
241
- waiting: "Esperando",
242
- 500: "Error 500 - Error interno del servidor.",
243
- 404: "Error 404 - No se encontró ningún resultado."
244
- },
245
- "en-us": {
246
- showMore: "More",
247
- viewAll: "Show all",
248
- searchedItems: "Search result",
249
- recentSearchedItems: "Recently searched",
250
- favorites: "Favorites",
251
- noRecentSearch: "No search started yet. Simply search for a game.",
252
- noResults: "Sorry, no results found. Please try again.",
253
- noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
254
- noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
255
- noFavoritesTitle: "You do not have any favored games yet.",
256
- waiting: "Waiting",
257
- 500: "500 Error - Internal Server Error.",
258
- 404: "404 Error - No result found."
259
- }
260
- };
261
- if (typeof window != "undefined") {
262
- let i = function(e) {
263
- return function(...a) {
264
- try {
265
- return e.apply(this, a);
266
- } catch (n) {
267
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
268
- return !1;
269
- throw n;
270
- }
271
- };
272
- };
273
- customElements.define = i(customElements.define), import("./CasinoGameThumbnail-3lArHpJI.js").then((e) => e.C).then(({ default: e }) => {
274
- !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", e.element);
275
- });
276
- }
277
- if (typeof window != "undefined") {
278
- let i = function(e) {
279
- return function(...a) {
280
- try {
281
- return e.apply(this, a);
282
- } catch (n) {
283
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
284
- return !1;
285
- throw n;
286
- }
287
- };
288
- };
289
- customElements.define = i(customElements.define), import("./CasinoFilter-ByAU_0b7.js").then((e) => e.C).then(({ default: e }) => {
290
- !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
291
- });
292
- }
293
- if (typeof window != "undefined") {
294
- let i = function(e) {
295
- return function(...a) {
296
- try {
297
- return e.apply(this, a);
298
- } catch (n) {
299
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
300
- return !1;
301
- throw n;
302
- }
303
- };
304
- };
305
- customElements.define = i(customElements.define), import("./CasinoSort-DSRa4P-s.js").then(({ default: e }) => {
306
- !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
307
- });
308
- }
309
- function si(i) {
310
- Ja(i, "svelte-gwk3ko", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring: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));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}');
311
- }
312
- function ta(i, e, a) {
313
- const n = i.slice();
314
- return n[95] = e[a], n[97] = a, n;
315
- }
316
- function oa(i, e, a) {
317
- const n = i.slice();
318
- return n[95] = e[a], n[98] = e, n[97] = a, n;
319
- }
320
- function sa(i, e, a) {
321
- const n = i.slice();
322
- return n[95] = e[a], n[97] = a, n;
323
- }
324
- function li(i) {
325
- let e;
326
- function a(s, r) {
327
- if (
328
- /*categoryData*/
329
- s[28]
330
- )
331
- return ci;
332
- if (
333
- /*showFavGamesCategory*/
334
- s[39]
335
- )
336
- return ui;
337
- }
338
- let n = a(i), o = n && n(i);
339
- return {
340
- c() {
341
- e = C("div"), o && o.c();
342
- },
343
- m(s, r) {
344
- F(s, e, r), o && o.m(e, null);
345
- },
346
- p(s, r) {
347
- n === (n = a(s)) && o ? o.p(s, r) : (o && o.d(1), o = n && n(s), o && (o.c(), o.m(e, null)));
348
- },
349
- d(s) {
350
- s && S(e), o && o.d();
351
- }
352
- };
353
- }
354
- function ri(i) {
355
- let e, a, n;
356
- function o(h, p) {
357
- return (
358
- /*recentSearched*/
359
- h[32] ? zi : (
360
- /*shownCategoryData*/
361
- h[29].length ? Ci : Mi
362
- )
363
- );
364
- }
365
- let s = o(i), r = s(i);
366
- function m(h, p) {
367
- return (
368
- /*shownCategoryData*/
369
- h[29] ? Ni : Ei
370
- );
371
- }
372
- let u = m(i), f = u(i);
373
- return {
374
- c() {
375
- e = C("div"), a = C("div"), r.c(), n = K(), f.c(), d(a, "class", "CasinoGamesHeader Searched " + (be(
376
- /*userAgent*/
377
- i[44]
378
- ) ? "CasinoGamesHeaderMobile" : "")), d(e, "class", "CasinoGamesContainer");
379
- },
380
- m(h, p) {
381
- F(h, e, p), y(e, a), r.m(a, null), y(e, n), f.m(e, null);
382
- },
383
- p(h, p) {
384
- s === (s = o(h)) && r ? r.p(h, p) : (r.d(1), r = s(h), r && (r.c(), r.m(a, null))), u === (u = m(h)) && f ? f.p(h, p) : (f.d(1), f = u(h), f && (f.c(), f.m(e, null)));
385
- },
386
- d(h) {
387
- h && S(e), r.d(), f.d();
388
- }
389
- };
390
- }
391
- function mi(i) {
392
- let e;
393
- function a(s, r) {
394
- return (
395
- /*presentFilters*/
396
- s[34] ? ji : Ii
397
- );
398
- }
399
- let n = a(i), o = n(i);
400
- return {
401
- c() {
402
- o.c(), e = Q();
403
- },
404
- m(s, r) {
405
- o.m(s, r), F(s, e, r);
406
- },
407
- p(s, r) {
408
- n === (n = a(s)) && o ? o.p(s, r) : (o.d(1), o = n(s), o && (o.c(), o.m(e.parentNode, e)));
409
- },
410
- d(s) {
411
- s && S(e), o.d(s);
412
- }
413
- };
414
- }
415
- function ui(i) {
416
- let e, a, n, o, s = (
417
- /*casinomygames*/
418
- i[18] !== "true" && la(i)
419
- );
420
- function r(f, h) {
421
- return (
422
- /*isLoading*/
423
- f[25] && !/*isLazyLoading*/
424
- f[36] ? di : (
425
- /*favoriteGamesData*/
426
- f[42] ? gi : fi
427
- )
428
- );
429
- }
430
- let m = r(i), u = m(i);
431
- return {
432
- c() {
433
- e = C("div"), s && s.c(), a = K(), n = C("ul"), u.c(), d(n, "class", o = /*favoriteGamesData*/
434
- (i[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), d(e, "class", "CasinoGamesContainer");
435
- },
436
- m(f, h) {
437
- F(f, e, h), s && s.m(e, null), y(e, a), y(e, n), u.m(n, null), i[60](n);
438
- },
439
- p(f, h) {
440
- /*casinomygames*/
441
- f[18] !== "true" ? s ? s.p(f, h) : (s = la(f), s.c(), s.m(e, a)) : s && (s.d(1), s = null), m === (m = r(f)) && u ? u.p(f, h) : (u.d(1), u = m(f), u && (u.c(), u.m(n, null))), h[1] & /*favoriteGamesData*/
442
- 2048 && o !== (o = /*favoriteGamesData*/
443
- (f[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && d(n, "class", o);
444
- },
445
- d(f) {
446
- f && S(e), s && s.d(), u.d(), i[60](null);
447
- }
448
- };
449
- }
450
- function ci(i) {
451
- let e, a, n = (
452
- /*casinomygames*/
453
- i[18] !== "true" && ga(i)
454
- );
455
- function o(m, u) {
456
- return (
457
- /*isLoading*/
458
- m[25] && !/*isLazyLoading*/
459
- m[36] ? Fi : (
460
- /*shownCategoryData*/
461
- m[29].length !== 0 ? Si : yi
462
- )
463
- );
464
- }
465
- let s = o(i), r = s(i);
466
- return {
467
- c() {
468
- e = C("div"), n && n.c(), a = K(), r.c(), d(e, "class", "CasinoGamesContainer");
469
- },
470
- m(m, u) {
471
- F(m, e, u), n && n.m(e, null), y(e, a), r.m(e, null);
472
- },
473
- p(m, u) {
474
- /*casinomygames*/
475
- m[18] !== "true" ? n ? n.p(m, u) : (n = ga(m), n.c(), n.m(e, a)) : n && (n.d(1), n = null), s === (s = o(m)) && r ? r.p(m, u) : (r.d(1), r = s(m), r && (r.c(), r.m(e, null)));
476
- },
477
- d(m) {
478
- m && S(e), n && n.d(), r.d();
479
- }
480
- };
481
- }
482
- function la(i) {
483
- let e, a, n = (
484
- /*$_*/
485
- i[43]("favorites") + ""
486
- ), o, s, r, m, u = (
487
- /*favoriteGamesData*/
488
- i[42].items.length + ""
489
- ), f, h;
490
- return {
491
- c() {
492
- e = C("div"), a = C("h3"), o = D(n), s = K(), r = C("span"), m = D("("), f = D(u), h = D(")"), d(r, "class", "CategoryFavName"), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
493
- },
494
- m(p, G) {
495
- F(p, e, G), y(e, a), y(a, o), y(a, s), y(a, r), y(r, m), y(r, f), y(r, h), i[59](a);
496
- },
497
- p(p, G) {
498
- G[1] & /*$_*/
499
- 4096 && n !== (n = /*$_*/
500
- p[43]("favorites") + "") && O(o, n), G[1] & /*favoriteGamesData*/
501
- 2048 && u !== (u = /*favoriteGamesData*/
502
- p[42].items.length + "") && O(f, u);
503
- },
504
- d(p) {
505
- p && S(e), i[59](null);
506
- }
507
- };
508
- }
509
- function fi(i) {
510
- let e, a = (
511
- /*$_*/
512
- i[43]("waiting") + ""
513
- ), n;
514
- return {
515
- c() {
516
- e = C("p"), n = D(a);
517
- },
518
- m(o, s) {
519
- F(o, e, s), y(e, n);
520
- },
521
- p(o, s) {
522
- s[1] & /*$_*/
523
- 4096 && a !== (a = /*$_*/
524
- o[43]("waiting") + "") && O(n, a);
525
- },
526
- d(o) {
527
- o && S(e);
528
- }
529
- };
530
- }
531
- function gi(i) {
532
- let e, a = re(
533
- /*favoriteGamesData*/
534
- i[42].items
535
- ), n = [];
536
- for (let s = 0; s < a.length; s += 1)
537
- n[s] = fa(ta(i, a, s));
538
- let o = null;
539
- return a.length || (o = ra(i)), {
540
- c() {
541
- for (let s = 0; s < n.length; s += 1)
542
- n[s].c();
543
- e = Q(), o && o.c();
544
- },
545
- m(s, r) {
546
- for (let m = 0; m < n.length; m += 1)
547
- n[m] && n[m].m(s, r);
548
- F(s, e, r), o && o.m(s, r);
549
- },
550
- p(s, r) {
551
- if (r[0] & /*session, userid, lang, mbsource, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
552
- 2359273 | r[1] & /*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/
553
- 32512) {
554
- a = re(
555
- /*favoriteGamesData*/
556
- s[42].items
557
- );
558
- let m;
559
- for (m = 0; m < a.length; m += 1) {
560
- const u = ta(s, a, m);
561
- n[m] ? n[m].p(u, r) : (n[m] = fa(u), n[m].c(), n[m].m(e.parentNode, e));
562
- }
563
- for (; m < n.length; m += 1)
564
- n[m].d(1);
565
- n.length = a.length, !a.length && o ? o.p(s, r) : a.length ? o && (o.d(1), o = null) : (o = ra(s), o.c(), o.m(e.parentNode, e));
566
- }
567
- },
568
- d(s) {
569
- s && S(e), Qa(n, s), o && o.d(s);
570
- }
571
- };
572
- }
573
- function di(i) {
574
- let e;
575
- return {
576
- c() {
577
- e = C("div"), d(e, "class", "lds-dual-ring");
578
- },
579
- m(a, n) {
580
- F(a, e, n);
581
- },
582
- p: pe,
583
- d(a) {
584
- a && S(e);
585
- }
586
- };
587
- }
588
- function ra(i) {
589
- let e, a, n, o, s, r, m, u, f, h, p, G = (
590
- /*$_*/
591
- i[43]("noFavoritesTitle") + ""
592
- ), N, v, g;
593
- function c(b, q) {
594
- return be(
595
- /*userAgent*/
596
- b[44]
597
- ) ? _i : hi;
598
- }
599
- let R = c(i)(i);
600
- return {
601
- c() {
602
- e = C("p"), a = ae("svg"), n = ae("rect"), o = ae("rect"), s = ae("circle"), r = ae("path"), m = ae("path"), u = ae("path"), f = ae("path"), h = K(), p = C("span"), N = D(G), v = K(), R.c(), g = K(), d(n, "x", "1"), d(n, "y", "18.053"), d(n, "width", "90.263"), d(n, "height", "90.263"), d(n, "rx", "12"), d(n, "stroke", "var(--emw--color-gray-150, #828282)"), d(n, "stroke-width", "1.5"), d(o, "x", "106.737"), d(o, "y", "56.737"), d(o, "width", "90.263"), d(o, "height", "90.263"), d(o, "rx", "12"), d(o, "stroke", "var(--emw--color-gray-150, #828282)"), d(o, "stroke-width", "1.5"), d(s, "cx", "70.5"), d(s, "cy", "32.237"), d(s, "r", "31.487"), d(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(s, "stroke-width", "1.5"), d(s, "stroke-dasharray", "5 0"), d(r, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), d(r, "fill", "var(--emw--color-gray-150, #828282)"), d(m, "d", "M78 43h11v13H78V43z"), d(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), d(u, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "stroke-linecap", "round"), d(u, "stroke-linejoin", "round"), d(f, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), d(f, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(f, "stroke-width", "1.5"), d(f, "stroke-linecap", "round"), d(f, "stroke-linejoin", "round"), d(a, "width", "198"), d(a, "height", "148"), d(a, "viewBox", "0 0 198 148"), d(a, "fill", "none"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(p, "class", "NoFavoriteText NoFavoriteTextHighlight"), d(e, "class", "NoFavoriteGames " + (be(
603
- /*userAgent*/
604
- i[44]
605
- ) ? "NoFavoriteGamesMobile" : ""));
606
- },
607
- m(b, q) {
608
- F(b, e, q), y(e, a), y(a, n), y(a, o), y(a, s), y(a, r), y(a, m), y(a, u), y(a, f), y(e, h), y(e, p), y(p, N), y(e, v), R.m(e, null), y(e, g);
609
- },
610
- p(b, q) {
611
- q[1] & /*$_*/
612
- 4096 && G !== (G = /*$_*/
613
- b[43]("noFavoritesTitle") + "") && O(N, G), R.p(b, q);
614
- },
615
- d(b) {
616
- b && S(e), R.d();
617
- }
618
- };
619
- }
620
- function hi(i) {
621
- let e, a = (
622
- /*$_*/
623
- i[43]("noFavorites") + ""
624
- ), n;
625
- return {
626
- c() {
627
- e = C("span"), n = D(a), d(e, "class", "NoFavoriteText");
628
- },
629
- m(o, s) {
630
- F(o, e, s), y(e, n);
631
- },
632
- p(o, s) {
633
- s[1] & /*$_*/
634
- 4096 && a !== (a = /*$_*/
635
- o[43]("noFavorites") + "") && O(n, a);
636
- },
637
- d(o) {
638
- o && S(e);
639
- }
640
- };
641
- }
642
- function _i(i) {
643
- let e, a = (
644
- /*$_*/
645
- i[43]("noFavoritesMobile") + ""
646
- ), n;
647
- return {
648
- c() {
649
- e = C("span"), n = D(a), d(e, "class", "NoFavoriteText");
650
- },
651
- m(o, s) {
652
- F(o, e, s), y(e, n);
653
- },
654
- p(o, s) {
655
- s[1] & /*$_*/
656
- 4096 && a !== (a = /*$_*/
657
- o[43]("noFavoritesMobile") + "") && O(n, a);
658
- },
659
- d(o) {
660
- o && S(e);
661
- }
662
- };
663
- }
664
- function ma(i) {
665
- let e, a = (
666
- /*gameprops*/
667
- i[95].gameModel.isFavorite && ua(i)
668
- );
669
- return {
670
- c() {
671
- a && a.c(), e = Q();
672
- },
673
- m(n, o) {
674
- a && a.m(n, o), F(n, e, o);
675
- },
676
- p(n, o) {
677
- /*gameprops*/
678
- n[95].gameModel.isFavorite ? a ? a.p(n, o) : (a = ua(n), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
679
- },
680
- d(n) {
681
- n && S(e), a && a.d(n);
682
- }
683
- };
684
- }
685
- function ua(i) {
686
- let e, a = pi(i);
687
- return {
688
- c() {
689
- a && a.c(), e = Q();
690
- },
691
- m(n, o) {
692
- a && a.m(n, o), F(n, e, o);
693
- },
694
- p(n, o) {
695
- a.p(n, o);
696
- },
697
- d(n) {
698
- n && S(e), a && a.d(n);
699
- }
700
- };
701
- }
702
- function pi(i) {
703
- let e, a, n;
704
- function o(m, u) {
705
- if (u[1] & /*favoriteGamesData*/
706
- 2048 && (a = null), e == null && (e = !!be(
707
- /*userAgent*/
708
- m[44]
709
- )), e)
710
- return vi;
711
- if (a == null && (a = !!/*gameprops*/
712
- m[95].gameModel.platform.includes("PC")), a)
713
- return bi;
714
- }
715
- let s = o(i, [-1, -1, -1, -1]), r = s && s(i);
716
- return {
717
- c() {
718
- r && r.c(), n = Q();
719
- },
720
- m(m, u) {
721
- r && r.m(m, u), F(m, n, u);
722
- },
723
- p(m, u) {
724
- s === (s = o(m, u)) && r ? r.p(m, u) : (r && r.d(1), r = s && s(m), r && (r.c(), r.m(n.parentNode, n)));
725
- },
726
- d(m) {
727
- m && S(n), r && r.d(m);
728
- }
729
- };
730
- }
731
- function bi(i) {
732
- let e, a, n, o, s, r, m, u, f, h, p, G, N, v;
733
- return {
734
- c() {
735
- var g, c, P;
736
- e = C("casino-game-thumbnail"), t(e, "class", a = "" + (ie + /*gameprops*/
737
- (i[95].cellSize ? (
738
- /*gameprops*/
739
- i[95].cellSize
740
- ) : "1x1"))), t(
741
- e,
742
- "session",
743
- /*session*/
744
- i[6]
745
- ), t(
746
- e,
747
- "userid",
748
- /*userid*/
749
- i[7]
750
- ), t(
751
- e,
752
- "lang",
753
- /*lang*/
754
- i[5]
755
- ), t(
756
- e,
757
- "translationurl",
758
- /*translationurl*/
759
- i[11]
760
- ), t(
761
- e,
762
- "favorites",
763
- /*favorites*/
764
- i[8]
765
- ), t(
766
- e,
767
- "categoryid",
768
- /*categoryid*/
769
- i[0]
770
- ), t(e, "gamethumbnail", n = /*gameprops*/
771
- i[95].gameModel.thumbnail), t(e, "gamename", o = /*gameprops*/
772
- i[95].gameModel.name), t(e, "gamevendor", s = /*gameprops*/
773
- i[95].gameModel.vendor.displayName), t(e, "gameLaunchUrl", r = /*gameprops*/
774
- i[95].launchUrl), t(e, "gameisnew", m = /*gameprops*/
775
- (c = (g = i[95]) == null ? void 0 : g.gameModel) == null ? void 0 : c.isNew), t(e, "gametag", u = /*addGameTag*/
776
- i[45](
777
- /*gameprops*/
778
- (P = i[95].gameModel) == null ? void 0 : P.advancedTags
779
- )), t(e, "gamecellsize", f = /*gameprops*/
780
- i[95].cellSize), t(e, "gameid", h = /*gameprops*/
781
- i[95].gameModel.id), t(e, "gamefunmode", p = /*gameprops*/
782
- i[95].gameModel.hasFunMode), t(
783
- e,
784
- "showgamename",
785
- /*showgamename*/
786
- i[13]
787
- ), t(e, "gamefavorite", G = /*gameprops*/
788
- i[95].gameModel.isFavorite), t(
789
- e,
790
- "showfavoredcategory",
791
- /*showFavGamesCategory*/
792
- i[39]
793
- ), t(e, "connectlive", N = /*intersectingIndexes*/
794
- i[40][
795
- /*gameprops*/
796
- i[95].id
797
- ] == 1 ? "connect" : "disconnect"), t(
798
- e,
799
- "visibilityconnect",
800
- /*visibilityconnect*/
801
- i[41]
802
- ), t(
803
- e,
804
- "mbsource",
805
- /*mbsource*/
806
- i[21]
807
- ), t(
808
- e,
809
- "currency",
810
- /*currency*/
811
- i[12]
812
- ), t(e, "livelobbyendpoint", v = /*gameprops*/
813
- i[95].gameModel.details ? (
814
- /*gameprops*/
815
- i[95].gameModel.launchUrl
816
- ) : ""), t(
817
- e,
818
- "clientstyling",
819
- /*clientstyling*/
820
- i[9]
821
- ), t(
822
- e,
823
- "clientstylingurl",
824
- /*clientstylingurl*/
825
- i[10]
826
- ), t(
827
- e,
828
- "endpoint",
829
- /*endpoint*/
830
- i[3]
831
- ), t(
832
- e,
833
- "livecasino",
834
- /*livecasino*/
835
- i[14]
836
- ), t(
837
- e,
838
- "gamepagemodalurl",
839
- /*gamepagemodalurl*/
840
- i[15]
841
- ), t(
842
- e,
843
- "integratedgameframedesktop",
844
- /*integratedgameframedesktop*/
845
- i[16]
846
- ), t(
847
- e,
848
- "integratedgameframemobile",
849
- /*integratedgameframemobile*/
850
- i[17]
851
- );
852
- },
853
- m(g, c) {
854
- F(g, e, c);
855
- },
856
- p(g, c) {
857
- var P, R, b;
858
- c[1] & /*favoriteGamesData*/
859
- 2048 && a !== (a = "" + (ie + /*gameprops*/
860
- (g[95].cellSize ? (
861
- /*gameprops*/
862
- g[95].cellSize
863
- ) : "1x1"))) && t(e, "class", a), c[0] & /*session*/
864
- 64 && t(
865
- e,
866
- "session",
867
- /*session*/
868
- g[6]
869
- ), c[0] & /*userid*/
870
- 128 && t(
871
- e,
872
- "userid",
873
- /*userid*/
874
- g[7]
875
- ), c[0] & /*lang*/
876
- 32 && t(
877
- e,
878
- "lang",
879
- /*lang*/
880
- g[5]
881
- ), c[0] & /*translationurl*/
882
- 2048 && t(
883
- e,
884
- "translationurl",
885
- /*translationurl*/
886
- g[11]
887
- ), c[0] & /*favorites*/
888
- 256 && t(
889
- e,
890
- "favorites",
891
- /*favorites*/
892
- g[8]
893
- ), c[0] & /*categoryid*/
894
- 1 && t(
895
- e,
896
- "categoryid",
897
- /*categoryid*/
898
- g[0]
899
- ), c[1] & /*favoriteGamesData*/
900
- 2048 && n !== (n = /*gameprops*/
901
- g[95].gameModel.thumbnail) && t(e, "gamethumbnail", n), c[1] & /*favoriteGamesData*/
902
- 2048 && o !== (o = /*gameprops*/
903
- g[95].gameModel.name) && t(e, "gamename", o), c[1] & /*favoriteGamesData*/
904
- 2048 && s !== (s = /*gameprops*/
905
- g[95].gameModel.vendor.displayName) && t(e, "gamevendor", s), c[1] & /*favoriteGamesData*/
906
- 2048 && r !== (r = /*gameprops*/
907
- g[95].launchUrl) && t(e, "gameLaunchUrl", r), c[1] & /*favoriteGamesData*/
908
- 2048 && m !== (m = /*gameprops*/
909
- (R = (P = g[95]) == null ? void 0 : P.gameModel) == null ? void 0 : R.isNew) && t(e, "gameisnew", m), c[1] & /*favoriteGamesData*/
910
- 2048 && u !== (u = /*addGameTag*/
911
- g[45](
912
- /*gameprops*/
913
- (b = g[95].gameModel) == null ? void 0 : b.advancedTags
914
- )) && t(e, "gametag", u), c[1] & /*favoriteGamesData*/
915
- 2048 && f !== (f = /*gameprops*/
916
- g[95].cellSize) && t(e, "gamecellsize", f), c[1] & /*favoriteGamesData*/
917
- 2048 && h !== (h = /*gameprops*/
918
- g[95].gameModel.id) && t(e, "gameid", h), c[1] & /*favoriteGamesData*/
919
- 2048 && p !== (p = /*gameprops*/
920
- g[95].gameModel.hasFunMode) && t(e, "gamefunmode", p), c[0] & /*showgamename*/
921
- 8192 && t(
922
- e,
923
- "showgamename",
924
- /*showgamename*/
925
- g[13]
926
- ), c[1] & /*favoriteGamesData*/
927
- 2048 && G !== (G = /*gameprops*/
928
- g[95].gameModel.isFavorite) && t(e, "gamefavorite", G), c[1] & /*showFavGamesCategory*/
929
- 256 && t(
930
- e,
931
- "showfavoredcategory",
932
- /*showFavGamesCategory*/
933
- g[39]
934
- ), c[1] & /*intersectingIndexes, favoriteGamesData*/
935
- 2560 && N !== (N = /*intersectingIndexes*/
936
- g[40][
937
- /*gameprops*/
938
- g[95].id
939
- ] == 1 ? "connect" : "disconnect") && t(e, "connectlive", N), c[1] & /*visibilityconnect*/
940
- 1024 && t(
941
- e,
942
- "visibilityconnect",
943
- /*visibilityconnect*/
944
- g[41]
945
- ), c[0] & /*mbsource*/
946
- 2097152 && t(
947
- e,
948
- "mbsource",
949
- /*mbsource*/
950
- g[21]
951
- ), c[0] & /*currency*/
952
- 4096 && t(
953
- e,
954
- "currency",
955
- /*currency*/
956
- g[12]
957
- ), c[1] & /*favoriteGamesData*/
958
- 2048 && v !== (v = /*gameprops*/
959
- g[95].gameModel.details ? (
960
- /*gameprops*/
961
- g[95].gameModel.launchUrl
962
- ) : "") && t(e, "livelobbyendpoint", v), c[0] & /*clientstyling*/
963
- 512 && t(
964
- e,
965
- "clientstyling",
966
- /*clientstyling*/
967
- g[9]
968
- ), c[0] & /*clientstylingurl*/
969
- 1024 && t(
970
- e,
971
- "clientstylingurl",
972
- /*clientstylingurl*/
973
- g[10]
974
- ), c[0] & /*endpoint*/
975
- 8 && t(
976
- e,
977
- "endpoint",
978
- /*endpoint*/
979
- g[3]
980
- ), c[0] & /*livecasino*/
981
- 16384 && t(
982
- e,
983
- "livecasino",
984
- /*livecasino*/
985
- g[14]
986
- ), c[0] & /*gamepagemodalurl*/
987
- 32768 && t(
988
- e,
989
- "gamepagemodalurl",
990
- /*gamepagemodalurl*/
991
- g[15]
992
- ), c[0] & /*integratedgameframedesktop*/
993
- 65536 && t(
994
- e,
995
- "integratedgameframedesktop",
996
- /*integratedgameframedesktop*/
997
- g[16]
998
- ), c[0] & /*integratedgameframemobile*/
999
- 131072 && t(
1000
- e,
1001
- "integratedgameframemobile",
1002
- /*integratedgameframemobile*/
1003
- g[17]
1004
- );
1005
- },
1006
- d(g) {
1007
- g && S(e);
1008
- }
1009
- };
1010
- }
1011
- function vi(i) {
1012
- let e = (
1013
- /*gameprops*/
1014
- i[95].gameModel.platform.includes("iPad") || /*gameprops*/
1015
- i[95].gameModel.platform.includes("iPhone") || /*gameprops*/
1016
- i[95].gameModel.platform.includes("Android")
1017
- ), a, n = e && ca(i);
1018
- return {
1019
- c() {
1020
- n && n.c(), a = Q();
1021
- },
1022
- m(o, s) {
1023
- n && n.m(o, s), F(o, a, s);
1024
- },
1025
- p(o, s) {
1026
- s[1] & /*favoriteGamesData*/
1027
- 2048 && (e = /*gameprops*/
1028
- o[95].gameModel.platform.includes("iPad") || /*gameprops*/
1029
- o[95].gameModel.platform.includes("iPhone") || /*gameprops*/
1030
- o[95].gameModel.platform.includes("Android")), e ? n ? n.p(o, s) : (n = ca(o), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
1031
- },
1032
- d(o) {
1033
- o && S(a), n && n.d(o);
1034
- }
1035
- };
1036
- }
1037
- function ca(i) {
1038
- let e, a, n, o, s, r, m, u, f, h, p, G, N, v;
1039
- return {
1040
- c() {
1041
- var g, c;
1042
- e = C("casino-game-thumbnail"), t(e, "class", a = "" + (ie + /*gameprops*/
1043
- (i[95].cellSize ? (
1044
- /*gameprops*/
1045
- i[95].cellSize
1046
- ) : "1x1"))), t(
1047
- e,
1048
- "session",
1049
- /*session*/
1050
- i[6]
1051
- ), t(
1052
- e,
1053
- "userid",
1054
- /*userid*/
1055
- i[7]
1056
- ), t(
1057
- e,
1058
- "lang",
1059
- /*lang*/
1060
- i[5]
1061
- ), t(
1062
- e,
1063
- "mbsource",
1064
- /*mbsource*/
1065
- i[21]
1066
- ), t(
1067
- e,
1068
- "favorites",
1069
- /*favorites*/
1070
- i[8]
1071
- ), t(
1072
- e,
1073
- "categoryid",
1074
- /*categoryid*/
1075
- i[0]
1076
- ), t(e, "gamethumbnail", n = /*gameprops*/
1077
- i[95].gameModel.thumbnail), t(e, "gamename", o = /*gameprops*/
1078
- i[95].gameModel.name), t(e, "gamevendor", s = /*gameprops*/
1079
- i[95].gameModel.vendor.displayName), t(e, "gameLaunchUrl", r = /*gameprops*/
1080
- i[95].launchUrl), t(e, "gameisnew", m = /*gameprops*/
1081
- (g = i[95].gameModel) == null ? void 0 : g.isNew), t(e, "gametag", u = /*addGameTag*/
1082
- i[45](
1083
- /*gameprops*/
1084
- (c = i[95].gameModel) == null ? void 0 : c.advancedTags
1085
- )), t(e, "gamecellsize", f = /*gameprops*/
1086
- i[95].cellSize), t(e, "gameid", h = /*gameprops*/
1087
- i[95].gameModel.id), t(e, "gamefunmode", p = /*gameprops*/
1088
- i[95].gameModel.hasFunMode), t(
1089
- e,
1090
- "showgamename",
1091
- /*showgamename*/
1092
- i[13]
1093
- ), t(e, "gamefavorite", G = /*gameprops*/
1094
- i[95].gameModel.isFavorite), t(
1095
- e,
1096
- "showfavoredcategory",
1097
- /*showFavGamesCategory*/
1098
- i[39]
1099
- ), t(e, "connectlive", N = /*intersectingIndexes*/
1100
- i[40][
1101
- /*gameprops*/
1102
- i[95].id
1103
- ] == 1 ? "connect" : "disconnect"), t(
1104
- e,
1105
- "visibilityconnect",
1106
- /*visibilityconnect*/
1107
- i[41]
1108
- ), t(
1109
- e,
1110
- "translationurl",
1111
- /*translationurl*/
1112
- i[11]
1113
- ), t(
1114
- e,
1115
- "currency",
1116
- /*currency*/
1117
- i[12]
1118
- ), t(e, "livelobbyendpoint", v = /*gameprops*/
1119
- i[95].gameModel.details ? (
1120
- /*gameprops*/
1121
- i[95].gameModel.launchUrl
1122
- ) : ""), t(
1123
- e,
1124
- "clientstyling",
1125
- /*clientstyling*/
1126
- i[9]
1127
- ), t(
1128
- e,
1129
- "clientstylingurl",
1130
- /*clientstylingurl*/
1131
- i[10]
1132
- ), t(
1133
- e,
1134
- "endpoint",
1135
- /*endpoint*/
1136
- i[3]
1137
- ), t(
1138
- e,
1139
- "livecasino",
1140
- /*livecasino*/
1141
- i[14]
1142
- ), t(
1143
- e,
1144
- "gamepagemodalurl",
1145
- /*gamepagemodalurl*/
1146
- i[15]
1147
- ), t(
1148
- e,
1149
- "integratedgameframedesktop",
1150
- /*integratedgameframedesktop*/
1151
- i[16]
1152
- ), t(
1153
- e,
1154
- "integratedgameframemobile",
1155
- /*integratedgameframemobile*/
1156
- i[17]
1157
- );
1158
- },
1159
- m(g, c) {
1160
- F(g, e, c);
1161
- },
1162
- p(g, c) {
1163
- var P, R;
1164
- c[1] & /*favoriteGamesData*/
1165
- 2048 && a !== (a = "" + (ie + /*gameprops*/
1166
- (g[95].cellSize ? (
1167
- /*gameprops*/
1168
- g[95].cellSize
1169
- ) : "1x1"))) && t(e, "class", a), c[0] & /*session*/
1170
- 64 && t(
1171
- e,
1172
- "session",
1173
- /*session*/
1174
- g[6]
1175
- ), c[0] & /*userid*/
1176
- 128 && t(
1177
- e,
1178
- "userid",
1179
- /*userid*/
1180
- g[7]
1181
- ), c[0] & /*lang*/
1182
- 32 && t(
1183
- e,
1184
- "lang",
1185
- /*lang*/
1186
- g[5]
1187
- ), c[0] & /*mbsource*/
1188
- 2097152 && t(
1189
- e,
1190
- "mbsource",
1191
- /*mbsource*/
1192
- g[21]
1193
- ), c[0] & /*favorites*/
1194
- 256 && t(
1195
- e,
1196
- "favorites",
1197
- /*favorites*/
1198
- g[8]
1199
- ), c[0] & /*categoryid*/
1200
- 1 && t(
1201
- e,
1202
- "categoryid",
1203
- /*categoryid*/
1204
- g[0]
1205
- ), c[1] & /*favoriteGamesData*/
1206
- 2048 && n !== (n = /*gameprops*/
1207
- g[95].gameModel.thumbnail) && t(e, "gamethumbnail", n), c[1] & /*favoriteGamesData*/
1208
- 2048 && o !== (o = /*gameprops*/
1209
- g[95].gameModel.name) && t(e, "gamename", o), c[1] & /*favoriteGamesData*/
1210
- 2048 && s !== (s = /*gameprops*/
1211
- g[95].gameModel.vendor.displayName) && t(e, "gamevendor", s), c[1] & /*favoriteGamesData*/
1212
- 2048 && r !== (r = /*gameprops*/
1213
- g[95].launchUrl) && t(e, "gameLaunchUrl", r), c[1] & /*favoriteGamesData*/
1214
- 2048 && m !== (m = /*gameprops*/
1215
- (P = g[95].gameModel) == null ? void 0 : P.isNew) && t(e, "gameisnew", m), c[1] & /*favoriteGamesData*/
1216
- 2048 && u !== (u = /*addGameTag*/
1217
- g[45](
1218
- /*gameprops*/
1219
- (R = g[95].gameModel) == null ? void 0 : R.advancedTags
1220
- )) && t(e, "gametag", u), c[1] & /*favoriteGamesData*/
1221
- 2048 && f !== (f = /*gameprops*/
1222
- g[95].cellSize) && t(e, "gamecellsize", f), c[1] & /*favoriteGamesData*/
1223
- 2048 && h !== (h = /*gameprops*/
1224
- g[95].gameModel.id) && t(e, "gameid", h), c[1] & /*favoriteGamesData*/
1225
- 2048 && p !== (p = /*gameprops*/
1226
- g[95].gameModel.hasFunMode) && t(e, "gamefunmode", p), c[0] & /*showgamename*/
1227
- 8192 && t(
1228
- e,
1229
- "showgamename",
1230
- /*showgamename*/
1231
- g[13]
1232
- ), c[1] & /*favoriteGamesData*/
1233
- 2048 && G !== (G = /*gameprops*/
1234
- g[95].gameModel.isFavorite) && t(e, "gamefavorite", G), c[1] & /*showFavGamesCategory*/
1235
- 256 && t(
1236
- e,
1237
- "showfavoredcategory",
1238
- /*showFavGamesCategory*/
1239
- g[39]
1240
- ), c[1] & /*intersectingIndexes, favoriteGamesData*/
1241
- 2560 && N !== (N = /*intersectingIndexes*/
1242
- g[40][
1243
- /*gameprops*/
1244
- g[95].id
1245
- ] == 1 ? "connect" : "disconnect") && t(e, "connectlive", N), c[1] & /*visibilityconnect*/
1246
- 1024 && t(
1247
- e,
1248
- "visibilityconnect",
1249
- /*visibilityconnect*/
1250
- g[41]
1251
- ), c[0] & /*translationurl*/
1252
- 2048 && t(
1253
- e,
1254
- "translationurl",
1255
- /*translationurl*/
1256
- g[11]
1257
- ), c[0] & /*currency*/
1258
- 4096 && t(
1259
- e,
1260
- "currency",
1261
- /*currency*/
1262
- g[12]
1263
- ), c[1] & /*favoriteGamesData*/
1264
- 2048 && v !== (v = /*gameprops*/
1265
- g[95].gameModel.details ? (
1266
- /*gameprops*/
1267
- g[95].gameModel.launchUrl
1268
- ) : "") && t(e, "livelobbyendpoint", v), c[0] & /*clientstyling*/
1269
- 512 && t(
1270
- e,
1271
- "clientstyling",
1272
- /*clientstyling*/
1273
- g[9]
1274
- ), c[0] & /*clientstylingurl*/
1275
- 1024 && t(
1276
- e,
1277
- "clientstylingurl",
1278
- /*clientstylingurl*/
1279
- g[10]
1280
- ), c[0] & /*endpoint*/
1281
- 8 && t(
1282
- e,
1283
- "endpoint",
1284
- /*endpoint*/
1285
- g[3]
1286
- ), c[0] & /*livecasino*/
1287
- 16384 && t(
1288
- e,
1289
- "livecasino",
1290
- /*livecasino*/
1291
- g[14]
1292
- ), c[0] & /*gamepagemodalurl*/
1293
- 32768 && t(
1294
- e,
1295
- "gamepagemodalurl",
1296
- /*gamepagemodalurl*/
1297
- g[15]
1298
- ), c[0] & /*integratedgameframedesktop*/
1299
- 65536 && t(
1300
- e,
1301
- "integratedgameframedesktop",
1302
- /*integratedgameframedesktop*/
1303
- g[16]
1304
- ), c[0] & /*integratedgameframemobile*/
1305
- 131072 && t(
1306
- e,
1307
- "integratedgameframemobile",
1308
- /*integratedgameframemobile*/
1309
- g[17]
1310
- );
1311
- },
1312
- d(g) {
1313
- g && S(e);
1314
- }
1315
- };
1316
- }
1317
- function fa(i) {
1318
- let e, a = (
1319
- /*gameprops*/
1320
- i[95].gameModel && ma(i)
1321
- );
1322
- return {
1323
- c() {
1324
- a && a.c(), e = Q();
1325
- },
1326
- m(n, o) {
1327
- a && a.m(n, o), F(n, e, o);
1328
- },
1329
- p(n, o) {
1330
- /*gameprops*/
1331
- n[95].gameModel ? a ? a.p(n, o) : (a = ma(n), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
1332
- },
1333
- d(n) {
1334
- n && S(e), a && a.d(n);
1335
- }
1336
- };
1337
- }
1338
- function ga(i) {
1339
- let e, a, n = (
1340
- /*categoryData*/
1341
- i[28].name + ""
1342
- ), o, s;
1343
- function r(f, h) {
1344
- return (
1345
- /*lobbyView*/
1346
- f[27] && !/*showLoadCategory*/
1347
- f[30] ? ki : wi
1348
- );
1349
- }
1350
- let m = r(i), u = m(i);
1351
- return {
1352
- c() {
1353
- e = C("div"), a = C("h3"), o = D(n), s = K(), u.c(), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
1354
- },
1355
- m(f, h) {
1356
- F(f, e, h), y(e, a), y(a, o), i[55](a), y(e, s), u.m(e, null);
1357
- },
1358
- p(f, h) {
1359
- h[0] & /*categoryData*/
1360
- 268435456 && n !== (n = /*categoryData*/
1361
- f[28].name + "") && O(o, n), m === (m = r(f)) && u ? u.p(f, h) : (u.d(1), u = m(f), u && (u.c(), u.m(e, null)));
1362
- },
1363
- d(f) {
1364
- f && S(e), i[55](null), u.d();
1365
- }
1366
- };
1367
- }
1368
- function wi(i) {
1369
- let e, a, n, o = (
1370
- /*addfilterselector*/
1371
- i[1] == "true" && /*usesinglevendorfilter*/
1372
- i[22] === "false" && da(i)
1373
- ), s = (
1374
- /*addsortingselector*/
1375
- i[2] == "true" && ha(i)
1376
- );
1377
- return {
1378
- c() {
1379
- e = C("div"), o && o.c(), a = K(), s && s.c(), d(e, "class", n = /*addfilterselector*/
1380
- i[1] == "true" && /*usesinglevendorfilter*/
1381
- i[22] === "false" && /*addsortingselector*/
1382
- i[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
1383
- },
1384
- m(r, m) {
1385
- F(r, e, m), o && o.m(e, null), y(e, a), s && s.m(e, null);
1386
- },
1387
- p(r, m) {
1388
- /*addfilterselector*/
1389
- r[1] == "true" && /*usesinglevendorfilter*/
1390
- r[22] === "false" ? o ? o.p(r, m) : (o = da(r), o.c(), o.m(e, a)) : o && (o.d(1), o = null), /*addsortingselector*/
1391
- r[2] == "true" ? s ? s.p(r, m) : (s = ha(r), s.c(), s.m(e, null)) : s && (s.d(1), s = null), m[0] & /*addfilterselector, usesinglevendorfilter, addsortingselector*/
1392
- 4194310 && n !== (n = /*addfilterselector*/
1393
- r[1] == "true" && /*usesinglevendorfilter*/
1394
- r[22] === "false" && /*addsortingselector*/
1395
- r[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer") && d(e, "class", n);
1396
- },
1397
- d(r) {
1398
- r && S(e), o && o.d(), s && s.d();
1399
- }
1400
- };
1401
- }
1402
- function ki(i) {
1403
- let e, a, n = (
1404
- /*$_*/
1405
- i[43]("viewAll") + ""
1406
- ), o, s, r = (
1407
- /*categoryData*/
1408
- i[28].games.total + ""
1409
- ), m, u, f, h;
1410
- return {
1411
- c() {
1412
- e = C("a"), a = C("span"), o = D(n), s = D(" ("), m = D(r), u = D(")"), d(a, "class", "CategoryLoadMore"), d(e, "class", "CategoryNameLink");
1413
- },
1414
- m(p, G) {
1415
- F(p, e, G), y(e, a), y(a, o), y(a, s), y(a, m), y(a, u), f || (h = xa(
1416
- e,
1417
- "click",
1418
- /*click_handler*/
1419
- i[56]
1420
- ), f = !0);
1421
- },
1422
- p(p, G) {
1423
- G[1] & /*$_*/
1424
- 4096 && n !== (n = /*$_*/
1425
- p[43]("viewAll") + "") && O(o, n), G[0] & /*categoryData*/
1426
- 268435456 && r !== (r = /*categoryData*/
1427
- p[28].games.total + "") && O(m, r);
1428
- },
1429
- d(p) {
1430
- p && S(e), f = !1, h();
1431
- }
1432
- };
1433
- }
1434
- function da(i) {
1435
- let e;
1436
- return {
1437
- c() {
1438
- e = C("casino-filter"), t(
1439
- e,
1440
- "clientstylingurl",
1441
- /*clientstylingurl*/
1442
- i[10]
1443
- ), t(
1444
- e,
1445
- "clientstyling",
1446
- /*clientstyling*/
1447
- i[9]
1448
- ), t(
1449
- e,
1450
- "endpoint",
1451
- /*endpoint*/
1452
- i[3]
1453
- ), t(
1454
- e,
1455
- "datasource",
1456
- /*datasource*/
1457
- i[4]
1458
- ), t(
1459
- e,
1460
- "lang",
1461
- /*lang*/
1462
- i[5]
1463
- ), t(
1464
- e,
1465
- "categoryid",
1466
- /*categoryid*/
1467
- i[0]
1468
- ), t(
1469
- e,
1470
- "mbsource",
1471
- /*mbsource*/
1472
- i[21]
1473
- ), t(
1474
- e,
1475
- "addfilterselector",
1476
- /*addfilterselector*/
1477
- i[1]
1478
- ), t(
1479
- e,
1480
- "addsortingselector",
1481
- /*addsortingselector*/
1482
- i[2]
1483
- ), t(
1484
- e,
1485
- "filterbylogo",
1486
- /*filterbylogo*/
1487
- i[19]
1488
- );
1489
- },
1490
- m(a, n) {
1491
- F(a, e, n);
1492
- },
1493
- p(a, n) {
1494
- n[0] & /*clientstylingurl*/
1495
- 1024 && t(
1496
- e,
1497
- "clientstylingurl",
1498
- /*clientstylingurl*/
1499
- a[10]
1500
- ), n[0] & /*clientstyling*/
1501
- 512 && t(
1502
- e,
1503
- "clientstyling",
1504
- /*clientstyling*/
1505
- a[9]
1506
- ), n[0] & /*endpoint*/
1507
- 8 && t(
1508
- e,
1509
- "endpoint",
1510
- /*endpoint*/
1511
- a[3]
1512
- ), n[0] & /*datasource*/
1513
- 16 && t(
1514
- e,
1515
- "datasource",
1516
- /*datasource*/
1517
- a[4]
1518
- ), n[0] & /*lang*/
1519
- 32 && t(
1520
- e,
1521
- "lang",
1522
- /*lang*/
1523
- a[5]
1524
- ), n[0] & /*categoryid*/
1525
- 1 && t(
1526
- e,
1527
- "categoryid",
1528
- /*categoryid*/
1529
- a[0]
1530
- ), n[0] & /*mbsource*/
1531
- 2097152 && t(
1532
- e,
1533
- "mbsource",
1534
- /*mbsource*/
1535
- a[21]
1536
- ), n[0] & /*addfilterselector*/
1537
- 2 && t(
1538
- e,
1539
- "addfilterselector",
1540
- /*addfilterselector*/
1541
- a[1]
1542
- ), n[0] & /*addsortingselector*/
1543
- 4 && t(
1544
- e,
1545
- "addsortingselector",
1546
- /*addsortingselector*/
1547
- a[2]
1548
- ), n[0] & /*filterbylogo*/
1549
- 524288 && t(
1550
- e,
1551
- "filterbylogo",
1552
- /*filterbylogo*/
1553
- a[19]
1554
- );
1555
- },
1556
- d(a) {
1557
- a && S(e);
1558
- }
1559
- };
1560
- }
1561
- function ha(i) {
1562
- let e;
1563
- return {
1564
- c() {
1565
- e = C("casino-sort"), t(
1566
- e,
1567
- "clientstylingurl",
1568
- /*clientstylingurl*/
1569
- i[10]
1570
- ), t(
1571
- e,
1572
- "clientstyling",
1573
- /*clientstyling*/
1574
- i[9]
1575
- ), t(
1576
- e,
1577
- "lang",
1578
- /*lang*/
1579
- i[5]
1580
- ), t(
1581
- e,
1582
- "mbsource",
1583
- /*mbsource*/
1584
- i[21]
1585
- ), t(
1586
- e,
1587
- "categoryid",
1588
- /*categoryid*/
1589
- i[0]
1590
- ), t(
1591
- e,
1592
- "addsortingselector",
1593
- /*addsortingselector*/
1594
- i[2]
1595
- );
1596
- },
1597
- m(a, n) {
1598
- F(a, e, n);
1599
- },
1600
- p(a, n) {
1601
- n[0] & /*clientstylingurl*/
1602
- 1024 && t(
1603
- e,
1604
- "clientstylingurl",
1605
- /*clientstylingurl*/
1606
- a[10]
1607
- ), n[0] & /*clientstyling*/
1608
- 512 && t(
1609
- e,
1610
- "clientstyling",
1611
- /*clientstyling*/
1612
- a[9]
1613
- ), n[0] & /*lang*/
1614
- 32 && t(
1615
- e,
1616
- "lang",
1617
- /*lang*/
1618
- a[5]
1619
- ), n[0] & /*mbsource*/
1620
- 2097152 && t(
1621
- e,
1622
- "mbsource",
1623
- /*mbsource*/
1624
- a[21]
1625
- ), n[0] & /*categoryid*/
1626
- 1 && t(
1627
- e,
1628
- "categoryid",
1629
- /*categoryid*/
1630
- a[0]
1631
- ), n[0] & /*addsortingselector*/
1632
- 4 && t(
1633
- e,
1634
- "addsortingselector",
1635
- /*addsortingselector*/
1636
- a[2]
1637
- );
1638
- },
1639
- d(a) {
1640
- a && S(e);
1641
- }
1642
- };
1643
- }
1644
- function yi(i) {
1645
- let e, a = (
1646
- /*$_*/
1647
- i[43]("noResults") + ""
1648
- ), n;
1649
- return {
1650
- c() {
1651
- e = C("p"), n = D(a), d(e, "class", "NoSearchResults");
1652
- },
1653
- m(o, s) {
1654
- F(o, e, s), y(e, n);
1655
- },
1656
- p(o, s) {
1657
- s[1] & /*$_*/
1658
- 4096 && a !== (a = /*$_*/
1659
- o[43]("noResults") + "") && O(n, a);
1660
- },
1661
- d(o) {
1662
- o && S(e);
1663
- }
1664
- };
1665
- }
1666
- function Si(i) {
1667
- let e, a = [], n = /* @__PURE__ */ new Map(), o, s = re(
1668
- /*shownCategoryData*/
1669
- i[29]
1670
- );
1671
- const r = (m) => (
1672
- /*gameprops*/
1673
- m[95].id
1674
- );
1675
- for (let m = 0; m < s.length; m += 1) {
1676
- let u = oa(i, s, m), f = r(u);
1677
- n.set(f, a[m] = _a(f, u));
1678
- }
1679
- return {
1680
- c() {
1681
- e = C("ul");
1682
- for (let m = 0; m < a.length; m += 1)
1683
- a[m].c();
1684
- d(e, "class", o = /*favoriteGamesData*/
1685
- (i[42].items.length === 0 && /*showFavGamesCategory*/
1686
- i[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1687
- (i[27] && /*casinogamesgridslider*/
1688
- i[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
1689
- },
1690
- m(m, u) {
1691
- F(m, e, u);
1692
- for (let f = 0; f < a.length; f += 1)
1693
- a[f] && a[f].m(e, null);
1694
- i[58](e);
1695
- },
1696
- p(m, u) {
1697
- u[0] & /*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, mbsource, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/
1698
- 557055977 | u[1] & /*addGameTag, intersectingIndexes, visibilityconnect*/
1699
- 17920 && (s = re(
1700
- /*shownCategoryData*/
1701
- m[29]
1702
- ), a = va(a, u, r, 1, m, s, n, e, wa, _a, null, oa)), u[0] & /*lobbyView, casinogamesgridslider*/
1703
- 135266304 | u[1] & /*favoriteGamesData, showFavGamesCategory*/
1704
- 2304 && o !== (o = /*favoriteGamesData*/
1705
- (m[42].items.length === 0 && /*showFavGamesCategory*/
1706
- m[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1707
- (m[27] && /*casinogamesgridslider*/
1708
- m[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && d(e, "class", o);
1709
- },
1710
- d(m) {
1711
- m && S(e);
1712
- for (let u = 0; u < a.length; u += 1)
1713
- a[u].d();
1714
- i[58](null);
1715
- }
1716
- };
1717
- }
1718
- function Fi(i) {
1719
- let e;
1720
- return {
1721
- c() {
1722
- e = C("div"), d(e, "class", "lds-dual-ring");
1723
- },
1724
- m(a, n) {
1725
- F(a, e, n);
1726
- },
1727
- p: pe,
1728
- d(a) {
1729
- a && S(e);
1730
- }
1731
- };
1732
- }
1733
- function Gi(i) {
1734
- let e, a, n, o, s, r, m, u, f, h, p, G, N, v, g = (
1735
- /*index*/
1736
- i[97]
1737
- );
1738
- const c = () => (
1739
- /*casino_game_thumbnail_binding*/
1740
- i[57](e, g)
1741
- ), P = () => (
1742
- /*casino_game_thumbnail_binding*/
1743
- i[57](null, g)
1744
- );
1745
- return {
1746
- c() {
1747
- e = C("casino-game-thumbnail"), t(
1748
- e,
1749
- "session",
1750
- /*session*/
1751
- i[6]
1752
- ), t(
1753
- e,
1754
- "userid",
1755
- /*userid*/
1756
- i[7]
1757
- ), t(
1758
- e,
1759
- "lang",
1760
- /*lang*/
1761
- i[5]
1762
- ), t(e, "class", a = "" + (ie + /*gameprops*/
1763
- (i[95].cellSize ? (
1764
- /*gameprops*/
1765
- i[95].cellSize
1766
- ) : "1x1"))), t(
1767
- e,
1768
- "favorites",
1769
- /*favorites*/
1770
- i[8]
1771
- ), t(
1772
- e,
1773
- "categoryid",
1774
- /*categoryid*/
1775
- i[0]
1776
- ), t(e, "gamethumbnail", n = /*gameprops*/
1777
- i[95].thumbnail), t(e, "gamename", o = /*gameprops*/
1778
- i[95].name), t(e, "gamevendor", s = /*gameprops*/
1779
- i[95].vendor.displayName), t(e, "gameLaunchUrl", r = /*gameprops*/
1780
- i[95].launchUrl), t(e, "gameisnew", m = /*gameprops*/
1781
- i[95].isNew), t(e, "gametag", u = /*addGameTag*/
1782
- i[45](
1783
- /*gameprops*/
1784
- i[95].advancedTags
1785
- )), t(e, "gamecellsize", f = /*gameprops*/
1786
- i[95].cellSize), t(e, "gameid", h = /*gameprops*/
1787
- i[95].id), t(e, "gamefunmode", p = /*gameprops*/
1788
- i[95].hasFunMode), t(e, "gamefavorite", G = /*gameprops*/
1789
- i[95].isFavorite), t(
1790
- e,
1791
- "translationurl",
1792
- /*translationurl*/
1793
- i[11]
1794
- ), t(
1795
- e,
1796
- "showgamename",
1797
- /*showgamename*/
1798
- i[13]
1799
- ), t(
1800
- e,
1801
- "mbsource",
1802
- /*mbsource*/
1803
- i[21]
1804
- ), t(e, "connectlive", N = /*intersectingIndexes*/
1805
- i[40][
1806
- /*gameprops*/
1807
- i[95].id
1808
- ] == 1 ? "connect" : "disconnect"), t(
1809
- e,
1810
- "visibilityconnect",
1811
- /*visibilityconnect*/
1812
- i[41]
1813
- ), t(
1814
- e,
1815
- "currency",
1816
- /*currency*/
1817
- i[12]
1818
- ), t(e, "livelobbyendpoint", v = /*gameprops*/
1819
- i[95].details ? (
1820
- /*gameprops*/
1821
- i[95].href
1822
- ) : ""), t(
1823
- e,
1824
- "clientstyling",
1825
- /*clientstyling*/
1826
- i[9]
1827
- ), t(
1828
- e,
1829
- "clientstylingurl",
1830
- /*clientstylingurl*/
1831
- i[10]
1832
- ), t(
1833
- e,
1834
- "endpoint",
1835
- /*endpoint*/
1836
- i[3]
1837
- ), t(
1838
- e,
1839
- "livecasino",
1840
- /*livecasino*/
1841
- i[14]
1842
- ), t(
1843
- e,
1844
- "gamepagemodalurl",
1845
- /*gamepagemodalurl*/
1846
- i[15]
1847
- ), t(
1848
- e,
1849
- "integratedgameframedesktop",
1850
- /*integratedgameframedesktop*/
1851
- i[16]
1852
- ), t(
1853
- e,
1854
- "integratedgameframemobile",
1855
- /*integratedgameframemobile*/
1856
- i[17]
1857
- ), t(
1858
- e,
1859
- "casinogamesgridslider",
1860
- /*casinogamesgridslider*/
1861
- i[20]
1862
- );
1863
- },
1864
- m(R, b) {
1865
- F(R, e, b), c();
1866
- },
1867
- p(R, b) {
1868
- i = R, b[0] & /*session*/
1869
- 64 && t(
1870
- e,
1871
- "session",
1872
- /*session*/
1873
- i[6]
1874
- ), b[0] & /*userid*/
1875
- 128 && t(
1876
- e,
1877
- "userid",
1878
- /*userid*/
1879
- i[7]
1880
- ), b[0] & /*lang*/
1881
- 32 && t(
1882
- e,
1883
- "lang",
1884
- /*lang*/
1885
- i[5]
1886
- ), b[0] & /*shownCategoryData*/
1887
- 536870912 && a !== (a = "" + (ie + /*gameprops*/
1888
- (i[95].cellSize ? (
1889
- /*gameprops*/
1890
- i[95].cellSize
1891
- ) : "1x1"))) && t(e, "class", a), b[0] & /*favorites*/
1892
- 256 && t(
1893
- e,
1894
- "favorites",
1895
- /*favorites*/
1896
- i[8]
1897
- ), b[0] & /*categoryid*/
1898
- 1 && t(
1899
- e,
1900
- "categoryid",
1901
- /*categoryid*/
1902
- i[0]
1903
- ), b[0] & /*shownCategoryData*/
1904
- 536870912 && n !== (n = /*gameprops*/
1905
- i[95].thumbnail) && t(e, "gamethumbnail", n), b[0] & /*shownCategoryData*/
1906
- 536870912 && o !== (o = /*gameprops*/
1907
- i[95].name) && t(e, "gamename", o), b[0] & /*shownCategoryData*/
1908
- 536870912 && s !== (s = /*gameprops*/
1909
- i[95].vendor.displayName) && t(e, "gamevendor", s), b[0] & /*shownCategoryData*/
1910
- 536870912 && r !== (r = /*gameprops*/
1911
- i[95].launchUrl) && t(e, "gameLaunchUrl", r), b[0] & /*shownCategoryData*/
1912
- 536870912 && m !== (m = /*gameprops*/
1913
- i[95].isNew) && t(e, "gameisnew", m), b[0] & /*shownCategoryData*/
1914
- 536870912 && u !== (u = /*addGameTag*/
1915
- i[45](
1916
- /*gameprops*/
1917
- i[95].advancedTags
1918
- )) && t(e, "gametag", u), b[0] & /*shownCategoryData*/
1919
- 536870912 && f !== (f = /*gameprops*/
1920
- i[95].cellSize) && t(e, "gamecellsize", f), b[0] & /*shownCategoryData*/
1921
- 536870912 && h !== (h = /*gameprops*/
1922
- i[95].id) && t(e, "gameid", h), b[0] & /*shownCategoryData*/
1923
- 536870912 && p !== (p = /*gameprops*/
1924
- i[95].hasFunMode) && t(e, "gamefunmode", p), b[0] & /*shownCategoryData*/
1925
- 536870912 && G !== (G = /*gameprops*/
1926
- i[95].isFavorite) && t(e, "gamefavorite", G), b[0] & /*translationurl*/
1927
- 2048 && t(
1928
- e,
1929
- "translationurl",
1930
- /*translationurl*/
1931
- i[11]
1932
- ), b[0] & /*showgamename*/
1933
- 8192 && t(
1934
- e,
1935
- "showgamename",
1936
- /*showgamename*/
1937
- i[13]
1938
- ), b[0] & /*mbsource*/
1939
- 2097152 && t(
1940
- e,
1941
- "mbsource",
1942
- /*mbsource*/
1943
- i[21]
1944
- ), b[0] & /*shownCategoryData*/
1945
- 536870912 | b[1] & /*intersectingIndexes*/
1946
- 512 && N !== (N = /*intersectingIndexes*/
1947
- i[40][
1948
- /*gameprops*/
1949
- i[95].id
1950
- ] == 1 ? "connect" : "disconnect") && t(e, "connectlive", N), b[1] & /*visibilityconnect*/
1951
- 1024 && t(
1952
- e,
1953
- "visibilityconnect",
1954
- /*visibilityconnect*/
1955
- i[41]
1956
- ), b[0] & /*currency*/
1957
- 4096 && t(
1958
- e,
1959
- "currency",
1960
- /*currency*/
1961
- i[12]
1962
- ), b[0] & /*shownCategoryData*/
1963
- 536870912 && v !== (v = /*gameprops*/
1964
- i[95].details ? (
1965
- /*gameprops*/
1966
- i[95].href
1967
- ) : "") && t(e, "livelobbyendpoint", v), b[0] & /*clientstyling*/
1968
- 512 && t(
1969
- e,
1970
- "clientstyling",
1971
- /*clientstyling*/
1972
- i[9]
1973
- ), b[0] & /*clientstylingurl*/
1974
- 1024 && t(
1975
- e,
1976
- "clientstylingurl",
1977
- /*clientstylingurl*/
1978
- i[10]
1979
- ), b[0] & /*endpoint*/
1980
- 8 && t(
1981
- e,
1982
- "endpoint",
1983
- /*endpoint*/
1984
- i[3]
1985
- ), b[0] & /*livecasino*/
1986
- 16384 && t(
1987
- e,
1988
- "livecasino",
1989
- /*livecasino*/
1990
- i[14]
1991
- ), b[0] & /*gamepagemodalurl*/
1992
- 32768 && t(
1993
- e,
1994
- "gamepagemodalurl",
1995
- /*gamepagemodalurl*/
1996
- i[15]
1997
- ), b[0] & /*integratedgameframedesktop*/
1998
- 65536 && t(
1999
- e,
2000
- "integratedgameframedesktop",
2001
- /*integratedgameframedesktop*/
2002
- i[16]
2003
- ), b[0] & /*integratedgameframemobile*/
2004
- 131072 && t(
2005
- e,
2006
- "integratedgameframemobile",
2007
- /*integratedgameframemobile*/
2008
- i[17]
2009
- ), b[0] & /*casinogamesgridslider*/
2010
- 1048576 && t(
2011
- e,
2012
- "casinogamesgridslider",
2013
- /*casinogamesgridslider*/
2014
- i[20]
2015
- ), g !== /*index*/
2016
- i[97] && (P(), g = /*index*/
2017
- i[97], c());
2018
- },
2019
- d(R) {
2020
- R && S(e), P();
2021
- }
2022
- };
2023
- }
2024
- function _a(i, e) {
2025
- let a, n, o = Gi(e);
2026
- return {
2027
- key: i,
2028
- first: null,
2029
- c() {
2030
- a = Q(), o && o.c(), n = Q(), this.first = a;
2031
- },
2032
- m(s, r) {
2033
- F(s, a, r), o && o.m(s, r), F(s, n, r);
2034
- },
2035
- p(s, r) {
2036
- e = s, o.p(e, r);
2037
- },
2038
- d(s) {
2039
- s && (S(a), S(n)), o && o.d(s);
2040
- }
2041
- };
2042
- }
2043
- function Ci(i) {
2044
- let e, a = (
2045
- /*$_*/
2046
- i[43]("searchedItems") + ""
2047
- ), n;
2048
- return {
2049
- c() {
2050
- e = C("h3"), n = D(a), d(e, "class", "StatusText");
2051
- },
2052
- m(o, s) {
2053
- F(o, e, s), y(e, n);
2054
- },
2055
- p(o, s) {
2056
- s[1] & /*$_*/
2057
- 4096 && a !== (a = /*$_*/
2058
- o[43]("searchedItems") + "") && O(n, a);
2059
- },
2060
- d(o) {
2061
- o && S(e);
2062
- }
2063
- };
2064
- }
2065
- function Mi(i) {
2066
- let e, a = (
2067
- /*$_*/
2068
- i[43]("noResults") + ""
2069
- ), n;
2070
- return {
2071
- c() {
2072
- e = C("h3"), n = D(a), d(e, "class", "StatusText");
2073
- },
2074
- m(o, s) {
2075
- F(o, e, s), y(e, n);
2076
- },
2077
- p(o, s) {
2078
- s[1] & /*$_*/
2079
- 4096 && a !== (a = /*$_*/
2080
- o[43]("noResults") + "") && O(n, a);
2081
- },
2082
- d(o) {
2083
- o && S(e);
2084
- }
2085
- };
2086
- }
2087
- function zi(i) {
2088
- let e, a = (
2089
- /*$_*/
2090
- i[43]("recentSearchedItems") + ""
2091
- ), n;
2092
- return {
2093
- c() {
2094
- e = C("h3"), n = D(a), d(e, "class", "StatusText");
2095
- },
2096
- m(o, s) {
2097
- F(o, e, s), y(e, n);
2098
- },
2099
- p(o, s) {
2100
- s[1] & /*$_*/
2101
- 4096 && a !== (a = /*$_*/
2102
- o[43]("recentSearchedItems") + "") && O(n, a);
2103
- },
2104
- d(o) {
2105
- o && S(e);
2106
- }
2107
- };
2108
- }
2109
- function Ei(i) {
2110
- let e;
2111
- return {
2112
- c() {
2113
- e = C("p"), e.textContent = "Waiting", d(e, "class", "SearchWaiting");
2114
- },
2115
- m(a, n) {
2116
- F(a, e, n);
2117
- },
2118
- p: pe,
2119
- d(a) {
2120
- a && S(e);
2121
- }
2122
- };
2123
- }
2124
- function Ni(i) {
2125
- let e, a, n = [], o = /* @__PURE__ */ new Map(), s = !/*showItems*/
2126
- i[35] && pa(i), r = re(
2127
- /*shownCategoryData*/
2128
- i[29]
2129
- );
2130
- const m = (u) => (
2131
- /*gameprops*/
2132
- u[95].id
2133
- );
2134
- for (let u = 0; u < r.length; u += 1) {
2135
- let f = sa(i, r, u), h = m(f);
2136
- o.set(h, n[u] = ba(h, f));
2137
- }
2138
- return {
2139
- c() {
2140
- s && s.c(), e = K(), a = C("ul");
2141
- for (let u = 0; u < n.length; u += 1)
2142
- n[u].c();
2143
- d(a, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
2144
- },
2145
- m(u, f) {
2146
- s && s.m(u, f), F(u, e, f), F(u, a, f);
2147
- for (let h = 0; h < n.length; h += 1)
2148
- n[h] && n[h].m(a, null);
2149
- },
2150
- p(u, f) {
2151
- /*showItems*/
2152
- u[35] ? s && (s.d(1), s = null) : s ? s.p(u, f) : (s = pa(u), s.c(), s.m(e.parentNode, e)), f[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, mbsource, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
2153
- 539230185 | f[1] & /*searchItem, addGameTag*/
2154
- 16388 && (r = re(
2155
- /*shownCategoryData*/
2156
- u[29]
2157
- ), n = va(n, f, m, 1, u, r, o, a, wa, ba, null, sa));
2158
- },
2159
- d(u) {
2160
- u && (S(e), S(a)), s && s.d(u);
2161
- for (let f = 0; f < n.length; f += 1)
2162
- n[f].d();
2163
- }
2164
- };
2165
- }
2166
- function pa(i) {
2167
- let e, a = (
2168
- /*$_*/
2169
- i[43]("noRecentSearch") + ""
2170
- ), n;
2171
- return {
2172
- c() {
2173
- e = C("p"), n = D(a), d(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (be(
2174
- /*userAgent*/
2175
- i[44]
2176
- ) ? "NoRecentSearchesMobile" : ""));
2177
- },
2178
- m(o, s) {
2179
- F(o, e, s), y(e, n);
2180
- },
2181
- p(o, s) {
2182
- s[1] & /*$_*/
2183
- 4096 && a !== (a = /*$_*/
2184
- o[43]("noRecentSearch") + "") && O(n, a);
2185
- },
2186
- d(o) {
2187
- o && S(e);
2188
- }
2189
- };
2190
- }
2191
- function ba(i, e) {
2192
- let a, n, o, s, r, m, u, f, h, p, G, N, v;
2193
- return {
2194
- key: i,
2195
- first: null,
2196
- c() {
2197
- var g;
2198
- a = C("casino-game-thumbnail"), t(a, "class", n = "" + (ie + /*gameprops*/
2199
- (e[95].cellSize ? (
2200
- /*gameprops*/
2201
- e[95].cellSize
2202
- ) : "1x1"))), t(
2203
- a,
2204
- "session",
2205
- /*session*/
2206
- e[6]
2207
- ), t(
2208
- a,
2209
- "userid",
2210
- /*userid*/
2211
- e[7]
2212
- ), t(
2213
- a,
2214
- "lang",
2215
- /*lang*/
2216
- e[5]
2217
- ), t(
2218
- a,
2219
- "searchitem",
2220
- /*searchItem*/
2221
- e[33]
2222
- ), t(
2223
- a,
2224
- "favorites",
2225
- /*favorites*/
2226
- e[8]
2227
- ), t(
2228
- a,
2229
- "categoryid",
2230
- /*categoryid*/
2231
- e[0]
2232
- ), t(a, "gamethumbnail", o = /*gameprops*/
2233
- e[95].thumbnail), t(a, "gamename", s = /*gameprops*/
2234
- e[95].name), t(a, "gamevendor", r = /*gameprops*/
2235
- e[95].vendor.displayName), t(a, "gameLaunchUrl", m = /*gameprops*/
2236
- e[95].launchUrl), t(a, "gameisnew", u = /*gameprops*/
2237
- (g = e[95]) == null ? void 0 : g.isNew), t(a, "gametag", f = /*addGameTag*/
2238
- e[45](
2239
- /*gameprops*/
2240
- e[95].advancedTags
2241
- )), t(a, "gamecellsize", h = /*gameprops*/
2242
- e[95].cellSize), t(a, "gameid", p = /*gameprops*/
2243
- e[95].id), t(a, "gamefunmode", G = /*gameprops*/
2244
- e[95].hasFunMode), t(
2245
- a,
2246
- "mbsource",
2247
- /*mbsource*/
2248
- e[21]
2249
- ), t(
2250
- a,
2251
- "showgamename",
2252
- /*showgamename*/
2253
- e[13]
2254
- ), t(
2255
- a,
2256
- "translationurl",
2257
- /*translationurl*/
2258
- e[11]
2259
- ), t(a, "gamefavorite", N = /*gameprops*/
2260
- e[95].isFavorite), t(
2261
- a,
2262
- "currency",
2263
- /*currency*/
2264
- e[12]
2265
- ), t(a, "livelobbyendpoint", v = /*gameprops*/
2266
- e[95].details ? (
2267
- /*gameprops*/
2268
- e[95].href
2269
- ) : ""), t(
2270
- a,
2271
- "clientstyling",
2272
- /*clientstyling*/
2273
- e[9]
2274
- ), t(
2275
- a,
2276
- "clientstylingurl",
2277
- /*clientstylingurl*/
2278
- e[10]
2279
- ), t(
2280
- a,
2281
- "endpoint",
2282
- /*endpoint*/
2283
- e[3]
2284
- ), t(
2285
- a,
2286
- "livecasino",
2287
- /*livecasino*/
2288
- e[14]
2289
- ), t(
2290
- a,
2291
- "gamepagemodalurl",
2292
- /*gamepagemodalurl*/
2293
- e[15]
2294
- ), t(
2295
- a,
2296
- "integratedgameframedesktop",
2297
- /*integratedgameframedesktop*/
2298
- e[16]
2299
- ), t(
2300
- a,
2301
- "integratedgameframemobile",
2302
- /*integratedgameframemobile*/
2303
- e[17]
2304
- ), this.first = a;
2305
- },
2306
- m(g, c) {
2307
- F(g, a, c);
2308
- },
2309
- p(g, c) {
2310
- var P;
2311
- e = g, c[0] & /*shownCategoryData*/
2312
- 536870912 && n !== (n = "" + (ie + /*gameprops*/
2313
- (e[95].cellSize ? (
2314
- /*gameprops*/
2315
- e[95].cellSize
2316
- ) : "1x1"))) && t(a, "class", n), c[0] & /*session*/
2317
- 64 && t(
2318
- a,
2319
- "session",
2320
- /*session*/
2321
- e[6]
2322
- ), c[0] & /*userid*/
2323
- 128 && t(
2324
- a,
2325
- "userid",
2326
- /*userid*/
2327
- e[7]
2328
- ), c[0] & /*lang*/
2329
- 32 && t(
2330
- a,
2331
- "lang",
2332
- /*lang*/
2333
- e[5]
2334
- ), c[1] & /*searchItem*/
2335
- 4 && t(
2336
- a,
2337
- "searchitem",
2338
- /*searchItem*/
2339
- e[33]
2340
- ), c[0] & /*favorites*/
2341
- 256 && t(
2342
- a,
2343
- "favorites",
2344
- /*favorites*/
2345
- e[8]
2346
- ), c[0] & /*categoryid*/
2347
- 1 && t(
2348
- a,
2349
- "categoryid",
2350
- /*categoryid*/
2351
- e[0]
2352
- ), c[0] & /*shownCategoryData*/
2353
- 536870912 && o !== (o = /*gameprops*/
2354
- e[95].thumbnail) && t(a, "gamethumbnail", o), c[0] & /*shownCategoryData*/
2355
- 536870912 && s !== (s = /*gameprops*/
2356
- e[95].name) && t(a, "gamename", s), c[0] & /*shownCategoryData*/
2357
- 536870912 && r !== (r = /*gameprops*/
2358
- e[95].vendor.displayName) && t(a, "gamevendor", r), c[0] & /*shownCategoryData*/
2359
- 536870912 && m !== (m = /*gameprops*/
2360
- e[95].launchUrl) && t(a, "gameLaunchUrl", m), c[0] & /*shownCategoryData*/
2361
- 536870912 && u !== (u = /*gameprops*/
2362
- (P = e[95]) == null ? void 0 : P.isNew) && t(a, "gameisnew", u), c[0] & /*shownCategoryData*/
2363
- 536870912 && f !== (f = /*addGameTag*/
2364
- e[45](
2365
- /*gameprops*/
2366
- e[95].advancedTags
2367
- )) && t(a, "gametag", f), c[0] & /*shownCategoryData*/
2368
- 536870912 && h !== (h = /*gameprops*/
2369
- e[95].cellSize) && t(a, "gamecellsize", h), c[0] & /*shownCategoryData*/
2370
- 536870912 && p !== (p = /*gameprops*/
2371
- e[95].id) && t(a, "gameid", p), c[0] & /*shownCategoryData*/
2372
- 536870912 && G !== (G = /*gameprops*/
2373
- e[95].hasFunMode) && t(a, "gamefunmode", G), c[0] & /*mbsource*/
2374
- 2097152 && t(
2375
- a,
2376
- "mbsource",
2377
- /*mbsource*/
2378
- e[21]
2379
- ), c[0] & /*showgamename*/
2380
- 8192 && t(
2381
- a,
2382
- "showgamename",
2383
- /*showgamename*/
2384
- e[13]
2385
- ), c[0] & /*translationurl*/
2386
- 2048 && t(
2387
- a,
2388
- "translationurl",
2389
- /*translationurl*/
2390
- e[11]
2391
- ), c[0] & /*shownCategoryData*/
2392
- 536870912 && N !== (N = /*gameprops*/
2393
- e[95].isFavorite) && t(a, "gamefavorite", N), c[0] & /*currency*/
2394
- 4096 && t(
2395
- a,
2396
- "currency",
2397
- /*currency*/
2398
- e[12]
2399
- ), c[0] & /*shownCategoryData*/
2400
- 536870912 && v !== (v = /*gameprops*/
2401
- e[95].details ? (
2402
- /*gameprops*/
2403
- e[95].href
2404
- ) : "") && t(a, "livelobbyendpoint", v), c[0] & /*clientstyling*/
2405
- 512 && t(
2406
- a,
2407
- "clientstyling",
2408
- /*clientstyling*/
2409
- e[9]
2410
- ), c[0] & /*clientstylingurl*/
2411
- 1024 && t(
2412
- a,
2413
- "clientstylingurl",
2414
- /*clientstylingurl*/
2415
- e[10]
2416
- ), c[0] & /*endpoint*/
2417
- 8 && t(
2418
- a,
2419
- "endpoint",
2420
- /*endpoint*/
2421
- e[3]
2422
- ), c[0] & /*livecasino*/
2423
- 16384 && t(
2424
- a,
2425
- "livecasino",
2426
- /*livecasino*/
2427
- e[14]
2428
- ), c[0] & /*gamepagemodalurl*/
2429
- 32768 && t(
2430
- a,
2431
- "gamepagemodalurl",
2432
- /*gamepagemodalurl*/
2433
- e[15]
2434
- ), c[0] & /*integratedgameframedesktop*/
2435
- 65536 && t(
2436
- a,
2437
- "integratedgameframedesktop",
2438
- /*integratedgameframedesktop*/
2439
- e[16]
2440
- ), c[0] & /*integratedgameframemobile*/
2441
- 131072 && t(
2442
- a,
2443
- "integratedgameframemobile",
2444
- /*integratedgameframemobile*/
2445
- e[17]
2446
- );
2447
- },
2448
- d(g) {
2449
- g && S(a);
2450
- }
2451
- };
2452
- }
2453
- function Ii(i) {
2454
- let e, a = (
2455
- /*$_*/
2456
- i[43]("500") + ""
2457
- );
2458
- return {
2459
- c() {
2460
- e = C("p"), d(e, "class", "SearchLoading");
2461
- },
2462
- m(n, o) {
2463
- F(n, e, o), e.innerHTML = a;
2464
- },
2465
- p(n, o) {
2466
- o[1] & /*$_*/
2467
- 4096 && a !== (a = /*$_*/
2468
- n[43]("500") + "") && (e.innerHTML = a);
2469
- },
2470
- d(n) {
2471
- n && S(e);
2472
- }
2473
- };
2474
- }
2475
- function ji(i) {
2476
- let e, a = (
2477
- /*$_*/
2478
- i[43]("404") + ""
2479
- );
2480
- return {
2481
- c() {
2482
- e = C("p"), d(e, "class", "SearchLoading");
2483
- },
2484
- m(n, o) {
2485
- F(n, e, o), e.innerHTML = a;
2486
- },
2487
- p(n, o) {
2488
- o[1] & /*$_*/
2489
- 4096 && a !== (a = /*$_*/
2490
- n[43]("404") + "") && (e.innerHTML = a);
2491
- },
2492
- d(n) {
2493
- n && S(e);
2494
- }
2495
- };
2496
- }
2497
- function Li(i) {
2498
- let e;
2499
- function a(s, r) {
2500
- return (
2501
- /*hasErrors*/
2502
- s[26] ? mi : (
2503
- /*searched*/
2504
- s[31] ? ri : li
2505
- )
2506
- );
2507
- }
2508
- let n = a(i), o = n(i);
2509
- return {
2510
- c() {
2511
- e = C("div"), o.c(), d(e, "class", "CasinoGamesCategorySectionContainer");
2512
- },
2513
- m(s, r) {
2514
- F(s, e, r), o.m(e, null), i[61](e);
2515
- },
2516
- p(s, r) {
2517
- n === (n = a(s)) && o ? o.p(s, r) : (o.d(1), o = n(s), o && (o.c(), o.m(e, null)));
2518
- },
2519
- i: pe,
2520
- o: pe,
2521
- d(s) {
2522
- s && S(e), o.d(), i[61](null);
2523
- }
2524
- };
2525
- }
2526
- const ie = "game-tile-";
2527
- let Ai = 0;
2528
- function Ri(i, e, a) {
2529
- let n;
2530
- Ka(i, ni, (l) => a(43, n = l));
2531
- let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: P = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: q = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: me = "false" } = e, { showallpage: Ae = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, Ge, X = !0, Ze = window.navigator.userAgent, j, M = [], $ = !0, ne = 40, Z = !1, Ce = !1, ue = !1, Oe = !1, He = !0, oe = !1, ce, Be, fe, ge = !1, Y, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, L, B = [], Ee = new AbortController(), se = { items: [], count: 0, name: "" };
2532
- const ka = () => {
2533
- fetch(G).then((_) => _.json()).then((_) => {
2534
- Object.keys(_).forEach((w) => {
2535
- ia(w, _[w]);
2536
- });
2537
- }).catch((_) => {
2538
- console.log(_);
2539
- });
2540
- };
2541
- Object.keys(na).forEach((l) => {
2542
- ia(l, na[l]);
2543
- }), typeof document.hidden != "undefined" ? ze = "hidden" : typeof document.msHidden != "undefined" ? ze = "msHidden" : typeof document.webkitHidden != "undefined" && (ze = "webkitHidden");
2544
- let Ne = new IntersectionObserver((l) => {
2545
- l.forEach((_) => Ie(this, null, function* () {
2546
- let w = _.target.gameid, E = _.target.elems_index;
2547
- _.isIntersecting ? (E * 1.2 > ne && za(v), a(40, he[w] = 1, he)) : a(40, he[w] = 0, he);
2548
- }));
2549
- });
2550
- const We = (l, _) => {
2551
- let w = `${o}/v1/player/${_}/favorites/`;
2552
- a(25, x = !0);
2553
- let E = {
2554
- method: "GET",
2555
- headers: { "X-SessionID": l }
2556
- };
2557
- return new Promise((I, A) => {
2558
- fetch(w, E).then((k) => k.json()).then((k) => {
2559
- var U;
2560
- if (a(25, x = !1), L = [], k) {
2561
- k.items.forEach((W) => {
2562
- W.gameModel && (L.push(W), B.includes(W.id) || B.push(W.id));
2563
- });
2564
- const H = (U = je(L)) == null ? void 0 : U.length;
2565
- window.postMessage({
2566
- type: "UpdateFavoritesCount",
2567
- favoriteGamesLength: H
2568
- });
2569
- } else
2570
- L = [];
2571
- v === "FAVORITES" && Je(L), M.forEach((H) => {
2572
- H.isFavorite = V(H.id);
2573
- });
2574
- let J = M;
2575
- a(29, M = void 0), a(29, M = J), I(L);
2576
- }).catch((k) => {
2577
- console.error(k), A(k);
2578
- });
2579
- });
2580
- }, ya = (l, _) => new Promise((w, E) => {
2581
- if (l && _) {
2582
- let I = `${o}/v1/player/${_}/favorites/`;
2583
- fetch(I, {
2584
- method: "GET",
2585
- headers: { "X-SessionID": l }
2586
- }).then((k) => k.json()).then((k) => {
2587
- var J, U;
2588
- if (L = [], k) {
2589
- (J = k.items) == null || J.forEach((W) => {
2590
- W.gameModel && (L.push(W), B.includes(W.id) || B.push(W.id));
2591
- });
2592
- const H = (U = je(L)) == null ? void 0 : U.length;
2593
- window.postMessage({
2594
- type: "UpdateFavoritesCount",
2595
- favoriteGamesLength: H
2596
- });
2597
- } else
2598
- L = [];
2599
- v === "FAVORITES" && Je(L), w(L);
2600
- }).catch((k) => {
2601
- console.error(k), E(k);
2602
- });
2603
- } else
2604
- w([]);
2605
- }), Qe = (l, _, w, E) => {
2606
- Ee && Ee.abort(), Ee = new AbortController();
2607
- const I = Ee.signal;
2608
- oe && a(25, x = !0);
2609
- let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), U = JSON.parse(localStorage.getItem("vendorSortingBy"));
2610
- const H = Se === "true" ? "*" : l;
2611
- return (l.match(/\$/g) || []).length > 1 ? (A = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${A}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((W, Ha) => {
2612
- var aa;
2613
- if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", ti(Ze)), k.searchParams.append("pagination", `games(offset=${_},limit=${w})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[H]) != null && aa.length))
2614
- if (Se === "true" || X === !1 && ge === !1) {
2615
- let T = "";
2616
- a(34, Oe = !0), J[H].forEach((ee) => {
2617
- T = T + (T ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
2618
- }), k.searchParams.append("filter", `${T}`);
2619
- } else
2620
- a(34, Oe = !1);
2621
- U && (U[l] ? U[l] && U[l] != "All" && (U[l] == "isNew" || U[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${U[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${U[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: I }).then((T) => {
2622
- if (!T.ok)
2623
- throw T.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${T.status}`);
2624
- return T.json();
2625
- }).then((T) => {
2626
- I.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (T = T.items.filter((ee) => {
2627
- if (ee.id == l)
2628
- return ee;
2629
- })[0]), a(54, qe = !0), a(26, Ue = !1), Be = T.games.total, E && T.games.items.forEach((ee) => {
2630
- ee.isFavorite = V(ee.id);
2631
- }), a(36, oe = !0), W(T));
2632
- }).catch((T) => {
2633
- T.name !== "AbortError" && (a(26, Ue = !0), console.error(T), Ha(T));
2634
- }).finally(() => {
2635
- Sa();
2636
- });
2637
- });
2638
- }, _e = (l, _, w) => new Promise((E, I) => {
2639
- f == "true" ? ya(m, u).then((A) => {
2640
- Qe(l, _, w, A).then((k) => {
2641
- E(k);
2642
- });
2643
- }) : Qe(l, _, w, null).then((A) => {
2644
- E(A);
2645
- });
2646
- }), Sa = () => {
2647
- const l = Y.getRootNode().host;
2648
- l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2649
- }, Fa = (l, _, w) => {
2650
- l !== "" && (a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, ue = !1), Me = !1, a(30, $ = +_ > +w), _e(l, 0, +_).then((E) => {
2651
- a(28, j = E), a(29, M = j.games.items), M && M.forEach((I) => {
2652
- I.isFavorite = V(I.id);
2653
- });
2654
- }));
2655
- }, Ye = (l) => {
2656
- if (l.data)
2657
- switch (l.data.type) {
2658
- case "MostPlayedData":
2659
- v == "MOSTPLAYED" && (a(31, Z = !1), a(27, X = !1), a(30, $ = !1), a(29, M = l.data.mostPlayedGames), a(28, j = {
2660
- id: "MOSTPLAYED",
2661
- name: "Most Played Games",
2662
- games: {
2663
- count: l.data.mostPlayedGames.length,
2664
- total: l.data.mostPlayedGames.length,
2665
- items: l.data.mostPlayedGames
2666
- }
2667
- }), M && M.forEach((_) => {
2668
- _.isFavorite = V(_.id);
2669
- })), a(25, x = !1);
2670
- break;
2671
- case "LastPlayedData":
2672
- v == "LASTPLAYED" && (a(31, Z = !1), a(27, X = !1), a(30, $ = !1), a(29, M = l.data.lastPlayedGames), a(28, j = {
2673
- id: "LASTPLAYED",
2674
- name: "Last Played Games",
2675
- games: {
2676
- count: l.data.lastPlayedGames.length,
2677
- total: l.data.lastPlayedGames.length,
2678
- items: l.data.lastPlayedGames
2679
- }
2680
- }), M && M.forEach((_) => {
2681
- _.isFavorite = V(_.id);
2682
- })), a(25, x = !1);
2683
- break;
2684
- case "RecentSearchData":
2685
- a(31, Z = !0), a(32, Ce = !0), l.data.searchData.length > 0 ? (a(29, M = l.data.searchData), a(35, He = !0), M && M.forEach((_) => {
2686
- _.isFavorite = V(_.id);
2687
- })) : (a(29, M = []), a(35, He = !1));
2688
- break;
2689
- case "OutOfRecentSearches":
2690
- a(31, Z = !1), a(32, Ce = !1);
2691
- break;
2692
- case "SearchData":
2693
- a(31, Z = !0), a(32, Ce = !1), a(29, M = l.data.searchData.items || []), a(33, ue = !0), l.data.receivedFavoriteResults && (L = l.data.receivedFavoriteResults.items), M && M.forEach((_) => {
2694
- _.isFavorite = V(_.id);
2695
- });
2696
- break;
2697
- case `CategoryData_${v}`:
2698
- a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, ue = !1), Me = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2699
- a(28, j = _), a(29, M = j.games.items), a(30, $ = !!(Be <= l.data.visiblegames && X)), M && M.forEach((w) => {
2700
- w.isFavorite = V(w.id);
2701
- });
2702
- });
2703
- break;
2704
- case "CategoryChange":
2705
- ne = 20;
2706
- break;
2707
- case "ApplySorter":
2708
- a(0, v = l.data.itemId), te = l.data.sortBy, _e(v, 0, ne).then((_) => {
2709
- a(28, j = _), a(29, M = j.games.items), a(30, $ = !1);
2710
- });
2711
- break;
2712
- case "CategoryUpdate":
2713
- xe(l.data.itemId);
2714
- break;
2715
- case `SetUnfavoredGame${v}`:
2716
- Ma(`${o}/v1/player/${u}/favorites`, m, l.data.id);
2717
- break;
2718
- case `SetFavoredGame${v}`:
2719
- Ca(`${o}/v1/player/${u}/favorites`, m, l.data.id);
2720
- break;
2721
- case "UserSessionID":
2722
- Fe = l.data.session, Ge = l.data.userID, f == "true" && Ge && Ge.length && Fe && Fe.length > 0 && We(Fe, Ge);
2723
- break;
2724
- case "UpdateFavoredList":
2725
- v === "FAVORITES" && $e(l.data.url, l.data.sessionID);
2726
- break;
2727
- }
2728
- }, xe = (l, _ = !1) => {
2729
- a(31, Z = !1), a(27, X = Pe === "true"), a(33, ue = !1), Me = !0, a(36, oe = !1), a(0, v = l), v !== "MOSTPLAYED" && !_ && a(30, $ = !1), q !== "true" && (!L && m && We(m, u), _e(v, 0, ne).then((w) => {
2730
- var E;
2731
- a(28, j = w), (E = j == null ? void 0 : j.games) == null || E.items.forEach((I) => {
2732
- I.isFavorite = V(I.id);
2733
- }), a(29, M = j == null ? void 0 : j.games.items);
2734
- }).finally(
2735
- /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
2736
- if (shownCategoryData?.length < 10 && e.data.origin ==! 'filters') {
2737
- scrollTop = true;
2738
- setTimeout(() => {
2739
- window.postMessage({ type: 'WidgetTopReference', scrollTop }, window.location.href);
2740
- }, 500);
2741
- }*/
2742
- () => {
2743
- X && window.postMessage(
2744
- {
2745
- type: `CategoryData_${v}`,
2746
- categoryId: v,
2747
- visiblegames: De
2748
- },
2749
- window.location.href
2750
- );
2751
- }
2752
- ));
2753
- }, Ga = () => {
2754
- j && (a(29, M = j.games.items), M.forEach((l) => {
2755
- l.isFavorite = V(l.id);
2756
- }));
2757
- }, V = (l) => {
2758
- var _;
2759
- return (_ = L == null ? void 0 : L.some((w) => w.id === l)) != null ? _ : !1;
2760
- };
2761
- let Ca = (l, _, w) => Ie(this, null, function* () {
2762
- yield $e(l, _), B.includes(w) || B.push(w);
2763
- let I = {
2764
- method: "POST",
2765
- headers: {
2766
- "X-SessionID": _,
2767
- "Content-Type": "application/json",
2768
- Accept: "application/json"
2769
- },
2770
- body: JSON.stringify({ items: B })
2771
- };
2772
- fetch(l, I).then((A) => A.json()).then(() => {
2773
- window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href), window.postMessage({
2774
- type: "UpdateFavoredList",
2775
- url: l,
2776
- sessionID: _
2777
- });
2778
- }).catch((A) => {
2779
- console.error("Err", A);
2780
- });
2781
- });
2782
- const Ma = (l, _, w) => {
2783
- let E = {
2784
- method: "DELETE",
2785
- headers: { "X-SessionID": _ }
2786
- };
2787
- fetch(`${l}/${w}`, E).then((I) => I.json()).then(() => {
2788
- window.postMessage(
2789
- {
2790
- type: `RemoveFavoriteThumbnail_${w}`
2791
- },
2792
- window.location.href
2793
- ), window.postMessage({
2794
- type: "UpdateFavoredList",
2795
- url: l,
2796
- sessionID: _
2797
- });
2798
- }), B.includes(w) && (B = B.filter((I) => I != w));
2799
- }, $e = (l, _) => Ie(this, null, function* () {
2800
- return fetch(l, {
2801
- method: "GET",
2802
- headers: { "X-SessionID": _ }
2803
- }).then((E) => E.json()).then((E) => {
2804
- var A;
2805
- L = E.items, me ? (L.forEach((k) => {
2806
- B.includes(k.id) || B.push(k.id);
2807
- }), Ga()) : L.forEach((k) => {
2808
- k.isFavorite = V(k.id);
2809
- });
2810
- const I = (A = je(L)) == null ? void 0 : A.length;
2811
- v === "FAVORITES" && (window.postMessage({
2812
- type: "UpdateFavoritesCount",
2813
- favoriteGamesLength: I
2814
- }), Je(L));
2815
- }).catch((E) => {
2816
- console.error(E);
2817
- });
2818
- }), Je = (l) => {
2819
- if (!l)
2820
- return;
2821
- let _;
2822
- _ = (l == null ? void 0 : l.items) || l || [], _.length > 0 && _.forEach((w) => {
2823
- w.gameModel && (w.gameModel.isFavorite = !0);
2824
- }), a(42, se.items = je(_, se.items), se), a(42, se.name = "Favorites", se), a(25, x = !1);
2825
- }, za = (l) => {
2826
- ne += 1, a(36, oe = !0), ne <= Be && _e(l, Ai, ne).then((_) => {
2827
- a(28, j = _), j.games.items.length > M.length && (a(29, M = j.games.items), M.forEach((w) => {
2828
- w.isFavorite = V(w.id);
2829
- })), a(36, oe = !1);
2830
- });
2831
- }, Ea = (l) => {
2832
- const _ = l != null ? l : [];
2833
- if ((_ == null ? void 0 : _.length) === 0)
2834
- return "";
2835
- let w = "", E = 999999999999, I;
2836
- const A = new Date(Date.now());
2837
- return _.forEach((k, J) => {
2838
- const U = new Date(k.schedules[0].startTime), H = new Date(k.schedules[0].endTime);
2839
- Le(H).diff(A) < E && (E = Le(H).diff(A), I = J), Le(A).isAfter(U) && Le(A).isBefore(H) && (w = _[I].name);
2840
- }), w;
2841
- }, ea = (l) => {
2842
- a(30, $ = !1), window.postMessage(
2843
- {
2844
- type: `${Re}`,
2845
- itemId: l,
2846
- showallpage: Ae
2847
- },
2848
- window.location.href
2849
- );
2850
- }, Na = () => {
2851
- switch (v) {
2852
- case "FAVORITES":
2853
- u && m && a(39, ge = !0);
2854
- break;
2855
- case "MOSTPLAYED":
2856
- q === "false" && u && m && a(39, ge = !1);
2857
- break;
2858
- case "LASTPLAYED":
2859
- q === "false" && u && m && a(39, ge = !1);
2860
- break;
2861
- default:
2862
- xe(v, !0);
2863
- break;
2864
- }
2865
- }, Ia = () => {
2866
- document[ze] ? a(41, Ve = "disconnect") : a(41, Ve = "connect");
2867
- }, ja = () => {
2868
- Me && de.forEach((l, _) => {
2869
- l && (l.elems_index = _, Ne.observe(l));
2870
- });
2871
- }, La = () => {
2872
- oi(r);
2873
- };
2874
- Xa(() => {
2875
- Ne == null || Ne.disconnect();
2876
- }), Za(() => (window.addEventListener("visibilitychange", (l) => Ia()), window.addEventListener("message", Ye, !1), () => {
2877
- window.removeEventListener("message", Ye), window.removeEventListener("visibilitychange", Ye);
2878
- }));
2879
- function Aa(l) {
2880
- le[l ? "unshift" : "push"](() => {
2881
- fe = l, a(38, fe);
2882
- });
2883
- }
2884
- const Ra = (l) => ea(j.id);
2885
- function Ta(l, _) {
2886
- le[l ? "unshift" : "push"](() => {
2887
- de[_] = l, a(24, de);
2888
- });
2889
- }
2890
- function Pa(l) {
2891
- le[l ? "unshift" : "push"](() => {
2892
- ce = l, a(37, ce);
2893
- });
2894
- }
2895
- function Da(l) {
2896
- le[l ? "unshift" : "push"](() => {
2897
- fe = l, a(38, fe);
2898
- });
2899
- }
2900
- function Ua(l) {
2901
- le[l ? "unshift" : "push"](() => {
2902
- ce = l, a(37, ce);
2903
- });
2904
- }
2905
- function Oa(l) {
2906
- le[l ? "unshift" : "push"](() => {
2907
- Y = l, a(23, Y);
2908
- });
2909
- }
2910
- return i.$$set = (l) => {
2911
- "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, G = l.translationurl), "currency" in l && a(12, N = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, P = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, q = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Ke = l.filterbylogo), "casinogamesgridslider" in l && a(20, Xe = l.casinogamesgridslider), "fetchviaevent" in l && a(47, me = l.fetchviaevent), "showallpage" in l && a(48, Ae = l.showallpage), "actionevent" in l && a(49, Re = l.actionevent), "displayedgamecount" in l && a(50, ke = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ye = l.showallbuttongamescount), "mbsource" in l && a(21, Te = l.mbsource), "lobbyscreen" in l && a(52, Pe = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
2912
- }, i.$$.update = () => {
2913
- i.$$.dirty[0] & /*lang*/
2914
- 32 && r && La(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
2915
- 57 | i.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
2916
- 1638400 && (me === "false" || me === "") && o && r && v && s && ke && ye && Fa(v, ke, ye), i.$$.dirty[0] & /*favorites, endpoint, session, userid*/
2917
- 456 && f === "true" && o && m && u && We(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
2918
- 16777216 | i.$$.dirty[1] & /*dataloaded*/
2919
- 8388608 && qe && de && ja(), i.$$.dirty[0] & /*lang, categoryid*/
2920
- 33 && r && v && Na(), i.$$.dirty[0] & /*translationurl*/
2921
- 2048 && G && ka(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2922
- 8389120 && h && Y && $a(Y, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2923
- 8389632 && p && Y && ei(Y, p), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
2924
- 10485760 && Y && ai(Y, `${Te}.Style`);
2925
- }, [
2926
- v,
2927
- ve,
2928
- we,
2929
- o,
2930
- s,
2931
- r,
2932
- m,
2933
- u,
2934
- f,
2935
- h,
2936
- p,
2937
- G,
2938
- N,
2939
- g,
2940
- c,
2941
- P,
2942
- R,
2943
- b,
2944
- q,
2945
- Ke,
2946
- Xe,
2947
- Te,
2948
- Se,
2949
- Y,
2950
- de,
2951
- x,
2952
- Ue,
2953
- X,
2954
- j,
2955
- M,
2956
- $,
2957
- Z,
2958
- Ce,
2959
- ue,
2960
- Oe,
2961
- He,
2962
- oe,
2963
- ce,
2964
- fe,
2965
- ge,
2966
- he,
2967
- Ve,
2968
- se,
2969
- n,
2970
- Ze,
2971
- Ea,
2972
- ea,
2973
- me,
2974
- Ae,
2975
- Re,
2976
- ke,
2977
- ye,
2978
- Pe,
2979
- De,
2980
- qe,
2981
- Aa,
2982
- Ra,
2983
- Ta,
2984
- Pa,
2985
- Da,
2986
- Ua,
2987
- Oa
2988
- ];
2989
- }
2990
- class Ti extends qa {
2991
- constructor(e) {
2992
- super(), Wa(
2993
- this,
2994
- e,
2995
- Ri,
2996
- Li,
2997
- Ya,
2998
- {
2999
- endpoint: 3,
3000
- datasource: 4,
3001
- lang: 5,
3002
- session: 6,
3003
- userid: 7,
3004
- favorites: 8,
3005
- clientstyling: 9,
3006
- clientstylingurl: 10,
3007
- translationurl: 11,
3008
- currency: 12,
3009
- categoryid: 0,
3010
- showgamename: 13,
3011
- livecasino: 14,
3012
- gamepagemodalurl: 15,
3013
- integratedgameframedesktop: 16,
3014
- integratedgameframemobile: 17,
3015
- casinomygames: 18,
3016
- addfilterselector: 1,
3017
- addsortingselector: 2,
3018
- filterbylogo: 19,
3019
- casinogamesgridslider: 20,
3020
- fetchviaevent: 47,
3021
- showallpage: 48,
3022
- actionevent: 49,
3023
- displayedgamecount: 50,
3024
- showallbuttongamescount: 51,
3025
- mbsource: 21,
3026
- lobbyscreen: 52,
3027
- usesinglevendorfilter: 22,
3028
- visiblegames: 53
3029
- },
3030
- si,
3031
- [-1, -1, -1, -1]
3032
- );
3033
- }
3034
- get endpoint() {
3035
- return this.$$.ctx[3];
3036
- }
3037
- set endpoint(e) {
3038
- this.$$set({ endpoint: e }), z();
3039
- }
3040
- get datasource() {
3041
- return this.$$.ctx[4];
3042
- }
3043
- set datasource(e) {
3044
- this.$$set({ datasource: e }), z();
3045
- }
3046
- get lang() {
3047
- return this.$$.ctx[5];
3048
- }
3049
- set lang(e) {
3050
- this.$$set({ lang: e }), z();
3051
- }
3052
- get session() {
3053
- return this.$$.ctx[6];
3054
- }
3055
- set session(e) {
3056
- this.$$set({ session: e }), z();
3057
- }
3058
- get userid() {
3059
- return this.$$.ctx[7];
3060
- }
3061
- set userid(e) {
3062
- this.$$set({ userid: e }), z();
3063
- }
3064
- get favorites() {
3065
- return this.$$.ctx[8];
3066
- }
3067
- set favorites(e) {
3068
- this.$$set({ favorites: e }), z();
3069
- }
3070
- get clientstyling() {
3071
- return this.$$.ctx[9];
3072
- }
3073
- set clientstyling(e) {
3074
- this.$$set({ clientstyling: e }), z();
3075
- }
3076
- get clientstylingurl() {
3077
- return this.$$.ctx[10];
3078
- }
3079
- set clientstylingurl(e) {
3080
- this.$$set({ clientstylingurl: e }), z();
3081
- }
3082
- get translationurl() {
3083
- return this.$$.ctx[11];
3084
- }
3085
- set translationurl(e) {
3086
- this.$$set({ translationurl: e }), z();
3087
- }
3088
- get currency() {
3089
- return this.$$.ctx[12];
3090
- }
3091
- set currency(e) {
3092
- this.$$set({ currency: e }), z();
3093
- }
3094
- get categoryid() {
3095
- return this.$$.ctx[0];
3096
- }
3097
- set categoryid(e) {
3098
- this.$$set({ categoryid: e }), z();
3099
- }
3100
- get showgamename() {
3101
- return this.$$.ctx[13];
3102
- }
3103
- set showgamename(e) {
3104
- this.$$set({ showgamename: e }), z();
3105
- }
3106
- get livecasino() {
3107
- return this.$$.ctx[14];
3108
- }
3109
- set livecasino(e) {
3110
- this.$$set({ livecasino: e }), z();
3111
- }
3112
- get gamepagemodalurl() {
3113
- return this.$$.ctx[15];
3114
- }
3115
- set gamepagemodalurl(e) {
3116
- this.$$set({ gamepagemodalurl: e }), z();
3117
- }
3118
- get integratedgameframedesktop() {
3119
- return this.$$.ctx[16];
3120
- }
3121
- set integratedgameframedesktop(e) {
3122
- this.$$set({ integratedgameframedesktop: e }), z();
3123
- }
3124
- get integratedgameframemobile() {
3125
- return this.$$.ctx[17];
3126
- }
3127
- set integratedgameframemobile(e) {
3128
- this.$$set({ integratedgameframemobile: e }), z();
3129
- }
3130
- get casinomygames() {
3131
- return this.$$.ctx[18];
3132
- }
3133
- set casinomygames(e) {
3134
- this.$$set({ casinomygames: e }), z();
3135
- }
3136
- get addfilterselector() {
3137
- return this.$$.ctx[1];
3138
- }
3139
- set addfilterselector(e) {
3140
- this.$$set({ addfilterselector: e }), z();
3141
- }
3142
- get addsortingselector() {
3143
- return this.$$.ctx[2];
3144
- }
3145
- set addsortingselector(e) {
3146
- this.$$set({ addsortingselector: e }), z();
3147
- }
3148
- get filterbylogo() {
3149
- return this.$$.ctx[19];
3150
- }
3151
- set filterbylogo(e) {
3152
- this.$$set({ filterbylogo: e }), z();
3153
- }
3154
- get casinogamesgridslider() {
3155
- return this.$$.ctx[20];
3156
- }
3157
- set casinogamesgridslider(e) {
3158
- this.$$set({ casinogamesgridslider: e }), z();
3159
- }
3160
- get fetchviaevent() {
3161
- return this.$$.ctx[47];
3162
- }
3163
- set fetchviaevent(e) {
3164
- this.$$set({ fetchviaevent: e }), z();
3165
- }
3166
- get showallpage() {
3167
- return this.$$.ctx[48];
3168
- }
3169
- set showallpage(e) {
3170
- this.$$set({ showallpage: e }), z();
3171
- }
3172
- get actionevent() {
3173
- return this.$$.ctx[49];
3174
- }
3175
- set actionevent(e) {
3176
- this.$$set({ actionevent: e }), z();
3177
- }
3178
- get displayedgamecount() {
3179
- return this.$$.ctx[50];
3180
- }
3181
- set displayedgamecount(e) {
3182
- this.$$set({ displayedgamecount: e }), z();
3183
- }
3184
- get showallbuttongamescount() {
3185
- return this.$$.ctx[51];
3186
- }
3187
- set showallbuttongamescount(e) {
3188
- this.$$set({ showallbuttongamescount: e }), z();
3189
- }
3190
- get mbsource() {
3191
- return this.$$.ctx[21];
3192
- }
3193
- set mbsource(e) {
3194
- this.$$set({ mbsource: e }), z();
3195
- }
3196
- get lobbyscreen() {
3197
- return this.$$.ctx[52];
3198
- }
3199
- set lobbyscreen(e) {
3200
- this.$$set({ lobbyscreen: e }), z();
3201
- }
3202
- get usesinglevendorfilter() {
3203
- return this.$$.ctx[22];
3204
- }
3205
- set usesinglevendorfilter(e) {
3206
- this.$$set({ usesinglevendorfilter: e }), z();
3207
- }
3208
- get visiblegames() {
3209
- return this.$$.ctx[53];
3210
- }
3211
- set visiblegames(e) {
3212
- this.$$set({ visiblegames: e }), z();
3213
- }
3214
- }
3215
- ii(Ti, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, mbsource: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {} }, [], [], !0);
3216
- export {
3217
- Ti as default
3218
- };