@everymatrix/casino-search-nd 1.45.0 → 1.45.2
Sign up to get free protection for your applications and to get access to all the features.
- package/components/CasinoGameThumbnailNd-CWTASeBg.cjs +43 -0
- package/components/CasinoGameThumbnailNd-HCOCEAwx.js +8715 -0
- package/components/CasinoSearchNd-Bpusljqi.cjs +1 -0
- package/components/CasinoSearchNd-Dkej7BDB.js +1076 -0
- package/es2015/casino-search-nd.cjs +1 -1
- package/es2015/casino-search-nd.js +1 -1
- package/package.json +2 -2
- package/components/CasinoGameThumbnailNd-7H32R7MY.cjs +0 -43
- package/components/CasinoGameThumbnailNd-Cg1ZV2bZ.js +0 -8719
- package/components/CasinoSearchNd-D7G4gHiA.cjs +0 -1
- package/components/CasinoSearchNd-DeTDtCMz.js +0 -1080
@@ -1,1080 +0,0 @@
|
|
1
|
-
import { a as qe, $ as We, S as Oe, i as Ue, f as E, c as Ve, s as Je, b as Ze, e as y, d as N, g as oe, h as p, n as ie, j as ee, k as T, l as _, m as ce, o as J, p as ue, q as j, r as Ye, t as Ke, u as Xe, v as q, w as W, x as Q, y as he, z as de, A as Re, B as Qe, C as h, D as $e } from "./CasinoGameThumbnailNd-Cg1ZV2bZ.js";
|
2
|
-
function pe(a, e) {
|
3
|
-
qe(a, e);
|
4
|
-
}
|
5
|
-
function et(a) {
|
6
|
-
We.set(a);
|
7
|
-
}
|
8
|
-
const me = {
|
9
|
-
en: {
|
10
|
-
recentSearch: "Recent search",
|
11
|
-
placeHolderSearchGames: "Search for Games",
|
12
|
-
loading: "Loading, please wait",
|
13
|
-
searchResult: "Search result",
|
14
|
-
cancel: "Cancel",
|
15
|
-
notFound: "Game not found!",
|
16
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
17
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
18
|
-
},
|
19
|
-
"zh-hk": {
|
20
|
-
recentSearch: "最近的搜索",
|
21
|
-
loading: "加载请稍候",
|
22
|
-
searchResult: "搜索结果",
|
23
|
-
cancel: "取消",
|
24
|
-
notFound: "找不到游戏!",
|
25
|
-
notFoundText: "请输入正确的游戏名称开始玩。",
|
26
|
-
noRecentSearches: "还没有最近的搜索。 搜索我们的任何游戏。"
|
27
|
-
},
|
28
|
-
de: {
|
29
|
-
recentSearch: "Letzte Suche",
|
30
|
-
placeHolderSearchGames: "Hier nach Spielen suchen",
|
31
|
-
loading: "Es lädt, bitte warten...",
|
32
|
-
searchResult: "Ergebnis suchen",
|
33
|
-
cancel: "Abbrechen",
|
34
|
-
notFound: "Spiel wurde nicht gefunden!",
|
35
|
-
notFoundText: "Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",
|
36
|
-
noRecentSearches: "Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"
|
37
|
-
},
|
38
|
-
it: {
|
39
|
-
recentSearch: "Recent search",
|
40
|
-
loading: "Loading, please wait",
|
41
|
-
searchResult: "Search result",
|
42
|
-
cancel: "Cancel",
|
43
|
-
notFound: "Game not found!",
|
44
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
45
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
46
|
-
},
|
47
|
-
fr: {
|
48
|
-
recentSearch: "Recherche récente",
|
49
|
-
placeHolderSearchGames: "Recherche de jeux de casino",
|
50
|
-
loading: "Chargement, veuillez patienter",
|
51
|
-
searchResult: "Résultat de la recherche",
|
52
|
-
cancel: "Annuler",
|
53
|
-
notFound: "Jeu non trouvé!",
|
54
|
-
notFoundText: "Veuillez saisir le nom correct du jeu pour commencer à jouer.",
|
55
|
-
noRecentSearches: "Pas encore de recherches récentes. Recherchez l'un de nos jeux."
|
56
|
-
},
|
57
|
-
es: {
|
58
|
-
recentSearch: "Busqueda reciente",
|
59
|
-
placeHolderSearchGames: "Buscar juegos",
|
60
|
-
loading: "Cargando",
|
61
|
-
searchResult: "Resultado de busqueda",
|
62
|
-
cancel: "Cancelar",
|
63
|
-
notFound: "Juego no encontrado!",
|
64
|
-
notFoundText: "Por favor escriba el nombre correcto del juego para empezar a jugar.",
|
65
|
-
noRecentSearches: "No hay búsquedas recientes. Busca cualquiera de nuestros juegos"
|
66
|
-
},
|
67
|
-
gr: {
|
68
|
-
recentSearch: "Recent search",
|
69
|
-
loading: "Loading, please wait",
|
70
|
-
searchResult: "Search result",
|
71
|
-
cancel: "Cancel",
|
72
|
-
notFound: "Game not found!",
|
73
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
74
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
75
|
-
},
|
76
|
-
tr: {
|
77
|
-
recentSearch: "Henüz son aramalar yok. Herhangi bir oyunu arayın.",
|
78
|
-
loading: "Kayıt olmak",
|
79
|
-
searchResult: "PARA YATIR",
|
80
|
-
cancel: "Sırala:",
|
81
|
-
notFound: "Hepsi",
|
82
|
-
notFoundText: "A-Z",
|
83
|
-
noRecentSearches: "En Yeni",
|
84
|
-
placeHolderSearchGames: "Oyun ara ..."
|
85
|
-
},
|
86
|
-
ru: {
|
87
|
-
recentSearch: "Recent search",
|
88
|
-
loading: "Loading, please wait",
|
89
|
-
searchResult: "Search result",
|
90
|
-
cancel: "Cancel",
|
91
|
-
notFound: "Game not found!",
|
92
|
-
notFoundText: "Please type the correct name of the game to start to play."
|
93
|
-
},
|
94
|
-
ro: {
|
95
|
-
recentSearch: "Cautari recente",
|
96
|
-
loading: "Se incarca, te rugam asteapta…",
|
97
|
-
searchResult: "Rezultat cautare",
|
98
|
-
cancel: "Anuleaza",
|
99
|
-
notFound: "Nu am gasit niciun rezultat!",
|
100
|
-
notFoundText: "Te rugam sa introduci corect numele jocului.",
|
101
|
-
noRecentSearches: "Nu sunt cautari recente. Cauta oricare din jocurile noastre.",
|
102
|
-
placeHolderSearchGames: "Căutați Jocuri"
|
103
|
-
},
|
104
|
-
hr: {
|
105
|
-
recentSearch: "Nedavna pretraga",
|
106
|
-
loading: "Učitavanje",
|
107
|
-
searchResult: "Rezultat pretrage",
|
108
|
-
cancel: "Otkaži",
|
109
|
-
notFound: "Igra nije pronađena!",
|
110
|
-
notFoundText: "Molimo upišite točan naziv igre kako biste započeli igrati.",
|
111
|
-
noRecentSearches: "Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",
|
112
|
-
placeHolderSearchGames: "Traži igre"
|
113
|
-
},
|
114
|
-
hu: {
|
115
|
-
recentSearch: "Recent search",
|
116
|
-
loading: "Loading, please wait",
|
117
|
-
searchResult: "Search result",
|
118
|
-
cancel: "Cancel",
|
119
|
-
notFound: "Game not found!",
|
120
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
121
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
122
|
-
},
|
123
|
-
pl: {
|
124
|
-
recentSearch: "Recent search",
|
125
|
-
loading: "Loading, please wait",
|
126
|
-
searchResult: "Search result",
|
127
|
-
cancel: "Cancel",
|
128
|
-
notFound: "Game not found!",
|
129
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
130
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
131
|
-
},
|
132
|
-
pt: {
|
133
|
-
recentSearch: "Recent search",
|
134
|
-
loading: "Loading, please wait",
|
135
|
-
searchResult: "Search result",
|
136
|
-
placeHolderSearchGames: "Pesquisar jogos",
|
137
|
-
cancel: "Cancel",
|
138
|
-
notFound: "Game not found!",
|
139
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
140
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
141
|
-
},
|
142
|
-
sl: {
|
143
|
-
recentSearch: "Recent search",
|
144
|
-
loading: "Loading, please wait",
|
145
|
-
searchResult: "Search result",
|
146
|
-
cancel: "Cancel",
|
147
|
-
notFound: "Game not found!",
|
148
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
149
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
150
|
-
},
|
151
|
-
sr: {
|
152
|
-
recentSearch: "Recent search",
|
153
|
-
loading: "Loading, please wait",
|
154
|
-
searchResult: "Search result",
|
155
|
-
cancel: "Cancel",
|
156
|
-
notFound: "Game not found!",
|
157
|
-
notFoundText: "Please type the correct name of the game to start to play.",
|
158
|
-
noRecentSearches: "No recent searches yet. Search for any of our games."
|
159
|
-
},
|
160
|
-
"es-mx": {
|
161
|
-
recentSearch: "Búsqueda reciente",
|
162
|
-
loading: "Cargando, por favor espera",
|
163
|
-
searchResult: "Resultado de la búsqueda",
|
164
|
-
placeHolderSearchGames: "Buscar juegos",
|
165
|
-
cancel: "Cancelar",
|
166
|
-
notFound: "¡Juego no encontrado!",
|
167
|
-
notFoundText: "Por favor, escribe el nombre correcto del juego para comenzar a jugar.",
|
168
|
-
noRecentSearches: "Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."
|
169
|
-
},
|
170
|
-
"pt-br": {
|
171
|
-
recentSearch: "Pesquisa recente",
|
172
|
-
loading: "Carregando, por favor aguarde",
|
173
|
-
searchResult: "Resultado da pesquisa",
|
174
|
-
placeHolderSearchGames: "Buscar jogos",
|
175
|
-
cancel: "Cancelar",
|
176
|
-
notFound: "Jogo não encontrado!",
|
177
|
-
notFoundText: "Por favor, digite o nome correto do jogo para começar a jogar.",
|
178
|
-
noRecentSearches: "Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."
|
179
|
-
}
|
180
|
-
};
|
181
|
-
if (typeof window != "undefined") {
|
182
|
-
let a = function(e) {
|
183
|
-
return function(...t) {
|
184
|
-
try {
|
185
|
-
return e.apply(this, t);
|
186
|
-
} catch (l) {
|
187
|
-
if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
|
188
|
-
return !1;
|
189
|
-
throw l;
|
190
|
-
}
|
191
|
-
};
|
192
|
-
};
|
193
|
-
customElements.define = a(customElements.define), import("./CasinoGameThumbnailNd-Cg1ZV2bZ.js").then((e) => e.E).then(({ default: e }) => {
|
194
|
-
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
|
195
|
-
});
|
196
|
-
}
|
197
|
-
function tt(a) {
|
198
|
-
Ze(a, "svelte-lu371p", ".svelte-lu371p.svelte-lu371p,.svelte-lu371p.svelte-lu371p::before,.svelte-lu371p.svelte-lu371p::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input.svelte-lu371p.svelte-lu371p{font-family:inherit}.CasinoSearch.svelte-lu371p.svelte-lu371p{margin:30px 40px;position:relative}.SearchWrap.svelte-lu371p.svelte-lu371p{width:100%;margin:auto}.OverlayCancel.svelte-lu371p.svelte-lu371p{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent.svelte-lu371p.svelte-lu371p{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search.svelte-lu371p.svelte-lu371p{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon.svelte-lu371p.svelte-lu371p{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon.svelte-lu371p svg.svelte-lu371p{height:14px;width:13px}.SearchInput.svelte-lu371p.svelte-lu371p{border-radius:4px;color:var(--emfe-w-color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput.svelte-lu371p.svelte-lu371p::placeholder{color:var(--emfe-w-color-white, #FFF);font-size:16px;font-weight:300}.SearchInput.svelte-lu371p.svelte-lu371p:focus{outline:1px solid var(--emfe-w-color-white, #FFF);background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E))}.SearchInput.svelte-lu371p.svelte-lu371p::-webkit-search-decoration,.SearchInput.svelte-lu371p.svelte-lu371p::-webkit-search-cancel-button,.SearchInput.svelte-lu371p.svelte-lu371p::-webkit-search-results-button,.SearchInput.svelte-lu371p.svelte-lu371p::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton.svelte-lu371p.svelte-lu371p{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel.svelte-lu371p.svelte-lu371p{right:18px}.SearchCancelButton.svelte-lu371p.svelte-lu371p{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage.svelte-lu371p.svelte-lu371p{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon.svelte-lu371p.svelte-lu371p{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer.svelte-lu371p.svelte-lu371p{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer.svelte-lu371p.svelte-lu371p{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer.svelte-lu371p.svelte-lu371p{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer.svelte-lu371p.svelte-lu371p{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer.svelte-lu371p.svelte-lu371p{padding:0 2.4%}}.ResultsContainerError.svelte-lu371p.svelte-lu371p{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.NotVisible.svelte-lu371p.svelte-lu371p{display:none}.Desktop.svelte-lu371p .NotVisible.svelte-lu371p{opacity:0;visibility:hidden;display:inline}.Desktop.svelte-lu371p .SearchWrap.svelte-lu371p{width:50%;margin:auto}.Desktop.CasinoSearch.svelte-lu371p.svelte-lu371p{margin:30px auto;position:relative}.Desktop.svelte-lu371p .ResultsContainerError.svelte-lu371p{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop.svelte-lu371p .ResultsContainerError.WithIcon.svelte-lu371p{top:60%}.Desktop.svelte-lu371p .Search.svelte-lu371p{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop.svelte-lu371p .SearchIcon.svelte-lu371p{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop.svelte-lu371p .SearchClearButton.svelte-lu371p{position:relative;top:0;right:0;margin-left:-23px}.Desktop.svelte-lu371p .SearchCancelButton.svelte-lu371p{margin-left:20px}.Desktop.svelte-lu371p .SearchAnimation.svelte-lu371p{transform:scaleX(110%)}.Desktop.svelte-lu371p .SearchAnimation Input.svelte-lu371p{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #23B04E))}.Desktop.svelte-lu371p .SearchMessage.svelte-lu371p{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop.svelte-lu371p .SearchErrorIcon.svelte-lu371p{height:190px;margin-bottom:-70px}.Desktop.svelte-lu371p .OverlayCancel.svelte-lu371p{height:90vh;z-index:2}");
|
199
|
-
}
|
200
|
-
function fe(a, e, t) {
|
201
|
-
const l = a.slice();
|
202
|
-
return l[53] = e[t], l;
|
203
|
-
}
|
204
|
-
function ge(a) {
|
205
|
-
let e, t = (
|
206
|
-
/*$_*/
|
207
|
-
a[20]("cancel") + ""
|
208
|
-
), l, s, o, r;
|
209
|
-
return {
|
210
|
-
c() {
|
211
|
-
e = y("small"), l = q(t), p(e, "class", s = "SearchCancelButton " + /*searchCancelled*/
|
212
|
-
(a[12] ? "NotVisible" : "") + " svelte-lu371p");
|
213
|
-
},
|
214
|
-
m(i, c) {
|
215
|
-
T(i, e, c), _(e, l), o || (r = J(
|
216
|
-
e,
|
217
|
-
"click",
|
218
|
-
/*click_handler_1*/
|
219
|
-
a[35]
|
220
|
-
), o = !0);
|
221
|
-
},
|
222
|
-
p(i, c) {
|
223
|
-
c[0] & /*$_*/
|
224
|
-
1048576 && t !== (t = /*$_*/
|
225
|
-
i[20]("cancel") + "") && W(l, t), c[0] & /*searchCancelled*/
|
226
|
-
4096 && s !== (s = "SearchCancelButton " + /*searchCancelled*/
|
227
|
-
(i[12] ? "NotVisible" : "") + " svelte-lu371p") && p(e, "class", s);
|
228
|
-
},
|
229
|
-
d(i) {
|
230
|
-
i && j(e), o = !1, r();
|
231
|
-
}
|
232
|
-
};
|
233
|
-
}
|
234
|
-
function at(a) {
|
235
|
-
let e, t, l, s;
|
236
|
-
function o(u, f) {
|
237
|
-
if (
|
238
|
-
/*searchActive*/
|
239
|
-
u[16] == !0 && /*searchValue*/
|
240
|
-
u[11].length < 2
|
241
|
-
) return st;
|
242
|
-
if (
|
243
|
-
/*searchArray*/
|
244
|
-
u[14].length != 0
|
245
|
-
) return nt;
|
246
|
-
}
|
247
|
-
let r = o(a), i = r && r(a), c = (
|
248
|
-
/*searchCancelled*/
|
249
|
-
a[12] === !1 && we(a)
|
250
|
-
), m = (
|
251
|
-
/*searchValue*/
|
252
|
-
a[11].length >= 2 && /*searchArray*/
|
253
|
-
a[14].length == 0 && ke(a)
|
254
|
-
);
|
255
|
-
return {
|
256
|
-
c() {
|
257
|
-
i && i.c(), e = N(), t = y("div"), c && c.c(), l = N(), m && m.c(), p(t, "class", s = "SearchResultsContainer " + /*searchActive*/
|
258
|
-
(a[16] == !0 ? "" : "NotVisible") + " svelte-lu371p");
|
259
|
-
},
|
260
|
-
m(u, f) {
|
261
|
-
i && i.m(u, f), T(u, e, f), T(u, t, f), c && c.m(t, null), _(t, l), m && m.m(t, null);
|
262
|
-
},
|
263
|
-
p(u, f) {
|
264
|
-
r === (r = o(u)) && i ? i.p(u, f) : (i && i.d(1), i = r && r(u), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
265
|
-
u[12] === !1 ? c ? c.p(u, f) : (c = we(u), c.c(), c.m(t, l)) : c && (c.d(1), c = null), /*searchValue*/
|
266
|
-
u[11].length >= 2 && /*searchArray*/
|
267
|
-
u[14].length == 0 ? m ? m.p(u, f) : (m = ke(u), m.c(), m.m(t, null)) : m && (m.d(1), m = null), f[0] & /*searchActive*/
|
268
|
-
65536 && s !== (s = "SearchResultsContainer " + /*searchActive*/
|
269
|
-
(u[16] == !0 ? "" : "NotVisible") + " svelte-lu371p") && p(t, "class", s);
|
270
|
-
},
|
271
|
-
d(u) {
|
272
|
-
u && (j(e), j(t)), i && i.d(u), c && c.d(), m && m.d();
|
273
|
-
}
|
274
|
-
};
|
275
|
-
}
|
276
|
-
function lt(a) {
|
277
|
-
let e, t = (
|
278
|
-
/*$_*/
|
279
|
-
a[20]("loading") + ""
|
280
|
-
), l;
|
281
|
-
return {
|
282
|
-
c() {
|
283
|
-
e = y("p"), l = q(t), p(e, "class", "LoadingContent svelte-lu371p");
|
284
|
-
},
|
285
|
-
m(s, o) {
|
286
|
-
T(s, e, o), _(e, l);
|
287
|
-
},
|
288
|
-
p(s, o) {
|
289
|
-
o[0] & /*$_*/
|
290
|
-
1048576 && t !== (t = /*$_*/
|
291
|
-
s[20]("loading") + "") && W(l, t);
|
292
|
-
},
|
293
|
-
d(s) {
|
294
|
-
s && j(e);
|
295
|
-
}
|
296
|
-
};
|
297
|
-
}
|
298
|
-
function nt(a) {
|
299
|
-
let e, t = (
|
300
|
-
/*$_*/
|
301
|
-
a[20]("searchResult") + ""
|
302
|
-
), l;
|
303
|
-
return {
|
304
|
-
c() {
|
305
|
-
e = y("p"), l = q(t), p(e, "class", "SearchMessage svelte-lu371p");
|
306
|
-
},
|
307
|
-
m(s, o) {
|
308
|
-
T(s, e, o), _(e, l);
|
309
|
-
},
|
310
|
-
p(s, o) {
|
311
|
-
o[0] & /*$_*/
|
312
|
-
1048576 && t !== (t = /*$_*/
|
313
|
-
s[20]("searchResult") + "") && W(l, t);
|
314
|
-
},
|
315
|
-
d(s) {
|
316
|
-
s && j(e);
|
317
|
-
}
|
318
|
-
};
|
319
|
-
}
|
320
|
-
function st(a) {
|
321
|
-
let e, t, l = (
|
322
|
-
/*searchArray*/
|
323
|
-
a[14].length !== 0 && ve(a)
|
324
|
-
), s = (
|
325
|
-
/*searchArray*/
|
326
|
-
a[14].length == 0 && _e(a)
|
327
|
-
);
|
328
|
-
return {
|
329
|
-
c() {
|
330
|
-
l && l.c(), e = N(), s && s.c(), t = Re();
|
331
|
-
},
|
332
|
-
m(o, r) {
|
333
|
-
l && l.m(o, r), T(o, e, r), s && s.m(o, r), T(o, t, r);
|
334
|
-
},
|
335
|
-
p(o, r) {
|
336
|
-
/*searchArray*/
|
337
|
-
o[14].length !== 0 ? l ? l.p(o, r) : (l = ve(o), l.c(), l.m(e.parentNode, e)) : l && (l.d(1), l = null), /*searchArray*/
|
338
|
-
o[14].length == 0 ? s ? s.p(o, r) : (s = _e(o), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null);
|
339
|
-
},
|
340
|
-
d(o) {
|
341
|
-
o && (j(e), j(t)), l && l.d(o), s && s.d(o);
|
342
|
-
}
|
343
|
-
};
|
344
|
-
}
|
345
|
-
function ve(a) {
|
346
|
-
let e, t = (
|
347
|
-
/*$_*/
|
348
|
-
a[20]("recentSearch") + ""
|
349
|
-
), l;
|
350
|
-
return {
|
351
|
-
c() {
|
352
|
-
e = y("p"), l = q(t), p(e, "class", "SearchMessage svelte-lu371p");
|
353
|
-
},
|
354
|
-
m(s, o) {
|
355
|
-
T(s, e, o), _(e, l);
|
356
|
-
},
|
357
|
-
p(s, o) {
|
358
|
-
o[0] & /*$_*/
|
359
|
-
1048576 && t !== (t = /*$_*/
|
360
|
-
s[20]("recentSearch") + "") && W(l, t);
|
361
|
-
},
|
362
|
-
d(s) {
|
363
|
-
s && j(e);
|
364
|
-
}
|
365
|
-
};
|
366
|
-
}
|
367
|
-
function _e(a) {
|
368
|
-
let e, t, l, s = (
|
369
|
-
/*$_*/
|
370
|
-
a[20]("noRecentSearches") + ""
|
371
|
-
), o, r, i = (
|
372
|
-
/*notfoundicon*/
|
373
|
-
a[10] === "true" && Se()
|
374
|
-
);
|
375
|
-
return {
|
376
|
-
c() {
|
377
|
-
e = y("div"), i && i.c(), t = N(), l = y("p"), o = q(s), p(l, "class", "SearchMessage svelte-lu371p"), p(e, "class", r = "ResultsContainerError " + /*notfoundicon*/
|
378
|
-
(a[10] == "true" ? "WithIcon" : "") + " svelte-lu371p");
|
379
|
-
},
|
380
|
-
m(c, m) {
|
381
|
-
T(c, e, m), i && i.m(e, null), _(e, t), _(e, l), _(l, o);
|
382
|
-
},
|
383
|
-
p(c, m) {
|
384
|
-
/*notfoundicon*/
|
385
|
-
c[10] === "true" ? i || (i = Se(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
386
|
-
1048576 && s !== (s = /*$_*/
|
387
|
-
c[20]("noRecentSearches") + "") && W(o, s), m[0] & /*notfoundicon*/
|
388
|
-
1024 && r !== (r = "ResultsContainerError " + /*notfoundicon*/
|
389
|
-
(c[10] == "true" ? "WithIcon" : "") + " svelte-lu371p") && p(e, "class", r);
|
390
|
-
},
|
391
|
-
d(c) {
|
392
|
-
c && j(e), i && i.d();
|
393
|
-
}
|
394
|
-
};
|
395
|
-
}
|
396
|
-
function Se(a) {
|
397
|
-
let e;
|
398
|
-
return {
|
399
|
-
c() {
|
400
|
-
e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-lu371p"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6" class="svelte-lu371p"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round" class="svelte-lu371p"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="svelte-lu371p"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)" class="svelte-lu371p"></path></svg>', p(e, "class", "SearchErrorIcon svelte-lu371p");
|
401
|
-
},
|
402
|
-
m(t, l) {
|
403
|
-
T(t, e, l);
|
404
|
-
},
|
405
|
-
d(t) {
|
406
|
-
t && j(e);
|
407
|
-
}
|
408
|
-
};
|
409
|
-
}
|
410
|
-
function we(a) {
|
411
|
-
let e, t = de(
|
412
|
-
/*searchArray*/
|
413
|
-
a[14]
|
414
|
-
), l = [];
|
415
|
-
for (let s = 0; s < t.length; s += 1)
|
416
|
-
l[s] = be(fe(a, t, s));
|
417
|
-
return {
|
418
|
-
c() {
|
419
|
-
for (let s = 0; s < l.length; s += 1)
|
420
|
-
l[s].c();
|
421
|
-
e = Re();
|
422
|
-
},
|
423
|
-
m(s, o) {
|
424
|
-
for (let r = 0; r < l.length; r += 1)
|
425
|
-
l[r] && l[r].m(s, o);
|
426
|
-
T(s, e, o);
|
427
|
-
},
|
428
|
-
p(s, o) {
|
429
|
-
if (o[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
430
|
-
17580543) {
|
431
|
-
t = de(
|
432
|
-
/*searchArray*/
|
433
|
-
s[14]
|
434
|
-
);
|
435
|
-
let r;
|
436
|
-
for (r = 0; r < t.length; r += 1) {
|
437
|
-
const i = fe(s, t, r);
|
438
|
-
l[r] ? l[r].p(i, o) : (l[r] = be(i), l[r].c(), l[r].m(e.parentNode, e));
|
439
|
-
}
|
440
|
-
for (; r < l.length; r += 1)
|
441
|
-
l[r].d(1);
|
442
|
-
l.length = t.length;
|
443
|
-
}
|
444
|
-
},
|
445
|
-
d(s) {
|
446
|
-
s && j(e), Qe(l, s);
|
447
|
-
}
|
448
|
-
};
|
449
|
-
}
|
450
|
-
function be(a) {
|
451
|
-
let e, t, l, s, o, r, i, c, m, u, f, k;
|
452
|
-
return {
|
453
|
-
c() {
|
454
|
-
var d;
|
455
|
-
e = y("casino-game-thumbnail-nd"), h(
|
456
|
-
e,
|
457
|
-
"endpoint",
|
458
|
-
/*endpoint*/
|
459
|
-
a[0]
|
460
|
-
), h(
|
461
|
-
e,
|
462
|
-
"session",
|
463
|
-
/*sessionID*/
|
464
|
-
a[18]
|
465
|
-
), h(
|
466
|
-
e,
|
467
|
-
"userid",
|
468
|
-
/*playerID*/
|
469
|
-
a[19]
|
470
|
-
), h(
|
471
|
-
e,
|
472
|
-
"favorites",
|
473
|
-
/*showfavorites*/
|
474
|
-
a[8]
|
475
|
-
), h(
|
476
|
-
e,
|
477
|
-
"lang",
|
478
|
-
/*lang*/
|
479
|
-
a[1]
|
480
|
-
), h(e, "gamethumbnail", t = /*game*/
|
481
|
-
a[53].thumbnail), h(e, "gamename", l = /*game*/
|
482
|
-
a[53].name), h(e, "gamevendor", s = /*game*/
|
483
|
-
a[53].vendor.name), h(e, "gameLaunchUrl", o = /*game*/
|
484
|
-
a[53].launchUrl), h(e, "gameisnew", r = /*game*/
|
485
|
-
a[53].isNew), h(e, "gametag", i = /*game*/
|
486
|
-
((d = a[53].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
|
487
|
-
a[24](
|
488
|
-
/*game*/
|
489
|
-
a[53].advancedTags
|
490
|
-
)), h(e, "gamecellsize", c = /*game*/
|
491
|
-
a[53].cellSize), h(e, "gameid", m = /*game*/
|
492
|
-
a[53].id), h(
|
493
|
-
e,
|
494
|
-
"showgamename",
|
495
|
-
/*showgamename*/
|
496
|
-
a[6]
|
497
|
-
), h(e, "gamefunmode", u = /*game*/
|
498
|
-
a[53].hasFunMode), h(e, "gamefavorite", f = /*game*/
|
499
|
-
a[53].isFavorite), h(e, "livelobbyendpoint", k = /*game*/
|
500
|
-
a[53].details ? (
|
501
|
-
/*game*/
|
502
|
-
a[53].launchUrl
|
503
|
-
) : ""), h(
|
504
|
-
e,
|
505
|
-
"integratedgameframedesktop",
|
506
|
-
/*integratedgameframedesktop*/
|
507
|
-
a[4]
|
508
|
-
), h(
|
509
|
-
e,
|
510
|
-
"integratedgameframemobile",
|
511
|
-
/*integratedgameframemobile*/
|
512
|
-
a[5]
|
513
|
-
), h(
|
514
|
-
e,
|
515
|
-
"clientstyling",
|
516
|
-
/*clientstyling*/
|
517
|
-
a[2]
|
518
|
-
), h(
|
519
|
-
e,
|
520
|
-
"clientstylingurl",
|
521
|
-
/*clientstylingurl*/
|
522
|
-
a[3]
|
523
|
-
), h(
|
524
|
-
e,
|
525
|
-
"gamepagemodalurl",
|
526
|
-
/*gamepagemodalurl*/
|
527
|
-
a[7]
|
528
|
-
), h(e, "class", "svelte-lu371p");
|
529
|
-
},
|
530
|
-
m(d, v) {
|
531
|
-
T(d, e, v);
|
532
|
-
},
|
533
|
-
p(d, v) {
|
534
|
-
var P;
|
535
|
-
v[0] & /*endpoint*/
|
536
|
-
1 && h(
|
537
|
-
e,
|
538
|
-
"endpoint",
|
539
|
-
/*endpoint*/
|
540
|
-
d[0]
|
541
|
-
), v[0] & /*sessionID*/
|
542
|
-
262144 && h(
|
543
|
-
e,
|
544
|
-
"session",
|
545
|
-
/*sessionID*/
|
546
|
-
d[18]
|
547
|
-
), v[0] & /*playerID*/
|
548
|
-
524288 && h(
|
549
|
-
e,
|
550
|
-
"userid",
|
551
|
-
/*playerID*/
|
552
|
-
d[19]
|
553
|
-
), v[0] & /*showfavorites*/
|
554
|
-
256 && h(
|
555
|
-
e,
|
556
|
-
"favorites",
|
557
|
-
/*showfavorites*/
|
558
|
-
d[8]
|
559
|
-
), v[0] & /*lang*/
|
560
|
-
2 && h(
|
561
|
-
e,
|
562
|
-
"lang",
|
563
|
-
/*lang*/
|
564
|
-
d[1]
|
565
|
-
), v[0] & /*searchArray*/
|
566
|
-
16384 && t !== (t = /*game*/
|
567
|
-
d[53].thumbnail) && h(e, "gamethumbnail", t), v[0] & /*searchArray*/
|
568
|
-
16384 && l !== (l = /*game*/
|
569
|
-
d[53].name) && h(e, "gamename", l), v[0] & /*searchArray*/
|
570
|
-
16384 && s !== (s = /*game*/
|
571
|
-
d[53].vendor.name) && h(e, "gamevendor", s), v[0] & /*searchArray*/
|
572
|
-
16384 && o !== (o = /*game*/
|
573
|
-
d[53].launchUrl) && h(e, "gameLaunchUrl", o), v[0] & /*searchArray*/
|
574
|
-
16384 && r !== (r = /*game*/
|
575
|
-
d[53].isNew) && h(e, "gameisnew", r), v[0] & /*searchArray*/
|
576
|
-
16384 && i !== (i = /*game*/
|
577
|
-
((P = d[53].advancedTags) == null ? void 0 : P.length) > 0 && /*addGameTag*/
|
578
|
-
d[24](
|
579
|
-
/*game*/
|
580
|
-
d[53].advancedTags
|
581
|
-
)) && h(e, "gametag", i), v[0] & /*searchArray*/
|
582
|
-
16384 && c !== (c = /*game*/
|
583
|
-
d[53].cellSize) && h(e, "gamecellsize", c), v[0] & /*searchArray*/
|
584
|
-
16384 && m !== (m = /*game*/
|
585
|
-
d[53].id) && h(e, "gameid", m), v[0] & /*showgamename*/
|
586
|
-
64 && h(
|
587
|
-
e,
|
588
|
-
"showgamename",
|
589
|
-
/*showgamename*/
|
590
|
-
d[6]
|
591
|
-
), v[0] & /*searchArray*/
|
592
|
-
16384 && u !== (u = /*game*/
|
593
|
-
d[53].hasFunMode) && h(e, "gamefunmode", u), v[0] & /*searchArray*/
|
594
|
-
16384 && f !== (f = /*game*/
|
595
|
-
d[53].isFavorite) && h(e, "gamefavorite", f), v[0] & /*searchArray*/
|
596
|
-
16384 && k !== (k = /*game*/
|
597
|
-
d[53].details ? (
|
598
|
-
/*game*/
|
599
|
-
d[53].launchUrl
|
600
|
-
) : "") && h(e, "livelobbyendpoint", k), v[0] & /*integratedgameframedesktop*/
|
601
|
-
16 && h(
|
602
|
-
e,
|
603
|
-
"integratedgameframedesktop",
|
604
|
-
/*integratedgameframedesktop*/
|
605
|
-
d[4]
|
606
|
-
), v[0] & /*integratedgameframemobile*/
|
607
|
-
32 && h(
|
608
|
-
e,
|
609
|
-
"integratedgameframemobile",
|
610
|
-
/*integratedgameframemobile*/
|
611
|
-
d[5]
|
612
|
-
), v[0] & /*clientstyling*/
|
613
|
-
4 && h(
|
614
|
-
e,
|
615
|
-
"clientstyling",
|
616
|
-
/*clientstyling*/
|
617
|
-
d[2]
|
618
|
-
), v[0] & /*clientstylingurl*/
|
619
|
-
8 && h(
|
620
|
-
e,
|
621
|
-
"clientstylingurl",
|
622
|
-
/*clientstylingurl*/
|
623
|
-
d[3]
|
624
|
-
), v[0] & /*gamepagemodalurl*/
|
625
|
-
128 && h(
|
626
|
-
e,
|
627
|
-
"gamepagemodalurl",
|
628
|
-
/*gamepagemodalurl*/
|
629
|
-
d[7]
|
630
|
-
);
|
631
|
-
},
|
632
|
-
d(d) {
|
633
|
-
d && j(e);
|
634
|
-
}
|
635
|
-
};
|
636
|
-
}
|
637
|
-
function ke(a) {
|
638
|
-
let e, t, l, s = (
|
639
|
-
/*$_*/
|
640
|
-
a[20]("notFound") + ""
|
641
|
-
), o, r, i, c = (
|
642
|
-
/*$_*/
|
643
|
-
a[20]("notFoundText") + ""
|
644
|
-
), m, u, f = (
|
645
|
-
/*notfoundicon*/
|
646
|
-
a[10] === "true" && ye()
|
647
|
-
);
|
648
|
-
return {
|
649
|
-
c() {
|
650
|
-
e = y("div"), f && f.c(), t = N(), l = y("p"), o = q(s), r = N(), i = y("p"), m = q(c), p(l, "class", "SearchMessage svelte-lu371p"), p(i, "class", "svelte-lu371p"), p(e, "class", u = "ResultsContainerError " + /*notfoundicon*/
|
651
|
-
(a[10] == "true" ? "WithIcon" : "") + " svelte-lu371p");
|
652
|
-
},
|
653
|
-
m(k, d) {
|
654
|
-
T(k, e, d), f && f.m(e, null), _(e, t), _(e, l), _(l, o), _(e, r), _(e, i), _(i, m);
|
655
|
-
},
|
656
|
-
p(k, d) {
|
657
|
-
/*notfoundicon*/
|
658
|
-
k[10] === "true" ? f || (f = ye(), f.c(), f.m(e, t)) : f && (f.d(1), f = null), d[0] & /*$_*/
|
659
|
-
1048576 && s !== (s = /*$_*/
|
660
|
-
k[20]("notFound") + "") && W(o, s), d[0] & /*$_*/
|
661
|
-
1048576 && c !== (c = /*$_*/
|
662
|
-
k[20]("notFoundText") + "") && W(m, c), d[0] & /*notfoundicon*/
|
663
|
-
1024 && u !== (u = "ResultsContainerError " + /*notfoundicon*/
|
664
|
-
(k[10] == "true" ? "WithIcon" : "") + " svelte-lu371p") && p(e, "class", u);
|
665
|
-
},
|
666
|
-
d(k) {
|
667
|
-
k && j(e), f && f.d();
|
668
|
-
}
|
669
|
-
};
|
670
|
-
}
|
671
|
-
function ye(a) {
|
672
|
-
let e;
|
673
|
-
return {
|
674
|
-
c() {
|
675
|
-
e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-lu371p"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6" class="svelte-lu371p"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round" class="svelte-lu371p"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" class="svelte-lu371p"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)" class="svelte-lu371p"></path></svg>', p(e, "class", "SearchErrorIcon svelte-lu371p");
|
676
|
-
},
|
677
|
-
m(t, l) {
|
678
|
-
T(t, e, l);
|
679
|
-
},
|
680
|
-
d(t) {
|
681
|
-
t && j(e);
|
682
|
-
}
|
683
|
-
};
|
684
|
-
}
|
685
|
-
function rt(a) {
|
686
|
-
let e, t, l, s, o, r, i, c, m, u, f, k, d, v, P, x, D, U, A, M, b = (
|
687
|
-
/*cancelbutton*/
|
688
|
-
a[9] === "true" && ge(a)
|
689
|
-
);
|
690
|
-
function O(w, F) {
|
691
|
-
return (
|
692
|
-
/*isLoading*/
|
693
|
-
w[17] ? lt : at
|
694
|
-
);
|
695
|
-
}
|
696
|
-
let I = O(a), L = I(a);
|
697
|
-
return {
|
698
|
-
c() {
|
699
|
-
e = y("div"), t = y("div"), l = y("div"), s = y("div"), s.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg" class="svelte-lu371p"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373" class="svelte-lu371p"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5" class="svelte-lu371p"></circle></svg>', o = N(), r = y("input"), c = N(), m = y("span"), u = oe("svg"), f = oe("path"), d = N(), b && b.c(), P = N(), x = y("div"), U = N(), L.c(), p(s, "class", "SearchIcon svelte-lu371p"), p(r, "class", "SearchInput svelte-lu371p"), p(r, "type", "search"), p(r, "placeholder", i = /*$_*/
|
700
|
-
a[20]("placeHolderSearchGames")), p(r, "maxlength", ot), p(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), p(f, "stroke", "#717171"), p(f, "stroke-width", "2"), p(f, "stroke-linecap", "round"), p(f, "stroke-linejoin", "round"), p(f, "class", "svelte-lu371p"), p(u, "width", "11"), p(u, "height", "11"), p(u, "fill", "none"), p(u, "xmlns", "http://www.w3.org/2000/svg"), p(u, "class", "svelte-lu371p"), p(m, "class", k = "SearchClearButton " + /*cancelbutton*/
|
701
|
-
(a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
702
|
-
(a[11].length != 0 ? "" : "NotVisible") + " svelte-lu371p"), p(l, "class", v = "Search " + /*searchCancelled*/
|
703
|
-
(a[12] ? "" : "SearchAnimation") + " svelte-lu371p"), p(t, "class", "SearchWrap svelte-lu371p"), p(x, "class", D = ie(
|
704
|
-
/*cancelbutton*/
|
705
|
-
a[9] != "true" ? "OverlayCancel" : ""
|
706
|
-
) + " svelte-lu371p"), p(e, "class", (ee(
|
707
|
-
/*userAgent*/
|
708
|
-
a[21]
|
709
|
-
) !== "PC" ? "" : "Desktop") + " CasinoSearch svelte-lu371p");
|
710
|
-
},
|
711
|
-
m(w, F) {
|
712
|
-
T(w, e, F), _(e, t), _(t, l), _(l, s), _(l, o), _(l, r), ce(
|
713
|
-
r,
|
714
|
-
/*searchValue*/
|
715
|
-
a[11]
|
716
|
-
), a[33](r), _(l, c), _(l, m), _(m, u), _(u, f), _(l, d), b && b.m(l, null), _(e, P), _(e, x), _(e, U), L.m(e, null), a[36](e), A || (M = [
|
717
|
-
J(
|
718
|
-
r,
|
719
|
-
"input",
|
720
|
-
/*input_input_handler*/
|
721
|
-
a[32]
|
722
|
-
),
|
723
|
-
J(
|
724
|
-
r,
|
725
|
-
"focus",
|
726
|
-
/*onFocus*/
|
727
|
-
a[22]
|
728
|
-
),
|
729
|
-
J(
|
730
|
-
m,
|
731
|
-
"click",
|
732
|
-
/*click_handler*/
|
733
|
-
a[34]
|
734
|
-
),
|
735
|
-
J(
|
736
|
-
x,
|
737
|
-
"click",
|
738
|
-
/*handleOverlay*/
|
739
|
-
a[23]
|
740
|
-
)
|
741
|
-
], A = !0);
|
742
|
-
},
|
743
|
-
p(w, F) {
|
744
|
-
F[0] & /*$_*/
|
745
|
-
1048576 && i !== (i = /*$_*/
|
746
|
-
w[20]("placeHolderSearchGames")) && p(r, "placeholder", i), F[0] & /*searchValue*/
|
747
|
-
2048 && r.value !== /*searchValue*/
|
748
|
-
w[11] && ce(
|
749
|
-
r,
|
750
|
-
/*searchValue*/
|
751
|
-
w[11]
|
752
|
-
), F[0] & /*cancelbutton, searchValue*/
|
753
|
-
2560 && k !== (k = "SearchClearButton " + /*cancelbutton*/
|
754
|
-
(w[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
755
|
-
(w[11].length != 0 ? "" : "NotVisible") + " svelte-lu371p") && p(m, "class", k), /*cancelbutton*/
|
756
|
-
w[9] === "true" ? b ? b.p(w, F) : (b = ge(w), b.c(), b.m(l, null)) : b && (b.d(1), b = null), F[0] & /*searchCancelled*/
|
757
|
-
4096 && v !== (v = "Search " + /*searchCancelled*/
|
758
|
-
(w[12] ? "" : "SearchAnimation") + " svelte-lu371p") && p(l, "class", v), F[0] & /*cancelbutton*/
|
759
|
-
512 && D !== (D = ie(
|
760
|
-
/*cancelbutton*/
|
761
|
-
w[9] != "true" ? "OverlayCancel" : ""
|
762
|
-
) + " svelte-lu371p") && p(x, "class", D), I === (I = O(w)) && L ? L.p(w, F) : (L.d(1), L = I(w), L && (L.c(), L.m(e, null)));
|
763
|
-
},
|
764
|
-
i: ue,
|
765
|
-
o: ue,
|
766
|
-
d(w) {
|
767
|
-
w && j(e), a[33](null), b && b.d(), L.d(), a[36](null), A = !1, Ye(M);
|
768
|
-
}
|
769
|
-
};
|
770
|
-
}
|
771
|
-
let ot = 50;
|
772
|
-
function it(a, e, t) {
|
773
|
-
let l;
|
774
|
-
Ke(a, $e, (n) => t(20, l = n));
|
775
|
-
let { endpoint: s = "" } = e, { datasource: o = "" } = e, { session: r = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: u = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: k = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: v = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: D = "true" } = e, { notfoundicon: U = "false" } = e, A = window.navigator.userAgent, M = [], b = [], O = {}, I = "", L, w = !0, F = !1, G = !1, B, Z = !1, Y, K, te = [];
|
776
|
-
const Ce = () => {
|
777
|
-
fetch(P).then((g) => g.json()).then((g) => {
|
778
|
-
Object.keys(g).forEach((S) => {
|
779
|
-
pe(S, g[S]);
|
780
|
-
});
|
781
|
-
}).catch((g) => {
|
782
|
-
console.log(g);
|
783
|
-
});
|
784
|
-
};
|
785
|
-
Object.keys(me).forEach((n) => {
|
786
|
-
pe(n, me[n]);
|
787
|
-
});
|
788
|
-
const ae = (n) => {
|
789
|
-
n.data && n.data.type == "SearchedItemClicked" && ze(n.data.gameId), n.data.type == "UserSessionID" && (t(18, Y = n.data.session), t(19, K = n.data.userid), t(31, Z = !0)), n.data.type == "CategoryChange" && X();
|
790
|
-
}, le = () => {
|
791
|
-
if (t(12, w = !1), t(16, F = !0), s && o && c && I.length < 2) {
|
792
|
-
t(14, M = []);
|
793
|
-
let n = localStorage.getItem("searchedGamesWds_casino"), g = [];
|
794
|
-
n && (g = n.split(","));
|
795
|
-
let S = [], R = 0, C = g.length;
|
796
|
-
if (C > 0) {
|
797
|
-
for (R = 0; R < C; R++) {
|
798
|
-
let z = new URL(`${s}/v1/casino/games/${g[R]}`);
|
799
|
-
z.searchParams.append("language", c), z.searchParams.append("datasource", o), z.searchParams.append("platform", ee(A)), S.push(Ee(z, g[R]));
|
800
|
-
}
|
801
|
-
Promise.all(S).then((z) => {
|
802
|
-
z = z.filter(function(H) {
|
803
|
-
return !!H;
|
804
|
-
}), t(14, M = z.map((H) => (H.isFavorite = ne(H.id), H))), M.length ? V("searchSuccess", "SearchWidget") : V("searchFail", "SearchWidget");
|
805
|
-
}).catch((z) => {
|
806
|
-
V("searchError", "SearchWidget");
|
807
|
-
});
|
808
|
-
}
|
809
|
-
}
|
810
|
-
re(F), V("searchAttempt", "SearchWidget"), V("SearchInitialized", "SearchWidget");
|
811
|
-
}, V = (n, g) => {
|
812
|
-
typeof gtag == "function" && gtag("event", n, { context: g });
|
813
|
-
}, Fe = () => {
|
814
|
-
D != "true" && X();
|
815
|
-
}, Le = (n) => new Promise((g, S) => {
|
816
|
-
t(17, G = !0), fetch(n.href).then((R) => R.json()).then((R) => {
|
817
|
-
t(17, G = !1), g(R);
|
818
|
-
}).catch((R) => {
|
819
|
-
t(17, G = !1), console.error(R), S(R);
|
820
|
-
});
|
821
|
-
}), Ee = (n, g) => new Promise((S, R) => {
|
822
|
-
t(17, G = !0), g && Object.keys(O).indexOf(g) >= 0 ? (t(17, G = !1), S(O[g])) : fetch(n).then((C) => C.json()).then((C) => {
|
823
|
-
t(17, G = !1), C.error || (O[C[0].gameId] = C[0]), S(C[0]);
|
824
|
-
}).catch((C) => {
|
825
|
-
t(17, G = !1), console.error(C), R(C);
|
826
|
-
});
|
827
|
-
}), Te = () => {
|
828
|
-
const n = new URL(`${s}/v1/player/${K}/favorites/`);
|
829
|
-
t(17, G = !0);
|
830
|
-
let g = {
|
831
|
-
method: "GET",
|
832
|
-
headers: { "X-SessionID": Y }
|
833
|
-
};
|
834
|
-
fetch(n.href, g).then((S) => S.json()).then((S) => {
|
835
|
-
t(17, G = !1), te = S.items.map((R) => R.id);
|
836
|
-
});
|
837
|
-
}, je = () => {
|
838
|
-
t(31, Z = !0), t(18, Y = r), t(19, K = i);
|
839
|
-
}, ne = (n) => te.findIndex((g) => g == n) !== -1, Ie = (n) => {
|
840
|
-
if ((n == null ? void 0 : n.length) === 0) return "";
|
841
|
-
let g, S = 99999999999, R;
|
842
|
-
const C = new Date(Date.now());
|
843
|
-
return n.forEach((z, H) => {
|
844
|
-
const He = new Date(z.schedules[0].startTime), $ = new Date(z.schedules[0].endTime);
|
845
|
-
Q($).diff(C) < S && (S = Q($).diff(C), R = H), Q(C).isAfter(He) && Q(C).isBefore($) && (g = n[R].name);
|
846
|
-
}), g;
|
847
|
-
}, ze = (n) => {
|
848
|
-
if (b = localStorage.getItem("searchedGamesWds_casino"), b ? b = b.split(",") : b = [], b.indexOf(n) === -1) {
|
849
|
-
let g;
|
850
|
-
b.unshift(n), g = b.join(","), localStorage.setItem("searchedGamesWds_casino", g);
|
851
|
-
}
|
852
|
-
}, X = () => {
|
853
|
-
t(11, I = ""), t(12, w = !0), t(17, G = !1), t(14, M = []), t(16, F = !1), re(F);
|
854
|
-
}, se = () => {
|
855
|
-
t(11, I = ""), L.focus();
|
856
|
-
}, re = (n) => {
|
857
|
-
window.postMessage(
|
858
|
-
{
|
859
|
-
type: n === !0 ? "searchActive" : "searchCancelled",
|
860
|
-
searchStatus: n
|
861
|
-
},
|
862
|
-
window.location.href
|
863
|
-
);
|
864
|
-
}, Ge = () => {
|
865
|
-
et(c);
|
866
|
-
}, Ne = () => {
|
867
|
-
let n = document.createElement("style");
|
868
|
-
n.innerHTML = m, B.appendChild(n);
|
869
|
-
}, Pe = () => {
|
870
|
-
let n = new URL(u), g = document.createElement("style");
|
871
|
-
fetch(n.href).then((S) => S.text()).then((S) => {
|
872
|
-
g.innerHTML = S, setTimeout(
|
873
|
-
() => {
|
874
|
-
B.appendChild(g);
|
875
|
-
},
|
876
|
-
1
|
877
|
-
);
|
878
|
-
});
|
879
|
-
};
|
880
|
-
Xe(() => (window.addEventListener("message", ae, !1), () => {
|
881
|
-
window.removeEventListener("message", ae);
|
882
|
-
}));
|
883
|
-
function xe() {
|
884
|
-
I = this.value, t(11, I);
|
885
|
-
}
|
886
|
-
function Me(n) {
|
887
|
-
he[n ? "unshift" : "push"](() => {
|
888
|
-
L = n, t(15, L);
|
889
|
-
});
|
890
|
-
}
|
891
|
-
const De = () => se(), Ae = () => X();
|
892
|
-
function Be(n) {
|
893
|
-
he[n ? "unshift" : "push"](() => {
|
894
|
-
B = n, t(13, B);
|
895
|
-
});
|
896
|
-
}
|
897
|
-
return a.$$set = (n) => {
|
898
|
-
"endpoint" in n && t(0, s = n.endpoint), "datasource" in n && t(27, o = n.datasource), "session" in n && t(28, r = n.session), "userid" in n && t(29, i = n.userid), "lang" in n && t(1, c = n.lang), "clientstyling" in n && t(2, m = n.clientstyling), "clientstylingurl" in n && t(3, u = n.clientstylingurl), "integratedgameframedesktop" in n && t(4, f = n.integratedgameframedesktop), "integratedgameframemobile" in n && t(5, k = n.integratedgameframemobile), "showgamename" in n && t(6, d = n.showgamename), "gamepagemodalurl" in n && t(7, v = n.gamepagemodalurl), "translationurl" in n && t(30, P = n.translationurl), "showfavorites" in n && t(8, x = n.showfavorites), "cancelbutton" in n && t(9, D = n.cancelbutton), "notfoundicon" in n && t(10, U = n.notfoundicon);
|
899
|
-
}, a.$$.update = () => {
|
900
|
-
if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
901
|
-
134223875)
|
902
|
-
if (I.length >= 2) {
|
903
|
-
const n = new URL(`${s}/v1/casino/games`);
|
904
|
-
n.searchParams.append("datasource", o), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", ee(A)), n.searchParams.append("language", c), n.searchParams.append("pagination", "offset=0,limit=30"), n.searchParams.append("filter", `name=${I}`), Le(n).then((g) => {
|
905
|
-
t(14, M = g.items.map((S) => (S.isFavorite = ne(S.id), S)));
|
906
|
-
});
|
907
|
-
} else
|
908
|
-
w || le();
|
909
|
-
a.$$.dirty[0] & /*lang*/
|
910
|
-
2 && c && Ge(), a.$$.dirty[0] & /*translationurl*/
|
911
|
-
1073741824 && P && Ce(), a.$$.dirty[0] & /*session, userid*/
|
912
|
-
805306368 && r && i && je(), a.$$.dirty[0] & /*showfavorites*/
|
913
|
-
256 | a.$$.dirty[1] & /*isLoggedIn*/
|
914
|
-
1 && x && Z && Te(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
915
|
-
8196 && m && B && Ne(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
916
|
-
8200 && u && B && Pe();
|
917
|
-
}, [
|
918
|
-
s,
|
919
|
-
c,
|
920
|
-
m,
|
921
|
-
u,
|
922
|
-
f,
|
923
|
-
k,
|
924
|
-
d,
|
925
|
-
v,
|
926
|
-
x,
|
927
|
-
D,
|
928
|
-
U,
|
929
|
-
I,
|
930
|
-
w,
|
931
|
-
B,
|
932
|
-
M,
|
933
|
-
L,
|
934
|
-
F,
|
935
|
-
G,
|
936
|
-
Y,
|
937
|
-
K,
|
938
|
-
l,
|
939
|
-
A,
|
940
|
-
le,
|
941
|
-
Fe,
|
942
|
-
Ie,
|
943
|
-
X,
|
944
|
-
se,
|
945
|
-
o,
|
946
|
-
r,
|
947
|
-
i,
|
948
|
-
P,
|
949
|
-
Z,
|
950
|
-
xe,
|
951
|
-
Me,
|
952
|
-
De,
|
953
|
-
Ae,
|
954
|
-
Be
|
955
|
-
];
|
956
|
-
}
|
957
|
-
class ct extends Oe {
|
958
|
-
constructor(e) {
|
959
|
-
super(), Ue(
|
960
|
-
this,
|
961
|
-
e,
|
962
|
-
it,
|
963
|
-
rt,
|
964
|
-
Je,
|
965
|
-
{
|
966
|
-
endpoint: 0,
|
967
|
-
datasource: 27,
|
968
|
-
session: 28,
|
969
|
-
userid: 29,
|
970
|
-
lang: 1,
|
971
|
-
clientstyling: 2,
|
972
|
-
clientstylingurl: 3,
|
973
|
-
integratedgameframedesktop: 4,
|
974
|
-
integratedgameframemobile: 5,
|
975
|
-
showgamename: 6,
|
976
|
-
gamepagemodalurl: 7,
|
977
|
-
translationurl: 30,
|
978
|
-
showfavorites: 8,
|
979
|
-
cancelbutton: 9,
|
980
|
-
notfoundicon: 10
|
981
|
-
},
|
982
|
-
tt,
|
983
|
-
[-1, -1]
|
984
|
-
);
|
985
|
-
}
|
986
|
-
get endpoint() {
|
987
|
-
return this.$$.ctx[0];
|
988
|
-
}
|
989
|
-
set endpoint(e) {
|
990
|
-
this.$$set({ endpoint: e }), E();
|
991
|
-
}
|
992
|
-
get datasource() {
|
993
|
-
return this.$$.ctx[27];
|
994
|
-
}
|
995
|
-
set datasource(e) {
|
996
|
-
this.$$set({ datasource: e }), E();
|
997
|
-
}
|
998
|
-
get session() {
|
999
|
-
return this.$$.ctx[28];
|
1000
|
-
}
|
1001
|
-
set session(e) {
|
1002
|
-
this.$$set({ session: e }), E();
|
1003
|
-
}
|
1004
|
-
get userid() {
|
1005
|
-
return this.$$.ctx[29];
|
1006
|
-
}
|
1007
|
-
set userid(e) {
|
1008
|
-
this.$$set({ userid: e }), E();
|
1009
|
-
}
|
1010
|
-
get lang() {
|
1011
|
-
return this.$$.ctx[1];
|
1012
|
-
}
|
1013
|
-
set lang(e) {
|
1014
|
-
this.$$set({ lang: e }), E();
|
1015
|
-
}
|
1016
|
-
get clientstyling() {
|
1017
|
-
return this.$$.ctx[2];
|
1018
|
-
}
|
1019
|
-
set clientstyling(e) {
|
1020
|
-
this.$$set({ clientstyling: e }), E();
|
1021
|
-
}
|
1022
|
-
get clientstylingurl() {
|
1023
|
-
return this.$$.ctx[3];
|
1024
|
-
}
|
1025
|
-
set clientstylingurl(e) {
|
1026
|
-
this.$$set({ clientstylingurl: e }), E();
|
1027
|
-
}
|
1028
|
-
get integratedgameframedesktop() {
|
1029
|
-
return this.$$.ctx[4];
|
1030
|
-
}
|
1031
|
-
set integratedgameframedesktop(e) {
|
1032
|
-
this.$$set({ integratedgameframedesktop: e }), E();
|
1033
|
-
}
|
1034
|
-
get integratedgameframemobile() {
|
1035
|
-
return this.$$.ctx[5];
|
1036
|
-
}
|
1037
|
-
set integratedgameframemobile(e) {
|
1038
|
-
this.$$set({ integratedgameframemobile: e }), E();
|
1039
|
-
}
|
1040
|
-
get showgamename() {
|
1041
|
-
return this.$$.ctx[6];
|
1042
|
-
}
|
1043
|
-
set showgamename(e) {
|
1044
|
-
this.$$set({ showgamename: e }), E();
|
1045
|
-
}
|
1046
|
-
get gamepagemodalurl() {
|
1047
|
-
return this.$$.ctx[7];
|
1048
|
-
}
|
1049
|
-
set gamepagemodalurl(e) {
|
1050
|
-
this.$$set({ gamepagemodalurl: e }), E();
|
1051
|
-
}
|
1052
|
-
get translationurl() {
|
1053
|
-
return this.$$.ctx[30];
|
1054
|
-
}
|
1055
|
-
set translationurl(e) {
|
1056
|
-
this.$$set({ translationurl: e }), E();
|
1057
|
-
}
|
1058
|
-
get showfavorites() {
|
1059
|
-
return this.$$.ctx[8];
|
1060
|
-
}
|
1061
|
-
set showfavorites(e) {
|
1062
|
-
this.$$set({ showfavorites: e }), E();
|
1063
|
-
}
|
1064
|
-
get cancelbutton() {
|
1065
|
-
return this.$$.ctx[9];
|
1066
|
-
}
|
1067
|
-
set cancelbutton(e) {
|
1068
|
-
this.$$set({ cancelbutton: e }), E();
|
1069
|
-
}
|
1070
|
-
get notfoundicon() {
|
1071
|
-
return this.$$.ctx[10];
|
1072
|
-
}
|
1073
|
-
set notfoundicon(e) {
|
1074
|
-
this.$$set({ notfoundicon: e }), E();
|
1075
|
-
}
|
1076
|
-
}
|
1077
|
-
Ve(ct, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
|
1078
|
-
export {
|
1079
|
-
ct as default
|
1080
|
-
};
|