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