@everymatrix/casino-lobby 1.94.3 → 1.94.4
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.
- package/components/{CasinoCalendar-BaIZzy3s.js → CasinoCalendar-0WQcNlPu.js} +3 -3
- package/components/{CasinoCalendar-BGqWe_g2.js → CasinoCalendar-2e40gqN6.js} +3 -3
- package/components/{CasinoCalendar-DzlY2eI-.cjs → CasinoCalendar-D3JF6R8D.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-C1T227Kf.js → CasinoCalendarDailyDetails-BkC-bwwX.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-DeeA1Omj.js → CasinoCalendarDailyDetails-CPThT5dV.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-D40FM7Zy.cjs → CasinoCalendarDailyDetails-CcYd9LIR.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BvAZ_vmU.js → CasinoCalendarDailyItem-DUtnEZXx.js} +1 -1
- package/components/{CasinoCalendarDailyItem-CjEswZTf.cjs → CasinoCalendarDailyItem-JaEVZ0_f.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-D5Juyc2J.js → CasinoCalendarDailyItem-QE8Ilmi3.js} +1 -1
- package/components/{CasinoCategoriesSlider-BaOehUVC.cjs → CasinoCategoriesSlider-CKhUoWm4.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BOOaC9tA.js → CasinoCategoriesSlider-D96GYbRZ.js} +2 -2
- package/components/{CasinoCategoriesSlider-BloIOV4Z.js → CasinoCategoriesSlider-DBTdytsO.js} +2 -2
- package/components/{CasinoCollectionsProviders-Cc8rGfLP.js → CasinoCollectionsProviders-BbYa9ATX.js} +1 -1
- package/components/{CasinoCollectionsProviders-B-MVIms1.cjs → CasinoCollectionsProviders-OEiExhcQ.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-DdLcugaW.js → CasinoCollectionsProviders-wJti6Ihy.js} +1 -1
- package/components/{CasinoFavoritesSection-D84PSdtp.js → CasinoFavoritesSection-BQTzQgxZ.js} +2 -2
- package/components/{CasinoFavoritesSection-BOd0ddU3.js → CasinoFavoritesSection-Bxs2CDrn.js} +2 -2
- package/components/{CasinoFavoritesSection-c4tmG2gF.cjs → CasinoFavoritesSection-D-POYGxw.cjs} +1 -1
- package/components/{CasinoFilter-DbEPkczE.js → CasinoFilter-BjKZK5Wn.js} +1 -1
- package/components/{CasinoFilter-DBbiQLWc.js → CasinoFilter-BwUoi6rw.js} +1 -1
- package/components/{CasinoFilter-D7m2S1EC.cjs → CasinoFilter-UtOIVqFh.cjs} +1 -1
- package/components/{CasinoGameThumbnail-C7qYv74Q.js → CasinoGameThumbnail-CQvuKM6C.js} +2 -2
- package/components/{CasinoGameThumbnail-CluSxASn.js → CasinoGameThumbnail-Cc6fWR64.js} +2 -2
- package/components/{CasinoGameThumbnail-xTu9xBZx.cjs → CasinoGameThumbnail-Do9XF2-l.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-CiJ7d-97.js → CasinoGamesCategorySection-CmunfXjd.js} +4 -4
- package/components/{CasinoGamesCategorySection-BXc1vNEC.cjs → CasinoGamesCategorySection-CpGGX0lP.cjs} +2 -2
- package/components/{CasinoGamesCategorySection-gyv9VwqP.js → CasinoGamesCategorySection-Cw7FhP3L.js} +4 -4
- package/components/{CasinoJackpotBanner-jQClSmx5.js → CasinoJackpotBanner-BQg0NyaX.js} +1 -1
- package/components/{CasinoJackpotBanner-IVDXOfQs.js → CasinoJackpotBanner-CmcRZU07.js} +1 -1
- package/components/{CasinoJackpotBanner-CI_5IcOm.cjs → CasinoJackpotBanner-CnFUZSe4.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Sh16rmfM.js → CasinoLastPlayedSection-BgS67YFx.js} +2 -2
- package/components/{CasinoLastPlayedSection-xBJKYuHK.cjs → CasinoLastPlayedSection-DwBr9Azi.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CwjkBzPr.js → CasinoLastPlayedSection-DykvxRkq.js} +2 -2
- package/components/{CasinoLobby-C3wblCto.js → CasinoLobby-BcfCUTmL.js} +2 -2
- package/components/{CasinoLobby-CEpFQ2Lk.js → CasinoLobby-Bsi_ZpY-.js} +2 -2
- package/components/{CasinoLobby-DJwEiZ8f.cjs → CasinoLobby-DeYBdEoa.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-LkVbbznV.js → CasinoMostPlayedSection-CMFG_CJF.js} +2 -2
- package/components/{CasinoMostPlayedSection-D2g7K8AC.cjs → CasinoMostPlayedSection-DCF9OdJl.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BGHxZ7Uh.js → CasinoMostPlayedSection-Dic6FZGg.js} +2 -2
- package/components/{CasinoMyGames-BHrCo6iY.cjs → CasinoMyGames-BA6KiZxK.cjs} +1 -1
- package/components/{CasinoMyGames-44rcHtNJ.js → CasinoMyGames-BkOcZsoN.js} +4 -4
- package/components/{CasinoMyGames-BoCg0qmV.js → CasinoMyGames-YjOetSzR.js} +4 -4
- package/components/{CasinoPage-D3lnLqEm.js → CasinoPage-C7wVdXyK.js} +10 -10
- package/components/{CasinoPage-BDC03Nxf.js → CasinoPage-CeElAVVB.js} +10 -10
- package/components/{CasinoPage-CiCeX1I2.cjs → CasinoPage-D2KMImtW.cjs} +1 -1
- package/components/{CasinoRandomGame-C4SzV70T.js → CasinoRandomGame-CBx1201E.js} +1 -1
- package/components/{CasinoRandomGame-CLLWm1MA.cjs → CasinoRandomGame-DUqLfXs4.cjs} +1 -1
- package/components/{CasinoRandomGame-aq-d1buW.js → CasinoRandomGame-kmqPDltu.js} +1 -1
- package/components/{CasinoSearch-CnY4rSwc.js → CasinoSearch-BKqS_njR.js} +2 -2
- package/components/{CasinoSearch-B8Z70D6H.cjs → CasinoSearch-BqYN1abP.cjs} +1 -1
- package/components/{CasinoSearch-rBNoujCv.js → CasinoSearch-D0VJW-GG.js} +2 -2
- package/components/{CasinoSlider-Cv5FGAc_.js → CasinoSlider-B3SVbfAB.js} +1 -1
- package/components/{CasinoSlider-C6xTm6iL.cjs → CasinoSlider-CiUysh4w.cjs} +1 -1
- package/components/{CasinoSlider-ClCQh4VR.js → CasinoSlider-T9wCjMza.js} +1 -1
- package/components/{CasinoSort-BP3KM02P.js → CasinoSort-CY4FAlC3.js} +1 -1
- package/components/{CasinoSort-DO8WFSwH.cjs → CasinoSort-HlLcDkp1.cjs} +1 -1
- package/components/{CasinoSort-BxZ64Ooq.js → CasinoSort-LF6JbtsT.js} +1 -1
- package/components/CasinoWinners-CmLnQCX9.js +1012 -0
- package/components/{CasinoWinners-BWNhjycP.js → CasinoWinners-Ct2FIrLZ.js} +353 -335
- package/components/CasinoWinners-Dyx6a_cl.cjs +1 -0
- package/components/{GeneralAnimationLoading-BjD4FEWd.cjs → GeneralAnimationLoading-Bp699oaM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DVgd6g54.js → GeneralAnimationLoading-C89lTo-I.js} +1 -1
- package/components/{GeneralAnimationLoading-DzohdpGM.js → GeneralAnimationLoading-CWhghzFD.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoWinners-D34nzMVi.js +0 -994
- package/components/CasinoWinners-DqHK1VL2.cjs +0 -1
|
@@ -0,0 +1,1012 @@
|
|
|
1
|
+
import { a as nn, v as tn, S as rn, i as sn, s as on, f as g, b as ln, n as Ce, d as A, e as N, g as p, h as an, o as cn, A as un, u as ke, k as ue, m as G, I as te, Z as Ee, K as mn, l as a, p as f, M as Q, C as P, a0 as ne, D as me, E as K, F as V, Y as Me, q as dn, r as fn, t as gn, c as hn, $ as bn } from "./CasinoLobby-BcfCUTmL.js";
|
|
2
|
+
function pn(i, e) {
|
|
3
|
+
nn(i, e);
|
|
4
|
+
}
|
|
5
|
+
function yn(i) {
|
|
6
|
+
tn.set(i);
|
|
7
|
+
}
|
|
8
|
+
const wn = {
|
|
9
|
+
en: {
|
|
10
|
+
recentWinners: "Recent Winners",
|
|
11
|
+
topWinners: "Top Winners",
|
|
12
|
+
won: "just won",
|
|
13
|
+
noWinnersMessage: "Currently there are no winners."
|
|
14
|
+
},
|
|
15
|
+
"zh-hk": {
|
|
16
|
+
recentWinners: "最近的获奖者",
|
|
17
|
+
topWinners: "最佳获奖者",
|
|
18
|
+
won: "刚赢",
|
|
19
|
+
noWinnersMessage: "現在暫時沒有贏家!"
|
|
20
|
+
},
|
|
21
|
+
de: {
|
|
22
|
+
recentWinners: "Kürzliche Gewinner",
|
|
23
|
+
topWinners: "Top Gewinner",
|
|
24
|
+
won: "Eben gewonnen",
|
|
25
|
+
noWinnersMessage: "Zurzeit gibt es keine Gewinner!"
|
|
26
|
+
},
|
|
27
|
+
it: {
|
|
28
|
+
recentWinners: "Recent Winners",
|
|
29
|
+
topWinners: "Top Winners",
|
|
30
|
+
won: "just won",
|
|
31
|
+
noWinnersMessage: "Non ci sono vincitori al momento!"
|
|
32
|
+
},
|
|
33
|
+
fr: {
|
|
34
|
+
recentWinners: "Gagnants récents",
|
|
35
|
+
topWinners: "Meilleurs gagnants",
|
|
36
|
+
won: "vient de gagner",
|
|
37
|
+
noWinnersMessage: "Il n’y a pas de gagnants pour le moment !"
|
|
38
|
+
},
|
|
39
|
+
es: {
|
|
40
|
+
recentWinners: "Ganadores Recientes",
|
|
41
|
+
topWinners: "Ganadores Top",
|
|
42
|
+
won: "Últimos Ganadores",
|
|
43
|
+
noWinnersMessage: "No hay ganadores en este momento."
|
|
44
|
+
},
|
|
45
|
+
el: {
|
|
46
|
+
recentWinners: "Πρόσφατοι νικητές",
|
|
47
|
+
topWinners: "Κορυφαίοι νικητές",
|
|
48
|
+
won: "μόλις κέρδισε",
|
|
49
|
+
noWinnersMessage: "Δεν υπάρχουν νικητές αυτή τη στιγμή!"
|
|
50
|
+
},
|
|
51
|
+
tr: {
|
|
52
|
+
recentWinners: "Son Kazananlar",
|
|
53
|
+
topWinners: "En Çok Kazananlar",
|
|
54
|
+
won: "Sadece kazandı",
|
|
55
|
+
noWinnersMessage: "Şu anda kazanan yok!"
|
|
56
|
+
},
|
|
57
|
+
ru: {
|
|
58
|
+
recentWinners: "Recent Winners",
|
|
59
|
+
topWinners: "Top Winners",
|
|
60
|
+
won: "just won",
|
|
61
|
+
noWinnersMessage: "В данный момент нет победителей!"
|
|
62
|
+
},
|
|
63
|
+
ro: {
|
|
64
|
+
recentWinners: "Ultimii câștigători",
|
|
65
|
+
topWinners: "Câștigători de top",
|
|
66
|
+
won: "tocmai a câștigat",
|
|
67
|
+
noWinnersMessage: "Nu există câștigători în acest moment!"
|
|
68
|
+
},
|
|
69
|
+
hr: {
|
|
70
|
+
recentWinners: "Nedavni dobitnici",
|
|
71
|
+
topWinners: "Top dobitnici",
|
|
72
|
+
won: "upravo osvojio",
|
|
73
|
+
noWinnersMessage: "Trenutno nema pobjednika!"
|
|
74
|
+
},
|
|
75
|
+
hu: {
|
|
76
|
+
recentWinners: "Legutóbbi nyertesek",
|
|
77
|
+
topWinners: "Top nyertesek",
|
|
78
|
+
won: "Nyert",
|
|
79
|
+
noWinnersMessage: "Jelenleg nincsenek nyertesek!"
|
|
80
|
+
},
|
|
81
|
+
pl: {
|
|
82
|
+
recentWinners: "Recent Winners",
|
|
83
|
+
topWinners: "Top Winners",
|
|
84
|
+
won: "just won",
|
|
85
|
+
noWinnersMessage: "There are no winners at the moment!"
|
|
86
|
+
},
|
|
87
|
+
pt: {
|
|
88
|
+
recentWinners: "Recent Winners",
|
|
89
|
+
topWinners: "Top Winners",
|
|
90
|
+
won: "just won",
|
|
91
|
+
noWinnersMessage: "Obecnie nie ma żadnych zwycięzców!"
|
|
92
|
+
},
|
|
93
|
+
sl: {
|
|
94
|
+
recentWinners: "Recent Winners",
|
|
95
|
+
topWinners: "Top Winners",
|
|
96
|
+
won: "just won",
|
|
97
|
+
noWinnersMessage: "Trenutno nema pobednika!"
|
|
98
|
+
},
|
|
99
|
+
sr: {
|
|
100
|
+
recentWinners: "Recent Winners",
|
|
101
|
+
topWinners: "Top Winners",
|
|
102
|
+
won: "just won",
|
|
103
|
+
noWinnersMessage: "There are no winners at the moment!"
|
|
104
|
+
},
|
|
105
|
+
"pt-br": {
|
|
106
|
+
recentWinners: "Vencedores recentes",
|
|
107
|
+
topWinners: "Principais vencedores",
|
|
108
|
+
won: "acabei de ganhar",
|
|
109
|
+
noWinnersMessage: "Não há vencedores no momento!"
|
|
110
|
+
},
|
|
111
|
+
"es-mx": {
|
|
112
|
+
recentWinners: "Ganadores recientes",
|
|
113
|
+
topWinners: "Mejores Ganadores",
|
|
114
|
+
won: "recién gano",
|
|
115
|
+
noWinnersMessage: "No hay ganadores en este momento."
|
|
116
|
+
},
|
|
117
|
+
"en-us": {
|
|
118
|
+
recentWinners: "Recent Winners",
|
|
119
|
+
topWinners: "Top Winners",
|
|
120
|
+
won: "just won",
|
|
121
|
+
noWinnersMessage: "Currently there are no winners."
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
function Wn(i, e, n) {
|
|
125
|
+
return window.emMessageBus && (e = window.emMessageBus.subscribe(i, n)), e;
|
|
126
|
+
}
|
|
127
|
+
if (typeof window < "u") {
|
|
128
|
+
let i = function(e) {
|
|
129
|
+
return function(...n) {
|
|
130
|
+
try {
|
|
131
|
+
return e.apply(this, n);
|
|
132
|
+
} catch (r) {
|
|
133
|
+
if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
134
|
+
return !1;
|
|
135
|
+
throw r;
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
customElements.define = i(customElements.define), import("./GeneralAnimationLoading-CWhghzFD.js").then(({ default: e }) => {
|
|
140
|
+
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", e.element);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
function _n(i) {
|
|
144
|
+
ln(i, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
|
|
145
|
+
}
|
|
146
|
+
function Fe(i, e, n) {
|
|
147
|
+
const r = i.slice();
|
|
148
|
+
return r[76] = e[n], r;
|
|
149
|
+
}
|
|
150
|
+
function Se(i, e, n) {
|
|
151
|
+
const r = i.slice();
|
|
152
|
+
return r[79] = e[n], r;
|
|
153
|
+
}
|
|
154
|
+
function vn(i) {
|
|
155
|
+
let e, n, r, s, o, l, d, u, y, O, S, w, _, E, C, R, z, L, B, M = te(
|
|
156
|
+
/*tabs*/
|
|
157
|
+
i[16]
|
|
158
|
+
), h = [];
|
|
159
|
+
for (let c = 0; c < M.length; c += 1)
|
|
160
|
+
h[c] = Ae(Se(i, M, c));
|
|
161
|
+
function x(c, b) {
|
|
162
|
+
return (
|
|
163
|
+
/*isLoadingDelayed*/
|
|
164
|
+
c[17] ? Mn : kn
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
let T = x(i), W = T(i);
|
|
168
|
+
return {
|
|
169
|
+
c() {
|
|
170
|
+
e = p("div"), n = p("div"), r = p("div");
|
|
171
|
+
for (let c = 0; c < h.length; c += 1)
|
|
172
|
+
h[c].c();
|
|
173
|
+
s = P(), o = p("div"), l = p("button"), d = ne("svg"), u = ne("path"), O = P(), S = p("button"), w = ne("svg"), _ = ne("path"), R = P(), W.c(), a(r, "class", "WinnerButtonsContainer"), a(u, "style", y = /*numberOfVisibleSlides*/
|
|
174
|
+
i[11] >= /*winners*/
|
|
175
|
+
i[10].length ? "fill:#F6F6F62E" : ""), a(u, "id", "Path_36"), a(u, "data-name", "Path 36"), a(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(u, "transform", "translate(14.656 0) rotate(90)"), a(u, "fill", "#fff"), a(d, "id", "Component_46_2"), a(d, "data-name", "Component 46 – 2"), a(d, "xmlns", "http://www.w3.org/2000/svg"), a(d, "width", "15"), a(d, "height", "15"), a(d, "viewBox", "0 0 16 24.656"), a(l, "class", "SliderButton"), a(_, "style", E = /*numberOfVisibleSlides*/
|
|
176
|
+
i[11] >= /*winners*/
|
|
177
|
+
i[10].length ? "fill:#F6F6F62E" : ""), a(_, "id", "Path_36"), a(_, "data-name", "Path 36"), a(_, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(_, "transform", "translate(0 24.656) rotate(-90)"), a(_, "fill", "#fff"), a(w, "id", "Component_46_2"), a(w, "data-name", "Component 46 – 2"), a(w, "xmlns", "http://www.w3.org/2000/svg"), a(w, "width", "15"), a(w, "height", "15"), a(w, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(o, "class", C = "ButtonsContainer " + /*enableautoscroll*/
|
|
178
|
+
(i[4] == "true" ? "ButtonsContainerNone" : "")), a(n, "class", "WinnersHeader"), a(e, "class", z = "CasinoWinners " + /*mobile*/
|
|
179
|
+
(i[12] ? "Mobile" : ""));
|
|
180
|
+
},
|
|
181
|
+
m(c, b) {
|
|
182
|
+
N(c, e, b), f(e, n), f(n, r);
|
|
183
|
+
for (let m = 0; m < h.length; m += 1)
|
|
184
|
+
h[m] && h[m].m(r, null);
|
|
185
|
+
f(n, s), f(n, o), f(o, l), f(l, d), f(d, u), f(o, O), f(o, S), f(S, w), f(w, _), f(e, R), W.m(e, null), L || (B = [
|
|
186
|
+
Q(
|
|
187
|
+
l,
|
|
188
|
+
"click",
|
|
189
|
+
/*click_handler_2*/
|
|
190
|
+
i[49]
|
|
191
|
+
),
|
|
192
|
+
Q(
|
|
193
|
+
S,
|
|
194
|
+
"click",
|
|
195
|
+
/*click_handler_3*/
|
|
196
|
+
i[50]
|
|
197
|
+
)
|
|
198
|
+
], L = !0);
|
|
199
|
+
},
|
|
200
|
+
p(c, b) {
|
|
201
|
+
if (b[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
|
|
202
|
+
852483) {
|
|
203
|
+
M = te(
|
|
204
|
+
/*tabs*/
|
|
205
|
+
c[16]
|
|
206
|
+
);
|
|
207
|
+
let m;
|
|
208
|
+
for (m = 0; m < M.length; m += 1) {
|
|
209
|
+
const D = Se(c, M, m);
|
|
210
|
+
h[m] ? h[m].p(D, b) : (h[m] = Ae(D), h[m].c(), h[m].m(r, null));
|
|
211
|
+
}
|
|
212
|
+
for (; m < h.length; m += 1)
|
|
213
|
+
h[m].d(1);
|
|
214
|
+
h.length = M.length;
|
|
215
|
+
}
|
|
216
|
+
b[0] & /*numberOfVisibleSlides, winners*/
|
|
217
|
+
3072 && y !== (y = /*numberOfVisibleSlides*/
|
|
218
|
+
c[11] >= /*winners*/
|
|
219
|
+
c[10].length ? "fill:#F6F6F62E" : "") && a(u, "style", y), b[0] & /*numberOfVisibleSlides, winners*/
|
|
220
|
+
3072 && E !== (E = /*numberOfVisibleSlides*/
|
|
221
|
+
c[11] >= /*winners*/
|
|
222
|
+
c[10].length ? "fill:#F6F6F62E" : "") && a(_, "style", E), b[0] & /*enableautoscroll*/
|
|
223
|
+
16 && C !== (C = "ButtonsContainer " + /*enableautoscroll*/
|
|
224
|
+
(c[4] == "true" ? "ButtonsContainerNone" : "")) && a(o, "class", C), T === (T = x(c)) && W ? W.p(c, b) : (W.d(1), W = T(c), W && (W.c(), W.m(e, null))), b[0] & /*mobile*/
|
|
225
|
+
4096 && z !== (z = "CasinoWinners " + /*mobile*/
|
|
226
|
+
(c[12] ? "Mobile" : "")) && a(e, "class", z);
|
|
227
|
+
},
|
|
228
|
+
d(c) {
|
|
229
|
+
c && A(e), Ee(h, c), W.d(), L = !1, mn(B);
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
function Cn(i) {
|
|
234
|
+
let e;
|
|
235
|
+
return {
|
|
236
|
+
c() {
|
|
237
|
+
e = p("general-animation-loading"), G(
|
|
238
|
+
e,
|
|
239
|
+
"clientstyling",
|
|
240
|
+
/*clientstyling*/
|
|
241
|
+
i[2]
|
|
242
|
+
), G(
|
|
243
|
+
e,
|
|
244
|
+
"clientstylingurl",
|
|
245
|
+
/*clientstylingurl*/
|
|
246
|
+
i[3]
|
|
247
|
+
);
|
|
248
|
+
},
|
|
249
|
+
m(n, r) {
|
|
250
|
+
N(n, e, r);
|
|
251
|
+
},
|
|
252
|
+
p(n, r) {
|
|
253
|
+
r[0] & /*clientstyling*/
|
|
254
|
+
4 && G(
|
|
255
|
+
e,
|
|
256
|
+
"clientstyling",
|
|
257
|
+
/*clientstyling*/
|
|
258
|
+
n[2]
|
|
259
|
+
), r[0] & /*clientstylingurl*/
|
|
260
|
+
8 && G(
|
|
261
|
+
e,
|
|
262
|
+
"clientstylingurl",
|
|
263
|
+
/*clientstylingurl*/
|
|
264
|
+
n[3]
|
|
265
|
+
);
|
|
266
|
+
},
|
|
267
|
+
d(n) {
|
|
268
|
+
n && A(e);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
function Be(i) {
|
|
273
|
+
let e, n = (
|
|
274
|
+
/*isrecentavailable*/
|
|
275
|
+
i[0] === "true" && xe(i)
|
|
276
|
+
);
|
|
277
|
+
return {
|
|
278
|
+
c() {
|
|
279
|
+
n && n.c(), e = me();
|
|
280
|
+
},
|
|
281
|
+
m(r, s) {
|
|
282
|
+
n && n.m(r, s), N(r, e, s);
|
|
283
|
+
},
|
|
284
|
+
p(r, s) {
|
|
285
|
+
/*isrecentavailable*/
|
|
286
|
+
r[0] === "true" ? n ? n.p(r, s) : (n = xe(r), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null);
|
|
287
|
+
},
|
|
288
|
+
d(r) {
|
|
289
|
+
r && A(e), n && n.d(r);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
function xe(i) {
|
|
294
|
+
let e, n = (
|
|
295
|
+
/*$_*/
|
|
296
|
+
i[18]("recentWinners") + ""
|
|
297
|
+
), r, s, o, l;
|
|
298
|
+
return {
|
|
299
|
+
c() {
|
|
300
|
+
e = p("button"), r = V(n), a(e, "class", s = "WinnersButton " + /*winnersType*/
|
|
301
|
+
(i[9] == "recent" ? "Active" : ""));
|
|
302
|
+
},
|
|
303
|
+
m(d, u) {
|
|
304
|
+
N(d, e, u), f(e, r), o || (l = Q(
|
|
305
|
+
e,
|
|
306
|
+
"click",
|
|
307
|
+
/*click_handler*/
|
|
308
|
+
i[47]
|
|
309
|
+
), o = !0);
|
|
310
|
+
},
|
|
311
|
+
p(d, u) {
|
|
312
|
+
u[0] & /*$_*/
|
|
313
|
+
262144 && n !== (n = /*$_*/
|
|
314
|
+
d[18]("recentWinners") + "") && K(r, n), u[0] & /*winnersType*/
|
|
315
|
+
512 && s !== (s = "WinnersButton " + /*winnersType*/
|
|
316
|
+
(d[9] == "recent" ? "Active" : "")) && a(e, "class", s);
|
|
317
|
+
},
|
|
318
|
+
d(d) {
|
|
319
|
+
d && A(e), o = !1, l();
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
function Te(i) {
|
|
324
|
+
let e, n = (
|
|
325
|
+
/*$_*/
|
|
326
|
+
i[18]("topWinners") + ""
|
|
327
|
+
), r, s, o, l, d;
|
|
328
|
+
return {
|
|
329
|
+
c() {
|
|
330
|
+
e = p("button"), r = V(n), s = P(), a(e, "class", o = "WinnersButton " + /*winnersType*/
|
|
331
|
+
(i[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
|
|
332
|
+
(i[1] == "false" ? "Off" : ""));
|
|
333
|
+
},
|
|
334
|
+
m(u, y) {
|
|
335
|
+
N(u, e, y), f(e, r), f(e, s), l || (d = Q(
|
|
336
|
+
e,
|
|
337
|
+
"click",
|
|
338
|
+
/*click_handler_1*/
|
|
339
|
+
i[48]
|
|
340
|
+
), l = !0);
|
|
341
|
+
},
|
|
342
|
+
p(u, y) {
|
|
343
|
+
y[0] & /*$_*/
|
|
344
|
+
262144 && n !== (n = /*$_*/
|
|
345
|
+
u[18]("topWinners") + "") && K(r, n), y[0] & /*winnersType, istopavailable*/
|
|
346
|
+
514 && o !== (o = "WinnersButton " + /*winnersType*/
|
|
347
|
+
(u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
|
|
348
|
+
(u[1] == "false" ? "Off" : "")) && a(e, "class", o);
|
|
349
|
+
},
|
|
350
|
+
d(u) {
|
|
351
|
+
u && A(e), l = !1, d();
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
function Ae(i) {
|
|
356
|
+
let e, n, r = (
|
|
357
|
+
/*tab*/
|
|
358
|
+
i[79] == "recent" && Be(i)
|
|
359
|
+
), s = (
|
|
360
|
+
/*tab*/
|
|
361
|
+
i[79] == "top" && Te(i)
|
|
362
|
+
);
|
|
363
|
+
return {
|
|
364
|
+
c() {
|
|
365
|
+
r && r.c(), e = P(), s && s.c(), n = me();
|
|
366
|
+
},
|
|
367
|
+
m(o, l) {
|
|
368
|
+
r && r.m(o, l), N(o, e, l), s && s.m(o, l), N(o, n, l);
|
|
369
|
+
},
|
|
370
|
+
p(o, l) {
|
|
371
|
+
/*tab*/
|
|
372
|
+
o[79] == "recent" ? r ? r.p(o, l) : (r = Be(o), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*tab*/
|
|
373
|
+
o[79] == "top" ? s ? s.p(o, l) : (s = Te(o), s.c(), s.m(n.parentNode, n)) : s && (s.d(1), s = null);
|
|
374
|
+
},
|
|
375
|
+
d(o) {
|
|
376
|
+
o && (A(e), A(n)), r && r.d(o), s && s.d(o);
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
function kn(i) {
|
|
381
|
+
let e;
|
|
382
|
+
function n(o, l) {
|
|
383
|
+
return (
|
|
384
|
+
/*winners*/
|
|
385
|
+
o[10].length !== 0 ? Sn : Fn
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
let r = n(i), s = r(i);
|
|
389
|
+
return {
|
|
390
|
+
c() {
|
|
391
|
+
e = p("div"), s.c(), a(e, "class", "WinnersSlider");
|
|
392
|
+
},
|
|
393
|
+
m(o, l) {
|
|
394
|
+
N(o, e, l), s.m(e, null), i[53](e);
|
|
395
|
+
},
|
|
396
|
+
p(o, l) {
|
|
397
|
+
r === (r = n(o)) && s ? s.p(o, l) : (s.d(1), s = r(o), s && (s.c(), s.m(e, null)));
|
|
398
|
+
},
|
|
399
|
+
d(o) {
|
|
400
|
+
o && A(e), s.d(), i[53](null);
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
function Mn(i) {
|
|
405
|
+
let e;
|
|
406
|
+
return {
|
|
407
|
+
c() {
|
|
408
|
+
e = p("general-animation-loading"), G(
|
|
409
|
+
e,
|
|
410
|
+
"clientstyling",
|
|
411
|
+
/*clientstyling*/
|
|
412
|
+
i[2]
|
|
413
|
+
), G(
|
|
414
|
+
e,
|
|
415
|
+
"clientstylingurl",
|
|
416
|
+
/*clientstylingurl*/
|
|
417
|
+
i[3]
|
|
418
|
+
), G(
|
|
419
|
+
e,
|
|
420
|
+
"mbsource",
|
|
421
|
+
/*mbsource*/
|
|
422
|
+
i[5]
|
|
423
|
+
);
|
|
424
|
+
},
|
|
425
|
+
m(n, r) {
|
|
426
|
+
N(n, e, r);
|
|
427
|
+
},
|
|
428
|
+
p(n, r) {
|
|
429
|
+
r[0] & /*clientstyling*/
|
|
430
|
+
4 && G(
|
|
431
|
+
e,
|
|
432
|
+
"clientstyling",
|
|
433
|
+
/*clientstyling*/
|
|
434
|
+
n[2]
|
|
435
|
+
), r[0] & /*clientstylingurl*/
|
|
436
|
+
8 && G(
|
|
437
|
+
e,
|
|
438
|
+
"clientstylingurl",
|
|
439
|
+
/*clientstylingurl*/
|
|
440
|
+
n[3]
|
|
441
|
+
), r[0] & /*mbsource*/
|
|
442
|
+
32 && G(
|
|
443
|
+
e,
|
|
444
|
+
"mbsource",
|
|
445
|
+
/*mbsource*/
|
|
446
|
+
n[5]
|
|
447
|
+
);
|
|
448
|
+
},
|
|
449
|
+
d(n) {
|
|
450
|
+
n && A(e);
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
function Fn(i) {
|
|
455
|
+
let e, n = (
|
|
456
|
+
/*$_*/
|
|
457
|
+
i[18]("noWinnersMessage") + ""
|
|
458
|
+
), r;
|
|
459
|
+
return {
|
|
460
|
+
c() {
|
|
461
|
+
e = p("p"), r = V(n), a(e, "class", "NoWinnersMessage");
|
|
462
|
+
},
|
|
463
|
+
m(s, o) {
|
|
464
|
+
N(s, e, o), f(e, r);
|
|
465
|
+
},
|
|
466
|
+
p(s, o) {
|
|
467
|
+
o[0] & /*$_*/
|
|
468
|
+
262144 && n !== (n = /*$_*/
|
|
469
|
+
s[18]("noWinnersMessage") + "") && K(r, n);
|
|
470
|
+
},
|
|
471
|
+
d(s) {
|
|
472
|
+
s && A(e);
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
function Sn(i) {
|
|
477
|
+
let e, n = te(
|
|
478
|
+
/*winners*/
|
|
479
|
+
i[10]
|
|
480
|
+
), r = [];
|
|
481
|
+
for (let s = 0; s < n.length; s += 1)
|
|
482
|
+
r[s] = Ne(Fe(i, n, s));
|
|
483
|
+
return {
|
|
484
|
+
c() {
|
|
485
|
+
for (let s = 0; s < r.length; s += 1)
|
|
486
|
+
r[s].c();
|
|
487
|
+
e = me();
|
|
488
|
+
},
|
|
489
|
+
m(s, o) {
|
|
490
|
+
for (let l = 0; l < r.length; l += 1)
|
|
491
|
+
r[l] && r[l].m(s, o);
|
|
492
|
+
N(s, e, o);
|
|
493
|
+
},
|
|
494
|
+
p(s, o) {
|
|
495
|
+
if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
|
|
496
|
+
20219136) {
|
|
497
|
+
n = te(
|
|
498
|
+
/*winners*/
|
|
499
|
+
s[10]
|
|
500
|
+
);
|
|
501
|
+
let l;
|
|
502
|
+
for (l = 0; l < n.length; l += 1) {
|
|
503
|
+
const d = Fe(s, n, l);
|
|
504
|
+
r[l] ? r[l].p(d, o) : (r[l] = Ne(d), r[l].c(), r[l].m(e.parentNode, e));
|
|
505
|
+
}
|
|
506
|
+
for (; l < r.length; l += 1)
|
|
507
|
+
r[l].d(1);
|
|
508
|
+
r.length = n.length;
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
d(s) {
|
|
512
|
+
s && A(e), Ee(r, s);
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
function Ne(i) {
|
|
517
|
+
let e, n, r, s, o, l, d, u = (
|
|
518
|
+
/*winner*/
|
|
519
|
+
i[76].gameName + ""
|
|
520
|
+
), y, O, S, w = (
|
|
521
|
+
/*maskUsername*/
|
|
522
|
+
i[20](
|
|
523
|
+
/*winner*/
|
|
524
|
+
i[76].username
|
|
525
|
+
) + ""
|
|
526
|
+
), _, E, C, R = (
|
|
527
|
+
/*$_*/
|
|
528
|
+
i[18]("won") + ""
|
|
529
|
+
), z, L, B, M = (
|
|
530
|
+
/*getAmount*/
|
|
531
|
+
i[24](
|
|
532
|
+
/*winner*/
|
|
533
|
+
i[76].specifiedCurrencyAmount
|
|
534
|
+
) + ""
|
|
535
|
+
), h, x, T, W;
|
|
536
|
+
function c() {
|
|
537
|
+
return (
|
|
538
|
+
/*click_handler_4*/
|
|
539
|
+
i[51](
|
|
540
|
+
/*winner*/
|
|
541
|
+
i[76]
|
|
542
|
+
)
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
return {
|
|
546
|
+
c() {
|
|
547
|
+
e = p("div"), n = p("div"), r = p("img"), l = P(), d = p("p"), y = V(u), O = P(), S = p("p"), _ = V(w), E = P(), C = p("p"), z = V(R), L = P(), B = p("p"), h = P(), Me(r.src, s = /*winner*/
|
|
548
|
+
i[76]?.gameModel?.thumbnail) || a(r, "src", s), a(r, "alt", o = /*winner*/
|
|
549
|
+
i[76]?.gameModel?.thumbnail), a(r, "class", "WinnersImage"), a(C, "class", "WinnerUsername"), a(B, "class", "WinnerAmount"), a(n, "class", "WinnerCard"), a(e, "class", x = "CardWrapper " + /*addAnimation*/
|
|
550
|
+
(i[15] ? "CardWrapperAnimation" : ""));
|
|
551
|
+
},
|
|
552
|
+
m(b, m) {
|
|
553
|
+
N(b, e, m), f(e, n), f(n, r), f(n, l), f(n, d), f(d, y), f(n, O), f(n, S), f(S, _), f(n, E), f(n, C), f(C, z), f(n, L), f(n, B), B.innerHTML = M, i[52](n), f(e, h), T || (W = Q(r, "click", c), T = !0);
|
|
554
|
+
},
|
|
555
|
+
p(b, m) {
|
|
556
|
+
i = b, m[0] & /*winners*/
|
|
557
|
+
1024 && !Me(r.src, s = /*winner*/
|
|
558
|
+
i[76]?.gameModel?.thumbnail) && a(r, "src", s), m[0] & /*winners*/
|
|
559
|
+
1024 && o !== (o = /*winner*/
|
|
560
|
+
i[76]?.gameModel?.thumbnail) && a(r, "alt", o), m[0] & /*winners*/
|
|
561
|
+
1024 && u !== (u = /*winner*/
|
|
562
|
+
i[76].gameName + "") && K(y, u), m[0] & /*winners*/
|
|
563
|
+
1024 && w !== (w = /*maskUsername*/
|
|
564
|
+
i[20](
|
|
565
|
+
/*winner*/
|
|
566
|
+
i[76].username
|
|
567
|
+
) + "") && K(_, w), m[0] & /*$_*/
|
|
568
|
+
262144 && R !== (R = /*$_*/
|
|
569
|
+
i[18]("won") + "") && K(z, R), m[0] & /*winners*/
|
|
570
|
+
1024 && M !== (M = /*getAmount*/
|
|
571
|
+
i[24](
|
|
572
|
+
/*winner*/
|
|
573
|
+
i[76].specifiedCurrencyAmount
|
|
574
|
+
) + "") && (B.innerHTML = M), m[0] & /*addAnimation*/
|
|
575
|
+
32768 && x !== (x = "CardWrapper " + /*addAnimation*/
|
|
576
|
+
(i[15] ? "CardWrapperAnimation" : "")) && a(e, "class", x);
|
|
577
|
+
},
|
|
578
|
+
d(b) {
|
|
579
|
+
b && A(e), i[52](null), T = !1, W();
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
function Bn(i) {
|
|
584
|
+
let e;
|
|
585
|
+
function n(o, l) {
|
|
586
|
+
return (
|
|
587
|
+
/*isLoading*/
|
|
588
|
+
o[13] || /*isLoadingCustomStyling*/
|
|
589
|
+
o[14] ? Cn : vn
|
|
590
|
+
);
|
|
591
|
+
}
|
|
592
|
+
let r = n(i), s = r(i);
|
|
593
|
+
return {
|
|
594
|
+
c() {
|
|
595
|
+
e = p("div"), s.c();
|
|
596
|
+
},
|
|
597
|
+
m(o, l) {
|
|
598
|
+
N(o, e, l), s.m(e, null), i[54](e);
|
|
599
|
+
},
|
|
600
|
+
p(o, l) {
|
|
601
|
+
r === (r = n(o)) && s ? s.p(o, l) : (s.d(1), s = r(o), s && (s.c(), s.m(e, null)));
|
|
602
|
+
},
|
|
603
|
+
i: Ce,
|
|
604
|
+
o: Ce,
|
|
605
|
+
d(o) {
|
|
606
|
+
o && A(e), s.d(), i[54](null);
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
function xn(i, e, n) {
|
|
611
|
+
let r;
|
|
612
|
+
an(i, bn, (t) => n(18, r = t));
|
|
613
|
+
let { endpoint: s = "" } = e, { session: o = "" } = e, { userid: l = "" } = e, { periodrecent: d = "Today" } = e, { periodtop: u = "Last7Days" } = e, { numberusersrecent: y = "20" } = e, { numberuserstop: O = "20" } = e, { amountlimit: S = "1" } = e, { recentamountlimit: w = "" } = e, { topamountlimit: _ = "" } = e, { vendorCategory: E = "All" } = e, { lang: C = "en" } = e, { isrecentavailable: R = "true" } = e, { istopavailable: z = "true" } = e, { defaultcurrency: L = "" } = e, { usercurrency: B = "" } = e, { customcurrencysymbol: M } = e, { clientstyling: h = "" } = e, { clientstylingurl: x = "" } = e, { enableautoscroll: T = "" } = e, { tabsorder: W = "" } = e, { translationurl: c = "" } = e, { winnersdatasources: b = "" } = e, { hascustomstyling: m = "false" } = e, { mbsource: D } = e, { currencylocale: $ = "" } = e, q, Z, U, H = [], k = 0, F = 0, ze = window.navigator.userAgent, de, Y, ie, I, re = !0, fe = !1, ge = !1, he, ee, se, J, be = [], oe = !1, Le, je;
|
|
614
|
+
const le = (t) => {
|
|
615
|
+
Object.keys(t).forEach((v) => {
|
|
616
|
+
pn(v, t[v]);
|
|
617
|
+
});
|
|
618
|
+
}, Re = () => {
|
|
619
|
+
let t = new URL(c);
|
|
620
|
+
fetch(t.href).then((v) => v.json()).then((v) => {
|
|
621
|
+
le(v);
|
|
622
|
+
}).catch((v) => {
|
|
623
|
+
console.log(v);
|
|
624
|
+
});
|
|
625
|
+
};
|
|
626
|
+
le(wn);
|
|
627
|
+
const pe = () => {
|
|
628
|
+
be = b.split(",").map(function(j) {
|
|
629
|
+
return j.trim();
|
|
630
|
+
});
|
|
631
|
+
const t = new URL(`${s}/v1/casino/${U}-winners`);
|
|
632
|
+
n(17, oe = !0), t.searchParams.append("limit", U == "recent" ? y : O), t.searchParams.append("specifiedCurrency", J), t.searchParams.append("period", U == "recent" ? d : u), t.searchParams.append("language", C);
|
|
633
|
+
const v = (U == "recent" ? w : _) || S;
|
|
634
|
+
t.searchParams.append("amountLimit", v), t.searchParams.append("vendorCategory", E), be.forEach((j) => {
|
|
635
|
+
t.searchParams.append("dataSource", j);
|
|
636
|
+
}), setTimeout(
|
|
637
|
+
() => {
|
|
638
|
+
fetch(t.href).then((j) => j.json()).then(async (j) => {
|
|
639
|
+
n(10, H = []), n(10, H = j.items.map((X) => X)), n(17, oe = !1), await ke(), Pe(), we(), T == "true" && (clearInterval(ee), Ge()), n(13, re = !1), Ie();
|
|
640
|
+
});
|
|
641
|
+
},
|
|
642
|
+
1e3
|
|
643
|
+
);
|
|
644
|
+
}, Ie = () => {
|
|
645
|
+
const t = I.getRootNode().host;
|
|
646
|
+
t.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: t } }));
|
|
647
|
+
}, ae = (t) => {
|
|
648
|
+
U !== t && (n(10, H = []), n(9, U = t), pe());
|
|
649
|
+
}, Oe = (t) => t.slice(0, 2) + t.slice(2, -2).replace(/./g, "*") + t.slice(-2), ye = (t, v, j, X) => {
|
|
650
|
+
window.postMessage(
|
|
651
|
+
{
|
|
652
|
+
type: "OpenCasinoWinnersGame",
|
|
653
|
+
gameId: t,
|
|
654
|
+
launchUrl: v,
|
|
655
|
+
gameName: j,
|
|
656
|
+
subVendor: X
|
|
657
|
+
},
|
|
658
|
+
window.location.href
|
|
659
|
+
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
660
|
+
context: "WinnersWidget",
|
|
661
|
+
gameId: `${t}`,
|
|
662
|
+
userId: `${ie || "Not logged in"}`
|
|
663
|
+
});
|
|
664
|
+
}, we = (t = 0) => {
|
|
665
|
+
const v = [...q.children];
|
|
666
|
+
he = v.length, v.forEach((j, X) => {
|
|
667
|
+
j.style.transform = `translateX(${100 * (X - t)}%)`;
|
|
668
|
+
}), setTimeout(
|
|
669
|
+
() => {
|
|
670
|
+
n(15, ge = !0);
|
|
671
|
+
},
|
|
672
|
+
10
|
|
673
|
+
);
|
|
674
|
+
}, Ge = () => {
|
|
675
|
+
k = 0, F < he ? ee = setInterval(
|
|
676
|
+
() => {
|
|
677
|
+
ce();
|
|
678
|
+
},
|
|
679
|
+
3e3
|
|
680
|
+
) : clearInterval(ee);
|
|
681
|
+
}, We = () => {
|
|
682
|
+
we(k);
|
|
683
|
+
}, Pe = async () => {
|
|
684
|
+
await ke(), requestAnimationFrame(() => {
|
|
685
|
+
const t = Z ? Z.offsetWidth : 0;
|
|
686
|
+
q.offsetWidth && t ? n(11, F = Math.floor(q.offsetWidth / t)) : n(11, F = 0);
|
|
687
|
+
});
|
|
688
|
+
}, _e = () => {
|
|
689
|
+
if (F >= H.length)
|
|
690
|
+
return;
|
|
691
|
+
const t = H.length;
|
|
692
|
+
k === 0 ? k = t - F : k - F < 0 ? k = 0 : k = k - F, We();
|
|
693
|
+
}, ce = () => {
|
|
694
|
+
if (F >= H.length)
|
|
695
|
+
return;
|
|
696
|
+
const t = H.length;
|
|
697
|
+
T == "true" && (k === t - F ? k = 0 : k++), T == "false" && (k === t - F ? k = 0 : t - F < k + F ? k = t - F : k += F), We();
|
|
698
|
+
}, De = () => {
|
|
699
|
+
yn(C);
|
|
700
|
+
}, Ue = () => {
|
|
701
|
+
n(45, Y = !0), ie = l;
|
|
702
|
+
}, ve = () => {
|
|
703
|
+
n(46, J = Y ? B : L);
|
|
704
|
+
}, He = (t) => {
|
|
705
|
+
const v = M ?? (Y ? B : L);
|
|
706
|
+
return `${$ ? Intl.NumberFormat($, {
|
|
707
|
+
minimumFractionDigits: 2,
|
|
708
|
+
maximumFractionDigits: 2,
|
|
709
|
+
style: "currency",
|
|
710
|
+
currency: J
|
|
711
|
+
}).format(t).replace(/\s/g, "") : t.toFixed(2)}<span class="CurrencySymbol">${v}</span>`;
|
|
712
|
+
}, qe = () => {
|
|
713
|
+
m === "true" && (!h && !x && I && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !h && x && n(14, fe = !0));
|
|
714
|
+
}, Ke = () => {
|
|
715
|
+
n(16, se = W.split(",")), n(9, U = se[0]), ve(), n(13, re = !1);
|
|
716
|
+
};
|
|
717
|
+
cn(() => (n(12, de = un(ze)), () => {
|
|
718
|
+
clearInterval(ee);
|
|
719
|
+
}));
|
|
720
|
+
const Ve = () => ae("recent"), Ze = () => ae("top"), Ye = () => _e(), Je = () => ce(), Xe = (t) => ye(t.gameId, t.gameModel.launchUrl, t.gameModel.name, t.gameModel.subVendor);
|
|
721
|
+
function Qe(t) {
|
|
722
|
+
ue[t ? "unshift" : "push"](() => {
|
|
723
|
+
Z = t, n(8, Z);
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
function $e(t) {
|
|
727
|
+
ue[t ? "unshift" : "push"](() => {
|
|
728
|
+
q = t, n(7, q);
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
function en(t) {
|
|
732
|
+
ue[t ? "unshift" : "push"](() => {
|
|
733
|
+
I = t, n(6, I);
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
return i.$$set = (t) => {
|
|
737
|
+
"endpoint" in t && n(25, s = t.endpoint), "session" in t && n(26, o = t.session), "userid" in t && n(27, l = t.userid), "periodrecent" in t && n(28, d = t.periodrecent), "periodtop" in t && n(29, u = t.periodtop), "numberusersrecent" in t && n(30, y = t.numberusersrecent), "numberuserstop" in t && n(31, O = t.numberuserstop), "amountlimit" in t && n(32, S = t.amountlimit), "recentamountlimit" in t && n(33, w = t.recentamountlimit), "topamountlimit" in t && n(34, _ = t.topamountlimit), "vendorCategory" in t && n(35, E = t.vendorCategory), "lang" in t && n(36, C = t.lang), "isrecentavailable" in t && n(0, R = t.isrecentavailable), "istopavailable" in t && n(1, z = t.istopavailable), "defaultcurrency" in t && n(37, L = t.defaultcurrency), "usercurrency" in t && n(38, B = t.usercurrency), "customcurrencysymbol" in t && n(39, M = t.customcurrencysymbol), "clientstyling" in t && n(2, h = t.clientstyling), "clientstylingurl" in t && n(3, x = t.clientstylingurl), "enableautoscroll" in t && n(4, T = t.enableautoscroll), "tabsorder" in t && n(40, W = t.tabsorder), "translationurl" in t && n(41, c = t.translationurl), "winnersdatasources" in t && n(42, b = t.winnersdatasources), "hascustomstyling" in t && n(43, m = t.hascustomstyling), "mbsource" in t && n(5, D = t.mbsource), "currencylocale" in t && n(44, $ = t.currencylocale);
|
|
738
|
+
}, i.$$.update = () => {
|
|
739
|
+
i.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
|
|
740
|
+
1879048195 | i.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
|
|
741
|
+
563 && R && z && d && u && y && O && S && E && C && W && Ke(), i.$$.dirty[0] & /*session*/
|
|
742
|
+
67108864 && o && Ue(), i.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
|
|
743
|
+
16576 && Y && (B || L) && ve(), i.$$.dirty[0] & /*endpoint*/
|
|
744
|
+
33554432 | i.$$.dirty[1] & /*winnersdatasources, currency*/
|
|
745
|
+
34816 && s && b && J && pe(), i.$$.dirty[1] & /*lang*/
|
|
746
|
+
32 && C && De(), i.$$.dirty[1] & /*translationurl*/
|
|
747
|
+
1024 && c && Re(), i.$$.dirty[0] & /*mbsource*/
|
|
748
|
+
32 | i.$$.dirty[1] & /*translationurl*/
|
|
749
|
+
1024 && D && !c && Wn(`${D}.Translation`, je, le), i.$$.dirty[1] & /*hascustomstyling*/
|
|
750
|
+
4096 && m && qe(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
751
|
+
68 && h && I && dn(I, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
752
|
+
72 && x && I && fn(I, x), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
753
|
+
96 && I && gn(I, `${D}.Style`, Le);
|
|
754
|
+
}, [
|
|
755
|
+
R,
|
|
756
|
+
z,
|
|
757
|
+
h,
|
|
758
|
+
x,
|
|
759
|
+
T,
|
|
760
|
+
D,
|
|
761
|
+
I,
|
|
762
|
+
q,
|
|
763
|
+
Z,
|
|
764
|
+
U,
|
|
765
|
+
H,
|
|
766
|
+
F,
|
|
767
|
+
de,
|
|
768
|
+
re,
|
|
769
|
+
fe,
|
|
770
|
+
ge,
|
|
771
|
+
se,
|
|
772
|
+
oe,
|
|
773
|
+
r,
|
|
774
|
+
ae,
|
|
775
|
+
Oe,
|
|
776
|
+
ye,
|
|
777
|
+
_e,
|
|
778
|
+
ce,
|
|
779
|
+
He,
|
|
780
|
+
s,
|
|
781
|
+
o,
|
|
782
|
+
l,
|
|
783
|
+
d,
|
|
784
|
+
u,
|
|
785
|
+
y,
|
|
786
|
+
O,
|
|
787
|
+
S,
|
|
788
|
+
w,
|
|
789
|
+
_,
|
|
790
|
+
E,
|
|
791
|
+
C,
|
|
792
|
+
L,
|
|
793
|
+
B,
|
|
794
|
+
M,
|
|
795
|
+
W,
|
|
796
|
+
c,
|
|
797
|
+
b,
|
|
798
|
+
m,
|
|
799
|
+
$,
|
|
800
|
+
Y,
|
|
801
|
+
J,
|
|
802
|
+
Ve,
|
|
803
|
+
Ze,
|
|
804
|
+
Ye,
|
|
805
|
+
Je,
|
|
806
|
+
Xe,
|
|
807
|
+
Qe,
|
|
808
|
+
$e,
|
|
809
|
+
en
|
|
810
|
+
];
|
|
811
|
+
}
|
|
812
|
+
class Tn extends rn {
|
|
813
|
+
constructor(e) {
|
|
814
|
+
super(), sn(
|
|
815
|
+
this,
|
|
816
|
+
e,
|
|
817
|
+
xn,
|
|
818
|
+
Bn,
|
|
819
|
+
on,
|
|
820
|
+
{
|
|
821
|
+
endpoint: 25,
|
|
822
|
+
session: 26,
|
|
823
|
+
userid: 27,
|
|
824
|
+
periodrecent: 28,
|
|
825
|
+
periodtop: 29,
|
|
826
|
+
numberusersrecent: 30,
|
|
827
|
+
numberuserstop: 31,
|
|
828
|
+
amountlimit: 32,
|
|
829
|
+
recentamountlimit: 33,
|
|
830
|
+
topamountlimit: 34,
|
|
831
|
+
vendorCategory: 35,
|
|
832
|
+
lang: 36,
|
|
833
|
+
isrecentavailable: 0,
|
|
834
|
+
istopavailable: 1,
|
|
835
|
+
defaultcurrency: 37,
|
|
836
|
+
usercurrency: 38,
|
|
837
|
+
customcurrencysymbol: 39,
|
|
838
|
+
clientstyling: 2,
|
|
839
|
+
clientstylingurl: 3,
|
|
840
|
+
enableautoscroll: 4,
|
|
841
|
+
tabsorder: 40,
|
|
842
|
+
translationurl: 41,
|
|
843
|
+
winnersdatasources: 42,
|
|
844
|
+
hascustomstyling: 43,
|
|
845
|
+
mbsource: 5,
|
|
846
|
+
currencylocale: 44
|
|
847
|
+
},
|
|
848
|
+
_n,
|
|
849
|
+
[-1, -1, -1]
|
|
850
|
+
);
|
|
851
|
+
}
|
|
852
|
+
get endpoint() {
|
|
853
|
+
return this.$$.ctx[25];
|
|
854
|
+
}
|
|
855
|
+
set endpoint(e) {
|
|
856
|
+
this.$$set({ endpoint: e }), g();
|
|
857
|
+
}
|
|
858
|
+
get session() {
|
|
859
|
+
return this.$$.ctx[26];
|
|
860
|
+
}
|
|
861
|
+
set session(e) {
|
|
862
|
+
this.$$set({ session: e }), g();
|
|
863
|
+
}
|
|
864
|
+
get userid() {
|
|
865
|
+
return this.$$.ctx[27];
|
|
866
|
+
}
|
|
867
|
+
set userid(e) {
|
|
868
|
+
this.$$set({ userid: e }), g();
|
|
869
|
+
}
|
|
870
|
+
get periodrecent() {
|
|
871
|
+
return this.$$.ctx[28];
|
|
872
|
+
}
|
|
873
|
+
set periodrecent(e) {
|
|
874
|
+
this.$$set({ periodrecent: e }), g();
|
|
875
|
+
}
|
|
876
|
+
get periodtop() {
|
|
877
|
+
return this.$$.ctx[29];
|
|
878
|
+
}
|
|
879
|
+
set periodtop(e) {
|
|
880
|
+
this.$$set({ periodtop: e }), g();
|
|
881
|
+
}
|
|
882
|
+
get numberusersrecent() {
|
|
883
|
+
return this.$$.ctx[30];
|
|
884
|
+
}
|
|
885
|
+
set numberusersrecent(e) {
|
|
886
|
+
this.$$set({ numberusersrecent: e }), g();
|
|
887
|
+
}
|
|
888
|
+
get numberuserstop() {
|
|
889
|
+
return this.$$.ctx[31];
|
|
890
|
+
}
|
|
891
|
+
set numberuserstop(e) {
|
|
892
|
+
this.$$set({ numberuserstop: e }), g();
|
|
893
|
+
}
|
|
894
|
+
get amountlimit() {
|
|
895
|
+
return this.$$.ctx[32];
|
|
896
|
+
}
|
|
897
|
+
set amountlimit(e) {
|
|
898
|
+
this.$$set({ amountlimit: e }), g();
|
|
899
|
+
}
|
|
900
|
+
get recentamountlimit() {
|
|
901
|
+
return this.$$.ctx[33];
|
|
902
|
+
}
|
|
903
|
+
set recentamountlimit(e) {
|
|
904
|
+
this.$$set({ recentamountlimit: e }), g();
|
|
905
|
+
}
|
|
906
|
+
get topamountlimit() {
|
|
907
|
+
return this.$$.ctx[34];
|
|
908
|
+
}
|
|
909
|
+
set topamountlimit(e) {
|
|
910
|
+
this.$$set({ topamountlimit: e }), g();
|
|
911
|
+
}
|
|
912
|
+
get vendorCategory() {
|
|
913
|
+
return this.$$.ctx[35];
|
|
914
|
+
}
|
|
915
|
+
set vendorCategory(e) {
|
|
916
|
+
this.$$set({ vendorCategory: e }), g();
|
|
917
|
+
}
|
|
918
|
+
get lang() {
|
|
919
|
+
return this.$$.ctx[36];
|
|
920
|
+
}
|
|
921
|
+
set lang(e) {
|
|
922
|
+
this.$$set({ lang: e }), g();
|
|
923
|
+
}
|
|
924
|
+
get isrecentavailable() {
|
|
925
|
+
return this.$$.ctx[0];
|
|
926
|
+
}
|
|
927
|
+
set isrecentavailable(e) {
|
|
928
|
+
this.$$set({ isrecentavailable: e }), g();
|
|
929
|
+
}
|
|
930
|
+
get istopavailable() {
|
|
931
|
+
return this.$$.ctx[1];
|
|
932
|
+
}
|
|
933
|
+
set istopavailable(e) {
|
|
934
|
+
this.$$set({ istopavailable: e }), g();
|
|
935
|
+
}
|
|
936
|
+
get defaultcurrency() {
|
|
937
|
+
return this.$$.ctx[37];
|
|
938
|
+
}
|
|
939
|
+
set defaultcurrency(e) {
|
|
940
|
+
this.$$set({ defaultcurrency: e }), g();
|
|
941
|
+
}
|
|
942
|
+
get usercurrency() {
|
|
943
|
+
return this.$$.ctx[38];
|
|
944
|
+
}
|
|
945
|
+
set usercurrency(e) {
|
|
946
|
+
this.$$set({ usercurrency: e }), g();
|
|
947
|
+
}
|
|
948
|
+
get customcurrencysymbol() {
|
|
949
|
+
return this.$$.ctx[39];
|
|
950
|
+
}
|
|
951
|
+
set customcurrencysymbol(e) {
|
|
952
|
+
this.$$set({ customcurrencysymbol: e }), g();
|
|
953
|
+
}
|
|
954
|
+
get clientstyling() {
|
|
955
|
+
return this.$$.ctx[2];
|
|
956
|
+
}
|
|
957
|
+
set clientstyling(e) {
|
|
958
|
+
this.$$set({ clientstyling: e }), g();
|
|
959
|
+
}
|
|
960
|
+
get clientstylingurl() {
|
|
961
|
+
return this.$$.ctx[3];
|
|
962
|
+
}
|
|
963
|
+
set clientstylingurl(e) {
|
|
964
|
+
this.$$set({ clientstylingurl: e }), g();
|
|
965
|
+
}
|
|
966
|
+
get enableautoscroll() {
|
|
967
|
+
return this.$$.ctx[4];
|
|
968
|
+
}
|
|
969
|
+
set enableautoscroll(e) {
|
|
970
|
+
this.$$set({ enableautoscroll: e }), g();
|
|
971
|
+
}
|
|
972
|
+
get tabsorder() {
|
|
973
|
+
return this.$$.ctx[40];
|
|
974
|
+
}
|
|
975
|
+
set tabsorder(e) {
|
|
976
|
+
this.$$set({ tabsorder: e }), g();
|
|
977
|
+
}
|
|
978
|
+
get translationurl() {
|
|
979
|
+
return this.$$.ctx[41];
|
|
980
|
+
}
|
|
981
|
+
set translationurl(e) {
|
|
982
|
+
this.$$set({ translationurl: e }), g();
|
|
983
|
+
}
|
|
984
|
+
get winnersdatasources() {
|
|
985
|
+
return this.$$.ctx[42];
|
|
986
|
+
}
|
|
987
|
+
set winnersdatasources(e) {
|
|
988
|
+
this.$$set({ winnersdatasources: e }), g();
|
|
989
|
+
}
|
|
990
|
+
get hascustomstyling() {
|
|
991
|
+
return this.$$.ctx[43];
|
|
992
|
+
}
|
|
993
|
+
set hascustomstyling(e) {
|
|
994
|
+
this.$$set({ hascustomstyling: e }), g();
|
|
995
|
+
}
|
|
996
|
+
get mbsource() {
|
|
997
|
+
return this.$$.ctx[5];
|
|
998
|
+
}
|
|
999
|
+
set mbsource(e) {
|
|
1000
|
+
this.$$set({ mbsource: e }), g();
|
|
1001
|
+
}
|
|
1002
|
+
get currencylocale() {
|
|
1003
|
+
return this.$$.ctx[44];
|
|
1004
|
+
}
|
|
1005
|
+
set currencylocale(e) {
|
|
1006
|
+
this.$$set({ currencylocale: e }), g();
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
hn(Tn, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, recentamountlimit: {}, topamountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
|
|
1010
|
+
export {
|
|
1011
|
+
Tn as default
|
|
1012
|
+
};
|