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