@everymatrix/casino-header-controller-nd 1.89.0 → 1.89.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/{CasinoHamburgerMenuNd-C20WARcb.js → CasinoHamburgerMenuNd-C3GWQXmv.js} +1 -1
- package/components/{CasinoHamburgerMenuNd-B4QZvkD8.js → CasinoHamburgerMenuNd-Ctin9D1n.js} +1 -1
- package/components/{CasinoHamburgerMenuNd-v83ac_-t.cjs → CasinoHamburgerMenuNd-Dy_ZPbVP.cjs} +1 -1
- package/components/{CasinoHeaderControllerNd-KJVxZm0e.js → CasinoHeaderControllerNd-BNDsJ0W8.js} +1138 -1120
- package/components/{CasinoHeaderControllerNd-jRVeL-3S.cjs → CasinoHeaderControllerNd-BWivTr9J.cjs} +4 -4
- package/components/{CasinoHeaderControllerNd-C3_zgH0i.js → CasinoHeaderControllerNd-DwjT7tNR.js} +1110 -1092
- package/components/PlayerAccountBalanceModalNd-BcX135Ha.js +1653 -0
- package/components/PlayerAccountBalanceModalNd-DpqQtYYT.js +1624 -0
- package/components/PlayerAccountBalanceModalNd-yZ9YD5yq.cjs +7 -0
- package/components/{PlayerDeposit-D_tZ1EkN.js → PlayerDeposit-Bh1FyHgv.js} +1 -1
- package/components/{PlayerDeposit-L-iPr4Nc.cjs → PlayerDeposit-CYF8aGub.cjs} +1 -1
- package/components/{PlayerDeposit-C9ll9_Aq.js → PlayerDeposit-UutKx0XP.js} +1 -1
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-B6tEilhI.js → casino-hamburger-menu-nd-3hvipqDm.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-YtFBUxZT.cjs → casino-hamburger-menu-nd-CmmwDN64.cjs} +1 -1
- package/lazy/{casino-hamburger-menu-nd-CDbuBSby.js → casino-hamburger-menu-nd-D4isZY0K.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-DpMw9PYg.js → player-account-balance-modal-nd-5D0P7FGO.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-DPKBYKS8.js → player-account-balance-modal-nd-Ci_Xhu6o.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-CIfrSVe0.cjs → player-account-balance-modal-nd-D5Yd9Mmm.cjs} +1 -1
- package/lazy/{player-deposit-C9lyaeXY.js → player-deposit-CDrc20C1.js} +1 -1
- package/lazy/{player-deposit-CLHmEQX3.js → player-deposit-raELRvCH.js} +1 -1
- package/lazy/{player-deposit-DxKWGmMq.cjs → player-deposit-vTgh6aYY.cjs} +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountBalanceModalNd-BiI31wNU.js +0 -1629
- package/components/PlayerAccountBalanceModalNd-DMdVVQbM.cjs +0 -7
- package/components/PlayerAccountBalanceModalNd-Dn8PgMqD.js +0 -1600
|
@@ -0,0 +1,1624 @@
|
|
|
1
|
+
import { a as lt, $ as ct, V as ut, S as dt, i as ft, s as pt, f as X, b as ht, A as qe, d as ge, r as R, h as ye, u as x, j as U, w as me, k as mt, l as gt, o as yt, m as vt, v as Fe, z as Bt, B as Ce, D as _e, O as Qe, J as bt, n as Ge, p as st, L as wt, Q as Tt, R as St, T as At, U as Ct } from "./CasinoHeaderControllerNd-DwjT7tNR.js";
|
|
2
|
+
function Je(s, e) {
|
|
3
|
+
lt(s, e);
|
|
4
|
+
}
|
|
5
|
+
function _t(s) {
|
|
6
|
+
ct.set(s);
|
|
7
|
+
}
|
|
8
|
+
const Ze = {
|
|
9
|
+
en: {
|
|
10
|
+
Title: "Your Balance",
|
|
11
|
+
Total: "Total Balance",
|
|
12
|
+
Real: "Cash Balance",
|
|
13
|
+
Bonus: "Bonus Balance",
|
|
14
|
+
Credit: "Credit Balance",
|
|
15
|
+
Casino: "Casino",
|
|
16
|
+
Sports: "Sports",
|
|
17
|
+
LimitsButton: "Limits",
|
|
18
|
+
DepositButton: "Deposit",
|
|
19
|
+
ActiveBonusesButton: "Active Bonuses",
|
|
20
|
+
Loading: "Loading ..."
|
|
21
|
+
},
|
|
22
|
+
"zh-hk": {
|
|
23
|
+
Title: "您的結餘",
|
|
24
|
+
Total: "總結餘",
|
|
25
|
+
Real: "現金結餘",
|
|
26
|
+
Bonus: "紅利結餘",
|
|
27
|
+
Credit: "信用結餘",
|
|
28
|
+
Casino: "賭場",
|
|
29
|
+
Sports: "體育",
|
|
30
|
+
LimitsButton: "Limits",
|
|
31
|
+
DepositButton: "存款",
|
|
32
|
+
ActiveBonusesButton: "活躍獎金",
|
|
33
|
+
Loading: "載入中 ..."
|
|
34
|
+
},
|
|
35
|
+
de: {
|
|
36
|
+
Title: "Ihr Guthaben",
|
|
37
|
+
Total: "Gesamtguthaben",
|
|
38
|
+
Real: "Barguthaben",
|
|
39
|
+
Bonus: "Bonusguthaben",
|
|
40
|
+
Credit: "Kreditguthaben",
|
|
41
|
+
Casino: "Casino",
|
|
42
|
+
Sports: "Sport",
|
|
43
|
+
LimitsButton: "Limits",
|
|
44
|
+
DepositButton: "Einzahlen",
|
|
45
|
+
ActiveBonusesButton: "Aktive Boni",
|
|
46
|
+
Loading: "Wird geladen ..."
|
|
47
|
+
},
|
|
48
|
+
it: {
|
|
49
|
+
Title: "Il tuo saldo",
|
|
50
|
+
Total: "Saldo totale",
|
|
51
|
+
Real: "Saldo in contanti",
|
|
52
|
+
Bonus: "Saldo bonus",
|
|
53
|
+
Credit: "Saldo di credito",
|
|
54
|
+
Casino: "Casinò",
|
|
55
|
+
Sports: "Sport",
|
|
56
|
+
LimitsButton: "Limits",
|
|
57
|
+
DepositButton: "Deposita",
|
|
58
|
+
ActiveBonusesButton: "Bonus Attivi",
|
|
59
|
+
Loading: "Caricamento ..."
|
|
60
|
+
},
|
|
61
|
+
fr: {
|
|
62
|
+
Title: "Votre solde",
|
|
63
|
+
Total: "Solde total",
|
|
64
|
+
Real: "Solde en espèces",
|
|
65
|
+
Bonus: "Solde bonus",
|
|
66
|
+
Credit: "Solde de crédit",
|
|
67
|
+
Casino: "Casino",
|
|
68
|
+
Sports: "Sports",
|
|
69
|
+
LimitsButton: "Limits",
|
|
70
|
+
DepositButton: "Dépôt",
|
|
71
|
+
ActiveBonusesButton: "Bonus Actifs",
|
|
72
|
+
Loading: "Chargement ..."
|
|
73
|
+
},
|
|
74
|
+
es: {
|
|
75
|
+
Title: "Tu saldo",
|
|
76
|
+
Total: "Saldo total",
|
|
77
|
+
Real: "Saldo en efectivo",
|
|
78
|
+
Bonus: "Saldo de bono",
|
|
79
|
+
Credit: "Saldo de crédito",
|
|
80
|
+
Casino: "Casino",
|
|
81
|
+
Sports: "Deportes",
|
|
82
|
+
LimitsButton: "Limits",
|
|
83
|
+
DepositButton: "Depósito",
|
|
84
|
+
ActiveBonusesButton: "Bonos Activos",
|
|
85
|
+
Loading: "Cargando ..."
|
|
86
|
+
},
|
|
87
|
+
tr: {
|
|
88
|
+
Title: "Bakiyeniz",
|
|
89
|
+
Total: "Toplam Bakiye",
|
|
90
|
+
Real: "Nakit Bakiye",
|
|
91
|
+
Bonus: "Bonus Bakiyesi",
|
|
92
|
+
Credit: "Kredi Bakiyesi",
|
|
93
|
+
Casino: "Kumarhane",
|
|
94
|
+
Sports: "Spor",
|
|
95
|
+
LimitsButton: "Limits",
|
|
96
|
+
DepositButton: "Yatır",
|
|
97
|
+
ActiveBonusesButton: "Aktif Bonuslar",
|
|
98
|
+
Loading: "Yükleniyor ..."
|
|
99
|
+
},
|
|
100
|
+
ru: {
|
|
101
|
+
Title: "Ваш баланс",
|
|
102
|
+
Total: "Общий баланс",
|
|
103
|
+
Real: "Денежный баланс",
|
|
104
|
+
Bonus: "Бонусный баланс",
|
|
105
|
+
Credit: "Кредитный баланс",
|
|
106
|
+
Casino: "Казино",
|
|
107
|
+
Sports: "Спорт",
|
|
108
|
+
LimitsButton: "Limits",
|
|
109
|
+
DepositButton: "Депозит",
|
|
110
|
+
ActiveBonusesButton: "Активные Бонусы",
|
|
111
|
+
Loading: "Загружается ..."
|
|
112
|
+
},
|
|
113
|
+
ro: {
|
|
114
|
+
Title: "Soldul tău",
|
|
115
|
+
Total: "Sold total",
|
|
116
|
+
Real: "Sold în numerar",
|
|
117
|
+
Bonus: "Sold bonus",
|
|
118
|
+
Credit: "Sold credit",
|
|
119
|
+
Casino: "Cazinou",
|
|
120
|
+
Sports: "Sporturi",
|
|
121
|
+
LimitsButton: "Limits",
|
|
122
|
+
DepositButton: "Depozit",
|
|
123
|
+
ActiveBonusesButton: "Bonusuri Active",
|
|
124
|
+
Loading: "Se încarcă ..."
|
|
125
|
+
},
|
|
126
|
+
hr: {
|
|
127
|
+
Title: "Vaš saldo",
|
|
128
|
+
Total: "Ukupni saldo",
|
|
129
|
+
Real: "Gotovinski saldo",
|
|
130
|
+
Bonus: "Bonus saldo",
|
|
131
|
+
Credit: "Kreditni saldo",
|
|
132
|
+
Casino: "Casino",
|
|
133
|
+
Sports: "Sportovi",
|
|
134
|
+
LimitsButton: "Limits",
|
|
135
|
+
DepositButton: "Depozit",
|
|
136
|
+
ActiveBonusesButton: "Aktivni Bonusi",
|
|
137
|
+
Loading: "Učitavanje ..."
|
|
138
|
+
},
|
|
139
|
+
hu: {
|
|
140
|
+
Title: "Az egyenleged",
|
|
141
|
+
Total: "Teljes egyenleg",
|
|
142
|
+
Real: "Készpénz egyenleg",
|
|
143
|
+
Bonus: "Bónusz egyenleg",
|
|
144
|
+
Credit: "Hitel egyenleg",
|
|
145
|
+
Casino: "Kaszinó",
|
|
146
|
+
Sports: "Sport",
|
|
147
|
+
LimitsButton: "Limits",
|
|
148
|
+
DepositButton: "Befizetés",
|
|
149
|
+
ActiveBonusesButton: "Aktív Bónuszok",
|
|
150
|
+
Loading: "Betöltés ..."
|
|
151
|
+
},
|
|
152
|
+
pl: {
|
|
153
|
+
Title: "Twoje saldo",
|
|
154
|
+
Total: "Całkowite saldo",
|
|
155
|
+
Real: "Saldo gotówkowe",
|
|
156
|
+
Bonus: "Saldo bonusowe",
|
|
157
|
+
Credit: "Saldo kredytowe",
|
|
158
|
+
Casino: "Kasyno",
|
|
159
|
+
Sports: "Sport",
|
|
160
|
+
LimitsButton: "Limits",
|
|
161
|
+
DepositButton: "Wpłać",
|
|
162
|
+
ActiveBonusesButton: "Aktywne Bonusy",
|
|
163
|
+
Loading: "Ładowanie ..."
|
|
164
|
+
},
|
|
165
|
+
pt: {
|
|
166
|
+
Title: "Seu Saldo",
|
|
167
|
+
Total: "Saldo Total",
|
|
168
|
+
Real: "Saldo em Dinheiro",
|
|
169
|
+
Bonus: "Saldo de Bônus",
|
|
170
|
+
Credit: "Saldo de Crédito",
|
|
171
|
+
Casino: "Cassino",
|
|
172
|
+
Sports: "Esportes",
|
|
173
|
+
LimitsButton: "Limits",
|
|
174
|
+
DepositButton: "Depositar",
|
|
175
|
+
ActiveBonusesButton: "Bônus Ativos",
|
|
176
|
+
Loading: "Carregando ..."
|
|
177
|
+
},
|
|
178
|
+
sl: {
|
|
179
|
+
Title: "Vaš saldo",
|
|
180
|
+
Total: "Skupni saldo",
|
|
181
|
+
Real: "Gotovinski saldo",
|
|
182
|
+
Bonus: "Bonus saldo",
|
|
183
|
+
Credit: "Kreditni saldo",
|
|
184
|
+
Casino: "Kasino",
|
|
185
|
+
Sports: "Šport",
|
|
186
|
+
LimitsButton: "Limits",
|
|
187
|
+
DepositButton: "Depozit",
|
|
188
|
+
ActiveBonusesButton: "Aktivni Bonusi",
|
|
189
|
+
Loading: "Nalaganje ..."
|
|
190
|
+
},
|
|
191
|
+
sr: {
|
|
192
|
+
Title: "Vaš saldo",
|
|
193
|
+
Total: "Ukupan saldo",
|
|
194
|
+
Real: "Gotovinski saldo",
|
|
195
|
+
Bonus: "Bonus saldo",
|
|
196
|
+
Credit: "Kreditni saldo",
|
|
197
|
+
Casino: "Kasino",
|
|
198
|
+
Sports: "Sport",
|
|
199
|
+
LimitsButton: "Limits",
|
|
200
|
+
DepositButton: "Depozit",
|
|
201
|
+
ActiveBonusesButton: "Aktivni Bonusi",
|
|
202
|
+
Loading: "Učitavanje ..."
|
|
203
|
+
},
|
|
204
|
+
"pt-br": {
|
|
205
|
+
Title: "Seu Saldo",
|
|
206
|
+
Total: "Saldo Total",
|
|
207
|
+
Real: "Saldo em Dinheiro",
|
|
208
|
+
Bonus: "Saldo de Bônus",
|
|
209
|
+
Credit: "Saldo de Crédito",
|
|
210
|
+
Casino: "Cassino",
|
|
211
|
+
Sports: "Esportes",
|
|
212
|
+
LimitsButton: "Limits",
|
|
213
|
+
DepositButton: "Depositar",
|
|
214
|
+
ActiveBonusesButton: "Bônus Ativos",
|
|
215
|
+
Loading: "Carregando ..."
|
|
216
|
+
},
|
|
217
|
+
"es-mx": {
|
|
218
|
+
Title: "Tu saldo",
|
|
219
|
+
Total: "Saldo total",
|
|
220
|
+
Real: "Saldo en efectivo",
|
|
221
|
+
Bonus: "Saldo de bono",
|
|
222
|
+
Credit: "Saldo de crédito",
|
|
223
|
+
Casino: "Casino",
|
|
224
|
+
Sports: "Deportes",
|
|
225
|
+
LimitsButton: "Limits",
|
|
226
|
+
DepositButton: "Depósito",
|
|
227
|
+
ActiveBonusesButton: "Bonos Activos",
|
|
228
|
+
Loading: "Cargando ..."
|
|
229
|
+
},
|
|
230
|
+
"en-us": {
|
|
231
|
+
Title: "Your Balance",
|
|
232
|
+
Total: "Total Balance",
|
|
233
|
+
Real: "Cash Balance",
|
|
234
|
+
Bonus: "Bonus Balance",
|
|
235
|
+
Credit: "Credit Balance",
|
|
236
|
+
Casino: "Casino",
|
|
237
|
+
Sports: "Sports",
|
|
238
|
+
LimitsButton: "Limits",
|
|
239
|
+
DepositButton: "Deposit",
|
|
240
|
+
ActiveBonusesButton: "Active Bonuses",
|
|
241
|
+
Loading: "Loading ..."
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
var Ye = { exports: {} };
|
|
245
|
+
/** @license
|
|
246
|
+
* eventsource.js
|
|
247
|
+
* Available under MIT License (MIT)
|
|
248
|
+
* https://github.com/Yaffle/EventSource/
|
|
249
|
+
*/
|
|
250
|
+
(function(s, e) {
|
|
251
|
+
(function(t) {
|
|
252
|
+
var p = t.setTimeout, g = t.clearTimeout, c = t.XMLHttpRequest, l = t.XDomainRequest, B = t.ActiveXObject, h = t.EventSource, S = t.document, O = t.Promise, K = t.fetch, V = t.Response, A = t.TextDecoder, b = t.TextEncoder, P = t.AbortController;
|
|
253
|
+
if (typeof window < "u" && typeof S < "u" && !("readyState" in S) && S.body == null && (S.readyState = "loading", window.addEventListener("load", function(n) {
|
|
254
|
+
S.readyState = "complete";
|
|
255
|
+
}, !1)), c == null && B != null && (c = function() {
|
|
256
|
+
return new B("Microsoft.XMLHTTP");
|
|
257
|
+
}), Object.create == null && (Object.create = function(n) {
|
|
258
|
+
function o() {
|
|
259
|
+
}
|
|
260
|
+
return o.prototype = n, new o();
|
|
261
|
+
}), Date.now || (Date.now = function() {
|
|
262
|
+
return (/* @__PURE__ */ new Date()).getTime();
|
|
263
|
+
}), P == null) {
|
|
264
|
+
var be = K;
|
|
265
|
+
K = function(n, o) {
|
|
266
|
+
var u = o.signal;
|
|
267
|
+
return be(n, { headers: o.headers, credentials: o.credentials, cache: o.cache }).then(function(r) {
|
|
268
|
+
var w = r.body.getReader();
|
|
269
|
+
return u._reader = w, u._aborted && u._reader.cancel(), {
|
|
270
|
+
status: r.status,
|
|
271
|
+
statusText: r.statusText,
|
|
272
|
+
headers: r.headers,
|
|
273
|
+
body: {
|
|
274
|
+
getReader: function() {
|
|
275
|
+
return w;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
});
|
|
280
|
+
}, P = function() {
|
|
281
|
+
this.signal = {
|
|
282
|
+
_reader: null,
|
|
283
|
+
_aborted: !1
|
|
284
|
+
}, this.abort = function() {
|
|
285
|
+
this.signal._reader != null && this.signal._reader.cancel(), this.signal._aborted = !0;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
function we() {
|
|
290
|
+
this.bitsNeeded = 0, this.codePoint = 0;
|
|
291
|
+
}
|
|
292
|
+
we.prototype.decode = function(n) {
|
|
293
|
+
function o(M, N, T) {
|
|
294
|
+
if (T === 1)
|
|
295
|
+
return M >= 128 >> N && M << N <= 2047;
|
|
296
|
+
if (T === 2)
|
|
297
|
+
return M >= 2048 >> N && M << N <= 55295 || M >= 57344 >> N && M << N <= 65535;
|
|
298
|
+
if (T === 3)
|
|
299
|
+
return M >= 65536 >> N && M << N <= 1114111;
|
|
300
|
+
throw new Error();
|
|
301
|
+
}
|
|
302
|
+
function u(M, N) {
|
|
303
|
+
if (M === 6 * 1)
|
|
304
|
+
return N >> 6 > 15 ? 3 : N > 31 ? 2 : 1;
|
|
305
|
+
if (M === 6 * 2)
|
|
306
|
+
return N > 15 ? 3 : 2;
|
|
307
|
+
if (M === 6 * 3)
|
|
308
|
+
return 3;
|
|
309
|
+
throw new Error();
|
|
310
|
+
}
|
|
311
|
+
for (var r = 65533, w = "", m = this.bitsNeeded, C = this.codePoint, j = 0; j < n.length; j += 1) {
|
|
312
|
+
var _ = n[j];
|
|
313
|
+
m !== 0 && (_ < 128 || _ > 191 || !o(C << 6 | _ & 63, m - 6, u(m, C))) && (m = 0, C = r, w += String.fromCharCode(C)), m === 0 ? (_ >= 0 && _ <= 127 ? (m = 0, C = _) : _ >= 192 && _ <= 223 ? (m = 6 * 1, C = _ & 31) : _ >= 224 && _ <= 239 ? (m = 6 * 2, C = _ & 15) : _ >= 240 && _ <= 247 ? (m = 6 * 3, C = _ & 7) : (m = 0, C = r), m !== 0 && !o(C, m, u(m, C)) && (m = 0, C = r)) : (m -= 6, C = C << 6 | _ & 63), m === 0 && (C <= 65535 ? w += String.fromCharCode(C) : (w += String.fromCharCode(55296 + (C - 65535 - 1 >> 10)), w += String.fromCharCode(56320 + (C - 65535 - 1 & 1023))));
|
|
314
|
+
}
|
|
315
|
+
return this.bitsNeeded = m, this.codePoint = C, w;
|
|
316
|
+
};
|
|
317
|
+
var Re = function() {
|
|
318
|
+
try {
|
|
319
|
+
return new A().decode(new b().encode("test"), { stream: !0 }) === "test";
|
|
320
|
+
} catch (n) {
|
|
321
|
+
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + n);
|
|
322
|
+
}
|
|
323
|
+
return !1;
|
|
324
|
+
};
|
|
325
|
+
(A == null || b == null || !Re()) && (A = we);
|
|
326
|
+
var W = function() {
|
|
327
|
+
};
|
|
328
|
+
function Z(n) {
|
|
329
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = W, this.onload = W, this.onerror = W, this.onreadystatechange = W, this._contentType = "", this._xhr = n, this._sendTimeout = 0, this._abort = W;
|
|
330
|
+
}
|
|
331
|
+
Z.prototype.open = function(n, o) {
|
|
332
|
+
this._abort(!0);
|
|
333
|
+
var u = this, r = this._xhr, w = 1, m = 0;
|
|
334
|
+
this._abort = function(T) {
|
|
335
|
+
u._sendTimeout !== 0 && (g(u._sendTimeout), u._sendTimeout = 0), (w === 1 || w === 2 || w === 3) && (w = 4, r.onload = W, r.onerror = W, r.onabort = W, r.onprogress = W, r.onreadystatechange = W, r.abort(), m !== 0 && (g(m), m = 0), T || (u.readyState = 4, u.onabort(null), u.onreadystatechange())), w = 0;
|
|
336
|
+
};
|
|
337
|
+
var C = function() {
|
|
338
|
+
if (w === 1) {
|
|
339
|
+
var T = 0, z = "", pe = void 0;
|
|
340
|
+
if ("contentType" in r)
|
|
341
|
+
T = 200, z = "OK", pe = r.contentType;
|
|
342
|
+
else
|
|
343
|
+
try {
|
|
344
|
+
T = r.status, z = r.statusText, pe = r.getResponseHeader("Content-Type");
|
|
345
|
+
} catch {
|
|
346
|
+
T = 0, z = "", pe = void 0;
|
|
347
|
+
}
|
|
348
|
+
T !== 0 && (w = 2, u.readyState = 2, u.status = T, u.statusText = z, u._contentType = pe, u.onreadystatechange());
|
|
349
|
+
}
|
|
350
|
+
}, j = function() {
|
|
351
|
+
if (C(), w === 2 || w === 3) {
|
|
352
|
+
w = 3;
|
|
353
|
+
var T = "";
|
|
354
|
+
try {
|
|
355
|
+
T = r.responseText;
|
|
356
|
+
} catch {
|
|
357
|
+
}
|
|
358
|
+
u.readyState = 3, u.responseText = T, u.onprogress();
|
|
359
|
+
}
|
|
360
|
+
}, _ = function(T, z) {
|
|
361
|
+
if ((z == null || z.preventDefault == null) && (z = {
|
|
362
|
+
preventDefault: W
|
|
363
|
+
}), j(), w === 1 || w === 2 || w === 3) {
|
|
364
|
+
if (w = 4, m !== 0 && (g(m), m = 0), u.readyState = 4, T === "load")
|
|
365
|
+
u.onload(z);
|
|
366
|
+
else if (T === "error")
|
|
367
|
+
u.onerror(z);
|
|
368
|
+
else if (T === "abort")
|
|
369
|
+
u.onabort(z);
|
|
370
|
+
else
|
|
371
|
+
throw new TypeError();
|
|
372
|
+
u.onreadystatechange();
|
|
373
|
+
}
|
|
374
|
+
}, M = function(T) {
|
|
375
|
+
r != null && (r.readyState === 4 ? (!("onload" in r) || !("onerror" in r) || !("onabort" in r)) && _(r.responseText === "" ? "error" : "load", T) : r.readyState === 3 ? "onprogress" in r || j() : r.readyState === 2 && C());
|
|
376
|
+
}, N = function() {
|
|
377
|
+
m = p(function() {
|
|
378
|
+
N();
|
|
379
|
+
}, 500), r.readyState === 3 && j();
|
|
380
|
+
};
|
|
381
|
+
"onload" in r && (r.onload = function(T) {
|
|
382
|
+
_("load", T);
|
|
383
|
+
}), "onerror" in r && (r.onerror = function(T) {
|
|
384
|
+
_("error", T);
|
|
385
|
+
}), "onabort" in r && (r.onabort = function(T) {
|
|
386
|
+
_("abort", T);
|
|
387
|
+
}), "onprogress" in r && (r.onprogress = j), "onreadystatechange" in r && (r.onreadystatechange = function(T) {
|
|
388
|
+
M(T);
|
|
389
|
+
}), ("contentType" in r || !("ontimeout" in c.prototype)) && (o += (o.indexOf("?") === -1 ? "?" : "&") + "padding=true"), r.open(n, o, !0), "readyState" in r && (m = p(function() {
|
|
390
|
+
N();
|
|
391
|
+
}, 0));
|
|
392
|
+
}, Z.prototype.abort = function() {
|
|
393
|
+
this._abort(!1);
|
|
394
|
+
}, Z.prototype.getResponseHeader = function(n) {
|
|
395
|
+
return this._contentType;
|
|
396
|
+
}, Z.prototype.setRequestHeader = function(n, o) {
|
|
397
|
+
var u = this._xhr;
|
|
398
|
+
"setRequestHeader" in u && u.setRequestHeader(n, o);
|
|
399
|
+
}, Z.prototype.getAllResponseHeaders = function() {
|
|
400
|
+
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
401
|
+
}, Z.prototype.send = function() {
|
|
402
|
+
if ((!("ontimeout" in c.prototype) || !("sendAsBinary" in c.prototype) && !("mozAnon" in c.prototype)) && S != null && S.readyState != null && S.readyState !== "complete") {
|
|
403
|
+
var n = this;
|
|
404
|
+
n._sendTimeout = p(function() {
|
|
405
|
+
n._sendTimeout = 0, n.send();
|
|
406
|
+
}, 4);
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
var o = this._xhr;
|
|
410
|
+
"withCredentials" in o && (o.withCredentials = this.withCredentials);
|
|
411
|
+
try {
|
|
412
|
+
o.send(void 0);
|
|
413
|
+
} catch (u) {
|
|
414
|
+
throw u;
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
function fe(n) {
|
|
418
|
+
return n.replace(/[A-Z]/g, function(o) {
|
|
419
|
+
return String.fromCharCode(o.charCodeAt(0) + 32);
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
function te(n) {
|
|
423
|
+
for (var o = /* @__PURE__ */ Object.create(null), u = n.split(`\r
|
|
424
|
+
`), r = 0; r < u.length; r += 1) {
|
|
425
|
+
var w = u[r], m = w.split(": "), C = m.shift(), j = m.join(": ");
|
|
426
|
+
o[fe(C)] = j;
|
|
427
|
+
}
|
|
428
|
+
this._map = o;
|
|
429
|
+
}
|
|
430
|
+
te.prototype.get = function(n) {
|
|
431
|
+
return this._map[fe(n)];
|
|
432
|
+
}, c != null && c.HEADERS_RECEIVED == null && (c.HEADERS_RECEIVED = 2);
|
|
433
|
+
function ce() {
|
|
434
|
+
}
|
|
435
|
+
ce.prototype.open = function(n, o, u, r, w, m, C) {
|
|
436
|
+
n.open("GET", w);
|
|
437
|
+
var j = 0;
|
|
438
|
+
n.onprogress = function() {
|
|
439
|
+
var M = n.responseText, N = M.slice(j);
|
|
440
|
+
j += N.length, u(N);
|
|
441
|
+
}, n.onerror = function(M) {
|
|
442
|
+
M.preventDefault(), r(new Error("NetworkError"));
|
|
443
|
+
}, n.onload = function() {
|
|
444
|
+
r(null);
|
|
445
|
+
}, n.onabort = function() {
|
|
446
|
+
r(null);
|
|
447
|
+
}, n.onreadystatechange = function() {
|
|
448
|
+
if (n.readyState === c.HEADERS_RECEIVED) {
|
|
449
|
+
var M = n.status, N = n.statusText, T = n.getResponseHeader("Content-Type"), z = n.getAllResponseHeaders();
|
|
450
|
+
o(M, N, T, new te(z));
|
|
451
|
+
}
|
|
452
|
+
}, n.withCredentials = m;
|
|
453
|
+
for (var _ in C)
|
|
454
|
+
Object.prototype.hasOwnProperty.call(C, _) && n.setRequestHeader(_, C[_]);
|
|
455
|
+
return n.send(), n;
|
|
456
|
+
};
|
|
457
|
+
function ve(n) {
|
|
458
|
+
this._headers = n;
|
|
459
|
+
}
|
|
460
|
+
ve.prototype.get = function(n) {
|
|
461
|
+
return this._headers.get(n);
|
|
462
|
+
};
|
|
463
|
+
function ae() {
|
|
464
|
+
}
|
|
465
|
+
ae.prototype.open = function(n, o, u, r, w, m, C) {
|
|
466
|
+
var j = null, _ = new P(), M = _.signal, N = new A();
|
|
467
|
+
return K(w, {
|
|
468
|
+
headers: C,
|
|
469
|
+
credentials: m ? "include" : "same-origin",
|
|
470
|
+
signal: M,
|
|
471
|
+
cache: "no-store"
|
|
472
|
+
}).then(function(T) {
|
|
473
|
+
return j = T.body.getReader(), o(T.status, T.statusText, T.headers.get("Content-Type"), new ve(T.headers)), new O(function(z, pe) {
|
|
474
|
+
var ke = function() {
|
|
475
|
+
j.read().then(function(a) {
|
|
476
|
+
if (a.done)
|
|
477
|
+
z(void 0);
|
|
478
|
+
else {
|
|
479
|
+
var d = N.decode(a.value, { stream: !0 });
|
|
480
|
+
u(d), ke();
|
|
481
|
+
}
|
|
482
|
+
}).catch(function(a) {
|
|
483
|
+
pe(a);
|
|
484
|
+
});
|
|
485
|
+
};
|
|
486
|
+
ke();
|
|
487
|
+
});
|
|
488
|
+
}).catch(function(T) {
|
|
489
|
+
if (T.name !== "AbortError")
|
|
490
|
+
return T;
|
|
491
|
+
}).then(function(T) {
|
|
492
|
+
r(T);
|
|
493
|
+
}), {
|
|
494
|
+
abort: function() {
|
|
495
|
+
j?.cancel(), _.abort();
|
|
496
|
+
}
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
function k() {
|
|
500
|
+
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
501
|
+
}
|
|
502
|
+
function q(n) {
|
|
503
|
+
p(function() {
|
|
504
|
+
throw n;
|
|
505
|
+
}, 0);
|
|
506
|
+
}
|
|
507
|
+
k.prototype.dispatchEvent = function(n) {
|
|
508
|
+
n.target = this;
|
|
509
|
+
var o = this._listeners[n.type];
|
|
510
|
+
if (o != null)
|
|
511
|
+
for (var u = o.length, r = 0; r < u; r += 1) {
|
|
512
|
+
var w = o[r];
|
|
513
|
+
try {
|
|
514
|
+
typeof w.handleEvent == "function" ? w.handleEvent(n) : w.call(this, n);
|
|
515
|
+
} catch (m) {
|
|
516
|
+
q(m);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}, k.prototype.addEventListener = function(n, o) {
|
|
520
|
+
n = String(n);
|
|
521
|
+
var u = this._listeners, r = u[n];
|
|
522
|
+
r == null && (r = [], u[n] = r);
|
|
523
|
+
for (var w = !1, m = 0; m < r.length; m += 1)
|
|
524
|
+
r[m] === o && (w = !0);
|
|
525
|
+
w || r.push(o);
|
|
526
|
+
}, k.prototype.removeEventListener = function(n, o) {
|
|
527
|
+
n = String(n);
|
|
528
|
+
var u = this._listeners, r = u[n];
|
|
529
|
+
if (r != null) {
|
|
530
|
+
for (var w = [], m = 0; m < r.length; m += 1)
|
|
531
|
+
r[m] !== o && w.push(r[m]);
|
|
532
|
+
w.length === 0 ? delete u[n] : u[n] = w;
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
function D(n) {
|
|
536
|
+
this.type = n, this.target = void 0;
|
|
537
|
+
}
|
|
538
|
+
function L(n, o) {
|
|
539
|
+
D.call(this, n), this.data = o.data, this.lastEventId = o.lastEventId;
|
|
540
|
+
}
|
|
541
|
+
L.prototype = Object.create(D.prototype);
|
|
542
|
+
function G(n, o) {
|
|
543
|
+
D.call(this, n), this.status = o.status, this.statusText = o.statusText, this.headers = o.headers;
|
|
544
|
+
}
|
|
545
|
+
G.prototype = Object.create(D.prototype);
|
|
546
|
+
function H(n, o) {
|
|
547
|
+
D.call(this, n), this.error = o.error;
|
|
548
|
+
}
|
|
549
|
+
H.prototype = Object.create(D.prototype);
|
|
550
|
+
var Te = -1, Be = 0, oe = 1, ue = 2, de = -1, ne = 0, Me = 1, i = 2, Ee = 3, Xe = /^text\/event\-stream(;.*)?$/i, Le = 1e3, Ie = 18e6, je = function(n, o) {
|
|
551
|
+
var u = n == null ? o : parseInt(n, 10);
|
|
552
|
+
return u !== u && (u = o), ze(u);
|
|
553
|
+
}, ze = function(n) {
|
|
554
|
+
return Math.min(Math.max(n, Le), Ie);
|
|
555
|
+
}, xe = function(n, o, u) {
|
|
556
|
+
try {
|
|
557
|
+
typeof o == "function" && o.call(n, u);
|
|
558
|
+
} catch (r) {
|
|
559
|
+
q(r);
|
|
560
|
+
}
|
|
561
|
+
};
|
|
562
|
+
function $(n, o) {
|
|
563
|
+
k.call(this), o = o || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, He(this, n, o);
|
|
564
|
+
}
|
|
565
|
+
function Ue() {
|
|
566
|
+
return c != null && "withCredentials" in c.prototype || l == null ? new c() : new l();
|
|
567
|
+
}
|
|
568
|
+
var Ke = K != null && V != null && "body" in V.prototype;
|
|
569
|
+
function He(n, o, u) {
|
|
570
|
+
o = String(o);
|
|
571
|
+
var r = !!u.withCredentials, w = u.lastEventIdQueryParameterName || "lastEventId", m = ze(1e3), C = je(u.heartbeatTimeout, 45e3), j = "", _ = m, M = !1, N = 0, T = u.headers || {}, z = u.Transport, pe = Ke && z == null ? void 0 : new Z(z != null ? new z() : Ue()), ke = z != null && typeof z != "string" ? new z() : pe == null ? new ae() : new ce(), a = void 0, d = 0, f = Te, y = "", F = "", I = "", v = "", E = ne, ie = 0, re = 0, We = function(Q, Y, se, le) {
|
|
572
|
+
if (f === Be)
|
|
573
|
+
if (Q === 200 && se != null && Xe.test(se)) {
|
|
574
|
+
f = oe, M = Date.now(), _ = m, n.readyState = oe;
|
|
575
|
+
var ee = new G("open", {
|
|
576
|
+
status: Q,
|
|
577
|
+
statusText: Y,
|
|
578
|
+
headers: le
|
|
579
|
+
});
|
|
580
|
+
n.dispatchEvent(ee), xe(n, n.onopen, ee);
|
|
581
|
+
} else {
|
|
582
|
+
var J = "";
|
|
583
|
+
Q !== 200 ? (Y && (Y = Y.replace(/\s+/g, " ")), J = "EventSource's response has a status " + Q + " " + Y + " that is not 200. Aborting the connection.") : J = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Oe();
|
|
584
|
+
var ee = new G("error", {
|
|
585
|
+
status: Q,
|
|
586
|
+
statusText: Y,
|
|
587
|
+
headers: le
|
|
588
|
+
});
|
|
589
|
+
n.dispatchEvent(ee), xe(n, n.onerror, ee), console.error(J);
|
|
590
|
+
}
|
|
591
|
+
}, De = function(Q) {
|
|
592
|
+
if (f === oe) {
|
|
593
|
+
for (var Y = -1, se = 0; se < Q.length; se += 1) {
|
|
594
|
+
var le = Q.charCodeAt(se);
|
|
595
|
+
(le === 10 || le === 13) && (Y = se);
|
|
596
|
+
}
|
|
597
|
+
var ee = (Y !== -1 ? v : "") + Q.slice(0, Y + 1);
|
|
598
|
+
v = (Y === -1 ? v : "") + Q.slice(Y + 1), Q !== "" && (M = Date.now(), N += Q.length);
|
|
599
|
+
for (var J = 0; J < ee.length; J += 1) {
|
|
600
|
+
var le = ee.charCodeAt(J);
|
|
601
|
+
if (E === de && le === 10)
|
|
602
|
+
E = ne;
|
|
603
|
+
else if (E === de && (E = ne), le === 13 || le === 10) {
|
|
604
|
+
if (E !== ne) {
|
|
605
|
+
E === Me && (re = J + 1);
|
|
606
|
+
var Se = ee.slice(ie, re - 1), Ae = ee.slice(re + (re < J && ee.charCodeAt(re) === 32 ? 1 : 0), J);
|
|
607
|
+
Se === "data" ? (y += `
|
|
608
|
+
`, y += Ae) : Se === "id" ? F = Ae : Se === "event" ? I = Ae : Se === "retry" ? (m = je(Ae, m), _ = m) : Se === "heartbeatTimeout" && (C = je(Ae, C), d !== 0 && (g(d), d = p(function() {
|
|
609
|
+
he();
|
|
610
|
+
}, C)));
|
|
611
|
+
}
|
|
612
|
+
if (E === ne) {
|
|
613
|
+
if (y !== "") {
|
|
614
|
+
j = F, I === "" && (I = "message");
|
|
615
|
+
var Ne = new L(I, {
|
|
616
|
+
data: y.slice(1),
|
|
617
|
+
lastEventId: F
|
|
618
|
+
});
|
|
619
|
+
if (n.dispatchEvent(Ne), I === "open" ? xe(n, n.onopen, Ne) : I === "message" ? xe(n, n.onmessage, Ne) : I === "error" && xe(n, n.onerror, Ne), f === ue)
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
y = "", I = "";
|
|
623
|
+
}
|
|
624
|
+
E = le === 13 ? de : ne;
|
|
625
|
+
} else
|
|
626
|
+
E === ne && (ie = J, E = Me), E === Me ? le === 58 && (re = J + 1, E = i) : E === i && (E = Ee);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}, Pe = function(Q) {
|
|
630
|
+
if (f === oe || f === Be) {
|
|
631
|
+
f = Te, d !== 0 && (g(d), d = 0), d = p(function() {
|
|
632
|
+
he();
|
|
633
|
+
}, _), _ = ze(Math.min(m * 16, _ * 2)), n.readyState = Be;
|
|
634
|
+
var Y = new H("error", { error: Q });
|
|
635
|
+
n.dispatchEvent(Y), xe(n, n.onerror, Y), Q != null && console.error(Q);
|
|
636
|
+
}
|
|
637
|
+
}, Oe = function() {
|
|
638
|
+
f = ue, a != null && (a.abort(), a = void 0), d !== 0 && (g(d), d = 0), n.readyState = ue;
|
|
639
|
+
}, he = function() {
|
|
640
|
+
if (d = 0, f !== Te) {
|
|
641
|
+
if (!M && a != null)
|
|
642
|
+
Pe(new Error("No activity within " + C + " milliseconds. " + (f === Be ? "No response received." : N + " chars received.") + " Reconnecting.")), a != null && (a.abort(), a = void 0);
|
|
643
|
+
else {
|
|
644
|
+
var Q = Math.max((M || Date.now()) + C - Date.now(), 1);
|
|
645
|
+
M = !1, d = p(function() {
|
|
646
|
+
he();
|
|
647
|
+
}, Q);
|
|
648
|
+
}
|
|
649
|
+
return;
|
|
650
|
+
}
|
|
651
|
+
M = !1, N = 0, d = p(function() {
|
|
652
|
+
he();
|
|
653
|
+
}, C), f = Be, y = "", I = "", F = j, v = "", ie = 0, re = 0, E = ne;
|
|
654
|
+
var Y = o;
|
|
655
|
+
if (o.slice(0, 5) !== "data:" && o.slice(0, 5) !== "blob:" && j !== "") {
|
|
656
|
+
var se = o.indexOf("?");
|
|
657
|
+
Y = se === -1 ? o : o.slice(0, se + 1) + o.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Ae, Ne) {
|
|
658
|
+
return Ne === w ? "" : Ae;
|
|
659
|
+
}), Y += (o.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent(j);
|
|
660
|
+
}
|
|
661
|
+
var le = n.withCredentials, ee = {};
|
|
662
|
+
ee.Accept = "text/event-stream";
|
|
663
|
+
var J = n.headers;
|
|
664
|
+
if (J != null)
|
|
665
|
+
for (var Se in J)
|
|
666
|
+
Object.prototype.hasOwnProperty.call(J, Se) && (ee[Se] = J[Se]);
|
|
667
|
+
try {
|
|
668
|
+
a = ke.open(pe, We, De, Pe, Y, le, ee);
|
|
669
|
+
} catch (Ae) {
|
|
670
|
+
throw Oe(), Ae;
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
n.url = o, n.readyState = Be, n.withCredentials = r, n.headers = T, n._close = Oe, he();
|
|
674
|
+
}
|
|
675
|
+
$.prototype = Object.create(k.prototype), $.prototype.CONNECTING = Be, $.prototype.OPEN = oe, $.prototype.CLOSED = ue, $.prototype.close = function() {
|
|
676
|
+
this._close();
|
|
677
|
+
}, $.CONNECTING = Be, $.OPEN = oe, $.CLOSED = ue, $.prototype.withCredentials = void 0;
|
|
678
|
+
var Ve = h;
|
|
679
|
+
c != null && (h == null || !("withCredentials" in h.prototype)) && (Ve = $), function(n) {
|
|
680
|
+
{
|
|
681
|
+
var o = n(e);
|
|
682
|
+
o !== void 0 && (s.exports = o);
|
|
683
|
+
}
|
|
684
|
+
}(function(n) {
|
|
685
|
+
n.EventSourcePolyfill = $, n.NativeEventSource = h, n.EventSource = Ve;
|
|
686
|
+
});
|
|
687
|
+
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : ut : globalThis);
|
|
688
|
+
})(Ye, Ye.exports);
|
|
689
|
+
var Rt = Ye.exports;
|
|
690
|
+
function Lt(s) {
|
|
691
|
+
ht(s, "svelte-15fwckg", '*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px;gap:5px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}');
|
|
692
|
+
}
|
|
693
|
+
function $e(s, e, t) {
|
|
694
|
+
const p = s.slice();
|
|
695
|
+
return p[64] = e[t], p;
|
|
696
|
+
}
|
|
697
|
+
function et(s, e, t) {
|
|
698
|
+
const p = s.slice();
|
|
699
|
+
return p[67] = e[t], p;
|
|
700
|
+
}
|
|
701
|
+
function xt(s) {
|
|
702
|
+
let e, t, p, g, c, l, B, h, S, O, K, V, A = (
|
|
703
|
+
/*showBalance*/
|
|
704
|
+
s[6] && tt(s)
|
|
705
|
+
);
|
|
706
|
+
return {
|
|
707
|
+
c() {
|
|
708
|
+
e = U("button"), t = U("p"), p = _e(
|
|
709
|
+
/*displayBalance*/
|
|
710
|
+
s[8]
|
|
711
|
+
), g = me(), c = U("span"), l = Qe("svg"), B = Qe("path"), S = me(), A && A.c(), O = bt(), R(B, "id", "arrow"), R(B, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), R(B, "transform", "translate(-274.511 -441.088)"), R(B, "fill", "#d1d1d1"), R(l, "xmlns", "http://www.w3.org/2000/svg"), R(l, "width", "14"), R(l, "height", "6.835"), R(l, "viewBox", "0 0 14 6.835"), R(c, "class", h = /*isModalDisplayed*/
|
|
712
|
+
s[5] ? "TriangleActive" : "TriangleInactive"), R(e, "class", "BalanceValue");
|
|
713
|
+
},
|
|
714
|
+
m(b, P) {
|
|
715
|
+
ye(b, e, P), x(e, t), x(t, p), x(e, g), x(e, c), x(c, l), x(l, B), ye(b, S, P), A && A.m(b, P), ye(b, O, P), K || (V = Fe(
|
|
716
|
+
e,
|
|
717
|
+
"click",
|
|
718
|
+
/*click_handler*/
|
|
719
|
+
s[34]
|
|
720
|
+
), K = !0);
|
|
721
|
+
},
|
|
722
|
+
p(b, P) {
|
|
723
|
+
P[0] & /*displayBalance*/
|
|
724
|
+
256 && Ce(
|
|
725
|
+
p,
|
|
726
|
+
/*displayBalance*/
|
|
727
|
+
b[8]
|
|
728
|
+
), P[0] & /*isModalDisplayed*/
|
|
729
|
+
32 && h !== (h = /*isModalDisplayed*/
|
|
730
|
+
b[5] ? "TriangleActive" : "TriangleInactive") && R(c, "class", h), /*showBalance*/
|
|
731
|
+
b[6] ? A ? A.p(b, P) : (A = tt(b), A.c(), A.m(O.parentNode, O)) : A && (A.d(1), A = null);
|
|
732
|
+
},
|
|
733
|
+
d(b) {
|
|
734
|
+
b && (ge(e), ge(S), ge(O)), A && A.d(b), K = !1, V();
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
function Et(s) {
|
|
739
|
+
let e, t = (
|
|
740
|
+
/*$_*/
|
|
741
|
+
s[9]("Loading") + ""
|
|
742
|
+
), p;
|
|
743
|
+
return {
|
|
744
|
+
c() {
|
|
745
|
+
e = U("p"), p = _e(t), R(e, "class", "Loading");
|
|
746
|
+
},
|
|
747
|
+
m(g, c) {
|
|
748
|
+
ye(g, e, c), x(e, p);
|
|
749
|
+
},
|
|
750
|
+
p(g, c) {
|
|
751
|
+
c[0] & /*$_*/
|
|
752
|
+
512 && t !== (t = /*$_*/
|
|
753
|
+
g[9]("Loading") + "") && Ce(p, t);
|
|
754
|
+
},
|
|
755
|
+
d(g) {
|
|
756
|
+
g && ge(e);
|
|
757
|
+
}
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
function tt(s) {
|
|
761
|
+
let e, t, p, g, c, l, B, h, S = (
|
|
762
|
+
/*$_*/
|
|
763
|
+
s[9]("Title") + ""
|
|
764
|
+
), O, K, V, A, b, P, be = (
|
|
765
|
+
/*$_*/
|
|
766
|
+
s[9]("DepositButton") + ""
|
|
767
|
+
), we, Re, W, Z, fe, te, ce, ve, ae = Ge(Object.keys(
|
|
768
|
+
/*balances*/
|
|
769
|
+
s[3]
|
|
770
|
+
)), k = [];
|
|
771
|
+
for (let L = 0; L < ae.length; L += 1)
|
|
772
|
+
k[L] = at($e(s, ae, L));
|
|
773
|
+
let q = (
|
|
774
|
+
/*balancelimitsbutton*/
|
|
775
|
+
s[0] === "true" && ot(s)
|
|
776
|
+
), D = (
|
|
777
|
+
/*activebonusesbutton*/
|
|
778
|
+
s[1] === "true" && it(s)
|
|
779
|
+
);
|
|
780
|
+
return {
|
|
781
|
+
c() {
|
|
782
|
+
e = U("div"), t = U("button"), g = me(), c = U("div"), l = U("div"), B = U("div"), h = U("p"), O = _e(S), K = me(), V = U("div");
|
|
783
|
+
for (let L = 0; L < k.length; L += 1)
|
|
784
|
+
k[L].c();
|
|
785
|
+
A = me(), b = U("div"), P = U("button"), we = _e(be), Re = me(), q && q.c(), W = me(), D && D.c(), R(t, "class", p = "BalanceModalClose " + /*isModalDisplayed*/
|
|
786
|
+
(s[5] ? "Open" : "")), R(h, "class", "BalanceModalTitle"), R(B, "class", "BalanceModalHeader"), R(V, "class", "BalanceModalBody"), R(P, "class", "BalanceModalAction DepositButton"), R(b, "class", "BalanceModalFooter"), R(l, "class", Z = "ModalContent " + /*isModalDisplayed*/
|
|
787
|
+
(s[5] ? "Open" : "")), R(c, "class", fe = "BalanceModal " + /*isModalDisplayed*/
|
|
788
|
+
(s[5] ? "Open" : "")), R(e, "class", te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
789
|
+
(s[5] ? "Open" : ""));
|
|
790
|
+
},
|
|
791
|
+
m(L, G) {
|
|
792
|
+
ye(L, e, G), x(e, t), x(e, g), x(e, c), x(c, l), x(l, B), x(B, h), x(h, O), x(l, K), x(l, V);
|
|
793
|
+
for (let H = 0; H < k.length; H += 1)
|
|
794
|
+
k[H] && k[H].m(V, null);
|
|
795
|
+
x(l, A), x(l, b), x(b, P), x(P, we), x(b, Re), q && q.m(b, null), x(b, W), D && D.m(b, null), ce || (ve = [
|
|
796
|
+
Fe(
|
|
797
|
+
t,
|
|
798
|
+
"click",
|
|
799
|
+
/*click_handler_1*/
|
|
800
|
+
s[35]
|
|
801
|
+
),
|
|
802
|
+
Fe(
|
|
803
|
+
P,
|
|
804
|
+
"click",
|
|
805
|
+
/*click_handler_2*/
|
|
806
|
+
s[36]
|
|
807
|
+
)
|
|
808
|
+
], ce = !0);
|
|
809
|
+
},
|
|
810
|
+
p(L, G) {
|
|
811
|
+
if (G[0] & /*isModalDisplayed*/
|
|
812
|
+
32 && p !== (p = "BalanceModalClose " + /*isModalDisplayed*/
|
|
813
|
+
(L[5] ? "Open" : "")) && R(t, "class", p), G[0] & /*$_*/
|
|
814
|
+
512 && S !== (S = /*$_*/
|
|
815
|
+
L[9]("Title") + "") && Ce(O, S), G[0] & /*balances, formatBalance, getProductType, $_*/
|
|
816
|
+
10760) {
|
|
817
|
+
ae = Ge(Object.keys(
|
|
818
|
+
/*balances*/
|
|
819
|
+
L[3]
|
|
820
|
+
));
|
|
821
|
+
let H;
|
|
822
|
+
for (H = 0; H < ae.length; H += 1) {
|
|
823
|
+
const Te = $e(L, ae, H);
|
|
824
|
+
k[H] ? k[H].p(Te, G) : (k[H] = at(Te), k[H].c(), k[H].m(V, null));
|
|
825
|
+
}
|
|
826
|
+
for (; H < k.length; H += 1)
|
|
827
|
+
k[H].d(1);
|
|
828
|
+
k.length = ae.length;
|
|
829
|
+
}
|
|
830
|
+
G[0] & /*$_*/
|
|
831
|
+
512 && be !== (be = /*$_*/
|
|
832
|
+
L[9]("DepositButton") + "") && Ce(we, be), /*balancelimitsbutton*/
|
|
833
|
+
L[0] === "true" ? q ? q.p(L, G) : (q = ot(L), q.c(), q.m(b, W)) : q && (q.d(1), q = null), /*activebonusesbutton*/
|
|
834
|
+
L[1] === "true" ? D ? D.p(L, G) : (D = it(L), D.c(), D.m(b, null)) : D && (D.d(1), D = null), G[0] & /*isModalDisplayed*/
|
|
835
|
+
32 && Z !== (Z = "ModalContent " + /*isModalDisplayed*/
|
|
836
|
+
(L[5] ? "Open" : "")) && R(l, "class", Z), G[0] & /*isModalDisplayed*/
|
|
837
|
+
32 && fe !== (fe = "BalanceModal " + /*isModalDisplayed*/
|
|
838
|
+
(L[5] ? "Open" : "")) && R(c, "class", fe), G[0] & /*isModalDisplayed*/
|
|
839
|
+
32 && te !== (te = "BalanceModalWrapper " + /*isModalDisplayed*/
|
|
840
|
+
(L[5] ? "Open" : "")) && R(e, "class", te);
|
|
841
|
+
},
|
|
842
|
+
d(L) {
|
|
843
|
+
L && ge(e), st(k, L), q && q.d(), D && D.d(), ce = !1, wt(ve);
|
|
844
|
+
}
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
function nt(s) {
|
|
848
|
+
let e, t, p = (
|
|
849
|
+
/*$_*/
|
|
850
|
+
s[9](
|
|
851
|
+
/*k*/
|
|
852
|
+
s[64]
|
|
853
|
+
) + ""
|
|
854
|
+
), g, c, l = (
|
|
855
|
+
/*getProductType*/
|
|
856
|
+
s[13](
|
|
857
|
+
/*balance*/
|
|
858
|
+
s[67]
|
|
859
|
+
) + ""
|
|
860
|
+
), B, h, S, O, K = (
|
|
861
|
+
/*formatBalance*/
|
|
862
|
+
s[11](
|
|
863
|
+
/*balance*/
|
|
864
|
+
s[67].amount
|
|
865
|
+
) + ""
|
|
866
|
+
), V;
|
|
867
|
+
return {
|
|
868
|
+
c() {
|
|
869
|
+
e = U("div"), t = U("p"), g = _e(p), c = me(), B = _e(l), h = me(), S = U("p"), O = U("span"), V = _e(K), R(t, "class", "BalanceModalText"), R(O, "class", "BalanceModalAmount"), R(S, "class", "BalanceModalValue"), R(e, "class", "BalanceModalRowLine");
|
|
870
|
+
},
|
|
871
|
+
m(A, b) {
|
|
872
|
+
ye(A, e, b), x(e, t), x(t, g), x(t, c), x(t, B), x(e, h), x(e, S), x(S, O), x(O, V);
|
|
873
|
+
},
|
|
874
|
+
p(A, b) {
|
|
875
|
+
b[0] & /*$_, balances*/
|
|
876
|
+
520 && p !== (p = /*$_*/
|
|
877
|
+
A[9](
|
|
878
|
+
/*k*/
|
|
879
|
+
A[64]
|
|
880
|
+
) + "") && Ce(g, p), b[0] & /*balances*/
|
|
881
|
+
8 && l !== (l = /*getProductType*/
|
|
882
|
+
A[13](
|
|
883
|
+
/*balance*/
|
|
884
|
+
A[67]
|
|
885
|
+
) + "") && Ce(B, l), b[0] & /*balances*/
|
|
886
|
+
8 && K !== (K = /*formatBalance*/
|
|
887
|
+
A[11](
|
|
888
|
+
/*balance*/
|
|
889
|
+
A[67].amount
|
|
890
|
+
) + "") && Ce(V, K);
|
|
891
|
+
},
|
|
892
|
+
d(A) {
|
|
893
|
+
A && ge(e);
|
|
894
|
+
}
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
function at(s) {
|
|
898
|
+
let e, t, p, g = Ge(
|
|
899
|
+
/*balances*/
|
|
900
|
+
s[3][
|
|
901
|
+
/*k*/
|
|
902
|
+
s[64]
|
|
903
|
+
]
|
|
904
|
+
), c = [];
|
|
905
|
+
for (let l = 0; l < g.length; l += 1)
|
|
906
|
+
c[l] = nt(et(s, g, l));
|
|
907
|
+
return {
|
|
908
|
+
c() {
|
|
909
|
+
e = U("div");
|
|
910
|
+
for (let l = 0; l < c.length; l += 1)
|
|
911
|
+
c[l].c();
|
|
912
|
+
t = me(), R(e, "class", p = "BalanceModalRowBoth " + /*k*/
|
|
913
|
+
s[64]);
|
|
914
|
+
},
|
|
915
|
+
m(l, B) {
|
|
916
|
+
ye(l, e, B);
|
|
917
|
+
for (let h = 0; h < c.length; h += 1)
|
|
918
|
+
c[h] && c[h].m(e, null);
|
|
919
|
+
x(e, t);
|
|
920
|
+
},
|
|
921
|
+
p(l, B) {
|
|
922
|
+
if (B[0] & /*formatBalance, balances, getProductType, $_*/
|
|
923
|
+
10760) {
|
|
924
|
+
g = Ge(
|
|
925
|
+
/*balances*/
|
|
926
|
+
l[3][
|
|
927
|
+
/*k*/
|
|
928
|
+
l[64]
|
|
929
|
+
]
|
|
930
|
+
);
|
|
931
|
+
let h;
|
|
932
|
+
for (h = 0; h < g.length; h += 1) {
|
|
933
|
+
const S = et(l, g, h);
|
|
934
|
+
c[h] ? c[h].p(S, B) : (c[h] = nt(S), c[h].c(), c[h].m(e, t));
|
|
935
|
+
}
|
|
936
|
+
for (; h < c.length; h += 1)
|
|
937
|
+
c[h].d(1);
|
|
938
|
+
c.length = g.length;
|
|
939
|
+
}
|
|
940
|
+
B[0] & /*balances*/
|
|
941
|
+
8 && p !== (p = "BalanceModalRowBoth " + /*k*/
|
|
942
|
+
l[64]) && R(e, "class", p);
|
|
943
|
+
},
|
|
944
|
+
d(l) {
|
|
945
|
+
l && ge(e), st(c, l);
|
|
946
|
+
}
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
function ot(s) {
|
|
950
|
+
let e, t = (
|
|
951
|
+
/*$_*/
|
|
952
|
+
s[9]("LimitsButton") + ""
|
|
953
|
+
), p, g, c;
|
|
954
|
+
return {
|
|
955
|
+
c() {
|
|
956
|
+
e = U("button"), p = _e(t), R(e, "class", "BalanceModalAction LimitsButton");
|
|
957
|
+
},
|
|
958
|
+
m(l, B) {
|
|
959
|
+
ye(l, e, B), x(e, p), g || (c = Fe(
|
|
960
|
+
e,
|
|
961
|
+
"click",
|
|
962
|
+
/*click_handler_3*/
|
|
963
|
+
s[37]
|
|
964
|
+
), g = !0);
|
|
965
|
+
},
|
|
966
|
+
p(l, B) {
|
|
967
|
+
B[0] & /*$_*/
|
|
968
|
+
512 && t !== (t = /*$_*/
|
|
969
|
+
l[9]("LimitsButton") + "") && Ce(p, t);
|
|
970
|
+
},
|
|
971
|
+
d(l) {
|
|
972
|
+
l && ge(e), g = !1, c();
|
|
973
|
+
}
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
function it(s) {
|
|
977
|
+
let e, t = (
|
|
978
|
+
/*$_*/
|
|
979
|
+
s[9]("ActiveBonusesButton") + ""
|
|
980
|
+
), p, g, c;
|
|
981
|
+
return {
|
|
982
|
+
c() {
|
|
983
|
+
e = U("button"), p = _e(t), R(e, "class", "BalanceModalAction ActiveBonusesButton");
|
|
984
|
+
},
|
|
985
|
+
m(l, B) {
|
|
986
|
+
ye(l, e, B), x(e, p), g || (c = Fe(
|
|
987
|
+
e,
|
|
988
|
+
"click",
|
|
989
|
+
/*click_handler_4*/
|
|
990
|
+
s[38]
|
|
991
|
+
), g = !0);
|
|
992
|
+
},
|
|
993
|
+
p(l, B) {
|
|
994
|
+
B[0] & /*$_*/
|
|
995
|
+
512 && t !== (t = /*$_*/
|
|
996
|
+
l[9]("ActiveBonusesButton") + "") && Ce(p, t);
|
|
997
|
+
},
|
|
998
|
+
d(l) {
|
|
999
|
+
l && ge(e), g = !1, c();
|
|
1000
|
+
}
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
function rt(s) {
|
|
1004
|
+
let e, t, p;
|
|
1005
|
+
return {
|
|
1006
|
+
c() {
|
|
1007
|
+
e = U("button"), R(e, "class", "ShowBalanceModalOverlay");
|
|
1008
|
+
},
|
|
1009
|
+
m(g, c) {
|
|
1010
|
+
ye(g, e, c), t || (p = Fe(
|
|
1011
|
+
e,
|
|
1012
|
+
"click",
|
|
1013
|
+
/*click_handler_5*/
|
|
1014
|
+
s[39]
|
|
1015
|
+
), t = !0);
|
|
1016
|
+
},
|
|
1017
|
+
p: qe,
|
|
1018
|
+
d(g) {
|
|
1019
|
+
g && ge(e), t = !1, p();
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
1023
|
+
function kt(s) {
|
|
1024
|
+
let e, t, p, g;
|
|
1025
|
+
function c(S, O) {
|
|
1026
|
+
return (
|
|
1027
|
+
/*isLoading*/
|
|
1028
|
+
S[4] ? Et : xt
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1031
|
+
let l = c(s), B = l(s), h = (
|
|
1032
|
+
/*showBalance*/
|
|
1033
|
+
s[6] && rt(s)
|
|
1034
|
+
);
|
|
1035
|
+
return {
|
|
1036
|
+
c() {
|
|
1037
|
+
e = U("div"), t = U("div"), B.c(), g = me(), h && h.c(), R(t, "class", p = "ShowBalance " + /*mobileView*/
|
|
1038
|
+
(s[7] ? "Mobile" : ""));
|
|
1039
|
+
},
|
|
1040
|
+
m(S, O) {
|
|
1041
|
+
ye(S, e, O), x(e, t), B.m(t, null), x(e, g), h && h.m(e, null), s[40](e);
|
|
1042
|
+
},
|
|
1043
|
+
p(S, O) {
|
|
1044
|
+
l === (l = c(S)) && B ? B.p(S, O) : (B.d(1), B = l(S), B && (B.c(), B.m(t, null))), O[0] & /*mobileView*/
|
|
1045
|
+
128 && p !== (p = "ShowBalance " + /*mobileView*/
|
|
1046
|
+
(S[7] ? "Mobile" : "")) && R(t, "class", p), /*showBalance*/
|
|
1047
|
+
S[6] ? h ? h.p(S, O) : (h = rt(S), h.c(), h.m(e, null)) : h && (h.d(1), h = null);
|
|
1048
|
+
},
|
|
1049
|
+
i: qe,
|
|
1050
|
+
o: qe,
|
|
1051
|
+
d(S) {
|
|
1052
|
+
S && ge(e), B.d(), h && h.d(), s[40](null);
|
|
1053
|
+
}
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
function Mt(s, e, t) {
|
|
1057
|
+
let p;
|
|
1058
|
+
mt(s, gt, (a) => t(9, p = a));
|
|
1059
|
+
let { userid: g = "" } = e, { session: c = "" } = e, { endpoint: l = "" } = e, { lang: B = "en" } = e, { mbsource: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: K = "" } = e, { gmversion: V = "gm16" } = e, { displaybalanceoption: A = "All" } = e, { totalcalculationmode: b = "totalCashAmount" } = e, { primarybalancemode: P } = e, { balancelimitsbutton: be = "false" } = e, { activebonusesbutton: we = "false" } = e, { hideproducttype: Re = "" } = e, { shownegativebalance: W = "false" } = e, { currencylocale: Z = "en" } = e, { currencydisplay: fe = "symbol" } = e, { maximumfractiondigits: te = "2" } = e, { minimumfractiondigits: ce = "0" } = e, { customdisplayformat: ve = "" } = e, { alwaysshowdecimals: ae = "true" } = e, k, q, D = !0, L = !1, G = !1, H = !1, Te = !1, Be = window.navigator.userAgent, oe, ue = "", de = [], ne, Me = "0";
|
|
1060
|
+
const i = {}, Ee = ["totalCashAmount", "totalRealAmount"], Xe = () => {
|
|
1061
|
+
fetch(K).then((a) => a.json()).then((a) => Object.keys(a).forEach((d) => Je(d, a[d]))).catch((a) => console.log(a));
|
|
1062
|
+
};
|
|
1063
|
+
Object.keys(Ze).forEach((a) => Je(a, Ze[a]));
|
|
1064
|
+
const Le = (a) => {
|
|
1065
|
+
switch (a) {
|
|
1066
|
+
case "balance":
|
|
1067
|
+
window.postMessage(
|
|
1068
|
+
{
|
|
1069
|
+
type: "BalanceModalStatus",
|
|
1070
|
+
status: "open"
|
|
1071
|
+
},
|
|
1072
|
+
window.location.href
|
|
1073
|
+
), t(6, H = !0), setTimeout(() => t(5, L = !0), 150);
|
|
1074
|
+
break;
|
|
1075
|
+
case "closebalance":
|
|
1076
|
+
t(5, L = !1), window.postMessage(
|
|
1077
|
+
{
|
|
1078
|
+
type: "BalanceModalStatus",
|
|
1079
|
+
status: "close"
|
|
1080
|
+
},
|
|
1081
|
+
window.location.href
|
|
1082
|
+
), setTimeout(
|
|
1083
|
+
() => {
|
|
1084
|
+
t(6, H = !1);
|
|
1085
|
+
},
|
|
1086
|
+
150
|
|
1087
|
+
);
|
|
1088
|
+
break;
|
|
1089
|
+
}
|
|
1090
|
+
}, Ie = (a) => {
|
|
1091
|
+
if (ve)
|
|
1092
|
+
return je(a);
|
|
1093
|
+
const d = Z || B, f = {
|
|
1094
|
+
style: "currency",
|
|
1095
|
+
currency: ue,
|
|
1096
|
+
useGrouping: !0,
|
|
1097
|
+
currencyDisplay: fe || "code",
|
|
1098
|
+
maximumFractionDigits: te === "" || isNaN(Number(te)) ? 2 : Number(te),
|
|
1099
|
+
minimumFractionDigits: ce === "" || isNaN(Number(ce)) ? 0 : Number(ce)
|
|
1100
|
+
};
|
|
1101
|
+
return new Intl.NumberFormat(d, f).format(a);
|
|
1102
|
+
}, je = (a) => {
|
|
1103
|
+
const d = [];
|
|
1104
|
+
let f = "";
|
|
1105
|
+
for (const y of ve)
|
|
1106
|
+
switch (y) {
|
|
1107
|
+
default:
|
|
1108
|
+
f += y;
|
|
1109
|
+
break;
|
|
1110
|
+
case "{":
|
|
1111
|
+
f && d.push(f), f = "";
|
|
1112
|
+
break;
|
|
1113
|
+
case "}":
|
|
1114
|
+
const [F, I] = f.split("|");
|
|
1115
|
+
if (f = "", F.toLowerCase() === "currency")
|
|
1116
|
+
f = ue;
|
|
1117
|
+
else if (F.toLowerCase() === "amount") {
|
|
1118
|
+
let v = ",", E = ".", ie = 2;
|
|
1119
|
+
I && (I[0] !== " " && (v = I[0]), I[1] !== " " && (E = I[1]), I[2] !== " " && !isNaN(Number(I[2])) && (ie = Number(I[2])));
|
|
1120
|
+
let [re, We] = String(Math.floor(a * 10 ** ie) / 10 ** ie).split(".");
|
|
1121
|
+
f += re[0];
|
|
1122
|
+
for (let he = 1; he < re.length; ++he)
|
|
1123
|
+
(re.length - he) % 3 === 0 ? f += v + re[he] : f += re[he];
|
|
1124
|
+
let De = We || "";
|
|
1125
|
+
const Pe = ae === "true", Oe = Number(te);
|
|
1126
|
+
if (Pe)
|
|
1127
|
+
De = De.padEnd(Oe || 2, "0").substring(0, Oe);
|
|
1128
|
+
else if (!De)
|
|
1129
|
+
break;
|
|
1130
|
+
f += E + De;
|
|
1131
|
+
}
|
|
1132
|
+
f && d.push(f), f = "";
|
|
1133
|
+
break;
|
|
1134
|
+
}
|
|
1135
|
+
return d.push(f), d.join("");
|
|
1136
|
+
}, ze = async () => {
|
|
1137
|
+
t(4, D = !0);
|
|
1138
|
+
const a = new URL(`${l}/v1/player/${g}/account`);
|
|
1139
|
+
try {
|
|
1140
|
+
const d = await fetch(a, {
|
|
1141
|
+
method: "GET",
|
|
1142
|
+
headers: { "X-SessionID": c }
|
|
1143
|
+
}), f = await d.json();
|
|
1144
|
+
if (d.ok)
|
|
1145
|
+
window.postMessage({ type: "BalancedFetched" }, window.location.href), de = f.items, ue = de.find((y) => y.displayName === "Casino")?.currency, t(3, i.Total = [{ amount: f.totalAmount[ue] }], i), t(
|
|
1146
|
+
3,
|
|
1147
|
+
i.Real = [
|
|
1148
|
+
{
|
|
1149
|
+
amount: de.find((y) => y.displayName === "Casino")?.balanceAmount
|
|
1150
|
+
}
|
|
1151
|
+
],
|
|
1152
|
+
i
|
|
1153
|
+
), t(
|
|
1154
|
+
3,
|
|
1155
|
+
i.Bonus = [
|
|
1156
|
+
{
|
|
1157
|
+
amount: de.find((y) => y.displayName === "UBS")?.balanceAmount
|
|
1158
|
+
}
|
|
1159
|
+
],
|
|
1160
|
+
i
|
|
1161
|
+
);
|
|
1162
|
+
else
|
|
1163
|
+
throw new Error("Failed to fetch balance data !");
|
|
1164
|
+
} catch (d) {
|
|
1165
|
+
console.log("Balance error: ", d);
|
|
1166
|
+
} finally {
|
|
1167
|
+
t(4, D = !1);
|
|
1168
|
+
}
|
|
1169
|
+
}, xe = () => {
|
|
1170
|
+
t(4, D = !0);
|
|
1171
|
+
const a = new URL(`${l}/v2/player/${g}/balance`), d = new Headers();
|
|
1172
|
+
d.append("X-SessionID", c), fetch(a, { method: "GET", headers: d }).then((y) => y.json()).then((y) => {
|
|
1173
|
+
y[b] || t(14, b = Ee[0]);
|
|
1174
|
+
const F = y.items.find((v) => v.type === "Real" && v.walletAccountType === "Ordinary");
|
|
1175
|
+
if (ue = F.currency, G = !!F.productType, t(3, i.Total = [{ amount: 0 }], i), t(3, i.Real = [], i), t(3, i.Bonus = [], i), t(3, i.Credit = [], i), !G) {
|
|
1176
|
+
ne = {
|
|
1177
|
+
lastOrdinaryAfterAmount: 0,
|
|
1178
|
+
showCreditLineAfterAmount: !1
|
|
1179
|
+
}, t(3, i.Total[0].amount = y[b][ue], i);
|
|
1180
|
+
for (const v of y.items)
|
|
1181
|
+
switch (v.type) {
|
|
1182
|
+
case "Bonus":
|
|
1183
|
+
i.Bonus.length === 0 ? i.Bonus.push({ amount: v.amount }) : t(3, i.Bonus[0].amount += v.amount, i);
|
|
1184
|
+
break;
|
|
1185
|
+
case "Real":
|
|
1186
|
+
if (v.creditLine && i.Credit.length === 0 && i.Credit.push({ amount: v.creditLine }), b === "totalRealAmount")
|
|
1187
|
+
continue;
|
|
1188
|
+
i.Real.length === 0 ? i.Real.push({ amount: v.amount }) : t(3, i.Real[0].amount += v.amount, i);
|
|
1189
|
+
break;
|
|
1190
|
+
case "RealNegativeRemainder":
|
|
1191
|
+
if (v.type === "RealNegativeRemainder" && W !== "true" || (v.creditLine && i.Credit.length === 0 && i.Credit.push({ amount: v.creditLine }), b === "totalRealAmount"))
|
|
1192
|
+
continue;
|
|
1193
|
+
i.Real.length === 0 ? i.Real.push({ amount: v.amount }) : t(3, i.Real[0].amount += v.amount, i);
|
|
1194
|
+
break;
|
|
1195
|
+
}
|
|
1196
|
+
for (const [v, E] of Object.entries(i))
|
|
1197
|
+
E.length < 1 && delete i[v];
|
|
1198
|
+
t(4, D = !1);
|
|
1199
|
+
return;
|
|
1200
|
+
}
|
|
1201
|
+
ne = {
|
|
1202
|
+
Casino: {
|
|
1203
|
+
lastOrdinaryAfterAmount: 0,
|
|
1204
|
+
showCreditLineAfterAmount: !1
|
|
1205
|
+
},
|
|
1206
|
+
Sports: {
|
|
1207
|
+
lastOrdinaryAfterAmount: 0,
|
|
1208
|
+
showCreditLineAfterAmount: !1
|
|
1209
|
+
}
|
|
1210
|
+
};
|
|
1211
|
+
let I = y.items;
|
|
1212
|
+
A && A !== "All" && (I = y.items.filter((v) => v.productType === A));
|
|
1213
|
+
for (const v of I) {
|
|
1214
|
+
let E;
|
|
1215
|
+
switch (v.type) {
|
|
1216
|
+
case "Bonus":
|
|
1217
|
+
E = i.Bonus.findIndex((ie) => ie.productType === v.productType), E > 0 ? t(3, i.Bonus[E].amount += v.amount, i) : i.Bonus.push({
|
|
1218
|
+
amount: v.amount,
|
|
1219
|
+
productType: v.productType
|
|
1220
|
+
});
|
|
1221
|
+
break;
|
|
1222
|
+
case "Real":
|
|
1223
|
+
v.creditLine && i.Credit.push({
|
|
1224
|
+
amount: v.creditLine,
|
|
1225
|
+
productType: v.productType
|
|
1226
|
+
}), E = i.Real.findIndex((ie) => ie.productType === v.productType), E > 0 ? t(3, i.Real[E].amount += v.amount, i) : i.Real.push({
|
|
1227
|
+
amount: v.amount,
|
|
1228
|
+
productType: v.productType
|
|
1229
|
+
});
|
|
1230
|
+
break;
|
|
1231
|
+
case "RealNegativeRemainder":
|
|
1232
|
+
if (v.type === "RealNegativeRemainder" && W !== "true")
|
|
1233
|
+
continue;
|
|
1234
|
+
v.creditLine && i.Credit.push({
|
|
1235
|
+
amount: v.creditLine,
|
|
1236
|
+
productType: v.productType
|
|
1237
|
+
}), E = i.Real.findIndex((ie) => ie.productType === v.productType), E >= 0 ? t(3, i.Real[E].amount += v.amount, i) : i.Real.push({
|
|
1238
|
+
amount: v.amount,
|
|
1239
|
+
productType: v.productType
|
|
1240
|
+
});
|
|
1241
|
+
break;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
Ve();
|
|
1245
|
+
for (const [v, E] of Object.entries(i))
|
|
1246
|
+
E.length < 1 && delete i[v];
|
|
1247
|
+
window.postMessage({ type: "playerBalanceInfo", balance: y }, window.location.href), t(4, D = !1);
|
|
1248
|
+
}).catch((y) => {
|
|
1249
|
+
throw t(4, D = !1), console.log("Balance fetch error", y), new Error("Failed to fetch balance data!");
|
|
1250
|
+
});
|
|
1251
|
+
}, $ = () => {
|
|
1252
|
+
if (oe && oe.close(), c.length < 1)
|
|
1253
|
+
return;
|
|
1254
|
+
let a, d;
|
|
1255
|
+
switch (V) {
|
|
1256
|
+
case "gm16":
|
|
1257
|
+
a = new URL(`${l}/v2/player/${g}/information/updates`), d = (F) => n(F);
|
|
1258
|
+
break;
|
|
1259
|
+
case "gmcore":
|
|
1260
|
+
a = new URL(`${l}/v1/player/${g}/balance/updates`), d = (F) => Ke(F);
|
|
1261
|
+
break;
|
|
1262
|
+
}
|
|
1263
|
+
const f = {
|
|
1264
|
+
accept: "text/event-stream",
|
|
1265
|
+
"X-SessionId": c
|
|
1266
|
+
}, y = new Rt.EventSourcePolyfill(a, { headers: f });
|
|
1267
|
+
oe = y, y.addEventListener("message", d);
|
|
1268
|
+
}, Ue = (a) => {
|
|
1269
|
+
let d;
|
|
1270
|
+
try {
|
|
1271
|
+
d = JSON.parse(a);
|
|
1272
|
+
} catch (f) {
|
|
1273
|
+
console.log("Balance stream failed: ", f);
|
|
1274
|
+
return;
|
|
1275
|
+
}
|
|
1276
|
+
return d;
|
|
1277
|
+
}, Ke = (a) => {
|
|
1278
|
+
const d = Ue(a.data);
|
|
1279
|
+
if (!d) {
|
|
1280
|
+
$();
|
|
1281
|
+
return;
|
|
1282
|
+
}
|
|
1283
|
+
let f = "0";
|
|
1284
|
+
const y = d.balanceChange;
|
|
1285
|
+
de = de.map((F) => (y && y[F.id] && (F = {
|
|
1286
|
+
...F,
|
|
1287
|
+
balanceAmount: y[F.id].afterAmount
|
|
1288
|
+
}), f = (parseFloat(F?.balanceAmount) + parseFloat(f)).toString(), F)), t(3, i.Real = [{ amount: de[0]?.balanceAmount }], i), t(3, i.Bonus = [{ amount: de[1]?.balanceAmount }], i), t(3, i.Total = [{ amount: Number(f) }], i);
|
|
1289
|
+
}, He = (a, d, f) => {
|
|
1290
|
+
let y = null;
|
|
1291
|
+
switch (f.walletAccountType) {
|
|
1292
|
+
case "Ordinary":
|
|
1293
|
+
(f.afterAmount !== f.affectedAmount || d.lastOrdinaryAfterAmount === 0) && (d.lastOrdinaryAfterAmount = f.afterAmount, d.showCreditLineAfterAmount || (y = f.afterAmount));
|
|
1294
|
+
break;
|
|
1295
|
+
case "CreditLine":
|
|
1296
|
+
f.afterAmount !== 0 ? (y = f.afterAmount, d.showCreditLineAfterAmount = !0) : (y = d.lastOrdinaryAfterAmount, d.showCreditLineAfterAmount = !1);
|
|
1297
|
+
break;
|
|
1298
|
+
default:
|
|
1299
|
+
y = f.afterAmount;
|
|
1300
|
+
}
|
|
1301
|
+
return y === null ? a : y;
|
|
1302
|
+
}, Ve = () => {
|
|
1303
|
+
switch (b) {
|
|
1304
|
+
case "totalCashAmount":
|
|
1305
|
+
let a = 0;
|
|
1306
|
+
for (const f of ["Real", "Bonus"])
|
|
1307
|
+
for (const y of i[f])
|
|
1308
|
+
W === "true" ? a += y.amount : a += Math.max(y.amount, 0);
|
|
1309
|
+
t(3, i.Total[0].amount = a, i);
|
|
1310
|
+
break;
|
|
1311
|
+
case "totalRealAmount":
|
|
1312
|
+
if (!G)
|
|
1313
|
+
return;
|
|
1314
|
+
let d = 0;
|
|
1315
|
+
for (const f of i.Real)
|
|
1316
|
+
d += f.amount;
|
|
1317
|
+
t(3, i.Total[0].amount = d, i);
|
|
1318
|
+
}
|
|
1319
|
+
}, n = (a) => {
|
|
1320
|
+
const d = Ue(a.data);
|
|
1321
|
+
if (!d) {
|
|
1322
|
+
$();
|
|
1323
|
+
return;
|
|
1324
|
+
}
|
|
1325
|
+
if (u(d?.type) || d.type !== "BALANCE_UPDATE_V2")
|
|
1326
|
+
return;
|
|
1327
|
+
const f = d.body.balanceChange;
|
|
1328
|
+
for (const [y, F] of Object.entries(f))
|
|
1329
|
+
if (b === "totalRealAmount" && y === "Real" && !G && t(3, i.Total[0].amount = He(i.Total[0].amount, ne, F), i), !!i[y])
|
|
1330
|
+
for (const I of i[y]) {
|
|
1331
|
+
if (!G) {
|
|
1332
|
+
I.amount = y === "Real" ? He(I.amount, ne, F) : F.afterAmount;
|
|
1333
|
+
continue;
|
|
1334
|
+
}
|
|
1335
|
+
F.productType === I.productType && (I.amount = y === "Real" ? He(I.amount, ne[I.productType], F) : F.afterAmount);
|
|
1336
|
+
}
|
|
1337
|
+
Ve();
|
|
1338
|
+
}, o = (a) => {
|
|
1339
|
+
switch (Le("closebalance"), a) {
|
|
1340
|
+
case "deposit":
|
|
1341
|
+
window.postMessage({ type: "GoToDeposit" }, window.location.href);
|
|
1342
|
+
break;
|
|
1343
|
+
case "limits":
|
|
1344
|
+
window.postMessage({ type: "GoToLimits" }, window.location.href);
|
|
1345
|
+
break;
|
|
1346
|
+
case "activebonuses":
|
|
1347
|
+
window.postMessage({ type: "GoToActiveBonuses" }, window.location.href);
|
|
1348
|
+
break;
|
|
1349
|
+
}
|
|
1350
|
+
typeof gtag == "function" && gtag("event", "GoToDeposit", { context: "PlayerAccountBalanceModal" });
|
|
1351
|
+
}, u = (a) => a === "SESSION_EXPIRATION" ? (window.postMessage({ type: "SessionExpiration" }, window.location.href), !0) : !1, r = () => {
|
|
1352
|
+
Ee.includes(b) || (console.error(`Unsupported value ('${b}') for totalcalculationmode parameter. Only the following values are supported ${Ee}. Using default value ('${Ee[0]}').`), t(14, b = Ee[0]));
|
|
1353
|
+
}, w = () => {
|
|
1354
|
+
switch (_t(B), r(), V) {
|
|
1355
|
+
case "gmcore":
|
|
1356
|
+
ze();
|
|
1357
|
+
break;
|
|
1358
|
+
case "gm16":
|
|
1359
|
+
xe();
|
|
1360
|
+
break;
|
|
1361
|
+
default:
|
|
1362
|
+
throw Error(`Invalid apiversion attribute: ${V}`);
|
|
1363
|
+
}
|
|
1364
|
+
}, m = (a) => {
|
|
1365
|
+
const { data: { type: d } = {} } = a || {};
|
|
1366
|
+
switch (d) {
|
|
1367
|
+
case "LogoutSuccessfull":
|
|
1368
|
+
oe.close();
|
|
1369
|
+
break;
|
|
1370
|
+
case "CloseBalance":
|
|
1371
|
+
Le("closebalance");
|
|
1372
|
+
break;
|
|
1373
|
+
}
|
|
1374
|
+
}, C = () => {
|
|
1375
|
+
window.postMessage({ type: "UpdateBalanceBackground" }, window.location.href);
|
|
1376
|
+
}, j = (a) => {
|
|
1377
|
+
const d = Re.split(",").map((f) => f.trim());
|
|
1378
|
+
return !a.productType || d.includes(a.productType) ? "" : p(a.productType);
|
|
1379
|
+
};
|
|
1380
|
+
yt(() => (window.addEventListener("message", m, !1), t(7, Te = vt(Be)), () => {
|
|
1381
|
+
window.removeEventListener("message", m), oe && oe.close();
|
|
1382
|
+
}));
|
|
1383
|
+
const _ = () => Le("balance"), M = () => Le("closebalance"), N = () => o("deposit"), T = () => o("limits"), z = () => o("activebonuses"), pe = () => Le("closebalance");
|
|
1384
|
+
function ke(a) {
|
|
1385
|
+
Bt[a ? "unshift" : "push"](() => {
|
|
1386
|
+
k = a, t(2, k);
|
|
1387
|
+
});
|
|
1388
|
+
}
|
|
1389
|
+
return s.$$set = (a) => {
|
|
1390
|
+
"userid" in a && t(15, g = a.userid), "session" in a && t(16, c = a.session), "endpoint" in a && t(17, l = a.endpoint), "lang" in a && t(18, B = a.lang), "mbsource" in a && t(19, h = a.mbsource), "clientstyling" in a && t(20, S = a.clientstyling), "clientstylingurl" in a && t(21, O = a.clientstylingurl), "translationurl" in a && t(22, K = a.translationurl), "gmversion" in a && t(23, V = a.gmversion), "displaybalanceoption" in a && t(24, A = a.displaybalanceoption), "totalcalculationmode" in a && t(14, b = a.totalcalculationmode), "primarybalancemode" in a && t(25, P = a.primarybalancemode), "balancelimitsbutton" in a && t(0, be = a.balancelimitsbutton), "activebonusesbutton" in a && t(1, we = a.activebonusesbutton), "hideproducttype" in a && t(26, Re = a.hideproducttype), "shownegativebalance" in a && t(27, W = a.shownegativebalance), "currencylocale" in a && t(28, Z = a.currencylocale), "currencydisplay" in a && t(29, fe = a.currencydisplay), "maximumfractiondigits" in a && t(30, te = a.maximumfractiondigits), "minimumfractiondigits" in a && t(31, ce = a.minimumfractiondigits), "customdisplayformat" in a && t(32, ve = a.customdisplayformat), "alwaysshowdecimals" in a && t(33, ae = a.alwaysshowdecimals);
|
|
1391
|
+
}, s.$$.update = () => {
|
|
1392
|
+
s.$$.dirty[0] & /*endpoint, userid, session, lang, gmversion, displaybalanceoption*/
|
|
1393
|
+
25657344 && l && g && c && B && V && A && w(), s.$$.dirty[0] & /*endpoint, userid, session, gmversion*/
|
|
1394
|
+
8617984 && l && g && c && V && $(), s.$$.dirty[0] & /*translationurl*/
|
|
1395
|
+
4194304 && K && Xe(), s.$$.dirty[0] & /*balances*/
|
|
1396
|
+
8 && i.Total && C(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1397
|
+
1048580 && S && k && Tt(k, S), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1398
|
+
2097156 && O && k && St(k, O), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1399
|
+
524292 && h && k && At(k, `${h}.Style`, q), s.$$.dirty[0] & /*primarybalancemode, balances*/
|
|
1400
|
+
33554440 && t(8, Me = (() => {
|
|
1401
|
+
switch (P) {
|
|
1402
|
+
case "Real":
|
|
1403
|
+
return i.Real ? Ie(i.Real[0].amount) : "0";
|
|
1404
|
+
default:
|
|
1405
|
+
return i.Total ? Ie(i.Total[0].amount) : "0";
|
|
1406
|
+
}
|
|
1407
|
+
})());
|
|
1408
|
+
}, [
|
|
1409
|
+
be,
|
|
1410
|
+
we,
|
|
1411
|
+
k,
|
|
1412
|
+
i,
|
|
1413
|
+
D,
|
|
1414
|
+
L,
|
|
1415
|
+
H,
|
|
1416
|
+
Te,
|
|
1417
|
+
Me,
|
|
1418
|
+
p,
|
|
1419
|
+
Le,
|
|
1420
|
+
Ie,
|
|
1421
|
+
o,
|
|
1422
|
+
j,
|
|
1423
|
+
b,
|
|
1424
|
+
g,
|
|
1425
|
+
c,
|
|
1426
|
+
l,
|
|
1427
|
+
B,
|
|
1428
|
+
h,
|
|
1429
|
+
S,
|
|
1430
|
+
O,
|
|
1431
|
+
K,
|
|
1432
|
+
V,
|
|
1433
|
+
A,
|
|
1434
|
+
P,
|
|
1435
|
+
Re,
|
|
1436
|
+
W,
|
|
1437
|
+
Z,
|
|
1438
|
+
fe,
|
|
1439
|
+
te,
|
|
1440
|
+
ce,
|
|
1441
|
+
ve,
|
|
1442
|
+
ae,
|
|
1443
|
+
_,
|
|
1444
|
+
M,
|
|
1445
|
+
N,
|
|
1446
|
+
T,
|
|
1447
|
+
z,
|
|
1448
|
+
pe,
|
|
1449
|
+
ke
|
|
1450
|
+
];
|
|
1451
|
+
}
|
|
1452
|
+
class Dt extends dt {
|
|
1453
|
+
constructor(e) {
|
|
1454
|
+
super(), ft(
|
|
1455
|
+
this,
|
|
1456
|
+
e,
|
|
1457
|
+
Mt,
|
|
1458
|
+
kt,
|
|
1459
|
+
pt,
|
|
1460
|
+
{
|
|
1461
|
+
userid: 15,
|
|
1462
|
+
session: 16,
|
|
1463
|
+
endpoint: 17,
|
|
1464
|
+
lang: 18,
|
|
1465
|
+
mbsource: 19,
|
|
1466
|
+
clientstyling: 20,
|
|
1467
|
+
clientstylingurl: 21,
|
|
1468
|
+
translationurl: 22,
|
|
1469
|
+
gmversion: 23,
|
|
1470
|
+
displaybalanceoption: 24,
|
|
1471
|
+
totalcalculationmode: 14,
|
|
1472
|
+
primarybalancemode: 25,
|
|
1473
|
+
balancelimitsbutton: 0,
|
|
1474
|
+
activebonusesbutton: 1,
|
|
1475
|
+
hideproducttype: 26,
|
|
1476
|
+
shownegativebalance: 27,
|
|
1477
|
+
currencylocale: 28,
|
|
1478
|
+
currencydisplay: 29,
|
|
1479
|
+
maximumfractiondigits: 30,
|
|
1480
|
+
minimumfractiondigits: 31,
|
|
1481
|
+
customdisplayformat: 32,
|
|
1482
|
+
alwaysshowdecimals: 33
|
|
1483
|
+
},
|
|
1484
|
+
Lt,
|
|
1485
|
+
[-1, -1, -1]
|
|
1486
|
+
);
|
|
1487
|
+
}
|
|
1488
|
+
get userid() {
|
|
1489
|
+
return this.$$.ctx[15];
|
|
1490
|
+
}
|
|
1491
|
+
set userid(e) {
|
|
1492
|
+
this.$$set({ userid: e }), X();
|
|
1493
|
+
}
|
|
1494
|
+
get session() {
|
|
1495
|
+
return this.$$.ctx[16];
|
|
1496
|
+
}
|
|
1497
|
+
set session(e) {
|
|
1498
|
+
this.$$set({ session: e }), X();
|
|
1499
|
+
}
|
|
1500
|
+
get endpoint() {
|
|
1501
|
+
return this.$$.ctx[17];
|
|
1502
|
+
}
|
|
1503
|
+
set endpoint(e) {
|
|
1504
|
+
this.$$set({ endpoint: e }), X();
|
|
1505
|
+
}
|
|
1506
|
+
get lang() {
|
|
1507
|
+
return this.$$.ctx[18];
|
|
1508
|
+
}
|
|
1509
|
+
set lang(e) {
|
|
1510
|
+
this.$$set({ lang: e }), X();
|
|
1511
|
+
}
|
|
1512
|
+
get mbsource() {
|
|
1513
|
+
return this.$$.ctx[19];
|
|
1514
|
+
}
|
|
1515
|
+
set mbsource(e) {
|
|
1516
|
+
this.$$set({ mbsource: e }), X();
|
|
1517
|
+
}
|
|
1518
|
+
get clientstyling() {
|
|
1519
|
+
return this.$$.ctx[20];
|
|
1520
|
+
}
|
|
1521
|
+
set clientstyling(e) {
|
|
1522
|
+
this.$$set({ clientstyling: e }), X();
|
|
1523
|
+
}
|
|
1524
|
+
get clientstylingurl() {
|
|
1525
|
+
return this.$$.ctx[21];
|
|
1526
|
+
}
|
|
1527
|
+
set clientstylingurl(e) {
|
|
1528
|
+
this.$$set({ clientstylingurl: e }), X();
|
|
1529
|
+
}
|
|
1530
|
+
get translationurl() {
|
|
1531
|
+
return this.$$.ctx[22];
|
|
1532
|
+
}
|
|
1533
|
+
set translationurl(e) {
|
|
1534
|
+
this.$$set({ translationurl: e }), X();
|
|
1535
|
+
}
|
|
1536
|
+
get gmversion() {
|
|
1537
|
+
return this.$$.ctx[23];
|
|
1538
|
+
}
|
|
1539
|
+
set gmversion(e) {
|
|
1540
|
+
this.$$set({ gmversion: e }), X();
|
|
1541
|
+
}
|
|
1542
|
+
get displaybalanceoption() {
|
|
1543
|
+
return this.$$.ctx[24];
|
|
1544
|
+
}
|
|
1545
|
+
set displaybalanceoption(e) {
|
|
1546
|
+
this.$$set({ displaybalanceoption: e }), X();
|
|
1547
|
+
}
|
|
1548
|
+
get totalcalculationmode() {
|
|
1549
|
+
return this.$$.ctx[14];
|
|
1550
|
+
}
|
|
1551
|
+
set totalcalculationmode(e) {
|
|
1552
|
+
this.$$set({ totalcalculationmode: e }), X();
|
|
1553
|
+
}
|
|
1554
|
+
get primarybalancemode() {
|
|
1555
|
+
return this.$$.ctx[25];
|
|
1556
|
+
}
|
|
1557
|
+
set primarybalancemode(e) {
|
|
1558
|
+
this.$$set({ primarybalancemode: e }), X();
|
|
1559
|
+
}
|
|
1560
|
+
get balancelimitsbutton() {
|
|
1561
|
+
return this.$$.ctx[0];
|
|
1562
|
+
}
|
|
1563
|
+
set balancelimitsbutton(e) {
|
|
1564
|
+
this.$$set({ balancelimitsbutton: e }), X();
|
|
1565
|
+
}
|
|
1566
|
+
get activebonusesbutton() {
|
|
1567
|
+
return this.$$.ctx[1];
|
|
1568
|
+
}
|
|
1569
|
+
set activebonusesbutton(e) {
|
|
1570
|
+
this.$$set({ activebonusesbutton: e }), X();
|
|
1571
|
+
}
|
|
1572
|
+
get hideproducttype() {
|
|
1573
|
+
return this.$$.ctx[26];
|
|
1574
|
+
}
|
|
1575
|
+
set hideproducttype(e) {
|
|
1576
|
+
this.$$set({ hideproducttype: e }), X();
|
|
1577
|
+
}
|
|
1578
|
+
get shownegativebalance() {
|
|
1579
|
+
return this.$$.ctx[27];
|
|
1580
|
+
}
|
|
1581
|
+
set shownegativebalance(e) {
|
|
1582
|
+
this.$$set({ shownegativebalance: e }), X();
|
|
1583
|
+
}
|
|
1584
|
+
get currencylocale() {
|
|
1585
|
+
return this.$$.ctx[28];
|
|
1586
|
+
}
|
|
1587
|
+
set currencylocale(e) {
|
|
1588
|
+
this.$$set({ currencylocale: e }), X();
|
|
1589
|
+
}
|
|
1590
|
+
get currencydisplay() {
|
|
1591
|
+
return this.$$.ctx[29];
|
|
1592
|
+
}
|
|
1593
|
+
set currencydisplay(e) {
|
|
1594
|
+
this.$$set({ currencydisplay: e }), X();
|
|
1595
|
+
}
|
|
1596
|
+
get maximumfractiondigits() {
|
|
1597
|
+
return this.$$.ctx[30];
|
|
1598
|
+
}
|
|
1599
|
+
set maximumfractiondigits(e) {
|
|
1600
|
+
this.$$set({ maximumfractiondigits: e }), X();
|
|
1601
|
+
}
|
|
1602
|
+
get minimumfractiondigits() {
|
|
1603
|
+
return this.$$.ctx[31];
|
|
1604
|
+
}
|
|
1605
|
+
set minimumfractiondigits(e) {
|
|
1606
|
+
this.$$set({ minimumfractiondigits: e }), X();
|
|
1607
|
+
}
|
|
1608
|
+
get customdisplayformat() {
|
|
1609
|
+
return this.$$.ctx[32];
|
|
1610
|
+
}
|
|
1611
|
+
set customdisplayformat(e) {
|
|
1612
|
+
this.$$set({ customdisplayformat: e }), X();
|
|
1613
|
+
}
|
|
1614
|
+
get alwaysshowdecimals() {
|
|
1615
|
+
return this.$$.ctx[33];
|
|
1616
|
+
}
|
|
1617
|
+
set alwaysshowdecimals(e) {
|
|
1618
|
+
this.$$set({ alwaysshowdecimals: e }), X();
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
Ct(Dt, { userid: {}, session: {}, endpoint: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {}, displaybalanceoption: {}, totalcalculationmode: {}, primarybalancemode: {}, balancelimitsbutton: {}, activebonusesbutton: {}, hideproducttype: {}, shownegativebalance: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {}, customdisplayformat: {}, alwaysshowdecimals: {} }, [], [], !0);
|
|
1622
|
+
export {
|
|
1623
|
+
Dt as default
|
|
1624
|
+
};
|