@everymatrix/player-account-controller 1.64.7 → 1.64.8
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/{PlayerAccountController-ZhPM48bD.cjs → PlayerAccountController-BVNVN1oI.cjs} +1 -1
- package/components/{PlayerAccountController-D3ijwTMy.js → PlayerAccountController-BccdIz3_.js} +3 -3
- package/components/{PlayerAccountController-BwMtArTF.js → PlayerAccountController-UzsiXAe-.js} +3 -3
- package/components/{PlayerBonusHistory-DzHpQcXW.js → PlayerBonusHistory-COOdhWKq.js} +292 -285
- package/components/{PlayerBonusHistory-BE8tXKlu.js → PlayerBonusHistory-D1a49F4D.js} +326 -317
- package/components/PlayerBonusHistory-WqNxjyOR.cjs +1 -0
- package/components/PlayerGamingHistory-Cufl7bTL.js +975 -0
- package/components/PlayerGamingHistory-DQs-t446.cjs +1 -0
- package/components/PlayerGamingHistory-DWryp2Xi.js +988 -0
- package/components/PlayerProfileInfo-5JHImDnc.js +2419 -0
- package/components/PlayerProfileInfo-Cdv7SUqU.cjs +4 -0
- package/components/PlayerProfileInfo-D2IvTGWg.js +2383 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/components/PlayerBonusHistory-BVlVMBRb.cjs +0 -1
- package/components/PlayerGamingHistory-7-nlWdAn.js +0 -979
- package/components/PlayerGamingHistory-BgXf3USX.js +0 -966
- package/components/PlayerGamingHistory-Dp_pFQIN.cjs +0 -1
- package/components/PlayerProfileInfo-B6mAu_YA.js +0 -2058
- package/components/PlayerProfileInfo-C5-4-WGv.js +0 -2086
- package/components/PlayerProfileInfo-Cc6HVNlU.cjs +0 -1
|
@@ -0,0 +1,988 @@
|
|
|
1
|
+
var We = Object.defineProperty;
|
|
2
|
+
var ke = Object.getOwnPropertySymbols;
|
|
3
|
+
var Be = Object.prototype.hasOwnProperty, Le = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var He = (a, e, t) => e in a ? We(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, De = (a, e) => {
|
|
5
|
+
for (var t in e || (e = {}))
|
|
6
|
+
Be.call(e, t) && He(a, t, e[t]);
|
|
7
|
+
if (ke)
|
|
8
|
+
for (var t of ke(e))
|
|
9
|
+
Le.call(e, t) && He(a, t, e[t]);
|
|
10
|
+
return a;
|
|
11
|
+
};
|
|
12
|
+
import { a as Ne, $ as Oe, S as Ve, i as Ue, s as qe, f as me, b as Ze, n as Fe, d as ie, c as A, e as ee, g as ne, h as r, l as he, j as o, k as x, m as M, o as i, p as Qe, q as Xe, u as Ye, v as oe, O as Ge, P as je, r as ze, T as Ie, W as Je, w as _e, Q as Ke, V as $e, x as et, y as tt, z as at, A as rt, B as it } from "./GeneralLogout-CYE3twI-.js";
|
|
13
|
+
import "./PlayerAccountGamingLimits-BQpQpOUK.js";
|
|
14
|
+
import "./PlayerAccountSelfExclusion-B30asKGL.js";
|
|
15
|
+
import { f as Ee, b as nt } from "./PlayerAccountGamingLimitsGroupEdit-D9wXM6XQ.js";
|
|
16
|
+
function xe(a, e) {
|
|
17
|
+
Ne(a, e);
|
|
18
|
+
}
|
|
19
|
+
function lt(a) {
|
|
20
|
+
Oe.set(a);
|
|
21
|
+
}
|
|
22
|
+
const Se = {
|
|
23
|
+
en: {
|
|
24
|
+
titleGamingHistory: "Gaming History",
|
|
25
|
+
return: "Return",
|
|
26
|
+
previous: "Prev",
|
|
27
|
+
next: "Next",
|
|
28
|
+
dateFrom: "From:",
|
|
29
|
+
dateTo: "To:",
|
|
30
|
+
dateFilter: "Filter",
|
|
31
|
+
numberOfResults: "Show:",
|
|
32
|
+
noRecord: "You haven't played any games so far.",
|
|
33
|
+
transactionId: "Transaction ID",
|
|
34
|
+
date: "Date",
|
|
35
|
+
gameName: "Game Name",
|
|
36
|
+
stake: "Stake",
|
|
37
|
+
InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
|
|
38
|
+
InvalidSession: "Error: Session is expired.",
|
|
39
|
+
genericError: "Something went wrong!"
|
|
40
|
+
},
|
|
41
|
+
"zh-hk": {
|
|
42
|
+
titleGamingHistory: "遊戲歷史",
|
|
43
|
+
return: "回來",
|
|
44
|
+
previous: "上一頁",
|
|
45
|
+
next: "下一個",
|
|
46
|
+
dateFrom: "從:",
|
|
47
|
+
dateTo: "至:",
|
|
48
|
+
dateFilter: "篩選",
|
|
49
|
+
numberOfResults: "節目:",
|
|
50
|
+
noRecord: "到目前為止,您還沒有玩任何遊戲。",
|
|
51
|
+
transactionId: "交易編號",
|
|
52
|
+
date: "日期",
|
|
53
|
+
gameName: "遊戲名稱",
|
|
54
|
+
stake: "賭注",
|
|
55
|
+
InternalError: "错误:开始日期与结束日期之间的差距超过180天",
|
|
56
|
+
InvalidSession: "错误:会话已过期。",
|
|
57
|
+
genericError: "出了些问题!"
|
|
58
|
+
},
|
|
59
|
+
fr: {
|
|
60
|
+
titleGamingHistory: "Historique des jeux",
|
|
61
|
+
return: "Revenir",
|
|
62
|
+
previous: "Précedent",
|
|
63
|
+
next: "Suivant",
|
|
64
|
+
dateFrom: "De:",
|
|
65
|
+
dateTo: "A:",
|
|
66
|
+
dateFilter: "Filtre",
|
|
67
|
+
numberOfResults: "Afficher:",
|
|
68
|
+
noRecord: "Vous n'avez joué à aucun jeu jusqu'à présent.",
|
|
69
|
+
transactionId: "Transaction ID",
|
|
70
|
+
date: "Date",
|
|
71
|
+
gameName: "Nom du jeu",
|
|
72
|
+
stake: "Mise",
|
|
73
|
+
InternalError: "Erreur : La différence entre la date de début et la date de fin est supérieure à 180 jours",
|
|
74
|
+
InvalidSession: "Erreur : La session est expirée.",
|
|
75
|
+
genericError: "Quelque chose s'est mal passé !"
|
|
76
|
+
},
|
|
77
|
+
ro: {
|
|
78
|
+
titleGamingHistory: "Istoric jocuri",
|
|
79
|
+
return: "Înapoi la meniu",
|
|
80
|
+
previous: "Înapoi",
|
|
81
|
+
next: "Înainte",
|
|
82
|
+
dateFrom: "De la",
|
|
83
|
+
dateTo: "La",
|
|
84
|
+
dateFilter: "Filtru",
|
|
85
|
+
numberOfResults: "Arată",
|
|
86
|
+
noRecord: "Nu ai niciun istoric de jocuri în acest moment.",
|
|
87
|
+
InternalError: "Eroare: Diferența dintre data de început și data de sfârșit este mai mare de 180 de zile",
|
|
88
|
+
InvalidSession: "Eroare: Sesiunea a expirat.",
|
|
89
|
+
genericError: "Ceva nu a funcționat corect!"
|
|
90
|
+
},
|
|
91
|
+
es: {
|
|
92
|
+
titleGamingHistory: "Historial de apuestas",
|
|
93
|
+
return: "Regresar",
|
|
94
|
+
previous: "Previo",
|
|
95
|
+
next: "Siguiente",
|
|
96
|
+
dateFrom: "Desde:",
|
|
97
|
+
dateTo: "A:",
|
|
98
|
+
dateFilter: "Filtro",
|
|
99
|
+
numberOfResults: "Mostrar:",
|
|
100
|
+
noRecord: "Aún no ha jugado ningún juego",
|
|
101
|
+
transactionId: "ID de Transacción",
|
|
102
|
+
date: "Fecha",
|
|
103
|
+
gameName: "Nombre del juego",
|
|
104
|
+
stake: "Apostado",
|
|
105
|
+
InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es superior a 180 días",
|
|
106
|
+
InvalidSession: "Error: La sesión ha expirado.",
|
|
107
|
+
genericError: "¡Algo salió mal!"
|
|
108
|
+
},
|
|
109
|
+
pt: {
|
|
110
|
+
titleGamingHistory: "Histórico de jogos",
|
|
111
|
+
return: "Voltar ao menu",
|
|
112
|
+
previous: "Anterior",
|
|
113
|
+
next: "Próximo",
|
|
114
|
+
dateFrom: "A partir de:",
|
|
115
|
+
dateTo: "Para:",
|
|
116
|
+
dateFilter: "Filtro:",
|
|
117
|
+
numberOfResults: "Mostrar:",
|
|
118
|
+
noRecord: "Você não jogou nenhum jogo até agora.",
|
|
119
|
+
InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
|
|
120
|
+
InvalidSession: "Erro: A sessão expirou.",
|
|
121
|
+
genericError: "Algo deu errado!"
|
|
122
|
+
},
|
|
123
|
+
hr: {
|
|
124
|
+
titleGamingHistory: "Povijest igranja",
|
|
125
|
+
return: "Povratak",
|
|
126
|
+
previous: "Prethodno",
|
|
127
|
+
next: "Slijedeće",
|
|
128
|
+
dateFrom: "Od:",
|
|
129
|
+
dateTo: "Do:",
|
|
130
|
+
dateFilter: "Filter",
|
|
131
|
+
numberOfResults: "Prikaži:",
|
|
132
|
+
noRecord: "Do sada niste igrali nijednu igru.",
|
|
133
|
+
transactionId: "ID transakcije",
|
|
134
|
+
date: "Datum",
|
|
135
|
+
gameName: "Naziv igre",
|
|
136
|
+
stake: "Ulog",
|
|
137
|
+
InternalError: "Greška: Razlika između početnog i završnog datuma veća je od 180 dana",
|
|
138
|
+
InvalidSession: "Greška: Sesija je istekla.",
|
|
139
|
+
genericError: "Došlo je do greške!"
|
|
140
|
+
},
|
|
141
|
+
"pt-br": {
|
|
142
|
+
titleGamingHistory: "História do jogo",
|
|
143
|
+
return: "Volte",
|
|
144
|
+
previous: "Anterior",
|
|
145
|
+
next: "Seguindo",
|
|
146
|
+
dateFrom: "De:",
|
|
147
|
+
dateTo: "PARA:",
|
|
148
|
+
dateFilter: "Filtro",
|
|
149
|
+
numberOfResults: "Mostrar:",
|
|
150
|
+
noRecord: "Ele não jogou até agora.",
|
|
151
|
+
transactionId: "ID da transação",
|
|
152
|
+
date: "Data",
|
|
153
|
+
gameName: "Nome do jogo",
|
|
154
|
+
stake: "Valor da aposta",
|
|
155
|
+
InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
|
|
156
|
+
InvalidSession: "Erro: A sessão expirou.",
|
|
157
|
+
genericError: "Algo deu errado!"
|
|
158
|
+
},
|
|
159
|
+
"es-mx": {
|
|
160
|
+
titleGamingHistory: "Historial de juego",
|
|
161
|
+
return: "Regresar",
|
|
162
|
+
previous: "Prev",
|
|
163
|
+
next: "Siguiente",
|
|
164
|
+
dateFrom: "De:",
|
|
165
|
+
dateTo: "A:",
|
|
166
|
+
dateFilter: "Filtro",
|
|
167
|
+
numberOfResults: "Mostrar:",
|
|
168
|
+
noRecord: "No ha jugado hasta el momento.",
|
|
169
|
+
transactionId: "ID de transacción",
|
|
170
|
+
date: "Fecha",
|
|
171
|
+
gameName: "Nombre de Juego",
|
|
172
|
+
stake: "Monto de apuesta",
|
|
173
|
+
InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es mayor a 180 días",
|
|
174
|
+
InvalidSession: "Error: La sesión ha expirado.",
|
|
175
|
+
genericError: "¡Algo salió mal!"
|
|
176
|
+
},
|
|
177
|
+
tr: {
|
|
178
|
+
titleGamingHistory: "Oyun Tarihi",
|
|
179
|
+
return: "Geri dönmek",
|
|
180
|
+
previous: "Önceki",
|
|
181
|
+
next: "Sonraki",
|
|
182
|
+
dateFrom: "İtibaren:",
|
|
183
|
+
dateTo: "İle:",
|
|
184
|
+
dateFilter: "Filtre",
|
|
185
|
+
numberOfResults: "Göstermek:",
|
|
186
|
+
noRecord: "Şu ana kadar hiçbir oyun oynamadınız.",
|
|
187
|
+
transactionId: "İşlem Kimliği",
|
|
188
|
+
date: "Tarih",
|
|
189
|
+
gameName: "Oyun Adı",
|
|
190
|
+
stake: "Bahis",
|
|
191
|
+
InternalError: "Hata: Başlangıç tarihi ile bitiş tarihi arasındaki fark 180 günden fazla",
|
|
192
|
+
InvalidSession: "Hata: Oturumun süresi doldu.",
|
|
193
|
+
genericError: "Bir şeyler yanlış gitti!"
|
|
194
|
+
},
|
|
195
|
+
"en-us": {
|
|
196
|
+
titleGamingHistory: "Gaming History",
|
|
197
|
+
return: "Return",
|
|
198
|
+
previous: "Prev",
|
|
199
|
+
next: "Next",
|
|
200
|
+
dateFrom: "From:",
|
|
201
|
+
dateTo: "To:",
|
|
202
|
+
dateFilter: "Filter",
|
|
203
|
+
numberOfResults: "Show:",
|
|
204
|
+
noRecord: "You haven't played any games so far.",
|
|
205
|
+
transactionId: "Transaction ID",
|
|
206
|
+
date: "Date",
|
|
207
|
+
gameName: "Game Name",
|
|
208
|
+
stake: "Stake",
|
|
209
|
+
InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
|
|
210
|
+
InvalidSession: "Error: Session is expired.",
|
|
211
|
+
genericError: "Something went wrong!"
|
|
212
|
+
},
|
|
213
|
+
de: {
|
|
214
|
+
titleGamingHistory: "Spielhistorie",
|
|
215
|
+
return: "Zurück",
|
|
216
|
+
previous: "Zurück",
|
|
217
|
+
next: "Weiter",
|
|
218
|
+
dateFrom: "Von:",
|
|
219
|
+
dateTo: "Bis:",
|
|
220
|
+
dateFilter: "Filtern",
|
|
221
|
+
numberOfResults: "Anzeigen:",
|
|
222
|
+
noRecord: "Sie haben bisher keine Spiele gespielt.",
|
|
223
|
+
transactionId: "Transaktions-ID",
|
|
224
|
+
date: "Datum",
|
|
225
|
+
gameName: "Spielname",
|
|
226
|
+
stake: "Einsatz",
|
|
227
|
+
InternalError: "Fehler: Der Unterschied zwischen dem Startdatum und dem Enddatum ist größer als 180 Tage",
|
|
228
|
+
InvalidSession: "Fehler: Die Sitzung ist abgelaufen.",
|
|
229
|
+
genericError: "Etwas ist schief gelaufen!"
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
function ot(a) {
|
|
233
|
+
Ze(a, "svelte-5ec3ad", `.PlayerGamingHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px}.PlayerGamingHistoryWrapper .PlayerGamingHistoryTitle{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper,.PlayerGamingDateWrapper{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer{margin-left:auto}.PlayerGamingHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryEmpty{color:var(--emw--color-typography-cotrast, #444444)}.PlayerGamingHistoryContainer{width:100%;row-gap:30px;color:var(--emw--color-typography-cotrast, #444444);background:var(--emw--color-white, #FFFFFF);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-large, 10px);padding:10px 0}.PlayerGamingHistoryContainer table{border:0}.PlayerGamingHistoryContainer table tr{border:0;background:var(--emw--color-white, #FFFFFF)}.PlayerGamingHistoryContainer table tr:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead tr{border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead th{font-size:var(--emw--);font-weight:400}.PlayerGamingHistoryItemCount{padding:8px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6);-webkit-appearance:none;-moz-appearance:none;appearance:none;width:60px;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center;cursor:pointer}.PlayerGamingHistoryItemCount:focus,.PlayerGamingHistoryItemCount :focus-within,.PlayerGamingHistoryItemCount :focus-visible,.PlayerGamingHistoryItemCount :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));outline:none}.PlayerPaginationControls{background:transparent;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;gap:8px;cursor:pointer}.PlayerPaginationControls.PlayerPaginationControlsDisabled{color:var(--emw--color-gray-100, #E6E6E6)}.PlayerPaginationControlsArea{margin-top:30px;display:flex;justify-content:center}.PlayerGamingHistoryFilterWrapper span{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-small, 14px)}.PlayerGamingHistoryFilterWrapper input{padding:7px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6)}.PlayerGamingHistoryFilterButton{border:none;background:var(--emw--color-primary, #23B04E);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;padding:10px;cursor:pointer}.PlayerGamingHistoryFilterButton:hover{filter:brightness(0.9)}.PlayerGamingHistoryFilterButton:disabled{background-image:none;background-color:var(--emw--button-disabled-text-color, #cccccc);color:var(--emw--button-disabled-text-color, #666);cursor:not-allowed;opacity:0.7;pointer-events:none;border:2px solid var(--emw--button-disabled-border-color, #aaaaaa)}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper input{width:100px;padding:12px 7px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton{width:100%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryTitle{font-size:var(--emw--size-standard, 16px);font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControls{align-items:center}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.PlayerGamingHistoryWrapperMobile .VaadinDatePicker{width:100%}table{border:1px solid var(--emw--color-gray-100, #E6E6E6);border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table tr{border:1px solid var(--emw--color-gray-100, #E6E6E6)}table th,table td{padding:10px;text-align:center}table th:first-child,table td:first-child{padding-left:20px}table th:first-child span,table td:first-child span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table th:last-child,table td:last-child{padding-right:20px}table th{font-size:0.85em;letter-spacing:0.1em;text-align:left}table tr td{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper{padding:20px}.PlayerGamingHistoryContainer{box-shadow:none;padding:0}table{border:0}tbody{background:var(--emw--color-gray-50, #F9F8F8)}table thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table tr{border-bottom:3px solid var(--emw--color-gray-100, #E6E6E6);display:block;border-radius:var(--emw--border-radius-small, 5px);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);padding:10px}table tr:not(:last-child){margin-bottom:0.625em}table tr th,table tr td{border:0;border-radius:var(--emw--border-radius-small, 5px)}table tr th:nth-child(even),table tr td:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}table th:first-child,table td:first-child{padding-left:10px}table th:last-child,table td:last-child{padding-right:10px}table td{border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6);display:block;font-size:0.8em;text-align:right;display:flex}table th:first-child span,table td:first-child span{width:50%;text-align:right}table td::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table td:last-child{border-bottom:0}}.DataLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
|
|
234
|
+
}
|
|
235
|
+
function Ce(a, e, t) {
|
|
236
|
+
const s = a.slice();
|
|
237
|
+
return s[57] = e[t], s;
|
|
238
|
+
}
|
|
239
|
+
function Me(a, e, t) {
|
|
240
|
+
const s = a.slice();
|
|
241
|
+
return s[60] = e[t], s;
|
|
242
|
+
}
|
|
243
|
+
function st(a) {
|
|
244
|
+
let e, t, s, l, b, p, _, k, f, u, d = (
|
|
245
|
+
/*$_*/
|
|
246
|
+
a[15]("titleGamingHistory") + ""
|
|
247
|
+
), v, g, j;
|
|
248
|
+
return {
|
|
249
|
+
c() {
|
|
250
|
+
e = o("div"), t = oe("svg"), s = oe("defs"), l = oe("style"), b = M(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), p = oe("g"), _ = oe("g"), k = oe("path"), f = x(), u = o("h2"), v = M(d), i(k, "class", "aaa"), i(k, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), i(k, "transform", "translate(15 15) rotate(180)"), i(_, "transform", "translate(20 158)"), i(p, "transform", "translate(-20 -158)"), i(t, "xmlns", "http://www.w3.org/2000/svg"), i(t, "width", "15"), i(t, "height", "15"), i(t, "viewBox", "0 0 15 15"), i(u, "class", "PlayerGamingHistoryTitleMobile"), i(u, "part", "PlayerGamingHistoryTitleMobile"), i(e, "class", "MenuReturnButton"), i(e, "part", "MenuReturnButton");
|
|
251
|
+
},
|
|
252
|
+
m(H, D) {
|
|
253
|
+
ne(H, e, D), r(e, t), r(t, s), r(s, l), r(l, b), r(t, p), r(p, _), r(_, k), r(e, f), r(e, u), r(u, v), g || (j = he(
|
|
254
|
+
e,
|
|
255
|
+
"click",
|
|
256
|
+
/*click_handler*/
|
|
257
|
+
a[31]
|
|
258
|
+
), g = !0);
|
|
259
|
+
},
|
|
260
|
+
p(H, D) {
|
|
261
|
+
D[0] & /*$_*/
|
|
262
|
+
32768 && d !== (d = /*$_*/
|
|
263
|
+
H[15]("titleGamingHistory") + "") && A(v, d);
|
|
264
|
+
},
|
|
265
|
+
d(H) {
|
|
266
|
+
H && ie(e), g = !1, j();
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
function Te(a) {
|
|
271
|
+
let e, t, s = (
|
|
272
|
+
/*$_*/
|
|
273
|
+
a[15]("numberOfResults") + ""
|
|
274
|
+
), l, b, p, _, k, f = Ge(
|
|
275
|
+
/*gameHistoryItems*/
|
|
276
|
+
a[17]
|
|
277
|
+
), u = [];
|
|
278
|
+
for (let d = 0; d < f.length; d += 1)
|
|
279
|
+
u[d] = Re(Me(a, f, d));
|
|
280
|
+
return {
|
|
281
|
+
c() {
|
|
282
|
+
e = o("div"), t = o("span"), l = M(s), b = x(), p = o("select");
|
|
283
|
+
for (let d = 0; d < u.length; d += 1)
|
|
284
|
+
u[d].c();
|
|
285
|
+
i(p, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
|
|
286
|
+
a[10] === void 0 && Je(() => (
|
|
287
|
+
/*select_change_handler*/
|
|
288
|
+
a[35].call(p)
|
|
289
|
+
)), i(e, "class", "PlayerGamingItemCountContainer");
|
|
290
|
+
},
|
|
291
|
+
m(d, v) {
|
|
292
|
+
ne(d, e, v), r(e, t), r(t, l), r(e, b), r(e, p);
|
|
293
|
+
for (let g = 0; g < u.length; g += 1)
|
|
294
|
+
u[g] && u[g].m(p, null);
|
|
295
|
+
Ie(
|
|
296
|
+
p,
|
|
297
|
+
/*gameHistoryLimit*/
|
|
298
|
+
a[10],
|
|
299
|
+
!0
|
|
300
|
+
), _ || (k = [
|
|
301
|
+
he(
|
|
302
|
+
p,
|
|
303
|
+
"change",
|
|
304
|
+
/*select_change_handler*/
|
|
305
|
+
a[35]
|
|
306
|
+
),
|
|
307
|
+
he(
|
|
308
|
+
p,
|
|
309
|
+
"change",
|
|
310
|
+
/*change_handler*/
|
|
311
|
+
a[36]
|
|
312
|
+
)
|
|
313
|
+
], _ = !0);
|
|
314
|
+
},
|
|
315
|
+
p(d, v) {
|
|
316
|
+
if (v[0] & /*$_*/
|
|
317
|
+
32768 && s !== (s = /*$_*/
|
|
318
|
+
d[15]("numberOfResults") + "") && A(l, s), v[0] & /*gameHistoryItems*/
|
|
319
|
+
131072) {
|
|
320
|
+
f = Ge(
|
|
321
|
+
/*gameHistoryItems*/
|
|
322
|
+
d[17]
|
|
323
|
+
);
|
|
324
|
+
let g;
|
|
325
|
+
for (g = 0; g < f.length; g += 1) {
|
|
326
|
+
const j = Me(d, f, g);
|
|
327
|
+
u[g] ? u[g].p(j, v) : (u[g] = Re(j), u[g].c(), u[g].m(p, null));
|
|
328
|
+
}
|
|
329
|
+
for (; g < u.length; g += 1)
|
|
330
|
+
u[g].d(1);
|
|
331
|
+
u.length = f.length;
|
|
332
|
+
}
|
|
333
|
+
v[0] & /*gameHistoryLimit, gameHistoryItems*/
|
|
334
|
+
132096 && Ie(
|
|
335
|
+
p,
|
|
336
|
+
/*gameHistoryLimit*/
|
|
337
|
+
d[10]
|
|
338
|
+
);
|
|
339
|
+
},
|
|
340
|
+
d(d) {
|
|
341
|
+
d && ie(e), je(u, d), _ = !1, ze(k);
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
function Re(a) {
|
|
346
|
+
let e, t = (
|
|
347
|
+
/*item*/
|
|
348
|
+
a[60] + ""
|
|
349
|
+
), s;
|
|
350
|
+
return {
|
|
351
|
+
c() {
|
|
352
|
+
e = o("option"), s = M(t), e.__value = /*item*/
|
|
353
|
+
a[60], $e(e, e.__value);
|
|
354
|
+
},
|
|
355
|
+
m(l, b) {
|
|
356
|
+
ne(l, e, b), r(e, s);
|
|
357
|
+
},
|
|
358
|
+
p: Fe,
|
|
359
|
+
d(l) {
|
|
360
|
+
l && ie(e);
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
function dt(a) {
|
|
365
|
+
let e, t = (
|
|
366
|
+
/*$_*/
|
|
367
|
+
a[15]("noRecord") + ""
|
|
368
|
+
), s;
|
|
369
|
+
return {
|
|
370
|
+
c() {
|
|
371
|
+
e = o("p"), s = M(t), i(e, "class", "PlayerGamingHistoryEmpty");
|
|
372
|
+
},
|
|
373
|
+
m(l, b) {
|
|
374
|
+
ne(l, e, b), r(e, s);
|
|
375
|
+
},
|
|
376
|
+
p(l, b) {
|
|
377
|
+
b[0] & /*$_*/
|
|
378
|
+
32768 && t !== (t = /*$_*/
|
|
379
|
+
l[15]("noRecord") + "") && A(s, t);
|
|
380
|
+
},
|
|
381
|
+
d(l) {
|
|
382
|
+
l && ie(e);
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
function mt(a) {
|
|
387
|
+
let e, t;
|
|
388
|
+
return {
|
|
389
|
+
c() {
|
|
390
|
+
e = o("p"), t = M(
|
|
391
|
+
/*errorMessage*/
|
|
392
|
+
a[11]
|
|
393
|
+
), i(e, "class", "PlayerGamingHistoryEmpty");
|
|
394
|
+
},
|
|
395
|
+
m(s, l) {
|
|
396
|
+
ne(s, e, l), r(e, t);
|
|
397
|
+
},
|
|
398
|
+
p(s, l) {
|
|
399
|
+
l[0] & /*errorMessage*/
|
|
400
|
+
2048 && A(
|
|
401
|
+
t,
|
|
402
|
+
/*errorMessage*/
|
|
403
|
+
s[11]
|
|
404
|
+
);
|
|
405
|
+
},
|
|
406
|
+
d(s) {
|
|
407
|
+
s && ie(e);
|
|
408
|
+
}
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
function ut(a) {
|
|
412
|
+
let e, t, s, l, b, p = (
|
|
413
|
+
/*$_*/
|
|
414
|
+
a[15]("transactionId") + ""
|
|
415
|
+
), _, k, f, u = (
|
|
416
|
+
/*$_*/
|
|
417
|
+
a[15]("date") + ""
|
|
418
|
+
), d, v, g, j = (
|
|
419
|
+
/*$_*/
|
|
420
|
+
a[15]("gameName") + ""
|
|
421
|
+
), H, D, U, z = (
|
|
422
|
+
/*$_*/
|
|
423
|
+
a[15]("stake") + ""
|
|
424
|
+
), W, N, O, X = (
|
|
425
|
+
/*$_*/
|
|
426
|
+
a[15]("return") + ""
|
|
427
|
+
), E, q, F, K, R, w, C, I, Q, te, S, G = (
|
|
428
|
+
/*$_*/
|
|
429
|
+
a[15]("previous") + ""
|
|
430
|
+
), ae, Y, y, m, c, se, re = (
|
|
431
|
+
/*$_*/
|
|
432
|
+
a[15]("next") + ""
|
|
433
|
+
), ue, be, le, de, pe, ce, fe, ve, we, ge = Ge(
|
|
434
|
+
/*gamingHistoryData*/
|
|
435
|
+
a[14]
|
|
436
|
+
), V = [];
|
|
437
|
+
for (let h = 0; h < ge.length; h += 1)
|
|
438
|
+
V[h] = Ae(Ce(a, ge, h));
|
|
439
|
+
return {
|
|
440
|
+
c() {
|
|
441
|
+
e = o("div"), t = o("table"), s = o("thead"), l = o("tr"), b = o("th"), _ = M(p), k = x(), f = o("th"), d = M(u), v = x(), g = o("th"), H = M(j), D = x(), U = o("th"), W = M(z), N = x(), O = o("th"), E = M(X), q = x(), F = o("tbody");
|
|
442
|
+
for (let h = 0; h < V.length; h += 1)
|
|
443
|
+
V[h].c();
|
|
444
|
+
K = x(), R = o("div"), w = o("button"), C = oe("svg"), I = oe("path"), te = x(), S = o("span"), ae = M(G), m = x(), c = o("button"), se = o("span"), ue = M(re), be = x(), le = oe("svg"), de = oe("path"), i(e, "class", "PlayerGamingHistoryContainer"), i(I, "fill", Q = /*previousPage*/
|
|
445
|
+
a[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), i(I, "class", "a"), i(I, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), i(I, "transform", "translate(19.246 -6.188) rotate(90)"), i(C, "xmlns", "http://www.w3.org/2000/svg"), i(C, "width", "8"), i(C, "height", "13.992"), i(C, "viewBox", "0 0 8 13.992"), i(S, "class", "PlayerPaginationControlsText"), i(w, "class", Y = "PlayerPaginationControls " + (/*previousPage*/
|
|
446
|
+
a[7] ? "" : "PlayerPaginationControlsDisabled")), w.disabled = y = /*previousPage*/
|
|
447
|
+
!a[7], i(se, "class", "PlayerPaginationControlsText"), i(de, "fill", pe = /*nextPage*/
|
|
448
|
+
a[6] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), i(de, "class", "a"), i(de, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), i(de, "transform", "translate(-11.246 20.179) rotate(-90)"), i(le, "xmlns", "http://www.w3.org/2000/svg"), i(le, "width", "8"), i(le, "height", "13.992"), i(le, "viewBox", "0 0 8 13.992"), i(c, "class", ce = "PlayerPaginationControls " + (/*nextPage*/
|
|
449
|
+
a[6] ? "" : "PlayerPaginationControlsDisabled")), c.disabled = fe = /*nextPage*/
|
|
450
|
+
!a[6], i(R, "class", "PlayerPaginationControlsArea");
|
|
451
|
+
},
|
|
452
|
+
m(h, T) {
|
|
453
|
+
ne(h, e, T), r(e, t), r(t, s), r(s, l), r(l, b), r(b, _), r(l, k), r(l, f), r(f, d), r(l, v), r(l, g), r(g, H), r(l, D), r(l, U), r(U, W), r(l, N), r(l, O), r(O, E), r(t, q), r(t, F);
|
|
454
|
+
for (let B = 0; B < V.length; B += 1)
|
|
455
|
+
V[B] && V[B].m(F, null);
|
|
456
|
+
ne(h, K, T), ne(h, R, T), r(R, w), r(w, C), r(C, I), r(w, te), r(w, S), r(S, ae), r(R, m), r(R, c), r(c, se), r(se, ue), r(c, be), r(c, le), r(le, de), ve || (we = [
|
|
457
|
+
he(
|
|
458
|
+
w,
|
|
459
|
+
"click",
|
|
460
|
+
/*click_handler_2*/
|
|
461
|
+
a[37]
|
|
462
|
+
),
|
|
463
|
+
he(
|
|
464
|
+
c,
|
|
465
|
+
"click",
|
|
466
|
+
/*click_handler_3*/
|
|
467
|
+
a[38]
|
|
468
|
+
)
|
|
469
|
+
], ve = !0);
|
|
470
|
+
},
|
|
471
|
+
p(h, T) {
|
|
472
|
+
if (T[0] & /*$_*/
|
|
473
|
+
32768 && p !== (p = /*$_*/
|
|
474
|
+
h[15]("transactionId") + "") && A(_, p), T[0] & /*$_*/
|
|
475
|
+
32768 && u !== (u = /*$_*/
|
|
476
|
+
h[15]("date") + "") && A(d, u), T[0] & /*$_*/
|
|
477
|
+
32768 && j !== (j = /*$_*/
|
|
478
|
+
h[15]("gameName") + "") && A(H, j), T[0] & /*$_*/
|
|
479
|
+
32768 && z !== (z = /*$_*/
|
|
480
|
+
h[15]("stake") + "") && A(W, z), T[0] & /*$_*/
|
|
481
|
+
32768 && X !== (X = /*$_*/
|
|
482
|
+
h[15]("return") + "") && A(E, X), T[0] & /*$_, gamingHistoryData, formatDate*/
|
|
483
|
+
2146304) {
|
|
484
|
+
ge = Ge(
|
|
485
|
+
/*gamingHistoryData*/
|
|
486
|
+
h[14]
|
|
487
|
+
);
|
|
488
|
+
let B;
|
|
489
|
+
for (B = 0; B < ge.length; B += 1) {
|
|
490
|
+
const Pe = Ce(h, ge, B);
|
|
491
|
+
V[B] ? V[B].p(Pe, T) : (V[B] = Ae(Pe), V[B].c(), V[B].m(F, null));
|
|
492
|
+
}
|
|
493
|
+
for (; B < V.length; B += 1)
|
|
494
|
+
V[B].d(1);
|
|
495
|
+
V.length = ge.length;
|
|
496
|
+
}
|
|
497
|
+
T[0] & /*previousPage*/
|
|
498
|
+
128 && Q !== (Q = /*previousPage*/
|
|
499
|
+
h[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && i(I, "fill", Q), T[0] & /*$_*/
|
|
500
|
+
32768 && G !== (G = /*$_*/
|
|
501
|
+
h[15]("previous") + "") && A(ae, G), T[0] & /*previousPage*/
|
|
502
|
+
128 && Y !== (Y = "PlayerPaginationControls " + (/*previousPage*/
|
|
503
|
+
h[7] ? "" : "PlayerPaginationControlsDisabled")) && i(w, "class", Y), T[0] & /*previousPage*/
|
|
504
|
+
128 && y !== (y = /*previousPage*/
|
|
505
|
+
!h[7]) && (w.disabled = y), T[0] & /*$_*/
|
|
506
|
+
32768 && re !== (re = /*$_*/
|
|
507
|
+
h[15]("next") + "") && A(ue, re), T[0] & /*nextPage*/
|
|
508
|
+
64 && pe !== (pe = /*nextPage*/
|
|
509
|
+
h[6] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && i(de, "fill", pe), T[0] & /*nextPage*/
|
|
510
|
+
64 && ce !== (ce = "PlayerPaginationControls " + (/*nextPage*/
|
|
511
|
+
h[6] ? "" : "PlayerPaginationControlsDisabled")) && i(c, "class", ce), T[0] & /*nextPage*/
|
|
512
|
+
64 && fe !== (fe = /*nextPage*/
|
|
513
|
+
!h[6]) && (c.disabled = fe);
|
|
514
|
+
},
|
|
515
|
+
d(h) {
|
|
516
|
+
h && (ie(e), ie(K), ie(R)), je(V, h), ve = !1, ze(we);
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
function gt(a) {
|
|
521
|
+
let e;
|
|
522
|
+
return {
|
|
523
|
+
c() {
|
|
524
|
+
e = o("div"), i(e, "class", "DataLoader");
|
|
525
|
+
},
|
|
526
|
+
m(t, s) {
|
|
527
|
+
ne(t, e, s);
|
|
528
|
+
},
|
|
529
|
+
p: Fe,
|
|
530
|
+
d(t) {
|
|
531
|
+
t && ie(e);
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function Ae(a) {
|
|
536
|
+
var S, G, ae, Y;
|
|
537
|
+
let e, t, s, l = (
|
|
538
|
+
/*gamingHistoryDataset*/
|
|
539
|
+
a[57].roundId + ""
|
|
540
|
+
), b, p, _, k, f, u, d = (
|
|
541
|
+
/*formatDate*/
|
|
542
|
+
a[21](
|
|
543
|
+
/*gamingHistoryDataset*/
|
|
544
|
+
a[57]
|
|
545
|
+
) + ""
|
|
546
|
+
), v, g, j, H, D, U = (
|
|
547
|
+
/*gamingHistoryDataset*/
|
|
548
|
+
((G = (S = a[57].gameModel) == null ? void 0 : S.name) != null ? G : "-") + ""
|
|
549
|
+
), z, W, N, O, X, E = (
|
|
550
|
+
/*gamingHistoryDataset*/
|
|
551
|
+
((ae = a[57].stakeAmount) != null ? ae : "-") + ""
|
|
552
|
+
), q, F, K, R, w, C = (
|
|
553
|
+
/*gamingHistoryDataset*/
|
|
554
|
+
((Y = a[57].returnAmount) != null ? Y : "-") + ""
|
|
555
|
+
), I, Q, te;
|
|
556
|
+
return {
|
|
557
|
+
c() {
|
|
558
|
+
e = o("tr"), t = o("td"), s = o("span"), b = M(l), k = x(), f = o("td"), u = o("span"), v = M(d), j = x(), H = o("td"), D = o("span"), z = M(U), N = x(), O = o("td"), X = o("span"), q = M(E), K = x(), R = o("td"), w = o("span"), I = M(C), te = x(), i(t, "data-label", p = /*$_*/
|
|
559
|
+
a[15]("transactionId")), i(t, "title", _ = /*gamingHistoryDataset*/
|
|
560
|
+
a[57].roundId), i(f, "data-label", g = /*$_*/
|
|
561
|
+
a[15]("date")), i(H, "data-label", W = /*$_*/
|
|
562
|
+
a[15]("gameName")), i(O, "data-label", F = /*$_*/
|
|
563
|
+
a[15]("stake")), i(R, "data-label", Q = /*$_*/
|
|
564
|
+
a[15]("return"));
|
|
565
|
+
},
|
|
566
|
+
m(y, m) {
|
|
567
|
+
ne(y, e, m), r(e, t), r(t, s), r(s, b), r(e, k), r(e, f), r(f, u), r(u, v), r(e, j), r(e, H), r(H, D), r(D, z), r(e, N), r(e, O), r(O, X), r(X, q), r(e, K), r(e, R), r(R, w), r(w, I), r(e, te);
|
|
568
|
+
},
|
|
569
|
+
p(y, m) {
|
|
570
|
+
var c, se, re, ue;
|
|
571
|
+
m[0] & /*gamingHistoryData*/
|
|
572
|
+
16384 && l !== (l = /*gamingHistoryDataset*/
|
|
573
|
+
y[57].roundId + "") && A(b, l), m[0] & /*$_*/
|
|
574
|
+
32768 && p !== (p = /*$_*/
|
|
575
|
+
y[15]("transactionId")) && i(t, "data-label", p), m[0] & /*gamingHistoryData*/
|
|
576
|
+
16384 && _ !== (_ = /*gamingHistoryDataset*/
|
|
577
|
+
y[57].roundId) && i(t, "title", _), m[0] & /*gamingHistoryData*/
|
|
578
|
+
16384 && d !== (d = /*formatDate*/
|
|
579
|
+
y[21](
|
|
580
|
+
/*gamingHistoryDataset*/
|
|
581
|
+
y[57]
|
|
582
|
+
) + "") && A(v, d), m[0] & /*$_*/
|
|
583
|
+
32768 && g !== (g = /*$_*/
|
|
584
|
+
y[15]("date")) && i(f, "data-label", g), m[0] & /*gamingHistoryData*/
|
|
585
|
+
16384 && U !== (U = /*gamingHistoryDataset*/
|
|
586
|
+
((se = (c = y[57].gameModel) == null ? void 0 : c.name) != null ? se : "-") + "") && A(z, U), m[0] & /*$_*/
|
|
587
|
+
32768 && W !== (W = /*$_*/
|
|
588
|
+
y[15]("gameName")) && i(H, "data-label", W), m[0] & /*gamingHistoryData*/
|
|
589
|
+
16384 && E !== (E = /*gamingHistoryDataset*/
|
|
590
|
+
((re = y[57].stakeAmount) != null ? re : "-") + "") && A(q, E), m[0] & /*$_*/
|
|
591
|
+
32768 && F !== (F = /*$_*/
|
|
592
|
+
y[15]("stake")) && i(O, "data-label", F), m[0] & /*gamingHistoryData*/
|
|
593
|
+
16384 && C !== (C = /*gamingHistoryDataset*/
|
|
594
|
+
((ue = y[57].returnAmount) != null ? ue : "-") + "") && A(I, C), m[0] & /*$_*/
|
|
595
|
+
32768 && Q !== (Q = /*$_*/
|
|
596
|
+
y[15]("return")) && i(R, "data-label", Q);
|
|
597
|
+
},
|
|
598
|
+
d(y) {
|
|
599
|
+
y && ie(e);
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
}
|
|
603
|
+
function pt(a) {
|
|
604
|
+
let e, t, s, l, b = (
|
|
605
|
+
/*$_*/
|
|
606
|
+
a[15]("titleGamingHistory") + ""
|
|
607
|
+
), p, _, k, f, u, d, v, g = (
|
|
608
|
+
/*$_*/
|
|
609
|
+
a[15]("dateFrom") + ""
|
|
610
|
+
), j, H, D, U, z, W, N = (
|
|
611
|
+
/*$_*/
|
|
612
|
+
a[15]("dateTo") + ""
|
|
613
|
+
), O, X, E, q, F, K = (
|
|
614
|
+
/*$_*/
|
|
615
|
+
a[15]("dateFilter") + ""
|
|
616
|
+
), R, w, C, I, Q, te, S = (
|
|
617
|
+
/*isMobile*/
|
|
618
|
+
a[18] && st(a)
|
|
619
|
+
), G = !/*mediaQueryMedim*/
|
|
620
|
+
a[13].matches && Te(a);
|
|
621
|
+
function ae(m, c) {
|
|
622
|
+
return (
|
|
623
|
+
/*isLoading*/
|
|
624
|
+
m[12] ? gt : (
|
|
625
|
+
/*gamingHistoryData*/
|
|
626
|
+
m[14].length > 0 ? ut : (
|
|
627
|
+
/*errorMessage*/
|
|
628
|
+
m[11].length > 0 ? mt : dt
|
|
629
|
+
)
|
|
630
|
+
)
|
|
631
|
+
);
|
|
632
|
+
}
|
|
633
|
+
let Y = ae(a), y = Y(a);
|
|
634
|
+
return {
|
|
635
|
+
c() {
|
|
636
|
+
e = o("div"), t = o("div"), S && S.c(), s = x(), l = o("h2"), p = M(b), _ = x(), k = o("div"), f = o("div"), u = o("div"), d = o("div"), v = o("span"), j = M(g), H = x(), D = o("vaadin-date-picker"), U = x(), z = o("div"), W = o("span"), O = M(N), X = x(), E = o("vaadin-date-picker"), q = x(), F = o("button"), R = M(K), C = x(), G && G.c(), I = x(), y.c(), i(l, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
|
|
637
|
+
(a[18] ? "PlayerGamingHistoryTitleNone" : "")), ee(
|
|
638
|
+
D,
|
|
639
|
+
"max",
|
|
640
|
+
/*today*/
|
|
641
|
+
a[16]
|
|
642
|
+
), ee(D, "placeholder", "From"), ee(
|
|
643
|
+
D,
|
|
644
|
+
"value",
|
|
645
|
+
/*startDate*/
|
|
646
|
+
a[0]
|
|
647
|
+
), ee(D, "class", "VaadinDatePicker"), i(d, "class", "PlayerGamingDateWrapper"), ee(
|
|
648
|
+
E,
|
|
649
|
+
"min",
|
|
650
|
+
/*startDate*/
|
|
651
|
+
a[0]
|
|
652
|
+
), ee(
|
|
653
|
+
E,
|
|
654
|
+
"max",
|
|
655
|
+
/*today*/
|
|
656
|
+
a[16]
|
|
657
|
+
), ee(E, "placeholder", "To"), ee(
|
|
658
|
+
E,
|
|
659
|
+
"value",
|
|
660
|
+
/*endDate*/
|
|
661
|
+
a[1]
|
|
662
|
+
), ee(E, "class", "VaadinDatePicker"), i(z, "class", "PlayerGamingDateWrapper"), i(u, "class", "PlayerGamingDateContainer"), i(F, "class", "PlayerGamingHistoryFilterButton"), F.disabled = w = !/*submitEnable*/
|
|
663
|
+
a[9], i(f, "class", "PlayerGamingHistoryFilterWrapper"), i(k, "class", "PlayerGamingHistoryTopSection"), i(t, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
|
|
664
|
+
(a[18] ? "PlayerGamingHistoryWrapperMobile" : ""));
|
|
665
|
+
},
|
|
666
|
+
m(m, c) {
|
|
667
|
+
ne(m, e, c), r(e, t), S && S.m(t, null), r(t, s), r(t, l), r(l, p), r(t, _), r(t, k), r(k, f), r(f, u), r(u, d), r(d, v), r(v, j), r(d, H), r(d, D), a[32](D), r(u, U), r(u, z), r(z, W), r(W, O), r(z, X), r(z, E), a[33](E), r(f, q), r(f, F), r(F, R), r(f, C), G && G.m(f, null), r(t, I), y.m(t, null), a[39](t), a[40](e), Q || (te = he(
|
|
668
|
+
F,
|
|
669
|
+
"click",
|
|
670
|
+
/*click_handler_1*/
|
|
671
|
+
a[34]
|
|
672
|
+
), Q = !0);
|
|
673
|
+
},
|
|
674
|
+
p(m, c) {
|
|
675
|
+
/*isMobile*/
|
|
676
|
+
m[18] && S.p(m, c), c[0] & /*$_*/
|
|
677
|
+
32768 && b !== (b = /*$_*/
|
|
678
|
+
m[15]("titleGamingHistory") + "") && A(p, b), c[0] & /*$_*/
|
|
679
|
+
32768 && g !== (g = /*$_*/
|
|
680
|
+
m[15]("dateFrom") + "") && A(j, g), c[0] & /*startDate*/
|
|
681
|
+
1 && ee(
|
|
682
|
+
D,
|
|
683
|
+
"value",
|
|
684
|
+
/*startDate*/
|
|
685
|
+
m[0]
|
|
686
|
+
), c[0] & /*$_*/
|
|
687
|
+
32768 && N !== (N = /*$_*/
|
|
688
|
+
m[15]("dateTo") + "") && A(O, N), c[0] & /*startDate*/
|
|
689
|
+
1 && ee(
|
|
690
|
+
E,
|
|
691
|
+
"min",
|
|
692
|
+
/*startDate*/
|
|
693
|
+
m[0]
|
|
694
|
+
), c[0] & /*endDate*/
|
|
695
|
+
2 && ee(
|
|
696
|
+
E,
|
|
697
|
+
"value",
|
|
698
|
+
/*endDate*/
|
|
699
|
+
m[1]
|
|
700
|
+
), c[0] & /*$_*/
|
|
701
|
+
32768 && K !== (K = /*$_*/
|
|
702
|
+
m[15]("dateFilter") + "") && A(R, K), c[0] & /*submitEnable*/
|
|
703
|
+
512 && w !== (w = !/*submitEnable*/
|
|
704
|
+
m[9]) && (F.disabled = w), /*mediaQueryMedim*/
|
|
705
|
+
m[13].matches ? G && (G.d(1), G = null) : G ? G.p(m, c) : (G = Te(m), G.c(), G.m(f, null)), Y === (Y = ae(m)) && y ? y.p(m, c) : (y.d(1), y = Y(m), y && (y.c(), y.m(t, null)));
|
|
706
|
+
},
|
|
707
|
+
i: Fe,
|
|
708
|
+
o: Fe,
|
|
709
|
+
d(m) {
|
|
710
|
+
m && ie(e), S && S.d(), a[32](null), a[33](null), G && G.d(), y.d(), a[39](null), a[40](null), Q = !1, te();
|
|
711
|
+
}
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
let ct = "0";
|
|
715
|
+
function ft(a, e, t) {
|
|
716
|
+
let s;
|
|
717
|
+
Qe(a, it, (n) => t(15, s = n));
|
|
718
|
+
let { endpoint: l = "" } = e, { playerid: b = "" } = e, { session: p = "" } = e, { lang: _ = "en" } = e, { clientstyling: k = "" } = e, { clientstylingurl: f = "" } = e, { mbsource: u } = e, { translationurl: d = "" } = e, { gmversion: v = "" } = e;
|
|
719
|
+
const g = Ee(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), j = Ee(nt(/* @__PURE__ */ new Date(), 1), "yyyy-MM-dd");
|
|
720
|
+
let H = "", D = "", U = "", z, W = j, N = g, O = !0, X = ["5", "10", "25", "50"], E = "5", q = "", F = !1, K = window.navigator.userAgent, R = Xe(K) !== "PC", w, C, I;
|
|
721
|
+
const Q = () => {
|
|
722
|
+
fetch(d).then((L) => L.json()).then((L) => {
|
|
723
|
+
Object.keys(L).forEach((Z) => {
|
|
724
|
+
xe(Z, L[Z]);
|
|
725
|
+
});
|
|
726
|
+
}).catch((L) => {
|
|
727
|
+
console.log(L);
|
|
728
|
+
});
|
|
729
|
+
};
|
|
730
|
+
Object.keys(Se).forEach((n) => {
|
|
731
|
+
xe(n, Se[n]);
|
|
732
|
+
}), window.matchMedia("(min-width: 768px)");
|
|
733
|
+
let te = window.matchMedia("(max-width: 1280px)"), S = [];
|
|
734
|
+
const G = () => {
|
|
735
|
+
window.postMessage(
|
|
736
|
+
{
|
|
737
|
+
type: "PlayerAccountMenuActive",
|
|
738
|
+
isMobile: R
|
|
739
|
+
},
|
|
740
|
+
window.location.href
|
|
741
|
+
);
|
|
742
|
+
}, ae = () => {
|
|
743
|
+
t(13, te = window.matchMedia("(max-width: 1280px)"));
|
|
744
|
+
}, Y = (n) => {
|
|
745
|
+
let L = /* @__PURE__ */ new Map();
|
|
746
|
+
return n.forEach((Z) => {
|
|
747
|
+
let J = Z.transType === "1" ? "stakeAmount" : "returnAmount", ye = L.get(Z.roundId);
|
|
748
|
+
if (ye)
|
|
749
|
+
ye[J] = Z.totalAmount;
|
|
750
|
+
else {
|
|
751
|
+
let P = De({}, Z);
|
|
752
|
+
P[J] = Z.totalAmount, L.set(Z.roundId, P);
|
|
753
|
+
}
|
|
754
|
+
}), n = Array.from(L.values()), n;
|
|
755
|
+
}, y = (n, L, Z) => {
|
|
756
|
+
let J = new URL(n);
|
|
757
|
+
t(14, S = []);
|
|
758
|
+
let ye = {
|
|
759
|
+
method: "GET",
|
|
760
|
+
headers: { "X-SessionID": p }
|
|
761
|
+
};
|
|
762
|
+
L || (J.searchParams.append("offset", String(0 * 2)), J.searchParams.append("limit", String(+E * 2))), Z && (J.searchParams.append("startDate", W), J.searchParams.append("endDate", N)), t(12, F = !0), fetch(J.href, ye).then((P) => P.json()).then(
|
|
763
|
+
(P) => {
|
|
764
|
+
if (!P.error)
|
|
765
|
+
t(14, S = P.transactions), t(14, S = Y(S)), t(6, D = P.pagination.next), t(7, U = P.pagination.previous);
|
|
766
|
+
else {
|
|
767
|
+
let $ = P.error.split(":");
|
|
768
|
+
t(11, q = $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]), P.thirdPartyResponse && t(11, q = s(`${P.thirdPartyResponse.errorCode}`) || $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]);
|
|
769
|
+
}
|
|
770
|
+
t(12, F = !1);
|
|
771
|
+
},
|
|
772
|
+
(P) => {
|
|
773
|
+
t(12, F = !1), console.error(P);
|
|
774
|
+
}
|
|
775
|
+
);
|
|
776
|
+
}, m = (n, L, Z) => {
|
|
777
|
+
let J = new URL(n);
|
|
778
|
+
t(14, S = []), t(11, q = "");
|
|
779
|
+
let ye = {
|
|
780
|
+
method: "GET",
|
|
781
|
+
headers: { "X-SessionID": p }
|
|
782
|
+
};
|
|
783
|
+
L || (J.searchParams.append("offset", ct), J.searchParams.append("limit", E)), Z && (J.searchParams.append("startDate", W), J.searchParams.append("endDate", N)), t(12, F = !0), fetch(J.href, ye).then((P) => P.json()).then(
|
|
784
|
+
(P) => {
|
|
785
|
+
if (!P.error)
|
|
786
|
+
t(14, S = P.transactions), t(6, D = P.pagination.next), t(7, U = P.pagination.previous);
|
|
787
|
+
else {
|
|
788
|
+
let $ = P.error.split(":");
|
|
789
|
+
t(11, q = $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]), P.thirdPartyResponse && t(11, q = s(`${P.thirdPartyResponse.errorCode}`) || $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]);
|
|
790
|
+
}
|
|
791
|
+
t(12, F = !1);
|
|
792
|
+
},
|
|
793
|
+
(P) => {
|
|
794
|
+
t(12, F = !1), console.error(P);
|
|
795
|
+
}
|
|
796
|
+
);
|
|
797
|
+
}, c = (n, L, Z) => {
|
|
798
|
+
switch (v) {
|
|
799
|
+
case "gm16":
|
|
800
|
+
y(n, L, Z);
|
|
801
|
+
break;
|
|
802
|
+
default:
|
|
803
|
+
m(n, L, Z);
|
|
804
|
+
break;
|
|
805
|
+
}
|
|
806
|
+
window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
807
|
+
}, se = () => {
|
|
808
|
+
lt(_), t(5, H = v === "gm16" ? `${l}/v1/player/${b}/transactions/wagering?type=Casino` : `${l}/v1/player/${b}/bets`), c(H, !1, !0);
|
|
809
|
+
}, re = (n) => {
|
|
810
|
+
if (n.data)
|
|
811
|
+
switch (n.data.type) {
|
|
812
|
+
}
|
|
813
|
+
}, ue = () => {
|
|
814
|
+
const n = new Date(W), L = new Date(N);
|
|
815
|
+
n.getTime() > L.getTime() ? t(9, O = !1) : t(9, O = !0);
|
|
816
|
+
}, be = (n) => {
|
|
817
|
+
t(0, W = n.target.value);
|
|
818
|
+
}, le = (n) => {
|
|
819
|
+
t(1, N = n.target.value);
|
|
820
|
+
}, de = () => {
|
|
821
|
+
w.addEventListener("change", be, !1), C.addEventListener("change", le, !1);
|
|
822
|
+
}, pe = (n) => v === "gm16" ? Ee(new Date(n.ins), "d/M/yyyy - h:mm a") : Ee(new Date(n.roundStartDate), "d/M/yyyy - h:mm a");
|
|
823
|
+
Ye(() => (window.addEventListener("message", re, !1), window.addEventListener("resize", ae, !1), () => {
|
|
824
|
+
w.removeEventListener("change", be), C.removeEventListener("change", le), window.removeEventListener("message", re), window.removeEventListener("resize", re);
|
|
825
|
+
}));
|
|
826
|
+
const ce = () => G();
|
|
827
|
+
function fe(n) {
|
|
828
|
+
_e[n ? "unshift" : "push"](() => {
|
|
829
|
+
w = n, t(2, w);
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
function ve(n) {
|
|
833
|
+
_e[n ? "unshift" : "push"](() => {
|
|
834
|
+
C = n, t(3, C);
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
const we = () => c(H, !1, !0);
|
|
838
|
+
function ge() {
|
|
839
|
+
E = Ke(this), t(10, E), t(17, X);
|
|
840
|
+
}
|
|
841
|
+
const V = () => c(H, !1, !0), h = () => c(U, !0, !1), T = () => c(D, !0, !1);
|
|
842
|
+
function B(n) {
|
|
843
|
+
_e[n ? "unshift" : "push"](() => {
|
|
844
|
+
z = n, t(8, z);
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
function Pe(n) {
|
|
848
|
+
_e[n ? "unshift" : "push"](() => {
|
|
849
|
+
I = n, t(4, I);
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
return a.$$set = (n) => {
|
|
853
|
+
"endpoint" in n && t(22, l = n.endpoint), "playerid" in n && t(23, b = n.playerid), "session" in n && t(24, p = n.session), "lang" in n && t(25, _ = n.lang), "clientstyling" in n && t(26, k = n.clientstyling), "clientstylingurl" in n && t(27, f = n.clientstylingurl), "mbsource" in n && t(28, u = n.mbsource), "translationurl" in n && t(29, d = n.translationurl), "gmversion" in n && t(30, v = n.gmversion);
|
|
854
|
+
}, a.$$.update = () => {
|
|
855
|
+
a.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
856
|
+
12 && w && C && de(), a.$$.dirty[0] & /*startDate, endDate*/
|
|
857
|
+
3 && W && N && ue(), a.$$.dirty[0] & /*session, playerid, endpoint, lang*/
|
|
858
|
+
62914560 && p && b && l && _ && se(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
859
|
+
67108880 && k && I && et(I, k), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
860
|
+
134217744 && f && I && tt(I, f), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
861
|
+
268435472 && u && I && at(I, `${u}.Style`), a.$$.dirty[0] & /*translationurl*/
|
|
862
|
+
536870912 && d && Q();
|
|
863
|
+
}, [
|
|
864
|
+
W,
|
|
865
|
+
N,
|
|
866
|
+
w,
|
|
867
|
+
C,
|
|
868
|
+
I,
|
|
869
|
+
H,
|
|
870
|
+
D,
|
|
871
|
+
U,
|
|
872
|
+
z,
|
|
873
|
+
O,
|
|
874
|
+
E,
|
|
875
|
+
q,
|
|
876
|
+
F,
|
|
877
|
+
te,
|
|
878
|
+
S,
|
|
879
|
+
s,
|
|
880
|
+
g,
|
|
881
|
+
X,
|
|
882
|
+
R,
|
|
883
|
+
G,
|
|
884
|
+
c,
|
|
885
|
+
pe,
|
|
886
|
+
l,
|
|
887
|
+
b,
|
|
888
|
+
p,
|
|
889
|
+
_,
|
|
890
|
+
k,
|
|
891
|
+
f,
|
|
892
|
+
u,
|
|
893
|
+
d,
|
|
894
|
+
v,
|
|
895
|
+
ce,
|
|
896
|
+
fe,
|
|
897
|
+
ve,
|
|
898
|
+
we,
|
|
899
|
+
ge,
|
|
900
|
+
V,
|
|
901
|
+
h,
|
|
902
|
+
T,
|
|
903
|
+
B,
|
|
904
|
+
Pe
|
|
905
|
+
];
|
|
906
|
+
}
|
|
907
|
+
class yt extends Ve {
|
|
908
|
+
constructor(e) {
|
|
909
|
+
super(), Ue(
|
|
910
|
+
this,
|
|
911
|
+
e,
|
|
912
|
+
ft,
|
|
913
|
+
pt,
|
|
914
|
+
qe,
|
|
915
|
+
{
|
|
916
|
+
endpoint: 22,
|
|
917
|
+
playerid: 23,
|
|
918
|
+
session: 24,
|
|
919
|
+
lang: 25,
|
|
920
|
+
clientstyling: 26,
|
|
921
|
+
clientstylingurl: 27,
|
|
922
|
+
mbsource: 28,
|
|
923
|
+
translationurl: 29,
|
|
924
|
+
gmversion: 30
|
|
925
|
+
},
|
|
926
|
+
ot,
|
|
927
|
+
[-1, -1, -1]
|
|
928
|
+
);
|
|
929
|
+
}
|
|
930
|
+
get endpoint() {
|
|
931
|
+
return this.$$.ctx[22];
|
|
932
|
+
}
|
|
933
|
+
set endpoint(e) {
|
|
934
|
+
this.$$set({ endpoint: e }), me();
|
|
935
|
+
}
|
|
936
|
+
get playerid() {
|
|
937
|
+
return this.$$.ctx[23];
|
|
938
|
+
}
|
|
939
|
+
set playerid(e) {
|
|
940
|
+
this.$$set({ playerid: e }), me();
|
|
941
|
+
}
|
|
942
|
+
get session() {
|
|
943
|
+
return this.$$.ctx[24];
|
|
944
|
+
}
|
|
945
|
+
set session(e) {
|
|
946
|
+
this.$$set({ session: e }), me();
|
|
947
|
+
}
|
|
948
|
+
get lang() {
|
|
949
|
+
return this.$$.ctx[25];
|
|
950
|
+
}
|
|
951
|
+
set lang(e) {
|
|
952
|
+
this.$$set({ lang: e }), me();
|
|
953
|
+
}
|
|
954
|
+
get clientstyling() {
|
|
955
|
+
return this.$$.ctx[26];
|
|
956
|
+
}
|
|
957
|
+
set clientstyling(e) {
|
|
958
|
+
this.$$set({ clientstyling: e }), me();
|
|
959
|
+
}
|
|
960
|
+
get clientstylingurl() {
|
|
961
|
+
return this.$$.ctx[27];
|
|
962
|
+
}
|
|
963
|
+
set clientstylingurl(e) {
|
|
964
|
+
this.$$set({ clientstylingurl: e }), me();
|
|
965
|
+
}
|
|
966
|
+
get mbsource() {
|
|
967
|
+
return this.$$.ctx[28];
|
|
968
|
+
}
|
|
969
|
+
set mbsource(e) {
|
|
970
|
+
this.$$set({ mbsource: e }), me();
|
|
971
|
+
}
|
|
972
|
+
get translationurl() {
|
|
973
|
+
return this.$$.ctx[29];
|
|
974
|
+
}
|
|
975
|
+
set translationurl(e) {
|
|
976
|
+
this.$$set({ translationurl: e }), me();
|
|
977
|
+
}
|
|
978
|
+
get gmversion() {
|
|
979
|
+
return this.$$.ctx[30];
|
|
980
|
+
}
|
|
981
|
+
set gmversion(e) {
|
|
982
|
+
this.$$set({ gmversion: e }), me();
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
rt(yt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, gmversion: {} }, [], [], !0);
|
|
986
|
+
export {
|
|
987
|
+
yt as default
|
|
988
|
+
};
|