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