@everymatrix/casino-my-games 1.44.0 → 1.45.2

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