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