@everymatrix/casino-my-games-nd 1.87.25 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/CasinoFavoritesSectionNd-B2O5ZJ7U.js +465 -0
  2. package/components/CasinoFavoritesSectionNd-C_IhNI6X.js +465 -0
  3. package/components/CasinoFavoritesSectionNd-Cdy5njPd.cjs +1 -0
  4. package/components/CasinoFilter-BHp-ceif.js +644 -0
  5. package/components/CasinoFilter-BxbOeQca.cjs +1 -0
  6. package/components/CasinoFilter-CZ5MibUb.js +645 -0
  7. package/components/CasinoGameThumbnailNd-CvwOiPVg.cjs +30 -0
  8. package/components/CasinoGameThumbnailNd-DF51S3O0.js +1825 -0
  9. package/components/CasinoGameThumbnailNd-DoWO2XT4.js +1841 -0
  10. package/components/CasinoGamesCategorySectionNd-BCRe5jM4.cjs +1 -0
  11. package/components/CasinoGamesCategorySectionNd-COK29j6T.js +4644 -0
  12. package/components/CasinoGamesCategorySectionNd-o6TspFsQ.js +4611 -0
  13. package/components/{CasinoLastPlayedSectionNd-BNqrgb0a.js → CasinoLastPlayedSectionNd-7Wrhf-Cs.js} +71 -72
  14. package/components/{CasinoLastPlayedSectionNd-BlqDt6rh.js → CasinoLastPlayedSectionNd-DLZwmT_F.js} +71 -72
  15. package/components/CasinoLastPlayedSectionNd-DZ6Cs4tA.cjs +1 -0
  16. package/components/CasinoMostPlayedSectionNd-D3f36lEH.cjs +1 -0
  17. package/components/{CasinoMostPlayedSectionNd-BBa-HSUH.js → CasinoMostPlayedSectionNd-DTY09L5X.js} +92 -93
  18. package/components/{CasinoMostPlayedSectionNd-cnY_XdFa.js → CasinoMostPlayedSectionNd-EUGxyFvb.js} +92 -93
  19. package/components/CasinoMyGamesNd-BpPfnub_.cjs +18 -0
  20. package/components/CasinoMyGamesNd-DXMMIiZf.js +5854 -0
  21. package/components/CasinoMyGamesNd-L5aDat7v.js +5811 -0
  22. package/components/{CasinoSort-1CGgZmtY.js → CasinoSort-Bt1yZsWS.js} +103 -103
  23. package/components/{CasinoSort-DnexQ1Yk.js → CasinoSort-CivOK-Iv.js} +102 -102
  24. package/components/CasinoSort-CxMfIVPn.cjs +1 -0
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +7 -7
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CasinoFavoritesSectionNd-BeNK2H3t.cjs +0 -3
  30. package/components/CasinoFavoritesSectionNd-CW_9L0KX.js +0 -4402
  31. package/components/CasinoFavoritesSectionNd-Df7AsFyl.js +0 -4365
  32. package/components/CasinoFilter-B5ctcxIi.js +0 -1185
  33. package/components/CasinoFilter-BAF26Qks.cjs +0 -16
  34. package/components/CasinoFilter-CkDqcbsE.js +0 -1184
  35. package/components/CasinoGameThumbnailNd-BC4qO6Wv.cjs +0 -30
  36. package/components/CasinoGameThumbnailNd-Cf0yYAlm.js +0 -3122
  37. package/components/CasinoGameThumbnailNd-krS0hcHc.js +0 -3106
  38. package/components/CasinoGamesCategorySectionNd--26wgDSA.js +0 -3371
  39. package/components/CasinoGamesCategorySectionNd-CAPj_mei.cjs +0 -1
  40. package/components/CasinoGamesCategorySectionNd-CcHVOCjP.js +0 -3338
  41. package/components/CasinoLastPlayedSectionNd-BiN-eLjS.cjs +0 -1
  42. package/components/CasinoMostPlayedSectionNd-xhyYFecB.cjs +0 -1
  43. package/components/CasinoMyGamesNd-BuINvDGu.js +0 -1351
  44. package/components/CasinoMyGamesNd-CteUrSBV.js +0 -1350
  45. package/components/CasinoMyGamesNd-DOYU176c.cjs +0 -1
  46. package/components/CasinoSort-ChRHQzFr.cjs +0 -1
@@ -0,0 +1,4611 @@
1
+ import { q as vt, $ as pt, S as _t, i as bt, s as wt, f as z, b as yt, n as we, d as S, e as M, g as G, h as v, t as kt, z as Ct, o as St, u as Mt, A as qe, k as _e, B as re, r as C, C as K, D as Ee, x as Gt, v as V, w as A, E as ye, F as Ra, j as o, G as La, H as Ft, I as va, J as Tt, K as le, l as zt, m as Ot, p as Dt, c as Et, y as Pt } from "./CasinoMyGamesNd-L5aDat7v.js";
2
+ function Nt(t, e) {
3
+ vt(t, e);
4
+ }
5
+ function It(t) {
6
+ pt.set(t);
7
+ }
8
+ const Ut = {
9
+ en: {
10
+ showMore: "More",
11
+ viewAll: "Show all",
12
+ searchedItems: "Search result",
13
+ recentSearchedItems: "Recently searched",
14
+ favorites: "Favorites",
15
+ noRecentSearch: "No search started yet. Simply search for a game.",
16
+ noResults: "Sorry, no results found. Please try again.",
17
+ noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
18
+ noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
19
+ noFavoritesTitle: "You do not have any favored games yet.",
20
+ waiting: "Waiting",
21
+ playNow: "Start now!",
22
+ new: "NEW",
23
+ hot: "Hot",
24
+ opens: "Opens",
25
+ full: "table full - bet behind",
26
+ dealer: "Dealer"
27
+ },
28
+ "zh-hk": {
29
+ showMore: "更多的",
30
+ viewAll: "顯示所有",
31
+ searchedItems: "搜索結果",
32
+ recentSearchedItems: "最近搜索過",
33
+ favorites: "收藏夹",
34
+ noRecentSearch: "尚未開始搜索。 只需搜索遊戲。",
35
+ noResults: "抱歉,沒有找到結果。 請再試一次。",
36
+ noFavoritesMobile: "您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",
37
+ noFavorites: "您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",
38
+ noFavoritesTitle: "您還沒有任何喜歡的遊戲。",
39
+ waiting: "等待",
40
+ playNow: "現在開始!",
41
+ new: "新的",
42
+ hot: "熱的",
43
+ opens: "打開",
44
+ full: "滿桌 - 下注",
45
+ dealer: "經銷商"
46
+ },
47
+ de: {
48
+ showMore: "Mehr",
49
+ viewAll: "Alle anzeigen",
50
+ searchedItems: "Ergebnis suchen",
51
+ recentSearchedItems: "Zuletzt gesucht",
52
+ noRecentSearch: "Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",
53
+ noResults: "Sorry, no results found. Please try again.",
54
+ noFavoritesMobile: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
55
+ noFavorites: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
56
+ noFavoritesTitle: "You do not have any favored games yet.",
57
+ waiting: "Waiting",
58
+ playNow: "Jetzt beginnen!",
59
+ new: "NEU",
60
+ hot: "Hot",
61
+ opens: "Öffnet",
62
+ full: "full - bet behind",
63
+ dealer: "Dealer"
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
+ playNow: "Inizia ora!",
73
+ new: "NOVITÀ",
74
+ hot: "HOT",
75
+ opens: "Opens",
76
+ full: "table full - bet behind",
77
+ dealer: "Dealer"
78
+ },
79
+ fr: {
80
+ showMore: "Plus de",
81
+ viewAll: "Afficher tous",
82
+ searchedItems: "Recherche du resultat",
83
+ recentSearchedItems: "Recherches récentes",
84
+ favorites: "Favoris",
85
+ noRecentSearch: "Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",
86
+ noResults: "Désolé , aucun résultat trouvé.veuillez réessayer.",
87
+ noFavoritesMobile: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",
88
+ 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",
89
+ noFavoritesTitle: "Vous n'avez pas encore de jeux favoris.",
90
+ waiting: "Attente",
91
+ playNow: "Commencez maintenant",
92
+ new: "Nouveau",
93
+ hot: "Chaud",
94
+ opens: "Ouvre",
95
+ full: "Table pleine - pari derrière",
96
+ dealer: "Concessionnaire"
97
+ },
98
+ es: {
99
+ showMore: "Más",
100
+ viewAll: "Mostrar todas",
101
+ searchedItems: "Resultado de busqueda",
102
+ recentSearchedItems: "Buscado recientemente",
103
+ favorites: "Favoritos",
104
+ noRecentSearch: "Aún no inicia busqueda. Solo busque un juego",
105
+ noResults: "Disculpe",
106
+ noFavoritesMobile: "Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",
107
+ noFavorites: "Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",
108
+ noFavoritesTitle: "No tiene juegos Favoritos aún",
109
+ waiting: "Cargando",
110
+ playNow: "Juega ahora!",
111
+ new: "NUEVO",
112
+ hot: "HOT",
113
+ opens: "Abiertas",
114
+ full: "Mesa llena - Apostar de pie",
115
+ dealer: "Dealer"
116
+ },
117
+ tr: {
118
+ showMore: "Daha fazla",
119
+ viewAll: "Hepsini göster",
120
+ searchedItems: "Arama sonucu",
121
+ recentSearchedItems: "Son Aranan Öğeler",
122
+ noRecentSearch: "Henüz arama başlamadı. Sadece bir oyun arayın.",
123
+ noResults: "Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",
124
+ favorites: "Favoriler",
125
+ noFavoritesMobile: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
126
+ noFavorites: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
127
+ noFavoritesTitle: "Henüz favori oyunlarınız yok.",
128
+ waiting: "Bekleniyor",
129
+ playNow: "ŞİMDİ OYNA",
130
+ new: "YENİ",
131
+ hot: "Sıcak",
132
+ opens: "Açılıyor",
133
+ full: "masa dolu - arkadan bahis",
134
+ dealer: "Krupiye"
135
+ },
136
+ ru: {
137
+ showMore: "Показать больше",
138
+ viewAll: "Посмотреть все",
139
+ searchedItems: "Искомые товары",
140
+ recentSearchedItems: "Недавние поисковые запросы",
141
+ noRecentSearch: "Поиск еще не начался. Просто найдите игру.",
142
+ noResults: "Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",
143
+ playNow: "Играть сейчас",
144
+ new: "НОВАЯ",
145
+ hot: "ГОРЯЧЕЙ",
146
+ opens: "Opens",
147
+ full: "table full - bet behind",
148
+ dealer: "Dealer"
149
+ },
150
+ ro: {
151
+ showMore: "Arata mai mult",
152
+ viewAll: "Vezi toate",
153
+ searchedItems: "Rezultatele cautarii",
154
+ recentSearchedItems: "Cautari recente",
155
+ favorites: "Favorite",
156
+ noRecentSearch: "Nici o căutare nu a început încă. Pur și simplu căutați un joc.",
157
+ noResults: "Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",
158
+ noFavoritesMobile: "Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",
159
+ noFavorites: "Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",
160
+ noFavoritesTitle: "Nu aveți încă niciun joc preferat.",
161
+ waiting: "Aşteptare",
162
+ playNow: "Joaca acum",
163
+ new: "NOU",
164
+ hot: "POPULAR",
165
+ opens: "Opens",
166
+ full: "table full - bet behind",
167
+ dealer: "Dealer"
168
+ },
169
+ hr: {
170
+ showMore: "Više",
171
+ viewAll: "Prikaži sve",
172
+ searchedItems: "Rezultat pretrage",
173
+ recentSearchedItems: "Nedavno pretraživano",
174
+ noRecentSearch: "Još nije započela pretraga. Jednostavno pretražite igru.",
175
+ noResults: "Žao nema rezultata",
176
+ favorites: "Favoriti",
177
+ noFavoritesMobile: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
178
+ noFavorites: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
179
+ noFavoritesTitle: "Još nemate nijednu omiljenu igru.",
180
+ waiting: "Čekanje",
181
+ playNow: "Igraj",
182
+ new: "NOVO",
183
+ hot: "Hot",
184
+ opens: "Otvara se",
185
+ full: "stol pun - uložite iza",
186
+ dealer: "Djelitelj"
187
+ },
188
+ hu: {
189
+ showMore: "Több",
190
+ viewAll: "Az összes megjelenítése",
191
+ searchedItems: "Keresés eredménye",
192
+ recentSearchedItems: "Legutóbb keresett",
193
+ noRecentSearch: "A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",
194
+ noResults: "Sajnos nincs találat. Kérjük próbálja újra.",
195
+ playNow: "Játsszon most!",
196
+ new: "ÚJ",
197
+ hot: "Hot",
198
+ opens: "Opens",
199
+ full: "table full - bet behind",
200
+ dealer: "Dealer"
201
+ },
202
+ pl: {
203
+ showMore: "Więcej",
204
+ viewAll: "Pokaż wszystkie",
205
+ searchedItems: "Wynik wyszukiwania",
206
+ recentSearchedItems: "Ostatnio wyszukiwane",
207
+ noRecentSearch: "Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",
208
+ noResults: "Przepraszamy, brak wyników. Prosimy spróbować ponownie.",
209
+ playNow: "Rozpocznij teraz!",
210
+ new: "NOWOŚĆ",
211
+ hot: "Hot",
212
+ opens: "Opens",
213
+ full: "table full - bet behind",
214
+ dealer: "Dealer"
215
+ },
216
+ pt: {
217
+ showMore: "Mais",
218
+ viewAll: "Mostre tudo",
219
+ searchedItems: "Resultado da pesquisa",
220
+ recentSearchedItems: "Pesquisado recentemente",
221
+ favorites: "Favorito",
222
+ noRecentSearch: "Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",
223
+ noResults: "Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",
224
+ noFavoritesMobile: "Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",
225
+ noFavorites: "Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",
226
+ noFavoritesTitle: "Você ainda não tem nenhum jogo favorito.",
227
+ waiting: "Aguardando",
228
+ playNow: "Comece agora!",
229
+ new: "NOVO",
230
+ hot: "Hot",
231
+ opens: "Abrir",
232
+ full: "Mesa cheia - aposta atrás",
233
+ dealer: "Dealer"
234
+ },
235
+ sl: {
236
+ showMore: "Več",
237
+ viewAll: "Prikaži vse",
238
+ searchedItems: "Rezultati iskanja",
239
+ recentSearchedItems: "Nedavno iskanje",
240
+ noRecentSearch: "Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",
241
+ noResults: "Oprostite, ni rezultata. Prosimo poizkusite ponovno.",
242
+ playNow: "Začnite zdaj!",
243
+ new: "NOVO",
244
+ hot: "Vroče",
245
+ opens: "Opens",
246
+ full: "table full - bet behind",
247
+ dealer: "Dealer"
248
+ },
249
+ sr: {
250
+ showMore: "Više",
251
+ viewAll: "Prikaži sve",
252
+ searchedItems: "Pretraži rezultat",
253
+ recentSearchedItems: "Zadnja pretraga",
254
+ noRecentSearch: "Još nije pokrenuta pretraga. Jednostavno pretraži igre.",
255
+ noResults: "Žao nam je, nema pogodaka. Pokušaj ponovo.",
256
+ playNow: "Započnite sada!",
257
+ new: "NOVO",
258
+ hot: "Vruće",
259
+ opens: "Opens",
260
+ full: "table full - bet behind",
261
+ dealer: "Dealer"
262
+ },
263
+ "pt-br": {
264
+ noResults: "Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",
265
+ noFavoritesMobile: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
266
+ noFavorites: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
267
+ noFavoritesTitle: "Você ainda não tem jogos selecionados como favoritos",
268
+ waiting: "Esperando",
269
+ playNow: "Comece agora!",
270
+ new: "NOVOS",
271
+ hot: "Popular",
272
+ opens: "Abre",
273
+ full: "mesa completa-aposte seguindo",
274
+ dealer: "Dealer"
275
+ },
276
+ "es-mx": {
277
+ showMore: "Mostrar más",
278
+ viewAll: "Mostrar todo",
279
+ searchedItems: "Resultados de búsqueda",
280
+ recentSearchedItems: "Búsquedas recientes",
281
+ favorites: "Favoritos",
282
+ noRecentSearch: "No ha realizado alguna búsqueda. Simplemente busque algún juego",
283
+ noResults: "Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",
284
+ noFavoritesMobile: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
285
+ noFavorites: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
286
+ noFavoritesTitle: "Aún not tiene juegos seleccionados como favoritos",
287
+ waiting: "Esperando",
288
+ playNow: "Comenzar ahora!",
289
+ new: "NUEVOS",
290
+ hot: "Popular",
291
+ opens: "Abre",
292
+ full: "mesa llena-seguir apuesta",
293
+ dealer: "Dealer"
294
+ },
295
+ "en-us": {
296
+ showMore: "More",
297
+ viewAll: "Show all",
298
+ searchedItems: "Search result",
299
+ recentSearchedItems: "Recently searched",
300
+ favorites: "Favorites",
301
+ noRecentSearch: "No search started yet. Simply search for a game.",
302
+ noResults: "Sorry, no results found. Please try again.",
303
+ noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
304
+ noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
305
+ noFavoritesTitle: "You do not have any favored games yet.",
306
+ waiting: "Waiting",
307
+ playNow: "Start now!",
308
+ new: "NEW",
309
+ hot: "Hot",
310
+ opens: "Opens",
311
+ full: "table full - bet behind",
312
+ dealer: "Dealer"
313
+ }
314
+ };
315
+ function He(t) {
316
+ "@babel/helpers - typeof";
317
+ return He = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
318
+ return typeof e;
319
+ } : function(e) {
320
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
321
+ }, He(t);
322
+ }
323
+ function he(t) {
324
+ if (t === null || t === !0 || t === !1)
325
+ return NaN;
326
+ var e = Number(t);
327
+ return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
328
+ }
329
+ function j(t, e) {
330
+ if (e.length < t)
331
+ throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
332
+ }
333
+ function H(t) {
334
+ j(1, arguments);
335
+ var e = Object.prototype.toString.call(t);
336
+ return t instanceof Date || He(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
337
+ }
338
+ function Rt(t, e) {
339
+ j(2, arguments);
340
+ var a = H(t).getTime(), n = he(e);
341
+ return new Date(a + n);
342
+ }
343
+ var Lt = {};
344
+ function Xe() {
345
+ return Lt;
346
+ }
347
+ function At(t) {
348
+ var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
349
+ return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
350
+ }
351
+ function jt(t) {
352
+ return j(1, arguments), t instanceof Date || He(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
353
+ }
354
+ function Wt(t) {
355
+ if (j(1, arguments), !jt(t) && typeof t != "number")
356
+ return !1;
357
+ var e = H(t);
358
+ return !isNaN(Number(e));
359
+ }
360
+ function pa(t, e) {
361
+ return j(2, arguments), H(t).getTime() - H(e).getTime();
362
+ }
363
+ function Yt(t, e) {
364
+ j(2, arguments);
365
+ var a = he(e);
366
+ return Rt(t, -a);
367
+ }
368
+ var qt = 864e5;
369
+ function Ht(t) {
370
+ j(1, arguments);
371
+ var e = H(t), a = e.getTime();
372
+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
373
+ var n = e.getTime(), i = a - n;
374
+ return Math.floor(i / qt) + 1;
375
+ }
376
+ function Ve(t) {
377
+ j(1, arguments);
378
+ var e = 1, a = H(t), n = a.getUTCDay(), i = (n < e ? 7 : 0) + n - e;
379
+ return a.setUTCDate(a.getUTCDate() - i), a.setUTCHours(0, 0, 0, 0), a;
380
+ }
381
+ function Aa(t) {
382
+ j(1, arguments);
383
+ var e = H(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
384
+ n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
385
+ var i = Ve(n), r = /* @__PURE__ */ new Date(0);
386
+ r.setUTCFullYear(a, 0, 4), r.setUTCHours(0, 0, 0, 0);
387
+ var s = Ve(r);
388
+ return e.getTime() >= i.getTime() ? a + 1 : e.getTime() >= s.getTime() ? a : a - 1;
389
+ }
390
+ function Vt(t) {
391
+ j(1, arguments);
392
+ var e = Aa(t), a = /* @__PURE__ */ new Date(0);
393
+ a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
394
+ var n = Ve(a);
395
+ return n;
396
+ }
397
+ var Bt = 6048e5;
398
+ function Xt(t) {
399
+ j(1, arguments);
400
+ var e = H(t), a = Ve(e).getTime() - Vt(e).getTime();
401
+ return Math.round(a / Bt) + 1;
402
+ }
403
+ function Be(t, e) {
404
+ var a, n, i, r, s, u, m, c;
405
+ j(1, arguments);
406
+ var g = Xe(), h = he((a = (n = (i = (r = e?.weekStartsOn) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (u = s.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && i !== void 0 ? i : g.weekStartsOn) !== null && n !== void 0 ? n : (m = g.locale) === null || m === void 0 || (c = m.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
407
+ if (!(h >= 0 && h <= 6))
408
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
409
+ var _ = H(t), b = _.getUTCDay(), k = (b < h ? 7 : 0) + b - h;
410
+ return _.setUTCDate(_.getUTCDate() - k), _.setUTCHours(0, 0, 0, 0), _;
411
+ }
412
+ function ja(t, e) {
413
+ var a, n, i, r, s, u, m, c;
414
+ j(1, arguments);
415
+ var g = H(t), h = g.getUTCFullYear(), _ = Xe(), b = he((a = (n = (i = (r = e?.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (u = s.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && i !== void 0 ? i : _.firstWeekContainsDate) !== null && n !== void 0 ? n : (m = _.locale) === null || m === void 0 || (c = m.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
416
+ if (!(b >= 1 && b <= 7))
417
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
418
+ var k = /* @__PURE__ */ new Date(0);
419
+ k.setUTCFullYear(h + 1, 0, b), k.setUTCHours(0, 0, 0, 0);
420
+ var w = Be(k, e), f = /* @__PURE__ */ new Date(0);
421
+ f.setUTCFullYear(h, 0, b), f.setUTCHours(0, 0, 0, 0);
422
+ var d = Be(f, e);
423
+ return g.getTime() >= w.getTime() ? h + 1 : g.getTime() >= d.getTime() ? h : h - 1;
424
+ }
425
+ function Jt(t, e) {
426
+ var a, n, i, r, s, u, m, c;
427
+ j(1, arguments);
428
+ var g = Xe(), h = he((a = (n = (i = (r = e?.firstWeekContainsDate) !== null && r !== void 0 ? r : e == null || (s = e.locale) === null || s === void 0 || (u = s.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && i !== void 0 ? i : g.firstWeekContainsDate) !== null && n !== void 0 ? n : (m = g.locale) === null || m === void 0 || (c = m.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), _ = ja(t, e), b = /* @__PURE__ */ new Date(0);
429
+ b.setUTCFullYear(_, 0, h), b.setUTCHours(0, 0, 0, 0);
430
+ var k = Be(b, e);
431
+ return k;
432
+ }
433
+ var Qt = 6048e5;
434
+ function Kt(t, e) {
435
+ j(1, arguments);
436
+ var a = H(t), n = Be(a, e).getTime() - Jt(a, e).getTime();
437
+ return Math.round(n / Qt) + 1;
438
+ }
439
+ function D(t, e) {
440
+ for (var a = t < 0 ? "-" : "", n = Math.abs(t).toString(); n.length < e; )
441
+ n = "0" + n;
442
+ return a + n;
443
+ }
444
+ var ue = {
445
+ // Year
446
+ y: function(e, a) {
447
+ var n = e.getUTCFullYear(), i = n > 0 ? n : 1 - n;
448
+ return D(a === "yy" ? i % 100 : i, a.length);
449
+ },
450
+ // Month
451
+ M: function(e, a) {
452
+ var n = e.getUTCMonth();
453
+ return a === "M" ? String(n + 1) : D(n + 1, 2);
454
+ },
455
+ // Day of the month
456
+ d: function(e, a) {
457
+ return D(e.getUTCDate(), a.length);
458
+ },
459
+ // AM or PM
460
+ a: function(e, a) {
461
+ var n = e.getUTCHours() / 12 >= 1 ? "pm" : "am";
462
+ switch (a) {
463
+ case "a":
464
+ case "aa":
465
+ return n.toUpperCase();
466
+ case "aaa":
467
+ return n;
468
+ case "aaaaa":
469
+ return n[0];
470
+ case "aaaa":
471
+ default:
472
+ return n === "am" ? "a.m." : "p.m.";
473
+ }
474
+ },
475
+ // Hour [1-12]
476
+ h: function(e, a) {
477
+ return D(e.getUTCHours() % 12 || 12, a.length);
478
+ },
479
+ // Hour [0-23]
480
+ H: function(e, a) {
481
+ return D(e.getUTCHours(), a.length);
482
+ },
483
+ // Minute
484
+ m: function(e, a) {
485
+ return D(e.getUTCMinutes(), a.length);
486
+ },
487
+ // Second
488
+ s: function(e, a) {
489
+ return D(e.getUTCSeconds(), a.length);
490
+ },
491
+ // Fraction of second
492
+ S: function(e, a) {
493
+ var n = a.length, i = e.getUTCMilliseconds(), r = Math.floor(i * Math.pow(10, n - 3));
494
+ return D(r, a.length);
495
+ }
496
+ }, be = {
497
+ midnight: "midnight",
498
+ noon: "noon",
499
+ morning: "morning",
500
+ afternoon: "afternoon",
501
+ evening: "evening",
502
+ night: "night"
503
+ }, Zt = {
504
+ // Era
505
+ G: function(e, a, n) {
506
+ var i = e.getUTCFullYear() > 0 ? 1 : 0;
507
+ switch (a) {
508
+ case "G":
509
+ case "GG":
510
+ case "GGG":
511
+ return n.era(i, {
512
+ width: "abbreviated"
513
+ });
514
+ case "GGGGG":
515
+ return n.era(i, {
516
+ width: "narrow"
517
+ });
518
+ case "GGGG":
519
+ default:
520
+ return n.era(i, {
521
+ width: "wide"
522
+ });
523
+ }
524
+ },
525
+ // Year
526
+ y: function(e, a, n) {
527
+ if (a === "yo") {
528
+ var i = e.getUTCFullYear(), r = i > 0 ? i : 1 - i;
529
+ return n.ordinalNumber(r, {
530
+ unit: "year"
531
+ });
532
+ }
533
+ return ue.y(e, a);
534
+ },
535
+ // Local week-numbering year
536
+ Y: function(e, a, n, i) {
537
+ var r = ja(e, i), s = r > 0 ? r : 1 - r;
538
+ if (a === "YY") {
539
+ var u = s % 100;
540
+ return D(u, 2);
541
+ }
542
+ return a === "Yo" ? n.ordinalNumber(s, {
543
+ unit: "year"
544
+ }) : D(s, a.length);
545
+ },
546
+ // ISO week-numbering year
547
+ R: function(e, a) {
548
+ var n = Aa(e);
549
+ return D(n, a.length);
550
+ },
551
+ // Extended year. This is a single number designating the year of this calendar system.
552
+ // The main difference between `y` and `u` localizers are B.C. years:
553
+ // | Year | `y` | `u` |
554
+ // |------|-----|-----|
555
+ // | AC 1 | 1 | 1 |
556
+ // | BC 1 | 1 | 0 |
557
+ // | BC 2 | 2 | -1 |
558
+ // Also `yy` always returns the last two digits of a year,
559
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
560
+ u: function(e, a) {
561
+ var n = e.getUTCFullYear();
562
+ return D(n, a.length);
563
+ },
564
+ // Quarter
565
+ Q: function(e, a, n) {
566
+ var i = Math.ceil((e.getUTCMonth() + 1) / 3);
567
+ switch (a) {
568
+ case "Q":
569
+ return String(i);
570
+ case "QQ":
571
+ return D(i, 2);
572
+ case "Qo":
573
+ return n.ordinalNumber(i, {
574
+ unit: "quarter"
575
+ });
576
+ case "QQQ":
577
+ return n.quarter(i, {
578
+ width: "abbreviated",
579
+ context: "formatting"
580
+ });
581
+ case "QQQQQ":
582
+ return n.quarter(i, {
583
+ width: "narrow",
584
+ context: "formatting"
585
+ });
586
+ case "QQQQ":
587
+ default:
588
+ return n.quarter(i, {
589
+ width: "wide",
590
+ context: "formatting"
591
+ });
592
+ }
593
+ },
594
+ // Stand-alone quarter
595
+ q: function(e, a, n) {
596
+ var i = Math.ceil((e.getUTCMonth() + 1) / 3);
597
+ switch (a) {
598
+ case "q":
599
+ return String(i);
600
+ case "qq":
601
+ return D(i, 2);
602
+ case "qo":
603
+ return n.ordinalNumber(i, {
604
+ unit: "quarter"
605
+ });
606
+ case "qqq":
607
+ return n.quarter(i, {
608
+ width: "abbreviated",
609
+ context: "standalone"
610
+ });
611
+ case "qqqqq":
612
+ return n.quarter(i, {
613
+ width: "narrow",
614
+ context: "standalone"
615
+ });
616
+ case "qqqq":
617
+ default:
618
+ return n.quarter(i, {
619
+ width: "wide",
620
+ context: "standalone"
621
+ });
622
+ }
623
+ },
624
+ // Month
625
+ M: function(e, a, n) {
626
+ var i = e.getUTCMonth();
627
+ switch (a) {
628
+ case "M":
629
+ case "MM":
630
+ return ue.M(e, a);
631
+ case "Mo":
632
+ return n.ordinalNumber(i + 1, {
633
+ unit: "month"
634
+ });
635
+ case "MMM":
636
+ return n.month(i, {
637
+ width: "abbreviated",
638
+ context: "formatting"
639
+ });
640
+ case "MMMMM":
641
+ return n.month(i, {
642
+ width: "narrow",
643
+ context: "formatting"
644
+ });
645
+ case "MMMM":
646
+ default:
647
+ return n.month(i, {
648
+ width: "wide",
649
+ context: "formatting"
650
+ });
651
+ }
652
+ },
653
+ // Stand-alone month
654
+ L: function(e, a, n) {
655
+ var i = e.getUTCMonth();
656
+ switch (a) {
657
+ case "L":
658
+ return String(i + 1);
659
+ case "LL":
660
+ return D(i + 1, 2);
661
+ case "Lo":
662
+ return n.ordinalNumber(i + 1, {
663
+ unit: "month"
664
+ });
665
+ case "LLL":
666
+ return n.month(i, {
667
+ width: "abbreviated",
668
+ context: "standalone"
669
+ });
670
+ case "LLLLL":
671
+ return n.month(i, {
672
+ width: "narrow",
673
+ context: "standalone"
674
+ });
675
+ case "LLLL":
676
+ default:
677
+ return n.month(i, {
678
+ width: "wide",
679
+ context: "standalone"
680
+ });
681
+ }
682
+ },
683
+ // Local week of year
684
+ w: function(e, a, n, i) {
685
+ var r = Kt(e, i);
686
+ return a === "wo" ? n.ordinalNumber(r, {
687
+ unit: "week"
688
+ }) : D(r, a.length);
689
+ },
690
+ // ISO week of year
691
+ I: function(e, a, n) {
692
+ var i = Xt(e);
693
+ return a === "Io" ? n.ordinalNumber(i, {
694
+ unit: "week"
695
+ }) : D(i, a.length);
696
+ },
697
+ // Day of the month
698
+ d: function(e, a, n) {
699
+ return a === "do" ? n.ordinalNumber(e.getUTCDate(), {
700
+ unit: "date"
701
+ }) : ue.d(e, a);
702
+ },
703
+ // Day of year
704
+ D: function(e, a, n) {
705
+ var i = Ht(e);
706
+ return a === "Do" ? n.ordinalNumber(i, {
707
+ unit: "dayOfYear"
708
+ }) : D(i, a.length);
709
+ },
710
+ // Day of week
711
+ E: function(e, a, n) {
712
+ var i = e.getUTCDay();
713
+ switch (a) {
714
+ case "E":
715
+ case "EE":
716
+ case "EEE":
717
+ return n.day(i, {
718
+ width: "abbreviated",
719
+ context: "formatting"
720
+ });
721
+ case "EEEEE":
722
+ return n.day(i, {
723
+ width: "narrow",
724
+ context: "formatting"
725
+ });
726
+ case "EEEEEE":
727
+ return n.day(i, {
728
+ width: "short",
729
+ context: "formatting"
730
+ });
731
+ case "EEEE":
732
+ default:
733
+ return n.day(i, {
734
+ width: "wide",
735
+ context: "formatting"
736
+ });
737
+ }
738
+ },
739
+ // Local day of week
740
+ e: function(e, a, n, i) {
741
+ var r = e.getUTCDay(), s = (r - i.weekStartsOn + 8) % 7 || 7;
742
+ switch (a) {
743
+ case "e":
744
+ return String(s);
745
+ case "ee":
746
+ return D(s, 2);
747
+ case "eo":
748
+ return n.ordinalNumber(s, {
749
+ unit: "day"
750
+ });
751
+ case "eee":
752
+ return n.day(r, {
753
+ width: "abbreviated",
754
+ context: "formatting"
755
+ });
756
+ case "eeeee":
757
+ return n.day(r, {
758
+ width: "narrow",
759
+ context: "formatting"
760
+ });
761
+ case "eeeeee":
762
+ return n.day(r, {
763
+ width: "short",
764
+ context: "formatting"
765
+ });
766
+ case "eeee":
767
+ default:
768
+ return n.day(r, {
769
+ width: "wide",
770
+ context: "formatting"
771
+ });
772
+ }
773
+ },
774
+ // Stand-alone local day of week
775
+ c: function(e, a, n, i) {
776
+ var r = e.getUTCDay(), s = (r - i.weekStartsOn + 8) % 7 || 7;
777
+ switch (a) {
778
+ case "c":
779
+ return String(s);
780
+ case "cc":
781
+ return D(s, a.length);
782
+ case "co":
783
+ return n.ordinalNumber(s, {
784
+ unit: "day"
785
+ });
786
+ case "ccc":
787
+ return n.day(r, {
788
+ width: "abbreviated",
789
+ context: "standalone"
790
+ });
791
+ case "ccccc":
792
+ return n.day(r, {
793
+ width: "narrow",
794
+ context: "standalone"
795
+ });
796
+ case "cccccc":
797
+ return n.day(r, {
798
+ width: "short",
799
+ context: "standalone"
800
+ });
801
+ case "cccc":
802
+ default:
803
+ return n.day(r, {
804
+ width: "wide",
805
+ context: "standalone"
806
+ });
807
+ }
808
+ },
809
+ // ISO day of week
810
+ i: function(e, a, n) {
811
+ var i = e.getUTCDay(), r = i === 0 ? 7 : i;
812
+ switch (a) {
813
+ case "i":
814
+ return String(r);
815
+ case "ii":
816
+ return D(r, a.length);
817
+ case "io":
818
+ return n.ordinalNumber(r, {
819
+ unit: "day"
820
+ });
821
+ case "iii":
822
+ return n.day(i, {
823
+ width: "abbreviated",
824
+ context: "formatting"
825
+ });
826
+ case "iiiii":
827
+ return n.day(i, {
828
+ width: "narrow",
829
+ context: "formatting"
830
+ });
831
+ case "iiiiii":
832
+ return n.day(i, {
833
+ width: "short",
834
+ context: "formatting"
835
+ });
836
+ case "iiii":
837
+ default:
838
+ return n.day(i, {
839
+ width: "wide",
840
+ context: "formatting"
841
+ });
842
+ }
843
+ },
844
+ // AM or PM
845
+ a: function(e, a, n) {
846
+ var i = e.getUTCHours(), r = i / 12 >= 1 ? "pm" : "am";
847
+ switch (a) {
848
+ case "a":
849
+ case "aa":
850
+ return n.dayPeriod(r, {
851
+ width: "abbreviated",
852
+ context: "formatting"
853
+ });
854
+ case "aaa":
855
+ return n.dayPeriod(r, {
856
+ width: "abbreviated",
857
+ context: "formatting"
858
+ }).toLowerCase();
859
+ case "aaaaa":
860
+ return n.dayPeriod(r, {
861
+ width: "narrow",
862
+ context: "formatting"
863
+ });
864
+ case "aaaa":
865
+ default:
866
+ return n.dayPeriod(r, {
867
+ width: "wide",
868
+ context: "formatting"
869
+ });
870
+ }
871
+ },
872
+ // AM, PM, midnight, noon
873
+ b: function(e, a, n) {
874
+ var i = e.getUTCHours(), r;
875
+ switch (i === 12 ? r = be.noon : i === 0 ? r = be.midnight : r = i / 12 >= 1 ? "pm" : "am", a) {
876
+ case "b":
877
+ case "bb":
878
+ return n.dayPeriod(r, {
879
+ width: "abbreviated",
880
+ context: "formatting"
881
+ });
882
+ case "bbb":
883
+ return n.dayPeriod(r, {
884
+ width: "abbreviated",
885
+ context: "formatting"
886
+ }).toLowerCase();
887
+ case "bbbbb":
888
+ return n.dayPeriod(r, {
889
+ width: "narrow",
890
+ context: "formatting"
891
+ });
892
+ case "bbbb":
893
+ default:
894
+ return n.dayPeriod(r, {
895
+ width: "wide",
896
+ context: "formatting"
897
+ });
898
+ }
899
+ },
900
+ // in the morning, in the afternoon, in the evening, at night
901
+ B: function(e, a, n) {
902
+ var i = e.getUTCHours(), r;
903
+ switch (i >= 17 ? r = be.evening : i >= 12 ? r = be.afternoon : i >= 4 ? r = be.morning : r = be.night, a) {
904
+ case "B":
905
+ case "BB":
906
+ case "BBB":
907
+ return n.dayPeriod(r, {
908
+ width: "abbreviated",
909
+ context: "formatting"
910
+ });
911
+ case "BBBBB":
912
+ return n.dayPeriod(r, {
913
+ width: "narrow",
914
+ context: "formatting"
915
+ });
916
+ case "BBBB":
917
+ default:
918
+ return n.dayPeriod(r, {
919
+ width: "wide",
920
+ context: "formatting"
921
+ });
922
+ }
923
+ },
924
+ // Hour [1-12]
925
+ h: function(e, a, n) {
926
+ if (a === "ho") {
927
+ var i = e.getUTCHours() % 12;
928
+ return i === 0 && (i = 12), n.ordinalNumber(i, {
929
+ unit: "hour"
930
+ });
931
+ }
932
+ return ue.h(e, a);
933
+ },
934
+ // Hour [0-23]
935
+ H: function(e, a, n) {
936
+ return a === "Ho" ? n.ordinalNumber(e.getUTCHours(), {
937
+ unit: "hour"
938
+ }) : ue.H(e, a);
939
+ },
940
+ // Hour [0-11]
941
+ K: function(e, a, n) {
942
+ var i = e.getUTCHours() % 12;
943
+ return a === "Ko" ? n.ordinalNumber(i, {
944
+ unit: "hour"
945
+ }) : D(i, a.length);
946
+ },
947
+ // Hour [1-24]
948
+ k: function(e, a, n) {
949
+ var i = e.getUTCHours();
950
+ return i === 0 && (i = 24), a === "ko" ? n.ordinalNumber(i, {
951
+ unit: "hour"
952
+ }) : D(i, a.length);
953
+ },
954
+ // Minute
955
+ m: function(e, a, n) {
956
+ return a === "mo" ? n.ordinalNumber(e.getUTCMinutes(), {
957
+ unit: "minute"
958
+ }) : ue.m(e, a);
959
+ },
960
+ // Second
961
+ s: function(e, a, n) {
962
+ return a === "so" ? n.ordinalNumber(e.getUTCSeconds(), {
963
+ unit: "second"
964
+ }) : ue.s(e, a);
965
+ },
966
+ // Fraction of second
967
+ S: function(e, a) {
968
+ return ue.S(e, a);
969
+ },
970
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
971
+ X: function(e, a, n, i) {
972
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
973
+ if (s === 0)
974
+ return "Z";
975
+ switch (a) {
976
+ case "X":
977
+ return ba(s);
978
+ case "XXXX":
979
+ case "XX":
980
+ return ge(s);
981
+ case "XXXXX":
982
+ case "XXX":
983
+ default:
984
+ return ge(s, ":");
985
+ }
986
+ },
987
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
988
+ x: function(e, a, n, i) {
989
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
990
+ switch (a) {
991
+ case "x":
992
+ return ba(s);
993
+ case "xxxx":
994
+ case "xx":
995
+ return ge(s);
996
+ case "xxxxx":
997
+ case "xxx":
998
+ default:
999
+ return ge(s, ":");
1000
+ }
1001
+ },
1002
+ // Timezone (GMT)
1003
+ O: function(e, a, n, i) {
1004
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
1005
+ switch (a) {
1006
+ case "O":
1007
+ case "OO":
1008
+ case "OOO":
1009
+ return "GMT" + _a(s, ":");
1010
+ case "OOOO":
1011
+ default:
1012
+ return "GMT" + ge(s, ":");
1013
+ }
1014
+ },
1015
+ // Timezone (specific non-location)
1016
+ z: function(e, a, n, i) {
1017
+ var r = i._originalDate || e, s = r.getTimezoneOffset();
1018
+ switch (a) {
1019
+ case "z":
1020
+ case "zz":
1021
+ case "zzz":
1022
+ return "GMT" + _a(s, ":");
1023
+ case "zzzz":
1024
+ default:
1025
+ return "GMT" + ge(s, ":");
1026
+ }
1027
+ },
1028
+ // Seconds timestamp
1029
+ t: function(e, a, n, i) {
1030
+ var r = i._originalDate || e, s = Math.floor(r.getTime() / 1e3);
1031
+ return D(s, a.length);
1032
+ },
1033
+ // Milliseconds timestamp
1034
+ T: function(e, a, n, i) {
1035
+ var r = i._originalDate || e, s = r.getTime();
1036
+ return D(s, a.length);
1037
+ }
1038
+ };
1039
+ function _a(t, e) {
1040
+ var a = t > 0 ? "-" : "+", n = Math.abs(t), i = Math.floor(n / 60), r = n % 60;
1041
+ if (r === 0)
1042
+ return a + String(i);
1043
+ var s = e;
1044
+ return a + String(i) + s + D(r, 2);
1045
+ }
1046
+ function ba(t, e) {
1047
+ if (t % 60 === 0) {
1048
+ var a = t > 0 ? "-" : "+";
1049
+ return a + D(Math.abs(t) / 60, 2);
1050
+ }
1051
+ return ge(t, e);
1052
+ }
1053
+ function ge(t, e) {
1054
+ var a = e || "", n = t > 0 ? "-" : "+", i = Math.abs(t), r = D(Math.floor(i / 60), 2), s = D(i % 60, 2);
1055
+ return n + r + a + s;
1056
+ }
1057
+ var wa = function(e, a) {
1058
+ switch (e) {
1059
+ case "P":
1060
+ return a.date({
1061
+ width: "short"
1062
+ });
1063
+ case "PP":
1064
+ return a.date({
1065
+ width: "medium"
1066
+ });
1067
+ case "PPP":
1068
+ return a.date({
1069
+ width: "long"
1070
+ });
1071
+ case "PPPP":
1072
+ default:
1073
+ return a.date({
1074
+ width: "full"
1075
+ });
1076
+ }
1077
+ }, Wa = function(e, a) {
1078
+ switch (e) {
1079
+ case "p":
1080
+ return a.time({
1081
+ width: "short"
1082
+ });
1083
+ case "pp":
1084
+ return a.time({
1085
+ width: "medium"
1086
+ });
1087
+ case "ppp":
1088
+ return a.time({
1089
+ width: "long"
1090
+ });
1091
+ case "pppp":
1092
+ default:
1093
+ return a.time({
1094
+ width: "full"
1095
+ });
1096
+ }
1097
+ }, xt = function(e, a) {
1098
+ var n = e.match(/(P+)(p+)?/) || [], i = n[1], r = n[2];
1099
+ if (!r)
1100
+ return wa(e, a);
1101
+ var s;
1102
+ switch (i) {
1103
+ case "P":
1104
+ s = a.dateTime({
1105
+ width: "short"
1106
+ });
1107
+ break;
1108
+ case "PP":
1109
+ s = a.dateTime({
1110
+ width: "medium"
1111
+ });
1112
+ break;
1113
+ case "PPP":
1114
+ s = a.dateTime({
1115
+ width: "long"
1116
+ });
1117
+ break;
1118
+ case "PPPP":
1119
+ default:
1120
+ s = a.dateTime({
1121
+ width: "full"
1122
+ });
1123
+ break;
1124
+ }
1125
+ return s.replace("{{date}}", wa(i, a)).replace("{{time}}", Wa(r, a));
1126
+ }, $t = {
1127
+ p: Wa,
1128
+ P: xt
1129
+ }, en = ["D", "DD"], an = ["YY", "YYYY"];
1130
+ function tn(t) {
1131
+ return en.indexOf(t) !== -1;
1132
+ }
1133
+ function nn(t) {
1134
+ return an.indexOf(t) !== -1;
1135
+ }
1136
+ function ya(t, e, a) {
1137
+ if (t === "YYYY")
1138
+ throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1139
+ if (t === "YY")
1140
+ throw new RangeError("Use `yy` instead of `YY` (in `".concat(e, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1141
+ if (t === "D")
1142
+ throw new RangeError("Use `d` instead of `D` (in `".concat(e, "`) for formatting days of the month to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1143
+ if (t === "DD")
1144
+ throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1145
+ }
1146
+ var rn = {
1147
+ lessThanXSeconds: {
1148
+ one: "less than a second",
1149
+ other: "less than {{count}} seconds"
1150
+ },
1151
+ xSeconds: {
1152
+ one: "1 second",
1153
+ other: "{{count}} seconds"
1154
+ },
1155
+ halfAMinute: "half a minute",
1156
+ lessThanXMinutes: {
1157
+ one: "less than a minute",
1158
+ other: "less than {{count}} minutes"
1159
+ },
1160
+ xMinutes: {
1161
+ one: "1 minute",
1162
+ other: "{{count}} minutes"
1163
+ },
1164
+ aboutXHours: {
1165
+ one: "about 1 hour",
1166
+ other: "about {{count}} hours"
1167
+ },
1168
+ xHours: {
1169
+ one: "1 hour",
1170
+ other: "{{count}} hours"
1171
+ },
1172
+ xDays: {
1173
+ one: "1 day",
1174
+ other: "{{count}} days"
1175
+ },
1176
+ aboutXWeeks: {
1177
+ one: "about 1 week",
1178
+ other: "about {{count}} weeks"
1179
+ },
1180
+ xWeeks: {
1181
+ one: "1 week",
1182
+ other: "{{count}} weeks"
1183
+ },
1184
+ aboutXMonths: {
1185
+ one: "about 1 month",
1186
+ other: "about {{count}} months"
1187
+ },
1188
+ xMonths: {
1189
+ one: "1 month",
1190
+ other: "{{count}} months"
1191
+ },
1192
+ aboutXYears: {
1193
+ one: "about 1 year",
1194
+ other: "about {{count}} years"
1195
+ },
1196
+ xYears: {
1197
+ one: "1 year",
1198
+ other: "{{count}} years"
1199
+ },
1200
+ overXYears: {
1201
+ one: "over 1 year",
1202
+ other: "over {{count}} years"
1203
+ },
1204
+ almostXYears: {
1205
+ one: "almost 1 year",
1206
+ other: "almost {{count}} years"
1207
+ }
1208
+ }, on = function(e, a, n) {
1209
+ var i, r = rn[e];
1210
+ return typeof r == "string" ? i = r : a === 1 ? i = r.one : i = r.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + i : i + " ago" : i;
1211
+ };
1212
+ function la(t) {
1213
+ return function() {
1214
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = e.width ? String(e.width) : t.defaultWidth, n = t.formats[a] || t.formats[t.defaultWidth];
1215
+ return n;
1216
+ };
1217
+ }
1218
+ var sn = {
1219
+ full: "EEEE, MMMM do, y",
1220
+ long: "MMMM do, y",
1221
+ medium: "MMM d, y",
1222
+ short: "MM/dd/yyyy"
1223
+ }, ln = {
1224
+ full: "h:mm:ss a zzzz",
1225
+ long: "h:mm:ss a z",
1226
+ medium: "h:mm:ss a",
1227
+ short: "h:mm a"
1228
+ }, un = {
1229
+ full: "{{date}} 'at' {{time}}",
1230
+ long: "{{date}} 'at' {{time}}",
1231
+ medium: "{{date}}, {{time}}",
1232
+ short: "{{date}}, {{time}}"
1233
+ }, mn = {
1234
+ date: la({
1235
+ formats: sn,
1236
+ defaultWidth: "full"
1237
+ }),
1238
+ time: la({
1239
+ formats: ln,
1240
+ defaultWidth: "full"
1241
+ }),
1242
+ dateTime: la({
1243
+ formats: un,
1244
+ defaultWidth: "full"
1245
+ })
1246
+ }, cn = {
1247
+ lastWeek: "'last' eeee 'at' p",
1248
+ yesterday: "'yesterday at' p",
1249
+ today: "'today at' p",
1250
+ tomorrow: "'tomorrow at' p",
1251
+ nextWeek: "eeee 'at' p",
1252
+ other: "P"
1253
+ }, dn = function(e, a, n, i) {
1254
+ return cn[e];
1255
+ };
1256
+ function Oe(t) {
1257
+ return function(e, a) {
1258
+ var n = a != null && a.context ? String(a.context) : "standalone", i;
1259
+ if (n === "formatting" && t.formattingValues) {
1260
+ var r = t.defaultFormattingWidth || t.defaultWidth, s = a != null && a.width ? String(a.width) : r;
1261
+ i = t.formattingValues[s] || t.formattingValues[r];
1262
+ } else {
1263
+ var u = t.defaultWidth, m = a != null && a.width ? String(a.width) : t.defaultWidth;
1264
+ i = t.values[m] || t.values[u];
1265
+ }
1266
+ var c = t.argumentCallback ? t.argumentCallback(e) : e;
1267
+ return i[c];
1268
+ };
1269
+ }
1270
+ var fn = {
1271
+ narrow: ["B", "A"],
1272
+ abbreviated: ["BC", "AD"],
1273
+ wide: ["Before Christ", "Anno Domini"]
1274
+ }, gn = {
1275
+ narrow: ["1", "2", "3", "4"],
1276
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1277
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
1278
+ }, hn = {
1279
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
1280
+ abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
1281
+ wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
1282
+ }, vn = {
1283
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
1284
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
1285
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
1286
+ wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1287
+ }, pn = {
1288
+ narrow: {
1289
+ am: "a",
1290
+ pm: "p",
1291
+ midnight: "mi",
1292
+ noon: "n",
1293
+ morning: "morning",
1294
+ afternoon: "afternoon",
1295
+ evening: "evening",
1296
+ night: "night"
1297
+ },
1298
+ abbreviated: {
1299
+ am: "AM",
1300
+ pm: "PM",
1301
+ midnight: "midnight",
1302
+ noon: "noon",
1303
+ morning: "morning",
1304
+ afternoon: "afternoon",
1305
+ evening: "evening",
1306
+ night: "night"
1307
+ },
1308
+ wide: {
1309
+ am: "a.m.",
1310
+ pm: "p.m.",
1311
+ midnight: "midnight",
1312
+ noon: "noon",
1313
+ morning: "morning",
1314
+ afternoon: "afternoon",
1315
+ evening: "evening",
1316
+ night: "night"
1317
+ }
1318
+ }, _n = {
1319
+ narrow: {
1320
+ am: "a",
1321
+ pm: "p",
1322
+ midnight: "mi",
1323
+ noon: "n",
1324
+ morning: "in the morning",
1325
+ afternoon: "in the afternoon",
1326
+ evening: "in the evening",
1327
+ night: "at night"
1328
+ },
1329
+ abbreviated: {
1330
+ am: "AM",
1331
+ pm: "PM",
1332
+ midnight: "midnight",
1333
+ noon: "noon",
1334
+ morning: "in the morning",
1335
+ afternoon: "in the afternoon",
1336
+ evening: "in the evening",
1337
+ night: "at night"
1338
+ },
1339
+ wide: {
1340
+ am: "a.m.",
1341
+ pm: "p.m.",
1342
+ midnight: "midnight",
1343
+ noon: "noon",
1344
+ morning: "in the morning",
1345
+ afternoon: "in the afternoon",
1346
+ evening: "in the evening",
1347
+ night: "at night"
1348
+ }
1349
+ }, bn = function(e, a) {
1350
+ var n = Number(e), i = n % 100;
1351
+ if (i > 20 || i < 10)
1352
+ switch (i % 10) {
1353
+ case 1:
1354
+ return n + "st";
1355
+ case 2:
1356
+ return n + "nd";
1357
+ case 3:
1358
+ return n + "rd";
1359
+ }
1360
+ return n + "th";
1361
+ }, wn = {
1362
+ ordinalNumber: bn,
1363
+ era: Oe({
1364
+ values: fn,
1365
+ defaultWidth: "wide"
1366
+ }),
1367
+ quarter: Oe({
1368
+ values: gn,
1369
+ defaultWidth: "wide",
1370
+ argumentCallback: function(e) {
1371
+ return e - 1;
1372
+ }
1373
+ }),
1374
+ month: Oe({
1375
+ values: hn,
1376
+ defaultWidth: "wide"
1377
+ }),
1378
+ day: Oe({
1379
+ values: vn,
1380
+ defaultWidth: "wide"
1381
+ }),
1382
+ dayPeriod: Oe({
1383
+ values: pn,
1384
+ defaultWidth: "wide",
1385
+ formattingValues: _n,
1386
+ defaultFormattingWidth: "wide"
1387
+ })
1388
+ };
1389
+ function De(t) {
1390
+ return function(e) {
1391
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, i = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], r = e.match(i);
1392
+ if (!r)
1393
+ return null;
1394
+ var s = r[0], u = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], m = Array.isArray(u) ? kn(u, function(h) {
1395
+ return h.test(s);
1396
+ }) : yn(u, function(h) {
1397
+ return h.test(s);
1398
+ }), c;
1399
+ c = t.valueCallback ? t.valueCallback(m) : m, c = a.valueCallback ? a.valueCallback(c) : c;
1400
+ var g = e.slice(s.length);
1401
+ return {
1402
+ value: c,
1403
+ rest: g
1404
+ };
1405
+ };
1406
+ }
1407
+ function yn(t, e) {
1408
+ for (var a in t)
1409
+ if (t.hasOwnProperty(a) && e(t[a]))
1410
+ return a;
1411
+ }
1412
+ function kn(t, e) {
1413
+ for (var a = 0; a < t.length; a++)
1414
+ if (e(t[a]))
1415
+ return a;
1416
+ }
1417
+ function Cn(t) {
1418
+ return function(e) {
1419
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.match(t.matchPattern);
1420
+ if (!n)
1421
+ return null;
1422
+ var i = n[0], r = e.match(t.parsePattern);
1423
+ if (!r)
1424
+ return null;
1425
+ var s = t.valueCallback ? t.valueCallback(r[0]) : r[0];
1426
+ s = a.valueCallback ? a.valueCallback(s) : s;
1427
+ var u = e.slice(i.length);
1428
+ return {
1429
+ value: s,
1430
+ rest: u
1431
+ };
1432
+ };
1433
+ }
1434
+ var Sn = /^(\d+)(th|st|nd|rd)?/i, Mn = /\d+/i, Gn = {
1435
+ narrow: /^(b|a)/i,
1436
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1437
+ wide: /^(before christ|before common era|anno domini|common era)/i
1438
+ }, Fn = {
1439
+ any: [/^b/i, /^(a|c)/i]
1440
+ }, Tn = {
1441
+ narrow: /^[1234]/i,
1442
+ abbreviated: /^q[1234]/i,
1443
+ wide: /^[1234](th|st|nd|rd)? quarter/i
1444
+ }, zn = {
1445
+ any: [/1/i, /2/i, /3/i, /4/i]
1446
+ }, On = {
1447
+ narrow: /^[jfmasond]/i,
1448
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1449
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1450
+ }, Dn = {
1451
+ narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
1452
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
1453
+ }, En = {
1454
+ narrow: /^[smtwf]/i,
1455
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
1456
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1457
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1458
+ }, Pn = {
1459
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1460
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1461
+ }, Nn = {
1462
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1463
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1464
+ }, In = {
1465
+ any: {
1466
+ am: /^a/i,
1467
+ pm: /^p/i,
1468
+ midnight: /^mi/i,
1469
+ noon: /^no/i,
1470
+ morning: /morning/i,
1471
+ afternoon: /afternoon/i,
1472
+ evening: /evening/i,
1473
+ night: /night/i
1474
+ }
1475
+ }, Un = {
1476
+ ordinalNumber: Cn({
1477
+ matchPattern: Sn,
1478
+ parsePattern: Mn,
1479
+ valueCallback: function(e) {
1480
+ return parseInt(e, 10);
1481
+ }
1482
+ }),
1483
+ era: De({
1484
+ matchPatterns: Gn,
1485
+ defaultMatchWidth: "wide",
1486
+ parsePatterns: Fn,
1487
+ defaultParseWidth: "any"
1488
+ }),
1489
+ quarter: De({
1490
+ matchPatterns: Tn,
1491
+ defaultMatchWidth: "wide",
1492
+ parsePatterns: zn,
1493
+ defaultParseWidth: "any",
1494
+ valueCallback: function(e) {
1495
+ return e + 1;
1496
+ }
1497
+ }),
1498
+ month: De({
1499
+ matchPatterns: On,
1500
+ defaultMatchWidth: "wide",
1501
+ parsePatterns: Dn,
1502
+ defaultParseWidth: "any"
1503
+ }),
1504
+ day: De({
1505
+ matchPatterns: En,
1506
+ defaultMatchWidth: "wide",
1507
+ parsePatterns: Pn,
1508
+ defaultParseWidth: "any"
1509
+ }),
1510
+ dayPeriod: De({
1511
+ matchPatterns: Nn,
1512
+ defaultMatchWidth: "any",
1513
+ parsePatterns: In,
1514
+ defaultParseWidth: "any"
1515
+ })
1516
+ }, Rn = {
1517
+ code: "en-US",
1518
+ formatDistance: on,
1519
+ formatLong: mn,
1520
+ formatRelative: dn,
1521
+ localize: wn,
1522
+ match: Un,
1523
+ options: {
1524
+ weekStartsOn: 0,
1525
+ firstWeekContainsDate: 1
1526
+ }
1527
+ }, Ln = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, An = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, jn = /^'([^]*?)'?$/, Wn = /''/g, Yn = /[a-zA-Z]/;
1528
+ function Mi(t, e, a) {
1529
+ var n, i, r, s, u, m, c, g, h, _, b, k, w, f;
1530
+ j(2, arguments);
1531
+ var d = String(e), q = Xe(), N = (n = (i = void 0) !== null && i !== void 0 ? i : q.locale) !== null && n !== void 0 ? n : Rn, y = he((r = (s = (u = (m = void 0) !== null && m !== void 0 ? m : void 0) !== null && u !== void 0 ? u : q.firstWeekContainsDate) !== null && s !== void 0 ? s : (c = q.locale) === null || c === void 0 || (g = c.options) === null || g === void 0 ? void 0 : g.firstWeekContainsDate) !== null && r !== void 0 ? r : 1);
1532
+ if (!(y >= 1 && y <= 7))
1533
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1534
+ var x = he((h = (_ = (b = (k = void 0) !== null && k !== void 0 ? k : void 0) !== null && b !== void 0 ? b : q.weekStartsOn) !== null && _ !== void 0 ? _ : (w = q.locale) === null || w === void 0 || (f = w.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && h !== void 0 ? h : 0);
1535
+ if (!(x >= 0 && x <= 6))
1536
+ throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1537
+ if (!N.localize)
1538
+ throw new RangeError("locale must contain localize property");
1539
+ if (!N.formatLong)
1540
+ throw new RangeError("locale must contain formatLong property");
1541
+ var $ = H(t);
1542
+ if (!Wt($))
1543
+ throw new RangeError("Invalid time value");
1544
+ var ve = At($), Pe = Yt($, ve), Ne = {
1545
+ firstWeekContainsDate: y,
1546
+ weekStartsOn: x,
1547
+ locale: N,
1548
+ _originalDate: $
1549
+ }, ce = d.match(An).map(function(W) {
1550
+ var B = W[0];
1551
+ if (B === "p" || B === "P") {
1552
+ var ee = $t[B];
1553
+ return ee(W, N.formatLong);
1554
+ }
1555
+ return W;
1556
+ }).join("").match(Ln).map(function(W) {
1557
+ if (W === "''")
1558
+ return "'";
1559
+ var B = W[0];
1560
+ if (B === "'")
1561
+ return qn(W);
1562
+ var ee = Zt[B];
1563
+ if (ee)
1564
+ return nn(W) && ya(W, e, String(t)), tn(W) && ya(W, e, String(t)), ee(Pe, W, N.localize, Ne);
1565
+ if (B.match(Yn))
1566
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + B + "`");
1567
+ return W;
1568
+ }).join("");
1569
+ return ce;
1570
+ }
1571
+ function qn(t) {
1572
+ var e = t.match(jn);
1573
+ return e ? e[1].replace(Wn, "'") : t;
1574
+ }
1575
+ function Hn(t, e) {
1576
+ j(2, arguments);
1577
+ var a = H(t), n = H(e);
1578
+ return a.getTime() > n.getTime();
1579
+ }
1580
+ function Vn(t, e) {
1581
+ j(2, arguments);
1582
+ var a = H(t), n = H(e);
1583
+ return a.getTime() < n.getTime();
1584
+ }
1585
+ if (typeof window < "u") {
1586
+ let t = function(e) {
1587
+ return function(...a) {
1588
+ try {
1589
+ return e.apply(this, a);
1590
+ } catch (n) {
1591
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
1592
+ return !1;
1593
+ throw n;
1594
+ }
1595
+ };
1596
+ };
1597
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnailNd-DF51S3O0.js").then(({ default: e }) => {
1598
+ !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
1599
+ });
1600
+ }
1601
+ if (typeof window < "u") {
1602
+ let t = function(e) {
1603
+ return function(...a) {
1604
+ try {
1605
+ return e.apply(this, a);
1606
+ } catch (n) {
1607
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
1608
+ return !1;
1609
+ throw n;
1610
+ }
1611
+ };
1612
+ };
1613
+ customElements.define = t(customElements.define), import("./CasinoFilter-BHp-ceif.js").then(({ default: e }) => {
1614
+ !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
1615
+ });
1616
+ }
1617
+ if (typeof window < "u") {
1618
+ let t = function(e) {
1619
+ return function(...a) {
1620
+ try {
1621
+ return e.apply(this, a);
1622
+ } catch (n) {
1623
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
1624
+ return !1;
1625
+ throw n;
1626
+ }
1627
+ };
1628
+ };
1629
+ customElements.define = t(customElements.define), import("./CasinoSort-Bt1yZsWS.js").then(({ default: e }) => {
1630
+ !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
1631
+ });
1632
+ }
1633
+ function Bn(t) {
1634
+ yt(t, "svelte-3d5n3f", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:var(--emw--border-radius-small, 5px);background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 5px);height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-large, 24px);font-weight:var(--emw--font-weight-regular, 400)}.CategoryLoadMore{font-size:var(--emw--font-size-small, 14px);color:var(--emw--casino-typography, #FFFFFF)}.NoSearchResults{color:var(--emw--casino-typography, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:var(--emw--font-size-medium, 16px)}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-medium, 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:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium, 16px);padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;margin-bottom:16px;gap:10px}.CasinoGamesHeader .CategoryIcon{display:flex;place-content:center;background-color:transparent;position:relative;align-items:center;justify-content:center}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer;margin-left:auto}.CasinoGamesHeader .CategoryLoadMore{font-weight:var(--emw--font-weight-normal, 400)}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-height-scroll, 180px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);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:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-height-scroll, 180px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:35px;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:var(--emw--casino-category-grid-gap, 16px)}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-left:auto}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, #FFFFFF)}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small, 110px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small, 110px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small, 110px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small-scroll, 100px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-small-scroll, 100px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-small-scroll, 100px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium, 122px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium, 122px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium, 122px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesGrid.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap, 16px)}.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap-scroll, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-medium-scroll, 120px), 46%), 2fr));grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesContainer .CasinoGamesGrid,.GameContainer.CasinoGamesGridSlider{display:grid;gap:var(--emw--casino-category-grid-gap, 16px);grid-template-rows:repeat(auto-fill, var(--emw--casino-category-grid-cell-size-medium-scroll, 120px));grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-small, 110px), 46%), 1fr));grid-auto-rows:var(--emw--casino-category-grid-cell-size-medium-scroll, 120px);grid-auto-columns:var(--emw--casino-category-grid-cell-size-medium, 122px)}.CasinoGamesContainer .CasinoGamesGrid.GamesListIncreasedGap,.GameContainer.CasinoGamesGridSlider.GamesListIncreasedGap{gap:var(--emw--casino-category-grid-gap-scroll-mediu, 10px)}.CasinoGamesContainer .CasinoGamesGrid .GameInfo .GameInfoName,.GameContainer.CasinoGamesGridSlider .GameInfo .GameInfoName{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider{padding-bottom:10px}.GameInnerContainer{border-radius:var(--emw--border-radius-large, 10px)}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{gap:2px}.CasinoGamesHeader{align-items:center;flex-direction:row;flex-wrap:wrap;justify-content:center}.CategoryFilterContainer{width:100%}}.DualRing{display:block;width:80px;height:80px;margin:0 auto}.DualRing:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, #22B04E);border-color:var(--emw--casino-color-primary, #22B04E) transparent var(--emw--casino-color-primary, #22B04E);animation:DualRing 1.2s linear infinite}@keyframes DualRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CategoryIcon svg{position:absolute;left:0;right:0;margin-left:auto;margin-right:auto}.CategoryIconAnimation{position:relative;width:55px;height:55px;border-radius:50%;background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00)), linear-gradient(var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511), var(--emfe-casino-categories-animation-contrast, #141414));animation:rotate 3.5s linear infinite}.CategoryIconAnimation:before,.CategoryIconAnimation:after{content:" ";position:absolute;inset:5px;background:linear-gradient(var(--emw--casino-categories-animation-fill-main-color, #0E1511), var(--emfe-casino-categories-animation-fill-secondary-color, #0E1511));border-radius:inherit}.CategoryIconAnimation:before{background:linear-gradient(45deg, transparent, transparent 40%, var(--emw--casino-categories-animation-main, #ffff00));filter:blur(12px)}@keyframes rotate{100%{transform:rotate(360deg);filter:hue-rotate(360deg)}}');
1635
+ }
1636
+ function ka(t, e, a) {
1637
+ const n = t.slice();
1638
+ return n[100] = e[a], n[102] = a, n;
1639
+ }
1640
+ function Ca(t, e, a) {
1641
+ const n = t.slice();
1642
+ return n[100] = e[a], n[103] = e, n[102] = a, n;
1643
+ }
1644
+ function Sa(t, e, a) {
1645
+ const n = t.slice();
1646
+ return n[100] = e[a], n[102] = a, n;
1647
+ }
1648
+ function Xn(t) {
1649
+ let e;
1650
+ function a(r, s) {
1651
+ if (
1652
+ /*categoryData*/
1653
+ r[28]
1654
+ )
1655
+ return Zn;
1656
+ if (
1657
+ /*showFavGamesCategory*/
1658
+ r[39]
1659
+ )
1660
+ return Kn;
1661
+ }
1662
+ let n = a(t), i = n && n(t);
1663
+ return {
1664
+ c() {
1665
+ e = G("div"), i && i.c();
1666
+ },
1667
+ m(r, s) {
1668
+ M(r, e, s), i && i.m(e, null);
1669
+ },
1670
+ p(r, s) {
1671
+ n === (n = a(r)) && i ? i.p(r, s) : (i && i.d(1), i = n && n(r), i && (i.c(), i.m(e, null)));
1672
+ },
1673
+ d(r) {
1674
+ r && S(e), i && i.d();
1675
+ }
1676
+ };
1677
+ }
1678
+ function Jn(t) {
1679
+ let e, a, n;
1680
+ function i(g, h) {
1681
+ return (
1682
+ /*recentSearched*/
1683
+ g[32] ? vi : (
1684
+ /*shownCategoryData*/
1685
+ g[29].length ? gi : hi
1686
+ )
1687
+ );
1688
+ }
1689
+ let r = i(t), s = r(t);
1690
+ function u(g, h) {
1691
+ return (
1692
+ /*shownCategoryData*/
1693
+ g[29] ? _i : pi
1694
+ );
1695
+ }
1696
+ let m = u(t), c = m(t);
1697
+ return {
1698
+ c() {
1699
+ e = G("div"), a = G("div"), s.c(), n = K(), c.c(), v(a, "class", "CasinoGamesHeader Searched " + (Ee(
1700
+ /*userAgent*/
1701
+ t[44]
1702
+ ) ? "CasinoGamesHeaderMobile" : "")), v(e, "class", "CasinoGamesContainer");
1703
+ },
1704
+ m(g, h) {
1705
+ M(g, e, h), C(e, a), s.m(a, null), C(e, n), c.m(e, null);
1706
+ },
1707
+ p(g, h) {
1708
+ r === (r = i(g)) && s ? s.p(g, h) : (s.d(1), s = r(g), s && (s.c(), s.m(a, null))), m === (m = u(g)) && c ? c.p(g, h) : (c.d(1), c = m(g), c && (c.c(), c.m(e, null)));
1709
+ },
1710
+ d(g) {
1711
+ g && S(e), s.d(), c.d();
1712
+ }
1713
+ };
1714
+ }
1715
+ function Qn(t) {
1716
+ let e;
1717
+ function a(r, s) {
1718
+ return (
1719
+ /*presentFilters*/
1720
+ r[34] ? wi : bi
1721
+ );
1722
+ }
1723
+ let n = a(t), i = n(t);
1724
+ return {
1725
+ c() {
1726
+ i.c(), e = re();
1727
+ },
1728
+ m(r, s) {
1729
+ i.m(r, s), M(r, e, s);
1730
+ },
1731
+ p(r, s) {
1732
+ n !== (n = a(r)) && (i.d(1), i = n(r), i && (i.c(), i.m(e.parentNode, e)));
1733
+ },
1734
+ d(r) {
1735
+ r && S(e), i.d(r);
1736
+ }
1737
+ };
1738
+ }
1739
+ function Kn(t) {
1740
+ let e, a, n, i, r = (
1741
+ /*casinomygames*/
1742
+ t[19] !== "true" && Ma(t)
1743
+ );
1744
+ function s(c, g) {
1745
+ return (
1746
+ /*isLoading*/
1747
+ c[25] && !/*isLazyLoading*/
1748
+ c[36] ? ei : (
1749
+ /*favoriteGamesData*/
1750
+ c[42] ? $n : xn
1751
+ )
1752
+ );
1753
+ }
1754
+ let u = s(t), m = u(t);
1755
+ return {
1756
+ c() {
1757
+ e = G("div"), r && r.c(), a = K(), n = G("ul"), m.c(), v(n, "class", i = /*favoriteGamesData*/
1758
+ (t[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), v(e, "class", "CasinoGamesContainer");
1759
+ },
1760
+ m(c, g) {
1761
+ M(c, e, g), r && r.m(e, null), C(e, a), C(e, n), m.m(n, null), t[63](n);
1762
+ },
1763
+ p(c, g) {
1764
+ /*casinomygames*/
1765
+ c[19] !== "true" ? r ? r.p(c, g) : (r = Ma(c), r.c(), r.m(e, a)) : r && (r.d(1), r = null), u === (u = s(c)) && m ? m.p(c, g) : (m.d(1), m = u(c), m && (m.c(), m.m(n, null))), g[1] & /*favoriteGamesData*/
1766
+ 2048 && i !== (i = /*favoriteGamesData*/
1767
+ (c[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && v(n, "class", i);
1768
+ },
1769
+ d(c) {
1770
+ c && S(e), r && r.d(), m.d(), t[63](null);
1771
+ }
1772
+ };
1773
+ }
1774
+ function Zn(t) {
1775
+ let e, a, n = (
1776
+ /*casinomygames*/
1777
+ t[19] !== "true" && Da(t)
1778
+ );
1779
+ function i(u, m) {
1780
+ return (
1781
+ /*isLoading*/
1782
+ u[25] && !/*isLazyLoading*/
1783
+ u[36] ? di : (
1784
+ /*shownCategoryData*/
1785
+ u[29].length !== 0 ? ci : mi
1786
+ )
1787
+ );
1788
+ }
1789
+ let r = i(t), s = r(t);
1790
+ return {
1791
+ c() {
1792
+ e = G("div"), n && n.c(), a = K(), s.c(), v(e, "class", "CasinoGamesContainer");
1793
+ },
1794
+ m(u, m) {
1795
+ M(u, e, m), n && n.m(e, null), C(e, a), s.m(e, null);
1796
+ },
1797
+ p(u, m) {
1798
+ /*casinomygames*/
1799
+ u[19] !== "true" ? n ? n.p(u, m) : (n = Da(u), n.c(), n.m(e, a)) : n && (n.d(1), n = null), r === (r = i(u)) && s ? s.p(u, m) : (s.d(1), s = r(u), s && (s.c(), s.m(e, null)));
1800
+ },
1801
+ d(u) {
1802
+ u && S(e), n && n.d(), s.d();
1803
+ }
1804
+ };
1805
+ }
1806
+ function Ma(t) {
1807
+ let e, a, n = (
1808
+ /*$_*/
1809
+ t[43]("favorites") + ""
1810
+ ), i, r, s, u, m = (
1811
+ /*favoriteGamesData*/
1812
+ t[42].items.length + ""
1813
+ ), c, g;
1814
+ return {
1815
+ c() {
1816
+ e = G("div"), a = G("h3"), i = A(n), r = K(), s = G("span"), u = A("("), c = A(m), g = A(")"), v(s, "class", "CategoryFavName"), v(a, "class", "CategoryName"), v(e, "class", "CasinoGamesHeader");
1817
+ },
1818
+ m(h, _) {
1819
+ M(h, e, _), C(e, a), C(a, i), C(a, r), C(a, s), C(s, u), C(s, c), C(s, g), t[62](a);
1820
+ },
1821
+ p(h, _) {
1822
+ _[1] & /*$_*/
1823
+ 4096 && n !== (n = /*$_*/
1824
+ h[43]("favorites") + "") && V(i, n), _[1] & /*favoriteGamesData*/
1825
+ 2048 && m !== (m = /*favoriteGamesData*/
1826
+ h[42].items.length + "") && V(c, m);
1827
+ },
1828
+ d(h) {
1829
+ h && S(e), t[62](null);
1830
+ }
1831
+ };
1832
+ }
1833
+ function xn(t) {
1834
+ let e, a = (
1835
+ /*$_*/
1836
+ t[43]("waiting") + ""
1837
+ ), n;
1838
+ return {
1839
+ c() {
1840
+ e = G("p"), n = A(a);
1841
+ },
1842
+ m(i, r) {
1843
+ M(i, e, r), C(e, n);
1844
+ },
1845
+ p(i, r) {
1846
+ r[1] & /*$_*/
1847
+ 4096 && a !== (a = /*$_*/
1848
+ i[43]("waiting") + "") && V(n, a);
1849
+ },
1850
+ d(i) {
1851
+ i && S(e);
1852
+ }
1853
+ };
1854
+ }
1855
+ function $n(t) {
1856
+ let e, a = ye(
1857
+ /*favoriteGamesData*/
1858
+ t[42].items
1859
+ ), n = [];
1860
+ for (let r = 0; r < a.length; r += 1)
1861
+ n[r] = Oa(ka(t, a, r));
1862
+ let i = null;
1863
+ return a.length || (i = Ga(t)), {
1864
+ c() {
1865
+ for (let r = 0; r < n.length; r += 1)
1866
+ n[r].c();
1867
+ e = re(), i && i.c();
1868
+ },
1869
+ m(r, s) {
1870
+ for (let u = 0; u < n.length; u += 1)
1871
+ n[u] && n[u].m(r, s);
1872
+ M(r, e, s), i && i.m(r, s);
1873
+ },
1874
+ p(r, s) {
1875
+ if (s[0] & /*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, mbsource*/
1876
+ 524265 | s[1] & /*favoriteGamesData, getRequiredIcon, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/
1877
+ 65280) {
1878
+ a = ye(
1879
+ /*favoriteGamesData*/
1880
+ r[42].items
1881
+ );
1882
+ let u;
1883
+ for (u = 0; u < a.length; u += 1) {
1884
+ const m = ka(r, a, u);
1885
+ n[u] ? n[u].p(m, s) : (n[u] = Oa(m), n[u].c(), n[u].m(e.parentNode, e));
1886
+ }
1887
+ for (; u < n.length; u += 1)
1888
+ n[u].d(1);
1889
+ n.length = a.length, !a.length && i ? i.p(r, s) : a.length ? i && (i.d(1), i = null) : (i = Ga(r), i.c(), i.m(e.parentNode, e));
1890
+ }
1891
+ },
1892
+ d(r) {
1893
+ r && S(e), Ft(n, r), i && i.d(r);
1894
+ }
1895
+ };
1896
+ }
1897
+ function ei(t) {
1898
+ let e;
1899
+ return {
1900
+ c() {
1901
+ e = G("div"), v(e, "class", "lds-dual-ring");
1902
+ },
1903
+ m(a, n) {
1904
+ M(a, e, n);
1905
+ },
1906
+ p: we,
1907
+ d(a) {
1908
+ a && S(e);
1909
+ }
1910
+ };
1911
+ }
1912
+ function Ga(t) {
1913
+ let e, a, n, i, r, s, u, m, c, g, h, _ = (
1914
+ /*$_*/
1915
+ t[43]("noFavoritesTitle") + ""
1916
+ ), b, k, w;
1917
+ function f(N, y) {
1918
+ return Ee(
1919
+ /*userAgent*/
1920
+ N[44]
1921
+ ) ? ti : ai;
1922
+ }
1923
+ let q = f(t)(t);
1924
+ return {
1925
+ c() {
1926
+ e = G("p"), a = le("svg"), n = le("rect"), i = le("rect"), r = le("circle"), s = le("path"), u = le("path"), m = le("path"), c = le("path"), g = K(), h = G("span"), b = A(_), k = K(), q.c(), w = K(), v(n, "x", "1"), v(n, "y", "18.053"), v(n, "width", "90.263"), v(n, "height", "90.263"), v(n, "rx", "12"), v(n, "stroke", "var(--emw--color-gray-150, #828282)"), v(n, "stroke-width", "1.5"), v(i, "x", "106.737"), v(i, "y", "56.737"), v(i, "width", "90.263"), v(i, "height", "90.263"), v(i, "rx", "12"), v(i, "stroke", "var(--emw--color-gray-150, #828282)"), v(i, "stroke-width", "1.5"), v(r, "cx", "70.5"), v(r, "cy", "32.237"), v(r, "r", "31.487"), v(r, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(r, "stroke-width", "1.5"), v(r, "stroke-dasharray", "5 0"), v(s, "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"), v(s, "fill", "var(--emw--color-gray-150, #828282)"), v(u, "d", "M78 43h11v13H78V43z"), v(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(m, "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"), v(m, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(m, "stroke-linecap", "round"), v(m, "stroke-linejoin", "round"), v(c, "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"), v(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), v(c, "stroke-width", "1.5"), v(c, "stroke-linecap", "round"), v(c, "stroke-linejoin", "round"), v(a, "width", "198"), v(a, "height", "148"), v(a, "viewBox", "0 0 198 148"), v(a, "fill", "none"), v(a, "xmlns", "http://www.w3.org/2000/svg"), v(h, "class", "NoFavoriteText NoFavoriteTextHighlight"), v(e, "class", "NoFavoriteGames " + (Ee(
1927
+ /*userAgent*/
1928
+ t[44]
1929
+ ) ? "NoFavoriteGamesMobile" : ""));
1930
+ },
1931
+ m(N, y) {
1932
+ M(N, e, y), C(e, a), C(a, n), C(a, i), C(a, r), C(a, s), C(a, u), C(a, m), C(a, c), C(e, g), C(e, h), C(h, b), C(e, k), q.m(e, null), C(e, w);
1933
+ },
1934
+ p(N, y) {
1935
+ y[1] & /*$_*/
1936
+ 4096 && _ !== (_ = /*$_*/
1937
+ N[43]("noFavoritesTitle") + "") && V(b, _), q.p(N, y);
1938
+ },
1939
+ d(N) {
1940
+ N && S(e), q.d();
1941
+ }
1942
+ };
1943
+ }
1944
+ function ai(t) {
1945
+ let e, a = (
1946
+ /*$_*/
1947
+ t[43]("noFavorites") + ""
1948
+ ), n;
1949
+ return {
1950
+ c() {
1951
+ e = G("span"), n = A(a), v(e, "class", "NoFavoriteText");
1952
+ },
1953
+ m(i, r) {
1954
+ M(i, e, r), C(e, n);
1955
+ },
1956
+ p(i, r) {
1957
+ r[1] & /*$_*/
1958
+ 4096 && a !== (a = /*$_*/
1959
+ i[43]("noFavorites") + "") && V(n, a);
1960
+ },
1961
+ d(i) {
1962
+ i && S(e);
1963
+ }
1964
+ };
1965
+ }
1966
+ function ti(t) {
1967
+ let e, a = (
1968
+ /*$_*/
1969
+ t[43]("noFavoritesMobile") + ""
1970
+ ), n;
1971
+ return {
1972
+ c() {
1973
+ e = G("span"), n = A(a), v(e, "class", "NoFavoriteText");
1974
+ },
1975
+ m(i, r) {
1976
+ M(i, e, r), C(e, n);
1977
+ },
1978
+ p(i, r) {
1979
+ r[1] & /*$_*/
1980
+ 4096 && a !== (a = /*$_*/
1981
+ i[43]("noFavoritesMobile") + "") && V(n, a);
1982
+ },
1983
+ d(i) {
1984
+ i && S(e);
1985
+ }
1986
+ };
1987
+ }
1988
+ function Fa(t) {
1989
+ let e, a = (
1990
+ /*gameprops*/
1991
+ t[100].gameModel.isFavorite && Ta(t)
1992
+ );
1993
+ return {
1994
+ c() {
1995
+ a && a.c(), e = re();
1996
+ },
1997
+ m(n, i) {
1998
+ a && a.m(n, i), M(n, e, i);
1999
+ },
2000
+ p(n, i) {
2001
+ /*gameprops*/
2002
+ n[100].gameModel.isFavorite ? a ? a.p(n, i) : (a = Ta(n), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
2003
+ },
2004
+ d(n) {
2005
+ n && S(e), a && a.d(n);
2006
+ }
2007
+ };
2008
+ }
2009
+ function Ta(t) {
2010
+ let e, a = ni(t);
2011
+ return {
2012
+ c() {
2013
+ a && a.c(), e = re();
2014
+ },
2015
+ m(n, i) {
2016
+ a && a.m(n, i), M(n, e, i);
2017
+ },
2018
+ p(n, i) {
2019
+ a.p(n, i);
2020
+ },
2021
+ d(n) {
2022
+ n && S(e), a && a.d(n);
2023
+ }
2024
+ };
2025
+ }
2026
+ function ni(t) {
2027
+ let e, a, n;
2028
+ function i(u, m) {
2029
+ if (m[1] & /*favoriteGamesData*/
2030
+ 2048 && (a = null), e == null && (e = !!Ee(
2031
+ /*userAgent*/
2032
+ u[44]
2033
+ )), e)
2034
+ return ri;
2035
+ if (a == null && (a = !!/*gameprops*/
2036
+ u[100].gameModel.platform.includes("PC")), a)
2037
+ return ii;
2038
+ }
2039
+ let r = i(t, [-1, -1, -1, -1]), s = r && r(t);
2040
+ return {
2041
+ c() {
2042
+ s && s.c(), n = re();
2043
+ },
2044
+ m(u, m) {
2045
+ s && s.m(u, m), M(u, n, m);
2046
+ },
2047
+ p(u, m) {
2048
+ r === (r = i(u, m)) && s ? s.p(u, m) : (s && s.d(1), s = r && r(u), s && (s.c(), s.m(n.parentNode, n)));
2049
+ },
2050
+ d(u) {
2051
+ u && S(n), s && s.d(u);
2052
+ }
2053
+ };
2054
+ }
2055
+ function ii(t) {
2056
+ let e, a, n, i, r, s, u, m, c, g, h, _, b, k, w;
2057
+ return {
2058
+ c() {
2059
+ e = G("casino-game-thumbnail-nd"), o(e, "class", a = "" + (me + /*gameprops*/
2060
+ (t[100].cellSize ? (
2061
+ /*gameprops*/
2062
+ t[100].cellSize
2063
+ ) : "1x1"))), o(
2064
+ e,
2065
+ "session",
2066
+ /*session*/
2067
+ t[6]
2068
+ ), o(
2069
+ e,
2070
+ "userid",
2071
+ /*userid*/
2072
+ t[7]
2073
+ ), o(
2074
+ e,
2075
+ "lang",
2076
+ /*lang*/
2077
+ t[5]
2078
+ ), o(
2079
+ e,
2080
+ "translationurl",
2081
+ /*translationurl*/
2082
+ t[12]
2083
+ ), o(
2084
+ e,
2085
+ "favorites",
2086
+ /*favorites*/
2087
+ t[8]
2088
+ ), o(
2089
+ e,
2090
+ "categoryid",
2091
+ /*categoryid*/
2092
+ t[0]
2093
+ ), o(e, "gamethumbnail", n = /*gameprops*/
2094
+ t[100].gameModel.thumbnail), o(e, "icon", i = /*getRequiredIcon*/
2095
+ t[46](
2096
+ /*gameprops*/
2097
+ t[100]?.icons
2098
+ )), o(e, "gamename", r = /*gameprops*/
2099
+ t[100].gameModel.name), o(e, "gamevendor", s = /*gameprops*/
2100
+ t[100].gameModel.vendor.logo), o(e, "gameLaunchUrl", u = /*gameprops*/
2101
+ t[100].launchUrl), o(e, "gameisnew", m = /*gameprops*/
2102
+ t[100].gameModel.isNew), o(e, "gametag", c = /*addGameTag*/
2103
+ t[45](
2104
+ /*gameprops*/
2105
+ t[100].gameModel?.advancedTags
2106
+ )), o(e, "gamecellsize", g = /*gameprops*/
2107
+ t[100].cellSize), o(e, "gameid", h = /*gameprops*/
2108
+ t[100].gameModel.id), o(e, "gamefunmode", _ = /*gameprops*/
2109
+ t[100].gameModel.hasFunMode), o(
2110
+ e,
2111
+ "showgamename",
2112
+ /*showgamename*/
2113
+ t[14]
2114
+ ), o(e, "gamefavorite", b = /*gameprops*/
2115
+ t[100].gameModel.isFavorite), o(
2116
+ e,
2117
+ "showfavoredcategory",
2118
+ /*showFavGamesCategory*/
2119
+ t[39]
2120
+ ), o(e, "connectlive", k = /*intersectingIndexes*/
2121
+ t[40][
2122
+ /*gameprops*/
2123
+ t[100].id
2124
+ ] == 1 ? "connect" : "disconnect"), o(
2125
+ e,
2126
+ "visibilityconnect",
2127
+ /*visibilityconnect*/
2128
+ t[41]
2129
+ ), o(
2130
+ e,
2131
+ "currency",
2132
+ /*currency*/
2133
+ t[13]
2134
+ ), o(e, "livelobbyendpoint", w = /*gameprops*/
2135
+ t[100].gameModel.details ? (
2136
+ /*gameprops*/
2137
+ t[100].gameModel.launchUrl
2138
+ ) : ""), o(
2139
+ e,
2140
+ "clientstyling",
2141
+ /*clientstyling*/
2142
+ t[10]
2143
+ ), o(
2144
+ e,
2145
+ "clientstylingurl",
2146
+ /*clientstylingurl*/
2147
+ t[11]
2148
+ ), o(
2149
+ e,
2150
+ "endpoint",
2151
+ /*endpoint*/
2152
+ t[3]
2153
+ ), o(
2154
+ e,
2155
+ "livecasino",
2156
+ /*livecasino*/
2157
+ t[15]
2158
+ ), o(
2159
+ e,
2160
+ "gamepagemodalurl",
2161
+ /*gamepagemodalurl*/
2162
+ t[16]
2163
+ ), o(
2164
+ e,
2165
+ "integratedgameframedesktop",
2166
+ /*integratedgameframedesktop*/
2167
+ t[17]
2168
+ ), o(
2169
+ e,
2170
+ "integratedgameframemobile",
2171
+ /*integratedgameframemobile*/
2172
+ t[18]
2173
+ ), o(
2174
+ e,
2175
+ "mbsource",
2176
+ /*mbsource*/
2177
+ t[9]
2178
+ );
2179
+ },
2180
+ m(f, d) {
2181
+ M(f, e, d);
2182
+ },
2183
+ p(f, d) {
2184
+ d[1] & /*favoriteGamesData*/
2185
+ 2048 && a !== (a = "" + (me + /*gameprops*/
2186
+ (f[100].cellSize ? (
2187
+ /*gameprops*/
2188
+ f[100].cellSize
2189
+ ) : "1x1"))) && o(e, "class", a), d[0] & /*session*/
2190
+ 64 && o(
2191
+ e,
2192
+ "session",
2193
+ /*session*/
2194
+ f[6]
2195
+ ), d[0] & /*userid*/
2196
+ 128 && o(
2197
+ e,
2198
+ "userid",
2199
+ /*userid*/
2200
+ f[7]
2201
+ ), d[0] & /*lang*/
2202
+ 32 && o(
2203
+ e,
2204
+ "lang",
2205
+ /*lang*/
2206
+ f[5]
2207
+ ), d[0] & /*translationurl*/
2208
+ 4096 && o(
2209
+ e,
2210
+ "translationurl",
2211
+ /*translationurl*/
2212
+ f[12]
2213
+ ), d[0] & /*favorites*/
2214
+ 256 && o(
2215
+ e,
2216
+ "favorites",
2217
+ /*favorites*/
2218
+ f[8]
2219
+ ), d[0] & /*categoryid*/
2220
+ 1 && o(
2221
+ e,
2222
+ "categoryid",
2223
+ /*categoryid*/
2224
+ f[0]
2225
+ ), d[1] & /*favoriteGamesData*/
2226
+ 2048 && n !== (n = /*gameprops*/
2227
+ f[100].gameModel.thumbnail) && o(e, "gamethumbnail", n), d[1] & /*favoriteGamesData*/
2228
+ 2048 && i !== (i = /*getRequiredIcon*/
2229
+ f[46](
2230
+ /*gameprops*/
2231
+ f[100]?.icons
2232
+ )) && o(e, "icon", i), d[1] & /*favoriteGamesData*/
2233
+ 2048 && r !== (r = /*gameprops*/
2234
+ f[100].gameModel.name) && o(e, "gamename", r), d[1] & /*favoriteGamesData*/
2235
+ 2048 && s !== (s = /*gameprops*/
2236
+ f[100].gameModel.vendor.logo) && o(e, "gamevendor", s), d[1] & /*favoriteGamesData*/
2237
+ 2048 && u !== (u = /*gameprops*/
2238
+ f[100].launchUrl) && o(e, "gameLaunchUrl", u), d[1] & /*favoriteGamesData*/
2239
+ 2048 && m !== (m = /*gameprops*/
2240
+ f[100].gameModel.isNew) && o(e, "gameisnew", m), d[1] & /*favoriteGamesData*/
2241
+ 2048 && c !== (c = /*addGameTag*/
2242
+ f[45](
2243
+ /*gameprops*/
2244
+ f[100].gameModel?.advancedTags
2245
+ )) && o(e, "gametag", c), d[1] & /*favoriteGamesData*/
2246
+ 2048 && g !== (g = /*gameprops*/
2247
+ f[100].cellSize) && o(e, "gamecellsize", g), d[1] & /*favoriteGamesData*/
2248
+ 2048 && h !== (h = /*gameprops*/
2249
+ f[100].gameModel.id) && o(e, "gameid", h), d[1] & /*favoriteGamesData*/
2250
+ 2048 && _ !== (_ = /*gameprops*/
2251
+ f[100].gameModel.hasFunMode) && o(e, "gamefunmode", _), d[0] & /*showgamename*/
2252
+ 16384 && o(
2253
+ e,
2254
+ "showgamename",
2255
+ /*showgamename*/
2256
+ f[14]
2257
+ ), d[1] & /*favoriteGamesData*/
2258
+ 2048 && b !== (b = /*gameprops*/
2259
+ f[100].gameModel.isFavorite) && o(e, "gamefavorite", b), d[1] & /*showFavGamesCategory*/
2260
+ 256 && o(
2261
+ e,
2262
+ "showfavoredcategory",
2263
+ /*showFavGamesCategory*/
2264
+ f[39]
2265
+ ), d[1] & /*intersectingIndexes, favoriteGamesData*/
2266
+ 2560 && k !== (k = /*intersectingIndexes*/
2267
+ f[40][
2268
+ /*gameprops*/
2269
+ f[100].id
2270
+ ] == 1 ? "connect" : "disconnect") && o(e, "connectlive", k), d[1] & /*visibilityconnect*/
2271
+ 1024 && o(
2272
+ e,
2273
+ "visibilityconnect",
2274
+ /*visibilityconnect*/
2275
+ f[41]
2276
+ ), d[0] & /*currency*/
2277
+ 8192 && o(
2278
+ e,
2279
+ "currency",
2280
+ /*currency*/
2281
+ f[13]
2282
+ ), d[1] & /*favoriteGamesData*/
2283
+ 2048 && w !== (w = /*gameprops*/
2284
+ f[100].gameModel.details ? (
2285
+ /*gameprops*/
2286
+ f[100].gameModel.launchUrl
2287
+ ) : "") && o(e, "livelobbyendpoint", w), d[0] & /*clientstyling*/
2288
+ 1024 && o(
2289
+ e,
2290
+ "clientstyling",
2291
+ /*clientstyling*/
2292
+ f[10]
2293
+ ), d[0] & /*clientstylingurl*/
2294
+ 2048 && o(
2295
+ e,
2296
+ "clientstylingurl",
2297
+ /*clientstylingurl*/
2298
+ f[11]
2299
+ ), d[0] & /*endpoint*/
2300
+ 8 && o(
2301
+ e,
2302
+ "endpoint",
2303
+ /*endpoint*/
2304
+ f[3]
2305
+ ), d[0] & /*livecasino*/
2306
+ 32768 && o(
2307
+ e,
2308
+ "livecasino",
2309
+ /*livecasino*/
2310
+ f[15]
2311
+ ), d[0] & /*gamepagemodalurl*/
2312
+ 65536 && o(
2313
+ e,
2314
+ "gamepagemodalurl",
2315
+ /*gamepagemodalurl*/
2316
+ f[16]
2317
+ ), d[0] & /*integratedgameframedesktop*/
2318
+ 131072 && o(
2319
+ e,
2320
+ "integratedgameframedesktop",
2321
+ /*integratedgameframedesktop*/
2322
+ f[17]
2323
+ ), d[0] & /*integratedgameframemobile*/
2324
+ 262144 && o(
2325
+ e,
2326
+ "integratedgameframemobile",
2327
+ /*integratedgameframemobile*/
2328
+ f[18]
2329
+ ), d[0] & /*mbsource*/
2330
+ 512 && o(
2331
+ e,
2332
+ "mbsource",
2333
+ /*mbsource*/
2334
+ f[9]
2335
+ );
2336
+ },
2337
+ d(f) {
2338
+ f && S(e);
2339
+ }
2340
+ };
2341
+ }
2342
+ function ri(t) {
2343
+ let e = (
2344
+ /*gameprops*/
2345
+ t[100].gameModel.platform.includes("iPad") || /*gameprops*/
2346
+ t[100].gameModel.platform.includes("iPhone") || /*gameprops*/
2347
+ t[100].gameModel.platform.includes("Android")
2348
+ ), a, n = e && za(t);
2349
+ return {
2350
+ c() {
2351
+ n && n.c(), a = re();
2352
+ },
2353
+ m(i, r) {
2354
+ n && n.m(i, r), M(i, a, r);
2355
+ },
2356
+ p(i, r) {
2357
+ r[1] & /*favoriteGamesData*/
2358
+ 2048 && (e = /*gameprops*/
2359
+ i[100].gameModel.platform.includes("iPad") || /*gameprops*/
2360
+ i[100].gameModel.platform.includes("iPhone") || /*gameprops*/
2361
+ i[100].gameModel.platform.includes("Android")), e ? n ? n.p(i, r) : (n = za(i), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
2362
+ },
2363
+ d(i) {
2364
+ i && S(a), n && n.d(i);
2365
+ }
2366
+ };
2367
+ }
2368
+ function za(t) {
2369
+ let e, a, n, i, r, s, u, m, c, g, h, _, b, k, w;
2370
+ return {
2371
+ c() {
2372
+ e = G("casino-game-thumbnail-nd"), o(e, "class", a = "" + (me + /*gameprops*/
2373
+ (t[100].cellSize ? (
2374
+ /*gameprops*/
2375
+ t[100].cellSize
2376
+ ) : "1x1"))), o(
2377
+ e,
2378
+ "session",
2379
+ /*session*/
2380
+ t[6]
2381
+ ), o(
2382
+ e,
2383
+ "userid",
2384
+ /*userid*/
2385
+ t[7]
2386
+ ), o(
2387
+ e,
2388
+ "lang",
2389
+ /*lang*/
2390
+ t[5]
2391
+ ), o(
2392
+ e,
2393
+ "favorites",
2394
+ /*favorites*/
2395
+ t[8]
2396
+ ), o(
2397
+ e,
2398
+ "categoryid",
2399
+ /*categoryid*/
2400
+ t[0]
2401
+ ), o(e, "gamethumbnail", n = /*gameprops*/
2402
+ t[100].gameModel.thumbnail), o(e, "icon", i = /*getRequiredIcon*/
2403
+ t[46](
2404
+ /*gameprops*/
2405
+ t[100]?.icons
2406
+ )), o(e, "gamename", r = /*gameprops*/
2407
+ t[100].gameModel.name), o(e, "gamevendor", s = /*gameprops*/
2408
+ t[100].gameModel.vendor.logo), o(e, "gameLaunchUrl", u = /*gameprops*/
2409
+ t[100].launchUrl), o(e, "gameisnew", m = /*gameprops*/
2410
+ t[100].gameModel.isNew), o(e, "gametag", c = /*addGameTag*/
2411
+ t[45](
2412
+ /*gameprops*/
2413
+ t[100].gameModel?.advancedTags
2414
+ )), o(e, "gamecellsize", g = /*gameprops*/
2415
+ t[100].cellSize), o(e, "gameid", h = /*gameprops*/
2416
+ t[100].gameModel.id), o(e, "gamefunmode", _ = /*gameprops*/
2417
+ t[100].gameModel.hasFunMode), o(
2418
+ e,
2419
+ "showgamename",
2420
+ /*showgamename*/
2421
+ t[14]
2422
+ ), o(e, "gamefavorite", b = /*gameprops*/
2423
+ t[100].gameModel.isFavorite), o(
2424
+ e,
2425
+ "showfavoredcategory",
2426
+ /*showFavGamesCategory*/
2427
+ t[39]
2428
+ ), o(e, "connectlive", k = /*intersectingIndexes*/
2429
+ t[40][
2430
+ /*gameprops*/
2431
+ t[100].id
2432
+ ] == 1 ? "connect" : "disconnect"), o(
2433
+ e,
2434
+ "visibilityconnect",
2435
+ /*visibilityconnect*/
2436
+ t[41]
2437
+ ), o(
2438
+ e,
2439
+ "translationurl",
2440
+ /*translationurl*/
2441
+ t[12]
2442
+ ), o(
2443
+ e,
2444
+ "currency",
2445
+ /*currency*/
2446
+ t[13]
2447
+ ), o(e, "livelobbyendpoint", w = /*gameprops*/
2448
+ t[100].gameModel.details ? (
2449
+ /*gameprops*/
2450
+ t[100].gameModel.launchUrl
2451
+ ) : ""), o(
2452
+ e,
2453
+ "clientstyling",
2454
+ /*clientstyling*/
2455
+ t[10]
2456
+ ), o(
2457
+ e,
2458
+ "clientstylingurl",
2459
+ /*clientstylingurl*/
2460
+ t[11]
2461
+ ), o(
2462
+ e,
2463
+ "endpoint",
2464
+ /*endpoint*/
2465
+ t[3]
2466
+ ), o(
2467
+ e,
2468
+ "livecasino",
2469
+ /*livecasino*/
2470
+ t[15]
2471
+ ), o(
2472
+ e,
2473
+ "gamepagemodalurl",
2474
+ /*gamepagemodalurl*/
2475
+ t[16]
2476
+ ), o(
2477
+ e,
2478
+ "integratedgameframedesktop",
2479
+ /*integratedgameframedesktop*/
2480
+ t[17]
2481
+ ), o(
2482
+ e,
2483
+ "integratedgameframemobile",
2484
+ /*integratedgameframemobile*/
2485
+ t[18]
2486
+ ), o(
2487
+ e,
2488
+ "mbsource",
2489
+ /*mbsource*/
2490
+ t[9]
2491
+ );
2492
+ },
2493
+ m(f, d) {
2494
+ M(f, e, d);
2495
+ },
2496
+ p(f, d) {
2497
+ d[1] & /*favoriteGamesData*/
2498
+ 2048 && a !== (a = "" + (me + /*gameprops*/
2499
+ (f[100].cellSize ? (
2500
+ /*gameprops*/
2501
+ f[100].cellSize
2502
+ ) : "1x1"))) && o(e, "class", a), d[0] & /*session*/
2503
+ 64 && o(
2504
+ e,
2505
+ "session",
2506
+ /*session*/
2507
+ f[6]
2508
+ ), d[0] & /*userid*/
2509
+ 128 && o(
2510
+ e,
2511
+ "userid",
2512
+ /*userid*/
2513
+ f[7]
2514
+ ), d[0] & /*lang*/
2515
+ 32 && o(
2516
+ e,
2517
+ "lang",
2518
+ /*lang*/
2519
+ f[5]
2520
+ ), d[0] & /*favorites*/
2521
+ 256 && o(
2522
+ e,
2523
+ "favorites",
2524
+ /*favorites*/
2525
+ f[8]
2526
+ ), d[0] & /*categoryid*/
2527
+ 1 && o(
2528
+ e,
2529
+ "categoryid",
2530
+ /*categoryid*/
2531
+ f[0]
2532
+ ), d[1] & /*favoriteGamesData*/
2533
+ 2048 && n !== (n = /*gameprops*/
2534
+ f[100].gameModel.thumbnail) && o(e, "gamethumbnail", n), d[1] & /*favoriteGamesData*/
2535
+ 2048 && i !== (i = /*getRequiredIcon*/
2536
+ f[46](
2537
+ /*gameprops*/
2538
+ f[100]?.icons
2539
+ )) && o(e, "icon", i), d[1] & /*favoriteGamesData*/
2540
+ 2048 && r !== (r = /*gameprops*/
2541
+ f[100].gameModel.name) && o(e, "gamename", r), d[1] & /*favoriteGamesData*/
2542
+ 2048 && s !== (s = /*gameprops*/
2543
+ f[100].gameModel.vendor.logo) && o(e, "gamevendor", s), d[1] & /*favoriteGamesData*/
2544
+ 2048 && u !== (u = /*gameprops*/
2545
+ f[100].launchUrl) && o(e, "gameLaunchUrl", u), d[1] & /*favoriteGamesData*/
2546
+ 2048 && m !== (m = /*gameprops*/
2547
+ f[100].gameModel.isNew) && o(e, "gameisnew", m), d[1] & /*favoriteGamesData*/
2548
+ 2048 && c !== (c = /*addGameTag*/
2549
+ f[45](
2550
+ /*gameprops*/
2551
+ f[100].gameModel?.advancedTags
2552
+ )) && o(e, "gametag", c), d[1] & /*favoriteGamesData*/
2553
+ 2048 && g !== (g = /*gameprops*/
2554
+ f[100].cellSize) && o(e, "gamecellsize", g), d[1] & /*favoriteGamesData*/
2555
+ 2048 && h !== (h = /*gameprops*/
2556
+ f[100].gameModel.id) && o(e, "gameid", h), d[1] & /*favoriteGamesData*/
2557
+ 2048 && _ !== (_ = /*gameprops*/
2558
+ f[100].gameModel.hasFunMode) && o(e, "gamefunmode", _), d[0] & /*showgamename*/
2559
+ 16384 && o(
2560
+ e,
2561
+ "showgamename",
2562
+ /*showgamename*/
2563
+ f[14]
2564
+ ), d[1] & /*favoriteGamesData*/
2565
+ 2048 && b !== (b = /*gameprops*/
2566
+ f[100].gameModel.isFavorite) && o(e, "gamefavorite", b), d[1] & /*showFavGamesCategory*/
2567
+ 256 && o(
2568
+ e,
2569
+ "showfavoredcategory",
2570
+ /*showFavGamesCategory*/
2571
+ f[39]
2572
+ ), d[1] & /*intersectingIndexes, favoriteGamesData*/
2573
+ 2560 && k !== (k = /*intersectingIndexes*/
2574
+ f[40][
2575
+ /*gameprops*/
2576
+ f[100].id
2577
+ ] == 1 ? "connect" : "disconnect") && o(e, "connectlive", k), d[1] & /*visibilityconnect*/
2578
+ 1024 && o(
2579
+ e,
2580
+ "visibilityconnect",
2581
+ /*visibilityconnect*/
2582
+ f[41]
2583
+ ), d[0] & /*translationurl*/
2584
+ 4096 && o(
2585
+ e,
2586
+ "translationurl",
2587
+ /*translationurl*/
2588
+ f[12]
2589
+ ), d[0] & /*currency*/
2590
+ 8192 && o(
2591
+ e,
2592
+ "currency",
2593
+ /*currency*/
2594
+ f[13]
2595
+ ), d[1] & /*favoriteGamesData*/
2596
+ 2048 && w !== (w = /*gameprops*/
2597
+ f[100].gameModel.details ? (
2598
+ /*gameprops*/
2599
+ f[100].gameModel.launchUrl
2600
+ ) : "") && o(e, "livelobbyendpoint", w), d[0] & /*clientstyling*/
2601
+ 1024 && o(
2602
+ e,
2603
+ "clientstyling",
2604
+ /*clientstyling*/
2605
+ f[10]
2606
+ ), d[0] & /*clientstylingurl*/
2607
+ 2048 && o(
2608
+ e,
2609
+ "clientstylingurl",
2610
+ /*clientstylingurl*/
2611
+ f[11]
2612
+ ), d[0] & /*endpoint*/
2613
+ 8 && o(
2614
+ e,
2615
+ "endpoint",
2616
+ /*endpoint*/
2617
+ f[3]
2618
+ ), d[0] & /*livecasino*/
2619
+ 32768 && o(
2620
+ e,
2621
+ "livecasino",
2622
+ /*livecasino*/
2623
+ f[15]
2624
+ ), d[0] & /*gamepagemodalurl*/
2625
+ 65536 && o(
2626
+ e,
2627
+ "gamepagemodalurl",
2628
+ /*gamepagemodalurl*/
2629
+ f[16]
2630
+ ), d[0] & /*integratedgameframedesktop*/
2631
+ 131072 && o(
2632
+ e,
2633
+ "integratedgameframedesktop",
2634
+ /*integratedgameframedesktop*/
2635
+ f[17]
2636
+ ), d[0] & /*integratedgameframemobile*/
2637
+ 262144 && o(
2638
+ e,
2639
+ "integratedgameframemobile",
2640
+ /*integratedgameframemobile*/
2641
+ f[18]
2642
+ ), d[0] & /*mbsource*/
2643
+ 512 && o(
2644
+ e,
2645
+ "mbsource",
2646
+ /*mbsource*/
2647
+ f[9]
2648
+ );
2649
+ },
2650
+ d(f) {
2651
+ f && S(e);
2652
+ }
2653
+ };
2654
+ }
2655
+ function Oa(t) {
2656
+ let e, a = (
2657
+ /*gameprops*/
2658
+ t[100].gameModel && Fa(t)
2659
+ );
2660
+ return {
2661
+ c() {
2662
+ a && a.c(), e = re();
2663
+ },
2664
+ m(n, i) {
2665
+ a && a.m(n, i), M(n, e, i);
2666
+ },
2667
+ p(n, i) {
2668
+ /*gameprops*/
2669
+ n[100].gameModel ? a ? a.p(n, i) : (a = Fa(n), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
2670
+ },
2671
+ d(n) {
2672
+ n && S(e), a && a.d(n);
2673
+ }
2674
+ };
2675
+ }
2676
+ function Da(t) {
2677
+ let e, a, n, i = (
2678
+ /*categoryData*/
2679
+ t[28].name + ""
2680
+ ), r, s;
2681
+ function u(b, k) {
2682
+ return (
2683
+ /*categoryData*/
2684
+ b[28].icon ? si : oi
2685
+ );
2686
+ }
2687
+ let m = u(t), c = m(t);
2688
+ function g(b, k) {
2689
+ return (
2690
+ /*lobbyView*/
2691
+ b[27] && /*showLoadCategory*/
2692
+ b[30] ? ui : li
2693
+ );
2694
+ }
2695
+ let h = g(t), _ = h(t);
2696
+ return {
2697
+ c() {
2698
+ e = G("div"), c.c(), a = K(), n = G("h3"), r = A(i), s = K(), _.c(), v(n, "class", "CategoryName"), v(e, "class", "CasinoGamesHeader");
2699
+ },
2700
+ m(b, k) {
2701
+ M(b, e, k), c.m(e, null), C(e, a), C(e, n), C(n, r), t[58](n), C(e, s), _.m(e, null);
2702
+ },
2703
+ p(b, k) {
2704
+ m === (m = u(b)) && c ? c.p(b, k) : (c.d(1), c = m(b), c && (c.c(), c.m(e, a))), k[0] & /*categoryData*/
2705
+ 268435456 && i !== (i = /*categoryData*/
2706
+ b[28].name + "") && V(r, i), h === (h = g(b)) && _ ? _.p(b, k) : (_.d(1), _ = h(b), _ && (_.c(), _.m(e, null)));
2707
+ },
2708
+ d(b) {
2709
+ b && S(e), c.d(), t[58](null), _.d();
2710
+ }
2711
+ };
2712
+ }
2713
+ function oi(t) {
2714
+ let e;
2715
+ return {
2716
+ c() {
2717
+ e = G("span"), e.innerHTML = '<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>', v(e, "class", "CategoryIcon");
2718
+ },
2719
+ m(a, n) {
2720
+ M(a, e, n);
2721
+ },
2722
+ p: we,
2723
+ d(a) {
2724
+ a && S(e);
2725
+ }
2726
+ };
2727
+ }
2728
+ function si(t) {
2729
+ let e, a;
2730
+ return {
2731
+ c() {
2732
+ e = G("img"), va(e.src, a = /*categoryData*/
2733
+ t[28].icon) || v(e, "src", a), v(e, "alt", "Category Icon");
2734
+ },
2735
+ m(n, i) {
2736
+ M(n, e, i);
2737
+ },
2738
+ p(n, i) {
2739
+ i[0] & /*categoryData*/
2740
+ 268435456 && !va(e.src, a = /*categoryData*/
2741
+ n[28].icon) && v(e, "src", a);
2742
+ },
2743
+ d(n) {
2744
+ n && S(e);
2745
+ }
2746
+ };
2747
+ }
2748
+ function li(t) {
2749
+ let e, a, n, i = (
2750
+ /*addfilterselector*/
2751
+ t[1] == "true" && /*usesinglevendorfilter*/
2752
+ t[22] === "false" && Ea(t)
2753
+ ), r = (
2754
+ /*addsortingselector*/
2755
+ t[2] == "true" && Pa(t)
2756
+ );
2757
+ return {
2758
+ c() {
2759
+ e = G("div"), i && i.c(), a = K(), r && r.c(), v(e, "class", n = /*addfilterselector*/
2760
+ t[1] == "true" && /*usesinglevendorfilter*/
2761
+ t[22] === "false" && /*addsortingselector*/
2762
+ t[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
2763
+ },
2764
+ m(s, u) {
2765
+ M(s, e, u), i && i.m(e, null), C(e, a), r && r.m(e, null);
2766
+ },
2767
+ p(s, u) {
2768
+ /*addfilterselector*/
2769
+ s[1] == "true" && /*usesinglevendorfilter*/
2770
+ s[22] === "false" ? i ? i.p(s, u) : (i = Ea(s), i.c(), i.m(e, a)) : i && (i.d(1), i = null), /*addsortingselector*/
2771
+ s[2] == "true" ? r ? r.p(s, u) : (r = Pa(s), r.c(), r.m(e, null)) : r && (r.d(1), r = null), u[0] & /*addfilterselector, usesinglevendorfilter, addsortingselector*/
2772
+ 4194310 && n !== (n = /*addfilterselector*/
2773
+ s[1] == "true" && /*usesinglevendorfilter*/
2774
+ s[22] === "false" && /*addsortingselector*/
2775
+ s[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer") && v(e, "class", n);
2776
+ },
2777
+ d(s) {
2778
+ s && S(e), i && i.d(), r && r.d();
2779
+ }
2780
+ };
2781
+ }
2782
+ function ui(t) {
2783
+ let e, a, n = (
2784
+ /*$_*/
2785
+ t[43]("viewAll") + ""
2786
+ ), i, r, s = (
2787
+ /*categoryData*/
2788
+ t[28].games.total + ""
2789
+ ), u, m, c, g;
2790
+ return {
2791
+ c() {
2792
+ e = G("a"), a = G("span"), i = A(n), r = A(" ("), u = A(s), m = A(")"), v(a, "class", "CategoryLoadMore"), v(e, "class", "CategoryNameLink");
2793
+ },
2794
+ m(h, _) {
2795
+ M(h, e, _), C(e, a), C(a, i), C(a, r), C(a, u), C(a, m), c || (g = Tt(
2796
+ e,
2797
+ "click",
2798
+ /*click_handler*/
2799
+ t[59]
2800
+ ), c = !0);
2801
+ },
2802
+ p(h, _) {
2803
+ _[1] & /*$_*/
2804
+ 4096 && n !== (n = /*$_*/
2805
+ h[43]("viewAll") + "") && V(i, n), _[0] & /*categoryData*/
2806
+ 268435456 && s !== (s = /*categoryData*/
2807
+ h[28].games.total + "") && V(u, s);
2808
+ },
2809
+ d(h) {
2810
+ h && S(e), c = !1, g();
2811
+ }
2812
+ };
2813
+ }
2814
+ function Ea(t) {
2815
+ let e;
2816
+ return {
2817
+ c() {
2818
+ e = G("casino-filter"), o(
2819
+ e,
2820
+ "clientstylingurl",
2821
+ /*clientstylingurl*/
2822
+ t[11]
2823
+ ), o(
2824
+ e,
2825
+ "clientstyling",
2826
+ /*clientstyling*/
2827
+ t[10]
2828
+ ), o(
2829
+ e,
2830
+ "endpoint",
2831
+ /*endpoint*/
2832
+ t[3]
2833
+ ), o(
2834
+ e,
2835
+ "datasource",
2836
+ /*datasource*/
2837
+ t[4]
2838
+ ), o(
2839
+ e,
2840
+ "lang",
2841
+ /*lang*/
2842
+ t[5]
2843
+ ), o(
2844
+ e,
2845
+ "categoryid",
2846
+ /*categoryid*/
2847
+ t[0]
2848
+ ), o(
2849
+ e,
2850
+ "addfilterselector",
2851
+ /*addfilterselector*/
2852
+ t[1]
2853
+ ), o(
2854
+ e,
2855
+ "addsortingselector",
2856
+ /*addsortingselector*/
2857
+ t[2]
2858
+ ), o(
2859
+ e,
2860
+ "filterbylogo",
2861
+ /*filterbylogo*/
2862
+ t[20]
2863
+ ), o(
2864
+ e,
2865
+ "mbsource",
2866
+ /*mbsource*/
2867
+ t[9]
2868
+ );
2869
+ },
2870
+ m(a, n) {
2871
+ M(a, e, n);
2872
+ },
2873
+ p(a, n) {
2874
+ n[0] & /*clientstylingurl*/
2875
+ 2048 && o(
2876
+ e,
2877
+ "clientstylingurl",
2878
+ /*clientstylingurl*/
2879
+ a[11]
2880
+ ), n[0] & /*clientstyling*/
2881
+ 1024 && o(
2882
+ e,
2883
+ "clientstyling",
2884
+ /*clientstyling*/
2885
+ a[10]
2886
+ ), n[0] & /*endpoint*/
2887
+ 8 && o(
2888
+ e,
2889
+ "endpoint",
2890
+ /*endpoint*/
2891
+ a[3]
2892
+ ), n[0] & /*datasource*/
2893
+ 16 && o(
2894
+ e,
2895
+ "datasource",
2896
+ /*datasource*/
2897
+ a[4]
2898
+ ), n[0] & /*lang*/
2899
+ 32 && o(
2900
+ e,
2901
+ "lang",
2902
+ /*lang*/
2903
+ a[5]
2904
+ ), n[0] & /*categoryid*/
2905
+ 1 && o(
2906
+ e,
2907
+ "categoryid",
2908
+ /*categoryid*/
2909
+ a[0]
2910
+ ), n[0] & /*addfilterselector*/
2911
+ 2 && o(
2912
+ e,
2913
+ "addfilterselector",
2914
+ /*addfilterselector*/
2915
+ a[1]
2916
+ ), n[0] & /*addsortingselector*/
2917
+ 4 && o(
2918
+ e,
2919
+ "addsortingselector",
2920
+ /*addsortingselector*/
2921
+ a[2]
2922
+ ), n[0] & /*filterbylogo*/
2923
+ 1048576 && o(
2924
+ e,
2925
+ "filterbylogo",
2926
+ /*filterbylogo*/
2927
+ a[20]
2928
+ ), n[0] & /*mbsource*/
2929
+ 512 && o(
2930
+ e,
2931
+ "mbsource",
2932
+ /*mbsource*/
2933
+ a[9]
2934
+ );
2935
+ },
2936
+ d(a) {
2937
+ a && S(e);
2938
+ }
2939
+ };
2940
+ }
2941
+ function Pa(t) {
2942
+ let e;
2943
+ return {
2944
+ c() {
2945
+ e = G("casino-sort"), o(
2946
+ e,
2947
+ "clientstylingurl",
2948
+ /*clientstylingurl*/
2949
+ t[11]
2950
+ ), o(
2951
+ e,
2952
+ "clientstyling",
2953
+ /*clientstyling*/
2954
+ t[10]
2955
+ ), o(
2956
+ e,
2957
+ "lang",
2958
+ /*lang*/
2959
+ t[5]
2960
+ ), o(
2961
+ e,
2962
+ "categoryid",
2963
+ /*categoryid*/
2964
+ t[0]
2965
+ ), o(
2966
+ e,
2967
+ "addsortingselector",
2968
+ /*addsortingselector*/
2969
+ t[2]
2970
+ ), o(
2971
+ e,
2972
+ "mbsource",
2973
+ /*mbsource*/
2974
+ t[9]
2975
+ );
2976
+ },
2977
+ m(a, n) {
2978
+ M(a, e, n);
2979
+ },
2980
+ p(a, n) {
2981
+ n[0] & /*clientstylingurl*/
2982
+ 2048 && o(
2983
+ e,
2984
+ "clientstylingurl",
2985
+ /*clientstylingurl*/
2986
+ a[11]
2987
+ ), n[0] & /*clientstyling*/
2988
+ 1024 && o(
2989
+ e,
2990
+ "clientstyling",
2991
+ /*clientstyling*/
2992
+ a[10]
2993
+ ), n[0] & /*lang*/
2994
+ 32 && o(
2995
+ e,
2996
+ "lang",
2997
+ /*lang*/
2998
+ a[5]
2999
+ ), n[0] & /*categoryid*/
3000
+ 1 && o(
3001
+ e,
3002
+ "categoryid",
3003
+ /*categoryid*/
3004
+ a[0]
3005
+ ), n[0] & /*addsortingselector*/
3006
+ 4 && o(
3007
+ e,
3008
+ "addsortingselector",
3009
+ /*addsortingselector*/
3010
+ a[2]
3011
+ ), n[0] & /*mbsource*/
3012
+ 512 && o(
3013
+ e,
3014
+ "mbsource",
3015
+ /*mbsource*/
3016
+ a[9]
3017
+ );
3018
+ },
3019
+ d(a) {
3020
+ a && S(e);
3021
+ }
3022
+ };
3023
+ }
3024
+ function mi(t) {
3025
+ let e, a = (
3026
+ /*$_*/
3027
+ t[43]("noResults") + ""
3028
+ ), n;
3029
+ return {
3030
+ c() {
3031
+ e = G("p"), n = A(a), v(e, "class", "NoSearchResults");
3032
+ },
3033
+ m(i, r) {
3034
+ M(i, e, r), C(e, n);
3035
+ },
3036
+ p(i, r) {
3037
+ r[1] & /*$_*/
3038
+ 4096 && a !== (a = /*$_*/
3039
+ i[43]("noResults") + "") && V(n, a);
3040
+ },
3041
+ d(i) {
3042
+ i && S(e);
3043
+ }
3044
+ };
3045
+ }
3046
+ function ci(t) {
3047
+ let e, a = [], n = /* @__PURE__ */ new Map(), i, r = ye(
3048
+ /*shownCategoryData*/
3049
+ t[29]
3050
+ );
3051
+ const s = (u) => (
3052
+ /*gameprops*/
3053
+ u[100].id
3054
+ );
3055
+ for (let u = 0; u < r.length; u += 1) {
3056
+ let m = Ca(t, r, u), c = s(m);
3057
+ n.set(c, a[u] = Na(c, m));
3058
+ }
3059
+ return {
3060
+ c() {
3061
+ e = G("ul");
3062
+ for (let u = 0; u < a.length; u += 1)
3063
+ a[u].c();
3064
+ v(e, "class", i = /*favoriteGamesData*/
3065
+ (t[42].items.length === 0 && /*showFavGamesCategory*/
3066
+ t[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
3067
+ (t[27] && /*casinogamesgridslider*/
3068
+ t[21] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
3069
+ },
3070
+ m(u, m) {
3071
+ M(u, e, m);
3072
+ for (let c = 0; c < a.length; c += 1)
3073
+ a[c] && a[c].m(e, null);
3074
+ t[61](e);
3075
+ },
3076
+ p(u, m) {
3077
+ m[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, mbsource, thumbnailContainer*/
3078
+ 556269545 | m[1] & /*getRequiredIcon, addGameTag, intersectingIndexes, visibilityconnect*/
3079
+ 50688 && (r = ye(
3080
+ /*shownCategoryData*/
3081
+ u[29]
3082
+ ), a = Ra(a, m, s, 1, u, r, n, e, La, Na, null, Ca)), m[0] & /*lobbyView, casinogamesgridslider*/
3083
+ 136314880 | m[1] & /*favoriteGamesData, showFavGamesCategory*/
3084
+ 2304 && i !== (i = /*favoriteGamesData*/
3085
+ (u[42].items.length === 0 && /*showFavGamesCategory*/
3086
+ u[39] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
3087
+ (u[27] && /*casinogamesgridslider*/
3088
+ u[21] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && v(e, "class", i);
3089
+ },
3090
+ d(u) {
3091
+ u && S(e);
3092
+ for (let m = 0; m < a.length; m += 1)
3093
+ a[m].d();
3094
+ t[61](null);
3095
+ }
3096
+ };
3097
+ }
3098
+ function di(t) {
3099
+ let e;
3100
+ return {
3101
+ c() {
3102
+ e = G("div"), v(e, "class", "DualRing");
3103
+ },
3104
+ m(a, n) {
3105
+ M(a, e, n);
3106
+ },
3107
+ p: we,
3108
+ d(a) {
3109
+ a && S(e);
3110
+ }
3111
+ };
3112
+ }
3113
+ function fi(t) {
3114
+ let e, a, n, i, r, s, u, m, c, g, h, _, b, k, w, f = (
3115
+ /*index*/
3116
+ t[102]
3117
+ );
3118
+ const d = () => (
3119
+ /*casino_game_thumbnail_nd_binding*/
3120
+ t[60](e, f)
3121
+ ), q = () => (
3122
+ /*casino_game_thumbnail_nd_binding*/
3123
+ t[60](null, f)
3124
+ );
3125
+ return {
3126
+ c() {
3127
+ e = G("casino-game-thumbnail-nd"), o(e, "gamethumbnail", a = /*gameprops*/
3128
+ t[100].thumbnail), o(e, "icon", n = /*getRequiredIcon*/
3129
+ t[46](
3130
+ /*gameprops*/
3131
+ t[100]?.icons
3132
+ )), o(
3133
+ e,
3134
+ "session",
3135
+ /*session*/
3136
+ t[6]
3137
+ ), o(
3138
+ e,
3139
+ "userid",
3140
+ /*userid*/
3141
+ t[7]
3142
+ ), o(
3143
+ e,
3144
+ "lang",
3145
+ /*lang*/
3146
+ t[5]
3147
+ ), o(e, "class", i = "" + (me + /*gameprops*/
3148
+ (t[100].cellSize ? (
3149
+ /*gameprops*/
3150
+ t[100].cellSize
3151
+ ) : "1x1"))), o(
3152
+ e,
3153
+ "favorites",
3154
+ /*favorites*/
3155
+ t[8]
3156
+ ), o(
3157
+ e,
3158
+ "categoryid",
3159
+ /*categoryid*/
3160
+ t[0]
3161
+ ), o(e, "gamename", r = /*gameprops*/
3162
+ t[100].name), o(e, "gamevendor", s = /*gameprops*/
3163
+ t[100].vendor.logo), o(e, "gameLaunchUrl", u = /*gameprops*/
3164
+ t[100].launchUrl), o(e, "gameisnew", m = /*gameprops*/
3165
+ t[100].isNew), o(e, "gametag", c = /*addGameTag*/
3166
+ t[45](
3167
+ /*gameprops*/
3168
+ t[100].advancedTags
3169
+ )), o(e, "gamecellsize", g = /*gameprops*/
3170
+ t[100].cellSize), o(e, "gameid", h = /*gameprops*/
3171
+ t[100].id), o(e, "gamefunmode", _ = /*gameprops*/
3172
+ t[100].hasFunMode), o(e, "gamefavorite", b = /*gameprops*/
3173
+ t[100].isFavorite), o(
3174
+ e,
3175
+ "translationurl",
3176
+ /*translationurl*/
3177
+ t[12]
3178
+ ), o(
3179
+ e,
3180
+ "showgamename",
3181
+ /*showgamename*/
3182
+ t[14]
3183
+ ), o(e, "connectlive", k = /*intersectingIndexes*/
3184
+ t[40][
3185
+ /*gameprops*/
3186
+ t[100].id
3187
+ ] == 1 ? "connect" : "disconnect"), o(
3188
+ e,
3189
+ "visibilityconnect",
3190
+ /*visibilityconnect*/
3191
+ t[41]
3192
+ ), o(
3193
+ e,
3194
+ "currency",
3195
+ /*currency*/
3196
+ t[13]
3197
+ ), o(e, "livelobbyendpoint", w = /*gameprops*/
3198
+ t[100].details ? (
3199
+ /*gameprops*/
3200
+ t[100].href
3201
+ ) : ""), o(
3202
+ e,
3203
+ "clientstyling",
3204
+ /*clientstyling*/
3205
+ t[10]
3206
+ ), o(
3207
+ e,
3208
+ "clientstylingurl",
3209
+ /*clientstylingurl*/
3210
+ t[11]
3211
+ ), o(
3212
+ e,
3213
+ "endpoint",
3214
+ /*endpoint*/
3215
+ t[3]
3216
+ ), o(
3217
+ e,
3218
+ "livecasino",
3219
+ /*livecasino*/
3220
+ t[15]
3221
+ ), o(
3222
+ e,
3223
+ "gamepagemodalurl",
3224
+ /*gamepagemodalurl*/
3225
+ t[16]
3226
+ ), o(
3227
+ e,
3228
+ "integratedgameframedesktop",
3229
+ /*integratedgameframedesktop*/
3230
+ t[17]
3231
+ ), o(
3232
+ e,
3233
+ "integratedgameframemobile",
3234
+ /*integratedgameframemobile*/
3235
+ t[18]
3236
+ ), o(
3237
+ e,
3238
+ "casinogamesgridslider",
3239
+ /*casinogamesgridslider*/
3240
+ t[21]
3241
+ ), o(
3242
+ e,
3243
+ "mbsource",
3244
+ /*mbsource*/
3245
+ t[9]
3246
+ );
3247
+ },
3248
+ m(N, y) {
3249
+ M(N, e, y), d();
3250
+ },
3251
+ p(N, y) {
3252
+ t = N, y[0] & /*shownCategoryData*/
3253
+ 536870912 && a !== (a = /*gameprops*/
3254
+ t[100].thumbnail) && o(e, "gamethumbnail", a), y[0] & /*shownCategoryData*/
3255
+ 536870912 && n !== (n = /*getRequiredIcon*/
3256
+ t[46](
3257
+ /*gameprops*/
3258
+ t[100]?.icons
3259
+ )) && o(e, "icon", n), y[0] & /*session*/
3260
+ 64 && o(
3261
+ e,
3262
+ "session",
3263
+ /*session*/
3264
+ t[6]
3265
+ ), y[0] & /*userid*/
3266
+ 128 && o(
3267
+ e,
3268
+ "userid",
3269
+ /*userid*/
3270
+ t[7]
3271
+ ), y[0] & /*lang*/
3272
+ 32 && o(
3273
+ e,
3274
+ "lang",
3275
+ /*lang*/
3276
+ t[5]
3277
+ ), y[0] & /*shownCategoryData*/
3278
+ 536870912 && i !== (i = "" + (me + /*gameprops*/
3279
+ (t[100].cellSize ? (
3280
+ /*gameprops*/
3281
+ t[100].cellSize
3282
+ ) : "1x1"))) && o(e, "class", i), y[0] & /*favorites*/
3283
+ 256 && o(
3284
+ e,
3285
+ "favorites",
3286
+ /*favorites*/
3287
+ t[8]
3288
+ ), y[0] & /*categoryid*/
3289
+ 1 && o(
3290
+ e,
3291
+ "categoryid",
3292
+ /*categoryid*/
3293
+ t[0]
3294
+ ), y[0] & /*shownCategoryData*/
3295
+ 536870912 && r !== (r = /*gameprops*/
3296
+ t[100].name) && o(e, "gamename", r), y[0] & /*shownCategoryData*/
3297
+ 536870912 && s !== (s = /*gameprops*/
3298
+ t[100].vendor.logo) && o(e, "gamevendor", s), y[0] & /*shownCategoryData*/
3299
+ 536870912 && u !== (u = /*gameprops*/
3300
+ t[100].launchUrl) && o(e, "gameLaunchUrl", u), y[0] & /*shownCategoryData*/
3301
+ 536870912 && m !== (m = /*gameprops*/
3302
+ t[100].isNew) && o(e, "gameisnew", m), y[0] & /*shownCategoryData*/
3303
+ 536870912 && c !== (c = /*addGameTag*/
3304
+ t[45](
3305
+ /*gameprops*/
3306
+ t[100].advancedTags
3307
+ )) && o(e, "gametag", c), y[0] & /*shownCategoryData*/
3308
+ 536870912 && g !== (g = /*gameprops*/
3309
+ t[100].cellSize) && o(e, "gamecellsize", g), y[0] & /*shownCategoryData*/
3310
+ 536870912 && h !== (h = /*gameprops*/
3311
+ t[100].id) && o(e, "gameid", h), y[0] & /*shownCategoryData*/
3312
+ 536870912 && _ !== (_ = /*gameprops*/
3313
+ t[100].hasFunMode) && o(e, "gamefunmode", _), y[0] & /*shownCategoryData*/
3314
+ 536870912 && b !== (b = /*gameprops*/
3315
+ t[100].isFavorite) && o(e, "gamefavorite", b), y[0] & /*translationurl*/
3316
+ 4096 && o(
3317
+ e,
3318
+ "translationurl",
3319
+ /*translationurl*/
3320
+ t[12]
3321
+ ), y[0] & /*showgamename*/
3322
+ 16384 && o(
3323
+ e,
3324
+ "showgamename",
3325
+ /*showgamename*/
3326
+ t[14]
3327
+ ), y[0] & /*shownCategoryData*/
3328
+ 536870912 | y[1] & /*intersectingIndexes*/
3329
+ 512 && k !== (k = /*intersectingIndexes*/
3330
+ t[40][
3331
+ /*gameprops*/
3332
+ t[100].id
3333
+ ] == 1 ? "connect" : "disconnect") && o(e, "connectlive", k), y[1] & /*visibilityconnect*/
3334
+ 1024 && o(
3335
+ e,
3336
+ "visibilityconnect",
3337
+ /*visibilityconnect*/
3338
+ t[41]
3339
+ ), y[0] & /*currency*/
3340
+ 8192 && o(
3341
+ e,
3342
+ "currency",
3343
+ /*currency*/
3344
+ t[13]
3345
+ ), y[0] & /*shownCategoryData*/
3346
+ 536870912 && w !== (w = /*gameprops*/
3347
+ t[100].details ? (
3348
+ /*gameprops*/
3349
+ t[100].href
3350
+ ) : "") && o(e, "livelobbyendpoint", w), y[0] & /*clientstyling*/
3351
+ 1024 && o(
3352
+ e,
3353
+ "clientstyling",
3354
+ /*clientstyling*/
3355
+ t[10]
3356
+ ), y[0] & /*clientstylingurl*/
3357
+ 2048 && o(
3358
+ e,
3359
+ "clientstylingurl",
3360
+ /*clientstylingurl*/
3361
+ t[11]
3362
+ ), y[0] & /*endpoint*/
3363
+ 8 && o(
3364
+ e,
3365
+ "endpoint",
3366
+ /*endpoint*/
3367
+ t[3]
3368
+ ), y[0] & /*livecasino*/
3369
+ 32768 && o(
3370
+ e,
3371
+ "livecasino",
3372
+ /*livecasino*/
3373
+ t[15]
3374
+ ), y[0] & /*gamepagemodalurl*/
3375
+ 65536 && o(
3376
+ e,
3377
+ "gamepagemodalurl",
3378
+ /*gamepagemodalurl*/
3379
+ t[16]
3380
+ ), y[0] & /*integratedgameframedesktop*/
3381
+ 131072 && o(
3382
+ e,
3383
+ "integratedgameframedesktop",
3384
+ /*integratedgameframedesktop*/
3385
+ t[17]
3386
+ ), y[0] & /*integratedgameframemobile*/
3387
+ 262144 && o(
3388
+ e,
3389
+ "integratedgameframemobile",
3390
+ /*integratedgameframemobile*/
3391
+ t[18]
3392
+ ), y[0] & /*casinogamesgridslider*/
3393
+ 2097152 && o(
3394
+ e,
3395
+ "casinogamesgridslider",
3396
+ /*casinogamesgridslider*/
3397
+ t[21]
3398
+ ), y[0] & /*mbsource*/
3399
+ 512 && o(
3400
+ e,
3401
+ "mbsource",
3402
+ /*mbsource*/
3403
+ t[9]
3404
+ ), f !== /*index*/
3405
+ t[102] && (q(), f = /*index*/
3406
+ t[102], d());
3407
+ },
3408
+ d(N) {
3409
+ N && S(e), q();
3410
+ }
3411
+ };
3412
+ }
3413
+ function Na(t, e) {
3414
+ let a, n, i = fi(e);
3415
+ return {
3416
+ key: t,
3417
+ first: null,
3418
+ c() {
3419
+ a = re(), i && i.c(), n = re(), this.first = a;
3420
+ },
3421
+ m(r, s) {
3422
+ M(r, a, s), i && i.m(r, s), M(r, n, s);
3423
+ },
3424
+ p(r, s) {
3425
+ e = r, i.p(e, s);
3426
+ },
3427
+ d(r) {
3428
+ r && (S(a), S(n)), i && i.d(r);
3429
+ }
3430
+ };
3431
+ }
3432
+ function gi(t) {
3433
+ let e, a = (
3434
+ /*$_*/
3435
+ t[43]("searchedItems") + ""
3436
+ ), n;
3437
+ return {
3438
+ c() {
3439
+ e = G("h3"), n = A(a), v(e, "class", "StatusText");
3440
+ },
3441
+ m(i, r) {
3442
+ M(i, e, r), C(e, n);
3443
+ },
3444
+ p(i, r) {
3445
+ r[1] & /*$_*/
3446
+ 4096 && a !== (a = /*$_*/
3447
+ i[43]("searchedItems") + "") && V(n, a);
3448
+ },
3449
+ d(i) {
3450
+ i && S(e);
3451
+ }
3452
+ };
3453
+ }
3454
+ function hi(t) {
3455
+ let e, a = (
3456
+ /*$_*/
3457
+ t[43]("noResults") + ""
3458
+ ), n;
3459
+ return {
3460
+ c() {
3461
+ e = G("h3"), n = A(a), v(e, "class", "StatusText");
3462
+ },
3463
+ m(i, r) {
3464
+ M(i, e, r), C(e, n);
3465
+ },
3466
+ p(i, r) {
3467
+ r[1] & /*$_*/
3468
+ 4096 && a !== (a = /*$_*/
3469
+ i[43]("noResults") + "") && V(n, a);
3470
+ },
3471
+ d(i) {
3472
+ i && S(e);
3473
+ }
3474
+ };
3475
+ }
3476
+ function vi(t) {
3477
+ let e, a = (
3478
+ /*$_*/
3479
+ t[43]("recentSearchedItems") + ""
3480
+ ), n;
3481
+ return {
3482
+ c() {
3483
+ e = G("h3"), n = A(a), v(e, "class", "StatusText");
3484
+ },
3485
+ m(i, r) {
3486
+ M(i, e, r), C(e, n);
3487
+ },
3488
+ p(i, r) {
3489
+ r[1] & /*$_*/
3490
+ 4096 && a !== (a = /*$_*/
3491
+ i[43]("recentSearchedItems") + "") && V(n, a);
3492
+ },
3493
+ d(i) {
3494
+ i && S(e);
3495
+ }
3496
+ };
3497
+ }
3498
+ function pi(t) {
3499
+ let e;
3500
+ return {
3501
+ c() {
3502
+ e = G("p"), e.textContent = "Waiting", v(e, "class", "SearchWaiting");
3503
+ },
3504
+ m(a, n) {
3505
+ M(a, e, n);
3506
+ },
3507
+ p: we,
3508
+ d(a) {
3509
+ a && S(e);
3510
+ }
3511
+ };
3512
+ }
3513
+ function _i(t) {
3514
+ let e, a, n = [], i = /* @__PURE__ */ new Map(), r = !/*showItems*/
3515
+ t[35] && Ia(t), s = ye(
3516
+ /*shownCategoryData*/
3517
+ t[29]
3518
+ );
3519
+ const u = (m) => (
3520
+ /*gameprops*/
3521
+ m[100].id
3522
+ );
3523
+ for (let m = 0; m < s.length; m += 1) {
3524
+ let c = Sa(t, s, m), g = u(c);
3525
+ i.set(g, n[m] = Ua(g, c));
3526
+ }
3527
+ return {
3528
+ c() {
3529
+ r && r.c(), e = K(), a = G("ul");
3530
+ for (let m = 0; m < n.length; m += 1)
3531
+ n[m].c();
3532
+ v(a, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
3533
+ },
3534
+ m(m, c) {
3535
+ r && r.m(m, c), M(m, e, c), M(m, a, c);
3536
+ for (let g = 0; g < n.length; g += 1)
3537
+ n[g] && n[g].m(a, null);
3538
+ },
3539
+ p(m, c) {
3540
+ /*showItems*/
3541
+ m[35] ? r && (r.d(1), r = null) : r ? r.p(m, c) : (r = Ia(m), r.c(), r.m(e.parentNode, e)), c[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, mbsource*/
3542
+ 537395177 | c[1] & /*searchItem, getRequiredIcon, addGameTag*/
3543
+ 49156 && (s = ye(
3544
+ /*shownCategoryData*/
3545
+ m[29]
3546
+ ), n = Ra(n, c, u, 1, m, s, i, a, La, Ua, null, Sa));
3547
+ },
3548
+ d(m) {
3549
+ m && (S(e), S(a)), r && r.d(m);
3550
+ for (let c = 0; c < n.length; c += 1)
3551
+ n[c].d();
3552
+ }
3553
+ };
3554
+ }
3555
+ function Ia(t) {
3556
+ let e, a = (
3557
+ /*$_*/
3558
+ t[43]("noRecentSearch") + ""
3559
+ ), n;
3560
+ return {
3561
+ c() {
3562
+ e = G("p"), n = A(a), v(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (Ee(
3563
+ /*userAgent*/
3564
+ t[44]
3565
+ ) ? "NoRecentSearchesMobile" : ""));
3566
+ },
3567
+ m(i, r) {
3568
+ M(i, e, r), C(e, n);
3569
+ },
3570
+ p(i, r) {
3571
+ r[1] & /*$_*/
3572
+ 4096 && a !== (a = /*$_*/
3573
+ i[43]("noRecentSearch") + "") && V(n, a);
3574
+ },
3575
+ d(i) {
3576
+ i && S(e);
3577
+ }
3578
+ };
3579
+ }
3580
+ function Ua(t, e) {
3581
+ let a, n, i, r, s, u, m, c, g, h, _, b, k, w;
3582
+ return {
3583
+ key: t,
3584
+ first: null,
3585
+ c() {
3586
+ a = G("casino-game-thumbnail-nd"), o(a, "class", n = "" + (me + /*gameprops*/
3587
+ (e[100].cellSize ? (
3588
+ /*gameprops*/
3589
+ e[100].cellSize
3590
+ ) : "1x1"))), o(
3591
+ a,
3592
+ "session",
3593
+ /*session*/
3594
+ e[6]
3595
+ ), o(
3596
+ a,
3597
+ "userid",
3598
+ /*userid*/
3599
+ e[7]
3600
+ ), o(
3601
+ a,
3602
+ "lang",
3603
+ /*lang*/
3604
+ e[5]
3605
+ ), o(
3606
+ a,
3607
+ "searchitem",
3608
+ /*searchItem*/
3609
+ e[33]
3610
+ ), o(
3611
+ a,
3612
+ "favorites",
3613
+ /*favorites*/
3614
+ e[8]
3615
+ ), o(
3616
+ a,
3617
+ "categoryid",
3618
+ /*categoryid*/
3619
+ e[0]
3620
+ ), o(a, "gamethumbnail", i = /*gameprops*/
3621
+ e[100].thumbnail), o(a, "icon", r = /*getRequiredIcon*/
3622
+ e[46](
3623
+ /*gameprops*/
3624
+ e[100]?.icons
3625
+ )), o(a, "gamename", s = /*gameprops*/
3626
+ e[100].name), o(a, "gamevendor", u = /*gameprops*/
3627
+ e[100].vendor.logo), o(a, "gameLaunchUrl", m = /*gameprops*/
3628
+ e[100].launchUrl), o(a, "gameisnew", c = /*gameprops*/
3629
+ e[100].isNew), o(a, "gametag", g = /*addGameTag*/
3630
+ e[45](
3631
+ /*gameprops*/
3632
+ e[100].advancedTags
3633
+ )), o(a, "gamecellsize", h = /*gameprops*/
3634
+ e[100].cellSize), o(a, "gameid", _ = /*gameprops*/
3635
+ e[100].id), o(a, "gamefunmode", b = /*gameprops*/
3636
+ e[100].hasFunMode), o(
3637
+ a,
3638
+ "showgamename",
3639
+ /*showgamename*/
3640
+ e[14]
3641
+ ), o(
3642
+ a,
3643
+ "translationurl",
3644
+ /*translationurl*/
3645
+ e[12]
3646
+ ), o(a, "gamefavorite", k = /*gameprops*/
3647
+ e[100].isFavorite), o(
3648
+ a,
3649
+ "currency",
3650
+ /*currency*/
3651
+ e[13]
3652
+ ), o(a, "livelobbyendpoint", w = /*gameprops*/
3653
+ e[100].details ? (
3654
+ /*gameprops*/
3655
+ e[100].href
3656
+ ) : ""), o(
3657
+ a,
3658
+ "clientstyling",
3659
+ /*clientstyling*/
3660
+ e[10]
3661
+ ), o(
3662
+ a,
3663
+ "clientstylingurl",
3664
+ /*clientstylingurl*/
3665
+ e[11]
3666
+ ), o(
3667
+ a,
3668
+ "endpoint",
3669
+ /*endpoint*/
3670
+ e[3]
3671
+ ), o(
3672
+ a,
3673
+ "livecasino",
3674
+ /*livecasino*/
3675
+ e[15]
3676
+ ), o(
3677
+ a,
3678
+ "gamepagemodalurl",
3679
+ /*gamepagemodalurl*/
3680
+ e[16]
3681
+ ), o(
3682
+ a,
3683
+ "integratedgameframedesktop",
3684
+ /*integratedgameframedesktop*/
3685
+ e[17]
3686
+ ), o(
3687
+ a,
3688
+ "integratedgameframemobile",
3689
+ /*integratedgameframemobile*/
3690
+ e[18]
3691
+ ), o(
3692
+ a,
3693
+ "mbsource",
3694
+ /*mbsource*/
3695
+ e[9]
3696
+ ), this.first = a;
3697
+ },
3698
+ m(f, d) {
3699
+ M(f, a, d);
3700
+ },
3701
+ p(f, d) {
3702
+ e = f, d[0] & /*shownCategoryData*/
3703
+ 536870912 && n !== (n = "" + (me + /*gameprops*/
3704
+ (e[100].cellSize ? (
3705
+ /*gameprops*/
3706
+ e[100].cellSize
3707
+ ) : "1x1"))) && o(a, "class", n), d[0] & /*session*/
3708
+ 64 && o(
3709
+ a,
3710
+ "session",
3711
+ /*session*/
3712
+ e[6]
3713
+ ), d[0] & /*userid*/
3714
+ 128 && o(
3715
+ a,
3716
+ "userid",
3717
+ /*userid*/
3718
+ e[7]
3719
+ ), d[0] & /*lang*/
3720
+ 32 && o(
3721
+ a,
3722
+ "lang",
3723
+ /*lang*/
3724
+ e[5]
3725
+ ), d[1] & /*searchItem*/
3726
+ 4 && o(
3727
+ a,
3728
+ "searchitem",
3729
+ /*searchItem*/
3730
+ e[33]
3731
+ ), d[0] & /*favorites*/
3732
+ 256 && o(
3733
+ a,
3734
+ "favorites",
3735
+ /*favorites*/
3736
+ e[8]
3737
+ ), d[0] & /*categoryid*/
3738
+ 1 && o(
3739
+ a,
3740
+ "categoryid",
3741
+ /*categoryid*/
3742
+ e[0]
3743
+ ), d[0] & /*shownCategoryData*/
3744
+ 536870912 && i !== (i = /*gameprops*/
3745
+ e[100].thumbnail) && o(a, "gamethumbnail", i), d[0] & /*shownCategoryData*/
3746
+ 536870912 && r !== (r = /*getRequiredIcon*/
3747
+ e[46](
3748
+ /*gameprops*/
3749
+ e[100]?.icons
3750
+ )) && o(a, "icon", r), d[0] & /*shownCategoryData*/
3751
+ 536870912 && s !== (s = /*gameprops*/
3752
+ e[100].name) && o(a, "gamename", s), d[0] & /*shownCategoryData*/
3753
+ 536870912 && u !== (u = /*gameprops*/
3754
+ e[100].vendor.logo) && o(a, "gamevendor", u), d[0] & /*shownCategoryData*/
3755
+ 536870912 && m !== (m = /*gameprops*/
3756
+ e[100].launchUrl) && o(a, "gameLaunchUrl", m), d[0] & /*shownCategoryData*/
3757
+ 536870912 && c !== (c = /*gameprops*/
3758
+ e[100].isNew) && o(a, "gameisnew", c), d[0] & /*shownCategoryData*/
3759
+ 536870912 && g !== (g = /*addGameTag*/
3760
+ e[45](
3761
+ /*gameprops*/
3762
+ e[100].advancedTags
3763
+ )) && o(a, "gametag", g), d[0] & /*shownCategoryData*/
3764
+ 536870912 && h !== (h = /*gameprops*/
3765
+ e[100].cellSize) && o(a, "gamecellsize", h), d[0] & /*shownCategoryData*/
3766
+ 536870912 && _ !== (_ = /*gameprops*/
3767
+ e[100].id) && o(a, "gameid", _), d[0] & /*shownCategoryData*/
3768
+ 536870912 && b !== (b = /*gameprops*/
3769
+ e[100].hasFunMode) && o(a, "gamefunmode", b), d[0] & /*showgamename*/
3770
+ 16384 && o(
3771
+ a,
3772
+ "showgamename",
3773
+ /*showgamename*/
3774
+ e[14]
3775
+ ), d[0] & /*translationurl*/
3776
+ 4096 && o(
3777
+ a,
3778
+ "translationurl",
3779
+ /*translationurl*/
3780
+ e[12]
3781
+ ), d[0] & /*shownCategoryData*/
3782
+ 536870912 && k !== (k = /*gameprops*/
3783
+ e[100].isFavorite) && o(a, "gamefavorite", k), d[0] & /*currency*/
3784
+ 8192 && o(
3785
+ a,
3786
+ "currency",
3787
+ /*currency*/
3788
+ e[13]
3789
+ ), d[0] & /*shownCategoryData*/
3790
+ 536870912 && w !== (w = /*gameprops*/
3791
+ e[100].details ? (
3792
+ /*gameprops*/
3793
+ e[100].href
3794
+ ) : "") && o(a, "livelobbyendpoint", w), d[0] & /*clientstyling*/
3795
+ 1024 && o(
3796
+ a,
3797
+ "clientstyling",
3798
+ /*clientstyling*/
3799
+ e[10]
3800
+ ), d[0] & /*clientstylingurl*/
3801
+ 2048 && o(
3802
+ a,
3803
+ "clientstylingurl",
3804
+ /*clientstylingurl*/
3805
+ e[11]
3806
+ ), d[0] & /*endpoint*/
3807
+ 8 && o(
3808
+ a,
3809
+ "endpoint",
3810
+ /*endpoint*/
3811
+ e[3]
3812
+ ), d[0] & /*livecasino*/
3813
+ 32768 && o(
3814
+ a,
3815
+ "livecasino",
3816
+ /*livecasino*/
3817
+ e[15]
3818
+ ), d[0] & /*gamepagemodalurl*/
3819
+ 65536 && o(
3820
+ a,
3821
+ "gamepagemodalurl",
3822
+ /*gamepagemodalurl*/
3823
+ e[16]
3824
+ ), d[0] & /*integratedgameframedesktop*/
3825
+ 131072 && o(
3826
+ a,
3827
+ "integratedgameframedesktop",
3828
+ /*integratedgameframedesktop*/
3829
+ e[17]
3830
+ ), d[0] & /*integratedgameframemobile*/
3831
+ 262144 && o(
3832
+ a,
3833
+ "integratedgameframemobile",
3834
+ /*integratedgameframemobile*/
3835
+ e[18]
3836
+ ), d[0] & /*mbsource*/
3837
+ 512 && o(
3838
+ a,
3839
+ "mbsource",
3840
+ /*mbsource*/
3841
+ e[9]
3842
+ );
3843
+ },
3844
+ d(f) {
3845
+ f && S(a);
3846
+ }
3847
+ };
3848
+ }
3849
+ function bi(t) {
3850
+ let e;
3851
+ return {
3852
+ c() {
3853
+ e = G("p"), e.textContent = "500 Error - Internal Server Error.", v(e, "class", "SearchLoading");
3854
+ },
3855
+ m(a, n) {
3856
+ M(a, e, n);
3857
+ },
3858
+ d(a) {
3859
+ a && S(e);
3860
+ }
3861
+ };
3862
+ }
3863
+ function wi(t) {
3864
+ let e;
3865
+ return {
3866
+ c() {
3867
+ e = G("p"), e.textContent = "404 Error - No result found.", v(e, "class", "SearchLoading");
3868
+ },
3869
+ m(a, n) {
3870
+ M(a, e, n);
3871
+ },
3872
+ d(a) {
3873
+ a && S(e);
3874
+ }
3875
+ };
3876
+ }
3877
+ function yi(t) {
3878
+ let e;
3879
+ function a(r, s) {
3880
+ return (
3881
+ /*hasErrors*/
3882
+ r[26] ? Qn : (
3883
+ /*searched*/
3884
+ r[31] ? Jn : Xn
3885
+ )
3886
+ );
3887
+ }
3888
+ let n = a(t), i = n(t);
3889
+ return {
3890
+ c() {
3891
+ e = G("div"), i.c(), v(e, "class", "CasinoGamesCategorySectionContainer");
3892
+ },
3893
+ m(r, s) {
3894
+ M(r, e, s), i.m(e, null), t[64](e);
3895
+ },
3896
+ p(r, s) {
3897
+ n === (n = a(r)) && i ? i.p(r, s) : (i.d(1), i = n(r), i && (i.c(), i.m(e, null)));
3898
+ },
3899
+ i: we,
3900
+ o: we,
3901
+ d(r) {
3902
+ r && S(e), i.d(), t[64](null);
3903
+ }
3904
+ };
3905
+ }
3906
+ const me = "game-tile-";
3907
+ let ki = 0;
3908
+ function Ci(t, e, a) {
3909
+ let n;
3910
+ kt(t, Pt, (l) => a(43, n = l));
3911
+ let { endpoint: i = "" } = e, { datasource: r = "" } = e, { lang: s = "" } = e, { session: u = "" } = e, { userid: m = "" } = e, { favorites: c = "" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: b = "" } = e, { currency: k = "" } = e, { categoryid: w = "" } = e, { showgamename: f = "" } = e, { livecasino: d = "false" } = e, { gamepagemodalurl: q = "true" } = e, { integratedgameframedesktop: N = "false" } = e, { integratedgameframemobile: y = "false" } = e, { casinomygames: x = "false" } = e, { addfilterselector: $ = "false" } = e, { addsortingselector: ve = "false" } = e, { filterbylogo: Pe = "" } = e, { casinogamesgridslider: Ne = "false" } = e, { fetchviaevent: ce = "false" } = e, { showallpage: W = "casino" } = e, { actionevent: B = "CategoryChange" } = e, { displayedgamecount: ee = "10" } = e, { showallbuttongamescount: Ie = "10" } = e, { lobbyscreen: Je = "true" } = e, { usesinglevendorfilter: Ue = "false" } = e, { visiblegames: Qe = "10" } = e, { customizesectionicon: Ke = "true" } = e, { requiredicon: Ze = "false" } = e, oe = !0, xe = !1, Re, Le, ae = !0, ua = window.navigator.userAgent, Y, O = [], te = !0, de = 40, ne = !1, Ae = !1, ke = !1, $e = !1, ea = !0, Ce = !1, Se, aa, Me, Ge = !1, Z, qa, Ha, je = !1, Fe = new Array(1e4), Te = {}, ta = "", fe = "", We, na, U, X = [], Ye = new AbortController(), pe = { items: [], count: 0, name: "" };
3912
+ const ia = (l) => {
3913
+ Object.keys(l).forEach((p) => {
3914
+ Nt(p, l[p]);
3915
+ });
3916
+ }, Va = () => {
3917
+ fetch(b).then((p) => p.json()).then((p) => {
3918
+ ia(p);
3919
+ }).catch((p) => {
3920
+ console.log(p);
3921
+ });
3922
+ };
3923
+ ia(Ut), typeof document.hidden < "u" ? We = "hidden" : typeof document.msHidden < "u" ? We = "msHidden" : typeof document.webkitHidden < "u" && (We = "webkitHidden");
3924
+ let ma = new IntersectionObserver((l) => {
3925
+ l.forEach(async (p) => {
3926
+ let F = p.target.gameid, P = p.target.elems_index;
3927
+ p.isIntersecting ? (P * 1.2 > de && !te && xa(w), a(40, Te[F] = 1, Te)) : a(40, Te[F] = 0, Te);
3928
+ });
3929
+ });
3930
+ const Ba = (l, p) => new Promise((F, P) => {
3931
+ if (l && p) {
3932
+ let I = `${i}/v1/player/${p}/favorites/`;
3933
+ fetch(I, {
3934
+ method: "GET",
3935
+ headers: { "X-SessionID": l }
3936
+ }).then((T) => T.json()).then((T) => {
3937
+ if (U = [], T) {
3938
+ T.items?.forEach((R) => {
3939
+ R.gameModel && (U.push(R), X.includes(R.id) || X.push(R.id));
3940
+ });
3941
+ const ie = qe(U)?.length;
3942
+ window.postMessage({
3943
+ type: "UpdateFavoritesCount",
3944
+ favoriteGamesLength: ie
3945
+ });
3946
+ } else
3947
+ U = [];
3948
+ w === "FAVORITES" && sa(U), F(U);
3949
+ }).catch((T) => {
3950
+ console.error(T), P(T);
3951
+ });
3952
+ } else
3953
+ F([]);
3954
+ }), ra = (l, p) => {
3955
+ let F = `${i}/v1/player/${p}/favorites/`;
3956
+ a(25, oe = !0);
3957
+ let P = {
3958
+ method: "GET",
3959
+ headers: { "X-SessionID": l }
3960
+ };
3961
+ return new Promise((I, E) => {
3962
+ fetch(F, P).then((T) => T.json()).then((T) => {
3963
+ if (a(25, oe = !1), U = [], T) {
3964
+ T.items?.forEach((Q) => {
3965
+ Q.gameModel && (U.push(Q), X.includes(Q.id) || X.push(Q.id));
3966
+ });
3967
+ const R = qe(U)?.length;
3968
+ window.postMessage({
3969
+ type: "UpdateFavoritesCount",
3970
+ favoriteGamesLength: R
3971
+ });
3972
+ } else
3973
+ U = [];
3974
+ w === "FAVORITES" && sa(U), O.forEach((R) => {
3975
+ R.isFavorite = J(R.id);
3976
+ });
3977
+ let ie = O;
3978
+ a(29, O = void 0), a(29, O = ie), I(U);
3979
+ }).catch((T) => {
3980
+ console.error(T), E(T);
3981
+ });
3982
+ });
3983
+ }, ca = (l, p, F, P) => {
3984
+ Ye && Ye.abort(), Ye = new AbortController();
3985
+ const I = Ye.signal;
3986
+ a(25, oe = !0);
3987
+ let E = "", T = "", ie = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), R = JSON.parse(localStorage.getItem("vendorSortingBy"));
3988
+ const Q = Ue === "true" ? "*" : l, dt = p, ft = F ?? 40;
3989
+ return (l.match(/\$/g) || []).length > 1 ? (E = l.split("$").slice(0, 2).join("$"), T = new URL(`${i}/v1/casino/groups/${r}/${E}/subGroups`)) : T = new URL(`${i}/v1/casino/groups/${r}/${l}`), new Promise((gt, ht) => {
3990
+ T.searchParams.delete("pagination"), T.searchParams.append("expand", "games(vendor)"), T.searchParams.append("platform", Gt(ua)), T.searchParams.append("pagination", `games(offset=${dt},limit=${ft})`), T.searchParams.append("language", s);
3991
+ let ha = "id,name,games";
3992
+ if (Ke === "true" && (ha += ",icon"), T.searchParams.append("fields", ha), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), ie && ie[Q]?.length)
3993
+ if (Ue === "true" || ae === !1 && Ge === !1) {
3994
+ let L = "";
3995
+ a(34, $e = !0), ie[Q].forEach((se) => {
3996
+ L = L + (L ? `,games(vendor(id=${se}))` : `games(vendor(id=${se}))`);
3997
+ }), T.searchParams.append("filter", `${L}`);
3998
+ } else
3999
+ a(34, $e = !1);
4000
+ R && (R[l] ? R[l] && R[l] != "All" && (R[l] == "isNew" || R[l] == "advancedTags(name(hot))" ? (T.searchParams.append("sortedField", `games(${R[l]})`), T.searchParams.append("orderBy", "DES")) : T.searchParams.append("sortedField", `games(${R[l]})`)) : fe && fe != "All" && (fe == "advancedTags(name(hot))" || fe == "isNew" ? (T.searchParams.append("sortedField", `games(${fe})`), T.searchParams.append("orderBy", "DES")) : T.searchParams.append("sortedField", `games(${fe})`))), fetch(T, { signal: I }).then((L) => {
4001
+ if (!L.ok)
4002
+ throw L.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${L.status}`);
4003
+ return L.json();
4004
+ }).then((L) => {
4005
+ I.aborted || (a(25, oe = !1), (l.match(/\$/g) || []).length > 1 && (L = L.items.filter((se) => {
4006
+ if (se.id == l)
4007
+ return se;
4008
+ })[0]), a(57, na = !0), a(26, xe = !1), aa = L.games.total, P && L.games.items.forEach((se) => {
4009
+ se.isFavorite = J(se.id);
4010
+ }), a(36, Ce = !0), gt(L));
4011
+ }).catch((L) => {
4012
+ L.name !== "AbortError" && (a(26, xe = !0), console.error(L), ht(L));
4013
+ }).finally(() => {
4014
+ Xa();
4015
+ });
4016
+ });
4017
+ }, ze = (l, p, F) => new Promise((P, I) => {
4018
+ c == "true" ? Ba(u, m).then((E) => {
4019
+ ca(l, p, F, E).then((T) => {
4020
+ P(T);
4021
+ });
4022
+ }) : ca(l, p, F, null).then((E) => {
4023
+ P(E);
4024
+ });
4025
+ }), Xa = () => {
4026
+ const l = Z.getRootNode().host;
4027
+ l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
4028
+ }, Ja = (l, p, F) => {
4029
+ l !== "" && (a(31, ne = !1), a(27, ae = !0), a(1, $ = "false"), a(2, ve = "false"), a(33, ke = !1), je = !1, a(30, te = +p > +F), ze(l, 0, +p).then((P) => {
4030
+ a(28, Y = P), a(29, O = Y.games.items), O && O.forEach((I) => {
4031
+ I.isFavorite = J(I.id);
4032
+ });
4033
+ }));
4034
+ }, oa = (l) => {
4035
+ if (l.data)
4036
+ switch (l.data.type) {
4037
+ case "MostPlayedData":
4038
+ w == "MOSTPLAYED" && (a(31, ne = !1), a(27, ae = !1), a(30, te = !1), a(29, O = l.data.mostPlayedGames), a(28, Y = {
4039
+ id: "MOSTPLAYED",
4040
+ name: "Most Played Games",
4041
+ games: {
4042
+ count: l.data.mostPlayedGames.length,
4043
+ total: l.data.mostPlayedGames.length,
4044
+ items: l.data.mostPlayedGames
4045
+ }
4046
+ }), O && O.forEach((p) => {
4047
+ p.isFavorite = J(p.id);
4048
+ })), a(25, oe = !1);
4049
+ break;
4050
+ case "LastPlayedData":
4051
+ w == "LASTPLAYED" && (a(31, ne = !1), a(27, ae = !1), a(30, te = !1), a(29, O = l.data.lastPlayedGames), a(28, Y = {
4052
+ id: "LASTPLAYED",
4053
+ name: "Last Played Games",
4054
+ games: {
4055
+ count: l.data.lastPlayedGames.length,
4056
+ total: l.data.lastPlayedGames.length,
4057
+ items: l.data.lastPlayedGames
4058
+ }
4059
+ }), O && O.forEach((p) => {
4060
+ p.isFavorite = J(p.id);
4061
+ })), a(25, oe = !1);
4062
+ break;
4063
+ case "RecentSearchData":
4064
+ a(31, ne = !0), a(32, Ae = !0), l.data.searchData.length > 0 ? (a(29, O = l.data.searchData), a(35, ea = !0), O && O.forEach((p) => {
4065
+ p.isFavorite = J(p.id);
4066
+ })) : (a(29, O = []), a(35, ea = !1));
4067
+ break;
4068
+ case "OutOfRecentSearches":
4069
+ a(31, ne = !1), a(32, Ae = !1);
4070
+ break;
4071
+ case "SearchData":
4072
+ a(31, ne = !0), a(32, Ae = !1), a(29, O = l.data.searchData.items || []), a(33, ke = !0), l.data.receivedFavoriteResults && (U = l.data.receivedFavoriteResults.items), O && O.forEach((p) => {
4073
+ p.isFavorite = J(p.id);
4074
+ });
4075
+ break;
4076
+ case `CategoryData_${w}`:
4077
+ a(31, ne = !1), a(27, ae = !0), a(1, $ = "false"), a(2, ve = "false"), a(33, ke = !1), je = !1, ze(l.data.categoryId, 0, l.data.visiblegames).then((p) => {
4078
+ a(28, Y = p), a(29, O = Y.games.items), a(30, te = !(aa <= l.data.visiblegames && ae)), O && O.forEach((F) => {
4079
+ F.isFavorite = J(F.id);
4080
+ });
4081
+ });
4082
+ break;
4083
+ case "CategoryChange":
4084
+ de = 20;
4085
+ break;
4086
+ case "ApplySorter":
4087
+ a(0, w = l.data.itemId), fe = l.data.sortBy, ze(w, 0, de).then((p) => {
4088
+ a(28, Y = p), a(29, O = Y.games.items), a(30, te = !1);
4089
+ });
4090
+ break;
4091
+ case "CategoryUpdate":
4092
+ da(l.data.itemId);
4093
+ break;
4094
+ case `SetUnfavoredGame${w}`:
4095
+ Za(`${i}/v1/player/${m}/favorites`, u, l.data.id);
4096
+ break;
4097
+ case `SetFavoredGame${w}`:
4098
+ Ka(`${i}/v1/player/${m}/favorites`, u, l.data.id);
4099
+ break;
4100
+ case "UserSessionID":
4101
+ Re = l.data.session, Le = l.data.userID, c == "true" && Le && Le.length && Re && Re.length > 0 && ra(Re, Le);
4102
+ break;
4103
+ case "UpdateFavoredList":
4104
+ w === "FAVORITES" && fa(l.data.url, l.data.sessionID);
4105
+ break;
4106
+ }
4107
+ }, da = (l, p = !1) => {
4108
+ a(31, ne = !1), a(27, ae = Je === "true"), a(33, ke = !1), je = !0, a(36, Ce = !1), a(0, w = l), w !== "MOSTPLAYED" && !p && a(30, te = !1), x !== "true" && (!U && u && ra(u, m), ze(w, 0, de).then((F) => {
4109
+ a(28, Y = F), a(29, O = Y.games.items);
4110
+ }).finally(
4111
+ /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
4112
+ if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
4113
+ scrollTop = true;
4114
+ setTimeout(() => {
4115
+ window.postMessage({ type: 'WidgetTopReference', scrollTop }, window.location.href);
4116
+ }, 500);
4117
+ }*/
4118
+ () => {
4119
+ ae && window.postMessage(
4120
+ {
4121
+ type: `CategoryData_${w}`,
4122
+ categoryId: w,
4123
+ visiblegames: Qe
4124
+ },
4125
+ window.location.href
4126
+ );
4127
+ }
4128
+ ));
4129
+ }, Qa = () => {
4130
+ Y && (a(29, O = Y.games.items), O.forEach((l) => {
4131
+ l.isFavorite = J(l.id);
4132
+ }));
4133
+ }, J = (l) => U?.some((p) => p.id === l) ?? !1;
4134
+ let Ka = async (l, p, F) => {
4135
+ await fa(l, p), X.includes(F) || X.push(F);
4136
+ let I = {
4137
+ method: "POST",
4138
+ headers: {
4139
+ "X-SessionID": p,
4140
+ "Content-Type": "application/json",
4141
+ Accept: "application/json"
4142
+ },
4143
+ body: JSON.stringify({ items: X })
4144
+ };
4145
+ fetch(l, I).then((E) => E.json()).then((E) => {
4146
+ window.postMessage({ type: `AddFavoriteThumbnail_${F}` }, window.location.href), window.postMessage({
4147
+ type: "UpdateFavoredList",
4148
+ url: l,
4149
+ sessionID: p
4150
+ });
4151
+ }).catch((E) => {
4152
+ console.error("Err", E);
4153
+ });
4154
+ };
4155
+ const Za = (l, p, F) => {
4156
+ let P = {
4157
+ method: "DELETE",
4158
+ headers: { "X-SessionID": p }
4159
+ };
4160
+ fetch(`${l}/${F}`, P).then((I) => I.json()).then(() => {
4161
+ window.postMessage(
4162
+ {
4163
+ type: `RemoveFavoriteThumbnail_${F}`
4164
+ },
4165
+ window.location.href
4166
+ ), window.postMessage({
4167
+ type: "UpdateFavoredList",
4168
+ url: l,
4169
+ sessionID: p
4170
+ });
4171
+ }), X.includes(F) && (X = X.filter((I) => I != F));
4172
+ }, fa = async (l, p) => fetch(l, {
4173
+ method: "GET",
4174
+ headers: { "X-SessionID": p }
4175
+ }).then((P) => P.json()).then((P) => {
4176
+ U = P.items, ce ? (U.forEach((E) => {
4177
+ X.includes(E.id) || X.push(E.id);
4178
+ }), Qa()) : U.forEach((E) => {
4179
+ E.isFavorite = J(E.id);
4180
+ });
4181
+ const I = qe(U)?.length;
4182
+ w === "FAVORITES" && (window.postMessage({
4183
+ type: "UpdateFavoritesCount",
4184
+ favoriteGamesLength: I
4185
+ }), sa(U));
4186
+ }).catch((P) => {
4187
+ console.error(P);
4188
+ }), sa = (l) => {
4189
+ if (!l)
4190
+ return;
4191
+ let p;
4192
+ p = l?.items || l || [], p.length > 0 && p.forEach((F) => {
4193
+ F.gameModel && (F.gameModel.isFavorite = !0);
4194
+ }), a(42, pe.items = qe(p, pe.items), pe), a(42, pe.name = "Favorites", pe), a(25, oe = !1);
4195
+ }, xa = (l) => {
4196
+ de += 1, a(36, Ce = !0), de <= aa && ze(l, ki, de).then((p) => {
4197
+ a(28, Y = p), Y.games.items.length > O.length && (a(29, O = Y.games.items), O.forEach((F) => {
4198
+ F.isFavorite = J(F.id);
4199
+ })), a(36, Ce = !1);
4200
+ });
4201
+ }, $a = (l) => {
4202
+ const p = l ?? [];
4203
+ if (p?.length === 0)
4204
+ return "";
4205
+ let F = "", P = 999999999999, I;
4206
+ const E = new Date(Date.now());
4207
+ return p.forEach((T, ie) => {
4208
+ const R = new Date(T.schedules[0].startTime), Q = new Date(T.schedules[0].endTime);
4209
+ pa(new Date(Q), new Date(E)) < P && (P = pa(new Date(Q), new Date(E)), I = ie), Hn(new Date(E), new Date(R)) && Vn(new Date(E), new Date(Q)) && (F = p[I].name);
4210
+ }), F;
4211
+ }, et = (l) => Ze !== "true" ? void 0 : Object.values(l ?? {}).pop(), ga = (l) => {
4212
+ a(30, te = !1), window.postMessage(
4213
+ {
4214
+ type: `${B}`,
4215
+ itemId: l,
4216
+ showallpage: W
4217
+ },
4218
+ window.location.href
4219
+ );
4220
+ }, at = () => {
4221
+ switch (w) {
4222
+ case "FAVORITES":
4223
+ m && u && a(39, Ge = !0);
4224
+ break;
4225
+ case "MOSTPLAYED":
4226
+ x === "false" && m && u && a(39, Ge = !1);
4227
+ break;
4228
+ case "LASTPLAYED":
4229
+ x === "false" && m && u && a(39, Ge = !1);
4230
+ break;
4231
+ default:
4232
+ da(w, !0);
4233
+ break;
4234
+ }
4235
+ }, tt = () => {
4236
+ document[We] ? a(41, ta = "disconnect") : a(41, ta = "connect");
4237
+ }, nt = () => {
4238
+ je && Fe.forEach((l, p) => {
4239
+ l && (l.elems_index = p, ma.observe(l));
4240
+ });
4241
+ }, it = () => {
4242
+ It(s);
4243
+ };
4244
+ Ct(() => {
4245
+ ma?.disconnect();
4246
+ }), St(() => (window.addEventListener("visibilitychange", (l) => tt()), window.addEventListener("message", oa, !1), () => {
4247
+ window.removeEventListener("message", oa), window.removeEventListener("visibilitychange", oa);
4248
+ }));
4249
+ function rt(l) {
4250
+ _e[l ? "unshift" : "push"](() => {
4251
+ Me = l, a(38, Me);
4252
+ });
4253
+ }
4254
+ const ot = (l) => ga(Y.id);
4255
+ function st(l, p) {
4256
+ _e[l ? "unshift" : "push"](() => {
4257
+ Fe[p] = l, a(24, Fe);
4258
+ });
4259
+ }
4260
+ function lt(l) {
4261
+ _e[l ? "unshift" : "push"](() => {
4262
+ Se = l, a(37, Se);
4263
+ });
4264
+ }
4265
+ function ut(l) {
4266
+ _e[l ? "unshift" : "push"](() => {
4267
+ Me = l, a(38, Me);
4268
+ });
4269
+ }
4270
+ function mt(l) {
4271
+ _e[l ? "unshift" : "push"](() => {
4272
+ Se = l, a(37, Se);
4273
+ });
4274
+ }
4275
+ function ct(l) {
4276
+ _e[l ? "unshift" : "push"](() => {
4277
+ Z = l, a(23, Z);
4278
+ });
4279
+ }
4280
+ return t.$$set = (l) => {
4281
+ "endpoint" in l && a(3, i = l.endpoint), "datasource" in l && a(4, r = l.datasource), "lang" in l && a(5, s = l.lang), "session" in l && a(6, u = l.session), "userid" in l && a(7, m = l.userid), "favorites" in l && a(8, c = l.favorites), "mbsource" in l && a(9, g = l.mbsource), "clientstyling" in l && a(10, h = l.clientstyling), "clientstylingurl" in l && a(11, _ = l.clientstylingurl), "translationurl" in l && a(12, b = l.translationurl), "currency" in l && a(13, k = l.currency), "categoryid" in l && a(0, w = l.categoryid), "showgamename" in l && a(14, f = l.showgamename), "livecasino" in l && a(15, d = l.livecasino), "gamepagemodalurl" in l && a(16, q = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(17, N = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(18, y = l.integratedgameframemobile), "casinomygames" in l && a(19, x = l.casinomygames), "addfilterselector" in l && a(1, $ = l.addfilterselector), "addsortingselector" in l && a(2, ve = l.addsortingselector), "filterbylogo" in l && a(20, Pe = l.filterbylogo), "casinogamesgridslider" in l && a(21, Ne = l.casinogamesgridslider), "fetchviaevent" in l && a(48, ce = l.fetchviaevent), "showallpage" in l && a(49, W = l.showallpage), "actionevent" in l && a(50, B = l.actionevent), "displayedgamecount" in l && a(51, ee = l.displayedgamecount), "showallbuttongamescount" in l && a(52, Ie = l.showallbuttongamescount), "lobbyscreen" in l && a(53, Je = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Ue = l.usesinglevendorfilter), "visiblegames" in l && a(54, Qe = l.visiblegames), "customizesectionicon" in l && a(55, Ke = l.customizesectionicon), "requiredicon" in l && a(56, Ze = l.requiredicon);
4282
+ }, t.$$.update = () => {
4283
+ t.$$.dirty[0] & /*lang*/
4284
+ 32 && s && it(), t.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
4285
+ 57 | t.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
4286
+ 3276800 && (ce === "false" || ce === "") && i && s && w && r && ee && Ie && Ja(w, ee, Ie), t.$$.dirty[0] & /*favorites, endpoint, session, userid*/
4287
+ 456 && c === "true" && i && u && m && ra(u, m), t.$$.dirty[0] & /*thumbnailContainer*/
4288
+ 16777216 | t.$$.dirty[1] & /*dataloaded*/
4289
+ 67108864 && na && Fe && nt(), t.$$.dirty[0] & /*lang, categoryid*/
4290
+ 33 && s && w && at(), t.$$.dirty[0] & /*translationurl*/
4291
+ 4096 && b && Va(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4292
+ 8389632 && h && Z && zt(Z, h), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4293
+ 8390656 && _ && Z && Ot(Z, _), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
4294
+ 8389120 && g && Z && Dt(Z, `${g}.Style`, qa), t.$$.dirty[0] & /*mbsource, translationurl*/
4295
+ 4608 && g && !b && Mt(`${g}.Translation`, Ha, ia);
4296
+ }, [
4297
+ w,
4298
+ $,
4299
+ ve,
4300
+ i,
4301
+ r,
4302
+ s,
4303
+ u,
4304
+ m,
4305
+ c,
4306
+ g,
4307
+ h,
4308
+ _,
4309
+ b,
4310
+ k,
4311
+ f,
4312
+ d,
4313
+ q,
4314
+ N,
4315
+ y,
4316
+ x,
4317
+ Pe,
4318
+ Ne,
4319
+ Ue,
4320
+ Z,
4321
+ Fe,
4322
+ oe,
4323
+ xe,
4324
+ ae,
4325
+ Y,
4326
+ O,
4327
+ te,
4328
+ ne,
4329
+ Ae,
4330
+ ke,
4331
+ $e,
4332
+ ea,
4333
+ Ce,
4334
+ Se,
4335
+ Me,
4336
+ Ge,
4337
+ Te,
4338
+ ta,
4339
+ pe,
4340
+ n,
4341
+ ua,
4342
+ $a,
4343
+ et,
4344
+ ga,
4345
+ ce,
4346
+ W,
4347
+ B,
4348
+ ee,
4349
+ Ie,
4350
+ Je,
4351
+ Qe,
4352
+ Ke,
4353
+ Ze,
4354
+ na,
4355
+ rt,
4356
+ ot,
4357
+ st,
4358
+ lt,
4359
+ ut,
4360
+ mt,
4361
+ ct
4362
+ ];
4363
+ }
4364
+ class Ya extends _t {
4365
+ constructor(e) {
4366
+ super(), bt(
4367
+ this,
4368
+ e,
4369
+ Ci,
4370
+ yi,
4371
+ wt,
4372
+ {
4373
+ endpoint: 3,
4374
+ datasource: 4,
4375
+ lang: 5,
4376
+ session: 6,
4377
+ userid: 7,
4378
+ favorites: 8,
4379
+ mbsource: 9,
4380
+ clientstyling: 10,
4381
+ clientstylingurl: 11,
4382
+ translationurl: 12,
4383
+ currency: 13,
4384
+ categoryid: 0,
4385
+ showgamename: 14,
4386
+ livecasino: 15,
4387
+ gamepagemodalurl: 16,
4388
+ integratedgameframedesktop: 17,
4389
+ integratedgameframemobile: 18,
4390
+ casinomygames: 19,
4391
+ addfilterselector: 1,
4392
+ addsortingselector: 2,
4393
+ filterbylogo: 20,
4394
+ casinogamesgridslider: 21,
4395
+ fetchviaevent: 48,
4396
+ showallpage: 49,
4397
+ actionevent: 50,
4398
+ displayedgamecount: 51,
4399
+ showallbuttongamescount: 52,
4400
+ lobbyscreen: 53,
4401
+ usesinglevendorfilter: 22,
4402
+ visiblegames: 54,
4403
+ customizesectionicon: 55,
4404
+ requiredicon: 56
4405
+ },
4406
+ Bn,
4407
+ [-1, -1, -1, -1]
4408
+ );
4409
+ }
4410
+ get endpoint() {
4411
+ return this.$$.ctx[3];
4412
+ }
4413
+ set endpoint(e) {
4414
+ this.$$set({ endpoint: e }), z();
4415
+ }
4416
+ get datasource() {
4417
+ return this.$$.ctx[4];
4418
+ }
4419
+ set datasource(e) {
4420
+ this.$$set({ datasource: e }), z();
4421
+ }
4422
+ get lang() {
4423
+ return this.$$.ctx[5];
4424
+ }
4425
+ set lang(e) {
4426
+ this.$$set({ lang: e }), z();
4427
+ }
4428
+ get session() {
4429
+ return this.$$.ctx[6];
4430
+ }
4431
+ set session(e) {
4432
+ this.$$set({ session: e }), z();
4433
+ }
4434
+ get userid() {
4435
+ return this.$$.ctx[7];
4436
+ }
4437
+ set userid(e) {
4438
+ this.$$set({ userid: e }), z();
4439
+ }
4440
+ get favorites() {
4441
+ return this.$$.ctx[8];
4442
+ }
4443
+ set favorites(e) {
4444
+ this.$$set({ favorites: e }), z();
4445
+ }
4446
+ get mbsource() {
4447
+ return this.$$.ctx[9];
4448
+ }
4449
+ set mbsource(e) {
4450
+ this.$$set({ mbsource: e }), z();
4451
+ }
4452
+ get clientstyling() {
4453
+ return this.$$.ctx[10];
4454
+ }
4455
+ set clientstyling(e) {
4456
+ this.$$set({ clientstyling: e }), z();
4457
+ }
4458
+ get clientstylingurl() {
4459
+ return this.$$.ctx[11];
4460
+ }
4461
+ set clientstylingurl(e) {
4462
+ this.$$set({ clientstylingurl: e }), z();
4463
+ }
4464
+ get translationurl() {
4465
+ return this.$$.ctx[12];
4466
+ }
4467
+ set translationurl(e) {
4468
+ this.$$set({ translationurl: e }), z();
4469
+ }
4470
+ get currency() {
4471
+ return this.$$.ctx[13];
4472
+ }
4473
+ set currency(e) {
4474
+ this.$$set({ currency: e }), z();
4475
+ }
4476
+ get categoryid() {
4477
+ return this.$$.ctx[0];
4478
+ }
4479
+ set categoryid(e) {
4480
+ this.$$set({ categoryid: e }), z();
4481
+ }
4482
+ get showgamename() {
4483
+ return this.$$.ctx[14];
4484
+ }
4485
+ set showgamename(e) {
4486
+ this.$$set({ showgamename: e }), z();
4487
+ }
4488
+ get livecasino() {
4489
+ return this.$$.ctx[15];
4490
+ }
4491
+ set livecasino(e) {
4492
+ this.$$set({ livecasino: e }), z();
4493
+ }
4494
+ get gamepagemodalurl() {
4495
+ return this.$$.ctx[16];
4496
+ }
4497
+ set gamepagemodalurl(e) {
4498
+ this.$$set({ gamepagemodalurl: e }), z();
4499
+ }
4500
+ get integratedgameframedesktop() {
4501
+ return this.$$.ctx[17];
4502
+ }
4503
+ set integratedgameframedesktop(e) {
4504
+ this.$$set({ integratedgameframedesktop: e }), z();
4505
+ }
4506
+ get integratedgameframemobile() {
4507
+ return this.$$.ctx[18];
4508
+ }
4509
+ set integratedgameframemobile(e) {
4510
+ this.$$set({ integratedgameframemobile: e }), z();
4511
+ }
4512
+ get casinomygames() {
4513
+ return this.$$.ctx[19];
4514
+ }
4515
+ set casinomygames(e) {
4516
+ this.$$set({ casinomygames: e }), z();
4517
+ }
4518
+ get addfilterselector() {
4519
+ return this.$$.ctx[1];
4520
+ }
4521
+ set addfilterselector(e) {
4522
+ this.$$set({ addfilterselector: e }), z();
4523
+ }
4524
+ get addsortingselector() {
4525
+ return this.$$.ctx[2];
4526
+ }
4527
+ set addsortingselector(e) {
4528
+ this.$$set({ addsortingselector: e }), z();
4529
+ }
4530
+ get filterbylogo() {
4531
+ return this.$$.ctx[20];
4532
+ }
4533
+ set filterbylogo(e) {
4534
+ this.$$set({ filterbylogo: e }), z();
4535
+ }
4536
+ get casinogamesgridslider() {
4537
+ return this.$$.ctx[21];
4538
+ }
4539
+ set casinogamesgridslider(e) {
4540
+ this.$$set({ casinogamesgridslider: e }), z();
4541
+ }
4542
+ get fetchviaevent() {
4543
+ return this.$$.ctx[48];
4544
+ }
4545
+ set fetchviaevent(e) {
4546
+ this.$$set({ fetchviaevent: e }), z();
4547
+ }
4548
+ get showallpage() {
4549
+ return this.$$.ctx[49];
4550
+ }
4551
+ set showallpage(e) {
4552
+ this.$$set({ showallpage: e }), z();
4553
+ }
4554
+ get actionevent() {
4555
+ return this.$$.ctx[50];
4556
+ }
4557
+ set actionevent(e) {
4558
+ this.$$set({ actionevent: e }), z();
4559
+ }
4560
+ get displayedgamecount() {
4561
+ return this.$$.ctx[51];
4562
+ }
4563
+ set displayedgamecount(e) {
4564
+ this.$$set({ displayedgamecount: e }), z();
4565
+ }
4566
+ get showallbuttongamescount() {
4567
+ return this.$$.ctx[52];
4568
+ }
4569
+ set showallbuttongamescount(e) {
4570
+ this.$$set({ showallbuttongamescount: e }), z();
4571
+ }
4572
+ get lobbyscreen() {
4573
+ return this.$$.ctx[53];
4574
+ }
4575
+ set lobbyscreen(e) {
4576
+ this.$$set({ lobbyscreen: e }), z();
4577
+ }
4578
+ get usesinglevendorfilter() {
4579
+ return this.$$.ctx[22];
4580
+ }
4581
+ set usesinglevendorfilter(e) {
4582
+ this.$$set({ usesinglevendorfilter: e }), z();
4583
+ }
4584
+ get visiblegames() {
4585
+ return this.$$.ctx[54];
4586
+ }
4587
+ set visiblegames(e) {
4588
+ this.$$set({ visiblegames: e }), z();
4589
+ }
4590
+ get customizesectionicon() {
4591
+ return this.$$.ctx[55];
4592
+ }
4593
+ set customizesectionicon(e) {
4594
+ this.$$set({ customizesectionicon: e }), z();
4595
+ }
4596
+ get requiredicon() {
4597
+ return this.$$.ctx[56];
4598
+ }
4599
+ set requiredicon(e) {
4600
+ this.$$set({ requiredicon: e }), z();
4601
+ }
4602
+ }
4603
+ Et(Ya, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {}, customizesectionicon: {}, requiredicon: {} }, [], [], !0);
4604
+ const Gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4605
+ __proto__: null,
4606
+ default: Ya
4607
+ }, Symbol.toStringTag, { value: "Module" }));
4608
+ export {
4609
+ Gi as C,
4610
+ Mi as f
4611
+ };