@everymatrix/player-account-controller 1.44.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralLogout-DR-XxT8N.js +4832 -0
- package/components/GeneralLogout-bc8vhI_H.cjs +8 -0
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +1 -0
- package/components/PlayerAccountBettingHistory-fca6lsNS.js +328 -0
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +1 -0
- package/components/PlayerAccountBiometrics-CjiFJhw-.js +300 -0
- package/components/PlayerAccountClosure-C8BNtCld.cjs +1 -0
- package/components/PlayerAccountClosure-jv1Rveed.js +339 -0
- package/components/PlayerAccountController-B5GxyiMU.cjs +1 -0
- package/components/PlayerAccountController-BJBxx9xW.js +6176 -0
- package/components/PlayerAccountGamingLimits-D3HbxASA.js +758 -0
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-D0i0fMnV.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs +10 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js +4148 -0
- package/components/PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs +1 -0
- package/components/PlayerAccountGamingLimitsHistory2-CMLSdTnW.js +734 -0
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-BBL_jJC8.js +1488 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-B7_BHyXu.js +2794 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-DSOYjGfv.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-B_VQVAW1.js +339 -0
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-oY7Nyl9P.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-qU20DTdn.js +844 -0
- package/components/PlayerAccountMenu-Cguxd1Gn.js +576 -0
- package/components/PlayerAccountMenu-_QF6LQHb.cjs +1 -0
- package/components/PlayerAccountModal-BpuFEHxz.js +198 -0
- package/components/PlayerAccountModal-CIR41mpM.cjs +1 -0
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +1 -0
- package/components/PlayerAccountNotifications-SC-So9Ge.js +261 -0
- package/components/PlayerAccountSelfExclusion-DVLlbxoJ.cjs +3693 -0
- package/components/PlayerAccountSelfExclusion-zuKOJE1A.js +16404 -0
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +1 -0
- package/components/PlayerAccountTimeout-CMxX7J1C.js +448 -0
- package/components/PlayerActiveBonuses-CinsfLQL.js +986 -0
- package/components/PlayerActiveBonuses-bY0Y51Al.cjs +1 -0
- package/components/PlayerBonusCard-CQTRKi8G.js +565 -0
- package/components/PlayerBonusCard-DdxYH7lf.cjs +1 -0
- package/components/PlayerBonusHistory-CnA7jYi8.cjs +1 -0
- package/components/PlayerBonusHistory-Dz9N_GGZ.js +840 -0
- package/components/PlayerChangePassword-B9qM0mFd.js +1161 -0
- package/components/PlayerChangePassword-BDyXZ2_q.cjs +3 -0
- package/components/PlayerDeposit-CYpXuZIT.cjs +1 -0
- package/components/PlayerDeposit-Dvm1Z2l9.js +395 -0
- package/components/PlayerGamingHistory-1wUzXwQ1.js +920 -0
- package/components/PlayerGamingHistory-TcfH2pYz.cjs +1 -0
- package/components/PlayerPendingWithdrawals-DgF86kij.js +307 -0
- package/components/PlayerPendingWithdrawals-Dn63yKxo.cjs +1 -0
- package/components/PlayerProfileInfo-CsWD1vK0.cjs +1 -0
- package/components/PlayerProfileInfo-D-A2kQVn.js +1707 -0
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +1 -0
- package/components/PlayerRealityCheck-gh3vV1ow.js +587 -0
- package/components/PlayerTransactionHistory-DJICk5qY.cjs +1 -0
- package/components/PlayerTransactionHistory-DpPF3FQq.js +311 -0
- package/components/PlayerWithdrawal-BHyCdUgc.js +365 -0
- package/components/PlayerWithdrawal-DuxGAxKs.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/package.json +38 -32
- package/CHANGELOG.md +0 -19
- package/README.md +0 -0
- package/assets/arrow-down.svg +0 -3
- package/dist/player-account-controller.js +0 -2221
- package/dist/player-account-controller.js.map +0 -1
- package/documentation.md +0 -166
- package/index.html +0 -46
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/PlayerAccountController.svelte +0 -732
- package/src/PlayerAccountController.types.ts +0 -5
- package/src/i18n.js +0 -27
- package/src/index.ts +0 -4
- package/src/translations.js +0 -102
- package/stories/PlayerAccountPage.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,920 @@
|
|
|
1
|
+
var Be = Object.defineProperty;
|
|
2
|
+
var ke = Object.getOwnPropertySymbols;
|
|
3
|
+
var Ne = Object.prototype.hasOwnProperty, Se = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var Ee = (t, e, a) => e in t ? Be(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, De = (t, e) => {
|
|
5
|
+
for (var a in e || (e = {}))
|
|
6
|
+
Ne.call(e, a) && Ee(t, a, e[a]);
|
|
7
|
+
if (ke)
|
|
8
|
+
for (var a of ke(e))
|
|
9
|
+
Se.call(e, a) && Ee(t, a, e[a]);
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { a as Ye, $ as Oe, S as Ve, i as Ue, f as pe, c as qe, s as Qe, b as Ze, e as s, d as G, t as H, g as l, j as te, k as re, l as r, m as be, n as L, o as He, p as le, q as Xe, u as Je, v as Ke, w as ne, M as Fe, R as $e, T as xe, N as Le, r as ze, Q as et, x as Ge, O as tt, y as at } from "./GeneralLogout-DR-XxT8N.js";
|
|
13
|
+
import { h as he } from "./PlayerAccountGamingLimitsGroupEdit-Ds0hHVHM.js";
|
|
14
|
+
import "./PlayerAccountGamingLimits-D3HbxASA.js";
|
|
15
|
+
import "./PlayerAccountSelfExclusion-zuKOJE1A.js";
|
|
16
|
+
function Me(t, e) {
|
|
17
|
+
Ye(t, e);
|
|
18
|
+
}
|
|
19
|
+
function rt(t) {
|
|
20
|
+
Oe.set(t);
|
|
21
|
+
}
|
|
22
|
+
const Ce = {
|
|
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
|
+
},
|
|
38
|
+
"zh-hk": {
|
|
39
|
+
titleGamingHistory: "遊戲歷史",
|
|
40
|
+
return: "回來",
|
|
41
|
+
previous: "上一頁",
|
|
42
|
+
next: "下一個",
|
|
43
|
+
dateFrom: "從:",
|
|
44
|
+
dateTo: "至:",
|
|
45
|
+
dateFilter: "篩選",
|
|
46
|
+
numberOfResults: "節目:",
|
|
47
|
+
noRecord: "到目前為止,您還沒有玩任何遊戲。",
|
|
48
|
+
transactionId: "交易編號",
|
|
49
|
+
date: "日期",
|
|
50
|
+
gameName: "遊戲名稱",
|
|
51
|
+
stake: "賭注"
|
|
52
|
+
},
|
|
53
|
+
fr: {
|
|
54
|
+
titleGamingHistory: "Historique des jeux",
|
|
55
|
+
return: "Revenir",
|
|
56
|
+
previous: "Précedent",
|
|
57
|
+
next: "Suivant",
|
|
58
|
+
dateFrom: "De:",
|
|
59
|
+
dateTo: "A:",
|
|
60
|
+
dateFilter: "Filtre",
|
|
61
|
+
numberOfResults: "Afficher:",
|
|
62
|
+
noRecord: "Vous n'avez joué à aucun jeu jusqu'à présent.",
|
|
63
|
+
transactionId: "Transaction ID",
|
|
64
|
+
date: "Date",
|
|
65
|
+
gameName: "Nom du jeu",
|
|
66
|
+
stake: "Mise"
|
|
67
|
+
},
|
|
68
|
+
ro: {
|
|
69
|
+
titleGamingHistory: "Istoric jocuri",
|
|
70
|
+
return: "Înapoi la meniu",
|
|
71
|
+
previous: "Înapoi",
|
|
72
|
+
next: "Înainte",
|
|
73
|
+
dateFrom: "De la",
|
|
74
|
+
dateTo: "La",
|
|
75
|
+
dateFilter: "Filtru",
|
|
76
|
+
numberOfResults: "Arată",
|
|
77
|
+
noRecord: "Nu ai niciun istoric de jocuri în acest moment."
|
|
78
|
+
},
|
|
79
|
+
es: {
|
|
80
|
+
titleGamingHistory: "Historial de apuestas",
|
|
81
|
+
return: "Regresar",
|
|
82
|
+
previous: "Previo",
|
|
83
|
+
next: "Siguiente",
|
|
84
|
+
dateFrom: "Desde:",
|
|
85
|
+
dateTo: "A:",
|
|
86
|
+
dateFilter: "Filtro",
|
|
87
|
+
numberOfResults: "Mostrar:",
|
|
88
|
+
noRecord: "Aún no ha jugado ningún juego",
|
|
89
|
+
transactionId: "ID de Transacción",
|
|
90
|
+
date: "Fecha",
|
|
91
|
+
gameName: "Nombre del juego",
|
|
92
|
+
stake: "Apostado"
|
|
93
|
+
},
|
|
94
|
+
pt: {
|
|
95
|
+
titleGamingHistory: "Histórico de jogos",
|
|
96
|
+
return: "Voltar ao menu",
|
|
97
|
+
previous: "Anterior",
|
|
98
|
+
next: "Próximo",
|
|
99
|
+
dateFrom: "A partir de:",
|
|
100
|
+
dateTo: "Para:",
|
|
101
|
+
dateFilter: "Filtro:",
|
|
102
|
+
numberOfResults: "Mostrar:",
|
|
103
|
+
noRecord: "Você não jogou nenhum jogo até agora."
|
|
104
|
+
},
|
|
105
|
+
hr: {
|
|
106
|
+
titleGamingHistory: "Povijest igranja",
|
|
107
|
+
return: "Povratak",
|
|
108
|
+
previous: "Prethodno",
|
|
109
|
+
next: "Slijedeće",
|
|
110
|
+
dateFrom: "Od:",
|
|
111
|
+
dateTo: "Do:",
|
|
112
|
+
dateFilter: "Filter",
|
|
113
|
+
numberOfResults: "Prikaži:",
|
|
114
|
+
noRecord: "Do sada niste igrali nijednu igru.",
|
|
115
|
+
transactionId: "ID transakcije",
|
|
116
|
+
date: "Datum",
|
|
117
|
+
gameName: "Naziv igre",
|
|
118
|
+
stake: "Ulog"
|
|
119
|
+
},
|
|
120
|
+
"pt-br": {
|
|
121
|
+
titleGamingHistory: "História do jogo",
|
|
122
|
+
return: "Volte",
|
|
123
|
+
previous: "Anterior",
|
|
124
|
+
next: "Seguindo",
|
|
125
|
+
dateFrom: "De:",
|
|
126
|
+
dateTo: "PARA:",
|
|
127
|
+
dateFilter: "Filtro",
|
|
128
|
+
numberOfResults: "Mostrar:",
|
|
129
|
+
noRecord: "Ele não jogou até agora.",
|
|
130
|
+
transactionId: "ID da transação",
|
|
131
|
+
date: "Data",
|
|
132
|
+
gameName: "Nome do jogo",
|
|
133
|
+
stake: "Valor da aposta"
|
|
134
|
+
},
|
|
135
|
+
"es-mx": {
|
|
136
|
+
titleGamingHistory: "Historial de juego",
|
|
137
|
+
return: "Regresar",
|
|
138
|
+
previous: "Prev",
|
|
139
|
+
next: "Siguiente",
|
|
140
|
+
dateFrom: "De:",
|
|
141
|
+
dateTo: "A:",
|
|
142
|
+
dateFilter: "Filtro",
|
|
143
|
+
numberOfResults: "Mostrar:",
|
|
144
|
+
noRecord: "No ha jugado hasta el momento.",
|
|
145
|
+
transactionId: "ID de transacción",
|
|
146
|
+
date: "Fecha",
|
|
147
|
+
gameName: "Nombre de Juego",
|
|
148
|
+
stake: "Monto de apuesta"
|
|
149
|
+
},
|
|
150
|
+
tr: {
|
|
151
|
+
titleGamingHistory: "Oyun Tarihi",
|
|
152
|
+
return: "Geri dönmek",
|
|
153
|
+
previous: "Önceki",
|
|
154
|
+
next: "Sonraki",
|
|
155
|
+
dateFrom: "İtibaren:",
|
|
156
|
+
dateTo: "İle:",
|
|
157
|
+
dateFilter: "Filtre",
|
|
158
|
+
numberOfResults: "Göstermek:",
|
|
159
|
+
noRecord: "Şu ana kadar hiçbir oyun oynamadınız.",
|
|
160
|
+
transactionId: "İşlem Kimliği",
|
|
161
|
+
date: "Tarih",
|
|
162
|
+
gameName: "Oyun Adı",
|
|
163
|
+
stake: "Bahis"
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
function lt(t) {
|
|
167
|
+
Ze(t, "svelte-yujssr", `.PlayerGamingHistoryWrapper{background-color:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.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, 20px);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{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px);width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;padding:10px;cursor:pointer}.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)}}`);
|
|
168
|
+
}
|
|
169
|
+
function Te(t, e, a) {
|
|
170
|
+
const p = t.slice();
|
|
171
|
+
return p[55] = e[a], p;
|
|
172
|
+
}
|
|
173
|
+
function Ie(t, e, a) {
|
|
174
|
+
const p = t.slice();
|
|
175
|
+
return p[58] = e[a], p;
|
|
176
|
+
}
|
|
177
|
+
function it(t) {
|
|
178
|
+
let e, a, p, n, f, c, v, _, y, m, d = (
|
|
179
|
+
/*$_*/
|
|
180
|
+
t[14]("titleGamingHistory") + ""
|
|
181
|
+
), b, g, F;
|
|
182
|
+
return {
|
|
183
|
+
c() {
|
|
184
|
+
e = s("div"), a = ne("svg"), p = ne("defs"), n = ne("style"), f = H(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), c = ne("g"), v = ne("g"), _ = ne("path"), y = G(), m = s("h2"), b = H(d), l(_, "class", "aaa"), l(_, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), l(_, "transform", "translate(15 15) rotate(180)"), l(v, "transform", "translate(20 158)"), l(c, "transform", "translate(-20 -158)"), l(a, "xmlns", "http://www.w3.org/2000/svg"), l(a, "width", "15"), l(a, "height", "15"), l(a, "viewBox", "0 0 15 15"), l(m, "class", "PlayerGamingHistoryTitleMobile"), l(m, "part", "PlayerGamingHistoryTitleMobile"), l(e, "class", "MenuReturnButton"), l(e, "part", "MenuReturnButton");
|
|
185
|
+
},
|
|
186
|
+
m(k, P) {
|
|
187
|
+
re(k, e, P), r(e, a), r(a, p), r(p, n), r(n, f), r(a, c), r(c, v), r(v, _), r(e, y), r(e, m), r(m, b), g || (F = be(
|
|
188
|
+
e,
|
|
189
|
+
"click",
|
|
190
|
+
/*click_handler*/
|
|
191
|
+
t[29]
|
|
192
|
+
), g = !0);
|
|
193
|
+
},
|
|
194
|
+
p(k, P) {
|
|
195
|
+
P[0] & /*$_*/
|
|
196
|
+
16384 && d !== (d = /*$_*/
|
|
197
|
+
k[14]("titleGamingHistory") + "") && L(b, d);
|
|
198
|
+
},
|
|
199
|
+
d(k) {
|
|
200
|
+
k && le(e), g = !1, F();
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function Re(t) {
|
|
205
|
+
let e, a, p = (
|
|
206
|
+
/*$_*/
|
|
207
|
+
t[14]("numberOfResults") + ""
|
|
208
|
+
), n, f, c, v, _, y = Fe(
|
|
209
|
+
/*gameHistoryItems*/
|
|
210
|
+
t[15]
|
|
211
|
+
), m = [];
|
|
212
|
+
for (let d = 0; d < y.length; d += 1)
|
|
213
|
+
m[d] = je(Ie(t, y, d));
|
|
214
|
+
return {
|
|
215
|
+
c() {
|
|
216
|
+
e = s("div"), a = s("span"), n = H(p), f = G(), c = s("select");
|
|
217
|
+
for (let d = 0; d < m.length; d += 1)
|
|
218
|
+
m[d].c();
|
|
219
|
+
l(c, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
|
|
220
|
+
t[7] === void 0 && $e(() => (
|
|
221
|
+
/*select_change_handler*/
|
|
222
|
+
t[33].call(c)
|
|
223
|
+
)), l(e, "class", "PlayerGamingItemCountContainer");
|
|
224
|
+
},
|
|
225
|
+
m(d, b) {
|
|
226
|
+
re(d, e, b), r(e, a), r(a, n), r(e, f), r(e, c);
|
|
227
|
+
for (let g = 0; g < m.length; g += 1)
|
|
228
|
+
m[g] && m[g].m(c, null);
|
|
229
|
+
xe(
|
|
230
|
+
c,
|
|
231
|
+
/*gameHistoryLimit*/
|
|
232
|
+
t[7],
|
|
233
|
+
!0
|
|
234
|
+
), v || (_ = [
|
|
235
|
+
be(
|
|
236
|
+
c,
|
|
237
|
+
"change",
|
|
238
|
+
/*select_change_handler*/
|
|
239
|
+
t[33]
|
|
240
|
+
),
|
|
241
|
+
be(
|
|
242
|
+
c,
|
|
243
|
+
"change",
|
|
244
|
+
/*change_handler*/
|
|
245
|
+
t[34]
|
|
246
|
+
)
|
|
247
|
+
], v = !0);
|
|
248
|
+
},
|
|
249
|
+
p(d, b) {
|
|
250
|
+
if (b[0] & /*$_*/
|
|
251
|
+
16384 && p !== (p = /*$_*/
|
|
252
|
+
d[14]("numberOfResults") + "") && L(n, p), b[0] & /*gameHistoryItems*/
|
|
253
|
+
32768) {
|
|
254
|
+
y = Fe(
|
|
255
|
+
/*gameHistoryItems*/
|
|
256
|
+
d[15]
|
|
257
|
+
);
|
|
258
|
+
let g;
|
|
259
|
+
for (g = 0; g < y.length; g += 1) {
|
|
260
|
+
const F = Ie(d, y, g);
|
|
261
|
+
m[g] ? m[g].p(F, b) : (m[g] = je(F), m[g].c(), m[g].m(c, null));
|
|
262
|
+
}
|
|
263
|
+
for (; g < m.length; g += 1)
|
|
264
|
+
m[g].d(1);
|
|
265
|
+
m.length = y.length;
|
|
266
|
+
}
|
|
267
|
+
b[0] & /*gameHistoryLimit, gameHistoryItems*/
|
|
268
|
+
32896 && xe(
|
|
269
|
+
c,
|
|
270
|
+
/*gameHistoryLimit*/
|
|
271
|
+
d[7]
|
|
272
|
+
);
|
|
273
|
+
},
|
|
274
|
+
d(d) {
|
|
275
|
+
d && le(e), Le(m, d), v = !1, ze(_);
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
function je(t) {
|
|
280
|
+
let e, a = (
|
|
281
|
+
/*item*/
|
|
282
|
+
t[58] + ""
|
|
283
|
+
), p;
|
|
284
|
+
return {
|
|
285
|
+
c() {
|
|
286
|
+
e = s("option"), p = H(a), e.__value = /*item*/
|
|
287
|
+
t[58], et(e, e.__value);
|
|
288
|
+
},
|
|
289
|
+
m(n, f) {
|
|
290
|
+
re(n, e, f), r(e, p);
|
|
291
|
+
},
|
|
292
|
+
p: He,
|
|
293
|
+
d(n) {
|
|
294
|
+
n && le(e);
|
|
295
|
+
}
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
function nt(t) {
|
|
299
|
+
let e, a = (
|
|
300
|
+
/*$_*/
|
|
301
|
+
t[14]("noRecord") + ""
|
|
302
|
+
), p;
|
|
303
|
+
return {
|
|
304
|
+
c() {
|
|
305
|
+
e = s("p"), p = H(a), l(e, "class", "PlayerGamingHistoryEmpty");
|
|
306
|
+
},
|
|
307
|
+
m(n, f) {
|
|
308
|
+
re(n, e, f), r(e, p);
|
|
309
|
+
},
|
|
310
|
+
p(n, f) {
|
|
311
|
+
f[0] & /*$_*/
|
|
312
|
+
16384 && a !== (a = /*$_*/
|
|
313
|
+
n[14]("noRecord") + "") && L(p, a);
|
|
314
|
+
},
|
|
315
|
+
d(n) {
|
|
316
|
+
n && le(e);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
function ot(t) {
|
|
321
|
+
let e, a, p;
|
|
322
|
+
return {
|
|
323
|
+
c() {
|
|
324
|
+
e = s("p"), a = H("Invalid data: "), p = H(
|
|
325
|
+
/*invalidDataInput*/
|
|
326
|
+
t[8]
|
|
327
|
+
), l(e, "class", "PlayerGamingHistoryEmpty");
|
|
328
|
+
},
|
|
329
|
+
m(n, f) {
|
|
330
|
+
re(n, e, f), r(e, a), r(e, p);
|
|
331
|
+
},
|
|
332
|
+
p(n, f) {
|
|
333
|
+
f[0] & /*invalidDataInput*/
|
|
334
|
+
256 && L(
|
|
335
|
+
p,
|
|
336
|
+
/*invalidDataInput*/
|
|
337
|
+
n[8]
|
|
338
|
+
);
|
|
339
|
+
},
|
|
340
|
+
d(n) {
|
|
341
|
+
n && le(e);
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
function st(t) {
|
|
346
|
+
let e, a, p, n, f, c = (
|
|
347
|
+
/*$_*/
|
|
348
|
+
t[14]("transactionId") + ""
|
|
349
|
+
), v, _, y, m = (
|
|
350
|
+
/*$_*/
|
|
351
|
+
t[14]("date") + ""
|
|
352
|
+
), d, b, g, F = (
|
|
353
|
+
/*$_*/
|
|
354
|
+
t[14]("gameName") + ""
|
|
355
|
+
), k, P, q, N = (
|
|
356
|
+
/*$_*/
|
|
357
|
+
t[14]("stake") + ""
|
|
358
|
+
), S, Q, x, K = (
|
|
359
|
+
/*$_*/
|
|
360
|
+
t[14]("return") + ""
|
|
361
|
+
), M, U, E, z, I, R, Y, O, Z, C, w, ee = (
|
|
362
|
+
/*$_*/
|
|
363
|
+
t[14]("previous") + ""
|
|
364
|
+
), $, j, o, u, X, ae, ie = (
|
|
365
|
+
/*$_*/
|
|
366
|
+
t[14]("next") + ""
|
|
367
|
+
), oe, we, se, de, ue, ce, fe, ve, _e, me = Fe(
|
|
368
|
+
/*gamingHistoryData*/
|
|
369
|
+
t[13]
|
|
370
|
+
), V = [];
|
|
371
|
+
for (let h = 0; h < me.length; h += 1)
|
|
372
|
+
V[h] = Ae(Te(t, me, h));
|
|
373
|
+
return {
|
|
374
|
+
c() {
|
|
375
|
+
e = s("div"), a = s("table"), p = s("thead"), n = s("tr"), f = s("th"), v = H(c), _ = G(), y = s("th"), d = H(m), b = G(), g = s("th"), k = H(F), P = G(), q = s("th"), S = H(N), Q = G(), x = s("th"), M = H(K), U = G(), E = s("tbody");
|
|
376
|
+
for (let h = 0; h < V.length; h += 1)
|
|
377
|
+
V[h].c();
|
|
378
|
+
z = G(), I = s("div"), R = s("button"), Y = ne("svg"), O = ne("path"), C = G(), w = s("span"), $ = H(ee), u = G(), X = s("button"), ae = s("span"), oe = H(ie), we = G(), se = ne("svg"), de = ne("path"), l(e, "class", "PlayerGamingHistoryContainer"), l(O, "fill", Z = /*previousPage*/
|
|
379
|
+
t[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)"), l(O, "class", "a"), l(O, "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"), l(O, "transform", "translate(19.246 -6.188) rotate(90)"), l(Y, "xmlns", "http://www.w3.org/2000/svg"), l(Y, "width", "8"), l(Y, "height", "13.992"), l(Y, "viewBox", "0 0 8 13.992"), l(w, "class", "PlayerPaginationControlsText"), l(R, "class", j = "PlayerPaginationControls " + (/*previousPage*/
|
|
380
|
+
t[5] ? "" : "PlayerPaginationControlsDisabled")), R.disabled = o = /*previousPage*/
|
|
381
|
+
!t[5], l(ae, "class", "PlayerPaginationControlsText"), l(de, "fill", ue = /*nextPage*/
|
|
382
|
+
t[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)"), l(de, "class", "a"), l(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"), l(de, "transform", "translate(-11.246 20.179) rotate(-90)"), l(se, "xmlns", "http://www.w3.org/2000/svg"), l(se, "width", "8"), l(se, "height", "13.992"), l(se, "viewBox", "0 0 8 13.992"), l(X, "class", ce = "PlayerPaginationControls " + (/*nextPage*/
|
|
383
|
+
t[4] ? "" : "PlayerPaginationControlsDisabled")), X.disabled = fe = /*nextPage*/
|
|
384
|
+
!t[4], l(I, "class", "PlayerPaginationControlsArea");
|
|
385
|
+
},
|
|
386
|
+
m(h, T) {
|
|
387
|
+
re(h, e, T), r(e, a), r(a, p), r(p, n), r(n, f), r(f, v), r(n, _), r(n, y), r(y, d), r(n, b), r(n, g), r(g, k), r(n, P), r(n, q), r(q, S), r(n, Q), r(n, x), r(x, M), r(a, U), r(a, E);
|
|
388
|
+
for (let B = 0; B < V.length; B += 1)
|
|
389
|
+
V[B] && V[B].m(E, null);
|
|
390
|
+
re(h, z, T), re(h, I, T), r(I, R), r(R, Y), r(Y, O), r(R, C), r(R, w), r(w, $), r(I, u), r(I, X), r(X, ae), r(ae, oe), r(X, we), r(X, se), r(se, de), ve || (_e = [
|
|
391
|
+
be(
|
|
392
|
+
R,
|
|
393
|
+
"click",
|
|
394
|
+
/*click_handler_2*/
|
|
395
|
+
t[35]
|
|
396
|
+
),
|
|
397
|
+
be(
|
|
398
|
+
X,
|
|
399
|
+
"click",
|
|
400
|
+
/*click_handler_3*/
|
|
401
|
+
t[36]
|
|
402
|
+
)
|
|
403
|
+
], ve = !0);
|
|
404
|
+
},
|
|
405
|
+
p(h, T) {
|
|
406
|
+
if (T[0] & /*$_*/
|
|
407
|
+
16384 && c !== (c = /*$_*/
|
|
408
|
+
h[14]("transactionId") + "") && L(v, c), T[0] & /*$_*/
|
|
409
|
+
16384 && m !== (m = /*$_*/
|
|
410
|
+
h[14]("date") + "") && L(d, m), T[0] & /*$_*/
|
|
411
|
+
16384 && F !== (F = /*$_*/
|
|
412
|
+
h[14]("gameName") + "") && L(k, F), T[0] & /*$_*/
|
|
413
|
+
16384 && N !== (N = /*$_*/
|
|
414
|
+
h[14]("stake") + "") && L(S, N), T[0] & /*$_*/
|
|
415
|
+
16384 && K !== (K = /*$_*/
|
|
416
|
+
h[14]("return") + "") && L(M, K), T[0] & /*$_, gamingHistoryData, formatDate*/
|
|
417
|
+
1073152) {
|
|
418
|
+
me = Fe(
|
|
419
|
+
/*gamingHistoryData*/
|
|
420
|
+
h[13]
|
|
421
|
+
);
|
|
422
|
+
let B;
|
|
423
|
+
for (B = 0; B < me.length; B += 1) {
|
|
424
|
+
const Pe = Te(h, me, B);
|
|
425
|
+
V[B] ? V[B].p(Pe, T) : (V[B] = Ae(Pe), V[B].c(), V[B].m(E, null));
|
|
426
|
+
}
|
|
427
|
+
for (; B < V.length; B += 1)
|
|
428
|
+
V[B].d(1);
|
|
429
|
+
V.length = me.length;
|
|
430
|
+
}
|
|
431
|
+
T[0] & /*previousPage*/
|
|
432
|
+
32 && Z !== (Z = /*previousPage*/
|
|
433
|
+
h[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)") && l(O, "fill", Z), T[0] & /*$_*/
|
|
434
|
+
16384 && ee !== (ee = /*$_*/
|
|
435
|
+
h[14]("previous") + "") && L($, ee), T[0] & /*previousPage*/
|
|
436
|
+
32 && j !== (j = "PlayerPaginationControls " + (/*previousPage*/
|
|
437
|
+
h[5] ? "" : "PlayerPaginationControlsDisabled")) && l(R, "class", j), T[0] & /*previousPage*/
|
|
438
|
+
32 && o !== (o = /*previousPage*/
|
|
439
|
+
!h[5]) && (R.disabled = o), T[0] & /*$_*/
|
|
440
|
+
16384 && ie !== (ie = /*$_*/
|
|
441
|
+
h[14]("next") + "") && L(oe, ie), T[0] & /*nextPage*/
|
|
442
|
+
16 && ue !== (ue = /*nextPage*/
|
|
443
|
+
h[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)") && l(de, "fill", ue), T[0] & /*nextPage*/
|
|
444
|
+
16 && ce !== (ce = "PlayerPaginationControls " + (/*nextPage*/
|
|
445
|
+
h[4] ? "" : "PlayerPaginationControlsDisabled")) && l(X, "class", ce), T[0] & /*nextPage*/
|
|
446
|
+
16 && fe !== (fe = /*nextPage*/
|
|
447
|
+
!h[4]) && (X.disabled = fe);
|
|
448
|
+
},
|
|
449
|
+
d(h) {
|
|
450
|
+
h && (le(e), le(z), le(I)), Le(V, h), ve = !1, ze(_e);
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
function dt(t) {
|
|
455
|
+
let e;
|
|
456
|
+
return {
|
|
457
|
+
c() {
|
|
458
|
+
e = s("div"), l(e, "class", "DataLoader");
|
|
459
|
+
},
|
|
460
|
+
m(a, p) {
|
|
461
|
+
re(a, e, p);
|
|
462
|
+
},
|
|
463
|
+
p: He,
|
|
464
|
+
d(a) {
|
|
465
|
+
a && le(e);
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
function Ae(t) {
|
|
470
|
+
var w, ee, $, j;
|
|
471
|
+
let e, a, p, n = (
|
|
472
|
+
/*gamingHistoryDataset*/
|
|
473
|
+
t[55].roundId + ""
|
|
474
|
+
), f, c, v, _, y, m, d = (
|
|
475
|
+
/*formatDate*/
|
|
476
|
+
t[20](
|
|
477
|
+
/*gamingHistoryDataset*/
|
|
478
|
+
t[55]
|
|
479
|
+
) + ""
|
|
480
|
+
), b, g, F, k, P, q = (
|
|
481
|
+
/*gamingHistoryDataset*/
|
|
482
|
+
((ee = (w = t[55].gameModel) == null ? void 0 : w.name) != null ? ee : "-") + ""
|
|
483
|
+
), N, S, Q, x, K, M = (
|
|
484
|
+
/*gamingHistoryDataset*/
|
|
485
|
+
(($ = t[55].stakeAmount) != null ? $ : "-") + ""
|
|
486
|
+
), U, E, z, I, R, Y = (
|
|
487
|
+
/*gamingHistoryDataset*/
|
|
488
|
+
((j = t[55].returnAmount) != null ? j : "-") + ""
|
|
489
|
+
), O, Z, C;
|
|
490
|
+
return {
|
|
491
|
+
c() {
|
|
492
|
+
e = s("tr"), a = s("td"), p = s("span"), f = H(n), _ = G(), y = s("td"), m = s("span"), b = H(d), F = G(), k = s("td"), P = s("span"), N = H(q), Q = G(), x = s("td"), K = s("span"), U = H(M), z = G(), I = s("td"), R = s("span"), O = H(Y), C = G(), l(a, "data-label", c = /*$_*/
|
|
493
|
+
t[14]("transactionId")), l(a, "title", v = /*gamingHistoryDataset*/
|
|
494
|
+
t[55].roundId), l(y, "data-label", g = /*$_*/
|
|
495
|
+
t[14]("date")), l(k, "data-label", S = /*$_*/
|
|
496
|
+
t[14]("gameName")), l(x, "data-label", E = /*$_*/
|
|
497
|
+
t[14]("stake")), l(I, "data-label", Z = /*$_*/
|
|
498
|
+
t[14]("return"));
|
|
499
|
+
},
|
|
500
|
+
m(o, u) {
|
|
501
|
+
re(o, e, u), r(e, a), r(a, p), r(p, f), r(e, _), r(e, y), r(y, m), r(m, b), r(e, F), r(e, k), r(k, P), r(P, N), r(e, Q), r(e, x), r(x, K), r(K, U), r(e, z), r(e, I), r(I, R), r(R, O), r(e, C);
|
|
502
|
+
},
|
|
503
|
+
p(o, u) {
|
|
504
|
+
var X, ae, ie, oe;
|
|
505
|
+
u[0] & /*gamingHistoryData*/
|
|
506
|
+
8192 && n !== (n = /*gamingHistoryDataset*/
|
|
507
|
+
o[55].roundId + "") && L(f, n), u[0] & /*$_*/
|
|
508
|
+
16384 && c !== (c = /*$_*/
|
|
509
|
+
o[14]("transactionId")) && l(a, "data-label", c), u[0] & /*gamingHistoryData*/
|
|
510
|
+
8192 && v !== (v = /*gamingHistoryDataset*/
|
|
511
|
+
o[55].roundId) && l(a, "title", v), u[0] & /*gamingHistoryData*/
|
|
512
|
+
8192 && d !== (d = /*formatDate*/
|
|
513
|
+
o[20](
|
|
514
|
+
/*gamingHistoryDataset*/
|
|
515
|
+
o[55]
|
|
516
|
+
) + "") && L(b, d), u[0] & /*$_*/
|
|
517
|
+
16384 && g !== (g = /*$_*/
|
|
518
|
+
o[14]("date")) && l(y, "data-label", g), u[0] & /*gamingHistoryData*/
|
|
519
|
+
8192 && q !== (q = /*gamingHistoryDataset*/
|
|
520
|
+
((ae = (X = o[55].gameModel) == null ? void 0 : X.name) != null ? ae : "-") + "") && L(N, q), u[0] & /*$_*/
|
|
521
|
+
16384 && S !== (S = /*$_*/
|
|
522
|
+
o[14]("gameName")) && l(k, "data-label", S), u[0] & /*gamingHistoryData*/
|
|
523
|
+
8192 && M !== (M = /*gamingHistoryDataset*/
|
|
524
|
+
((ie = o[55].stakeAmount) != null ? ie : "-") + "") && L(U, M), u[0] & /*$_*/
|
|
525
|
+
16384 && E !== (E = /*$_*/
|
|
526
|
+
o[14]("stake")) && l(x, "data-label", E), u[0] & /*gamingHistoryData*/
|
|
527
|
+
8192 && Y !== (Y = /*gamingHistoryDataset*/
|
|
528
|
+
((oe = o[55].returnAmount) != null ? oe : "-") + "") && L(O, Y), u[0] & /*$_*/
|
|
529
|
+
16384 && Z !== (Z = /*$_*/
|
|
530
|
+
o[14]("return")) && l(I, "data-label", Z);
|
|
531
|
+
},
|
|
532
|
+
d(o) {
|
|
533
|
+
o && le(e);
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
function mt(t) {
|
|
538
|
+
let e, a, p, n, f = (
|
|
539
|
+
/*$_*/
|
|
540
|
+
t[14]("titleGamingHistory") + ""
|
|
541
|
+
), c, v, _, y, m, d, b, g = (
|
|
542
|
+
/*$_*/
|
|
543
|
+
t[14]("dateFrom") + ""
|
|
544
|
+
), F, k, P, q, N, S, Q = (
|
|
545
|
+
/*$_*/
|
|
546
|
+
t[14]("dateTo") + ""
|
|
547
|
+
), x, K, M, U, E, z = (
|
|
548
|
+
/*$_*/
|
|
549
|
+
t[14]("dateFilter") + ""
|
|
550
|
+
), I, R, Y, O, Z, C = (
|
|
551
|
+
/*isMobile*/
|
|
552
|
+
t[16] && it(t)
|
|
553
|
+
), w = !/*mediaQueryMedim*/
|
|
554
|
+
t[12].matches && Re(t);
|
|
555
|
+
function ee(o, u) {
|
|
556
|
+
return (
|
|
557
|
+
/*isLoading*/
|
|
558
|
+
o[9] ? dt : (
|
|
559
|
+
/*gamingHistoryData*/
|
|
560
|
+
o[13].length > 0 ? st : (
|
|
561
|
+
/*invalidDataInput*/
|
|
562
|
+
o[8].length > 0 ? ot : nt
|
|
563
|
+
)
|
|
564
|
+
)
|
|
565
|
+
);
|
|
566
|
+
}
|
|
567
|
+
let $ = ee(t), j = $(t);
|
|
568
|
+
return {
|
|
569
|
+
c() {
|
|
570
|
+
e = s("div"), a = s("div"), C && C.c(), p = G(), n = s("h2"), c = H(f), v = G(), _ = s("div"), y = s("div"), m = s("div"), d = s("div"), b = s("span"), F = H(g), k = G(), P = s("vaadin-date-picker"), q = G(), N = s("div"), S = s("span"), x = H(Q), K = G(), M = s("vaadin-date-picker"), U = G(), E = s("button"), I = H(z), R = G(), w && w.c(), Y = G(), j.c(), l(n, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
|
|
571
|
+
(t[16] ? "PlayerGamingHistoryTitleNone" : "")), te(
|
|
572
|
+
P,
|
|
573
|
+
"max",
|
|
574
|
+
/*maxDate*/
|
|
575
|
+
t[10]
|
|
576
|
+
), te(P, "placeholder", "From"), te(
|
|
577
|
+
P,
|
|
578
|
+
"value",
|
|
579
|
+
/*yesterday*/
|
|
580
|
+
t[11]
|
|
581
|
+
), te(P, "class", "VaadinDatePicker"), l(d, "class", "PlayerGamingDateWrapper"), te(
|
|
582
|
+
M,
|
|
583
|
+
"max",
|
|
584
|
+
/*maxDate*/
|
|
585
|
+
t[10]
|
|
586
|
+
), te(M, "placeholder", "To"), te(
|
|
587
|
+
M,
|
|
588
|
+
"value",
|
|
589
|
+
/*maxDate*/
|
|
590
|
+
t[10]
|
|
591
|
+
), te(M, "class", "VaadinDatePicker"), l(N, "class", "PlayerGamingDateWrapper"), l(m, "class", "PlayerGamingDateContainer"), l(E, "class", "PlayerGamingHistoryFilterButton"), l(y, "class", "PlayerGamingHistoryFilterWrapper"), l(_, "class", "PlayerGamingHistoryTopSection"), l(a, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
|
|
592
|
+
(t[16] ? "PlayerGamingHistoryWrapperMobile" : "") + " " + /*mediaQuery*/
|
|
593
|
+
(t[17].matches && /*isMobile*/
|
|
594
|
+
t[16] ? "PlayerTabletGamingHistoryWrapper" : ""));
|
|
595
|
+
},
|
|
596
|
+
m(o, u) {
|
|
597
|
+
re(o, e, u), r(e, a), C && C.m(a, null), r(a, p), r(a, n), r(n, c), r(a, v), r(a, _), r(_, y), r(y, m), r(m, d), r(d, b), r(b, F), r(d, k), r(d, P), t[30](P), r(m, q), r(m, N), r(N, S), r(S, x), r(N, K), r(N, M), t[31](M), r(y, U), r(y, E), r(E, I), r(y, R), w && w.m(y, null), r(a, Y), j.m(a, null), t[37](a), t[38](e), O || (Z = be(
|
|
598
|
+
E,
|
|
599
|
+
"click",
|
|
600
|
+
/*click_handler_1*/
|
|
601
|
+
t[32]
|
|
602
|
+
), O = !0);
|
|
603
|
+
},
|
|
604
|
+
p(o, u) {
|
|
605
|
+
/*isMobile*/
|
|
606
|
+
o[16] && C.p(o, u), u[0] & /*$_*/
|
|
607
|
+
16384 && f !== (f = /*$_*/
|
|
608
|
+
o[14]("titleGamingHistory") + "") && L(c, f), u[0] & /*$_*/
|
|
609
|
+
16384 && g !== (g = /*$_*/
|
|
610
|
+
o[14]("dateFrom") + "") && L(F, g), u[0] & /*maxDate*/
|
|
611
|
+
1024 && te(
|
|
612
|
+
P,
|
|
613
|
+
"max",
|
|
614
|
+
/*maxDate*/
|
|
615
|
+
o[10]
|
|
616
|
+
), u[0] & /*yesterday*/
|
|
617
|
+
2048 && te(
|
|
618
|
+
P,
|
|
619
|
+
"value",
|
|
620
|
+
/*yesterday*/
|
|
621
|
+
o[11]
|
|
622
|
+
), u[0] & /*$_*/
|
|
623
|
+
16384 && Q !== (Q = /*$_*/
|
|
624
|
+
o[14]("dateTo") + "") && L(x, Q), u[0] & /*maxDate*/
|
|
625
|
+
1024 && te(
|
|
626
|
+
M,
|
|
627
|
+
"max",
|
|
628
|
+
/*maxDate*/
|
|
629
|
+
o[10]
|
|
630
|
+
), u[0] & /*maxDate*/
|
|
631
|
+
1024 && te(
|
|
632
|
+
M,
|
|
633
|
+
"value",
|
|
634
|
+
/*maxDate*/
|
|
635
|
+
o[10]
|
|
636
|
+
), u[0] & /*$_*/
|
|
637
|
+
16384 && z !== (z = /*$_*/
|
|
638
|
+
o[14]("dateFilter") + "") && L(I, z), /*mediaQueryMedim*/
|
|
639
|
+
o[12].matches ? w && (w.d(1), w = null) : w ? w.p(o, u) : (w = Re(o), w.c(), w.m(y, null)), $ === ($ = ee(o)) && j ? j.p(o, u) : (j.d(1), j = $(o), j && (j.c(), j.m(a, null)));
|
|
640
|
+
},
|
|
641
|
+
i: He,
|
|
642
|
+
o: He,
|
|
643
|
+
d(o) {
|
|
644
|
+
o && le(e), C && C.d(), t[30](null), t[31](null), w && w.d(), j.d(), t[37](null), t[38](null), O = !1, Z();
|
|
645
|
+
}
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
let We = "0";
|
|
649
|
+
function pt(t, e, a) {
|
|
650
|
+
let p;
|
|
651
|
+
Xe(t, at, (i) => a(14, p = i));
|
|
652
|
+
let { endpoint: n = "" } = e, { playerid: f = "" } = e, { session: c = "" } = e, { lang: v = "en" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: m = "" } = e, { gmversion: d = "" } = e, b = "", g = "", F = "", k, P = he().format("YYYY-MM-DD"), q = he().format("YYYY-MM-DD"), N = ["5", "10", "25", "50"], S = "5", Q = "", x = !1, K = window.navigator.userAgent, M = Je(K) !== "PC", U, E, z, I, R;
|
|
653
|
+
I = he(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), R = he(/* @__PURE__ */ new Date()).subtract(1, "days").format("YYYY-MM-DD");
|
|
654
|
+
const Y = () => {
|
|
655
|
+
fetch(m).then((A) => A.json()).then((A) => {
|
|
656
|
+
Object.keys(A).forEach((W) => {
|
|
657
|
+
Me(W, A[W]);
|
|
658
|
+
});
|
|
659
|
+
}).catch((A) => {
|
|
660
|
+
console.log(A);
|
|
661
|
+
});
|
|
662
|
+
};
|
|
663
|
+
Object.keys(Ce).forEach((i) => {
|
|
664
|
+
Me(i, Ce[i]);
|
|
665
|
+
});
|
|
666
|
+
let O = window.matchMedia("(min-width: 768px)"), Z = window.matchMedia("(max-width: 1280px)"), C = [];
|
|
667
|
+
const w = () => {
|
|
668
|
+
window.postMessage(
|
|
669
|
+
{
|
|
670
|
+
type: "PlayerAccountMenuActive",
|
|
671
|
+
isMobile: M
|
|
672
|
+
},
|
|
673
|
+
window.location.href
|
|
674
|
+
);
|
|
675
|
+
}, ee = () => {
|
|
676
|
+
a(12, Z = window.matchMedia("(max-width: 1280px)"));
|
|
677
|
+
}, $ = (i) => {
|
|
678
|
+
let A = /* @__PURE__ */ new Map();
|
|
679
|
+
return i.forEach((W) => {
|
|
680
|
+
let J = W.transType === "1" ? "stakeAmount" : "returnAmount", ye = A.get(W.roundId);
|
|
681
|
+
if (ye)
|
|
682
|
+
ye[J] = W.totalAmount;
|
|
683
|
+
else {
|
|
684
|
+
let D = De({}, W);
|
|
685
|
+
D[J] = W.totalAmount, A.set(W.roundId, D);
|
|
686
|
+
}
|
|
687
|
+
}), i = Array.from(A.values()), i;
|
|
688
|
+
}, j = (i, A, W) => {
|
|
689
|
+
let J = new URL(i);
|
|
690
|
+
a(13, C = []);
|
|
691
|
+
let ye = {
|
|
692
|
+
method: "GET",
|
|
693
|
+
headers: { "X-SessionID": c }
|
|
694
|
+
};
|
|
695
|
+
A || (J.searchParams.append("offset", String(+We * 2)), J.searchParams.append("limit", String(+S * 2))), W && (J.searchParams.append("startDate", P), J.searchParams.append("endDate", q)), a(9, x = !0), fetch(J.href, ye).then((D) => D.json()).then(
|
|
696
|
+
(D) => {
|
|
697
|
+
if (!D.error)
|
|
698
|
+
a(13, C = D.transactions), a(13, C = $(C)), a(4, g = D.pagination.next), a(5, F = D.pagination.previous);
|
|
699
|
+
else {
|
|
700
|
+
let ge = D.error.split(":");
|
|
701
|
+
a(8, Q = ge[1].substring(0, ge[1].lastIndexOf(" ")) + " " + ge[2]);
|
|
702
|
+
}
|
|
703
|
+
a(9, x = !1);
|
|
704
|
+
},
|
|
705
|
+
(D) => {
|
|
706
|
+
a(9, x = !1), console.error(D);
|
|
707
|
+
}
|
|
708
|
+
);
|
|
709
|
+
}, o = (i, A, W) => {
|
|
710
|
+
let J = new URL(i);
|
|
711
|
+
a(13, C = []), a(8, Q = "");
|
|
712
|
+
let ye = {
|
|
713
|
+
method: "GET",
|
|
714
|
+
headers: { "X-SessionID": c }
|
|
715
|
+
};
|
|
716
|
+
A || (J.searchParams.append("offset", We), J.searchParams.append("limit", S)), W && (J.searchParams.append("startDate", P), J.searchParams.append("endDate", q)), a(9, x = !0), fetch(J.href, ye).then((D) => D.json()).then(
|
|
717
|
+
(D) => {
|
|
718
|
+
if (!D.error)
|
|
719
|
+
a(13, C = D.transactions), a(4, g = D.pagination.next), a(5, F = D.pagination.previous);
|
|
720
|
+
else {
|
|
721
|
+
let ge = D.error.split(":");
|
|
722
|
+
a(8, Q = ge[1].substring(0, ge[1].lastIndexOf(" ")) + " " + ge[2]);
|
|
723
|
+
}
|
|
724
|
+
a(9, x = !1);
|
|
725
|
+
},
|
|
726
|
+
(D) => {
|
|
727
|
+
a(9, x = !1), console.error(D);
|
|
728
|
+
}
|
|
729
|
+
);
|
|
730
|
+
}, u = (i, A, W) => {
|
|
731
|
+
switch (d) {
|
|
732
|
+
case "gm16":
|
|
733
|
+
j(i, A, W);
|
|
734
|
+
break;
|
|
735
|
+
default:
|
|
736
|
+
o(i, A, W);
|
|
737
|
+
break;
|
|
738
|
+
}
|
|
739
|
+
window.postMessage({ type: "ScrollToTop" }, window.location.href);
|
|
740
|
+
}, X = () => {
|
|
741
|
+
rt(v), a(3, b = d === "gm16" ? `${n}/v1/player/${f}/transactions/wagering?type=Casino` : `${n}/v1/player/${f}/bets`), u(b, !1, !0);
|
|
742
|
+
}, ae = (i) => {
|
|
743
|
+
if (i.data)
|
|
744
|
+
switch (i.data.type) {
|
|
745
|
+
}
|
|
746
|
+
}, ie = (i) => {
|
|
747
|
+
P = i.target.value;
|
|
748
|
+
}, oe = (i) => {
|
|
749
|
+
q = i.target.value;
|
|
750
|
+
}, we = () => {
|
|
751
|
+
U.addEventListener("change", ie, !1), E.addEventListener("change", oe, !1);
|
|
752
|
+
}, se = () => {
|
|
753
|
+
let i = document.createElement("style");
|
|
754
|
+
i.innerHTML = _, z.appendChild(i);
|
|
755
|
+
}, de = () => {
|
|
756
|
+
let i = new URL(y), A = document.createElement("style");
|
|
757
|
+
fetch(i.href).then((W) => W.text()).then((W) => {
|
|
758
|
+
A.innerHTML = W, setTimeout(
|
|
759
|
+
() => {
|
|
760
|
+
z.appendChild(A);
|
|
761
|
+
},
|
|
762
|
+
1
|
|
763
|
+
);
|
|
764
|
+
});
|
|
765
|
+
}, ue = (i) => d === "gm16" ? he(i.ins).format("D/M/YYYY - h:mm A") : he(i.roundStartDate).format("D/M/YYYY - h:mm A");
|
|
766
|
+
Ke(() => (window.addEventListener("message", ae, !1), window.addEventListener("resize", ee, !1), () => {
|
|
767
|
+
U.removeEventListener("change", ie), E.removeEventListener("change", oe), window.removeEventListener("message", ae), window.removeEventListener("resize", ae);
|
|
768
|
+
}));
|
|
769
|
+
const ce = () => w();
|
|
770
|
+
function fe(i) {
|
|
771
|
+
Ge[i ? "unshift" : "push"](() => {
|
|
772
|
+
U = i, a(0, U);
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
function ve(i) {
|
|
776
|
+
Ge[i ? "unshift" : "push"](() => {
|
|
777
|
+
E = i, a(1, E);
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
const _e = () => u(b, !1, !0);
|
|
781
|
+
function me() {
|
|
782
|
+
S = tt(this), a(7, S), a(15, N);
|
|
783
|
+
}
|
|
784
|
+
const V = () => u(b, !1, !0), h = () => u(F, !0, !1), T = () => u(g, !0, !1);
|
|
785
|
+
function B(i) {
|
|
786
|
+
Ge[i ? "unshift" : "push"](() => {
|
|
787
|
+
k = i, a(6, k);
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
function Pe(i) {
|
|
791
|
+
Ge[i ? "unshift" : "push"](() => {
|
|
792
|
+
z = i, a(2, z);
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
return t.$$set = (i) => {
|
|
796
|
+
"endpoint" in i && a(21, n = i.endpoint), "playerid" in i && a(22, f = i.playerid), "session" in i && a(23, c = i.session), "lang" in i && a(24, v = i.lang), "clientstyling" in i && a(25, _ = i.clientstyling), "clientstylingurl" in i && a(26, y = i.clientstylingurl), "translationurl" in i && a(27, m = i.translationurl), "gmversion" in i && a(28, d = i.gmversion);
|
|
797
|
+
}, t.$$.update = () => {
|
|
798
|
+
t.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
799
|
+
3 && U && E && we(), t.$$.dirty[0] & /*session, playerid, endpoint, lang*/
|
|
800
|
+
31457280 && c && f && n && v && X(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
801
|
+
67108868 && y && z && de(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
802
|
+
33554436 && _ && z && se(), t.$$.dirty[0] & /*translationurl*/
|
|
803
|
+
134217728 && m && Y();
|
|
804
|
+
}, [
|
|
805
|
+
U,
|
|
806
|
+
E,
|
|
807
|
+
z,
|
|
808
|
+
b,
|
|
809
|
+
g,
|
|
810
|
+
F,
|
|
811
|
+
k,
|
|
812
|
+
S,
|
|
813
|
+
Q,
|
|
814
|
+
x,
|
|
815
|
+
I,
|
|
816
|
+
R,
|
|
817
|
+
Z,
|
|
818
|
+
C,
|
|
819
|
+
p,
|
|
820
|
+
N,
|
|
821
|
+
M,
|
|
822
|
+
O,
|
|
823
|
+
w,
|
|
824
|
+
u,
|
|
825
|
+
ue,
|
|
826
|
+
n,
|
|
827
|
+
f,
|
|
828
|
+
c,
|
|
829
|
+
v,
|
|
830
|
+
_,
|
|
831
|
+
y,
|
|
832
|
+
m,
|
|
833
|
+
d,
|
|
834
|
+
ce,
|
|
835
|
+
fe,
|
|
836
|
+
ve,
|
|
837
|
+
_e,
|
|
838
|
+
me,
|
|
839
|
+
V,
|
|
840
|
+
h,
|
|
841
|
+
T,
|
|
842
|
+
B,
|
|
843
|
+
Pe
|
|
844
|
+
];
|
|
845
|
+
}
|
|
846
|
+
class gt extends Ve {
|
|
847
|
+
constructor(e) {
|
|
848
|
+
super(), Ue(
|
|
849
|
+
this,
|
|
850
|
+
e,
|
|
851
|
+
pt,
|
|
852
|
+
mt,
|
|
853
|
+
Qe,
|
|
854
|
+
{
|
|
855
|
+
endpoint: 21,
|
|
856
|
+
playerid: 22,
|
|
857
|
+
session: 23,
|
|
858
|
+
lang: 24,
|
|
859
|
+
clientstyling: 25,
|
|
860
|
+
clientstylingurl: 26,
|
|
861
|
+
translationurl: 27,
|
|
862
|
+
gmversion: 28
|
|
863
|
+
},
|
|
864
|
+
lt,
|
|
865
|
+
[-1, -1]
|
|
866
|
+
);
|
|
867
|
+
}
|
|
868
|
+
get endpoint() {
|
|
869
|
+
return this.$$.ctx[21];
|
|
870
|
+
}
|
|
871
|
+
set endpoint(e) {
|
|
872
|
+
this.$$set({ endpoint: e }), pe();
|
|
873
|
+
}
|
|
874
|
+
get playerid() {
|
|
875
|
+
return this.$$.ctx[22];
|
|
876
|
+
}
|
|
877
|
+
set playerid(e) {
|
|
878
|
+
this.$$set({ playerid: e }), pe();
|
|
879
|
+
}
|
|
880
|
+
get session() {
|
|
881
|
+
return this.$$.ctx[23];
|
|
882
|
+
}
|
|
883
|
+
set session(e) {
|
|
884
|
+
this.$$set({ session: e }), pe();
|
|
885
|
+
}
|
|
886
|
+
get lang() {
|
|
887
|
+
return this.$$.ctx[24];
|
|
888
|
+
}
|
|
889
|
+
set lang(e) {
|
|
890
|
+
this.$$set({ lang: e }), pe();
|
|
891
|
+
}
|
|
892
|
+
get clientstyling() {
|
|
893
|
+
return this.$$.ctx[25];
|
|
894
|
+
}
|
|
895
|
+
set clientstyling(e) {
|
|
896
|
+
this.$$set({ clientstyling: e }), pe();
|
|
897
|
+
}
|
|
898
|
+
get clientstylingurl() {
|
|
899
|
+
return this.$$.ctx[26];
|
|
900
|
+
}
|
|
901
|
+
set clientstylingurl(e) {
|
|
902
|
+
this.$$set({ clientstylingurl: e }), pe();
|
|
903
|
+
}
|
|
904
|
+
get translationurl() {
|
|
905
|
+
return this.$$.ctx[27];
|
|
906
|
+
}
|
|
907
|
+
set translationurl(e) {
|
|
908
|
+
this.$$set({ translationurl: e }), pe();
|
|
909
|
+
}
|
|
910
|
+
get gmversion() {
|
|
911
|
+
return this.$$.ctx[28];
|
|
912
|
+
}
|
|
913
|
+
set gmversion(e) {
|
|
914
|
+
this.$$set({ gmversion: e }), pe();
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
qe(gt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {} }, [], [], !0);
|
|
918
|
+
export {
|
|
919
|
+
gt as default
|
|
920
|
+
};
|